cleanplate 0.1.10 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (87) hide show
  1. package/dist/components/accordion/Accordion.d.ts +23 -12
  2. package/dist/components/accordion/Accordion.d.ts.map +1 -1
  3. package/dist/components/accordion/index.d.ts +2 -1
  4. package/dist/components/accordion/index.d.ts.map +1 -1
  5. package/dist/components/animated/Animated.d.ts +18 -16
  6. package/dist/components/animated/Animated.d.ts.map +1 -1
  7. package/dist/components/animated/index.d.ts +2 -2
  8. package/dist/components/animated/index.d.ts.map +1 -1
  9. package/dist/components/app-shell/AppShell.d.ts +35 -3
  10. package/dist/components/app-shell/AppShell.d.ts.map +1 -1
  11. package/dist/components/app-shell/index.d.ts +2 -1
  12. package/dist/components/app-shell/index.d.ts.map +1 -1
  13. package/dist/components/bottom-sheet/BottomSheet.d.ts +17 -16
  14. package/dist/components/bottom-sheet/BottomSheet.d.ts.map +1 -1
  15. package/dist/components/bottom-sheet/index.d.ts +2 -1
  16. package/dist/components/bottom-sheet/index.d.ts.map +1 -1
  17. package/dist/components/breadcrumb/BreadCrumb.d.ts +26 -0
  18. package/dist/components/breadcrumb/BreadCrumb.d.ts.map +1 -0
  19. package/dist/components/breadcrumb/index.d.ts +3 -2
  20. package/dist/components/breadcrumb/index.d.ts.map +1 -1
  21. package/dist/components/footer/Footer.d.ts +21 -16
  22. package/dist/components/footer/Footer.d.ts.map +1 -1
  23. package/dist/components/footer/index.d.ts +2 -1
  24. package/dist/components/footer/index.d.ts.map +1 -1
  25. package/dist/components/form-controls/Checkbox.d.ts +10 -8
  26. package/dist/components/form-controls/Checkbox.d.ts.map +1 -1
  27. package/dist/components/form-controls/Date.d.ts +6 -4
  28. package/dist/components/form-controls/Date.d.ts.map +1 -1
  29. package/dist/components/form-controls/File.d.ts +10 -9
  30. package/dist/components/form-controls/File.d.ts.map +1 -1
  31. package/dist/components/form-controls/Input.d.ts +11 -9
  32. package/dist/components/form-controls/Input.d.ts.map +1 -1
  33. package/dist/components/form-controls/Radio.d.ts +10 -9
  34. package/dist/components/form-controls/Radio.d.ts.map +1 -1
  35. package/dist/components/form-controls/Select.d.ts +12 -6
  36. package/dist/components/form-controls/Select.d.ts.map +1 -1
  37. package/dist/components/form-controls/Stepper.d.ts +10 -8
  38. package/dist/components/form-controls/Stepper.d.ts.map +1 -1
  39. package/dist/components/form-controls/TextArea.d.ts +10 -8
  40. package/dist/components/form-controls/TextArea.d.ts.map +1 -1
  41. package/dist/components/form-controls/Toggle.d.ts +10 -9
  42. package/dist/components/form-controls/Toggle.d.ts.map +1 -1
  43. package/dist/components/form-controls/index.d.ts +30 -20
  44. package/dist/components/form-controls/index.d.ts.map +1 -1
  45. package/dist/components/header/Header.d.ts +32 -28
  46. package/dist/components/header/Header.d.ts.map +1 -1
  47. package/dist/components/header/index.d.ts +2 -1
  48. package/dist/components/header/index.d.ts.map +1 -1
  49. package/dist/components/menu-list/MenuList.d.ts +32 -22
  50. package/dist/components/menu-list/MenuList.d.ts.map +1 -1
  51. package/dist/components/menu-list/index.d.ts +2 -1
  52. package/dist/components/menu-list/index.d.ts.map +1 -1
  53. package/dist/components/page-header/PageHeader.d.ts +22 -3
  54. package/dist/components/page-header/PageHeader.d.ts.map +1 -1
  55. package/dist/components/page-header/index.d.ts +2 -1
  56. package/dist/components/page-header/index.d.ts.map +1 -1
  57. package/dist/components/toast/Toast.d.ts +20 -12
  58. package/dist/components/toast/Toast.d.ts.map +1 -1
  59. package/dist/components/toast/index.d.ts +2 -1
  60. package/dist/components/toast/index.d.ts.map +1 -1
  61. package/dist/index.css +1 -1
  62. package/dist/index.es.css +1 -1
  63. package/dist/index.es.js +3 -3
  64. package/dist/index.js +3 -3
  65. package/package.json +1 -1
  66. package/docs/Alert.md +0 -131
  67. package/docs/Avatar.md +0 -130
  68. package/docs/Badge.md +0 -83
  69. package/docs/Button.md +0 -175
  70. package/docs/ConfirmDialog.md +0 -139
  71. package/docs/Container.md +0 -230
  72. package/docs/Dropdown.md +0 -175
  73. package/docs/Icon.md +0 -225
  74. package/docs/MediaObject.md +0 -303
  75. package/docs/Modal.md +0 -152
  76. package/docs/Pagination.md +0 -142
  77. package/docs/Pills.md +0 -104
  78. package/docs/Spinner.md +0 -115
  79. package/docs/Stepper.md +0 -131
  80. package/docs/Table.md +0 -194
  81. package/docs/Typography.md +0 -226
  82. package/llms.txt +0 -171
  83. package/scripts/generate-icons.js +0 -175
  84. package/templates/README.md +0 -10
  85. package/templates/docs-template-sample.md +0 -67
  86. package/templates/storybook-docs-template.md +0 -236
  87. package/tsconfig.json +0 -26
@@ -1,15 +1,26 @@
1
- export default Accordion;
2
- declare function Accordion({ size, variant, margin, className, }: {
3
- size?: string;
4
- variant?: string;
5
- margin?: string;
1
+ import React from "react";
2
+ import { SPACING_OPTIONS } from "../../constants/common";
3
+ export interface AccordionItem {
4
+ title: string;
5
+ content: React.ReactNode;
6
+ }
7
+ export type SpacingOption = (typeof SPACING_OPTIONS)[number];
8
+ export type AccordionIconVariant = "expand" | "plus";
9
+ export type AccordionVariant = "grouped" | "spaced";
10
+ export type AccordionTitleTag = "span" | "h2" | "h3" | "h4" | "h5" | "h6";
11
+ export type AccordionMargin = string | SpacingOption[];
12
+ export type AccordionPadding = string | SpacingOption[];
13
+ export interface AccordionProps {
14
+ items: AccordionItem[];
15
+ allowMultiple?: boolean;
16
+ defaultExpandedIndex?: number | number[];
17
+ iconVariant?: AccordionIconVariant;
18
+ variant?: AccordionVariant;
19
+ titleTag?: AccordionTitleTag;
20
+ margin?: AccordionMargin;
21
+ padding?: AccordionPadding;
6
22
  className?: string;
7
- }): import("react/jsx-runtime").JSX.Element;
8
- declare namespace Accordion {
9
- namespace propTypes {
10
- let size: any;
11
- let variant: any;
12
- let margin: any;
13
- }
14
23
  }
24
+ declare const Accordion: React.FC<AccordionProps>;
25
+ export default Accordion;
15
26
  //# sourceMappingURL=Accordion.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Accordion.d.ts","sourceRoot":"","sources":["../../../src/components/accordion/Accordion.jsx"],"names":[],"mappings":";AAUA;;;;;4CAoBC"}
1
+ {"version":3,"file":"Accordion.d.ts","sourceRoot":"","sources":["../../../src/components/accordion/Accordion.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAGxC,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAMzD,MAAM,WAAW,aAAa;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC;CAC1B;AAED,MAAM,MAAM,aAAa,GAAG,CAAC,OAAO,eAAe,CAAC,CAAC,MAAM,CAAC,CAAC;AAC7D,MAAM,MAAM,oBAAoB,GAAG,QAAQ,GAAG,MAAM,CAAC;AACrD,MAAM,MAAM,gBAAgB,GAAG,SAAS,GAAG,QAAQ,CAAC;AACpD,MAAM,MAAM,iBAAiB,GAAG,MAAM,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAC1E,MAAM,MAAM,eAAe,GAAG,MAAM,GAAG,aAAa,EAAE,CAAC;AACvD,MAAM,MAAM,gBAAgB,GAAG,MAAM,GAAG,aAAa,EAAE,CAAC;AAExD,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,aAAa,EAAE,CAAC;IACvB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,oBAAoB,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IACzC,WAAW,CAAC,EAAE,oBAAoB,CAAC;IACnC,OAAO,CAAC,EAAE,gBAAgB,CAAC;IAC3B,QAAQ,CAAC,EAAE,iBAAiB,CAAC;IAC7B,MAAM,CAAC,EAAE,eAAe,CAAC;IACzB,OAAO,CAAC,EAAE,gBAAgB,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAYD,QAAA,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAiHvC,CAAC;AAIF,eAAe,SAAS,CAAC"}
@@ -1,3 +1,4 @@
1
+ import Accordion from "./Accordion";
1
2
  export default Accordion;
2
- import Accordion from "./Accordion.jsx";
3
+ export type { AccordionProps, AccordionItem, AccordionIconVariant, AccordionVariant, AccordionTitleTag, AccordionMargin, AccordionPadding } from "./Accordion";
3
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/accordion/index.js"],"names":[],"mappings":";sBAAsB,iBAAiB"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/accordion/index.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,aAAa,CAAC;AAEpC,eAAe,SAAS,CAAC;AACzB,YAAY,EAAE,cAAc,EAAE,aAAa,EAAE,oBAAoB,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC"}
@@ -1,21 +1,23 @@
1
- export default Animated;
2
- declare function Animated({ animationType, as: Component, children, margin, delay, className, isBlock, ...otherProps }: {
3
- [x: string]: any;
4
- animationType?: string;
5
- as?: string;
6
- children: any;
7
- margin?: string[];
1
+ import React from "react";
2
+ import { ANIMATION_DELAY_OPTIONS, ANIMATION_TYPE_OPTIONS, SPACING_OPTIONS } from "../../constants/common";
3
+ export type SpacingOption = (typeof SPACING_OPTIONS)[number];
4
+ export type AnimatedMargin = string | SpacingOption[];
5
+ export type AnimationType = (typeof ANIMATION_TYPE_OPTIONS)[number];
6
+ export type AnimationDelay = (typeof ANIMATION_DELAY_OPTIONS)[number];
7
+ export interface AnimatedProps extends Omit<React.HTMLAttributes<HTMLElement>, "className"> {
8
+ /** Animation type applied when element is in view */
9
+ animationType?: AnimationType;
10
+ /** Root element or component to render (default "span") */
11
+ as?: React.ElementType;
12
+ /** Margin spacing (suffix or array of spacing suffixes; component adds m- prefix) */
13
+ margin?: AnimatedMargin;
14
+ /** Delay in ms; maps to delay-{delay} class (e.g. 200 → delay-200) */
8
15
  delay?: number;
16
+ /** Additional class names for the root element */
9
17
  className?: string;
18
+ /** If true, applies block display */
10
19
  isBlock?: boolean;
11
- }): import("react/jsx-runtime").JSX.Element;
12
- declare namespace Animated {
13
- namespace propTypes {
14
- let className: any;
15
- let children: any;
16
- let delay: any;
17
- let animationType: any;
18
- let margin: any;
19
- }
20
20
  }
21
+ declare const Animated: React.FC<AnimatedProps>;
22
+ export default Animated;
21
23
  //# sourceMappingURL=Animated.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Animated.d.ts","sourceRoot":"","sources":["../../../src/components/animated/Animated.jsx"],"names":[],"mappings":";AAYA;;;;;;;;;4CA0CC"}
1
+ {"version":3,"file":"Animated.d.ts","sourceRoot":"","sources":["../../../src/components/animated/Animated.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAE3D,OAAO,EACL,uBAAuB,EACvB,sBAAsB,EACtB,eAAe,EAChB,MAAM,wBAAwB,CAAC;AAKhC,MAAM,MAAM,aAAa,GAAG,CAAC,OAAO,eAAe,CAAC,CAAC,MAAM,CAAC,CAAC;AAE7D,MAAM,MAAM,cAAc,GAAG,MAAM,GAAG,aAAa,EAAE,CAAC;AAEtD,MAAM,MAAM,aAAa,GAAG,CAAC,OAAO,sBAAsB,CAAC,CAAC,MAAM,CAAC,CAAC;AAEpE,MAAM,MAAM,cAAc,GAAG,CAAC,OAAO,uBAAuB,CAAC,CAAC,MAAM,CAAC,CAAC;AAEtE,MAAM,WAAW,aACf,SAAQ,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC,EAAE,WAAW,CAAC;IAC5D,qDAAqD;IACrD,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,2DAA2D;IAC3D,EAAE,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC;IACvB,qFAAqF;IACrF,MAAM,CAAC,EAAE,cAAc,CAAC;IACxB,sEAAsE;IACtE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,kDAAkD;IAClD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,qCAAqC;IACrC,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,QAAA,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CA6CrC,CAAC;AAEF,eAAe,QAAQ,CAAC"}
@@ -1,3 +1,3 @@
1
- export default Animated;
2
- import Animated from "./Animated.jsx";
1
+ export { default } from "./Animated";
2
+ export type { AnimatedProps, AnimatedMargin, AnimationType, AnimationDelay, SpacingOption, } from "./Animated";
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/animated/index.js"],"names":[],"mappings":";qBAAqB,gBAAgB"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/animated/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,YAAY,EACV,aAAa,EACb,cAAc,EACd,aAAa,EACb,cAAc,EACd,aAAa,GACd,MAAM,YAAY,CAAC"}
@@ -1,5 +1,37 @@
1
+ import React from "react";
2
+ import type { MenuListItem } from "../menu-list";
3
+ import type { MenuListSize, MenuListVariant } from "../menu-list";
4
+ import type { HeaderProps } from "../header";
5
+ import type { FooterProps } from "../footer";
6
+ /** Sidebar configuration: MenuList as vertical nav. Direction is always "vertical". */
7
+ export interface AppShellSidebarConfig {
8
+ /** Menu items for the sidebar navigation */
9
+ items: MenuListItem[];
10
+ /** Value of the currently active item */
11
+ activeItem?: string;
12
+ /** Called when a menu item is clicked */
13
+ onMenuClick?: (item: MenuListItem) => void;
14
+ /** Size of menu items */
15
+ size?: MenuListSize;
16
+ /** Visual variant for the sidebar */
17
+ variant?: MenuListVariant;
18
+ }
19
+ export interface AppShellProps {
20
+ /** Main content (page area) */
21
+ children: React.ReactNode;
22
+ /** Top bar: pass Header props or custom ReactNode. Omit to hide header. */
23
+ header?: React.ReactNode | HeaderProps;
24
+ /** Bottom bar: pass Footer props or custom ReactNode. Omit to hide footer. */
25
+ footer?: React.ReactNode | FooterProps;
26
+ /** Sidebar config (MenuList as vertical nav on the left). Omit to hide sidebar. */
27
+ sidebar?: AppShellSidebarConfig;
28
+ /** Width of the sidebar (e.g. "240px", "16rem") */
29
+ sidebarWidth?: string;
30
+ /** Additional class name for the root element */
31
+ className?: string;
32
+ /** Additional class name for the main content wrapper */
33
+ contentClassName?: string;
34
+ }
35
+ declare const AppShell: React.FC<AppShellProps>;
1
36
  export default AppShell;
2
- declare function AppShell({ children }: {
3
- children: any;
4
- }): import("react/jsx-runtime").JSX.Element;
5
37
  //# sourceMappingURL=AppShell.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AppShell.d.ts","sourceRoot":"","sources":["../../../src/components/app-shell/AppShell.jsx"],"names":[],"mappings":";AAEA;;4CAEC"}
1
+ {"version":3,"file":"AppShell.d.ts","sourceRoot":"","sources":["../../../src/components/app-shell/AppShell.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AACjD,OAAO,KAAK,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAClE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAC7C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAI7C,uFAAuF;AACvF,MAAM,WAAW,qBAAqB;IACpC,4CAA4C;IAC5C,KAAK,EAAE,YAAY,EAAE,CAAC;IACtB,yCAAyC;IACzC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,yCAAyC;IACzC,WAAW,CAAC,EAAE,CAAC,IAAI,EAAE,YAAY,KAAK,IAAI,CAAC;IAC3C,yBAAyB;IACzB,IAAI,CAAC,EAAE,YAAY,CAAC;IACpB,qCAAqC;IACrC,OAAO,CAAC,EAAE,eAAe,CAAC;CAC3B;AAED,MAAM,WAAW,aAAa;IAC5B,+BAA+B;IAC/B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,2EAA2E;IAC3E,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,WAAW,CAAC;IACvC,8EAA8E;IAC9E,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,WAAW,CAAC;IACvC,mFAAmF;IACnF,OAAO,CAAC,EAAE,qBAAqB,CAAC;IAChC,mDAAmD;IACnD,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,iDAAiD;IACjD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,yDAAyD;IACzD,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAQD,QAAA,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAuDrC,CAAC;AAIF,eAAe,QAAQ,CAAC"}
@@ -1,3 +1,4 @@
1
+ import AppShell from "./AppShell";
1
2
  export default AppShell;
2
- import AppShell from "./AppShell.jsx";
3
+ export type { AppShellProps, AppShellSidebarConfig } from "./AppShell";
3
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/app-shell/index.js"],"names":[],"mappings":";qBAAqB,gBAAgB"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/app-shell/index.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,YAAY,CAAC;AAElC,eAAe,QAAQ,CAAC;AACxB,YAAY,EAAE,aAAa,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC"}
@@ -1,18 +1,19 @@
1
- export default BottomSheet;
2
- declare function BottomSheet({ margin, className, children, isOpen, onClose }: {
3
- margin: any;
4
- className: any;
5
- children: any;
6
- isOpen: any;
7
- onClose: any;
8
- }): import("react/jsx-runtime").JSX.Element;
9
- declare namespace BottomSheet {
10
- namespace propTypes {
11
- let isOpen: any;
12
- let className: any;
13
- let onClose: any;
14
- let margin: any;
15
- let children: any;
16
- }
1
+ import React from "react";
2
+ import { SPACING_OPTIONS } from "../../constants/common";
3
+ export type SpacingOption = (typeof SPACING_OPTIONS)[number];
4
+ export type BottomSheetMargin = string | SpacingOption[];
5
+ export interface BottomSheetProps {
6
+ /** Whether the bottom sheet is open */
7
+ isOpen: boolean;
8
+ /** Called when the sheet should close (e.g. after drag-to-close) */
9
+ onClose?: () => void;
10
+ /** Spacing suffix(s) for outer margin; component adds m- prefix */
11
+ margin?: BottomSheetMargin;
12
+ /** Additional class names for the sheet panel */
13
+ className?: string;
14
+ /** Content rendered inside the sheet */
15
+ children?: React.ReactNode;
17
16
  }
17
+ declare const BottomSheet: React.FC<BottomSheetProps>;
18
+ export default BottomSheet;
18
19
  //# sourceMappingURL=BottomSheet.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"BottomSheet.d.ts","sourceRoot":"","sources":["../../../src/components/bottom-sheet/BottomSheet.jsx"],"names":[],"mappings":";AAeA;;;;;;4CA6IC"}
1
+ {"version":3,"file":"BottomSheet.d.ts","sourceRoot":"","sources":["../../../src/components/bottom-sheet/BottomSheet.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAG3D,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAKzD,MAAM,MAAM,aAAa,GAAG,CAAC,OAAO,eAAe,CAAC,CAAC,MAAM,CAAC,CAAC;AAE7D,MAAM,MAAM,iBAAiB,GAAG,MAAM,GAAG,aAAa,EAAE,CAAC;AAEzD,MAAM,WAAW,gBAAgB;IAC/B,uCAAuC;IACvC,MAAM,EAAE,OAAO,CAAC;IAChB,oEAAoE;IACpE,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,mEAAmE;IACnE,MAAM,CAAC,EAAE,iBAAiB,CAAC;IAC3B,iDAAiD;IACjD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,wCAAwC;IACxC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAMD,QAAA,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAkJ3C,CAAC;AAIF,eAAe,WAAW,CAAC"}
@@ -1,3 +1,4 @@
1
+ import BottomSheet from "./BottomSheet";
1
2
  export default BottomSheet;
2
- import BottomSheet from "./BottomSheet.jsx";
3
+ export type { BottomSheetProps, BottomSheetMargin } from "./BottomSheet";
3
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/bottom-sheet/index.js"],"names":[],"mappings":";wBAAwB,mBAAmB"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/bottom-sheet/index.ts"],"names":[],"mappings":"AAAA,OAAO,WAAW,MAAM,eAAe,CAAC;AAExC,eAAe,WAAW,CAAC;AAC3B,YAAY,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC"}
@@ -0,0 +1,26 @@
1
+ import React from "react";
2
+ import { SPACING_OPTIONS } from "../../constants/common";
3
+ export type SpacingOption = (typeof SPACING_OPTIONS)[number];
4
+ export type BreadCrumbMargin = string | SpacingOption[];
5
+ export type BreadCrumbSeparator = "slash" | "chevron";
6
+ export interface BreadCrumbItem {
7
+ /** Display label for the crumb */
8
+ label: string;
9
+ /** URL for the crumb. Omit for the current page (last item). */
10
+ href?: string;
11
+ }
12
+ export interface BreadCrumbProps {
13
+ /** List of breadcrumb items. Last item is treated as current page when it has no href. */
14
+ items: BreadCrumbItem[];
15
+ /** Visual separator between items */
16
+ separator?: BreadCrumbSeparator;
17
+ /** Accessible label for the navigation landmark (default: "Breadcrumb") */
18
+ ariaLabel?: string;
19
+ /** Spacing suffix for outer margin (e.g. "0" → m-0). */
20
+ margin?: BreadCrumbMargin;
21
+ /** Additional class name for the root nav element */
22
+ className?: string;
23
+ }
24
+ declare const BreadCrumb: React.FC<BreadCrumbProps>;
25
+ export default BreadCrumb;
26
+ //# sourceMappingURL=BreadCrumb.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BreadCrumb.d.ts","sourceRoot":"","sources":["../../../src/components/breadcrumb/BreadCrumb.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAIzD,MAAM,MAAM,aAAa,GAAG,CAAC,OAAO,eAAe,CAAC,CAAC,MAAM,CAAC,CAAC;AAC7D,MAAM,MAAM,gBAAgB,GAAG,MAAM,GAAG,aAAa,EAAE,CAAC;AACxD,MAAM,MAAM,mBAAmB,GAAG,OAAO,GAAG,SAAS,CAAC;AAEtD,MAAM,WAAW,cAAc;IAC7B,kCAAkC;IAClC,KAAK,EAAE,MAAM,CAAC;IACd,gEAAgE;IAChE,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,eAAe;IAC9B,0FAA0F;IAC1F,KAAK,EAAE,cAAc,EAAE,CAAC;IACxB,qCAAqC;IACrC,SAAS,CAAC,EAAE,mBAAmB,CAAC;IAChC,2EAA2E;IAC3E,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,wDAAwD;IACxD,MAAM,CAAC,EAAE,gBAAgB,CAAC;IAC1B,qDAAqD;IACrD,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,QAAA,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAsEzC,CAAC;AAIF,eAAe,UAAU,CAAC"}
@@ -1,3 +1,4 @@
1
- export default AppShell;
2
- import AppShell from "./AppShell.jsx";
1
+ import BreadCrumb from "./BreadCrumb";
2
+ export default BreadCrumb;
3
+ export type { BreadCrumbProps, BreadCrumbItem, BreadCrumbSeparator, BreadCrumbMargin, SpacingOption, } from "./BreadCrumb";
3
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/breadcrumb/index.js"],"names":[],"mappings":";qBAAqB,gBAAgB"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/breadcrumb/index.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,cAAc,CAAC;AAEtC,eAAe,UAAU,CAAC;AAC1B,YAAY,EACV,eAAe,EACf,cAAc,EACd,mBAAmB,EACnB,gBAAgB,EAChB,aAAa,GACd,MAAM,cAAc,CAAC"}
@@ -1,22 +1,27 @@
1
- export default Footer;
2
- declare function Footer({ margin, size, variant, brandName, poweredByLabel, poweredByLink, children, className, }: {
3
- margin?: string;
4
- size?: string;
5
- variant?: string;
1
+ import React from "react";
2
+ import { SPACING_OPTIONS } from "../../constants/common";
3
+ export type SpacingOption = (typeof SPACING_OPTIONS)[number];
4
+ export type FooterSize = "small" | "medium" | "large";
5
+ export type FooterVariant = "light" | "dark";
6
+ export type FooterMargin = string | SpacingOption[];
7
+ export interface FooterProps {
8
+ /** Spacing suffix(s) for outer margin; component adds m- prefix */
9
+ margin?: FooterMargin;
10
+ /** Size of the footer */
11
+ size?: FooterSize;
12
+ /** Visual variant */
13
+ variant?: FooterVariant;
14
+ /** Brand name shown in copyright (e.g. "Acme Inc") */
6
15
  brandName?: string;
16
+ /** Label for the powered-by link (e.g. "Powered by X") */
7
17
  poweredByLabel?: string;
18
+ /** URL for the powered-by link; shown when poweredByLabel is also set */
8
19
  poweredByLink?: string;
9
- children: any;
20
+ /** Custom content rendered above the copyright line */
21
+ children?: React.ReactNode;
22
+ /** Additional class names for the root element */
10
23
  className?: string;
11
- }): import("react/jsx-runtime").JSX.Element;
12
- declare namespace Footer {
13
- namespace propTypes {
14
- let brandName: any;
15
- let poweredByLabel: any;
16
- let poweredByLink: any;
17
- let size: any;
18
- let variant: any;
19
- let margin: any;
20
- }
21
24
  }
25
+ declare const Footer: React.FC<FooterProps>;
26
+ export default Footer;
22
27
  //# sourceMappingURL=Footer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Footer.d.ts","sourceRoot":"","sources":["../../../src/components/footer/Footer.jsx"],"names":[],"mappings":";AASA;;;;;;;;;4CAwCC"}
1
+ {"version":3,"file":"Footer.d.ts","sourceRoot":"","sources":["../../../src/components/footer/Footer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAKzD,MAAM,MAAM,aAAa,GAAG,CAAC,OAAO,eAAe,CAAC,CAAC,MAAM,CAAC,CAAC;AAE7D,MAAM,MAAM,UAAU,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;AAEtD,MAAM,MAAM,aAAa,GAAG,OAAO,GAAG,MAAM,CAAC;AAE7C,MAAM,MAAM,YAAY,GAAG,MAAM,GAAG,aAAa,EAAE,CAAC;AAEpD,MAAM,WAAW,WAAW;IAC1B,mEAAmE;IACnE,MAAM,CAAC,EAAE,YAAY,CAAC;IACtB,yBAAyB;IACzB,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,qBAAqB;IACrB,OAAO,CAAC,EAAE,aAAa,CAAC;IACxB,sDAAsD;IACtD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,0DAA0D;IAC1D,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,yEAAyE;IACzE,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,uDAAuD;IACvD,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,kDAAkD;IAClD,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,QAAA,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CA0CjC,CAAC;AAIF,eAAe,MAAM,CAAC"}
@@ -1,3 +1,4 @@
1
+ import Footer from "./Footer";
1
2
  export default Footer;
2
- import Footer from "./Footer.jsx";
3
+ export type { FooterProps, FooterSize, FooterVariant, FooterMargin } from "./Footer";
3
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/footer/index.js"],"names":[],"mappings":";mBAAmB,cAAc"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/footer/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,UAAU,CAAC;AAE9B,eAAe,MAAM,CAAC;AACtB,YAAY,EAAE,WAAW,EAAE,UAAU,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC"}
@@ -1,14 +1,16 @@
1
- export default Checkbox;
2
- declare function Checkbox({ name, id, onChange, defaultValue, value, label, isDisabled, className, isFluid, error, }: {
3
- name: any;
4
- id: any;
5
- onChange: any;
6
- defaultValue: any;
7
- value: any;
1
+ import React from "react";
2
+ export interface CheckboxProps {
3
+ name?: string;
4
+ id?: string;
5
+ onChange?: (checked: boolean) => void;
6
+ defaultValue?: boolean;
7
+ value?: boolean;
8
8
  label?: string;
9
9
  isDisabled?: boolean;
10
10
  className?: string;
11
11
  isFluid?: boolean;
12
12
  error?: string;
13
- }): import("react/jsx-runtime").JSX.Element;
13
+ }
14
+ declare const Checkbox: React.FC<CheckboxProps>;
15
+ export default Checkbox;
14
16
  //# sourceMappingURL=Checkbox.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Checkbox.d.ts","sourceRoot":"","sources":["../../../src/components/form-controls/Checkbox.jsx"],"names":[],"mappings":";AAIA;;;;;;;;;;;4CA4CC"}
1
+ {"version":3,"file":"Checkbox.d.ts","sourceRoot":"","sources":["../../../src/components/form-controls/Checkbox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,MAAM,WAAW,aAAa;IAC5B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,QAAQ,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IACtC,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,QAAA,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CA8CrC,CAAC;AAEF,eAAe,QAAQ,CAAC"}
@@ -1,11 +1,13 @@
1
- export default Date;
2
- declare function Date({ onChange, defaultValue, label, isDisabled, className, error, isFluid, }: {
3
- onChange: any;
1
+ import React from "react";
2
+ export interface DateProps {
3
+ onChange?: (dateValue: string) => void;
4
4
  defaultValue?: string;
5
5
  label?: string;
6
6
  isDisabled?: boolean;
7
7
  className?: string;
8
8
  error?: string;
9
9
  isFluid?: boolean;
10
- }): import("react/jsx-runtime").JSX.Element;
10
+ }
11
+ declare const Date: React.FC<DateProps>;
12
+ export default Date;
11
13
  //# sourceMappingURL=Date.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Date.d.ts","sourceRoot":"","sources":["../../../src/components/form-controls/Date.jsx"],"names":[],"mappings":";AASA;;;;;;;;4CAgGC"}
1
+ {"version":3,"file":"Date.d.ts","sourceRoot":"","sources":["../../../src/components/form-controls/Date.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAWnD,MAAM,WAAW,SAAS;IACxB,QAAQ,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,QAAA,MAAM,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CA+F7B,CAAC;AAEF,eAAe,IAAI,CAAC"}
@@ -1,15 +1,16 @@
1
- export default File;
2
- declare function File({ name, id, onChange, defaultValue, value, label, isDisabled, type, className, isFluid, error, }: {
3
- name: any;
4
- id: any;
5
- onChange: any;
6
- defaultValue: any;
7
- value: any;
1
+ import React from "react";
2
+ export interface FileProps {
3
+ name?: string;
4
+ id?: string;
5
+ onChange?: (e: React.ChangeEvent<HTMLInputElement>) => void;
6
+ defaultValue?: string;
7
+ value?: string;
8
8
  label?: string;
9
9
  isDisabled?: boolean;
10
- type?: string;
11
10
  className?: string;
12
11
  isFluid?: boolean;
13
12
  error?: string;
14
- }): import("react/jsx-runtime").JSX.Element;
13
+ }
14
+ declare const File: React.FC<FileProps>;
15
+ export default File;
15
16
  //# sourceMappingURL=File.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"File.d.ts","sourceRoot":"","sources":["../../../src/components/form-controls/File.jsx"],"names":[],"mappings":";AAGA;;;;;;;;;;;;4CAwCC"}
1
+ {"version":3,"file":"File.d.ts","sourceRoot":"","sources":["../../../src/components/form-controls/File.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,MAAM,WAAW,SAAS;IACxB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;IAC5D,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,QAAA,MAAM,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CA0C7B,CAAC;AAEF,eAAe,IAAI,CAAC"}
@@ -1,11 +1,11 @@
1
- export default Input;
2
- declare function Input({ name, id, onChange, onKeyDown, defaultValue, value, label, isDisabled, isRequired, isFluid, type, className, placeholder, error, }: {
3
- name: any;
4
- id: any;
5
- onChange: any;
6
- onKeyDown: any;
7
- defaultValue: any;
8
- value: any;
1
+ import React from "react";
2
+ export interface InputProps {
3
+ name?: string;
4
+ id?: string;
5
+ onChange?: (e: React.ChangeEvent<HTMLInputElement>) => void;
6
+ onKeyDown?: (e: React.KeyboardEvent<HTMLInputElement>) => void;
7
+ defaultValue?: string;
8
+ value?: string;
9
9
  label?: string;
10
10
  isDisabled?: boolean;
11
11
  isRequired?: boolean;
@@ -14,5 +14,7 @@ declare function Input({ name, id, onChange, onKeyDown, defaultValue, value, lab
14
14
  className?: string;
15
15
  placeholder?: string;
16
16
  error?: string;
17
- }): import("react/jsx-runtime").JSX.Element;
17
+ }
18
+ declare const Input: React.FC<InputProps>;
19
+ export default Input;
18
20
  //# sourceMappingURL=Input.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../../../src/components/form-controls/Input.jsx"],"names":[],"mappings":";AAGA;;;;;;;;;;;;;;;4CAqDC"}
1
+ {"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../../../src/components/form-controls/Input.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,MAAM,WAAW,UAAU;IACzB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;IAC5D,SAAS,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;IAC/D,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,QAAA,MAAM,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CAmD/B,CAAC;AAEF,eAAe,KAAK,CAAC"}
@@ -1,15 +1,16 @@
1
- export default Radio;
2
- declare function Radio({ name, id, onChange, defaultValue, value, label, isDisabled, type, className, isFluid, error, }: {
3
- name: any;
4
- id: any;
5
- onChange: any;
6
- defaultValue: any;
7
- value: any;
1
+ import React from "react";
2
+ export interface RadioProps {
3
+ name?: string;
4
+ id?: string;
5
+ onChange?: (e: React.ChangeEvent<HTMLInputElement>) => void;
6
+ defaultValue?: string;
7
+ value?: string;
8
8
  label?: string;
9
9
  isDisabled?: boolean;
10
- type?: string;
11
10
  className?: string;
12
11
  isFluid?: boolean;
13
12
  error?: string;
14
- }): import("react/jsx-runtime").JSX.Element;
13
+ }
14
+ declare const Radio: React.FC<RadioProps>;
15
+ export default Radio;
15
16
  //# sourceMappingURL=Radio.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Radio.d.ts","sourceRoot":"","sources":["../../../src/components/form-controls/Radio.jsx"],"names":[],"mappings":";AAGA;;;;;;;;;;;;4CAwCC"}
1
+ {"version":3,"file":"Radio.d.ts","sourceRoot":"","sources":["../../../src/components/form-controls/Radio.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,MAAM,WAAW,UAAU;IACzB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;IAC5D,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,QAAA,MAAM,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CA0C/B,CAAC;AAEF,eAAe,KAAK,CAAC"}
@@ -1,18 +1,24 @@
1
- export default Select;
2
- declare function Select({ onChange, value, label, isDisabled, className, triggerClassName, triggerActiveClassName, contentsClassName, options, isRequired, placeholder, error, isFluid, isMulti, }: {
3
- onChange: any;
4
- value: any;
1
+ import React from "react";
2
+ export interface SelectOption {
3
+ label: string;
4
+ value: string | number;
5
+ }
6
+ export interface SelectProps {
7
+ onChange?: (option: SelectOption | SelectOption[]) => void;
8
+ value?: SelectOption | SelectOption[] | null;
5
9
  label?: string;
6
10
  isDisabled?: boolean;
7
11
  className?: string;
8
12
  triggerClassName?: string;
9
13
  triggerActiveClassName?: string;
10
14
  contentsClassName?: string;
11
- options?: any[];
15
+ options?: SelectOption[];
12
16
  isRequired?: boolean;
13
17
  placeholder?: string;
14
18
  error?: string;
15
19
  isFluid?: boolean;
16
20
  isMulti?: boolean;
17
- }): import("react/jsx-runtime").JSX.Element;
21
+ }
22
+ declare const Select: React.FC<SelectProps>;
23
+ export default Select;
18
24
  //# sourceMappingURL=Select.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../src/components/form-controls/Select.jsx"],"names":[],"mappings":";AAKA;;;;;;;;;;;;;;;4CAuJC"}
1
+ {"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../src/components/form-controls/Select.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAK3D,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,WAAW;IAC1B,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,YAAY,GAAG,YAAY,EAAE,KAAK,IAAI,CAAC;IAC3D,KAAK,CAAC,EAAE,YAAY,GAAG,YAAY,EAAE,GAAG,IAAI,CAAC;IAC7C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,OAAO,CAAC,EAAE,YAAY,EAAE,CAAC;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,QAAA,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAoKjC,CAAA;AAED,eAAe,MAAM,CAAC"}
@@ -1,10 +1,10 @@
1
- export default Stepper;
2
- declare function Stepper({ name, id, onChange, defaultValue, value, label, isDisabled, isRequired, isFluid, type, className, placeholder, error, }: {
3
- name: any;
4
- id: any;
5
- onChange: any;
6
- defaultValue: any;
7
- value: any;
1
+ import React from "react";
2
+ export interface FormControlsStepperProps {
3
+ name?: string;
4
+ id?: string;
5
+ onChange?: (e: React.ChangeEvent<HTMLInputElement>) => void;
6
+ defaultValue?: string;
7
+ value?: string;
8
8
  label?: string;
9
9
  isDisabled?: boolean;
10
10
  isRequired?: boolean;
@@ -13,5 +13,7 @@ declare function Stepper({ name, id, onChange, defaultValue, value, label, isDis
13
13
  className?: string;
14
14
  placeholder?: string;
15
15
  error?: string;
16
- }): import("react/jsx-runtime").JSX.Element;
16
+ }
17
+ declare const Stepper: React.FC<FormControlsStepperProps>;
18
+ export default Stepper;
17
19
  //# sourceMappingURL=Stepper.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Stepper.d.ts","sourceRoot":"","sources":["../../../src/components/form-controls/Stepper.jsx"],"names":[],"mappings":";AAGA;;;;;;;;;;;;;;4CA+CC"}
1
+ {"version":3,"file":"Stepper.d.ts","sourceRoot":"","sources":["../../../src/components/form-controls/Stepper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,MAAM,WAAW,wBAAwB;IACvC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;IAC5D,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,QAAA,MAAM,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,wBAAwB,CAiD/C,CAAC;AAEF,eAAe,OAAO,CAAC"}
@@ -1,10 +1,10 @@
1
- export default TextArea;
2
- declare function TextArea({ name, id, onChange, defaultValue, value, label, isDisabled, isRequired, isFluid, className, placeholder, error, }: {
3
- name: any;
4
- id: any;
5
- onChange: any;
6
- defaultValue: any;
7
- value: any;
1
+ import React from "react";
2
+ export interface TextAreaProps {
3
+ name?: string;
4
+ id?: string;
5
+ onChange?: (e: React.ChangeEvent<HTMLTextAreaElement>) => void;
6
+ defaultValue?: string;
7
+ value?: string;
8
8
  label?: string;
9
9
  isDisabled?: boolean;
10
10
  isRequired?: boolean;
@@ -12,5 +12,7 @@ declare function TextArea({ name, id, onChange, defaultValue, value, label, isDi
12
12
  className?: string;
13
13
  placeholder?: string;
14
14
  error?: string;
15
- }): import("react/jsx-runtime").JSX.Element;
15
+ }
16
+ declare const TextArea: React.FC<TextAreaProps>;
17
+ export default TextArea;
16
18
  //# sourceMappingURL=TextArea.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TextArea.d.ts","sourceRoot":"","sources":["../../../src/components/form-controls/TextArea.jsx"],"names":[],"mappings":";AAGA;;;;;;;;;;;;;4CA4CC"}
1
+ {"version":3,"file":"TextArea.d.ts","sourceRoot":"","sources":["../../../src/components/form-controls/TextArea.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,MAAM,WAAW,aAAa;IAC5B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC,mBAAmB,CAAC,KAAK,IAAI,CAAC;IAC/D,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,QAAA,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAgDrC,CAAC;AAEF,eAAe,QAAQ,CAAC"}