@toife/vue 3.3.9 → 3.3.10

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 (202) hide show
  1. package/dist/components/action/action.composable.d.ts +5 -5
  2. package/dist/components/action/action.vue.d.ts +2 -2
  3. package/dist/components/app/app.vue.d.ts +3 -3
  4. package/dist/components/avatar/avatar.vue.d.ts +1 -1
  5. package/dist/components/button/button.vue.d.ts +3 -3
  6. package/dist/components/cable/cable.vue.d.ts +1 -1
  7. package/dist/components/card/card/card.vue.d.ts +1 -1
  8. package/dist/components/checkbox/checkbox.vue.d.ts +3 -3
  9. package/dist/components/collapse/collapse.vue.d.ts +1 -1
  10. package/dist/components/decision-modal/decision-modal.composable.d.ts +5 -5
  11. package/dist/components/decision-modal/decision-modal.vue.d.ts +2 -2
  12. package/dist/components/divider/divider.vue.d.ts +2 -2
  13. package/dist/components/dropdown/dropdown.vue.d.ts +4 -4
  14. package/dist/components/field/field.vue.d.ts +5 -5
  15. package/dist/components/form-group/form-group.vue.d.ts +2 -2
  16. package/dist/components/gesture-indicator/gesture-indicator.vue.d.ts +1 -1
  17. package/dist/components/image/image.vue.d.ts +1 -1
  18. package/dist/components/layout/flex/flex.vue.d.ts +2 -2
  19. package/dist/components/layout/flex-item/flex-item.vue.d.ts +2 -2
  20. package/dist/components/layout/grid/grid.vue.d.ts +2 -2
  21. package/dist/components/layout/grid-item/grid-item.vue.d.ts +2 -2
  22. package/dist/components/modal/modal.vue.d.ts +1 -1
  23. package/dist/components/present/present.vue.d.ts +2 -2
  24. package/dist/components/radio/radio/radio.vue.d.ts +2 -2
  25. package/dist/components/radio/radio-group/radio-group.vue.d.ts +3 -3
  26. package/dist/components/refresher/refresher.vue.d.ts +4 -4
  27. package/dist/components/route/route-navigator/route-navigator.vue.d.ts +2 -2
  28. package/dist/components/route/route-provider/route-provider.vue.d.ts +1 -1
  29. package/dist/components/route/route-wrapper/route-wrapper.composable.d.ts +1 -1
  30. package/dist/components/route/route-wrapper/route-wrapper.vue.d.ts +1 -1
  31. package/dist/components/route/route.util.d.ts +1 -1
  32. package/dist/components/segmented-field/segmented-field.vue.d.ts +4 -4
  33. package/dist/components/select/select.vue.d.ts +4 -4
  34. package/dist/components/skeleton/skeleton.vue.d.ts +1 -1
  35. package/dist/components/slide-range/slide-range.vue.d.ts +1 -1
  36. package/dist/components/switch/switch.vue.d.ts +2 -2
  37. package/dist/components/tabs/tab/tab.vue.d.ts +1 -1
  38. package/dist/components/tabs/tabs/tabs.vue.d.ts +4 -4
  39. package/dist/components/tag/tag.vue.d.ts +3 -3
  40. package/dist/components/toast/toast/toast.vue.d.ts +2 -2
  41. package/dist/components/toast/toast-content/toast-content.vue.d.ts +2 -2
  42. package/dist/components/toast/toast.composable.d.ts +5 -5
  43. package/dist/components/toolbar/toolbar.vue.d.ts +1 -1
  44. package/dist/components/tooltip/tooltip.vue.d.ts +3 -3
  45. package/dist/core/features/action/action.constants.d.ts +11 -0
  46. package/dist/core/features/action/action.logic.d.ts +8 -0
  47. package/dist/core/features/action/action.type.d.ts +46 -0
  48. package/dist/core/features/action/index.d.ts +3 -0
  49. package/dist/core/features/app/app.constants.d.ts +16 -0
  50. package/dist/core/features/app/app.logic.d.ts +4 -0
  51. package/dist/core/features/app/app.type.d.ts +36 -0
  52. package/dist/core/features/app/index.d.ts +3 -0
  53. package/dist/core/features/avatar/avatar.constants.d.ts +9 -0
  54. package/dist/core/features/avatar/avatar.logic.d.ts +10 -0
  55. package/dist/core/features/avatar/avatar.type.d.ts +14 -0
  56. package/dist/core/features/avatar/index.d.ts +3 -0
  57. package/dist/core/features/button/button.constants.d.ts +10 -0
  58. package/dist/core/features/button/button.logic.d.ts +11 -0
  59. package/dist/core/features/button/button.type.d.ts +20 -0
  60. package/dist/core/features/button/index.d.ts +3 -0
  61. package/dist/core/features/cable/cable.constants.d.ts +5 -0
  62. package/dist/core/features/cable/cable.logic.d.ts +4 -0
  63. package/dist/core/features/cable/cable.type.d.ts +10 -0
  64. package/dist/core/features/cable/index.d.ts +3 -0
  65. package/dist/core/features/card/card-body.logic.d.ts +3 -0
  66. package/dist/core/features/card/card-footer.logic.d.ts +6 -0
  67. package/dist/core/features/card/card-header.logic.d.ts +6 -0
  68. package/dist/core/features/card/card.constants.d.ts +6 -0
  69. package/dist/core/features/card/card.logic.d.ts +6 -0
  70. package/dist/core/features/card/card.type.d.ts +21 -0
  71. package/dist/core/features/card/index.d.ts +6 -0
  72. package/dist/core/features/checkbox/checkbox.constants.d.ts +11 -0
  73. package/dist/core/features/checkbox/checkbox.logic.d.ts +13 -0
  74. package/dist/core/features/checkbox/checkbox.type.d.ts +28 -0
  75. package/dist/core/features/checkbox/index.d.ts +3 -0
  76. package/dist/core/features/collapse/collapse.constants.d.ts +9 -0
  77. package/dist/core/features/collapse/collapse.logic.d.ts +21 -0
  78. package/dist/core/features/collapse/collapse.type.d.ts +23 -0
  79. package/dist/core/features/collapse/index.d.ts +3 -0
  80. package/dist/core/features/container/container.logic.d.ts +3 -0
  81. package/dist/core/features/container/index.d.ts +1 -0
  82. package/dist/core/features/decision-modal/decision-modal.constants.d.ts +12 -0
  83. package/dist/core/features/decision-modal/decision-modal.logic.d.ts +16 -0
  84. package/dist/core/features/decision-modal/decision-modal.type.d.ts +39 -0
  85. package/dist/core/features/decision-modal/index.d.ts +3 -0
  86. package/dist/core/features/divider/divider.constants.d.ts +6 -0
  87. package/dist/core/features/divider/divider.logic.d.ts +6 -0
  88. package/dist/core/features/divider/divider.type.d.ts +9 -0
  89. package/dist/core/features/divider/index.d.ts +3 -0
  90. package/dist/core/features/dropdown/dropdown.constants.d.ts +13 -0
  91. package/dist/core/features/dropdown/dropdown.logic.d.ts +11 -0
  92. package/dist/core/features/dropdown/dropdown.type.d.ts +29 -0
  93. package/dist/core/features/dropdown/index.d.ts +3 -0
  94. package/dist/core/features/field/field.constants.d.ts +19 -0
  95. package/dist/core/features/field/field.logic.d.ts +21 -0
  96. package/dist/core/features/field/field.type.d.ts +47 -0
  97. package/dist/core/features/field/index.d.ts +3 -0
  98. package/dist/core/features/form-group/form-group.constants.d.ts +6 -0
  99. package/dist/core/features/form-group/form-group.logic.d.ts +4 -0
  100. package/dist/core/features/form-group/form-group.type.d.ts +7 -0
  101. package/dist/core/features/form-group/index.d.ts +3 -0
  102. package/dist/core/features/gesture-indicator/gesture-indicator.constants.d.ts +7 -0
  103. package/dist/core/features/gesture-indicator/gesture-indicator.logic.d.ts +4 -0
  104. package/dist/core/features/gesture-indicator/gesture-indicator.type.d.ts +8 -0
  105. package/dist/core/features/gesture-indicator/index.d.ts +3 -0
  106. package/dist/core/features/image/image.type.d.ts +4 -0
  107. package/dist/core/features/image/index.d.ts +1 -0
  108. package/dist/core/features/index.d.ts +33 -0
  109. package/dist/core/features/layout/flex-item.constants.d.ts +6 -0
  110. package/dist/core/features/layout/flex-item.logic.d.ts +7 -0
  111. package/dist/core/features/layout/flex-item.type.d.ts +10 -0
  112. package/dist/core/features/layout/flex.constants.d.ts +6 -0
  113. package/dist/core/features/layout/flex.logic.d.ts +7 -0
  114. package/dist/core/features/layout/flex.type.d.ts +12 -0
  115. package/dist/core/features/layout/grid-item.constants.d.ts +6 -0
  116. package/dist/core/features/layout/grid-item.logic.d.ts +7 -0
  117. package/dist/core/features/layout/grid-item.type.d.ts +12 -0
  118. package/dist/core/features/layout/grid.constants.d.ts +6 -0
  119. package/dist/core/features/layout/grid.logic.d.ts +7 -0
  120. package/dist/core/features/layout/grid.type.d.ts +10 -0
  121. package/dist/core/features/layout/index.d.ts +12 -0
  122. package/dist/core/features/modal/index.d.ts +3 -0
  123. package/dist/core/features/modal/modal.constants.d.ts +16 -0
  124. package/dist/core/features/modal/modal.logic.d.ts +5 -0
  125. package/dist/core/features/modal/modal.type.d.ts +26 -0
  126. package/dist/core/features/page/index.d.ts +1 -0
  127. package/dist/core/features/page/page.logic.d.ts +3 -0
  128. package/dist/core/features/present/index.d.ts +3 -0
  129. package/dist/core/features/present/present.constants.d.ts +18 -0
  130. package/dist/core/features/present/present.logic.d.ts +13 -0
  131. package/dist/core/features/present/present.type.d.ts +43 -0
  132. package/dist/core/features/radio/index.d.ts +6 -0
  133. package/dist/core/features/radio/radio-group.constants.d.ts +8 -0
  134. package/dist/core/features/radio/radio-group.logic.d.ts +4 -0
  135. package/dist/core/features/radio/radio-group.type.d.ts +28 -0
  136. package/dist/core/features/radio/radio.constants.d.ts +8 -0
  137. package/dist/core/features/radio/radio.logic.d.ts +13 -0
  138. package/dist/core/features/radio/radio.type.d.ts +24 -0
  139. package/dist/core/features/refresher/index.d.ts +2 -0
  140. package/dist/core/features/refresher/refresher.logic.d.ts +3 -0
  141. package/dist/core/features/refresher/refresher.type.d.ts +10 -0
  142. package/dist/core/features/route/index.d.ts +8 -0
  143. package/dist/core/features/route/route-navigator.constants.d.ts +9 -0
  144. package/dist/core/features/route/route-navigator.logic.d.ts +19 -0
  145. package/dist/core/features/route/route-navigator.type.d.ts +52 -0
  146. package/dist/core/features/route/route-provider.constants.d.ts +4 -0
  147. package/dist/core/features/route/route-provider.type.d.ts +7 -0
  148. package/dist/core/features/route/route-wrapper.constants.d.ts +6 -0
  149. package/dist/core/features/route/route-wrapper.type.d.ts +3 -0
  150. package/dist/core/features/route/route.type.d.ts +5 -0
  151. package/dist/core/features/segmented-field/index.d.ts +3 -0
  152. package/dist/core/features/segmented-field/segmented-field.constants.d.ts +17 -0
  153. package/dist/core/features/segmented-field/segmented-field.logic.d.ts +12 -0
  154. package/dist/core/features/segmented-field/segmented-field.type.d.ts +35 -0
  155. package/dist/core/features/select/index.d.ts +3 -0
  156. package/dist/core/features/select/select.constants.d.ts +15 -0
  157. package/dist/core/features/select/select.logic.d.ts +15 -0
  158. package/dist/core/features/select/select.type.d.ts +39 -0
  159. package/dist/core/features/skeleton/index.d.ts +3 -0
  160. package/dist/core/features/skeleton/skeleton.constants.d.ts +7 -0
  161. package/dist/core/features/skeleton/skeleton.logic.d.ts +7 -0
  162. package/dist/core/features/skeleton/skeleton.type.d.ts +12 -0
  163. package/dist/core/features/slide-range/index.d.ts +3 -0
  164. package/dist/core/features/slide-range/slide-range.constants.d.ts +13 -0
  165. package/dist/core/features/slide-range/slide-range.logic.d.ts +42 -0
  166. package/dist/core/features/slide-range/slide-range.type.d.ts +33 -0
  167. package/dist/core/features/switch/index.d.ts +3 -0
  168. package/dist/core/features/switch/switch.constants.d.ts +10 -0
  169. package/dist/core/features/switch/switch.logic.d.ts +27 -0
  170. package/dist/core/features/switch/switch.type.d.ts +28 -0
  171. package/dist/core/features/tabs/index.d.ts +6 -0
  172. package/dist/core/features/tabs/tab.constants.d.ts +6 -0
  173. package/dist/core/features/tabs/tab.logic.d.ts +9 -0
  174. package/dist/core/features/tabs/tab.type.d.ts +11 -0
  175. package/dist/core/features/tabs/tabs.constants.d.ts +9 -0
  176. package/dist/core/features/tabs/tabs.logic.d.ts +10 -0
  177. package/dist/core/features/tabs/tabs.type.d.ts +55 -0
  178. package/dist/core/features/tag/index.d.ts +3 -0
  179. package/dist/core/features/tag/tag.constants.d.ts +7 -0
  180. package/dist/core/features/tag/tag.logic.d.ts +4 -0
  181. package/dist/core/features/tag/tag.type.d.ts +14 -0
  182. package/dist/core/features/toast/index.d.ts +5 -0
  183. package/dist/core/features/toast/toast-content.constants.d.ts +8 -0
  184. package/dist/core/features/toast/toast-content.logic.d.ts +6 -0
  185. package/dist/core/features/toast/toast.constants.d.ts +6 -0
  186. package/dist/core/features/toast/toast.logic.d.ts +4 -0
  187. package/dist/core/features/toast/toast.type.d.ts +26 -0
  188. package/dist/core/features/toolbar/index.d.ts +3 -0
  189. package/dist/core/features/toolbar/toolbar.constants.d.ts +8 -0
  190. package/dist/core/features/toolbar/toolbar.logic.d.ts +7 -0
  191. package/dist/core/features/toolbar/toolbar.type.d.ts +12 -0
  192. package/dist/core/features/tooltip/index.d.ts +3 -0
  193. package/dist/core/features/tooltip/tooltip.constants.d.ts +8 -0
  194. package/dist/core/features/tooltip/tooltip.logic.d.ts +12 -0
  195. package/dist/core/features/tooltip/tooltip.type.d.ts +18 -0
  196. package/dist/core/index.d.ts +2 -0
  197. package/dist/core/utils/element.d.ts +8 -0
  198. package/dist/core/utils/events.d.ts +4 -0
  199. package/dist/core/utils/index.d.ts +3 -0
  200. package/dist/core/utils/style.d.ts +20 -0
  201. package/dist/index.d.ts +1 -1
  202. package/package.json +1 -1
@@ -0,0 +1,52 @@
1
+ export type RouteNavigatorVariant = "none" | "swipe" | "fade";
2
+ /**
3
+ * Route Navigator Props Type
4
+ */
5
+ export type RouteNavigatorProps = {
6
+ direction?: "left" | "right" | "up" | "down";
7
+ variant?: RouteNavigatorVariant;
8
+ keepalive?: boolean;
9
+ gesture?: boolean;
10
+ name?: string;
11
+ };
12
+ /**
13
+ * Route Navigator Gesture Type
14
+ */
15
+ export type RouteNavigatorGesture = {
16
+ deltaX: number;
17
+ deltaY: number;
18
+ };
19
+ /**
20
+ * Route Navigator Event Type
21
+ */
22
+ export type RouteNavigatorEvent = {
23
+ (e: "transform", value: RouteNavigatorTransformState): void;
24
+ };
25
+ /**
26
+ * Route Navigator Transform State Type
27
+ */
28
+ export type RouteNavigatorTransformState = {
29
+ back: number;
30
+ prepare: number;
31
+ active: number;
32
+ backdrop: number;
33
+ duration: string | undefined;
34
+ };
35
+ export type RouteNavigatorAttrOptions = {
36
+ direction: string;
37
+ variant: RouteNavigatorVariant;
38
+ moving: boolean;
39
+ transform: {
40
+ back: number;
41
+ prepare: number;
42
+ active: number;
43
+ backdrop: number;
44
+ duration?: string;
45
+ };
46
+ };
47
+ export type RouteNavigatorComponentAttrOptions = {
48
+ direction: string;
49
+ };
50
+ export type RouteNavigatorBackdropAttrOptions = {
51
+ zIndex: number;
52
+ };
@@ -0,0 +1,4 @@
1
+ /**
2
+ * Route Provider State Key
3
+ */
4
+ export declare const ROUTE_PROVIDER_STATE_KEY = "route-provider-state";
@@ -0,0 +1,7 @@
1
+ import { RouteStack } from './route.type';
2
+ export type RouteProviderProps = {
3
+ stack: RouteStack[];
4
+ };
5
+ export type RouteProviderState = {
6
+ stack: RouteStack[];
7
+ };
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Route Wrapper Default Props
3
+ */
4
+ export declare const ROUTE_WRAPPER_DEFAULT_PROPS: {
5
+ readonly homeRouteName: "home";
6
+ };
@@ -0,0 +1,3 @@
1
+ export type RouteWrapperProps = {
2
+ homeRouteName?: string;
3
+ };
@@ -0,0 +1,5 @@
1
+ export type RouteStack = {
2
+ name: string;
3
+ component: unknown;
4
+ stack: RouteStack[];
5
+ };
@@ -0,0 +1,3 @@
1
+ export * from './segmented-field.constants';
2
+ export * from './segmented-field.type';
3
+ export * from './segmented-field.logic';
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Segmented Field Default Props
3
+ */
4
+ export declare const SEGMENTED_FIELD_DEFAULT_PROPS: {
5
+ readonly modelValue: undefined;
6
+ readonly value: undefined;
7
+ readonly direction: undefined;
8
+ readonly length: 6;
9
+ readonly variant: "outline";
10
+ readonly size: "standard";
11
+ readonly disabled: false;
12
+ readonly readonly: false;
13
+ readonly type: "text";
14
+ readonly shadow: undefined;
15
+ readonly message: "";
16
+ readonly pattern: () => string[];
17
+ };
@@ -0,0 +1,12 @@
1
+ import { SegmentedFieldAttrOptions } from './segmented-field.type';
2
+ export declare const getSegmentedFieldWrapperAttrs: (options: SegmentedFieldAttrOptions) => {
3
+ class: (string | {
4
+ disabled: boolean;
5
+ })[];
6
+ };
7
+ export declare const getSegmentedFieldContentAttrs: () => {
8
+ class: string[];
9
+ };
10
+ export declare const getSegmentedFieldMessageAttrs: () => {
11
+ class: string[];
12
+ };
@@ -0,0 +1,35 @@
1
+ import { AppDirection } from '../app/app.type';
2
+ import { FieldVariant, FieldSize } from '../field/field.type';
3
+ export type SegmentedFieldVariant = FieldVariant;
4
+ export type SegmentedFieldSize = FieldSize;
5
+ export type SegmentedFieldProps = {
6
+ modelValue?: string[];
7
+ value?: string[];
8
+ length?: number;
9
+ variant?: SegmentedFieldVariant;
10
+ size?: SegmentedFieldSize;
11
+ disabled?: boolean;
12
+ readonly?: boolean;
13
+ type?: string;
14
+ role?: string;
15
+ shape?: string;
16
+ shadow?: boolean;
17
+ message?: string;
18
+ pattern?: string[];
19
+ direction?: AppDirection;
20
+ };
21
+ export type SegmentedFieldEvent = {
22
+ (e: "update:modelValue", value: string[]): void;
23
+ (e: "complete", value: string[]): void;
24
+ (e: "focus", ev: FocusEvent): void;
25
+ (e: "blur", ev: FocusEvent): void;
26
+ (e: "input", value: string[]): void;
27
+ };
28
+ export type SegmentedFieldAttrOptions = {
29
+ role: string;
30
+ shape: string;
31
+ direction: string;
32
+ variant: SegmentedFieldVariant;
33
+ size: string;
34
+ disabled: boolean;
35
+ };
@@ -0,0 +1,3 @@
1
+ export * from './select.constants';
2
+ export * from './select.type';
3
+ export * from './select.logic';
@@ -0,0 +1,15 @@
1
+ import { SelectOption } from './select.type';
2
+ /**
3
+ * Select Default Props
4
+ */
5
+ export declare const SELECT_DEFAULT_PROPS: {
6
+ readonly modelValue: "";
7
+ readonly size: "standard";
8
+ readonly disabled: false;
9
+ readonly message: "";
10
+ readonly variant: "outline";
11
+ readonly placeholder: "";
12
+ readonly shadow: undefined;
13
+ readonly direction: undefined;
14
+ readonly options: () => Array<SelectOption>;
15
+ };
@@ -0,0 +1,15 @@
1
+ import { SelectAttrOptions } from './select.type';
2
+ export declare const getSelectAttrs: (options: SelectAttrOptions) => {
3
+ class: (string | {
4
+ disabled: boolean;
5
+ })[];
6
+ };
7
+ export declare const getSelectIconAttrs: () => {
8
+ class: string[];
9
+ };
10
+ export declare const getSelectOptionAttrs: () => {
11
+ class: string[];
12
+ };
13
+ export declare const getSelectMessageAttrs: () => {
14
+ class: string[];
15
+ };
@@ -0,0 +1,39 @@
1
+ import { FieldSize, FieldVariant } from '../field';
2
+ import { AppDirection } from '../app/app.type';
3
+ export type SelectVariant = FieldVariant;
4
+ export type SelectSize = FieldSize;
5
+ export type SelectOption = {
6
+ label?: string;
7
+ value: string;
8
+ disabled?: boolean;
9
+ };
10
+ export type SelectProps = {
11
+ modelValue?: string;
12
+ name?: string;
13
+ variant?: FieldVariant;
14
+ role?: string;
15
+ shape?: string;
16
+ size?: FieldSize;
17
+ shadow?: boolean;
18
+ direction?: AppDirection;
19
+ id?: string;
20
+ value?: string;
21
+ placeholder?: string;
22
+ disabled?: boolean;
23
+ autocomplete?: string;
24
+ tabindex?: number | string;
25
+ line?: number | string;
26
+ maxLine?: number | string;
27
+ message?: string;
28
+ options: Array<SelectOption>;
29
+ };
30
+ export type SelectEvent = {
31
+ (e: "update:modelValue", value: string): void;
32
+ (e: "select", option: SelectOption): void;
33
+ };
34
+ export type SelectAttrOptions = {
35
+ role: string;
36
+ direction: string;
37
+ size: string;
38
+ disabled: boolean;
39
+ };
@@ -0,0 +1,3 @@
1
+ export * from './skeleton.constants';
2
+ export * from './skeleton.type';
3
+ export * from './skeleton.logic';
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Skeleton Default Props
3
+ */
4
+ export declare const SKELETON_DEFAULT_PROPS: {
5
+ readonly width: "100%";
6
+ readonly height: "1rem";
7
+ };
@@ -0,0 +1,7 @@
1
+ import { SkeletonAttrOptions } from './skeleton.type';
2
+ export declare const getSkeletonAttrs: (options: SkeletonAttrOptions) => {
3
+ class: string[];
4
+ style: {
5
+ [x: string]: string;
6
+ };
7
+ };
@@ -0,0 +1,12 @@
1
+ export type SkeletonProps = {
2
+ width?: string | number;
3
+ height?: string | number;
4
+ role?: string;
5
+ shape?: string;
6
+ };
7
+ export type SkeletonAttrOptions = {
8
+ role: string;
9
+ shape: string;
10
+ width: string | number;
11
+ height: string | number;
12
+ };
@@ -0,0 +1,3 @@
1
+ export * from './slide-range.constants';
2
+ export * from './slide-range.type';
3
+ export * from './slide-range.logic';
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Slide Range Default Props
3
+ */
4
+ export declare const SLIDE_RANGE_DEFAULT_PROPS: {
5
+ readonly modelValue: "";
6
+ readonly min: 0;
7
+ readonly max: 100;
8
+ readonly step: 1;
9
+ readonly unit: "";
10
+ readonly disabled: false;
11
+ readonly readonly: false;
12
+ readonly tick: false;
13
+ };
@@ -0,0 +1,42 @@
1
+ import { SlideRangeAttrOptions, SlideRangeTrackFrontAttrOptions, SlideRangeThumbAttrOptions, SlideRangeTickAttrOptions } from './slide-range.type';
2
+ export declare const getSlideRangeAttrs: (options: SlideRangeAttrOptions) => {
3
+ class: (string | {
4
+ disabled: boolean;
5
+ readonly: boolean;
6
+ })[];
7
+ };
8
+ export declare const getSlideRangeTrackContainerAttrs: () => {
9
+ class: string[];
10
+ };
11
+ export declare const getSlideRangeTrackBodyAttrs: () => {
12
+ class: string[];
13
+ };
14
+ export declare const getSlideRangeTrackBackAttrs: () => {
15
+ class: string[];
16
+ };
17
+ export declare const getSlideRangeTrackFrontAttrs: (options: SlideRangeTrackFrontAttrOptions) => {
18
+ class: string[];
19
+ style: {
20
+ [x: string]: string;
21
+ };
22
+ };
23
+ export declare const getSlideRangeThumbAttrs: (options: SlideRangeThumbAttrOptions) => {
24
+ class: string[];
25
+ style: {
26
+ [x: string]: string;
27
+ };
28
+ };
29
+ export declare const getSlideRangeThumbInnerAttrs: () => {
30
+ class: string[];
31
+ };
32
+ export declare const getSlideRangeTooltipAttrs: () => {
33
+ class: string[];
34
+ };
35
+ export declare const getSlideRangeTickAttrs: (options: SlideRangeTickAttrOptions) => {
36
+ class: (string | {
37
+ active: boolean;
38
+ })[];
39
+ style: {
40
+ [x: string]: string;
41
+ };
42
+ };
@@ -0,0 +1,33 @@
1
+ export type SlideRangeValue = string | number;
2
+ export type SlideRangeProps = {
3
+ modelValue?: SlideRangeValue;
4
+ min?: SlideRangeValue;
5
+ max?: SlideRangeValue;
6
+ step?: SlideRangeValue;
7
+ unit?: string;
8
+ disabled?: boolean;
9
+ readonly?: boolean;
10
+ role?: string;
11
+ shape?: string;
12
+ tick?: boolean | SlideRangeValue;
13
+ };
14
+ export type SlideRangeEvent = {
15
+ (e: "update:modelValue", value: SlideRangeValue): void;
16
+ (e: "change", value: SlideRangeValue): void;
17
+ };
18
+ export type SlideRangeAttrOptions = {
19
+ role: string;
20
+ shape: string;
21
+ disabled: boolean;
22
+ readonly: boolean;
23
+ };
24
+ export type SlideRangeTrackFrontAttrOptions = {
25
+ percent: number;
26
+ };
27
+ export type SlideRangeThumbAttrOptions = {
28
+ percent: number;
29
+ };
30
+ export type SlideRangeTickAttrOptions = {
31
+ active: boolean;
32
+ percent: number;
33
+ };
@@ -0,0 +1,3 @@
1
+ export * from './switch.constants';
2
+ export * from './switch.type';
3
+ export * from './switch.logic';
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Switch Default Props
3
+ */
4
+ export declare const SWITCH_DEFAULT_PROPS: {
5
+ readonly modelValue: false;
6
+ readonly size: "standard";
7
+ readonly readonly: false;
8
+ readonly shadow: undefined;
9
+ readonly bounce: 1.5;
10
+ };
@@ -0,0 +1,27 @@
1
+ import { SwitchAttrOptions, SwitchWrapperAttrOptions } from './switch.type';
2
+ export declare const getSwitchWrapperAttrs: (options: SwitchWrapperAttrOptions) => {
3
+ class: (string | {
4
+ disabled: boolean;
5
+ readonly: boolean;
6
+ shadow: boolean;
7
+ focus: boolean;
8
+ on: boolean;
9
+ transition?: undefined;
10
+ } | {
11
+ transition: boolean;
12
+ disabled?: undefined;
13
+ readonly?: undefined;
14
+ shadow?: undefined;
15
+ focus?: undefined;
16
+ on?: undefined;
17
+ })[];
18
+ style: {
19
+ [x: string]: string | number;
20
+ };
21
+ };
22
+ export declare const getSwitchAttrs: (options: SwitchAttrOptions) => {
23
+ class: string[];
24
+ };
25
+ export declare const getSwitchIconAttrs: () => {
26
+ class: string[];
27
+ };
@@ -0,0 +1,28 @@
1
+ export type SwitchSize = string;
2
+ export type SwitchProps = {
3
+ modelValue?: boolean;
4
+ role?: string;
5
+ size?: SwitchSize;
6
+ shape?: string;
7
+ disabled?: boolean;
8
+ readonly?: boolean;
9
+ shadow?: boolean;
10
+ bounce?: number | string;
11
+ };
12
+ export type SwitchEvent = {
13
+ (e: "update:modelValue", value: boolean): void;
14
+ };
15
+ export type SwitchWrapperAttrOptions = {
16
+ disabled: boolean;
17
+ readonly: boolean;
18
+ shadow: boolean;
19
+ focus: boolean;
20
+ modelValue: boolean;
21
+ transition: boolean;
22
+ bounce: number | string;
23
+ };
24
+ export type SwitchAttrOptions = {
25
+ role: string;
26
+ shape: string;
27
+ size: string;
28
+ };
@@ -0,0 +1,6 @@
1
+ export * from './tab.constants';
2
+ export * from './tab.type';
3
+ export * from './tabs.constants';
4
+ export * from './tabs.type';
5
+ export * from './tab.logic';
6
+ export * from './tabs.logic';
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Tab Default Props
3
+ */
4
+ export declare const TAB_DEFAULT_PROPS: {
5
+ readonly disabled: false;
6
+ };
@@ -0,0 +1,9 @@
1
+ import { TabAttrOptions, TabButtonAttrOptions } from './tab.type';
2
+ export declare const getTabAttrs: (options: TabAttrOptions) => {
3
+ class: (string | {
4
+ active: boolean;
5
+ })[];
6
+ };
7
+ export declare const getTabButtonAttrs: (options: TabButtonAttrOptions) => {
8
+ class: string[];
9
+ };
@@ -0,0 +1,11 @@
1
+ export type TabProps = {
2
+ value?: string;
3
+ disabled?: boolean;
4
+ };
5
+ export type TabAttrOptions = {
6
+ active: boolean;
7
+ };
8
+ export type TabButtonAttrOptions = {
9
+ shape: string;
10
+ size: string;
11
+ };
@@ -0,0 +1,9 @@
1
+ export declare const TABS_PROVIDER_STATE_KEY = "tabs-state";
2
+ export declare const TABS_DEFAULT_PROPS: {
3
+ readonly placement: "top-start";
4
+ readonly variant: "fill";
5
+ readonly margin: () => number[];
6
+ readonly border: () => number[];
7
+ readonly transition: true;
8
+ readonly size: "standard";
9
+ };
@@ -0,0 +1,10 @@
1
+ import { TabsAttrOptions, TabsHighlightPosition, TabsHighlightPositionOptions, TabsHighlightStyleOptions } from './tabs.type';
2
+ export declare const getTabsAttrs: (options: TabsAttrOptions) => {
3
+ class: (string | {
4
+ transition: boolean;
5
+ })[];
6
+ };
7
+ export declare const getTabsHighlightPosition: (options: TabsHighlightPositionOptions) => TabsHighlightPosition;
8
+ export declare const getTabsHighlightStyle: (options: TabsHighlightStyleOptions) => {
9
+ [x: string]: string;
10
+ };
@@ -0,0 +1,55 @@
1
+ export type TabsVariant = "fill" | "underline" | "text";
2
+ export type TabsSize = string;
3
+ export type TabsPlacement = "top-start" | "top-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | "right-start" | "right-end";
4
+ export type TabsProps = {
5
+ placement?: TabsPlacement;
6
+ variant?: TabsVariant;
7
+ role?: string;
8
+ modelValue?: string;
9
+ border?: number[];
10
+ margin?: number[];
11
+ shape?: string;
12
+ transition?: boolean;
13
+ size?: TabsSize;
14
+ };
15
+ export type TabsEvent = {
16
+ (e: "update:modelValue", value: string): void;
17
+ };
18
+ export type TabsProviderState = {
19
+ activeValue: string;
20
+ role: string;
21
+ shape: string;
22
+ size: TabsSize;
23
+ setValue: (val: string) => void;
24
+ };
25
+ export type TabsAttrOptions = {
26
+ role: string;
27
+ shape: string;
28
+ placement: TabsPlacement;
29
+ variant: TabsVariant;
30
+ transition: boolean;
31
+ };
32
+ export type TabsHighlightPositionOptions = {
33
+ top: number;
34
+ left: number;
35
+ width: number;
36
+ height: number;
37
+ margin: number[];
38
+ border: number[];
39
+ variant: TabsVariant;
40
+ placement: TabsPlacement;
41
+ };
42
+ export type TabsHighlightPosition = {
43
+ top: number;
44
+ left: number;
45
+ width: number;
46
+ height: number;
47
+ };
48
+ export type TabsHighlightStyleOptions = {
49
+ top: number | string;
50
+ left: number | string;
51
+ width: number | string;
52
+ height: number | string;
53
+ marginX: number;
54
+ marginY: number;
55
+ };
@@ -0,0 +1,3 @@
1
+ export * from './tag.constants';
2
+ export * from './tag.type';
3
+ export * from './tag.logic';
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Tag Default Props
3
+ */
4
+ export declare const TAG_DEFAULT_PROPS: {
5
+ readonly size: "standard";
6
+ readonly variant: "fill";
7
+ };
@@ -0,0 +1,4 @@
1
+ import { TagAttrOptions } from './tag.type';
2
+ export declare const getTagAttrs: (options: TagAttrOptions) => {
3
+ class: string[];
4
+ };
@@ -0,0 +1,14 @@
1
+ export type TagVariant = "fill" | "outline" | "text";
2
+ export type TagSize = string;
3
+ export type TagProps = {
4
+ role?: string;
5
+ size?: TagSize;
6
+ shape?: string;
7
+ variant?: TagVariant;
8
+ };
9
+ export type TagAttrOptions = {
10
+ role: string;
11
+ shape: string;
12
+ size: string;
13
+ variant: TagVariant;
14
+ };
@@ -0,0 +1,5 @@
1
+ export * from './toast-content.constants';
2
+ export * from './toast.constants';
3
+ export * from './toast.type';
4
+ export * from './toast.logic';
5
+ export * from './toast-content.logic';
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Toast Content Default Props
3
+ */
4
+ export declare const TOAST_CONTENT_DEFAULT_PROPS: {
5
+ readonly message: "";
6
+ readonly duration: 2000;
7
+ readonly variant: "fill";
8
+ };
@@ -0,0 +1,6 @@
1
+ import { ToastContentAttrOptions } from './toast.type';
2
+ export declare const getToastContentAttrs: (options: ToastContentAttrOptions) => {
3
+ class: (string | {
4
+ closing: boolean;
5
+ })[];
6
+ };
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Toast Default Props
3
+ */
4
+ export declare const TOAST_DEFAULT_PROPS: {
5
+ readonly placement: "bottom-end";
6
+ };
@@ -0,0 +1,4 @@
1
+ import { ToastAttrOptions } from './toast.type';
2
+ export declare const getToastAttrs: (options: ToastAttrOptions) => {
3
+ class: string[];
4
+ };
@@ -0,0 +1,26 @@
1
+ export type ToastPlacement = "bottom-start" | "bottom-center" | "bottom-end" | "top-start" | "top-center" | "top-end";
2
+ export type ToastContentVariant = "fill" | "text";
3
+ export type ToastProps = {
4
+ placement: ToastPlacement;
5
+ };
6
+ export type ToastContentProps = {
7
+ id?: number;
8
+ message: string;
9
+ duration?: number;
10
+ role?: string;
11
+ variant?: ToastContentVariant;
12
+ placement?: ToastPlacement;
13
+ shape?: string;
14
+ };
15
+ export type ToastContentEvent = {
16
+ (e: "close"): void;
17
+ };
18
+ export type ToastAttrOptions = {
19
+ placement: string;
20
+ };
21
+ export type ToastContentAttrOptions = {
22
+ role: string;
23
+ shape: string;
24
+ variant: ToastContentVariant;
25
+ closing: boolean;
26
+ };