@toife/vue 3.3.8 → 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 (205) 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/dist/index.es.js +798 -824
  203. package/dist/index.umd.js +1 -1
  204. package/dist/styles/route-navigator.css +1 -1
  205. package/package.json +1 -1
@@ -0,0 +1,21 @@
1
+ import { FieldAttrOptions } from './field.type';
2
+ export declare const getFieldAttrs: (options: FieldAttrOptions) => {
3
+ class: (string | {
4
+ disabled: boolean;
5
+ focus: boolean;
6
+ shadow: boolean;
7
+ readonly: boolean;
8
+ })[];
9
+ style: {
10
+ [x: string]: number;
11
+ };
12
+ };
13
+ export declare const getFieldContentAttrs: () => {
14
+ class: string[];
15
+ };
16
+ export declare const getFieldInputAttrs: () => {
17
+ class: string[];
18
+ };
19
+ export declare const getFieldMessageAttrs: () => {
20
+ class: string[];
21
+ };
@@ -0,0 +1,47 @@
1
+ import { AppDirection } from '../app/app.type';
2
+ export type FieldVariant = "outline" | "fill" | "underline";
3
+ export type FieldSize = string;
4
+ export type FieldType = "text" | "number" | "email" | "password" | "tel" | "url" | "paragraph";
5
+ export type FieldProps = {
6
+ modelValue?: string | number;
7
+ name?: string;
8
+ variant?: FieldVariant;
9
+ role?: string;
10
+ shape?: string;
11
+ size?: FieldSize;
12
+ shadow?: boolean;
13
+ direction?: AppDirection;
14
+ id?: string;
15
+ value?: string | number;
16
+ placeholder?: string;
17
+ disabled?: boolean;
18
+ readonly?: boolean;
19
+ autocomplete?: string;
20
+ maxLength?: number | string;
21
+ tabindex?: number | string;
22
+ type?: FieldType;
23
+ line?: number | string;
24
+ maxLine?: number | string;
25
+ message?: string;
26
+ };
27
+ export type FieldEvent = {
28
+ (e: "update:modelValue", value: string): void;
29
+ (e: "focus", ev: FocusEvent): void;
30
+ (e: "blur", ev: FocusEvent): void;
31
+ (e: "input", ev: Event): void;
32
+ (e: "beforeinput", ev: Event): void;
33
+ };
34
+ export type FieldAttrOptions = {
35
+ role: string;
36
+ shape: string;
37
+ size: string;
38
+ direction: string;
39
+ variant: FieldVariant;
40
+ type: string;
41
+ disabled: boolean;
42
+ focus: boolean;
43
+ shadow: boolean;
44
+ readonly: boolean;
45
+ line: number;
46
+ maxLine?: number;
47
+ };
@@ -0,0 +1,3 @@
1
+ export * from './field.constants';
2
+ export * from './field.type';
3
+ export * from './field.logic';
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Form Group Default Props
3
+ */
4
+ export declare const FORM_GROUP_DEFAULT_PROPS: {
5
+ readonly direction: "horizontal";
6
+ };
@@ -0,0 +1,4 @@
1
+ import { FormGroupAttrOptions } from './form-group.type';
2
+ export declare const getFormGroupAttrs: (options: FormGroupAttrOptions) => {
3
+ class: string[];
4
+ };
@@ -0,0 +1,7 @@
1
+ export type FormGroupDirection = "horizontal" | "vertical";
2
+ export type FormGroupProps = {
3
+ direction?: FormGroupDirection;
4
+ };
5
+ export type FormGroupAttrOptions = {
6
+ direction: string;
7
+ };
@@ -0,0 +1,3 @@
1
+ export * from './form-group.constants';
2
+ export * from './form-group.type';
3
+ export * from './form-group.logic';
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Gesture Indicator Default Props
3
+ */
4
+ export declare const GESTURE_INDICATOR_DEFAULT_PROPS: {
5
+ readonly placement: "bottom";
6
+ readonly role: undefined;
7
+ };
@@ -0,0 +1,4 @@
1
+ import { GestureIndicatorAttrOptions } from './gesture-indicator.type';
2
+ export declare const getGestureIndicatorAttrs: (options: GestureIndicatorAttrOptions) => {
3
+ class: string[];
4
+ };
@@ -0,0 +1,8 @@
1
+ export type GestureIndicatorProps = {
2
+ placement?: string;
3
+ role?: string;
4
+ };
5
+ export type GestureIndicatorAttrOptions = {
6
+ role: string;
7
+ placement: string;
8
+ };
@@ -0,0 +1,3 @@
1
+ export * from './gesture-indicator.constants';
2
+ export * from './gesture-indicator.type';
3
+ export * from './gesture-indicator.logic';
@@ -0,0 +1,4 @@
1
+ export type ImageProps = {
2
+ defaultSrc?: string;
3
+ src?: string;
4
+ };
@@ -0,0 +1 @@
1
+ export * from './image.type';
@@ -0,0 +1,33 @@
1
+ export * from './action';
2
+ export * from './app';
3
+ export * from './avatar';
4
+ export * from './button';
5
+ export * from './cable';
6
+ export * from './card';
7
+ export * from './checkbox';
8
+ export * from './collapse';
9
+ export * from './container';
10
+ export * from './decision-modal';
11
+ export * from './divider';
12
+ export * from './dropdown';
13
+ export * from './field';
14
+ export * from './form-group';
15
+ export * from './gesture-indicator';
16
+ export * from './image';
17
+ export * from './layout';
18
+ export * from './modal';
19
+ export * from './page';
20
+ export * from './present';
21
+ export * from './radio';
22
+ export * from './refresher';
23
+ export * from './route';
24
+ export * from './segmented-field';
25
+ export * from './select';
26
+ export * from './skeleton';
27
+ export * from './slide-range';
28
+ export * from './switch';
29
+ export * from './tabs';
30
+ export * from './tag';
31
+ export * from './toast';
32
+ export * from './toolbar';
33
+ export * from './tooltip';
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Flex Item Default Props
3
+ */
4
+ export declare const FLEX_ITEM_DEFAULT_PROPS: {
5
+ readonly options: () => never[];
6
+ };
@@ -0,0 +1,7 @@
1
+ import { FlexItemOption } from './flex-item.type';
2
+ export declare const getFlexItemAttrs: (options: FlexItemOption[]) => {
3
+ class: string[];
4
+ style: {
5
+ [x: string]: string | number | undefined;
6
+ }[];
7
+ };
@@ -0,0 +1,10 @@
1
+ export type FlexItemOption = {
2
+ breakpoint?: string;
3
+ grow?: number;
4
+ shrink?: number;
5
+ basis?: string;
6
+ order?: number;
7
+ };
8
+ export type FlexItemProps = {
9
+ options?: FlexItemOption[];
10
+ };
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Flex Default Props
3
+ */
4
+ export declare const FLEX_DEFAULT_PROPS: {
5
+ readonly options: () => never[];
6
+ };
@@ -0,0 +1,7 @@
1
+ import { FlexOption } from './flex.type';
2
+ export declare const getFlexAttrs: (options: FlexOption[]) => {
3
+ class: string[];
4
+ style: {
5
+ [x: string]: string | undefined;
6
+ }[];
7
+ };
@@ -0,0 +1,12 @@
1
+ export type FlexDirection = "row" | "column" | "row-reverse" | "column-reverse";
2
+ export type FlexOption = {
3
+ breakpoint?: string;
4
+ gap?: string | number;
5
+ direction?: FlexDirection;
6
+ wrap?: string;
7
+ justify?: string;
8
+ align?: string;
9
+ };
10
+ export type FlexProps = {
11
+ options?: FlexOption[];
12
+ };
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Grid Item Default Props
3
+ */
4
+ export declare const GRID_ITEM_DEFAULT_PROPS: {
5
+ readonly options: () => never[];
6
+ };
@@ -0,0 +1,7 @@
1
+ import { GridItemOption } from './grid-item.type';
2
+ export declare const getGridItemAttrs: (options: GridItemOption[]) => {
3
+ class: string[];
4
+ style: {
5
+ [x: string]: number | "center" | "start" | "end" | "stretch" | undefined;
6
+ }[];
7
+ };
@@ -0,0 +1,12 @@
1
+ export type GridItemJustify = "start" | "end" | "center" | "stretch";
2
+ export type GridItemAlign = "start" | "end" | "center" | "stretch";
3
+ export type GridItemOption = {
4
+ breakpoint?: string;
5
+ row?: number;
6
+ column?: number;
7
+ justify?: GridItemJustify;
8
+ align?: GridItemAlign;
9
+ };
10
+ export type GridItemProps = {
11
+ options?: GridItemOption[];
12
+ };
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Grid Default Props
3
+ */
4
+ export declare const GRID_DEFAULT_PROPS: {
5
+ readonly options: () => never[];
6
+ };
@@ -0,0 +1,7 @@
1
+ import { GridOption } from './grid.type';
2
+ export declare const getGridAttrs: (options: GridOption[]) => {
3
+ class: string[];
4
+ style: {
5
+ [x: string]: string | undefined;
6
+ }[];
7
+ };
@@ -0,0 +1,10 @@
1
+ export type GridOption = {
2
+ breakpoint?: string;
3
+ gap?: string | number;
4
+ columns?: string;
5
+ rows?: string;
6
+ autoFlow?: string;
7
+ };
8
+ export type GridProps = {
9
+ options?: GridOption[];
10
+ };
@@ -0,0 +1,12 @@
1
+ export * from './flex-item.constants';
2
+ export * from './flex-item.type';
3
+ export * from './flex.constants';
4
+ export * from './flex.type';
5
+ export * from './grid-item.constants';
6
+ export * from './grid-item.type';
7
+ export * from './grid.constants';
8
+ export * from './grid.type';
9
+ export * from './grid.logic';
10
+ export * from './grid-item.logic';
11
+ export * from './flex.logic';
12
+ export * from './flex-item.logic';
@@ -0,0 +1,3 @@
1
+ export * from './modal.constants';
2
+ export * from './modal.type';
3
+ export * from './modal.logic';
@@ -0,0 +1,16 @@
1
+ /** CSS overflow values that allow scrolling on an axis. */
2
+ export declare const SCROLLABLE_OVERFLOW_VALUES: string[];
3
+ /**
4
+ * Modal Default Props
5
+ */
6
+ export declare const MODAL_DEFAULT_PROPS: {
7
+ readonly backdrop: "display";
8
+ readonly keepalive: true;
9
+ readonly visible: false;
10
+ readonly gesture: true;
11
+ readonly fullscreen: false;
12
+ readonly placement: "bottom";
13
+ readonly indicator: true;
14
+ readonly duration: 200;
15
+ readonly bounce: 0;
16
+ };
@@ -0,0 +1,5 @@
1
+ import { ModalAttrOptions } from './modal.type';
2
+ export declare const getModalAttrs: (options: ModalAttrOptions) => {
3
+ class: unknown[];
4
+ style: unknown;
5
+ };
@@ -0,0 +1,26 @@
1
+ export type ModalProps = {
2
+ role?: string;
3
+ class?: unknown;
4
+ visible?: boolean;
5
+ gesture?: boolean;
6
+ fullscreen?: boolean;
7
+ placement?: "top" | "left" | "right" | "center" | "bottom";
8
+ keepalive?: boolean;
9
+ backdrop?: "display" | "none" | "transparent";
10
+ shape?: string;
11
+ indicator?: boolean;
12
+ duration?: number;
13
+ bounce?: number | string;
14
+ style?: unknown;
15
+ };
16
+ export type ModalEvent = {
17
+ (e: "close", type?: string): void;
18
+ };
19
+ export type ModalAttrOptions = {
20
+ role: string;
21
+ shape: string;
22
+ placement: string;
23
+ fullscreen: boolean;
24
+ className?: unknown;
25
+ style?: unknown;
26
+ };
@@ -0,0 +1 @@
1
+ export * from './page.logic';
@@ -0,0 +1,3 @@
1
+ export declare const getPageAttrs: () => {
2
+ class: string[];
3
+ };
@@ -0,0 +1,3 @@
1
+ export * from './present.constants';
2
+ export * from './present.type';
3
+ export * from './present.logic';
@@ -0,0 +1,18 @@
1
+ /**
2
+ * Present Default Props
3
+ */
4
+ export declare const PRESENT_DEFAULT_PROPS: {
5
+ readonly keepalive: false;
6
+ readonly visible: false;
7
+ readonly backdrop: "display";
8
+ readonly duration: 200;
9
+ readonly placement: "bottom";
10
+ readonly bounce: false;
11
+ };
12
+ export declare const PRESENT_DEFAULT_STYLES: {
13
+ readonly backdropTransitionDuration: "0.2s";
14
+ readonly backdropOpacity: undefined;
15
+ readonly presentTransitionDuration: "0.2s";
16
+ readonly presentTranslate: "0px";
17
+ readonly presentOpacity: 1;
18
+ };
@@ -0,0 +1,13 @@
1
+ import { PresentAttrOptions, PresentBackdropAttrOptions } from './present.type';
2
+ export declare const getAppClassSelector: () => string;
3
+ export declare const getPresentBackdropAttrs: (options: PresentBackdropAttrOptions) => {
4
+ class: string[];
5
+ style: {
6
+ [x: string]: string | number | undefined;
7
+ zIndex: number;
8
+ };
9
+ };
10
+ export declare const getPresentAttrs: (options: PresentAttrOptions) => {
11
+ class: unknown[];
12
+ style: unknown[];
13
+ };
@@ -0,0 +1,43 @@
1
+ export type PresentPlacement = "top" | "left" | "right" | "center" | "bottom";
2
+ export type PresentProps = {
3
+ keepalive?: boolean;
4
+ visible?: boolean;
5
+ backdrop?: "display" | "none" | "transparent";
6
+ placement?: PresentPlacement;
7
+ style?: unknown;
8
+ class?: unknown;
9
+ bounce?: number | string | boolean;
10
+ duration?: number;
11
+ teleport?: string;
12
+ };
13
+ export type PresentEvent = {
14
+ (e: "close", type?: string): void;
15
+ };
16
+ export type RenderOptions = {
17
+ backdropTransitionDuration?: string;
18
+ backdropOpacity?: number;
19
+ presentTransitionDuration?: string;
20
+ presentTranslate?: string;
21
+ presentOpacity?: number;
22
+ };
23
+ export type PresentStyles = {
24
+ backdropTransitionDuration: string;
25
+ backdropOpacity: number | undefined;
26
+ presentTransitionDuration: string;
27
+ presentTranslate: string;
28
+ presentOpacity: number;
29
+ };
30
+ export type PresentBackdropAttrOptions = {
31
+ zIndex: number;
32
+ backdropTransitionDuration: string;
33
+ backdropOpacity?: number;
34
+ };
35
+ export type PresentAttrOptions = {
36
+ zIndex: number;
37
+ presentTransitionDuration: string;
38
+ presentTranslate: string;
39
+ presentOpacity: number;
40
+ className?: unknown;
41
+ placement: string;
42
+ style?: unknown;
43
+ };
@@ -0,0 +1,6 @@
1
+ export * from './radio-group.constants';
2
+ export * from './radio-group.type';
3
+ export * from './radio.constants';
4
+ export * from './radio.type';
5
+ export * from './radio.logic';
6
+ export * from './radio-group.logic';
@@ -0,0 +1,8 @@
1
+ export declare const RADIO_GROUP_PROVIDER_STATE_KEY = "radio-group-state";
2
+ export declare const RADIO_GROUP_DEFAULT_PROPS: {
3
+ readonly disabled: false;
4
+ readonly readonly: false;
5
+ readonly variant: "fill";
6
+ readonly direction: "vertical";
7
+ readonly shadow: undefined;
8
+ };
@@ -0,0 +1,4 @@
1
+ import { RadioGroupAttrOptions } from './radio-group.type';
2
+ export declare const getRadioGroupAttrs: (options: RadioGroupAttrOptions) => {
3
+ class: string[];
4
+ };
@@ -0,0 +1,28 @@
1
+ export type RadioVariant = "fill" | "outline";
2
+ export type RadioGroupDirection = "horizontal" | "vertical";
3
+ export type RadioGroupProps = {
4
+ modelValue?: string | number;
5
+ role?: string;
6
+ shape?: string;
7
+ variant?: RadioVariant;
8
+ disabled?: boolean;
9
+ readonly?: boolean;
10
+ shadow?: boolean;
11
+ direction?: RadioGroupDirection;
12
+ };
13
+ export type RadioGroupEvent = {
14
+ (e: "update:modelValue", value: string | number): void;
15
+ };
16
+ export type RadioGroupProviderState = {
17
+ modelValue: string | number | undefined;
18
+ role: string;
19
+ shape: string;
20
+ variant: RadioVariant;
21
+ disabled: boolean;
22
+ readonly: boolean;
23
+ shadow: boolean;
24
+ setValue: (val: string | number) => void;
25
+ };
26
+ export type RadioGroupAttrOptions = {
27
+ direction: string;
28
+ };
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Radio Default Props
3
+ */
4
+ export declare const RADIO_DEFAULT_PROPS: {
5
+ readonly disabled: false;
6
+ readonly size: "standard";
7
+ readonly shadow: undefined;
8
+ };
@@ -0,0 +1,13 @@
1
+ import { RadioAttrOptions } from './radio.type';
2
+ export declare const getRadioAttrs: (options: RadioAttrOptions) => {
3
+ class: (string | {
4
+ on: boolean;
5
+ disabled: boolean;
6
+ readonly: boolean;
7
+ shadow: boolean;
8
+ focus: boolean;
9
+ })[];
10
+ };
11
+ export declare const getRadioIconAttrs: () => {
12
+ class: string[];
13
+ };
@@ -0,0 +1,24 @@
1
+ import { RadioVariant } from './radio-group.type';
2
+ export type { RadioVariant };
3
+ export type RadioSize = string;
4
+ export type RadioProps = {
5
+ value: string | number;
6
+ role?: string;
7
+ size?: RadioSize;
8
+ shape?: string;
9
+ variant?: RadioVariant;
10
+ disabled?: boolean;
11
+ readonly?: boolean;
12
+ shadow?: boolean;
13
+ };
14
+ export type RadioAttrOptions = {
15
+ role: string;
16
+ shape: string;
17
+ size: string;
18
+ variant: string;
19
+ checked: boolean;
20
+ disabled: boolean;
21
+ readonly: boolean;
22
+ shadow: boolean;
23
+ focus: boolean;
24
+ };
@@ -0,0 +1,2 @@
1
+ export * from './refresher.type';
2
+ export * from './refresher.logic';
@@ -0,0 +1,3 @@
1
+ export declare const getRefresherAttrs: () => {
2
+ class: string[];
3
+ };
@@ -0,0 +1,10 @@
1
+ export type RefreshEvent = {
2
+ refresh: () => () => void;
3
+ offset?: number;
4
+ };
5
+ export type RefresherEvent = {
6
+ (e: "move", event: RefreshEvent): void;
7
+ (e: "cancel"): void;
8
+ (e: "end", event: RefreshEvent): void;
9
+ (e: "start"): void;
10
+ };
@@ -0,0 +1,8 @@
1
+ export * from './route-navigator.constants';
2
+ export * from './route-navigator.type';
3
+ export * from './route-provider.constants';
4
+ export * from './route-provider.type';
5
+ export * from './route-wrapper.constants';
6
+ export * from './route-wrapper.type';
7
+ export * from './route.type';
8
+ export * from './route-navigator.logic';
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Route Navigator Default Props
3
+ */
4
+ export declare const ROUTE_NAVIGATOR_DEFAULT_PROPS: {
5
+ readonly direction: "right";
6
+ readonly variant: "none";
7
+ readonly keepalive: false;
8
+ readonly gesture: true;
9
+ };
@@ -0,0 +1,19 @@
1
+ import { RouteNavigatorAttrOptions, RouteNavigatorBackdropAttrOptions, RouteNavigatorComponentAttrOptions } from './route-navigator.type';
2
+ export declare const getRouteNavigatorTransitionDuration: (options: Pick<RouteNavigatorAttrOptions, "variant" | "transform">) => string | undefined;
3
+ export declare const getRouteNavigatorAttrs: (options: RouteNavigatorAttrOptions) => {
4
+ class: (string | {
5
+ moving: boolean;
6
+ })[];
7
+ style: {
8
+ [x: string]: string | number | undefined;
9
+ };
10
+ };
11
+ export declare const getRouteNavigatorComponentAttrs: (options: RouteNavigatorComponentAttrOptions) => {
12
+ class: string[];
13
+ };
14
+ export declare const getRouteNavigatorBackdropAttrs: (options: RouteNavigatorBackdropAttrOptions) => {
15
+ class: string[];
16
+ style: {
17
+ zIndex: number;
18
+ };
19
+ };