@contentstudio/ui 0.2.25 → 0.2.26

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 (164) hide show
  1. package/dist/index.d.ts +7520 -47
  2. package/package.json +1 -1
  3. package/dist/App.vue.d.ts +0 -2
  4. package/dist/components/Accordion/Accordion.vue.d.ts +0 -58
  5. package/dist/components/Accordion/AccordionItem.vue.d.ts +0 -63
  6. package/dist/components/Accordion/index.d.ts +0 -3
  7. package/dist/components/Accordion/types.d.ts +0 -15
  8. package/dist/components/ActionIcon/ActionIcon.vue.d.ts +0 -105
  9. package/dist/components/ActionIcon/index.d.ts +0 -2
  10. package/dist/components/ActionIcon/types.d.ts +0 -53
  11. package/dist/components/Alert/Alert.vue.d.ts +0 -94
  12. package/dist/components/Alert/index.d.ts +0 -4
  13. package/dist/components/Alert/types.d.ts +0 -30
  14. package/dist/components/Avatar/Avatar.vue.d.ts +0 -106
  15. package/dist/components/Avatar/AvatarGroup.vue.d.ts +0 -76
  16. package/dist/components/Avatar/index.d.ts +0 -5
  17. package/dist/components/Avatar/types.d.ts +0 -58
  18. package/dist/components/Avatar/utils.d.ts +0 -9
  19. package/dist/components/Badge/Badge.vue.d.ts +0 -109
  20. package/dist/components/Badge/index.d.ts +0 -2
  21. package/dist/components/Badge/types.d.ts +0 -35
  22. package/dist/components/Breadcrumbs/Breadcrumbs.vue.d.ts +0 -80
  23. package/dist/components/Breadcrumbs/index.d.ts +0 -3
  24. package/dist/components/Breadcrumbs/types.d.ts +0 -23
  25. package/dist/components/Button/Button.vue.d.ts +0 -85
  26. package/dist/components/Button/index.d.ts +0 -2
  27. package/dist/components/Button/types.d.ts +0 -40
  28. package/dist/components/Card/Card.vue.d.ts +0 -202
  29. package/dist/components/Card/CardSection.vue.d.ts +0 -57
  30. package/dist/components/Card/index.d.ts +0 -4
  31. package/dist/components/Card/types.d.ts +0 -31
  32. package/dist/components/Checkbox/Checkbox.vue.d.ts +0 -94
  33. package/dist/components/Checkbox/index.d.ts +0 -4
  34. package/dist/components/Checkbox/types.d.ts +0 -20
  35. package/dist/components/Chip/Chip.vue.d.ts +0 -108
  36. package/dist/components/Chip/index.d.ts +0 -4
  37. package/dist/components/Chip/types.d.ts +0 -48
  38. package/dist/components/ClientExtensionDemo/index.d.ts +0 -1
  39. package/dist/components/ClientExtensionDemo.vue.d.ts +0 -2
  40. package/dist/components/Collapsible/Collapsible.vue.d.ts +0 -77
  41. package/dist/components/Collapsible/index.d.ts +0 -4
  42. package/dist/components/Collapsible/types.d.ts +0 -9
  43. package/dist/components/Dialog/Dialog.vue.d.ts +0 -151
  44. package/dist/components/Dialog/index.d.ts +0 -4
  45. package/dist/components/Dialog/types.d.ts +0 -28
  46. package/dist/components/Drawer/Drawer.vue.d.ts +0 -134
  47. package/dist/components/Drawer/index.d.ts +0 -4
  48. package/dist/components/Drawer/types.d.ts +0 -61
  49. package/dist/components/Dropdown/Dropdown.vue.d.ts +0 -131
  50. package/dist/components/Dropdown/DropdownItem.vue.d.ts +0 -64
  51. package/dist/components/Dropdown/index.d.ts +0 -7
  52. package/dist/components/Dropdown/types.d.ts +0 -41
  53. package/dist/components/DropdownMenu/DropdownMenu.vue.d.ts +0 -109
  54. package/dist/components/DropdownMenu/index.d.ts +0 -3
  55. package/dist/components/HoverCard/HoverCard.vue.d.ts +0 -104
  56. package/dist/components/HoverCard/HoverCardTarget.vue.d.ts +0 -49
  57. package/dist/components/HoverCard/index.d.ts +0 -384
  58. package/dist/components/HoverCard/types.d.ts +0 -40
  59. package/dist/components/HoverCard/useHoverCard.d.ts +0 -20
  60. package/dist/components/Icon/Icon.vue.d.ts +0 -15
  61. package/dist/components/Icon/index.d.ts +0 -4
  62. package/dist/components/Icon/types.d.ts +0 -12
  63. package/dist/components/Indicator/Indicator.vue.d.ts +0 -129
  64. package/dist/components/Indicator/index.d.ts +0 -2
  65. package/dist/components/Indicator/types.d.ts +0 -29
  66. package/dist/components/ListItem/ListItem.vue.d.ts +0 -64
  67. package/dist/components/ListItem/index.d.ts +0 -6
  68. package/dist/components/ListItem/types.d.ts +0 -7
  69. package/dist/components/Loader/Loader.vue.d.ts +0 -65
  70. package/dist/components/Loader/index.d.ts +0 -2
  71. package/dist/components/Loader/types.d.ts +0 -16
  72. package/dist/components/Loader/variants/BarsLoader.vue.d.ts +0 -35
  73. package/dist/components/Loader/variants/DotsLoader.vue.d.ts +0 -35
  74. package/dist/components/Loader/variants/OvalLoader.vue.d.ts +0 -39
  75. package/dist/components/Modal/MessageBoxConfirm.vue.d.ts +0 -275
  76. package/dist/components/Modal/MessageBoxOk.vue.d.ts +0 -207
  77. package/dist/components/Modal/Modal.vue.d.ts +0 -494
  78. package/dist/components/Modal/directive.d.ts +0 -14
  79. package/dist/components/Modal/index.d.ts +0 -7
  80. package/dist/components/Modal/plugin.d.ts +0 -59
  81. package/dist/components/Modal/types.d.ts +0 -79
  82. package/dist/components/Pagination/Pagination.vue.d.ts +0 -84
  83. package/dist/components/Pagination/index.d.ts +0 -3
  84. package/dist/components/Pagination/types.d.ts +0 -32
  85. package/dist/components/Pill/Pill.vue.d.ts +0 -84
  86. package/dist/components/Pill/index.d.ts +0 -2
  87. package/dist/components/Pill/types.d.ts +0 -21
  88. package/dist/components/Popover/Popover.vue.d.ts +0 -197
  89. package/dist/components/Popover/index.d.ts +0 -4
  90. package/dist/components/Popover/types.d.ts +0 -67
  91. package/dist/components/Progress/Progress.vue.d.ts +0 -138
  92. package/dist/components/Progress/index.d.ts +0 -4
  93. package/dist/components/Progress/types.d.ts +0 -44
  94. package/dist/components/Radio/Radio.vue.d.ts +0 -99
  95. package/dist/components/Radio/index.d.ts +0 -2
  96. package/dist/components/Radio/types.d.ts +0 -53
  97. package/dist/components/RangeSlider/RangeSlider.vue.d.ts +0 -175
  98. package/dist/components/RangeSlider/index.d.ts +0 -2
  99. package/dist/components/RangeSlider/types.d.ts +0 -115
  100. package/dist/components/SearchInput/index.d.ts +0 -2
  101. package/dist/components/SearchInput/types.d.ts +0 -52
  102. package/dist/components/SegmentedControl/SegmentedControl.vue.d.ts +0 -97
  103. package/dist/components/SegmentedControl/index.d.ts +0 -4
  104. package/dist/components/SegmentedControl/types.d.ts +0 -55
  105. package/dist/components/Select/Select.vue.d.ts +0 -123
  106. package/dist/components/Select/index.d.ts +0 -2
  107. package/dist/components/Select/types.d.ts +0 -22
  108. package/dist/components/Slider/Slider.vue.d.ts +0 -164
  109. package/dist/components/Slider/index.d.ts +0 -3
  110. package/dist/components/Slider/types.d.ts +0 -145
  111. package/dist/components/SplitButton/SplitButton.vue.d.ts +0 -105
  112. package/dist/components/SplitButton/index.d.ts +0 -2
  113. package/dist/components/SplitButton/types.d.ts +0 -22
  114. package/dist/components/Stepper/Stepper.vue.d.ts +0 -65
  115. package/dist/components/Stepper/StepperItem.vue.d.ts +0 -79
  116. package/dist/components/Stepper/index.d.ts +0 -3
  117. package/dist/components/Stepper/types.d.ts +0 -14
  118. package/dist/components/Switch/Switch.vue.d.ts +0 -117
  119. package/dist/components/Switch/index.d.ts +0 -4
  120. package/dist/components/Switch/types.d.ts +0 -55
  121. package/dist/components/Table/Table.vue.d.ts +0 -78
  122. package/dist/components/Table/index.d.ts +0 -2
  123. package/dist/components/Table/types.d.ts +0 -25
  124. package/dist/components/Tabs/Tabs.vue.d.ts +0 -78
  125. package/dist/components/Tabs/TabsList.vue.d.ts +0 -52
  126. package/dist/components/Tabs/TabsPanel.vue.d.ts +0 -38
  127. package/dist/components/Tabs/TabsTab.vue.d.ts +0 -108
  128. package/dist/components/Tabs/index.d.ts +0 -5
  129. package/dist/components/Tabs/types.d.ts +0 -69
  130. package/dist/components/TextInput/index.d.ts +0 -2
  131. package/dist/components/TextInput/types.d.ts +0 -47
  132. package/dist/components/Textarea/index.d.ts +0 -2
  133. package/dist/components/Textarea/types.d.ts +0 -54
  134. package/dist/components/ThemeProvider/ThemeProvider.vue.d.ts +0 -88
  135. package/dist/components/ThemeProvider/index.d.ts +0 -1
  136. package/dist/components/ThemeToggle/ThemeToggle.vue.d.ts +0 -46
  137. package/dist/components/ThemeToggle/index.d.ts +0 -1
  138. package/dist/components/Toast/CustomToast.vue.d.ts +0 -50
  139. package/dist/components/Toast/Toast.vue.d.ts +0 -154
  140. package/dist/components/Toast/index.d.ts +0 -7
  141. package/dist/components/Toast/plugin.d.ts +0 -70
  142. package/dist/components/Toast/types.d.ts +0 -93
  143. package/dist/components/index.d.ts +0 -35
  144. package/dist/composables/index.d.ts +0 -1
  145. package/dist/composables/useDropdown.d.ts +0 -23
  146. package/dist/composables/useTheme.d.ts +0 -189
  147. package/dist/composables/useThemeContext.d.ts +0 -193
  148. package/dist/composables/useThemeMode.d.ts +0 -21
  149. package/dist/directives/click-away/index.d.ts +0 -2
  150. package/dist/main.d.ts +0 -0
  151. package/dist/theme/darkMode.d.ts +0 -17
  152. package/dist/theme/extensions.d.ts +0 -50
  153. package/dist/theme/generator.d.ts +0 -31
  154. package/dist/theme/tailwind.d.ts +0 -10
  155. package/dist/theme/types.d.ts +0 -47
  156. package/dist/types/common.d.ts +0 -14
  157. package/dist/types/index.d.ts +0 -70
  158. package/dist/utils/colors.d.ts +0 -89
  159. package/dist/utils/forms.d.ts +0 -35
  160. package/dist/utils/position.d.ts +0 -11
  161. package/dist/utils/radius.d.ts +0 -2
  162. package/dist/utils/shadows.d.ts +0 -9
  163. package/dist/utils/sizes.d.ts +0 -7
  164. package/dist/utils/states.d.ts +0 -28
@@ -1,52 +0,0 @@
1
- declare function __VLS_template(): {
2
- slots: {
3
- default?(_: {}): any;
4
- };
5
- refs: {};
6
- attrs: Partial<{}>;
7
- };
8
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
9
- declare const __VLS_component: import('vue').DefineComponent<{
10
- /** Justify content alignment */
11
- justify: {
12
- type: () => "flex-start" | "flex-end" | "center" | "space-between" | "space-around" | "space-evenly";
13
- default: string;
14
- };
15
- /** Whether to show a divider */
16
- divider: {
17
- type: BooleanConstructor;
18
- default: boolean;
19
- };
20
- /** Whether tabs should be horizontally scrollable instead of wrapping */
21
- scrollable: {
22
- type: BooleanConstructor;
23
- default: boolean;
24
- };
25
- }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, Readonly<import('vue').ExtractPropTypes<{
26
- /** Justify content alignment */
27
- justify: {
28
- type: () => "flex-start" | "flex-end" | "center" | "space-between" | "space-around" | "space-evenly";
29
- default: string;
30
- };
31
- /** Whether to show a divider */
32
- divider: {
33
- type: BooleanConstructor;
34
- default: boolean;
35
- };
36
- /** Whether tabs should be horizontally scrollable instead of wrapping */
37
- scrollable: {
38
- type: BooleanConstructor;
39
- default: boolean;
40
- };
41
- }>>, {
42
- justify: "center" | "space-between" | "space-around" | "space-evenly" | "flex-end" | "flex-start";
43
- scrollable: boolean;
44
- divider: boolean;
45
- }>;
46
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
47
- export default _default;
48
- type __VLS_WithTemplateSlots<T, S> = T & {
49
- new (): {
50
- $slots: S;
51
- };
52
- };
@@ -1,38 +0,0 @@
1
- declare function __VLS_template(): {
2
- slots: {
3
- default?(_: {}): any;
4
- };
5
- refs: {};
6
- attrs: Partial<{}>;
7
- };
8
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
9
- declare const __VLS_component: import('vue').DefineComponent<{
10
- /** Panel value, used for matching with active value */
11
- value: {
12
- type: StringConstructor;
13
- required: true;
14
- };
15
- KeepAlive: {
16
- type: BooleanConstructor;
17
- default: boolean;
18
- };
19
- }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, Readonly<import('vue').ExtractPropTypes<{
20
- /** Panel value, used for matching with active value */
21
- value: {
22
- type: StringConstructor;
23
- required: true;
24
- };
25
- KeepAlive: {
26
- type: BooleanConstructor;
27
- default: boolean;
28
- };
29
- }>>, {
30
- KeepAlive: boolean;
31
- }>;
32
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
33
- export default _default;
34
- type __VLS_WithTemplateSlots<T, S> = T & {
35
- new (): {
36
- $slots: S;
37
- };
38
- };
@@ -1,108 +0,0 @@
1
- declare function __VLS_template(): {
2
- slots: {
3
- default?(_: {}): any;
4
- leftSection?(_: {}): any;
5
- rightSection?(_: {}): any;
6
- };
7
- refs: {};
8
- attrs: Partial<{}>;
9
- };
10
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
11
- declare const __VLS_component: import('vue').DefineComponent<{
12
- /** Tab value, used for matching with active value */
13
- value: {
14
- type: StringConstructor;
15
- required: true;
16
- };
17
- /** Button color */
18
- color: {
19
- type: () => "primary" | "secondary" | "success" | "warning" | "danger" | "info" | "dark" | "light";
20
- default: string;
21
- };
22
- /** Button variant */
23
- variant: {
24
- type: () => "outline" | "text" | "subtle" | "light" | "filled" | undefined;
25
- default: string;
26
- };
27
- /** Button size */
28
- size: {
29
- type: () => "xs" | "sm" | "md" | "lg" | "xl";
30
- default: string;
31
- };
32
- /** Button radius */
33
- radius: {
34
- type: () => "xs" | "sm" | "md" | "lg" | "xl" | "none" | "full";
35
- default: string;
36
- };
37
- /** Disabled state */
38
- disabled: {
39
- type: BooleanConstructor;
40
- default: boolean;
41
- };
42
- /** Loading state */
43
- loading: {
44
- type: BooleanConstructor;
45
- default: boolean;
46
- };
47
- /** Full width */
48
- fullWidth: {
49
- type: BooleanConstructor;
50
- default: boolean;
51
- };
52
- }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, Readonly<import('vue').ExtractPropTypes<{
53
- /** Tab value, used for matching with active value */
54
- value: {
55
- type: StringConstructor;
56
- required: true;
57
- };
58
- /** Button color */
59
- color: {
60
- type: () => "primary" | "secondary" | "success" | "warning" | "danger" | "info" | "dark" | "light";
61
- default: string;
62
- };
63
- /** Button variant */
64
- variant: {
65
- type: () => "outline" | "text" | "subtle" | "light" | "filled" | undefined;
66
- default: string;
67
- };
68
- /** Button size */
69
- size: {
70
- type: () => "xs" | "sm" | "md" | "lg" | "xl";
71
- default: string;
72
- };
73
- /** Button radius */
74
- radius: {
75
- type: () => "xs" | "sm" | "md" | "lg" | "xl" | "none" | "full";
76
- default: string;
77
- };
78
- /** Disabled state */
79
- disabled: {
80
- type: BooleanConstructor;
81
- default: boolean;
82
- };
83
- /** Loading state */
84
- loading: {
85
- type: BooleanConstructor;
86
- default: boolean;
87
- };
88
- /** Full width */
89
- fullWidth: {
90
- type: BooleanConstructor;
91
- default: boolean;
92
- };
93
- }>>, {
94
- disabled: boolean;
95
- variant: "light" | "filled" | "outline" | "subtle" | "text" | undefined;
96
- color: "primary" | "secondary" | "success" | "warning" | "danger" | "info" | "dark" | "light";
97
- size: "xs" | "sm" | "md" | "lg" | "xl";
98
- radius: "xs" | "sm" | "md" | "lg" | "xl" | "none" | "full";
99
- loading: boolean;
100
- fullWidth: boolean;
101
- }>;
102
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
103
- export default _default;
104
- type __VLS_WithTemplateSlots<T, S> = T & {
105
- new (): {
106
- $slots: S;
107
- };
108
- };
@@ -1,5 +0,0 @@
1
- import { default as Tabs } from './Tabs.vue';
2
- import { default as TabsList } from './TabsList.vue';
3
- import { default as TabsTab } from './TabsTab.vue';
4
- import { default as TabsPanel } from './TabsPanel.vue';
5
- export { Tabs, TabsList, TabsTab, TabsPanel };
@@ -1,69 +0,0 @@
1
- import { ComponentSize, ComponentRadius, ThemeColor, ButtonVariant } from '../../types/common';
2
- export interface TabsProps {
3
- /** Model value for the active tab index */
4
- modelValue?: number;
5
- /** Whether to use card style */
6
- card?: boolean;
7
- /** Whether to use pills style */
8
- pills?: boolean;
9
- /** Whether to fill available width */
10
- fill?: boolean;
11
- /** Whether to justify tabs with equal width */
12
- justified?: boolean;
13
- /** Alignment of tabs: 'start', 'center', or 'end' */
14
- align?: 'start' | 'center' | 'end';
15
- /** Whether to place tabs at the bottom */
16
- end?: boolean;
17
- /** Whether to use vertical layout */
18
- vertical?: boolean;
19
- /** Whether to disable fade animation */
20
- noFade?: boolean;
21
- /** Whether to disable keyboard navigation */
22
- noKeyNav?: boolean;
23
- /** Whether to disable nav styling */
24
- noNavStyle?: boolean;
25
- /** Size of the tabs */
26
- size?: ComponentSize;
27
- /** Border radius of the tabs */
28
- radius?: ComponentRadius;
29
- /** Color variant of the tabs */
30
- color?: ThemeColor;
31
- /** Visual style variant */
32
- variant?: ButtonVariant;
33
- /** CSS class for the content wrapper */
34
- contentClass?: string | string[] | Record<string, boolean>;
35
- /** CSS class for the nav wrapper */
36
- navClass?: string | string[] | Record<string, boolean>;
37
- /** CSS class for the nav wrapper element */
38
- navWrapperClass?: string | string[] | Record<string, boolean>;
39
- /** CSS class for active nav item */
40
- activeNavItemClass?: string | string[] | Record<string, boolean>;
41
- /** CSS class for active tab */
42
- activeTabClass?: string | string[] | Record<string, boolean>;
43
- /** HTML tag to use for the tabs component */
44
- tag?: string;
45
- }
46
- export interface TabProps {
47
- /** Tab title */
48
- title?: string;
49
- /** Whether the tab is active */
50
- active?: boolean;
51
- /** Whether the tab is disabled */
52
- disabled?: boolean;
53
- /** ID for the tab button */
54
- buttonId?: string;
55
- /** ID for the tab content */
56
- id?: string;
57
- /** Whether to lazy load tab content */
58
- lazy?: boolean;
59
- /** Whether to disable card-body class (when parent tabs has card prop) */
60
- noBody?: boolean;
61
- /** HTML tag to use for the tab component */
62
- tag?: string;
63
- /** CSS class for the tab's control button li element */
64
- titleItemClass?: string | string[] | Record<string, boolean>;
65
- /** CSS class for the tab's control button inner link element */
66
- titleLinkClass?: string | string[] | Record<string, boolean>;
67
- /** Attributes to apply to the tab's control button inner link element */
68
- titleLinkAttributes?: Record<string, any>;
69
- }
@@ -1,2 +0,0 @@
1
- export { default as TextInput } from './TextInput.vue';
2
- export * from './types';
@@ -1,47 +0,0 @@
1
- import { ComponentSize, ComponentRadius, SectionProps } from '../../types/common';
2
- export interface TextInputProps {
3
- /** Input's id attribute */
4
- id?: string;
5
- /** Input's type attribute */
6
- type?: string;
7
- /** Input's value */
8
- modelValue?: string;
9
- /** Input's placeholder */
10
- placeholder?: string;
11
- /** Disabled state */
12
- disabled?: boolean;
13
- /** Input label */
14
- label?: string;
15
- /** Label props */
16
- labelProps?: SectionProps;
17
- /** Description text shown below the input */
18
- description?: string;
19
- /** Description props */
20
- descriptionProps?: SectionProps;
21
- /** Error message */
22
- error?: string;
23
- /** Error props */
24
- errorProps?: SectionProps;
25
- /** Props passed to root element */
26
- wrapperProps?: SectionProps;
27
- /** Props passed to input element */
28
- inputProps?: SectionProps;
29
- /** Input size */
30
- size?: ComponentSize;
31
- /** Border-radius value */
32
- radius?: ComponentRadius;
33
- /** Determines whether required asterisk should be rendered */
34
- required?: boolean;
35
- /** Show asterisk even if field is not required */
36
- withAsterisk?: boolean;
37
- /** Display error state */
38
- withError?: boolean;
39
- /** Right section content */
40
- rightSection?: any;
41
- /** Props passed to right section */
42
- rightSectionProps?: SectionProps;
43
- /** Left section content */
44
- leftSection?: any;
45
- /** Props passed to left section */
46
- leftSectionProps?: SectionProps;
47
- }
@@ -1,2 +0,0 @@
1
- export { default as Textarea } from './Textarea.vue';
2
- export * from './types';
@@ -1,54 +0,0 @@
1
- import { ComponentSize, ComponentRadius, SectionProps } from '../../types/common';
2
- import { ColorVariant } from '../../utils/colors';
3
- export interface TextareaProps {
4
- /** Textarea's id attribute */
5
- id?: string;
6
- /** Textarea's value */
7
- modelValue?: string;
8
- /** Textarea's placeholder */
9
- placeholder?: string;
10
- /** Disabled state */
11
- disabled?: boolean;
12
- /** Readonly state */
13
- readonly?: boolean;
14
- /** Textarea label */
15
- label?: string;
16
- /** Label props */
17
- labelProps?: SectionProps;
18
- /** Description text shown below the textarea */
19
- description?: string;
20
- /** Description props */
21
- descriptionProps?: SectionProps;
22
- /** Error message */
23
- error?: string;
24
- /** Error props */
25
- errorProps?: SectionProps;
26
- /** Display error state */
27
- hasError?: boolean;
28
- /** Show both error and description */
29
- showBothErrorAndDescription?: boolean;
30
- /** Props passed to textarea element */
31
- textareaProps?: SectionProps;
32
- /** Textarea size */
33
- size?: ComponentSize;
34
- /** Border-radius value */
35
- radius?: ComponentRadius;
36
- /** Textarea variant */
37
- variant?: 'default' | 'filled' | 'light' | 'outline' | 'subtle' | 'unstyled';
38
- /** Determines whether required asterisk should be rendered */
39
- required?: boolean;
40
- /** Show asterisk even if field is not required */
41
- withAsterisk?: boolean;
42
- /** Number of rows */
43
- rows?: number;
44
- /** Resize behavior */
45
- resize?: 'none' | 'both' | 'horizontal' | 'vertical';
46
- /** Take full width of container */
47
- fullWidth?: boolean;
48
- /** Component color */
49
- color?: ColorVariant;
50
- /** Custom class for the component */
51
- class?: string;
52
- /** Custom class for the input */
53
- inputClass?: string;
54
- }
@@ -1,88 +0,0 @@
1
- import { ThemeOptions } from '../../theme/types';
2
- export interface ThemeProviderProps {
3
- /** Theme configuration that updates reactively */
4
- theme?: Partial<ThemeOptions>;
5
- /** Enable theme persistence to localStorage */
6
- persistent?: boolean;
7
- /** Disable automatic theme initialization */
8
- manual?: boolean;
9
- /** Skip automatic theme initialization from localStorage */
10
- skipInitialization?: boolean;
11
- /** Whether to apply theme in scoped mode (default) or global mode */
12
- scoped?: boolean;
13
- }
14
- declare function __VLS_template(): {
15
- slots: {
16
- default?(_: {}): any;
17
- };
18
- refs: {
19
- themeRoot: HTMLDivElement;
20
- };
21
- attrs: Partial<{}>;
22
- };
23
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
24
- declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ThemeProviderProps>, {
25
- persistent: boolean;
26
- manual: boolean;
27
- skipInitialization: boolean;
28
- scoped: boolean;
29
- }>, {
30
- setColors: (colors: Partial<ThemeOptions>) => void;
31
- setTheme: (newTheme: Partial<ThemeOptions>) => void;
32
- resetTheme: () => void;
33
- getColor: (color: import('../../theme/types').ColorName) => string;
34
- getPalette: () => import('../../theme/types').Palette;
35
- theme: import('vue').ComputedRef<{
36
- primary?: string | undefined;
37
- secondary?: string | undefined;
38
- success?: string | undefined;
39
- warning?: string | undefined;
40
- danger?: string | undefined;
41
- info?: string | undefined;
42
- green?: string | undefined;
43
- yellow?: string | undefined;
44
- orange?: string | undefined;
45
- red?: string | undefined;
46
- }>;
47
- palette: import('vue').ComputedRef<import('../../theme/types').Palette>;
48
- }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
49
- themeChange: (theme: ThemeOptions) => void;
50
- themeInit: (theme: ThemeOptions) => void;
51
- }, string, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ThemeProviderProps>, {
52
- persistent: boolean;
53
- manual: boolean;
54
- skipInitialization: boolean;
55
- scoped: boolean;
56
- }>>> & {
57
- onThemeChange?: ((theme: ThemeOptions) => any) | undefined;
58
- onThemeInit?: ((theme: ThemeOptions) => any) | undefined;
59
- }, {
60
- manual: boolean;
61
- persistent: boolean;
62
- skipInitialization: boolean;
63
- scoped: boolean;
64
- }>;
65
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
66
- export default _default;
67
- type __VLS_WithDefaults<P, D> = {
68
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
69
- default: D[K];
70
- }> : P[K];
71
- };
72
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
73
- type __VLS_TypePropsToOption<T> = {
74
- [K in keyof T]-?: {} extends Pick<T, K> ? {
75
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
76
- } : {
77
- type: import('vue').PropType<T[K]>;
78
- required: true;
79
- };
80
- };
81
- type __VLS_WithTemplateSlots<T, S> = T & {
82
- new (): {
83
- $slots: S;
84
- };
85
- };
86
- type __VLS_PrettifyLocal<T> = {
87
- [K in keyof T]: T[K];
88
- } & {};
@@ -1 +0,0 @@
1
- export { default as ThemeProvider } from './ThemeProvider.vue';
@@ -1,46 +0,0 @@
1
- import { ThemeMode } from '../../composables/useThemeMode';
2
- export interface ThemeToggleProps {
3
- /** Toggle variant */
4
- variant?: 'simple' | 'segmented' | 'dropdown';
5
- /** Show labels in segmented variant */
6
- showLabels?: boolean;
7
- /** Button size */
8
- size?: 'sm' | 'md' | 'lg';
9
- /** Custom button classes */
10
- buttonClass?: string;
11
- }
12
- declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ThemeToggleProps>, {
13
- variant: string;
14
- showLabels: boolean;
15
- size: string;
16
- }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
17
- modeChange: (mode: ThemeMode) => void;
18
- }, string, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ThemeToggleProps>, {
19
- variant: string;
20
- showLabels: boolean;
21
- size: string;
22
- }>>> & {
23
- onModeChange?: ((mode: ThemeMode) => any) | undefined;
24
- }, {
25
- variant: "simple" | "segmented" | "dropdown";
26
- size: "sm" | "md" | "lg";
27
- showLabels: boolean;
28
- }>;
29
- export default _default;
30
- type __VLS_WithDefaults<P, D> = {
31
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
32
- default: D[K];
33
- }> : P[K];
34
- };
35
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
36
- type __VLS_TypePropsToOption<T> = {
37
- [K in keyof T]-?: {} extends Pick<T, K> ? {
38
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
39
- } : {
40
- type: import('vue').PropType<T[K]>;
41
- required: true;
42
- };
43
- };
44
- type __VLS_PrettifyLocal<T> = {
45
- [K in keyof T]: T[K];
46
- } & {};
@@ -1 +0,0 @@
1
- export { default as ThemeToggle } from './ThemeToggle.vue';
@@ -1,50 +0,0 @@
1
- import { PropType } from 'vue';
2
- import { CustomToastType } from './types';
3
- declare const _default: import('vue').DefineComponent<{
4
- message: {
5
- type: StringConstructor;
6
- required: true;
7
- };
8
- type: {
9
- type: PropType<CustomToastType>;
10
- default: string;
11
- };
12
- closeToast: {
13
- type: PropType<() => void>;
14
- required: false;
15
- };
16
- closeButton: {
17
- type: BooleanConstructor;
18
- default: boolean;
19
- };
20
- theme: {
21
- type: PropType<"light" | "dark" | "colored" | "auto">;
22
- default: string;
23
- };
24
- }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, Readonly<import('vue').ExtractPropTypes<{
25
- message: {
26
- type: StringConstructor;
27
- required: true;
28
- };
29
- type: {
30
- type: PropType<CustomToastType>;
31
- default: string;
32
- };
33
- closeToast: {
34
- type: PropType<() => void>;
35
- required: false;
36
- };
37
- closeButton: {
38
- type: BooleanConstructor;
39
- default: boolean;
40
- };
41
- theme: {
42
- type: PropType<"light" | "dark" | "colored" | "auto">;
43
- default: string;
44
- };
45
- }>>, {
46
- type: CustomToastType;
47
- closeButton: boolean;
48
- theme: "dark" | "light" | "auto" | "colored";
49
- }>;
50
- export default _default;