@spothero/ui 24.1.0 → 24.1.1-beta.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.
- package/dist/components/Icon/Icon.d.ts +1 -0
- package/dist/components/RefreshedInput/FormControl/index.d.ts +7 -0
- package/dist/components/RefreshedInput/Select/Select.d.ts +8 -0
- package/dist/components/RefreshedInput/Select/index.d.ts +1 -0
- package/dist/components/Select/styles/index.d.ts +221 -0
- package/dist/index.cjs.js +314 -297
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +314 -297
- package/dist/index.esm.js.map +1 -1
- package/dist/theme/base/breakpoints.d.ts +7 -0
- package/dist/theme/base/colors.d.ts +142 -0
- package/dist/theme/base/index.d.ts +7 -0
- package/dist/theme/base/notifications.d.ts +133 -0
- package/dist/theme/base/shadows.d.ts +17 -0
- package/dist/theme/base/sizes.d.ts +47 -0
- package/dist/theme/base/typography.d.ts +23 -0
- package/dist/theme/base/zindices.d.ts +16 -0
- package/package.json +5 -5
- /package/dist/{AccordionActionButton.d.ts → components/Accordion/AccordionActionButton.d.ts} +0 -0
- /package/dist/{index.d.ts → components/Accordion/index.d.ts} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Icon as default } from "@chakra-ui/react";
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export default FormControl;
|
|
2
|
+
/**
|
|
3
|
+
* A component used in the homepage/midfunnel refresh of 2024
|
|
4
|
+
* This formControl allows us to standardize the label movement animation as well as the left/right icons
|
|
5
|
+
* Can be used solo but typically will be used by the Refreshed components themselves
|
|
6
|
+
*/
|
|
7
|
+
declare const FormControl: any;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export default Select;
|
|
2
|
+
/**
|
|
3
|
+
* A component used in the homepage/midfunnel refresh of 2024
|
|
4
|
+
* Initially built as purpose built as possible with hopes of extending it to other systems
|
|
5
|
+
* using `<RefreshedSelect><option value="1"/>/<RefreshedSelect>` will bring in the core of this.
|
|
6
|
+
* Left arrow is static for this select. You can pass a second left element in but it will not over write the down arrow currently
|
|
7
|
+
*/
|
|
8
|
+
declare const Select: any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './Select';
|
|
@@ -0,0 +1,221 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
baseStyle?: {
|
|
3
|
+
field: {
|
|
4
|
+
appearance: string;
|
|
5
|
+
paddingBottom: string;
|
|
6
|
+
lineHeight: string;
|
|
7
|
+
bg: string;
|
|
8
|
+
_dark: {
|
|
9
|
+
[x: string]: string;
|
|
10
|
+
};
|
|
11
|
+
"> option, > optgroup": {
|
|
12
|
+
bg: string;
|
|
13
|
+
};
|
|
14
|
+
width?: string | undefined;
|
|
15
|
+
height?: string | undefined;
|
|
16
|
+
fontSize?: string | undefined;
|
|
17
|
+
px?: string | undefined;
|
|
18
|
+
borderRadius?: string | undefined;
|
|
19
|
+
minWidth?: number | undefined;
|
|
20
|
+
outline?: number | undefined;
|
|
21
|
+
position?: string | undefined;
|
|
22
|
+
transitionProperty?: string | undefined;
|
|
23
|
+
transitionDuration?: string | undefined;
|
|
24
|
+
_disabled?: {
|
|
25
|
+
opacity: number;
|
|
26
|
+
cursor: string;
|
|
27
|
+
} | undefined;
|
|
28
|
+
};
|
|
29
|
+
icon: {
|
|
30
|
+
width: string;
|
|
31
|
+
height: string;
|
|
32
|
+
insetEnd: string;
|
|
33
|
+
position: string;
|
|
34
|
+
color: string;
|
|
35
|
+
fontSize: string;
|
|
36
|
+
_disabled: {
|
|
37
|
+
opacity: number;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
} | undefined;
|
|
41
|
+
sizes?: {
|
|
42
|
+
lg: {
|
|
43
|
+
field: {
|
|
44
|
+
paddingInlineEnd: string;
|
|
45
|
+
};
|
|
46
|
+
group?: {
|
|
47
|
+
[x: string]: string;
|
|
48
|
+
} | undefined;
|
|
49
|
+
};
|
|
50
|
+
md: {
|
|
51
|
+
field: {
|
|
52
|
+
paddingInlineEnd: string;
|
|
53
|
+
};
|
|
54
|
+
group?: {
|
|
55
|
+
[x: string]: string;
|
|
56
|
+
} | undefined;
|
|
57
|
+
};
|
|
58
|
+
sm: {
|
|
59
|
+
field: {
|
|
60
|
+
paddingInlineEnd: string;
|
|
61
|
+
};
|
|
62
|
+
group?: {
|
|
63
|
+
[x: string]: string;
|
|
64
|
+
} | undefined;
|
|
65
|
+
};
|
|
66
|
+
xs: {
|
|
67
|
+
field: {
|
|
68
|
+
paddingInlineEnd: string;
|
|
69
|
+
};
|
|
70
|
+
icon: {
|
|
71
|
+
insetEnd: string;
|
|
72
|
+
};
|
|
73
|
+
group?: {
|
|
74
|
+
[x: string]: string;
|
|
75
|
+
} | undefined;
|
|
76
|
+
};
|
|
77
|
+
} | undefined;
|
|
78
|
+
variants?: {
|
|
79
|
+
outline: (props: import(".pnpm/@chakra-ui+styled-system@2.9.2/node_modules/@chakra-ui/styled-system").StyleFunctionProps) => {
|
|
80
|
+
field: {
|
|
81
|
+
border: string;
|
|
82
|
+
borderColor: string;
|
|
83
|
+
bg: string;
|
|
84
|
+
_hover: {
|
|
85
|
+
borderColor: string;
|
|
86
|
+
};
|
|
87
|
+
_readOnly: {
|
|
88
|
+
boxShadow: string;
|
|
89
|
+
userSelect: string;
|
|
90
|
+
};
|
|
91
|
+
_invalid: {
|
|
92
|
+
borderColor: any;
|
|
93
|
+
boxShadow: string;
|
|
94
|
+
};
|
|
95
|
+
_focusVisible: {
|
|
96
|
+
zIndex: number;
|
|
97
|
+
borderColor: any;
|
|
98
|
+
boxShadow: string;
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
addon: {
|
|
102
|
+
border: string;
|
|
103
|
+
borderColor: string;
|
|
104
|
+
bg: string;
|
|
105
|
+
};
|
|
106
|
+
};
|
|
107
|
+
filled: (props: import(".pnpm/@chakra-ui+styled-system@2.9.2/node_modules/@chakra-ui/styled-system").StyleFunctionProps) => {
|
|
108
|
+
field: {
|
|
109
|
+
border: string;
|
|
110
|
+
borderColor: string;
|
|
111
|
+
bg: string;
|
|
112
|
+
_hover: {
|
|
113
|
+
bg: string;
|
|
114
|
+
};
|
|
115
|
+
_readOnly: {
|
|
116
|
+
boxShadow: string;
|
|
117
|
+
userSelect: string;
|
|
118
|
+
};
|
|
119
|
+
_invalid: {
|
|
120
|
+
borderColor: any;
|
|
121
|
+
};
|
|
122
|
+
_focusVisible: {
|
|
123
|
+
bg: string;
|
|
124
|
+
borderColor: any;
|
|
125
|
+
};
|
|
126
|
+
};
|
|
127
|
+
addon: {
|
|
128
|
+
border: string;
|
|
129
|
+
borderColor: string;
|
|
130
|
+
bg: string;
|
|
131
|
+
};
|
|
132
|
+
};
|
|
133
|
+
flushed: (props: import(".pnpm/@chakra-ui+styled-system@2.9.2/node_modules/@chakra-ui/styled-system").StyleFunctionProps) => {
|
|
134
|
+
field: {
|
|
135
|
+
borderBottom: string;
|
|
136
|
+
borderColor: string;
|
|
137
|
+
borderRadius: string;
|
|
138
|
+
px: string;
|
|
139
|
+
bg: string;
|
|
140
|
+
_readOnly: {
|
|
141
|
+
boxShadow: string;
|
|
142
|
+
userSelect: string;
|
|
143
|
+
};
|
|
144
|
+
_invalid: {
|
|
145
|
+
borderColor: any;
|
|
146
|
+
boxShadow: string;
|
|
147
|
+
};
|
|
148
|
+
_focusVisible: {
|
|
149
|
+
borderColor: any;
|
|
150
|
+
boxShadow: string;
|
|
151
|
+
};
|
|
152
|
+
};
|
|
153
|
+
addon: {
|
|
154
|
+
borderBottom: string;
|
|
155
|
+
borderColor: string;
|
|
156
|
+
borderRadius: string;
|
|
157
|
+
px: string;
|
|
158
|
+
bg: string;
|
|
159
|
+
};
|
|
160
|
+
};
|
|
161
|
+
unstyled: {
|
|
162
|
+
field: {
|
|
163
|
+
bg: string;
|
|
164
|
+
px: string;
|
|
165
|
+
height: string;
|
|
166
|
+
};
|
|
167
|
+
addon: {
|
|
168
|
+
bg: string;
|
|
169
|
+
px: string;
|
|
170
|
+
height: string;
|
|
171
|
+
};
|
|
172
|
+
};
|
|
173
|
+
} | undefined;
|
|
174
|
+
defaultProps?: {
|
|
175
|
+
size?: "sm" | "xs" | "md" | "lg" | undefined;
|
|
176
|
+
variant?: "outline" | "unstyled" | "filled" | "flushed" | undefined;
|
|
177
|
+
colorScheme?: string | undefined;
|
|
178
|
+
} | undefined;
|
|
179
|
+
parts: ("icon" | "field")[];
|
|
180
|
+
} & {
|
|
181
|
+
baseStyle: {
|
|
182
|
+
field: {
|
|
183
|
+
fontFamily: string;
|
|
184
|
+
fontWeight: number;
|
|
185
|
+
};
|
|
186
|
+
};
|
|
187
|
+
variants: {
|
|
188
|
+
outline: {
|
|
189
|
+
field: {
|
|
190
|
+
border: string;
|
|
191
|
+
borderColor: string;
|
|
192
|
+
bg: string;
|
|
193
|
+
_hover: {
|
|
194
|
+
borderColor: string;
|
|
195
|
+
};
|
|
196
|
+
_readOnly: {
|
|
197
|
+
boxShadow: string;
|
|
198
|
+
userSelect: string;
|
|
199
|
+
};
|
|
200
|
+
_disabled: {
|
|
201
|
+
opacity: number;
|
|
202
|
+
cursor: string;
|
|
203
|
+
};
|
|
204
|
+
_invalid: {
|
|
205
|
+
borderColor: string;
|
|
206
|
+
boxShadow: (t: any) => string;
|
|
207
|
+
};
|
|
208
|
+
_focus: {
|
|
209
|
+
borderColor: string;
|
|
210
|
+
boxShadow: (t: any) => string;
|
|
211
|
+
};
|
|
212
|
+
};
|
|
213
|
+
addon: {
|
|
214
|
+
border: string;
|
|
215
|
+
borderColor: string;
|
|
216
|
+
bg: string;
|
|
217
|
+
};
|
|
218
|
+
};
|
|
219
|
+
};
|
|
220
|
+
};
|
|
221
|
+
export default _default;
|