@digitalservicebund/ris-ui 2.0.0 → 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,11 +4,11 @@
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
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
 
@@ -28,13 +28,16 @@ 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
40
  + import "@digitalservicebund/ris-ui/fonts.css";
37
- + import "@digitalservicebund/ris-ui/primevue/style.css"
38
41
 
39
42
  const app = createApp().use(PrimeVue, {
40
43
  + unstyled: true,
@@ -92,35 +95,33 @@ Finally, add the styles (e.g. `assets/main.css`):
92
95
  /* Your other CSS */
93
96
  ```
94
97
 
95
- ## Tailwind setup
98
+ ## Tailwind CSS Configuration
96
99
 
97
- - Add the `RisUiPreset` (for colors, spacings, etc.) and the `RisUiPlugin` (for typography classes, etc.)
98
- - Ensure the path to the RIS-UI files is included in the content array of your Tailwind config (e.g., `"./node_modules/@digitalservicebund/ris-ui/dist/**/*.{js,vue,ts}"`). This ensures all necessary classes from RIS UI are generated.
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).
99
101
 
100
102
  ```diff
101
- // tailwind.config.js
102
- + import { RisUiPreset, RisUiPlugin } from "@digitalservicebund/ris-ui/tailwind";
103
+ /* style.css */
103
104
 
104
- export default {
105
- content: [
106
- + "./node_modules/@digitalservicebund/ris-ui/dist/**/*.{js,vue,ts}",
107
- // Other content sources
108
- ],
105
+ /* 1. Import Tailwind and RIS UI styles */
106
+ @import "tailwindcss";
107
+ @import "@digitalservicebund/ris-ui/primevue/style.css";
109
108
 
110
- + presets: [RisUiPreset],
111
- + plugins: [RisUiPlugin],
109
+ /* 2. Source the RIS UI components for Tailwind class generation */
110
+ @source "../node_modules/@digitalservicebund/ris-ui/dist/**/*.{js,vue,ts}";
112
111
 
113
- // your other configuration
114
- };
115
- ```
112
+ /* 3. Optional: Add your custom CSS*/
113
+ body {
114
+ background-color: #f3f4f6; /* Example: Set default background color */
115
+ }
116
116
 
117
- Ensure Tailwind is included in your main stylesheet (e.g., `style.css`):
117
+ /* 4. Optional: Define custom theme variables */
118
+ @theme {
119
+ --highlight-default-default: #d6f7fe;
120
+ --highlight-default-hover: #94e8fe;
121
+ --highlight-default-selected: #94e8fe;
118
122
 
119
- ```diff
120
- // style.css
121
- @tailwind base;
122
- @tailwind components;
123
- @tailwind utilities;
123
+ /* Add additional variables as needed */
124
+ }
124
125
  ```
125
126
 
126
127
  ### Important Note for Nuxt Projects
@@ -9,23 +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;
21
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {
22
- autoCompleteRef: import("vue").CreateComponentPublicInstanceWithMixins<{}, {}, {}, {}, import("vue").MethodOptions, {}, {}, ((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) & import("vue").ObjectEmitsOptions, {}, {}, true, {}, import("primevue/autocomplete").AutoCompleteSlots & import("vue").SlotsType, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
23
- P: {};
24
- B: {};
25
- D: {};
26
- C: {};
27
- M: {};
28
- Defaults: {};
29
- }, {}, {}, {}, {}, import("vue").MethodOptions, {}> | null;
30
- }, any>;
20
+ "onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
21
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
31
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
  };