@ctlyst.id/internal-ui 1.0.4-canary.9 → 1.1.0-canary.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (100) hide show
  1. package/README.md +1 -1
  2. package/dist/components/alert/__stories__/alert.stories.d.ts +14 -0
  3. package/dist/components/alert/components/alert-action.d.ts +6 -0
  4. package/dist/components/alert/components/alert-close.d.ts +6 -0
  5. package/dist/components/alert/components/alert-context.d.ts +29 -0
  6. package/dist/components/alert/components/alert-description.d.ts +3 -0
  7. package/dist/components/alert/components/alert-icon.d.ts +6 -0
  8. package/dist/components/alert/components/alert-title.d.ts +3 -0
  9. package/dist/components/alert/components/alert.d.ts +25 -0
  10. package/dist/components/alert/components/icons.d.ts +3 -0
  11. package/dist/components/alert/components/index.d.ts +14 -0
  12. package/dist/components/alert/index.d.ts +1 -0
  13. package/dist/components/{base/stories/button.stories.d.ts → badge/__stories__/badge.stories.d.ts} +1 -1
  14. package/dist/components/badge/components/badge.d.ts +11 -0
  15. package/dist/components/badge/index.d.ts +2 -0
  16. package/dist/components/button/__stories__/button.stories.d.ts +14 -0
  17. package/dist/components/button/components/button.d.ts +4 -0
  18. package/dist/components/button/index.d.ts +2 -0
  19. package/dist/components/card/__stories__/card.stories.d.ts +11 -0
  20. package/dist/components/card/components/card.d.ts +8 -0
  21. package/dist/components/card/index.d.ts +2 -0
  22. package/dist/components/checkbox/__stories__/checkbox-group.stories.d.ts +13 -0
  23. package/dist/components/checkbox/__stories__/checkbox.stories.d.ts +12 -0
  24. package/dist/components/checkbox/components/checkbox-group.d.ts +18 -0
  25. package/dist/components/checkbox/components/checkbox.d.ts +16 -0
  26. package/dist/components/checkbox/index.d.ts +4 -0
  27. package/dist/components/chips/__stories__/chips.stories.d.ts +12 -0
  28. package/dist/components/chips/components/chips.d.ts +19 -0
  29. package/dist/components/chips/index.d.ts +2 -0
  30. package/dist/components/field/components/field.d.ts +4 -2
  31. package/dist/components/field/index.d.ts +0 -4
  32. package/dist/components/form/__stories__/input.stories.d.ts +14 -0
  33. package/dist/components/form/__stories__/textarea.stories.d.ts +10 -0
  34. package/dist/components/form/components/input-addon.d.ts +7 -0
  35. package/dist/components/{field → form}/components/input-field.d.ts +4 -1
  36. package/dist/components/{field/components/textarea-field.d.ts → form/components/textarea.d.ts} +2 -6
  37. package/dist/components/form/index.d.ts +4 -0
  38. package/dist/components/form/styles/input-field.d.ts +4 -0
  39. package/dist/components/index.d.ts +9 -0
  40. package/dist/components/layouting/components/box.d.ts +4 -0
  41. package/dist/components/layouting/components/container.d.ts +4 -0
  42. package/dist/components/layouting/components/flex.d.ts +4 -0
  43. package/dist/components/layouting/components/grid.d.ts +4 -0
  44. package/dist/components/layouting/components/stack.d.ts +4 -0
  45. package/dist/components/layouting/components/wrap.d.ts +4 -0
  46. package/dist/components/layouting/index.d.ts +12 -0
  47. package/dist/components/{base/stories/checkbox.stories.d.ts → loader/__stories__/loader.stories.d.ts} +3 -2
  48. package/dist/components/loader/components/loader.d.ts +9 -0
  49. package/dist/components/loader/index.d.ts +2 -0
  50. package/dist/components/radio/__stories__/radio-group.stories.d.ts +13 -0
  51. package/dist/components/radio/__stories__/radio.stories.d.ts +12 -0
  52. package/dist/components/radio/components/radio-group.d.ts +17 -0
  53. package/dist/components/radio/components/radio.d.ts +16 -0
  54. package/dist/components/radio/index.d.ts +4 -0
  55. package/dist/components/rating/__stories__/rating.stories.d.ts +10 -0
  56. package/dist/components/rating/components/rating.d.ts +6 -0
  57. package/dist/components/rating/index.d.ts +2 -0
  58. package/dist/components/switch/__stories__/switch.stories.d.ts +13 -0
  59. package/dist/components/switch/components/switch.d.ts +18 -0
  60. package/dist/components/switch/index.d.ts +2 -0
  61. package/dist/components/text/components/text.d.ts +4 -0
  62. package/dist/components/text/index.d.ts +2 -0
  63. package/dist/config/{foundations.stories.d.ts → __stories__/foundations.stories.d.ts} +1 -0
  64. package/dist/config/theme/components/alert.d.ts +79 -0
  65. package/dist/config/theme/components/card.d.ts +18 -0
  66. package/dist/config/theme/components/checkbox.d.ts +87 -2
  67. package/dist/config/theme/components/chips.d.ts +30 -0
  68. package/dist/config/theme/components/index.d.ts +5 -1
  69. package/dist/config/theme/components/input.d.ts +8 -21
  70. package/dist/config/theme/components/loader.d.ts +85 -0
  71. package/dist/config/theme/components/radio.d.ts +98 -2
  72. package/dist/config/theme/components/switch.d.ts +43 -9
  73. package/dist/config/theme/components/textarea.d.ts +54 -2
  74. package/dist/config/theme/foundations/index.d.ts +3 -2
  75. package/dist/config/theme/foundations/shadows.d.ts +15 -0
  76. package/dist/config/theme/foundations/typography.d.ts +25 -7
  77. package/dist/config/theme/themeConfiguration.d.ts +4 -2
  78. package/dist/internal-ui.cjs.development.js +1411 -377
  79. package/dist/internal-ui.cjs.development.js.map +1 -1
  80. package/dist/internal-ui.cjs.production.min.js +10 -10
  81. package/dist/internal-ui.cjs.production.min.js.map +1 -1
  82. package/dist/internal-ui.esm.js +1413 -395
  83. package/dist/internal-ui.esm.js.map +1 -1
  84. package/dist/provider/{provider.d.ts → components/provider.d.ts} +1 -1
  85. package/dist/provider/index.d.ts +2 -2
  86. package/package.json +12 -11
  87. package/dist/components/base/stories/input.stories.d.ts +0 -16
  88. package/dist/components/base/stories/radio.stories.d.ts +0 -15
  89. /package/dist/components/base/{stories → __stories__}/switch.stories.d.ts +0 -0
  90. /package/dist/components/breadcrumb/{components/BreadCrumb.stories.d.ts → __stories__/breadcrumb.stories.d.ts} +0 -0
  91. /package/dist/components/data-table/{stories/data-table.stories.d.ts → __stories__/datatable.stories.d.ts} +0 -0
  92. /package/dist/components/datepicker/{components → __stories__}/datepicker.stories.d.ts +0 -0
  93. /package/dist/components/header/{stories → __stories__}/header.stories.d.ts +0 -0
  94. /package/dist/components/modal/{stories → __stories__}/modal.stories.d.ts +0 -0
  95. /package/dist/components/navigation/{stories → __stories__}/navigation.stories.d.ts +0 -0
  96. /package/dist/components/pagination/{stories → __stories__}/pagination.stories.d.ts +0 -0
  97. /package/dist/components/select/{stories → __stories__}/select.stories.d.ts +0 -0
  98. /package/dist/components/tabs/{stories → __stories__}/tabs.stories.d.ts +0 -0
  99. /package/dist/components/uploader/{stories → __stories__}/uploader.stories.d.ts +0 -0
  100. /package/dist/provider/{provider.stories.d.ts → __stories__/provider.stories.d.ts} +0 -0
@@ -0,0 +1,18 @@
1
+ import type { HTMLChakraProps, SystemProps, ThemingProps, UseCheckboxProps } from '@chakra-ui/react';
2
+ export interface SwitchProps extends Omit<UseCheckboxProps, 'isIndeterminate'>, Omit<HTMLChakraProps<'label'>, keyof UseCheckboxProps>, ThemingProps<'Switch'> {
3
+ /**
4
+ * The spacing between the switch and its label text
5
+ * @default 0.5rem
6
+ * @type SystemProps["marginLeft"]
7
+ */
8
+ spacing?: SystemProps['marginLeft'];
9
+ size?: 'sm' | 'md' | 'lg';
10
+ }
11
+ /**
12
+ * The `Switch` component is used as an alternative for the checkbox component for switching between "enabled" and "disabled" states.
13
+ *
14
+ * @see Docs https://chakra-ui.com/docs/components/switch
15
+ * @see WAI-ARIA https://www.w3.org/WAI/ARIA/apg/patterns/switch/
16
+ */
17
+ declare const Switch: import("@chakra-ui/system/dist/system.types").ComponentWithAs<"input", SwitchProps>;
18
+ export default Switch;
@@ -0,0 +1,2 @@
1
+ export { default as Switch } from './components/switch';
2
+ export * from './components/switch';
@@ -0,0 +1,4 @@
1
+ import type { TextProps as TextPropsChakra } from '@chakra-ui/react';
2
+ import { Text } from '@chakra-ui/react';
3
+ export declare type TextProps = TextPropsChakra;
4
+ export default Text;
@@ -0,0 +1,2 @@
1
+ export { default as Text } from './components/text';
2
+ export * from './components/text';
@@ -9,5 +9,6 @@ declare const _default: {
9
9
  export default _default;
10
10
  export declare const Color: () => JSX.Element;
11
11
  export declare const Typography: () => JSX.Element;
12
+ export declare const Shadow: () => JSX.Element;
12
13
  export declare const Spacing: () => JSX.Element;
13
14
  export declare const Sizes: () => JSX.Element;
@@ -0,0 +1,79 @@
1
+ import type { StyleFunctionProps } from '@chakra-ui/styled-system';
2
+ declare const alertTheme: {
3
+ baseStyle?: {
4
+ container: {
5
+ bg: string;
6
+ px: string;
7
+ py: string;
8
+ borderRadius: string;
9
+ };
10
+ title: {
11
+ fontWeight: string;
12
+ lineHeight: string;
13
+ marginEnd: string;
14
+ };
15
+ description: {
16
+ lineHeight: string;
17
+ };
18
+ icon: {
19
+ color: string;
20
+ flexShrink: number;
21
+ marginEnd: string;
22
+ w: string;
23
+ h: string;
24
+ };
25
+ action: {
26
+ '& +.chakra-alert__close': {
27
+ ml: string;
28
+ };
29
+ };
30
+ close: {
31
+ color: string;
32
+ w: string;
33
+ h: string;
34
+ };
35
+ spinner: {
36
+ color: string;
37
+ flexShrink: number;
38
+ marginEnd: string;
39
+ w: string;
40
+ h: string;
41
+ };
42
+ } | undefined;
43
+ sizes?: {
44
+ [key: string]: import("@chakra-ui/styled-system").PartsStyleInterpolation<{
45
+ keys: ("container" | "icon" | "title" | "description" | "spinner")[];
46
+ }>;
47
+ } | undefined;
48
+ variants?: {
49
+ subtle: (props: StyleFunctionProps) => {
50
+ container: {
51
+ [x: string]: string | {
52
+ [x: string]: string;
53
+ };
54
+ _dark: {
55
+ [x: string]: string;
56
+ };
57
+ color: string;
58
+ };
59
+ };
60
+ solid: (props: StyleFunctionProps) => {
61
+ container: {
62
+ [x: string]: string | {
63
+ [x: string]: string;
64
+ };
65
+ _dark: {
66
+ [x: string]: string;
67
+ };
68
+ color: string;
69
+ };
70
+ };
71
+ } | undefined;
72
+ defaultProps?: {
73
+ size?: string | number | undefined;
74
+ variant?: "subtle" | "solid" | undefined;
75
+ colorScheme?: string | undefined;
76
+ } | undefined;
77
+ parts: ("container" | "icon" | "title" | "description" | "spinner")[];
78
+ };
79
+ export default alertTheme;
@@ -0,0 +1,18 @@
1
+ declare const CardStyle: {
2
+ baseStyle?: ((props: import("@chakra-ui/styled-system").StyleFunctionProps) => {
3
+ shadow: string;
4
+ borderRadius: string;
5
+ }) | undefined;
6
+ sizes?: {
7
+ [key: string]: import("@chakra-ui/styled-system").SystemStyleInterpolation;
8
+ } | undefined;
9
+ variants?: {
10
+ [key: string]: import("@chakra-ui/styled-system").SystemStyleInterpolation;
11
+ } | undefined;
12
+ defaultProps?: {
13
+ size?: string | number | undefined;
14
+ variant?: string | number | undefined;
15
+ colorScheme?: string | undefined;
16
+ } | undefined;
17
+ };
18
+ export default CardStyle;
@@ -1,3 +1,88 @@
1
- import type { ComponentStyleConfig } from '@chakra-ui/theme';
2
- declare const Checkbox: ComponentStyleConfig;
1
+ declare const Checkbox: {
2
+ baseStyle?: {
3
+ control: {
4
+ borderRadius: string;
5
+ width: string;
6
+ height: string;
7
+ border: string;
8
+ };
9
+ icon: {
10
+ color: string;
11
+ width: string;
12
+ };
13
+ label: {
14
+ fontWeight: string;
15
+ lineHeight: string;
16
+ color: string;
17
+ ml: string;
18
+ };
19
+ _disabled: {
20
+ background: string;
21
+ border: string;
22
+ borderColor: string;
23
+ cursor: string;
24
+ };
25
+ } | undefined;
26
+ sizes?: {
27
+ [key: string]: import("@chakra-ui/styled-system").PartsStyleInterpolation<{
28
+ keys: ("container" | "icon" | "label" | "control")[];
29
+ }>;
30
+ } | undefined;
31
+ variants?: {
32
+ errors: {
33
+ control: {
34
+ borderColor: string;
35
+ _checked: {
36
+ borderColor: string;
37
+ backgroundColor: string;
38
+ _hover: {
39
+ borderColor: string;
40
+ backgroundColor: string;
41
+ };
42
+ };
43
+ _indeterminate: {
44
+ borderColor: string;
45
+ backgroundColor: string;
46
+ };
47
+ };
48
+ label: {
49
+ fontSize: string;
50
+ };
51
+ };
52
+ unstyled: {
53
+ control: {
54
+ borderColor: string;
55
+ _checked: {
56
+ borderColor: string;
57
+ backgroundColor: string;
58
+ _hover: {
59
+ borderColor: string;
60
+ backgroundColor: string;
61
+ };
62
+ _disabled: {
63
+ backgroundColor: string;
64
+ borderColor: string;
65
+ };
66
+ };
67
+ _disabled: {
68
+ backgroundColor: string;
69
+ borderColor: string;
70
+ };
71
+ _indeterminate: {
72
+ borderColor: string;
73
+ backgroundColor: string;
74
+ };
75
+ };
76
+ label: {
77
+ fontSize: string;
78
+ };
79
+ };
80
+ } | undefined;
81
+ defaultProps?: {
82
+ size?: string | number | undefined;
83
+ variant?: "unstyled" | "errors" | undefined;
84
+ colorScheme?: string | undefined;
85
+ } | undefined;
86
+ parts: ("container" | "icon" | "label" | "control")[];
87
+ };
3
88
  export default Checkbox;
@@ -0,0 +1,30 @@
1
+ declare const Chips: {
2
+ baseStyle?: ((props: import("@chakra-ui/styled-system").StyleFunctionProps) => {
3
+ color: string;
4
+ fontSize: string;
5
+ borderRadius: string;
6
+ borderWidth: string;
7
+ borderColor: string;
8
+ bg: string;
9
+ paddingX: number;
10
+ paddingY: number;
11
+ cursor: string;
12
+ }) | undefined;
13
+ sizes?: {
14
+ sm: {
15
+ fontSize: string;
16
+ };
17
+ md: {
18
+ fontSize: string;
19
+ };
20
+ } | undefined;
21
+ variants?: {
22
+ [key: string]: import("@chakra-ui/styled-system").SystemStyleInterpolation;
23
+ } | undefined;
24
+ defaultProps?: {
25
+ size?: "sm" | "md" | undefined;
26
+ variant?: string | number | undefined;
27
+ colorScheme?: string | undefined;
28
+ } | undefined;
29
+ };
30
+ export default Chips;
@@ -1,8 +1,12 @@
1
+ export { default as Alert } from './alert';
1
2
  export { default as Button } from './button';
3
+ export { default as Card } from './card';
2
4
  export { default as Checkbox } from './checkbox';
5
+ export { default as Chips } from './chips';
3
6
  export { default as FormLabel } from './form-label';
4
7
  export { default as Input } from './input';
8
+ export { default as LoaderStyle } from './loader';
9
+ export { default as Popover } from './popover';
5
10
  export { default as Radio } from './radio';
6
11
  export { default as Switch } from './switch';
7
- export { default as Popover } from './popover';
8
12
  export { default as Textarea } from './textarea';
@@ -6,16 +6,18 @@ declare const Input: {
6
6
  outline: number;
7
7
  px: number;
8
8
  py: number;
9
+ paddingInlineStart: number;
10
+ paddingInlineEnd: number;
9
11
  position: string;
10
12
  appearance: string;
11
- transitionProperty: string;
12
- transitionDuration: string;
13
13
  color: string;
14
14
  _disabled: {
15
15
  bg: string;
16
- border: string;
17
- borderColor: string;
16
+ border: number;
18
17
  cursor: string;
18
+ opacity: number;
19
+ boxShadow: string;
20
+ color: string;
19
21
  };
20
22
  _placeholder: {
21
23
  color: string;
@@ -63,33 +65,18 @@ declare const Input: {
63
65
  variants?: {
64
66
  outline: (props: import("@chakra-ui/styled-system").StyleFunctionProps) => {
65
67
  field: {
66
- border: string;
67
- borderColor: string;
68
+ border: number;
69
+ outline: number;
68
70
  bg: string;
69
71
  color: string;
70
- _hover: {
71
- borderColor: string;
72
- };
73
- _readOnly: {
74
- userSelect: string;
75
- borderColor: any;
76
- boxShadow: string;
77
- };
78
72
  _invalid: {
79
- borderColor: any;
80
73
  boxShadow: string;
81
74
  };
82
75
  _focusVisible: {
83
76
  zIndex: number;
84
- borderColor: any;
85
77
  boxShadow: string;
86
78
  };
87
79
  };
88
- addon: {
89
- border: string;
90
- borderColor: string;
91
- bg: string;
92
- };
93
80
  };
94
81
  unstyled: {
95
82
  field: {
@@ -0,0 +1,85 @@
1
+ declare const LoaderStyle: {
2
+ baseStyle?: ((props: import("@chakra-ui/styled-system").StyleFunctionProps) => {
3
+ borderRadius: string;
4
+ display: string;
5
+ justifyContent: string;
6
+ alignItems: string;
7
+ animation: string;
8
+ background: string;
9
+ ':before': {
10
+ content: string;
11
+ display: string;
12
+ borderRadius: string;
13
+ width: string;
14
+ height: string;
15
+ position: string;
16
+ bottom: number;
17
+ background: string;
18
+ };
19
+ }) | undefined;
20
+ sizes?: {
21
+ xs: {
22
+ width: string;
23
+ height: string;
24
+ WebkitMask: string;
25
+ ':before': {
26
+ width: string;
27
+ height: string;
28
+ };
29
+ };
30
+ sm: {
31
+ width: string;
32
+ height: string;
33
+ WebkitMask: string;
34
+ ':before': {
35
+ width: string;
36
+ height: string;
37
+ };
38
+ };
39
+ md: {
40
+ width: string;
41
+ height: string;
42
+ WebkitMask: string;
43
+ ':before': {
44
+ width: string;
45
+ height: string;
46
+ };
47
+ };
48
+ lg: {
49
+ width: string;
50
+ height: string;
51
+ WebkitMask: string;
52
+ ':before': {
53
+ width: string;
54
+ height: string;
55
+ };
56
+ };
57
+ xl: {
58
+ width: string;
59
+ height: string;
60
+ WebkitMask: string;
61
+ ':before': {
62
+ width: string;
63
+ height: string;
64
+ };
65
+ };
66
+ xxl: {
67
+ width: string;
68
+ height: string;
69
+ WebkitMask: string;
70
+ ':before': {
71
+ width: string;
72
+ height: string;
73
+ };
74
+ };
75
+ } | undefined;
76
+ variants?: {
77
+ [key: string]: import("@chakra-ui/styled-system").SystemStyleInterpolation;
78
+ } | undefined;
79
+ defaultProps?: {
80
+ size?: "sm" | "md" | "lg" | "xl" | "xs" | "xxl" | undefined;
81
+ variant?: string | number | undefined;
82
+ colorScheme?: string | undefined;
83
+ } | undefined;
84
+ };
85
+ export default LoaderStyle;
@@ -1,3 +1,99 @@
1
- import type { ComponentStyleConfig } from '@chakra-ui/theme';
2
- declare const Radio: ComponentStyleConfig;
1
+ declare const Radio: {
2
+ baseStyle?: {
3
+ control: {
4
+ border: string;
5
+ width: string;
6
+ height: string;
7
+ };
8
+ label: {
9
+ marginLeft: string;
10
+ textStyle: string;
11
+ color: string;
12
+ _disabled: {
13
+ color: string;
14
+ };
15
+ };
16
+ } | undefined;
17
+ sizes?: {
18
+ [key: string]: import("@chakra-ui/styled-system").PartsStyleInterpolation<{
19
+ keys: ("container" | "label" | "control")[];
20
+ }>;
21
+ } | undefined;
22
+ variants?: {
23
+ errors: {
24
+ control: {
25
+ borderColor: string;
26
+ _checked: {
27
+ borderColor: string;
28
+ bg: string;
29
+ _before: {
30
+ h: string;
31
+ w: string;
32
+ bg: string;
33
+ };
34
+ _hover: {
35
+ borderColor: string;
36
+ bg: string;
37
+ };
38
+ _disabled: {
39
+ borderColor: string;
40
+ bg: string;
41
+ _before: {
42
+ h: string;
43
+ w: string;
44
+ bg: string;
45
+ };
46
+ };
47
+ };
48
+ _disabled: {
49
+ borderColor: string;
50
+ bg: string;
51
+ };
52
+ };
53
+ label: {
54
+ fontSize: string;
55
+ };
56
+ };
57
+ unstyled: {
58
+ control: {
59
+ borderColor: string;
60
+ _checked: {
61
+ borderColor: string;
62
+ bg: string;
63
+ _before: {
64
+ h: string;
65
+ w: string;
66
+ bg: string;
67
+ };
68
+ _hover: {
69
+ borderColor: string;
70
+ bg: string;
71
+ };
72
+ _disabled: {
73
+ borderColor: string;
74
+ bg: string;
75
+ _before: {
76
+ h: string;
77
+ w: string;
78
+ bg: string;
79
+ };
80
+ };
81
+ };
82
+ _disabled: {
83
+ borderColor: string;
84
+ bg: string;
85
+ };
86
+ };
87
+ label: {
88
+ fontSize: string;
89
+ };
90
+ };
91
+ } | undefined;
92
+ defaultProps?: {
93
+ size?: string | number | undefined;
94
+ variant?: "unstyled" | "errors" | undefined;
95
+ colorScheme?: string | undefined;
96
+ } | undefined;
97
+ parts: ("container" | "label" | "control")[];
98
+ };
3
99
  export default Radio;
@@ -1,21 +1,55 @@
1
1
  declare const Switch: {
2
- baseStyle?: {
3
- container: {};
4
- thumb: {
5
- bg: string;
2
+ baseStyle?: (() => {
3
+ container: {
4
+ [x: string]: string | {
5
+ [x: string]: string;
6
+ };
7
+ _rtl: {
8
+ [x: string]: string;
9
+ };
6
10
  };
7
11
  track: {
8
12
  bg: string;
9
13
  p: number;
10
14
  _checked: {
11
15
  bg: string;
16
+ _disabled: {
17
+ bg: string;
18
+ };
19
+ };
20
+ _disabled: {
21
+ bg: string;
22
+ opacity: string;
12
23
  };
13
24
  };
14
- } | undefined;
25
+ thumb: {
26
+ bg: string;
27
+ transitionProperty: string;
28
+ transitionDuration: string;
29
+ borderRadius: string;
30
+ width: string[];
31
+ height: string[];
32
+ _checked: {
33
+ transform: string;
34
+ };
35
+ };
36
+ }) | undefined;
15
37
  sizes?: {
16
- [key: string]: import("@chakra-ui/styled-system").PartsStyleInterpolation<{
17
- keys: ("container" | "track" | "thumb")[];
18
- }>;
38
+ sm: {
39
+ container: {
40
+ [x: string]: string;
41
+ };
42
+ };
43
+ md: {
44
+ container: {
45
+ [x: string]: string;
46
+ };
47
+ };
48
+ lg: {
49
+ container: {
50
+ [x: string]: string;
51
+ };
52
+ };
19
53
  } | undefined;
20
54
  variants?: {
21
55
  [key: string]: import("@chakra-ui/styled-system").PartsStyleInterpolation<{
@@ -23,7 +57,7 @@ declare const Switch: {
23
57
  }>;
24
58
  } | undefined;
25
59
  defaultProps?: {
26
- size?: string | number | undefined;
60
+ size?: "sm" | "md" | "lg" | undefined;
27
61
  variant?: string | number | undefined;
28
62
  colorScheme?: string | undefined;
29
63
  } | undefined;
@@ -1,3 +1,55 @@
1
- import type { ComponentStyleConfig } from '@chakra-ui/theme';
2
- declare const Textarea: ComponentStyleConfig;
1
+ export declare const Textarea: {
2
+ baseStyle?: import("@chakra-ui/styled-system").CSSWithMultiValues | (import("@chakra-ui/styled-system").CSSWithMultiValues & import("@chakra-ui/styled-system").RecursivePseudo<import("@chakra-ui/styled-system").CSSWithMultiValues>) | (import("@chakra-ui/styled-system").CSSWithMultiValues & import("@chakra-ui/styled-system").RecursiveCSSSelector<import("@chakra-ui/styled-system").CSSWithMultiValues>) | import("@chakra-ui/styled-system").SystemStyleFunction | undefined;
3
+ sizes?: {
4
+ [key: string]: import("@chakra-ui/styled-system").SystemStyleInterpolation;
5
+ } | undefined;
6
+ variants?: {
7
+ outline: (props: import("@chakra-ui/styled-system").StyleFunctionProps) => {
8
+ background: string;
9
+ color: string;
10
+ borderColor: string;
11
+ fontSize: string;
12
+ padding: number;
13
+ borderRadius: string;
14
+ borderWidth: string;
15
+ outline: string;
16
+ _disabled: {
17
+ opacity: number;
18
+ color: string;
19
+ background: string;
20
+ };
21
+ _placeholder: {
22
+ color: string;
23
+ };
24
+ _hover: {
25
+ borderColor: string;
26
+ };
27
+ _focus: {
28
+ outline: string;
29
+ borderColor: string;
30
+ boxShadow: string;
31
+ };
32
+ _focusVisible: {
33
+ outline: string;
34
+ borderColor: string;
35
+ boxShadow: string;
36
+ };
37
+ _focusWithin: {
38
+ outline: string;
39
+ borderColor: string;
40
+ boxShadow: string;
41
+ };
42
+ _invalid: {
43
+ outline: string;
44
+ borderColor: string;
45
+ boxShadow: string;
46
+ };
47
+ };
48
+ } | undefined;
49
+ defaultProps?: {
50
+ size?: string | number | undefined;
51
+ variant?: "outline" | undefined;
52
+ colorScheme?: string | undefined;
53
+ } | undefined;
54
+ };
3
55
  export default Textarea;
@@ -1,5 +1,6 @@
1
1
  export { default as colors } from './colors';
2
2
  export { default as radii } from './radius';
3
- export { default as space } from './spacing';
3
+ export { default as shadows } from './shadows';
4
4
  export { default as sizes } from './sizes';
5
- export { fonts, fontSizes, lineHeights, textStyles } from './typography';
5
+ export { default as space } from './spacing';
6
+ export { fonts, fontSizes, letterSpacings, lineHeights, textStyles } from './typography';
@@ -0,0 +1,15 @@
1
+ declare const shadows: {
2
+ raised: string;
3
+ xs: string;
4
+ sm: string;
5
+ base: string;
6
+ md: string;
7
+ lg: string;
8
+ xl: string;
9
+ "2xl": string;
10
+ outline: string;
11
+ inner: string;
12
+ none: string;
13
+ "dark-lg": string;
14
+ };
15
+ export default shadows;