@northlight/ui 2.9.0 → 2.9.2

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.
@@ -39,6 +39,24 @@ import AvatarEditor from 'react-avatar-editor';
39
39
  import { randomColor } from '@chakra-ui/theme-tools';
40
40
  import InputMask from 'react-input-mask';
41
41
 
42
+ var __defProp$25 = Object.defineProperty;
43
+ var __getOwnPropSymbols$25 = Object.getOwnPropertySymbols;
44
+ var __hasOwnProp$25 = Object.prototype.hasOwnProperty;
45
+ var __propIsEnum$25 = Object.prototype.propertyIsEnumerable;
46
+ var __defNormalProp$25 = (obj, key, value) => key in obj ? __defProp$25(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
47
+ var __spreadValues$25 = (a, b) => {
48
+ for (var prop in b || (b = {}))
49
+ if (__hasOwnProp$25.call(b, prop))
50
+ __defNormalProp$25(a, prop, b[prop]);
51
+ if (__getOwnPropSymbols$25)
52
+ for (var prop of __getOwnPropSymbols$25(b)) {
53
+ if (__propIsEnum$25.call(b, prop))
54
+ __defNormalProp$25(a, prop, b[prop]);
55
+ }
56
+ return a;
57
+ };
58
+ const Accordion = (props) => /* @__PURE__ */ React.createElement(Accordion$1, __spreadValues$25({}, props));
59
+
42
60
  var __defProp$24 = Object.defineProperty;
43
61
  var __getOwnPropSymbols$24 = Object.getOwnPropertySymbols;
44
62
  var __hasOwnProp$24 = Object.prototype.hasOwnProperty;
@@ -55,7 +73,7 @@ var __spreadValues$24 = (a, b) => {
55
73
  }
56
74
  return a;
57
75
  };
58
- const Accordion = (props) => /* @__PURE__ */ React.createElement(Accordion$1, __spreadValues$24({}, props));
76
+ const AccordionButton = (props) => /* @__PURE__ */ React.createElement(AccordionButton$1, __spreadValues$24({}, props));
59
77
 
60
78
  var __defProp$23 = Object.defineProperty;
61
79
  var __getOwnPropSymbols$23 = Object.getOwnPropertySymbols;
@@ -73,7 +91,7 @@ var __spreadValues$23 = (a, b) => {
73
91
  }
74
92
  return a;
75
93
  };
76
- const AccordionButton = (props) => /* @__PURE__ */ React.createElement(AccordionButton$1, __spreadValues$23({}, props));
94
+ const AccordionPanel = (props) => /* @__PURE__ */ React.createElement(AccordionPanel$1, __spreadValues$23({}, props));
77
95
 
78
96
  var __defProp$22 = Object.defineProperty;
79
97
  var __getOwnPropSymbols$22 = Object.getOwnPropertySymbols;
@@ -91,7 +109,7 @@ var __spreadValues$22 = (a, b) => {
91
109
  }
92
110
  return a;
93
111
  };
94
- const AccordionPanel = (props) => /* @__PURE__ */ React.createElement(AccordionPanel$1, __spreadValues$22({}, props));
112
+ const AccordionItem = (props) => /* @__PURE__ */ React.createElement(AccordionItem$1, __spreadValues$22({}, props));
95
113
 
96
114
  var __defProp$21 = Object.defineProperty;
97
115
  var __getOwnPropSymbols$21 = Object.getOwnPropertySymbols;
@@ -109,32 +127,14 @@ var __spreadValues$21 = (a, b) => {
109
127
  }
110
128
  return a;
111
129
  };
112
- const AccordionItem = (props) => /* @__PURE__ */ React.createElement(AccordionItem$1, __spreadValues$21({}, props));
113
-
114
- var __defProp$20 = Object.defineProperty;
115
- var __getOwnPropSymbols$20 = Object.getOwnPropertySymbols;
116
- var __hasOwnProp$20 = Object.prototype.hasOwnProperty;
117
- var __propIsEnum$20 = Object.prototype.propertyIsEnumerable;
118
- var __defNormalProp$20 = (obj, key, value) => key in obj ? __defProp$20(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
119
- var __spreadValues$20 = (a, b) => {
120
- for (var prop in b || (b = {}))
121
- if (__hasOwnProp$20.call(b, prop))
122
- __defNormalProp$20(a, prop, b[prop]);
123
- if (__getOwnPropSymbols$20)
124
- for (var prop of __getOwnPropSymbols$20(b)) {
125
- if (__propIsEnum$20.call(b, prop))
126
- __defNormalProp$20(a, prop, b[prop]);
127
- }
128
- return a;
129
- };
130
- var __objRest$1t = (source, exclude) => {
130
+ var __objRest$1u = (source, exclude) => {
131
131
  var target = {};
132
132
  for (var prop in source)
133
- if (__hasOwnProp$20.call(source, prop) && exclude.indexOf(prop) < 0)
133
+ if (__hasOwnProp$21.call(source, prop) && exclude.indexOf(prop) < 0)
134
134
  target[prop] = source[prop];
135
- if (source != null && __getOwnPropSymbols$20)
136
- for (var prop of __getOwnPropSymbols$20(source)) {
137
- if (exclude.indexOf(prop) < 0 && __propIsEnum$20.call(source, prop))
135
+ if (source != null && __getOwnPropSymbols$21)
136
+ for (var prop of __getOwnPropSymbols$21(source)) {
137
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$21.call(source, prop))
138
138
  target[prop] = source[prop];
139
139
  }
140
140
  return target;
@@ -144,7 +144,7 @@ const OrganizationLogo = (_a) => {
144
144
  name,
145
145
  image,
146
146
  variant = "square"
147
- } = _b, rest = __objRest$1t(_b, [
147
+ } = _b, rest = __objRest$1u(_b, [
148
148
  "name",
149
149
  "image",
150
150
  "variant"
@@ -153,7 +153,7 @@ const OrganizationLogo = (_a) => {
153
153
  const {
154
154
  container,
155
155
  text
156
- } = useMultiStyleConfig("Avatar", __spreadValues$20({ variant, image }, rest));
156
+ } = useMultiStyleConfig("Avatar", __spreadValues$21({ variant, image }, rest));
157
157
  return /* @__PURE__ */ React.createElement(
158
158
  chakra.div,
159
159
  {
@@ -170,30 +170,30 @@ const OrganizationLogo = (_a) => {
170
170
  );
171
171
  };
172
172
 
173
- var __defProp$1$ = Object.defineProperty;
174
- var __getOwnPropSymbols$1$ = Object.getOwnPropertySymbols;
175
- var __hasOwnProp$1$ = Object.prototype.hasOwnProperty;
176
- var __propIsEnum$1$ = Object.prototype.propertyIsEnumerable;
177
- var __defNormalProp$1$ = (obj, key, value) => key in obj ? __defProp$1$(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
178
- var __spreadValues$1$ = (a, b) => {
173
+ var __defProp$20 = Object.defineProperty;
174
+ var __getOwnPropSymbols$20 = Object.getOwnPropertySymbols;
175
+ var __hasOwnProp$20 = Object.prototype.hasOwnProperty;
176
+ var __propIsEnum$20 = Object.prototype.propertyIsEnumerable;
177
+ var __defNormalProp$20 = (obj, key, value) => key in obj ? __defProp$20(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
178
+ var __spreadValues$20 = (a, b) => {
179
179
  for (var prop in b || (b = {}))
180
- if (__hasOwnProp$1$.call(b, prop))
181
- __defNormalProp$1$(a, prop, b[prop]);
182
- if (__getOwnPropSymbols$1$)
183
- for (var prop of __getOwnPropSymbols$1$(b)) {
184
- if (__propIsEnum$1$.call(b, prop))
185
- __defNormalProp$1$(a, prop, b[prop]);
180
+ if (__hasOwnProp$20.call(b, prop))
181
+ __defNormalProp$20(a, prop, b[prop]);
182
+ if (__getOwnPropSymbols$20)
183
+ for (var prop of __getOwnPropSymbols$20(b)) {
184
+ if (__propIsEnum$20.call(b, prop))
185
+ __defNormalProp$20(a, prop, b[prop]);
186
186
  }
187
187
  return a;
188
188
  };
189
- var __objRest$1s = (source, exclude) => {
189
+ var __objRest$1t = (source, exclude) => {
190
190
  var target = {};
191
191
  for (var prop in source)
192
- if (__hasOwnProp$1$.call(source, prop) && exclude.indexOf(prop) < 0)
192
+ if (__hasOwnProp$20.call(source, prop) && exclude.indexOf(prop) < 0)
193
193
  target[prop] = source[prop];
194
- if (source != null && __getOwnPropSymbols$1$)
195
- for (var prop of __getOwnPropSymbols$1$(source)) {
196
- if (exclude.indexOf(prop) < 0 && __propIsEnum$1$.call(source, prop))
194
+ if (source != null && __getOwnPropSymbols$20)
195
+ for (var prop of __getOwnPropSymbols$20(source)) {
196
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$20.call(source, prop))
197
197
  target[prop] = source[prop];
198
198
  }
199
199
  return target;
@@ -202,12 +202,30 @@ const Alert$1 = (_a) => {
202
202
  var _b = _a, {
203
203
  variant = "success",
204
204
  children
205
- } = _b, rest = __objRest$1s(_b, [
205
+ } = _b, rest = __objRest$1t(_b, [
206
206
  "variant",
207
207
  "children"
208
208
  ]);
209
- return /* @__PURE__ */ React.createElement(Alert$2, __spreadValues$1$({ variant }, rest), children);
209
+ return /* @__PURE__ */ React.createElement(Alert$2, __spreadValues$20({ variant }, rest), children);
210
+ };
211
+
212
+ var __defProp$1$ = Object.defineProperty;
213
+ var __getOwnPropSymbols$1$ = Object.getOwnPropertySymbols;
214
+ var __hasOwnProp$1$ = Object.prototype.hasOwnProperty;
215
+ var __propIsEnum$1$ = Object.prototype.propertyIsEnumerable;
216
+ var __defNormalProp$1$ = (obj, key, value) => key in obj ? __defProp$1$(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
217
+ var __spreadValues$1$ = (a, b) => {
218
+ for (var prop in b || (b = {}))
219
+ if (__hasOwnProp$1$.call(b, prop))
220
+ __defNormalProp$1$(a, prop, b[prop]);
221
+ if (__getOwnPropSymbols$1$)
222
+ for (var prop of __getOwnPropSymbols$1$(b)) {
223
+ if (__propIsEnum$1$.call(b, prop))
224
+ __defNormalProp$1$(a, prop, b[prop]);
225
+ }
226
+ return a;
210
227
  };
228
+ const AspectRatio = (props) => /* @__PURE__ */ React.createElement(AspectRatio$1, __spreadValues$1$({}, props));
211
229
 
212
230
  var __defProp$1_ = Object.defineProperty;
213
231
  var __getOwnPropSymbols$1_ = Object.getOwnPropertySymbols;
@@ -225,32 +243,14 @@ var __spreadValues$1_ = (a, b) => {
225
243
  }
226
244
  return a;
227
245
  };
228
- const AspectRatio = (props) => /* @__PURE__ */ React.createElement(AspectRatio$1, __spreadValues$1_({}, props));
229
-
230
- var __defProp$1Z = Object.defineProperty;
231
- var __getOwnPropSymbols$1Z = Object.getOwnPropertySymbols;
232
- var __hasOwnProp$1Z = Object.prototype.hasOwnProperty;
233
- var __propIsEnum$1Z = Object.prototype.propertyIsEnumerable;
234
- var __defNormalProp$1Z = (obj, key, value) => key in obj ? __defProp$1Z(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
235
- var __spreadValues$1Z = (a, b) => {
236
- for (var prop in b || (b = {}))
237
- if (__hasOwnProp$1Z.call(b, prop))
238
- __defNormalProp$1Z(a, prop, b[prop]);
239
- if (__getOwnPropSymbols$1Z)
240
- for (var prop of __getOwnPropSymbols$1Z(b)) {
241
- if (__propIsEnum$1Z.call(b, prop))
242
- __defNormalProp$1Z(a, prop, b[prop]);
243
- }
244
- return a;
245
- };
246
- var __objRest$1r = (source, exclude) => {
246
+ var __objRest$1s = (source, exclude) => {
247
247
  var target = {};
248
248
  for (var prop in source)
249
- if (__hasOwnProp$1Z.call(source, prop) && exclude.indexOf(prop) < 0)
249
+ if (__hasOwnProp$1_.call(source, prop) && exclude.indexOf(prop) < 0)
250
250
  target[prop] = source[prop];
251
- if (source != null && __getOwnPropSymbols$1Z)
252
- for (var prop of __getOwnPropSymbols$1Z(source)) {
253
- if (exclude.indexOf(prop) < 0 && __propIsEnum$1Z.call(source, prop))
251
+ if (source != null && __getOwnPropSymbols$1_)
252
+ for (var prop of __getOwnPropSymbols$1_(source)) {
253
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$1_.call(source, prop))
254
254
  target[prop] = source[prop];
255
255
  }
256
256
  return target;
@@ -261,7 +261,7 @@ const Icon$1 = forwardRef((_a, ref) => {
261
261
  size,
262
262
  color,
263
263
  boxSize
264
- } = _b, rest = __objRest$1r(_b, [
264
+ } = _b, rest = __objRest$1s(_b, [
265
265
  "as",
266
266
  "size",
267
267
  "color",
@@ -271,7 +271,7 @@ const Icon$1 = forwardRef((_a, ref) => {
271
271
  const styles = useStyleConfig("Icon", { size, color, boxSize });
272
272
  return /* @__PURE__ */ React.createElement(
273
273
  Icon$2,
274
- __spreadValues$1Z({
274
+ __spreadValues$1_({
275
275
  ref,
276
276
  sx: styles
277
277
  }, rest),
@@ -360,6 +360,24 @@ function getFieldError(name, errors) {
360
360
  return fieldError;
361
361
  }
362
362
 
363
+ var __defProp$1Z = Object.defineProperty;
364
+ var __getOwnPropSymbols$1Z = Object.getOwnPropertySymbols;
365
+ var __hasOwnProp$1Z = Object.prototype.hasOwnProperty;
366
+ var __propIsEnum$1Z = Object.prototype.propertyIsEnumerable;
367
+ var __defNormalProp$1Z = (obj, key, value) => key in obj ? __defProp$1Z(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
368
+ var __spreadValues$1Z = (a, b) => {
369
+ for (var prop in b || (b = {}))
370
+ if (__hasOwnProp$1Z.call(b, prop))
371
+ __defNormalProp$1Z(a, prop, b[prop]);
372
+ if (__getOwnPropSymbols$1Z)
373
+ for (var prop of __getOwnPropSymbols$1Z(b)) {
374
+ if (__propIsEnum$1Z.call(b, prop))
375
+ __defNormalProp$1Z(a, prop, b[prop]);
376
+ }
377
+ return a;
378
+ };
379
+ const passPropsToChild = (child, styles) => isValidElement(child) ? cloneElement(child, __spreadValues$1Z({}, styles)) : child;
380
+
363
381
  var __defProp$1Y = Object.defineProperty;
364
382
  var __getOwnPropSymbols$1Y = Object.getOwnPropertySymbols;
365
383
  var __hasOwnProp$1Y = Object.prototype.hasOwnProperty;
@@ -376,27 +394,9 @@ var __spreadValues$1Y = (a, b) => {
376
394
  }
377
395
  return a;
378
396
  };
379
- const passPropsToChild = (child, styles) => isValidElement(child) ? cloneElement(child, __spreadValues$1Y({}, styles)) : child;
380
-
381
- var __defProp$1X = Object.defineProperty;
382
- var __getOwnPropSymbols$1X = Object.getOwnPropertySymbols;
383
- var __hasOwnProp$1X = Object.prototype.hasOwnProperty;
384
- var __propIsEnum$1X = Object.prototype.propertyIsEnumerable;
385
- var __defNormalProp$1X = (obj, key, value) => key in obj ? __defProp$1X(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
386
- var __spreadValues$1X = (a, b) => {
387
- for (var prop in b || (b = {}))
388
- if (__hasOwnProp$1X.call(b, prop))
389
- __defNormalProp$1X(a, prop, b[prop]);
390
- if (__getOwnPropSymbols$1X)
391
- for (var prop of __getOwnPropSymbols$1X(b)) {
392
- if (__propIsEnum$1X.call(b, prop))
393
- __defNormalProp$1X(a, prop, b[prop]);
394
- }
395
- return a;
396
- };
397
397
  const getChildrenWithProps = (children, styles, predicate = T) => {
398
398
  const childrenAsArr = Children.toArray(children);
399
- const childrenWithoutFocus = childrenAsArr.map((child, i) => predicate(child, i) ? passPropsToChild(child, __spreadValues$1X({}, styles)) : child);
399
+ const childrenWithoutFocus = childrenAsArr.map((child, i) => predicate(child, i) ? passPropsToChild(child, __spreadValues$1Y({}, styles)) : child);
400
400
  return childrenWithoutFocus;
401
401
  };
402
402
 
@@ -430,30 +430,30 @@ const AvatarBadge = ({
430
430
  return /* @__PURE__ */ React.createElement(chakra.span, { sx: badge }, notificationCount > 999 ? "999+" : notificationCount);
431
431
  };
432
432
 
433
- var __defProp$1W = Object.defineProperty;
434
- var __getOwnPropSymbols$1W = Object.getOwnPropertySymbols;
435
- var __hasOwnProp$1W = Object.prototype.hasOwnProperty;
436
- var __propIsEnum$1W = Object.prototype.propertyIsEnumerable;
437
- var __defNormalProp$1W = (obj, key, value) => key in obj ? __defProp$1W(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
438
- var __spreadValues$1W = (a, b) => {
433
+ var __defProp$1X = Object.defineProperty;
434
+ var __getOwnPropSymbols$1X = Object.getOwnPropertySymbols;
435
+ var __hasOwnProp$1X = Object.prototype.hasOwnProperty;
436
+ var __propIsEnum$1X = Object.prototype.propertyIsEnumerable;
437
+ var __defNormalProp$1X = (obj, key, value) => key in obj ? __defProp$1X(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
438
+ var __spreadValues$1X = (a, b) => {
439
439
  for (var prop in b || (b = {}))
440
- if (__hasOwnProp$1W.call(b, prop))
441
- __defNormalProp$1W(a, prop, b[prop]);
442
- if (__getOwnPropSymbols$1W)
443
- for (var prop of __getOwnPropSymbols$1W(b)) {
444
- if (__propIsEnum$1W.call(b, prop))
445
- __defNormalProp$1W(a, prop, b[prop]);
440
+ if (__hasOwnProp$1X.call(b, prop))
441
+ __defNormalProp$1X(a, prop, b[prop]);
442
+ if (__getOwnPropSymbols$1X)
443
+ for (var prop of __getOwnPropSymbols$1X(b)) {
444
+ if (__propIsEnum$1X.call(b, prop))
445
+ __defNormalProp$1X(a, prop, b[prop]);
446
446
  }
447
447
  return a;
448
448
  };
449
- var __objRest$1q = (source, exclude) => {
449
+ var __objRest$1r = (source, exclude) => {
450
450
  var target = {};
451
451
  for (var prop in source)
452
- if (__hasOwnProp$1W.call(source, prop) && exclude.indexOf(prop) < 0)
452
+ if (__hasOwnProp$1X.call(source, prop) && exclude.indexOf(prop) < 0)
453
453
  target[prop] = source[prop];
454
- if (source != null && __getOwnPropSymbols$1W)
455
- for (var prop of __getOwnPropSymbols$1W(source)) {
456
- if (exclude.indexOf(prop) < 0 && __propIsEnum$1W.call(source, prop))
454
+ if (source != null && __getOwnPropSymbols$1X)
455
+ for (var prop of __getOwnPropSymbols$1X(source)) {
456
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$1X.call(source, prop))
457
457
  target[prop] = source[prop];
458
458
  }
459
459
  return target;
@@ -465,7 +465,7 @@ const Avatar$1 = (_a) => {
465
465
  name,
466
466
  image,
467
467
  size
468
- } = _b, rest = __objRest$1q(_b, [
468
+ } = _b, rest = __objRest$1r(_b, [
469
469
  "variant",
470
470
  "notificationCount",
471
471
  "name",
@@ -478,7 +478,7 @@ const Avatar$1 = (_a) => {
478
478
  size,
479
479
  name
480
480
  });
481
- return /* @__PURE__ */ React.createElement(Box, __spreadValues$1W({ __css: container, "data-testid": "avatar-test-id" }, rest), image ? /* @__PURE__ */ React.createElement(
481
+ return /* @__PURE__ */ React.createElement(Box, __spreadValues$1X({ __css: container, "data-testid": "avatar-test-id" }, rest), image ? /* @__PURE__ */ React.createElement(
482
482
  chakra.img,
483
483
  {
484
484
  alt: name,
@@ -495,6 +495,53 @@ const Avatar$1 = (_a) => {
495
495
  ), notificationCount > 0 && /* @__PURE__ */ React.createElement(AvatarBadge, { notificationCount }));
496
496
  };
497
497
 
498
+ var __defProp$1W = Object.defineProperty;
499
+ var __getOwnPropSymbols$1W = Object.getOwnPropertySymbols;
500
+ var __hasOwnProp$1W = Object.prototype.hasOwnProperty;
501
+ var __propIsEnum$1W = Object.prototype.propertyIsEnumerable;
502
+ var __defNormalProp$1W = (obj, key, value) => key in obj ? __defProp$1W(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
503
+ var __spreadValues$1W = (a, b) => {
504
+ for (var prop in b || (b = {}))
505
+ if (__hasOwnProp$1W.call(b, prop))
506
+ __defNormalProp$1W(a, prop, b[prop]);
507
+ if (__getOwnPropSymbols$1W)
508
+ for (var prop of __getOwnPropSymbols$1W(b)) {
509
+ if (__propIsEnum$1W.call(b, prop))
510
+ __defNormalProp$1W(a, prop, b[prop]);
511
+ }
512
+ return a;
513
+ };
514
+ var __objRest$1q = (source, exclude) => {
515
+ var target = {};
516
+ for (var prop in source)
517
+ if (__hasOwnProp$1W.call(source, prop) && exclude.indexOf(prop) < 0)
518
+ target[prop] = source[prop];
519
+ if (source != null && __getOwnPropSymbols$1W)
520
+ for (var prop of __getOwnPropSymbols$1W(source)) {
521
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$1W.call(source, prop))
522
+ target[prop] = source[prop];
523
+ }
524
+ return target;
525
+ };
526
+ const H1$1 = (_a) => {
527
+ var _b = _a, {
528
+ children,
529
+ sx = {}
530
+ } = _b, rest = __objRest$1q(_b, [
531
+ "children",
532
+ "sx"
533
+ ]);
534
+ const styles = useStyleConfig("H1", { sx });
535
+ return /* @__PURE__ */ React.createElement(
536
+ Heading,
537
+ __spreadValues$1W({
538
+ as: "h1",
539
+ sx: styles
540
+ }, rest),
541
+ children
542
+ );
543
+ };
544
+
498
545
  var __defProp$1V = Object.defineProperty;
499
546
  var __getOwnPropSymbols$1V = Object.getOwnPropertySymbols;
500
547
  var __hasOwnProp$1V = Object.prototype.hasOwnProperty;
@@ -523,7 +570,7 @@ var __objRest$1p = (source, exclude) => {
523
570
  }
524
571
  return target;
525
572
  };
526
- const H1$1 = (_a) => {
573
+ const H2$1 = (_a) => {
527
574
  var _b = _a, {
528
575
  children,
529
576
  sx = {}
@@ -531,11 +578,11 @@ const H1$1 = (_a) => {
531
578
  "children",
532
579
  "sx"
533
580
  ]);
534
- const styles = useStyleConfig("H1", { sx });
581
+ const styles = useStyleConfig("H2", { sx });
535
582
  return /* @__PURE__ */ React.createElement(
536
583
  Heading,
537
584
  __spreadValues$1V({
538
- as: "h1",
585
+ as: "h2",
539
586
  sx: styles
540
587
  }, rest),
541
588
  children
@@ -570,7 +617,7 @@ var __objRest$1o = (source, exclude) => {
570
617
  }
571
618
  return target;
572
619
  };
573
- const H2$1 = (_a) => {
620
+ const H3$1 = (_a) => {
574
621
  var _b = _a, {
575
622
  children,
576
623
  sx = {}
@@ -578,11 +625,11 @@ const H2$1 = (_a) => {
578
625
  "children",
579
626
  "sx"
580
627
  ]);
581
- const styles = useStyleConfig("H2", { sx });
628
+ const styles = useStyleConfig("H3", { sx });
582
629
  return /* @__PURE__ */ React.createElement(
583
630
  Heading,
584
631
  __spreadValues$1U({
585
- as: "h2",
632
+ as: "h3",
586
633
  sx: styles
587
634
  }, rest),
588
635
  children
@@ -617,7 +664,7 @@ var __objRest$1n = (source, exclude) => {
617
664
  }
618
665
  return target;
619
666
  };
620
- const H3$1 = (_a) => {
667
+ const H4$1 = (_a) => {
621
668
  var _b = _a, {
622
669
  children,
623
670
  sx = {}
@@ -625,11 +672,11 @@ const H3$1 = (_a) => {
625
672
  "children",
626
673
  "sx"
627
674
  ]);
628
- const styles = useStyleConfig("H3", { sx });
675
+ const styles = useStyleConfig("H4", { sx });
629
676
  return /* @__PURE__ */ React.createElement(
630
677
  Heading,
631
678
  __spreadValues$1T({
632
- as: "h3",
679
+ as: "h4",
633
680
  sx: styles
634
681
  }, rest),
635
682
  children
@@ -664,7 +711,7 @@ var __objRest$1m = (source, exclude) => {
664
711
  }
665
712
  return target;
666
713
  };
667
- const H4$1 = (_a) => {
714
+ const H5$1 = (_a) => {
668
715
  var _b = _a, {
669
716
  children,
670
717
  sx = {}
@@ -672,11 +719,11 @@ const H4$1 = (_a) => {
672
719
  "children",
673
720
  "sx"
674
721
  ]);
675
- const styles = useStyleConfig("H4", { sx });
722
+ const styles = useStyleConfig("H5", { sx });
676
723
  return /* @__PURE__ */ React.createElement(
677
724
  Heading,
678
725
  __spreadValues$1S({
679
- as: "h4",
726
+ as: "h5",
680
727
  sx: styles
681
728
  }, rest),
682
729
  children
@@ -711,7 +758,7 @@ var __objRest$1l = (source, exclude) => {
711
758
  }
712
759
  return target;
713
760
  };
714
- const H5$1 = (_a) => {
761
+ const H6$1 = (_a) => {
715
762
  var _b = _a, {
716
763
  children,
717
764
  sx = {}
@@ -719,11 +766,11 @@ const H5$1 = (_a) => {
719
766
  "children",
720
767
  "sx"
721
768
  ]);
722
- const styles = useStyleConfig("H5", { sx });
769
+ const styles = useStyleConfig("H6", { sx });
723
770
  return /* @__PURE__ */ React.createElement(
724
771
  Heading,
725
772
  __spreadValues$1R({
726
- as: "h5",
773
+ as: "h6",
727
774
  sx: styles
728
775
  }, rest),
729
776
  children
@@ -758,19 +805,21 @@ var __objRest$1k = (source, exclude) => {
758
805
  }
759
806
  return target;
760
807
  };
761
- const H6$1 = (_a) => {
808
+ const P$1 = (_a) => {
762
809
  var _b = _a, {
763
810
  children,
811
+ variant = "16",
764
812
  sx = {}
765
813
  } = _b, rest = __objRest$1k(_b, [
766
814
  "children",
815
+ "variant",
767
816
  "sx"
768
817
  ]);
769
- const styles = useStyleConfig("H6", { sx });
818
+ const styles = useStyleConfig("P", { variant, sx });
770
819
  return /* @__PURE__ */ React.createElement(
771
- Heading,
820
+ Text,
772
821
  __spreadValues$1Q({
773
- as: "h6",
822
+ variant,
774
823
  sx: styles
775
824
  }, rest),
776
825
  children
@@ -805,25 +854,10 @@ var __objRest$1j = (source, exclude) => {
805
854
  }
806
855
  return target;
807
856
  };
808
- const P$1 = (_a) => {
809
- var _b = _a, {
810
- children,
811
- variant = "16",
812
- sx = {}
813
- } = _b, rest = __objRest$1j(_b, [
814
- "children",
815
- "variant",
816
- "sx"
817
- ]);
818
- const styles = useStyleConfig("P", { variant, sx });
819
- return /* @__PURE__ */ React.createElement(
820
- Text,
821
- __spreadValues$1P({
822
- variant,
823
- sx: styles
824
- }, rest),
825
- children
826
- );
857
+ const Blockquote$1 = (_a) => {
858
+ var _b = _a, { children, sx = {} } = _b, rest = __objRest$1j(_b, ["children", "sx"]);
859
+ const styles = useStyleConfig("Blockquote", { sx });
860
+ return /* @__PURE__ */ React.createElement(Text, __spreadValues$1P({ as: "span", sx: styles }, rest), children);
827
861
  };
828
862
 
829
863
  var __defProp$1O = Object.defineProperty;
@@ -854,10 +888,23 @@ var __objRest$1i = (source, exclude) => {
854
888
  }
855
889
  return target;
856
890
  };
857
- const Blockquote$1 = (_a) => {
858
- var _b = _a, { children, sx = {} } = _b, rest = __objRest$1i(_b, ["children", "sx"]);
859
- const styles = useStyleConfig("Blockquote", { sx });
860
- return /* @__PURE__ */ React.createElement(Text, __spreadValues$1O({ as: "span", sx: styles }, rest), children);
891
+ const Capitalized$1 = (_a) => {
892
+ var _b = _a, {
893
+ children,
894
+ sx = {}
895
+ } = _b, rest = __objRest$1i(_b, [
896
+ "children",
897
+ "sx"
898
+ ]);
899
+ const styles = useStyleConfig("Capitalized", { sx });
900
+ return /* @__PURE__ */ React.createElement(
901
+ Text,
902
+ __spreadValues$1O({
903
+ as: "span",
904
+ sx: styles
905
+ }, rest),
906
+ children
907
+ );
861
908
  };
862
909
 
863
910
  var __defProp$1N = Object.defineProperty;
@@ -888,7 +935,7 @@ var __objRest$1h = (source, exclude) => {
888
935
  }
889
936
  return target;
890
937
  };
891
- const Capitalized$1 = (_a) => {
938
+ const Lead$1 = (_a) => {
892
939
  var _b = _a, {
893
940
  children,
894
941
  sx = {}
@@ -896,7 +943,7 @@ const Capitalized$1 = (_a) => {
896
943
  "children",
897
944
  "sx"
898
945
  ]);
899
- const styles = useStyleConfig("Capitalized", { sx });
946
+ const styles = useStyleConfig("Lead", { sx });
900
947
  return /* @__PURE__ */ React.createElement(
901
948
  Text,
902
949
  __spreadValues$1N({
@@ -935,7 +982,7 @@ var __objRest$1g = (source, exclude) => {
935
982
  }
936
983
  return target;
937
984
  };
938
- const Lead$1 = (_a) => {
985
+ const Small$1 = (_a) => {
939
986
  var _b = _a, {
940
987
  children,
941
988
  sx = {}
@@ -943,11 +990,11 @@ const Lead$1 = (_a) => {
943
990
  "children",
944
991
  "sx"
945
992
  ]);
946
- const styles = useStyleConfig("Lead", { sx });
993
+ const styles = useStyleConfig("Small", { sx });
947
994
  return /* @__PURE__ */ React.createElement(
948
995
  Text,
949
996
  __spreadValues$1M({
950
- as: "span",
997
+ as: "small",
951
998
  sx: styles
952
999
  }, rest),
953
1000
  children
@@ -982,7 +1029,7 @@ var __objRest$1f = (source, exclude) => {
982
1029
  }
983
1030
  return target;
984
1031
  };
985
- const Small$1 = (_a) => {
1032
+ const Tiny$1 = (_a) => {
986
1033
  var _b = _a, {
987
1034
  children,
988
1035
  sx = {}
@@ -990,11 +1037,11 @@ const Small$1 = (_a) => {
990
1037
  "children",
991
1038
  "sx"
992
1039
  ]);
993
- const styles = useStyleConfig("Small", { sx });
1040
+ const styles = useStyleConfig("Tiny", { sx });
994
1041
  return /* @__PURE__ */ React.createElement(
995
1042
  Text,
996
1043
  __spreadValues$1L({
997
- as: "small",
1044
+ as: "span",
998
1045
  sx: styles
999
1046
  }, rest),
1000
1047
  children
@@ -1020,58 +1067,11 @@ var __spreadValues$1K = (a, b) => {
1020
1067
  var __objRest$1e = (source, exclude) => {
1021
1068
  var target = {};
1022
1069
  for (var prop in source)
1023
- if (__hasOwnProp$1K.call(source, prop) && exclude.indexOf(prop) < 0)
1024
- target[prop] = source[prop];
1025
- if (source != null && __getOwnPropSymbols$1K)
1026
- for (var prop of __getOwnPropSymbols$1K(source)) {
1027
- if (exclude.indexOf(prop) < 0 && __propIsEnum$1K.call(source, prop))
1028
- target[prop] = source[prop];
1029
- }
1030
- return target;
1031
- };
1032
- const Tiny$1 = (_a) => {
1033
- var _b = _a, {
1034
- children,
1035
- sx = {}
1036
- } = _b, rest = __objRest$1e(_b, [
1037
- "children",
1038
- "sx"
1039
- ]);
1040
- const styles = useStyleConfig("Tiny", { sx });
1041
- return /* @__PURE__ */ React.createElement(
1042
- Text,
1043
- __spreadValues$1K({
1044
- as: "span",
1045
- sx: styles
1046
- }, rest),
1047
- children
1048
- );
1049
- };
1050
-
1051
- var __defProp$1J = Object.defineProperty;
1052
- var __getOwnPropSymbols$1J = Object.getOwnPropertySymbols;
1053
- var __hasOwnProp$1J = Object.prototype.hasOwnProperty;
1054
- var __propIsEnum$1J = Object.prototype.propertyIsEnumerable;
1055
- var __defNormalProp$1J = (obj, key, value) => key in obj ? __defProp$1J(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
1056
- var __spreadValues$1J = (a, b) => {
1057
- for (var prop in b || (b = {}))
1058
- if (__hasOwnProp$1J.call(b, prop))
1059
- __defNormalProp$1J(a, prop, b[prop]);
1060
- if (__getOwnPropSymbols$1J)
1061
- for (var prop of __getOwnPropSymbols$1J(b)) {
1062
- if (__propIsEnum$1J.call(b, prop))
1063
- __defNormalProp$1J(a, prop, b[prop]);
1064
- }
1065
- return a;
1066
- };
1067
- var __objRest$1d = (source, exclude) => {
1068
- var target = {};
1069
- for (var prop in source)
1070
- if (__hasOwnProp$1J.call(source, prop) && exclude.indexOf(prop) < 0)
1070
+ if (__hasOwnProp$1K.call(source, prop) && exclude.indexOf(prop) < 0)
1071
1071
  target[prop] = source[prop];
1072
- if (source != null && __getOwnPropSymbols$1J)
1073
- for (var prop of __getOwnPropSymbols$1J(source)) {
1074
- if (exclude.indexOf(prop) < 0 && __propIsEnum$1J.call(source, prop))
1072
+ if (source != null && __getOwnPropSymbols$1K)
1073
+ for (var prop of __getOwnPropSymbols$1K(source)) {
1074
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$1K.call(source, prop))
1075
1075
  target[prop] = source[prop];
1076
1076
  }
1077
1077
  return target;
@@ -1081,7 +1081,7 @@ const Label$1 = (_a) => {
1081
1081
  children,
1082
1082
  size = "sm",
1083
1083
  sx = {}
1084
- } = _b, rest = __objRest$1d(_b, [
1084
+ } = _b, rest = __objRest$1e(_b, [
1085
1085
  "children",
1086
1086
  "size",
1087
1087
  "sx"
@@ -1089,7 +1089,7 @@ const Label$1 = (_a) => {
1089
1089
  const styles = useStyleConfig("Label", { sx, size });
1090
1090
  return /* @__PURE__ */ React.createElement(
1091
1091
  FormLabel$1,
1092
- __spreadValues$1J({
1092
+ __spreadValues$1K({
1093
1093
  sx: styles,
1094
1094
  requiredIndicator: /* @__PURE__ */ React.createElement(VisuallyHidden, null)
1095
1095
  }, rest),
@@ -1177,30 +1177,30 @@ const useOverflowGroup = () => {
1177
1177
  return { rect, containerRef };
1178
1178
  };
1179
1179
 
1180
- var __defProp$1I = Object.defineProperty;
1181
- var __getOwnPropSymbols$1I = Object.getOwnPropertySymbols;
1182
- var __hasOwnProp$1I = Object.prototype.hasOwnProperty;
1183
- var __propIsEnum$1I = Object.prototype.propertyIsEnumerable;
1184
- var __defNormalProp$1I = (obj, key, value) => key in obj ? __defProp$1I(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
1185
- var __spreadValues$1I = (a, b) => {
1180
+ var __defProp$1J = Object.defineProperty;
1181
+ var __getOwnPropSymbols$1J = Object.getOwnPropertySymbols;
1182
+ var __hasOwnProp$1J = Object.prototype.hasOwnProperty;
1183
+ var __propIsEnum$1J = Object.prototype.propertyIsEnumerable;
1184
+ var __defNormalProp$1J = (obj, key, value) => key in obj ? __defProp$1J(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
1185
+ var __spreadValues$1J = (a, b) => {
1186
1186
  for (var prop in b || (b = {}))
1187
- if (__hasOwnProp$1I.call(b, prop))
1188
- __defNormalProp$1I(a, prop, b[prop]);
1189
- if (__getOwnPropSymbols$1I)
1190
- for (var prop of __getOwnPropSymbols$1I(b)) {
1191
- if (__propIsEnum$1I.call(b, prop))
1192
- __defNormalProp$1I(a, prop, b[prop]);
1187
+ if (__hasOwnProp$1J.call(b, prop))
1188
+ __defNormalProp$1J(a, prop, b[prop]);
1189
+ if (__getOwnPropSymbols$1J)
1190
+ for (var prop of __getOwnPropSymbols$1J(b)) {
1191
+ if (__propIsEnum$1J.call(b, prop))
1192
+ __defNormalProp$1J(a, prop, b[prop]);
1193
1193
  }
1194
1194
  return a;
1195
1195
  };
1196
- var __objRest$1c = (source, exclude) => {
1196
+ var __objRest$1d = (source, exclude) => {
1197
1197
  var target = {};
1198
1198
  for (var prop in source)
1199
- if (__hasOwnProp$1I.call(source, prop) && exclude.indexOf(prop) < 0)
1199
+ if (__hasOwnProp$1J.call(source, prop) && exclude.indexOf(prop) < 0)
1200
1200
  target[prop] = source[prop];
1201
- if (source != null && __getOwnPropSymbols$1I)
1202
- for (var prop of __getOwnPropSymbols$1I(source)) {
1203
- if (exclude.indexOf(prop) < 0 && __propIsEnum$1I.call(source, prop))
1201
+ if (source != null && __getOwnPropSymbols$1J)
1202
+ for (var prop of __getOwnPropSymbols$1J(source)) {
1203
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$1J.call(source, prop))
1204
1204
  target[prop] = source[prop];
1205
1205
  }
1206
1206
  return target;
@@ -1210,14 +1210,32 @@ const AvatarGroup = (_a) => {
1210
1210
  children,
1211
1211
  max = Infinity,
1212
1212
  spacing = "-4"
1213
- } = _b, rest = __objRest$1c(_b, [
1213
+ } = _b, rest = __objRest$1d(_b, [
1214
1214
  "children",
1215
1215
  "max",
1216
1216
  "spacing"
1217
1217
  ]);
1218
1218
  const [nbrRemainingAvatars, setNbrRemainingAvatars] = useState(0);
1219
- return /* @__PURE__ */ React.createElement(HStack, __spreadValues$1I({ bgColor: "background.default" }, rest), /* @__PURE__ */ React.createElement(HStack, { spacing }, /* @__PURE__ */ React.createElement(OverflowGroup, { max, onChange: setNbrRemainingAvatars }, children)), nbrRemainingAvatars > 0 && /* @__PURE__ */ React.createElement(Small$1, { sx: { color: "blue.500" } }, "+", nbrRemainingAvatars));
1219
+ return /* @__PURE__ */ React.createElement(HStack, __spreadValues$1J({ bgColor: "background.default" }, rest), /* @__PURE__ */ React.createElement(HStack, { spacing }, /* @__PURE__ */ React.createElement(OverflowGroup, { max, onChange: setNbrRemainingAvatars }, children)), nbrRemainingAvatars > 0 && /* @__PURE__ */ React.createElement(Small$1, { sx: { color: "blue.500" } }, "+", nbrRemainingAvatars));
1220
+ };
1221
+
1222
+ var __defProp$1I = Object.defineProperty;
1223
+ var __getOwnPropSymbols$1I = Object.getOwnPropertySymbols;
1224
+ var __hasOwnProp$1I = Object.prototype.hasOwnProperty;
1225
+ var __propIsEnum$1I = Object.prototype.propertyIsEnumerable;
1226
+ var __defNormalProp$1I = (obj, key, value) => key in obj ? __defProp$1I(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
1227
+ var __spreadValues$1I = (a, b) => {
1228
+ for (var prop in b || (b = {}))
1229
+ if (__hasOwnProp$1I.call(b, prop))
1230
+ __defNormalProp$1I(a, prop, b[prop]);
1231
+ if (__getOwnPropSymbols$1I)
1232
+ for (var prop of __getOwnPropSymbols$1I(b)) {
1233
+ if (__propIsEnum$1I.call(b, prop))
1234
+ __defNormalProp$1I(a, prop, b[prop]);
1235
+ }
1236
+ return a;
1220
1237
  };
1238
+ const Badge = (props) => /* @__PURE__ */ React.createElement(Badge$1, __spreadValues$1I({}, props));
1221
1239
 
1222
1240
  var __defProp$1H = Object.defineProperty;
1223
1241
  var __getOwnPropSymbols$1H = Object.getOwnPropertySymbols;
@@ -1235,7 +1253,31 @@ var __spreadValues$1H = (a, b) => {
1235
1253
  }
1236
1254
  return a;
1237
1255
  };
1238
- const Badge = (props) => /* @__PURE__ */ React.createElement(Badge$1, __spreadValues$1H({}, props));
1256
+ var __objRest$1c = (source, exclude) => {
1257
+ var target = {};
1258
+ for (var prop in source)
1259
+ if (__hasOwnProp$1H.call(source, prop) && exclude.indexOf(prop) < 0)
1260
+ target[prop] = source[prop];
1261
+ if (source != null && __getOwnPropSymbols$1H)
1262
+ for (var prop of __getOwnPropSymbols$1H(source)) {
1263
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$1H.call(source, prop))
1264
+ target[prop] = source[prop];
1265
+ }
1266
+ return target;
1267
+ };
1268
+ const Blinker$1 = (_a) => {
1269
+ var _b = _a, {
1270
+ color = "",
1271
+ size,
1272
+ isBlinking = true
1273
+ } = _b, rest = __objRest$1c(_b, [
1274
+ "color",
1275
+ "size",
1276
+ "isBlinking"
1277
+ ]);
1278
+ const styles = useStyleConfig("Blinker", { color, size, isBlinking });
1279
+ return /* @__PURE__ */ React.createElement(Box, __spreadValues$1H({ sx: styles, "data-testid": "blinker-test-id" }, rest));
1280
+ };
1239
1281
 
1240
1282
  var __defProp$1G = Object.defineProperty;
1241
1283
  var __getOwnPropSymbols$1G = Object.getOwnPropertySymbols;
@@ -1265,19 +1307,12 @@ var __objRest$1b = (source, exclude) => {
1265
1307
  }
1266
1308
  return target;
1267
1309
  };
1268
- const Blinker$1 = (_a) => {
1269
- var _b = _a, {
1270
- color = "",
1271
- size,
1272
- isBlinking = true
1273
- } = _b, rest = __objRest$1b(_b, [
1274
- "color",
1275
- "size",
1276
- "isBlinking"
1277
- ]);
1278
- const styles = useStyleConfig("Blinker", { color, size, isBlinking });
1279
- return /* @__PURE__ */ React.createElement(Box, __spreadValues$1G({ sx: styles, "data-testid": "blinker-test-id" }, rest));
1280
- };
1310
+ const Button$1 = forwardRef$1(
1311
+ (_a, ref) => {
1312
+ var _b = _a, { variant = "default", children } = _b, rest = __objRest$1b(_b, ["variant", "children"]);
1313
+ return /* @__PURE__ */ React.createElement(Button$2, __spreadValues$1G({ variant, ref }, rest), children);
1314
+ }
1315
+ );
1281
1316
 
1282
1317
  var __defProp$1F = Object.defineProperty;
1283
1318
  var __getOwnPropSymbols$1F = Object.getOwnPropertySymbols;
@@ -1307,41 +1342,6 @@ var __objRest$1a = (source, exclude) => {
1307
1342
  }
1308
1343
  return target;
1309
1344
  };
1310
- const Button$1 = forwardRef$1(
1311
- (_a, ref) => {
1312
- var _b = _a, { variant = "default", children } = _b, rest = __objRest$1a(_b, ["variant", "children"]);
1313
- return /* @__PURE__ */ React.createElement(Button$2, __spreadValues$1F({ variant, ref }, rest), children);
1314
- }
1315
- );
1316
-
1317
- var __defProp$1E = Object.defineProperty;
1318
- var __getOwnPropSymbols$1E = Object.getOwnPropertySymbols;
1319
- var __hasOwnProp$1E = Object.prototype.hasOwnProperty;
1320
- var __propIsEnum$1E = Object.prototype.propertyIsEnumerable;
1321
- var __defNormalProp$1E = (obj, key, value) => key in obj ? __defProp$1E(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
1322
- var __spreadValues$1E = (a, b) => {
1323
- for (var prop in b || (b = {}))
1324
- if (__hasOwnProp$1E.call(b, prop))
1325
- __defNormalProp$1E(a, prop, b[prop]);
1326
- if (__getOwnPropSymbols$1E)
1327
- for (var prop of __getOwnPropSymbols$1E(b)) {
1328
- if (__propIsEnum$1E.call(b, prop))
1329
- __defNormalProp$1E(a, prop, b[prop]);
1330
- }
1331
- return a;
1332
- };
1333
- var __objRest$19 = (source, exclude) => {
1334
- var target = {};
1335
- for (var prop in source)
1336
- if (__hasOwnProp$1E.call(source, prop) && exclude.indexOf(prop) < 0)
1337
- target[prop] = source[prop];
1338
- if (source != null && __getOwnPropSymbols$1E)
1339
- for (var prop of __getOwnPropSymbols$1E(source)) {
1340
- if (exclude.indexOf(prop) < 0 && __propIsEnum$1E.call(source, prop))
1341
- target[prop] = source[prop];
1342
- }
1343
- return target;
1344
- };
1345
1345
  const Checkbox$1 = (_a) => {
1346
1346
  var _b = _a, {
1347
1347
  value,
@@ -1349,7 +1349,7 @@ const Checkbox$1 = (_a) => {
1349
1349
  name,
1350
1350
  size = "md",
1351
1351
  variant = "default"
1352
- } = _b, rest = __objRest$19(_b, [
1352
+ } = _b, rest = __objRest$1a(_b, [
1353
1353
  "value",
1354
1354
  "onChange",
1355
1355
  "name",
@@ -1358,7 +1358,7 @@ const Checkbox$1 = (_a) => {
1358
1358
  ]);
1359
1359
  return /* @__PURE__ */ React.createElement(
1360
1360
  Checkbox$2,
1361
- __spreadValues$1E({
1361
+ __spreadValues$1F({
1362
1362
  size,
1363
1363
  id: name,
1364
1364
  onChange,
@@ -1384,30 +1384,30 @@ const trimFormValues = (obj) => {
1384
1384
  return newObj;
1385
1385
  };
1386
1386
 
1387
- var __defProp$1D = Object.defineProperty;
1388
- var __getOwnPropSymbols$1D = Object.getOwnPropertySymbols;
1389
- var __hasOwnProp$1D = Object.prototype.hasOwnProperty;
1390
- var __propIsEnum$1D = Object.prototype.propertyIsEnumerable;
1391
- var __defNormalProp$1D = (obj, key, value) => key in obj ? __defProp$1D(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
1392
- var __spreadValues$1D = (a, b) => {
1387
+ var __defProp$1E = Object.defineProperty;
1388
+ var __getOwnPropSymbols$1E = Object.getOwnPropertySymbols;
1389
+ var __hasOwnProp$1E = Object.prototype.hasOwnProperty;
1390
+ var __propIsEnum$1E = Object.prototype.propertyIsEnumerable;
1391
+ var __defNormalProp$1E = (obj, key, value) => key in obj ? __defProp$1E(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
1392
+ var __spreadValues$1E = (a, b) => {
1393
1393
  for (var prop in b || (b = {}))
1394
- if (__hasOwnProp$1D.call(b, prop))
1395
- __defNormalProp$1D(a, prop, b[prop]);
1396
- if (__getOwnPropSymbols$1D)
1397
- for (var prop of __getOwnPropSymbols$1D(b)) {
1398
- if (__propIsEnum$1D.call(b, prop))
1399
- __defNormalProp$1D(a, prop, b[prop]);
1394
+ if (__hasOwnProp$1E.call(b, prop))
1395
+ __defNormalProp$1E(a, prop, b[prop]);
1396
+ if (__getOwnPropSymbols$1E)
1397
+ for (var prop of __getOwnPropSymbols$1E(b)) {
1398
+ if (__propIsEnum$1E.call(b, prop))
1399
+ __defNormalProp$1E(a, prop, b[prop]);
1400
1400
  }
1401
1401
  return a;
1402
1402
  };
1403
- var __objRest$18 = (source, exclude) => {
1403
+ var __objRest$19 = (source, exclude) => {
1404
1404
  var target = {};
1405
1405
  for (var prop in source)
1406
- if (__hasOwnProp$1D.call(source, prop) && exclude.indexOf(prop) < 0)
1406
+ if (__hasOwnProp$1E.call(source, prop) && exclude.indexOf(prop) < 0)
1407
1407
  target[prop] = source[prop];
1408
- if (source != null && __getOwnPropSymbols$1D)
1409
- for (var prop of __getOwnPropSymbols$1D(source)) {
1410
- if (exclude.indexOf(prop) < 0 && __propIsEnum$1D.call(source, prop))
1408
+ if (source != null && __getOwnPropSymbols$1E)
1409
+ for (var prop of __getOwnPropSymbols$1E(source)) {
1410
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$1E.call(source, prop))
1411
1411
  target[prop] = source[prop];
1412
1412
  }
1413
1413
  return target;
@@ -1423,7 +1423,7 @@ const Form = forwardRef$1((_a, ref) => {
1423
1423
  enableReinitialize = false,
1424
1424
  shouldTrim = true,
1425
1425
  innerFormStyle = {}
1426
- } = _b, rest = __objRest$18(_b, [
1426
+ } = _b, rest = __objRest$19(_b, [
1427
1427
  "initialValues",
1428
1428
  "onSubmit",
1429
1429
  "children",
@@ -1438,7 +1438,7 @@ const Form = forwardRef$1((_a, ref) => {
1438
1438
  values,
1439
1439
  errors: validate(values)
1440
1440
  });
1441
- const newMethods = methods || useForm(__spreadValues$1D({
1441
+ const newMethods = methods || useForm(__spreadValues$1E({
1442
1442
  defaultValues: initialValues,
1443
1443
  resolver: validate ? customResolver : void 0
1444
1444
  }, formSettings));
@@ -1464,33 +1464,33 @@ const Form = forwardRef$1((_a, ref) => {
1464
1464
  newMethods.trigger();
1465
1465
  e.preventDefault();
1466
1466
  };
1467
- return /* @__PURE__ */ React.createElement(FormProvider, __spreadValues$1D(__spreadValues$1D({}, newMethods), rest), /* @__PURE__ */ React.createElement("form", { style: __spreadValues$1D({ width: "100%" }, innerFormStyle), onSubmit: handleSubmit }, typeof children === "function" ? children(newMethods) : children));
1467
+ return /* @__PURE__ */ React.createElement(FormProvider, __spreadValues$1E(__spreadValues$1E({}, newMethods), rest), /* @__PURE__ */ React.createElement("form", { style: __spreadValues$1E({ width: "100%" }, innerFormStyle), onSubmit: handleSubmit }, typeof children === "function" ? children(newMethods) : children));
1468
1468
  });
1469
1469
 
1470
- var __defProp$1C = Object.defineProperty;
1471
- var __getOwnPropSymbols$1C = Object.getOwnPropertySymbols;
1472
- var __hasOwnProp$1C = Object.prototype.hasOwnProperty;
1473
- var __propIsEnum$1C = Object.prototype.propertyIsEnumerable;
1474
- var __defNormalProp$1C = (obj, key, value) => key in obj ? __defProp$1C(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
1475
- var __spreadValues$1C = (a, b) => {
1470
+ var __defProp$1D = Object.defineProperty;
1471
+ var __getOwnPropSymbols$1D = Object.getOwnPropertySymbols;
1472
+ var __hasOwnProp$1D = Object.prototype.hasOwnProperty;
1473
+ var __propIsEnum$1D = Object.prototype.propertyIsEnumerable;
1474
+ var __defNormalProp$1D = (obj, key, value) => key in obj ? __defProp$1D(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
1475
+ var __spreadValues$1D = (a, b) => {
1476
1476
  for (var prop in b || (b = {}))
1477
- if (__hasOwnProp$1C.call(b, prop))
1478
- __defNormalProp$1C(a, prop, b[prop]);
1479
- if (__getOwnPropSymbols$1C)
1480
- for (var prop of __getOwnPropSymbols$1C(b)) {
1481
- if (__propIsEnum$1C.call(b, prop))
1482
- __defNormalProp$1C(a, prop, b[prop]);
1477
+ if (__hasOwnProp$1D.call(b, prop))
1478
+ __defNormalProp$1D(a, prop, b[prop]);
1479
+ if (__getOwnPropSymbols$1D)
1480
+ for (var prop of __getOwnPropSymbols$1D(b)) {
1481
+ if (__propIsEnum$1D.call(b, prop))
1482
+ __defNormalProp$1D(a, prop, b[prop]);
1483
1483
  }
1484
1484
  return a;
1485
1485
  };
1486
- var __objRest$17 = (source, exclude) => {
1486
+ var __objRest$18 = (source, exclude) => {
1487
1487
  var target = {};
1488
1488
  for (var prop in source)
1489
- if (__hasOwnProp$1C.call(source, prop) && exclude.indexOf(prop) < 0)
1489
+ if (__hasOwnProp$1D.call(source, prop) && exclude.indexOf(prop) < 0)
1490
1490
  target[prop] = source[prop];
1491
- if (source != null && __getOwnPropSymbols$1C)
1492
- for (var prop of __getOwnPropSymbols$1C(source)) {
1493
- if (exclude.indexOf(prop) < 0 && __propIsEnum$1C.call(source, prop))
1491
+ if (source != null && __getOwnPropSymbols$1D)
1492
+ for (var prop of __getOwnPropSymbols$1D(source)) {
1493
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$1D.call(source, prop))
1494
1494
  target[prop] = source[prop];
1495
1495
  }
1496
1496
  return target;
@@ -1498,12 +1498,12 @@ var __objRest$17 = (source, exclude) => {
1498
1498
  const FormLabel = (_a) => {
1499
1499
  var _b = _a, {
1500
1500
  children: label
1501
- } = _b, rest = __objRest$17(_b, [
1501
+ } = _b, rest = __objRest$18(_b, [
1502
1502
  "children"
1503
1503
  ]);
1504
1504
  return /* @__PURE__ */ React.createElement(
1505
1505
  Label$1,
1506
- __spreadValues$1C({
1506
+ __spreadValues$1D({
1507
1507
  size: "sm",
1508
1508
  sx: {
1509
1509
  width: "80%",
@@ -1740,27 +1740,65 @@ const useScreenSize = () => {
1740
1740
  return "sm";
1741
1741
  };
1742
1742
 
1743
- function Field({
1744
- name,
1745
- label,
1746
- children,
1747
- direction = "column",
1748
- isRequired = false,
1749
- noLabelConnection = false,
1750
- validate,
1751
- control: passedControl
1752
- }) {
1743
+ var __defProp$1C = Object.defineProperty;
1744
+ var __getOwnPropSymbols$1C = Object.getOwnPropertySymbols;
1745
+ var __hasOwnProp$1C = Object.prototype.hasOwnProperty;
1746
+ var __propIsEnum$1C = Object.prototype.propertyIsEnumerable;
1747
+ var __defNormalProp$1C = (obj, key, value) => key in obj ? __defProp$1C(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
1748
+ var __spreadValues$1C = (a, b) => {
1749
+ for (var prop in b || (b = {}))
1750
+ if (__hasOwnProp$1C.call(b, prop))
1751
+ __defNormalProp$1C(a, prop, b[prop]);
1752
+ if (__getOwnPropSymbols$1C)
1753
+ for (var prop of __getOwnPropSymbols$1C(b)) {
1754
+ if (__propIsEnum$1C.call(b, prop))
1755
+ __defNormalProp$1C(a, prop, b[prop]);
1756
+ }
1757
+ return a;
1758
+ };
1759
+ var __objRest$17 = (source, exclude) => {
1760
+ var target = {};
1761
+ for (var prop in source)
1762
+ if (__hasOwnProp$1C.call(source, prop) && exclude.indexOf(prop) < 0)
1763
+ target[prop] = source[prop];
1764
+ if (source != null && __getOwnPropSymbols$1C)
1765
+ for (var prop of __getOwnPropSymbols$1C(source)) {
1766
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$1C.call(source, prop))
1767
+ target[prop] = source[prop];
1768
+ }
1769
+ return target;
1770
+ };
1771
+ function Field(_a) {
1772
+ var _b = _a, {
1773
+ name,
1774
+ label,
1775
+ children,
1776
+ direction = "column",
1777
+ isRequired = false,
1778
+ noLabelConnection = false,
1779
+ validate,
1780
+ control: passedControl
1781
+ } = _b, rest = __objRest$17(_b, [
1782
+ "name",
1783
+ "label",
1784
+ "children",
1785
+ "direction",
1786
+ "isRequired",
1787
+ "noLabelConnection",
1788
+ "validate",
1789
+ "control"
1790
+ ]);
1753
1791
  const methods = useFormContext();
1754
1792
  const { formState: { errors } } = methods;
1755
1793
  const control = passedControl != null ? passedControl : methods.control;
1756
1794
  const fieldError = getFieldError(name, errors);
1757
1795
  return /* @__PURE__ */ React.createElement(FormControl, { isInvalid: !!fieldError, isRequired }, /* @__PURE__ */ React.createElement(
1758
1796
  Stack,
1759
- {
1797
+ __spreadValues$1C({
1760
1798
  spacing: "auto",
1761
1799
  direction,
1762
1800
  alignItems: direction === "column" ? "stretch" : "center"
1763
- },
1801
+ }, rest),
1764
1802
  label && /* @__PURE__ */ React.createElement(FormLabel, { htmlFor: noLabelConnection ? void 0 : name, mb: 1 }, label),
1765
1803
  /* @__PURE__ */ React.createElement(
1766
1804
  Controller,
@@ -2350,7 +2388,7 @@ const FlipButton$1 = (props) => {
2350
2388
  }, rest)) : /* @__PURE__ */ React.createElement(
2351
2389
  HStack,
2352
2390
  {
2353
- spacing: isSelected || icon ? 2 : 0,
2391
+ spacing: isSelected && iconPlacement !== "none" || icon ? 2 : 0,
2354
2392
  sx: mergeAll([button, isFocused ? focusStyles : {}, { flexDirection: iconPlacement === "left" ? "row" : "row-reverse" }]),
2355
2393
  "aria-checked": isSelected,
2356
2394
  "aria-disabled": isDisabled,
@@ -5333,16 +5371,24 @@ var __objRest$G = (source, exclude) => {
5333
5371
  }
5334
5372
  return target;
5335
5373
  };
5336
- function getComponents() {
5337
- return {
5338
- DropdownIndicator: (props) => props.selectProps.icon ? /* @__PURE__ */ React.createElement(chakraComponents.DropdownIndicator, __spreadValues$W({}, props), /* @__PURE__ */ React.createElement(Icon$1, { as: props.selectProps.icon })) : /* @__PURE__ */ React.createElement(chakraComponents.DropdownIndicator, __spreadValues$W({}, props)),
5339
- Option: (props) => props.selectProps.customOption ? /* @__PURE__ */ React.createElement(chakraComponents.Option, __spreadValues$W({}, props), props.selectProps.customOption(props.data)) : /* @__PURE__ */ React.createElement(chakraComponents.Option, __spreadValues$W({}, props)),
5340
- MultiValueContainer: (props) => props.selectProps.customTag ? /* @__PURE__ */ React.createElement(chakraComponents.MultiValueContainer, __spreadValues$W({}, props), props.selectProps.customTag(props.data)) : /* @__PURE__ */ React.createElement(chakraComponents.MultiValueContainer, __spreadValues$W({}, props)),
5374
+ function getComponents({
5375
+ defaultControl = true
5376
+ }) {
5377
+ const control = defaultControl ? {} : {
5341
5378
  Control: (_a) => {
5342
- var _b = _a, { children } = _b, props = __objRest$G(_b, ["children"]);
5379
+ var _b = _a, {
5380
+ children
5381
+ } = _b, props = __objRest$G(_b, [
5382
+ "children"
5383
+ ]);
5343
5384
  return props.selectProps.leftIcon ? /* @__PURE__ */ React.createElement(chakraComponents.Control, __spreadValues$W({}, props), /* @__PURE__ */ React.createElement(HStack, { w: "full", pl: "2" }, /* @__PURE__ */ React.createElement(Icon$1, { as: props.selectProps.leftIcon }), /* @__PURE__ */ React.createElement(HStack, { w: "full", justify: "space-between" }, children))) : /* @__PURE__ */ React.createElement(chakraComponents.Control, __spreadValues$W({}, props), children);
5344
5385
  }
5345
5386
  };
5387
+ return __spreadValues$W({
5388
+ DropdownIndicator: (props) => props.selectProps.icon ? /* @__PURE__ */ React.createElement(chakraComponents.DropdownIndicator, __spreadValues$W({}, props), /* @__PURE__ */ React.createElement(Icon$1, { as: props.selectProps.icon })) : /* @__PURE__ */ React.createElement(chakraComponents.DropdownIndicator, __spreadValues$W({}, props)),
5389
+ Option: (props) => props.selectProps.customOption ? /* @__PURE__ */ React.createElement(chakraComponents.Option, __spreadValues$W({}, props), props.selectProps.customOption(props.data)) : /* @__PURE__ */ React.createElement(chakraComponents.Option, __spreadValues$W({}, props)),
5390
+ MultiValueContainer: (props) => props.selectProps.customTag ? /* @__PURE__ */ React.createElement(chakraComponents.MultiValueContainer, __spreadValues$W({}, props), props.selectProps.customTag(props.data)) : /* @__PURE__ */ React.createElement(chakraComponents.MultiValueContainer, __spreadValues$W({}, props))
5391
+ }, control);
5346
5392
  }
5347
5393
 
5348
5394
  var __defProp$V = Object.defineProperty;
@@ -5423,7 +5469,7 @@ const SearchBar = forwardRef$1(
5423
5469
  isMulti,
5424
5470
  value: is(Array, value) ? value : []
5425
5471
  });
5426
- const customComponents = getComponents();
5472
+ const customComponents = getComponents({ defaultControl: true });
5427
5473
  const simpleFilter = (query) => filter(
5428
5474
  (option) => test(new RegExp(toLower(query), "g"), toLower(option.label)),
5429
5475
  defaultOptions
@@ -10920,7 +10966,7 @@ function Select(_a) {
10920
10966
  isMulti,
10921
10967
  value: is(Array, value) ? value : []
10922
10968
  });
10923
- const customComponents = getComponents();
10969
+ const customComponents = getComponents({ defaultControl: false });
10924
10970
  const prevOptions = useRef(
10925
10971
  options
10926
10972
  );