@liner-fe/prism 2.6.4 → 2.6.6
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/lib/index.css +179 -36
- package/lib/index.d.ts +40 -2
- package/lib/index.js +318 -149
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -52,7 +52,9 @@ __export(index_exports, {
|
|
|
52
52
|
PrimitiveCoachMark: () => PrimitiveCoachMark,
|
|
53
53
|
Radio: () => Radio,
|
|
54
54
|
Select: () => Select,
|
|
55
|
+
SingleSnackbar: () => SingleSnackbar,
|
|
55
56
|
Slider: () => Slider,
|
|
57
|
+
Snackbar: () => Snackbar,
|
|
56
58
|
Tag: () => Tag,
|
|
57
59
|
TextButton: () => TextButton,
|
|
58
60
|
Textfield: () => Textfield,
|
|
@@ -14288,13 +14290,13 @@ function createContextScope(scopeName, createContextScopeDeps = []) {
|
|
|
14288
14290
|
const BaseContext = React2.createContext(defaultContext);
|
|
14289
14291
|
const index2 = defaultContexts.length;
|
|
14290
14292
|
defaultContexts = [...defaultContexts, defaultContext];
|
|
14291
|
-
const
|
|
14293
|
+
const Provider3 = /* @__PURE__ */ __name((props) => {
|
|
14292
14294
|
const { scope, children, ...context } = props;
|
|
14293
14295
|
const Context = scope?.[scopeName]?.[index2] || BaseContext;
|
|
14294
14296
|
const value = React2.useMemo(() => context, Object.values(context));
|
|
14295
14297
|
return /* @__PURE__ */ (0, import_jsx_runtime183.jsx)(Context.Provider, { value, children });
|
|
14296
14298
|
}, "Provider");
|
|
14297
|
-
|
|
14299
|
+
Provider3.displayName = rootComponentName + "Provider";
|
|
14298
14300
|
function useContext22(consumerName, scope) {
|
|
14299
14301
|
const Context = scope?.[scopeName]?.[index2] || BaseContext;
|
|
14300
14302
|
const context = React2.useContext(Context);
|
|
@@ -14303,7 +14305,7 @@ function createContextScope(scopeName, createContextScopeDeps = []) {
|
|
|
14303
14305
|
throw new Error(`\`${consumerName}\` must be used within \`${rootComponentName}\``);
|
|
14304
14306
|
}
|
|
14305
14307
|
__name(useContext22, "useContext2");
|
|
14306
|
-
return [
|
|
14308
|
+
return [Provider3, useContext22];
|
|
14307
14309
|
}
|
|
14308
14310
|
__name(createContext32, "createContext3");
|
|
14309
14311
|
const createScope = /* @__PURE__ */ __name(() => {
|
|
@@ -17123,24 +17125,25 @@ var import_react19 = require("react");
|
|
|
17123
17125
|
|
|
17124
17126
|
// src/components/Textfield/style.module.scss
|
|
17125
17127
|
var style_module_default13 = {
|
|
17126
|
-
"textfield-container": "_textfield-
|
|
17127
|
-
"textfield": "
|
|
17128
|
-
"label": "
|
|
17129
|
-
"label-out-textfield": "_label-out-
|
|
17130
|
-
"white": "
|
|
17131
|
-
"gray": "
|
|
17132
|
-
"label-in": "_label-
|
|
17133
|
-
"label-out": "_label-
|
|
17134
|
-
"
|
|
17135
|
-
"input": "
|
|
17136
|
-
"
|
|
17137
|
-
"
|
|
17138
|
-
"action-
|
|
17139
|
-
"
|
|
17140
|
-
"error
|
|
17141
|
-
"error-
|
|
17142
|
-
"
|
|
17143
|
-
"
|
|
17128
|
+
"textfield-container": "_textfield-container_ogykf_1",
|
|
17129
|
+
"textfield": "_textfield_ogykf_1",
|
|
17130
|
+
"label": "_label_ogykf_38",
|
|
17131
|
+
"label-out-textfield": "_label-out-textfield_ogykf_42",
|
|
17132
|
+
"white": "_white_ogykf_46",
|
|
17133
|
+
"gray": "_gray_ogykf_49",
|
|
17134
|
+
"label-in": "_label-in_ogykf_61",
|
|
17135
|
+
"label-out": "_label-out_ogykf_42",
|
|
17136
|
+
"label-visually-hidden": "_label-visually-hidden_ogykf_71",
|
|
17137
|
+
"input-wrapper": "_input-wrapper_ogykf_82",
|
|
17138
|
+
"input": "_input_ogykf_82",
|
|
17139
|
+
"label-out-input": "_label-out-input_ogykf_118",
|
|
17140
|
+
"input-action-buttons": "_input-action-buttons_ogykf_122",
|
|
17141
|
+
"action-button": "_action-button_ogykf_128",
|
|
17142
|
+
"error": "_error_ogykf_135",
|
|
17143
|
+
"error-message": "_error-message_ogykf_151",
|
|
17144
|
+
"error-wrapper": "_error-wrapper_ogykf_155",
|
|
17145
|
+
"footer": "_footer_ogykf_164",
|
|
17146
|
+
"character": "_character_ogykf_172"
|
|
17144
17147
|
};
|
|
17145
17148
|
|
|
17146
17149
|
// src/components/Textfield/index.tsx
|
|
@@ -17216,7 +17219,7 @@ var Textfield = (0, import_react19.forwardRef)((props, ref) => {
|
|
|
17216
17219
|
}
|
|
17217
17220
|
}, "handleDeidentify");
|
|
17218
17221
|
(0, import_react19.useImperativeHandle)(ref, () => inputRef.current);
|
|
17219
|
-
return /* @__PURE__ */ (0, import_jsx_runtime206.jsxs)("div", { className: style_module_default13["textfield-container"], children: [
|
|
17222
|
+
return /* @__PURE__ */ (0, import_jsx_runtime206.jsxs)("div", { className: style_module_default13["textfield-container"], "data-disabled": disabled, children: [
|
|
17220
17223
|
/* @__PURE__ */ (0, import_jsx_runtime206.jsx)(
|
|
17221
17224
|
"div",
|
|
17222
17225
|
{
|
|
@@ -17230,7 +17233,7 @@ var Textfield = (0, import_react19.forwardRef)((props, ref) => {
|
|
|
17230
17233
|
"input",
|
|
17231
17234
|
{
|
|
17232
17235
|
className: (0, import_clsx15.default)(style_module_default13.input, {
|
|
17233
|
-
[style_module_default13["label-out-input"]]: !label || labelType === "out"
|
|
17236
|
+
[style_module_default13["label-out-input"]]: !label || labelType === "out" || labelType === "visually-hidden"
|
|
17234
17237
|
}),
|
|
17235
17238
|
type: isDeidentified ? "password" : "text",
|
|
17236
17239
|
placeholder,
|
|
@@ -17246,7 +17249,8 @@ var Textfield = (0, import_react19.forwardRef)((props, ref) => {
|
|
|
17246
17249
|
{
|
|
17247
17250
|
className: (0, import_clsx15.default)(style_module_default13.label, {
|
|
17248
17251
|
[style_module_default13["label-in"]]: labelType === "in",
|
|
17249
|
-
[style_module_default13["label-out"]]: !label || labelType === "out"
|
|
17252
|
+
[style_module_default13["label-out"]]: !label || labelType === "out",
|
|
17253
|
+
[style_module_default13["label-visually-hidden"]]: labelType === "visually-hidden"
|
|
17250
17254
|
}),
|
|
17251
17255
|
size: label?.type === "out" ? "s" : void 0,
|
|
17252
17256
|
htmlFor: id,
|
|
@@ -17599,13 +17603,178 @@ var Item = /* @__PURE__ */ __name(({ value, text, disabled, icon, onClick }) =>
|
|
|
17599
17603
|
}, "Item");
|
|
17600
17604
|
var List = Object.assign(ListRoot, { Item });
|
|
17601
17605
|
|
|
17606
|
+
// src/components/Snackbar/style.module.scss
|
|
17607
|
+
var style_module_default17 = {
|
|
17608
|
+
"Viewport": "_Viewport_1hil0_1",
|
|
17609
|
+
"NavigationWrapper": "_NavigationWrapper_1hil0_22",
|
|
17610
|
+
"Wrapper": "_Wrapper_1hil0_29",
|
|
17611
|
+
"Root": "_Root_1hil0_35",
|
|
17612
|
+
"CloseButton": "_CloseButton_1hil0_41",
|
|
17613
|
+
"Content": "_Content_1hil0_52",
|
|
17614
|
+
"MarginRight12": "_MarginRight12_1hil0_58",
|
|
17615
|
+
"ContentWrapper": "_ContentWrapper_1hil0_62",
|
|
17616
|
+
"gap300": "_gap300_1hil0_68",
|
|
17617
|
+
"minWidth32": "_minWidth32_1hil0_74",
|
|
17618
|
+
"minWidth24": "_minWidth24_1hil0_79",
|
|
17619
|
+
"JustifyEnd": "_JustifyEnd_1hil0_84",
|
|
17620
|
+
"slideIn": "_slideIn_1hil0_1",
|
|
17621
|
+
"hide": "_hide_1hil0_1",
|
|
17622
|
+
"swipeOut": "_swipeOut_1hil0_1"
|
|
17623
|
+
};
|
|
17624
|
+
|
|
17625
|
+
// src/components/Snackbar/index.tsx
|
|
17626
|
+
var import_radix_ui10 = require("radix-ui");
|
|
17627
|
+
var import_recoil4 = require("recoil");
|
|
17628
|
+
|
|
17629
|
+
// src/hooks/useSnackbar.ts
|
|
17630
|
+
var import_recoil3 = require("recoil");
|
|
17631
|
+
var snackbarAtom = (0, import_recoil3.atom)({
|
|
17632
|
+
key: "snackbarAtom",
|
|
17633
|
+
default: []
|
|
17634
|
+
});
|
|
17635
|
+
|
|
17636
|
+
// src/components/Snackbar/SnackbarIcon/style.module.scss
|
|
17637
|
+
var style_module_default18 = {
|
|
17638
|
+
"container": "_container_1witc_1"
|
|
17639
|
+
};
|
|
17640
|
+
|
|
17641
|
+
// src/components/Snackbar/SnackbarIcon/index.tsx
|
|
17642
|
+
var import_jsx_runtime211 = require("react/jsx-runtime");
|
|
17643
|
+
var SnackbarIcon = /* @__PURE__ */ __name((props) => {
|
|
17644
|
+
const { icon } = props;
|
|
17645
|
+
if (!icon) return null;
|
|
17646
|
+
return /* @__PURE__ */ (0, import_jsx_runtime211.jsx)(Icon, { ...icon, size: "m", className: style_module_default18.container });
|
|
17647
|
+
}, "SnackbarIcon");
|
|
17648
|
+
|
|
17649
|
+
// src/components/Snackbar/SnackbarTitle/index.tsx
|
|
17650
|
+
var import_jsx_runtime212 = require("react/jsx-runtime");
|
|
17651
|
+
var SnackbarTitle = /* @__PURE__ */ __name(({ title }) => /* @__PURE__ */ (0, import_jsx_runtime212.jsx)(Paragraph, { type: "normal", weight: "medium", size: 3, color: "inverse-label-static-primary", children: title }), "SnackbarTitle");
|
|
17652
|
+
|
|
17653
|
+
// src/components/Snackbar/SnackbarDescription/index.tsx
|
|
17654
|
+
var import_jsx_runtime213 = require("react/jsx-runtime");
|
|
17655
|
+
var SnackbarDescription = /* @__PURE__ */ __name(({ description }) => {
|
|
17656
|
+
if (!description) {
|
|
17657
|
+
return null;
|
|
17658
|
+
}
|
|
17659
|
+
return /* @__PURE__ */ (0, import_jsx_runtime213.jsx)(Paragraph, { type: "normal", weight: "regular", size: 4, color: "inverse-label-static-secondary", children: description });
|
|
17660
|
+
}, "SnackbarDescription");
|
|
17661
|
+
|
|
17662
|
+
// src/components/Snackbar/index.tsx
|
|
17663
|
+
var import_clsx19 = __toESM(require("clsx"));
|
|
17664
|
+
|
|
17665
|
+
// src/components/Snackbar/SnackbarClose/index.tsx
|
|
17666
|
+
var import_jsx_runtime214 = require("react/jsx-runtime");
|
|
17667
|
+
var SnackbarClose = /* @__PURE__ */ __name(({ onCloseSnackbar, className }) => {
|
|
17668
|
+
return /* @__PURE__ */ (0, import_jsx_runtime214.jsx)(
|
|
17669
|
+
IconButton,
|
|
17670
|
+
{
|
|
17671
|
+
icon: { name: "close-fill", fill: true, thick: true, type: "neutral-label-static-secondary" },
|
|
17672
|
+
level: "static",
|
|
17673
|
+
size: "xs",
|
|
17674
|
+
className,
|
|
17675
|
+
fill: false,
|
|
17676
|
+
onClick: onCloseSnackbar
|
|
17677
|
+
}
|
|
17678
|
+
);
|
|
17679
|
+
}, "SnackbarClose");
|
|
17680
|
+
|
|
17681
|
+
// src/components/Snackbar/SnackbarButton/style.module.scss
|
|
17682
|
+
var style_module_default19 = {
|
|
17683
|
+
"Container": "_Container_1kn7v_1"
|
|
17684
|
+
};
|
|
17685
|
+
|
|
17686
|
+
// src/components/Snackbar/SnackbarButton/index.tsx
|
|
17687
|
+
var import_clsx18 = __toESM(require("clsx"));
|
|
17688
|
+
var import_jsx_runtime215 = require("react/jsx-runtime");
|
|
17689
|
+
var SnackbarButton = /* @__PURE__ */ __name(({ button, containerStyle }) => {
|
|
17690
|
+
if (button?.text || button?.basic) {
|
|
17691
|
+
return /* @__PURE__ */ (0, import_jsx_runtime215.jsxs)("div", { className: (0, import_clsx18.default)(style_module_default19.Container, containerStyle), children: [
|
|
17692
|
+
button?.text && /* @__PURE__ */ (0, import_jsx_runtime215.jsx)(TextButton, { size: "s", onClick: button.text.onClick, children: button.text.text }),
|
|
17693
|
+
button?.basic && /* @__PURE__ */ (0, import_jsx_runtime215.jsx)(Button, { size: "s", onClick: button.basic.onClick, fill: true, children: button.basic.text })
|
|
17694
|
+
] });
|
|
17695
|
+
}
|
|
17696
|
+
return null;
|
|
17697
|
+
}, "SnackbarButton");
|
|
17698
|
+
|
|
17699
|
+
// src/components/Snackbar/index.tsx
|
|
17700
|
+
var import_jsx_runtime216 = require("react/jsx-runtime");
|
|
17701
|
+
var import_react24 = (
|
|
17702
|
+
// eslint-disable-next-line react/prop-types
|
|
17703
|
+
require("react")
|
|
17704
|
+
);
|
|
17705
|
+
var { Provider: Provider2, Root: Root3, Viewport: Viewport2 } = import_radix_ui10.Toast;
|
|
17706
|
+
var Snackbar = /* @__PURE__ */ __name(() => {
|
|
17707
|
+
const list = (0, import_recoil4.useRecoilValue)(snackbarAtom);
|
|
17708
|
+
return /* @__PURE__ */ (0, import_jsx_runtime216.jsxs)(Provider2, { children: [
|
|
17709
|
+
list.map((props) => /* @__PURE__ */ (0, import_react24.createElement)(SingleSnackbar, { ...props, key: props.snackbarId })),
|
|
17710
|
+
/* @__PURE__ */ (0, import_jsx_runtime216.jsx)(Viewport2, { className: style_module_default17.Viewport })
|
|
17711
|
+
] });
|
|
17712
|
+
}, "Snackbar");
|
|
17713
|
+
var SingleSnackbar = /* @__PURE__ */ __name((props) => {
|
|
17714
|
+
const setSnackbar = (0, import_recoil4.useSetRecoilState)(snackbarAtom);
|
|
17715
|
+
const { snackbarId, description, title } = props;
|
|
17716
|
+
const onCloseSnackbar = /* @__PURE__ */ __name(() => {
|
|
17717
|
+
setSnackbar((prev) => prev.filter((snackbar) => snackbar.snackbarId !== snackbarId));
|
|
17718
|
+
}, "onCloseSnackbar");
|
|
17719
|
+
if (props.kind === "navigation") {
|
|
17720
|
+
return /* @__PURE__ */ (0, import_jsx_runtime216.jsxs)(
|
|
17721
|
+
Root3,
|
|
17722
|
+
{
|
|
17723
|
+
onSwipeEnd: onCloseSnackbar,
|
|
17724
|
+
className: (0, import_clsx19.default)(style_module_default17.Root, style_module_default17.NavigationWrapper),
|
|
17725
|
+
onClick: props.onClick,
|
|
17726
|
+
open: true,
|
|
17727
|
+
children: [
|
|
17728
|
+
/* @__PURE__ */ (0, import_jsx_runtime216.jsxs)("div", { className: (0, import_clsx19.default)(style_module_default17.Content, style_module_default17.MarginRight12), children: [
|
|
17729
|
+
/* @__PURE__ */ (0, import_jsx_runtime216.jsx)(SnackbarTitle, { title }),
|
|
17730
|
+
/* @__PURE__ */ (0, import_jsx_runtime216.jsx)(SnackbarDescription, { description })
|
|
17731
|
+
] }),
|
|
17732
|
+
/* @__PURE__ */ (0, import_jsx_runtime216.jsx)(
|
|
17733
|
+
Icon,
|
|
17734
|
+
{
|
|
17735
|
+
name: "arrow-forward",
|
|
17736
|
+
fill: true,
|
|
17737
|
+
thick: true,
|
|
17738
|
+
type: "inverse-label-primary",
|
|
17739
|
+
className: description ? style_module_default17.minWidth32 : style_module_default17.minWidth24,
|
|
17740
|
+
size: description ? "l" : "m"
|
|
17741
|
+
}
|
|
17742
|
+
),
|
|
17743
|
+
/* @__PURE__ */ (0, import_jsx_runtime216.jsx)(SnackbarClose, { onCloseSnackbar, className: style_module_default17.CloseButton })
|
|
17744
|
+
]
|
|
17745
|
+
}
|
|
17746
|
+
);
|
|
17747
|
+
}
|
|
17748
|
+
if (props.kind === "extended") {
|
|
17749
|
+
return /* @__PURE__ */ (0, import_jsx_runtime216.jsxs)(Root3, { onSwipeEnd: onCloseSnackbar, className: (0, import_clsx19.default)(style_module_default17.Root, style_module_default17.gap300), open: true, children: [
|
|
17750
|
+
/* @__PURE__ */ (0, import_jsx_runtime216.jsxs)("div", { className: style_module_default17.Content, children: [
|
|
17751
|
+
/* @__PURE__ */ (0, import_jsx_runtime216.jsx)(SnackbarTitle, { title }),
|
|
17752
|
+
/* @__PURE__ */ (0, import_jsx_runtime216.jsx)(SnackbarDescription, { description })
|
|
17753
|
+
] }),
|
|
17754
|
+
/* @__PURE__ */ (0, import_jsx_runtime216.jsx)(SnackbarButton, { button: props.button, containerStyle: style_module_default17.JustifyEnd }),
|
|
17755
|
+
/* @__PURE__ */ (0, import_jsx_runtime216.jsx)(SnackbarClose, { onCloseSnackbar, className: style_module_default17.CloseButton })
|
|
17756
|
+
] });
|
|
17757
|
+
}
|
|
17758
|
+
return /* @__PURE__ */ (0, import_jsx_runtime216.jsxs)(Root3, { onSwipeEnd: onCloseSnackbar, className: (0, import_clsx19.default)(style_module_default17.Root, style_module_default17.Wrapper), open: true, children: [
|
|
17759
|
+
/* @__PURE__ */ (0, import_jsx_runtime216.jsxs)("div", { className: style_module_default17.ContentWrapper, children: [
|
|
17760
|
+
/* @__PURE__ */ (0, import_jsx_runtime216.jsx)(SnackbarIcon, { icon: props.icon }),
|
|
17761
|
+
/* @__PURE__ */ (0, import_jsx_runtime216.jsxs)("div", { className: (0, import_clsx19.default)(style_module_default17.Content, style_module_default17.MarginRight12), children: [
|
|
17762
|
+
/* @__PURE__ */ (0, import_jsx_runtime216.jsx)(SnackbarTitle, { title }),
|
|
17763
|
+
/* @__PURE__ */ (0, import_jsx_runtime216.jsx)(SnackbarDescription, { description })
|
|
17764
|
+
] })
|
|
17765
|
+
] }),
|
|
17766
|
+
/* @__PURE__ */ (0, import_jsx_runtime216.jsx)(SnackbarButton, { button: props.button }),
|
|
17767
|
+
/* @__PURE__ */ (0, import_jsx_runtime216.jsx)(SnackbarClose, { onCloseSnackbar, className: style_module_default17.CloseButton })
|
|
17768
|
+
] });
|
|
17769
|
+
}, "SingleSnackbar");
|
|
17770
|
+
|
|
17602
17771
|
// src/components/Logo/index.tsx
|
|
17603
17772
|
var import_design_token2 = require("@liner-fe/design-token");
|
|
17604
|
-
var
|
|
17773
|
+
var import_jsx_runtime217 = require("react/jsx-runtime");
|
|
17605
17774
|
var Logo = /* @__PURE__ */ __name((props) => {
|
|
17606
17775
|
if (props.type === "combination") {
|
|
17607
17776
|
const { width, height } = props;
|
|
17608
|
-
return /* @__PURE__ */ (0,
|
|
17777
|
+
return /* @__PURE__ */ (0, import_jsx_runtime217.jsxs)(
|
|
17609
17778
|
"svg",
|
|
17610
17779
|
{
|
|
17611
17780
|
width,
|
|
@@ -17615,50 +17784,50 @@ var Logo = /* @__PURE__ */ __name((props) => {
|
|
|
17615
17784
|
xmlns: "http://www.w3.org/2000/svg",
|
|
17616
17785
|
className: props?.className,
|
|
17617
17786
|
children: [
|
|
17618
|
-
/* @__PURE__ */ (0,
|
|
17619
|
-
/* @__PURE__ */ (0,
|
|
17787
|
+
/* @__PURE__ */ (0, import_jsx_runtime217.jsxs)("g", { clipPath: "url(#clip0_808_3091)", children: [
|
|
17788
|
+
/* @__PURE__ */ (0, import_jsx_runtime217.jsx)(
|
|
17620
17789
|
"path",
|
|
17621
17790
|
{
|
|
17622
17791
|
d: "M56.7088 28.6542H52.9156C52.6532 28.6542 52.4455 28.4483 52.4455 28.1883V8.38183C52.4455 5.67308 53.0796 3.77695 53.3091 3.19186C53.3419 3.09434 53.2763 2.99683 53.167 2.99683H46.2365C46.1381 2.99683 46.0616 3.09434 46.0944 3.19186C46.313 3.78778 46.9252 5.69475 46.9252 8.42517V25.7937C46.9252 28.8167 46.313 30.8103 46.0944 31.4171C46.0616 31.5146 46.1272 31.6121 46.2365 31.6121H66.2081C66.2846 31.6121 66.3502 31.5471 66.3502 31.4713V25.9562C66.3502 25.8479 66.23 25.7721 66.1316 25.8262C65.115 26.3788 60.6878 28.665 56.7088 28.665V28.6542Z",
|
|
17623
17792
|
fill: import_design_token2.vars.color["brand-label-secondary"]
|
|
17624
17793
|
}
|
|
17625
17794
|
),
|
|
17626
|
-
/* @__PURE__ */ (0,
|
|
17795
|
+
/* @__PURE__ */ (0, import_jsx_runtime217.jsx)(
|
|
17627
17796
|
"path",
|
|
17628
17797
|
{
|
|
17629
17798
|
d: "M94.4108 26.6714C94.4108 29.3259 93.8533 30.9078 93.5472 31.4496C93.4925 31.5471 93.5691 31.6663 93.6784 31.6663H100.347C100.456 31.6663 100.521 31.5579 100.478 31.4604C100.183 30.8753 99.5922 29.1309 99.5922 26.7147V18.816C99.5922 16.1614 98.991 14.1027 97.7886 12.6617C96.5752 11.2206 94.859 10.4947 92.6399 10.4947C88.8467 10.4947 86.1029 13.431 84.9661 15.5221C84.8458 15.7496 84.496 15.663 84.496 15.4029V11.3073C84.496 11.2314 84.4304 11.1664 84.3539 11.1664H79.0959C78.9866 11.1664 78.921 11.2748 78.9648 11.3723C79.238 11.9466 79.8065 13.7018 79.8065 16.118V26.6822C79.8065 29.3368 79.249 30.9187 78.9429 31.4604C78.8882 31.5579 78.9648 31.6771 79.0741 31.6771H85.7422C85.8515 31.6771 85.9171 31.5688 85.8734 31.4713C85.5892 30.8862 85.0098 29.1417 85.0098 26.7255V20.7013C85.0098 19.8886 85.1628 19.076 85.4798 18.3175C85.9499 17.2124 86.5402 16.3131 87.2617 15.6196C88.2564 14.6445 89.4042 14.1461 90.716 14.1461C91.9512 14.1461 92.8804 14.5578 93.4925 15.3813C94.1047 16.2047 94.4217 17.4182 94.4217 19.0218V26.693L94.4108 26.6714Z",
|
|
17630
17799
|
fill: import_design_token2.vars.color["brand-label-secondary"]
|
|
17631
17800
|
}
|
|
17632
17801
|
),
|
|
17633
|
-
/* @__PURE__ */ (0,
|
|
17802
|
+
/* @__PURE__ */ (0, import_jsx_runtime217.jsx)(
|
|
17634
17803
|
"path",
|
|
17635
17804
|
{
|
|
17636
17805
|
d: "M69.3127 31.6663H76.0026C76.112 31.6663 76.1776 31.558 76.1338 31.4604C75.8496 30.8754 75.2702 29.1309 75.2702 26.7147V11.3073C75.2702 11.2315 75.2047 11.1664 75.1281 11.1664H69.3345C69.2252 11.1664 69.1596 11.2748 69.2033 11.3723C69.4876 11.9466 70.056 13.7018 70.056 16.118V26.6822C70.056 29.3368 69.4876 30.9187 69.1924 31.4604C69.1378 31.558 69.2143 31.6771 69.3236 31.6771L69.3127 31.6663Z",
|
|
17637
17806
|
fill: import_design_token2.vars.color["brand-label-secondary"]
|
|
17638
17807
|
}
|
|
17639
17808
|
),
|
|
17640
|
-
/* @__PURE__ */ (0,
|
|
17809
|
+
/* @__PURE__ */ (0, import_jsx_runtime217.jsx)(
|
|
17641
17810
|
"path",
|
|
17642
17811
|
{
|
|
17643
17812
|
d: "M72.2642 8.71772C74.1335 8.71772 75.6529 7.21165 75.6529 5.35886C75.6529 3.50607 74.1335 2 72.2642 2C70.395 2 68.8755 3.50607 68.8755 5.35886C68.8755 7.21165 70.395 8.71772 72.2642 8.71772Z",
|
|
17644
17813
|
fill: import_design_token2.vars.color["brand-label-secondary"]
|
|
17645
17814
|
}
|
|
17646
17815
|
),
|
|
17647
|
-
/* @__PURE__ */ (0,
|
|
17816
|
+
/* @__PURE__ */ (0, import_jsx_runtime217.jsx)(
|
|
17648
17817
|
"path",
|
|
17649
17818
|
{
|
|
17650
17819
|
d: "M130.299 15.5438C130.299 15.8038 130.616 15.8905 130.736 15.663C132.201 12.8675 134.179 11.1339 136.573 11.1339H138.858C138.935 11.1339 139 11.1989 139 11.2748V15.5329C139 15.6088 138.935 15.6738 138.858 15.6738H135.218C133.556 15.6738 132.004 16.5081 130.769 17.8408C130.474 18.1658 130.31 18.5776 130.299 19.0001V26.693C130.299 29.1092 130.878 30.8645 131.162 31.4388C131.206 31.5363 131.14 31.6446 131.031 31.6446H124.341C124.232 31.6446 124.155 31.5254 124.21 31.4279C124.516 30.8862 125.074 29.3151 125.074 26.6497V16.0855C125.074 13.6693 124.505 11.914 124.221 11.3398C124.177 11.2423 124.243 11.1339 124.352 11.1339H130.146C130.222 11.1339 130.288 11.1989 130.288 11.2748V15.5221L130.299 15.5438Z",
|
|
17651
17820
|
fill: import_design_token2.vars.color["brand-label-secondary"]
|
|
17652
17821
|
}
|
|
17653
17822
|
),
|
|
17654
|
-
/* @__PURE__ */ (0,
|
|
17823
|
+
/* @__PURE__ */ (0, import_jsx_runtime217.jsx)(
|
|
17655
17824
|
"path",
|
|
17656
17825
|
{
|
|
17657
17826
|
d: "M113.967 29.4993C110.076 29.4993 108.152 26.5955 107.944 21.9581C107.944 21.8714 108.01 21.8064 108.086 21.8064H122.57C122.658 21.8064 122.723 21.7414 122.723 21.6547C122.669 14.4386 118.329 10.4405 112.47 10.4405C106.611 10.4405 101.998 14.7095 101.998 21.2213C101.998 28.1991 106.315 32.1647 113.279 32.1647C118.023 32.1647 121.488 29.4451 122.516 25.0244C122.538 24.9378 122.461 24.8511 122.374 24.8511H120.657C120.592 24.8511 120.537 24.8944 120.515 24.9486C119.63 27.7765 116.831 29.4885 113.956 29.4885L113.967 29.4993ZM112.514 13.1167C115.039 13.1167 116.657 15.1104 116.744 18.9026C116.744 18.9785 116.678 19.0543 116.591 19.0543H108.141C108.054 19.0543 107.988 18.9785 107.999 18.9026C108.207 15.2404 109.945 13.1276 112.524 13.1276L112.514 13.1167Z",
|
|
17658
17827
|
fill: import_design_token2.vars.color["brand-label-secondary"]
|
|
17659
17828
|
}
|
|
17660
17829
|
),
|
|
17661
|
-
/* @__PURE__ */ (0,
|
|
17830
|
+
/* @__PURE__ */ (0, import_jsx_runtime217.jsx)(
|
|
17662
17831
|
"path",
|
|
17663
17832
|
{
|
|
17664
17833
|
d: "M32.4411 12.4883V3.18101C32.4411 3.08349 32.3646 3.00764 32.2662 3.00764H22.7996C22.7996 3.00764 22.7122 3.02931 22.6794 3.06182L17.2465 8.43599C17.2465 8.43599 17.17 8.49017 17.1262 8.49017H7.1459C7.1459 8.49017 7.05845 8.51184 7.02566 8.54434L0.0514475 15.4246C-0.0578662 15.5329 0.0186534 15.728 0.171692 15.728H9.1682C9.43056 15.728 9.63825 15.9338 9.63825 16.1939V25.4361C9.63825 25.5337 9.71477 25.6095 9.81315 25.6095H19.1595C19.4218 25.6095 19.6295 25.8262 19.6295 26.0754V34.971C19.6295 35.1227 19.8154 35.2093 19.9356 35.101L26.8114 28.2966C26.8114 28.2966 26.8661 28.2207 26.8661 28.1666V18.1333C26.8661 18.1333 26.8879 18.0358 26.9207 18.0033L32.3864 12.5858C32.3864 12.5858 32.4411 12.51 32.4411 12.4558V12.4883ZM17.9133 16.8873V9.67119C17.9133 9.41114 18.121 9.20528 18.3833 9.20528H25.6855C25.9478 9.20528 26.1555 9.41114 26.1555 9.67119V16.8873C26.1555 17.1474 25.9478 17.3532 25.6855 17.3532H18.3833C18.121 17.3532 17.9133 17.1474 17.9133 16.8873Z",
|
|
@@ -17666,14 +17835,14 @@ var Logo = /* @__PURE__ */ __name((props) => {
|
|
|
17666
17835
|
}
|
|
17667
17836
|
)
|
|
17668
17837
|
] }),
|
|
17669
|
-
/* @__PURE__ */ (0,
|
|
17838
|
+
/* @__PURE__ */ (0, import_jsx_runtime217.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime217.jsx)("clipPath", { id: "clip0_808_3091", children: /* @__PURE__ */ (0, import_jsx_runtime217.jsx)("rect", { width: "139", height: "33", fill: "white", transform: "translate(0 2)" }) }) })
|
|
17670
17839
|
]
|
|
17671
17840
|
}
|
|
17672
17841
|
);
|
|
17673
17842
|
}
|
|
17674
17843
|
if (props.type === "circle") {
|
|
17675
17844
|
const { size: size4 } = props;
|
|
17676
|
-
return /* @__PURE__ */ (0,
|
|
17845
|
+
return /* @__PURE__ */ (0, import_jsx_runtime217.jsx)(
|
|
17677
17846
|
"svg",
|
|
17678
17847
|
{
|
|
17679
17848
|
width: size4,
|
|
@@ -17682,7 +17851,7 @@ var Logo = /* @__PURE__ */ __name((props) => {
|
|
|
17682
17851
|
fill: "none",
|
|
17683
17852
|
xmlns: "http://www.w3.org/2000/svg",
|
|
17684
17853
|
className: props?.className,
|
|
17685
|
-
children: /* @__PURE__ */ (0,
|
|
17854
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime217.jsx)(
|
|
17686
17855
|
"path",
|
|
17687
17856
|
{
|
|
17688
17857
|
d: "M38.2402 9.81371C38.2402 9.74309 38.204 9.68333 38.1895 9.65074C38.1569 9.63806 38.0972 9.60004 38.0266 9.60004H28.1578C28.1089 9.60004 28.0618 9.61996 28.0274 9.65436L22.3614 15.3094C22.327 15.3438 22.28 15.3638 22.2311 15.3638H11.8426C11.7937 15.3638 11.7466 15.3837 11.7122 15.4181L4.45458 22.663C4.33688 22.7789 4.42018 22.9799 4.58496 22.9799H13.9558C14.2292 22.9799 14.4501 23.2008 14.4501 23.4743V33.1946C14.4501 33.2471 14.4737 33.2942 14.5099 33.3286C14.5443 33.3648 14.5914 33.3883 14.6439 33.3883H24.3642C24.6376 33.3883 24.8585 33.6092 24.8585 33.8827V43.2535C24.8585 43.4183 25.0595 43.5016 25.1754 43.3839L32.4204 36.1262C32.4548 36.0918 32.4747 36.0448 32.4747 35.9959V25.6074C32.4747 25.5585 32.4946 25.5114 32.529 25.477L38.1841 19.8111C38.2185 19.7767 38.2384 19.7296 38.2384 19.6807V9.81371H38.2402ZM31.6979 24.2493C31.6979 24.5173 31.4806 24.7364 31.2108 24.7364H23.5892C23.3212 24.7364 23.1021 24.5191 23.1021 24.2493V16.6277C23.1021 16.3597 23.3193 16.1406 23.5892 16.1406H31.2108C31.4787 16.1406 31.6979 16.3579 31.6979 16.6277V24.2493Z",
|
|
@@ -17694,7 +17863,7 @@ var Logo = /* @__PURE__ */ __name((props) => {
|
|
|
17694
17863
|
}
|
|
17695
17864
|
if (props.type === "favicon") {
|
|
17696
17865
|
const { size: size4 } = props;
|
|
17697
|
-
return /* @__PURE__ */ (0,
|
|
17866
|
+
return /* @__PURE__ */ (0, import_jsx_runtime217.jsx)(
|
|
17698
17867
|
"svg",
|
|
17699
17868
|
{
|
|
17700
17869
|
width: size4,
|
|
@@ -17703,7 +17872,7 @@ var Logo = /* @__PURE__ */ __name((props) => {
|
|
|
17703
17872
|
fill: "none",
|
|
17704
17873
|
xmlns: "http://www.w3.org/2000/svg",
|
|
17705
17874
|
className: props?.className,
|
|
17706
|
-
children: /* @__PURE__ */ (0,
|
|
17875
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime217.jsx)(
|
|
17707
17876
|
"path",
|
|
17708
17877
|
{
|
|
17709
17878
|
d: "M44.8002 16.2872V3.36077C44.8002 3.22533 44.6949 3.12 44.5595 3.12H31.5332C31.5332 3.12 31.4128 3.15009 31.3677 3.19524L23.8919 10.6591C23.8919 10.6591 23.7866 10.7344 23.7264 10.7344H9.99315C9.99315 10.7344 9.87282 10.7645 9.82769 10.8096L0.23095 20.3652C0.0805305 20.5157 0.185824 20.7866 0.396411 20.7866H12.7759C13.1369 20.7866 13.4227 21.0725 13.4227 21.4337V34.2698C13.4227 34.4052 13.528 34.5105 13.6634 34.5105H26.5242C26.8852 34.5105 27.171 34.8115 27.171 35.1576V47.5122C27.171 47.7229 27.4267 47.8432 27.5922 47.6928L37.0536 38.2425C37.0536 38.2425 37.1288 38.1371 37.1288 38.0619V24.1273C37.1288 24.1273 37.1589 23.9918 37.204 23.9467L44.7249 16.4226C44.7249 16.4226 44.8002 16.3173 44.8002 16.242V16.2872ZM24.8094 22.3967V12.3746C24.8094 12.0135 25.0952 11.7276 25.4562 11.7276H35.5042C35.8653 11.7276 36.1511 12.0135 36.1511 12.3746V22.3967C36.1511 22.7579 35.8653 23.0438 35.5042 23.0438H25.4562C25.0952 23.0438 24.8094 22.7579 24.8094 22.3967Z",
|
|
@@ -17713,7 +17882,7 @@ var Logo = /* @__PURE__ */ __name((props) => {
|
|
|
17713
17882
|
}
|
|
17714
17883
|
);
|
|
17715
17884
|
}
|
|
17716
|
-
return /* @__PURE__ */ (0,
|
|
17885
|
+
return /* @__PURE__ */ (0, import_jsx_runtime217.jsx)("svg", { width: 48, height: 48, viewBox: "0 0 48 48", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ (0, import_jsx_runtime217.jsx)(
|
|
17717
17886
|
"path",
|
|
17718
17887
|
{
|
|
17719
17888
|
d: "M38.2402 9.81371C38.2402 9.74309 38.204 9.68333 38.1895 9.65074C38.1569 9.63806 38.0972 9.60004 38.0266 9.60004H28.1578C28.1089 9.60004 28.0618 9.61996 28.0274 9.65436L22.3614 15.3094C22.327 15.3438 22.28 15.3638 22.2311 15.3638H11.8426C11.7937 15.3638 11.7466 15.3837 11.7122 15.4181L4.45458 22.663C4.33688 22.7789 4.42018 22.9799 4.58496 22.9799H13.9558C14.2292 22.9799 14.4501 23.2008 14.4501 23.4743V33.1946C14.4501 33.2471 14.4737 33.2942 14.5099 33.3286C14.5443 33.3648 14.5914 33.3883 14.6439 33.3883H24.3642C24.6376 33.3883 24.8585 33.6092 24.8585 33.8827V43.2535C24.8585 43.4183 25.0595 43.5016 25.1754 43.3839L32.4204 36.1262C32.4548 36.0918 32.4747 36.0448 32.4747 35.9959V25.6074C32.4747 25.5585 32.4946 25.5114 32.529 25.477L38.1841 19.8111C38.2185 19.7767 38.2384 19.7296 38.2384 19.6807V9.81371H38.2402ZM31.6979 24.2493C31.6979 24.5173 31.4806 24.7364 31.2108 24.7364H23.5892C23.3212 24.7364 23.1021 24.5191 23.1021 24.2493V16.6277C23.1021 16.3597 23.3193 16.1406 23.5892 16.1406H31.2108C31.4787 16.1406 31.6979 16.3579 31.6979 16.6277V24.2493Z",
|
|
@@ -17757,7 +17926,7 @@ __name(createFocusGuard, "createFocusGuard");
|
|
|
17757
17926
|
|
|
17758
17927
|
// ../../node_modules/@radix-ui/react-focus-scope/dist/index.mjs
|
|
17759
17928
|
var React19 = __toESM(require("react"), 1);
|
|
17760
|
-
var
|
|
17929
|
+
var import_jsx_runtime218 = require("react/jsx-runtime");
|
|
17761
17930
|
var AUTOFOCUS_ON_MOUNT = "focusScope.autoFocusOnMount";
|
|
17762
17931
|
var AUTOFOCUS_ON_UNMOUNT = "focusScope.autoFocusOnUnmount";
|
|
17763
17932
|
var EVENT_OPTIONS = { bubbles: false, cancelable: true };
|
|
@@ -17876,7 +18045,7 @@ var FocusScope = React19.forwardRef((props, forwardedRef) => {
|
|
|
17876
18045
|
},
|
|
17877
18046
|
[loop, trapped, focusScope.paused]
|
|
17878
18047
|
);
|
|
17879
|
-
return /* @__PURE__ */ (0,
|
|
18048
|
+
return /* @__PURE__ */ (0, import_jsx_runtime218.jsx)(Primitive.div, { tabIndex: -1, ...scopeProps, ref: composedRefs, onKeyDown: handleKeyDown });
|
|
17880
18049
|
});
|
|
17881
18050
|
FocusScope.displayName = FOCUS_SCOPE_NAME;
|
|
17882
18051
|
function focusFirst2(candidates, { select = false } = {}) {
|
|
@@ -19580,9 +19749,9 @@ var computePosition2 = /* @__PURE__ */ __name((reference, floating, options) =>
|
|
|
19580
19749
|
|
|
19581
19750
|
// ../../node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.mjs
|
|
19582
19751
|
var React21 = __toESM(require("react"), 1);
|
|
19583
|
-
var
|
|
19752
|
+
var import_react25 = require("react");
|
|
19584
19753
|
var ReactDOM4 = __toESM(require("react-dom"), 1);
|
|
19585
|
-
var index = typeof document !== "undefined" ?
|
|
19754
|
+
var index = typeof document !== "undefined" ? import_react25.useLayoutEffect : import_react25.useEffect;
|
|
19586
19755
|
function deepEqual(a, b) {
|
|
19587
19756
|
if (a === b) {
|
|
19588
19757
|
return true;
|
|
@@ -19862,11 +20031,11 @@ var arrow3 = /* @__PURE__ */ __name((options, deps) => ({
|
|
|
19862
20031
|
|
|
19863
20032
|
// ../../node_modules/@radix-ui/react-arrow/dist/index.mjs
|
|
19864
20033
|
var React25 = __toESM(require("react"), 1);
|
|
19865
|
-
var
|
|
20034
|
+
var import_jsx_runtime219 = require("react/jsx-runtime");
|
|
19866
20035
|
var NAME2 = "Arrow";
|
|
19867
20036
|
var Arrow = React25.forwardRef((props, forwardedRef) => {
|
|
19868
20037
|
const { children, width = 10, height = 5, ...arrowProps } = props;
|
|
19869
|
-
return /* @__PURE__ */ (0,
|
|
20038
|
+
return /* @__PURE__ */ (0, import_jsx_runtime219.jsx)(
|
|
19870
20039
|
Primitive.svg,
|
|
19871
20040
|
{
|
|
19872
20041
|
...arrowProps,
|
|
@@ -19875,12 +20044,12 @@ var Arrow = React25.forwardRef((props, forwardedRef) => {
|
|
|
19875
20044
|
height,
|
|
19876
20045
|
viewBox: "0 0 30 10",
|
|
19877
20046
|
preserveAspectRatio: "none",
|
|
19878
|
-
children: props.asChild ? children : /* @__PURE__ */ (0,
|
|
20047
|
+
children: props.asChild ? children : /* @__PURE__ */ (0, import_jsx_runtime219.jsx)("polygon", { points: "0,0 30,0 15,10" })
|
|
19879
20048
|
}
|
|
19880
20049
|
);
|
|
19881
20050
|
});
|
|
19882
20051
|
Arrow.displayName = NAME2;
|
|
19883
|
-
var
|
|
20052
|
+
var Root4 = Arrow;
|
|
19884
20053
|
|
|
19885
20054
|
// ../../node_modules/@radix-ui/react-use-size/dist/index.mjs
|
|
19886
20055
|
var React26 = __toESM(require("react"), 1);
|
|
@@ -19921,14 +20090,14 @@ function useSize(element) {
|
|
|
19921
20090
|
__name(useSize, "useSize");
|
|
19922
20091
|
|
|
19923
20092
|
// ../../node_modules/@radix-ui/react-popper/dist/index.mjs
|
|
19924
|
-
var
|
|
20093
|
+
var import_jsx_runtime220 = require("react/jsx-runtime");
|
|
19925
20094
|
var POPPER_NAME = "Popper";
|
|
19926
20095
|
var [createPopperContext, createPopperScope] = createContextScope(POPPER_NAME);
|
|
19927
20096
|
var [PopperProvider, usePopperContext] = createPopperContext(POPPER_NAME);
|
|
19928
20097
|
var Popper = /* @__PURE__ */ __name((props) => {
|
|
19929
20098
|
const { __scopePopper, children } = props;
|
|
19930
20099
|
const [anchor, setAnchor] = React27.useState(null);
|
|
19931
|
-
return /* @__PURE__ */ (0,
|
|
20100
|
+
return /* @__PURE__ */ (0, import_jsx_runtime220.jsx)(PopperProvider, { scope: __scopePopper, anchor, onAnchorChange: setAnchor, children });
|
|
19932
20101
|
}, "Popper");
|
|
19933
20102
|
Popper.displayName = POPPER_NAME;
|
|
19934
20103
|
var ANCHOR_NAME = "PopperAnchor";
|
|
@@ -19941,7 +20110,7 @@ var PopperAnchor = React27.forwardRef(
|
|
|
19941
20110
|
React27.useEffect(() => {
|
|
19942
20111
|
context.onAnchorChange(virtualRef?.current || ref.current);
|
|
19943
20112
|
});
|
|
19944
|
-
return virtualRef ? null : /* @__PURE__ */ (0,
|
|
20113
|
+
return virtualRef ? null : /* @__PURE__ */ (0, import_jsx_runtime220.jsx)(Primitive.div, { ...anchorProps, ref: composedRefs });
|
|
19945
20114
|
}
|
|
19946
20115
|
);
|
|
19947
20116
|
PopperAnchor.displayName = ANCHOR_NAME;
|
|
@@ -20034,7 +20203,7 @@ var PopperContent = React27.forwardRef(
|
|
|
20034
20203
|
useLayoutEffect2(() => {
|
|
20035
20204
|
if (content) setContentZIndex(window.getComputedStyle(content).zIndex);
|
|
20036
20205
|
}, [content]);
|
|
20037
|
-
return /* @__PURE__ */ (0,
|
|
20206
|
+
return /* @__PURE__ */ (0, import_jsx_runtime220.jsx)(
|
|
20038
20207
|
"div",
|
|
20039
20208
|
{
|
|
20040
20209
|
ref: refs.setFloating,
|
|
@@ -20058,7 +20227,7 @@ var PopperContent = React27.forwardRef(
|
|
|
20058
20227
|
}
|
|
20059
20228
|
},
|
|
20060
20229
|
dir: props.dir,
|
|
20061
|
-
children: /* @__PURE__ */ (0,
|
|
20230
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime220.jsx)(
|
|
20062
20231
|
PopperContentProvider,
|
|
20063
20232
|
{
|
|
20064
20233
|
scope: __scopePopper,
|
|
@@ -20067,7 +20236,7 @@ var PopperContent = React27.forwardRef(
|
|
|
20067
20236
|
arrowX,
|
|
20068
20237
|
arrowY,
|
|
20069
20238
|
shouldHideArrow: cannotCenterArrow,
|
|
20070
|
-
children: /* @__PURE__ */ (0,
|
|
20239
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime220.jsx)(
|
|
20071
20240
|
Primitive.div,
|
|
20072
20241
|
{
|
|
20073
20242
|
"data-side": placedSide,
|
|
@@ -20104,7 +20273,7 @@ var PopperArrow = React27.forwardRef(/* @__PURE__ */ __name(function PopperArrow
|
|
|
20104
20273
|
// we have to use an extra wrapper because `ResizeObserver` (used by `useSize`)
|
|
20105
20274
|
// doesn't report size as we'd expect on SVG elements.
|
|
20106
20275
|
// it reports their bounding box which is effectively the largest path inside the SVG.
|
|
20107
|
-
/* @__PURE__ */ (0,
|
|
20276
|
+
/* @__PURE__ */ (0, import_jsx_runtime220.jsx)(
|
|
20108
20277
|
"span",
|
|
20109
20278
|
{
|
|
20110
20279
|
ref: contentContext.onArrowChange,
|
|
@@ -20127,8 +20296,8 @@ var PopperArrow = React27.forwardRef(/* @__PURE__ */ __name(function PopperArrow
|
|
|
20127
20296
|
}[contentContext.placedSide],
|
|
20128
20297
|
visibility: contentContext.shouldHideArrow ? "hidden" : void 0
|
|
20129
20298
|
},
|
|
20130
|
-
children: /* @__PURE__ */ (0,
|
|
20131
|
-
|
|
20299
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime220.jsx)(
|
|
20300
|
+
Root4,
|
|
20132
20301
|
{
|
|
20133
20302
|
...arrowProps,
|
|
20134
20303
|
ref: forwardedRef,
|
|
@@ -20368,9 +20537,9 @@ function assignRef(ref, value) {
|
|
|
20368
20537
|
__name(assignRef, "assignRef");
|
|
20369
20538
|
|
|
20370
20539
|
// ../../node_modules/use-callback-ref/dist/es2015/useRef.js
|
|
20371
|
-
var
|
|
20540
|
+
var import_react26 = require("react");
|
|
20372
20541
|
function useCallbackRef2(initialValue, callback) {
|
|
20373
|
-
var ref = (0,
|
|
20542
|
+
var ref = (0, import_react26.useState)(function() {
|
|
20374
20543
|
return {
|
|
20375
20544
|
// value
|
|
20376
20545
|
value: initialValue,
|
|
@@ -21039,7 +21208,7 @@ ReactRemoveScroll.classNames = RemoveScroll.classNames;
|
|
|
21039
21208
|
var Combination_default = ReactRemoveScroll;
|
|
21040
21209
|
|
|
21041
21210
|
// ../../node_modules/@radix-ui/react-popover/dist/index.mjs
|
|
21042
|
-
var
|
|
21211
|
+
var import_jsx_runtime221 = require("react/jsx-runtime");
|
|
21043
21212
|
var POPOVER_NAME = "Popover";
|
|
21044
21213
|
var [createPopoverContext, createPopoverScope] = createContextScope(POPOVER_NAME, [
|
|
21045
21214
|
createPopperScope
|
|
@@ -21064,7 +21233,7 @@ var Popover2 = /* @__PURE__ */ __name((props) => {
|
|
|
21064
21233
|
onChange: onOpenChange,
|
|
21065
21234
|
caller: POPOVER_NAME
|
|
21066
21235
|
});
|
|
21067
|
-
return /* @__PURE__ */ (0,
|
|
21236
|
+
return /* @__PURE__ */ (0, import_jsx_runtime221.jsx)(Root22, { ...popperScope, children: /* @__PURE__ */ (0, import_jsx_runtime221.jsx)(
|
|
21068
21237
|
PopoverProvider,
|
|
21069
21238
|
{
|
|
21070
21239
|
scope: __scopePopover,
|
|
@@ -21093,7 +21262,7 @@ var PopoverAnchor2 = React35.forwardRef(
|
|
|
21093
21262
|
onCustomAnchorAdd();
|
|
21094
21263
|
return () => onCustomAnchorRemove();
|
|
21095
21264
|
}, [onCustomAnchorAdd, onCustomAnchorRemove]);
|
|
21096
|
-
return /* @__PURE__ */ (0,
|
|
21265
|
+
return /* @__PURE__ */ (0, import_jsx_runtime221.jsx)(Anchor, { ...popperScope, ...anchorProps, ref: forwardedRef });
|
|
21097
21266
|
}
|
|
21098
21267
|
);
|
|
21099
21268
|
PopoverAnchor2.displayName = ANCHOR_NAME2;
|
|
@@ -21104,7 +21273,7 @@ var PopoverTrigger2 = React35.forwardRef(
|
|
|
21104
21273
|
const context = usePopoverContext(TRIGGER_NAME, __scopePopover);
|
|
21105
21274
|
const popperScope = usePopperScope(__scopePopover);
|
|
21106
21275
|
const composedTriggerRef = useComposedRefs(forwardedRef, context.triggerRef);
|
|
21107
|
-
const trigger = /* @__PURE__ */ (0,
|
|
21276
|
+
const trigger = /* @__PURE__ */ (0, import_jsx_runtime221.jsx)(
|
|
21108
21277
|
Primitive.button,
|
|
21109
21278
|
{
|
|
21110
21279
|
type: "button",
|
|
@@ -21117,7 +21286,7 @@ var PopoverTrigger2 = React35.forwardRef(
|
|
|
21117
21286
|
onClick: composeEventHandlers(props.onClick, context.onOpenToggle)
|
|
21118
21287
|
}
|
|
21119
21288
|
);
|
|
21120
|
-
return context.hasCustomAnchor ? trigger : /* @__PURE__ */ (0,
|
|
21289
|
+
return context.hasCustomAnchor ? trigger : /* @__PURE__ */ (0, import_jsx_runtime221.jsx)(Anchor, { asChild: true, ...popperScope, children: trigger });
|
|
21121
21290
|
}
|
|
21122
21291
|
);
|
|
21123
21292
|
PopoverTrigger2.displayName = TRIGGER_NAME;
|
|
@@ -21128,7 +21297,7 @@ var [PortalProvider, usePortalContext] = createPopoverContext(PORTAL_NAME2, {
|
|
|
21128
21297
|
var PopoverPortal = /* @__PURE__ */ __name((props) => {
|
|
21129
21298
|
const { __scopePopover, forceMount, children, container } = props;
|
|
21130
21299
|
const context = usePopoverContext(PORTAL_NAME2, __scopePopover);
|
|
21131
|
-
return /* @__PURE__ */ (0,
|
|
21300
|
+
return /* @__PURE__ */ (0, import_jsx_runtime221.jsx)(PortalProvider, { scope: __scopePopover, forceMount, children: /* @__PURE__ */ (0, import_jsx_runtime221.jsx)(Presence, { present: forceMount || context.open, children: /* @__PURE__ */ (0, import_jsx_runtime221.jsx)(Portal, { asChild: true, container, children }) }) });
|
|
21132
21301
|
}, "PopoverPortal");
|
|
21133
21302
|
PopoverPortal.displayName = PORTAL_NAME2;
|
|
21134
21303
|
var CONTENT_NAME2 = "PopoverContent";
|
|
@@ -21137,7 +21306,7 @@ var PopoverContent2 = React35.forwardRef(
|
|
|
21137
21306
|
const portalContext = usePortalContext(CONTENT_NAME2, props.__scopePopover);
|
|
21138
21307
|
const { forceMount = portalContext.forceMount, ...contentProps } = props;
|
|
21139
21308
|
const context = usePopoverContext(CONTENT_NAME2, props.__scopePopover);
|
|
21140
|
-
return /* @__PURE__ */ (0,
|
|
21309
|
+
return /* @__PURE__ */ (0, import_jsx_runtime221.jsx)(Presence, { present: forceMount || context.open, children: context.modal ? /* @__PURE__ */ (0, import_jsx_runtime221.jsx)(PopoverContentModal, { ...contentProps, ref: forwardedRef }) : /* @__PURE__ */ (0, import_jsx_runtime221.jsx)(PopoverContentNonModal, { ...contentProps, ref: forwardedRef }) });
|
|
21141
21310
|
}
|
|
21142
21311
|
);
|
|
21143
21312
|
PopoverContent2.displayName = CONTENT_NAME2;
|
|
@@ -21152,7 +21321,7 @@ var PopoverContentModal = React35.forwardRef(
|
|
|
21152
21321
|
const content = contentRef.current;
|
|
21153
21322
|
if (content) return hideOthers(content);
|
|
21154
21323
|
}, []);
|
|
21155
|
-
return /* @__PURE__ */ (0,
|
|
21324
|
+
return /* @__PURE__ */ (0, import_jsx_runtime221.jsx)(Combination_default, { as: Slot2, allowPinchZoom: true, children: /* @__PURE__ */ (0, import_jsx_runtime221.jsx)(
|
|
21156
21325
|
PopoverContentImpl,
|
|
21157
21326
|
{
|
|
21158
21327
|
...props,
|
|
@@ -21187,7 +21356,7 @@ var PopoverContentNonModal = React35.forwardRef(
|
|
|
21187
21356
|
const context = usePopoverContext(CONTENT_NAME2, props.__scopePopover);
|
|
21188
21357
|
const hasInteractedOutsideRef = React35.useRef(false);
|
|
21189
21358
|
const hasPointerDownOutsideRef = React35.useRef(false);
|
|
21190
|
-
return /* @__PURE__ */ (0,
|
|
21359
|
+
return /* @__PURE__ */ (0, import_jsx_runtime221.jsx)(
|
|
21191
21360
|
PopoverContentImpl,
|
|
21192
21361
|
{
|
|
21193
21362
|
...props,
|
|
@@ -21239,7 +21408,7 @@ var PopoverContentImpl = React35.forwardRef(
|
|
|
21239
21408
|
const context = usePopoverContext(CONTENT_NAME2, __scopePopover);
|
|
21240
21409
|
const popperScope = usePopperScope(__scopePopover);
|
|
21241
21410
|
useFocusGuards();
|
|
21242
|
-
return /* @__PURE__ */ (0,
|
|
21411
|
+
return /* @__PURE__ */ (0, import_jsx_runtime221.jsx)(
|
|
21243
21412
|
FocusScope,
|
|
21244
21413
|
{
|
|
21245
21414
|
asChild: true,
|
|
@@ -21247,7 +21416,7 @@ var PopoverContentImpl = React35.forwardRef(
|
|
|
21247
21416
|
trapped: trapFocus,
|
|
21248
21417
|
onMountAutoFocus: onOpenAutoFocus,
|
|
21249
21418
|
onUnmountAutoFocus: onCloseAutoFocus,
|
|
21250
|
-
children: /* @__PURE__ */ (0,
|
|
21419
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime221.jsx)(
|
|
21251
21420
|
DismissableLayer,
|
|
21252
21421
|
{
|
|
21253
21422
|
asChild: true,
|
|
@@ -21257,7 +21426,7 @@ var PopoverContentImpl = React35.forwardRef(
|
|
|
21257
21426
|
onPointerDownOutside,
|
|
21258
21427
|
onFocusOutside,
|
|
21259
21428
|
onDismiss: /* @__PURE__ */ __name(() => context.onOpenChange(false), "onDismiss"),
|
|
21260
|
-
children: /* @__PURE__ */ (0,
|
|
21429
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime221.jsx)(
|
|
21261
21430
|
Content,
|
|
21262
21431
|
{
|
|
21263
21432
|
"data-state": getState(context.open),
|
|
@@ -21290,7 +21459,7 @@ var PopoverClose = React35.forwardRef(
|
|
|
21290
21459
|
(props, forwardedRef) => {
|
|
21291
21460
|
const { __scopePopover, ...closeProps } = props;
|
|
21292
21461
|
const context = usePopoverContext(CLOSE_NAME2, __scopePopover);
|
|
21293
|
-
return /* @__PURE__ */ (0,
|
|
21462
|
+
return /* @__PURE__ */ (0, import_jsx_runtime221.jsx)(
|
|
21294
21463
|
Primitive.button,
|
|
21295
21464
|
{
|
|
21296
21465
|
type: "button",
|
|
@@ -21307,7 +21476,7 @@ var PopoverArrow = React35.forwardRef(
|
|
|
21307
21476
|
(props, forwardedRef) => {
|
|
21308
21477
|
const { __scopePopover, ...arrowProps } = props;
|
|
21309
21478
|
const popperScope = usePopperScope(__scopePopover);
|
|
21310
|
-
return /* @__PURE__ */ (0,
|
|
21479
|
+
return /* @__PURE__ */ (0, import_jsx_runtime221.jsx)(Arrow2, { ...popperScope, ...arrowProps, ref: forwardedRef });
|
|
21311
21480
|
}
|
|
21312
21481
|
);
|
|
21313
21482
|
PopoverArrow.displayName = ARROW_NAME2;
|
|
@@ -21324,30 +21493,30 @@ var Arrow22 = PopoverArrow;
|
|
|
21324
21493
|
|
|
21325
21494
|
// src/components/coach-mark/primitive/index.tsx
|
|
21326
21495
|
var import_cva11 = require("cva");
|
|
21327
|
-
var
|
|
21328
|
-
var
|
|
21496
|
+
var import_clsx20 = __toESM(require("clsx"));
|
|
21497
|
+
var import_react27 = require("react");
|
|
21329
21498
|
|
|
21330
21499
|
// src/components/coach-mark/primitive/style.module.scss
|
|
21331
|
-
var
|
|
21500
|
+
var style_module_default20 = {
|
|
21332
21501
|
"anchor": "_anchor_1pmfi_1",
|
|
21333
21502
|
"content": "_content_1pmfi_5",
|
|
21334
21503
|
"overlay": "_overlay_1pmfi_11"
|
|
21335
21504
|
};
|
|
21336
21505
|
|
|
21337
21506
|
// src/components/coach-mark/primitive/index.tsx
|
|
21338
|
-
var
|
|
21507
|
+
var import_jsx_runtime222 = require("react/jsx-runtime");
|
|
21339
21508
|
var primitiveCoachMarkVariants = (0, import_cva11.cva)({
|
|
21340
|
-
base:
|
|
21509
|
+
base: style_module_default20.content
|
|
21341
21510
|
});
|
|
21342
21511
|
var primitiveCoachMarkAnchorVariants = (0, import_cva11.cva)({
|
|
21343
|
-
base:
|
|
21512
|
+
base: style_module_default20.anchor
|
|
21344
21513
|
});
|
|
21345
|
-
var PrimitiveCoachMarkTrigger = /* @__PURE__ */ __name(({ by }) => /* @__PURE__ */ (0,
|
|
21346
|
-
var PrimitiveCoachMarkRoot = /* @__PURE__ */ __name(({ trigger, children, ...props }) => /* @__PURE__ */ (0,
|
|
21347
|
-
/* @__PURE__ */ (0,
|
|
21514
|
+
var PrimitiveCoachMarkTrigger = /* @__PURE__ */ __name(({ by }) => /* @__PURE__ */ (0, import_jsx_runtime222.jsx)(Trigger, { asChild: true, children: by }), "PrimitiveCoachMarkTrigger");
|
|
21515
|
+
var PrimitiveCoachMarkRoot = /* @__PURE__ */ __name(({ trigger, children, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime222.jsxs)(Root23, { ...props, children: [
|
|
21516
|
+
/* @__PURE__ */ (0, import_jsx_runtime222.jsx)(PrimitiveCoachMarkTrigger, { by: trigger }),
|
|
21348
21517
|
children
|
|
21349
21518
|
] }), "PrimitiveCoachMarkRoot");
|
|
21350
|
-
var PrimitiveCoachMarkAnchor = /* @__PURE__ */ __name(({ className }) => /* @__PURE__ */ (0,
|
|
21519
|
+
var PrimitiveCoachMarkAnchor = /* @__PURE__ */ __name(({ className }) => /* @__PURE__ */ (0, import_jsx_runtime222.jsx)(
|
|
21351
21520
|
"svg",
|
|
21352
21521
|
{
|
|
21353
21522
|
className,
|
|
@@ -21356,7 +21525,7 @@ var PrimitiveCoachMarkAnchor = /* @__PURE__ */ __name(({ className }) => /* @__P
|
|
|
21356
21525
|
height: "24",
|
|
21357
21526
|
viewBox: "0 0 10 24",
|
|
21358
21527
|
fill: "none",
|
|
21359
|
-
children: /* @__PURE__ */ (0,
|
|
21528
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime222.jsx)(
|
|
21360
21529
|
"path",
|
|
21361
21530
|
{
|
|
21362
21531
|
fillRule: "evenodd",
|
|
@@ -21367,15 +21536,15 @@ var PrimitiveCoachMarkAnchor = /* @__PURE__ */ __name(({ className }) => /* @__P
|
|
|
21367
21536
|
)
|
|
21368
21537
|
}
|
|
21369
21538
|
), "PrimitiveCoachMarkAnchor");
|
|
21370
|
-
var PrimitiveCoachMarkContent = (0,
|
|
21539
|
+
var PrimitiveCoachMarkContent = (0, import_react27.forwardRef)(({ children, className, container, ...rest }, ref) => /* @__PURE__ */ (0, import_jsx_runtime222.jsx)(Portal2, { container, children: /* @__PURE__ */ (0, import_jsx_runtime222.jsxs)(
|
|
21371
21540
|
Content2,
|
|
21372
21541
|
{
|
|
21373
21542
|
ref,
|
|
21374
|
-
className: (0,
|
|
21543
|
+
className: (0, import_clsx20.default)(primitiveCoachMarkVariants(), className),
|
|
21375
21544
|
...rest,
|
|
21376
21545
|
children: [
|
|
21377
21546
|
children,
|
|
21378
|
-
/* @__PURE__ */ (0,
|
|
21547
|
+
/* @__PURE__ */ (0, import_jsx_runtime222.jsx)(Arrow22, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime222.jsx)(PrimitiveCoachMarkAnchor, { className: (0, import_clsx20.default)(primitiveCoachMarkAnchorVariants()) }) })
|
|
21379
21548
|
]
|
|
21380
21549
|
}
|
|
21381
21550
|
) }));
|
|
@@ -21386,10 +21555,10 @@ var PrimitiveCoachMark = Object.assign(PrimitiveCoachMarkRoot, {
|
|
|
21386
21555
|
});
|
|
21387
21556
|
|
|
21388
21557
|
// src/components/coach-mark/compact/index.tsx
|
|
21389
|
-
var
|
|
21558
|
+
var import_react29 = require("react");
|
|
21390
21559
|
|
|
21391
21560
|
// src/components/coach-mark/compact/style.module.scss
|
|
21392
|
-
var
|
|
21561
|
+
var style_module_default21 = {
|
|
21393
21562
|
"content": "_content_1tkjk_1",
|
|
21394
21563
|
"slideIn": "_slideIn_1tkjk_1",
|
|
21395
21564
|
"closeButton": "_closeButton_1tkjk_20",
|
|
@@ -21399,14 +21568,14 @@ var style_module_default18 = {
|
|
|
21399
21568
|
};
|
|
21400
21569
|
|
|
21401
21570
|
// src/components/coach-mark/compact/index.tsx
|
|
21402
|
-
var
|
|
21571
|
+
var import_clsx21 = __toESM(require("clsx"));
|
|
21403
21572
|
var import_cva13 = require("cva");
|
|
21404
21573
|
|
|
21405
21574
|
// src/components/Tag/index.tsx
|
|
21406
|
-
var
|
|
21575
|
+
var import_react28 = require("react");
|
|
21407
21576
|
|
|
21408
21577
|
// src/components/Tag/style.module.scss
|
|
21409
|
-
var
|
|
21578
|
+
var style_module_default22 = {
|
|
21410
21579
|
"tag": "_tag_148vi_2",
|
|
21411
21580
|
"s": "_s_148vi_12",
|
|
21412
21581
|
"m": "_m_148vi_18",
|
|
@@ -21629,28 +21798,28 @@ var style_module_default19 = {
|
|
|
21629
21798
|
|
|
21630
21799
|
// src/components/Tag/index.tsx
|
|
21631
21800
|
var import_cva12 = require("cva");
|
|
21632
|
-
var
|
|
21801
|
+
var import_jsx_runtime223 = require("react/jsx-runtime");
|
|
21633
21802
|
var tagVariants = (0, import_cva12.cva)({
|
|
21634
|
-
base:
|
|
21803
|
+
base: style_module_default22.tag,
|
|
21635
21804
|
variants: {
|
|
21636
|
-
color: arrayToStyleObject(colorOptions,
|
|
21637
|
-
backgroundColor: arrayToStyleObject(colorOptions,
|
|
21638
|
-
borderColor: arrayToStyleObject(colorOptions,
|
|
21805
|
+
color: arrayToStyleObject(colorOptions, style_module_default22, "color"),
|
|
21806
|
+
backgroundColor: arrayToStyleObject(colorOptions, style_module_default22, "bg"),
|
|
21807
|
+
borderColor: arrayToStyleObject(colorOptions, style_module_default22, "border"),
|
|
21639
21808
|
size: {
|
|
21640
|
-
s:
|
|
21641
|
-
m:
|
|
21642
|
-
l:
|
|
21809
|
+
s: style_module_default22.s,
|
|
21810
|
+
m: style_module_default22.m,
|
|
21811
|
+
l: style_module_default22.l
|
|
21643
21812
|
},
|
|
21644
21813
|
thick: {
|
|
21645
|
-
true:
|
|
21814
|
+
true: style_module_default22.thick
|
|
21646
21815
|
},
|
|
21647
21816
|
radius: {
|
|
21648
|
-
square:
|
|
21649
|
-
rounded:
|
|
21817
|
+
square: style_module_default22.square,
|
|
21818
|
+
rounded: style_module_default22.rounded
|
|
21650
21819
|
}
|
|
21651
21820
|
}
|
|
21652
21821
|
});
|
|
21653
|
-
var Tag = (0,
|
|
21822
|
+
var Tag = (0, import_react28.forwardRef)(
|
|
21654
21823
|
({
|
|
21655
21824
|
children,
|
|
21656
21825
|
color = "neutral-label-static-primary",
|
|
@@ -21661,7 +21830,7 @@ var Tag = (0, import_react27.forwardRef)(
|
|
|
21661
21830
|
size: size4 = "s",
|
|
21662
21831
|
...rest
|
|
21663
21832
|
}, ref) => {
|
|
21664
|
-
return /* @__PURE__ */ (0,
|
|
21833
|
+
return /* @__PURE__ */ (0, import_jsx_runtime223.jsx)(
|
|
21665
21834
|
Caption,
|
|
21666
21835
|
{
|
|
21667
21836
|
ref,
|
|
@@ -21678,30 +21847,30 @@ var Tag = (0, import_react27.forwardRef)(
|
|
|
21678
21847
|
);
|
|
21679
21848
|
|
|
21680
21849
|
// src/components/coach-mark/compact/index.tsx
|
|
21681
|
-
var
|
|
21850
|
+
var import_jsx_runtime224 = require("react/jsx-runtime");
|
|
21682
21851
|
var compactCoachMarkVariants = (0, import_cva13.cva)({
|
|
21683
|
-
base:
|
|
21852
|
+
base: style_module_default21.content,
|
|
21684
21853
|
variants: {
|
|
21685
21854
|
level: {
|
|
21686
|
-
brand:
|
|
21687
|
-
"inverse-static":
|
|
21688
|
-
inverse:
|
|
21855
|
+
brand: style_module_default21.brand,
|
|
21856
|
+
"inverse-static": style_module_default21["inverse-static"],
|
|
21857
|
+
inverse: style_module_default21.inverse
|
|
21689
21858
|
}
|
|
21690
21859
|
}
|
|
21691
21860
|
});
|
|
21692
21861
|
var CompactCoachMarkRoot = /* @__PURE__ */ __name((props) => {
|
|
21693
|
-
return /* @__PURE__ */ (0,
|
|
21862
|
+
return /* @__PURE__ */ (0, import_jsx_runtime224.jsx)(PrimitiveCoachMark, { ...props });
|
|
21694
21863
|
}, "CompactCoachMarkRoot");
|
|
21695
|
-
var CompactCoachMarkContent = (0,
|
|
21864
|
+
var CompactCoachMarkContent = (0, import_react29.forwardRef)(({ tag, title, level = "brand", className, side = "top", sideOffset = -15, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime224.jsxs)(
|
|
21696
21865
|
PrimitiveCoachMark.Content,
|
|
21697
21866
|
{
|
|
21698
21867
|
ref,
|
|
21699
|
-
className: (0,
|
|
21868
|
+
className: (0, import_clsx21.default)(compactCoachMarkVariants({ level }), className),
|
|
21700
21869
|
side,
|
|
21701
21870
|
sideOffset,
|
|
21702
21871
|
...props,
|
|
21703
21872
|
children: [
|
|
21704
|
-
tag && /* @__PURE__ */ (0,
|
|
21873
|
+
tag && /* @__PURE__ */ (0, import_jsx_runtime224.jsx)(
|
|
21705
21874
|
Tag,
|
|
21706
21875
|
{
|
|
21707
21876
|
color: level === "inverse" ? "neutral-label-primary" : "neutral-label-static-primary",
|
|
@@ -21709,7 +21878,7 @@ var CompactCoachMarkContent = (0, import_react28.forwardRef)(({ tag, title, leve
|
|
|
21709
21878
|
children: tag
|
|
21710
21879
|
}
|
|
21711
21880
|
),
|
|
21712
|
-
/* @__PURE__ */ (0,
|
|
21881
|
+
/* @__PURE__ */ (0, import_jsx_runtime224.jsx)(Caption, { size: 2, type: "normal", weight: "bold", color: "inverse-label-static-primary", children: title })
|
|
21713
21882
|
]
|
|
21714
21883
|
}
|
|
21715
21884
|
));
|
|
@@ -21720,7 +21889,7 @@ var CompactCoachMark = Object.assign(CompactCoachMarkRoot, {
|
|
|
21720
21889
|
});
|
|
21721
21890
|
|
|
21722
21891
|
// src/components/coach-mark/main/style.module.scss
|
|
21723
|
-
var
|
|
21892
|
+
var style_module_default23 = {
|
|
21724
21893
|
"content": "_content_196c9_1",
|
|
21725
21894
|
"slideIn": "_slideIn_196c9_1",
|
|
21726
21895
|
"brand": "_brand_196c9_19",
|
|
@@ -21737,9 +21906,9 @@ var style_module_default20 = {
|
|
|
21737
21906
|
};
|
|
21738
21907
|
|
|
21739
21908
|
// src/components/coach-mark/main/index.tsx
|
|
21740
|
-
var
|
|
21909
|
+
var import_react30 = require("react");
|
|
21741
21910
|
var import_cva14 = require("cva");
|
|
21742
|
-
var
|
|
21911
|
+
var import_clsx22 = __toESM(require("clsx"));
|
|
21743
21912
|
|
|
21744
21913
|
// src/constants/illust/size.ts
|
|
21745
21914
|
var ratio = {
|
|
@@ -21802,7 +21971,7 @@ var useIllust = /* @__PURE__ */ __name(({ darkSrc, src }) => {
|
|
|
21802
21971
|
}, "useIllust");
|
|
21803
21972
|
|
|
21804
21973
|
// src/components/Illust/index.tsx
|
|
21805
|
-
var
|
|
21974
|
+
var import_jsx_runtime225 = require("react/jsx-runtime");
|
|
21806
21975
|
var Illust = /* @__PURE__ */ __name((props) => {
|
|
21807
21976
|
const { src, width, margin } = props;
|
|
21808
21977
|
const { sourcePrefix, currentSourceByColorTheme } = useIllust({
|
|
@@ -21815,7 +21984,7 @@ var Illust = /* @__PURE__ */ __name((props) => {
|
|
|
21815
21984
|
margin
|
|
21816
21985
|
};
|
|
21817
21986
|
const source = `${sourcePrefix}${currentSourceByColorTheme}.webp`;
|
|
21818
|
-
return /* @__PURE__ */ (0,
|
|
21987
|
+
return /* @__PURE__ */ (0, import_jsx_runtime225.jsx)("div", { style: css, children: /* @__PURE__ */ (0, import_jsx_runtime225.jsx)(
|
|
21819
21988
|
import_image.default,
|
|
21820
21989
|
{
|
|
21821
21990
|
...props,
|
|
@@ -21828,14 +21997,14 @@ var Illust = /* @__PURE__ */ __name((props) => {
|
|
|
21828
21997
|
}, "Illust");
|
|
21829
21998
|
|
|
21830
21999
|
// src/components/coach-mark/main/index.tsx
|
|
21831
|
-
var
|
|
22000
|
+
var import_jsx_runtime226 = require("react/jsx-runtime");
|
|
21832
22001
|
var coachMarkVariants = (0, import_cva14.cva)({
|
|
21833
|
-
base:
|
|
22002
|
+
base: style_module_default23.content,
|
|
21834
22003
|
variants: {
|
|
21835
22004
|
level: {
|
|
21836
|
-
brand:
|
|
21837
|
-
"inverse-static":
|
|
21838
|
-
inverse:
|
|
22005
|
+
brand: style_module_default23.brand,
|
|
22006
|
+
"inverse-static": style_module_default23["inverse-static"],
|
|
22007
|
+
inverse: style_module_default23.inverse
|
|
21839
22008
|
}
|
|
21840
22009
|
}
|
|
21841
22010
|
});
|
|
@@ -21846,8 +22015,8 @@ var coachMarkLevelButtonLevelMap = {
|
|
|
21846
22015
|
};
|
|
21847
22016
|
var CoachMarkRoot = /* @__PURE__ */ __name((props) => {
|
|
21848
22017
|
const { children } = props;
|
|
21849
|
-
(0,
|
|
21850
|
-
if ((0,
|
|
22018
|
+
(0, import_react30.useEffect)(() => {
|
|
22019
|
+
if ((0, import_react30.isValidElement)(children) && "image" in children.props) {
|
|
21851
22020
|
const imageProps = children.props.image;
|
|
21852
22021
|
if (imageProps?.src) {
|
|
21853
22022
|
const img = new Image();
|
|
@@ -21855,9 +22024,9 @@ var CoachMarkRoot = /* @__PURE__ */ __name((props) => {
|
|
|
21855
22024
|
}
|
|
21856
22025
|
}
|
|
21857
22026
|
}, []);
|
|
21858
|
-
return /* @__PURE__ */ (0,
|
|
22027
|
+
return /* @__PURE__ */ (0, import_jsx_runtime226.jsx)(PrimitiveCoachMark, { ...props });
|
|
21859
22028
|
}, "CoachMarkRoot");
|
|
21860
|
-
var CoachMarkContent = (0,
|
|
22029
|
+
var CoachMarkContent = (0, import_react30.forwardRef)(
|
|
21861
22030
|
({
|
|
21862
22031
|
level = "brand",
|
|
21863
22032
|
width,
|
|
@@ -21875,32 +22044,32 @@ var CoachMarkContent = (0, import_react29.forwardRef)(
|
|
|
21875
22044
|
secondaryButton,
|
|
21876
22045
|
onClose,
|
|
21877
22046
|
...rest
|
|
21878
|
-
}, ref) => /* @__PURE__ */ (0,
|
|
22047
|
+
}, ref) => /* @__PURE__ */ (0, import_jsx_runtime226.jsxs)(
|
|
21879
22048
|
PrimitiveCoachMark.Content,
|
|
21880
22049
|
{
|
|
21881
22050
|
ref,
|
|
21882
|
-
className: (0,
|
|
22051
|
+
className: (0, import_clsx22.default)(coachMarkVariants({ level }), className),
|
|
21883
22052
|
style: { width: width ? `${width}px` : void 0 },
|
|
21884
22053
|
side,
|
|
21885
22054
|
sideOffset,
|
|
21886
22055
|
...rest,
|
|
21887
22056
|
children: [
|
|
21888
|
-
/* @__PURE__ */ (0,
|
|
22057
|
+
/* @__PURE__ */ (0, import_jsx_runtime226.jsx)(Close, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime226.jsx)(
|
|
21889
22058
|
IconButton,
|
|
21890
22059
|
{
|
|
21891
22060
|
icon: { name: "close" },
|
|
21892
22061
|
size: "xs",
|
|
21893
22062
|
level: level === "inverse" ? "inverse" : "inverse-static",
|
|
21894
22063
|
fill: false,
|
|
21895
|
-
className:
|
|
22064
|
+
className: style_module_default23.closeButton,
|
|
21896
22065
|
onClick: onClose
|
|
21897
22066
|
}
|
|
21898
22067
|
) }),
|
|
21899
|
-
/* @__PURE__ */ (0,
|
|
21900
|
-
illust && /* @__PURE__ */ (0,
|
|
21901
|
-
/* @__PURE__ */ (0,
|
|
21902
|
-
/* @__PURE__ */ (0,
|
|
21903
|
-
tag && /* @__PURE__ */ (0,
|
|
22068
|
+
/* @__PURE__ */ (0, import_jsx_runtime226.jsxs)("header", { className: style_module_default23.top, children: [
|
|
22069
|
+
illust && /* @__PURE__ */ (0, import_jsx_runtime226.jsx)(Illust, { width: 72, ...illust }),
|
|
22070
|
+
/* @__PURE__ */ (0, import_jsx_runtime226.jsxs)("div", { className: style_module_default23.main, children: [
|
|
22071
|
+
/* @__PURE__ */ (0, import_jsx_runtime226.jsxs)("div", { className: style_module_default23.title, children: [
|
|
22072
|
+
tag && /* @__PURE__ */ (0, import_jsx_runtime226.jsx)(
|
|
21904
22073
|
Tag,
|
|
21905
22074
|
{
|
|
21906
22075
|
color: level === "inverse" ? "neutral-label-primary" : "neutral-label-static-primary",
|
|
@@ -21908,7 +22077,7 @@ var CoachMarkContent = (0, import_react29.forwardRef)(
|
|
|
21908
22077
|
children: tag
|
|
21909
22078
|
}
|
|
21910
22079
|
),
|
|
21911
|
-
icon && /* @__PURE__ */ (0,
|
|
22080
|
+
icon && /* @__PURE__ */ (0, import_jsx_runtime226.jsx)(
|
|
21912
22081
|
Icon,
|
|
21913
22082
|
{
|
|
21914
22083
|
name: icon.name,
|
|
@@ -21918,7 +22087,7 @@ var CoachMarkContent = (0, import_react29.forwardRef)(
|
|
|
21918
22087
|
type: level === "inverse" ? "inverse-label-primary" : "inverse-label-static-primary"
|
|
21919
22088
|
}
|
|
21920
22089
|
),
|
|
21921
|
-
title && /* @__PURE__ */ (0,
|
|
22090
|
+
title && /* @__PURE__ */ (0, import_jsx_runtime226.jsx)(
|
|
21922
22091
|
Paragraph,
|
|
21923
22092
|
{
|
|
21924
22093
|
size: 4,
|
|
@@ -21929,17 +22098,17 @@ var CoachMarkContent = (0, import_react29.forwardRef)(
|
|
|
21929
22098
|
}
|
|
21930
22099
|
)
|
|
21931
22100
|
] }),
|
|
21932
|
-
image && /* @__PURE__ */ (0,
|
|
22101
|
+
image && /* @__PURE__ */ (0, import_jsx_runtime226.jsx)("div", { className: style_module_default23["image-container"], children: /* @__PURE__ */ (0, import_jsx_runtime226.jsx)(
|
|
21933
22102
|
"img",
|
|
21934
22103
|
{
|
|
21935
|
-
className:
|
|
22104
|
+
className: style_module_default23.image,
|
|
21936
22105
|
src: image.src ?? "",
|
|
21937
22106
|
alt: image.alt ?? "",
|
|
21938
22107
|
width: 280,
|
|
21939
22108
|
height: 160
|
|
21940
22109
|
}
|
|
21941
22110
|
) }),
|
|
21942
|
-
description && /* @__PURE__ */ (0,
|
|
22111
|
+
description && /* @__PURE__ */ (0, import_jsx_runtime226.jsx)("div", { className: style_module_default23.description, children: /* @__PURE__ */ (0, import_jsx_runtime226.jsx)(
|
|
21943
22112
|
Caption,
|
|
21944
22113
|
{
|
|
21945
22114
|
size: 2,
|
|
@@ -21951,8 +22120,8 @@ var CoachMarkContent = (0, import_react29.forwardRef)(
|
|
|
21951
22120
|
) })
|
|
21952
22121
|
] })
|
|
21953
22122
|
] }),
|
|
21954
|
-
/* @__PURE__ */ (0,
|
|
21955
|
-
step ? /* @__PURE__ */ (0,
|
|
22123
|
+
/* @__PURE__ */ (0, import_jsx_runtime226.jsxs)("footer", { className: style_module_default23.footer, children: [
|
|
22124
|
+
step ? /* @__PURE__ */ (0, import_jsx_runtime226.jsxs)(
|
|
21956
22125
|
Caption,
|
|
21957
22126
|
{
|
|
21958
22127
|
size: 2,
|
|
@@ -21965,9 +22134,9 @@ var CoachMarkContent = (0, import_react29.forwardRef)(
|
|
|
21965
22134
|
step.total
|
|
21966
22135
|
]
|
|
21967
22136
|
}
|
|
21968
|
-
) : /* @__PURE__ */ (0,
|
|
21969
|
-
/* @__PURE__ */ (0,
|
|
21970
|
-
secondaryButton && /* @__PURE__ */ (0,
|
|
22137
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime226.jsx)("div", { className: style_module_default23.empty }),
|
|
22138
|
+
/* @__PURE__ */ (0, import_jsx_runtime226.jsxs)("div", { className: style_module_default23.buttonGroup, children: [
|
|
22139
|
+
secondaryButton && /* @__PURE__ */ (0, import_jsx_runtime226.jsx)(
|
|
21971
22140
|
TextButton,
|
|
21972
22141
|
{
|
|
21973
22142
|
size: "s",
|
|
@@ -21975,7 +22144,7 @@ var CoachMarkContent = (0, import_react29.forwardRef)(
|
|
|
21975
22144
|
...secondaryButton
|
|
21976
22145
|
}
|
|
21977
22146
|
),
|
|
21978
|
-
primaryButton && /* @__PURE__ */ (0,
|
|
22147
|
+
primaryButton && /* @__PURE__ */ (0, import_jsx_runtime226.jsx)(Button, { size: "s", level: coachMarkLevelButtonLevelMap[level], ...primaryButton })
|
|
21979
22148
|
] })
|
|
21980
22149
|
] })
|
|
21981
22150
|
]
|