@mdigital_ui/ui 0.3.5 → 0.3.7
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/accordion/index.d.ts +6 -0
- package/dist/accordion/index.d.ts.map +1 -0
- package/dist/accordion/types.d.ts +125 -0
- package/dist/accordion/types.d.ts.map +1 -0
- package/dist/avatar/index.d.ts +14 -0
- package/dist/avatar/index.d.ts.map +1 -0
- package/dist/avatar/types.d.ts +147 -0
- package/dist/avatar/types.d.ts.map +1 -0
- package/dist/badge/index.d.ts +28 -0
- package/dist/badge/index.d.ts.map +1 -0
- package/dist/badge/types.d.ts +97 -0
- package/dist/badge/types.d.ts.map +1 -0
- package/dist/breadcrumbs/index.d.ts +13 -0
- package/dist/breadcrumbs/index.d.ts.map +1 -0
- package/dist/breadcrumbs/types.d.ts +118 -0
- package/dist/breadcrumbs/types.d.ts.map +1 -0
- package/dist/button/index.d.ts +6 -0
- package/dist/button/index.d.ts.map +1 -0
- package/dist/button/index.js +1 -1
- package/dist/button/types.d.ts +85 -0
- package/dist/button/types.d.ts.map +1 -0
- package/dist/button-group/index.d.ts +34 -0
- package/dist/button-group/index.d.ts.map +1 -0
- package/dist/button-group/types.d.ts +75 -0
- package/dist/button-group/types.d.ts.map +1 -0
- package/dist/card/index.d.ts +71 -0
- package/dist/card/index.d.ts.map +1 -0
- package/dist/card/types.d.ts +136 -0
- package/dist/card/types.d.ts.map +1 -0
- package/dist/carousel/carousel-navigation.d.ts +9 -0
- package/dist/carousel/carousel-navigation.d.ts.map +1 -0
- package/dist/carousel/index.d.ts +50 -0
- package/dist/carousel/index.d.ts.map +1 -0
- package/dist/cascader/index.d.ts +27 -0
- package/dist/cascader/index.d.ts.map +1 -0
- package/dist/cascader/types.d.ts +220 -0
- package/dist/cascader/types.d.ts.map +1 -0
- package/dist/checkbox/index.d.ts +6 -0
- package/dist/checkbox/index.d.ts.map +1 -0
- package/dist/checkbox/index.js +1 -1
- package/dist/checkbox/types.d.ts +21 -0
- package/dist/checkbox/types.d.ts.map +1 -0
- package/dist/checkbox-group/index.d.ts +6 -0
- package/dist/checkbox-group/index.d.ts.map +1 -0
- package/dist/checkbox-group/types.d.ts +43 -0
- package/dist/checkbox-group/types.d.ts.map +1 -0
- package/dist/{chunk-U5GAFTEM.js → chunk-56BHCAPI.js} +5 -2
- package/dist/chunk-56BHCAPI.js.map +1 -0
- package/dist/{chunk-XVRNFPBI.js → chunk-FCODTRKL.js} +3 -3
- package/dist/{chunk-XVRNFPBI.js.map → chunk-FCODTRKL.js.map} +1 -1
- package/dist/{chunk-NQACKYGF.js → chunk-IAQDQN6W.js} +4 -4
- package/dist/{chunk-NQACKYGF.js.map → chunk-IAQDQN6W.js.map} +1 -1
- package/dist/{chunk-F3OLZMGO.js → chunk-L76WWJGR.js} +6 -3
- package/dist/chunk-L76WWJGR.js.map +1 -0
- package/dist/{chunk-TBH7QF26.js → chunk-MGKFJWQU.js} +3 -10
- package/dist/chunk-MGKFJWQU.js.map +1 -0
- package/dist/{chunk-XR4UHTK3.js → chunk-S2DZXTRN.js} +3 -3
- package/dist/{chunk-XR4UHTK3.js.map → chunk-S2DZXTRN.js.map} +1 -1
- package/dist/{chunk-QNPE63O6.js → chunk-WMTEAMPB.js} +7 -7
- package/dist/{chunk-QNPE63O6.js.map → chunk-WMTEAMPB.js.map} +1 -1
- package/dist/clipboard/index.d.ts +6 -0
- package/dist/clipboard/index.d.ts.map +1 -0
- package/dist/clipboard/types.d.ts +65 -0
- package/dist/clipboard/types.d.ts.map +1 -0
- package/dist/collapse/index.d.ts +6 -0
- package/dist/collapse/index.d.ts.map +1 -0
- package/dist/collapse/types.d.ts +60 -0
- package/dist/collapse/types.d.ts.map +1 -0
- package/dist/command/index.d.ts +74 -0
- package/dist/command/index.d.ts.map +1 -0
- package/dist/command/types.d.ts +24 -0
- package/dist/command/types.d.ts.map +1 -0
- package/dist/context-menu/index.d.ts +63 -0
- package/dist/context-menu/index.d.ts.map +1 -0
- package/dist/context-menu/types.d.ts +109 -0
- package/dist/context-menu/types.d.ts.map +1 -0
- package/dist/date-picker/index.d.ts +12 -0
- package/dist/date-picker/index.d.ts.map +1 -0
- package/dist/date-picker/types.d.ts +66 -0
- package/dist/date-picker/types.d.ts.map +1 -0
- package/dist/date-picker/utils.d.ts +10 -0
- package/dist/date-picker/utils.d.ts.map +1 -0
- package/dist/descriptions/index.d.ts +6 -0
- package/dist/descriptions/index.d.ts.map +1 -0
- package/dist/descriptions/types.d.ts +34 -0
- package/dist/descriptions/types.d.ts.map +1 -0
- package/dist/divider/index.d.ts +39 -0
- package/dist/divider/index.d.ts.map +1 -0
- package/dist/divider/types.d.ts +63 -0
- package/dist/divider/types.d.ts.map +1 -0
- package/dist/drawer/index.d.ts +23 -0
- package/dist/drawer/index.d.ts.map +1 -0
- package/dist/drawer/types.d.ts +309 -0
- package/dist/drawer/types.d.ts.map +1 -0
- package/dist/dropdown/index.d.ts +6 -0
- package/dist/dropdown/index.d.ts.map +1 -0
- package/dist/dropdown/types.d.ts +116 -0
- package/dist/dropdown/types.d.ts.map +1 -0
- package/dist/empty/index.d.ts +6 -0
- package/dist/empty/index.d.ts.map +1 -0
- package/dist/empty/types.d.ts +62 -0
- package/dist/empty/types.d.ts.map +1 -0
- package/dist/fetching-overlay/index.d.ts +10 -0
- package/dist/fetching-overlay/index.d.ts.map +1 -0
- package/dist/float-input/index.d.ts +6 -0
- package/dist/float-input/index.d.ts.map +1 -0
- package/dist/float-input/types.d.ts +23 -0
- package/dist/float-input/types.d.ts.map +1 -0
- package/dist/form/index.d.ts +31 -0
- package/dist/form/index.d.ts.map +1 -0
- package/dist/form/types.d.ts +45 -0
- package/dist/form/types.d.ts.map +1 -0
- package/dist/grid/index.d.ts +6 -0
- package/dist/grid/index.d.ts.map +1 -0
- package/dist/grid/types.d.ts +21 -0
- package/dist/grid/types.d.ts.map +1 -0
- package/dist/image/index.d.ts +6 -0
- package/dist/image/index.d.ts.map +1 -0
- package/dist/image/types.d.ts +53 -0
- package/dist/image/types.d.ts.map +1 -0
- package/dist/index.d.ts +139 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +11 -11
- package/dist/input/index.d.ts +6 -0
- package/dist/input/index.d.ts.map +1 -0
- package/dist/input/types.d.ts +28 -0
- package/dist/input/types.d.ts.map +1 -0
- package/dist/input-group/index.d.ts +9 -0
- package/dist/input-group/index.d.ts.map +1 -0
- package/dist/input-group/types.d.ts +68 -0
- package/dist/input-group/types.d.ts.map +1 -0
- package/dist/input-otp/index.d.ts +7 -0
- package/dist/input-otp/index.d.ts.map +1 -0
- package/dist/input-otp/types.d.ts +111 -0
- package/dist/input-otp/types.d.ts.map +1 -0
- package/dist/input-password/index.d.ts +6 -0
- package/dist/input-password/index.d.ts.map +1 -0
- package/dist/input-password/index.js +1 -1
- package/dist/input-password/types.d.ts +16 -0
- package/dist/input-password/types.d.ts.map +1 -0
- package/dist/kbd/index.d.ts +6 -0
- package/dist/kbd/index.d.ts.map +1 -0
- package/dist/kbd/types.d.ts +26 -0
- package/dist/kbd/types.d.ts.map +1 -0
- package/dist/link/index.d.ts +9 -0
- package/dist/link/index.d.ts.map +1 -0
- package/dist/link/types.d.ts +30 -0
- package/dist/link/types.d.ts.map +1 -0
- package/dist/menubar/index.d.ts +6 -0
- package/dist/menubar/index.d.ts.map +1 -0
- package/dist/menubar/types.d.ts +40 -0
- package/dist/menubar/types.d.ts.map +1 -0
- package/dist/modal/index.d.ts +39 -0
- package/dist/modal/index.d.ts.map +1 -0
- package/dist/modal/types.d.ts +77 -0
- package/dist/modal/types.d.ts.map +1 -0
- package/dist/multi-select/index.d.ts +6 -0
- package/dist/multi-select/index.d.ts.map +1 -0
- package/dist/multi-select/types.d.ts +81 -0
- package/dist/multi-select/types.d.ts.map +1 -0
- package/dist/multi-select/utils.d.ts +12 -0
- package/dist/multi-select/utils.d.ts.map +1 -0
- package/dist/navigation-menu/index.d.ts +5 -0
- package/dist/navigation-menu/index.d.ts.map +1 -0
- package/dist/navigation-menu/types.d.ts +37 -0
- package/dist/navigation-menu/types.d.ts.map +1 -0
- package/dist/notification/index.d.ts +6 -0
- package/dist/notification/index.d.ts.map +1 -0
- package/dist/notification/types.d.ts +90 -0
- package/dist/notification/types.d.ts.map +1 -0
- package/dist/number-input/index.d.ts +6 -0
- package/dist/number-input/index.d.ts.map +1 -0
- package/dist/number-input/types.d.ts +28 -0
- package/dist/number-input/types.d.ts.map +1 -0
- package/dist/pagination/index.d.ts +6 -0
- package/dist/pagination/index.d.ts.map +1 -0
- package/dist/pagination/types.d.ts +87 -0
- package/dist/pagination/types.d.ts.map +1 -0
- package/dist/popover/index.d.ts +19 -0
- package/dist/popover/index.d.ts.map +1 -0
- package/dist/popover/types.d.ts +31 -0
- package/dist/popover/types.d.ts.map +1 -0
- package/dist/progress/index.d.ts +6 -0
- package/dist/progress/index.d.ts.map +1 -0
- package/dist/progress/types.d.ts +100 -0
- package/dist/progress/types.d.ts.map +1 -0
- package/dist/radio/index.d.ts +6 -0
- package/dist/radio/index.d.ts.map +1 -0
- package/dist/radio/index.js +1 -1
- package/dist/radio/types.d.ts +20 -0
- package/dist/radio/types.d.ts.map +1 -0
- package/dist/radio-group/index.d.ts +6 -0
- package/dist/radio-group/index.d.ts.map +1 -0
- package/dist/radio-group/types.d.ts +43 -0
- package/dist/radio-group/types.d.ts.map +1 -0
- package/dist/rating/index.d.ts +6 -0
- package/dist/rating/index.d.ts.map +1 -0
- package/dist/rating/types.d.ts +64 -0
- package/dist/rating/types.d.ts.map +1 -0
- package/dist/ribbon/index.d.ts +6 -0
- package/dist/ribbon/index.d.ts.map +1 -0
- package/dist/ribbon/types.d.ts +26 -0
- package/dist/ribbon/types.d.ts.map +1 -0
- package/dist/scroll-area/index.d.ts +10 -0
- package/dist/scroll-area/index.d.ts.map +1 -0
- package/dist/scroll-area/types.d.ts +24 -0
- package/dist/scroll-area/types.d.ts.map +1 -0
- package/dist/select/index.d.ts +6 -0
- package/dist/select/index.d.ts.map +1 -0
- package/dist/select/types.d.ts +34 -0
- package/dist/select/types.d.ts.map +1 -0
- package/dist/skeleton/index.d.ts +6 -0
- package/dist/skeleton/index.d.ts.map +1 -0
- package/dist/skeleton/types.d.ts +10 -0
- package/dist/skeleton/types.d.ts.map +1 -0
- package/dist/slider/index.d.ts +6 -0
- package/dist/slider/index.d.ts.map +1 -0
- package/dist/slider/types.d.ts +70 -0
- package/dist/slider/types.d.ts.map +1 -0
- package/dist/spinner/index.d.ts +6 -0
- package/dist/spinner/index.d.ts.map +1 -0
- package/dist/spinner/types.d.ts +10 -0
- package/dist/spinner/types.d.ts.map +1 -0
- package/dist/stepper/index.d.ts +6 -0
- package/dist/stepper/index.d.ts.map +1 -0
- package/dist/stepper/types.d.ts +86 -0
- package/dist/stepper/types.d.ts.map +1 -0
- package/dist/styles/themes/index.d.ts +9 -0
- package/dist/styles/themes/index.d.ts.map +1 -0
- package/dist/styles/themes/presets/index.d.ts +21 -0
- package/dist/styles/themes/presets/index.d.ts.map +1 -0
- package/dist/styles/tokens.d.ts +428 -0
- package/dist/styles/tokens.d.ts.map +1 -0
- package/dist/switch/index.d.ts +6 -0
- package/dist/switch/index.d.ts.map +1 -0
- package/dist/switch/index.js +1 -1
- package/dist/switch/types.d.ts +80 -0
- package/dist/switch/types.d.ts.map +1 -0
- package/dist/table/EditableCell.d.ts +13 -0
- package/dist/table/EditableCell.d.ts.map +1 -0
- package/dist/table/TableActions.d.ts +21 -0
- package/dist/table/TableActions.d.ts.map +1 -0
- package/dist/table/TableCell.d.ts +12 -0
- package/dist/table/TableCell.d.ts.map +1 -0
- package/dist/table/TableHeaderCell.d.ts +16 -0
- package/dist/table/TableHeaderCell.d.ts.map +1 -0
- package/dist/table/TableRow.d.ts +16 -0
- package/dist/table/TableRow.d.ts.map +1 -0
- package/dist/table/TableSkeleton.d.ts +13 -0
- package/dist/table/TableSkeleton.d.ts.map +1 -0
- package/dist/table/index.d.ts +15 -0
- package/dist/table/index.d.ts.map +1 -0
- package/dist/table/index.js +3 -3
- package/dist/table/types.d.ts +110 -0
- package/dist/table/types.d.ts.map +1 -0
- package/dist/table/variants.d.ts +8 -0
- package/dist/table/variants.d.ts.map +1 -0
- package/dist/tabs/index.d.ts +7 -0
- package/dist/tabs/index.d.ts.map +1 -0
- package/dist/tabs/types.d.ts +86 -0
- package/dist/tabs/types.d.ts.map +1 -0
- package/dist/tag/index.d.ts +49 -0
- package/dist/tag/index.d.ts.map +1 -0
- package/dist/tag/types.d.ts +23 -0
- package/dist/tag/types.d.ts.map +1 -0
- package/dist/textarea/index.d.ts +6 -0
- package/dist/textarea/index.d.ts.map +1 -0
- package/dist/textarea/types.d.ts +84 -0
- package/dist/textarea/types.d.ts.map +1 -0
- package/dist/theme/ThemeProvider.d.ts +44 -0
- package/dist/theme/ThemeProvider.d.ts.map +1 -0
- package/dist/theme/index.d.ts +7 -0
- package/dist/theme/index.d.ts.map +1 -0
- package/dist/theme/types.d.ts +47 -0
- package/dist/theme/types.d.ts.map +1 -0
- package/dist/timeline/index.d.ts +13 -0
- package/dist/timeline/index.d.ts.map +1 -0
- package/dist/timeline/types.d.ts +25 -0
- package/dist/timeline/types.d.ts.map +1 -0
- package/dist/toast/index.d.ts +12 -0
- package/dist/toast/index.d.ts.map +1 -0
- package/dist/toast/types.d.ts +49 -0
- package/dist/toast/types.d.ts.map +1 -0
- package/dist/toggle/index.d.ts +6 -0
- package/dist/toggle/index.d.ts.map +1 -0
- package/dist/toggle/types.d.ts +57 -0
- package/dist/toggle/types.d.ts.map +1 -0
- package/dist/toggle-group/index.d.ts +6 -0
- package/dist/toggle-group/index.d.ts.map +1 -0
- package/dist/toggle-group/types.d.ts +80 -0
- package/dist/toggle-group/types.d.ts.map +1 -0
- package/dist/tooltip/index.d.ts +9 -0
- package/dist/tooltip/index.d.ts.map +1 -0
- package/dist/tooltip/types.d.ts +72 -0
- package/dist/tooltip/types.d.ts.map +1 -0
- package/dist/transfer/index.d.ts +6 -0
- package/dist/transfer/index.d.ts.map +1 -0
- package/dist/transfer/index.js +2 -2
- package/dist/transfer/types.d.ts +83 -0
- package/dist/transfer/types.d.ts.map +1 -0
- package/dist/transfer/utils.d.ts +13 -0
- package/dist/transfer/utils.d.ts.map +1 -0
- package/dist/tree/index.d.ts +6 -0
- package/dist/tree/index.d.ts.map +1 -0
- package/dist/tree/types.d.ts +143 -0
- package/dist/tree/types.d.ts.map +1 -0
- package/dist/tree-select/index.d.ts +6 -0
- package/dist/tree-select/index.d.ts.map +1 -0
- package/dist/tree-select/types.d.ts +147 -0
- package/dist/tree-select/types.d.ts.map +1 -0
- package/dist/types.d.ts +53 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/upload/index.d.ts +7 -0
- package/dist/upload/index.d.ts.map +1 -0
- package/dist/upload/types.d.ts +94 -0
- package/dist/upload/types.d.ts.map +1 -0
- package/dist/upload/utils.d.ts +26 -0
- package/dist/upload/utils.d.ts.map +1 -0
- package/dist/utils.d.ts +63 -0
- package/dist/utils.d.ts.map +1 -0
- package/dist/variants.d.ts +434 -0
- package/dist/variants.d.ts.map +1 -0
- package/package.json +9 -8
- package/styles/global.css +7543 -0
- package/styles/themes/dark.css +93 -0
- package/styles/themes/light.css +89 -0
- package/styles/themes/presets/corporate.css +126 -0
- package/styles/themes/presets/minimal.css +126 -0
- package/styles/themes/presets/vibrant.css +126 -0
- package/dist/chunk-F3OLZMGO.js.map +0 -1
- package/dist/chunk-TBH7QF26.js.map +0 -1
- package/dist/chunk-U5GAFTEM.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/grid/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AAyBxC,QAAA,MAAM,IAAI,uCAQT,CAAA;AAID,mBAAmB,SAAS,CAAA;AAC5B,eAAe,IAAI,CAAA"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export type GridGap = 'xs' | 'sm' | 'md' | 'lg';
|
|
2
|
+
export type GridColumns = 1 | 2 | 3 | 4 | 5 | 6;
|
|
3
|
+
export interface GridProps {
|
|
4
|
+
/**
|
|
5
|
+
* Children elements
|
|
6
|
+
*/
|
|
7
|
+
children: React.ReactNode;
|
|
8
|
+
/**
|
|
9
|
+
* Number of columns (responsive breakpoints applied automatically)
|
|
10
|
+
*/
|
|
11
|
+
columns?: GridColumns;
|
|
12
|
+
/**
|
|
13
|
+
* Gap size between grid items
|
|
14
|
+
*/
|
|
15
|
+
gap?: GridGap;
|
|
16
|
+
/**
|
|
17
|
+
* Additional CSS class
|
|
18
|
+
*/
|
|
19
|
+
className?: string;
|
|
20
|
+
}
|
|
21
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/grid/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,OAAO,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;AAC/C,MAAM,MAAM,WAAW,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAA;AAE/C,MAAM,WAAW,SAAS;IACxB;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;IAEzB;;OAEG;IACH,OAAO,CAAC,EAAE,WAAW,CAAA;IAErB;;OAEG;IACH,GAAG,CAAC,EAAE,OAAO,CAAA;IAEb;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/image/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAsC,MAAM,OAAO,CAAA;AAI1D,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AAEpC,QAAA,MAAM,KAAK,wCAmET,CAAA;AAIF,mBAAmB,SAAS,CAAA;AAC5B,eAAe,KAAK,CAAA"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
export interface ImageClassNames {
|
|
2
|
+
/**
|
|
3
|
+
* Class name for the root container
|
|
4
|
+
*/
|
|
5
|
+
root?: string;
|
|
6
|
+
/**
|
|
7
|
+
* Class name for the image element
|
|
8
|
+
*/
|
|
9
|
+
image?: string;
|
|
10
|
+
/**
|
|
11
|
+
* Class name for the placeholder element
|
|
12
|
+
*/
|
|
13
|
+
placeholder?: string;
|
|
14
|
+
/**
|
|
15
|
+
* Class name for the error state
|
|
16
|
+
*/
|
|
17
|
+
error?: string;
|
|
18
|
+
}
|
|
19
|
+
export interface ImageProps extends React.ImgHTMLAttributes<HTMLImageElement> {
|
|
20
|
+
/**
|
|
21
|
+
* Image source URL
|
|
22
|
+
*/
|
|
23
|
+
src: string;
|
|
24
|
+
/**
|
|
25
|
+
* Alt text for the image
|
|
26
|
+
*/
|
|
27
|
+
alt: string;
|
|
28
|
+
/**
|
|
29
|
+
* Whether to show blur placeholder while loading
|
|
30
|
+
*/
|
|
31
|
+
withBlur?: boolean;
|
|
32
|
+
/**
|
|
33
|
+
* Fetch priority hint
|
|
34
|
+
*/
|
|
35
|
+
fetchPriority?: 'auto' | 'high' | 'low';
|
|
36
|
+
/**
|
|
37
|
+
* Additional CSS class
|
|
38
|
+
*/
|
|
39
|
+
className?: string;
|
|
40
|
+
/**
|
|
41
|
+
* Image width
|
|
42
|
+
*/
|
|
43
|
+
width?: number;
|
|
44
|
+
/**
|
|
45
|
+
* Image height
|
|
46
|
+
*/
|
|
47
|
+
height?: number;
|
|
48
|
+
/**
|
|
49
|
+
* ClassNames for component parts
|
|
50
|
+
*/
|
|
51
|
+
classNames?: ImageClassNames;
|
|
52
|
+
}
|
|
53
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/image/types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,eAAe;IAC9B;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IAEpB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,MAAM,WAAW,UAAW,SAAQ,KAAK,CAAC,iBAAiB,CAAC,gBAAgB,CAAC;IAC3E;;OAEG;IACH,GAAG,EAAE,MAAM,CAAA;IAEX;;OAEG;IACH,GAAG,EAAE,MAAM,CAAA;IAEX;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,KAAK,CAAA;IAEvC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IAEf;;OAEG;IACH,UAAU,CAAC,EAAE,eAAe,CAAA;CAC7B"}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @mdigital/ui - Main Exports
|
|
3
|
+
* Modern React component library built with Tailwind CSS v4
|
|
4
|
+
*/
|
|
5
|
+
export { cn, getValidationStatus, iconSizes } from "./utils";
|
|
6
|
+
export * from "./variants";
|
|
7
|
+
export type * from "./types";
|
|
8
|
+
export { ThemeProvider, useTheme, themeScript } from "./theme";
|
|
9
|
+
export type { Theme, ThemeProviderProps, ThemeProviderState } from "./theme";
|
|
10
|
+
export * from "./styles/themes";
|
|
11
|
+
export { default as Accordion } from "./accordion";
|
|
12
|
+
export { Avatar, AvatarGroup } from "./avatar";
|
|
13
|
+
export { default as Badge } from "./badge";
|
|
14
|
+
export { default as Breadcrumbs } from "./breadcrumbs";
|
|
15
|
+
export { default as Button } from "./button";
|
|
16
|
+
export { default as ButtonGroup } from "./button-group";
|
|
17
|
+
export { default as Card } from "./card";
|
|
18
|
+
export { default as Carousel } from "./carousel";
|
|
19
|
+
export { default as Cascader } from "./cascader";
|
|
20
|
+
export { default as Checkbox } from "./checkbox";
|
|
21
|
+
export { default as CheckboxGroup } from "./checkbox-group";
|
|
22
|
+
export { default as Clipboard } from "./clipboard";
|
|
23
|
+
export { default as Collapse } from "./collapse";
|
|
24
|
+
export { default as ContextMenu, ContextMenuContent } from "./context-menu";
|
|
25
|
+
export { default as Descriptions } from "./descriptions";
|
|
26
|
+
export { default as Divider } from "./divider";
|
|
27
|
+
export { default as Dropdown } from "./dropdown";
|
|
28
|
+
export { default as Empty } from "./empty";
|
|
29
|
+
export { default as FetchingOverlay } from "./fetching-overlay";
|
|
30
|
+
export { default as FloatInput } from "./float-input";
|
|
31
|
+
export { Form, FormField, FormItem, FormLabel, FormControl, FormDescription, FormMessage, useFormField, } from "./form";
|
|
32
|
+
export { default as Grid } from "./grid";
|
|
33
|
+
export { default as Image } from "./image";
|
|
34
|
+
export { default as Input } from "./input";
|
|
35
|
+
export { default as InputGroup } from "./input-group";
|
|
36
|
+
export { default as InputOTP } from "./input-otp";
|
|
37
|
+
export { default as InputPassword } from "./input-password";
|
|
38
|
+
export { default as Kbd } from "./kbd";
|
|
39
|
+
export { default as Link } from "./link";
|
|
40
|
+
export { default as Menubar } from "./menubar";
|
|
41
|
+
export { NavigationMenu } from "./navigation-menu";
|
|
42
|
+
export { default as Modal, Modal as ModalRoot, ModalClose, ModalContent, ModalDescription, ModalFooter, ModalHeader, ModalOverlay, ModalPortal, ModalTitle, ModalTrigger, } from "./modal";
|
|
43
|
+
export { default as MultiSelect } from "./multi-select";
|
|
44
|
+
export { default as Notification } from "./notification";
|
|
45
|
+
export { default as NumberInput } from "./number-input";
|
|
46
|
+
export { default as Pagination } from "./pagination";
|
|
47
|
+
export { default as Progress } from "./progress";
|
|
48
|
+
export { default as Radio } from "./radio";
|
|
49
|
+
export { default as RadioGroup } from "./radio-group";
|
|
50
|
+
export { default as Rating } from "./rating";
|
|
51
|
+
export { default as Ribbon } from "./ribbon";
|
|
52
|
+
export { default as ScrollArea } from "./scroll-area";
|
|
53
|
+
export { default as Select } from "./select";
|
|
54
|
+
export { default as Skeleton } from "./skeleton";
|
|
55
|
+
export { default as Slider } from "./slider";
|
|
56
|
+
export { default as Spinner } from "./spinner";
|
|
57
|
+
export { default as Stepper } from "./stepper";
|
|
58
|
+
export { default as Switch } from "./switch";
|
|
59
|
+
export { default as Table, TableCell, TableHeaderCell, TableRow, TableSkeleton, TableActions, EditableCell, } from "./table";
|
|
60
|
+
export { default as Tabs } from "./tabs";
|
|
61
|
+
export { default as Tag } from "./tag";
|
|
62
|
+
export { default as Textarea } from "./textarea";
|
|
63
|
+
export { default as Timeline } from "./timeline";
|
|
64
|
+
export { ToastProvider, useToast } from "./toast";
|
|
65
|
+
export { default as Toggle } from "./toggle";
|
|
66
|
+
export { default as ToggleGroup } from "./toggle-group";
|
|
67
|
+
export { default as Tooltip, TooltipProvider } from "./tooltip";
|
|
68
|
+
export { default as Tree } from "./tree";
|
|
69
|
+
export { default as TreeSelect } from "./tree-select";
|
|
70
|
+
export { default as Upload } from "./upload";
|
|
71
|
+
export { Command, CommandModal, CommandInput, CommandList, CommandEmpty, CommandGroup, CommandItem, CommandShortcut, CommandSeparator, } from "./command";
|
|
72
|
+
export { DatePicker, RangePicker, TimePicker } from "./date-picker";
|
|
73
|
+
export { Drawer, DrawerTrigger, DrawerPortal, DrawerOverlay, DrawerContent, DrawerHeader, DrawerBody, DrawerFooter, DrawerTitle, DrawerDescription, DrawerClose, } from "./drawer";
|
|
74
|
+
export { Popover, PopoverTrigger, PopoverContent, PopoverAnchor, } from "./popover";
|
|
75
|
+
export { Transfer } from "./transfer";
|
|
76
|
+
export type { AccordionClassNames, AccordionProps, AccordionItem, } from "./accordion/types";
|
|
77
|
+
export type { AvatarClassNames, AvatarGroupClassNames, AvatarProps, AvatarGroupProps, } from "./avatar/types";
|
|
78
|
+
export type { BadgeProps } from "./badge/types";
|
|
79
|
+
export type { BreadcrumbsClassNames, BreadcrumbProps, BreadcrumbItemData, } from "./breadcrumbs/types";
|
|
80
|
+
export type { ButtonClassNames, ButtonProps, ButtonVariant, ButtonShape, ButtonSize, } from "./button/types";
|
|
81
|
+
export type { ButtonGroupClassNames, ButtonGroupProps, } from "./button-group/types";
|
|
82
|
+
export type { CardClassNames, CardProps, CardHeaderProps, CardTitleProps, CardDescriptionProps, CardContentProps, CardFooterProps, CardActionProps, CardImageProps, } from "./card/types";
|
|
83
|
+
export type { CascaderClassNames, CascaderProps, CascaderOption, } from "./cascader/types";
|
|
84
|
+
export type { CheckboxClassNames, CheckboxProps, CheckboxColor, CheckboxSize, } from "./checkbox/types";
|
|
85
|
+
export type { CheckboxGroupClassNames, CheckboxGroupProps as CheckboxGroupComponentProps, } from "./checkbox-group/types";
|
|
86
|
+
export type { ClipboardClassNames, ClipboardProps } from "./clipboard/types";
|
|
87
|
+
export type { CollapseClassNames, CollapseProps } from "./collapse/types";
|
|
88
|
+
export type { ContextMenuClassNames, ContextMenuProps, ContextMenuItem, } from "./context-menu/types";
|
|
89
|
+
export type { DescriptionsClassNames, DescriptionsProps, DescriptionsItem, } from "./descriptions/types";
|
|
90
|
+
export type { DividerProps } from "./divider/types";
|
|
91
|
+
export type { DropdownClassNames, DropdownProps, DropdownItem, } from "./dropdown/types";
|
|
92
|
+
export type { EmptyClassNames, EmptyProps } from "./empty/types";
|
|
93
|
+
export type { FloatInputClassNames, FloatInputProps } from "./float-input/types";
|
|
94
|
+
export type { FormClassNames, FormProps, FormFieldProps, FormItemProps, FormLabelProps, FormControlProps, FormDescriptionProps, FormMessageProps, } from "./form/types";
|
|
95
|
+
export type { GridProps } from "./grid/types";
|
|
96
|
+
export type { ImageClassNames, ImageProps } from "./image/types";
|
|
97
|
+
export type { InputClassNames, InputProps } from "./input/types";
|
|
98
|
+
export type { InputGroupClassNames, InputGroupProps, } from "./input-group/types";
|
|
99
|
+
export type { InputOTPClassNames, InputOTPProps } from "./input-otp/types";
|
|
100
|
+
export type { InputPasswordClassNames, PasswordInputProps, } from "./input-password/types";
|
|
101
|
+
export type { KbdProps } from "./kbd/types";
|
|
102
|
+
export type { LinkClassNames, LinkProps } from "./link/types";
|
|
103
|
+
export type { MenubarClassNames, MenubarProps, MenubarMenu, MenubarItem, } from "./menubar/types";
|
|
104
|
+
export type { ModalClassNames, ComposedModalProps } from "./modal/types";
|
|
105
|
+
export type { MultiSelectClassNames, MultiSelectProps, } from "./multi-select/types";
|
|
106
|
+
export type { NavigationMenuClassNames, NavigationMenuProps, NavigationMenuItem as NavigationMenuItemType, NavigationMenuChildItem, } from "./navigation-menu/types";
|
|
107
|
+
export type { NotificationClassNames, NotificationProps, } from "./notification/types";
|
|
108
|
+
export type { NumberInputClassNames, NumberInputProps } from "./number-input/types";
|
|
109
|
+
export type { PaginationClassNames, PaginationProps } from "./pagination/types";
|
|
110
|
+
export type { ProgressClassNames, ProgressProps, ProgressType, ProgressVariant, ProgressOrientation, ProgressSize, } from "./progress/types";
|
|
111
|
+
export type { RadioClassNames, RadioProps } from "./radio/types";
|
|
112
|
+
export type { RadioGroupClassNames, RadioGroupProps as RadioGroupComponentProps, } from "./radio-group/types";
|
|
113
|
+
export type { RatingClassNames, RatingProps } from "./rating/types";
|
|
114
|
+
export type { RibbonProps } from "./ribbon/types";
|
|
115
|
+
export type { ScrollAreaClassNames, ScrollAreaProps } from "./scroll-area/types";
|
|
116
|
+
export type { SelectClassNames, SelectProps } from "./select/types";
|
|
117
|
+
export type { SkeletonProps } from "./skeleton/types";
|
|
118
|
+
export type { SliderClassNames, SliderProps } from "./slider/types";
|
|
119
|
+
export type { SpinnerProps } from "./spinner/types";
|
|
120
|
+
export type { StepperClassNames, StepperProps, StepItem, } from "./stepper/types";
|
|
121
|
+
export type { SwitchClassNames, SwitchProps } from "./switch/types";
|
|
122
|
+
export type { TableClassNames, TableProps } from "./table/types";
|
|
123
|
+
export type { TabsClassNames, TabsProps, TabItem } from "./tabs/types";
|
|
124
|
+
export type { TagClassNames, TagProps } from "./tag/types";
|
|
125
|
+
export type { TextareaClassNames, TextareaProps } from "./textarea/types";
|
|
126
|
+
export type { TimelineClassNames, TimelineProps, TimelineItem } from "./timeline/types";
|
|
127
|
+
export type { ToastOptions, ToastPosition, ToastProviderProps, ToastContextValue, ToastClassNames, } from "./toast/types";
|
|
128
|
+
export type { ToggleClassNames, SingleToggleProps } from "./toggle/types";
|
|
129
|
+
export type { ToggleGroupClassNames, ToggleGroupProps, } from "./toggle-group/types";
|
|
130
|
+
export type { TooltipClassNames, TooltipProps } from "./tooltip/types";
|
|
131
|
+
export type { TreeClassNames, TreeProps, TreeNode } from "./tree/types";
|
|
132
|
+
export type { TreeSelectClassNames, TreeSelectProps, } from "./tree-select/types";
|
|
133
|
+
export type { UploadClassNames, UploadProps, UploadFile } from "./upload/types";
|
|
134
|
+
export type { CommandClassNames } from "./command/types";
|
|
135
|
+
export type { DatePickerClassNames, DatePickerProps, RangePickerProps, TimePickerProps, } from "./date-picker/types";
|
|
136
|
+
export type { DrawerClassNames, DrawerProps, DrawerTriggerProps, DrawerOverlayProps, DrawerContentProps, DrawerHeaderProps, DrawerBodyProps, DrawerFooterProps, DrawerTitleProps, DrawerDescriptionProps, DrawerCloseProps, ComposedDrawerProps, } from "./drawer/types";
|
|
137
|
+
export type { PopoverClassNames } from "./popover/types";
|
|
138
|
+
export type { TransferClassNames, TransferProps, TransferItem, } from "./transfer/types";
|
|
139
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,EAAE,EAAE,EAAE,mBAAmB,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAC7D,cAAc,YAAY,C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iB,CAAC;AACvE,YAAY,EAAE,cAAc,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACxE,YAAY,EACV,oBAAoB,EACpB,eAAe,GAChB,MAAM,qBAAqB,CAAC;AAC7B,YAAY,EAAE,gBAAgB,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAChF,YAAY,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACzD,YAAY,EACV,oBAAoB,EACpB,eAAe,EACf,gBAAgB,EAChB,eAAe,GAChB,MAAM,qBAAqB,CAAC;AAC7B,YAAY,EACV,gBAAgB,EAChB,WAAW,EACX,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAClB,iBAAiB,EACjB,eAAe,EACf,iBAAiB,EACjB,gBAAgB,EAChB,sBAAsB,EACtB,gBAAgB,EAChB,mBAAmB,GACpB,MAAM,gBAAgB,CAAC;AACxB,YAAY,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACzD,YAAY,EACV,kBAAkB,EAClB,aAAa,EACb,YAAY,GACb,MAAM,kBAAkB,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
export { tree_select_default as TreeSelect } from './chunk-QLUGKHAA.js';
|
|
2
2
|
export { tree_default as Tree } from './chunk-HXPMYGSR.js';
|
|
3
3
|
export { upload_default as Upload } from './chunk-ITCXCSUS.js';
|
|
4
|
-
export {
|
|
4
|
+
export { textarea_default as Textarea } from './chunk-6JGNJI5T.js';
|
|
5
5
|
export { ThemeProvider, themeScript, useTheme } from './chunk-5PUATOLR.js';
|
|
6
|
-
export { ToastProvider, useToast } from './chunk-6YVT3AL2.js';
|
|
7
6
|
export { timeline_default as Timeline } from './chunk-GGDDE7LC.js';
|
|
7
|
+
export { ToastProvider, useToast } from './chunk-6YVT3AL2.js';
|
|
8
8
|
export { toggle_default as Toggle } from './chunk-DUNER5Q3.js';
|
|
9
9
|
export { tooltip_default as Tooltip, TooltipProvider } from './chunk-MOQDO4XZ.js';
|
|
10
|
-
export { Transfer } from './chunk-
|
|
10
|
+
export { Transfer } from './chunk-S2DZXTRN.js';
|
|
11
11
|
export { skeleton_default as Skeleton } from './chunk-JZ5F6XDO.js';
|
|
12
12
|
export { slider_default as Slider } from './chunk-GVEEUHM2.js';
|
|
13
13
|
export { stepper_default as Stepper } from './chunk-YPHVSPWM.js';
|
|
14
|
-
export { switch_default as Switch } from './chunk-
|
|
15
|
-
export { EditableCell, table_default as Table, TableActions, TableCell, TableHeaderCell, TableRow, TableSkeleton } from './chunk-
|
|
14
|
+
export { switch_default as Switch } from './chunk-WMTEAMPB.js';
|
|
15
|
+
export { EditableCell, table_default as Table, TableActions, TableCell, TableHeaderCell, TableRow, TableSkeleton } from './chunk-IAQDQN6W.js';
|
|
16
16
|
export { toggle_group_default as ToggleGroup } from './chunk-E222IQHF.js';
|
|
17
17
|
export { tabs_default as Tabs } from './chunk-SJHNFRXG.js';
|
|
18
|
-
export {
|
|
18
|
+
export { tag_default as Tag } from './chunk-2SYAIIJE.js';
|
|
19
19
|
export { progress_default as Progress } from './chunk-MBAZ7OW5.js';
|
|
20
|
-
export { radio_default as Radio } from './chunk-
|
|
20
|
+
export { radio_default as Radio } from './chunk-L76WWJGR.js';
|
|
21
21
|
export { radio_group_default as RadioGroup } from './chunk-SGRACNBP.js';
|
|
22
22
|
export { rating_default as Rating } from './chunk-7UCNBMCV.js';
|
|
23
23
|
export { ribbon_default as Ribbon } from './chunk-FVTMKQUE.js';
|
|
@@ -35,7 +35,7 @@ export { grid_default as Grid } from './chunk-QKSDVYKF.js';
|
|
|
35
35
|
export { image_default as Image } from './chunk-WAPZ4QAN.js';
|
|
36
36
|
export { input_group_default as InputGroup } from './chunk-ROA7BYGB.js';
|
|
37
37
|
export { input_otp_default as InputOTP } from './chunk-XOIX5WIL.js';
|
|
38
|
-
export { input_password_default as InputPassword } from './chunk-
|
|
38
|
+
export { input_password_default as InputPassword } from './chunk-FCODTRKL.js';
|
|
39
39
|
export { input_default as Input } from './chunk-KYDQJSSW.js';
|
|
40
40
|
export { kbd_default as Kbd } from './chunk-EGNF7BRT.js';
|
|
41
41
|
export { DatePicker, RangePickerComponent as RangePicker, TimePickerComponent as TimePicker } from './chunk-KJRKPYYZ.js';
|
|
@@ -47,7 +47,7 @@ export { fetching_overlay_default as FetchingOverlay } from './chunk-ZPVBIQ2R.js
|
|
|
47
47
|
export { float_input_default as FloatInput } from './chunk-SB3JGUGE.js';
|
|
48
48
|
export { carousel_default as Carousel } from './chunk-DRCT6VZ7.js';
|
|
49
49
|
export { cascader_default as Cascader } from './chunk-XHDUO3UW.js';
|
|
50
|
-
export { checkbox_default as Checkbox } from './chunk-
|
|
50
|
+
export { checkbox_default as Checkbox } from './chunk-56BHCAPI.js';
|
|
51
51
|
export { checkbox_group_default as CheckboxGroup } from './chunk-2PNLIQYM.js';
|
|
52
52
|
export { clipboard_default as Clipboard } from './chunk-6QZFWSN7.js';
|
|
53
53
|
export { collapse_default as Collapse } from './chunk-X5XIBIEF.js';
|
|
@@ -60,9 +60,9 @@ export { badge_default as Badge } from './chunk-2K7MDR7K.js';
|
|
|
60
60
|
export { breadcrumbs_default as Breadcrumbs } from './chunk-7P3Q6H2V.js';
|
|
61
61
|
export { dropdown_default as Dropdown } from './chunk-ZSS6E4T2.js';
|
|
62
62
|
export { Popover, PopoverAnchor, PopoverContent, PopoverTrigger } from './chunk-ZQTJBYKO.js';
|
|
63
|
-
export { button_default as Button } from './chunk-TBH7QF26.js';
|
|
64
|
-
export { spinner_default as Spinner } from './chunk-PHQOHVG3.js';
|
|
65
63
|
export { button_group_default as ButtonGroup } from './chunk-6HGUDHHE.js';
|
|
64
|
+
export { button_default as Button } from './chunk-MGKFJWQU.js';
|
|
65
|
+
export { spinner_default as Spinner } from './chunk-PHQOHVG3.js';
|
|
66
66
|
export { card_default as Card } from './chunk-HQVTIFXN.js';
|
|
67
67
|
export { bgSkeletonColorClasses, buttonColors, checkboxBorderColorClasses, checkedColorClasses, componentColors, createAllColorVariants, createDashedColorVariants, createDefaultColorVariants, createGhostColorVariants, createKbdColorVariants, createKbdOutlineColorVariants, createKbdSoftColorVariants, createKbdSolidColorVariants, createLinkColorVariants, createNotificationColorVariants, createNotificationOutlineColorVariants, createNotificationSoftColorVariants, createNotificationSolidColorVariants, createOutlineColorVariants, createPopoverColorVariants, createPopoverDefaultColorVariants, createPopoverSoftColorVariants, createPopoverSolidColorVariants, createSoftColorVariants, createSolidColorVariants, createTooltipSoftColorVariants, focusRingColorClasses, radioCheckedColorClasses, switchTrackColorClasses, textColorClasses, textColorVariants, tooltipSolidColorClasses } from './chunk-LK4EPTNG.js';
|
|
68
68
|
export { cn, getValidationStatus, iconSizes } from './chunk-NGYLRX6F.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/input/index.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAyB,MAAM,OAAO,CAAC;AAU9C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAqC1C,QAAA,MAAM,KAAK,wCA+PV,CAAC;AAIF,mBAAmB,SAAS,CAAC;AAC7B,eAAe,KAAK,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type { FullWidthProps, IconProps, LoadingProps, MessagePosition, ValidationMessages } from '../types';
|
|
2
|
+
export type InputVariant = 'outline' | 'filled';
|
|
3
|
+
export type InputSize = 'xs' | 'sm' | 'md' | 'lg';
|
|
4
|
+
export interface InputClassNames {
|
|
5
|
+
root?: string;
|
|
6
|
+
wrapper?: string;
|
|
7
|
+
label?: string;
|
|
8
|
+
input?: string;
|
|
9
|
+
leftIcon?: string;
|
|
10
|
+
rightIcon?: string;
|
|
11
|
+
clearButton?: string;
|
|
12
|
+
helper?: string;
|
|
13
|
+
error?: string;
|
|
14
|
+
}
|
|
15
|
+
export interface InputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'size'>, ValidationMessages, Partial<IconProps>, Partial<LoadingProps>, Partial<FullWidthProps> {
|
|
16
|
+
variant?: InputVariant;
|
|
17
|
+
size?: InputSize;
|
|
18
|
+
label?: string;
|
|
19
|
+
messagePosition?: MessagePosition;
|
|
20
|
+
clearable?: boolean;
|
|
21
|
+
onClear?: () => void;
|
|
22
|
+
maxLength?: number;
|
|
23
|
+
showCount?: boolean;
|
|
24
|
+
ref?: React.Ref<HTMLInputElement>;
|
|
25
|
+
wrapperClassName?: string;
|
|
26
|
+
classNames?: InputClassNames;
|
|
27
|
+
}
|
|
28
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/input/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,cAAc,EACd,SAAS,EACT,YAAY,EACZ,eAAe,EACf,kBAAkB,EACnB,MAAM,UAAU,CAAA;AAEjB,MAAM,MAAM,YAAY,GAAG,SAAS,GAAG,QAAQ,CAAA;AAE/C,MAAM,MAAM,SAAS,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;AAEjD,MAAM,WAAW,eAAe;IAC9B,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,MAAM,WAAW,UACf,SAAQ,IAAI,CAAC,KAAK,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,MAAM,CAAC,EAC/D,kBAAkB,EAClB,OAAO,CAAC,SAAS,CAAC,EAClB,OAAO,CAAC,YAAY,CAAC,EACrB,OAAO,CAAC,cAAc,CAAC;IACzB,OAAO,CAAC,EAAE,YAAY,CAAA;IACtB,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,eAAe,CAAC,EAAE,eAAe,CAAA;IACjC,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;IACpB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,gBAAgB,CAAC,CAAA;IACjC,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,UAAU,CAAC,EAAE,eAAe,CAAA;CAC7B"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import type { InputGroupAddonProps, InputGroupInputProps, InputGroupProps } from "./types";
|
|
3
|
+
declare const InputGroup: React.NamedExoticComponent<InputGroupProps>;
|
|
4
|
+
export declare const InputGroupInput: React.NamedExoticComponent<InputGroupInputProps>;
|
|
5
|
+
export declare const InputGroupAddon: React.NamedExoticComponent<InputGroupAddonProps>;
|
|
6
|
+
export type { InputGroupClassNames } from "./types";
|
|
7
|
+
export type * from "./types";
|
|
8
|
+
export default InputGroup;
|
|
9
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/input-group/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAe,MAAM,OAAO,CAAC;AAGpC,OAAO,KAAK,EACV,oBAAoB,EAEpB,oBAAoB,EACpB,eAAe,EAEhB,MAAM,SAAS,CAAC;AAqDjB,QAAA,MAAM,UAAU,6CAkCf,CAAC;AAIF,eAAO,MAAM,eAAe,kDAe3B,CAAC;AAIF,eAAO,MAAM,eAAe,kDAgB3B,CAAC;AAIF,YAAY,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AACpD,mBAAmB,SAAS,CAAC;AAC7B,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
export type InputGroupSize = 'xs' | 'sm' | 'md' | 'lg';
|
|
2
|
+
export interface InputGroupClassNames {
|
|
3
|
+
/**
|
|
4
|
+
* Class for root container
|
|
5
|
+
*/
|
|
6
|
+
root?: string;
|
|
7
|
+
/**
|
|
8
|
+
* Class for addon elements
|
|
9
|
+
*/
|
|
10
|
+
addon?: string;
|
|
11
|
+
/**
|
|
12
|
+
* Class for input element
|
|
13
|
+
*/
|
|
14
|
+
input?: string;
|
|
15
|
+
}
|
|
16
|
+
export interface InputGroupProps {
|
|
17
|
+
/**
|
|
18
|
+
* Children elements (InputGroupAddon and InputGroupInput)
|
|
19
|
+
* Order determines layout - addons and input flow naturally with flexbox
|
|
20
|
+
*/
|
|
21
|
+
children: React.ReactNode;
|
|
22
|
+
/**
|
|
23
|
+
* Size of the input group - affects height, padding, and text size
|
|
24
|
+
* @default 'md'
|
|
25
|
+
*/
|
|
26
|
+
size?: InputGroupSize;
|
|
27
|
+
/**
|
|
28
|
+
* Additional CSS class
|
|
29
|
+
*/
|
|
30
|
+
className?: string;
|
|
31
|
+
/**
|
|
32
|
+
* Custom classes for different parts of the input group
|
|
33
|
+
*/
|
|
34
|
+
classNames?: InputGroupClassNames;
|
|
35
|
+
}
|
|
36
|
+
export interface InputGroupInputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'size'> {
|
|
37
|
+
/**
|
|
38
|
+
* Additional CSS class
|
|
39
|
+
*/
|
|
40
|
+
className?: string;
|
|
41
|
+
/**
|
|
42
|
+
* @internal Automatically set by InputGroup
|
|
43
|
+
*/
|
|
44
|
+
size?: InputGroupSize;
|
|
45
|
+
/**
|
|
46
|
+
* @internal Automatically set by InputGroup
|
|
47
|
+
*/
|
|
48
|
+
classNames?: InputGroupClassNames;
|
|
49
|
+
}
|
|
50
|
+
export interface InputGroupAddonProps {
|
|
51
|
+
/**
|
|
52
|
+
* Children elements (icons, text, buttons, or other content)
|
|
53
|
+
*/
|
|
54
|
+
children: React.ReactNode;
|
|
55
|
+
/**
|
|
56
|
+
* Additional CSS class
|
|
57
|
+
*/
|
|
58
|
+
className?: string;
|
|
59
|
+
/**
|
|
60
|
+
* @internal Automatically set by InputGroup
|
|
61
|
+
*/
|
|
62
|
+
size?: InputGroupSize;
|
|
63
|
+
/**
|
|
64
|
+
* @internal Automatically set by InputGroup
|
|
65
|
+
*/
|
|
66
|
+
classNames?: InputGroupClassNames;
|
|
67
|
+
}
|
|
68
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/input-group/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,cAAc,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;AAEtD,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,MAAM,WAAW,eAAe;IAC9B;;;OAGG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;IAEzB;;;OAGG;IACH,IAAI,CAAC,EAAE,cAAc,CAAA;IAErB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB;;OAEG;IACH,UAAU,CAAC,EAAE,oBAAoB,CAAA;CAClC;AAED,MAAM,WAAW,oBACf,SAAQ,IAAI,CAAC,KAAK,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IACjE;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB;;OAEG;IACH,IAAI,CAAC,EAAE,cAAc,CAAA;IAErB;;OAEG;IACH,UAAU,CAAC,EAAE,oBAAoB,CAAA;CAClC;AAED,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;IAEzB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB;;OAEG;IACH,IAAI,CAAC,EAAE,cAAc,CAAA;IAErB;;OAEG;IACH,UAAU,CAAC,EAAE,oBAAoB,CAAA;CAClC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { InputOTPProps } from './types';
|
|
3
|
+
declare const InputOTP: React.NamedExoticComponent<InputOTPProps>;
|
|
4
|
+
export type { InputOTPClassNames } from './types';
|
|
5
|
+
export type * from './types';
|
|
6
|
+
export default InputOTP;
|
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/input-otp/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AA6B5C,QAAA,MAAM,QAAQ,2CAiPb,CAAA;AAID,YAAY,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAA;AACjD,mBAAmB,SAAS,CAAA;AAC5B,eAAe,QAAQ,CAAA"}
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import type { MessagePosition } from '../types';
|
|
2
|
+
export type InputOTPSize = 'xs' | 'sm' | 'md' | 'lg';
|
|
3
|
+
export interface InputOTPClassNames {
|
|
4
|
+
/**
|
|
5
|
+
* Class for root container
|
|
6
|
+
*/
|
|
7
|
+
root?: string;
|
|
8
|
+
/**
|
|
9
|
+
* Class for wrapper containing OTP inputs
|
|
10
|
+
*/
|
|
11
|
+
wrapper?: string;
|
|
12
|
+
/**
|
|
13
|
+
* Class for label element
|
|
14
|
+
*/
|
|
15
|
+
label?: string;
|
|
16
|
+
/**
|
|
17
|
+
* Class for individual input slot
|
|
18
|
+
*/
|
|
19
|
+
slot?: string;
|
|
20
|
+
/**
|
|
21
|
+
* Class for active input slot
|
|
22
|
+
*/
|
|
23
|
+
slotActive?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Class for separator between inputs (if any)
|
|
26
|
+
*/
|
|
27
|
+
separator?: string;
|
|
28
|
+
/**
|
|
29
|
+
* Class for helper/validation message
|
|
30
|
+
*/
|
|
31
|
+
helper?: string;
|
|
32
|
+
}
|
|
33
|
+
export interface InputOTPProps {
|
|
34
|
+
/**
|
|
35
|
+
* Number of OTP input fields
|
|
36
|
+
*/
|
|
37
|
+
length?: number;
|
|
38
|
+
/**
|
|
39
|
+
* Size variant
|
|
40
|
+
*/
|
|
41
|
+
size?: InputOTPSize;
|
|
42
|
+
/**
|
|
43
|
+
* Current value (controlled)
|
|
44
|
+
*/
|
|
45
|
+
value?: string;
|
|
46
|
+
/**
|
|
47
|
+
* Callback when value changes
|
|
48
|
+
*/
|
|
49
|
+
onChange?: (value: string) => void;
|
|
50
|
+
/**
|
|
51
|
+
* Callback when all fields are filled
|
|
52
|
+
*/
|
|
53
|
+
onComplete?: (value: string) => void;
|
|
54
|
+
/**
|
|
55
|
+
* Error message
|
|
56
|
+
*/
|
|
57
|
+
error?: string | boolean;
|
|
58
|
+
/**
|
|
59
|
+
* Warning message
|
|
60
|
+
*/
|
|
61
|
+
warning?: string | boolean;
|
|
62
|
+
/**
|
|
63
|
+
* Info message
|
|
64
|
+
*/
|
|
65
|
+
info?: string | boolean;
|
|
66
|
+
/**
|
|
67
|
+
* Success message
|
|
68
|
+
*/
|
|
69
|
+
success?: string | boolean;
|
|
70
|
+
/**
|
|
71
|
+
* Helper text
|
|
72
|
+
*/
|
|
73
|
+
helperText?: string;
|
|
74
|
+
/**
|
|
75
|
+
* Whether inputs are disabled
|
|
76
|
+
*/
|
|
77
|
+
disabled?: boolean;
|
|
78
|
+
/**
|
|
79
|
+
* Whether to auto-focus first input
|
|
80
|
+
*/
|
|
81
|
+
autoFocus?: boolean;
|
|
82
|
+
/**
|
|
83
|
+
* Input type (affects keyboard on mobile)
|
|
84
|
+
*/
|
|
85
|
+
type?: 'text' | 'number';
|
|
86
|
+
/**
|
|
87
|
+
* Regular expression pattern for validation
|
|
88
|
+
*/
|
|
89
|
+
pattern?: string;
|
|
90
|
+
/**
|
|
91
|
+
* Label text
|
|
92
|
+
*/
|
|
93
|
+
label?: string;
|
|
94
|
+
/**
|
|
95
|
+
* Position of validation/helper messages
|
|
96
|
+
*/
|
|
97
|
+
messagePosition?: MessagePosition;
|
|
98
|
+
/**
|
|
99
|
+
* Additional CSS class
|
|
100
|
+
*/
|
|
101
|
+
className?: string;
|
|
102
|
+
/**
|
|
103
|
+
* Custom classes for different parts of the input OTP
|
|
104
|
+
*/
|
|
105
|
+
classNames?: InputOTPClassNames;
|
|
106
|
+
/**
|
|
107
|
+
* Reference to the container div element
|
|
108
|
+
*/
|
|
109
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
110
|
+
}
|
|
111
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/input-otp/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAA;AAE/C,MAAM,MAAM,YAAY,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;AAEpD,MAAM,WAAW,kBAAkB;IACjC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAA;IAEhB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAA;IAEnB;;OAEG;IAC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
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/input-password/index.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAA;AAEjD,eAAO,MAAM,aAAa,gDA6DzB,CAAA;AAID,mBAAmB,SAAS,CAAA;AAC5B,eAAe,aAAa,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { PasswordInput, input_password_default as default } from '../chunk-
|
|
1
|
+
export { PasswordInput, input_password_default as default } from '../chunk-FCODTRKL.js';
|
|
2
2
|
import '../chunk-KYDQJSSW.js';
|
|
3
3
|
import '../chunk-PHQOHVG3.js';
|
|
4
4
|
import '../chunk-LK4EPTNG.js';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { InputClassNames, InputProps } from '../input/types';
|
|
2
|
+
export interface InputPasswordClassNames extends InputClassNames {
|
|
3
|
+
toggleButton?: string;
|
|
4
|
+
toggleIcon?: string;
|
|
5
|
+
}
|
|
6
|
+
export interface PasswordInputProps extends Omit<InputProps, 'type' | 'classNames'> {
|
|
7
|
+
/**
|
|
8
|
+
* Whether to show visibility toggle button
|
|
9
|
+
*/
|
|
10
|
+
visibilityToggle?: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* Class names for each input password element
|
|
13
|
+
*/
|
|
14
|
+
classNames?: InputPasswordClassNames;
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/input-password/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAA;AAEjE,MAAM,WAAW,uBAAwB,SAAQ,eAAe;IAC9D,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,UAAU,CAAC,EAAE,MAAM,CAAA;CACpB;AAED,MAAM,WAAW,kBAAmB,SAAQ,IAAI,CAAC,UAAU,EAAE,MAAM,GAAG,YAAY,CAAC;IACjF;;OAEG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAE1B;;OAEG;IACH,UAAU,CAAC,EAAE,uBAAuB,CAAA;CACrC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/kbd/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAA;AAyCvC,QAAA,MAAM,GAAG,sCAwBR,CAAA;AAID,mBAAmB,SAAS,CAAA;AAC5B,eAAe,GAAG,CAAA"}
|