@m3e/switch 1.0.0-rc.1 → 1.0.0-rc.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -2
- package/dist/custom-elements.json +3213 -152
- package/dist/html-custom-data.json +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.min.js.map +1 -1
- package/package.json +4 -4
- package/cem.config.mjs +0 -16
- package/demo/index.html +0 -65
- package/dist/src/SwitchElement.d.ts +0 -147
- package/dist/src/SwitchElement.d.ts.map +0 -1
- package/dist/src/SwitchIcons.d.ts +0 -3
- package/dist/src/SwitchIcons.d.ts.map +0 -1
- package/dist/src/index.d.ts +0 -3
- package/dist/src/index.d.ts.map +0 -1
- package/dist/src/styles/SwitchHandleStyle.d.ts +0 -6
- package/dist/src/styles/SwitchHandleStyle.d.ts.map +0 -1
- package/dist/src/styles/SwitchIconStyle.d.ts +0 -6
- package/dist/src/styles/SwitchIconStyle.d.ts.map +0 -1
- package/dist/src/styles/SwitchStateLayerStyle.d.ts +0 -6
- package/dist/src/styles/SwitchStateLayerStyle.d.ts.map +0 -1
- package/dist/src/styles/SwitchStyle.d.ts +0 -6
- package/dist/src/styles/SwitchStyle.d.ts.map +0 -1
- package/dist/src/styles/SwitchToken.d.ts +0 -76
- package/dist/src/styles/SwitchToken.d.ts.map +0 -1
- package/dist/src/styles/SwitchTrackStyle.d.ts +0 -6
- package/dist/src/styles/SwitchTrackStyle.d.ts.map +0 -1
- package/dist/src/styles/index.d.ts +0 -6
- package/dist/src/styles/index.d.ts.map +0 -1
- package/eslint.config.mjs +0 -13
- package/rollup.config.js +0 -32
- package/src/SwitchElement.ts +0 -268
- package/src/SwitchIcons.ts +0 -2
- package/src/index.ts +0 -2
- package/src/styles/SwitchHandleStyle.ts +0 -140
- package/src/styles/SwitchIconStyle.ts +0 -89
- package/src/styles/SwitchStateLayerStyle.ts +0 -43
- package/src/styles/SwitchStyle.ts +0 -30
- package/src/styles/SwitchToken.ts +0 -145
- package/src/styles/SwitchTrackStyle.ts +0 -104
- package/src/styles/index.ts +0 -5
- package/tsconfig.json +0 -9
package/README.md
CHANGED
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
The `m3e-switch` component is a semantic, accessible toggle control that reflects a binary state. Designed according to Material Design 3 guidelines, it supports shape transitions, and adaptive color theming across selected, unselected, and disabled states. The component responds to user interaction with smooth motion and expressive feedback. It supports optional icons (`none`, `selected`, or `both`) and integrates with form-associated behavior, emitting `input` and `change` events when toggled.
|
|
4
4
|
|
|
5
|
-
> **
|
|
6
|
-
> This package is maintained within the unified M3E repository, which provides a suite of Material 3 web components.
|
|
5
|
+
> **This package is part of [M3E](https://github.com/matraic/m3e) monorepo**, a unified suite of Material 3 web components. [Explore the docs](https://matraic.github.io/m3e) to see them in action.
|
|
7
6
|
|
|
8
7
|
## 📦 Installation
|
|
9
8
|
|