@spothero/ui 25.11.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 -6
  10. package/dist/components/Modal/styles/header.d.ts +4 -6
  11. package/dist/components/Modal/styles/index.d.ts +4 -227
  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 -528
  29. package/dist/index.cjs.js.map +1 -1
  30. package/dist/index.d.ts +75 -11
  31. package/dist/index.esm.js +387 -529
  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'|'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', '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'|'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', '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,80 +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
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' },
3738
3663
  };
3739
3664
 
3740
- const baseStyle$4 = props => ({
3741
- overlay,
3742
- dialogContainer: dialogContainer$1,
3743
- header: header$1(props),
3744
- dialog: dialog$1(props),
3745
- closeButton: closeButton$1(props),
3746
- body: body$1(props),
3747
- 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,
3748
3673
  });
3749
3674
  const sizes$3 = {
3750
- sm: {
3751
- dialog: {
3752
- // Would have preferred object syntax here and below, but wasn't working for whatever reason
3753
- maxWidth: ['100%', '100%', '48%', '32%', '24%'],
3754
- maxHeight: ['100%', '100%', '60%', '48%', '32%'],
3755
- minHeight: ['auto', 'auto', '32%', '32%', '24%']
3756
- }
3757
- },
3758
- md: {
3759
- dialog: {
3760
- maxWidth: ['100%', '100%', '84%', '60%', '48%'],
3761
- maxHeight: ['100%', '100%', '96%', '84%', '60%'],
3762
- minHeight: ['auto', 'auto', '84%', '60%', '48%']
3763
- }
3764
- },
3765
- lg: {
3766
- dialog: {
3767
- maxWidth: ['100%', '100%', '96%', '84%', '72%'],
3768
- maxHeight: ['100%', '100%', '96%', '96%', '84%'],
3769
- minHeight: ['auto', 'auto', '96%', '84%', '72%']
3770
- }
3771
- }
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
+ },
3772
3704
  };
3773
- var index = merge__default.default(react.theme.components.Modal, {
3774
- baseStyle: baseStyle$4,
3775
- sizes: sizes$3
3705
+ const modalStyle = merge__default.default(react.theme.components.Modal, {
3706
+ baseStyle: baseStyle$4,
3707
+ sizes: sizes$3,
3776
3708
  });
3777
3709
 
3778
3710
  const parts = ['control', 'label'];
@@ -4276,19 +4208,19 @@ var components = /*#__PURE__*/Object.freeze({
4276
4208
  Accordion: theme$1,
4277
4209
  Badge: badgeStyle,
4278
4210
  Button: buttonStyle,
4279
- ButtonRefreshed: index$1,
4211
+ ButtonRefreshed: index,
4280
4212
  Checkbox: checkboxStyle,
4281
4213
  Divider: dividerStyle,
4282
4214
  Drawer: drawerStyle,
4283
4215
  GridItem: styles$1,
4284
4216
  Heading: Heading_styles,
4285
4217
  Input: inputStyle,
4286
- InputRefreshed: index$2,
4218
+ InputRefreshed: index$1,
4287
4219
  Link: linkStyle,
4288
4220
  List: listStyle,
4289
4221
  Menu: Menu_styles,
4290
- Modal: index,
4291
- Popover: index$3,
4222
+ Modal: modalStyle,
4223
+ Popover: popoverStyle,
4292
4224
  Progress: progressStyle,
4293
4225
  Radio: radioStyle,
4294
4226
  Select: selectStyle,
@@ -4319,32 +4251,8 @@ const baseConfig = {
4319
4251
  };
4320
4252
  var THEME = react.extendTheme(extendedTheme, baseConfig);
4321
4253
 
4322
- const _excluded$9 = ["theme", "useLegacyOverrides", "disableExternalFonts", "children"];
4323
- const ThemeProvider = /*#__PURE__*/React.forwardRef((_ref, ref) => {
4324
- let {
4325
- theme,
4326
- useLegacyOverrides,
4327
- disableExternalFonts = false,
4328
- children
4329
- } = _ref,
4330
- props = _objectWithoutProperties(_ref, _excluded$9);
4331
- return /*#__PURE__*/React__namespace.default.createElement(react.ChakraProvider, _extends$6({}, props, {
4332
- ref: ref,
4333
- theme: merge__default.default({}, THEME, theme)
4334
- }), disableExternalFonts ? null : /*#__PURE__*/React__namespace.default.createElement(Fonts, null), /*#__PURE__*/React__namespace.default.createElement(LegacyOverrides, {
4335
- useLegacyOverrides: useLegacyOverrides
4336
- }), children);
4337
- });
4338
- ThemeProvider.propTypes = {
4339
- /** If true, this will use the old `spothero-html` base styles */
4340
- useLegacyOverrides: PropTypes__default.default.bool,
4341
- /** If true, this will not load the `Fonts` global styles */
4342
- disableExternalFonts: PropTypes__default.default.bool,
4343
- /** The React node (generally your entire App) that will be provided the theme */
4344
- children: PropTypes__default.default.node,
4345
- /** Adds additional themeing on top of SpotHero's default configuration */
4346
- theme: PropTypes__default.default.object
4347
- };
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';
4348
4256
 
4349
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 })));
4350
4258
  Card.displayName = 'Card';
@@ -4446,7 +4354,7 @@ const Input$1 = React.forwardRef(({ label, helperText, errorMessage, isInvalid,
4446
4354
  });
4447
4355
  Input$1.displayName = 'Input';
4448
4356
 
4449
- 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"];
4450
4358
 
4451
4359
  // No clue how to move these into the style file so just co-located to keep from slowing down
4452
4360
  // Chakra V2 will heavily impact this component
@@ -4471,7 +4379,6 @@ const activeLabelStyles = {
4471
4379
  fontSize: '0.85em',
4472
4380
  transform: 'translateY(-.75rem)',
4473
4381
  _invalid: {
4474
- color: 'error',
4475
4382
  '& .chakra-form__required-indicator': {
4476
4383
  display: 'none'
4477
4384
  }
@@ -4570,10 +4477,10 @@ const FormControl = /*#__PURE__*/React.forwardRef((_ref, ref) => {
4570
4477
  rightElementStyles,
4571
4478
  leftElementStyles
4572
4479
  } = _ref,
4573
- props = _objectWithoutProperties(_ref, _excluded$8);
4574
- 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, {
4575
4482
  ref: ref
4576
- }, 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({
4577
4484
  pointerEvents: "none",
4578
4485
  top: "52%",
4579
4486
  left: "1.3rem",
@@ -4584,7 +4491,7 @@ const FormControl = /*#__PURE__*/React.forwardRef((_ref, ref) => {
4584
4491
  position: "relative"
4585
4492
  }, children, label && /*#__PURE__*/React__namespace.default.createElement(react.FormLabel, {
4586
4493
  htmlFor: id
4587
- }, label)), rightElement && /*#__PURE__*/React__namespace.default.createElement(react.InputRightElement, _extends$6({
4494
+ }, label)), rightElement && /*#__PURE__*/React__namespace.default.createElement(react.InputRightElement, _extends$2({
4588
4495
  top: "50%",
4589
4496
  right: "-1rem",
4590
4497
  transform: "translate(-50%,-50%)"
@@ -4612,7 +4519,7 @@ FormControl.propTypes = {
4612
4519
  isInvalid: PropTypes__default.default.bool
4613
4520
  };
4614
4521
 
4615
- 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"];
4616
4523
 
4617
4524
  /**
4618
4525
  * A component used in the homepage/midfunnel refresh of 2024
@@ -4633,7 +4540,7 @@ const Input = /*#__PURE__*/React.forwardRef((_ref, ref) => {
4633
4540
  leftElementStyles,
4634
4541
  placeholder = ' '
4635
4542
  } = _ref,
4636
- props = _objectWithoutProperties(_ref, _excluded$7);
4543
+ props = _objectWithoutProperties(_ref, _excluded$5);
4637
4544
  const classes = cn__default.default({
4638
4545
  'FormElement-contains-error': isInvalid
4639
4546
  }); //Historic carry over
@@ -4651,7 +4558,7 @@ const Input = /*#__PURE__*/React.forwardRef((_ref, ref) => {
4651
4558
  rightElementStyles: rightElementStyles,
4652
4559
  leftElementStyles: leftElementStyles,
4653
4560
  variant: "refreshed"
4654
- }, /*#__PURE__*/React__namespace.default.createElement(react.Input, _extends$6({
4561
+ }, /*#__PURE__*/React__namespace.default.createElement(react.Input, _extends$2({
4655
4562
  placeholder: placeholder,
4656
4563
  ref: ref,
4657
4564
  className: classes,
@@ -4676,7 +4583,7 @@ Input.propTypes = {
4676
4583
  leftElementStyles: PropTypes__default.default.object
4677
4584
  };
4678
4585
 
4679
- 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"];
4680
4587
 
4681
4588
  //For select left is static arrow,
4682
4589
  /**
@@ -4700,7 +4607,7 @@ const Select = /*#__PURE__*/React.forwardRef((_ref, ref) => {
4700
4607
  leftElementStyles,
4701
4608
  formControlStyles
4702
4609
  } = _ref,
4703
- props = _objectWithoutProperties(_ref, _excluded$6);
4610
+ props = _objectWithoutProperties(_ref, _excluded$4);
4704
4611
  const classes = cn__default.default({
4705
4612
  'FormElement-contains-error': isInvalid
4706
4613
  });
@@ -4717,7 +4624,7 @@ const Select = /*#__PURE__*/React.forwardRef((_ref, ref) => {
4717
4624
  rightElementStyles: rightElementStyles,
4718
4625
  leftElementStyles: leftElementStyles,
4719
4626
  sx: formControlStyles
4720
- }, /*#__PURE__*/React__namespace.default.createElement(react.Select, _extends$6({
4627
+ }, /*#__PURE__*/React__namespace.default.createElement(react.Select, _extends$2({
4721
4628
  icon: /*#__PURE__*/React__namespace.default.createElement(react.Icon, {
4722
4629
  as: ForwardRef$1
4723
4630
  }),
@@ -4741,7 +4648,7 @@ Select.propTypes = {
4741
4648
  rightElementStyles: PropTypes__default.default.object
4742
4649
  };
4743
4650
 
4744
- 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"];
4745
4652
 
4746
4653
  /**
4747
4654
  * A component used in the homepage/midfunnel refresh of 2024
@@ -4765,7 +4672,7 @@ const Button = /*#__PURE__*/React.forwardRef((_ref, ref) => {
4765
4672
  leftElementStyles,
4766
4673
  buttonValue
4767
4674
  } = _ref,
4768
- props = _objectWithoutProperties(_ref, _excluded$5);
4675
+ props = _objectWithoutProperties(_ref, _excluded$3);
4769
4676
  const classes = cn__default.default({
4770
4677
  'FormElement-contains-error': isInvalid
4771
4678
  }); //Historic carry over
@@ -4783,7 +4690,7 @@ const Button = /*#__PURE__*/React.forwardRef((_ref, ref) => {
4783
4690
  rightElementStyles: rightElementStyles,
4784
4691
  leftElementStyles: leftElementStyles,
4785
4692
  variant: "refreshed"
4786
- }, /*#__PURE__*/React__namespace.default.createElement(react.Button, _extends$6({
4693
+ }, /*#__PURE__*/React__namespace.default.createElement(react.Button, _extends$2({
4787
4694
  ref: ref,
4788
4695
  className: classes,
4789
4696
  variant: "refreshed",
@@ -4936,7 +4843,7 @@ const AutoSuggestSelect$1 = /*#__PURE__*/React.forwardRef((_ref, ref) => {
4936
4843
  innerRef,
4937
4844
  innerProps
4938
4845
  } = _ref2;
4939
- return /*#__PURE__*/React__namespace.default.createElement("div", _extends$6({
4846
+ return /*#__PURE__*/React__namespace.default.createElement("div", _extends$2({
4940
4847
  style: clearIndicatorStyles,
4941
4848
  ref: innerRef
4942
4849
  }, innerProps), /*#__PURE__*/React__namespace.default.createElement(ForwardRef, null));
@@ -5020,7 +4927,7 @@ const RadioGroup = React.forwardRef(({ label, errorMessage, defaultValue, isDisa
5020
4927
  });
5021
4928
  RadioGroup.displayName = 'RadioGroup';
5022
4929
 
5023
- 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"];
5024
4931
  const SelectionCard = /*#__PURE__*/React.forwardRef((_ref, ref) => {
5025
4932
  let {
5026
4933
  isChecked,
@@ -5037,7 +4944,7 @@ const SelectionCard = /*#__PURE__*/React.forwardRef((_ref, ref) => {
5037
4944
  topChild,
5038
4945
  expandableContentKey = 'selection-card-content'
5039
4946
  } = _ref,
5040
- props = _objectWithoutProperties(_ref, _excluded$4);
4947
+ props = _objectWithoutProperties(_ref, _excluded$2);
5041
4948
  const Component = isRadio ? Radio : Checkbox;
5042
4949
  const expandableTextSize = size === 'sm' || size === 'md' ? 'xs' : 'sm';
5043
4950
  const hasExpandableContent = isExpandable && isChecked && expandableChildren;
@@ -5061,7 +4968,7 @@ const SelectionCard = /*#__PURE__*/React.forwardRef((_ref, ref) => {
5061
4968
  }, topChild, /*#__PURE__*/React__namespace.default.createElement(react.Box, {
5062
4969
  borderColor: "gray.medium",
5063
4970
  borderBottomWidth: hasExpandableContent ? '1px' : 0
5064
- }, /*#__PURE__*/React__namespace.default.createElement(Component, _extends$6({
4971
+ }, /*#__PURE__*/React__namespace.default.createElement(Component, _extends$2({
5065
4972
  ref: ref,
5066
4973
  isChecked: isChecked,
5067
4974
  isDisabled: isDisabled,
@@ -5095,7 +5002,7 @@ const SelectionCard = /*#__PURE__*/React.forwardRef((_ref, ref) => {
5095
5002
  ease: 'easeOut'
5096
5003
  },
5097
5004
  overflow: "hidden"
5098
- }, /*#__PURE__*/React__namespace.default.createElement(react.Box, _extends$6({
5005
+ }, /*#__PURE__*/React__namespace.default.createElement(react.Box, _extends$2({
5099
5006
  color: "gray.600",
5100
5007
  fontSize: expandableTextSize,
5101
5008
  paddingTop: 3,
@@ -5130,50 +5037,36 @@ const Textarea = React.forwardRef(({ label, helperText, errorMessage, isInvalid,
5130
5037
  });
5131
5038
  Textarea.displayName = 'Textarea';
5132
5039
 
5133
- const _excluded$3 = ["children"];
5134
- const Popover = /*#__PURE__*/React.forwardRef((props, ref) => {
5135
- const {
5136
- children
5137
- } = props,
5138
- rest = _objectWithoutProperties(props, _excluded$3);
5139
- return /*#__PURE__*/React__namespace.default.createElement(react.Popover, _extends$6({}, rest, {
5140
- ref: ref
5141
- }), React.Children.toArray(children).map((child, index) => /*#__PURE__*/React.cloneElement(child, {
5142
- ref,
5143
- variant: props.variant,
5144
- key: "Popover-child-".concat(index)
5145
- })));
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
+ }) }));
5146
5053
  });
5147
- Popover.propTypes = {
5148
- /** React children */
5149
- children: PropTypes__default.default.node,
5150
- /** Styles the Popover */
5151
- variant: PropTypes__default.default.oneOf(['light', 'dark'])
5152
- };
5054
+ Popover.displayName = 'Popover';
5153
5055
 
5154
- const arrowStyles = _ref => {
5155
- let {
5156
- variant
5157
- } = _ref;
5158
- return {
5159
- backgroundColor: variant === 'dark' ? 'secondary.default' : 'white'
5160
- };
5161
- };
5056
+ const arrowStyles = ({ variant }) => ({
5057
+ backgroundColor: variant === 'dark' ? 'secondary.default' : 'white',
5058
+ });
5162
5059
 
5163
- const PopoverArrow = /*#__PURE__*/React.forwardRef((props, ref) => {
5164
- return /*#__PURE__*/React__namespace.default.createElement(react.PopoverArrow, _extends$6({
5165
- ref: ref
5166
- }, 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) }));
5167
5063
  });
5064
+ PopoverArrow.displayName = 'PopoverArrow';
5168
5065
 
5169
- const pseudoStyles = variant => ({
5170
- bgColor: variant === 'dark' ? 'gray.600' : 'gray.50'
5066
+ const pseudoStyles = (variant) => ({
5067
+ bgColor: variant === 'dark' ? 'gray.600' : 'gray.50',
5171
5068
  });
5172
- const closeButtonStyles = _ref => {
5173
- let {
5174
- variant
5175
- } = _ref;
5176
- return {
5069
+ const closeButtonStyles = ({ variant }) => ({
5177
5070
  color: variant === 'dark' ? 'white' : 'black',
5178
5071
  fontSize: '0.5rem',
5179
5072
  position: 'absolute',
@@ -5182,56 +5075,21 @@ const closeButtonStyles = _ref => {
5182
5075
  padding: 4,
5183
5076
  borderTopRightRadius: 4,
5184
5077
  _hover: pseudoStyles(variant),
5185
- _focus: _objectSpread2(_objectSpread2({}, pseudoStyles(variant)), {}, {
5186
- boxShadow: 'outline'
5187
- })
5188
- };
5189
- };
5078
+ _focus: {
5079
+ ...pseudoStyles(variant),
5080
+ boxShadow: 'outline',
5081
+ },
5082
+ });
5190
5083
 
5191
- const PopoverCloseButton = /*#__PURE__*/React.forwardRef((props, ref) => {
5192
- return /*#__PURE__*/React__namespace.default.createElement(react.PopoverCloseButton, _extends$6({
5193
- ref: ref
5194
- }, props, closeButtonStyles(props)));
5084
+ const PopoverCloseButton = React.forwardRef((props, ref) => {
5085
+ return (jsxRuntimeExports.jsx(react.PopoverCloseButton, { ref: ref, ...props, ...closeButtonStyles(props) }));
5195
5086
  });
5087
+ PopoverCloseButton.displayName = 'PopoverCloseButton';
5196
5088
 
5197
- const _excluded$2 = ["header", "variant", "children", "hideCloseButton", "hideArrow", "popoverBodyProps"];
5198
- const PopoverContent = /*#__PURE__*/React.forwardRef((props, ref) => {
5199
- const {
5200
- header,
5201
- variant,
5202
- children,
5203
- hideCloseButton,
5204
- hideArrow,
5205
- popoverBodyProps
5206
- } = props,
5207
- rest = _objectWithoutProperties(props, _excluded$2);
5208
- return /*#__PURE__*/React__namespace.default.createElement(react.PopoverContent, _extends$6({}, rest, {
5209
- ref: ref
5210
- }), hideArrow ? null : /*#__PURE__*/React__namespace.default.createElement(PopoverArrow, {
5211
- variant: variant
5212
- }), hideCloseButton ? null : /*#__PURE__*/React__namespace.default.createElement(PopoverCloseButton, {
5213
- variant: variant
5214
- }), header ? /*#__PURE__*/React__namespace.default.createElement(react.PopoverHeader, null, header) : null, /*#__PURE__*/React__namespace.default.createElement(react.PopoverBody, popoverBodyProps, children));
5215
- });
5216
- PopoverContent.propTypes = {
5217
- /** React children */
5218
- children: PropTypes__default.default.node,
5219
- /** Whether or not to hide the close button */
5220
- hideCloseButton: PropTypes__default.default.bool,
5221
- /** Whether or not to hide the arrow */
5222
- hideArrow: PropTypes__default.default.bool,
5223
- /** Styles the Popover */
5224
- variant: PropTypes__default.default.oneOf(['light', 'dark']),
5225
- /** The string or node for the header (optional) */
5226
- header: PropTypes__default.default.oneOfType([PropTypes__default.default.node, PropTypes__default.default.string]),
5227
- /** Props to pass to the PopoverBody */
5228
- popoverBodyProps: PropTypes__default.default.object
5229
- };
5230
- PopoverContent.defaultProps = {
5231
- variant: 'light',
5232
- hideCloseButton: false,
5233
- hideArrow: false
5234
- };
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';
5235
5093
 
5236
5094
  const AutoSuggestSelect = /*#__PURE__*/React.forwardRef((_ref, ref) => {
5237
5095
  let {
@@ -5326,7 +5184,7 @@ const AutoSuggestSelect = /*#__PURE__*/React.forwardRef((_ref, ref) => {
5326
5184
  innerRef,
5327
5185
  innerProps
5328
5186
  } = _ref2;
5329
- return /*#__PURE__*/React__namespace.default.createElement("div", _extends$6({
5187
+ return /*#__PURE__*/React__namespace.default.createElement("div", _extends$2({
5330
5188
  style: clearIndicatorStyles,
5331
5189
  ref: innerRef
5332
5190
  }, innerProps), /*#__PURE__*/React__namespace.default.createElement(ForwardRef, null));
@@ -5495,7 +5353,7 @@ const FilterSelectNode = _ref => {
5495
5353
  label: label,
5496
5354
  inputId: id,
5497
5355
  isInvalid: isInvalid
5498
- }, /*#__PURE__*/React__namespace.default.createElement(Select__default.default, _extends$6({
5356
+ }, /*#__PURE__*/React__namespace.default.createElement(Select__default.default, _extends$2({
5499
5357
  ref: innerRef,
5500
5358
  classNamePrefix: "fe-ui-filter-select",
5501
5359
  closeMenuOnSelect: true,
@@ -5514,7 +5372,7 @@ const FilterSelectNode = _ref => {
5514
5372
  noOptionsMessage: () => noOptionsMessage
5515
5373
  }, props)));
5516
5374
  };
5517
- 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({
5518
5376
  innerRef: ref
5519
5377
  }, props)));
5520
5378
  FilterSelect.propTypes = {
@@ -5638,7 +5496,7 @@ const ToggleButtonGroup = /*#__PURE__*/React.forwardRef((props, ref) => {
5638
5496
  if (!children) throw new Error('Children required');
5639
5497
 
5640
5498
  // iterate over array of child nodes to apply extended props
5641
- return /*#__PURE__*/React__namespace.default.createElement(react.ButtonGroup, _extends$6({
5499
+ return /*#__PURE__*/React__namespace.default.createElement(react.ButtonGroup, _extends$2({
5642
5500
  ref: ref,
5643
5501
  sx: _objectSpread2(_objectSpread2({}, buttonGroupStyles), _buttonGroupStyles)
5644
5502
  }, groupProps), React__namespace.default.Children.map(children, CHILD => {
@@ -5726,7 +5584,7 @@ const CreatableSelectNode = _ref => {
5726
5584
  helperText: helperText,
5727
5585
  label: label,
5728
5586
  inputId: id
5729
- }, /*#__PURE__*/React__namespace.default.createElement(Creatable__default.default, _extends$6({
5587
+ }, /*#__PURE__*/React__namespace.default.createElement(Creatable__default.default, _extends$2({
5730
5588
  id: id,
5731
5589
  components: {
5732
5590
  DropdownIndicator
@@ -5750,7 +5608,7 @@ const CreatableSelect = /*#__PURE__*/React.forwardRef((props, ref) => {
5750
5608
  helperText
5751
5609
  } = props,
5752
5610
  additionalProps = _objectWithoutProperties(props, _excluded2);
5753
- return /*#__PURE__*/React__namespace.default.createElement(CreatableSelectNode, _extends$6({
5611
+ return /*#__PURE__*/React__namespace.default.createElement(CreatableSelectNode, _extends$2({
5754
5612
  id: id,
5755
5613
  innerRef: ref,
5756
5614
  label: label,
@@ -5788,12 +5646,12 @@ CreatableSelectNode.propTypes = {
5788
5646
  current: PropTypes__default.default.instanceOf(Creatable__default.default)
5789
5647
  })
5790
5648
  };
5791
- 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({
5792
5650
  ref: ref
5793
5651
  }, props)));
5794
5652
 
5795
5653
  const Menu = react.forwardRef((props, ref) => {
5796
- return /*#__PURE__*/React__namespace.default.createElement(react.Menu, _extends$6({}, props, {
5654
+ return /*#__PURE__*/React__namespace.default.createElement(react.Menu, _extends$2({}, props, {
5797
5655
  ref: ref
5798
5656
  }));
5799
5657
  });