thailife-react 0.0.23 → 0.0.24

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 (106) hide show
  1. package/dist/cjs/index.js +508 -0
  2. package/dist/cjs/index.js.map +1 -0
  3. package/dist/esm/components/Autocomplete/Autocomplete.d.ts +18 -0
  4. package/dist/esm/components/Autocomplete/Autocomplete.d.ts.map +1 -0
  5. package/dist/esm/components/Autocomplete/index.d.ts +2 -0
  6. package/dist/esm/components/Autocomplete/index.d.ts.map +1 -0
  7. package/dist/esm/components/Button/Button.d.ts +14 -0
  8. package/dist/esm/components/Button/Button.d.ts.map +1 -0
  9. package/dist/esm/components/Button/index.d.ts +3 -0
  10. package/dist/esm/components/Button/index.d.ts.map +1 -0
  11. package/dist/esm/components/Checkbox/Checkbox.d.ts +12 -0
  12. package/dist/esm/components/Checkbox/Checkbox.d.ts.map +1 -0
  13. package/dist/esm/components/Checkbox/index.d.ts +3 -0
  14. package/dist/esm/components/Checkbox/index.d.ts.map +1 -0
  15. package/dist/esm/components/Datepicker/Datepicker.d.ts +23 -0
  16. package/dist/esm/components/Datepicker/Datepicker.d.ts.map +1 -0
  17. package/dist/esm/components/Datepicker/index.d.ts +3 -0
  18. package/dist/esm/components/Datepicker/index.d.ts.map +1 -0
  19. package/dist/esm/components/Input/Input.d.ts +27 -0
  20. package/dist/esm/components/Input/Input.d.ts.map +1 -0
  21. package/dist/esm/components/Input/index.d.ts +3 -0
  22. package/dist/esm/components/Input/index.d.ts.map +1 -0
  23. package/dist/esm/components/Radio/Radio.d.ts +12 -0
  24. package/dist/esm/components/Radio/Radio.d.ts.map +1 -0
  25. package/dist/esm/components/Radio/index.d.ts +3 -0
  26. package/dist/esm/components/Radio/index.d.ts.map +1 -0
  27. package/dist/esm/components/Select/Select.d.ts +16 -0
  28. package/dist/esm/components/Select/Select.d.ts.map +1 -0
  29. package/dist/esm/components/Select/index.d.ts +3 -0
  30. package/dist/esm/components/Select/index.d.ts.map +1 -0
  31. package/dist/esm/components/index.d.ts +8 -0
  32. package/dist/esm/components/index.d.ts.map +1 -0
  33. package/dist/esm/index.d.ts +3 -0
  34. package/dist/esm/index.d.ts.map +1 -0
  35. package/dist/esm/index.js +500 -0
  36. package/dist/esm/index.js.map +1 -0
  37. package/package.json +40 -74
  38. package/LICENSE +0 -21
  39. package/README.md +0 -118
  40. package/dist/components/Autocomplete/Autocomplete.d.ts +0 -17
  41. package/dist/components/Autocomplete/Autocomplete.d.ts.map +0 -1
  42. package/dist/components/Autocomplete/Autocomplete.stories.d.ts +0 -9
  43. package/dist/components/Autocomplete/Autocomplete.stories.d.ts.map +0 -1
  44. package/dist/components/Box/Box.d.ts +0 -86
  45. package/dist/components/Box/Box.d.ts.map +0 -1
  46. package/dist/components/Box/Box.stories.d.ts +0 -15
  47. package/dist/components/Box/Box.stories.d.ts.map +0 -1
  48. package/dist/components/Button/Button.d.ts +0 -12
  49. package/dist/components/Button/Button.d.ts.map +0 -1
  50. package/dist/components/Button/Button.stories.d.ts +0 -7
  51. package/dist/components/Button/Button.stories.d.ts.map +0 -1
  52. package/dist/components/Checkbox/Checkbox.d.ts +0 -13
  53. package/dist/components/Checkbox/Checkbox.d.ts.map +0 -1
  54. package/dist/components/Checkbox/Checkbox.stories.d.ts +0 -7
  55. package/dist/components/Checkbox/Checkbox.stories.d.ts.map +0 -1
  56. package/dist/components/Container/Container.d.ts +0 -9
  57. package/dist/components/Container/Container.d.ts.map +0 -1
  58. package/dist/components/Container/Container.stories.d.ts +0 -12
  59. package/dist/components/Container/Container.stories.d.ts.map +0 -1
  60. package/dist/components/DataTable/DataTable.d.ts +0 -30
  61. package/dist/components/DataTable/DataTable.d.ts.map +0 -1
  62. package/dist/components/DataTable/DataTable.stories.d.ts +0 -7
  63. package/dist/components/DataTable/DataTable.stories.d.ts.map +0 -1
  64. package/dist/components/DatePicker/DatePicker.d.ts +0 -31
  65. package/dist/components/DatePicker/DatePicker.d.ts.map +0 -1
  66. package/dist/components/DatePicker/DatePicker.stories.d.ts +0 -7
  67. package/dist/components/DatePicker/DatePicker.stories.d.ts.map +0 -1
  68. package/dist/components/DatePicker/examples.d.ts +0 -4
  69. package/dist/components/DatePicker/examples.d.ts.map +0 -1
  70. package/dist/components/DatePicker/index.d.ts +0 -4
  71. package/dist/components/DatePicker/index.d.ts.map +0 -1
  72. package/dist/components/Grid/Grid.d.ts +0 -30
  73. package/dist/components/Grid/Grid.d.ts.map +0 -1
  74. package/dist/components/Grid/Grid.stories.d.ts +0 -13
  75. package/dist/components/Grid/Grid.stories.d.ts.map +0 -1
  76. package/dist/components/Input/Input.d.ts +0 -13
  77. package/dist/components/Input/Input.d.ts.map +0 -1
  78. package/dist/components/Input/Input.stories.d.ts +0 -7
  79. package/dist/components/Input/Input.stories.d.ts.map +0 -1
  80. package/dist/components/InputFile/InputFile.d.ts +0 -14
  81. package/dist/components/InputFile/InputFile.d.ts.map +0 -1
  82. package/dist/components/InputFile/InputFile.stories.d.ts +0 -7
  83. package/dist/components/InputFile/InputFile.stories.d.ts.map +0 -1
  84. package/dist/components/Radio/Radio.d.ts +0 -12
  85. package/dist/components/Radio/Radio.d.ts.map +0 -1
  86. package/dist/components/Radio/Radio.stories.d.ts +0 -7
  87. package/dist/components/Radio/Radio.stories.d.ts.map +0 -1
  88. package/dist/components/Select/Select.d.ts +0 -19
  89. package/dist/components/Select/Select.d.ts.map +0 -1
  90. package/dist/components/Select/Select.stories.d.ts +0 -7
  91. package/dist/components/Select/Select.stories.d.ts.map +0 -1
  92. package/dist/components/Textarea/Textarea.d.ts +0 -13
  93. package/dist/components/Textarea/Textarea.d.ts.map +0 -1
  94. package/dist/components/Textarea/Textarea.stories.d.ts +0 -7
  95. package/dist/components/Textarea/Textarea.stories.d.ts.map +0 -1
  96. package/dist/index.d.ts +0 -31
  97. package/dist/index.d.ts.map +0 -1
  98. package/dist/index.esm.js +0 -2914
  99. package/dist/index.esm.js.map +0 -1
  100. package/dist/index.js +0 -2949
  101. package/dist/index.js.map +0 -1
  102. package/dist/styles/index.css +0 -1
  103. package/dist/styles/index.d.ts +0 -1
  104. package/dist/styles/index.d.ts.map +0 -1
  105. package/dist/styles/theme.d.ts +0 -87
  106. package/dist/styles/theme.d.ts.map +0 -1
@@ -1,86 +0,0 @@
1
- import React from 'react';
2
- declare const theme: {
3
- spacing: {
4
- '0': string;
5
- '1': string;
6
- '2': string;
7
- '3': string;
8
- '4': string;
9
- '5': string;
10
- '6': string;
11
- '8': string;
12
- '10': string;
13
- '12': string;
14
- '16': string;
15
- '20': string;
16
- '24': string;
17
- '32': string;
18
- '40': string;
19
- '48': string;
20
- '56': string;
21
- '64': string;
22
- };
23
- borderRadius: {
24
- sm: string;
25
- md: string;
26
- lg: string;
27
- full: string;
28
- };
29
- shadows: {
30
- sm: string;
31
- md: string;
32
- lg: string;
33
- };
34
- };
35
- export interface SystemProps {
36
- display?: "block" | "inline" | "inline-block" | "flex" | "inline-flex" | "grid" | "inline-grid" | "none";
37
- flexDirection?: "row" | "row-reverse" | "column" | "column-reverse";
38
- justifyContent?: "flex-start" | "flex-end" | "center" | "space-between" | "space-around" | "space-evenly";
39
- alignItems?: "flex-start" | "flex-end" | "center" | "baseline" | "stretch";
40
- flexWrap?: "nowrap" | "wrap" | "wrap-reverse";
41
- gap?: keyof typeof theme.spacing;
42
- p?: keyof typeof theme.spacing;
43
- pt?: keyof typeof theme.spacing;
44
- pr?: keyof typeof theme.spacing;
45
- pb?: keyof typeof theme.spacing;
46
- pl?: keyof typeof theme.spacing;
47
- px?: keyof typeof theme.spacing;
48
- py?: keyof typeof theme.spacing;
49
- m?: keyof typeof theme.spacing;
50
- mt?: keyof typeof theme.spacing;
51
- mr?: keyof typeof theme.spacing;
52
- mb?: keyof typeof theme.spacing;
53
- ml?: keyof typeof theme.spacing;
54
- mx?: keyof typeof theme.spacing;
55
- my?: keyof typeof theme.spacing;
56
- width?: string | number;
57
- height?: string | number;
58
- minWidth?: string | number;
59
- minHeight?: string | number;
60
- maxWidth?: string | number;
61
- maxHeight?: string | number;
62
- bgcolor?: string;
63
- color?: string;
64
- borderRadius?: keyof typeof theme.borderRadius;
65
- boxShadow?: keyof typeof theme.shadows;
66
- position?: "static" | "relative" | "absolute" | "fixed" | "sticky";
67
- top?: string | number;
68
- right?: string | number;
69
- bottom?: string | number;
70
- left?: string | number;
71
- zIndex?: number;
72
- overflow?: "visible" | "hidden" | "scroll" | "auto";
73
- textAlign?: "left" | "center" | "right" | "justify";
74
- }
75
- export type SxProps = SystemProps & React.CSSProperties;
76
- export interface BoxProps extends SystemProps {
77
- component?: React.ElementType;
78
- sx?: SxProps;
79
- children?: React.ReactNode;
80
- className?: string;
81
- style?: React.CSSProperties;
82
- [key: string]: any;
83
- }
84
- declare const Box: React.ForwardRefExoticComponent<Omit<BoxProps, "ref"> & React.RefAttributes<HTMLElement>>;
85
- export { Box };
86
- //# sourceMappingURL=Box.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Box.d.ts","sourceRoot":"","sources":["../../../src/components/Box/Box.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,QAAA,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgCV,CAAC;AAGF,MAAM,WAAW,WAAW;IAC1B,OAAO,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,cAAc,GAAG,MAAM,GAAG,aAAa,GAAG,MAAM,GAAG,aAAa,GAAG,MAAM,CAAC;IACzG,aAAa,CAAC,EAAE,KAAK,GAAG,aAAa,GAAG,QAAQ,GAAG,gBAAgB,CAAC;IACpE,cAAc,CAAC,EAAE,YAAY,GAAG,UAAU,GAAG,QAAQ,GAAG,eAAe,GAAG,cAAc,GAAG,cAAc,CAAC;IAC1G,UAAU,CAAC,EAAE,YAAY,GAAG,UAAU,GAAG,QAAQ,GAAG,UAAU,GAAG,SAAS,CAAC;IAC3E,QAAQ,CAAC,EAAE,QAAQ,GAAG,MAAM,GAAG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,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,OAAO,KAAK,CAAC,YAAY,CAAC;IAC/C,SAAS,CAAC,EAAE,MAAM,OAAO,KAAK,CAAC,OAAO,CAAC;IACvC,QAAQ,CAAC,EAAE,QAAQ,GAAG,UAAU,GAAG,UAAU,GAAG,OAAO,GAAG,QAAQ,CAAC;IACnE,GAAG,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,SAAS,GAAG,QAAQ,GAAG,QAAQ,GAAG,MAAM,CAAC;IACpD,SAAS,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,OAAO,GAAG,SAAS,CAAC;CACrD;AAGD,MAAM,MAAM,OAAO,GAAG,WAAW,GAAG,KAAK,CAAC,aAAa,CAAC;AAExD,MAAM,WAAW,QAAS,SAAQ,WAAW;IAC3C,SAAS,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC;IAC9B,EAAE,CAAC,EAAE,OAAO,CAAC;IACb,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACpB;AA8ED,QAAA,MAAM,GAAG,2FAmDP,CAAC;AAIH,OAAO,EAAE,GAAG,EAAE,CAAC"}
@@ -1,15 +0,0 @@
1
- import type { Meta, StoryObj } from "@storybook/react";
2
- import { Box } from "./Box";
3
- declare const meta: Meta<typeof Box>;
4
- export default meta;
5
- type Story = StoryObj<typeof meta>;
6
- export declare const Default: Story;
7
- export declare const FlexContainer: Story;
8
- export declare const GridContainer: Story;
9
- export declare const WithShadow: Story;
10
- export declare const ResponsiveSpacing: Story;
11
- export declare const PositionedBox: Story;
12
- export declare const WithComponent: Story;
13
- export declare const WithSxProp: Story;
14
- export declare const MixedPropsAndSx: Story;
15
- //# sourceMappingURL=Box.stories.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Box.stories.d.ts","sourceRoot":"","sources":["../../../src/components/Box/Box.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAE5B,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,GAAG,CAkE1B,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAQrB,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,KAkB3B,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,KAoB3B,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,KAUxB,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,KAS/B,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,KAuB3B,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,KAkB3B,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,KA0CxB,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,KAkD7B,CAAC"}
@@ -1,12 +0,0 @@
1
- import React from 'react';
2
- import "./Button.css";
3
- export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
4
- variant?: 'contained' | 'outlined' | 'link';
5
- size?: 'sm' | 'md' | 'lg';
6
- fullWidth?: boolean;
7
- loading?: boolean;
8
- color?: 'primary' | 'error' | 'dark' | 'light';
9
- }
10
- declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
11
- export { Button };
12
- //# sourceMappingURL=Button.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../src/components/Button/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,cAAc,CAAA;AACrB,MAAM,WAAW,WAAY,SAAQ,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC;IAChF,OAAO,CAAC,EAAE,WAAW,GAAG,UAAU,GAAG,MAAM,CAAC;IAC5C,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,KAAK,CAAC,EAAE,SAAS,GAAG,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC;CAChD;AAED,QAAA,MAAM,MAAM,uFA2BX,CAAC;AAIF,OAAO,EAAE,MAAM,EAAE,CAAC"}
@@ -1,7 +0,0 @@
1
- import type { Meta, StoryObj } from "@storybook/react";
2
- import { Button } from "./Button";
3
- declare const meta: Meta<typeof Button>;
4
- export default meta;
5
- type Story = StoryObj<typeof meta>;
6
- export declare const Default: Story;
7
- //# sourceMappingURL=Button.stories.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Button.stories.d.ts","sourceRoot":"","sources":["../../../src/components/Button/Button.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAElC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,MAAM,CA8B7B,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAQrB,CAAC"}
@@ -1,13 +0,0 @@
1
- import React from "react";
2
- import "./Checkbox.css";
3
- export interface CheckboxProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'type' | 'size'> {
4
- label?: string;
5
- error?: string;
6
- helperText?: string;
7
- size?: 'sm' | 'md' | 'lg';
8
- fullWidth?: boolean;
9
- indeterminate?: boolean;
10
- }
11
- declare const Checkbox: React.ForwardRefExoticComponent<CheckboxProps & React.RefAttributes<HTMLInputElement>>;
12
- export { Checkbox };
13
- //# sourceMappingURL=Checkbox.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Checkbox.d.ts","sourceRoot":"","sources":["../../../src/components/Checkbox/Checkbox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,gBAAgB,CAAC;AAExB,MAAM,WAAW,aAAc,SAAQ,IAAI,CAAC,KAAK,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACvG,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB;AAED,QAAA,MAAM,QAAQ,wFAoCb,CAAC;AAIF,OAAO,EAAE,QAAQ,EAAE,CAAC"}
@@ -1,7 +0,0 @@
1
- import type { Meta, StoryObj } from "@storybook/react";
2
- import { Checkbox } from "./Checkbox";
3
- declare const meta: Meta<typeof Checkbox>;
4
- export default meta;
5
- type Story = StoryObj<typeof meta>;
6
- export declare const Default: Story;
7
- //# sourceMappingURL=Checkbox.stories.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Checkbox.stories.d.ts","sourceRoot":"","sources":["../../../src/components/Checkbox/Checkbox.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,QAAQ,CAyB/B,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAKrB,CAAC"}
@@ -1,9 +0,0 @@
1
- import React from 'react';
2
- export interface ContainerProps extends React.HTMLAttributes<HTMLDivElement> {
3
- maxWidth?: 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'none';
4
- disableGutters?: boolean;
5
- fixed?: boolean;
6
- }
7
- declare const Container: React.ForwardRefExoticComponent<ContainerProps & React.RefAttributes<HTMLDivElement>>;
8
- export { Container };
9
- //# sourceMappingURL=Container.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Container.d.ts","sourceRoot":"","sources":["../../../src/components/Container/Container.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,MAAM,WAAW,cAAe,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IAC1E,QAAQ,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,MAAM,CAAC;IACrD,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB;AAED,QAAA,MAAM,SAAS,uFAgBd,CAAC;AAIF,OAAO,EAAE,SAAS,EAAE,CAAC"}
@@ -1,12 +0,0 @@
1
- import type { Meta, StoryObj } from "@storybook/react";
2
- import { Container } from "./Container";
3
- declare const meta: Meta<typeof Container>;
4
- export default meta;
5
- type Story = StoryObj<typeof meta>;
6
- export declare const Default: Story;
7
- export declare const AllSizes: Story;
8
- export declare const WithoutGutters: Story;
9
- export declare const FixedWidth: Story;
10
- export declare const NestedContainers: Story;
11
- export declare const ResponsiveContent: Story;
12
- //# sourceMappingURL=Container.stories.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Container.stories.d.ts","sourceRoot":"","sources":["../../../src/components/Container/Container.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAGxC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,SAAS,CAmBhC,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAWrB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAmCtB,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,KAY5B,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,KAYxB,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,KAe9B,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,KA4B/B,CAAC"}
@@ -1,30 +0,0 @@
1
- import React from "react";
2
- import './DataTable.css';
3
- export interface DataTableColumn<T = any> {
4
- key: string;
5
- label: string;
6
- render?: (value: any, row: T, index: number) => React.ReactNode;
7
- width?: string;
8
- align?: "left" | "center" | "right";
9
- sortable?: boolean;
10
- }
11
- export interface DataTableProps<T = any> {
12
- columns: DataTableColumn<T>[];
13
- data: T[];
14
- className?: string;
15
- emptyMessage?: string;
16
- pagination?: boolean;
17
- paginationPerPage?: number;
18
- paginationRowsPerPageOptions?: number[];
19
- search?: boolean;
20
- searchPlaceholder?: string;
21
- searchableColumns?: string[];
22
- onSort?: (column: string, direction: "asc" | "desc") => void;
23
- onPageChange?: (page: number) => void;
24
- onRowsPerPageChange?: (rowsPerPage: number) => void;
25
- onSearch?: (searchTerm: string) => void;
26
- }
27
- declare const DataTable: React.ForwardRefExoticComponent<DataTableProps<any> & React.RefAttributes<HTMLTableElement>>;
28
- export { DataTable };
29
- export default DataTable;
30
- //# sourceMappingURL=DataTable.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"DataTable.d.ts","sourceRoot":"","sources":["../../../src/components/DataTable/DataTable.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAC;AAEjD,OAAO,iBAAiB,CAAC;AAEzB,MAAM,WAAW,eAAe,CAAC,CAAC,GAAG,GAAG;IACpC,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC,EAAE,KAAK,EAAE,MAAM,KAAK,KAAK,CAAC,SAAS,CAAC;IAChE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,OAAO,CAAC;IACpC,QAAQ,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,MAAM,WAAW,cAAc,CAAC,CAAC,GAAG,GAAG;IACnC,OAAO,EAAE,eAAe,CAAC,CAAC,CAAC,EAAE,CAAC;IAC9B,IAAI,EAAE,CAAC,EAAE,CAAC;IACV,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,4BAA4B,CAAC,EAAE,MAAM,EAAE,CAAC;IACxC,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,iBAAiB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC7B,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,KAAK,GAAG,MAAM,KAAK,IAAI,CAAC;IAC7D,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,mBAAmB,CAAC,EAAE,CAAC,WAAW,EAAE,MAAM,KAAK,IAAI,CAAC;IACpD,QAAQ,CAAC,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,IAAI,CAAC;CAC3C;AAED,QAAA,MAAM,SAAS,8FAoQd,CAAC;AAIF,OAAO,EAAE,SAAS,EAAE,CAAC;AACrB,eAAe,SAAS,CAAC"}
@@ -1,7 +0,0 @@
1
- import type { Meta, StoryObj } from "@storybook/react";
2
- import { DataTable } from "./DataTable";
3
- declare const meta: Meta<typeof DataTable>;
4
- export default meta;
5
- type Story = StoryObj<typeof meta>;
6
- export declare const Default: Story;
7
- //# sourceMappingURL=DataTable.stories.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"DataTable.stories.d.ts","sourceRoot":"","sources":["../../../src/components/DataTable/DataTable.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,SAAS,CAYhC,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAkDnC,eAAO,MAAM,OAAO,EAAE,KAUrB,CAAC"}
@@ -1,31 +0,0 @@
1
- import React from 'react';
2
- import './DatePicker.css';
3
- export type DateFormat = 'DD/MM/YYYY' | 'DD/MM/YYYY HH:mm' | 'MM/DD/YYYY' | 'MM/DD/YYYY HH:mm' | 'YYYY-MM-DD' | 'YYYY-MM-DD HH:mm';
4
- export type Language = 'th' | 'en';
5
- export type YearType = 'be' | 'ad';
6
- export interface DateTimePickerProps {
7
- format?: DateFormat;
8
- language?: Language;
9
- yearType?: YearType;
10
- value?: Date | string | null;
11
- onChange?: (date: Date | null) => void;
12
- placeholder?: string;
13
- disabled?: boolean;
14
- minDate?: Date;
15
- maxDate?: Date;
16
- className?: string;
17
- showClear?: boolean;
18
- showToday?: boolean;
19
- disabledPast?: boolean;
20
- disabledFuture?: boolean;
21
- fullWidth?: boolean;
22
- label?: string;
23
- error?: string;
24
- helperText?: string;
25
- id?: string;
26
- showIcon?: boolean;
27
- }
28
- declare const DatePicker: React.FC<DateTimePickerProps>;
29
- export default DatePicker;
30
- export { DatePicker };
31
- //# sourceMappingURL=Datepicker.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Datepicker.d.ts","sourceRoot":"","sources":["../../../src/components/DatePicker/Datepicker.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAE3D,OAAO,kBAAkB,CAAC;AAG1B,MAAM,MAAM,UAAU,GAAG,YAAY,GAAG,kBAAkB,GAAG,YAAY,GAAG,kBAAkB,GAAG,YAAY,GAAG,kBAAkB,CAAC;AACnI,MAAM,MAAM,QAAQ,GAAG,IAAI,GAAG,IAAI,CAAC;AACnC,MAAM,MAAM,QAAQ,GAAG,IAAI,GAAG,IAAI,CAAC;AAEnC,MAAM,WAAW,mBAAmB;IAClC,MAAM,CAAC,EAAE,UAAU,CAAC;IACpB,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,KAAK,CAAC,EAAE,IAAI,GAAG,MAAM,GAAG,IAAI,CAAC;IAC7B,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI,KAAK,IAAI,CAAC;IACvC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,IAAI,CAAC;IACf,OAAO,CAAC,EAAE,IAAI,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AA8ED,QAAA,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CA8e7C,CAAC;AAEF,eAAe,UAAU,CAAC;AAC1B,OAAO,EAAE,UAAU,EAAE,CAAC"}
@@ -1,7 +0,0 @@
1
- import type { Meta, StoryObj } from '@storybook/react';
2
- import { DatePicker } from './Datepicker';
3
- declare const meta: Meta<typeof DatePicker>;
4
- export default meta;
5
- type Story = StoryObj<typeof DatePicker>;
6
- export declare const Default: Story;
7
- //# sourceMappingURL=DatePicker.stories.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"DatePicker.stories.d.ts","sourceRoot":"","sources":["../../../src/components/DatePicker/DatePicker.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAEvD,OAAO,EAAE,UAAU,EAA4B,MAAM,cAAc,CAAC;AAoBpE,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,UAAU,CA+FjC,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,UAAU,CAAC,CAAC;AAGzC,eAAO,MAAM,OAAO,EAAE,KAYrB,CAAC"}
@@ -1,4 +0,0 @@
1
- import React from "react";
2
- export declare const DatePickerExamples: React.FC;
3
- export default DatePickerExamples;
4
- //# sourceMappingURL=examples.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"examples.d.ts","sourceRoot":"","sources":["../../../src/components/DatePicker/examples.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAGxC,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAgEtC,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
@@ -1,4 +0,0 @@
1
- export { DatePicker } from "./DatePicker";
2
- export type { DatePickerProps } from "./DatePicker";
3
- export { default } from "./DatePicker";
4
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/DatePicker/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,YAAY,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC"}
@@ -1,30 +0,0 @@
1
- import React from 'react';
2
- import './Grid.css';
3
- export interface GridProps extends React.HTMLAttributes<HTMLDivElement> {
4
- /** Whether this is a container or item */
5
- container?: boolean;
6
- item?: boolean;
7
- /** Grid spacing */
8
- spacing?: 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8;
9
- /** Direction of the grid */
10
- direction?: 'row' | 'row-reverse' | 'column' | 'column-reverse';
11
- /** Justify content */
12
- justifyContent?: 'flex-start' | 'center' | 'flex-end' | 'space-between' | 'space-around' | 'space-evenly';
13
- /** Align items */
14
- alignItems?: 'flex-start' | 'center' | 'flex-end' | 'stretch' | 'baseline';
15
- /** Wrap behavior */
16
- wrap?: 'nowrap' | 'wrap' | 'wrap-reverse';
17
- /** Grid size for all breakpoints */
18
- xs?: boolean | 'auto' | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
19
- /** Grid size for small breakpoints and up */
20
- sm?: boolean | 'auto' | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
21
- /** Grid size for medium breakpoints and up */
22
- md?: boolean | 'auto' | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
23
- /** Grid size for large breakpoints and up */
24
- lg?: boolean | 'auto' | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
25
- /** Grid size for extra large breakpoints and up */
26
- xl?: boolean | 'auto' | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
27
- }
28
- declare const Grid: React.ForwardRefExoticComponent<GridProps & React.RefAttributes<HTMLDivElement>>;
29
- export { Grid };
30
- //# sourceMappingURL=Grid.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Grid.d.ts","sourceRoot":"","sources":["../../../src/components/Grid/Grid.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,YAAY,CAAC;AAEpB,MAAM,WAAW,SAAU,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IACrE,0CAA0C;IAC1C,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,mBAAmB;IACnB,OAAO,CAAC,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IAC5C,4BAA4B;IAC5B,SAAS,CAAC,EAAE,KAAK,GAAG,aAAa,GAAG,QAAQ,GAAG,gBAAgB,CAAC;IAChE,sBAAsB;IACtB,cAAc,CAAC,EACb,YAAY,GACZ,QAAQ,GACR,UAAU,GACV,eAAe,GACf,cAAc,GACd,cAAc,CAAC;IACjB,kBAAkB;IAClB,UAAU,CAAC,EAAE,YAAY,GAAG,QAAQ,GAAG,UAAU,GAAG,SAAS,GAAG,UAAU,CAAC;IAC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j } from "@storybook/react";
2
- import { Grid } from "./Grid";
3
- declare const meta: Meta<typeof Grid>;
4
- export default meta;
5
- type Story = StoryObj<typeof meta>;
6
- export declare const Default: Story;
7
- export declare const BasicGrid: Story;
8
- export declare const ResponsiveGrid: Story;
9
- export declare const AutoWidth: Story;
10
- export declare const NestedGrid: Story;
11
- export declare const DifferentSpacing: Story;
12
- export declare const JustifyContent: Story;
13
- //# sourceMappingURL=Grid.stories.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Grid.stories.d.ts","sourceRoot":"","sources":["../../../src/components/Grid/Grid.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAG9B,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,IAAI,CAuD3B,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAqBrB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,KA0BvB,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,KA8B5B,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,KAqBvB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,KA6BxB,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,KAkD9B,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,KAyC5B,CAAC"}
@@ -1,13 +0,0 @@
1
- import React from 'react';
2
- import "./Input.css";
3
- export interface InputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'size'> {
4
- label?: string;
5
- error?: string;
6
- helperText?: string;
7
- size?: 'sm' | 'md' | 'lg';
8
- fullWidth?: boolean;
9
- unit?: string;
10
- }
11
- declare const Input: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HTMLInputElement>>;
12
- export { Input };
13
- //# sourceMappingURL=Input.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../../../src/components/Input/Input.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,aAAa,CAAA;AAEpB,MAAM,WAAW,UAAW,SAAQ,IAAI,CAAC,KAAK,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC3F,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,QAAA,MAAM,KAAK,qFAgCV,CAAC;AAIF,OAAO,EAAE,KAAK,EAAE,CAAC"}
@@ -1,7 +0,0 @@
1
- import type { Meta, StoryObj } from "@storybook/react";
2
- import { Input } from "./Input";
3
- declare const meta: Meta<typeof Input>;
4
- export default meta;
5
- type Story = StoryObj<typeof meta>;
6
- export declare const Default: Story;
7
- //# sourceMappingURL=Input.stories.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Input.stories.d.ts","sourceRoot":"","sources":["../../../src/components/Input/Input.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAEhC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,KAAK,CA0B5B,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAMrB,CAAC"}
@@ -1,14 +0,0 @@
1
- import React from 'react';
2
- export interface InputFileProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'type' | 'size'> {
3
- label?: string;
4
- error?: string;
5
- helperText?: string;
6
- size?: 'sm' | 'md' | 'lg';
7
- fullWidth?: boolean;
8
- multiple?: boolean;
9
- accept?: string;
10
- buttonText?: string;
11
- }
12
- declare const InputFile: React.ForwardRefExoticComponent<InputFileProps & React.RefAttributes<HTMLInputElement>>;
13
- export { InputFile };
14
- //# sourceMappingURL=InputFile.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"InputFile.d.ts","sourceRoot":"","sources":["../../../src/components/InputFile/InputFile.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,MAAM,WAAW,cAAe,SAAQ,IAAI,CAAC,KAAK,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxG,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,QAAA,MAAM,SAAS,yFAsBd,CAAC;AAIF,OAAO,EAAE,SAAS,EAAE,CAAC"}
@@ -1,7 +0,0 @@
1
- import type { Meta, StoryObj } from "@storybook/react";
2
- import { InputFile } from "./InputFile";
3
- declare const meta: Meta<typeof InputFile>;
4
- export default meta;
5
- type Story = StoryObj<typeof meta>;
6
- export declare const Default: Story;
7
- //# sourceMappingURL=InputFile.stories.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"InputFile.stories.d.ts","sourceRoot":"","sources":["../../../src/components/InputFile/InputFile.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,SAAS,CA4BhC,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAKrB,CAAC"}
@@ -1,12 +0,0 @@
1
- import React from "react";
2
- import "./Radio.css";
3
- export interface RadioProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'type' | 'size'> {
4
- label?: string;
5
- error?: string;
6
- helperText?: string;
7
- size?: 'sm' | 'md' | 'lg';
8
- fullWidth?: boolean;
9
- }
10
- declare const Radio: React.ForwardRefExoticComponent<RadioProps & React.RefAttributes<HTMLInputElement>>;
11
- export { Radio };
12
- //# sourceMappingURL=Radio.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Radio.d.ts","sourceRoot":"","sources":["../../../src/components/Radio/Radio.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,aAAa,CAAC;AAErB,MAAM,WAAW,UAAW,SAAQ,IAAI,CAAC,KAAK,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACpG,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,QAAA,MAAM,KAAK,qFAoBV,CAAC;AAIF,OAAO,EAAE,KAAK,EAAE,CAAC"}
@@ -1,7 +0,0 @@
1
- import type { Meta, StoryObj } from "@storybook/react";
2
- import { Radio } from "./Radio";
3
- declare const meta: Meta<typeof Radio>;
4
- export default meta;
5
- type Story = StoryObj<typeof meta>;
6
- export declare const Default: Story;
7
- //# sourceMappingURL=Radio.stories.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Radio.stories.d.ts","sourceRoot":"","sources":["../../../src/components/Radio/Radio.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAEhC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,KAAK,CAsB5B,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAKrB,CAAC"}
@@ -1,19 +0,0 @@
1
- import React from "react";
2
- import "./Select.css";
3
- export interface SelectOption {
4
- value: string;
5
- label: string;
6
- disabled?: boolean;
7
- }
8
- export interface SelectProps extends Omit<React.SelectHTMLAttributes<HTMLSelectElement>, 'size'> {
9
- label?: string;
10
- error?: string;
11
- helperText?: string;
12
- size?: 'sm' | 'md' | 'lg';
13
- fullWidth?: boolean;
14
- options: SelectOption[];
15
- placeholder?: string;
16
- }
17
- declare const Select: React.ForwardRefExoticComponent<SelectProps & React.RefAttributes<HTMLSelectElement>>;
18
- export { Select };
19
- //# sourceMappingURL=Select.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../src/components/Select/Select.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,cAAc,CAAC;AAEtB,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,WAAW,WAAY,SAAQ,IAAI,CAAC,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC9F,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,OAAO,EAAE,YAAY,EAAE,CAAC;IACxB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,QAAA,MAAM,MAAM,uFAuCX,CAAC;AAIF,OAAO,EAAE,MAAM,EAAE,CAAC"}
@@ -1,7 +0,0 @@
1
- import type { Meta, StoryObj } from "@storybook/react";
2
- import { Select } from "./Select";
3
- declare const meta: Meta<typeof Select>;
4
- export default meta;
5
- type Story = StoryObj<typeof meta>;
6
- export declare const Default: Story;
7
- //# sourceMappingURL=Select.stories.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Select.stories.d.ts","sourceRoot":"","sources":["../../../src/components/Select/Select.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAElC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,MAAM,CAsB7B,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAQnC,eAAO,MAAM,OAAO,EAAE,KAMrB,CAAC"}
@@ -1,13 +0,0 @@
1
- import React from "react";
2
- import "./Textarea.css";
3
- export interface TextareaProps extends Omit<React.TextareaHTMLAttributes<HTMLTextAreaElement>, 'size'> {
4
- label?: string;
5
- error?: string;
6
- helperText?: string;
7
- size?: 'sm' | 'md' | 'lg';
8
- fullWidth?: boolean;
9
- rows?: number;
10
- }
11
- declare const Textarea: React.ForwardRefExoticComponent<TextareaProps & React.RefAttributes<HTMLTextAreaElement>>;
12
- export { Textarea };
13
- //# sourceMappingURL=Textarea.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Textarea.d.ts","sourceRoot":"","sources":["../../../src/components/Textarea/Textarea.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,gBAAgB,CAAC;AAExB,MAAM,WAAW,aAAc,SAAQ,IAAI,CAAC,KAAK,CAAC,sBAAsB,CAAC,mBAAmB,CAAC,EAAE,MAAM,CAAC;IACpG,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,QAAA,MAAM,QAAQ,2FAsBb,CAAC;AAIF,OAAO,EAAE,QAAQ,EAAE,CAAC"}
@@ -1,7 +0,0 @@
1
- import type { Meta, StoryObj } from "@storybook/react";
2
- import { Textarea } from "./Textarea";
3
- declare const meta: Meta<typeof Textarea>;
4
- export default meta;
5
- type Story = StoryObj<typeof meta>;
6
- export declare const Default: Story;
7
- //# sourceMappingURL=Textarea.stories.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Textarea.stories.d.ts","sourceRoot":"","sources":["../../../src/components/Textarea/Textarea.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,QAAQ,CAyB/B,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAMrB,CAAC"}
package/dist/index.d.ts DELETED
@@ -1,31 +0,0 @@
1
- import React from "react";
2
- import "./main.css";
3
- export { Button } from "./components/Button/Button";
4
- export type { ButtonProps } from "./components/Button/Button";
5
- export { Input } from "./components/Input/Input";
6
- export type { InputProps } from "./components/Input/Input";
7
- export { Textarea } from "./components/Textarea/Textarea";
8
- export type { TextareaProps } from "./components/Textarea/Textarea";
9
- export { InputFile } from "./components/InputFile/InputFile";
10
- export type { InputFileProps } from "./components/InputFile/InputFile";
11
- export { Checkbox } from "./components/Checkbox/Checkbox";
12
- export type { CheckboxProps } from "./components/Checkbox/Checkbox";
13
- export { Radio } from "./components/Radio/Radio";
14
- export type { RadioProps } from "./components/Radio/Radio";
15
- export { Select } from "./components/Select/Select";
16
- export type { SelectProps, SelectOption } from "./components/Select/Select";
17
- export { DatePicker } from "./components/DatePicker/Datepicker";
18
- export type { DateTimePickerProps } from "./components/DatePicker/Datepicker";
19
- export { DataTable } from "./components/DataTable/DataTable";
20
- export type { DataTableProps, DataTableColumn } from "./components/DataTable/DataTable";
21
- export { Autocomplete } from "./components/Autocomplete/Autocomplete";
22
- export type { AutocompleteProps } from "./components/Autocomplete/Autocomplete";
23
- export { Box } from "./components/Box/Box";
24
- export type { BoxProps } from "./components/Box/Box";
25
- export { Container } from "./components/Container/Container";
26
- export type { ContainerProps } from "./components/Container/Container";
27
- export { Grid } from "./components/Grid/Grid";
28
- export type { GridProps } from "./components/Grid/Grid";
29
- export { React };
30
- export default React;
31
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,YAAY,CAAC;AAGpB,O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