@salesmind-ai/design-system 0.1.12 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/core/index.css +3 -2
- package/dist/core/index.css.map +1 -1
- package/dist/index.cjs +362 -693
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +229 -228
- package/dist/index.css.map +1 -1
- package/dist/index.d.cts +1 -37
- package/dist/index.d.ts +1 -37
- package/dist/index.js +364 -689
- package/dist/index.js.map +1 -1
- package/dist/report/index.css +6 -5
- package/dist/report/index.css.map +1 -1
- package/dist/styles/styles.css +40 -2
- package/dist/web/index.cjs +37 -24
- package/dist/web/index.cjs.map +1 -1
- package/dist/web/index.css +17 -0
- package/dist/web/index.css.map +1 -1
- package/dist/web/index.d.cts +6 -2
- package/dist/web/index.d.ts +6 -2
- package/dist/web/index.js +37 -24
- package/dist/web/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import React30, { forwardRef, useId, createContext, useContext, useState,
|
|
2
|
-
import
|
|
1
|
+
import React30, { forwardRef, useId, createContext, useContext, useState, useRef, useCallback, useEffect, useMemo } from 'react';
|
|
2
|
+
import clsx21 from 'clsx';
|
|
3
3
|
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
4
4
|
import { Slot } from '@radix-ui/react-slot';
|
|
5
5
|
import { Input } from '@base-ui/react/input';
|
|
@@ -8,7 +8,7 @@ import { Switch as Switch$1 } from '@base-ui/react/switch';
|
|
|
8
8
|
import { Dialog as Dialog$1 } from '@base-ui/react/dialog';
|
|
9
9
|
import { Tooltip as Tooltip$1 } from '@base-ui/react/tooltip';
|
|
10
10
|
import ReactDOM, { createPortal } from 'react-dom';
|
|
11
|
-
import {
|
|
11
|
+
import { motion, useInView, useReducedMotion } from 'framer-motion';
|
|
12
12
|
import { Tabs as Tabs$1 } from '@base-ui/react/tabs';
|
|
13
13
|
import { ArrowRight, X, Check, FileText, Clock, Sun, Moon } from 'lucide-react';
|
|
14
14
|
import { defineMessages, useIntl, IntlProvider } from 'react-intl';
|
|
@@ -20,7 +20,7 @@ import { Select as Select$1 } from '@base-ui/react/select';
|
|
|
20
20
|
// src/components/VoidBackground/VoidBackground.tsx
|
|
21
21
|
var VoidBackground = React30.forwardRef(
|
|
22
22
|
({ showGrid = true, showGrain = true, className, children }, ref) => {
|
|
23
|
-
return /* @__PURE__ */ jsxs("div", { ref, className:
|
|
23
|
+
return /* @__PURE__ */ jsxs("div", { ref, className: clsx21("void", className), children: [
|
|
24
24
|
/* @__PURE__ */ jsx("div", { className: "void__base", "aria-hidden": "true" }),
|
|
25
25
|
/* @__PURE__ */ jsxs("div", { className: "void__orbs", "aria-hidden": "true", children: [
|
|
26
26
|
/* @__PURE__ */ jsx("div", { className: "void__orb void__orb--warm" }),
|
|
@@ -34,28 +34,28 @@ var VoidBackground = React30.forwardRef(
|
|
|
34
34
|
);
|
|
35
35
|
VoidBackground.displayName = "VoidBackground";
|
|
36
36
|
var Card = React30.forwardRef(
|
|
37
|
-
({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, className:
|
|
37
|
+
({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, className: clsx21("ds-card", className), ...props })
|
|
38
38
|
);
|
|
39
39
|
Card.displayName = "Card";
|
|
40
40
|
var CardHeader = React30.forwardRef(
|
|
41
|
-
({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, className:
|
|
41
|
+
({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, className: clsx21("ds-card__header", className), ...props })
|
|
42
42
|
);
|
|
43
43
|
CardHeader.displayName = "CardHeader";
|
|
44
|
-
var CardTitle = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("h3", { ref, className:
|
|
44
|
+
var CardTitle = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("h3", { ref, className: clsx21("ds-card__title", className), ...props }));
|
|
45
45
|
CardTitle.displayName = "CardTitle";
|
|
46
|
-
var CardDescription = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("p", { ref, className:
|
|
46
|
+
var CardDescription = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("p", { ref, className: clsx21("ds-card__description", className), ...props }));
|
|
47
47
|
CardDescription.displayName = "CardDescription";
|
|
48
48
|
var CardContent = React30.forwardRef(
|
|
49
|
-
({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, className:
|
|
49
|
+
({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, className: clsx21("ds-card__content", className), ...props })
|
|
50
50
|
);
|
|
51
51
|
CardContent.displayName = "CardContent";
|
|
52
52
|
var CardFooter = React30.forwardRef(
|
|
53
|
-
({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, className:
|
|
53
|
+
({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, className: clsx21("ds-card__footer", className), ...props })
|
|
54
54
|
);
|
|
55
55
|
CardFooter.displayName = "CardFooter";
|
|
56
56
|
var Button = React30.forwardRef(
|
|
57
57
|
({ className, variant = "primary", size = "md", asChild = false, isLoading = false, children, disabled, ...props }, ref) => {
|
|
58
|
-
const buttonClass =
|
|
58
|
+
const buttonClass = clsx21(
|
|
59
59
|
"ds-button",
|
|
60
60
|
`ds-button--${variant}`,
|
|
61
61
|
size === "icon" ? "ds-button--icon ds-button--md" : `ds-button--${size}`,
|
|
@@ -98,7 +98,7 @@ var Button = React30.forwardRef(
|
|
|
98
98
|
children: /* @__PURE__ */ jsx("path", { d: "M21 12a9 9 0 1 1-6.219-8.56" })
|
|
99
99
|
}
|
|
100
100
|
),
|
|
101
|
-
/* @__PURE__ */ jsx("span", { className:
|
|
101
|
+
/* @__PURE__ */ jsx("span", { className: clsx21("ds-button__content", isLoading && "ds-button__content--hidden"), children })
|
|
102
102
|
]
|
|
103
103
|
}
|
|
104
104
|
);
|
|
@@ -112,7 +112,7 @@ var ButtonGroup = React30.forwardRef(
|
|
|
112
112
|
{
|
|
113
113
|
ref,
|
|
114
114
|
role: "group",
|
|
115
|
-
className:
|
|
115
|
+
className: clsx21(
|
|
116
116
|
"ds-button-group",
|
|
117
117
|
`ds-button-group--${orientation}`,
|
|
118
118
|
fullWidth && "ds-button-group--full-width",
|
|
@@ -130,7 +130,7 @@ var TextField = React30.forwardRef(
|
|
|
130
130
|
({ className, label, error, helperText, endAdornment, id, ...props }, ref) => {
|
|
131
131
|
const generatedId = React30.useId();
|
|
132
132
|
const inputId = id || generatedId;
|
|
133
|
-
return /* @__PURE__ */ jsxs("div", { className:
|
|
133
|
+
return /* @__PURE__ */ jsxs("div", { className: clsx21("ds-textfield", className), children: [
|
|
134
134
|
label && /* @__PURE__ */ jsx("label", { htmlFor: inputId, className: "ds-textfield__label", children: label }),
|
|
135
135
|
/* @__PURE__ */ jsxs("div", { className: "ds-textfield__input-wrapper", children: [
|
|
136
136
|
/* @__PURE__ */ jsx(
|
|
@@ -138,7 +138,7 @@ var TextField = React30.forwardRef(
|
|
|
138
138
|
{
|
|
139
139
|
id: inputId,
|
|
140
140
|
ref,
|
|
141
|
-
className:
|
|
141
|
+
className: clsx21(
|
|
142
142
|
"ds-textfield__input",
|
|
143
143
|
error && "ds-textfield__input--error",
|
|
144
144
|
endAdornment && "ds-textfield__input--adorned"
|
|
@@ -148,7 +148,7 @@ var TextField = React30.forwardRef(
|
|
|
148
148
|
),
|
|
149
149
|
endAdornment && /* @__PURE__ */ jsx("div", { className: "ds-textfield__adornment", children: endAdornment })
|
|
150
150
|
] }),
|
|
151
|
-
helperText && /* @__PURE__ */ jsx("span", { className:
|
|
151
|
+
helperText && /* @__PURE__ */ jsx("span", { className: clsx21("ds-textfield__helper", error && "ds-textfield__helper--error"), children: helperText })
|
|
152
152
|
] });
|
|
153
153
|
}
|
|
154
154
|
);
|
|
@@ -157,18 +157,18 @@ var TextArea = forwardRef(
|
|
|
157
157
|
({ className, label, error, helperText, id, ...props }, ref) => {
|
|
158
158
|
const generatedId = useId();
|
|
159
159
|
const inputId = id || generatedId;
|
|
160
|
-
return /* @__PURE__ */ jsxs("div", { className:
|
|
160
|
+
return /* @__PURE__ */ jsxs("div", { className: clsx21("ds-textarea", className), children: [
|
|
161
161
|
label && /* @__PURE__ */ jsx("label", { htmlFor: inputId, className: "ds-textarea__label", children: label }),
|
|
162
162
|
/* @__PURE__ */ jsx("div", { className: "ds-textarea__input-wrapper", children: /* @__PURE__ */ jsx(
|
|
163
163
|
"textarea",
|
|
164
164
|
{
|
|
165
165
|
id: inputId,
|
|
166
166
|
ref,
|
|
167
|
-
className:
|
|
167
|
+
className: clsx21("ds-textarea__input", error && "ds-textarea__input--error"),
|
|
168
168
|
...props
|
|
169
169
|
}
|
|
170
170
|
) }),
|
|
171
|
-
helperText && /* @__PURE__ */ jsx("span", { className:
|
|
171
|
+
helperText && /* @__PURE__ */ jsx("span", { className: clsx21("ds-textarea__helper", error && "ds-textarea__helper--error"), children: helperText })
|
|
172
172
|
] });
|
|
173
173
|
}
|
|
174
174
|
);
|
|
@@ -177,7 +177,7 @@ var Checkbox = React30.forwardRef(
|
|
|
177
177
|
({ className, label, id, ...props }, ref) => {
|
|
178
178
|
const generatedId = React30.useId();
|
|
179
179
|
const checkboxId = id || generatedId;
|
|
180
|
-
return /* @__PURE__ */ jsxs("div", { className:
|
|
180
|
+
return /* @__PURE__ */ jsxs("div", { className: clsx21("ds-checkbox-wrapper", className), children: [
|
|
181
181
|
/* @__PURE__ */ jsx(Checkbox$1.Root, { id: checkboxId, ref, className: "ds-checkbox", ...props, children: /* @__PURE__ */ jsx(Checkbox$1.Indicator, { className: "ds-checkbox__indicator", children: /* @__PURE__ */ jsx(
|
|
182
182
|
"svg",
|
|
183
183
|
{
|
|
@@ -220,7 +220,7 @@ var RadioGroup = forwardRef(
|
|
|
220
220
|
{
|
|
221
221
|
ref,
|
|
222
222
|
role: "radiogroup",
|
|
223
|
-
className:
|
|
223
|
+
className: clsx21(
|
|
224
224
|
"ds-radio-group",
|
|
225
225
|
orientation === "horizontal" && "ds-radio-group--horizontal",
|
|
226
226
|
className
|
|
@@ -246,7 +246,7 @@ var Radio = forwardRef(
|
|
|
246
246
|
return /* @__PURE__ */ jsxs(
|
|
247
247
|
"label",
|
|
248
248
|
{
|
|
249
|
-
className:
|
|
249
|
+
className: clsx21("ds-radio-wrapper", disabled && "ds-radio-wrapper--disabled", className),
|
|
250
250
|
children: [
|
|
251
251
|
/* @__PURE__ */ jsx(
|
|
252
252
|
"input",
|
|
@@ -263,7 +263,7 @@ var Radio = forwardRef(
|
|
|
263
263
|
...props
|
|
264
264
|
}
|
|
265
265
|
),
|
|
266
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
266
|
+
/* @__PURE__ */ jsx("div", { className: clsx21("ds-radio", isChecked && "ds-radio--checked"), children: /* @__PURE__ */ jsx("div", { className: "ds-radio__indicator" }) }),
|
|
267
267
|
label && /* @__PURE__ */ jsx("span", { className: "ds-radio__label", children: label })
|
|
268
268
|
]
|
|
269
269
|
}
|
|
@@ -275,7 +275,7 @@ var Switch = React30.forwardRef(
|
|
|
275
275
|
({ className, label, id, ...props }, ref) => {
|
|
276
276
|
const generatedId = React30.useId();
|
|
277
277
|
const switchId = id || generatedId;
|
|
278
|
-
return /* @__PURE__ */ jsxs("div", { className:
|
|
278
|
+
return /* @__PURE__ */ jsxs("div", { className: clsx21("ds-switch-wrapper", className), children: [
|
|
279
279
|
/* @__PURE__ */ jsx(Switch$1.Root, { id: switchId, ref, className: "ds-switch", ...props, children: /* @__PURE__ */ jsx(Switch$1.Thumb, { className: "ds-switch__thumb" }) }),
|
|
280
280
|
label && /* @__PURE__ */ jsx("label", { htmlFor: switchId, className: "ds-switch__label", children: label })
|
|
281
281
|
] });
|
|
@@ -285,13 +285,13 @@ Switch.displayName = "Switch";
|
|
|
285
285
|
var Dialog = Dialog$1.Root;
|
|
286
286
|
var DialogTrigger = Dialog$1.Trigger;
|
|
287
287
|
var DialogClose = Dialog$1.Close;
|
|
288
|
-
var DialogTitle = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(Dialog$1.Title, { ref, className:
|
|
288
|
+
var DialogTitle = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(Dialog$1.Title, { ref, className: clsx21("ds-dialog__title", className), ...props }));
|
|
289
289
|
DialogTitle.displayName = "DialogTitle";
|
|
290
290
|
var DialogDescription = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
291
291
|
Dialog$1.Description,
|
|
292
292
|
{
|
|
293
293
|
ref,
|
|
294
|
-
className:
|
|
294
|
+
className: clsx21("ds-dialog__description", className),
|
|
295
295
|
...props
|
|
296
296
|
}
|
|
297
297
|
));
|
|
@@ -299,22 +299,22 @@ DialogDescription.displayName = "DialogDescription";
|
|
|
299
299
|
var DialogContent = React30.forwardRef(
|
|
300
300
|
({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(Dialog$1.Portal, { children: [
|
|
301
301
|
/* @__PURE__ */ jsx(Dialog$1.Backdrop, { className: "ds-dialog__backdrop" }),
|
|
302
|
-
/* @__PURE__ */ jsx(Dialog$1.Popup, { ref, className:
|
|
302
|
+
/* @__PURE__ */ jsx(Dialog$1.Popup, { ref, className: clsx21("ds-dialog__content", className), ...props, children })
|
|
303
303
|
] })
|
|
304
304
|
);
|
|
305
305
|
DialogContent.displayName = "DialogContent";
|
|
306
306
|
var DialogHeader = React30.forwardRef(
|
|
307
|
-
({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, className:
|
|
307
|
+
({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, className: clsx21("ds-dialog__header", className), ...props })
|
|
308
308
|
);
|
|
309
309
|
DialogHeader.displayName = "DialogHeader";
|
|
310
310
|
var DialogFooter = React30.forwardRef(
|
|
311
|
-
({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, className:
|
|
311
|
+
({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, className: clsx21("ds-dialog__footer", className), ...props })
|
|
312
312
|
);
|
|
313
313
|
DialogFooter.displayName = "DialogFooter";
|
|
314
314
|
var TooltipProvider = Tooltip$1.Provider;
|
|
315
315
|
var TooltipRoot = Tooltip$1.Root;
|
|
316
316
|
var TooltipTrigger = Tooltip$1.Trigger;
|
|
317
|
-
var TooltipContent = React30.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsx(Tooltip$1.Portal, { children: /* @__PURE__ */ jsx(Tooltip$1.Positioner, { sideOffset: 5, children: /* @__PURE__ */ jsxs(Tooltip$1.Popup, { ref, className:
|
|
317
|
+
var TooltipContent = React30.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsx(Tooltip$1.Portal, { children: /* @__PURE__ */ jsx(Tooltip$1.Positioner, { sideOffset: 5, children: /* @__PURE__ */ jsxs(Tooltip$1.Popup, { ref, className: clsx21("ds-tooltip__content", className), ...props, children: [
|
|
318
318
|
children,
|
|
319
319
|
/* @__PURE__ */ jsx(Tooltip$1.Arrow, { className: "ds-tooltip__arrow" })
|
|
320
320
|
] }) }) }));
|
|
@@ -367,7 +367,7 @@ var Accordion = React30.forwardRef(
|
|
|
367
367
|
() => ({ openItems, toggle }),
|
|
368
368
|
[openItems, toggle]
|
|
369
369
|
);
|
|
370
|
-
return /* @__PURE__ */ jsx(AccordionContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsx("div", { ref, className:
|
|
370
|
+
return /* @__PURE__ */ jsx(AccordionContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsx("div", { ref, className: clsx21("ds-accordion", className), ...props, children }) });
|
|
371
371
|
}
|
|
372
372
|
);
|
|
373
373
|
Accordion.displayName = "Accordion";
|
|
@@ -383,7 +383,7 @@ var AccordionItem = React30.forwardRef(
|
|
|
383
383
|
"div",
|
|
384
384
|
{
|
|
385
385
|
ref,
|
|
386
|
-
className:
|
|
386
|
+
className: clsx21("ds-accordion__item", className),
|
|
387
387
|
"data-state": isOpen ? "open" : "closed",
|
|
388
388
|
...props,
|
|
389
389
|
children
|
|
@@ -400,7 +400,7 @@ var AccordionTrigger = React30.forwardRef(({ className, children, ...props }, re
|
|
|
400
400
|
{
|
|
401
401
|
ref,
|
|
402
402
|
type: "button",
|
|
403
|
-
className:
|
|
403
|
+
className: clsx21("ds-accordion__trigger", className),
|
|
404
404
|
"aria-expanded": isOpen,
|
|
405
405
|
onClick: () => toggle(value),
|
|
406
406
|
...props,
|
|
@@ -455,7 +455,7 @@ var AccordionContent = React30.forwardRef(({ className, children, ...props }, re
|
|
|
455
455
|
"div",
|
|
456
456
|
{
|
|
457
457
|
ref: contentRef,
|
|
458
|
-
className:
|
|
458
|
+
className: clsx21("ds-accordion__content", className),
|
|
459
459
|
style: {
|
|
460
460
|
height: height !== void 0 ? `${height}px` : "auto"
|
|
461
461
|
},
|
|
@@ -472,7 +472,7 @@ var Label = React30.forwardRef(
|
|
|
472
472
|
"label",
|
|
473
473
|
{
|
|
474
474
|
ref,
|
|
475
|
-
className:
|
|
475
|
+
className: clsx21("ds-label", disabled && "ds-label--disabled", className),
|
|
476
476
|
"data-disabled": disabled || void 0,
|
|
477
477
|
...props
|
|
478
478
|
}
|
|
@@ -486,7 +486,7 @@ var Skeleton = React30.forwardRef(
|
|
|
486
486
|
"div",
|
|
487
487
|
{
|
|
488
488
|
ref,
|
|
489
|
-
className:
|
|
489
|
+
className: clsx21("ds-skeleton", className),
|
|
490
490
|
...props
|
|
491
491
|
}
|
|
492
492
|
);
|
|
@@ -501,7 +501,7 @@ var Separator = React30.forwardRef(
|
|
|
501
501
|
ref,
|
|
502
502
|
role: "separator",
|
|
503
503
|
"aria-orientation": orientation,
|
|
504
|
-
className:
|
|
504
|
+
className: clsx21(
|
|
505
505
|
"ds-separator",
|
|
506
506
|
`ds-separator--${orientation}`,
|
|
507
507
|
className
|
|
@@ -579,7 +579,7 @@ var SheetContent = React30.forwardRef(
|
|
|
579
579
|
{
|
|
580
580
|
ref,
|
|
581
581
|
role: "dialog",
|
|
582
|
-
className:
|
|
582
|
+
className: clsx21("ds-sheet__content", `ds-sheet__content--${side}`, className),
|
|
583
583
|
...props,
|
|
584
584
|
children
|
|
585
585
|
}
|
|
@@ -591,15 +591,15 @@ var SheetContent = React30.forwardRef(
|
|
|
591
591
|
);
|
|
592
592
|
SheetContent.displayName = "SheetContent";
|
|
593
593
|
var SheetHeader = React30.forwardRef(
|
|
594
|
-
({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, className:
|
|
594
|
+
({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, className: clsx21("ds-sheet__header", className), ...props })
|
|
595
595
|
);
|
|
596
596
|
SheetHeader.displayName = "SheetHeader";
|
|
597
|
-
var SheetTitle = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("h2", { ref, className:
|
|
597
|
+
var SheetTitle = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("h2", { ref, className: clsx21("ds-sheet__title", className), ...props }));
|
|
598
598
|
SheetTitle.displayName = "SheetTitle";
|
|
599
|
-
var SheetDescription = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("p", { ref, className:
|
|
599
|
+
var SheetDescription = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("p", { ref, className: clsx21("ds-sheet__description", className), ...props }));
|
|
600
600
|
SheetDescription.displayName = "SheetDescription";
|
|
601
601
|
var SheetFooter = React30.forwardRef(
|
|
602
|
-
({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, className:
|
|
602
|
+
({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, className: clsx21("ds-sheet__footer", className), ...props })
|
|
603
603
|
);
|
|
604
604
|
SheetFooter.displayName = "SheetFooter";
|
|
605
605
|
var AvatarContext = React30.createContext({
|
|
@@ -628,7 +628,7 @@ var Avatar = React30.forwardRef(
|
|
|
628
628
|
"span",
|
|
629
629
|
{
|
|
630
630
|
ref,
|
|
631
|
-
className:
|
|
631
|
+
className: clsx21("ds-avatar", `ds-avatar--${size}`, className),
|
|
632
632
|
...props,
|
|
633
633
|
children
|
|
634
634
|
}
|
|
@@ -647,7 +647,7 @@ var AvatarImage = React30.forwardRef(({ className, onError, ...props }, ref) =>
|
|
|
647
647
|
"img",
|
|
648
648
|
{
|
|
649
649
|
ref,
|
|
650
|
-
className:
|
|
650
|
+
className: clsx21("ds-avatar__image", className),
|
|
651
651
|
onError: handleError,
|
|
652
652
|
...props
|
|
653
653
|
}
|
|
@@ -657,7 +657,7 @@ AvatarImage.displayName = "AvatarImage";
|
|
|
657
657
|
var AvatarFallback = React30.forwardRef(({ className, ...props }, ref) => {
|
|
658
658
|
const { hasImage, imageError } = React30.useContext(AvatarContext);
|
|
659
659
|
if (hasImage && !imageError) return null;
|
|
660
|
-
return /* @__PURE__ */ jsx("span", { ref, className:
|
|
660
|
+
return /* @__PURE__ */ jsx("span", { ref, className: clsx21("ds-avatar__fallback", className), ...props });
|
|
661
661
|
});
|
|
662
662
|
AvatarFallback.displayName = "AvatarFallback";
|
|
663
663
|
var PopoverContext = React30.createContext(null);
|
|
@@ -704,7 +704,7 @@ var PopoverTrigger = React30.forwardRef(
|
|
|
704
704
|
{
|
|
705
705
|
ref,
|
|
706
706
|
type: "button",
|
|
707
|
-
className:
|
|
707
|
+
className: clsx21("ds-popover__trigger", className),
|
|
708
708
|
onClick: handleClick,
|
|
709
709
|
...props
|
|
710
710
|
}
|
|
@@ -720,7 +720,7 @@ var PopoverContent = React30.forwardRef(
|
|
|
720
720
|
"div",
|
|
721
721
|
{
|
|
722
722
|
ref,
|
|
723
|
-
className:
|
|
723
|
+
className: clsx21(
|
|
724
724
|
"ds-popover__content",
|
|
725
725
|
`ds-popover__content--${side}`,
|
|
726
726
|
`ds-popover__content--align-${align}`,
|
|
@@ -743,7 +743,7 @@ var PopoverClose = React30.forwardRef(({ className, onClick, ...props }, ref) =>
|
|
|
743
743
|
{
|
|
744
744
|
ref,
|
|
745
745
|
type: "button",
|
|
746
|
-
className:
|
|
746
|
+
className: clsx21("ds-popover__close", className),
|
|
747
747
|
onClick: handleClick,
|
|
748
748
|
...props
|
|
749
749
|
}
|
|
@@ -761,7 +761,7 @@ var Progress = React30.forwardRef(
|
|
|
761
761
|
"aria-valuenow": value,
|
|
762
762
|
"aria-valuemin": 0,
|
|
763
763
|
"aria-valuemax": max,
|
|
764
|
-
className:
|
|
764
|
+
className: clsx21("ds-progress", className),
|
|
765
765
|
...props,
|
|
766
766
|
children: /* @__PURE__ */ jsx(
|
|
767
767
|
"div",
|
|
@@ -777,7 +777,7 @@ var Progress = React30.forwardRef(
|
|
|
777
777
|
Progress.displayName = "Progress";
|
|
778
778
|
var ScrollArea = React30.forwardRef(
|
|
779
779
|
({ className, children, ...props }, ref) => {
|
|
780
|
-
return /* @__PURE__ */ jsx("div", { ref, className:
|
|
780
|
+
return /* @__PURE__ */ jsx("div", { ref, className: clsx21("ds-scroll-area", className), ...props, children: /* @__PURE__ */ jsx("div", { className: "ds-scroll-area__viewport", children }) });
|
|
781
781
|
}
|
|
782
782
|
);
|
|
783
783
|
ScrollArea.displayName = "ScrollArea";
|
|
@@ -787,7 +787,7 @@ var ScrollBar = React30.forwardRef(
|
|
|
787
787
|
"div",
|
|
788
788
|
{
|
|
789
789
|
ref,
|
|
790
|
-
className:
|
|
790
|
+
className: clsx21(
|
|
791
791
|
"ds-scroll-area__scrollbar",
|
|
792
792
|
`ds-scroll-area__scrollbar--${orientation}`,
|
|
793
793
|
className
|
|
@@ -805,7 +805,7 @@ var Breadcrumb = React30.forwardRef(
|
|
|
805
805
|
{
|
|
806
806
|
ref,
|
|
807
807
|
"aria-label": ariaLabel,
|
|
808
|
-
className:
|
|
808
|
+
className: clsx21("ds-breadcrumb", className),
|
|
809
809
|
...props
|
|
810
810
|
}
|
|
811
811
|
);
|
|
@@ -817,7 +817,7 @@ var BreadcrumbList = React30.forwardRef(({ className, ...props }, ref) => {
|
|
|
817
817
|
"ol",
|
|
818
818
|
{
|
|
819
819
|
ref,
|
|
820
|
-
className:
|
|
820
|
+
className: clsx21("ds-breadcrumb__list", className),
|
|
821
821
|
...props
|
|
822
822
|
}
|
|
823
823
|
);
|
|
@@ -828,7 +828,7 @@ var BreadcrumbItem = React30.forwardRef(({ className, ...props }, ref) => {
|
|
|
828
828
|
"li",
|
|
829
829
|
{
|
|
830
830
|
ref,
|
|
831
|
-
className:
|
|
831
|
+
className: clsx21("ds-breadcrumb__item", className),
|
|
832
832
|
...props
|
|
833
833
|
}
|
|
834
834
|
);
|
|
@@ -840,7 +840,7 @@ var BreadcrumbLink = React30.forwardRef(({ className, asChild = false, ...props
|
|
|
840
840
|
Comp,
|
|
841
841
|
{
|
|
842
842
|
ref,
|
|
843
|
-
className:
|
|
843
|
+
className: clsx21("ds-breadcrumb__link", className),
|
|
844
844
|
...props
|
|
845
845
|
}
|
|
846
846
|
);
|
|
@@ -854,7 +854,7 @@ var BreadcrumbPage = React30.forwardRef(({ className, ...props }, ref) => {
|
|
|
854
854
|
role: "link",
|
|
855
855
|
"aria-current": "page",
|
|
856
856
|
"aria-disabled": "true",
|
|
857
|
-
className:
|
|
857
|
+
className: clsx21("ds-breadcrumb__page", className),
|
|
858
858
|
...props
|
|
859
859
|
}
|
|
860
860
|
);
|
|
@@ -867,7 +867,7 @@ var BreadcrumbSeparator = React30.forwardRef(({ className, children, ...props },
|
|
|
867
867
|
ref,
|
|
868
868
|
role: "presentation",
|
|
869
869
|
"aria-hidden": "true",
|
|
870
|
-
className:
|
|
870
|
+
className: clsx21("ds-breadcrumb__separator", className),
|
|
871
871
|
...props,
|
|
872
872
|
children: children ?? "/"
|
|
873
873
|
}
|
|
@@ -879,7 +879,7 @@ var BreadcrumbEllipsis = React30.forwardRef(({ className, ...props }, ref) => {
|
|
|
879
879
|
"span",
|
|
880
880
|
{
|
|
881
881
|
ref,
|
|
882
|
-
className:
|
|
882
|
+
className: clsx21("ds-breadcrumb__ellipsis", className),
|
|
883
883
|
...props,
|
|
884
884
|
children: "\u2026"
|
|
885
885
|
}
|
|
@@ -912,7 +912,7 @@ var Toggle = React30.forwardRef(
|
|
|
912
912
|
{
|
|
913
913
|
ref,
|
|
914
914
|
type: "button",
|
|
915
|
-
className:
|
|
915
|
+
className: clsx21(
|
|
916
916
|
"ds-toggle",
|
|
917
917
|
`ds-toggle--${variant}`,
|
|
918
918
|
`ds-toggle--${size}`,
|
|
@@ -960,7 +960,7 @@ var ToggleGroup = React30.forwardRef(
|
|
|
960
960
|
{
|
|
961
961
|
ref,
|
|
962
962
|
role: "group",
|
|
963
|
-
className:
|
|
963
|
+
className: clsx21("ds-toggle-group", className),
|
|
964
964
|
...props,
|
|
965
965
|
children
|
|
966
966
|
}
|
|
@@ -981,7 +981,7 @@ var ToggleGroupItem = React30.forwardRef(({ className, value, children, onClick,
|
|
|
981
981
|
ref,
|
|
982
982
|
type: "button",
|
|
983
983
|
"aria-pressed": pressed,
|
|
984
|
-
className:
|
|
984
|
+
className: clsx21(
|
|
985
985
|
"ds-toggle-group__item",
|
|
986
986
|
pressed && "ds-toggle-group__item--pressed",
|
|
987
987
|
className
|
|
@@ -1020,7 +1020,7 @@ var Slider = React30.forwardRef(
|
|
|
1020
1020
|
"div",
|
|
1021
1021
|
{
|
|
1022
1022
|
ref,
|
|
1023
|
-
className:
|
|
1023
|
+
className: clsx21("ds-slider", disabled && "ds-slider--disabled", className),
|
|
1024
1024
|
...props,
|
|
1025
1025
|
children: [
|
|
1026
1026
|
/* @__PURE__ */ jsx("div", { className: "ds-slider__track", children: /* @__PURE__ */ jsx(
|
|
@@ -1081,7 +1081,7 @@ var Collapsible = React30.forwardRef(
|
|
|
1081
1081
|
"div",
|
|
1082
1082
|
{
|
|
1083
1083
|
ref,
|
|
1084
|
-
className:
|
|
1084
|
+
className: clsx21("ds-collapsible", className),
|
|
1085
1085
|
"data-state": open ? "open" : "closed",
|
|
1086
1086
|
...props,
|
|
1087
1087
|
children
|
|
@@ -1101,7 +1101,7 @@ var CollapsibleTrigger = React30.forwardRef(({ className, onClick, ...props }, r
|
|
|
1101
1101
|
{
|
|
1102
1102
|
ref,
|
|
1103
1103
|
type: "button",
|
|
1104
|
-
className:
|
|
1104
|
+
className: clsx21("ds-collapsible__trigger", className),
|
|
1105
1105
|
onClick: handleClick,
|
|
1106
1106
|
...props
|
|
1107
1107
|
}
|
|
@@ -1136,7 +1136,7 @@ var CollapsibleContent = React30.forwardRef(({ className, children, ...props },
|
|
|
1136
1136
|
"div",
|
|
1137
1137
|
{
|
|
1138
1138
|
ref: contentRef,
|
|
1139
|
-
className:
|
|
1139
|
+
className: clsx21("ds-collapsible__content", className),
|
|
1140
1140
|
"data-state": open ? "open" : "closed",
|
|
1141
1141
|
style: {
|
|
1142
1142
|
maxHeight: maxHeight !== void 0 ? `${maxHeight}px` : "none"
|
|
@@ -1199,7 +1199,7 @@ var HoverCardTrigger = React30.forwardRef(({ className, onMouseEnter, onMouseLea
|
|
|
1199
1199
|
"span",
|
|
1200
1200
|
{
|
|
1201
1201
|
ref,
|
|
1202
|
-
className:
|
|
1202
|
+
className: clsx21("ds-hover-card__trigger", className),
|
|
1203
1203
|
onMouseEnter: handleMouseEnter,
|
|
1204
1204
|
onMouseLeave: handleMouseLeave,
|
|
1205
1205
|
...props
|
|
@@ -1223,7 +1223,7 @@ var HoverCardContent = React30.forwardRef(
|
|
|
1223
1223
|
"div",
|
|
1224
1224
|
{
|
|
1225
1225
|
ref,
|
|
1226
|
-
className:
|
|
1226
|
+
className: clsx21(
|
|
1227
1227
|
"ds-hover-card__content",
|
|
1228
1228
|
`ds-hover-card__content--${side}`,
|
|
1229
1229
|
`ds-hover-card__content--align-${align}`,
|
|
@@ -1243,7 +1243,7 @@ var AspectRatio = React30.forwardRef(
|
|
|
1243
1243
|
"div",
|
|
1244
1244
|
{
|
|
1245
1245
|
ref,
|
|
1246
|
-
className:
|
|
1246
|
+
className: clsx21("ds-aspect-ratio", className),
|
|
1247
1247
|
style: { ...style, paddingBottom: `${1 / ratio * 100}%` },
|
|
1248
1248
|
...props,
|
|
1249
1249
|
children
|
|
@@ -1260,7 +1260,7 @@ var Pagination = React30.forwardRef(
|
|
|
1260
1260
|
ref,
|
|
1261
1261
|
role: "navigation",
|
|
1262
1262
|
"aria-label": ariaLabel,
|
|
1263
|
-
className:
|
|
1263
|
+
className: clsx21("ds-pagination", className),
|
|
1264
1264
|
...props
|
|
1265
1265
|
}
|
|
1266
1266
|
);
|
|
@@ -1272,7 +1272,7 @@ var PaginationContent = React30.forwardRef(({ className, ...props }, ref) => {
|
|
|
1272
1272
|
"ul",
|
|
1273
1273
|
{
|
|
1274
1274
|
ref,
|
|
1275
|
-
className:
|
|
1275
|
+
className: clsx21("ds-pagination__content", className),
|
|
1276
1276
|
...props
|
|
1277
1277
|
}
|
|
1278
1278
|
);
|
|
@@ -1283,7 +1283,7 @@ var PaginationItem = React30.forwardRef(({ className, ...props }, ref) => {
|
|
|
1283
1283
|
"li",
|
|
1284
1284
|
{
|
|
1285
1285
|
ref,
|
|
1286
|
-
className:
|
|
1286
|
+
className: clsx21("ds-pagination__item", className),
|
|
1287
1287
|
...props
|
|
1288
1288
|
}
|
|
1289
1289
|
);
|
|
@@ -1296,7 +1296,7 @@ var PaginationLink = React30.forwardRef(({ className, isActive = false, size = "
|
|
|
1296
1296
|
{
|
|
1297
1297
|
ref,
|
|
1298
1298
|
"aria-current": isActive ? "page" : void 0,
|
|
1299
|
-
className:
|
|
1299
|
+
className: clsx21(
|
|
1300
1300
|
"ds-pagination__link",
|
|
1301
1301
|
`ds-pagination__link--${size}`,
|
|
1302
1302
|
isActive && "ds-pagination__link--active",
|
|
@@ -1313,7 +1313,7 @@ var PaginationPrevious = React30.forwardRef(({ className, label = "Previous", "a
|
|
|
1313
1313
|
{
|
|
1314
1314
|
ref,
|
|
1315
1315
|
"aria-label": ariaLabel,
|
|
1316
|
-
className:
|
|
1316
|
+
className: clsx21("ds-pagination__prev", className),
|
|
1317
1317
|
...props,
|
|
1318
1318
|
children: [
|
|
1319
1319
|
/* @__PURE__ */ jsx(
|
|
@@ -1344,7 +1344,7 @@ var PaginationNext = React30.forwardRef(({ className, label = "Next", "aria-labe
|
|
|
1344
1344
|
{
|
|
1345
1345
|
ref,
|
|
1346
1346
|
"aria-label": ariaLabel,
|
|
1347
|
-
className:
|
|
1347
|
+
className: clsx21("ds-pagination__next", className),
|
|
1348
1348
|
...props,
|
|
1349
1349
|
children: [
|
|
1350
1350
|
/* @__PURE__ */ jsx("span", { children: label }),
|
|
@@ -1375,7 +1375,7 @@ var PaginationEllipsis = React30.forwardRef(({ className, ...props }, ref) => {
|
|
|
1375
1375
|
{
|
|
1376
1376
|
ref,
|
|
1377
1377
|
"aria-hidden": "true",
|
|
1378
|
-
className:
|
|
1378
|
+
className: clsx21("ds-pagination__ellipsis", className),
|
|
1379
1379
|
...props,
|
|
1380
1380
|
children: "..."
|
|
1381
1381
|
}
|
|
@@ -1398,7 +1398,7 @@ var Heading = React30.forwardRef(
|
|
|
1398
1398
|
Comp,
|
|
1399
1399
|
{
|
|
1400
1400
|
ref,
|
|
1401
|
-
className:
|
|
1401
|
+
className: clsx21("ds-heading", `ds-heading--${level}`, className),
|
|
1402
1402
|
...props,
|
|
1403
1403
|
children
|
|
1404
1404
|
}
|
|
@@ -1413,7 +1413,7 @@ var Text = React30.forwardRef(
|
|
|
1413
1413
|
Comp,
|
|
1414
1414
|
{
|
|
1415
1415
|
ref,
|
|
1416
|
-
className:
|
|
1416
|
+
className: clsx21("ds-text", `ds-text--${variant}`, className),
|
|
1417
1417
|
...props,
|
|
1418
1418
|
children
|
|
1419
1419
|
}
|
|
@@ -1427,7 +1427,7 @@ var Prose = React30.forwardRef(
|
|
|
1427
1427
|
"div",
|
|
1428
1428
|
{
|
|
1429
1429
|
ref,
|
|
1430
|
-
className:
|
|
1430
|
+
className: clsx21("ds-prose", className),
|
|
1431
1431
|
...props,
|
|
1432
1432
|
children
|
|
1433
1433
|
}
|
|
@@ -1446,7 +1446,7 @@ function useCarouselContext() {
|
|
|
1446
1446
|
var Carousel = React30.forwardRef(
|
|
1447
1447
|
({ className, children, ...props }, ref) => {
|
|
1448
1448
|
const scrollRef = React30.useRef(null);
|
|
1449
|
-
return /* @__PURE__ */ jsx(CarouselContext.Provider, { value: { scrollRef }, children: /* @__PURE__ */ jsx("div", { ref, className:
|
|
1449
|
+
return /* @__PURE__ */ jsx(CarouselContext.Provider, { value: { scrollRef }, children: /* @__PURE__ */ jsx("div", { ref, className: clsx21("ds-carousel", className), ...props, children }) });
|
|
1450
1450
|
}
|
|
1451
1451
|
);
|
|
1452
1452
|
Carousel.displayName = "Carousel";
|
|
@@ -1463,11 +1463,11 @@ var CarouselContent = React30.forwardRef(({ className, ...props }, ref) => {
|
|
|
1463
1463
|
},
|
|
1464
1464
|
[ref, scrollRef]
|
|
1465
1465
|
);
|
|
1466
|
-
return /* @__PURE__ */ jsx("div", { ref: mergedRef, className:
|
|
1466
|
+
return /* @__PURE__ */ jsx("div", { ref: mergedRef, className: clsx21("ds-carousel__content", className), ...props });
|
|
1467
1467
|
});
|
|
1468
1468
|
CarouselContent.displayName = "CarouselContent";
|
|
1469
1469
|
var CarouselItem = React30.forwardRef(
|
|
1470
|
-
({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, className:
|
|
1470
|
+
({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, className: clsx21("ds-carousel__item", className), ...props })
|
|
1471
1471
|
);
|
|
1472
1472
|
CarouselItem.displayName = "CarouselItem";
|
|
1473
1473
|
var CarouselPrevious = React30.forwardRef(({ className, onClick, children, "aria-label": ariaLabel = "Previous slide", ...props }, ref) => {
|
|
@@ -1486,7 +1486,7 @@ var CarouselPrevious = React30.forwardRef(({ className, onClick, children, "aria
|
|
|
1486
1486
|
{
|
|
1487
1487
|
ref,
|
|
1488
1488
|
type: "button",
|
|
1489
|
-
className:
|
|
1489
|
+
className: clsx21("ds-carousel__prev", className),
|
|
1490
1490
|
"aria-label": ariaLabel,
|
|
1491
1491
|
onClick: handleClick,
|
|
1492
1492
|
...props,
|
|
@@ -1520,7 +1520,7 @@ var CarouselNext = React30.forwardRef(({ className, onClick, children, "aria-lab
|
|
|
1520
1520
|
{
|
|
1521
1521
|
ref,
|
|
1522
1522
|
type: "button",
|
|
1523
|
-
className:
|
|
1523
|
+
className: clsx21("ds-carousel__next", className),
|
|
1524
1524
|
"aria-label": ariaLabel,
|
|
1525
1525
|
onClick: handleClick,
|
|
1526
1526
|
...props,
|
|
@@ -1646,7 +1646,7 @@ var Command = React30.forwardRef(
|
|
|
1646
1646
|
"div",
|
|
1647
1647
|
{
|
|
1648
1648
|
ref,
|
|
1649
|
-
className:
|
|
1649
|
+
className: clsx21("ds-command", className),
|
|
1650
1650
|
onKeyDown: handleKeyDown,
|
|
1651
1651
|
...props,
|
|
1652
1652
|
children
|
|
@@ -1697,7 +1697,7 @@ var CommandInput = React30.forwardRef(({ className, onChange, ...props }, ref) =
|
|
|
1697
1697
|
"aria-activedescendant": activeId ?? void 0,
|
|
1698
1698
|
"aria-autocomplete": "list",
|
|
1699
1699
|
autoComplete: "off",
|
|
1700
|
-
className:
|
|
1700
|
+
className: clsx21("ds-command__input", className),
|
|
1701
1701
|
value: search,
|
|
1702
1702
|
onChange: handleChange,
|
|
1703
1703
|
...props
|
|
@@ -1715,7 +1715,7 @@ var CommandList = React30.forwardRef(
|
|
|
1715
1715
|
ref: mergeRefs(ref, listRef),
|
|
1716
1716
|
id: listId,
|
|
1717
1717
|
role: "listbox",
|
|
1718
|
-
className:
|
|
1718
|
+
className: clsx21("ds-command__list", className),
|
|
1719
1719
|
...props
|
|
1720
1720
|
}
|
|
1721
1721
|
);
|
|
@@ -1723,11 +1723,11 @@ var CommandList = React30.forwardRef(
|
|
|
1723
1723
|
);
|
|
1724
1724
|
CommandList.displayName = "CommandList";
|
|
1725
1725
|
var CommandEmpty = React30.forwardRef(
|
|
1726
|
-
({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, className:
|
|
1726
|
+
({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, className: clsx21("ds-command__empty", className), ...props })
|
|
1727
1727
|
);
|
|
1728
1728
|
CommandEmpty.displayName = "CommandEmpty";
|
|
1729
1729
|
var CommandGroup = React30.forwardRef(
|
|
1730
|
-
({ className, heading, children, ...props }, ref) => /* @__PURE__ */ jsxs("div", { ref, className:
|
|
1730
|
+
({ className, heading, children, ...props }, ref) => /* @__PURE__ */ jsxs("div", { ref, className: clsx21("ds-command__group", className), ...props, children: [
|
|
1731
1731
|
heading && /* @__PURE__ */ jsx("div", { className: "ds-command__group-heading", children: heading }),
|
|
1732
1732
|
children
|
|
1733
1733
|
] })
|
|
@@ -1762,7 +1762,7 @@ var CommandItem = React30.forwardRef(
|
|
|
1762
1762
|
tabIndex: 0,
|
|
1763
1763
|
"aria-selected": isActive,
|
|
1764
1764
|
"data-active": isActive || void 0,
|
|
1765
|
-
className:
|
|
1765
|
+
className: clsx21("ds-command__item", className),
|
|
1766
1766
|
onClick: handleClick,
|
|
1767
1767
|
onKeyDown: handleKeyDown,
|
|
1768
1768
|
onPointerEnter: handlePointerEnter,
|
|
@@ -1772,7 +1772,7 @@ var CommandItem = React30.forwardRef(
|
|
|
1772
1772
|
}
|
|
1773
1773
|
);
|
|
1774
1774
|
CommandItem.displayName = "CommandItem";
|
|
1775
|
-
var CommandSeparator = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, className:
|
|
1775
|
+
var CommandSeparator = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, className: clsx21("ds-command__separator", className), ...props }));
|
|
1776
1776
|
CommandSeparator.displayName = "CommandSeparator";
|
|
1777
1777
|
var SIZE_CLASSES = {
|
|
1778
1778
|
sm: "ds-dialog__content--sm",
|
|
@@ -1789,7 +1789,7 @@ var CommandDialog = ({
|
|
|
1789
1789
|
}) => /* @__PURE__ */ jsx(Dialog, { open, onOpenChange, children: /* @__PURE__ */ jsxs(
|
|
1790
1790
|
DialogContent,
|
|
1791
1791
|
{
|
|
1792
|
-
className:
|
|
1792
|
+
className: clsx21("ds-command-dialog", SIZE_CLASSES[size], className),
|
|
1793
1793
|
children: [
|
|
1794
1794
|
/* @__PURE__ */ jsx(DialogTitle, { className: "ds-command-dialog__sr-title", children: title }),
|
|
1795
1795
|
children
|
|
@@ -1858,7 +1858,7 @@ var DrawerContent = React30.forwardRef(
|
|
|
1858
1858
|
{
|
|
1859
1859
|
ref,
|
|
1860
1860
|
role: "dialog",
|
|
1861
|
-
className:
|
|
1861
|
+
className: clsx21("ds-drawer__content", className),
|
|
1862
1862
|
...props,
|
|
1863
1863
|
children: [
|
|
1864
1864
|
/* @__PURE__ */ jsx("div", { className: "ds-drawer__handle", "aria-hidden": "true", children: /* @__PURE__ */ jsx("div", { className: "ds-drawer__handle-bar" }) }),
|
|
@@ -1873,15 +1873,15 @@ var DrawerContent = React30.forwardRef(
|
|
|
1873
1873
|
);
|
|
1874
1874
|
DrawerContent.displayName = "DrawerContent";
|
|
1875
1875
|
var DrawerHeader = React30.forwardRef(
|
|
1876
|
-
({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, className:
|
|
1876
|
+
({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, className: clsx21("ds-drawer__header", className), ...props })
|
|
1877
1877
|
);
|
|
1878
1878
|
DrawerHeader.displayName = "DrawerHeader";
|
|
1879
|
-
var DrawerTitle = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("h2", { ref, className:
|
|
1879
|
+
var DrawerTitle = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("h2", { ref, className: clsx21("ds-drawer__title", className), ...props }));
|
|
1880
1880
|
DrawerTitle.displayName = "DrawerTitle";
|
|
1881
|
-
var DrawerDescription = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("p", { ref, className:
|
|
1881
|
+
var DrawerDescription = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("p", { ref, className: clsx21("ds-drawer__description", className), ...props }));
|
|
1882
1882
|
DrawerDescription.displayName = "DrawerDescription";
|
|
1883
1883
|
var DrawerFooter = React30.forwardRef(
|
|
1884
|
-
({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, className:
|
|
1884
|
+
({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, className: clsx21("ds-drawer__footer", className), ...props })
|
|
1885
1885
|
);
|
|
1886
1886
|
DrawerFooter.displayName = "DrawerFooter";
|
|
1887
1887
|
var DEFAULT_WEEKDAY_LABELS = ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"];
|
|
@@ -1952,7 +1952,7 @@ var Calendar = React30.forwardRef(
|
|
|
1952
1952
|
const handleDayClick = (date) => {
|
|
1953
1953
|
onSelect?.(date);
|
|
1954
1954
|
};
|
|
1955
|
-
return /* @__PURE__ */ jsxs("div", { ref, className:
|
|
1955
|
+
return /* @__PURE__ */ jsxs("div", { ref, className: clsx21("ds-calendar", className), ...props, children: [
|
|
1956
1956
|
/* @__PURE__ */ jsxs("div", { className: "ds-calendar__header", children: [
|
|
1957
1957
|
/* @__PURE__ */ jsx(
|
|
1958
1958
|
"button",
|
|
@@ -2016,7 +2016,7 @@ var Calendar = React30.forwardRef(
|
|
|
2016
2016
|
"button",
|
|
2017
2017
|
{
|
|
2018
2018
|
type: "button",
|
|
2019
|
-
className:
|
|
2019
|
+
className: clsx21(
|
|
2020
2020
|
"ds-calendar__day",
|
|
2021
2021
|
isSelected && "ds-calendar__day--selected",
|
|
2022
2022
|
isToday && "ds-calendar__day--today",
|
|
@@ -2068,7 +2068,7 @@ var InputOTP = React30.forwardRef(
|
|
|
2068
2068
|
"div",
|
|
2069
2069
|
{
|
|
2070
2070
|
ref,
|
|
2071
|
-
className:
|
|
2071
|
+
className: clsx21("ds-input-otp", className),
|
|
2072
2072
|
onClick: handleContainerClick,
|
|
2073
2073
|
...props,
|
|
2074
2074
|
children: [
|
|
@@ -2098,7 +2098,7 @@ var InputOTP = React30.forwardRef(
|
|
|
2098
2098
|
);
|
|
2099
2099
|
InputOTP.displayName = "InputOTP";
|
|
2100
2100
|
var InputOTPGroup = React30.forwardRef(({ className, ...props }, ref) => {
|
|
2101
|
-
return /* @__PURE__ */ jsx("div", { ref, className:
|
|
2101
|
+
return /* @__PURE__ */ jsx("div", { ref, className: clsx21("ds-input-otp__group", className), ...props });
|
|
2102
2102
|
});
|
|
2103
2103
|
InputOTPGroup.displayName = "InputOTPGroup";
|
|
2104
2104
|
var InputOTPSlot = React30.forwardRef(
|
|
@@ -2111,7 +2111,7 @@ var InputOTPSlot = React30.forwardRef(
|
|
|
2111
2111
|
"div",
|
|
2112
2112
|
{
|
|
2113
2113
|
ref,
|
|
2114
|
-
className:
|
|
2114
|
+
className: clsx21(
|
|
2115
2115
|
"ds-input-otp__slot",
|
|
2116
2116
|
isActive && "ds-input-otp__slot--active",
|
|
2117
2117
|
isFilled && "ds-input-otp__slot--filled",
|
|
@@ -2125,7 +2125,7 @@ var InputOTPSlot = React30.forwardRef(
|
|
|
2125
2125
|
);
|
|
2126
2126
|
InputOTPSlot.displayName = "InputOTPSlot";
|
|
2127
2127
|
var InputOTPSeparator = React30.forwardRef(({ className, ...props }, ref) => {
|
|
2128
|
-
return /* @__PURE__ */ jsx("div", { ref, className:
|
|
2128
|
+
return /* @__PURE__ */ jsx("div", { ref, className: clsx21("ds-input-otp__separator", className), role: "separator", ...props, children: /* @__PURE__ */ jsx(
|
|
2129
2129
|
"svg",
|
|
2130
2130
|
{
|
|
2131
2131
|
width: "8",
|
|
@@ -2173,7 +2173,7 @@ var ContextMenuTrigger = React30.forwardRef(({ className, onContextMenu, ...prop
|
|
|
2173
2173
|
"div",
|
|
2174
2174
|
{
|
|
2175
2175
|
ref,
|
|
2176
|
-
className:
|
|
2176
|
+
className: clsx21("ds-context-menu__trigger", className),
|
|
2177
2177
|
onContextMenu: handleContextMenu,
|
|
2178
2178
|
...props
|
|
2179
2179
|
}
|
|
@@ -2220,7 +2220,7 @@ var ContextMenuContent = React30.forwardRef(({ className, ...props }, ref) => {
|
|
|
2220
2220
|
{
|
|
2221
2221
|
ref: mergedRef,
|
|
2222
2222
|
role: "menu",
|
|
2223
|
-
className:
|
|
2223
|
+
className: clsx21("ds-context-menu__content", className),
|
|
2224
2224
|
style: { top: position.y, left: position.x },
|
|
2225
2225
|
...props
|
|
2226
2226
|
}
|
|
@@ -2242,7 +2242,7 @@ var ContextMenuItem = React30.forwardRef(
|
|
|
2242
2242
|
{
|
|
2243
2243
|
ref,
|
|
2244
2244
|
role: "menuitem",
|
|
2245
|
-
className:
|
|
2245
|
+
className: clsx21("ds-context-menu__item", className),
|
|
2246
2246
|
onClick: handleClick,
|
|
2247
2247
|
...props
|
|
2248
2248
|
}
|
|
@@ -2256,7 +2256,7 @@ var ContextMenuSeparator = React30.forwardRef(({ className, ...props }, ref) =>
|
|
|
2256
2256
|
{
|
|
2257
2257
|
ref,
|
|
2258
2258
|
role: "separator",
|
|
2259
|
-
className:
|
|
2259
|
+
className: clsx21("ds-context-menu__separator", className),
|
|
2260
2260
|
...props
|
|
2261
2261
|
}
|
|
2262
2262
|
);
|
|
@@ -2267,7 +2267,7 @@ var ContextMenuLabel = React30.forwardRef(({ className, ...props }, ref) => {
|
|
|
2267
2267
|
"div",
|
|
2268
2268
|
{
|
|
2269
2269
|
ref,
|
|
2270
|
-
className:
|
|
2270
|
+
className: clsx21("ds-context-menu__label", className),
|
|
2271
2271
|
...props
|
|
2272
2272
|
}
|
|
2273
2273
|
);
|
|
@@ -2307,7 +2307,7 @@ var FormItem = React30.forwardRef(
|
|
|
2307
2307
|
({ className, ...props }, ref) => {
|
|
2308
2308
|
const id = React30.useId();
|
|
2309
2309
|
const contextValue = React30.useMemo(() => ({ id }), [id]);
|
|
2310
|
-
return /* @__PURE__ */ jsx(FormItemContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsx("div", { ref, className:
|
|
2310
|
+
return /* @__PURE__ */ jsx(FormItemContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsx("div", { ref, className: clsx21("ds-form__item", className), ...props }) });
|
|
2311
2311
|
}
|
|
2312
2312
|
);
|
|
2313
2313
|
FormItem.displayName = "FormItem";
|
|
@@ -2319,7 +2319,7 @@ var FormLabel = React30.forwardRef(({ className, ...props }, ref) => {
|
|
|
2319
2319
|
{
|
|
2320
2320
|
ref,
|
|
2321
2321
|
htmlFor: fieldCtx?.id,
|
|
2322
|
-
className:
|
|
2322
|
+
className: clsx21("ds-form__label", hasError && "ds-form__label--error", className),
|
|
2323
2323
|
...props
|
|
2324
2324
|
}
|
|
2325
2325
|
);
|
|
@@ -2331,7 +2331,7 @@ var FormControl = React30.forwardRef(
|
|
|
2331
2331
|
const descriptionId = fieldCtx ? `${fieldCtx.id}-description` : void 0;
|
|
2332
2332
|
const messageId = fieldCtx ? `${fieldCtx.id}-message` : void 0;
|
|
2333
2333
|
const hasError = !!fieldCtx?.error;
|
|
2334
|
-
return /* @__PURE__ */ jsx("div", { ref, className:
|
|
2334
|
+
return /* @__PURE__ */ jsx("div", { ref, className: clsx21("ds-form__control", className), ...props, children: React30.isValidElement(children) ? React30.cloneElement(children, {
|
|
2335
2335
|
id: fieldCtx?.id,
|
|
2336
2336
|
"aria-describedby": descriptionId,
|
|
2337
2337
|
"aria-invalid": hasError || void 0,
|
|
@@ -2347,7 +2347,7 @@ var FormDescription = React30.forwardRef(({ className, ...props }, ref) => {
|
|
|
2347
2347
|
{
|
|
2348
2348
|
ref,
|
|
2349
2349
|
id: fieldCtx ? `${fieldCtx.id}-description` : void 0,
|
|
2350
|
-
className:
|
|
2350
|
+
className: clsx21("ds-form__description", className),
|
|
2351
2351
|
...props
|
|
2352
2352
|
}
|
|
2353
2353
|
);
|
|
@@ -2363,7 +2363,7 @@ var FormMessage = React30.forwardRef(({ className, children, ...props }, ref) =>
|
|
|
2363
2363
|
ref,
|
|
2364
2364
|
id: fieldCtx ? `${fieldCtx.id}-message` : void 0,
|
|
2365
2365
|
role: "alert",
|
|
2366
|
-
className:
|
|
2366
|
+
className: clsx21("ds-form__message", className),
|
|
2367
2367
|
...props,
|
|
2368
2368
|
children: message
|
|
2369
2369
|
}
|
|
@@ -2444,7 +2444,7 @@ var Box = forwardRef(
|
|
|
2444
2444
|
Component,
|
|
2445
2445
|
{
|
|
2446
2446
|
ref,
|
|
2447
|
-
className:
|
|
2447
|
+
className: clsx21("ds-box", className),
|
|
2448
2448
|
style: { ...spacingStyles, ...style },
|
|
2449
2449
|
...domProps,
|
|
2450
2450
|
children
|
|
@@ -2459,7 +2459,7 @@ var Stack = forwardRef(
|
|
|
2459
2459
|
Box,
|
|
2460
2460
|
{
|
|
2461
2461
|
ref,
|
|
2462
|
-
className:
|
|
2462
|
+
className: clsx21("ds-stack", direction === "row" && "ds-stack--horizontal", className),
|
|
2463
2463
|
style: {
|
|
2464
2464
|
alignItems: align,
|
|
2465
2465
|
justifyContent: justify === "between" ? "space-between" : justify,
|
|
@@ -2480,7 +2480,7 @@ var Grid = forwardRef(
|
|
|
2480
2480
|
Box,
|
|
2481
2481
|
{
|
|
2482
2482
|
ref,
|
|
2483
|
-
className:
|
|
2483
|
+
className: clsx21(
|
|
2484
2484
|
"ds-grid",
|
|
2485
2485
|
useColClass && `ds-grid--cols-${columns}`,
|
|
2486
2486
|
fixed && "ds-grid--fixed",
|
|
@@ -2524,7 +2524,7 @@ var Container = forwardRef(
|
|
|
2524
2524
|
Box,
|
|
2525
2525
|
{
|
|
2526
2526
|
ref,
|
|
2527
|
-
className:
|
|
2527
|
+
className: clsx21("ds-container", className),
|
|
2528
2528
|
style: {
|
|
2529
2529
|
maxWidth: resolvedMaxWidth,
|
|
2530
2530
|
...style
|
|
@@ -2541,7 +2541,7 @@ var Section = forwardRef(
|
|
|
2541
2541
|
"section",
|
|
2542
2542
|
{
|
|
2543
2543
|
ref,
|
|
2544
|
-
className:
|
|
2544
|
+
className: clsx21("ds-section-block", `ds-section-block--${padding}`, className),
|
|
2545
2545
|
...props,
|
|
2546
2546
|
children
|
|
2547
2547
|
}
|
|
@@ -2551,87 +2551,16 @@ var Section = forwardRef(
|
|
|
2551
2551
|
Section.displayName = "Section";
|
|
2552
2552
|
var VisuallyHidden = forwardRef(
|
|
2553
2553
|
({ className, ...props }, ref) => {
|
|
2554
|
-
return /* @__PURE__ */ jsx("span", { ref, className:
|
|
2554
|
+
return /* @__PURE__ */ jsx("span", { ref, className: clsx21("ds-visually-hidden", className), ...props });
|
|
2555
2555
|
}
|
|
2556
2556
|
);
|
|
2557
2557
|
VisuallyHidden.displayName = "VisuallyHidden";
|
|
2558
|
-
var NavbarBrand = forwardRef(
|
|
2559
|
-
({ as: Component = "a", className, children, ...props }, ref) => {
|
|
2560
|
-
return /* @__PURE__ */ jsx(Component, { ref, className: clsx44("ds-navbar__brand", className), ...props, children });
|
|
2561
|
-
}
|
|
2562
|
-
);
|
|
2563
|
-
NavbarBrand.displayName = "NavbarBrand";
|
|
2564
|
-
var NavbarContent = forwardRef(
|
|
2565
|
-
({ className, children, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, className: clsx44("ds-navbar__content", className), ...props, children })
|
|
2566
|
-
);
|
|
2567
|
-
NavbarContent.displayName = "NavbarContent";
|
|
2568
|
-
var NavbarItem = forwardRef(
|
|
2569
|
-
({ as: Component = "a", className, active, children, ...props }, ref) => {
|
|
2570
|
-
return /* @__PURE__ */ jsx(
|
|
2571
|
-
Component,
|
|
2572
|
-
{
|
|
2573
|
-
ref,
|
|
2574
|
-
className: clsx44("ds-navbar__item", active && "ds-navbar__item--active", className),
|
|
2575
|
-
"aria-current": active ? "page" : void 0,
|
|
2576
|
-
...props,
|
|
2577
|
-
children
|
|
2578
|
-
}
|
|
2579
|
-
);
|
|
2580
|
-
}
|
|
2581
|
-
);
|
|
2582
|
-
NavbarItem.displayName = "NavbarItem";
|
|
2583
|
-
var NavbarActions = forwardRef(
|
|
2584
|
-
({ className, children, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, className: clsx44("ds-navbar__actions", className), ...props, children })
|
|
2585
|
-
);
|
|
2586
|
-
NavbarActions.displayName = "NavbarActions";
|
|
2587
|
-
var SearchIcon = () => /* @__PURE__ */ jsxs(
|
|
2588
|
-
"svg",
|
|
2589
|
-
{
|
|
2590
|
-
width: "14",
|
|
2591
|
-
height: "14",
|
|
2592
|
-
viewBox: "0 0 24 24",
|
|
2593
|
-
fill: "none",
|
|
2594
|
-
stroke: "currentColor",
|
|
2595
|
-
strokeWidth: "2",
|
|
2596
|
-
strokeLinecap: "round",
|
|
2597
|
-
strokeLinejoin: "round",
|
|
2598
|
-
"aria-hidden": "true",
|
|
2599
|
-
children: [
|
|
2600
|
-
/* @__PURE__ */ jsx("circle", { cx: "11", cy: "11", r: "8" }),
|
|
2601
|
-
/* @__PURE__ */ jsx("path", { d: "M21 21l-4.35-4.35" })
|
|
2602
|
-
]
|
|
2603
|
-
}
|
|
2604
|
-
);
|
|
2605
|
-
var NavbarSearchTrigger = forwardRef(
|
|
2606
|
-
({
|
|
2607
|
-
className,
|
|
2608
|
-
placeholder = "Search...",
|
|
2609
|
-
shortcut = "\u2318K",
|
|
2610
|
-
hideShortcut = false,
|
|
2611
|
-
...props
|
|
2612
|
-
}, ref) => /* @__PURE__ */ jsxs(
|
|
2613
|
-
"button",
|
|
2614
|
-
{
|
|
2615
|
-
ref,
|
|
2616
|
-
type: "button",
|
|
2617
|
-
className: clsx44("ds-navbar__search-trigger", className),
|
|
2618
|
-
"aria-label": `Search. Press ${shortcut} to open.`,
|
|
2619
|
-
...props,
|
|
2620
|
-
children: [
|
|
2621
|
-
/* @__PURE__ */ jsx("span", { className: "ds-navbar__search-trigger-icon", children: /* @__PURE__ */ jsx(SearchIcon, {}) }),
|
|
2622
|
-
/* @__PURE__ */ jsx("span", { className: "ds-navbar__search-trigger-placeholder", children: placeholder }),
|
|
2623
|
-
!hideShortcut && /* @__PURE__ */ jsx("span", { className: "ds-navbar__search-trigger-shortcut", "aria-hidden": "true", children: shortcut })
|
|
2624
|
-
]
|
|
2625
|
-
}
|
|
2626
|
-
)
|
|
2627
|
-
);
|
|
2628
|
-
NavbarSearchTrigger.displayName = "NavbarSearchTrigger";
|
|
2629
2558
|
var NavbarMobileNavItem = forwardRef(
|
|
2630
2559
|
({ as: Component = "a", className, active, children, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
2631
2560
|
Component,
|
|
2632
2561
|
{
|
|
2633
2562
|
ref,
|
|
2634
|
-
className:
|
|
2563
|
+
className: clsx21(
|
|
2635
2564
|
"ds-navbar__mobile-nav-item",
|
|
2636
2565
|
active && "ds-navbar__mobile-nav-item--active",
|
|
2637
2566
|
className
|
|
@@ -2644,144 +2573,13 @@ var NavbarMobileNavItem = forwardRef(
|
|
|
2644
2573
|
);
|
|
2645
2574
|
NavbarMobileNavItem.displayName = "NavbarMobileNavItem";
|
|
2646
2575
|
function NavbarMobileSeparator({ className }) {
|
|
2647
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
2576
|
+
return /* @__PURE__ */ jsx("div", { className: clsx21("ds-navbar__mobile-separator", className), role: "separator" });
|
|
2648
2577
|
}
|
|
2649
2578
|
NavbarMobileSeparator.displayName = "NavbarMobileSeparator";
|
|
2650
2579
|
var NavbarMobileActions = forwardRef(
|
|
2651
|
-
({ className, children, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, className:
|
|
2580
|
+
({ className, children, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, className: clsx21("ds-navbar__mobile-actions", className), ...props, children })
|
|
2652
2581
|
);
|
|
2653
2582
|
NavbarMobileActions.displayName = "NavbarMobileActions";
|
|
2654
|
-
var MOBILE_PANEL_VARIANTS = {
|
|
2655
|
-
hidden: {
|
|
2656
|
-
opacity: 0,
|
|
2657
|
-
y: -12,
|
|
2658
|
-
transition: { duration: 0.2, ease: [0.4, 0, 1, 1] }
|
|
2659
|
-
},
|
|
2660
|
-
visible: {
|
|
2661
|
-
opacity: 1,
|
|
2662
|
-
y: 0,
|
|
2663
|
-
transition: { duration: 0.25, ease: [0.2, 0.8, 0.2, 1] }
|
|
2664
|
-
}
|
|
2665
|
-
};
|
|
2666
|
-
var Navbar = forwardRef(
|
|
2667
|
-
({
|
|
2668
|
-
className,
|
|
2669
|
-
isBordered = true,
|
|
2670
|
-
isSticky = true,
|
|
2671
|
-
onMenuOpenChange,
|
|
2672
|
-
isMenuOpen,
|
|
2673
|
-
mobileContent,
|
|
2674
|
-
mobileToggleLabels,
|
|
2675
|
-
children,
|
|
2676
|
-
...props
|
|
2677
|
-
}, ref) => {
|
|
2678
|
-
const [internalMenuOpen, setInternalMenuOpen] = useState(false);
|
|
2679
|
-
const isMobileMenuOpen = isMenuOpen !== void 0 ? isMenuOpen : internalMenuOpen;
|
|
2680
|
-
const openLabel = mobileToggleLabels?.open ?? "Open menu";
|
|
2681
|
-
const closeLabel = mobileToggleLabels?.close ?? "Close menu";
|
|
2682
|
-
const handleToggle = () => {
|
|
2683
|
-
const newState = !isMobileMenuOpen;
|
|
2684
|
-
setInternalMenuOpen(newState);
|
|
2685
|
-
onMenuOpenChange?.(newState);
|
|
2686
|
-
};
|
|
2687
|
-
useEffect(() => {
|
|
2688
|
-
if (isMobileMenuOpen) {
|
|
2689
|
-
document.body.style.overflow = "hidden";
|
|
2690
|
-
return () => {
|
|
2691
|
-
document.body.style.overflow = "";
|
|
2692
|
-
};
|
|
2693
|
-
}
|
|
2694
|
-
}, [isMobileMenuOpen]);
|
|
2695
|
-
useEffect(() => {
|
|
2696
|
-
if (!isMobileMenuOpen) return;
|
|
2697
|
-
const handleEscape = (e) => {
|
|
2698
|
-
if (e.key === "Escape") {
|
|
2699
|
-
setInternalMenuOpen(false);
|
|
2700
|
-
onMenuOpenChange?.(false);
|
|
2701
|
-
}
|
|
2702
|
-
};
|
|
2703
|
-
document.addEventListener("keydown", handleEscape);
|
|
2704
|
-
return () => document.removeEventListener("keydown", handleEscape);
|
|
2705
|
-
}, [isMobileMenuOpen, onMenuOpenChange]);
|
|
2706
|
-
return /* @__PURE__ */ jsxs(
|
|
2707
|
-
"nav",
|
|
2708
|
-
{
|
|
2709
|
-
ref,
|
|
2710
|
-
className: clsx44(
|
|
2711
|
-
"ds-navbar",
|
|
2712
|
-
isSticky && "ds-navbar--sticky",
|
|
2713
|
-
className
|
|
2714
|
-
),
|
|
2715
|
-
style: {
|
|
2716
|
-
borderBottom: isBordered ? void 0 : "none",
|
|
2717
|
-
position: isSticky ? "sticky" : "relative"
|
|
2718
|
-
},
|
|
2719
|
-
...props,
|
|
2720
|
-
children: [
|
|
2721
|
-
children,
|
|
2722
|
-
/* @__PURE__ */ jsx(
|
|
2723
|
-
"button",
|
|
2724
|
-
{
|
|
2725
|
-
className: "ds-navbar__toggle",
|
|
2726
|
-
onClick: handleToggle,
|
|
2727
|
-
"aria-label": isMobileMenuOpen ? closeLabel : openLabel,
|
|
2728
|
-
"aria-expanded": isMobileMenuOpen,
|
|
2729
|
-
children: isMobileMenuOpen ? /* @__PURE__ */ jsxs(
|
|
2730
|
-
"svg",
|
|
2731
|
-
{
|
|
2732
|
-
width: "24",
|
|
2733
|
-
height: "24",
|
|
2734
|
-
viewBox: "0 0 24 24",
|
|
2735
|
-
fill: "none",
|
|
2736
|
-
stroke: "currentColor",
|
|
2737
|
-
strokeWidth: "2",
|
|
2738
|
-
strokeLinecap: "round",
|
|
2739
|
-
strokeLinejoin: "round",
|
|
2740
|
-
children: [
|
|
2741
|
-
/* @__PURE__ */ jsx("line", { x1: "18", y1: "6", x2: "6", y2: "18" }),
|
|
2742
|
-
/* @__PURE__ */ jsx("line", { x1: "6", y1: "6", x2: "18", y2: "18" })
|
|
2743
|
-
]
|
|
2744
|
-
}
|
|
2745
|
-
) : /* @__PURE__ */ jsxs(
|
|
2746
|
-
"svg",
|
|
2747
|
-
{
|
|
2748
|
-
width: "24",
|
|
2749
|
-
height: "24",
|
|
2750
|
-
viewBox: "0 0 24 24",
|
|
2751
|
-
fill: "none",
|
|
2752
|
-
stroke: "currentColor",
|
|
2753
|
-
strokeWidth: "2",
|
|
2754
|
-
strokeLinecap: "round",
|
|
2755
|
-
strokeLinejoin: "round",
|
|
2756
|
-
children: [
|
|
2757
|
-
/* @__PURE__ */ jsx("line", { x1: "3", y1: "12", x2: "21", y2: "12" }),
|
|
2758
|
-
/* @__PURE__ */ jsx("line", { x1: "3", y1: "6", x2: "21", y2: "6" }),
|
|
2759
|
-
/* @__PURE__ */ jsx("line", { x1: "3", y1: "18", x2: "21", y2: "18" })
|
|
2760
|
-
]
|
|
2761
|
-
}
|
|
2762
|
-
)
|
|
2763
|
-
}
|
|
2764
|
-
),
|
|
2765
|
-
/* @__PURE__ */ jsx(AnimatePresence, { children: isMobileMenuOpen && /* @__PURE__ */ jsx(
|
|
2766
|
-
motion.div,
|
|
2767
|
-
{
|
|
2768
|
-
className: "ds-navbar__mobile-overlay",
|
|
2769
|
-
variants: MOBILE_PANEL_VARIANTS,
|
|
2770
|
-
initial: "hidden",
|
|
2771
|
-
animate: "visible",
|
|
2772
|
-
exit: "hidden",
|
|
2773
|
-
role: "dialog",
|
|
2774
|
-
"aria-modal": "true",
|
|
2775
|
-
"aria-label": closeLabel,
|
|
2776
|
-
children: /* @__PURE__ */ jsx("div", { className: "ds-navbar__mobile-content", children: mobileContent })
|
|
2777
|
-
}
|
|
2778
|
-
) })
|
|
2779
|
-
]
|
|
2780
|
-
}
|
|
2781
|
-
);
|
|
2782
|
-
}
|
|
2783
|
-
);
|
|
2784
|
-
Navbar.displayName = "Navbar";
|
|
2785
2583
|
var ChevronDown = () => /* @__PURE__ */ jsx("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ jsx(
|
|
2786
2584
|
"path",
|
|
2787
2585
|
{
|
|
@@ -2792,55 +2590,6 @@ var ChevronDown = () => /* @__PURE__ */ jsx("svg", { width: "16", height: "16",
|
|
|
2792
2590
|
strokeLinejoin: "round"
|
|
2793
2591
|
}
|
|
2794
2592
|
) });
|
|
2795
|
-
var EASE_OUT = [0.2, 0.8, 0.2, 1];
|
|
2796
|
-
var EASE_IN = [0.4, 0, 1, 1];
|
|
2797
|
-
var panelVariants = {
|
|
2798
|
-
hidden: {
|
|
2799
|
-
opacity: 0,
|
|
2800
|
-
y: -8,
|
|
2801
|
-
scale: 0.995
|
|
2802
|
-
},
|
|
2803
|
-
visible: {
|
|
2804
|
-
opacity: 1,
|
|
2805
|
-
y: 0,
|
|
2806
|
-
scale: 1,
|
|
2807
|
-
transition: {
|
|
2808
|
-
duration: 0.25,
|
|
2809
|
-
ease: EASE_OUT,
|
|
2810
|
-
staggerChildren: 0.04,
|
|
2811
|
-
delayChildren: 0.06
|
|
2812
|
-
}
|
|
2813
|
-
},
|
|
2814
|
-
exit: {
|
|
2815
|
-
opacity: 0,
|
|
2816
|
-
y: -6,
|
|
2817
|
-
scale: 0.995,
|
|
2818
|
-
transition: {
|
|
2819
|
-
duration: 0.15,
|
|
2820
|
-
ease: EASE_IN
|
|
2821
|
-
}
|
|
2822
|
-
}
|
|
2823
|
-
};
|
|
2824
|
-
var itemVariants = {
|
|
2825
|
-
hidden: {
|
|
2826
|
-
opacity: 0,
|
|
2827
|
-
y: 8,
|
|
2828
|
-
filter: "blur(4px)"
|
|
2829
|
-
},
|
|
2830
|
-
visible: {
|
|
2831
|
-
opacity: 1,
|
|
2832
|
-
y: 0,
|
|
2833
|
-
filter: "blur(0px)",
|
|
2834
|
-
transition: {
|
|
2835
|
-
duration: 0.3,
|
|
2836
|
-
ease: EASE_OUT
|
|
2837
|
-
}
|
|
2838
|
-
},
|
|
2839
|
-
exit: {
|
|
2840
|
-
opacity: 0,
|
|
2841
|
-
transition: { duration: 0.1 }
|
|
2842
|
-
}
|
|
2843
|
-
};
|
|
2844
2593
|
var NavbarMegaMenu = forwardRef(
|
|
2845
2594
|
({ trigger, children, className, isOpen: controlledOpen, onOpenChange, variant = "fullWidth" }, ref) => {
|
|
2846
2595
|
const [internalOpen, setInternalOpen] = useState(false);
|
|
@@ -2911,7 +2660,7 @@ var NavbarMegaMenu = forwardRef(
|
|
|
2911
2660
|
return /* @__PURE__ */ jsxs(
|
|
2912
2661
|
"div",
|
|
2913
2662
|
{
|
|
2914
|
-
className:
|
|
2663
|
+
className: clsx21("ds-navbar-mega-menu", `ds-navbar-mega-menu--${variant}`, className),
|
|
2915
2664
|
ref,
|
|
2916
2665
|
onMouseEnter: handleMouseEnter,
|
|
2917
2666
|
onMouseLeave: handleMouseLeave,
|
|
@@ -2927,31 +2676,27 @@ var NavbarMegaMenu = forwardRef(
|
|
|
2927
2676
|
children: [
|
|
2928
2677
|
trigger,
|
|
2929
2678
|
/* @__PURE__ */ jsx(
|
|
2930
|
-
|
|
2679
|
+
"span",
|
|
2931
2680
|
{
|
|
2932
2681
|
className: "ds-navbar-mega-menu__chevron",
|
|
2933
|
-
|
|
2934
|
-
transition: { duration: 0.2, ease: EASE_OUT },
|
|
2682
|
+
"data-state": isOpen ? "open" : "closed",
|
|
2935
2683
|
children: /* @__PURE__ */ jsx(ChevronDown, {})
|
|
2936
2684
|
}
|
|
2937
2685
|
)
|
|
2938
2686
|
]
|
|
2939
2687
|
}
|
|
2940
2688
|
),
|
|
2941
|
-
/* @__PURE__ */ jsx("div", { ref: containerRef, children: /* @__PURE__ */ jsx(
|
|
2942
|
-
|
|
2689
|
+
/* @__PURE__ */ jsx("div", { ref: containerRef, children: /* @__PURE__ */ jsx(
|
|
2690
|
+
"div",
|
|
2943
2691
|
{
|
|
2944
|
-
className:
|
|
2692
|
+
className: clsx21(
|
|
2945
2693
|
"ds-navbar-mega-menu__content",
|
|
2946
2694
|
`ds-navbar-mega-menu__content--${variant}`
|
|
2947
2695
|
),
|
|
2948
|
-
|
|
2949
|
-
initial: "hidden",
|
|
2950
|
-
animate: "visible",
|
|
2951
|
-
exit: "exit",
|
|
2696
|
+
"data-state": isOpen ? "open" : "closed",
|
|
2952
2697
|
children: variant === "fullWidth" ? /* @__PURE__ */ jsx(Container, { children }) : children
|
|
2953
2698
|
}
|
|
2954
|
-
) })
|
|
2699
|
+
) })
|
|
2955
2700
|
]
|
|
2956
2701
|
}
|
|
2957
2702
|
);
|
|
@@ -2959,7 +2704,7 @@ var NavbarMegaMenu = forwardRef(
|
|
|
2959
2704
|
);
|
|
2960
2705
|
NavbarMegaMenu.displayName = "NavbarMegaMenu";
|
|
2961
2706
|
function NavbarMegaMenuSection({ heading, children, className }) {
|
|
2962
|
-
return /* @__PURE__ */ jsxs(
|
|
2707
|
+
return /* @__PURE__ */ jsxs("div", { className: clsx21("ds-navbar-mega-menu__section", className), children: [
|
|
2963
2708
|
heading && /* @__PURE__ */ jsx("p", { className: "ds-navbar-mega-menu__section-heading", children: heading }),
|
|
2964
2709
|
/* @__PURE__ */ jsx("div", { className: "ds-navbar-mega-menu__section-items", children })
|
|
2965
2710
|
] });
|
|
@@ -2967,11 +2712,11 @@ function NavbarMegaMenuSection({ heading, children, className }) {
|
|
|
2967
2712
|
NavbarMegaMenuSection.displayName = "NavbarMegaMenuSection";
|
|
2968
2713
|
var NavbarMegaMenuItem = forwardRef(
|
|
2969
2714
|
({ icon, label, description, className, as: Comp = "a", ...rest }, ref) => {
|
|
2970
|
-
return /* @__PURE__ */ jsx(
|
|
2715
|
+
return /* @__PURE__ */ jsx("div", { className: "ds-navbar-mega-menu__item-wrapper", children: /* @__PURE__ */ jsxs(
|
|
2971
2716
|
Comp,
|
|
2972
2717
|
{
|
|
2973
2718
|
ref,
|
|
2974
|
-
className:
|
|
2719
|
+
className: clsx21("ds-navbar-mega-menu__item", className),
|
|
2975
2720
|
...rest,
|
|
2976
2721
|
children: [
|
|
2977
2722
|
icon && /* @__PURE__ */ jsx("span", { className: "ds-navbar-mega-menu__item-icon", children: icon }),
|
|
@@ -2985,8 +2730,6 @@ var NavbarMegaMenuItem = forwardRef(
|
|
|
2985
2730
|
}
|
|
2986
2731
|
);
|
|
2987
2732
|
NavbarMegaMenuItem.displayName = "NavbarMegaMenuItem";
|
|
2988
|
-
var EASE_OUT2 = [0.2, 0.8, 0.2, 1];
|
|
2989
|
-
var EASE_IN2 = [0.4, 0, 1, 1];
|
|
2990
2733
|
var ChevronDown2 = () => /* @__PURE__ */ jsx("svg", { width: "8", height: "8", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ jsx(
|
|
2991
2734
|
"path",
|
|
2992
2735
|
{
|
|
@@ -3039,18 +2782,6 @@ function useFocusTrap(containerRef, active) {
|
|
|
3039
2782
|
return () => container.removeEventListener("keydown", handleKeyDown);
|
|
3040
2783
|
}, [active, containerRef]);
|
|
3041
2784
|
}
|
|
3042
|
-
var MOBILE_OVERLAY_VARIANTS = {
|
|
3043
|
-
hidden: {
|
|
3044
|
-
opacity: 0,
|
|
3045
|
-
y: -12,
|
|
3046
|
-
transition: { duration: 0.2, ease: EASE_IN2 }
|
|
3047
|
-
},
|
|
3048
|
-
visible: {
|
|
3049
|
-
opacity: 1,
|
|
3050
|
-
y: 0,
|
|
3051
|
-
transition: { duration: 0.25, ease: EASE_OUT2 }
|
|
3052
|
-
}
|
|
3053
|
-
};
|
|
3054
2785
|
var HYSTERESIS_RATIO = 0.25;
|
|
3055
2786
|
var NavbarV2 = forwardRef(
|
|
3056
2787
|
({
|
|
@@ -3140,7 +2871,7 @@ var NavbarV2 = forwardRef(
|
|
|
3140
2871
|
"nav",
|
|
3141
2872
|
{
|
|
3142
2873
|
ref: mergedRef,
|
|
3143
|
-
className:
|
|
2874
|
+
className: clsx21(
|
|
3144
2875
|
"ds-navbar-v2",
|
|
3145
2876
|
isScrolled && "ds-navbar-v2--scrolled",
|
|
3146
2877
|
className
|
|
@@ -3193,22 +2924,19 @@ var NavbarV2 = forwardRef(
|
|
|
3193
2924
|
}
|
|
3194
2925
|
)
|
|
3195
2926
|
] }),
|
|
3196
|
-
/* @__PURE__ */ jsx(
|
|
3197
|
-
|
|
2927
|
+
/* @__PURE__ */ jsx(
|
|
2928
|
+
"div",
|
|
3198
2929
|
{
|
|
3199
2930
|
ref: overlayRef,
|
|
3200
2931
|
className: "ds-navbar-v2__mobile-overlay",
|
|
3201
2932
|
style: { top: navHeight },
|
|
3202
|
-
|
|
3203
|
-
initial: "hidden",
|
|
3204
|
-
animate: "visible",
|
|
3205
|
-
exit: "hidden",
|
|
2933
|
+
"data-state": isMobileMenuOpen ? "open" : "closed",
|
|
3206
2934
|
role: "dialog",
|
|
3207
2935
|
"aria-modal": "true",
|
|
3208
2936
|
"aria-label": closeLabel,
|
|
3209
2937
|
children: /* @__PURE__ */ jsx("div", { className: "ds-navbar-v2__mobile-content", children: mobileContent })
|
|
3210
2938
|
}
|
|
3211
|
-
)
|
|
2939
|
+
)
|
|
3212
2940
|
]
|
|
3213
2941
|
}
|
|
3214
2942
|
) });
|
|
@@ -3216,7 +2944,7 @@ var NavbarV2 = forwardRef(
|
|
|
3216
2944
|
);
|
|
3217
2945
|
NavbarV2.displayName = "NavbarV2";
|
|
3218
2946
|
var NavbarV2Brand = forwardRef(
|
|
3219
|
-
({ as: Component = "a", className, children, ...props }, ref) => /* @__PURE__ */ jsx(Component, { ref, className:
|
|
2947
|
+
({ as: Component = "a", className, children, ...props }, ref) => /* @__PURE__ */ jsx(Component, { ref, className: clsx21("ds-navbar-v2__brand", className), ...props, children })
|
|
3220
2948
|
);
|
|
3221
2949
|
NavbarV2Brand.displayName = "NavbarV2Brand";
|
|
3222
2950
|
var NavbarV2Tabs = forwardRef(
|
|
@@ -3235,7 +2963,7 @@ var NavbarV2Tabs = forwardRef(
|
|
|
3235
2963
|
"div",
|
|
3236
2964
|
{
|
|
3237
2965
|
ref,
|
|
3238
|
-
className:
|
|
2966
|
+
className: clsx21(
|
|
3239
2967
|
"ds-navbar-v2__tabs",
|
|
3240
2968
|
scrolled && "ds-navbar-v2__tabs--demoted",
|
|
3241
2969
|
className
|
|
@@ -3252,7 +2980,7 @@ var NavbarV2Tab = forwardRef(
|
|
|
3252
2980
|
Component,
|
|
3253
2981
|
{
|
|
3254
2982
|
ref,
|
|
3255
|
-
className:
|
|
2983
|
+
className: clsx21("ds-navbar-v2__tab", active && "ds-navbar-v2__tab--active", className),
|
|
3256
2984
|
"aria-current": active ? "page" : void 0,
|
|
3257
2985
|
...Component === "button" ? { type: "button" } : {},
|
|
3258
2986
|
...props,
|
|
@@ -3265,36 +2993,6 @@ var NavbarV2Tab = forwardRef(
|
|
|
3265
2993
|
)
|
|
3266
2994
|
);
|
|
3267
2995
|
NavbarV2Tab.displayName = "NavbarV2Tab";
|
|
3268
|
-
var PANEL_VARIANTS = {
|
|
3269
|
-
hidden: {
|
|
3270
|
-
opacity: 0,
|
|
3271
|
-
y: -8,
|
|
3272
|
-
scale: 0.98,
|
|
3273
|
-
x: "-50%"
|
|
3274
|
-
},
|
|
3275
|
-
visible: {
|
|
3276
|
-
opacity: 1,
|
|
3277
|
-
y: 0,
|
|
3278
|
-
scale: 1,
|
|
3279
|
-
x: "-50%",
|
|
3280
|
-
transition: {
|
|
3281
|
-
duration: 0.25,
|
|
3282
|
-
ease: EASE_OUT2,
|
|
3283
|
-
staggerChildren: 0.04,
|
|
3284
|
-
delayChildren: 0.06
|
|
3285
|
-
}
|
|
3286
|
-
},
|
|
3287
|
-
exit: {
|
|
3288
|
-
opacity: 0,
|
|
3289
|
-
y: -6,
|
|
3290
|
-
scale: 0.98,
|
|
3291
|
-
x: "-50%",
|
|
3292
|
-
transition: {
|
|
3293
|
-
duration: 0.15,
|
|
3294
|
-
ease: EASE_IN2
|
|
3295
|
-
}
|
|
3296
|
-
}
|
|
3297
|
-
};
|
|
3298
2996
|
var NavbarV2TabMenu = forwardRef(
|
|
3299
2997
|
({
|
|
3300
2998
|
icon,
|
|
@@ -3388,11 +3086,15 @@ var NavbarV2TabMenu = forwardRef(
|
|
|
3388
3086
|
window.addEventListener("resize", clampToViewport);
|
|
3389
3087
|
return () => window.removeEventListener("resize", clampToViewport);
|
|
3390
3088
|
}, [isOpen]);
|
|
3089
|
+
const panelRefCallback = useCallback((node) => {
|
|
3090
|
+
containerRef.current = node;
|
|
3091
|
+
panelRef.current = node;
|
|
3092
|
+
}, []);
|
|
3391
3093
|
return /* @__PURE__ */ jsxs(
|
|
3392
3094
|
"div",
|
|
3393
3095
|
{
|
|
3394
3096
|
ref,
|
|
3395
|
-
className:
|
|
3097
|
+
className: clsx21("ds-navbar-v2__tab-menu", className),
|
|
3396
3098
|
onMouseEnter: handleMouseEnter,
|
|
3397
3099
|
onMouseLeave: handleMouseLeave,
|
|
3398
3100
|
children: [
|
|
@@ -3400,7 +3102,7 @@ var NavbarV2TabMenu = forwardRef(
|
|
|
3400
3102
|
"button",
|
|
3401
3103
|
{
|
|
3402
3104
|
ref: triggerRef,
|
|
3403
|
-
className:
|
|
3105
|
+
className: clsx21(
|
|
3404
3106
|
"ds-navbar-v2__tab",
|
|
3405
3107
|
(active || isOpen) && "ds-navbar-v2__tab--active"
|
|
3406
3108
|
),
|
|
@@ -3414,11 +3116,10 @@ var NavbarV2TabMenu = forwardRef(
|
|
|
3414
3116
|
/* @__PURE__ */ jsxs("span", { className: "ds-navbar-v2__tab-label-row", children: [
|
|
3415
3117
|
/* @__PURE__ */ jsx("span", { className: "ds-navbar-v2__tab-label", children: label }),
|
|
3416
3118
|
/* @__PURE__ */ jsx(
|
|
3417
|
-
|
|
3119
|
+
"span",
|
|
3418
3120
|
{
|
|
3419
3121
|
className: "ds-navbar-v2__tab-chevron",
|
|
3420
|
-
|
|
3421
|
-
transition: { duration: 0.2, ease: EASE_OUT2 },
|
|
3122
|
+
"data-state": isOpen ? "open" : "closed",
|
|
3422
3123
|
children: /* @__PURE__ */ jsx(ChevronDown2, {})
|
|
3423
3124
|
}
|
|
3424
3125
|
)
|
|
@@ -3426,24 +3127,18 @@ var NavbarV2TabMenu = forwardRef(
|
|
|
3426
3127
|
]
|
|
3427
3128
|
}
|
|
3428
3129
|
),
|
|
3429
|
-
/* @__PURE__ */ jsx(
|
|
3430
|
-
|
|
3130
|
+
/* @__PURE__ */ jsx(
|
|
3131
|
+
"div",
|
|
3431
3132
|
{
|
|
3432
|
-
ref:
|
|
3433
|
-
containerRef.current = node;
|
|
3434
|
-
panelRef.current = node;
|
|
3435
|
-
},
|
|
3133
|
+
ref: panelRefCallback,
|
|
3436
3134
|
id: panelId,
|
|
3437
3135
|
className: "ds-navbar-v2__mega-panel",
|
|
3438
|
-
|
|
3439
|
-
initial: "hidden",
|
|
3440
|
-
animate: "visible",
|
|
3441
|
-
exit: "exit",
|
|
3136
|
+
"data-state": isOpen ? "open" : "closed",
|
|
3442
3137
|
role: "region",
|
|
3443
3138
|
"aria-label": `${label} menu`,
|
|
3444
3139
|
children
|
|
3445
3140
|
}
|
|
3446
|
-
)
|
|
3141
|
+
)
|
|
3447
3142
|
]
|
|
3448
3143
|
}
|
|
3449
3144
|
);
|
|
@@ -3451,7 +3146,7 @@ var NavbarV2TabMenu = forwardRef(
|
|
|
3451
3146
|
);
|
|
3452
3147
|
NavbarV2TabMenu.displayName = "NavbarV2TabMenu";
|
|
3453
3148
|
var NavbarV2Actions = forwardRef(
|
|
3454
|
-
({ className, children, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, className:
|
|
3149
|
+
({ className, children, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, className: clsx21("ds-navbar-v2__actions", className), ...props, children })
|
|
3455
3150
|
);
|
|
3456
3151
|
NavbarV2Actions.displayName = "NavbarV2Actions";
|
|
3457
3152
|
function useMergedRef(...refs) {
|
|
@@ -3476,7 +3171,7 @@ var SectionHeader = forwardRef(
|
|
|
3476
3171
|
"header",
|
|
3477
3172
|
{
|
|
3478
3173
|
ref,
|
|
3479
|
-
className:
|
|
3174
|
+
className: clsx21("ds-section-header", `ds-section-header--${align}`, className),
|
|
3480
3175
|
...props,
|
|
3481
3176
|
children: [
|
|
3482
3177
|
eyebrow && /* @__PURE__ */ jsx("span", { className: "ds-section-header__eyebrow", children: eyebrow }),
|
|
@@ -3502,7 +3197,7 @@ var SectionShell = forwardRef(
|
|
|
3502
3197
|
"section",
|
|
3503
3198
|
{
|
|
3504
3199
|
ref,
|
|
3505
|
-
className:
|
|
3200
|
+
className: clsx21(
|
|
3506
3201
|
"ds-section",
|
|
3507
3202
|
`ds-section--bg-${background}`,
|
|
3508
3203
|
`ds-section--padding-${padding}`,
|
|
@@ -3544,7 +3239,7 @@ var HeroSection = forwardRef(
|
|
|
3544
3239
|
const isSplit = variant === "split";
|
|
3545
3240
|
const isCenter = variant === "center";
|
|
3546
3241
|
const textAlignment = align || (isCenter ? "center" : "left");
|
|
3547
|
-
const ContentBlock = /* @__PURE__ */ jsxs("div", { className:
|
|
3242
|
+
const ContentBlock = /* @__PURE__ */ jsxs("div", { className: clsx21("ds-hero__content", `ds-hero__content--${textAlignment}`), children: [
|
|
3548
3243
|
eyebrow && /* @__PURE__ */ jsx("span", { className: "ds-section-header__eyebrow", style: { marginBottom: "var(--space-2)" }, children: eyebrow }),
|
|
3549
3244
|
/* @__PURE__ */ jsx("h1", { className: "ds-hero__title", children: title }),
|
|
3550
3245
|
subtitle && /* @__PURE__ */ jsx("p", { className: "ds-hero__subtitle", children: subtitle }),
|
|
@@ -3555,14 +3250,14 @@ var HeroSection = forwardRef(
|
|
|
3555
3250
|
children
|
|
3556
3251
|
] });
|
|
3557
3252
|
const MediaBlock = media && /* @__PURE__ */ jsxs("div", { className: "ds-hero__media-wrapper", children: [
|
|
3558
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
3559
|
-
floatingElement && /* @__PURE__ */ jsx("div", { className:
|
|
3253
|
+
/* @__PURE__ */ jsx("div", { className: clsx21("ds-hero__media", mediaBrowserFrame && "ds-hero__media--browser"), children: media }),
|
|
3254
|
+
floatingElement && /* @__PURE__ */ jsx("div", { className: clsx21("ds-hero__float", `ds-hero__float--${floatingPosition}`), children: floatingElement })
|
|
3560
3255
|
] });
|
|
3561
3256
|
return /* @__PURE__ */ jsx(
|
|
3562
3257
|
SectionShell,
|
|
3563
3258
|
{
|
|
3564
3259
|
ref,
|
|
3565
|
-
className:
|
|
3260
|
+
className: clsx21(
|
|
3566
3261
|
"ds-hero",
|
|
3567
3262
|
`ds-hero--${variant}`,
|
|
3568
3263
|
withGrid && "ds-hero--bg-grid",
|
|
@@ -3635,9 +3330,9 @@ var FeatureSection = forwardRef(
|
|
|
3635
3330
|
className,
|
|
3636
3331
|
...props
|
|
3637
3332
|
}, ref) => {
|
|
3638
|
-
return /* @__PURE__ */ jsxs(SectionShell, { ref, className:
|
|
3333
|
+
return /* @__PURE__ */ jsxs(SectionShell, { ref, className: clsx21("ds-feature-section", className), ...props, children: [
|
|
3639
3334
|
/* @__PURE__ */ jsx(SectionHeader, { title, subtitle, eyebrow, align: alignHeader }),
|
|
3640
|
-
variant === "grid" ? /* @__PURE__ */ jsx("div", { className:
|
|
3335
|
+
variant === "grid" ? /* @__PURE__ */ jsx("div", { className: clsx21("ds-feature-grid", `ds-feature-grid--${columns}-col`), children: features.map((feature, index) => /* @__PURE__ */ jsx(FeatureCard, { item: feature }, index)) }) : /* @__PURE__ */ jsx("div", { className: "ds-feature-zigzag", children: features.map((feature, index) => /* @__PURE__ */ jsx(FeatureRow, { item: feature }, index)) })
|
|
3641
3336
|
] });
|
|
3642
3337
|
}
|
|
3643
3338
|
);
|
|
@@ -3647,7 +3342,7 @@ function FooterAccordionItem({ section, LinkComponent }) {
|
|
|
3647
3342
|
return /* @__PURE__ */ jsxs(
|
|
3648
3343
|
"div",
|
|
3649
3344
|
{
|
|
3650
|
-
className:
|
|
3345
|
+
className: clsx21(
|
|
3651
3346
|
"ds-footer__accordion-item",
|
|
3652
3347
|
isOpen && "ds-footer__accordion-item--open"
|
|
3653
3348
|
),
|
|
@@ -3711,7 +3406,7 @@ var SiteFooter = forwardRef(
|
|
|
3711
3406
|
const defaultCopyright = copyright || `\xA9 ${currentYear}. All rights reserved.`;
|
|
3712
3407
|
const resolvedControls = controls || bottomActions;
|
|
3713
3408
|
const LinkComponent = linkAs || "a";
|
|
3714
|
-
return /* @__PURE__ */ jsxs("footer", { ref, className:
|
|
3409
|
+
return /* @__PURE__ */ jsxs("footer", { ref, className: clsx21("ds-footer", className), ...props, children: [
|
|
3715
3410
|
cta && /* @__PURE__ */ jsx("div", { className: "ds-footer__cta", "data-footer-zone": "cta", children: /* @__PURE__ */ jsx(Container, { children: /* @__PURE__ */ jsxs("div", { className: "ds-footer__cta-content", children: [
|
|
3716
3411
|
/* @__PURE__ */ jsx("h2", { className: "ds-footer__cta-headline", children: cta.headline }),
|
|
3717
3412
|
cta.subtext && /* @__PURE__ */ jsx("p", { className: "ds-footer__cta-subtext", children: cta.subtext }),
|
|
@@ -3811,7 +3506,7 @@ var CTASection = forwardRef(
|
|
|
3811
3506
|
}, ref) => {
|
|
3812
3507
|
const isBoxed = variant === "boxed";
|
|
3813
3508
|
const effectiveVariant = isBoxed ? "center" : variant;
|
|
3814
|
-
const Content = /* @__PURE__ */ jsxs("div", { className:
|
|
3509
|
+
const Content = /* @__PURE__ */ jsxs("div", { className: clsx21("ds-cta-section", `ds-cta-section--${effectiveVariant}`), children: [
|
|
3815
3510
|
effectiveVariant === "split" ? /* @__PURE__ */ jsxs("div", { className: "ds-cta-section--split", children: [
|
|
3816
3511
|
/* @__PURE__ */ jsxs("div", { className: "ds-cta-content", children: [
|
|
3817
3512
|
/* @__PURE__ */ jsx("h2", { className: "ds-cta-title", children: title }),
|
|
@@ -3831,13 +3526,13 @@ var CTASection = forwardRef(
|
|
|
3831
3526
|
] }),
|
|
3832
3527
|
children
|
|
3833
3528
|
] });
|
|
3834
|
-
return /* @__PURE__ */ jsx(SectionShell, { ref, className:
|
|
3529
|
+
return /* @__PURE__ */ jsx(SectionShell, { ref, className: clsx21(className), ...props, children: isBoxed ? /* @__PURE__ */ jsx("div", { className: "ds-cta-card", children: Content }) : Content });
|
|
3835
3530
|
}
|
|
3836
3531
|
);
|
|
3837
3532
|
CTASection.displayName = "CTASection";
|
|
3838
3533
|
var StatsSection = forwardRef(
|
|
3839
3534
|
({ stats, title, subtitle, eyebrow, className, ...props }, ref) => {
|
|
3840
|
-
return /* @__PURE__ */ jsxs(SectionShell, { ref, className:
|
|
3535
|
+
return /* @__PURE__ */ jsxs(SectionShell, { ref, className: clsx21("ds-stats-section", className), ...props, children: [
|
|
3841
3536
|
/* @__PURE__ */ jsx(SectionHeader, { title, subtitle, eyebrow }),
|
|
3842
3537
|
/* @__PURE__ */ jsx("div", { className: "ds-stats-grid", children: stats.map((stat, idx) => /* @__PURE__ */ jsxs("div", { className: "ds-stat-card", children: [
|
|
3843
3538
|
/* @__PURE__ */ jsxs("div", { className: "ds-stat-value", children: [
|
|
@@ -3894,7 +3589,7 @@ var StarRating = forwardRef(
|
|
|
3894
3589
|
return /* @__PURE__ */ jsxs(
|
|
3895
3590
|
"span",
|
|
3896
3591
|
{
|
|
3897
|
-
className:
|
|
3592
|
+
className: clsx21(
|
|
3898
3593
|
"ds-star-rating__star",
|
|
3899
3594
|
visible && "ds-star-rating__star--visible"
|
|
3900
3595
|
),
|
|
@@ -3953,7 +3648,7 @@ var StarRating = forwardRef(
|
|
|
3953
3648
|
if (typeof ref === "function") ref(node);
|
|
3954
3649
|
else if (ref) ref.current = node;
|
|
3955
3650
|
},
|
|
3956
|
-
className:
|
|
3651
|
+
className: clsx21("ds-star-rating", `ds-star-rating--${size}`, className),
|
|
3957
3652
|
role: "img",
|
|
3958
3653
|
"aria-label": `${clampedValue} out of ${max} stars`,
|
|
3959
3654
|
...props,
|
|
@@ -4026,7 +3721,7 @@ var PlatformBadge = forwardRef(
|
|
|
4026
3721
|
"div",
|
|
4027
3722
|
{
|
|
4028
3723
|
ref,
|
|
4029
|
-
className:
|
|
3724
|
+
className: clsx21(
|
|
4030
3725
|
"ds-platform-badge",
|
|
4031
3726
|
`ds-platform-badge--${variant}`,
|
|
4032
3727
|
`ds-platform-badge--${size}`,
|
|
@@ -4354,7 +4049,7 @@ var SocialProofCard = forwardRef(
|
|
|
4354
4049
|
metrics,
|
|
4355
4050
|
...props
|
|
4356
4051
|
}, ref) => {
|
|
4357
|
-
const cardClass =
|
|
4052
|
+
const cardClass = clsx21(
|
|
4358
4053
|
"ds-social-card",
|
|
4359
4054
|
`ds-social-card--${variant}`,
|
|
4360
4055
|
animationDelay != null && "ds-social-card--animated",
|
|
@@ -4511,7 +4206,7 @@ var SocialProofGrid = forwardRef(
|
|
|
4511
4206
|
const childProps = child.props;
|
|
4512
4207
|
return React30.cloneElement(child, {
|
|
4513
4208
|
style: { ...childProps.style, "--card-delay": `${delay}ms` },
|
|
4514
|
-
className:
|
|
4209
|
+
className: clsx21(childProps.className, "ds-social-card--animated")
|
|
4515
4210
|
});
|
|
4516
4211
|
}) : children;
|
|
4517
4212
|
return /* @__PURE__ */ jsx(
|
|
@@ -4519,9 +4214,9 @@ var SocialProofGrid = forwardRef(
|
|
|
4519
4214
|
{
|
|
4520
4215
|
ref,
|
|
4521
4216
|
padding: "md",
|
|
4522
|
-
className:
|
|
4217
|
+
className: clsx21("ds-social-proof", className),
|
|
4523
4218
|
...props,
|
|
4524
|
-
children: masonry ? /* @__PURE__ */ jsx("div", { className: "ds-social-masonry", children: enhancedChildren }) : /* @__PURE__ */ jsx("div", { className:
|
|
4219
|
+
children: masonry ? /* @__PURE__ */ jsx("div", { className: "ds-social-masonry", children: enhancedChildren }) : /* @__PURE__ */ jsx("div", { className: clsx21("ds-social-grid", `ds-social-grid--${columns}-col`), children: enhancedChildren })
|
|
4525
4220
|
}
|
|
4526
4221
|
);
|
|
4527
4222
|
}
|
|
@@ -4551,14 +4246,14 @@ var LogoItemRender = ({ item, className }) => {
|
|
|
4551
4246
|
{
|
|
4552
4247
|
href: item.href,
|
|
4553
4248
|
context: "social-proof-logo",
|
|
4554
|
-
className:
|
|
4249
|
+
className: clsx21("ds-social-logos__item", className),
|
|
4555
4250
|
title: item.alt,
|
|
4556
4251
|
openInNewTab: !isInternal,
|
|
4557
4252
|
children: innerContent
|
|
4558
4253
|
}
|
|
4559
4254
|
);
|
|
4560
4255
|
}
|
|
4561
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
4256
|
+
return /* @__PURE__ */ jsx("div", { className: clsx21("ds-social-logos__item", className), title: item.alt, children: innerContent });
|
|
4562
4257
|
};
|
|
4563
4258
|
var SocialProofLogos = forwardRef(
|
|
4564
4259
|
({ title, logos, variant = "grid", speed = 40, className, ...props }, ref) => {
|
|
@@ -4567,7 +4262,7 @@ var SocialProofLogos = forwardRef(
|
|
|
4567
4262
|
{
|
|
4568
4263
|
ref,
|
|
4569
4264
|
padding: "sm",
|
|
4570
|
-
className:
|
|
4265
|
+
className: clsx21("ds-social-logos", className),
|
|
4571
4266
|
...props,
|
|
4572
4267
|
children: [
|
|
4573
4268
|
title && /* @__PURE__ */ jsx(
|
|
@@ -4620,12 +4315,12 @@ var SocialProofFeatured = forwardRef(
|
|
|
4620
4315
|
{
|
|
4621
4316
|
ref,
|
|
4622
4317
|
padding: "md",
|
|
4623
|
-
className:
|
|
4318
|
+
className: clsx21("ds-social-featured-section", className),
|
|
4624
4319
|
...props,
|
|
4625
4320
|
children: /* @__PURE__ */ jsxs(
|
|
4626
4321
|
"div",
|
|
4627
4322
|
{
|
|
4628
|
-
className:
|
|
4323
|
+
className: clsx21(
|
|
4629
4324
|
"ds-social-featured",
|
|
4630
4325
|
`ds-social-featured--${effectiveOrientation}`,
|
|
4631
4326
|
`ds-social-featured--${featuredVariant}`
|
|
@@ -4776,7 +4471,7 @@ var SocialProofCarousel = forwardRef(
|
|
|
4776
4471
|
ref,
|
|
4777
4472
|
padding: "none",
|
|
4778
4473
|
containerFluid: true,
|
|
4779
|
-
className:
|
|
4474
|
+
className: clsx21("ds-social-carousel", className),
|
|
4780
4475
|
...props,
|
|
4781
4476
|
children: /* @__PURE__ */ jsxs(
|
|
4782
4477
|
motion.div,
|
|
@@ -4806,7 +4501,7 @@ function getShortsEmbedUrl(url) {
|
|
|
4806
4501
|
}
|
|
4807
4502
|
function VerticalVideoGrid({ urls, className }) {
|
|
4808
4503
|
if (!urls || urls.length === 0) return null;
|
|
4809
|
-
return /* @__PURE__ */ jsx(SectionShell, { className:
|
|
4504
|
+
return /* @__PURE__ */ jsx(SectionShell, { className: clsx21("ds-vertical-video-grid my-16", className), children: /* @__PURE__ */ jsx("div", { className: "grid grid-cols-2 md:grid-cols-4 gap-4 md:gap-6 max-w-6xl mx-auto", children: urls.map((url, i) => /* @__PURE__ */ jsx(
|
|
4810
4505
|
"div",
|
|
4811
4506
|
{
|
|
4812
4507
|
className: "relative w-full overflow-hidden rounded-[20px] shadow-lg border border-white/10 bg-black",
|
|
@@ -4845,7 +4540,7 @@ var Sidebar = React30.forwardRef(
|
|
|
4845
4540
|
"aside",
|
|
4846
4541
|
{
|
|
4847
4542
|
ref,
|
|
4848
|
-
className:
|
|
4543
|
+
className: clsx21(
|
|
4849
4544
|
"ds-sidebar",
|
|
4850
4545
|
`ds-sidebar--${position}`,
|
|
4851
4546
|
collapsed && "ds-sidebar--collapsed",
|
|
@@ -4860,7 +4555,7 @@ var Sidebar = React30.forwardRef(
|
|
|
4860
4555
|
Sidebar.displayName = "Sidebar";
|
|
4861
4556
|
var SidebarSection = React30.forwardRef(
|
|
4862
4557
|
({ title, className, children }, ref) => {
|
|
4863
|
-
return /* @__PURE__ */ jsxs("div", { ref, className:
|
|
4558
|
+
return /* @__PURE__ */ jsxs("div", { ref, className: clsx21("ds-sidebar__section", className), children: [
|
|
4864
4559
|
title && /* @__PURE__ */ jsx("h3", { className: "ds-sidebar__section-title", children: title }),
|
|
4865
4560
|
children
|
|
4866
4561
|
] });
|
|
@@ -4873,7 +4568,7 @@ var SidebarItem = React30.forwardRef(
|
|
|
4873
4568
|
"button",
|
|
4874
4569
|
{
|
|
4875
4570
|
ref,
|
|
4876
|
-
className:
|
|
4571
|
+
className: clsx21("ds-sidebar__item", active && "ds-sidebar__item--active", className),
|
|
4877
4572
|
onClick,
|
|
4878
4573
|
type: "button",
|
|
4879
4574
|
children: [
|
|
@@ -4891,7 +4586,7 @@ var FloatingTabBar = React30.forwardRef(
|
|
|
4891
4586
|
"nav",
|
|
4892
4587
|
{
|
|
4893
4588
|
ref,
|
|
4894
|
-
className:
|
|
4589
|
+
className: clsx21("ds-floating-tab-bar", `ds-floating-tab-bar--${position}`, className),
|
|
4895
4590
|
role: "tablist",
|
|
4896
4591
|
children
|
|
4897
4592
|
}
|
|
@@ -4905,7 +4600,7 @@ var TabItem = React30.forwardRef(
|
|
|
4905
4600
|
"button",
|
|
4906
4601
|
{
|
|
4907
4602
|
ref,
|
|
4908
|
-
className:
|
|
4603
|
+
className: clsx21("ds-tab-item", active && "ds-tab-item--active", className),
|
|
4909
4604
|
onClick,
|
|
4910
4605
|
role: "tab",
|
|
4911
4606
|
"aria-selected": active,
|
|
@@ -4919,8 +4614,6 @@ var TabItem = React30.forwardRef(
|
|
|
4919
4614
|
}
|
|
4920
4615
|
);
|
|
4921
4616
|
TabItem.displayName = "TabItem";
|
|
4922
|
-
var EASE_OUT3 = [0.2, 0.8, 0.2, 1];
|
|
4923
|
-
var EASE_IN3 = [0.4, 0, 1, 1];
|
|
4924
4617
|
var GlobeIcon = () => /* @__PURE__ */ jsxs(
|
|
4925
4618
|
"svg",
|
|
4926
4619
|
{
|
|
@@ -4970,20 +4663,6 @@ var CheckIcon = () => /* @__PURE__ */ jsx(
|
|
|
4970
4663
|
children: /* @__PURE__ */ jsx("polyline", { points: "20 6 9 17 4 12" })
|
|
4971
4664
|
}
|
|
4972
4665
|
);
|
|
4973
|
-
var PANEL_VARIANTS2 = {
|
|
4974
|
-
hidden: {
|
|
4975
|
-
opacity: 0,
|
|
4976
|
-
y: -8,
|
|
4977
|
-
scale: 0.95,
|
|
4978
|
-
transition: { duration: 0.15, ease: EASE_IN3 }
|
|
4979
|
-
},
|
|
4980
|
-
visible: {
|
|
4981
|
-
opacity: 1,
|
|
4982
|
-
y: 0,
|
|
4983
|
-
scale: 1,
|
|
4984
|
-
transition: { duration: 0.2, ease: EASE_OUT3 }
|
|
4985
|
-
}
|
|
4986
|
-
};
|
|
4987
4666
|
var LocaleDropdown = forwardRef(
|
|
4988
4667
|
({
|
|
4989
4668
|
locales,
|
|
@@ -5086,7 +4765,7 @@ var LocaleDropdown = forwardRef(
|
|
|
5086
4765
|
"div",
|
|
5087
4766
|
{
|
|
5088
4767
|
ref,
|
|
5089
|
-
className:
|
|
4768
|
+
className: clsx21(
|
|
5090
4769
|
"ds-locale-dropdown",
|
|
5091
4770
|
direction === "up" && "ds-locale-dropdown--up",
|
|
5092
4771
|
align === "left" && "ds-locale-dropdown--align-left",
|
|
@@ -5111,29 +4790,25 @@ var LocaleDropdown = forwardRef(
|
|
|
5111
4790
|
/* @__PURE__ */ jsx("span", { className: "ds-locale-dropdown__trigger-icon", children: /* @__PURE__ */ jsx(GlobeIcon, {}) }),
|
|
5112
4791
|
currentLocale.flag && /* @__PURE__ */ jsx("span", { className: "ds-locale-dropdown__trigger-flag", "aria-hidden": "true", children: currentLocale.flag }),
|
|
5113
4792
|
/* @__PURE__ */ jsx(
|
|
5114
|
-
|
|
4793
|
+
"span",
|
|
5115
4794
|
{
|
|
5116
4795
|
className: "ds-locale-dropdown__trigger-chevron",
|
|
5117
|
-
|
|
5118
|
-
transition: { duration: 0.2, ease: EASE_OUT3 },
|
|
4796
|
+
"data-state": isOpen ? "open" : "closed",
|
|
5119
4797
|
children: /* @__PURE__ */ jsx(ChevronDownIcon, {})
|
|
5120
4798
|
}
|
|
5121
4799
|
)
|
|
5122
4800
|
]
|
|
5123
4801
|
}
|
|
5124
4802
|
),
|
|
5125
|
-
/* @__PURE__ */ jsx(
|
|
5126
|
-
|
|
4803
|
+
/* @__PURE__ */ jsx(
|
|
4804
|
+
"div",
|
|
5127
4805
|
{
|
|
5128
4806
|
ref: listRef,
|
|
5129
4807
|
id: listboxId,
|
|
5130
4808
|
className: "ds-locale-dropdown__panel",
|
|
5131
4809
|
role: "listbox",
|
|
5132
4810
|
"aria-label": "Select language",
|
|
5133
|
-
|
|
5134
|
-
initial: "hidden",
|
|
5135
|
-
animate: "visible",
|
|
5136
|
-
exit: "hidden",
|
|
4811
|
+
"data-state": isOpen ? "open" : "closed",
|
|
5137
4812
|
onKeyDown: handleKeyDown,
|
|
5138
4813
|
children: locales.map((locale, index) => {
|
|
5139
4814
|
const isActive = locale.code === activeLocale;
|
|
@@ -5143,7 +4818,7 @@ var LocaleDropdown = forwardRef(
|
|
|
5143
4818
|
id: optionId,
|
|
5144
4819
|
role: "option",
|
|
5145
4820
|
"aria-selected": isActive,
|
|
5146
|
-
className:
|
|
4821
|
+
className: clsx21(
|
|
5147
4822
|
"ds-locale-dropdown__option",
|
|
5148
4823
|
isActive && "ds-locale-dropdown__option--active",
|
|
5149
4824
|
isFocused && "ds-locale-dropdown__option--focused"
|
|
@@ -5160,7 +4835,7 @@ var LocaleDropdown = forwardRef(
|
|
|
5160
4835
|
] }, locale.code);
|
|
5161
4836
|
})
|
|
5162
4837
|
}
|
|
5163
|
-
)
|
|
4838
|
+
)
|
|
5164
4839
|
] })
|
|
5165
4840
|
}
|
|
5166
4841
|
);
|
|
@@ -5173,7 +4848,7 @@ var Tabs = React30.forwardRef(
|
|
|
5173
4848
|
Tabs$1.Root,
|
|
5174
4849
|
{
|
|
5175
4850
|
ref,
|
|
5176
|
-
className:
|
|
4851
|
+
className: clsx21("ds-tabs", `ds-tabs--${orientation}`, className),
|
|
5177
4852
|
orientation,
|
|
5178
4853
|
...props
|
|
5179
4854
|
}
|
|
@@ -5183,19 +4858,19 @@ var Tabs = React30.forwardRef(
|
|
|
5183
4858
|
Tabs.displayName = "Tabs";
|
|
5184
4859
|
var TabsList = React30.forwardRef(
|
|
5185
4860
|
({ className, ...props }, ref) => {
|
|
5186
|
-
return /* @__PURE__ */ jsx(Tabs$1.List, { ref, className:
|
|
4861
|
+
return /* @__PURE__ */ jsx(Tabs$1.List, { ref, className: clsx21("ds-tabs__list", className), ...props });
|
|
5187
4862
|
}
|
|
5188
4863
|
);
|
|
5189
4864
|
TabsList.displayName = "TabsList";
|
|
5190
4865
|
var TabsTrigger = React30.forwardRef(
|
|
5191
4866
|
({ className, children, ...props }, ref) => {
|
|
5192
|
-
return /* @__PURE__ */ jsx(Tabs$1.Tab, { ref, className:
|
|
4867
|
+
return /* @__PURE__ */ jsx(Tabs$1.Tab, { ref, className: clsx21("ds-tabs__trigger", className), ...props, children });
|
|
5193
4868
|
}
|
|
5194
4869
|
);
|
|
5195
4870
|
TabsTrigger.displayName = "TabsTrigger";
|
|
5196
4871
|
var TabsContent = React30.forwardRef(
|
|
5197
4872
|
({ className, ...props }, ref) => {
|
|
5198
|
-
return /* @__PURE__ */ jsx(Tabs$1.Panel, { ref, className:
|
|
4873
|
+
return /* @__PURE__ */ jsx(Tabs$1.Panel, { ref, className: clsx21("ds-tabs__content", className), ...props });
|
|
5199
4874
|
}
|
|
5200
4875
|
);
|
|
5201
4876
|
TabsContent.displayName = "TabsContent";
|
|
@@ -5272,7 +4947,7 @@ var Shell = React30.forwardRef(
|
|
|
5272
4947
|
"div",
|
|
5273
4948
|
{
|
|
5274
4949
|
ref,
|
|
5275
|
-
className:
|
|
4950
|
+
className: clsx21("ds-shell", `ds-shell--${computedLayout}`, className),
|
|
5276
4951
|
"data-shell-layout": computedLayout,
|
|
5277
4952
|
children: [
|
|
5278
4953
|
(computedLayout === "left" || computedLayout === "right") && /* @__PURE__ */ jsxs(Sidebar, { position: computedLayout, children: [
|
|
@@ -5316,28 +4991,28 @@ var Shell = React30.forwardRef(
|
|
|
5316
4991
|
Shell.displayName = "Shell";
|
|
5317
4992
|
var DataTable = React30.forwardRef(
|
|
5318
4993
|
({ className, children, ...props }, ref) => {
|
|
5319
|
-
return /* @__PURE__ */ jsx("div", { className: "ds-data-table-container", children: /* @__PURE__ */ jsx("table", { ref, className:
|
|
4994
|
+
return /* @__PURE__ */ jsx("div", { className: "ds-data-table-container", children: /* @__PURE__ */ jsx("table", { ref, className: clsx21("ds-data-table", className), ...props, children }) });
|
|
5320
4995
|
}
|
|
5321
4996
|
);
|
|
5322
4997
|
DataTable.displayName = "DataTable";
|
|
5323
4998
|
var DataTableHeader = React30.forwardRef(({ className, ...props }, ref) => {
|
|
5324
|
-
return /* @__PURE__ */ jsx("thead", { ref, className:
|
|
4999
|
+
return /* @__PURE__ */ jsx("thead", { ref, className: clsx21("ds-data-table__header", className), ...props });
|
|
5325
5000
|
});
|
|
5326
5001
|
DataTableHeader.displayName = "DataTableHeader";
|
|
5327
5002
|
var DataTableBody = React30.forwardRef(({ className, ...props }, ref) => {
|
|
5328
|
-
return /* @__PURE__ */ jsx("tbody", { ref, className:
|
|
5003
|
+
return /* @__PURE__ */ jsx("tbody", { ref, className: clsx21("ds-data-table__body", className), ...props });
|
|
5329
5004
|
});
|
|
5330
5005
|
DataTableBody.displayName = "DataTableBody";
|
|
5331
5006
|
var DataTableRow = React30.forwardRef(({ className, ...props }, ref) => {
|
|
5332
|
-
return /* @__PURE__ */ jsx("tr", { ref, className:
|
|
5007
|
+
return /* @__PURE__ */ jsx("tr", { ref, className: clsx21("ds-data-table__row", className), ...props });
|
|
5333
5008
|
});
|
|
5334
5009
|
DataTableRow.displayName = "DataTableRow";
|
|
5335
5010
|
var DataTableHead = React30.forwardRef(({ className, ...props }, ref) => {
|
|
5336
|
-
return /* @__PURE__ */ jsx("th", { ref, className:
|
|
5011
|
+
return /* @__PURE__ */ jsx("th", { ref, className: clsx21("ds-data-table__head", className), ...props });
|
|
5337
5012
|
});
|
|
5338
5013
|
DataTableHead.displayName = "DataTableHead";
|
|
5339
5014
|
var DataTableCell = React30.forwardRef(({ className, ...props }, ref) => {
|
|
5340
|
-
return /* @__PURE__ */ jsx("td", { ref, className:
|
|
5015
|
+
return /* @__PURE__ */ jsx("td", { ref, className: clsx21("ds-data-table__cell", className), ...props });
|
|
5341
5016
|
});
|
|
5342
5017
|
DataTableCell.displayName = "DataTableCell";
|
|
5343
5018
|
function getEmbedUrl(src) {
|
|
@@ -5374,7 +5049,7 @@ var VideoLightbox = forwardRef(
|
|
|
5374
5049
|
setOpen(true);
|
|
5375
5050
|
onPlay?.();
|
|
5376
5051
|
}, [onPlay]);
|
|
5377
|
-
return /* @__PURE__ */ jsx("div", { ref, className:
|
|
5052
|
+
return /* @__PURE__ */ jsx("div", { ref, className: clsx21("ds-video-lightbox", className), children: /* @__PURE__ */ jsxs(Dialog$1.Root, { open, onOpenChange: setOpen, children: [
|
|
5378
5053
|
/* @__PURE__ */ jsx(
|
|
5379
5054
|
Dialog$1.Trigger,
|
|
5380
5055
|
{
|
|
@@ -5476,7 +5151,7 @@ var AnnouncementBar = forwardRef(
|
|
|
5476
5151
|
"div",
|
|
5477
5152
|
{
|
|
5478
5153
|
ref,
|
|
5479
|
-
className:
|
|
5154
|
+
className: clsx21(
|
|
5480
5155
|
"ds-announcement-bar",
|
|
5481
5156
|
`ds-announcement-bar--${variant}`,
|
|
5482
5157
|
href && "ds-announcement-bar--clickable",
|
|
@@ -5539,7 +5214,7 @@ var StickyActionBar = forwardRef(
|
|
|
5539
5214
|
"div",
|
|
5540
5215
|
{
|
|
5541
5216
|
ref,
|
|
5542
|
-
className:
|
|
5217
|
+
className: clsx21(
|
|
5543
5218
|
"ds-sticky-action-bar",
|
|
5544
5219
|
`ds-sticky-action-bar--${position}`,
|
|
5545
5220
|
`ds-sticky-action-bar--${variant}`,
|
|
@@ -5564,7 +5239,7 @@ var Badge = React30.forwardRef(
|
|
|
5564
5239
|
"span",
|
|
5565
5240
|
{
|
|
5566
5241
|
ref,
|
|
5567
|
-
className:
|
|
5242
|
+
className: clsx21("ds-badge", `ds-badge--${variant}`, className),
|
|
5568
5243
|
...props
|
|
5569
5244
|
}
|
|
5570
5245
|
);
|
|
@@ -5585,7 +5260,7 @@ var PricingToggle = forwardRef(
|
|
|
5585
5260
|
"div",
|
|
5586
5261
|
{
|
|
5587
5262
|
ref,
|
|
5588
|
-
className:
|
|
5263
|
+
className: clsx21("ds-pricing-toggle", className),
|
|
5589
5264
|
...props,
|
|
5590
5265
|
children: [
|
|
5591
5266
|
/* @__PURE__ */ jsxs(
|
|
@@ -5654,7 +5329,7 @@ var BookingEmbed = forwardRef(
|
|
|
5654
5329
|
if (typeof ref === "function") ref(node);
|
|
5655
5330
|
else if (ref) ref.current = node;
|
|
5656
5331
|
},
|
|
5657
|
-
className:
|
|
5332
|
+
className: clsx21("ds-booking-embed", className),
|
|
5658
5333
|
style: { "--embed-aspect-ratio": aspectRatio, ...style },
|
|
5659
5334
|
...props,
|
|
5660
5335
|
children: [
|
|
@@ -5667,7 +5342,7 @@ var BookingEmbed = forwardRef(
|
|
|
5667
5342
|
{
|
|
5668
5343
|
src: url,
|
|
5669
5344
|
title,
|
|
5670
|
-
className:
|
|
5345
|
+
className: clsx21("ds-booking-embed__iframe", isIframeLoaded && "ds-booking-embed__iframe--loaded"),
|
|
5671
5346
|
onLoad: handleIframeLoad,
|
|
5672
5347
|
frameBorder: "0",
|
|
5673
5348
|
scrolling: "no"
|
|
@@ -5693,7 +5368,7 @@ var ProblemAgitation = forwardRef(
|
|
|
5693
5368
|
"section",
|
|
5694
5369
|
{
|
|
5695
5370
|
ref,
|
|
5696
|
-
className:
|
|
5371
|
+
className: clsx21("ds-problem-agitation", className),
|
|
5697
5372
|
...props,
|
|
5698
5373
|
children: [
|
|
5699
5374
|
/* @__PURE__ */ jsxs("div", { className: "ds-problem-agitation__header", children: [
|
|
@@ -5766,7 +5441,7 @@ var ProcessTimeline = forwardRef(
|
|
|
5766
5441
|
if (typeof ref === "function") ref(node);
|
|
5767
5442
|
else if (ref) ref.current = node;
|
|
5768
5443
|
},
|
|
5769
|
-
className:
|
|
5444
|
+
className: clsx21(
|
|
5770
5445
|
"ds-process-timeline",
|
|
5771
5446
|
animated && "ds-process-timeline--animated",
|
|
5772
5447
|
className
|
|
@@ -5786,7 +5461,7 @@ var ProcessTimeline = forwardRef(
|
|
|
5786
5461
|
return /* @__PURE__ */ jsxs(
|
|
5787
5462
|
"div",
|
|
5788
5463
|
{
|
|
5789
|
-
className:
|
|
5464
|
+
className: clsx21(
|
|
5790
5465
|
"ds-process-timeline__step",
|
|
5791
5466
|
isActive && "ds-process-timeline__step--active"
|
|
5792
5467
|
),
|
|
@@ -5828,7 +5503,7 @@ var PricingCard = React30.forwardRef(
|
|
|
5828
5503
|
"div",
|
|
5829
5504
|
{
|
|
5830
5505
|
ref,
|
|
5831
|
-
className:
|
|
5506
|
+
className: clsx21(
|
|
5832
5507
|
"ds-pricing-card",
|
|
5833
5508
|
highlighted && "ds-pricing-card--highlighted",
|
|
5834
5509
|
className
|
|
@@ -5850,7 +5525,7 @@ var PricingCard = React30.forwardRef(
|
|
|
5850
5525
|
features.length > 0 && /* @__PURE__ */ jsx("ul", { className: "ds-pricing-card__features", children: features.map((feature, idx) => /* @__PURE__ */ jsxs(
|
|
5851
5526
|
"li",
|
|
5852
5527
|
{
|
|
5853
|
-
className:
|
|
5528
|
+
className: clsx21(
|
|
5854
5529
|
"ds-pricing-card__feature",
|
|
5855
5530
|
feature.included === false && "ds-pricing-card__feature--excluded"
|
|
5856
5531
|
),
|
|
@@ -5892,7 +5567,7 @@ var PricingSection = forwardRef(
|
|
|
5892
5567
|
"section",
|
|
5893
5568
|
{
|
|
5894
5569
|
ref,
|
|
5895
|
-
className:
|
|
5570
|
+
className: clsx21("ds-pricing-section", className),
|
|
5896
5571
|
...props,
|
|
5897
5572
|
children: [
|
|
5898
5573
|
/* @__PURE__ */ jsxs("div", { className: "ds-pricing-section__header", children: [
|
|
@@ -5904,7 +5579,7 @@ var PricingSection = forwardRef(
|
|
|
5904
5579
|
PricingCard,
|
|
5905
5580
|
{
|
|
5906
5581
|
...plan,
|
|
5907
|
-
className:
|
|
5582
|
+
className: clsx21(
|
|
5908
5583
|
"ds-pricing-section__card",
|
|
5909
5584
|
plan.highlighted && "ds-pricing-section__card--popular"
|
|
5910
5585
|
)
|
|
@@ -5967,7 +5642,7 @@ var LeadCaptureForm = forwardRef(
|
|
|
5967
5642
|
"form",
|
|
5968
5643
|
{
|
|
5969
5644
|
ref,
|
|
5970
|
-
className:
|
|
5645
|
+
className: clsx21(
|
|
5971
5646
|
"ds-lead-capture",
|
|
5972
5647
|
`ds-lead-capture--${layout}`,
|
|
5973
5648
|
className
|
|
@@ -5989,7 +5664,7 @@ var LeadCaptureForm = forwardRef(
|
|
|
5989
5664
|
placeholder: emailPlaceholder,
|
|
5990
5665
|
disabled: isCurrentlyLoading,
|
|
5991
5666
|
"aria-label": layout === "horizontal" ? emailLabel : void 0,
|
|
5992
|
-
className:
|
|
5667
|
+
className: clsx21("ds-lead-capture__input", error && "ds-lead-capture__input--error")
|
|
5993
5668
|
}
|
|
5994
5669
|
),
|
|
5995
5670
|
error && /* @__PURE__ */ jsx("div", { className: "ds-lead-capture__error", children: error })
|
|
@@ -6038,7 +5713,7 @@ var ArticleCard = forwardRef(
|
|
|
6038
5713
|
ref,
|
|
6039
5714
|
href,
|
|
6040
5715
|
context: "article-card",
|
|
6041
|
-
className:
|
|
5716
|
+
className: clsx21(
|
|
6042
5717
|
"ds-article-card",
|
|
6043
5718
|
`ds-article-card--${variant}`,
|
|
6044
5719
|
!imageUrl && "ds-article-card--no-image",
|
|
@@ -6124,7 +5799,7 @@ var ArticleLayout = forwardRef(
|
|
|
6124
5799
|
"article",
|
|
6125
5800
|
{
|
|
6126
5801
|
ref,
|
|
6127
|
-
className:
|
|
5802
|
+
className: clsx21("ds-article-layout", className),
|
|
6128
5803
|
...props,
|
|
6129
5804
|
children: [
|
|
6130
5805
|
/* @__PURE__ */ jsxs("header", { className: "ds-article-layout__header", children: [
|
|
@@ -6136,7 +5811,7 @@ var ArticleLayout = forwardRef(
|
|
|
6136
5811
|
] })
|
|
6137
5812
|
] }),
|
|
6138
5813
|
heroImage && /* @__PURE__ */ jsx("div", { className: "ds-article-layout__hero", children: /* @__PURE__ */ jsx("img", { src: heroImage, alt: "", "aria-hidden": "true" }) }),
|
|
6139
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
5814
|
+
/* @__PURE__ */ jsxs("div", { className: clsx21(
|
|
6140
5815
|
"ds-article-layout__body",
|
|
6141
5816
|
sidebar && "ds-article-layout__body--with-sidebar"
|
|
6142
5817
|
), children: [
|
|
@@ -6166,7 +5841,7 @@ var CaseStudyCard = forwardRef(
|
|
|
6166
5841
|
"article",
|
|
6167
5842
|
{
|
|
6168
5843
|
ref,
|
|
6169
|
-
className:
|
|
5844
|
+
className: clsx21("ds-case-study-card", className),
|
|
6170
5845
|
...props,
|
|
6171
5846
|
children: /* @__PURE__ */ jsxs(OutboundLink, { href, context: "case-study-card", className: "ds-case-study-card__link", openInNewTab: false, children: [
|
|
6172
5847
|
coverImage && /* @__PURE__ */ jsx("div", { className: "ds-case-study-card__image-wrap", children: /* @__PURE__ */ jsx(
|
|
@@ -6276,7 +5951,7 @@ var MetricCounter = forwardRef(
|
|
|
6276
5951
|
if (typeof ref === "function") ref(node);
|
|
6277
5952
|
else if (ref) ref.current = node;
|
|
6278
5953
|
},
|
|
6279
|
-
className:
|
|
5954
|
+
className: clsx21("ds-metric-counter", className),
|
|
6280
5955
|
...props,
|
|
6281
5956
|
children: [
|
|
6282
5957
|
/* @__PURE__ */ jsxs("div", { className: "ds-metric-counter__value-wrapper", children: [
|
|
@@ -6307,7 +5982,7 @@ var BrowserFrame = forwardRef(
|
|
|
6307
5982
|
"div",
|
|
6308
5983
|
{
|
|
6309
5984
|
ref,
|
|
6310
|
-
className:
|
|
5985
|
+
className: clsx21(
|
|
6311
5986
|
"ds-browser-frame",
|
|
6312
5987
|
`ds-browser-frame--${variant}`,
|
|
6313
5988
|
withGlow && "ds-browser-frame--glow",
|
|
@@ -6400,7 +6075,7 @@ var VideoEmbed = forwardRef(
|
|
|
6400
6075
|
"div",
|
|
6401
6076
|
{
|
|
6402
6077
|
ref: containerRef,
|
|
6403
|
-
className:
|
|
6078
|
+
className: clsx21("ds-video-embed", withFrame && "ds-video-embed--framed", className),
|
|
6404
6079
|
style: { aspectRatio },
|
|
6405
6080
|
children: !playing ? /* @__PURE__ */ jsxs(
|
|
6406
6081
|
"button",
|
|
@@ -6536,7 +6211,7 @@ var ExitIntentOverlay = forwardRef(
|
|
|
6536
6211
|
document.removeEventListener("mouseout", handleMouseOut);
|
|
6537
6212
|
};
|
|
6538
6213
|
}, [enabled, activationDelay, excludePaths, storageKey, suppressionDuration, show]);
|
|
6539
|
-
return /* @__PURE__ */ jsx("div", { ref, className:
|
|
6214
|
+
return /* @__PURE__ */ jsx("div", { ref, className: clsx21("ds-exit-intent-overlay", className), ...props, children: /* @__PURE__ */ jsx(Dialog, { open, onOpenChange: (isOpen) => {
|
|
6540
6215
|
if (!isOpen) handleDismiss();
|
|
6541
6216
|
}, children: /* @__PURE__ */ jsx(DialogContent, { className: "ds-exit-intent-overlay__dialog", children }) }) });
|
|
6542
6217
|
}
|
|
@@ -6555,7 +6230,7 @@ var BeforeAfterBlock = forwardRef(
|
|
|
6555
6230
|
const renderItems = (items, side) => items.map((item, i) => /* @__PURE__ */ jsxs(
|
|
6556
6231
|
"li",
|
|
6557
6232
|
{
|
|
6558
|
-
className:
|
|
6233
|
+
className: clsx21(
|
|
6559
6234
|
"ds-before-after__item",
|
|
6560
6235
|
item.sentiment && `ds-before-after__item--${item.sentiment}`
|
|
6561
6236
|
),
|
|
@@ -6570,11 +6245,11 @@ var BeforeAfterBlock = forwardRef(
|
|
|
6570
6245
|
SectionShell,
|
|
6571
6246
|
{
|
|
6572
6247
|
ref,
|
|
6573
|
-
className:
|
|
6248
|
+
className: clsx21("ds-before-after", className),
|
|
6574
6249
|
...props,
|
|
6575
6250
|
children: [
|
|
6576
6251
|
/* @__PURE__ */ jsx(SectionHeader, { eyebrow, title }),
|
|
6577
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
6252
|
+
/* @__PURE__ */ jsxs("div", { className: clsx21("ds-before-after__layout", `ds-before-after__layout--${variant}`), children: [
|
|
6578
6253
|
/* @__PURE__ */ jsxs("div", { className: "ds-before-after__column ds-before-after__column--before", children: [
|
|
6579
6254
|
/* @__PURE__ */ jsx("h3", { className: "ds-before-after__label", children: before.label }),
|
|
6580
6255
|
/* @__PURE__ */ jsx("ul", { className: "ds-before-after__list", children: renderItems(before.items, "before") }),
|
|
@@ -6610,7 +6285,7 @@ var CompetitorDiff = forwardRef(
|
|
|
6610
6285
|
SectionShell,
|
|
6611
6286
|
{
|
|
6612
6287
|
ref,
|
|
6613
|
-
className:
|
|
6288
|
+
className: clsx21("ds-competitor-diff", className),
|
|
6614
6289
|
...props,
|
|
6615
6290
|
children: [
|
|
6616
6291
|
/* @__PURE__ */ jsx(SectionHeader, { eyebrow, title, subtitle }),
|
|
@@ -6688,7 +6363,7 @@ var StakeholderTabs = forwardRef(
|
|
|
6688
6363
|
SectionShell,
|
|
6689
6364
|
{
|
|
6690
6365
|
ref,
|
|
6691
|
-
className:
|
|
6366
|
+
className: clsx21("ds-stakeholder-tabs", className),
|
|
6692
6367
|
...props,
|
|
6693
6368
|
children: [
|
|
6694
6369
|
/* @__PURE__ */ jsx(SectionHeader, { eyebrow, title }),
|
|
@@ -6738,7 +6413,7 @@ var IntegrationShowcase = forwardRef(
|
|
|
6738
6413
|
SectionShell,
|
|
6739
6414
|
{
|
|
6740
6415
|
ref,
|
|
6741
|
-
className:
|
|
6416
|
+
className: clsx21("ds-integration-showcase", className),
|
|
6742
6417
|
...props,
|
|
6743
6418
|
children: [
|
|
6744
6419
|
/* @__PURE__ */ jsx(SectionHeader, { eyebrow, title, subtitle }),
|
|
@@ -6753,7 +6428,7 @@ var IntegrationShowcase = forwardRef(
|
|
|
6753
6428
|
]
|
|
6754
6429
|
}
|
|
6755
6430
|
),
|
|
6756
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
6431
|
+
/* @__PURE__ */ jsx("div", { className: clsx21("ds-integration-showcase__grid", `ds-integration-showcase__grid--${variant}`), children: filtered.map((integration, i) => {
|
|
6757
6432
|
const Card2 = /* @__PURE__ */ jsxs("div", { className: "ds-integration-showcase__card", children: [
|
|
6758
6433
|
/* @__PURE__ */ jsx("div", { className: "ds-integration-showcase__logo", children: integration.logo }),
|
|
6759
6434
|
/* @__PURE__ */ jsxs("div", { className: "ds-integration-showcase__info", children: [
|
|
@@ -6787,11 +6462,11 @@ var SecurityBlock = forwardRef(
|
|
|
6787
6462
|
SectionShell,
|
|
6788
6463
|
{
|
|
6789
6464
|
ref,
|
|
6790
|
-
className:
|
|
6465
|
+
className: clsx21("ds-security-block", className),
|
|
6791
6466
|
...props,
|
|
6792
6467
|
children: [
|
|
6793
6468
|
/* @__PURE__ */ jsx(SectionHeader, { eyebrow, title, subtitle }),
|
|
6794
|
-
certifications && certifications.length > 0 && /* @__PURE__ */ jsx("div", { className:
|
|
6469
|
+
certifications && certifications.length > 0 && /* @__PURE__ */ jsx("div", { className: clsx21("ds-security-block__certs", `ds-security-block__certs--${variant}`), children: certifications.map((cert, i) => {
|
|
6795
6470
|
const inner = /* @__PURE__ */ jsxs("div", { className: "ds-security-block__cert", children: [
|
|
6796
6471
|
/* @__PURE__ */ jsx("div", { className: "ds-security-block__cert-icon", children: cert.icon }),
|
|
6797
6472
|
/* @__PURE__ */ jsxs("div", { className: "ds-security-block__cert-info", children: [
|
|
@@ -6830,7 +6505,7 @@ var AuthorBio = forwardRef(
|
|
|
6830
6505
|
"div",
|
|
6831
6506
|
{
|
|
6832
6507
|
ref,
|
|
6833
|
-
className:
|
|
6508
|
+
className: clsx21("ds-author-bio", `ds-author-bio--${variant}`, className),
|
|
6834
6509
|
...props,
|
|
6835
6510
|
children: [
|
|
6836
6511
|
/* @__PURE__ */ jsxs(Avatar, { size: variant === "compact" ? "sm" : variant === "longform" ? "lg" : "md", className: "ds-author-bio__avatar", children: [
|
|
@@ -7452,7 +7127,7 @@ var TableOfContents = forwardRef(
|
|
|
7452
7127
|
"nav",
|
|
7453
7128
|
{
|
|
7454
7129
|
ref,
|
|
7455
|
-
className:
|
|
7130
|
+
className: clsx21("ds-toc", `ds-toc--${position}`, className),
|
|
7456
7131
|
"aria-label": finalLabel,
|
|
7457
7132
|
...props,
|
|
7458
7133
|
children: [
|
|
@@ -7461,7 +7136,7 @@ var TableOfContents = forwardRef(
|
|
|
7461
7136
|
"button",
|
|
7462
7137
|
{
|
|
7463
7138
|
type: "button",
|
|
7464
|
-
className:
|
|
7139
|
+
className: clsx21(
|
|
7465
7140
|
"ds-toc__link",
|
|
7466
7141
|
activeId === item.id && "ds-toc__link--active"
|
|
7467
7142
|
),
|
|
@@ -7490,7 +7165,7 @@ var RelatedContent = forwardRef(
|
|
|
7490
7165
|
SectionShell,
|
|
7491
7166
|
{
|
|
7492
7167
|
ref,
|
|
7493
|
-
className:
|
|
7168
|
+
className: clsx21("ds-related-content", className),
|
|
7494
7169
|
background: "muted",
|
|
7495
7170
|
...props,
|
|
7496
7171
|
children: [
|
|
@@ -7526,7 +7201,7 @@ var CaseStudySection = forwardRef(
|
|
|
7526
7201
|
SectionShell,
|
|
7527
7202
|
{
|
|
7528
7203
|
ref,
|
|
7529
|
-
className:
|
|
7204
|
+
className: clsx21("ds-case-study-section", className),
|
|
7530
7205
|
...props,
|
|
7531
7206
|
children: [
|
|
7532
7207
|
/* @__PURE__ */ jsx(SectionHeader, { eyebrow, title, subtitle }),
|
|
@@ -7562,7 +7237,7 @@ var ManifestoBlock = forwardRef(
|
|
|
7562
7237
|
SectionShell,
|
|
7563
7238
|
{
|
|
7564
7239
|
ref,
|
|
7565
|
-
className:
|
|
7240
|
+
className: clsx21("ds-manifesto", `ds-manifesto--${variant}`, className),
|
|
7566
7241
|
...props,
|
|
7567
7242
|
children: /* @__PURE__ */ jsxs("div", { className: "ds-manifesto__inner", children: [
|
|
7568
7243
|
variant === "quote" && /* @__PURE__ */ jsx("span", { className: "ds-manifesto__quote-mark", "aria-hidden": "true", children: "\u201C" }),
|
|
@@ -7601,7 +7276,7 @@ var ComplianceGrid = forwardRef(
|
|
|
7601
7276
|
SectionShell,
|
|
7602
7277
|
{
|
|
7603
7278
|
ref,
|
|
7604
|
-
className:
|
|
7279
|
+
className: clsx21("ds-compliance-grid", className),
|
|
7605
7280
|
...props,
|
|
7606
7281
|
children: [
|
|
7607
7282
|
/* @__PURE__ */ jsx(SectionHeader, { eyebrow, title, subtitle }),
|
|
@@ -7609,7 +7284,7 @@ var ComplianceGrid = forwardRef(
|
|
|
7609
7284
|
const inner = /* @__PURE__ */ jsxs(
|
|
7610
7285
|
"div",
|
|
7611
7286
|
{
|
|
7612
|
-
className:
|
|
7287
|
+
className: clsx21(
|
|
7613
7288
|
"ds-compliance-grid__item",
|
|
7614
7289
|
`ds-compliance-grid__item--${item.status}`
|
|
7615
7290
|
),
|
|
@@ -7620,7 +7295,7 @@ var ComplianceGrid = forwardRef(
|
|
|
7620
7295
|
/* @__PURE__ */ jsx(
|
|
7621
7296
|
Badge,
|
|
7622
7297
|
{
|
|
7623
|
-
className:
|
|
7298
|
+
className: clsx21(
|
|
7624
7299
|
"ds-compliance-grid__status",
|
|
7625
7300
|
`ds-compliance-grid__status--${item.status}`
|
|
7626
7301
|
),
|
|
@@ -7655,7 +7330,7 @@ var ArchitectureDiagram = forwardRef(
|
|
|
7655
7330
|
"div",
|
|
7656
7331
|
{
|
|
7657
7332
|
ref,
|
|
7658
|
-
className:
|
|
7333
|
+
className: clsx21(
|
|
7659
7334
|
"ds-architecture",
|
|
7660
7335
|
`ds-architecture--${direction}`,
|
|
7661
7336
|
className
|
|
@@ -7668,7 +7343,7 @@ var ArchitectureDiagram = forwardRef(
|
|
|
7668
7343
|
/* @__PURE__ */ jsx(
|
|
7669
7344
|
"div",
|
|
7670
7345
|
{
|
|
7671
|
-
className:
|
|
7346
|
+
className: clsx21(
|
|
7672
7347
|
"ds-architecture__line",
|
|
7673
7348
|
connections.find(
|
|
7674
7349
|
(c) => c.from === nodes[i - 1]?.id && c.to === node.id
|
|
@@ -7686,7 +7361,7 @@ var ArchitectureDiagram = forwardRef(
|
|
|
7686
7361
|
/* @__PURE__ */ jsxs(
|
|
7687
7362
|
"div",
|
|
7688
7363
|
{
|
|
7689
|
-
className:
|
|
7364
|
+
className: clsx21(
|
|
7690
7365
|
"ds-architecture__node",
|
|
7691
7366
|
`ds-architecture__node--${node.type}`
|
|
7692
7367
|
),
|
|
@@ -7737,7 +7412,7 @@ var SegmentSwitch = forwardRef(
|
|
|
7737
7412
|
}, [controlledSegment, source, utmParam, cookieName]);
|
|
7738
7413
|
const content = resolvedSegment && segments[resolvedSegment] ? segments[resolvedSegment] : fallback;
|
|
7739
7414
|
if (!content) return null;
|
|
7740
|
-
return /* @__PURE__ */ jsx("div", { ref, className:
|
|
7415
|
+
return /* @__PURE__ */ jsx("div", { ref, className: clsx21(className), ...props, children: content });
|
|
7741
7416
|
}
|
|
7742
7417
|
);
|
|
7743
7418
|
SegmentSwitch.displayName = "SegmentSwitch";
|
|
@@ -7800,7 +7475,7 @@ var IntentCTA = forwardRef(
|
|
|
7800
7475
|
"div",
|
|
7801
7476
|
{
|
|
7802
7477
|
ref,
|
|
7803
|
-
className:
|
|
7478
|
+
className: clsx21("ds-intent-cta", className),
|
|
7804
7479
|
...props,
|
|
7805
7480
|
children: /* @__PURE__ */ jsx(
|
|
7806
7481
|
Button,
|
|
@@ -7817,7 +7492,7 @@ var IntentCTA = forwardRef(
|
|
|
7817
7492
|
IntentCTA.displayName = "IntentCTA";
|
|
7818
7493
|
var LongFormLayout = React30.forwardRef(
|
|
7819
7494
|
({ children, sidebar, className, ...props }, ref) => {
|
|
7820
|
-
return /* @__PURE__ */ jsxs("div", { ref, className:
|
|
7495
|
+
return /* @__PURE__ */ jsxs("div", { ref, className: clsx21("ds-longform-layout", className), ...props, children: [
|
|
7821
7496
|
/* @__PURE__ */ jsx("article", { className: "ds-longform-layout__main", children }),
|
|
7822
7497
|
sidebar && /* @__PURE__ */ jsx("aside", { className: "ds-longform-layout__sidebar", children: sidebar })
|
|
7823
7498
|
] });
|
|
@@ -7826,7 +7501,7 @@ var LongFormLayout = React30.forwardRef(
|
|
|
7826
7501
|
LongFormLayout.displayName = "LongFormLayout";
|
|
7827
7502
|
var InsightCallout = React30.forwardRef(
|
|
7828
7503
|
({ children, icon, title, className, ...props }, ref) => {
|
|
7829
|
-
return /* @__PURE__ */ jsxs("aside", { ref, className:
|
|
7504
|
+
return /* @__PURE__ */ jsxs("aside", { ref, className: clsx21("ds-insight-callout", className), ...props, children: [
|
|
7830
7505
|
icon && /* @__PURE__ */ jsx("div", { className: "ds-insight-callout__icon", children: icon }),
|
|
7831
7506
|
/* @__PURE__ */ jsxs("div", { className: "ds-insight-callout__content", children: [
|
|
7832
7507
|
title && /* @__PURE__ */ jsx("h5", { className: "ds-insight-callout__title", children: title }),
|
|
@@ -7838,7 +7513,7 @@ var InsightCallout = React30.forwardRef(
|
|
|
7838
7513
|
InsightCallout.displayName = "InsightCallout";
|
|
7839
7514
|
var DataHighlight = React30.forwardRef(
|
|
7840
7515
|
({ stat, label, children, className, ...props }, ref) => {
|
|
7841
|
-
return /* @__PURE__ */ jsxs("figure", { ref, className:
|
|
7516
|
+
return /* @__PURE__ */ jsxs("figure", { ref, className: clsx21("ds-data-highlight", className), ...props, children: [
|
|
7842
7517
|
/* @__PURE__ */ jsxs("div", { className: "ds-data-highlight__stat-group", children: [
|
|
7843
7518
|
/* @__PURE__ */ jsx("span", { className: "ds-data-highlight__stat", children: stat }),
|
|
7844
7519
|
/* @__PURE__ */ jsx("span", { className: "ds-data-highlight__label", children: label })
|
|
@@ -7896,7 +7571,7 @@ var ReadingProgress = React30.forwardRef(
|
|
|
7896
7571
|
"div",
|
|
7897
7572
|
{
|
|
7898
7573
|
ref,
|
|
7899
|
-
className:
|
|
7574
|
+
className: clsx21("ds-reading-progress", className),
|
|
7900
7575
|
...props,
|
|
7901
7576
|
children: /* @__PURE__ */ jsx(
|
|
7902
7577
|
"div",
|
|
@@ -7918,7 +7593,7 @@ var VersionedUpgradeAlert = React30.forwardRef(
|
|
|
7918
7593
|
"div",
|
|
7919
7594
|
{
|
|
7920
7595
|
ref,
|
|
7921
|
-
className:
|
|
7596
|
+
className: clsx21("ds-versioned-alert", className),
|
|
7922
7597
|
role: "alert",
|
|
7923
7598
|
...props,
|
|
7924
7599
|
children: [
|
|
@@ -7967,7 +7642,7 @@ VersionedUpgradeAlert.displayName = "VersionedUpgradeAlert";
|
|
|
7967
7642
|
var VersionedSeriesNavigator = React30.forwardRef(
|
|
7968
7643
|
({ seriesName, hubUrl, editions, className, ...props }, ref) => {
|
|
7969
7644
|
const sortedEditions = [...editions].sort((a, b) => a.year - b.year);
|
|
7970
|
-
return /* @__PURE__ */ jsxs("div", { ref, className:
|
|
7645
|
+
return /* @__PURE__ */ jsxs("div", { ref, className: clsx21("ds-versioned-navigator", className), ...props, children: [
|
|
7971
7646
|
/* @__PURE__ */ jsxs("div", { className: "ds-versioned-navigator__header", children: [
|
|
7972
7647
|
/* @__PURE__ */ jsx("span", { className: "ds-versioned-navigator__label", children: "Series" }),
|
|
7973
7648
|
/* @__PURE__ */ jsxs(OutboundLink, { href: hubUrl, context: "versioned-navigator-hub", className: "ds-versioned-navigator__title", openInNewTab: false, children: [
|
|
@@ -7982,7 +7657,7 @@ var VersionedSeriesNavigator = React30.forwardRef(
|
|
|
7982
7657
|
{
|
|
7983
7658
|
href: edition.url,
|
|
7984
7659
|
context: "versioned-navigator-edition",
|
|
7985
|
-
className:
|
|
7660
|
+
className: clsx21(
|
|
7986
7661
|
"ds-versioned-navigator__node",
|
|
7987
7662
|
edition.isCurrent && "ds-versioned-navigator__node--active"
|
|
7988
7663
|
),
|
|
@@ -8011,7 +7686,7 @@ var EvolutionTimeline = forwardRef(
|
|
|
8011
7686
|
SectionShell,
|
|
8012
7687
|
{
|
|
8013
7688
|
ref,
|
|
8014
|
-
className:
|
|
7689
|
+
className: clsx21("ds-evolution-timeline", className),
|
|
8015
7690
|
...props,
|
|
8016
7691
|
children: [
|
|
8017
7692
|
/* @__PURE__ */ jsx(SectionHeader, { eyebrow, title, subtitle }),
|
|
@@ -8020,7 +7695,7 @@ var EvolutionTimeline = forwardRef(
|
|
|
8020
7695
|
eras.map((era, i) => /* @__PURE__ */ jsxs(
|
|
8021
7696
|
"div",
|
|
8022
7697
|
{
|
|
8023
|
-
className:
|
|
7698
|
+
className: clsx21(
|
|
8024
7699
|
"ds-evolution-timeline__era",
|
|
8025
7700
|
`ds-evolution-timeline__era--${era.sentiment}`,
|
|
8026
7701
|
era.current && "ds-evolution-timeline__era--current"
|
|
@@ -8066,7 +7741,7 @@ var EcosystemDiagram = forwardRef(
|
|
|
8066
7741
|
SectionShell,
|
|
8067
7742
|
{
|
|
8068
7743
|
ref,
|
|
8069
|
-
className:
|
|
7744
|
+
className: clsx21("ds-ecosystem", `ds-ecosystem--${variant}`, className),
|
|
8070
7745
|
...props,
|
|
8071
7746
|
children: [
|
|
8072
7747
|
/* @__PURE__ */ jsx(SectionHeader, { eyebrow, title, subtitle }),
|
|
@@ -8120,7 +7795,7 @@ var ValueAnchor = forwardRef(
|
|
|
8120
7795
|
SectionShell,
|
|
8121
7796
|
{
|
|
8122
7797
|
ref,
|
|
8123
|
-
className:
|
|
7798
|
+
className: clsx21("ds-value-anchor", className),
|
|
8124
7799
|
...props,
|
|
8125
7800
|
children: [
|
|
8126
7801
|
/* @__PURE__ */ jsx(SectionHeader, { eyebrow, title, subtitle }),
|
|
@@ -8201,7 +7876,7 @@ var EnterpriseSignaling = forwardRef(
|
|
|
8201
7876
|
"div",
|
|
8202
7877
|
{
|
|
8203
7878
|
ref,
|
|
8204
|
-
className:
|
|
7879
|
+
className: clsx21("ds-enterprise-signaling", "ds-enterprise-signaling--strip", className),
|
|
8205
7880
|
...props,
|
|
8206
7881
|
children: /* @__PURE__ */ jsx("div", { className: "ds-enterprise-signaling__strip-inner", children: categories.flatMap((cat) => cat.items.filter((i) => i.status === "active")).map((item, i) => /* @__PURE__ */ jsx("span", { className: "ds-enterprise-signaling__strip-item", children: item.name }, i)) })
|
|
8207
7882
|
}
|
|
@@ -8211,7 +7886,7 @@ var EnterpriseSignaling = forwardRef(
|
|
|
8211
7886
|
SectionShell,
|
|
8212
7887
|
{
|
|
8213
7888
|
ref,
|
|
8214
|
-
className:
|
|
7889
|
+
className: clsx21("ds-enterprise-signaling", `ds-enterprise-signaling--${variant}`, className),
|
|
8215
7890
|
...props,
|
|
8216
7891
|
children: [
|
|
8217
7892
|
/* @__PURE__ */ jsx(SectionHeader, { eyebrow, title, subtitle }),
|
|
@@ -8224,7 +7899,7 @@ var EnterpriseSignaling = forwardRef(
|
|
|
8224
7899
|
const inner = /* @__PURE__ */ jsxs(
|
|
8225
7900
|
"div",
|
|
8226
7901
|
{
|
|
8227
|
-
className:
|
|
7902
|
+
className: clsx21(
|
|
8228
7903
|
"ds-enterprise-signaling__item",
|
|
8229
7904
|
`ds-enterprise-signaling__item--${item.status}`
|
|
8230
7905
|
),
|
|
@@ -8233,7 +7908,7 @@ var EnterpriseSignaling = forwardRef(
|
|
|
8233
7908
|
/* @__PURE__ */ jsx(
|
|
8234
7909
|
Badge,
|
|
8235
7910
|
{
|
|
8236
|
-
className:
|
|
7911
|
+
className: clsx21("ds-enterprise-signaling__item-status", `ds-enterprise-signaling__item-status--${item.status}`),
|
|
8237
7912
|
variant: "outline",
|
|
8238
7913
|
children: STATUS_LABELS2[item.status]
|
|
8239
7914
|
}
|
|
@@ -8312,7 +7987,7 @@ var IntelligenceBlock = forwardRef(
|
|
|
8312
7987
|
SectionShell,
|
|
8313
7988
|
{
|
|
8314
7989
|
ref,
|
|
8315
|
-
className:
|
|
7990
|
+
className: clsx21("ds-intelligence", `ds-intelligence--${variant}`, className),
|
|
8316
7991
|
...props,
|
|
8317
7992
|
children: [
|
|
8318
7993
|
/* @__PURE__ */ jsx(SectionHeader, { eyebrow, title, subtitle }),
|
|
@@ -8367,7 +8042,7 @@ var PartnerValueProp = forwardRef(
|
|
|
8367
8042
|
SectionShell,
|
|
8368
8043
|
{
|
|
8369
8044
|
ref,
|
|
8370
|
-
className:
|
|
8045
|
+
className: clsx21("ds-partner-vp", className),
|
|
8371
8046
|
...props,
|
|
8372
8047
|
children: [
|
|
8373
8048
|
/* @__PURE__ */ jsx(SectionHeader, { eyebrow, title, subtitle }),
|
|
@@ -8449,7 +8124,7 @@ var PartnerValueProp = forwardRef(
|
|
|
8449
8124
|
PartnerValueProp.displayName = "PartnerValueProp";
|
|
8450
8125
|
var ComparisonTable = React30.forwardRef(
|
|
8451
8126
|
({ columns, rows, caption, className, ...props }, ref) => {
|
|
8452
|
-
return /* @__PURE__ */ jsx("div", { ref, className:
|
|
8127
|
+
return /* @__PURE__ */ jsx("div", { ref, className: clsx21("ds-comparison-table", className), ...props, children: /* @__PURE__ */ jsx("div", { className: "ds-comparison-table__scroll", children: /* @__PURE__ */ jsxs("table", { className: "ds-comparison-table__table", role: "table", children: [
|
|
8453
8128
|
caption && /* @__PURE__ */ jsx("caption", { className: "ds-comparison-table__caption", children: caption }),
|
|
8454
8129
|
/* @__PURE__ */ jsx("thead", { className: "ds-comparison-table__head", children: /* @__PURE__ */ jsxs("tr", { children: [
|
|
8455
8130
|
/* @__PURE__ */ jsx("th", { className: "ds-comparison-table__corner", scope: "col", children: /* @__PURE__ */ jsx("span", { className: "ds-visually-hidden", children: "Feature" }) }),
|
|
@@ -8457,7 +8132,7 @@ var ComparisonTable = React30.forwardRef(
|
|
|
8457
8132
|
"th",
|
|
8458
8133
|
{
|
|
8459
8134
|
scope: "col",
|
|
8460
|
-
className:
|
|
8135
|
+
className: clsx21(
|
|
8461
8136
|
"ds-comparison-table__col-header",
|
|
8462
8137
|
col.highlighted && "ds-comparison-table__col-header--highlighted"
|
|
8463
8138
|
),
|
|
@@ -8482,7 +8157,7 @@ var ComparisonTable = React30.forwardRef(
|
|
|
8482
8157
|
row.values.map((val, colIdx) => /* @__PURE__ */ jsx(
|
|
8483
8158
|
"td",
|
|
8484
8159
|
{
|
|
8485
|
-
className:
|
|
8160
|
+
className: clsx21(
|
|
8486
8161
|
"ds-comparison-table__cell",
|
|
8487
8162
|
columns[colIdx]?.highlighted && "ds-comparison-table__cell--highlighted"
|
|
8488
8163
|
),
|
|
@@ -8510,7 +8185,7 @@ var GuaranteeHighlight = React30.forwardRef(
|
|
|
8510
8185
|
"div",
|
|
8511
8186
|
{
|
|
8512
8187
|
ref,
|
|
8513
|
-
className:
|
|
8188
|
+
className: clsx21(
|
|
8514
8189
|
"ds-guarantee",
|
|
8515
8190
|
`ds-guarantee--${variant}`,
|
|
8516
8191
|
className
|
|
@@ -8539,7 +8214,7 @@ var ROICalculator = React30.forwardRef(
|
|
|
8539
8214
|
className,
|
|
8540
8215
|
...props
|
|
8541
8216
|
}, ref) => {
|
|
8542
|
-
return /* @__PURE__ */ jsxs("div", { ref, className:
|
|
8217
|
+
return /* @__PURE__ */ jsxs("div", { ref, className: clsx21("ds-roi-calculator", className), ...props, children: [
|
|
8543
8218
|
(eyebrow || title) && /* @__PURE__ */ jsxs("div", { className: "ds-roi-calculator__header", children: [
|
|
8544
8219
|
eyebrow && /* @__PURE__ */ jsx("span", { className: "ds-roi-calculator__eyebrow", children: eyebrow }),
|
|
8545
8220
|
title && /* @__PURE__ */ jsx("h3", { className: "ds-roi-calculator__title", children: title })
|
|
@@ -8547,7 +8222,7 @@ var ROICalculator = React30.forwardRef(
|
|
|
8547
8222
|
/* @__PURE__ */ jsx("div", { className: "ds-roi-calculator__grid", children: items.map((item, idx) => /* @__PURE__ */ jsxs(
|
|
8548
8223
|
"div",
|
|
8549
8224
|
{
|
|
8550
|
-
className:
|
|
8225
|
+
className: clsx21(
|
|
8551
8226
|
"ds-roi-calculator__item",
|
|
8552
8227
|
item.isRecommended && "ds-roi-calculator__item--recommended"
|
|
8553
8228
|
),
|
|
@@ -8581,7 +8256,7 @@ var ICPFilter = React30.forwardRef(
|
|
|
8581
8256
|
"div",
|
|
8582
8257
|
{
|
|
8583
8258
|
ref,
|
|
8584
|
-
className:
|
|
8259
|
+
className: clsx21(
|
|
8585
8260
|
"ds-icp-filter",
|
|
8586
8261
|
`ds-icp-filter--${variant}`,
|
|
8587
8262
|
className
|
|
@@ -8641,7 +8316,7 @@ var ObjectionFAQ = React30.forwardRef(
|
|
|
8641
8316
|
},
|
|
8642
8317
|
[allowMultiple]
|
|
8643
8318
|
);
|
|
8644
|
-
return /* @__PURE__ */ jsxs("div", { ref, className:
|
|
8319
|
+
return /* @__PURE__ */ jsxs("div", { ref, className: clsx21("ds-objection-faq", className), ...props, children: [
|
|
8645
8320
|
(title || subtitle) && /* @__PURE__ */ jsxs("div", { className: "ds-objection-faq__header", children: [
|
|
8646
8321
|
title && /* @__PURE__ */ jsx("h3", { className: "ds-objection-faq__title", children: title }),
|
|
8647
8322
|
subtitle && /* @__PURE__ */ jsx("p", { className: "ds-objection-faq__subtitle", children: subtitle })
|
|
@@ -8651,7 +8326,7 @@ var ObjectionFAQ = React30.forwardRef(
|
|
|
8651
8326
|
return /* @__PURE__ */ jsxs(
|
|
8652
8327
|
"div",
|
|
8653
8328
|
{
|
|
8654
|
-
className:
|
|
8329
|
+
className: clsx21(
|
|
8655
8330
|
"ds-objection-faq__item",
|
|
8656
8331
|
isOpen && "ds-objection-faq__item--open"
|
|
8657
8332
|
),
|
|
@@ -8712,7 +8387,7 @@ var StatusBadge = React30.forwardRef(
|
|
|
8712
8387
|
"span",
|
|
8713
8388
|
{
|
|
8714
8389
|
ref,
|
|
8715
|
-
className:
|
|
8390
|
+
className: clsx21(
|
|
8716
8391
|
"ds-status-badge",
|
|
8717
8392
|
`ds-status-badge--${variant}`,
|
|
8718
8393
|
`ds-status-badge--${size}`,
|
|
@@ -8809,7 +8484,7 @@ var Alert = React30.forwardRef(
|
|
|
8809
8484
|
{
|
|
8810
8485
|
ref,
|
|
8811
8486
|
role: "alert",
|
|
8812
|
-
className:
|
|
8487
|
+
className: clsx21("ds-alert", `ds-alert--${variant}`, className),
|
|
8813
8488
|
...props,
|
|
8814
8489
|
children: [
|
|
8815
8490
|
/* @__PURE__ */ jsx("div", { className: "ds-alert__icon", "aria-hidden": "true", children: renderedIcon }),
|
|
@@ -8839,7 +8514,7 @@ var ToastItem = ({
|
|
|
8839
8514
|
onDismiss,
|
|
8840
8515
|
dismissLabel = "Close"
|
|
8841
8516
|
}) => {
|
|
8842
|
-
return /* @__PURE__ */ jsxs("div", { className:
|
|
8517
|
+
return /* @__PURE__ */ jsxs("div", { className: clsx21("ds-toast-root", `ds-toast--${variant}`), "data-state": "open", role: "alert", children: [
|
|
8843
8518
|
title && /* @__PURE__ */ jsx("div", { className: "ds-toast-title", children: title }),
|
|
8844
8519
|
description && /* @__PURE__ */ jsx("div", { className: "ds-toast-description", children: description }),
|
|
8845
8520
|
action && /* @__PURE__ */ jsx("div", { className: "ds-toast-action", children: action }),
|
|
@@ -8914,7 +8589,7 @@ var DropdownMenuTrigger = React30.forwardRef(({ className, ...props }, ref) => {
|
|
|
8914
8589
|
Menu.Trigger,
|
|
8915
8590
|
{
|
|
8916
8591
|
ref,
|
|
8917
|
-
className:
|
|
8592
|
+
className: clsx21("ds-dropdown-menu__trigger", className),
|
|
8918
8593
|
...props
|
|
8919
8594
|
}
|
|
8920
8595
|
);
|
|
@@ -8933,7 +8608,7 @@ var DropdownMenuContent = React30.forwardRef(
|
|
|
8933
8608
|
Menu.Popup,
|
|
8934
8609
|
{
|
|
8935
8610
|
ref,
|
|
8936
|
-
className:
|
|
8611
|
+
className: clsx21("ds-dropdown-menu__content", className),
|
|
8937
8612
|
...props
|
|
8938
8613
|
}
|
|
8939
8614
|
)
|
|
@@ -8944,21 +8619,21 @@ var DropdownMenuContent = React30.forwardRef(
|
|
|
8944
8619
|
DropdownMenuContent.displayName = "DropdownMenuContent";
|
|
8945
8620
|
var DropdownMenuItem = React30.forwardRef(
|
|
8946
8621
|
({ className, ...props }, ref) => {
|
|
8947
|
-
return /* @__PURE__ */ jsx(Menu.Item, { ref, className:
|
|
8622
|
+
return /* @__PURE__ */ jsx(Menu.Item, { ref, className: clsx21("ds-dropdown-menu__item", className), ...props });
|
|
8948
8623
|
}
|
|
8949
8624
|
);
|
|
8950
8625
|
DropdownMenuItem.displayName = "DropdownMenuItem";
|
|
8951
8626
|
var DropdownMenuSeparator = React30.forwardRef(({ className, ...props }, ref) => {
|
|
8952
|
-
return /* @__PURE__ */ jsx("div", { ref, className:
|
|
8627
|
+
return /* @__PURE__ */ jsx("div", { ref, className: clsx21("ds-dropdown-menu__separator", className), ...props });
|
|
8953
8628
|
});
|
|
8954
8629
|
DropdownMenuSeparator.displayName = "DropdownMenuSeparator";
|
|
8955
8630
|
var DropdownMenuLabel = React30.forwardRef(({ className, ...props }, ref) => {
|
|
8956
|
-
return /* @__PURE__ */ jsx("div", { ref, className:
|
|
8631
|
+
return /* @__PURE__ */ jsx("div", { ref, className: clsx21("ds-dropdown-menu__label", className), ...props });
|
|
8957
8632
|
});
|
|
8958
8633
|
DropdownMenuLabel.displayName = "DropdownMenuLabel";
|
|
8959
8634
|
var EmptyState = React30.forwardRef(
|
|
8960
8635
|
({ icon, title, description, action, className, ...props }, ref) => {
|
|
8961
|
-
return /* @__PURE__ */ jsxs("div", { ref, className:
|
|
8636
|
+
return /* @__PURE__ */ jsxs("div", { ref, className: clsx21("ds-empty-state", className), ...props, children: [
|
|
8962
8637
|
icon && /* @__PURE__ */ jsx("div", { className: "ds-empty-state__icon", children: icon }),
|
|
8963
8638
|
/* @__PURE__ */ jsx("h3", { className: "ds-empty-state__title", children: title }),
|
|
8964
8639
|
description && /* @__PURE__ */ jsx("p", { className: "ds-empty-state__description", children: description }),
|
|
@@ -9115,7 +8790,7 @@ var Login = ({
|
|
|
9115
8790
|
e.preventDefault();
|
|
9116
8791
|
onSubmit?.({ email, password, rememberMe });
|
|
9117
8792
|
};
|
|
9118
|
-
return /* @__PURE__ */ jsxs("div", { className:
|
|
8793
|
+
return /* @__PURE__ */ jsxs("div", { className: clsx21("ds-login", className), style, children: [
|
|
9119
8794
|
/* @__PURE__ */ jsxs("div", { className: "ds-login__background", children: [
|
|
9120
8795
|
/* @__PURE__ */ jsx("div", { className: "ds-login__accent ds-login__accent--1", "aria-hidden": "true" }),
|
|
9121
8796
|
/* @__PURE__ */ jsx("div", { className: "ds-login__accent ds-login__accent--2", "aria-hidden": "true" })
|
|
@@ -9347,7 +9022,7 @@ var ChangeEmail = ({
|
|
|
9347
9022
|
e.preventDefault();
|
|
9348
9023
|
onSubmit?.({ newEmail, currentPassword });
|
|
9349
9024
|
};
|
|
9350
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
9025
|
+
return /* @__PURE__ */ jsx("div", { className: clsx21("ds-change-email", className), style, children: /* @__PURE__ */ jsxs("div", { className: "ds-change-email__container", children: [
|
|
9351
9026
|
/* @__PURE__ */ jsx("div", { className: "ds-change-email__accent ds-change-email__accent--1", "aria-hidden": "true" }),
|
|
9352
9027
|
/* @__PURE__ */ jsx("div", { className: "ds-change-email__accent ds-change-email__accent--2", "aria-hidden": "true" }),
|
|
9353
9028
|
/* @__PURE__ */ jsxs("div", { className: "ds-change-email__card", children: [
|
|
@@ -9577,7 +9252,7 @@ var Signup = ({
|
|
|
9577
9252
|
};
|
|
9578
9253
|
const isFormValid = name && email && password.length >= 8 && acceptedTerms;
|
|
9579
9254
|
if (isSuccess) {
|
|
9580
|
-
return /* @__PURE__ */ jsxs("div", { className:
|
|
9255
|
+
return /* @__PURE__ */ jsxs("div", { className: clsx21("ds-signup", className), style, children: [
|
|
9581
9256
|
/* @__PURE__ */ jsxs("div", { className: "ds-signup__background", children: [
|
|
9582
9257
|
/* @__PURE__ */ jsx("div", { className: "ds-signup__accent ds-signup__accent--1", "aria-hidden": "true" }),
|
|
9583
9258
|
/* @__PURE__ */ jsx("div", { className: "ds-signup__accent ds-signup__accent--2", "aria-hidden": "true" })
|
|
@@ -9602,7 +9277,7 @@ var Signup = ({
|
|
|
9602
9277
|
] })
|
|
9603
9278
|
] });
|
|
9604
9279
|
}
|
|
9605
|
-
return /* @__PURE__ */ jsxs("div", { className:
|
|
9280
|
+
return /* @__PURE__ */ jsxs("div", { className: clsx21("ds-signup", className), style, children: [
|
|
9606
9281
|
/* @__PURE__ */ jsxs("div", { className: "ds-signup__background", children: [
|
|
9607
9282
|
/* @__PURE__ */ jsx("div", { className: "ds-signup__accent ds-signup__accent--1", "aria-hidden": "true" }),
|
|
9608
9283
|
/* @__PURE__ */ jsx("div", { className: "ds-signup__accent ds-signup__accent--2", "aria-hidden": "true" })
|
|
@@ -9724,7 +9399,7 @@ var Signup = ({
|
|
|
9724
9399
|
disabled: isLoading,
|
|
9725
9400
|
className: "ds-signup__phone-container ds-textfield__input",
|
|
9726
9401
|
id: "phone-input"
|
|
9727
|
-
}) : /* @__PURE__ */ jsxs("div", { className:
|
|
9402
|
+
}) : /* @__PURE__ */ jsxs("div", { className: clsx21("ds-signup__phone-container", "ds-textfield__input"), children: [
|
|
9728
9403
|
/* @__PURE__ */ jsxs("div", { className: "ds-signup__flag-select-wrapper", children: [
|
|
9729
9404
|
/* @__PURE__ */ jsx(
|
|
9730
9405
|
"select",
|
|
@@ -9822,7 +9497,7 @@ var Signup = ({
|
|
|
9822
9497
|
/* @__PURE__ */ jsx("div", { className: "ds-signup__strength-bar", children: [0, 1, 2, 3].map((i) => /* @__PURE__ */ jsx(
|
|
9823
9498
|
"div",
|
|
9824
9499
|
{
|
|
9825
|
-
className:
|
|
9500
|
+
className: clsx21(
|
|
9826
9501
|
"ds-signup__strength-segment",
|
|
9827
9502
|
i < passwordStrength.score && "ds-signup__strength-segment--active"
|
|
9828
9503
|
),
|
|
@@ -9998,7 +9673,7 @@ var ForgotPassword = ({
|
|
|
9998
9673
|
] }) })
|
|
9999
9674
|
] }) }) });
|
|
10000
9675
|
if (step === "email") {
|
|
10001
|
-
return /* @__PURE__ */ jsxs("div", { className:
|
|
9676
|
+
return /* @__PURE__ */ jsxs("div", { className: clsx21("ds-forgot", className), children: [
|
|
10002
9677
|
/* @__PURE__ */ jsx("div", { className: "ds-forgot__accent ds-forgot__accent--1", "aria-hidden": "true" }),
|
|
10003
9678
|
/* @__PURE__ */ jsx("div", { className: "ds-forgot__accent ds-forgot__accent--2", "aria-hidden": "true" }),
|
|
10004
9679
|
/* @__PURE__ */ jsxs("div", { className: "ds-forgot__card", children: [
|
|
@@ -10088,7 +9763,7 @@ var ForgotPassword = ({
|
|
|
10088
9763
|
] });
|
|
10089
9764
|
}
|
|
10090
9765
|
if (step === "sent") {
|
|
10091
|
-
return /* @__PURE__ */ jsxs("div", { className:
|
|
9766
|
+
return /* @__PURE__ */ jsxs("div", { className: clsx21("ds-forgot", className), children: [
|
|
10092
9767
|
/* @__PURE__ */ jsx("div", { className: "ds-forgot__accent ds-forgot__accent--1", "aria-hidden": "true" }),
|
|
10093
9768
|
/* @__PURE__ */ jsx("div", { className: "ds-forgot__accent ds-forgot__accent--2", "aria-hidden": "true" }),
|
|
10094
9769
|
/* @__PURE__ */ jsxs("div", { className: "ds-forgot__card ds-forgot__card--centered", children: [
|
|
@@ -10156,7 +9831,7 @@ var ForgotPassword = ({
|
|
|
10156
9831
|
if (step === "reset") {
|
|
10157
9832
|
const passwordsMatch = password === confirmPassword;
|
|
10158
9833
|
const isValid = password.length >= 8 && passwordsMatch;
|
|
10159
|
-
return /* @__PURE__ */ jsxs("div", { className:
|
|
9834
|
+
return /* @__PURE__ */ jsxs("div", { className: clsx21("ds-forgot", className), children: [
|
|
10160
9835
|
/* @__PURE__ */ jsx("div", { className: "ds-forgot__accent ds-forgot__accent--1", "aria-hidden": "true" }),
|
|
10161
9836
|
/* @__PURE__ */ jsx("div", { className: "ds-forgot__accent ds-forgot__accent--2", "aria-hidden": "true" }),
|
|
10162
9837
|
/* @__PURE__ */ jsxs("div", { className: "ds-forgot__card", children: [
|
|
@@ -10303,7 +9978,7 @@ var ForgotPassword = ({
|
|
|
10303
9978
|
] })
|
|
10304
9979
|
] });
|
|
10305
9980
|
}
|
|
10306
|
-
return /* @__PURE__ */ jsxs("div", { className:
|
|
9981
|
+
return /* @__PURE__ */ jsxs("div", { className: clsx21("ds-forgot", className), children: [
|
|
10307
9982
|
/* @__PURE__ */ jsx("div", { className: "ds-forgot__accent ds-forgot__accent--1", "aria-hidden": "true" }),
|
|
10308
9983
|
/* @__PURE__ */ jsx("div", { className: "ds-forgot__accent ds-forgot__accent--2", "aria-hidden": "true" }),
|
|
10309
9984
|
/* @__PURE__ */ jsxs("div", { className: "ds-forgot__card ds-forgot__card--centered", children: [
|
|
@@ -10810,7 +10485,7 @@ var LoadingStateDisplay = ({ progress }) => {
|
|
|
10810
10485
|
return /* @__PURE__ */ jsxs(
|
|
10811
10486
|
"div",
|
|
10812
10487
|
{
|
|
10813
|
-
className:
|
|
10488
|
+
className: clsx21("ds-lead-loading__stage", `ds-lead-loading__stage--${status}`),
|
|
10814
10489
|
style: { "--stage-index": index },
|
|
10815
10490
|
children: [
|
|
10816
10491
|
/* @__PURE__ */ jsx("div", { className: "ds-lead-loading__stage-icon", children: status === "completed" ? /* @__PURE__ */ jsx(IconCheck, { size: 16 }) : /* @__PURE__ */ jsx(Icon, { size: 16 }) }),
|
|
@@ -10838,7 +10513,7 @@ var IdentityHeader = ({ data, compact }) => {
|
|
|
10838
10513
|
const emailStatus = data.contact?.emailStatus;
|
|
10839
10514
|
const linkedinVerified = data.contact?.linkedinVerified;
|
|
10840
10515
|
const confidenceScore = data.dataConfidence?.score;
|
|
10841
|
-
return /* @__PURE__ */ jsxs("div", { className:
|
|
10516
|
+
return /* @__PURE__ */ jsxs("div", { className: clsx21("ds-lead-identity", compact && "ds-lead-identity--compact"), children: [
|
|
10842
10517
|
/* @__PURE__ */ jsxs("div", { className: "ds-lead-identity__avatar-wrapper", children: [
|
|
10843
10518
|
/* @__PURE__ */ jsx("img", { src: avatarUrl, alt: data.name, className: "ds-lead-identity__avatar" }),
|
|
10844
10519
|
confidenceScore && confidenceScore >= 80 && /* @__PURE__ */ jsx("div", { className: "ds-lead-identity__verified-badge", title: "High confidence data", children: /* @__PURE__ */ jsx(IconShieldCheck, { size: 14 }) })
|
|
@@ -10893,7 +10568,7 @@ var IdentityHeader = ({ data, compact }) => {
|
|
|
10893
10568
|
href: `mailto:${data.contact.email}`,
|
|
10894
10569
|
context: "identity-email-contact",
|
|
10895
10570
|
openInNewTab: false,
|
|
10896
|
-
className:
|
|
10571
|
+
className: clsx21(
|
|
10897
10572
|
"ds-lead-identity__contact",
|
|
10898
10573
|
emailStatus && `ds-lead-identity__contact--${emailStatus}`
|
|
10899
10574
|
),
|
|
@@ -10984,7 +10659,7 @@ var IntelligenceSummary = ({
|
|
|
10984
10659
|
/* @__PURE__ */ jsx("div", { className: "ds-lead-intelligence__tips", children: data.engagementTips.map((tip, index) => /* @__PURE__ */ jsxs(
|
|
10985
10660
|
"div",
|
|
10986
10661
|
{
|
|
10987
|
-
className:
|
|
10662
|
+
className: clsx21(
|
|
10988
10663
|
"ds-lead-intelligence__tip",
|
|
10989
10664
|
`ds-lead-intelligence__tip--${tip.type}`
|
|
10990
10665
|
),
|
|
@@ -11062,7 +10737,7 @@ var MBTISpectrum = ({
|
|
|
11062
10737
|
return /* @__PURE__ */ jsxs(
|
|
11063
10738
|
"div",
|
|
11064
10739
|
{
|
|
11065
|
-
className:
|
|
10740
|
+
className: clsx21(
|
|
11066
10741
|
"ds-mbti__row",
|
|
11067
10742
|
`ds-mbti__row--${score.color}`,
|
|
11068
10743
|
isHovered && "ds-mbti__row--hovered"
|
|
@@ -11073,7 +10748,7 @@ var MBTISpectrum = ({
|
|
|
11073
10748
|
/* @__PURE__ */ jsxs(
|
|
11074
10749
|
"div",
|
|
11075
10750
|
{
|
|
11076
|
-
className:
|
|
10751
|
+
className: clsx21(
|
|
11077
10752
|
"ds-mbti__label",
|
|
11078
10753
|
"ds-mbti__label--left",
|
|
11079
10754
|
dominantSide === "left" && "ds-mbti__label--active"
|
|
@@ -11085,7 +10760,7 @@ var MBTISpectrum = ({
|
|
|
11085
10760
|
}
|
|
11086
10761
|
),
|
|
11087
10762
|
/* @__PURE__ */ jsxs("div", { className: "ds-mbti__track-container", children: [
|
|
11088
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
10763
|
+
/* @__PURE__ */ jsxs("div", { className: clsx21("ds-mbti__track", `ds-mbti__track--${score.color}`), children: [
|
|
11089
10764
|
/* @__PURE__ */ jsx("div", { className: "ds-mbti__track-center" }),
|
|
11090
10765
|
/* @__PURE__ */ jsx(
|
|
11091
10766
|
"div",
|
|
@@ -11104,7 +10779,7 @@ var MBTISpectrum = ({
|
|
|
11104
10779
|
/* @__PURE__ */ jsxs(
|
|
11105
10780
|
"div",
|
|
11106
10781
|
{
|
|
11107
|
-
className:
|
|
10782
|
+
className: clsx21(
|
|
11108
10783
|
"ds-mbti__label",
|
|
11109
10784
|
"ds-mbti__label--right",
|
|
11110
10785
|
dominantSide === "right" && "ds-mbti__label--active"
|
|
@@ -11213,7 +10888,7 @@ var BehavioralHighlights = ({
|
|
|
11213
10888
|
/* @__PURE__ */ jsx("div", { className: "ds-behavioral__risk-track", children: /* @__PURE__ */ jsx(
|
|
11214
10889
|
"div",
|
|
11215
10890
|
{
|
|
11216
|
-
className:
|
|
10891
|
+
className: clsx21(
|
|
11217
10892
|
"ds-behavioral__risk-fill",
|
|
11218
10893
|
signals.riskTolerance < 33 && "ds-behavioral__risk-fill--low",
|
|
11219
10894
|
signals.riskTolerance >= 33 && signals.riskTolerance < 66 && "ds-behavioral__risk-fill--medium",
|
|
@@ -11242,7 +10917,7 @@ var DeepDiveSection = ({
|
|
|
11242
10917
|
if (!hasContent) {
|
|
11243
10918
|
return null;
|
|
11244
10919
|
}
|
|
11245
|
-
return /* @__PURE__ */ jsxs("div", { className:
|
|
10920
|
+
return /* @__PURE__ */ jsxs("div", { className: clsx21("ds-deep-dive", isExpanded && "ds-deep-dive--expanded"), children: [
|
|
11246
10921
|
/* @__PURE__ */ jsxs(
|
|
11247
10922
|
"button",
|
|
11248
10923
|
{
|
|
@@ -11305,7 +10980,7 @@ var DeepDiveSection = ({
|
|
|
11305
10980
|
/* @__PURE__ */ jsx("div", { className: "ds-deep-dive__timeline", children: data.experience.map((exp, idx) => /* @__PURE__ */ jsxs(
|
|
11306
10981
|
"div",
|
|
11307
10982
|
{
|
|
11308
|
-
className:
|
|
10983
|
+
className: clsx21(
|
|
11309
10984
|
"ds-deep-dive__timeline-item",
|
|
11310
10985
|
exp.current && "ds-deep-dive__timeline-item--current"
|
|
11311
10986
|
),
|
|
@@ -11344,16 +11019,16 @@ var DeepDiveSection = ({
|
|
|
11344
11019
|
var LeadProfileView = React30.forwardRef(
|
|
11345
11020
|
({ state, data, analysisProgress, onRefresh, className }, ref) => {
|
|
11346
11021
|
if (state === "empty") {
|
|
11347
|
-
return /* @__PURE__ */ jsx("div", { ref, className:
|
|
11022
|
+
return /* @__PURE__ */ jsx("div", { ref, className: clsx21("ds-lead-profile", "ds-lead-profile--empty", className), children: /* @__PURE__ */ jsx(EmptyStateDisplay, { onRefresh }) });
|
|
11348
11023
|
}
|
|
11349
11024
|
if (state === "loading") {
|
|
11350
|
-
return /* @__PURE__ */ jsx("div", { ref, className:
|
|
11025
|
+
return /* @__PURE__ */ jsx("div", { ref, className: clsx21("ds-lead-profile", "ds-lead-profile--loading", className), children: /* @__PURE__ */ jsx(LoadingStateDisplay, { progress: analysisProgress }) });
|
|
11351
11026
|
}
|
|
11352
11027
|
if (!data) return null;
|
|
11353
11028
|
const isPartial = state === "partial";
|
|
11354
11029
|
const hasMBTI = !isPartial && data.mbtiScores?.length;
|
|
11355
11030
|
const hasBehavioral = !isPartial && data.behavioralSignals;
|
|
11356
|
-
return /* @__PURE__ */ jsxs("div", { ref, className:
|
|
11031
|
+
return /* @__PURE__ */ jsxs("div", { ref, className: clsx21("ds-lead-profile", `ds-lead-profile--${state}`, className), children: [
|
|
11357
11032
|
/* @__PURE__ */ jsx("section", { className: "ds-lead-profile__zone ds-lead-profile__zone--identity", children: /* @__PURE__ */ jsx(IdentityHeader, { data, compact: isPartial }) }),
|
|
11358
11033
|
/* @__PURE__ */ jsxs("section", { className: "ds-lead-profile__zone ds-lead-profile__zone--intelligence", children: [
|
|
11359
11034
|
/* @__PURE__ */ jsx(IntelligenceSummary, { data, isLocked: isPartial }),
|
|
@@ -11607,14 +11282,14 @@ var AppearancePanel = React30.forwardRef(
|
|
|
11607
11282
|
{ value: "playful", label: l?.radiusPlayful ?? "Playful", description: l?.radiusPlayfulDescription ?? "Rounded corners" },
|
|
11608
11283
|
{ value: "sharp", label: l?.radiusSharp ?? "Sharp", description: l?.radiusSharpDescription ?? "Technical feel" }
|
|
11609
11284
|
];
|
|
11610
|
-
return /* @__PURE__ */ jsxs("div", { ref, className:
|
|
11285
|
+
return /* @__PURE__ */ jsxs("div", { ref, className: clsx21("ds-appearance-panel", className), children: [
|
|
11611
11286
|
/* @__PURE__ */ jsx("h3", { className: "ds-appearance-panel__title", children: l?.title ?? "Appearance Settings" }),
|
|
11612
11287
|
/* @__PURE__ */ jsxs("fieldset", { className: "ds-appearance-panel__section", children: [
|
|
11613
11288
|
/* @__PURE__ */ jsx("legend", { className: "ds-appearance-panel__legend", children: l?.themeHeading ?? "Theme" }),
|
|
11614
11289
|
/* @__PURE__ */ jsx("div", { className: "ds-appearance-panel__options", children: themeOptions.map((option) => /* @__PURE__ */ jsxs(
|
|
11615
11290
|
"label",
|
|
11616
11291
|
{
|
|
11617
|
-
className:
|
|
11292
|
+
className: clsx21(
|
|
11618
11293
|
"ds-appearance-panel__option",
|
|
11619
11294
|
theme === option.value && "ds-appearance-panel__option--active"
|
|
11620
11295
|
),
|
|
@@ -11641,7 +11316,7 @@ var AppearancePanel = React30.forwardRef(
|
|
|
11641
11316
|
/* @__PURE__ */ jsx("div", { className: "ds-appearance-panel__options", children: brandOptions.map((option) => /* @__PURE__ */ jsxs(
|
|
11642
11317
|
"label",
|
|
11643
11318
|
{
|
|
11644
|
-
className:
|
|
11319
|
+
className: clsx21(
|
|
11645
11320
|
"ds-appearance-panel__option",
|
|
11646
11321
|
brand === option.value && "ds-appearance-panel__option--active"
|
|
11647
11322
|
),
|
|
@@ -11687,7 +11362,7 @@ var AppearancePanel = React30.forwardRef(
|
|
|
11687
11362
|
/* @__PURE__ */ jsx("div", { className: "ds-appearance-panel__options ds-appearance-panel__options--row", children: densityOptions.map((option) => /* @__PURE__ */ jsxs(
|
|
11688
11363
|
"label",
|
|
11689
11364
|
{
|
|
11690
|
-
className:
|
|
11365
|
+
className: clsx21(
|
|
11691
11366
|
"ds-appearance-panel__option",
|
|
11692
11367
|
"ds-appearance-panel__option--toggle",
|
|
11693
11368
|
density === option.value && "ds-appearance-panel__option--active"
|
|
@@ -11718,7 +11393,7 @@ var AppearancePanel = React30.forwardRef(
|
|
|
11718
11393
|
/* @__PURE__ */ jsx("div", { className: "ds-appearance-panel__options ds-appearance-panel__options--row", children: radiusOptions.map((option) => /* @__PURE__ */ jsxs(
|
|
11719
11394
|
"label",
|
|
11720
11395
|
{
|
|
11721
|
-
className:
|
|
11396
|
+
className: clsx21(
|
|
11722
11397
|
"ds-appearance-panel__option",
|
|
11723
11398
|
"ds-appearance-panel__option--toggle",
|
|
11724
11399
|
radius === option.value && "ds-appearance-panel__option--active"
|
|
@@ -11749,7 +11424,7 @@ var AppearancePanel = React30.forwardRef(
|
|
|
11749
11424
|
/* @__PURE__ */ jsx("div", { className: "ds-appearance-panel__options", children: navOptions.map((option) => /* @__PURE__ */ jsxs(
|
|
11750
11425
|
"label",
|
|
11751
11426
|
{
|
|
11752
|
-
className:
|
|
11427
|
+
className: clsx21(
|
|
11753
11428
|
"ds-appearance-panel__option",
|
|
11754
11429
|
navPlacement === option.value && "ds-appearance-panel__option--active"
|
|
11755
11430
|
),
|
|
@@ -11781,12 +11456,12 @@ var ThemeSelector = ({ className, style }) => {
|
|
|
11781
11456
|
const handleThemeChange = (newTheme) => {
|
|
11782
11457
|
setTheme(newTheme);
|
|
11783
11458
|
};
|
|
11784
|
-
return /* @__PURE__ */ jsxs("div", { className:
|
|
11459
|
+
return /* @__PURE__ */ jsxs("div", { className: clsx21("ds-theme-selector", className), style, role: "group", "aria-label": "Theme Selector", children: [
|
|
11785
11460
|
/* @__PURE__ */ jsxs(
|
|
11786
11461
|
"button",
|
|
11787
11462
|
{
|
|
11788
11463
|
type: "button",
|
|
11789
|
-
className:
|
|
11464
|
+
className: clsx21("ds-theme-selector__btn", { "ds-theme-selector__btn--active": theme === "light" }),
|
|
11790
11465
|
onClick: () => handleThemeChange("light"),
|
|
11791
11466
|
"aria-pressed": theme === "light",
|
|
11792
11467
|
children: [
|
|
@@ -11799,7 +11474,7 @@ var ThemeSelector = ({ className, style }) => {
|
|
|
11799
11474
|
"button",
|
|
11800
11475
|
{
|
|
11801
11476
|
type: "button",
|
|
11802
|
-
className:
|
|
11477
|
+
className: clsx21("ds-theme-selector__btn", { "ds-theme-selector__btn--active": theme === "light-contrast" }),
|
|
11803
11478
|
onClick: () => handleThemeChange("light-contrast"),
|
|
11804
11479
|
"aria-pressed": theme === "light-contrast",
|
|
11805
11480
|
children: [
|
|
@@ -11812,7 +11487,7 @@ var ThemeSelector = ({ className, style }) => {
|
|
|
11812
11487
|
"button",
|
|
11813
11488
|
{
|
|
11814
11489
|
type: "button",
|
|
11815
|
-
className:
|
|
11490
|
+
className: clsx21("ds-theme-selector__btn", { "ds-theme-selector__btn--active": theme === "dark" }),
|
|
11816
11491
|
onClick: () => handleThemeChange("dark"),
|
|
11817
11492
|
"aria-pressed": theme === "dark",
|
|
11818
11493
|
children: [
|
|
@@ -11825,7 +11500,7 @@ var ThemeSelector = ({ className, style }) => {
|
|
|
11825
11500
|
"button",
|
|
11826
11501
|
{
|
|
11827
11502
|
type: "button",
|
|
11828
|
-
className:
|
|
11503
|
+
className: clsx21("ds-theme-selector__btn", { "ds-theme-selector__btn--active": theme === "dark-contrast" }),
|
|
11829
11504
|
onClick: () => handleThemeChange("dark-contrast"),
|
|
11830
11505
|
"aria-pressed": theme === "dark-contrast",
|
|
11831
11506
|
children: [
|
|
@@ -11848,7 +11523,7 @@ var ColorPicker = React30.forwardRef(
|
|
|
11848
11523
|
"div",
|
|
11849
11524
|
{
|
|
11850
11525
|
ref,
|
|
11851
|
-
className:
|
|
11526
|
+
className: clsx21("ds-color-picker", className),
|
|
11852
11527
|
style,
|
|
11853
11528
|
role: "group",
|
|
11854
11529
|
"aria-label": "Brand Color",
|
|
@@ -11857,7 +11532,7 @@ var ColorPicker = React30.forwardRef(
|
|
|
11857
11532
|
"button",
|
|
11858
11533
|
{
|
|
11859
11534
|
type: "button",
|
|
11860
|
-
className:
|
|
11535
|
+
className: clsx21("ds-color-picker__swatch", {
|
|
11861
11536
|
"ds-color-picker__swatch--active": brand === value
|
|
11862
11537
|
}),
|
|
11863
11538
|
onClick: () => setBrand(value),
|
|
@@ -11877,7 +11552,7 @@ var ColorPicker = React30.forwardRef(
|
|
|
11877
11552
|
/* @__PURE__ */ jsxs(
|
|
11878
11553
|
"label",
|
|
11879
11554
|
{
|
|
11880
|
-
className:
|
|
11555
|
+
className: clsx21("ds-color-picker__swatch", "ds-color-picker__swatch--custom", {
|
|
11881
11556
|
"ds-color-picker__swatch--active": brand === "custom"
|
|
11882
11557
|
}),
|
|
11883
11558
|
title: `Custom: ${customColor}`,
|
|
@@ -12085,7 +11760,7 @@ var MotionText = ({
|
|
|
12085
11760
|
}
|
|
12086
11761
|
}
|
|
12087
11762
|
};
|
|
12088
|
-
const
|
|
11763
|
+
const itemVariants = {
|
|
12089
11764
|
hidden: { opacity: 0, y: 10 },
|
|
12090
11765
|
visible: {
|
|
12091
11766
|
opacity: 1,
|
|
@@ -12113,7 +11788,7 @@ var MotionText = ({
|
|
|
12113
11788
|
return /* @__PURE__ */ jsxs(
|
|
12114
11789
|
motion.span,
|
|
12115
11790
|
{
|
|
12116
|
-
variants:
|
|
11791
|
+
variants: itemVariants,
|
|
12117
11792
|
style: {
|
|
12118
11793
|
color: isHighlighted ? "var(--brand-pink)" : "inherit",
|
|
12119
11794
|
fontWeight: isHighlighted ? 600 : "inherit"
|
|
@@ -12204,7 +11879,7 @@ var steps = [
|
|
|
12204
11879
|
}
|
|
12205
11880
|
];
|
|
12206
11881
|
var RevenueAutomationLoop = ({ className }) => {
|
|
12207
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
11882
|
+
return /* @__PURE__ */ jsx("div", { className: clsx21("ds-revenue-loop", className), children: /* @__PURE__ */ jsxs("div", { className: "ds-revenue-loop__circle", children: [
|
|
12208
11883
|
/* @__PURE__ */ jsxs(
|
|
12209
11884
|
"svg",
|
|
12210
11885
|
{
|
|
@@ -12728,7 +12403,7 @@ var FunnelScalingSender = ({
|
|
|
12728
12403
|
"div",
|
|
12729
12404
|
{
|
|
12730
12405
|
ref: containerRef,
|
|
12731
|
-
className:
|
|
12406
|
+
className: clsx21("ds-funnel-scaling", className),
|
|
12732
12407
|
role: "img",
|
|
12733
12408
|
"aria-label": "Animated illustration: SalesMind scaling funnel from the sender perspective \u2014 showing how validated outreach becomes an automated pipeline machine",
|
|
12734
12409
|
children: [
|
|
@@ -12821,7 +12496,7 @@ var FunnelScalingSender = ({
|
|
|
12821
12496
|
/* @__PURE__ */ jsxs(
|
|
12822
12497
|
motion.div,
|
|
12823
12498
|
{
|
|
12824
|
-
className:
|
|
12499
|
+
className: clsx21(
|
|
12825
12500
|
"ds-funnel-scaling__flow-node",
|
|
12826
12501
|
showFunnel && "ds-funnel-scaling__flow-node--active"
|
|
12827
12502
|
),
|
|
@@ -12977,7 +12652,7 @@ var FunnelScalingSender = ({
|
|
|
12977
12652
|
return /* @__PURE__ */ jsxs(
|
|
12978
12653
|
motion.div,
|
|
12979
12654
|
{
|
|
12980
|
-
className:
|
|
12655
|
+
className: clsx21(
|
|
12981
12656
|
"ds-funnel-scaling__funnel-stage",
|
|
12982
12657
|
isHighlight && showMapping && "ds-funnel-scaling__funnel-stage--highlight",
|
|
12983
12658
|
isDim && "ds-funnel-scaling__funnel-stage--dim"
|
|
@@ -14094,7 +13769,7 @@ var ReportShell = React30.forwardRef(
|
|
|
14094
13769
|
"div",
|
|
14095
13770
|
{
|
|
14096
13771
|
ref,
|
|
14097
|
-
className:
|
|
13772
|
+
className: clsx21("ds-report-shell", className),
|
|
14098
13773
|
"data-mode": mode,
|
|
14099
13774
|
"data-brand": brand,
|
|
14100
13775
|
...props,
|
|
@@ -14120,7 +13795,7 @@ var ExecutiveThesis = React30.forwardRef(
|
|
|
14120
13795
|
"section",
|
|
14121
13796
|
{
|
|
14122
13797
|
ref,
|
|
14123
|
-
className:
|
|
13798
|
+
className: clsx21("ds-executive-thesis", className),
|
|
14124
13799
|
"aria-labelledby": "executive-thesis-title",
|
|
14125
13800
|
...props,
|
|
14126
13801
|
children: [
|
|
@@ -14137,7 +13812,7 @@ var ExecutiveThesis = React30.forwardRef(
|
|
|
14137
13812
|
/* @__PURE__ */ jsxs(
|
|
14138
13813
|
"span",
|
|
14139
13814
|
{
|
|
14140
|
-
className:
|
|
13815
|
+
className: clsx21(
|
|
14141
13816
|
"ds-executive-thesis__metric-value",
|
|
14142
13817
|
metric.trend && `ds-executive-thesis__metric-value--${metric.trend}`
|
|
14143
13818
|
),
|
|
@@ -14170,7 +13845,7 @@ var InsightBlock = React30.forwardRef(
|
|
|
14170
13845
|
"section",
|
|
14171
13846
|
{
|
|
14172
13847
|
ref,
|
|
14173
|
-
className:
|
|
13848
|
+
className: clsx21("ds-insight-block", getConfidenceClass(), className),
|
|
14174
13849
|
"data-insight-type": type,
|
|
14175
13850
|
"aria-labelledby": `insight-${type}-title`,
|
|
14176
13851
|
...props,
|
|
@@ -14216,7 +13891,7 @@ var EvidenceGroup = React30.forwardRef(
|
|
|
14216
13891
|
"div",
|
|
14217
13892
|
{
|
|
14218
13893
|
ref,
|
|
14219
|
-
className:
|
|
13894
|
+
className: clsx21(
|
|
14220
13895
|
"ds-evidence-group",
|
|
14221
13896
|
`ds-evidence-group--${layout}`,
|
|
14222
13897
|
layout === "grid" && `ds-evidence-group--cols-${columns}`,
|
|
@@ -14242,7 +13917,7 @@ var ConfidenceIndicator = React30.forwardRef(
|
|
|
14242
13917
|
"div",
|
|
14243
13918
|
{
|
|
14244
13919
|
ref,
|
|
14245
|
-
className:
|
|
13920
|
+
className: clsx21(
|
|
14246
13921
|
"ds-confidence-indicator",
|
|
14247
13922
|
`ds-confidence-indicator--${size}`,
|
|
14248
13923
|
`ds-confidence-indicator--${threshold.level}`,
|
|
@@ -14277,7 +13952,7 @@ var DataCoverageBadge = React30.forwardRef(
|
|
|
14277
13952
|
"div",
|
|
14278
13953
|
{
|
|
14279
13954
|
ref,
|
|
14280
|
-
className:
|
|
13955
|
+
className: clsx21(
|
|
14281
13956
|
"ds-data-coverage-badge",
|
|
14282
13957
|
`ds-data-coverage-badge--${size}`,
|
|
14283
13958
|
!isSufficient && "ds-data-coverage-badge--insufficient",
|
|
@@ -14464,7 +14139,7 @@ var DataStateIndicator = React30.forwardRef(
|
|
|
14464
14139
|
"div",
|
|
14465
14140
|
{
|
|
14466
14141
|
ref,
|
|
14467
|
-
className:
|
|
14142
|
+
className: clsx21(
|
|
14468
14143
|
"ds-data-state-indicator",
|
|
14469
14144
|
`ds-data-state-indicator--${variant}`,
|
|
14470
14145
|
`ds-data-state-indicator--${state.toLowerCase().replace(/_/g, "-")}`,
|
|
@@ -14520,7 +14195,7 @@ var MethodologyNote = React30.forwardRef(
|
|
|
14520
14195
|
"aside",
|
|
14521
14196
|
{
|
|
14522
14197
|
ref,
|
|
14523
|
-
className:
|
|
14198
|
+
className: clsx21("ds-methodology-note", className),
|
|
14524
14199
|
"aria-label": titleText,
|
|
14525
14200
|
...props,
|
|
14526
14201
|
children: [
|
|
@@ -14641,7 +14316,7 @@ var CaveatBlock = React30.forwardRef(
|
|
|
14641
14316
|
"aside",
|
|
14642
14317
|
{
|
|
14643
14318
|
ref,
|
|
14644
|
-
className:
|
|
14319
|
+
className: clsx21("ds-caveat-block", `ds-caveat-block--${severity}`, className),
|
|
14645
14320
|
role: "note",
|
|
14646
14321
|
"aria-label": title,
|
|
14647
14322
|
...props,
|
|
@@ -14704,7 +14379,7 @@ var KeyMetric = React30.forwardRef(
|
|
|
14704
14379
|
Component,
|
|
14705
14380
|
{
|
|
14706
14381
|
ref,
|
|
14707
|
-
className:
|
|
14382
|
+
className: clsx21(
|
|
14708
14383
|
"ds-key-metric",
|
|
14709
14384
|
`ds-key-metric--${size}`,
|
|
14710
14385
|
loading && "ds-key-metric--loading",
|
|
@@ -14732,7 +14407,7 @@ var KeyMetric = React30.forwardRef(
|
|
|
14732
14407
|
trend && /* @__PURE__ */ jsxs(
|
|
14733
14408
|
"span",
|
|
14734
14409
|
{
|
|
14735
|
-
className:
|
|
14410
|
+
className: clsx21("ds-key-metric__trend", `ds-key-metric__trend--${trend.direction}`),
|
|
14736
14411
|
children: [
|
|
14737
14412
|
/* @__PURE__ */ jsx("span", { className: "ds-key-metric__trend-icon", children: getTrendIcon(trend.direction) }),
|
|
14738
14413
|
/* @__PURE__ */ jsxs("span", { className: "ds-key-metric__trend-value", children: [
|
|
@@ -14822,7 +14497,7 @@ var TrendIndicator = React30.forwardRef(
|
|
|
14822
14497
|
"span",
|
|
14823
14498
|
{
|
|
14824
14499
|
ref,
|
|
14825
|
-
className:
|
|
14500
|
+
className: clsx21(
|
|
14826
14501
|
"ds-trend-indicator",
|
|
14827
14502
|
`ds-trend-indicator--${size}`,
|
|
14828
14503
|
`ds-trend-indicator--${direction}`,
|
|
@@ -14891,7 +14566,7 @@ function ChartContainer({
|
|
|
14891
14566
|
return /* @__PURE__ */ jsxs(
|
|
14892
14567
|
"div",
|
|
14893
14568
|
{
|
|
14894
|
-
className:
|
|
14569
|
+
className: clsx21(
|
|
14895
14570
|
"ds-chart-container",
|
|
14896
14571
|
loading && "ds-chart-container--loading",
|
|
14897
14572
|
!isRenderable && "ds-chart-container--invalid",
|
|
@@ -15198,7 +14873,7 @@ function FunnelChart({
|
|
|
15198
14873
|
});
|
|
15199
14874
|
}, [stages, maxValue]);
|
|
15200
14875
|
if (!isValid) {
|
|
15201
|
-
return /* @__PURE__ */ jsxs("div", { className:
|
|
14876
|
+
return /* @__PURE__ */ jsxs("div", { className: clsx21("ds-funnel-chart", "ds-funnel-chart--invalid", className), children: [
|
|
15202
14877
|
title && /* @__PURE__ */ jsx("h4", { className: "ds-funnel-chart__title", children: title }),
|
|
15203
14878
|
/* @__PURE__ */ jsx("div", { className: "ds-funnel-chart__empty", children: /* @__PURE__ */ jsx(
|
|
15204
14879
|
DataStateIndicator,
|
|
@@ -15215,7 +14890,7 @@ function FunnelChart({
|
|
|
15215
14890
|
] });
|
|
15216
14891
|
}
|
|
15217
14892
|
const totalConversion = stages.length > 1 ? (stages[stages.length - 1].value / stages[0].value * 100).toFixed(1) : "100";
|
|
15218
|
-
return /* @__PURE__ */ jsxs("div", { className:
|
|
14893
|
+
return /* @__PURE__ */ jsxs("div", { className: clsx21("ds-funnel-chart", className), style: { minHeight: height }, children: [
|
|
15219
14894
|
(title || subtitle) && /* @__PURE__ */ jsxs("header", { className: "ds-funnel-chart__header", children: [
|
|
15220
14895
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
15221
14896
|
title && /* @__PURE__ */ jsx("h4", { className: "ds-funnel-chart__title", children: title }),
|
|
@@ -15306,7 +14981,7 @@ function HeatmapChart({
|
|
|
15306
14981
|
return ratio > 0.5 ? "white" : "var(--text-primary)";
|
|
15307
14982
|
};
|
|
15308
14983
|
if (!isValid) {
|
|
15309
|
-
return /* @__PURE__ */ jsxs("div", { className:
|
|
14984
|
+
return /* @__PURE__ */ jsxs("div", { className: clsx21("ds-heatmap-chart", "ds-heatmap-chart--invalid", className), children: [
|
|
15310
14985
|
title && /* @__PURE__ */ jsx("h4", { className: "ds-heatmap-chart__title", children: title }),
|
|
15311
14986
|
/* @__PURE__ */ jsxs("div", { className: "ds-heatmap-chart__empty", children: [
|
|
15312
14987
|
/* @__PURE__ */ jsx("p", { children: "Insufficient data for heatmap visualization" }),
|
|
@@ -15319,7 +14994,7 @@ function HeatmapChart({
|
|
|
15319
14994
|
] })
|
|
15320
14995
|
] });
|
|
15321
14996
|
}
|
|
15322
|
-
return /* @__PURE__ */ jsxs("div", { className:
|
|
14997
|
+
return /* @__PURE__ */ jsxs("div", { className: clsx21("ds-heatmap-chart", className), children: [
|
|
15323
14998
|
(title || subtitle) && /* @__PURE__ */ jsxs("header", { className: "ds-heatmap-chart__header", children: [
|
|
15324
14999
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
15325
15000
|
title && /* @__PURE__ */ jsx("h4", { className: "ds-heatmap-chart__title", children: title }),
|
|
@@ -15403,7 +15078,7 @@ function ChartSwitchControl({
|
|
|
15403
15078
|
if (allowedTypes.length <= 1) {
|
|
15404
15079
|
return null;
|
|
15405
15080
|
}
|
|
15406
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
15081
|
+
return /* @__PURE__ */ jsx("div", { className: clsx21("ds-chart-switch", `ds-chart-switch--${size}`, className), children: allowedTypes.map((type) => {
|
|
15407
15082
|
const meta = CHART_REGISTRY[type];
|
|
15408
15083
|
if (!meta) return null;
|
|
15409
15084
|
const isActive = type === currentType;
|
|
@@ -15412,7 +15087,7 @@ function ChartSwitchControl({
|
|
|
15412
15087
|
"button",
|
|
15413
15088
|
{
|
|
15414
15089
|
type: "button",
|
|
15415
|
-
className:
|
|
15090
|
+
className: clsx21(
|
|
15416
15091
|
"ds-chart-switch__option",
|
|
15417
15092
|
isActive && "ds-chart-switch__option--active"
|
|
15418
15093
|
),
|
|
@@ -16077,7 +15752,7 @@ function Chart({
|
|
|
16077
15752
|
return normalized;
|
|
16078
15753
|
});
|
|
16079
15754
|
};
|
|
16080
|
-
return /* @__PURE__ */ jsxs("div", { className:
|
|
15755
|
+
return /* @__PURE__ */ jsxs("div", { className: clsx21("ds-chart", className), children: [
|
|
16081
15756
|
(title || subtitle || allowSwitching) && /* @__PURE__ */ jsxs("header", { className: "ds-chart__header", children: [
|
|
16082
15757
|
/* @__PURE__ */ jsxs("div", { className: "ds-chart__header-text", children: [
|
|
16083
15758
|
title && /* @__PURE__ */ jsx("h4", { className: "ds-chart__title", children: title }),
|
|
@@ -16146,7 +15821,7 @@ function MBTIRadar({
|
|
|
16146
15821
|
return `${e}${s}${t}${j}`;
|
|
16147
15822
|
}, [dimensions]);
|
|
16148
15823
|
if (!isValid) {
|
|
16149
|
-
return /* @__PURE__ */ jsxs("div", { className:
|
|
15824
|
+
return /* @__PURE__ */ jsxs("div", { className: clsx21("ds-mbti-radar", "ds-mbti-radar--invalid", className), children: [
|
|
16150
15825
|
title && /* @__PURE__ */ jsx("h4", { className: "ds-mbti-radar__title", children: title }),
|
|
16151
15826
|
/* @__PURE__ */ jsx("div", { className: "ds-mbti-radar__empty", children: /* @__PURE__ */ jsx(
|
|
16152
15827
|
DataStateIndicator,
|
|
@@ -16189,7 +15864,7 @@ function MBTIRadar({
|
|
|
16189
15864
|
] })
|
|
16190
15865
|
] });
|
|
16191
15866
|
};
|
|
16192
|
-
return /* @__PURE__ */ jsxs("div", { className:
|
|
15867
|
+
return /* @__PURE__ */ jsxs("div", { className: clsx21("ds-mbti-radar", className), children: [
|
|
16193
15868
|
(title || subtitle) && /* @__PURE__ */ jsxs("header", { className: "ds-mbti-radar__header", children: [
|
|
16194
15869
|
/* @__PURE__ */ jsxs("div", { className: "ds-mbti-radar__header-text", children: [
|
|
16195
15870
|
title && /* @__PURE__ */ jsx("h4", { className: "ds-mbti-radar__title", children: title }),
|
|
@@ -16325,7 +16000,7 @@ function MBTITypeGrid({
|
|
|
16325
16000
|
return percentage >= highlightThreshold;
|
|
16326
16001
|
};
|
|
16327
16002
|
if (!isValid) {
|
|
16328
|
-
return /* @__PURE__ */ jsxs("div", { className:
|
|
16003
|
+
return /* @__PURE__ */ jsxs("div", { className: clsx21("ds-mbti-type-grid", "ds-mbti-type-grid--invalid", className), children: [
|
|
16329
16004
|
title && /* @__PURE__ */ jsx("h4", { className: "ds-mbti-type-grid__title", children: title }),
|
|
16330
16005
|
/* @__PURE__ */ jsx("div", { className: "ds-mbti-type-grid__empty", children: /* @__PURE__ */ jsx(
|
|
16331
16006
|
DataStateIndicator,
|
|
@@ -16341,7 +16016,7 @@ function MBTITypeGrid({
|
|
|
16341
16016
|
) })
|
|
16342
16017
|
] });
|
|
16343
16018
|
}
|
|
16344
|
-
return /* @__PURE__ */ jsxs("div", { className:
|
|
16019
|
+
return /* @__PURE__ */ jsxs("div", { className: clsx21("ds-mbti-type-grid", className), children: [
|
|
16345
16020
|
(title || subtitle) && /* @__PURE__ */ jsxs("header", { className: "ds-mbti-type-grid__header", children: [
|
|
16346
16021
|
/* @__PURE__ */ jsxs("div", { className: "ds-mbti-type-grid__header-text", children: [
|
|
16347
16022
|
title && /* @__PURE__ */ jsx("h4", { className: "ds-mbti-type-grid__title", children: title }),
|
|
@@ -16398,7 +16073,7 @@ function MBTITypeGrid({
|
|
|
16398
16073
|
"button",
|
|
16399
16074
|
{
|
|
16400
16075
|
type: "button",
|
|
16401
|
-
className:
|
|
16076
|
+
className: clsx21(
|
|
16402
16077
|
"ds-mbti-type-grid__cell",
|
|
16403
16078
|
highlighted && "ds-mbti-type-grid__cell--highlighted",
|
|
16404
16079
|
selected && "ds-mbti-type-grid__cell--selected",
|
|
@@ -16473,7 +16148,7 @@ var SelectTrigger = React30.forwardRef(
|
|
|
16473
16148
|
Select$1.Trigger,
|
|
16474
16149
|
{
|
|
16475
16150
|
ref,
|
|
16476
|
-
className:
|
|
16151
|
+
className: clsx21("ds-select__trigger", `ds-select__trigger--${size}`, className),
|
|
16477
16152
|
"aria-label": props["aria-label"] || (typeof placeholder === "string" ? placeholder : "Select"),
|
|
16478
16153
|
...props,
|
|
16479
16154
|
children: [
|
|
@@ -16494,7 +16169,7 @@ var SelectContent = React30.forwardRef(
|
|
|
16494
16169
|
sideOffset,
|
|
16495
16170
|
align,
|
|
16496
16171
|
alignItemWithTrigger: false,
|
|
16497
|
-
children: /* @__PURE__ */ jsx(Select$1.Popup, { ref, className:
|
|
16172
|
+
children: /* @__PURE__ */ jsx(Select$1.Popup, { ref, className: clsx21("ds-select__content", className), ...props, children: /* @__PURE__ */ jsx(Select$1.List, { className: "ds-select__list", children }) })
|
|
16498
16173
|
}
|
|
16499
16174
|
) });
|
|
16500
16175
|
}
|
|
@@ -16508,7 +16183,7 @@ var SelectItem = React30.forwardRef(
|
|
|
16508
16183
|
ref,
|
|
16509
16184
|
value,
|
|
16510
16185
|
disabled,
|
|
16511
|
-
className:
|
|
16186
|
+
className: clsx21("ds-select__item", className),
|
|
16512
16187
|
...props,
|
|
16513
16188
|
children: [
|
|
16514
16189
|
/* @__PURE__ */ jsx(Select$1.ItemIndicator, { className: "ds-select__item-indicator", children: /* @__PURE__ */ jsx(CheckIcon3, {}) }),
|
|
@@ -16521,7 +16196,7 @@ var SelectItem = React30.forwardRef(
|
|
|
16521
16196
|
SelectItem.displayName = "SelectItem";
|
|
16522
16197
|
var SelectGroup = React30.forwardRef(
|
|
16523
16198
|
({ className, label, children, ...props }, ref) => {
|
|
16524
|
-
return /* @__PURE__ */ jsxs(Select$1.Group, { ref, className:
|
|
16199
|
+
return /* @__PURE__ */ jsxs(Select$1.Group, { ref, className: clsx21("ds-select__group", className), ...props, children: [
|
|
16525
16200
|
label && /* @__PURE__ */ jsx(Select$1.GroupLabel, { className: "ds-select__group-label", children: label }),
|
|
16526
16201
|
children
|
|
16527
16202
|
] });
|
|
@@ -16529,7 +16204,7 @@ var SelectGroup = React30.forwardRef(
|
|
|
16529
16204
|
);
|
|
16530
16205
|
SelectGroup.displayName = "SelectGroup";
|
|
16531
16206
|
var SelectSeparator = React30.forwardRef(({ className, ...props }, ref) => {
|
|
16532
|
-
return /* @__PURE__ */ jsx("div", { ref, className:
|
|
16207
|
+
return /* @__PURE__ */ jsx("div", { ref, className: clsx21("ds-select__separator", className), ...props });
|
|
16533
16208
|
});
|
|
16534
16209
|
SelectSeparator.displayName = "SelectSeparator";
|
|
16535
16210
|
function ChevronDownIcon2() {
|
|
@@ -16599,7 +16274,7 @@ function ExportMenu({
|
|
|
16599
16274
|
/* @__PURE__ */ jsx(
|
|
16600
16275
|
DropdownMenuTrigger,
|
|
16601
16276
|
{
|
|
16602
|
-
className:
|
|
16277
|
+
className: clsx21(
|
|
16603
16278
|
"ds-export-menu__trigger",
|
|
16604
16279
|
"ds-button",
|
|
16605
16280
|
`ds-button--${variant}`,
|
|
@@ -17106,6 +16781,6 @@ function createAuditEntry(url, params, generatorContext, confidence) {
|
|
|
17106
16781
|
};
|
|
17107
16782
|
}
|
|
17108
16783
|
|
|
17109
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AnnouncementBar, AppearancePanel, AppearanceProvider, ArchitectureDiagram, ArticleCard, ArticleLayout, AspectRatio, AuthorBio, Avatar, AvatarFallback, AvatarImage, BREAKPOINTS, Badge, BarChart, BeforeAfterBlock, BookingEmbed, Box, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, BrowserFrame, Button, ButtonGroup, COLORS, CONTAINER_SIZE_MAP, CTASection, Calendar, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, CaseStudyCard, CaseStudySection, CaveatBlock, ChangeEmail, Chart, ChartContainer, ChartSwitchControl, Checkbox, Collapsible, CollapsibleContent, CollapsibleTrigger, ColorPicker, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, ComparisonTable, CompetitorDiff, ComplianceGrid, ConfidenceIndicator, Container, ContextMenu, ContextMenuContent, ContextMenuItem, ContextMenuLabel, ContextMenuSeparator, ContextMenuTrigger, CursorSpotlight, DISTANCE, DSIntlProvider, DURATION, DataCoverageBadge, DataHighlight, DataStateIndicator, DataTable, DataTableBody, DataTableCell, DataTableHead, DataTableHeader, DataTableRow, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuTrigger, EASING, EcosystemDiagram, EmptyState, EnterpriseSignaling, EvidenceGroup, EvolutionTimeline, ExecutiveThesis, ExitIntentOverlay, ExportMenu, FONT_FAMILY, FONT_SIZE, FONT_WEIGHT, FeatureSection, FloatingTabBar, ForgotPassword, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, FunnelChart, FunnelScalingSender, Grid, GuaranteeHighlight, Heading, HeatmapChart, HeroSection, HoverCard, HoverCardContent, HoverCardTrigger, ICPFilter, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, InsightBlock, InsightCallout, IntegrationShowcase, IntelligenceBlock, IntentCTA, KeyMetric, LINE_HEIGHT, Label, LeadCaptureForm, LeadProfileView, LineChart, LocaleDropdown, Login, LongFormLayout, MBTIRadar, MBTITypeGrid, MDXOutboundLink, MEDIA_QUERIES, MOTION, ManifestoBlock, MethodologyNote, MetricCounter, MotionContainer, MotionText,
|
|
16784
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AnnouncementBar, AppearancePanel, AppearanceProvider, ArchitectureDiagram, ArticleCard, ArticleLayout, AspectRatio, AuthorBio, Avatar, AvatarFallback, AvatarImage, BREAKPOINTS, Badge, BarChart, BeforeAfterBlock, BookingEmbed, Box, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, BrowserFrame, Button, ButtonGroup, COLORS, CONTAINER_SIZE_MAP, CTASection, Calendar, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, CaseStudyCard, CaseStudySection, CaveatBlock, ChangeEmail, Chart, ChartContainer, ChartSwitchControl, Checkbox, Collapsible, CollapsibleContent, CollapsibleTrigger, ColorPicker, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, ComparisonTable, CompetitorDiff, ComplianceGrid, ConfidenceIndicator, Container, ContextMenu, ContextMenuContent, ContextMenuItem, ContextMenuLabel, ContextMenuSeparator, ContextMenuTrigger, CursorSpotlight, DISTANCE, DSIntlProvider, DURATION, DataCoverageBadge, DataHighlight, DataStateIndicator, DataTable, DataTableBody, DataTableCell, DataTableHead, DataTableHeader, DataTableRow, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuTrigger, EASING, EcosystemDiagram, EmptyState, EnterpriseSignaling, EvidenceGroup, EvolutionTimeline, ExecutiveThesis, ExitIntentOverlay, ExportMenu, FONT_FAMILY, FONT_SIZE, FONT_WEIGHT, FeatureSection, FloatingTabBar, ForgotPassword, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, FunnelChart, FunnelScalingSender, Grid, GuaranteeHighlight, Heading, HeatmapChart, HeroSection, HoverCard, HoverCardContent, HoverCardTrigger, ICPFilter, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, InsightBlock, InsightCallout, IntegrationShowcase, IntelligenceBlock, IntentCTA, KeyMetric, LINE_HEIGHT, Label, LeadCaptureForm, LeadProfileView, LineChart, LocaleDropdown, Login, LongFormLayout, MBTIRadar, MBTITypeGrid, MDXOutboundLink, MEDIA_QUERIES, MOTION, ManifestoBlock, MethodologyNote, MetricCounter, MotionContainer, MotionText, NavbarMegaMenu, NavbarMegaMenuItem, NavbarMegaMenuSection, NavbarMobileActions, NavbarMobileNavItem, NavbarMobileSeparator, NavbarV2, NavbarV2Actions, NavbarV2Brand, NavbarV2Tab, NavbarV2TabMenu, NavbarV2Tabs, ObjectionFAQ, OutboundLink, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, PartnerValueProp, PieChart, PlatformBadge, Popover, PopoverClose, PopoverContent, PopoverTrigger, PricingCard, PricingSection, PricingToggle, ProblemAgitation, ProcessTimeline, Progress, Prose, RADIUS, ROICalculator, Radio, RadioGroup, ReadingProgress, RelatedContent, ReportShell, RevenueAutomationLoop, SHADOWS, SPACING, ScrollArea, ScrollBar, Section, SectionHeader, SectionShell, SecurityBlock, SegmentSwitch, Select, SelectContent, SelectGroup, SelectItem, SelectSeparator, SelectTrigger, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Shell, Sidebar, SidebarItem, SidebarSection, Signup, SiteFooter, Skeleton, Slider, SocialProof, SocialProofCard, SocialProofCarousel, SocialProofFeatured, SocialProofGrid, SocialProofLogos, SpotlightCard, Stack, StakeholderTabs, StarRating, StatsSection, StatusBadge, StickyActionBar, Switch, TRANSITION, TabItem, TableOfContents, Tabs, TabsContent, TabsList, TabsTrigger, Text, TextArea, TextField, ThemeSelector, ToastContext, ToastItem, ToastProvider, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipRoot, TooltipTrigger, TrendIndicator, UTM_CAMPAIGNS, UTM_CONTENTS, UTM_MEDIUMS_ALL, UTM_MEDIUMS_APP, UTM_MEDIUMS_MESSAGING, UTM_MEDIUMS_WEB, UTM_SOURCES, UTM_SOURCES_REQUIRING_SELLER, UTM_TERMS, VARIANTS, ValueAnchor, VersionedSeriesNavigator, VersionedUpgradeAlert, VerticalVideoGrid, VideoEmbed, VideoLightbox, VisuallyHidden, VoidBackground, Z_INDEX, alertMessages, allMessages, appearanceMessages, appendGovernedUTMs, appendUTMs, authMessages, buildBlockedError, buildUtmUrl, calendarMessages, carouselMessages, classifyAndEnforce, classifyUrl, commonMessages, createAuditEntry, dialogMessages, extractSpacingStyles, formMessages, hexToRgb, initializeAppearance, isExemptUrl, isUtmExempt, isValidUtmParams, methodologyMessages, navigationMessages, paginationMessages, parseUtmParams, prefersReducedMotion, reportMessages, requiresSellerAttribution, requiresUtm, resolveSpacing, toFirstTouchAttribution, toastMessages, useAppearance, useDateFormat, useFormField, useIsRTL, useLocale, useMessage, useNumberFormat, useRelativeTime, useTextDirection, useToast, validateCompliance, validateUtmField };
|
|
17110
16785
|
//# sourceMappingURL=out.js.map
|
|
17111
16786
|
//# sourceMappingURL=index.js.map
|