Interactive Surface CSS v1.2.5
This patch release refines compatibility with ui-style-kit-css@2.0.1 while keeping Interactive Surface’s existing class API unchanged.
What Changed
- Updated the UI Style Kit compatibility fixture to
ui-style-kit-css@2.0.1. - Added support for UI Style Kit 2.0.1 bridge state-layer aliases:
--interactive-surface-state-layer-opacity-hover--interactive-surface-state-layer-opacity-focus--interactive-surface-state-layer-opacity-active
- Added support for optional bridged surface-level tokens when
data-surface-levelis present:--interactive-surface-level-bg--interactive-surface-level-border-color--interactive-surface-level-shadow
- Treats
aria-current="page"as an active/selected surface state. - Updated README and wiki guidance for UI Style Kit’s opt-in bridge imports:
ui-style-kit-css/with-bridge.cssui-style-kit-css/interactive-surface-bridge
Compatibility
No breaking changes.
Existing usage of .interactive-surface, .variant-*, .size-*, .icon-only, .is-active, and .is-disabled continues to work as before.
Validation
npm run check:no-hex-colorspassednpm run lint:csspassednpm run test:chromiumpassed, 35 testsnpm testpassed, 105 tests across Chromium, Firefox, and WebKitnpm run pack:drypassed forinteractive-surface-css@1.2.4