bitboss-ui 2.1.32 → 2.1.34

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 (206) hide show
  1. package/dist/components/BaseColorInput/BaseColorInput.vue.d.ts +13 -12
  2. package/dist/components/BaseColorInput/ColorPallette.vue.d.ts +2 -2
  3. package/dist/components/BaseDatePickerInput/BaseDatePickerInput.vue.d.ts +11 -6
  4. package/dist/components/BaseNumberInput/BaseNumberInput.vue.d.ts +3 -2
  5. package/dist/components/BaseSelect/BaseSelect.vue.d.ts +3 -2
  6. package/dist/components/BaseTag/BaseTag.vue.d.ts +11 -10
  7. package/dist/components/BaseTextInput/BaseTextInput.vue.d.ts +3 -2
  8. package/dist/components/BaseTextarea/BaseTextarea.vue.d.ts +3 -2
  9. package/dist/components/BbButton/BbButton.vue.d.ts +5 -5
  10. package/dist/components/BbColorInput/BbColorInput.vue.d.ts +3 -2
  11. package/dist/components/BbDatePickerInput/BbDatePickerInput.vue.d.ts +3 -2
  12. package/dist/components/BbDropdown/BbDropdown.vue.d.ts +30 -38
  13. package/dist/components/BbDropdownButton/BbDropdownButton.vue.d.ts +8 -3
  14. package/dist/components/BbIcon/BbIcon.vue.d.ts +4 -3
  15. package/dist/components/BbNumberInput/BbNumberInput.vue.d.ts +7 -6
  16. package/dist/components/BbPopover/BbPopover.vue.d.ts +25 -32
  17. package/dist/components/BbSelect/BbSelect.vue.d.ts +3 -2
  18. package/dist/components/BbTag/BbTag.vue.d.ts +3 -2
  19. package/dist/components/BbTextInput/BbTextInput.vue.d.ts +3 -2
  20. package/dist/components/BbTextarea/BbTextarea.vue.d.ts +3 -2
  21. package/dist/components/BbTooltip/BbTooltip.vue.d.ts +26 -31
  22. package/dist/components/CommonInputInnerContainer.vue.d.ts +3 -2
  23. package/dist/components/{CommonPopover.vue.d.ts → CommonPopover2.vue.d.ts} +2 -7
  24. package/dist/composables/useCancelableFunction.d.ts +17 -0
  25. package/dist/composables/useToast.d.ts +4 -3
  26. package/dist/index.css +1 -1
  27. package/dist/index.d.ts +10 -0
  28. package/dist/index106.js +9 -9
  29. package/dist/index111.js +1 -1
  30. package/dist/index113.js +1 -1
  31. package/dist/index121.js +11 -11
  32. package/dist/index129.js +1 -1
  33. package/dist/index13.js +1 -1
  34. package/dist/index131.js +111 -93
  35. package/dist/index133.js +1 -1
  36. package/dist/index135.js +2 -2
  37. package/dist/index140.js +292 -250
  38. package/dist/index142.js +2 -2
  39. package/dist/index15.js +72 -74
  40. package/dist/index17.js +3 -3
  41. package/dist/index19.js +8 -8
  42. package/dist/index21.js +16 -16
  43. package/dist/index212.js +3 -3
  44. package/dist/index215.js +86 -4
  45. package/dist/index217.js +27 -9
  46. package/dist/index218.js +16 -19
  47. package/dist/index219.js +49 -195
  48. package/dist/index220.js +17 -0
  49. package/dist/index221.js +3 -117
  50. package/dist/index222.js +14 -0
  51. package/dist/index223.js +16 -34
  52. package/dist/index224.js +2 -86
  53. package/dist/index225.js +4 -0
  54. package/dist/index226.js +2 -29
  55. package/dist/index227.js +106 -17
  56. package/dist/index229.js +100 -15
  57. package/dist/index23.js +152 -152
  58. package/dist/index231.js +2 -12
  59. package/dist/index232.js +4 -16
  60. package/dist/index233.js +5 -2
  61. package/dist/index234.js +5 -2
  62. package/dist/index235.js +5 -2
  63. package/dist/index236.js +5 -5
  64. package/dist/index237.js +4 -4
  65. package/dist/index238.js +5 -5
  66. package/dist/index239.js +2 -5
  67. package/dist/index240.js +13 -5
  68. package/dist/index241.js +20 -5
  69. package/dist/index242.js +121 -5
  70. package/dist/index244.js +17 -7
  71. package/dist/index245.js +12 -250
  72. package/dist/index246.js +222 -45
  73. package/dist/index247.js +13 -44
  74. package/dist/index248.js +4 -5
  75. package/dist/index249.js +190 -53
  76. package/dist/index25.js +3 -3
  77. package/dist/index251.js +7 -3
  78. package/dist/index252.js +33 -12
  79. package/dist/index253.js +2 -106
  80. package/dist/index254.js +185 -0
  81. package/dist/index255.js +3 -100
  82. package/dist/index256.js +4 -0
  83. package/dist/index257.js +7 -2
  84. package/dist/index258.js +6 -182
  85. package/dist/index259.js +12 -6
  86. package/dist/index260.js +5 -2
  87. package/dist/index261.js +5 -2
  88. package/dist/index262.js +8 -7
  89. package/dist/index263.js +250 -7
  90. package/dist/index264.js +50 -16
  91. package/dist/index265.js +44 -12
  92. package/dist/index266.js +5 -6
  93. package/dist/index267.js +54 -223
  94. package/dist/index268.js +6 -5
  95. package/dist/index269.js +16 -10
  96. package/dist/index27.js +1 -1
  97. package/dist/index270.js +9 -3
  98. package/dist/index271.js +4 -9
  99. package/dist/index272.js +23 -23
  100. package/dist/index273.js +9 -3
  101. package/dist/index274.js +23 -9
  102. package/dist/index275.js +10 -6
  103. package/dist/index276.js +3 -16
  104. package/dist/index277.js +3 -9
  105. package/dist/index278.js +9 -8
  106. package/dist/index279.js +8 -33
  107. package/dist/index280.js +33 -28
  108. package/dist/index281.js +30 -0
  109. package/dist/index283.js +2 -5
  110. package/dist/index284.js +67 -8
  111. package/dist/index285.js +5 -2
  112. package/dist/index286.js +5 -5
  113. package/dist/index287.js +8 -3
  114. package/dist/index288.js +4 -3
  115. package/dist/index289.js +3 -7
  116. package/dist/index29.js +2 -2
  117. package/dist/index290.js +17 -11
  118. package/dist/index291.js +28 -2
  119. package/dist/index292.js +3 -4
  120. package/dist/index293.js +1 -1
  121. package/dist/index294.js +4 -17
  122. package/dist/index295.js +279 -27
  123. package/dist/index296.js +2 -4
  124. package/dist/index297.js +125 -5
  125. package/dist/index298.js +2 -280
  126. package/dist/index299.js +15 -2
  127. package/dist/index300.js +2 -16
  128. package/dist/index301.js +16 -2
  129. package/dist/index302.js +2 -16
  130. package/dist/index303.js +16 -2
  131. package/dist/index304.js +2 -19
  132. package/dist/index305.js +19 -2
  133. package/dist/index306.js +2 -15
  134. package/dist/index307.js +3 -2
  135. package/dist/index308.js +7 -19
  136. package/dist/index309.js +11 -2
  137. package/dist/index31.js +2 -2
  138. package/dist/index310.js +2 -27
  139. package/dist/index311.js +3 -2
  140. package/dist/index312.js +6 -2
  141. package/dist/index313.js +1 -1
  142. package/dist/index314.js +5 -2
  143. package/dist/index315.js +19 -2
  144. package/dist/index316.js +2 -22
  145. package/dist/index317.js +29 -0
  146. package/dist/index318.js +2 -3
  147. package/dist/index319.js +2 -3
  148. package/dist/index320.js +2 -6
  149. package/dist/index321.js +1 -1
  150. package/dist/index322.js +2 -125
  151. package/dist/index323.js +22 -2
  152. package/dist/index328.js +7 -0
  153. package/dist/index33.js +8 -8
  154. package/dist/index330.js +3 -2
  155. package/dist/index331.js +2 -8
  156. package/dist/index332.js +34 -5
  157. package/dist/index333.js +6 -8
  158. package/dist/index334.js +128 -57
  159. package/dist/index335.js +367 -56
  160. package/dist/index336.js +47 -8
  161. package/dist/index337.js +57 -128
  162. package/dist/index338.js +56 -367
  163. package/dist/index339.js +7 -6
  164. package/dist/index340.js +5 -18
  165. package/dist/index341.js +8 -228
  166. package/dist/index343.js +227 -46
  167. package/dist/index344.js +6 -92
  168. package/dist/index345.js +17 -127
  169. package/dist/index346.js +87 -430
  170. package/dist/index347.js +123 -121
  171. package/dist/index348.js +1 -1
  172. package/dist/index349.js +430 -44
  173. package/dist/index35.js +4 -4
  174. package/dist/index350.js +129 -0
  175. package/dist/index351.js +52 -0
  176. package/dist/index37.js +261 -271
  177. package/dist/index39.js +6 -6
  178. package/dist/index41.js +2 -2
  179. package/dist/index43.js +8 -8
  180. package/dist/index45.js +60 -62
  181. package/dist/index49.js +1 -1
  182. package/dist/index53.js +1 -1
  183. package/dist/index55.js +1 -1
  184. package/dist/index57.js +2 -2
  185. package/dist/index61.js +6 -6
  186. package/dist/index67.js +1 -1
  187. package/dist/index79.js +206 -182
  188. package/dist/index81.js +2 -2
  189. package/dist/index83.js +2 -2
  190. package/dist/index85.js +3 -3
  191. package/dist/index87.js +1 -1
  192. package/dist/index90.js +3 -3
  193. package/dist/index92.js +2 -2
  194. package/dist/index94.js +121 -117
  195. package/dist/types/Icon.d.ts +9 -0
  196. package/dist/utilities/functions/extractDomContainer.d.ts +1 -0
  197. package/dist/utilities/functions/parseWidthString.d.ts +6 -0
  198. package/package.json +1 -1
  199. package/dist/index216.js +0 -15
  200. package/dist/index228.js +0 -53
  201. package/dist/index230.js +0 -5
  202. package/dist/index243.js +0 -4
  203. package/dist/index250.js +0 -6
  204. package/dist/index282.js +0 -69
  205. package/dist/index324.js +0 -7
  206. package/dist/index329.js +0 -5
@@ -1,11 +1,20 @@
1
1
  import { CommonProps } from '../../types/CommonProps';
2
2
  import { Placement } from '@floating-ui/vue';
3
3
  export type BbTooltipProps = Pick<CommonProps, 'arrowPadding' | 'block' | 'disabled' | 'eager' | 'id' | 'offset' | 'padding' | 'placement' | 'showClose' | 'theme' | 'transitionDuration'> & {
4
+ /**
5
+ * Name of the theme to apply to the component. It creates a CSS class with the name of the theme.
6
+ * @deprecated since the popover is local you should use a normal css class applied to the top level element
7
+ */
8
+ theme?: string;
4
9
  /**
5
10
  * The delay in milliseconds before the tooltip is shown.
6
11
  * @default 0
7
12
  */
8
13
  timeout?: number;
14
+ /**
15
+ * Width of the dropdown in pixels or percentage.
16
+ */
17
+ width?: number | string;
9
18
  };
10
19
  type __VLS_Props = BbTooltipProps;
11
20
  type BbTooltipSlots = {
@@ -15,7 +24,7 @@ type BbTooltipSlots = {
15
24
  onMouseenter: typeof onMouseenter;
16
25
  onFocus: typeof onFocus;
17
26
  onBlur: typeof closeTooltip;
18
- disabled: boolean | undefined;
27
+ ref: (reference: unknown) => void;
19
28
  };
20
29
  disabled?: boolean;
21
30
  open: boolean;
@@ -33,20 +42,19 @@ declare function __VLS_template(): {
33
42
  attrs: Partial<{}>;
34
43
  slots: Readonly<BbTooltipSlots> & BbTooltipSlots;
35
44
  refs: {
36
- wrapper: ({
45
+ popover: ({
37
46
  $: import('vue').ComponentInternalInstance;
38
47
  $data: {};
39
48
  $props: {
40
49
  readonly modelValue?: boolean | undefined;
50
+ readonly eager?: boolean | undefined;
41
51
  readonly transitionDuration?: number | undefined;
42
52
  readonly arrowPadding?: number | undefined;
43
- readonly block?: boolean | undefined;
44
53
  readonly offset?: number | undefined;
45
54
  readonly padding?: number | undefined;
46
55
  readonly placement?: "top" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end" | undefined;
47
- readonly containerAttributes?: Record<string, any> | undefined;
56
+ readonly anchor?: any;
48
57
  readonly dialog?: boolean | undefined;
49
- readonly renderContent?: boolean | undefined;
50
58
  readonly tag?: string | undefined;
51
59
  readonly flip?: boolean | undefined;
52
60
  readonly "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
@@ -58,7 +66,6 @@ declare function __VLS_template(): {
58
66
  [x: string]: unknown;
59
67
  } & {
60
68
  wrapper: unknown;
61
- content: unknown;
62
69
  bubblearrow: HTMLSpanElement;
63
70
  };
64
71
  $slots: Readonly<{
@@ -71,10 +78,9 @@ declare function __VLS_template(): {
71
78
  $el: any;
72
79
  $options: import('vue').ComponentOptionsBase<Readonly<{
73
80
  modelValue?: boolean;
74
- } & Pick<CommonProps, "transitionDuration" | "arrowPadding" | "block" | "offset" | "padding" | "placement"> & {
75
- containerAttributes?: Record<string, any>;
81
+ } & Pick<CommonProps, "eager" | "transitionDuration" | "arrowPadding" | "offset" | "padding" | "placement"> & {
82
+ anchor?: any;
76
83
  dialog?: boolean;
77
- renderContent?: boolean;
78
84
  tag?: string;
79
85
  flip?: boolean;
80
86
  }> & Readonly<{
@@ -85,7 +91,6 @@ declare function __VLS_template(): {
85
91
  transitionDuration: number;
86
92
  padding: number;
87
93
  tag: string;
88
- renderContent: boolean;
89
94
  flip: boolean;
90
95
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
91
96
  beforeCreate?: (() => void) | (() => void)[];
@@ -111,21 +116,18 @@ declare function __VLS_template(): {
111
116
  transitionDuration: number;
112
117
  padding: number;
113
118
  tag: string;
114
- renderContent: boolean;
115
119
  flip: boolean;
116
120
  }> & Omit<Readonly<{
117
121
  modelValue?: boolean;
118
- } & Pick<CommonProps, "transitionDuration" | "arrowPadding" | "block" | "offset" | "padding" | "placement"> & {
119
- containerAttributes?: Record<string, any>;
122
+ } & Pick<CommonProps, "eager" | "transitionDuration" | "arrowPadding" | "offset" | "padding" | "placement"> & {
123
+ anchor?: any;
120
124
  dialog?: boolean;
121
- renderContent?: boolean;
122
125
  tag?: string;
123
126
  flip?: boolean;
124
127
  }> & Readonly<{
125
128
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
126
- }>, "transitionDuration" | "padding" | "tag" | "renderContent" | "flip"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
129
+ }>, "transitionDuration" | "padding" | "tag" | "flip"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
127
130
  $slots: {
128
- activator?(_: {}): any;
129
131
  default?(_: {}): any;
130
132
  };
131
133
  }) | null;
@@ -146,20 +148,19 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
146
148
  theme: string;
147
149
  timeout: number;
148
150
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
149
- wrapper: ({
151
+ popover: ({
150
152
  $: import('vue').ComponentInternalInstance;
151
153
  $data: {};
152
154
  $props: {
153
155
  readonly modelValue?: boolean | undefined;
156
+ readonly eager?: boolean | undefined;
154
157
  readonly transitionDuration?: number | undefined;
155
158
  readonly arrowPadding?: number | undefined;
156
- readonly block?: boolean | undefined;
157
159
  readonly offset?: number | undefined;
158
160
  readonly padding?: number | undefined;
159
161
  readonly placement?: "top" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end" | undefined;
160
- readonly containerAttributes?: Record<string, any> | undefined;
162
+ readonly anchor?: any;
161
163
  readonly dialog?: boolean | undefined;
162
- readonly renderContent?: boolean | undefined;
163
164
  readonly tag?: string | undefined;
164
165
  readonly flip?: boolean | undefined;
165
166
  readonly "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
@@ -171,7 +172,6 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
171
172
  [x: string]: unknown;
172
173
  } & {
173
174
  wrapper: unknown;
174
- content: unknown;
175
175
  bubblearrow: HTMLSpanElement;
176
176
  };
177
177
  $slots: Readonly<{
@@ -184,10 +184,9 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
184
184
  $el: any;
185
185
  $options: import('vue').ComponentOptionsBase<Readonly<{
186
186
  modelValue?: boolean;
187
- } & Pick<CommonProps, "transitionDuration" | "arrowPadding" | "block" | "offset" | "padding" | "placement"> & {
188
- containerAttributes?: Record<string, any>;
187
+ } & Pick<CommonProps, "eager" | "transitionDuration" | "arrowPadding" | "offset" | "padding" | "placement"> & {
188
+ anchor?: any;
189
189
  dialog?: boolean;
190
- renderContent?: boolean;
191
190
  tag?: string;
192
191
  flip?: boolean;
193
192
  }> & Readonly<{
@@ -198,7 +197,6 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
198
197
  transitionDuration: number;
199
198
  padding: number;
200
199
  tag: string;
201
- renderContent: boolean;
202
200
  flip: boolean;
203
201
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
204
202
  beforeCreate?: (() => void) | (() => void)[];
@@ -224,21 +222,18 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
224
222
  transitionDuration: number;
225
223
  padding: number;
226
224
  tag: string;
227
- renderContent: boolean;
228
225
  flip: boolean;
229
226
  }> & Omit<Readonly<{
230
227
  modelValue?: boolean;
231
- } & Pick<CommonProps, "transitionDuration" | "arrowPadding" | "block" | "offset" | "padding" | "placement"> & {
232
- containerAttributes?: Record<string, any>;
228
+ } & Pick<CommonProps, "eager" | "transitionDuration" | "arrowPadding" | "offset" | "padding" | "placement"> & {
229
+ anchor?: any;
233
230
  dialog?: boolean;
234
- renderContent?: boolean;
235
231
  tag?: string;
236
232
  flip?: boolean;
237
233
  }> & Readonly<{
238
234
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
239
- }>, "transitionDuration" | "padding" | "tag" | "renderContent" | "flip"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
235
+ }>, "transitionDuration" | "padding" | "tag" | "flip"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
240
236
  $slots: {
241
- activator?(_: {}): any;
242
237
  default?(_: {}): any;
243
238
  };
244
239
  }) | null;
@@ -1,8 +1,9 @@
1
+ import { IconType } from '../index';
1
2
  export type CommonInputInnerContainerProps = {
2
3
  /**
3
4
  * Name of the icon to be added at the end of the input.
4
5
  */
5
- 'append:icon'?: string;
6
+ 'append:icon'?: IconType;
6
7
  /**
7
8
  * Whether the input is clearable.
8
9
  */
@@ -10,7 +11,7 @@ export type CommonInputInnerContainerProps = {
10
11
  /**
11
12
  * Name of the icon to be added at the start of the input.
12
13
  */
13
- 'prepend:icon'?: string;
14
+ 'prepend:icon'?: IconType;
14
15
  preventFocus?: boolean;
15
16
  };
16
17
  declare function __VLS_template(): {
@@ -1,8 +1,7 @@
1
1
  import { CommonProps } from '../types/CommonProps';
2
- export type BubbleProps = Pick<CommonProps, 'arrowPadding' | 'offset' | 'block' | 'padding' | 'placement' | 'transitionDuration'> & {
3
- containerAttributes?: Record<string, any>;
2
+ export type BubbleProps = Pick<CommonProps, 'arrowPadding' | 'eager' | 'offset' | 'padding' | 'placement' | 'transitionDuration'> & {
3
+ anchor?: any;
4
4
  dialog?: boolean;
5
- renderContent?: boolean;
6
5
  tag?: string;
7
6
  flip?: boolean;
8
7
  };
@@ -13,12 +12,10 @@ type __VLS_PublicProps = {
13
12
  declare function __VLS_template(): {
14
13
  attrs: Partial<{}>;
15
14
  slots: {
16
- activator?(_: {}): any;
17
15
  default?(_: {}): any;
18
16
  };
19
17
  refs: {
20
18
  wrapper: unknown;
21
- content: unknown;
22
19
  bubblearrow: HTMLSpanElement;
23
20
  };
24
21
  rootEl: any;
@@ -32,11 +29,9 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
32
29
  transitionDuration: number;
33
30
  padding: number;
34
31
  tag: string;
35
- renderContent: boolean;
36
32
  flip: boolean;
37
33
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
38
34
  wrapper: unknown;
39
- content: unknown;
40
35
  bubblearrow: HTMLSpanElement;
41
36
  }, any>;
42
37
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
@@ -0,0 +1,17 @@
1
+ import { Ref } from 'vue';
2
+ export interface CancelableFunction<T extends any[], R> {
3
+ execute: (...args: T) => Promise<R>;
4
+ cancel: () => void;
5
+ isCancelled: Ref<boolean>;
6
+ isExecuting: Ref<boolean>;
7
+ }
8
+ export interface CancelableExecutionContext {
9
+ signal: AbortSignal;
10
+ isCancelled: Ref<boolean>;
11
+ checkCancelled: () => void;
12
+ }
13
+ /**
14
+ * Creates a cancelable function wrapper that allows interrupting async operations.
15
+ * The wrapped function receives a context object with cancellation utilities.
16
+ */
17
+ export declare function useCancelableFunction<T extends any[], R>(fn: (context: CancelableExecutionContext, ...args: T) => Promise<R> | R): CancelableFunction<T, R>;
@@ -1,4 +1,5 @@
1
1
  import { CommonProps } from '../types/CommonProps';
2
+ import { IconType } from '../types/Icon';
2
3
  export type Message = {
3
4
  /**
4
5
  * Title of the message. Displayed in a more prominant fashion.
@@ -11,7 +12,7 @@ export type Message = {
11
12
  /**
12
13
  * Name of the icon to display.
13
14
  */
14
- icon?: string;
15
+ icon?: IconType;
15
16
  /**
16
17
  * Theme of the toast message. By default the theme is `default`.
17
18
  */
@@ -68,7 +69,7 @@ export declare const state: {
68
69
  stack: {
69
70
  title?: string | undefined;
70
71
  text: string;
71
- icon?: string | undefined;
72
+ icon?: IconType | undefined;
72
73
  theme?: string | undefined;
73
74
  id: string;
74
75
  showClose?: boolean | undefined;
@@ -79,7 +80,7 @@ export declare const useToast: () => {
79
80
  dismiss: (id: Message["id"]) => {
80
81
  title?: string | undefined;
81
82
  text: string;
82
- icon?: string | undefined;
83
+ icon?: IconType | undefined;
83
84
  theme?: string | undefined;
84
85
  id: string;
85
86
  showClose?: boolean | undefined;