vitam-uikit-apps 0.1.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 (92) hide show
  1. package/dist/types/components/Accordion/Accordion.stories.d.ts +10 -0
  2. package/dist/types/components/Accordion/Accordion.vue.d.ts +44 -0
  3. package/dist/types/components/Accordion/index.d.ts +1 -0
  4. package/dist/types/components/Avatar/Avatar.stories.d.ts +10 -0
  5. package/dist/types/components/Avatar/Avatar.vue.d.ts +18 -0
  6. package/dist/types/components/Avatar/index.d.ts +1 -0
  7. package/dist/types/components/Badge/Badge.stories.d.ts +11 -0
  8. package/dist/types/components/Badge/Badge.vue.d.ts +19 -0
  9. package/dist/types/components/Badge/index.d.ts +1 -0
  10. package/dist/types/components/Breadcrumb/Breadcrumb.stories.d.ts +9 -0
  11. package/dist/types/components/Breadcrumb/Breadcrumb.vue.d.ts +27 -0
  12. package/dist/types/components/Breadcrumb/index.d.ts +1 -0
  13. package/dist/types/components/BurgerButton/BurgerButton.stories.d.ts +9 -0
  14. package/dist/types/components/BurgerButton/BurgerButton.vue.d.ts +23 -0
  15. package/dist/types/components/BurgerButton/index.d.ts +1 -0
  16. package/dist/types/components/Button/Button.stories.d.ts +19 -0
  17. package/dist/types/components/Button/Button.vue.d.ts +34 -0
  18. package/dist/types/components/Button/index.d.ts +2 -0
  19. package/dist/types/components/Card/Card.stories.d.ts +11 -0
  20. package/dist/types/components/Card/Card.vue.d.ts +30 -0
  21. package/dist/types/components/Card/index.d.ts +1 -0
  22. package/dist/types/components/Checkbox/Checkbox.stories.d.ts +16 -0
  23. package/dist/types/components/Checkbox/Checkbox.vue.d.ts +28 -0
  24. package/dist/types/components/Checkbox/index.d.ts +1 -0
  25. package/dist/types/components/EmptyState/EmptyState.stories.d.ts +9 -0
  26. package/dist/types/components/EmptyState/EmptyState.vue.d.ts +21 -0
  27. package/dist/types/components/EmptyState/index.d.ts +1 -0
  28. package/dist/types/components/Footer/Footer.stories.d.ts +9 -0
  29. package/dist/types/components/Footer/Footer.vue.d.ts +29 -0
  30. package/dist/types/components/Footer/index.d.ts +1 -0
  31. package/dist/types/components/Input/Input.stories.d.ts +12 -0
  32. package/dist/types/components/Input/Input.vue.d.ts +33 -0
  33. package/dist/types/components/Input/index.d.ts +1 -0
  34. package/dist/types/components/Label/Label.stories.d.ts +13 -0
  35. package/dist/types/components/Label/Label.vue.d.ts +27 -0
  36. package/dist/types/components/Label/index.d.ts +1 -0
  37. package/dist/types/components/Modal/Modal.stories.d.ts +9 -0
  38. package/dist/types/components/Modal/Modal.vue.d.ts +36 -0
  39. package/dist/types/components/Modal/index.d.ts +1 -0
  40. package/dist/types/components/NavBar/NavBar.stories.d.ts +10 -0
  41. package/dist/types/components/NavBar/NavBar.vue.d.ts +39 -0
  42. package/dist/types/components/NavBar/index.d.ts +1 -0
  43. package/dist/types/components/NavMenu/NavMenu.stories.d.ts +10 -0
  44. package/dist/types/components/NavMenu/NavMenu.vue.d.ts +42 -0
  45. package/dist/types/components/NavMenu/index.d.ts +1 -0
  46. package/dist/types/components/Overlay/Overlay.stories.d.ts +11 -0
  47. package/dist/types/components/Overlay/Overlay.vue.d.ts +22 -0
  48. package/dist/types/components/Overlay/index.d.ts +1 -0
  49. package/dist/types/components/OverlayLoader/OverlayLoader.stories.d.ts +8 -0
  50. package/dist/types/components/OverlayLoader/OverlayLoader.vue.d.ts +16 -0
  51. package/dist/types/components/OverlayLoader/index.d.ts +1 -0
  52. package/dist/types/components/Pagination/Pagination.stories.d.ts +10 -0
  53. package/dist/types/components/Pagination/Pagination.vue.d.ts +22 -0
  54. package/dist/types/components/Pagination/index.d.ts +1 -0
  55. package/dist/types/components/Pill/Pill.stories.d.ts +8 -0
  56. package/dist/types/components/Pill/Pill.vue.d.ts +14 -0
  57. package/dist/types/components/Pill/index.d.ts +1 -0
  58. package/dist/types/components/RadioGroup/RadioGroup.stories.d.ts +12 -0
  59. package/dist/types/components/RadioGroup/RadioGroup.vue.d.ts +30 -0
  60. package/dist/types/components/RadioGroup/index.d.ts +1 -0
  61. package/dist/types/components/Selector/Selector.stories.d.ts +13 -0
  62. package/dist/types/components/Selector/Selector.vue.d.ts +33 -0
  63. package/dist/types/components/Selector/index.d.ts +1 -0
  64. package/dist/types/components/Switch/Switch.stories.d.ts +13 -0
  65. package/dist/types/components/Switch/Switch.vue.d.ts +24 -0
  66. package/dist/types/components/Switch/index.d.ts +1 -0
  67. package/dist/types/components/Table/Table.stories.d.ts +10 -0
  68. package/dist/types/components/Table/Table.vue.d.ts +35 -0
  69. package/dist/types/components/Table/index.d.ts +1 -0
  70. package/dist/types/components/Tabs/Tabs.stories.d.ts +10 -0
  71. package/dist/types/components/Tabs/Tabs.vue.d.ts +36 -0
  72. package/dist/types/components/Tabs/index.d.ts +1 -0
  73. package/dist/types/components/TextArea/TextArea.stories.d.ts +15 -0
  74. package/dist/types/components/TextArea/TextArea.vue.d.ts +36 -0
  75. package/dist/types/components/TextArea/index.d.ts +1 -0
  76. package/dist/types/components/TitleCard/TitleCard.stories.d.ts +10 -0
  77. package/dist/types/components/TitleCard/TitleCard.vue.d.ts +25 -0
  78. package/dist/types/components/TitleCard/index.d.ts +1 -0
  79. package/dist/types/components/Toast/Toast.stories.d.ts +14 -0
  80. package/dist/types/components/Toast/Toast.vue.d.ts +21 -0
  81. package/dist/types/components/Toast/index.d.ts +1 -0
  82. package/dist/types/components/Tooltip/Tooltip.stories.d.ts +12 -0
  83. package/dist/types/components/Tooltip/Tooltip.vue.d.ts +28 -0
  84. package/dist/types/components/Tooltip/index.d.ts +1 -0
  85. package/dist/types/index.d.ts +29 -0
  86. package/dist/types/types.d.ts +3 -0
  87. package/dist/vitam-uikit-apps.cjs.js +2 -0
  88. package/dist/vitam-uikit-apps.cjs.js.map +1 -0
  89. package/dist/vitam-uikit-apps.css +1 -0
  90. package/dist/vitam-uikit-apps.esm.js +1990 -0
  91. package/dist/vitam-uikit-apps.esm.js.map +1 -0
  92. package/package.json +55 -0
@@ -0,0 +1,10 @@
1
+ import type { Meta, StoryObj } from '@storybook/vue3';
2
+ import NavMenu from './NavMenu.vue';
3
+ declare const meta: Meta<typeof NavMenu>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof NavMenu>;
6
+ export declare const Closed: Story;
7
+ export declare const OpenWithActiveItem: Story;
8
+ export declare const LongListScrollBehavior: Story;
9
+ export declare const WithHeaderFooterSlots: Story;
10
+ export declare const IntegratedWithBurgerAndOverlay: Story;
@@ -0,0 +1,42 @@
1
+ import type { StateVariant } from '../../types';
2
+ interface NavMenuItem {
3
+ label: string;
4
+ value: string;
5
+ href?: string;
6
+ disabled?: boolean;
7
+ }
8
+ interface Props {
9
+ open?: boolean;
10
+ items: NavMenuItem[];
11
+ activeValue?: string;
12
+ showBackdrop?: boolean;
13
+ variant?: StateVariant;
14
+ }
15
+ declare var __VLS_9: {}, __VLS_11: {};
16
+ type __VLS_Slots = {} & {
17
+ header?: (props: typeof __VLS_9) => any;
18
+ } & {
19
+ footer?: (props: typeof __VLS_11) => any;
20
+ };
21
+ declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
22
+ close: () => any;
23
+ navigate: (payload: {
24
+ value: string;
25
+ }) => any;
26
+ }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
27
+ onClose?: (() => any) | undefined;
28
+ onNavigate?: ((payload: {
29
+ value: string;
30
+ }) => any) | undefined;
31
+ }>, {
32
+ variant: StateVariant;
33
+ open: boolean;
34
+ showBackdrop: boolean;
35
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
36
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
37
+ export default _default;
38
+ type __VLS_WithSlots<T, S> = T & {
39
+ new (): {
40
+ $slots: S;
41
+ };
42
+ };
@@ -0,0 +1 @@
1
+ export { default as NavMenu } from './NavMenu.vue';
@@ -0,0 +1,11 @@
1
+ import type { Meta, StoryObj } from '@storybook/vue3';
2
+ import Overlay from './Overlay.vue';
3
+ declare const meta: Meta<typeof Overlay>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof Overlay>;
6
+ export declare const LightOpacity: Story;
7
+ export declare const MediumOpacity: Story;
8
+ export declare const DarkOpacity: Story;
9
+ export declare const WithBlur: Story;
10
+ export declare const ClickToCloseEnabled: Story;
11
+ export declare const ClickToCloseDisabled: Story;
@@ -0,0 +1,22 @@
1
+ import type { StateVariant } from '../../types';
2
+ interface Props {
3
+ show?: boolean;
4
+ opacity?: 'light' | 'medium' | 'dark';
5
+ variant?: StateVariant;
6
+ blur?: boolean;
7
+ zIndex?: number;
8
+ closeOnClick?: boolean;
9
+ }
10
+ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
11
+ clickOutside: (event: MouseEvent) => any;
12
+ }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
13
+ onClickOutside?: ((event: MouseEvent) => any) | undefined;
14
+ }>, {
15
+ variant: StateVariant;
16
+ blur: boolean;
17
+ show: boolean;
18
+ opacity: "light" | "medium" | "dark";
19
+ zIndex: number;
20
+ closeOnClick: boolean;
21
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
22
+ export default _default;
@@ -0,0 +1 @@
1
+ export { default as Overlay } from './Overlay.vue';
@@ -0,0 +1,8 @@
1
+ import type { Meta, StoryObj } from '@storybook/vue3';
2
+ import OverlayLoader from './OverlayLoader.vue';
3
+ declare const meta: Meta<typeof OverlayLoader>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof OverlayLoader>;
6
+ export declare const InlineOverlayLoader: Story;
7
+ export declare const FullscreenLoader: Story;
8
+ export declare const MessageVariants: Story;
@@ -0,0 +1,16 @@
1
+ import type { SizeToken, StateVariant } from '../../types';
2
+ interface Props {
3
+ show?: boolean;
4
+ message?: string;
5
+ fullscreen?: boolean;
6
+ size?: SizeToken;
7
+ variant?: StateVariant;
8
+ }
9
+ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
10
+ variant: StateVariant;
11
+ size: SizeToken;
12
+ message: string;
13
+ show: boolean;
14
+ fullscreen: boolean;
15
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
16
+ export default _default;
@@ -0,0 +1 @@
1
+ export { default as OverlayLoader } from './OverlayLoader.vue';
@@ -0,0 +1,10 @@
1
+ import type { Meta, StoryObj } from '@storybook/vue3';
2
+ import Pagination from './Pagination.vue';
3
+ declare const meta: Meta<typeof Pagination>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof Pagination>;
6
+ export declare const FewPages: Story;
7
+ export declare const ManyPagesWithEllipsis: Story;
8
+ export declare const FirstLastHidden: Story;
9
+ export declare const ErrorVariant: Story;
10
+ export declare const CustomIcons: Story;
@@ -0,0 +1,22 @@
1
+ import type { StateVariant, SvgIconSrc } from '../../types';
2
+ interface Props {
3
+ page: number;
4
+ totalPages: number;
5
+ maxVisible?: number;
6
+ showFirstLast?: boolean;
7
+ variant?: StateVariant;
8
+ prevIconSrc?: SvgIconSrc;
9
+ nextIconSrc?: SvgIconSrc;
10
+ }
11
+ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
12
+ change: (value: number) => any;
13
+ "update:page": (value: number) => any;
14
+ }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
15
+ onChange?: ((value: number) => any) | undefined;
16
+ "onUpdate:page"?: ((value: number) => any) | undefined;
17
+ }>, {
18
+ variant: StateVariant;
19
+ maxVisible: number;
20
+ showFirstLast: boolean;
21
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
22
+ export default _default;
@@ -0,0 +1 @@
1
+ export { default as Pagination } from './Pagination.vue';
@@ -0,0 +1,8 @@
1
+ import type { Meta, StoryObj } from '@storybook/vue3';
2
+ import Pill from './Pill.vue';
3
+ declare const meta: Meta<typeof Pill>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof Pill>;
6
+ export declare const Variants: Story;
7
+ export declare const Sizes: Story;
8
+ export declare const Outlined: Story;
@@ -0,0 +1,14 @@
1
+ import type { StateVariant, SizeToken } from '../../types';
2
+ type PillSize = Extract<SizeToken, 'sm' | 'md'>;
3
+ interface Props {
4
+ label: string;
5
+ variant?: StateVariant;
6
+ size?: PillSize;
7
+ outlined?: boolean;
8
+ }
9
+ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
10
+ variant: StateVariant;
11
+ size: PillSize;
12
+ outlined: boolean;
13
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
14
+ export default _default;
@@ -0,0 +1 @@
1
+ export { default as Pill } from './Pill.vue';
@@ -0,0 +1,12 @@
1
+ import type { Meta, StoryObj } from '@storybook/vue3';
2
+ import RadioGroup from './RadioGroup.vue';
3
+ declare const meta: Meta<typeof RadioGroup>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof RadioGroup>;
6
+ export declare const Default: Story;
7
+ export declare const Horizontal: Story;
8
+ export declare const WithDescriptions: Story;
9
+ export declare const WithDisabledOption: Story;
10
+ export declare const FullyDisabled: Story;
11
+ export declare const VariantSuccess: Story;
12
+ export declare const VariantError: Story;
@@ -0,0 +1,30 @@
1
+ import type { StateVariant } from '../../types';
2
+ interface RadioOption {
3
+ label: string;
4
+ value: string | number;
5
+ disabled?: boolean;
6
+ description?: string;
7
+ }
8
+ interface Props {
9
+ modelValue?: string | number | null;
10
+ name: string;
11
+ options: RadioOption[];
12
+ label?: string;
13
+ direction?: 'vertical' | 'horizontal';
14
+ disabled?: boolean;
15
+ required?: boolean;
16
+ variant?: StateVariant;
17
+ }
18
+ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
19
+ "update:modelValue": (value: string | number | null) => any;
20
+ change: (value: string | number | null) => any;
21
+ }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
22
+ "onUpdate:modelValue"?: ((value: string | number | null) => any) | undefined;
23
+ onChange?: ((value: string | number | null) => any) | undefined;
24
+ }>, {
25
+ variant: StateVariant;
26
+ disabled: boolean;
27
+ required: boolean;
28
+ direction: "vertical" | "horizontal";
29
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
30
+ export default _default;
@@ -0,0 +1 @@
1
+ export { default as RadioGroup } from './RadioGroup.vue';
@@ -0,0 +1,13 @@
1
+ import type { Meta, StoryObj } from '@storybook/vue3';
2
+ import Selector from './Selector.vue';
3
+ declare const meta: Meta<typeof Selector>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof Selector>;
6
+ export declare const Default: Story;
7
+ export declare const WithPlaceholder: Story;
8
+ export declare const WithLeftIcon: Story;
9
+ export declare const WithDisabledOption: Story;
10
+ export declare const ErrorState: Story;
11
+ export declare const Disabled: Story;
12
+ export declare const Small: Story;
13
+ export declare const Large: Story;
@@ -0,0 +1,33 @@
1
+ import type { SvgIconSrc, SizeToken, StateVariant } from '../../types';
2
+ interface SelectOption {
3
+ label: string;
4
+ value: string | number;
5
+ disabled?: boolean;
6
+ }
7
+ interface Props {
8
+ modelValue?: string | number | null;
9
+ options: SelectOption[];
10
+ label?: string;
11
+ placeholder?: string;
12
+ leftIconSrc?: SvgIconSrc;
13
+ disabled?: boolean;
14
+ required?: boolean;
15
+ error?: string;
16
+ size?: SizeToken;
17
+ variant?: StateVariant;
18
+ id?: string;
19
+ }
20
+ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
21
+ "update:modelValue": (value: string | number | null) => any;
22
+ change: (value: string | number | null) => any;
23
+ }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
24
+ "onUpdate:modelValue"?: ((value: string | number | null) => any) | undefined;
25
+ onChange?: ((value: string | number | null) => any) | undefined;
26
+ }>, {
27
+ variant: StateVariant;
28
+ size: SizeToken;
29
+ disabled: boolean;
30
+ placeholder: string;
31
+ required: boolean;
32
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
33
+ export default _default;
@@ -0,0 +1 @@
1
+ export { default as Selector } from './Selector.vue';
@@ -0,0 +1,13 @@
1
+ import type { Meta, StoryObj } from '@storybook/vue3';
2
+ import Switch from './Switch.vue';
3
+ declare const meta: Meta<typeof Switch>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof Switch>;
6
+ export declare const Off: Story;
7
+ export declare const On: Story;
8
+ export declare const WithDescription: Story;
9
+ export declare const DisabledOff: Story;
10
+ export declare const DisabledOn: Story;
11
+ export declare const Small: Story;
12
+ export declare const VariantSuccess: Story;
13
+ export declare const VariantError: Story;
@@ -0,0 +1,24 @@
1
+ import type { StateVariant, SizeToken } from '../../types';
2
+ type SwitchSize = Extract<SizeToken, 'sm' | 'md'>;
3
+ interface Props {
4
+ modelValue?: boolean;
5
+ label?: string;
6
+ description?: string;
7
+ disabled?: boolean;
8
+ size?: SwitchSize;
9
+ variant?: StateVariant;
10
+ id?: string;
11
+ }
12
+ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
13
+ "update:modelValue": (value: boolean) => any;
14
+ change: (value: boolean) => any;
15
+ }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
16
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
17
+ onChange?: ((value: boolean) => any) | undefined;
18
+ }>, {
19
+ variant: StateVariant;
20
+ size: SwitchSize;
21
+ disabled: boolean;
22
+ modelValue: boolean;
23
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
24
+ export default _default;
@@ -0,0 +1 @@
1
+ export { default as Switch } from './Switch.vue';
@@ -0,0 +1,10 @@
1
+ import type { Meta, StoryObj } from '@storybook/vue3';
2
+ import Table from './Table.vue';
3
+ declare const meta: Meta<typeof Table>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof Table>;
6
+ export declare const BasicTable: Story;
7
+ export declare const StripedCompact: Story;
8
+ export declare const SortableColumns: Story;
9
+ export declare const HeaderWithIcon: Story;
10
+ export declare const EmptyRows: Story;
@@ -0,0 +1,35 @@
1
+ import type { StateVariant, SvgIconSrc } from '../../types';
2
+ type SortDirection = 'asc' | 'desc';
3
+ interface TableColumn {
4
+ key: string;
5
+ label: string;
6
+ sortable?: boolean;
7
+ leftIconSrc?: SvgIconSrc;
8
+ }
9
+ interface Props {
10
+ columns: TableColumn[];
11
+ rows: Array<Record<string, unknown>>;
12
+ rowKey?: string | ((row: Record<string, unknown>) => string | number);
13
+ striped?: boolean;
14
+ compact?: boolean;
15
+ variant?: StateVariant;
16
+ }
17
+ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
18
+ sort: (payload: {
19
+ key: string;
20
+ direction: SortDirection;
21
+ }) => any;
22
+ rowClick: (row: Record<string, unknown>) => any;
23
+ }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
24
+ onSort?: ((payload: {
25
+ key: string;
26
+ direction: SortDirection;
27
+ }) => any) | undefined;
28
+ onRowClick?: ((row: Record<string, unknown>) => any) | undefined;
29
+ }>, {
30
+ variant: StateVariant;
31
+ compact: boolean;
32
+ rowKey: string | ((row: Record<string, unknown>) => string | number);
33
+ striped: boolean;
34
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
35
+ export default _default;
@@ -0,0 +1 @@
1
+ export { default as Table } from './Table.vue';
@@ -0,0 +1,10 @@
1
+ import type { Meta, StoryObj } from '@storybook/vue3';
2
+ import Tabs from './Tabs.vue';
3
+ declare const meta: Meta<typeof Tabs>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof Tabs>;
6
+ export declare const Default: Story;
7
+ export declare const DisabledTab: Story;
8
+ export declare const VerticalMode: Story;
9
+ export declare const VariantExamples: Story;
10
+ export declare const TabWithLeftIcon: Story;
@@ -0,0 +1,36 @@
1
+ import type { StateVariant, SvgIconSrc } from '../../types';
2
+ interface TabItem {
3
+ label: string;
4
+ value: string;
5
+ disabled?: boolean;
6
+ leftIconSrc?: SvgIconSrc;
7
+ }
8
+ interface Props {
9
+ modelValue?: string;
10
+ items: TabItem[];
11
+ variant?: StateVariant;
12
+ orientation?: 'horizontal' | 'vertical';
13
+ }
14
+ declare var __VLS_2: `panel-${string}`, __VLS_3: {
15
+ activeValue: string;
16
+ };
17
+ type __VLS_Slots = {} & {
18
+ [K in NonNullable<typeof __VLS_2>]?: (props: typeof __VLS_3) => any;
19
+ };
20
+ declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
21
+ "update:modelValue": (value: string) => any;
22
+ change: (value: string) => any;
23
+ }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
24
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
25
+ onChange?: ((value: string) => any) | undefined;
26
+ }>, {
27
+ variant: StateVariant;
28
+ orientation: "horizontal" | "vertical";
29
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
30
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
31
+ export default _default;
32
+ type __VLS_WithSlots<T, S> = T & {
33
+ new (): {
34
+ $slots: S;
35
+ };
36
+ };
@@ -0,0 +1 @@
1
+ export { default as Tabs } from './Tabs.vue';
@@ -0,0 +1,15 @@
1
+ import type { Meta, StoryObj } from '@storybook/vue3';
2
+ import TextArea from './TextArea.vue';
3
+ declare const meta: Meta<typeof TextArea>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof TextArea>;
6
+ export declare const Default: Story;
7
+ export declare const WithLabelAndHint: Story;
8
+ export declare const WithLeftIcon: Story;
9
+ export declare const WithMaxLength: Story;
10
+ export declare const ErrorState: Story;
11
+ export declare const Disabled: Story;
12
+ export declare const ResizeNone: Story;
13
+ export declare const ResizeBoth: Story;
14
+ export declare const Small: Story;
15
+ export declare const Large: Story;
@@ -0,0 +1,36 @@
1
+ import type { SvgIconSrc, SizeToken, StateVariant } from '../../types';
2
+ interface Props {
3
+ modelValue?: string;
4
+ label?: string;
5
+ placeholder?: string;
6
+ hint?: string;
7
+ error?: string;
8
+ rows?: number;
9
+ maxLength?: number;
10
+ resize?: 'none' | 'vertical' | 'horizontal' | 'both';
11
+ leftIconSrc?: SvgIconSrc;
12
+ disabled?: boolean;
13
+ readonly?: boolean;
14
+ required?: boolean;
15
+ size?: SizeToken;
16
+ variant?: StateVariant;
17
+ id?: string;
18
+ }
19
+ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
20
+ "update:modelValue": (value: string) => any;
21
+ blur: (event: FocusEvent) => any;
22
+ focus: (event: FocusEvent) => any;
23
+ }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
24
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
25
+ onBlur?: ((event: FocusEvent) => any) | undefined;
26
+ onFocus?: ((event: FocusEvent) => any) | undefined;
27
+ }>, {
28
+ variant: StateVariant;
29
+ size: SizeToken;
30
+ disabled: boolean;
31
+ readonly: boolean;
32
+ required: boolean;
33
+ rows: number;
34
+ resize: "none" | "vertical" | "horizontal" | "both";
35
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
36
+ export default _default;
@@ -0,0 +1 @@
1
+ export { default as TextArea } from './TextArea.vue';
@@ -0,0 +1,10 @@
1
+ import type { Meta, StoryObj } from '@storybook/vue3';
2
+ import TitleCard from './TitleCard.vue';
3
+ declare const meta: Meta<typeof TitleCard>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof TitleCard>;
6
+ export declare const TitleOnly: Story;
7
+ export declare const TitleWithLeftIcon: Story;
8
+ export declare const WithSubtitle: Story;
9
+ export declare const WithActions: Story;
10
+ export declare const AlignVariants: Story;
@@ -0,0 +1,25 @@
1
+ import type { SvgIconSrc, StateVariant } from '../../types';
2
+ interface Props {
3
+ title: string;
4
+ subtitle?: string;
5
+ align?: 'left' | 'center' | 'right';
6
+ variant?: StateVariant;
7
+ level?: 1 | 2 | 3 | 4;
8
+ leftIconSrc?: SvgIconSrc;
9
+ }
10
+ declare var __VLS_5: {};
11
+ type __VLS_Slots = {} & {
12
+ actions?: (props: typeof __VLS_5) => any;
13
+ };
14
+ declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
15
+ variant: StateVariant;
16
+ align: "left" | "center" | "right";
17
+ level: 1 | 2 | 3 | 4;
18
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
19
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
20
+ export default _default;
21
+ type __VLS_WithSlots<T, S> = T & {
22
+ new (): {
23
+ $slots: S;
24
+ };
25
+ };
@@ -0,0 +1 @@
1
+ export { default as TitleCard } from './TitleCard.vue';
@@ -0,0 +1,14 @@
1
+ import type { Meta, StoryObj } from '@storybook/vue3';
2
+ import Toast from './Toast.vue';
3
+ declare const meta: Meta<typeof Toast>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof Toast>;
6
+ export declare const Info: Story;
7
+ export declare const Success: Story;
8
+ export declare const Warning: Story;
9
+ export declare const Alert: Story;
10
+ export declare const Error: Story;
11
+ export declare const InvertedExample: Story;
12
+ export declare const WithIcon: Story;
13
+ export declare const NotDismissible: Story;
14
+ export declare const AutoDismissShort: Story;
@@ -0,0 +1,21 @@
1
+ import type { StateVariant, SvgIconSrc } from '../../types';
2
+ interface Props {
3
+ title?: string;
4
+ message: string;
5
+ variant?: StateVariant;
6
+ duration?: number;
7
+ dismissible?: boolean;
8
+ leftIconSrc?: SvgIconSrc;
9
+ }
10
+ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
11
+ close: () => any;
12
+ timeout: () => any;
13
+ }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
14
+ onClose?: (() => any) | undefined;
15
+ onTimeout?: (() => any) | undefined;
16
+ }>, {
17
+ variant: StateVariant;
18
+ duration: number;
19
+ dismissible: boolean;
20
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
21
+ export default _default;
@@ -0,0 +1 @@
1
+ export { default as Toast } from './Toast.vue';
@@ -0,0 +1,12 @@
1
+ import type { Meta, StoryObj } from '@storybook/vue3';
2
+ import Tooltip from './Tooltip.vue';
3
+ declare const meta: Meta<typeof Tooltip>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof Tooltip>;
6
+ export declare const Top: Story;
7
+ export declare const Right: Story;
8
+ export declare const Bottom: Story;
9
+ export declare const Left: Story;
10
+ export declare const KeyboardFocusExample: Story;
11
+ export declare const VariantSuccess: Story;
12
+ export declare const VariantErrorInverted: Story;
@@ -0,0 +1,28 @@
1
+ import type { StateVariant } from '../../types';
2
+ interface Props {
3
+ text: string;
4
+ placement?: 'top' | 'right' | 'bottom' | 'left';
5
+ openDelay?: number;
6
+ closeDelay?: number;
7
+ variant?: StateVariant;
8
+ maxWidth?: string;
9
+ id?: string;
10
+ }
11
+ declare var __VLS_1: {};
12
+ type __VLS_Slots = {} & {
13
+ default?: (props: typeof __VLS_1) => any;
14
+ };
15
+ declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
16
+ variant: StateVariant;
17
+ placement: "top" | "right" | "bottom" | "left";
18
+ openDelay: number;
19
+ closeDelay: number;
20
+ maxWidth: string;
21
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
22
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
23
+ export default _default;
24
+ type __VLS_WithSlots<T, S> = T & {
25
+ new (): {
26
+ $slots: S;
27
+ };
28
+ };
@@ -0,0 +1 @@
1
+ export { default as Tooltip } from './Tooltip.vue';