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

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.
package/dist/cjs/index.js DELETED
@@ -1,923 +0,0 @@
1
- 'use strict';
2
-
3
- var React = require('react');
4
- var RadixCheckbox = require('@radix-ui/react-checkbox');
5
- var RadixDialog = require('@radix-ui/react-dialog');
6
- var RadixMenuButton = require('@radix-ui/react-dropdown-menu');
7
- var RadixToast = require('@radix-ui/react-toast');
8
- var RadixTooltip = require('@radix-ui/react-tooltip');
9
-
10
- function _interopNamespaceDefault(e) {
11
- var n = Object.create(null);
12
- if (e) {
13
- Object.keys(e).forEach(function (k) {
14
- if (k !== 'default') {
15
- var d = Object.getOwnPropertyDescriptor(e, k);
16
- Object.defineProperty(n, k, d.get ? d : {
17
- enumerable: true,
18
- get: function () { return e[k]; }
19
- });
20
- }
21
- });
22
- }
23
- n.default = e;
24
- return Object.freeze(n);
25
- }
26
-
27
- var React__namespace = /*#__PURE__*/_interopNamespaceDefault(React);
28
- var RadixCheckbox__namespace = /*#__PURE__*/_interopNamespaceDefault(RadixCheckbox);
29
- var RadixDialog__namespace = /*#__PURE__*/_interopNamespaceDefault(RadixDialog);
30
- var RadixMenuButton__namespace = /*#__PURE__*/_interopNamespaceDefault(RadixMenuButton);
31
- var RadixToast__namespace = /*#__PURE__*/_interopNamespaceDefault(RadixToast);
32
- var RadixTooltip__namespace = /*#__PURE__*/_interopNamespaceDefault(RadixTooltip);
33
-
34
- var jsxRuntime = {exports: {}};
35
-
36
- var reactJsxRuntime_production = {};
37
-
38
- /**
39
- * @license React
40
- * react-jsx-runtime.production.js
41
- *
42
- * Copyright (c) Meta Platforms, Inc. and affiliates.
43
- *
44
- * This source code is licensed under the MIT license found in the
45
- * LICENSE file in the root directory of this source tree.
46
- */
47
-
48
- var hasRequiredReactJsxRuntime_production;
49
-
50
- function requireReactJsxRuntime_production () {
51
- if (hasRequiredReactJsxRuntime_production) return reactJsxRuntime_production;
52
- hasRequiredReactJsxRuntime_production = 1;
53
- var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"),
54
- REACT_FRAGMENT_TYPE = Symbol.for("react.fragment");
55
- function jsxProd(type, config, maybeKey) {
56
- var key = null;
57
- void 0 !== maybeKey && (key = "" + maybeKey);
58
- void 0 !== config.key && (key = "" + config.key);
59
- if ("key" in config) {
60
- maybeKey = {};
61
- for (var propName in config)
62
- "key" !== propName && (maybeKey[propName] = config[propName]);
63
- } else maybeKey = config;
64
- config = maybeKey.ref;
65
- return {
66
- $$typeof: REACT_ELEMENT_TYPE,
67
- type: type,
68
- key: key,
69
- ref: void 0 !== config ? config : null,
70
- props: maybeKey
71
- };
72
- }
73
- reactJsxRuntime_production.Fragment = REACT_FRAGMENT_TYPE;
74
- reactJsxRuntime_production.jsx = jsxProd;
75
- reactJsxRuntime_production.jsxs = jsxProd;
76
- return reactJsxRuntime_production;
77
- }
78
-
79
- var reactJsxRuntime_development = {};
80
-
81
- /**
82
- * @license React
83
- * react-jsx-runtime.development.js
84
- *
85
- * Copyright (c) Meta Platforms, Inc. and affiliates.
86
- *
87
- * This source code is licensed under the MIT license found in the
88
- * LICENSE file in the root directory of this source tree.
89
- */
90
-
91
- var hasRequiredReactJsxRuntime_development;
92
-
93
- function requireReactJsxRuntime_development () {
94
- if (hasRequiredReactJsxRuntime_development) return reactJsxRuntime_development;
95
- hasRequiredReactJsxRuntime_development = 1;
96
- "production" !== process.env.NODE_ENV &&
97
- (function () {
98
- function getComponentNameFromType(type) {
99
- if (null == type) return null;
100
- if ("function" === typeof type)
101
- return type.$$typeof === REACT_CLIENT_REFERENCE
102
- ? null
103
- : type.displayName || type.name || null;
104
- if ("string" === typeof type) return type;
105
- switch (type) {
106
- case REACT_FRAGMENT_TYPE:
107
- return "Fragment";
108
- case REACT_PROFILER_TYPE:
109
- return "Profiler";
110
- case REACT_STRICT_MODE_TYPE:
111
- return "StrictMode";
112
- case REACT_SUSPENSE_TYPE:
113
- return "Suspense";
114
- case REACT_SUSPENSE_LIST_TYPE:
115
- return "SuspenseList";
116
- case REACT_ACTIVITY_TYPE:
117
- return "Activity";
118
- }
119
- if ("object" === typeof type)
120
- switch (
121
- ("number" === typeof type.tag &&
122
- console.error(
123
- "Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
124
- ),
125
- type.$$typeof)
126
- ) {
127
- case REACT_PORTAL_TYPE:
128
- return "Portal";
129
- case REACT_CONTEXT_TYPE:
130
- return type.displayName || "Context";
131
- case REACT_CONSUMER_TYPE:
132
- return (type._context.displayName || "Context") + ".Consumer";
133
- case REACT_FORWARD_REF_TYPE:
134
- var innerType = type.render;
135
- type = type.displayName;
136
- type ||
137
- ((type = innerType.displayName || innerType.name || ""),
138
- (type = "" !== type ? "ForwardRef(" + type + ")" : "ForwardRef"));
139
- return type;
140
- case REACT_MEMO_TYPE:
141
- return (
142
- (innerType = type.displayName || null),
143
- null !== innerType
144
- ? innerType
145
- : getComponentNameFromType(type.type) || "Memo"
146
- );
147
- case REACT_LAZY_TYPE:
148
- innerType = type._payload;
149
- type = type._init;
150
- try {
151
- return getComponentNameFromType(type(innerType));
152
- } catch (x) {}
153
- }
154
- return null;
155
- }
156
- function testStringCoercion(value) {
157
- return "" + value;
158
- }
159
- function checkKeyStringCoercion(value) {
160
- try {
161
- testStringCoercion(value);
162
- var JSCompiler_inline_result = !1;
163
- } catch (e) {
164
- JSCompiler_inline_result = true;
165
- }
166
- if (JSCompiler_inline_result) {
167
- JSCompiler_inline_result = console;
168
- var JSCompiler_temp_const = JSCompiler_inline_result.error;
169
- var JSCompiler_inline_result$jscomp$0 =
170
- ("function" === typeof Symbol &&
171
- Symbol.toStringTag &&
172
- value[Symbol.toStringTag]) ||
173
- value.constructor.name ||
174
- "Object";
175
- JSCompiler_temp_const.call(
176
- JSCompiler_inline_result,
177
- "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
178
- JSCompiler_inline_result$jscomp$0
179
- );
180
- return testStringCoercion(value);
181
- }
182
- }
183
- function getTaskName(type) {
184
- if (type === REACT_FRAGMENT_TYPE) return "<>";
185
- if (
186
- "object" === typeof type &&
187
- null !== type &&
188
- type.$$typeof === REACT_LAZY_TYPE
189
- )
190
- return "<...>";
191
- try {
192
- var name = getComponentNameFromType(type);
193
- return name ? "<" + name + ">" : "<...>";
194
- } catch (x) {
195
- return "<...>";
196
- }
197
- }
198
- function getOwner() {
199
- var dispatcher = ReactSharedInternals.A;
200
- return null === dispatcher ? null : dispatcher.getOwner();
201
- }
202
- function UnknownOwner() {
203
- return Error("react-stack-top-frame");
204
- }
205
- function hasValidKey(config) {
206
- if (hasOwnProperty.call(config, "key")) {
207
- var getter = Object.getOwnPropertyDescriptor(config, "key").get;
208
- if (getter && getter.isReactWarning) return false;
209
- }
210
- return void 0 !== config.key;
211
- }
212
- function defineKeyPropWarningGetter(props, displayName) {
213
- function warnAboutAccessingKey() {
214
- specialPropKeyWarningShown ||
215
- ((specialPropKeyWarningShown = true),
216
- console.error(
217
- "%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)",
218
- displayName
219
- ));
220
- }
221
- warnAboutAccessingKey.isReactWarning = true;
222
- Object.defineProperty(props, "key", {
223
- get: warnAboutAccessingKey,
224
- configurable: true
225
- });
226
- }
227
- function elementRefGetterWithDeprecationWarning() {
228
- var componentName = getComponentNameFromType(this.type);
229
- didWarnAboutElementRef[componentName] ||
230
- ((didWarnAboutElementRef[componentName] = true),
231
- console.error(
232
- "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."
233
- ));
234
- componentName = this.props.ref;
235
- return void 0 !== componentName ? componentName : null;
236
- }
237
- function ReactElement(type, key, props, owner, debugStack, debugTask) {
238
- var refProp = props.ref;
239
- type = {
240
- $$typeof: REACT_ELEMENT_TYPE,
241
- type: type,
242
- key: key,
243
- props: props,
244
- _owner: owner
245
- };
246
- null !== (void 0 !== refProp ? refProp : null)
247
- ? Object.defineProperty(type, "ref", {
248
- enumerable: false,
249
- get: elementRefGetterWithDeprecationWarning
250
- })
251
- : Object.defineProperty(type, "ref", { enumerable: false, value: null });
252
- type._store = {};
253
- Object.defineProperty(type._store, "validated", {
254
- configurable: false,
255
- enumerable: false,
256
- writable: true,
257
- value: 0
258
- });
259
- Object.defineProperty(type, "_debugInfo", {
260
- configurable: false,
261
- enumerable: false,
262
- writable: true,
263
- value: null
264
- });
265
- Object.defineProperty(type, "_debugStack", {
266
- configurable: false,
267
- enumerable: false,
268
- writable: true,
269
- value: debugStack
270
- });
271
- Object.defineProperty(type, "_debugTask", {
272
- configurable: false,
273
- enumerable: false,
274
- writable: true,
275
- value: debugTask
276
- });
277
- Object.freeze && (Object.freeze(type.props), Object.freeze(type));
278
- return type;
279
- }
280
- function jsxDEVImpl(
281
- type,
282
- config,
283
- maybeKey,
284
- isStaticChildren,
285
- debugStack,
286
- debugTask
287
- ) {
288
- var children = config.children;
289
- if (void 0 !== children)
290
- if (isStaticChildren)
291
- if (isArrayImpl(children)) {
292
- for (
293
- isStaticChildren = 0;
294
- isStaticChildren < children.length;
295
- isStaticChildren++
296
- )
297
- validateChildKeys(children[isStaticChildren]);
298
- Object.freeze && Object.freeze(children);
299
- } else
300
- console.error(
301
- "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
302
- );
303
- else validateChildKeys(children);
304
- if (hasOwnProperty.call(config, "key")) {
305
- children = getComponentNameFromType(type);
306
- var keys = Object.keys(config).filter(function (k) {
307
- return "key" !== k;
308
- });
309
- isStaticChildren =
310
- 0 < keys.length
311
- ? "{key: someKey, " + keys.join(": ..., ") + ": ...}"
312
- : "{key: someKey}";
313
- didWarnAboutKeySpread[children + isStaticChildren] ||
314
- ((keys =
315
- 0 < keys.length ? "{" + keys.join(": ..., ") + ": ...}" : "{}"),
316
- console.error(
317
- '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} />',
318
- isStaticChildren,
319
- children,
320
- keys,
321
- children
322
- ),
323
- (didWarnAboutKeySpread[children + isStaticChildren] = true));
324
- }
325
- children = null;
326
- void 0 !== maybeKey &&
327
- (checkKeyStringCoercion(maybeKey), (children = "" + maybeKey));
328
- hasValidKey(config) &&
329
- (checkKeyStringCoercion(config.key), (children = "" + config.key));
330
- if ("key" in config) {
331
- maybeKey = {};
332
- for (var propName in config)
333
- "key" !== propName && (maybeKey[propName] = config[propName]);
334
- } else maybeKey = config;
335
- children &&
336
- defineKeyPropWarningGetter(
337
- maybeKey,
338
- "function" === typeof type
339
- ? type.displayName || type.name || "Unknown"
340
- : type
341
- );
342
- return ReactElement(
343
- type,
344
- children,
345
- maybeKey,
346
- getOwner(),
347
- debugStack,
348
- debugTask
349
- );
350
- }
351
- function validateChildKeys(node) {
352
- isValidElement(node)
353
- ? node._store && (node._store.validated = 1)
354
- : "object" === typeof node &&
355
- null !== node &&
356
- node.$$typeof === REACT_LAZY_TYPE &&
357
- ("fulfilled" === node._payload.status
358
- ? isValidElement(node._payload.value) &&
359
- node._payload.value._store &&
360
- (node._payload.value._store.validated = 1)
361
- : node._store && (node._store.validated = 1));
362
- }
363
- function isValidElement(object) {
364
- return (
365
- "object" === typeof object &&
366
- null !== object &&
367
- object.$$typeof === REACT_ELEMENT_TYPE
368
- );
369
- }
370
- var React$1 = React,
371
- REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"),
372
- REACT_PORTAL_TYPE = Symbol.for("react.portal"),
373
- REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"),
374
- REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"),
375
- REACT_PROFILER_TYPE = Symbol.for("react.profiler"),
376
- REACT_CONSUMER_TYPE = Symbol.for("react.consumer"),
377
- REACT_CONTEXT_TYPE = Symbol.for("react.context"),
378
- REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"),
379
- REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"),
380
- REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"),
381
- REACT_MEMO_TYPE = Symbol.for("react.memo"),
382
- REACT_LAZY_TYPE = Symbol.for("react.lazy"),
383
- REACT_ACTIVITY_TYPE = Symbol.for("react.activity"),
384
- REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"),
385
- ReactSharedInternals =
386
- React$1.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,
387
- hasOwnProperty = Object.prototype.hasOwnProperty,
388
- isArrayImpl = Array.isArray,
389
- createTask = console.createTask
390
- ? console.createTask
391
- : function () {
392
- return null;
393
- };
394
- React$1 = {
395
- react_stack_bottom_frame: function (callStackForError) {
396
- return callStackForError();
397
- }
398
- };
399
- var specialPropKeyWarningShown;
400
- var didWarnAboutElementRef = {};
401
- var unknownOwnerDebugStack = React$1.react_stack_bottom_frame.bind(
402
- React$1,
403
- UnknownOwner
404
- )();
405
- var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));
406
- var didWarnAboutKeySpread = {};
407
- reactJsxRuntime_development.Fragment = REACT_FRAGMENT_TYPE;
408
- reactJsxRuntime_development.jsx = function (type, config, maybeKey) {
409
- var trackActualOwner =
410
- 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
411
- return jsxDEVImpl(
412
- type,
413
- config,
414
- maybeKey,
415
- false,
416
- trackActualOwner
417
- ? Error("react-stack-top-frame")
418
- : unknownOwnerDebugStack,
419
- trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask
420
- );
421
- };
422
- reactJsxRuntime_development.jsxs = function (type, config, maybeKey) {
423
- var trackActualOwner =
424
- 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
425
- return jsxDEVImpl(
426
- type,
427
- config,
428
- maybeKey,
429
- true,
430
- trackActualOwner
431
- ? Error("react-stack-top-frame")
432
- : unknownOwnerDebugStack,
433
- trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask
434
- );
435
- };
436
- })();
437
- return reactJsxRuntime_development;
438
- }
439
-
440
- var hasRequiredJsxRuntime;
441
-
442
- function requireJsxRuntime () {
443
- if (hasRequiredJsxRuntime) return jsxRuntime.exports;
444
- hasRequiredJsxRuntime = 1;
445
-
446
- if (process.env.NODE_ENV === 'production') {
447
- jsxRuntime.exports = requireReactJsxRuntime_production();
448
- } else {
449
- jsxRuntime.exports = requireReactJsxRuntime_development();
450
- }
451
- return jsxRuntime.exports;
452
- }
453
-
454
- var jsxRuntimeExports = requireJsxRuntime();
455
-
456
- function styleInject(css, ref) {
457
- if ( ref === void 0 ) ref = {};
458
- var insertAt = ref.insertAt;
459
-
460
- if (!css || typeof document === 'undefined') { return; }
461
-
462
- var head = document.head || document.getElementsByTagName('head')[0];
463
- var style = document.createElement('style');
464
- style.type = 'text/css';
465
-
466
- if (insertAt === 'top') {
467
- if (head.firstChild) {
468
- head.insertBefore(style, head.firstChild);
469
- } else {
470
- head.appendChild(style);
471
- }
472
- } else {
473
- head.appendChild(style);
474
- }
475
-
476
- if (style.styleSheet) {
477
- style.styleSheet.cssText = css;
478
- } else {
479
- style.appendChild(document.createTextNode(css));
480
- }
481
- }
482
-
483
- 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}";
484
- var styles$6 = {"button":"Button-module_button__2ZuB7","buttonNotificationDot":"Button-module_buttonNotificationDot__mHEF3"};
485
- styleInject(css_248z$7);
486
-
487
- var _path$a;
488
- 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); }
489
- var SvgArrowLeft = function SvgArrowLeft(props) {
490
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$e({
491
- xmlns: "http://www.w3.org/2000/svg",
492
- viewBox: "0 0 24 24",
493
- width: "1em",
494
- height: "1em"
495
- }, props), _path$a || (_path$a = /*#__PURE__*/React__namespace.createElement("path", {
496
- fill: "none",
497
- stroke: "currentColor",
498
- strokeLinecap: "round",
499
- strokeLinejoin: "round",
500
- strokeWidth: 2,
501
- d: "m12 19-7-7 7-7m7 7H5"
502
- })));
503
- };
504
-
505
- var _path$9;
506
- 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); }
507
- var SvgArrowRight = function SvgArrowRight(props) {
508
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$d({
509
- xmlns: "http://www.w3.org/2000/svg",
510
- viewBox: "0 0 24 24",
511
- width: "1em",
512
- height: "1em"
513
- }, props), _path$9 || (_path$9 = /*#__PURE__*/React__namespace.createElement("path", {
514
- fill: "none",
515
- stroke: "currentColor",
516
- strokeLinecap: "round",
517
- strokeLinejoin: "round",
518
- strokeWidth: 2,
519
- d: "M5 12h14m-7-7 7 7-7 7"
520
- })));
521
- };
522
-
523
- var _path$8;
524
- 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); }
525
- var SvgCheck = function SvgCheck(props) {
526
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$c({
527
- xmlns: "http://www.w3.org/2000/svg",
528
- viewBox: "0 0 24 24",
529
- width: "1em",
530
- height: "1em"
531
- }, props), _path$8 || (_path$8 = /*#__PURE__*/React__namespace.createElement("path", {
532
- fill: "currentColor",
533
- 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"
534
- })));
535
- };
536
-
537
- var _circle;
538
- 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); }
539
- var SvgCircle = function SvgCircle(props) {
540
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$b({
541
- xmlns: "http://www.w3.org/2000/svg",
542
- viewBox: "0 0 24 24",
543
- width: "1em",
544
- height: "1em"
545
- }, props), _circle || (_circle = /*#__PURE__*/React__namespace.createElement("circle", {
546
- cx: 12,
547
- cy: 12,
548
- r: 10,
549
- fill: "none",
550
- stroke: "currentColor",
551
- strokeLinecap: "round",
552
- strokeLinejoin: "round",
553
- strokeWidth: 2
554
- })));
555
- };
556
-
557
- var _path$7;
558
- 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); }
559
- var SvgClose = function SvgClose(props) {
560
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$a({
561
- xmlns: "http://www.w3.org/2000/svg",
562
- viewBox: "0 0 24 24",
563
- width: "1em",
564
- height: "1em"
565
- }, props), _path$7 || (_path$7 = /*#__PURE__*/React__namespace.createElement("path", {
566
- fill: "none",
567
- stroke: "currentColor",
568
- strokeLinecap: "round",
569
- strokeLinejoin: "round",
570
- strokeWidth: 2,
571
- d: "M18 6 6 18M6 6l12 12"
572
- })));
573
- };
574
-
575
- var _path$6;
576
- 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); }
577
- var SvgExternalLink = function SvgExternalLink(props) {
578
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$9({
579
- xmlns: "http://www.w3.org/2000/svg",
580
- viewBox: "0 0 24 24",
581
- width: "1em",
582
- height: "1em"
583
- }, props), _path$6 || (_path$6 = /*#__PURE__*/React__namespace.createElement("path", {
584
- fill: "none",
585
- stroke: "currentColor",
586
- strokeLinecap: "round",
587
- strokeLinejoin: "round",
588
- strokeWidth: 2,
589
- 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"
590
- })));
591
- };
592
-
593
- var _path$5;
594
- 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); }
595
- var SvgGear = function SvgGear(props) {
596
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$8({
597
- xmlns: "http://www.w3.org/2000/svg",
598
- viewBox: "0 0 32 32",
599
- width: "1em",
600
- height: "1em"
601
- }, props), _path$5 || (_path$5 = /*#__PURE__*/React__namespace.createElement("path", {
602
- fill: "currentColor",
603
- 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"
604
- })));
605
- };
606
-
607
- var _g$2;
608
- 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); }
609
- var SvgHammer = function SvgHammer(props) {
610
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$7({
611
- xmlns: "http://www.w3.org/2000/svg",
612
- viewBox: "0 0 24 24",
613
- width: "1em",
614
- height: "1em"
615
- }, props), _g$2 || (_g$2 = /*#__PURE__*/React__namespace.createElement("g", {
616
- fill: "none",
617
- stroke: "currentColor",
618
- strokeLinecap: "round",
619
- strokeLinejoin: "round",
620
- strokeWidth: 2
621
- }, /*#__PURE__*/React__namespace.createElement("path", {
622
- d: "m15 12-8.373 8.373a1 1 0 1 1-3-3L12 9m6 6 4-4"
623
- }), /*#__PURE__*/React__namespace.createElement("path", {
624
- 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"
625
- }))));
626
- };
627
-
628
- var _path$4;
629
- 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); }
630
- var SvgHeartSolid = function SvgHeartSolid(props) {
631
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$6({
632
- xmlns: "http://www.w3.org/2000/svg",
633
- viewBox: "0 0 24 24",
634
- width: "1em",
635
- height: "1em"
636
- }, props), _path$4 || (_path$4 = /*#__PURE__*/React__namespace.createElement("path", {
637
- fill: "currentColor",
638
- 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"
639
- })));
640
- };
641
-
642
- var _g$1;
643
- 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); }
644
- var SvgKebab = function SvgKebab(props) {
645
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$5({
646
- xmlns: "http://www.w3.org/2000/svg",
647
- viewBox: "0 0 16 16",
648
- width: "1em",
649
- height: "1em"
650
- }, props), _g$1 || (_g$1 = /*#__PURE__*/React__namespace.createElement("g", {
651
- fill: "none",
652
- stroke: "currentColor",
653
- strokeLinecap: "round",
654
- strokeLinejoin: "round",
655
- strokeWidth: 1.5
656
- }, /*#__PURE__*/React__namespace.createElement("circle", {
657
- cx: 8,
658
- cy: 2.5,
659
- r: 0.75
660
- }), /*#__PURE__*/React__namespace.createElement("circle", {
661
- cx: 8,
662
- cy: 8,
663
- r: 0.75
664
- }), /*#__PURE__*/React__namespace.createElement("circle", {
665
- cx: 8,
666
- cy: 13.5,
667
- r: 0.75
668
- }))));
669
- };
670
-
671
- var _path$3;
672
- 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); }
673
- var SvgLightning = function SvgLightning(props) {
674
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$4({
675
- xmlns: "http://www.w3.org/2000/svg",
676
- viewBox: "0 0 256 256",
677
- width: "1em",
678
- height: "1em"
679
- }, props), _path$3 || (_path$3 = /*#__PURE__*/React__namespace.createElement("path", {
680
- fill: "currentColor",
681
- 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"
682
- })));
683
- };
684
-
685
- var _g;
686
- 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); }
687
- var SvgMail = function SvgMail(props) {
688
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$3({
689
- xmlns: "http://www.w3.org/2000/svg",
690
- viewBox: "0 0 24 24",
691
- width: "1em",
692
- height: "1em"
693
- }, props), _g || (_g = /*#__PURE__*/React__namespace.createElement("g", {
694
- fill: "none",
695
- stroke: "currentColor",
696
- strokeLinecap: "round",
697
- strokeLinejoin: "round",
698
- strokeWidth: 2
699
- }, /*#__PURE__*/React__namespace.createElement("rect", {
700
- width: 20,
701
- height: 16,
702
- x: 2,
703
- y: 4,
704
- rx: 2
705
- }), /*#__PURE__*/React__namespace.createElement("path", {
706
- d: "m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7"
707
- }))));
708
- };
709
-
710
- var _path$2;
711
- 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); }
712
- var SvgMenu = function SvgMenu(props) {
713
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$2({
714
- xmlns: "http://www.w3.org/2000/svg",
715
- viewBox: "0 0 24 24",
716
- width: "1em",
717
- height: "1em"
718
- }, props), _path$2 || (_path$2 = /*#__PURE__*/React__namespace.createElement("path", {
719
- fill: "none",
720
- stroke: "currentColor",
721
- strokeLinecap: "round",
722
- strokeLinejoin: "round",
723
- strokeWidth: 2,
724
- d: "M4 12h16M4 6h16M4 18h16"
725
- })));
726
- };
727
-
728
- var _path$1;
729
- 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); }
730
- var SvgNoMobile = function SvgNoMobile(props) {
731
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$1({
732
- xmlns: "http://www.w3.org/2000/svg",
733
- viewBox: "0 0 24 24",
734
- width: "1em",
735
- height: "1em"
736
- }, props), _path$1 || (_path$1 = /*#__PURE__*/React__namespace.createElement("path", {
737
- fill: "none",
738
- stroke: "currentColor",
739
- strokeLinecap: "round",
740
- strokeLinejoin: "round",
741
- strokeWidth: 2,
742
- 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"
743
- })));
744
- };
745
-
746
- var _path;
747
- 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); }
748
- var SvgPencil = function SvgPencil(props) {
749
- return /*#__PURE__*/React__namespace.createElement("svg", _extends({
750
- xmlns: "http://www.w3.org/2000/svg",
751
- viewBox: "0 0 24 24",
752
- width: "1em",
753
- height: "1em"
754
- }, props), _path || (_path = /*#__PURE__*/React__namespace.createElement("path", {
755
- fill: "currentColor",
756
- 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"
757
- })));
758
- };
759
-
760
- 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}";
761
- var iconStyles = {"icon":"icon-module_icon__UzNYn"};
762
- styleInject(css_248z$6);
763
-
764
- const iconSizes = ["xs", "sm", "md", "lg", "xl", "2xl", "3xl", "4xl"];
765
- const createIcon = (SVG, label) => {
766
- const iconComponent = React.forwardRef(({ size = "lg", className, ...props }, ref) => {
767
- return (jsxRuntimeExports.jsx(SVG, { className: `${className} ${iconStyles.icon}`, "data-size": size,
768
- // @ts-ignore
769
- ref: ref, alt: label, ...props }));
770
- });
771
- iconComponent.displayName = label;
772
- return iconComponent;
773
- };
774
- const ArrowLeft = createIcon(SvgArrowLeft, "Left");
775
- const ArrowRight = createIcon(SvgArrowRight, "Right");
776
- const Check = createIcon(SvgCheck, "Check");
777
- const Circle = createIcon(SvgCircle, "Circle");
778
- const Close = createIcon(SvgClose, "Close");
779
- const ExternalLink = createIcon(SvgExternalLink, "External Link");
780
- const Gear = createIcon(SvgGear, "Gear");
781
- const Hammer = createIcon(SvgHammer, "Hammer");
782
- const Heart = createIcon(SvgHeartSolid, "Heart");
783
- const Kebab = createIcon(SvgKebab, "Kebab");
784
- const Lightning = createIcon(SvgLightning, "Lightning");
785
- const Mail = createIcon(SvgMail, "Mail");
786
- const Menu = createIcon(SvgMenu, "Menu");
787
- const NoMobile = createIcon(SvgNoMobile, "No Mobile Devices");
788
- const Pencil = createIcon(SvgPencil, "Pencil");
789
- /*
790
- * A centralized map of all icon components.
791
- * This is what we will import in the Storybook file for dynamic access.
792
- */
793
- const IconMap = {
794
- ArrowLeft,
795
- ArrowRight,
796
- Check,
797
- Circle,
798
- Close,
799
- ExternalLink,
800
- Gear,
801
- Hammer,
802
- Heart,
803
- Kebab,
804
- Lightning,
805
- Mail,
806
- Menu,
807
- NoMobile,
808
- Pencil,
809
- None: null
810
- };
811
-
812
- 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}";
813
- var styles$5 = {"spinnerWrapper":"Spinner-module_spinnerWrapper__nmYcy","spinner":"Spinner-module_spinner__GpFZS"};
814
- styleInject(css_248z$5);
815
-
816
- const Spinner = React.forwardRef(
817
- // eslint-disable-next-line @typescript-eslint/no-shadow
818
- ({ className, size = "lg", ...props }, ref) => {
819
- return (jsxRuntimeExports.jsx("div", { ref: ref, className: styles$5.spinnerWrapper, "data-size": size, ...props, children: jsxRuntimeExports.jsx("div", { className: styles$5.spinner }) }));
820
- });
821
- Spinner.displayName = "Spinner";
822
-
823
- const Button = React.forwardRef(({ className, notificationDotText, children, icon, trailingIcon, size = "medium", variant, loading, iconOnly, ...restProps }, ref) => {
824
- const IconComponent = icon ? IconMap[icon] : undefined;
825
- const TrailingIconComponent = trailingIcon ? IconMap[trailingIcon] : undefined;
826
- const iconSize = size === "small" ? "sm" : size === "medium" ? "md" : "lg";
827
- 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 })] }));
828
- });
829
- Button.displayName = "Button";
830
-
831
- 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}";
832
- 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"};
833
- styleInject(css_248z$4);
834
-
835
- const Checkbox = ({ id, labelContent, checked, onClick }) => {
836
- return (jsxRuntimeExports.jsxs("div", { className: styles$4.checkboxRow, children: [jsxRuntimeExports.jsx(RadixCheckbox__namespace.Root, { checked: checked, onCheckedChange: (checked) => {
837
- onClick(checked === true);
838
- }, className: styles$4.checkboxRoot, defaultChecked: true, id: id, children: jsxRuntimeExports.jsx(RadixCheckbox__namespace.Indicator, { className: styles$4.checkboxIndicator, children: jsxRuntimeExports.jsx(Check, { className: styles$4.checkboxCheckmarkIcon }) }) }), jsxRuntimeExports.jsx("label", { className: styles$4.checkboxLabel, htmlFor: id, children: labelContent })] }));
839
- };
840
-
841
- 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}";
842
- var styles$3 = {"dialogOverlay":"Dialog-module_dialogOverlay__0DUTX","dialogContent":"Dialog-module_dialogContent__YKurb","dialogCloseButton":"Dialog-module_dialogCloseButton__GCje9","dialogTitle":"Dialog-module_dialogTitle__wrScr"};
843
- styleInject(css_248z$3);
844
-
845
- const Dialog = ({ trigger, content, title, ...props }) => {
846
- return (jsxRuntimeExports.jsxs(RadixDialog__namespace.Root, { ...props, children: [jsxRuntimeExports.jsx(RadixDialog__namespace.Trigger, { asChild: true, children: trigger }), jsxRuntimeExports.jsxs(RadixDialog__namespace.Portal, { children: [jsxRuntimeExports.jsx(RadixDialog__namespace.Overlay, { className: `${styles$3.dialogOverlay}` }), jsxRuntimeExports.jsxs(RadixDialog__namespace.Content, { className: styles$3.dialogContent, onPointerDownOutside: (event) => {
847
- event?.preventDefault();
848
- }, "data-size": "md", children: [jsxRuntimeExports.jsx(RadixDialog__namespace.Close, { asChild: true, children: jsxRuntimeExports.jsx(Button, { className: `${styles$3.dialogCloseButton}`, variant: "tertiary", iconOnly: true, children: jsxRuntimeExports.jsx(Close, {}) }) }), jsxRuntimeExports.jsx(RadixDialog__namespace.Title, { className: styles$3.dialogTitle, children: title }), content] })] })] }));
849
- };
850
-
851
- 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}";
852
- var styles$2 = {"menuButtonContent":"MenuButton-module_menuButtonContent__6Kwzb","menuButtonItem":"MenuButton-module_menuButtonItem__ozrFN","menuButtonArrow":"MenuButton-module_menuButtonArrow__Spkn0"};
853
- styleInject(css_248z$2);
854
-
855
- const MenuButton = ({ children, ...props }) => {
856
- return (jsxRuntimeExports.jsxs(RadixMenuButton__namespace.Root, { modal: false, ...props, children: [jsxRuntimeExports.jsx(RadixMenuButton__namespace.Trigger, { asChild: true, children: jsxRuntimeExports.jsx(Button, { "data-variant": "tertiary", iconOnly: true, icon: "Menu" }) }), jsxRuntimeExports.jsx(RadixMenuButton__namespace.Portal, { children: jsxRuntimeExports.jsxs(RadixMenuButton__namespace.Content, { align: "end", className: styles$2.menuButtonContent, sideOffset: 5, children: [children, jsxRuntimeExports.jsx(RadixMenuButton__namespace.Arrow, { className: styles$2.menuButtonArrow })] }) })] }));
857
- };
858
- const MenuButtonItem = ({ children, ...props }) => {
859
- return (jsxRuntimeExports.jsx(RadixMenuButton__namespace.Item, { className: styles$2.menuButtonItem, ...props, children: children }));
860
- };
861
-
862
- 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}";
863
- 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"};
864
- styleInject(css_248z$1);
865
-
866
- const ToastProvider = ({ ...props }) => {
867
- return jsxRuntimeExports.jsx(RadixToast__namespace.Provider, { ...props });
868
- };
869
- const ToastViewport = React.forwardRef(({ ...props }, ref) => {
870
- return jsxRuntimeExports.jsx(RadixToast__namespace.Viewport, { className: styles$1.toastViewport, ref: ref, ...props });
871
- });
872
- ToastViewport.displayName = "ToastViewport";
873
- const Toast = React.forwardRef(({ toastTitle, toastDescription, toastAction, ...props }, ref) => {
874
- return (jsxRuntimeExports.jsxs(RadixToast__namespace.Root, { className: styles$1.toast, ref: ref, ...props, children: [jsxRuntimeExports.jsxs("div", { className: styles$1.toastContent, children: [jsxRuntimeExports.jsx(RadixToast__namespace.Title, { className: styles$1.toastTitle, children: toastTitle }), toastDescription && (jsxRuntimeExports.jsx(RadixToast__namespace.Description, { className: styles$1.toastDescription, children: toastDescription }))] }), toastAction && (jsxRuntimeExports.jsx(RadixToast__namespace.Action, { className: styles$1.toastAction, asChild: true, altText: "Toast action", children: toastAction })), jsxRuntimeExports.jsx(RadixToast__namespace.Close, { asChild: true, children: jsxRuntimeExports.jsx(Button, { variant: "tertiary", iconOnly: true, icon: "Close" }) })] }));
875
- });
876
- Toast.displayName = "Toast";
877
-
878
- 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}";
879
- var styles = {"tooltipContent":"Tooltip-module_tooltipContent__2sP7X","tooltipArrow":"Tooltip-module_tooltipArrow__zHK6g"};
880
- styleInject(css_248z);
881
-
882
- const TooltipProvider = ({ ...props }) => {
883
- return jsxRuntimeExports.jsx(RadixTooltip__namespace.Provider, { ...props });
884
- };
885
- function Tooltip({ children, content, open, defaultOpen, onOpenChange, ...props }) {
886
- if (content === undefined) {
887
- return jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, { children: children });
888
- }
889
- return (jsxRuntimeExports.jsxs(RadixTooltip__namespace.Root, { open: open, defaultOpen: defaultOpen, onOpenChange: (open) => {
890
- onOpenChange?.(open);
891
- }, disableHoverableContent: true, delayDuration: 200, children: [jsxRuntimeExports.jsx(RadixTooltip__namespace.Trigger, { asChild: true, children: children }), jsxRuntimeExports.jsx(RadixTooltip__namespace.Portal, { children: jsxRuntimeExports.jsxs(RadixTooltip__namespace.Content, { className: styles.tooltipContent, ...props, sideOffset: 4, children: [content, jsxRuntimeExports.jsx(RadixTooltip__namespace.Arrow, { className: styles.tooltipArrow })] }) })] }));
892
- }
893
-
894
- exports.ArrowLeft = ArrowLeft;
895
- exports.ArrowRight = ArrowRight;
896
- exports.Button = Button;
897
- exports.Check = Check;
898
- exports.Checkbox = Checkbox;
899
- exports.Circle = Circle;
900
- exports.Close = Close;
901
- exports.Dialog = Dialog;
902
- exports.ExternalLink = ExternalLink;
903
- exports.Gear = Gear;
904
- exports.Hammer = Hammer;
905
- exports.Heart = Heart;
906
- exports.IconMap = IconMap;
907
- exports.Kebab = Kebab;
908
- exports.Lightning = Lightning;
909
- exports.Mail = Mail;
910
- exports.Menu = Menu;
911
- exports.MenuButton = MenuButton;
912
- exports.MenuButtonItem = MenuButtonItem;
913
- exports.NoMobile = NoMobile;
914
- exports.Pencil = Pencil;
915
- exports.Spinner = Spinner;
916
- exports.Toast = Toast;
917
- exports.ToastProvider = ToastProvider;
918
- exports.ToastViewport = ToastViewport;
919
- exports.Tooltip = Tooltip;
920
- exports.TooltipProvider = TooltipProvider;
921
- exports.createIcon = createIcon;
922
- exports.iconSizes = iconSizes;
923
- //# sourceMappingURL=index.js.map