react-native-varia 0.3.0 → 0.4.1

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 (45) hide show
  1. package/lib/components/Accordion.tsx +61 -21
  2. package/lib/components/Badge.tsx +9 -0
  3. package/lib/components/Button.tsx +19 -8
  4. package/lib/components/Checkbox.tsx +21 -12
  5. package/lib/components/CircleProgress.tsx +8 -0
  6. package/lib/components/Divider.tsx +6 -0
  7. package/lib/components/Drawer.tsx +16 -4
  8. package/lib/components/Field.tsx +4 -0
  9. package/lib/components/FloatingAction.tsx +215 -0
  10. package/lib/components/GradientBackground.tsx +3 -0
  11. package/lib/components/GradientText.tsx +27 -14
  12. package/lib/components/IconWrapper.tsx +4 -3
  13. package/lib/components/Input.tsx +47 -21
  14. package/lib/components/Link.tsx +4 -0
  15. package/lib/components/Modal.tsx +18 -5
  16. package/lib/components/NumberInput.tsx +27 -5
  17. package/lib/components/RadioGroup.tsx +16 -5
  18. package/lib/components/ReText.tsx +4 -1
  19. package/lib/components/Select.tsx +20 -0
  20. package/lib/components/Slider.tsx +59 -23
  21. package/lib/components/Slideshow.tsx +19 -3
  22. package/lib/components/Spinner.tsx +9 -3
  23. package/lib/components/Switch.tsx +57 -26
  24. package/lib/components/Text.tsx +3 -0
  25. package/lib/components/Toast.tsx +110 -36
  26. package/lib/patterns/index.tsx +299 -90
  27. package/lib/theme/Accordion.tsx +184 -0
  28. package/lib/theme/Button.recipe.tsx +24 -7
  29. package/lib/theme/Drawer.recipe.tsx +2 -4
  30. package/lib/theme/Field.recipe.tsx +45 -15
  31. package/lib/theme/FloatingAction.tsx +112 -0
  32. package/lib/theme/GradientText.recipe.tsx +103 -34
  33. package/lib/theme/Input.recipe.tsx +14 -6
  34. package/lib/theme/Select.recipe.tsx +3 -0
  35. package/lib/theme/Slider.recipe.tsx +86 -150
  36. package/lib/theme/Spinner.recipe.tsx +4 -0
  37. package/lib/theme/Switch.recipe.tsx +19 -0
  38. package/lib/theme/Text.recipe.tsx +63 -12
  39. package/lib/theme/Toast.recipe.tsx +40 -7
  40. package/lib/varia/types.ts +3 -0
  41. package/lib/varia/utils.ts +110 -18
  42. package/package.json +1 -1
  43. package/lib/components/OldSlider.tsx +0 -327
  44. package/lib/components/SlidingDrawer.tsx +0 -301
  45. package/lib/patterns/newPatterns.tsx +0 -285
@@ -0,0 +1,184 @@
1
+ import {StyleSheet} from 'react-native-unistyles'
2
+ import {PalettesWithNestedKeys} from '../style/varia/types'
3
+
4
+ export const AccordionDefaultVariants = {
5
+ variant: 'solid',
6
+ size: 'md',
7
+ } as const
8
+ export const AccordionStyles = StyleSheet.create(theme => ({
9
+ itemContainer: (colorPalette: PalettesWithNestedKeys) => ({
10
+ borderRadius: 12,
11
+ variants: {
12
+ variant: {
13
+ solid: {
14
+ backgroundColor: theme.colors.bg.default,
15
+ borderColor: 'transparent',
16
+ borderWidth: 1,
17
+ },
18
+ outline: {
19
+ borderWidth: 1,
20
+ borderColor: theme.colors[colorPalette].a7,
21
+ },
22
+ subtle: {
23
+ backgroundColor: theme.colors[colorPalette]['a3'],
24
+ borderWidth: 0,
25
+ },
26
+ },
27
+ size: {
28
+ sm: {
29
+ minHeight: theme.sizes[9],
30
+ paddingHorizontal: theme.sizes['3.5'],
31
+ paddingVertical: theme.sizes[2],
32
+ gap: theme.spacing[2],
33
+ },
34
+ md: {
35
+ minHeight: theme.sizes[10],
36
+ paddingHorizontal: theme.sizes[4],
37
+ paddingVertical: theme.sizes[2],
38
+ gap: theme.spacing[2],
39
+ },
40
+ lg: {
41
+ minHeight: theme.sizes[11],
42
+ paddingHorizontal: theme.sizes['4.5'],
43
+ paddingVertical: theme.sizes[2],
44
+ gap: theme.spacing[2],
45
+ },
46
+ xl: {
47
+ minHeight: theme.sizes[12],
48
+ paddingHorizontal: theme.sizes[5],
49
+ paddingVertical: theme.sizes[2],
50
+ gap: theme.spacing['2.5'],
51
+ },
52
+ nosize: {},
53
+ },
54
+ active: {
55
+ true: {},
56
+ false: {},
57
+ },
58
+ },
59
+ compoundVariants: [
60
+ {
61
+ variant: 'solid',
62
+ active: true,
63
+ styles: {
64
+ borderColor: theme.colors[colorPalette].default,
65
+ },
66
+ },
67
+ {
68
+ variant: 'outline',
69
+ disabled: true,
70
+ styles: {},
71
+ },
72
+ {
73
+ variant: 'ghost',
74
+ disabled: true,
75
+ styles: {
76
+ backgroundColor: 'transparent',
77
+ },
78
+ },
79
+ {
80
+ variant: 'subtle',
81
+ disabled: true,
82
+ styles: {
83
+ backgroundColor: theme.colors.bg.disabled,
84
+ },
85
+ },
86
+ ],
87
+ }),
88
+ header: (colorPalette: PalettesWithNestedKeys) => ({
89
+ variants: {
90
+ variant: {
91
+ solid: {
92
+ backgroundColor: theme.colors.bg.default,
93
+ },
94
+ outline: {},
95
+ subtle: {},
96
+ },
97
+ size: {
98
+ sm: {
99
+ paddingHorizontal: theme.spacing[2],
100
+ height: theme.sizes[9],
101
+ },
102
+ md: {
103
+ paddingHorizontal: theme.spacing[2],
104
+ height: theme.sizes[10],
105
+ },
106
+ lg: {
107
+ paddingHorizontal: theme.spacing[2],
108
+ height: theme.sizes[11],
109
+ },
110
+ xl: {
111
+ paddingHorizontal: theme.spacing[3],
112
+ height: theme.sizes[12],
113
+ },
114
+ nosize: {},
115
+ },
116
+ active: {
117
+ true: {},
118
+ false: {},
119
+ },
120
+ },
121
+ compoundVariants: [
122
+ {
123
+ variant: 'solid',
124
+ active: true,
125
+ styles: {},
126
+ },
127
+ ],
128
+ }),
129
+ headerTitle: (colorPalette: PalettesWithNestedKeys) => ({
130
+ variants: {
131
+ variant: {
132
+ solid: {
133
+ color: theme.colors.fg.default,
134
+ },
135
+ outline: {
136
+ color: theme.colors[colorPalette].text,
137
+ },
138
+ subtle: {
139
+ color: theme.colors[colorPalette].text,
140
+ },
141
+ },
142
+ size: {
143
+ sm: {
144
+ fontSize: theme.fontSizes.sm,
145
+ },
146
+ md: {
147
+ fontSize: theme.fontSizes.md,
148
+ },
149
+ lg: {
150
+ fontSize: theme.fontSizes.md,
151
+ },
152
+ xl: {
153
+ fontSize: theme.fontSizes.lg,
154
+ },
155
+ nosize: {
156
+ fontSize: theme.fontSizes.md,
157
+ },
158
+ },
159
+ active: {
160
+ true: {},
161
+ false: {},
162
+ },
163
+ },
164
+ compoundVariants: [
165
+ {
166
+ variant: 'solid',
167
+ active: true,
168
+ styles: {
169
+ color: theme.colors[colorPalette].default,
170
+ },
171
+ },
172
+ {
173
+ variant: 'outline',
174
+ active: true,
175
+ styles: {},
176
+ },
177
+ {
178
+ variant: 'subtle',
179
+ active: true,
180
+ styles: {},
181
+ },
182
+ ],
183
+ }),
184
+ }))
@@ -9,7 +9,9 @@ export const ButtonDefaultVariants = {
9
9
  export const ButtonStyles = StyleSheet.create(theme => ({
10
10
  container: (colorPalette: PalettesWithNestedKeys) => ({
11
11
  borderRadius: 12,
12
-
12
+ _web: {
13
+ _classNames: 'button-container-recipe',
14
+ },
13
15
  variants: {
14
16
  variant: {
15
17
  solid: {
@@ -107,6 +109,9 @@ export const ButtonStyles = StyleSheet.create(theme => ({
107
109
  ],
108
110
  }),
109
111
  text: (colorPalette: PalettesWithNestedKeys) => ({
112
+ _web: {
113
+ _classNames: 'button-text-recipe',
114
+ },
110
115
  variants: {
111
116
  variant: {
112
117
  solid: {
@@ -131,22 +136,34 @@ export const ButtonStyles = StyleSheet.create(theme => ({
131
136
  },
132
137
  size: {
133
138
  xs: {
134
- ...textStyle.xs,
139
+ // ...textStyle.xs,
140
+ fontSize: theme.fontSizes.xs,
141
+ lineHeight: 12,
135
142
  },
136
143
  sm: {
137
- ...textStyle.sm,
144
+ // ...textStyle.sm,
145
+ fontSize: theme.fontSizes.sm,
146
+ lineHeight: 20,
138
147
  },
139
148
  md: {
140
- ...textStyle.sm,
149
+ // ...textStyle.md,
150
+ fontSize: theme.fontSizes.md,
151
+ lineHeight: 24,
141
152
  },
142
153
  lg: {
143
- ...textStyle.md,
154
+ // ...textStyle.md,
155
+ fontSize: theme.fontSizes.md,
156
+ lineHeight: 24,
144
157
  },
145
158
  xl: {
146
- ...textStyle.md,
159
+ // ...textStyle.md,
160
+ fontSize: theme.fontSizes.md,
161
+ lineHeight: 24,
147
162
  },
148
163
  '2xl': {
149
- ...textStyle.lg,
164
+ // ...textStyle.lg,
165
+ fontSize: theme.fontSizes.lg,
166
+ lineHeight: 28,
150
167
  },
151
168
  },
152
169
  },
@@ -49,15 +49,13 @@ export const DrawerStyles = StyleSheet.create((theme, rt) => ({
49
49
  },
50
50
  },
51
51
  slider: (colorPalette: PalettesWithNestedKeys) => ({
52
- boxShadow: `0px -10px 20px black`,
52
+ boxShadow: theme.shadows.sm,
53
53
  borderRadius: theme.radii.lg,
54
54
  backgroundColor: theme.colors.bg.default,
55
55
  padding: theme.spacing[3],
56
56
  variants: {
57
57
  variant: {
58
- solid: {
59
- backgroundColor: 'blue',
60
- },
58
+ solid: {},
61
59
  subtle: {
62
60
  boxShadow: 'none',
63
61
  borderRadius: theme.radii.none,
@@ -23,15 +23,13 @@ export const FieldStyles = StyleSheet.create(theme => ({
23
23
  color: theme.colors.fg.default,
24
24
  variants: {
25
25
  variant: {
26
- solid: {
27
- // transform: [{translateY: theme.spacing['3.5']}],
28
- // marginLeft: theme.spacing['3'],
29
- // paddingHorizontal: theme.spacing['1'],
30
- backgroundColor: theme.colors.bg.default,
31
- zIndex: 10,
32
- flex: 0,
33
- width: 'auto',
26
+ solid: {},
27
+ floating: {
34
28
  alignSelf: 'baseline',
29
+ width: 'auto',
30
+ flex: 0,
31
+ zIndex: 10,
32
+ backgroundColor: theme.colors.bg.default,
35
33
  },
36
34
  },
37
35
  size: {
@@ -43,18 +41,50 @@ export const FieldStyles = StyleSheet.create(theme => ({
43
41
  },
44
42
  md: {
45
43
  fontSize: theme.fontSizes.md,
46
- transform: [{translateY: theme.spacing['4.5']}],
47
- marginLeft: theme.spacing['2'],
48
- paddingHorizontal: theme.spacing['1'],
49
44
  },
50
45
  lg: {
51
- fontSize: theme.fontSizes['2xl'],
52
- transform: [{translateY: theme.spacing['5']}],
53
- marginLeft: theme.spacing['2.5'],
54
- paddingHorizontal: theme.spacing['1'],
46
+ fontSize: theme.fontSizes['lg'],
55
47
  },
56
48
  },
57
49
  },
50
+ compoundVariants: [
51
+ {
52
+ variant: 'floating',
53
+ size: 'xs',
54
+ styles: {
55
+ paddingHorizontal: theme.spacing['1'],
56
+ marginLeft: theme.spacing['1'],
57
+ transform: [{translateY: theme.spacing['3']}],
58
+ },
59
+ },
60
+ {
61
+ variant: 'floating',
62
+ size: 'sm',
63
+ styles: {
64
+ paddingHorizontal: theme.spacing['1'],
65
+ marginLeft: theme.spacing['2'],
66
+ transform: [{translateY: theme.spacing['3.5']}],
67
+ },
68
+ },
69
+ {
70
+ variant: 'floating',
71
+ size: 'md',
72
+ styles: {
73
+ paddingHorizontal: theme.spacing['1'],
74
+ marginLeft: theme.spacing['2'],
75
+ transform: [{translateY: theme.spacing['4.5']}],
76
+ },
77
+ },
78
+ {
79
+ variant: 'floating',
80
+ size: 'lg',
81
+ styles: {
82
+ paddingHorizontal: theme.spacing['1.5'],
83
+ marginLeft: theme.spacing['2'],
84
+ transform: [{translateY: theme.spacing['6']}],
85
+ },
86
+ },
87
+ ],
58
88
  }),
59
89
  error: (colorPalette: PalettesWithNestedKeys) => ({
60
90
  color: theme.colors.fg.error,
@@ -0,0 +1,112 @@
1
+ import {StyleSheet} from 'react-native-unistyles'
2
+ import {PalettesWithNestedKeys} from '../style/varia/types'
3
+ import {textStyle} from '../style/varia/textStyles'
4
+
5
+ export const FloatingActionDefaultVariants = {
6
+ variant: 'solid',
7
+ size: 'md',
8
+ } as const
9
+
10
+ export const FloatingActionStyles = StyleSheet.create(theme => ({
11
+ buttonContainer: (colorPalette: PalettesWithNestedKeys) => ({
12
+ variants: {
13
+ variant: {
14
+ solid: {},
15
+ subtle: {},
16
+ outline: {},
17
+ ghost: {},
18
+ },
19
+ size: {
20
+ sm: {},
21
+ md: {},
22
+ lg: {},
23
+ },
24
+ },
25
+ }),
26
+ button: (colorPalette: PalettesWithNestedKeys) => ({
27
+ borderRadius: theme.radii.full,
28
+ variants: {
29
+ variant: {
30
+ solid: {
31
+ backgroundColor: theme.colors[colorPalette].default,
32
+ },
33
+ outline: {
34
+ borderWidth: 1,
35
+ borderColor: theme.colors[colorPalette].a7,
36
+ },
37
+ subtle: {
38
+ backgroundColor: theme.colors[colorPalette]['a3'],
39
+ },
40
+ ghost: {
41
+ backgroundColor: 'transparent',
42
+ },
43
+ },
44
+ size: {
45
+ sm: {
46
+ height: theme.sizes['8'],
47
+ width: theme.sizes['8'],
48
+ },
49
+ md: {
50
+ height: theme.sizes['10'],
51
+ width: theme.sizes['10'],
52
+ },
53
+ lg: {
54
+ height: theme.sizes['16'],
55
+ width: theme.sizes['16'],
56
+ },
57
+ },
58
+ },
59
+ }),
60
+ buttonIcon: (colorPalette: PalettesWithNestedKeys) => ({
61
+ variants: {
62
+ variant: {
63
+ solid: {
64
+ color: theme.colors.fg.default,
65
+ },
66
+ outline: {
67
+ color: theme.colors[colorPalette].text,
68
+ },
69
+ ghost: {
70
+ color: theme.colors.gray.text,
71
+ },
72
+ subtle: {
73
+ color: theme.colors[colorPalette].text,
74
+ },
75
+ },
76
+ },
77
+ }),
78
+ item: (colorPalette: PalettesWithNestedKeys) => ({
79
+ borderRadius: theme.radii.full,
80
+ variants: {
81
+ variant: {
82
+ solid: {
83
+ backgroundColor: theme.colors[colorPalette].default,
84
+ },
85
+ outline: {
86
+ borderWidth: 1,
87
+ borderColor: theme.colors[colorPalette].a7,
88
+ },
89
+ subtle: {
90
+ backgroundColor: theme.colors[colorPalette]['a3'],
91
+ },
92
+ ghost: {
93
+ backgroundColor: 'transparent',
94
+ },
95
+ },
96
+ size: {
97
+ sm: {
98
+ height: theme.sizes['8'],
99
+ width: theme.sizes['8'],
100
+ },
101
+ md: {
102
+ height: theme.sizes['10'],
103
+ width: theme.sizes['10'],
104
+ },
105
+ lg: {
106
+ height: theme.sizes['16'],
107
+ width: theme.sizes['16'],
108
+ },
109
+ },
110
+ },
111
+ }),
112
+ }))
@@ -1,5 +1,6 @@
1
+ import { StyleSheet } from 'react-native-unistyles'
1
2
  import {textStyle} from '../style/varia/textStyles'
2
- import {createGradientTextTokens} from '../style/varia/types'
3
+ import {createGradientTextTokens, PalettesWithNestedKeys} from '../style/varia/types'
3
4
 
4
5
  export const gradientTextTokens = createGradientTextTokens({
5
6
  defaultProps: {
@@ -25,39 +26,107 @@ export const gradientTextTokens = createGradientTextTokens({
25
26
  },
26
27
  },
27
28
  size: {
28
- xs: {
29
- ...textStyle.xs,
30
- },
31
- sm: {
32
- ...textStyle.sm,
33
- },
34
- md: {
35
- ...textStyle.md,
36
- },
37
- lg: {
38
- ...textStyle.lg,
39
- },
40
- xl: {
41
- ...textStyle.xl,
42
- },
43
- '2xl': {
44
- ...textStyle['2xl'],
45
- },
46
- '3xl': {
47
- ...textStyle['3xl'],
48
- },
49
- '4xl': {
50
- ...textStyle['4xl'],
51
- },
52
- '5xl': {
53
- ...textStyle['5xl'],
54
- },
55
- '6xl': {
56
- ...textStyle['6xl'],
57
- },
58
- '7xl': {
59
- ...textStyle['7xl'],
60
- },
29
+ // xs: {
30
+ // ...textStyle.xs,
31
+ // },
32
+ // sm: {
33
+ // ...textStyle.sm,
34
+ // },
35
+ // md: {
36
+ // ...textStyle.md,
37
+ // },
38
+ // lg: {
39
+ // ...textStyle.lg,
40
+ // },
41
+ // xl: {
42
+ // ...textStyle.xl,
43
+ // },
44
+ // '2xl': {
45
+ // ...textStyle['2xl'],
46
+ // },
47
+ // '3xl': {
48
+ // ...textStyle['3xl'],
49
+ // },
50
+ // '4xl': {
51
+ // ...textStyle['4xl'],
52
+ // },
53
+ // '5xl': {
54
+ // ...textStyle['5xl'],
55
+ // },
56
+ // '6xl': {
57
+ // ...textStyle['6xl'],
58
+ // },
59
+ // '7xl': {
60
+ // ...textStyle['7xl'],
61
+ // },
61
62
  },
62
63
  },
63
64
  } as const)
65
+
66
+ const GradientTextStyles = StyleSheet.create(theme => ({
67
+ text: (colorPalette: PalettesWithNestedKeys) => ({
68
+ color: theme.colors.fg.default,
69
+ variants: {
70
+ variant: {
71
+ heading: {
72
+ color: theme.colors.fg.default,
73
+ fontWeight: theme.fontWeights.bold,
74
+ },
75
+ default: {
76
+ color: theme.colors.fg.default,
77
+ fontWeight: theme.fontWeights.medium,
78
+ },
79
+ },
80
+ size: {
81
+ xs: {
82
+ fontSize: theme.fontSizes.xs,
83
+ lineHeight: 12,
84
+ },
85
+ sm: {
86
+ fontSize: theme.fontSizes.sm,
87
+ lineHeight: 20,
88
+ },
89
+ md: {
90
+ fontSize: theme.fontSizes.md,
91
+ lineHeight: 24,
92
+ },
93
+ lg: {
94
+ fontSize: theme.fontSizes.lg,
95
+ lineHeight: 28,
96
+ },
97
+ xl: {
98
+ fontSize: theme.fontSizes.xl,
99
+ lineHeight: 30,
100
+ },
101
+ '2xl': {
102
+ fontSize: theme.fontSizes['2xl'],
103
+ lineHeight: 32,
104
+ },
105
+ '3xl': {
106
+ fontSize: theme.fontSizes['3xl'],
107
+ lineHeight: 38,
108
+ },
109
+ '4xl': {
110
+ fontSize: theme.fontSizes['4xl'],
111
+ lineHeight: 44,
112
+ letterSpacing: -0.032,
113
+ },
114
+ '5xl': {
115
+ fontSize: theme.fontSizes['5xl'],
116
+ lineHeight: 60,
117
+ letterSpacing: -0.032,
118
+ },
119
+ '6xl': {
120
+ fontSize: theme.fontSizes['6xl'],
121
+ lineHeight: 72,
122
+ letterSpacing: -0.032,
123
+ },
124
+ '7xl': {
125
+ fontSize: theme.fontSizes['7xl'],
126
+ lineHeight: 92,
127
+ letterSpacing: -0.032,
128
+ },
129
+ },
130
+ },
131
+ }),
132
+ }))
@@ -11,7 +11,9 @@ export const InputStyles = StyleSheet.create(theme => ({
11
11
  placeholder: (colorPalette: PalettesWithNestedKeys) => ({
12
12
  variants: {
13
13
  variant: {
14
- solid: {},
14
+ solid: {
15
+ color: theme.colors.fg.subtle,
16
+ },
15
17
  },
16
18
  invalid: {
17
19
  true: {
@@ -38,6 +40,11 @@ export const InputStyles = StyleSheet.create(theme => ({
38
40
  variants: {
39
41
  variant: {
40
42
  solid: {},
43
+ underline: {
44
+ borderWidth: 0,
45
+ borderBottomWidth: 1,
46
+ borderRadius: 0,
47
+ },
41
48
  },
42
49
  focused: {
43
50
  true: {
@@ -75,14 +82,14 @@ export const InputStyles = StyleSheet.create(theme => ({
75
82
  fontSize: theme.fontSizes.sm,
76
83
  },
77
84
  md: {
78
- paddingHorizontal: theme.sizes[3],
85
+ paddingHorizontal: theme.sizes['2.5'],
79
86
  minHeight: theme.sizes[10],
80
87
  maxHeight: theme.sizes[20],
81
88
  minWidth: theme.sizes[10],
82
89
  fontSize: theme.fontSizes.md,
83
90
  },
84
91
  lg: {
85
- paddingHorizontal: theme.sizes['3.5'],
92
+ paddingHorizontal: theme.sizes[3],
86
93
  minHeight: theme.sizes[11],
87
94
  maxHeight: theme.sizes[11],
88
95
  minWidth: theme.sizes[11],
@@ -90,18 +97,19 @@ export const InputStyles = StyleSheet.create(theme => ({
90
97
  lineHeight: 18,
91
98
  },
92
99
  xl: {
93
- paddingHorizontal: theme.sizes[4],
100
+ paddingHorizontal: theme.sizes['3.5'],
94
101
  minHeight: theme.sizes[12],
95
102
  maxHeight: theme.sizes[12],
96
103
  minWidth: theme.sizes[12],
97
104
  fontSize: theme.fontSizes.lg,
98
105
  },
99
106
  '2xl': {
100
- paddingHorizontal: theme.sizes['4.5'],
107
+ paddingHorizontal: theme.sizes[4],
101
108
  minHeight: theme.sizes[16],
102
109
  maxHeight: theme.sizes[16],
103
110
  minWidth: theme.sizes[16],
104
- ...textStyle['3xl'],
111
+ // ...textStyle['3xl'],
112
+ fontSize: theme.fontSizes['3xl'],
105
113
  },
106
114
  flex: {
107
115
  paddingHorizontal: theme.sizes[2],
@@ -24,12 +24,15 @@ export const SelectStyles = StyleSheet.create((theme, rt) => ({
24
24
  size: {
25
25
  sm: {
26
26
  height: theme.sizes[9],
27
+ padding: theme.spacing[1],
27
28
  },
28
29
  md: {
29
30
  height: theme.sizes[10],
31
+ padding: theme.spacing[2],
30
32
  },
31
33
  lg: {
32
34
  height: theme.sizes[11],
35
+ padding: theme.spacing[3],
33
36
  },
34
37
  nosize: {},
35
38
  },