@iziui/react 0.0.54-rc → 0.0.56-rc

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 (258) hide show
  1. package/dist/.types/_internal/core/index.d.ts +4 -0
  2. package/dist/.types/_internal/core/options/CustomOptions.d.ts +24 -0
  3. package/dist/.types/_internal/core/options/createOptions/createOptions.d.ts +10 -0
  4. package/dist/.types/_internal/core/options/createOptions/index.d.ts +1 -0
  5. package/dist/.types/_internal/core/options/index.d.ts +2 -0
  6. package/dist/.types/_internal/core/plugin/behavior/defineBoxShadow/defineBoxShadow.d.ts +2 -0
  7. package/dist/.types/_internal/core/plugin/behavior/defineBoxShadow/index.d.ts +1 -0
  8. package/dist/.types/_internal/core/plugin/behavior/index.d.ts +1 -0
  9. package/dist/.types/_internal/core/plugin/color/defineBackground/defineBackground.d.ts +2 -0
  10. package/dist/.types/_internal/core/plugin/color/defineBackground/index.d.ts +1 -0
  11. package/dist/.types/_internal/core/plugin/color/defineBackgroundColor/defineBackgroundColor.d.ts +2 -0
  12. package/dist/.types/_internal/core/plugin/color/defineBackgroundColor/index.d.ts +1 -0
  13. package/dist/.types/_internal/core/plugin/color/defineBorderColor/defineBorderColor.d.ts +2 -0
  14. package/dist/.types/_internal/core/plugin/color/defineBorderColor/index.d.ts +1 -0
  15. package/dist/.types/_internal/core/plugin/color/defineColor/defineColor.d.ts +2 -0
  16. package/dist/.types/_internal/core/plugin/color/defineColor/index.d.ts +1 -0
  17. package/dist/.types/_internal/core/plugin/color/index.d.ts +4 -0
  18. package/dist/.types/_internal/core/plugin/definePlugin/definePlugin.d.ts +5 -0
  19. package/dist/.types/_internal/core/plugin/definePlugin/index.d.ts +1 -0
  20. package/dist/.types/_internal/core/plugin/index.d.ts +5 -0
  21. package/dist/.types/_internal/core/plugin/plugin.d.ts +4 -0
  22. package/dist/.types/_internal/core/plugin/shape/defineBorderRadius/defineBorderRadius.d.ts +2 -0
  23. package/dist/.types/_internal/core/plugin/shape/defineBorderRadius/index.d.ts +1 -0
  24. package/dist/.types/_internal/core/plugin/shape/index.d.ts +1 -0
  25. package/dist/.types/_internal/core/plugin/spacing/defineMargin/defineMargin.d.ts +2 -0
  26. package/dist/.types/_internal/core/plugin/spacing/defineMargin/index.d.ts +1 -0
  27. package/dist/.types/_internal/core/plugin/spacing/definePadding/definePadding.d.ts +2 -0
  28. package/dist/.types/_internal/core/plugin/spacing/definePadding/index.d.ts +1 -0
  29. package/dist/.types/_internal/core/plugin/spacing/index.d.ts +2 -0
  30. package/dist/.types/_internal/core/theme/Theme.d.ts +63 -0
  31. package/dist/.types/_internal/core/theme/applyTheme/applyTheme.d.ts +2 -0
  32. package/dist/.types/_internal/core/theme/applyTheme/index.d.ts +1 -0
  33. package/dist/.types/_internal/core/theme/colors/colors.d.ts +2 -0
  34. package/dist/.types/_internal/core/theme/colors/index.d.ts +1 -0
  35. package/dist/.types/_internal/core/theme/createMappedColors.d.ts +2 -0
  36. package/dist/.types/_internal/core/theme/createTheme/createTheme.d.ts +2 -0
  37. package/dist/.types/_internal/core/theme/createTheme/index.d.ts +1 -0
  38. package/dist/.types/_internal/core/theme/defaultTheme.d.ts +5 -0
  39. package/dist/.types/_internal/core/theme/index.d.ts +5 -0
  40. package/dist/.types/_internal/core/utils/adjustLightness/adjustLightness.d.ts +1 -0
  41. package/dist/.types/_internal/core/utils/adjustLightness/index.d.ts +1 -0
  42. package/dist/.types/_internal/core/utils/convertPathToColor/convertPathToColor.d.ts +3 -0
  43. package/dist/.types/_internal/core/utils/convertPathToColor/index.d.ts +1 -0
  44. package/dist/.types/_internal/core/utils/generateSupportColors/generateSupportColors.d.ts +2 -0
  45. package/dist/.types/_internal/core/utils/generateSupportColors/index.d.ts +1 -0
  46. package/dist/.types/_internal/core/utils/getContrastColor/getContrastColor.d.ts +1 -0
  47. package/dist/.types/_internal/core/utils/getContrastColor/index.d.ts +1 -0
  48. package/dist/.types/_internal/core/utils/getGradient/getGradient.d.ts +1 -0
  49. package/dist/.types/_internal/core/utils/getGradient/index.d.ts +1 -0
  50. package/dist/.types/_internal/core/utils/getOpacityColor/getOpacityColor.d.ts +7 -0
  51. package/dist/.types/_internal/core/utils/getOpacityColor/index.d.ts +1 -0
  52. package/dist/.types/_internal/core/utils/getPriorityColor/getPriorityColor.d.ts +2 -0
  53. package/dist/.types/_internal/core/utils/getPriorityColor/index.d.ts +1 -0
  54. package/dist/.types/_internal/core/utils/hexToHsl/hexToHsl.d.ts +5 -0
  55. package/dist/.types/_internal/core/utils/hexToHsl/index.d.ts +1 -0
  56. package/dist/.types/_internal/core/utils/hslToHex/hslToHex.d.ts +1 -0
  57. package/dist/.types/_internal/core/utils/hslToHex/index.d.ts +1 -0
  58. package/dist/.types/_internal/core/utils/index.d.ts +10 -0
  59. package/dist/.types/_internal/core/utils/joinClass/index.d.ts +1 -0
  60. package/dist/.types/_internal/core/utils/joinClass/joinClass.d.ts +1 -0
  61. package/dist/.types/_internal/tokens/web/js/const.d.ts +1 -0
  62. package/dist/.types/_internal/tokens/web/js/index.d.ts +19 -0
  63. package/dist/.types/_internal/tokens/web/js/index.js +33 -0
  64. package/dist/.types/_internal/tokens/web/js/list.d.ts +2 -0
  65. package/dist/.types/_internal/tokens/web/js/object.d.ts +10 -0
  66. package/dist/.types/_internal/tokens/web/scss/main.scss +2 -0
  67. package/dist/.types/_internal/tokens/web/scss/mixins.scss +61 -0
  68. package/dist/.types/_internal/tokens/web/scss/variables.scss +47 -0
  69. package/dist/.types/_internal/toolkit/debounce/debounce.d.ts +6 -0
  70. package/dist/.types/_internal/toolkit/debounce/index.d.ts +1 -0
  71. package/dist/.types/_internal/toolkit/index.d.ts +9 -0
  72. package/dist/.types/_internal/toolkit/interface/ArrayOrObject.d.ts +1 -0
  73. package/dist/.types/_internal/toolkit/interface/IntRange.d.ts +3 -0
  74. package/dist/.types/_internal/toolkit/interface/Path.d.ts +5 -0
  75. package/dist/.types/_internal/toolkit/interface/index.d.ts +3 -0
  76. package/dist/.types/_internal/toolkit/logger/index.d.ts +1 -0
  77. package/dist/.types/_internal/toolkit/logger/logger.d.ts +10 -0
  78. package/dist/.types/_internal/toolkit/mask/MaskOptions.d.ts +5 -0
  79. package/dist/.types/_internal/toolkit/mask/index.d.ts +2 -0
  80. package/dist/.types/_internal/toolkit/mask/mask.d.ts +2 -0
  81. package/dist/.types/_internal/toolkit/normalize/index.d.ts +1 -0
  82. package/dist/.types/_internal/toolkit/normalize/normalize.d.ts +1 -0
  83. package/dist/.types/_internal/toolkit/promise/index.d.ts +1 -0
  84. package/dist/.types/_internal/toolkit/promise/wait.d.ts +1 -0
  85. package/dist/.types/_internal/toolkit/string/index.d.ts +1 -0
  86. package/dist/.types/_internal/toolkit/string/string.d.ts +4 -0
  87. package/dist/.types/_internal/toolkit/uuid/index.d.ts +1 -0
  88. package/dist/.types/_internal/toolkit/uuid/uuid.d.ts +1 -0
  89. package/dist/.types/_internal/toolkit/validators/index.d.ts +2 -0
  90. package/dist/.types/_internal/toolkit/validators/isEmpty.d.ts +1 -0
  91. package/dist/.types/_internal/toolkit/validators/isValidEmail.d.ts +1 -0
  92. package/dist/.types/actions/Button/Button.d.ts +2 -2
  93. package/dist/.types/actions/Button/Button.d.ts.map +1 -1
  94. package/dist/.types/actions/Button/Button.stories.d.ts +1 -0
  95. package/dist/.types/actions/Button/Button.stories.d.ts.map +1 -1
  96. package/dist/.types/actions/ButtonIcon/ButtonIcon.d.ts +2 -2
  97. package/dist/.types/core/createComponent.d.ts +1 -1
  98. package/dist/.types/core/createComponent.d.ts.map +1 -1
  99. package/dist/.types/display/Avatar/Avatar.d.ts +2 -2
  100. package/dist/.types/display/Card/Card.d.ts +1 -1
  101. package/dist/.types/display/Card/CardContent.d.ts +1 -1
  102. package/dist/.types/display/Chip/Chip.d.ts +2 -2
  103. package/dist/.types/display/Divider/Divider.d.ts +1 -1
  104. package/dist/.types/display/Icon/Icon.d.ts +1 -1
  105. package/dist/.types/display/Table/Table.d.ts +1 -1
  106. package/dist/.types/display/Table/TableCell.d.ts +1 -1
  107. package/dist/.types/display/Tooltip/Tooltip.d.ts +1 -1
  108. package/dist/.types/display/Typography/Typography.d.ts +2 -2
  109. package/dist/.types/feedback/Alert/Alert.d.ts +2 -2
  110. package/dist/.types/feedback/Loading/Loading.d.ts +2 -2
  111. package/dist/.types/feedback/Modal/Modal.d.ts +1 -1
  112. package/dist/.types/feedback/Modal/ModalFooter.d.ts +1 -1
  113. package/dist/.types/feedback/Skeleton/Skeleton.d.ts +1 -1
  114. package/dist/.types/feedback/Toast/Toast.d.ts +2 -2
  115. package/dist/.types/fields/Checkbox/Checkbox.d.ts +2 -2
  116. package/dist/.types/fields/CheckboxGroup/CheckboxGroup.d.ts +1 -1
  117. package/dist/.types/fields/ColorPicker/ColorPicker.d.ts +1 -1
  118. package/dist/.types/fields/Input/Input.d.ts +1 -1
  119. package/dist/.types/fields/InputFile/InputFile.d.ts +1 -1
  120. package/dist/.types/fields/Select/Select.d.ts +1 -1
  121. package/dist/.types/fields/Switchs/Switch.d.ts +2 -2
  122. package/dist/.types/lab/Form/Form.d.ts.map +1 -1
  123. package/dist/.types/layout/Box/Box.d.ts +1 -1
  124. package/dist/.types/layout/Container/Container.d.ts +1 -1
  125. package/dist/.types/layout/Grid/interface.d.ts +1 -1
  126. package/dist/.types/layout/Stack/Stack.d.ts +1 -1
  127. package/dist/.types/navigation/Drawer/Drawer.d.ts +1 -1
  128. package/dist/.types/navigation/Drawer/DrawerContent.d.ts +1 -1
  129. package/dist/.types/navigation/Drawer/DrawerFooter.d.ts +1 -1
  130. package/dist/.types/navigation/Drawer/DrawerHeader.d.ts +1 -1
  131. package/dist/.types/navigation/Menu/Menu.d.ts +1 -1
  132. package/dist/.types/navigation/Menu/MenuButton.d.ts +2 -2
  133. package/dist/.types/theme/ThemeProvider.d.ts +1 -1
  134. package/dist/.types/theme/createTheme.d.ts +1 -1
  135. package/dist/chunks/{Alert-Eku3Mhx-.js → Alert-B4WtVQjs.js} +2 -2
  136. package/dist/chunks/{Alert-Eku3Mhx-.js.map → Alert-B4WtVQjs.js.map} +1 -1
  137. package/dist/chunks/{Alert-BSZpV_lB.cjs → Alert-BNWxpf3J.cjs} +2 -2
  138. package/dist/chunks/{Alert-BSZpV_lB.cjs.map → Alert-BNWxpf3J.cjs.map} +1 -1
  139. package/dist/chunks/{Box-DeyuR4kp.cjs → Box-CpfLDkkt.cjs} +2 -2
  140. package/dist/chunks/{Box-DeyuR4kp.cjs.map → Box-CpfLDkkt.cjs.map} +1 -1
  141. package/dist/chunks/{Box-fopUzufC.js → Box-JICj_E-d.js} +2 -2
  142. package/dist/chunks/{Box-fopUzufC.js.map → Box-JICj_E-d.js.map} +1 -1
  143. package/dist/chunks/{ButtonIcon-B5VfjTl_.js → ButtonIcon-CX9wj1rg.js} +2 -2
  144. package/dist/chunks/{ButtonIcon-B5VfjTl_.js.map → ButtonIcon-CX9wj1rg.js.map} +1 -1
  145. package/dist/chunks/{ButtonIcon-CzxDZNK8.cjs → ButtonIcon-DT522QTk.cjs} +2 -2
  146. package/dist/chunks/{ButtonIcon-CzxDZNK8.cjs.map → ButtonIcon-DT522QTk.cjs.map} +1 -1
  147. package/dist/chunks/{Card-fHaoq-NO.js → Card-9HLyAUcP.js} +2 -2
  148. package/dist/chunks/{Card-fHaoq-NO.js.map → Card-9HLyAUcP.js.map} +1 -1
  149. package/dist/chunks/{Card-C3pG2xgW.cjs → Card-I0APaJxr.cjs} +2 -2
  150. package/dist/chunks/{Card-C3pG2xgW.cjs.map → Card-I0APaJxr.cjs.map} +1 -1
  151. package/dist/chunks/{CardContent-BrZkcjus.cjs → CardContent-D0UkIs4G.cjs} +2 -2
  152. package/dist/chunks/{CardContent-BrZkcjus.cjs.map → CardContent-D0UkIs4G.cjs.map} +1 -1
  153. package/dist/chunks/{CardContent-CokBJbi1.js → CardContent-Vo_b-uhI.js} +2 -2
  154. package/dist/chunks/{CardContent-CokBJbi1.js.map → CardContent-Vo_b-uhI.js.map} +1 -1
  155. package/dist/chunks/{Drawer-CgE3gFqo.js → Drawer-D7qt20Nz.js} +2 -2
  156. package/dist/chunks/{Drawer-CgE3gFqo.js.map → Drawer-D7qt20Nz.js.map} +1 -1
  157. package/dist/chunks/{Drawer-XsBmySVj.cjs → Drawer-DkanRBGg.cjs} +2 -2
  158. package/dist/chunks/{Drawer-XsBmySVj.cjs.map → Drawer-DkanRBGg.cjs.map} +1 -1
  159. package/dist/chunks/{Icon-BCwUSOy5.js → Icon-CvSrDjml.js} +2 -2
  160. package/dist/chunks/{Icon-BCwUSOy5.js.map → Icon-CvSrDjml.js.map} +1 -1
  161. package/dist/chunks/{Icon-BEUDQFrk.cjs → Icon-D5Za3nOG.cjs} +2 -2
  162. package/dist/chunks/{Icon-BEUDQFrk.cjs.map → Icon-D5Za3nOG.cjs.map} +1 -1
  163. package/dist/chunks/{MenuButton-B1Ie5Sqy.js → MenuButton-Br-AJ3PB.js} +2 -2
  164. package/dist/chunks/{MenuButton-B1Ie5Sqy.js.map → MenuButton-Br-AJ3PB.js.map} +1 -1
  165. package/dist/chunks/{MenuButton-DOZFhvP9.cjs → MenuButton-DsXIKOMv.cjs} +2 -2
  166. package/dist/chunks/{MenuButton-DOZFhvP9.cjs.map → MenuButton-DsXIKOMv.cjs.map} +1 -1
  167. package/dist/chunks/{Stack-DyhbU7Me.js → Stack-CJUShSaY.js} +2 -2
  168. package/dist/chunks/{Stack-DyhbU7Me.js.map → Stack-CJUShSaY.js.map} +1 -1
  169. package/dist/chunks/{Stack-B9mi696v.cjs → Stack-DroqONbc.cjs} +2 -2
  170. package/dist/chunks/{Stack-B9mi696v.cjs.map → Stack-DroqONbc.cjs.map} +1 -1
  171. package/dist/chunks/{Typography-CmzvEsC_.js → Typography-CLOmn49Z.js} +2 -2
  172. package/dist/chunks/{Typography-CmzvEsC_.js.map → Typography-CLOmn49Z.js.map} +1 -1
  173. package/dist/chunks/{Typography-DaZ95boB.cjs → Typography-DrfQb45j.cjs} +2 -2
  174. package/dist/chunks/{Typography-DaZ95boB.cjs.map → Typography-DrfQb45j.cjs.map} +1 -1
  175. package/dist/chunks/{createComponent-DppVNf5x.js → createComponent-CNxBIpVe.js} +2 -2
  176. package/dist/chunks/{createComponent-DppVNf5x.js.map → createComponent-CNxBIpVe.js.map} +1 -1
  177. package/dist/chunks/{createComponent-6wUj8nAi.cjs → createComponent-Dk7XYIBw.cjs} +2 -2
  178. package/dist/chunks/{createComponent-6wUj8nAi.cjs.map → createComponent-Dk7XYIBw.cjs.map} +1 -1
  179. package/dist/chunks/useForm-C-tp2h3s.cjs +2 -0
  180. package/dist/chunks/useForm-C-tp2h3s.cjs.map +1 -0
  181. package/dist/chunks/useForm-phDdjT1r.js +2 -0
  182. package/dist/chunks/useForm-phDdjT1r.js.map +1 -0
  183. package/dist/chunks/{useMenu-D3vT9I3W.cjs → useMenu-CwgTamGj.cjs} +2 -2
  184. package/dist/chunks/{useMenu-D3vT9I3W.cjs.map → useMenu-CwgTamGj.cjs.map} +1 -1
  185. package/dist/chunks/{useMenu--3XhFiqi.js → useMenu-CzhqRm1Q.js} +2 -2
  186. package/dist/chunks/{useMenu--3XhFiqi.js.map → useMenu-CzhqRm1Q.js.map} +1 -1
  187. package/dist/chunks/{useTheme-BhIs8Txu.js → useTheme-BkUhhydo.js} +1 -1
  188. package/dist/chunks/{useTheme-BhIs8Txu.js.map → useTheme-BkUhhydo.js.map} +1 -1
  189. package/dist/chunks/{useTheme-BZ0xkY68.cjs → useTheme-DwBpyW-5.cjs} +1 -1
  190. package/dist/chunks/{useTheme-BZ0xkY68.cjs.map → useTheme-DwBpyW-5.cjs.map} +1 -1
  191. package/dist/components/Alert/index.cjs +1 -1
  192. package/dist/components/Alert/index.js +1 -1
  193. package/dist/components/Avatar/index.cjs +1 -1
  194. package/dist/components/Avatar/index.js +1 -1
  195. package/dist/components/Box/index.cjs +1 -1
  196. package/dist/components/Box/index.js +1 -1
  197. package/dist/components/Button/index.cjs +1 -1
  198. package/dist/components/Button/index.cjs.map +1 -1
  199. package/dist/components/Button/index.js +1 -1
  200. package/dist/components/Button/index.js.map +1 -1
  201. package/dist/components/ButtonIcon/index.cjs +1 -1
  202. package/dist/components/ButtonIcon/index.js +1 -1
  203. package/dist/components/Card/index.cjs +1 -1
  204. package/dist/components/Card/index.js +1 -1
  205. package/dist/components/Checkbox/index.cjs +1 -1
  206. package/dist/components/Checkbox/index.js +1 -1
  207. package/dist/components/CheckboxGroup/index.cjs +1 -1
  208. package/dist/components/CheckboxGroup/index.js +1 -1
  209. package/dist/components/Chip/index.cjs +1 -1
  210. package/dist/components/Chip/index.js +1 -1
  211. package/dist/components/ColorPicker/index.cjs +1 -1
  212. package/dist/components/ColorPicker/index.js +1 -1
  213. package/dist/components/Container/index.cjs +1 -1
  214. package/dist/components/Container/index.js +1 -1
  215. package/dist/components/Divider/index.cjs +1 -1
  216. package/dist/components/Divider/index.js +1 -1
  217. package/dist/components/Drawer/index.cjs +1 -1
  218. package/dist/components/Drawer/index.js +1 -1
  219. package/dist/components/Icon/index.cjs +1 -1
  220. package/dist/components/Icon/index.js +1 -1
  221. package/dist/components/Input/index.cjs +1 -1
  222. package/dist/components/Input/index.js +1 -1
  223. package/dist/components/InputFile/index.cjs +1 -1
  224. package/dist/components/InputFile/index.js +1 -1
  225. package/dist/components/Loading/index.cjs +1 -1
  226. package/dist/components/Loading/index.js +1 -1
  227. package/dist/components/Menu/index.cjs +1 -1
  228. package/dist/components/Menu/index.js +1 -1
  229. package/dist/components/Modal/index.cjs +1 -1
  230. package/dist/components/Modal/index.js +1 -1
  231. package/dist/components/Select/index.cjs +1 -1
  232. package/dist/components/Select/index.js +1 -1
  233. package/dist/components/Skeleton/index.cjs +1 -1
  234. package/dist/components/Skeleton/index.js +1 -1
  235. package/dist/components/Stack/index.cjs +1 -1
  236. package/dist/components/Stack/index.js +1 -1
  237. package/dist/components/Switchs/index.cjs +1 -1
  238. package/dist/components/Switchs/index.js +1 -1
  239. package/dist/components/Table/index.cjs +1 -1
  240. package/dist/components/Table/index.js +1 -1
  241. package/dist/components/Toast/index.cjs +1 -1
  242. package/dist/components/Toast/index.js +1 -1
  243. package/dist/components/Tooltip/index.cjs +1 -1
  244. package/dist/components/Tooltip/index.js +1 -1
  245. package/dist/components/Typography/index.cjs +1 -1
  246. package/dist/components/Typography/index.js +1 -1
  247. package/dist/index.cjs +1 -1
  248. package/dist/index.js +1 -1
  249. package/dist/lab/Form/index.cjs +1 -1
  250. package/dist/lab/Form/index.js +1 -1
  251. package/dist/style.css +2 -2
  252. package/dist/theme/index.cjs +1 -1
  253. package/dist/theme/index.js +1 -1
  254. package/package.json +1 -1
  255. package/dist/chunks/useForm-BrezSwQu.js +0 -2
  256. package/dist/chunks/useForm-BrezSwQu.js.map +0 -1
  257. package/dist/chunks/useForm-UT6lrV2_.cjs +0 -2
  258. package/dist/chunks/useForm-UT6lrV2_.cjs.map +0 -1
@@ -0,0 +1 @@
1
+ export * from './string';
@@ -0,0 +1,4 @@
1
+ export declare function sanitize(value: string): string;
2
+ export declare function getInitials(name: string): string;
3
+ export declare function slug(str: string): string;
4
+ export declare function capitalize(str: string): string;
@@ -0,0 +1 @@
1
+ export { uuid } from './uuid';
@@ -0,0 +1 @@
1
+ export declare function uuid(): string;
@@ -0,0 +1,2 @@
1
+ export * from './isEmpty';
2
+ export * from './isValidEmail';
@@ -0,0 +1 @@
1
+ export declare function isEmpty(value: any): boolean;
@@ -0,0 +1 @@
1
+ export declare function isValidEmail(email: string): boolean;
@@ -1,5 +1,5 @@
1
1
  import { PropsWithChildren, ButtonHTMLAttributes } from 'react';
2
- import { Colors, Size } from '@iziui/core/theme';
2
+ import { Colors, Size } from '../../_internal/core/theme';
3
3
  export interface ButtonProps extends PropsWithChildren<ButtonHTMLAttributes<HTMLButtonElement>> {
4
4
  size?: Size;
5
5
  color?: Colors;
@@ -8,6 +8,6 @@ export interface ButtonProps extends PropsWithChildren<ButtonHTMLAttributes<HTML
8
8
  loading?: React.JSX.Element | boolean;
9
9
  variant?: 'contained' | 'outlined' | 'text';
10
10
  }
11
- declare const _default: import('react').FC<import('@iziui/core/options').Sx<ButtonProps>>;
11
+ declare const _default: import('react').FC<import('../../_internal/core/options').Sx<ButtonProps>>;
12
12
  export default _default;
13
13
  //# sourceMappingURL=Button.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../../src/actions/Button/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,iBAAiB,EAAE,KAAK,oBAAoB,EAAgB,MAAM,OAAO,CAAC;AAIxF,OAAO,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AAStD,OAAO,sCAAsC,CAAC;AAE9C,MAAM,WAAW,WAAY,SAAQ,iBAAiB,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,CAAC;IAC7F,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,OAAO,CAAC;IAC5B,SAAS,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,OAAO,CAAC;IAC9B,OAAO,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,OAAO,GAAG,OAAO,CAAC;IACtC,OAAO,CAAC,EAAE,WAAW,GAAG,UAAU,GAAG,MAAM,CAAC;CAC7C;;AAqDD,wBAAuC"}
1
+ {"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../../src/actions/Button/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,iBAAiB,EAAE,KAAK,oBAAoB,EAAgB,MAAM,OAAO,CAAC;AAIxF,OAAO,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AAStD,OAAO,sCAAsC,CAAC;AAE9C,MAAM,WAAW,WAAY,SAAQ,iBAAiB,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,CAAC;IAC7F,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,OAAO,CAAC;IAC5B,SAAS,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,OAAO,CAAC;IAC9B,OAAO,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,OAAO,GAAG,OAAO,CAAC;IACtC,OAAO,CAAC,EAAE,WAAW,GAAG,UAAU,GAAG,MAAM,CAAC;CAC7C;;AAuDD,wBAAuC"}
@@ -6,6 +6,7 @@ export declare const WithIcons: StoryObj<typeof Button>;
6
6
  export declare const Sizes: StoryObj<typeof Button>;
7
7
  export declare const Disabled: StoryObj<typeof Button>;
8
8
  export declare const _Loading: StoryObj<typeof Button>;
9
+ export declare const FullWidth: StoryObj<typeof Button>;
9
10
  export declare const Playground: StoryObj<typeof Button>;
10
11
  declare const meta: Meta<typeof Button>;
11
12
  export default meta;
@@ -1 +1 @@
1
- {"version":3,"file":"Button.stories.d.ts","sourceRoot":"","sources":["../../../../src/actions/Button/Button.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AASvD,OAAO,MAAM,MAAM,UAAU,CAAC;AAE9B,eAAO,MAAM,MAAM,EAAE,QAAQ,CAAC,OAAO,MAAM,CAa1C,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,QAAQ,CAAC,OAAO,MAAM,CAU5C,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,QAAQ,CAAC,OAAO,MAAM,CAU7C,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,QAAQ,CAAC,OAAO,MAAM,CAUzC,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,QAAQ,CAAC,OAAO,MAAM,CAQ5C,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,QAAQ,CAAC,OAAO,MAAM,CAc5C,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,QAAQ,CAAC,OAAO,MAAM,CAE9C,CAAC;AAEF,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,MAAM,CA+F7B,CAAC;AAEF,eAAe,IAAI,CAAC"}
1
+ {"version":3,"file":"Button.stories.d.ts","sourceRoot":"","sources":["../../../../src/actions/Button/Button.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AASvD,OAAO,MAAM,MAAM,UAAU,CAAC;AAE9B,eAAO,MAAM,MAAM,EAAE,QAAQ,CAAC,OAAO,MAAM,CAa1C,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,QAAQ,CAAC,OAAO,MAAM,CAU5C,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,QAAQ,CAAC,OAAO,MAAM,CAU7C,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,QAAQ,CAAC,OAAO,MAAM,CAUzC,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,QAAQ,CAAC,OAAO,MAAM,CAQ5C,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,QAAQ,CAAC,OAAO,MAAM,CAc5C,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,QAAQ,CAAC,OAAO,MAAM,CAU7C,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,QAAQ,CAAC,OAAO,MAAM,CAE9C,CAAC;AAEF,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,MAAM,CA+F7B,CAAC;AAEF,eAAe,IAAI,CAAC"}
@@ -1,11 +1,11 @@
1
1
  import { ButtonHTMLAttributes, PropsWithChildren, ReactElement } from 'react';
2
- import { Colors } from '@iziui/core/theme';
2
+ import { Colors } from '../../_internal/core/theme';
3
3
  import { IconProps } from '../../display/Icon';
4
4
  export interface ButtonIconProps extends PropsWithChildren<ButtonHTMLAttributes<HTMLButtonElement>> {
5
5
  color?: Colors;
6
6
  size?: number;
7
7
  children: ReactElement<IconProps>;
8
8
  }
9
- declare const _default: import('react').FC<import('@iziui/core/options').Sx<ButtonIconProps>>;
9
+ declare const _default: import('react').FC<import('../../_internal/core/options').Sx<ButtonIconProps>>;
10
10
  export default _default;
11
11
  //# sourceMappingURL=ButtonIcon.d.ts.map
@@ -1,4 +1,4 @@
1
1
  import { ComponentType, FC } from 'react';
2
- import { Sx } from '@iziui/core/options';
2
+ import { Sx } from '../_internal/core/options';
3
3
  export default function createComponent<P>(WrappedComponent: ComponentType<P>): FC<Sx<P>>;
4
4
  //# sourceMappingURL=createComponent.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"createComponent.d.ts","sourceRoot":"","sources":["../../../src/core/createComponent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAE/C,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,qBAAqB,CAAC;AAW9C,MAAM,CAAC,OAAO,UAAU,eAAe,CAAC,CAAC,EAAE,gBAAgB,EAAE,aAAa,CAAC,CAAC,CAAC,aAuB5E"}
1
+ {"version":3,"file":"createComponent.d.ts","sourceRoot":"","sources":["../../../src/core/createComponent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAE/C,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,qBAAqB,CAAC;AAW9C,MAAM,CAAC,OAAO,UAAU,eAAe,CAAC,CAAC,EAAE,gBAAgB,EAAE,aAAa,CAAC,CAAC,CAAC,aAyB5E"}
@@ -1,5 +1,5 @@
1
1
  import { HTMLAttributes } from 'react';
2
- import { Colors } from '@iziui/core/theme';
2
+ import { Colors } from '../../_internal/core/theme';
3
3
  interface AvatarProps extends HTMLAttributes<HTMLElement> {
4
4
  alt?: string;
5
5
  src?: string;
@@ -9,6 +9,6 @@ interface AvatarProps extends HTMLAttributes<HTMLElement> {
9
9
  variant?: 'rounded' | 'circular';
10
10
  icon?: React.JSX.Element;
11
11
  }
12
- declare const _default: import('react').FC<import('@iziui/core/options').Sx<AvatarProps>>;
12
+ declare const _default: import('react').FC<import('../../_internal/core/options').Sx<AvatarProps>>;
13
13
  export default _default;
14
14
  //# sourceMappingURL=Avatar.d.ts.map
@@ -2,6 +2,6 @@ import { HTMLAttributes } from 'react';
2
2
  interface CardProps extends HTMLAttributes<HTMLDivElement> {
3
3
  onClick?: (e?: any) => void;
4
4
  }
5
- declare const _default: import('react').FC<import('@iziui/core/options').Sx<CardProps>>;
5
+ declare const _default: import('react').FC<import('../../_internal/core/options').Sx<CardProps>>;
6
6
  export default _default;
7
7
  //# sourceMappingURL=Card.d.ts.map
@@ -1,5 +1,5 @@
1
1
  import { HTMLAttributes } from 'react';
2
2
  type CardContentProps = HTMLAttributes<HTMLDivElement>;
3
- declare const _default: import('react').FC<import('@iziui/core/options').Sx<CardContentProps>>;
3
+ declare const _default: import('react').FC<import('../../_internal/core/options').Sx<CardContentProps>>;
4
4
  export default _default;
5
5
  //# sourceMappingURL=CardContent.d.ts.map
@@ -1,5 +1,5 @@
1
1
  import { HTMLAttributes } from 'react';
2
- import { Colors, Size } from '@iziui/core/theme';
2
+ import { Colors, Size } from '../../_internal/core/theme';
3
3
  export interface ChipProps extends Omit<HTMLAttributes<HTMLElement>, 'children'> {
4
4
  label: string;
5
5
  size?: Size;
@@ -8,6 +8,6 @@ export interface ChipProps extends Omit<HTMLAttributes<HTMLElement>, 'children'>
8
8
  icon?: React.JSX.Element;
9
9
  onDelete?: () => void;
10
10
  }
11
- declare const _default: import('react').FC<import('@iziui/core/options').Sx<ChipProps & import('react').RefAttributes<HTMLDivElement>>>;
11
+ declare const _default: import('react').FC<import('../../_internal/core/options').Sx<ChipProps & import('react').RefAttributes<HTMLDivElement>>>;
12
12
  export default _default;
13
13
  //# sourceMappingURL=Chip.d.ts.map
@@ -1,5 +1,5 @@
1
1
  import { HTMLAttributes } from 'react';
2
2
  export type DividerProps = HTMLAttributes<HTMLElement>;
3
- declare const _default: import('react').FC<import('@iziui/core/options').Sx<DividerProps>>;
3
+ declare const _default: import('react').FC<import('../../_internal/core/options').Sx<DividerProps>>;
4
4
  export default _default;
5
5
  //# sourceMappingURL=Divider.d.ts.map
@@ -3,6 +3,6 @@ export interface IconProps extends HTMLAttributes<HTMLElement> {
3
3
  name: string;
4
4
  size?: number;
5
5
  }
6
- declare const _default: import('react').FC<import('@iziui/core/options').Sx<IconProps>>;
6
+ declare const _default: import('react').FC<import('../../_internal/core/options').Sx<IconProps>>;
7
7
  export default _default;
8
8
  //# sourceMappingURL=Icon.d.ts.map
@@ -1,5 +1,5 @@
1
1
  import { TableHTMLAttributes } from 'react';
2
2
  export type TableProps = TableHTMLAttributes<HTMLTableElement>;
3
- declare const _default: import('react').FC<import('@iziui/core/options').Sx<TableProps>>;
3
+ declare const _default: import('react').FC<import('../../_internal/core/options').Sx<TableProps>>;
4
4
  export default _default;
5
5
  //# sourceMappingURL=Table.d.ts.map
@@ -3,6 +3,6 @@ interface TableCellProps extends TdHTMLAttributes<HTMLTableDataCellElement> {
3
3
  align?: 'left' | 'center' | 'right';
4
4
  children: React.JSX.Element | string | number | null;
5
5
  }
6
- declare const _default: import('react').FC<import('@iziui/core/options').Sx<TableCellProps>>;
6
+ declare const _default: import('react').FC<import('../../_internal/core/options').Sx<TableCellProps>>;
7
7
  export default _default;
8
8
  //# sourceMappingURL=TableCell.d.ts.map
@@ -6,6 +6,6 @@ export interface TooltipProps extends HTMLAttributes<HTMLElement> {
6
6
  children: React.JSX.Element;
7
7
  label: string | React.JSX.Element;
8
8
  }
9
- declare const _default: import('react').FC<import('@iziui/core/options').Sx<TooltipProps>>;
9
+ declare const _default: import('react').FC<import('../../_internal/core/options').Sx<TooltipProps>>;
10
10
  export default _default;
11
11
  //# sourceMappingURL=Tooltip.d.ts.map
@@ -1,5 +1,5 @@
1
1
  import { PropsWithChildren, HTMLAttributes, CSSProperties } from 'react';
2
- import { MappedColors } from '@iziui/core/theme';
2
+ import { MappedColors } from '../../_internal/core/theme';
3
3
  export declare const variants: readonly ["h1", "h2", "h3", "h4", "h5", "h6", "subtitle1", "subtitle2", "body1", "body2"];
4
4
  export type Variant = typeof variants[number];
5
5
  interface TypographyProps extends PropsWithChildren<HTMLAttributes<HTMLParagraphElement>> {
@@ -8,6 +8,6 @@ interface TypographyProps extends PropsWithChildren<HTMLAttributes<HTMLParagraph
8
8
  textAlign?: CSSProperties['textAlign'];
9
9
  weight?: 'bold' | 'normal' | 'light';
10
10
  }
11
- declare const _default: import('react').FC<import('@iziui/core/options').Sx<TypographyProps>>;
11
+ declare const _default: import('react').FC<import('../../_internal/core/options').Sx<TypographyProps>>;
12
12
  export default _default;
13
13
  //# sourceMappingURL=Typography.d.ts.map
@@ -1,11 +1,11 @@
1
1
  import { HtmlHTMLAttributes } from 'react';
2
- import { Colors } from '@iziui/core/theme';
2
+ import { Colors } from '../../_internal/core/theme';
3
3
  export interface AlertProps extends HtmlHTMLAttributes<HTMLDivElement> {
4
4
  color?: Colors;
5
5
  icon?: React.JSX.Element;
6
6
  children: React.ReactNode;
7
7
  onClose?: () => void;
8
8
  }
9
- declare const _default: import('react').FC<import('@iziui/core/options').Sx<AlertProps>>;
9
+ declare const _default: import('react').FC<import('../../_internal/core/options').Sx<AlertProps>>;
10
10
  export default _default;
11
11
  //# sourceMappingURL=Alert.d.ts.map
@@ -1,9 +1,9 @@
1
1
  import { HTMLAttributes } from 'react';
2
- import { Colors } from '@iziui/core/theme';
2
+ import { Colors } from '../../_internal/core/theme';
3
3
  export interface LoadingProps extends HTMLAttributes<HTMLSpanElement> {
4
4
  color?: Colors;
5
5
  size?: number | string;
6
6
  }
7
- declare const _default: import('react').FC<import('@iziui/core/options').Sx<LoadingProps>>;
7
+ declare const _default: import('react').FC<import('../../_internal/core/options').Sx<LoadingProps>>;
8
8
  export default _default;
9
9
  //# sourceMappingURL=Loading.d.ts.map
@@ -6,6 +6,6 @@ export interface ModalProps extends Omit<HTMLAttributes<HTMLElement>, 'title'> {
6
6
  title?: React.JSX.Element;
7
7
  subtitle?: React.JSX.Element;
8
8
  }
9
- declare const _default: import('react').FC<import('@iziui/core/options').Sx<ModalProps>>;
9
+ declare const _default: import('react').FC<import('../../_internal/core/options').Sx<ModalProps>>;
10
10
  export default _default;
11
11
  //# sourceMappingURL=Modal.d.ts.map
@@ -1,6 +1,6 @@
1
1
  interface ModalFooterProps {
2
2
  children: React.ReactNode;
3
3
  }
4
- declare const _default: import('react').FC<import('@iziui/core/options').Sx<ModalFooterProps>>;
4
+ declare const _default: import('react').FC<import('../../_internal/core/options').Sx<ModalFooterProps>>;
5
5
  export default _default;
6
6
  //# sourceMappingURL=ModalFooter.d.ts.map
@@ -5,6 +5,6 @@ export interface SkeletonProps {
5
5
  width: CSSProperties['width'];
6
6
  height: CSSProperties['height'];
7
7
  }
8
- declare const _default: import('react').FC<import('@iziui/core/options').Sx<SkeletonProps>>;
8
+ declare const _default: import('react').FC<import('../../_internal/core/options').Sx<SkeletonProps>>;
9
9
  export default _default;
10
10
  //# sourceMappingURL=Skeleton.d.ts.map
@@ -1,5 +1,5 @@
1
1
  import { HTMLAttributes } from 'react';
2
- import { Colors } from '@iziui/core/theme';
2
+ import { Colors } from '../../_internal/core/theme';
3
3
  type Icon = React.JSX.Element;
4
4
  type Message = React.JSX.Element | string;
5
5
  export type PickedToast = Pick<ToastProps, 'id' | 'icon' | 'color' | 'message' | 'delay' | 'visible'>;
@@ -12,6 +12,6 @@ export interface ToastProps extends HTMLAttributes<HTMLDivElement> {
12
12
  visible?: boolean;
13
13
  onRemove: (id: string) => void;
14
14
  }
15
- declare const _default: import('react').FC<import('@iziui/core/options').Sx<ToastProps>>;
15
+ declare const _default: import('react').FC<import('../../_internal/core/options').Sx<ToastProps>>;
16
16
  export default _default;
17
17
  //# sourceMappingURL=Toast.d.ts.map
@@ -1,5 +1,5 @@
1
1
  import { HTMLProps } from 'react';
2
- import { Colors } from '@iziui/core/theme';
2
+ import { Colors } from '../../_internal/core/theme';
3
3
  export interface CheckboxProps extends Omit<HTMLProps<HTMLInputElement>, 'id'> {
4
4
  name: string;
5
5
  label: string;
@@ -8,6 +8,6 @@ export interface CheckboxProps extends Omit<HTMLProps<HTMLInputElement>, 'id'> {
8
8
  color?: Colors;
9
9
  checked?: boolean;
10
10
  }
11
- declare const _default: import('react').FC<import('@iziui/core/options').Sx<CheckboxProps>>;
11
+ declare const _default: import('react').FC<import('../../_internal/core/options').Sx<CheckboxProps>>;
12
12
  export default _default;
13
13
  //# sourceMappingURL=Checkbox.d.ts.map
@@ -9,6 +9,6 @@ export interface CheckboxGroupProps {
9
9
  values?: string[];
10
10
  onChange?: (data: CheckboxData[]) => void;
11
11
  }
12
- declare const _default: import('react').FC<import('@iziui/core/options').Sx<CheckboxGroupProps>>;
12
+ declare const _default: import('react').FC<import('../../_internal/core/options').Sx<CheckboxGroupProps>>;
13
13
  export default _default;
14
14
  //# sourceMappingURL=CheckboxGroup.d.ts.map
@@ -7,6 +7,6 @@ export interface ColorPickerProps extends Omit<InputHTMLAttributes<HTMLInputElem
7
7
  fitContent?: boolean;
8
8
  autoClose?: boolean;
9
9
  }
10
- declare const _default: import('react').FC<import('@iziui/core/options').Sx<ColorPickerProps>>;
10
+ declare const _default: import('react').FC<import('../../_internal/core/options').Sx<ColorPickerProps>>;
11
11
  export default _default;
12
12
  //# sourceMappingURL=ColorPicker.d.ts.map
@@ -9,6 +9,6 @@ export interface InputProps extends Omit<InputHTMLAttributes<HTMLInputElement>,
9
9
  endIcon?: React.JSX.Element | boolean;
10
10
  startIcon?: React.JSX.Element | boolean;
11
11
  }
12
- declare const _default: import('react').FC<import('@iziui/core/options').Sx<InputProps>>;
12
+ declare const _default: import('react').FC<import('../../_internal/core/options').Sx<InputProps>>;
13
13
  export default _default;
14
14
  //# sourceMappingURL=Input.d.ts.map
@@ -1,6 +1,6 @@
1
1
  import { InputHTMLAttributes } from 'react';
2
2
  export interface InputFileProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'type'> {
3
3
  }
4
- declare const _default: import('react').FC<import('@iziui/core/options').Sx<InputFileProps>>;
4
+ declare const _default: import('react').FC<import('../../_internal/core/options').Sx<InputFileProps>>;
5
5
  export default _default;
6
6
  //# sourceMappingURL=InputFile.d.ts.map
@@ -7,6 +7,6 @@ export interface SelectProps extends Omit<InputHTMLAttributes<HTMLInputElement>,
7
7
  startIcon?: React.JSX.Element | boolean;
8
8
  children: React.JSX.Element | React.JSX.Element[];
9
9
  }
10
- declare const _default: import('react').FC<import('@iziui/core/options').Sx<SelectProps>>;
10
+ declare const _default: import('react').FC<import('../../_internal/core/options').Sx<SelectProps>>;
11
11
  export default _default;
12
12
  //# sourceMappingURL=Select.d.ts.map
@@ -1,5 +1,5 @@
1
1
  import { InputHTMLAttributes } from 'react';
2
- import { Colors } from '@iziui/core/theme';
2
+ import { Colors } from '../../_internal/core/theme';
3
3
  export interface SwitchProps extends InputHTMLAttributes<HTMLInputElement> {
4
4
  label?: string;
5
5
  error?: boolean;
@@ -7,6 +7,6 @@ export interface SwitchProps extends InputHTMLAttributes<HTMLInputElement> {
7
7
  color?: Colors;
8
8
  auto?: boolean;
9
9
  }
10
- declare const _default: import('react').FC<import('@iziui/core/options').Sx<SwitchProps>>;
10
+ declare const _default: import('react').FC<import('../../_internal/core/options').Sx<SwitchProps>>;
11
11
  export default _default;
12
12
  //# sourceMappingURL=Switch.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Form.d.ts","sourceRoot":"","sources":["../../../../src/lab/Form/Form.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAiB,cAAc,EAAE,MAAM,OAAO,CAAC;AAEtD,OAAO,KAAK,SAAS,MAAM,aAAa,CAAC;AAEzC,eAAO,MAAM,WAAW,gDAA6C,CAAC;AAEtE,UAAU,SAAS,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAE,SAAQ,cAAc,CAAC,eAAe,CAAC;IAC5F,SAAS,EAAE,SAAS,CAAC,CAAC,CAAC,CAAC;IACxB,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB;AAED,MAAM,CAAC,OAAO,UAAU,IAAI,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,EAC9D,SAAS,EACT,KAAa,EACb,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,SAAS,CAAC,CAAC,CAAC,2CAuBd"}
1
+ {"version":3,"file":"Form.d.ts","sourceRoot":"","sources":["../../../../src/lab/Form/Form.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAiB,cAAc,EAAE,MAAM,OAAO,CAAC;AAEtD,OAAO,KAAK,SAAS,MAAM,aAAa,CAAC;AAEzC,eAAO,MAAM,WAAW,gDAA6C,CAAC;AAEtE,UAAU,SAAS,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAE,SAAQ,cAAc,CAAC,eAAe,CAAC;IAC5F,SAAS,EAAE,SAAS,CAAC,CAAC,CAAC,CAAC;IACxB,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB;AAED,MAAM,CAAC,OAAO,UAAU,IAAI,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,EAC9D,SAAS,EACT,KAAa,EACb,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,SAAS,CAAC,CAAC,CAAC,2CA4Bd"}
@@ -2,6 +2,6 @@ import { HTMLAttributes } from 'react';
2
2
  export interface BoxProps extends HTMLAttributes<HTMLElement> {
3
3
  tag?: React.ElementType;
4
4
  }
5
- declare const _default: import('react').FC<import('@iziui/core/options').Sx<BoxProps & import('react').RefAttributes<HTMLElement>>>;
5
+ declare const _default: import('react').FC<import('../../_internal/core/options').Sx<BoxProps & import('react').RefAttributes<HTMLElement>>>;
6
6
  export default _default;
7
7
  //# sourceMappingURL=Box.d.ts.map
@@ -6,6 +6,6 @@ export interface ContainerProps extends HTMLAttributes<HTMLElement> {
6
6
  md?: Width;
7
7
  lg?: Width;
8
8
  }
9
- declare const _default: import('react').FC<import('@iziui/core/options').Sx<ContainerProps & import('react').RefAttributes<HTMLElement>>>;
9
+ declare const _default: import('react').FC<import('../../_internal/core/options').Sx<ContainerProps & import('react').RefAttributes<HTMLElement>>>;
10
10
  export default _default;
11
11
  //# sourceMappingURL=Container.d.ts.map
@@ -1,5 +1,5 @@
1
1
  import { CSSProperties, HtmlHTMLAttributes } from 'react';
2
- import { IntRange } from '@iziui/toolkit/interface';
2
+ import { IntRange } from '../../_internal/toolkit/interface';
3
3
  export type Size = {
4
4
  xs: IntRange<0, 13>;
5
5
  sm: IntRange<0, 13>;
@@ -8,6 +8,6 @@ export interface StackProps extends HTMLAttributes<HTMLElement> {
8
8
  alignSelf?: CSSProperties['alignSelf'];
9
9
  flexWrap?: CSSProperties['flexWrap'];
10
10
  }
11
- declare const _default: import('react').FC<import('@iziui/core/options').Sx<StackProps & import('react').RefAttributes<HTMLElement>>>;
11
+ declare const _default: import('react').FC<import('../../_internal/core/options').Sx<StackProps & import('react').RefAttributes<HTMLElement>>>;
12
12
  export default _default;
13
13
  //# sourceMappingURL=Stack.d.ts.map
@@ -8,6 +8,6 @@ export interface DrawerProps extends HTMLAttributes<HTMLDivElement> {
8
8
  footer?: React.JSX.Element;
9
9
  onClose: () => void;
10
10
  }
11
- declare const _default: import('react').FC<import('@iziui/core/options').Sx<DrawerProps>>;
11
+ declare const _default: import('react').FC<import('../../_internal/core/options').Sx<DrawerProps>>;
12
12
  export default _default;
13
13
  //# sourceMappingURL=Drawer.d.ts.map
@@ -1,5 +1,5 @@
1
1
  import { HtmlHTMLAttributes, PropsWithChildren } from 'react';
2
2
  type DrawerContentProps = PropsWithChildren<HtmlHTMLAttributes<HTMLDivElement>>;
3
- declare const _default: import('react').FC<import('@iziui/core/options').Sx<DrawerContentProps>>;
3
+ declare const _default: import('react').FC<import('../../_internal/core/options').Sx<DrawerContentProps>>;
4
4
  export default _default;
5
5
  //# sourceMappingURL=DrawerContent.d.ts.map
@@ -1,5 +1,5 @@
1
1
  import { HtmlHTMLAttributes, PropsWithChildren } from 'react';
2
2
  type DrawerFooterProps = PropsWithChildren<HtmlHTMLAttributes<HTMLDivElement>>;
3
- declare const _default: import('react').FC<import('@iziui/core/options').Sx<DrawerFooterProps>>;
3
+ declare const _default: import('react').FC<import('../../_internal/core/options').Sx<DrawerFooterProps>>;
4
4
  export default _default;
5
5
  //# sourceMappingURL=DrawerFooter.d.ts.map
@@ -2,6 +2,6 @@ import { HtmlHTMLAttributes } from 'react';
2
2
  interface DrawerHeaderProps extends HtmlHTMLAttributes<HTMLDivElement> {
3
3
  onClose: () => void;
4
4
  }
5
- declare const _default: import('react').FC<import('@iziui/core/options').Sx<DrawerHeaderProps>>;
5
+ declare const _default: import('react').FC<import('../../_internal/core/options').Sx<DrawerHeaderProps>>;
6
6
  export default _default;
7
7
  //# sourceMappingURL=DrawerHeader.d.ts.map
@@ -10,6 +10,6 @@ export interface MenuProps extends HTMLAttributes<HTMLDivElement> {
10
10
  children: React.JSX.Element | React.JSX.Element[];
11
11
  onClose: (e?: React.MouseEvent<HTMLButtonElement>) => void;
12
12
  }
13
- declare const _default: import('react').FC<import('@iziui/core/options').Sx<MenuProps & import('react').RefAttributes<HTMLDivElement>>>;
13
+ declare const _default: import('react').FC<import('../../_internal/core/options').Sx<MenuProps & import('react').RefAttributes<HTMLDivElement>>>;
14
14
  export default _default;
15
15
  //# sourceMappingURL=Menu.d.ts.map
@@ -1,10 +1,10 @@
1
1
  import { ButtonHTMLAttributes } from 'react';
2
- import { Colors } from '@iziui/core/theme';
2
+ import { Colors } from '../../_internal/core/theme';
3
3
  export interface MenuButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
4
4
  label: string;
5
5
  color?: Colors;
6
6
  icon?: React.JSX.Element;
7
7
  }
8
- declare const _default: import('react').FC<import('@iziui/core/options').Sx<MenuButtonProps>>;
8
+ declare const _default: import('react').FC<import('../../_internal/core/options').Sx<MenuButtonProps>>;
9
9
  export default _default;
10
10
  //# sourceMappingURL=MenuButton.d.ts.map
@@ -1,5 +1,5 @@
1
1
  import { PropsWithChildren } from 'react';
2
- import { ThemeBuilded } from '@iziui/core/theme';
2
+ import { ThemeBuilded } from '../_internal/core/theme';
3
3
  export interface ThemeContextConfig {
4
4
  theme: ThemeBuilded;
5
5
  updateTheme: (theme: ThemeBuilded) => void;
@@ -1,2 +1,2 @@
1
- export { createTheme } from '@iziui/core/theme';
1
+ export { createTheme } from '../_internal/core/theme';
2
2
  //# sourceMappingURL=createTheme.d.ts.map
@@ -1,2 +1,2 @@
1
- import{jsxs as c,jsx as e}from"react/jsx-runtime";import{cloneElement as $}from"react";import{p as r}from"./index-CZ41y9Hn.js";import{j as i}from"./joinClass-anSpaauN.js";import{S as m}from"./Stack-DyhbU7Me.js";import{T as y}from"./Typography-CmzvEsC_.js";import{B as g}from"./ButtonIcon-B5VfjTl_.js";import{c as x}from"./createComponent-DppVNf5x.js";import{I}from"./Icon-BCwUSOy5.js";function _({children:o,icon:n,color:t="primary",onClose:a,...s}){const l=i(`${r}-alert`,`${r}-alert--${t}`,s.className),f=i(`${r}-alert__button`,`${r}-alert__button--${t}`),p=()=>typeof o=="string"?e(y,{variant:"body1",style:{color:"currentcolor"},children:o}):o,u=d=>$(d,{color:`${t}.dark`});return c(m,{fullWidth:!0,gap:0,flexDirection:"row",alignItems:"center",justifyContent:"center",...s,className:l,children:[c(m,{fullWidth:!0,gap:8,flexDirection:"row",alignItems:"center",className:`${r}-alert__content`,children:[n&&u(n),p()]}),a&&e("div",{children:e(g,{className:f,onClick:a,color:t,style:{color:"currentColor"},children:e(I,{name:"times"})})})]})}const B=x(_);export{B as A};
2
- //# sourceMappingURL=Alert-Eku3Mhx-.js.map
1
+ import{jsxs as c,jsx as e}from"react/jsx-runtime";import{cloneElement as $}from"react";import{p as r}from"./index-CZ41y9Hn.js";import{j as i}from"./joinClass-anSpaauN.js";import{S as m}from"./Stack-CJUShSaY.js";import{T as y}from"./Typography-CLOmn49Z.js";import{B as g}from"./ButtonIcon-CX9wj1rg.js";import{c as x}from"./createComponent-CNxBIpVe.js";import{I}from"./Icon-CvSrDjml.js";function _({children:o,icon:n,color:t="primary",onClose:a,...s}){const l=i(`${r}-alert`,`${r}-alert--${t}`,s.className),f=i(`${r}-alert__button`,`${r}-alert__button--${t}`),p=()=>typeof o=="string"?e(y,{variant:"body1",style:{color:"currentcolor"},children:o}):o,u=d=>$(d,{color:`${t}.dark`});return c(m,{fullWidth:!0,gap:0,flexDirection:"row",alignItems:"center",justifyContent:"center",...s,className:l,children:[c(m,{fullWidth:!0,gap:8,flexDirection:"row",alignItems:"center",className:`${r}-alert__content`,children:[n&&u(n),p()]}),a&&e("div",{children:e(g,{className:f,onClick:a,color:t,style:{color:"currentColor"},children:e(I,{name:"times"})})})]})}const B=x(_);export{B as A};
2
+ //# sourceMappingURL=Alert-B4WtVQjs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Alert-Eku3Mhx-.js","sources":["../../src/feedback/Alert/Alert.tsx"],"sourcesContent":["import { cloneElement, type HtmlHTMLAttributes } from 'react';\n\nimport { prefix } from '@iziui/tokens/web/js';\n\nimport type { Colors } from '@iziui/core/theme';\nimport { joinClass } from '@iziui/core/utils/joinClass';\n\nimport Stack from '@/layout/Stack';\nimport Typography from '@/display/Typography';\nimport ButtonIcon from '@/actions/ButtonIcon';\nimport createComponent from '@/core/createComponent';\nimport Icon, { type IconProps } from '@/display/Icon';\n\nimport '@iziui/styles/components/Alert.scss';\n\nexport interface AlertProps extends HtmlHTMLAttributes<HTMLDivElement> {\n color?: Colors;\n icon?: React.JSX.Element;\n children: React.ReactNode;\n onClose?: () => void;\n}\n\nfunction Alert({\n children,\n icon,\n color = 'primary',\n onClose,\n ...props\n}: AlertProps) {\n const className = joinClass(\n `${prefix}-alert`,\n `${prefix}-alert--${color}`,\n props.className\n );\n\n const classNameAction = joinClass(\n `${prefix}-alert__button`,\n `${prefix}-alert__button--${color}`,\n );\n\n const renderMessage = () => {\n if (typeof children === 'string') {\n return (\n <Typography variant=\"body1\" style={{ color: 'currentcolor' }}>\n {children}\n </Typography>\n );\n }\n\n return children;\n };\n\n const renderIcon = (icon: React.JSX.Element) => {\n return cloneElement<IconProps>(icon, {\n color: `${color}.dark`\n });\n };\n\n return (\n <Stack\n fullWidth\n gap={0}\n flexDirection=\"row\"\n alignItems=\"center\"\n justifyContent=\"center\"\n {...props}\n className={className}\n >\n <Stack\n fullWidth\n gap={8}\n flexDirection=\"row\"\n alignItems=\"center\"\n className={`${prefix}-alert__content`}\n >\n {icon && renderIcon(icon)}\n {renderMessage()}\n </Stack>\n {\n onClose && (\n <div>\n <ButtonIcon\n className={classNameAction}\n onClick={onClose}\n color={color}\n style={{ color: 'currentColor' }}\n >\n <Icon name=\"times\" />\n </ButtonIcon>\n </div>)\n }\n </Stack>\n );\n}\n\nexport default createComponent(Alert);"],"names":["Alert","children","icon","color","onClose","props","className","joinClass","prefix","classNameAction","renderMessage","jsx","Typography","renderIcon","cloneElement","jsxs","Stack","ButtonIcon","Icon","Alert$1","createComponent"],"mappings":"iYAsBA,SAASA,EAAM,CACb,SAAAC,EACA,KAAAC,EACA,MAAAC,EAAQ,UACR,QAAAC,EACA,GAAGC,CACL,EAAe,CACb,MAAMC,EAAYC,EAChB,GAAGC,CAAM,SACT,GAAGA,CAAM,WAAWL,CAAK,GACzBE,EAAM,SAAA,EAGFI,EAAkBF,EACtB,GAAGC,CAAM,iBACT,GAAGA,CAAM,mBAAmBL,CAAK,EAAA,EAG7BO,EAAgB,IAChB,OAAOT,GAAa,SAEpBU,EAACC,GAAW,QAAQ,QAAQ,MAAO,CAAE,MAAO,gBACzC,SAAAX,EACH,EAIGA,EAGHY,EAAcX,GACXY,EAAwBZ,EAAM,CACnC,MAAO,GAAGC,CAAK,OAAA,CAChB,EAGH,OACEY,EAACC,EAAA,CACC,UAAS,GACT,IAAK,EACL,cAAc,MACd,WAAW,SACX,eAAe,SACd,GAAGX,EACJ,UAAAC,EAEA,SAAA,CAAAS,EAACC,EAAA,CACC,UAAS,GACT,IAAK,EACL,cAAc,MACd,WAAW,SACX,UAAW,GAAGR,CAAM,kBAEnB,SAAA,CAAAN,GAAQW,EAAWX,CAAI,EACvBQ,EAAA,CAAc,CAAA,CAAA,EAGfN,KACG,MAAA,CACC,SAAAO,EAACM,EAAA,CACC,UAAWR,EACX,QAASL,EACT,MAAAD,EACA,MAAO,CAAE,MAAO,cAAA,EAEhB,SAAAQ,EAACO,EAAA,CAAK,KAAK,OAAA,CAAQ,CAAA,CAAA,CACrB,CACF,CAAA,CAAA,CAAA,CAIV,CAEA,MAAAC,EAAeC,EAAgBpB,CAAK"}
1
+ {"version":3,"file":"Alert-B4WtVQjs.js","sources":["../../src/feedback/Alert/Alert.tsx"],"sourcesContent":["import { cloneElement, type HtmlHTMLAttributes } from 'react';\n\nimport { prefix } from '@iziui/tokens/web/js';\n\nimport type { Colors } from '@iziui/core/theme';\nimport { joinClass } from '@iziui/core/utils/joinClass';\n\nimport Stack from '@/layout/Stack';\nimport Typography from '@/display/Typography';\nimport ButtonIcon from '@/actions/ButtonIcon';\nimport createComponent from '@/core/createComponent';\nimport Icon, { type IconProps } from '@/display/Icon';\n\nimport '@iziui/styles/components/Alert.scss';\n\nexport interface AlertProps extends HtmlHTMLAttributes<HTMLDivElement> {\n color?: Colors;\n icon?: React.JSX.Element;\n children: React.ReactNode;\n onClose?: () => void;\n}\n\nfunction Alert({\n children,\n icon,\n color = 'primary',\n onClose,\n ...props\n}: AlertProps) {\n const className = joinClass(\n `${prefix}-alert`,\n `${prefix}-alert--${color}`,\n props.className\n );\n\n const classNameAction = joinClass(\n `${prefix}-alert__button`,\n `${prefix}-alert__button--${color}`,\n );\n\n const renderMessage = () => {\n if (typeof children === 'string') {\n return (\n <Typography variant=\"body1\" style={{ color: 'currentcolor' }}>\n {children}\n </Typography>\n );\n }\n\n return children;\n };\n\n const renderIcon = (icon: React.JSX.Element) => {\n return cloneElement<IconProps>(icon, {\n color: `${color}.dark`\n });\n };\n\n return (\n <Stack\n fullWidth\n gap={0}\n flexDirection=\"row\"\n alignItems=\"center\"\n justifyContent=\"center\"\n {...props}\n className={className}\n >\n <Stack\n fullWidth\n gap={8}\n flexDirection=\"row\"\n alignItems=\"center\"\n className={`${prefix}-alert__content`}\n >\n {icon && renderIcon(icon)}\n {renderMessage()}\n </Stack>\n {\n onClose && (\n <div>\n <ButtonIcon\n className={classNameAction}\n onClick={onClose}\n color={color}\n style={{ color: 'currentColor' }}\n >\n <Icon name=\"times\" />\n </ButtonIcon>\n </div>)\n }\n </Stack>\n );\n}\n\nexport default createComponent(Alert);"],"names":["Alert","children","icon","color","onClose","props","className","joinClass","prefix","classNameAction","renderMessage","jsx","Typography","renderIcon","cloneElement","jsxs","Stack","ButtonIcon","Icon","Alert$1","createComponent"],"mappings":"iYAsBA,SAASA,EAAM,CACb,SAAAC,EACA,KAAAC,EACA,MAAAC,EAAQ,UACR,QAAAC,EACA,GAAGC,CACL,EAAe,CACb,MAAMC,EAAYC,EAChB,GAAGC,CAAM,SACT,GAAGA,CAAM,WAAWL,CAAK,GACzBE,EAAM,SAAA,EAGFI,EAAkBF,EACtB,GAAGC,CAAM,iBACT,GAAGA,CAAM,mBAAmBL,CAAK,EAAA,EAG7BO,EAAgB,IAChB,OAAOT,GAAa,SAEpBU,EAACC,GAAW,QAAQ,QAAQ,MAAO,CAAE,MAAO,gBACzC,SAAAX,EACH,EAIGA,EAGHY,EAAcX,GACXY,EAAwBZ,EAAM,CACnC,MAAO,GAAGC,CAAK,OAAA,CAChB,EAGH,OACEY,EAACC,EAAA,CACC,UAAS,GACT,IAAK,EACL,cAAc,MACd,WAAW,SACX,eAAe,SACd,GAAGX,EACJ,UAAAC,EAEA,SAAA,CAAAS,EAACC,EAAA,CACC,UAAS,GACT,IAAK,EACL,cAAc,MACd,WAAW,SACX,UAAW,GAAGR,CAAM,kBAEnB,SAAA,CAAAN,GAAQW,EAAWX,CAAI,EACvBQ,EAAA,CAAc,CAAA,CAAA,EAGfN,KACG,MAAA,CACC,SAAAO,EAACM,EAAA,CACC,UAAWR,EACX,QAASL,EACT,MAAAD,EACA,MAAO,CAAE,MAAO,cAAA,EAEhB,SAAAQ,EAACO,EAAA,CAAK,KAAK,OAAA,CAAQ,CAAA,CAAA,CACrB,CACF,CAAA,CAAA,CAAA,CAIV,CAEA,MAAAC,EAAeC,EAAgBpB,CAAK"}
@@ -1,2 +1,2 @@
1
- "use strict";const e=require("react/jsx-runtime"),p=require("react"),t=require("./index-DYxwT4uW.cjs"),i=require("./joinClass-Jk3EszKD.cjs"),a=require("./Stack-B9mi696v.cjs"),j=require("./Typography-DaZ95boB.cjs"),d=require("./ButtonIcon-CzxDZNK8.cjs"),y=require("./createComponent-6wUj8nAi.cjs"),q=require("./Icon-BEUDQFrk.cjs");function $({children:n,icon:s,color:r="primary",onClose:c,...o}){const l=i.joinClass(`${t.prefix}-alert`,`${t.prefix}-alert--${r}`,o.className),u=i.joinClass(`${t.prefix}-alert__button`,`${t.prefix}-alert__button--${r}`),x=()=>typeof n=="string"?e.jsx(j.Typography,{variant:"body1",style:{color:"currentcolor"},children:n}):n,m=f=>p.cloneElement(f,{color:`${r}.dark`});return e.jsxs(a.Stack,{fullWidth:!0,gap:0,flexDirection:"row",alignItems:"center",justifyContent:"center",...o,className:l,children:[e.jsxs(a.Stack,{fullWidth:!0,gap:8,flexDirection:"row",alignItems:"center",className:`${t.prefix}-alert__content`,children:[s&&m(s),x()]}),c&&e.jsx("div",{children:e.jsx(d.ButtonIcon,{className:u,onClick:c,color:r,style:{color:"currentColor"},children:e.jsx(q.Icon,{name:"times"})})})]})}const g=y.createComponent($);exports.Alert=g;
2
- //# sourceMappingURL=Alert-BSZpV_lB.cjs.map
1
+ "use strict";const e=require("react/jsx-runtime"),p=require("react"),t=require("./index-DYxwT4uW.cjs"),i=require("./joinClass-Jk3EszKD.cjs"),a=require("./Stack-DroqONbc.cjs"),j=require("./Typography-DrfQb45j.cjs"),d=require("./ButtonIcon-DT522QTk.cjs"),y=require("./createComponent-Dk7XYIBw.cjs"),q=require("./Icon-D5Za3nOG.cjs");function $({children:n,icon:s,color:r="primary",onClose:c,...o}){const l=i.joinClass(`${t.prefix}-alert`,`${t.prefix}-alert--${r}`,o.className),u=i.joinClass(`${t.prefix}-alert__button`,`${t.prefix}-alert__button--${r}`),x=()=>typeof n=="string"?e.jsx(j.Typography,{variant:"body1",style:{color:"currentcolor"},children:n}):n,m=f=>p.cloneElement(f,{color:`${r}.dark`});return e.jsxs(a.Stack,{fullWidth:!0,gap:0,flexDirection:"row",alignItems:"center",justifyContent:"center",...o,className:l,children:[e.jsxs(a.Stack,{fullWidth:!0,gap:8,flexDirection:"row",alignItems:"center",className:`${t.prefix}-alert__content`,children:[s&&m(s),x()]}),c&&e.jsx("div",{children:e.jsx(d.ButtonIcon,{className:u,onClick:c,color:r,style:{color:"currentColor"},children:e.jsx(q.Icon,{name:"times"})})})]})}const g=y.createComponent($);exports.Alert=g;
2
+ //# sourceMappingURL=Alert-BNWxpf3J.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"Alert-BSZpV_lB.cjs","sources":["../../src/feedback/Alert/Alert.tsx"],"sourcesContent":["import { cloneElement, type HtmlHTMLAttributes } from 'react';\n\nimport { prefix } from '@iziui/tokens/web/js';\n\nimport type { Colors } from '@iziui/core/theme';\nimport { joinClass } from '@iziui/core/utils/joinClass';\n\nimport Stack from '@/layout/Stack';\nimport Typography from '@/display/Typography';\nimport ButtonIcon from '@/actions/ButtonIcon';\nimport createComponent from '@/core/createComponent';\nimport Icon, { type IconProps } from '@/display/Icon';\n\nimport '@iziui/styles/components/Alert.scss';\n\nexport interface AlertProps extends HtmlHTMLAttributes<HTMLDivElement> {\n color?: Colors;\n icon?: React.JSX.Element;\n children: React.ReactNode;\n onClose?: () => void;\n}\n\nfunction Alert({\n children,\n icon,\n color = 'primary',\n onClose,\n ...props\n}: AlertProps) {\n const className = joinClass(\n `${prefix}-alert`,\n `${prefix}-alert--${color}`,\n props.className\n );\n\n const classNameAction = joinClass(\n `${prefix}-alert__button`,\n `${prefix}-alert__button--${color}`,\n );\n\n const renderMessage = () => {\n if (typeof children === 'string') {\n return (\n <Typography variant=\"body1\" style={{ color: 'currentcolor' }}>\n {children}\n </Typography>\n );\n }\n\n return children;\n };\n\n const renderIcon = (icon: React.JSX.Element) => {\n return cloneElement<IconProps>(icon, {\n color: `${color}.dark`\n });\n };\n\n return (\n <Stack\n fullWidth\n gap={0}\n flexDirection=\"row\"\n alignItems=\"center\"\n justifyContent=\"center\"\n {...props}\n className={className}\n >\n <Stack\n fullWidth\n gap={8}\n flexDirection=\"row\"\n alignItems=\"center\"\n className={`${prefix}-alert__content`}\n >\n {icon && renderIcon(icon)}\n {renderMessage()}\n </Stack>\n {\n onClose && (\n <div>\n <ButtonIcon\n className={classNameAction}\n onClick={onClose}\n color={color}\n style={{ color: 'currentColor' }}\n >\n <Icon name=\"times\" />\n </ButtonIcon>\n </div>)\n }\n </Stack>\n );\n}\n\nexport default createComponent(Alert);"],"names":["Alert","children","icon","color","onClose","props","className","joinClass","prefix","classNameAction","renderMessage","jsx","Typography","renderIcon","cloneElement","jsxs","Stack","ButtonIcon","Icon","createComponent"],"mappings":"0UAsBA,SAASA,EAAM,CACb,SAAAC,EACA,KAAAC,EACA,MAAAC,EAAQ,UACR,QAAAC,EACA,GAAGC,CACL,EAAe,CACb,MAAMC,EAAYC,EAAAA,UAChB,GAAGC,EAAAA,MAAM,SACT,GAAGA,EAAAA,MAAM,WAAWL,CAAK,GACzBE,EAAM,SAAA,EAGFI,EAAkBF,EAAAA,UACtB,GAAGC,EAAAA,MAAM,iBACT,GAAGA,EAAAA,MAAM,mBAAmBL,CAAK,EAAA,EAG7BO,EAAgB,IAChB,OAAOT,GAAa,SAEpBU,MAACC,EAAAA,YAAW,QAAQ,QAAQ,MAAO,CAAE,MAAO,gBACzC,SAAAX,EACH,EAIGA,EAGHY,EAAcX,GACXY,EAAAA,aAAwBZ,EAAM,CACnC,MAAO,GAAGC,CAAK,OAAA,CAChB,EAGH,OACEY,EAAAA,KAACC,EAAAA,MAAA,CACC,UAAS,GACT,IAAK,EACL,cAAc,MACd,WAAW,SACX,eAAe,SACd,GAAGX,EACJ,UAAAC,EAEA,SAAA,CAAAS,EAAAA,KAACC,EAAAA,MAAA,CACC,UAAS,GACT,IAAK,EACL,cAAc,MACd,WAAW,SACX,UAAW,GAAGR,EAAAA,MAAM,kBAEnB,SAAA,CAAAN,GAAQW,EAAWX,CAAI,EACvBQ,EAAA,CAAc,CAAA,CAAA,EAGfN,SACG,MAAA,CACC,SAAAO,EAAAA,IAACM,EAAAA,WAAA,CACC,UAAWR,EACX,QAASL,EACT,MAAAD,EACA,MAAO,CAAE,MAAO,cAAA,EAEhB,SAAAQ,EAAAA,IAACO,EAAAA,KAAA,CAAK,KAAK,OAAA,CAAQ,CAAA,CAAA,CACrB,CACF,CAAA,CAAA,CAAA,CAIV,CAEA,MAAAlB,EAAemB,EAAAA,gBAAgBnB,CAAK"}
1
+ {"version":3,"file":"Alert-BNWxpf3J.cjs","sources":["../../src/feedback/Alert/Alert.tsx"],"sourcesContent":["import { cloneElement, type HtmlHTMLAttributes } from 'react';\n\nimport { prefix } from '@iziui/tokens/web/js';\n\nimport type { Colors } from '@iziui/core/theme';\nimport { joinClass } from '@iziui/core/utils/joinClass';\n\nimport Stack from '@/layout/Stack';\nimport Typography from '@/display/Typography';\nimport ButtonIcon from '@/actions/ButtonIcon';\nimport createComponent from '@/core/createComponent';\nimport Icon, { type IconProps } from '@/display/Icon';\n\nimport '@iziui/styles/components/Alert.scss';\n\nexport interface AlertProps extends HtmlHTMLAttributes<HTMLDivElement> {\n color?: Colors;\n icon?: React.JSX.Element;\n children: React.ReactNode;\n onClose?: () => void;\n}\n\nfunction Alert({\n children,\n icon,\n color = 'primary',\n onClose,\n ...props\n}: AlertProps) {\n const className = joinClass(\n `${prefix}-alert`,\n `${prefix}-alert--${color}`,\n props.className\n );\n\n const classNameAction = joinClass(\n `${prefix}-alert__button`,\n `${prefix}-alert__button--${color}`,\n );\n\n const renderMessage = () => {\n if (typeof children === 'string') {\n return (\n <Typography variant=\"body1\" style={{ color: 'currentcolor' }}>\n {children}\n </Typography>\n );\n }\n\n return children;\n };\n\n const renderIcon = (icon: React.JSX.Element) => {\n return cloneElement<IconProps>(icon, {\n color: `${color}.dark`\n });\n };\n\n return (\n <Stack\n fullWidth\n gap={0}\n flexDirection=\"row\"\n alignItems=\"center\"\n justifyContent=\"center\"\n {...props}\n className={className}\n >\n <Stack\n fullWidth\n gap={8}\n flexDirection=\"row\"\n alignItems=\"center\"\n className={`${prefix}-alert__content`}\n >\n {icon && renderIcon(icon)}\n {renderMessage()}\n </Stack>\n {\n onClose && (\n <div>\n <ButtonIcon\n className={classNameAction}\n onClick={onClose}\n color={color}\n style={{ color: 'currentColor' }}\n >\n <Icon name=\"times\" />\n </ButtonIcon>\n </div>)\n }\n </Stack>\n );\n}\n\nexport default createComponent(Alert);"],"names":["Alert","children","icon","color","onClose","props","className","joinClass","prefix","classNameAction","renderMessage","jsx","Typography","renderIcon","cloneElement","jsxs","Stack","ButtonIcon","Icon","createComponent"],"mappings":"0UAsBA,SAASA,EAAM,CACb,SAAAC,EACA,KAAAC,EACA,MAAAC,EAAQ,UACR,QAAAC,EACA,GAAGC,CACL,EAAe,CACb,MAAMC,EAAYC,EAAAA,UAChB,GAAGC,EAAAA,MAAM,SACT,GAAGA,EAAAA,MAAM,WAAWL,CAAK,GACzBE,EAAM,SAAA,EAGFI,EAAkBF,EAAAA,UACtB,GAAGC,EAAAA,MAAM,iBACT,GAAGA,EAAAA,MAAM,mBAAmBL,CAAK,EAAA,EAG7BO,EAAgB,IAChB,OAAOT,GAAa,SAEpBU,MAACC,EAAAA,YAAW,QAAQ,QAAQ,MAAO,CAAE,MAAO,gBACzC,SAAAX,EACH,EAIGA,EAGHY,EAAcX,GACXY,EAAAA,aAAwBZ,EAAM,CACnC,MAAO,GAAGC,CAAK,OAAA,CAChB,EAGH,OACEY,EAAAA,KAACC,EAAAA,MAAA,CACC,UAAS,GACT,IAAK,EACL,cAAc,MACd,WAAW,SACX,eAAe,SACd,GAAGX,EACJ,UAAAC,EAEA,SAAA,CAAAS,EAAAA,KAACC,EAAAA,MAAA,CACC,UAAS,GACT,IAAK,EACL,cAAc,MACd,WAAW,SACX,UAAW,GAAGR,EAAAA,MAAM,kBAEnB,SAAA,CAAAN,GAAQW,EAAWX,CAAI,EACvBQ,EAAA,CAAc,CAAA,CAAA,EAGfN,SACG,MAAA,CACC,SAAAO,EAAAA,IAACM,EAAAA,WAAA,CACC,UAAWR,EACX,QAASL,EACT,MAAAD,EACA,MAAO,CAAE,MAAO,cAAA,EAEhB,SAAAQ,EAAAA,IAACO,EAAAA,KAAA,CAAK,KAAK,OAAA,CAAQ,CAAA,CAAA,CACrB,CACF,CAAA,CAAA,CAAA,CAIV,CAEA,MAAAlB,EAAemB,EAAAA,gBAAgBnB,CAAK"}
@@ -1,2 +1,2 @@
1
- "use strict";const c=require("react/jsx-runtime"),s=require("react"),u=require("./createComponent-6wUj8nAi.cjs"),i=s.forwardRef(function({tag:e="div",children:o,...t},n){const r=e;return c.jsx(r,{ref:n,...t,children:o})}),x=u.createComponent(i);exports.Box=x;
2
- //# sourceMappingURL=Box-DeyuR4kp.cjs.map
1
+ "use strict";const c=require("react/jsx-runtime"),s=require("react"),u=require("./createComponent-Dk7XYIBw.cjs"),i=s.forwardRef(function({tag:e="div",children:o,...t},n){const r=e;return c.jsx(r,{ref:n,...t,children:o})}),x=u.createComponent(i);exports.Box=x;
2
+ //# sourceMappingURL=Box-CpfLDkkt.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"Box-DeyuR4kp.cjs","sources":["../../src/layout/Box/Box.tsx"],"sourcesContent":["import { forwardRef, type HTMLAttributes } from 'react';\n\nimport createComponent from '@/core';\n\nexport interface BoxProps extends HTMLAttributes<HTMLElement> {\n tag?: React.ElementType;\n}\n\nconst Box = forwardRef<HTMLElement, BoxProps>(\n function Box({ tag = 'div', children, ...props }, ref) {\n const CustomTag = tag;\n\n return (\n <CustomTag ref={ref} {...props}>\n {children}\n </CustomTag>\n );\n }\n);\n\nexport default createComponent(Box);"],"names":["Box","forwardRef","tag","children","props","ref","CustomTag","jsx","createComponent"],"mappings":"iHAQMA,EAAMC,EAAAA,WACV,SAAa,CAAE,IAAAC,EAAM,MAAO,SAAAC,EAAU,GAAGC,CAAA,EAASC,EAAK,CACrD,MAAMC,EAAYJ,EAElB,OACEK,EAAAA,IAACD,EAAA,CAAU,IAAAD,EAAW,GAAGD,EACtB,SAAAD,EACH,CAEJ,CACF,EAEAH,EAAeQ,EAAAA,gBAAgBR,CAAG"}
1
+ {"version":3,"file":"Box-CpfLDkkt.cjs","sources":["../../src/layout/Box/Box.tsx"],"sourcesContent":["import { forwardRef, type HTMLAttributes } from 'react';\n\nimport createComponent from '@/core';\n\nexport interface BoxProps extends HTMLAttributes<HTMLElement> {\n tag?: React.ElementType;\n}\n\nconst Box = forwardRef<HTMLElement, BoxProps>(\n function Box({ tag = 'div', children, ...props }, ref) {\n const CustomTag = tag;\n\n return (\n <CustomTag ref={ref} {...props}>\n {children}\n </CustomTag>\n );\n }\n);\n\nexport default createComponent(Box);"],"names":["Box","forwardRef","tag","children","props","ref","CustomTag","jsx","createComponent"],"mappings":"iHAQMA,EAAMC,EAAAA,WACV,SAAa,CAAE,IAAAC,EAAM,MAAO,SAAAC,EAAU,GAAGC,CAAA,EAASC,EAAK,CACrD,MAAMC,EAAYJ,EAElB,OACEK,EAAAA,IAACD,EAAA,CAAU,IAAAD,EAAW,GAAGD,EACtB,SAAAD,EACH,CAEJ,CACF,EAEAH,EAAeQ,EAAAA,gBAAgBR,CAAG"}
@@ -1,2 +1,2 @@
1
- import{jsx as n}from"react/jsx-runtime";import{forwardRef as s}from"react";import{c as a}from"./createComponent-DppVNf5x.js";const c=s(function({tag:o="div",children:t,...r},m){return n(o,{ref:m,...r,children:t})}),u=a(c);export{u as B};
2
- //# sourceMappingURL=Box-fopUzufC.js.map
1
+ import{jsx as n}from"react/jsx-runtime";import{forwardRef as s}from"react";import{c as a}from"./createComponent-CNxBIpVe.js";const c=s(function({tag:o="div",children:t,...r},m){return n(o,{ref:m,...r,children:t})}),u=a(c);export{u as B};
2
+ //# sourceMappingURL=Box-JICj_E-d.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Box-fopUzufC.js","sources":["../../src/layout/Box/Box.tsx"],"sourcesContent":["import { forwardRef, type HTMLAttributes } from 'react';\n\nimport createComponent from '@/core';\n\nexport interface BoxProps extends HTMLAttributes<HTMLElement> {\n tag?: React.ElementType;\n}\n\nconst Box = forwardRef<HTMLElement, BoxProps>(\n function Box({ tag = 'div', children, ...props }, ref) {\n const CustomTag = tag;\n\n return (\n <CustomTag ref={ref} {...props}>\n {children}\n </CustomTag>\n );\n }\n);\n\nexport default createComponent(Box);"],"names":["Box","forwardRef","tag","children","props","ref","jsx","Box$1","createComponent"],"mappings":"6HAQA,MAAMA,EAAMC,EACV,SAAa,CAAE,IAAAC,EAAM,MAAO,SAAAC,EAAU,GAAGC,CAAA,EAASC,EAAK,CAGrD,OACEC,EAHgBJ,EAGf,CAAU,IAAAG,EAAW,GAAGD,EACtB,SAAAD,EACH,CAEJ,CACF,EAEAI,EAAeC,EAAgBR,CAAG"}
1
+ {"version":3,"file":"Box-JICj_E-d.js","sources":["../../src/layout/Box/Box.tsx"],"sourcesContent":["import { forwardRef, type HTMLAttributes } from 'react';\n\nimport createComponent from '@/core';\n\nexport interface BoxProps extends HTMLAttributes<HTMLElement> {\n tag?: React.ElementType;\n}\n\nconst Box = forwardRef<HTMLElement, BoxProps>(\n function Box({ tag = 'div', children, ...props }, ref) {\n const CustomTag = tag;\n\n return (\n <CustomTag ref={ref} {...props}>\n {children}\n </CustomTag>\n );\n }\n);\n\nexport default createComponent(Box);"],"names":["Box","forwardRef","tag","children","props","ref","jsx","Box$1","createComponent"],"mappings":"6HAQA,MAAMA,EAAMC,EACV,SAAa,CAAE,IAAAC,EAAM,MAAO,SAAAC,EAAU,GAAGC,CAAA,EAASC,EAAK,CAGrD,OACEC,EAHgBJ,EAGf,CAAU,IAAAG,EAAW,GAAGD,EACtB,SAAAD,EACH,CAEJ,CACF,EAEAI,EAAeC,EAAgBR,CAAG"}
@@ -1,2 +1,2 @@
1
- import{jsxs as u,jsx as f}from"react/jsx-runtime";import{cloneElement as h}from"react";import{p as n}from"./index-CZ41y9Hn.js";import{j}from"./joinClass-anSpaauN.js";import{c as x}from"./convertPathToColor-D2SdAqGh.js";import{u as y}from"./useTheme-BhIs8Txu.js";import{R as C}from"./Ripple-Bq9bxg4k.js";import{c as $}from"./createComponent-DppVNf5x.js";function b({children:m,size:r=40,color:o="primary",...t}){const{theme:{palette:c}}=y(),[e,a]=[r,r],i=j(`${n}-button-icon`,o&&`${n}-button-icon--${o}`,t.className),l=x(o,c),p=s=>h(s,{size:e/1.5,...s.props,style:{color:"currentColor"}});return u("button",{...t,className:i,style:{color:l,...t.style,width:e,height:a},children:[p(m),f(C,{})]})}const w=$(b);export{w as B};
2
- //# sourceMappingURL=ButtonIcon-B5VfjTl_.js.map
1
+ import{jsxs as u,jsx as f}from"react/jsx-runtime";import{cloneElement as h}from"react";import{p as n}from"./index-CZ41y9Hn.js";import{j}from"./joinClass-anSpaauN.js";import{c as x}from"./convertPathToColor-D2SdAqGh.js";import{u as y}from"./useTheme-BkUhhydo.js";import{R as C}from"./Ripple-Bq9bxg4k.js";import{c as $}from"./createComponent-CNxBIpVe.js";function b({children:m,size:r=40,color:o="primary",...t}){const{theme:{palette:c}}=y(),[e,a]=[r,r],i=j(`${n}-button-icon`,o&&`${n}-button-icon--${o}`,t.className),l=x(o,c),p=s=>h(s,{size:e/1.5,...s.props,style:{color:"currentColor"}});return u("button",{...t,className:i,style:{color:l,...t.style,width:e,height:a},children:[p(m),f(C,{})]})}const w=$(b);export{w as B};
2
+ //# sourceMappingURL=ButtonIcon-CX9wj1rg.js.map