@northlight/ui 2.43.1 → 2.43.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.
@@ -1,8 +1,8 @@
1
1
  (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@chakra-ui/react'), require('react'), require('chakra-react-select'), require('ramda'), require('@react-aria/focus'), require('react-hook-form'), require('@chakra-ui/system'), require('@northlight/tokens'), require('@emotion/react'), require('@chakra-ui/theme-tools'), require('@northlight/icons'), require('@hookform/resolvers/joi'), require('@react-aria/checkbox'), require('@react-aria/radio'), require('@react-aria/utils'), require('@react-stately/radio'), require('@react-stately/checkbox'), require('@react-aria/datepicker'), require('@react-stately/datepicker'), require('@internationalized/date'), require('@react-aria/button'), require('@react-aria/i18n'), require('@react-stately/calendar'), require('@react-aria/calendar'), require('react-router-dom'), require('@chakra-ui/clickable'), require('framer-motion'), require('@dnd-kit/core'), require('@dnd-kit/utilities'), require('@dnd-kit/sortable'), require('@dnd-kit/modifiers'), require('react-window'), require('react-virtualized-auto-sizer'), require('react-avatar-editor'), require('react-number-format'), require('react-input-mask'), require('yafu')) :
3
- typeof define === 'function' && define.amd ? define(['exports', '@chakra-ui/react', 'react', 'chakra-react-select', 'ramda', '@react-aria/focus', 'react-hook-form', '@chakra-ui/system', '@northlight/tokens', '@emotion/react', '@chakra-ui/theme-tools', '@northlight/icons', '@hookform/resolvers/joi', '@react-aria/checkbox', '@react-aria/radio', '@react-aria/utils', '@react-stately/radio', '@react-stately/checkbox', '@react-aria/datepicker', '@react-stately/datepicker', '@internationalized/date', '@react-aria/button', '@react-aria/i18n', '@react-stately/calendar', '@react-aria/calendar', 'react-router-dom', '@chakra-ui/clickable', 'framer-motion', '@dnd-kit/core', '@dnd-kit/utilities', '@dnd-kit/sortable', '@dnd-kit/modifiers', 'react-window', 'react-virtualized-auto-sizer', 'react-avatar-editor', 'react-number-format', 'react-input-mask', 'yafu'], factory) :
4
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.northlight = {}, global.react, global.React, global.chakraReactSelect, global.ramda, global.focus, global.reactHookForm, global.system, global.tokens, global.react$1, global.themeTools, global.NorthlightIcons, global.joi, 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.core, global.utilities, global.sortable, global.modifiers, global.reactWindow, global.AutoSizer, global.AvatarEditor, global.reactNumberFormat, global.InputMask, global.yafu));
5
- })(this, (function (exports, react, React, chakraReactSelect, ramda, focus, reactHookForm, system, tokens, react$1, themeTools, NorthlightIcons, joi, checkbox$1, radio$1, utils, radio, checkbox, datepicker, datepicker$1, date, button, i18n, calendar$1, calendar, reactRouterDom, clickable, framerMotion, core, utilities, sortable, modifiers, reactWindow, AutoSizer, AvatarEditor, reactNumberFormat, InputMask, yafu) { 'use strict';
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@chakra-ui/react'), require('react'), require('chakra-react-select'), require('ramda'), require('@react-aria/focus'), require('react-hook-form'), require('@chakra-ui/system'), require('@northlight/tokens'), require('@emotion/react'), require('@chakra-ui/theme-tools'), require('@northlight/icons'), require('@hookform/resolvers/joi'), require('@react-aria/checkbox'), require('@react-aria/radio'), require('@react-aria/utils'), require('@react-stately/radio'), require('@react-stately/checkbox'), require('@react-aria/datepicker'), require('@react-stately/datepicker'), require('@internationalized/date'), require('@react-aria/i18n'), require('@react-stately/calendar'), require('@react-aria/calendar'), require('@react-aria/button'), require('react-router-dom'), require('@chakra-ui/clickable'), require('framer-motion'), require('@dnd-kit/core'), require('@dnd-kit/utilities'), require('@dnd-kit/sortable'), require('@dnd-kit/modifiers'), require('react-window'), require('react-virtualized-auto-sizer'), require('react-avatar-editor'), require('react-number-format'), require('react-input-mask'), require('yafu')) :
3
+ typeof define === 'function' && define.amd ? define(['exports', '@chakra-ui/react', 'react', 'chakra-react-select', 'ramda', '@react-aria/focus', 'react-hook-form', '@chakra-ui/system', '@northlight/tokens', '@emotion/react', '@chakra-ui/theme-tools', '@northlight/icons', '@hookform/resolvers/joi', '@react-aria/checkbox', '@react-aria/radio', '@react-aria/utils', '@react-stately/radio', '@react-stately/checkbox', '@react-aria/datepicker', '@react-stately/datepicker', '@internationalized/date', '@react-aria/i18n', '@react-stately/calendar', '@react-aria/calendar', '@react-aria/button', 'react-router-dom', '@chakra-ui/clickable', 'framer-motion', '@dnd-kit/core', '@dnd-kit/utilities', '@dnd-kit/sortable', '@dnd-kit/modifiers', 'react-window', 'react-virtualized-auto-sizer', 'react-avatar-editor', 'react-number-format', 'react-input-mask', 'yafu'], factory) :
4
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.northlight = {}, global.react, global.React, global.chakraReactSelect, global.ramda, global.focus, global.reactHookForm, global.system, global.tokens, global.react$1, global.themeTools, global.NorthlightIcons, global.joi, global.checkbox$1, global.radio$1, global.utils, global.radio, global.checkbox, global.datepicker, global.datepicker$1, global.date, global.i18n, global.calendar$1, global.calendar, global.button, global.reactRouterDom, global.clickable, global.framerMotion, global.core, global.utilities, global.sortable, global.modifiers, global.reactWindow, global.AutoSizer, global.AvatarEditor, global.reactNumberFormat, global.InputMask, global.yafu));
5
+ })(this, (function (exports, react, React, chakraReactSelect, ramda, focus, reactHookForm, system, tokens, react$1, themeTools, NorthlightIcons, joi, checkbox$1, radio$1, utils, radio, checkbox, datepicker, datepicker$1, date, i18n, calendar$1, calendar, button, reactRouterDom, clickable, framerMotion, core, utilities, sortable, modifiers, reactWindow, AutoSizer, AvatarEditor, reactNumberFormat, InputMask, yafu) { 'use strict';
6
6
 
7
7
  function _interopNamespaceDefault(e) {
8
8
  var n = Object.create(null);
@@ -23,24 +23,6 @@
23
23
 
24
24
  var NorthlightIcons__namespace = /*#__PURE__*/_interopNamespaceDefault(NorthlightIcons);
25
25
 
26
- var __defProp$2x = Object.defineProperty;
27
- var __getOwnPropSymbols$2x = Object.getOwnPropertySymbols;
28
- var __hasOwnProp$2x = Object.prototype.hasOwnProperty;
29
- var __propIsEnum$2x = Object.prototype.propertyIsEnumerable;
30
- var __defNormalProp$2x = (obj, key, value) => key in obj ? __defProp$2x(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
31
- var __spreadValues$2x = (a, b) => {
32
- for (var prop in b || (b = {}))
33
- if (__hasOwnProp$2x.call(b, prop))
34
- __defNormalProp$2x(a, prop, b[prop]);
35
- if (__getOwnPropSymbols$2x)
36
- for (var prop of __getOwnPropSymbols$2x(b)) {
37
- if (__propIsEnum$2x.call(b, prop))
38
- __defNormalProp$2x(a, prop, b[prop]);
39
- }
40
- return a;
41
- };
42
- const Accordion = (props) => /* @__PURE__ */ React.createElement(react.Accordion, __spreadValues$2x({}, props));
43
-
44
26
  var __defProp$2w = Object.defineProperty;
45
27
  var __getOwnPropSymbols$2w = Object.getOwnPropertySymbols;
46
28
  var __hasOwnProp$2w = Object.prototype.hasOwnProperty;
@@ -57,7 +39,7 @@
57
39
  }
58
40
  return a;
59
41
  };
60
- const AccordionButton = (props) => /* @__PURE__ */ React.createElement(react.AccordionButton, __spreadValues$2w({}, props));
42
+ const Accordion = (props) => /* @__PURE__ */ React.createElement(react.Accordion, __spreadValues$2w({}, props));
61
43
 
62
44
  var __defProp$2v = Object.defineProperty;
63
45
  var __getOwnPropSymbols$2v = Object.getOwnPropertySymbols;
@@ -75,7 +57,7 @@
75
57
  }
76
58
  return a;
77
59
  };
78
- const AccordionPanel = (props) => /* @__PURE__ */ React.createElement(react.AccordionPanel, __spreadValues$2v({}, props));
60
+ const AccordionButton = (props) => /* @__PURE__ */ React.createElement(react.AccordionButton, __spreadValues$2v({}, props));
79
61
 
80
62
  var __defProp$2u = Object.defineProperty;
81
63
  var __getOwnPropSymbols$2u = Object.getOwnPropertySymbols;
@@ -93,7 +75,25 @@
93
75
  }
94
76
  return a;
95
77
  };
96
- const AccordionItem = (props) => /* @__PURE__ */ React.createElement(react.AccordionItem, __spreadValues$2u({}, props));
78
+ const AccordionPanel = (props) => /* @__PURE__ */ React.createElement(react.AccordionPanel, __spreadValues$2u({}, props));
79
+
80
+ var __defProp$2t = Object.defineProperty;
81
+ var __getOwnPropSymbols$2t = Object.getOwnPropertySymbols;
82
+ var __hasOwnProp$2t = Object.prototype.hasOwnProperty;
83
+ var __propIsEnum$2t = Object.prototype.propertyIsEnumerable;
84
+ var __defNormalProp$2t = (obj, key, value) => key in obj ? __defProp$2t(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
85
+ var __spreadValues$2t = (a, b) => {
86
+ for (var prop in b || (b = {}))
87
+ if (__hasOwnProp$2t.call(b, prop))
88
+ __defNormalProp$2t(a, prop, b[prop]);
89
+ if (__getOwnPropSymbols$2t)
90
+ for (var prop of __getOwnPropSymbols$2t(b)) {
91
+ if (__propIsEnum$2t.call(b, prop))
92
+ __defNormalProp$2t(a, prop, b[prop]);
93
+ }
94
+ return a;
95
+ };
96
+ const AccordionItem = (props) => /* @__PURE__ */ React.createElement(react.AccordionItem, __spreadValues$2t({}, props));
97
97
 
98
98
  const useDebounce = (value, delay) => {
99
99
  const [debouncedValue, setDebouncedValue] = React.useState(value);
@@ -438,24 +438,6 @@
438
438
  return fieldError;
439
439
  }
440
440
 
441
- var __defProp$2t = Object.defineProperty;
442
- var __getOwnPropSymbols$2t = Object.getOwnPropertySymbols;
443
- var __hasOwnProp$2t = Object.prototype.hasOwnProperty;
444
- var __propIsEnum$2t = Object.prototype.propertyIsEnumerable;
445
- var __defNormalProp$2t = (obj, key, value) => key in obj ? __defProp$2t(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
446
- var __spreadValues$2t = (a, b) => {
447
- for (var prop in b || (b = {}))
448
- if (__hasOwnProp$2t.call(b, prop))
449
- __defNormalProp$2t(a, prop, b[prop]);
450
- if (__getOwnPropSymbols$2t)
451
- for (var prop of __getOwnPropSymbols$2t(b)) {
452
- if (__propIsEnum$2t.call(b, prop))
453
- __defNormalProp$2t(a, prop, b[prop]);
454
- }
455
- return a;
456
- };
457
- const passPropsToChild = (child, styles) => React.isValidElement(child) ? React.cloneElement(child, __spreadValues$2t({}, styles)) : child;
458
-
459
441
  var __defProp$2s = Object.defineProperty;
460
442
  var __getOwnPropSymbols$2s = Object.getOwnPropertySymbols;
461
443
  var __hasOwnProp$2s = Object.prototype.hasOwnProperty;
@@ -472,9 +454,27 @@
472
454
  }
473
455
  return a;
474
456
  };
457
+ const passPropsToChild = (child, styles) => React.isValidElement(child) ? React.cloneElement(child, __spreadValues$2s({}, styles)) : child;
458
+
459
+ var __defProp$2r = Object.defineProperty;
460
+ var __getOwnPropSymbols$2r = Object.getOwnPropertySymbols;
461
+ var __hasOwnProp$2r = Object.prototype.hasOwnProperty;
462
+ var __propIsEnum$2r = Object.prototype.propertyIsEnumerable;
463
+ var __defNormalProp$2r = (obj, key, value) => key in obj ? __defProp$2r(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
464
+ var __spreadValues$2r = (a, b) => {
465
+ for (var prop in b || (b = {}))
466
+ if (__hasOwnProp$2r.call(b, prop))
467
+ __defNormalProp$2r(a, prop, b[prop]);
468
+ if (__getOwnPropSymbols$2r)
469
+ for (var prop of __getOwnPropSymbols$2r(b)) {
470
+ if (__propIsEnum$2r.call(b, prop))
471
+ __defNormalProp$2r(a, prop, b[prop]);
472
+ }
473
+ return a;
474
+ };
475
475
  const getChildrenWithProps = (children, styles, predicate = ramda.T) => {
476
476
  const childrenAsArr = React.Children.toArray(children);
477
- const childrenWithoutFocus = childrenAsArr.map((child, i) => predicate(child, i) ? passPropsToChild(child, __spreadValues$2s({}, styles)) : child);
477
+ const childrenWithoutFocus = childrenAsArr.map((child, i) => predicate(child, i) ? passPropsToChild(child, __spreadValues$2r({}, styles)) : child);
478
478
  return childrenWithoutFocus;
479
479
  };
480
480
 
@@ -548,80 +548,80 @@
548
548
  };
549
549
  };
550
550
 
551
- var __defProp$2r = Object.defineProperty;
552
- var __defProps$A = Object.defineProperties;
553
- var __getOwnPropDescs$A = Object.getOwnPropertyDescriptors;
554
- var __getOwnPropSymbols$2r = Object.getOwnPropertySymbols;
555
- var __hasOwnProp$2r = Object.prototype.hasOwnProperty;
556
- var __propIsEnum$2r = Object.prototype.propertyIsEnumerable;
557
- var __defNormalProp$2r = (obj, key, value) => key in obj ? __defProp$2r(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
558
- var __spreadValues$2r = (a, b) => {
551
+ var __defProp$2q = Object.defineProperty;
552
+ var __defProps$z = Object.defineProperties;
553
+ var __getOwnPropDescs$z = Object.getOwnPropertyDescriptors;
554
+ var __getOwnPropSymbols$2q = Object.getOwnPropertySymbols;
555
+ var __hasOwnProp$2q = Object.prototype.hasOwnProperty;
556
+ var __propIsEnum$2q = Object.prototype.propertyIsEnumerable;
557
+ var __defNormalProp$2q = (obj, key, value) => key in obj ? __defProp$2q(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
558
+ var __spreadValues$2q = (a, b) => {
559
559
  for (var prop in b || (b = {}))
560
- if (__hasOwnProp$2r.call(b, prop))
561
- __defNormalProp$2r(a, prop, b[prop]);
562
- if (__getOwnPropSymbols$2r)
563
- for (var prop of __getOwnPropSymbols$2r(b)) {
564
- if (__propIsEnum$2r.call(b, prop))
565
- __defNormalProp$2r(a, prop, b[prop]);
560
+ if (__hasOwnProp$2q.call(b, prop))
561
+ __defNormalProp$2q(a, prop, b[prop]);
562
+ if (__getOwnPropSymbols$2q)
563
+ for (var prop of __getOwnPropSymbols$2q(b)) {
564
+ if (__propIsEnum$2q.call(b, prop))
565
+ __defNormalProp$2q(a, prop, b[prop]);
566
566
  }
567
567
  return a;
568
568
  };
569
- var __spreadProps$A = (a, b) => __defProps$A(a, __getOwnPropDescs$A(b));
569
+ var __spreadProps$z = (a, b) => __defProps$z(a, __getOwnPropDescs$z(b));
570
570
  const customSelectStyles = {
571
- container: (provided) => __spreadProps$A(__spreadValues$2r({}, provided), {
571
+ container: (provided) => __spreadProps$z(__spreadValues$2q({}, provided), {
572
572
  width: "100%",
573
573
  color: "text.default"
574
574
  }),
575
- option: (provided, state) => __spreadProps$A(__spreadValues$2r({}, provided), {
575
+ option: (provided, state) => __spreadProps$z(__spreadValues$2q({}, provided), {
576
576
  background: state.isFocused && "background.select.option-focus",
577
577
  overflowWrap: "anywhere",
578
578
  _active: {
579
579
  background: "background.select.option-active"
580
580
  }
581
581
  }),
582
- valueContainer: (provided) => __spreadProps$A(__spreadValues$2r({}, provided), {
582
+ valueContainer: (provided) => __spreadProps$z(__spreadValues$2q({}, provided), {
583
583
  paddingInlineStart: "padding-inline.select.default"
584
584
  }),
585
- downChevron: (provided) => __spreadProps$A(__spreadValues$2r({}, provided), {
585
+ downChevron: (provided) => __spreadProps$z(__spreadValues$2q({}, provided), {
586
586
  color: "icon.select.default"
587
587
  }),
588
- placeholder: (provided) => __spreadProps$A(__spreadValues$2r({}, provided), {
588
+ placeholder: (provided) => __spreadProps$z(__spreadValues$2q({}, provided), {
589
589
  color: "text.select.placeholder"
590
590
  }),
591
591
  multiValue: (provided, state) => {
592
592
  var _a;
593
593
  const background = state.data.isFixed ? "background.select.option-disabled" : (_a = state.data.color) != null ? _a : provided.bgColor;
594
- return __spreadProps$A(__spreadValues$2r({}, provided), {
594
+ return __spreadProps$z(__spreadValues$2q({}, provided), {
595
595
  bgColor: background,
596
596
  color: getContrastColor(background)
597
597
  });
598
598
  },
599
- menuList: (provided) => __spreadProps$A(__spreadValues$2r({}, provided), {
599
+ menuList: (provided) => __spreadProps$z(__spreadValues$2q({}, provided), {
600
600
  bgColor: "background.default"
601
601
  })
602
602
  };
603
603
 
604
- var __defProp$2q = Object.defineProperty;
605
- var __defProps$z = Object.defineProperties;
606
- var __getOwnPropDescs$z = Object.getOwnPropertyDescriptors;
607
- var __getOwnPropSymbols$2q = Object.getOwnPropertySymbols;
608
- var __hasOwnProp$2q = Object.prototype.hasOwnProperty;
609
- var __propIsEnum$2q = Object.prototype.propertyIsEnumerable;
610
- var __defNormalProp$2q = (obj, key, value) => key in obj ? __defProp$2q(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
611
- var __spreadValues$2q = (a, b) => {
604
+ var __defProp$2p = Object.defineProperty;
605
+ var __defProps$y = Object.defineProperties;
606
+ var __getOwnPropDescs$y = Object.getOwnPropertyDescriptors;
607
+ var __getOwnPropSymbols$2p = Object.getOwnPropertySymbols;
608
+ var __hasOwnProp$2p = Object.prototype.hasOwnProperty;
609
+ var __propIsEnum$2p = Object.prototype.propertyIsEnumerable;
610
+ var __defNormalProp$2p = (obj, key, value) => key in obj ? __defProp$2p(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
611
+ var __spreadValues$2p = (a, b) => {
612
612
  for (var prop in b || (b = {}))
613
- if (__hasOwnProp$2q.call(b, prop))
614
- __defNormalProp$2q(a, prop, b[prop]);
615
- if (__getOwnPropSymbols$2q)
616
- for (var prop of __getOwnPropSymbols$2q(b)) {
617
- if (__propIsEnum$2q.call(b, prop))
618
- __defNormalProp$2q(a, prop, b[prop]);
613
+ if (__hasOwnProp$2p.call(b, prop))
614
+ __defNormalProp$2p(a, prop, b[prop]);
615
+ if (__getOwnPropSymbols$2p)
616
+ for (var prop of __getOwnPropSymbols$2p(b)) {
617
+ if (__propIsEnum$2p.call(b, prop))
618
+ __defNormalProp$2p(a, prop, b[prop]);
619
619
  }
620
620
  return a;
621
621
  };
622
- var __spreadProps$z = (a, b) => __defProps$z(a, __getOwnPropDescs$z(b));
623
- const tagsInputStyles = (isFocused, borderColor) => __spreadProps$z(__spreadValues$2q({}, customSelectStyles), {
624
- container: (provided) => __spreadProps$z(__spreadValues$2q({}, provided), {
622
+ var __spreadProps$y = (a, b) => __defProps$y(a, __getOwnPropDescs$y(b));
623
+ const tagsInputStyles = (isFocused, borderColor) => __spreadProps$y(__spreadValues$2p({}, customSelectStyles), {
624
+ container: (provided) => __spreadProps$y(__spreadValues$2p({}, provided), {
625
625
  w: "full",
626
626
  height: "100%",
627
627
  resize: "vertical",
@@ -634,12 +634,12 @@
634
634
  color: "text.default",
635
635
  boxShadow: isFocused ? `0 0 0 1px ${borderColor}` : "none"
636
636
  }),
637
- control: (provided) => __spreadProps$z(__spreadValues$2q({}, provided), {
637
+ control: (provided) => __spreadProps$y(__spreadValues$2p({}, provided), {
638
638
  minHeight: "20",
639
639
  height: "100%",
640
640
  alignItems: "start"
641
641
  }),
642
- valueContainer: (provided) => __spreadProps$z(__spreadValues$2q({}, provided), {
642
+ valueContainer: (provided) => __spreadProps$y(__spreadValues$2p({}, provided), {
643
643
  paddingInlineStart: "padding-inline.select.default",
644
644
  overflowY: "auto",
645
645
  maxH: "100%"
@@ -2045,19 +2045,19 @@
2045
2045
  })
2046
2046
  };
2047
2047
 
2048
- var __defProp$2p = Object.defineProperty;
2049
- var __getOwnPropSymbols$2p = Object.getOwnPropertySymbols;
2050
- var __hasOwnProp$2p = Object.prototype.hasOwnProperty;
2051
- var __propIsEnum$2p = Object.prototype.propertyIsEnumerable;
2052
- var __defNormalProp$2p = (obj, key, value) => key in obj ? __defProp$2p(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
2053
- var __spreadValues$2p = (a, b) => {
2048
+ var __defProp$2o = Object.defineProperty;
2049
+ var __getOwnPropSymbols$2o = Object.getOwnPropertySymbols;
2050
+ var __hasOwnProp$2o = Object.prototype.hasOwnProperty;
2051
+ var __propIsEnum$2o = Object.prototype.propertyIsEnumerable;
2052
+ var __defNormalProp$2o = (obj, key, value) => key in obj ? __defProp$2o(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
2053
+ var __spreadValues$2o = (a, b) => {
2054
2054
  for (var prop in b || (b = {}))
2055
- if (__hasOwnProp$2p.call(b, prop))
2056
- __defNormalProp$2p(a, prop, b[prop]);
2057
- if (__getOwnPropSymbols$2p)
2058
- for (var prop of __getOwnPropSymbols$2p(b)) {
2059
- if (__propIsEnum$2p.call(b, prop))
2060
- __defNormalProp$2p(a, prop, b[prop]);
2055
+ if (__hasOwnProp$2o.call(b, prop))
2056
+ __defNormalProp$2o(a, prop, b[prop]);
2057
+ if (__getOwnPropSymbols$2o)
2058
+ for (var prop of __getOwnPropSymbols$2o(b)) {
2059
+ if (__propIsEnum$2o.call(b, prop))
2060
+ __defNormalProp$2o(a, prop, b[prop]);
2061
2061
  }
2062
2062
  return a;
2063
2063
  };
@@ -2082,7 +2082,7 @@
2082
2082
  bgColor: "background.default",
2083
2083
  borderRadius: "input.outline"
2084
2084
  },
2085
- dateSelect: __spreadValues$2p({
2085
+ dateSelect: __spreadValues$2o({
2086
2086
  fontWeight: "semibold",
2087
2087
  border: "none",
2088
2088
  padding: "1",
@@ -3431,19 +3431,19 @@
3431
3431
  }
3432
3432
  };
3433
3433
 
3434
- var __defProp$2o = Object.defineProperty;
3435
- var __getOwnPropSymbols$2o = Object.getOwnPropertySymbols;
3436
- var __hasOwnProp$2o = Object.prototype.hasOwnProperty;
3437
- var __propIsEnum$2o = Object.prototype.propertyIsEnumerable;
3438
- var __defNormalProp$2o = (obj, key, value) => key in obj ? __defProp$2o(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3439
- var __spreadValues$2o = (a, b) => {
3434
+ var __defProp$2n = Object.defineProperty;
3435
+ var __getOwnPropSymbols$2n = Object.getOwnPropertySymbols;
3436
+ var __hasOwnProp$2n = Object.prototype.hasOwnProperty;
3437
+ var __propIsEnum$2n = Object.prototype.propertyIsEnumerable;
3438
+ var __defNormalProp$2n = (obj, key, value) => key in obj ? __defProp$2n(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3439
+ var __spreadValues$2n = (a, b) => {
3440
3440
  for (var prop in b || (b = {}))
3441
- if (__hasOwnProp$2o.call(b, prop))
3442
- __defNormalProp$2o(a, prop, b[prop]);
3443
- if (__getOwnPropSymbols$2o)
3444
- for (var prop of __getOwnPropSymbols$2o(b)) {
3445
- if (__propIsEnum$2o.call(b, prop))
3446
- __defNormalProp$2o(a, prop, b[prop]);
3441
+ if (__hasOwnProp$2n.call(b, prop))
3442
+ __defNormalProp$2n(a, prop, b[prop]);
3443
+ if (__getOwnPropSymbols$2n)
3444
+ for (var prop of __getOwnPropSymbols$2n(b)) {
3445
+ if (__propIsEnum$2n.call(b, prop))
3446
+ __defNormalProp$2n(a, prop, b[prop]);
3447
3447
  }
3448
3448
  return a;
3449
3449
  };
@@ -3499,7 +3499,7 @@
3499
3499
  const FilePicker$1 = {
3500
3500
  parts: ["filePicker", "fileItem", "multiFilePicker"],
3501
3501
  baseStyle: ({ theme: { sizes, colors }, hasLoaded, isImage, isInvalid, currentTheme, sx }) => ({
3502
- filePicker: ramda.merge(__spreadValues$2o(__spreadValues$2o({
3502
+ filePicker: ramda.merge(__spreadValues$2n(__spreadValues$2n({
3503
3503
  display: "flex",
3504
3504
  flexDirection: "column",
3505
3505
  alignItems: "center",
@@ -3512,7 +3512,7 @@
3512
3512
  borderStyle: "dashed",
3513
3513
  borderRadius: "lg"
3514
3514
  }, getInvalidColorStyles(isInvalid, isImage, currentTheme)), thickRing), sx),
3515
- multiFilePicker: __spreadValues$2o(__spreadValues$2o({
3515
+ multiFilePicker: __spreadValues$2n(__spreadValues$2n({
3516
3516
  width: "full",
3517
3517
  maxWidth: "inherit",
3518
3518
  height: "32",
@@ -3537,8 +3537,8 @@
3537
3537
  }),
3538
3538
  variants: {
3539
3539
  ai: ({ isInvalid }) => ({
3540
- filePicker: __spreadValues$2o({}, getAiColorStyles(isInvalid)),
3541
- multiFilePicker: __spreadValues$2o({}, getAiColorStyles(isInvalid))
3540
+ filePicker: __spreadValues$2n({}, getAiColorStyles(isInvalid)),
3541
+ multiFilePicker: __spreadValues$2n({}, getAiColorStyles(isInvalid))
3542
3542
  })
3543
3543
  }
3544
3544
  };
@@ -3804,39 +3804,6 @@
3804
3804
  Tooltip: Tooltip$1
3805
3805
  });
3806
3806
 
3807
- var __defProp$2n = Object.defineProperty;
3808
- var __defProps$y = Object.defineProperties;
3809
- var __getOwnPropDescs$y = Object.getOwnPropertyDescriptors;
3810
- var __getOwnPropSymbols$2n = Object.getOwnPropertySymbols;
3811
- var __hasOwnProp$2n = Object.prototype.hasOwnProperty;
3812
- var __propIsEnum$2n = Object.prototype.propertyIsEnumerable;
3813
- var __defNormalProp$2n = (obj, key, value) => key in obj ? __defProp$2n(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3814
- var __spreadValues$2n = (a, b) => {
3815
- for (var prop in b || (b = {}))
3816
- if (__hasOwnProp$2n.call(b, prop))
3817
- __defNormalProp$2n(a, prop, b[prop]);
3818
- if (__getOwnPropSymbols$2n)
3819
- for (var prop of __getOwnPropSymbols$2n(b)) {
3820
- if (__propIsEnum$2n.call(b, prop))
3821
- __defNormalProp$2n(a, prop, b[prop]);
3822
- }
3823
- return a;
3824
- };
3825
- var __spreadProps$y = (a, b) => __defProps$y(a, __getOwnPropDescs$y(b));
3826
- const WebappSkin = {
3827
- colors: __spreadProps$y(__spreadValues$2n(__spreadValues$2n({}, tokens.WebappSystemTokensSet.st.color), tokens.WebappComponentsTokensSet.color), {
3828
- text: __spreadValues$2n(__spreadValues$2n({}, tokens.WebappSystemTokensSet.st.color.text), tokens.WebappComponentsTokensSet.color.text),
3829
- border: __spreadValues$2n(__spreadValues$2n({}, tokens.WebappSystemTokensSet.st.color.border), tokens.WebappComponentsTokensSet.color.border)
3830
- }),
3831
- sizes: tokens.WebappComponentsTokensSet.sizing,
3832
- space: tokens.WebappComponentsTokensSet.spacing,
3833
- radii: __spreadValues$2n(__spreadValues$2n({}, tokens.WebappSystemTokensSet.st.borderRadius), tokens.WebappComponentsTokensSet.borderRadius),
3834
- borders: __spreadValues$2n(__spreadValues$2n({}, tokens.WebappSystemTokensSet.st.borderWidth), tokens.WebappComponentsTokensSet.borderWidth),
3835
- opacity: tokens.WebappComponentsTokensSet.opacity,
3836
- typography: tokens.typography,
3837
- shadows: __spreadValues$2n({}, tokens.WebappSystemTokensSet.st.boxShadow)
3838
- };
3839
-
3840
3807
  var __defProp$2m = Object.defineProperty;
3841
3808
  var __defProps$x = Object.defineProperties;
3842
3809
  var __getOwnPropDescs$x = Object.getOwnPropertyDescriptors;
@@ -3856,17 +3823,18 @@
3856
3823
  return a;
3857
3824
  };
3858
3825
  var __spreadProps$x = (a, b) => __defProps$x(a, __getOwnPropDescs$x(b));
3859
- const TottSkin = {
3860
- colors: __spreadProps$x(__spreadValues$2m(__spreadValues$2m({}, tokens.TottSystemTokensSet.st.color), tokens.TottComponentsTokensSet.color), {
3861
- border: __spreadValues$2m(__spreadValues$2m({}, tokens.TottSystemTokensSet.st.color.border), tokens.TottComponentsTokensSet.color.border)
3826
+ const WebappSkin = {
3827
+ colors: __spreadProps$x(__spreadValues$2m(__spreadValues$2m({}, tokens.WebappSystemTokensSet.st.color), tokens.WebappComponentsTokensSet.color), {
3828
+ text: __spreadValues$2m(__spreadValues$2m({}, tokens.WebappSystemTokensSet.st.color.text), tokens.WebappComponentsTokensSet.color.text),
3829
+ border: __spreadValues$2m(__spreadValues$2m({}, tokens.WebappSystemTokensSet.st.color.border), tokens.WebappComponentsTokensSet.color.border)
3862
3830
  }),
3863
- sizes: tokens.TottComponentsTokensSet.sizing,
3864
- space: tokens.TottComponentsTokensSet.spacing,
3865
- radii: __spreadValues$2m(__spreadValues$2m({}, tokens.TottSystemTokensSet.st.borderRadius), tokens.TottComponentsTokensSet.borderRadius),
3866
- borders: __spreadValues$2m(__spreadValues$2m({}, tokens.TottSystemTokensSet.st.borderWidth), tokens.TottComponentsTokensSet.borderWidth),
3867
- opacity: tokens.TottComponentsTokensSet.opacity,
3831
+ sizes: tokens.WebappComponentsTokensSet.sizing,
3832
+ space: tokens.WebappComponentsTokensSet.spacing,
3833
+ radii: __spreadValues$2m(__spreadValues$2m({}, tokens.WebappSystemTokensSet.st.borderRadius), tokens.WebappComponentsTokensSet.borderRadius),
3834
+ borders: __spreadValues$2m(__spreadValues$2m({}, tokens.WebappSystemTokensSet.st.borderWidth), tokens.WebappComponentsTokensSet.borderWidth),
3835
+ opacity: tokens.WebappComponentsTokensSet.opacity,
3868
3836
  typography: tokens.typography,
3869
- shadows: __spreadValues$2m({}, tokens.TottSystemTokensSet.st.boxShadow)
3837
+ shadows: __spreadValues$2m({}, tokens.WebappSystemTokensSet.st.boxShadow)
3870
3838
  };
3871
3839
 
3872
3840
  var __defProp$2l = Object.defineProperty;
@@ -3888,21 +3856,22 @@
3888
3856
  return a;
3889
3857
  };
3890
3858
  var __spreadProps$w = (a, b) => __defProps$w(a, __getOwnPropDescs$w(b));
3891
- const CamphouseLightSkin = {
3892
- colors: __spreadProps$w(__spreadValues$2l(__spreadValues$2l({}, tokens.CamphouseLightSystemTokensSet.st.color), tokens.CamphouseLightComponentsTokensSet.color), {
3893
- text: __spreadValues$2l(__spreadValues$2l({}, tokens.CamphouseLightSystemTokensSet.st.color.text), tokens.CamphouseLightComponentsTokensSet.color.text),
3894
- border: __spreadValues$2l(__spreadValues$2l({}, tokens.CamphouseLightSystemTokensSet.st.color.border), tokens.CamphouseLightComponentsTokensSet.color.border)
3859
+ const TottSkin = {
3860
+ colors: __spreadProps$w(__spreadValues$2l(__spreadValues$2l({}, tokens.TottSystemTokensSet.st.color), tokens.TottComponentsTokensSet.color), {
3861
+ border: __spreadValues$2l(__spreadValues$2l({}, tokens.TottSystemTokensSet.st.color.border), tokens.TottComponentsTokensSet.color.border)
3895
3862
  }),
3896
- sizes: tokens.CamphouseLightComponentsTokensSet.sizing,
3897
- space: tokens.CamphouseLightComponentsTokensSet.spacing,
3898
- radii: __spreadValues$2l(__spreadValues$2l({}, tokens.CamphouseLightSystemTokensSet.st.borderRadius), tokens.CamphouseLightComponentsTokensSet.borderRadius),
3899
- borders: __spreadValues$2l(__spreadValues$2l({}, tokens.CamphouseLightSystemTokensSet.st.borderWidth), tokens.CamphouseLightComponentsTokensSet.borderWidth),
3900
- opacity: tokens.CamphouseLightComponentsTokensSet.opacity,
3863
+ sizes: tokens.TottComponentsTokensSet.sizing,
3864
+ space: tokens.TottComponentsTokensSet.spacing,
3865
+ radii: __spreadValues$2l(__spreadValues$2l({}, tokens.TottSystemTokensSet.st.borderRadius), tokens.TottComponentsTokensSet.borderRadius),
3866
+ borders: __spreadValues$2l(__spreadValues$2l({}, tokens.TottSystemTokensSet.st.borderWidth), tokens.TottComponentsTokensSet.borderWidth),
3867
+ opacity: tokens.TottComponentsTokensSet.opacity,
3901
3868
  typography: tokens.typography,
3902
- shadows: __spreadValues$2l({}, tokens.CamphouseLightSystemTokensSet.st.boxShadow)
3869
+ shadows: __spreadValues$2l({}, tokens.TottSystemTokensSet.st.boxShadow)
3903
3870
  };
3904
3871
 
3905
3872
  var __defProp$2k = Object.defineProperty;
3873
+ var __defProps$v = Object.defineProperties;
3874
+ var __getOwnPropDescs$v = Object.getOwnPropertyDescriptors;
3906
3875
  var __getOwnPropSymbols$2k = Object.getOwnPropertySymbols;
3907
3876
  var __hasOwnProp$2k = Object.prototype.hasOwnProperty;
3908
3877
  var __propIsEnum$2k = Object.prototype.propertyIsEnumerable;
@@ -3918,6 +3887,37 @@
3918
3887
  }
3919
3888
  return a;
3920
3889
  };
3890
+ var __spreadProps$v = (a, b) => __defProps$v(a, __getOwnPropDescs$v(b));
3891
+ const CamphouseLightSkin = {
3892
+ colors: __spreadProps$v(__spreadValues$2k(__spreadValues$2k({}, tokens.CamphouseLightSystemTokensSet.st.color), tokens.CamphouseLightComponentsTokensSet.color), {
3893
+ text: __spreadValues$2k(__spreadValues$2k({}, tokens.CamphouseLightSystemTokensSet.st.color.text), tokens.CamphouseLightComponentsTokensSet.color.text),
3894
+ border: __spreadValues$2k(__spreadValues$2k({}, tokens.CamphouseLightSystemTokensSet.st.color.border), tokens.CamphouseLightComponentsTokensSet.color.border)
3895
+ }),
3896
+ sizes: tokens.CamphouseLightComponentsTokensSet.sizing,
3897
+ space: tokens.CamphouseLightComponentsTokensSet.spacing,
3898
+ radii: __spreadValues$2k(__spreadValues$2k({}, tokens.CamphouseLightSystemTokensSet.st.borderRadius), tokens.CamphouseLightComponentsTokensSet.borderRadius),
3899
+ borders: __spreadValues$2k(__spreadValues$2k({}, tokens.CamphouseLightSystemTokensSet.st.borderWidth), tokens.CamphouseLightComponentsTokensSet.borderWidth),
3900
+ opacity: tokens.CamphouseLightComponentsTokensSet.opacity,
3901
+ typography: tokens.typography,
3902
+ shadows: __spreadValues$2k({}, tokens.CamphouseLightSystemTokensSet.st.boxShadow)
3903
+ };
3904
+
3905
+ var __defProp$2j = Object.defineProperty;
3906
+ var __getOwnPropSymbols$2j = Object.getOwnPropertySymbols;
3907
+ var __hasOwnProp$2j = Object.prototype.hasOwnProperty;
3908
+ var __propIsEnum$2j = Object.prototype.propertyIsEnumerable;
3909
+ var __defNormalProp$2j = (obj, key, value) => key in obj ? __defProp$2j(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3910
+ var __spreadValues$2j = (a, b) => {
3911
+ for (var prop in b || (b = {}))
3912
+ if (__hasOwnProp$2j.call(b, prop))
3913
+ __defNormalProp$2j(a, prop, b[prop]);
3914
+ if (__getOwnPropSymbols$2j)
3915
+ for (var prop of __getOwnPropSymbols$2j(b)) {
3916
+ if (__propIsEnum$2j.call(b, prop))
3917
+ __defNormalProp$2j(a, prop, b[prop]);
3918
+ }
3919
+ return a;
3920
+ };
3921
3921
  const overrides = {
3922
3922
  config: {
3923
3923
  cssVarPrefix: ""
@@ -3931,7 +3931,7 @@
3931
3931
  }
3932
3932
  },
3933
3933
  styles: {
3934
- global: __spreadValues$2k({
3934
+ global: __spreadValues$2j({
3935
3935
  html: {
3936
3936
  scrollBehavior: "smooth"
3937
3937
  },
@@ -3947,7 +3947,7 @@
3947
3947
  heading: "Inter, sans-serif",
3948
3948
  body: "Inter, sans-serif"
3949
3949
  },
3950
- components: __spreadValues$2k({}, components),
3950
+ components: __spreadValues$2j({}, components),
3951
3951
  colors: tokens.palette,
3952
3952
  zIndices: tokens.coreZIndex,
3953
3953
  sizes: tokens.coreSizing,
@@ -3963,33 +3963,33 @@
3963
3963
  const tottTheme = react.extendTheme(overrides, TottSkin);
3964
3964
  const camphouseLightTheme = react.extendTheme(overrides, CamphouseLightSkin);
3965
3965
 
3966
- var __defProp$2j = Object.defineProperty;
3967
- var __defProps$v = Object.defineProperties;
3968
- var __getOwnPropDescs$v = Object.getOwnPropertyDescriptors;
3969
- var __getOwnPropSymbols$2j = Object.getOwnPropertySymbols;
3970
- var __hasOwnProp$2j = Object.prototype.hasOwnProperty;
3971
- var __propIsEnum$2j = Object.prototype.propertyIsEnumerable;
3972
- var __defNormalProp$2j = (obj, key, value) => key in obj ? __defProp$2j(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3973
- var __spreadValues$2j = (a, b) => {
3966
+ var __defProp$2i = Object.defineProperty;
3967
+ var __defProps$u = Object.defineProperties;
3968
+ var __getOwnPropDescs$u = Object.getOwnPropertyDescriptors;
3969
+ var __getOwnPropSymbols$2i = Object.getOwnPropertySymbols;
3970
+ var __hasOwnProp$2i = Object.prototype.hasOwnProperty;
3971
+ var __propIsEnum$2i = Object.prototype.propertyIsEnumerable;
3972
+ var __defNormalProp$2i = (obj, key, value) => key in obj ? __defProp$2i(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3973
+ var __spreadValues$2i = (a, b) => {
3974
3974
  for (var prop in b || (b = {}))
3975
- if (__hasOwnProp$2j.call(b, prop))
3976
- __defNormalProp$2j(a, prop, b[prop]);
3977
- if (__getOwnPropSymbols$2j)
3978
- for (var prop of __getOwnPropSymbols$2j(b)) {
3979
- if (__propIsEnum$2j.call(b, prop))
3980
- __defNormalProp$2j(a, prop, b[prop]);
3975
+ if (__hasOwnProp$2i.call(b, prop))
3976
+ __defNormalProp$2i(a, prop, b[prop]);
3977
+ if (__getOwnPropSymbols$2i)
3978
+ for (var prop of __getOwnPropSymbols$2i(b)) {
3979
+ if (__propIsEnum$2i.call(b, prop))
3980
+ __defNormalProp$2i(a, prop, b[prop]);
3981
3981
  }
3982
3982
  return a;
3983
3983
  };
3984
- var __spreadProps$v = (a, b) => __defProps$v(a, __getOwnPropDescs$v(b));
3985
- var __objRest$1V = (source, exclude) => {
3984
+ var __spreadProps$u = (a, b) => __defProps$u(a, __getOwnPropDescs$u(b));
3985
+ var __objRest$1X = (source, exclude) => {
3986
3986
  var target = {};
3987
3987
  for (var prop in source)
3988
- if (__hasOwnProp$2j.call(source, prop) && exclude.indexOf(prop) < 0)
3988
+ if (__hasOwnProp$2i.call(source, prop) && exclude.indexOf(prop) < 0)
3989
3989
  target[prop] = source[prop];
3990
- if (source != null && __getOwnPropSymbols$2j)
3991
- for (var prop of __getOwnPropSymbols$2j(source)) {
3992
- if (exclude.indexOf(prop) < 0 && __propIsEnum$2j.call(source, prop))
3990
+ if (source != null && __getOwnPropSymbols$2i)
3991
+ for (var prop of __getOwnPropSymbols$2i(source)) {
3992
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$2i.call(source, prop))
3993
3993
  target[prop] = source[prop];
3994
3994
  }
3995
3995
  return target;
@@ -4003,7 +4003,7 @@
4003
4003
  "data-testid": testId,
4004
4004
  value = [],
4005
4005
  onError
4006
- } = _b, rest = __objRest$1V(_b, [
4006
+ } = _b, rest = __objRest$1X(_b, [
4007
4007
  "options",
4008
4008
  "onChange",
4009
4009
  "isLoading",
@@ -4063,7 +4063,7 @@
4063
4063
  };
4064
4064
  return /* @__PURE__ */ React.createElement(react.Box, { w: "full", "data-testid": testId }, /* @__PURE__ */ React.createElement(
4065
4065
  CustomSelect,
4066
- __spreadValues$2j(__spreadProps$v(__spreadValues$2j({
4066
+ __spreadValues$2i(__spreadProps$u(__spreadValues$2i({
4067
4067
  isMulti: true,
4068
4068
  menuPortalTarget: document.body,
4069
4069
  placeholder: "Type something and press Enter or comma...",
@@ -4091,36 +4091,36 @@
4091
4091
  components: {
4092
4092
  DropdownIndicator: () => null
4093
4093
  },
4094
- styles: { menuPortal: (base) => __spreadProps$v(__spreadValues$2j({}, base), { zIndex: theme.zIndices.popover }) },
4094
+ styles: { menuPortal: (base) => __spreadProps$u(__spreadValues$2i({}, base), { zIndex: theme.zIndices.popover }) },
4095
4095
  formatCreateLabel: (textInputValue) => `Add tag "${textInputValue}"`
4096
4096
  }), rest)
4097
4097
  ));
4098
4098
  }
4099
4099
 
4100
- var __defProp$2i = Object.defineProperty;
4101
- var __getOwnPropSymbols$2i = Object.getOwnPropertySymbols;
4102
- var __hasOwnProp$2i = Object.prototype.hasOwnProperty;
4103
- var __propIsEnum$2i = Object.prototype.propertyIsEnumerable;
4104
- var __defNormalProp$2i = (obj, key, value) => key in obj ? __defProp$2i(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4105
- var __spreadValues$2i = (a, b) => {
4100
+ var __defProp$2h = Object.defineProperty;
4101
+ var __getOwnPropSymbols$2h = Object.getOwnPropertySymbols;
4102
+ var __hasOwnProp$2h = Object.prototype.hasOwnProperty;
4103
+ var __propIsEnum$2h = Object.prototype.propertyIsEnumerable;
4104
+ var __defNormalProp$2h = (obj, key, value) => key in obj ? __defProp$2h(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4105
+ var __spreadValues$2h = (a, b) => {
4106
4106
  for (var prop in b || (b = {}))
4107
- if (__hasOwnProp$2i.call(b, prop))
4108
- __defNormalProp$2i(a, prop, b[prop]);
4109
- if (__getOwnPropSymbols$2i)
4110
- for (var prop of __getOwnPropSymbols$2i(b)) {
4111
- if (__propIsEnum$2i.call(b, prop))
4112
- __defNormalProp$2i(a, prop, b[prop]);
4107
+ if (__hasOwnProp$2h.call(b, prop))
4108
+ __defNormalProp$2h(a, prop, b[prop]);
4109
+ if (__getOwnPropSymbols$2h)
4110
+ for (var prop of __getOwnPropSymbols$2h(b)) {
4111
+ if (__propIsEnum$2h.call(b, prop))
4112
+ __defNormalProp$2h(a, prop, b[prop]);
4113
4113
  }
4114
4114
  return a;
4115
4115
  };
4116
- var __objRest$1U = (source, exclude) => {
4116
+ var __objRest$1W = (source, exclude) => {
4117
4117
  var target = {};
4118
4118
  for (var prop in source)
4119
- if (__hasOwnProp$2i.call(source, prop) && exclude.indexOf(prop) < 0)
4119
+ if (__hasOwnProp$2h.call(source, prop) && exclude.indexOf(prop) < 0)
4120
4120
  target[prop] = source[prop];
4121
- if (source != null && __getOwnPropSymbols$2i)
4122
- for (var prop of __getOwnPropSymbols$2i(source)) {
4123
- if (exclude.indexOf(prop) < 0 && __propIsEnum$2i.call(source, prop))
4121
+ if (source != null && __getOwnPropSymbols$2h)
4122
+ for (var prop of __getOwnPropSymbols$2h(source)) {
4123
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$2h.call(source, prop))
4124
4124
  target[prop] = source[prop];
4125
4125
  }
4126
4126
  return target;
@@ -4130,7 +4130,7 @@
4130
4130
  name,
4131
4131
  image,
4132
4132
  variant = "square"
4133
- } = _b, rest = __objRest$1U(_b, [
4133
+ } = _b, rest = __objRest$1W(_b, [
4134
4134
  "name",
4135
4135
  "image",
4136
4136
  "variant"
@@ -4139,10 +4139,10 @@
4139
4139
  const {
4140
4140
  container,
4141
4141
  text
4142
- } = react.useMultiStyleConfig("Avatar", __spreadValues$2i({ variant, image }, rest));
4142
+ } = react.useMultiStyleConfig("Avatar", __spreadValues$2h({ variant, image }, rest));
4143
4143
  return /* @__PURE__ */ React.createElement(
4144
4144
  react.chakra.div,
4145
- __spreadValues$2i({
4145
+ __spreadValues$2h({
4146
4146
  __css: container,
4147
4147
  "data-testid": "organization-logo-test-id"
4148
4148
  }, rest),
@@ -4156,30 +4156,30 @@
4156
4156
  );
4157
4157
  };
4158
4158
 
4159
- var __defProp$2h = Object.defineProperty;
4160
- var __getOwnPropSymbols$2h = Object.getOwnPropertySymbols;
4161
- var __hasOwnProp$2h = Object.prototype.hasOwnProperty;
4162
- var __propIsEnum$2h = Object.prototype.propertyIsEnumerable;
4163
- var __defNormalProp$2h = (obj, key, value) => key in obj ? __defProp$2h(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4164
- var __spreadValues$2h = (a, b) => {
4159
+ var __defProp$2g = Object.defineProperty;
4160
+ var __getOwnPropSymbols$2g = Object.getOwnPropertySymbols;
4161
+ var __hasOwnProp$2g = Object.prototype.hasOwnProperty;
4162
+ var __propIsEnum$2g = Object.prototype.propertyIsEnumerable;
4163
+ var __defNormalProp$2g = (obj, key, value) => key in obj ? __defProp$2g(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4164
+ var __spreadValues$2g = (a, b) => {
4165
4165
  for (var prop in b || (b = {}))
4166
- if (__hasOwnProp$2h.call(b, prop))
4167
- __defNormalProp$2h(a, prop, b[prop]);
4168
- if (__getOwnPropSymbols$2h)
4169
- for (var prop of __getOwnPropSymbols$2h(b)) {
4170
- if (__propIsEnum$2h.call(b, prop))
4171
- __defNormalProp$2h(a, prop, b[prop]);
4166
+ if (__hasOwnProp$2g.call(b, prop))
4167
+ __defNormalProp$2g(a, prop, b[prop]);
4168
+ if (__getOwnPropSymbols$2g)
4169
+ for (var prop of __getOwnPropSymbols$2g(b)) {
4170
+ if (__propIsEnum$2g.call(b, prop))
4171
+ __defNormalProp$2g(a, prop, b[prop]);
4172
4172
  }
4173
4173
  return a;
4174
4174
  };
4175
- var __objRest$1T = (source, exclude) => {
4175
+ var __objRest$1V = (source, exclude) => {
4176
4176
  var target = {};
4177
4177
  for (var prop in source)
4178
- if (__hasOwnProp$2h.call(source, prop) && exclude.indexOf(prop) < 0)
4178
+ if (__hasOwnProp$2g.call(source, prop) && exclude.indexOf(prop) < 0)
4179
4179
  target[prop] = source[prop];
4180
- if (source != null && __getOwnPropSymbols$2h)
4181
- for (var prop of __getOwnPropSymbols$2h(source)) {
4182
- if (exclude.indexOf(prop) < 0 && __propIsEnum$2h.call(source, prop))
4180
+ if (source != null && __getOwnPropSymbols$2g)
4181
+ for (var prop of __getOwnPropSymbols$2g(source)) {
4182
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$2g.call(source, prop))
4183
4183
  target[prop] = source[prop];
4184
4184
  }
4185
4185
  return target;
@@ -4188,30 +4188,12 @@
4188
4188
  var _b = _a, {
4189
4189
  variant = "success",
4190
4190
  children
4191
- } = _b, rest = __objRest$1T(_b, [
4191
+ } = _b, rest = __objRest$1V(_b, [
4192
4192
  "variant",
4193
4193
  "children"
4194
4194
  ]);
4195
- return /* @__PURE__ */ React.createElement(react.Alert, __spreadValues$2h({ variant }, rest), children);
4196
- };
4197
-
4198
- var __defProp$2g = Object.defineProperty;
4199
- var __getOwnPropSymbols$2g = Object.getOwnPropertySymbols;
4200
- var __hasOwnProp$2g = Object.prototype.hasOwnProperty;
4201
- var __propIsEnum$2g = Object.prototype.propertyIsEnumerable;
4202
- var __defNormalProp$2g = (obj, key, value) => key in obj ? __defProp$2g(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4203
- var __spreadValues$2g = (a, b) => {
4204
- for (var prop in b || (b = {}))
4205
- if (__hasOwnProp$2g.call(b, prop))
4206
- __defNormalProp$2g(a, prop, b[prop]);
4207
- if (__getOwnPropSymbols$2g)
4208
- for (var prop of __getOwnPropSymbols$2g(b)) {
4209
- if (__propIsEnum$2g.call(b, prop))
4210
- __defNormalProp$2g(a, prop, b[prop]);
4211
- }
4212
- return a;
4195
+ return /* @__PURE__ */ React.createElement(react.Alert, __spreadValues$2g({ variant }, rest), children);
4213
4196
  };
4214
- const AspectRatio = (props) => /* @__PURE__ */ React.createElement(react.AspectRatio, __spreadValues$2g({}, props));
4215
4197
 
4216
4198
  var __defProp$2f = Object.defineProperty;
4217
4199
  var __getOwnPropSymbols$2f = Object.getOwnPropertySymbols;
@@ -4229,14 +4211,32 @@
4229
4211
  }
4230
4212
  return a;
4231
4213
  };
4232
- var __objRest$1S = (source, exclude) => {
4214
+ const AspectRatio = (props) => /* @__PURE__ */ React.createElement(react.AspectRatio, __spreadValues$2f({}, props));
4215
+
4216
+ var __defProp$2e = Object.defineProperty;
4217
+ var __getOwnPropSymbols$2e = Object.getOwnPropertySymbols;
4218
+ var __hasOwnProp$2e = Object.prototype.hasOwnProperty;
4219
+ var __propIsEnum$2e = Object.prototype.propertyIsEnumerable;
4220
+ var __defNormalProp$2e = (obj, key, value) => key in obj ? __defProp$2e(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4221
+ var __spreadValues$2e = (a, b) => {
4222
+ for (var prop in b || (b = {}))
4223
+ if (__hasOwnProp$2e.call(b, prop))
4224
+ __defNormalProp$2e(a, prop, b[prop]);
4225
+ if (__getOwnPropSymbols$2e)
4226
+ for (var prop of __getOwnPropSymbols$2e(b)) {
4227
+ if (__propIsEnum$2e.call(b, prop))
4228
+ __defNormalProp$2e(a, prop, b[prop]);
4229
+ }
4230
+ return a;
4231
+ };
4232
+ var __objRest$1U = (source, exclude) => {
4233
4233
  var target = {};
4234
4234
  for (var prop in source)
4235
- if (__hasOwnProp$2f.call(source, prop) && exclude.indexOf(prop) < 0)
4235
+ if (__hasOwnProp$2e.call(source, prop) && exclude.indexOf(prop) < 0)
4236
4236
  target[prop] = source[prop];
4237
- if (source != null && __getOwnPropSymbols$2f)
4238
- for (var prop of __getOwnPropSymbols$2f(source)) {
4239
- if (exclude.indexOf(prop) < 0 && __propIsEnum$2f.call(source, prop))
4237
+ if (source != null && __getOwnPropSymbols$2e)
4238
+ for (var prop of __getOwnPropSymbols$2e(source)) {
4239
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$2e.call(source, prop))
4240
4240
  target[prop] = source[prop];
4241
4241
  }
4242
4242
  return target;
@@ -4247,7 +4247,7 @@
4247
4247
  size,
4248
4248
  color,
4249
4249
  boxSize
4250
- } = _b, rest = __objRest$1S(_b, [
4250
+ } = _b, rest = __objRest$1U(_b, [
4251
4251
  "as",
4252
4252
  "size",
4253
4253
  "color",
@@ -4257,7 +4257,7 @@
4257
4257
  const styles = react.useStyleConfig("Icon", { size, color, boxSize });
4258
4258
  return /* @__PURE__ */ React.createElement(
4259
4259
  react.Icon,
4260
- __spreadValues$2f({
4260
+ __spreadValues$2e({
4261
4261
  ref,
4262
4262
  sx: styles
4263
4263
  }, rest),
@@ -4272,30 +4272,30 @@
4272
4272
  return /* @__PURE__ */ React.createElement(react.chakra.span, { sx: badge }, notificationCount > 999 ? "999+" : notificationCount);
4273
4273
  };
4274
4274
 
4275
- var __defProp$2e = Object.defineProperty;
4276
- var __getOwnPropSymbols$2e = Object.getOwnPropertySymbols;
4277
- var __hasOwnProp$2e = Object.prototype.hasOwnProperty;
4278
- var __propIsEnum$2e = Object.prototype.propertyIsEnumerable;
4279
- var __defNormalProp$2e = (obj, key, value) => key in obj ? __defProp$2e(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4280
- var __spreadValues$2e = (a, b) => {
4275
+ var __defProp$2d = Object.defineProperty;
4276
+ var __getOwnPropSymbols$2d = Object.getOwnPropertySymbols;
4277
+ var __hasOwnProp$2d = Object.prototype.hasOwnProperty;
4278
+ var __propIsEnum$2d = Object.prototype.propertyIsEnumerable;
4279
+ var __defNormalProp$2d = (obj, key, value) => key in obj ? __defProp$2d(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4280
+ var __spreadValues$2d = (a, b) => {
4281
4281
  for (var prop in b || (b = {}))
4282
- if (__hasOwnProp$2e.call(b, prop))
4283
- __defNormalProp$2e(a, prop, b[prop]);
4284
- if (__getOwnPropSymbols$2e)
4285
- for (var prop of __getOwnPropSymbols$2e(b)) {
4286
- if (__propIsEnum$2e.call(b, prop))
4287
- __defNormalProp$2e(a, prop, b[prop]);
4282
+ if (__hasOwnProp$2d.call(b, prop))
4283
+ __defNormalProp$2d(a, prop, b[prop]);
4284
+ if (__getOwnPropSymbols$2d)
4285
+ for (var prop of __getOwnPropSymbols$2d(b)) {
4286
+ if (__propIsEnum$2d.call(b, prop))
4287
+ __defNormalProp$2d(a, prop, b[prop]);
4288
4288
  }
4289
4289
  return a;
4290
4290
  };
4291
- var __objRest$1R = (source, exclude) => {
4291
+ var __objRest$1T = (source, exclude) => {
4292
4292
  var target = {};
4293
4293
  for (var prop in source)
4294
- if (__hasOwnProp$2e.call(source, prop) && exclude.indexOf(prop) < 0)
4294
+ if (__hasOwnProp$2d.call(source, prop) && exclude.indexOf(prop) < 0)
4295
4295
  target[prop] = source[prop];
4296
- if (source != null && __getOwnPropSymbols$2e)
4297
- for (var prop of __getOwnPropSymbols$2e(source)) {
4298
- if (exclude.indexOf(prop) < 0 && __propIsEnum$2e.call(source, prop))
4296
+ if (source != null && __getOwnPropSymbols$2d)
4297
+ for (var prop of __getOwnPropSymbols$2d(source)) {
4298
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$2d.call(source, prop))
4299
4299
  target[prop] = source[prop];
4300
4300
  }
4301
4301
  return target;
@@ -4308,7 +4308,7 @@
4308
4308
  image,
4309
4309
  size,
4310
4310
  bgColor
4311
- } = _b, rest = __objRest$1R(_b, [
4311
+ } = _b, rest = __objRest$1T(_b, [
4312
4312
  "variant",
4313
4313
  "notificationCount",
4314
4314
  "name",
@@ -4323,7 +4323,7 @@
4323
4323
  name,
4324
4324
  bgColor
4325
4325
  });
4326
- return /* @__PURE__ */ React.createElement(react.Box, __spreadValues$2e({ __css: container, "data-testid": "avatar-test-id" }, rest), image ? /* @__PURE__ */ React.createElement(
4326
+ return /* @__PURE__ */ React.createElement(react.Box, __spreadValues$2d({ __css: container, "data-testid": "avatar-test-id" }, rest), image ? /* @__PURE__ */ React.createElement(
4327
4327
  react.chakra.img,
4328
4328
  {
4329
4329
  alt: name,
@@ -4340,54 +4340,6 @@
4340
4340
  ), notificationCount > 0 && /* @__PURE__ */ React.createElement(AvatarBadge, { notificationCount }));
4341
4341
  };
4342
4342
 
4343
- var __defProp$2d = Object.defineProperty;
4344
- var __getOwnPropSymbols$2d = Object.getOwnPropertySymbols;
4345
- var __hasOwnProp$2d = Object.prototype.hasOwnProperty;
4346
- var __propIsEnum$2d = Object.prototype.propertyIsEnumerable;
4347
- var __defNormalProp$2d = (obj, key, value) => key in obj ? __defProp$2d(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4348
- var __spreadValues$2d = (a, b) => {
4349
- for (var prop in b || (b = {}))
4350
- if (__hasOwnProp$2d.call(b, prop))
4351
- __defNormalProp$2d(a, prop, b[prop]);
4352
- if (__getOwnPropSymbols$2d)
4353
- for (var prop of __getOwnPropSymbols$2d(b)) {
4354
- if (__propIsEnum$2d.call(b, prop))
4355
- __defNormalProp$2d(a, prop, b[prop]);
4356
- }
4357
- return a;
4358
- };
4359
- var __objRest$1Q = (source, exclude) => {
4360
- var target = {};
4361
- for (var prop in source)
4362
- if (__hasOwnProp$2d.call(source, prop) && exclude.indexOf(prop) < 0)
4363
- target[prop] = source[prop];
4364
- if (source != null && __getOwnPropSymbols$2d)
4365
- for (var prop of __getOwnPropSymbols$2d(source)) {
4366
- if (exclude.indexOf(prop) < 0 && __propIsEnum$2d.call(source, prop))
4367
- target[prop] = source[prop];
4368
- }
4369
- return target;
4370
- };
4371
- const H1 = React.forwardRef((_a, ref) => {
4372
- var _b = _a, {
4373
- children,
4374
- sx = {}
4375
- } = _b, rest = __objRest$1Q(_b, [
4376
- "children",
4377
- "sx"
4378
- ]);
4379
- const styles = react.useStyleConfig("H1", { sx });
4380
- return /* @__PURE__ */ React.createElement(
4381
- react.Heading,
4382
- __spreadValues$2d({
4383
- as: "h1",
4384
- sx: styles,
4385
- ref
4386
- }, rest),
4387
- children
4388
- );
4389
- });
4390
-
4391
4343
  var __defProp$2c = Object.defineProperty;
4392
4344
  var __getOwnPropSymbols$2c = Object.getOwnPropertySymbols;
4393
4345
  var __hasOwnProp$2c = Object.prototype.hasOwnProperty;
@@ -4404,7 +4356,7 @@
4404
4356
  }
4405
4357
  return a;
4406
4358
  };
4407
- var __objRest$1P = (source, exclude) => {
4359
+ var __objRest$1S = (source, exclude) => {
4408
4360
  var target = {};
4409
4361
  for (var prop in source)
4410
4362
  if (__hasOwnProp$2c.call(source, prop) && exclude.indexOf(prop) < 0)
@@ -4416,19 +4368,19 @@
4416
4368
  }
4417
4369
  return target;
4418
4370
  };
4419
- const H2 = React.forwardRef((_a, ref) => {
4371
+ const H1 = React.forwardRef((_a, ref) => {
4420
4372
  var _b = _a, {
4421
4373
  children,
4422
4374
  sx = {}
4423
- } = _b, rest = __objRest$1P(_b, [
4375
+ } = _b, rest = __objRest$1S(_b, [
4424
4376
  "children",
4425
4377
  "sx"
4426
4378
  ]);
4427
- const styles = react.useStyleConfig("H2", { sx });
4379
+ const styles = react.useStyleConfig("H1", { sx });
4428
4380
  return /* @__PURE__ */ React.createElement(
4429
4381
  react.Heading,
4430
4382
  __spreadValues$2c({
4431
- as: "h2",
4383
+ as: "h1",
4432
4384
  sx: styles,
4433
4385
  ref
4434
4386
  }, rest),
@@ -4452,7 +4404,7 @@
4452
4404
  }
4453
4405
  return a;
4454
4406
  };
4455
- var __objRest$1O = (source, exclude) => {
4407
+ var __objRest$1R = (source, exclude) => {
4456
4408
  var target = {};
4457
4409
  for (var prop in source)
4458
4410
  if (__hasOwnProp$2b.call(source, prop) && exclude.indexOf(prop) < 0)
@@ -4464,19 +4416,19 @@
4464
4416
  }
4465
4417
  return target;
4466
4418
  };
4467
- const H3 = React.forwardRef((_a, ref) => {
4419
+ const H2 = React.forwardRef((_a, ref) => {
4468
4420
  var _b = _a, {
4469
4421
  children,
4470
4422
  sx = {}
4471
- } = _b, rest = __objRest$1O(_b, [
4423
+ } = _b, rest = __objRest$1R(_b, [
4472
4424
  "children",
4473
4425
  "sx"
4474
4426
  ]);
4475
- const styles = react.useStyleConfig("H3", { sx });
4427
+ const styles = react.useStyleConfig("H2", { sx });
4476
4428
  return /* @__PURE__ */ React.createElement(
4477
4429
  react.Heading,
4478
4430
  __spreadValues$2b({
4479
- as: "h3",
4431
+ as: "h2",
4480
4432
  sx: styles,
4481
4433
  ref
4482
4434
  }, rest),
@@ -4500,7 +4452,7 @@
4500
4452
  }
4501
4453
  return a;
4502
4454
  };
4503
- var __objRest$1N = (source, exclude) => {
4455
+ var __objRest$1Q = (source, exclude) => {
4504
4456
  var target = {};
4505
4457
  for (var prop in source)
4506
4458
  if (__hasOwnProp$2a.call(source, prop) && exclude.indexOf(prop) < 0)
@@ -4512,19 +4464,19 @@
4512
4464
  }
4513
4465
  return target;
4514
4466
  };
4515
- const H4 = React.forwardRef((_a, ref) => {
4467
+ const H3 = React.forwardRef((_a, ref) => {
4516
4468
  var _b = _a, {
4517
4469
  children,
4518
4470
  sx = {}
4519
- } = _b, rest = __objRest$1N(_b, [
4471
+ } = _b, rest = __objRest$1Q(_b, [
4520
4472
  "children",
4521
4473
  "sx"
4522
4474
  ]);
4523
- const styles = react.useStyleConfig("H4", { sx });
4475
+ const styles = react.useStyleConfig("H3", { sx });
4524
4476
  return /* @__PURE__ */ React.createElement(
4525
4477
  react.Heading,
4526
4478
  __spreadValues$2a({
4527
- as: "h4",
4479
+ as: "h3",
4528
4480
  sx: styles,
4529
4481
  ref
4530
4482
  }, rest),
@@ -4548,7 +4500,7 @@
4548
4500
  }
4549
4501
  return a;
4550
4502
  };
4551
- var __objRest$1M = (source, exclude) => {
4503
+ var __objRest$1P = (source, exclude) => {
4552
4504
  var target = {};
4553
4505
  for (var prop in source)
4554
4506
  if (__hasOwnProp$29.call(source, prop) && exclude.indexOf(prop) < 0)
@@ -4560,19 +4512,19 @@
4560
4512
  }
4561
4513
  return target;
4562
4514
  };
4563
- const H5 = React.forwardRef((_a, ref) => {
4515
+ const H4 = React.forwardRef((_a, ref) => {
4564
4516
  var _b = _a, {
4565
4517
  children,
4566
4518
  sx = {}
4567
- } = _b, rest = __objRest$1M(_b, [
4519
+ } = _b, rest = __objRest$1P(_b, [
4568
4520
  "children",
4569
4521
  "sx"
4570
4522
  ]);
4571
- const styles = react.useStyleConfig("H5", { sx });
4523
+ const styles = react.useStyleConfig("H4", { sx });
4572
4524
  return /* @__PURE__ */ React.createElement(
4573
4525
  react.Heading,
4574
4526
  __spreadValues$29({
4575
- as: "h5",
4527
+ as: "h4",
4576
4528
  sx: styles,
4577
4529
  ref
4578
4530
  }, rest),
@@ -4596,7 +4548,7 @@
4596
4548
  }
4597
4549
  return a;
4598
4550
  };
4599
- var __objRest$1L = (source, exclude) => {
4551
+ var __objRest$1O = (source, exclude) => {
4600
4552
  var target = {};
4601
4553
  for (var prop in source)
4602
4554
  if (__hasOwnProp$28.call(source, prop) && exclude.indexOf(prop) < 0)
@@ -4608,19 +4560,19 @@
4608
4560
  }
4609
4561
  return target;
4610
4562
  };
4611
- const H6 = React.forwardRef((_a, ref) => {
4563
+ const H5 = React.forwardRef((_a, ref) => {
4612
4564
  var _b = _a, {
4613
4565
  children,
4614
4566
  sx = {}
4615
- } = _b, rest = __objRest$1L(_b, [
4567
+ } = _b, rest = __objRest$1O(_b, [
4616
4568
  "children",
4617
4569
  "sx"
4618
4570
  ]);
4619
- const styles = react.useStyleConfig("H6", { sx });
4571
+ const styles = react.useStyleConfig("H5", { sx });
4620
4572
  return /* @__PURE__ */ React.createElement(
4621
4573
  react.Heading,
4622
4574
  __spreadValues$28({
4623
- as: "h6",
4575
+ as: "h5",
4624
4576
  sx: styles,
4625
4577
  ref
4626
4578
  }, rest),
@@ -4644,7 +4596,7 @@
4644
4596
  }
4645
4597
  return a;
4646
4598
  };
4647
- var __objRest$1K = (source, exclude) => {
4599
+ var __objRest$1N = (source, exclude) => {
4648
4600
  var target = {};
4649
4601
  for (var prop in source)
4650
4602
  if (__hasOwnProp$27.call(source, prop) && exclude.indexOf(prop) < 0)
@@ -4656,21 +4608,19 @@
4656
4608
  }
4657
4609
  return target;
4658
4610
  };
4659
- const P = React.forwardRef((_a, ref) => {
4611
+ const H6 = React.forwardRef((_a, ref) => {
4660
4612
  var _b = _a, {
4661
4613
  children,
4662
- variant = "16",
4663
4614
  sx = {}
4664
- } = _b, rest = __objRest$1K(_b, [
4615
+ } = _b, rest = __objRest$1N(_b, [
4665
4616
  "children",
4666
- "variant",
4667
4617
  "sx"
4668
4618
  ]);
4669
- const styles = react.useStyleConfig("P", { variant, sx });
4619
+ const styles = react.useStyleConfig("H6", { sx });
4670
4620
  return /* @__PURE__ */ React.createElement(
4671
- react.Text,
4621
+ react.Heading,
4672
4622
  __spreadValues$27({
4673
- variant,
4623
+ as: "h6",
4674
4624
  sx: styles,
4675
4625
  ref
4676
4626
  }, rest),
@@ -4694,7 +4644,7 @@
4694
4644
  }
4695
4645
  return a;
4696
4646
  };
4697
- var __objRest$1J = (source, exclude) => {
4647
+ var __objRest$1M = (source, exclude) => {
4698
4648
  var target = {};
4699
4649
  for (var prop in source)
4700
4650
  if (__hasOwnProp$26.call(source, prop) && exclude.indexOf(prop) < 0)
@@ -4706,13 +4656,27 @@
4706
4656
  }
4707
4657
  return target;
4708
4658
  };
4709
- const Blockquote = React.forwardRef(
4710
- (_a, ref) => {
4711
- var _b = _a, { children, sx = {} } = _b, rest = __objRest$1J(_b, ["children", "sx"]);
4712
- const styles = react.useStyleConfig("Blockquote", { sx });
4713
- return /* @__PURE__ */ React.createElement(react.Text, __spreadValues$26({ as: "span", sx: styles, ref }, rest), children);
4714
- }
4715
- );
4659
+ const P = React.forwardRef((_a, ref) => {
4660
+ var _b = _a, {
4661
+ children,
4662
+ variant = "16",
4663
+ sx = {}
4664
+ } = _b, rest = __objRest$1M(_b, [
4665
+ "children",
4666
+ "variant",
4667
+ "sx"
4668
+ ]);
4669
+ const styles = react.useStyleConfig("P", { variant, sx });
4670
+ return /* @__PURE__ */ React.createElement(
4671
+ react.Text,
4672
+ __spreadValues$26({
4673
+ variant,
4674
+ sx: styles,
4675
+ ref
4676
+ }, rest),
4677
+ children
4678
+ );
4679
+ });
4716
4680
 
4717
4681
  var __defProp$25 = Object.defineProperty;
4718
4682
  var __getOwnPropSymbols$25 = Object.getOwnPropertySymbols;
@@ -4730,7 +4694,7 @@
4730
4694
  }
4731
4695
  return a;
4732
4696
  };
4733
- var __objRest$1I = (source, exclude) => {
4697
+ var __objRest$1L = (source, exclude) => {
4734
4698
  var target = {};
4735
4699
  for (var prop in source)
4736
4700
  if (__hasOwnProp$25.call(source, prop) && exclude.indexOf(prop) < 0)
@@ -4742,25 +4706,13 @@
4742
4706
  }
4743
4707
  return target;
4744
4708
  };
4745
- const Capitalized = React.forwardRef((_a, ref) => {
4746
- var _b = _a, {
4747
- children,
4748
- sx = {}
4749
- } = _b, rest = __objRest$1I(_b, [
4750
- "children",
4751
- "sx"
4752
- ]);
4753
- const styles = react.useStyleConfig("Capitalized", { sx });
4754
- return /* @__PURE__ */ React.createElement(
4755
- react.Text,
4756
- __spreadValues$25({
4757
- as: "span",
4758
- sx: styles,
4759
- ref
4760
- }, rest),
4761
- children
4762
- );
4763
- });
4709
+ const Blockquote = React.forwardRef(
4710
+ (_a, ref) => {
4711
+ var _b = _a, { children, sx = {} } = _b, rest = __objRest$1L(_b, ["children", "sx"]);
4712
+ const styles = react.useStyleConfig("Blockquote", { sx });
4713
+ return /* @__PURE__ */ React.createElement(react.Text, __spreadValues$25({ as: "span", sx: styles, ref }, rest), children);
4714
+ }
4715
+ );
4764
4716
 
4765
4717
  var __defProp$24 = Object.defineProperty;
4766
4718
  var __getOwnPropSymbols$24 = Object.getOwnPropertySymbols;
@@ -4778,7 +4730,7 @@
4778
4730
  }
4779
4731
  return a;
4780
4732
  };
4781
- var __objRest$1H = (source, exclude) => {
4733
+ var __objRest$1K = (source, exclude) => {
4782
4734
  var target = {};
4783
4735
  for (var prop in source)
4784
4736
  if (__hasOwnProp$24.call(source, prop) && exclude.indexOf(prop) < 0)
@@ -4790,15 +4742,15 @@
4790
4742
  }
4791
4743
  return target;
4792
4744
  };
4793
- const Lead = React.forwardRef((_a, ref) => {
4745
+ const Capitalized = React.forwardRef((_a, ref) => {
4794
4746
  var _b = _a, {
4795
4747
  children,
4796
4748
  sx = {}
4797
- } = _b, rest = __objRest$1H(_b, [
4749
+ } = _b, rest = __objRest$1K(_b, [
4798
4750
  "children",
4799
4751
  "sx"
4800
4752
  ]);
4801
- const styles = react.useStyleConfig("Lead", { sx });
4753
+ const styles = react.useStyleConfig("Capitalized", { sx });
4802
4754
  return /* @__PURE__ */ React.createElement(
4803
4755
  react.Text,
4804
4756
  __spreadValues$24({
@@ -4826,7 +4778,7 @@
4826
4778
  }
4827
4779
  return a;
4828
4780
  };
4829
- var __objRest$1G = (source, exclude) => {
4781
+ var __objRest$1J = (source, exclude) => {
4830
4782
  var target = {};
4831
4783
  for (var prop in source)
4832
4784
  if (__hasOwnProp$23.call(source, prop) && exclude.indexOf(prop) < 0)
@@ -4838,19 +4790,19 @@
4838
4790
  }
4839
4791
  return target;
4840
4792
  };
4841
- const Small = React.forwardRef((_a, ref) => {
4793
+ const Lead = React.forwardRef((_a, ref) => {
4842
4794
  var _b = _a, {
4843
4795
  children,
4844
4796
  sx = {}
4845
- } = _b, rest = __objRest$1G(_b, [
4797
+ } = _b, rest = __objRest$1J(_b, [
4846
4798
  "children",
4847
4799
  "sx"
4848
4800
  ]);
4849
- const styles = react.useStyleConfig("Small", { sx });
4801
+ const styles = react.useStyleConfig("Lead", { sx });
4850
4802
  return /* @__PURE__ */ React.createElement(
4851
4803
  react.Text,
4852
4804
  __spreadValues$23({
4853
- as: "small",
4805
+ as: "span",
4854
4806
  sx: styles,
4855
4807
  ref
4856
4808
  }, rest),
@@ -4874,7 +4826,7 @@
4874
4826
  }
4875
4827
  return a;
4876
4828
  };
4877
- var __objRest$1F = (source, exclude) => {
4829
+ var __objRest$1I = (source, exclude) => {
4878
4830
  var target = {};
4879
4831
  for (var prop in source)
4880
4832
  if (__hasOwnProp$22.call(source, prop) && exclude.indexOf(prop) < 0)
@@ -4886,19 +4838,19 @@
4886
4838
  }
4887
4839
  return target;
4888
4840
  };
4889
- const Tiny = React.forwardRef((_a, ref) => {
4841
+ const Small = React.forwardRef((_a, ref) => {
4890
4842
  var _b = _a, {
4891
4843
  children,
4892
4844
  sx = {}
4893
- } = _b, rest = __objRest$1F(_b, [
4845
+ } = _b, rest = __objRest$1I(_b, [
4894
4846
  "children",
4895
4847
  "sx"
4896
4848
  ]);
4897
- const styles = react.useStyleConfig("Tiny", { sx });
4849
+ const styles = react.useStyleConfig("Small", { sx });
4898
4850
  return /* @__PURE__ */ React.createElement(
4899
4851
  react.Text,
4900
4852
  __spreadValues$22({
4901
- as: "span",
4853
+ as: "small",
4902
4854
  sx: styles,
4903
4855
  ref
4904
4856
  }, rest),
@@ -4922,7 +4874,7 @@
4922
4874
  }
4923
4875
  return a;
4924
4876
  };
4925
- var __objRest$1E = (source, exclude) => {
4877
+ var __objRest$1H = (source, exclude) => {
4926
4878
  var target = {};
4927
4879
  for (var prop in source)
4928
4880
  if (__hasOwnProp$21.call(source, prop) && exclude.indexOf(prop) < 0)
@@ -4934,22 +4886,20 @@
4934
4886
  }
4935
4887
  return target;
4936
4888
  };
4937
- const Label = React.forwardRef((_a, ref) => {
4889
+ const Tiny = React.forwardRef((_a, ref) => {
4938
4890
  var _b = _a, {
4939
4891
  children,
4940
- size = "sm",
4941
4892
  sx = {}
4942
- } = _b, rest = __objRest$1E(_b, [
4893
+ } = _b, rest = __objRest$1H(_b, [
4943
4894
  "children",
4944
- "size",
4945
4895
  "sx"
4946
4896
  ]);
4947
- const styles = react.useStyleConfig("Label", { sx, size });
4897
+ const styles = react.useStyleConfig("Tiny", { sx });
4948
4898
  return /* @__PURE__ */ React.createElement(
4949
- react.FormLabel,
4899
+ react.Text,
4950
4900
  __spreadValues$21({
4901
+ as: "span",
4951
4902
  sx: styles,
4952
- requiredIndicator: /* @__PURE__ */ React.createElement(react.VisuallyHidden, null),
4953
4903
  ref
4954
4904
  }, rest),
4955
4905
  children
@@ -4972,7 +4922,7 @@
4972
4922
  }
4973
4923
  return a;
4974
4924
  };
4975
- var __objRest$1D = (source, exclude) => {
4925
+ var __objRest$1G = (source, exclude) => {
4976
4926
  var target = {};
4977
4927
  for (var prop in source)
4978
4928
  if (__hasOwnProp$20.call(source, prop) && exclude.indexOf(prop) < 0)
@@ -4984,13 +4934,63 @@
4984
4934
  }
4985
4935
  return target;
4986
4936
  };
4937
+ const Label = React.forwardRef((_a, ref) => {
4938
+ var _b = _a, {
4939
+ children,
4940
+ size = "sm",
4941
+ sx = {}
4942
+ } = _b, rest = __objRest$1G(_b, [
4943
+ "children",
4944
+ "size",
4945
+ "sx"
4946
+ ]);
4947
+ const styles = react.useStyleConfig("Label", { sx, size });
4948
+ return /* @__PURE__ */ React.createElement(
4949
+ react.FormLabel,
4950
+ __spreadValues$20({
4951
+ sx: styles,
4952
+ requiredIndicator: /* @__PURE__ */ React.createElement(react.VisuallyHidden, null),
4953
+ ref
4954
+ }, rest),
4955
+ children
4956
+ );
4957
+ });
4958
+
4959
+ var __defProp$1$ = Object.defineProperty;
4960
+ var __getOwnPropSymbols$1$ = Object.getOwnPropertySymbols;
4961
+ var __hasOwnProp$1$ = Object.prototype.hasOwnProperty;
4962
+ var __propIsEnum$1$ = Object.prototype.propertyIsEnumerable;
4963
+ var __defNormalProp$1$ = (obj, key, value) => key in obj ? __defProp$1$(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4964
+ var __spreadValues$1$ = (a, b) => {
4965
+ for (var prop in b || (b = {}))
4966
+ if (__hasOwnProp$1$.call(b, prop))
4967
+ __defNormalProp$1$(a, prop, b[prop]);
4968
+ if (__getOwnPropSymbols$1$)
4969
+ for (var prop of __getOwnPropSymbols$1$(b)) {
4970
+ if (__propIsEnum$1$.call(b, prop))
4971
+ __defNormalProp$1$(a, prop, b[prop]);
4972
+ }
4973
+ return a;
4974
+ };
4975
+ var __objRest$1F = (source, exclude) => {
4976
+ var target = {};
4977
+ for (var prop in source)
4978
+ if (__hasOwnProp$1$.call(source, prop) && exclude.indexOf(prop) < 0)
4979
+ target[prop] = source[prop];
4980
+ if (source != null && __getOwnPropSymbols$1$)
4981
+ for (var prop of __getOwnPropSymbols$1$(source)) {
4982
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$1$.call(source, prop))
4983
+ target[prop] = source[prop];
4984
+ }
4985
+ return target;
4986
+ };
4987
4987
  const NumVal = React.forwardRef(
4988
4988
  (_a, ref) => {
4989
- var _b = _a, { children, size = "sm", sx = {} } = _b, rest = __objRest$1D(_b, ["children", "size", "sx"]);
4989
+ var _b = _a, { children, size = "sm", sx = {} } = _b, rest = __objRest$1F(_b, ["children", "size", "sx"]);
4990
4990
  const styles = react.useStyleConfig("NumVal", { sx, size });
4991
4991
  return /* @__PURE__ */ React.createElement(
4992
4992
  react.Text,
4993
- __spreadValues$20({
4993
+ __spreadValues$1$({
4994
4994
  as: "span",
4995
4995
  sx: styles,
4996
4996
  ref
@@ -5080,53 +5080,6 @@
5080
5080
  return { rect, containerRef };
5081
5081
  };
5082
5082
 
5083
- var __defProp$1$ = Object.defineProperty;
5084
- var __getOwnPropSymbols$1$ = Object.getOwnPropertySymbols;
5085
- var __hasOwnProp$1$ = Object.prototype.hasOwnProperty;
5086
- var __propIsEnum$1$ = Object.prototype.propertyIsEnumerable;
5087
- var __defNormalProp$1$ = (obj, key, value) => key in obj ? __defProp$1$(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
5088
- var __spreadValues$1$ = (a, b) => {
5089
- for (var prop in b || (b = {}))
5090
- if (__hasOwnProp$1$.call(b, prop))
5091
- __defNormalProp$1$(a, prop, b[prop]);
5092
- if (__getOwnPropSymbols$1$)
5093
- for (var prop of __getOwnPropSymbols$1$(b)) {
5094
- if (__propIsEnum$1$.call(b, prop))
5095
- __defNormalProp$1$(a, prop, b[prop]);
5096
- }
5097
- return a;
5098
- };
5099
- var __objRest$1C = (source, exclude) => {
5100
- var target = {};
5101
- for (var prop in source)
5102
- if (__hasOwnProp$1$.call(source, prop) && exclude.indexOf(prop) < 0)
5103
- target[prop] = source[prop];
5104
- if (source != null && __getOwnPropSymbols$1$)
5105
- for (var prop of __getOwnPropSymbols$1$(source)) {
5106
- if (exclude.indexOf(prop) < 0 && __propIsEnum$1$.call(source, prop))
5107
- target[prop] = source[prop];
5108
- }
5109
- return target;
5110
- };
5111
- const AvatarGroup = (_a) => {
5112
- var _b = _a, {
5113
- children,
5114
- max = Infinity,
5115
- spacing = "-4"
5116
- } = _b, rest = __objRest$1C(_b, [
5117
- "children",
5118
- "max",
5119
- "spacing"
5120
- ]);
5121
- const [nbrRemainingAvatars, setNbrRemainingAvatars] = React.useState(0);
5122
- const childrenWithMargin = getChildrenWithProps(
5123
- children,
5124
- { ml: spacing },
5125
- (_child, idx) => idx > 0
5126
- );
5127
- return /* @__PURE__ */ React.createElement(react.HStack, __spreadValues$1$({ bgColor: "background.default" }, rest), /* @__PURE__ */ React.createElement(react.HStack, { spacing: 0 }, /* @__PURE__ */ React.createElement(OverflowGroup, { max, onChange: setNbrRemainingAvatars }, childrenWithMargin)), nbrRemainingAvatars > 0 && /* @__PURE__ */ React.createElement(Small, { sx: { color: "brand" } }, "+", nbrRemainingAvatars));
5128
- };
5129
-
5130
5083
  var __defProp$1_ = Object.defineProperty;
5131
5084
  var __getOwnPropSymbols$1_ = Object.getOwnPropertySymbols;
5132
5085
  var __hasOwnProp$1_ = Object.prototype.hasOwnProperty;
@@ -5143,7 +5096,7 @@
5143
5096
  }
5144
5097
  return a;
5145
5098
  };
5146
- var __objRest$1B = (source, exclude) => {
5099
+ var __objRest$1E = (source, exclude) => {
5147
5100
  var target = {};
5148
5101
  for (var prop in source)
5149
5102
  if (__hasOwnProp$1_.call(source, prop) && exclude.indexOf(prop) < 0)
@@ -5155,22 +5108,24 @@
5155
5108
  }
5156
5109
  return target;
5157
5110
  };
5158
- const Badge = React.forwardRef((props, ref) => {
5159
- const _a = props, {
5111
+ const AvatarGroup = (_a) => {
5112
+ var _b = _a, {
5160
5113
  children,
5161
- withIcon,
5162
- iconPosition = "left",
5163
- iconAs
5164
- } = _a, rest = __objRest$1B(_a, [
5114
+ max = Infinity,
5115
+ spacing = "-4"
5116
+ } = _b, rest = __objRest$1E(_b, [
5165
5117
  "children",
5166
- "withIcon",
5167
- "iconPosition",
5168
- "iconAs"
5118
+ "max",
5119
+ "spacing"
5169
5120
  ]);
5170
- const IconComponent = iconAs ? NorthlightIcons__namespace[iconAs] : NorthlightIcons.MediatoolLogoSolid;
5171
- const currentTheme = useCurrentTheme();
5172
- return /* @__PURE__ */ React.createElement(react.Badge, __spreadValues$1_({ ref, currentTheme }, rest), /* @__PURE__ */ React.createElement(react.Flex, { align: "center", gap: "1" }, withIcon && iconPosition === "left" && IconComponent && /* @__PURE__ */ React.createElement(Icon, { as: IconComponent, boxSize: "3" }), children, withIcon && iconPosition === "right" && IconComponent && /* @__PURE__ */ React.createElement(Icon, { as: IconComponent, boxSize: "3" })));
5173
- });
5121
+ const [nbrRemainingAvatars, setNbrRemainingAvatars] = React.useState(0);
5122
+ const childrenWithMargin = getChildrenWithProps(
5123
+ children,
5124
+ { ml: spacing },
5125
+ (_child, idx) => idx > 0
5126
+ );
5127
+ return /* @__PURE__ */ React.createElement(react.HStack, __spreadValues$1_({ bgColor: "background.default" }, rest), /* @__PURE__ */ React.createElement(react.HStack, { spacing: 0 }, /* @__PURE__ */ React.createElement(OverflowGroup, { max, onChange: setNbrRemainingAvatars }, childrenWithMargin)), nbrRemainingAvatars > 0 && /* @__PURE__ */ React.createElement(Small, { sx: { color: "brand" } }, "+", nbrRemainingAvatars));
5128
+ };
5174
5129
 
5175
5130
  var __defProp$1Z = Object.defineProperty;
5176
5131
  var __getOwnPropSymbols$1Z = Object.getOwnPropertySymbols;
@@ -5188,7 +5143,7 @@
5188
5143
  }
5189
5144
  return a;
5190
5145
  };
5191
- var __objRest$1A = (source, exclude) => {
5146
+ var __objRest$1D = (source, exclude) => {
5192
5147
  var target = {};
5193
5148
  for (var prop in source)
5194
5149
  if (__hasOwnProp$1Z.call(source, prop) && exclude.indexOf(prop) < 0)
@@ -5200,19 +5155,22 @@
5200
5155
  }
5201
5156
  return target;
5202
5157
  };
5203
- const Blinker = (_a) => {
5204
- var _b = _a, {
5205
- color = "",
5206
- size,
5207
- isBlinking = true
5208
- } = _b, rest = __objRest$1A(_b, [
5209
- "color",
5210
- "size",
5211
- "isBlinking"
5158
+ const Badge = React.forwardRef((props, ref) => {
5159
+ const _a = props, {
5160
+ children,
5161
+ withIcon,
5162
+ iconPosition = "left",
5163
+ iconAs
5164
+ } = _a, rest = __objRest$1D(_a, [
5165
+ "children",
5166
+ "withIcon",
5167
+ "iconPosition",
5168
+ "iconAs"
5212
5169
  ]);
5213
- const styles = react.useStyleConfig("Blinker", { color, size, isBlinking });
5214
- return /* @__PURE__ */ React.createElement(react.Box, __spreadValues$1Z({ sx: styles, "data-testid": "blinker-test-id" }, rest));
5215
- };
5170
+ const IconComponent = iconAs ? NorthlightIcons__namespace[iconAs] : NorthlightIcons.MediatoolLogoSolid;
5171
+ const currentTheme = useCurrentTheme();
5172
+ return /* @__PURE__ */ React.createElement(react.Badge, __spreadValues$1Z({ ref, currentTheme }, rest), /* @__PURE__ */ React.createElement(react.Flex, { align: "center", gap: "1" }, withIcon && iconPosition === "left" && IconComponent && /* @__PURE__ */ React.createElement(Icon, { as: IconComponent, boxSize: "3" }), children, withIcon && iconPosition === "right" && IconComponent && /* @__PURE__ */ React.createElement(Icon, { as: IconComponent, boxSize: "3" })));
5173
+ });
5216
5174
 
5217
5175
  var __defProp$1Y = Object.defineProperty;
5218
5176
  var __getOwnPropSymbols$1Y = Object.getOwnPropertySymbols;
@@ -5230,7 +5188,7 @@
5230
5188
  }
5231
5189
  return a;
5232
5190
  };
5233
- var __objRest$1z = (source, exclude) => {
5191
+ var __objRest$1C = (source, exclude) => {
5234
5192
  var target = {};
5235
5193
  for (var prop in source)
5236
5194
  if (__hasOwnProp$1Y.call(source, prop) && exclude.indexOf(prop) < 0)
@@ -5242,9 +5200,18 @@
5242
5200
  }
5243
5201
  return target;
5244
5202
  };
5245
- const Spinner = (_a) => {
5246
- var rest = __objRest$1z(_a, []);
5247
- return /* @__PURE__ */ React.createElement(react.Spinner, __spreadValues$1Y({}, rest));
5203
+ const Blinker = (_a) => {
5204
+ var _b = _a, {
5205
+ color = "",
5206
+ size,
5207
+ isBlinking = true
5208
+ } = _b, rest = __objRest$1C(_b, [
5209
+ "color",
5210
+ "size",
5211
+ "isBlinking"
5212
+ ]);
5213
+ const styles = react.useStyleConfig("Blinker", { color, size, isBlinking });
5214
+ return /* @__PURE__ */ React.createElement(react.Box, __spreadValues$1Y({ sx: styles, "data-testid": "blinker-test-id" }, rest));
5248
5215
  };
5249
5216
 
5250
5217
  var __defProp$1X = Object.defineProperty;
@@ -5263,7 +5230,7 @@
5263
5230
  }
5264
5231
  return a;
5265
5232
  };
5266
- var __objRest$1y = (source, exclude) => {
5233
+ var __objRest$1B = (source, exclude) => {
5267
5234
  var target = {};
5268
5235
  for (var prop in source)
5269
5236
  if (__hasOwnProp$1X.call(source, prop) && exclude.indexOf(prop) < 0)
@@ -5275,6 +5242,39 @@
5275
5242
  }
5276
5243
  return target;
5277
5244
  };
5245
+ const Spinner = (_a) => {
5246
+ var rest = __objRest$1B(_a, []);
5247
+ return /* @__PURE__ */ React.createElement(react.Spinner, __spreadValues$1X({}, rest));
5248
+ };
5249
+
5250
+ var __defProp$1W = Object.defineProperty;
5251
+ var __getOwnPropSymbols$1W = Object.getOwnPropertySymbols;
5252
+ var __hasOwnProp$1W = Object.prototype.hasOwnProperty;
5253
+ var __propIsEnum$1W = Object.prototype.propertyIsEnumerable;
5254
+ var __defNormalProp$1W = (obj, key, value) => key in obj ? __defProp$1W(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
5255
+ var __spreadValues$1W = (a, b) => {
5256
+ for (var prop in b || (b = {}))
5257
+ if (__hasOwnProp$1W.call(b, prop))
5258
+ __defNormalProp$1W(a, prop, b[prop]);
5259
+ if (__getOwnPropSymbols$1W)
5260
+ for (var prop of __getOwnPropSymbols$1W(b)) {
5261
+ if (__propIsEnum$1W.call(b, prop))
5262
+ __defNormalProp$1W(a, prop, b[prop]);
5263
+ }
5264
+ return a;
5265
+ };
5266
+ var __objRest$1A = (source, exclude) => {
5267
+ var target = {};
5268
+ for (var prop in source)
5269
+ if (__hasOwnProp$1W.call(source, prop) && exclude.indexOf(prop) < 0)
5270
+ target[prop] = source[prop];
5271
+ if (source != null && __getOwnPropSymbols$1W)
5272
+ for (var prop of __getOwnPropSymbols$1W(source)) {
5273
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$1W.call(source, prop))
5274
+ target[prop] = source[prop];
5275
+ }
5276
+ return target;
5277
+ };
5278
5278
  const SpinnerSizeMap = {
5279
5279
  xs: "xs",
5280
5280
  sm: "sm",
@@ -5283,10 +5283,10 @@
5283
5283
  };
5284
5284
  const Button = React.forwardRef(
5285
5285
  (_a, ref) => {
5286
- var _b = _a, { variant = "default", children, size = "md" } = _b, rest = __objRest$1y(_b, ["variant", "children", "size"]);
5286
+ var _b = _a, { variant = "default", children, size = "md" } = _b, rest = __objRest$1A(_b, ["variant", "children", "size"]);
5287
5287
  return /* @__PURE__ */ React.createElement(
5288
5288
  react.Button,
5289
- __spreadValues$1X({
5289
+ __spreadValues$1W({
5290
5290
  variant,
5291
5291
  ref,
5292
5292
  size,
@@ -5302,30 +5302,30 @@
5302
5302
  }
5303
5303
  );
5304
5304
 
5305
- var __defProp$1W = Object.defineProperty;
5306
- var __getOwnPropSymbols$1W = Object.getOwnPropertySymbols;
5307
- var __hasOwnProp$1W = Object.prototype.hasOwnProperty;
5308
- var __propIsEnum$1W = Object.prototype.propertyIsEnumerable;
5309
- var __defNormalProp$1W = (obj, key, value) => key in obj ? __defProp$1W(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
5310
- var __spreadValues$1W = (a, b) => {
5305
+ var __defProp$1V = Object.defineProperty;
5306
+ var __getOwnPropSymbols$1V = Object.getOwnPropertySymbols;
5307
+ var __hasOwnProp$1V = Object.prototype.hasOwnProperty;
5308
+ var __propIsEnum$1V = Object.prototype.propertyIsEnumerable;
5309
+ var __defNormalProp$1V = (obj, key, value) => key in obj ? __defProp$1V(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
5310
+ var __spreadValues$1V = (a, b) => {
5311
5311
  for (var prop in b || (b = {}))
5312
- if (__hasOwnProp$1W.call(b, prop))
5313
- __defNormalProp$1W(a, prop, b[prop]);
5314
- if (__getOwnPropSymbols$1W)
5315
- for (var prop of __getOwnPropSymbols$1W(b)) {
5316
- if (__propIsEnum$1W.call(b, prop))
5317
- __defNormalProp$1W(a, prop, b[prop]);
5312
+ if (__hasOwnProp$1V.call(b, prop))
5313
+ __defNormalProp$1V(a, prop, b[prop]);
5314
+ if (__getOwnPropSymbols$1V)
5315
+ for (var prop of __getOwnPropSymbols$1V(b)) {
5316
+ if (__propIsEnum$1V.call(b, prop))
5317
+ __defNormalProp$1V(a, prop, b[prop]);
5318
5318
  }
5319
5319
  return a;
5320
5320
  };
5321
- var __objRest$1x = (source, exclude) => {
5321
+ var __objRest$1z = (source, exclude) => {
5322
5322
  var target = {};
5323
5323
  for (var prop in source)
5324
- if (__hasOwnProp$1W.call(source, prop) && exclude.indexOf(prop) < 0)
5324
+ if (__hasOwnProp$1V.call(source, prop) && exclude.indexOf(prop) < 0)
5325
5325
  target[prop] = source[prop];
5326
- if (source != null && __getOwnPropSymbols$1W)
5327
- for (var prop of __getOwnPropSymbols$1W(source)) {
5328
- if (exclude.indexOf(prop) < 0 && __propIsEnum$1W.call(source, prop))
5326
+ if (source != null && __getOwnPropSymbols$1V)
5327
+ for (var prop of __getOwnPropSymbols$1V(source)) {
5328
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$1V.call(source, prop))
5329
5329
  target[prop] = source[prop];
5330
5330
  }
5331
5331
  return target;
@@ -5337,7 +5337,7 @@
5337
5337
  name,
5338
5338
  size = "md",
5339
5339
  variant = "default"
5340
- } = _b, rest = __objRest$1x(_b, [
5340
+ } = _b, rest = __objRest$1z(_b, [
5341
5341
  "value",
5342
5342
  "onChange",
5343
5343
  "name",
@@ -5347,7 +5347,7 @@
5347
5347
  const controlledValue = typeof value === "boolean" ? { isChecked: value } : { value };
5348
5348
  return /* @__PURE__ */ React.createElement(
5349
5349
  react.Checkbox,
5350
- __spreadValues$1W(__spreadValues$1W({
5350
+ __spreadValues$1V(__spreadValues$1V({
5351
5351
  size,
5352
5352
  id: name,
5353
5353
  onChange,
@@ -5372,30 +5372,30 @@
5372
5372
  return newObj;
5373
5373
  };
5374
5374
 
5375
- var __defProp$1V = Object.defineProperty;
5376
- var __getOwnPropSymbols$1V = Object.getOwnPropertySymbols;
5377
- var __hasOwnProp$1V = Object.prototype.hasOwnProperty;
5378
- var __propIsEnum$1V = Object.prototype.propertyIsEnumerable;
5379
- var __defNormalProp$1V = (obj, key, value) => key in obj ? __defProp$1V(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
5380
- var __spreadValues$1V = (a, b) => {
5375
+ var __defProp$1U = Object.defineProperty;
5376
+ var __getOwnPropSymbols$1U = Object.getOwnPropertySymbols;
5377
+ var __hasOwnProp$1U = Object.prototype.hasOwnProperty;
5378
+ var __propIsEnum$1U = Object.prototype.propertyIsEnumerable;
5379
+ var __defNormalProp$1U = (obj, key, value) => key in obj ? __defProp$1U(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
5380
+ var __spreadValues$1U = (a, b) => {
5381
5381
  for (var prop in b || (b = {}))
5382
- if (__hasOwnProp$1V.call(b, prop))
5383
- __defNormalProp$1V(a, prop, b[prop]);
5384
- if (__getOwnPropSymbols$1V)
5385
- for (var prop of __getOwnPropSymbols$1V(b)) {
5386
- if (__propIsEnum$1V.call(b, prop))
5387
- __defNormalProp$1V(a, prop, b[prop]);
5382
+ if (__hasOwnProp$1U.call(b, prop))
5383
+ __defNormalProp$1U(a, prop, b[prop]);
5384
+ if (__getOwnPropSymbols$1U)
5385
+ for (var prop of __getOwnPropSymbols$1U(b)) {
5386
+ if (__propIsEnum$1U.call(b, prop))
5387
+ __defNormalProp$1U(a, prop, b[prop]);
5388
5388
  }
5389
5389
  return a;
5390
5390
  };
5391
- var __objRest$1w = (source, exclude) => {
5391
+ var __objRest$1y = (source, exclude) => {
5392
5392
  var target = {};
5393
5393
  for (var prop in source)
5394
- if (__hasOwnProp$1V.call(source, prop) && exclude.indexOf(prop) < 0)
5394
+ if (__hasOwnProp$1U.call(source, prop) && exclude.indexOf(prop) < 0)
5395
5395
  target[prop] = source[prop];
5396
- if (source != null && __getOwnPropSymbols$1V)
5397
- for (var prop of __getOwnPropSymbols$1V(source)) {
5398
- if (exclude.indexOf(prop) < 0 && __propIsEnum$1V.call(source, prop))
5396
+ if (source != null && __getOwnPropSymbols$1U)
5397
+ for (var prop of __getOwnPropSymbols$1U(source)) {
5398
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$1U.call(source, prop))
5399
5399
  target[prop] = source[prop];
5400
5400
  }
5401
5401
  return target;
@@ -5412,7 +5412,7 @@
5412
5412
  shouldTrim = true,
5413
5413
  innerFormStyle = {},
5414
5414
  joiSchema
5415
- } = _b, rest = __objRest$1w(_b, [
5415
+ } = _b, rest = __objRest$1y(_b, [
5416
5416
  "initialValues",
5417
5417
  "onSubmit",
5418
5418
  "children",
@@ -5435,7 +5435,7 @@
5435
5435
  return joi.joiResolver(joiSchema);
5436
5436
  return void 0;
5437
5437
  };
5438
- const newMethods = methods || reactHookForm.useForm(__spreadValues$1V({
5438
+ const newMethods = methods || reactHookForm.useForm(__spreadValues$1U({
5439
5439
  defaultValues: initialValues,
5440
5440
  resolver: getResolver()
5441
5441
  }, formSettings));
@@ -5461,36 +5461,36 @@
5461
5461
  newMethods.trigger();
5462
5462
  e.preventDefault();
5463
5463
  };
5464
- return /* @__PURE__ */ React.createElement(reactHookForm.FormProvider, __spreadValues$1V(__spreadValues$1V({}, newMethods), rest), /* @__PURE__ */ React.createElement("form", { style: __spreadValues$1V({ width: "100%" }, innerFormStyle), onSubmit: handleSubmit }, typeof children === "function" ? children(newMethods) : children));
5464
+ return /* @__PURE__ */ React.createElement(reactHookForm.FormProvider, __spreadValues$1U(__spreadValues$1U({}, newMethods), rest), /* @__PURE__ */ React.createElement("form", { style: __spreadValues$1U({ width: "100%" }, innerFormStyle), onSubmit: handleSubmit }, typeof children === "function" ? children(newMethods) : children));
5465
5465
  });
5466
5466
 
5467
- var __defProp$1U = Object.defineProperty;
5468
- var __defProps$u = Object.defineProperties;
5469
- var __getOwnPropDescs$u = Object.getOwnPropertyDescriptors;
5470
- var __getOwnPropSymbols$1U = Object.getOwnPropertySymbols;
5471
- var __hasOwnProp$1U = Object.prototype.hasOwnProperty;
5472
- var __propIsEnum$1U = Object.prototype.propertyIsEnumerable;
5473
- var __defNormalProp$1U = (obj, key, value) => key in obj ? __defProp$1U(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
5474
- var __spreadValues$1U = (a, b) => {
5467
+ var __defProp$1T = Object.defineProperty;
5468
+ var __defProps$t = Object.defineProperties;
5469
+ var __getOwnPropDescs$t = Object.getOwnPropertyDescriptors;
5470
+ var __getOwnPropSymbols$1T = Object.getOwnPropertySymbols;
5471
+ var __hasOwnProp$1T = Object.prototype.hasOwnProperty;
5472
+ var __propIsEnum$1T = Object.prototype.propertyIsEnumerable;
5473
+ var __defNormalProp$1T = (obj, key, value) => key in obj ? __defProp$1T(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
5474
+ var __spreadValues$1T = (a, b) => {
5475
5475
  for (var prop in b || (b = {}))
5476
- if (__hasOwnProp$1U.call(b, prop))
5477
- __defNormalProp$1U(a, prop, b[prop]);
5478
- if (__getOwnPropSymbols$1U)
5479
- for (var prop of __getOwnPropSymbols$1U(b)) {
5480
- if (__propIsEnum$1U.call(b, prop))
5481
- __defNormalProp$1U(a, prop, b[prop]);
5476
+ if (__hasOwnProp$1T.call(b, prop))
5477
+ __defNormalProp$1T(a, prop, b[prop]);
5478
+ if (__getOwnPropSymbols$1T)
5479
+ for (var prop of __getOwnPropSymbols$1T(b)) {
5480
+ if (__propIsEnum$1T.call(b, prop))
5481
+ __defNormalProp$1T(a, prop, b[prop]);
5482
5482
  }
5483
5483
  return a;
5484
5484
  };
5485
- var __spreadProps$u = (a, b) => __defProps$u(a, __getOwnPropDescs$u(b));
5486
- var __objRest$1v = (source, exclude) => {
5485
+ var __spreadProps$t = (a, b) => __defProps$t(a, __getOwnPropDescs$t(b));
5486
+ var __objRest$1x = (source, exclude) => {
5487
5487
  var target = {};
5488
5488
  for (var prop in source)
5489
- if (__hasOwnProp$1U.call(source, prop) && exclude.indexOf(prop) < 0)
5489
+ if (__hasOwnProp$1T.call(source, prop) && exclude.indexOf(prop) < 0)
5490
5490
  target[prop] = source[prop];
5491
- if (source != null && __getOwnPropSymbols$1U)
5492
- for (var prop of __getOwnPropSymbols$1U(source)) {
5493
- if (exclude.indexOf(prop) < 0 && __propIsEnum$1U.call(source, prop))
5491
+ if (source != null && __getOwnPropSymbols$1T)
5492
+ for (var prop of __getOwnPropSymbols$1T(source)) {
5493
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$1T.call(source, prop))
5494
5494
  target[prop] = source[prop];
5495
5495
  }
5496
5496
  return target;
@@ -5498,12 +5498,12 @@
5498
5498
  const FormLabel = React.forwardRef((_a, ref) => {
5499
5499
  var _b = _a, {
5500
5500
  children: label
5501
- } = _b, rest = __objRest$1v(_b, [
5501
+ } = _b, rest = __objRest$1x(_b, [
5502
5502
  "children"
5503
5503
  ]);
5504
5504
  return /* @__PURE__ */ React.createElement(
5505
5505
  Label,
5506
- __spreadProps$u(__spreadValues$1U({
5506
+ __spreadProps$t(__spreadValues$1T({
5507
5507
  size: "sm",
5508
5508
  sx: {
5509
5509
  width: "80%",
@@ -5519,30 +5519,30 @@
5519
5519
  );
5520
5520
  });
5521
5521
 
5522
- var __defProp$1T = Object.defineProperty;
5523
- var __getOwnPropSymbols$1T = Object.getOwnPropertySymbols;
5524
- var __hasOwnProp$1T = Object.prototype.hasOwnProperty;
5525
- var __propIsEnum$1T = Object.prototype.propertyIsEnumerable;
5526
- var __defNormalProp$1T = (obj, key, value) => key in obj ? __defProp$1T(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
5527
- var __spreadValues$1T = (a, b) => {
5522
+ var __defProp$1S = Object.defineProperty;
5523
+ var __getOwnPropSymbols$1S = Object.getOwnPropertySymbols;
5524
+ var __hasOwnProp$1S = Object.prototype.hasOwnProperty;
5525
+ var __propIsEnum$1S = Object.prototype.propertyIsEnumerable;
5526
+ var __defNormalProp$1S = (obj, key, value) => key in obj ? __defProp$1S(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
5527
+ var __spreadValues$1S = (a, b) => {
5528
5528
  for (var prop in b || (b = {}))
5529
- if (__hasOwnProp$1T.call(b, prop))
5530
- __defNormalProp$1T(a, prop, b[prop]);
5531
- if (__getOwnPropSymbols$1T)
5532
- for (var prop of __getOwnPropSymbols$1T(b)) {
5533
- if (__propIsEnum$1T.call(b, prop))
5534
- __defNormalProp$1T(a, prop, b[prop]);
5529
+ if (__hasOwnProp$1S.call(b, prop))
5530
+ __defNormalProp$1S(a, prop, b[prop]);
5531
+ if (__getOwnPropSymbols$1S)
5532
+ for (var prop of __getOwnPropSymbols$1S(b)) {
5533
+ if (__propIsEnum$1S.call(b, prop))
5534
+ __defNormalProp$1S(a, prop, b[prop]);
5535
5535
  }
5536
5536
  return a;
5537
5537
  };
5538
- var __objRest$1u = (source, exclude) => {
5538
+ var __objRest$1w = (source, exclude) => {
5539
5539
  var target = {};
5540
5540
  for (var prop in source)
5541
- if (__hasOwnProp$1T.call(source, prop) && exclude.indexOf(prop) < 0)
5541
+ if (__hasOwnProp$1S.call(source, prop) && exclude.indexOf(prop) < 0)
5542
5542
  target[prop] = source[prop];
5543
- if (source != null && __getOwnPropSymbols$1T)
5544
- for (var prop of __getOwnPropSymbols$1T(source)) {
5545
- if (exclude.indexOf(prop) < 0 && __propIsEnum$1T.call(source, prop))
5543
+ if (source != null && __getOwnPropSymbols$1S)
5544
+ for (var prop of __getOwnPropSymbols$1S(source)) {
5545
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$1S.call(source, prop))
5546
5546
  target[prop] = source[prop];
5547
5547
  }
5548
5548
  return target;
@@ -5557,7 +5557,7 @@
5557
5557
  noLabelConnection = false,
5558
5558
  validate,
5559
5559
  control: passedControl
5560
- } = _b, rest = __objRest$1u(_b, [
5560
+ } = _b, rest = __objRest$1w(_b, [
5561
5561
  "name",
5562
5562
  "label",
5563
5563
  "children",
@@ -5573,7 +5573,7 @@
5573
5573
  const fieldError = getFieldError(name, errors);
5574
5574
  return /* @__PURE__ */ React.createElement(react.FormControl, { isInvalid: !!fieldError, isRequired, ref }, /* @__PURE__ */ React.createElement(
5575
5575
  react.Stack,
5576
- __spreadValues$1T({
5576
+ __spreadValues$1S({
5577
5577
  spacing: "auto",
5578
5578
  direction,
5579
5579
  alignItems: direction === "column" ? "stretch" : "center"
@@ -5601,30 +5601,30 @@
5601
5601
  return setValueRefreshed;
5602
5602
  };
5603
5603
 
5604
- var __defProp$1S = Object.defineProperty;
5605
- var __getOwnPropSymbols$1S = Object.getOwnPropertySymbols;
5606
- var __hasOwnProp$1S = Object.prototype.hasOwnProperty;
5607
- var __propIsEnum$1S = Object.prototype.propertyIsEnumerable;
5608
- var __defNormalProp$1S = (obj, key, value) => key in obj ? __defProp$1S(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
5609
- var __spreadValues$1S = (a, b) => {
5604
+ var __defProp$1R = Object.defineProperty;
5605
+ var __getOwnPropSymbols$1R = Object.getOwnPropertySymbols;
5606
+ var __hasOwnProp$1R = Object.prototype.hasOwnProperty;
5607
+ var __propIsEnum$1R = Object.prototype.propertyIsEnumerable;
5608
+ var __defNormalProp$1R = (obj, key, value) => key in obj ? __defProp$1R(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
5609
+ var __spreadValues$1R = (a, b) => {
5610
5610
  for (var prop in b || (b = {}))
5611
- if (__hasOwnProp$1S.call(b, prop))
5612
- __defNormalProp$1S(a, prop, b[prop]);
5613
- if (__getOwnPropSymbols$1S)
5614
- for (var prop of __getOwnPropSymbols$1S(b)) {
5615
- if (__propIsEnum$1S.call(b, prop))
5616
- __defNormalProp$1S(a, prop, b[prop]);
5611
+ if (__hasOwnProp$1R.call(b, prop))
5612
+ __defNormalProp$1R(a, prop, b[prop]);
5613
+ if (__getOwnPropSymbols$1R)
5614
+ for (var prop of __getOwnPropSymbols$1R(b)) {
5615
+ if (__propIsEnum$1R.call(b, prop))
5616
+ __defNormalProp$1R(a, prop, b[prop]);
5617
5617
  }
5618
5618
  return a;
5619
5619
  };
5620
- var __objRest$1t = (source, exclude) => {
5620
+ var __objRest$1v = (source, exclude) => {
5621
5621
  var target = {};
5622
5622
  for (var prop in source)
5623
- if (__hasOwnProp$1S.call(source, prop) && exclude.indexOf(prop) < 0)
5623
+ if (__hasOwnProp$1R.call(source, prop) && exclude.indexOf(prop) < 0)
5624
5624
  target[prop] = source[prop];
5625
- if (source != null && __getOwnPropSymbols$1S)
5626
- for (var prop of __getOwnPropSymbols$1S(source)) {
5627
- if (exclude.indexOf(prop) < 0 && __propIsEnum$1S.call(source, prop))
5625
+ if (source != null && __getOwnPropSymbols$1R)
5626
+ for (var prop of __getOwnPropSymbols$1R(source)) {
5627
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$1R.call(source, prop))
5628
5628
  target[prop] = source[prop];
5629
5629
  }
5630
5630
  return target;
@@ -5640,7 +5640,7 @@
5640
5640
  direction = "row",
5641
5641
  labelPlacement = "left",
5642
5642
  labelSize = "md"
5643
- } = _b, rest = __objRest$1t(_b, [
5643
+ } = _b, rest = __objRest$1v(_b, [
5644
5644
  "name",
5645
5645
  "label",
5646
5646
  "variant",
@@ -5675,7 +5675,7 @@
5675
5675
  },
5676
5676
  /* @__PURE__ */ React.createElement(
5677
5677
  Checkbox,
5678
- __spreadValues$1S({
5678
+ __spreadValues$1R({
5679
5679
  name,
5680
5680
  onChange: (e) => {
5681
5681
  onChange(e);
@@ -5692,30 +5692,30 @@
5692
5692
  );
5693
5693
  });
5694
5694
 
5695
- var __defProp$1R = Object.defineProperty;
5696
- var __getOwnPropSymbols$1R = Object.getOwnPropertySymbols;
5697
- var __hasOwnProp$1R = Object.prototype.hasOwnProperty;
5698
- var __propIsEnum$1R = Object.prototype.propertyIsEnumerable;
5699
- var __defNormalProp$1R = (obj, key, value) => key in obj ? __defProp$1R(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
5700
- var __spreadValues$1R = (a, b) => {
5695
+ var __defProp$1Q = Object.defineProperty;
5696
+ var __getOwnPropSymbols$1Q = Object.getOwnPropertySymbols;
5697
+ var __hasOwnProp$1Q = Object.prototype.hasOwnProperty;
5698
+ var __propIsEnum$1Q = Object.prototype.propertyIsEnumerable;
5699
+ var __defNormalProp$1Q = (obj, key, value) => key in obj ? __defProp$1Q(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
5700
+ var __spreadValues$1Q = (a, b) => {
5701
5701
  for (var prop in b || (b = {}))
5702
- if (__hasOwnProp$1R.call(b, prop))
5703
- __defNormalProp$1R(a, prop, b[prop]);
5704
- if (__getOwnPropSymbols$1R)
5705
- for (var prop of __getOwnPropSymbols$1R(b)) {
5706
- if (__propIsEnum$1R.call(b, prop))
5707
- __defNormalProp$1R(a, prop, b[prop]);
5702
+ if (__hasOwnProp$1Q.call(b, prop))
5703
+ __defNormalProp$1Q(a, prop, b[prop]);
5704
+ if (__getOwnPropSymbols$1Q)
5705
+ for (var prop of __getOwnPropSymbols$1Q(b)) {
5706
+ if (__propIsEnum$1Q.call(b, prop))
5707
+ __defNormalProp$1Q(a, prop, b[prop]);
5708
5708
  }
5709
5709
  return a;
5710
5710
  };
5711
- var __objRest$1s = (source, exclude) => {
5711
+ var __objRest$1u = (source, exclude) => {
5712
5712
  var target = {};
5713
5713
  for (var prop in source)
5714
- if (__hasOwnProp$1R.call(source, prop) && exclude.indexOf(prop) < 0)
5714
+ if (__hasOwnProp$1Q.call(source, prop) && exclude.indexOf(prop) < 0)
5715
5715
  target[prop] = source[prop];
5716
- if (source != null && __getOwnPropSymbols$1R)
5717
- for (var prop of __getOwnPropSymbols$1R(source)) {
5718
- if (exclude.indexOf(prop) < 0 && __propIsEnum$1R.call(source, prop))
5716
+ if (source != null && __getOwnPropSymbols$1Q)
5717
+ for (var prop of __getOwnPropSymbols$1Q(source)) {
5718
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$1Q.call(source, prop))
5719
5719
  target[prop] = source[prop];
5720
5720
  }
5721
5721
  return target;
@@ -5729,7 +5729,7 @@
5729
5729
  direction,
5730
5730
  validate,
5731
5731
  onChange: onChangeCallback = ramda.identity
5732
- } = _b, rest = __objRest$1s(_b, [
5732
+ } = _b, rest = __objRest$1u(_b, [
5733
5733
  "name",
5734
5734
  "label",
5735
5735
  "children",
@@ -5750,7 +5750,7 @@
5750
5750
  },
5751
5751
  ({ onChange, value }) => /* @__PURE__ */ React.createElement(
5752
5752
  react.CheckboxGroup,
5753
- __spreadValues$1R({
5753
+ __spreadValues$1Q({
5754
5754
  onChange: (e) => {
5755
5755
  onChange(e);
5756
5756
  onChangeCallback(e);
@@ -5763,30 +5763,30 @@
5763
5763
  ));
5764
5764
  });
5765
5765
 
5766
- var __defProp$1Q = Object.defineProperty;
5767
- var __getOwnPropSymbols$1Q = Object.getOwnPropertySymbols;
5768
- var __hasOwnProp$1Q = Object.prototype.hasOwnProperty;
5769
- var __propIsEnum$1Q = Object.prototype.propertyIsEnumerable;
5770
- var __defNormalProp$1Q = (obj, key, value) => key in obj ? __defProp$1Q(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
5771
- var __spreadValues$1Q = (a, b) => {
5766
+ var __defProp$1P = Object.defineProperty;
5767
+ var __getOwnPropSymbols$1P = Object.getOwnPropertySymbols;
5768
+ var __hasOwnProp$1P = Object.prototype.hasOwnProperty;
5769
+ var __propIsEnum$1P = Object.prototype.propertyIsEnumerable;
5770
+ var __defNormalProp$1P = (obj, key, value) => key in obj ? __defProp$1P(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
5771
+ var __spreadValues$1P = (a, b) => {
5772
5772
  for (var prop in b || (b = {}))
5773
- if (__hasOwnProp$1Q.call(b, prop))
5774
- __defNormalProp$1Q(a, prop, b[prop]);
5775
- if (__getOwnPropSymbols$1Q)
5776
- for (var prop of __getOwnPropSymbols$1Q(b)) {
5777
- if (__propIsEnum$1Q.call(b, prop))
5778
- __defNormalProp$1Q(a, prop, b[prop]);
5773
+ if (__hasOwnProp$1P.call(b, prop))
5774
+ __defNormalProp$1P(a, prop, b[prop]);
5775
+ if (__getOwnPropSymbols$1P)
5776
+ for (var prop of __getOwnPropSymbols$1P(b)) {
5777
+ if (__propIsEnum$1P.call(b, prop))
5778
+ __defNormalProp$1P(a, prop, b[prop]);
5779
5779
  }
5780
5780
  return a;
5781
5781
  };
5782
- var __objRest$1r = (source, exclude) => {
5782
+ var __objRest$1t = (source, exclude) => {
5783
5783
  var target = {};
5784
5784
  for (var prop in source)
5785
- if (__hasOwnProp$1Q.call(source, prop) && exclude.indexOf(prop) < 0)
5785
+ if (__hasOwnProp$1P.call(source, prop) && exclude.indexOf(prop) < 0)
5786
5786
  target[prop] = source[prop];
5787
- if (source != null && __getOwnPropSymbols$1Q)
5788
- for (var prop of __getOwnPropSymbols$1Q(source)) {
5789
- if (exclude.indexOf(prop) < 0 && __propIsEnum$1Q.call(source, prop))
5787
+ if (source != null && __getOwnPropSymbols$1P)
5788
+ for (var prop of __getOwnPropSymbols$1P(source)) {
5789
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$1P.call(source, prop))
5790
5790
  target[prop] = source[prop];
5791
5791
  }
5792
5792
  return target;
@@ -5797,7 +5797,7 @@
5797
5797
  icon,
5798
5798
  "aria-label": ariaLabel,
5799
5799
  children
5800
- } = _b, rest = __objRest$1r(_b, [
5800
+ } = _b, rest = __objRest$1t(_b, [
5801
5801
  "variant",
5802
5802
  "icon",
5803
5803
  "aria-label",
@@ -5808,7 +5808,7 @@
5808
5808
  const IconWithSize = React.cloneElement(IconComponent, { size: (_a2 = IconComponent.props.size) != null ? _a2 : rest.size });
5809
5809
  return /* @__PURE__ */ React.createElement(
5810
5810
  react.IconButton,
5811
- __spreadValues$1Q({
5811
+ __spreadValues$1P({
5812
5812
  variant,
5813
5813
  icon: IconWithSize,
5814
5814
  "aria-label": ariaLabel,
@@ -5861,23 +5861,23 @@
5861
5861
  );
5862
5862
  });
5863
5863
 
5864
- var __defProp$1P = Object.defineProperty;
5865
- var __getOwnPropSymbols$1P = Object.getOwnPropertySymbols;
5866
- var __hasOwnProp$1P = Object.prototype.hasOwnProperty;
5867
- var __propIsEnum$1P = Object.prototype.propertyIsEnumerable;
5868
- var __defNormalProp$1P = (obj, key, value) => key in obj ? __defProp$1P(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
5869
- var __spreadValues$1P = (a, b) => {
5864
+ var __defProp$1O = Object.defineProperty;
5865
+ var __getOwnPropSymbols$1O = Object.getOwnPropertySymbols;
5866
+ var __hasOwnProp$1O = Object.prototype.hasOwnProperty;
5867
+ var __propIsEnum$1O = Object.prototype.propertyIsEnumerable;
5868
+ var __defNormalProp$1O = (obj, key, value) => key in obj ? __defProp$1O(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
5869
+ var __spreadValues$1O = (a, b) => {
5870
5870
  for (var prop in b || (b = {}))
5871
- if (__hasOwnProp$1P.call(b, prop))
5872
- __defNormalProp$1P(a, prop, b[prop]);
5873
- if (__getOwnPropSymbols$1P)
5874
- for (var prop of __getOwnPropSymbols$1P(b)) {
5875
- if (__propIsEnum$1P.call(b, prop))
5876
- __defNormalProp$1P(a, prop, b[prop]);
5871
+ if (__hasOwnProp$1O.call(b, prop))
5872
+ __defNormalProp$1O(a, prop, b[prop]);
5873
+ if (__getOwnPropSymbols$1O)
5874
+ for (var prop of __getOwnPropSymbols$1O(b)) {
5875
+ if (__propIsEnum$1O.call(b, prop))
5876
+ __defNormalProp$1O(a, prop, b[prop]);
5877
5877
  }
5878
5878
  return a;
5879
5879
  };
5880
- const Popover = (props) => /* @__PURE__ */ React.createElement(react.Popover, __spreadValues$1P({ isLazy: true }, props));
5880
+ const Popover = (props) => /* @__PURE__ */ React.createElement(react.Popover, __spreadValues$1O({ isLazy: true }, props));
5881
5881
 
5882
5882
  const ColorsExpandButton = ({
5883
5883
  onClick,
@@ -5917,41 +5917,6 @@
5917
5917
  );
5918
5918
  };
5919
5919
 
5920
- var __defProp$1O = Object.defineProperty;
5921
- var __getOwnPropSymbols$1O = Object.getOwnPropertySymbols;
5922
- var __hasOwnProp$1O = Object.prototype.hasOwnProperty;
5923
- var __propIsEnum$1O = Object.prototype.propertyIsEnumerable;
5924
- var __defNormalProp$1O = (obj, key, value) => key in obj ? __defProp$1O(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
5925
- var __spreadValues$1O = (a, b) => {
5926
- for (var prop in b || (b = {}))
5927
- if (__hasOwnProp$1O.call(b, prop))
5928
- __defNormalProp$1O(a, prop, b[prop]);
5929
- if (__getOwnPropSymbols$1O)
5930
- for (var prop of __getOwnPropSymbols$1O(b)) {
5931
- if (__propIsEnum$1O.call(b, prop))
5932
- __defNormalProp$1O(a, prop, b[prop]);
5933
- }
5934
- return a;
5935
- };
5936
- var __objRest$1q = (source, exclude) => {
5937
- var target = {};
5938
- for (var prop in source)
5939
- if (__hasOwnProp$1O.call(source, prop) && exclude.indexOf(prop) < 0)
5940
- target[prop] = source[prop];
5941
- if (source != null && __getOwnPropSymbols$1O)
5942
- for (var prop of __getOwnPropSymbols$1O(source)) {
5943
- if (exclude.indexOf(prop) < 0 && __propIsEnum$1O.call(source, prop))
5944
- target[prop] = source[prop];
5945
- }
5946
- return target;
5947
- };
5948
- const RenderInPortal = (_a) => {
5949
- var _b = _a, { shouldRenderInPortal, children } = _b, rest = __objRest$1q(_b, ["shouldRenderInPortal", "children"]);
5950
- if (!shouldRenderInPortal)
5951
- return children;
5952
- return /* @__PURE__ */ React.createElement(react.Portal, __spreadValues$1O({}, rest), children);
5953
- };
5954
-
5955
5920
  var __defProp$1N = Object.defineProperty;
5956
5921
  var __getOwnPropSymbols$1N = Object.getOwnPropertySymbols;
5957
5922
  var __hasOwnProp$1N = Object.prototype.hasOwnProperty;
@@ -5968,7 +5933,7 @@
5968
5933
  }
5969
5934
  return a;
5970
5935
  };
5971
- var __objRest$1p = (source, exclude) => {
5936
+ var __objRest$1s = (source, exclude) => {
5972
5937
  var target = {};
5973
5938
  for (var prop in source)
5974
5939
  if (__hasOwnProp$1N.call(source, prop) && exclude.indexOf(prop) < 0)
@@ -5980,6 +5945,41 @@
5980
5945
  }
5981
5946
  return target;
5982
5947
  };
5948
+ const RenderInPortal = (_a) => {
5949
+ var _b = _a, { shouldRenderInPortal, children } = _b, rest = __objRest$1s(_b, ["shouldRenderInPortal", "children"]);
5950
+ if (!shouldRenderInPortal)
5951
+ return children;
5952
+ return /* @__PURE__ */ React.createElement(react.Portal, __spreadValues$1N({}, rest), children);
5953
+ };
5954
+
5955
+ var __defProp$1M = Object.defineProperty;
5956
+ var __getOwnPropSymbols$1M = Object.getOwnPropertySymbols;
5957
+ var __hasOwnProp$1M = Object.prototype.hasOwnProperty;
5958
+ var __propIsEnum$1M = Object.prototype.propertyIsEnumerable;
5959
+ var __defNormalProp$1M = (obj, key, value) => key in obj ? __defProp$1M(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
5960
+ var __spreadValues$1M = (a, b) => {
5961
+ for (var prop in b || (b = {}))
5962
+ if (__hasOwnProp$1M.call(b, prop))
5963
+ __defNormalProp$1M(a, prop, b[prop]);
5964
+ if (__getOwnPropSymbols$1M)
5965
+ for (var prop of __getOwnPropSymbols$1M(b)) {
5966
+ if (__propIsEnum$1M.call(b, prop))
5967
+ __defNormalProp$1M(a, prop, b[prop]);
5968
+ }
5969
+ return a;
5970
+ };
5971
+ var __objRest$1r = (source, exclude) => {
5972
+ var target = {};
5973
+ for (var prop in source)
5974
+ if (__hasOwnProp$1M.call(source, prop) && exclude.indexOf(prop) < 0)
5975
+ target[prop] = source[prop];
5976
+ if (source != null && __getOwnPropSymbols$1M)
5977
+ for (var prop of __getOwnPropSymbols$1M(source)) {
5978
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$1M.call(source, prop))
5979
+ target[prop] = source[prop];
5980
+ }
5981
+ return target;
5982
+ };
5983
5983
  const ColorPicker = (_a) => {
5984
5984
  var _b = _a, {
5985
5985
  onChange = () => {
@@ -5992,7 +5992,7 @@
5992
5992
  size = "md",
5993
5993
  shouldRenderInPortal = false,
5994
5994
  popoverProps
5995
- } = _b, rest = __objRest$1p(_b, [
5995
+ } = _b, rest = __objRest$1r(_b, [
5996
5996
  "onChange",
5997
5997
  "clearable",
5998
5998
  "colors",
@@ -6057,14 +6057,14 @@
6057
6057
  };
6058
6058
  return /* @__PURE__ */ React.createElement(react.Box, { "data-testid": "color-picker-test-id" }, /* @__PURE__ */ React.createElement(
6059
6059
  Popover,
6060
- __spreadValues$1N({
6060
+ __spreadValues$1M({
6061
6061
  isOpen,
6062
6062
  onClose,
6063
6063
  initialFocusRef
6064
6064
  }, popoverProps),
6065
6065
  /* @__PURE__ */ React.createElement(react.PopoverTrigger, null, /* @__PURE__ */ React.createElement(
6066
6066
  IconButton,
6067
- __spreadValues$1N({
6067
+ __spreadValues$1M({
6068
6068
  onClick: onToggle,
6069
6069
  "aria-label": name || "color picker",
6070
6070
  name,
@@ -6127,30 +6127,30 @@
6127
6127
  ));
6128
6128
  };
6129
6129
 
6130
- var __defProp$1M = Object.defineProperty;
6131
- var __getOwnPropSymbols$1M = Object.getOwnPropertySymbols;
6132
- var __hasOwnProp$1M = Object.prototype.hasOwnProperty;
6133
- var __propIsEnum$1M = Object.prototype.propertyIsEnumerable;
6134
- var __defNormalProp$1M = (obj, key, value) => key in obj ? __defProp$1M(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
6135
- var __spreadValues$1M = (a, b) => {
6130
+ var __defProp$1L = Object.defineProperty;
6131
+ var __getOwnPropSymbols$1L = Object.getOwnPropertySymbols;
6132
+ var __hasOwnProp$1L = Object.prototype.hasOwnProperty;
6133
+ var __propIsEnum$1L = Object.prototype.propertyIsEnumerable;
6134
+ var __defNormalProp$1L = (obj, key, value) => key in obj ? __defProp$1L(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
6135
+ var __spreadValues$1L = (a, b) => {
6136
6136
  for (var prop in b || (b = {}))
6137
- if (__hasOwnProp$1M.call(b, prop))
6138
- __defNormalProp$1M(a, prop, b[prop]);
6139
- if (__getOwnPropSymbols$1M)
6140
- for (var prop of __getOwnPropSymbols$1M(b)) {
6141
- if (__propIsEnum$1M.call(b, prop))
6142
- __defNormalProp$1M(a, prop, b[prop]);
6137
+ if (__hasOwnProp$1L.call(b, prop))
6138
+ __defNormalProp$1L(a, prop, b[prop]);
6139
+ if (__getOwnPropSymbols$1L)
6140
+ for (var prop of __getOwnPropSymbols$1L(b)) {
6141
+ if (__propIsEnum$1L.call(b, prop))
6142
+ __defNormalProp$1L(a, prop, b[prop]);
6143
6143
  }
6144
6144
  return a;
6145
6145
  };
6146
- var __objRest$1o = (source, exclude) => {
6146
+ var __objRest$1q = (source, exclude) => {
6147
6147
  var target = {};
6148
6148
  for (var prop in source)
6149
- if (__hasOwnProp$1M.call(source, prop) && exclude.indexOf(prop) < 0)
6149
+ if (__hasOwnProp$1L.call(source, prop) && exclude.indexOf(prop) < 0)
6150
6150
  target[prop] = source[prop];
6151
- if (source != null && __getOwnPropSymbols$1M)
6152
- for (var prop of __getOwnPropSymbols$1M(source)) {
6153
- if (exclude.indexOf(prop) < 0 && __propIsEnum$1M.call(source, prop))
6151
+ if (source != null && __getOwnPropSymbols$1L)
6152
+ for (var prop of __getOwnPropSymbols$1L(source)) {
6153
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$1L.call(source, prop))
6154
6154
  target[prop] = source[prop];
6155
6155
  }
6156
6156
  return target;
@@ -6162,7 +6162,7 @@
6162
6162
  direction,
6163
6163
  isRequired,
6164
6164
  validate
6165
- } = _b, rest = __objRest$1o(_b, [
6165
+ } = _b, rest = __objRest$1q(_b, [
6166
6166
  "name",
6167
6167
  "label",
6168
6168
  "direction",
@@ -6180,7 +6180,7 @@
6180
6180
  },
6181
6181
  ({ onChange, value }) => /* @__PURE__ */ React.createElement(
6182
6182
  ColorPicker,
6183
- __spreadValues$1M({
6183
+ __spreadValues$1L({
6184
6184
  name,
6185
6185
  onChange,
6186
6186
  value
@@ -6189,29 +6189,29 @@
6189
6189
  );
6190
6190
  };
6191
6191
 
6192
- var __defProp$1L = Object.defineProperty;
6193
- var __defProps$t = Object.defineProperties;
6194
- var __getOwnPropDescs$t = Object.getOwnPropertyDescriptors;
6195
- var __getOwnPropSymbols$1L = Object.getOwnPropertySymbols;
6196
- var __hasOwnProp$1L = Object.prototype.hasOwnProperty;
6197
- var __propIsEnum$1L = Object.prototype.propertyIsEnumerable;
6198
- var __defNormalProp$1L = (obj, key, value) => key in obj ? __defProp$1L(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
6199
- var __spreadValues$1L = (a, b) => {
6192
+ var __defProp$1K = Object.defineProperty;
6193
+ var __defProps$s = Object.defineProperties;
6194
+ var __getOwnPropDescs$s = Object.getOwnPropertyDescriptors;
6195
+ var __getOwnPropSymbols$1K = Object.getOwnPropertySymbols;
6196
+ var __hasOwnProp$1K = Object.prototype.hasOwnProperty;
6197
+ var __propIsEnum$1K = Object.prototype.propertyIsEnumerable;
6198
+ var __defNormalProp$1K = (obj, key, value) => key in obj ? __defProp$1K(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
6199
+ var __spreadValues$1K = (a, b) => {
6200
6200
  for (var prop in b || (b = {}))
6201
- if (__hasOwnProp$1L.call(b, prop))
6202
- __defNormalProp$1L(a, prop, b[prop]);
6203
- if (__getOwnPropSymbols$1L)
6204
- for (var prop of __getOwnPropSymbols$1L(b)) {
6205
- if (__propIsEnum$1L.call(b, prop))
6206
- __defNormalProp$1L(a, prop, b[prop]);
6201
+ if (__hasOwnProp$1K.call(b, prop))
6202
+ __defNormalProp$1K(a, prop, b[prop]);
6203
+ if (__getOwnPropSymbols$1K)
6204
+ for (var prop of __getOwnPropSymbols$1K(b)) {
6205
+ if (__propIsEnum$1K.call(b, prop))
6206
+ __defNormalProp$1K(a, prop, b[prop]);
6207
6207
  }
6208
6208
  return a;
6209
6209
  };
6210
- var __spreadProps$t = (a, b) => __defProps$t(a, __getOwnPropDescs$t(b));
6210
+ var __spreadProps$s = (a, b) => __defProps$s(a, __getOwnPropDescs$s(b));
6211
6211
  const FlipButtonContext = React.createContext(null);
6212
6212
  const useFlipButtonState = (props, isMulti) => isMulti ? checkbox.useCheckboxGroupState(props) : radio.useRadioGroupState(props);
6213
6213
  const useFlipButtonGroup = (props, state, isMulti) => {
6214
- const propsWithLabel = __spreadProps$t(__spreadValues$1L({}, props), {
6214
+ const propsWithLabel = __spreadProps$s(__spreadValues$1K({}, props), {
6215
6215
  "aria-label": `${isMulti ? "Checkbox" : "Radio"}-button-group`
6216
6216
  });
6217
6217
  return isMulti ? checkbox$1.useCheckboxGroup(
@@ -6228,33 +6228,33 @@
6228
6228
  return { state, flipButtonGroupProps };
6229
6229
  };
6230
6230
 
6231
- var __defProp$1K = Object.defineProperty;
6232
- var __defProps$s = Object.defineProperties;
6233
- var __getOwnPropDescs$s = Object.getOwnPropertyDescriptors;
6234
- var __getOwnPropSymbols$1K = Object.getOwnPropertySymbols;
6235
- var __hasOwnProp$1K = Object.prototype.hasOwnProperty;
6236
- var __propIsEnum$1K = Object.prototype.propertyIsEnumerable;
6237
- var __defNormalProp$1K = (obj, key, value) => key in obj ? __defProp$1K(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
6238
- var __spreadValues$1K = (a, b) => {
6231
+ var __defProp$1J = Object.defineProperty;
6232
+ var __defProps$r = Object.defineProperties;
6233
+ var __getOwnPropDescs$r = Object.getOwnPropertyDescriptors;
6234
+ var __getOwnPropSymbols$1J = Object.getOwnPropertySymbols;
6235
+ var __hasOwnProp$1J = Object.prototype.hasOwnProperty;
6236
+ var __propIsEnum$1J = Object.prototype.propertyIsEnumerable;
6237
+ var __defNormalProp$1J = (obj, key, value) => key in obj ? __defProp$1J(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
6238
+ var __spreadValues$1J = (a, b) => {
6239
6239
  for (var prop in b || (b = {}))
6240
- if (__hasOwnProp$1K.call(b, prop))
6241
- __defNormalProp$1K(a, prop, b[prop]);
6242
- if (__getOwnPropSymbols$1K)
6243
- for (var prop of __getOwnPropSymbols$1K(b)) {
6244
- if (__propIsEnum$1K.call(b, prop))
6245
- __defNormalProp$1K(a, prop, b[prop]);
6240
+ if (__hasOwnProp$1J.call(b, prop))
6241
+ __defNormalProp$1J(a, prop, b[prop]);
6242
+ if (__getOwnPropSymbols$1J)
6243
+ for (var prop of __getOwnPropSymbols$1J(b)) {
6244
+ if (__propIsEnum$1J.call(b, prop))
6245
+ __defNormalProp$1J(a, prop, b[prop]);
6246
6246
  }
6247
6247
  return a;
6248
6248
  };
6249
- var __spreadProps$s = (a, b) => __defProps$s(a, __getOwnPropDescs$s(b));
6250
- var __objRest$1n = (source, exclude) => {
6249
+ var __spreadProps$r = (a, b) => __defProps$r(a, __getOwnPropDescs$r(b));
6250
+ var __objRest$1p = (source, exclude) => {
6251
6251
  var target = {};
6252
6252
  for (var prop in source)
6253
- if (__hasOwnProp$1K.call(source, prop) && exclude.indexOf(prop) < 0)
6253
+ if (__hasOwnProp$1J.call(source, prop) && exclude.indexOf(prop) < 0)
6254
6254
  target[prop] = source[prop];
6255
- if (source != null && __getOwnPropSymbols$1K)
6256
- for (var prop of __getOwnPropSymbols$1K(source)) {
6257
- if (exclude.indexOf(prop) < 0 && __propIsEnum$1K.call(source, prop))
6255
+ if (source != null && __getOwnPropSymbols$1J)
6256
+ for (var prop of __getOwnPropSymbols$1J(source)) {
6257
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$1J.call(source, prop))
6258
6258
  target[prop] = source[prop];
6259
6259
  }
6260
6260
  return target;
@@ -6269,7 +6269,7 @@
6269
6269
  icon,
6270
6270
  value,
6271
6271
  iconPlacement = "left"
6272
- } = _a, rest = __objRest$1n(_a, [
6272
+ } = _a, rest = __objRest$1p(_a, [
6273
6273
  "children",
6274
6274
  "size",
6275
6275
  "variant",
@@ -6281,7 +6281,7 @@
6281
6281
  ]);
6282
6282
  const state = React.useContext(FlipButtonContext);
6283
6283
  const ref = React.useRef(null);
6284
- const propsWithoutChildren = ramda.omit(["children"], __spreadProps$s(__spreadValues$1K({}, props), { "aria-label": `${isMulti ? "Checkbox" : "Radio"}-input for ${value}` }));
6284
+ const propsWithoutChildren = ramda.omit(["children"], __spreadProps$r(__spreadValues$1J({}, props), { "aria-label": `${isMulti ? "Checkbox" : "Radio"}-input for ${value}` }));
6285
6285
  const { inputProps } = isMulti ? checkbox$1.useCheckboxGroupItem(propsWithoutChildren, state, ref) : radio$1.useRadio(propsWithoutChildren, state, ref);
6286
6286
  const { button, buttonIcon } = react.useMultiStyleConfig("FlipButton", { size, variant });
6287
6287
  const { focusProps, isFocusVisible: isFocused } = focus.useFocusRing();
@@ -6293,7 +6293,7 @@
6293
6293
  };
6294
6294
  const focusRing = isFocused ? focusStyles : {};
6295
6295
  const isSelected = isMulti ? state.isSelected(value) : state.selectedValue === value;
6296
- const flipButtonProps = __spreadProps$s(__spreadValues$1K({}, utils.mergeProps(inputProps, focusProps)), {
6296
+ const flipButtonProps = __spreadProps$r(__spreadValues$1J({}, utils.mergeProps(inputProps, focusProps)), {
6297
6297
  ref,
6298
6298
  style: { opacity: "0", width: "0", height: "0" },
6299
6299
  "aria-label": isMulti ? "Checkbox-input" : "Radio-input"
@@ -6305,7 +6305,7 @@
6305
6305
  as: "label",
6306
6306
  cursor: "pointer"
6307
6307
  };
6308
- return typeof children === "function" ? children(__spreadValues$1K({
6308
+ return typeof children === "function" ? children(__spreadValues$1J({
6309
6309
  state,
6310
6310
  containerProps,
6311
6311
  flipButtonProps,
@@ -6325,39 +6325,39 @@
6325
6325
  as: "label",
6326
6326
  ref: wrapperRef
6327
6327
  },
6328
- /* @__PURE__ */ React.createElement("input", __spreadValues$1K({}, flipButtonProps)),
6328
+ /* @__PURE__ */ React.createElement("input", __spreadValues$1J({}, flipButtonProps)),
6329
6329
  icon && iconPlacement !== "none" ? /* @__PURE__ */ React.createElement(Icon, { as: icon || NorthlightIcons.CheckSolid, sx: buttonIcon }) : isSelected && iconPlacement !== "none" && /* @__PURE__ */ React.createElement(react.SlideFade, { in: isSelected }, /* @__PURE__ */ React.createElement(Icon, { as: icon || NorthlightIcons.CheckSolid, sx: buttonIcon })),
6330
6330
  /* @__PURE__ */ React.createElement(react.Text, { textAlign: "center" }, children)
6331
6331
  );
6332
6332
  });
6333
6333
 
6334
- var __defProp$1J = Object.defineProperty;
6335
- var __defProps$r = Object.defineProperties;
6336
- var __getOwnPropDescs$r = Object.getOwnPropertyDescriptors;
6337
- var __getOwnPropSymbols$1J = Object.getOwnPropertySymbols;
6338
- var __hasOwnProp$1J = Object.prototype.hasOwnProperty;
6339
- var __propIsEnum$1J = Object.prototype.propertyIsEnumerable;
6340
- var __defNormalProp$1J = (obj, key, value) => key in obj ? __defProp$1J(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
6341
- var __spreadValues$1J = (a, b) => {
6334
+ var __defProp$1I = Object.defineProperty;
6335
+ var __defProps$q = Object.defineProperties;
6336
+ var __getOwnPropDescs$q = Object.getOwnPropertyDescriptors;
6337
+ var __getOwnPropSymbols$1I = Object.getOwnPropertySymbols;
6338
+ var __hasOwnProp$1I = Object.prototype.hasOwnProperty;
6339
+ var __propIsEnum$1I = Object.prototype.propertyIsEnumerable;
6340
+ var __defNormalProp$1I = (obj, key, value) => key in obj ? __defProp$1I(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
6341
+ var __spreadValues$1I = (a, b) => {
6342
6342
  for (var prop in b || (b = {}))
6343
- if (__hasOwnProp$1J.call(b, prop))
6344
- __defNormalProp$1J(a, prop, b[prop]);
6345
- if (__getOwnPropSymbols$1J)
6346
- for (var prop of __getOwnPropSymbols$1J(b)) {
6347
- if (__propIsEnum$1J.call(b, prop))
6348
- __defNormalProp$1J(a, prop, b[prop]);
6343
+ if (__hasOwnProp$1I.call(b, prop))
6344
+ __defNormalProp$1I(a, prop, b[prop]);
6345
+ if (__getOwnPropSymbols$1I)
6346
+ for (var prop of __getOwnPropSymbols$1I(b)) {
6347
+ if (__propIsEnum$1I.call(b, prop))
6348
+ __defNormalProp$1I(a, prop, b[prop]);
6349
6349
  }
6350
6350
  return a;
6351
6351
  };
6352
- var __spreadProps$r = (a, b) => __defProps$r(a, __getOwnPropDescs$r(b));
6353
- var __objRest$1m = (source, exclude) => {
6352
+ var __spreadProps$q = (a, b) => __defProps$q(a, __getOwnPropDescs$q(b));
6353
+ var __objRest$1o = (source, exclude) => {
6354
6354
  var target = {};
6355
6355
  for (var prop in source)
6356
- if (__hasOwnProp$1J.call(source, prop) && exclude.indexOf(prop) < 0)
6356
+ if (__hasOwnProp$1I.call(source, prop) && exclude.indexOf(prop) < 0)
6357
6357
  target[prop] = source[prop];
6358
- if (source != null && __getOwnPropSymbols$1J)
6359
- for (var prop of __getOwnPropSymbols$1J(source)) {
6360
- if (exclude.indexOf(prop) < 0 && __propIsEnum$1J.call(source, prop))
6358
+ if (source != null && __getOwnPropSymbols$1I)
6359
+ for (var prop of __getOwnPropSymbols$1I(source)) {
6360
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$1I.call(source, prop))
6361
6361
  target[prop] = source[prop];
6362
6362
  }
6363
6363
  return target;
@@ -6374,7 +6374,7 @@
6374
6374
  variant,
6375
6375
  icon,
6376
6376
  sx = {}
6377
- } = _a, rest = __objRest$1m(_a, [
6377
+ } = _a, rest = __objRest$1o(_a, [
6378
6378
  "isMulti",
6379
6379
  "name",
6380
6380
  "children",
@@ -6389,7 +6389,7 @@
6389
6389
  const { state, flipButtonGroupProps } = useFlipButton(props, isMulti);
6390
6390
  const numberOfButtons = React.Children.count(children);
6391
6391
  const childrenWithProps = React.Children.toArray(children).map(
6392
- (child) => React.isValidElement(child) ? React.cloneElement(child, __spreadValues$1J({
6392
+ (child) => React.isValidElement(child) ? React.cloneElement(child, __spreadValues$1I({
6393
6393
  key: child.props.value,
6394
6394
  isMulti,
6395
6395
  variant,
@@ -6408,7 +6408,7 @@
6408
6408
  const restWithoutOnChange = ramda.omit(["onChange"], rest);
6409
6409
  return /* @__PURE__ */ React.createElement(
6410
6410
  react.Stack,
6411
- __spreadValues$1J(__spreadProps$r(__spreadValues$1J({}, flipButtonGroupProps), {
6411
+ __spreadValues$1I(__spreadProps$q(__spreadValues$1I({}, flipButtonGroupProps), {
6412
6412
  direction,
6413
6413
  id: name,
6414
6414
  spacing: 0,
@@ -6418,30 +6418,30 @@
6418
6418
  );
6419
6419
  };
6420
6420
 
6421
- var __defProp$1I = Object.defineProperty;
6422
- var __getOwnPropSymbols$1I = Object.getOwnPropertySymbols;
6423
- var __hasOwnProp$1I = Object.prototype.hasOwnProperty;
6424
- var __propIsEnum$1I = Object.prototype.propertyIsEnumerable;
6425
- var __defNormalProp$1I = (obj, key, value) => key in obj ? __defProp$1I(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
6426
- var __spreadValues$1I = (a, b) => {
6427
- for (var prop in b || (b = {}))
6428
- if (__hasOwnProp$1I.call(b, prop))
6429
- __defNormalProp$1I(a, prop, b[prop]);
6430
- if (__getOwnPropSymbols$1I)
6431
- for (var prop of __getOwnPropSymbols$1I(b)) {
6432
- if (__propIsEnum$1I.call(b, prop))
6433
- __defNormalProp$1I(a, prop, b[prop]);
6421
+ var __defProp$1H = Object.defineProperty;
6422
+ var __getOwnPropSymbols$1H = Object.getOwnPropertySymbols;
6423
+ var __hasOwnProp$1H = Object.prototype.hasOwnProperty;
6424
+ var __propIsEnum$1H = Object.prototype.propertyIsEnumerable;
6425
+ var __defNormalProp$1H = (obj, key, value) => key in obj ? __defProp$1H(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
6426
+ var __spreadValues$1H = (a, b) => {
6427
+ for (var prop in b || (b = {}))
6428
+ if (__hasOwnProp$1H.call(b, prop))
6429
+ __defNormalProp$1H(a, prop, b[prop]);
6430
+ if (__getOwnPropSymbols$1H)
6431
+ for (var prop of __getOwnPropSymbols$1H(b)) {
6432
+ if (__propIsEnum$1H.call(b, prop))
6433
+ __defNormalProp$1H(a, prop, b[prop]);
6434
6434
  }
6435
6435
  return a;
6436
6436
  };
6437
- var __objRest$1l = (source, exclude) => {
6437
+ var __objRest$1n = (source, exclude) => {
6438
6438
  var target = {};
6439
6439
  for (var prop in source)
6440
- if (__hasOwnProp$1I.call(source, prop) && exclude.indexOf(prop) < 0)
6440
+ if (__hasOwnProp$1H.call(source, prop) && exclude.indexOf(prop) < 0)
6441
6441
  target[prop] = source[prop];
6442
- if (source != null && __getOwnPropSymbols$1I)
6443
- for (var prop of __getOwnPropSymbols$1I(source)) {
6444
- if (exclude.indexOf(prop) < 0 && __propIsEnum$1I.call(source, prop))
6442
+ if (source != null && __getOwnPropSymbols$1H)
6443
+ for (var prop of __getOwnPropSymbols$1H(source)) {
6444
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$1H.call(source, prop))
6445
6445
  target[prop] = source[prop];
6446
6446
  }
6447
6447
  return target;
@@ -6456,7 +6456,7 @@
6456
6456
  iconPlacement = "left",
6457
6457
  onChange: onChangeCallback = ramda.identity,
6458
6458
  validate
6459
- } = _b, rest = __objRest$1l(_b, [
6459
+ } = _b, rest = __objRest$1n(_b, [
6460
6460
  "name",
6461
6461
  "label",
6462
6462
  "children",
@@ -6478,7 +6478,7 @@
6478
6478
  },
6479
6479
  ({ onChange, value }) => /* @__PURE__ */ React.createElement(
6480
6480
  FlipButtonGroup,
6481
- __spreadValues$1I({
6481
+ __spreadValues$1H({
6482
6482
  name,
6483
6483
  onChange: (e) => {
6484
6484
  onChange(e);
@@ -6493,30 +6493,30 @@
6493
6493
  );
6494
6494
  });
6495
6495
 
6496
- var __defProp$1H = Object.defineProperty;
6497
- var __getOwnPropSymbols$1H = Object.getOwnPropertySymbols;
6498
- var __hasOwnProp$1H = Object.prototype.hasOwnProperty;
6499
- var __propIsEnum$1H = Object.prototype.propertyIsEnumerable;
6500
- var __defNormalProp$1H = (obj, key, value) => key in obj ? __defProp$1H(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
6501
- var __spreadValues$1H = (a, b) => {
6496
+ var __defProp$1G = Object.defineProperty;
6497
+ var __getOwnPropSymbols$1G = Object.getOwnPropertySymbols;
6498
+ var __hasOwnProp$1G = Object.prototype.hasOwnProperty;
6499
+ var __propIsEnum$1G = Object.prototype.propertyIsEnumerable;
6500
+ var __defNormalProp$1G = (obj, key, value) => key in obj ? __defProp$1G(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
6501
+ var __spreadValues$1G = (a, b) => {
6502
6502
  for (var prop in b || (b = {}))
6503
- if (__hasOwnProp$1H.call(b, prop))
6504
- __defNormalProp$1H(a, prop, b[prop]);
6505
- if (__getOwnPropSymbols$1H)
6506
- for (var prop of __getOwnPropSymbols$1H(b)) {
6507
- if (__propIsEnum$1H.call(b, prop))
6508
- __defNormalProp$1H(a, prop, b[prop]);
6503
+ if (__hasOwnProp$1G.call(b, prop))
6504
+ __defNormalProp$1G(a, prop, b[prop]);
6505
+ if (__getOwnPropSymbols$1G)
6506
+ for (var prop of __getOwnPropSymbols$1G(b)) {
6507
+ if (__propIsEnum$1G.call(b, prop))
6508
+ __defNormalProp$1G(a, prop, b[prop]);
6509
6509
  }
6510
6510
  return a;
6511
6511
  };
6512
- var __objRest$1k = (source, exclude) => {
6512
+ var __objRest$1m = (source, exclude) => {
6513
6513
  var target = {};
6514
6514
  for (var prop in source)
6515
- if (__hasOwnProp$1H.call(source, prop) && exclude.indexOf(prop) < 0)
6515
+ if (__hasOwnProp$1G.call(source, prop) && exclude.indexOf(prop) < 0)
6516
6516
  target[prop] = source[prop];
6517
- if (source != null && __getOwnPropSymbols$1H)
6518
- for (var prop of __getOwnPropSymbols$1H(source)) {
6519
- if (exclude.indexOf(prop) < 0 && __propIsEnum$1H.call(source, prop))
6517
+ if (source != null && __getOwnPropSymbols$1G)
6518
+ for (var prop of __getOwnPropSymbols$1G(source)) {
6519
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$1G.call(source, prop))
6520
6520
  target[prop] = source[prop];
6521
6521
  }
6522
6522
  return target;
@@ -6526,10 +6526,10 @@
6526
6526
  };
6527
6527
  const ResizeHandle = React.forwardRef(
6528
6528
  (_a, ref) => {
6529
- var _b = _a, { color } = _b, rest = __objRest$1k(_b, ["color"]);
6529
+ var _b = _a, { color } = _b, rest = __objRest$1m(_b, ["color"]);
6530
6530
  return /* @__PURE__ */ React.createElement(
6531
6531
  react.Box,
6532
- __spreadValues$1H({
6532
+ __spreadValues$1G({
6533
6533
  ref,
6534
6534
  cursor: "col-resize",
6535
6535
  _hover: hoverAndActiveStyles,
@@ -6546,40 +6546,42 @@
6546
6546
  }
6547
6547
  );
6548
6548
 
6549
- var __defProp$1G = Object.defineProperty;
6550
- var __defProps$q = Object.defineProperties;
6551
- var __getOwnPropDescs$q = Object.getOwnPropertyDescriptors;
6552
- var __getOwnPropSymbols$1G = Object.getOwnPropertySymbols;
6553
- var __hasOwnProp$1G = Object.prototype.hasOwnProperty;
6554
- var __propIsEnum$1G = Object.prototype.propertyIsEnumerable;
6555
- var __defNormalProp$1G = (obj, key, value) => key in obj ? __defProp$1G(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
6556
- var __spreadValues$1G = (a, b) => {
6557
- for (var prop in b || (b = {}))
6558
- if (__hasOwnProp$1G.call(b, prop))
6559
- __defNormalProp$1G(a, prop, b[prop]);
6560
- if (__getOwnPropSymbols$1G)
6561
- for (var prop of __getOwnPropSymbols$1G(b)) {
6562
- if (__propIsEnum$1G.call(b, prop))
6563
- __defNormalProp$1G(a, prop, b[prop]);
6564
- }
6565
- return a;
6566
- };
6567
- var __spreadProps$q = (a, b) => __defProps$q(a, __getOwnPropDescs$q(b));
6568
6549
  const Trigger = (props) => {
6569
- const { isDisabled, handleClick } = props;
6550
+ const {
6551
+ id,
6552
+ "aria-haspopup": ariaHasPopup,
6553
+ "aria-label": ariaLabel,
6554
+ "aria-labelledby": ariaLabelledBy,
6555
+ "aria-describedby": ariaDescribedBy,
6556
+ "aria-expanded": ariaExpanded,
6557
+ isDisabled,
6558
+ handleClick
6559
+ } = props;
6570
6560
  const ref = React.useRef(null);
6571
- const { buttonProps } = button.useButton(props, ref);
6561
+ const handleKeyDown = (e) => {
6562
+ if (e.key === "Enter") {
6563
+ e.preventDefault();
6564
+ handleClick();
6565
+ }
6566
+ };
6572
6567
  return /* @__PURE__ */ React.createElement(
6573
6568
  Button,
6574
- __spreadProps$q(__spreadValues$1G({}, buttonProps), {
6569
+ {
6575
6570
  ref,
6571
+ id,
6572
+ "aria-haspopup": ariaHasPopup,
6573
+ "aria-label": ariaLabel,
6574
+ "aria-labelledby": ariaLabelledBy,
6575
+ "aria-describedby": ariaDescribedBy,
6576
+ "aria-expanded": ariaExpanded,
6576
6577
  size: "sm",
6577
6578
  boxSize: 8,
6578
6579
  variant: "ghost",
6579
6580
  isDisabled,
6580
- onPointerDown: handleClick,
6581
+ onClick: handleClick,
6582
+ onKeyDown: handleKeyDown,
6581
6583
  pointerEvents: isDisabled ? "none" : "auto"
6582
- }),
6584
+ },
6583
6585
  /* @__PURE__ */ React.createElement(Icon, { as: NorthlightIcons.CalendarDuo })
6584
6586
  );
6585
6587
  };
@@ -6703,7 +6705,7 @@
6703
6705
  return a;
6704
6706
  };
6705
6707
  var __spreadProps$n = (a, b) => __defProps$n(a, __getOwnPropDescs$n(b));
6706
- var __objRest$1j = (source, exclude) => {
6708
+ var __objRest$1l = (source, exclude) => {
6707
6709
  var target = {};
6708
6710
  for (var prop in source)
6709
6711
  if (__hasOwnProp$1D.call(source, prop) && exclude.indexOf(prop) < 0)
@@ -6717,7 +6719,7 @@
6717
6719
  };
6718
6720
  const StyledField = React.forwardRef(
6719
6721
  (_a, ref) => {
6720
- var _b = _a, { isInvalid, isDisabled, children, variant } = _b, rest = __objRest$1j(_b, ["isInvalid", "isDisabled", "children", "variant"]);
6722
+ var _b = _a, { isInvalid, isDisabled, children, variant } = _b, rest = __objRest$1l(_b, ["isInvalid", "isDisabled", "children", "variant"]);
6721
6723
  const { styledField } = react.useMultiStyleConfig("DatePicker", { variant });
6722
6724
  return /* @__PURE__ */ React.createElement(
6723
6725
  react.Box,
@@ -6828,7 +6830,7 @@
6828
6830
  }
6829
6831
  return a;
6830
6832
  };
6831
- var __objRest$1i = (source, exclude) => {
6833
+ var __objRest$1k = (source, exclude) => {
6832
6834
  var target = {};
6833
6835
  for (var prop in source)
6834
6836
  if (__hasOwnProp$1A.call(source, prop) && exclude.indexOf(prop) < 0)
@@ -6842,7 +6844,7 @@
6842
6844
  };
6843
6845
  const CalendarGrid = React.memo(
6844
6846
  (_a) => {
6845
- var _b = _a, { state, locale, firstDayOfWeek } = _b, rest = __objRest$1i(_b, ["state", "locale", "firstDayOfWeek"]);
6847
+ var _b = _a, { state, locale, firstDayOfWeek } = _b, rest = __objRest$1k(_b, ["state", "locale", "firstDayOfWeek"]);
6846
6848
  const startDate = state.visibleRange.start;
6847
6849
  const { gridProps, headerProps } = calendar.useCalendarGrid(rest, state);
6848
6850
  const weeksInMonth = date.getWeeksInMonth(startDate, locale);
@@ -6883,7 +6885,7 @@
6883
6885
  return a;
6884
6886
  };
6885
6887
  var __spreadProps$l = (a, b) => __defProps$l(a, __getOwnPropDescs$l(b));
6886
- var __objRest$1h = (source, exclude) => {
6888
+ var __objRest$1j = (source, exclude) => {
6887
6889
  var target = {};
6888
6890
  for (var prop in source)
6889
6891
  if (__hasOwnProp$1z.call(source, prop) && exclude.indexOf(prop) < 0)
@@ -6896,7 +6898,7 @@
6896
6898
  return target;
6897
6899
  };
6898
6900
  const MonthButton = (_a) => {
6899
- var _b = _a, { children } = _b, rest = __objRest$1h(_b, ["children"]);
6901
+ var _b = _a, { children } = _b, rest = __objRest$1j(_b, ["children"]);
6900
6902
  const ref = React.useRef(null);
6901
6903
  const { buttonProps } = button.useButton(rest, ref);
6902
6904
  return /* @__PURE__ */ React.createElement(
@@ -7164,7 +7166,7 @@
7164
7166
  return a;
7165
7167
  };
7166
7168
  var __spreadProps$j = (a, b) => __defProps$j(a, __getOwnPropDescs$j(b));
7167
- var __objRest$1g = (source, exclude) => {
7169
+ var __objRest$1i = (source, exclude) => {
7168
7170
  var target = {};
7169
7171
  for (var prop in source)
7170
7172
  if (__hasOwnProp$1x.call(source, prop) && exclude.indexOf(prop) < 0)
@@ -7181,7 +7183,7 @@
7181
7183
  state,
7182
7184
  range,
7183
7185
  firstDayOfWeek
7184
- } = _b, rest = __objRest$1g(_b, [
7186
+ } = _b, rest = __objRest$1i(_b, [
7185
7187
  "state",
7186
7188
  "range",
7187
7189
  "firstDayOfWeek"
@@ -7289,6 +7291,18 @@
7289
7291
  return a;
7290
7292
  };
7291
7293
  var __spreadProps$h = (a, b) => __defProps$h(a, __getOwnPropDescs$h(b));
7294
+ var __objRest$1h = (source, exclude) => {
7295
+ var target = {};
7296
+ for (var prop in source)
7297
+ if (__hasOwnProp$1v.call(source, prop) && exclude.indexOf(prop) < 0)
7298
+ target[prop] = source[prop];
7299
+ if (source != null && __getOwnPropSymbols$1v)
7300
+ for (var prop of __getOwnPropSymbols$1v(source)) {
7301
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$1v.call(source, prop))
7302
+ target[prop] = source[prop];
7303
+ }
7304
+ return target;
7305
+ };
7292
7306
  const DatePicker = (props) => {
7293
7307
  const {
7294
7308
  isDisabled,
@@ -7298,49 +7312,265 @@
7298
7312
  dateFormat,
7299
7313
  minValue,
7300
7314
  variant = "outline",
7301
- firstDayOfWeek = "monday"
7315
+ firstDayOfWeek = "monday",
7316
+ value,
7317
+ defaultValue,
7318
+ onChange,
7319
+ maxValue,
7320
+ isReadOnly,
7321
+ isRequired,
7322
+ placeholderValue,
7323
+ isDateUnavailable,
7324
+ granularity,
7325
+ hourCycle,
7326
+ shouldForceLeadingZeros,
7327
+ pageBehavior,
7328
+ defaultOpen,
7329
+ onOpenChange,
7330
+ label,
7331
+ description,
7332
+ errorMessage,
7333
+ id,
7334
+ name,
7335
+ autoFocus,
7336
+ onFocus,
7337
+ onBlur,
7338
+ onFocusChange,
7339
+ onKeyDown,
7340
+ onKeyUp,
7341
+ "aria-label": ariaLabel,
7342
+ "aria-labelledby": ariaLabelledBy,
7343
+ "aria-describedby": ariaDescribedBy,
7344
+ "aria-details": ariaDetails
7302
7345
  } = props;
7303
7346
  const ref = React.useRef();
7347
+ const dialogRef = React.useRef();
7304
7348
  const { group } = react.useMultiStyleConfig("DatePicker");
7305
- const state = datepicker$1.useDatePickerState(__spreadProps$h(__spreadValues$1v({}, props), {
7349
+ const state = datepicker$1.useDatePickerState({
7350
+ value,
7351
+ defaultValue,
7352
+ onChange,
7353
+ minValue,
7354
+ maxValue,
7355
+ isDisabled,
7356
+ isReadOnly,
7357
+ isRequired,
7358
+ isInvalid,
7359
+ placeholderValue,
7360
+ isDateUnavailable,
7361
+ granularity,
7362
+ hourCycle,
7363
+ shouldForceLeadingZeros,
7364
+ defaultOpen,
7365
+ onOpenChange,
7306
7366
  shouldCloseOnSelect: false,
7307
7367
  hideTimeZone: true
7308
- }));
7368
+ });
7309
7369
  const { buttonProps, fieldProps, calendarProps, groupProps, dialogProps } = datepicker.useDatePicker(
7310
- __spreadProps$h(__spreadValues$1v({}, props), { minValue: minValue || date.parseDate("1994-03-08") }),
7370
+ {
7371
+ value,
7372
+ defaultValue,
7373
+ onChange,
7374
+ minValue: minValue || date.parseDate("1994-03-08"),
7375
+ maxValue,
7376
+ isDisabled,
7377
+ isReadOnly,
7378
+ isRequired,
7379
+ isInvalid,
7380
+ placeholderValue,
7381
+ isDateUnavailable,
7382
+ granularity,
7383
+ hourCycle,
7384
+ shouldForceLeadingZeros,
7385
+ pageBehavior,
7386
+ defaultOpen,
7387
+ onOpenChange,
7388
+ label,
7389
+ description,
7390
+ errorMessage,
7391
+ id,
7392
+ name,
7393
+ autoFocus,
7394
+ onFocus,
7395
+ onBlur,
7396
+ onFocusChange,
7397
+ onKeyDown,
7398
+ onKeyUp,
7399
+ "aria-label": ariaLabel,
7400
+ "aria-labelledby": ariaLabelledBy,
7401
+ "aria-describedby": ariaDescribedBy,
7402
+ "aria-details": ariaDetails
7403
+ },
7311
7404
  state,
7312
7405
  ref
7313
7406
  );
7314
- const togglePopup = () => state.setOpen(!state.isOpen);
7407
+ const {
7408
+ id: buttonId,
7409
+ "aria-haspopup": buttonAriaHasPopup,
7410
+ "aria-label": buttonAriaLabel,
7411
+ "aria-labelledby": buttonAriaLabelledBy,
7412
+ "aria-describedby": buttonAriaDescribedBy,
7413
+ "aria-expanded": buttonAriaExpanded
7414
+ } = buttonProps;
7415
+ const {
7416
+ id: dialogId,
7417
+ "aria-labelledby": dialogAriaLabelledBy
7418
+ } = dialogProps;
7419
+ const {
7420
+ autoFocus: calAutoFocus,
7421
+ value: calValue,
7422
+ onChange: calOnChange,
7423
+ minValue: calMinValue,
7424
+ maxValue: calMaxValue,
7425
+ isDisabled: calIsDisabled,
7426
+ isReadOnly: calIsReadOnly,
7427
+ isDateUnavailable: calIsDateUnavailable,
7428
+ defaultFocusedValue: calDefaultFocusedValue,
7429
+ isInvalid: calIsInvalid,
7430
+ errorMessage: calErrorMessage
7431
+ } = calendarProps;
7432
+ const _a = fieldProps, {
7433
+ id: fieldId,
7434
+ "aria-describedby": fieldAriaDescribedBy,
7435
+ "aria-labelledby": fieldAriaLabelledBy,
7436
+ value: fieldValue,
7437
+ onChange: fieldOnChange,
7438
+ minValue: fieldMinValue,
7439
+ maxValue: fieldMaxValue,
7440
+ placeholderValue: fieldPlaceholderValue,
7441
+ hideTimeZone: fieldHideTimeZone,
7442
+ hourCycle: fieldHourCycle,
7443
+ shouldForceLeadingZeros: fieldShouldForceLeadingZeros,
7444
+ granularity: fieldGranularity,
7445
+ isDisabled: fieldIsDisabled,
7446
+ isReadOnly: fieldIsReadOnly,
7447
+ isRequired: fieldIsRequired,
7448
+ isInvalid: fieldIsInvalid,
7449
+ autoFocus: fieldAutoFocus,
7450
+ name: fieldName
7451
+ } = _a, restFieldProps = __objRest$1h(_a, [
7452
+ "id",
7453
+ "aria-describedby",
7454
+ "aria-labelledby",
7455
+ "value",
7456
+ "onChange",
7457
+ "minValue",
7458
+ "maxValue",
7459
+ "placeholderValue",
7460
+ "hideTimeZone",
7461
+ "hourCycle",
7462
+ "shouldForceLeadingZeros",
7463
+ "granularity",
7464
+ "isDisabled",
7465
+ "isReadOnly",
7466
+ "isRequired",
7467
+ "isInvalid",
7468
+ "autoFocus",
7469
+ "name"
7470
+ ]);
7471
+ const {
7472
+ role: groupRole,
7473
+ id: groupId,
7474
+ "aria-disabled": groupAriaDisabled,
7475
+ "aria-labelledby": groupAriaLabelledBy,
7476
+ "aria-describedby": groupAriaDescribedBy,
7477
+ onKeyDown: groupOnKeyDown,
7478
+ onKeyUp: groupOnKeyUp,
7479
+ onFocus: groupOnFocus,
7480
+ onBlur: groupOnBlur,
7481
+ onPointerDown: groupOnPointerDown,
7482
+ onClick: groupOnClick
7483
+ } = groupProps;
7484
+ const togglePopup = () => {
7485
+ state.setOpen(!state.isOpen);
7486
+ };
7487
+ react.useOutsideClick({
7488
+ ref: dialogRef,
7489
+ handler: (event) => {
7490
+ var _a2;
7491
+ if ((_a2 = ref.current) == null ? void 0 : _a2.contains(event.target))
7492
+ return;
7493
+ state.setOpen(false);
7494
+ }
7495
+ });
7315
7496
  return /* @__PURE__ */ React.createElement(
7316
7497
  Popover,
7317
7498
  {
7318
7499
  isOpen: state.isOpen,
7319
7500
  onClose: () => state.setOpen(false),
7501
+ closeOnBlur: false,
7320
7502
  placement: "bottom-end"
7321
7503
  },
7322
- /* @__PURE__ */ React.createElement(react.PopoverAnchor, null, /* @__PURE__ */ React.createElement(react.HStack, { minW: 56 }, /* @__PURE__ */ React.createElement(react.InputGroup, __spreadProps$h(__spreadValues$1v({}, groupProps), { ref, __css: group }), /* @__PURE__ */ React.createElement(
7323
- StyledField,
7324
- {
7325
- isDisabled,
7326
- isInvalid,
7327
- variant
7328
- },
7329
- /* @__PURE__ */ React.createElement(react.Box, { paddingInlineStart: "1a", paddingInlineEnd: 10 }, /* @__PURE__ */ React.createElement(DateField, __spreadProps$h(__spreadValues$1v({}, fieldProps), { dateFormat })))
7330
- ), /* @__PURE__ */ React.createElement(
7331
- react.InputRightElement,
7504
+ /* @__PURE__ */ React.createElement(react.PopoverAnchor, null, /* @__PURE__ */ React.createElement(react.HStack, { minW: 56 }, /* @__PURE__ */ React.createElement(
7505
+ react.InputGroup,
7332
7506
  {
7333
- sx: { height: "100%", paddingRight: "1" },
7334
- zIndex: 0
7507
+ role: groupRole,
7508
+ id: groupId,
7509
+ "aria-disabled": groupAriaDisabled,
7510
+ "aria-labelledby": groupAriaLabelledBy,
7511
+ "aria-describedby": groupAriaDescribedBy,
7512
+ onKeyDown: groupOnKeyDown,
7513
+ onKeyUp: groupOnKeyUp,
7514
+ onFocus: groupOnFocus,
7515
+ onBlur: groupOnBlur,
7516
+ onPointerDown: groupOnPointerDown,
7517
+ onClick: groupOnClick,
7518
+ ref,
7519
+ __css: group
7335
7520
  },
7336
7521
  /* @__PURE__ */ React.createElement(
7337
- Trigger,
7338
- __spreadProps$h(__spreadValues$1v({}, buttonProps), {
7522
+ StyledField,
7523
+ {
7339
7524
  isDisabled,
7340
- handleClick: togglePopup
7341
- })
7525
+ isInvalid,
7526
+ variant
7527
+ },
7528
+ /* @__PURE__ */ React.createElement(react.Box, { paddingInlineStart: "1a", paddingInlineEnd: 10 }, /* @__PURE__ */ React.createElement(
7529
+ DateField,
7530
+ __spreadProps$h(__spreadValues$1v({}, restFieldProps), {
7531
+ id: fieldId,
7532
+ "aria-describedby": fieldAriaDescribedBy,
7533
+ "aria-labelledby": fieldAriaLabelledBy,
7534
+ value: fieldValue,
7535
+ onChange: fieldOnChange,
7536
+ minValue: fieldMinValue,
7537
+ maxValue: fieldMaxValue,
7538
+ placeholderValue: fieldPlaceholderValue,
7539
+ hideTimeZone: fieldHideTimeZone,
7540
+ hourCycle: fieldHourCycle,
7541
+ shouldForceLeadingZeros: fieldShouldForceLeadingZeros,
7542
+ granularity: fieldGranularity,
7543
+ isDisabled: fieldIsDisabled,
7544
+ isReadOnly: fieldIsReadOnly,
7545
+ isRequired: fieldIsRequired,
7546
+ isInvalid: fieldIsInvalid,
7547
+ autoFocus: fieldAutoFocus,
7548
+ name: fieldName,
7549
+ dateFormat
7550
+ })
7551
+ ))
7552
+ ),
7553
+ /* @__PURE__ */ React.createElement(
7554
+ react.InputRightElement,
7555
+ {
7556
+ sx: { height: "100%", paddingRight: "1" },
7557
+ zIndex: 0
7558
+ },
7559
+ /* @__PURE__ */ React.createElement(
7560
+ Trigger,
7561
+ {
7562
+ id: buttonId,
7563
+ "aria-haspopup": buttonAriaHasPopup,
7564
+ "aria-label": buttonAriaLabel,
7565
+ "aria-labelledby": buttonAriaLabelledBy,
7566
+ "aria-describedby": buttonAriaDescribedBy,
7567
+ "aria-expanded": buttonAriaExpanded,
7568
+ isDisabled,
7569
+ handleClick: togglePopup
7570
+ }
7571
+ )
7342
7572
  )
7343
- )), /* @__PURE__ */ React.createElement(
7573
+ ), /* @__PURE__ */ React.createElement(
7344
7574
  IconButton,
7345
7575
  {
7346
7576
  "aria-label": "reset-date",
@@ -7353,7 +7583,33 @@
7353
7583
  icon: /* @__PURE__ */ React.createElement(Icon, { as: NorthlightIcons.XCloseSolid })
7354
7584
  }
7355
7585
  ))),
7356
- state.isOpen && /* @__PURE__ */ React.createElement(react.PopoverContent, __spreadProps$h(__spreadValues$1v({}, dialogProps), { ref, w: 64, border: "none" }), /* @__PURE__ */ React.createElement(focus.FocusScope, { contain: true, restoreFocus: true }, /* @__PURE__ */ React.createElement(DatePickerLocaleWrapper, { firstDayOfWeek }, /* @__PURE__ */ React.createElement(Calendar, __spreadProps$h(__spreadValues$1v({}, calendarProps), { firstDayOfWeek })))))
7586
+ state.isOpen && /* @__PURE__ */ React.createElement(
7587
+ react.PopoverContent,
7588
+ {
7589
+ id: dialogId,
7590
+ "aria-labelledby": dialogAriaLabelledBy,
7591
+ ref: dialogRef,
7592
+ w: 64,
7593
+ border: "none"
7594
+ },
7595
+ /* @__PURE__ */ React.createElement(focus.FocusScope, { contain: true, restoreFocus: true }, /* @__PURE__ */ React.createElement(DatePickerLocaleWrapper, { firstDayOfWeek }, /* @__PURE__ */ React.createElement(
7596
+ Calendar,
7597
+ {
7598
+ autoFocus: calAutoFocus,
7599
+ value: calValue,
7600
+ onChange: calOnChange,
7601
+ minValue: calMinValue,
7602
+ maxValue: calMaxValue,
7603
+ isDisabled: calIsDisabled,
7604
+ isReadOnly: calIsReadOnly,
7605
+ isDateUnavailable: calIsDateUnavailable,
7606
+ defaultFocusedValue: calDefaultFocusedValue,
7607
+ isInvalid: calIsInvalid,
7608
+ errorMessage: calErrorMessage,
7609
+ firstDayOfWeek
7610
+ }
7611
+ )))
7612
+ )
7357
7613
  );
7358
7614
  };
7359
7615
 
@@ -7373,7 +7629,7 @@
7373
7629
  }
7374
7630
  return a;
7375
7631
  };
7376
- var __objRest$1f = (source, exclude) => {
7632
+ var __objRest$1g = (source, exclude) => {
7377
7633
  var target = {};
7378
7634
  for (var prop in source)
7379
7635
  if (__hasOwnProp$1u.call(source, prop) && exclude.indexOf(prop) < 0)
@@ -7386,7 +7642,7 @@
7386
7642
  return target;
7387
7643
  };
7388
7644
  const Clickable = (_a) => {
7389
- var _b = _a, { href, linkProps } = _b, rest = __objRest$1f(_b, ["href", "linkProps"]);
7645
+ var _b = _a, { href, linkProps } = _b, rest = __objRest$1g(_b, ["href", "linkProps"]);
7390
7646
  const clickable$1 = clickable.useClickable(rest);
7391
7647
  return /* @__PURE__ */ React.createElement(React.Fragment, null, !ramda.isNil(href) && /* @__PURE__ */ React.createElement(
7392
7648
  react.Link,
@@ -7926,7 +8182,7 @@
7926
8182
  }
7927
8183
  return a;
7928
8184
  };
7929
- var __objRest$1e = (source, exclude) => {
8185
+ var __objRest$1f = (source, exclude) => {
7930
8186
  var target = {};
7931
8187
  for (var prop in source)
7932
8188
  if (__hasOwnProp$1s.call(source, prop) && exclude.indexOf(prop) < 0)
@@ -7945,7 +8201,7 @@
7945
8201
  title = "",
7946
8202
  description = "",
7947
8203
  hasIcon = false
7948
- } = _b, rest = __objRest$1e(_b, [
8204
+ } = _b, rest = __objRest$1f(_b, [
7949
8205
  "variant",
7950
8206
  "hasArrow",
7951
8207
  "title",
@@ -7994,6 +8250,18 @@
7994
8250
  return a;
7995
8251
  };
7996
8252
  var __spreadProps$g = (a, b) => __defProps$g(a, __getOwnPropDescs$g(b));
8253
+ var __objRest$1e = (source, exclude) => {
8254
+ var target = {};
8255
+ for (var prop in source)
8256
+ if (__hasOwnProp$1r.call(source, prop) && exclude.indexOf(prop) < 0)
8257
+ target[prop] = source[prop];
8258
+ if (source != null && __getOwnPropSymbols$1r)
8259
+ for (var prop of __getOwnPropSymbols$1r(source)) {
8260
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$1r.call(source, prop))
8261
+ target[prop] = source[prop];
8262
+ }
8263
+ return target;
8264
+ };
7997
8265
  const parseValue = (value) => {
7998
8266
  if (!isValidDateRange(value))
7999
8267
  return null;
@@ -8034,9 +8302,15 @@
8034
8302
  onCancelChanges,
8035
8303
  "data-testid": dataTestId,
8036
8304
  defaultOpen = false,
8037
- onOpenChange
8305
+ onOpenChange,
8306
+ placeholderValue,
8307
+ isDateUnavailable,
8308
+ allowsNonContiguousRanges,
8309
+ startName,
8310
+ endName
8038
8311
  } = props;
8039
8312
  const ref = React.useRef();
8313
+ const dialogRef = React.useRef();
8040
8314
  const { group } = react.useMultiStyleConfig("DatePicker");
8041
8315
  const parsedProps = {
8042
8316
  onChange: (date) => {
@@ -8056,9 +8330,9 @@
8056
8330
  maxValue: parsedProps.maxValue,
8057
8331
  isDisabled,
8058
8332
  isInvalid,
8059
- placeholderValue: props.placeholderValue,
8060
- isDateUnavailable: props.isDateUnavailable,
8061
- allowsNonContiguousRanges: props.allowsNonContiguousRanges,
8333
+ placeholderValue,
8334
+ isDateUnavailable,
8335
+ allowsNonContiguousRanges,
8062
8336
  shouldCloseOnSelect: false,
8063
8337
  hideTimeZone: true,
8064
8338
  defaultOpen,
@@ -8082,22 +8356,148 @@
8082
8356
  value: parseValue(value),
8083
8357
  minValue: parsedProps.minValue || date.parseDate("1994-03-08"),
8084
8358
  maxValue: parsedProps.maxValue,
8085
- placeholderValue: props.placeholderValue,
8086
- isDateUnavailable: props.isDateUnavailable,
8087
- allowsNonContiguousRanges: props.allowsNonContiguousRanges,
8359
+ placeholderValue,
8360
+ isDateUnavailable,
8361
+ allowsNonContiguousRanges,
8088
8362
  isDisabled,
8089
8363
  isInvalid,
8090
- startName: props.startName,
8091
- endName: props.endName,
8364
+ startName,
8365
+ endName,
8092
8366
  "aria-label": "Date range picker"
8093
8367
  }, !ramda.isNil(dataTestId) && { "data-testid": dataTestId }),
8094
8368
  state,
8095
8369
  ref
8096
8370
  );
8097
- const togglePopup = () => state.setOpen(!state.isOpen);
8371
+ const {
8372
+ id: buttonId,
8373
+ "aria-haspopup": buttonAriaHasPopup,
8374
+ "aria-label": buttonAriaLabel,
8375
+ "aria-labelledby": buttonAriaLabelledBy,
8376
+ "aria-describedby": buttonAriaDescribedBy,
8377
+ "aria-expanded": buttonAriaExpanded
8378
+ } = buttonProps;
8379
+ const {
8380
+ role: groupRole,
8381
+ id: groupId,
8382
+ "aria-disabled": groupAriaDisabled,
8383
+ "aria-labelledby": groupAriaLabelledBy,
8384
+ "aria-describedby": groupAriaDescribedBy,
8385
+ onKeyDown: groupOnKeyDown,
8386
+ onKeyUp: groupOnKeyUp,
8387
+ onFocus: groupOnFocus,
8388
+ onBlur: groupOnBlur,
8389
+ onPointerDown: groupOnPointerDown,
8390
+ onClick: groupOnClick
8391
+ } = groupProps;
8392
+ const _a = startFieldProps, {
8393
+ id: startFieldId,
8394
+ "aria-describedby": startFieldAriaDescribedBy,
8395
+ "aria-labelledby": startFieldAriaLabelledBy,
8396
+ value: startFieldValue,
8397
+ onChange: startFieldOnChange,
8398
+ minValue: startFieldMinValue,
8399
+ maxValue: startFieldMaxValue,
8400
+ placeholderValue: startFieldPlaceholderValue,
8401
+ hideTimeZone: startFieldHideTimeZone,
8402
+ hourCycle: startFieldHourCycle,
8403
+ shouldForceLeadingZeros: startFieldShouldForceLeadingZeros,
8404
+ granularity: startFieldGranularity,
8405
+ isDisabled: startFieldIsDisabled,
8406
+ isReadOnly: startFieldIsReadOnly,
8407
+ isRequired: startFieldIsRequired,
8408
+ isInvalid: startFieldIsInvalid,
8409
+ autoFocus: startFieldAutoFocus,
8410
+ name: startFieldName
8411
+ } = _a, restStartFieldProps = __objRest$1e(_a, [
8412
+ "id",
8413
+ "aria-describedby",
8414
+ "aria-labelledby",
8415
+ "value",
8416
+ "onChange",
8417
+ "minValue",
8418
+ "maxValue",
8419
+ "placeholderValue",
8420
+ "hideTimeZone",
8421
+ "hourCycle",
8422
+ "shouldForceLeadingZeros",
8423
+ "granularity",
8424
+ "isDisabled",
8425
+ "isReadOnly",
8426
+ "isRequired",
8427
+ "isInvalid",
8428
+ "autoFocus",
8429
+ "name"
8430
+ ]);
8431
+ const _b = endFieldProps, {
8432
+ id: endFieldId,
8433
+ "aria-describedby": endFieldAriaDescribedBy,
8434
+ "aria-labelledby": endFieldAriaLabelledBy,
8435
+ value: endFieldValue,
8436
+ onChange: endFieldOnChange,
8437
+ minValue: endFieldMinValue,
8438
+ maxValue: endFieldMaxValue,
8439
+ placeholderValue: endFieldPlaceholderValue,
8440
+ hideTimeZone: endFieldHideTimeZone,
8441
+ hourCycle: endFieldHourCycle,
8442
+ shouldForceLeadingZeros: endFieldShouldForceLeadingZeros,
8443
+ granularity: endFieldGranularity,
8444
+ isDisabled: endFieldIsDisabled,
8445
+ isReadOnly: endFieldIsReadOnly,
8446
+ isRequired: endFieldIsRequired,
8447
+ isInvalid: endFieldIsInvalid,
8448
+ name: endFieldName
8449
+ } = _b, restEndFieldProps = __objRest$1e(_b, [
8450
+ "id",
8451
+ "aria-describedby",
8452
+ "aria-labelledby",
8453
+ "value",
8454
+ "onChange",
8455
+ "minValue",
8456
+ "maxValue",
8457
+ "placeholderValue",
8458
+ "hideTimeZone",
8459
+ "hourCycle",
8460
+ "shouldForceLeadingZeros",
8461
+ "granularity",
8462
+ "isDisabled",
8463
+ "isReadOnly",
8464
+ "isRequired",
8465
+ "isInvalid",
8466
+ "name"
8467
+ ]);
8468
+ const {
8469
+ id: dialogId,
8470
+ "aria-labelledby": dialogAriaLabelledBy
8471
+ } = dialogProps;
8472
+ const {
8473
+ autoFocus: calAutoFocus,
8474
+ value: calValue,
8475
+ onChange: calOnChange,
8476
+ minValue: calMinValue,
8477
+ maxValue: calMaxValue,
8478
+ isDisabled: calIsDisabled,
8479
+ isReadOnly: calIsReadOnly,
8480
+ isDateUnavailable: calIsDateUnavailable,
8481
+ allowsNonContiguousRanges: calAllowsNonContiguousRanges,
8482
+ defaultFocusedValue: calDefaultFocusedValue,
8483
+ isInvalid: calIsInvalid,
8484
+ errorMessage: calErrorMessage
8485
+ } = calendarProps;
8486
+ const togglePopup = () => {
8487
+ state.setOpen(!state.isOpen);
8488
+ };
8098
8489
  const handleClose = () => {
8099
8490
  state.setOpen(false);
8100
8491
  };
8492
+ react.useOutsideClick({
8493
+ ref: dialogRef,
8494
+ handler: (event) => {
8495
+ var _a2;
8496
+ if ((_a2 = ref.current) == null ? void 0 : _a2.contains(event.target))
8497
+ return;
8498
+ state.setOpen(false);
8499
+ }
8500
+ });
8101
8501
  const ResetButton = CustomResetButton || /* @__PURE__ */ React.createElement(
8102
8502
  IconButton,
8103
8503
  {
@@ -8141,23 +8541,94 @@
8141
8541
  {
8142
8542
  isOpen: state.isOpen,
8143
8543
  onClose: handleModalClose,
8544
+ closeOnBlur: false,
8144
8545
  placement: "bottom-start"
8145
8546
  },
8146
- /* @__PURE__ */ React.createElement(react.PopoverAnchor, null, /* @__PURE__ */ React.createElement(react.HStack, null, /* @__PURE__ */ React.createElement(react.InputGroup, __spreadProps$g(__spreadValues$1r({}, groupProps), { ref, __css: group }), /* @__PURE__ */ React.createElement(
8147
- StyledField,
8547
+ /* @__PURE__ */ React.createElement(react.PopoverAnchor, null, /* @__PURE__ */ React.createElement(react.HStack, null, /* @__PURE__ */ React.createElement(
8548
+ react.InputGroup,
8148
8549
  {
8149
- isDisabled,
8150
- isInvalid,
8151
- variant
8550
+ role: groupRole,
8551
+ id: groupId,
8552
+ "aria-disabled": groupAriaDisabled,
8553
+ "aria-labelledby": groupAriaLabelledBy,
8554
+ "aria-describedby": groupAriaDescribedBy,
8555
+ onKeyDown: groupOnKeyDown,
8556
+ onKeyUp: groupOnKeyUp,
8557
+ onFocus: groupOnFocus,
8558
+ onBlur: groupOnBlur,
8559
+ onPointerDown: groupOnPointerDown,
8560
+ onClick: groupOnClick,
8561
+ ref,
8562
+ __css: group
8152
8563
  },
8153
- /* @__PURE__ */ React.createElement(react.HStack, { paddingInlineStart: "1a", paddingInlineEnd: 10 }, /* @__PURE__ */ React.createElement(DateField, __spreadProps$g(__spreadValues$1r({}, startFieldProps), { dateFormat })), /* @__PURE__ */ React.createElement(P, null, "-"), /* @__PURE__ */ React.createElement(DateField, __spreadProps$g(__spreadValues$1r({}, endFieldProps), { dateFormat })))
8154
- ), /* @__PURE__ */ React.createElement(react.InputRightElement, { sx: { height: "100%", paddingRight: "1" } }, /* @__PURE__ */ React.createElement(
8155
- Trigger,
8156
- __spreadProps$g(__spreadValues$1r({}, buttonProps), {
8157
- isDisabled,
8158
- handleClick: togglePopup
8159
- })
8160
- ))), shouldShowResetButton && ResetButton, shouldShowSaveAndCancelButtons && /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(Tooltip, { label: clearButtonLabel }, /* @__PURE__ */ React.createElement(
8564
+ /* @__PURE__ */ React.createElement(
8565
+ StyledField,
8566
+ {
8567
+ isDisabled,
8568
+ isInvalid,
8569
+ variant
8570
+ },
8571
+ /* @__PURE__ */ React.createElement(react.HStack, { paddingInlineStart: "1a", paddingInlineEnd: 10 }, /* @__PURE__ */ React.createElement(
8572
+ DateField,
8573
+ __spreadProps$g(__spreadValues$1r({}, restStartFieldProps), {
8574
+ id: startFieldId,
8575
+ "aria-describedby": startFieldAriaDescribedBy,
8576
+ "aria-labelledby": startFieldAriaLabelledBy,
8577
+ value: startFieldValue,
8578
+ onChange: startFieldOnChange,
8579
+ minValue: startFieldMinValue,
8580
+ maxValue: startFieldMaxValue,
8581
+ placeholderValue: startFieldPlaceholderValue,
8582
+ hideTimeZone: startFieldHideTimeZone,
8583
+ hourCycle: startFieldHourCycle,
8584
+ shouldForceLeadingZeros: startFieldShouldForceLeadingZeros,
8585
+ granularity: startFieldGranularity,
8586
+ isDisabled: startFieldIsDisabled,
8587
+ isReadOnly: startFieldIsReadOnly,
8588
+ isRequired: startFieldIsRequired,
8589
+ isInvalid: startFieldIsInvalid,
8590
+ autoFocus: startFieldAutoFocus,
8591
+ name: startFieldName,
8592
+ dateFormat
8593
+ })
8594
+ ), /* @__PURE__ */ React.createElement(P, null, "-"), /* @__PURE__ */ React.createElement(
8595
+ DateField,
8596
+ __spreadProps$g(__spreadValues$1r({}, restEndFieldProps), {
8597
+ id: endFieldId,
8598
+ "aria-describedby": endFieldAriaDescribedBy,
8599
+ "aria-labelledby": endFieldAriaLabelledBy,
8600
+ value: endFieldValue,
8601
+ onChange: endFieldOnChange,
8602
+ minValue: endFieldMinValue,
8603
+ maxValue: endFieldMaxValue,
8604
+ placeholderValue: endFieldPlaceholderValue,
8605
+ hideTimeZone: endFieldHideTimeZone,
8606
+ hourCycle: endFieldHourCycle,
8607
+ shouldForceLeadingZeros: endFieldShouldForceLeadingZeros,
8608
+ granularity: endFieldGranularity,
8609
+ isDisabled: endFieldIsDisabled,
8610
+ isReadOnly: endFieldIsReadOnly,
8611
+ isRequired: endFieldIsRequired,
8612
+ isInvalid: endFieldIsInvalid,
8613
+ name: endFieldName,
8614
+ dateFormat
8615
+ })
8616
+ ))
8617
+ ),
8618
+ /* @__PURE__ */ React.createElement(react.InputRightElement, { sx: { height: "100%", paddingRight: "1" } }, /* @__PURE__ */ React.createElement(
8619
+ Trigger,
8620
+ {
8621
+ id: buttonId,
8622
+ "aria-haspopup": buttonAriaHasPopup,
8623
+ "aria-label": buttonAriaLabel,
8624
+ "aria-labelledby": buttonAriaLabelledBy,
8625
+ "aria-describedby": buttonAriaDescribedBy,
8626
+ "aria-expanded": buttonAriaExpanded,
8627
+ isDisabled,
8628
+ handleClick: togglePopup
8629
+ }
8630
+ ))
8631
+ ), shouldShowResetButton && ResetButton, shouldShowSaveAndCancelButtons && /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(Tooltip, { label: clearButtonLabel }, /* @__PURE__ */ React.createElement(
8161
8632
  IconButton,
8162
8633
  {
8163
8634
  "aria-label": "cancel-date-change",
@@ -8180,20 +8651,41 @@
8180
8651
  icon: /* @__PURE__ */ React.createElement(Icon, { as: NorthlightIcons.CheckSolid })
8181
8652
  }
8182
8653
  ))))),
8183
- /* @__PURE__ */ React.createElement(PortalWrapper, { renderInPortal }, state.isOpen && /* @__PURE__ */ React.createElement(react.PopoverContent, __spreadProps$g(__spreadValues$1r({}, dialogProps), { ref, w: "max-content" }), /* @__PURE__ */ React.createElement(DatePickerLocaleWrapper, { firstDayOfWeek }, /* @__PURE__ */ React.createElement(
8184
- RangeCalendar,
8185
- __spreadProps$g(__spreadValues$1r({}, calendarProps), {
8186
- resetDate: cancelOrResetDateChange,
8187
- handleClose: handleModalClose,
8188
- fiscalStartMonth: fiscalStartMonth || 0,
8189
- fiscalStartDay: fiscalStartDay || 0,
8190
- isClearable,
8191
- firstDayOfWeek,
8192
- onSave,
8193
- clearButtonLabel,
8194
- buttonLabel
8195
- })
8196
- ))))
8654
+ /* @__PURE__ */ React.createElement(PortalWrapper, { renderInPortal }, state.isOpen && /* @__PURE__ */ React.createElement(
8655
+ react.PopoverContent,
8656
+ {
8657
+ id: dialogId,
8658
+ "aria-labelledby": dialogAriaLabelledBy,
8659
+ ref: dialogRef,
8660
+ w: "max-content"
8661
+ },
8662
+ /* @__PURE__ */ React.createElement(focus.FocusScope, { contain: true, restoreFocus: true }, /* @__PURE__ */ React.createElement(DatePickerLocaleWrapper, { firstDayOfWeek }, /* @__PURE__ */ React.createElement(
8663
+ RangeCalendar,
8664
+ {
8665
+ autoFocus: calAutoFocus,
8666
+ value: calValue,
8667
+ onChange: calOnChange,
8668
+ minValue: calMinValue,
8669
+ maxValue: calMaxValue,
8670
+ isDisabled: calIsDisabled,
8671
+ isReadOnly: calIsReadOnly,
8672
+ isDateUnavailable: calIsDateUnavailable,
8673
+ allowsNonContiguousRanges: calAllowsNonContiguousRanges,
8674
+ defaultFocusedValue: calDefaultFocusedValue,
8675
+ isInvalid: calIsInvalid,
8676
+ errorMessage: calErrorMessage,
8677
+ resetDate: cancelOrResetDateChange,
8678
+ handleClose: handleModalClose,
8679
+ fiscalStartMonth: fiscalStartMonth || 0,
8680
+ fiscalStartDay: fiscalStartDay || 0,
8681
+ isClearable,
8682
+ firstDayOfWeek,
8683
+ onSave,
8684
+ clearButtonLabel,
8685
+ buttonLabel
8686
+ }
8687
+ )))
8688
+ ))
8197
8689
  );
8198
8690
  };
8199
8691