@loja-integrada/admin-components 1.0.0-beta.0 → 1.0.1

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 (227) hide show
  1. package/README.md +17 -0
  2. package/dist/chunk-22FGINA5.js +9 -0
  3. package/dist/chunk-24UC33BJ.js +8 -0
  4. package/dist/chunk-2H2JX2FG.js +5 -0
  5. package/dist/chunk-3OHDGUPG.js +7 -0
  6. package/dist/chunk-63ACUGSG.js +7 -0
  7. package/dist/chunk-767NPRMO.js +10 -0
  8. package/dist/chunk-AZI2H7OT.js +9 -0
  9. package/dist/chunk-BW2HQVCT.js +7 -0
  10. package/dist/chunk-DBWOW4GL.js +1 -0
  11. package/dist/chunk-DIFKNF3L.js +1 -0
  12. package/dist/chunk-FLXTIRDF.js +10 -0
  13. package/dist/chunk-GWT7XT76.js +7 -0
  14. package/dist/chunk-IA7GSQNX.js +1 -0
  15. package/dist/chunk-IPSRY3RR.js +9 -0
  16. package/dist/chunk-K5XL557B.js +9 -0
  17. package/dist/chunk-KEVA65S5.js +10 -0
  18. package/dist/chunk-L6H2NDVS.js +3 -0
  19. package/dist/chunk-LJS4TVL3.js +10 -0
  20. package/dist/chunk-LTHYFCE7.js +7 -0
  21. package/dist/chunk-N73XF5FY.js +10 -0
  22. package/dist/chunk-NHDLQM42.js +10 -0
  23. package/dist/chunk-QNBPXACD.js +8 -0
  24. package/dist/chunk-RGSYU4MA.js +7 -0
  25. package/dist/chunk-RL2XPX57.js +7 -0
  26. package/dist/chunk-RPTUERXQ.js +8 -0
  27. package/dist/chunk-WEYSRHTX.js +6 -0
  28. package/dist/chunk-WEZVMEBK.js +7 -0
  29. package/dist/chunk-YDYMRCXH.js +8 -0
  30. package/dist/chunk-YTHY4XI2.js +9 -0
  31. package/dist/components/Button/Button.d.ts +3 -7
  32. package/dist/components/Button/index.d.ts +1 -6
  33. package/dist/components/Button/index.js +4 -3
  34. package/dist/components/DataTable/DataTable.d.ts +74 -0
  35. package/dist/components/DataTable/index.d.ts +1 -0
  36. package/dist/components/DataTable/index.js +6 -0
  37. package/dist/components/Icon/Icon.d.ts +1 -98
  38. package/dist/components/Icon/index.d.ts +1 -3
  39. package/dist/components/Icon/index.js +3 -1
  40. package/dist/components/IconCircular/IconCircular.d.ts +4 -7
  41. package/dist/components/IconCircular/index.d.ts +1 -4
  42. package/dist/components/IconCircular/index.js +4 -3
  43. package/dist/components/LoadingPlaceholder/LoadingPlaceholder.d.ts +9 -0
  44. package/dist/components/LoadingPlaceholder/index.d.ts +1 -0
  45. package/dist/components/LoadingPlaceholder/index.js +2 -0
  46. package/dist/components/Modal/Modal.d.ts +54 -0
  47. package/dist/components/Modal/index.css +1 -0
  48. package/dist/components/Modal/index.d.ts +1 -0
  49. package/dist/components/Modal/index.js +5 -0
  50. package/dist/components/SidebarFixed/SidebarFixed.d.ts +34 -0
  51. package/dist/components/SidebarFixed/index.d.ts +1 -0
  52. package/dist/components/SidebarFixed/index.js +5 -0
  53. package/dist/components/Table/Table.d.ts +10 -0
  54. package/dist/components/Table/index.d.ts +1 -0
  55. package/dist/components/Table/index.js +2 -0
  56. package/dist/components/Tabs/Tabs.d.ts +21 -0
  57. package/dist/components/Tabs/TabsItem.d.ts +34 -0
  58. package/dist/components/Tabs/index.d.ts +1 -0
  59. package/dist/components/Tabs/index.js +2 -0
  60. package/dist/components/index.css +1 -0
  61. package/dist/components/index.d.ts +9 -0
  62. package/dist/components/index.js +15 -0
  63. package/dist/forms/Checkbox/Checkbox.d.ts +28 -0
  64. package/dist/forms/Checkbox/index.d.ts +1 -0
  65. package/dist/forms/Checkbox/index.js +3 -0
  66. package/dist/forms/Input/Input.d.ts +41 -0
  67. package/dist/forms/Input/index.d.ts +1 -0
  68. package/dist/forms/Input/index.js +4 -0
  69. package/dist/forms/InputHelpText/InputHelpText.d.ts +17 -0
  70. package/dist/forms/InputHelpText/index.d.ts +1 -0
  71. package/dist/forms/InputHelpText/index.js +2 -0
  72. package/dist/forms/InputLabel/InputLabel.d.ts +29 -0
  73. package/dist/forms/InputLabel/index.d.ts +1 -0
  74. package/dist/forms/InputLabel/index.js +2 -0
  75. package/dist/forms/InputMask/InputMask.d.ts +20 -0
  76. package/dist/forms/InputMask/index.d.ts +1 -0
  77. package/dist/forms/InputMask/index.js +5 -0
  78. package/dist/forms/InputMask/maskDate.d.ts +7 -0
  79. package/dist/forms/InputMask/utils.d.ts +6 -0
  80. package/dist/forms/index.d.ts +5 -0
  81. package/dist/forms/index.js +7 -0
  82. package/dist/icons-path/Adjust.d.ts +1 -0
  83. package/dist/icons-path/AngleDiagonal.d.ts +1 -0
  84. package/dist/icons-path/AngleDown.d.ts +1 -0
  85. package/dist/icons-path/AngleHeight.d.ts +1 -0
  86. package/dist/icons-path/AngleLeft.d.ts +1 -0
  87. package/dist/icons-path/AngleRight.d.ts +1 -0
  88. package/dist/icons-path/AngleWidth.d.ts +1 -0
  89. package/dist/icons-path/App.d.ts +1 -0
  90. package/dist/icons-path/Arrow.d.ts +1 -0
  91. package/dist/icons-path/ArrowLeft.d.ts +1 -0
  92. package/dist/icons-path/ArrowRight.d.ts +1 -0
  93. package/dist/icons-path/Back.d.ts +1 -0
  94. package/dist/icons-path/Ban.d.ts +1 -0
  95. package/dist/icons-path/BarcodeRead.d.ts +1 -0
  96. package/dist/icons-path/Bell.d.ts +1 -0
  97. package/dist/icons-path/Blog.d.ts +1 -0
  98. package/dist/icons-path/Bullhorn.d.ts +1 -0
  99. package/dist/icons-path/Calculator.d.ts +1 -0
  100. package/dist/icons-path/CalendarAlt.d.ts +1 -0
  101. package/dist/icons-path/Camera.d.ts +1 -0
  102. package/dist/icons-path/Check.d.ts +1 -0
  103. package/dist/icons-path/CheckCircle.d.ts +1 -0
  104. package/dist/icons-path/Clock.d.ts +1 -0
  105. package/dist/icons-path/Clockwise.d.ts +1 -0
  106. package/dist/icons-path/Close.d.ts +1 -0
  107. package/dist/icons-path/Cog.d.ts +1 -0
  108. package/dist/icons-path/Copy.d.ts +1 -0
  109. package/dist/icons-path/CreditCard.d.ts +1 -0
  110. package/dist/icons-path/DashedCircle.d.ts +1 -0
  111. package/dist/icons-path/DefaultCursor.d.ts +1 -0
  112. package/dist/icons-path/Desktop.d.ts +1 -0
  113. package/dist/icons-path/Discount.d.ts +1 -0
  114. package/dist/icons-path/DotsThree.d.ts +1 -0
  115. package/dist/icons-path/Download.d.ts +1 -0
  116. package/dist/icons-path/Edit.d.ts +1 -0
  117. package/dist/icons-path/Envelope.d.ts +1 -0
  118. package/dist/icons-path/Exchange.d.ts +1 -0
  119. package/dist/icons-path/ExchangeY.d.ts +1 -0
  120. package/dist/icons-path/Exclamation.d.ts +1 -0
  121. package/dist/icons-path/ExclamationCircle.d.ts +1 -0
  122. package/dist/icons-path/ExclamationTriangle.d.ts +1 -0
  123. package/dist/icons-path/ExternalLink.d.ts +1 -0
  124. package/dist/icons-path/Eye.d.ts +1 -0
  125. package/dist/icons-path/EyeSlash.d.ts +1 -0
  126. package/dist/icons-path/Filter.d.ts +1 -0
  127. package/dist/icons-path/HalfBack.d.ts +1 -0
  128. package/dist/icons-path/Hashtag.d.ts +1 -0
  129. package/dist/icons-path/Home.d.ts +1 -0
  130. package/dist/icons-path/IconSolidEnviali.d.ts +1 -0
  131. package/dist/icons-path/IconSolidLI.d.ts +1 -0
  132. package/dist/icons-path/IdentificationBadge.d.ts +1 -0
  133. package/dist/icons-path/Image.d.ts +1 -0
  134. package/dist/icons-path/InfoCircle.d.ts +1 -0
  135. package/dist/icons-path/Lightbulb.d.ts +1 -0
  136. package/dist/icons-path/Link.d.ts +1 -0
  137. package/dist/icons-path/ListItems.d.ts +1 -0
  138. package/dist/icons-path/Loading.d.ts +1 -0
  139. package/dist/icons-path/Minus.d.ts +1 -0
  140. package/dist/icons-path/MinusCircle.d.ts +1 -0
  141. package/dist/icons-path/MinusCircleSolid.d.ts +1 -0
  142. package/dist/icons-path/Mobile.d.ts +1 -0
  143. package/dist/icons-path/MoneyBill.d.ts +1 -0
  144. package/dist/icons-path/Move.d.ts +1 -0
  145. package/dist/icons-path/Nav.d.ts +1 -0
  146. package/dist/icons-path/Order.d.ts +1 -0
  147. package/dist/icons-path/Pagali.d.ts +1 -0
  148. package/dist/icons-path/PaperList.d.ts +1 -0
  149. package/dist/icons-path/PieChart.d.ts +1 -0
  150. package/dist/icons-path/Pix.d.ts +1 -0
  151. package/dist/icons-path/Plus.d.ts +1 -0
  152. package/dist/icons-path/PlusCircle.d.ts +1 -0
  153. package/dist/icons-path/Print.d.ts +1 -0
  154. package/dist/icons-path/Product.d.ts +1 -0
  155. package/dist/icons-path/QuestionCircle.d.ts +1 -0
  156. package/dist/icons-path/Reload.d.ts +1 -0
  157. package/dist/icons-path/Rocket.d.ts +1 -0
  158. package/dist/icons-path/Search.d.ts +1 -0
  159. package/dist/icons-path/ShoppingCart.d.ts +1 -0
  160. package/dist/icons-path/SortDown.d.ts +1 -0
  161. package/dist/icons-path/Store.d.ts +1 -0
  162. package/dist/icons-path/Sync.d.ts +1 -0
  163. package/dist/icons-path/ThinAngleRight.d.ts +1 -0
  164. package/dist/icons-path/TimesCircle.d.ts +1 -0
  165. package/dist/icons-path/Trash.d.ts +1 -0
  166. package/dist/icons-path/Trophy.d.ts +1 -0
  167. package/dist/icons-path/Truck.d.ts +1 -0
  168. package/dist/icons-path/Tv.d.ts +1 -0
  169. package/dist/icons-path/Upload.d.ts +1 -0
  170. package/dist/icons-path/UsdCircle.d.ts +1 -0
  171. package/dist/icons-path/User.d.ts +1 -0
  172. package/dist/icons-path/WhatsApp.d.ts +1 -0
  173. package/dist/icons-path/index.d.ts +94 -0
  174. package/dist/icons-path/index.js +1 -0
  175. package/dist/index.css +1 -0
  176. package/dist/index.d.ts +5 -7
  177. package/dist/index.js +31 -5
  178. package/dist/indicators/Alert/Alert.d.ts +47 -0
  179. package/dist/indicators/Alert/index.d.ts +1 -0
  180. package/dist/indicators/Alert/index.js +5 -0
  181. package/dist/indicators/Badge/Badge.d.ts +29 -0
  182. package/dist/indicators/Badge/index.d.ts +1 -0
  183. package/dist/indicators/Badge/index.js +2 -0
  184. package/dist/indicators/Tag/Tag.d.ts +32 -0
  185. package/dist/indicators/Tag/index.css +1 -0
  186. package/dist/indicators/Tag/index.d.ts +1 -0
  187. package/dist/indicators/Tag/index.js +16 -0
  188. package/dist/indicators/Tooltip/Tooltip.d.ts +54 -0
  189. package/dist/indicators/Tooltip/index.css +1 -0
  190. package/dist/indicators/Tooltip/index.d.ts +1 -0
  191. package/dist/indicators/Tooltip/index.js +1 -0
  192. package/dist/indicators/index.css +1 -0
  193. package/dist/indicators/index.d.ts +4 -0
  194. package/dist/indicators/index.js +20 -0
  195. package/dist/layout/ActionBar/ActionBar.d.ts +15 -0
  196. package/dist/layout/ActionBar/index.d.ts +1 -0
  197. package/dist/layout/ActionBar/index.js +7 -0
  198. package/dist/layout/Box/Box.d.ts +68 -0
  199. package/dist/layout/Box/index.d.ts +1 -0
  200. package/dist/layout/Box/index.js +4 -0
  201. package/dist/layout/Container/Container.d.ts +15 -0
  202. package/dist/layout/Container/index.d.ts +1 -0
  203. package/dist/layout/Container/index.js +3 -0
  204. package/dist/layout/constants.d.ts +4 -0
  205. package/dist/layout/index.d.ts +3 -0
  206. package/dist/layout/index.js +10 -0
  207. package/dist/lib/utils.d.ts +5 -0
  208. package/dist/navigation/Breadcrumb/Breadcrumb.d.ts +43 -0
  209. package/dist/navigation/Breadcrumb/index.d.ts +1 -0
  210. package/dist/navigation/Breadcrumb/index.js +6 -0
  211. package/dist/navigation/HelpLink/HelpLink.d.ts +30 -0
  212. package/dist/navigation/HelpLink/index.d.ts +1 -0
  213. package/dist/navigation/HelpLink/index.js +5 -0
  214. package/dist/navigation/Stepper/Stepper.d.ts +29 -0
  215. package/dist/navigation/Stepper/index.d.ts +1 -0
  216. package/dist/navigation/Stepper/index.js +7 -0
  217. package/dist/navigation/index.d.ts +2 -0
  218. package/dist/navigation/index.js +7 -0
  219. package/package.json +114 -20
  220. package/dist/chunk-7RSXJRXE.js +0 -7
  221. package/dist/chunk-YV57ZIX5.js +0 -7
  222. package/dist/chunk-YXT4UVSS.js +0 -6
  223. package/dist/components/Button/Button.js +0 -3
  224. package/dist/components/Icon/Icon.js +0 -1
  225. package/dist/components/IconCircular/IconCircular.js +0 -3
  226. /package/dist/{chunk-AYBQ5B4L.js → chunk-27G6ETZK.js} +0 -0
  227. /package/dist/{chunk-QCTWLTAA.js → chunk-AKA4VSQF.js} +0 -0
@@ -0,0 +1,29 @@
1
+ import React from 'react';
2
+ export declare const Badge: React.MemoExoticComponent<({ type, text, size, expanded, rounded, className }: BadgeProps) => import("react/jsx-runtime").JSX.Element>;
3
+ export 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
+ }
@@ -0,0 +1 @@
1
+ export * from './Badge';
@@ -0,0 +1,2 @@
1
+ export { a as Badge } from '../../chunk-YDYMRCXH.js';
2
+ import '../../chunk-WEYSRHTX.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
+ /** Adittional 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>;
@@ -0,0 +1 @@
1
+ .ReactModal__Overlay--after-open{@apply opacity-100;}.ReactModal__Overlay--before-close{@apply opacity-0;}
@@ -0,0 +1 @@
1
+ export * from './Tag';
@@ -0,0 +1,16 @@
1
+ export { a as Tag } from '../../chunk-NHDLQM42.js';
2
+ import '../../chunk-DIFKNF3L.js';
3
+ import '../../chunk-BW2HQVCT.js';
4
+ import '../../chunk-YTHY4XI2.js';
5
+ import '../../chunk-KEVA65S5.js';
6
+ import '../../chunk-LTHYFCE7.js';
7
+ import '../../chunk-FLXTIRDF.js';
8
+ import '../../chunk-RGSYU4MA.js';
9
+ import '../../chunk-LTWCICTK.js';
10
+ import '../../chunk-RPTUERXQ.js';
11
+ import '../../chunk-2H2JX2FG.js';
12
+ import '../../chunk-RL2XPX57.js';
13
+ import '../../chunk-63ACUGSG.js';
14
+ import '../../chunk-22FGINA5.js';
15
+ import '../../chunk-3OHDGUPG.js';
16
+ import '../../chunk-WEYSRHTX.js';
@@ -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 };
@@ -0,0 +1 @@
1
+ .tippy-box{@apply relative bg-inverted-1 text-base-1 rounded text-f7 outline-0 transition-all;}.tippy-box[data-animation=fade][data-state=hidden]{@apply opacity-0;}.tippy-box [data-tippy-root]{max-width:calc(100vw - 10px)}.tippy-box[data-placement^=top]>.tippy-arrow{@apply bottom-0;}.tippy-box[data-placement^=top]>.tippy-arrow:before{@apply -bottom-2 left-0;border-width:8px 8px 0;border-top-color:initial;transform-origin:center top}.tippy-box[data-placement^=bottom]>.tippy-arrow{@apply top-0;}.tippy-box[data-placement^=bottom]>.tippy-arrow:before{@apply -top-2 left-0;border-width:0 8px 8px;border-bottom-color:initial;transform-origin:center bottom}.tippy-box[data-placement^=left]>.tippy-arrow{@apply right-0;}.tippy-box[data-placement^=left]>.tippy-arrow:before{@apply -right-2;border-width:8px 0 8px 8px;border-left-color:initial;transform-origin:center left}.tippy-box[data-placement^=right]>.tippy-arrow{@apply left-0;}.tippy-box[data-placement^=right]>.tippy-arrow:before{@apply -left-2;border-width:8px 8px 8px 0;border-right-color:initial;transform-origin:center right}.tippy-box[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-box .tippy-arrow{@apply text-inverted-1 w-4 h-4;}.tippy-box .tippy-arrow:before{@apply absolute border-transparent border-solid;content:""}.tippy-box .tippy-content{@apply relative py-3 px-2 z-1;}
@@ -0,0 +1 @@
1
+ export * from './Tooltip';
@@ -0,0 +1 @@
1
+ export { a as Tooltip } from '../../chunk-GWT7XT76.js';
@@ -0,0 +1 @@
1
+ .ReactModal__Overlay--after-open{@apply opacity-100;}.ReactModal__Overlay--before-close{@apply opacity-0;}.tippy-box{@apply relative bg-inverted-1 text-base-1 rounded text-f7 outline-0 transition-all;}.tippy-box[data-animation=fade][data-state=hidden]{@apply opacity-0;}.tippy-box [data-tippy-root]{max-width:calc(100vw - 10px)}.tippy-box[data-placement^=top]>.tippy-arrow{@apply bottom-0;}.tippy-box[data-placement^=top]>.tippy-arrow:before{@apply -bottom-2 left-0;border-width:8px 8px 0;border-top-color:initial;transform-origin:center top}.tippy-box[data-placement^=bottom]>.tippy-arrow{@apply top-0;}.tippy-box[data-placement^=bottom]>.tippy-arrow:before{@apply -top-2 left-0;border-width:0 8px 8px;border-bottom-color:initial;transform-origin:center bottom}.tippy-box[data-placement^=left]>.tippy-arrow{@apply right-0;}.tippy-box[data-placement^=left]>.tippy-arrow:before{@apply -right-2;border-width:8px 0 8px 8px;border-left-color:initial;transform-origin:center left}.tippy-box[data-placement^=right]>.tippy-arrow{@apply left-0;}.tippy-box[data-placement^=right]>.tippy-arrow:before{@apply -left-2;border-width:8px 8px 8px 0;border-right-color:initial;transform-origin:center right}.tippy-box[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-box .tippy-arrow{@apply text-inverted-1 w-4 h-4;}.tippy-box .tippy-arrow:before{@apply absolute border-transparent border-solid;content:""}.tippy-box .tippy-content{@apply relative py-3 px-2 z-1;}
@@ -0,0 +1,4 @@
1
+ export * from './Alert';
2
+ export * from './Badge';
3
+ export * from './Tag';
4
+ export * from './Tooltip';
@@ -0,0 +1,20 @@
1
+ import '../chunk-AKA4VSQF.js';
2
+ export { a as Alert } from '../chunk-QNBPXACD.js';
3
+ export { a as Badge } from '../chunk-YDYMRCXH.js';
4
+ export { a as Tag } from '../chunk-NHDLQM42.js';
5
+ import '../chunk-DIFKNF3L.js';
6
+ import '../chunk-BW2HQVCT.js';
7
+ import '../chunk-YTHY4XI2.js';
8
+ export { a as Tooltip } from '../chunk-GWT7XT76.js';
9
+ import '../chunk-KEVA65S5.js';
10
+ import '../chunk-LTHYFCE7.js';
11
+ import '../chunk-FLXTIRDF.js';
12
+ import '../chunk-RGSYU4MA.js';
13
+ import '../chunk-LTWCICTK.js';
14
+ import '../chunk-RPTUERXQ.js';
15
+ import '../chunk-2H2JX2FG.js';
16
+ import '../chunk-RL2XPX57.js';
17
+ import '../chunk-63ACUGSG.js';
18
+ import '../chunk-22FGINA5.js';
19
+ import '../chunk-3OHDGUPG.js';
20
+ import '../chunk-WEYSRHTX.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 };
@@ -0,0 +1 @@
1
+ export * from './ActionBar';
@@ -0,0 +1,7 @@
1
+ export { a as ActionBar } from '../../chunk-AZI2H7OT.js';
2
+ import '../../chunk-L6H2NDVS.js';
3
+ import '../../chunk-YTHY4XI2.js';
4
+ import '../../chunk-LTWCICTK.js';
5
+ import '../../chunk-RPTUERXQ.js';
6
+ import '../../chunk-2H2JX2FG.js';
7
+ import '../../chunk-WEYSRHTX.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 };
@@ -0,0 +1 @@
1
+ export * from './Box';
@@ -0,0 +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';
@@ -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 };
@@ -0,0 +1 @@
1
+ export * from './Container';
@@ -0,0 +1,3 @@
1
+ export { a as Container, b as ContainerHeader } from '../../chunk-24UC33BJ.js';
2
+ import '../../chunk-L6H2NDVS.js';
3
+ import '../../chunk-WEYSRHTX.js';
@@ -0,0 +1,4 @@
1
+ export declare const CONTAINER_MAX_SIZE: {
2
+ default: string;
3
+ expanded: string;
4
+ };
@@ -0,0 +1,3 @@
1
+ export * from './ActionBar';
2
+ export * from './Box';
3
+ export * from './Container';
@@ -0,0 +1,10 @@
1
+ import '../chunk-DBWOW4GL.js';
2
+ export { a as ActionBar } from '../chunk-AZI2H7OT.js';
3
+ export { b as Box, d as BoxContent, c as BoxHeader, a as BoxSeparator } from '../chunk-K5XL557B.js';
4
+ export { a as Container, b as ContainerHeader } from '../chunk-24UC33BJ.js';
5
+ import '../chunk-L6H2NDVS.js';
6
+ import '../chunk-YTHY4XI2.js';
7
+ import '../chunk-LTWCICTK.js';
8
+ import '../chunk-RPTUERXQ.js';
9
+ import '../chunk-2H2JX2FG.js';
10
+ import '../chunk-WEYSRHTX.js';
@@ -0,0 +1,5 @@
1
+ import { type ClassValue } from 'clsx';
2
+ import { Ref } from 'react';
3
+ export declare function cn(...inputs: ClassValue[]): string;
4
+ export declare function composeRefs<T>(...refs: Array<Ref<T>>): (value: T) => void;
5
+ export declare function setRef<T>(ref: Ref<T>, value: T): void;
@@ -0,0 +1,43 @@
1
+ import React from 'react';
2
+ import { HelpLinkProps } from '../HelpLink';
3
+ declare const Breadcrumb: React.FC<BreadcrumbProps>;
4
+ interface BreadcrumbProps {
5
+ /**
6
+ * Custom class name
7
+ * */
8
+ className?: string;
9
+ /**
10
+ * Current page title
11
+ * */
12
+ currentTitle: string | React.ReactNode;
13
+ /**
14
+ * Previous page title
15
+ * */
16
+ previousTitle?: string | React.ReactNode;
17
+ /**
18
+ * Previous page href
19
+ * */
20
+ previousHref?: string;
21
+ /**
22
+ * Custom link component (replace <a>)
23
+ * Example: `const Link = (props: any) => { return <a href="https://www.google.com" target="_blank" className={`underline ` + props.className}>{props.children}</a> }`
24
+ * */
25
+ Link?: React.ElementType;
26
+ /** Alignment of `currentTitle` at mobile
27
+ * @default 'left'
28
+ * */
29
+ mobileAlign?: 'left' | 'center';
30
+ /**
31
+ * Help link
32
+ * */
33
+ helpLink?: HelpLinkProps;
34
+ /**
35
+ * Custom actions and buttons
36
+ * */
37
+ actions?: React.ReactNode;
38
+ /** Should show actions only at one resolution or always
39
+ * @default 'both'
40
+ * */
41
+ actionsDisplay?: 'desktop' | 'mobile' | 'both';
42
+ }
43
+ export { Breadcrumb, type BreadcrumbProps };
@@ -0,0 +1 @@
1
+ export * from './Breadcrumb';
@@ -0,0 +1,6 @@
1
+ export { a as Breadcrumb } from '../../chunk-767NPRMO.js';
2
+ import '../../chunk-N73XF5FY.js';
3
+ import '../../chunk-LTWCICTK.js';
4
+ import '../../chunk-RPTUERXQ.js';
5
+ import '../../chunk-2H2JX2FG.js';
6
+ import '../../chunk-WEYSRHTX.js';
@@ -0,0 +1,30 @@
1
+ import React from 'react';
2
+ declare const HelpLink: React.FC<HelpLinkProps>;
3
+ interface HelpLinkProps {
4
+ /**
5
+ * Custom class name
6
+ * */
7
+ className?: string;
8
+ /**
9
+ * Text to be displayed
10
+ * */
11
+ text?: string;
12
+ /**
13
+ * Text will appear on mobile or not
14
+ * @default false
15
+ * */
16
+ mobileText?: boolean;
17
+ /**
18
+ * Component behavior as hyper link or button
19
+ * */
20
+ as?: 'hyperLink' | 'button';
21
+ /**
22
+ * Href to the link where component redirects
23
+ * */
24
+ href?: string;
25
+ /**
26
+ * Button action when clicked
27
+ * */
28
+ onClick?: React.MouseEventHandler<HTMLButtonElement>;
29
+ }
30
+ export { HelpLink, type HelpLinkProps };
@@ -0,0 +1 @@
1
+ export * from './HelpLink';
@@ -0,0 +1,5 @@
1
+ export { a as HelpLink } from '../../chunk-N73XF5FY.js';
2
+ import '../../chunk-LTWCICTK.js';
3
+ import '../../chunk-RPTUERXQ.js';
4
+ import '../../chunk-2H2JX2FG.js';
5
+ import '../../chunk-WEYSRHTX.js';
@@ -0,0 +1,29 @@
1
+ import React from 'react';
2
+ export declare const Stepper: React.FC<StepperProps>;
3
+ type StepType = {
4
+ step: number;
5
+ text?: string;
6
+ handleClick?: () => void;
7
+ customClassName?: string;
8
+ };
9
+ export interface StepperProps {
10
+ /**
11
+ * Custom class name
12
+ * */
13
+ className?: string;
14
+ /**
15
+ * Current page step
16
+ * */
17
+ currentStep: number;
18
+ /**
19
+ * Array of steps containing the step number (1, 2, 3, ..., n),
20
+ * text with step's title (optional) and a handler for the
21
+ * step's click (optional) and a custom className for that given step
22
+ * */
23
+ steps: StepType[];
24
+ /**
25
+ * Shows step text instead of linking lines
26
+ * */
27
+ showText?: boolean;
28
+ }
29
+ export {};
@@ -0,0 +1 @@
1
+ export * from './Stepper';
@@ -0,0 +1,7 @@
1
+ import { a } from '../../chunk-WEYSRHTX.js';
2
+ import i from 'react';
3
+ import { jsx, jsxs } from 'react/jsx-runtime';
4
+
5
+ var f=i.memo(({className:o="",currentStep:t=0,steps:p=[],showText:a$1=!1})=>{let n=e=>t>e?"bg-primary border-primary":t===e?"bg-inverted-1 border-inverted-1":"bg-base-4 border-base-4";return jsx("div",{className:a("w-full flex flex-row justify-center gap-x-10 mb-6 relative",o),id:"stepsContainer",children:p.map((e,l)=>jsxs("div",{id:`step${e.step}`,className:"relative z-10 flex flex-row items-center gap-x-3.5 gap-y-2.5",children:[!a$1&&l>0&&jsx("div",{id:`leftLinkStep${e.step}`,className:a("absolute -left-5 h-0.5 w-5",t>=e.step?"bg-primary":"bg-base-4")}),jsx("div",{id:`stepCircle${e.step}`,className:a("flex size-8 items-center justify-center rounded-full border-2 text-base-1",n(e.step),e.customClassName),children:jsx("span",{onClick:()=>e.handleClick?.(),className:a("font-bold",e.handleClick?"cursor-pointer":""),children:e.step})}),a$1?jsx("span",{onClick:()=>e.handleClick?.(),className:a("my-auto text-center text-sm",e.step<2?"cursor-pointer":"",t===e.step?"font-bold":""),children:e.text}):null,!a$1&&l<p.length-1&&jsx("div",{id:`rightLinkStep${e.step}`,className:a("absolute -right-5 h-0.5 w-5",t>e.step?"bg-primary":"bg-base-4")})]},e.step))})});
6
+
7
+ export { f as Stepper };
@@ -0,0 +1,2 @@
1
+ export * from './Breadcrumb';
2
+ export * from './HelpLink';
@@ -0,0 +1,7 @@
1
+ import '../chunk-27G6ETZK.js';
2
+ export { a as Breadcrumb } from '../chunk-767NPRMO.js';
3
+ export { a as HelpLink } from '../chunk-N73XF5FY.js';
4
+ import '../chunk-LTWCICTK.js';
5
+ import '../chunk-RPTUERXQ.js';
6
+ import '../chunk-2H2JX2FG.js';
7
+ import '../chunk-WEYSRHTX.js';