@cscfi/csc-ui 4.0.0-alpha.3 → 4.0.0-alpha.30
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/dist/csc-ui.js +14328 -8058
- package/dist/custom-elements.json +8952 -4605
- package/dist/docs/c-alert/usage.md +24 -0
- package/dist/docs/c-autocomplete/usage.md +152 -0
- package/dist/docs/c-breadcrumb/usage.md +104 -0
- package/dist/docs/c-breadcrumb-item/usage.md +1 -0
- package/dist/docs/c-button-group/usage.md +14 -1
- package/dist/docs/c-checkbox/usage.md +53 -0
- package/dist/docs/c-date-picker/usage.md +224 -0
- package/dist/docs/c-main/usage.md +21 -1
- package/dist/docs/c-menu/usage.md +15 -0
- package/dist/docs/c-menu-item/usage.md +6 -0
- package/dist/docs/c-number-field/usage.md +112 -0
- package/dist/docs/c-option-value/usage.md +1 -0
- package/dist/docs/c-popover/usage.md +33 -0
- package/dist/docs/c-progress-bar/usage.md +23 -0
- package/dist/docs/c-progress-circle/usage.md +25 -0
- package/dist/docs/c-radio/usage.md +45 -0
- package/dist/docs/c-radio-group/usage.md +67 -0
- package/dist/docs/c-select/usage.md +127 -0
- package/dist/docs/c-side-navigation/usage.md +21 -0
- package/dist/docs/c-spinner/usage.md +21 -0
- package/dist/docs/c-switch/usage.md +36 -0
- package/dist/docs/c-tab-buttons/usage.md +7 -0
- package/dist/docs/c-table/usage.md +14 -0
- package/dist/docs/c-text-field/usage.md +106 -0
- package/dist/docs/c-time-picker/usage.md +170 -0
- package/dist/docs/c-toolbar/usage.md +17 -0
- package/dist/docs/c-tooltip/usage.md +30 -0
- package/dist/docs/c-tree-select/usage.md +156 -0
- package/dist/floating-ui.dom-DvzxEaDJ.js +1292 -0
- package/dist/styles/css/tailwind-theme.css +33 -0
- package/dist/styles/css/tokens.css +719 -197
- package/dist/vscode.css-custom-data.json +474 -20
- package/dist/vscode.html-custom-data.json +659 -57
- package/dist/web-types.json +2813 -697
- package/dist-types/components/c-alert/CAlert.vue.d.ts +18 -4
- package/dist-types/components/c-autocomplete/CAutocomplete.vue.d.ts +118 -21
- package/dist-types/components/c-breadcrumb/CBreadcrumb.vue.d.ts +35 -0
- package/dist-types/components/c-breadcrumb/fit.d.ts +29 -0
- package/dist-types/components/c-breadcrumb-item/CBreadcrumbItem.vue.d.ts +31 -0
- package/dist-types/components/c-button/CButton.vue.d.ts +4 -4
- package/dist-types/components/c-button-group/CButtonGroup.vue.d.ts +1 -1
- package/dist-types/components/c-checkbox/CCheckbox.vue.d.ts +3 -3
- package/dist-types/components/c-data-table/CDataTable.vue.d.ts +6 -2
- package/dist-types/components/c-date-picker/CDatePicker.vue.d.ts +282 -0
- package/dist-types/components/c-date-picker/dates.d.ts +119 -0
- package/dist-types/components/c-dropdown/CDropdown.vue.d.ts +50 -7
- package/dist-types/components/c-icon-button/CIconButton.vue.d.ts +1 -1
- package/dist-types/components/c-input/CInput.vue.d.ts +6 -6
- package/dist-types/components/c-list-item/CListItem.vue.d.ts +1 -1
- package/dist-types/components/c-main/CMain.vue.d.ts +10 -2
- package/dist-types/components/c-menu/CMenu.vue.d.ts +13 -3
- package/dist-types/components/c-menu-item/CMenuItem.vue.d.ts +30 -3
- package/dist-types/components/c-number-field/CNumberField.vue.d.ts +174 -0
- package/dist-types/components/c-number-field/numbers.d.ts +58 -0
- package/dist-types/components/c-otp-input/COtpInput.vue.d.ts +1 -1
- package/dist-types/components/c-pagination/CPagination.vue.d.ts +1 -1
- package/dist-types/components/c-popover/CPopover.vue.d.ts +43 -0
- package/dist-types/components/c-progress-circle/CProgressCircle.vue.d.ts +32 -0
- package/dist-types/components/c-radio/CRadio.vue.d.ts +7 -11
- package/dist-types/components/c-radio-group/CRadioGroup.vue.d.ts +10 -48
- package/dist-types/components/c-select/CSelect.vue.d.ts +115 -27
- package/dist-types/components/c-side-navigation/CSideNavigation.vue.d.ts +1 -1
- package/dist-types/components/c-side-navigation-item/CSideNavigationItem.vue.d.ts +1 -1
- package/dist-types/components/c-slider/CSlider.vue.d.ts +3 -3
- package/dist-types/components/c-sub-navigation-item/CSubNavigationItem.vue.d.ts +1 -1
- package/dist-types/components/c-tab-buttons/CTabButtons.vue.d.ts +1 -1
- package/dist-types/components/c-table/CTable.vue.d.ts +11 -1
- package/dist-types/components/c-table/injectTableStyles.d.ts +1 -0
- package/dist-types/components/c-tag/CTag.vue.d.ts +7 -0
- package/dist-types/components/c-tags/CTags.vue.d.ts +1 -1
- package/dist-types/components/c-text-field/CTextField.vue.d.ts +27 -10
- package/dist-types/components/c-time-picker/CTimePicker.vue.d.ts +210 -0
- package/dist-types/components/c-time-picker/times.d.ts +82 -0
- package/dist-types/components/c-toasts/CToasts.vue.d.ts +1 -1
- package/dist-types/components/c-toolbar/CToolbar.vue.d.ts +10 -1
- package/dist-types/components/c-tooltip/CTooltip.vue.d.ts +49 -0
- package/dist-types/components/c-tree-select/CTreeSelect.vue.d.ts +261 -0
- package/dist-types/index.d.ts +19 -2
- package/dist-types/shared/FieldMessage.vue.d.ts +21 -0
- package/dist-types/shared/PanelHeadingRow.vue.d.ts +13 -0
- package/dist-types/shared/SelectionIndicator.vue.d.ts +21 -0
- package/dist-types/shared/TypedField.vue.d.ts +46 -0
- package/dist-types/shared/appDefaults.d.ts +75 -0
- package/dist-types/shared/defineElement.d.ts +1 -0
- package/dist-types/shared/inputMask.d.ts +106 -0
- package/dist-types/shared/lightDismiss.d.ts +35 -0
- package/dist-types/shared/modalStack.d.ts +4 -3
- package/dist-types/shared/optionLabel.d.ts +18 -0
- package/dist-types/shared/pageLock.d.ts +26 -0
- package/dist-types/shared/peekCap.d.ts +35 -0
- package/dist-types/shared/popoverChain.d.ts +65 -0
- package/dist-types/shared/positionArea.d.ts +13 -0
- package/dist-types/shared/reducedMotion.d.ts +10 -0
- package/dist-types/shared/selectAll.d.ts +29 -0
- package/dist-types/shared/splitMatches.d.ts +18 -0
- package/dist-types/shared/useAnchoredPanel.d.ts +102 -0
- package/dist-types/shared/useDesignatedTrigger.d.ts +41 -0
- package/dist-types/shared/useFallbackPosition.d.ts +63 -0
- package/dist-types/shared/useHostStates.d.ts +25 -0
- package/dist-types/shared/useNarrowViewport.d.ts +19 -0
- package/dist-types/shared/useScrollStrip.d.ts +39 -0
- package/dist-types/shared/useStatusAnnouncer.d.ts +33 -0
- package/dist-types/shared/useTypedField.d.ts +103 -0
- package/dist-types/shared/visualViewport.d.ts +51 -0
- package/dist-types/tag-name-map.d.ts +769 -54
- package/dist-types/theme/chart-data.d.ts +51 -0
- package/dist-types/theme/ramp.d.ts +38 -0
- package/dist-types/theme/themeMode.d.ts +51 -0
- package/dist-types/types.d.ts +7 -0
- package/package.json +21 -9
- package/dist/css-anchor-positioning-fn-RTxo68pt.js +0 -6447
- package/dist-types/shared/anchorPolyfill.d.ts +0 -24
|
@@ -6,6 +6,11 @@
|
|
|
6
6
|
"name": "--c-font-family",
|
|
7
7
|
"description": "Font stack applied to the label (native buttons do not inherit it).",
|
|
8
8
|
"values": []
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"name": "--c-main-viewport-height",
|
|
12
|
+
"description": "Height of the scroll viewport the layout pins against (default `100dvh`); a bounded shell with its own scrollbar sets it to its box height",
|
|
13
|
+
"values": []
|
|
9
14
|
}
|
|
10
15
|
],
|
|
11
16
|
"pseudoElements": [
|
|
@@ -15,7 +20,7 @@
|
|
|
15
20
|
},
|
|
16
21
|
{
|
|
17
22
|
"name": "::part(root)",
|
|
18
|
-
"description": "The outer wrapper of the item
|
|
23
|
+
"description": "The outer wrapper of the item: its share of the accordion frame, the lifted outline and wash when expanded, and a 2px outline on expanded items when outlined"
|
|
19
24
|
},
|
|
20
25
|
{
|
|
21
26
|
"name": "::part(header)",
|
|
@@ -27,19 +32,24 @@
|
|
|
27
32
|
},
|
|
28
33
|
{
|
|
29
34
|
"name": "::part(content)",
|
|
30
|
-
"description": "The padded
|
|
35
|
+
"description": "The padded card around the slotted content inside the collapsing region"
|
|
31
36
|
},
|
|
32
37
|
{
|
|
33
38
|
"name": "::part(root)",
|
|
34
|
-
"description": "The
|
|
39
|
+
"description": "The tinted box carrying the type's wash, hairline border and accent edge"
|
|
35
40
|
},
|
|
41
|
+
{ "name": "::part(icon)", "description": "The status icon svg" },
|
|
36
42
|
{
|
|
37
|
-
"name": "::part(
|
|
38
|
-
"description": "The
|
|
43
|
+
"name": "::part(content)",
|
|
44
|
+
"description": "The wrapper around the heading and message content"
|
|
39
45
|
},
|
|
40
46
|
{
|
|
41
|
-
"name": "::part(
|
|
42
|
-
"description": "The
|
|
47
|
+
"name": "::part(heading)",
|
|
48
|
+
"description": "The heading paragraph rendered from the `heading` prop"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"name": "::part(dismiss)",
|
|
52
|
+
"description": "The dismiss button rendered when `dismissible` is set"
|
|
43
53
|
},
|
|
44
54
|
{
|
|
45
55
|
"name": "::part(panel)",
|
|
@@ -49,19 +59,97 @@
|
|
|
49
59
|
"name": "::part(card)",
|
|
50
60
|
"description": "The elevated surface inside the panel holding the search row and the list"
|
|
51
61
|
},
|
|
62
|
+
{
|
|
63
|
+
"name": "::part(heading-row)",
|
|
64
|
+
"description": "The top row of the fullscreen panel (narrow viewports): the field label as heading and the close button"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"name": "::part(heading)",
|
|
68
|
+
"description": "The field label naming the fullscreen panel"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"name": "::part(close)",
|
|
72
|
+
"description": "The close button of the fullscreen panel"
|
|
73
|
+
},
|
|
52
74
|
{
|
|
53
75
|
"name": "::part(search)",
|
|
54
76
|
"description": "The search-input row at the top of the panel"
|
|
55
77
|
},
|
|
56
78
|
{ "name": "::part(list)", "description": "The scrollable options listbox" },
|
|
79
|
+
{ "name": "::part(item)", "description": "One option row in the list" },
|
|
80
|
+
{
|
|
81
|
+
"name": "::part(select-all)",
|
|
82
|
+
"description": "The pinned select-all row at the top of the list (`multiple` mode with `select-all`); carries the same indicator / mark parts as an option row"
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"name": "::part(indicator)",
|
|
86
|
+
"description": "The decorative checkbox box on an option row in `multiple` mode; border, fill and glyph draw with `currentColor`, so `color` recolours them together (the c-checkbox recipe)"
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"name": "::part(mark)",
|
|
90
|
+
"description": "The check glyph inside a row indicator; draws with `currentColor`"
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"name": "::part(match)",
|
|
94
|
+
"description": "A run of an option's label equal to the query, in the row; underlined in the primary colour, text inherits the row"
|
|
95
|
+
},
|
|
57
96
|
{
|
|
58
97
|
"name": "::part(info)",
|
|
59
98
|
"description": "The info row: loading while `loading` with an empty list, otherwise no-results when the query matches no options"
|
|
60
99
|
},
|
|
100
|
+
{
|
|
101
|
+
"name": "::part(tags)",
|
|
102
|
+
"description": "The row of selected-value tags inside the field (`multiple` mode)"
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"name": "::part(tag)",
|
|
106
|
+
"description": "One selected-value tag: the `c-tag` host, including the overflow tag"
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"name": "::part(tag-root)",
|
|
110
|
+
"description": "The pill box inside each tag (the `c-tag` `root` part), for colours and borders"
|
|
111
|
+
},
|
|
61
112
|
{
|
|
62
113
|
"name": "::part(root)",
|
|
63
114
|
"description": "The badge pill itself, absolutely positioned at the top right corner of its parent"
|
|
64
115
|
},
|
|
116
|
+
{
|
|
117
|
+
"name": "::part(root)",
|
|
118
|
+
"description": "The `<nav>` landmark; it takes the full width it is given and folds the crumbs to fit it"
|
|
119
|
+
},
|
|
120
|
+
{ "name": "::part(list)", "description": "The one-line list of crumbs" },
|
|
121
|
+
{
|
|
122
|
+
"name": "::part(separator)",
|
|
123
|
+
"description": "The chevron before the fold button"
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"name": "::part(fold-button)",
|
|
127
|
+
"description": "The \"…\" button standing in for the folded crumbs"
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
"name": "::part(panel)",
|
|
131
|
+
"description": "The top-layer popover holding the fold panel, anchored below the fold button"
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"name": "::part(panel-list)",
|
|
135
|
+
"description": "The fold panel's list surface holding the folded crumbs"
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
"name": "::part(root)",
|
|
139
|
+
"description": "The list item holding the separator and the crumb; in the fold panel, the row"
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"name": "::part(separator)",
|
|
143
|
+
"description": "The chevron before every crumb but the first, hidden in the fold panel"
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"name": "::part(content)",
|
|
147
|
+
"description": "The link (or, without `href` and on the current crumb, the text) holding the icon and label"
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
"name": "::part(label)",
|
|
151
|
+
"description": "The label text, truncated with an ellipsis when the breadcrumb runs out of room"
|
|
152
|
+
},
|
|
65
153
|
{
|
|
66
154
|
"name": "::part(root)",
|
|
67
155
|
"description": "The native `<button>` / `<a>` element carrying the visual styling."
|
|
@@ -76,7 +164,7 @@
|
|
|
76
164
|
},
|
|
77
165
|
{
|
|
78
166
|
"name": "::part(root)",
|
|
79
|
-
"description": "The segmented-control box
|
|
167
|
+
"description": "The track: the framed segmented-control box the buttons sit in"
|
|
80
168
|
},
|
|
81
169
|
{
|
|
82
170
|
"name": "::part(label)",
|
|
@@ -84,7 +172,7 @@
|
|
|
84
172
|
},
|
|
85
173
|
{
|
|
86
174
|
"name": "::part(root)",
|
|
87
|
-
"description": "The card's visible surface, carries the background, border, radius, shadow and section spacing"
|
|
175
|
+
"description": "The card's visible surface, carries the background and its ink, border, radius, shadow and section spacing"
|
|
88
176
|
},
|
|
89
177
|
{
|
|
90
178
|
"name": "::part(fullscreen-toggle)",
|
|
@@ -132,7 +220,11 @@
|
|
|
132
220
|
},
|
|
133
221
|
{
|
|
134
222
|
"name": "::part(indicator)",
|
|
135
|
-
"description": "The
|
|
223
|
+
"description": "The checkbox box itself — the bordered square that fills when checked; border, fill and the keyboard focus ring (its `::before`) all draw with `currentColor`, so `color` recolours them together"
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
"name": "::part(mark)",
|
|
227
|
+
"description": "The SVG check / indeterminate glyph revealed inside the indicator; draws with `currentColor`, so `color` recolours it"
|
|
136
228
|
},
|
|
137
229
|
{
|
|
138
230
|
"name": "::part(content)",
|
|
@@ -178,6 +270,111 @@
|
|
|
178
270
|
"name": "::part(pagination)",
|
|
179
271
|
"description": "The pagination bar below the table"
|
|
180
272
|
},
|
|
273
|
+
{
|
|
274
|
+
"name": "::part(input)",
|
|
275
|
+
"description": "The text input; under `range` both the start and the end input"
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
"name": "::part(separator)",
|
|
279
|
+
"description": "The dash between the start and end inputs under `range`"
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
"name": "::part(panel)",
|
|
283
|
+
"description": "The top-layer popover container anchored below the field"
|
|
284
|
+
},
|
|
285
|
+
{
|
|
286
|
+
"name": "::part(card)",
|
|
287
|
+
"description": "The dialog surface inside the panel holding the header and the calendar body"
|
|
288
|
+
},
|
|
289
|
+
{
|
|
290
|
+
"name": "::part(heading-row)",
|
|
291
|
+
"description": "The top row of the fullscreen panel (narrow viewports): the field label as heading and the close button"
|
|
292
|
+
},
|
|
293
|
+
{
|
|
294
|
+
"name": "::part(heading)",
|
|
295
|
+
"description": "The field label naming the fullscreen panel"
|
|
296
|
+
},
|
|
297
|
+
{
|
|
298
|
+
"name": "::part(close)",
|
|
299
|
+
"description": "The close button of the fullscreen panel"
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
"name": "::part(header)",
|
|
303
|
+
"description": "The row of month and year controls above the calendar body"
|
|
304
|
+
},
|
|
305
|
+
{
|
|
306
|
+
"name": "::part(previous-month)",
|
|
307
|
+
"description": "The arrow to the previous month"
|
|
308
|
+
},
|
|
309
|
+
{
|
|
310
|
+
"name": "::part(next-month)",
|
|
311
|
+
"description": "The arrow to the next month"
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
"name": "::part(month-button)",
|
|
315
|
+
"description": "The button showing the displayed month that opens the month list"
|
|
316
|
+
},
|
|
317
|
+
{
|
|
318
|
+
"name": "::part(previous-year)",
|
|
319
|
+
"description": "The arrow to the same month a year earlier"
|
|
320
|
+
},
|
|
321
|
+
{
|
|
322
|
+
"name": "::part(next-year)",
|
|
323
|
+
"description": "The arrow to the same month a year later"
|
|
324
|
+
},
|
|
325
|
+
{
|
|
326
|
+
"name": "::part(year-button)",
|
|
327
|
+
"description": "The button showing the displayed year that opens the year list"
|
|
328
|
+
},
|
|
329
|
+
{
|
|
330
|
+
"name": "::part(grid)",
|
|
331
|
+
"description": "The day grid of the displayed month"
|
|
332
|
+
},
|
|
333
|
+
{
|
|
334
|
+
"name": "::part(weekday)",
|
|
335
|
+
"description": "A weekday column head in the grid"
|
|
336
|
+
},
|
|
337
|
+
{
|
|
338
|
+
"name": "::part(week-number)",
|
|
339
|
+
"description": "An ISO week number beside a grid row (`show-week-numbers`)"
|
|
340
|
+
},
|
|
341
|
+
{ "name": "::part(cell)", "description": "One day's cell in the grid" },
|
|
342
|
+
{
|
|
343
|
+
"name": "::part(day)",
|
|
344
|
+
"description": "The circle showing a day's number inside its cell"
|
|
345
|
+
},
|
|
346
|
+
{
|
|
347
|
+
"name": "::part(range-band)",
|
|
348
|
+
"description": "The strip joining a range's days behind their circles"
|
|
349
|
+
},
|
|
350
|
+
{
|
|
351
|
+
"name": "::part(list)",
|
|
352
|
+
"description": "The month or year list swapped in for the grid"
|
|
353
|
+
},
|
|
354
|
+
{
|
|
355
|
+
"name": "::part(option)",
|
|
356
|
+
"description": "One month or year in the list"
|
|
357
|
+
},
|
|
358
|
+
{
|
|
359
|
+
"name": "::part(step-label)",
|
|
360
|
+
"description": "The label above the current list under `type=\"month\"`: month or year, and under `range` start or end"
|
|
361
|
+
},
|
|
362
|
+
{
|
|
363
|
+
"name": "::part(step-summary)",
|
|
364
|
+
"description": "A finished step under `type=\"month\"`, its label and pick; pressing it returns to that step"
|
|
365
|
+
},
|
|
366
|
+
{
|
|
367
|
+
"name": "::part(actions)",
|
|
368
|
+
"description": "The row under the calendar body holding the Today button (`show-today`) and, in the fullscreen panel, the Done button"
|
|
369
|
+
},
|
|
370
|
+
{
|
|
371
|
+
"name": "::part(today)",
|
|
372
|
+
"description": "The Today button: picks today, or the current month under `type=\"month\"`"
|
|
373
|
+
},
|
|
374
|
+
{
|
|
375
|
+
"name": "::part(done)",
|
|
376
|
+
"description": "The Done button of the fullscreen panel (narrow viewports): commits what the panel holds and closes"
|
|
377
|
+
},
|
|
181
378
|
{
|
|
182
379
|
"name": "::part(root)",
|
|
183
380
|
"description": "The separator line element itself"
|
|
@@ -186,8 +383,32 @@
|
|
|
186
383
|
"name": "::part(menu)",
|
|
187
384
|
"description": "The positioned dialog surface holding the field and the list"
|
|
188
385
|
},
|
|
386
|
+
{
|
|
387
|
+
"name": "::part(heading-row)",
|
|
388
|
+
"description": "The top row of the fullscreen panel (narrow viewports): the field label as heading and the close button"
|
|
389
|
+
},
|
|
390
|
+
{
|
|
391
|
+
"name": "::part(heading)",
|
|
392
|
+
"description": "The field label naming the fullscreen panel"
|
|
393
|
+
},
|
|
394
|
+
{
|
|
395
|
+
"name": "::part(close)",
|
|
396
|
+
"description": "The close button of the fullscreen panel"
|
|
397
|
+
},
|
|
189
398
|
{ "name": "::part(list)", "description": "The scrolling listbox" },
|
|
190
399
|
{ "name": "::part(item)", "description": "One option row" },
|
|
400
|
+
{
|
|
401
|
+
"name": "::part(select-all)",
|
|
402
|
+
"description": "The pinned select-all row at the top of the list in `multiple` mode; carries the same indicator / mark parts as an option row"
|
|
403
|
+
},
|
|
404
|
+
{
|
|
405
|
+
"name": "::part(indicator)",
|
|
406
|
+
"description": "The decorative checkbox box on an option row in `multiple` mode; border, fill and glyph draw with `currentColor`, so `color` recolours them together"
|
|
407
|
+
},
|
|
408
|
+
{
|
|
409
|
+
"name": "::part(mark)",
|
|
410
|
+
"description": "The check glyph inside a row indicator; draws with `currentColor`"
|
|
411
|
+
},
|
|
191
412
|
{
|
|
192
413
|
"name": "::part(root)",
|
|
193
414
|
"description": "The `<svg>` element rendering the icon"
|
|
@@ -295,7 +516,7 @@
|
|
|
295
516
|
},
|
|
296
517
|
{
|
|
297
518
|
"name": "::part(root)",
|
|
298
|
-
"description": "The
|
|
519
|
+
"description": "The shell box: it paints the page canvas and is at least a viewport tall; the dashboard grid is laid out inside it"
|
|
299
520
|
},
|
|
300
521
|
{
|
|
301
522
|
"name": "::part(trigger)",
|
|
@@ -317,6 +538,14 @@
|
|
|
317
538
|
"name": "::part(content)",
|
|
318
539
|
"description": "The flex wrapper around the default-slot content"
|
|
319
540
|
},
|
|
541
|
+
{
|
|
542
|
+
"name": "::part(icon)",
|
|
543
|
+
"description": "The leading icon rendered from the `icon` prop"
|
|
544
|
+
},
|
|
545
|
+
{
|
|
546
|
+
"name": "::part(check)",
|
|
547
|
+
"description": "The trailing indicator icon shown while the item is active"
|
|
548
|
+
},
|
|
320
549
|
{
|
|
321
550
|
"name": "::part(submenu-panel)",
|
|
322
551
|
"description": "The floating popover holding the submenu"
|
|
@@ -345,6 +574,15 @@
|
|
|
345
574
|
"name": "::part(root)",
|
|
346
575
|
"description": "The inner c-icon-button carrying the menu icon"
|
|
347
576
|
},
|
|
577
|
+
{ "name": "::part(input)", "description": "The text input" },
|
|
578
|
+
{
|
|
579
|
+
"name": "::part(step-up)",
|
|
580
|
+
"description": "The button that steps the number up"
|
|
581
|
+
},
|
|
582
|
+
{
|
|
583
|
+
"name": "::part(step-down)",
|
|
584
|
+
"description": "The button that steps the number down"
|
|
585
|
+
},
|
|
348
586
|
{
|
|
349
587
|
"name": "::part(root)",
|
|
350
588
|
"description": "The wrapper laying out the label, the digit inputs and the message"
|
|
@@ -363,7 +601,7 @@
|
|
|
363
601
|
},
|
|
364
602
|
{
|
|
365
603
|
"name": "::part(scroll-indicator)",
|
|
366
|
-
"description": "The fixed progress bar at the top of the viewport tracking
|
|
604
|
+
"description": "The fixed progress bar at the top of the viewport tracking how far the document is scrolled"
|
|
367
605
|
},
|
|
368
606
|
{
|
|
369
607
|
"name": "::part(container)",
|
|
@@ -385,6 +623,18 @@
|
|
|
385
623
|
"name": "::part(pages)",
|
|
386
624
|
"description": "The `<ul>` list of page buttons and the prev/next controls"
|
|
387
625
|
},
|
|
626
|
+
{
|
|
627
|
+
"name": "::part(trigger)",
|
|
628
|
+
"description": "The inline wrapper around the slotted trigger, serving as the panel's anchor"
|
|
629
|
+
},
|
|
630
|
+
{
|
|
631
|
+
"name": "::part(panel)",
|
|
632
|
+
"description": "The floating popover surface positioned against the trigger"
|
|
633
|
+
},
|
|
634
|
+
{
|
|
635
|
+
"name": "::part(heading)",
|
|
636
|
+
"description": "The heading rendered from the `heading` prop"
|
|
637
|
+
},
|
|
388
638
|
{
|
|
389
639
|
"name": "::part(root)",
|
|
390
640
|
"description": "The outer flex wrapper around the bar and the details line"
|
|
@@ -399,24 +649,58 @@
|
|
|
399
649
|
},
|
|
400
650
|
{
|
|
401
651
|
"name": "::part(root)",
|
|
402
|
-
"description": "The
|
|
652
|
+
"description": "The wrapper around the ring and the centered content"
|
|
403
653
|
},
|
|
654
|
+
{
|
|
655
|
+
"name": "::part(track)",
|
|
656
|
+
"description": "The background ring (SVG circle)"
|
|
657
|
+
},
|
|
658
|
+
{ "name": "::part(bar)", "description": "The value arc (SVG circle)" },
|
|
659
|
+
{
|
|
660
|
+
"name": "::part(content)",
|
|
661
|
+
"description": "The centered slot-content wrapper"
|
|
662
|
+
},
|
|
663
|
+
{
|
|
664
|
+
"name": "::part(root)",
|
|
665
|
+
"description": "The `<label>` row wrapping the input, indicator and label content"
|
|
666
|
+
},
|
|
667
|
+
{
|
|
668
|
+
"name": "::part(indicator)",
|
|
669
|
+
"description": "The radio ring itself; the selection dot is its `::after` and the keyboard focus ring its `::before` — all three follow `currentColor`, so `color` recolours the whole indicator, focus ring included"
|
|
670
|
+
},
|
|
671
|
+
{
|
|
672
|
+
"name": "::part(content)",
|
|
673
|
+
"description": "Wrapper around the slotted label content"
|
|
674
|
+
},
|
|
675
|
+
{ "name": "::part(root)", "description": "The radiogroup wrapper element" },
|
|
404
676
|
{
|
|
405
677
|
"name": "::part(label)",
|
|
406
678
|
"description": "The group label above the radio buttons"
|
|
407
679
|
},
|
|
408
680
|
{
|
|
409
681
|
"name": "::part(items)",
|
|
410
|
-
"description": "The
|
|
682
|
+
"description": "The container the radios are slotted into"
|
|
411
683
|
},
|
|
412
684
|
{
|
|
413
685
|
"name": "::part(message)",
|
|
414
|
-
"description": "The hint/error message
|
|
686
|
+
"description": "The hint/error message area below the radios (always reserved unless `hide-details`)"
|
|
415
687
|
},
|
|
416
688
|
{
|
|
417
689
|
"name": "::part(menu)",
|
|
418
690
|
"description": "The dropdown surface (the positioned dialog) holding the field and the list"
|
|
419
691
|
},
|
|
692
|
+
{
|
|
693
|
+
"name": "::part(heading-row)",
|
|
694
|
+
"description": "The top row of the fullscreen panel (narrow viewports): the field label as heading and the close button"
|
|
695
|
+
},
|
|
696
|
+
{
|
|
697
|
+
"name": "::part(heading)",
|
|
698
|
+
"description": "The field label naming the fullscreen panel"
|
|
699
|
+
},
|
|
700
|
+
{
|
|
701
|
+
"name": "::part(close)",
|
|
702
|
+
"description": "The close button of the fullscreen panel"
|
|
703
|
+
},
|
|
420
704
|
{
|
|
421
705
|
"name": "::part(list)",
|
|
422
706
|
"description": "The scrolling listbox of options"
|
|
@@ -425,7 +709,34 @@
|
|
|
425
709
|
"name": "::part(item)",
|
|
426
710
|
"description": "One option row in the list. Any `part` attribute set on content inside a slotted `<c-option>` is exported too, so `c-select::part(<name>)` reaches the consumer's own option markup"
|
|
427
711
|
},
|
|
428
|
-
{
|
|
712
|
+
{
|
|
713
|
+
"name": "::part(select-all)",
|
|
714
|
+
"description": "The pinned select-all row at the top of the list (`multiple` mode with `select-all`); carries the same indicator / mark parts as an option row"
|
|
715
|
+
},
|
|
716
|
+
{
|
|
717
|
+
"name": "::part(indicator)",
|
|
718
|
+
"description": "The decorative checkbox box on an option row in `multiple` mode; border, fill and glyph draw with `currentColor`, so `color` recolours them together (the c-checkbox recipe)"
|
|
719
|
+
},
|
|
720
|
+
{
|
|
721
|
+
"name": "::part(mark)",
|
|
722
|
+
"description": "The check glyph inside a row indicator; draws with `currentColor`"
|
|
723
|
+
},
|
|
724
|
+
{
|
|
725
|
+
"name": "::part(tags)",
|
|
726
|
+
"description": "The row of selected-value tags inside the field (`multiple` mode)"
|
|
727
|
+
},
|
|
728
|
+
{
|
|
729
|
+
"name": "::part(tag)",
|
|
730
|
+
"description": "One selected-value tag: the `c-tag` host, including the overflow tag"
|
|
731
|
+
},
|
|
732
|
+
{
|
|
733
|
+
"name": "::part(tag-root)",
|
|
734
|
+
"description": "The pill box inside each tag (the `c-tag` `root` part), for colours and borders"
|
|
735
|
+
},
|
|
736
|
+
{
|
|
737
|
+
"name": "::part(root)",
|
|
738
|
+
"description": "The outer drawer container: the item list above the bottom slot's region"
|
|
739
|
+
},
|
|
429
740
|
{
|
|
430
741
|
"name": "::part(nav)",
|
|
431
742
|
"description": "The scrollable `<nav>` element holding the navigation items"
|
|
@@ -534,6 +845,14 @@
|
|
|
534
845
|
"name": "::part(indicator)",
|
|
535
846
|
"description": "The sliding fill highlighting the active tab"
|
|
536
847
|
},
|
|
848
|
+
{
|
|
849
|
+
"name": "::part(scroll-back)",
|
|
850
|
+
"description": "The edge arrow that scrolls an overflowing strip back"
|
|
851
|
+
},
|
|
852
|
+
{
|
|
853
|
+
"name": "::part(scroll-forward)",
|
|
854
|
+
"description": "The edge arrow that scrolls an overflowing strip forward"
|
|
855
|
+
},
|
|
537
856
|
{
|
|
538
857
|
"name": "::part(root)",
|
|
539
858
|
"description": "The panel's padded content wrapper"
|
|
@@ -548,7 +867,7 @@
|
|
|
548
867
|
},
|
|
549
868
|
{
|
|
550
869
|
"name": "::part(tabs)",
|
|
551
|
-
"description": "The clipping viewport the tab list scrolls inside"
|
|
870
|
+
"description": "The clipping viewport the tab list scrolls inside, with a margin so a tab's focus ring and a slotted corner badge still paint"
|
|
552
871
|
},
|
|
553
872
|
{
|
|
554
873
|
"name": "::part(content)",
|
|
@@ -570,9 +889,67 @@
|
|
|
570
889
|
"name": "::part(items)",
|
|
571
890
|
"description": "The wrapping row that lays out the slotted tags"
|
|
572
891
|
},
|
|
892
|
+
{
|
|
893
|
+
"name": "::part(mask-guide)",
|
|
894
|
+
"description": "The faint rest of the input mask, shown behind the typed text"
|
|
895
|
+
},
|
|
896
|
+
{
|
|
897
|
+
"name": "::part(input)",
|
|
898
|
+
"description": "The text input; under `range` both the start and the end input"
|
|
899
|
+
},
|
|
900
|
+
{
|
|
901
|
+
"name": "::part(separator)",
|
|
902
|
+
"description": "The dash between the start and end inputs under `range`"
|
|
903
|
+
},
|
|
904
|
+
{
|
|
905
|
+
"name": "::part(panel)",
|
|
906
|
+
"description": "The top-layer popover container anchored below the field"
|
|
907
|
+
},
|
|
908
|
+
{
|
|
909
|
+
"name": "::part(card)",
|
|
910
|
+
"description": "The dialog surface inside the panel holding the columns"
|
|
911
|
+
},
|
|
912
|
+
{
|
|
913
|
+
"name": "::part(heading-row)",
|
|
914
|
+
"description": "The top row of the fullscreen panel (narrow viewports): the field label as heading and the close button"
|
|
915
|
+
},
|
|
916
|
+
{
|
|
917
|
+
"name": "::part(heading)",
|
|
918
|
+
"description": "The field label naming the fullscreen panel"
|
|
919
|
+
},
|
|
920
|
+
{
|
|
921
|
+
"name": "::part(close)",
|
|
922
|
+
"description": "The close button of the fullscreen panel"
|
|
923
|
+
},
|
|
924
|
+
{
|
|
925
|
+
"name": "::part(end-switch)",
|
|
926
|
+
"description": "The Start | End switch above the columns under `range`"
|
|
927
|
+
},
|
|
928
|
+
{
|
|
929
|
+
"name": "::part(end-tab)",
|
|
930
|
+
"description": "One end's button in the end switch"
|
|
931
|
+
},
|
|
932
|
+
{ "name": "::part(columns)", "description": "The row of time columns" },
|
|
933
|
+
{
|
|
934
|
+
"name": "::part(column)",
|
|
935
|
+
"description": "One time column: hours, minutes or AM/PM"
|
|
936
|
+
},
|
|
937
|
+
{ "name": "::part(option)", "description": "One row of a time column" },
|
|
938
|
+
{
|
|
939
|
+
"name": "::part(actions)",
|
|
940
|
+
"description": "The row under the columns holding the Now button (`show-now`) and, in the fullscreen panel, the Done button"
|
|
941
|
+
},
|
|
942
|
+
{
|
|
943
|
+
"name": "::part(now)",
|
|
944
|
+
"description": "The Now button: commits the current time"
|
|
945
|
+
},
|
|
946
|
+
{
|
|
947
|
+
"name": "::part(done)",
|
|
948
|
+
"description": "The Done button of the fullscreen panel (narrow viewports): commits what the panel holds and closes"
|
|
949
|
+
},
|
|
573
950
|
{
|
|
574
951
|
"name": "::part(root)",
|
|
575
|
-
"description": "The toast's outer box
|
|
952
|
+
"description": "The toast's outer box: the inverted-surface pill carrying the shadow"
|
|
576
953
|
},
|
|
577
954
|
{
|
|
578
955
|
"name": "::part(custom)",
|
|
@@ -584,7 +961,15 @@
|
|
|
584
961
|
},
|
|
585
962
|
{
|
|
586
963
|
"name": "::part(item)",
|
|
587
|
-
"description": "Row layout of a standard toast:
|
|
964
|
+
"description": "Row layout of a standard toast: status badge, message body and dismiss button"
|
|
965
|
+
},
|
|
966
|
+
{
|
|
967
|
+
"name": "::part(badge)",
|
|
968
|
+
"description": "The circular tinted badge holding the status icon"
|
|
969
|
+
},
|
|
970
|
+
{
|
|
971
|
+
"name": "::part(dismiss)",
|
|
972
|
+
"description": "The dismiss button (icon-only, or labelled when the message sets `closeText`)"
|
|
588
973
|
},
|
|
589
974
|
{
|
|
590
975
|
"name": "::part(progress)",
|
|
@@ -596,7 +981,76 @@
|
|
|
596
981
|
},
|
|
597
982
|
{
|
|
598
983
|
"name": "::part(root)",
|
|
599
|
-
"description": "The toolbar bar itself
|
|
984
|
+
"description": "The toolbar bar itself: pinned to the top of its scroll container by default, in flow when `static`"
|
|
985
|
+
},
|
|
986
|
+
{
|
|
987
|
+
"name": "::part(trigger)",
|
|
988
|
+
"description": "The inline wrapper around the slotted trigger, serving as the panel's anchor"
|
|
989
|
+
},
|
|
990
|
+
{
|
|
991
|
+
"name": "::part(panel)",
|
|
992
|
+
"description": "The floating tooltip bubble positioned against the trigger"
|
|
993
|
+
},
|
|
994
|
+
{
|
|
995
|
+
"name": "::part(panel)",
|
|
996
|
+
"description": "The top-layer popover container anchored below the field"
|
|
997
|
+
},
|
|
998
|
+
{
|
|
999
|
+
"name": "::part(card)",
|
|
1000
|
+
"description": "The elevated surface inside the panel holding the search row, the breadcrumb, the header and the list"
|
|
1001
|
+
},
|
|
1002
|
+
{
|
|
1003
|
+
"name": "::part(heading-row)",
|
|
1004
|
+
"description": "The top row of the fullscreen panel (narrow viewports): the field label as heading and the close button"
|
|
1005
|
+
},
|
|
1006
|
+
{
|
|
1007
|
+
"name": "::part(heading)",
|
|
1008
|
+
"description": "The field label naming the fullscreen panel"
|
|
1009
|
+
},
|
|
1010
|
+
{
|
|
1011
|
+
"name": "::part(close)",
|
|
1012
|
+
"description": "The close button of the fullscreen panel"
|
|
1013
|
+
},
|
|
1014
|
+
{
|
|
1015
|
+
"name": "::part(search)",
|
|
1016
|
+
"description": "The search-input row at the top of the panel"
|
|
1017
|
+
},
|
|
1018
|
+
{
|
|
1019
|
+
"name": "::part(breadcrumb)",
|
|
1020
|
+
"description": "The breadcrumb navigation naming the browsed level's path"
|
|
1021
|
+
},
|
|
1022
|
+
{
|
|
1023
|
+
"name": "::part(crumb)",
|
|
1024
|
+
"description": "One crumb in the breadcrumb: the root crumb, an ancestor, or the collapsed \"…\" crumb"
|
|
1025
|
+
},
|
|
1026
|
+
{
|
|
1027
|
+
"name": "::part(header)",
|
|
1028
|
+
"description": "The header line under the breadcrumb: the level to choose and its step counter, or the match count and the \"Browse instead\" control"
|
|
1029
|
+
},
|
|
1030
|
+
{
|
|
1031
|
+
"name": "::part(list)",
|
|
1032
|
+
"description": "The scrollable listbox: the level list while browsing, the results while searching"
|
|
1033
|
+
},
|
|
1034
|
+
{ "name": "::part(item)", "description": "One item row in the list" },
|
|
1035
|
+
{
|
|
1036
|
+
"name": "::part(select-branch)",
|
|
1037
|
+
"description": "The pinned select-branch row at the top of a level list inside a branch (`allow-branch`)"
|
|
1038
|
+
},
|
|
1039
|
+
{
|
|
1040
|
+
"name": "::part(code)",
|
|
1041
|
+
"description": "An item's code column, in a row and in the closed field"
|
|
1042
|
+
},
|
|
1043
|
+
{
|
|
1044
|
+
"name": "::part(path)",
|
|
1045
|
+
"description": "The ancestor path line under a search result's label"
|
|
1046
|
+
},
|
|
1047
|
+
{
|
|
1048
|
+
"name": "::part(match)",
|
|
1049
|
+
"description": "A run of an item's code, label or path equal to the query, in a row; underlined in the primary colour, text inherits the row"
|
|
1050
|
+
},
|
|
1051
|
+
{
|
|
1052
|
+
"name": "::part(info)",
|
|
1053
|
+
"description": "The no-results row shown when nothing is listed"
|
|
600
1054
|
}
|
|
601
1055
|
]
|
|
602
1056
|
}
|