@loja-integrada/admin-components 1.0.3 → 1.0.4

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 (228) hide show
  1. package/dist/chunk-247X5S6H.js +9 -0
  2. package/dist/{chunk-WEZVMEBK.js → chunk-2VQ6QMMA.js} +1 -1
  3. package/dist/{chunk-LSC6FNBR.js → chunk-4ZMWAFI4.js} +1 -1
  4. package/dist/{chunk-WEYSRHTX.js → chunk-AGCI6C3Z.js} +1 -1
  5. package/dist/{chunk-3OHDGUPG.js → chunk-BW4TJLAD.js} +1 -1
  6. package/dist/{chunk-LJS4TVL3.js → chunk-DJEPTLO4.js} +3 -3
  7. package/dist/chunk-EIDA43LS.js +10 -0
  8. package/dist/{chunk-N73XF5FY.js → chunk-F5NKGXHQ.js} +2 -2
  9. package/dist/{chunk-BQW67FSK.js → chunk-FCIMHESM.js} +3 -3
  10. package/dist/{chunk-PTCZDH6A.js → chunk-GIEOWRRK.js} +1 -1
  11. package/dist/{chunk-YTHY4XI2.js → chunk-I32MZTHH.js} +2 -2
  12. package/dist/{chunk-SFPIOMYQ.js → chunk-J62DBIT2.js} +1 -1
  13. package/dist/{chunk-243NQZV5.js → chunk-KSYF7CFG.js} +2 -2
  14. package/dist/{chunk-LZI7QZWG.js → chunk-NNACMTUZ.js} +3 -3
  15. package/dist/{chunk-NXHQNIK2.js → chunk-NRAIF4I3.js} +1 -1
  16. package/dist/{chunk-24UC33BJ.js → chunk-NXRYURC6.js} +1 -1
  17. package/dist/{chunk-K5XL557B.js → chunk-OHKM27GJ.js} +2 -2
  18. package/dist/{chunk-RPTUERXQ.js → chunk-PFWHNMTS.js} +2 -2
  19. package/dist/{chunk-26ZK5M43.js → chunk-QMQU7H7Y.js} +2 -2
  20. package/dist/{chunk-RL2XPX57.js → chunk-TJKZQP6P.js} +1 -1
  21. package/dist/{chunk-BW2HQVCT.js → chunk-TMUYSF5D.js} +1 -1
  22. package/dist/{chunk-4BVRONPO.js → chunk-UO2TARVR.js} +1 -1
  23. package/dist/{chunk-ZYY5DINE.js → chunk-V2LJZCNN.js} +2 -2
  24. package/dist/{chunk-LTHYFCE7.js → chunk-VFFDRP2O.js} +1 -1
  25. package/dist/{chunk-2H2JX2FG.js → chunk-WTH3TAIX.js} +2 -2
  26. package/dist/{chunk-AHEXEKOY.js → chunk-XIVJ37WE.js} +2 -2
  27. package/dist/{chunk-767NPRMO.js → chunk-YFQE7XRR.js} +3 -3
  28. package/dist/components/Button/Button.d.ts +48 -0
  29. package/dist/components/Button/index.d.ts +1 -52
  30. package/dist/components/Button/index.js +4 -4
  31. package/dist/components/DataTable/DataTable.client.d.ts +74 -0
  32. package/dist/components/DataTable/index.d.ts +1 -77
  33. package/dist/components/DataTable/index.js +6 -6
  34. package/dist/components/Icon/Icon.d.ts +30 -0
  35. package/dist/components/Icon/index.d.ts +1 -127
  36. package/dist/components/Icon/index.js +3 -3
  37. package/dist/components/IconCircular/IconCircular.d.ts +19 -0
  38. package/dist/components/IconCircular/index.d.ts +1 -22
  39. package/dist/components/IconCircular/index.js +4 -4
  40. package/dist/components/LoadingPlaceholder/LoadingPlaceholder.d.ts +9 -0
  41. package/dist/components/LoadingPlaceholder/index.d.ts +1 -12
  42. package/dist/components/LoadingPlaceholder/index.js +2 -2
  43. package/dist/components/Modal/Modal.client.d.ts +54 -0
  44. package/dist/components/Modal/index.d.ts +1 -56
  45. package/dist/components/Modal/index.js +4 -4
  46. package/dist/components/SidebarFixed/SidebarFixed.client.d.ts +33 -0
  47. package/dist/components/SidebarFixed/index.d.ts +1 -35
  48. package/dist/components/SidebarFixed/index.js +4 -4
  49. package/dist/components/Table/Table.d.ts +10 -0
  50. package/dist/components/Table/index.d.ts +1 -12
  51. package/dist/components/Table/index.js +2 -2
  52. package/dist/components/Tabs/Tabs.client.d.ts +21 -0
  53. package/dist/components/Tabs/TabsItem.d.ts +34 -0
  54. package/dist/components/Tabs/index.d.ts +1 -47
  55. package/dist/components/Tabs/index.js +2 -2
  56. package/dist/components/index.d.ts +9 -0
  57. package/dist/components/index.js +13 -13
  58. package/dist/forms/Checkbox/Checkbox.client.d.ts +28 -0
  59. package/dist/forms/Checkbox/index.d.ts +1 -31
  60. package/dist/forms/Checkbox/index.js +3 -3
  61. package/dist/forms/Input/Input.d.ts +41 -0
  62. package/dist/forms/Input/index.d.ts +1 -44
  63. package/dist/forms/Input/index.js +4 -4
  64. package/dist/forms/InputHelpText/InputHelpText.d.ts +17 -0
  65. package/dist/forms/InputHelpText/index.d.ts +1 -20
  66. package/dist/forms/InputHelpText/index.js +2 -2
  67. package/dist/forms/InputLabel/InputLabel.d.ts +29 -0
  68. package/dist/forms/InputLabel/index.d.ts +1 -32
  69. package/dist/forms/InputLabel/index.js +2 -2
  70. package/dist/forms/InputMask/InputMask.client.d.ts +20 -0
  71. package/dist/forms/InputMask/index.d.ts +1 -29
  72. package/dist/forms/InputMask/index.js +5 -5
  73. package/dist/forms/InputMask/maskDate.d.ts +7 -0
  74. package/dist/forms/InputMask/utils.d.ts +6 -0
  75. package/dist/forms/Select/Select.d.ts +35 -0
  76. package/dist/forms/Select/index.d.ts +1 -0
  77. package/dist/forms/Select/index.js +4 -0
  78. package/dist/forms/index.d.ts +6 -0
  79. package/dist/forms/index.js +8 -7
  80. package/dist/icons-path/Adjust.d.ts +1 -0
  81. package/dist/icons-path/AngleDiagonal.d.ts +1 -0
  82. package/dist/icons-path/AngleDown.d.ts +1 -0
  83. package/dist/icons-path/AngleHeight.d.ts +1 -0
  84. package/dist/icons-path/AngleLeft.d.ts +1 -0
  85. package/dist/icons-path/AngleRight.d.ts +1 -0
  86. package/dist/icons-path/AngleWidth.d.ts +1 -0
  87. package/dist/icons-path/App.d.ts +1 -0
  88. package/dist/icons-path/Arrow.d.ts +1 -0
  89. package/dist/icons-path/ArrowLeft.d.ts +1 -0
  90. package/dist/icons-path/ArrowRight.d.ts +1 -0
  91. package/dist/icons-path/Back.d.ts +1 -0
  92. package/dist/icons-path/Ban.d.ts +1 -0
  93. package/dist/icons-path/BarcodeRead.d.ts +1 -0
  94. package/dist/icons-path/Bell.d.ts +1 -0
  95. package/dist/icons-path/Blog.d.ts +1 -0
  96. package/dist/icons-path/Bullhorn.d.ts +1 -0
  97. package/dist/icons-path/Calculator.d.ts +1 -0
  98. package/dist/icons-path/CalendarAlt.d.ts +1 -0
  99. package/dist/icons-path/Camera.d.ts +1 -0
  100. package/dist/icons-path/Check.d.ts +1 -0
  101. package/dist/icons-path/CheckCircle.d.ts +1 -0
  102. package/dist/icons-path/Clock.d.ts +1 -0
  103. package/dist/icons-path/Clockwise.d.ts +1 -0
  104. package/dist/icons-path/Close.d.ts +1 -0
  105. package/dist/icons-path/Cog.d.ts +1 -0
  106. package/dist/icons-path/Copy.d.ts +1 -0
  107. package/dist/icons-path/CreditCard.d.ts +1 -0
  108. package/dist/icons-path/DashedCircle.d.ts +1 -0
  109. package/dist/icons-path/DefaultCursor.d.ts +1 -0
  110. package/dist/icons-path/Desktop.d.ts +1 -0
  111. package/dist/icons-path/Discount.d.ts +1 -0
  112. package/dist/icons-path/DotsThree.d.ts +1 -0
  113. package/dist/icons-path/Download.d.ts +1 -0
  114. package/dist/icons-path/Edit.d.ts +1 -0
  115. package/dist/icons-path/Envelope.d.ts +1 -0
  116. package/dist/icons-path/Exchange.d.ts +1 -0
  117. package/dist/icons-path/ExchangeY.d.ts +1 -0
  118. package/dist/icons-path/Exclamation.d.ts +1 -0
  119. package/dist/icons-path/ExclamationCircle.d.ts +1 -0
  120. package/dist/icons-path/ExclamationTriangle.d.ts +1 -0
  121. package/dist/icons-path/ExternalLink.d.ts +1 -0
  122. package/dist/icons-path/Eye.d.ts +1 -0
  123. package/dist/icons-path/EyeSlash.d.ts +1 -0
  124. package/dist/icons-path/Filter.d.ts +1 -0
  125. package/dist/icons-path/HalfBack.d.ts +1 -0
  126. package/dist/icons-path/Hashtag.d.ts +1 -0
  127. package/dist/icons-path/Home.d.ts +1 -0
  128. package/dist/icons-path/IconSolidEnviali.d.ts +1 -0
  129. package/dist/icons-path/IconSolidLI.d.ts +1 -0
  130. package/dist/icons-path/IdentificationBadge.d.ts +1 -0
  131. package/dist/icons-path/Image.d.ts +1 -0
  132. package/dist/icons-path/InfoCircle.d.ts +1 -0
  133. package/dist/icons-path/Lightbulb.d.ts +1 -0
  134. package/dist/icons-path/Link.d.ts +1 -0
  135. package/dist/icons-path/ListItems.d.ts +1 -0
  136. package/dist/icons-path/Loading.d.ts +1 -0
  137. package/dist/icons-path/Lock.d.ts +1 -0
  138. package/dist/icons-path/Minus.d.ts +1 -0
  139. package/dist/icons-path/MinusCircle.d.ts +1 -0
  140. package/dist/icons-path/MinusCircleSolid.d.ts +1 -0
  141. package/dist/icons-path/Mobile.d.ts +1 -0
  142. package/dist/icons-path/MoneyBill.d.ts +1 -0
  143. package/dist/icons-path/Move.d.ts +1 -0
  144. package/dist/icons-path/Nav.d.ts +1 -0
  145. package/dist/icons-path/Order.d.ts +1 -0
  146. package/dist/icons-path/Pagali.d.ts +1 -0
  147. package/dist/icons-path/PaperList.d.ts +1 -0
  148. package/dist/icons-path/PieChart.d.ts +1 -0
  149. package/dist/icons-path/Pix.d.ts +1 -0
  150. package/dist/icons-path/Plus.d.ts +1 -0
  151. package/dist/icons-path/PlusCircle.d.ts +1 -0
  152. package/dist/icons-path/Print.d.ts +1 -0
  153. package/dist/icons-path/Product.d.ts +1 -0
  154. package/dist/icons-path/QuestionCircle.d.ts +1 -0
  155. package/dist/icons-path/Reload.d.ts +1 -0
  156. package/dist/icons-path/Rocket.d.ts +1 -0
  157. package/dist/icons-path/Search.d.ts +1 -0
  158. package/dist/icons-path/Share.d.ts +1 -0
  159. package/dist/icons-path/ShoppingBag.d.ts +1 -0
  160. package/dist/icons-path/ShoppingCart.d.ts +1 -0
  161. package/dist/icons-path/SortDown.d.ts +1 -0
  162. package/dist/icons-path/Store.d.ts +1 -0
  163. package/dist/icons-path/Sync.d.ts +1 -0
  164. package/dist/icons-path/Table.d.ts +1 -0
  165. package/dist/icons-path/ThinAngleRight.d.ts +1 -0
  166. package/dist/icons-path/TimesCircle.d.ts +1 -0
  167. package/dist/icons-path/Trash.d.ts +1 -0
  168. package/dist/icons-path/Trophy.d.ts +1 -0
  169. package/dist/icons-path/Truck.d.ts +1 -0
  170. package/dist/icons-path/Tv.d.ts +1 -0
  171. package/dist/icons-path/Upload.d.ts +1 -0
  172. package/dist/icons-path/UsdCircle.d.ts +1 -0
  173. package/dist/icons-path/User.d.ts +1 -0
  174. package/dist/icons-path/WhatsApp.d.ts +1 -0
  175. package/dist/icons-path/index.d.ts +98 -0
  176. package/dist/icons-path/index.js +1 -1
  177. package/dist/index.d.ts +5 -31
  178. package/dist/index.js +31 -29
  179. package/dist/indicators/Alert/Alert.client.d.ts +47 -0
  180. package/dist/indicators/Alert/index.d.ts +1 -50
  181. package/dist/indicators/Alert/index.js +4 -4
  182. package/dist/indicators/Badge/Badge.d.ts +30 -0
  183. package/dist/indicators/Badge/index.d.ts +1 -33
  184. package/dist/indicators/Badge/index.js +2 -2
  185. package/dist/indicators/Tag/Tag.d.ts +32 -0
  186. package/dist/indicators/Tag/index.d.ts +1 -36
  187. package/dist/indicators/Tag/index.js +5 -5
  188. package/dist/indicators/Toast/Toast.client.d.ts +9 -0
  189. package/dist/indicators/Toast/index.css +1 -0
  190. package/dist/indicators/Toast/index.d.ts +1 -0
  191. package/dist/indicators/Toast/index.js +12 -0
  192. package/dist/indicators/Tooltip/Tooltip.client.d.ts +54 -0
  193. package/dist/indicators/Tooltip/index.d.ts +1 -57
  194. package/dist/indicators/index.d.ts +4 -0
  195. package/dist/indicators/index.js +7 -7
  196. package/dist/layout/ActionBar/ActionBar.client.d.ts +15 -0
  197. package/dist/layout/ActionBar/index.d.ts +1 -21
  198. package/dist/layout/ActionBar/index.js +5 -5
  199. package/dist/layout/Box/Box.d.ts +68 -0
  200. package/dist/layout/Box/index.d.ts +1 -71
  201. package/dist/layout/Box/index.js +4 -4
  202. package/dist/layout/Container/Container.d.ts +15 -0
  203. package/dist/layout/Container/index.d.ts +1 -18
  204. package/dist/layout/Container/index.js +2 -2
  205. package/dist/layout/constants.d.ts +4 -0
  206. package/dist/layout/index.d.ts +3 -0
  207. package/dist/layout/index.js +7 -7
  208. package/dist/lib/utils.d.ts +5 -0
  209. package/dist/lib/utils.js +1 -0
  210. package/dist/navigation/Breadcrumb/Breadcrumb.d.ts +43 -0
  211. package/dist/navigation/Breadcrumb/index.d.ts +1 -45
  212. package/dist/navigation/Breadcrumb/index.js +5 -5
  213. package/dist/navigation/HelpLink/HelpLink.d.ts +30 -0
  214. package/dist/navigation/HelpLink/index.d.ts +1 -32
  215. package/dist/navigation/HelpLink/index.js +4 -4
  216. package/dist/navigation/Pagination/Pagination.client.d.ts +11 -0
  217. package/dist/navigation/Pagination/PaginationInfo.d.ts +24 -0
  218. package/dist/navigation/Pagination/PaginationNav.d.ts +17 -0
  219. package/dist/navigation/Pagination/index.d.ts +1 -0
  220. package/dist/navigation/Pagination/index.js +8 -0
  221. package/dist/navigation/Stepper/Stepper.client.d.ts +29 -0
  222. package/dist/navigation/Stepper/index.d.ts +1 -31
  223. package/dist/navigation/Stepper/index.js +2 -2
  224. package/dist/navigation/index.d.ts +4 -0
  225. package/dist/navigation/index.js +11 -7
  226. package/package.json +16 -1
  227. /package/dist/{chunk-IA7GSQNX.js → chunk-4PUGMMDC.js} +0 -0
  228. /package/dist/{chunk-KOVXAJCN.js → chunk-66GVVFKI.js} +0 -0
@@ -0,0 +1,47 @@
1
+ import React from 'react';
2
+ import { IconProps } from '../../components/Icon';
3
+ type alertVariantsOptions = 'success' | 'warning' | 'danger' | 'info' | 'primary';
4
+ interface AlertProps {
5
+ /** Alert color
6
+ * @default info
7
+ * */
8
+ variant?: alertVariantsOptions;
9
+ /** Alert is visible
10
+ * @default true
11
+ */
12
+ isOpen?: boolean;
13
+ /**
14
+ * Alert main text
15
+ */
16
+ title: string | React.ReactNode;
17
+ /**
18
+ * Alert text below title
19
+ */
20
+ subtitle?: string | React.ReactNode;
21
+ /**
22
+ * Function to close alert (also activate `showClose`)
23
+ */
24
+ onClose?: () => void;
25
+ /** Show button close
26
+ * @default false
27
+ */
28
+ showClose?: boolean;
29
+ /** Hide alert icon
30
+ * @default false
31
+ */
32
+ hideIcon?: boolean;
33
+ /**
34
+ * Custom icon
35
+ */
36
+ customIcon?: IconProps['icon'];
37
+ /**
38
+ * Action for the alert, like button and hiperlinks
39
+ * */
40
+ actions?: React.ReactNode;
41
+ /**
42
+ * Custom className for the Alert container
43
+ * */
44
+ className?: string;
45
+ }
46
+ declare const Alert: React.MemoExoticComponent<({ variant, isOpen, title, subtitle, actions, showClose, onClose, hideIcon, customIcon, className }: AlertProps) => import("react/jsx-runtime").JSX.Element | null>;
47
+ export { Alert, type AlertProps };
@@ -1,50 +1 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import React__default from 'react';
3
- import { IconProps } from '../../components/Icon/index.js';
4
-
5
- type alertVariantsOptions = 'success' | 'warning' | 'danger' | 'info' | 'primary';
6
- interface AlertProps {
7
- /** Alert color
8
- * @default info
9
- * */
10
- variant?: alertVariantsOptions;
11
- /** Alert is visible
12
- * @default true
13
- */
14
- isOpen?: boolean;
15
- /**
16
- * Alert main text
17
- */
18
- title: string | React__default.ReactNode;
19
- /**
20
- * Alert text below title
21
- */
22
- subtitle?: string | React__default.ReactNode;
23
- /**
24
- * Function to close alert (also activate `showClose`)
25
- */
26
- onClose?: () => void;
27
- /** Show button close
28
- * @default false
29
- */
30
- showClose?: boolean;
31
- /** Hide alert icon
32
- * @default false
33
- */
34
- hideIcon?: boolean;
35
- /**
36
- * Custom icon
37
- */
38
- customIcon?: IconProps['icon'];
39
- /**
40
- * Action for the alert, like button and hiperlinks
41
- * */
42
- actions?: React__default.ReactNode;
43
- /**
44
- * Custom className for the Alert container
45
- * */
46
- className?: string;
47
- }
48
- declare const Alert: React__default.MemoExoticComponent<({ variant, isOpen, title, subtitle, actions, showClose, onClose, hideIcon, customIcon, className }: AlertProps) => react_jsx_runtime.JSX.Element | null>;
49
-
50
- export { Alert, type AlertProps };
1
+ export * from './Alert.client';
@@ -1,5 +1,5 @@
1
- "use client";export { a as Alert } from '../../chunk-243NQZV5.js';
1
+ "use client";export { a as Alert } from '../../chunk-KSYF7CFG.js';
2
2
  import '../../chunk-LTWCICTK.js';
3
- import '../../chunk-RPTUERXQ.js';
4
- import '../../chunk-2H2JX2FG.js';
5
- import '../../chunk-WEYSRHTX.js';
3
+ import '../../chunk-PFWHNMTS.js';
4
+ import '../../chunk-WTH3TAIX.js';
5
+ import '../../chunk-AGCI6C3Z.js';
@@ -0,0 +1,30 @@
1
+ import React from 'react';
2
+ declare const Badge: React.MemoExoticComponent<({ type, text, size, expanded, rounded, className }: BadgeProps) => import("react/jsx-runtime").JSX.Element>;
3
+ interface BadgeProps {
4
+ /**
5
+ * Custom class name
6
+ * */
7
+ className?: string;
8
+ /** Badge color
9
+ * @default neutral
10
+ * */
11
+ type?: 'neutral' | 'neutralLight' | 'primary' | 'danger' | 'success' | 'warning' | 'focus';
12
+ /**
13
+ * Badge text
14
+ * */
15
+ text?: string;
16
+ /** Size of the badge
17
+ * @default default
18
+ * */
19
+ size?: 'default' | 'small' | 'xsmall';
20
+ /**
21
+ * Enlarge width of the badge
22
+ * */
23
+ expanded?: boolean;
24
+ /**
25
+ * Style of rounded corners
26
+ * @default full
27
+ * */
28
+ rounded?: 'full' | 'small' | 'none';
29
+ }
30
+ export { Badge, type BadgeProps };
@@ -1,33 +1 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import React__default from 'react';
3
-
4
- declare const Badge: React__default.MemoExoticComponent<({ type, text, size, expanded, rounded, className }: BadgeProps) => react_jsx_runtime.JSX.Element>;
5
- interface BadgeProps {
6
- /**
7
- * Custom class name
8
- * */
9
- className?: string;
10
- /** Badge color
11
- * @default neutral
12
- * */
13
- type?: 'neutral' | 'neutralLight' | 'primary' | 'danger' | 'success' | 'warning' | 'focus';
14
- /**
15
- * Badge text
16
- * */
17
- text?: string;
18
- /** Size of the badge
19
- * @default default
20
- * */
21
- size?: 'default' | 'small' | 'xsmall';
22
- /**
23
- * Enlarge width of the badge
24
- * */
25
- expanded?: boolean;
26
- /**
27
- * Style of rounded corners
28
- * @default full
29
- * */
30
- rounded?: 'full' | 'small' | 'none';
31
- }
32
-
33
- export { Badge, type BadgeProps };
1
+ export * from './Badge';
@@ -1,2 +1,2 @@
1
- export { a as Badge } from '../../chunk-4BVRONPO.js';
2
- import '../../chunk-WEYSRHTX.js';
1
+ export { a as Badge } from '../../chunk-UO2TARVR.js';
2
+ import '../../chunk-AGCI6C3Z.js';
@@ -0,0 +1,32 @@
1
+ import React from 'react';
2
+ export interface TagProps {
3
+ /** Tag's color
4
+ * @default neutral
5
+ * */
6
+ variant?: 'neutral' | 'primary' | 'danger' | 'success' | 'warning';
7
+ /**
8
+ * Tag's content
9
+ * */
10
+ content: string | React.ReactNode;
11
+ /**
12
+ * Enlarge Tag's width
13
+ * */
14
+ fullWidth?: boolean;
15
+ /** Additional Tag's classes
16
+ * @default ''
17
+ * */
18
+ className?: string;
19
+ /**
20
+ * Tag's action, like a button or an icon
21
+ * */
22
+ action?: React.ReactNode;
23
+ /**
24
+ * Icon to remove Tag on click
25
+ * */
26
+ removeTag?: boolean;
27
+ /**
28
+ * Handler called when close icon is clicked
29
+ * */
30
+ onClose?: () => void;
31
+ }
32
+ export declare const Tag: React.MemoExoticComponent<({ variant, content, fullWidth, className, action, removeTag, onClose }: TagProps) => import("react/jsx-runtime").JSX.Element>;
@@ -1,36 +1 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import React__default from 'react';
3
-
4
- interface TagProps {
5
- /** Tag's color
6
- * @default neutral
7
- * */
8
- variant?: 'neutral' | 'primary' | 'danger' | 'success' | 'warning';
9
- /**
10
- * Tag's content
11
- * */
12
- content: string | React__default.ReactNode;
13
- /**
14
- * Enlarge Tag's width
15
- * */
16
- fullWidth?: boolean;
17
- /** Additional Tag's classes
18
- * @default ''
19
- * */
20
- className?: string;
21
- /**
22
- * Tag's action, like a button or an icon
23
- * */
24
- action?: React__default.ReactNode;
25
- /**
26
- * Icon to remove Tag on click
27
- * */
28
- removeTag?: boolean;
29
- /**
30
- * Handler called when close icon is clicked
31
- * */
32
- onClose?: () => void;
33
- }
34
- declare const Tag: React__default.MemoExoticComponent<({ variant, content, fullWidth, className, action, removeTag, onClose }: TagProps) => react_jsx_runtime.JSX.Element>;
35
-
36
- export { Tag, type TagProps };
1
+ export * from './Tag';
@@ -1,6 +1,6 @@
1
- export { a as Tag } from '../../chunk-BQW67FSK.js';
2
- import '../../chunk-YTHY4XI2.js';
1
+ export { a as Tag } from '../../chunk-FCIMHESM.js';
2
+ import '../../chunk-I32MZTHH.js';
3
3
  import '../../chunk-LTWCICTK.js';
4
- import '../../chunk-RPTUERXQ.js';
5
- import '../../chunk-2H2JX2FG.js';
6
- import '../../chunk-WEYSRHTX.js';
4
+ import '../../chunk-PFWHNMTS.js';
5
+ import '../../chunk-WTH3TAIX.js';
6
+ import '../../chunk-AGCI6C3Z.js';
@@ -0,0 +1,9 @@
1
+ import './_variables.scss';
2
+ import React from 'react';
3
+ import { ToastContainerProps, ToastContent, ToastOptions } from 'react-toastify';
4
+ declare const notify: ({ content, ...options }: NotifyProps) => void;
5
+ interface NotifyProps extends ToastOptions {
6
+ content: ToastContent;
7
+ }
8
+ declare const ToastContainer: React.MemoExoticComponent<({ ...props }: ToastContainerProps) => import("react/jsx-runtime").JSX.Element>;
9
+ export { notify, type NotifyProps, ToastContainer };
@@ -0,0 +1 @@
1
+ :root{--toastify-color-progress-bgo: 0 !important}
@@ -0,0 +1 @@
1
+ export * from './Toast.client';
@@ -0,0 +1,12 @@
1
+ "use client";import '../../chunk-LTWCICTK.js';
2
+ import { a as a$1 } from '../../chunk-PFWHNMTS.js';
3
+ import '../../chunk-WTH3TAIX.js';
4
+ import { a } from '../../chunk-AGCI6C3Z.js';
5
+ import i, { useEffect } from 'react';
6
+ import { ToastContainer, toast } from 'react-toastify';
7
+ import { injectStyle } from 'react-toastify/dist/inject-style';
8
+ import { jsx } from 'react/jsx-runtime';
9
+
10
+ var p={success:"bg-primary-light border-primary-dark",error:"bg-danger-light border-danger-dark",info:"bg-secondary-light border-secondary",warning:"bg-warning-light border-warning-dark",default:"",dark:""},f={success:"!bg-primary-dark",error:"!bg-danger-dark",info:"!bg-secondary-dark",warning:"!bg-warning-dark",default:"",dark:""},g=({...t})=>(useEffect(()=>{injectStyle();},[]),jsx(ToastContainer,{toastClassName:o=>a("border flex items-top justify-between py-3 px-4 relative rounded shadow-md mb-2",p[o?.type||"info"]),bodyClassName:"max-w-[95%] text-sm text-on-base break-words",progressClassName:o=>a(o?.defaultClassName,"!h-1",f[o?.type||"info"]),closeButton:({closeToast:o})=>jsx("div",{className:"text-on-base hover:text-on-base-2 flex cursor-pointer items-center",onClick:o,children:jsx(a$1,{icon:"close",size:3})}),position:"top-right",icon:!1,...t})),O=({content:t,...o})=>{let a=o?.type||"success",n=typeof o?.autoClose!="boolean"?o?.autoClose:o?.autoClose&&5e3;toast(t,{...o,type:a,autoClose:n});},y=i.memo(g);y.displayName="Toast";
11
+
12
+ export { y as ToastContainer, O as notify };
@@ -0,0 +1,54 @@
1
+ import './style.scss';
2
+ import { TippyProps } from '@tippyjs/react';
3
+ declare const Tooltip: import("react").MemoExoticComponent<({ isVisible, appendTo, hideOnClick, trigger, hideInMobile, duration, interactive, allowHTML, maxWidth, touch, placement, content, children, ...props }: TooltipProps) => import("react/jsx-runtime").JSX.Element>;
4
+ interface TooltipProps extends TippyProps {
5
+ /**
6
+ * Controls tooltip visibility
7
+ * @default true
8
+ */
9
+ isVisible?: boolean;
10
+ /** Tooltip append
11
+ * @default 'document.body'
12
+ * */
13
+ appendTo?: TippyProps['appendTo'];
14
+ /** Tooltip hide on click
15
+ * @default false
16
+ * */
17
+ hideOnClick?: TippyProps['hideOnClick'];
18
+ /** Tooltip trigger
19
+ * @default 'mouseenter'
20
+ * */
21
+ trigger?: TippyProps['trigger'];
22
+ /** Tooltip action on touch
23
+ * @default ['hold', 400]
24
+ * */
25
+ touch?: TippyProps['touch'];
26
+ /**
27
+ * Hide tooltip in mobile screen
28
+ * @default false
29
+ */
30
+ hideInMobile?: boolean;
31
+ /** Tooltip duration
32
+ * @default 150
33
+ * */
34
+ duration?: TippyProps['duration'];
35
+ /** Tooltip position
36
+ * @default 'top'
37
+ * */
38
+ placement?: TippyProps['placement'];
39
+ /** Tooltip can be hovered over and clicked inside
40
+ * @default false
41
+ * */
42
+ interactive?: TippyProps['interactive'];
43
+ /**
44
+ * Allow use HTML in content
45
+ * @default true
46
+ */
47
+ allowHTML?: TippyProps['allowHTML'];
48
+ /**
49
+ * Tooltip max width
50
+ * @default 250
51
+ */
52
+ maxWidth?: TippyProps['maxWidth'];
53
+ }
54
+ export { Tooltip, type TooltipProps };
@@ -1,57 +1 @@
1
- import * as React from 'react';
2
- import * as react_jsx_runtime from 'react/jsx-runtime';
3
- import { TippyProps } from '@tippyjs/react';
4
-
5
- declare const Tooltip: React.MemoExoticComponent<({ isVisible, appendTo, hideOnClick, trigger, hideInMobile, duration, interactive, allowHTML, maxWidth, touch, placement, content, children, ...props }: TooltipProps) => react_jsx_runtime.JSX.Element>;
6
- interface TooltipProps extends TippyProps {
7
- /**
8
- * Controls tooltip visibility
9
- * @default true
10
- */
11
- isVisible?: boolean;
12
- /** Tooltip append
13
- * @default 'document.body'
14
- * */
15
- appendTo?: TippyProps['appendTo'];
16
- /** Tooltip hide on click
17
- * @default false
18
- * */
19
- hideOnClick?: TippyProps['hideOnClick'];
20
- /** Tooltip trigger
21
- * @default 'mouseenter'
22
- * */
23
- trigger?: TippyProps['trigger'];
24
- /** Tooltip action on touch
25
- * @default ['hold', 400]
26
- * */
27
- touch?: TippyProps['touch'];
28
- /**
29
- * Hide tooltip in mobile screen
30
- * @default false
31
- */
32
- hideInMobile?: boolean;
33
- /** Tooltip duration
34
- * @default 150
35
- * */
36
- duration?: TippyProps['duration'];
37
- /** Tooltip position
38
- * @default 'top'
39
- * */
40
- placement?: TippyProps['placement'];
41
- /** Tooltip can be hovered over and clicked inside
42
- * @default false
43
- * */
44
- interactive?: TippyProps['interactive'];
45
- /**
46
- * Allow use HTML in content
47
- * @default true
48
- */
49
- allowHTML?: TippyProps['allowHTML'];
50
- /**
51
- * Tooltip max width
52
- * @default 250
53
- */
54
- maxWidth?: TippyProps['maxWidth'];
55
- }
56
-
57
- export { Tooltip, type TooltipProps };
1
+ export * from './Tooltip.client';
@@ -0,0 +1,4 @@
1
+ export * from './Alert';
2
+ export * from './Badge';
3
+ export * from './Tag';
4
+ export * from './Tooltip';
@@ -1,10 +1,10 @@
1
1
  import '../chunk-AKA4VSQF.js';
2
- export { a as Alert } from '../chunk-243NQZV5.js';
3
- export { a as Badge } from '../chunk-4BVRONPO.js';
4
- export { a as Tag } from '../chunk-BQW67FSK.js';
5
- import '../chunk-YTHY4XI2.js';
6
2
  export { a as Tooltip } from '../chunk-TZI6YTCW.js';
3
+ export { a as Badge } from '../chunk-UO2TARVR.js';
4
+ export { a as Alert } from '../chunk-KSYF7CFG.js';
5
+ export { a as Tag } from '../chunk-FCIMHESM.js';
6
+ import '../chunk-I32MZTHH.js';
7
7
  import '../chunk-LTWCICTK.js';
8
- import '../chunk-RPTUERXQ.js';
9
- import '../chunk-2H2JX2FG.js';
10
- import '../chunk-WEYSRHTX.js';
8
+ import '../chunk-PFWHNMTS.js';
9
+ import '../chunk-WTH3TAIX.js';
10
+ import '../chunk-AGCI6C3Z.js';
@@ -0,0 +1,15 @@
1
+ import React from 'react';
2
+ import { ButtonProps } from '../../components/Button';
3
+ declare const ActionBar: React.MemoExoticComponent<({ onlyMobile, children }: ActionBarProps) => import("react/jsx-runtime").JSX.Element>;
4
+ interface ActionBarProps {
5
+ /**
6
+ * Show component only on Mobile
7
+ * @default false
8
+ */
9
+ onlyMobile?: boolean;
10
+ /**
11
+ * React children
12
+ */
13
+ children: React.ReactElement<ButtonProps> | React.ReactElement<ButtonProps>[];
14
+ }
15
+ export { ActionBar, type ActionBarProps };
@@ -1,21 +1 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import React__default from 'react';
3
- import { ButtonProps } from '../../components/Button/index.js';
4
- import 'class-variance-authority/types';
5
- import 'class-variance-authority';
6
- import '../../components/Icon/index.js';
7
-
8
- declare const ActionBar: React__default.MemoExoticComponent<({ onlyMobile, children }: ActionBarProps) => react_jsx_runtime.JSX.Element>;
9
- interface ActionBarProps {
10
- /**
11
- * Show component only on Mobile
12
- * @default false
13
- */
14
- onlyMobile?: boolean;
15
- /**
16
- * React children
17
- */
18
- children: React__default.ReactElement<ButtonProps> | React__default.ReactElement<ButtonProps>[];
19
- }
20
-
21
- export { ActionBar, type ActionBarProps };
1
+ export * from './ActionBar.client';
@@ -1,7 +1,7 @@
1
- "use client";export { a as ActionBar } from '../../chunk-26ZK5M43.js';
1
+ "use client";export { a as ActionBar } from '../../chunk-QMQU7H7Y.js';
2
2
  import '../../chunk-L6H2NDVS.js';
3
- import '../../chunk-YTHY4XI2.js';
3
+ import '../../chunk-I32MZTHH.js';
4
4
  import '../../chunk-LTWCICTK.js';
5
- import '../../chunk-RPTUERXQ.js';
6
- import '../../chunk-2H2JX2FG.js';
7
- import '../../chunk-WEYSRHTX.js';
5
+ import '../../chunk-PFWHNMTS.js';
6
+ import '../../chunk-WTH3TAIX.js';
7
+ import '../../chunk-AGCI6C3Z.js';
@@ -0,0 +1,68 @@
1
+ import React from 'react';
2
+ import { TabsProps } from '../../components/Tabs';
3
+ declare const BoxSeparator: {
4
+ (): import("react/jsx-runtime").JSX.Element;
5
+ displayName: string;
6
+ };
7
+ declare const Box: React.MemoExoticComponent<({ id, className, isOpen, isToggle, variant, children }: BoxProps) => import("react/jsx-runtime").JSX.Element>;
8
+ declare const BoxHeader: React.MemoExoticComponent<({ children, className, title, subtitle, Tabs }: BoxHeaderProps) => import("react/jsx-runtime").JSX.Element>;
9
+ declare const BoxContent: React.MemoExoticComponent<({ children, className }: BoxContentProps) => import("react/jsx-runtime").JSX.Element>;
10
+ interface BoxProps {
11
+ /**
12
+ * Custom class name
13
+ * */
14
+ className?: string;
15
+ /**
16
+ * Box ID
17
+ * */
18
+ id?: string;
19
+ /**
20
+ * Box Header and Content
21
+ */
22
+ children?: React.ReactElement<BoxContentProps> | Array<React.ReactElement<BoxContentProps>> | React.ReactElement<BoxHeaderProps> | Array<React.ReactElement<BoxHeaderProps>>;
23
+ /** Variant type
24
+ * @default 'default'
25
+ * */
26
+ variant?: 'default' | 'small';
27
+ /** Define is box content has visible by default
28
+ * @default true
29
+ * */
30
+ isOpen?: boolean;
31
+ /** Show toggle icon
32
+ * @default false
33
+ * */
34
+ isToggle?: boolean;
35
+ }
36
+ interface BoxContentProps {
37
+ /**
38
+ * React children
39
+ */
40
+ children?: React.ReactNode;
41
+ /**
42
+ * Custom class name
43
+ * */
44
+ className?: string;
45
+ }
46
+ interface BoxHeaderProps {
47
+ /**
48
+ * React children
49
+ */
50
+ children?: React.ReactNode;
51
+ /**
52
+ * Custom class name
53
+ * */
54
+ className?: string;
55
+ /**
56
+ * Title of the Box
57
+ */
58
+ title?: string | React.ReactNode;
59
+ /**
60
+ * Subtitle of the Box
61
+ */
62
+ subtitle?: string | React.ReactNode;
63
+ /**
64
+ * Use only with "&lt;Tabs /&gt;" component
65
+ */
66
+ Tabs?: React.ReactElement<TabsProps>;
67
+ }
68
+ export { Box, BoxContent, type BoxContentProps, BoxHeader, type BoxHeaderProps, type BoxProps, BoxSeparator };
@@ -1,71 +1 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import React__default from 'react';
3
- import { TabsProps } from '../../components/Tabs/index.js';
4
-
5
- declare const BoxSeparator: {
6
- (): react_jsx_runtime.JSX.Element;
7
- displayName: string;
8
- };
9
- declare const Box: React__default.MemoExoticComponent<({ id, className, isOpen, isToggle, variant, children }: BoxProps) => react_jsx_runtime.JSX.Element>;
10
- declare const BoxHeader: React__default.MemoExoticComponent<({ children, className, title, subtitle, Tabs }: BoxHeaderProps) => react_jsx_runtime.JSX.Element>;
11
- declare const BoxContent: React__default.MemoExoticComponent<({ children, className }: BoxContentProps) => react_jsx_runtime.JSX.Element>;
12
- interface BoxProps {
13
- /**
14
- * Custom class name
15
- * */
16
- className?: string;
17
- /**
18
- * Box ID
19
- * */
20
- id?: string;
21
- /**
22
- * Box Header and Content
23
- */
24
- children?: React__default.ReactElement<BoxContentProps> | Array<React__default.ReactElement<BoxContentProps>> | React__default.ReactElement<BoxHeaderProps> | Array<React__default.ReactElement<BoxHeaderProps>>;
25
- /** Variant type
26
- * @default 'default'
27
- * */
28
- variant?: 'default' | 'small';
29
- /** Define is box content has visible by default
30
- * @default true
31
- * */
32
- isOpen?: boolean;
33
- /** Show toggle icon
34
- * @default false
35
- * */
36
- isToggle?: boolean;
37
- }
38
- interface BoxContentProps {
39
- /**
40
- * React children
41
- */
42
- children?: React__default.ReactNode;
43
- /**
44
- * Custom class name
45
- * */
46
- className?: string;
47
- }
48
- interface BoxHeaderProps {
49
- /**
50
- * React children
51
- */
52
- children?: React__default.ReactNode;
53
- /**
54
- * Custom class name
55
- * */
56
- className?: string;
57
- /**
58
- * Title of the Box
59
- */
60
- title?: string | React__default.ReactNode;
61
- /**
62
- * Subtitle of the Box
63
- */
64
- subtitle?: string | React__default.ReactNode;
65
- /**
66
- * Use only with "&lt;Tabs /&gt;" component
67
- */
68
- Tabs?: React__default.ReactElement<TabsProps>;
69
- }
70
-
71
- export { Box, BoxContent, type BoxContentProps, BoxHeader, type BoxHeaderProps, type BoxProps, BoxSeparator };
1
+ export * from './Box';
@@ -1,4 +1,4 @@
1
- export { b as Box, d as BoxContent, c as BoxHeader, a as BoxSeparator } from '../../chunk-K5XL557B.js';
2
- import '../../chunk-RPTUERXQ.js';
3
- import '../../chunk-2H2JX2FG.js';
4
- import '../../chunk-WEYSRHTX.js';
1
+ export { b as Box, d as BoxContent, c as BoxHeader, a as BoxSeparator } from '../../chunk-OHKM27GJ.js';
2
+ import '../../chunk-PFWHNMTS.js';
3
+ import '../../chunk-WTH3TAIX.js';
4
+ import '../../chunk-AGCI6C3Z.js';
@@ -0,0 +1,15 @@
1
+ declare const Container: import("react").MemoExoticComponent<({ children, expanded, className }: ContainerProps) => JSX.Element>;
2
+ declare const ContainerHeader: import("react").MemoExoticComponent<({ children, className }: ContainerProps) => JSX.Element>;
3
+ interface ContainerProps {
4
+ /**
5
+ * Container expanded
6
+ * @default false
7
+ */
8
+ expanded?: boolean;
9
+ /**
10
+ * Custom class name
11
+ */
12
+ className?: string;
13
+ children?: React.ReactNode;
14
+ }
15
+ export { Container, ContainerHeader, type ContainerProps };