@loja-integrada/admin-components 1.0.1 → 1.0.2

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 (168) hide show
  1. package/README.md +89 -2
  2. package/dist/chunk-TZI6YTCW.js +7 -0
  3. package/dist/{chunk-FLXTIRDF.js → chunk-V3MWWR5B.js} +1 -1
  4. package/dist/components/Button/index.d.ts +52 -1
  5. package/dist/components/DataTable/index.d.ts +77 -1
  6. package/dist/components/Icon/index.d.ts +127 -1
  7. package/dist/components/IconCircular/index.d.ts +22 -1
  8. package/dist/components/LoadingPlaceholder/index.d.ts +12 -1
  9. package/dist/components/Modal/index.css +1 -1
  10. package/dist/components/Modal/index.d.ts +56 -1
  11. package/dist/components/Modal/index.js +1 -1
  12. package/dist/components/SidebarFixed/index.d.ts +36 -1
  13. package/dist/components/Table/index.d.ts +12 -1
  14. package/dist/components/Tabs/index.d.ts +47 -1
  15. package/dist/components/index.css +1 -1
  16. package/dist/components/index.js +1 -1
  17. package/dist/forms/Checkbox/index.d.ts +31 -1
  18. package/dist/forms/Input/index.d.ts +44 -1
  19. package/dist/forms/InputHelpText/index.d.ts +20 -1
  20. package/dist/forms/InputLabel/index.d.ts +32 -1
  21. package/dist/forms/InputMask/index.d.ts +29 -1
  22. package/dist/index.css +1 -1
  23. package/dist/index.d.ts +30 -5
  24. package/dist/index.js +2 -2
  25. package/dist/indicators/Alert/index.d.ts +50 -1
  26. package/dist/indicators/Badge/index.d.ts +33 -1
  27. package/dist/indicators/Tag/index.css +1 -1
  28. package/dist/indicators/Tag/index.d.ts +36 -1
  29. package/dist/indicators/Tag/index.js +1 -1
  30. package/dist/indicators/Tooltip/index.css +1 -1
  31. package/dist/indicators/Tooltip/index.d.ts +57 -1
  32. package/dist/indicators/Tooltip/index.js +1 -1
  33. package/dist/indicators/index.css +1 -1
  34. package/dist/indicators/index.js +2 -2
  35. package/dist/layout/ActionBar/index.d.ts +21 -1
  36. package/dist/layout/Box/index.d.ts +71 -1
  37. package/dist/layout/Container/index.d.ts +18 -1
  38. package/dist/navigation/Breadcrumb/index.d.ts +45 -1
  39. package/dist/navigation/HelpLink/index.d.ts +32 -1
  40. package/dist/navigation/Stepper/index.d.ts +31 -1
  41. package/package.json +56 -53
  42. package/dist/chunk-GWT7XT76.js +0 -7
  43. package/dist/components/Button/Button.d.ts +0 -48
  44. package/dist/components/DataTable/DataTable.d.ts +0 -74
  45. package/dist/components/Icon/Icon.d.ts +0 -30
  46. package/dist/components/IconCircular/IconCircular.d.ts +0 -19
  47. package/dist/components/LoadingPlaceholder/LoadingPlaceholder.d.ts +0 -9
  48. package/dist/components/Modal/Modal.d.ts +0 -54
  49. package/dist/components/SidebarFixed/SidebarFixed.d.ts +0 -34
  50. package/dist/components/Table/Table.d.ts +0 -10
  51. package/dist/components/Tabs/Tabs.d.ts +0 -21
  52. package/dist/components/Tabs/TabsItem.d.ts +0 -34
  53. package/dist/components/index.d.ts +0 -9
  54. package/dist/forms/Checkbox/Checkbox.d.ts +0 -28
  55. package/dist/forms/Input/Input.d.ts +0 -41
  56. package/dist/forms/InputHelpText/InputHelpText.d.ts +0 -17
  57. package/dist/forms/InputLabel/InputLabel.d.ts +0 -29
  58. package/dist/forms/InputMask/InputMask.d.ts +0 -20
  59. package/dist/forms/InputMask/maskDate.d.ts +0 -7
  60. package/dist/forms/InputMask/utils.d.ts +0 -6
  61. package/dist/forms/index.d.ts +0 -5
  62. package/dist/icons-path/Adjust.d.ts +0 -1
  63. package/dist/icons-path/AngleDiagonal.d.ts +0 -1
  64. package/dist/icons-path/AngleDown.d.ts +0 -1
  65. package/dist/icons-path/AngleHeight.d.ts +0 -1
  66. package/dist/icons-path/AngleLeft.d.ts +0 -1
  67. package/dist/icons-path/AngleRight.d.ts +0 -1
  68. package/dist/icons-path/AngleWidth.d.ts +0 -1
  69. package/dist/icons-path/App.d.ts +0 -1
  70. package/dist/icons-path/Arrow.d.ts +0 -1
  71. package/dist/icons-path/ArrowLeft.d.ts +0 -1
  72. package/dist/icons-path/ArrowRight.d.ts +0 -1
  73. package/dist/icons-path/Back.d.ts +0 -1
  74. package/dist/icons-path/Ban.d.ts +0 -1
  75. package/dist/icons-path/BarcodeRead.d.ts +0 -1
  76. package/dist/icons-path/Bell.d.ts +0 -1
  77. package/dist/icons-path/Blog.d.ts +0 -1
  78. package/dist/icons-path/Bullhorn.d.ts +0 -1
  79. package/dist/icons-path/Calculator.d.ts +0 -1
  80. package/dist/icons-path/CalendarAlt.d.ts +0 -1
  81. package/dist/icons-path/Camera.d.ts +0 -1
  82. package/dist/icons-path/Check.d.ts +0 -1
  83. package/dist/icons-path/CheckCircle.d.ts +0 -1
  84. package/dist/icons-path/Clock.d.ts +0 -1
  85. package/dist/icons-path/Clockwise.d.ts +0 -1
  86. package/dist/icons-path/Close.d.ts +0 -1
  87. package/dist/icons-path/Cog.d.ts +0 -1
  88. package/dist/icons-path/Copy.d.ts +0 -1
  89. package/dist/icons-path/CreditCard.d.ts +0 -1
  90. package/dist/icons-path/DashedCircle.d.ts +0 -1
  91. package/dist/icons-path/DefaultCursor.d.ts +0 -1
  92. package/dist/icons-path/Desktop.d.ts +0 -1
  93. package/dist/icons-path/Discount.d.ts +0 -1
  94. package/dist/icons-path/DotsThree.d.ts +0 -1
  95. package/dist/icons-path/Download.d.ts +0 -1
  96. package/dist/icons-path/Edit.d.ts +0 -1
  97. package/dist/icons-path/Envelope.d.ts +0 -1
  98. package/dist/icons-path/Exchange.d.ts +0 -1
  99. package/dist/icons-path/ExchangeY.d.ts +0 -1
  100. package/dist/icons-path/Exclamation.d.ts +0 -1
  101. package/dist/icons-path/ExclamationCircle.d.ts +0 -1
  102. package/dist/icons-path/ExclamationTriangle.d.ts +0 -1
  103. package/dist/icons-path/ExternalLink.d.ts +0 -1
  104. package/dist/icons-path/Eye.d.ts +0 -1
  105. package/dist/icons-path/EyeSlash.d.ts +0 -1
  106. package/dist/icons-path/Filter.d.ts +0 -1
  107. package/dist/icons-path/HalfBack.d.ts +0 -1
  108. package/dist/icons-path/Hashtag.d.ts +0 -1
  109. package/dist/icons-path/Home.d.ts +0 -1
  110. package/dist/icons-path/IconSolidEnviali.d.ts +0 -1
  111. package/dist/icons-path/IconSolidLI.d.ts +0 -1
  112. package/dist/icons-path/IdentificationBadge.d.ts +0 -1
  113. package/dist/icons-path/Image.d.ts +0 -1
  114. package/dist/icons-path/InfoCircle.d.ts +0 -1
  115. package/dist/icons-path/Lightbulb.d.ts +0 -1
  116. package/dist/icons-path/Link.d.ts +0 -1
  117. package/dist/icons-path/ListItems.d.ts +0 -1
  118. package/dist/icons-path/Loading.d.ts +0 -1
  119. package/dist/icons-path/Minus.d.ts +0 -1
  120. package/dist/icons-path/MinusCircle.d.ts +0 -1
  121. package/dist/icons-path/MinusCircleSolid.d.ts +0 -1
  122. package/dist/icons-path/Mobile.d.ts +0 -1
  123. package/dist/icons-path/MoneyBill.d.ts +0 -1
  124. package/dist/icons-path/Move.d.ts +0 -1
  125. package/dist/icons-path/Nav.d.ts +0 -1
  126. package/dist/icons-path/Order.d.ts +0 -1
  127. package/dist/icons-path/Pagali.d.ts +0 -1
  128. package/dist/icons-path/PaperList.d.ts +0 -1
  129. package/dist/icons-path/PieChart.d.ts +0 -1
  130. package/dist/icons-path/Pix.d.ts +0 -1
  131. package/dist/icons-path/Plus.d.ts +0 -1
  132. package/dist/icons-path/PlusCircle.d.ts +0 -1
  133. package/dist/icons-path/Print.d.ts +0 -1
  134. package/dist/icons-path/Product.d.ts +0 -1
  135. package/dist/icons-path/QuestionCircle.d.ts +0 -1
  136. package/dist/icons-path/Reload.d.ts +0 -1
  137. package/dist/icons-path/Rocket.d.ts +0 -1
  138. package/dist/icons-path/Search.d.ts +0 -1
  139. package/dist/icons-path/ShoppingCart.d.ts +0 -1
  140. package/dist/icons-path/SortDown.d.ts +0 -1
  141. package/dist/icons-path/Store.d.ts +0 -1
  142. package/dist/icons-path/Sync.d.ts +0 -1
  143. package/dist/icons-path/ThinAngleRight.d.ts +0 -1
  144. package/dist/icons-path/TimesCircle.d.ts +0 -1
  145. package/dist/icons-path/Trash.d.ts +0 -1
  146. package/dist/icons-path/Trophy.d.ts +0 -1
  147. package/dist/icons-path/Truck.d.ts +0 -1
  148. package/dist/icons-path/Tv.d.ts +0 -1
  149. package/dist/icons-path/Upload.d.ts +0 -1
  150. package/dist/icons-path/UsdCircle.d.ts +0 -1
  151. package/dist/icons-path/User.d.ts +0 -1
  152. package/dist/icons-path/WhatsApp.d.ts +0 -1
  153. package/dist/icons-path/index.d.ts +0 -94
  154. package/dist/indicators/Alert/Alert.d.ts +0 -47
  155. package/dist/indicators/Badge/Badge.d.ts +0 -29
  156. package/dist/indicators/Tag/Tag.d.ts +0 -32
  157. package/dist/indicators/Tooltip/Tooltip.d.ts +0 -54
  158. package/dist/indicators/index.d.ts +0 -4
  159. package/dist/layout/ActionBar/ActionBar.d.ts +0 -15
  160. package/dist/layout/Box/Box.d.ts +0 -68
  161. package/dist/layout/Container/Container.d.ts +0 -15
  162. package/dist/layout/constants.d.ts +0 -4
  163. package/dist/layout/index.d.ts +0 -3
  164. package/dist/lib/utils.d.ts +0 -5
  165. package/dist/navigation/Breadcrumb/Breadcrumb.d.ts +0 -43
  166. package/dist/navigation/HelpLink/HelpLink.d.ts +0 -30
  167. package/dist/navigation/Stepper/Stepper.d.ts +0 -29
  168. package/dist/navigation/index.d.ts +0 -2
@@ -1 +1,44 @@
1
- export * from './Input';
1
+ import React__default from 'react';
2
+ import { InputHelpTextProps } from '../InputHelpText/index.js';
3
+ import { InputLabelProps } from '../InputLabel/index.js';
4
+ import 'react/jsx-runtime';
5
+
6
+ declare const Input: React__default.MemoExoticComponent<React__default.ForwardRefExoticComponent<InputProps & React__default.RefAttributes<HTMLInputElement>>>;
7
+ interface InputProps extends InputLabelProps, InputHelpTextProps, Omit<React__default.InputHTMLAttributes<HTMLInputElement>, 'prefix'> {
8
+ /**
9
+ * Input custom class name
10
+ * */
11
+ className?: string;
12
+ /**
13
+ * Form group custom class name
14
+ * */
15
+ formGroupClassName?: string;
16
+ /** Input size
17
+ * @default default
18
+ * */
19
+ variant?: 'default' | 'small' | 'large' | 'xlarge';
20
+ /**
21
+ * Error message to display
22
+ * */
23
+ errorMessage?: string;
24
+ /**
25
+ * Custom element to append at the start of input
26
+ * */
27
+ prefix?: React__default.ReactNode | string | null;
28
+ /**
29
+ * Custom element to append at the end of input
30
+ * */
31
+ sufix?: React__default.ReactNode | string | null;
32
+ /**
33
+ * Set visibility of input prefix border
34
+ * @default true
35
+ * */
36
+ prefixBorder?: boolean;
37
+ /**
38
+ * Set visibility of input sufix border
39
+ * @default true
40
+ * */
41
+ sufixBorder?: boolean;
42
+ }
43
+
44
+ export { Input, type InputProps };
@@ -1 +1,20 @@
1
- export * from './InputHelpText';
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import React__default from 'react';
3
+
4
+ declare const InputHelpText: React__default.MemoExoticComponent<({ className, helpText, hasError }: InputHelpTextProps) => react_jsx_runtime.JSX.Element | null>;
5
+ interface InputHelpTextProps {
6
+ /**
7
+ * Custom class name
8
+ * */
9
+ className?: string;
10
+ /**
11
+ * Help text
12
+ * */
13
+ helpText?: string;
14
+ /** Should render error state
15
+ * @default false
16
+ * */
17
+ hasError?: boolean;
18
+ }
19
+
20
+ export { InputHelpText, type InputHelpTextProps };
@@ -1 +1,32 @@
1
- export * from './InputLabel';
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import React__default from 'react';
3
+
4
+ declare const InputLabel: React__default.MemoExoticComponent<({ className, label, labelComplement, hasError, required, htmlFor }: InputLabelProps) => react_jsx_runtime.JSX.Element | null>;
5
+ interface InputLabelProps {
6
+ /**
7
+ * Custom class name
8
+ * */
9
+ className?: string;
10
+ /**
11
+ * Label title
12
+ * */
13
+ label?: string;
14
+ /**
15
+ * Complement to label title
16
+ * */
17
+ labelComplement?: string | React__default.ReactNode;
18
+ /** Should render error state
19
+ * @default false
20
+ * */
21
+ hasError?: boolean;
22
+ /** Input is required
23
+ * @default false
24
+ * */
25
+ required?: boolean;
26
+ /**
27
+ * Input this label is for
28
+ * */
29
+ htmlFor?: string;
30
+ }
31
+
32
+ export { InputLabel, type InputLabelProps };
@@ -1 +1,29 @@
1
- export * from './InputMask';
1
+ import React__default from 'react';
2
+ import { MaskedInputProps } from 'react-text-mask';
3
+ import { InputProps } from '../Input/index.js';
4
+ import '../InputHelpText/index.js';
5
+ import 'react/jsx-runtime';
6
+ import '../InputLabel/index.js';
7
+
8
+ interface IPatterns extends MaskedInputProps {
9
+ inputMode?: 'text' | 'decimal';
10
+ }
11
+ declare const formatValuePatterns: Record<string, IPatterns>;
12
+
13
+ declare const InputMask: React__default.ForwardRefExoticComponent<InputMaskProps & React__default.RefAttributes<HTMLInputElement>>;
14
+ interface InputMaskProps extends InputProps {
15
+ /**
16
+ * Predefined masks. When used, will replace passed `mask` attr
17
+ * @default 'onlyAlphanumeric'
18
+ * */
19
+ formatValue?: keyof typeof formatValuePatterns;
20
+ mask?: MaskedInputProps['mask'];
21
+ guide?: MaskedInputProps['guide'];
22
+ placeholderChar?: MaskedInputProps['placeholderChar'];
23
+ keepCharPositions?: MaskedInputProps['keepCharPositions'];
24
+ pipe?: MaskedInputProps['pipe'];
25
+ showMask?: MaskedInputProps['showMask'];
26
+ }
27
+ type InputMaskType = MaskedInputProps['mask'];
28
+
29
+ export { InputMask, type InputMaskProps, type InputMaskType, formatValuePatterns };
package/dist/index.css CHANGED
@@ -1 +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;}
1
+ .ReactModal__Overlay--after-open{opacity:1}.ReactModal__Overlay--before-close{opacity:0}.tippy-box{font-size:.75rem;letter-spacing:-.025em;line-height:1.063rem;position:relative;border-radius:.25rem;--tw-bg-opacity:1;background-color:rgb(var(--color-inverted-1) / var(--tw-bg-opacity));--tw-text-opacity:1;color:rgb(var(--color-base-1) / var(--tw-text-opacity));outline-width:0px;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.2s}.tippy-box[data-animation=fade][data-state=hidden]{opacity:0}.tippy-box [data-tippy-root]{max-width:calc(100vw - 10px)}.tippy-box[data-placement^=top]>.tippy-arrow{bottom:0}.tippy-box[data-placement^=top]>.tippy-arrow:before{bottom:-.5rem;left:0;border-width:8px 8px 0;border-top-color:initial;transform-origin:center top}.tippy-box[data-placement^=bottom]>.tippy-arrow{top:0}.tippy-box[data-placement^=bottom]>.tippy-arrow:before{top:-.5rem;left:0;border-width:0 8px 8px;border-bottom-color:initial;transform-origin:center bottom}.tippy-box[data-placement^=left]>.tippy-arrow{right:0}.tippy-box[data-placement^=left]>.tippy-arrow:before{right:-.5rem;border-width:8px 0 8px 8px;border-left-color:initial;transform-origin:center left}.tippy-box[data-placement^=right]>.tippy-arrow{left:0}.tippy-box[data-placement^=right]>.tippy-arrow:before{left:-.5rem;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{height:1rem;width:1rem;--tw-text-opacity:1;color:rgb(var(--color-inverted-1) / var(--tw-text-opacity))}.tippy-box .tippy-arrow:before{position:absolute;border-style:solid;border-color:transparent;content:""}.tippy-box .tippy-content{position:relative;z-index:1;padding:.75rem .5rem}
package/dist/index.d.ts CHANGED
@@ -1,5 +1,30 @@
1
- export * from './components';
2
- export * from './forms';
3
- export * from './indicators';
4
- export * from './layout';
5
- export * from './navigation';
1
+ export { Button, ButtonProps } from './components/Button/index.js';
2
+ export { DataTable, DataTableColumn, DataTableProps } from './components/DataTable/index.js';
3
+ export { Icon, IconProps } from './components/Icon/index.js';
4
+ export { IconCircular, IconCircularProps } from './components/IconCircular/index.js';
5
+ export { LoadingPlaceholder, LoadingPlaceholderProps } from './components/LoadingPlaceholder/index.js';
6
+ export { Modal, ModalProps } from './components/Modal/index.js';
7
+ export { SidebarFixed, SidebarFixedComponent, SidebarFixedProps } from './components/SidebarFixed/index.js';
8
+ export { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow } from './components/Table/index.js';
9
+ export { Tabs, TabsProps } from './components/Tabs/index.js';
10
+ export { Checkbox, CheckboxProps } from './forms/Checkbox/index.js';
11
+ export { Input, InputProps } from './forms/Input/index.js';
12
+ export { InputHelpText, InputHelpTextProps } from './forms/InputHelpText/index.js';
13
+ export { InputLabel, InputLabelProps } from './forms/InputLabel/index.js';
14
+ export { InputMask, InputMaskProps, InputMaskType, formatValuePatterns } from './forms/InputMask/index.js';
15
+ export { Alert, AlertProps } from './indicators/Alert/index.js';
16
+ export { Badge, BadgeProps } from './indicators/Badge/index.js';
17
+ export { Tag, TagProps } from './indicators/Tag/index.js';
18
+ export { Tooltip, TooltipProps } from './indicators/Tooltip/index.js';
19
+ export { ActionBar, ActionBarProps } from './layout/ActionBar/index.js';
20
+ export { Box, BoxContent, BoxContentProps, BoxHeader, BoxHeaderProps, BoxProps, BoxSeparator } from './layout/Box/index.js';
21
+ export { Container, ContainerHeader, ContainerProps } from './layout/Container/index.js';
22
+ export { Breadcrumb, BreadcrumbProps } from './navigation/Breadcrumb/index.js';
23
+ export { HelpLink, HelpLinkProps } from './navigation/HelpLink/index.js';
24
+ import 'class-variance-authority/types';
25
+ import 'class-variance-authority';
26
+ import 'react';
27
+ import 'react/jsx-runtime';
28
+ import '@tanstack/react-table';
29
+ import 'react-text-mask';
30
+ import '@tippyjs/react';
package/dist/index.js CHANGED
@@ -15,12 +15,12 @@ export { a as Tag } from './chunk-NHDLQM42.js';
15
15
  import './chunk-DIFKNF3L.js';
16
16
  export { a as IconCircular } from './chunk-BW2HQVCT.js';
17
17
  export { a as Button } from './chunk-YTHY4XI2.js';
18
- export { a as Tooltip } from './chunk-GWT7XT76.js';
18
+ export { a as Tooltip } from './chunk-TZI6YTCW.js';
19
19
  export { a as Breadcrumb } from './chunk-767NPRMO.js';
20
20
  export { a as HelpLink } from './chunk-N73XF5FY.js';
21
21
  export { a as DataTable } from './chunk-KEVA65S5.js';
22
22
  export { a as LoadingPlaceholder } from './chunk-LTHYFCE7.js';
23
- export { a as Modal } from './chunk-FLXTIRDF.js';
23
+ export { a as Modal } from './chunk-V3MWWR5B.js';
24
24
  export { b as SidebarFixed, a as SidebarFixedComponent } from './chunk-RGSYU4MA.js';
25
25
  import './chunk-LTWCICTK.js';
26
26
  export { a as Icon } from './chunk-RPTUERXQ.js';
@@ -1 +1,50 @@
1
- export * from './Alert';
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 +1,33 @@
1
- export * from './Badge';
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 +1 @@
1
- .ReactModal__Overlay--after-open{@apply opacity-100;}.ReactModal__Overlay--before-close{@apply opacity-0;}
1
+ .ReactModal__Overlay--after-open{opacity:1}.ReactModal__Overlay--before-close{opacity:0}
@@ -1 +1,36 @@
1
- export * from './Tag';
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
+ /** Adittional 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 };
@@ -4,7 +4,7 @@ import '../../chunk-BW2HQVCT.js';
4
4
  import '../../chunk-YTHY4XI2.js';
5
5
  import '../../chunk-KEVA65S5.js';
6
6
  import '../../chunk-LTHYFCE7.js';
7
- import '../../chunk-FLXTIRDF.js';
7
+ import '../../chunk-V3MWWR5B.js';
8
8
  import '../../chunk-RGSYU4MA.js';
9
9
  import '../../chunk-LTWCICTK.js';
10
10
  import '../../chunk-RPTUERXQ.js';
@@ -1 +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;}
1
+ .tippy-box{font-size:.75rem;letter-spacing:-.025em;line-height:1.063rem;position:relative;border-radius:.25rem;--tw-bg-opacity:1;background-color:rgb(var(--color-inverted-1) / var(--tw-bg-opacity));--tw-text-opacity:1;color:rgb(var(--color-base-1) / var(--tw-text-opacity));outline-width:0px;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.2s}.tippy-box[data-animation=fade][data-state=hidden]{opacity:0}.tippy-box [data-tippy-root]{max-width:calc(100vw - 10px)}.tippy-box[data-placement^=top]>.tippy-arrow{bottom:0}.tippy-box[data-placement^=top]>.tippy-arrow:before{bottom:-.5rem;left:0;border-width:8px 8px 0;border-top-color:initial;transform-origin:center top}.tippy-box[data-placement^=bottom]>.tippy-arrow{top:0}.tippy-box[data-placement^=bottom]>.tippy-arrow:before{top:-.5rem;left:0;border-width:0 8px 8px;border-bottom-color:initial;transform-origin:center bottom}.tippy-box[data-placement^=left]>.tippy-arrow{right:0}.tippy-box[data-placement^=left]>.tippy-arrow:before{right:-.5rem;border-width:8px 0 8px 8px;border-left-color:initial;transform-origin:center left}.tippy-box[data-placement^=right]>.tippy-arrow{left:0}.tippy-box[data-placement^=right]>.tippy-arrow:before{left:-.5rem;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{height:1rem;width:1rem;--tw-text-opacity:1;color:rgb(var(--color-inverted-1) / var(--tw-text-opacity))}.tippy-box .tippy-arrow:before{position:absolute;border-style:solid;border-color:transparent;content:""}.tippy-box .tippy-content{position:relative;z-index:1;padding:.75rem .5rem}
@@ -1 +1,57 @@
1
- export * from './Tooltip';
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 +1 @@
1
- export { a as Tooltip } from '../../chunk-GWT7XT76.js';
1
+ "use client";export { a as Tooltip } from '../../chunk-TZI6YTCW.js';
@@ -1 +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;}
1
+ .ReactModal__Overlay--after-open{opacity:1}.ReactModal__Overlay--before-close{opacity:0}.tippy-box{font-size:.75rem;letter-spacing:-.025em;line-height:1.063rem;position:relative;border-radius:.25rem;--tw-bg-opacity:1;background-color:rgb(var(--color-inverted-1) / var(--tw-bg-opacity));--tw-text-opacity:1;color:rgb(var(--color-base-1) / var(--tw-text-opacity));outline-width:0px;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.2s}.tippy-box[data-animation=fade][data-state=hidden]{opacity:0}.tippy-box [data-tippy-root]{max-width:calc(100vw - 10px)}.tippy-box[data-placement^=top]>.tippy-arrow{bottom:0}.tippy-box[data-placement^=top]>.tippy-arrow:before{bottom:-.5rem;left:0;border-width:8px 8px 0;border-top-color:initial;transform-origin:center top}.tippy-box[data-placement^=bottom]>.tippy-arrow{top:0}.tippy-box[data-placement^=bottom]>.tippy-arrow:before{top:-.5rem;left:0;border-width:0 8px 8px;border-bottom-color:initial;transform-origin:center bottom}.tippy-box[data-placement^=left]>.tippy-arrow{right:0}.tippy-box[data-placement^=left]>.tippy-arrow:before{right:-.5rem;border-width:8px 0 8px 8px;border-left-color:initial;transform-origin:center left}.tippy-box[data-placement^=right]>.tippy-arrow{left:0}.tippy-box[data-placement^=right]>.tippy-arrow:before{left:-.5rem;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{height:1rem;width:1rem;--tw-text-opacity:1;color:rgb(var(--color-inverted-1) / var(--tw-text-opacity))}.tippy-box .tippy-arrow:before{position:absolute;border-style:solid;border-color:transparent;content:""}.tippy-box .tippy-content{position:relative;z-index:1;padding:.75rem .5rem}
@@ -5,10 +5,10 @@ export { a as Tag } from '../chunk-NHDLQM42.js';
5
5
  import '../chunk-DIFKNF3L.js';
6
6
  import '../chunk-BW2HQVCT.js';
7
7
  import '../chunk-YTHY4XI2.js';
8
- export { a as Tooltip } from '../chunk-GWT7XT76.js';
8
+ export { a as Tooltip } from '../chunk-TZI6YTCW.js';
9
9
  import '../chunk-KEVA65S5.js';
10
10
  import '../chunk-LTHYFCE7.js';
11
- import '../chunk-FLXTIRDF.js';
11
+ import '../chunk-V3MWWR5B.js';
12
12
  import '../chunk-RGSYU4MA.js';
13
13
  import '../chunk-LTWCICTK.js';
14
14
  import '../chunk-RPTUERXQ.js';
@@ -1 +1,21 @@
1
- export * from './ActionBar';
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 +1,71 @@
1
- export * from './Box';
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 +1,18 @@
1
- export * from './Container';
1
+ import * as React$1 from 'react';
2
+
3
+ declare const Container: React$1.MemoExoticComponent<({ children, expanded, className }: ContainerProps) => JSX.Element>;
4
+ declare const ContainerHeader: React$1.MemoExoticComponent<({ children, className }: ContainerProps) => JSX.Element>;
5
+ interface ContainerProps {
6
+ /**
7
+ * Container expanded
8
+ * @default false
9
+ */
10
+ expanded?: boolean;
11
+ /**
12
+ * Custom class name
13
+ */
14
+ className?: string;
15
+ children?: React.ReactNode;
16
+ }
17
+
18
+ export { Container, ContainerHeader, type ContainerProps };
@@ -1 +1,45 @@
1
- export * from './Breadcrumb';
1
+ import React__default from 'react';
2
+ import { HelpLinkProps } from '../HelpLink/index.js';
3
+
4
+ declare const Breadcrumb: React__default.FC<BreadcrumbProps>;
5
+ interface BreadcrumbProps {
6
+ /**
7
+ * Custom class name
8
+ * */
9
+ className?: string;
10
+ /**
11
+ * Current page title
12
+ * */
13
+ currentTitle: string | React__default.ReactNode;
14
+ /**
15
+ * Previous page title
16
+ * */
17
+ previousTitle?: string | React__default.ReactNode;
18
+ /**
19
+ * Previous page href
20
+ * */
21
+ previousHref?: string;
22
+ /**
23
+ * Custom link component (replace <a>)
24
+ * Example: `const Link = (props: any) => { return <a href="https://www.google.com" target="_blank" className={`underline ` + props.className}>{props.children}</a> }`
25
+ * */
26
+ Link?: React__default.ElementType;
27
+ /** Alignment of `currentTitle` at mobile
28
+ * @default 'left'
29
+ * */
30
+ mobileAlign?: 'left' | 'center';
31
+ /**
32
+ * Help link
33
+ * */
34
+ helpLink?: HelpLinkProps;
35
+ /**
36
+ * Custom actions and buttons
37
+ * */
38
+ actions?: React__default.ReactNode;
39
+ /** Should show actions only at one resolution or always
40
+ * @default 'both'
41
+ * */
42
+ actionsDisplay?: 'desktop' | 'mobile' | 'both';
43
+ }
44
+
45
+ export { Breadcrumb, type BreadcrumbProps };
@@ -1 +1,32 @@
1
- export * from './HelpLink';
1
+ import React__default from 'react';
2
+
3
+ declare const HelpLink: React__default.FC<HelpLinkProps>;
4
+ interface HelpLinkProps {
5
+ /**
6
+ * Custom class name
7
+ * */
8
+ className?: string;
9
+ /**
10
+ * Text to be displayed
11
+ * */
12
+ text?: string;
13
+ /**
14
+ * Text will appear on mobile or not
15
+ * @default false
16
+ * */
17
+ mobileText?: boolean;
18
+ /**
19
+ * Component behavior as hyper link or button
20
+ * */
21
+ as?: 'hyperLink' | 'button';
22
+ /**
23
+ * Href to the link where component redirects
24
+ * */
25
+ href?: string;
26
+ /**
27
+ * Button action when clicked
28
+ * */
29
+ onClick?: React__default.MouseEventHandler<HTMLButtonElement>;
30
+ }
31
+
32
+ export { HelpLink, type HelpLinkProps };