@m3e/icon-button 1.0.0-rc.1
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/LICENSE +22 -0
- package/README.md +192 -0
- package/cem.config.mjs +16 -0
- package/demo/index.html +103 -0
- package/dist/css-custom-data.json +977 -0
- package/dist/custom-elements.json +1291 -0
- package/dist/html-custom-data.json +88 -0
- package/dist/index.js +1443 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +400 -0
- package/dist/index.min.js.map +1 -0
- package/dist/src/IconButtonElement.d.ts +316 -0
- package/dist/src/IconButtonElement.d.ts.map +1 -0
- package/dist/src/IconButtonShape.d.ts +3 -0
- package/dist/src/IconButtonShape.d.ts.map +1 -0
- package/dist/src/IconButtonSize.d.ts +3 -0
- package/dist/src/IconButtonSize.d.ts.map +1 -0
- package/dist/src/IconButtonVariant.d.ts +3 -0
- package/dist/src/IconButtonVariant.d.ts.map +1 -0
- package/dist/src/IconButtonWidth.d.ts +3 -0
- package/dist/src/IconButtonWidth.d.ts.map +1 -0
- package/dist/src/index.d.ts +6 -0
- package/dist/src/index.d.ts.map +1 -0
- package/dist/src/styles/IconButtonSizeStyle.d.ts +7 -0
- package/dist/src/styles/IconButtonSizeStyle.d.ts.map +1 -0
- package/dist/src/styles/IconButtonSizeToken.d.ts +26 -0
- package/dist/src/styles/IconButtonSizeToken.d.ts.map +1 -0
- package/dist/src/styles/IconButtonStyle.d.ts +7 -0
- package/dist/src/styles/IconButtonStyle.d.ts.map +1 -0
- package/dist/src/styles/IconButtonVariantStyle.d.ts +7 -0
- package/dist/src/styles/IconButtonVariantStyle.d.ts.map +1 -0
- package/dist/src/styles/IconButtonVariantToken.d.ts +61 -0
- package/dist/src/styles/IconButtonVariantToken.d.ts.map +1 -0
- package/dist/src/styles/index.d.ts +4 -0
- package/dist/src/styles/index.d.ts.map +1 -0
- package/eslint.config.mjs +13 -0
- package/package.json +48 -0
- package/rollup.config.js +32 -0
- package/src/IconButtonElement.ts +514 -0
- package/src/IconButtonShape.ts +2 -0
- package/src/IconButtonSize.ts +2 -0
- package/src/IconButtonVariant.ts +2 -0
- package/src/IconButtonWidth.ts +2 -0
- package/src/index.ts +5 -0
- package/src/styles/IconButtonSizeStyle.ts +95 -0
- package/src/styles/IconButtonSizeToken.ts +215 -0
- package/src/styles/IconButtonStyle.ts +184 -0
- package/src/styles/IconButtonVariantStyle.ts +123 -0
- package/src/styles/IconButtonVariantToken.ts +854 -0
- package/src/styles/index.ts +3 -0
- package/tsconfig.json +9 -0
|
@@ -0,0 +1,1291 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": "1.0.0",
|
|
3
|
+
"readme": "",
|
|
4
|
+
"modules": [
|
|
5
|
+
{
|
|
6
|
+
"kind": "javascript-module",
|
|
7
|
+
"path": "src/IconButtonElement.ts",
|
|
8
|
+
"declarations": [
|
|
9
|
+
{
|
|
10
|
+
"kind": "class",
|
|
11
|
+
"description": "",
|
|
12
|
+
"name": "M3eIconButtonElement",
|
|
13
|
+
"cssProperties": [
|
|
14
|
+
{
|
|
15
|
+
"description": "Height of the extra-small container.",
|
|
16
|
+
"name": "--m3e-icon-button-extra-small-container-height"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"description": "Outline thickness for extra-small.",
|
|
20
|
+
"name": "--m3e-icon-button-extra-small-outline-thickness"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"description": "Icon size for extra-small.",
|
|
24
|
+
"name": "--m3e-icon-button-extra-small-icon-size"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"description": "Corner radius for round extra-small.",
|
|
28
|
+
"name": "--m3e-icon-button-extra-small-shape-round"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"description": "Corner radius for square extra-small.",
|
|
32
|
+
"name": "--m3e-icon-button-extra-small-shape-square"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"description": "Corner radius for selected round extra-small.",
|
|
36
|
+
"name": "--m3e-icon-button-extra-small-selected-shape-round"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"description": "Corner radius for selected square extra-small.",
|
|
40
|
+
"name": "--m3e-icon-button-extra-small-selected-shape-square"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"description": "Corner radius for pressed extra-small.",
|
|
44
|
+
"name": "--m3e-icon-button-extra-small-shape-pressed-morph"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"description": "Leading space for extra-small (narrow).",
|
|
48
|
+
"name": "--m3e-icon-button-extra-small-narrow-leading-space"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"description": "Trailing space for extra-small (narrow).",
|
|
52
|
+
"name": "--m3e-icon-button-extra-small-narrow-trailing-space"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"description": "Leading space for extra-small (default).",
|
|
56
|
+
"name": "--m3e-icon-button-extra-small-default-leading-space"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"description": "Trailing space for extra-small (default).",
|
|
60
|
+
"name": "--m3e-icon-button-extra-small-default-trailing-space"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"description": "Leading space for extra-small (wide).",
|
|
64
|
+
"name": "--m3e-icon-button-extra-small-wide-leading-space"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"description": "Trailing space for extra-small (wide).",
|
|
68
|
+
"name": "--m3e-icon-button-extra-small-wide-trailing-space"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"description": "Height of the small container.",
|
|
72
|
+
"name": "--m3e-icon-button-small-container-height"
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"description": "Outline thickness for small.",
|
|
76
|
+
"name": "--m3e-icon-button-small-outline-thickness"
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"description": "Icon size for small.",
|
|
80
|
+
"name": "--m3e-icon-button-small-icon-size"
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"description": "Corner radius for round small.",
|
|
84
|
+
"name": "--m3e-icon-button-small-shape-round"
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"description": "Corner radius for square small.",
|
|
88
|
+
"name": "--m3e-icon-button-small-shape-square"
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"description": "Corner radius for selected round small.",
|
|
92
|
+
"name": "--m3e-icon-button-small-selected-shape-round"
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"description": "Corner radius for selected square small.",
|
|
96
|
+
"name": "--m3e-icon-button-small-selected-shape-square"
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"description": "Corner radius for pressed small.",
|
|
100
|
+
"name": "--m3e-icon-button-small-shape-pressed-morph"
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"description": "Leading space for small (narrow).",
|
|
104
|
+
"name": "--m3e-icon-button-small-narrow-leading-space"
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"description": "Trailing space for small (narrow).",
|
|
108
|
+
"name": "--m3e-icon-button-small-narrow-trailing-space"
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"description": "Leading space for small (default).",
|
|
112
|
+
"name": "--m3e-icon-button-small-default-leading-space"
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"description": "Trailing space for small (default).",
|
|
116
|
+
"name": "--m3e-icon-button-small-default-trailing-space"
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"description": "Leading space for small (wide).",
|
|
120
|
+
"name": "--m3e-icon-button-small-wide-leading-space"
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"description": "Trailing space for small (wide).",
|
|
124
|
+
"name": "--m3e-icon-button-small-wide-trailing-space"
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
"description": "Height of the medium container.",
|
|
128
|
+
"name": "--m3e-icon-button-medium-container-height"
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"description": "Outline thickness for medium.",
|
|
132
|
+
"name": "--m3e-icon-button-medium-outline-thickness"
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
"description": "Icon size for medium.",
|
|
136
|
+
"name": "--m3e-icon-button-medium-icon-size"
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"description": "Corner radius for round medium.",
|
|
140
|
+
"name": "--m3e-icon-button-medium-shape-round"
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
"description": "Corner radius for square medium.",
|
|
144
|
+
"name": "--m3e-icon-button-medium-shape-square"
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
"description": "Corner radius for selected round medium.",
|
|
148
|
+
"name": "--m3e-icon-button-medium-selected-shape-round"
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
"description": "Corner radius for selected square medium.",
|
|
152
|
+
"name": "--m3e-icon-button-medium-selected-shape-square"
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
"description": "Corner radius for pressed medium.",
|
|
156
|
+
"name": "--m3e-icon-button-medium-shape-pressed-morph"
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
"description": "Leading space for medium (narrow).",
|
|
160
|
+
"name": "--m3e-icon-button-medium-narrow-leading-space"
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
"description": "Trailing space for medium (narrow).",
|
|
164
|
+
"name": "--m3e-icon-button-medium-narrow-trailing-space"
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
"description": "Leading space for medium (default).",
|
|
168
|
+
"name": "--m3e-icon-button-medium-default-leading-space"
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
"description": "Trailing space for medium (default).",
|
|
172
|
+
"name": "--m3e-icon-button-medium-default-trailing-space"
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
"description": "Leading space for medium (wide).",
|
|
176
|
+
"name": "--m3e-icon-button-medium-wide-leading-space"
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
"description": "Trailing space for medium (wide).",
|
|
180
|
+
"name": "--m3e-icon-button-medium-wide-trailing-space"
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
"description": "Height of the large container.",
|
|
184
|
+
"name": "--m3e-icon-button-large-container-height"
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
"description": "Outline thickness for large.",
|
|
188
|
+
"name": "--m3e-icon-button-large-outline-thickness"
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
"description": "Icon size for large.",
|
|
192
|
+
"name": "--m3e-icon-button-large-icon-size"
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
"description": "Corner radius for round large.",
|
|
196
|
+
"name": "--m3e-icon-button-large-shape-round"
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
"description": "Corner radius for square large.",
|
|
200
|
+
"name": "--m3e-icon-button-large-shape-square"
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
"description": "Corner radius for selected round large.",
|
|
204
|
+
"name": "--m3e-icon-button-large-selected-shape-round"
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
"description": "Corner radius for selected square large.",
|
|
208
|
+
"name": "--m3e-icon-button-large-selected-shape-square"
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
"description": "Corner radius for pressed large.",
|
|
212
|
+
"name": "--m3e-icon-button-large-shape-pressed-morph"
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
"description": "Leading space for large (narrow).",
|
|
216
|
+
"name": "--m3e-icon-button-large-narrow-leading-space"
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
"description": "Trailing space for large (narrow).",
|
|
220
|
+
"name": "--m3e-icon-button-large-narrow-trailing-space"
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
"description": "Leading space for large (default).",
|
|
224
|
+
"name": "--m3e-icon-button-large-default-leading-space"
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
"description": "Trailing space for large (default).",
|
|
228
|
+
"name": "--m3e-icon-button-large-default-trailing-space"
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
"description": "Leading space for large (wide).",
|
|
232
|
+
"name": "--m3e-icon-button-large-wide-leading-space"
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
"description": "Trailing space for large (wide).",
|
|
236
|
+
"name": "--m3e-icon-button-large-wide-trailing-space"
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
"description": "Height of the extra-large container.",
|
|
240
|
+
"name": "--m3e-icon-button-extra-large-container-height"
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
"description": "Outline thickness for extra-large.",
|
|
244
|
+
"name": "--m3e-icon-button-extra-large-outline-thickness"
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
"description": "Icon size for extra-large.",
|
|
248
|
+
"name": "--m3e-icon-button-extra-large-icon-size"
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
"description": "Corner radius for round extra-large.",
|
|
252
|
+
"name": "--m3e-icon-button-extra-large-shape-round"
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
"description": "Corner radius for square extra-large.",
|
|
256
|
+
"name": "--m3e-icon-button-extra-large-shape-square"
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
"description": "Corner radius for selected round extra-large.",
|
|
260
|
+
"name": "--m3e-icon-button-extra-large-selected-shape-round"
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
"description": "Corner radius for selected square extra-large.",
|
|
264
|
+
"name": "--m3e-icon-button-extra-large-selected-shape-square"
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
"description": "Corner radius for pressed extra-large.",
|
|
268
|
+
"name": "--m3e-icon-button-extra-large-shape-pressed-morph"
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
"description": "Leading space for extra-large (narrow).",
|
|
272
|
+
"name": "--m3e-icon-button-extra-large-narrow-leading-space"
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
"description": "Trailing space for extra-large (narrow).",
|
|
276
|
+
"name": "--m3e-icon-button-extra-large-narrow-trailing-space"
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
"description": "Leading space for extra-large (default).",
|
|
280
|
+
"name": "--m3e-icon-button-extra-large-default-leading-space"
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
"description": "Trailing space for extra-large (default).",
|
|
284
|
+
"name": "--m3e-icon-button-extra-large-default-trailing-space"
|
|
285
|
+
},
|
|
286
|
+
{
|
|
287
|
+
"description": "Leading space for extra-large (wide).",
|
|
288
|
+
"name": "--m3e-icon-button-extra-large-wide-leading-space"
|
|
289
|
+
},
|
|
290
|
+
{
|
|
291
|
+
"description": "Trailing space for extra-large (wide).",
|
|
292
|
+
"name": "--m3e-icon-button-extra-large-wide-trailing-space"
|
|
293
|
+
},
|
|
294
|
+
{
|
|
295
|
+
"description": "Default icon color for outlined variant.",
|
|
296
|
+
"name": "--m3e-outlined-icon-button-icon-color"
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
"description": "Default outline color for outlined variant.",
|
|
300
|
+
"name": "--m3e-outlined-icon-button-outline-color"
|
|
301
|
+
},
|
|
302
|
+
{
|
|
303
|
+
"description": "Unselected icon color for outlined variant.",
|
|
304
|
+
"name": "--m3e-outlined-icon-button-unselected-icon-color"
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
"description": "Selected icon color for outlined variant.",
|
|
308
|
+
"name": "--m3e-outlined-icon-button-selected-icon-color"
|
|
309
|
+
},
|
|
310
|
+
{
|
|
311
|
+
"description": "Selected container background color for outlined variant.",
|
|
312
|
+
"name": "--m3e-outlined-icon-button-selected-container-color"
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
"description": "Container background color when disabled (outlined).",
|
|
316
|
+
"name": "--m3e-outlined-icon-button-disabled-container-color"
|
|
317
|
+
},
|
|
318
|
+
{
|
|
319
|
+
"description": "Opacity of container when disabled (outlined).",
|
|
320
|
+
"name": "--m3e-outlined-icon-button-disabled-container-opacity"
|
|
321
|
+
},
|
|
322
|
+
{
|
|
323
|
+
"description": "Icon color when disabled (outlined).",
|
|
324
|
+
"name": "--m3e-outlined-icon-button-disabled-icon-color"
|
|
325
|
+
},
|
|
326
|
+
{
|
|
327
|
+
"description": "Icon opacity when disabled (outlined).",
|
|
328
|
+
"name": "--m3e-outlined-icon-button-disabled-icon-opacity"
|
|
329
|
+
},
|
|
330
|
+
{
|
|
331
|
+
"description": "Outline color when disabled (outlined).",
|
|
332
|
+
"name": "--m3e-outlined-icon-button-disabled-outline-color"
|
|
333
|
+
},
|
|
334
|
+
{
|
|
335
|
+
"description": "Icon color on hover (outlined).",
|
|
336
|
+
"name": "--m3e-outlined-icon-button-hover-icon-color"
|
|
337
|
+
},
|
|
338
|
+
{
|
|
339
|
+
"description": "Outline color on hover (outlined).",
|
|
340
|
+
"name": "--m3e-outlined-icon-button-hover-outline-color"
|
|
341
|
+
},
|
|
342
|
+
{
|
|
343
|
+
"description": "State layer color on hover (outlined).",
|
|
344
|
+
"name": "--m3e-outlined-icon-button-hover-state-layer-color"
|
|
345
|
+
},
|
|
346
|
+
{
|
|
347
|
+
"description": "State layer opacity on hover (outlined).",
|
|
348
|
+
"name": "--m3e-outlined-icon-button-hover-state-layer-opacity"
|
|
349
|
+
},
|
|
350
|
+
{
|
|
351
|
+
"description": "Unselected icon color on hover (outlined).",
|
|
352
|
+
"name": "--m3e-outlined-icon-button-hover-unselected-icon-color"
|
|
353
|
+
},
|
|
354
|
+
{
|
|
355
|
+
"description": "Unselected state layer color on hover (outlined).",
|
|
356
|
+
"name": "--m3e-outlined-icon-button-hover-unselected-state-layer-color"
|
|
357
|
+
},
|
|
358
|
+
{
|
|
359
|
+
"description": "Selected icon color on hover (outlined).",
|
|
360
|
+
"name": "--m3e-outlined-icon-button-hover-selected-icon-color"
|
|
361
|
+
},
|
|
362
|
+
{
|
|
363
|
+
"description": "Selected state layer color on hover (outlined).",
|
|
364
|
+
"name": "--m3e-outlined-icon-button-hover-selected-state-layer-color"
|
|
365
|
+
},
|
|
366
|
+
{
|
|
367
|
+
"description": "Icon color on focus (outlined).",
|
|
368
|
+
"name": "--m3e-outlined-icon-button-focus-icon-color"
|
|
369
|
+
},
|
|
370
|
+
{
|
|
371
|
+
"description": "Outline color on focus (outlined).",
|
|
372
|
+
"name": "--m3e-outlined-icon-button-focus-outline-color"
|
|
373
|
+
},
|
|
374
|
+
{
|
|
375
|
+
"description": "State layer color on focus (outlined).",
|
|
376
|
+
"name": "--m3e-outlined-icon-button-focus-state-layer-color"
|
|
377
|
+
},
|
|
378
|
+
{
|
|
379
|
+
"description": "State layer opacity on focus (outlined).",
|
|
380
|
+
"name": "--m3e-outlined-icon-button-focus-state-layer-opacity"
|
|
381
|
+
},
|
|
382
|
+
{
|
|
383
|
+
"description": "Unselected icon color on focus (outlined).",
|
|
384
|
+
"name": "--m3e-outlined-icon-button-focus-unselected-icon-color"
|
|
385
|
+
},
|
|
386
|
+
{
|
|
387
|
+
"description": "Unselected state layer color on focus (outlined).",
|
|
388
|
+
"name": "--m3e-outlined-icon-button-focus-unselected-state-layer-color"
|
|
389
|
+
},
|
|
390
|
+
{
|
|
391
|
+
"description": "Selected icon color on focus (outlined).",
|
|
392
|
+
"name": "--m3e-outlined-icon-button-focus-selected-icon-color"
|
|
393
|
+
},
|
|
394
|
+
{
|
|
395
|
+
"description": "Selected state layer color on focus (outlined).",
|
|
396
|
+
"name": "--m3e-outlined-icon-button-focus-selected-state-layer-color"
|
|
397
|
+
},
|
|
398
|
+
{
|
|
399
|
+
"description": "Icon color on pressed (outlined).",
|
|
400
|
+
"name": "--m3e-outlined-icon-button-pressed-icon-color"
|
|
401
|
+
},
|
|
402
|
+
{
|
|
403
|
+
"description": "Outline color on pressed (outlined).",
|
|
404
|
+
"name": "--m3e-outlined-icon-button-pressed-outline-color"
|
|
405
|
+
},
|
|
406
|
+
{
|
|
407
|
+
"description": "State layer color on pressed (outlined).",
|
|
408
|
+
"name": "--m3e-outlined-icon-button-pressed-state-layer-color"
|
|
409
|
+
},
|
|
410
|
+
{
|
|
411
|
+
"description": "State layer opacity on pressed (outlined).",
|
|
412
|
+
"name": "--m3e-outlined-icon-button-pressed-state-layer-opacity"
|
|
413
|
+
},
|
|
414
|
+
{
|
|
415
|
+
"description": "Unselected icon color on pressed (outlined).",
|
|
416
|
+
"name": "--m3e-outlined-icon-button-pressed-unselected-icon-color"
|
|
417
|
+
},
|
|
418
|
+
{
|
|
419
|
+
"description": "Unselected state layer color on pressed (outlined).",
|
|
420
|
+
"name": "--m3e-outlined-icon-button-pressed-unselected-state-layer-color"
|
|
421
|
+
},
|
|
422
|
+
{
|
|
423
|
+
"description": "Selected icon color on pressed (outlined).",
|
|
424
|
+
"name": "--m3e-outlined-icon-button-pressed-selected-icon-color"
|
|
425
|
+
},
|
|
426
|
+
{
|
|
427
|
+
"description": "Selected state layer color on pressed (outlined).",
|
|
428
|
+
"name": "--m3e-outlined-icon-button-pressed-selected-state-layer-color"
|
|
429
|
+
},
|
|
430
|
+
{
|
|
431
|
+
"description": "Default icon color for filled variant.",
|
|
432
|
+
"name": "--m3e-filled-icon-button-icon-color"
|
|
433
|
+
},
|
|
434
|
+
{
|
|
435
|
+
"description": "Default container background color for filled variant.",
|
|
436
|
+
"name": "--m3e-filled-icon-button-container-color"
|
|
437
|
+
},
|
|
438
|
+
{
|
|
439
|
+
"description": "Unselected icon color for filled variant.",
|
|
440
|
+
"name": "--m3e-filled-icon-button-unselected-icon-color"
|
|
441
|
+
},
|
|
442
|
+
{
|
|
443
|
+
"description": "Unselected container background color for filled variant.",
|
|
444
|
+
"name": "--m3e-filled-icon-button-unselected-container-color"
|
|
445
|
+
},
|
|
446
|
+
{
|
|
447
|
+
"description": "Selected icon color for filled variant.",
|
|
448
|
+
"name": "--m3e-filled-icon-button-selected-icon-color"
|
|
449
|
+
},
|
|
450
|
+
{
|
|
451
|
+
"description": "Selected container background color for filled variant.",
|
|
452
|
+
"name": "--m3e-filled-icon-button-selected-container-color"
|
|
453
|
+
},
|
|
454
|
+
{
|
|
455
|
+
"description": "Container background color when disabled (filled).",
|
|
456
|
+
"name": "--m3e-filled-icon-button-disabled-container-color"
|
|
457
|
+
},
|
|
458
|
+
{
|
|
459
|
+
"description": "Opacity of container when disabled (filled).",
|
|
460
|
+
"name": "--m3e-filled-icon-button-disabled-container-opacity"
|
|
461
|
+
},
|
|
462
|
+
{
|
|
463
|
+
"description": "Icon color when disabled (filled).",
|
|
464
|
+
"name": "--m3e-filled-icon-button-disabled-icon-color"
|
|
465
|
+
},
|
|
466
|
+
{
|
|
467
|
+
"description": "Icon opacity when disabled (filled).",
|
|
468
|
+
"name": "--m3e-filled-icon-button-disabled-icon-opacity"
|
|
469
|
+
},
|
|
470
|
+
{
|
|
471
|
+
"description": "Icon color on hover (filled).",
|
|
472
|
+
"name": "--m3e-filled-icon-button-hover-icon-color"
|
|
473
|
+
},
|
|
474
|
+
{
|
|
475
|
+
"description": "State layer color on hover (filled).",
|
|
476
|
+
"name": "--m3e-filled-icon-button-hover-state-layer-color"
|
|
477
|
+
},
|
|
478
|
+
{
|
|
479
|
+
"description": "State layer opacity on hover (filled).",
|
|
480
|
+
"name": "--m3e-filled-icon-button-hover-state-layer-opacity"
|
|
481
|
+
},
|
|
482
|
+
{
|
|
483
|
+
"description": "Unselected icon color on hover (filled).",
|
|
484
|
+
"name": "--m3e-filled-icon-button-hover-unselected-icon-color"
|
|
485
|
+
},
|
|
486
|
+
{
|
|
487
|
+
"description": "Unselected state layer color on hover (filled).",
|
|
488
|
+
"name": "--m3e-filled-icon-button-hover-unselected-state-layer-color"
|
|
489
|
+
},
|
|
490
|
+
{
|
|
491
|
+
"description": "Selected icon color on hover (filled).",
|
|
492
|
+
"name": "--m3e-filled-icon-button-hover-selected-icon-color"
|
|
493
|
+
},
|
|
494
|
+
{
|
|
495
|
+
"description": "Selected state layer color on hover (filled).",
|
|
496
|
+
"name": "--m3e-filled-icon-button-hover-selected-state-layer-color"
|
|
497
|
+
},
|
|
498
|
+
{
|
|
499
|
+
"description": "Icon color on focus (filled).",
|
|
500
|
+
"name": "--m3e-filled-icon-button-focus-icon-color"
|
|
501
|
+
},
|
|
502
|
+
{
|
|
503
|
+
"description": "State layer color on focus (filled).",
|
|
504
|
+
"name": "--m3e-filled-icon-button-focus-state-layer-color"
|
|
505
|
+
},
|
|
506
|
+
{
|
|
507
|
+
"description": "State layer opacity on focus (filled).",
|
|
508
|
+
"name": "--m3e-filled-icon-button-focus-state-layer-opacity"
|
|
509
|
+
},
|
|
510
|
+
{
|
|
511
|
+
"description": "Unselected icon color on focus (filled).",
|
|
512
|
+
"name": "--m3e-filled-icon-button-focus-unselected-icon-color"
|
|
513
|
+
},
|
|
514
|
+
{
|
|
515
|
+
"description": "Unselected state layer color on focus (filled).",
|
|
516
|
+
"name": "--m3e-filled-icon-button-focus-unselected-state-layer-color"
|
|
517
|
+
},
|
|
518
|
+
{
|
|
519
|
+
"description": "Selected icon color on focus (filled).",
|
|
520
|
+
"name": "--m3e-filled-icon-button-focus-selected-icon-color"
|
|
521
|
+
},
|
|
522
|
+
{
|
|
523
|
+
"description": "Selected state layer color on focus (filled).",
|
|
524
|
+
"name": "--m3e-filled-icon-button-focus-selected-state-layer-color"
|
|
525
|
+
},
|
|
526
|
+
{
|
|
527
|
+
"description": "Icon color on pressed (filled).",
|
|
528
|
+
"name": "--m3e-filled-icon-button-pressed-icon-color"
|
|
529
|
+
},
|
|
530
|
+
{
|
|
531
|
+
"description": "State layer color on pressed (filled).",
|
|
532
|
+
"name": "--m3e-filled-icon-button-pressed-state-layer-color"
|
|
533
|
+
},
|
|
534
|
+
{
|
|
535
|
+
"description": "State layer opacity on pressed (filled).",
|
|
536
|
+
"name": "--m3e-filled-icon-button-pressed-state-layer-opacity"
|
|
537
|
+
},
|
|
538
|
+
{
|
|
539
|
+
"description": "Unselected icon color on pressed (filled).",
|
|
540
|
+
"name": "--m3e-filled-icon-button-pressed-unselected-icon-color"
|
|
541
|
+
},
|
|
542
|
+
{
|
|
543
|
+
"description": "Unselected state layer color on pressed (filled).",
|
|
544
|
+
"name": "--m3e-filled-icon-button-pressed-unselected-state-layer-color"
|
|
545
|
+
},
|
|
546
|
+
{
|
|
547
|
+
"description": "Selected icon color on pressed (filled).",
|
|
548
|
+
"name": "--m3e-filled-icon-button-pressed-selected-icon-color"
|
|
549
|
+
},
|
|
550
|
+
{
|
|
551
|
+
"description": "Selected state layer color on pressed (filled).",
|
|
552
|
+
"name": "--m3e-filled-icon-button-pressed-selected-state-layer-color"
|
|
553
|
+
},
|
|
554
|
+
{
|
|
555
|
+
"description": "Default icon color for tonal variant.",
|
|
556
|
+
"name": "--m3e-tonal-icon-button-icon-color"
|
|
557
|
+
},
|
|
558
|
+
{
|
|
559
|
+
"description": "Default container background color for tonal variant.",
|
|
560
|
+
"name": "--m3e-tonal-icon-button-container-color"
|
|
561
|
+
},
|
|
562
|
+
{
|
|
563
|
+
"description": "Unselected icon color for tonal variant.",
|
|
564
|
+
"name": "--m3e-tonal-icon-button-unselected-icon-color"
|
|
565
|
+
},
|
|
566
|
+
{
|
|
567
|
+
"description": "Unselected container background color for tonal variant.",
|
|
568
|
+
"name": "--m3e-tonal-icon-button-unselected-container-color"
|
|
569
|
+
},
|
|
570
|
+
{
|
|
571
|
+
"description": "Selected icon color for tonal variant.",
|
|
572
|
+
"name": "--m3e-tonal-icon-button-selected-icon-color"
|
|
573
|
+
},
|
|
574
|
+
{
|
|
575
|
+
"description": "Selected container background color for tonal variant.",
|
|
576
|
+
"name": "--m3e-tonal-icon-button-selected-container-color"
|
|
577
|
+
},
|
|
578
|
+
{
|
|
579
|
+
"description": "Container background color when disabled (tonal).",
|
|
580
|
+
"name": "--m3e-tonal-icon-button-disabled-container-color"
|
|
581
|
+
},
|
|
582
|
+
{
|
|
583
|
+
"description": "Opacity of container when disabled (tonal).",
|
|
584
|
+
"name": "--m3e-tonal-icon-button-disabled-container-opacity"
|
|
585
|
+
},
|
|
586
|
+
{
|
|
587
|
+
"description": "Icon color when disabled (tonal).",
|
|
588
|
+
"name": "--m3e-tonal-icon-button-disabled-icon-color"
|
|
589
|
+
},
|
|
590
|
+
{
|
|
591
|
+
"description": "Icon opacity when disabled (tonal).",
|
|
592
|
+
"name": "--m3e-tonal-icon-button-disabled-icon-opacity"
|
|
593
|
+
},
|
|
594
|
+
{
|
|
595
|
+
"description": "Icon color on hover (tonal).",
|
|
596
|
+
"name": "--m3e-tonal-icon-button-hover-icon-color"
|
|
597
|
+
},
|
|
598
|
+
{
|
|
599
|
+
"description": "State layer color on hover (tonal).",
|
|
600
|
+
"name": "--m3e-tonal-icon-button-hover-state-layer-color"
|
|
601
|
+
},
|
|
602
|
+
{
|
|
603
|
+
"description": "State layer opacity on hover (tonal).",
|
|
604
|
+
"name": "--m3e-tonal-icon-button-hover-state-layer-opacity"
|
|
605
|
+
},
|
|
606
|
+
{
|
|
607
|
+
"description": "Unselected icon color on hover (tonal).",
|
|
608
|
+
"name": "--m3e-tonal-icon-button-hover-unselected-icon-color"
|
|
609
|
+
},
|
|
610
|
+
{
|
|
611
|
+
"description": "Unselected state layer color on hover (tonal).",
|
|
612
|
+
"name": "--m3e-tonal-icon-button-hover-unselected-state-layer-color"
|
|
613
|
+
},
|
|
614
|
+
{
|
|
615
|
+
"description": "Selected icon color on hover (tonal).",
|
|
616
|
+
"name": "--m3e-tonal-icon-button-hover-selected-icon-color"
|
|
617
|
+
},
|
|
618
|
+
{
|
|
619
|
+
"description": "Selected state layer color on hover (tonal).",
|
|
620
|
+
"name": "--m3e-tonal-icon-button-hover-selected-state-layer-color"
|
|
621
|
+
},
|
|
622
|
+
{
|
|
623
|
+
"description": "Icon color on focus (tonal).",
|
|
624
|
+
"name": "--m3e-tonal-icon-button-focus-icon-color"
|
|
625
|
+
},
|
|
626
|
+
{
|
|
627
|
+
"description": "State layer color on focus (tonal).",
|
|
628
|
+
"name": "--m3e-tonal-icon-button-focus-state-layer-color"
|
|
629
|
+
},
|
|
630
|
+
{
|
|
631
|
+
"description": "State layer opacity on focus (tonal).",
|
|
632
|
+
"name": "--m3e-tonal-icon-button-focus-state-layer-opacity"
|
|
633
|
+
},
|
|
634
|
+
{
|
|
635
|
+
"description": "Unselected icon color on focus (tonal).",
|
|
636
|
+
"name": "--m3e-tonal-icon-button-focus-unselected-icon-color"
|
|
637
|
+
},
|
|
638
|
+
{
|
|
639
|
+
"description": "Unselected state layer color on focus (tonal).",
|
|
640
|
+
"name": "--m3e-tonal-icon-button-focus-unselected-state-layer-color"
|
|
641
|
+
},
|
|
642
|
+
{
|
|
643
|
+
"description": "Selected icon color on focus (tonal).",
|
|
644
|
+
"name": "--m3e-tonal-icon-button-focus-selected-icon-color"
|
|
645
|
+
},
|
|
646
|
+
{
|
|
647
|
+
"description": "Selected state layer color on focus (tonal).",
|
|
648
|
+
"name": "--m3e-tonal-icon-button-focus-selected-state-layer-color"
|
|
649
|
+
},
|
|
650
|
+
{
|
|
651
|
+
"description": "Icon color on pressed (tonal).",
|
|
652
|
+
"name": "--m3e-tonal-icon-button-pressed-icon-color"
|
|
653
|
+
},
|
|
654
|
+
{
|
|
655
|
+
"description": "State layer color on pressed (tonal).",
|
|
656
|
+
"name": "--m3e-tonal-icon-button-pressed-state-layer-color"
|
|
657
|
+
},
|
|
658
|
+
{
|
|
659
|
+
"description": "State layer opacity on pressed (tonal).",
|
|
660
|
+
"name": "--m3e-tonal-icon-button-pressed-state-layer-opacity"
|
|
661
|
+
},
|
|
662
|
+
{
|
|
663
|
+
"description": "Unselected icon color on pressed (tonal).",
|
|
664
|
+
"name": "--m3e-tonal-icon-button-pressed-unselected-icon-color"
|
|
665
|
+
},
|
|
666
|
+
{
|
|
667
|
+
"description": "Unselected state layer color on pressed (tonal).",
|
|
668
|
+
"name": "--m3e-tonal-icon-button-pressed-unselected-state-layer-color"
|
|
669
|
+
},
|
|
670
|
+
{
|
|
671
|
+
"description": "Selected icon color on pressed (tonal).",
|
|
672
|
+
"name": "--m3e-tonal-icon-button-pressed-selected-icon-color"
|
|
673
|
+
},
|
|
674
|
+
{
|
|
675
|
+
"description": "Selected state layer color on pressed (tonal).",
|
|
676
|
+
"name": "--m3e-tonal-icon-button-pressed-selected-state-layer-color"
|
|
677
|
+
},
|
|
678
|
+
{
|
|
679
|
+
"description": "Default icon color for standard variant.",
|
|
680
|
+
"name": "--m3e-standard-icon-button-icon-color"
|
|
681
|
+
},
|
|
682
|
+
{
|
|
683
|
+
"description": "Unselected icon color for standard variant.",
|
|
684
|
+
"name": "--m3e-standard-icon-button-unselected-icon-color"
|
|
685
|
+
},
|
|
686
|
+
{
|
|
687
|
+
"description": "Selected icon color for standard variant.",
|
|
688
|
+
"name": "--m3e-standard-icon-button-selected-icon-color"
|
|
689
|
+
},
|
|
690
|
+
{
|
|
691
|
+
"description": "Container background color when disabled (standard).",
|
|
692
|
+
"name": "--m3e-standard-icon-button-disabled-container-color"
|
|
693
|
+
},
|
|
694
|
+
{
|
|
695
|
+
"description": "Opacity of container when disabled (standard).",
|
|
696
|
+
"name": "--m3e-standard-icon-button-disabled-container-opacity"
|
|
697
|
+
},
|
|
698
|
+
{
|
|
699
|
+
"description": "Icon color when disabled (standard).",
|
|
700
|
+
"name": "--m3e-standard-icon-button-disabled-icon-color"
|
|
701
|
+
},
|
|
702
|
+
{
|
|
703
|
+
"description": "Icon opacity when disabled (standard).",
|
|
704
|
+
"name": "--m3e-standard-icon-button-disabled-icon-opacity"
|
|
705
|
+
},
|
|
706
|
+
{
|
|
707
|
+
"description": "Icon color on hover (standard).",
|
|
708
|
+
"name": "--m3e-standard-icon-button-hover-icon-color"
|
|
709
|
+
},
|
|
710
|
+
{
|
|
711
|
+
"description": "State layer color on hover (standard).",
|
|
712
|
+
"name": "--m3e-standard-icon-button-hover-state-layer-color"
|
|
713
|
+
},
|
|
714
|
+
{
|
|
715
|
+
"description": "State layer opacity on hover (standard).",
|
|
716
|
+
"name": "--m3e-standard-icon-button-hover-state-layer-opacity"
|
|
717
|
+
},
|
|
718
|
+
{
|
|
719
|
+
"description": "Unselected icon color on hover (standard).",
|
|
720
|
+
"name": "--m3e-standard-icon-button-hover-unselected-icon-color"
|
|
721
|
+
},
|
|
722
|
+
{
|
|
723
|
+
"description": "Unselected state layer color on hover (standard).",
|
|
724
|
+
"name": "--m3e-standard-icon-button-hover-unselected-state-layer-color"
|
|
725
|
+
},
|
|
726
|
+
{
|
|
727
|
+
"description": "Selected icon color on hover (standard).",
|
|
728
|
+
"name": "--m3e-standard-icon-button-hover-selected-icon-color"
|
|
729
|
+
},
|
|
730
|
+
{
|
|
731
|
+
"description": "Selected state layer color on hover (standard).",
|
|
732
|
+
"name": "--m3e-standard-icon-button-hover-selected-state-layer-color"
|
|
733
|
+
},
|
|
734
|
+
{
|
|
735
|
+
"description": "Icon color on focus (standard).",
|
|
736
|
+
"name": "--m3e-standard-icon-button-focus-icon-color"
|
|
737
|
+
},
|
|
738
|
+
{
|
|
739
|
+
"description": "State layer color on focus (standard).",
|
|
740
|
+
"name": "--m3e-standard-icon-button-focus-state-layer-color"
|
|
741
|
+
},
|
|
742
|
+
{
|
|
743
|
+
"description": "State layer opacity on focus (standard).",
|
|
744
|
+
"name": "--m3e-standard-icon-button-focus-state-layer-opacity"
|
|
745
|
+
},
|
|
746
|
+
{
|
|
747
|
+
"description": "Unselected icon color on focus (standard).",
|
|
748
|
+
"name": "--m3e-standard-icon-button-focus-unselected-icon-color"
|
|
749
|
+
},
|
|
750
|
+
{
|
|
751
|
+
"description": "Unselected state layer color on focus (standard).",
|
|
752
|
+
"name": "--m3e-standard-icon-button-focus-unselected-state-layer-color"
|
|
753
|
+
},
|
|
754
|
+
{
|
|
755
|
+
"description": "Selected icon color on focus (standard).",
|
|
756
|
+
"name": "--m3e-standard-icon-button-focus-selected-icon-color"
|
|
757
|
+
},
|
|
758
|
+
{
|
|
759
|
+
"description": "Selected state layer color on focus (standard).",
|
|
760
|
+
"name": "--m3e-standard-icon-button-focus-selected-state-layer-color"
|
|
761
|
+
},
|
|
762
|
+
{
|
|
763
|
+
"description": "Icon color on pressed (standard).",
|
|
764
|
+
"name": "--m3e-standard-icon-button-pressed-icon-color"
|
|
765
|
+
},
|
|
766
|
+
{
|
|
767
|
+
"description": "State layer color on pressed (standard).",
|
|
768
|
+
"name": "--m3e-standard-icon-button-pressed-state-layer-color"
|
|
769
|
+
},
|
|
770
|
+
{
|
|
771
|
+
"description": "State layer opacity on pressed (standard).",
|
|
772
|
+
"name": "--m3e-standard-icon-button-pressed-state-layer-opacity"
|
|
773
|
+
},
|
|
774
|
+
{
|
|
775
|
+
"description": "Unselected icon color on pressed (standard).",
|
|
776
|
+
"name": "--m3e-standard-icon-button-pressed-unselected-icon-color"
|
|
777
|
+
},
|
|
778
|
+
{
|
|
779
|
+
"description": "Unselected state layer color on pressed (standard).",
|
|
780
|
+
"name": "--m3e-standard-icon-button-pressed-unselected-state-layer-color"
|
|
781
|
+
},
|
|
782
|
+
{
|
|
783
|
+
"description": "Selected icon color on pressed (standard).",
|
|
784
|
+
"name": "--m3e-standard-icon-button-pressed-selected-icon-color"
|
|
785
|
+
},
|
|
786
|
+
{
|
|
787
|
+
"description": "Selected state layer color on pressed (standard).",
|
|
788
|
+
"name": "--m3e-standard-icon-button-pressed-selected-state-layer-color"
|
|
789
|
+
}
|
|
790
|
+
],
|
|
791
|
+
"slots": [
|
|
792
|
+
{
|
|
793
|
+
"description": "Renders the icon of the button.",
|
|
794
|
+
"name": ""
|
|
795
|
+
},
|
|
796
|
+
{
|
|
797
|
+
"description": "Renders an icon, when selected.",
|
|
798
|
+
"name": "selected"
|
|
799
|
+
}
|
|
800
|
+
],
|
|
801
|
+
"members": [
|
|
802
|
+
{
|
|
803
|
+
"kind": "field",
|
|
804
|
+
"name": "_base",
|
|
805
|
+
"type": {
|
|
806
|
+
"text": "HTMLElement | undefined"
|
|
807
|
+
},
|
|
808
|
+
"privacy": "private",
|
|
809
|
+
"readonly": true
|
|
810
|
+
},
|
|
811
|
+
{
|
|
812
|
+
"kind": "field",
|
|
813
|
+
"name": "_elevation",
|
|
814
|
+
"type": {
|
|
815
|
+
"text": "M3eElevationElement | undefined"
|
|
816
|
+
},
|
|
817
|
+
"privacy": "private",
|
|
818
|
+
"readonly": true
|
|
819
|
+
},
|
|
820
|
+
{
|
|
821
|
+
"kind": "field",
|
|
822
|
+
"name": "_focusRing",
|
|
823
|
+
"type": {
|
|
824
|
+
"text": "M3eFocusRingElement | undefined"
|
|
825
|
+
},
|
|
826
|
+
"privacy": "private",
|
|
827
|
+
"readonly": true
|
|
828
|
+
},
|
|
829
|
+
{
|
|
830
|
+
"kind": "field",
|
|
831
|
+
"name": "_stateLayer",
|
|
832
|
+
"type": {
|
|
833
|
+
"text": "M3eStateLayerElement | undefined"
|
|
834
|
+
},
|
|
835
|
+
"privacy": "private",
|
|
836
|
+
"readonly": true
|
|
837
|
+
},
|
|
838
|
+
{
|
|
839
|
+
"kind": "field",
|
|
840
|
+
"name": "_ripple",
|
|
841
|
+
"type": {
|
|
842
|
+
"text": "M3eRippleElement | undefined"
|
|
843
|
+
},
|
|
844
|
+
"privacy": "private",
|
|
845
|
+
"readonly": true
|
|
846
|
+
},
|
|
847
|
+
{
|
|
848
|
+
"kind": "field",
|
|
849
|
+
"name": "#clickHandler",
|
|
850
|
+
"privacy": "private",
|
|
851
|
+
"readonly": true
|
|
852
|
+
},
|
|
853
|
+
{
|
|
854
|
+
"kind": "field",
|
|
855
|
+
"name": "variant",
|
|
856
|
+
"type": {
|
|
857
|
+
"text": "IconButtonVariant"
|
|
858
|
+
},
|
|
859
|
+
"default": "\"standard\"",
|
|
860
|
+
"description": "The appearance variant of the button.",
|
|
861
|
+
"attribute": "variant",
|
|
862
|
+
"reflects": true
|
|
863
|
+
},
|
|
864
|
+
{
|
|
865
|
+
"kind": "field",
|
|
866
|
+
"name": "shape",
|
|
867
|
+
"type": {
|
|
868
|
+
"text": "IconButtonShape"
|
|
869
|
+
},
|
|
870
|
+
"default": "\"rounded\"",
|
|
871
|
+
"description": "The shape of the button.",
|
|
872
|
+
"attribute": "shape",
|
|
873
|
+
"reflects": true
|
|
874
|
+
},
|
|
875
|
+
{
|
|
876
|
+
"kind": "field",
|
|
877
|
+
"name": "size",
|
|
878
|
+
"type": {
|
|
879
|
+
"text": "IconButtonSize"
|
|
880
|
+
},
|
|
881
|
+
"default": "\"small\"",
|
|
882
|
+
"description": "The size of the button.",
|
|
883
|
+
"attribute": "size",
|
|
884
|
+
"reflects": true
|
|
885
|
+
},
|
|
886
|
+
{
|
|
887
|
+
"kind": "field",
|
|
888
|
+
"name": "width",
|
|
889
|
+
"type": {
|
|
890
|
+
"text": "IconButtonWidth"
|
|
891
|
+
},
|
|
892
|
+
"default": "\"default\"",
|
|
893
|
+
"description": "The width of the button.",
|
|
894
|
+
"attribute": "width",
|
|
895
|
+
"reflects": true
|
|
896
|
+
},
|
|
897
|
+
{
|
|
898
|
+
"kind": "field",
|
|
899
|
+
"name": "toggle",
|
|
900
|
+
"type": {
|
|
901
|
+
"text": "boolean"
|
|
902
|
+
},
|
|
903
|
+
"default": "false",
|
|
904
|
+
"description": "Whether the button will toggle between selected and unselected states.",
|
|
905
|
+
"attribute": "toggle",
|
|
906
|
+
"reflects": true
|
|
907
|
+
},
|
|
908
|
+
{
|
|
909
|
+
"kind": "field",
|
|
910
|
+
"name": "selected",
|
|
911
|
+
"type": {
|
|
912
|
+
"text": "boolean"
|
|
913
|
+
},
|
|
914
|
+
"default": "false",
|
|
915
|
+
"description": "Whether the toggle button is selected.",
|
|
916
|
+
"attribute": "selected",
|
|
917
|
+
"reflects": true
|
|
918
|
+
},
|
|
919
|
+
{
|
|
920
|
+
"kind": "field",
|
|
921
|
+
"name": "grouped",
|
|
922
|
+
"description": "Whether the button is contained by a button group.",
|
|
923
|
+
"readonly": true
|
|
924
|
+
},
|
|
925
|
+
{
|
|
926
|
+
"kind": "method",
|
|
927
|
+
"name": "_handleResize",
|
|
928
|
+
"privacy": "private",
|
|
929
|
+
"return": {
|
|
930
|
+
"type": {
|
|
931
|
+
"text": "void"
|
|
932
|
+
}
|
|
933
|
+
}
|
|
934
|
+
},
|
|
935
|
+
{
|
|
936
|
+
"kind": "method",
|
|
937
|
+
"name": "#updateButtonShape",
|
|
938
|
+
"privacy": "private",
|
|
939
|
+
"return": {
|
|
940
|
+
"type": {
|
|
941
|
+
"text": "void"
|
|
942
|
+
}
|
|
943
|
+
},
|
|
944
|
+
"parameters": [
|
|
945
|
+
{
|
|
946
|
+
"name": "force",
|
|
947
|
+
"default": "false"
|
|
948
|
+
}
|
|
949
|
+
]
|
|
950
|
+
},
|
|
951
|
+
{
|
|
952
|
+
"kind": "method",
|
|
953
|
+
"name": "#handleClick",
|
|
954
|
+
"privacy": "private",
|
|
955
|
+
"return": {
|
|
956
|
+
"type": {
|
|
957
|
+
"text": "void"
|
|
958
|
+
}
|
|
959
|
+
},
|
|
960
|
+
"parameters": [
|
|
961
|
+
{
|
|
962
|
+
"name": "e",
|
|
963
|
+
"type": {
|
|
964
|
+
"text": "Event"
|
|
965
|
+
}
|
|
966
|
+
}
|
|
967
|
+
]
|
|
968
|
+
},
|
|
969
|
+
{
|
|
970
|
+
"kind": "method",
|
|
971
|
+
"name": "#handleSelectedIconSlotChange",
|
|
972
|
+
"privacy": "private",
|
|
973
|
+
"return": {
|
|
974
|
+
"type": {
|
|
975
|
+
"text": "void"
|
|
976
|
+
}
|
|
977
|
+
},
|
|
978
|
+
"parameters": [
|
|
979
|
+
{
|
|
980
|
+
"name": "e",
|
|
981
|
+
"type": {
|
|
982
|
+
"text": "Event"
|
|
983
|
+
}
|
|
984
|
+
}
|
|
985
|
+
]
|
|
986
|
+
}
|
|
987
|
+
],
|
|
988
|
+
"events": [
|
|
989
|
+
{
|
|
990
|
+
"name": "input",
|
|
991
|
+
"type": {
|
|
992
|
+
"text": "Event"
|
|
993
|
+
},
|
|
994
|
+
"description": "Dispatched when a toggle button's selected state changes."
|
|
995
|
+
},
|
|
996
|
+
{
|
|
997
|
+
"name": "change",
|
|
998
|
+
"type": {
|
|
999
|
+
"text": "Event"
|
|
1000
|
+
},
|
|
1001
|
+
"description": "Dispatched when a toggle button's selected state changes."
|
|
1002
|
+
}
|
|
1003
|
+
],
|
|
1004
|
+
"attributes": [
|
|
1005
|
+
{
|
|
1006
|
+
"description": "Whether the element is disabled.",
|
|
1007
|
+
"name": "disabled"
|
|
1008
|
+
},
|
|
1009
|
+
{
|
|
1010
|
+
"description": "Whether the element is disabled and interactive.",
|
|
1011
|
+
"name": "disabled-interactive"
|
|
1012
|
+
},
|
|
1013
|
+
{
|
|
1014
|
+
"description": "A value indicating whether the `target` of the link button will be downloaded, optionally specifying the new name of the file.",
|
|
1015
|
+
"name": "download"
|
|
1016
|
+
},
|
|
1017
|
+
{
|
|
1018
|
+
"description": "The URL to which the link button points.",
|
|
1019
|
+
"name": "href"
|
|
1020
|
+
},
|
|
1021
|
+
{
|
|
1022
|
+
"description": "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.",
|
|
1023
|
+
"name": "name"
|
|
1024
|
+
},
|
|
1025
|
+
{
|
|
1026
|
+
"description": "The relationship between the `target` of the link button and the document.",
|
|
1027
|
+
"name": "rel"
|
|
1028
|
+
},
|
|
1029
|
+
{
|
|
1030
|
+
"description": "Whether the toggle button is selected.",
|
|
1031
|
+
"name": "selected",
|
|
1032
|
+
"type": {
|
|
1033
|
+
"text": "boolean"
|
|
1034
|
+
},
|
|
1035
|
+
"default": "false",
|
|
1036
|
+
"fieldName": "selected"
|
|
1037
|
+
},
|
|
1038
|
+
{
|
|
1039
|
+
"description": "The shape of the button.",
|
|
1040
|
+
"name": "shape",
|
|
1041
|
+
"type": {
|
|
1042
|
+
"text": "IconButtonShape"
|
|
1043
|
+
},
|
|
1044
|
+
"default": "\"rounded\"",
|
|
1045
|
+
"fieldName": "shape"
|
|
1046
|
+
},
|
|
1047
|
+
{
|
|
1048
|
+
"description": "The size of the button.",
|
|
1049
|
+
"name": "size",
|
|
1050
|
+
"type": {
|
|
1051
|
+
"text": "IconButtonSize"
|
|
1052
|
+
},
|
|
1053
|
+
"default": "\"small\"",
|
|
1054
|
+
"fieldName": "size"
|
|
1055
|
+
},
|
|
1056
|
+
{
|
|
1057
|
+
"description": "The target of the link button.",
|
|
1058
|
+
"name": "target"
|
|
1059
|
+
},
|
|
1060
|
+
{
|
|
1061
|
+
"description": "Whether the button will toggle between selected and unselected states.",
|
|
1062
|
+
"name": "toggle",
|
|
1063
|
+
"type": {
|
|
1064
|
+
"text": "boolean"
|
|
1065
|
+
},
|
|
1066
|
+
"default": "false",
|
|
1067
|
+
"fieldName": "toggle"
|
|
1068
|
+
},
|
|
1069
|
+
{
|
|
1070
|
+
"description": "The type of the element.",
|
|
1071
|
+
"name": "type"
|
|
1072
|
+
},
|
|
1073
|
+
{
|
|
1074
|
+
"description": "The value associated with the element's name when it's submitted with form data.",
|
|
1075
|
+
"name": "value"
|
|
1076
|
+
},
|
|
1077
|
+
{
|
|
1078
|
+
"description": "The appearance variant of the button.",
|
|
1079
|
+
"name": "variant",
|
|
1080
|
+
"type": {
|
|
1081
|
+
"text": "IconButtonVariant"
|
|
1082
|
+
},
|
|
1083
|
+
"default": "\"standard\"",
|
|
1084
|
+
"fieldName": "variant"
|
|
1085
|
+
},
|
|
1086
|
+
{
|
|
1087
|
+
"description": "The width of the button.",
|
|
1088
|
+
"name": "width",
|
|
1089
|
+
"type": {
|
|
1090
|
+
"text": "IconButtonWidth"
|
|
1091
|
+
},
|
|
1092
|
+
"default": "\"default\"",
|
|
1093
|
+
"fieldName": "width"
|
|
1094
|
+
}
|
|
1095
|
+
],
|
|
1096
|
+
"mixins": [
|
|
1097
|
+
{
|
|
1098
|
+
"name": "KeyboardClick",
|
|
1099
|
+
"package": "@m3e/core"
|
|
1100
|
+
},
|
|
1101
|
+
{
|
|
1102
|
+
"name": "LinkButton",
|
|
1103
|
+
"package": "@m3e/core"
|
|
1104
|
+
},
|
|
1105
|
+
{
|
|
1106
|
+
"name": "FormSubmitter",
|
|
1107
|
+
"package": "@m3e/core"
|
|
1108
|
+
},
|
|
1109
|
+
{
|
|
1110
|
+
"name": "Focusable",
|
|
1111
|
+
"package": "@m3e/core"
|
|
1112
|
+
},
|
|
1113
|
+
{
|
|
1114
|
+
"name": "DisabledInteractive",
|
|
1115
|
+
"package": "@m3e/core"
|
|
1116
|
+
},
|
|
1117
|
+
{
|
|
1118
|
+
"name": "Disabled",
|
|
1119
|
+
"package": "@m3e/core"
|
|
1120
|
+
},
|
|
1121
|
+
{
|
|
1122
|
+
"name": "AttachInternals",
|
|
1123
|
+
"package": "@m3e/core"
|
|
1124
|
+
},
|
|
1125
|
+
{
|
|
1126
|
+
"name": "Role",
|
|
1127
|
+
"package": "@m3e/core"
|
|
1128
|
+
}
|
|
1129
|
+
],
|
|
1130
|
+
"superclass": {
|
|
1131
|
+
"name": "LitElement",
|
|
1132
|
+
"package": "lit"
|
|
1133
|
+
},
|
|
1134
|
+
"tagName": "m3e-icon-button",
|
|
1135
|
+
"customElement": true,
|
|
1136
|
+
"summary": "An icon button users interact with to perform a supplementary action."
|
|
1137
|
+
}
|
|
1138
|
+
],
|
|
1139
|
+
"exports": [
|
|
1140
|
+
{
|
|
1141
|
+
"kind": "js",
|
|
1142
|
+
"name": "M3eIconButtonElement",
|
|
1143
|
+
"declaration": {
|
|
1144
|
+
"name": "M3eIconButtonElement",
|
|
1145
|
+
"module": "src/IconButtonElement.ts"
|
|
1146
|
+
}
|
|
1147
|
+
},
|
|
1148
|
+
{
|
|
1149
|
+
"kind": "custom-element-definition",
|
|
1150
|
+
"name": "m3e-icon-button",
|
|
1151
|
+
"declaration": {
|
|
1152
|
+
"name": "M3eIconButtonElement",
|
|
1153
|
+
"module": "src/IconButtonElement.ts"
|
|
1154
|
+
}
|
|
1155
|
+
}
|
|
1156
|
+
]
|
|
1157
|
+
},
|
|
1158
|
+
{
|
|
1159
|
+
"kind": "javascript-module",
|
|
1160
|
+
"path": "src/IconButtonShape.ts",
|
|
1161
|
+
"declarations": [],
|
|
1162
|
+
"exports": []
|
|
1163
|
+
},
|
|
1164
|
+
{
|
|
1165
|
+
"kind": "javascript-module",
|
|
1166
|
+
"path": "src/IconButtonSize.ts",
|
|
1167
|
+
"declarations": [],
|
|
1168
|
+
"exports": []
|
|
1169
|
+
},
|
|
1170
|
+
{
|
|
1171
|
+
"kind": "javascript-module",
|
|
1172
|
+
"path": "src/IconButtonVariant.ts",
|
|
1173
|
+
"declarations": [],
|
|
1174
|
+
"exports": []
|
|
1175
|
+
},
|
|
1176
|
+
{
|
|
1177
|
+
"kind": "javascript-module",
|
|
1178
|
+
"path": "src/IconButtonWidth.ts",
|
|
1179
|
+
"declarations": [],
|
|
1180
|
+
"exports": []
|
|
1181
|
+
},
|
|
1182
|
+
{
|
|
1183
|
+
"kind": "javascript-module",
|
|
1184
|
+
"path": "src/index.ts",
|
|
1185
|
+
"declarations": [],
|
|
1186
|
+
"exports": [
|
|
1187
|
+
{
|
|
1188
|
+
"kind": "js",
|
|
1189
|
+
"name": "*",
|
|
1190
|
+
"declaration": {
|
|
1191
|
+
"name": "*",
|
|
1192
|
+
"package": "\"./IconButtonElement\""
|
|
1193
|
+
}
|
|
1194
|
+
},
|
|
1195
|
+
{
|
|
1196
|
+
"kind": "js",
|
|
1197
|
+
"name": "*",
|
|
1198
|
+
"declaration": {
|
|
1199
|
+
"name": "*",
|
|
1200
|
+
"package": "\"./IconButtonShape\""
|
|
1201
|
+
}
|
|
1202
|
+
},
|
|
1203
|
+
{
|
|
1204
|
+
"kind": "js",
|
|
1205
|
+
"name": "*",
|
|
1206
|
+
"declaration": {
|
|
1207
|
+
"name": "*",
|
|
1208
|
+
"package": "\"./IconButtonSize\""
|
|
1209
|
+
}
|
|
1210
|
+
},
|
|
1211
|
+
{
|
|
1212
|
+
"kind": "js",
|
|
1213
|
+
"name": "*",
|
|
1214
|
+
"declaration": {
|
|
1215
|
+
"name": "*",
|
|
1216
|
+
"package": "\"./IconButtonVariant\""
|
|
1217
|
+
}
|
|
1218
|
+
},
|
|
1219
|
+
{
|
|
1220
|
+
"kind": "js",
|
|
1221
|
+
"name": "*",
|
|
1222
|
+
"declaration": {
|
|
1223
|
+
"name": "*",
|
|
1224
|
+
"package": "\"./IconButtonWidth\""
|
|
1225
|
+
}
|
|
1226
|
+
}
|
|
1227
|
+
]
|
|
1228
|
+
},
|
|
1229
|
+
{
|
|
1230
|
+
"kind": "javascript-module",
|
|
1231
|
+
"path": "src/styles/IconButtonSizeStyle.ts",
|
|
1232
|
+
"declarations": [],
|
|
1233
|
+
"exports": []
|
|
1234
|
+
},
|
|
1235
|
+
{
|
|
1236
|
+
"kind": "javascript-module",
|
|
1237
|
+
"path": "src/styles/IconButtonSizeToken.ts",
|
|
1238
|
+
"declarations": [],
|
|
1239
|
+
"exports": []
|
|
1240
|
+
},
|
|
1241
|
+
{
|
|
1242
|
+
"kind": "javascript-module",
|
|
1243
|
+
"path": "src/styles/IconButtonStyle.ts",
|
|
1244
|
+
"declarations": [],
|
|
1245
|
+
"exports": []
|
|
1246
|
+
},
|
|
1247
|
+
{
|
|
1248
|
+
"kind": "javascript-module",
|
|
1249
|
+
"path": "src/styles/IconButtonVariantStyle.ts",
|
|
1250
|
+
"declarations": [],
|
|
1251
|
+
"exports": []
|
|
1252
|
+
},
|
|
1253
|
+
{
|
|
1254
|
+
"kind": "javascript-module",
|
|
1255
|
+
"path": "src/styles/IconButtonVariantToken.ts",
|
|
1256
|
+
"declarations": [],
|
|
1257
|
+
"exports": []
|
|
1258
|
+
},
|
|
1259
|
+
{
|
|
1260
|
+
"kind": "javascript-module",
|
|
1261
|
+
"path": "src/styles/index.ts",
|
|
1262
|
+
"declarations": [],
|
|
1263
|
+
"exports": [
|
|
1264
|
+
{
|
|
1265
|
+
"kind": "js",
|
|
1266
|
+
"name": "*",
|
|
1267
|
+
"declaration": {
|
|
1268
|
+
"name": "*",
|
|
1269
|
+
"package": "\"./IconButtonSizeStyle\""
|
|
1270
|
+
}
|
|
1271
|
+
},
|
|
1272
|
+
{
|
|
1273
|
+
"kind": "js",
|
|
1274
|
+
"name": "*",
|
|
1275
|
+
"declaration": {
|
|
1276
|
+
"name": "*",
|
|
1277
|
+
"package": "\"./IconButtonStyle\""
|
|
1278
|
+
}
|
|
1279
|
+
},
|
|
1280
|
+
{
|
|
1281
|
+
"kind": "js",
|
|
1282
|
+
"name": "*",
|
|
1283
|
+
"declaration": {
|
|
1284
|
+
"name": "*",
|
|
1285
|
+
"package": "\"./IconButtonVariantStyle\""
|
|
1286
|
+
}
|
|
1287
|
+
}
|
|
1288
|
+
]
|
|
1289
|
+
}
|
|
1290
|
+
]
|
|
1291
|
+
}
|