@ryanodd/design-system 0.0.0-dev1 → 0.0.0-dev2

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.
@@ -0,0 +1,870 @@
1
+ import * as React from 'react';
2
+ import React__default, { forwardRef } from 'react';
3
+ import * as RadixCheckbox from '@radix-ui/react-checkbox';
4
+ import * as RadixDialog from '@radix-ui/react-dialog';
5
+ import * as RadixMenuButton from '@radix-ui/react-dropdown-menu';
6
+ import * as RadixToast from '@radix-ui/react-toast';
7
+ import * as RadixTooltip from '@radix-ui/react-tooltip';
8
+
9
+ var jsxRuntime = {exports: {}};
10
+
11
+ var reactJsxRuntime_production = {};
12
+
13
+ /**
14
+ * @license React
15
+ * react-jsx-runtime.production.js
16
+ *
17
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
18
+ *
19
+ * This source code is licensed under the MIT license found in the
20
+ * LICENSE file in the root directory of this source tree.
21
+ */
22
+
23
+ var hasRequiredReactJsxRuntime_production;
24
+
25
+ function requireReactJsxRuntime_production () {
26
+ if (hasRequiredReactJsxRuntime_production) return reactJsxRuntime_production;
27
+ hasRequiredReactJsxRuntime_production = 1;
28
+ var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"),
29
+ REACT_FRAGMENT_TYPE = Symbol.for("react.fragment");
30
+ function jsxProd(type, config, maybeKey) {
31
+ var key = null;
32
+ void 0 !== maybeKey && (key = "" + maybeKey);
33
+ void 0 !== config.key && (key = "" + config.key);
34
+ if ("key" in config) {
35
+ maybeKey = {};
36
+ for (var propName in config)
37
+ "key" !== propName && (maybeKey[propName] = config[propName]);
38
+ } else maybeKey = config;
39
+ config = maybeKey.ref;
40
+ return {
41
+ $$typeof: REACT_ELEMENT_TYPE,
42
+ type: type,
43
+ key: key,
44
+ ref: void 0 !== config ? config : null,
45
+ props: maybeKey
46
+ };
47
+ }
48
+ reactJsxRuntime_production.Fragment = REACT_FRAGMENT_TYPE;
49
+ reactJsxRuntime_production.jsx = jsxProd;
50
+ reactJsxRuntime_production.jsxs = jsxProd;
51
+ return reactJsxRuntime_production;
52
+ }
53
+
54
+ var reactJsxRuntime_development = {};
55
+
56
+ /**
57
+ * @license React
58
+ * react-jsx-runtime.development.js
59
+ *
60
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
61
+ *
62
+ * This source code is licensed under the MIT license found in the
63
+ * LICENSE file in the root directory of this source tree.
64
+ */
65
+
66
+ var hasRequiredReactJsxRuntime_development;
67
+
68
+ function requireReactJsxRuntime_development () {
69
+ if (hasRequiredReactJsxRuntime_development) return reactJsxRuntime_development;
70
+ hasRequiredReactJsxRuntime_development = 1;
71
+ "production" !== process.env.NODE_ENV &&
72
+ (function () {
73
+ function getComponentNameFromType(type) {
74
+ if (null == type) return null;
75
+ if ("function" === typeof type)
76
+ return type.$$typeof === REACT_CLIENT_REFERENCE
77
+ ? null
78
+ : type.displayName || type.name || null;
79
+ if ("string" === typeof type) return type;
80
+ switch (type) {
81
+ case REACT_FRAGMENT_TYPE:
82
+ return "Fragment";
83
+ case REACT_PROFILER_TYPE:
84
+ return "Profiler";
85
+ case REACT_STRICT_MODE_TYPE:
86
+ return "StrictMode";
87
+ case REACT_SUSPENSE_TYPE:
88
+ return "Suspense";
89
+ case REACT_SUSPENSE_LIST_TYPE:
90
+ return "SuspenseList";
91
+ case REACT_ACTIVITY_TYPE:
92
+ return "Activity";
93
+ }
94
+ if ("object" === typeof type)
95
+ switch (
96
+ ("number" === typeof type.tag &&
97
+ console.error(
98
+ "Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
99
+ ),
100
+ type.$$typeof)
101
+ ) {
102
+ case REACT_PORTAL_TYPE:
103
+ return "Portal";
104
+ case REACT_CONTEXT_TYPE:
105
+ return type.displayName || "Context";
106
+ case REACT_CONSUMER_TYPE:
107
+ return (type._context.displayName || "Context") + ".Consumer";
108
+ case REACT_FORWARD_REF_TYPE:
109
+ var innerType = type.render;
110
+ type = type.displayName;
111
+ type ||
112
+ ((type = innerType.displayName || innerType.name || ""),
113
+ (type = "" !== type ? "ForwardRef(" + type + ")" : "ForwardRef"));
114
+ return type;
115
+ case REACT_MEMO_TYPE:
116
+ return (
117
+ (innerType = type.displayName || null),
118
+ null !== innerType
119
+ ? innerType
120
+ : getComponentNameFromType(type.type) || "Memo"
121
+ );
122
+ case REACT_LAZY_TYPE:
123
+ innerType = type._payload;
124
+ type = type._init;
125
+ try {
126
+ return getComponentNameFromType(type(innerType));
127
+ } catch (x) {}
128
+ }
129
+ return null;
130
+ }
131
+ function testStringCoercion(value) {
132
+ return "" + value;
133
+ }
134
+ function checkKeyStringCoercion(value) {
135
+ try {
136
+ testStringCoercion(value);
137
+ var JSCompiler_inline_result = !1;
138
+ } catch (e) {
139
+ JSCompiler_inline_result = true;
140
+ }
141
+ if (JSCompiler_inline_result) {
142
+ JSCompiler_inline_result = console;
143
+ var JSCompiler_temp_const = JSCompiler_inline_result.error;
144
+ var JSCompiler_inline_result$jscomp$0 =
145
+ ("function" === typeof Symbol &&
146
+ Symbol.toStringTag &&
147
+ value[Symbol.toStringTag]) ||
148
+ value.constructor.name ||
149
+ "Object";
150
+ JSCompiler_temp_const.call(
151
+ JSCompiler_inline_result,
152
+ "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
153
+ JSCompiler_inline_result$jscomp$0
154
+ );
155
+ return testStringCoercion(value);
156
+ }
157
+ }
158
+ function getTaskName(type) {
159
+ if (type === REACT_FRAGMENT_TYPE) return "<>";
160
+ if (
161
+ "object" === typeof type &&
162
+ null !== type &&
163
+ type.$$typeof === REACT_LAZY_TYPE
164
+ )
165
+ return "<...>";
166
+ try {
167
+ var name = getComponentNameFromType(type);
168
+ return name ? "<" + name + ">" : "<...>";
169
+ } catch (x) {
170
+ return "<...>";
171
+ }
172
+ }
173
+ function getOwner() {
174
+ var dispatcher = ReactSharedInternals.A;
175
+ return null === dispatcher ? null : dispatcher.getOwner();
176
+ }
177
+ function UnknownOwner() {
178
+ return Error("react-stack-top-frame");
179
+ }
180
+ function hasValidKey(config) {
181
+ if (hasOwnProperty.call(config, "key")) {
182
+ var getter = Object.getOwnPropertyDescriptor(config, "key").get;
183
+ if (getter && getter.isReactWarning) return false;
184
+ }
185
+ return void 0 !== config.key;
186
+ }
187
+ function defineKeyPropWarningGetter(props, displayName) {
188
+ function warnAboutAccessingKey() {
189
+ specialPropKeyWarningShown ||
190
+ ((specialPropKeyWarningShown = true),
191
+ console.error(
192
+ "%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
193
+ displayName
194
+ ));
195
+ }
196
+ warnAboutAccessingKey.isReactWarning = true;
197
+ Object.defineProperty(props, "key", {
198
+ get: warnAboutAccessingKey,
199
+ configurable: true
200
+ });
201
+ }
202
+ function elementRefGetterWithDeprecationWarning() {
203
+ var componentName = getComponentNameFromType(this.type);
204
+ didWarnAboutElementRef[componentName] ||
205
+ ((didWarnAboutElementRef[componentName] = true),
206
+ console.error(
207
+ "Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
208
+ ));
209
+ componentName = this.props.ref;
210
+ return void 0 !== componentName ? componentName : null;
211
+ }
212
+ function ReactElement(type, key, props, owner, debugStack, debugTask) {
213
+ var refProp = props.ref;
214
+ type = {
215
+ $$typeof: REACT_ELEMENT_TYPE,
216
+ type: type,
217
+ key: key,
218
+ props: props,
219
+ _owner: owner
220
+ };
221
+ null !== (void 0 !== refProp ? refProp : null)
222
+ ? Object.defineProperty(type, "ref", {
223
+ enumerable: false,
224
+ get: elementRefGetterWithDeprecationWarning
225
+ })
226
+ : Object.defineProperty(type, "ref", { enumerable: false, value: null });
227
+ type._store = {};
228
+ Object.defineProperty(type._store, "validated", {
229
+ configurable: false,
230
+ enumerable: false,
231
+ writable: true,
232
+ value: 0
233
+ });
234
+ Object.defineProperty(type, "_debugInfo", {
235
+ configurable: false,
236
+ enumerable: false,
237
+ writable: true,
238
+ value: null
239
+ });
240
+ Object.defineProperty(type, "_debugStack", {
241
+ configurable: false,
242
+ enumerable: false,
243
+ writable: true,
244
+ value: debugStack
245
+ });
246
+ Object.defineProperty(type, "_debugTask", {
247
+ configurable: false,
248
+ enumerable: false,
249
+ writable: true,
250
+ value: debugTask
251
+ });
252
+ Object.freeze && (Object.freeze(type.props), Object.freeze(type));
253
+ return type;
254
+ }
255
+ function jsxDEVImpl(
256
+ type,
257
+ config,
258
+ maybeKey,
259
+ isStaticChildren,
260
+ debugStack,
261
+ debugTask
262
+ ) {
263
+ var children = config.children;
264
+ if (void 0 !== children)
265
+ if (isStaticChildren)
266
+ if (isArrayImpl(children)) {
267
+ for (
268
+ isStaticChildren = 0;
269
+ isStaticChildren < children.length;
270
+ isStaticChildren++
271
+ )
272
+ validateChildKeys(children[isStaticChildren]);
273
+ Object.freeze && Object.freeze(children);
274
+ } else
275
+ console.error(
276
+ "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
277
+ );
278
+ else validateChildKeys(children);
279
+ if (hasOwnProperty.call(config, "key")) {
280
+ children = getComponentNameFromType(type);
281
+ var keys = Object.keys(config).filter(function (k) {
282
+ return "key" !== k;
283
+ });
284
+ isStaticChildren =
285
+ 0 < keys.length
286
+ ? "{key: someKey, " + keys.join(": ..., ") + ": ...}"
287
+ : "{key: someKey}";
288
+ didWarnAboutKeySpread[children + isStaticChildren] ||
289
+ ((keys =
290
+ 0 < keys.length ? "{" + keys.join(": ..., ") + ": ...}" : "{}"),
291
+ console.error(
292
+ 'A props object containing a "key" prop is being spread into JSX:\n let props = %s;\n <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n let props = %s;\n <%s key={someKey} {...props} />',
293
+ isStaticChildren,
294
+ children,
295
+ keys,
296
+ children
297
+ ),
298
+ (didWarnAboutKeySpread[children + isStaticChildren] = true));
299
+ }
300
+ children = null;
301
+ void 0 !== maybeKey &&
302
+ (checkKeyStringCoercion(maybeKey), (children = "" + maybeKey));
303
+ hasValidKey(config) &&
304
+ (checkKeyStringCoercion(config.key), (children = "" + config.key));
305
+ if ("key" in config) {
306
+ maybeKey = {};
307
+ for (var propName in config)
308
+ "key" !== propName && (maybeKey[propName] = config[propName]);
309
+ } else maybeKey = config;
310
+ children &&
311
+ defineKeyPropWarningGetter(
312
+ maybeKey,
313
+ "function" === typeof type
314
+ ? type.displayName || type.name || "Unknown"
315
+ : type
316
+ );
317
+ return ReactElement(
318
+ type,
319
+ children,
320
+ maybeKey,
321
+ getOwner(),
322
+ debugStack,
323
+ debugTask
324
+ );
325
+ }
326
+ function validateChildKeys(node) {
327
+ isValidElement(node)
328
+ ? node._store && (node._store.validated = 1)
329
+ : "object" === typeof node &&
330
+ null !== node &&
331
+ node.$$typeof === REACT_LAZY_TYPE &&
332
+ ("fulfilled" === node._payload.status
333
+ ? isValidElement(node._payload.value) &&
334
+ node._payload.value._store &&
335
+ (node._payload.value._store.validated = 1)
336
+ : node._store && (node._store.validated = 1));
337
+ }
338
+ function isValidElement(object) {
339
+ return (
340
+ "object" === typeof object &&
341
+ null !== object &&
342
+ object.$$typeof === REACT_ELEMENT_TYPE
343
+ );
344
+ }
345
+ var React = React__default,
346
+ REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"),
347
+ REACT_PORTAL_TYPE = Symbol.for("react.portal"),
348
+ REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"),
349
+ REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"),
350
+ REACT_PROFILER_TYPE = Symbol.for("react.profiler"),
351
+ REACT_CONSUMER_TYPE = Symbol.for("react.consumer"),
352
+ REACT_CONTEXT_TYPE = Symbol.for("react.context"),
353
+ REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"),
354
+ REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"),
355
+ REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"),
356
+ REACT_MEMO_TYPE = Symbol.for("react.memo"),
357
+ REACT_LAZY_TYPE = Symbol.for("react.lazy"),
358
+ REACT_ACTIVITY_TYPE = Symbol.for("react.activity"),
359
+ REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"),
360
+ ReactSharedInternals =
361
+ React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,
362
+ hasOwnProperty = Object.prototype.hasOwnProperty,
363
+ isArrayImpl = Array.isArray,
364
+ createTask = console.createTask
365
+ ? console.createTask
366
+ : function () {
367
+ return null;
368
+ };
369
+ React = {
370
+ react_stack_bottom_frame: function (callStackForError) {
371
+ return callStackForError();
372
+ }
373
+ };
374
+ var specialPropKeyWarningShown;
375
+ var didWarnAboutElementRef = {};
376
+ var unknownOwnerDebugStack = React.react_stack_bottom_frame.bind(
377
+ React,
378
+ UnknownOwner
379
+ )();
380
+ var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));
381
+ var didWarnAboutKeySpread = {};
382
+ reactJsxRuntime_development.Fragment = REACT_FRAGMENT_TYPE;
383
+ reactJsxRuntime_development.jsx = function (type, config, maybeKey) {
384
+ var trackActualOwner =
385
+ 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
386
+ return jsxDEVImpl(
387
+ type,
388
+ config,
389
+ maybeKey,
390
+ false,
391
+ trackActualOwner
392
+ ? Error("react-stack-top-frame")
393
+ : unknownOwnerDebugStack,
394
+ trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask
395
+ );
396
+ };
397
+ reactJsxRuntime_development.jsxs = function (type, config, maybeKey) {
398
+ var trackActualOwner =
399
+ 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
400
+ return jsxDEVImpl(
401
+ type,
402
+ config,
403
+ maybeKey,
404
+ true,
405
+ trackActualOwner
406
+ ? Error("react-stack-top-frame")
407
+ : unknownOwnerDebugStack,
408
+ trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask
409
+ );
410
+ };
411
+ })();
412
+ return reactJsxRuntime_development;
413
+ }
414
+
415
+ var hasRequiredJsxRuntime;
416
+
417
+ function requireJsxRuntime () {
418
+ if (hasRequiredJsxRuntime) return jsxRuntime.exports;
419
+ hasRequiredJsxRuntime = 1;
420
+
421
+ if (process.env.NODE_ENV === 'production') {
422
+ jsxRuntime.exports = requireReactJsxRuntime_production();
423
+ } else {
424
+ jsxRuntime.exports = requireReactJsxRuntime_development();
425
+ }
426
+ return jsxRuntime.exports;
427
+ }
428
+
429
+ var jsxRuntimeExports = requireJsxRuntime();
430
+
431
+ function styleInject(css, ref) {
432
+ if ( ref === void 0 ) ref = {};
433
+ var insertAt = ref.insertAt;
434
+
435
+ if (!css || typeof document === 'undefined') { return; }
436
+
437
+ var head = document.head || document.getElementsByTagName('head')[0];
438
+ var style = document.createElement('style');
439
+ style.type = 'text/css';
440
+
441
+ if (insertAt === 'top') {
442
+ if (head.firstChild) {
443
+ head.insertBefore(style, head.firstChild);
444
+ } else {
445
+ head.appendChild(style);
446
+ }
447
+ } else {
448
+ head.appendChild(style);
449
+ }
450
+
451
+ if (style.styleSheet) {
452
+ style.styleSheet.cssText = css;
453
+ } else {
454
+ style.appendChild(document.createTextNode(css));
455
+ }
456
+ }
457
+
458
+ var css_248z$7 = ".Button-module_button__2ZuB7 {\n flex-shrink: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n position: relative;\n gap: var(--spacing-2);\n}\n\n.Button-module_button__2ZuB7:not(:disabled) {\n cursor: pointer;\n}\n\n/* Press effect - display a shadow when the button isn't being pressed */\n.Button-module_button__2ZuB7:not(:active),\n.Button-module_button__2ZuB7:disabled {\n box-shadow: var(--shadow-sm);\n}\n\n\n/* Sizes */\n\n.Button-module_button__2ZuB7 {\n /* Default size: small */\n padding-top: var(--spacing-1_5);\n padding-bottom: var(--spacing-1_5);\n padding-left: var(--spacing-3);\n padding-right: var(--spacing-3);\n border-radius: var(--radius-md);\n font-size: var(--font-size-sm);\n font-weight: var(--font-weight-semibold);\n}\n\n.Button-module_button__2ZuB7[data-icon-only=\"true\"] {\n width: var(--size-8);\n height: var(--size-8);\n padding-left: var(--spacing-1);\n padding-right: var(--spacing-1);\n padding-top: var(--spacing-1);\n padding-bottom: var(--spacing-1);\n}\n\n.Button-module_button__2ZuB7[data-size=\"medium\"] {\n padding-top: var(--spacing-2);\n padding-bottom: var(--spacing-2);\n padding-left: var(--spacing-4);\n padding-right: var(--spacing-4);\n border-radius: var(--radius-md);\n font-size: var(--font-size-base);\n font-weight: var(--font-weight-semibold);\n}\n\n.Button-module_button__2ZuB7[data-icon-only=\"true\"][data-size=\"medium\"] {\n width: var(--size-10);\n height: var(--size-10);\n padding-left: var(--spacing-1);\n padding-right: var(--spacing-1);\n padding-top: var(--spacing-1);\n padding-bottom: var(--spacing-1);\n}\n\n.Button-module_button__2ZuB7[data-size=\"large\"] {\n padding-top: var(--spacing-2);\n padding-bottom: var(--spacing-2);\n padding-left: var(--spacing-5);\n padding-right: var(--spacing-5);\n border-radius: var(--radius-md);\n font-size: var(--font-size-lg);\n font-weight: var(--font-weight-semibold);\n}\n\n.Button-module_button__2ZuB7[data-icon-only=\"true\"][data-size=\"large\"] {\n width: var(--size-12);\n height: var(--size-12);\n padding-left: var(--spacing-1);\n padding-right: var(--spacing-1);\n padding-top: var(--spacing-1);\n padding-bottom: var(--spacing-1);\n}\n\n/* Variants */\n\n/* Default Variant: secondary */\n.Button-module_button__2ZuB7 {\n background-color: var(--color-bg-secondary);\n border: 1px solid var(--color-border-secondary);\n color: var(--color-text-secondary);\n}\n\n.Button-module_button__2ZuB7:hover:not(:disabled) {\n background-color: var(--color-bg-tertiary);\n}\n\n.Button-module_button__2ZuB7:active {\n background-color: var(--color-bg-quaternary);\n}\n\n.Button-module_button__2ZuB7[data-variant=\"primary\"] {\n background-color: var(--color-bg-brand);\n color: var(--color-text-inverted);\n border: none;\n}\n\n.Button-module_button__2ZuB7[data-variant=\"primary\"]:hover:not(:disabled) {\n background-color: var(--color-bg-brand-hover);\n}\n\n.Button-module_button__2ZuB7[data-variant=\"destructive\"] {\n background-color: var(--color-text-error);\n color: var(--color-text-inverted);\n border: none;\n}\n\n.Button-module_button__2ZuB7[data-variant=\"destructive\"]:hover:not(:disabled) {\n background-color: var(--color-bg-error-hover);\n}\n\n.Button-module_button__2ZuB7[data-variant=\"tertiary\"] {\n background-color: var(--color-transparent);\n color: var(--color-text-secondary);\n border: none;\n box-shadow: var(--shadow-none);\n}\n\n.Button-module_button__2ZuB7[data-variant=\"tertiary\"]:hover:not(:disabled) {\n background-color: rgba(0, 0, 0, 0.0625);\n}\n\n.Button-module_button__2ZuB7:disabled {\n background-color: var(--color-bg-disabled);\n border-color: var(--color-border-disabled);\n color: var(--color-text-disabled);\n}\n\n.Button-module_button__2ZuB7[data-variant=\"tertiary\"]:disabled {\n background-color: var(--color-transparent);\n border: none;\n color: var(--color-text-disabled);\n}\n\n/* Notification Dot */\n\n.Button-module_buttonNotificationDot__mHEF3 {\n position: absolute;\n --dot-width: 1.525rem;\n top: calc(-1 * var(--dot-width) / 2);\n right: calc(-1 * var(--dot-width) / 2);\n width: var(--dot-width);\n height: var(--dot-width);\n\n border-radius: var(--radius-full);\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: var(--color-text-error);\n font-size: var(--font-size-base);\n font-weight: var(--font-weight-bold);\n color: var(--color-text-inverted);\n padding-bottom: 0.0825rem;\n}";
459
+ var styles$6 = {"button":"Button-module_button__2ZuB7","buttonNotificationDot":"Button-module_buttonNotificationDot__mHEF3"};
460
+ styleInject(css_248z$7);
461
+
462
+ var _path$a;
463
+ function _extends$e() { return _extends$e = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$e.apply(null, arguments); }
464
+ var SvgArrowLeft = function SvgArrowLeft(props) {
465
+ return /*#__PURE__*/React.createElement("svg", _extends$e({
466
+ xmlns: "http://www.w3.org/2000/svg",
467
+ viewBox: "0 0 24 24",
468
+ width: "1em",
469
+ height: "1em"
470
+ }, props), _path$a || (_path$a = /*#__PURE__*/React.createElement("path", {
471
+ fill: "none",
472
+ stroke: "currentColor",
473
+ strokeLinecap: "round",
474
+ strokeLinejoin: "round",
475
+ strokeWidth: 2,
476
+ d: "m12 19-7-7 7-7m7 7H5"
477
+ })));
478
+ };
479
+
480
+ var _path$9;
481
+ function _extends$d() { return _extends$d = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$d.apply(null, arguments); }
482
+ var SvgArrowRight = function SvgArrowRight(props) {
483
+ return /*#__PURE__*/React.createElement("svg", _extends$d({
484
+ xmlns: "http://www.w3.org/2000/svg",
485
+ viewBox: "0 0 24 24",
486
+ width: "1em",
487
+ height: "1em"
488
+ }, props), _path$9 || (_path$9 = /*#__PURE__*/React.createElement("path", {
489
+ fill: "none",
490
+ stroke: "currentColor",
491
+ strokeLinecap: "round",
492
+ strokeLinejoin: "round",
493
+ strokeWidth: 2,
494
+ d: "M5 12h14m-7-7 7 7-7 7"
495
+ })));
496
+ };
497
+
498
+ var _path$8;
499
+ function _extends$c() { return _extends$c = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$c.apply(null, arguments); }
500
+ var SvgCheck = function SvgCheck(props) {
501
+ return /*#__PURE__*/React.createElement("svg", _extends$c({
502
+ xmlns: "http://www.w3.org/2000/svg",
503
+ viewBox: "0 0 24 24",
504
+ width: "1em",
505
+ height: "1em"
506
+ }, props), _path$8 || (_path$8 = /*#__PURE__*/React.createElement("path", {
507
+ fill: "currentColor",
508
+ d: "m9.55 15.15 8.475-8.475q.3-.3.7-.3t.7.3.3.713-.3.712l-9.175 9.2q-.3.3-.7.3t-.7-.3L4.55 13q-.3-.3-.288-.712t.313-.713.713-.3.712.3z"
509
+ })));
510
+ };
511
+
512
+ var _circle;
513
+ function _extends$b() { return _extends$b = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$b.apply(null, arguments); }
514
+ var SvgCircle = function SvgCircle(props) {
515
+ return /*#__PURE__*/React.createElement("svg", _extends$b({
516
+ xmlns: "http://www.w3.org/2000/svg",
517
+ viewBox: "0 0 24 24",
518
+ width: "1em",
519
+ height: "1em"
520
+ }, props), _circle || (_circle = /*#__PURE__*/React.createElement("circle", {
521
+ cx: 12,
522
+ cy: 12,
523
+ r: 10,
524
+ fill: "none",
525
+ stroke: "currentColor",
526
+ strokeLinecap: "round",
527
+ strokeLinejoin: "round",
528
+ strokeWidth: 2
529
+ })));
530
+ };
531
+
532
+ var _path$7;
533
+ function _extends$a() { return _extends$a = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$a.apply(null, arguments); }
534
+ var SvgClose = function SvgClose(props) {
535
+ return /*#__PURE__*/React.createElement("svg", _extends$a({
536
+ xmlns: "http://www.w3.org/2000/svg",
537
+ viewBox: "0 0 24 24",
538
+ width: "1em",
539
+ height: "1em"
540
+ }, props), _path$7 || (_path$7 = /*#__PURE__*/React.createElement("path", {
541
+ fill: "none",
542
+ stroke: "currentColor",
543
+ strokeLinecap: "round",
544
+ strokeLinejoin: "round",
545
+ strokeWidth: 2,
546
+ d: "M18 6 6 18M6 6l12 12"
547
+ })));
548
+ };
549
+
550
+ var _path$6;
551
+ function _extends$9() { return _extends$9 = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$9.apply(null, arguments); }
552
+ var SvgExternalLink = function SvgExternalLink(props) {
553
+ return /*#__PURE__*/React.createElement("svg", _extends$9({
554
+ xmlns: "http://www.w3.org/2000/svg",
555
+ viewBox: "0 0 24 24",
556
+ width: "1em",
557
+ height: "1em"
558
+ }, props), _path$6 || (_path$6 = /*#__PURE__*/React.createElement("path", {
559
+ fill: "none",
560
+ stroke: "currentColor",
561
+ strokeLinecap: "round",
562
+ strokeLinejoin: "round",
563
+ strokeWidth: 2,
564
+ d: "M15 3h6v6m-11 5L21 3m-3 10v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"
565
+ })));
566
+ };
567
+
568
+ var _path$5;
569
+ function _extends$8() { return _extends$8 = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$8.apply(null, arguments); }
570
+ var SvgGear = function SvgGear(props) {
571
+ return /*#__PURE__*/React.createElement("svg", _extends$8({
572
+ xmlns: "http://www.w3.org/2000/svg",
573
+ viewBox: "0 0 32 32",
574
+ width: "1em",
575
+ height: "1em"
576
+ }, props), _path$5 || (_path$5 = /*#__PURE__*/React.createElement("path", {
577
+ fill: "currentColor",
578
+ d: "M31.23 17.736c.063-.57.103-1.148.103-1.736s-.04-1.166-.104-1.737l-4.378-1.557c-.218-.716-.504-1.4-.85-2.05l1.992-4.192a15.6 15.6 0 0 0-2.458-2.46L21.343 6a11 11 0 0 0-2.05-.85L17.737.772C17.166.708 16.588.667 16 .667s-1.166.04-1.737.105L12.707 5.15q-1.075.327-2.05.85L6.464 4.004c-.91.725-1.734 1.55-2.46 2.46L6 10.654q-.523.976-.85 2.05l-4.378 1.56c-.064.57-.105 1.15-.105 1.737s.04 1.165.105 1.736l4.378 1.558q.327 1.074.85 2.05l-1.995 4.192c.725.91 1.55 1.733 2.46 2.458L10.654 26q.976.523 2.05.852l1.558 4.377c.57.063 1.148.103 1.737.103.588 0 1.165-.04 1.736-.104l1.558-4.378c.715-.218 1.4-.504 2.05-.85l4.192 1.992c.91-.725 1.733-1.55 2.458-2.458L26 21.343c.348-.647.634-1.334.852-2.05l4.377-1.557zM16 20.87a4.871 4.871 0 1 1-.002-9.742A4.871 4.871 0 0 1 16 20.87"
579
+ })));
580
+ };
581
+
582
+ var _g$2;
583
+ function _extends$7() { return _extends$7 = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$7.apply(null, arguments); }
584
+ var SvgHammer = function SvgHammer(props) {
585
+ return /*#__PURE__*/React.createElement("svg", _extends$7({
586
+ xmlns: "http://www.w3.org/2000/svg",
587
+ viewBox: "0 0 24 24",
588
+ width: "1em",
589
+ height: "1em"
590
+ }, props), _g$2 || (_g$2 = /*#__PURE__*/React.createElement("g", {
591
+ fill: "none",
592
+ stroke: "currentColor",
593
+ strokeLinecap: "round",
594
+ strokeLinejoin: "round",
595
+ strokeWidth: 2
596
+ }, /*#__PURE__*/React.createElement("path", {
597
+ d: "m15 12-8.373 8.373a1 1 0 1 1-3-3L12 9m6 6 4-4"
598
+ }), /*#__PURE__*/React.createElement("path", {
599
+ d: "m21.5 11.5-1.914-1.914A2 2 0 0 1 19 8.172V7l-2.26-2.26a6 6 0 0 0-4.202-1.756L9 2.96l.92.82A6.18 6.18 0 0 1 12 8.4V10l2 2h1.172a2 2 0 0 1 1.414.586L18.5 14.5"
600
+ }))));
601
+ };
602
+
603
+ var _path$4;
604
+ function _extends$6() { return _extends$6 = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$6.apply(null, arguments); }
605
+ var SvgHeartSolid = function SvgHeartSolid(props) {
606
+ return /*#__PURE__*/React.createElement("svg", _extends$6({
607
+ xmlns: "http://www.w3.org/2000/svg",
608
+ viewBox: "0 0 24 24",
609
+ width: "1em",
610
+ height: "1em"
611
+ }, props), _path$4 || (_path$4 = /*#__PURE__*/React.createElement("path", {
612
+ fill: "currentColor",
613
+ d: "M6.979 3.074a6 6 0 0 1 4.988 1.425l.037.033.034-.03a6 6 0 0 1 4.733-1.44l.246.036a6 6 0 0 1 3.364 10.008l-.18.185-.048.041-7.45 7.379a1 1 0 0 1-1.313.082l-.094-.082-7.493-7.422A6 6 0 0 1 6.979 3.074"
614
+ })));
615
+ };
616
+
617
+ var _g$1;
618
+ function _extends$5() { return _extends$5 = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$5.apply(null, arguments); }
619
+ var SvgKebab = function SvgKebab(props) {
620
+ return /*#__PURE__*/React.createElement("svg", _extends$5({
621
+ xmlns: "http://www.w3.org/2000/svg",
622
+ viewBox: "0 0 16 16",
623
+ width: "1em",
624
+ height: "1em"
625
+ }, props), _g$1 || (_g$1 = /*#__PURE__*/React.createElement("g", {
626
+ fill: "none",
627
+ stroke: "currentColor",
628
+ strokeLinecap: "round",
629
+ strokeLinejoin: "round",
630
+ strokeWidth: 1.5
631
+ }, /*#__PURE__*/React.createElement("circle", {
632
+ cx: 8,
633
+ cy: 2.5,
634
+ r: 0.75
635
+ }), /*#__PURE__*/React.createElement("circle", {
636
+ cx: 8,
637
+ cy: 8,
638
+ r: 0.75
639
+ }), /*#__PURE__*/React.createElement("circle", {
640
+ cx: 8,
641
+ cy: 13.5,
642
+ r: 0.75
643
+ }))));
644
+ };
645
+
646
+ var _path$3;
647
+ function _extends$4() { return _extends$4 = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$4.apply(null, arguments); }
648
+ var SvgLightning = function SvgLightning(props) {
649
+ return /*#__PURE__*/React.createElement("svg", _extends$4({
650
+ xmlns: "http://www.w3.org/2000/svg",
651
+ viewBox: "0 0 256 256",
652
+ width: "1em",
653
+ height: "1em"
654
+ }, props), _path$3 || (_path$3 = /*#__PURE__*/React.createElement("path", {
655
+ fill: "currentColor",
656
+ d: "m213.85 125.46-112 120a8 8 0 0 1-13.69-7l14.66-73.33-57.63-21.64a8 8 0 0 1-3-13l112-120a8 8 0 0 1 13.69 7l-14.7 73.41 57.63 21.61a8 8 0 0 1 3 12.95Z"
657
+ })));
658
+ };
659
+
660
+ var _g;
661
+ function _extends$3() { return _extends$3 = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$3.apply(null, arguments); }
662
+ var SvgMail = function SvgMail(props) {
663
+ return /*#__PURE__*/React.createElement("svg", _extends$3({
664
+ xmlns: "http://www.w3.org/2000/svg",
665
+ viewBox: "0 0 24 24",
666
+ width: "1em",
667
+ height: "1em"
668
+ }, props), _g || (_g = /*#__PURE__*/React.createElement("g", {
669
+ fill: "none",
670
+ stroke: "currentColor",
671
+ strokeLinecap: "round",
672
+ strokeLinejoin: "round",
673
+ strokeWidth: 2
674
+ }, /*#__PURE__*/React.createElement("rect", {
675
+ width: 20,
676
+ height: 16,
677
+ x: 2,
678
+ y: 4,
679
+ rx: 2
680
+ }), /*#__PURE__*/React.createElement("path", {
681
+ d: "m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7"
682
+ }))));
683
+ };
684
+
685
+ var _path$2;
686
+ function _extends$2() { return _extends$2 = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$2.apply(null, arguments); }
687
+ var SvgMenu = function SvgMenu(props) {
688
+ return /*#__PURE__*/React.createElement("svg", _extends$2({
689
+ xmlns: "http://www.w3.org/2000/svg",
690
+ viewBox: "0 0 24 24",
691
+ width: "1em",
692
+ height: "1em"
693
+ }, props), _path$2 || (_path$2 = /*#__PURE__*/React.createElement("path", {
694
+ fill: "none",
695
+ stroke: "currentColor",
696
+ strokeLinecap: "round",
697
+ strokeLinejoin: "round",
698
+ strokeWidth: 2,
699
+ d: "M4 12h16M4 6h16M4 18h16"
700
+ })));
701
+ };
702
+
703
+ var _path$1;
704
+ function _extends$1() { return _extends$1 = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$1.apply(null, arguments); }
705
+ var SvgNoMobile = function SvgNoMobile(props) {
706
+ return /*#__PURE__*/React.createElement("svg", _extends$1({
707
+ xmlns: "http://www.w3.org/2000/svg",
708
+ viewBox: "0 0 24 24",
709
+ width: "1em",
710
+ height: "1em"
711
+ }, props), _path$1 || (_path$1 = /*#__PURE__*/React.createElement("path", {
712
+ fill: "none",
713
+ stroke: "currentColor",
714
+ strokeLinecap: "round",
715
+ strokeLinejoin: "round",
716
+ strokeWidth: 2,
717
+ d: "M7.159 3.185C7.415 3.066 7.699 3 8 3h8a2 2 0 0 1 2 2v9m0 4v1a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2V6m5-2h2M3 3l18 18m-9-4v.01"
718
+ })));
719
+ };
720
+
721
+ var _path;
722
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
723
+ var SvgPencil = function SvgPencil(props) {
724
+ return /*#__PURE__*/React.createElement("svg", _extends({
725
+ xmlns: "http://www.w3.org/2000/svg",
726
+ viewBox: "0 0 24 24",
727
+ width: "1em",
728
+ height: "1em"
729
+ }, props), _path || (_path = /*#__PURE__*/React.createElement("path", {
730
+ fill: "currentColor",
731
+ d: "m12.9 6.855 4.242 4.242-9.9 9.9H3v-4.243zm1.414-1.415 2.121-2.121a1 1 0 0 1 1.414 0l2.829 2.828a1 1 0 0 1 0 1.415l-2.122 2.121z"
732
+ })));
733
+ };
734
+
735
+ var css_248z$6 = ".icon-module_icon__UzNYn {\n max-width: none;\n flex-shrink: 0;\n}\n\n.icon-module_icon__UzNYn[data-size=\"2xs\"] {\n width: var(--size-3);\n height: var(--size-3);\n}\n\n.icon-module_icon__UzNYn[data-size=\"xs\"] {\n width: 0.875rem;\n height: 0.875rem;\n}\n\n.icon-module_icon__UzNYn[data-size=\"sm\"] {\n width: var(--size-4);\n height: var(--size-4);\n}\n\n.icon-module_icon__UzNYn[data-size=\"md\"] {\n width: var(--size-5);\n height: var(--size-5);\n}\n\n.icon-module_icon__UzNYn {\n /* Default data-size=\"lg\" */\n width: var(--size-6);\n height: var(--size-6);\n}\n\n.icon-module_icon__UzNYn[data-size=\"xl\"] {\n width: var(--size-8);\n height: var(--size-8);\n}\n\n.icon-module_icon__UzNYn[data-size=\"2xl\"] {\n width: var(--size-10);\n height: var(--size-10);\n}\n\n.icon-module_icon__UzNYn[data-size=\"3xl\"] {\n width: var(--size-12);\n height: var(--size-12);\n}\n\n.icon-module_icon__UzNYn[data-size=\"4xl\"] {\n width: var(--size-16);\n height: var(--size-16);\n}";
736
+ var iconStyles = {"icon":"icon-module_icon__UzNYn"};
737
+ styleInject(css_248z$6);
738
+
739
+ const iconSizes = ["xs", "sm", "md", "lg", "xl", "2xl", "3xl", "4xl"];
740
+ const createIcon = (SVG, label) => {
741
+ const iconComponent = forwardRef(({ size = "lg", className, ...props }, ref) => {
742
+ return (jsxRuntimeExports.jsx(SVG, { className: `${className} ${iconStyles.icon}`, "data-size": size,
743
+ // @ts-ignore
744
+ ref: ref, alt: label, ...props }));
745
+ });
746
+ iconComponent.displayName = label;
747
+ return iconComponent;
748
+ };
749
+ const ArrowLeft = createIcon(SvgArrowLeft, "Left");
750
+ const ArrowRight = createIcon(SvgArrowRight, "Right");
751
+ const Check = createIcon(SvgCheck, "Check");
752
+ const Circle = createIcon(SvgCircle, "Circle");
753
+ const Close = createIcon(SvgClose, "Close");
754
+ const ExternalLink = createIcon(SvgExternalLink, "External Link");
755
+ const Gear = createIcon(SvgGear, "Gear");
756
+ const Hammer = createIcon(SvgHammer, "Hammer");
757
+ const Heart = createIcon(SvgHeartSolid, "Heart");
758
+ const Kebab = createIcon(SvgKebab, "Kebab");
759
+ const Lightning = createIcon(SvgLightning, "Lightning");
760
+ const Mail = createIcon(SvgMail, "Mail");
761
+ const Menu = createIcon(SvgMenu, "Menu");
762
+ const NoMobile = createIcon(SvgNoMobile, "No Mobile Devices");
763
+ const Pencil = createIcon(SvgPencil, "Pencil");
764
+ /*
765
+ * A centralized map of all icon components.
766
+ * This is what we will import in the Storybook file for dynamic access.
767
+ */
768
+ const IconMap = {
769
+ ArrowLeft,
770
+ ArrowRight,
771
+ Check,
772
+ Circle,
773
+ Close,
774
+ ExternalLink,
775
+ Gear,
776
+ Hammer,
777
+ Heart,
778
+ Kebab,
779
+ Lightning,
780
+ Mail,
781
+ Menu,
782
+ NoMobile,
783
+ Pencil,
784
+ None: null
785
+ };
786
+
787
+ var css_248z$5 = ".Spinner-module_spinnerWrapper__nmYcy {\n --spinner-size-2xs: var(--size-3);\n --spinner-size-xs: 0.875rem;\n --spinner-size-sm: var(--size-4);\n --spinner-size-md: var(--size-5);\n --spinner-size-lg: var(--size-6);\n --spinner-size-xl: var(--size-8);\n --spinner-size-2xl: var(--size-10);\n --spinner-size-3xl: var(--size-12);\n --spinner-size-4xl: var(--size-16);\n\n --spinner-size: var(--spinner-size-lg);\n\n width: var(--spinner-size);\n height: var(--spinner-size);\n aspect-ratio: 1 / 1;\n\n flex-shrink: 0;\n\n display: flex;\n justify-content: center;\n align-items: center;\n}\n\n.Spinner-module_spinner__GpFZS {\n --spinner-thickness: 2px;\n\n width: 90%;\n height: 90%;\n\n border-width: var(--spinner-thickness);\n border-radius: 50%;\n box-sizing: border-box;\n position: relative;\n border-style: solid;\n border-right-color: transparent;\n border-left-color: currentcolor;\n border-top-color: currentcolor;\n border-bottom-color: currentcolor;\n animation: Spinner-module_rotate__RRVpi 1.2s infinite linear;\n}\n\n.Spinner-module_spinnerWrapper__nmYcy[data-size=\"2xs\"] {\n --spinner-size: var(--spinner-size-2xs);\n}\n\n.Spinner-module_spinnerWrapper__nmYcy[data-size=\"2xs\"] .Spinner-module_spinner__GpFZS {\n --spinner-thickness: 1.33px;\n}\n\n.Spinner-module_spinnerWrapper__nmYcy[data-size=\"xs\"] {\n --spinner-size: var(--spinner-size-xs);\n}\n\n.Spinner-module_spinnerWrapper__nmYcy[data-size=\"xs\"] .Spinner-module_spinner__GpFZS {\n --spinner-thickness: 1.5px;\n}\n\n.Spinner-module_spinnerWrapper__nmYcy[data-size=\"sm\"] {\n --spinner-size: var(--spinner-size-sm);\n}\n\n.Spinner-module_spinnerWrapper__nmYcy[data-size=\"sm\"] .Spinner-module_spinner__GpFZS {\n --spinner-thickness: 1.67px;\n}\n\n.Spinner-module_spinnerWrapper__nmYcy[data-size=\"md\"] {\n --spinner-size: var(--spinner-size-md);\n}\n\n.Spinner-module_spinnerWrapper__nmYcy[data-size=\"md\"] .Spinner-module_spinner__GpFZS {\n --spinner-thickness: 1.8px;\n}\n\n.Spinner-module_spinnerWrapper__nmYcy[data-size=\"lg\"] {\n /* Default size */\n}\n\n.Spinner-module_spinnerWrapper__nmYcy[data-size=\"lg\"] .Spinner-module_spinner__GpFZS {\n /* Default size */\n}\n\n.Spinner-module_spinnerWrapper__nmYcy[data-size=\"xl\"] {\n --spinner-size: var(--spinner-size-xl);\n}\n\n.Spinner-module_spinnerWrapper__nmYcy[data-size=\"xl\"] .Spinner-module_spinner__GpFZS {\n --spinner-thickness: 2.67px;\n}\n\n.Spinner-module_spinnerWrapper__nmYcy[data-size=\"2xl\"] {\n --spinner-size: var(--spinner-size-2xl);\n}\n\n.Spinner-module_spinnerWrapper__nmYcy[data-size=\"2xl\"] .Spinner-module_spinner__GpFZS {\n --spinner-thickness: 3px;\n}\n\n.Spinner-module_spinnerWrapper__nmYcy[data-size=\"3xl\"] {\n --spinner-size: var(--spinner-size-3xl);\n}\n\n.Spinner-module_spinnerWrapper__nmYcy[data-size=\"3xl\"] .Spinner-module_spinner__GpFZS {\n --spinner-thickness: 3.67px;\n}\n\n.Spinner-module_spinnerWrapper__nmYcy[data-size=\"4xl\"] {\n --spinner-size: var(--spinner-size-4xl);\n}\n\n.Spinner-module_spinnerWrapper__nmYcy[data-size=\"4xl\"] .Spinner-module_spinner__GpFZS {\n --spinner-thickness: 4.33px;\n}\n\n@keyframes Spinner-module_rotate__RRVpi {\n 0% {\n transform: rotate(0deg);\n }\n\n 100% {\n transform: rotate(360deg);\n }\n}";
788
+ var styles$5 = {"spinnerWrapper":"Spinner-module_spinnerWrapper__nmYcy","spinner":"Spinner-module_spinner__GpFZS"};
789
+ styleInject(css_248z$5);
790
+
791
+ const Spinner = forwardRef(
792
+ // eslint-disable-next-line @typescript-eslint/no-shadow
793
+ ({ className, size = "lg", ...props }, ref) => {
794
+ return (jsxRuntimeExports.jsx("div", { ref: ref, className: styles$5.spinnerWrapper, "data-size": size, ...props, children: jsxRuntimeExports.jsx("div", { className: styles$5.spinner }) }));
795
+ });
796
+ Spinner.displayName = "Spinner";
797
+
798
+ const Button = forwardRef(({ className, notificationDotText, children, icon, trailingIcon, size = "medium", variant, loading, iconOnly, ...restProps }, ref) => {
799
+ const IconComponent = icon ? IconMap[icon] : undefined;
800
+ const TrailingIconComponent = trailingIcon ? IconMap[trailingIcon] : undefined;
801
+ const iconSize = size === "small" ? "sm" : size === "medium" ? "md" : "lg";
802
+ return (jsxRuntimeExports.jsxs("button", { ref: ref, ...restProps, className: `${styles$6.button} ${className ?? ""}`, "data-size": size, "data-variant": variant, "data-icon-only": iconOnly, children: [IconComponent && jsxRuntimeExports.jsx(IconComponent, { size: iconSize }), loading && jsxRuntimeExports.jsx(Spinner, { size: iconSize }), children, TrailingIconComponent && jsxRuntimeExports.jsx(TrailingIconComponent, { size: iconSize }), notificationDotText && jsxRuntimeExports.jsx("span", { className: styles$6.buttonNotificationDot, children: notificationDotText })] }));
803
+ });
804
+ Button.displayName = "Button";
805
+
806
+ var css_248z$4 = ".Checkbox-module_checkboxRow__CtGUR {\n display: flex;\n align-items: center;\n gap: var(--spacing-2);\n}\n\n.Checkbox-module_checkboxRoot__wWyWL {\n width: var(--size-6);\n height: var(--size-6);\n padding: 0;\n border: 1px solid var(--color-border-primary);\n border-radius: var(--radius-sm);\n display: flex;\n justify-content: center;\n align-items: center;\n background-color: var(--color-bg-primary);\n}\n\n.Checkbox-module_checkboxIndicator__SNKtT {\n background-color: var(--color-bg-brand);\n border-radius: var(--radius-sm);\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.Checkbox-module_checkboxCheckmarkIcon__0a5SZ {\n width: var(--size-4);\n height: var(--size-4);\n color: var(--color-text-inverted);\n}\n\n.Checkbox-module_checkboxLabel__Ci5a6 {\n font-size: var(--font-size-base);\n color: var(--color-text-primary);\n}";
807
+ var styles$4 = {"checkboxRow":"Checkbox-module_checkboxRow__CtGUR","checkboxRoot":"Checkbox-module_checkboxRoot__wWyWL","checkboxIndicator":"Checkbox-module_checkboxIndicator__SNKtT","checkboxCheckmarkIcon":"Checkbox-module_checkboxCheckmarkIcon__0a5SZ","checkboxLabel":"Checkbox-module_checkboxLabel__Ci5a6"};
808
+ styleInject(css_248z$4);
809
+
810
+ const Checkbox = ({ id, labelContent, checked, onClick }) => {
811
+ return (jsxRuntimeExports.jsxs("div", { className: styles$4.checkboxRow, children: [jsxRuntimeExports.jsx(RadixCheckbox.Root, { checked: checked, onCheckedChange: (checked) => {
812
+ onClick(checked === true);
813
+ }, className: styles$4.checkboxRoot, defaultChecked: true, id: id, children: jsxRuntimeExports.jsx(RadixCheckbox.Indicator, { className: styles$4.checkboxIndicator, children: jsxRuntimeExports.jsx(Check, { className: styles$4.checkboxCheckmarkIcon }) }) }), jsxRuntimeExports.jsx("label", { className: styles$4.checkboxLabel, htmlFor: id, children: labelContent })] }));
814
+ };
815
+
816
+ var css_248z$3 = ".Dialog-module_dialogOverlay__0DUTX {\n background-color: var(--color-gray-950);\n position: fixed;\n inset: 0;\n z-index: 40;\n opacity: 0.5;\n animation: Dialog-module_overlayShow__AFgps 200ms cubic-bezier(0.16, 1, 0.3, 1);\n}\n\n@keyframes Dialog-module_overlayShow__AFgps {\n from {\n opacity: 0;\n }\n\n to {\n opacity: 0.5;\n }\n}\n\n.Dialog-module_dialogContent__YKurb {\n position: fixed;\n top: 50%;\n left: 50%;\n border-radius: var(--radius-md);\n box-shadow: var(--shadow-lg);\n background-color: var(--color-bg-primary);\n color: var(--color-text-primary);\n z-index: 50;\n display: flex;\n flex-direction: column;\n padding: var(--spacing-8);\n gap: var(--spacing-8);\n animation: Dialog-module_contentShow__mHFZp 200ms cubic-bezier(0.16, 1, 0.3, 1);\n\n transform: translate(-50%, -50%);\n width: 90vw;\n\n max-width: 450px;\n}\n\n.Dialog-module_dialogContent__YKurb[data-size=\"sm\"] {\n max-width: 450px;\n}\n\n.Dialog-module_dialogContent__YKurb[data-size=\"md\"] {\n max-width: 600px;\n}\n\n.Dialog-module_dialogContent__YKurb[data-size=\"lg\"] {\n max-width: 800px;\n}\n\n@keyframes Dialog-module_contentShow__mHFZp {\n from {\n opacity: 0;\n transform: translate(-50%, -48%) scale(0.96);\n }\n\n to {\n opacity: 1;\n transform: translate(-50%, -50%) scale(1);\n }\n}\n\n.Dialog-module_dialogCloseButton__GCje9 {\n position: absolute;\n top: var(--spacing-4);\n right: var(--spacing-4);\n color: var(--color-text-tertiary);\n}\n\n.Dialog-module_dialogTitle__wrScr {\n margin: 0;\n font-weight: var(--font-weight-semibold);\n font-size: var(--font-size-xl);\n color: var(--color-text-primary);\n}\n\n.Dialog-module_dialogDescription__5iZiF {\n margin: 0;\n font-weight: var(--font-weight-normal);\n font-size: var(--font-size-sm);\n color: var(--color-text-secondary);\n}";
817
+ var styles$3 = {"dialogOverlay":"Dialog-module_dialogOverlay__0DUTX","dialogContent":"Dialog-module_dialogContent__YKurb","dialogCloseButton":"Dialog-module_dialogCloseButton__GCje9","dialogTitle":"Dialog-module_dialogTitle__wrScr"};
818
+ styleInject(css_248z$3);
819
+
820
+ const Dialog = ({ trigger, content, title, ...props }) => {
821
+ return (jsxRuntimeExports.jsxs(RadixDialog.Root, { ...props, children: [jsxRuntimeExports.jsx(RadixDialog.Trigger, { asChild: true, children: trigger }), jsxRuntimeExports.jsxs(RadixDialog.Portal, { children: [jsxRuntimeExports.jsx(RadixDialog.Overlay, { className: `${styles$3.dialogOverlay}` }), jsxRuntimeExports.jsxs(RadixDialog.Content, { className: styles$3.dialogContent, onPointerDownOutside: (event) => {
822
+ event?.preventDefault();
823
+ }, "data-size": "md", children: [jsxRuntimeExports.jsx(RadixDialog.Close, { asChild: true, children: jsxRuntimeExports.jsx(Button, { className: `${styles$3.dialogCloseButton}`, variant: "tertiary", iconOnly: true, children: jsxRuntimeExports.jsx(Close, {}) }) }), jsxRuntimeExports.jsx(RadixDialog.Title, { className: styles$3.dialogTitle, children: title }), content] })] })] }));
824
+ };
825
+
826
+ var css_248z$2 = ".MenuButton-module_menuButtonContent__6Kwzb {\n background-color: var(--color-bg-primary);\n border-radius: var(--radius-md);\n padding: var(--spacing-1_5);\n border: 1px solid var(--color-border-primary);\n box-shadow: var(--shadow-lg);\n min-width: 10rem;\n}\n\n.MenuButton-module_menuButtonItem__ozrFN {\n color: var(--color-text-secondary);\n display: flex;\n align-items: center;\n font-size: var(--font-size-sm);\n padding-left: var(--spacing-2_5);\n padding-right: var(--spacing-2_5);\n padding-top: var(--spacing-2);\n padding-bottom: var(--spacing-2);\n border-radius: var(--radius-md);\n line-height: var(--leading-none);\n height: 25px;\n position: relative;\n user-select: none;\n outline: none;\n}\n\n.MenuButton-module_menuButtonItem__ozrFN[data-disabled] {\n color: var(--color-text-disabled);\n pointer-events: none;\n}\n\n.MenuButton-module_menuButtonItem__ozrFN:hover:not([data-disabled]) {\n background-color: var(--color-bg-tertiary);\n cursor: pointer;\n}\n\n.MenuButton-module_menuButtonItem__ozrFN.MenuButton-module_focus-visible__7CH5L,\n.MenuButton-module_menuButtonItem__ozrFN:focus-visible {\n background-color: var(--color-bg-tertiary);\n}\n\n.MenuButton-module_menuButtonArrow__Spkn0 {\n fill: var(--color-bg-primary);\n}";
827
+ var styles$2 = {"menuButtonContent":"MenuButton-module_menuButtonContent__6Kwzb","menuButtonItem":"MenuButton-module_menuButtonItem__ozrFN","menuButtonArrow":"MenuButton-module_menuButtonArrow__Spkn0"};
828
+ styleInject(css_248z$2);
829
+
830
+ const MenuButton = ({ children, ...props }) => {
831
+ return (jsxRuntimeExports.jsxs(RadixMenuButton.Root, { modal: false, ...props, children: [jsxRuntimeExports.jsx(RadixMenuButton.Trigger, { asChild: true, children: jsxRuntimeExports.jsx(Button, { "data-variant": "tertiary", iconOnly: true, icon: "Menu" }) }), jsxRuntimeExports.jsx(RadixMenuButton.Portal, { children: jsxRuntimeExports.jsxs(RadixMenuButton.Content, { align: "end", className: styles$2.menuButtonContent, sideOffset: 5, children: [children, jsxRuntimeExports.jsx(RadixMenuButton.Arrow, { className: styles$2.menuButtonArrow })] }) })] }));
832
+ };
833
+ const MenuButtonItem = ({ children, ...props }) => {
834
+ return (jsxRuntimeExports.jsx(RadixMenuButton.Item, { className: styles$2.menuButtonItem, ...props, children: children }));
835
+ };
836
+
837
+ var css_248z$1 = ".Toast-module_toast__FLdHz {\n background-color: var(--color-bg-primary);\n box-shadow: var(--shadow-lg);\n border-radius: var(--radius-lg);\n display: flex;\n align-items: center;\n padding: var(--spacing-4);\n gap: var(--spacing-4);\n border: 1px solid var(--color-border-primary);\n}\n\n.Toast-module_toastContent__vhwLJ {\n display: flex;\n flex-direction: column;\n gap: var(--spacing-1);\n flex-grow: 1;\n}\n\n.Toast-module_toast__FLdHz[data-state=\"open\"] {\n animation: Toast-module_slideIn__JlXMd 150ms cubic-bezier(0.16, 1, 0.3, 1);\n}\n\n.Toast-module_toast__FLdHz[data-state=\"closed\"] {\n animation: Toast-module_hide__lMa4n 100ms ease-in;\n}\n\n.Toast-module_toast__FLdHz[data-swipe=\"move\"] {\n transform: translateX(var(--radix-toast-swipe-move-x));\n}\n\n.Toast-module_toast__FLdHz[data-swipe=\"cancel\"] {\n transform: translateX(0);\n transition: transform 200ms ease-out;\n}\n\n.Toast-module_toast__FLdHz[data-swipe=\"end\"] {\n animation: Toast-module_swipeOut__d3l3m 100ms ease-out;\n}\n\n@keyframes Toast-module_hide__lMa4n {\n from {\n opacity: 1;\n }\n\n to {\n opacity: 0;\n }\n}\n\n@keyframes Toast-module_slideIn__JlXMd {\n from {\n transform: translateX(calc(100% + var(--viewport-padding)));\n }\n\n to {\n transform: translateX(0);\n }\n}\n\n@keyframes Toast-module_swipeOut__d3l3m {\n from {\n transform: translateX(var(--radix-toast-swipe-end-x));\n }\n\n to {\n transform: translateX(calc(100% + var(--viewport-padding)));\n }\n}\n\n.Toast-module_toastViewport__Z7b7Z {\n list-style-type: none;\n margin: 0;\n padding: 0;\n position: fixed;\n bottom: 0;\n right: 0;\n display: flex;\n flex-direction: column;\n padding: var(--spacing-6);\n gap: var(--spacing-2);\n width: 390px;\n max-width: 100vw;\n margin: 0;\n z-index: 999;\n outline: none;\n --viewport-padding: var(--spacing-6);\n}\n\n.Toast-module_toastTitle__NoQZU {\n color: var(--color-text-primary);\n font-size: var(--font-size-sm);\n font-weight: var(--font-weight-semibold);\n}\n\n.Toast-module_toastDescription__tmdJg {\n color: var(--color-text-secondary);\n font-size: var(--font-size-sm);\n}";
838
+ var styles$1 = {"toast":"Toast-module_toast__FLdHz","toastContent":"Toast-module_toastContent__vhwLJ","toastViewport":"Toast-module_toastViewport__Z7b7Z","toastTitle":"Toast-module_toastTitle__NoQZU","toastDescription":"Toast-module_toastDescription__tmdJg"};
839
+ styleInject(css_248z$1);
840
+
841
+ const ToastProvider = ({ ...props }) => {
842
+ return jsxRuntimeExports.jsx(RadixToast.Provider, { ...props });
843
+ };
844
+ const ToastViewport = forwardRef(({ ...props }, ref) => {
845
+ return jsxRuntimeExports.jsx(RadixToast.Viewport, { className: styles$1.toastViewport, ref: ref, ...props });
846
+ });
847
+ ToastViewport.displayName = "ToastViewport";
848
+ const Toast = forwardRef(({ toastTitle, toastDescription, toastAction, ...props }, ref) => {
849
+ return (jsxRuntimeExports.jsxs(RadixToast.Root, { className: styles$1.toast, ref: ref, ...props, children: [jsxRuntimeExports.jsxs("div", { className: styles$1.toastContent, children: [jsxRuntimeExports.jsx(RadixToast.Title, { className: styles$1.toastTitle, children: toastTitle }), toastDescription && (jsxRuntimeExports.jsx(RadixToast.Description, { className: styles$1.toastDescription, children: toastDescription }))] }), toastAction && (jsxRuntimeExports.jsx(RadixToast.Action, { className: styles$1.toastAction, asChild: true, altText: "Toast action", children: toastAction })), jsxRuntimeExports.jsx(RadixToast.Close, { asChild: true, children: jsxRuntimeExports.jsx(Button, { variant: "tertiary", iconOnly: true, icon: "Close" }) })] }));
850
+ });
851
+ Toast.displayName = "Toast";
852
+
853
+ var css_248z = ".Tooltip-module_tooltipContent__2sP7X {\n background-color: var(--color-bg-tooltip);\n color: var(--color-text-inverted);\n border-radius: var(--radius-md);\n padding: var(--spacing-2) var(--spacing-3);\n font-size: var(--font-size-xs);\n line-height: var(--leading-tight);\n box-shadow: var(--shadow-sm);\n z-index: 50;\n}\n\n.Tooltip-module_tooltipArrow__zHK6g {\n fill: var(--color-bg-tooltip);\n}";
854
+ var styles = {"tooltipContent":"Tooltip-module_tooltipContent__2sP7X","tooltipArrow":"Tooltip-module_tooltipArrow__zHK6g"};
855
+ styleInject(css_248z);
856
+
857
+ const TooltipProvider = ({ ...props }) => {
858
+ return jsxRuntimeExports.jsx(RadixTooltip.Provider, { ...props });
859
+ };
860
+ function Tooltip({ children, content, open, defaultOpen, onOpenChange, ...props }) {
861
+ if (content === undefined) {
862
+ return jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, { children: children });
863
+ }
864
+ return (jsxRuntimeExports.jsxs(RadixTooltip.Root, { open: open, defaultOpen: defaultOpen, onOpenChange: (open) => {
865
+ onOpenChange?.(open);
866
+ }, disableHoverableContent: true, delayDuration: 200, children: [jsxRuntimeExports.jsx(RadixTooltip.Trigger, { asChild: true, children: children }), jsxRuntimeExports.jsx(RadixTooltip.Portal, { children: jsxRuntimeExports.jsxs(RadixTooltip.Content, { className: styles.tooltipContent, ...props, sideOffset: 4, children: [content, jsxRuntimeExports.jsx(RadixTooltip.Arrow, { className: styles.tooltipArrow })] }) })] }));
867
+ }
868
+
869
+ export { ArrowLeft, ArrowRight, Button, Check, Checkbox, Circle, Close, Dialog, ExternalLink, Gear, Hammer, Heart, IconMap, Kebab, Lightning, Mail, Menu, MenuButton, MenuButtonItem, NoMobile, Pencil, Spinner, Toast, ToastProvider, ToastViewport, Tooltip, TooltipProvider, createIcon, iconSizes };
870
+ //# sourceMappingURL=index.js.map