@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.
- package/README.md +17 -0
- package/dist/chunk-22FGINA5.js +9 -0
- package/dist/chunk-24UC33BJ.js +8 -0
- package/dist/chunk-2H2JX2FG.js +5 -0
- package/dist/chunk-3OHDGUPG.js +7 -0
- package/dist/chunk-63ACUGSG.js +7 -0
- package/dist/chunk-767NPRMO.js +10 -0
- package/dist/chunk-AZI2H7OT.js +9 -0
- package/dist/chunk-BW2HQVCT.js +7 -0
- package/dist/chunk-DBWOW4GL.js +1 -0
- package/dist/chunk-DIFKNF3L.js +1 -0
- package/dist/chunk-FLXTIRDF.js +10 -0
- package/dist/chunk-GWT7XT76.js +7 -0
- package/dist/chunk-IA7GSQNX.js +1 -0
- package/dist/chunk-IPSRY3RR.js +9 -0
- package/dist/chunk-K5XL557B.js +9 -0
- package/dist/chunk-KEVA65S5.js +10 -0
- package/dist/chunk-L6H2NDVS.js +3 -0
- package/dist/chunk-LJS4TVL3.js +10 -0
- package/dist/chunk-LTHYFCE7.js +7 -0
- package/dist/chunk-N73XF5FY.js +10 -0
- package/dist/chunk-NHDLQM42.js +10 -0
- package/dist/chunk-QNBPXACD.js +8 -0
- package/dist/chunk-RGSYU4MA.js +7 -0
- package/dist/chunk-RL2XPX57.js +7 -0
- package/dist/chunk-RPTUERXQ.js +8 -0
- package/dist/chunk-WEYSRHTX.js +6 -0
- package/dist/chunk-WEZVMEBK.js +7 -0
- package/dist/chunk-YDYMRCXH.js +8 -0
- package/dist/chunk-YTHY4XI2.js +9 -0
- package/dist/components/Button/Button.d.ts +3 -7
- package/dist/components/Button/index.d.ts +1 -6
- package/dist/components/Button/index.js +4 -3
- package/dist/components/DataTable/DataTable.d.ts +74 -0
- package/dist/components/DataTable/index.d.ts +1 -0
- package/dist/components/DataTable/index.js +6 -0
- package/dist/components/Icon/Icon.d.ts +1 -98
- package/dist/components/Icon/index.d.ts +1 -3
- package/dist/components/Icon/index.js +3 -1
- package/dist/components/IconCircular/IconCircular.d.ts +4 -7
- package/dist/components/IconCircular/index.d.ts +1 -4
- package/dist/components/IconCircular/index.js +4 -3
- package/dist/components/LoadingPlaceholder/LoadingPlaceholder.d.ts +9 -0
- package/dist/components/LoadingPlaceholder/index.d.ts +1 -0
- package/dist/components/LoadingPlaceholder/index.js +2 -0
- package/dist/components/Modal/Modal.d.ts +54 -0
- package/dist/components/Modal/index.css +1 -0
- package/dist/components/Modal/index.d.ts +1 -0
- package/dist/components/Modal/index.js +5 -0
- package/dist/components/SidebarFixed/SidebarFixed.d.ts +34 -0
- package/dist/components/SidebarFixed/index.d.ts +1 -0
- package/dist/components/SidebarFixed/index.js +5 -0
- package/dist/components/Table/Table.d.ts +10 -0
- package/dist/components/Table/index.d.ts +1 -0
- package/dist/components/Table/index.js +2 -0
- package/dist/components/Tabs/Tabs.d.ts +21 -0
- package/dist/components/Tabs/TabsItem.d.ts +34 -0
- package/dist/components/Tabs/index.d.ts +1 -0
- package/dist/components/Tabs/index.js +2 -0
- package/dist/components/index.css +1 -0
- package/dist/components/index.d.ts +9 -0
- package/dist/components/index.js +15 -0
- package/dist/forms/Checkbox/Checkbox.d.ts +28 -0
- package/dist/forms/Checkbox/index.d.ts +1 -0
- package/dist/forms/Checkbox/index.js +3 -0
- package/dist/forms/Input/Input.d.ts +41 -0
- package/dist/forms/Input/index.d.ts +1 -0
- package/dist/forms/Input/index.js +4 -0
- package/dist/forms/InputHelpText/InputHelpText.d.ts +17 -0
- package/dist/forms/InputHelpText/index.d.ts +1 -0
- package/dist/forms/InputHelpText/index.js +2 -0
- package/dist/forms/InputLabel/InputLabel.d.ts +29 -0
- package/dist/forms/InputLabel/index.d.ts +1 -0
- package/dist/forms/InputLabel/index.js +2 -0
- package/dist/forms/InputMask/InputMask.d.ts +20 -0
- package/dist/forms/InputMask/index.d.ts +1 -0
- package/dist/forms/InputMask/index.js +5 -0
- package/dist/forms/InputMask/maskDate.d.ts +7 -0
- package/dist/forms/InputMask/utils.d.ts +6 -0
- package/dist/forms/index.d.ts +5 -0
- package/dist/forms/index.js +7 -0
- package/dist/icons-path/Adjust.d.ts +1 -0
- package/dist/icons-path/AngleDiagonal.d.ts +1 -0
- package/dist/icons-path/AngleDown.d.ts +1 -0
- package/dist/icons-path/AngleHeight.d.ts +1 -0
- package/dist/icons-path/AngleLeft.d.ts +1 -0
- package/dist/icons-path/AngleRight.d.ts +1 -0
- package/dist/icons-path/AngleWidth.d.ts +1 -0
- package/dist/icons-path/App.d.ts +1 -0
- package/dist/icons-path/Arrow.d.ts +1 -0
- package/dist/icons-path/ArrowLeft.d.ts +1 -0
- package/dist/icons-path/ArrowRight.d.ts +1 -0
- package/dist/icons-path/Back.d.ts +1 -0
- package/dist/icons-path/Ban.d.ts +1 -0
- package/dist/icons-path/BarcodeRead.d.ts +1 -0
- package/dist/icons-path/Bell.d.ts +1 -0
- package/dist/icons-path/Blog.d.ts +1 -0
- package/dist/icons-path/Bullhorn.d.ts +1 -0
- package/dist/icons-path/Calculator.d.ts +1 -0
- package/dist/icons-path/CalendarAlt.d.ts +1 -0
- package/dist/icons-path/Camera.d.ts +1 -0
- package/dist/icons-path/Check.d.ts +1 -0
- package/dist/icons-path/CheckCircle.d.ts +1 -0
- package/dist/icons-path/Clock.d.ts +1 -0
- package/dist/icons-path/Clockwise.d.ts +1 -0
- package/dist/icons-path/Close.d.ts +1 -0
- package/dist/icons-path/Cog.d.ts +1 -0
- package/dist/icons-path/Copy.d.ts +1 -0
- package/dist/icons-path/CreditCard.d.ts +1 -0
- package/dist/icons-path/DashedCircle.d.ts +1 -0
- package/dist/icons-path/DefaultCursor.d.ts +1 -0
- package/dist/icons-path/Desktop.d.ts +1 -0
- package/dist/icons-path/Discount.d.ts +1 -0
- package/dist/icons-path/DotsThree.d.ts +1 -0
- package/dist/icons-path/Download.d.ts +1 -0
- package/dist/icons-path/Edit.d.ts +1 -0
- package/dist/icons-path/Envelope.d.ts +1 -0
- package/dist/icons-path/Exchange.d.ts +1 -0
- package/dist/icons-path/ExchangeY.d.ts +1 -0
- package/dist/icons-path/Exclamation.d.ts +1 -0
- package/dist/icons-path/ExclamationCircle.d.ts +1 -0
- package/dist/icons-path/ExclamationTriangle.d.ts +1 -0
- package/dist/icons-path/ExternalLink.d.ts +1 -0
- package/dist/icons-path/Eye.d.ts +1 -0
- package/dist/icons-path/EyeSlash.d.ts +1 -0
- package/dist/icons-path/Filter.d.ts +1 -0
- package/dist/icons-path/HalfBack.d.ts +1 -0
- package/dist/icons-path/Hashtag.d.ts +1 -0
- package/dist/icons-path/Home.d.ts +1 -0
- package/dist/icons-path/IconSolidEnviali.d.ts +1 -0
- package/dist/icons-path/IconSolidLI.d.ts +1 -0
- package/dist/icons-path/IdentificationBadge.d.ts +1 -0
- package/dist/icons-path/Image.d.ts +1 -0
- package/dist/icons-path/InfoCircle.d.ts +1 -0
- package/dist/icons-path/Lightbulb.d.ts +1 -0
- package/dist/icons-path/Link.d.ts +1 -0
- package/dist/icons-path/ListItems.d.ts +1 -0
- package/dist/icons-path/Loading.d.ts +1 -0
- package/dist/icons-path/Minus.d.ts +1 -0
- package/dist/icons-path/MinusCircle.d.ts +1 -0
- package/dist/icons-path/MinusCircleSolid.d.ts +1 -0
- package/dist/icons-path/Mobile.d.ts +1 -0
- package/dist/icons-path/MoneyBill.d.ts +1 -0
- package/dist/icons-path/Move.d.ts +1 -0
- package/dist/icons-path/Nav.d.ts +1 -0
- package/dist/icons-path/Order.d.ts +1 -0
- package/dist/icons-path/Pagali.d.ts +1 -0
- package/dist/icons-path/PaperList.d.ts +1 -0
- package/dist/icons-path/PieChart.d.ts +1 -0
- package/dist/icons-path/Pix.d.ts +1 -0
- package/dist/icons-path/Plus.d.ts +1 -0
- package/dist/icons-path/PlusCircle.d.ts +1 -0
- package/dist/icons-path/Print.d.ts +1 -0
- package/dist/icons-path/Product.d.ts +1 -0
- package/dist/icons-path/QuestionCircle.d.ts +1 -0
- package/dist/icons-path/Reload.d.ts +1 -0
- package/dist/icons-path/Rocket.d.ts +1 -0
- package/dist/icons-path/Search.d.ts +1 -0
- package/dist/icons-path/ShoppingCart.d.ts +1 -0
- package/dist/icons-path/SortDown.d.ts +1 -0
- package/dist/icons-path/Store.d.ts +1 -0
- package/dist/icons-path/Sync.d.ts +1 -0
- package/dist/icons-path/ThinAngleRight.d.ts +1 -0
- package/dist/icons-path/TimesCircle.d.ts +1 -0
- package/dist/icons-path/Trash.d.ts +1 -0
- package/dist/icons-path/Trophy.d.ts +1 -0
- package/dist/icons-path/Truck.d.ts +1 -0
- package/dist/icons-path/Tv.d.ts +1 -0
- package/dist/icons-path/Upload.d.ts +1 -0
- package/dist/icons-path/UsdCircle.d.ts +1 -0
- package/dist/icons-path/User.d.ts +1 -0
- package/dist/icons-path/WhatsApp.d.ts +1 -0
- package/dist/icons-path/index.d.ts +94 -0
- package/dist/icons-path/index.js +1 -0
- package/dist/index.css +1 -0
- package/dist/index.d.ts +5 -7
- package/dist/index.js +31 -5
- package/dist/indicators/Alert/Alert.d.ts +47 -0
- package/dist/indicators/Alert/index.d.ts +1 -0
- package/dist/indicators/Alert/index.js +5 -0
- package/dist/indicators/Badge/Badge.d.ts +29 -0
- package/dist/indicators/Badge/index.d.ts +1 -0
- package/dist/indicators/Badge/index.js +2 -0
- package/dist/indicators/Tag/Tag.d.ts +32 -0
- package/dist/indicators/Tag/index.css +1 -0
- package/dist/indicators/Tag/index.d.ts +1 -0
- package/dist/indicators/Tag/index.js +16 -0
- package/dist/indicators/Tooltip/Tooltip.d.ts +54 -0
- package/dist/indicators/Tooltip/index.css +1 -0
- package/dist/indicators/Tooltip/index.d.ts +1 -0
- package/dist/indicators/Tooltip/index.js +1 -0
- package/dist/indicators/index.css +1 -0
- package/dist/indicators/index.d.ts +4 -0
- package/dist/indicators/index.js +20 -0
- package/dist/layout/ActionBar/ActionBar.d.ts +15 -0
- package/dist/layout/ActionBar/index.d.ts +1 -0
- package/dist/layout/ActionBar/index.js +7 -0
- package/dist/layout/Box/Box.d.ts +68 -0
- package/dist/layout/Box/index.d.ts +1 -0
- package/dist/layout/Box/index.js +4 -0
- package/dist/layout/Container/Container.d.ts +15 -0
- package/dist/layout/Container/index.d.ts +1 -0
- package/dist/layout/Container/index.js +3 -0
- package/dist/layout/constants.d.ts +4 -0
- package/dist/layout/index.d.ts +3 -0
- package/dist/layout/index.js +10 -0
- package/dist/lib/utils.d.ts +5 -0
- package/dist/navigation/Breadcrumb/Breadcrumb.d.ts +43 -0
- package/dist/navigation/Breadcrumb/index.d.ts +1 -0
- package/dist/navigation/Breadcrumb/index.js +6 -0
- package/dist/navigation/HelpLink/HelpLink.d.ts +30 -0
- package/dist/navigation/HelpLink/index.d.ts +1 -0
- package/dist/navigation/HelpLink/index.js +5 -0
- package/dist/navigation/Stepper/Stepper.d.ts +29 -0
- package/dist/navigation/Stepper/index.d.ts +1 -0
- package/dist/navigation/Stepper/index.js +7 -0
- package/dist/navigation/index.d.ts +2 -0
- package/dist/navigation/index.js +7 -0
- package/package.json +114 -20
- package/dist/chunk-7RSXJRXE.js +0 -7
- package/dist/chunk-YV57ZIX5.js +0 -7
- package/dist/chunk-YXT4UVSS.js +0 -6
- package/dist/components/Button/Button.js +0 -3
- package/dist/components/Icon/Icon.js +0 -1
- package/dist/components/IconCircular/IconCircular.js +0 -3
- /package/dist/{chunk-AYBQ5B4L.js → chunk-27G6ETZK.js} +0 -0
- /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,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,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 "<Tabs />" 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,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,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,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,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,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';
|