@m3e/web 2.4.1 → 2.5.0
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 +9 -2
- package/dist/all.js +525 -65
- package/dist/all.js.map +1 -1
- package/dist/all.min.js +45 -45
- package/dist/all.min.js.map +1 -1
- package/dist/bottom-sheet.js +33 -6
- package/dist/bottom-sheet.js.map +1 -1
- package/dist/bottom-sheet.min.js +1 -1
- package/dist/bottom-sheet.min.js.map +1 -1
- package/dist/breadcrumb.js +303 -0
- package/dist/breadcrumb.js.map +1 -0
- package/dist/breadcrumb.min.js +7 -0
- package/dist/breadcrumb.min.js.map +1 -0
- package/dist/content-pane.js +69 -0
- package/dist/content-pane.js.map +1 -0
- package/dist/content-pane.min.js +7 -0
- package/dist/content-pane.min.js.map +1 -0
- package/dist/core-a11y.js +12 -9
- package/dist/core-a11y.js.map +1 -1
- package/dist/core-a11y.min.js +2 -2
- package/dist/core-a11y.min.js.map +1 -1
- package/dist/core.js +48 -4
- package/dist/core.js.map +1 -1
- package/dist/core.min.js +1 -1
- package/dist/core.min.js.map +1 -1
- package/dist/css-custom-data.json +293 -173
- package/dist/custom-elements.json +2823 -1378
- package/dist/html-custom-data.json +195 -88
- package/dist/list.js +37 -37
- package/dist/list.js.map +1 -1
- package/dist/list.min.js +1 -1
- package/dist/list.min.js.map +1 -1
- package/dist/split-pane.js +56 -15
- package/dist/split-pane.js.map +1 -1
- package/dist/split-pane.min.js +1 -1
- package/dist/split-pane.min.js.map +1 -1
- package/dist/src/all.d.ts +2 -0
- package/dist/src/all.d.ts.map +1 -1
- package/dist/src/bottom-sheet/BottomSheetElement.d.ts +8 -2
- package/dist/src/bottom-sheet/BottomSheetElement.d.ts.map +1 -1
- package/dist/src/breadcrumb/BreadcrumbElement.d.ts +47 -0
- package/dist/src/breadcrumb/BreadcrumbElement.d.ts.map +1 -0
- package/dist/src/breadcrumb/BreadcrumbItemButtonElement.d.ts +37 -0
- package/dist/src/breadcrumb/BreadcrumbItemButtonElement.d.ts.map +1 -0
- package/dist/src/breadcrumb/BreadcrumbItemCurrent.d.ts +3 -0
- package/dist/src/breadcrumb/BreadcrumbItemCurrent.d.ts.map +1 -0
- package/dist/src/breadcrumb/BreadcrumbItemElement.d.ts +88 -0
- package/dist/src/breadcrumb/BreadcrumbItemElement.d.ts.map +1 -0
- package/dist/src/breadcrumb/index.d.ts +4 -0
- package/dist/src/breadcrumb/index.d.ts.map +1 -0
- package/dist/src/breadcrumb/isIconOnly.d.ts +3 -0
- package/dist/src/breadcrumb/isIconOnly.d.ts.map +1 -0
- package/dist/src/content-pane/ContentPaneElement.d.ts +44 -0
- package/dist/src/content-pane/ContentPaneElement.d.ts.map +1 -0
- package/dist/src/content-pane/index.d.ts +2 -0
- package/dist/src/content-pane/index.d.ts.map +1 -0
- package/dist/src/core/a11y/InteractivityChecker.d.ts +4 -2
- package/dist/src/core/a11y/InteractivityChecker.d.ts.map +1 -1
- package/dist/src/core/shared/mixins/LinkButton.d.ts +2 -1
- package/dist/src/core/shared/mixins/LinkButton.d.ts.map +1 -1
- package/dist/src/core/shared/utils/getScrollbarWidth.d.ts +7 -0
- package/dist/src/core/shared/utils/getScrollbarWidth.d.ts.map +1 -0
- package/dist/src/core/shared/utils/index.d.ts +1 -0
- package/dist/src/core/shared/utils/index.d.ts.map +1 -1
- package/dist/src/list/ListActionElement.d.ts +1 -0
- package/dist/src/list/ListActionElement.d.ts.map +1 -1
- package/dist/src/list/index.d.ts +0 -1
- package/dist/src/list/index.d.ts.map +1 -1
- package/dist/src/split-pane/SplitPaneElement.d.ts +6 -0
- package/dist/src/split-pane/SplitPaneElement.d.ts.map +1 -1
- package/dist/tooltip.js +2 -2
- package/dist/tooltip.js.map +1 -1
- package/dist/tooltip.min.js +1 -1
- package/dist/tooltip.min.js.map +1 -1
- package/package.json +11 -1
|
@@ -24,12 +24,6 @@
|
|
|
24
24
|
],
|
|
25
25
|
"references": []
|
|
26
26
|
},
|
|
27
|
-
{
|
|
28
|
-
"name": "m3e-avatar",
|
|
29
|
-
"description": "An image, icon or textual initials representing a user or other identity.\n---\n\n\n### **Slots:**\n - _default_ - Renders the content of the avatar.\n\n### **CSS Properties:**\n - **--m3e-avatar-size** - Size of the avatar. _(default: undefined)_\n- **--m3e-avatar-shape** - Border radius of the avatar. _(default: undefined)_\n- **--m3e-avatar-font-size** - Font size for the avatar. _(default: undefined)_\n- **--m3e-avatar-font-weight** - Font weight for the avatar. _(default: undefined)_\n- **--m3e-avatar-line-height** - Line height for the avatar. _(default: undefined)_\n- **--m3e-avatar-tracking** - Letter spacing for the avatar. _(default: undefined)_\n- **--m3e-avatar-color** - Background color of the avatar. _(default: undefined)_\n- **--m3e-avatar-label-color** - Text color of the avatar. _(default: undefined)_",
|
|
30
|
-
"attributes": [],
|
|
31
|
-
"references": []
|
|
32
|
-
},
|
|
33
27
|
{
|
|
34
28
|
"name": "m3e-autocomplete",
|
|
35
29
|
"description": "Enhances a text input with suggested options.\n---\n\n\n### **Events:**\n - **change** - Emitted when the committed value changes due to selecting an option or clearing the input.\n- **query** - Emitted when the input is focused or when the user modifies its value.\n- **toggle** - Emitted when the options menu opens or closes.\n\n### **Methods:**\n - **attach(control: _HTMLElement_): _void_** - Attaches the element to an interactive control.\n- **detach(): _void_** - Detaches the element from its current interactive control.\n- **clear(restoreFocus): _void_** - Clears the value of the element.\n\n### **Slots:**\n - _default_ - Renders the options of the autocomplete.\n- **loading** - Renders content when loading options.\n- **no-data** - Renders content when there are no options to show.",
|
|
@@ -105,6 +99,34 @@
|
|
|
105
99
|
],
|
|
106
100
|
"references": []
|
|
107
101
|
},
|
|
102
|
+
{
|
|
103
|
+
"name": "m3e-avatar",
|
|
104
|
+
"description": "An image, icon or textual initials representing a user or other identity.\n---\n\n\n### **Slots:**\n - _default_ - Renders the content of the avatar.\n\n### **CSS Properties:**\n - **--m3e-avatar-size** - Size of the avatar. _(default: undefined)_\n- **--m3e-avatar-shape** - Border radius of the avatar. _(default: undefined)_\n- **--m3e-avatar-font-size** - Font size for the avatar. _(default: undefined)_\n- **--m3e-avatar-font-weight** - Font weight for the avatar. _(default: undefined)_\n- **--m3e-avatar-line-height** - Line height for the avatar. _(default: undefined)_\n- **--m3e-avatar-tracking** - Letter spacing for the avatar. _(default: undefined)_\n- **--m3e-avatar-color** - Background color of the avatar. _(default: undefined)_\n- **--m3e-avatar-label-color** - Text color of the avatar. _(default: undefined)_",
|
|
105
|
+
"attributes": [],
|
|
106
|
+
"references": []
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"name": "m3e-badge",
|
|
110
|
+
"description": "A visual indicator used to label content.\n---\n\n\n### **Methods:**\n - **attach(control: _HTMLElement_): _void_** - Attaches the element to an interactive control.\n- **detach(): _void_** - Detaches the element from its current interactive control.\n\n### **Slots:**\n - _default_ - Renders the content of the badge.\n\n### **CSS Properties:**\n - **--m3e-badge-shape** - Corner radius of the badge. _(default: undefined)_\n- **--m3e-badge-color** - Foreground color of badge content. _(default: undefined)_\n- **--m3e-badge-container-color** - Background color of the badge. _(default: undefined)_\n- **--m3e-badge-small-size** - Fixed dimensions for small badge. Used for minimal indicators (e.g. dot). _(default: undefined)_\n- **--m3e-badge-medium-size** - Height and min-width for medium badge. _(default: undefined)_\n- **--m3e-badge-medium-font-size** - Font size for medium badge label. _(default: undefined)_\n- **--m3e-badge-medium-font-weight** - Font weight for medium badge label. _(default: undefined)_\n- **--m3e-badge-medium-line-height** - Line height for medium badge label. _(default: undefined)_\n- **--m3e-badge-medium-tracking** - Letter spacing for medium badge label. _(default: undefined)_\n- **--m3e-badge-large-size** - Height and min-width for large badge. _(default: undefined)_\n- **--m3e-badge-large-font-size** - Font size for large badge label. _(default: undefined)_\n- **--m3e-badge-large-font-weight** - Font weight for large badge label. _(default: undefined)_\n- **--m3e-badge-large-line-height** - Line height for large badge label. _(default: undefined)_\n- **--m3e-badge-large-tracking** - Letter spacing for large badge label. _(default: undefined)_",
|
|
111
|
+
"attributes": [
|
|
112
|
+
{
|
|
113
|
+
"name": "size",
|
|
114
|
+
"description": "The size of the badge.",
|
|
115
|
+
"values": [{ "name": "BadgeSize" }]
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"name": "position",
|
|
119
|
+
"description": "The position of the badge, when attached to another element.",
|
|
120
|
+
"values": [{ "name": "BadgePosition" }]
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"name": "for",
|
|
124
|
+
"description": "The identifier of the interactive control to which this element is attached.",
|
|
125
|
+
"values": []
|
|
126
|
+
}
|
|
127
|
+
],
|
|
128
|
+
"references": []
|
|
129
|
+
},
|
|
108
130
|
{
|
|
109
131
|
"name": "m3e-bottom-sheet-action",
|
|
110
132
|
"description": "An element, nested within a clickable element, used to close a parenting bottom sheet.\n---\n\n\n### **Methods:**\n \n\n### **Slots:**\n - _default_ - Renders the content of the action.",
|
|
@@ -142,7 +164,7 @@
|
|
|
142
164
|
},
|
|
143
165
|
{
|
|
144
166
|
"name": "hide-friction",
|
|
145
|
-
"description": "The friction coefficient to hide the sheet
|
|
167
|
+
"description": "The friction coefficient to hide the sheet.",
|
|
146
168
|
"values": []
|
|
147
169
|
},
|
|
148
170
|
{
|
|
@@ -154,6 +176,11 @@
|
|
|
154
176
|
"name": "open",
|
|
155
177
|
"description": "Whether the bottom sheet is open.",
|
|
156
178
|
"values": []
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
"name": "overshoot-limit",
|
|
182
|
+
"description": "A fractional value, between 0 and 100, indicating the maximum visual overshoot allowed when dragging past the minimum or maximum size.",
|
|
183
|
+
"values": []
|
|
157
184
|
}
|
|
158
185
|
],
|
|
159
186
|
"references": []
|
|
@@ -181,22 +208,91 @@
|
|
|
181
208
|
"references": []
|
|
182
209
|
},
|
|
183
210
|
{
|
|
184
|
-
"name": "m3e-
|
|
185
|
-
"description": "
|
|
211
|
+
"name": "m3e-breadcrumb",
|
|
212
|
+
"description": "Displays a hierarchical navigation path and identifies the user's\r\ncurrent location within an application.\n---\n\n\n### **Slots:**\n - _default_ - Renders breadcrumb items.\n- **separator** - Renders a custom separator between breadcrumb items.",
|
|
186
213
|
"attributes": [
|
|
187
214
|
{
|
|
188
|
-
"name": "
|
|
189
|
-
"description": "
|
|
190
|
-
"values": [
|
|
215
|
+
"name": "wrap",
|
|
216
|
+
"description": "Whether items wrap to a new line.",
|
|
217
|
+
"values": []
|
|
218
|
+
}
|
|
219
|
+
],
|
|
220
|
+
"references": []
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
"name": "m3e-breadcrumb-item-button",
|
|
224
|
+
"description": "\n---\n\n\n### **Events:**\n - **click**",
|
|
225
|
+
"attributes": [
|
|
226
|
+
{
|
|
227
|
+
"name": "current",
|
|
228
|
+
"description": "Indicates the current item in the breadcrumb path.",
|
|
229
|
+
"values": [{ "name": "BreadcrumbItemCurrent" }]
|
|
191
230
|
},
|
|
192
231
|
{
|
|
193
|
-
"name": "
|
|
194
|
-
"description": "The
|
|
195
|
-
"values": [
|
|
232
|
+
"name": "href",
|
|
233
|
+
"description": "The URL to which the link button points.",
|
|
234
|
+
"values": []
|
|
196
235
|
},
|
|
197
236
|
{
|
|
198
|
-
"name": "
|
|
199
|
-
"description": "The
|
|
237
|
+
"name": "target",
|
|
238
|
+
"description": "The target of the link button.",
|
|
239
|
+
"values": [{ "name": "LinkTarget" }]
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
"name": "rel",
|
|
243
|
+
"description": "The relationship between the `target` of the link button and the document.",
|
|
244
|
+
"values": []
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
"name": "download",
|
|
248
|
+
"description": "A value indicating whether the `target` of the link button will be downloaded,\r\noptionally specifying the new name of the file.",
|
|
249
|
+
"values": []
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
"name": "disabled",
|
|
253
|
+
"description": "Whether the element is disabled.",
|
|
254
|
+
"values": []
|
|
255
|
+
}
|
|
256
|
+
],
|
|
257
|
+
"references": []
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
"name": "m3e-breadcrumb-item",
|
|
261
|
+
"description": "An item in a breadcrumb.\n---\n\n\n### **Events:**\n - **click** - Emitted when the element is clicked.\n\n### **Slots:**\n - _default_ - Renders the content of the breadcrumb item.\n\n### **CSS Properties:**\n - **--m3e-breadcrumb-item-shape** - Shape of the internal breadcrumb item button. _(default: undefined)_\n- **--m3e-breadcrumb-item-container-height** - Height of the internal breadcrumb item button container. _(default: undefined)_\n- **--m3e-breadcrumb-item-icon-color** - Color of breadcrumb item icon-only content. _(default: undefined)_\n- **--m3e-breadcrumb-item-icon-padding-inline** - Horizontal padding for icon-only breadcrumb items. _(default: undefined)_\n- **--m3e-breadcrumb-item-icon-hover-state-layer-color** - Hover state layer color for icon-only breadcrumb items. _(default: undefined)_\n- **--m3e-breadcrumb-item-icon-focus-state-layer-color** - Focus state layer color for icon-only breadcrumb items. _(default: undefined)_\n- **--m3e-breadcrumb-item-icon-pressed-state-layer-color** - Pressed state layer color for icon-only breadcrumb items. _(default: undefined)_\n- **--m3e-breadcrumb-item-label-color** - Color of breadcrumb item label content. _(default: undefined)_\n- **--m3e-breadcrumb-item-label-font-size** - Font size of breadcrumb item label content. _(default: undefined)_\n- **--m3e-breadcrumb-item-label-font-weight** - Font weight of breadcrumb item label content. _(default: undefined)_\n- **--m3e-breadcrumb-item-label-line-height** - Line height of breadcrumb item label content. _(default: undefined)_\n- **--m3e-breadcrumb-item-label-tracking** - Letter spacing of breadcrumb item label content. _(default: undefined)_\n- **--m3e-breadcrumb-item-label-padding-inline** - Horizontal padding for label breadcrumb items. _(default: undefined)_\n- **--m3e-breadcrumb-item-label-hover-state-layer-color** - Hover state layer color for label breadcrumb items. _(default: undefined)_\n- **--m3e-breadcrumb-item-label-focus-state-layer-color** - Focus state layer color for label breadcrumb items. _(default: undefined)_\n- **--m3e-breadcrumb-item-label-pressed-state-layer-color** - Pressed state layer color for label breadcrumb items. _(default: undefined)_\n- **--m3e-breadcrumb-item-last-color** - Color used for the current breadcrumb item. _(default: undefined)_\n- **--m3e-breadcrumb-item-icon-label-space** - Space between icon and label. _(default: undefined)_\n- **--m3e-breadcrumb-item-icon-size** - Size of the icon. _(default: undefined)_\n- **--m3e-breadcrumb-item-disabled-color** - Disabled color used by the breadcrumb item button. _(default: undefined)_\n- **--m3e-breadcrumb-item-disabled-opacity** - Disabled opacity used by the breadcrumb item button. _(default: undefined)_",
|
|
262
|
+
"attributes": [
|
|
263
|
+
{
|
|
264
|
+
"name": "item-label",
|
|
265
|
+
"description": "The accessible label given to the item's internal button.",
|
|
266
|
+
"values": []
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
"name": "disabled",
|
|
270
|
+
"description": "Whether the element is disabled.",
|
|
271
|
+
"values": []
|
|
272
|
+
},
|
|
273
|
+
{
|
|
274
|
+
"name": "current",
|
|
275
|
+
"description": "Indicates the current item in the breadcrumb path.",
|
|
276
|
+
"values": [{ "name": "BreadcrumbItemCurrent" }]
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
"name": "href",
|
|
280
|
+
"description": "The URL to which the internal breadcrumb link button points.",
|
|
281
|
+
"values": []
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
"name": "target",
|
|
285
|
+
"description": "The target of the internal breadcrumb link button.",
|
|
286
|
+
"values": [{ "name": "LinkTarget" }]
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
"name": "download",
|
|
290
|
+
"description": "A value indicating whether the internal link target will be downloaded, optionally specifying a file name.",
|
|
291
|
+
"values": []
|
|
292
|
+
},
|
|
293
|
+
{
|
|
294
|
+
"name": "rel",
|
|
295
|
+
"description": "The relationship between the internal link target and the document.",
|
|
200
296
|
"values": []
|
|
201
297
|
}
|
|
202
298
|
],
|
|
@@ -279,6 +375,28 @@
|
|
|
279
375
|
],
|
|
280
376
|
"references": []
|
|
281
377
|
},
|
|
378
|
+
{
|
|
379
|
+
"name": "m3e-button-group",
|
|
380
|
+
"description": "Organizes buttons and adds interactions between them.\n---\n\n\n### **Slots:**\n - _default_ - Renders the buttons of the group.\n\n### **CSS Properties:**\n - **--m3e-standard-button-group-extra-small-spacing** - Spacing between buttons in standard variant, extra-small size. _(default: undefined)_\n- **--m3e-standard-button-group-small-spacing** - Spacing between buttons in standard variant, small size. _(default: undefined)_\n- **--m3e-standard-button-group-medium-spacing** - Spacing between buttons in standard variant, medium size. _(default: undefined)_\n- **--m3e-standard-button-group-large-spacing** - Spacing between buttons in standard variant, large size. _(default: undefined)_\n- **--m3e-standard-button-group-extra-large-spacing** - Spacing between buttons in standard variant, extra-large size. _(default: undefined)_\n- **--m3e-connected-button-group-spacing** - Spacing between buttons in connected variant. _(default: undefined)_\n- **--m3e-connected-button-group-extra-small-inner-shape** - Corner shape for connected variant, extra-small size. _(default: undefined)_\n- **--m3e-connected-button-group-extra-small-inner-pressed-shape** - Pressed corner shape for connected variant, extra-small size. _(default: undefined)_\n- **--m3e-connected-button-group-small-inner-shape** - Corner shape for connected variant, small size. _(default: undefined)_\n- **--m3e-connected-button-group-small-inner-pressed-shape** - Pressed corner shape for connected variant, small size. _(default: undefined)_\n- **--m3e-connected-button-group-medium-inner-shape** - Corner shape for connected variant, medium size. _(default: undefined)_\n- **--m3e-connected-button-group-medium-inner-pressed-shape** - Pressed corner shape for connected variant, medium size. _(default: undefined)_\n- **--m3e-connected-button-group-large-inner-shape** - Corner shape for connected variant, large size. _(default: undefined)_\n- **--m3e-connected-button-group-large-inner-pressed-shape** - Pressed corner shape for connected variant, large size. _(default: undefined)_\n- **--m3e-connected-button-group-extra-large-inner-shape** - Corner shape for connected variant, extra-large size. _(default: undefined)_\n- **--m3e-connected-button-group-extra-large-inner-pressed-shape** - Pressed corner shape for connected variant, extra-large size. _(default: undefined)_",
|
|
381
|
+
"attributes": [
|
|
382
|
+
{
|
|
383
|
+
"name": "multi",
|
|
384
|
+
"description": "Whether multiple toggle buttons can be selected.",
|
|
385
|
+
"values": []
|
|
386
|
+
},
|
|
387
|
+
{
|
|
388
|
+
"name": "size",
|
|
389
|
+
"description": "The size of the group.",
|
|
390
|
+
"values": [{ "name": "ButtonGroupSize" }]
|
|
391
|
+
},
|
|
392
|
+
{
|
|
393
|
+
"name": "variant",
|
|
394
|
+
"description": "The appearance variant of the group.",
|
|
395
|
+
"values": [{ "name": "ButtonGroupVariant" }]
|
|
396
|
+
}
|
|
397
|
+
],
|
|
398
|
+
"references": []
|
|
399
|
+
},
|
|
282
400
|
{
|
|
283
401
|
"name": "m3e-calendar",
|
|
284
402
|
"description": "A calendar used to select a date.\n---\n\n\n### **Events:**\n - **change** - Emitted when the selected date changes.\n\n### **Methods:**\n - **focusActiveCell(): _Promise<void>_** - Asynchronously focuses the active date.\n- **updateTodayDate(): _void_** - Updates today's date.\n- **movePreviousPeriod(): _Promise<void>_** - Moves the calendar to the previous period.\n- **moveNextPeriod(): _Promise<void>_** - Moves the calendar to the next period.\n- **togglePeriod(): _Promise<void>_** - Toggles the current period.\n\n### **Slots:**\n - **header** - Renders the header of the calendar.\n\n### **CSS Properties:**\n - **--m3e-calendar-container-color** - Background color of the container surface. _(default: undefined)_\n- **--m3e-calendar-container-elevation** - Elevation shadow applied to the container surface. _(default: undefined)_\n- **--m3e-calendar-container-shape** - Corner radius of the container surface. _(default: undefined)_\n- **--m3e-calendar-padding** - Padding applied to the calendar header and body. _(default: undefined)_\n- **--m3e-calendar-period-button-text-color** - Text color used for the period‑navigation buttons in the header. _(default: undefined)_\n- **--m3e-calendar-weekday-font-size** - Font size of weekday labels in month view. _(default: undefined)_\n- **--m3e-calendar-weekday-font-weight** - Font weight of weekday labels in month view. _(default: undefined)_\n- **--m3e-calendar-weekday-line-height** - Line height of weekday labels in month view. _(default: undefined)_\n- **--m3e-calendar-weekday-tracking** - Letter spacing of weekday labels in month view. _(default: undefined)_\n- **--m3e-calendar-weekday-color** - Text color for weekday labels in month view. _(default: undefined)_\n- **--m3e-calendar-date-font-size** - Font size of date cells in month view. _(default: undefined)_\n- **--m3e-calendar-date-font-weight** - Font weight of date cells in month view. _(default: undefined)_\n- **--m3e-calendar-date-line-height** - Line height of date cells in month view. _(default: undefined)_\n- **--m3e-calendar-date-tracking** - Letter spacing of date cells in month view. _(default: undefined)_\n- **--m3e-calendar-item-font-size** - Font size of items in year and multi‑year views. _(default: undefined)_\n- **--m3e-calendar-item-font-weight** - Font weight of items in year and multi‑year views. _(default: undefined)_\n- **--m3e-calendar-item-line-height** - Line height of items in year and multi‑year views. _(default: undefined)_\n- **--m3e-calendar-item-tracking** - Letter spacing of items in year and multi‑year views. _(default: undefined)_\n- **--m3e-calendar-item-color** - Text color for date items. _(default: undefined)_\n- **--m3e-calendar-item-selected-color** - Text color for selected date items. _(default: undefined)_\n- **--m3e-calendar-item-selected-container-color** - Background color for selected date items. _(default: undefined)_\n- **--m3e-calendar-item-selected-ripple-color** - Ripple color used when interacting with selected date items. _(default: undefined)_\n- **--m3e-calendar-item-selected-hover-color** - Hover color used when interacting with selected date items. _(default: undefined)_\n- **--m3e-calendar-item-selected-focus-color** - Focus color used when interacting with selected date items. _(default: undefined)_\n- **--m3e-calendar-item-current-outline-thickness** - Outline thickness used to indicate the current date. _(default: undefined)_\n- **--m3e-calendar-item-current-outline-color** - Outline color used to indicate the current date. _(default: undefined)_\n- **--m3e-calendar-item-special-color** - Text color for dates marked as special. _(default: undefined)_\n- **--m3e-calendar-item-special-container-color** - Background color for dates marked as special. _(default: undefined)_\n- **--m3e-calendar-item-special-ripple-color** - Ripple color used when interacting with dates marked as special. _(default: undefined)_\n- **--m3e-calendar-item-special-hover-color** - Hover color used when interacting with dates marked as special. _(default: undefined)_\n- **--m3e-calendar-item-special-focus-color** - Focus color used when interacting with dates marked as special. _(default: undefined)_\n- **--m3e-calendar-range-container-color** - Background color applied to the selected date range. _(default: undefined)_\n- **--m3e-calendar-range-color** - Text color for dates within a selected range. _(default: undefined)_\n- **--m3e-calendar-item-disabled-color** - Color used for disabled date items. _(default: undefined)_\n- **--m3e-calendar-item-disabled-color-opacity** - Opacity applied to the disabled item color. _(default: undefined)_\n- **--m3e-calendar-slide-animation-duration** - Duration of slide transitions between calendar views. _(default: undefined)_",
|
|
@@ -457,28 +575,6 @@
|
|
|
457
575
|
],
|
|
458
576
|
"references": []
|
|
459
577
|
},
|
|
460
|
-
{
|
|
461
|
-
"name": "m3e-button-group",
|
|
462
|
-
"description": "Organizes buttons and adds interactions between them.\n---\n\n\n### **Slots:**\n - _default_ - Renders the buttons of the group.\n\n### **CSS Properties:**\n - **--m3e-standard-button-group-extra-small-spacing** - Spacing between buttons in standard variant, extra-small size. _(default: undefined)_\n- **--m3e-standard-button-group-small-spacing** - Spacing between buttons in standard variant, small size. _(default: undefined)_\n- **--m3e-standard-button-group-medium-spacing** - Spacing between buttons in standard variant, medium size. _(default: undefined)_\n- **--m3e-standard-button-group-large-spacing** - Spacing between buttons in standard variant, large size. _(default: undefined)_\n- **--m3e-standard-button-group-extra-large-spacing** - Spacing between buttons in standard variant, extra-large size. _(default: undefined)_\n- **--m3e-connected-button-group-spacing** - Spacing between buttons in connected variant. _(default: undefined)_\n- **--m3e-connected-button-group-extra-small-inner-shape** - Corner shape for connected variant, extra-small size. _(default: undefined)_\n- **--m3e-connected-button-group-extra-small-inner-pressed-shape** - Pressed corner shape for connected variant, extra-small size. _(default: undefined)_\n- **--m3e-connected-button-group-small-inner-shape** - Corner shape for connected variant, small size. _(default: undefined)_\n- **--m3e-connected-button-group-small-inner-pressed-shape** - Pressed corner shape for connected variant, small size. _(default: undefined)_\n- **--m3e-connected-button-group-medium-inner-shape** - Corner shape for connected variant, medium size. _(default: undefined)_\n- **--m3e-connected-button-group-medium-inner-pressed-shape** - Pressed corner shape for connected variant, medium size. _(default: undefined)_\n- **--m3e-connected-button-group-large-inner-shape** - Corner shape for connected variant, large size. _(default: undefined)_\n- **--m3e-connected-button-group-large-inner-pressed-shape** - Pressed corner shape for connected variant, large size. _(default: undefined)_\n- **--m3e-connected-button-group-extra-large-inner-shape** - Corner shape for connected variant, extra-large size. _(default: undefined)_\n- **--m3e-connected-button-group-extra-large-inner-pressed-shape** - Pressed corner shape for connected variant, extra-large size. _(default: undefined)_",
|
|
463
|
-
"attributes": [
|
|
464
|
-
{
|
|
465
|
-
"name": "multi",
|
|
466
|
-
"description": "Whether multiple toggle buttons can be selected.",
|
|
467
|
-
"values": []
|
|
468
|
-
},
|
|
469
|
-
{
|
|
470
|
-
"name": "size",
|
|
471
|
-
"description": "The size of the group.",
|
|
472
|
-
"values": [{ "name": "ButtonGroupSize" }]
|
|
473
|
-
},
|
|
474
|
-
{
|
|
475
|
-
"name": "variant",
|
|
476
|
-
"description": "The appearance variant of the group.",
|
|
477
|
-
"values": [{ "name": "ButtonGroupVariant" }]
|
|
478
|
-
}
|
|
479
|
-
],
|
|
480
|
-
"references": []
|
|
481
|
-
},
|
|
482
578
|
{
|
|
483
579
|
"name": "m3e-card",
|
|
484
580
|
"description": "A content container for text, images (or other media), and actions in the context of a single subject.\n---\n\n\n### **Events:**\n - **click** - Emitted when the element is clicked.\n\n### **Slots:**\n - _default_ - Renders the content of the card without padding.\n- **header** - Renders the header of the card.\n- **content** - Renders the content of the card with padding.\n- **actions** - Renders the actions of the card.\n- **footer** - Renders the footer of the card.\n\n### **CSS Properties:**\n - **--m3e-card-padding** - Internal spacing for all slotted regions _(default: undefined)_\n- **--m3e-card-shape** - Corner radius of the card container. _(default: undefined)_\n- **--m3e-filled-card-text-color** - Foreground color for text content in filled cards. _(default: undefined)_\n- **--m3e-filled-card-container-color** - Background color of the filled card container. _(default: undefined)_\n- **--m3e-filled-card-container-elevation** - Elevation level for filled card container. _(default: undefined)_\n- **--m3e-filled-card-disabled-text-color** - Text color when filled card is disabled. _(default: undefined)_\n- **--m3e-filled-card-disabled-text-opacity** - Opacity applied to text when disabled. _(default: undefined)_\n- **--m3e-filled-card-disabled-container-color** - Background color when disabled. _(default: undefined)_\n- **--m3e-filled-card-disabled-container-elevation** - Elevation level when disabled. _(default: undefined)_\n- **--m3e-filled-card-disabled-container-elevation-color** - Shadow color when disabled. _(default: undefined)_\n- **--m3e-filled-card-disabled-container-elevation-opacity** - Shadow opacity when disabled. _(default: undefined)_\n- **--m3e-filled-card-disabled-container-opacity** - Overall container opacity when disabled. _(default: undefined)_\n- **--m3e-filled-card-hover-text-color** - Text color on hover. _(default: undefined)_\n- **--m3e-filled-card-hover-state-layer-color** - State layer color on hover. _(default: undefined)_\n- **--m3e-filled-card-hover-state-layer-opacity** - State layer opacity on hover. _(default: undefined)_\n- **--m3e-filled-card-hover-container-elevation** - Elevation level on hover. _(default: undefined)_\n- **--m3e-filled-card-focus-text-color** - Text color on focus. _(default: undefined)_\n- **--m3e-filled-card-focus-state-layer-color** - State layer color on focus. _(default: undefined)_\n- **--m3e-filled-card-focus-state-layer-opacity** - State layer opacity on focus. _(default: undefined)_\n- **--m3e-filled-card-focus-container-elevation** - Elevation level on focus. _(default: undefined)_\n- **--m3e-filled-card-pressed-text-color** - Text color on press. _(default: undefined)_\n- **--m3e-filled-card-pressed-state-layer-color** - State layer color on press. _(default: undefined)_\n- **--m3e-filled-card-pressed-state-layer-opacity** - State layer opacity on press. _(default: undefined)_\n- **--m3e-filled-card-pressed-container-elevation** - Elevation level on press. _(default: undefined)_\n- **--m3e-elevated-card-text-color** - Foreground color for text content in elevated cards. _(default: undefined)_\n- **--m3e-elevated-card-container-color** - Background color of the elevated card container. _(default: undefined)_\n- **--m3e-elevated-card-container-elevation** - Elevation level for elevated card container. _(default: undefined)_\n- **--m3e-elevated-card-disabled-text-color** - Text color when elevated card is disabled. _(default: undefined)_\n- **--m3e-elevated-card-disabled-text-opacity** - Opacity applied to text when disabled. _(default: undefined)_\n- **--m3e-elevated-card-disabled-container-color** - Background color when disabled. _(default: undefined)_\n- **--m3e-elevated-card-disabled-container-elevation** - Elevation level when disabled. _(default: undefined)_\n- **--m3e-elevated-card-disabled-container-elevation-color** - Shadow color when disabled. _(default: undefined)_\n- **--m3e-elevated-card-disabled-container-elevation-opacity** - Shadow opacity when disabled. _(default: undefined)_\n- **--m3e-elevated-card-disabled-container-opacity** - Overall container opacity when disabled. _(default: undefined)_\n- **--m3e-elevated-card-hover-text-color** - Text color on hover. _(default: undefined)_\n- **--m3e-elevated-card-hover-state-layer-color** - State layer color on hover. _(default: undefined)_\n- **--m3e-elevated-card-hover-state-layer-opacity** - State layer opacity on hover. _(default: undefined)_\n- **--m3e-elevated-card-hover-container-elevation** - Elevation level on hover. _(default: undefined)_\n- **--m3e-elevated-card-focus-text-color** - Text color on focus. _(default: undefined)_\n- **--m3e-elevated-card-focus-state-layer-color** - State layer color on focus. _(default: undefined)_\n- **--m3e-elevated-card-focus-state-layer-opacity** - State layer opacity on focus. _(default: undefined)_\n- **--m3e-elevated-card-focus-container-elevation** - Elevation level on focus. _(default: undefined)_\n- **--m3e-elevated-card-pressed-text-color** - Text color on press. _(default: undefined)_\n- **--m3e-elevated-card-pressed-state-layer-color** - State layer color on press. _(default: undefined)_\n- **--m3e-elevated-card-pressed-state-layer-opacity** - State layer opacity on press. _(default: undefined)_\n- **--m3e-elevated-card-pressed-container-elevation** - Elevation level on press. _(default: undefined)_\n- **--m3e-outlined-card-text-color** - Foreground color for text content in outlined cards. _(default: undefined)_\n- **--m3e-outlined-card-container-color** - Background color of the outlined card container. _(default: undefined)_\n- **--m3e-outlined-card-container-elevation** - Elevation level for outlined card container. _(default: undefined)_\n- **--m3e-outlined-card-outline-color** - Border color for outlined cards. _(default: undefined)_\n- **--m3e-outlined-card-outline-thickness** - Border thickness for outlined cards. _(default: undefined)_\n- **--m3e-outlined-card-disabled-text-color** - Text color when outlined card is disabled. _(default: undefined)_\n- **--m3e-outlined-card-disabled-text-opacity** - Opacity applied to text when disabled. _(default: undefined)_\n- **--m3e-outlined-card-disabled-container-elevation** - Elevation level when disabled. _(default: undefined)_\n- **--m3e-outlined-card-disabled-container-elevation-color** - Shadow color when disabled. _(default: undefined)_\n- **--m3e-outlined-card-disabled-container-elevation-opacity** - Shadow opacity when disabled. _(default: undefined)_\n- **--m3e-outlined-card-disabled-outline-color** - Border color when disabled. _(default: undefined)_\n- **--m3e-outlined-card-disabled-outline-opacity** - Border opacity when disabled. _(default: undefined)_\n- **--m3e-outlined-card-hover-text-color** - Text color on hover. _(default: undefined)_\n- **--m3e-outlined-card-hover-state-layer-color** - State layer color on hover. _(default: undefined)_\n- **--m3e-outlined-card-hover-state-layer-opacity** - State layer opacity on hover. _(default: undefined)_\n- **--m3e-outlined-card-hover-container-elevation** - Elevation level on hover. _(default: undefined)_\n- **--m3e-outlined-card-hover-outline-color** - Border color on hover. _(default: undefined)_\n- **--m3e-outlined-card-focus-text-color** - Text color on focus. _(default: undefined)_\n- **--m3e-outlined-card-focus-state-layer-color** - State layer color on focus. _(default: undefined)_\n- **--m3e-outlined-card-focus-state-layer-opacity** - State layer opacity on focus. _(default: undefined)_\n- **--m3e-outlined-card-focus-container-elevation** - Elevation level on focus. _(default: undefined)_\n- **--m3e-outlined-card-focus-outline-color** - Border color on focus. _(default: undefined)_\n- **--m3e-outlined-card-pressed-text-color** - Text color on press. _(default: undefined)_\n- **--m3e-outlined-card-pressed-state-layer-color** - State layer color on press. _(default: undefined)_\n- **--m3e-outlined-card-pressed-state-layer-opacity** - State layer opacity on press. _(default: undefined)_\n- **--m3e-outlined-card-pressed-container-elevation** - Elevation level on press. _(default: undefined)_\n- **--m3e-outlined-card-pressed-outline-color** - Border color on press. _(default: undefined)_",
|
|
@@ -859,6 +955,12 @@
|
|
|
859
955
|
],
|
|
860
956
|
"references": []
|
|
861
957
|
},
|
|
958
|
+
{
|
|
959
|
+
"name": "m3e-content-pane",
|
|
960
|
+
"description": "A shaped surface for vertically scrollable content.\n---\n\n\n### **Slots:**\n - _default_ - Renders the content of the pane.\n\n### **CSS Properties:**\n - **--m3e-content-pane-container-shape** - Corner radius applied to the pane’s outer surface. _(default: undefined)_\n- **--m3e-content-pane-container-color** - Background color of the pane’s surface. _(default: undefined)_\n- **--m3e-content-pane-container-padding** - Internal padding applied to all sides of the scrollable content. _(default: undefined)_",
|
|
961
|
+
"attributes": [],
|
|
962
|
+
"references": []
|
|
963
|
+
},
|
|
862
964
|
{
|
|
863
965
|
"name": "m3e-datepicker",
|
|
864
966
|
"description": "Presents a date picker on a temporary surface.\n---\n\n\n### **Events:**\n - **change** - Dispatched when the selected date changes.\n- **beforetoggle** - Dispatched before the toggle state changes.\n- **toggle** - Dispatched after the toggle state has changed.\n\n### **Methods:**\n - **show(trigger: _HTMLElement_, anchor: _HTMLElement | undefined_): _Promise<void>_** - Opens the picker.\n- **hide(restoreFocus: _boolean_): _void_** - Hides the picker.\n- **toggle(trigger: _HTMLElement_, anchor: _HTMLElement | undefined_): _Promise<void>_** - Toggles the picker.\n\n### **CSS Properties:**\n - **--m3e-datepicker-container-padding-block** - Block‑axis padding of the date picker container. _(default: undefined)_\n- **--m3e-datepicker-container-padding-inline** - Inline‑axis padding of the date picker container. _(default: undefined)_\n- **--m3e-datepicker-container-color** - Background color of the standard container surface. _(default: undefined)_\n- **--m3e-datepicker-container-elevation** - Elevation shadow applied to the container surface. _(default: undefined)_\n- **--m3e-datepicker-modal-headline-color** - Color used for the modal headline text. _(default: undefined)_\n- **--m3e-datepicker-modal-headline-font-size** - Font size used for the modal headline text. _(default: undefined)_\n- **--m3e-datepicker-modal-headline-font-weight** - Font weight used for the modal headline text. _(default: undefined)_\n- **--m3e-datepicker-modal-headline-line-height** - Line height used for the modal headline text. _(default: undefined)_\n- **--m3e-datepicker-modal-headline-tracking** - Letter spacing used for the modal headline text. _(default: undefined)_\n- **--m3e-datepicker-modal-supporting-text-color** - Color used for supporting text in modal mode. _(default: undefined)_\n- **--m3e-datepicker-modal-supporting-text-font-size** - Font size used for supporting text in modal mode. _(default: undefined)_\n- **--m3e-datepicker-modal-supporting-text-font-weight** - Font weight used for supporting text in modal mode. _(default: undefined)_\n- **--m3e-datepicker-modal-supporting-text-line-height** - Line height used for supporting text in modal mode. _(default: undefined)_\n- **--m3e-datepicker-modal-supporting-text-tracking** - Letter spacing used for supporting text in modal mode. _(default: undefined)_\n- **--m3e-datepicker-actions-padding-inline** - Inline‑axis padding of the action row. _(default: undefined)_\n- **--m3e-datepicker-docked-container-color** - Background color of the container in docked mode. _(default: undefined)_\n- **--m3e-datepicker-docked-container-shape** - Corner radius of the container in docked mode. _(default: undefined)_\n- **--m3e-datepicker-modal-container-color** - Background color of the container in modal mode. _(default: undefined)_\n- **--m3e-datepicker-modal-container-shape** - Corner radius of the container in modal mode. _(default: undefined)_\n- **--m3e-divider-thickness** - Thickness of divider elements within the picker. _(default: undefined)_\n- **--m3e-divider-color** - Color of divider rules within the picker. _(default: undefined)_\n- **--m3e-dialog-scrim-color** - Base color used for the modal scrim behind the picker. _(default: undefined)_\n- **--m3e-dialog-scrim-opacity** - Opacity applied to the scrim color in modal mode. _(default: undefined)_",
|
|
@@ -2295,6 +2397,28 @@
|
|
|
2295
2397
|
],
|
|
2296
2398
|
"references": []
|
|
2297
2399
|
},
|
|
2400
|
+
{
|
|
2401
|
+
"name": "m3e-skeleton",
|
|
2402
|
+
"description": "A visual placeholder that mimics the layout of content while it's still loading.\n---\n\n\n### **Slots:**\n - _default_ - Renders the content to be mimicked by the skeleton.\n\n### **CSS Properties:**\n - **--m3e-skeleton-color** - Base fill color for the skeleton surface. _(default: undefined)_\n- **--m3e-skeleton-tint-color** - Tint fill color for the skeleton surface. _(default: undefined)_\n- **--m3e-skeleton-tint-opacity** - Tint Opacity applied when the skeleton animation is not pulsating. _(default: undefined)_\n- **--m3e-skeleton-accent-color** - Accent color used in wave animation. _(default: undefined)_\n- **--m3e-skeleton-accent-opacity** - Opacity of the accent effect in animations. _(default: undefined)_\n- **--m3e-skeleton-rounded-shape** - Corner radius for the rounded skeleton shape. _(default: undefined)_\n- **--m3e-skeleton-circular-shape** - Corner radius for the circular skeleton shape. _(default: undefined)_\n- **--m3e-skeleton-square-shape** - Corner radius for the square skeleton shape. _(default: undefined)_\n- **--m3e-skeleton-shape** - Corner radius for the skeleton shape. _(default: undefined)_",
|
|
2403
|
+
"attributes": [
|
|
2404
|
+
{
|
|
2405
|
+
"name": "animation",
|
|
2406
|
+
"description": "The animation effect of the skeleton.",
|
|
2407
|
+
"values": [{ "name": "SkeletonAnimation" }]
|
|
2408
|
+
},
|
|
2409
|
+
{
|
|
2410
|
+
"name": "shape",
|
|
2411
|
+
"description": "The shape of the skeleton.",
|
|
2412
|
+
"values": [{ "name": "SkeletonShape" }]
|
|
2413
|
+
},
|
|
2414
|
+
{
|
|
2415
|
+
"name": "loaded",
|
|
2416
|
+
"description": "Whether the content of the skeleton has been loaded.",
|
|
2417
|
+
"values": []
|
|
2418
|
+
}
|
|
2419
|
+
],
|
|
2420
|
+
"references": []
|
|
2421
|
+
},
|
|
2298
2422
|
{
|
|
2299
2423
|
"name": "m3e-slide-group",
|
|
2300
2424
|
"description": "Presents pagination controls used to scroll overflowing content.\n---\n\n\n### **Slots:**\n - _default_ - Renders the content to paginate.\n- **next-icon** - Renders the icon to present for the next button.\n- **prev-icon** - Renders the icon to present for the previous button.\n\n### **CSS Properties:**\n - **--m3e-slide-group-button-icon-size** - Sets icon size for scroll buttons; overrides default small icon size. _(default: undefined)_\n- **--m3e-slide-group-button-size** - Defines scroll button size; used for width (horizontal) or height (vertical). _(default: undefined)_\n- **--m3e-slide-group-divider-top** - Adds top border to content container for visual separation. _(default: undefined)_\n- **--m3e-slide-group-divider-bottom** - Adds bottom border to content container for visual separation. _(default: undefined)_",
|
|
@@ -2327,28 +2451,6 @@
|
|
|
2327
2451
|
],
|
|
2328
2452
|
"references": []
|
|
2329
2453
|
},
|
|
2330
|
-
{
|
|
2331
|
-
"name": "m3e-skeleton",
|
|
2332
|
-
"description": "A visual placeholder that mimics the layout of content while it's still loading.\n---\n\n\n### **Slots:**\n - _default_ - Renders the content to be mimicked by the skeleton.\n\n### **CSS Properties:**\n - **--m3e-skeleton-color** - Base fill color for the skeleton surface. _(default: undefined)_\n- **--m3e-skeleton-tint-color** - Tint fill color for the skeleton surface. _(default: undefined)_\n- **--m3e-skeleton-tint-opacity** - Tint Opacity applied when the skeleton animation is not pulsating. _(default: undefined)_\n- **--m3e-skeleton-accent-color** - Accent color used in wave animation. _(default: undefined)_\n- **--m3e-skeleton-accent-opacity** - Opacity of the accent effect in animations. _(default: undefined)_\n- **--m3e-skeleton-rounded-shape** - Corner radius for the rounded skeleton shape. _(default: undefined)_\n- **--m3e-skeleton-circular-shape** - Corner radius for the circular skeleton shape. _(default: undefined)_\n- **--m3e-skeleton-square-shape** - Corner radius for the square skeleton shape. _(default: undefined)_\n- **--m3e-skeleton-shape** - Corner radius for the skeleton shape. _(default: undefined)_",
|
|
2333
|
-
"attributes": [
|
|
2334
|
-
{
|
|
2335
|
-
"name": "animation",
|
|
2336
|
-
"description": "The animation effect of the skeleton.",
|
|
2337
|
-
"values": [{ "name": "SkeletonAnimation" }]
|
|
2338
|
-
},
|
|
2339
|
-
{
|
|
2340
|
-
"name": "shape",
|
|
2341
|
-
"description": "The shape of the skeleton.",
|
|
2342
|
-
"values": [{ "name": "SkeletonShape" }]
|
|
2343
|
-
},
|
|
2344
|
-
{
|
|
2345
|
-
"name": "loaded",
|
|
2346
|
-
"description": "Whether the content of the skeleton has been loaded.",
|
|
2347
|
-
"values": []
|
|
2348
|
-
}
|
|
2349
|
-
],
|
|
2350
|
-
"references": []
|
|
2351
|
-
},
|
|
2352
2454
|
{
|
|
2353
2455
|
"name": "m3e-slider",
|
|
2354
2456
|
"description": "Allows for the selection of numeric values from a range.\n---\n\n\n### **CSS Properties:**\n - **--m3e-slider-min-width** - Minimum inline size of the slider host. _(default: undefined)_\n- **--m3e-slider-small-height** - Height of the slider when size is small or extra-small. _(default: undefined)_\n- **--m3e-slider-medium-height** - Height of the slider when size is medium. _(default: undefined)_\n- **--m3e-slider-large-height** - Height of the slider when size is large. _(default: undefined)_\n- **--m3e-slider-extra-large-height** - Height of the slider when size is extra-large. _(default: undefined)_\n- **--m3e-slider-small-active-track-shape** - Corner shape of the active track for small sliders. _(default: undefined)_\n- **--m3e-slider-small-inactive-active-track-start-shape** - Corner shape of the inactive track start for small sliders. _(default: undefined)_\n- **--m3e-slider-small-inactive-track-end-shape** - Corner shape of the inactive track end for small sliders. _(default: undefined)_\n- **--m3e-slider-medium-active-track-shape** - Corner shape of the active track for medium sliders. _(default: undefined)_\n- **--m3e-slider-medium-inactive-active-track-start-shape** - Corner shape of the inactive track start for medium sliders. _(default: undefined)_\n- **--m3e-slider-medium-inactive-track-end-shape** - Corner shape of the inactive track end for medium sliders. _(default: undefined)_\n- **--m3e-slider-large-active-track-shape** - Corner shape of the active track for large sliders. _(default: undefined)_\n- **--m3e-slider-large-inactive-active-track-start-shape** - Corner shape of the inactive track start for large sliders. _(default: undefined)_\n- **--m3e-slider-large-inactive-track-end-shape** - Corner shape of the inactive track end for large sliders. _(default: undefined)_\n- **--m3e-slider-extra-large-active-track-shape** - Corner shape of the active track for extra-large sliders. _(default: undefined)_\n- **--m3e-slider-extra-large-inactive-active-track-start-shape** - Corner shape of the inactive track start for extra-large sliders. _(default: undefined)_\n- **--m3e-slider-extra-large-inactive-track-end-shape** - Corner shape of the inactive track end for extra-large sliders. _(default: undefined)_\n- **--m3e-slider-extra-small-track-height** - Height of the track for extra-small sliders. _(default: undefined)_\n- **--m3e-slider-small-track-height** - Height of the track for small sliders. _(default: undefined)_\n- **--m3e-slider-medium-track-height** - Height of the track for medium sliders. _(default: undefined)_\n- **--m3e-slider-large-track-height** - Height of the track for large sliders. _(default: undefined)_\n- **--m3e-slider-extra-large-track-height** - Height of the track for extra-large sliders. _(default: undefined)_\n- **--m3e-slider-tick-size** - Size of each tick mark. _(default: undefined)_\n- **--m3e-slider-tick-shape** - Corner shape of each tick mark. _(default: undefined)_\n- **--m3e-slider-inactive-track-color** - Background color of the inactive track when enabled. _(default: undefined)_\n- **--m3e-slider-disabled-inactive-track-color** - Base color of the inactive track when disabled. _(default: undefined)_\n- **--m3e-slider-disabled-inactive-track-opacity** - Opacity of the inactive track when disabled. _(default: undefined)_\n- **--m3e-slider-active-track-color** - Background color of the active track when enabled. _(default: undefined)_\n- **--m3e-slider-disabled-active-track-color** - Base color of the active track when disabled. _(default: undefined)_\n- **--m3e-slider-disabled-active-track-opacity** - Opacity of the active track when disabled. _(default: undefined)_\n- **--m3e-slider-tick-active-color** - Color of active ticks when enabled. _(default: undefined)_\n- **--m3e-slider-disabled-tick-active-color** - Color of active ticks when disabled. _(default: undefined)_\n- **--m3e-slider-tick-inactive-color** - Color of inactive ticks when enabled. _(default: undefined)_\n- **--m3e-slider-disabled-tick-inactive-color** - Color of inactive ticks when disabled. _(default: undefined)_",
|
|
@@ -2486,6 +2588,11 @@
|
|
|
2486
2588
|
"description": "The orientation of the split.",
|
|
2487
2589
|
"values": [{ "name": "SplitPaneOrientation" }]
|
|
2488
2590
|
},
|
|
2591
|
+
{
|
|
2592
|
+
"name": "overshoot-limit",
|
|
2593
|
+
"description": "A fractional value, between 0 and 100, indicating the maximum visual overshoot allowed when dragging past the minimum or maximum size.",
|
|
2594
|
+
"values": []
|
|
2595
|
+
},
|
|
2489
2596
|
{
|
|
2490
2597
|
"name": "step",
|
|
2491
2598
|
"description": "A fractional value, between 0 and 100, indicating the increment by which to adjust the value when resized via keyboard.",
|
|
@@ -2811,33 +2918,6 @@
|
|
|
2811
2918
|
],
|
|
2812
2919
|
"references": []
|
|
2813
2920
|
},
|
|
2814
|
-
{
|
|
2815
|
-
"name": "m3e-toolbar",
|
|
2816
|
-
"description": "Presents frequently used actions relevant to the current page.\n---\n\n\n### **Slots:**\n - _default_ - Renders the content of the toolbar.\n\n### **CSS Properties:**\n - **--m3e-toolbar-size** - The size (height or width) of the toolbar. _(default: undefined)_\n- **--m3e-toolbar-spacing** - The gap between toolbar items. _(default: undefined)_\n- **--m3e-toolbar-rounded-shape** - Border radius for rounded shape. _(default: undefined)_\n- **--m3e-toolbar-rounded-padding** - Padding for rounded shape. _(default: undefined)_\n- **--m3e-toolbar-square-padding** - Padding for square shape. _(default: undefined)_\n- **--m3e-toolbar-standard-container-color** - Container color for the standard variant. _(default: undefined)_\n- **--m3e-toolbar-standard-color** - Foreground color for the standard variant. _(default: undefined)_\n- **--m3e-toolbar-vibrant-container-color** - Container color for the vibrant variant. _(default: undefined)_\n- **--m3e-toolbar-vibrant-color** - Foreground color for the vibrant variant. _(default: undefined)_",
|
|
2817
|
-
"attributes": [
|
|
2818
|
-
{
|
|
2819
|
-
"name": "elevated",
|
|
2820
|
-
"description": "Whether the toolbar is elevated.",
|
|
2821
|
-
"values": []
|
|
2822
|
-
},
|
|
2823
|
-
{
|
|
2824
|
-
"name": "shape",
|
|
2825
|
-
"description": "The shape of the toolbar.",
|
|
2826
|
-
"values": [{ "name": "ToolbarShape" }]
|
|
2827
|
-
},
|
|
2828
|
-
{
|
|
2829
|
-
"name": "variant",
|
|
2830
|
-
"description": "The appearance variant of the toolbar.",
|
|
2831
|
-
"values": [{ "name": "ToolbarVariant" }]
|
|
2832
|
-
},
|
|
2833
|
-
{
|
|
2834
|
-
"name": "vertical",
|
|
2835
|
-
"description": "Whether the element is oriented vertically.",
|
|
2836
|
-
"values": []
|
|
2837
|
-
}
|
|
2838
|
-
],
|
|
2839
|
-
"references": []
|
|
2840
|
-
},
|
|
2841
2921
|
{
|
|
2842
2922
|
"name": "m3e-rich-tooltip-action",
|
|
2843
2923
|
"description": "An element, nested within a clickable element, used to dismiss a parenting rich tooltip.\n---\n\n\n### **Methods:**\n \n\n### **Slots:**\n - _default_ - Renders the content of the action.",
|
|
@@ -2924,6 +3004,33 @@
|
|
|
2924
3004
|
],
|
|
2925
3005
|
"references": []
|
|
2926
3006
|
},
|
|
3007
|
+
{
|
|
3008
|
+
"name": "m3e-toolbar",
|
|
3009
|
+
"description": "Presents frequently used actions relevant to the current page.\n---\n\n\n### **Slots:**\n - _default_ - Renders the content of the toolbar.\n\n### **CSS Properties:**\n - **--m3e-toolbar-size** - The size (height or width) of the toolbar. _(default: undefined)_\n- **--m3e-toolbar-spacing** - The gap between toolbar items. _(default: undefined)_\n- **--m3e-toolbar-rounded-shape** - Border radius for rounded shape. _(default: undefined)_\n- **--m3e-toolbar-rounded-padding** - Padding for rounded shape. _(default: undefined)_\n- **--m3e-toolbar-square-padding** - Padding for square shape. _(default: undefined)_\n- **--m3e-toolbar-standard-container-color** - Container color for the standard variant. _(default: undefined)_\n- **--m3e-toolbar-standard-color** - Foreground color for the standard variant. _(default: undefined)_\n- **--m3e-toolbar-vibrant-container-color** - Container color for the vibrant variant. _(default: undefined)_\n- **--m3e-toolbar-vibrant-color** - Foreground color for the vibrant variant. _(default: undefined)_",
|
|
3010
|
+
"attributes": [
|
|
3011
|
+
{
|
|
3012
|
+
"name": "elevated",
|
|
3013
|
+
"description": "Whether the toolbar is elevated.",
|
|
3014
|
+
"values": []
|
|
3015
|
+
},
|
|
3016
|
+
{
|
|
3017
|
+
"name": "shape",
|
|
3018
|
+
"description": "The shape of the toolbar.",
|
|
3019
|
+
"values": [{ "name": "ToolbarShape" }]
|
|
3020
|
+
},
|
|
3021
|
+
{
|
|
3022
|
+
"name": "variant",
|
|
3023
|
+
"description": "The appearance variant of the toolbar.",
|
|
3024
|
+
"values": [{ "name": "ToolbarVariant" }]
|
|
3025
|
+
},
|
|
3026
|
+
{
|
|
3027
|
+
"name": "vertical",
|
|
3028
|
+
"description": "Whether the element is oriented vertically.",
|
|
3029
|
+
"values": []
|
|
3030
|
+
}
|
|
3031
|
+
],
|
|
3032
|
+
"references": []
|
|
3033
|
+
},
|
|
2927
3034
|
{
|
|
2928
3035
|
"name": "m3e-tree",
|
|
2929
3036
|
"description": "Presents hierarchical data in a tree structure.\n---\n\n\n### **Events:**\n - **change** - Emitted when the selected state changes.\n\n### **Methods:**\n - **expand(descendants: _boolean_): _void_** - Expands all items, and optionally, all descendants.\n- **expand(items: _M3eTreeItemElement[]_, descendants: _boolean_): _void_** - Expands the specified items, and optionally, all descendants.\n- **collapse(descendants: _boolean_): _void_** - Collapses all items, and optionally, all descendants.\n- **collapse(items: _M3eTreeItemElement[]_, descendants: _boolean_): _void_** - Collapses the specified items, and optionally, all descendants.\n- **select(item: _M3eTreeItemElement_, activate: _boolean_): _void_** - Selects the specified item.\n- **deselect(item: _M3eTreeItemElement_): _void_** - Deselects the specified item.\n\n### **Slots:**\n - _default_ - Renders the items of the tree.\n\n### **CSS Properties:**\n - **--m3e-tree-scrollbar-width** - Width of the tree scrollbar. _(default: undefined)_\n- **--m3e-tree-scrollbar-color** - Color of the tree scrollbar. _(default: undefined)_",
|
package/dist/list.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* See LICENSE file in the project root for full license text.
|
|
5
5
|
*/
|
|
6
6
|
import { __classPrivateFieldGet, __classPrivateFieldSet, __decorate } from 'tslib';
|
|
7
|
-
import { ReconnectedCallback, AttachInternals, Role, ResizeController, setCustomState, computeLineCount, DesignToken, customElement,
|
|
7
|
+
import { ReconnectedCallback, AttachInternals, Role, ResizeController, setCustomState, computeLineCount, DesignToken, customElement, KeyboardClick, LinkButton, Focusable, Disabled, FocusController, PressedController, HoverController, renderPseudoLink, Selected, getTextContent, Labelled, Dirty, Touched, FormAssociated, formValue } from '@m3e/web/core';
|
|
8
8
|
import { selectionManager, RovingTabIndexManager, SelectionManager } from '@m3e/web/core/a11y';
|
|
9
9
|
import { LitElement, html, unsafeCSS, css } from 'lit';
|
|
10
10
|
import { property, query } from 'lit/decorators.js';
|
|
@@ -643,6 +643,40 @@ _M3eActionListElement_keyDownHandler = new WeakMap();
|
|
|
643
643
|
_a$1 = selectionManager;
|
|
644
644
|
M3eActionListElement = __decorate([customElement("m3e-action-list")], M3eActionListElement);
|
|
645
645
|
|
|
646
|
+
/**
|
|
647
|
+
* @internal
|
|
648
|
+
* An internal interactive element used to present the content of a list item.
|
|
649
|
+
*/
|
|
650
|
+
let M3eListItemButtonElement = class M3eListItemButtonElement extends KeyboardClick(LinkButton(Focusable(Disabled(AttachInternals(Role(M3eListItemElement, "button"), true))))) {
|
|
651
|
+
constructor() {
|
|
652
|
+
super();
|
|
653
|
+
new FocusController(this, {
|
|
654
|
+
callback: (_, focusVisible) => this.shadowRoot?.querySelector(".base")?.classList.toggle("focus-visible", focusVisible)
|
|
655
|
+
});
|
|
656
|
+
new PressedController(this, {
|
|
657
|
+
callback: pressed => this.shadowRoot?.querySelector(".base")?.classList.toggle("pressed", pressed)
|
|
658
|
+
});
|
|
659
|
+
new HoverController(this, {
|
|
660
|
+
callback: hovering => this.shadowRoot?.querySelector(".base")?.classList.toggle("hover", hovering)
|
|
661
|
+
});
|
|
662
|
+
}
|
|
663
|
+
/** @inheritdoc */
|
|
664
|
+
firstUpdated(_changedProperties) {
|
|
665
|
+
super.firstUpdated(_changedProperties);
|
|
666
|
+
[this._focusRing, this._stateLayer, this._ripple].forEach(x => x?.attach(this));
|
|
667
|
+
}
|
|
668
|
+
/** @inheritdoc */
|
|
669
|
+
render() {
|
|
670
|
+
return html`<div class="base"><m3e-state-layer class="state-layer" ?disabled="${this.disabled}"></m3e-state-layer><m3e-focus-ring class="focus-ring" inward ?disabled="${this.disabled}"></m3e-focus-ring><m3e-ripple class="ripple" ?disabled="${this.disabled}"></m3e-ripple>${this[renderPseudoLink]()} ${super._renderBase()}</div>`;
|
|
671
|
+
}
|
|
672
|
+
};
|
|
673
|
+
/** The styles of the element. */
|
|
674
|
+
M3eListItemButtonElement.styles = [M3eListItemElement.styles, css`:host { outline: none; user-select: none; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); } .base { position: relative; } :host(:not(:disabled)) { cursor: pointer; } a { all: unset; display: block; position: absolute; top: 0px; left: 0px; right: 0px; bottom: 0px; z-index: 1; } slot[name="trailing"] { align-self: var(--_list-item-button-trailing-align-self, auto); }`];
|
|
675
|
+
__decorate([query(".focus-ring")], M3eListItemButtonElement.prototype, "_focusRing", void 0);
|
|
676
|
+
__decorate([query(".state-layer")], M3eListItemButtonElement.prototype, "_stateLayer", void 0);
|
|
677
|
+
__decorate([query(".ripple")], M3eListItemButtonElement.prototype, "_ripple", void 0);
|
|
678
|
+
M3eListItemButtonElement = __decorate([customElement("m3e-list-item-button")], M3eListItemButtonElement);
|
|
679
|
+
|
|
646
680
|
var _M3eListActionElement_instances, _M3eListActionElement_handleClick;
|
|
647
681
|
/**
|
|
648
682
|
* An item in a list that performs an action.
|
|
@@ -724,7 +758,7 @@ var _M3eListActionElement_instances, _M3eListActionElement_handleClick;
|
|
|
724
758
|
* @cssprop --m3e-list-item-three-line-top-offset - Top offset for media in three line items.
|
|
725
759
|
* @cssprop --m3e-list-item-disabled-media-opacity - Opacity for media when disabled.
|
|
726
760
|
*/
|
|
727
|
-
let M3eListActionElement = class M3eListActionElement extends LinkButton(M3eListItemElement) {
|
|
761
|
+
let M3eListActionElement = class M3eListActionElement extends LinkButton(M3eListItemElement, true) {
|
|
728
762
|
constructor() {
|
|
729
763
|
super(...arguments);
|
|
730
764
|
_M3eListActionElement_instances.add(this);
|
|
@@ -766,40 +800,6 @@ __decorate([property({
|
|
|
766
800
|
})], M3eListActionElement.prototype, "disabled", void 0);
|
|
767
801
|
M3eListActionElement = __decorate([customElement("m3e-list-action")], M3eListActionElement);
|
|
768
802
|
|
|
769
|
-
/**
|
|
770
|
-
* @internal
|
|
771
|
-
* An internal interactive element used to present the content of a list item.
|
|
772
|
-
*/
|
|
773
|
-
let M3eListItemButtonElement = class M3eListItemButtonElement extends KeyboardClick(LinkButton(Focusable(Disabled(AttachInternals(Role(M3eListItemElement, "button"), true))))) {
|
|
774
|
-
constructor() {
|
|
775
|
-
super();
|
|
776
|
-
new FocusController(this, {
|
|
777
|
-
callback: (_, focusVisible) => this.shadowRoot?.querySelector(".base")?.classList.toggle("focus-visible", focusVisible)
|
|
778
|
-
});
|
|
779
|
-
new PressedController(this, {
|
|
780
|
-
callback: pressed => this.shadowRoot?.querySelector(".base")?.classList.toggle("pressed", pressed)
|
|
781
|
-
});
|
|
782
|
-
new HoverController(this, {
|
|
783
|
-
callback: hovering => this.shadowRoot?.querySelector(".base")?.classList.toggle("hover", hovering)
|
|
784
|
-
});
|
|
785
|
-
}
|
|
786
|
-
/** @inheritdoc */
|
|
787
|
-
firstUpdated(_changedProperties) {
|
|
788
|
-
super.firstUpdated(_changedProperties);
|
|
789
|
-
[this._focusRing, this._stateLayer, this._ripple].forEach(x => x?.attach(this));
|
|
790
|
-
}
|
|
791
|
-
/** @inheritdoc */
|
|
792
|
-
render() {
|
|
793
|
-
return html`<div class="base"><m3e-state-layer class="state-layer" ?disabled="${this.disabled}"></m3e-state-layer><m3e-focus-ring class="focus-ring" inward ?disabled="${this.disabled}"></m3e-focus-ring><m3e-ripple class="ripple" ?disabled="${this.disabled}"></m3e-ripple>${this[renderPseudoLink]()} ${super._renderBase()}</div>`;
|
|
794
|
-
}
|
|
795
|
-
};
|
|
796
|
-
/** The styles of the element. */
|
|
797
|
-
M3eListItemButtonElement.styles = [M3eListItemElement.styles, css`:host { outline: none; user-select: none; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); } .base { position: relative; } :host(:not(:disabled)) { cursor: pointer; } a { all: unset; display: block; position: absolute; top: 0px; left: 0px; right: 0px; bottom: 0px; z-index: 1; } slot[name="trailing"] { align-self: var(--_list-item-button-trailing-align-self, auto); }`];
|
|
798
|
-
__decorate([query(".focus-ring")], M3eListItemButtonElement.prototype, "_focusRing", void 0);
|
|
799
|
-
__decorate([query(".state-layer")], M3eListItemButtonElement.prototype, "_stateLayer", void 0);
|
|
800
|
-
__decorate([query(".ripple")], M3eListItemButtonElement.prototype, "_ripple", void 0);
|
|
801
|
-
M3eListItemButtonElement = __decorate([customElement("m3e-list-item-button")], M3eListItemButtonElement);
|
|
802
|
-
|
|
803
803
|
var _M3eListOptionElement_instances, _M3eListOptionElement_value, _M3eListOptionElement_textContent, _M3eListOptionElement_clickHandler, _M3eListOptionElement_handleSlotChange, _M3eListOptionElement_handleClick;
|
|
804
804
|
/**
|
|
805
805
|
* A selectable option in a list.
|
|
@@ -1136,5 +1136,5 @@ __decorate([property({
|
|
|
1136
1136
|
})], M3eSelectionListElement.prototype, "hideSelectionIndicator", void 0);
|
|
1137
1137
|
M3eSelectionListElement = __decorate([customElement("m3e-selection-list")], M3eSelectionListElement);
|
|
1138
1138
|
|
|
1139
|
-
export { M3eActionListElement, M3eExpandableListItemElement, M3eListActionElement, M3eListElement,
|
|
1139
|
+
export { M3eActionListElement, M3eExpandableListItemElement, M3eListActionElement, M3eListElement, M3eListItemElement, M3eListOptionElement, M3eSelectionListElement };
|
|
1140
1140
|
//# sourceMappingURL=list.js.map
|