@velkymx/vibeui 0.9.0 → 1.0.2

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/AGENTS.md +44 -0
  2. package/CLAUDE.md +48 -0
  3. package/README.md +222 -197
  4. package/dist/purify.es-1D-VntFD.mjs +679 -0
  5. package/dist/src/App.vue.d.ts +3 -0
  6. package/dist/src/components/HelloWorld.vue.d.ts +6 -0
  7. package/dist/src/components/VibeAccordion.vue.d.ts +89 -0
  8. package/dist/{components → src/components}/VibeAlert.vue.d.ts +18 -34
  9. package/dist/src/components/VibeAutocomplete.vue.d.ts +74 -0
  10. package/dist/{components → src/components}/VibeBadge.vue.d.ts +10 -18
  11. package/dist/src/components/VibeBreadcrumb.vue.d.ts +51 -0
  12. package/dist/{components → src/components}/VibeButton.vue.d.ts +13 -17
  13. package/dist/{components → src/components}/VibeButtonGroup.vue.d.ts +10 -18
  14. package/dist/{components → src/components}/VibeCard.vue.d.ts +51 -24
  15. package/dist/{components → src/components}/VibeCarousel.vue.d.ts +27 -49
  16. package/dist/src/components/VibeChartBar.vue.d.ts +61 -0
  17. package/dist/src/components/VibeChartLine.vue.d.ts +70 -0
  18. package/dist/src/components/VibeChartPie.vue.d.ts +34 -0
  19. package/dist/{components → src/components}/VibeCloseButton.vue.d.ts +9 -7
  20. package/dist/{components → src/components}/VibeCol.vue.d.ts +9 -17
  21. package/dist/src/components/VibeCollapse.vue.d.ts +76 -0
  22. package/dist/src/components/VibeContainer.vue.d.ts +36 -0
  23. package/dist/src/components/VibeDataTable.vue.d.ts +131 -0
  24. package/dist/{components → src/components}/VibeDatePicker.vue.d.ts +4 -6
  25. package/dist/{components → src/components}/VibeDraggable.vue.d.ts +9 -13
  26. package/dist/{components → src/components}/VibeDropdown.vue.d.ts +46 -43
  27. package/dist/{components → src/components}/VibeDroppable.vue.d.ts +9 -13
  28. package/dist/{components → src/components}/VibeFileInput.vue.d.ts +14 -20
  29. package/dist/{components → src/components}/VibeFormCheckbox.vue.d.ts +29 -21
  30. package/dist/{components → src/components}/VibeFormDatepicker.vue.d.ts +26 -29
  31. package/dist/{components → src/components}/VibeFormGroup.vue.d.ts +10 -13
  32. package/dist/{components → src/components}/VibeFormInput.vue.d.ts +22 -23
  33. package/dist/{components → src/components}/VibeFormRadio.vue.d.ts +22 -23
  34. package/dist/{components → src/components}/VibeFormSelect.vue.d.ts +27 -33
  35. package/dist/{components → src/components}/VibeFormSpinbutton.vue.d.ts +30 -33
  36. package/dist/{components → src/components}/VibeFormSwitch.vue.d.ts +21 -22
  37. package/dist/{components → src/components}/VibeFormTextarea.vue.d.ts +23 -24
  38. package/dist/{components → src/components}/VibeFormWysiwyg.vue.d.ts +22 -21
  39. package/dist/src/components/VibeHero.vue.d.ts +108 -0
  40. package/dist/{components → src/components}/VibeIcon.vue.d.ts +27 -7
  41. package/dist/{components → src/components}/VibeInputGroup.vue.d.ts +11 -13
  42. package/dist/{components → src/components}/VibeLink.vue.d.ts +14 -18
  43. package/dist/{components → src/components}/VibeListGroup.vue.d.ts +26 -22
  44. package/dist/{components → src/components}/VibeModal.vue.d.ts +29 -45
  45. package/dist/{components → src/components}/VibeNav.vue.d.ts +40 -20
  46. package/dist/{components → src/components}/VibeNavbar.vue.d.ts +12 -19
  47. package/dist/src/components/VibeNavbarBrand.vue.d.ts +34 -0
  48. package/dist/src/components/VibeNavbarNav.vue.d.ts +80 -0
  49. package/dist/{components → src/components}/VibeNavbarToggle.vue.d.ts +7 -5
  50. package/dist/{components → src/components}/VibeOffcanvas.vue.d.ts +28 -43
  51. package/dist/{components → src/components}/VibePagination.vue.d.ts +38 -29
  52. package/dist/{components → src/components}/VibePlaceholder.vue.d.ts +9 -17
  53. package/dist/src/components/VibePopover.vue.d.ts +72 -0
  54. package/dist/src/components/VibeProgress.vue.d.ts +37 -0
  55. package/dist/{components → src/components}/VibeResizable.vue.d.ts +10 -14
  56. package/dist/{components → src/components}/VibeRow.vue.d.ts +9 -17
  57. package/dist/src/components/VibeScrollspy.vue.d.ts +89 -0
  58. package/dist/{components → src/components}/VibeSkeleton.vue.d.ts +2 -1
  59. package/dist/{components → src/components}/VibeSlider.vue.d.ts +4 -5
  60. package/dist/src/components/VibeSortable.vue.d.ts +59 -0
  61. package/dist/{components → src/components}/VibeSpinner.vue.d.ts +4 -7
  62. package/dist/{components → src/components}/VibeStepper.vue.d.ts +32 -31
  63. package/dist/{components → src/components}/VibeTab.vue.d.ts +7 -11
  64. package/dist/src/components/VibeTabContent.vue.d.ts +56 -0
  65. package/dist/{components → src/components}/VibeTabs.vue.d.ts +9 -13
  66. package/dist/{components → src/components}/VibeToast.vue.d.ts +31 -44
  67. package/dist/{components → src/components}/VibeToastHost.vue.d.ts +2 -1
  68. package/dist/src/components/VibeTooltip.vue.d.ts +63 -0
  69. package/dist/src/components/chart/chartColors.d.ts +3 -0
  70. package/dist/src/components/chart/chartResize.d.ts +2 -0
  71. package/dist/src/components/chart/chartTooltip.d.ts +2 -0
  72. package/dist/src/components/chart/chartTypes.d.ts +6 -0
  73. package/dist/src/components/chart/drawBar.d.ts +5 -0
  74. package/dist/src/components/chart/drawLine.d.ts +18 -0
  75. package/dist/src/components/chart/drawPie.d.ts +4 -0
  76. package/dist/{components → src/components}/dndStore.d.ts +1 -0
  77. package/dist/{components → src/components}/index.d.ts +5 -1
  78. package/dist/{composables → src/composables}/useBreakpoints.d.ts +1 -0
  79. package/dist/{composables → src/composables}/useColorMode.d.ts +1 -1
  80. package/dist/src/composables/useId.d.ts +2 -0
  81. package/dist/{directives → src/directives}/vTooltip.d.ts +2 -3
  82. package/dist/src/injectionKeys.d.ts +28 -0
  83. package/dist/{types.d.ts → src/types.d.ts} +21 -2
  84. package/dist/src/utils/safeCss.d.ts +16 -0
  85. package/dist/src/utils/safeHref.d.ts +7 -0
  86. package/dist/src/utils/sanitizeHtml.d.ts +13 -0
  87. package/dist/vibeui.css +2 -1
  88. package/dist/vibeui.es.js +8269 -5855
  89. package/dist/vibeui.umd.js +3 -1
  90. package/docs/README.md +225 -0
  91. package/docs/components/advanced/popover.md +125 -0
  92. package/docs/components/advanced/scrollspy.md +106 -0
  93. package/docs/components/advanced/tooltip.md +90 -0
  94. package/docs/components/card/card.md +223 -0
  95. package/docs/components/charts/chart-bar.md +129 -0
  96. package/docs/components/charts/chart-line.md +136 -0
  97. package/docs/components/charts/chart-pie.md +102 -0
  98. package/docs/components/core/alert.md +94 -0
  99. package/docs/components/core/badge.md +75 -0
  100. package/docs/components/core/button-group.md +99 -0
  101. package/docs/components/core/button.md +127 -0
  102. package/docs/components/core/close-button.md +82 -0
  103. package/docs/components/core/link.md +79 -0
  104. package/docs/components/core/placeholder.md +129 -0
  105. package/docs/components/core/skeleton.md +40 -0
  106. package/docs/components/core/spinner.md +103 -0
  107. package/docs/components/data/datatable.md +435 -0
  108. package/docs/components/hero/hero.md +64 -0
  109. package/docs/components/interactive/accordion.md +121 -0
  110. package/docs/components/interactive/carousel.md +112 -0
  111. package/docs/components/interactive/collapse.md +106 -0
  112. package/docs/components/interactive/date-picker.md +78 -0
  113. package/docs/components/interactive/draggable.md +91 -0
  114. package/docs/components/interactive/dropdown.md +129 -0
  115. package/docs/components/interactive/modal.md +143 -0
  116. package/docs/components/interactive/offcanvas.md +92 -0
  117. package/docs/components/interactive/resizable.md +73 -0
  118. package/docs/components/interactive/slider.md +57 -0
  119. package/docs/components/interactive/sortable.md +52 -0
  120. package/docs/components/interactive/stepper.md +83 -0
  121. package/docs/components/interactive/tabs.md +66 -0
  122. package/docs/components/interactive/toast.md +177 -0
  123. package/docs/components/layout/col.md +117 -0
  124. package/docs/components/layout/container.md +53 -0
  125. package/docs/components/layout/row.md +107 -0
  126. package/docs/components/list/list-group.md +225 -0
  127. package/docs/components/navigation/breadcrumb.md +120 -0
  128. package/docs/components/navigation/nav.md +151 -0
  129. package/docs/components/navigation/navbar.md +108 -0
  130. package/docs/components/navigation/pagination.md +162 -0
  131. package/docs/components/progress/progress.md +188 -0
  132. package/docs/composables/back-button.md +28 -0
  133. package/docs/composables/breakpoints.md +54 -0
  134. package/docs/composables/color-mode.md +179 -0
  135. package/docs/composables/use-form.md +78 -0
  136. package/docs/composables/use-position.md +68 -0
  137. package/docs/composables/use-toast.md +91 -0
  138. package/docs/directives/v-tooltip.md +58 -0
  139. package/docs/forms/README.md +87 -0
  140. package/docs/forms/autocomplete.md +96 -0
  141. package/docs/forms/file-input.md +97 -0
  142. package/docs/forms/form-checkbox.md +100 -0
  143. package/docs/forms/form-datepicker.md +80 -0
  144. package/docs/forms/form-group.md +115 -0
  145. package/docs/forms/form-input.md +112 -0
  146. package/docs/forms/form-radio.md +82 -0
  147. package/docs/forms/form-select.md +98 -0
  148. package/docs/forms/form-spinbutton.md +94 -0
  149. package/docs/forms/form-switch.md +75 -0
  150. package/docs/forms/form-textarea.md +82 -0
  151. package/docs/forms/form-wysiwyg.md +99 -0
  152. package/docs/forms/input-group.md +70 -0
  153. package/docs/forms/validation.md +213 -0
  154. package/docs/getting-started/starter-template.md +136 -0
  155. package/docs/superpowers/plans/2026-05-12-vibe-charts.md +1999 -0
  156. package/docs/superpowers/plans/2026-05-29-e2e-browser-testing.md +615 -0
  157. package/docs/superpowers/specs/2026-05-12-charting-design.md +185 -0
  158. package/docs/superpowers/specs/2026-05-29-e2e-browser-testing-design.md +168 -0
  159. package/docs/utilities/position.md +82 -0
  160. package/docs/versioning.md +57 -0
  161. package/examples/README.md +201 -0
  162. package/examples/album.html +262 -0
  163. package/examples/blog.html +166 -0
  164. package/examples/carousel.html +114 -0
  165. package/examples/checkout.html +275 -0
  166. package/examples/cover.html +89 -0
  167. package/examples/dashboard.html +156 -0
  168. package/examples/index.html +129 -0
  169. package/examples/jumbotron.html +56 -0
  170. package/examples/mobile-dashboard.html +138 -0
  171. package/examples/pricing.html +172 -0
  172. package/examples/product.html +145 -0
  173. package/examples/sidebars.html +166 -0
  174. package/examples/sign-in.html +119 -0
  175. package/examples/starter.html +314 -0
  176. package/examples/sticky-footer-navbar.html +70 -0
  177. package/examples/sticky-footer.html +60 -0
  178. package/examples/test-simple.html +91 -0
  179. package/llms.txt +782 -0
  180. package/package.json +44 -14
  181. package/dist/App.vue.d.ts +0 -2
  182. package/dist/components/HelloWorld.vue.d.ts +0 -5
  183. package/dist/components/VibeAccordion.vue.d.ts +0 -90
  184. package/dist/components/VibeAutocomplete.vue.d.ts +0 -46
  185. package/dist/components/VibeBreadcrumb.vue.d.ts +0 -47
  186. package/dist/components/VibeCollapse.vue.d.ts +0 -84
  187. package/dist/components/VibeContainer.vue.d.ts +0 -44
  188. package/dist/components/VibeDataTable.vue.d.ts +0 -76
  189. package/dist/components/VibeNavbarBrand.vue.d.ts +0 -42
  190. package/dist/components/VibeNavbarNav.vue.d.ts +0 -61
  191. package/dist/components/VibePopover.vue.d.ts +0 -95
  192. package/dist/components/VibeProgress.vue.d.ts +0 -45
  193. package/dist/components/VibeScrollspy.vue.d.ts +0 -77
  194. package/dist/components/VibeSortable.vue.d.ts +0 -40
  195. package/dist/components/VibeTabContent.vue.d.ts +0 -74
  196. package/dist/components/VibeTooltip.vue.d.ts +0 -86
  197. package/dist/composables/useId.d.ts +0 -5
  198. package/dist/types/index.d.ts +0 -6
  199. /package/dist/{composables → src/composables}/useBackButton.d.ts +0 -0
  200. /package/dist/{composables → src/composables}/useForm.d.ts +0 -0
  201. /package/dist/{composables → src/composables}/useFormValidation.d.ts +0 -0
  202. /package/dist/{composables → src/composables}/usePosition.d.ts +0 -0
  203. /package/dist/{composables → src/composables}/useToast.d.ts +0 -0
  204. /package/dist/{index.d.ts → src/index.d.ts} +0 -0
  205. /package/dist/{main.d.ts → src/main.d.ts} +0 -0
@@ -1,19 +1,10 @@
1
1
  import { PropType } from 'vue';
2
- import { FormSelectOption, ValidationState, ValidationRule, ValidatorFunction, Size } from '../types';
3
- declare function __VLS_template(): {
4
- attrs: Partial<{}>;
5
- slots: {
6
- default?(_: {}): any;
7
- };
8
- refs: {};
9
- rootEl: HTMLDivElement;
2
+ import { FormSelectOption, FormSelectOptionValue, ValidationState, ValidationRule, ValidatorFunction, Size } from '../types';
3
+ declare var __VLS_1: {};
4
+ type __VLS_Slots = {} & {
5
+ default?: (props: typeof __VLS_1) => any;
10
6
  };
11
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
12
- declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
13
- modelValue: {
14
- type: PropType<any>;
15
- default: string;
16
- };
7
+ declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
17
8
  id: {
18
9
  type: StringConstructor;
19
10
  default: undefined;
@@ -74,17 +65,17 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
74
65
  type: StringConstructor;
75
66
  default: undefined;
76
67
  };
77
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
78
- "update:modelValue": (...args: any[]) => void;
79
- blur: (...args: any[]) => void;
80
- change: (...args: any[]) => void;
81
- focus: (...args: any[]) => void;
82
- validate: (...args: any[]) => void;
83
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
84
68
  modelValue: {
85
- type: PropType<any>;
86
- default: string;
69
+ type: PropType<string | number | boolean | FormSelectOptionValue[] | null>;
87
70
  };
71
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
72
+ "update:modelValue": (value: FormSelectOptionValue | FormSelectOptionValue[]) => any;
73
+ } & {
74
+ blur: (event: FocusEvent) => any;
75
+ change: (event: Event) => any;
76
+ focus: (event: FocusEvent) => any;
77
+ validate: () => any;
78
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
88
79
  id: {
89
80
  type: StringConstructor;
90
81
  default: undefined;
@@ -145,18 +136,21 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
145
136
  type: StringConstructor;
146
137
  default: undefined;
147
138
  };
139
+ modelValue: {
140
+ type: PropType<string | number | boolean | FormSelectOptionValue[] | null>;
141
+ };
148
142
  }>> & Readonly<{
149
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
150
- onBlur?: ((...args: any[]) => any) | undefined;
151
- onChange?: ((...args: any[]) => any) | undefined;
152
- onFocus?: ((...args: any[]) => any) | undefined;
153
- onValidate?: ((...args: any[]) => any) | undefined;
143
+ "onUpdate:modelValue"?: ((value: FormSelectOptionValue | FormSelectOptionValue[]) => any) | undefined;
144
+ onBlur?: ((event: FocusEvent) => any) | undefined;
145
+ onChange?: ((event: Event) => any) | undefined;
146
+ onFocus?: ((event: FocusEvent) => any) | undefined;
147
+ onValidate?: (() => any) | undefined;
154
148
  }>, {
155
- modelValue: any;
156
149
  label: string;
157
150
  size: Size;
158
151
  disabled: boolean;
159
152
  placeholder: string;
153
+ multiple: boolean;
160
154
  required: boolean;
161
155
  id: string;
162
156
  validationState: ValidationState;
@@ -165,13 +159,13 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
165
159
  validateOn: "blur" | "change";
166
160
  helpText: string;
167
161
  options: FormSelectOption[];
168
- multiple: boolean;
169
162
  selectSize: number;
170
163
  htmlSize: number;
171
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
172
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
164
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
165
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
166
+ declare const _default: typeof __VLS_export;
173
167
  export default _default;
174
- type __VLS_WithTemplateSlots<T, S> = T & {
168
+ type __VLS_WithSlots<T, S> = T & {
175
169
  new (): {
176
170
  $slots: S;
177
171
  };
@@ -1,11 +1,6 @@
1
1
  import { PropType } from 'vue';
2
2
  import { ValidationState, ValidationRule, ValidatorFunction, Size } from '../types';
3
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
4
- modelValue: {
5
- type: NumberConstructor;
6
- default: number;
7
- validator: (value: any) => boolean;
8
- };
3
+ declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
9
4
  id: {
10
5
  type: StringConstructor;
11
6
  default: undefined;
@@ -70,21 +65,20 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
70
65
  type: BooleanConstructor;
71
66
  default: boolean;
72
67
  };
73
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
74
- "update:modelValue": (...args: any[]) => void;
75
- blur: (...args: any[]) => void;
76
- change: (...args: any[]) => void;
77
- focus: (...args: any[]) => void;
78
- input: (...args: any[]) => void;
79
- validate: (...args: any[]) => void;
80
- increment: (...args: any[]) => void;
81
- decrement: (...args: any[]) => void;
82
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
83
68
  modelValue: {
84
- type: NumberConstructor;
85
- default: number;
86
- validator: (value: any) => boolean;
69
+ type: PropType<number>;
87
70
  };
71
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
72
+ "update:modelValue": (value: number) => any;
73
+ } & {
74
+ input: (event: Event) => any;
75
+ blur: (event: FocusEvent) => any;
76
+ change: (event: Event) => any;
77
+ focus: (event: FocusEvent) => any;
78
+ validate: () => any;
79
+ increment: (value: number) => any;
80
+ decrement: (value: number) => any;
81
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
88
82
  id: {
89
83
  type: StringConstructor;
90
84
  default: undefined;
@@ -149,32 +143,35 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
149
143
  type: BooleanConstructor;
150
144
  default: boolean;
151
145
  };
146
+ modelValue: {
147
+ type: PropType<number>;
148
+ };
152
149
  }>> & Readonly<{
153
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
154
- onBlur?: ((...args: any[]) => any) | undefined;
155
- onChange?: ((...args: any[]) => any) | undefined;
156
- onFocus?: ((...args: any[]) => any) | undefined;
157
- onInput?: ((...args: any[]) => any) | undefined;
158
- onValidate?: ((...args: any[]) => any) | undefined;
159
- onIncrement?: ((...args: any[]) => any) | undefined;
160
- onDecrement?: ((...args: any[]) => any) | undefined;
150
+ "onUpdate:modelValue"?: ((value: number) => any) | undefined;
151
+ onInput?: ((event: Event) => any) | undefined;
152
+ onBlur?: ((event: FocusEvent) => any) | undefined;
153
+ onChange?: ((event: Event) => any) | undefined;
154
+ onFocus?: ((event: FocusEvent) => any) | undefined;
155
+ onValidate?: (() => any) | undefined;
156
+ onIncrement?: ((value: number) => any) | undefined;
157
+ onDecrement?: ((value: number) => any) | undefined;
161
158
  }>, {
162
- modelValue: number;
163
159
  label: string;
164
160
  size: Size;
165
161
  disabled: boolean;
166
162
  vertical: boolean;
163
+ wrap: boolean;
167
164
  required: boolean;
168
165
  step: number;
169
166
  id: string;
170
- wrap: boolean;
167
+ min: number;
168
+ max: number;
171
169
  readonly: boolean;
172
170
  validationState: ValidationState;
173
171
  validationMessage: string;
174
172
  validationRules: ValidatorFunction | ValidationRule[];
175
- validateOn: "blur" | "change" | "input";
173
+ validateOn: "input" | "blur" | "change";
176
174
  helpText: string;
177
- min: number;
178
- max: number;
179
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
175
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
176
+ declare const _default: typeof __VLS_export;
180
177
  export default _default;
@@ -1,10 +1,6 @@
1
1
  import { PropType } from 'vue';
2
2
  import { ValidationState, ValidationRule, ValidatorFunction } from '../types';
3
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
4
- modelValue: {
5
- type: BooleanConstructor;
6
- default: boolean;
7
- };
3
+ declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
8
4
  id: {
9
5
  type: StringConstructor;
10
6
  default: undefined;
@@ -45,17 +41,17 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
45
41
  type: StringConstructor;
46
42
  default: undefined;
47
43
  };
48
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
49
- "update:modelValue": (...args: any[]) => void;
50
- blur: (...args: any[]) => void;
51
- change: (...args: any[]) => void;
52
- focus: (...args: any[]) => void;
53
- validate: (...args: any[]) => void;
54
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
55
44
  modelValue: {
56
- type: BooleanConstructor;
57
- default: boolean;
45
+ type: PropType<boolean>;
58
46
  };
47
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
48
+ "update:modelValue": (value: boolean) => any;
49
+ } & {
50
+ blur: (event: FocusEvent) => any;
51
+ change: (event: Event) => any;
52
+ focus: (event: FocusEvent) => any;
53
+ validate: () => any;
54
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
59
55
  id: {
60
56
  type: StringConstructor;
61
57
  default: undefined;
@@ -96,16 +92,19 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
96
92
  type: StringConstructor;
97
93
  default: undefined;
98
94
  };
95
+ modelValue: {
96
+ type: PropType<boolean>;
97
+ };
99
98
  }>> & Readonly<{
100
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
101
- onBlur?: ((...args: any[]) => any) | undefined;
102
- onChange?: ((...args: any[]) => any) | undefined;
103
- onFocus?: ((...args: any[]) => any) | undefined;
104
- onValidate?: ((...args: any[]) => any) | undefined;
99
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
100
+ onBlur?: ((event: FocusEvent) => any) | undefined;
101
+ onChange?: ((event: Event) => any) | undefined;
102
+ onFocus?: ((event: FocusEvent) => any) | undefined;
103
+ onValidate?: (() => any) | undefined;
105
104
  }>, {
106
- modelValue: boolean;
107
105
  label: string;
108
106
  disabled: boolean;
107
+ inline: boolean;
109
108
  required: boolean;
110
109
  id: string;
111
110
  validationState: ValidationState;
@@ -113,6 +112,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
113
112
  validationRules: ValidatorFunction | ValidationRule[];
114
113
  validateOn: "blur" | "change";
115
114
  helpText: string;
116
- inline: boolean;
117
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
115
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
116
+ declare const _default: typeof __VLS_export;
118
117
  export default _default;
@@ -1,10 +1,6 @@
1
1
  import { PropType } from 'vue';
2
2
  import { ValidationState, ValidationRule, ValidatorFunction, Size } from '../types';
3
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
4
- modelValue: {
5
- type: StringConstructor;
6
- default: string;
7
- };
3
+ declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
8
4
  id: {
9
5
  type: StringConstructor;
10
6
  default: undefined;
@@ -69,18 +65,18 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
69
65
  type: BooleanConstructor;
70
66
  default: boolean;
71
67
  };
72
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
73
- "update:modelValue": (...args: any[]) => void;
74
- blur: (...args: any[]) => void;
75
- change: (...args: any[]) => void;
76
- focus: (...args: any[]) => void;
77
- input: (...args: any[]) => void;
78
- validate: (...args: any[]) => void;
79
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
80
68
  modelValue: {
81
- type: StringConstructor;
82
- default: string;
69
+ type: PropType<string>;
83
70
  };
71
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
72
+ "update:modelValue": (value: string) => any;
73
+ } & {
74
+ input: (event: Event) => any;
75
+ blur: (event: FocusEvent) => any;
76
+ change: (event: Event) => any;
77
+ focus: (event: FocusEvent) => any;
78
+ validate: () => any;
79
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
84
80
  id: {
85
81
  type: StringConstructor;
86
82
  default: undefined;
@@ -145,15 +141,17 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
145
141
  type: BooleanConstructor;
146
142
  default: boolean;
147
143
  };
144
+ modelValue: {
145
+ type: PropType<string>;
146
+ };
148
147
  }>> & Readonly<{
149
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
150
- onBlur?: ((...args: any[]) => any) | undefined;
151
- onChange?: ((...args: any[]) => any) | undefined;
152
- onFocus?: ((...args: any[]) => any) | undefined;
153
- onInput?: ((...args: any[]) => any) | undefined;
154
- onValidate?: ((...args: any[]) => any) | undefined;
148
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
149
+ onInput?: ((event: Event) => any) | undefined;
150
+ onBlur?: ((event: FocusEvent) => any) | undefined;
151
+ onChange?: ((event: Event) => any) | undefined;
152
+ onFocus?: ((event: FocusEvent) => any) | undefined;
153
+ onValidate?: (() => any) | undefined;
155
154
  }>, {
156
- modelValue: string;
157
155
  label: string;
158
156
  size: Size;
159
157
  disabled: boolean;
@@ -164,11 +162,12 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
164
162
  validationState: ValidationState;
165
163
  validationMessage: string;
166
164
  validationRules: ValidatorFunction | ValidationRule[];
167
- validateOn: "blur" | "change" | "input";
165
+ validateOn: "input" | "blur" | "change";
168
166
  helpText: string;
169
167
  rows: string | number;
170
168
  maxlength: string | number;
171
169
  noResize: boolean;
172
170
  showCharCount: boolean;
173
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
171
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
172
+ declare const _default: typeof __VLS_export;
174
173
  export default _default;
@@ -1,13 +1,13 @@
1
1
  import { PropType } from 'vue';
2
- import { ValidationState, ValidationRule, ValidatorFunction } from '../types';
3
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
+ import { ValidationState, ValidationRule, ValidatorFunction, ComponentError } from '../types';
3
+ declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
4
4
  modelValue: {
5
5
  type: StringConstructor;
6
6
  default: string;
7
7
  };
8
8
  id: {
9
9
  type: StringConstructor;
10
- default: () => string;
10
+ default: undefined;
11
11
  };
12
12
  label: {
13
13
  type: StringConstructor;
@@ -65,13 +65,14 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
65
65
  type: StringConstructor;
66
66
  default: string;
67
67
  };
68
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
69
- "update:modelValue": (...args: any[]) => void;
70
- blur: (...args: any[]) => void;
71
- change: (...args: any[]) => void;
72
- focus: (...args: any[]) => void;
73
- validate: (...args: any[]) => void;
74
- ready: (...args: any[]) => void;
68
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
69
+ "update:modelValue": (value: string) => any;
70
+ "component-error": (error: ComponentError) => any;
71
+ blur: () => any;
72
+ change: () => any;
73
+ focus: () => any;
74
+ validate: () => any;
75
+ ready: (instance: unknown) => any;
75
76
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
76
77
  modelValue: {
77
78
  type: StringConstructor;
@@ -79,7 +80,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
79
80
  };
80
81
  id: {
81
82
  type: StringConstructor;
82
- default: () => string;
83
+ default: undefined;
83
84
  };
84
85
  label: {
85
86
  type: StringConstructor;
@@ -138,18 +139,20 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
138
139
  default: string;
139
140
  };
140
141
  }>> & Readonly<{
141
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
142
- onBlur?: ((...args: any[]) => any) | undefined;
143
- onChange?: ((...args: any[]) => any) | undefined;
144
- onFocus?: ((...args: any[]) => any) | undefined;
145
- onValidate?: ((...args: any[]) => any) | undefined;
146
- onReady?: ((...args: any[]) => any) | undefined;
142
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
143
+ "onComponent-error"?: ((error: ComponentError) => any) | undefined;
144
+ onBlur?: (() => any) | undefined;
145
+ onChange?: (() => any) | undefined;
146
+ onFocus?: (() => any) | undefined;
147
+ onValidate?: (() => any) | undefined;
148
+ onReady?: ((instance: unknown) => any) | undefined;
147
149
  }>, {
148
150
  modelValue: string;
149
151
  label: string;
150
152
  disabled: boolean;
151
153
  placeholder: string;
152
154
  height: string;
155
+ toolbar: string | boolean | unknown[];
153
156
  required: boolean;
154
157
  theme: "snow" | "bubble";
155
158
  id: string;
@@ -159,9 +162,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
159
162
  validationRules: ValidatorFunction | ValidationRule[];
160
163
  validateOn: "blur" | "change";
161
164
  helpText: string;
162
- toolbar: string | boolean | unknown[];
163
165
  mobileToolbar: string | boolean | unknown[];
164
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
165
- editorContainer: HTMLDivElement;
166
- }, HTMLDivElement>;
166
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
167
+ declare const _default: typeof __VLS_export;
167
168
  export default _default;
@@ -0,0 +1,108 @@
1
+ import { PropType } from 'vue';
2
+ import { Variant, Tag, ContainerType } from '../types';
3
+ declare var __VLS_8: {};
4
+ type __VLS_Slots = {} & {
5
+ default?: (props: typeof __VLS_8) => any;
6
+ };
7
+ declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
8
+ variant: {
9
+ type: () => Variant;
10
+ default: undefined;
11
+ };
12
+ textVariant: {
13
+ type: () => Variant;
14
+ default: undefined;
15
+ };
16
+ border: {
17
+ type: () => Variant;
18
+ default: undefined;
19
+ };
20
+ align: {
21
+ type: () => "start" | "center" | "end";
22
+ default: string;
23
+ };
24
+ fluid: {
25
+ type: PropType<boolean | ContainerType>;
26
+ default: boolean;
27
+ };
28
+ minHeight: {
29
+ type: StringConstructor;
30
+ default: undefined;
31
+ };
32
+ bgImage: {
33
+ type: StringConstructor;
34
+ default: undefined;
35
+ };
36
+ overlay: {
37
+ type: (StringConstructor | BooleanConstructor)[];
38
+ default: boolean;
39
+ };
40
+ gradient: {
41
+ type: StringConstructor;
42
+ default: undefined;
43
+ };
44
+ tag: {
45
+ type: () => Tag;
46
+ default: string;
47
+ };
48
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
49
+ variant: {
50
+ type: () => Variant;
51
+ default: undefined;
52
+ };
53
+ textVariant: {
54
+ type: () => Variant;
55
+ default: undefined;
56
+ };
57
+ border: {
58
+ type: () => Variant;
59
+ default: undefined;
60
+ };
61
+ align: {
62
+ type: () => "start" | "center" | "end";
63
+ default: string;
64
+ };
65
+ fluid: {
66
+ type: PropType<boolean | ContainerType>;
67
+ default: boolean;
68
+ };
69
+ minHeight: {
70
+ type: StringConstructor;
71
+ default: undefined;
72
+ };
73
+ bgImage: {
74
+ type: StringConstructor;
75
+ default: undefined;
76
+ };
77
+ overlay: {
78
+ type: (StringConstructor | BooleanConstructor)[];
79
+ default: boolean;
80
+ };
81
+ gradient: {
82
+ type: StringConstructor;
83
+ default: undefined;
84
+ };
85
+ tag: {
86
+ type: () => Tag;
87
+ default: string;
88
+ };
89
+ }>> & Readonly<{}>, {
90
+ border: Variant;
91
+ variant: Variant;
92
+ tag: Tag;
93
+ overlay: string | boolean;
94
+ fluid: boolean | ContainerType;
95
+ textVariant: Variant;
96
+ align: "start" | "end" | "center";
97
+ minHeight: string;
98
+ bgImage: string;
99
+ gradient: string;
100
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
101
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
102
+ declare const _default: typeof __VLS_export;
103
+ export default _default;
104
+ type __VLS_WithSlots<T, S> = T & {
105
+ new (): {
106
+ $slots: S;
107
+ };
108
+ };
@@ -1,5 +1,6 @@
1
1
  import { PropType } from 'vue';
2
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
+ import { ComponentError } from '../types';
3
+ declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
3
4
  icon: {
4
5
  type: StringConstructor;
5
6
  required: true;
@@ -32,9 +33,17 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
32
33
  type: PropType<90 | 180 | 270>;
33
34
  default: undefined;
34
35
  };
35
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
36
- "component-error": (...args: any[]) => void;
37
- click: (...args: any[]) => void;
36
+ ariaHidden: {
37
+ type: BooleanConstructor;
38
+ default: boolean;
39
+ };
40
+ ariaLabel: {
41
+ type: StringConstructor;
42
+ default: undefined;
43
+ };
44
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
45
+ "component-error": (error: ComponentError) => any;
46
+ click: (event: MouseEvent) => any;
38
47
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
39
48
  icon: {
40
49
  type: StringConstructor;
@@ -68,16 +77,27 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
68
77
  type: PropType<90 | 180 | 270>;
69
78
  default: undefined;
70
79
  };
80
+ ariaHidden: {
81
+ type: BooleanConstructor;
82
+ default: boolean;
83
+ };
84
+ ariaLabel: {
85
+ type: StringConstructor;
86
+ default: undefined;
87
+ };
71
88
  }>> & Readonly<{
72
- "onComponent-error"?: ((...args: any[]) => any) | undefined;
73
- onClick?: ((...args: any[]) => any) | undefined;
89
+ "onComponent-error"?: ((error: ComponentError) => any) | undefined;
90
+ onClick?: ((event: MouseEvent) => any) | undefined;
74
91
  }>, {
75
92
  color: string;
76
93
  size: "sm" | "lg" | "1x" | "2x" | "3x" | "4x" | "5x";
94
+ ariaLabel: string;
77
95
  fontSize: string;
78
96
  customClass: string;
79
97
  flipH: boolean;
80
98
  flipV: boolean;
81
99
  rotate: 90 | 180 | 270;
82
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLElement>;
100
+ ariaHidden: boolean;
101
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
102
+ declare const _default: typeof __VLS_export;
83
103
  export default _default;
@@ -1,17 +1,14 @@
1
1
  import { PropType } from 'vue';
2
2
  import { Size, Tag } from '../types';
3
- declare function __VLS_template(): {
4
- attrs: Partial<{}>;
5
- slots: {
6
- prepend?(_: {}): any;
7
- default?(_: {}): any;
8
- append?(_: {}): any;
9
- };
10
- refs: {};
11
- rootEl: any;
3
+ declare var __VLS_8: {}, __VLS_10: {}, __VLS_12: {};
4
+ type __VLS_Slots = {} & {
5
+ prepend?: (props: typeof __VLS_8) => any;
6
+ } & {
7
+ default?: (props: typeof __VLS_10) => any;
8
+ } & {
9
+ append?: (props: typeof __VLS_12) => any;
12
10
  };
13
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
14
- declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
11
+ declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
15
12
  size: {
16
13
  type: PropType<Size>;
17
14
  default: undefined;
@@ -51,9 +48,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
51
48
  prepend: string;
52
49
  append: string;
53
50
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
54
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
51
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
52
+ declare const _default: typeof __VLS_export;
55
53
  export default _default;
56
- type __VLS_WithTemplateSlots<T, S> = T & {
54
+ type __VLS_WithSlots<T, S> = T & {
57
55
  new (): {
58
56
  $slots: S;
59
57
  };