@digitalservicebund/ris-ui 3.21.1 → 3.21.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.
package/README.md CHANGED
@@ -14,10 +14,10 @@ Vue, PrimeVue and Tailwind are required for RIS UI to work (you'll see a warning
14
14
 
15
15
  ```sh
16
16
  # Vue, PrimeVue, and Tailwind if you haven't installed them already
17
- npm install vue primevue tailwindcss
17
+ pnpm install vue primevue tailwindcss
18
18
 
19
19
  # RIS UI
20
- npm install @digitalservicebund/ris-ui
20
+ pnpm install @digitalservicebund/ris-ui
21
21
  ```
22
22
 
23
23
  ### Vue (SPA with Vite, Vue CLI or similar)
@@ -62,7 +62,7 @@ If using Nuxt, skip the Vue setup above.
62
62
  Install the Nuxt PrimeVue module:
63
63
 
64
64
  ```sh
65
- npm install @primevue/nuxt-module
65
+ pnpm install @primevue/nuxt-module
66
66
  ```
67
67
 
68
68
  Add the PrimeVue module and configure it in `nuxt.config.ts`:
@@ -136,7 +136,7 @@ In addition to the installation steps, the icon is being provided by [unplugin-i
136
136
 
137
137
  ## Development
138
138
 
139
- 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.
139
+ To make changes to RIS UI, you'll need the current [Node.js LTS](https://nodejs.org/en/download/package-manager) along with pnpm installed on your machine.
140
140
 
141
141
  To get started, first clone this repository:
142
142
 
@@ -147,17 +147,17 @@ git clone https://github.com/digitalservicebund/ris-ui.git
147
147
  Then install dependencies:
148
148
 
149
149
  ```sh
150
- npm install
150
+ pnpm install
151
151
 
152
152
  # This will populate the public/fonts folder. See public/fonts/.gitkeep
153
153
  # for more information.
154
- npm run sync-fonts
154
+ pnpm run sync-fonts
155
155
  ```
156
156
 
157
157
  You can now run a local preview to see any changes you make to the code:
158
158
 
159
159
  ```sh
160
- npm run storybook
160
+ pnpm run storybook
161
161
  ```
162
162
 
163
163
  Check out [package.json](./package.json) for additional scripts.
@@ -13,9 +13,7 @@ type __VLS_ModelProps = {
13
13
  modelValue?: string;
14
14
  };
15
15
  type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
16
- declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {
17
- autoCompleteRef: import("vue").Ref<import("@primevue/core").DefineComponent<AutoCompleteProps, import("primevue").AutoCompleteSlots, ((e: "update:modelValue", value: any) => void) & ((e: "value-change", value: any) => void) & ((e: "change", event: import("primevue").AutoCompleteChangeEvent) => void) & ((e: "focus", event: Event) => void) & ((e: "blur", event: Event) => void) & ((e: "item-select", event: import("primevue").AutoCompleteOptionSelectEvent) => void) & ((e: "item-unselect", event: import("primevue").AutoCompleteOptionUnselectEvent) => void) & ((e: "option-select", event: import("primevue").AutoCompleteOptionSelectEvent) => void) & ((e: "option-unselect", event: import("primevue").AutoCompleteOptionUnselectEvent) => void) & ((e: "dropdown-click", event: import("primevue").AutoCompleteDropdownClickEvent) => void) & ((e: "clear") => void) & ((e: "complete", event: import("primevue").AutoCompleteCompleteEvent) => void) & ((e: "before-show") => void) & ((e: "before-hide") => void) & ((e: "show") => void) & ((e: "hide") => void)> | null, import("@primevue/core").DefineComponent<AutoCompleteProps, import("primevue").AutoCompleteSlots, ((e: "update:modelValue", value: any) => void) & ((e: "value-change", value: any) => void) & ((e: "change", event: import("primevue").AutoCompleteChangeEvent) => void) & ((e: "focus", event: Event) => void) & ((e: "blur", event: Event) => void) & ((e: "item-select", event: import("primevue").AutoCompleteOptionSelectEvent) => void) & ((e: "item-unselect", event: import("primevue").AutoCompleteOptionUnselectEvent) => void) & ((e: "option-select", event: import("primevue").AutoCompleteOptionSelectEvent) => void) & ((e: "option-unselect", event: import("primevue").AutoCompleteOptionUnselectEvent) => void) & ((e: "dropdown-click", event: import("primevue").AutoCompleteDropdownClickEvent) => void) & ((e: "clear") => void) & ((e: "complete", event: import("primevue").AutoCompleteCompleteEvent) => void) & ((e: "before-show") => void) & ((e: "before-hide") => void) & ((e: "show") => void) & ((e: "hide") => void)> | null>;
18
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
16
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
19
17
  "update:modelValue": (value: string | undefined) => any;
20
18
  }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
21
19
  "onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
@@ -1,4 +1,4 @@
1
- import { AutoCompleteOptionSelectEvent, AutoCompleteOptionUnselectEvent, type AutoCompleteProps } from "primevue/autocomplete";
1
+ import { type AutoCompleteProps } from "primevue/autocomplete";
2
2
  export interface AutoCompleteMultipleSuggestion {
3
3
  id: string;
4
4
  label: string;
@@ -14,7 +14,7 @@ type __VLS_ModelProps = {
14
14
  };
15
15
  type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
16
16
  declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {
17
- autoCompleteRef: import("vue").Ref<import("@primevue/core").DefineComponent<AutoCompleteProps, import("primevue").AutoCompleteSlots, ((e: "update:modelValue", value: any) => void) & ((e: "value-change", value: any) => void) & ((e: "change", event: import("primevue").AutoCompleteChangeEvent) => void) & ((e: "focus", event: Event) => void) & ((e: "blur", event: Event) => void) & ((e: "item-select", event: AutoCompleteOptionSelectEvent) => void) & ((e: "item-unselect", event: AutoCompleteOptionUnselectEvent) => void) & ((e: "option-select", event: AutoCompleteOptionSelectEvent) => void) & ((e: "option-unselect", event: AutoCompleteOptionUnselectEvent) => void) & ((e: "dropdown-click", event: import("primevue").AutoCompleteDropdownClickEvent) => void) & ((e: "clear") => void) & ((e: "complete", event: import("primevue").AutoCompleteCompleteEvent) => void) & ((e: "before-show") => void) & ((e: "before-hide") => void) & ((e: "show") => void) & ((e: "hide") => void)> | null, import("@primevue/core").DefineComponent<AutoCompleteProps, import("primevue").AutoCompleteSlots, ((e: "update:modelValue", value: any) => void) & ((e: "value-change", value: any) => void) & ((e: "change", event: import("primevue").AutoCompleteChangeEvent) => void) & ((e: "focus", event: Event) => void) & ((e: "blur", event: Event) => void) & ((e: "item-select", event: AutoCompleteOptionSelectEvent) => void) & ((e: "item-unselect", event: AutoCompleteOptionUnselectEvent) => void) & ((e: "option-select", event: AutoCompleteOptionSelectEvent) => void) & ((e: "option-unselect", event: AutoCompleteOptionUnselectEvent) => void) & ((e: "dropdown-click", event: import("primevue").AutoCompleteDropdownClickEvent) => void) & ((e: "clear") => void) & ((e: "complete", event: import("primevue").AutoCompleteCompleteEvent) => void) & ((e: "before-show") => void) & ((e: "before-hide") => void) & ((e: "show") => void) & ((e: "hide") => void)> | null>;
17
+ show: () => void;
18
18
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
19
19
  "update:modelValue": (value: AutoCompleteMultipleSuggestion[]) => any;
20
20
  }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
@@ -6,9 +6,9 @@ type __VLS_ModelProps = {
6
6
  modelValue?: boolean;
7
7
  };
8
8
  type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
9
- declare var __VLS_32: {};
9
+ declare var __VLS_36: {};
10
10
  type __VLS_Slots = {} & {
11
- default?: (props: typeof __VLS_32) => any;
11
+ default?: (props: typeof __VLS_36) => any;
12
12
  };
13
13
  declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
14
14
  "update:modelValue": (value: boolean) => any;