@loja-integrada/admin-components 1.0.3 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunk-247X5S6H.js +9 -0
- package/dist/{chunk-WEZVMEBK.js → chunk-2VQ6QMMA.js} +1 -1
- package/dist/{chunk-LSC6FNBR.js → chunk-4ZMWAFI4.js} +1 -1
- package/dist/{chunk-WEYSRHTX.js → chunk-AGCI6C3Z.js} +1 -1
- package/dist/{chunk-3OHDGUPG.js → chunk-BW4TJLAD.js} +1 -1
- package/dist/{chunk-LJS4TVL3.js → chunk-DJEPTLO4.js} +3 -3
- package/dist/chunk-EIDA43LS.js +10 -0
- package/dist/{chunk-N73XF5FY.js → chunk-F5NKGXHQ.js} +2 -2
- package/dist/{chunk-BQW67FSK.js → chunk-FCIMHESM.js} +3 -3
- package/dist/{chunk-PTCZDH6A.js → chunk-GIEOWRRK.js} +1 -1
- package/dist/{chunk-YTHY4XI2.js → chunk-I32MZTHH.js} +2 -2
- package/dist/{chunk-SFPIOMYQ.js → chunk-J62DBIT2.js} +1 -1
- package/dist/{chunk-243NQZV5.js → chunk-KSYF7CFG.js} +2 -2
- package/dist/{chunk-LZI7QZWG.js → chunk-NNACMTUZ.js} +3 -3
- package/dist/{chunk-NXHQNIK2.js → chunk-NRAIF4I3.js} +1 -1
- package/dist/{chunk-24UC33BJ.js → chunk-NXRYURC6.js} +1 -1
- package/dist/{chunk-K5XL557B.js → chunk-OHKM27GJ.js} +2 -2
- package/dist/{chunk-RPTUERXQ.js → chunk-PFWHNMTS.js} +2 -2
- package/dist/{chunk-26ZK5M43.js → chunk-QMQU7H7Y.js} +2 -2
- package/dist/{chunk-RL2XPX57.js → chunk-TJKZQP6P.js} +1 -1
- package/dist/{chunk-BW2HQVCT.js → chunk-TMUYSF5D.js} +1 -1
- package/dist/{chunk-4BVRONPO.js → chunk-UO2TARVR.js} +1 -1
- package/dist/{chunk-ZYY5DINE.js → chunk-V2LJZCNN.js} +2 -2
- package/dist/{chunk-LTHYFCE7.js → chunk-VFFDRP2O.js} +1 -1
- package/dist/{chunk-2H2JX2FG.js → chunk-WTH3TAIX.js} +2 -2
- package/dist/{chunk-AHEXEKOY.js → chunk-XIVJ37WE.js} +2 -2
- package/dist/{chunk-767NPRMO.js → chunk-YFQE7XRR.js} +3 -3
- package/dist/components/Button/Button.d.ts +48 -0
- package/dist/components/Button/index.d.ts +1 -52
- package/dist/components/Button/index.js +4 -4
- package/dist/components/DataTable/DataTable.client.d.ts +74 -0
- package/dist/components/DataTable/index.d.ts +1 -77
- package/dist/components/DataTable/index.js +6 -6
- package/dist/components/Icon/Icon.d.ts +30 -0
- package/dist/components/Icon/index.d.ts +1 -127
- package/dist/components/Icon/index.js +3 -3
- package/dist/components/IconCircular/IconCircular.d.ts +19 -0
- package/dist/components/IconCircular/index.d.ts +1 -22
- package/dist/components/IconCircular/index.js +4 -4
- package/dist/components/LoadingPlaceholder/LoadingPlaceholder.d.ts +9 -0
- package/dist/components/LoadingPlaceholder/index.d.ts +1 -12
- package/dist/components/LoadingPlaceholder/index.js +2 -2
- package/dist/components/Modal/Modal.client.d.ts +54 -0
- package/dist/components/Modal/index.d.ts +1 -56
- package/dist/components/Modal/index.js +4 -4
- package/dist/components/SidebarFixed/SidebarFixed.client.d.ts +33 -0
- package/dist/components/SidebarFixed/index.d.ts +1 -35
- package/dist/components/SidebarFixed/index.js +4 -4
- package/dist/components/Table/Table.d.ts +10 -0
- package/dist/components/Table/index.d.ts +1 -12
- package/dist/components/Table/index.js +2 -2
- package/dist/components/Tabs/Tabs.client.d.ts +21 -0
- package/dist/components/Tabs/TabsItem.d.ts +34 -0
- package/dist/components/Tabs/index.d.ts +1 -47
- package/dist/components/Tabs/index.js +2 -2
- package/dist/components/index.d.ts +9 -0
- package/dist/components/index.js +13 -13
- package/dist/forms/Checkbox/Checkbox.client.d.ts +28 -0
- package/dist/forms/Checkbox/index.d.ts +1 -31
- package/dist/forms/Checkbox/index.js +3 -3
- package/dist/forms/Input/Input.d.ts +41 -0
- package/dist/forms/Input/index.d.ts +1 -44
- package/dist/forms/Input/index.js +4 -4
- package/dist/forms/InputHelpText/InputHelpText.d.ts +17 -0
- package/dist/forms/InputHelpText/index.d.ts +1 -20
- package/dist/forms/InputHelpText/index.js +2 -2
- package/dist/forms/InputLabel/InputLabel.d.ts +29 -0
- package/dist/forms/InputLabel/index.d.ts +1 -32
- package/dist/forms/InputLabel/index.js +2 -2
- package/dist/forms/InputMask/InputMask.client.d.ts +20 -0
- package/dist/forms/InputMask/index.d.ts +1 -29
- package/dist/forms/InputMask/index.js +5 -5
- package/dist/forms/InputMask/maskDate.d.ts +7 -0
- package/dist/forms/InputMask/utils.d.ts +6 -0
- package/dist/forms/Select/Select.d.ts +35 -0
- package/dist/forms/Select/index.d.ts +1 -0
- package/dist/forms/Select/index.js +4 -0
- package/dist/forms/index.d.ts +6 -0
- package/dist/forms/index.js +8 -7
- 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/Lock.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/Share.d.ts +1 -0
- package/dist/icons-path/ShoppingBag.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/Table.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 +98 -0
- package/dist/icons-path/index.js +1 -1
- package/dist/index.d.ts +5 -31
- package/dist/index.js +31 -29
- package/dist/indicators/Alert/Alert.client.d.ts +47 -0
- package/dist/indicators/Alert/index.d.ts +1 -50
- package/dist/indicators/Alert/index.js +4 -4
- package/dist/indicators/Badge/Badge.d.ts +30 -0
- package/dist/indicators/Badge/index.d.ts +1 -33
- package/dist/indicators/Badge/index.js +2 -2
- package/dist/indicators/Tag/Tag.d.ts +32 -0
- package/dist/indicators/Tag/index.d.ts +1 -36
- package/dist/indicators/Tag/index.js +5 -5
- package/dist/indicators/Toast/Toast.client.d.ts +9 -0
- package/dist/indicators/Toast/index.css +1 -0
- package/dist/indicators/Toast/index.d.ts +1 -0
- package/dist/indicators/Toast/index.js +12 -0
- package/dist/indicators/Tooltip/Tooltip.client.d.ts +54 -0
- package/dist/indicators/Tooltip/index.d.ts +1 -57
- package/dist/indicators/index.d.ts +4 -0
- package/dist/indicators/index.js +7 -7
- package/dist/layout/ActionBar/ActionBar.client.d.ts +15 -0
- package/dist/layout/ActionBar/index.d.ts +1 -21
- package/dist/layout/ActionBar/index.js +5 -5
- package/dist/layout/Box/Box.d.ts +68 -0
- package/dist/layout/Box/index.d.ts +1 -71
- package/dist/layout/Box/index.js +4 -4
- package/dist/layout/Container/Container.d.ts +15 -0
- package/dist/layout/Container/index.d.ts +1 -18
- package/dist/layout/Container/index.js +2 -2
- package/dist/layout/constants.d.ts +4 -0
- package/dist/layout/index.d.ts +3 -0
- package/dist/layout/index.js +7 -7
- package/dist/lib/utils.d.ts +5 -0
- package/dist/lib/utils.js +1 -0
- package/dist/navigation/Breadcrumb/Breadcrumb.d.ts +43 -0
- package/dist/navigation/Breadcrumb/index.d.ts +1 -45
- package/dist/navigation/Breadcrumb/index.js +5 -5
- package/dist/navigation/HelpLink/HelpLink.d.ts +30 -0
- package/dist/navigation/HelpLink/index.d.ts +1 -32
- package/dist/navigation/HelpLink/index.js +4 -4
- package/dist/navigation/Pagination/Pagination.client.d.ts +11 -0
- package/dist/navigation/Pagination/PaginationInfo.d.ts +24 -0
- package/dist/navigation/Pagination/PaginationNav.d.ts +17 -0
- package/dist/navigation/Pagination/index.d.ts +1 -0
- package/dist/navigation/Pagination/index.js +8 -0
- package/dist/navigation/Stepper/Stepper.client.d.ts +29 -0
- package/dist/navigation/Stepper/index.d.ts +1 -31
- package/dist/navigation/Stepper/index.js +2 -2
- package/dist/navigation/index.d.ts +4 -0
- package/dist/navigation/index.js +11 -7
- package/package.json +16 -1
- /package/dist/{chunk-IA7GSQNX.js → chunk-4PUGMMDC.js} +0 -0
- /package/dist/{chunk-KOVXAJCN.js → chunk-66GVVFKI.js} +0 -0
|
@@ -1,35 +1 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
declare const SidebarFixed: React__default.NamedExoticComponent<SidebarFixedProps>;
|
|
4
|
-
interface SidebarFixedProps {
|
|
5
|
-
/**
|
|
6
|
-
* React children
|
|
7
|
-
*/
|
|
8
|
-
children?: React__default.ReactNode;
|
|
9
|
-
/**
|
|
10
|
-
* Bottom actions
|
|
11
|
-
*/
|
|
12
|
-
footerActions?: React__default.ReactNode;
|
|
13
|
-
/** Sidebar is open
|
|
14
|
-
* @default false
|
|
15
|
-
*/
|
|
16
|
-
isOpen?: boolean;
|
|
17
|
-
/**
|
|
18
|
-
* Call when sidebar is closed
|
|
19
|
-
* */
|
|
20
|
-
onClose?: () => void;
|
|
21
|
-
/**
|
|
22
|
-
* Title displayed in header
|
|
23
|
-
*/
|
|
24
|
-
title?: string;
|
|
25
|
-
/**
|
|
26
|
-
* Help external link
|
|
27
|
-
*/
|
|
28
|
-
helpLink?: string;
|
|
29
|
-
/** The parent element that the sidebar will be attached to
|
|
30
|
-
* @default 'document.body'
|
|
31
|
-
*/
|
|
32
|
-
parentSelector?: HTMLElement | null;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
export { SidebarFixed, type SidebarFixedProps };
|
|
1
|
+
export * from './SidebarFixed.client';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
"use client";export { a as SidebarFixed } from '../../chunk-
|
|
1
|
+
"use client";export { a as SidebarFixed } from '../../chunk-4ZMWAFI4.js';
|
|
2
2
|
import '../../chunk-LTWCICTK.js';
|
|
3
|
-
import '../../chunk-
|
|
4
|
-
import '../../chunk-
|
|
5
|
-
import '../../chunk-
|
|
3
|
+
import '../../chunk-PFWHNMTS.js';
|
|
4
|
+
import '../../chunk-WTH3TAIX.js';
|
|
5
|
+
import '../../chunk-AGCI6C3Z.js';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
declare const Table: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableElement> & React.RefAttributes<HTMLTableElement>>;
|
|
3
|
+
declare const TableHeader: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableSectionElement> & React.RefAttributes<HTMLTableSectionElement>>;
|
|
4
|
+
declare const TableHead: React.ForwardRefExoticComponent<React.ThHTMLAttributes<HTMLTableCellElement> & React.RefAttributes<HTMLTableCellElement>>;
|
|
5
|
+
declare const TableBody: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableSectionElement> & React.RefAttributes<HTMLTableSectionElement>>;
|
|
6
|
+
declare const TableFooter: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableSectionElement> & React.RefAttributes<HTMLTableSectionElement>>;
|
|
7
|
+
declare const TableRow: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableRowElement> & React.RefAttributes<HTMLTableRowElement>>;
|
|
8
|
+
declare const TableCell: React.ForwardRefExoticComponent<React.TdHTMLAttributes<HTMLTableCellElement> & React.RefAttributes<HTMLTableCellElement>>;
|
|
9
|
+
declare const TableCaption: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableCaptionElement> & React.RefAttributes<HTMLTableCaptionElement>>;
|
|
10
|
+
export { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow };
|
|
@@ -1,12 +1 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
declare const Table: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableElement> & React.RefAttributes<HTMLTableElement>>;
|
|
4
|
-
declare const TableHeader: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableSectionElement> & React.RefAttributes<HTMLTableSectionElement>>;
|
|
5
|
-
declare const TableHead: React.ForwardRefExoticComponent<React.ThHTMLAttributes<HTMLTableCellElement> & React.RefAttributes<HTMLTableCellElement>>;
|
|
6
|
-
declare const TableBody: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableSectionElement> & React.RefAttributes<HTMLTableSectionElement>>;
|
|
7
|
-
declare const TableFooter: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableSectionElement> & React.RefAttributes<HTMLTableSectionElement>>;
|
|
8
|
-
declare const TableRow: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableRowElement> & React.RefAttributes<HTMLTableRowElement>>;
|
|
9
|
-
declare const TableCell: React.ForwardRefExoticComponent<React.TdHTMLAttributes<HTMLTableCellElement> & React.RefAttributes<HTMLTableCellElement>>;
|
|
10
|
-
declare const TableCaption: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableCaptionElement> & React.RefAttributes<HTMLTableCaptionElement>>;
|
|
11
|
-
|
|
12
|
-
export { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow };
|
|
1
|
+
export * from './Table';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { a as Table, d as TableBody, h as TableCaption, g as TableCell, e as TableFooter, c as TableHead, b as TableHeader, f as TableRow } from '../../chunk-
|
|
2
|
-
import '../../chunk-
|
|
1
|
+
export { a as Table, d as TableBody, h as TableCaption, g as TableCell, e as TableFooter, c as TableHead, b as TableHeader, f as TableRow } from '../../chunk-TJKZQP6P.js';
|
|
2
|
+
import '../../chunk-AGCI6C3Z.js';
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { TabsItemInterface } from './TabsItem';
|
|
2
|
+
declare const Tabs: import("react").MemoExoticComponent<({ className, items, activeItem, onChange }: TabsProps) => import("react/jsx-runtime").JSX.Element | null>;
|
|
3
|
+
interface TabsProps {
|
|
4
|
+
/**
|
|
5
|
+
* Custom class name
|
|
6
|
+
* */
|
|
7
|
+
className?: string;
|
|
8
|
+
/**
|
|
9
|
+
* ID of the active item
|
|
10
|
+
*/
|
|
11
|
+
activeItem?: string;
|
|
12
|
+
/**
|
|
13
|
+
* Tab item
|
|
14
|
+
*/
|
|
15
|
+
items?: TabsItemInterface[];
|
|
16
|
+
/**
|
|
17
|
+
* Callback handle when selected item change
|
|
18
|
+
* */
|
|
19
|
+
onChange?: (activeTabId: string) => void;
|
|
20
|
+
}
|
|
21
|
+
export { Tabs, type TabsProps };
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
interface TabsItemProps extends TabsItemInterface {
|
|
2
|
+
/**
|
|
3
|
+
* Item is active
|
|
4
|
+
*/
|
|
5
|
+
active?: boolean;
|
|
6
|
+
/**
|
|
7
|
+
* Call on tab change
|
|
8
|
+
*/
|
|
9
|
+
onChange: (arg0: string) => void;
|
|
10
|
+
}
|
|
11
|
+
declare const TabsItem: import("react").MemoExoticComponent<({ id, title, titleComplement, active, disabled, onChange, className }: TabsItemProps) => import("react/jsx-runtime").JSX.Element>;
|
|
12
|
+
interface TabsItemInterface {
|
|
13
|
+
/**
|
|
14
|
+
* Custom class name
|
|
15
|
+
*/
|
|
16
|
+
className?: string;
|
|
17
|
+
/**
|
|
18
|
+
* Item identification
|
|
19
|
+
*/
|
|
20
|
+
id: string;
|
|
21
|
+
/**
|
|
22
|
+
* Item visible title
|
|
23
|
+
*/
|
|
24
|
+
title: string;
|
|
25
|
+
/**
|
|
26
|
+
* Complement to title
|
|
27
|
+
* */
|
|
28
|
+
titleComplement?: string | React.ReactNode | ((isActive: boolean) => React.ReactNode);
|
|
29
|
+
/**
|
|
30
|
+
* Disabled a specific tab
|
|
31
|
+
*/
|
|
32
|
+
disabled?: boolean;
|
|
33
|
+
}
|
|
34
|
+
export { TabsItem, type TabsItemInterface };
|
|
@@ -1,47 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
|
-
|
|
4
|
-
interface TabsItemInterface {
|
|
5
|
-
/**
|
|
6
|
-
* Custom class name
|
|
7
|
-
*/
|
|
8
|
-
className?: string;
|
|
9
|
-
/**
|
|
10
|
-
* Item identification
|
|
11
|
-
*/
|
|
12
|
-
id: string;
|
|
13
|
-
/**
|
|
14
|
-
* Item visible title
|
|
15
|
-
*/
|
|
16
|
-
title: string;
|
|
17
|
-
/**
|
|
18
|
-
* Complement to title
|
|
19
|
-
* */
|
|
20
|
-
titleComplement?: string | React.ReactNode | ((isActive: boolean) => React.ReactNode);
|
|
21
|
-
/**
|
|
22
|
-
* Disabled a specific tab
|
|
23
|
-
*/
|
|
24
|
-
disabled?: boolean;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
declare const Tabs: React$1.MemoExoticComponent<({ className, items, activeItem, onChange }: TabsProps) => react_jsx_runtime.JSX.Element | null>;
|
|
28
|
-
interface TabsProps {
|
|
29
|
-
/**
|
|
30
|
-
* Custom class name
|
|
31
|
-
* */
|
|
32
|
-
className?: string;
|
|
33
|
-
/**
|
|
34
|
-
* ID of the active item
|
|
35
|
-
*/
|
|
36
|
-
activeItem?: string;
|
|
37
|
-
/**
|
|
38
|
-
* Tab item
|
|
39
|
-
*/
|
|
40
|
-
items?: TabsItemInterface[];
|
|
41
|
-
/**
|
|
42
|
-
* Callback handle when selected item change
|
|
43
|
-
* */
|
|
44
|
-
onChange?: (activeTabId: string) => void;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
export { Tabs, type TabsProps };
|
|
1
|
+
export * from './Tabs.client';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use client";export { a as Tabs } from '../../chunk-
|
|
2
|
-
import '../../chunk-
|
|
1
|
+
"use client";export { a as Tabs } from '../../chunk-GIEOWRRK.js';
|
|
2
|
+
import '../../chunk-AGCI6C3Z.js';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export * from './Button';
|
|
2
|
+
export * from './DataTable';
|
|
3
|
+
export * from './Icon';
|
|
4
|
+
export * from './IconCircular';
|
|
5
|
+
export * from './LoadingPlaceholder';
|
|
6
|
+
export * from './Modal';
|
|
7
|
+
export * from './SidebarFixed';
|
|
8
|
+
export * from './Table';
|
|
9
|
+
export * from './Tabs';
|
package/dist/components/index.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import '../chunk-DIFKNF3L.js';
|
|
2
|
-
export { a as IconCircular } from '../chunk-
|
|
3
|
-
export { a as Button } from '../chunk-
|
|
4
|
-
export { a as DataTable } from '../chunk-
|
|
5
|
-
export { a as LoadingPlaceholder } from '../chunk-
|
|
6
|
-
export { a as Modal } from '../chunk-
|
|
7
|
-
export { a as SidebarFixed } from '../chunk-
|
|
2
|
+
export { a as IconCircular } from '../chunk-TMUYSF5D.js';
|
|
3
|
+
export { a as Button } from '../chunk-I32MZTHH.js';
|
|
4
|
+
export { a as DataTable } from '../chunk-NNACMTUZ.js';
|
|
5
|
+
export { a as LoadingPlaceholder } from '../chunk-VFFDRP2O.js';
|
|
6
|
+
export { a as Modal } from '../chunk-XIVJ37WE.js';
|
|
7
|
+
export { a as SidebarFixed } from '../chunk-4ZMWAFI4.js';
|
|
8
8
|
import '../chunk-LTWCICTK.js';
|
|
9
|
-
export { a as Icon } from '../chunk-
|
|
10
|
-
import '../chunk-
|
|
11
|
-
export { a as Table, d as TableBody, h as TableCaption, g as TableCell, e as TableFooter, c as TableHead, b as TableHeader, f as TableRow } from '../chunk-
|
|
12
|
-
export { a as Tabs } from '../chunk-
|
|
13
|
-
import '../chunk-
|
|
14
|
-
import '../chunk-
|
|
15
|
-
import '../chunk-
|
|
9
|
+
export { a as Icon } from '../chunk-PFWHNMTS.js';
|
|
10
|
+
import '../chunk-WTH3TAIX.js';
|
|
11
|
+
export { a as Table, d as TableBody, h as TableCaption, g as TableCell, e as TableFooter, c as TableHead, b as TableHeader, f as TableRow } from '../chunk-TJKZQP6P.js';
|
|
12
|
+
export { a as Tabs } from '../chunk-GIEOWRRK.js';
|
|
13
|
+
import '../chunk-NRAIF4I3.js';
|
|
14
|
+
import '../chunk-BW4TJLAD.js';
|
|
15
|
+
import '../chunk-AGCI6C3Z.js';
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { InputHelpTextProps } from '../InputHelpText';
|
|
3
|
+
declare const Checkbox: React.MemoExoticComponent<React.ForwardRefExoticComponent<CheckboxProps & React.RefAttributes<HTMLInputElement>>>;
|
|
4
|
+
interface CheckboxProps extends InputHelpTextProps, React.InputHTMLAttributes<HTMLInputElement> {
|
|
5
|
+
/**
|
|
6
|
+
* Custom class name
|
|
7
|
+
* */
|
|
8
|
+
className?: string;
|
|
9
|
+
/**
|
|
10
|
+
* Text label of the checkbox
|
|
11
|
+
* */
|
|
12
|
+
label?: string | React.ReactNode;
|
|
13
|
+
/**
|
|
14
|
+
* Checkbox box isn't selected nwither unselected
|
|
15
|
+
* @default false
|
|
16
|
+
* */
|
|
17
|
+
indeterminate?: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* Item align
|
|
20
|
+
* @default 'baseline'
|
|
21
|
+
* */
|
|
22
|
+
boxAlign?: 'start' | 'end' | 'center' | 'baseline' | 'stretch';
|
|
23
|
+
/**
|
|
24
|
+
* Error message to display
|
|
25
|
+
* */
|
|
26
|
+
errorMessage?: string;
|
|
27
|
+
}
|
|
28
|
+
export { Checkbox, type CheckboxProps };
|
|
@@ -1,31 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import { InputHelpTextProps } from '../InputHelpText/index.js';
|
|
3
|
-
import 'react/jsx-runtime';
|
|
4
|
-
|
|
5
|
-
declare const Checkbox: React__default.MemoExoticComponent<React__default.ForwardRefExoticComponent<CheckboxProps & React__default.RefAttributes<HTMLInputElement>>>;
|
|
6
|
-
interface CheckboxProps extends InputHelpTextProps, React__default.InputHTMLAttributes<HTMLInputElement> {
|
|
7
|
-
/**
|
|
8
|
-
* Custom class name
|
|
9
|
-
* */
|
|
10
|
-
className?: string;
|
|
11
|
-
/**
|
|
12
|
-
* Text label of the checkbox
|
|
13
|
-
* */
|
|
14
|
-
label?: string | React__default.ReactNode;
|
|
15
|
-
/**
|
|
16
|
-
* Checkbox box isn't selected nwither unselected
|
|
17
|
-
* @default false
|
|
18
|
-
* */
|
|
19
|
-
indeterminate?: boolean;
|
|
20
|
-
/**
|
|
21
|
-
* Item align
|
|
22
|
-
* @default 'baseline'
|
|
23
|
-
* */
|
|
24
|
-
boxAlign?: 'start' | 'end' | 'center' | 'baseline' | 'stretch';
|
|
25
|
-
/**
|
|
26
|
-
* Error message to display
|
|
27
|
-
* */
|
|
28
|
-
errorMessage?: string;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
export { Checkbox, type CheckboxProps };
|
|
1
|
+
export * from './Checkbox.client';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use client";export { a as Checkbox } from '../../chunk-
|
|
2
|
-
import '../../chunk-
|
|
3
|
-
import '../../chunk-
|
|
1
|
+
"use client";export { a as Checkbox } from '../../chunk-NRAIF4I3.js';
|
|
2
|
+
import '../../chunk-BW4TJLAD.js';
|
|
3
|
+
import '../../chunk-AGCI6C3Z.js';
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { InputHelpTextProps } from '../InputHelpText';
|
|
3
|
+
import { InputLabelProps } from '../InputLabel';
|
|
4
|
+
declare const Input: React.MemoExoticComponent<React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HTMLInputElement>>>;
|
|
5
|
+
interface InputProps extends InputLabelProps, InputHelpTextProps, Omit<React.InputHTMLAttributes<HTMLInputElement>, 'prefix'> {
|
|
6
|
+
/**
|
|
7
|
+
* Input custom class name
|
|
8
|
+
* */
|
|
9
|
+
className?: string;
|
|
10
|
+
/**
|
|
11
|
+
* Form group custom class name
|
|
12
|
+
* */
|
|
13
|
+
formGroupClassName?: string;
|
|
14
|
+
/** Input size
|
|
15
|
+
* @default default
|
|
16
|
+
* */
|
|
17
|
+
variant?: 'default' | 'small' | 'large' | 'xlarge';
|
|
18
|
+
/**
|
|
19
|
+
* Error message to display
|
|
20
|
+
* */
|
|
21
|
+
errorMessage?: string;
|
|
22
|
+
/**
|
|
23
|
+
* Custom element to append at the start of input
|
|
24
|
+
* */
|
|
25
|
+
prefix?: React.ReactNode | string | null;
|
|
26
|
+
/**
|
|
27
|
+
* Custom element to append at the end of input
|
|
28
|
+
* */
|
|
29
|
+
sufix?: React.ReactNode | string | null;
|
|
30
|
+
/**
|
|
31
|
+
* Set visibility of input prefix border
|
|
32
|
+
* @default true
|
|
33
|
+
* */
|
|
34
|
+
prefixBorder?: boolean;
|
|
35
|
+
/**
|
|
36
|
+
* Set visibility of input sufix border
|
|
37
|
+
* @default true
|
|
38
|
+
* */
|
|
39
|
+
sufixBorder?: boolean;
|
|
40
|
+
}
|
|
41
|
+
export { Input, type InputProps };
|
|
@@ -1,44 +1 @@
|
|
|
1
|
-
|
|
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
|
+
export * from './Input';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { a as Input } from '../../chunk-
|
|
2
|
-
import '../../chunk-
|
|
3
|
-
import '../../chunk-
|
|
4
|
-
import '../../chunk-
|
|
1
|
+
export { a as Input } from '../../chunk-DJEPTLO4.js';
|
|
2
|
+
import '../../chunk-2VQ6QMMA.js';
|
|
3
|
+
import '../../chunk-BW4TJLAD.js';
|
|
4
|
+
import '../../chunk-AGCI6C3Z.js';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const InputHelpText: React.MemoExoticComponent<({ className, helpText, hasError }: InputHelpTextProps) => import("react/jsx-runtime").JSX.Element | null>;
|
|
3
|
+
interface InputHelpTextProps {
|
|
4
|
+
/**
|
|
5
|
+
* Custom class name
|
|
6
|
+
* */
|
|
7
|
+
className?: string;
|
|
8
|
+
/**
|
|
9
|
+
* Help text
|
|
10
|
+
* */
|
|
11
|
+
helpText?: string;
|
|
12
|
+
/** Should render error state
|
|
13
|
+
* @default false
|
|
14
|
+
* */
|
|
15
|
+
hasError?: boolean;
|
|
16
|
+
}
|
|
17
|
+
export { InputHelpText, type InputHelpTextProps };
|
|
@@ -1,20 +1 @@
|
|
|
1
|
-
|
|
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
|
+
export * from './InputHelpText';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { a as InputHelpText } from '../../chunk-
|
|
2
|
-
import '../../chunk-
|
|
1
|
+
export { a as InputHelpText } from '../../chunk-BW4TJLAD.js';
|
|
2
|
+
import '../../chunk-AGCI6C3Z.js';
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const InputLabel: React.MemoExoticComponent<({ className, label, labelComplement, hasError, required, htmlFor }: InputLabelProps) => import("react/jsx-runtime").JSX.Element | null>;
|
|
3
|
+
interface InputLabelProps {
|
|
4
|
+
/**
|
|
5
|
+
* Custom class name
|
|
6
|
+
* */
|
|
7
|
+
className?: string;
|
|
8
|
+
/**
|
|
9
|
+
* Label title
|
|
10
|
+
* */
|
|
11
|
+
label?: string;
|
|
12
|
+
/**
|
|
13
|
+
* Complement to label title
|
|
14
|
+
* */
|
|
15
|
+
labelComplement?: string | React.ReactNode;
|
|
16
|
+
/** Should render error state
|
|
17
|
+
* @default false
|
|
18
|
+
* */
|
|
19
|
+
hasError?: boolean;
|
|
20
|
+
/** Input is required
|
|
21
|
+
* @default false
|
|
22
|
+
* */
|
|
23
|
+
required?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* Input this label is for
|
|
26
|
+
* */
|
|
27
|
+
htmlFor?: string;
|
|
28
|
+
}
|
|
29
|
+
export { InputLabel, type InputLabelProps };
|
|
@@ -1,32 +1 @@
|
|
|
1
|
-
|
|
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
|
+
export * from './InputLabel';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { a as InputLabel } from '../../chunk-
|
|
2
|
-
import '../../chunk-
|
|
1
|
+
export { a as InputLabel } from '../../chunk-2VQ6QMMA.js';
|
|
2
|
+
import '../../chunk-AGCI6C3Z.js';
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { MaskedInputProps as ReactMaskedInputProps } from 'react-text-mask';
|
|
3
|
+
import { InputProps } from '../Input';
|
|
4
|
+
import { formatValuePatterns } from './utils';
|
|
5
|
+
declare const InputMask: React.ForwardRefExoticComponent<InputMaskProps & React.RefAttributes<HTMLInputElement>>;
|
|
6
|
+
interface InputMaskProps extends InputProps {
|
|
7
|
+
/**
|
|
8
|
+
* Predefined masks. When used, will replace passed `mask` attr
|
|
9
|
+
* @default 'onlyAlphanumeric'
|
|
10
|
+
* */
|
|
11
|
+
formatValue?: keyof typeof formatValuePatterns;
|
|
12
|
+
mask?: ReactMaskedInputProps['mask'];
|
|
13
|
+
guide?: ReactMaskedInputProps['guide'];
|
|
14
|
+
placeholderChar?: ReactMaskedInputProps['placeholderChar'];
|
|
15
|
+
keepCharPositions?: ReactMaskedInputProps['keepCharPositions'];
|
|
16
|
+
pipe?: ReactMaskedInputProps['pipe'];
|
|
17
|
+
showMask?: ReactMaskedInputProps['showMask'];
|
|
18
|
+
}
|
|
19
|
+
type InputMaskType = ReactMaskedInputProps['mask'];
|
|
20
|
+
export { formatValuePatterns, InputMask, type InputMaskProps, type InputMaskType };
|
|
@@ -1,29 +1 @@
|
|
|
1
|
-
|
|
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 };
|
|
1
|
+
export * from './InputMask.client';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
"use client";export { b as InputMask, a as formatValuePatterns } from '../../chunk-
|
|
2
|
-
import '../../chunk-
|
|
3
|
-
import '../../chunk-
|
|
4
|
-
import '../../chunk-
|
|
5
|
-
import '../../chunk-
|
|
1
|
+
"use client";export { b as InputMask, a as formatValuePatterns } from '../../chunk-V2LJZCNN.js';
|
|
2
|
+
import '../../chunk-DJEPTLO4.js';
|
|
3
|
+
import '../../chunk-2VQ6QMMA.js';
|
|
4
|
+
import '../../chunk-BW4TJLAD.js';
|
|
5
|
+
import '../../chunk-AGCI6C3Z.js';
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { InputHelpTextProps } from '../InputHelpText';
|
|
3
|
+
import { InputLabelProps } from '../InputLabel';
|
|
4
|
+
export declare const SelectComponent: ({ className, label, labelComplement, helpText, hasError, errorMessage, required, id, name, variant, disabled, placeholder, options, withoutStyle, style, ...props }: SelectProps, ref: React.ForwardedRef<HTMLSelectElement>) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
interface SelectProps extends InputLabelProps, InputHelpTextProps, React.SelectHTMLAttributes<HTMLSelectElement> {
|
|
6
|
+
/**
|
|
7
|
+
* Custom class name
|
|
8
|
+
* */
|
|
9
|
+
className?: string;
|
|
10
|
+
/** List of options to populate select
|
|
11
|
+
* @default []
|
|
12
|
+
*/
|
|
13
|
+
options?: {
|
|
14
|
+
label: string | number;
|
|
15
|
+
value?: string | number | boolean;
|
|
16
|
+
disabled?: boolean;
|
|
17
|
+
}[];
|
|
18
|
+
/** Input size
|
|
19
|
+
* @default default
|
|
20
|
+
* */
|
|
21
|
+
variant?: 'default' | 'small' | 'large' | 'xlarge';
|
|
22
|
+
/**
|
|
23
|
+
* Error message to display
|
|
24
|
+
* */
|
|
25
|
+
errorMessage?: string;
|
|
26
|
+
/** Remove all styles, like borders and bgColor
|
|
27
|
+
* @default false
|
|
28
|
+
*/
|
|
29
|
+
withoutStyle?: boolean;
|
|
30
|
+
/** Input's laceholder
|
|
31
|
+
*/
|
|
32
|
+
placeholder?: string;
|
|
33
|
+
}
|
|
34
|
+
declare const Select: React.MemoExoticComponent<React.ForwardRefExoticComponent<SelectProps & React.RefAttributes<HTMLSelectElement>>>;
|
|
35
|
+
export { Select, type SelectProps };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Select';
|