@volverjs/ui-vue 0.0.10-beta.44 → 0.0.10-beta.45

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.
@@ -1,7 +1,7 @@
1
1
  import { type Story } from './AccordionGroup.stories';
2
2
  declare const _default: {
3
3
  title: string;
4
- id?: import("@storybook/types").ComponentId;
4
+ id?: import("@storybook/csf").ComponentId;
5
5
  includeStories?: RegExp | string[];
6
6
  excludeStories?: RegExp | string[];
7
7
  component?: Omit<import("vue").ConcreteComponent<Partial<{
@@ -57,7 +57,7 @@ declare const _default: {
57
57
  }) => any);
58
58
  }>, "props"> | undefined;
59
59
  subcomponents?: Record<string, Omit<import("vue").ConcreteComponent<unknown>, "props">> | undefined;
60
- play?: import("@storybook/types").PlayFunction<import("@storybook/vue3/*").VueRenderer, import("@storybook/vue3/*").ComponentPropsAndSlots<{
60
+ play?: import("@storybook/csf").PlayFunction<import("@storybook/vue3/*").VueRenderer, import("@storybook/vue3/*").ComponentPropsAndSlots<{
61
61
  new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<globalThis.ExtractPropTypes<{
62
62
  modelValue: {
63
63
  type: PropType<string | string[] | undefined>;
@@ -237,7 +237,8 @@ declare const _default: {
237
237
  }): any;
238
238
  };
239
239
  })>> | undefined;
240
- decorators?: import("@storybook/types").DecoratorFunction<import("@storybook/vue3/*").VueRenderer, {
240
+ globals?: import("@storybook/csf").Globals;
241
+ decorators?: import("@storybook/csf").DecoratorFunction<import("@storybook/vue3/*").VueRenderer, {
241
242
  collapse?: boolean | undefined;
242
243
  disabled?: boolean | undefined;
243
244
  modelValue?: string | string[] | undefined;
@@ -264,7 +265,7 @@ declare const _default: {
264
265
  expand: (name?: string | string[]) => void;
265
266
  collapse: (name?: string | string[]) => void;
266
267
  }) => any);
267
- }> | import("@storybook/types").DecoratorFunction<import("@storybook/vue3/*").VueRenderer, {
268
+ }> | import("@storybook/csf").DecoratorFunction<import("@storybook/vue3/*").VueRenderer, {
268
269
  collapse?: boolean | undefined;
269
270
  disabled?: boolean | undefined;
270
271
  modelValue?: string | string[] | undefined;
@@ -292,7 +293,7 @@ declare const _default: {
292
293
  collapse: (name?: string | string[]) => void;
293
294
  }) => any);
294
295
  }>[] | undefined;
295
- parameters?: import("@storybook/types").Parameters;
296
+ parameters?: import("@storybook/csf").Parameters;
296
297
  args?: Partial<import("@storybook/vue3/*").ComponentPropsAndSlots<{
297
298
  new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<globalThis.ExtractPropTypes<{
298
299
  modelValue: {
@@ -473,7 +474,7 @@ declare const _default: {
473
474
  }): any;
474
475
  };
475
476
  })>> | undefined;
476
- argTypes?: Partial<import("@storybook/types").ArgTypes<import("@storybook/vue3/*").ComponentPropsAndSlots<{
477
+ argTypes?: Partial<import("@storybook/csf").ArgTypes<import("@storybook/vue3/*").ComponentPropsAndSlots<{
477
478
  new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<globalThis.ExtractPropTypes<{
478
479
  modelValue: {
479
480
  type: PropType<string | string[] | undefined>;
@@ -653,7 +654,7 @@ declare const _default: {
653
654
  }): any;
654
655
  };
655
656
  })>>> | undefined;
656
- loaders?: import("@storybook/types").LoaderFunction<import("@storybook/vue3/*").VueRenderer, import("@storybook/vue3/*").ComponentPropsAndSlots<{
657
+ loaders?: import("@storybook/csf").LoaderFunction<import("@storybook/vue3/*").VueRenderer, import("@storybook/vue3/*").ComponentPropsAndSlots<{
657
658
  new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<globalThis.ExtractPropTypes<{
658
659
  modelValue: {
659
660
  type: PropType<string | string[] | undefined>;
@@ -832,7 +833,7 @@ declare const _default: {
832
833
  collapse: (name?: string | string[]) => void;
833
834
  }): any;
834
835
  };
835
- })>> | import("@storybook/types").LoaderFunction<import("@storybook/vue3/*").VueRenderer, import("@storybook/vue3/*").ComponentPropsAndSlots<{
836
+ })>> | import("@storybook/csf").LoaderFunction<import("@storybook/vue3/*").VueRenderer, import("@storybook/vue3/*").ComponentPropsAndSlots<{
836
837
  new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<globalThis.ExtractPropTypes<{
837
838
  modelValue: {
838
839
  type: PropType<string | string[] | undefined>;
@@ -1012,7 +1013,7 @@ declare const _default: {
1012
1013
  }): any;
1013
1014
  };
1014
1015
  })>>[] | undefined;
1015
- beforeEach?: ((context: import("@storybook/types").StoryContext<import("@storybook/vue3/*").VueRenderer, import("@storybook/vue3/*").ComponentPropsAndSlots<{
1016
+ beforeEach?: import("@storybook/csf").BeforeEach<import("@storybook/vue3/*").VueRenderer, import("@storybook/vue3/*").ComponentPropsAndSlots<{
1016
1017
  new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<globalThis.ExtractPropTypes<{
1017
1018
  modelValue: {
1018
1019
  type: PropType<string | string[] | undefined>;
@@ -1191,7 +1192,7 @@ declare const _default: {
1191
1192
  collapse: (name?: string | string[]) => void;
1192
1193
  }): any;
1193
1194
  };
1194
- })>>) => void | (() => unknown) | PromiseLike<void | (() => unknown)>) | ((context: import("@storybook/types").StoryContext<import("@storybook/vue3/*").VueRenderer, import("@storybook/vue3/*").ComponentPropsAndSlots<{
1195
+ })>> | import("@storybook/csf").BeforeEach<import("@storybook/vue3/*").VueRenderer, import("@storybook/vue3/*").ComponentPropsAndSlots<{
1195
1196
  new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<globalThis.ExtractPropTypes<{
1196
1197
  modelValue: {
1197
1198
  type: PropType<string | string[] | undefined>;
@@ -1370,8 +1371,8 @@ declare const _default: {
1370
1371
  collapse: (name?: string | string[]) => void;
1371
1372
  }): any;
1372
1373
  };
1373
- })>>) => void | (() => unknown) | PromiseLike<void | (() => unknown)>)[] | undefined;
1374
- render?: import("@storybook/types").ArgsStoryFn<import("@storybook/vue3/*").VueRenderer, import("@storybook/vue3/*").ComponentPropsAndSlots<{
1374
+ })>>[] | undefined;
1375
+ render?: import("@storybook/csf").ArgsStoryFn<import("@storybook/vue3/*").VueRenderer, import("@storybook/vue3/*").ComponentPropsAndSlots<{
1375
1376
  new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<globalThis.ExtractPropTypes<{
1376
1377
  modelValue: {
1377
1378
  type: PropType<string | string[] | undefined>;
@@ -1551,7 +1552,190 @@ declare const _default: {
1551
1552
  }): any;
1552
1553
  };
1553
1554
  })>> | undefined;
1554
- tags?: import("@storybook/types").Tag[];
1555
+ tags?: import("@storybook/csf").Tag[];
1556
+ mount?: ((context: import("@storybook/csf").StoryContext<import("@storybook/vue3/*").VueRenderer, import("@storybook/vue3/*").ComponentPropsAndSlots<{
1557
+ new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<globalThis.ExtractPropTypes<{
1558
+ modelValue: {
1559
+ type: PropType<string | string[] | undefined>;
1560
+ default: undefined;
1561
+ };
1562
+ items: {
1563
+ type: PropType<import("../../components/VvAccordionGroup").VvAccordionGroupItem[]>;
1564
+ default: () => never[];
1565
+ };
1566
+ collapse: BooleanConstructor;
1567
+ itemModifiers: {
1568
+ type: PropType<string | string[]>;
1569
+ default: string;
1570
+ };
1571
+ disabled: BooleanConstructor;
1572
+ not: BooleanConstructor;
1573
+ storageType: {
1574
+ type: globalThis.PropType<`${import("../../constants").StorageType}`>;
1575
+ default: import("../../constants").StorageType;
1576
+ validator: (value: import("../../constants").StorageType) => boolean;
1577
+ };
1578
+ storageKey: StringConstructor;
1579
+ modifiers: {
1580
+ type: globalThis.PropType<string | string[]>;
1581
+ default: undefined;
1582
+ };
1583
+ }>>, {
1584
+ expandedAccordions: globalThis.WritableComputedRef<Set<string>>;
1585
+ expand: (name?: string | string[]) => void;
1586
+ collapse: (name?: string | string[]) => void;
1587
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
1588
+ [x: string]: (...args: any[]) => void;
1589
+ }, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<globalThis.ExtractPropTypes<{
1590
+ modelValue: {
1591
+ type: PropType<string | string[] | undefined>;
1592
+ default: undefined;
1593
+ };
1594
+ items: {
1595
+ type: PropType<import("../../components/VvAccordionGroup").VvAccordionGroupItem[]>;
1596
+ default: () => never[];
1597
+ };
1598
+ collapse: BooleanConstructor;
1599
+ itemModifiers: {
1600
+ type: PropType<string | string[]>;
1601
+ default: string;
1602
+ };
1603
+ disabled: BooleanConstructor;
1604
+ not: BooleanConstructor;
1605
+ storageType: {
1606
+ type: globalThis.PropType<`${import("../../constants").StorageType}`>;
1607
+ default: import("../../constants").StorageType;
1608
+ validator: (value: import("../../constants").StorageType) => boolean;
1609
+ };
1610
+ storageKey: StringConstructor;
1611
+ modifiers: {
1612
+ type: globalThis.PropType<string | string[]>;
1613
+ default: undefined;
1614
+ };
1615
+ }>>, {
1616
+ collapse: boolean;
1617
+ disabled: boolean;
1618
+ modelValue: string | string[] | undefined;
1619
+ not: boolean;
1620
+ modifiers: string | string[];
1621
+ items: import("../../components/VvAccordionGroup").VvAccordionGroupItem[];
1622
+ itemModifiers: string | string[];
1623
+ storageType: "local" | "session";
1624
+ }, true, {}, {}, {
1625
+ P: {};
1626
+ B: {};
1627
+ D: {};
1628
+ C: {};
1629
+ M: {};
1630
+ Defaults: {};
1631
+ }, Readonly<globalThis.ExtractPropTypes<{
1632
+ modelValue: {
1633
+ type: PropType<string | string[] | undefined>;
1634
+ default: undefined;
1635
+ };
1636
+ items: {
1637
+ type: PropType<import("../../components/VvAccordionGroup").VvAccordionGroupItem[]>;
1638
+ default: () => never[];
1639
+ };
1640
+ collapse: BooleanConstructor;
1641
+ itemModifiers: {
1642
+ type: PropType<string | string[]>;
1643
+ default: string;
1644
+ };
1645
+ disabled: BooleanConstructor;
1646
+ not: BooleanConstructor;
1647
+ storageType: {
1648
+ type: globalThis.PropType<`${import("../../constants").StorageType}`>;
1649
+ default: import("../../constants").StorageType;
1650
+ validator: (value: import("../../constants").StorageType) => boolean;
1651
+ };
1652
+ storageKey: StringConstructor;
1653
+ modifiers: {
1654
+ type: globalThis.PropType<string | string[]>;
1655
+ default: undefined;
1656
+ };
1657
+ }>>, {
1658
+ expandedAccordions: globalThis.WritableComputedRef<Set<string>>;
1659
+ expand: (name?: string | string[]) => void;
1660
+ collapse: (name?: string | string[]) => void;
1661
+ }, {}, {}, {}, {
1662
+ collapse: boolean;
1663
+ disabled: boolean;
1664
+ modelValue: string | string[] | undefined;
1665
+ not: boolean;
1666
+ modifiers: string | string[];
1667
+ items: import("../../components/VvAccordionGroup").VvAccordionGroupItem[];
1668
+ itemModifiers: string | string[];
1669
+ storageType: "local" | "session";
1670
+ }>;
1671
+ __isFragment?: never;
1672
+ __isTeleport?: never;
1673
+ __isSuspense?: never;
1674
+ } & import("vue").ComponentOptionsBase<Readonly<globalThis.ExtractPropTypes<{
1675
+ modelValue: {
1676
+ type: PropType<string | string[] | undefined>;
1677
+ default: undefined;
1678
+ };
1679
+ items: {
1680
+ type: PropType<import("../../components/VvAccordionGroup").VvAccordionGroupItem[]>;
1681
+ default: () => never[];
1682
+ };
1683
+ collapse: BooleanConstructor;
1684
+ itemModifiers: {
1685
+ type: PropType<string | string[]>;
1686
+ default: string;
1687
+ };
1688
+ disabled: BooleanConstructor;
1689
+ not: BooleanConstructor;
1690
+ storageType: {
1691
+ type: globalThis.PropType<`${import("../../constants").StorageType}`>;
1692
+ default: import("../../constants").StorageType;
1693
+ validator: (value: import("../../constants").StorageType) => boolean;
1694
+ };
1695
+ storageKey: StringConstructor;
1696
+ modifiers: {
1697
+ type: globalThis.PropType<string | string[]>;
1698
+ default: undefined;
1699
+ };
1700
+ }>>, {
1701
+ expandedAccordions: globalThis.WritableComputedRef<Set<string>>;
1702
+ expand: (name?: string | string[]) => void;
1703
+ collapse: (name?: string | string[]) => void;
1704
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
1705
+ [x: string]: (...args: any[]) => void;
1706
+ }, string, {
1707
+ collapse: boolean;
1708
+ disabled: boolean;
1709
+ modelValue: string | string[] | undefined;
1710
+ not: boolean;
1711
+ modifiers: string | string[];
1712
+ items: import("../../components/VvAccordionGroup").VvAccordionGroupItem[];
1713
+ itemModifiers: string | string[];
1714
+ storageType: "local" | "session";
1715
+ }, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
1716
+ $slots: Partial<Record<`summary::${string}`, (_: {
1717
+ isExpanded: boolean;
1718
+ expand: () => void;
1719
+ collapse: () => void;
1720
+ groupExpand: (name?: string | string[]) => void;
1721
+ groupCollapse: (name?: string | string[]) => void;
1722
+ }) => any>> & Partial<Record<`content::${string}`, (_: {
1723
+ isExpanded: boolean;
1724
+ expand: () => void;
1725
+ collapse: () => void;
1726
+ groupExpand: (name?: string | string[]) => void;
1727
+ groupCollapse: (name?: string | string[]) => void;
1728
+ }) => any>> & {
1729
+ default?(_: {
1730
+ expandedAccordions: Set<string>;
1731
+ expand: (name?: string | string[]) => void;
1732
+ collapse: (name?: string | string[]) => void;
1733
+ }): any;
1734
+ };
1735
+ })>>) => (Component?: import("vue").ComponentOptions<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, any, any, any, any> | import("vue").FunctionalComponent<any, {}, any, {}>, options?: {
1736
+ props?: Record<string, any>;
1737
+ slots?: Record<string, any>;
1738
+ }) => Promise<import("@storybook/csf").Canvas>) | undefined;
1555
1739
  };
1556
1740
  export default _default;
1557
1741
  export declare const Default: Story;
@@ -9,4 +9,4 @@ export declare const defaultArgs: {
9
9
  valid: boolean;
10
10
  tabindex: number;
11
11
  };
12
- export declare const argTypes: import("@storybook/types").ArgTypes<import("@storybook/types").Args>;
12
+ export declare const argTypes: import("@storybook/csf").ArgTypes<import("@storybook/csf").Args>;
@@ -9,4 +9,4 @@ export declare const defaultArgs: {
9
9
  valid: boolean;
10
10
  indeterminate: boolean;
11
11
  };
12
- export declare const argTypes: import("@storybook/types").ArgTypes<import("@storybook/types").Args>;
12
+ export declare const argTypes: import("@storybook/csf").ArgTypes<import("@storybook/csf").Args>;
@@ -9,4 +9,4 @@ export declare const defaultArgs: {
9
9
  valid: boolean;
10
10
  tabindex: number;
11
11
  };
12
- export declare const argTypes: import("@storybook/types").ArgTypes<import("@storybook/types").Args>;
12
+ export declare const argTypes: import("@storybook/csf").ArgTypes<import("@storybook/csf").Args>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@volverjs/ui-vue",
3
3
  "type": "module",
4
- "version": "0.0.10-beta.44",
4
+ "version": "0.0.10-beta.45",
5
5
  "description": "@volverjs/ui-vue is a lightweight Vue 3 component library to accompany @volverjs/style.",
6
6
  "author": "8 Wave S.r.l.",
7
7
  "license": "MIT",
@@ -381,10 +381,10 @@
381
381
  "@volverjs/style": "0.*"
382
382
  },
383
383
  "dependencies": {
384
- "@floating-ui/vue": "^1.1.0",
384
+ "@floating-ui/vue": "^1.1.1",
385
385
  "@iconify/tools": "^4.0.4",
386
386
  "@iconify/vue": "^4.1.2",
387
- "@storybook/test": "^8.1.11",
387
+ "@storybook/test": "^8.2.3",
388
388
  "@vueuse/core": "^10.11.0",
389
389
  "blurhash": "^2.0.5",
390
390
  "comlink": "^4.4.1",
@@ -398,30 +398,30 @@
398
398
  "vuedraggable": "^4.1.0"
399
399
  },
400
400
  "devDependencies": {
401
- "@antfu/eslint-config": "^2.21.2",
402
- "@babel/core": "^7.24.7",
403
- "@babel/preset-env": "^7.24.7",
401
+ "@antfu/eslint-config": "^2.22.2",
402
+ "@babel/core": "^7.24.9",
403
+ "@babel/preset-env": "^7.24.8",
404
404
  "@babel/preset-typescript": "^7.24.7",
405
405
  "@iconify/types": "^2.0.0",
406
406
  "@iconify/utils": "^2.1.25",
407
407
  "@nabla/vite-plugin-eslint": "^2.0.4",
408
- "@storybook/addon-a11y": "^8.1.11",
409
- "@storybook/addon-actions": "^8.1.11",
410
- "@storybook/addon-docs": "^8.1.11",
411
- "@storybook/addon-essentials": "^8.1.11",
412
- "@storybook/addon-interactions": "^8.1.11",
413
- "@storybook/addon-links": "^8.1.11",
414
- "@storybook/cli": "^8.1.11",
415
- "@storybook/client-logger": "^8.1.11",
416
- "@storybook/core-common": "^8.1.11",
417
- "@storybook/preview-api": "^8.1.11",
418
- "@storybook/test-runner": "^0.19.0",
419
- "@storybook/vue3": "^8.1.11",
420
- "@storybook/vue3-vite": "^8.1.11",
408
+ "@storybook/addon-a11y": "^8.2.3",
409
+ "@storybook/addon-actions": "^8.2.3",
410
+ "@storybook/addon-docs": "^8.2.3",
411
+ "@storybook/addon-essentials": "^8.2.3",
412
+ "@storybook/addon-interactions": "^8.2.3",
413
+ "@storybook/addon-links": "^8.2.3",
414
+ "@storybook/cli": "^8.2.3",
415
+ "@storybook/client-logger": "^8.2.3",
416
+ "@storybook/core-common": "^8.2.3",
417
+ "@storybook/preview-api": "^8.2.3",
418
+ "@storybook/test-runner": "^0.19.1",
419
+ "@storybook/vue3": "^8.2.2",
420
+ "@storybook/vue3-vite": "^8.2.3",
421
421
  "@tsconfig/node18": "^18.2.4",
422
422
  "@types/jest-axe": "^3.5.9",
423
423
  "@types/jsdom": "^21.1.7",
424
- "@types/node": "^20.14.9",
424
+ "@types/node": "^20.14.10",
425
425
  "@types/pica": "^9.0.4",
426
426
  "@types/yargs": "^17.0.32",
427
427
  "@vitejs/plugin-vue": "^5.0.5",
@@ -431,28 +431,28 @@
431
431
  "@vue/tsconfig": "^0.5.1",
432
432
  "change-case": "^5.4.4",
433
433
  "chokidar": "^3.6.0",
434
- "eslint": "^9.6.0",
434
+ "eslint": "^9.7.0",
435
435
  "glob": "7.2.3",
436
436
  "jest-axe": "^9.0.0",
437
437
  "jest-diff": "^29.7.0",
438
438
  "jest-get-type": "^29.6.3",
439
439
  "jsdom": "^24.1.0",
440
440
  "npm-run-all": "^4.1.5",
441
- "prettier": "^3.3.2",
441
+ "prettier": "^3.3.3",
442
442
  "pretty-format": "^29.7.0",
443
443
  "remark": "^15.0.1",
444
- "sass": "^1.77.6",
445
- "storybook": "^8.1.11",
444
+ "sass": "^1.77.8",
445
+ "storybook": "^8.2.3",
446
446
  "storybook-addon-markdown-docs": "^2.0.0",
447
447
  "storybook-dark-mode": "^4.0.2",
448
- "terser": "^5.31.1",
448
+ "terser": "^5.31.2",
449
449
  "ts-node": "^10.9.2",
450
450
  "typescript": "~5.5.3",
451
- "unplugin-auto-import": "^0.17.6",
451
+ "unplugin-auto-import": "^0.18.0",
452
452
  "unplugin-vue-components": "^0.27.2",
453
- "vite": "^5.3.2",
453
+ "vite": "^5.3.3",
454
454
  "vite-plugin-externalize-deps": "^0.8.0",
455
- "vue-tsc": "^2.0.24",
455
+ "vue-tsc": "^2.0.26",
456
456
  "yargs": "^17.7.2"
457
457
  },
458
458
  "scripts": {