@stachelock/ui 0.6.14 → 0.6.15

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.
@@ -743,6 +743,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
743
743
  [x: string]: (...args: never) => any;
744
744
  }>;
745
745
  range: boolean;
746
+ selectText: string;
746
747
  tertiaryLabel: string;
747
748
  successMessage: string;
748
749
  showErrors: boolean;
@@ -772,7 +773,6 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
772
773
  autoApply: boolean;
773
774
  disableMonthYearSelect: boolean;
774
775
  disabledDates: Date[] | ((date: Date) => boolean);
775
- selectText: string;
776
776
  autoPosition: boolean;
777
777
  monthPicker: boolean;
778
778
  timePicker: boolean;
@@ -20,7 +20,7 @@ export interface FormValidationState {
20
20
  }
21
21
  export interface DynamicFormField {
22
22
  name: string;
23
- type: 'text' | 'email' | 'phone' | 'password' | 'number' | 'tel' | 'url' | 'textarea' | 'select' | 'combobox' | 'checkbox' | 'switch' | 'file' | 'date' | 'datetime-local' | 'time';
23
+ type: 'text' | 'email' | 'phone' | 'password' | 'number' | 'tel' | 'url' | 'textarea' | 'select' | 'combobox' | 'checkbox' | 'switch' | 'file' | 'date' | 'datetime-local' | 'time' | 'names' | 'baseInfo' | 'address' | 'selectText';
24
24
  label?: string;
25
25
  placeholder?: string;
26
26
  description?: string;
@@ -58,6 +58,29 @@ export interface DynamicFormField {
58
58
  autoDetectCountry?: boolean;
59
59
  tertiaryLabel?: string;
60
60
  successMessage?: string;
61
+ schema?: unknown;
62
+ requiredFields?: string[];
63
+ use?: string;
64
+ enableVerification?: boolean;
65
+ showSuggestionCount?: boolean;
66
+ allowManualEntry?: boolean;
67
+ select?: {
68
+ label?: string;
69
+ options: Array<{
70
+ label: string;
71
+ value: string;
72
+ }>;
73
+ placeholder?: string;
74
+ };
75
+ text?: {
76
+ label?: string;
77
+ placeholder?: string;
78
+ inputMode?: string;
79
+ maxLength?: number;
80
+ };
81
+ delimiter?: string;
82
+ formatter?: (value: FormValue) => string | undefined;
83
+ showValidCheck?: boolean;
61
84
  condition?: (formData: FormData, field?: DynamicFormField) => boolean;
62
85
  onChange?: (value: FormValue, field: DynamicFormField, formData: FormData) => void;
63
86
  onBlur?: (event: FocusEvent) => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stachelock/ui",
3
- "version": "0.6.14",
3
+ "version": "0.6.15",
4
4
  "description": "A comprehensive Vue 3 UI component library built with Tailwind CSS",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",