@aleph-alpha/ui-library 5.8.0 → 5.9.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.
Files changed (65) hide show
  1. package/README.md +8 -7
  2. package/dist/system/__tests__/test-utils.d.ts +24 -0
  3. package/dist/system/components/UiAutocomplete/UiAutocomplete.vue.d.ts +8 -4
  4. package/dist/system/components/UiAutocomplete/types.d.ts +11 -0
  5. package/dist/system/components/UiFadeMask/UiFadeMask.vue.d.ts +21 -0
  6. package/dist/system/components/UiFadeMask/index.d.ts +2 -0
  7. package/dist/system/components/UiFadeMask/types.d.ts +33 -0
  8. package/dist/system/components/UiListbox/UiListboxVirtualizer.vue.d.ts +21 -0
  9. package/dist/system/components/UiListbox/index.d.ts +1 -0
  10. package/dist/system/components/UiListbox/types.d.ts +36 -0
  11. package/dist/system/components/UiSelect/UiSelectVirtualizer.vue.d.ts +21 -0
  12. package/dist/system/components/UiSelect/index.d.ts +1 -0
  13. package/dist/system/components/UiSelect/types.d.ts +36 -0
  14. package/dist/system/components/core/native-select/NativeSelectOptGroup.vue.d.ts +2 -2
  15. package/dist/system/components/core/native-select/NativeSelectOption.vue.d.ts +2 -2
  16. package/dist/system/components/index.d.ts +1 -0
  17. package/dist/system/lib.js +22249 -21090
  18. package/dist/system/mobile-device-frame.png +0 -0
  19. package/dist/system/patterns/UiFloatActions/types.d.ts +2 -1
  20. package/dist/system/patterns/UiProfileCard/index.d.ts +7 -0
  21. package/dist/system/patterns/UiTopBar/UiTopBar.vue.d.ts +23 -0
  22. package/dist/system/patterns/UiTopBar/index.d.ts +2 -0
  23. package/dist/system/patterns/UiTopBar/types.d.ts +28 -0
  24. package/dist/system/patterns/index.d.ts +2 -0
  25. package/dist/system/story-sidebar-icons.json +4 -1
  26. package/package.json +2 -1
  27. package/src/__tests__/test-utils.ts +74 -0
  28. package/src/components/UiAutocomplete/UiAutocomplete.stories.ts +94 -0
  29. package/src/components/UiAutocomplete/UiAutocomplete.vue +164 -44
  30. package/src/components/UiAutocomplete/__tests__/UiAutocompleteVirtualized.test.ts +107 -0
  31. package/src/components/UiAutocomplete/types.ts +11 -0
  32. package/src/components/UiDropdownMenu/UiDropdownMenu.stories.ts +760 -0
  33. package/src/components/UiFadeMask/UiFadeMask.stories.ts +563 -0
  34. package/src/components/UiFadeMask/UiFadeMask.vue +86 -0
  35. package/src/components/UiFadeMask/__tests__/UiFadeMask.test.ts +52 -0
  36. package/src/components/UiFadeMask/index.ts +6 -0
  37. package/src/components/UiFadeMask/types.ts +35 -0
  38. package/src/components/UiListbox/UiListbox.stories.ts +121 -0
  39. package/src/components/UiListbox/UiListboxVirtualizer.vue +42 -0
  40. package/src/components/UiListbox/__tests__/UiListboxVirtualizer.test.ts +96 -0
  41. package/src/components/UiListbox/index.ts +1 -0
  42. package/src/components/UiListbox/types.ts +42 -0
  43. package/src/components/UiSelect/UiSelect.stories.ts +109 -1
  44. package/src/components/UiSelect/UiSelectVirtualizer.vue +373 -0
  45. package/src/components/UiSelect/__tests__/UiSelectVirtualizer.test.ts +185 -0
  46. package/src/components/UiSelect/index.ts +1 -0
  47. package/src/components/UiSelect/types.ts +38 -0
  48. package/src/components/core/dropdown-menu/DropdownMenuCheckboxItem.vue +8 -2
  49. package/src/components/core/dropdown-menu/DropdownMenuItem.vue +1 -1
  50. package/src/components/core/dropdown-menu/DropdownMenuRadioItem.vue +8 -2
  51. package/src/components/core/dropdown-menu/DropdownMenuSubTrigger.vue +1 -1
  52. package/src/components/core/listbox/ListboxItem.vue +1 -1
  53. package/src/components/index.ts +1 -0
  54. package/src/patterns/UiFloatActions/UiFloatActions.stories.ts +4 -5
  55. package/src/patterns/UiFloatActions/UiFloatActions.vue +23 -11
  56. package/src/patterns/UiFloatActions/__tests__/UiFloatActions.test.ts +23 -0
  57. package/src/patterns/UiFloatActions/types.ts +2 -1
  58. package/src/patterns/UiProfileCard/UiProfileCard.stories.ts +1064 -0
  59. package/src/patterns/UiProfileCard/index.ts +7 -0
  60. package/src/patterns/UiTopBar/UiTopBar.stories.ts +1121 -0
  61. package/src/patterns/UiTopBar/UiTopBar.vue +166 -0
  62. package/src/patterns/UiTopBar/__tests__/UiTopBar.test.ts +245 -0
  63. package/src/patterns/UiTopBar/index.ts +2 -0
  64. package/src/patterns/UiTopBar/types.ts +29 -0
  65. package/src/patterns/index.ts +2 -0
package/README.md CHANGED
@@ -232,7 +232,7 @@ For Cursor, add `--cursor` flag. Then restart your IDE.
232
232
  - [Architecture](./docs/ARCHITECTURE.md) — Component structure and design decisions
233
233
  - [Contribution Guidelines](./docs/CONTRIBUTION_GUIDELINES.md) — Accessibility requirements and patterns
234
234
  - [Storybook Guidelines](./docs/STORYBOOK.md) — Story patterns and guidelines
235
- - [Testing Strategy](./docs/TESTING.md) — What we test and where
235
+ - [Testing Strategy](./docs/TESTING.md) — What we test and where, including the automated tests every component must ship
236
236
 
237
237
  ## Getting Started
238
238
 
@@ -301,13 +301,14 @@ Please refer to [CONTRIBUTION_GUIDELINES.md](./docs/CONTRIBUTION_GUIDELINES.md)
301
301
 
302
302
  ## Testing
303
303
 
304
- | Command | Purpose |
305
- | --------------------- | ----------------------------------- |
306
- | `pnpm test` | Run unit tests |
307
- | `pnpm test:storybook` | Run Storybook + accessibility tests |
308
- | `pnpm lint` | Run linting including a11y rules |
304
+ | Command | Purpose |
305
+ | --------------------------- | -------------------------------------------------------------- |
306
+ | `pnpm test` | Run unit tests |
307
+ | `pnpm test:storybook` | Run automated tests (`play` functions + a11y) against a build |
308
+ | `pnpm test:storybook:local` | Build Storybook, then run the automated tests |
309
+ | `pnpm lint` | Run linting including a11y rules |
309
310
 
310
- See [Testing Strategy](./docs/TESTING.md) for details on what we test and where.
311
+ Every component must ship both layers: unit tests and automated tests (`play` functions covering interaction, keyboard, zoom, screen reader, and mobile). See [Testing Strategy](./docs/TESTING.md#required-coverage--all-five-categories-every-component).
311
312
 
312
313
  ## Pre-commit Workflow
313
314
 
@@ -35,3 +35,27 @@ export declare function createMockIcon(testId?: string): Component;
35
35
  * ```
36
36
  */
37
37
  export declare const MockIcon: Component;
38
+ /**
39
+ * Stubs the layout and scrolling that jsdom leaves unimplemented, so that a
40
+ * virtualized list can measure its scroll container and move through it.
41
+ *
42
+ * Heights come from the stub rather than from layout, and the scrolled height
43
+ * is read off the spacer every virtualizer renders as its first child.
44
+ * @param viewportHeight - The visible height every element reports
45
+ * @returns A teardown restoring the stubbed properties
46
+ * @example
47
+ * ```ts
48
+ * import { stubScrollLayout } from '@/__tests__/test-utils';
49
+ *
50
+ * let restoreScrollLayout: () => void;
51
+ *
52
+ * beforeAll(() => {
53
+ * restoreScrollLayout = stubScrollLayout();
54
+ * });
55
+ *
56
+ * afterAll(() => {
57
+ * restoreScrollLayout();
58
+ * });
59
+ * ```
60
+ */
61
+ export declare function stubScrollLayout(viewportHeight?: number): () => void;
@@ -1,4 +1,4 @@
1
- import { UiAutocompleteProps } from './types';
1
+ import { UiAutocompleteOption, UiAutocompleteProps } from './types';
2
2
  declare function setOpen(value: boolean): void;
3
3
  declare function setInputValue(value: string): void;
4
4
  declare function isSelected(value: string): boolean;
@@ -11,7 +11,7 @@ declare function __VLS_template(): {
11
11
  ariaLabel: string;
12
12
  disabled: boolean;
13
13
  selectedValues: string[];
14
- selectedOptions: import('./types').UiAutocompleteOption[];
14
+ selectedOptions: UiAutocompleteOption[];
15
15
  displayText: string;
16
16
  showSelectionDisplay: boolean;
17
17
  open: boolean;
@@ -19,7 +19,7 @@ declare function __VLS_template(): {
19
19
  setOpen: typeof setOpen;
20
20
  }): any;
21
21
  item?(_: {
22
- option: import('./types').UiAutocompleteOption;
22
+ option: UiAutocompleteOption;
23
23
  selected: boolean;
24
24
  disabled: boolean;
25
25
  }): any;
@@ -27,7 +27,7 @@ declare function __VLS_template(): {
27
27
  default?(_: {
28
28
  inputValue: string;
29
29
  selectedValues: string[];
30
- selectedOptions: import('./types').UiAutocompleteOption[];
30
+ selectedOptions: UiAutocompleteOption[];
31
31
  isSelected: typeof isSelected;
32
32
  setOpen: typeof setOpen;
33
33
  }): any;
@@ -35,6 +35,7 @@ declare function __VLS_template(): {
35
35
  refs: {
36
36
  rootEl: HTMLDivElement;
37
37
  inputEl: HTMLInputElement;
38
+ listboxEl: HTMLDivElement;
38
39
  };
39
40
  rootEl: HTMLDivElement;
40
41
  };
@@ -74,9 +75,12 @@ declare const __VLS_component: import('vue').DefineComponent<UiAutocompleteProps
74
75
  defaultInputValue: string;
75
76
  emptyText: string;
76
77
  showIndicator: boolean;
78
+ virtualized: boolean;
79
+ estimateSize: number;
77
80
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
78
81
  rootEl: HTMLDivElement;
79
82
  inputEl: HTMLInputElement;
83
+ listboxEl: HTMLDivElement;
80
84
  }, HTMLDivElement>;
81
85
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
82
86
  export default _default;
@@ -53,6 +53,17 @@ export type UiAutocompleteProps = {
53
53
  startIcon?: UiIconProps['name'];
54
54
  /** Whether to show the default right-side selected indicator. */
55
55
  showIndicator?: boolean;
56
+ /**
57
+ * Whether to mount only the options in view, for lists too long to render at
58
+ * once. Applies to `options` only, not to items provided through the slot.
59
+ */
60
+ virtualized?: boolean;
61
+ /**
62
+ * The expected height of an option in pixels while virtualizing, used to size
63
+ * the scrollbar before the options are measured. Raise it for taller custom
64
+ * items.
65
+ */
66
+ estimateSize?: number;
56
67
  };
57
68
  export type UiAutocompleteEmits = {
58
69
  /** Emitted when the selected value changes. */
@@ -0,0 +1,21 @@
1
+ import { UiFadeMaskProps } from './types';
2
+ declare function __VLS_template(): {
3
+ attrs: Partial<{}>;
4
+ slots: {
5
+ default?(_: {}): any;
6
+ };
7
+ refs: {};
8
+ rootEl: any;
9
+ };
10
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
11
+ declare const __VLS_component: import('vue').DefineComponent<UiFadeMaskProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<UiFadeMaskProps> & Readonly<{}>, {
12
+ position: import('./types').UiFadeMaskPosition;
13
+ background: import('./types').UiFadeMaskBackground;
14
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
15
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
16
+ export default _default;
17
+ type __VLS_WithTemplateSlots<T, S> = T & {
18
+ new (): {
19
+ $slots: S;
20
+ };
21
+ };
@@ -0,0 +1,2 @@
1
+ export { default as UiFadeMask } from './UiFadeMask.vue';
2
+ export type { UiFadeMaskProps, UiFadeMaskBackground, UiFadeMaskPosition, } from './types';
@@ -0,0 +1,33 @@
1
+ export type UiFadeMaskBackground = 'primary' | 'secondary';
2
+ export type UiFadeMaskPosition = 'top' | 'bottom';
3
+ /**
4
+ * Wraps content and lays a gradient band over one of its edges, so scrolling or
5
+ * clipped content dissolves into the surface instead of ending on a hard cut.
6
+ * Put a scroll container in the slot and the band stays pinned to the wrapper's
7
+ * top or bottom edge.
8
+ *
9
+ * The band is decorative and lets pointer events through, so the wrapped
10
+ * content stays scrollable and clickable underneath it. Its height defaults to
11
+ * 4rem on mobile and 6rem from the medium breakpoint up, and can be retuned per
12
+ * usage with the `--ui-fade-mask-height` custom property.
13
+ * @category Layout
14
+ * @useCases scroll fade, overflow hint, clipped text fade, scroll edge indicator, sticky header backdrop
15
+ * @keywords fade, mask, gradient, scrim, overlay, scroll, overflow, edge
16
+ * @related UiSeparator, UiSheet
17
+ */
18
+ export interface UiFadeMaskProps {
19
+ /**
20
+ * Surface the gradient fades into. Match it to the background the wrapped
21
+ * content sits on, otherwise the fade ends on a visible edge.
22
+ * @default 'secondary'
23
+ */
24
+ background?: UiFadeMaskBackground;
25
+ /**
26
+ * Edge the band is pinned to. `top` is opaque at the top and fades downwards,
27
+ * `bottom` is opaque at the bottom and fades upwards. The bottom fade ramps
28
+ * across the whole band on desktop and turns opaque near the top edge on
29
+ * mobile, so it reads the same at both band heights.
30
+ * @default 'top'
31
+ */
32
+ position?: UiFadeMaskPosition;
33
+ }
@@ -0,0 +1,21 @@
1
+ import { AcceptableValue } from 'reka-ui';
2
+ import { UiListboxVirtualizerProps, UiListboxVirtualizerSlotProps } from './types';
3
+ declare const _default: <T extends AcceptableValue>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
4
+ props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, never> & UiListboxVirtualizerProps<T> & Partial<{}>> & import('vue').PublicProps;
5
+ expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
6
+ attrs: any;
7
+ slots: Readonly<{
8
+ /** A single option, which has to render exactly one `UiListboxItem`. */
9
+ default(props: UiListboxVirtualizerSlotProps<T>): unknown;
10
+ }> & {
11
+ /** A single option, which has to render exactly one `UiListboxItem`. */
12
+ default(props: UiListboxVirtualizerSlotProps<T>): unknown;
13
+ };
14
+ emit: {};
15
+ }>) => import('vue').VNode & {
16
+ __ctx?: Awaited<typeof __VLS_setup>;
17
+ };
18
+ export default _default;
19
+ type __VLS_PrettifyLocal<T> = {
20
+ [K in keyof T]: T[K];
21
+ } & {};
@@ -3,6 +3,7 @@ export { default as UiListboxContent } from './UiListboxContent.vue';
3
3
  export { default as UiListboxFilter } from './UiListboxFilter.vue';
4
4
  export { default as UiListboxItem } from './UiListboxItem.vue';
5
5
  export { default as UiListboxItemIndicator } from './UiListboxItemIndicator.vue';
6
+ export { default as UiListboxVirtualizer } from './UiListboxVirtualizer.vue';
6
7
  export { default as UiListboxGroup } from './UiListboxGroup.vue';
7
8
  export { default as UiListboxGroupLabel } from './UiListboxGroupLabel.vue';
8
9
  export type * from './types';
@@ -85,6 +85,42 @@ export interface UiListboxItemProps {
85
85
  */
86
86
  disabled?: boolean;
87
87
  }
88
+ /**
89
+ * Props for the UiListboxVirtualizer component.
90
+ * Renders only the options in view, for lists too long to mount at once.
91
+ */
92
+ export interface UiListboxVirtualizerProps<T extends AcceptableValue = AcceptableValue> {
93
+ /**
94
+ * The full list of options to virtualize.
95
+ */
96
+ options: T[];
97
+ /**
98
+ * How many options to render outside the visible area, as a scroll buffer.
99
+ * @default 12
100
+ */
101
+ overscan?: number;
102
+ /**
103
+ * The expected height of an option in pixels, used to size the scrollbar
104
+ * before the options are measured.
105
+ * @default 28
106
+ */
107
+ estimateSize?: number | ((index: number) => number);
108
+ /**
109
+ * The text of an option, used for type-ahead. Required for object options,
110
+ * which have no meaningful string form.
111
+ */
112
+ textContent?: (option: T) => string;
113
+ }
114
+ /**
115
+ * Slot props for the UiListboxVirtualizer default slot.
116
+ * Describes the option to render.
117
+ */
118
+ export interface UiListboxVirtualizerSlotProps<T extends AcceptableValue = AcceptableValue> {
119
+ /** The option to render. */
120
+ option: T;
121
+ /** The position of the option in the full list, starting at 0. */
122
+ index: number;
123
+ }
88
124
  /**
89
125
  * Props for the UiListboxItemIndicator component.
90
126
  * Displays a visual indicator when the item is selected.
@@ -0,0 +1,21 @@
1
+ import { VNode } from 'vue';
2
+ import { UiSelectVirtualizerProps, UiSelectVirtualizerSlotProps } from './types';
3
+ declare const _default: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
4
+ props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, never> & UiSelectVirtualizerProps<T> & Partial<{}>> & import('vue').PublicProps;
5
+ expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
6
+ attrs: any;
7
+ slots: Readonly<{
8
+ /** A single option, which has to render exactly one `UiSelectItem`. */
9
+ default(props: UiSelectVirtualizerSlotProps<T>): VNode[];
10
+ }> & {
11
+ /** A single option, which has to render exactly one `UiSelectItem`. */
12
+ default(props: UiSelectVirtualizerSlotProps<T>): VNode[];
13
+ };
14
+ emit: {};
15
+ }>) => import('vue').VNode & {
16
+ __ctx?: Awaited<typeof __VLS_setup>;
17
+ };
18
+ export default _default;
19
+ type __VLS_PrettifyLocal<T> = {
20
+ [K in keyof T]: T[K];
21
+ } & {};
@@ -2,6 +2,7 @@ export { default as UiSelect } from './UiSelect.vue';
2
2
  export { default as UiSelectTrigger } from './UiSelectTrigger.vue';
3
3
  export { default as UiSelectContent } from './UiSelectContent.vue';
4
4
  export { default as UiSelectItem } from './UiSelectItem.vue';
5
+ export { default as UiSelectVirtualizer } from './UiSelectVirtualizer.vue';
5
6
  export { default as UiSelectValue } from './UiSelectValue.vue';
6
7
  export { default as UiSelectLabel } from './UiSelectLabel.vue';
7
8
  export { default as UiSelectGroup } from './UiSelectGroup.vue';
@@ -121,6 +121,42 @@ export type UiSelectItemProps = {
121
121
  /** Text for typeahead purposes. */
122
122
  textValue?: string;
123
123
  };
124
+ /**
125
+ * Props for the UiSelectVirtualizer component.
126
+ * Renders only the options in view, for lists too long to mount at once.
127
+ */
128
+ export type UiSelectVirtualizerProps<T> = {
129
+ /** The full list of options to virtualize. */
130
+ options: T[];
131
+ /**
132
+ * The value of an option, matched against the select's own value to open on
133
+ * the current selection. Defaults to the option itself as a string.
134
+ */
135
+ optionValue?: (option: T) => string;
136
+ /**
137
+ * The text of an option, used for type-ahead. Required for object options,
138
+ * which have no meaningful string form.
139
+ */
140
+ textContent?: (option: T) => string;
141
+ /**
142
+ * The expected height of an option in pixels, used to size the scrollbar
143
+ * before the options are measured.
144
+ */
145
+ estimateSize?: number;
146
+ /** How many options to render outside the visible area, as a scroll buffer. */
147
+ overscan?: number;
148
+ /** Additional classes for the scroll container, such as its height. */
149
+ class?: HTMLAttributes['class'];
150
+ };
151
+ /**
152
+ * Slot props for the UiSelectVirtualizer default slot.
153
+ */
154
+ export type UiSelectVirtualizerSlotProps<T> = {
155
+ /** The option to render. */
156
+ option: T;
157
+ /** The position of the option in the full list, starting at 0. */
158
+ index: number;
159
+ };
124
160
  /**
125
161
  * Props for the UiSelectValue component.
126
162
  */
@@ -14,7 +14,7 @@ declare const __VLS_component: import('vue').DefineComponent<{
14
14
  innerHTML?: string | undefined | undefined;
15
15
  style?: import('vue').StyleValue;
16
16
  accesskey?: string | undefined | undefined;
17
- contenteditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
17
+ contenteditable?: "inherit" | (boolean | "true" | "false") | "plaintext-only" | undefined;
18
18
  contextmenu?: string | undefined | undefined;
19
19
  dir?: string | undefined | undefined;
20
20
  draggable?: (boolean | "true" | "false") | undefined;
@@ -208,7 +208,7 @@ declare const __VLS_component: import('vue').DefineComponent<{
208
208
  innerHTML?: string | undefined | undefined;
209
209
  style?: import('vue').StyleValue;
210
210
  accesskey?: string | undefined | undefined;
211
- contenteditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
211
+ contenteditable?: "inherit" | (boolean | "true" | "false") | "plaintext-only" | undefined;
212
212
  contextmenu?: string | undefined | undefined;
213
213
  dir?: string | undefined | undefined;
214
214
  draggable?: (boolean | "true" | "false") | undefined;
@@ -16,7 +16,7 @@ declare const __VLS_component: import('vue').DefineComponent<{
16
16
  innerHTML?: string | undefined | undefined;
17
17
  style?: import('vue').StyleValue;
18
18
  accesskey?: string | undefined | undefined;
19
- contenteditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
19
+ contenteditable?: "inherit" | (boolean | "true" | "false") | "plaintext-only" | undefined;
20
20
  contextmenu?: string | undefined | undefined;
21
21
  dir?: string | undefined | undefined;
22
22
  draggable?: (boolean | "true" | "false") | undefined;
@@ -212,7 +212,7 @@ declare const __VLS_component: import('vue').DefineComponent<{
212
212
  innerHTML?: string | undefined | undefined;
213
213
  style?: import('vue').StyleValue;
214
214
  accesskey?: string | undefined | undefined;
215
- contenteditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
215
+ contenteditable?: "inherit" | (boolean | "true" | "false") | "plaintext-only" | undefined;
216
216
  contextmenu?: string | undefined | undefined;
217
217
  dir?: string | undefined | undefined;
218
218
  draggable?: (boolean | "true" | "false") | undefined;
@@ -20,6 +20,7 @@ export * from './UiDialog';
20
20
  export * from './UiDrawer';
21
21
  export * from './UiDropdownMenu';
22
22
  export * from './UiEmpty';
23
+ export * from './UiFadeMask';
23
24
  export * from './UiField';
24
25
  export * from './UiFileItem';
25
26
  export * from './UiFileType';