@digitalservicebund/ris-ui 1.7.1 → 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -4,16 +4,16 @@
4
4
 
5
5
  ## Installation
6
6
 
7
- RUI UI contains three things:
7
+ RIS UI contains three things:
8
8
 
9
9
  - a [theme](./src/primevue/) for [Vue 3](https://vuejs.org) components from [PrimeVue 4](https://primevue.org);
10
10
  - [custom components](./src/components/);
11
- - a [preset and plugin](./src/tailwind/) for [Tailwind](https://tailwindcss.com) that sets some global styling and exposes the design tokens used by the theme, so you can build custom UI that looks consistent with the components.
11
+ - a [configuration](./src/tailwind/global.css) file for [Tailwind](https://tailwindcss.com) that includes design tokens, typography, and global component styles, ensuring consistency across custom UI and PrimeVue components.
12
12
 
13
- Vue and PrimeVue are required for RIS UI to work (you'll see a warning about missing peer dependencies if you're trying to use RIS UI without them). Tailwind is optional. To get started, install:
13
+ Vue, PrimeVue and Tailwind are required for RIS UI to work (you'll see a warning about missing peer dependencies if you're trying to use RIS UI without them). To get started, install:
14
14
 
15
15
  ```sh
16
- # Vue and PrimeVue if you haven't installed them already. Tailwind is optional.
16
+ # Vue, PrimeVue, and Tailwind if you haven't installed them already.
17
17
  npm install vue primevue tailwindcss
18
18
 
19
19
  # RIS UI
@@ -28,12 +28,15 @@ npm install @digitalservicebund/ris-ui
28
28
 
29
29
  Import and apply the RIS UI theme, styling, and fonts where you set up your application (typically `main.ts`):
30
30
 
31
+ > [!TIP]
32
+ >
33
+ > As of Tailwind V4. The style is now integrated through the global CSS file, simplifying the setup.
34
+
31
35
  ```diff
32
36
  // main.ts
33
37
  import { createApp } from "vue";
34
38
  import PrimeVue from "primevue/config";
35
39
  + import { RisUiTheme, RisUiLocale } from "@digitalservicebund/ris-ui/primevue";
36
- + import "@digitalservicebund/ris-ui/primevue/style.css";
37
40
  + import "@digitalservicebund/ris-ui/fonts.css";
38
41
 
39
42
  const app = createApp().use(PrimeVue, {
@@ -92,24 +95,37 @@ Finally, add the styles (e.g. `assets/main.css`):
92
95
  /* Your other CSS */
93
96
  ```
94
97
 
95
- If not using Tailwind, you may also add these styles directly to the `css` section of `nuxt.config.ts`.
98
+ ## Tailwind CSS Configuration
96
99
 
97
- ## With Tailwind
98
-
99
- If you want, also install the Tailwind preset (for colors, spacings, etc.) and plugin (for typography classes, etc.):
100
+ With Tailwind CSS v4, the setup has transitioned to a CSS-based configuration, eliminating the need for a separate tailwind.config.js file. All configuration is now handled directly in your main stylesheet (e.g., style.css).
100
101
 
101
102
  ```diff
102
- // tailwind.config.js
103
- + import { RisUiPreset, RisUiPlugin } from "@digitalservicebund/ris-ui/tailwind";
103
+ /* style.css */
104
104
 
105
- export default {
106
- + presets: [RisUiPreset],
107
- + plugins: [RisUiPlugin],
105
+ /* 1. Import Tailwind and RIS UI styles */
106
+ @import "tailwindcss";
107
+ @import "@digitalservicebund/ris-ui/primevue/style.css";
108
108
 
109
- // your other configuration
110
- };
109
+ /* 2. Source the RIS UI components for Tailwind class generation */
110
+ @source "../node_modules/@digitalservicebund/ris-ui/dist/**/*.{js,vue,ts}";
111
+
112
+ /* 3. Optional: Add your custom CSS*/
113
+ body {
114
+ background-color: #f3f4f6; /* Example: Set default background color */
115
+ }
116
+
117
+ /* 4. Optional: Define custom theme variables */
118
+ @theme {
119
+ --highlight-default-default: #d6f7fe;
120
+ --highlight-default-hover: #94e8fe;
121
+ --highlight-default-selected: #94e8fe;
122
+
123
+ /* Add additional variables as needed */
124
+ }
111
125
  ```
112
126
 
127
+ ### Important Note for Nuxt Projects
128
+
113
129
  To avoid issues with conflicting `@layer` directives, make sure to integrate the `postcss-import` module in your PostCSS configuration:
114
130
 
115
131
  See [Adding custom styles - Tailwind CSS](https://tailwindcss.com/docs/adding-custom-styles#using-multiple-css-files).
@@ -127,6 +143,36 @@ If you're using Nuxt, you may add the `postcss-import` module to your `nuxt.conf
127
143
  },
128
144
  ```
129
145
 
146
+ ## Get started with a button
147
+
148
+ To get you started, here's an example how to import a ris-ui button into your ui-component. The Storybook code snippet is hiding some essential parts from you. Here is an an example `StartPage.vue`:
149
+
150
+ ```bash
151
+ <script lang="ts" setup>
152
+ import { useRouter } from 'vue-router'
153
+ import Button from 'primevue/button'
154
+ import IconAdd from '~icons/material-symbols/add'
155
+
156
+ const router = useRouter()
157
+ </script>
158
+
159
+ <template>
160
+ <Button
161
+ :disabled="false"
162
+ label="Neue Dokumentationseinheit"
163
+ :loading="false"
164
+ :text="false"
165
+ @click="router.push({ path: '/documentUnit/new' })"
166
+ >
167
+ <template #icon>
168
+ <IconAdd />
169
+ </template>
170
+ </Button>
171
+ </template>
172
+ ```
173
+
174
+ In addition to the installation steps, the icon is being provided by [unplugin-icons](https://www.npmjs.com/package/unplugin-icons) in conjunction with [@iconify-json/material-symbols](https://www.npmjs.com/package/@iconify-json/material-symbols).
175
+
130
176
  ## Development
131
177
 
132
178
  To make changes to RIS UI, you'll need the current [Node.js LTS](https://nodejs.org/en/download/package-manager) along with npm installed on your machine.
@@ -9,14 +9,14 @@ export type Props = Pick<AutoCompleteProps, "dropdown" | "ariaLabel" | "ariaLabe
9
9
  initialLabel?: string;
10
10
  };
11
11
  type __VLS_Props = Props;
12
- type __VLS_PublicProps = {
12
+ type __VLS_PublicProps = __VLS_Props & {
13
13
  modelValue?: string;
14
- } & __VLS_Props;
14
+ };
15
15
  declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {
16
- autoCompleteRef: import("vue").Ref<import("@primevue/core").DefineComponent<AutoCompleteProps, import("primevue/autocomplete").AutoCompleteSlots, ((e: "update:modelValue", value: any) => void) & ((e: "change", event: import("primevue/autocomplete").AutoCompleteChangeEvent) => void) & ((e: "focus", event: Event) => void) & ((e: "blur", event: Event) => void) & ((e: "item-select", event: import("primevue/autocomplete").AutoCompleteOptionSelectEvent) => void) & ((e: "item-unselect", event: import("primevue/autocomplete").AutoCompleteOptionUnselectEvent) => void) & ((e: "option-select", event: import("primevue/autocomplete").AutoCompleteOptionSelectEvent) => void) & ((e: "option-unselect", event: import("primevue/autocomplete").AutoCompleteOptionUnselectEvent) => void) & ((e: "dropdown-click", event: import("primevue/autocomplete").AutoCompleteDropdownClickEvent) => void) & ((e: "clear") => void) & ((e: "complete", event: import("primevue/autocomplete").AutoCompleteCompleteEvent) => void) & ((e: "before-show") => void) & ((e: "before-hide") => void) & ((e: "show") => void) & ((e: "hide") => void)> | null, import("@primevue/core").DefineComponent<AutoCompleteProps, import("primevue/autocomplete").AutoCompleteSlots, ((e: "update:modelValue", value: any) => void) & ((e: "change", event: import("primevue/autocomplete").AutoCompleteChangeEvent) => void) & ((e: "focus", event: Event) => void) & ((e: "blur", event: Event) => void) & ((e: "item-select", event: import("primevue/autocomplete").AutoCompleteOptionSelectEvent) => void) & ((e: "item-unselect", event: import("primevue/autocomplete").AutoCompleteOptionUnselectEvent) => void) & ((e: "option-select", event: import("primevue/autocomplete").AutoCompleteOptionSelectEvent) => void) & ((e: "option-unselect", event: import("primevue/autocomplete").AutoCompleteOptionUnselectEvent) => void) & ((e: "dropdown-click", event: import("primevue/autocomplete").AutoCompleteDropdownClickEvent) => void) & ((e: "clear") => void) & ((e: "complete", event: import("primevue/autocomplete").AutoCompleteCompleteEvent) => void) & ((e: "before-show") => void) & ((e: "before-hide") => void) & ((e: "show") => void) & ((e: "hide") => void)> | null>;
16
+ autoCompleteRef: import("vue").Ref<import("@primevue/core").DefineComponent<AutoCompleteProps, import("primevue/autocomplete").AutoCompleteSlots, ((e: "update:modelValue", value: any) => void) & ((e: "value-change", value: any) => void) & ((e: "change", event: import("primevue/autocomplete").AutoCompleteChangeEvent) => void) & ((e: "focus", event: Event) => void) & ((e: "blur", event: Event) => void) & ((e: "item-select", event: import("primevue/autocomplete").AutoCompleteOptionSelectEvent) => void) & ((e: "item-unselect", event: import("primevue/autocomplete").AutoCompleteOptionUnselectEvent) => void) & ((e: "option-select", event: import("primevue/autocomplete").AutoCompleteOptionSelectEvent) => void) & ((e: "option-unselect", event: import("primevue/autocomplete").AutoCompleteOptionUnselectEvent) => void) & ((e: "dropdown-click", event: import("primevue/autocomplete").AutoCompleteDropdownClickEvent) => void) & ((e: "clear") => void) & ((e: "complete", event: import("primevue/autocomplete").AutoCompleteCompleteEvent) => void) & ((e: "before-show") => void) & ((e: "before-hide") => void) & ((e: "show") => void) & ((e: "hide") => void)> | null, import("@primevue/core").DefineComponent<AutoCompleteProps, import("primevue/autocomplete").AutoCompleteSlots, ((e: "update:modelValue", value: any) => void) & ((e: "value-change", value: any) => void) & ((e: "change", event: import("primevue/autocomplete").AutoCompleteChangeEvent) => void) & ((e: "focus", event: Event) => void) & ((e: "blur", event: Event) => void) & ((e: "item-select", event: import("primevue/autocomplete").AutoCompleteOptionSelectEvent) => void) & ((e: "item-unselect", event: import("primevue/autocomplete").AutoCompleteOptionUnselectEvent) => void) & ((e: "option-select", event: import("primevue/autocomplete").AutoCompleteOptionSelectEvent) => void) & ((e: "option-unselect", event: import("primevue/autocomplete").AutoCompleteOptionUnselectEvent) => void) & ((e: "dropdown-click", event: import("primevue/autocomplete").AutoCompleteDropdownClickEvent) => void) & ((e: "clear") => void) & ((e: "complete", event: import("primevue/autocomplete").AutoCompleteCompleteEvent) => void) & ((e: "before-show") => void) & ((e: "before-hide") => void) & ((e: "show") => void) & ((e: "hide") => void)> | null>;
17
17
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
18
- 'update:modelValue': (value: string) => any;
18
+ "update:modelValue": (value: string | undefined) => any;
19
19
  }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
20
- "onUpdate:modelValue"?: ((value: string) => any) | undefined;
20
+ "onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
21
21
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
22
22
  export default _default;
@@ -17,5 +17,5 @@ type __VLS_Props = {
17
17
  declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
18
18
  value: string;
19
19
  name: string;
20
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLButtonElement>;
20
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
21
21
  export default _default;
@@ -5,30 +5,86 @@ type __VLS_Props = {
5
5
  */
6
6
  length?: number;
7
7
  };
8
- type __VLS_PublicProps = {
8
+ declare const expanded: import("vue").ModelRef<boolean, string, boolean, boolean>;
9
+ declare const canExpand: import("vue").Ref<boolean, boolean>;
10
+ declare const textId: string;
11
+ type __VLS_PublicProps = __VLS_Props & {
9
12
  "expanded"?: boolean;
10
- } & __VLS_Props;
11
- declare function __VLS_template(): {
12
- attrs: Partial<{}>;
13
- slots: {
14
- default?(_: {}): any;
13
+ };
14
+ declare const __VLS_ctx: {
15
+ $style: Record<string, string> & __VLS_PrettifyGlobal<{} & {
16
+ "truncate": string;
17
+ }>;
18
+ $: import("vue").ComponentInternalInstance;
19
+ $data: {};
20
+ $props: {
21
+ readonly length?: number | undefined;
22
+ readonly expanded?: boolean | undefined;
23
+ readonly "onUpdate:expanded"?: ((value: boolean) => any) | undefined;
24
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
25
+ $attrs: {
26
+ [x: string]: unknown;
27
+ };
28
+ $refs: {
29
+ [x: string]: unknown;
30
+ };
31
+ $slots: Readonly<{
32
+ [name: string]: import("vue").Slot<any> | undefined;
33
+ }>;
34
+ $root: import("vue").ComponentPublicInstance | null;
35
+ $parent: import("vue").ComponentPublicInstance | null;
36
+ $host: Element | null;
37
+ $emit: (event: "update:expanded", value: boolean) => void;
38
+ $el: any;
39
+ $options: import("vue").ComponentOptionsBase<Readonly<__VLS_PublicProps> & Readonly<{
40
+ "onUpdate:expanded"?: ((value: boolean) => any) | undefined;
41
+ }>, {
42
+ expanded: typeof expanded;
43
+ canExpand: typeof canExpand;
44
+ textId: typeof textId;
45
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
46
+ "update:expanded": (value: boolean) => any;
47
+ }, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
48
+ beforeCreate?: (() => void) | (() => void)[];
49
+ created?: (() => void) | (() => void)[];
50
+ beforeMount?: (() => void) | (() => void)[];
51
+ mounted?: (() => void) | (() => void)[];
52
+ beforeUpdate?: (() => void) | (() => void)[];
53
+ updated?: (() => void) | (() => void)[];
54
+ activated?: (() => void) | (() => void)[];
55
+ deactivated?: (() => void) | (() => void)[];
56
+ beforeDestroy?: (() => void) | (() => void)[];
57
+ beforeUnmount?: (() => void) | (() => void)[];
58
+ destroyed?: (() => void) | (() => void)[];
59
+ unmounted?: (() => void) | (() => void)[];
60
+ renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
61
+ renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
62
+ errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
15
63
  };
16
- refs: {
17
- textContent: HTMLDivElement;
64
+ $forceUpdate: () => void;
65
+ $nextTick: typeof import("vue").nextTick;
66
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import("@vue/reactivity").OnCleanup]) => any : (...args: [any, any, import("@vue/reactivity").OnCleanup]) => any, options?: import("vue").WatchOptions): import("vue").WatchStopHandle;
67
+ length?: number;
68
+ "onUpdate:expanded"?: ((value: boolean) => any) | undefined;
69
+ expanded: boolean;
70
+ canExpand: boolean;
71
+ textId: typeof textId;
72
+ $primevue: {
73
+ config: import("@primevue/core").PrimeVueConfiguration;
18
74
  };
19
- rootEl: HTMLDivElement;
20
75
  };
21
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
76
+ declare var __VLS_1: {};
77
+ type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
78
+ default?: (props: typeof __VLS_1) => any;
79
+ }>;
22
80
  declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
23
- 'update:expanded': (value: boolean) => any;
81
+ "update:expanded": (value: boolean) => any;
24
82
  }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
25
83
  "onUpdate:expanded"?: ((value: boolean) => any) | undefined;
26
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {
27
- textContent: HTMLDivElement;
28
- }, HTMLDivElement>;
29
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
84
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
85
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
30
86
  export default _default;
31
- type __VLS_WithTemplateSlots<T, S> = T & {
87
+ type __VLS_WithSlots<T, S> = T & {
32
88
  new (): {
33
89
  $slots: S;
34
90
  };
@@ -1,16 +1,13 @@
1
- declare function __VLS_template(): {
2
- attrs: Partial<{}>;
3
- slots: {
4
- default?(_: {}): any;
5
- };
6
- refs: {};
7
- rootEl: HTMLButtonElement;
8
- };
9
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
10
- declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLButtonElement>;
11
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
1
+ declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
2
+ declare var __VLS_1: {};
3
+ type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
4
+ default?: (props: typeof __VLS_1) => any;
5
+ }>;
6
+ declare const __VLS_self: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
7
+ declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
8
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
12
9
  export default _default;
13
- type __VLS_WithTemplateSlots<T, S> = T & {
10
+ type __VLS_WithSlots<T, S> = T & {
14
11
  new (): {
15
12
  $slots: S;
16
13
  };
@@ -1,27 +1,51 @@
1
+ import MaterialSymbolsExpandCircleDownRounded from "~icons/material-symbols/expand-circle-down-rounded";
2
+ import MaterialSymbolsExpandCircleDownOutlineRounded from "~icons/material-symbols/expand-circle-down-outline-rounded";
3
+ import MaterialSymbolsExpandCircleUpRounded from "~icons/material-symbols/expand-circle-up-rounded";
4
+ import MaterialSymbolsExpandCircleUpOutlineRounded from "~icons/material-symbols/expand-circle-up-outline-rounded";
5
+ import Accordion from "primevue/accordion";
6
+ import AccordionPanel from "primevue/accordionpanel";
7
+ import AccordionHeader from "primevue/accordionheader";
8
+ import AccordionContent from "primevue/accordioncontent";
9
+ declare const isHovered: import("vue").Ref<boolean, boolean>;
1
10
  type __VLS_Props = {
2
11
  headerCollapsed: string;
3
12
  headerExpanded: string;
4
13
  };
5
- type __VLS_PublicProps = {
14
+ declare const activePanel: import("vue").WritableComputedRef<"0" | "", "0" | "">;
15
+ declare const accordionHeaderClasses = "flex flex-row space-x-8 py-24 items-center";
16
+ type __VLS_PublicProps = __VLS_Props & {
6
17
  modelValue?: boolean;
7
- } & __VLS_Props;
8
- declare function __VLS_template(): {
9
- attrs: Partial<{}>;
10
- slots: {
11
- default?(_: {}): any;
12
- };
13
- refs: {};
14
- rootEl: any;
15
18
  };
16
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
19
+ declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
20
+ declare var __VLS_34: {};
21
+ type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
22
+ default?: (props: typeof __VLS_34) => any;
23
+ }>;
24
+ declare const __VLS_self: import("vue").DefineComponent<__VLS_PublicProps, {
25
+ MaterialSymbolsExpandCircleDownRounded: typeof MaterialSymbolsExpandCircleDownRounded;
26
+ MaterialSymbolsExpandCircleDownOutlineRounded: typeof MaterialSymbolsExpandCircleDownOutlineRounded;
27
+ MaterialSymbolsExpandCircleUpRounded: typeof MaterialSymbolsExpandCircleUpRounded;
28
+ MaterialSymbolsExpandCircleUpOutlineRounded: typeof MaterialSymbolsExpandCircleUpOutlineRounded;
29
+ Accordion: typeof Accordion;
30
+ AccordionPanel: typeof AccordionPanel;
31
+ AccordionHeader: typeof AccordionHeader;
32
+ AccordionContent: typeof AccordionContent;
33
+ isHovered: typeof isHovered;
34
+ activePanel: typeof activePanel;
35
+ accordionHeaderClasses: typeof accordionHeaderClasses;
36
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
37
+ "update:modelValue": (value: boolean) => any;
38
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
39
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
40
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
17
41
  declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
18
- 'update:modelValue': (value: boolean) => any;
42
+ "update:modelValue": (value: boolean) => any;
19
43
  }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
20
44
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
21
45
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
22
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
46
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
23
47
  export default _default;
24
- type __VLS_WithTemplateSlots<T, S> = T & {
48
+ type __VLS_WithSlots<T, S> = T & {
25
49
  new (): {
26
50
  $slots: S;
27
51
  };