sprintify-ui 0.5.11 → 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 (61) hide show
  1. package/dist/sprintify-ui.es.js +16157 -17178
  2. package/dist/style.css +1 -1
  3. package/dist/tailwindcss/index.js +1 -0
  4. package/dist/types/src/components/BaseAddressForm.vue.d.ts +0 -5
  5. package/dist/types/src/components/BaseAutocomplete.vue.d.ts +10 -1
  6. package/dist/types/src/components/BaseAutocompleteFetch.vue.d.ts +10 -1
  7. package/dist/types/src/components/BaseAvatar.vue.d.ts +18 -0
  8. package/dist/types/src/components/BaseBelongsTo.vue.d.ts +9 -0
  9. package/dist/types/src/components/BaseBelongsToFetch.vue.d.ts +9 -0
  10. package/dist/types/src/components/BaseCalendar.vue.d.ts +2 -2
  11. package/dist/types/src/components/BaseClipboard.vue.d.ts +0 -1
  12. package/dist/types/src/components/BaseDisplayRelativeTime.vue.d.ts +3 -4
  13. package/dist/types/src/components/BaseDropdown.vue.d.ts +12 -35
  14. package/dist/types/src/components/BaseDropdownAutocomplete.vue.d.ts +5 -15
  15. package/dist/types/src/components/BaseIconPicker.vue.d.ts +9 -9
  16. package/dist/types/src/components/BaseInput.vue.d.ts +2 -2
  17. package/dist/types/src/components/BaseInputLabel.vue.d.ts +0 -1
  18. package/dist/types/src/components/BaseInputPercent.vue.d.ts +2 -2
  19. package/dist/types/src/components/BaseLoadingCover.vue.d.ts +2 -2
  20. package/dist/types/src/components/BaseMediaLibrary.vue.d.ts +1 -1
  21. package/dist/types/src/components/BaseMenu.vue.d.ts +14 -5
  22. package/dist/types/src/components/BaseModalCenter.vue.d.ts +1 -1
  23. package/dist/types/src/components/BaseModalSide.vue.d.ts +1 -1
  24. package/dist/types/src/components/BaseRichText.vue.d.ts +1 -1
  25. package/dist/types/src/components/BaseSelect.vue.d.ts +1 -1
  26. package/dist/types/src/components/BaseTableColumn.vue.d.ts +2 -2
  27. package/dist/types/src/components/BaseTagAutocomplete.vue.d.ts +10 -1
  28. package/dist/types/src/components/BaseTagAutocompleteFetch.vue.d.ts +10 -1
  29. package/dist/types/src/components/BaseTextareaAutoresize.vue.d.ts +1 -1
  30. package/dist/types/src/components/BaseTooltip.vue.d.ts +19 -0
  31. package/dist/types/src/components/index.d.ts +1 -2
  32. package/dist/types/src/composables/tooltip.d.ts +7 -0
  33. package/package.json +2 -3
  34. package/src/assets/main.css +0 -1
  35. package/src/components/BaseAddressForm.vue +1 -2
  36. package/src/components/BaseAutocomplete.vue +27 -5
  37. package/src/components/BaseAutocompleteFetch.vue +5 -0
  38. package/src/components/BaseAvatar.vue +42 -2
  39. package/src/components/BaseAvatarGroup.stories.js +1 -1
  40. package/src/components/BaseAvatarGroup.vue +2 -2
  41. package/src/components/BaseBelongsTo.vue +5 -0
  42. package/src/components/BaseBelongsToFetch.vue +5 -0
  43. package/src/components/BaseClipboard.vue +56 -34
  44. package/src/components/BaseCounter.vue +1 -1
  45. package/src/components/BaseDataTable.vue +3 -1
  46. package/src/components/BaseDatePicker.vue +4 -4
  47. package/src/components/BaseDisplayRelativeTime.vue +15 -12
  48. package/src/components/BaseDropdown.stories.js +22 -65
  49. package/src/components/BaseDropdown.vue +37 -243
  50. package/src/components/BaseDropdownAutocomplete.vue +5 -30
  51. package/src/components/BaseHeader.vue +0 -1
  52. package/src/components/BaseInputLabel.vue +14 -11
  53. package/src/components/BaseLayoutNotificationDropdown.vue +1 -2
  54. package/src/components/BaseMenu.vue +121 -111
  55. package/src/components/BaseTagAutocomplete.vue +19 -2
  56. package/src/components/BaseTagAutocompleteFetch.vue +5 -0
  57. package/src/components/BaseTooltip.vue +40 -0
  58. package/src/components/index.ts +0 -2
  59. package/src/composables/tooltip.ts +43 -0
  60. package/dist/types/src/components/BaseClickOutside.vue.d.ts +0 -28
  61. package/src/components/BaseClickOutside.vue +0 -37
@@ -1,10 +1,9 @@
1
- import 'tippy.js/dist/tippy.css';
2
1
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
3
2
  value: {
4
3
  required: true;
5
4
  type: StringConstructor;
6
5
  };
7
- showTooltip: {
6
+ tooltip: {
8
7
  default: boolean;
9
8
  type: BooleanConstructor;
10
9
  };
@@ -21,7 +20,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
21
20
  required: true;
22
21
  type: StringConstructor;
23
22
  };
24
- showTooltip: {
23
+ tooltip: {
25
24
  default: boolean;
26
25
  type: BooleanConstructor;
27
26
  };
@@ -34,9 +33,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
34
33
  type: StringConstructor;
35
34
  };
36
35
  }>>, {
36
+ tooltip: boolean;
37
37
  as: string;
38
38
  timeZone: string;
39
- showTooltip: boolean;
40
39
  }, {}>, {
41
40
  default?(_: {
42
41
  readableDate: string;
@@ -1,16 +1,6 @@
1
+ import { Placement } from '@floating-ui/vue';
1
2
  import { PropType } from 'vue';
2
- declare function toggle(): void;
3
- declare function open(): void;
4
- declare function close(): void;
5
3
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
6
- placement: {
7
- type: PropType<"top-start" | "top-end" | "bottom-start" | "bottom-end">;
8
- default(): string;
9
- };
10
- padding: {
11
- default: number;
12
- type: NumberConstructor;
13
- };
14
4
  animated: {
15
5
  default: boolean;
16
6
  type: BooleanConstructor;
@@ -19,22 +9,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
19
9
  default: boolean;
20
10
  type: BooleanConstructor;
21
11
  };
22
- }, {
23
- open: typeof open;
24
- close: typeof close;
25
- toggle: typeof toggle;
26
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
27
- close: (...args: any[]) => void;
28
- open: (...args: any[]) => void;
29
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
30
12
  placement: {
31
- type: PropType<"top-start" | "top-end" | "bottom-start" | "bottom-end">;
32
- default(): string;
33
- };
34
- padding: {
35
- default: number;
36
- type: NumberConstructor;
13
+ default: string;
14
+ type: PropType<Placement>;
37
15
  };
16
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
38
17
  animated: {
39
18
  default: boolean;
40
19
  type: BooleanConstructor;
@@ -43,21 +22,19 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
43
22
  default: boolean;
44
23
  type: BooleanConstructor;
45
24
  };
46
- }>> & {
47
- onClose?: ((...args: any[]) => any) | undefined;
48
- onOpen?: ((...args: any[]) => any) | undefined;
49
- }, {
50
- placement: "top-start" | "top-end" | "bottom-start" | "bottom-end";
51
- padding: number;
25
+ placement: {
26
+ default: string;
27
+ type: PropType<Placement>;
28
+ };
29
+ }>>, {
30
+ placement: Placement;
52
31
  animated: boolean;
53
32
  keepAlive: boolean;
54
33
  }, {}>, {
55
34
  button?(_: {}): any;
56
35
  dropdown?(_: {
57
- showDropdown: boolean;
58
- close: typeof close;
59
- open: typeof open;
60
- toggle: typeof toggle;
36
+ close: any;
37
+ opened: any;
61
38
  }): any;
62
39
  }>;
63
40
  export default _default;
@@ -1,5 +1,6 @@
1
1
  import { PropType } from 'vue';
2
2
  import { Option, SelectConfiguration } from '@/types';
3
+ import { Placement } from '@floating-ui/vue';
3
4
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
4
5
  modelValue: {
5
6
  type: PropType<Option | Option[] | null | undefined>;
@@ -38,20 +39,15 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
38
39
  type: StringConstructor;
39
40
  };
40
41
  placement: {
41
- type: PropType<"top-start" | "top-end" | "bottom-start" | "bottom-end">;
42
+ type: PropType<Placement>;
42
43
  default: undefined;
43
44
  };
44
- padding: {
45
- default: undefined;
46
- type: NumberConstructor;
47
- };
48
45
  select: {
49
46
  default: undefined;
50
47
  type: PropType<SelectConfiguration | undefined>;
51
48
  };
52
49
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
53
50
  "update:model-value": (...args: any[]) => void;
54
- close: (...args: any[]) => void;
55
51
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
56
52
  modelValue: {
57
53
  type: PropType<Option | Option[] | null | undefined>;
@@ -90,12 +86,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
90
86
  type: StringConstructor;
91
87
  };
92
88
  placement: {
93
- type: PropType<"top-start" | "top-end" | "bottom-start" | "bottom-end">;
94
- default: undefined;
95
- };
96
- padding: {
89
+ type: PropType<Placement>;
97
90
  default: undefined;
98
- type: NumberConstructor;
99
91
  };
100
92
  select: {
101
93
  default: undefined;
@@ -103,20 +95,18 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
103
95
  };
104
96
  }>> & {
105
97
  "onUpdate:model-value"?: ((...args: any[]) => any) | undefined;
106
- onClose?: ((...args: any[]) => any) | undefined;
107
98
  }, {
108
99
  required: boolean;
109
100
  select: SelectConfiguration | undefined;
110
- placement: "top-start" | "top-end" | "bottom-start" | "bottom-end";
111
- modelValue: Option | Option[] | null | undefined;
112
101
  options: Option[] | undefined;
102
+ placement: Placement;
103
+ modelValue: Option | Option[] | null | undefined;
113
104
  labelKey: string;
114
105
  valueKey: string;
115
106
  size: "base" | "xs" | "sm";
116
107
  multiple: boolean;
117
108
  emptyOptionLabel: string;
118
109
  url: string;
119
- padding: number;
120
110
  }, {}>, {
121
111
  button?(_: {
122
112
  newValue: any;
@@ -1,12 +1,12 @@
1
1
  declare const _default: import("vue").DefineComponent<{
2
- maxWidth: {
3
- type: import("vue").PropType<string>;
4
- default: string;
5
- };
6
2
  modelValue: {
7
3
  type: import("vue").PropType<string | null>;
8
4
  default: null;
9
5
  };
6
+ maxWidth: {
7
+ type: import("vue").PropType<string>;
8
+ default: string;
9
+ };
10
10
  collection: {
11
11
  type: import("vue").PropType<string>;
12
12
  default: string;
@@ -14,14 +14,14 @@ declare const _default: import("vue").DefineComponent<{
14
14
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
15
15
  "update:modelValue": (...args: any[]) => void;
16
16
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
17
- maxWidth: {
18
- type: import("vue").PropType<string>;
19
- default: string;
20
- };
21
17
  modelValue: {
22
18
  type: import("vue").PropType<string | null>;
23
19
  default: null;
24
20
  };
21
+ maxWidth: {
22
+ type: import("vue").PropType<string>;
23
+ default: string;
24
+ };
25
25
  collection: {
26
26
  type: import("vue").PropType<string>;
27
27
  default: string;
@@ -29,8 +29,8 @@ declare const _default: import("vue").DefineComponent<{
29
29
  }>> & {
30
30
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
31
31
  }, {
32
- maxWidth: string;
33
32
  modelValue: string | null;
33
+ maxWidth: string;
34
34
  collection: string;
35
35
  }, {}>;
36
36
  export default _default;
@@ -77,9 +77,9 @@ declare const _default: import("vue").DefineComponent<{
77
77
  focus: typeof focus;
78
78
  blur: typeof blur;
79
79
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
80
- "update:modelValue": (...args: any[]) => void;
81
- focus: (...args: any[]) => void;
82
80
  blur: (...args: any[]) => void;
81
+ focus: (...args: any[]) => void;
82
+ "update:modelValue": (...args: any[]) => void;
83
83
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
84
84
  modelValue: {
85
85
  default: string;
@@ -1,5 +1,4 @@
1
1
  import { PropType } from 'vue';
2
- import 'tippy.js/dist/tippy.css';
3
2
  declare const _default: import("vue").DefineComponent<{
4
3
  required: {
5
4
  default: boolean;
@@ -62,9 +62,9 @@ declare const _default: import("vue").DefineComponent<{
62
62
  focus: typeof focus;
63
63
  blur: typeof blur;
64
64
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
65
- "update:modelValue": (...args: any[]) => void;
66
- focus: (...args: any[]) => void;
67
65
  blur: (...args: any[]) => void;
66
+ focus: (...args: any[]) => void;
67
+ "update:modelValue": (...args: any[]) => void;
68
68
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
69
69
  /**
70
70
  * The value of the input. Can be a number or null.
@@ -86,9 +86,9 @@ declare const _default: import("vue").DefineComponent<{
86
86
  type: NumberConstructor;
87
87
  };
88
88
  }>>, {
89
- delay: number;
90
- duration: string;
91
89
  modelValue: boolean;
90
+ duration: string;
91
+ delay: number;
92
92
  size: "sm" | "lg";
93
93
  twBackdrop: string;
94
94
  twIcon: string;
@@ -74,9 +74,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
74
74
  };
75
75
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
76
76
  success: (...args: any[]) => void;
77
- "update:modelValue": (...args: any[]) => void;
78
77
  start: (...args: any[]) => void;
79
78
  end: (...args: any[]) => void;
79
+ "update:modelValue": (...args: any[]) => void;
80
80
  fail: (...args: any[]) => void;
81
81
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
82
82
  modelValue: {
@@ -5,14 +5,18 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
5
5
  default: undefined;
6
6
  type: PropType<ActionItem[]>;
7
7
  };
8
- position: {
8
+ placement: {
9
9
  default: string;
10
- type: PropType<"custom" | "bottom-left" | "bottom-right">;
10
+ type: PropType<"top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end">;
11
11
  };
12
12
  size: {
13
13
  default: string;
14
14
  type: PropType<"xs" | "sm" | "md">;
15
15
  };
16
+ width: {
17
+ default: number;
18
+ type: NumberConstructor;
19
+ };
16
20
  twMenu: {
17
21
  default: string;
18
22
  type: PropType<string | string[]>;
@@ -26,14 +30,18 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
26
30
  default: undefined;
27
31
  type: PropType<ActionItem[]>;
28
32
  };
29
- position: {
33
+ placement: {
30
34
  default: string;
31
- type: PropType<"custom" | "bottom-left" | "bottom-right">;
35
+ type: PropType<"top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end">;
32
36
  };
33
37
  size: {
34
38
  default: string;
35
39
  type: PropType<"xs" | "sm" | "md">;
36
40
  };
41
+ width: {
42
+ default: number;
43
+ type: NumberConstructor;
44
+ };
37
45
  twMenu: {
38
46
  default: string;
39
47
  type: PropType<string | string[]>;
@@ -43,10 +51,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
43
51
  type: (ObjectConstructor | ArrayConstructor | StringConstructor)[];
44
52
  };
45
53
  }>>, {
54
+ placement: "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end";
55
+ width: number;
46
56
  size: "xs" | "sm" | "md";
47
57
  items: ActionItem[];
48
58
  twButton: string | Record<string, any> | unknown[];
49
- position: "custom" | "bottom-left" | "bottom-right";
50
59
  twMenu: string | string[];
51
60
  }, {}>, {
52
61
  button?(_: {
@@ -62,10 +62,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
62
62
  }>> & {
63
63
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
64
64
  }, {
65
- maxWidth: string;
66
65
  modelValue: boolean;
67
66
  closeOnOutsideClick: boolean;
68
67
  clipped: boolean;
68
+ maxWidth: string;
69
69
  twBackdrop: string | string[];
70
70
  verticalAlign: string;
71
71
  showCloseButton: boolean;
@@ -46,10 +46,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
46
46
  }>> & {
47
47
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
48
48
  }, {
49
- maxWidth: string;
50
49
  modelValue: boolean;
51
50
  closeOnOutsideClick: boolean;
52
51
  clipped: boolean;
52
+ maxWidth: string;
53
53
  twBackdrop: string | string[];
54
54
  }, {}>, {
55
55
  default?(_: {
@@ -83,12 +83,12 @@ declare const _default: import("vue").DefineComponent<{
83
83
  }, {
84
84
  required: boolean;
85
85
  name: string;
86
- theme: "" | "snow" | "bubble";
87
86
  modelValue: string | Delta | null | undefined;
88
87
  placeholder: string;
89
88
  disabled: boolean;
90
89
  hasError: boolean;
91
90
  enable: boolean;
92
91
  toolbar: string | Record<string, any> | unknown[] | undefined;
92
+ theme: "" | "snow" | "bubble";
93
93
  }, {}>;
94
94
  export default _default;
@@ -82,11 +82,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
82
82
  }, {
83
83
  required: boolean;
84
84
  name: string;
85
+ options: Option[];
85
86
  modelValue: SelectOption | undefined;
86
87
  placeholder: string;
87
88
  disabled: boolean;
88
89
  hasError: boolean;
89
- options: Option[];
90
90
  labelKey: string;
91
91
  valueKey: string;
92
92
  }, {}>, {
@@ -155,11 +155,11 @@ declare const _default: import("vue").DefineComponent<{
155
155
  }>>, {
156
156
  label: string;
157
157
  meta: Record<string, any> | unknown[];
158
- width: number;
159
158
  toggle: boolean;
159
+ position: "left" | "right" | "center";
160
+ width: number;
160
161
  field: string;
161
162
  padding: string;
162
- position: "left" | "right" | "center";
163
163
  searchable: boolean;
164
164
  numeric: boolean;
165
165
  sortable: boolean;
@@ -70,6 +70,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
70
70
  default: string;
71
71
  type: PropType<"focus" | "always">;
72
72
  };
73
+ focusOnMount: {
74
+ default: boolean;
75
+ type: BooleanConstructor;
76
+ };
73
77
  twContainer: {
74
78
  default: string;
75
79
  type: PropType<string | string[]>;
@@ -81,8 +85,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
81
85
  open: typeof open;
82
86
  setKeywords: typeof setKeywords;
83
87
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
84
- "update:modelValue": (...args: any[]) => void;
85
88
  close: (...args: any[]) => void;
89
+ "update:modelValue": (...args: any[]) => void;
86
90
  scrollBottom: (...args: any[]) => void;
87
91
  typing: (...args: any[]) => void;
88
92
  open: (...args: any[]) => void;
@@ -151,6 +155,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
151
155
  default: string;
152
156
  type: PropType<"focus" | "always">;
153
157
  };
158
+ focusOnMount: {
159
+ default: boolean;
160
+ type: BooleanConstructor;
161
+ };
154
162
  twContainer: {
155
163
  default: string;
156
164
  type: PropType<string | string[]>;
@@ -174,6 +182,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
174
182
  loadingBottom: boolean;
175
183
  size: "base" | "xs" | "sm";
176
184
  dropdownShow: "focus" | "always";
185
+ focusOnMount: boolean;
177
186
  twContainer: string | string[];
178
187
  }, {}>, {
179
188
  items?(_: {
@@ -41,6 +41,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
41
41
  default: boolean;
42
42
  type: BooleanConstructor;
43
43
  };
44
+ focusOnMount: {
45
+ default: boolean;
46
+ type: BooleanConstructor;
47
+ };
44
48
  }, {
45
49
  focus: () => void | undefined;
46
50
  blur: () => void | undefined;
@@ -48,8 +52,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
48
52
  close: () => void | undefined;
49
53
  setKeywords: (input: string) => void | undefined;
50
54
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
51
- "update:modelValue": (...args: any[]) => void;
52
55
  focus: (...args: any[]) => void;
56
+ "update:modelValue": (...args: any[]) => void;
53
57
  scrollBottom: (...args: any[]) => void;
54
58
  typing: (...args: any[]) => void;
55
59
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
@@ -93,6 +97,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
93
97
  default: boolean;
94
98
  type: BooleanConstructor;
95
99
  };
100
+ focusOnMount: {
101
+ default: boolean;
102
+ type: BooleanConstructor;
103
+ };
96
104
  }>> & {
97
105
  onFocus?: ((...args: any[]) => any) | undefined;
98
106
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
@@ -104,6 +112,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
104
112
  disabled: boolean;
105
113
  hasError: boolean;
106
114
  max: number;
115
+ focusOnMount: boolean;
107
116
  queryKey: string;
108
117
  }, {}>, {
109
118
  items?(_: {
@@ -52,8 +52,8 @@ declare const _default: import("vue").DefineComponent<{
52
52
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
53
53
  input: (...args: any[]) => void;
54
54
  submit: (...args: any[]) => void;
55
- "update:modelValue": (...args: any[]) => void;
56
55
  focus: (...args: any[]) => void;
56
+ "update:modelValue": (...args: any[]) => void;
57
57
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
58
58
  modelValue: {
59
59
  default: string;
@@ -0,0 +1,19 @@
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
2
+ target: {
3
+ type: import("vue").PropType<HTMLElement | null>;
4
+ required: true;
5
+ };
6
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
7
+ target: {
8
+ type: import("vue").PropType<HTMLElement | null>;
9
+ required: true;
10
+ };
11
+ }>>, {}, {}>, {
12
+ default?(_: {}): any;
13
+ }>;
14
+ export default _default;
15
+ type __VLS_WithTemplateSlots<T, S> = T & {
16
+ new (): {
17
+ $slots: S;
18
+ };
19
+ };
@@ -18,7 +18,6 @@ import BaseButtonGroup from './BaseButtonGroup.vue';
18
18
  import BaseCard from './BaseCard.vue';
19
19
  import BaseCardRow from './BaseCardRow.vue';
20
20
  import BaseCharacterCounter from './BaseCharacterCounter.vue';
21
- import BaseClickOutside from './BaseClickOutside.vue';
22
21
  import BaseClipboard from './BaseClipboard.vue';
23
22
  import BaseCalendar from './BaseCalendar.vue';
24
23
  import BaseColor from './BaseColor.vue';
@@ -95,4 +94,4 @@ import BaseLayoutStacked from './BaseLayoutStacked.vue';
95
94
  import BaseLayoutStackedConfigurable from './BaseLayoutStackedConfigurable.vue';
96
95
  import BaseLayoutSidebar from './BaseLayoutSidebar.vue';
97
96
  import BaseLayoutSidebarConfigurable from './BaseLayoutSidebarConfigurable.vue';
98
- export { BaseActionItem, BaseAddressForm, BaseAlert, BaseApp, BaseAppDialogs, BaseAppNotifications, BaseAutocomplete, BaseAutocompleteFetch, BaseAvatar, BaseAvatarGroup, BaseBadge, BaseBelongsTo, BaseBelongsToFetch, BaseBoolean, BaseBreadcrumbs, BaseButton, BaseButtonGroup, BaseCard, BaseCardRow, BaseCharacterCounter, BaseClickOutside, BaseClipboard, BaseCalendar, BaseColor, BaseContainer, BaseCounter, BaseCropper, BaseCropperModal, BaseDataIterator, BaseDataTable, BaseDatePicker, BaseDateSelect, BaseDescriptionList, BaseDescriptionListItem, BaseDialog, BaseDisplayRelativeTime, BaseDropdown, BaseDropdownAutocomplete, BaseEmptyState, BaseField, BaseFieldI18n, BaseFilePicker, BaseFilePickerCrop, BaseFileUploader, BaseForm, BaseGantt, BaseHasMany, BaseHeader, BaseIcon, BaseIconPicker, BaseInput, BaseInputLabel, BaseInputPercent, BaseLoadingCover, BaseMediaItem, BaseMediaLibrary, BaseMediaPreview, BaseMenu, BaseMenuItem, BaseModalCenter, BaseModalSide, BaseNavbar, BaseNavbarItem, BaseNavbarItemContent, BaseNavbarSideItem, BasePagination, BasePanel, BasePassword, BaseProgressCircle, BaseRadioGroup, BaseReadMore, BaseRichText, BaseSelect, BaseShortcut, BaseSideNavigation, BaseSideNavigationItem, BaseSkeleton, BaseStatistic, BaseStepper, BaseStepperItem, BaseSwitch, BaseSystemAlert, BaseTabs, BaseTabItem, BaseTagAutocomplete, BaseTagAutocompleteFetch, BaseTable, BaseTableColumn, BaseTextarea, BaseTextareaAutoresize, BaseTimeline, BaseTimelineItem, BaseUniqueCode, BaseLayoutStacked, BaseLayoutStackedConfigurable, BaseLayoutSidebar, BaseLayoutSidebarConfigurable, };
97
+ export { BaseActionItem, BaseAddressForm, BaseAlert, BaseApp, BaseAppDialogs, BaseAppNotifications, BaseAutocomplete, BaseAutocompleteFetch, BaseAvatar, BaseAvatarGroup, BaseBadge, BaseBelongsTo, BaseBelongsToFetch, BaseBoolean, BaseBreadcrumbs, BaseButton, BaseButtonGroup, BaseCard, BaseCardRow, BaseCharacterCounter, BaseClipboard, BaseCalendar, BaseColor, BaseContainer, BaseCounter, BaseCropper, BaseCropperModal, BaseDataIterator, BaseDataTable, BaseDatePicker, BaseDateSelect, BaseDescriptionList, BaseDescriptionListItem, BaseDialog, BaseDisplayRelativeTime, BaseDropdown, BaseDropdownAutocomplete, BaseEmptyState, BaseField, BaseFieldI18n, BaseFilePicker, BaseFilePickerCrop, BaseFileUploader, BaseForm, BaseGantt, BaseHasMany, BaseHeader, BaseIcon, BaseIconPicker, BaseInput, BaseInputLabel, BaseInputPercent, BaseLoadingCover, BaseMediaItem, BaseMediaLibrary, BaseMediaPreview, BaseMenu, BaseMenuItem, BaseModalCenter, BaseModalSide, BaseNavbar, BaseNavbarItem, BaseNavbarItemContent, BaseNavbarSideItem, BasePagination, BasePanel, BasePassword, BaseProgressCircle, BaseRadioGroup, BaseReadMore, BaseRichText, BaseSelect, BaseShortcut, BaseSideNavigation, BaseSideNavigationItem, BaseSkeleton, BaseStatistic, BaseStepper, BaseStepperItem, BaseSwitch, BaseSystemAlert, BaseTabs, BaseTabItem, BaseTagAutocomplete, BaseTagAutocompleteFetch, BaseTable, BaseTableColumn, BaseTextarea, BaseTextareaAutoresize, BaseTimeline, BaseTimelineItem, BaseUniqueCode, BaseLayoutStacked, BaseLayoutStackedConfigurable, BaseLayoutSidebar, BaseLayoutSidebarConfigurable, };
@@ -0,0 +1,7 @@
1
+ import { UseFloatingOptions, MaybeElement, UseFloatingReturn } from "@floating-ui/vue";
2
+ type ReturnType = UseFloatingReturn & {
3
+ showTooltip: Ref<boolean>;
4
+ };
5
+ import { Ref } from "vue";
6
+ declare function useTooltip(reference: Readonly<Ref<MaybeElement<any>>>, floating: Readonly<Ref<MaybeElement<HTMLElement>>>, options?: UseFloatingOptions | undefined): ReturnType;
7
+ export { useTooltip };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sprintify-ui",
3
- "version": "0.5.11",
3
+ "version": "0.6.0",
4
4
  "scripts": {
5
5
  "build": "rimraf dist && vue-tsc && vite build",
6
6
  "build-fast": "rimraf dist && vite build",
@@ -29,7 +29,6 @@
29
29
  "lodash": "^4.17.21",
30
30
  "luxon": "^3.0.0",
31
31
  "maska": "^2.1.3",
32
- "microtip": "^0.2.2",
33
32
  "object-to-formdata": "^4.4.2",
34
33
  "pinia": "^2.0.0",
35
34
  "qs": "^6.0.0",
@@ -39,6 +38,7 @@
39
38
  "vue-router": "^4.0.0"
40
39
  },
41
40
  "dependencies": {
41
+ "@floating-ui/vue": "^1.0.2",
42
42
  "@fullcalendar/core": "^6.1.8",
43
43
  "@fullcalendar/daygrid": "^6.1.8",
44
44
  "@fullcalendar/interaction": "^6.1.8",
@@ -98,7 +98,6 @@
98
98
  "lodash": "^4.17.21",
99
99
  "luxon": "^3.2.1",
100
100
  "maska": "^2.1.6",
101
- "microtip": "^0.2.2",
102
101
  "object-hash": "^3.0.0",
103
102
  "object-to-formdata": "^4.4.2",
104
103
  "pinia": "^2.0.30",
@@ -1,4 +1,3 @@
1
- @import "microtip/microtip.css";
2
1
  @import "./form.css";
3
2
  @import "./flatpickr.css";
4
3
 
@@ -119,7 +119,7 @@ const props = withDefaults(
119
119
  defineProps<{
120
120
  modelValue: undefined | null | Address;
121
121
  prefix: string | null;
122
- required: boolean;
122
+ required?: boolean;
123
123
  countries?: Country[];
124
124
  regions?: Region[];
125
125
  restrictCountry?: boolean;
@@ -127,7 +127,6 @@ const props = withDefaults(
127
127
  hideCountry?: boolean;
128
128
  }>(),
129
129
  {
130
- required: false,
131
130
  modelValue() {
132
131
  return {};
133
132
  },