@rio-m3e/vue 0.8.0 → 0.8.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (86) hide show
  1. package/dist/app-bar/AppBar.vue.d.ts +411 -10
  2. package/dist/attrs/attrs.d.ts +91 -0
  3. package/dist/badge/Badge.vue.d.ts +391 -2
  4. package/dist/bottom-sheet/BottomSheet.vue.d.ts +407 -15
  5. package/dist/browser/rio-vue.global.js +21 -21
  6. package/dist/browser/rio-vue.js +21 -21
  7. package/dist/button/Button.vue.d.ts +208 -3
  8. package/dist/button-group/ButtonGroup.vue.d.ts +30 -20
  9. package/dist/button-group/ButtonGroup.vue.js +2 -1
  10. package/dist/card/Card.vue.d.ts +193 -9
  11. package/dist/card/CardActions.vue.d.ts +1 -1
  12. package/dist/card/CardContent.vue.d.ts +1 -1
  13. package/dist/card/CardHeader.vue.d.ts +395 -8
  14. package/dist/card/CardMedia.vue.d.ts +1 -1
  15. package/dist/checkbox/Checkbox.vue.d.ts +4 -2
  16. package/dist/chip/AssistChip.vue.d.ts +200 -3
  17. package/dist/chip/ChipSet.vue.d.ts +26 -16
  18. package/dist/chip/ChipSet.vue.js +2 -1
  19. package/dist/chip/FilterChip.vue.d.ts +2 -1
  20. package/dist/chip/InputChip.vue.d.ts +2 -1
  21. package/dist/chip/SuggestionChip.vue.d.ts +200 -2
  22. package/dist/date-picker/DatePicker.vue.d.ts +7 -4
  23. package/dist/date-picker/DatePicker.vue.js +14 -11
  24. package/dist/date-picker/DatePickerDialog.vue.d.ts +441 -34
  25. package/dist/date-picker/DatePickerDialog.vue.js +13 -9
  26. package/dist/date-picker/DateRangePickerDialog.vue.d.ts +438 -32
  27. package/dist/date-picker/DateRangePickerDialog.vue.js +19 -17
  28. package/dist/dialog/Dialog.vue.d.ts +407 -17
  29. package/dist/divider/Divider.vue.d.ts +389 -2
  30. package/dist/fab/Fab.vue.d.ts +208 -7
  31. package/dist/fab-menu/FabMenu.vue.d.ts +395 -9
  32. package/dist/fab-menu/FabMenuItem.vue.d.ts +408 -3
  33. package/dist/icon/Icon.vue.d.ts +173 -3
  34. package/dist/icon-button/IconButton.vue.d.ts +214 -3
  35. package/dist/list/List.vue.d.ts +26 -16
  36. package/dist/list/List.vue.js +2 -1
  37. package/dist/list/ListItem.vue.d.ts +5 -3
  38. package/dist/loading-indicator/LoadingIndicator.vue.d.ts +395 -2
  39. package/dist/menu/Menu.vue.d.ts +417 -9
  40. package/dist/menu/MenuDivider.vue.d.ts +1 -1
  41. package/dist/menu/MenuGroup.vue.d.ts +387 -2
  42. package/dist/menu/MenuItem.vue.d.ts +406 -3
  43. package/dist/menu/SubMenu.vue.d.ts +4 -2
  44. package/dist/model/model.d.ts +8 -0
  45. package/dist/model/model.js +15 -0
  46. package/dist/navigation-bar/NavigationBar.vue.d.ts +21 -16
  47. package/dist/navigation-bar/NavigationBar.vue.js +1 -0
  48. package/dist/navigation-bar/NavigationBarItem.vue.d.ts +4 -3
  49. package/dist/navigation-rail/NavigationRail.vue.d.ts +33 -32
  50. package/dist/navigation-rail/NavigationRail.vue.js +1 -0
  51. package/dist/navigation-rail/NavigationRailItem.vue.d.ts +4 -3
  52. package/dist/navigation-rail/NavigationRailSection.vue.d.ts +389 -2
  53. package/dist/overflow/OverflowItem.vue.d.ts +1 -1
  54. package/dist/progress/CircularProgress.vue.d.ts +395 -2
  55. package/dist/progress/LinearProgress.vue.d.ts +393 -1
  56. package/dist/radio/Radio.vue.d.ts +3 -1
  57. package/dist/radio/RadioGroup.vue.d.ts +22 -21
  58. package/dist/radio/RadioGroup.vue.js +7 -8
  59. package/dist/scroll-field/ScrollField.vue.d.ts +28 -12
  60. package/dist/scroll-field/ScrollField.vue.js +6 -4
  61. package/dist/search/Search.vue.d.ts +4 -3
  62. package/dist/select/Select.vue.d.ts +42 -39
  63. package/dist/select/Select.vue.js +5 -5
  64. package/dist/select/SelectOption.vue.d.ts +409 -2
  65. package/dist/side-sheet/SideSheet.vue.d.ts +190 -16
  66. package/dist/slider/RangeSlider.vue.d.ts +415 -5
  67. package/dist/slider/Slider.vue.d.ts +2 -1
  68. package/dist/snackbar/Snackbar.vue.d.ts +407 -13
  69. package/dist/snackbar/SnackbarHost.vue.d.ts +3 -1
  70. package/dist/split-button/SplitButton.vue.d.ts +402 -3
  71. package/dist/switch/Switch.vue.d.ts +4 -2
  72. package/dist/tabs/Tab.vue.d.ts +2 -1
  73. package/dist/tabs/TabGroup.vue.d.ts +22 -18
  74. package/dist/tabs/TabGroup.vue.js +5 -5
  75. package/dist/tabs/TabPanel.vue.d.ts +387 -2
  76. package/dist/tabs/Tabs.vue.d.ts +23 -21
  77. package/dist/tabs/Tabs.vue.js +7 -8
  78. package/dist/text-field/TextField.vue.d.ts +28 -26
  79. package/dist/text-field/TextField.vue.js +12 -16
  80. package/dist/theme/ThemeProvider.vue.d.ts +394 -6
  81. package/dist/time-picker/TimeInput.vue.d.ts +395 -13
  82. package/dist/time-picker/TimePickerDialog.vue.d.ts +421 -27
  83. package/dist/time-picker/TimeScroll.vue.d.ts +401 -19
  84. package/dist/toolbar/Toolbar.vue.d.ts +3 -1
  85. package/dist/tooltip/Tooltip.vue.d.ts +410 -14
  86. package/package.json +6 -5
@@ -1,4 +1,3 @@
1
- import { IconButtonProps } from "@rio-m3e/core";
2
1
  import "@rio-m3e/styles/base/accent.css";
3
2
  import "@rio-m3e/styles/base/density.css";
4
3
  import "@rio-m3e/styles/base/focus-ring.css";
@@ -16,10 +15,222 @@ type __VLS_Slots = {
16
15
  */
17
16
  'selected-icon'?: () => unknown;
18
17
  };
19
- declare const __VLS_base: import("vue").DefineComponent<IconButtonProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
18
+ declare const __VLS_base: import("vue").DefineComponent<{
19
+ label: string;
20
+ variant?: import("@rio-m3e/core").IconButtonVariant;
21
+ size?: import("@rio-m3e/core").ButtonSize;
22
+ width?: import("@rio-m3e/core").IconButtonWidth;
23
+ shape?: import("@rio-m3e/core").ButtonShape;
24
+ color?: import("@rio-m3e/core").AccentColor;
25
+ density?: import("@rio-m3e/core").Density;
26
+ toggle?: boolean;
27
+ selected?: boolean;
28
+ disabled?: boolean;
29
+ softDisabled?: boolean;
30
+ type?: "button" | "submit" | "reset";
31
+ href?: string;
32
+ value?: string | number | undefined;
33
+ name?: string;
34
+ form?: string;
35
+ autofocus?: boolean;
36
+ target?: string;
37
+ rel?: string;
38
+ download?: boolean | string;
39
+ hreflang?: string;
40
+ referrerpolicy?: string;
41
+ id?: string;
42
+ role?: string;
43
+ title?: string;
44
+ tabindex?: number | string;
45
+ lang?: string;
46
+ dir?: string;
47
+ hidden?: boolean | "until-found";
48
+ inert?: boolean;
49
+ translate?: "yes" | "no";
50
+ onClick?: (event: MouseEvent) => void;
51
+ onDblclick?: (event: MouseEvent) => void;
52
+ onContextmenu?: (event: MouseEvent) => void;
53
+ onMousedown?: (event: MouseEvent) => void;
54
+ onMouseup?: (event: MouseEvent) => void;
55
+ onMouseenter?: (event: MouseEvent) => void;
56
+ onMouseleave?: (event: MouseEvent) => void;
57
+ onMouseover?: (event: MouseEvent) => void;
58
+ onMouseout?: (event: MouseEvent) => void;
59
+ onMousemove?: (event: MouseEvent) => void;
60
+ onWheel?: (event: WheelEvent) => void;
61
+ onTouchstart?: (event: TouchEvent) => void;
62
+ onTouchmove?: (event: TouchEvent) => void;
63
+ onTouchend?: (event: TouchEvent) => void;
64
+ onTouchcancel?: (event: TouchEvent) => void;
65
+ onPointerdown?: (event: PointerEvent) => void;
66
+ onPointerup?: (event: PointerEvent) => void;
67
+ onPointerenter?: (event: PointerEvent) => void;
68
+ onPointerleave?: (event: PointerEvent) => void;
69
+ onPointermove?: (event: PointerEvent) => void;
70
+ onFocus?: (event: FocusEvent) => void;
71
+ onBlur?: (event: FocusEvent) => void;
72
+ onFocusin?: (event: FocusEvent) => void;
73
+ onFocusout?: (event: FocusEvent) => void;
74
+ onKeydown?: (event: KeyboardEvent) => void;
75
+ onKeyup?: (event: KeyboardEvent) => void;
76
+ 'aria-activedescendant'?: string | undefined;
77
+ 'aria-atomic'?: (boolean | "true" | "false") | undefined;
78
+ 'aria-autocomplete'?: "none" | "inline" | "list" | "both" | undefined;
79
+ 'aria-busy'?: (boolean | "true" | "false") | undefined;
80
+ 'aria-checked'?: (boolean | "true" | "false") | "mixed" | undefined;
81
+ 'aria-colcount'?: (string | number) | undefined;
82
+ 'aria-colindex'?: (string | number) | undefined;
83
+ 'aria-colspan'?: (string | number) | undefined;
84
+ 'aria-controls'?: string | undefined;
85
+ 'aria-current'?: (boolean | "true" | "false") | "page" | "step" | "location" | "date" | "time" | undefined;
86
+ 'aria-describedby'?: string | undefined;
87
+ 'aria-details'?: string | undefined;
88
+ 'aria-disabled'?: (boolean | "true" | "false") | undefined;
89
+ 'aria-dropeffect'?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined;
90
+ 'aria-errormessage'?: string | undefined;
91
+ 'aria-expanded'?: (boolean | "true" | "false") | undefined;
92
+ 'aria-flowto'?: string | undefined;
93
+ 'aria-grabbed'?: (boolean | "true" | "false") | undefined;
94
+ 'aria-haspopup'?: (boolean | "true" | "false") | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined;
95
+ 'aria-hidden'?: (boolean | "true" | "false") | undefined;
96
+ 'aria-invalid'?: (boolean | "true" | "false") | "grammar" | "spelling" | undefined;
97
+ 'aria-keyshortcuts'?: string | undefined;
98
+ 'aria-label'?: string | undefined;
99
+ 'aria-labelledby'?: string | undefined;
100
+ 'aria-level'?: (string | number) | undefined;
101
+ 'aria-live'?: "off" | "assertive" | "polite" | undefined;
102
+ 'aria-modal'?: (boolean | "true" | "false") | undefined;
103
+ 'aria-multiline'?: (boolean | "true" | "false") | undefined;
104
+ 'aria-multiselectable'?: (boolean | "true" | "false") | undefined;
105
+ 'aria-orientation'?: "horizontal" | "vertical" | undefined;
106
+ 'aria-owns'?: string | undefined;
107
+ 'aria-placeholder'?: string | undefined;
108
+ 'aria-posinset'?: (string | number) | undefined;
109
+ 'aria-pressed'?: (boolean | "true" | "false") | "mixed" | undefined;
110
+ 'aria-readonly'?: (boolean | "true" | "false") | undefined;
111
+ 'aria-relevant'?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined;
112
+ 'aria-required'?: (boolean | "true" | "false") | undefined;
113
+ 'aria-roledescription'?: string | undefined;
114
+ 'aria-rowcount'?: (string | number) | undefined;
115
+ 'aria-rowindex'?: (string | number) | undefined;
116
+ 'aria-rowspan'?: (string | number) | undefined;
117
+ 'aria-selected'?: (boolean | "true" | "false") | undefined;
118
+ 'aria-setsize'?: (string | number) | undefined;
119
+ 'aria-sort'?: "none" | "ascending" | "descending" | "other" | undefined;
120
+ 'aria-valuemax'?: (string | number) | undefined;
121
+ 'aria-valuemin'?: (string | number) | undefined;
122
+ 'aria-valuenow'?: (string | number) | undefined;
123
+ 'aria-valuetext'?: string | undefined;
124
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
20
125
  click: (event: MouseEvent) => any;
21
126
  "update:selected": (selected: boolean) => any;
22
- }, string, import("vue").PublicProps, Readonly<IconButtonProps> & Readonly<{
127
+ }, string, import("vue").PublicProps, Readonly<{
128
+ label: string;
129
+ variant?: import("@rio-m3e/core").IconButtonVariant;
130
+ size?: import("@rio-m3e/core").ButtonSize;
131
+ width?: import("@rio-m3e/core").IconButtonWidth;
132
+ shape?: import("@rio-m3e/core").ButtonShape;
133
+ color?: import("@rio-m3e/core").AccentColor;
134
+ density?: import("@rio-m3e/core").Density;
135
+ toggle?: boolean;
136
+ selected?: boolean;
137
+ disabled?: boolean;
138
+ softDisabled?: boolean;
139
+ type?: "button" | "submit" | "reset";
140
+ href?: string;
141
+ value?: string | number | undefined;
142
+ name?: string;
143
+ form?: string;
144
+ autofocus?: boolean;
145
+ target?: string;
146
+ rel?: string;
147
+ download?: boolean | string;
148
+ hreflang?: string;
149
+ referrerpolicy?: string;
150
+ id?: string;
151
+ role?: string;
152
+ title?: string;
153
+ tabindex?: number | string;
154
+ lang?: string;
155
+ dir?: string;
156
+ hidden?: boolean | "until-found";
157
+ inert?: boolean;
158
+ translate?: "yes" | "no";
159
+ onClick?: (event: MouseEvent) => void;
160
+ onDblclick?: (event: MouseEvent) => void;
161
+ onContextmenu?: (event: MouseEvent) => void;
162
+ onMousedown?: (event: MouseEvent) => void;
163
+ onMouseup?: (event: MouseEvent) => void;
164
+ onMouseenter?: (event: MouseEvent) => void;
165
+ onMouseleave?: (event: MouseEvent) => void;
166
+ onMouseover?: (event: MouseEvent) => void;
167
+ onMouseout?: (event: MouseEvent) => void;
168
+ onMousemove?: (event: MouseEvent) => void;
169
+ onWheel?: (event: WheelEvent) => void;
170
+ onTouchstart?: (event: TouchEvent) => void;
171
+ onTouchmove?: (event: TouchEvent) => void;
172
+ onTouchend?: (event: TouchEvent) => void;
173
+ onTouchcancel?: (event: TouchEvent) => void;
174
+ onPointerdown?: (event: PointerEvent) => void;
175
+ onPointerup?: (event: PointerEvent) => void;
176
+ onPointerenter?: (event: PointerEvent) => void;
177
+ onPointerleave?: (event: PointerEvent) => void;
178
+ onPointermove?: (event: PointerEvent) => void;
179
+ onFocus?: (event: FocusEvent) => void;
180
+ onBlur?: (event: FocusEvent) => void;
181
+ onFocusin?: (event: FocusEvent) => void;
182
+ onFocusout?: (event: FocusEvent) => void;
183
+ onKeydown?: (event: KeyboardEvent) => void;
184
+ onKeyup?: (event: KeyboardEvent) => void;
185
+ 'aria-activedescendant'?: string | undefined;
186
+ 'aria-atomic'?: (boolean | "true" | "false") | undefined;
187
+ 'aria-autocomplete'?: "none" | "inline" | "list" | "both" | undefined;
188
+ 'aria-busy'?: (boolean | "true" | "false") | undefined;
189
+ 'aria-checked'?: (boolean | "true" | "false") | "mixed" | undefined;
190
+ 'aria-colcount'?: (string | number) | undefined;
191
+ 'aria-colindex'?: (string | number) | undefined;
192
+ 'aria-colspan'?: (string | number) | undefined;
193
+ 'aria-controls'?: string | undefined;
194
+ 'aria-current'?: (boolean | "true" | "false") | "page" | "step" | "location" | "date" | "time" | undefined;
195
+ 'aria-describedby'?: string | undefined;
196
+ 'aria-details'?: string | undefined;
197
+ 'aria-disabled'?: (boolean | "true" | "false") | undefined;
198
+ 'aria-dropeffect'?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined;
199
+ 'aria-errormessage'?: string | undefined;
200
+ 'aria-expanded'?: (boolean | "true" | "false") | undefined;
201
+ 'aria-flowto'?: string | undefined;
202
+ 'aria-grabbed'?: (boolean | "true" | "false") | undefined;
203
+ 'aria-haspopup'?: (boolean | "true" | "false") | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined;
204
+ 'aria-hidden'?: (boolean | "true" | "false") | undefined;
205
+ 'aria-invalid'?: (boolean | "true" | "false") | "grammar" | "spelling" | undefined;
206
+ 'aria-keyshortcuts'?: string | undefined;
207
+ 'aria-label'?: string | undefined;
208
+ 'aria-labelledby'?: string | undefined;
209
+ 'aria-level'?: (string | number) | undefined;
210
+ 'aria-live'?: "off" | "assertive" | "polite" | undefined;
211
+ 'aria-modal'?: (boolean | "true" | "false") | undefined;
212
+ 'aria-multiline'?: (boolean | "true" | "false") | undefined;
213
+ 'aria-multiselectable'?: (boolean | "true" | "false") | undefined;
214
+ 'aria-orientation'?: "horizontal" | "vertical" | undefined;
215
+ 'aria-owns'?: string | undefined;
216
+ 'aria-placeholder'?: string | undefined;
217
+ 'aria-posinset'?: (string | number) | undefined;
218
+ 'aria-pressed'?: (boolean | "true" | "false") | "mixed" | undefined;
219
+ 'aria-readonly'?: (boolean | "true" | "false") | undefined;
220
+ 'aria-relevant'?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined;
221
+ 'aria-required'?: (boolean | "true" | "false") | undefined;
222
+ 'aria-roledescription'?: string | undefined;
223
+ 'aria-rowcount'?: (string | number) | undefined;
224
+ 'aria-rowindex'?: (string | number) | undefined;
225
+ 'aria-rowspan'?: (string | number) | undefined;
226
+ 'aria-selected'?: (boolean | "true" | "false") | undefined;
227
+ 'aria-setsize'?: (string | number) | undefined;
228
+ 'aria-sort'?: "none" | "ascending" | "descending" | "other" | undefined;
229
+ 'aria-valuemax'?: (string | number) | undefined;
230
+ 'aria-valuemin'?: (string | number) | undefined;
231
+ 'aria-valuenow'?: (string | number) | undefined;
232
+ 'aria-valuetext'?: string | undefined;
233
+ }> & Readonly<{
23
234
  onClick?: ((event: MouseEvent) => any) | undefined;
24
235
  "onUpdate:selected"?: ((selected: boolean) => any) | undefined;
25
236
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -1,24 +1,34 @@
1
+ import { ModelModifiers, SelectionChange } from "../model/model.js";
1
2
  import { ListProps, ListSelected } from "@rio-m3e/core";
2
3
  import "@rio-m3e/styles/base/accent.css";
3
4
  import "@rio-m3e/styles/list.css";
4
- interface Props extends Omit<ListProps, 'selected'> {
5
+ export interface Props<T extends ListSelected, R extends boolean> extends Omit<ListProps, 'selected' | 'required'> {
5
6
  /** The selected value (`single`) or values (`multiple`), with `v-model`. */
6
- modelValue?: ListSelected;
7
+ modelValue?: T;
8
+ /**
9
+ * With a selection, keeps one item selected: the last one can't be turned off, so a single
10
+ * selection never reports `undefined`.
11
+ */
12
+ required?: R & boolean;
13
+ /** The modifiers given to `v-model`, as `.trim` */
14
+ modelModifiers?: ModelModifiers;
7
15
  }
8
- type __VLS_Slots = {
9
- /** The items (`RioListItem`). With `selection`, those with a `value` are chosen. */
10
- default?: () => unknown;
11
- };
12
- declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
13
- "update:modelValue": (selected: ListSelected) => any;
14
- }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
15
- "onUpdate:modelValue"?: ((selected: ListSelected) => any) | undefined;
16
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
17
- declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
18
- declare const _default: typeof __VLS_export;
19
- type __VLS_WithSlots<T, S> = T & {
20
- new (): {
21
- $slots: S;
16
+ declare const __VLS_export: <T extends ListSelected, R extends boolean = false>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
17
+ props: import("vue").PublicProps & __VLS_PrettifyLocal<Props<T, R> & {
18
+ "onUpdate:modelValue"?: ((selected: SelectionChange<T, R>) => any) | undefined;
19
+ } & Omit<Partial<import("vue").HTMLAttributes & import("vue").ReservedProps>, "onUpdate:modelValue">> & (typeof globalThis extends {
20
+ __VLS_PROPS_FALLBACK: infer P;
21
+ } ? P : {});
22
+ expose: (exposed: {}) => void;
23
+ attrs: any;
24
+ slots: {
25
+ /** The items (`RioListItem`). With `selection`, those with a `value` are chosen. */
26
+ default?: () => unknown;
22
27
  };
28
+ emit: (evt: "update:modelValue", selected: SelectionChange<T, R>) => void;
29
+ }>) => import("vue").VNode & {
30
+ __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
23
31
  };
32
+ declare const _default: typeof __VLS_export;
33
+ type __VLS_PrettifyLocal<T> = (T extends any ? { [K in keyof T]: T[K]; } : { [K in keyof T as K]: T[K]; }) & {};
24
34
  export { _default as default };
@@ -8,9 +8,10 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
8
8
  __name: "List",
9
9
  props: {
10
10
  modelValue: {},
11
+ required: { type: Boolean },
12
+ modelModifiers: {},
11
13
  variant: {},
12
14
  selection: {},
13
- required: { type: Boolean },
14
15
  control: {},
15
16
  controlPosition: {},
16
17
  label: {},
@@ -1,3 +1,4 @@
1
+ import { ActionAttrs } from "../attrs/attrs.js";
1
2
  import { AccentColor, ListItemDivider, ListValue } from "@rio-m3e/core";
2
3
  import "@rio-m3e/styles/base/accent.css";
3
4
  import "@rio-m3e/styles/base/focus-ring.css";
@@ -17,13 +18,14 @@ type __VLS_Props = {
17
18
  color?: AccentColor;
18
19
  /**
19
20
  * A divider under the item: `'inset'`, or `divider` alone, 16px in from the start and 24px from
20
- * the end; `'text'` from the text's start, lined up with the text after a leading icon or avatar,
21
- * to the end; `'text-inset'` from the text's start to 24px from the end; or `'full'` across it
21
+ * the end; `'text'` from the text's start, lined up with the text after a leading icon or
22
+ * avatar, to the end; `'text-inset'` from the text's start to 24px from the end; or `'full'`
23
+ * across it
22
24
  */
23
25
  divider?: boolean | ListItemDivider;
24
26
  /** Listening for clicks makes the item a button. */
25
27
  onClick?: (event: MouseEvent) => void;
26
- };
28
+ } & /* @vue-ignore */ ActionAttrs;
27
29
  type __VLS_Slots = {
28
30
  /** The label */
29
31
  default?: () => unknown;