@stokr/components-library 4.2.4 → 4.2.5

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 (39) hide show
  1. package/dist/components/AddressItem/AddressItem.d.ts +38 -0
  2. package/dist/components/AddressItem/AddressItem.js +51 -0
  3. package/dist/components/AddressItem/AddressItem.styles.d.ts +31 -0
  4. package/dist/components/AddressItem/AddressItem.styles.js +73 -0
  5. package/dist/components/Collapsible/Collapsible.d.ts +10 -4
  6. package/dist/components/Collapsible/Collapsible.js +6 -14
  7. package/dist/components/Collapsible/Collapsible.styles.d.ts +3 -1
  8. package/dist/components/Collapsible/Collapsible.styles.js +23 -9
  9. package/dist/components/Country/CountrySelect.js +9 -14
  10. package/dist/components/Country/FlagFor.d.ts +9 -0
  11. package/dist/components/Country/FlagFor.js +25 -0
  12. package/dist/components/Country/flagLoaders.d.ts +5 -0
  13. package/dist/components/Country/flagLoaders.js +270 -0
  14. package/dist/components/Country/flagStore.d.ts +6 -0
  15. package/dist/components/Country/flagStore.js +29 -0
  16. package/dist/components/IdentityInfo/IdentityInfo.js +2 -1
  17. package/dist/components/IdentityInfo/IdentityInfo.styles.js +3 -1
  18. package/dist/components/InfoBox/InfoBox.js +44 -20
  19. package/dist/components/Input/Select.js +7 -5
  20. package/dist/components/Input/Select.styles.d.ts +19 -9
  21. package/dist/components/Input/Select.styles.js +36 -1
  22. package/dist/components/MaterialIcon/requiredIcons.d.ts +1 -1
  23. package/dist/components/MaterialIcon/requiredIcons.js +2 -0
  24. package/dist/components/PanelCard/PanelCard.d.ts +51 -0
  25. package/dist/components/PanelCard/PanelCard.js +35 -0
  26. package/dist/components/PanelCard/PanelCard.styles.d.ts +29 -0
  27. package/dist/components/PanelCard/PanelCard.styles.js +87 -0
  28. package/dist/components/StepSidebar/MobileStepProgress.styles.js +3 -3
  29. package/dist/components/StepSidebar/StepSidebar.d.ts +3 -1
  30. package/dist/components/StepSidebar/StepSidebar.js +2 -0
  31. package/dist/components/StepSidebar/StepSidebar.styles.js +6 -2
  32. package/dist/components/TaxResidenceCard/TaxResidenceCard.js +27 -11
  33. package/dist/components/TaxResidenceCard/TaxResidenceCard.styles.js +88 -7
  34. package/dist/index.d.ts +43 -2
  35. package/dist/index.js +11 -3
  36. package/package.json +1 -1
  37. package/dist/static/images/globe.svg.js +0 -5
  38. package/dist/static/images/trash.svg +0 -17
  39. package/dist/static/images/trash.svg.js +0 -5
@@ -0,0 +1,270 @@
1
+ const flagLoaders = {
2
+ AC: () => import("country-flag-icons/string/3x2/AC"),
3
+ AD: () => import("country-flag-icons/string/3x2/AD"),
4
+ AE: () => import("country-flag-icons/string/3x2/AE"),
5
+ AF: () => import("country-flag-icons/string/3x2/AF"),
6
+ AG: () => import("country-flag-icons/string/3x2/AG"),
7
+ AI: () => import("country-flag-icons/string/3x2/AI"),
8
+ AL: () => import("country-flag-icons/string/3x2/AL"),
9
+ AM: () => import("country-flag-icons/string/3x2/AM"),
10
+ AO: () => import("country-flag-icons/string/3x2/AO"),
11
+ AQ: () => import("country-flag-icons/string/3x2/AQ"),
12
+ AR: () => import("country-flag-icons/string/3x2/AR"),
13
+ AS: () => import("country-flag-icons/string/3x2/AS"),
14
+ AT: () => import("country-flag-icons/string/3x2/AT"),
15
+ AU: () => import("country-flag-icons/string/3x2/AU"),
16
+ AW: () => import("country-flag-icons/string/3x2/AW"),
17
+ AX: () => import("country-flag-icons/string/3x2/AX"),
18
+ AZ: () => import("country-flag-icons/string/3x2/AZ"),
19
+ BA: () => import("country-flag-icons/string/3x2/BA"),
20
+ BB: () => import("country-flag-icons/string/3x2/BB"),
21
+ BD: () => import("country-flag-icons/string/3x2/BD"),
22
+ BE: () => import("country-flag-icons/string/3x2/BE"),
23
+ BF: () => import("country-flag-icons/string/3x2/BF"),
24
+ BG: () => import("country-flag-icons/string/3x2/BG"),
25
+ BH: () => import("country-flag-icons/string/3x2/BH"),
26
+ BI: () => import("country-flag-icons/string/3x2/BI"),
27
+ BJ: () => import("country-flag-icons/string/3x2/BJ"),
28
+ BL: () => import("country-flag-icons/string/3x2/BL"),
29
+ BM: () => import("country-flag-icons/string/3x2/BM"),
30
+ BN: () => import("country-flag-icons/string/3x2/BN"),
31
+ BO: () => import("country-flag-icons/string/3x2/BO"),
32
+ BQ_BO: () => import("country-flag-icons/string/3x2/BQ-BO"),
33
+ BQ_SA: () => import("country-flag-icons/string/3x2/BQ-SA"),
34
+ BQ_SE: () => import("country-flag-icons/string/3x2/BQ-SE"),
35
+ BQ: () => import("country-flag-icons/string/3x2/BQ"),
36
+ BR: () => import("country-flag-icons/string/3x2/BR"),
37
+ BS: () => import("country-flag-icons/string/3x2/BS"),
38
+ BT: () => import("country-flag-icons/string/3x2/BT"),
39
+ BV: () => import("country-flag-icons/string/3x2/BV"),
40
+ BW: () => import("country-flag-icons/string/3x2/BW"),
41
+ BY: () => import("country-flag-icons/string/3x2/BY"),
42
+ BZ: () => import("country-flag-icons/string/3x2/BZ"),
43
+ CA: () => import("country-flag-icons/string/3x2/CA"),
44
+ CC: () => import("country-flag-icons/string/3x2/CC"),
45
+ CD: () => import("country-flag-icons/string/3x2/CD"),
46
+ CF: () => import("country-flag-icons/string/3x2/CF"),
47
+ CG: () => import("country-flag-icons/string/3x2/CG"),
48
+ CH: () => import("country-flag-icons/string/3x2/CH"),
49
+ CI: () => import("country-flag-icons/string/3x2/CI"),
50
+ CK: () => import("country-flag-icons/string/3x2/CK"),
51
+ CL: () => import("country-flag-icons/string/3x2/CL"),
52
+ CM: () => import("country-flag-icons/string/3x2/CM"),
53
+ CN: () => import("country-flag-icons/string/3x2/CN"),
54
+ CO: () => import("country-flag-icons/string/3x2/CO"),
55
+ CR: () => import("country-flag-icons/string/3x2/CR"),
56
+ CU: () => import("country-flag-icons/string/3x2/CU"),
57
+ CV: () => import("country-flag-icons/string/3x2/CV"),
58
+ CW: () => import("country-flag-icons/string/3x2/CW"),
59
+ CX: () => import("country-flag-icons/string/3x2/CX"),
60
+ CY: () => import("country-flag-icons/string/3x2/CY"),
61
+ CZ: () => import("country-flag-icons/string/3x2/CZ"),
62
+ DE: () => import("country-flag-icons/string/3x2/DE"),
63
+ DJ: () => import("country-flag-icons/string/3x2/DJ"),
64
+ DK: () => import("country-flag-icons/string/3x2/DK"),
65
+ DM: () => import("country-flag-icons/string/3x2/DM"),
66
+ DO: () => import("country-flag-icons/string/3x2/DO"),
67
+ DZ: () => import("country-flag-icons/string/3x2/DZ"),
68
+ EC: () => import("country-flag-icons/string/3x2/EC"),
69
+ EE: () => import("country-flag-icons/string/3x2/EE"),
70
+ EG: () => import("country-flag-icons/string/3x2/EG"),
71
+ EH: () => import("country-flag-icons/string/3x2/EH"),
72
+ ER: () => import("country-flag-icons/string/3x2/ER"),
73
+ ES_CT: () => import("country-flag-icons/string/3x2/ES-CT"),
74
+ ES: () => import("country-flag-icons/string/3x2/ES"),
75
+ ET: () => import("country-flag-icons/string/3x2/ET"),
76
+ EU: () => import("country-flag-icons/string/3x2/EU"),
77
+ FI: () => import("country-flag-icons/string/3x2/FI"),
78
+ FJ: () => import("country-flag-icons/string/3x2/FJ"),
79
+ FK: () => import("country-flag-icons/string/3x2/FK"),
80
+ FM: () => import("country-flag-icons/string/3x2/FM"),
81
+ FO: () => import("country-flag-icons/string/3x2/FO"),
82
+ FR: () => import("country-flag-icons/string/3x2/FR"),
83
+ GA: () => import("country-flag-icons/string/3x2/GA"),
84
+ GB_ENG: () => import("country-flag-icons/string/3x2/GB-ENG"),
85
+ GB_NIR: () => import("country-flag-icons/string/3x2/GB-NIR"),
86
+ GB_SCT: () => import("country-flag-icons/string/3x2/GB-SCT"),
87
+ GB_WLS: () => import("country-flag-icons/string/3x2/GB-WLS"),
88
+ GB: () => import("country-flag-icons/string/3x2/GB"),
89
+ GD: () => import("country-flag-icons/string/3x2/GD"),
90
+ GE: () => import("country-flag-icons/string/3x2/GE"),
91
+ GF: () => import("country-flag-icons/string/3x2/GF"),
92
+ GG: () => import("country-flag-icons/string/3x2/GG"),
93
+ GH: () => import("country-flag-icons/string/3x2/GH"),
94
+ GI: () => import("country-flag-icons/string/3x2/GI"),
95
+ GL: () => import("country-flag-icons/string/3x2/GL"),
96
+ GM: () => import("country-flag-icons/string/3x2/GM"),
97
+ GN: () => import("country-flag-icons/string/3x2/GN"),
98
+ GP: () => import("country-flag-icons/string/3x2/GP"),
99
+ GQ: () => import("country-flag-icons/string/3x2/GQ"),
100
+ GR: () => import("country-flag-icons/string/3x2/GR"),
101
+ GS: () => import("country-flag-icons/string/3x2/GS"),
102
+ GT: () => import("country-flag-icons/string/3x2/GT"),
103
+ GU: () => import("country-flag-icons/string/3x2/GU"),
104
+ GW: () => import("country-flag-icons/string/3x2/GW"),
105
+ GY: () => import("country-flag-icons/string/3x2/GY"),
106
+ HK: () => import("country-flag-icons/string/3x2/HK"),
107
+ HM: () => import("country-flag-icons/string/3x2/HM"),
108
+ HN: () => import("country-flag-icons/string/3x2/HN"),
109
+ HR: () => import("country-flag-icons/string/3x2/HR"),
110
+ HT: () => import("country-flag-icons/string/3x2/HT"),
111
+ HU: () => import("country-flag-icons/string/3x2/HU"),
112
+ IC: () => import("country-flag-icons/string/3x2/IC"),
113
+ ID: () => import("country-flag-icons/string/3x2/ID"),
114
+ IE: () => import("country-flag-icons/string/3x2/IE"),
115
+ IL: () => import("country-flag-icons/string/3x2/IL"),
116
+ IM: () => import("country-flag-icons/string/3x2/IM"),
117
+ IN: () => import("country-flag-icons/string/3x2/IN"),
118
+ IO: () => import("country-flag-icons/string/3x2/IO"),
119
+ IQ: () => import("country-flag-icons/string/3x2/IQ"),
120
+ IR: () => import("country-flag-icons/string/3x2/IR"),
121
+ IS: () => import("country-flag-icons/string/3x2/IS"),
122
+ IT: () => import("country-flag-icons/string/3x2/IT"),
123
+ JE: () => import("country-flag-icons/string/3x2/JE"),
124
+ JM: () => import("country-flag-icons/string/3x2/JM"),
125
+ JO: () => import("country-flag-icons/string/3x2/JO"),
126
+ JP: () => import("country-flag-icons/string/3x2/JP"),
127
+ KE: () => import("country-flag-icons/string/3x2/KE"),
128
+ KG: () => import("country-flag-icons/string/3x2/KG"),
129
+ KH: () => import("country-flag-icons/string/3x2/KH"),
130
+ KI: () => import("country-flag-icons/string/3x2/KI"),
131
+ KM: () => import("country-flag-icons/string/3x2/KM"),
132
+ KN: () => import("country-flag-icons/string/3x2/KN"),
133
+ KP: () => import("country-flag-icons/string/3x2/KP"),
134
+ KR: () => import("country-flag-icons/string/3x2/KR"),
135
+ KW: () => import("country-flag-icons/string/3x2/KW"),
136
+ KY: () => import("country-flag-icons/string/3x2/KY"),
137
+ KZ: () => import("country-flag-icons/string/3x2/KZ"),
138
+ LA: () => import("country-flag-icons/string/3x2/LA"),
139
+ LB: () => import("country-flag-icons/string/3x2/LB"),
140
+ LC: () => import("country-flag-icons/string/3x2/LC"),
141
+ LI: () => import("country-flag-icons/string/3x2/LI"),
142
+ LK: () => import("country-flag-icons/string/3x2/LK"),
143
+ LR: () => import("country-flag-icons/string/3x2/LR"),
144
+ LS: () => import("country-flag-icons/string/3x2/LS"),
145
+ LT: () => import("country-flag-icons/string/3x2/LT"),
146
+ LU: () => import("country-flag-icons/string/3x2/LU"),
147
+ LV: () => import("country-flag-icons/string/3x2/LV"),
148
+ LY: () => import("country-flag-icons/string/3x2/LY"),
149
+ MA: () => import("country-flag-icons/string/3x2/MA"),
150
+ MC: () => import("country-flag-icons/string/3x2/MC"),
151
+ MD: () => import("country-flag-icons/string/3x2/MD"),
152
+ ME: () => import("country-flag-icons/string/3x2/ME"),
153
+ MF: () => import("country-flag-icons/string/3x2/MF"),
154
+ MG: () => import("country-flag-icons/string/3x2/MG"),
155
+ MH: () => import("country-flag-icons/string/3x2/MH"),
156
+ MK: () => import("country-flag-icons/string/3x2/MK"),
157
+ ML: () => import("country-flag-icons/string/3x2/ML"),
158
+ MM: () => import("country-flag-icons/string/3x2/MM"),
159
+ MN: () => import("country-flag-icons/string/3x2/MN"),
160
+ MO: () => import("country-flag-icons/string/3x2/MO"),
161
+ MP: () => import("country-flag-icons/string/3x2/MP"),
162
+ MQ: () => import("country-flag-icons/string/3x2/MQ"),
163
+ MR: () => import("country-flag-icons/string/3x2/MR"),
164
+ MS: () => import("country-flag-icons/string/3x2/MS"),
165
+ MT: () => import("country-flag-icons/string/3x2/MT"),
166
+ MU: () => import("country-flag-icons/string/3x2/MU"),
167
+ MV: () => import("country-flag-icons/string/3x2/MV"),
168
+ MW: () => import("country-flag-icons/string/3x2/MW"),
169
+ MX: () => import("country-flag-icons/string/3x2/MX"),
170
+ MY: () => import("country-flag-icons/string/3x2/MY"),
171
+ MZ: () => import("country-flag-icons/string/3x2/MZ"),
172
+ NA: () => import("country-flag-icons/string/3x2/NA"),
173
+ NC: () => import("country-flag-icons/string/3x2/NC"),
174
+ NE: () => import("country-flag-icons/string/3x2/NE"),
175
+ NF: () => import("country-flag-icons/string/3x2/NF"),
176
+ NG: () => import("country-flag-icons/string/3x2/NG"),
177
+ NI: () => import("country-flag-icons/string/3x2/NI"),
178
+ NL: () => import("country-flag-icons/string/3x2/NL"),
179
+ NO: () => import("country-flag-icons/string/3x2/NO"),
180
+ NP: () => import("country-flag-icons/string/3x2/NP"),
181
+ NR: () => import("country-flag-icons/string/3x2/NR"),
182
+ NU: () => import("country-flag-icons/string/3x2/NU"),
183
+ NZ: () => import("country-flag-icons/string/3x2/NZ"),
184
+ OM: () => import("country-flag-icons/string/3x2/OM"),
185
+ PA: () => import("country-flag-icons/string/3x2/PA"),
186
+ PE: () => import("country-flag-icons/string/3x2/PE"),
187
+ PF: () => import("country-flag-icons/string/3x2/PF"),
188
+ PG: () => import("country-flag-icons/string/3x2/PG"),
189
+ PH: () => import("country-flag-icons/string/3x2/PH"),
190
+ PK: () => import("country-flag-icons/string/3x2/PK"),
191
+ PL: () => import("country-flag-icons/string/3x2/PL"),
192
+ PM: () => import("country-flag-icons/string/3x2/PM"),
193
+ PN: () => import("country-flag-icons/string/3x2/PN"),
194
+ PR: () => import("country-flag-icons/string/3x2/PR"),
195
+ PS: () => import("country-flag-icons/string/3x2/PS"),
196
+ PT: () => import("country-flag-icons/string/3x2/PT"),
197
+ PW: () => import("country-flag-icons/string/3x2/PW"),
198
+ PY: () => import("country-flag-icons/string/3x2/PY"),
199
+ QA: () => import("country-flag-icons/string/3x2/QA"),
200
+ RE: () => import("country-flag-icons/string/3x2/RE"),
201
+ RO: () => import("country-flag-icons/string/3x2/RO"),
202
+ RS: () => import("country-flag-icons/string/3x2/RS"),
203
+ RU: () => import("country-flag-icons/string/3x2/RU"),
204
+ RW: () => import("country-flag-icons/string/3x2/RW"),
205
+ SA: () => import("country-flag-icons/string/3x2/SA"),
206
+ SB: () => import("country-flag-icons/string/3x2/SB"),
207
+ SC: () => import("country-flag-icons/string/3x2/SC"),
208
+ SD: () => import("country-flag-icons/string/3x2/SD"),
209
+ SE: () => import("country-flag-icons/string/3x2/SE"),
210
+ SG: () => import("country-flag-icons/string/3x2/SG"),
211
+ SH: () => import("country-flag-icons/string/3x2/SH"),
212
+ SI: () => import("country-flag-icons/string/3x2/SI"),
213
+ SJ: () => import("country-flag-icons/string/3x2/SJ"),
214
+ SK: () => import("country-flag-icons/string/3x2/SK"),
215
+ SL: () => import("country-flag-icons/string/3x2/SL"),
216
+ SM: () => import("country-flag-icons/string/3x2/SM"),
217
+ SN: () => import("country-flag-icons/string/3x2/SN"),
218
+ SO: () => import("country-flag-icons/string/3x2/SO"),
219
+ SR: () => import("country-flag-icons/string/3x2/SR"),
220
+ SS: () => import("country-flag-icons/string/3x2/SS"),
221
+ ST: () => import("country-flag-icons/string/3x2/ST"),
222
+ SV: () => import("country-flag-icons/string/3x2/SV"),
223
+ SX: () => import("country-flag-icons/string/3x2/SX"),
224
+ SY: () => import("country-flag-icons/string/3x2/SY"),
225
+ SZ: () => import("country-flag-icons/string/3x2/SZ"),
226
+ TA: () => import("country-flag-icons/string/3x2/TA"),
227
+ TC: () => import("country-flag-icons/string/3x2/TC"),
228
+ TD: () => import("country-flag-icons/string/3x2/TD"),
229
+ TF: () => import("country-flag-icons/string/3x2/TF"),
230
+ TG: () => import("country-flag-icons/string/3x2/TG"),
231
+ TH: () => import("country-flag-icons/string/3x2/TH"),
232
+ TJ: () => import("country-flag-icons/string/3x2/TJ"),
233
+ TK: () => import("country-flag-icons/string/3x2/TK"),
234
+ TL: () => import("country-flag-icons/string/3x2/TL"),
235
+ TM: () => import("country-flag-icons/string/3x2/TM"),
236
+ TN: () => import("country-flag-icons/string/3x2/TN"),
237
+ TO: () => import("country-flag-icons/string/3x2/TO"),
238
+ TR: () => import("country-flag-icons/string/3x2/TR"),
239
+ TT: () => import("country-flag-icons/string/3x2/TT"),
240
+ TV: () => import("country-flag-icons/string/3x2/TV"),
241
+ TW: () => import("country-flag-icons/string/3x2/TW"),
242
+ TZ: () => import("country-flag-icons/string/3x2/TZ"),
243
+ UA: () => import("country-flag-icons/string/3x2/UA"),
244
+ UG: () => import("country-flag-icons/string/3x2/UG"),
245
+ UM: () => import("country-flag-icons/string/3x2/UM"),
246
+ US: () => import("country-flag-icons/string/3x2/US"),
247
+ UY: () => import("country-flag-icons/string/3x2/UY"),
248
+ UZ: () => import("country-flag-icons/string/3x2/UZ"),
249
+ VA: () => import("country-flag-icons/string/3x2/VA"),
250
+ VC: () => import("country-flag-icons/string/3x2/VC"),
251
+ VE: () => import("country-flag-icons/string/3x2/VE"),
252
+ VG: () => import("country-flag-icons/string/3x2/VG"),
253
+ VI: () => import("country-flag-icons/string/3x2/VI"),
254
+ VN: () => import("country-flag-icons/string/3x2/VN"),
255
+ VU: () => import("country-flag-icons/string/3x2/VU"),
256
+ WF: () => import("country-flag-icons/string/3x2/WF"),
257
+ WS: () => import("country-flag-icons/string/3x2/WS"),
258
+ XA: () => import("country-flag-icons/string/3x2/XA"),
259
+ XC: () => import("country-flag-icons/string/3x2/XC"),
260
+ XK: () => import("country-flag-icons/string/3x2/XK"),
261
+ XO: () => import("country-flag-icons/string/3x2/XO"),
262
+ YE: () => import("country-flag-icons/string/3x2/YE"),
263
+ YT: () => import("country-flag-icons/string/3x2/YT"),
264
+ ZA: () => import("country-flag-icons/string/3x2/ZA"),
265
+ ZM: () => import("country-flag-icons/string/3x2/ZM"),
266
+ ZW: () => import("country-flag-icons/string/3x2/ZW")
267
+ };
268
+ export {
269
+ flagLoaders
270
+ };
@@ -0,0 +1,6 @@
1
+ export declare const toFlagKey: (code: string) => string;
2
+ export declare const subscribeToFlags: (listener: () => void) => () => void;
3
+ export declare const getFlagSrc: (key: string) => string;
4
+ export declare const loadFlag: (key: string) => void;
5
+ /** Starts loading flags before they render, e.g. for the options of a country list. */
6
+ export declare const preloadFlags: (codes: readonly string[]) => void;
@@ -0,0 +1,29 @@
1
+ import { flagLoaders } from "./flagLoaders.js";
2
+ const loaded = /* @__PURE__ */ new Map();
3
+ const pending = /* @__PURE__ */ new Set();
4
+ const listeners = /* @__PURE__ */ new Set();
5
+ const toFlagKey = (code) => code.toUpperCase().replace("-", "_");
6
+ const subscribeToFlags = (listener) => {
7
+ listeners.add(listener);
8
+ return () => {
9
+ listeners.delete(listener);
10
+ };
11
+ };
12
+ const getFlagSrc = (key) => loaded.get(key);
13
+ const loadFlag = (key) => {
14
+ const loader = flagLoaders[key];
15
+ if (!loader || loaded.has(key) || pending.has(key)) return;
16
+ pending.add(key);
17
+ loader().then(({ default: svg }) => {
18
+ loaded.set(key, `data:image/svg+xml;charset=utf-8,${encodeURIComponent(svg)}`);
19
+ listeners.forEach((listener) => listener());
20
+ }).catch(() => void 0).finally(() => pending.delete(key));
21
+ };
22
+ const preloadFlags = (codes) => codes.forEach((code) => loadFlag(toFlagKey(code)));
23
+ export {
24
+ getFlagSrc,
25
+ loadFlag,
26
+ preloadFlags,
27
+ subscribeToFlags,
28
+ toFlagKey
29
+ };
@@ -1,8 +1,9 @@
1
1
  import { jsxs, jsx, Fragment } from "react/jsx-runtime";
2
2
  import "react";
3
3
  import PropTypes from "prop-types";
4
- import { FlagFor } from "../Country/CountrySelect.js";
4
+ import "../Country/CountrySelect.js";
5
5
  import { CountryRowRoot, FlagSlot, CountryCode, ResidencyItemRoot, FieldLabel, FieldValue, SectionHeaderRoot, SectionHeaderIconWrap } from "./IdentityInfo.styles.js";
6
+ import { FlagFor } from "../Country/FlagFor.js";
6
7
  const IdentitySectionHeader = ({ icon, count, children, style, className }) => /* @__PURE__ */ jsxs(SectionHeaderRoot, { style, className, children: [
7
8
  icon && /* @__PURE__ */ jsx(SectionHeaderIconWrap, { children: icon }),
8
9
  /* @__PURE__ */ jsxs("span", { children: [
@@ -17,9 +17,11 @@ const SectionHeaderIconWrap = styled.span`
17
17
  justify-content: center;
18
18
  flex-shrink: 0;
19
19
 
20
- > svg {
20
+ > svg,
21
+ > img {
21
22
  width: 18px;
22
23
  height: 18px;
24
+ object-fit: contain;
23
25
  }
24
26
  `;
25
27
  const FieldLabel = styled.p`
@@ -2,43 +2,53 @@ import { jsxs, jsx } from "react/jsx-runtime";
2
2
  import "react";
3
3
  import styled from "styled-components";
4
4
  import { colors } from "../../styles/colors.js";
5
+ import { typography } from "../../styles/typography.js";
5
6
  import { glyph } from "../MaterialIcon/glyph.js";
7
+ import { MaterialIcon } from "../MaterialIcon/MaterialIcon.js";
8
+ const BANNER = { padding: "12px 20px 12px 16px", gap: "12px", align: "center", leftBorder: true };
6
9
  const VARIANTS = {
7
10
  warning: {
11
+ ...BANNER,
8
12
  background: "#FFFBEB",
9
13
  border: colors.warningYellow,
10
14
  iconColor: colors.warningYellow
11
15
  },
12
16
  info: {
17
+ ...BANNER,
13
18
  background: "#F8FAFC",
14
19
  border: colors.blueDark,
15
- // border: `${colors.blueDark}80`, // 128 (100% opacity in hex): 50% opacity
16
20
  iconColor: colors.blueDark
17
21
  },
18
22
  error: {
23
+ ...BANNER,
19
24
  background: "#FDEDEC",
20
25
  border: colors.darkRed,
21
26
  iconColor: colors.darkRed
27
+ },
28
+ /** Figma "InfoBox" done state: green surface, bold check, no left border, top-aligned. */
29
+ success: {
30
+ padding: "12px",
31
+ gap: "8px",
32
+ align: "flex-start",
33
+ leftBorder: false,
34
+ background: colors.successSurface,
35
+ border: colors.freshGreen,
36
+ iconColor: colors.freshGreen
22
37
  }
23
38
  };
24
39
  const Container = styled.div`
25
40
  position: relative;
26
41
  display: flex;
27
42
  overflow: hidden;
28
- align-items: flex-start;
29
- align-items: center;
30
- gap: 12px;
31
- padding: 12px 20px 12px 16px;
32
- background: ${(props) => props.$bg};
33
- // border: 1px solid ${(props) => props.$border};
34
- border-radius: 8px;
35
- font-size: 12px;
36
- line-height: 18px;
37
- letter-spacing: 0.6px;
38
- font-weight: 400;
43
+ align-items: ${(props) => props.$align};
44
+ gap: var(--info-box-gap, ${(props) => props.$gap});
45
+ padding: var(--info-box-padding, ${(props) => props.$padding});
46
+ background: var(--info-box-background, ${(props) => props.$bg});
47
+ border-radius: var(--info-box-radius, 8px);
48
+ ${typography.formInput};
39
49
  color: ${colors.black};
40
50
 
41
- ${(props) => !props.$noLeftBorder && `
51
+ ${(props) => props.$leftBorder && `
42
52
  &:before {
43
53
  content: '';
44
54
  display: block;
@@ -60,6 +70,11 @@ const DefaultIcon = styled.span.attrs({
60
70
  color: ${(props) => props.$color};
61
71
  margin-top: 1px;
62
72
  `;
73
+ const SuccessIcon = styled.span`
74
+ display: inline-flex;
75
+ flex-shrink: 0;
76
+ color: var(--info-box-icon-color, ${colors.freshGreen});
77
+ `;
63
78
  const CustomIconWrapper = styled.span`
64
79
  flex-shrink: 0;
65
80
  display: flex;
@@ -71,25 +86,34 @@ const Content = styled.div`
71
86
  flex: 1;
72
87
  min-width: 0;
73
88
  `;
74
- const InfoBox = ({ variant = "warning", children, icon, style, className, noLeftBorder }) => {
89
+ const Title = styled.div`
90
+ ${typography.formInputMain};
91
+ `;
92
+ const InfoBox = ({ variant = "warning", title, children, icon, noLeftBorder, ...rest }) => {
75
93
  const theme = VARIANTS[variant] || VARIANTS.warning;
76
94
  const renderIcon = () => {
77
- if (icon) {
78
- return /* @__PURE__ */ jsx(CustomIconWrapper, { children: icon });
95
+ if (icon) return /* @__PURE__ */ jsx(CustomIconWrapper, { children: icon });
96
+ if (variant === "success") {
97
+ return /* @__PURE__ */ jsx(SuccessIcon, { children: /* @__PURE__ */ jsx(MaterialIcon, { name: "check", weight: 600, size: 20 }) });
79
98
  }
80
99
  return /* @__PURE__ */ jsx(DefaultIcon, { $color: theme.iconColor });
81
100
  };
82
101
  return /* @__PURE__ */ jsxs(
83
102
  Container,
84
103
  {
104
+ ...rest,
85
105
  $bg: theme.background,
86
- $noLeftBorder: noLeftBorder,
87
106
  $border: theme.border,
88
- style,
89
- className,
107
+ $padding: theme.padding,
108
+ $gap: theme.gap,
109
+ $align: theme.align,
110
+ $leftBorder: theme.leftBorder && !noLeftBorder,
90
111
  children: [
91
112
  renderIcon(),
92
- /* @__PURE__ */ jsx(Content, { children })
113
+ /* @__PURE__ */ jsxs(Content, { children: [
114
+ title != null && /* @__PURE__ */ jsx(Title, { children: title }),
115
+ children
116
+ ] })
93
117
  ]
94
118
  }
95
119
  );
@@ -1,6 +1,7 @@
1
1
  import { jsxs, jsx } from "react/jsx-runtime";
2
2
  import { useState, useMemo } from "react";
3
3
  import { Wrapper, Label } from "./Input.styles.js";
4
+ import { MaterialIcon } from "../MaterialIcon/MaterialIcon.js";
4
5
  import { OptionCheckbox } from "../Checkbox/OptionCheckbox.js";
5
6
  import CreatableSelect from "react-select/creatable";
6
7
  import ReactSelect, { components } from "react-select";
@@ -217,8 +218,8 @@ const Select = (props) => {
217
218
  }
218
219
  }
219
220
  ),
220
- multiple && selectedOptions.length > 0 && /* @__PURE__ */ jsxs(SelectedChipsWrapper, { "data-cy": dataCy ? `${dataCy}-chips` : void 0, children: [
221
- /* @__PURE__ */ jsxs(SelectedChipsTitle, { children: [
221
+ multiple && selectedOptions.length > 0 && /* @__PURE__ */ jsxs(SelectedChipsWrapper, { "data-cy": dataCy ? `${dataCy}-chips` : void 0, $variant: variant, children: [
222
+ /* @__PURE__ */ jsxs(SelectedChipsTitle, { $variant: variant, children: [
222
223
  selectedLabel,
223
224
  " (",
224
225
  selectedOptions.length,
@@ -226,16 +227,17 @@ const Select = (props) => {
226
227
  ] }),
227
228
  /* @__PURE__ */ jsx(SelectedChipsList, { children: selectedOptions.map((opt) => {
228
229
  const isLocked = lockedValues.includes(opt.value);
229
- return /* @__PURE__ */ jsxs(SelectedChip, { children: [
230
- renderIcon(opt.icon),
230
+ return /* @__PURE__ */ jsxs(SelectedChip, { $variant: variant, children: [
231
+ !bordered && renderIcon(opt.icon),
231
232
  /* @__PURE__ */ jsx(SelectedChipLabel, { children: opt.label }),
232
233
  /* @__PURE__ */ jsx(
233
234
  SelectedChipRemove,
234
235
  {
236
+ $variant: variant,
235
237
  onClick: () => removeValue(opt.value),
236
238
  "aria-label": `Remove ${typeof opt.label === "string" ? opt.label : opt.value}`,
237
239
  disabled: disabled || isLocked,
238
- children: "✕"
240
+ children: bordered ? /* @__PURE__ */ jsx(MaterialIcon, { name: "close", size: 16 }) : "✕"
239
241
  }
240
242
  )
241
243
  ] }, opt.key ?? opt.value);
@@ -51,26 +51,36 @@ export declare const OptionIcon: import('styled-components/dist/types').IStyledC
51
51
  export declare const OptionLabel: import('styled-components/dist/types').IStyledComponentBase<"web", Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "style"> & {
52
52
  style?: import('react').CSSProperties | import('styled-components/dist/types').CSSPropertiesWithVars;
53
53
  }> & string;
54
- export declare const SelectedChipsWrapper: import('styled-components/dist/types').IStyledComponentBase<"web", Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
54
+ export declare const SelectedChipsWrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Merged<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
55
55
  style?: import('react').CSSProperties | import('styled-components/dist/types').CSSPropertiesWithVars;
56
- }> & string;
57
- export declare const SelectedChipsTitle: import('styled-components/dist/types').IStyledComponentBase<"web", Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
56
+ }, {
57
+ $variant?: FieldVariant;
58
+ }>> & string;
59
+ export declare const SelectedChipsTitle: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Merged<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
58
60
  style?: import('react').CSSProperties | import('styled-components/dist/types').CSSPropertiesWithVars;
59
- }> & string;
61
+ }, {
62
+ $variant?: FieldVariant;
63
+ }>> & string;
60
64
  export declare const SelectedChipsList: import('styled-components/dist/types').IStyledComponentBase<"web", Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
61
65
  style?: import('react').CSSProperties | import('styled-components/dist/types').CSSPropertiesWithVars;
62
66
  }> & string;
63
- export declare const SelectedChip: import('styled-components/dist/types').IStyledComponentBase<"web", Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
67
+ export declare const SelectedChip: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Merged<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
64
68
  style?: import('react').CSSProperties | import('styled-components/dist/types').CSSPropertiesWithVars;
65
- }> & string;
69
+ }, {
70
+ $variant?: FieldVariant;
71
+ }>> & string;
66
72
  export declare const SelectedChipLabel: import('styled-components/dist/types').IStyledComponentBase<"web", Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "style"> & {
67
73
  style?: import('react').CSSProperties | import('styled-components/dist/types').CSSPropertiesWithVars;
68
74
  }> & string;
69
- export declare const SelectedChipRemove: import('styled-components/dist/types').IStyledComponentBase<"web", Omit<Omit<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "style"> & {
75
+ export declare const SelectedChipRemove: import('styled-components/dist/types').IStyledComponentBase<"web", Omit<import('styled-components/dist/types').Merged<Omit<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "style"> & {
70
76
  style?: import('react').CSSProperties | import('styled-components/dist/types').CSSPropertiesWithVars;
71
- }, "hidden" | "color" | "content" | "style" | "disabled" | "form" | "slot" | "title" | "ref" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "popover" | "popoverTargetAction" | "popoverTarget" | "inert" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onScrollEnd" | "onScrollEndCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onToggle" | "onBeforeToggle" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture" | "name" | "type" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "value"> & Partial<Pick<Omit<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "style"> & {
77
+ }, {
78
+ $variant?: FieldVariant;
79
+ }>, "hidden" | "color" | "content" | "style" | "disabled" | "form" | "slot" | "title" | "ref" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "popover" | "popoverTargetAction" | "popoverTarget" | "inert" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onScrollEnd" | "onScrollEndCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onToggle" | "onBeforeToggle" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture" | "name" | "type" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "value"> & Partial<Pick<import('styled-components/dist/types').Merged<Omit<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "style"> & {
72
80
  style?: import('react').CSSProperties | import('styled-components/dist/types').CSSPropertiesWithVars;
73
- }, "hidden" | "color" | "content" | "style" | "disabled" | "form" | "slot" | "title" | "ref" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "popover" | "popoverTargetAction" | "popoverTarget" | "inert" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onScrollEnd" | "onScrollEndCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onToggle" | "onBeforeToggle" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture" | "name" | "type" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "value">>> & string;
81
+ }, {
82
+ $variant?: FieldVariant;
83
+ }>, "hidden" | "color" | "content" | "style" | "disabled" | "form" | "slot" | "title" | "ref" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "popover" | "popoverTargetAction" | "popoverTarget" | "inert" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onScrollEnd" | "onScrollEndCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onToggle" | "onBeforeToggle" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture" | "name" | "type" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "value">>> & string;
74
84
  export declare const SelectWrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Merged<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
75
85
  style?: import('react').CSSProperties | import('styled-components/dist/types').CSSPropertiesWithVars;
76
86
  }, {