@ambita/design-system 3.0.27-31.0 → 3.0.27-321.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 (82) hide show
  1. package/dist/aux.common.js +66593 -6213
  2. package/dist/aux.common.js.map +1 -1
  3. package/dist/aux.umd.js +66593 -6213
  4. package/dist/aux.umd.js.map +1 -1
  5. package/dist/aux.umd.min.js +35 -1
  6. package/dist/aux.umd.min.js.map +1 -1
  7. package/dist/css/colors-css-variables.css +55 -0
  8. package/dist/css/colors-css-variables.scss +63 -52
  9. package/dist/css/colors-scss-variables.scss +9 -1
  10. package/dist/favicons/ambita/favicon.ico +0 -0
  11. package/dist/favicons/ambita/favicon.svg +9 -0
  12. package/dist/types/components/AuxAriaAnnouncer/AuxAriaAnnouncer.stories.d.ts +21 -0
  13. package/dist/types/components/AuxAriaAnnouncer/AuxAriaAnnouncer.vue.d.ts +7 -7
  14. package/dist/types/components/Banner/Banner.stories.d.ts +48 -0
  15. package/dist/types/components/Banner/Banner.vue.d.ts +15 -15
  16. package/dist/types/components/Button/Button.stories.d.ts +55 -0
  17. package/dist/types/components/Button/Button.vue.d.ts +19 -14
  18. package/dist/types/components/Card/Card.stories.d.ts +7 -0
  19. package/dist/types/components/Card/Card.vue.d.ts +1 -5
  20. package/dist/types/components/Checkbox/Checkbox.stories.d.ts +65 -0
  21. package/dist/types/components/Checkbox/Checkbox.vue.d.ts +25 -17
  22. package/dist/types/components/Color/Colors.stories.d.ts +7 -0
  23. package/dist/types/components/Definition/Definition.stories.d.ts +71 -0
  24. package/dist/types/components/Definition/Definition.vue.d.ts +24 -16
  25. package/dist/types/components/DirectionalArrow/DirectionalArrow.stories.d.ts +28 -0
  26. package/dist/types/components/DirectionalArrow/DirectionalArrow.vue.d.ts +8 -7
  27. package/dist/types/components/FormElement/FormElement.vue.d.ts +20 -14
  28. package/dist/types/components/Icons/Icon.stories.d.ts +7 -0
  29. package/dist/types/components/Input/Input.stories.d.ts +122 -0
  30. package/dist/types/components/Input/Input.vue.d.ts +46 -32
  31. package/dist/types/components/JsonForm/Controls/Array.vue.d.ts +35 -0
  32. package/dist/types/components/JsonForm/Controls/Boolean.vue.d.ts +22 -0
  33. package/dist/types/components/JsonForm/Controls/Number.vue.d.ts +19 -0
  34. package/dist/types/components/JsonForm/Controls/String.vue.d.ts +29 -0
  35. package/dist/types/components/JsonForm/Controls/Wrapper.vue.d.ts +27 -0
  36. package/dist/types/components/JsonForm/JsonForm.stories.d.ts +7 -0
  37. package/dist/types/components/JsonForm/Renderers/Array.vue.d.ts +99 -0
  38. package/dist/types/components/JsonForm/Renderers/Boolean.vue.d.ts +99 -0
  39. package/dist/types/components/JsonForm/Renderers/Integer.vue.d.ts +99 -0
  40. package/dist/types/components/JsonForm/Renderers/Layout.vue.d.ts +88 -0
  41. package/dist/types/components/JsonForm/Renderers/Number.vue.d.ts +99 -0
  42. package/dist/types/components/JsonForm/Renderers/Object.vue.d.ts +97 -0
  43. package/dist/types/components/JsonForm/Renderers/String.vue.d.ts +99 -0
  44. package/dist/types/components/JsonForm/Renderers/index.d.ts +9 -0
  45. package/dist/types/components/Link/Link.stories.d.ts +50 -0
  46. package/dist/types/components/Link/Link.vue.d.ts +11 -8
  47. package/dist/types/components/Logo/Logo.stories.d.ts +7 -0
  48. package/dist/types/components/Modal/Actions.vue.d.ts +6 -5
  49. package/dist/types/components/Modal/Modal.stories.d.ts +42 -0
  50. package/dist/types/components/Modal/Modal.vue.d.ts +25 -16
  51. package/dist/types/components/Notification/Notification.stories.d.ts +7 -0
  52. package/dist/types/components/Notification/Notification.vue.d.ts +31 -0
  53. package/dist/types/components/Notification/Notifications.vue.d.ts +20 -0
  54. package/dist/types/components/Pagination/Pagination.stories.d.ts +52 -0
  55. package/dist/types/components/Pagination/Pagination.vue.d.ts +16 -10
  56. package/dist/types/components/Pill/Pill.stories.d.ts +27 -0
  57. package/dist/types/components/Pill/Pill.vue.d.ts +7 -7
  58. package/dist/types/components/Radio/Radio.stories.d.ts +59 -0
  59. package/dist/types/components/Radio/Radio.vue.d.ts +22 -15
  60. package/dist/types/components/Select/Select.stories.d.ts +102 -0
  61. package/dist/types/components/Select/Select.vue.d.ts +36 -23
  62. package/dist/types/components/Spinner/Spinner.stories.d.ts +8 -0
  63. package/dist/types/components/StatusBadge/StatusBadge.stories.d.ts +31 -0
  64. package/dist/types/components/StatusBadge/StatusBadge.vue.d.ts +25 -0
  65. package/dist/types/components/StatusBadge/Statuses.d.ts +1 -0
  66. package/dist/types/components/StatusBanner/StatusBanner.d.ts +2 -0
  67. package/dist/types/components/Tag/Colors.d.ts +1 -0
  68. package/dist/types/components/Tag/Tag.stories.d.ts +27 -0
  69. package/dist/types/components/Tag/Tag.vue.d.ts +21 -0
  70. package/dist/types/components/TextArea/TextArea.stories.d.ts +129 -0
  71. package/dist/types/components/TextArea/TextArea.vue.d.ts +54 -35
  72. package/dist/types/components/Toggle/Toggle.stories.d.ts +101 -0
  73. package/dist/types/components/Toggle/Toggle.vue.d.ts +94 -19
  74. package/dist/types/components/Upload/File/File.vue.d.ts +31 -18
  75. package/dist/types/components/Upload/Upload.stories.d.ts +94 -0
  76. package/dist/types/components/Upload/Upload.vue.d.ts +27 -18
  77. package/dist/types/helpers/formatters/formatDateAndTime/Storybook/formatDateAndTime.stories.d.ts +7 -0
  78. package/dist/types/helpers/formatters/formatQuantity/Storybook/formatAmount.stories.d.ts +7 -0
  79. package/dist/types/helpers/formatters/formatQuantity/Storybook/formatNumber.stories.d.ts +7 -0
  80. package/dist/types/helpers/formatters/formatQuantity/formatNumber.d.ts +1 -0
  81. package/dist/types/index.d.ts +5 -0
  82. package/package.json +6 -2
@@ -0,0 +1,50 @@
1
+ import { Story } from '@storybook/vue3';
2
+ declare const _default: {
3
+ title: string;
4
+ component: import("vue").DefineComponent<{
5
+ size: {
6
+ type: StringConstructor;
7
+ default: string;
8
+ validator: (value: string) => boolean;
9
+ };
10
+ href: {
11
+ type: StringConstructor;
12
+ required: false;
13
+ };
14
+ }, {
15
+ componentType: import("vue").ComputedRef<"a" | "button">;
16
+ classes: import("vue").ComputedRef<{
17
+ [x: string]: boolean | import("vue").Slot | undefined;
18
+ 'aux-link': boolean;
19
+ 'aux-link-icon-left': import("vue").Slot | undefined;
20
+ 'aux-link-icon-right': import("vue").Slot | undefined;
21
+ }>;
22
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
23
+ size: {
24
+ type: StringConstructor;
25
+ default: string;
26
+ validator: (value: string) => boolean;
27
+ };
28
+ href: {
29
+ type: StringConstructor;
30
+ required: false;
31
+ };
32
+ }>> & {
33
+ onClick?: ((...args: any[]) => any) | undefined;
34
+ }, {
35
+ size: string;
36
+ }>;
37
+ argTypes: {
38
+ size: {
39
+ control: {
40
+ type: string;
41
+ options: string[];
42
+ };
43
+ };
44
+ onClick: {
45
+ action: string;
46
+ };
47
+ };
48
+ };
49
+ export default _default;
50
+ export declare const Link: Story<import("@storybook/vue3").Args>;
@@ -16,14 +16,17 @@ declare const _default: import("vue").DefineComponent<{
16
16
  'aux-link-icon-left': import("vue").Slot | undefined;
17
17
  'aux-link-icon-right': import("vue").Slot | undefined;
18
18
  }>;
19
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
20
- size?: unknown;
21
- href?: unknown;
22
- } & {
23
- size: string;
24
- } & {
25
- href?: string | undefined;
26
- }> & {
19
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
20
+ size: {
21
+ type: StringConstructor;
22
+ default: string;
23
+ validator: (value: string) => boolean;
24
+ };
25
+ href: {
26
+ type: StringConstructor;
27
+ required: false;
28
+ };
29
+ }>> & {
27
30
  onClick?: ((...args: any[]) => any) | undefined;
28
31
  }, {
29
32
  size: string;
@@ -0,0 +1,7 @@
1
+ import { Story } from '@storybook/vue3';
2
+ declare const _default: {
3
+ title: string;
4
+ component: import("vue").DefineComponent<{}, {}, any, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
5
+ };
6
+ export default _default;
7
+ export declare const Logo: Story<import("@storybook/vue3").Args>;
@@ -8,11 +8,12 @@ declare const _default: import("vue").DefineComponent<{
8
8
  }, {
9
9
  actionsOrganized: import("vue").ComputedRef<Action[]>;
10
10
  emit: (event: "action-clicked", ...args: any[]) => void;
11
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "action-clicked"[], "action-clicked", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
12
- actions?: unknown;
13
- } & {
14
- actions: Action[];
15
- } & {}> & {
11
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "action-clicked"[], "action-clicked", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
12
+ actions: {
13
+ type: PropType<Action[]>;
14
+ default: () => never[];
15
+ };
16
+ }>> & {
16
17
  "onAction-clicked"?: ((...args: any[]) => any) | undefined;
17
18
  }, {
18
19
  actions: Action[];
@@ -0,0 +1,42 @@
1
+ import { Story } from '@storybook/vue3';
2
+ declare const _default: {
3
+ title: string;
4
+ args: {
5
+ title: string;
6
+ actions: ({
7
+ label: string;
8
+ emit: string;
9
+ primary: boolean;
10
+ testid: string;
11
+ destructive?: undefined;
12
+ icon?: undefined;
13
+ } | {
14
+ label: string;
15
+ emit: string;
16
+ primary?: undefined;
17
+ testid?: undefined;
18
+ destructive?: undefined;
19
+ icon?: undefined;
20
+ } | {
21
+ label: string;
22
+ emit: string;
23
+ destructive: boolean;
24
+ icon: import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
25
+ testid: string;
26
+ primary?: undefined;
27
+ })[];
28
+ open: boolean;
29
+ };
30
+ argTypes: {
31
+ size: {
32
+ control: {
33
+ type: string;
34
+ options: string[];
35
+ };
36
+ };
37
+ title: StringConstructor;
38
+ open: BooleanConstructor;
39
+ };
40
+ };
41
+ export default _default;
42
+ export declare const Modal: Story<import("@storybook/vue3").Args>;
@@ -30,25 +30,34 @@ declare const _default: import("vue").DefineComponent<{
30
30
  };
31
31
  propagateEvent: (eventPayLoad: string) => void;
32
32
  emit: (event: string, ...args: any[]) => void;
33
+ closeButton: import("vue").Ref<HTMLInputElement | null>;
33
34
  getTestId: (testid: string) => string | undefined;
34
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
35
- actions?: unknown;
36
- id?: unknown;
37
- size?: unknown;
38
- title?: unknown;
39
- dataTestid?: unknown;
40
- } & {
41
- size: string;
35
+ modal: import("vue").Ref<HTMLDialogElement | null>;
36
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
37
+ actions: {
38
+ type: PropType<Action[]>;
39
+ default: () => never[];
40
+ };
41
+ id: {
42
+ type: StringConstructor;
43
+ default: (<T extends ArrayLike<number>>(options: import("uuid").V4Options | null | undefined, buffer: T, offset?: number | undefined) => T) & ((options?: import("uuid").V4Options | undefined) => string);
44
+ };
45
+ size: {
46
+ type: StringConstructor;
47
+ default: string;
48
+ validator: (value: string) => boolean;
49
+ };
50
+ title: {
51
+ type: StringConstructor;
52
+ validator: (value: string) => boolean;
53
+ };
54
+ dataTestid: {
55
+ type: StringConstructor;
56
+ required: false;
57
+ };
58
+ }>>, {
42
59
  id: string;
43
- actions: Action[];
44
- } & {
45
- dataTestid?: string | undefined;
46
- title?: string | undefined;
47
- }> & {
48
- [x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
49
- }, {
50
60
  size: string;
51
- id: string;
52
61
  actions: Action[];
53
62
  }>;
54
63
  export default _default;
@@ -0,0 +1,7 @@
1
+ import { Story } from '@storybook/vue3';
2
+ declare const _default: {
3
+ title: string;
4
+ };
5
+ export default _default;
6
+ export declare const Notification: Story<import("@storybook/vue3").Args>;
7
+ export declare const Notifications: Story<import("@storybook/vue3").Args>;
@@ -0,0 +1,31 @@
1
+ import { PropType } from 'vue';
2
+ declare const _default: import("vue").DefineComponent<{
3
+ type: {
4
+ type: PropType<"info" | "success" | "warning" | "error">;
5
+ required: true;
6
+ };
7
+ id: {
8
+ type: StringConstructor;
9
+ required: true;
10
+ };
11
+ }, {
12
+ classes: import("vue").ComputedRef<{
13
+ [x: string]: boolean | "info" | "success" | "warning" | "error";
14
+ 'aux-notification': boolean;
15
+ 'aux-notification-show': boolean;
16
+ }>;
17
+ icon: import("vue").ComputedRef<import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;
18
+ removeNotification: () => void;
19
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "remove-notification"[], "remove-notification", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
20
+ type: {
21
+ type: PropType<"info" | "success" | "warning" | "error">;
22
+ required: true;
23
+ };
24
+ id: {
25
+ type: StringConstructor;
26
+ required: true;
27
+ };
28
+ }>> & {
29
+ "onRemove-notification"?: ((...args: any[]) => any) | undefined;
30
+ }, {}>;
31
+ export default _default;
@@ -0,0 +1,20 @@
1
+ import { PropType } from 'vue';
2
+ import { NotificationType } from './Notification.d';
3
+ declare const _default: import("vue").DefineComponent<{
4
+ notifications: {
5
+ type: PropType<NotificationType[]>;
6
+ default: () => never[];
7
+ };
8
+ }, {
9
+ removeNotification: (event: string) => void;
10
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "remove-notification"[], "remove-notification", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
11
+ notifications: {
12
+ type: PropType<NotificationType[]>;
13
+ default: () => never[];
14
+ };
15
+ }>> & {
16
+ "onRemove-notification"?: ((...args: any[]) => any) | undefined;
17
+ }, {
18
+ notifications: NotificationType[];
19
+ }>;
20
+ export default _default;
@@ -0,0 +1,52 @@
1
+ import { Story } from '@storybook/vue3';
2
+ declare const _default: {
3
+ component: import("vue").DefineComponent<{
4
+ config: {
5
+ type: import("vue").PropType<import("./types").PaginationOffset>;
6
+ required: true;
7
+ };
8
+ width: {
9
+ type: NumberConstructor;
10
+ required: false;
11
+ default: number;
12
+ validator: (width: number) => boolean;
13
+ };
14
+ dataTestId: {
15
+ type: StringConstructor;
16
+ required: false;
17
+ };
18
+ }, {
19
+ totalPages: import("vue").ComputedRef<number>;
20
+ generateButtons: import("vue").ComputedRef<(string | number)[]>;
21
+ goToSelectedPage: (selectedPage: number) => void;
22
+ goToPreviousPage: () => void;
23
+ goToNextPage: () => void;
24
+ skipBackward: () => void;
25
+ skipForward: () => void;
26
+ currentPage: import("vue").ComputedRef<number>;
27
+ isSmallScreen: import("vue").Ref<boolean>;
28
+ auxPaginationWrapper: import("vue").Ref<any>;
29
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
30
+ config: {
31
+ type: import("vue").PropType<import("./types").PaginationOffset>;
32
+ required: true;
33
+ };
34
+ width: {
35
+ type: NumberConstructor;
36
+ required: false;
37
+ default: number;
38
+ validator: (width: number) => boolean;
39
+ };
40
+ dataTestId: {
41
+ type: StringConstructor;
42
+ required: false;
43
+ };
44
+ }>> & {
45
+ onChange?: ((...args: any[]) => any) | undefined;
46
+ }, {
47
+ width: number;
48
+ }>;
49
+ title: string;
50
+ };
51
+ export default _default;
52
+ export declare const PaginationWithOffset: Story<import("@storybook/vue3").Args>;
@@ -26,16 +26,22 @@ declare const _default: import("vue").DefineComponent<{
26
26
  currentPage: import("vue").ComputedRef<number>;
27
27
  isSmallScreen: import("vue").Ref<boolean>;
28
28
  auxPaginationWrapper: import("vue").Ref<any>;
29
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
30
- config?: unknown;
31
- width?: unknown;
32
- dataTestId?: unknown;
33
- } & {
34
- width: number;
35
- config: PaginationOffset;
36
- } & {
37
- dataTestId?: string | undefined;
38
- }> & {
29
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
30
+ config: {
31
+ type: PropType<PaginationOffset>;
32
+ required: true;
33
+ };
34
+ width: {
35
+ type: NumberConstructor;
36
+ required: false;
37
+ default: number;
38
+ validator: (width: number) => boolean;
39
+ };
40
+ dataTestId: {
41
+ type: StringConstructor;
42
+ required: false;
43
+ };
44
+ }>> & {
39
45
  onChange?: ((...args: any[]) => any) | undefined;
40
46
  }, {
41
47
  width: number;
@@ -0,0 +1,27 @@
1
+ import { Story } from '@storybook/vue3';
2
+ declare const _default: {
3
+ title: string;
4
+ component: import("vue").DefineComponent<{
5
+ color: {
6
+ type: StringConstructor;
7
+ default: string;
8
+ validator: (value: string) => boolean;
9
+ };
10
+ }, {
11
+ classes: import("vue").ComputedRef<{
12
+ [x: string]: boolean;
13
+ 'aux-pill': boolean;
14
+ }>;
15
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
16
+ color: {
17
+ type: StringConstructor;
18
+ default: string;
19
+ validator: (value: string) => boolean;
20
+ };
21
+ }>>, {
22
+ color: string;
23
+ }>;
24
+ };
25
+ export default _default;
26
+ export declare const Pill: Story<import("@storybook/vue3").Args>;
27
+ export declare const Examples: Story<import("@storybook/vue3").Args>;
@@ -9,13 +9,13 @@ declare const _default: import("vue").DefineComponent<{
9
9
  [x: string]: boolean;
10
10
  'aux-pill': boolean;
11
11
  }>;
12
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
13
- color?: unknown;
14
- } & {
15
- color: string;
16
- } & {}> & {
17
- [x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
18
- }, {
12
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
13
+ color: {
14
+ type: StringConstructor;
15
+ default: string;
16
+ validator: (value: string) => boolean;
17
+ };
18
+ }>>, {
19
19
  color: string;
20
20
  }>;
21
21
  export default _default;
@@ -0,0 +1,59 @@
1
+ import { Story } from '@storybook/vue3';
2
+ declare const _default: {
3
+ title: string;
4
+ component: import("vue").DefineComponent<{
5
+ value: {
6
+ type: (StringConstructor | NumberConstructor)[];
7
+ };
8
+ disabled: {
9
+ type: BooleanConstructor;
10
+ default: boolean;
11
+ };
12
+ id: {
13
+ type: StringConstructor;
14
+ default: (<T extends ArrayLike<number>>(options: import("uuid").V4Options | null | undefined, buffer: T, offset?: number | undefined) => T) & ((options?: import("uuid").V4Options | undefined) => string);
15
+ };
16
+ name: {
17
+ type: StringConstructor;
18
+ required: true;
19
+ };
20
+ selected: {
21
+ type: StringConstructor;
22
+ required: true;
23
+ };
24
+ }, {
25
+ isSelected: import("vue").ComputedRef<boolean>;
26
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
27
+ value: {
28
+ type: (StringConstructor | NumberConstructor)[];
29
+ };
30
+ disabled: {
31
+ type: BooleanConstructor;
32
+ default: boolean;
33
+ };
34
+ id: {
35
+ type: StringConstructor;
36
+ default: (<T extends ArrayLike<number>>(options: import("uuid").V4Options | null | undefined, buffer: T, offset?: number | undefined) => T) & ((options?: import("uuid").V4Options | undefined) => string);
37
+ };
38
+ name: {
39
+ type: StringConstructor;
40
+ required: true;
41
+ };
42
+ selected: {
43
+ type: StringConstructor;
44
+ required: true;
45
+ };
46
+ }>> & {
47
+ onChange?: ((...args: any[]) => any) | undefined;
48
+ }, {
49
+ id: string;
50
+ disabled: boolean;
51
+ }>;
52
+ argTypes: {
53
+ onChange: {
54
+ action: string;
55
+ };
56
+ };
57
+ };
58
+ export default _default;
59
+ export declare const Vertical: Story<import("@storybook/vue3").Args>;
@@ -20,23 +20,30 @@ declare const _default: import("vue").DefineComponent<{
20
20
  };
21
21
  }, {
22
22
  isSelected: import("vue").ComputedRef<boolean>;
23
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
24
- value?: unknown;
25
- disabled?: unknown;
26
- id?: unknown;
27
- name?: unknown;
28
- selected?: unknown;
29
- } & {
30
- name: string;
31
- disabled: boolean;
32
- id: string;
33
- selected: string;
34
- } & {
35
- value?: string | number | undefined;
36
- }> & {
23
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
24
+ value: {
25
+ type: (StringConstructor | NumberConstructor)[];
26
+ };
27
+ disabled: {
28
+ type: BooleanConstructor;
29
+ default: boolean;
30
+ };
31
+ id: {
32
+ type: StringConstructor;
33
+ default: (<T extends ArrayLike<number>>(options: import("uuid").V4Options | null | undefined, buffer: T, offset?: number | undefined) => T) & ((options?: import("uuid").V4Options | undefined) => string);
34
+ };
35
+ name: {
36
+ type: StringConstructor;
37
+ required: true;
38
+ };
39
+ selected: {
40
+ type: StringConstructor;
41
+ required: true;
42
+ };
43
+ }>> & {
37
44
  onChange?: ((...args: any[]) => any) | undefined;
38
45
  }, {
39
- disabled: boolean;
40
46
  id: string;
47
+ disabled: boolean;
41
48
  }>;
42
49
  export default _default;
@@ -0,0 +1,102 @@
1
+ import { Story } from '@storybook/vue3';
2
+ declare const _default: {
3
+ title: string;
4
+ component: import("vue").DefineComponent<{
5
+ items: {
6
+ type: import("vue").PropType<{
7
+ label: string;
8
+ value: string;
9
+ disabled: boolean;
10
+ }[]>;
11
+ required: true;
12
+ };
13
+ label: {
14
+ type: StringConstructor;
15
+ required: false;
16
+ };
17
+ required: {
18
+ type: BooleanConstructor;
19
+ default: boolean;
20
+ };
21
+ id: {
22
+ type: StringConstructor;
23
+ default: (<T extends ArrayLike<number>>(options: import("uuid").V4Options | null | undefined, buffer: T, offset?: number | undefined) => T) & ((options?: import("uuid").V4Options | undefined) => string);
24
+ };
25
+ name: {
26
+ type: StringConstructor;
27
+ required: false;
28
+ };
29
+ hideLabel: {
30
+ type: BooleanConstructor;
31
+ default: boolean;
32
+ };
33
+ description: {
34
+ type: StringConstructor;
35
+ };
36
+ value: {
37
+ type: (StringConstructor | NumberConstructor | ArrayConstructor)[];
38
+ };
39
+ modelValue: {
40
+ type: (StringConstructor | NumberConstructor | ArrayConstructor)[];
41
+ };
42
+ }, {
43
+ state: {
44
+ value: string | number | unknown[] | undefined;
45
+ };
46
+ updateValue: (value: string) => void;
47
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focus" | "blur" | "update:modelValue" | "change")[], "focus" | "blur" | "update:modelValue" | "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
48
+ items: {
49
+ type: import("vue").PropType<{
50
+ label: string;
51
+ value: string;
52
+ disabled: boolean;
53
+ }[]>;
54
+ required: true;
55
+ };
56
+ label: {
57
+ type: StringConstructor;
58
+ required: false;
59
+ };
60
+ required: {
61
+ type: BooleanConstructor;
62
+ default: boolean;
63
+ };
64
+ id: {
65
+ type: StringConstructor;
66
+ default: (<T extends ArrayLike<number>>(options: import("uuid").V4Options | null | undefined, buffer: T, offset?: number | undefined) => T) & ((options?: import("uuid").V4Options | undefined) => string);
67
+ };
68
+ name: {
69
+ type: StringConstructor;
70
+ required: false;
71
+ };
72
+ hideLabel: {
73
+ type: BooleanConstructor;
74
+ default: boolean;
75
+ };
76
+ description: {
77
+ type: StringConstructor;
78
+ };
79
+ value: {
80
+ type: (StringConstructor | NumberConstructor | ArrayConstructor)[];
81
+ };
82
+ modelValue: {
83
+ type: (StringConstructor | NumberConstructor | ArrayConstructor)[];
84
+ };
85
+ }>> & {
86
+ onFocus?: ((...args: any[]) => any) | undefined;
87
+ onBlur?: ((...args: any[]) => any) | undefined;
88
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
89
+ onChange?: ((...args: any[]) => any) | undefined;
90
+ }, {
91
+ hideLabel: boolean;
92
+ id: string;
93
+ required: boolean;
94
+ }>;
95
+ argTypes: {
96
+ onChange: {
97
+ action: string;
98
+ };
99
+ };
100
+ };
101
+ export default _default;
102
+ export declare const Primary: Story<import("@storybook/vue3").Args>;