@jasmine-ui/vue 0.6.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 (177) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +77 -0
  3. package/dist/components/accordion/accordion.composable.d.ts +85 -0
  4. package/dist/components/accordion/accordion.d.ts +112 -0
  5. package/dist/components/accordion/accordion.props.d.ts +44 -0
  6. package/dist/components/accordion/accordion.style.d.ts +202 -0
  7. package/dist/components/accordion/index.d.ts +1 -0
  8. package/dist/components/alert/alert.composable.d.ts +87 -0
  9. package/dist/components/alert/alert.d.ts +89 -0
  10. package/dist/components/alert/alert.props.d.ts +30 -0
  11. package/dist/components/alert/alert.style.d.ts +154 -0
  12. package/dist/components/alert/index.d.ts +1 -0
  13. package/dist/components/avatar/avatar.composable.d.ts +79 -0
  14. package/dist/components/avatar/avatar.d.ts +111 -0
  15. package/dist/components/avatar/avatar.props.d.ts +50 -0
  16. package/dist/components/avatar/avatar.style.d.ts +158 -0
  17. package/dist/components/avatar/index.d.ts +1 -0
  18. package/dist/components/badge/badge.composable.d.ts +58 -0
  19. package/dist/components/badge/badge.d.ts +85 -0
  20. package/dist/components/badge/badge.props.d.ts +35 -0
  21. package/dist/components/badge/badge.style.d.ts +146 -0
  22. package/dist/components/badge/index.d.ts +1 -0
  23. package/dist/components/button/button.composable.d.ts +14 -0
  24. package/dist/components/button/button.d.ts +96 -0
  25. package/dist/components/button/button.props.d.ts +36 -0
  26. package/dist/components/button/button.style.d.ts +88 -0
  27. package/dist/components/button/index.d.ts +1 -0
  28. package/dist/components/checkbox/checkbox.composable.d.ts +56 -0
  29. package/dist/components/checkbox/checkbox.d.ts +54 -0
  30. package/dist/components/checkbox/checkbox.props.d.ts +22 -0
  31. package/dist/components/checkbox/checkbox.style.d.ts +106 -0
  32. package/dist/components/checkbox/index.d.ts +1 -0
  33. package/dist/components/chip/chip.composable.d.ts +51 -0
  34. package/dist/components/chip/chip.d.ts +96 -0
  35. package/dist/components/chip/chip.props.d.ts +35 -0
  36. package/dist/components/chip/chip.style.d.ts +184 -0
  37. package/dist/components/chip/index.d.ts +1 -0
  38. package/dist/components/code-block/code-block.composable.d.ts +16 -0
  39. package/dist/components/code-block/code-block.d.ts +105 -0
  40. package/dist/components/code-block/code-block.props.d.ts +51 -0
  41. package/dist/components/code-block/code-block.style.d.ts +113 -0
  42. package/dist/components/code-block/index.d.ts +1 -0
  43. package/dist/components/combobox/combobox.composable.d.ts +136 -0
  44. package/dist/components/combobox/combobox.d.ts +127 -0
  45. package/dist/components/combobox/combobox.props.d.ts +52 -0
  46. package/dist/components/combobox/combobox.style.d.ts +202 -0
  47. package/dist/components/combobox/index.d.ts +1 -0
  48. package/dist/components/divider/divider.composable.d.ts +13 -0
  49. package/dist/components/divider/divider.d.ts +47 -0
  50. package/dist/components/divider/divider.props.d.ts +15 -0
  51. package/dist/components/divider/divider.style.d.ts +43 -0
  52. package/dist/components/divider/index.d.ts +1 -0
  53. package/dist/components/drawer/drawer.composable.d.ts +82 -0
  54. package/dist/components/drawer/drawer.d.ts +256 -0
  55. package/dist/components/drawer/drawer.props.d.ts +34 -0
  56. package/dist/components/drawer/drawer.style.d.ts +97 -0
  57. package/dist/components/drawer/index.d.ts +1 -0
  58. package/dist/components/dropdown/dropdown.d.ts +102 -0
  59. package/dist/components/dropdown/dropdown.props.d.ts +36 -0
  60. package/dist/components/dropdown/index.d.ts +1 -0
  61. package/dist/components/input/index.d.ts +1 -0
  62. package/dist/components/input/input.composable.d.ts +164 -0
  63. package/dist/components/input/input.d.ts +213 -0
  64. package/dist/components/input/input.props.d.ts +83 -0
  65. package/dist/components/input/input.style.d.ts +187 -0
  66. package/dist/components/kbd/index.d.ts +1 -0
  67. package/dist/components/kbd/kbd.composable.d.ts +40 -0
  68. package/dist/components/kbd/kbd.d.ts +46 -0
  69. package/dist/components/kbd/kbd.props.d.ts +20 -0
  70. package/dist/components/kbd/kbd.style.d.ts +59 -0
  71. package/dist/components/list/index.d.ts +3 -0
  72. package/dist/components/list/list.composable.d.ts +40 -0
  73. package/dist/components/list/list.d.ts +148 -0
  74. package/dist/components/list/list.props.d.ts +40 -0
  75. package/dist/components/list/list.style.d.ts +52 -0
  76. package/dist/components/list-item/index.d.ts +1 -0
  77. package/dist/components/list-item/list-item.composable.d.ts +91 -0
  78. package/dist/components/list-item/list-item.d.ts +115 -0
  79. package/dist/components/list-item/list-item.props.d.ts +43 -0
  80. package/dist/components/list-item/list-item.style.d.ts +139 -0
  81. package/dist/components/modal/index.d.ts +1 -0
  82. package/dist/components/modal/modal.composable.d.ts +114 -0
  83. package/dist/components/modal/modal.d.ts +274 -0
  84. package/dist/components/modal/modal.props.d.ts +44 -0
  85. package/dist/components/modal/modal.style.d.ts +190 -0
  86. package/dist/components/pagination/index.d.ts +1 -0
  87. package/dist/components/pagination/pagination.composable.d.ts +87 -0
  88. package/dist/components/pagination/pagination.d.ts +150 -0
  89. package/dist/components/pagination/pagination.props.d.ts +42 -0
  90. package/dist/components/pagination/pagination.style.d.ts +196 -0
  91. package/dist/components/popover/index.d.ts +1 -0
  92. package/dist/components/popover/popover.composable.d.ts +42 -0
  93. package/dist/components/popover/popover.d.ts +142 -0
  94. package/dist/components/popover/popover.props.d.ts +51 -0
  95. package/dist/components/popover/popover.style.d.ts +28 -0
  96. package/dist/components/popover-list/index.d.ts +1 -0
  97. package/dist/components/popover-list/popover-list.d.ts +158 -0
  98. package/dist/components/popover-list/popover-list.props.d.ts +73 -0
  99. package/dist/components/radio-group/index.d.ts +2 -0
  100. package/dist/components/radio-group/radio-group.composable.d.ts +13 -0
  101. package/dist/components/radio-group/radio-group.d.ts +80 -0
  102. package/dist/components/radio-group/radio-group.props.d.ts +28 -0
  103. package/dist/components/radio-group/radio-group.style.d.ts +16 -0
  104. package/dist/components/radio-group/radio.composable.d.ts +45 -0
  105. package/dist/components/radio-group/radio.d.ts +64 -0
  106. package/dist/components/radio-group/radio.props.d.ts +23 -0
  107. package/dist/components/radio-group/radio.style.d.ts +103 -0
  108. package/dist/components/select/index.d.ts +1 -0
  109. package/dist/components/select/select.composable.d.ts +115 -0
  110. package/dist/components/select/select.d.ts +123 -0
  111. package/dist/components/select/select.props.d.ts +52 -0
  112. package/dist/components/select/select.style.d.ts +199 -0
  113. package/dist/components/spinner/index.d.ts +1 -0
  114. package/dist/components/spinner/spinner.composable.d.ts +29 -0
  115. package/dist/components/spinner/spinner.d.ts +23 -0
  116. package/dist/components/spinner/spinner.props.d.ts +12 -0
  117. package/dist/components/spinner/spinner.style.d.ts +97 -0
  118. package/dist/components/switch/index.d.ts +1 -0
  119. package/dist/components/switch/switch.composable.d.ts +76 -0
  120. package/dist/components/switch/switch.d.ts +100 -0
  121. package/dist/components/switch/switch.props.d.ts +37 -0
  122. package/dist/components/switch/switch.style.d.ts +196 -0
  123. package/dist/components/table/index.d.ts +1 -0
  124. package/dist/components/table/table.composable.d.ts +162 -0
  125. package/dist/components/table/table.d.ts +162 -0
  126. package/dist/components/table/table.props.d.ts +56 -0
  127. package/dist/components/table/table.style.d.ts +193 -0
  128. package/dist/components/tabs/index.d.ts +1 -0
  129. package/dist/components/tabs/tabs.composable.d.ts +93 -0
  130. package/dist/components/tabs/tabs.d.ts +121 -0
  131. package/dist/components/tabs/tabs.props.d.ts +48 -0
  132. package/dist/components/tabs/tabs.style.d.ts +253 -0
  133. package/dist/components/text/index.d.ts +1 -0
  134. package/dist/components/text/text.composable.d.ts +12 -0
  135. package/dist/components/text/text.d.ts +56 -0
  136. package/dist/components/text/text.props.d.ts +19 -0
  137. package/dist/components/text/text.style.d.ts +83 -0
  138. package/dist/components/textarea/index.d.ts +1 -0
  139. package/dist/components/textarea/textarea.composable.d.ts +149 -0
  140. package/dist/components/textarea/textarea.d.ts +250 -0
  141. package/dist/components/textarea/textarea.props.d.ts +99 -0
  142. package/dist/components/textarea/textarea.style.d.ts +184 -0
  143. package/dist/components/toast/index.d.ts +2 -0
  144. package/dist/components/toast/toast-provider.d.ts +47 -0
  145. package/dist/components/toast/toast.composable.d.ts +16 -0
  146. package/dist/components/toast/toast.props.d.ts +14 -0
  147. package/dist/components/toast/toast.provider.d.ts +48 -0
  148. package/dist/components/toast/toast.style.d.ts +76 -0
  149. package/dist/components/tooltip/index.d.ts +1 -0
  150. package/dist/components/tooltip/tooltip.composable.d.ts +85 -0
  151. package/dist/components/tooltip/tooltip.d.ts +119 -0
  152. package/dist/components/tooltip/tooltip.props.d.ts +53 -0
  153. package/dist/components/tooltip/tooltip.style.d.ts +32 -0
  154. package/dist/composables/dismiss-shake.composable.d.ts +13 -0
  155. package/dist/css-BRq03xhW.js +3 -0
  156. package/dist/css-BT3ulMUY.js +2 -0
  157. package/dist/html-CJhGHSsv.js +2 -0
  158. package/dist/html-DM_Fd1As.js +10 -0
  159. package/dist/index.d.ts +29 -0
  160. package/dist/jasmine-ui.css +3 -0
  161. package/dist/jasmine-ui.js +11858 -0
  162. package/dist/javascript-CkfBz3il.js +3 -0
  163. package/dist/javascript-CwUFKmKO.js +2 -0
  164. package/dist/json-BPXqV38U.js +3 -0
  165. package/dist/json-DHmMgjNi.js +2 -0
  166. package/dist/jsonc-DVpPCz25.js +3 -0
  167. package/dist/jsx-CHO6wZNT.js +3 -0
  168. package/dist/main.d.ts +1 -0
  169. package/dist/rust-qf9jV5qU.js +3 -0
  170. package/dist/styles/shiki-theme.d.ts +11 -0
  171. package/dist/types/common.d.ts +89 -0
  172. package/dist/types/shared-props.d.ts +142 -0
  173. package/dist/typescript-Cil9iWXl.js +3 -0
  174. package/dist/typescript-CoNvJdtl.js +2 -0
  175. package/dist/utils/shiki.d.ts +12 -0
  176. package/dist/vue-Bgv7yiBd.js +21 -0
  177. package/package.json +133 -0
@@ -0,0 +1 @@
1
+ export { default as Dropdown } from './dropdown';
@@ -0,0 +1 @@
1
+ export { default as Input } from './input';
@@ -0,0 +1,164 @@
1
+ import { ExtractPropTypes, Ref } from 'vue';
2
+ import { inputProps } from './input.props';
3
+ type InputProps = ExtractPropTypes<typeof inputProps>;
4
+ type ValidationState = 'error' | 'success' | undefined;
5
+ type InputEmitFn = {
6
+ (event: 'update:modelValue', value: string | number): void;
7
+ (event: 'focus', e: FocusEvent): void;
8
+ (event: 'blur', e: FocusEvent): void;
9
+ (event: 'clear'): void;
10
+ (event: 'validation', result: {
11
+ valid: boolean;
12
+ errors: string[];
13
+ }): void;
14
+ };
15
+ /**
16
+ * Composable that handles Input component logic.
17
+ * Returns computed class bindings, state refs, and event handlers.
18
+ */
19
+ export declare const useInput: (props: InputProps, emit: InputEmitFn) => {
20
+ classes: import('vue').ComputedRef<{
21
+ wrapper: (slotProps?: ({
22
+ variant?: "outline" | "filled" | undefined;
23
+ size?: "md" | "sm" | "lg" | undefined;
24
+ radius?: "md" | "sm" | "lg" | "none" | "full" | undefined;
25
+ isLabelFloating?: boolean | undefined;
26
+ validationState?: "success" | "error" | undefined;
27
+ } & import('tailwind-variants').ClassProp<import('tailwind-merge').ClassNameValue>) | undefined) => string;
28
+ container: (slotProps?: ({
29
+ variant?: "outline" | "filled" | undefined;
30
+ size?: "md" | "sm" | "lg" | undefined;
31
+ radius?: "md" | "sm" | "lg" | "none" | "full" | undefined;
32
+ isLabelFloating?: boolean | undefined;
33
+ validationState?: "success" | "error" | undefined;
34
+ } & import('tailwind-variants').ClassProp<import('tailwind-merge').ClassNameValue>) | undefined) => string;
35
+ start: (slotProps?: ({
36
+ variant?: "outline" | "filled" | undefined;
37
+ size?: "md" | "sm" | "lg" | undefined;
38
+ radius?: "md" | "sm" | "lg" | "none" | "full" | undefined;
39
+ isLabelFloating?: boolean | undefined;
40
+ validationState?: "success" | "error" | undefined;
41
+ } & import('tailwind-variants').ClassProp<import('tailwind-merge').ClassNameValue>) | undefined) => string;
42
+ label: (slotProps?: ({
43
+ variant?: "outline" | "filled" | undefined;
44
+ size?: "md" | "sm" | "lg" | undefined;
45
+ radius?: "md" | "sm" | "lg" | "none" | "full" | undefined;
46
+ isLabelFloating?: boolean | undefined;
47
+ validationState?: "success" | "error" | undefined;
48
+ } & import('tailwind-variants').ClassProp<import('tailwind-merge').ClassNameValue>) | undefined) => string;
49
+ native: (slotProps?: ({
50
+ variant?: "outline" | "filled" | undefined;
51
+ size?: "md" | "sm" | "lg" | undefined;
52
+ radius?: "md" | "sm" | "lg" | "none" | "full" | undefined;
53
+ isLabelFloating?: boolean | undefined;
54
+ validationState?: "success" | "error" | undefined;
55
+ } & import('tailwind-variants').ClassProp<import('tailwind-merge').ClassNameValue>) | undefined) => string;
56
+ clear: (slotProps?: ({
57
+ variant?: "outline" | "filled" | undefined;
58
+ size?: "md" | "sm" | "lg" | undefined;
59
+ radius?: "md" | "sm" | "lg" | "none" | "full" | undefined;
60
+ isLabelFloating?: boolean | undefined;
61
+ validationState?: "success" | "error" | undefined;
62
+ } & import('tailwind-variants').ClassProp<import('tailwind-merge').ClassNameValue>) | undefined) => string;
63
+ toggle: (slotProps?: ({
64
+ variant?: "outline" | "filled" | undefined;
65
+ size?: "md" | "sm" | "lg" | undefined;
66
+ radius?: "md" | "sm" | "lg" | "none" | "full" | undefined;
67
+ isLabelFloating?: boolean | undefined;
68
+ validationState?: "success" | "error" | undefined;
69
+ } & import('tailwind-variants').ClassProp<import('tailwind-merge').ClassNameValue>) | undefined) => string;
70
+ end: (slotProps?: ({
71
+ variant?: "outline" | "filled" | undefined;
72
+ size?: "md" | "sm" | "lg" | undefined;
73
+ radius?: "md" | "sm" | "lg" | "none" | "full" | undefined;
74
+ isLabelFloating?: boolean | undefined;
75
+ validationState?: "success" | "error" | undefined;
76
+ } & import('tailwind-variants').ClassProp<import('tailwind-merge').ClassNameValue>) | undefined) => string;
77
+ message: (slotProps?: ({
78
+ variant?: "outline" | "filled" | undefined;
79
+ size?: "md" | "sm" | "lg" | undefined;
80
+ radius?: "md" | "sm" | "lg" | "none" | "full" | undefined;
81
+ isLabelFloating?: boolean | undefined;
82
+ validationState?: "success" | "error" | undefined;
83
+ } & import('tailwind-variants').ClassProp<import('tailwind-merge').ClassNameValue>) | undefined) => string;
84
+ } & {
85
+ wrapper: (slotProps?: ({
86
+ variant?: "outline" | "filled" | undefined;
87
+ size?: "md" | "sm" | "lg" | undefined;
88
+ radius?: "md" | "sm" | "lg" | "none" | "full" | undefined;
89
+ isLabelFloating?: boolean | undefined;
90
+ validationState?: "success" | "error" | undefined;
91
+ } & import('tailwind-variants').ClassProp<import('tailwind-merge').ClassNameValue>) | undefined) => string;
92
+ container: (slotProps?: ({
93
+ variant?: "outline" | "filled" | undefined;
94
+ size?: "md" | "sm" | "lg" | undefined;
95
+ radius?: "md" | "sm" | "lg" | "none" | "full" | undefined;
96
+ isLabelFloating?: boolean | undefined;
97
+ validationState?: "success" | "error" | undefined;
98
+ } & import('tailwind-variants').ClassProp<import('tailwind-merge').ClassNameValue>) | undefined) => string;
99
+ start: (slotProps?: ({
100
+ variant?: "outline" | "filled" | undefined;
101
+ size?: "md" | "sm" | "lg" | undefined;
102
+ radius?: "md" | "sm" | "lg" | "none" | "full" | undefined;
103
+ isLabelFloating?: boolean | undefined;
104
+ validationState?: "success" | "error" | undefined;
105
+ } & import('tailwind-variants').ClassProp<import('tailwind-merge').ClassNameValue>) | undefined) => string;
106
+ label: (slotProps?: ({
107
+ variant?: "outline" | "filled" | undefined;
108
+ size?: "md" | "sm" | "lg" | undefined;
109
+ radius?: "md" | "sm" | "lg" | "none" | "full" | undefined;
110
+ isLabelFloating?: boolean | undefined;
111
+ validationState?: "success" | "error" | undefined;
112
+ } & import('tailwind-variants').ClassProp<import('tailwind-merge').ClassNameValue>) | undefined) => string;
113
+ native: (slotProps?: ({
114
+ variant?: "outline" | "filled" | undefined;
115
+ size?: "md" | "sm" | "lg" | undefined;
116
+ radius?: "md" | "sm" | "lg" | "none" | "full" | undefined;
117
+ isLabelFloating?: boolean | undefined;
118
+ validationState?: "success" | "error" | undefined;
119
+ } & import('tailwind-variants').ClassProp<import('tailwind-merge').ClassNameValue>) | undefined) => string;
120
+ clear: (slotProps?: ({
121
+ variant?: "outline" | "filled" | undefined;
122
+ size?: "md" | "sm" | "lg" | undefined;
123
+ radius?: "md" | "sm" | "lg" | "none" | "full" | undefined;
124
+ isLabelFloating?: boolean | undefined;
125
+ validationState?: "success" | "error" | undefined;
126
+ } & import('tailwind-variants').ClassProp<import('tailwind-merge').ClassNameValue>) | undefined) => string;
127
+ toggle: (slotProps?: ({
128
+ variant?: "outline" | "filled" | undefined;
129
+ size?: "md" | "sm" | "lg" | undefined;
130
+ radius?: "md" | "sm" | "lg" | "none" | "full" | undefined;
131
+ isLabelFloating?: boolean | undefined;
132
+ validationState?: "success" | "error" | undefined;
133
+ } & import('tailwind-variants').ClassProp<import('tailwind-merge').ClassNameValue>) | undefined) => string;
134
+ end: (slotProps?: ({
135
+ variant?: "outline" | "filled" | undefined;
136
+ size?: "md" | "sm" | "lg" | undefined;
137
+ radius?: "md" | "sm" | "lg" | "none" | "full" | undefined;
138
+ isLabelFloating?: boolean | undefined;
139
+ validationState?: "success" | "error" | undefined;
140
+ } & import('tailwind-variants').ClassProp<import('tailwind-merge').ClassNameValue>) | undefined) => string;
141
+ message: (slotProps?: ({
142
+ variant?: "outline" | "filled" | undefined;
143
+ size?: "md" | "sm" | "lg" | undefined;
144
+ radius?: "md" | "sm" | "lg" | "none" | "full" | undefined;
145
+ isLabelFloating?: boolean | undefined;
146
+ validationState?: "success" | "error" | undefined;
147
+ } & import('tailwind-variants').ClassProp<import('tailwind-merge').ClassNameValue>) | undefined) => string;
148
+ } & {}>;
149
+ isFocused: Ref<boolean, boolean>;
150
+ isLabelFloating: import('vue').ComputedRef<boolean>;
151
+ isPasswordVisible: Ref<boolean, boolean>;
152
+ computedType: import('vue').ComputedRef<"number" | "text" | "search" | "email" | "password" | "tel" | "url">;
153
+ validationState: import('vue').ComputedRef<ValidationState>;
154
+ displayMessage: import('vue').ComputedRef<string | undefined>;
155
+ computedPlaceholder: import('vue').ComputedRef<string | undefined>;
156
+ inputId: import('vue').ComputedRef<string>;
157
+ handleInput: (event: Event) => void;
158
+ handleFocus: (event: FocusEvent) => void;
159
+ handleBlur: (event: FocusEvent) => void;
160
+ handleClear: () => void;
161
+ togglePassword: () => void;
162
+ validate: () => Promise<void>;
163
+ };
164
+ export {};
@@ -0,0 +1,213 @@
1
+ declare function __VLS_template(): {
2
+ attrs: Partial<{}>;
3
+ slots: {
4
+ startContent?(_: {}): any;
5
+ passwordToggle?(_: {
6
+ isVisible: boolean;
7
+ }): any;
8
+ endContent?(_: {}): any;
9
+ };
10
+ refs: {};
11
+ rootEl: HTMLDivElement;
12
+ };
13
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
14
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
15
+ modelValue: {
16
+ type: import('vue').PropType<string | number>;
17
+ default: string;
18
+ };
19
+ type: {
20
+ type: import('vue').PropType<"number" | "text" | "search" | "email" | "password" | "tel" | "url">;
21
+ default: "text";
22
+ };
23
+ name: {
24
+ type: StringConstructor;
25
+ default: undefined;
26
+ };
27
+ id: {
28
+ type: StringConstructor;
29
+ default: undefined;
30
+ };
31
+ label: {
32
+ type: StringConstructor;
33
+ default: undefined;
34
+ };
35
+ placeholder: {
36
+ type: StringConstructor;
37
+ default: undefined;
38
+ };
39
+ autocomplete: {
40
+ type: StringConstructor;
41
+ default: undefined;
42
+ };
43
+ variant: {
44
+ type: import('vue').PropType<import('../..').InputVariant>;
45
+ default: "outline";
46
+ };
47
+ size: {
48
+ type: import('vue').PropType<import('../..').Size>;
49
+ default: "md";
50
+ };
51
+ radius: {
52
+ type: import('vue').PropType<import('../..').Radius>;
53
+ default: "md";
54
+ };
55
+ isDisabled: {
56
+ type: BooleanConstructor;
57
+ default: boolean;
58
+ };
59
+ isReadonly: {
60
+ type: BooleanConstructor;
61
+ default: boolean;
62
+ };
63
+ isClearable: {
64
+ type: BooleanConstructor;
65
+ default: boolean;
66
+ };
67
+ schema: {
68
+ type: import('vue').PropType<import('@standard-schema/spec').StandardSchemaV1>;
69
+ default: undefined;
70
+ };
71
+ validateOn: {
72
+ type: import('vue').PropType<"blur" | "input" | "debounce">;
73
+ default: "blur";
74
+ };
75
+ debounceMs: {
76
+ type: NumberConstructor;
77
+ default: number;
78
+ };
79
+ message: {
80
+ type: StringConstructor;
81
+ default: undefined;
82
+ };
83
+ error: {
84
+ type: BooleanConstructor;
85
+ default: boolean;
86
+ };
87
+ success: {
88
+ type: BooleanConstructor;
89
+ default: boolean;
90
+ };
91
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
92
+ blur: (event: FocusEvent) => any;
93
+ "update:modelValue": (value: string | number) => any;
94
+ clear: () => any;
95
+ focus: (event: FocusEvent) => any;
96
+ validation: (result: {
97
+ valid: boolean;
98
+ errors: string[];
99
+ }) => any;
100
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
101
+ modelValue: {
102
+ type: import('vue').PropType<string | number>;
103
+ default: string;
104
+ };
105
+ type: {
106
+ type: import('vue').PropType<"number" | "text" | "search" | "email" | "password" | "tel" | "url">;
107
+ default: "text";
108
+ };
109
+ name: {
110
+ type: StringConstructor;
111
+ default: undefined;
112
+ };
113
+ id: {
114
+ type: StringConstructor;
115
+ default: undefined;
116
+ };
117
+ label: {
118
+ type: StringConstructor;
119
+ default: undefined;
120
+ };
121
+ placeholder: {
122
+ type: StringConstructor;
123
+ default: undefined;
124
+ };
125
+ autocomplete: {
126
+ type: StringConstructor;
127
+ default: undefined;
128
+ };
129
+ variant: {
130
+ type: import('vue').PropType<import('../..').InputVariant>;
131
+ default: "outline";
132
+ };
133
+ size: {
134
+ type: import('vue').PropType<import('../..').Size>;
135
+ default: "md";
136
+ };
137
+ radius: {
138
+ type: import('vue').PropType<import('../..').Radius>;
139
+ default: "md";
140
+ };
141
+ isDisabled: {
142
+ type: BooleanConstructor;
143
+ default: boolean;
144
+ };
145
+ isReadonly: {
146
+ type: BooleanConstructor;
147
+ default: boolean;
148
+ };
149
+ isClearable: {
150
+ type: BooleanConstructor;
151
+ default: boolean;
152
+ };
153
+ schema: {
154
+ type: import('vue').PropType<import('@standard-schema/spec').StandardSchemaV1>;
155
+ default: undefined;
156
+ };
157
+ validateOn: {
158
+ type: import('vue').PropType<"blur" | "input" | "debounce">;
159
+ default: "blur";
160
+ };
161
+ debounceMs: {
162
+ type: NumberConstructor;
163
+ default: number;
164
+ };
165
+ message: {
166
+ type: StringConstructor;
167
+ default: undefined;
168
+ };
169
+ error: {
170
+ type: BooleanConstructor;
171
+ default: boolean;
172
+ };
173
+ success: {
174
+ type: BooleanConstructor;
175
+ default: boolean;
176
+ };
177
+ }>> & Readonly<{
178
+ onBlur?: ((event: FocusEvent) => any) | undefined;
179
+ "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
180
+ onClear?: (() => any) | undefined;
181
+ onFocus?: ((event: FocusEvent) => any) | undefined;
182
+ onValidation?: ((result: {
183
+ valid: boolean;
184
+ errors: string[];
185
+ }) => any) | undefined;
186
+ }>, {
187
+ variant: import('../..').InputVariant;
188
+ size: import('../..').Size;
189
+ radius: import('../..').Radius;
190
+ success: boolean;
191
+ label: string;
192
+ modelValue: string | number;
193
+ type: "number" | "text" | "search" | "email" | "password" | "tel" | "url";
194
+ isDisabled: boolean;
195
+ placeholder: string;
196
+ name: string;
197
+ id: string;
198
+ isClearable: boolean;
199
+ autocomplete: string;
200
+ message: string;
201
+ error: boolean;
202
+ isReadonly: boolean;
203
+ schema: import('@standard-schema/spec').StandardSchemaV1<unknown, unknown>;
204
+ validateOn: "blur" | "input" | "debounce";
205
+ debounceMs: number;
206
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
207
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
208
+ export default _default;
209
+ type __VLS_WithTemplateSlots<T, S> = T & {
210
+ new (): {
211
+ $slots: S;
212
+ };
213
+ };
@@ -0,0 +1,83 @@
1
+ import { StandardSchemaV1 } from '@standard-schema/spec';
2
+ import { PropType } from 'vue';
3
+ type InputType = 'text' | 'password' | 'email' | 'number' | 'tel' | 'url' | 'search';
4
+ type ValidateOn = 'input' | 'blur' | 'debounce';
5
+ export declare const inputProps: {
6
+ modelValue: {
7
+ type: PropType<string | number>;
8
+ default: string;
9
+ };
10
+ type: {
11
+ type: PropType<InputType>;
12
+ default: "text";
13
+ };
14
+ name: {
15
+ type: StringConstructor;
16
+ default: undefined;
17
+ };
18
+ id: {
19
+ type: StringConstructor;
20
+ default: undefined;
21
+ };
22
+ label: {
23
+ type: StringConstructor;
24
+ default: undefined;
25
+ };
26
+ placeholder: {
27
+ type: StringConstructor;
28
+ default: undefined;
29
+ };
30
+ autocomplete: {
31
+ type: StringConstructor;
32
+ default: undefined;
33
+ };
34
+ variant: {
35
+ type: PropType<import('../..').InputVariant>;
36
+ default: "outline";
37
+ };
38
+ size: {
39
+ type: PropType<import('../..').Size>;
40
+ default: "md";
41
+ };
42
+ radius: {
43
+ type: PropType<import('../..').Radius>;
44
+ default: "md";
45
+ };
46
+ isDisabled: {
47
+ type: BooleanConstructor;
48
+ default: boolean;
49
+ };
50
+ isReadonly: {
51
+ type: BooleanConstructor;
52
+ default: boolean;
53
+ };
54
+ isClearable: {
55
+ type: BooleanConstructor;
56
+ default: boolean;
57
+ };
58
+ schema: {
59
+ type: PropType<StandardSchemaV1>;
60
+ default: undefined;
61
+ };
62
+ validateOn: {
63
+ type: PropType<ValidateOn>;
64
+ default: "blur";
65
+ };
66
+ debounceMs: {
67
+ type: NumberConstructor;
68
+ default: number;
69
+ };
70
+ message: {
71
+ type: StringConstructor;
72
+ default: undefined;
73
+ };
74
+ error: {
75
+ type: BooleanConstructor;
76
+ default: boolean;
77
+ };
78
+ success: {
79
+ type: BooleanConstructor;
80
+ default: boolean;
81
+ };
82
+ };
83
+ export {};
@@ -0,0 +1,187 @@
1
+ export declare const inputVariants: import('tailwind-variants').TVReturnType<{
2
+ variant: {
3
+ outline: {
4
+ container: string;
5
+ };
6
+ filled: {
7
+ container: string;
8
+ };
9
+ };
10
+ size: {
11
+ sm: {
12
+ container: string;
13
+ };
14
+ md: {
15
+ container: string;
16
+ };
17
+ lg: {
18
+ container: string;
19
+ };
20
+ };
21
+ radius: {
22
+ none: {
23
+ container: string;
24
+ };
25
+ sm: {
26
+ container: string;
27
+ };
28
+ md: {
29
+ container: string;
30
+ };
31
+ lg: {
32
+ container: string;
33
+ };
34
+ full: {
35
+ container: string;
36
+ };
37
+ };
38
+ validationState: {
39
+ error: {
40
+ container: string;
41
+ message: string;
42
+ };
43
+ success: {
44
+ container: string;
45
+ message: string;
46
+ };
47
+ };
48
+ isLabelFloating: {
49
+ true: {
50
+ label: string;
51
+ };
52
+ };
53
+ }, {
54
+ wrapper: string;
55
+ container: string;
56
+ start: string;
57
+ label: string;
58
+ native: string;
59
+ clear: string;
60
+ toggle: string;
61
+ end: string;
62
+ message: string;
63
+ }, undefined, {
64
+ variant: {
65
+ outline: {
66
+ container: string;
67
+ };
68
+ filled: {
69
+ container: string;
70
+ };
71
+ };
72
+ size: {
73
+ sm: {
74
+ container: string;
75
+ };
76
+ md: {
77
+ container: string;
78
+ };
79
+ lg: {
80
+ container: string;
81
+ };
82
+ };
83
+ radius: {
84
+ none: {
85
+ container: string;
86
+ };
87
+ sm: {
88
+ container: string;
89
+ };
90
+ md: {
91
+ container: string;
92
+ };
93
+ lg: {
94
+ container: string;
95
+ };
96
+ full: {
97
+ container: string;
98
+ };
99
+ };
100
+ validationState: {
101
+ error: {
102
+ container: string;
103
+ message: string;
104
+ };
105
+ success: {
106
+ container: string;
107
+ message: string;
108
+ };
109
+ };
110
+ isLabelFloating: {
111
+ true: {
112
+ label: string;
113
+ };
114
+ };
115
+ }, {
116
+ wrapper: string;
117
+ container: string;
118
+ start: string;
119
+ label: string;
120
+ native: string;
121
+ clear: string;
122
+ toggle: string;
123
+ end: string;
124
+ message: string;
125
+ }, import('tailwind-variants').TVReturnType<{
126
+ variant: {
127
+ outline: {
128
+ container: string;
129
+ };
130
+ filled: {
131
+ container: string;
132
+ };
133
+ };
134
+ size: {
135
+ sm: {
136
+ container: string;
137
+ };
138
+ md: {
139
+ container: string;
140
+ };
141
+ lg: {
142
+ container: string;
143
+ };
144
+ };
145
+ radius: {
146
+ none: {
147
+ container: string;
148
+ };
149
+ sm: {
150
+ container: string;
151
+ };
152
+ md: {
153
+ container: string;
154
+ };
155
+ lg: {
156
+ container: string;
157
+ };
158
+ full: {
159
+ container: string;
160
+ };
161
+ };
162
+ validationState: {
163
+ error: {
164
+ container: string;
165
+ message: string;
166
+ };
167
+ success: {
168
+ container: string;
169
+ message: string;
170
+ };
171
+ };
172
+ isLabelFloating: {
173
+ true: {
174
+ label: string;
175
+ };
176
+ };
177
+ }, {
178
+ wrapper: string;
179
+ container: string;
180
+ start: string;
181
+ label: string;
182
+ native: string;
183
+ clear: string;
184
+ toggle: string;
185
+ end: string;
186
+ message: string;
187
+ }, undefined, unknown, unknown, undefined>>;
@@ -0,0 +1 @@
1
+ export { default as Kbd } from './kbd';