@sakura-ui/sakura-ui 0.1.5 → 0.1.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (47) hide show
  1. package/package.json +4 -4
  2. package/packages/config/package.json +1 -1
  3. package/packages/config/src/index.ts +165 -10
  4. package/packages/core/package.json +1 -1
  5. package/packages/core/src/components/Button.tsx +2 -3
  6. package/packages/core/src/components/Heading.tsx +18 -16
  7. package/packages/core/src/components/IconButton.tsx +2 -3
  8. package/packages/forms/dist/components/Checkbox.d.ts.map +1 -1
  9. package/packages/forms/dist/components/FieldsetControl.d.ts.map +1 -1
  10. package/packages/forms/dist/components/Input.d.ts +5 -0
  11. package/packages/forms/dist/components/Input.d.ts.map +1 -0
  12. package/packages/forms/dist/components/LabelControl.d.ts.map +1 -1
  13. package/packages/forms/dist/components/Radio.d.ts.map +1 -1
  14. package/packages/forms/dist/components/Select.d.ts.map +1 -1
  15. package/packages/forms/dist/components/Textarea.d.ts.map +1 -1
  16. package/packages/forms/dist/components/controlled/InputControl.d.ts +10 -0
  17. package/packages/forms/dist/components/controlled/InputControl.d.ts.map +1 -0
  18. package/packages/forms/dist/components/controlled/index.d.ts +1 -1
  19. package/packages/forms/dist/components/controlled/index.d.ts.map +1 -1
  20. package/packages/forms/dist/components/index.d.ts +1 -1
  21. package/packages/forms/dist/components/index.d.ts.map +1 -1
  22. package/packages/forms/dist/index.cjs.js +42 -32
  23. package/packages/forms/dist/index.cjs.js.map +1 -1
  24. package/packages/forms/dist/index.d.ts +2 -2
  25. package/packages/forms/dist/index.d.ts.map +1 -1
  26. package/packages/forms/dist/index.es.js +407 -416
  27. package/packages/forms/dist/index.es.js.map +1 -1
  28. package/packages/forms/dist/utils/{index.d.ts → class.d.ts} +1 -1
  29. package/packages/forms/dist/utils/class.d.ts.map +1 -0
  30. package/packages/forms/package.json +1 -1
  31. package/packages/forms/src/components/Checkbox.tsx +1 -1
  32. package/packages/forms/src/components/FieldsetControl.tsx +5 -3
  33. package/packages/forms/src/components/{Text.tsx → Input.tsx} +2 -2
  34. package/packages/forms/src/components/LabelControl.tsx +4 -5
  35. package/packages/forms/src/components/Radio.tsx +1 -1
  36. package/packages/forms/src/components/controlled/InputControl.tsx +40 -0
  37. package/packages/forms/src/components/controlled/index.ts +1 -1
  38. package/packages/forms/src/components/index.ts +1 -1
  39. package/packages/forms/src/index.ts +2 -2
  40. package/packages/forms/tests/{Text.test.tsx → Input.test.tsx} +7 -7
  41. package/packages/forms/tests/LabelControl.test.tsx +7 -7
  42. package/packages/forms/dist/components/Text.d.ts +0 -5
  43. package/packages/forms/dist/components/Text.d.ts.map +0 -1
  44. package/packages/forms/dist/components/controlled/TextControl.d.ts +0 -10
  45. package/packages/forms/dist/components/controlled/TextControl.d.ts.map +0 -1
  46. package/packages/forms/dist/utils/index.d.ts.map +0 -1
  47. package/packages/forms/src/components/controlled/TextControl.tsx +0 -39
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sakura-ui/sakura-ui",
3
- "version": "0.1.5",
3
+ "version": "0.1.7",
4
4
  "keywords": [],
5
5
  "author": "glassonion1",
6
6
  "homepage": "https://github.com/glassonion1/sakura-ui",
@@ -13,9 +13,9 @@
13
13
  "packages"
14
14
  ],
15
15
  "dependencies": {
16
- "@sakura-ui/config": "0.0.11",
17
- "@sakura-ui/core": "0.0.4",
18
- "@sakura-ui/forms": "0.0.6"
16
+ "@sakura-ui/config": "0.1.1",
17
+ "@sakura-ui/forms": "0.1.0",
18
+ "@sakura-ui/core": "0.1.0"
19
19
  },
20
20
  "peerDependencies": {
21
21
  "react": "^18.2.0",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sakura-ui/config",
3
- "version": "0.0.11",
3
+ "version": "0.1.1",
4
4
  "main": "dist/index.cjs.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "exports": {
@@ -14,16 +14,171 @@ const sakuraPlugin = plugin(
14
14
  theme: {
15
15
  extend: {
16
16
  fontSize: {
17
- h1: ['42px', '42px'],
18
- h2: ['32px', '32px'],
19
- h3: ['26px', '26px'],
20
- h4: ['22px', '22px'],
21
- h5: ['20px', '20px'],
22
- h6: ['18px', '18px'],
23
- base: ['16px', '28px'],
24
- code: ['16px', '24px'],
25
- sm: ['14px', '24px'],
26
- xs: ['12px', '20px']
17
+ '6xl': [
18
+ '57px',
19
+ {
20
+ lineHeight: '1.4',
21
+ letterSpacing: '0.04em',
22
+ fontWeight: '400'
23
+ }
24
+ ],
25
+ '5xl': [
26
+ '45px',
27
+ {
28
+ lineHeight: '1.4',
29
+ letterSpacing: '0.04em',
30
+ fontWeight: '400'
31
+ }
32
+ ],
33
+ // h1
34
+ '4xl': [
35
+ '36px',
36
+ {
37
+ lineHeight: '1.4',
38
+ letterSpacing: '0.04em',
39
+ fontWeight: '400'
40
+ }
41
+ ],
42
+ '4xlm': [
43
+ '32px',
44
+ {
45
+ lineHeight: '1.5',
46
+ letterSpacing: '0.04em',
47
+ fontWeight: '500'
48
+ }
49
+ ],
50
+ // h2
51
+ '3xl': [
52
+ '32px',
53
+ {
54
+ lineHeight: '1.5',
55
+ letterSpacing: '0.04em',
56
+ fontWeight: '400'
57
+ }
58
+ ],
59
+ '3xlm': [
60
+ '28px',
61
+ {
62
+ lineHeight: '1.5',
63
+ letterSpacing: '0.04em',
64
+ fontWeight: '500'
65
+ }
66
+ ],
67
+ // h3
68
+ '2xl': [
69
+ '28px',
70
+ {
71
+ lineHeight: '1.5',
72
+ letterSpacing: '0.04em',
73
+ fontWeight: '400'
74
+ }
75
+ ],
76
+ '2xlm': [
77
+ '24px',
78
+ {
79
+ lineHeight: '1.5',
80
+ letterSpacing: '0.04em',
81
+ fontWeight: '500'
82
+ }
83
+ ],
84
+ // h4
85
+ xl: [
86
+ '24px',
87
+ {
88
+ lineHeight: '1.5',
89
+ letterSpacing: '0.04em',
90
+ fontWeight: '400'
91
+ }
92
+ ],
93
+ xlm: [
94
+ '20px',
95
+ {
96
+ lineHeight: '1.5',
97
+ letterSpacing: '0.04em',
98
+ fontWeight: '500'
99
+ }
100
+ ],
101
+ // h5 h6
102
+ lg: [
103
+ '20px',
104
+ {
105
+ lineHeight: '1.5',
106
+ letterSpacing: '0.04em',
107
+ fontWeight: '400'
108
+ }
109
+ ],
110
+ lgm: [
111
+ '16px',
112
+ {
113
+ lineHeight: '1.5',
114
+ letterSpacing: '0.04em',
115
+ fontWeight: '500'
116
+ }
117
+ ],
118
+ base: [
119
+ '16px',
120
+ {
121
+ lineHeight: '1.7',
122
+ letterSpacing: '0.04em',
123
+ fontWeight: '400'
124
+ }
125
+ ],
126
+ small: [
127
+ '14px',
128
+ {
129
+ lineHeight: '1.7',
130
+ letterSpacing: '0.04em',
131
+ fontWeight: '400'
132
+ }
133
+ ],
134
+ label: [
135
+ '14px',
136
+ {
137
+ lineHeight: '1.5',
138
+ letterSpacing: '0.04em',
139
+ fontWeight: '500'
140
+ }
141
+ ],
142
+ labelSmall: [
143
+ '12px',
144
+ {
145
+ lineHeight: '1.5',
146
+ letterSpacing: '0.04em',
147
+ fontWeight: '500'
148
+ }
149
+ ],
150
+ xs: [
151
+ '12px',
152
+ {
153
+ lineHeight: '1.7',
154
+ letterSpacing: '0.04em',
155
+ fontWeight: '400'
156
+ }
157
+ ],
158
+ xxs: [
159
+ '10px',
160
+ {
161
+ lineHeight: '1.7',
162
+ letterSpacing: '0.04em',
163
+ fontWeight: '400'
164
+ }
165
+ ],
166
+ button: [
167
+ '16px',
168
+ {
169
+ lineHeight: '1.5',
170
+ letterSpacing: '0.04em',
171
+ fontWeight: '700'
172
+ }
173
+ ],
174
+ code: [
175
+ '16px',
176
+ {
177
+ lineHeight: '1.7',
178
+ letterSpacing: '0.04em',
179
+ fontWeight: '400'
180
+ }
181
+ ]
27
182
  },
28
183
  colors: {
29
184
  white: {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sakura-ui/core",
3
- "version": "0.0.4",
3
+ "version": "0.1.0",
4
4
  "type": "module",
5
5
  "main": "dist/index.cjs.js",
6
6
  "types": "dist/index.d.ts",
@@ -16,10 +16,9 @@ export const Button = React.forwardRef<HTMLButtonElement, ButtonProps>(
16
16
  const style = `
17
17
  inline-block
18
18
  p-4
19
- text-base
20
- font-bold
21
- rounded-lg
19
+ text-button
22
20
  text-${align}
21
+ rounded-lg
23
22
  cursor-pointer
24
23
  whitespace-nowrap
25
24
  border
@@ -3,21 +3,18 @@ import { cx } from '../utils/class'
3
3
 
4
4
  export interface HeadingProps extends React.ComponentProps<'h1'> {}
5
5
 
6
- const common = `
7
- font-bold
8
- `
9
-
10
6
  export const H1 = (props: HeadingProps) => {
11
7
  const { className, children, ...restProps } = props
12
8
 
13
9
  const style = `
14
- text-h1
10
+ text-4xlm
11
+ sm:text-4xl
15
12
  mt-16
16
13
  mb-6
17
14
  `
18
15
 
19
16
  return (
20
- <h1 className={cx(common, style, className)} {...restProps}>
17
+ <h1 className={cx(style, className)} {...restProps}>
21
18
  {children}
22
19
  </h1>
23
20
  )
@@ -28,13 +25,14 @@ export const H2 = (props: HeadingProps) => {
28
25
  const { className, children, ...restProps } = props
29
26
 
30
27
  const style = `
31
- text-h2
28
+ text-3xlm
29
+ sm:text-3xl
32
30
  mt-16
33
31
  mb-6
34
32
  `
35
33
 
36
34
  return (
37
- <h2 className={cx(common, style, className)} {...restProps}>
35
+ <h2 className={cx(style, className)} {...restProps}>
38
36
  {children}
39
37
  </h2>
40
38
  )
@@ -45,13 +43,14 @@ export const H3 = (props: HeadingProps) => {
45
43
  const { className, children, ...restProps } = props
46
44
 
47
45
  const style = `
48
- text-h3
46
+ text-2xlm
47
+ sm:text-2xl
49
48
  mt-10
50
49
  mb-6
51
50
  `
52
51
 
53
52
  return (
54
- <h3 className={cx(common, style, className)} {...restProps}>
53
+ <h3 className={cx(style, className)} {...restProps}>
55
54
  {children}
56
55
  </h3>
57
56
  )
@@ -62,13 +61,14 @@ export const H4 = (props: HeadingProps) => {
62
61
  const { className, children, ...restProps } = props
63
62
 
64
63
  const style = `
65
- text-h4
64
+ text-xlm
65
+ sm:text-xl
66
66
  mt-10
67
67
  mb-4
68
68
  `
69
69
 
70
70
  return (
71
- <h4 className={cx(common, style, className)} {...restProps}>
71
+ <h4 className={cx(style, className)} {...restProps}>
72
72
  {children}
73
73
  </h4>
74
74
  )
@@ -79,13 +79,14 @@ export const H5 = (props: HeadingProps) => {
79
79
  const { className, children, ...restProps } = props
80
80
 
81
81
  const style = `
82
- text-h5
82
+ text-lgm
83
+ sm:text-lg
83
84
  mt-10
84
85
  mb-4
85
86
  `
86
87
 
87
88
  return (
88
- <h5 className={cx(common, style, className)} {...restProps}>
89
+ <h5 className={cx(style, className)} {...restProps}>
89
90
  {children}
90
91
  </h5>
91
92
  )
@@ -96,13 +97,14 @@ export const H6 = (props: HeadingProps) => {
96
97
  const { className, children, ...restProps } = props
97
98
 
98
99
  const style = `
99
- text-h6
100
+ text-lgm
101
+ sm:text-lg
100
102
  mt-6
101
103
  mb-4
102
104
  `
103
105
 
104
106
  return (
105
- <h6 className={cx(common, style, className)} {...restProps}>
107
+ <h6 className={cx(style, className)} {...restProps}>
106
108
  {children}
107
109
  </h6>
108
110
  )
@@ -19,10 +19,9 @@ export const IconButton = React.forwardRef<HTMLButtonElement, IconButtonProps>(
19
19
  const style = `
20
20
  inline-block
21
21
  p-4
22
- text-base
23
- font-bold
24
- rounded-lg
22
+ text-button
25
23
  text-${align}
24
+ rounded-lg
26
25
  cursor-pointer
27
26
  whitespace-nowrap
28
27
  border
@@ -1 +1 @@
1
- {"version":3,"file":"Checkbox.d.ts","sourceRoot":"","sources":["../../src/components/Checkbox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,MAAM,WAAW,aAAc,SAAQ,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC;CAAG;AAEvE,eAAO,MAAM,QAAQ,qGA+DpB,CAAA"}
1
+ {"version":3,"file":"Checkbox.d.ts","sourceRoot":"","sources":["../../src/components/Checkbox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,MAAM,WAAW,aAAc,SAAQ,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC;CAAG;AAEvE,eAAO,MAAM,QAAQ,qGA8DpB,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"FieldsetControl.d.ts","sourceRoot":"","sources":["../../src/components/FieldsetControl.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,MAAM,WAAW,oBACf,SAAQ,KAAK,CAAC,wBAAwB,CAAC,UAAU,CAAC;IAClD,SAAS,EAAE,MAAM,CAAA;IACjB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,SAAS,CAAC,EAAE,UAAU,GAAG,UAAU,CAAA;CACpC;AAED,eAAO,MAAM,eAAe,kGAuD1B,CAAA"}
1
+ {"version":3,"file":"FieldsetControl.d.ts","sourceRoot":"","sources":["../../src/components/FieldsetControl.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,MAAM,WAAW,oBACf,SAAQ,KAAK,CAAC,wBAAwB,CAAC,UAAU,CAAC;IAClD,SAAS,EAAE,MAAM,CAAA;IACjB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,SAAS,CAAC,EAAE,UAAU,GAAG,UAAU,CAAA;CACpC;AAED,eAAO,MAAM,eAAe,kGAyD1B,CAAA"}
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ export interface InputProps extends React.ComponentPropsWithoutRef<'input'> {
3
+ }
4
+ export declare const Input: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HTMLInputElement>>;
5
+ //# sourceMappingURL=Input.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../../src/components/Input.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,MAAM,WAAW,UAAW,SAAQ,KAAK,CAAC,wBAAwB,CAAC,OAAO,CAAC;CAAG;AAE9E,eAAO,MAAM,KAAK,qFAoCjB,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"LabelControl.d.ts","sourceRoot":"","sources":["../../src/components/LabelControl.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,MAAM,WAAW,iBACf,SAAQ,KAAK,CAAC,wBAAwB,CAAC,OAAO,CAAC;IAC/C,SAAS,EAAE,MAAM,CAAA;IACjB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB;AAED,eAAO,MAAM,YAAY,4FAsDvB,CAAA"}
1
+ {"version":3,"file":"LabelControl.d.ts","sourceRoot":"","sources":["../../src/components/LabelControl.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,MAAM,WAAW,iBACf,SAAQ,KAAK,CAAC,wBAAwB,CAAC,OAAO,CAAC;IAC/C,SAAS,EAAE,MAAM,CAAA;IACjB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB;AAED,eAAO,MAAM,YAAY,4FAqDvB,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"Radio.d.ts","sourceRoot":"","sources":["../../src/components/Radio.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,MAAM,WAAW,KAAM,SAAQ,KAAK,CAAC,wBAAwB,CAAC,OAAO,CAAC;CAAG;AAEzE,eAAO,MAAM,KAAK,gFAoDhB,CAAA"}
1
+ {"version":3,"file":"Radio.d.ts","sourceRoot":"","sources":["../../src/components/Radio.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,MAAM,WAAW,KAAM,SAAQ,KAAK,CAAC,wBAAwB,CAAC,OAAO,CAAC;CAAG;AAEzE,eAAO,MAAM,KAAK,gFAsDhB,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../src/components/Select.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,MAAM,WAAW,WAAY,SAAQ,KAAK,CAAC,wBAAwB,CAAC,QAAQ,CAAC;CAAG;AAEhF,eAAO,MAAM,MAAM,uFAmDlB,CAAA"}
1
+ {"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../src/components/Select.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,MAAM,WAAW,WAAY,SAAQ,KAAK,CAAC,wBAAwB,CAAC,QAAQ,CAAC;CAAG;AAEhF,eAAO,MAAM,MAAM,uFA0DlB,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"Textarea.d.ts","sourceRoot":"","sources":["../../src/components/Textarea.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,MAAM,WAAW,aACf,SAAQ,KAAK,CAAC,wBAAwB,CAAC,UAAU,CAAC;CAAG;AAEvD,eAAO,MAAM,QAAQ,2FAwCpB,CAAA"}
1
+ {"version":3,"file":"Textarea.d.ts","sourceRoot":"","sources":["../../src/components/Textarea.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,MAAM,WAAW,aACf,SAAQ,KAAK,CAAC,wBAAwB,CAAC,UAAU,CAAC;CAAG;AAEvD,eAAO,MAAM,QAAQ,2FAsCpB,CAAA"}
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ export interface InputControlProps extends React.ComponentPropsWithoutRef<'input'> {
3
+ labelText: string;
4
+ helperText?: string;
5
+ errorMessage?: string;
6
+ isInvalid?: boolean;
7
+ isRequired?: boolean;
8
+ }
9
+ export declare const InputControl: React.ForwardRefExoticComponent<InputControlProps & React.RefAttributes<HTMLInputElement>>;
10
+ //# sourceMappingURL=InputControl.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InputControl.d.ts","sourceRoot":"","sources":["../../../src/components/controlled/InputControl.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,MAAM,WAAW,iBACf,SAAQ,KAAK,CAAC,wBAAwB,CAAC,OAAO,CAAC;IAC/C,SAAS,EAAE,MAAM,CAAA;IACjB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB;AAED,eAAO,MAAM,YAAY,4FA0BvB,CAAA"}
@@ -1,6 +1,6 @@
1
1
  export { CheckboxGroup } from './CheckboxGroup';
2
2
  export { RadioGroup } from './RadioGroup';
3
3
  export { SelectControl } from './SelectControl';
4
- export { TextControl } from './TextControl';
4
+ export { InputControl } from './InputControl';
5
5
  export { TextareaControl } from './TextareaControl';
6
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/controlled/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAC/C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAC/C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAC3C,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/controlled/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAC/C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAC/C,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC7C,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA"}
@@ -1,7 +1,7 @@
1
1
  export { Checkbox } from './Checkbox';
2
2
  export { Radio } from './Radio';
3
3
  export { Select } from './Select';
4
- export { Text } from './Text';
4
+ export { Input } from './Input';
5
5
  export { Textarea } from './Textarea';
6
6
  export { LabelControl } from './LabelControl';
7
7
  export { FieldsetControl } from './FieldsetControl';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAC/B,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AACjC,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAA;AAC7B,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC7C,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAC/B,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AACjC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAC/B,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC7C,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA"}