@m3e/icon-button 1.0.0-rc.2 → 1.0.0-rc.4

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 CHANGED
@@ -31,7 +31,7 @@ Alternately, you can explicitly reference the `html-custom-data.json` and `css-c
31
31
  }
32
32
  ```
33
33
 
34
- ## 🚀 Browser Usage
34
+ ## 🚀 Native Module Support
35
35
 
36
36
  This package uses [JavaScript Modules](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules#module_specifiers). To use it directly in a browser without a bundler, use a module script similar to the following.
37
37
 
@@ -1147,6 +1147,21 @@
1147
1147
  "module": "../core/src/shared/mixins/LinkButton.ts"
1148
1148
  }
1149
1149
  },
1150
+ {
1151
+ "kind": "field",
1152
+ "name": "formAssociated",
1153
+ "static": true,
1154
+ "readonly": true,
1155
+ "default": "true",
1156
+ "description": "Indicates that this custom element participates in form submission, validation, and form state restoration.",
1157
+ "type": {
1158
+ "text": "boolean"
1159
+ },
1160
+ "inheritedFrom": {
1161
+ "name": "AttachInternals",
1162
+ "module": "../core/src/shared/mixins/AttachInternals.ts"
1163
+ }
1164
+ },
1150
1165
  {
1151
1166
  "kind": "field",
1152
1167
  "name": "name",
@@ -1233,18 +1248,6 @@
1233
1248
  "module": "../core/src/shared/mixins/Disabled.ts"
1234
1249
  }
1235
1250
  },
1236
- {
1237
- "kind": "field",
1238
- "name": "formAssociated",
1239
- "static": true,
1240
- "readonly": true,
1241
- "default": "formAssociated",
1242
- "description": "Indicates that this custom element participates in form submission, validation, and form state restoration.",
1243
- "inheritedFrom": {
1244
- "name": "AttachInternals",
1245
- "module": "../core/src/shared/mixins/AttachInternals.ts"
1246
- }
1247
- },
1248
1251
  {
1249
1252
  "kind": "field",
1250
1253
  "name": "[_internals]",
@@ -2497,25 +2500,6 @@
2497
2500
  "kind": "mixin",
2498
2501
  "description": "Mixin that adds support for custom event attributes.",
2499
2502
  "name": "EventAttribute",
2500
- "members": [
2501
- {
2502
- "kind": "method",
2503
- "name": "dispatchEvent",
2504
- "return": {
2505
- "type": {
2506
- "text": "boolean"
2507
- }
2508
- },
2509
- "parameters": [
2510
- {
2511
- "name": "event",
2512
- "type": {
2513
- "text": "Event"
2514
- }
2515
- }
2516
- ]
2517
- }
2518
- ],
2519
2503
  "parameters": [
2520
2504
  {
2521
2505
  "name": "base",
@@ -2813,6 +2797,17 @@
2813
2797
  "description": "Mixin to augment an element with behavior used to submit a form.",
2814
2798
  "name": "FormSubmitter",
2815
2799
  "members": [
2800
+ {
2801
+ "kind": "field",
2802
+ "name": "formAssociated",
2803
+ "type": {
2804
+ "text": "boolean"
2805
+ },
2806
+ "static": true,
2807
+ "readonly": true,
2808
+ "default": "true",
2809
+ "description": "Indicates that this custom element participates in form submission, validation, and form state restoration."
2810
+ },
2816
2811
  {
2817
2812
  "kind": "field",
2818
2813
  "name": "name",
@@ -3349,6 +3344,11 @@
3349
3344
  "kind": "javascript-module",
3350
3345
  "path": "../core/src/shared/mixins/Labelled.ts",
3351
3346
  "declarations": [
3347
+ {
3348
+ "kind": "variable",
3349
+ "name": "updateLabels",
3350
+ "description": "A symbol through which to update labels to reflect a control's current state."
3351
+ },
3352
3352
  {
3353
3353
  "kind": "function",
3354
3354
  "name": "isLabelledMixin",
@@ -3398,16 +3398,6 @@
3398
3398
  },
3399
3399
  "description": "The label elements that the element is associated with.",
3400
3400
  "readonly": true
3401
- },
3402
- {
3403
- "kind": "method",
3404
- "name": "[_updateLabels]",
3405
- "privacy": "private",
3406
- "return": {
3407
- "type": {
3408
- "text": "void"
3409
- }
3410
- }
3411
3401
  }
3412
3402
  ],
3413
3403
  "parameters": [
@@ -3422,6 +3412,14 @@
3422
3412
  }
3423
3413
  ],
3424
3414
  "exports": [
3415
+ {
3416
+ "kind": "js",
3417
+ "name": "updateLabels",
3418
+ "declaration": {
3419
+ "name": "updateLabels",
3420
+ "module": "../core/src/shared/mixins/Labelled.ts"
3421
+ }
3422
+ },
3425
3423
  {
3426
3424
  "kind": "js",
3427
3425
  "name": "isLabelledMixin",
@@ -0,0 +1,316 @@
1
+ import { CSSResultGroup, LitElement, PropertyValues } from "lit";
2
+ import { IconButtonSize } from "./IconButtonSize";
3
+ import { IconButtonShape } from "./IconButtonShape";
4
+ import { IconButtonVariant } from "./IconButtonVariant";
5
+ import { IconButtonWidth } from "./IconButtonWidth";
6
+ declare const M3eIconButtonElement_base: import("node_modules/@m3e/core/dist/src/shared/mixins/Constructor").Constructor<import("@m3e/core").LinkButtonMixin> & import("node_modules/@m3e/core/dist/src/shared/mixins/Constructor").Constructor<import("@m3e/core").FormSubmitterMixin> & import("node_modules/@m3e/core/dist/src/shared/mixins/Constructor").Constructor & import("node_modules/@m3e/core/dist/src/shared/mixins/Constructor").Constructor<import("@m3e/core").DisabledInteractiveMixin> & import("node_modules/@m3e/core/dist/src/shared/mixins/Constructor").Constructor<import("@m3e/core").DisabledMixin> & import("node_modules/@m3e/core/dist/src/shared/mixins/Constructor").Constructor<import("@m3e/core").AttachInternalsMixin> & typeof LitElement;
7
+ /**
8
+ * An icon button users interact with to perform a supplementary action.
9
+ *
10
+ * @description
11
+ * The `m3e-icon-button` component is a semantic, expressive UI primitive for triggering actions with a single icon.
12
+ * Designed according to Material Design 3 guidelines, it supports five four variants, specified using the
13
+ * `variant` attribute—`filled`, `tonal`, `outlined`, and `standard`—each with dynamic elevation, shape morphing, and
14
+ * adaptive color theming. The component responds to interaction states (hover, focus, press, disabled) with smooth motion
15
+ * transitions, ensuring emotional clarity and visual hierarchy.
16
+ *
17
+ * The component is accessible by default, with ARIA roles, contrast-safe color tokens, and strong focus indicators.
18
+ * It supports optional icons and states for binary actions. When using `m3e-icon` for icons, `filled` is automatically
19
+ * set based on the selected state of a toggle button. It can also function as a link or be used to submit form data.
20
+ *
21
+ * Native disabled `<button>` elements cannot receive focus. This can be problematic in some cases because it can prevent you
22
+ * from telling the user why the button is disabled. You can use the `disabled-interactive` attribute to style a `m3e-icon-button`
23
+ * as disabled but allow for it to receive focus. The button will have `aria-disabled="true"` for assistive technology.
24
+ *
25
+ * @example
26
+ * The following example illustrates changing the appearance from `standard` (default) to `filled` using the `variant`
27
+ * attribute, changing the size using the `size` attribute, and enabling toggle behavior using the `toggle` attribute.
28
+ *
29
+ * ```html
30
+ * <m3e-icon-button variant="filled" size="large" toggle selected>
31
+ * <m3e-icon name="favorite"></m3e-icon>
32
+ * </m3e-icon-button>
33
+ * ```
34
+ *
35
+ * @tag m3e-icon-button
36
+ *
37
+ * @slot - Renders the icon of the button.
38
+ * @slot selected - Renders an icon, when selected.
39
+ *
40
+ * @attr disabled - Whether the element is disabled.
41
+ * @attr disabled-interactive - Whether the element is disabled and interactive.
42
+ * @attr download - A value indicating whether the `target` of the link button will be downloaded, optionally specifying the new name of the file.
43
+ * @attr href - The URL to which the link button points.
44
+ * @attr name - The name of the element, submitted as a pair with the element's `value` as part of form data, when the element is used to submit a form.
45
+ * @attr rel - The relationship between the `target` of the link button and the document.
46
+ * @attr selected - Whether the toggle button is selected.
47
+ * @attr shape - The shape of the button.
48
+ * @attr size - The size of the button.
49
+ * @attr target - The target of the link button.
50
+ * @attr toggle - Whether the button will toggle between selected and unselected states.
51
+ * @attr type - The type of the element.
52
+ * @attr value - The value associated with the element's name when it's submitted with form data.
53
+ * @attr variant - The appearance variant of the button.
54
+ * @attr width - The width of the button.
55
+ *
56
+ * @fires input - Dispatched when a toggle button's selected state changes.
57
+ * @fires change - Dispatched when a toggle button's selected state changes.
58
+ * @fires click - Emitted when the element is clicked.
59
+ *
60
+ * @cssprop --m3e-icon-button-extra-small-container-height - Height of the extra-small container.
61
+ * @cssprop --m3e-icon-button-extra-small-outline-thickness - Outline thickness for extra-small.
62
+ * @cssprop --m3e-icon-button-extra-small-icon-size - Icon size for extra-small.
63
+ * @cssprop --m3e-icon-button-extra-small-shape-round - Corner radius for round extra-small.
64
+ * @cssprop --m3e-icon-button-extra-small-shape-square - Corner radius for square extra-small.
65
+ * @cssprop --m3e-icon-button-extra-small-selected-shape-round - Corner radius for selected round extra-small.
66
+ * @cssprop --m3e-icon-button-extra-small-selected-shape-square - Corner radius for selected square extra-small.
67
+ * @cssprop --m3e-icon-button-extra-small-shape-pressed-morph - Corner radius for pressed extra-small.
68
+ * @cssprop --m3e-icon-button-extra-small-narrow-leading-space - Leading space for extra-small (narrow).
69
+ * @cssprop --m3e-icon-button-extra-small-narrow-trailing-space - Trailing space for extra-small (narrow).
70
+ * @cssprop --m3e-icon-button-extra-small-default-leading-space - Leading space for extra-small (default).
71
+ * @cssprop --m3e-icon-button-extra-small-default-trailing-space - Trailing space for extra-small (default).
72
+ * @cssprop --m3e-icon-button-extra-small-wide-leading-space - Leading space for extra-small (wide).
73
+ * @cssprop --m3e-icon-button-extra-small-wide-trailing-space - Trailing space for extra-small (wide).
74
+ * @cssprop --m3e-icon-button-small-container-height - Height of the small container.
75
+ * @cssprop --m3e-icon-button-small-outline-thickness - Outline thickness for small.
76
+ * @cssprop --m3e-icon-button-small-icon-size - Icon size for small.
77
+ * @cssprop --m3e-icon-button-small-shape-round - Corner radius for round small.
78
+ * @cssprop --m3e-icon-button-small-shape-square - Corner radius for square small.
79
+ * @cssprop --m3e-icon-button-small-selected-shape-round - Corner radius for selected round small.
80
+ * @cssprop --m3e-icon-button-small-selected-shape-square - Corner radius for selected square small.
81
+ * @cssprop --m3e-icon-button-small-shape-pressed-morph - Corner radius for pressed small.
82
+ * @cssprop --m3e-icon-button-small-narrow-leading-space - Leading space for small (narrow).
83
+ * @cssprop --m3e-icon-button-small-narrow-trailing-space - Trailing space for small (narrow).
84
+ * @cssprop --m3e-icon-button-small-default-leading-space - Leading space for small (default).
85
+ * @cssprop --m3e-icon-button-small-default-trailing-space - Trailing space for small (default).
86
+ * @cssprop --m3e-icon-button-small-wide-leading-space - Leading space for small (wide).
87
+ * @cssprop --m3e-icon-button-small-wide-trailing-space - Trailing space for small (wide).
88
+ * @cssprop --m3e-icon-button-medium-container-height - Height of the medium container.
89
+ * @cssprop --m3e-icon-button-medium-outline-thickness - Outline thickness for medium.
90
+ * @cssprop --m3e-icon-button-medium-icon-size - Icon size for medium.
91
+ * @cssprop --m3e-icon-button-medium-shape-round - Corner radius for round medium.
92
+ * @cssprop --m3e-icon-button-medium-shape-square - Corner radius for square medium.
93
+ * @cssprop --m3e-icon-button-medium-selected-shape-round - Corner radius for selected round medium.
94
+ * @cssprop --m3e-icon-button-medium-selected-shape-square - Corner radius for selected square medium.
95
+ * @cssprop --m3e-icon-button-medium-shape-pressed-morph - Corner radius for pressed medium.
96
+ * @cssprop --m3e-icon-button-medium-narrow-leading-space - Leading space for medium (narrow).
97
+ * @cssprop --m3e-icon-button-medium-narrow-trailing-space - Trailing space for medium (narrow).
98
+ * @cssprop --m3e-icon-button-medium-default-leading-space - Leading space for medium (default).
99
+ * @cssprop --m3e-icon-button-medium-default-trailing-space - Trailing space for medium (default).
100
+ * @cssprop --m3e-icon-button-medium-wide-leading-space - Leading space for medium (wide).
101
+ * @cssprop --m3e-icon-button-medium-wide-trailing-space - Trailing space for medium (wide).
102
+ * @cssprop --m3e-icon-button-large-container-height - Height of the large container.
103
+ * @cssprop --m3e-icon-button-large-outline-thickness - Outline thickness for large.
104
+ * @cssprop --m3e-icon-button-large-icon-size - Icon size for large.
105
+ * @cssprop --m3e-icon-button-large-shape-round - Corner radius for round large.
106
+ * @cssprop --m3e-icon-button-large-shape-square - Corner radius for square large.
107
+ * @cssprop --m3e-icon-button-large-selected-shape-round - Corner radius for selected round large.
108
+ * @cssprop --m3e-icon-button-large-selected-shape-square - Corner radius for selected square large.
109
+ * @cssprop --m3e-icon-button-large-shape-pressed-morph - Corner radius for pressed large.
110
+ * @cssprop --m3e-icon-button-large-narrow-leading-space - Leading space for large (narrow).
111
+ * @cssprop --m3e-icon-button-large-narrow-trailing-space - Trailing space for large (narrow).
112
+ * @cssprop --m3e-icon-button-large-default-leading-space - Leading space for large (default).
113
+ * @cssprop --m3e-icon-button-large-default-trailing-space - Trailing space for large (default).
114
+ * @cssprop --m3e-icon-button-large-wide-leading-space - Leading space for large (wide).
115
+ * @cssprop --m3e-icon-button-large-wide-trailing-space - Trailing space for large (wide).
116
+ * @cssprop --m3e-icon-button-extra-large-container-height - Height of the extra-large container.
117
+ * @cssprop --m3e-icon-button-extra-large-outline-thickness - Outline thickness for extra-large.
118
+ * @cssprop --m3e-icon-button-extra-large-icon-size - Icon size for extra-large.
119
+ * @cssprop --m3e-icon-button-extra-large-shape-round - Corner radius for round extra-large.
120
+ * @cssprop --m3e-icon-button-extra-large-shape-square - Corner radius for square extra-large.
121
+ * @cssprop --m3e-icon-button-extra-large-selected-shape-round - Corner radius for selected round extra-large.
122
+ * @cssprop --m3e-icon-button-extra-large-selected-shape-square - Corner radius for selected square extra-large.
123
+ * @cssprop --m3e-icon-button-extra-large-shape-pressed-morph - Corner radius for pressed extra-large.
124
+ * @cssprop --m3e-icon-button-extra-large-narrow-leading-space - Leading space for extra-large (narrow).
125
+ * @cssprop --m3e-icon-button-extra-large-narrow-trailing-space - Trailing space for extra-large (narrow).
126
+ * @cssprop --m3e-icon-button-extra-large-default-leading-space - Leading space for extra-large (default).
127
+ * @cssprop --m3e-icon-button-extra-large-default-trailing-space - Trailing space for extra-large (default).
128
+ * @cssprop --m3e-icon-button-extra-large-wide-leading-space - Leading space for extra-large (wide).
129
+ * @cssprop --m3e-icon-button-extra-large-wide-trailing-space - Trailing space for extra-large (wide).
130
+ * @cssprop --m3e-outlined-icon-button-icon-color - Default icon color for outlined variant.
131
+ * @cssprop --m3e-outlined-icon-button-outline-color - Default outline color for outlined variant.
132
+ * @cssprop --m3e-outlined-icon-button-unselected-icon-color - Unselected icon color for outlined variant.
133
+ * @cssprop --m3e-outlined-icon-button-selected-icon-color - Selected icon color for outlined variant.
134
+ * @cssprop --m3e-outlined-icon-button-selected-container-color - Selected container background color for outlined variant.
135
+ * @cssprop --m3e-outlined-icon-button-disabled-container-color - Container background color when disabled (outlined).
136
+ * @cssprop --m3e-outlined-icon-button-disabled-container-opacity - Opacity of container when disabled (outlined).
137
+ * @cssprop --m3e-outlined-icon-button-disabled-icon-color - Icon color when disabled (outlined).
138
+ * @cssprop --m3e-outlined-icon-button-disabled-icon-opacity - Icon opacity when disabled (outlined).
139
+ * @cssprop --m3e-outlined-icon-button-disabled-outline-color - Outline color when disabled (outlined).
140
+ * @cssprop --m3e-outlined-icon-button-hover-icon-color - Icon color on hover (outlined).
141
+ * @cssprop --m3e-outlined-icon-button-hover-outline-color - Outline color on hover (outlined).
142
+ * @cssprop --m3e-outlined-icon-button-hover-state-layer-color - State layer color on hover (outlined).
143
+ * @cssprop --m3e-outlined-icon-button-hover-state-layer-opacity - State layer opacity on hover (outlined).
144
+ * @cssprop --m3e-outlined-icon-button-hover-unselected-icon-color - Unselected icon color on hover (outlined).
145
+ * @cssprop --m3e-outlined-icon-button-hover-unselected-state-layer-color - Unselected state layer color on hover (outlined).
146
+ * @cssprop --m3e-outlined-icon-button-hover-selected-icon-color - Selected icon color on hover (outlined).
147
+ * @cssprop --m3e-outlined-icon-button-hover-selected-state-layer-color - Selected state layer color on hover (outlined).
148
+ * @cssprop --m3e-outlined-icon-button-focus-icon-color - Icon color on focus (outlined).
149
+ * @cssprop --m3e-outlined-icon-button-focus-outline-color - Outline color on focus (outlined).
150
+ * @cssprop --m3e-outlined-icon-button-focus-state-layer-color - State layer color on focus (outlined).
151
+ * @cssprop --m3e-outlined-icon-button-focus-state-layer-opacity - State layer opacity on focus (outlined).
152
+ * @cssprop --m3e-outlined-icon-button-focus-unselected-icon-color - Unselected icon color on focus (outlined).
153
+ * @cssprop --m3e-outlined-icon-button-focus-unselected-state-layer-color - Unselected state layer color on focus (outlined).
154
+ * @cssprop --m3e-outlined-icon-button-focus-selected-icon-color - Selected icon color on focus (outlined).
155
+ * @cssprop --m3e-outlined-icon-button-focus-selected-state-layer-color - Selected state layer color on focus (outlined).
156
+ * @cssprop --m3e-outlined-icon-button-pressed-icon-color - Icon color on pressed (outlined).
157
+ * @cssprop --m3e-outlined-icon-button-pressed-outline-color - Outline color on pressed (outlined).
158
+ * @cssprop --m3e-outlined-icon-button-pressed-state-layer-color - State layer color on pressed (outlined).
159
+ * @cssprop --m3e-outlined-icon-button-pressed-state-layer-opacity - State layer opacity on pressed (outlined).
160
+ * @cssprop --m3e-outlined-icon-button-pressed-unselected-icon-color - Unselected icon color on pressed (outlined).
161
+ * @cssprop --m3e-outlined-icon-button-pressed-unselected-state-layer-color - Unselected state layer color on pressed (outlined).
162
+ * @cssprop --m3e-outlined-icon-button-pressed-selected-icon-color - Selected icon color on pressed (outlined).
163
+ * @cssprop --m3e-outlined-icon-button-pressed-selected-state-layer-color - Selected state layer color on pressed (outlined).
164
+ * @cssprop --m3e-filled-icon-button-icon-color - Default icon color for filled variant.
165
+ * @cssprop --m3e-filled-icon-button-container-color - Default container background color for filled variant.
166
+ * @cssprop --m3e-filled-icon-button-unselected-icon-color - Unselected icon color for filled variant.
167
+ * @cssprop --m3e-filled-icon-button-unselected-container-color - Unselected container background color for filled variant.
168
+ * @cssprop --m3e-filled-icon-button-selected-icon-color - Selected icon color for filled variant.
169
+ * @cssprop --m3e-filled-icon-button-selected-container-color - Selected container background color for filled variant.
170
+ * @cssprop --m3e-filled-icon-button-disabled-container-color - Container background color when disabled (filled).
171
+ * @cssprop --m3e-filled-icon-button-disabled-container-opacity - Opacity of container when disabled (filled).
172
+ * @cssprop --m3e-filled-icon-button-disabled-icon-color - Icon color when disabled (filled).
173
+ * @cssprop --m3e-filled-icon-button-disabled-icon-opacity - Icon opacity when disabled (filled).
174
+ * @cssprop --m3e-filled-icon-button-hover-icon-color - Icon color on hover (filled).
175
+ * @cssprop --m3e-filled-icon-button-hover-state-layer-color - State layer color on hover (filled).
176
+ * @cssprop --m3e-filled-icon-button-hover-state-layer-opacity - State layer opacity on hover (filled).
177
+ * @cssprop --m3e-filled-icon-button-hover-unselected-icon-color - Unselected icon color on hover (filled).
178
+ * @cssprop --m3e-filled-icon-button-hover-unselected-state-layer-color - Unselected state layer color on hover (filled).
179
+ * @cssprop --m3e-filled-icon-button-hover-selected-icon-color - Selected icon color on hover (filled).
180
+ * @cssprop --m3e-filled-icon-button-hover-selected-state-layer-color - Selected state layer color on hover (filled).
181
+ * @cssprop --m3e-filled-icon-button-focus-icon-color - Icon color on focus (filled).
182
+ * @cssprop --m3e-filled-icon-button-focus-state-layer-color - State layer color on focus (filled).
183
+ * @cssprop --m3e-filled-icon-button-focus-state-layer-opacity - State layer opacity on focus (filled).
184
+ * @cssprop --m3e-filled-icon-button-focus-unselected-icon-color - Unselected icon color on focus (filled).
185
+ * @cssprop --m3e-filled-icon-button-focus-unselected-state-layer-color - Unselected state layer color on focus (filled).
186
+ * @cssprop --m3e-filled-icon-button-focus-selected-icon-color - Selected icon color on focus (filled).
187
+ * @cssprop --m3e-filled-icon-button-focus-selected-state-layer-color - Selected state layer color on focus (filled).
188
+ * @cssprop --m3e-filled-icon-button-pressed-icon-color - Icon color on pressed (filled).
189
+ * @cssprop --m3e-filled-icon-button-pressed-state-layer-color - State layer color on pressed (filled).
190
+ * @cssprop --m3e-filled-icon-button-pressed-state-layer-opacity - State layer opacity on pressed (filled).
191
+ * @cssprop --m3e-filled-icon-button-pressed-unselected-icon-color - Unselected icon color on pressed (filled).
192
+ * @cssprop --m3e-filled-icon-button-pressed-unselected-state-layer-color - Unselected state layer color on pressed (filled).
193
+ * @cssprop --m3e-filled-icon-button-pressed-selected-icon-color - Selected icon color on pressed (filled).
194
+ * @cssprop --m3e-filled-icon-button-pressed-selected-state-layer-color - Selected state layer color on pressed (filled).
195
+ * @cssprop --m3e-tonal-icon-button-icon-color - Default icon color for tonal variant.
196
+ * @cssprop --m3e-tonal-icon-button-container-color - Default container background color for tonal variant.
197
+ * @cssprop --m3e-tonal-icon-button-unselected-icon-color - Unselected icon color for tonal variant.
198
+ * @cssprop --m3e-tonal-icon-button-unselected-container-color - Unselected container background color for tonal variant.
199
+ * @cssprop --m3e-tonal-icon-button-selected-icon-color - Selected icon color for tonal variant.
200
+ * @cssprop --m3e-tonal-icon-button-selected-container-color - Selected container background color for tonal variant.
201
+ * @cssprop --m3e-tonal-icon-button-disabled-container-color - Container background color when disabled (tonal).
202
+ * @cssprop --m3e-tonal-icon-button-disabled-container-opacity - Opacity of container when disabled (tonal).
203
+ * @cssprop --m3e-tonal-icon-button-disabled-icon-color - Icon color when disabled (tonal).
204
+ * @cssprop --m3e-tonal-icon-button-disabled-icon-opacity - Icon opacity when disabled (tonal).
205
+ * @cssprop --m3e-tonal-icon-button-hover-icon-color - Icon color on hover (tonal).
206
+ * @cssprop --m3e-tonal-icon-button-hover-state-layer-color - State layer color on hover (tonal).
207
+ * @cssprop --m3e-tonal-icon-button-hover-state-layer-opacity - State layer opacity on hover (tonal).
208
+ * @cssprop --m3e-tonal-icon-button-hover-unselected-icon-color - Unselected icon color on hover (tonal).
209
+ * @cssprop --m3e-tonal-icon-button-hover-unselected-state-layer-color - Unselected state layer color on hover (tonal).
210
+ * @cssprop --m3e-tonal-icon-button-hover-selected-icon-color - Selected icon color on hover (tonal).
211
+ * @cssprop --m3e-tonal-icon-button-hover-selected-state-layer-color - Selected state layer color on hover (tonal).
212
+ * @cssprop --m3e-tonal-icon-button-focus-icon-color - Icon color on focus (tonal).
213
+ * @cssprop --m3e-tonal-icon-button-focus-state-layer-color - State layer color on focus (tonal).
214
+ * @cssprop --m3e-tonal-icon-button-focus-state-layer-opacity - State layer opacity on focus (tonal).
215
+ * @cssprop --m3e-tonal-icon-button-focus-unselected-icon-color - Unselected icon color on focus (tonal).
216
+ * @cssprop --m3e-tonal-icon-button-focus-unselected-state-layer-color - Unselected state layer color on focus (tonal).
217
+ * @cssprop --m3e-tonal-icon-button-focus-selected-icon-color - Selected icon color on focus (tonal).
218
+ * @cssprop --m3e-tonal-icon-button-focus-selected-state-layer-color - Selected state layer color on focus (tonal).
219
+ * @cssprop --m3e-tonal-icon-button-pressed-icon-color - Icon color on pressed (tonal).
220
+ * @cssprop --m3e-tonal-icon-button-pressed-state-layer-color - State layer color on pressed (tonal).
221
+ * @cssprop --m3e-tonal-icon-button-pressed-state-layer-opacity - State layer opacity on pressed (tonal).
222
+ * @cssprop --m3e-tonal-icon-button-pressed-unselected-icon-color - Unselected icon color on pressed (tonal).
223
+ * @cssprop --m3e-tonal-icon-button-pressed-unselected-state-layer-color - Unselected state layer color on pressed (tonal).
224
+ * @cssprop --m3e-tonal-icon-button-pressed-selected-icon-color - Selected icon color on pressed (tonal).
225
+ * @cssprop --m3e-tonal-icon-button-pressed-selected-state-layer-color - Selected state layer color on pressed (tonal).
226
+ * @cssprop --m3e-standard-icon-button-icon-color - Default icon color for standard variant.
227
+ * @cssprop --m3e-standard-icon-button-unselected-icon-color - Unselected icon color for standard variant.
228
+ * @cssprop --m3e-standard-icon-button-selected-icon-color - Selected icon color for standard variant.
229
+ * @cssprop --m3e-standard-icon-button-disabled-container-color - Container background color when disabled (standard).
230
+ * @cssprop --m3e-standard-icon-button-disabled-container-opacity - Opacity of container when disabled (standard).
231
+ * @cssprop --m3e-standard-icon-button-disabled-icon-color - Icon color when disabled (standard).
232
+ * @cssprop --m3e-standard-icon-button-disabled-icon-opacity - Icon opacity when disabled (standard).
233
+ * @cssprop --m3e-standard-icon-button-hover-icon-color - Icon color on hover (standard).
234
+ * @cssprop --m3e-standard-icon-button-hover-state-layer-color - State layer color on hover (standard).
235
+ * @cssprop --m3e-standard-icon-button-hover-state-layer-opacity - State layer opacity on hover (standard).
236
+ * @cssprop --m3e-standard-icon-button-hover-unselected-icon-color - Unselected icon color on hover (standard).
237
+ * @cssprop --m3e-standard-icon-button-hover-unselected-state-layer-color - Unselected state layer color on hover (standard).
238
+ * @cssprop --m3e-standard-icon-button-hover-selected-icon-color - Selected icon color on hover (standard).
239
+ * @cssprop --m3e-standard-icon-button-hover-selected-state-layer-color - Selected state layer color on hover (standard).
240
+ * @cssprop --m3e-standard-icon-button-focus-icon-color - Icon color on focus (standard).
241
+ * @cssprop --m3e-standard-icon-button-focus-state-layer-color - State layer color on focus (standard).
242
+ * @cssprop --m3e-standard-icon-button-focus-state-layer-opacity - State layer opacity on focus (standard).
243
+ * @cssprop --m3e-standard-icon-button-focus-unselected-icon-color - Unselected icon color on focus (standard).
244
+ * @cssprop --m3e-standard-icon-button-focus-unselected-state-layer-color - Unselected state layer color on focus (standard).
245
+ * @cssprop --m3e-standard-icon-button-focus-selected-icon-color - Selected icon color on focus (standard).
246
+ * @cssprop --m3e-standard-icon-button-focus-selected-state-layer-color - Selected state layer color on focus (standard).
247
+ * @cssprop --m3e-standard-icon-button-pressed-icon-color - Icon color on pressed (standard).
248
+ * @cssprop --m3e-standard-icon-button-pressed-state-layer-color - State layer color on pressed (standard).
249
+ * @cssprop --m3e-standard-icon-button-pressed-state-layer-opacity - State layer opacity on pressed (standard).
250
+ * @cssprop --m3e-standard-icon-button-pressed-unselected-icon-color - Unselected icon color on pressed (standard).
251
+ * @cssprop --m3e-standard-icon-button-pressed-unselected-state-layer-color - Unselected state layer color on pressed (standard).
252
+ * @cssprop --m3e-standard-icon-button-pressed-selected-icon-color - Selected icon color on pressed (standard).
253
+ * @cssprop --m3e-standard-icon-button-pressed-selected-state-layer-color - Selected state layer color on pressed (standard).
254
+ */
255
+ export declare class M3eIconButtonElement extends M3eIconButtonElement_base {
256
+ #private;
257
+ /** The styles of the element. */
258
+ static styles: CSSResultGroup;
259
+ /** @private */ private readonly _base?;
260
+ /** @private */ private readonly _elevation?;
261
+ /** @private */ private readonly _focusRing?;
262
+ /** @private */ private readonly _stateLayer?;
263
+ /** @private */ private readonly _ripple?;
264
+ constructor();
265
+ /**
266
+ * The appearance variant of the button.
267
+ * @default "standard"
268
+ */
269
+ variant: IconButtonVariant;
270
+ /**
271
+ * The shape of the button.
272
+ * @default "rounded"
273
+ */
274
+ shape: IconButtonShape;
275
+ /**
276
+ * The size of the button.
277
+ * @default "small"
278
+ */
279
+ size: IconButtonSize;
280
+ /**
281
+ * The width of the button.
282
+ * @default "default"
283
+ */
284
+ width: IconButtonWidth;
285
+ /**
286
+ * Whether the button will toggle between selected and unselected states.
287
+ * @default false
288
+ */
289
+ toggle: boolean;
290
+ /**
291
+ * Whether the toggle button is selected.
292
+ * @default false
293
+ */
294
+ selected: boolean;
295
+ /** Whether the button is contained by a button group. */
296
+ get grouped(): boolean;
297
+ /** @inheritdoc */
298
+ render(): unknown;
299
+ /** @inheritdoc */
300
+ connectedCallback(): void;
301
+ /** @inheritdoc */
302
+ disconnectedCallback(): void;
303
+ /** @inheritdoc */
304
+ protected firstUpdated(_changedProperties: PropertyValues<this>): void;
305
+ /** @inheritdoc */
306
+ protected updated(_changedProperties: PropertyValues<this>): void;
307
+ /** @private */
308
+ private _handleResize;
309
+ }
310
+ declare global {
311
+ interface HTMLElementTagNameMap {
312
+ "m3e-icon-button": M3eIconButtonElement;
313
+ }
314
+ }
315
+ export {};
316
+ //# sourceMappingURL=IconButtonElement.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IconButtonElement.d.ts","sourceRoot":"","sources":["../../src/IconButtonElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAQ,UAAU,EAAW,cAAc,EAAE,MAAM,KAAK,CAAC;AAwBhF,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAGxD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;;AAEpD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuPG;AACH,qBACa,oBAAqB,SAAQ,yBAEzC;;IACC,iCAAiC;IACjC,OAAgB,MAAM,EAAE,cAAc,CAAkE;IAExG,eAAe,CAAiB,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAc;IACrE,eAAe,CAAsB,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAC,CAAsB;IACvF,eAAe,CAAuB,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAC,CAAsB;IACxF,eAAe,CAAwB,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAC,CAAuB;IAC3F,eAAe,CAAmB,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAmB;;IA4D9E;;;OAGG;IAC0B,OAAO,EAAE,iBAAiB,CAAc;IAErE;;;OAGG;IAC0B,KAAK,EAAE,eAAe,CAAa;IAEhE;;;OAGG;IAC0B,IAAI,EAAE,cAAc,CAAW;IAE5D;;;OAGG;IAC0B,KAAK,EAAE,eAAe,CAAa;IAEhE;;;OAGG;IACyC,MAAM,UAAS;IAE3D;;;OAGG;IACyC,QAAQ,UAAS;IAE7D,yDAAyD;IACzD,IAAI,OAAO,YAEV;IAED,kBAAkB;IACT,MAAM,IAAI,OAAO;IAsB1B,kBAAkB;IACT,iBAAiB,IAAI,IAAI;IAMlC,kBAAkB;IACT,oBAAoB,IAAI,IAAI;IAYrC,kBAAkB;cACC,YAAY,CAAC,kBAAkB,EAAE,cAAc,CAAC,IAAI,CAAC,GAAG,IAAI;IAK/E,kBAAkB;cACC,OAAO,CAAC,kBAAkB,EAAE,cAAc,CAAC,IAAI,CAAC,GAAG,IAAI;IAqB1E,eAAe;IAEf,OAAO,CAAC,aAAa;CA4CtB;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,iBAAiB,EAAE,oBAAoB,CAAC;KACzC;CACF"}
@@ -0,0 +1,3 @@
1
+ /** Specifies the possible shape variants of an icon button. */
2
+ export type IconButtonShape = "rounded" | "square";
3
+ //# sourceMappingURL=IconButtonShape.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IconButtonShape.d.ts","sourceRoot":"","sources":["../../src/IconButtonShape.ts"],"names":[],"mappings":"AAAA,+DAA+D;AAC/D,MAAM,MAAM,eAAe,GAAG,SAAS,GAAG,QAAQ,CAAC"}
@@ -0,0 +1,3 @@
1
+ /** Specifies the possible sizes of an icon button. */
2
+ export type IconButtonSize = "extra-small" | "small" | "medium" | "large" | "extra-large";
3
+ //# sourceMappingURL=IconButtonSize.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IconButtonSize.d.ts","sourceRoot":"","sources":["../../src/IconButtonSize.ts"],"names":[],"mappings":"AAAA,sDAAsD;AACtD,MAAM,MAAM,cAAc,GAAG,aAAa,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,GAAG,aAAa,CAAC"}
@@ -0,0 +1,3 @@
1
+ /** Specifies the possible appearance variants of an icon button. */
2
+ export type IconButtonVariant = "filled" | "tonal" | "outlined" | "standard";
3
+ //# sourceMappingURL=IconButtonVariant.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IconButtonVariant.d.ts","sourceRoot":"","sources":["../../src/IconButtonVariant.ts"],"names":[],"mappings":"AAAA,oEAAoE;AACpE,MAAM,MAAM,iBAAiB,GAAG,QAAQ,GAAG,OAAO,GAAG,UAAU,GAAG,UAAU,CAAC"}
@@ -0,0 +1,3 @@
1
+ /** Specifies the possible width variants of an icon button. */
2
+ export type IconButtonWidth = "default" | "narrow" | "wide";
3
+ //# sourceMappingURL=IconButtonWidth.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IconButtonWidth.d.ts","sourceRoot":"","sources":["../../src/IconButtonWidth.ts"],"names":[],"mappings":"AAAA,+DAA+D;AAC/D,MAAM,MAAM,eAAe,GAAG,SAAS,GAAG,QAAQ,GAAG,MAAM,CAAC"}
@@ -0,0 +1,6 @@
1
+ export * from "./IconButtonElement";
2
+ export * from "./IconButtonShape";
3
+ export * from "./IconButtonSize";
4
+ export * from "./IconButtonVariant";
5
+ export * from "./IconButtonWidth";
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AACjC,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { CSSResultGroup } from "lit";
2
+ /**
3
+ * Size variant styles for `M3eIconButtonElement`.
4
+ * @internal
5
+ */
6
+ export declare const IconButtonSizeStyle: CSSResultGroup;
7
+ //# sourceMappingURL=IconButtonSizeStyle.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IconButtonSizeStyle.d.ts","sourceRoot":"","sources":["../../../src/styles/IconButtonSizeStyle.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkB,cAAc,EAAa,MAAM,KAAK,CAAC;AAoFhE;;;GAGG;AACH,eAAO,MAAM,mBAAmB,EAAE,cAMjC,CAAC"}
@@ -0,0 +1,26 @@
1
+ import { CSSResult } from "lit";
2
+ import { IconButtonSize } from "../IconButtonSize";
3
+ /** @private */
4
+ type _IconButtonSizeToken = {
5
+ containerHeight: CSSResult;
6
+ outlineThickness: CSSResult;
7
+ iconSize: CSSResult;
8
+ shapeRound: CSSResult;
9
+ shapeSquare: CSSResult;
10
+ selectedShapeRound: CSSResult;
11
+ selectedShapeSquare: CSSResult;
12
+ shapePressedMorph: CSSResult;
13
+ narrowLeadingSpace: CSSResult;
14
+ narrowTrailingSpace: CSSResult;
15
+ defaultLeadingSpace: CSSResult;
16
+ defaultTrailingSpace: CSSResult;
17
+ wideLeadingSpace: CSSResult;
18
+ wideTrailingSpace: CSSResult;
19
+ };
20
+ /**
21
+ * Component design tokens that control the `M3eIconButtonElement` for all size variants.
22
+ * @internal
23
+ */
24
+ export declare const IconButtonSizeToken: Record<IconButtonSize, _IconButtonSizeToken>;
25
+ export {};
26
+ //# sourceMappingURL=IconButtonSizeToken.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IconButtonSizeToken.d.ts","sourceRoot":"","sources":["../../../src/styles/IconButtonSizeToken.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAa,MAAM,KAAK,CAAC;AAI3C,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAEnD,eAAe;AACf,KAAK,oBAAoB,GAAG;IAC1B,eAAe,EAAE,SAAS,CAAC;IAC3B,gBAAgB,EAAE,SAAS,CAAC;IAC5B,QAAQ,EAAE,SAAS,CAAC;IACpB,UAAU,EAAE,SAAS,CAAC;IACtB,WAAW,EAAE,SAAS,CAAC;IACvB,kBAAkB,EAAE,SAAS,CAAC;IAC9B,mBAAmB,EAAE,SAAS,CAAC;IAC/B,iBAAiB,EAAE,SAAS,CAAC;IAC7B,kBAAkB,EAAE,SAAS,CAAC;IAC9B,mBAAmB,EAAE,SAAS,CAAC;IAC/B,mBAAmB,EAAE,SAAS,CAAC;IAC/B,oBAAoB,EAAE,SAAS,CAAC;IAChC,gBAAgB,EAAE,SAAS,CAAC;IAC5B,iBAAiB,EAAE,SAAS,CAAC;CAC9B,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,mBAAmB,EAAE,MAAM,CAAC,cAAc,EAAE,oBAAoB,CA0LnE,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { CSSResultGroup } from "lit";
2
+ /**
3
+ * Baseline styles for `M3eIconButtonElement`.
4
+ * @internal
5
+ */
6
+ export declare const IconButtonStyle: CSSResultGroup;
7
+ //# sourceMappingURL=IconButtonStyle.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IconButtonStyle.d.ts","sourceRoot":"","sources":["../../../src/styles/IconButtonStyle.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,cAAc,EAAa,MAAM,KAAK,CAAC;AAIrD;;;GAGG;AACH,eAAO,MAAM,eAAe,EAAE,cA+K7B,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { CSSResultGroup } from "lit";
2
+ /**
3
+ * Appearance variant styles for `M3eIconButtonElement`.
4
+ * @internal
5
+ */
6
+ export declare const IconButtonVariantStyle: CSSResultGroup;
7
+ //# sourceMappingURL=IconButtonVariantStyle.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IconButtonVariantStyle.d.ts","sourceRoot":"","sources":["../../../src/styles/IconButtonVariantStyle.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkB,cAAc,EAAa,MAAM,KAAK,CAAC;AA2GhE;;;GAGG;AACH,eAAO,MAAM,sBAAsB,EAAE,cAWpC,CAAC"}
@@ -0,0 +1,61 @@
1
+ import { CSSResult } from "lit";
2
+ import { IconButtonVariant } from "../IconButtonVariant";
3
+ /** @private */
4
+ type _IconButtonVariantToken = {
5
+ iconColor: CSSResult;
6
+ containerColor?: CSSResult;
7
+ containerElevation?: CSSResult;
8
+ outlineColor?: CSSResult;
9
+ unselectedIconColor: CSSResult;
10
+ unselectedContainerColor?: CSSResult;
11
+ selectedIconColor: CSSResult;
12
+ selectedContainerColor?: CSSResult;
13
+ disabled: {
14
+ containerColor: CSSResult;
15
+ containerElevation?: CSSResult;
16
+ containerOpacity: CSSResult;
17
+ iconColor: CSSResult;
18
+ iconOpacity: CSSResult;
19
+ outlineColor?: CSSResult;
20
+ };
21
+ hover: {
22
+ iconColor: CSSResult;
23
+ stateLayerColor: CSSResult;
24
+ stateLayerOpacity: CSSResult;
25
+ containerElevation?: CSSResult;
26
+ outlineColor?: CSSResult;
27
+ unselectedIconColor: CSSResult;
28
+ unselectedStateLayerColor: CSSResult;
29
+ selectedIconColor: CSSResult;
30
+ selectedStateLayerColor: CSSResult;
31
+ };
32
+ focus: {
33
+ iconColor: CSSResult;
34
+ stateLayerColor: CSSResult;
35
+ stateLayerOpacity: CSSResult;
36
+ containerElevation?: CSSResult;
37
+ outlineColor?: CSSResult;
38
+ unselectedIconColor: CSSResult;
39
+ unselectedStateLayerColor: CSSResult;
40
+ selectedIconColor: CSSResult;
41
+ selectedStateLayerColor: CSSResult;
42
+ };
43
+ pressed: {
44
+ iconColor: CSSResult;
45
+ stateLayerColor: CSSResult;
46
+ stateLayerOpacity: CSSResult;
47
+ containerElevation?: CSSResult;
48
+ outlineColor?: CSSResult;
49
+ unselectedIconColor: CSSResult;
50
+ unselectedStateLayerColor: CSSResult;
51
+ selectedIconColor: CSSResult;
52
+ selectedStateLayerColor: CSSResult;
53
+ };
54
+ };
55
+ /**
56
+ * Component design tokens that control the appearance variants of `M3eIconButtonElement`.
57
+ * @internal
58
+ */
59
+ export declare const IconButtonVariantToken: Record<IconButtonVariant | "elevated", _IconButtonVariantToken>;
60
+ export {};
61
+ //# sourceMappingURL=IconButtonVariantToken.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IconButtonVariantToken.d.ts","sourceRoot":"","sources":["../../../src/styles/IconButtonVariantToken.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAa,MAAM,KAAK,CAAC;AAI3C,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAEzD,eAAe;AACf,KAAK,uBAAuB,GAAG;IAC7B,SAAS,EAAE,SAAS,CAAC;IACrB,cAAc,CAAC,EAAE,SAAS,CAAC;IAC3B,kBAAkB,CAAC,EAAE,SAAS,CAAC;IAC/B,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB,mBAAmB,EAAE,SAAS,CAAC;IAC/B,wBAAwB,CAAC,EAAE,SAAS,CAAC;IACrC,iBAAiB,EAAE,SAAS,CAAC;IAC7B,sBAAsB,CAAC,EAAE,SAAS,CAAC;IACnC,QAAQ,EAAE;QACR,cAAc,EAAE,SAAS,CAAC;QAC1B,kBAAkB,CAAC,EAAE,SAAS,CAAC;QAC/B,gBAAgB,EAAE,SAAS,CAAC;QAC5B,SAAS,EAAE,SAAS,CAAC;QACrB,WAAW,EAAE,SAAS,CAAC;QACvB,YAAY,CAAC,EAAE,SAAS,CAAC;KAC1B,CAAC;IACF,KAAK,EAAE;QACL,SAAS,EAAE,SAAS,CAAC;QACrB,eAAe,EAAE,SAAS,CAAC;QAC3B,iBAAiB,EAAE,SAAS,CAAC;QAC7B,kBAAkB,CAAC,EAAE,SAAS,CAAC;QAC/B,YAAY,CAAC,EAAE,SAAS,CAAC;QACzB,mBAAmB,EAAE,SAAS,CAAC;QAC/B,yBAAyB,EAAE,SAAS,CAAC;QACrC,iBAAiB,EAAE,SAAS,CAAC;QAC7B,uBAAuB,EAAE,SAAS,CAAC;KACpC,CAAC;IACF,KAAK,EAAE;QACL,SAAS,EAAE,SAAS,CAAC;QACrB,eAAe,EAAE,SAAS,CAAC;QAC3B,iBAAiB,EAAE,SAAS,CAAC;QAC7B,kBAAkB,CAAC,EAAE,SAAS,CAAC;QAC/B,YAAY,CAAC,EAAE,SAAS,CAAC;QACzB,mBAAmB,EAAE,SAAS,CAAC;QAC/B,yBAAyB,EAAE,SAAS,CAAC;QACrC,iBAAiB,EAAE,SAAS,CAAC;QAC7B,uBAAuB,EAAE,SAAS,CAAC;KACpC,CAAC;IACF,OAAO,EAAE;QACP,SAAS,EAAE,SAAS,CAAC;QACrB,eAAe,EAAE,SAAS,CAAC;QAC3B,iBAAiB,EAAE,SAAS,CAAC;QAC7B,kBAAkB,CAAC,EAAE,SAAS,CAAC;QAC/B,YAAY,CAAC,EAAE,SAAS,CAAC;QACzB,mBAAmB,EAAE,SAAS,CAAC;QAC/B,yBAAyB,EAAE,SAAS,CAAC;QACrC,iBAAiB,EAAE,SAAS,CAAC;QAC7B,uBAAuB,EAAE,SAAS,CAAC;KACpC,CAAC;CACH,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,sBAAsB,EAAE,MAAM,CAAC,iBAAiB,GAAG,UAAU,EAAE,uBAAuB,CAsxBzF,CAAC"}
@@ -0,0 +1,4 @@
1
+ export * from "./IconButtonSizeStyle";
2
+ export * from "./IconButtonStyle";
3
+ export * from "./IconButtonVariantStyle";
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/styles/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC;AAClC,cAAc,0BAA0B,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@m3e/icon-button",
3
- "version": "1.0.0-rc.2",
3
+ "version": "1.0.0-rc.4",
4
4
  "description": "Icon Button for M3E",
5
5
  "author": "matraic <matraic@yahoo.com>",
6
6
  "license": "MIT",
@@ -27,7 +27,7 @@
27
27
  "clean": "rimraf dist"
28
28
  },
29
29
  "peerDependencies": {
30
- "@m3e/core": "1.0.0-rc.2",
30
+ "@m3e/core": "1.0.0-rc.4",
31
31
  "lit": "^3.3.0"
32
32
  },
33
33
  "devDependencies": {