@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.
@@ -4,6 +4,24 @@
4
4
  (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.northlight = {}, global.react, global.React, global.icons, global.system, global.tokens, global.ramda, global.reactHookForm, global.focus, global.checkbox$1, global.radio$1, global.utils, global.radio, global.checkbox, global.datepicker, global.datepicker$1, global.date, global.button, global.i18n, global.calendar$1, global.calendar, global.reactRouterDom, global.clickable, global.framerMotion, global.chakraReactSelect, global.core, global.utilities, global.sortable, global.modifiers, global.reactWindow, global.AutoSizer, global.AvatarEditor, global.themeTools, global.InputMask));
5
5
  })(this, (function (exports, react, React, icons, system, tokens, ramda, reactHookForm, focus, checkbox$1, radio$1, utils, radio, checkbox, datepicker, datepicker$1, date, button, i18n, calendar$1, calendar, reactRouterDom, clickable, framerMotion, chakraReactSelect, core, utilities, sortable, modifiers, reactWindow, AutoSizer, AvatarEditor, themeTools, InputMask) { 'use strict';
6
6
 
7
+ var __defProp$25 = Object.defineProperty;
8
+ var __getOwnPropSymbols$25 = Object.getOwnPropertySymbols;
9
+ var __hasOwnProp$25 = Object.prototype.hasOwnProperty;
10
+ var __propIsEnum$25 = Object.prototype.propertyIsEnumerable;
11
+ var __defNormalProp$25 = (obj, key, value) => key in obj ? __defProp$25(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
12
+ var __spreadValues$25 = (a, b) => {
13
+ for (var prop in b || (b = {}))
14
+ if (__hasOwnProp$25.call(b, prop))
15
+ __defNormalProp$25(a, prop, b[prop]);
16
+ if (__getOwnPropSymbols$25)
17
+ for (var prop of __getOwnPropSymbols$25(b)) {
18
+ if (__propIsEnum$25.call(b, prop))
19
+ __defNormalProp$25(a, prop, b[prop]);
20
+ }
21
+ return a;
22
+ };
23
+ const Accordion = (props) => /* @__PURE__ */ React.createElement(react.Accordion, __spreadValues$25({}, props));
24
+
7
25
  var __defProp$24 = Object.defineProperty;
8
26
  var __getOwnPropSymbols$24 = Object.getOwnPropertySymbols;
9
27
  var __hasOwnProp$24 = Object.prototype.hasOwnProperty;
@@ -20,7 +38,7 @@
20
38
  }
21
39
  return a;
22
40
  };
23
- const Accordion = (props) => /* @__PURE__ */ React.createElement(react.Accordion, __spreadValues$24({}, props));
41
+ const AccordionButton = (props) => /* @__PURE__ */ React.createElement(react.AccordionButton, __spreadValues$24({}, props));
24
42
 
25
43
  var __defProp$23 = Object.defineProperty;
26
44
  var __getOwnPropSymbols$23 = Object.getOwnPropertySymbols;
@@ -38,7 +56,7 @@
38
56
  }
39
57
  return a;
40
58
  };
41
- const AccordionButton = (props) => /* @__PURE__ */ React.createElement(react.AccordionButton, __spreadValues$23({}, props));
59
+ const AccordionPanel = (props) => /* @__PURE__ */ React.createElement(react.AccordionPanel, __spreadValues$23({}, props));
42
60
 
43
61
  var __defProp$22 = Object.defineProperty;
44
62
  var __getOwnPropSymbols$22 = Object.getOwnPropertySymbols;
@@ -56,7 +74,7 @@
56
74
  }
57
75
  return a;
58
76
  };
59
- const AccordionPanel = (props) => /* @__PURE__ */ React.createElement(react.AccordionPanel, __spreadValues$22({}, props));
77
+ const AccordionItem = (props) => /* @__PURE__ */ React.createElement(react.AccordionItem, __spreadValues$22({}, props));
60
78
 
61
79
  var __defProp$21 = Object.defineProperty;
62
80
  var __getOwnPropSymbols$21 = Object.getOwnPropertySymbols;
@@ -74,32 +92,14 @@
74
92
  }
75
93
  return a;
76
94
  };
77
- const AccordionItem = (props) => /* @__PURE__ */ React.createElement(react.AccordionItem, __spreadValues$21({}, props));
78
-
79
- var __defProp$20 = Object.defineProperty;
80
- var __getOwnPropSymbols$20 = Object.getOwnPropertySymbols;
81
- var __hasOwnProp$20 = Object.prototype.hasOwnProperty;
82
- var __propIsEnum$20 = Object.prototype.propertyIsEnumerable;
83
- var __defNormalProp$20 = (obj, key, value) => key in obj ? __defProp$20(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
84
- var __spreadValues$20 = (a, b) => {
85
- for (var prop in b || (b = {}))
86
- if (__hasOwnProp$20.call(b, prop))
87
- __defNormalProp$20(a, prop, b[prop]);
88
- if (__getOwnPropSymbols$20)
89
- for (var prop of __getOwnPropSymbols$20(b)) {
90
- if (__propIsEnum$20.call(b, prop))
91
- __defNormalProp$20(a, prop, b[prop]);
92
- }
93
- return a;
94
- };
95
- var __objRest$1t = (source, exclude) => {
95
+ var __objRest$1u = (source, exclude) => {
96
96
  var target = {};
97
97
  for (var prop in source)
98
- if (__hasOwnProp$20.call(source, prop) && exclude.indexOf(prop) < 0)
98
+ if (__hasOwnProp$21.call(source, prop) && exclude.indexOf(prop) < 0)
99
99
  target[prop] = source[prop];
100
- if (source != null && __getOwnPropSymbols$20)
101
- for (var prop of __getOwnPropSymbols$20(source)) {
102
- if (exclude.indexOf(prop) < 0 && __propIsEnum$20.call(source, prop))
100
+ if (source != null && __getOwnPropSymbols$21)
101
+ for (var prop of __getOwnPropSymbols$21(source)) {
102
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$21.call(source, prop))
103
103
  target[prop] = source[prop];
104
104
  }
105
105
  return target;
@@ -109,7 +109,7 @@
109
109
  name,
110
110
  image,
111
111
  variant = "square"
112
- } = _b, rest = __objRest$1t(_b, [
112
+ } = _b, rest = __objRest$1u(_b, [
113
113
  "name",
114
114
  "image",
115
115
  "variant"
@@ -118,7 +118,7 @@
118
118
  const {
119
119
  container,
120
120
  text
121
- } = react.useMultiStyleConfig("Avatar", __spreadValues$20({ variant, image }, rest));
121
+ } = react.useMultiStyleConfig("Avatar", __spreadValues$21({ variant, image }, rest));
122
122
  return /* @__PURE__ */ React.createElement(
123
123
  react.chakra.div,
124
124
  {
@@ -135,30 +135,30 @@
135
135
  );
136
136
  };
137
137
 
138
- var __defProp$1$ = Object.defineProperty;
139
- var __getOwnPropSymbols$1$ = Object.getOwnPropertySymbols;
140
- var __hasOwnProp$1$ = Object.prototype.hasOwnProperty;
141
- var __propIsEnum$1$ = Object.prototype.propertyIsEnumerable;
142
- var __defNormalProp$1$ = (obj, key, value) => key in obj ? __defProp$1$(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
143
- var __spreadValues$1$ = (a, b) => {
138
+ var __defProp$20 = Object.defineProperty;
139
+ var __getOwnPropSymbols$20 = Object.getOwnPropertySymbols;
140
+ var __hasOwnProp$20 = Object.prototype.hasOwnProperty;
141
+ var __propIsEnum$20 = Object.prototype.propertyIsEnumerable;
142
+ var __defNormalProp$20 = (obj, key, value) => key in obj ? __defProp$20(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
143
+ var __spreadValues$20 = (a, b) => {
144
144
  for (var prop in b || (b = {}))
145
- if (__hasOwnProp$1$.call(b, prop))
146
- __defNormalProp$1$(a, prop, b[prop]);
147
- if (__getOwnPropSymbols$1$)
148
- for (var prop of __getOwnPropSymbols$1$(b)) {
149
- if (__propIsEnum$1$.call(b, prop))
150
- __defNormalProp$1$(a, prop, b[prop]);
145
+ if (__hasOwnProp$20.call(b, prop))
146
+ __defNormalProp$20(a, prop, b[prop]);
147
+ if (__getOwnPropSymbols$20)
148
+ for (var prop of __getOwnPropSymbols$20(b)) {
149
+ if (__propIsEnum$20.call(b, prop))
150
+ __defNormalProp$20(a, prop, b[prop]);
151
151
  }
152
152
  return a;
153
153
  };
154
- var __objRest$1s = (source, exclude) => {
154
+ var __objRest$1t = (source, exclude) => {
155
155
  var target = {};
156
156
  for (var prop in source)
157
- if (__hasOwnProp$1$.call(source, prop) && exclude.indexOf(prop) < 0)
157
+ if (__hasOwnProp$20.call(source, prop) && exclude.indexOf(prop) < 0)
158
158
  target[prop] = source[prop];
159
- if (source != null && __getOwnPropSymbols$1$)
160
- for (var prop of __getOwnPropSymbols$1$(source)) {
161
- if (exclude.indexOf(prop) < 0 && __propIsEnum$1$.call(source, prop))
159
+ if (source != null && __getOwnPropSymbols$20)
160
+ for (var prop of __getOwnPropSymbols$20(source)) {
161
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$20.call(source, prop))
162
162
  target[prop] = source[prop];
163
163
  }
164
164
  return target;
@@ -167,12 +167,30 @@
167
167
  var _b = _a, {
168
168
  variant = "success",
169
169
  children
170
- } = _b, rest = __objRest$1s(_b, [
170
+ } = _b, rest = __objRest$1t(_b, [
171
171
  "variant",
172
172
  "children"
173
173
  ]);
174
- return /* @__PURE__ */ React.createElement(react.Alert, __spreadValues$1$({ variant }, rest), children);
174
+ return /* @__PURE__ */ React.createElement(react.Alert, __spreadValues$20({ variant }, rest), children);
175
+ };
176
+
177
+ var __defProp$1$ = Object.defineProperty;
178
+ var __getOwnPropSymbols$1$ = Object.getOwnPropertySymbols;
179
+ var __hasOwnProp$1$ = Object.prototype.hasOwnProperty;
180
+ var __propIsEnum$1$ = Object.prototype.propertyIsEnumerable;
181
+ var __defNormalProp$1$ = (obj, key, value) => key in obj ? __defProp$1$(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
182
+ var __spreadValues$1$ = (a, b) => {
183
+ for (var prop in b || (b = {}))
184
+ if (__hasOwnProp$1$.call(b, prop))
185
+ __defNormalProp$1$(a, prop, b[prop]);
186
+ if (__getOwnPropSymbols$1$)
187
+ for (var prop of __getOwnPropSymbols$1$(b)) {
188
+ if (__propIsEnum$1$.call(b, prop))
189
+ __defNormalProp$1$(a, prop, b[prop]);
190
+ }
191
+ return a;
175
192
  };
193
+ const AspectRatio = (props) => /* @__PURE__ */ React.createElement(react.AspectRatio, __spreadValues$1$({}, props));
176
194
 
177
195
  var __defProp$1_ = Object.defineProperty;
178
196
  var __getOwnPropSymbols$1_ = Object.getOwnPropertySymbols;
@@ -190,32 +208,14 @@
190
208
  }
191
209
  return a;
192
210
  };
193
- const AspectRatio = (props) => /* @__PURE__ */ React.createElement(react.AspectRatio, __spreadValues$1_({}, props));
194
-
195
- var __defProp$1Z = Object.defineProperty;
196
- var __getOwnPropSymbols$1Z = Object.getOwnPropertySymbols;
197
- var __hasOwnProp$1Z = Object.prototype.hasOwnProperty;
198
- var __propIsEnum$1Z = Object.prototype.propertyIsEnumerable;
199
- var __defNormalProp$1Z = (obj, key, value) => key in obj ? __defProp$1Z(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
200
- var __spreadValues$1Z = (a, b) => {
201
- for (var prop in b || (b = {}))
202
- if (__hasOwnProp$1Z.call(b, prop))
203
- __defNormalProp$1Z(a, prop, b[prop]);
204
- if (__getOwnPropSymbols$1Z)
205
- for (var prop of __getOwnPropSymbols$1Z(b)) {
206
- if (__propIsEnum$1Z.call(b, prop))
207
- __defNormalProp$1Z(a, prop, b[prop]);
208
- }
209
- return a;
210
- };
211
- var __objRest$1r = (source, exclude) => {
211
+ var __objRest$1s = (source, exclude) => {
212
212
  var target = {};
213
213
  for (var prop in source)
214
- if (__hasOwnProp$1Z.call(source, prop) && exclude.indexOf(prop) < 0)
214
+ if (__hasOwnProp$1_.call(source, prop) && exclude.indexOf(prop) < 0)
215
215
  target[prop] = source[prop];
216
- if (source != null && __getOwnPropSymbols$1Z)
217
- for (var prop of __getOwnPropSymbols$1Z(source)) {
218
- if (exclude.indexOf(prop) < 0 && __propIsEnum$1Z.call(source, prop))
216
+ if (source != null && __getOwnPropSymbols$1_)
217
+ for (var prop of __getOwnPropSymbols$1_(source)) {
218
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$1_.call(source, prop))
219
219
  target[prop] = source[prop];
220
220
  }
221
221
  return target;
@@ -226,7 +226,7 @@
226
226
  size,
227
227
  color,
228
228
  boxSize
229
- } = _b, rest = __objRest$1r(_b, [
229
+ } = _b, rest = __objRest$1s(_b, [
230
230
  "as",
231
231
  "size",
232
232
  "color",
@@ -236,7 +236,7 @@
236
236
  const styles = react.useStyleConfig("Icon", { size, color, boxSize });
237
237
  return /* @__PURE__ */ React.createElement(
238
238
  react.Icon,
239
- __spreadValues$1Z({
239
+ __spreadValues$1_({
240
240
  ref,
241
241
  sx: styles
242
242
  }, rest),
@@ -325,6 +325,24 @@
325
325
  return fieldError;
326
326
  }
327
327
 
328
+ var __defProp$1Z = Object.defineProperty;
329
+ var __getOwnPropSymbols$1Z = Object.getOwnPropertySymbols;
330
+ var __hasOwnProp$1Z = Object.prototype.hasOwnProperty;
331
+ var __propIsEnum$1Z = Object.prototype.propertyIsEnumerable;
332
+ var __defNormalProp$1Z = (obj, key, value) => key in obj ? __defProp$1Z(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
333
+ var __spreadValues$1Z = (a, b) => {
334
+ for (var prop in b || (b = {}))
335
+ if (__hasOwnProp$1Z.call(b, prop))
336
+ __defNormalProp$1Z(a, prop, b[prop]);
337
+ if (__getOwnPropSymbols$1Z)
338
+ for (var prop of __getOwnPropSymbols$1Z(b)) {
339
+ if (__propIsEnum$1Z.call(b, prop))
340
+ __defNormalProp$1Z(a, prop, b[prop]);
341
+ }
342
+ return a;
343
+ };
344
+ const passPropsToChild = (child, styles) => React.isValidElement(child) ? React.cloneElement(child, __spreadValues$1Z({}, styles)) : child;
345
+
328
346
  var __defProp$1Y = Object.defineProperty;
329
347
  var __getOwnPropSymbols$1Y = Object.getOwnPropertySymbols;
330
348
  var __hasOwnProp$1Y = Object.prototype.hasOwnProperty;
@@ -341,27 +359,9 @@
341
359
  }
342
360
  return a;
343
361
  };
344
- const passPropsToChild = (child, styles) => React.isValidElement(child) ? React.cloneElement(child, __spreadValues$1Y({}, styles)) : child;
345
-
346
- var __defProp$1X = Object.defineProperty;
347
- var __getOwnPropSymbols$1X = Object.getOwnPropertySymbols;
348
- var __hasOwnProp$1X = Object.prototype.hasOwnProperty;
349
- var __propIsEnum$1X = Object.prototype.propertyIsEnumerable;
350
- var __defNormalProp$1X = (obj, key, value) => key in obj ? __defProp$1X(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
351
- var __spreadValues$1X = (a, b) => {
352
- for (var prop in b || (b = {}))
353
- if (__hasOwnProp$1X.call(b, prop))
354
- __defNormalProp$1X(a, prop, b[prop]);
355
- if (__getOwnPropSymbols$1X)
356
- for (var prop of __getOwnPropSymbols$1X(b)) {
357
- if (__propIsEnum$1X.call(b, prop))
358
- __defNormalProp$1X(a, prop, b[prop]);
359
- }
360
- return a;
361
- };
362
362
  const getChildrenWithProps = (children, styles, predicate = ramda.T) => {
363
363
  const childrenAsArr = React.Children.toArray(children);
364
- const childrenWithoutFocus = childrenAsArr.map((child, i) => predicate(child, i) ? passPropsToChild(child, __spreadValues$1X({}, styles)) : child);
364
+ const childrenWithoutFocus = childrenAsArr.map((child, i) => predicate(child, i) ? passPropsToChild(child, __spreadValues$1Y({}, styles)) : child);
365
365
  return childrenWithoutFocus;
366
366
  };
367
367
 
@@ -395,30 +395,30 @@
395
395
  return /* @__PURE__ */ React.createElement(react.chakra.span, { sx: badge }, notificationCount > 999 ? "999+" : notificationCount);
396
396
  };
397
397
 
398
- var __defProp$1W = Object.defineProperty;
399
- var __getOwnPropSymbols$1W = Object.getOwnPropertySymbols;
400
- var __hasOwnProp$1W = Object.prototype.hasOwnProperty;
401
- var __propIsEnum$1W = Object.prototype.propertyIsEnumerable;
402
- var __defNormalProp$1W = (obj, key, value) => key in obj ? __defProp$1W(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
403
- var __spreadValues$1W = (a, b) => {
398
+ var __defProp$1X = Object.defineProperty;
399
+ var __getOwnPropSymbols$1X = Object.getOwnPropertySymbols;
400
+ var __hasOwnProp$1X = Object.prototype.hasOwnProperty;
401
+ var __propIsEnum$1X = Object.prototype.propertyIsEnumerable;
402
+ var __defNormalProp$1X = (obj, key, value) => key in obj ? __defProp$1X(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
403
+ var __spreadValues$1X = (a, b) => {
404
404
  for (var prop in b || (b = {}))
405
- if (__hasOwnProp$1W.call(b, prop))
406
- __defNormalProp$1W(a, prop, b[prop]);
407
- if (__getOwnPropSymbols$1W)
408
- for (var prop of __getOwnPropSymbols$1W(b)) {
409
- if (__propIsEnum$1W.call(b, prop))
410
- __defNormalProp$1W(a, prop, b[prop]);
405
+ if (__hasOwnProp$1X.call(b, prop))
406
+ __defNormalProp$1X(a, prop, b[prop]);
407
+ if (__getOwnPropSymbols$1X)
408
+ for (var prop of __getOwnPropSymbols$1X(b)) {
409
+ if (__propIsEnum$1X.call(b, prop))
410
+ __defNormalProp$1X(a, prop, b[prop]);
411
411
  }
412
412
  return a;
413
413
  };
414
- var __objRest$1q = (source, exclude) => {
414
+ var __objRest$1r = (source, exclude) => {
415
415
  var target = {};
416
416
  for (var prop in source)
417
- if (__hasOwnProp$1W.call(source, prop) && exclude.indexOf(prop) < 0)
417
+ if (__hasOwnProp$1X.call(source, prop) && exclude.indexOf(prop) < 0)
418
418
  target[prop] = source[prop];
419
- if (source != null && __getOwnPropSymbols$1W)
420
- for (var prop of __getOwnPropSymbols$1W(source)) {
421
- if (exclude.indexOf(prop) < 0 && __propIsEnum$1W.call(source, prop))
419
+ if (source != null && __getOwnPropSymbols$1X)
420
+ for (var prop of __getOwnPropSymbols$1X(source)) {
421
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$1X.call(source, prop))
422
422
  target[prop] = source[prop];
423
423
  }
424
424
  return target;
@@ -430,7 +430,7 @@
430
430
  name,
431
431
  image,
432
432
  size
433
- } = _b, rest = __objRest$1q(_b, [
433
+ } = _b, rest = __objRest$1r(_b, [
434
434
  "variant",
435
435
  "notificationCount",
436
436
  "name",
@@ -443,7 +443,7 @@
443
443
  size,
444
444
  name
445
445
  });
446
- return /* @__PURE__ */ React.createElement(react.Box, __spreadValues$1W({ __css: container, "data-testid": "avatar-test-id" }, rest), image ? /* @__PURE__ */ React.createElement(
446
+ return /* @__PURE__ */ React.createElement(react.Box, __spreadValues$1X({ __css: container, "data-testid": "avatar-test-id" }, rest), image ? /* @__PURE__ */ React.createElement(
447
447
  react.chakra.img,
448
448
  {
449
449
  alt: name,
@@ -460,6 +460,53 @@
460
460
  ), notificationCount > 0 && /* @__PURE__ */ React.createElement(AvatarBadge, { notificationCount }));
461
461
  };
462
462
 
463
+ var __defProp$1W = Object.defineProperty;
464
+ var __getOwnPropSymbols$1W = Object.getOwnPropertySymbols;
465
+ var __hasOwnProp$1W = Object.prototype.hasOwnProperty;
466
+ var __propIsEnum$1W = Object.prototype.propertyIsEnumerable;
467
+ var __defNormalProp$1W = (obj, key, value) => key in obj ? __defProp$1W(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
468
+ var __spreadValues$1W = (a, b) => {
469
+ for (var prop in b || (b = {}))
470
+ if (__hasOwnProp$1W.call(b, prop))
471
+ __defNormalProp$1W(a, prop, b[prop]);
472
+ if (__getOwnPropSymbols$1W)
473
+ for (var prop of __getOwnPropSymbols$1W(b)) {
474
+ if (__propIsEnum$1W.call(b, prop))
475
+ __defNormalProp$1W(a, prop, b[prop]);
476
+ }
477
+ return a;
478
+ };
479
+ var __objRest$1q = (source, exclude) => {
480
+ var target = {};
481
+ for (var prop in source)
482
+ if (__hasOwnProp$1W.call(source, prop) && exclude.indexOf(prop) < 0)
483
+ target[prop] = source[prop];
484
+ if (source != null && __getOwnPropSymbols$1W)
485
+ for (var prop of __getOwnPropSymbols$1W(source)) {
486
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$1W.call(source, prop))
487
+ target[prop] = source[prop];
488
+ }
489
+ return target;
490
+ };
491
+ const H1$1 = (_a) => {
492
+ var _b = _a, {
493
+ children,
494
+ sx = {}
495
+ } = _b, rest = __objRest$1q(_b, [
496
+ "children",
497
+ "sx"
498
+ ]);
499
+ const styles = react.useStyleConfig("H1", { sx });
500
+ return /* @__PURE__ */ React.createElement(
501
+ react.Heading,
502
+ __spreadValues$1W({
503
+ as: "h1",
504
+ sx: styles
505
+ }, rest),
506
+ children
507
+ );
508
+ };
509
+
463
510
  var __defProp$1V = Object.defineProperty;
464
511
  var __getOwnPropSymbols$1V = Object.getOwnPropertySymbols;
465
512
  var __hasOwnProp$1V = Object.prototype.hasOwnProperty;
@@ -488,7 +535,7 @@
488
535
  }
489
536
  return target;
490
537
  };
491
- const H1$1 = (_a) => {
538
+ const H2$1 = (_a) => {
492
539
  var _b = _a, {
493
540
  children,
494
541
  sx = {}
@@ -496,11 +543,11 @@
496
543
  "children",
497
544
  "sx"
498
545
  ]);
499
- const styles = react.useStyleConfig("H1", { sx });
546
+ const styles = react.useStyleConfig("H2", { sx });
500
547
  return /* @__PURE__ */ React.createElement(
501
548
  react.Heading,
502
549
  __spreadValues$1V({
503
- as: "h1",
550
+ as: "h2",
504
551
  sx: styles
505
552
  }, rest),
506
553
  children
@@ -535,7 +582,7 @@
535
582
  }
536
583
  return target;
537
584
  };
538
- const H2$1 = (_a) => {
585
+ const H3$1 = (_a) => {
539
586
  var _b = _a, {
540
587
  children,
541
588
  sx = {}
@@ -543,11 +590,11 @@
543
590
  "children",
544
591
  "sx"
545
592
  ]);
546
- const styles = react.useStyleConfig("H2", { sx });
593
+ const styles = react.useStyleConfig("H3", { sx });
547
594
  return /* @__PURE__ */ React.createElement(
548
595
  react.Heading,
549
596
  __spreadValues$1U({
550
- as: "h2",
597
+ as: "h3",
551
598
  sx: styles
552
599
  }, rest),
553
600
  children
@@ -582,7 +629,7 @@
582
629
  }
583
630
  return target;
584
631
  };
585
- const H3$1 = (_a) => {
632
+ const H4$1 = (_a) => {
586
633
  var _b = _a, {
587
634
  children,
588
635
  sx = {}
@@ -590,11 +637,11 @@
590
637
  "children",
591
638
  "sx"
592
639
  ]);
593
- const styles = react.useStyleConfig("H3", { sx });
640
+ const styles = react.useStyleConfig("H4", { sx });
594
641
  return /* @__PURE__ */ React.createElement(
595
642
  react.Heading,
596
643
  __spreadValues$1T({
597
- as: "h3",
644
+ as: "h4",
598
645
  sx: styles
599
646
  }, rest),
600
647
  children
@@ -629,7 +676,7 @@
629
676
  }
630
677
  return target;
631
678
  };
632
- const H4$1 = (_a) => {
679
+ const H5$1 = (_a) => {
633
680
  var _b = _a, {
634
681
  children,
635
682
  sx = {}
@@ -637,11 +684,11 @@
637
684
  "children",
638
685
  "sx"
639
686
  ]);
640
- const styles = react.useStyleConfig("H4", { sx });
687
+ const styles = react.useStyleConfig("H5", { sx });
641
688
  return /* @__PURE__ */ React.createElement(
642
689
  react.Heading,
643
690
  __spreadValues$1S({
644
- as: "h4",
691
+ as: "h5",
645
692
  sx: styles
646
693
  }, rest),
647
694
  children
@@ -676,7 +723,7 @@
676
723
  }
677
724
  return target;
678
725
  };
679
- const H5$1 = (_a) => {
726
+ const H6$1 = (_a) => {
680
727
  var _b = _a, {
681
728
  children,
682
729
  sx = {}
@@ -684,11 +731,11 @@
684
731
  "children",
685
732
  "sx"
686
733
  ]);
687
- const styles = react.useStyleConfig("H5", { sx });
734
+ const styles = react.useStyleConfig("H6", { sx });
688
735
  return /* @__PURE__ */ React.createElement(
689
736
  react.Heading,
690
737
  __spreadValues$1R({
691
- as: "h5",
738
+ as: "h6",
692
739
  sx: styles
693
740
  }, rest),
694
741
  children
@@ -723,19 +770,21 @@
723
770
  }
724
771
  return target;
725
772
  };
726
- const H6$1 = (_a) => {
773
+ const P$1 = (_a) => {
727
774
  var _b = _a, {
728
775
  children,
776
+ variant = "16",
729
777
  sx = {}
730
778
  } = _b, rest = __objRest$1k(_b, [
731
779
  "children",
780
+ "variant",
732
781
  "sx"
733
782
  ]);
734
- const styles = react.useStyleConfig("H6", { sx });
783
+ const styles = react.useStyleConfig("P", { variant, sx });
735
784
  return /* @__PURE__ */ React.createElement(
736
- react.Heading,
785
+ react.Text,
737
786
  __spreadValues$1Q({
738
- as: "h6",
787
+ variant,
739
788
  sx: styles
740
789
  }, rest),
741
790
  children
@@ -770,25 +819,10 @@
770
819
  }
771
820
  return target;
772
821
  };
773
- const P$1 = (_a) => {
774
- var _b = _a, {
775
- children,
776
- variant = "16",
777
- sx = {}
778
- } = _b, rest = __objRest$1j(_b, [
779
- "children",
780
- "variant",
781
- "sx"
782
- ]);
783
- const styles = react.useStyleConfig("P", { variant, sx });
784
- return /* @__PURE__ */ React.createElement(
785
- react.Text,
786
- __spreadValues$1P({
787
- variant,
788
- sx: styles
789
- }, rest),
790
- children
791
- );
822
+ const Blockquote$1 = (_a) => {
823
+ var _b = _a, { children, sx = {} } = _b, rest = __objRest$1j(_b, ["children", "sx"]);
824
+ const styles = react.useStyleConfig("Blockquote", { sx });
825
+ return /* @__PURE__ */ React.createElement(react.Text, __spreadValues$1P({ as: "span", sx: styles }, rest), children);
792
826
  };
793
827
 
794
828
  var __defProp$1O = Object.defineProperty;
@@ -819,10 +853,23 @@
819
853
  }
820
854
  return target;
821
855
  };
822
- const Blockquote$1 = (_a) => {
823
- var _b = _a, { children, sx = {} } = _b, rest = __objRest$1i(_b, ["children", "sx"]);
824
- const styles = react.useStyleConfig("Blockquote", { sx });
825
- return /* @__PURE__ */ React.createElement(react.Text, __spreadValues$1O({ as: "span", sx: styles }, rest), children);
856
+ const Capitalized$1 = (_a) => {
857
+ var _b = _a, {
858
+ children,
859
+ sx = {}
860
+ } = _b, rest = __objRest$1i(_b, [
861
+ "children",
862
+ "sx"
863
+ ]);
864
+ const styles = react.useStyleConfig("Capitalized", { sx });
865
+ return /* @__PURE__ */ React.createElement(
866
+ react.Text,
867
+ __spreadValues$1O({
868
+ as: "span",
869
+ sx: styles
870
+ }, rest),
871
+ children
872
+ );
826
873
  };
827
874
 
828
875
  var __defProp$1N = Object.defineProperty;
@@ -853,7 +900,7 @@
853
900
  }
854
901
  return target;
855
902
  };
856
- const Capitalized$1 = (_a) => {
903
+ const Lead$1 = (_a) => {
857
904
  var _b = _a, {
858
905
  children,
859
906
  sx = {}
@@ -861,7 +908,7 @@
861
908
  "children",
862
909
  "sx"
863
910
  ]);
864
- const styles = react.useStyleConfig("Capitalized", { sx });
911
+ const styles = react.useStyleConfig("Lead", { sx });
865
912
  return /* @__PURE__ */ React.createElement(
866
913
  react.Text,
867
914
  __spreadValues$1N({
@@ -900,7 +947,7 @@
900
947
  }
901
948
  return target;
902
949
  };
903
- const Lead$1 = (_a) => {
950
+ const Small$1 = (_a) => {
904
951
  var _b = _a, {
905
952
  children,
906
953
  sx = {}
@@ -908,11 +955,11 @@
908
955
  "children",
909
956
  "sx"
910
957
  ]);
911
- const styles = react.useStyleConfig("Lead", { sx });
958
+ const styles = react.useStyleConfig("Small", { sx });
912
959
  return /* @__PURE__ */ React.createElement(
913
960
  react.Text,
914
961
  __spreadValues$1M({
915
- as: "span",
962
+ as: "small",
916
963
  sx: styles
917
964
  }, rest),
918
965
  children
@@ -947,7 +994,7 @@
947
994
  }
948
995
  return target;
949
996
  };
950
- const Small$1 = (_a) => {
997
+ const Tiny$1 = (_a) => {
951
998
  var _b = _a, {
952
999
  children,
953
1000
  sx = {}
@@ -955,11 +1002,11 @@
955
1002
  "children",
956
1003
  "sx"
957
1004
  ]);
958
- const styles = react.useStyleConfig("Small", { sx });
1005
+ const styles = react.useStyleConfig("Tiny", { sx });
959
1006
  return /* @__PURE__ */ React.createElement(
960
1007
  react.Text,
961
1008
  __spreadValues$1L({
962
- as: "small",
1009
+ as: "span",
963
1010
  sx: styles
964
1011
  }, rest),
965
1012
  children
@@ -985,58 +1032,11 @@
985
1032
  var __objRest$1e = (source, exclude) => {
986
1033
  var target = {};
987
1034
  for (var prop in source)
988
- if (__hasOwnProp$1K.call(source, prop) && exclude.indexOf(prop) < 0)
989
- target[prop] = source[prop];
990
- if (source != null && __getOwnPropSymbols$1K)
991
- for (var prop of __getOwnPropSymbols$1K(source)) {
992
- if (exclude.indexOf(prop) < 0 && __propIsEnum$1K.call(source, prop))
993
- target[prop] = source[prop];
994
- }
995
- return target;
996
- };
997
- const Tiny$1 = (_a) => {
998
- var _b = _a, {
999
- children,
1000
- sx = {}
1001
- } = _b, rest = __objRest$1e(_b, [
1002
- "children",
1003
- "sx"
1004
- ]);
1005
- const styles = react.useStyleConfig("Tiny", { sx });
1006
- return /* @__PURE__ */ React.createElement(
1007
- react.Text,
1008
- __spreadValues$1K({
1009
- as: "span",
1010
- sx: styles
1011
- }, rest),
1012
- children
1013
- );
1014
- };
1015
-
1016
- var __defProp$1J = Object.defineProperty;
1017
- var __getOwnPropSymbols$1J = Object.getOwnPropertySymbols;
1018
- var __hasOwnProp$1J = Object.prototype.hasOwnProperty;
1019
- var __propIsEnum$1J = Object.prototype.propertyIsEnumerable;
1020
- var __defNormalProp$1J = (obj, key, value) => key in obj ? __defProp$1J(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
1021
- var __spreadValues$1J = (a, b) => {
1022
- for (var prop in b || (b = {}))
1023
- if (__hasOwnProp$1J.call(b, prop))
1024
- __defNormalProp$1J(a, prop, b[prop]);
1025
- if (__getOwnPropSymbols$1J)
1026
- for (var prop of __getOwnPropSymbols$1J(b)) {
1027
- if (__propIsEnum$1J.call(b, prop))
1028
- __defNormalProp$1J(a, prop, b[prop]);
1029
- }
1030
- return a;
1031
- };
1032
- var __objRest$1d = (source, exclude) => {
1033
- var target = {};
1034
- for (var prop in source)
1035
- if (__hasOwnProp$1J.call(source, prop) && exclude.indexOf(prop) < 0)
1035
+ if (__hasOwnProp$1K.call(source, prop) && exclude.indexOf(prop) < 0)
1036
1036
  target[prop] = source[prop];
1037
- if (source != null && __getOwnPropSymbols$1J)
1038
- for (var prop of __getOwnPropSymbols$1J(source)) {
1039
- if (exclude.indexOf(prop) < 0 && __propIsEnum$1J.call(source, prop))
1037
+ if (source != null && __getOwnPropSymbols$1K)
1038
+ for (var prop of __getOwnPropSymbols$1K(source)) {
1039
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$1K.call(source, prop))
1040
1040
  target[prop] = source[prop];
1041
1041
  }
1042
1042
  return target;
@@ -1046,7 +1046,7 @@
1046
1046
  children,
1047
1047
  size = "sm",
1048
1048
  sx = {}
1049
- } = _b, rest = __objRest$1d(_b, [
1049
+ } = _b, rest = __objRest$1e(_b, [
1050
1050
  "children",
1051
1051
  "size",
1052
1052
  "sx"
@@ -1054,7 +1054,7 @@
1054
1054
  const styles = react.useStyleConfig("Label", { sx, size });
1055
1055
  return /* @__PURE__ */ React.createElement(
1056
1056
  react.FormLabel,
1057
- __spreadValues$1J({
1057
+ __spreadValues$1K({
1058
1058
  sx: styles,
1059
1059
  requiredIndicator: /* @__PURE__ */ React.createElement(react.VisuallyHidden, null)
1060
1060
  }, rest),
@@ -1142,30 +1142,30 @@
1142
1142
  return { rect, containerRef };
1143
1143
  };
1144
1144
 
1145
- var __defProp$1I = Object.defineProperty;
1146
- var __getOwnPropSymbols$1I = Object.getOwnPropertySymbols;
1147
- var __hasOwnProp$1I = Object.prototype.hasOwnProperty;
1148
- var __propIsEnum$1I = Object.prototype.propertyIsEnumerable;
1149
- var __defNormalProp$1I = (obj, key, value) => key in obj ? __defProp$1I(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
1150
- var __spreadValues$1I = (a, b) => {
1145
+ var __defProp$1J = Object.defineProperty;
1146
+ var __getOwnPropSymbols$1J = Object.getOwnPropertySymbols;
1147
+ var __hasOwnProp$1J = Object.prototype.hasOwnProperty;
1148
+ var __propIsEnum$1J = Object.prototype.propertyIsEnumerable;
1149
+ var __defNormalProp$1J = (obj, key, value) => key in obj ? __defProp$1J(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
1150
+ var __spreadValues$1J = (a, b) => {
1151
1151
  for (var prop in b || (b = {}))
1152
- if (__hasOwnProp$1I.call(b, prop))
1153
- __defNormalProp$1I(a, prop, b[prop]);
1154
- if (__getOwnPropSymbols$1I)
1155
- for (var prop of __getOwnPropSymbols$1I(b)) {
1156
- if (__propIsEnum$1I.call(b, prop))
1157
- __defNormalProp$1I(a, prop, b[prop]);
1152
+ if (__hasOwnProp$1J.call(b, prop))
1153
+ __defNormalProp$1J(a, prop, b[prop]);
1154
+ if (__getOwnPropSymbols$1J)
1155
+ for (var prop of __getOwnPropSymbols$1J(b)) {
1156
+ if (__propIsEnum$1J.call(b, prop))
1157
+ __defNormalProp$1J(a, prop, b[prop]);
1158
1158
  }
1159
1159
  return a;
1160
1160
  };
1161
- var __objRest$1c = (source, exclude) => {
1161
+ var __objRest$1d = (source, exclude) => {
1162
1162
  var target = {};
1163
1163
  for (var prop in source)
1164
- if (__hasOwnProp$1I.call(source, prop) && exclude.indexOf(prop) < 0)
1164
+ if (__hasOwnProp$1J.call(source, prop) && exclude.indexOf(prop) < 0)
1165
1165
  target[prop] = source[prop];
1166
- if (source != null && __getOwnPropSymbols$1I)
1167
- for (var prop of __getOwnPropSymbols$1I(source)) {
1168
- if (exclude.indexOf(prop) < 0 && __propIsEnum$1I.call(source, prop))
1166
+ if (source != null && __getOwnPropSymbols$1J)
1167
+ for (var prop of __getOwnPropSymbols$1J(source)) {
1168
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$1J.call(source, prop))
1169
1169
  target[prop] = source[prop];
1170
1170
  }
1171
1171
  return target;
@@ -1175,14 +1175,32 @@
1175
1175
  children,
1176
1176
  max = Infinity,
1177
1177
  spacing = "-4"
1178
- } = _b, rest = __objRest$1c(_b, [
1178
+ } = _b, rest = __objRest$1d(_b, [
1179
1179
  "children",
1180
1180
  "max",
1181
1181
  "spacing"
1182
1182
  ]);
1183
1183
  const [nbrRemainingAvatars, setNbrRemainingAvatars] = React.useState(0);
1184
- return /* @__PURE__ */ React.createElement(react.HStack, __spreadValues$1I({ bgColor: "background.default" }, rest), /* @__PURE__ */ React.createElement(react.HStack, { spacing }, /* @__PURE__ */ React.createElement(OverflowGroup, { max, onChange: setNbrRemainingAvatars }, children)), nbrRemainingAvatars > 0 && /* @__PURE__ */ React.createElement(Small$1, { sx: { color: "blue.500" } }, "+", nbrRemainingAvatars));
1184
+ return /* @__PURE__ */ React.createElement(react.HStack, __spreadValues$1J({ bgColor: "background.default" }, rest), /* @__PURE__ */ React.createElement(react.HStack, { spacing }, /* @__PURE__ */ React.createElement(OverflowGroup, { max, onChange: setNbrRemainingAvatars }, children)), nbrRemainingAvatars > 0 && /* @__PURE__ */ React.createElement(Small$1, { sx: { color: "blue.500" } }, "+", nbrRemainingAvatars));
1185
+ };
1186
+
1187
+ var __defProp$1I = Object.defineProperty;
1188
+ var __getOwnPropSymbols$1I = Object.getOwnPropertySymbols;
1189
+ var __hasOwnProp$1I = Object.prototype.hasOwnProperty;
1190
+ var __propIsEnum$1I = Object.prototype.propertyIsEnumerable;
1191
+ var __defNormalProp$1I = (obj, key, value) => key in obj ? __defProp$1I(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
1192
+ var __spreadValues$1I = (a, b) => {
1193
+ for (var prop in b || (b = {}))
1194
+ if (__hasOwnProp$1I.call(b, prop))
1195
+ __defNormalProp$1I(a, prop, b[prop]);
1196
+ if (__getOwnPropSymbols$1I)
1197
+ for (var prop of __getOwnPropSymbols$1I(b)) {
1198
+ if (__propIsEnum$1I.call(b, prop))
1199
+ __defNormalProp$1I(a, prop, b[prop]);
1200
+ }
1201
+ return a;
1185
1202
  };
1203
+ const Badge = (props) => /* @__PURE__ */ React.createElement(react.Badge, __spreadValues$1I({}, props));
1186
1204
 
1187
1205
  var __defProp$1H = Object.defineProperty;
1188
1206
  var __getOwnPropSymbols$1H = Object.getOwnPropertySymbols;
@@ -1200,7 +1218,31 @@
1200
1218
  }
1201
1219
  return a;
1202
1220
  };
1203
- const Badge = (props) => /* @__PURE__ */ React.createElement(react.Badge, __spreadValues$1H({}, props));
1221
+ var __objRest$1c = (source, exclude) => {
1222
+ var target = {};
1223
+ for (var prop in source)
1224
+ if (__hasOwnProp$1H.call(source, prop) && exclude.indexOf(prop) < 0)
1225
+ target[prop] = source[prop];
1226
+ if (source != null && __getOwnPropSymbols$1H)
1227
+ for (var prop of __getOwnPropSymbols$1H(source)) {
1228
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$1H.call(source, prop))
1229
+ target[prop] = source[prop];
1230
+ }
1231
+ return target;
1232
+ };
1233
+ const Blinker$1 = (_a) => {
1234
+ var _b = _a, {
1235
+ color = "",
1236
+ size,
1237
+ isBlinking = true
1238
+ } = _b, rest = __objRest$1c(_b, [
1239
+ "color",
1240
+ "size",
1241
+ "isBlinking"
1242
+ ]);
1243
+ const styles = react.useStyleConfig("Blinker", { color, size, isBlinking });
1244
+ return /* @__PURE__ */ React.createElement(react.Box, __spreadValues$1H({ sx: styles, "data-testid": "blinker-test-id" }, rest));
1245
+ };
1204
1246
 
1205
1247
  var __defProp$1G = Object.defineProperty;
1206
1248
  var __getOwnPropSymbols$1G = Object.getOwnPropertySymbols;
@@ -1230,19 +1272,12 @@
1230
1272
  }
1231
1273
  return target;
1232
1274
  };
1233
- const Blinker$1 = (_a) => {
1234
- var _b = _a, {
1235
- color = "",
1236
- size,
1237
- isBlinking = true
1238
- } = _b, rest = __objRest$1b(_b, [
1239
- "color",
1240
- "size",
1241
- "isBlinking"
1242
- ]);
1243
- const styles = react.useStyleConfig("Blinker", { color, size, isBlinking });
1244
- return /* @__PURE__ */ React.createElement(react.Box, __spreadValues$1G({ sx: styles, "data-testid": "blinker-test-id" }, rest));
1245
- };
1275
+ const Button$1 = React.forwardRef(
1276
+ (_a, ref) => {
1277
+ var _b = _a, { variant = "default", children } = _b, rest = __objRest$1b(_b, ["variant", "children"]);
1278
+ return /* @__PURE__ */ React.createElement(react.Button, __spreadValues$1G({ variant, ref }, rest), children);
1279
+ }
1280
+ );
1246
1281
 
1247
1282
  var __defProp$1F = Object.defineProperty;
1248
1283
  var __getOwnPropSymbols$1F = Object.getOwnPropertySymbols;
@@ -1272,41 +1307,6 @@
1272
1307
  }
1273
1308
  return target;
1274
1309
  };
1275
- const Button$1 = React.forwardRef(
1276
- (_a, ref) => {
1277
- var _b = _a, { variant = "default", children } = _b, rest = __objRest$1a(_b, ["variant", "children"]);
1278
- return /* @__PURE__ */ React.createElement(react.Button, __spreadValues$1F({ variant, ref }, rest), children);
1279
- }
1280
- );
1281
-
1282
- var __defProp$1E = Object.defineProperty;
1283
- var __getOwnPropSymbols$1E = Object.getOwnPropertySymbols;
1284
- var __hasOwnProp$1E = Object.prototype.hasOwnProperty;
1285
- var __propIsEnum$1E = Object.prototype.propertyIsEnumerable;
1286
- var __defNormalProp$1E = (obj, key, value) => key in obj ? __defProp$1E(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
1287
- var __spreadValues$1E = (a, b) => {
1288
- for (var prop in b || (b = {}))
1289
- if (__hasOwnProp$1E.call(b, prop))
1290
- __defNormalProp$1E(a, prop, b[prop]);
1291
- if (__getOwnPropSymbols$1E)
1292
- for (var prop of __getOwnPropSymbols$1E(b)) {
1293
- if (__propIsEnum$1E.call(b, prop))
1294
- __defNormalProp$1E(a, prop, b[prop]);
1295
- }
1296
- return a;
1297
- };
1298
- var __objRest$19 = (source, exclude) => {
1299
- var target = {};
1300
- for (var prop in source)
1301
- if (__hasOwnProp$1E.call(source, prop) && exclude.indexOf(prop) < 0)
1302
- target[prop] = source[prop];
1303
- if (source != null && __getOwnPropSymbols$1E)
1304
- for (var prop of __getOwnPropSymbols$1E(source)) {
1305
- if (exclude.indexOf(prop) < 0 && __propIsEnum$1E.call(source, prop))
1306
- target[prop] = source[prop];
1307
- }
1308
- return target;
1309
- };
1310
1310
  const Checkbox$1 = (_a) => {
1311
1311
  var _b = _a, {
1312
1312
  value,
@@ -1314,7 +1314,7 @@
1314
1314
  name,
1315
1315
  size = "md",
1316
1316
  variant = "default"
1317
- } = _b, rest = __objRest$19(_b, [
1317
+ } = _b, rest = __objRest$1a(_b, [
1318
1318
  "value",
1319
1319
  "onChange",
1320
1320
  "name",
@@ -1323,7 +1323,7 @@
1323
1323
  ]);
1324
1324
  return /* @__PURE__ */ React.createElement(
1325
1325
  react.Checkbox,
1326
- __spreadValues$1E({
1326
+ __spreadValues$1F({
1327
1327
  size,
1328
1328
  id: name,
1329
1329
  onChange,
@@ -1349,30 +1349,30 @@
1349
1349
  return newObj;
1350
1350
  };
1351
1351
 
1352
- var __defProp$1D = Object.defineProperty;
1353
- var __getOwnPropSymbols$1D = Object.getOwnPropertySymbols;
1354
- var __hasOwnProp$1D = Object.prototype.hasOwnProperty;
1355
- var __propIsEnum$1D = Object.prototype.propertyIsEnumerable;
1356
- var __defNormalProp$1D = (obj, key, value) => key in obj ? __defProp$1D(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
1357
- var __spreadValues$1D = (a, b) => {
1352
+ var __defProp$1E = Object.defineProperty;
1353
+ var __getOwnPropSymbols$1E = Object.getOwnPropertySymbols;
1354
+ var __hasOwnProp$1E = Object.prototype.hasOwnProperty;
1355
+ var __propIsEnum$1E = Object.prototype.propertyIsEnumerable;
1356
+ var __defNormalProp$1E = (obj, key, value) => key in obj ? __defProp$1E(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
1357
+ var __spreadValues$1E = (a, b) => {
1358
1358
  for (var prop in b || (b = {}))
1359
- if (__hasOwnProp$1D.call(b, prop))
1360
- __defNormalProp$1D(a, prop, b[prop]);
1361
- if (__getOwnPropSymbols$1D)
1362
- for (var prop of __getOwnPropSymbols$1D(b)) {
1363
- if (__propIsEnum$1D.call(b, prop))
1364
- __defNormalProp$1D(a, prop, b[prop]);
1359
+ if (__hasOwnProp$1E.call(b, prop))
1360
+ __defNormalProp$1E(a, prop, b[prop]);
1361
+ if (__getOwnPropSymbols$1E)
1362
+ for (var prop of __getOwnPropSymbols$1E(b)) {
1363
+ if (__propIsEnum$1E.call(b, prop))
1364
+ __defNormalProp$1E(a, prop, b[prop]);
1365
1365
  }
1366
1366
  return a;
1367
1367
  };
1368
- var __objRest$18 = (source, exclude) => {
1368
+ var __objRest$19 = (source, exclude) => {
1369
1369
  var target = {};
1370
1370
  for (var prop in source)
1371
- if (__hasOwnProp$1D.call(source, prop) && exclude.indexOf(prop) < 0)
1371
+ if (__hasOwnProp$1E.call(source, prop) && exclude.indexOf(prop) < 0)
1372
1372
  target[prop] = source[prop];
1373
- if (source != null && __getOwnPropSymbols$1D)
1374
- for (var prop of __getOwnPropSymbols$1D(source)) {
1375
- if (exclude.indexOf(prop) < 0 && __propIsEnum$1D.call(source, prop))
1373
+ if (source != null && __getOwnPropSymbols$1E)
1374
+ for (var prop of __getOwnPropSymbols$1E(source)) {
1375
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$1E.call(source, prop))
1376
1376
  target[prop] = source[prop];
1377
1377
  }
1378
1378
  return target;
@@ -1388,7 +1388,7 @@
1388
1388
  enableReinitialize = false,
1389
1389
  shouldTrim = true,
1390
1390
  innerFormStyle = {}
1391
- } = _b, rest = __objRest$18(_b, [
1391
+ } = _b, rest = __objRest$19(_b, [
1392
1392
  "initialValues",
1393
1393
  "onSubmit",
1394
1394
  "children",
@@ -1403,7 +1403,7 @@
1403
1403
  values,
1404
1404
  errors: validate(values)
1405
1405
  });
1406
- const newMethods = methods || reactHookForm.useForm(__spreadValues$1D({
1406
+ const newMethods = methods || reactHookForm.useForm(__spreadValues$1E({
1407
1407
  defaultValues: initialValues,
1408
1408
  resolver: validate ? customResolver : void 0
1409
1409
  }, formSettings));
@@ -1429,33 +1429,33 @@
1429
1429
  newMethods.trigger();
1430
1430
  e.preventDefault();
1431
1431
  };
1432
- return /* @__PURE__ */ React.createElement(reactHookForm.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));
1432
+ return /* @__PURE__ */ React.createElement(reactHookForm.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));
1433
1433
  });
1434
1434
 
1435
- var __defProp$1C = Object.defineProperty;
1436
- var __getOwnPropSymbols$1C = Object.getOwnPropertySymbols;
1437
- var __hasOwnProp$1C = Object.prototype.hasOwnProperty;
1438
- var __propIsEnum$1C = Object.prototype.propertyIsEnumerable;
1439
- var __defNormalProp$1C = (obj, key, value) => key in obj ? __defProp$1C(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
1440
- var __spreadValues$1C = (a, b) => {
1435
+ var __defProp$1D = Object.defineProperty;
1436
+ var __getOwnPropSymbols$1D = Object.getOwnPropertySymbols;
1437
+ var __hasOwnProp$1D = Object.prototype.hasOwnProperty;
1438
+ var __propIsEnum$1D = Object.prototype.propertyIsEnumerable;
1439
+ var __defNormalProp$1D = (obj, key, value) => key in obj ? __defProp$1D(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
1440
+ var __spreadValues$1D = (a, b) => {
1441
1441
  for (var prop in b || (b = {}))
1442
- if (__hasOwnProp$1C.call(b, prop))
1443
- __defNormalProp$1C(a, prop, b[prop]);
1444
- if (__getOwnPropSymbols$1C)
1445
- for (var prop of __getOwnPropSymbols$1C(b)) {
1446
- if (__propIsEnum$1C.call(b, prop))
1447
- __defNormalProp$1C(a, prop, b[prop]);
1442
+ if (__hasOwnProp$1D.call(b, prop))
1443
+ __defNormalProp$1D(a, prop, b[prop]);
1444
+ if (__getOwnPropSymbols$1D)
1445
+ for (var prop of __getOwnPropSymbols$1D(b)) {
1446
+ if (__propIsEnum$1D.call(b, prop))
1447
+ __defNormalProp$1D(a, prop, b[prop]);
1448
1448
  }
1449
1449
  return a;
1450
1450
  };
1451
- var __objRest$17 = (source, exclude) => {
1451
+ var __objRest$18 = (source, exclude) => {
1452
1452
  var target = {};
1453
1453
  for (var prop in source)
1454
- if (__hasOwnProp$1C.call(source, prop) && exclude.indexOf(prop) < 0)
1454
+ if (__hasOwnProp$1D.call(source, prop) && exclude.indexOf(prop) < 0)
1455
1455
  target[prop] = source[prop];
1456
- if (source != null && __getOwnPropSymbols$1C)
1457
- for (var prop of __getOwnPropSymbols$1C(source)) {
1458
- if (exclude.indexOf(prop) < 0 && __propIsEnum$1C.call(source, prop))
1456
+ if (source != null && __getOwnPropSymbols$1D)
1457
+ for (var prop of __getOwnPropSymbols$1D(source)) {
1458
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$1D.call(source, prop))
1459
1459
  target[prop] = source[prop];
1460
1460
  }
1461
1461
  return target;
@@ -1463,12 +1463,12 @@
1463
1463
  const FormLabel = (_a) => {
1464
1464
  var _b = _a, {
1465
1465
  children: label
1466
- } = _b, rest = __objRest$17(_b, [
1466
+ } = _b, rest = __objRest$18(_b, [
1467
1467
  "children"
1468
1468
  ]);
1469
1469
  return /* @__PURE__ */ React.createElement(
1470
1470
  Label$1,
1471
- __spreadValues$1C({
1471
+ __spreadValues$1D({
1472
1472
  size: "sm",
1473
1473
  sx: {
1474
1474
  width: "80%",
@@ -1705,27 +1705,65 @@
1705
1705
  return "sm";
1706
1706
  };
1707
1707
 
1708
- function Field({
1709
- name,
1710
- label,
1711
- children,
1712
- direction = "column",
1713
- isRequired = false,
1714
- noLabelConnection = false,
1715
- validate,
1716
- control: passedControl
1717
- }) {
1708
+ var __defProp$1C = Object.defineProperty;
1709
+ var __getOwnPropSymbols$1C = Object.getOwnPropertySymbols;
1710
+ var __hasOwnProp$1C = Object.prototype.hasOwnProperty;
1711
+ var __propIsEnum$1C = Object.prototype.propertyIsEnumerable;
1712
+ var __defNormalProp$1C = (obj, key, value) => key in obj ? __defProp$1C(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
1713
+ var __spreadValues$1C = (a, b) => {
1714
+ for (var prop in b || (b = {}))
1715
+ if (__hasOwnProp$1C.call(b, prop))
1716
+ __defNormalProp$1C(a, prop, b[prop]);
1717
+ if (__getOwnPropSymbols$1C)
1718
+ for (var prop of __getOwnPropSymbols$1C(b)) {
1719
+ if (__propIsEnum$1C.call(b, prop))
1720
+ __defNormalProp$1C(a, prop, b[prop]);
1721
+ }
1722
+ return a;
1723
+ };
1724
+ var __objRest$17 = (source, exclude) => {
1725
+ var target = {};
1726
+ for (var prop in source)
1727
+ if (__hasOwnProp$1C.call(source, prop) && exclude.indexOf(prop) < 0)
1728
+ target[prop] = source[prop];
1729
+ if (source != null && __getOwnPropSymbols$1C)
1730
+ for (var prop of __getOwnPropSymbols$1C(source)) {
1731
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$1C.call(source, prop))
1732
+ target[prop] = source[prop];
1733
+ }
1734
+ return target;
1735
+ };
1736
+ function Field(_a) {
1737
+ var _b = _a, {
1738
+ name,
1739
+ label,
1740
+ children,
1741
+ direction = "column",
1742
+ isRequired = false,
1743
+ noLabelConnection = false,
1744
+ validate,
1745
+ control: passedControl
1746
+ } = _b, rest = __objRest$17(_b, [
1747
+ "name",
1748
+ "label",
1749
+ "children",
1750
+ "direction",
1751
+ "isRequired",
1752
+ "noLabelConnection",
1753
+ "validate",
1754
+ "control"
1755
+ ]);
1718
1756
  const methods = reactHookForm.useFormContext();
1719
1757
  const { formState: { errors } } = methods;
1720
1758
  const control = passedControl != null ? passedControl : methods.control;
1721
1759
  const fieldError = getFieldError(name, errors);
1722
1760
  return /* @__PURE__ */ React.createElement(react.FormControl, { isInvalid: !!fieldError, isRequired }, /* @__PURE__ */ React.createElement(
1723
1761
  react.Stack,
1724
- {
1762
+ __spreadValues$1C({
1725
1763
  spacing: "auto",
1726
1764
  direction,
1727
1765
  alignItems: direction === "column" ? "stretch" : "center"
1728
- },
1766
+ }, rest),
1729
1767
  label && /* @__PURE__ */ React.createElement(FormLabel, { htmlFor: noLabelConnection ? void 0 : name, mb: 1 }, label),
1730
1768
  /* @__PURE__ */ React.createElement(
1731
1769
  reactHookForm.Controller,
@@ -2315,7 +2353,7 @@
2315
2353
  }, rest)) : /* @__PURE__ */ React.createElement(
2316
2354
  react.HStack,
2317
2355
  {
2318
- spacing: isSelected || icon ? 2 : 0,
2356
+ spacing: isSelected && iconPlacement !== "none" || icon ? 2 : 0,
2319
2357
  sx: ramda.mergeAll([button, isFocused ? focusStyles : {}, { flexDirection: iconPlacement === "left" ? "row" : "row-reverse" }]),
2320
2358
  "aria-checked": isSelected,
2321
2359
  "aria-disabled": isDisabled,
@@ -5298,16 +5336,24 @@
5298
5336
  }
5299
5337
  return target;
5300
5338
  };
5301
- function getComponents() {
5302
- return {
5303
- DropdownIndicator: (props) => props.selectProps.icon ? /* @__PURE__ */ React.createElement(chakraReactSelect.chakraComponents.DropdownIndicator, __spreadValues$W({}, props), /* @__PURE__ */ React.createElement(Icon$1, { as: props.selectProps.icon })) : /* @__PURE__ */ React.createElement(chakraReactSelect.chakraComponents.DropdownIndicator, __spreadValues$W({}, props)),
5304
- Option: (props) => props.selectProps.customOption ? /* @__PURE__ */ React.createElement(chakraReactSelect.chakraComponents.Option, __spreadValues$W({}, props), props.selectProps.customOption(props.data)) : /* @__PURE__ */ React.createElement(chakraReactSelect.chakraComponents.Option, __spreadValues$W({}, props)),
5305
- MultiValueContainer: (props) => props.selectProps.customTag ? /* @__PURE__ */ React.createElement(chakraReactSelect.chakraComponents.MultiValueContainer, __spreadValues$W({}, props), props.selectProps.customTag(props.data)) : /* @__PURE__ */ React.createElement(chakraReactSelect.chakraComponents.MultiValueContainer, __spreadValues$W({}, props)),
5339
+ function getComponents({
5340
+ defaultControl = true
5341
+ }) {
5342
+ const control = defaultControl ? {} : {
5306
5343
  Control: (_a) => {
5307
- var _b = _a, { children } = _b, props = __objRest$G(_b, ["children"]);
5344
+ var _b = _a, {
5345
+ children
5346
+ } = _b, props = __objRest$G(_b, [
5347
+ "children"
5348
+ ]);
5308
5349
  return props.selectProps.leftIcon ? /* @__PURE__ */ React.createElement(chakraReactSelect.chakraComponents.Control, __spreadValues$W({}, props), /* @__PURE__ */ React.createElement(react.HStack, { w: "full", pl: "2" }, /* @__PURE__ */ React.createElement(Icon$1, { as: props.selectProps.leftIcon }), /* @__PURE__ */ React.createElement(react.HStack, { w: "full", justify: "space-between" }, children))) : /* @__PURE__ */ React.createElement(chakraReactSelect.chakraComponents.Control, __spreadValues$W({}, props), children);
5309
5350
  }
5310
5351
  };
5352
+ return __spreadValues$W({
5353
+ DropdownIndicator: (props) => props.selectProps.icon ? /* @__PURE__ */ React.createElement(chakraReactSelect.chakraComponents.DropdownIndicator, __spreadValues$W({}, props), /* @__PURE__ */ React.createElement(Icon$1, { as: props.selectProps.icon })) : /* @__PURE__ */ React.createElement(chakraReactSelect.chakraComponents.DropdownIndicator, __spreadValues$W({}, props)),
5354
+ Option: (props) => props.selectProps.customOption ? /* @__PURE__ */ React.createElement(chakraReactSelect.chakraComponents.Option, __spreadValues$W({}, props), props.selectProps.customOption(props.data)) : /* @__PURE__ */ React.createElement(chakraReactSelect.chakraComponents.Option, __spreadValues$W({}, props)),
5355
+ MultiValueContainer: (props) => props.selectProps.customTag ? /* @__PURE__ */ React.createElement(chakraReactSelect.chakraComponents.MultiValueContainer, __spreadValues$W({}, props), props.selectProps.customTag(props.data)) : /* @__PURE__ */ React.createElement(chakraReactSelect.chakraComponents.MultiValueContainer, __spreadValues$W({}, props))
5356
+ }, control);
5311
5357
  }
5312
5358
 
5313
5359
  var __defProp$V = Object.defineProperty;
@@ -5388,7 +5434,7 @@
5388
5434
  isMulti,
5389
5435
  value: ramda.is(Array, value) ? value : []
5390
5436
  });
5391
- const customComponents = getComponents();
5437
+ const customComponents = getComponents({ defaultControl: true });
5392
5438
  const simpleFilter = (query) => ramda.filter(
5393
5439
  (option) => ramda.test(new RegExp(ramda.toLower(query), "g"), ramda.toLower(option.label)),
5394
5440
  defaultOptions
@@ -10885,7 +10931,7 @@
10885
10931
  isMulti,
10886
10932
  value: ramda.is(Array, value) ? value : []
10887
10933
  });
10888
- const customComponents = getComponents();
10934
+ const customComponents = getComponents({ defaultControl: false });
10889
10935
  const prevOptions = React.useRef(
10890
10936
  options
10891
10937
  );