@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 { ButtonProps } from "@rio-m3e/core";
2
1
  import "@rio-m3e/styles/base/accent.css";
3
2
  import "@rio-m3e/styles/base/focus-ring.css";
4
3
  import "@rio-m3e/styles/base/reduced-motion.css";
@@ -11,10 +10,216 @@ type __VLS_Slots = {
11
10
  /** A leading icon. It is hidden from assistive technology, so the label must stand alone. */
12
11
  icon?: () => unknown;
13
12
  };
14
- declare const __VLS_base: import("vue").DefineComponent<ButtonProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
13
+ declare const __VLS_base: import("vue").DefineComponent<{
14
+ variant?: import("@rio-m3e/core").ButtonVariant;
15
+ size?: import("@rio-m3e/core").ButtonSize;
16
+ shape?: import("@rio-m3e/core").ButtonShape;
17
+ color?: import("@rio-m3e/core").AccentColor;
18
+ toggle?: boolean;
19
+ selected?: boolean;
20
+ disabled?: boolean;
21
+ softDisabled?: boolean;
22
+ type?: "button" | "submit" | "reset";
23
+ href?: string;
24
+ value?: string | number | undefined;
25
+ name?: string;
26
+ form?: string;
27
+ autofocus?: boolean;
28
+ target?: string;
29
+ rel?: string;
30
+ download?: boolean | string;
31
+ hreflang?: string;
32
+ referrerpolicy?: string;
33
+ id?: string;
34
+ role?: string;
35
+ title?: string;
36
+ tabindex?: number | string;
37
+ lang?: string;
38
+ dir?: string;
39
+ hidden?: boolean | "until-found";
40
+ inert?: boolean;
41
+ translate?: "yes" | "no";
42
+ onClick?: (event: MouseEvent) => void;
43
+ onDblclick?: (event: MouseEvent) => void;
44
+ onContextmenu?: (event: MouseEvent) => void;
45
+ onMousedown?: (event: MouseEvent) => void;
46
+ onMouseup?: (event: MouseEvent) => void;
47
+ onMouseenter?: (event: MouseEvent) => void;
48
+ onMouseleave?: (event: MouseEvent) => void;
49
+ onMouseover?: (event: MouseEvent) => void;
50
+ onMouseout?: (event: MouseEvent) => void;
51
+ onMousemove?: (event: MouseEvent) => void;
52
+ onWheel?: (event: WheelEvent) => void;
53
+ onTouchstart?: (event: TouchEvent) => void;
54
+ onTouchmove?: (event: TouchEvent) => void;
55
+ onTouchend?: (event: TouchEvent) => void;
56
+ onTouchcancel?: (event: TouchEvent) => void;
57
+ onPointerdown?: (event: PointerEvent) => void;
58
+ onPointerup?: (event: PointerEvent) => void;
59
+ onPointerenter?: (event: PointerEvent) => void;
60
+ onPointerleave?: (event: PointerEvent) => void;
61
+ onPointermove?: (event: PointerEvent) => void;
62
+ onFocus?: (event: FocusEvent) => void;
63
+ onBlur?: (event: FocusEvent) => void;
64
+ onFocusin?: (event: FocusEvent) => void;
65
+ onFocusout?: (event: FocusEvent) => void;
66
+ onKeydown?: (event: KeyboardEvent) => void;
67
+ onKeyup?: (event: KeyboardEvent) => void;
68
+ 'aria-activedescendant'?: string | undefined;
69
+ 'aria-atomic'?: (boolean | "true" | "false") | undefined;
70
+ 'aria-autocomplete'?: "none" | "inline" | "list" | "both" | undefined;
71
+ 'aria-busy'?: (boolean | "true" | "false") | undefined;
72
+ 'aria-checked'?: (boolean | "true" | "false") | "mixed" | undefined;
73
+ 'aria-colcount'?: (string | number) | undefined;
74
+ 'aria-colindex'?: (string | number) | undefined;
75
+ 'aria-colspan'?: (string | number) | undefined;
76
+ 'aria-controls'?: string | undefined;
77
+ 'aria-current'?: (boolean | "true" | "false") | "page" | "step" | "location" | "date" | "time" | undefined;
78
+ 'aria-describedby'?: string | undefined;
79
+ 'aria-details'?: string | undefined;
80
+ 'aria-disabled'?: (boolean | "true" | "false") | undefined;
81
+ 'aria-dropeffect'?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined;
82
+ 'aria-errormessage'?: string | undefined;
83
+ 'aria-expanded'?: (boolean | "true" | "false") | undefined;
84
+ 'aria-flowto'?: string | undefined;
85
+ 'aria-grabbed'?: (boolean | "true" | "false") | undefined;
86
+ 'aria-haspopup'?: (boolean | "true" | "false") | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined;
87
+ 'aria-hidden'?: (boolean | "true" | "false") | undefined;
88
+ 'aria-invalid'?: (boolean | "true" | "false") | "grammar" | "spelling" | undefined;
89
+ 'aria-keyshortcuts'?: string | undefined;
90
+ 'aria-label'?: string | undefined;
91
+ 'aria-labelledby'?: string | undefined;
92
+ 'aria-level'?: (string | number) | undefined;
93
+ 'aria-live'?: "off" | "assertive" | "polite" | undefined;
94
+ 'aria-modal'?: (boolean | "true" | "false") | undefined;
95
+ 'aria-multiline'?: (boolean | "true" | "false") | undefined;
96
+ 'aria-multiselectable'?: (boolean | "true" | "false") | undefined;
97
+ 'aria-orientation'?: "horizontal" | "vertical" | undefined;
98
+ 'aria-owns'?: string | undefined;
99
+ 'aria-placeholder'?: string | undefined;
100
+ 'aria-posinset'?: (string | number) | undefined;
101
+ 'aria-pressed'?: (boolean | "true" | "false") | "mixed" | undefined;
102
+ 'aria-readonly'?: (boolean | "true" | "false") | undefined;
103
+ 'aria-relevant'?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined;
104
+ 'aria-required'?: (boolean | "true" | "false") | undefined;
105
+ 'aria-roledescription'?: string | undefined;
106
+ 'aria-rowcount'?: (string | number) | undefined;
107
+ 'aria-rowindex'?: (string | number) | undefined;
108
+ 'aria-rowspan'?: (string | number) | undefined;
109
+ 'aria-selected'?: (boolean | "true" | "false") | undefined;
110
+ 'aria-setsize'?: (string | number) | undefined;
111
+ 'aria-sort'?: "none" | "ascending" | "descending" | "other" | undefined;
112
+ 'aria-valuemax'?: (string | number) | undefined;
113
+ 'aria-valuemin'?: (string | number) | undefined;
114
+ 'aria-valuenow'?: (string | number) | undefined;
115
+ 'aria-valuetext'?: string | undefined;
116
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
15
117
  click: (event: MouseEvent) => any;
16
118
  "update:selected": (selected: boolean) => any;
17
- }, string, import("vue").PublicProps, Readonly<ButtonProps> & Readonly<{
119
+ }, string, import("vue").PublicProps, Readonly<{
120
+ variant?: import("@rio-m3e/core").ButtonVariant;
121
+ size?: import("@rio-m3e/core").ButtonSize;
122
+ shape?: import("@rio-m3e/core").ButtonShape;
123
+ color?: import("@rio-m3e/core").AccentColor;
124
+ toggle?: boolean;
125
+ selected?: boolean;
126
+ disabled?: boolean;
127
+ softDisabled?: boolean;
128
+ type?: "button" | "submit" | "reset";
129
+ href?: string;
130
+ value?: string | number | undefined;
131
+ name?: string;
132
+ form?: string;
133
+ autofocus?: boolean;
134
+ target?: string;
135
+ rel?: string;
136
+ download?: boolean | string;
137
+ hreflang?: string;
138
+ referrerpolicy?: string;
139
+ id?: string;
140
+ role?: string;
141
+ title?: string;
142
+ tabindex?: number | string;
143
+ lang?: string;
144
+ dir?: string;
145
+ hidden?: boolean | "until-found";
146
+ inert?: boolean;
147
+ translate?: "yes" | "no";
148
+ onClick?: (event: MouseEvent) => void;
149
+ onDblclick?: (event: MouseEvent) => void;
150
+ onContextmenu?: (event: MouseEvent) => void;
151
+ onMousedown?: (event: MouseEvent) => void;
152
+ onMouseup?: (event: MouseEvent) => void;
153
+ onMouseenter?: (event: MouseEvent) => void;
154
+ onMouseleave?: (event: MouseEvent) => void;
155
+ onMouseover?: (event: MouseEvent) => void;
156
+ onMouseout?: (event: MouseEvent) => void;
157
+ onMousemove?: (event: MouseEvent) => void;
158
+ onWheel?: (event: WheelEvent) => void;
159
+ onTouchstart?: (event: TouchEvent) => void;
160
+ onTouchmove?: (event: TouchEvent) => void;
161
+ onTouchend?: (event: TouchEvent) => void;
162
+ onTouchcancel?: (event: TouchEvent) => void;
163
+ onPointerdown?: (event: PointerEvent) => void;
164
+ onPointerup?: (event: PointerEvent) => void;
165
+ onPointerenter?: (event: PointerEvent) => void;
166
+ onPointerleave?: (event: PointerEvent) => void;
167
+ onPointermove?: (event: PointerEvent) => void;
168
+ onFocus?: (event: FocusEvent) => void;
169
+ onBlur?: (event: FocusEvent) => void;
170
+ onFocusin?: (event: FocusEvent) => void;
171
+ onFocusout?: (event: FocusEvent) => void;
172
+ onKeydown?: (event: KeyboardEvent) => void;
173
+ onKeyup?: (event: KeyboardEvent) => void;
174
+ 'aria-activedescendant'?: string | undefined;
175
+ 'aria-atomic'?: (boolean | "true" | "false") | undefined;
176
+ 'aria-autocomplete'?: "none" | "inline" | "list" | "both" | undefined;
177
+ 'aria-busy'?: (boolean | "true" | "false") | undefined;
178
+ 'aria-checked'?: (boolean | "true" | "false") | "mixed" | undefined;
179
+ 'aria-colcount'?: (string | number) | undefined;
180
+ 'aria-colindex'?: (string | number) | undefined;
181
+ 'aria-colspan'?: (string | number) | undefined;
182
+ 'aria-controls'?: string | undefined;
183
+ 'aria-current'?: (boolean | "true" | "false") | "page" | "step" | "location" | "date" | "time" | undefined;
184
+ 'aria-describedby'?: string | undefined;
185
+ 'aria-details'?: string | undefined;
186
+ 'aria-disabled'?: (boolean | "true" | "false") | undefined;
187
+ 'aria-dropeffect'?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined;
188
+ 'aria-errormessage'?: string | undefined;
189
+ 'aria-expanded'?: (boolean | "true" | "false") | undefined;
190
+ 'aria-flowto'?: string | undefined;
191
+ 'aria-grabbed'?: (boolean | "true" | "false") | undefined;
192
+ 'aria-haspopup'?: (boolean | "true" | "false") | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined;
193
+ 'aria-hidden'?: (boolean | "true" | "false") | undefined;
194
+ 'aria-invalid'?: (boolean | "true" | "false") | "grammar" | "spelling" | undefined;
195
+ 'aria-keyshortcuts'?: string | undefined;
196
+ 'aria-label'?: string | undefined;
197
+ 'aria-labelledby'?: string | undefined;
198
+ 'aria-level'?: (string | number) | undefined;
199
+ 'aria-live'?: "off" | "assertive" | "polite" | undefined;
200
+ 'aria-modal'?: (boolean | "true" | "false") | undefined;
201
+ 'aria-multiline'?: (boolean | "true" | "false") | undefined;
202
+ 'aria-multiselectable'?: (boolean | "true" | "false") | undefined;
203
+ 'aria-orientation'?: "horizontal" | "vertical" | undefined;
204
+ 'aria-owns'?: string | undefined;
205
+ 'aria-placeholder'?: string | undefined;
206
+ 'aria-posinset'?: (string | number) | undefined;
207
+ 'aria-pressed'?: (boolean | "true" | "false") | "mixed" | undefined;
208
+ 'aria-readonly'?: (boolean | "true" | "false") | undefined;
209
+ 'aria-relevant'?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined;
210
+ 'aria-required'?: (boolean | "true" | "false") | undefined;
211
+ 'aria-roledescription'?: string | undefined;
212
+ 'aria-rowcount'?: (string | number) | undefined;
213
+ 'aria-rowindex'?: (string | number) | undefined;
214
+ 'aria-rowspan'?: (string | number) | undefined;
215
+ 'aria-selected'?: (boolean | "true" | "false") | undefined;
216
+ 'aria-setsize'?: (string | number) | undefined;
217
+ 'aria-sort'?: "none" | "ascending" | "descending" | "other" | undefined;
218
+ 'aria-valuemax'?: (string | number) | undefined;
219
+ 'aria-valuemin'?: (string | number) | undefined;
220
+ 'aria-valuenow'?: (string | number) | undefined;
221
+ 'aria-valuetext'?: string | undefined;
222
+ }> & Readonly<{
18
223
  onClick?: ((event: MouseEvent) => any) | undefined;
19
224
  "onUpdate:selected"?: ((selected: boolean) => any) | undefined;
20
225
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -1,28 +1,38 @@
1
+ import { ModelModifiers, SelectionChange } from "../model/model.js";
1
2
  import { ButtonGroupProps, ButtonGroupSelected } from "@rio-m3e/core";
2
3
  import "@rio-m3e/styles/button-group.css";
3
- interface Props extends Omit<ButtonGroupProps, 'selected'> {
4
+ export interface Props<T extends ButtonGroupSelected, R extends boolean> extends Omit<ButtonGroupProps, 'selected' | 'required'> {
4
5
  /** The selected value (`single`) or values (`multiple`), with `v-model`. */
5
- modelValue?: ButtonGroupSelected;
6
- }
7
- type __VLS_Slots = {
6
+ modelValue?: T;
8
7
  /**
9
- * `RioButton`s and `RioIconButton`s. They take the group's size and shape unless they set their
10
- * own. With `overflow`, the ones that don't fit go into the menu, last first.
8
+ * With a selection, keeps at least one button selected: the last one can't be turned off, so a
9
+ * single selection never reports `undefined`.
11
10
  */
12
- default?: () => unknown;
13
- /** The "More options" button's icon, in place of the one the app registered (`more`) */
14
- 'more-icon'?: () => unknown;
15
- };
16
- declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
17
- "update:modelValue": (selected: ButtonGroupSelected) => any;
18
- }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
19
- "onUpdate:modelValue"?: ((selected: ButtonGroupSelected) => any) | undefined;
20
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
21
- declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
22
- declare const _default: typeof __VLS_export;
23
- type __VLS_WithSlots<T, S> = T & {
24
- new (): {
25
- $slots: S;
11
+ required?: R & boolean;
12
+ /** The modifiers given to `v-model`, as `.trim` */
13
+ modelModifiers?: ModelModifiers;
14
+ }
15
+ declare const __VLS_export: <T extends ButtonGroupSelected, 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<{
16
+ props: import("vue").PublicProps & __VLS_PrettifyLocal<Props<T, R> & {
17
+ "onUpdate:modelValue"?: ((selected: SelectionChange<T, R>) => any) | undefined;
18
+ } & Omit<Partial<import("vue").HTMLAttributes & import("vue").ReservedProps>, "onUpdate:modelValue">> & (typeof globalThis extends {
19
+ __VLS_PROPS_FALLBACK: infer P;
20
+ } ? P : {});
21
+ expose: (exposed: {}) => void;
22
+ attrs: any;
23
+ slots: {
24
+ /**
25
+ * `RioButton`s and `RioIconButton`s. They take the group's size and shape unless they set their
26
+ * own. With `overflow`, the ones that don't fit go into the menu, last first.
27
+ */
28
+ default?: () => unknown;
29
+ /** The "More options" button's icon, in place of the one the app registered (`more`) */
30
+ 'more-icon'?: () => unknown;
26
31
  };
32
+ emit: (evt: "update:modelValue", selected: SelectionChange<T, R>) => void;
33
+ }>) => import("vue").VNode & {
34
+ __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
27
35
  };
36
+ declare const _default: typeof __VLS_export;
37
+ type __VLS_PrettifyLocal<T> = (T extends any ? { [K in keyof T]: T[K]; } : { [K in keyof T as K]: T[K]; }) & {};
28
38
  export { _default as default };
@@ -9,12 +9,13 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
9
9
  __name: "ButtonGroup",
10
10
  props: {
11
11
  modelValue: {},
12
+ required: { type: Boolean },
13
+ modelModifiers: {},
12
14
  variant: {},
13
15
  size: {},
14
16
  shape: {},
15
17
  color: {},
16
18
  selection: {},
17
- required: { type: Boolean },
18
19
  disabled: { type: Boolean },
19
20
  overflow: { type: Boolean },
20
21
  maxItems: {}
@@ -1,19 +1,203 @@
1
- import { CardProps } from "@rio-m3e/core";
2
1
  import "@rio-m3e/styles/base/focus-ring.css";
3
2
  import "@rio-m3e/styles/base/state-layer.css";
4
3
  import "@rio-m3e/styles/card.css";
5
- interface Props extends CardProps {
6
- /**
7
- * A press on the card. With it, and without `href`, the card is a button: then it holds no
8
- * buttons or links of its own.
9
- */
10
- onClick?: (event: MouseEvent) => void;
11
- }
12
4
  type __VLS_Slots = {
13
5
  /** The content: the card's blocks (`RioCardMedia`, `RioCardHeader`, ...), or anything else */
14
6
  default?: () => unknown;
15
7
  };
16
- declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
8
+ declare const __VLS_base: import("vue").DefineComponent<{
9
+ onClick?: (((event: MouseEvent) => void) & ((event: MouseEvent) => void)) | undefined;
10
+ variant?: import("@rio-m3e/core").CardVariant;
11
+ href?: string;
12
+ disabled?: boolean;
13
+ name?: string;
14
+ value?: string | number;
15
+ form?: string;
16
+ autofocus?: boolean;
17
+ target?: string;
18
+ rel?: string;
19
+ download?: boolean | string;
20
+ hreflang?: string;
21
+ referrerpolicy?: string;
22
+ id?: string;
23
+ role?: string;
24
+ title?: string;
25
+ tabindex?: number | string;
26
+ lang?: string;
27
+ dir?: string;
28
+ hidden?: boolean | "until-found";
29
+ inert?: boolean;
30
+ translate?: "yes" | "no";
31
+ onDblclick?: (event: MouseEvent) => void;
32
+ onContextmenu?: (event: MouseEvent) => void;
33
+ onMousedown?: (event: MouseEvent) => void;
34
+ onMouseup?: (event: MouseEvent) => void;
35
+ onMouseenter?: (event: MouseEvent) => void;
36
+ onMouseleave?: (event: MouseEvent) => void;
37
+ onMouseover?: (event: MouseEvent) => void;
38
+ onMouseout?: (event: MouseEvent) => void;
39
+ onMousemove?: (event: MouseEvent) => void;
40
+ onWheel?: (event: WheelEvent) => void;
41
+ onTouchstart?: (event: TouchEvent) => void;
42
+ onTouchmove?: (event: TouchEvent) => void;
43
+ onTouchend?: (event: TouchEvent) => void;
44
+ onTouchcancel?: (event: TouchEvent) => void;
45
+ onPointerdown?: (event: PointerEvent) => void;
46
+ onPointerup?: (event: PointerEvent) => void;
47
+ onPointerenter?: (event: PointerEvent) => void;
48
+ onPointerleave?: (event: PointerEvent) => void;
49
+ onPointermove?: (event: PointerEvent) => void;
50
+ onFocus?: (event: FocusEvent) => void;
51
+ onBlur?: (event: FocusEvent) => void;
52
+ onFocusin?: (event: FocusEvent) => void;
53
+ onFocusout?: (event: FocusEvent) => void;
54
+ onKeydown?: (event: KeyboardEvent) => void;
55
+ onKeyup?: (event: KeyboardEvent) => void;
56
+ 'aria-activedescendant'?: string | undefined;
57
+ 'aria-atomic'?: (boolean | "true" | "false") | undefined;
58
+ 'aria-autocomplete'?: "none" | "inline" | "list" | "both" | undefined;
59
+ 'aria-busy'?: (boolean | "true" | "false") | undefined;
60
+ 'aria-checked'?: (boolean | "true" | "false") | "mixed" | undefined;
61
+ 'aria-colcount'?: (string | number) | undefined;
62
+ 'aria-colindex'?: (string | number) | undefined;
63
+ 'aria-colspan'?: (string | number) | undefined;
64
+ 'aria-controls'?: string | undefined;
65
+ 'aria-current'?: (boolean | "true" | "false") | "page" | "step" | "location" | "date" | "time" | undefined;
66
+ 'aria-describedby'?: string | undefined;
67
+ 'aria-details'?: string | undefined;
68
+ 'aria-disabled'?: (boolean | "true" | "false") | undefined;
69
+ 'aria-dropeffect'?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined;
70
+ 'aria-errormessage'?: string | undefined;
71
+ 'aria-expanded'?: (boolean | "true" | "false") | undefined;
72
+ 'aria-flowto'?: string | undefined;
73
+ 'aria-grabbed'?: (boolean | "true" | "false") | undefined;
74
+ 'aria-haspopup'?: (boolean | "true" | "false") | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined;
75
+ 'aria-hidden'?: (boolean | "true" | "false") | undefined;
76
+ 'aria-invalid'?: (boolean | "true" | "false") | "grammar" | "spelling" | undefined;
77
+ 'aria-keyshortcuts'?: string | undefined;
78
+ 'aria-label'?: string | undefined;
79
+ 'aria-labelledby'?: string | undefined;
80
+ 'aria-level'?: (string | number) | undefined;
81
+ 'aria-live'?: "off" | "assertive" | "polite" | undefined;
82
+ 'aria-modal'?: (boolean | "true" | "false") | undefined;
83
+ 'aria-multiline'?: (boolean | "true" | "false") | undefined;
84
+ 'aria-multiselectable'?: (boolean | "true" | "false") | undefined;
85
+ 'aria-orientation'?: "horizontal" | "vertical" | undefined;
86
+ 'aria-owns'?: string | undefined;
87
+ 'aria-placeholder'?: string | undefined;
88
+ 'aria-posinset'?: (string | number) | undefined;
89
+ 'aria-pressed'?: (boolean | "true" | "false") | "mixed" | undefined;
90
+ 'aria-readonly'?: (boolean | "true" | "false") | undefined;
91
+ 'aria-relevant'?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined;
92
+ 'aria-required'?: (boolean | "true" | "false") | undefined;
93
+ 'aria-roledescription'?: string | undefined;
94
+ 'aria-rowcount'?: (string | number) | undefined;
95
+ 'aria-rowindex'?: (string | number) | undefined;
96
+ 'aria-rowspan'?: (string | number) | undefined;
97
+ 'aria-selected'?: (boolean | "true" | "false") | undefined;
98
+ 'aria-setsize'?: (string | number) | undefined;
99
+ 'aria-sort'?: "none" | "ascending" | "descending" | "other" | undefined;
100
+ 'aria-valuemax'?: (string | number) | undefined;
101
+ 'aria-valuemin'?: (string | number) | undefined;
102
+ 'aria-valuenow'?: (string | number) | undefined;
103
+ 'aria-valuetext'?: string | undefined;
104
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
105
+ onClick?: (((event: MouseEvent) => void) & ((event: MouseEvent) => void)) | undefined;
106
+ variant?: import("@rio-m3e/core").CardVariant;
107
+ href?: string;
108
+ disabled?: boolean;
109
+ name?: string;
110
+ value?: string | number;
111
+ form?: string;
112
+ autofocus?: boolean;
113
+ target?: string;
114
+ rel?: string;
115
+ download?: boolean | string;
116
+ hreflang?: string;
117
+ referrerpolicy?: string;
118
+ id?: string;
119
+ role?: string;
120
+ title?: string;
121
+ tabindex?: number | string;
122
+ lang?: string;
123
+ dir?: string;
124
+ hidden?: boolean | "until-found";
125
+ inert?: boolean;
126
+ translate?: "yes" | "no";
127
+ onDblclick?: (event: MouseEvent) => void;
128
+ onContextmenu?: (event: MouseEvent) => void;
129
+ onMousedown?: (event: MouseEvent) => void;
130
+ onMouseup?: (event: MouseEvent) => void;
131
+ onMouseenter?: (event: MouseEvent) => void;
132
+ onMouseleave?: (event: MouseEvent) => void;
133
+ onMouseover?: (event: MouseEvent) => void;
134
+ onMouseout?: (event: MouseEvent) => void;
135
+ onMousemove?: (event: MouseEvent) => void;
136
+ onWheel?: (event: WheelEvent) => void;
137
+ onTouchstart?: (event: TouchEvent) => void;
138
+ onTouchmove?: (event: TouchEvent) => void;
139
+ onTouchend?: (event: TouchEvent) => void;
140
+ onTouchcancel?: (event: TouchEvent) => void;
141
+ onPointerdown?: (event: PointerEvent) => void;
142
+ onPointerup?: (event: PointerEvent) => void;
143
+ onPointerenter?: (event: PointerEvent) => void;
144
+ onPointerleave?: (event: PointerEvent) => void;
145
+ onPointermove?: (event: PointerEvent) => void;
146
+ onFocus?: (event: FocusEvent) => void;
147
+ onBlur?: (event: FocusEvent) => void;
148
+ onFocusin?: (event: FocusEvent) => void;
149
+ onFocusout?: (event: FocusEvent) => void;
150
+ onKeydown?: (event: KeyboardEvent) => void;
151
+ onKeyup?: (event: KeyboardEvent) => void;
152
+ 'aria-activedescendant'?: string | undefined;
153
+ 'aria-atomic'?: (boolean | "true" | "false") | undefined;
154
+ 'aria-autocomplete'?: "none" | "inline" | "list" | "both" | undefined;
155
+ 'aria-busy'?: (boolean | "true" | "false") | undefined;
156
+ 'aria-checked'?: (boolean | "true" | "false") | "mixed" | undefined;
157
+ 'aria-colcount'?: (string | number) | undefined;
158
+ 'aria-colindex'?: (string | number) | undefined;
159
+ 'aria-colspan'?: (string | number) | undefined;
160
+ 'aria-controls'?: string | undefined;
161
+ 'aria-current'?: (boolean | "true" | "false") | "page" | "step" | "location" | "date" | "time" | undefined;
162
+ 'aria-describedby'?: string | undefined;
163
+ 'aria-details'?: string | undefined;
164
+ 'aria-disabled'?: (boolean | "true" | "false") | undefined;
165
+ 'aria-dropeffect'?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined;
166
+ 'aria-errormessage'?: string | undefined;
167
+ 'aria-expanded'?: (boolean | "true" | "false") | undefined;
168
+ 'aria-flowto'?: string | undefined;
169
+ 'aria-grabbed'?: (boolean | "true" | "false") | undefined;
170
+ 'aria-haspopup'?: (boolean | "true" | "false") | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined;
171
+ 'aria-hidden'?: (boolean | "true" | "false") | undefined;
172
+ 'aria-invalid'?: (boolean | "true" | "false") | "grammar" | "spelling" | undefined;
173
+ 'aria-keyshortcuts'?: string | undefined;
174
+ 'aria-label'?: string | undefined;
175
+ 'aria-labelledby'?: string | undefined;
176
+ 'aria-level'?: (string | number) | undefined;
177
+ 'aria-live'?: "off" | "assertive" | "polite" | undefined;
178
+ 'aria-modal'?: (boolean | "true" | "false") | undefined;
179
+ 'aria-multiline'?: (boolean | "true" | "false") | undefined;
180
+ 'aria-multiselectable'?: (boolean | "true" | "false") | undefined;
181
+ 'aria-orientation'?: "horizontal" | "vertical" | undefined;
182
+ 'aria-owns'?: string | undefined;
183
+ 'aria-placeholder'?: string | undefined;
184
+ 'aria-posinset'?: (string | number) | undefined;
185
+ 'aria-pressed'?: (boolean | "true" | "false") | "mixed" | undefined;
186
+ 'aria-readonly'?: (boolean | "true" | "false") | undefined;
187
+ 'aria-relevant'?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined;
188
+ 'aria-required'?: (boolean | "true" | "false") | undefined;
189
+ 'aria-roledescription'?: string | undefined;
190
+ 'aria-rowcount'?: (string | number) | undefined;
191
+ 'aria-rowindex'?: (string | number) | undefined;
192
+ 'aria-rowspan'?: (string | number) | undefined;
193
+ 'aria-selected'?: (boolean | "true" | "false") | undefined;
194
+ 'aria-setsize'?: (string | number) | undefined;
195
+ 'aria-sort'?: "none" | "ascending" | "descending" | "other" | undefined;
196
+ 'aria-valuemax'?: (string | number) | undefined;
197
+ 'aria-valuemin'?: (string | number) | undefined;
198
+ 'aria-valuenow'?: (string | number) | undefined;
199
+ 'aria-valuetext'?: string | undefined;
200
+ }> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
17
201
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
18
202
  declare const _default: typeof __VLS_export;
19
203
  type __VLS_WithSlots<T, S> = T & {
@@ -3,7 +3,7 @@ type __VLS_Slots = {
3
3
  /** Buttons, as Learn more or Add to cart, at the card's end */
4
4
  default?: () => unknown;
5
5
  };
6
- declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
6
+ declare const __VLS_base: import("vue").DefineComponent<Partial<import("vue").HTMLAttributes & import("vue").ReservedProps>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Partial<import("vue").HTMLAttributes & import("vue").ReservedProps>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
7
7
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
8
8
  declare const _default: typeof __VLS_export;
9
9
  type __VLS_WithSlots<T, S> = T & {
@@ -3,7 +3,7 @@ type __VLS_Slots = {
3
3
  /** Supporting text, as a summary, or other content, 16px in from the card's sides */
4
4
  default?: () => unknown;
5
5
  };
6
- declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
6
+ declare const __VLS_base: import("vue").DefineComponent<Partial<import("vue").HTMLAttributes & import("vue").ReservedProps>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Partial<import("vue").HTMLAttributes & import("vue").ReservedProps>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
7
7
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
8
8
  declare const _default: typeof __VLS_export;
9
9
  type __VLS_WithSlots<T, S> = T & {