@spothero/ui 25.12.0 → 25.15.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (34) hide show
  1. package/dist/components/Button/Button.styles.d.ts +46 -0
  2. package/dist/components/Modal/AlwaysMountedModal.d.ts +7 -0
  3. package/dist/components/Modal/Modal.d.ts +17 -0
  4. package/dist/components/Modal/index.d.ts +3 -0
  5. package/dist/components/Modal/styles/body.d.ts +3 -6
  6. package/dist/components/Modal/styles/closeButton.d.ts +3 -4
  7. package/dist/components/Modal/styles/dialog.d.ts +3 -4
  8. package/dist/components/Modal/styles/dialogContainer.d.ts +12 -12
  9. package/dist/components/Modal/styles/footer.d.ts +12 -12
  10. package/dist/components/Modal/styles/header.d.ts +4 -6
  11. package/dist/components/Modal/styles/index.d.ts +4 -240
  12. package/dist/components/Modal/styles/overlay.d.ts +5 -5
  13. package/dist/components/Modal/types.d.ts +6 -0
  14. package/dist/components/Popover/Popover.d.ts +10 -0
  15. package/dist/components/Popover/PopoverArrow.d.ts +7 -0
  16. package/dist/components/Popover/PopoverCloseButton.d.ts +7 -0
  17. package/dist/components/Popover/PopoverContent.d.ts +15 -0
  18. package/dist/components/Popover/index.d.ts +4 -0
  19. package/dist/components/Popover/styles/index.d.ts +4 -100
  20. package/dist/components/Popover/styles/popover-arrow.d.ts +5 -0
  21. package/dist/components/Popover/styles/popover-body.d.ts +3 -2
  22. package/dist/components/Popover/styles/popover-close-button.d.ts +18 -0
  23. package/dist/components/Popover/styles/popover-content.d.ts +8 -5
  24. package/dist/components/Popover/styles/popover-header.d.ts +4 -4
  25. package/dist/components/Popover/styles/popper.d.ts +3 -3
  26. package/dist/components/Popover/types.d.ts +4 -0
  27. package/dist/components/ThemeProvider/ThemeProvider.d.ts +17 -0
  28. package/dist/index.cjs.js +386 -541
  29. package/dist/index.cjs.js.map +1 -1
  30. package/dist/index.d.ts +75 -11
  31. package/dist/index.esm.js +387 -542
  32. package/dist/index.esm.js.map +1 -1
  33. package/dist/utils/Spaces.d.ts +8 -0
  34. package/package.json +4 -4
package/dist/index.cjs.js CHANGED
@@ -1,7 +1,8 @@
1
1
  'use strict';
2
2
 
3
- var React = require('react');
4
3
  var react = require('@chakra-ui/react');
4
+ var React = require('react');
5
+ var framerMotion = require('framer-motion');
5
6
  var merge = require('lodash/merge');
6
7
  var PropTypes = require('prop-types');
7
8
  var cn = require('classnames');
@@ -9,7 +10,6 @@ var react$1 = require('@emotion/react');
9
10
  var anatomy = require('@chakra-ui/anatomy');
10
11
  var template = require('lodash/template');
11
12
  var AsyncSelect = require('react-select/async');
12
- var framerMotion = require('framer-motion');
13
13
  var Select$2 = require('react-select');
14
14
  var Creatable = require('react-select/creatable');
15
15
 
@@ -42,248 +42,6 @@ var AsyncSelect__default = /*#__PURE__*/_interopDefault(AsyncSelect);
42
42
  var Select__default = /*#__PURE__*/_interopDefault(Select$2);
43
43
  var Creatable__default = /*#__PURE__*/_interopDefault(Creatable);
44
44
 
45
- function _defineProperty(e, r, t) {
46
- return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
47
- value: t,
48
- enumerable: !0,
49
- configurable: !0,
50
- writable: !0
51
- }) : e[r] = t, e;
52
- }
53
- function _extends$6() {
54
- return _extends$6 = Object.assign ? Object.assign.bind() : function (n) {
55
- for (var e = 1; e < arguments.length; e++) {
56
- var t = arguments[e];
57
- for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
58
- }
59
- return n;
60
- }, _extends$6.apply(null, arguments);
61
- }
62
- function ownKeys(e, r) {
63
- var t = Object.keys(e);
64
- if (Object.getOwnPropertySymbols) {
65
- var o = Object.getOwnPropertySymbols(e);
66
- r && (o = o.filter(function (r) {
67
- return Object.getOwnPropertyDescriptor(e, r).enumerable;
68
- })), t.push.apply(t, o);
69
- }
70
- return t;
71
- }
72
- function _objectSpread2(e) {
73
- for (var r = 1; r < arguments.length; r++) {
74
- var t = null != arguments[r] ? arguments[r] : {};
75
- r % 2 ? ownKeys(Object(t), !0).forEach(function (r) {
76
- _defineProperty(e, r, t[r]);
77
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) {
78
- Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
79
- });
80
- }
81
- return e;
82
- }
83
- function _objectWithoutProperties(e, t) {
84
- if (null == e) return {};
85
- var o,
86
- r,
87
- i = _objectWithoutPropertiesLoose(e, t);
88
- if (Object.getOwnPropertySymbols) {
89
- var n = Object.getOwnPropertySymbols(e);
90
- for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
91
- }
92
- return i;
93
- }
94
- function _objectWithoutPropertiesLoose(r, e) {
95
- if (null == r) return {};
96
- var t = {};
97
- for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
98
- if (-1 !== e.indexOf(n)) continue;
99
- t[n] = r[n];
100
- }
101
- return t;
102
- }
103
- function _taggedTemplateLiteral(e, t) {
104
- return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, {
105
- raw: {
106
- value: Object.freeze(t)
107
- }
108
- }));
109
- }
110
- function _toPrimitive(t, r) {
111
- if ("object" != typeof t || !t) return t;
112
- var e = t[Symbol.toPrimitive];
113
- if (void 0 !== e) {
114
- var i = e.call(t, r || "default");
115
- if ("object" != typeof i) return i;
116
- throw new TypeError("@@toPrimitive must return a primitive value.");
117
- }
118
- return ("string" === r ? String : Number)(t);
119
- }
120
- function _toPropertyKey(t) {
121
- var i = _toPrimitive(t, "string");
122
- return "symbol" == typeof i ? i : i + "";
123
- }
124
-
125
- var header$1 = _ref => {
126
- let {
127
- hideCloseButton,
128
- hasHeader
129
- } = _ref;
130
- return {
131
- padding: !hideCloseButton || hasHeader ? 4 : 2,
132
- fontSize: 'xl',
133
- fontWeight: 'semibold',
134
- // If just close button, still have 'header' section at top
135
- minHeight: hasHeader || hideCloseButton ? null : 12
136
- };
137
- };
138
-
139
- /**
140
- * @param {boolean} isMobile - Whether or not the Modal is opened in a mobile viewport
141
- * @param {boolean} isOpen - Whether or not the Modal is open
142
- * @param {React.ReactNode} children - The header text of the modal
143
- * @param {()=>void} [onClose] - Callback invoked to close the Modal. Not required, but strongly suggested.
144
- * @param {('sm'|'sm-md'|'md'|'lg')} [size] - The size of the modal. If unspecified, uses "md" styles.
145
- * @param {object} [contentStyling] - Style props to be passed into the modal content
146
- * @param {object} [overlayProps] - Props to be passed into the ModalOverlay component. See: https://github.com/chakra-ui/chakra-ui/blob/main/packages/components/modal/src/modal-overlay.tsx
147
- * @param {boolean} [hasHeader] - Whether or not ModalHeader is a child. Will change the styling
148
- * @param {boolean} [hasFooter] - Whether or not ModalFooter is a child. Will change the styling
149
- * @param {React.ReactNode} [hideCloseButton] - Whether or not to show the close button
150
- * @returns {React.ReactElement} - The Modal component
151
- */
152
- const Modal = /*#__PURE__*/React.forwardRef((props, ref) => {
153
- const {
154
- children,
155
- hideCloseButton,
156
- hasHeader,
157
- isMobile = false,
158
- contentStyling = {},
159
- overlayProps = {}
160
- } = props;
161
- return /*#__PURE__*/React__namespace.default.createElement(react.Modal, _extends$6({
162
- motionPreset: isMobile ? 'slideInBottom' : 'scale'
163
- }, props, {
164
- ref: ref
165
- }), /*#__PURE__*/React__namespace.default.createElement(react.ModalOverlay, overlayProps), /*#__PURE__*/React__namespace.default.createElement(react.ModalContent, _extends$6({
166
- "data-testid": "ModalContent"
167
- }, contentStyling), !hasHeader ? /*#__PURE__*/React__namespace.default.createElement(react.Box, header$1(props)) : null, hideCloseButton ? null : /*#__PURE__*/React__namespace.default.createElement(react.ModalCloseButton, {
168
- "data-testid": "ModalClose-button"
169
- }), children));
170
- });
171
- Modal.propTypes = {
172
- /** Whether or not the Modal is opened in a mobile viewport */
173
- isMobile: PropTypes__default.default.bool,
174
- /** Whether or not the Modal is open */
175
- isOpen: PropTypes__default.default.bool.isRequired,
176
- /** React children. Body of the Modal. */
177
- children: PropTypes__default.default.node.isRequired,
178
- /** Whether or not ModalHeader is a child. Will change the styling */
179
- hasHeader: PropTypes__default.default.bool.isRequired,
180
- /** Whether or not ModalFooter is a child. Will change the styling */
181
- hasFooter: PropTypes__default.default.bool.isRequired,
182
- /** Callback invoked to close the Modal. Not required, but strongly suggested. */
183
- onClose: PropTypes__default.default.func,
184
- /** The size of the modal. If unspecified, uses md styles. */
185
- size: PropTypes__default.default.oneOf(['sm', 'sm-md', 'md', 'lg']),
186
- /** Whether or not to show the close button (optional) */
187
- hideCloseButton: PropTypes__default.default.bool,
188
- /** Objects containing css-in-js styling*/
189
- contentStyling: PropTypes__default.default.object,
190
- /** Objects containing props to apply to ModalOverlay component */
191
- overlayProps: PropTypes__default.default.object
192
- };
193
-
194
- var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6;
195
- const fadeIn = react.keyframes(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n 0% { opacity: 0%; }\n 100% { opacity: 100%; }\n\n"])));
196
- const fadeOut = react.keyframes(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n 0% { opacity: 100%; }\n 100% { opacity: 0% }\n"])));
197
- const fadeInAndEnlarge = react.keyframes(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n 0% { opacity: 0%; transform: scale(0.9);}\n 100% { opacity: 100%; transform: scale(1);}\n"])));
198
- const fadeOutAndShrink = react.keyframes(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n 0% { opacity: 100%; transform: scale(1); }\n 100% { opacity: 0%; transform: scale(0.9); }\n"])));
199
- const fadeInAndSlideUp = react.keyframes(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n 0% { opacity: 0%; transform: translateY(2rem) scale(1);}\n 100% { opacity: 100%; transform: translateY(0) scale(1);}\n"])));
200
- const fadeOutAndSlideDown = react.keyframes(_templateObject6 || (_templateObject6 = _taggedTemplateLiteral(["\n 0% { opacity: 100%; transform: translateY(0) scale(1); }\n 100% { opacity: 0%; transform: translateY(2rem) scale(1); }\n"])));
201
-
202
- // This is a modified version of our Modal that will always be mounted, even when it is closed.
203
- // We need this for things like Stripe where payment Elements need to be mounted to get a token on checkout
204
- /**
205
- * @param {boolean} isMobile - Whether or not the Modal is opened in a mobile viewport
206
- * @param {boolean} isOpen - Whether or not the Modal is open
207
- * @param {React.ReactNode} children - The header text of the modal
208
- * @param {()=>void} [onClose] - Callback invoked to close the Modal. Not required, but strongly suggested.
209
- * @param {('sm'|'sm-md'|'md'|'lg')} [size] - The size of the modal. If unspecified, uses "md" styles.
210
- * @param {object} [contentStyling] - Style props to be passed into the modal content
211
- * @param {object} [overlayProps] - Props to be passed into the ModalOverlay component. See: https://github.com/chakra-ui/chakra-ui/blob/main/packages/components/modal/src/modal-overlay.tsx
212
- * @param {boolean} [hasHeader] - Whether or not ModalHeader is a child. Will change the styling
213
- * @param {boolean} [hasFooter] - Whether or not ModalFooter is a child. Will change the styling
214
- * @param {React.ReactNode} [hideCloseButton] - Whether or not to show the close button
215
- * @returns {React.ReactElement} - The Modal component
216
- */
217
- const AlwaysMountedModal = /*#__PURE__*/React.forwardRef((props, ref) => {
218
- const {
219
- children,
220
- hideCloseButton,
221
- onCloseComplete,
222
- hasHeader,
223
- isOpen,
224
- isMobile = false,
225
- contentStyling = {},
226
- overlayProps = {}
227
- } = props;
228
- const [internalOpen, setInternalOpen] = React.useState(isOpen);
229
- React.useEffect(() => {
230
- if (!isOpen) {
231
- setTimeout(() => {
232
- setInternalOpen(false);
233
- onCloseComplete();
234
- // Want this to be a bit shorter than fade out animation
235
- }, 175);
236
- } else {
237
- setInternalOpen(true);
238
- }
239
- }, [isOpen]);
240
- const fadeInAnimation = isMobile ? fadeInAndSlideUp : fadeInAndEnlarge;
241
- const fadeOutAnimation = isMobile ? fadeOutAndSlideDown : fadeOutAndShrink;
242
- return /*#__PURE__*/React__namespace.default.createElement(react.Modal, _extends$6({
243
- motionPreset: isMobile ? 'slideInBottom' : 'scale'
244
- }, props, {
245
- blockScrollOnMount: isOpen,
246
- isOpen: true,
247
- ref: ref
248
- }), /*#__PURE__*/React__namespace.default.createElement(react.Box, {
249
- visibility: internalOpen ? 'visible' : 'hidden',
250
- animation: "".concat(isOpen ? fadeIn : fadeOut, " 0.2s ease-in-out"),
251
- zIndex: 3,
252
- as: framerMotion.motion.div,
253
- position: "relative"
254
- }, /*#__PURE__*/React__namespace.default.createElement(react.ModalOverlay, overlayProps)), /*#__PURE__*/React__namespace.default.createElement(react.Box, {
255
- visibility: internalOpen ? 'visible' : 'hidden',
256
- animation: "".concat(isOpen ? fadeIn : fadeOut, " 0.2s ease-in-out"),
257
- zIndex: 4,
258
- as: framerMotion.motion.div,
259
- position: "relative"
260
- }, /*#__PURE__*/React__namespace.default.createElement(react.ModalContent, _extends$6({}, contentStyling, {
261
- animation: "".concat(isOpen ? fadeInAnimation : fadeOutAnimation, " 0.2s ease-in-out")
262
- }), !hasHeader ? /*#__PURE__*/React__namespace.default.createElement(react.Box, header$1(props)) : null, hideCloseButton ? null : /*#__PURE__*/React__namespace.default.createElement(react.ModalCloseButton, null), children)));
263
- });
264
- AlwaysMountedModal.propTypes = {
265
- /** Whether or not the Modal is opened in a mobile viewport */
266
- isMobile: PropTypes__default.default.bool,
267
- /** Whether or not the Modal is open */
268
- isOpen: PropTypes__default.default.bool.isRequired,
269
- /** React children. Body of the Modal. */
270
- children: PropTypes__default.default.node.isRequired,
271
- /** Whether or not ModalHeader is a child. Will change the styling */
272
- hasHeader: PropTypes__default.default.bool.isRequired,
273
- /** Whether or not ModalFooter is a child. Will change the styling */
274
- hasFooter: PropTypes__default.default.bool.isRequired,
275
- /** Callback invoked to close the Modal. Not required, but strongly suggested. */
276
- onClose: PropTypes__default.default.func,
277
- /** The size of the modal. If unspecified, uses md styles. */
278
- size: PropTypes__default.default.oneOf(['sm', 'sm-md', 'md', 'lg']),
279
- /** Whether or not to show the close button (optional) */
280
- hideCloseButton: PropTypes__default.default.bool,
281
- /** Objects containing css-in-js styling*/
282
- contentStyling: PropTypes__default.default.object,
283
- /** Objects containing props to apply to ModalOverlay component */
284
- overlayProps: PropTypes__default.default.object
285
- };
286
-
287
45
  var jsxRuntime = {exports: {}};
288
46
 
289
47
  var reactJsxRuntime_production_min = {};
@@ -1480,6 +1238,80 @@ function requireJsxRuntime() {
1480
1238
 
1481
1239
  var jsxRuntimeExports = requireJsxRuntime();
1482
1240
 
1241
+ const header$1 = ({ hideCloseButton, hasHeader }) => ({
1242
+ padding: !hideCloseButton || hasHeader ? 4 : 2,
1243
+ fontSize: 'xl',
1244
+ fontWeight: 'semibold',
1245
+ // If just close button, still have 'header' section at top
1246
+ minHeight: hasHeader || hideCloseButton ? undefined : 12,
1247
+ });
1248
+
1249
+ const ChakraModalWithRef$1 = react.Modal;
1250
+ const Modal = React.forwardRef(({ children, isMobile = false, contentStyling = {}, overlayProps = {}, ...props }, ref) => {
1251
+ const { hasHeader, hideCloseButton } = props;
1252
+ return (jsxRuntimeExports.jsxs(ChakraModalWithRef$1, { motionPreset: isMobile ? 'slideInBottom' : 'scale', ...props, ref: ref, children: [jsxRuntimeExports.jsx(react.ModalOverlay, { ...overlayProps }), jsxRuntimeExports.jsxs(react.ModalContent, { "data-testid": "ModalContent", ...contentStyling, children: [!hasHeader ? (jsxRuntimeExports.jsx(react.Box, { ...header$1({
1253
+ hasHeader,
1254
+ hideCloseButton,
1255
+ }) })) : null, hideCloseButton ? null : (jsxRuntimeExports.jsx(react.ModalCloseButton, { "data-testid": "ModalClose-button" })), children] })] }));
1256
+ });
1257
+ Modal.displayName = 'Modal';
1258
+
1259
+ const ChakraModalWithRef = react.Modal;
1260
+ const fadeIn = react.keyframes `
1261
+ 0% { opacity: 0%; }
1262
+ 100% { opacity: 100%; }
1263
+
1264
+ `;
1265
+ const fadeOut = react.keyframes `
1266
+ 0% { opacity: 100%; }
1267
+ 100% { opacity: 0% }
1268
+ `;
1269
+ const fadeInAndEnlarge = react.keyframes `
1270
+ 0% { opacity: 0%; transform: scale(0.9);}
1271
+ 100% { opacity: 100%; transform: scale(1);}
1272
+ `;
1273
+ const fadeOutAndShrink = react.keyframes `
1274
+ 0% { opacity: 100%; transform: scale(1); }
1275
+ 100% { opacity: 0%; transform: scale(0.9); }
1276
+ `;
1277
+ const fadeInAndSlideUp = react.keyframes `
1278
+ 0% { opacity: 0%; transform: translateY(2rem) scale(1);}
1279
+ 100% { opacity: 100%; transform: translateY(0) scale(1);}
1280
+ `;
1281
+ const fadeOutAndSlideDown = react.keyframes `
1282
+ 0% { opacity: 100%; transform: translateY(0) scale(1); }
1283
+ 100% { opacity: 0%; transform: translateY(2rem) scale(1); }
1284
+ `;
1285
+ const AlwaysMountedModal = React.forwardRef(({ children, onCloseComplete, isOpen, isMobile = false, contentStyling = {}, overlayProps = {}, ...props }, ref) => {
1286
+ const { hasHeader, hideCloseButton } = props;
1287
+ const [internalOpen, setInternalOpen] = React.useState(isOpen);
1288
+ const onCloseCompleteRef = React.useRef(onCloseComplete);
1289
+ React.useEffect(() => {
1290
+ onCloseCompleteRef.current = onCloseComplete;
1291
+ });
1292
+ React.useEffect(() => {
1293
+ if (!isOpen) {
1294
+ const timeoutId = setTimeout(() => {
1295
+ setInternalOpen(false);
1296
+ onCloseCompleteRef.current?.();
1297
+ // Want this to be a bit shorter than fade out animation
1298
+ }, 175);
1299
+ return () => clearTimeout(timeoutId);
1300
+ }
1301
+ setInternalOpen(true);
1302
+ return undefined;
1303
+ }, [isOpen]);
1304
+ const fadeInAnimation = isMobile ? fadeInAndSlideUp : fadeInAndEnlarge;
1305
+ const fadeOutAnimation = isMobile
1306
+ ? fadeOutAndSlideDown
1307
+ : fadeOutAndShrink;
1308
+ return (jsxRuntimeExports.jsxs(ChakraModalWithRef, { motionPreset: isMobile ? 'slideInBottom' : 'scale', ...props, blockScrollOnMount: isOpen, isOpen: true, ref: ref, children: [jsxRuntimeExports.jsx(react.Box, { visibility: internalOpen ? 'visible' : 'hidden', animation: `${isOpen ? fadeIn : fadeOut} 0.2s ease-in-out`, zIndex: 3, as: framerMotion.motion.div, position: "relative", children: jsxRuntimeExports.jsx(react.ModalOverlay, { ...overlayProps }) }), jsxRuntimeExports.jsx(react.Box, { visibility: internalOpen ? 'visible' : 'hidden', animation: `${isOpen ? fadeIn : fadeOut} 0.2s ease-in-out`, zIndex: 4, as: framerMotion.motion.div, position: "relative", children: jsxRuntimeExports.jsxs(react.ModalContent, { ...contentStyling, animation: `${isOpen ? fadeInAnimation : fadeOutAnimation} 0.2s ease-in-out`, children: [!hasHeader ? (jsxRuntimeExports.jsx(react.Box, { ...header$1({
1309
+ hasHeader,
1310
+ hideCloseButton,
1311
+ }) })) : null, hideCloseButton ? null : jsxRuntimeExports.jsx(react.ModalCloseButton, {}), children] }) })] }));
1312
+ });
1313
+ AlwaysMountedModal.displayName = 'AlwaysMountedModal';
1314
+
1483
1315
  const container = {
1484
1316
  base: '100%', // 640px
1485
1317
  tablet: '45rem', // 720px
@@ -2206,6 +2038,22 @@ const variants$c = {
2206
2038
  bg: activeSecondaryColor,
2207
2039
  },
2208
2040
  },
2041
+ iconSecondary: {
2042
+ bg: 'white',
2043
+ borderColor: 'gray.medium',
2044
+ color: 'black',
2045
+ minW: 'unset',
2046
+ px: 3,
2047
+ py: 3,
2048
+ _hover: {
2049
+ bg: hoverSecondaryColor,
2050
+ color: 'black',
2051
+ ...disabledButtonHoverStyle,
2052
+ },
2053
+ _active: {
2054
+ bg: activeSecondaryColor,
2055
+ },
2056
+ },
2209
2057
  secondaryOnDark: {
2210
2058
  bg: 'none',
2211
2059
  borderColor: 'white',
@@ -2244,6 +2092,32 @@ const variants$c = {
2244
2092
  },
2245
2093
  },
2246
2094
  },
2095
+ iconTertiary: {
2096
+ bg: 'none',
2097
+ borderWidth: 'none',
2098
+ borderRadius: 'unset',
2099
+ color: 'black',
2100
+ h: 'unset',
2101
+ m: 'unset',
2102
+ minW: 'unset',
2103
+ px: 2,
2104
+ py: 2,
2105
+ lineHeight: 1,
2106
+ _disabled: {
2107
+ bg: 'none',
2108
+ color: 'gray.dark',
2109
+ },
2110
+ _hover: {
2111
+ _disabled: {
2112
+ color: 'gray.dark',
2113
+ },
2114
+ },
2115
+ _active: {
2116
+ _disabled: {
2117
+ color: 'gray.dark',
2118
+ },
2119
+ },
2120
+ },
2247
2121
  tertiaryOnDark: {
2248
2122
  bg: 'none',
2249
2123
  borderRadius: 'unset',
@@ -2327,7 +2201,7 @@ const anchorProps = (isExternal = false) => ({
2327
2201
  rel: 'noopener noreferrer',
2328
2202
  }),
2329
2203
  });
2330
- const Button$1 = React.forwardRef(({ asAnchor, isExternal, height = 'md', type = 'button', variant = 'primary', ...props }, ref) => (jsxRuntimeExports.jsx(react.Button, { iconSpacing: 2, type: type, variant: variant, ...props, ...heightProps(height), ...((asAnchor || props.as === 'a') && anchorProps(isExternal)), ref: ref })));
2204
+ const Button$1 = React.forwardRef(({ asAnchor, isExternal, height = 'md', type = 'button', variant = 'primary', ...props }, ref) => (jsxRuntimeExports.jsx(react.Button, { iconSpacing: variant === 'iconSecondary' || variant === 'iconTertiary' ? 0 : 2, type: type, variant: variant, ...props, ...heightProps(height), ...((asAnchor || props.as === 'a') && anchorProps(isExternal)), ref: ref })));
2331
2205
  Button$1.displayName = 'Button';
2332
2206
 
2333
2207
  const Drawer = ({ header, drawerCloseButton, children, headerProps, ...props }) => {
@@ -2359,17 +2233,17 @@ AccordionActionButton.propTypes = {
2359
2233
  };
2360
2234
 
2361
2235
  var _path$5;
2362
- function _extends$5() {
2363
- return _extends$5 = Object.assign ? Object.assign.bind() : function (n) {
2236
+ function _extends$6() {
2237
+ return _extends$6 = Object.assign ? Object.assign.bind() : function (n) {
2364
2238
  for (var e = 1; e < arguments.length; e++) {
2365
2239
  var t = arguments[e];
2366
2240
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
2367
2241
  }
2368
2242
  return n;
2369
- }, _extends$5.apply(null, arguments);
2243
+ }, _extends$6.apply(null, arguments);
2370
2244
  }
2371
2245
  var SvgX = function SvgX(props, ref) {
2372
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$5({}, props, {
2246
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$6({}, props, {
2373
2247
  xmlns: "http://www.w3.org/2000/svg",
2374
2248
  fill: "currentColor",
2375
2249
  viewBox: "0 0 24 24",
@@ -2383,17 +2257,17 @@ var SvgX = function SvgX(props, ref) {
2383
2257
  var ForwardRef$5 = /*#__PURE__*/React.forwardRef(SvgX);
2384
2258
 
2385
2259
  var _path$4;
2386
- function _extends$4() {
2387
- return _extends$4 = Object.assign ? Object.assign.bind() : function (n) {
2260
+ function _extends$5() {
2261
+ return _extends$5 = Object.assign ? Object.assign.bind() : function (n) {
2388
2262
  for (var e = 1; e < arguments.length; e++) {
2389
2263
  var t = arguments[e];
2390
2264
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
2391
2265
  }
2392
2266
  return n;
2393
- }, _extends$4.apply(null, arguments);
2267
+ }, _extends$5.apply(null, arguments);
2394
2268
  }
2395
2269
  var SvgInfoCircleFilled = function SvgInfoCircleFilled(props, ref) {
2396
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$4({}, props, {
2270
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$5({}, props, {
2397
2271
  xmlns: "http://www.w3.org/2000/svg",
2398
2272
  fill: "currentColor",
2399
2273
  viewBox: "0 0 24 24",
@@ -2407,17 +2281,17 @@ var SvgInfoCircleFilled = function SvgInfoCircleFilled(props, ref) {
2407
2281
  var ForwardRef$4 = /*#__PURE__*/React.forwardRef(SvgInfoCircleFilled);
2408
2282
 
2409
2283
  var _path$3;
2410
- function _extends$3() {
2411
- return _extends$3 = Object.assign ? Object.assign.bind() : function (n) {
2284
+ function _extends$4() {
2285
+ return _extends$4 = Object.assign ? Object.assign.bind() : function (n) {
2412
2286
  for (var e = 1; e < arguments.length; e++) {
2413
2287
  var t = arguments[e];
2414
2288
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
2415
2289
  }
2416
2290
  return n;
2417
- }, _extends$3.apply(null, arguments);
2291
+ }, _extends$4.apply(null, arguments);
2418
2292
  }
2419
2293
  var SvgExclamationTriangleFilled = function SvgExclamationTriangleFilled(props, ref) {
2420
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$3({}, props, {
2294
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$4({}, props, {
2421
2295
  xmlns: "http://www.w3.org/2000/svg",
2422
2296
  fill: "currentColor",
2423
2297
  viewBox: "0 0 24 24",
@@ -2431,17 +2305,17 @@ var SvgExclamationTriangleFilled = function SvgExclamationTriangleFilled(props,
2431
2305
  var ForwardRef$3 = /*#__PURE__*/React.forwardRef(SvgExclamationTriangleFilled);
2432
2306
 
2433
2307
  var _path$2;
2434
- function _extends$2() {
2435
- return _extends$2 = Object.assign ? Object.assign.bind() : function (n) {
2308
+ function _extends$3() {
2309
+ return _extends$3 = Object.assign ? Object.assign.bind() : function (n) {
2436
2310
  for (var e = 1; e < arguments.length; e++) {
2437
2311
  var t = arguments[e];
2438
2312
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
2439
2313
  }
2440
2314
  return n;
2441
- }, _extends$2.apply(null, arguments);
2315
+ }, _extends$3.apply(null, arguments);
2442
2316
  }
2443
2317
  var SvgCheckmarkCircleFilled = function SvgCheckmarkCircleFilled(props, ref) {
2444
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$2({}, props, {
2318
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$3({}, props, {
2445
2319
  xmlns: "http://www.w3.org/2000/svg",
2446
2320
  fill: "currentColor",
2447
2321
  viewBox: "0 0 24 24",
@@ -2487,6 +2361,79 @@ const Alert = React.forwardRef(({ status = 'neutral', title = null, buttonProps
2487
2361
  });
2488
2362
  Alert.displayName = 'Alert';
2489
2363
 
2364
+ function _defineProperty(e, r, t) {
2365
+ return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
2366
+ value: t,
2367
+ enumerable: !0,
2368
+ configurable: !0,
2369
+ writable: !0
2370
+ }) : e[r] = t, e;
2371
+ }
2372
+ function _extends$2() {
2373
+ return _extends$2 = Object.assign ? Object.assign.bind() : function (n) {
2374
+ for (var e = 1; e < arguments.length; e++) {
2375
+ var t = arguments[e];
2376
+ for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
2377
+ }
2378
+ return n;
2379
+ }, _extends$2.apply(null, arguments);
2380
+ }
2381
+ function ownKeys(e, r) {
2382
+ var t = Object.keys(e);
2383
+ if (Object.getOwnPropertySymbols) {
2384
+ var o = Object.getOwnPropertySymbols(e);
2385
+ r && (o = o.filter(function (r) {
2386
+ return Object.getOwnPropertyDescriptor(e, r).enumerable;
2387
+ })), t.push.apply(t, o);
2388
+ }
2389
+ return t;
2390
+ }
2391
+ function _objectSpread2(e) {
2392
+ for (var r = 1; r < arguments.length; r++) {
2393
+ var t = null != arguments[r] ? arguments[r] : {};
2394
+ r % 2 ? ownKeys(Object(t), !0).forEach(function (r) {
2395
+ _defineProperty(e, r, t[r]);
2396
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) {
2397
+ Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
2398
+ });
2399
+ }
2400
+ return e;
2401
+ }
2402
+ function _objectWithoutProperties(e, t) {
2403
+ if (null == e) return {};
2404
+ var o,
2405
+ r,
2406
+ i = _objectWithoutPropertiesLoose(e, t);
2407
+ if (Object.getOwnPropertySymbols) {
2408
+ var n = Object.getOwnPropertySymbols(e);
2409
+ for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
2410
+ }
2411
+ return i;
2412
+ }
2413
+ function _objectWithoutPropertiesLoose(r, e) {
2414
+ if (null == r) return {};
2415
+ var t = {};
2416
+ for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
2417
+ if (-1 !== e.indexOf(n)) continue;
2418
+ t[n] = r[n];
2419
+ }
2420
+ return t;
2421
+ }
2422
+ function _toPrimitive(t, r) {
2423
+ if ("object" != typeof t || !t) return t;
2424
+ var e = t[Symbol.toPrimitive];
2425
+ if (void 0 !== e) {
2426
+ var i = e.call(t, r || "default");
2427
+ if ("object" != typeof i) return i;
2428
+ throw new TypeError("@@toPrimitive must return a primitive value.");
2429
+ }
2430
+ return ("string" === r ? String : Number)(t);
2431
+ }
2432
+ function _toPropertyKey(t) {
2433
+ var i = _toPrimitive(t, "string");
2434
+ return "symbol" == typeof i ? i : i + "";
2435
+ }
2436
+
2490
2437
  const variants$b = {
2491
2438
  line: {
2492
2439
  tablist: {
@@ -2580,7 +2527,7 @@ const combineSizeWithVariant = _ref => {
2580
2527
  return styleProps;
2581
2528
  };
2582
2529
 
2583
- const _excluded$a = ["size"];
2530
+ const _excluded$7 = ["size"];
2584
2531
  const sizeMapping = {
2585
2532
  [SIZE_SMALL]: 'sm',
2586
2533
  [SIZE_BODY]: 'md',
@@ -2590,8 +2537,8 @@ const Tabs = react.forwardRef((_ref, ref) => {
2590
2537
  let {
2591
2538
  size
2592
2539
  } = _ref,
2593
- props = _objectWithoutProperties(_ref, _excluded$a);
2594
- return /*#__PURE__*/React__namespace.default.createElement(react.Tabs, _extends$6({
2540
+ props = _objectWithoutProperties(_ref, _excluded$7);
2541
+ return /*#__PURE__*/React__namespace.default.createElement(react.Tabs, _extends$2({
2595
2542
  size: sizeMapping[size]
2596
2543
  }, props, combineSizeWithVariant({
2597
2544
  size
@@ -3507,23 +3454,19 @@ const switchStyle = {
3507
3454
  };
3508
3455
 
3509
3456
  const popperStyles = {
3510
- borderRadius: 'base'
3457
+ borderRadius: 'base',
3511
3458
  };
3512
3459
 
3513
- const body$2 = props => ({
3514
- fontSize: 'sm'
3460
+ const body$2 = (_props) => ({
3461
+ fontSize: 'sm',
3515
3462
  });
3516
3463
 
3517
3464
  const headerStyles = {
3518
- marginBottom: 2,
3519
- fontWeight: 'semibold'
3465
+ marginBottom: 2,
3466
+ fontWeight: 'semibold',
3520
3467
  };
3521
3468
 
3522
- const popoverContentStyles = _ref => {
3523
- let {
3524
- variant
3525
- } = _ref;
3526
- return {
3469
+ const popoverContentStyles = ({ variant }) => ({
3527
3470
  padding: 4,
3528
3471
  marginBottom: 0,
3529
3472
  maxWidth: '20rem',
@@ -3534,24 +3477,23 @@ const popoverContentStyles = _ref => {
3534
3477
  borderColor: 'gray.100',
3535
3478
  borderWidth: '1px',
3536
3479
  borderStyle: 'solid',
3537
- '--popper-arrow-shadow-color': t => t.colors.gray['100'],
3480
+ '--popper-arrow-shadow-color': (t) => t.colors.gray['100'],
3538
3481
  zIndex: 'layer10',
3539
3482
  _focusVisible: {
3540
- outline: '3px solid rgba(91, 170, 250, 0.7)'
3541
- }
3542
- };
3543
- };
3483
+ outline: '3px solid rgba(91, 170, 250, 0.7)',
3484
+ },
3485
+ });
3544
3486
 
3545
3487
  const parts$1 = ['popper', 'content', 'header', 'body'];
3546
- const baseStyle$6 = props => ({
3547
- header: headerStyles,
3548
- content: popoverContentStyles(props),
3549
- body: body$2(),
3550
- popper: popperStyles
3488
+ const baseStyle$6 = (props) => ({
3489
+ header: headerStyles,
3490
+ content: popoverContentStyles(props),
3491
+ body: body$2(),
3492
+ popper: popperStyles,
3551
3493
  });
3552
- var index$3 = merge__default.default(react.theme.components.Popover, {
3553
- parts: parts$1,
3554
- baseStyle: baseStyle$6
3494
+ const popoverStyle = merge__default.default(react.theme.components.Popover, {
3495
+ parts: parts$1,
3496
+ baseStyle: baseStyle$6,
3555
3497
  });
3556
3498
 
3557
3499
  const baseStyle$5 = {
@@ -3610,7 +3552,7 @@ const variants$4 = {
3610
3552
  })
3611
3553
  }
3612
3554
  };
3613
- var index$2 = merge__default.default(inputStyle, {
3555
+ var index$1 = merge__default.default(inputStyle, {
3614
3556
  variants: variants$4
3615
3557
  });
3616
3558
 
@@ -3644,53 +3586,36 @@ const variants$3 = {
3644
3586
  minHeight: "14"
3645
3587
  })
3646
3588
  };
3647
- var index$1 = merge__default.default(buttonStyle, {
3589
+ var index = merge__default.default(buttonStyle, {
3648
3590
  variants: variants$3
3649
3591
  });
3650
3592
 
3651
- var overlay = {
3652
- background: 'modalOverlay',
3653
- zIndex: 'layer8'
3593
+ const overlay = {
3594
+ background: 'modalOverlay',
3595
+ zIndex: 'layer8',
3654
3596
  };
3655
3597
 
3656
- var dialogContainer$1 = {
3657
- display: 'flex',
3658
- zIndex: 'layer8',
3659
- justifyContent: 'center',
3660
- alignItems: {
3661
- base: 'flex-end',
3662
- tablet: 'center'
3663
- },
3664
- height: '100%',
3665
- minHeight: '-moz-available',
3666
- minHeight: '-webkit-fill-available',
3667
- minHeight: 'fill-available'
3598
+ const dialogContainer$1 = {
3599
+ display: 'flex',
3600
+ zIndex: 'layer8',
3601
+ justifyContent: 'center',
3602
+ alignItems: { base: 'flex-end', tablet: 'center' },
3603
+ height: '100%',
3604
+ minHeight: 'fill-available',
3668
3605
  };
3669
3606
 
3670
- var dialog$1 = _ref => {
3671
- let {
3672
- hasFooter
3673
- } = _ref;
3674
- return {
3607
+ const dialog$1 = ({ hasFooter }) => ({
3675
3608
  borderRadius: 'md',
3676
- borderBottomRadius: {
3677
- base: '0',
3678
- tablet: 'md'
3679
- },
3609
+ borderBottomRadius: { base: '0', tablet: 'md' },
3680
3610
  background: 'white',
3681
3611
  color: 'inherit',
3682
3612
  marginY: 0,
3683
3613
  zIndex: 'layer8',
3684
3614
  boxShadow: 'lg',
3685
- paddingBottom: hasFooter ? 0 : 4
3686
- };
3687
- };
3615
+ paddingBottom: hasFooter ? 0 : 4,
3616
+ });
3688
3617
 
3689
- var closeButton$1 = _ref => {
3690
- let {
3691
- hasHeader
3692
- } = _ref;
3693
- return {
3618
+ const closeButton$1 = ({ hasHeader }) => ({
3694
3619
  position: 'absolute',
3695
3620
  top: hasHeader ? 4 : 2,
3696
3621
  insetEnd: hasHeader ? 4 : 2,
@@ -3699,93 +3624,87 @@ var closeButton$1 = _ref => {
3699
3624
  width: 8,
3700
3625
  height: 8,
3701
3626
  _focus: {
3702
- boxShadow: 'outline'
3627
+ boxShadow: 'outline',
3703
3628
  },
3704
3629
  _hover: {
3705
- bg: 'gray.50'
3706
- }
3707
- };
3708
- };
3630
+ bg: 'gray.50',
3631
+ },
3632
+ });
3709
3633
 
3710
- var body$1 = _ref => {
3711
- let {
3712
- hasFooter,
3713
- hasHeader,
3714
- hideCloseButton
3715
- } = _ref;
3716
- const scrollingHeaderStyles = hasHeader || !hideCloseButton ? {
3717
- // The following adapted from https://lea.verou.me/2012/04/background-attachment-local/
3718
- background: 'linear-gradient(white 30%, white), linear-gradient(rgb(0 0 0 / 10%) 0%, white)',
3719
- backgroundRepeat: 'no-repeat',
3720
- backgroundColor: 'white',
3721
- backgroundSize: '100% 30px, 100% 10px',
3722
- backgroundAttachment: 'local, scroll'
3723
- } : {};
3724
- return _objectSpread2({
3725
- borderBottomRadius: hasFooter ? null : 'md',
3726
- paddingX: 4,
3727
- paddingBottom: 4,
3728
- flex: 1,
3729
- overflow: 'auto',
3730
- display: 'flex'
3731
- }, scrollingHeaderStyles);
3634
+ const body$1 = ({ hasFooter, hasHeader, hideCloseButton }) => {
3635
+ const scrollingHeaderStyles = hasHeader || !hideCloseButton
3636
+ ? {
3637
+ // The following adapted from https://lea.verou.me/2012/04/background-attachment-local/
3638
+ background: 'linear-gradient(white 30%, white), linear-gradient(rgb(0 0 0 / 10%) 0%, white)',
3639
+ backgroundRepeat: 'no-repeat',
3640
+ backgroundColor: 'white',
3641
+ backgroundSize: '100% 30px, 100% 10px',
3642
+ backgroundAttachment: 'local, scroll',
3643
+ }
3644
+ : {};
3645
+ return {
3646
+ borderBottomRadius: hasFooter ? null : 'md',
3647
+ paddingX: 4,
3648
+ paddingBottom: 4,
3649
+ flex: 1,
3650
+ overflow: 'auto',
3651
+ display: 'flex',
3652
+ ...scrollingHeaderStyles,
3653
+ };
3732
3654
  };
3733
3655
 
3734
- var footer$1 = {
3735
- borderTop: '1px',
3736
- borderColor: 'gray.100',
3737
- padding: 4,
3738
- gap: 4,
3739
- justifyContent: 'flex-start',
3740
- flexDirection: {
3741
- base: 'column',
3742
- desktop: 'row-reverse'
3743
- }
3656
+ const footer$1 = {
3657
+ borderTop: '1px',
3658
+ borderColor: 'gray.100',
3659
+ padding: 4,
3660
+ gap: 4,
3661
+ justifyContent: 'flex-start',
3662
+ flexDirection: { base: 'column', desktop: 'row-reverse' },
3744
3663
  };
3745
3664
 
3746
- const baseStyle$4 = props => ({
3747
- overlay,
3748
- dialogContainer: dialogContainer$1,
3749
- header: header$1(props),
3750
- dialog: dialog$1(props),
3751
- closeButton: closeButton$1(props),
3752
- body: body$1(props),
3753
- footer: footer$1
3665
+ const baseStyle$4 = (props) => ({
3666
+ overlay,
3667
+ dialogContainer: dialogContainer$1,
3668
+ header: header$1(props),
3669
+ dialog: dialog$1(props),
3670
+ closeButton: closeButton$1(props),
3671
+ body: body$1(props),
3672
+ footer: footer$1,
3754
3673
  });
3755
3674
  const sizes$3 = {
3756
- sm: {
3757
- dialog: {
3758
- // Would have preferred object syntax here and below, but wasn't working for whatever reason
3759
- maxWidth: ['100%', '100%', '48%', '32%', '24%'],
3760
- maxHeight: ['100%', '100%', '60%', '48%', '32%'],
3761
- minHeight: ['auto', 'auto', '32%', '32%', '24%']
3762
- }
3763
- },
3764
- 'sm-md': {
3765
- dialog: {
3766
- maxHeight: ['100%', '100%', '65%', '65%', '65%'],
3767
- minWidth: ['100%', '100%', 96, 96, 96],
3768
- maxWidth: ['100%', '100%', '55%', '42%', '30%']
3769
- }
3770
- },
3771
- md: {
3772
- dialog: {
3773
- maxWidth: ['100%', '100%', '84%', '60%', '48%'],
3774
- maxHeight: ['100%', '100%', '96%', '84%', '60%'],
3775
- minHeight: ['auto', 'auto', '84%', '60%', '48%']
3776
- }
3777
- },
3778
- lg: {
3779
- dialog: {
3780
- maxWidth: ['100%', '100%', '96%', '84%', '72%'],
3781
- maxHeight: ['100%', '100%', '96%', '96%', '84%'],
3782
- minHeight: ['auto', 'auto', '96%', '84%', '72%']
3783
- }
3784
- }
3675
+ sm: {
3676
+ dialog: {
3677
+ // Would have preferred object syntax here and below, but wasn't working for whatever reason
3678
+ maxWidth: ['100%', '100%', '48%', '32%', '24%'],
3679
+ maxHeight: ['100%', '100%', '60%', '48%', '32%'],
3680
+ minHeight: ['auto', 'auto', '32%', '32%', '24%'],
3681
+ },
3682
+ },
3683
+ 'sm-md': {
3684
+ dialog: {
3685
+ maxHeight: ['100%', '100%', '65%', '65%', '65%'],
3686
+ minWidth: ['100%', '100%', 96, 96, 96],
3687
+ maxWidth: ['100%', '100%', '55%', '42%', '30%'],
3688
+ },
3689
+ },
3690
+ md: {
3691
+ dialog: {
3692
+ maxWidth: ['100%', '100%', '84%', '60%', '48%'],
3693
+ maxHeight: ['100%', '100%', '96%', '84%', '60%'],
3694
+ minHeight: ['auto', 'auto', '84%', '60%', '48%'],
3695
+ },
3696
+ },
3697
+ lg: {
3698
+ dialog: {
3699
+ maxWidth: ['100%', '100%', '96%', '84%', '72%'],
3700
+ maxHeight: ['100%', '100%', '96%', '96%', '84%'],
3701
+ minHeight: ['auto', 'auto', '96%', '84%', '72%'],
3702
+ },
3703
+ },
3785
3704
  };
3786
- var index = merge__default.default(react.theme.components.Modal, {
3787
- baseStyle: baseStyle$4,
3788
- sizes: sizes$3
3705
+ const modalStyle = merge__default.default(react.theme.components.Modal, {
3706
+ baseStyle: baseStyle$4,
3707
+ sizes: sizes$3,
3789
3708
  });
3790
3709
 
3791
3710
  const parts = ['control', 'label'];
@@ -4289,19 +4208,19 @@ var components = /*#__PURE__*/Object.freeze({
4289
4208
  Accordion: theme$1,
4290
4209
  Badge: badgeStyle,
4291
4210
  Button: buttonStyle,
4292
- ButtonRefreshed: index$1,
4211
+ ButtonRefreshed: index,
4293
4212
  Checkbox: checkboxStyle,
4294
4213
  Divider: dividerStyle,
4295
4214
  Drawer: drawerStyle,
4296
4215
  GridItem: styles$1,
4297
4216
  Heading: Heading_styles,
4298
4217
  Input: inputStyle,
4299
- InputRefreshed: index$2,
4218
+ InputRefreshed: index$1,
4300
4219
  Link: linkStyle,
4301
4220
  List: listStyle,
4302
4221
  Menu: Menu_styles,
4303
- Modal: index,
4304
- Popover: index$3,
4222
+ Modal: modalStyle,
4223
+ Popover: popoverStyle,
4305
4224
  Progress: progressStyle,
4306
4225
  Radio: radioStyle,
4307
4226
  Select: selectStyle,
@@ -4332,32 +4251,8 @@ const baseConfig = {
4332
4251
  };
4333
4252
  var THEME = react.extendTheme(extendedTheme, baseConfig);
4334
4253
 
4335
- const _excluded$9 = ["theme", "useLegacyOverrides", "disableExternalFonts", "children"];
4336
- const ThemeProvider = /*#__PURE__*/React.forwardRef((_ref, ref) => {
4337
- let {
4338
- theme,
4339
- useLegacyOverrides,
4340
- disableExternalFonts = false,
4341
- children
4342
- } = _ref,
4343
- props = _objectWithoutProperties(_ref, _excluded$9);
4344
- return /*#__PURE__*/React__namespace.default.createElement(react.ChakraProvider, _extends$6({}, props, {
4345
- ref: ref,
4346
- theme: merge__default.default({}, THEME, theme)
4347
- }), disableExternalFonts ? null : /*#__PURE__*/React__namespace.default.createElement(Fonts, null), /*#__PURE__*/React__namespace.default.createElement(LegacyOverrides, {
4348
- useLegacyOverrides: useLegacyOverrides
4349
- }), children);
4350
- });
4351
- ThemeProvider.propTypes = {
4352
- /** If true, this will use the old `spothero-html` base styles */
4353
- useLegacyOverrides: PropTypes__default.default.bool,
4354
- /** If true, this will not load the `Fonts` global styles */
4355
- disableExternalFonts: PropTypes__default.default.bool,
4356
- /** The React node (generally your entire App) that will be provided the theme */
4357
- children: PropTypes__default.default.node,
4358
- /** Adds additional themeing on top of SpotHero's default configuration */
4359
- theme: PropTypes__default.default.object
4360
- };
4254
+ const ThemeProvider = ({ theme, useLegacyOverrides, disableExternalFonts = false, children, ...props }) => (jsxRuntimeExports.jsxs(react.ChakraProvider, { ...props, theme: merge__default.default({}, THEME, theme), children: [disableExternalFonts ? null : jsxRuntimeExports.jsx(Fonts, {}), jsxRuntimeExports.jsx(LegacyOverrides, { useLegacyOverrides: useLegacyOverrides }), children] }));
4255
+ ThemeProvider.displayName = 'ThemeProvider';
4361
4256
 
4362
4257
  const Card = React.forwardRef((props, ref) => (jsxRuntimeExports.jsx(react.Box, { position: "relative", padding: 4, bgColor: "background.white", borderRadius: "lg", boxShadow: "md", ...props, ref: ref })));
4363
4258
  Card.displayName = 'Card';
@@ -4459,7 +4354,7 @@ const Input$1 = React.forwardRef(({ label, helperText, errorMessage, isInvalid,
4459
4354
  });
4460
4355
  Input$1.displayName = 'Input';
4461
4356
 
4462
- const _excluded$8 = ["label", "helperText", "errorMessage", "id", "children", "rightElement", "leftElement", "rightElementStyles", "leftElementStyles"];
4357
+ const _excluded$6 = ["label", "helperText", "errorMessage", "id", "children", "rightElement", "leftElement", "rightElementStyles", "leftElementStyles"];
4463
4358
 
4464
4359
  // No clue how to move these into the style file so just co-located to keep from slowing down
4465
4360
  // Chakra V2 will heavily impact this component
@@ -4484,7 +4379,6 @@ const activeLabelStyles = {
4484
4379
  fontSize: '0.85em',
4485
4380
  transform: 'translateY(-.75rem)',
4486
4381
  _invalid: {
4487
- color: 'error',
4488
4382
  '& .chakra-form__required-indicator': {
4489
4383
  display: 'none'
4490
4384
  }
@@ -4583,10 +4477,10 @@ const FormControl = /*#__PURE__*/React.forwardRef((_ref, ref) => {
4583
4477
  rightElementStyles,
4584
4478
  leftElementStyles
4585
4479
  } = _ref,
4586
- props = _objectWithoutProperties(_ref, _excluded$8);
4587
- return /*#__PURE__*/React__namespace.default.createElement(react.FormControl, _extends$6({}, props, {
4480
+ props = _objectWithoutProperties(_ref, _excluded$6);
4481
+ return /*#__PURE__*/React__namespace.default.createElement(react.FormControl, _extends$2({}, props, {
4588
4482
  ref: ref
4589
- }, controlStyles), /*#__PURE__*/React__namespace.default.createElement(react.InputGroup, null, leftElement && /*#__PURE__*/React__namespace.default.createElement(react.InputLeftElement, _extends$6({
4483
+ }, controlStyles), /*#__PURE__*/React__namespace.default.createElement(react.InputGroup, null, leftElement && /*#__PURE__*/React__namespace.default.createElement(react.InputLeftElement, _extends$2({
4590
4484
  pointerEvents: "none",
4591
4485
  top: "52%",
4592
4486
  left: "1.3rem",
@@ -4597,7 +4491,7 @@ const FormControl = /*#__PURE__*/React.forwardRef((_ref, ref) => {
4597
4491
  position: "relative"
4598
4492
  }, children, label && /*#__PURE__*/React__namespace.default.createElement(react.FormLabel, {
4599
4493
  htmlFor: id
4600
- }, label)), rightElement && /*#__PURE__*/React__namespace.default.createElement(react.InputRightElement, _extends$6({
4494
+ }, label)), rightElement && /*#__PURE__*/React__namespace.default.createElement(react.InputRightElement, _extends$2({
4601
4495
  top: "50%",
4602
4496
  right: "-1rem",
4603
4497
  transform: "translate(-50%,-50%)"
@@ -4625,7 +4519,7 @@ FormControl.propTypes = {
4625
4519
  isInvalid: PropTypes__default.default.bool
4626
4520
  };
4627
4521
 
4628
- const _excluded$7 = ["label", "helperText", "errorMessage", "isInvalid", "isDisabled", "isRequired", "rightElement", "leftElement", "rightElementStyles", "leftElementStyles", "placeholder"];
4522
+ const _excluded$5 = ["label", "helperText", "errorMessage", "isInvalid", "isDisabled", "isRequired", "rightElement", "leftElement", "rightElementStyles", "leftElementStyles", "placeholder"];
4629
4523
 
4630
4524
  /**
4631
4525
  * A component used in the homepage/midfunnel refresh of 2024
@@ -4646,7 +4540,7 @@ const Input = /*#__PURE__*/React.forwardRef((_ref, ref) => {
4646
4540
  leftElementStyles,
4647
4541
  placeholder = ' '
4648
4542
  } = _ref,
4649
- props = _objectWithoutProperties(_ref, _excluded$7);
4543
+ props = _objectWithoutProperties(_ref, _excluded$5);
4650
4544
  const classes = cn__default.default({
4651
4545
  'FormElement-contains-error': isInvalid
4652
4546
  }); //Historic carry over
@@ -4664,7 +4558,7 @@ const Input = /*#__PURE__*/React.forwardRef((_ref, ref) => {
4664
4558
  rightElementStyles: rightElementStyles,
4665
4559
  leftElementStyles: leftElementStyles,
4666
4560
  variant: "refreshed"
4667
- }, /*#__PURE__*/React__namespace.default.createElement(react.Input, _extends$6({
4561
+ }, /*#__PURE__*/React__namespace.default.createElement(react.Input, _extends$2({
4668
4562
  placeholder: placeholder,
4669
4563
  ref: ref,
4670
4564
  className: classes,
@@ -4689,7 +4583,7 @@ Input.propTypes = {
4689
4583
  leftElementStyles: PropTypes__default.default.object
4690
4584
  };
4691
4585
 
4692
- const _excluded$6 = ["label", "helperText", "errorMessage", "isInvalid", "isDisabled", "isRequired", "isOptional", "rightElement", "leftElement", "rightElementStyles", "leftElementStyles", "formControlStyles"];
4586
+ const _excluded$4 = ["label", "helperText", "errorMessage", "isInvalid", "isDisabled", "isRequired", "isOptional", "rightElement", "leftElement", "rightElementStyles", "leftElementStyles", "formControlStyles"];
4693
4587
 
4694
4588
  //For select left is static arrow,
4695
4589
  /**
@@ -4713,7 +4607,7 @@ const Select = /*#__PURE__*/React.forwardRef((_ref, ref) => {
4713
4607
  leftElementStyles,
4714
4608
  formControlStyles
4715
4609
  } = _ref,
4716
- props = _objectWithoutProperties(_ref, _excluded$6);
4610
+ props = _objectWithoutProperties(_ref, _excluded$4);
4717
4611
  const classes = cn__default.default({
4718
4612
  'FormElement-contains-error': isInvalid
4719
4613
  });
@@ -4730,7 +4624,7 @@ const Select = /*#__PURE__*/React.forwardRef((_ref, ref) => {
4730
4624
  rightElementStyles: rightElementStyles,
4731
4625
  leftElementStyles: leftElementStyles,
4732
4626
  sx: formControlStyles
4733
- }, /*#__PURE__*/React__namespace.default.createElement(react.Select, _extends$6({
4627
+ }, /*#__PURE__*/React__namespace.default.createElement(react.Select, _extends$2({
4734
4628
  icon: /*#__PURE__*/React__namespace.default.createElement(react.Icon, {
4735
4629
  as: ForwardRef$1
4736
4630
  }),
@@ -4754,7 +4648,7 @@ Select.propTypes = {
4754
4648
  rightElementStyles: PropTypes__default.default.object
4755
4649
  };
4756
4650
 
4757
- const _excluded$5 = ["label", "helperText", "errorMessage", "isInvalid", "isDisabled", "isRequired", "isHighlighted", "rightElement", "leftElement", "rightElementStyles", "leftElementStyles", "buttonValue"];
4651
+ const _excluded$3 = ["label", "helperText", "errorMessage", "isInvalid", "isDisabled", "isRequired", "isHighlighted", "rightElement", "leftElement", "rightElementStyles", "leftElementStyles", "buttonValue"];
4758
4652
 
4759
4653
  /**
4760
4654
  * A component used in the homepage/midfunnel refresh of 2024
@@ -4778,7 +4672,7 @@ const Button = /*#__PURE__*/React.forwardRef((_ref, ref) => {
4778
4672
  leftElementStyles,
4779
4673
  buttonValue
4780
4674
  } = _ref,
4781
- props = _objectWithoutProperties(_ref, _excluded$5);
4675
+ props = _objectWithoutProperties(_ref, _excluded$3);
4782
4676
  const classes = cn__default.default({
4783
4677
  'FormElement-contains-error': isInvalid
4784
4678
  }); //Historic carry over
@@ -4796,7 +4690,7 @@ const Button = /*#__PURE__*/React.forwardRef((_ref, ref) => {
4796
4690
  rightElementStyles: rightElementStyles,
4797
4691
  leftElementStyles: leftElementStyles,
4798
4692
  variant: "refreshed"
4799
- }, /*#__PURE__*/React__namespace.default.createElement(react.Button, _extends$6({
4693
+ }, /*#__PURE__*/React__namespace.default.createElement(react.Button, _extends$2({
4800
4694
  ref: ref,
4801
4695
  className: classes,
4802
4696
  variant: "refreshed",
@@ -4949,7 +4843,7 @@ const AutoSuggestSelect$1 = /*#__PURE__*/React.forwardRef((_ref, ref) => {
4949
4843
  innerRef,
4950
4844
  innerProps
4951
4845
  } = _ref2;
4952
- return /*#__PURE__*/React__namespace.default.createElement("div", _extends$6({
4846
+ return /*#__PURE__*/React__namespace.default.createElement("div", _extends$2({
4953
4847
  style: clearIndicatorStyles,
4954
4848
  ref: innerRef
4955
4849
  }, innerProps), /*#__PURE__*/React__namespace.default.createElement(ForwardRef, null));
@@ -5033,7 +4927,7 @@ const RadioGroup = React.forwardRef(({ label, errorMessage, defaultValue, isDisa
5033
4927
  });
5034
4928
  RadioGroup.displayName = 'RadioGroup';
5035
4929
 
5036
- const _excluded$4 = ["isChecked", "isDisabled", "value", "helperText", "expandableChildren", "defaultChecked", "isRadio", "label", "isExpandable", "size", "expandableChildrenStyles", "topChild", "expandableContentKey"];
4930
+ const _excluded$2 = ["isChecked", "isDisabled", "value", "helperText", "expandableChildren", "defaultChecked", "isRadio", "label", "isExpandable", "size", "expandableChildrenStyles", "topChild", "expandableContentKey"];
5037
4931
  const SelectionCard = /*#__PURE__*/React.forwardRef((_ref, ref) => {
5038
4932
  let {
5039
4933
  isChecked,
@@ -5050,7 +4944,7 @@ const SelectionCard = /*#__PURE__*/React.forwardRef((_ref, ref) => {
5050
4944
  topChild,
5051
4945
  expandableContentKey = 'selection-card-content'
5052
4946
  } = _ref,
5053
- props = _objectWithoutProperties(_ref, _excluded$4);
4947
+ props = _objectWithoutProperties(_ref, _excluded$2);
5054
4948
  const Component = isRadio ? Radio : Checkbox;
5055
4949
  const expandableTextSize = size === 'sm' || size === 'md' ? 'xs' : 'sm';
5056
4950
  const hasExpandableContent = isExpandable && isChecked && expandableChildren;
@@ -5074,7 +4968,7 @@ const SelectionCard = /*#__PURE__*/React.forwardRef((_ref, ref) => {
5074
4968
  }, topChild, /*#__PURE__*/React__namespace.default.createElement(react.Box, {
5075
4969
  borderColor: "gray.medium",
5076
4970
  borderBottomWidth: hasExpandableContent ? '1px' : 0
5077
- }, /*#__PURE__*/React__namespace.default.createElement(Component, _extends$6({
4971
+ }, /*#__PURE__*/React__namespace.default.createElement(Component, _extends$2({
5078
4972
  ref: ref,
5079
4973
  isChecked: isChecked,
5080
4974
  isDisabled: isDisabled,
@@ -5108,7 +5002,7 @@ const SelectionCard = /*#__PURE__*/React.forwardRef((_ref, ref) => {
5108
5002
  ease: 'easeOut'
5109
5003
  },
5110
5004
  overflow: "hidden"
5111
- }, /*#__PURE__*/React__namespace.default.createElement(react.Box, _extends$6({
5005
+ }, /*#__PURE__*/React__namespace.default.createElement(react.Box, _extends$2({
5112
5006
  color: "gray.600",
5113
5007
  fontSize: expandableTextSize,
5114
5008
  paddingTop: 3,
@@ -5143,50 +5037,36 @@ const Textarea = React.forwardRef(({ label, helperText, errorMessage, isInvalid,
5143
5037
  });
5144
5038
  Textarea.displayName = 'Textarea';
5145
5039
 
5146
- const _excluded$3 = ["children"];
5147
- const Popover = /*#__PURE__*/React.forwardRef((props, ref) => {
5148
- const {
5149
- children
5150
- } = props,
5151
- rest = _objectWithoutProperties(props, _excluded$3);
5152
- return /*#__PURE__*/React__namespace.default.createElement(react.Popover, _extends$6({}, rest, {
5153
- ref: ref
5154
- }), React.Children.toArray(children).map((child, index) => /*#__PURE__*/React.cloneElement(child, {
5155
- ref,
5156
- variant: props.variant,
5157
- key: "Popover-child-".concat(index)
5158
- })));
5040
+ const ChakraPopoverWithRef = react.Popover;
5041
+ const Popover = React.forwardRef(({ children, ...rest }, ref) => {
5042
+ const { variant } = rest;
5043
+ return (jsxRuntimeExports.jsx(ChakraPopoverWithRef, { ...rest, ref: ref, children: React.Children.map(children, (child, index) => {
5044
+ if (!React.isValidElement(child)) {
5045
+ return child;
5046
+ }
5047
+ return React.cloneElement(child, {
5048
+ ref,
5049
+ variant,
5050
+ key: child.key ?? `Popover-child-${index}`,
5051
+ });
5052
+ }) }));
5159
5053
  });
5160
- Popover.propTypes = {
5161
- /** React children */
5162
- children: PropTypes__default.default.node,
5163
- /** Styles the Popover */
5164
- variant: PropTypes__default.default.oneOf(['light', 'dark'])
5165
- };
5054
+ Popover.displayName = 'Popover';
5166
5055
 
5167
- const arrowStyles = _ref => {
5168
- let {
5169
- variant
5170
- } = _ref;
5171
- return {
5172
- backgroundColor: variant === 'dark' ? 'secondary.default' : 'white'
5173
- };
5174
- };
5056
+ const arrowStyles = ({ variant }) => ({
5057
+ backgroundColor: variant === 'dark' ? 'secondary.default' : 'white',
5058
+ });
5175
5059
 
5176
- const PopoverArrow = /*#__PURE__*/React.forwardRef((props, ref) => {
5177
- return /*#__PURE__*/React__namespace.default.createElement(react.PopoverArrow, _extends$6({
5178
- ref: ref
5179
- }, props, arrowStyles(props)));
5060
+ const ChakraPopoverArrowWithRef = react.PopoverArrow;
5061
+ const PopoverArrow = React.forwardRef((props, ref) => {
5062
+ return (jsxRuntimeExports.jsx(ChakraPopoverArrowWithRef, { ref: ref, ...props, ...arrowStyles(props) }));
5180
5063
  });
5064
+ PopoverArrow.displayName = 'PopoverArrow';
5181
5065
 
5182
- const pseudoStyles = variant => ({
5183
- bgColor: variant === 'dark' ? 'gray.600' : 'gray.50'
5066
+ const pseudoStyles = (variant) => ({
5067
+ bgColor: variant === 'dark' ? 'gray.600' : 'gray.50',
5184
5068
  });
5185
- const closeButtonStyles = _ref => {
5186
- let {
5187
- variant
5188
- } = _ref;
5189
- return {
5069
+ const closeButtonStyles = ({ variant }) => ({
5190
5070
  color: variant === 'dark' ? 'white' : 'black',
5191
5071
  fontSize: '0.5rem',
5192
5072
  position: 'absolute',
@@ -5195,56 +5075,21 @@ const closeButtonStyles = _ref => {
5195
5075
  padding: 4,
5196
5076
  borderTopRightRadius: 4,
5197
5077
  _hover: pseudoStyles(variant),
5198
- _focus: _objectSpread2(_objectSpread2({}, pseudoStyles(variant)), {}, {
5199
- boxShadow: 'outline'
5200
- })
5201
- };
5202
- };
5078
+ _focus: {
5079
+ ...pseudoStyles(variant),
5080
+ boxShadow: 'outline',
5081
+ },
5082
+ });
5203
5083
 
5204
- const PopoverCloseButton = /*#__PURE__*/React.forwardRef((props, ref) => {
5205
- return /*#__PURE__*/React__namespace.default.createElement(react.PopoverCloseButton, _extends$6({
5206
- ref: ref
5207
- }, props, closeButtonStyles(props)));
5084
+ const PopoverCloseButton = React.forwardRef((props, ref) => {
5085
+ return (jsxRuntimeExports.jsx(react.PopoverCloseButton, { ref: ref, ...props, ...closeButtonStyles(props) }));
5208
5086
  });
5087
+ PopoverCloseButton.displayName = 'PopoverCloseButton';
5209
5088
 
5210
- const _excluded$2 = ["header", "variant", "children", "hideCloseButton", "hideArrow", "popoverBodyProps"];
5211
- const PopoverContent = /*#__PURE__*/React.forwardRef((props, ref) => {
5212
- const {
5213
- header,
5214
- variant,
5215
- children,
5216
- hideCloseButton,
5217
- hideArrow,
5218
- popoverBodyProps
5219
- } = props,
5220
- rest = _objectWithoutProperties(props, _excluded$2);
5221
- return /*#__PURE__*/React__namespace.default.createElement(react.PopoverContent, _extends$6({}, rest, {
5222
- ref: ref
5223
- }), hideArrow ? null : /*#__PURE__*/React__namespace.default.createElement(PopoverArrow, {
5224
- variant: variant
5225
- }), hideCloseButton ? null : /*#__PURE__*/React__namespace.default.createElement(PopoverCloseButton, {
5226
- variant: variant
5227
- }), header ? /*#__PURE__*/React__namespace.default.createElement(react.PopoverHeader, null, header) : null, /*#__PURE__*/React__namespace.default.createElement(react.PopoverBody, popoverBodyProps, children));
5228
- });
5229
- PopoverContent.propTypes = {
5230
- /** React children */
5231
- children: PropTypes__default.default.node,
5232
- /** Whether or not to hide the close button */
5233
- hideCloseButton: PropTypes__default.default.bool,
5234
- /** Whether or not to hide the arrow */
5235
- hideArrow: PropTypes__default.default.bool,
5236
- /** Styles the Popover */
5237
- variant: PropTypes__default.default.oneOf(['light', 'dark']),
5238
- /** The string or node for the header (optional) */
5239
- header: PropTypes__default.default.oneOfType([PropTypes__default.default.node, PropTypes__default.default.string]),
5240
- /** Props to pass to the PopoverBody */
5241
- popoverBodyProps: PropTypes__default.default.object
5242
- };
5243
- PopoverContent.defaultProps = {
5244
- variant: 'light',
5245
- hideCloseButton: false,
5246
- hideArrow: false
5247
- };
5089
+ const PopoverContent = React.forwardRef(({ header, variant = 'light', children, hideCloseButton = false, hideArrow = false, popoverBodyProps, ...rest }, ref) => {
5090
+ return (jsxRuntimeExports.jsxs(react.PopoverContent, { ...rest, ref: ref, children: [hideArrow ? null : jsxRuntimeExports.jsx(PopoverArrow, { variant: variant }), hideCloseButton ? null : (jsxRuntimeExports.jsx(PopoverCloseButton, { variant: variant })), header ? jsxRuntimeExports.jsx(react.PopoverHeader, { children: header }) : null, jsxRuntimeExports.jsx(react.PopoverBody, { ...popoverBodyProps, children: children })] }));
5091
+ });
5092
+ PopoverContent.displayName = 'PopoverContent';
5248
5093
 
5249
5094
  const AutoSuggestSelect = /*#__PURE__*/React.forwardRef((_ref, ref) => {
5250
5095
  let {
@@ -5339,7 +5184,7 @@ const AutoSuggestSelect = /*#__PURE__*/React.forwardRef((_ref, ref) => {
5339
5184
  innerRef,
5340
5185
  innerProps
5341
5186
  } = _ref2;
5342
- return /*#__PURE__*/React__namespace.default.createElement("div", _extends$6({
5187
+ return /*#__PURE__*/React__namespace.default.createElement("div", _extends$2({
5343
5188
  style: clearIndicatorStyles,
5344
5189
  ref: innerRef
5345
5190
  }, innerProps), /*#__PURE__*/React__namespace.default.createElement(ForwardRef, null));
@@ -5508,7 +5353,7 @@ const FilterSelectNode = _ref => {
5508
5353
  label: label,
5509
5354
  inputId: id,
5510
5355
  isInvalid: isInvalid
5511
- }, /*#__PURE__*/React__namespace.default.createElement(Select__default.default, _extends$6({
5356
+ }, /*#__PURE__*/React__namespace.default.createElement(Select__default.default, _extends$2({
5512
5357
  ref: innerRef,
5513
5358
  classNamePrefix: "fe-ui-filter-select",
5514
5359
  closeMenuOnSelect: true,
@@ -5527,7 +5372,7 @@ const FilterSelectNode = _ref => {
5527
5372
  noOptionsMessage: () => noOptionsMessage
5528
5373
  }, props)));
5529
5374
  };
5530
- const FilterSelect = /*#__PURE__*/React.forwardRef((props, ref) => /*#__PURE__*/React__namespace.default.createElement(FilterSelectNode, _extends$6({
5375
+ const FilterSelect = /*#__PURE__*/React.forwardRef((props, ref) => /*#__PURE__*/React__namespace.default.createElement(FilterSelectNode, _extends$2({
5531
5376
  innerRef: ref
5532
5377
  }, props)));
5533
5378
  FilterSelect.propTypes = {
@@ -5651,7 +5496,7 @@ const ToggleButtonGroup = /*#__PURE__*/React.forwardRef((props, ref) => {
5651
5496
  if (!children) throw new Error('Children required');
5652
5497
 
5653
5498
  // iterate over array of child nodes to apply extended props
5654
- return /*#__PURE__*/React__namespace.default.createElement(react.ButtonGroup, _extends$6({
5499
+ return /*#__PURE__*/React__namespace.default.createElement(react.ButtonGroup, _extends$2({
5655
5500
  ref: ref,
5656
5501
  sx: _objectSpread2(_objectSpread2({}, buttonGroupStyles), _buttonGroupStyles)
5657
5502
  }, groupProps), React__namespace.default.Children.map(children, CHILD => {
@@ -5739,7 +5584,7 @@ const CreatableSelectNode = _ref => {
5739
5584
  helperText: helperText,
5740
5585
  label: label,
5741
5586
  inputId: id
5742
- }, /*#__PURE__*/React__namespace.default.createElement(Creatable__default.default, _extends$6({
5587
+ }, /*#__PURE__*/React__namespace.default.createElement(Creatable__default.default, _extends$2({
5743
5588
  id: id,
5744
5589
  components: {
5745
5590
  DropdownIndicator
@@ -5763,7 +5608,7 @@ const CreatableSelect = /*#__PURE__*/React.forwardRef((props, ref) => {
5763
5608
  helperText
5764
5609
  } = props,
5765
5610
  additionalProps = _objectWithoutProperties(props, _excluded2);
5766
- return /*#__PURE__*/React__namespace.default.createElement(CreatableSelectNode, _extends$6({
5611
+ return /*#__PURE__*/React__namespace.default.createElement(CreatableSelectNode, _extends$2({
5767
5612
  id: id,
5768
5613
  innerRef: ref,
5769
5614
  label: label,
@@ -5801,12 +5646,12 @@ CreatableSelectNode.propTypes = {
5801
5646
  current: PropTypes__default.default.instanceOf(Creatable__default.default)
5802
5647
  })
5803
5648
  };
5804
- var CreatableSelect$1 = /*#__PURE__*/React.forwardRef((props, ref) => /*#__PURE__*/React__namespace.default.createElement(CreatableSelectNode, _extends$6({
5649
+ var CreatableSelect$1 = /*#__PURE__*/React.forwardRef((props, ref) => /*#__PURE__*/React__namespace.default.createElement(CreatableSelectNode, _extends$2({
5805
5650
  ref: ref
5806
5651
  }, props)));
5807
5652
 
5808
5653
  const Menu = react.forwardRef((props, ref) => {
5809
- return /*#__PURE__*/React__namespace.default.createElement(react.Menu, _extends$6({}, props, {
5654
+ return /*#__PURE__*/React__namespace.default.createElement(react.Menu, _extends$2({}, props, {
5810
5655
  ref: ref
5811
5656
  }));
5812
5657
  });