@liner-fe/prism 2.8.14 → 2.8.16
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.d.ts +7 -28
- package/lib/index.js +670 -772
- package/package.json +4 -3
- package/lib/illust.d.ts +0 -31
- package/lib/illust.js +0 -132
package/lib/index.js
CHANGED
|
@@ -1,74 +1,5 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __create = Object.create;
|
|
3
1
|
var __defProp = Object.defineProperty;
|
|
4
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
2
|
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
9
|
-
var __export = (target, all) => {
|
|
10
|
-
for (var name in all)
|
|
11
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
12
|
-
};
|
|
13
|
-
var __copyProps = (to, from, except, desc) => {
|
|
14
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
15
|
-
for (let key of __getOwnPropNames(from))
|
|
16
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
17
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
18
|
-
}
|
|
19
|
-
return to;
|
|
20
|
-
};
|
|
21
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
22
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
23
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
24
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
25
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
26
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
27
|
-
mod
|
|
28
|
-
));
|
|
29
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
30
|
-
|
|
31
|
-
// src/index.ts
|
|
32
|
-
var index_exports = {};
|
|
33
|
-
__export(index_exports, {
|
|
34
|
-
Button: () => Button,
|
|
35
|
-
Caption: () => Caption,
|
|
36
|
-
Checkbox: () => Checkbox,
|
|
37
|
-
CoachMark: () => CoachMark,
|
|
38
|
-
CompactCoachMark: () => CompactCoachMark,
|
|
39
|
-
DefaultButton: () => DefaultButton,
|
|
40
|
-
Display: () => Display,
|
|
41
|
-
Heading: () => Heading,
|
|
42
|
-
IconButton: () => IconButton,
|
|
43
|
-
Label: () => Label,
|
|
44
|
-
List: () => List,
|
|
45
|
-
Loading: () => Loading,
|
|
46
|
-
Logo: () => Logo,
|
|
47
|
-
Media: () => Media,
|
|
48
|
-
MediaContextProvider: () => MediaContextProvider,
|
|
49
|
-
Paragraph: () => Paragraph,
|
|
50
|
-
Popover: () => Popover,
|
|
51
|
-
PrimitiveCoachMark: () => PrimitiveCoachMark,
|
|
52
|
-
Radio: () => Radio,
|
|
53
|
-
Select: () => Select,
|
|
54
|
-
SingleSnackbar: () => SingleSnackbar,
|
|
55
|
-
Snackbar: () => Snackbar,
|
|
56
|
-
Tag: () => Tag,
|
|
57
|
-
TextButton: () => TextButton,
|
|
58
|
-
Textfield: () => Textfield,
|
|
59
|
-
Title: () => Title2,
|
|
60
|
-
Toaster: () => Toaster,
|
|
61
|
-
Tooltip: () => Tooltip,
|
|
62
|
-
Typography: () => Typography,
|
|
63
|
-
arrayToStyleObject: () => arrayToStyleObject,
|
|
64
|
-
isEmptyObject: () => isEmptyObject,
|
|
65
|
-
objectToArray: () => objectToArray,
|
|
66
|
-
rootMediaStyle: () => rootMediaStyle,
|
|
67
|
-
snackbarAtom: () => snackbarAtom,
|
|
68
|
-
useSnackbar: () => useSnackbar,
|
|
69
|
-
useToast: () => useToast
|
|
70
|
-
});
|
|
71
|
-
module.exports = __toCommonJS(index_exports);
|
|
72
3
|
|
|
73
4
|
// src/utils/object.ts
|
|
74
5
|
var objectToArray = /* @__PURE__ */ __name((obj) => {
|
|
@@ -81,7 +12,11 @@ var arrayToStyleObject = /* @__PURE__ */ __name((colorKeys, style, prefix) => co
|
|
|
81
12
|
var isEmptyObject = /* @__PURE__ */ __name((obj) => Object.getOwnPropertyNames(obj).length === 0, "isEmptyObject");
|
|
82
13
|
|
|
83
14
|
// src/components/Button/index.tsx
|
|
84
|
-
|
|
15
|
+
import {
|
|
16
|
+
Children,
|
|
17
|
+
cloneElement,
|
|
18
|
+
forwardRef
|
|
19
|
+
} from "react";
|
|
85
20
|
|
|
86
21
|
// src/components/Button/style.module.scss
|
|
87
22
|
var style_module_default = {
|
|
@@ -113,8 +48,8 @@ var style_module_default = {
|
|
|
113
48
|
};
|
|
114
49
|
|
|
115
50
|
// src/components/Button/index.tsx
|
|
116
|
-
|
|
117
|
-
|
|
51
|
+
import { cva as cva2 } from "cva";
|
|
52
|
+
import clsx from "clsx";
|
|
118
53
|
|
|
119
54
|
// src/components/Loading/style.module.scss
|
|
120
55
|
var style_module_default2 = {
|
|
@@ -137,12 +72,12 @@ var style_module_default2 = {
|
|
|
137
72
|
};
|
|
138
73
|
|
|
139
74
|
// src/components/Loading/index.tsx
|
|
140
|
-
|
|
141
|
-
|
|
75
|
+
import { cva } from "cva";
|
|
76
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
142
77
|
var Loading = /* @__PURE__ */ __name(({ type = "dots", ...props }) => {
|
|
143
|
-
return type === "dots" ? /* @__PURE__ */
|
|
78
|
+
return type === "dots" ? /* @__PURE__ */ jsx(DotsLoader, { ...props }) : /* @__PURE__ */ jsx(SpinnerLoader, { ...props });
|
|
144
79
|
}, "Loading");
|
|
145
|
-
var dotsLoaderVariants =
|
|
80
|
+
var dotsLoaderVariants = cva({
|
|
146
81
|
base: [style_module_default2["dots-loader"]],
|
|
147
82
|
variants: {
|
|
148
83
|
size: {
|
|
@@ -162,13 +97,13 @@ var dotsLoaderVariants = (0, import_cva.cva)({
|
|
|
162
97
|
}
|
|
163
98
|
});
|
|
164
99
|
var DotsLoader = /* @__PURE__ */ __name(({ size: size4 = "m", level = "inverse-label-static-primary" }) => {
|
|
165
|
-
return /* @__PURE__ */
|
|
166
|
-
/* @__PURE__ */
|
|
167
|
-
/* @__PURE__ */
|
|
168
|
-
/* @__PURE__ */
|
|
100
|
+
return /* @__PURE__ */ jsxs("div", { className: style_module_default2["dots-loader-container"], children: [
|
|
101
|
+
/* @__PURE__ */ jsx("div", { className: dotsLoaderVariants({ size: size4, level }) }),
|
|
102
|
+
/* @__PURE__ */ jsx("div", { className: dotsLoaderVariants({ size: size4, level }) }),
|
|
103
|
+
/* @__PURE__ */ jsx("div", { className: dotsLoaderVariants({ size: size4, level }) })
|
|
169
104
|
] });
|
|
170
105
|
}, "DotsLoader");
|
|
171
|
-
var spinnerLoaderVariants =
|
|
106
|
+
var spinnerLoaderVariants = cva({
|
|
172
107
|
base: [style_module_default2["spinner-loader"]],
|
|
173
108
|
variants: {
|
|
174
109
|
size: {
|
|
@@ -191,11 +126,11 @@ var SpinnerLoader = /* @__PURE__ */ __name(({
|
|
|
191
126
|
size: size4 = "m",
|
|
192
127
|
level = "inverse-label-static-primary"
|
|
193
128
|
}) => {
|
|
194
|
-
return /* @__PURE__ */
|
|
129
|
+
return /* @__PURE__ */ jsx("span", { className: spinnerLoaderVariants({ size: size4, level }) });
|
|
195
130
|
}, "SpinnerLoader");
|
|
196
131
|
|
|
197
132
|
// src/components/Button/index.tsx
|
|
198
|
-
|
|
133
|
+
import { Fragment, jsx as jsx2, jsxs as jsxs2 } from "react/jsx-runtime";
|
|
199
134
|
var buttonIconSizeMap = {
|
|
200
135
|
cta: "m",
|
|
201
136
|
l: "s",
|
|
@@ -269,7 +204,7 @@ var buttonFillLevelIconFillTypeMap = {
|
|
|
269
204
|
"inverse-static": void 0
|
|
270
205
|
}
|
|
271
206
|
};
|
|
272
|
-
var defaultButtonVariants = (
|
|
207
|
+
var defaultButtonVariants = cva2({
|
|
273
208
|
base: [style_module_default.button, style_module_default.default],
|
|
274
209
|
variants: {
|
|
275
210
|
level: {
|
|
@@ -302,7 +237,7 @@ var defaultButtonVariants = (0, import_cva2.cva)({
|
|
|
302
237
|
}
|
|
303
238
|
}
|
|
304
239
|
});
|
|
305
|
-
var defaultButtonChildrenVariants = (
|
|
240
|
+
var defaultButtonChildrenVariants = cva2({
|
|
306
241
|
base: style_module_default.children,
|
|
307
242
|
variants: {
|
|
308
243
|
size: {
|
|
@@ -313,7 +248,7 @@ var defaultButtonChildrenVariants = (0, import_cva2.cva)({
|
|
|
313
248
|
}
|
|
314
249
|
}
|
|
315
250
|
});
|
|
316
|
-
var DefaultButton =
|
|
251
|
+
var DefaultButton = forwardRef(
|
|
317
252
|
({
|
|
318
253
|
asChild = false,
|
|
319
254
|
level = "primary",
|
|
@@ -334,33 +269,33 @@ var DefaultButton = (0, import_react.forwardRef)(
|
|
|
334
269
|
type: buttonFillLevelIconTypeMap[`${fill}`][level],
|
|
335
270
|
fillType: buttonFillLevelIconFillTypeMap[`${fill}`][level]
|
|
336
271
|
};
|
|
337
|
-
const renderContent = /* @__PURE__ */ __name((children2) => /* @__PURE__ */ (
|
|
338
|
-
!!leftIcon && !isLoading && /* @__PURE__ */ (
|
|
339
|
-
isLoading ? !!leftIcon || !!rightIcon ? /* @__PURE__ */ (
|
|
340
|
-
/* @__PURE__ */ (
|
|
341
|
-
/* @__PURE__ */ (
|
|
342
|
-
] }) : /* @__PURE__ */ (
|
|
343
|
-
!!rightIcon && !isLoading && /* @__PURE__ */ (
|
|
272
|
+
const renderContent = /* @__PURE__ */ __name((children2) => /* @__PURE__ */ jsxs2("span", { className: clsx(defaultButtonChildrenVariants({ size: size4 })), children: [
|
|
273
|
+
!!leftIcon && !isLoading && /* @__PURE__ */ jsx2(leftIcon.icon, { ...iconProps, ...leftIcon }),
|
|
274
|
+
isLoading ? !!leftIcon || !!rightIcon ? /* @__PURE__ */ jsxs2(Fragment, { children: [
|
|
275
|
+
/* @__PURE__ */ jsx2(Loading, { size: buttonLoadingSizeMap[size4], level: buttonLoadingLevelMap[level] }),
|
|
276
|
+
/* @__PURE__ */ jsx2("p", { className: style_module_default.content, children: children2 })
|
|
277
|
+
] }) : /* @__PURE__ */ jsx2(Loading, { size: buttonLoadingSizeMap[size4], level: buttonLoadingLevelMap[level] }) : /* @__PURE__ */ jsx2("p", { className: style_module_default.content, children: children2 }),
|
|
278
|
+
!!rightIcon && !isLoading && /* @__PURE__ */ jsx2(rightIcon.icon, { ...iconProps, ...rightIcon })
|
|
344
279
|
] }), "renderContent");
|
|
345
280
|
if (asChild) {
|
|
346
|
-
const parent =
|
|
281
|
+
const parent = Children.only(children);
|
|
347
282
|
const newChildren = parent.props.children;
|
|
348
|
-
const ParentClone =
|
|
283
|
+
const ParentClone = cloneElement(
|
|
349
284
|
parent,
|
|
350
285
|
{
|
|
351
286
|
...rest,
|
|
352
|
-
className: (
|
|
287
|
+
className: clsx(defaultButtonVariants({ level, fill, align, size: size4, width }), className),
|
|
353
288
|
ref
|
|
354
289
|
},
|
|
355
290
|
renderContent(newChildren)
|
|
356
291
|
);
|
|
357
292
|
return ParentClone;
|
|
358
293
|
}
|
|
359
|
-
return /* @__PURE__ */ (
|
|
294
|
+
return /* @__PURE__ */ jsx2(
|
|
360
295
|
"button",
|
|
361
296
|
{
|
|
362
297
|
...rest,
|
|
363
|
-
className: (
|
|
298
|
+
className: clsx(defaultButtonVariants({ level, fill, align, size: size4, width }), className),
|
|
364
299
|
ref,
|
|
365
300
|
"aria-label": rest["aria-label"] || "button",
|
|
366
301
|
role: "button",
|
|
@@ -371,27 +306,27 @@ var DefaultButton = (0, import_react.forwardRef)(
|
|
|
371
306
|
}
|
|
372
307
|
);
|
|
373
308
|
DefaultButton.displayName = "DefaultButton";
|
|
374
|
-
var Button =
|
|
309
|
+
var Button = forwardRef((props, ref) => /* @__PURE__ */ jsx2(DefaultButton, { ...props, ref }));
|
|
375
310
|
Button.displayName = "Button";
|
|
376
311
|
|
|
377
312
|
// src/hooks/useToast.ts
|
|
378
|
-
|
|
313
|
+
import { atom, useSetRecoilState } from "recoil";
|
|
379
314
|
|
|
380
315
|
// src/types/generateRandomId.ts
|
|
381
316
|
var generateRandomId = /* @__PURE__ */ __name(() => Date.now() + Math.random(), "generateRandomId");
|
|
382
317
|
|
|
383
318
|
// src/hooks/useToast.ts
|
|
384
|
-
|
|
385
|
-
var toastAtom =
|
|
319
|
+
import { millisecondsInSecond } from "date-fns/constants";
|
|
320
|
+
var toastAtom = atom({
|
|
386
321
|
default: [],
|
|
387
322
|
key: "toastAtoms"
|
|
388
323
|
});
|
|
389
324
|
var useToast = /* @__PURE__ */ __name(() => {
|
|
390
|
-
const setToasts =
|
|
325
|
+
const setToasts = useSetRecoilState(toastAtom);
|
|
391
326
|
return {
|
|
392
327
|
open: /* @__PURE__ */ __name((toast) => {
|
|
393
328
|
const toastId = generateRandomId();
|
|
394
|
-
const timer = toast.button ?
|
|
329
|
+
const timer = toast.button ? millisecondsInSecond * 5 : millisecondsInSecond + 800;
|
|
395
330
|
const list = { toastId, timer, ...toast };
|
|
396
331
|
setToasts((prev) => [...prev, list]);
|
|
397
332
|
return { toastId };
|
|
@@ -407,8 +342,8 @@ var useToast = /* @__PURE__ */ __name(() => {
|
|
|
407
342
|
}, "useToast");
|
|
408
343
|
|
|
409
344
|
// ../../node_modules/@radix-ui/react-toast/dist/index.mjs
|
|
410
|
-
|
|
411
|
-
|
|
345
|
+
import * as React14 from "react";
|
|
346
|
+
import * as ReactDOM3 from "react-dom";
|
|
412
347
|
|
|
413
348
|
// ../../node_modules/@radix-ui/primitive/dist/index.mjs
|
|
414
349
|
function composeEventHandlers(originalEventHandler, ourEventHandler, { checkForDefaultPrevented = true } = {}) {
|
|
@@ -422,7 +357,7 @@ function composeEventHandlers(originalEventHandler, ourEventHandler, { checkForD
|
|
|
422
357
|
__name(composeEventHandlers, "composeEventHandlers");
|
|
423
358
|
|
|
424
359
|
// ../../node_modules/@radix-ui/react-compose-refs/dist/index.mjs
|
|
425
|
-
|
|
360
|
+
import * as React from "react";
|
|
426
361
|
function setRef(ref, value) {
|
|
427
362
|
if (typeof ref === "function") {
|
|
428
363
|
return ref(value);
|
|
@@ -462,11 +397,11 @@ function useComposedRefs(...refs) {
|
|
|
462
397
|
__name(useComposedRefs, "useComposedRefs");
|
|
463
398
|
|
|
464
399
|
// ../../node_modules/@radix-ui/react-collection/dist/index.mjs
|
|
465
|
-
|
|
400
|
+
import React4 from "react";
|
|
466
401
|
|
|
467
402
|
// ../../node_modules/@radix-ui/react-context/dist/index.mjs
|
|
468
|
-
|
|
469
|
-
|
|
403
|
+
import * as React2 from "react";
|
|
404
|
+
import { jsx as jsx3 } from "react/jsx-runtime";
|
|
470
405
|
function createContextScope(scopeName, createContextScopeDeps = []) {
|
|
471
406
|
let defaultContexts = [];
|
|
472
407
|
function createContext32(rootComponentName, defaultContext) {
|
|
@@ -477,7 +412,7 @@ function createContextScope(scopeName, createContextScopeDeps = []) {
|
|
|
477
412
|
const { scope, children, ...context } = props;
|
|
478
413
|
const Context = scope?.[scopeName]?.[index2] || BaseContext;
|
|
479
414
|
const value = React2.useMemo(() => context, Object.values(context));
|
|
480
|
-
return /* @__PURE__ */ (
|
|
415
|
+
return /* @__PURE__ */ jsx3(Context.Provider, { value, children });
|
|
481
416
|
}, "Provider");
|
|
482
417
|
Provider3.displayName = rootComponentName + "Provider";
|
|
483
418
|
function useContext22(consumerName, scope) {
|
|
@@ -530,8 +465,8 @@ function composeContextScopes(...scopes) {
|
|
|
530
465
|
__name(composeContextScopes, "composeContextScopes");
|
|
531
466
|
|
|
532
467
|
// ../../node_modules/@radix-ui/react-slot/dist/index.mjs
|
|
533
|
-
|
|
534
|
-
|
|
468
|
+
import * as React3 from "react";
|
|
469
|
+
import { Fragment as Fragment22, jsx as jsx4 } from "react/jsx-runtime";
|
|
535
470
|
// @__NO_SIDE_EFFECTS__
|
|
536
471
|
function createSlot(ownerName) {
|
|
537
472
|
const SlotClone = /* @__PURE__ */ createSlotClone(ownerName);
|
|
@@ -549,9 +484,9 @@ function createSlot(ownerName) {
|
|
|
549
484
|
return child;
|
|
550
485
|
}
|
|
551
486
|
});
|
|
552
|
-
return /* @__PURE__ */ (
|
|
487
|
+
return /* @__PURE__ */ jsx4(SlotClone, { ...slotProps, ref: forwardedRef, children: React3.isValidElement(newElement) ? React3.cloneElement(newElement, void 0, newChildren) : null });
|
|
553
488
|
}
|
|
554
|
-
return /* @__PURE__ */ (
|
|
489
|
+
return /* @__PURE__ */ jsx4(SlotClone, { ...slotProps, ref: forwardedRef, children });
|
|
555
490
|
});
|
|
556
491
|
Slot22.displayName = `${ownerName}.Slot`;
|
|
557
492
|
return Slot22;
|
|
@@ -622,9 +557,9 @@ function getElementRef(element) {
|
|
|
622
557
|
__name(getElementRef, "getElementRef");
|
|
623
558
|
|
|
624
559
|
// ../../node_modules/@radix-ui/react-collection/dist/index.mjs
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
560
|
+
import { jsx as jsx5 } from "react/jsx-runtime";
|
|
561
|
+
import React22 from "react";
|
|
562
|
+
import { jsx as jsx22 } from "react/jsx-runtime";
|
|
628
563
|
function createCollection(name) {
|
|
629
564
|
const PROVIDER_NAME2 = name + "CollectionProvider";
|
|
630
565
|
const [createCollectionContext, createCollectionScope2] = createContextScope(PROVIDER_NAME2);
|
|
@@ -634,42 +569,42 @@ function createCollection(name) {
|
|
|
634
569
|
);
|
|
635
570
|
const CollectionProvider2 = /* @__PURE__ */ __name((props) => {
|
|
636
571
|
const { scope, children } = props;
|
|
637
|
-
const ref =
|
|
638
|
-
const itemMap =
|
|
639
|
-
return /* @__PURE__ */ (
|
|
572
|
+
const ref = React4.useRef(null);
|
|
573
|
+
const itemMap = React4.useRef(/* @__PURE__ */ new Map()).current;
|
|
574
|
+
return /* @__PURE__ */ jsx5(CollectionProviderImpl, { scope, itemMap, collectionRef: ref, children });
|
|
640
575
|
}, "CollectionProvider");
|
|
641
576
|
CollectionProvider2.displayName = PROVIDER_NAME2;
|
|
642
577
|
const COLLECTION_SLOT_NAME = name + "CollectionSlot";
|
|
643
578
|
const CollectionSlotImpl = createSlot(COLLECTION_SLOT_NAME);
|
|
644
|
-
const CollectionSlot =
|
|
579
|
+
const CollectionSlot = React4.forwardRef(
|
|
645
580
|
(props, forwardedRef) => {
|
|
646
581
|
const { scope, children } = props;
|
|
647
582
|
const context = useCollectionContext2(COLLECTION_SLOT_NAME, scope);
|
|
648
583
|
const composedRefs = useComposedRefs(forwardedRef, context.collectionRef);
|
|
649
|
-
return /* @__PURE__ */ (
|
|
584
|
+
return /* @__PURE__ */ jsx5(CollectionSlotImpl, { ref: composedRefs, children });
|
|
650
585
|
}
|
|
651
586
|
);
|
|
652
587
|
CollectionSlot.displayName = COLLECTION_SLOT_NAME;
|
|
653
588
|
const ITEM_SLOT_NAME = name + "CollectionItemSlot";
|
|
654
589
|
const ITEM_DATA_ATTR = "data-radix-collection-item";
|
|
655
590
|
const CollectionItemSlotImpl = createSlot(ITEM_SLOT_NAME);
|
|
656
|
-
const CollectionItemSlot =
|
|
591
|
+
const CollectionItemSlot = React4.forwardRef(
|
|
657
592
|
(props, forwardedRef) => {
|
|
658
593
|
const { scope, children, ...itemData } = props;
|
|
659
|
-
const ref =
|
|
594
|
+
const ref = React4.useRef(null);
|
|
660
595
|
const composedRefs = useComposedRefs(forwardedRef, ref);
|
|
661
596
|
const context = useCollectionContext2(ITEM_SLOT_NAME, scope);
|
|
662
|
-
|
|
597
|
+
React4.useEffect(() => {
|
|
663
598
|
context.itemMap.set(ref, { ref, ...itemData });
|
|
664
599
|
return () => void context.itemMap.delete(ref);
|
|
665
600
|
});
|
|
666
|
-
return /* @__PURE__ */ (
|
|
601
|
+
return /* @__PURE__ */ jsx5(CollectionItemSlotImpl, { ...{ [ITEM_DATA_ATTR]: "" }, ref: composedRefs, children });
|
|
667
602
|
}
|
|
668
603
|
);
|
|
669
604
|
CollectionItemSlot.displayName = ITEM_SLOT_NAME;
|
|
670
605
|
function useCollection2(scope) {
|
|
671
606
|
const context = useCollectionContext2(name + "CollectionConsumer", scope);
|
|
672
|
-
const getItems =
|
|
607
|
+
const getItems = React4.useCallback(() => {
|
|
673
608
|
const collectionNode = context.collectionRef.current;
|
|
674
609
|
if (!collectionNode) return [];
|
|
675
610
|
const orderedNodes = Array.from(collectionNode.querySelectorAll(`[${ITEM_DATA_ATTR}]`));
|
|
@@ -691,12 +626,12 @@ function createCollection(name) {
|
|
|
691
626
|
__name(createCollection, "createCollection");
|
|
692
627
|
|
|
693
628
|
// ../../node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs
|
|
694
|
-
|
|
629
|
+
import * as React8 from "react";
|
|
695
630
|
|
|
696
631
|
// ../../node_modules/@radix-ui/react-primitive/dist/index.mjs
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
632
|
+
import * as React5 from "react";
|
|
633
|
+
import * as ReactDOM from "react-dom";
|
|
634
|
+
import { jsx as jsx6 } from "react/jsx-runtime";
|
|
700
635
|
var NODES = [
|
|
701
636
|
"a",
|
|
702
637
|
"button",
|
|
@@ -724,7 +659,7 @@ var Primitive = NODES.reduce((primitive, node) => {
|
|
|
724
659
|
if (typeof window !== "undefined") {
|
|
725
660
|
window[Symbol.for("radix-ui")] = true;
|
|
726
661
|
}
|
|
727
|
-
return /* @__PURE__ */ (
|
|
662
|
+
return /* @__PURE__ */ jsx6(Comp, { ...primitiveProps, ref: forwardedRef });
|
|
728
663
|
});
|
|
729
664
|
Node2.displayName = `Primitive.${node}`;
|
|
730
665
|
return { ...primitive, [node]: Node2 };
|
|
@@ -735,7 +670,7 @@ function dispatchDiscreteCustomEvent(target, event) {
|
|
|
735
670
|
__name(dispatchDiscreteCustomEvent, "dispatchDiscreteCustomEvent");
|
|
736
671
|
|
|
737
672
|
// ../../node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs
|
|
738
|
-
|
|
673
|
+
import * as React6 from "react";
|
|
739
674
|
function useCallbackRef(callback) {
|
|
740
675
|
const callbackRef = React6.useRef(callback);
|
|
741
676
|
React6.useEffect(() => {
|
|
@@ -746,7 +681,7 @@ function useCallbackRef(callback) {
|
|
|
746
681
|
__name(useCallbackRef, "useCallbackRef");
|
|
747
682
|
|
|
748
683
|
// ../../node_modules/@radix-ui/react-use-escape-keydown/dist/index.mjs
|
|
749
|
-
|
|
684
|
+
import * as React7 from "react";
|
|
750
685
|
function useEscapeKeydown(onEscapeKeyDownProp, ownerDocument = globalThis?.document) {
|
|
751
686
|
const onEscapeKeyDown = useCallbackRef(onEscapeKeyDownProp);
|
|
752
687
|
React7.useEffect(() => {
|
|
@@ -762,7 +697,7 @@ function useEscapeKeydown(onEscapeKeyDownProp, ownerDocument = globalThis?.docum
|
|
|
762
697
|
__name(useEscapeKeydown, "useEscapeKeydown");
|
|
763
698
|
|
|
764
699
|
// ../../node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs
|
|
765
|
-
|
|
700
|
+
import { jsx as jsx7 } from "react/jsx-runtime";
|
|
766
701
|
var DISMISSABLE_LAYER_NAME = "DismissableLayer";
|
|
767
702
|
var CONTEXT_UPDATE = "dismissableLayer.update";
|
|
768
703
|
var POINTER_DOWN_OUTSIDE = "dismissableLayer.pointerDownOutside";
|
|
@@ -850,7 +785,7 @@ var DismissableLayer = React8.forwardRef(
|
|
|
850
785
|
document.addEventListener(CONTEXT_UPDATE, handleUpdate);
|
|
851
786
|
return () => document.removeEventListener(CONTEXT_UPDATE, handleUpdate);
|
|
852
787
|
}, []);
|
|
853
|
-
return /* @__PURE__ */ (
|
|
788
|
+
return /* @__PURE__ */ jsx7(
|
|
854
789
|
Primitive.div,
|
|
855
790
|
{
|
|
856
791
|
...layerProps,
|
|
@@ -884,7 +819,7 @@ var DismissableLayerBranch = React8.forwardRef((props, forwardedRef) => {
|
|
|
884
819
|
};
|
|
885
820
|
}
|
|
886
821
|
}, [context.branches]);
|
|
887
|
-
return /* @__PURE__ */ (
|
|
822
|
+
return /* @__PURE__ */ jsx7(Primitive.div, { ...props, ref: composedRefs });
|
|
888
823
|
});
|
|
889
824
|
DismissableLayerBranch.displayName = BRANCH_NAME;
|
|
890
825
|
function usePointerDownOutside(onPointerDownOutside, ownerDocument = globalThis?.document) {
|
|
@@ -973,29 +908,29 @@ var Root = DismissableLayer;
|
|
|
973
908
|
var Branch = DismissableLayerBranch;
|
|
974
909
|
|
|
975
910
|
// ../../node_modules/@radix-ui/react-portal/dist/index.mjs
|
|
976
|
-
|
|
977
|
-
|
|
911
|
+
import * as React10 from "react";
|
|
912
|
+
import ReactDOM2 from "react-dom";
|
|
978
913
|
|
|
979
914
|
// ../../node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs
|
|
980
|
-
|
|
915
|
+
import * as React9 from "react";
|
|
981
916
|
var useLayoutEffect2 = globalThis?.document ? React9.useLayoutEffect : () => {
|
|
982
917
|
};
|
|
983
918
|
|
|
984
919
|
// ../../node_modules/@radix-ui/react-portal/dist/index.mjs
|
|
985
|
-
|
|
920
|
+
import { jsx as jsx8 } from "react/jsx-runtime";
|
|
986
921
|
var PORTAL_NAME = "Portal";
|
|
987
922
|
var Portal = React10.forwardRef((props, forwardedRef) => {
|
|
988
923
|
const { container: containerProp, ...portalProps } = props;
|
|
989
924
|
const [mounted, setMounted] = React10.useState(false);
|
|
990
925
|
useLayoutEffect2(() => setMounted(true), []);
|
|
991
926
|
const container = containerProp || mounted && globalThis?.document?.body;
|
|
992
|
-
return container ?
|
|
927
|
+
return container ? ReactDOM2.createPortal(/* @__PURE__ */ jsx8(Primitive.div, { ...portalProps, ref: forwardedRef }), container) : null;
|
|
993
928
|
});
|
|
994
929
|
Portal.displayName = PORTAL_NAME;
|
|
995
930
|
|
|
996
931
|
// ../../node_modules/@radix-ui/react-presence/dist/index.mjs
|
|
997
|
-
|
|
998
|
-
|
|
932
|
+
import * as React23 from "react";
|
|
933
|
+
import * as React11 from "react";
|
|
999
934
|
function useStateMachine(initialState, machine) {
|
|
1000
935
|
return React11.useReducer((state, event) => {
|
|
1001
936
|
const nextState = machine[state][event];
|
|
@@ -1124,8 +1059,8 @@ function getElementRef2(element) {
|
|
|
1124
1059
|
__name(getElementRef2, "getElementRef");
|
|
1125
1060
|
|
|
1126
1061
|
// ../../node_modules/@radix-ui/react-use-controllable-state/dist/index.mjs
|
|
1127
|
-
|
|
1128
|
-
|
|
1062
|
+
import * as React12 from "react";
|
|
1063
|
+
import * as React24 from "react";
|
|
1129
1064
|
var useInsertionEffect = React12[" useInsertionEffect ".trim().toString()] || useLayoutEffect2;
|
|
1130
1065
|
function useControllableState({
|
|
1131
1066
|
prop,
|
|
@@ -1196,8 +1131,8 @@ __name(isFunction, "isFunction");
|
|
|
1196
1131
|
var SYNC_STATE = Symbol("RADIX:SYNC_STATE");
|
|
1197
1132
|
|
|
1198
1133
|
// ../../node_modules/@radix-ui/react-visually-hidden/dist/index.mjs
|
|
1199
|
-
|
|
1200
|
-
|
|
1134
|
+
import * as React13 from "react";
|
|
1135
|
+
import { jsx as jsx9 } from "react/jsx-runtime";
|
|
1201
1136
|
var VISUALLY_HIDDEN_STYLES = Object.freeze({
|
|
1202
1137
|
// See: https://github.com/twbs/bootstrap/blob/main/scss/mixins/_visually-hidden.scss
|
|
1203
1138
|
position: "absolute",
|
|
@@ -1214,7 +1149,7 @@ var VISUALLY_HIDDEN_STYLES = Object.freeze({
|
|
|
1214
1149
|
var NAME = "VisuallyHidden";
|
|
1215
1150
|
var VisuallyHidden = React13.forwardRef(
|
|
1216
1151
|
(props, forwardedRef) => {
|
|
1217
|
-
return /* @__PURE__ */ (
|
|
1152
|
+
return /* @__PURE__ */ jsx9(
|
|
1218
1153
|
Primitive.span,
|
|
1219
1154
|
{
|
|
1220
1155
|
...props,
|
|
@@ -1227,7 +1162,7 @@ var VisuallyHidden = React13.forwardRef(
|
|
|
1227
1162
|
VisuallyHidden.displayName = NAME;
|
|
1228
1163
|
|
|
1229
1164
|
// ../../node_modules/@radix-ui/react-toast/dist/index.mjs
|
|
1230
|
-
|
|
1165
|
+
import { Fragment as Fragment3, jsx as jsx10, jsxs as jsxs3 } from "react/jsx-runtime";
|
|
1231
1166
|
var PROVIDER_NAME = "ToastProvider";
|
|
1232
1167
|
var [Collection, useCollection, createCollectionScope] = createCollection("Toast");
|
|
1233
1168
|
var [createToastContext, createToastScope] = createContextScope("Toast", [createCollectionScope]);
|
|
@@ -1250,7 +1185,7 @@ var ToastProvider = /* @__PURE__ */ __name((props) => {
|
|
|
1250
1185
|
`Invalid prop \`label\` supplied to \`${PROVIDER_NAME}\`. Expected non-empty \`string\`.`
|
|
1251
1186
|
);
|
|
1252
1187
|
}
|
|
1253
|
-
return /* @__PURE__ */ (
|
|
1188
|
+
return /* @__PURE__ */ jsx10(Collection.Provider, { scope: __scopeToast, children: /* @__PURE__ */ jsx10(
|
|
1254
1189
|
ToastProviderProvider,
|
|
1255
1190
|
{
|
|
1256
1191
|
scope: __scopeToast,
|
|
@@ -1381,7 +1316,7 @@ var ToastViewport = React14.forwardRef(
|
|
|
1381
1316
|
return () => viewport.removeEventListener("keydown", handleKeyDown);
|
|
1382
1317
|
}
|
|
1383
1318
|
}, [getItems, getSortedTabbableCandidates]);
|
|
1384
|
-
return /* @__PURE__ */ (
|
|
1319
|
+
return /* @__PURE__ */ jsxs3(
|
|
1385
1320
|
Branch,
|
|
1386
1321
|
{
|
|
1387
1322
|
ref: wrapperRef,
|
|
@@ -1390,7 +1325,7 @@ var ToastViewport = React14.forwardRef(
|
|
|
1390
1325
|
tabIndex: -1,
|
|
1391
1326
|
style: { pointerEvents: hasToasts ? void 0 : "none" },
|
|
1392
1327
|
children: [
|
|
1393
|
-
hasToasts && /* @__PURE__ */ (
|
|
1328
|
+
hasToasts && /* @__PURE__ */ jsx10(
|
|
1394
1329
|
FocusProxy,
|
|
1395
1330
|
{
|
|
1396
1331
|
ref: headFocusProxyRef,
|
|
@@ -1402,8 +1337,8 @@ var ToastViewport = React14.forwardRef(
|
|
|
1402
1337
|
}, "onFocusFromOutsideViewport")
|
|
1403
1338
|
}
|
|
1404
1339
|
),
|
|
1405
|
-
/* @__PURE__ */ (
|
|
1406
|
-
hasToasts && /* @__PURE__ */ (
|
|
1340
|
+
/* @__PURE__ */ jsx10(Collection.Slot, { scope: __scopeToast, children: /* @__PURE__ */ jsx10(Primitive.ol, { tabIndex: -1, ...viewportProps, ref: composedRefs }) }),
|
|
1341
|
+
hasToasts && /* @__PURE__ */ jsx10(
|
|
1407
1342
|
FocusProxy,
|
|
1408
1343
|
{
|
|
1409
1344
|
ref: tailFocusProxyRef,
|
|
@@ -1426,7 +1361,7 @@ var FocusProxy = React14.forwardRef(
|
|
|
1426
1361
|
(props, forwardedRef) => {
|
|
1427
1362
|
const { __scopeToast, onFocusFromOutsideViewport, ...proxyProps } = props;
|
|
1428
1363
|
const context = useToastProviderContext(FOCUS_PROXY_NAME, __scopeToast);
|
|
1429
|
-
return /* @__PURE__ */ (
|
|
1364
|
+
return /* @__PURE__ */ jsx10(
|
|
1430
1365
|
VisuallyHidden,
|
|
1431
1366
|
{
|
|
1432
1367
|
"aria-hidden": true,
|
|
@@ -1458,7 +1393,7 @@ var Toast = React14.forwardRef(
|
|
|
1458
1393
|
onChange: onOpenChange,
|
|
1459
1394
|
caller: TOAST_NAME
|
|
1460
1395
|
});
|
|
1461
|
-
return /* @__PURE__ */ (
|
|
1396
|
+
return /* @__PURE__ */ jsx10(Presence, { present: forceMount || open, children: /* @__PURE__ */ jsx10(
|
|
1462
1397
|
ToastImpl,
|
|
1463
1398
|
{
|
|
1464
1399
|
open,
|
|
@@ -1574,8 +1509,8 @@ var ToastImpl = React14.forwardRef(
|
|
|
1574
1509
|
return node ? getAnnounceTextContent(node) : null;
|
|
1575
1510
|
}, [node]);
|
|
1576
1511
|
if (!context.viewport) return null;
|
|
1577
|
-
return /* @__PURE__ */ (
|
|
1578
|
-
announceTextContent && /* @__PURE__ */ (
|
|
1512
|
+
return /* @__PURE__ */ jsxs3(Fragment3, { children: [
|
|
1513
|
+
announceTextContent && /* @__PURE__ */ jsx10(
|
|
1579
1514
|
ToastAnnounce,
|
|
1580
1515
|
{
|
|
1581
1516
|
__scopeToast,
|
|
@@ -1585,8 +1520,8 @@ var ToastImpl = React14.forwardRef(
|
|
|
1585
1520
|
children: announceTextContent
|
|
1586
1521
|
}
|
|
1587
1522
|
),
|
|
1588
|
-
/* @__PURE__ */ (
|
|
1589
|
-
/* @__PURE__ */ (
|
|
1523
|
+
/* @__PURE__ */ jsx10(ToastInteractiveProvider, { scope: __scopeToast, onClose: handleClose, children: ReactDOM3.createPortal(
|
|
1524
|
+
/* @__PURE__ */ jsx10(Collection.ItemSlot, { scope: __scopeToast, children: /* @__PURE__ */ jsx10(
|
|
1590
1525
|
Root,
|
|
1591
1526
|
{
|
|
1592
1527
|
asChild: true,
|
|
@@ -1594,7 +1529,7 @@ var ToastImpl = React14.forwardRef(
|
|
|
1594
1529
|
if (!context.isFocusedToastEscapeKeyDownRef.current) handleClose();
|
|
1595
1530
|
context.isFocusedToastEscapeKeyDownRef.current = false;
|
|
1596
1531
|
}),
|
|
1597
|
-
children: /* @__PURE__ */ (
|
|
1532
|
+
children: /* @__PURE__ */ jsx10(
|
|
1598
1533
|
Primitive.li,
|
|
1599
1534
|
{
|
|
1600
1535
|
role: "status",
|
|
@@ -1694,7 +1629,7 @@ var ToastAnnounce = /* @__PURE__ */ __name((props) => {
|
|
|
1694
1629
|
const timer = window.setTimeout(() => setIsAnnounced(true), 1e3);
|
|
1695
1630
|
return () => window.clearTimeout(timer);
|
|
1696
1631
|
}, []);
|
|
1697
|
-
return isAnnounced ? null : /* @__PURE__ */ (
|
|
1632
|
+
return isAnnounced ? null : /* @__PURE__ */ jsx10(Portal, { asChild: true, children: /* @__PURE__ */ jsx10(VisuallyHidden, { ...announceProps, children: renderAnnounceText && /* @__PURE__ */ jsxs3(Fragment3, { children: [
|
|
1698
1633
|
context.label,
|
|
1699
1634
|
" ",
|
|
1700
1635
|
children
|
|
@@ -1704,7 +1639,7 @@ var TITLE_NAME = "ToastTitle";
|
|
|
1704
1639
|
var ToastTitle = React14.forwardRef(
|
|
1705
1640
|
(props, forwardedRef) => {
|
|
1706
1641
|
const { __scopeToast, ...titleProps } = props;
|
|
1707
|
-
return /* @__PURE__ */ (
|
|
1642
|
+
return /* @__PURE__ */ jsx10(Primitive.div, { ...titleProps, ref: forwardedRef });
|
|
1708
1643
|
}
|
|
1709
1644
|
);
|
|
1710
1645
|
ToastTitle.displayName = TITLE_NAME;
|
|
@@ -1712,7 +1647,7 @@ var DESCRIPTION_NAME = "ToastDescription";
|
|
|
1712
1647
|
var ToastDescription = React14.forwardRef(
|
|
1713
1648
|
(props, forwardedRef) => {
|
|
1714
1649
|
const { __scopeToast, ...descriptionProps } = props;
|
|
1715
|
-
return /* @__PURE__ */ (
|
|
1650
|
+
return /* @__PURE__ */ jsx10(Primitive.div, { ...descriptionProps, ref: forwardedRef });
|
|
1716
1651
|
}
|
|
1717
1652
|
);
|
|
1718
1653
|
ToastDescription.displayName = DESCRIPTION_NAME;
|
|
@@ -1726,7 +1661,7 @@ var ToastAction = React14.forwardRef(
|
|
|
1726
1661
|
);
|
|
1727
1662
|
return null;
|
|
1728
1663
|
}
|
|
1729
|
-
return /* @__PURE__ */ (
|
|
1664
|
+
return /* @__PURE__ */ jsx10(ToastAnnounceExclude, { altText, asChild: true, children: /* @__PURE__ */ jsx10(ToastClose, { ...actionProps, ref: forwardedRef }) });
|
|
1730
1665
|
}
|
|
1731
1666
|
);
|
|
1732
1667
|
ToastAction.displayName = ACTION_NAME;
|
|
@@ -1735,7 +1670,7 @@ var ToastClose = React14.forwardRef(
|
|
|
1735
1670
|
(props, forwardedRef) => {
|
|
1736
1671
|
const { __scopeToast, ...closeProps } = props;
|
|
1737
1672
|
const interactiveContext = useToastInteractiveContext(CLOSE_NAME, __scopeToast);
|
|
1738
|
-
return /* @__PURE__ */ (
|
|
1673
|
+
return /* @__PURE__ */ jsx10(ToastAnnounceExclude, { asChild: true, children: /* @__PURE__ */ jsx10(
|
|
1739
1674
|
Primitive.button,
|
|
1740
1675
|
{
|
|
1741
1676
|
type: "button",
|
|
@@ -1749,7 +1684,7 @@ var ToastClose = React14.forwardRef(
|
|
|
1749
1684
|
ToastClose.displayName = CLOSE_NAME;
|
|
1750
1685
|
var ToastAnnounceExclude = React14.forwardRef((props, forwardedRef) => {
|
|
1751
1686
|
const { __scopeToast, altText, ...announceExcludeProps } = props;
|
|
1752
|
-
return /* @__PURE__ */ (
|
|
1687
|
+
return /* @__PURE__ */ jsx10(
|
|
1753
1688
|
Primitive.div,
|
|
1754
1689
|
{
|
|
1755
1690
|
"data-radix-toast-announce-exclude": "",
|
|
@@ -1859,13 +1794,13 @@ var style_module_default3 = {
|
|
|
1859
1794
|
};
|
|
1860
1795
|
|
|
1861
1796
|
// src/components/Toast/index.tsx
|
|
1862
|
-
|
|
1797
|
+
import { useEffect as useEffect8, useRef as useRef7, useState as useState6 } from "react";
|
|
1863
1798
|
|
|
1864
1799
|
// src/components/Typography/Set/Paragraph.tsx
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
|
|
1868
|
-
var Paragraph = (
|
|
1800
|
+
import clsx2 from "clsx";
|
|
1801
|
+
import { forwardRef as forwardRef8 } from "react";
|
|
1802
|
+
import { jsx as jsx11 } from "react/jsx-runtime";
|
|
1803
|
+
var Paragraph = forwardRef8(
|
|
1869
1804
|
({
|
|
1870
1805
|
size: size4,
|
|
1871
1806
|
type,
|
|
@@ -1876,11 +1811,11 @@ var Paragraph = (0, import_react4.forwardRef)(
|
|
|
1876
1811
|
as: Element2 = "p",
|
|
1877
1812
|
...rest
|
|
1878
1813
|
}, ref) => {
|
|
1879
|
-
return /* @__PURE__ */ (
|
|
1814
|
+
return /* @__PURE__ */ jsx11(
|
|
1880
1815
|
Element2,
|
|
1881
1816
|
{
|
|
1882
1817
|
...rest,
|
|
1883
|
-
className: (
|
|
1818
|
+
className: clsx2(`lp-sys-typo-paragraph${size4}-${type}-${weight}`, className),
|
|
1884
1819
|
ref,
|
|
1885
1820
|
style: {
|
|
1886
1821
|
color: `var(--${color})`,
|
|
@@ -1893,8 +1828,8 @@ var Paragraph = (0, import_react4.forwardRef)(
|
|
|
1893
1828
|
);
|
|
1894
1829
|
|
|
1895
1830
|
// src/components/Toast/index.tsx
|
|
1896
|
-
|
|
1897
|
-
|
|
1831
|
+
import { useRecoilValue, useSetRecoilState as useSetRecoilState2 } from "recoil";
|
|
1832
|
+
import Lottie from "lottie-web";
|
|
1898
1833
|
|
|
1899
1834
|
// src/lottie/loading.json
|
|
1900
1835
|
var loading_default = {
|
|
@@ -2370,31 +2305,31 @@ var loading_default = {
|
|
|
2370
2305
|
};
|
|
2371
2306
|
|
|
2372
2307
|
// src/components/Toast/index.tsx
|
|
2373
|
-
|
|
2374
|
-
|
|
2375
|
-
|
|
2308
|
+
import { millisecondsInSecond as millisecondsInSecond2 } from "date-fns/constants";
|
|
2309
|
+
import { jsx as jsx12, jsxs as jsxs4 } from "react/jsx-runtime";
|
|
2310
|
+
import { createElement } from "react";
|
|
2376
2311
|
var Toaster = /* @__PURE__ */ __name(() => {
|
|
2377
|
-
const list =
|
|
2378
|
-
return /* @__PURE__ */ (
|
|
2379
|
-
list.map((props) => /* @__PURE__ */
|
|
2380
|
-
/* @__PURE__ */ (
|
|
2312
|
+
const list = useRecoilValue(toastAtom);
|
|
2313
|
+
return /* @__PURE__ */ jsxs4(Provider, { children: [
|
|
2314
|
+
list.map((props) => /* @__PURE__ */ createElement(SingleToast, { ...props, key: props.toastId })),
|
|
2315
|
+
/* @__PURE__ */ jsx12(Viewport, { className: style_module_default3.ToastViewport })
|
|
2381
2316
|
] });
|
|
2382
2317
|
}, "Toaster");
|
|
2383
2318
|
var SingleToast = /* @__PURE__ */ __name((props) => {
|
|
2384
|
-
const setToast = (
|
|
2385
|
-
const timerRef = (
|
|
2319
|
+
const setToast = useSetRecoilState2(toastAtom);
|
|
2320
|
+
const timerRef = useRef7();
|
|
2386
2321
|
const { message, icon, button, timer, toastId, isLoading } = props;
|
|
2387
|
-
const [isOpen, setIsOpen] = (
|
|
2388
|
-
const lottieRef = (
|
|
2389
|
-
const toastSuccess = (
|
|
2322
|
+
const [isOpen, setIsOpen] = useState6(true);
|
|
2323
|
+
const lottieRef = useRef7(null);
|
|
2324
|
+
const toastSuccess = useRef7(false);
|
|
2390
2325
|
const removeToast = /* @__PURE__ */ __name(() => {
|
|
2391
2326
|
setToast((prev) => prev.filter((toast) => toast.toastId !== toastId));
|
|
2392
2327
|
timerRef.current && clearTimeout(timerRef.current);
|
|
2393
2328
|
}, "removeToast");
|
|
2394
|
-
(
|
|
2329
|
+
useEffect8(() => {
|
|
2395
2330
|
if (isLoading && !toastSuccess.current) {
|
|
2396
2331
|
if (lottieRef.current) {
|
|
2397
|
-
|
|
2332
|
+
Lottie.loadAnimation({
|
|
2398
2333
|
container: lottieRef.current,
|
|
2399
2334
|
renderer: "svg",
|
|
2400
2335
|
loop: true,
|
|
@@ -2407,7 +2342,7 @@ var SingleToast = /* @__PURE__ */ __name((props) => {
|
|
|
2407
2342
|
timerRef.current = setTimeout(() => {
|
|
2408
2343
|
removeToast();
|
|
2409
2344
|
clearTimeout(timerRef.current);
|
|
2410
|
-
}, timer +
|
|
2345
|
+
}, timer + millisecondsInSecond2);
|
|
2411
2346
|
const preCloseTimeout = setTimeout(() => {
|
|
2412
2347
|
setIsOpen(false);
|
|
2413
2348
|
}, timer);
|
|
@@ -2420,12 +2355,12 @@ var SingleToast = /* @__PURE__ */ __name((props) => {
|
|
|
2420
2355
|
const renderIcon = /* @__PURE__ */ __name(() => {
|
|
2421
2356
|
if (!icon) return null;
|
|
2422
2357
|
const { icon: IconCmp, ...rest } = icon;
|
|
2423
|
-
return /* @__PURE__ */ (
|
|
2358
|
+
return /* @__PURE__ */ jsx12("i", { className: style_module_default3.Icon, children: /* @__PURE__ */ jsx12(IconCmp, { ...rest, size: "m" }) });
|
|
2424
2359
|
}, "renderIcon");
|
|
2425
|
-
return /* @__PURE__ */ (
|
|
2426
|
-
isLoading && !toastSuccess.current ? /* @__PURE__ */ (
|
|
2427
|
-
/* @__PURE__ */ (
|
|
2428
|
-
/* @__PURE__ */ (
|
|
2360
|
+
return /* @__PURE__ */ jsxs4(Root2, { className: style_module_default3.ToastRoot, open: isOpen, ...props, children: [
|
|
2361
|
+
isLoading && !toastSuccess.current ? /* @__PURE__ */ jsx12("div", { ref: lottieRef, style: { width: "24px", height: "24px" } }) : renderIcon(),
|
|
2362
|
+
/* @__PURE__ */ jsxs4(Title, { className: style_module_default3.ToastTitle, children: [
|
|
2363
|
+
/* @__PURE__ */ jsx12(
|
|
2429
2364
|
Paragraph,
|
|
2430
2365
|
{
|
|
2431
2366
|
className: style_module_default3.TitleText,
|
|
@@ -2436,7 +2371,7 @@ var SingleToast = /* @__PURE__ */ __name((props) => {
|
|
|
2436
2371
|
children: message
|
|
2437
2372
|
}
|
|
2438
2373
|
),
|
|
2439
|
-
button && /* @__PURE__ */ (
|
|
2374
|
+
button && /* @__PURE__ */ jsx12(
|
|
2440
2375
|
Button,
|
|
2441
2376
|
{
|
|
2442
2377
|
onClick: () => {
|
|
@@ -2458,17 +2393,17 @@ var SingleToast = /* @__PURE__ */ __name((props) => {
|
|
|
2458
2393
|
}, "SingleToast");
|
|
2459
2394
|
|
|
2460
2395
|
// src/components/Typography/Set/Heading.tsx
|
|
2461
|
-
|
|
2462
|
-
|
|
2463
|
-
|
|
2464
|
-
var Heading = (
|
|
2396
|
+
import { forwardRef as forwardRef9 } from "react";
|
|
2397
|
+
import clsx3 from "clsx";
|
|
2398
|
+
import { jsx as jsx13 } from "react/jsx-runtime";
|
|
2399
|
+
var Heading = forwardRef9(
|
|
2465
2400
|
({ size: size4, children, type, className, color = "neutral-label-primary", as, ...rest }, ref) => {
|
|
2466
2401
|
const Element2 = as || `h${size4}`;
|
|
2467
|
-
return /* @__PURE__ */ (
|
|
2402
|
+
return /* @__PURE__ */ jsx13(
|
|
2468
2403
|
Element2,
|
|
2469
2404
|
{
|
|
2470
2405
|
...rest,
|
|
2471
|
-
className: (
|
|
2406
|
+
className: clsx3(`lp-sys-typo-heading${size4}-${type}`, className),
|
|
2472
2407
|
ref,
|
|
2473
2408
|
style: {
|
|
2474
2409
|
color: `var(--${color})`,
|
|
@@ -2481,7 +2416,7 @@ var Heading = (0, import_react7.forwardRef)(
|
|
|
2481
2416
|
);
|
|
2482
2417
|
|
|
2483
2418
|
// src/components/Typography/Set/Caption.tsx
|
|
2484
|
-
|
|
2419
|
+
import clsx4 from "clsx";
|
|
2485
2420
|
|
|
2486
2421
|
// src/components/Typography/Set/style.module.scss
|
|
2487
2422
|
var style_module_default4 = {
|
|
@@ -2490,9 +2425,9 @@ var style_module_default4 = {
|
|
|
2490
2425
|
};
|
|
2491
2426
|
|
|
2492
2427
|
// src/components/Typography/Set/Caption.tsx
|
|
2493
|
-
|
|
2494
|
-
|
|
2495
|
-
var Caption = (
|
|
2428
|
+
import { forwardRef as forwardRef10 } from "react";
|
|
2429
|
+
import { jsx as jsx14 } from "react/jsx-runtime";
|
|
2430
|
+
var Caption = forwardRef10(
|
|
2496
2431
|
({
|
|
2497
2432
|
children,
|
|
2498
2433
|
size: size4,
|
|
@@ -2503,11 +2438,11 @@ var Caption = (0, import_react8.forwardRef)(
|
|
|
2503
2438
|
as: Element2 = "p",
|
|
2504
2439
|
...rest
|
|
2505
2440
|
}, ref) => {
|
|
2506
|
-
return /* @__PURE__ */ (
|
|
2441
|
+
return /* @__PURE__ */ jsx14(
|
|
2507
2442
|
Element2,
|
|
2508
2443
|
{
|
|
2509
2444
|
...rest,
|
|
2510
|
-
className: (
|
|
2445
|
+
className: clsx4(`lp-sys-typo-caption${size4}-${type}-${weight}`, style_module_default4.caption, className),
|
|
2511
2446
|
ref,
|
|
2512
2447
|
style: {
|
|
2513
2448
|
color: `var(--${color})`,
|
|
@@ -2521,10 +2456,10 @@ var Caption = (0, import_react8.forwardRef)(
|
|
|
2521
2456
|
Caption.displayName = "Caption";
|
|
2522
2457
|
|
|
2523
2458
|
// src/components/Typography/Set/Title.tsx
|
|
2524
|
-
|
|
2525
|
-
|
|
2526
|
-
|
|
2527
|
-
var Title2 = (
|
|
2459
|
+
import { forwardRef as forwardRef11 } from "react";
|
|
2460
|
+
import clsx5 from "clsx";
|
|
2461
|
+
import { jsx as jsx15 } from "react/jsx-runtime";
|
|
2462
|
+
var Title2 = forwardRef11(
|
|
2528
2463
|
({
|
|
2529
2464
|
weight,
|
|
2530
2465
|
size: size4,
|
|
@@ -2535,11 +2470,11 @@ var Title2 = (0, import_react9.forwardRef)(
|
|
|
2535
2470
|
as: Element2 = "p",
|
|
2536
2471
|
...rest
|
|
2537
2472
|
}, ref) => {
|
|
2538
|
-
return /* @__PURE__ */ (
|
|
2473
|
+
return /* @__PURE__ */ jsx15(
|
|
2539
2474
|
Element2,
|
|
2540
2475
|
{
|
|
2541
2476
|
...rest,
|
|
2542
|
-
className: (
|
|
2477
|
+
className: clsx5(`lp-sys-typo-title${size4}-${type}-${weight}`, className),
|
|
2543
2478
|
ref,
|
|
2544
2479
|
style: {
|
|
2545
2480
|
color: `var(--${color})`,
|
|
@@ -2552,10 +2487,10 @@ var Title2 = (0, import_react9.forwardRef)(
|
|
|
2552
2487
|
);
|
|
2553
2488
|
|
|
2554
2489
|
// src/components/Typography/Set/Display.tsx
|
|
2555
|
-
|
|
2556
|
-
|
|
2557
|
-
|
|
2558
|
-
var Display = (
|
|
2490
|
+
import clsx6 from "clsx";
|
|
2491
|
+
import { forwardRef as forwardRef12 } from "react";
|
|
2492
|
+
import { jsx as jsx16 } from "react/jsx-runtime";
|
|
2493
|
+
var Display = forwardRef12(
|
|
2559
2494
|
({
|
|
2560
2495
|
size: size4,
|
|
2561
2496
|
type,
|
|
@@ -2566,12 +2501,12 @@ var Display = (0, import_react10.forwardRef)(
|
|
|
2566
2501
|
as: Element2 = "p",
|
|
2567
2502
|
...rest
|
|
2568
2503
|
}, ref) => {
|
|
2569
|
-
return /* @__PURE__ */ (
|
|
2504
|
+
return /* @__PURE__ */ jsx16(
|
|
2570
2505
|
Element2,
|
|
2571
2506
|
{
|
|
2572
2507
|
...rest,
|
|
2573
2508
|
ref,
|
|
2574
|
-
className: (
|
|
2509
|
+
className: clsx6(`lp-sys-typo-display${size4}-${type}-${weight}`, className),
|
|
2575
2510
|
style: {
|
|
2576
2511
|
color: `var(--${color})`,
|
|
2577
2512
|
...rest.style
|
|
@@ -2583,8 +2518,8 @@ var Display = (0, import_react10.forwardRef)(
|
|
|
2583
2518
|
);
|
|
2584
2519
|
|
|
2585
2520
|
// src/components/Typography/Responsive/lib.ts
|
|
2586
|
-
|
|
2587
|
-
|
|
2521
|
+
import { createMedia } from "@artsy/fresnel";
|
|
2522
|
+
import { breakpointOrigin } from "@liner-fe/design-token";
|
|
2588
2523
|
|
|
2589
2524
|
// src/components/Typography/Responsive/constant.ts
|
|
2590
2525
|
var breakPointKeyArray = ["xs", "s", "m", "l", "xl", "xxl", "xxxl"];
|
|
@@ -2593,9 +2528,9 @@ var breakPointKeyArray = ["xs", "s", "m", "l", "xl", "xxl", "xxxl"];
|
|
|
2593
2528
|
var removePx = /* @__PURE__ */ __name((breakPoint) => {
|
|
2594
2529
|
return +breakPoint.replace("px", "");
|
|
2595
2530
|
}, "removePx");
|
|
2596
|
-
var AppMedia =
|
|
2531
|
+
var AppMedia = createMedia({
|
|
2597
2532
|
breakpoints: breakPointKeyArray.reduce((acc, key) => {
|
|
2598
|
-
acc[key] = removePx(
|
|
2533
|
+
acc[key] = removePx(breakpointOrigin[key]);
|
|
2599
2534
|
return acc;
|
|
2600
2535
|
}, {})
|
|
2601
2536
|
});
|
|
@@ -2603,8 +2538,8 @@ var rootMediaStyle = AppMedia.createMediaStyle();
|
|
|
2603
2538
|
var { MediaContextProvider, Media } = AppMedia;
|
|
2604
2539
|
|
|
2605
2540
|
// src/components/Typography/Responsive/index.tsx
|
|
2606
|
-
|
|
2607
|
-
|
|
2541
|
+
import { Fragment as Fragment4, jsx as jsx17 } from "react/jsx-runtime";
|
|
2542
|
+
import { createElement as createElement2 } from "react";
|
|
2608
2543
|
var TypographyImpl = /* @__PURE__ */ __name(({ level, text, ...rest }) => {
|
|
2609
2544
|
const commonProps = {
|
|
2610
2545
|
...rest,
|
|
@@ -2612,15 +2547,15 @@ var TypographyImpl = /* @__PURE__ */ __name(({ level, text, ...rest }) => {
|
|
|
2612
2547
|
};
|
|
2613
2548
|
switch (level) {
|
|
2614
2549
|
case "caption":
|
|
2615
|
-
return /* @__PURE__ */ (
|
|
2550
|
+
return /* @__PURE__ */ jsx17(Caption, { ...commonProps });
|
|
2616
2551
|
case "heading":
|
|
2617
|
-
return /* @__PURE__ */ (
|
|
2552
|
+
return /* @__PURE__ */ jsx17(Heading, { ...commonProps });
|
|
2618
2553
|
case "paragraph":
|
|
2619
|
-
return /* @__PURE__ */ (
|
|
2554
|
+
return /* @__PURE__ */ jsx17(Paragraph, { ...commonProps });
|
|
2620
2555
|
case "title":
|
|
2621
|
-
return /* @__PURE__ */ (
|
|
2556
|
+
return /* @__PURE__ */ jsx17(Title2, { ...commonProps });
|
|
2622
2557
|
case "display":
|
|
2623
|
-
return /* @__PURE__ */ (
|
|
2558
|
+
return /* @__PURE__ */ jsx17(Display, { ...commonProps });
|
|
2624
2559
|
default:
|
|
2625
2560
|
return null;
|
|
2626
2561
|
}
|
|
@@ -2661,11 +2596,11 @@ var Typography = /* @__PURE__ */ __name((props) => {
|
|
|
2661
2596
|
}, "createMediaProps");
|
|
2662
2597
|
return (
|
|
2663
2598
|
// Fragment없이도 원래 동작해야하는데 liner-web에서 JSX.Element가 배열로 오면 에러 띄워서 임시로 Fragment로 래핑합니다.
|
|
2664
|
-
/* @__PURE__ */ (
|
|
2599
|
+
/* @__PURE__ */ jsx17(Fragment4, { children: breakPointKeyArray.map((breakPointKey) => {
|
|
2665
2600
|
const variable = props[breakPointKey];
|
|
2666
2601
|
const isExistVariable = !!variable;
|
|
2667
2602
|
if (isExistVariable) {
|
|
2668
|
-
return /* @__PURE__ */ (
|
|
2603
|
+
return /* @__PURE__ */ createElement2(Media, { ...createMediaProps(breakPointKey), key: breakPointKey }, /* @__PURE__ */ jsx17(TypographyImpl, { ...variable, text: variable.text || children }));
|
|
2669
2604
|
}
|
|
2670
2605
|
return null;
|
|
2671
2606
|
}) })
|
|
@@ -2673,8 +2608,8 @@ var Typography = /* @__PURE__ */ __name((props) => {
|
|
|
2673
2608
|
}, "Typography");
|
|
2674
2609
|
|
|
2675
2610
|
// src/components/Popover/index.tsx
|
|
2676
|
-
|
|
2677
|
-
|
|
2611
|
+
import * as React17 from "react";
|
|
2612
|
+
import { Popover as PopoverPrimitive } from "radix-ui";
|
|
2678
2613
|
|
|
2679
2614
|
// src/components/Popover/style.module.scss
|
|
2680
2615
|
var style_module_default5 = {
|
|
@@ -2694,12 +2629,12 @@ var style_module_default5 = {
|
|
|
2694
2629
|
};
|
|
2695
2630
|
|
|
2696
2631
|
// src/components/Popover/index.tsx
|
|
2697
|
-
|
|
2698
|
-
|
|
2699
|
-
|
|
2632
|
+
import { cva as cva4 } from "cva";
|
|
2633
|
+
import { clsx as clsx8 } from "clsx";
|
|
2634
|
+
import { IconCloseFill } from "@liner-fe/icon";
|
|
2700
2635
|
|
|
2701
2636
|
// src/components/TextButton/index.tsx
|
|
2702
|
-
|
|
2637
|
+
import { cva as cva3 } from "cva";
|
|
2703
2638
|
|
|
2704
2639
|
// src/components/TextButton/style.module.scss
|
|
2705
2640
|
var style_module_default6 = {
|
|
@@ -2718,9 +2653,9 @@ var style_module_default6 = {
|
|
|
2718
2653
|
};
|
|
2719
2654
|
|
|
2720
2655
|
// src/components/TextButton/index.tsx
|
|
2721
|
-
|
|
2722
|
-
|
|
2723
|
-
|
|
2656
|
+
import { Children as Children4, cloneElement as cloneElement4, forwardRef as forwardRef13 } from "react";
|
|
2657
|
+
import clsx7 from "clsx";
|
|
2658
|
+
import { jsx as jsx18, jsxs as jsxs5 } from "react/jsx-runtime";
|
|
2724
2659
|
var textButtonLevelIconTypeMap = {
|
|
2725
2660
|
primary: "brand-label-primary",
|
|
2726
2661
|
secondary: "neutral-label-primary",
|
|
@@ -2735,7 +2670,7 @@ var textButtonLevelIconFillTypeMap = {
|
|
|
2735
2670
|
inverse: "neutral-label-primary",
|
|
2736
2671
|
"inverse-static": "neutral-label-static-primary"
|
|
2737
2672
|
};
|
|
2738
|
-
var textButtonVariants = (
|
|
2673
|
+
var textButtonVariants = cva3({
|
|
2739
2674
|
base: [style_module_default6.button, style_module_default6.text],
|
|
2740
2675
|
variants: {
|
|
2741
2676
|
level: {
|
|
@@ -2757,7 +2692,7 @@ var textButtonVariants = (0, import_cva3.cva)({
|
|
|
2757
2692
|
}
|
|
2758
2693
|
}
|
|
2759
2694
|
});
|
|
2760
|
-
var TextButton = (
|
|
2695
|
+
var TextButton = forwardRef13(
|
|
2761
2696
|
({
|
|
2762
2697
|
level = "primary",
|
|
2763
2698
|
thick = false,
|
|
@@ -2777,27 +2712,27 @@ var TextButton = (0, import_react12.forwardRef)(
|
|
|
2777
2712
|
fillType: textButtonLevelIconFillTypeMap[level],
|
|
2778
2713
|
...icon
|
|
2779
2714
|
}), "getIconProps");
|
|
2780
|
-
const renderContent = /* @__PURE__ */ __name((children2) => /* @__PURE__ */ (
|
|
2781
|
-
leftIcon && /* @__PURE__ */ (
|
|
2782
|
-
/* @__PURE__ */ (
|
|
2783
|
-
rightIcon && /* @__PURE__ */ (
|
|
2715
|
+
const renderContent = /* @__PURE__ */ __name((children2) => /* @__PURE__ */ jsxs5("span", { className: style_module_default6["text-children"], children: [
|
|
2716
|
+
leftIcon && /* @__PURE__ */ jsx18(leftIcon.icon, { ...getIconProps(leftIcon) }),
|
|
2717
|
+
/* @__PURE__ */ jsx18("p", { children: children2 }),
|
|
2718
|
+
rightIcon && /* @__PURE__ */ jsx18(rightIcon.icon, { ...getIconProps(rightIcon) })
|
|
2784
2719
|
] }), "renderContent");
|
|
2785
2720
|
if (asChild) {
|
|
2786
|
-
const parent =
|
|
2787
|
-
return (
|
|
2721
|
+
const parent = Children4.only(children);
|
|
2722
|
+
return cloneElement4(
|
|
2788
2723
|
parent,
|
|
2789
2724
|
{
|
|
2790
2725
|
...rest,
|
|
2791
|
-
className: (
|
|
2726
|
+
className: clsx7(textButtonVariants({ level, thick, underline, size: size4 }), className),
|
|
2792
2727
|
ref
|
|
2793
2728
|
},
|
|
2794
2729
|
renderContent(parent.props.children)
|
|
2795
2730
|
);
|
|
2796
2731
|
}
|
|
2797
|
-
return /* @__PURE__ */ (
|
|
2732
|
+
return /* @__PURE__ */ jsx18(
|
|
2798
2733
|
"button",
|
|
2799
2734
|
{
|
|
2800
|
-
className: (
|
|
2735
|
+
className: clsx7(textButtonVariants({ level, thick, underline, size: size4 }), className),
|
|
2801
2736
|
ref,
|
|
2802
2737
|
...rest,
|
|
2803
2738
|
children: renderContent(children)
|
|
@@ -2808,9 +2743,9 @@ var TextButton = (0, import_react12.forwardRef)(
|
|
|
2808
2743
|
TextButton.displayName = "TextButton";
|
|
2809
2744
|
|
|
2810
2745
|
// src/components/Popover/index.tsx
|
|
2811
|
-
|
|
2746
|
+
import { Fragment as Fragment5, jsx as jsx19, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
2812
2747
|
var DEFAULT_OFFSET = -6;
|
|
2813
|
-
var popoverVariants = (
|
|
2748
|
+
var popoverVariants = cva4({
|
|
2814
2749
|
base: style_module_default5.content,
|
|
2815
2750
|
variants: {
|
|
2816
2751
|
level: {
|
|
@@ -2819,7 +2754,7 @@ var popoverVariants = (0, import_cva4.cva)({
|
|
|
2819
2754
|
}
|
|
2820
2755
|
}
|
|
2821
2756
|
});
|
|
2822
|
-
var popoverAnchorVariants = (
|
|
2757
|
+
var popoverAnchorVariants = cva4({
|
|
2823
2758
|
base: style_module_default5.anchor,
|
|
2824
2759
|
variants: {
|
|
2825
2760
|
level: {
|
|
@@ -2828,15 +2763,15 @@ var popoverAnchorVariants = (0, import_cva4.cva)({
|
|
|
2828
2763
|
}
|
|
2829
2764
|
}
|
|
2830
2765
|
});
|
|
2831
|
-
var popoverTagVariants = (
|
|
2832
|
-
var popoverTitleVariants = (
|
|
2833
|
-
var popoverDescriptionVariants = (
|
|
2766
|
+
var popoverTagVariants = cva4({ base: [style_module_default5.tag, "lp-sys-typo-caption3-normal-bold"] });
|
|
2767
|
+
var popoverTitleVariants = cva4({ base: [style_module_default5.title, "lp-sys-typo-paragraph3-normal-bold"] });
|
|
2768
|
+
var popoverDescriptionVariants = cva4({
|
|
2834
2769
|
base: [style_module_default5.description, "lp-sys-typo-caption1-normal-regular"]
|
|
2835
2770
|
});
|
|
2836
|
-
var popoverFooterVariants = (
|
|
2837
|
-
var PopoverRoot = /* @__PURE__ */ __name(({ isOpen, children, onChange }) => /* @__PURE__ */ (
|
|
2838
|
-
var PopoverTrigger = /* @__PURE__ */ __name(({ by }) => /* @__PURE__ */ (
|
|
2839
|
-
var PopoverAnchor = /* @__PURE__ */ __name(({ className }) => /* @__PURE__ */ (
|
|
2771
|
+
var popoverFooterVariants = cva4({ base: [style_module_default5.footer, "lp-sys-typo-caption1-normal-medium"] });
|
|
2772
|
+
var PopoverRoot = /* @__PURE__ */ __name(({ isOpen, children, onChange }) => /* @__PURE__ */ jsx19(PopoverPrimitive.Root, { open: isOpen, onOpenChange: onChange, children }), "PopoverRoot");
|
|
2773
|
+
var PopoverTrigger = /* @__PURE__ */ __name(({ by }) => /* @__PURE__ */ jsx19(PopoverPrimitive.Trigger, { asChild: true, children: by }), "PopoverTrigger");
|
|
2774
|
+
var PopoverAnchor = /* @__PURE__ */ __name(({ className }) => /* @__PURE__ */ jsx19(
|
|
2840
2775
|
"svg",
|
|
2841
2776
|
{
|
|
2842
2777
|
className,
|
|
@@ -2845,7 +2780,7 @@ var PopoverAnchor = /* @__PURE__ */ __name(({ className }) => /* @__PURE__ */ (0
|
|
|
2845
2780
|
height: "10",
|
|
2846
2781
|
viewBox: "0 0 30 10",
|
|
2847
2782
|
fill: "none",
|
|
2848
|
-
children: /* @__PURE__ */ (
|
|
2783
|
+
children: /* @__PURE__ */ jsx19(
|
|
2849
2784
|
"path",
|
|
2850
2785
|
{
|
|
2851
2786
|
fillRule: "evenodd",
|
|
@@ -2874,36 +2809,36 @@ var PopoverContent = React17.forwardRef(
|
|
|
2874
2809
|
children,
|
|
2875
2810
|
container,
|
|
2876
2811
|
...props
|
|
2877
|
-
}, ref) => /* @__PURE__ */ (
|
|
2878
|
-
/* @__PURE__ */ (
|
|
2879
|
-
|
|
2812
|
+
}, ref) => /* @__PURE__ */ jsx19(PopoverPrimitive.Portal, { container, children: /* @__PURE__ */ jsxs6(Fragment5, { children: [
|
|
2813
|
+
/* @__PURE__ */ jsxs6(
|
|
2814
|
+
PopoverPrimitive.Content,
|
|
2880
2815
|
{
|
|
2881
2816
|
ref,
|
|
2882
2817
|
align,
|
|
2883
2818
|
side: position,
|
|
2884
2819
|
sideOffset: DEFAULT_OFFSET,
|
|
2885
2820
|
onPointerDownOutside,
|
|
2886
|
-
className: (
|
|
2821
|
+
className: clsx8(popoverVariants({ level }), className),
|
|
2887
2822
|
...props,
|
|
2888
2823
|
children: [
|
|
2889
|
-
/* @__PURE__ */ (
|
|
2890
|
-
(tag || icon || onClose) && /* @__PURE__ */ (
|
|
2891
|
-
tag && /* @__PURE__ */ (
|
|
2892
|
-
icon && /* @__PURE__ */ (
|
|
2893
|
-
/* @__PURE__ */ (
|
|
2894
|
-
onClose && /* @__PURE__ */ (
|
|
2895
|
-
|
|
2824
|
+
/* @__PURE__ */ jsxs6("div", { className: style_module_default5.contentContainer, children: [
|
|
2825
|
+
(tag || icon || onClose) && /* @__PURE__ */ jsxs6("div", { className: style_module_default5.heading, children: [
|
|
2826
|
+
tag && /* @__PURE__ */ jsx19("span", { className: popoverTagVariants(), children: tag }),
|
|
2827
|
+
icon && /* @__PURE__ */ jsx19(icon.icon, { size: "xs", thick: icon.thick, fill: icon.fill }),
|
|
2828
|
+
/* @__PURE__ */ jsx19("p", { className: popoverTitleVariants(), children: title }),
|
|
2829
|
+
onClose && /* @__PURE__ */ jsx19(
|
|
2830
|
+
PopoverPrimitive.PopoverClose,
|
|
2896
2831
|
{
|
|
2897
2832
|
className: style_module_default5.closeButton,
|
|
2898
2833
|
onClick: () => {
|
|
2899
2834
|
onClose();
|
|
2900
2835
|
},
|
|
2901
|
-
children: /* @__PURE__ */ (
|
|
2836
|
+
children: /* @__PURE__ */ jsx19(IconCloseFill, { size: "s", fill: true, thick: true, type: "neutral-label-static-primary" })
|
|
2902
2837
|
}
|
|
2903
2838
|
)
|
|
2904
2839
|
] }),
|
|
2905
|
-
description && /* @__PURE__ */ (
|
|
2906
|
-
onConfirm && /* @__PURE__ */ (
|
|
2840
|
+
description && /* @__PURE__ */ jsx19("p", { className: popoverDescriptionVariants(), children: description }),
|
|
2841
|
+
onConfirm && /* @__PURE__ */ jsx19("div", { className: popoverFooterVariants(), children: /* @__PURE__ */ jsx19(
|
|
2907
2842
|
TextButton,
|
|
2908
2843
|
{
|
|
2909
2844
|
level: "inverse-static",
|
|
@@ -2915,23 +2850,23 @@ var PopoverContent = React17.forwardRef(
|
|
|
2915
2850
|
) }),
|
|
2916
2851
|
children
|
|
2917
2852
|
] }),
|
|
2918
|
-
/* @__PURE__ */ (
|
|
2853
|
+
/* @__PURE__ */ jsx19(PopoverPrimitive.Arrow, { asChild: true, children: /* @__PURE__ */ jsx19(PopoverAnchor, { className: clsx8(popoverAnchorVariants({ level })) }) })
|
|
2919
2854
|
]
|
|
2920
2855
|
}
|
|
2921
2856
|
),
|
|
2922
|
-
isOverlay && /* @__PURE__ */ (
|
|
2857
|
+
isOverlay && /* @__PURE__ */ jsx19("div", { "data-radix-popper-overlay": true, className: style_module_default5.overlay })
|
|
2923
2858
|
] }) })
|
|
2924
2859
|
);
|
|
2925
2860
|
var Popover = Object.assign(PopoverRoot, {
|
|
2926
2861
|
Trigger: PopoverTrigger,
|
|
2927
2862
|
Content: PopoverContent,
|
|
2928
|
-
Arrow:
|
|
2929
|
-
Close:
|
|
2863
|
+
Arrow: PopoverPrimitive.Arrow,
|
|
2864
|
+
Close: PopoverPrimitive.Close
|
|
2930
2865
|
});
|
|
2931
2866
|
|
|
2932
2867
|
// src/components/Tooltip/index.tsx
|
|
2933
|
-
|
|
2934
|
-
|
|
2868
|
+
import { Tooltip as TooltipPrimitive } from "radix-ui";
|
|
2869
|
+
import { forwardRef as forwardRef15 } from "react";
|
|
2935
2870
|
|
|
2936
2871
|
// src/components/Tooltip/style.module.scss
|
|
2937
2872
|
var style_module_default7 = {
|
|
@@ -2940,15 +2875,15 @@ var style_module_default7 = {
|
|
|
2940
2875
|
};
|
|
2941
2876
|
|
|
2942
2877
|
// src/components/Tooltip/index.tsx
|
|
2943
|
-
|
|
2944
|
-
|
|
2945
|
-
|
|
2878
|
+
import { cva as cva5 } from "cva";
|
|
2879
|
+
import clsx9 from "clsx";
|
|
2880
|
+
import { jsx as jsx20 } from "react/jsx-runtime";
|
|
2946
2881
|
var DEFAULT_OFFSET2 = "medium";
|
|
2947
|
-
var tooltipVariants = (
|
|
2948
|
-
var TooltipProvider =
|
|
2949
|
-
var TooltipRoot = /* @__PURE__ */ __name(({ children, ...props }) => /* @__PURE__ */ (
|
|
2950
|
-
var TooltipTrigger = /* @__PURE__ */ __name(({ by }) => /* @__PURE__ */ (
|
|
2951
|
-
var TooltipContent = (
|
|
2882
|
+
var tooltipVariants = cva5({ base: [style_module_default7.tooltip, "lp-sys-typo-caption1-normal-medium"] });
|
|
2883
|
+
var TooltipProvider = TooltipPrimitive.Provider;
|
|
2884
|
+
var TooltipRoot = /* @__PURE__ */ __name(({ children, ...props }) => /* @__PURE__ */ jsx20(TooltipPrimitive.Root, { delayDuration: 0, ...props, children }), "TooltipRoot");
|
|
2885
|
+
var TooltipTrigger = /* @__PURE__ */ __name(({ by }) => /* @__PURE__ */ jsx20(TooltipPrimitive.Trigger, { asChild: true, children: by }), "TooltipTrigger");
|
|
2886
|
+
var TooltipContent = forwardRef15(
|
|
2952
2887
|
({
|
|
2953
2888
|
description,
|
|
2954
2889
|
position = "top",
|
|
@@ -2956,16 +2891,16 @@ var TooltipContent = (0, import_react13.forwardRef)(
|
|
|
2956
2891
|
offset: offset4 = DEFAULT_OFFSET2,
|
|
2957
2892
|
collisionPadding,
|
|
2958
2893
|
...props
|
|
2959
|
-
}, ref) => /* @__PURE__ */ (
|
|
2960
|
-
|
|
2894
|
+
}, ref) => /* @__PURE__ */ jsx20(
|
|
2895
|
+
TooltipPrimitive.Content,
|
|
2961
2896
|
{
|
|
2962
2897
|
ref,
|
|
2963
2898
|
side: position,
|
|
2964
2899
|
sideOffset: offset4 === "medium" ? 4 : 8,
|
|
2965
2900
|
collisionPadding,
|
|
2966
|
-
className: (
|
|
2901
|
+
className: clsx9(tooltipVariants(), className),
|
|
2967
2902
|
...props,
|
|
2968
|
-
children: /* @__PURE__ */ (
|
|
2903
|
+
children: /* @__PURE__ */ jsx20("p", { className: style_module_default7.tooltipContent, children: description })
|
|
2969
2904
|
}
|
|
2970
2905
|
)
|
|
2971
2906
|
);
|
|
@@ -2976,9 +2911,9 @@ var Tooltip = Object.assign(TooltipRoot, {
|
|
|
2976
2911
|
});
|
|
2977
2912
|
|
|
2978
2913
|
// src/components/IconButton/index.tsx
|
|
2979
|
-
|
|
2980
|
-
|
|
2981
|
-
|
|
2914
|
+
import { cva as cva6 } from "cva";
|
|
2915
|
+
import { forwardRef as forwardRef16 } from "react";
|
|
2916
|
+
import clsx10 from "clsx";
|
|
2982
2917
|
|
|
2983
2918
|
// src/components/IconButton/style.module.scss
|
|
2984
2919
|
var style_module_default8 = {
|
|
@@ -2999,9 +2934,9 @@ var style_module_default8 = {
|
|
|
2999
2934
|
};
|
|
3000
2935
|
|
|
3001
2936
|
// src/components/IconButton/index.tsx
|
|
3002
|
-
|
|
3003
|
-
|
|
3004
|
-
var { Slot } =
|
|
2937
|
+
import { Slot as SlotPrimitive } from "radix-ui";
|
|
2938
|
+
import { jsx as jsx21 } from "react/jsx-runtime";
|
|
2939
|
+
var { Slot } = SlotPrimitive;
|
|
3005
2940
|
var iconButtonSizeIconSizeMap = {
|
|
3006
2941
|
l: "m",
|
|
3007
2942
|
m: "s",
|
|
@@ -3047,7 +2982,7 @@ var iconButtonLevelIconTypeMap = {
|
|
|
3047
2982
|
"inverse-static": "inverse-label-static-primary"
|
|
3048
2983
|
}
|
|
3049
2984
|
};
|
|
3050
|
-
var iconButtonVariants = (
|
|
2985
|
+
var iconButtonVariants = cva6({
|
|
3051
2986
|
base: [style_module_default8.iconButton],
|
|
3052
2987
|
variants: {
|
|
3053
2988
|
level: {
|
|
@@ -3072,7 +3007,7 @@ var iconButtonVariants = (0, import_cva6.cva)({
|
|
|
3072
3007
|
}
|
|
3073
3008
|
}
|
|
3074
3009
|
});
|
|
3075
|
-
var IconButton = (
|
|
3010
|
+
var IconButton = forwardRef16(
|
|
3076
3011
|
({
|
|
3077
3012
|
asChild,
|
|
3078
3013
|
level = "primary",
|
|
@@ -3085,15 +3020,15 @@ var IconButton = (0, import_react14.forwardRef)(
|
|
|
3085
3020
|
...rest
|
|
3086
3021
|
}, ref) => {
|
|
3087
3022
|
const Comp = asChild ? Slot : "button";
|
|
3088
|
-
return /* @__PURE__ */ (
|
|
3023
|
+
return /* @__PURE__ */ jsx21(
|
|
3089
3024
|
Comp,
|
|
3090
3025
|
{
|
|
3091
3026
|
...rest,
|
|
3092
|
-
className: (
|
|
3027
|
+
className: clsx10(iconButtonVariants({ level, size: size4, fill }), className),
|
|
3093
3028
|
ref,
|
|
3094
3029
|
disabled: disabled && !isLoading,
|
|
3095
3030
|
role: "button",
|
|
3096
|
-
children: isLoading ? /* @__PURE__ */ (
|
|
3031
|
+
children: isLoading ? /* @__PURE__ */ jsx21(Loading, { size: iconButtonLoadingSizeMap[size4], level: iconButtonLoadingLevelMap[level] }) : /* @__PURE__ */ jsx21(
|
|
3097
3032
|
icon.icon,
|
|
3098
3033
|
{
|
|
3099
3034
|
size: iconButtonSizeIconSizeMap[size4],
|
|
@@ -3108,7 +3043,7 @@ var IconButton = (0, import_react14.forwardRef)(
|
|
|
3108
3043
|
IconButton.displayName = "IconButton";
|
|
3109
3044
|
|
|
3110
3045
|
// src/components/CheckBox/index.tsx
|
|
3111
|
-
|
|
3046
|
+
import { Checkbox as CheckboxPrimitive } from "radix-ui";
|
|
3112
3047
|
|
|
3113
3048
|
// src/components/CheckBox/style.module.scss
|
|
3114
3049
|
var style_module_default9 = {
|
|
@@ -3119,13 +3054,13 @@ var style_module_default9 = {
|
|
|
3119
3054
|
};
|
|
3120
3055
|
|
|
3121
3056
|
// src/components/CheckBox/index.tsx
|
|
3122
|
-
|
|
3123
|
-
|
|
3057
|
+
import { forwardRef as forwardRef18 } from "react";
|
|
3058
|
+
import clsx12 from "clsx";
|
|
3124
3059
|
|
|
3125
3060
|
// src/components/Label/index.tsx
|
|
3126
|
-
|
|
3127
|
-
|
|
3128
|
-
|
|
3061
|
+
import { forwardRef as forwardRef17 } from "react";
|
|
3062
|
+
import { Label as LabelPrimitive } from "radix-ui";
|
|
3063
|
+
import clsx11 from "clsx";
|
|
3129
3064
|
|
|
3130
3065
|
// src/components/Label/style.module.scss
|
|
3131
3066
|
var style_module_default10 = {
|
|
@@ -3145,9 +3080,9 @@ var style_module_default10 = {
|
|
|
3145
3080
|
};
|
|
3146
3081
|
|
|
3147
3082
|
// src/components/Label/index.tsx
|
|
3148
|
-
|
|
3149
|
-
|
|
3150
|
-
var defaultLabelVariants = (
|
|
3083
|
+
import { cva as cva7 } from "cva";
|
|
3084
|
+
import { jsx as jsx23 } from "react/jsx-runtime";
|
|
3085
|
+
var defaultLabelVariants = cva7({
|
|
3151
3086
|
base: ["lp-sys-typo-paragraph2-normal-medium", style_module_default10.label],
|
|
3152
3087
|
variants: {
|
|
3153
3088
|
level: {
|
|
@@ -3176,7 +3111,7 @@ var defaultLabelVariants = (0, import_cva7.cva)({
|
|
|
3176
3111
|
}
|
|
3177
3112
|
}
|
|
3178
3113
|
});
|
|
3179
|
-
var Label = (
|
|
3114
|
+
var Label = forwardRef17(
|
|
3180
3115
|
({
|
|
3181
3116
|
className,
|
|
3182
3117
|
level = "primary",
|
|
@@ -3187,11 +3122,11 @@ var Label = (0, import_react15.forwardRef)(
|
|
|
3187
3122
|
error = false,
|
|
3188
3123
|
...props
|
|
3189
3124
|
}, ref) => {
|
|
3190
|
-
return /* @__PURE__ */ (
|
|
3191
|
-
|
|
3125
|
+
return /* @__PURE__ */ jsx23(
|
|
3126
|
+
LabelPrimitive.Root,
|
|
3192
3127
|
{
|
|
3193
3128
|
ref,
|
|
3194
|
-
className: (
|
|
3129
|
+
className: clsx11(
|
|
3195
3130
|
defaultLabelVariants({ level, position, size: size4, offset: offset4, disabled, error }),
|
|
3196
3131
|
className
|
|
3197
3132
|
),
|
|
@@ -3203,25 +3138,25 @@ var Label = (0, import_react15.forwardRef)(
|
|
|
3203
3138
|
Label.displayName = "Label";
|
|
3204
3139
|
|
|
3205
3140
|
// src/components/CheckBox/index.tsx
|
|
3206
|
-
|
|
3207
|
-
|
|
3208
|
-
var Checkbox = (
|
|
3141
|
+
import { IconCheckMark } from "@liner-fe/icon";
|
|
3142
|
+
import { Fragment as Fragment6, jsx as jsx24, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
3143
|
+
var Checkbox = forwardRef18(
|
|
3209
3144
|
({ className, label, description, ...props }, ref) => {
|
|
3210
|
-
const CheckboxWrapper = /* @__PURE__ */ __name(({ children }) => label ? /* @__PURE__ */ (
|
|
3211
|
-
/* @__PURE__ */ (
|
|
3145
|
+
const CheckboxWrapper = /* @__PURE__ */ __name(({ children }) => label ? /* @__PURE__ */ jsxs7(Label, { position: "right", htmlFor: props.id, children: [
|
|
3146
|
+
/* @__PURE__ */ jsxs7("div", { className: style_module_default9["label-wrapper"], children: [
|
|
3212
3147
|
label,
|
|
3213
|
-
/* @__PURE__ */ (
|
|
3148
|
+
/* @__PURE__ */ jsx24(Paragraph, { className: style_module_default9.description, size: 3, type: "normal", weight: "regular", children: description })
|
|
3214
3149
|
] }),
|
|
3215
3150
|
children
|
|
3216
|
-
] }) : /* @__PURE__ */ (
|
|
3217
|
-
return /* @__PURE__ */ (
|
|
3151
|
+
] }) : /* @__PURE__ */ jsx24(Fragment6, { children }), "CheckboxWrapper");
|
|
3152
|
+
return /* @__PURE__ */ jsx24(CheckboxWrapper, { children: /* @__PURE__ */ jsx24(CheckboxPrimitive.Root, { className: clsx12(style_module_default9.checkbox, className), ref, ...props, children: /* @__PURE__ */ jsx24(CheckboxPrimitive.Indicator, { className: style_module_default9["checkbox-indicator"], children: /* @__PURE__ */ jsx24(IconCheckMark, { thick: true, size: "xs", type: "inverse-label-primary" }) }) }) });
|
|
3218
3153
|
}
|
|
3219
3154
|
);
|
|
3220
3155
|
|
|
3221
3156
|
// src/components/Radio/index.tsx
|
|
3222
|
-
|
|
3223
|
-
|
|
3224
|
-
|
|
3157
|
+
import { RadioGroup as RadioGroupPrimitive } from "radix-ui";
|
|
3158
|
+
import clsx13 from "clsx";
|
|
3159
|
+
import { forwardRef as forwardRef19 } from "react";
|
|
3225
3160
|
|
|
3226
3161
|
// src/components/Radio/style.module.scss
|
|
3227
3162
|
var style_module_default11 = {
|
|
@@ -3232,27 +3167,27 @@ var style_module_default11 = {
|
|
|
3232
3167
|
};
|
|
3233
3168
|
|
|
3234
3169
|
// src/components/Radio/index.tsx
|
|
3235
|
-
|
|
3236
|
-
var RadioIndicator = /* @__PURE__ */ __name(() => /* @__PURE__ */ (
|
|
3237
|
-
var RadioRoot = (
|
|
3170
|
+
import { Fragment as Fragment7, jsx as jsx25, jsxs as jsxs8 } from "react/jsx-runtime";
|
|
3171
|
+
var RadioIndicator = /* @__PURE__ */ __name(() => /* @__PURE__ */ jsx25("svg", { xmlns: "http://www.w3.org/2000/svg", width: "10", height: "10", viewBox: "0 0 10 10", fill: "none", children: /* @__PURE__ */ jsx25("circle", { cx: "5", cy: "5", r: "5", fill: "#313133" }) }), "RadioIndicator");
|
|
3172
|
+
var RadioRoot = forwardRef19(({ className, ...props }, ref) => /* @__PURE__ */ jsx25(RadioGroupPrimitive.Root, { ref, className, ...props }));
|
|
3238
3173
|
RadioRoot.displayName = "RadioRoot";
|
|
3239
|
-
var RadioItem = (
|
|
3174
|
+
var RadioItem = forwardRef19(
|
|
3240
3175
|
({ className, label, description, ...props }, ref) => {
|
|
3241
|
-
const RadioItemWrapper = /* @__PURE__ */ __name(({ children }) => label ? /* @__PURE__ */ (
|
|
3242
|
-
/* @__PURE__ */ (
|
|
3176
|
+
const RadioItemWrapper = /* @__PURE__ */ __name(({ children }) => label ? /* @__PURE__ */ jsxs8(Label, { position: "right", children: [
|
|
3177
|
+
/* @__PURE__ */ jsxs8("div", { className: style_module_default11["label-wrapper"], children: [
|
|
3243
3178
|
label,
|
|
3244
|
-
description && /* @__PURE__ */ (
|
|
3179
|
+
description && /* @__PURE__ */ jsx25(Paragraph, { className: style_module_default11.description, size: 3, type: "normal", weight: "regular", children: description })
|
|
3245
3180
|
] }),
|
|
3246
3181
|
children
|
|
3247
|
-
] }) : /* @__PURE__ */ (
|
|
3248
|
-
return /* @__PURE__ */ (
|
|
3249
|
-
|
|
3182
|
+
] }) : /* @__PURE__ */ jsx25(Fragment7, { children }), "RadioItemWrapper");
|
|
3183
|
+
return /* @__PURE__ */ jsx25(RadioItemWrapper, { children: /* @__PURE__ */ jsx25(
|
|
3184
|
+
RadioGroupPrimitive.Item,
|
|
3250
3185
|
{
|
|
3251
3186
|
ref,
|
|
3252
|
-
className: (
|
|
3187
|
+
className: clsx13(style_module_default11["radio-item"], className),
|
|
3253
3188
|
...props,
|
|
3254
3189
|
"aria-label": label,
|
|
3255
|
-
children: /* @__PURE__ */ (
|
|
3190
|
+
children: /* @__PURE__ */ jsx25(RadioGroupPrimitive.Indicator, { className: style_module_default11.indicator, children: /* @__PURE__ */ jsx25(RadioIndicator, {}) })
|
|
3256
3191
|
}
|
|
3257
3192
|
) });
|
|
3258
3193
|
}
|
|
@@ -3263,7 +3198,13 @@ var Radio = Object.assign(RadioRoot, {
|
|
|
3263
3198
|
});
|
|
3264
3199
|
|
|
3265
3200
|
// src/components/Textfield/index.tsx
|
|
3266
|
-
|
|
3201
|
+
import {
|
|
3202
|
+
forwardRef as forwardRef20,
|
|
3203
|
+
useId,
|
|
3204
|
+
useImperativeHandle,
|
|
3205
|
+
useRef as useRef8,
|
|
3206
|
+
useState as useState7
|
|
3207
|
+
} from "react";
|
|
3267
3208
|
|
|
3268
3209
|
// src/components/Textfield/style.module.scss
|
|
3269
3210
|
var style_module_default12 = {
|
|
@@ -3288,12 +3229,17 @@ var style_module_default12 = {
|
|
|
3288
3229
|
};
|
|
3289
3230
|
|
|
3290
3231
|
// src/components/Textfield/index.tsx
|
|
3291
|
-
|
|
3292
|
-
|
|
3293
|
-
|
|
3294
|
-
|
|
3295
|
-
|
|
3296
|
-
|
|
3232
|
+
import { cva as cva8 } from "cva";
|
|
3233
|
+
import clsx14 from "clsx";
|
|
3234
|
+
import {
|
|
3235
|
+
IconCloseFill as IconCloseFill2,
|
|
3236
|
+
IconExclamationmarkFill,
|
|
3237
|
+
IconVisibility,
|
|
3238
|
+
IconVisibilityOff
|
|
3239
|
+
} from "@liner-fe/icon";
|
|
3240
|
+
import { flushSync as flushSync2 } from "react-dom";
|
|
3241
|
+
import { Fragment as Fragment8, jsx as jsx26, jsxs as jsxs9 } from "react/jsx-runtime";
|
|
3242
|
+
var defaultTextfieldVariants = cva8({
|
|
3297
3243
|
base: style_module_default12.textfield,
|
|
3298
3244
|
variants: {
|
|
3299
3245
|
color: {
|
|
@@ -3302,9 +3248,9 @@ var defaultTextfieldVariants = (0, import_cva8.cva)({
|
|
|
3302
3248
|
}
|
|
3303
3249
|
}
|
|
3304
3250
|
});
|
|
3305
|
-
var Textfield = (
|
|
3251
|
+
var Textfield = forwardRef20((props, ref) => {
|
|
3306
3252
|
const {
|
|
3307
|
-
id =
|
|
3253
|
+
id = useId(),
|
|
3308
3254
|
type,
|
|
3309
3255
|
label,
|
|
3310
3256
|
value: controlledValue,
|
|
@@ -3318,9 +3264,9 @@ var Textfield = (0, import_react18.forwardRef)((props, ref) => {
|
|
|
3318
3264
|
onClear,
|
|
3319
3265
|
...rest
|
|
3320
3266
|
} = props;
|
|
3321
|
-
const inputRef = (
|
|
3322
|
-
const [value, setValue] = (
|
|
3323
|
-
const [deidentifiy, setDeidentifiy] = (
|
|
3267
|
+
const inputRef = useRef8(null);
|
|
3268
|
+
const [value, setValue] = useState7("");
|
|
3269
|
+
const [deidentifiy, setDeidentifiy] = useState7(true);
|
|
3324
3270
|
const isControlled = controlledValue !== void 0;
|
|
3325
3271
|
const isPassword = type === "password";
|
|
3326
3272
|
const isDeidentified = isPassword && deidentifiy;
|
|
@@ -3350,7 +3296,7 @@ var Textfield = (0, import_react18.forwardRef)((props, ref) => {
|
|
|
3350
3296
|
const handleDeidentify = /* @__PURE__ */ __name((e) => {
|
|
3351
3297
|
e.stopPropagation();
|
|
3352
3298
|
if (!disabled) {
|
|
3353
|
-
(
|
|
3299
|
+
flushSync2(() => {
|
|
3354
3300
|
setDeidentifiy((prev) => !prev);
|
|
3355
3301
|
});
|
|
3356
3302
|
}
|
|
@@ -3360,20 +3306,20 @@ var Textfield = (0, import_react18.forwardRef)((props, ref) => {
|
|
|
3360
3306
|
inputRef.current.setSelectionRange(length, length);
|
|
3361
3307
|
}
|
|
3362
3308
|
}, "handleDeidentify");
|
|
3363
|
-
|
|
3364
|
-
return /* @__PURE__ */ (
|
|
3365
|
-
/* @__PURE__ */ (
|
|
3309
|
+
useImperativeHandle(ref, () => inputRef.current);
|
|
3310
|
+
return /* @__PURE__ */ jsxs9("div", { className: style_module_default12["textfield-container"], "data-disabled": disabled, "data-error": !!error, children: [
|
|
3311
|
+
/* @__PURE__ */ jsx26(
|
|
3366
3312
|
"div",
|
|
3367
3313
|
{
|
|
3368
|
-
className: (
|
|
3314
|
+
className: clsx14(defaultTextfieldVariants({ color }), {
|
|
3369
3315
|
[style_module_default12["label-out-textfield"]]: !label || labelType === "out"
|
|
3370
3316
|
}),
|
|
3371
3317
|
onClick: handleTextfieldClick,
|
|
3372
|
-
children: /* @__PURE__ */ (
|
|
3373
|
-
/* @__PURE__ */ (
|
|
3318
|
+
children: /* @__PURE__ */ jsxs9("div", { className: style_module_default12["input-wrapper"], children: [
|
|
3319
|
+
/* @__PURE__ */ jsx26(
|
|
3374
3320
|
"input",
|
|
3375
3321
|
{
|
|
3376
|
-
className: (
|
|
3322
|
+
className: clsx14(style_module_default12.input, {
|
|
3377
3323
|
[style_module_default12["label-out-input"]]: !label || labelType === "out" || labelType === "visually-hidden"
|
|
3378
3324
|
}),
|
|
3379
3325
|
type: isDeidentified ? "password" : "text",
|
|
@@ -3385,10 +3331,10 @@ var Textfield = (0, import_react18.forwardRef)((props, ref) => {
|
|
|
3385
3331
|
...rest
|
|
3386
3332
|
}
|
|
3387
3333
|
),
|
|
3388
|
-
/* @__PURE__ */ (
|
|
3334
|
+
/* @__PURE__ */ jsx26(
|
|
3389
3335
|
Label,
|
|
3390
3336
|
{
|
|
3391
|
-
className: (
|
|
3337
|
+
className: clsx14(style_module_default12.label, {
|
|
3392
3338
|
[style_module_default12["label-in"]]: labelType === "in",
|
|
3393
3339
|
[style_module_default12["label-out"]]: !label || labelType === "out",
|
|
3394
3340
|
[style_module_default12["label-visually-hidden"]]: labelType === "visually-hidden"
|
|
@@ -3398,8 +3344,8 @@ var Textfield = (0, import_react18.forwardRef)((props, ref) => {
|
|
|
3398
3344
|
children: labelText
|
|
3399
3345
|
}
|
|
3400
3346
|
),
|
|
3401
|
-
/* @__PURE__ */ (
|
|
3402
|
-
textfieldValue && !disabled && /* @__PURE__ */ (
|
|
3347
|
+
/* @__PURE__ */ jsxs9("div", { className: style_module_default12["input-action-buttons"], children: [
|
|
3348
|
+
textfieldValue && !disabled && /* @__PURE__ */ jsx26(
|
|
3403
3349
|
IconButton,
|
|
3404
3350
|
{
|
|
3405
3351
|
tabIndex: -1,
|
|
@@ -3407,7 +3353,7 @@ var Textfield = (0, import_react18.forwardRef)((props, ref) => {
|
|
|
3407
3353
|
level: "secondary",
|
|
3408
3354
|
fill: false,
|
|
3409
3355
|
icon: {
|
|
3410
|
-
icon:
|
|
3356
|
+
icon: IconCloseFill2,
|
|
3411
3357
|
size: "s",
|
|
3412
3358
|
thick: true
|
|
3413
3359
|
},
|
|
@@ -3417,7 +3363,7 @@ var Textfield = (0, import_react18.forwardRef)((props, ref) => {
|
|
|
3417
3363
|
}
|
|
3418
3364
|
}
|
|
3419
3365
|
),
|
|
3420
|
-
isPassword && !disabled && /* @__PURE__ */ (
|
|
3366
|
+
isPassword && !disabled && /* @__PURE__ */ jsx26(
|
|
3421
3367
|
IconButton,
|
|
3422
3368
|
{
|
|
3423
3369
|
tabIndex: -1,
|
|
@@ -3425,7 +3371,7 @@ var Textfield = (0, import_react18.forwardRef)((props, ref) => {
|
|
|
3425
3371
|
level: "secondary",
|
|
3426
3372
|
fill: false,
|
|
3427
3373
|
icon: {
|
|
3428
|
-
icon: deidentifiy ?
|
|
3374
|
+
icon: deidentifiy ? IconVisibilityOff : IconVisibility,
|
|
3429
3375
|
size: "s",
|
|
3430
3376
|
fill: true
|
|
3431
3377
|
},
|
|
@@ -3435,15 +3381,15 @@ var Textfield = (0, import_react18.forwardRef)((props, ref) => {
|
|
|
3435
3381
|
}
|
|
3436
3382
|
}
|
|
3437
3383
|
),
|
|
3438
|
-
buttonProps && /* @__PURE__ */ (
|
|
3384
|
+
buttonProps && /* @__PURE__ */ jsx26(Button, { ...buttonProps, size: "m", type: "button" })
|
|
3439
3385
|
] })
|
|
3440
3386
|
] })
|
|
3441
3387
|
}
|
|
3442
3388
|
),
|
|
3443
|
-
displayFooter && /* @__PURE__ */ (
|
|
3444
|
-
/* @__PURE__ */ (
|
|
3445
|
-
/* @__PURE__ */ (
|
|
3446
|
-
/* @__PURE__ */ (
|
|
3389
|
+
displayFooter && /* @__PURE__ */ jsxs9("div", { className: style_module_default12.footer, children: [
|
|
3390
|
+
/* @__PURE__ */ jsx26("div", { className: style_module_default12["error-wrapper"], children: error && /* @__PURE__ */ jsxs9(Fragment8, { children: [
|
|
3391
|
+
/* @__PURE__ */ jsx26(IconExclamationmarkFill, { fill: true, thick: true, size: "xs", type: "function-label-negative" }),
|
|
3392
|
+
/* @__PURE__ */ jsx26(
|
|
3447
3393
|
Caption,
|
|
3448
3394
|
{
|
|
3449
3395
|
size: 3,
|
|
@@ -3455,7 +3401,7 @@ var Textfield = (0, import_react18.forwardRef)((props, ref) => {
|
|
|
3455
3401
|
}
|
|
3456
3402
|
)
|
|
3457
3403
|
] }) }),
|
|
3458
|
-
maxCharacter && /* @__PURE__ */ (
|
|
3404
|
+
maxCharacter && /* @__PURE__ */ jsxs9(Caption, { className: style_module_default12.character, size: 3, type: "normal", weight: "regular", children: [
|
|
3459
3405
|
isControlled ? controlledValue.length : value.length,
|
|
3460
3406
|
"/",
|
|
3461
3407
|
maxCharacter
|
|
@@ -3466,8 +3412,8 @@ var Textfield = (0, import_react18.forwardRef)((props, ref) => {
|
|
|
3466
3412
|
Textfield.displayName = "Textfield";
|
|
3467
3413
|
|
|
3468
3414
|
// src/components/Select/index.tsx
|
|
3469
|
-
|
|
3470
|
-
|
|
3415
|
+
import { Select as SelectPrimitive } from "radix-ui";
|
|
3416
|
+
import { ScrollArea } from "radix-ui";
|
|
3471
3417
|
|
|
3472
3418
|
// src/components/Select/style.module.scss
|
|
3473
3419
|
var style_module_default13 = {
|
|
@@ -3496,16 +3442,20 @@ var style_module_default13 = {
|
|
|
3496
3442
|
};
|
|
3497
3443
|
|
|
3498
3444
|
// src/components/Select/index.tsx
|
|
3499
|
-
|
|
3500
|
-
|
|
3501
|
-
|
|
3502
|
-
|
|
3503
|
-
|
|
3504
|
-
|
|
3445
|
+
import { IconCheckMark as IconCheckMark2, IconDropDown } from "@liner-fe/icon";
|
|
3446
|
+
import {
|
|
3447
|
+
forwardRef as forwardRef21,
|
|
3448
|
+
useEffect as useEffect9,
|
|
3449
|
+
useState as useState8
|
|
3450
|
+
} from "react";
|
|
3451
|
+
import clsx15 from "clsx";
|
|
3452
|
+
import { jsx as jsx27, jsxs as jsxs10 } from "react/jsx-runtime";
|
|
3453
|
+
var Badge = /* @__PURE__ */ __name(({ children }) => /* @__PURE__ */ jsx27("div", { className: style_module_default13.badgeContainer, children: /* @__PURE__ */ jsx27(Caption, { className: style_module_default13.badge, size: 2, type: "normal", weight: "medium", children }) }), "Badge");
|
|
3454
|
+
var SelectContent = forwardRef21(
|
|
3505
3455
|
(props, ref) => {
|
|
3506
3456
|
const { id, isResponsive, popSide, sideOffset, listLabel, children, container } = props;
|
|
3507
|
-
return /* @__PURE__ */ (
|
|
3508
|
-
|
|
3457
|
+
return /* @__PURE__ */ jsx27(SelectPrimitive.Portal, { container, children: /* @__PURE__ */ jsx27(
|
|
3458
|
+
SelectPrimitive.Content,
|
|
3509
3459
|
{
|
|
3510
3460
|
id: `select-content-${id}`,
|
|
3511
3461
|
ref: (instance) => {
|
|
@@ -3519,21 +3469,21 @@ var SelectContent = (0, import_react19.forwardRef)(
|
|
|
3519
3469
|
e.stopPropagation();
|
|
3520
3470
|
};
|
|
3521
3471
|
},
|
|
3522
|
-
className: (
|
|
3472
|
+
className: clsx15(style_module_default13["desktop-content"], {
|
|
3523
3473
|
[style_module_default13["responsive"]]: isResponsive
|
|
3524
3474
|
}),
|
|
3525
3475
|
position: "popper",
|
|
3526
3476
|
side: popSide,
|
|
3527
3477
|
sideOffset,
|
|
3528
3478
|
avoidCollisions: false,
|
|
3529
|
-
children: /* @__PURE__ */ (
|
|
3530
|
-
/* @__PURE__ */ (
|
|
3531
|
-
|
|
3479
|
+
children: /* @__PURE__ */ jsxs10(ScrollArea.Root, { className: style_module_default13.scrollAreaRoot, type: "always", children: [
|
|
3480
|
+
/* @__PURE__ */ jsx27(SelectPrimitive.Viewport, { asChild: true, children: /* @__PURE__ */ jsx27(
|
|
3481
|
+
ScrollArea.Viewport,
|
|
3532
3482
|
{
|
|
3533
3483
|
className: style_module_default13.scrollAreaViewport,
|
|
3534
3484
|
style: { maxHeight: "268px", overflowY: "auto" },
|
|
3535
|
-
children: /* @__PURE__ */ (
|
|
3536
|
-
listLabel && /* @__PURE__ */ (
|
|
3485
|
+
children: /* @__PURE__ */ jsxs10(SelectPrimitive.Group, { children: [
|
|
3486
|
+
listLabel && /* @__PURE__ */ jsx27(SelectPrimitive.Label, { asChild: true, children: /* @__PURE__ */ jsx27(
|
|
3537
3487
|
Label,
|
|
3538
3488
|
{
|
|
3539
3489
|
className: style_module_default13["desktop-label"],
|
|
@@ -3547,13 +3497,13 @@ var SelectContent = (0, import_react19.forwardRef)(
|
|
|
3547
3497
|
] })
|
|
3548
3498
|
}
|
|
3549
3499
|
) }),
|
|
3550
|
-
/* @__PURE__ */ (
|
|
3500
|
+
/* @__PURE__ */ jsx27(ScrollArea.Scrollbar, { className: style_module_default13.scrollAreaScrollbar, orientation: "vertical", children: /* @__PURE__ */ jsx27(ScrollArea.Thumb, { className: style_module_default13.scrollAreaThumb }) })
|
|
3551
3501
|
] })
|
|
3552
3502
|
}
|
|
3553
3503
|
) });
|
|
3554
3504
|
}
|
|
3555
3505
|
);
|
|
3556
|
-
var SelectRoot = (
|
|
3506
|
+
var SelectRoot = forwardRef21(
|
|
3557
3507
|
(props, ref) => {
|
|
3558
3508
|
const {
|
|
3559
3509
|
id,
|
|
@@ -3573,13 +3523,13 @@ var SelectRoot = (0, import_react19.forwardRef)(
|
|
|
3573
3523
|
...rest
|
|
3574
3524
|
} = props;
|
|
3575
3525
|
const contentProps = { id, isResponsive, popSide, sideOffset, listLabel, children, container };
|
|
3576
|
-
const [isOpen, setIsOpen] = (
|
|
3577
|
-
(
|
|
3526
|
+
const [isOpen, setIsOpen] = useState8(false);
|
|
3527
|
+
useEffect9(() => {
|
|
3578
3528
|
setIsOpen(open);
|
|
3579
3529
|
}, [open]);
|
|
3580
|
-
return /* @__PURE__ */ (
|
|
3581
|
-
/* @__PURE__ */ (
|
|
3582
|
-
/* @__PURE__ */ (
|
|
3530
|
+
return /* @__PURE__ */ jsxs10("div", { children: [
|
|
3531
|
+
/* @__PURE__ */ jsxs10("div", { className: style_module_default13["label-container"], children: [
|
|
3532
|
+
/* @__PURE__ */ jsx27(
|
|
3583
3533
|
Label,
|
|
3584
3534
|
{
|
|
3585
3535
|
className: style_module_default13["select-label"],
|
|
@@ -3590,10 +3540,10 @@ var SelectRoot = (0, import_react19.forwardRef)(
|
|
|
3590
3540
|
children: label
|
|
3591
3541
|
}
|
|
3592
3542
|
),
|
|
3593
|
-
badge && /* @__PURE__ */ (
|
|
3543
|
+
badge && /* @__PURE__ */ jsx27(Badge, { children: badge })
|
|
3594
3544
|
] }),
|
|
3595
|
-
/* @__PURE__ */ (
|
|
3596
|
-
|
|
3545
|
+
/* @__PURE__ */ jsxs10(
|
|
3546
|
+
SelectPrimitive.Root,
|
|
3597
3547
|
{
|
|
3598
3548
|
...rest,
|
|
3599
3549
|
open: isOpen,
|
|
@@ -3602,19 +3552,19 @@ var SelectRoot = (0, import_react19.forwardRef)(
|
|
|
3602
3552
|
setIsOpen(open2);
|
|
3603
3553
|
},
|
|
3604
3554
|
children: [
|
|
3605
|
-
/* @__PURE__ */ (
|
|
3606
|
-
/* @__PURE__ */ (
|
|
3607
|
-
/* @__PURE__ */ (
|
|
3555
|
+
/* @__PURE__ */ jsxs10(SelectPrimitive.Trigger, { className: style_module_default13.trigger, ref, id, children: [
|
|
3556
|
+
/* @__PURE__ */ jsx27(SelectPrimitive.Value, { className: style_module_default13.placeholder, placeholder }),
|
|
3557
|
+
/* @__PURE__ */ jsx27(SelectPrimitive.Icon, { className: style_module_default13.openIcon, children: /* @__PURE__ */ jsx27(IconDropDown, { fill: true, thick: true, size: "xs" }) })
|
|
3608
3558
|
] }),
|
|
3609
|
-
/* @__PURE__ */ (
|
|
3559
|
+
/* @__PURE__ */ jsx27(SelectContent, { ...contentProps })
|
|
3610
3560
|
]
|
|
3611
3561
|
}
|
|
3612
3562
|
)
|
|
3613
3563
|
] });
|
|
3614
3564
|
}
|
|
3615
3565
|
);
|
|
3616
|
-
var SelectItem = /* @__PURE__ */ __name(({ value, text, disabled, icon, onClick }) => /* @__PURE__ */ (
|
|
3617
|
-
|
|
3566
|
+
var SelectItem = /* @__PURE__ */ __name(({ value, text, disabled, icon, onClick }) => /* @__PURE__ */ jsxs10(
|
|
3567
|
+
SelectPrimitive.Item,
|
|
3618
3568
|
{
|
|
3619
3569
|
className: style_module_default13.item,
|
|
3620
3570
|
value,
|
|
@@ -3624,9 +3574,9 @@ var SelectItem = /* @__PURE__ */ __name(({ value, text, disabled, icon, onClick
|
|
|
3624
3574
|
onClick?.();
|
|
3625
3575
|
},
|
|
3626
3576
|
children: [
|
|
3627
|
-
/* @__PURE__ */ (
|
|
3628
|
-
icon && /* @__PURE__ */ (
|
|
3629
|
-
/* @__PURE__ */ (
|
|
3577
|
+
/* @__PURE__ */ jsx27(SelectPrimitive.ItemText, { children: /* @__PURE__ */ jsx27(Paragraph, { size: 3, type: "normal", weight: "medium", children: text ?? value }) }),
|
|
3578
|
+
icon && /* @__PURE__ */ jsx27(SelectPrimitive.Icon, { className: style_module_default13.icon, children: /* @__PURE__ */ jsx27(icon.icon, { size: "xs", ...icon }) }),
|
|
3579
|
+
/* @__PURE__ */ jsx27(SelectPrimitive.ItemIndicator, { className: style_module_default13.itemIndicator, children: /* @__PURE__ */ jsx27(IconCheckMark2, { thick: true, size: "xs", type: "brand-label-primary" }) })
|
|
3630
3580
|
]
|
|
3631
3581
|
}
|
|
3632
3582
|
), "SelectItem");
|
|
@@ -3642,19 +3592,19 @@ var style_module_default14 = {
|
|
|
3642
3592
|
};
|
|
3643
3593
|
|
|
3644
3594
|
// src/components/List/index.tsx
|
|
3645
|
-
|
|
3646
|
-
|
|
3595
|
+
import { IconCheckMark as IconCheckMark3 } from "@liner-fe/icon";
|
|
3596
|
+
import { useState as useState9 } from "react";
|
|
3647
3597
|
|
|
3648
3598
|
// src/hooks/collection.tsx
|
|
3649
|
-
|
|
3650
|
-
|
|
3651
|
-
var CollectionContext = (
|
|
3599
|
+
import { createContext as createContext3, useContext as useContext3, useMemo as useMemo5 } from "react";
|
|
3600
|
+
import { jsx as jsx28 } from "react/jsx-runtime";
|
|
3601
|
+
var CollectionContext = createContext3(void 0);
|
|
3652
3602
|
var CollectionProvider = /* @__PURE__ */ __name(({ value, onChangeValue, children }) => {
|
|
3653
|
-
const contextValue = (
|
|
3654
|
-
return /* @__PURE__ */ (
|
|
3603
|
+
const contextValue = useMemo5(() => ({ value, onChangeValue }), [value, onChangeValue]);
|
|
3604
|
+
return /* @__PURE__ */ jsx28(CollectionContext.Provider, { value: contextValue, children });
|
|
3655
3605
|
}, "CollectionProvider");
|
|
3656
3606
|
var useCollectionContext = /* @__PURE__ */ __name(() => {
|
|
3657
|
-
const context = (
|
|
3607
|
+
const context = useContext3(CollectionContext);
|
|
3658
3608
|
if (!context) {
|
|
3659
3609
|
throw new Error("useCollectionContext must be used within a CollectionProvider");
|
|
3660
3610
|
}
|
|
@@ -3662,25 +3612,25 @@ var useCollectionContext = /* @__PURE__ */ __name(() => {
|
|
|
3662
3612
|
}, "useCollectionContext");
|
|
3663
3613
|
|
|
3664
3614
|
// src/components/List/index.tsx
|
|
3665
|
-
|
|
3666
|
-
|
|
3615
|
+
import clsx16 from "clsx";
|
|
3616
|
+
import { jsx as jsx29, jsxs as jsxs11 } from "react/jsx-runtime";
|
|
3667
3617
|
var ListRoot = /* @__PURE__ */ __name(({ children, className, ...props }) => {
|
|
3668
|
-
return /* @__PURE__ */ (
|
|
3618
|
+
return /* @__PURE__ */ jsx29(CollectionProvider, { ...props, children: /* @__PURE__ */ jsx29("ul", { className: clsx16(style_module_default14.list, className), children }) });
|
|
3669
3619
|
}, "ListRoot");
|
|
3670
3620
|
var Item = /* @__PURE__ */ __name(({ value, text, disabled, icon, onClick }) => {
|
|
3671
|
-
const [isFocused, setIsFocused] = (
|
|
3621
|
+
const [isFocused, setIsFocused] = useState9(false);
|
|
3672
3622
|
const { value: contextValue, onChangeValue } = useCollectionContext();
|
|
3673
3623
|
const isSelected = contextValue === value;
|
|
3674
3624
|
const renderIcon = /* @__PURE__ */ __name(() => {
|
|
3675
3625
|
if (isSelected) {
|
|
3676
|
-
return /* @__PURE__ */ (
|
|
3626
|
+
return /* @__PURE__ */ jsx29(IconCheckMark3, { type: "brand-label-primary", thick: true });
|
|
3677
3627
|
}
|
|
3678
3628
|
if (icon) {
|
|
3679
|
-
return /* @__PURE__ */ (
|
|
3629
|
+
return /* @__PURE__ */ jsx29(icon.icon, { className: style_module_default14.icon, size: "xs", ...icon });
|
|
3680
3630
|
}
|
|
3681
3631
|
return null;
|
|
3682
3632
|
}, "renderIcon");
|
|
3683
|
-
return /* @__PURE__ */ (
|
|
3633
|
+
return /* @__PURE__ */ jsxs11(
|
|
3684
3634
|
"li",
|
|
3685
3635
|
{
|
|
3686
3636
|
className: style_module_default14.item,
|
|
@@ -3698,7 +3648,7 @@ var Item = /* @__PURE__ */ __name(({ value, text, disabled, icon, onClick }) =>
|
|
|
3698
3648
|
onChangeValue?.(value);
|
|
3699
3649
|
},
|
|
3700
3650
|
children: [
|
|
3701
|
-
/* @__PURE__ */ (
|
|
3651
|
+
/* @__PURE__ */ jsx29(Paragraph, { size: 3, type: "normal", weight: "medium", children: text }),
|
|
3702
3652
|
renderIcon()
|
|
3703
3653
|
]
|
|
3704
3654
|
}
|
|
@@ -3731,17 +3681,17 @@ var style_module_default15 = {
|
|
|
3731
3681
|
};
|
|
3732
3682
|
|
|
3733
3683
|
// src/components/Snackbar/index.tsx
|
|
3734
|
-
|
|
3735
|
-
|
|
3684
|
+
import { Toast as Toast2 } from "radix-ui";
|
|
3685
|
+
import { useRecoilValue as useRecoilValue2, useSetRecoilState as useSetRecoilState4 } from "recoil";
|
|
3736
3686
|
|
|
3737
3687
|
// src/hooks/useSnackbar.ts
|
|
3738
|
-
|
|
3739
|
-
var snackbarAtom = (
|
|
3688
|
+
import { atom as atom2, useSetRecoilState as useSetRecoilState3 } from "recoil";
|
|
3689
|
+
var snackbarAtom = atom2({
|
|
3740
3690
|
key: "snackbarAtom",
|
|
3741
3691
|
default: []
|
|
3742
3692
|
});
|
|
3743
3693
|
var useSnackbar = /* @__PURE__ */ __name(() => {
|
|
3744
|
-
const setSnackbar = (
|
|
3694
|
+
const setSnackbar = useSetRecoilState3(snackbarAtom);
|
|
3745
3695
|
return {
|
|
3746
3696
|
open: /* @__PURE__ */ __name((info) => {
|
|
3747
3697
|
const snackbarId = generateRandomId();
|
|
@@ -3756,41 +3706,41 @@ var style_module_default16 = {
|
|
|
3756
3706
|
};
|
|
3757
3707
|
|
|
3758
3708
|
// src/components/Snackbar/SnackbarIcon/index.tsx
|
|
3759
|
-
|
|
3709
|
+
import { jsx as jsx30 } from "react/jsx-runtime";
|
|
3760
3710
|
var SnackbarIcon = /* @__PURE__ */ __name((props) => {
|
|
3761
3711
|
const { icon } = props;
|
|
3762
3712
|
if (!icon) return null;
|
|
3763
|
-
return /* @__PURE__ */ (
|
|
3713
|
+
return /* @__PURE__ */ jsx30(icon.icon, { ...icon, size: "m", className: style_module_default16.container });
|
|
3764
3714
|
}, "SnackbarIcon");
|
|
3765
3715
|
|
|
3766
3716
|
// src/components/Snackbar/index.tsx
|
|
3767
|
-
|
|
3717
|
+
import { IconArrowForward } from "@liner-fe/icon";
|
|
3768
3718
|
|
|
3769
3719
|
// src/components/Snackbar/SnackbarTitle/index.tsx
|
|
3770
|
-
|
|
3771
|
-
var SnackbarTitle = /* @__PURE__ */ __name(({ title }) => /* @__PURE__ */ (
|
|
3720
|
+
import { jsx as jsx31 } from "react/jsx-runtime";
|
|
3721
|
+
var SnackbarTitle = /* @__PURE__ */ __name(({ title }) => /* @__PURE__ */ jsx31(Paragraph, { type: "normal", weight: "medium", size: 3, color: "inverse-label-static-primary", children: title }), "SnackbarTitle");
|
|
3772
3722
|
|
|
3773
3723
|
// src/components/Snackbar/SnackbarDescription/index.tsx
|
|
3774
|
-
|
|
3724
|
+
import { jsx as jsx32 } from "react/jsx-runtime";
|
|
3775
3725
|
var SnackbarDescription = /* @__PURE__ */ __name(({ description }) => {
|
|
3776
3726
|
if (!description) {
|
|
3777
3727
|
return null;
|
|
3778
3728
|
}
|
|
3779
|
-
return /* @__PURE__ */ (
|
|
3729
|
+
return /* @__PURE__ */ jsx32(Paragraph, { type: "normal", weight: "regular", size: 4, color: "inverse-label-static-secondary", children: description });
|
|
3780
3730
|
}, "SnackbarDescription");
|
|
3781
3731
|
|
|
3782
3732
|
// src/components/Snackbar/index.tsx
|
|
3783
|
-
|
|
3733
|
+
import clsx18 from "clsx";
|
|
3784
3734
|
|
|
3785
3735
|
// src/components/Snackbar/SnackbarClose/index.tsx
|
|
3786
|
-
|
|
3787
|
-
|
|
3736
|
+
import { IconCloseFill as IconCloseFill3 } from "@liner-fe/icon";
|
|
3737
|
+
import { jsx as jsx33 } from "react/jsx-runtime";
|
|
3788
3738
|
var SnackbarClose = /* @__PURE__ */ __name(({ onCloseSnackbar, className }) => {
|
|
3789
|
-
return /* @__PURE__ */ (
|
|
3739
|
+
return /* @__PURE__ */ jsx33("div", { className, children: /* @__PURE__ */ jsx33(
|
|
3790
3740
|
IconButton,
|
|
3791
3741
|
{
|
|
3792
3742
|
icon: {
|
|
3793
|
-
icon:
|
|
3743
|
+
icon: IconCloseFill3,
|
|
3794
3744
|
fill: true,
|
|
3795
3745
|
thick: true,
|
|
3796
3746
|
type: "neutral-label-static-secondary",
|
|
@@ -3811,16 +3761,16 @@ var style_module_default17 = {
|
|
|
3811
3761
|
};
|
|
3812
3762
|
|
|
3813
3763
|
// src/components/Snackbar/SnackbarButton/index.tsx
|
|
3814
|
-
|
|
3815
|
-
|
|
3764
|
+
import clsx17 from "clsx";
|
|
3765
|
+
import { jsx as jsx34, jsxs as jsxs12 } from "react/jsx-runtime";
|
|
3816
3766
|
var SnackbarButton = /* @__PURE__ */ __name(({
|
|
3817
3767
|
button,
|
|
3818
3768
|
containerStyle,
|
|
3819
3769
|
onCloseSnackbar
|
|
3820
3770
|
}) => {
|
|
3821
3771
|
if (button?.text || button?.basic) {
|
|
3822
|
-
return /* @__PURE__ */ (
|
|
3823
|
-
button?.text && /* @__PURE__ */ (
|
|
3772
|
+
return /* @__PURE__ */ jsxs12("div", { className: clsx17(style_module_default17.Container, containerStyle), children: [
|
|
3773
|
+
button?.text && /* @__PURE__ */ jsx34(
|
|
3824
3774
|
TextButton,
|
|
3825
3775
|
{
|
|
3826
3776
|
size: "s",
|
|
@@ -3834,7 +3784,7 @@ var SnackbarButton = /* @__PURE__ */ __name(({
|
|
|
3834
3784
|
children: button.text.text
|
|
3835
3785
|
}
|
|
3836
3786
|
),
|
|
3837
|
-
button?.basic && /* @__PURE__ */ (
|
|
3787
|
+
button?.basic && /* @__PURE__ */ jsx34(
|
|
3838
3788
|
Button,
|
|
3839
3789
|
{
|
|
3840
3790
|
size: "s",
|
|
@@ -3853,51 +3803,51 @@ var SnackbarButton = /* @__PURE__ */ __name(({
|
|
|
3853
3803
|
}, "SnackbarButton");
|
|
3854
3804
|
|
|
3855
3805
|
// src/components/Snackbar/index.tsx
|
|
3856
|
-
|
|
3857
|
-
|
|
3858
|
-
|
|
3859
|
-
require("react")
|
|
3860
|
-
);
|
|
3861
|
-
var { Provider: Provider2, Root: Root3, Viewport: Viewport2 } = import_radix_ui9.Toast;
|
|
3806
|
+
import { Fragment as Fragment9, jsx as jsx35, jsxs as jsxs13 } from "react/jsx-runtime";
|
|
3807
|
+
import { createElement as createElement3 } from "react";
|
|
3808
|
+
var { Provider: Provider2, Root: Root3, Viewport: Viewport2 } = Toast2;
|
|
3862
3809
|
var Snackbar = /* @__PURE__ */ __name(() => {
|
|
3863
|
-
const list = (
|
|
3810
|
+
const list = useRecoilValue2(snackbarAtom);
|
|
3864
3811
|
const rightSnackbars = list.filter((snackbar) => snackbar.position !== "left");
|
|
3865
3812
|
const leftSnackbars = list.filter((snackbar) => snackbar.position === "left");
|
|
3866
|
-
return /* @__PURE__ */ (
|
|
3867
|
-
/* @__PURE__ */ (
|
|
3868
|
-
rightSnackbars.map((props) =>
|
|
3869
|
-
|
|
3813
|
+
return /* @__PURE__ */ jsxs13(Fragment9, { children: [
|
|
3814
|
+
/* @__PURE__ */ jsxs13(Provider2, { children: [
|
|
3815
|
+
rightSnackbars.map((props) => (
|
|
3816
|
+
// eslint-disable-next-line react/prop-types
|
|
3817
|
+
/* @__PURE__ */ createElement3(SingleSnackbar, { ...props, key: props.snackbarId, position: "right" })
|
|
3818
|
+
)),
|
|
3819
|
+
/* @__PURE__ */ jsx35(Viewport2, { className: clsx18(style_module_default15.Viewport, style_module_default15.ViewportRight) })
|
|
3870
3820
|
] }),
|
|
3871
|
-
/* @__PURE__ */ (
|
|
3821
|
+
/* @__PURE__ */ jsxs13(Provider2, { children: [
|
|
3872
3822
|
leftSnackbars.map((props) => (
|
|
3873
3823
|
// eslint-disable-next-line react/prop-types
|
|
3874
|
-
/* @__PURE__ */ (
|
|
3824
|
+
/* @__PURE__ */ createElement3(SingleSnackbar, { ...props, key: props.snackbarId, position: "left" })
|
|
3875
3825
|
)),
|
|
3876
|
-
/* @__PURE__ */ (
|
|
3826
|
+
/* @__PURE__ */ jsx35(Viewport2, { className: clsx18(style_module_default15.Viewport, style_module_default15.ViewportLeft) })
|
|
3877
3827
|
] })
|
|
3878
3828
|
] });
|
|
3879
3829
|
}, "Snackbar");
|
|
3880
3830
|
var SingleSnackbar = /* @__PURE__ */ __name((props) => {
|
|
3881
|
-
const setSnackbar = (
|
|
3831
|
+
const setSnackbar = useSetRecoilState4(snackbarAtom);
|
|
3882
3832
|
const { snackbarId, description, title } = props;
|
|
3883
3833
|
const onCloseSnackbar = /* @__PURE__ */ __name(() => {
|
|
3884
3834
|
setSnackbar((prev) => prev.filter((snackbar) => snackbar.snackbarId !== snackbarId));
|
|
3885
3835
|
}, "onCloseSnackbar");
|
|
3886
3836
|
if (props.kind === "navigation") {
|
|
3887
|
-
return /* @__PURE__ */ (
|
|
3837
|
+
return /* @__PURE__ */ jsxs13(
|
|
3888
3838
|
Root3,
|
|
3889
3839
|
{
|
|
3890
3840
|
onSwipeEnd: onCloseSnackbar,
|
|
3891
|
-
className: (
|
|
3841
|
+
className: clsx18(style_module_default15.Root, style_module_default15.NavigationWrapper),
|
|
3892
3842
|
onClick: props.onClick,
|
|
3893
3843
|
open: true,
|
|
3894
3844
|
children: [
|
|
3895
|
-
/* @__PURE__ */ (
|
|
3896
|
-
/* @__PURE__ */ (
|
|
3897
|
-
/* @__PURE__ */ (
|
|
3845
|
+
/* @__PURE__ */ jsxs13("div", { className: clsx18(style_module_default15.Content, style_module_default15.MarginRight12), children: [
|
|
3846
|
+
/* @__PURE__ */ jsx35(SnackbarTitle, { title }),
|
|
3847
|
+
/* @__PURE__ */ jsx35(SnackbarDescription, { description })
|
|
3898
3848
|
] }),
|
|
3899
|
-
/* @__PURE__ */ (
|
|
3900
|
-
|
|
3849
|
+
/* @__PURE__ */ jsx35(
|
|
3850
|
+
IconArrowForward,
|
|
3901
3851
|
{
|
|
3902
3852
|
fill: true,
|
|
3903
3853
|
thick: true,
|
|
@@ -3906,24 +3856,24 @@ var SingleSnackbar = /* @__PURE__ */ __name((props) => {
|
|
|
3906
3856
|
size: description ? "l" : "m"
|
|
3907
3857
|
}
|
|
3908
3858
|
),
|
|
3909
|
-
/* @__PURE__ */ (
|
|
3859
|
+
/* @__PURE__ */ jsx35(SnackbarClose, { onCloseSnackbar, className: style_module_default15.CloseButton })
|
|
3910
3860
|
]
|
|
3911
3861
|
}
|
|
3912
3862
|
);
|
|
3913
3863
|
}
|
|
3914
3864
|
if (props.kind === "extended") {
|
|
3915
|
-
return /* @__PURE__ */ (
|
|
3865
|
+
return /* @__PURE__ */ jsxs13(
|
|
3916
3866
|
Root3,
|
|
3917
3867
|
{
|
|
3918
3868
|
onSwipeEnd: onCloseSnackbar,
|
|
3919
|
-
className: (
|
|
3869
|
+
className: clsx18(style_module_default15.Root, style_module_default15.gap300, style_module_default15.extendedContainer),
|
|
3920
3870
|
open: true,
|
|
3921
3871
|
children: [
|
|
3922
|
-
/* @__PURE__ */ (
|
|
3923
|
-
/* @__PURE__ */ (
|
|
3924
|
-
/* @__PURE__ */ (
|
|
3872
|
+
/* @__PURE__ */ jsxs13("div", { className: style_module_default15.Content, children: [
|
|
3873
|
+
/* @__PURE__ */ jsx35(SnackbarTitle, { title }),
|
|
3874
|
+
/* @__PURE__ */ jsx35(SnackbarDescription, { description })
|
|
3925
3875
|
] }),
|
|
3926
|
-
/* @__PURE__ */ (
|
|
3876
|
+
/* @__PURE__ */ jsx35(
|
|
3927
3877
|
SnackbarButton,
|
|
3928
3878
|
{
|
|
3929
3879
|
button: props.button,
|
|
@@ -3931,31 +3881,31 @@ var SingleSnackbar = /* @__PURE__ */ __name((props) => {
|
|
|
3931
3881
|
onCloseSnackbar
|
|
3932
3882
|
}
|
|
3933
3883
|
),
|
|
3934
|
-
/* @__PURE__ */ (
|
|
3884
|
+
/* @__PURE__ */ jsx35(SnackbarClose, { onCloseSnackbar, className: style_module_default15.CloseButton })
|
|
3935
3885
|
]
|
|
3936
3886
|
}
|
|
3937
3887
|
);
|
|
3938
3888
|
}
|
|
3939
|
-
return /* @__PURE__ */ (
|
|
3940
|
-
/* @__PURE__ */ (
|
|
3941
|
-
/* @__PURE__ */ (
|
|
3942
|
-
/* @__PURE__ */ (
|
|
3943
|
-
/* @__PURE__ */ (
|
|
3944
|
-
/* @__PURE__ */ (
|
|
3889
|
+
return /* @__PURE__ */ jsxs13(Root3, { onSwipeEnd: onCloseSnackbar, className: clsx18(style_module_default15.Root, style_module_default15.Wrapper), open: true, children: [
|
|
3890
|
+
/* @__PURE__ */ jsxs13("div", { className: style_module_default15.ContentWrapper, children: [
|
|
3891
|
+
/* @__PURE__ */ jsx35(SnackbarIcon, { icon: props.icon }),
|
|
3892
|
+
/* @__PURE__ */ jsxs13("div", { className: clsx18(style_module_default15.Content, style_module_default15.MarginRight12), children: [
|
|
3893
|
+
/* @__PURE__ */ jsx35(SnackbarTitle, { title }),
|
|
3894
|
+
/* @__PURE__ */ jsx35(SnackbarDescription, { description })
|
|
3945
3895
|
] })
|
|
3946
3896
|
] }),
|
|
3947
|
-
/* @__PURE__ */ (
|
|
3948
|
-
/* @__PURE__ */ (
|
|
3897
|
+
/* @__PURE__ */ jsx35(SnackbarButton, { button: props.button, onCloseSnackbar }),
|
|
3898
|
+
/* @__PURE__ */ jsx35(SnackbarClose, { onCloseSnackbar, className: style_module_default15.CloseButton })
|
|
3949
3899
|
] });
|
|
3950
3900
|
}, "SingleSnackbar");
|
|
3951
3901
|
|
|
3952
3902
|
// src/components/Logo/index.tsx
|
|
3953
|
-
|
|
3954
|
-
|
|
3903
|
+
import { vars } from "@liner-fe/design-token";
|
|
3904
|
+
import { jsx as jsx36, jsxs as jsxs14 } from "react/jsx-runtime";
|
|
3955
3905
|
var Logo = /* @__PURE__ */ __name((props) => {
|
|
3956
3906
|
if (props.type === "combination") {
|
|
3957
3907
|
const { width, height } = props;
|
|
3958
|
-
return /* @__PURE__ */ (
|
|
3908
|
+
return /* @__PURE__ */ jsxs14(
|
|
3959
3909
|
"svg",
|
|
3960
3910
|
{
|
|
3961
3911
|
width,
|
|
@@ -3965,65 +3915,65 @@ var Logo = /* @__PURE__ */ __name((props) => {
|
|
|
3965
3915
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3966
3916
|
className: props?.className,
|
|
3967
3917
|
children: [
|
|
3968
|
-
/* @__PURE__ */ (
|
|
3969
|
-
/* @__PURE__ */ (
|
|
3918
|
+
/* @__PURE__ */ jsxs14("g", { clipPath: "url(#clip0_808_3091)", children: [
|
|
3919
|
+
/* @__PURE__ */ jsx36(
|
|
3970
3920
|
"path",
|
|
3971
3921
|
{
|
|
3972
3922
|
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",
|
|
3973
|
-
fill:
|
|
3923
|
+
fill: vars.color["brand-label-secondary"]
|
|
3974
3924
|
}
|
|
3975
3925
|
),
|
|
3976
|
-
/* @__PURE__ */ (
|
|
3926
|
+
/* @__PURE__ */ jsx36(
|
|
3977
3927
|
"path",
|
|
3978
3928
|
{
|
|
3979
3929
|
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",
|
|
3980
|
-
fill:
|
|
3930
|
+
fill: vars.color["brand-label-secondary"]
|
|
3981
3931
|
}
|
|
3982
3932
|
),
|
|
3983
|
-
/* @__PURE__ */ (
|
|
3933
|
+
/* @__PURE__ */ jsx36(
|
|
3984
3934
|
"path",
|
|
3985
3935
|
{
|
|
3986
3936
|
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",
|
|
3987
|
-
fill:
|
|
3937
|
+
fill: vars.color["brand-label-secondary"]
|
|
3988
3938
|
}
|
|
3989
3939
|
),
|
|
3990
|
-
/* @__PURE__ */ (
|
|
3940
|
+
/* @__PURE__ */ jsx36(
|
|
3991
3941
|
"path",
|
|
3992
3942
|
{
|
|
3993
3943
|
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",
|
|
3994
|
-
fill:
|
|
3944
|
+
fill: vars.color["brand-label-secondary"]
|
|
3995
3945
|
}
|
|
3996
3946
|
),
|
|
3997
|
-
/* @__PURE__ */ (
|
|
3947
|
+
/* @__PURE__ */ jsx36(
|
|
3998
3948
|
"path",
|
|
3999
3949
|
{
|
|
4000
3950
|
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",
|
|
4001
|
-
fill:
|
|
3951
|
+
fill: vars.color["brand-label-secondary"]
|
|
4002
3952
|
}
|
|
4003
3953
|
),
|
|
4004
|
-
/* @__PURE__ */ (
|
|
3954
|
+
/* @__PURE__ */ jsx36(
|
|
4005
3955
|
"path",
|
|
4006
3956
|
{
|
|
4007
3957
|
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",
|
|
4008
|
-
fill:
|
|
3958
|
+
fill: vars.color["brand-label-secondary"]
|
|
4009
3959
|
}
|
|
4010
3960
|
),
|
|
4011
|
-
/* @__PURE__ */ (
|
|
3961
|
+
/* @__PURE__ */ jsx36(
|
|
4012
3962
|
"path",
|
|
4013
3963
|
{
|
|
4014
3964
|
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",
|
|
4015
|
-
fill:
|
|
3965
|
+
fill: vars.color["brand-label-secondary"]
|
|
4016
3966
|
}
|
|
4017
3967
|
)
|
|
4018
3968
|
] }),
|
|
4019
|
-
/* @__PURE__ */ (
|
|
3969
|
+
/* @__PURE__ */ jsx36("defs", { children: /* @__PURE__ */ jsx36("clipPath", { id: "clip0_808_3091", children: /* @__PURE__ */ jsx36("rect", { width: "139", height: "33", fill: "white", transform: "translate(0 2)" }) }) })
|
|
4020
3970
|
]
|
|
4021
3971
|
}
|
|
4022
3972
|
);
|
|
4023
3973
|
}
|
|
4024
3974
|
if (props.type === "circle") {
|
|
4025
3975
|
const { size: size4 } = props;
|
|
4026
|
-
return /* @__PURE__ */ (
|
|
3976
|
+
return /* @__PURE__ */ jsx36(
|
|
4027
3977
|
"svg",
|
|
4028
3978
|
{
|
|
4029
3979
|
width: size4,
|
|
@@ -4032,11 +3982,11 @@ var Logo = /* @__PURE__ */ __name((props) => {
|
|
|
4032
3982
|
fill: "none",
|
|
4033
3983
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4034
3984
|
className: props?.className,
|
|
4035
|
-
children: /* @__PURE__ */ (
|
|
3985
|
+
children: /* @__PURE__ */ jsx36(
|
|
4036
3986
|
"path",
|
|
4037
3987
|
{
|
|
4038
3988
|
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",
|
|
4039
|
-
fill:
|
|
3989
|
+
fill: vars.color["brand-label-secondary"]
|
|
4040
3990
|
}
|
|
4041
3991
|
)
|
|
4042
3992
|
}
|
|
@@ -4044,7 +3994,7 @@ var Logo = /* @__PURE__ */ __name((props) => {
|
|
|
4044
3994
|
}
|
|
4045
3995
|
if (props.type === "favicon") {
|
|
4046
3996
|
const { size: size4 } = props;
|
|
4047
|
-
return /* @__PURE__ */ (
|
|
3997
|
+
return /* @__PURE__ */ jsx36(
|
|
4048
3998
|
"svg",
|
|
4049
3999
|
{
|
|
4050
4000
|
width: size4,
|
|
@@ -4053,11 +4003,11 @@ var Logo = /* @__PURE__ */ __name((props) => {
|
|
|
4053
4003
|
fill: "none",
|
|
4054
4004
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4055
4005
|
className: props?.className,
|
|
4056
|
-
children: /* @__PURE__ */ (
|
|
4006
|
+
children: /* @__PURE__ */ jsx36(
|
|
4057
4007
|
"path",
|
|
4058
4008
|
{
|
|
4059
4009
|
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",
|
|
4060
|
-
fill:
|
|
4010
|
+
fill: vars.color["brand-label-secondary"]
|
|
4061
4011
|
}
|
|
4062
4012
|
)
|
|
4063
4013
|
}
|
|
@@ -4065,7 +4015,7 @@ var Logo = /* @__PURE__ */ __name((props) => {
|
|
|
4065
4015
|
}
|
|
4066
4016
|
if (props.type === "team") {
|
|
4067
4017
|
const { width, height } = props;
|
|
4068
|
-
return /* @__PURE__ */ (
|
|
4018
|
+
return /* @__PURE__ */ jsxs14(
|
|
4069
4019
|
"svg",
|
|
4070
4020
|
{
|
|
4071
4021
|
width,
|
|
@@ -4075,93 +4025,93 @@ var Logo = /* @__PURE__ */ __name((props) => {
|
|
|
4075
4025
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4076
4026
|
className: props?.className,
|
|
4077
4027
|
children: [
|
|
4078
|
-
/* @__PURE__ */ (
|
|
4079
|
-
/* @__PURE__ */ (
|
|
4028
|
+
/* @__PURE__ */ jsxs14("g", { clipPath: "url(#clip0_10863_99)", children: [
|
|
4029
|
+
/* @__PURE__ */ jsx36(
|
|
4080
4030
|
"path",
|
|
4081
4031
|
{
|
|
4082
4032
|
d: "M184.872 36.3336H114.674C112.782 36.3336 111.242 34.7471 111.242 32.7988V3.95789C111.242 2.00778 112.782 0.423096 114.674 0.423096H184.872C186.765 0.423096 188.304 2.00959 188.304 3.95789V32.7988C188.304 34.749 186.765 36.3336 184.872 36.3336ZM184.214 3.47489L115.334 3.4785C114.63 3.4785 114.061 4.04834 114.061 4.75204V32.0083C114.061 32.712 114.63 33.2818 115.334 33.2818L184.214 33.2782C184.918 33.2782 185.487 32.7084 185.487 32.0047V4.74662C185.487 4.04291 184.918 3.47308 184.214 3.47308V3.47489Z",
|
|
4083
|
-
fill:
|
|
4033
|
+
fill: vars.color["brand-label-secondary"]
|
|
4084
4034
|
}
|
|
4085
4035
|
),
|
|
4086
|
-
/* @__PURE__ */ (
|
|
4036
|
+
/* @__PURE__ */ jsx36(
|
|
4087
4037
|
"path",
|
|
4088
4038
|
{
|
|
4089
4039
|
d: "M29.083 7.86175C31.167 7.86175 32.8566 6.17214 32.8566 4.08817C32.8566 2.00419 31.1688 0.312775 29.083 0.312775C26.9972 0.312775 25.3076 2.00238 25.3076 4.08636C25.3076 6.17033 26.9972 7.85994 29.083 7.85994V7.86175Z",
|
|
4090
|
-
fill:
|
|
4040
|
+
fill: vars.color["brand-label-secondary"]
|
|
4091
4041
|
}
|
|
4092
4042
|
),
|
|
4093
|
-
/* @__PURE__ */ (
|
|
4043
|
+
/* @__PURE__ */ jsx36(
|
|
4094
4044
|
"path",
|
|
4095
4045
|
{
|
|
4096
4046
|
d: "M11.8055 30.2283H7.58688C7.30106 30.2283 7.06589 29.9931 7.06589 29.7073V7.48004C7.06589 4.44634 7.77321 2.31714 8.02466 1.65505C8.06446 1.54832 7.98667 1.43616 7.8727 1.43616H0.166346C0.0541876 1.43616 -0.0254086 1.54651 0.0125805 1.65324C0.253178 2.31714 0.933364 4.46081 0.933364 7.52346V27.0119C0.933364 30.4001 0.245942 32.6433 0.00896248 33.3199C-0.0272176 33.4248 0.0505696 33.5351 0.162728 33.5351H22.3683C22.4587 33.5351 22.5311 33.4628 22.5311 33.3723V27.1873C22.5311 27.0643 22.399 26.9847 22.2905 27.0444C21.1598 27.6667 16.2375 30.2283 11.8055 30.2283Z",
|
|
4097
|
-
fill:
|
|
4047
|
+
fill: vars.color["brand-label-secondary"]
|
|
4098
4048
|
}
|
|
4099
4049
|
),
|
|
4100
|
-
/* @__PURE__ */ (
|
|
4050
|
+
/* @__PURE__ */ jsx36(
|
|
4101
4051
|
"path",
|
|
4102
4052
|
{
|
|
4103
4053
|
d: "M53.8248 28.0104C53.8248 30.9917 53.2007 32.7591 52.8642 33.3669C52.8045 33.4754 52.8823 33.6075 53.0071 33.6075H60.4168C60.538 33.6075 60.6158 33.4809 60.5634 33.3723C60.2414 32.7193 59.5774 30.7547 59.5774 28.0484V19.1915C59.5774 16.2103 58.9063 13.9092 57.5658 12.2902C56.2217 10.6711 54.3132 9.85889 51.8385 9.85889C47.6199 9.85889 44.5699 13.1513 43.3073 15.4976C43.1716 15.749 42.7863 15.6513 42.7863 15.3619V10.7634C42.7863 10.6729 42.7139 10.6006 42.6235 10.6006H36.7804C36.661 10.6006 36.5814 10.7254 36.6338 10.8321C36.9432 11.4816 37.5745 13.4498 37.5745 16.1578V28.0086C37.5782 30.9899 36.954 32.7573 36.6194 33.3651C36.5597 33.4736 36.6393 33.6057 36.7623 33.6057H44.1774C44.2986 33.6057 44.3764 33.4809 44.3239 33.3723C44.0074 32.7211 43.3579 30.7547 43.3579 28.0466V21.2882C43.3579 20.3746 43.5298 19.4629 43.8861 18.6127C44.4035 17.3735 45.0656 16.3677 45.8688 15.5862C46.9705 14.4881 48.2549 13.9346 49.7166 13.9346C51.0878 13.9346 52.1207 14.3959 52.8063 15.3239C53.492 16.2501 53.8339 17.6123 53.8339 19.4068V28.0086H53.8266L53.8248 28.0104Z",
|
|
4104
|
-
fill:
|
|
4054
|
+
fill: vars.color["brand-label-secondary"]
|
|
4105
4055
|
}
|
|
4106
4056
|
),
|
|
4107
|
-
/* @__PURE__ */ (
|
|
4057
|
+
/* @__PURE__ */ jsx36(
|
|
4108
4058
|
"path",
|
|
4109
4059
|
{
|
|
4110
4060
|
d: "M25.7979 33.6076H33.2366C33.3559 33.6076 33.4355 33.4827 33.3831 33.3742C33.0683 32.723 32.4207 30.7566 32.4207 28.0485V10.7635C32.4207 10.673 32.3483 10.6006 32.2579 10.6006H25.8178C25.6984 10.6006 25.6188 10.7255 25.6713 10.834C25.9824 11.4834 26.6174 13.4516 26.6174 16.1597V28.0105C26.6174 30.9917 25.9915 32.7591 25.655 33.367C25.5953 33.4755 25.6749 33.6076 25.7979 33.6076Z",
|
|
4111
|
-
fill:
|
|
4061
|
+
fill: vars.color["brand-label-secondary"]
|
|
4112
4062
|
}
|
|
4113
4063
|
),
|
|
4114
|
-
/* @__PURE__ */ (
|
|
4064
|
+
/* @__PURE__ */ jsx36(
|
|
4115
4065
|
"path",
|
|
4116
4066
|
{
|
|
4117
4067
|
d: "M93.2845 15.5266C93.2845 15.8161 93.6427 15.9156 93.7747 15.6587C95.4082 12.5182 97.608 10.5826 100.265 10.5826L100.258 10.5862H102.802C102.892 10.5862 102.964 10.6586 102.964 10.749V15.5266C102.964 15.6171 102.892 15.6894 102.802 15.6894H98.7513C96.9007 15.6894 95.1731 16.6247 93.8091 18.1189C93.478 18.4825 93.2989 18.9456 93.2845 19.4214V28.0485C93.2845 30.7566 93.9303 32.723 94.2469 33.3743C94.2993 33.4828 94.2215 33.6076 94.1003 33.6076H86.6617C86.5387 33.6076 86.4591 33.4756 86.5188 33.367C86.8553 32.7592 87.4812 30.9918 87.4812 28.0106V16.1598C87.4812 13.4517 86.8444 11.4835 86.5351 10.8341C86.4826 10.7255 86.5622 10.6007 86.6816 10.6007H93.1217C93.2121 10.6007 93.2845 10.6731 93.2845 10.7635V15.5266Z",
|
|
4118
|
-
fill:
|
|
4068
|
+
fill: vars.color["brand-label-secondary"]
|
|
4119
4069
|
}
|
|
4120
4070
|
),
|
|
4121
|
-
/* @__PURE__ */ (
|
|
4071
|
+
/* @__PURE__ */ jsx36(
|
|
4122
4072
|
"path",
|
|
4123
4073
|
{
|
|
4124
4074
|
d: "M74.6377 34.1828C66.8916 34.1828 62.0923 29.7272 62.0923 21.8996C62.0923 14.5858 67.1774 9.80283 73.7332 9.80283C80.2891 9.80283 85.1372 14.3507 85.1372 22.5545H69.075C68.8688 22.5545 68.7024 22.7282 68.7132 22.9344C68.99 28.0123 71.1301 31.1834 75.3975 31.1834C78.9359 31.1834 82.3748 28.8263 82.9356 25.0256C82.9429 24.9822 82.979 24.9478 83.0243 24.9478H85.0359C85.092 24.9478 85.1336 24.9967 85.1263 25.0527C84.3304 30.6661 80.3071 34.1828 74.6395 34.1828H74.6359H74.6377ZM73.7821 12.8003C70.9727 12.8003 69.0588 15.0869 68.7693 19.0667C68.7548 19.2784 68.9195 19.4593 69.1311 19.4593H78.1164C78.3227 19.4593 78.4855 19.2874 78.4782 19.0812C78.3317 14.9675 76.5498 12.8022 73.7839 12.8022L73.7821 12.8003Z",
|
|
4125
|
-
fill:
|
|
4075
|
+
fill: vars.color["brand-label-secondary"]
|
|
4126
4076
|
}
|
|
4127
4077
|
),
|
|
4128
|
-
/* @__PURE__ */ (
|
|
4078
|
+
/* @__PURE__ */ jsx36(
|
|
4129
4079
|
"path",
|
|
4130
4080
|
{
|
|
4131
4081
|
d: "M124.721 24.5354V10.4903H122.598C120.02 10.4903 118.564 11.0058 117.835 12.0677H117.683V8.09332H135.369V12.0677H135.187C134.459 11.0058 133.032 10.4903 130.454 10.4903H128.33V24.5354C128.33 26.8111 128.573 27.9634 129.423 29.0253V29.1773H123.629V29.0253C124.479 28.0249 124.721 26.8418 124.721 24.5354Z",
|
|
4132
|
-
fill:
|
|
4082
|
+
fill: vars.color["brand-label-secondary"]
|
|
4133
4083
|
}
|
|
4134
4084
|
),
|
|
4135
|
-
/* @__PURE__ */ (
|
|
4085
|
+
/* @__PURE__ */ jsx36(
|
|
4136
4086
|
"path",
|
|
4137
4087
|
{
|
|
4138
4088
|
d: "M139.403 29.5716C135.125 29.5716 131.879 26.5379 131.879 21.867C131.879 17.681 134.913 14.4049 138.736 14.4049C142.254 14.4049 144.591 16.6499 144.591 20.503V21.7169H135.248C135.459 25.1142 137.431 26.8436 140.313 26.8436C141.738 26.8436 143.074 26.4185 144.347 25.5701L144.772 27.238C143.316 28.7847 141.527 29.5734 139.403 29.5734V29.5716ZM141.284 19.7722C141.254 17.6792 140.192 16.4346 138.493 16.4346C136.794 16.4346 135.642 17.6177 135.307 19.7722H141.284Z",
|
|
4139
|
-
fill:
|
|
4089
|
+
fill: vars.color["brand-label-secondary"]
|
|
4140
4090
|
}
|
|
4141
4091
|
),
|
|
4142
|
-
/* @__PURE__ */ (
|
|
4092
|
+
/* @__PURE__ */ jsx36(
|
|
4143
4093
|
"path",
|
|
4144
4094
|
{
|
|
4145
4095
|
d: "M180.877 25.628V19.7722C180.877 16.4654 178.996 14.4031 176.327 14.4031C174.417 14.4031 172.93 15.4035 171.928 17.2252H171.776C171.078 15.4053 169.652 14.4031 167.863 14.4031C166.074 14.4031 164.618 15.2823 163.677 16.8905H163.529L163.518 14.7776C163.518 14.7215 163.472 14.6745 163.415 14.6745H159.487C159.411 14.6745 159.362 14.7522 159.395 14.821C159.59 15.2298 160.106 16.469 160.106 18.1767V25.6425C160.106 27.5202 159.598 28.6345 159.386 29.0181C159.348 29.0868 159.399 29.17 159.476 29.17H164.145C164.221 29.17 164.27 29.0904 164.238 29.0235C164.039 28.6128 163.518 27.3737 163.518 25.6696V20.2335C163.518 20.2335 163.543 16.923 166.62 16.923C168.107 16.923 168.865 17.9849 168.865 19.926V25.6895C168.865 27.4189 168.713 28.1769 168.228 29.0271V29.1791H172.87V29.0271C172.355 28.2076 172.233 27.5112 172.233 25.6895V20.7147C172.233 18.4101 173.538 16.923 175.236 16.923C176.662 16.923 177.512 17.9234 177.512 19.9567V25.6298C177.512 27.4496 177.391 28.2076 176.875 29.0271V29.1791H181.517V29.0271C181.002 28.2076 180.881 27.4496 180.881 25.6298L180.877 25.628Z",
|
|
4146
|
-
fill:
|
|
4096
|
+
fill: vars.color["brand-label-secondary"]
|
|
4147
4097
|
}
|
|
4148
4098
|
),
|
|
4149
|
-
/* @__PURE__ */ (
|
|
4099
|
+
/* @__PURE__ */ jsx36(
|
|
4150
4100
|
"path",
|
|
4151
4101
|
{
|
|
4152
4102
|
d: "M158.172 29.0235C157.973 28.6146 157.454 27.3755 157.452 25.6732V19.9857C157.452 18.0446 156.906 16.6191 155.844 15.7382C154.782 14.859 153.416 14.4031 151.81 14.4031C149.869 14.4031 147.866 15.2533 146.379 16.4654L146.774 18.2255C148.23 17.3464 149.596 16.9212 150.9 16.9212C152.751 16.9212 154.116 17.8619 154.116 19.8337V20.7437L151.325 21.4419C147.897 22.3211 145.987 23.5042 145.987 25.8414C145.987 28.0557 147.685 29.5734 149.869 29.5734C151.522 29.5734 152.971 28.7666 153.916 27.1873C153.751 28.1497 153.465 28.7576 153.321 29.0217C153.283 29.0904 153.333 29.1736 153.411 29.1736H158.08C158.156 29.1736 158.205 29.094 158.172 29.0271V29.0235ZM151.112 27.115C150.14 27.115 149.413 26.509 149.413 25.4163C149.413 24.3237 150.233 23.7484 152.174 23.1406L154.115 22.5038V23.4753C154.115 25.8414 152.506 27.115 151.112 27.115Z",
|
|
4153
|
-
fill:
|
|
4103
|
+
fill: vars.color["brand-label-secondary"]
|
|
4154
4104
|
}
|
|
4155
4105
|
)
|
|
4156
4106
|
] }),
|
|
4157
|
-
/* @__PURE__ */ (
|
|
4107
|
+
/* @__PURE__ */ jsx36("defs", { children: /* @__PURE__ */ jsx36("clipPath", { id: "clip0_10863_99", children: /* @__PURE__ */ jsx36("rect", { width: "188.322", height: "35.8247", fill: "white", transform: "translate(0 0.305359)" }) }) })
|
|
4158
4108
|
]
|
|
4159
4109
|
}
|
|
4160
4110
|
);
|
|
4161
4111
|
}
|
|
4162
4112
|
if (props.type === "pro") {
|
|
4163
4113
|
const { width, height } = props;
|
|
4164
|
-
return /* @__PURE__ */ (
|
|
4114
|
+
return /* @__PURE__ */ jsxs14(
|
|
4165
4115
|
"svg",
|
|
4166
4116
|
{
|
|
4167
4117
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4171,78 +4121,78 @@ var Logo = /* @__PURE__ */ __name((props) => {
|
|
|
4171
4121
|
fill: "none",
|
|
4172
4122
|
className: props?.className,
|
|
4173
4123
|
children: [
|
|
4174
|
-
/* @__PURE__ */ (
|
|
4175
|
-
/* @__PURE__ */ (
|
|
4124
|
+
/* @__PURE__ */ jsxs14("g", { clipPath: "url(#clip0_10863_278)", children: [
|
|
4125
|
+
/* @__PURE__ */ jsx36(
|
|
4176
4126
|
"path",
|
|
4177
4127
|
{
|
|
4178
4128
|
d: "M160.028 35.9619H113.316C111.425 35.9619 109.886 34.3763 109.886 32.4292V3.60506C109.886 1.65609 111.425 0.0723267 113.316 0.0723267H160.028C161.919 0.0723267 163.458 1.6579 163.458 3.60506V32.4292C163.458 34.3782 161.919 35.9619 160.028 35.9619ZM159.37 3.12234L113.976 3.12595C113.273 3.12595 112.703 3.69546 112.703 4.39875V31.6391C112.703 32.3424 113.273 32.9119 113.976 32.9119L159.37 32.9083C160.073 32.9083 160.643 32.3388 160.643 31.6355V4.39332C160.643 3.69003 160.073 3.12053 159.37 3.12053V3.12234Z",
|
|
4179
4129
|
fill: "#14371B"
|
|
4180
4130
|
}
|
|
4181
4131
|
),
|
|
4182
|
-
/* @__PURE__ */ (
|
|
4132
|
+
/* @__PURE__ */ jsx36(
|
|
4183
4133
|
"path",
|
|
4184
4134
|
{
|
|
4185
4135
|
d: "M116.76 28.7484C116.686 28.7484 116.635 28.6761 116.659 28.6074C116.814 28.1626 117.264 26.6909 117.264 24.469V11.6832C117.264 9.67271 116.818 8.26613 116.66 7.83222C116.635 7.76352 116.688 7.68939 116.762 7.68939H123.504C125.928 7.68939 127.868 8.26432 129.352 9.38525C130.837 10.5062 131.565 12.052 131.565 14.0226C131.565 18.0526 128.262 20.4481 123.504 20.4481H120.896V21.1839V24.4672C120.896 26.6891 121.347 28.1626 121.502 28.6055C121.526 28.6743 121.475 28.7466 121.401 28.7466H119.902L116.76 28.7502V28.7484ZM120.896 18.1122H123.079C126.078 18.1122 127.776 16.7183 127.776 14.0208C127.776 11.3234 126.109 10.0506 123.079 10.0506H120.896V18.1122Z",
|
|
4186
4136
|
fill: "#14371B"
|
|
4187
4137
|
}
|
|
4188
4138
|
),
|
|
4189
|
-
/* @__PURE__ */ (
|
|
4139
|
+
/* @__PURE__ */ jsx36(
|
|
4190
4140
|
"path",
|
|
4191
4141
|
{
|
|
4192
4142
|
d: "M150.109 13.99C154.352 13.99 157.503 17.1105 157.503 21.5364C157.503 25.9622 154.352 29.1424 150.109 29.1424C145.866 29.1424 142.714 25.9604 142.714 21.5364C142.714 17.1123 145.866 13.99 150.109 13.99ZM150.109 16.2933C147.806 16.2933 146.35 18.264 146.35 21.5364C146.35 24.8088 147.775 26.8391 150.109 26.8391C152.443 26.8391 153.897 24.8088 153.897 21.5364C153.897 18.264 152.441 16.2933 150.109 16.2933Z",
|
|
4193
4143
|
fill: "#14371B"
|
|
4194
4144
|
}
|
|
4195
4145
|
),
|
|
4196
|
-
/* @__PURE__ */ (
|
|
4146
|
+
/* @__PURE__ */ jsx36(
|
|
4197
4147
|
"path",
|
|
4198
4148
|
{
|
|
4199
4149
|
d: "M136.72 17.4575C136.72 17.6383 136.944 17.6997 137.027 17.5406C138.047 15.579 139.421 14.3695 141.08 14.3695H141.077L142.664 14.3713C142.72 14.3713 142.765 14.4165 142.765 14.4726V17.4557C142.765 17.5117 142.72 17.5569 142.664 17.5569H140.135C138.98 17.5569 137.9 18.1409 137.049 19.0738C136.843 19.3016 136.73 19.5909 136.721 19.8874V25.2751C136.721 26.9655 137.239 28.1931 137.436 28.5999C137.468 28.6668 137.419 28.7463 137.343 28.7463H132.715C132.637 28.7463 132.588 28.6632 132.626 28.5963C132.836 28.2166 133.341 27.1119 133.341 25.2516V17.8516C133.341 16.1594 132.831 14.9318 132.637 14.525C132.605 14.4581 132.654 14.3804 132.729 14.3804H136.622C136.678 14.3804 136.723 14.4256 136.723 14.4816V17.4557L136.72 17.4575Z",
|
|
4200
4150
|
fill: "#14371B"
|
|
4201
4151
|
}
|
|
4202
4152
|
),
|
|
4203
|
-
/* @__PURE__ */ (
|
|
4153
|
+
/* @__PURE__ */ jsx36(
|
|
4204
4154
|
"path",
|
|
4205
4155
|
{
|
|
4206
4156
|
d: "M136.72 17.4575C136.72 17.6383 136.944 17.6997 137.027 17.5406C138.047 15.579 139.421 14.3695 141.08 14.3695H141.077L142.664 14.3713C142.72 14.3713 142.765 14.4165 142.765 14.4726V17.4557C142.765 17.5117 142.72 17.5569 142.664 17.5569H140.135C138.98 17.5569 137.9 18.1409 137.049 19.0738C136.843 19.3016 136.73 19.5909 136.721 19.8874V25.2751C136.721 26.9655 137.239 28.1931 137.436 28.5999C137.468 28.6668 137.419 28.7463 137.343 28.7463H132.715C132.637 28.7463 132.588 28.6632 132.626 28.5963C132.836 28.2166 133.341 27.1119 133.341 25.2516V17.8516C133.341 16.1594 132.831 14.9318 132.637 14.525C132.605 14.4581 132.654 14.3804 132.729 14.3804H136.622C136.678 14.3804 136.723 14.4256 136.723 14.4816V17.4557L136.72 17.4575Z",
|
|
4207
4157
|
fill: "#14371B"
|
|
4208
4158
|
}
|
|
4209
4159
|
),
|
|
4210
|
-
/* @__PURE__ */ (
|
|
4160
|
+
/* @__PURE__ */ jsx36(
|
|
4211
4161
|
"path",
|
|
4212
4162
|
{
|
|
4213
4163
|
d: "M11.7895 29.8268H7.57656C7.29107 29.8268 7.05573 29.5934 7.05573 29.306V7.11851C7.05573 4.08997 7.76174 1.96613 8.01252 1.30255C8.05303 1.19645 7.97394 1.08264 7.86013 1.08264H0.167245C0.0553629 1.08264 -0.023728 1.1926 0.0148521 1.29869C0.255978 1.96034 0.933062 4.10154 0.933062 7.15902V26.6131C0.933062 29.9946 0.248262 32.2361 0.00906532 32.9113C-0.0275858 33.0174 0.051507 33.1254 0.163389 33.1254H22.3296C22.4183 33.1254 22.4917 33.0521 22.4917 32.9634V26.7886C22.4917 26.6652 22.3605 26.5861 22.2525 26.6459C21.124 27.267 16.2089 29.8249 11.7857 29.8249V29.8287L11.7895 29.8268Z",
|
|
4214
4164
|
fill: "#14371B"
|
|
4215
4165
|
}
|
|
4216
4166
|
),
|
|
4217
|
-
/* @__PURE__ */ (
|
|
4167
|
+
/* @__PURE__ */ jsx36(
|
|
4218
4168
|
"path",
|
|
4219
4169
|
{
|
|
4220
4170
|
d: "M53.6435 27.6123C53.6435 30.5887 53.0204 32.3518 52.6848 32.9614C52.625 33.0694 52.7041 33.2006 52.8275 33.2006H60.2253C60.3449 33.2006 60.4259 33.0733 60.3719 32.9672C60.0497 32.3171 59.3862 30.3534 59.3862 27.6528V18.8102C59.3862 15.8338 58.7168 13.5363 57.38 11.9198C56.0374 10.3033 54.1315 9.4931 51.6624 9.4931C47.4514 9.4931 44.4055 12.7782 43.1458 15.1219C43.0089 15.3746 42.625 15.2763 42.625 14.985V10.394C42.625 10.3052 42.5517 10.2319 42.463 10.2319H36.6297C36.5101 10.2319 36.431 10.3554 36.4831 10.4634C36.7917 11.1115 37.4205 13.0753 37.4205 15.7817V27.6123C37.4244 30.5887 36.8013 32.3538 36.4657 32.9614C36.4059 33.0694 36.485 33.2025 36.6084 33.2025H44.01C44.1296 33.2025 44.2087 33.0772 44.1566 32.9691C43.8403 32.3191 43.1921 30.3553 43.1921 27.6528V20.9051C43.1921 19.9927 43.3638 19.0822 43.7188 18.2334C44.2338 16.9969 44.8955 15.99 45.6979 15.2126C46.7975 14.115 48.0802 13.5633 49.5386 13.5633C50.9082 13.5633 51.9383 14.0243 52.6211 14.9483C53.3059 15.8743 53.6474 17.2323 53.6474 19.0224V27.6103H53.6396L53.6435 27.6123Z",
|
|
4221
4171
|
fill: "#14371B"
|
|
4222
4172
|
}
|
|
4223
4173
|
),
|
|
4224
|
-
/* @__PURE__ */ (
|
|
4174
|
+
/* @__PURE__ */ jsx36(
|
|
4225
4175
|
"path",
|
|
4226
4176
|
{
|
|
4227
4177
|
d: "M25.7793 33.2006H33.2041C33.3237 33.2006 33.4028 33.0752 33.3507 32.9672C33.0363 32.3171 32.39 30.3553 32.39 27.6509V10.394C32.39 10.3052 32.3167 10.2319 32.228 10.2319H25.7986C25.679 10.2319 25.5999 10.3573 25.652 10.4634C25.9626 11.1116 26.5972 13.0753 26.5972 15.7817V27.6123C26.5972 30.5888 25.9703 32.3538 25.6366 32.9614C25.5768 33.0695 25.6559 33.2006 25.7793 33.2006Z",
|
|
4228
4178
|
fill: "#14371B"
|
|
4229
4179
|
}
|
|
4230
4180
|
),
|
|
4231
|
-
/* @__PURE__ */ (
|
|
4181
|
+
/* @__PURE__ */ jsx36(
|
|
4232
4182
|
"path",
|
|
4233
4183
|
{
|
|
4234
4184
|
d: "M29.0603 7.49662C31.1398 7.49662 32.8277 5.80874 32.8277 3.72927C32.8277 1.6498 31.1417 -0.0380859 29.0603 -0.0380859C26.9789 -0.0380859 25.293 1.6498 25.293 3.72927C25.293 5.80874 26.9809 7.49662 29.0603 7.49662Z",
|
|
4235
4185
|
fill: "#14371B"
|
|
4236
4186
|
}
|
|
4237
4187
|
),
|
|
4238
|
-
/* @__PURE__ */ (
|
|
4188
|
+
/* @__PURE__ */ jsx36(
|
|
4239
4189
|
"path",
|
|
4240
4190
|
{
|
|
4241
4191
|
d: "M93.4794 15.149C93.4794 15.4384 93.8363 15.5367 93.9694 15.2821C95.5994 12.1455 97.7965 10.2146 100.451 10.2146L100.445 10.2185H102.984C103.072 10.2185 103.146 10.2918 103.146 10.3805V15.149C103.146 15.2377 103.072 15.311 102.984 15.311H98.9404C97.0944 15.311 95.3679 16.2466 94.006 17.7377C93.6762 18.1004 93.4987 18.5633 93.4814 19.0398V27.6528C93.4814 30.3554 94.1276 32.3191 94.442 32.9692C94.4941 33.0791 94.415 33.2026 94.2954 33.2026H86.8706C86.7472 33.2026 86.6681 33.0714 86.7279 32.9615C87.0635 32.3538 87.6885 30.5888 87.6885 27.6143V15.7836C87.6885 13.0811 87.0539 11.1154 86.7433 10.4654C86.6912 10.3573 86.7703 10.2339 86.8899 10.2339H93.3193C93.408 10.2339 93.4814 10.3072 93.4814 10.3959V15.1529L93.4794 15.149Z",
|
|
4242
4192
|
fill: "#14371B"
|
|
4243
4193
|
}
|
|
4244
4194
|
),
|
|
4245
|
-
/* @__PURE__ */ (
|
|
4195
|
+
/* @__PURE__ */ jsx36(
|
|
4246
4196
|
"path",
|
|
4247
4197
|
{
|
|
4248
4198
|
d: "M75.351 30.7797C71.0339 30.7797 68.8965 27.5274 68.667 22.3365C68.6612 22.2439 68.7364 22.1667 68.829 22.1667H84.9073C84.998 22.1667 85.0713 22.0915 85.0713 22.0008C85.0057 13.9144 80.189 9.43719 73.6863 9.43719C67.1836 9.43719 62.0659 14.2134 62.0659 21.5128C62.0659 29.3272 66.8557 33.7755 74.589 33.7755H74.5929C79.861 33.7755 83.7055 30.7277 84.8514 25.7836C84.8745 25.6814 84.7954 25.5849 84.6932 25.5849H82.7854C82.714 25.5849 82.6523 25.6312 82.6311 25.6987C81.6454 28.8604 78.5396 30.7797 75.351 30.7797ZM73.7364 12.4291C76.5431 12.4291 78.3371 14.6629 78.4297 18.9086C78.4297 18.9993 78.3583 19.0764 78.2657 19.0764H68.8811C68.7885 19.0764 68.7114 18.9974 68.7191 18.9048C68.9525 14.7979 70.8815 12.431 73.7383 12.431L73.7364 12.4291Z",
|
|
@@ -4250,14 +4200,14 @@ var Logo = /* @__PURE__ */ __name((props) => {
|
|
|
4250
4200
|
}
|
|
4251
4201
|
)
|
|
4252
4202
|
] }),
|
|
4253
|
-
/* @__PURE__ */ (
|
|
4203
|
+
/* @__PURE__ */ jsx36("defs", { children: /* @__PURE__ */ jsx36("clipPath", { id: "clip0_10863_278", children: /* @__PURE__ */ jsx36("rect", { width: "163.522", height: "36", fill: "white", transform: "translate(0 -0.0380859)" }) }) })
|
|
4254
4204
|
]
|
|
4255
4205
|
}
|
|
4256
4206
|
);
|
|
4257
4207
|
}
|
|
4258
4208
|
if (props.type === "max") {
|
|
4259
4209
|
const { width, height } = props;
|
|
4260
|
-
return /* @__PURE__ */ (
|
|
4210
|
+
return /* @__PURE__ */ jsxs14(
|
|
4261
4211
|
"svg",
|
|
4262
4212
|
{
|
|
4263
4213
|
width,
|
|
@@ -4267,71 +4217,71 @@ var Logo = /* @__PURE__ */ __name((props) => {
|
|
|
4267
4217
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4268
4218
|
className: props?.className,
|
|
4269
4219
|
children: [
|
|
4270
|
-
/* @__PURE__ */ (
|
|
4271
|
-
/* @__PURE__ */ (
|
|
4220
|
+
/* @__PURE__ */ jsxs14("g", { clipPath: "url(#clip0_10975_91)", children: [
|
|
4221
|
+
/* @__PURE__ */ jsx36(
|
|
4272
4222
|
"path",
|
|
4273
4223
|
{
|
|
4274
4224
|
d: "M172.338 36H113.318C111.426 36 109.888 34.4145 109.888 32.4672V3.64313C109.888 1.69387 111.426 0.110352 113.318 0.110352H172.338C174.23 0.110352 175.768 1.69591 175.768 3.64313V32.4672C175.768 34.4165 174.23 36 172.338 36ZM171.68 3.16092L113.978 3.16501C113.275 3.16501 112.705 3.73507 112.705 4.43795V31.6785C112.705 32.3814 113.275 32.9515 113.978 32.9515L171.68 32.9474C172.382 32.9474 172.953 32.3773 172.953 31.6745V4.43182C172.953 3.72895 172.382 3.15888 171.68 3.15888V3.16092Z",
|
|
4275
4225
|
fill: "#14371B"
|
|
4276
4226
|
}
|
|
4277
4227
|
),
|
|
4278
|
-
/* @__PURE__ */ (
|
|
4228
|
+
/* @__PURE__ */ jsx36(
|
|
4279
4229
|
"path",
|
|
4280
4230
|
{
|
|
4281
4231
|
d: "M11.7895 29.8662H7.57629C7.29024 29.8662 7.05526 29.6333 7.05526 29.3452V7.15752C7.05526 4.12943 7.76223 2.00445 8.0115 1.34244C8.05237 1.23619 7.97268 1.12177 7.85826 1.12177H0.167469C0.0550904 1.12177 -0.0225531 1.2321 0.0142254 1.33835C0.255329 2.00036 0.931644 4.14169 0.931644 7.19839V26.6522C0.931644 30.0337 0.247156 32.2752 0.00809567 32.9494C-0.0286828 33.0557 0.0510039 33.164 0.163383 33.164H22.3306C22.4184 33.164 22.492 33.0904 22.492 33.0026V26.8279C22.492 26.7053 22.3612 26.6256 22.2529 26.6849C21.1251 27.306 16.209 29.8641 11.7854 29.8641V29.8682H11.7895V29.8662Z",
|
|
4282
4232
|
fill: "#14371B"
|
|
4283
4233
|
}
|
|
4284
4234
|
),
|
|
4285
|
-
/* @__PURE__ */ (
|
|
4235
|
+
/* @__PURE__ */ jsx36(
|
|
4286
4236
|
"path",
|
|
4287
4237
|
{
|
|
4288
4238
|
d: "M53.6435 27.6513C53.6435 30.6283 53.0203 32.3917 52.6852 33.0006C52.6259 33.1088 52.7036 33.2396 52.8282 33.2396H60.2268C60.3474 33.2396 60.4271 33.1129 60.3739 33.0067C60.0511 32.3569 59.3891 30.3934 59.3891 27.6922V18.849C59.3891 15.872 58.7189 13.5754 57.3826 11.9592C56.0402 10.343 54.1339 9.5318 51.6656 9.5318C47.4545 9.5318 44.408 12.8173 43.1493 15.1609C43.0124 15.4143 42.6283 15.3162 42.6283 15.0241V10.4329C42.6283 10.345 42.5548 10.2715 42.4669 10.2715H36.6334C36.5129 10.2715 36.4352 10.3941 36.4863 10.5023C36.7948 11.1501 37.4242 13.1136 37.4242 15.8209V27.6513C37.4283 30.6283 36.8051 32.3937 36.47 33.0006C36.4107 33.1088 36.4884 33.2417 36.613 33.2417H44.0157C44.1342 33.2417 44.2139 33.117 44.1628 33.0087C43.8461 32.359 43.1984 30.3954 43.1984 27.6922V20.9433C43.1984 20.03 43.37 19.1208 43.7255 18.2708C44.2404 17.0346 44.9025 16.0273 45.7055 15.2509C46.8047 14.1536 48.0879 13.602 49.5468 13.602C50.9157 13.602 51.9455 14.0637 52.63 14.9873C53.3145 15.9129 53.6557 17.2716 53.6557 19.0615V27.6493H53.6476H53.6516L53.6435 27.6513Z",
|
|
4289
4239
|
fill: "#14371B"
|
|
4290
4240
|
}
|
|
4291
4241
|
),
|
|
4292
|
-
/* @__PURE__ */ (
|
|
4242
|
+
/* @__PURE__ */ jsx36(
|
|
4293
4243
|
"path",
|
|
4294
4244
|
{
|
|
4295
4245
|
d: "M25.7796 33.2396H33.2048C33.3233 33.2396 33.403 33.1149 33.3519 33.0066C33.0373 32.3569 32.3916 30.3954 32.3916 27.6901V10.4328C32.3916 10.345 32.318 10.2714 32.2302 10.2714H25.8001C25.6816 10.2714 25.6019 10.3961 25.653 10.5023C25.9635 11.15 26.599 13.1136 26.599 15.8209V27.6513C26.599 30.6283 25.9717 32.3937 25.6387 33.0005C25.5794 33.1088 25.6591 33.2396 25.7817 33.2396H25.7796Z",
|
|
4296
4246
|
fill: "#14371B"
|
|
4297
4247
|
}
|
|
4298
4248
|
),
|
|
4299
|
-
/* @__PURE__ */ (
|
|
4249
|
+
/* @__PURE__ */ jsx36(
|
|
4300
4250
|
"path",
|
|
4301
4251
|
{
|
|
4302
4252
|
d: "M29.0612 7.5355C31.1412 7.5355 32.829 5.84778 32.829 3.76775C32.829 1.68772 31.1412 0 29.0612 0C26.9812 0 25.2935 1.68772 25.2935 3.76775C25.2935 5.84778 26.9812 7.5355 29.0612 7.5355Z",
|
|
4303
4253
|
fill: "#14371B"
|
|
4304
4254
|
}
|
|
4305
4255
|
),
|
|
4306
|
-
/* @__PURE__ */ (
|
|
4256
|
+
/* @__PURE__ */ jsx36(
|
|
4307
4257
|
"path",
|
|
4308
4258
|
{
|
|
4309
4259
|
d: "M93.4806 15.1875C93.4806 15.4776 93.8381 15.5757 93.9709 15.3203C95.6014 12.1839 97.7979 10.2531 100.452 10.2531L100.446 10.2571H102.984C103.072 10.2571 103.145 10.3307 103.145 10.4186V15.1875C103.145 15.2754 103.072 15.3489 102.984 15.3489H98.9401C97.093 15.3489 95.3665 16.2847 94.0057 17.7763C93.6767 18.14 93.4989 18.6018 93.4806 19.0778V27.6901C93.4806 30.3934 94.1262 32.3569 94.4409 33.0067C94.494 33.117 94.4143 33.2396 94.2938 33.2396H86.8686C86.746 33.2396 86.6663 33.1088 86.7256 32.9985C87.0607 32.3917 87.6859 30.6263 87.6859 27.6513V15.8209C87.6859 13.1177 87.0504 11.1521 86.7399 10.5023C86.6867 10.394 86.7664 10.2714 86.887 10.2714H93.3171C93.4049 10.2714 93.4785 10.345 93.4785 10.4329V15.1895V15.1855L93.4806 15.1875Z",
|
|
4310
4260
|
fill: "#14371B"
|
|
4311
4261
|
}
|
|
4312
4262
|
),
|
|
4313
|
-
/* @__PURE__ */ (
|
|
4263
|
+
/* @__PURE__ */ jsx36(
|
|
4314
4264
|
"path",
|
|
4315
4265
|
{
|
|
4316
4266
|
d: "M75.3506 30.8184C71.0332 30.8184 68.896 27.5655 68.6672 22.3757C68.661 22.2837 68.7366 22.2061 68.8286 22.2061H84.9069C84.9968 22.2061 85.0704 22.1305 85.0704 22.0406C85.005 13.9534 80.189 9.47662 73.6854 9.47662C67.1817 9.47662 62.0654 14.2537 62.0654 21.5522C62.0654 29.3677 66.8548 33.8158 74.5885 33.8158H74.5926C79.8601 33.8158 83.7055 30.7673 84.8517 25.8247C84.8742 25.7225 84.7966 25.6265 84.6944 25.6265H82.786C82.7145 25.6265 82.6532 25.6735 82.6307 25.7409C81.6459 28.9018 78.5401 30.8224 75.3506 30.8224V30.8184ZM73.7365 12.4679C76.5439 12.4679 78.3379 14.7012 78.4298 18.9471C78.4298 19.037 78.3583 19.1146 78.2663 19.1146H68.8817C68.7898 19.1146 68.7121 19.0349 68.7203 18.943C68.9532 14.8361 70.882 12.47 73.7406 12.47H73.7385L73.7365 12.4679Z",
|
|
4317
4267
|
fill: "#14371B"
|
|
4318
4268
|
}
|
|
4319
4269
|
),
|
|
4320
|
-
/* @__PURE__ */ (
|
|
4270
|
+
/* @__PURE__ */ jsx36(
|
|
4321
4271
|
"path",
|
|
4322
4272
|
{
|
|
4323
4273
|
d: "M154.224 28.1846C154.028 27.78 153.515 26.5561 153.513 24.8745V19.2556C153.513 17.339 152.974 15.9292 151.926 15.0608C150.877 14.1924 149.527 13.7429 147.941 13.7429C146.025 13.7429 144.045 14.5827 142.576 15.78L142.966 17.5188C144.404 16.6505 145.753 16.2296 147.042 16.2296C148.871 16.2296 150.219 17.1592 150.219 19.1064V20.0055L147.463 20.6961C144.077 21.5645 142.189 22.7332 142.189 25.0421C142.189 27.2284 143.867 28.7281 146.025 28.7281C147.657 28.7281 149.089 27.9312 150.021 26.3702C149.858 27.3203 149.576 27.921 149.433 28.1826C149.396 28.25 149.445 28.3317 149.523 28.3317H154.134C154.21 28.3317 154.257 28.2541 154.224 28.1866V28.1826V28.1846ZM147.251 26.3007C146.29 26.3007 145.573 25.7021 145.573 24.6232C145.573 23.5444 146.382 22.9764 148.301 22.3756L150.217 21.7463V22.7067C150.217 25.0441 148.628 26.3028 147.251 26.3028V26.3007Z",
|
|
4324
4274
|
fill: "#14371B"
|
|
4325
4275
|
}
|
|
4326
4276
|
),
|
|
4327
|
-
/* @__PURE__ */ (
|
|
4277
|
+
/* @__PURE__ */ jsx36(
|
|
4328
4278
|
"path",
|
|
4329
4279
|
{
|
|
4330
4280
|
d: "M120.468 11.1786H120.317V23.5893C120.317 25.9084 120.527 27.1732 121.22 28.1682V28.3194H116.702V28.1682C117.395 27.2038 117.605 25.9084 117.605 23.5893V11.9305C117.605 9.6707 117.425 8.49583 116.702 7.53346V7.38226H122.666L128.962 23.8897H129.113L135.318 7.38226H141.011V7.53346C140.287 8.52853 140.077 9.732 140.077 11.9305V23.6792C140.077 25.9983 140.287 27.1139 141.011 28.1682V28.3194H135.619V28.1682C136.373 27.1139 136.552 25.9983 136.552 23.6792V11.3278H136.401L130.016 28.3174H127.004L120.468 11.1766V11.1786Z",
|
|
4331
4281
|
fill: "#14371B"
|
|
4332
4282
|
}
|
|
4333
4283
|
),
|
|
4334
|
-
/* @__PURE__ */ (
|
|
4284
|
+
/* @__PURE__ */ jsx36(
|
|
4335
4285
|
"path",
|
|
4336
4286
|
{
|
|
4337
4287
|
d: "M157.569 17.2634C156.515 15.7882 155.943 15.0036 155.009 14.1904V14.0392H160.219V14.1597C160.219 15.1242 160.52 15.968 161.335 17.1715L162.389 18.8286H162.51L163.654 17.1715C164.467 15.966 164.618 15.304 164.618 14.1291V14.0392H168.987V14.1904C168.022 14.9443 167.42 15.6963 166.245 17.3533L163.926 20.6368L166.909 24.9154C168.024 26.5112 168.656 27.2958 169.53 28.1683V28.3195H164.349V28.1989C164.349 27.2345 164.048 26.3906 163.233 25.1565L161.907 23.0785H161.756L160.34 25.1279C159.526 26.3334 159.345 27.116 159.345 28.2009V28.3215H155.007V28.1703C155.971 27.2958 156.633 26.4826 157.749 24.8868L160.34 21.2416L157.569 17.2655V17.2634Z",
|
|
@@ -4339,25 +4289,25 @@ var Logo = /* @__PURE__ */ __name((props) => {
|
|
|
4339
4289
|
}
|
|
4340
4290
|
)
|
|
4341
4291
|
] }),
|
|
4342
|
-
/* @__PURE__ */ (
|
|
4292
|
+
/* @__PURE__ */ jsx36("defs", { children: /* @__PURE__ */ jsx36("clipPath", { id: "clip0_10975_91", children: /* @__PURE__ */ jsx36("rect", { width: "175.766", height: "36", fill: "white" }) }) })
|
|
4343
4293
|
]
|
|
4344
4294
|
}
|
|
4345
4295
|
);
|
|
4346
4296
|
}
|
|
4347
|
-
return /* @__PURE__ */ (
|
|
4297
|
+
return /* @__PURE__ */ jsx36("svg", { width: 48, height: 48, viewBox: "0 0 48 48", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ jsx36(
|
|
4348
4298
|
"path",
|
|
4349
4299
|
{
|
|
4350
4300
|
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",
|
|
4351
|
-
fill:
|
|
4301
|
+
fill: vars.color["brand-label-secondary"]
|
|
4352
4302
|
}
|
|
4353
4303
|
) });
|
|
4354
4304
|
}, "Logo");
|
|
4355
4305
|
|
|
4356
4306
|
// ../../node_modules/@radix-ui/react-popover/dist/index.mjs
|
|
4357
|
-
|
|
4307
|
+
import * as React35 from "react";
|
|
4358
4308
|
|
|
4359
4309
|
// ../../node_modules/@radix-ui/react-focus-guards/dist/index.mjs
|
|
4360
|
-
|
|
4310
|
+
import * as React18 from "react";
|
|
4361
4311
|
var count = 0;
|
|
4362
4312
|
function useFocusGuards() {
|
|
4363
4313
|
React18.useEffect(() => {
|
|
@@ -4387,8 +4337,8 @@ function createFocusGuard() {
|
|
|
4387
4337
|
__name(createFocusGuard, "createFocusGuard");
|
|
4388
4338
|
|
|
4389
4339
|
// ../../node_modules/@radix-ui/react-focus-scope/dist/index.mjs
|
|
4390
|
-
|
|
4391
|
-
|
|
4340
|
+
import * as React19 from "react";
|
|
4341
|
+
import { jsx as jsx37 } from "react/jsx-runtime";
|
|
4392
4342
|
var AUTOFOCUS_ON_MOUNT = "focusScope.autoFocusOnMount";
|
|
4393
4343
|
var AUTOFOCUS_ON_UNMOUNT = "focusScope.autoFocusOnUnmount";
|
|
4394
4344
|
var EVENT_OPTIONS = { bubbles: false, cancelable: true };
|
|
@@ -4507,7 +4457,7 @@ var FocusScope = React19.forwardRef((props, forwardedRef) => {
|
|
|
4507
4457
|
},
|
|
4508
4458
|
[loop, trapped, focusScope.paused]
|
|
4509
4459
|
);
|
|
4510
|
-
return /* @__PURE__ */ (
|
|
4460
|
+
return /* @__PURE__ */ jsx37(Primitive.div, { tabIndex: -1, ...scopeProps, ref: composedRefs, onKeyDown: handleKeyDown });
|
|
4511
4461
|
});
|
|
4512
4462
|
FocusScope.displayName = FOCUS_SCOPE_NAME;
|
|
4513
4463
|
function focusFirst2(candidates, { select = false } = {}) {
|
|
@@ -4601,7 +4551,7 @@ function removeLinks(items) {
|
|
|
4601
4551
|
__name(removeLinks, "removeLinks");
|
|
4602
4552
|
|
|
4603
4553
|
// ../../node_modules/@radix-ui/react-id/dist/index.mjs
|
|
4604
|
-
|
|
4554
|
+
import * as React20 from "react";
|
|
4605
4555
|
var useReactId = React20[" useId ".trim().toString()] || (() => void 0);
|
|
4606
4556
|
var count2 = 0;
|
|
4607
4557
|
function useId2(deterministicId) {
|
|
@@ -4614,7 +4564,7 @@ function useId2(deterministicId) {
|
|
|
4614
4564
|
__name(useId2, "useId");
|
|
4615
4565
|
|
|
4616
4566
|
// ../../node_modules/@radix-ui/react-popper/dist/index.mjs
|
|
4617
|
-
|
|
4567
|
+
import * as React27 from "react";
|
|
4618
4568
|
|
|
4619
4569
|
// ../../node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs
|
|
4620
4570
|
var sides = ["top", "right", "bottom", "left"];
|
|
@@ -6084,17 +6034,17 @@ function observeMove(element, onMove) {
|
|
|
6084
6034
|
};
|
|
6085
6035
|
let isFirstUpdate = true;
|
|
6086
6036
|
function handleObserve(entries) {
|
|
6087
|
-
const
|
|
6088
|
-
if (
|
|
6037
|
+
const ratio = entries[0].intersectionRatio;
|
|
6038
|
+
if (ratio !== threshold) {
|
|
6089
6039
|
if (!isFirstUpdate) {
|
|
6090
6040
|
return refresh();
|
|
6091
6041
|
}
|
|
6092
|
-
if (!
|
|
6042
|
+
if (!ratio) {
|
|
6093
6043
|
timeoutId = setTimeout(() => {
|
|
6094
6044
|
refresh(false, 1e-7);
|
|
6095
6045
|
}, 1e3);
|
|
6096
6046
|
} else {
|
|
6097
|
-
refresh(false,
|
|
6047
|
+
refresh(false, ratio);
|
|
6098
6048
|
}
|
|
6099
6049
|
}
|
|
6100
6050
|
isFirstUpdate = false;
|
|
@@ -6210,10 +6160,10 @@ var computePosition2 = /* @__PURE__ */ __name((reference, floating, options) =>
|
|
|
6210
6160
|
}, "computePosition");
|
|
6211
6161
|
|
|
6212
6162
|
// ../../node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.mjs
|
|
6213
|
-
|
|
6214
|
-
|
|
6215
|
-
|
|
6216
|
-
var index = typeof document !== "undefined" ?
|
|
6163
|
+
import * as React21 from "react";
|
|
6164
|
+
import { useLayoutEffect as useLayoutEffect3, useEffect as useEffect12 } from "react";
|
|
6165
|
+
import * as ReactDOM4 from "react-dom";
|
|
6166
|
+
var index = typeof document !== "undefined" ? useLayoutEffect3 : useEffect12;
|
|
6217
6167
|
function deepEqual(a, b) {
|
|
6218
6168
|
if (a === b) {
|
|
6219
6169
|
return true;
|
|
@@ -6492,12 +6442,12 @@ var arrow3 = /* @__PURE__ */ __name((options, deps) => ({
|
|
|
6492
6442
|
}), "arrow");
|
|
6493
6443
|
|
|
6494
6444
|
// ../../node_modules/@radix-ui/react-arrow/dist/index.mjs
|
|
6495
|
-
|
|
6496
|
-
|
|
6445
|
+
import * as React25 from "react";
|
|
6446
|
+
import { jsx as jsx38 } from "react/jsx-runtime";
|
|
6497
6447
|
var NAME2 = "Arrow";
|
|
6498
6448
|
var Arrow = React25.forwardRef((props, forwardedRef) => {
|
|
6499
6449
|
const { children, width = 10, height = 5, ...arrowProps } = props;
|
|
6500
|
-
return /* @__PURE__ */ (
|
|
6450
|
+
return /* @__PURE__ */ jsx38(
|
|
6501
6451
|
Primitive.svg,
|
|
6502
6452
|
{
|
|
6503
6453
|
...arrowProps,
|
|
@@ -6506,7 +6456,7 @@ var Arrow = React25.forwardRef((props, forwardedRef) => {
|
|
|
6506
6456
|
height,
|
|
6507
6457
|
viewBox: "0 0 30 10",
|
|
6508
6458
|
preserveAspectRatio: "none",
|
|
6509
|
-
children: props.asChild ? children : /* @__PURE__ */ (
|
|
6459
|
+
children: props.asChild ? children : /* @__PURE__ */ jsx38("polygon", { points: "0,0 30,0 15,10" })
|
|
6510
6460
|
}
|
|
6511
6461
|
);
|
|
6512
6462
|
});
|
|
@@ -6514,7 +6464,7 @@ Arrow.displayName = NAME2;
|
|
|
6514
6464
|
var Root4 = Arrow;
|
|
6515
6465
|
|
|
6516
6466
|
// ../../node_modules/@radix-ui/react-use-size/dist/index.mjs
|
|
6517
|
-
|
|
6467
|
+
import * as React26 from "react";
|
|
6518
6468
|
function useSize(element) {
|
|
6519
6469
|
const [size4, setSize] = React26.useState(void 0);
|
|
6520
6470
|
useLayoutEffect2(() => {
|
|
@@ -6552,14 +6502,14 @@ function useSize(element) {
|
|
|
6552
6502
|
__name(useSize, "useSize");
|
|
6553
6503
|
|
|
6554
6504
|
// ../../node_modules/@radix-ui/react-popper/dist/index.mjs
|
|
6555
|
-
|
|
6505
|
+
import { jsx as jsx39 } from "react/jsx-runtime";
|
|
6556
6506
|
var POPPER_NAME = "Popper";
|
|
6557
6507
|
var [createPopperContext, createPopperScope] = createContextScope(POPPER_NAME);
|
|
6558
6508
|
var [PopperProvider, usePopperContext] = createPopperContext(POPPER_NAME);
|
|
6559
6509
|
var Popper = /* @__PURE__ */ __name((props) => {
|
|
6560
6510
|
const { __scopePopper, children } = props;
|
|
6561
6511
|
const [anchor, setAnchor] = React27.useState(null);
|
|
6562
|
-
return /* @__PURE__ */ (
|
|
6512
|
+
return /* @__PURE__ */ jsx39(PopperProvider, { scope: __scopePopper, anchor, onAnchorChange: setAnchor, children });
|
|
6563
6513
|
}, "Popper");
|
|
6564
6514
|
Popper.displayName = POPPER_NAME;
|
|
6565
6515
|
var ANCHOR_NAME = "PopperAnchor";
|
|
@@ -6572,7 +6522,7 @@ var PopperAnchor = React27.forwardRef(
|
|
|
6572
6522
|
React27.useEffect(() => {
|
|
6573
6523
|
context.onAnchorChange(virtualRef?.current || ref.current);
|
|
6574
6524
|
});
|
|
6575
|
-
return virtualRef ? null : /* @__PURE__ */ (
|
|
6525
|
+
return virtualRef ? null : /* @__PURE__ */ jsx39(Primitive.div, { ...anchorProps, ref: composedRefs });
|
|
6576
6526
|
}
|
|
6577
6527
|
);
|
|
6578
6528
|
PopperAnchor.displayName = ANCHOR_NAME;
|
|
@@ -6665,7 +6615,7 @@ var PopperContent = React27.forwardRef(
|
|
|
6665
6615
|
useLayoutEffect2(() => {
|
|
6666
6616
|
if (content) setContentZIndex(window.getComputedStyle(content).zIndex);
|
|
6667
6617
|
}, [content]);
|
|
6668
|
-
return /* @__PURE__ */ (
|
|
6618
|
+
return /* @__PURE__ */ jsx39(
|
|
6669
6619
|
"div",
|
|
6670
6620
|
{
|
|
6671
6621
|
ref: refs.setFloating,
|
|
@@ -6689,7 +6639,7 @@ var PopperContent = React27.forwardRef(
|
|
|
6689
6639
|
}
|
|
6690
6640
|
},
|
|
6691
6641
|
dir: props.dir,
|
|
6692
|
-
children: /* @__PURE__ */ (
|
|
6642
|
+
children: /* @__PURE__ */ jsx39(
|
|
6693
6643
|
PopperContentProvider,
|
|
6694
6644
|
{
|
|
6695
6645
|
scope: __scopePopper,
|
|
@@ -6698,7 +6648,7 @@ var PopperContent = React27.forwardRef(
|
|
|
6698
6648
|
arrowX,
|
|
6699
6649
|
arrowY,
|
|
6700
6650
|
shouldHideArrow: cannotCenterArrow,
|
|
6701
|
-
children: /* @__PURE__ */ (
|
|
6651
|
+
children: /* @__PURE__ */ jsx39(
|
|
6702
6652
|
Primitive.div,
|
|
6703
6653
|
{
|
|
6704
6654
|
"data-side": placedSide,
|
|
@@ -6735,7 +6685,7 @@ var PopperArrow = React27.forwardRef(/* @__PURE__ */ __name(function PopperArrow
|
|
|
6735
6685
|
// we have to use an extra wrapper because `ResizeObserver` (used by `useSize`)
|
|
6736
6686
|
// doesn't report size as we'd expect on SVG elements.
|
|
6737
6687
|
// it reports their bounding box which is effectively the largest path inside the SVG.
|
|
6738
|
-
/* @__PURE__ */ (
|
|
6688
|
+
/* @__PURE__ */ jsx39(
|
|
6739
6689
|
"span",
|
|
6740
6690
|
{
|
|
6741
6691
|
ref: contentContext.onArrowChange,
|
|
@@ -6758,7 +6708,7 @@ var PopperArrow = React27.forwardRef(/* @__PURE__ */ __name(function PopperArrow
|
|
|
6758
6708
|
}[contentContext.placedSide],
|
|
6759
6709
|
visibility: contentContext.shouldHideArrow ? "hidden" : void 0
|
|
6760
6710
|
},
|
|
6761
|
-
children: /* @__PURE__ */ (
|
|
6711
|
+
children: /* @__PURE__ */ jsx39(
|
|
6762
6712
|
Root4,
|
|
6763
6713
|
{
|
|
6764
6714
|
...arrowProps,
|
|
@@ -6976,10 +6926,10 @@ function __spreadArray(to, from, pack) {
|
|
|
6976
6926
|
__name(__spreadArray, "__spreadArray");
|
|
6977
6927
|
|
|
6978
6928
|
// ../../node_modules/react-remove-scroll/dist/es2015/Combination.js
|
|
6979
|
-
|
|
6929
|
+
import * as React34 from "react";
|
|
6980
6930
|
|
|
6981
6931
|
// ../../node_modules/react-remove-scroll/dist/es2015/UI.js
|
|
6982
|
-
|
|
6932
|
+
import * as React30 from "react";
|
|
6983
6933
|
|
|
6984
6934
|
// ../../node_modules/react-remove-scroll-bar/dist/es2015/constants.js
|
|
6985
6935
|
var zeroRightClassName = "right-scroll-bar-position";
|
|
@@ -6999,9 +6949,9 @@ function assignRef(ref, value) {
|
|
|
6999
6949
|
__name(assignRef, "assignRef");
|
|
7000
6950
|
|
|
7001
6951
|
// ../../node_modules/use-callback-ref/dist/es2015/useRef.js
|
|
7002
|
-
|
|
6952
|
+
import { useState as useState15 } from "react";
|
|
7003
6953
|
function useCallbackRef2(initialValue, callback) {
|
|
7004
|
-
var ref = (
|
|
6954
|
+
var ref = useState15(function() {
|
|
7005
6955
|
return {
|
|
7006
6956
|
// value
|
|
7007
6957
|
value: initialValue,
|
|
@@ -7028,7 +6978,7 @@ function useCallbackRef2(initialValue, callback) {
|
|
|
7028
6978
|
__name(useCallbackRef2, "useCallbackRef");
|
|
7029
6979
|
|
|
7030
6980
|
// ../../node_modules/use-callback-ref/dist/es2015/useMergeRef.js
|
|
7031
|
-
|
|
6981
|
+
import * as React28 from "react";
|
|
7032
6982
|
var useIsomorphicLayoutEffect = typeof window !== "undefined" ? React28.useLayoutEffect : React28.useEffect;
|
|
7033
6983
|
var currentValues = /* @__PURE__ */ new WeakMap();
|
|
7034
6984
|
function useMergeRefs(refs, defaultValue) {
|
|
@@ -7150,7 +7100,7 @@ function createSidecarMedium(options) {
|
|
|
7150
7100
|
__name(createSidecarMedium, "createSidecarMedium");
|
|
7151
7101
|
|
|
7152
7102
|
// ../../node_modules/use-sidecar/dist/es2015/exports.js
|
|
7153
|
-
|
|
7103
|
+
import * as React29 from "react";
|
|
7154
7104
|
var SideCar = /* @__PURE__ */ __name(function(_a) {
|
|
7155
7105
|
var sideCar = _a.sideCar, rest = __rest(_a, ["sideCar"]);
|
|
7156
7106
|
if (!sideCar) {
|
|
@@ -7205,13 +7155,13 @@ RemoveScroll.classNames = {
|
|
|
7205
7155
|
};
|
|
7206
7156
|
|
|
7207
7157
|
// ../../node_modules/react-remove-scroll/dist/es2015/SideEffect.js
|
|
7208
|
-
|
|
7158
|
+
import * as React33 from "react";
|
|
7209
7159
|
|
|
7210
7160
|
// ../../node_modules/react-remove-scroll-bar/dist/es2015/component.js
|
|
7211
|
-
|
|
7161
|
+
import * as React32 from "react";
|
|
7212
7162
|
|
|
7213
7163
|
// ../../node_modules/react-style-singleton/dist/es2015/hook.js
|
|
7214
|
-
|
|
7164
|
+
import * as React31 from "react";
|
|
7215
7165
|
|
|
7216
7166
|
// ../../node_modules/get-nonce/dist/es2015/index.js
|
|
7217
7167
|
var currentNonce;
|
|
@@ -7670,7 +7620,7 @@ ReactRemoveScroll.classNames = RemoveScroll.classNames;
|
|
|
7670
7620
|
var Combination_default = ReactRemoveScroll;
|
|
7671
7621
|
|
|
7672
7622
|
// ../../node_modules/@radix-ui/react-popover/dist/index.mjs
|
|
7673
|
-
|
|
7623
|
+
import { jsx as jsx40 } from "react/jsx-runtime";
|
|
7674
7624
|
var POPOVER_NAME = "Popover";
|
|
7675
7625
|
var [createPopoverContext, createPopoverScope] = createContextScope(POPOVER_NAME, [
|
|
7676
7626
|
createPopperScope
|
|
@@ -7695,7 +7645,7 @@ var Popover2 = /* @__PURE__ */ __name((props) => {
|
|
|
7695
7645
|
onChange: onOpenChange,
|
|
7696
7646
|
caller: POPOVER_NAME
|
|
7697
7647
|
});
|
|
7698
|
-
return /* @__PURE__ */ (
|
|
7648
|
+
return /* @__PURE__ */ jsx40(Root22, { ...popperScope, children: /* @__PURE__ */ jsx40(
|
|
7699
7649
|
PopoverProvider,
|
|
7700
7650
|
{
|
|
7701
7651
|
scope: __scopePopover,
|
|
@@ -7724,7 +7674,7 @@ var PopoverAnchor2 = React35.forwardRef(
|
|
|
7724
7674
|
onCustomAnchorAdd();
|
|
7725
7675
|
return () => onCustomAnchorRemove();
|
|
7726
7676
|
}, [onCustomAnchorAdd, onCustomAnchorRemove]);
|
|
7727
|
-
return /* @__PURE__ */ (
|
|
7677
|
+
return /* @__PURE__ */ jsx40(Anchor, { ...popperScope, ...anchorProps, ref: forwardedRef });
|
|
7728
7678
|
}
|
|
7729
7679
|
);
|
|
7730
7680
|
PopoverAnchor2.displayName = ANCHOR_NAME2;
|
|
@@ -7735,7 +7685,7 @@ var PopoverTrigger2 = React35.forwardRef(
|
|
|
7735
7685
|
const context = usePopoverContext(TRIGGER_NAME, __scopePopover);
|
|
7736
7686
|
const popperScope = usePopperScope(__scopePopover);
|
|
7737
7687
|
const composedTriggerRef = useComposedRefs(forwardedRef, context.triggerRef);
|
|
7738
|
-
const trigger = /* @__PURE__ */ (
|
|
7688
|
+
const trigger = /* @__PURE__ */ jsx40(
|
|
7739
7689
|
Primitive.button,
|
|
7740
7690
|
{
|
|
7741
7691
|
type: "button",
|
|
@@ -7748,7 +7698,7 @@ var PopoverTrigger2 = React35.forwardRef(
|
|
|
7748
7698
|
onClick: composeEventHandlers(props.onClick, context.onOpenToggle)
|
|
7749
7699
|
}
|
|
7750
7700
|
);
|
|
7751
|
-
return context.hasCustomAnchor ? trigger : /* @__PURE__ */ (
|
|
7701
|
+
return context.hasCustomAnchor ? trigger : /* @__PURE__ */ jsx40(Anchor, { asChild: true, ...popperScope, children: trigger });
|
|
7752
7702
|
}
|
|
7753
7703
|
);
|
|
7754
7704
|
PopoverTrigger2.displayName = TRIGGER_NAME;
|
|
@@ -7759,7 +7709,7 @@ var [PortalProvider, usePortalContext] = createPopoverContext(PORTAL_NAME2, {
|
|
|
7759
7709
|
var PopoverPortal = /* @__PURE__ */ __name((props) => {
|
|
7760
7710
|
const { __scopePopover, forceMount, children, container } = props;
|
|
7761
7711
|
const context = usePopoverContext(PORTAL_NAME2, __scopePopover);
|
|
7762
|
-
return /* @__PURE__ */ (
|
|
7712
|
+
return /* @__PURE__ */ jsx40(PortalProvider, { scope: __scopePopover, forceMount, children: /* @__PURE__ */ jsx40(Presence, { present: forceMount || context.open, children: /* @__PURE__ */ jsx40(Portal, { asChild: true, container, children }) }) });
|
|
7763
7713
|
}, "PopoverPortal");
|
|
7764
7714
|
PopoverPortal.displayName = PORTAL_NAME2;
|
|
7765
7715
|
var CONTENT_NAME2 = "PopoverContent";
|
|
@@ -7768,7 +7718,7 @@ var PopoverContent2 = React35.forwardRef(
|
|
|
7768
7718
|
const portalContext = usePortalContext(CONTENT_NAME2, props.__scopePopover);
|
|
7769
7719
|
const { forceMount = portalContext.forceMount, ...contentProps } = props;
|
|
7770
7720
|
const context = usePopoverContext(CONTENT_NAME2, props.__scopePopover);
|
|
7771
|
-
return /* @__PURE__ */ (
|
|
7721
|
+
return /* @__PURE__ */ jsx40(Presence, { present: forceMount || context.open, children: context.modal ? /* @__PURE__ */ jsx40(PopoverContentModal, { ...contentProps, ref: forwardedRef }) : /* @__PURE__ */ jsx40(PopoverContentNonModal, { ...contentProps, ref: forwardedRef }) });
|
|
7772
7722
|
}
|
|
7773
7723
|
);
|
|
7774
7724
|
PopoverContent2.displayName = CONTENT_NAME2;
|
|
@@ -7783,7 +7733,7 @@ var PopoverContentModal = React35.forwardRef(
|
|
|
7783
7733
|
const content = contentRef.current;
|
|
7784
7734
|
if (content) return hideOthers(content);
|
|
7785
7735
|
}, []);
|
|
7786
|
-
return /* @__PURE__ */ (
|
|
7736
|
+
return /* @__PURE__ */ jsx40(Combination_default, { as: Slot2, allowPinchZoom: true, children: /* @__PURE__ */ jsx40(
|
|
7787
7737
|
PopoverContentImpl,
|
|
7788
7738
|
{
|
|
7789
7739
|
...props,
|
|
@@ -7818,7 +7768,7 @@ var PopoverContentNonModal = React35.forwardRef(
|
|
|
7818
7768
|
const context = usePopoverContext(CONTENT_NAME2, props.__scopePopover);
|
|
7819
7769
|
const hasInteractedOutsideRef = React35.useRef(false);
|
|
7820
7770
|
const hasPointerDownOutsideRef = React35.useRef(false);
|
|
7821
|
-
return /* @__PURE__ */ (
|
|
7771
|
+
return /* @__PURE__ */ jsx40(
|
|
7822
7772
|
PopoverContentImpl,
|
|
7823
7773
|
{
|
|
7824
7774
|
...props,
|
|
@@ -7870,7 +7820,7 @@ var PopoverContentImpl = React35.forwardRef(
|
|
|
7870
7820
|
const context = usePopoverContext(CONTENT_NAME2, __scopePopover);
|
|
7871
7821
|
const popperScope = usePopperScope(__scopePopover);
|
|
7872
7822
|
useFocusGuards();
|
|
7873
|
-
return /* @__PURE__ */ (
|
|
7823
|
+
return /* @__PURE__ */ jsx40(
|
|
7874
7824
|
FocusScope,
|
|
7875
7825
|
{
|
|
7876
7826
|
asChild: true,
|
|
@@ -7878,7 +7828,7 @@ var PopoverContentImpl = React35.forwardRef(
|
|
|
7878
7828
|
trapped: trapFocus,
|
|
7879
7829
|
onMountAutoFocus: onOpenAutoFocus,
|
|
7880
7830
|
onUnmountAutoFocus: onCloseAutoFocus,
|
|
7881
|
-
children: /* @__PURE__ */ (
|
|
7831
|
+
children: /* @__PURE__ */ jsx40(
|
|
7882
7832
|
DismissableLayer,
|
|
7883
7833
|
{
|
|
7884
7834
|
asChild: true,
|
|
@@ -7888,7 +7838,7 @@ var PopoverContentImpl = React35.forwardRef(
|
|
|
7888
7838
|
onPointerDownOutside,
|
|
7889
7839
|
onFocusOutside,
|
|
7890
7840
|
onDismiss: /* @__PURE__ */ __name(() => context.onOpenChange(false), "onDismiss"),
|
|
7891
|
-
children: /* @__PURE__ */ (
|
|
7841
|
+
children: /* @__PURE__ */ jsx40(
|
|
7892
7842
|
Content,
|
|
7893
7843
|
{
|
|
7894
7844
|
"data-state": getState(context.open),
|
|
@@ -7921,7 +7871,7 @@ var PopoverClose = React35.forwardRef(
|
|
|
7921
7871
|
(props, forwardedRef) => {
|
|
7922
7872
|
const { __scopePopover, ...closeProps } = props;
|
|
7923
7873
|
const context = usePopoverContext(CLOSE_NAME2, __scopePopover);
|
|
7924
|
-
return /* @__PURE__ */ (
|
|
7874
|
+
return /* @__PURE__ */ jsx40(
|
|
7925
7875
|
Primitive.button,
|
|
7926
7876
|
{
|
|
7927
7877
|
type: "button",
|
|
@@ -7938,7 +7888,7 @@ var PopoverArrow = React35.forwardRef(
|
|
|
7938
7888
|
(props, forwardedRef) => {
|
|
7939
7889
|
const { __scopePopover, ...arrowProps } = props;
|
|
7940
7890
|
const popperScope = usePopperScope(__scopePopover);
|
|
7941
|
-
return /* @__PURE__ */ (
|
|
7891
|
+
return /* @__PURE__ */ jsx40(Arrow2, { ...popperScope, ...arrowProps, ref: forwardedRef });
|
|
7942
7892
|
}
|
|
7943
7893
|
);
|
|
7944
7894
|
PopoverArrow.displayName = ARROW_NAME2;
|
|
@@ -7954,9 +7904,9 @@ var Close = PopoverClose;
|
|
|
7954
7904
|
var Arrow22 = PopoverArrow;
|
|
7955
7905
|
|
|
7956
7906
|
// src/components/coach-mark/primitive/index.tsx
|
|
7957
|
-
|
|
7958
|
-
|
|
7959
|
-
|
|
7907
|
+
import { cva as cva9 } from "cva";
|
|
7908
|
+
import clsx19 from "clsx";
|
|
7909
|
+
import { forwardRef as forwardRef28 } from "react";
|
|
7960
7910
|
|
|
7961
7911
|
// src/components/coach-mark/primitive/style.module.scss
|
|
7962
7912
|
var style_module_default18 = {
|
|
@@ -7966,19 +7916,19 @@ var style_module_default18 = {
|
|
|
7966
7916
|
};
|
|
7967
7917
|
|
|
7968
7918
|
// src/components/coach-mark/primitive/index.tsx
|
|
7969
|
-
|
|
7970
|
-
var primitiveCoachMarkVariants = (
|
|
7919
|
+
import { jsx as jsx41, jsxs as jsxs15 } from "react/jsx-runtime";
|
|
7920
|
+
var primitiveCoachMarkVariants = cva9({
|
|
7971
7921
|
base: style_module_default18.content
|
|
7972
7922
|
});
|
|
7973
|
-
var primitiveCoachMarkAnchorVariants = (
|
|
7923
|
+
var primitiveCoachMarkAnchorVariants = cva9({
|
|
7974
7924
|
base: style_module_default18.anchor
|
|
7975
7925
|
});
|
|
7976
|
-
var PrimitiveCoachMarkTrigger = /* @__PURE__ */ __name(({ by }) => /* @__PURE__ */ (
|
|
7977
|
-
var PrimitiveCoachMarkRoot = /* @__PURE__ */ __name(({ trigger, children, ...props }) => /* @__PURE__ */ (
|
|
7978
|
-
/* @__PURE__ */ (
|
|
7926
|
+
var PrimitiveCoachMarkTrigger = /* @__PURE__ */ __name(({ by }) => /* @__PURE__ */ jsx41(Trigger, { asChild: true, children: by }), "PrimitiveCoachMarkTrigger");
|
|
7927
|
+
var PrimitiveCoachMarkRoot = /* @__PURE__ */ __name(({ trigger, children, ...props }) => /* @__PURE__ */ jsxs15(Root23, { ...props, children: [
|
|
7928
|
+
/* @__PURE__ */ jsx41(PrimitiveCoachMarkTrigger, { by: trigger }),
|
|
7979
7929
|
children
|
|
7980
7930
|
] }), "PrimitiveCoachMarkRoot");
|
|
7981
|
-
var PrimitiveCoachMarkAnchor = /* @__PURE__ */ __name(({ className }) => /* @__PURE__ */ (
|
|
7931
|
+
var PrimitiveCoachMarkAnchor = /* @__PURE__ */ __name(({ className }) => /* @__PURE__ */ jsx41(
|
|
7982
7932
|
"svg",
|
|
7983
7933
|
{
|
|
7984
7934
|
className,
|
|
@@ -7987,7 +7937,7 @@ var PrimitiveCoachMarkAnchor = /* @__PURE__ */ __name(({ className }) => /* @__P
|
|
|
7987
7937
|
height: "24",
|
|
7988
7938
|
viewBox: "0 0 10 24",
|
|
7989
7939
|
fill: "none",
|
|
7990
|
-
children: /* @__PURE__ */ (
|
|
7940
|
+
children: /* @__PURE__ */ jsx41(
|
|
7991
7941
|
"path",
|
|
7992
7942
|
{
|
|
7993
7943
|
fillRule: "evenodd",
|
|
@@ -7998,15 +7948,15 @@ var PrimitiveCoachMarkAnchor = /* @__PURE__ */ __name(({ className }) => /* @__P
|
|
|
7998
7948
|
)
|
|
7999
7949
|
}
|
|
8000
7950
|
), "PrimitiveCoachMarkAnchor");
|
|
8001
|
-
var PrimitiveCoachMarkContent = (
|
|
7951
|
+
var PrimitiveCoachMarkContent = forwardRef28(({ children, className, container, ...rest }, ref) => /* @__PURE__ */ jsx41(Portal2, { container, children: /* @__PURE__ */ jsxs15(
|
|
8002
7952
|
Content2,
|
|
8003
7953
|
{
|
|
8004
7954
|
ref,
|
|
8005
|
-
className: (
|
|
7955
|
+
className: clsx19(primitiveCoachMarkVariants(), className),
|
|
8006
7956
|
...rest,
|
|
8007
7957
|
children: [
|
|
8008
7958
|
children,
|
|
8009
|
-
/* @__PURE__ */ (
|
|
7959
|
+
/* @__PURE__ */ jsx41(Arrow22, { asChild: true, children: /* @__PURE__ */ jsx41(PrimitiveCoachMarkAnchor, { className: clsx19(primitiveCoachMarkAnchorVariants()) }) })
|
|
8010
7960
|
]
|
|
8011
7961
|
}
|
|
8012
7962
|
) }));
|
|
@@ -8017,7 +7967,7 @@ var PrimitiveCoachMark = Object.assign(PrimitiveCoachMarkRoot, {
|
|
|
8017
7967
|
});
|
|
8018
7968
|
|
|
8019
7969
|
// src/components/coach-mark/compact/index.tsx
|
|
8020
|
-
|
|
7970
|
+
import { forwardRef as forwardRef30 } from "react";
|
|
8021
7971
|
|
|
8022
7972
|
// src/components/coach-mark/compact/style.module.scss
|
|
8023
7973
|
var style_module_default19 = {
|
|
@@ -8030,11 +7980,11 @@ var style_module_default19 = {
|
|
|
8030
7980
|
};
|
|
8031
7981
|
|
|
8032
7982
|
// src/components/coach-mark/compact/index.tsx
|
|
8033
|
-
|
|
8034
|
-
|
|
7983
|
+
import clsx21 from "clsx";
|
|
7984
|
+
import { cva as cva11 } from "cva";
|
|
8035
7985
|
|
|
8036
7986
|
// src/components/Tag/index.tsx
|
|
8037
|
-
|
|
7987
|
+
import { forwardRef as forwardRef29 } from "react";
|
|
8038
7988
|
|
|
8039
7989
|
// src/components/Tag/style.module.scss
|
|
8040
7990
|
var style_module_default20 = {
|
|
@@ -8179,10 +8129,10 @@ var colorOptions = [
|
|
|
8179
8129
|
];
|
|
8180
8130
|
|
|
8181
8131
|
// src/components/Tag/index.tsx
|
|
8182
|
-
|
|
8183
|
-
|
|
8184
|
-
|
|
8185
|
-
var tagVariants = (
|
|
8132
|
+
import { cva as cva10 } from "cva";
|
|
8133
|
+
import clsx20 from "clsx";
|
|
8134
|
+
import { jsx as jsx42 } from "react/jsx-runtime";
|
|
8135
|
+
var tagVariants = cva10({
|
|
8186
8136
|
base: style_module_default20.tag,
|
|
8187
8137
|
variants: {
|
|
8188
8138
|
borderColor: arrayToStyleObject(colorOptions, style_module_default20, "border"),
|
|
@@ -8200,7 +8150,7 @@ var tagVariants = (0, import_cva10.cva)({
|
|
|
8200
8150
|
}
|
|
8201
8151
|
}
|
|
8202
8152
|
});
|
|
8203
|
-
var Tag = (
|
|
8153
|
+
var Tag = forwardRef29(
|
|
8204
8154
|
({
|
|
8205
8155
|
children,
|
|
8206
8156
|
color = "neutral-label-static-primary",
|
|
@@ -8212,14 +8162,14 @@ var Tag = (0, import_react26.forwardRef)(
|
|
|
8212
8162
|
className,
|
|
8213
8163
|
...rest
|
|
8214
8164
|
}, ref) => {
|
|
8215
|
-
return /* @__PURE__ */ (
|
|
8165
|
+
return /* @__PURE__ */ jsx42(
|
|
8216
8166
|
Caption,
|
|
8217
8167
|
{
|
|
8218
8168
|
ref,
|
|
8219
8169
|
size: 3,
|
|
8220
8170
|
type: "normal",
|
|
8221
8171
|
weight: "bold",
|
|
8222
|
-
className: (
|
|
8172
|
+
className: clsx20(tagVariants({ borderColor, size: size4, thick, radius }), className),
|
|
8223
8173
|
color,
|
|
8224
8174
|
style: { backgroundColor: `var(--${backgroundColor})`, ...rest.style },
|
|
8225
8175
|
...rest,
|
|
@@ -8230,8 +8180,8 @@ var Tag = (0, import_react26.forwardRef)(
|
|
|
8230
8180
|
);
|
|
8231
8181
|
|
|
8232
8182
|
// src/components/coach-mark/compact/index.tsx
|
|
8233
|
-
|
|
8234
|
-
var compactCoachMarkVariants = (
|
|
8183
|
+
import { jsx as jsx43, jsxs as jsxs16 } from "react/jsx-runtime";
|
|
8184
|
+
var compactCoachMarkVariants = cva11({
|
|
8235
8185
|
base: style_module_default19.content,
|
|
8236
8186
|
variants: {
|
|
8237
8187
|
level: {
|
|
@@ -8242,18 +8192,18 @@ var compactCoachMarkVariants = (0, import_cva11.cva)({
|
|
|
8242
8192
|
}
|
|
8243
8193
|
});
|
|
8244
8194
|
var CompactCoachMarkRoot = /* @__PURE__ */ __name((props) => {
|
|
8245
|
-
return /* @__PURE__ */ (
|
|
8195
|
+
return /* @__PURE__ */ jsx43(PrimitiveCoachMark, { ...props });
|
|
8246
8196
|
}, "CompactCoachMarkRoot");
|
|
8247
|
-
var CompactCoachMarkContent = (
|
|
8197
|
+
var CompactCoachMarkContent = forwardRef30(({ tag, title, level = "brand", className, side = "top", sideOffset = -15, ...props }, ref) => /* @__PURE__ */ jsxs16(
|
|
8248
8198
|
PrimitiveCoachMark.Content,
|
|
8249
8199
|
{
|
|
8250
8200
|
ref,
|
|
8251
|
-
className: (
|
|
8201
|
+
className: clsx21(compactCoachMarkVariants({ level }), className),
|
|
8252
8202
|
side,
|
|
8253
8203
|
sideOffset,
|
|
8254
8204
|
...props,
|
|
8255
8205
|
children: [
|
|
8256
|
-
tag && /* @__PURE__ */ (
|
|
8206
|
+
tag && /* @__PURE__ */ jsx43(
|
|
8257
8207
|
Tag,
|
|
8258
8208
|
{
|
|
8259
8209
|
color: level === "inverse" ? "neutral-label-primary" : "neutral-label-static-primary",
|
|
@@ -8261,7 +8211,7 @@ var CompactCoachMarkContent = (0, import_react27.forwardRef)(({ tag, title, leve
|
|
|
8261
8211
|
children: tag
|
|
8262
8212
|
}
|
|
8263
8213
|
),
|
|
8264
|
-
/* @__PURE__ */ (
|
|
8214
|
+
/* @__PURE__ */ jsx43(Caption, { size: 2, type: "normal", weight: "bold", color: "inverse-label-static-primary", children: title })
|
|
8265
8215
|
]
|
|
8266
8216
|
}
|
|
8267
8217
|
));
|
|
@@ -8289,103 +8239,13 @@ var style_module_default21 = {
|
|
|
8289
8239
|
};
|
|
8290
8240
|
|
|
8291
8241
|
// src/components/coach-mark/main/index.tsx
|
|
8292
|
-
|
|
8293
|
-
|
|
8294
|
-
|
|
8295
|
-
|
|
8296
|
-
|
|
8297
|
-
|
|
8298
|
-
var
|
|
8299
|
-
"4:3": { width: 180, height: 135 },
|
|
8300
|
-
"1:1": { width: 250, height: 250 }
|
|
8301
|
-
};
|
|
8302
|
-
var illustSize = {
|
|
8303
|
-
"hero-gift": ratio["1:1"],
|
|
8304
|
-
"hero-search": ratio["1:1"],
|
|
8305
|
-
"mini-documents-2": ratio["1:1"],
|
|
8306
|
-
"mini-documents-3": ratio["1:1"],
|
|
8307
|
-
"mini-documents-4": ratio["1:1"],
|
|
8308
|
-
"mini-documents-5": ratio["1:1"],
|
|
8309
|
-
"mini-documents": ratio["1:1"],
|
|
8310
|
-
"mini-egg": ratio["1:1"],
|
|
8311
|
-
"mini-gift": ratio["1:1"],
|
|
8312
|
-
"mini-graduation_hat": ratio["1:1"],
|
|
8313
|
-
"mini-search": ratio["1:1"],
|
|
8314
|
-
"mini-ticket": ratio["1:1"],
|
|
8315
|
-
"mini-window": ratio["1:1"],
|
|
8316
|
-
"spot-catch_star": ratio["4:3"],
|
|
8317
|
-
"spot-clap": ratio["4:3"],
|
|
8318
|
-
"spot-empty": ratio["4:3"],
|
|
8319
|
-
"spot-no_search": ratio["4:3"],
|
|
8320
|
-
"spot-search-2": ratio["4:3"],
|
|
8321
|
-
"spot-search-3": ratio["4:3"],
|
|
8322
|
-
"spot-search-4": ratio["4:3"],
|
|
8323
|
-
"spot-search-5": ratio["4:3"],
|
|
8324
|
-
"spot-search": ratio["4:3"],
|
|
8325
|
-
"spot-write": ratio["4:3"],
|
|
8326
|
-
"spot-gift": ratio["4:3"],
|
|
8327
|
-
"mini-empty": ratio["1:1"],
|
|
8328
|
-
"spot-team": ratio["4:3"]
|
|
8329
|
-
};
|
|
8330
|
-
|
|
8331
|
-
// src/components/Illust/index.tsx
|
|
8332
|
-
var import_image = __toESM(require("next/image"));
|
|
8333
|
-
|
|
8334
|
-
// src/constants/illust/path.ts
|
|
8335
|
-
var ILLUST = "https://assets.getliner.com/common/illust";
|
|
8336
|
-
var DARK_MODE_ILLUST_PREFIX = `${ILLUST}/dark/`;
|
|
8337
|
-
var LIGHT_MODE_ILLUST_PREFIX = `${ILLUST}/light/`;
|
|
8338
|
-
|
|
8339
|
-
// src/hooks/useIllust.ts
|
|
8340
|
-
var import_design_token3 = require("@liner-fe/design-token");
|
|
8341
|
-
var useIllust = /* @__PURE__ */ __name(({ darkSrc, src }) => {
|
|
8342
|
-
const { isDarkMode } = (0, import_design_token3.useDarkTheme)();
|
|
8343
|
-
const sourcePrefix = (() => {
|
|
8344
|
-
if (isDarkMode) {
|
|
8345
|
-
if (darkSrc?.inverse) {
|
|
8346
|
-
return LIGHT_MODE_ILLUST_PREFIX;
|
|
8347
|
-
}
|
|
8348
|
-
return DARK_MODE_ILLUST_PREFIX;
|
|
8349
|
-
}
|
|
8350
|
-
if (src.inverse === false) {
|
|
8351
|
-
return DARK_MODE_ILLUST_PREFIX;
|
|
8352
|
-
}
|
|
8353
|
-
return LIGHT_MODE_ILLUST_PREFIX;
|
|
8354
|
-
})();
|
|
8355
|
-
const currentSourceByColorTheme = isDarkMode ? darkSrc?.name || src.name : src.name;
|
|
8356
|
-
return { sourcePrefix, currentSourceByColorTheme, isDarkMode };
|
|
8357
|
-
}, "useIllust");
|
|
8358
|
-
|
|
8359
|
-
// src/components/Illust/index.tsx
|
|
8360
|
-
var import_jsx_runtime44 = require("react/jsx-runtime");
|
|
8361
|
-
var Illust = /* @__PURE__ */ __name((props) => {
|
|
8362
|
-
const { src, width, margin } = props;
|
|
8363
|
-
const { sourcePrefix, currentSourceByColorTheme } = useIllust({
|
|
8364
|
-
darkSrc: src.dark,
|
|
8365
|
-
src: src.light
|
|
8366
|
-
});
|
|
8367
|
-
const aspectRatio = illustSize[currentSourceByColorTheme] ? illustSize[currentSourceByColorTheme].width / illustSize[currentSourceByColorTheme].height : void 0;
|
|
8368
|
-
const css = {
|
|
8369
|
-
width,
|
|
8370
|
-
margin
|
|
8371
|
-
};
|
|
8372
|
-
const source = `${sourcePrefix}${currentSourceByColorTheme}.webp`;
|
|
8373
|
-
return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("div", { style: css, children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
|
|
8374
|
-
import_image.default,
|
|
8375
|
-
{
|
|
8376
|
-
...props,
|
|
8377
|
-
alt: currentSourceByColorTheme,
|
|
8378
|
-
src: source,
|
|
8379
|
-
width,
|
|
8380
|
-
height: aspectRatio ? width / aspectRatio : width,
|
|
8381
|
-
unoptimized: true
|
|
8382
|
-
}
|
|
8383
|
-
) });
|
|
8384
|
-
}, "Illust");
|
|
8385
|
-
|
|
8386
|
-
// src/components/coach-mark/main/index.tsx
|
|
8387
|
-
var import_jsx_runtime45 = require("react/jsx-runtime");
|
|
8388
|
-
var coachMarkVariants = (0, import_cva12.cva)({
|
|
8242
|
+
import { forwardRef as forwardRef31, isValidElement as isValidElement2, useEffect as useEffect19 } from "react";
|
|
8243
|
+
import { IconClose } from "@liner-fe/icon";
|
|
8244
|
+
import { cva as cva12 } from "cva";
|
|
8245
|
+
import clsx22 from "clsx";
|
|
8246
|
+
import { Illust } from "@liner-fe/illust";
|
|
8247
|
+
import { jsx as jsx44, jsxs as jsxs17 } from "react/jsx-runtime";
|
|
8248
|
+
var coachMarkVariants = cva12({
|
|
8389
8249
|
base: style_module_default21.content,
|
|
8390
8250
|
variants: {
|
|
8391
8251
|
level: {
|
|
@@ -8402,8 +8262,8 @@ var coachMarkLevelButtonLevelMap = {
|
|
|
8402
8262
|
};
|
|
8403
8263
|
var CoachMarkRoot = /* @__PURE__ */ __name((props) => {
|
|
8404
8264
|
const { children } = props;
|
|
8405
|
-
(
|
|
8406
|
-
if ((
|
|
8265
|
+
useEffect19(() => {
|
|
8266
|
+
if (isValidElement2(children) && "image" in children.props) {
|
|
8407
8267
|
const imageProps = children.props.image;
|
|
8408
8268
|
if (imageProps?.src) {
|
|
8409
8269
|
const img = new Image();
|
|
@@ -8411,9 +8271,9 @@ var CoachMarkRoot = /* @__PURE__ */ __name((props) => {
|
|
|
8411
8271
|
}
|
|
8412
8272
|
}
|
|
8413
8273
|
}, []);
|
|
8414
|
-
return /* @__PURE__ */ (
|
|
8274
|
+
return /* @__PURE__ */ jsx44(PrimitiveCoachMark, { ...props });
|
|
8415
8275
|
}, "CoachMarkRoot");
|
|
8416
|
-
var CoachMarkContent = (
|
|
8276
|
+
var CoachMarkContent = forwardRef31(
|
|
8417
8277
|
({
|
|
8418
8278
|
level = "brand",
|
|
8419
8279
|
width,
|
|
@@ -8431,20 +8291,20 @@ var CoachMarkContent = (0, import_react28.forwardRef)(
|
|
|
8431
8291
|
secondaryButton,
|
|
8432
8292
|
onClose,
|
|
8433
8293
|
...rest
|
|
8434
|
-
}, ref) => /* @__PURE__ */ (
|
|
8294
|
+
}, ref) => /* @__PURE__ */ jsxs17(
|
|
8435
8295
|
PrimitiveCoachMark.Content,
|
|
8436
8296
|
{
|
|
8437
8297
|
ref,
|
|
8438
|
-
className: (
|
|
8298
|
+
className: clsx22(coachMarkVariants({ level }), className),
|
|
8439
8299
|
style: { width: width ? `${width}px` : void 0 },
|
|
8440
8300
|
side,
|
|
8441
8301
|
sideOffset,
|
|
8442
8302
|
...rest,
|
|
8443
8303
|
children: [
|
|
8444
|
-
/* @__PURE__ */ (
|
|
8304
|
+
/* @__PURE__ */ jsx44(Close, { asChild: true, children: /* @__PURE__ */ jsx44(
|
|
8445
8305
|
IconButton,
|
|
8446
8306
|
{
|
|
8447
|
-
icon: { icon:
|
|
8307
|
+
icon: { icon: IconClose },
|
|
8448
8308
|
size: "xs",
|
|
8449
8309
|
level: level === "inverse" ? "inverse" : "inverse-static",
|
|
8450
8310
|
fill: false,
|
|
@@ -8452,11 +8312,11 @@ var CoachMarkContent = (0, import_react28.forwardRef)(
|
|
|
8452
8312
|
onClick: onClose
|
|
8453
8313
|
}
|
|
8454
8314
|
) }),
|
|
8455
|
-
/* @__PURE__ */ (
|
|
8456
|
-
illust && /* @__PURE__ */ (
|
|
8457
|
-
/* @__PURE__ */ (
|
|
8458
|
-
/* @__PURE__ */ (
|
|
8459
|
-
tag && /* @__PURE__ */ (
|
|
8315
|
+
/* @__PURE__ */ jsxs17("header", { className: style_module_default21.top, children: [
|
|
8316
|
+
illust && /* @__PURE__ */ jsx44(Illust, { width: 72, ...illust }),
|
|
8317
|
+
/* @__PURE__ */ jsxs17("div", { className: style_module_default21.main, children: [
|
|
8318
|
+
/* @__PURE__ */ jsxs17("div", { className: style_module_default21.title, children: [
|
|
8319
|
+
tag && /* @__PURE__ */ jsx44(
|
|
8460
8320
|
Tag,
|
|
8461
8321
|
{
|
|
8462
8322
|
color: level === "inverse" ? "neutral-label-primary" : "neutral-label-static-primary",
|
|
@@ -8464,7 +8324,7 @@ var CoachMarkContent = (0, import_react28.forwardRef)(
|
|
|
8464
8324
|
children: tag
|
|
8465
8325
|
}
|
|
8466
8326
|
),
|
|
8467
|
-
icon && /* @__PURE__ */ (
|
|
8327
|
+
icon && /* @__PURE__ */ jsx44(
|
|
8468
8328
|
icon.icon,
|
|
8469
8329
|
{
|
|
8470
8330
|
size: "xs",
|
|
@@ -8473,7 +8333,7 @@ var CoachMarkContent = (0, import_react28.forwardRef)(
|
|
|
8473
8333
|
type: level === "inverse" ? "inverse-label-primary" : "inverse-label-static-primary"
|
|
8474
8334
|
}
|
|
8475
8335
|
),
|
|
8476
|
-
title && /* @__PURE__ */ (
|
|
8336
|
+
title && /* @__PURE__ */ jsx44(
|
|
8477
8337
|
Paragraph,
|
|
8478
8338
|
{
|
|
8479
8339
|
size: 4,
|
|
@@ -8484,7 +8344,7 @@ var CoachMarkContent = (0, import_react28.forwardRef)(
|
|
|
8484
8344
|
}
|
|
8485
8345
|
)
|
|
8486
8346
|
] }),
|
|
8487
|
-
image && /* @__PURE__ */ (
|
|
8347
|
+
image && /* @__PURE__ */ jsx44("div", { className: style_module_default21["image-container"], children: /* @__PURE__ */ jsx44(
|
|
8488
8348
|
"img",
|
|
8489
8349
|
{
|
|
8490
8350
|
className: style_module_default21.image,
|
|
@@ -8494,7 +8354,7 @@ var CoachMarkContent = (0, import_react28.forwardRef)(
|
|
|
8494
8354
|
height: 160
|
|
8495
8355
|
}
|
|
8496
8356
|
) }),
|
|
8497
|
-
description && /* @__PURE__ */ (
|
|
8357
|
+
description && /* @__PURE__ */ jsx44("div", { className: style_module_default21.description, children: /* @__PURE__ */ jsx44(
|
|
8498
8358
|
Caption,
|
|
8499
8359
|
{
|
|
8500
8360
|
size: 2,
|
|
@@ -8506,8 +8366,8 @@ var CoachMarkContent = (0, import_react28.forwardRef)(
|
|
|
8506
8366
|
) })
|
|
8507
8367
|
] })
|
|
8508
8368
|
] }),
|
|
8509
|
-
/* @__PURE__ */ (
|
|
8510
|
-
step ? /* @__PURE__ */ (
|
|
8369
|
+
/* @__PURE__ */ jsxs17("footer", { className: style_module_default21.footer, children: [
|
|
8370
|
+
step ? /* @__PURE__ */ jsxs17(
|
|
8511
8371
|
Caption,
|
|
8512
8372
|
{
|
|
8513
8373
|
size: 2,
|
|
@@ -8520,9 +8380,9 @@ var CoachMarkContent = (0, import_react28.forwardRef)(
|
|
|
8520
8380
|
step.total
|
|
8521
8381
|
]
|
|
8522
8382
|
}
|
|
8523
|
-
) : /* @__PURE__ */ (
|
|
8524
|
-
/* @__PURE__ */ (
|
|
8525
|
-
secondaryButton && /* @__PURE__ */ (
|
|
8383
|
+
) : /* @__PURE__ */ jsx44("div", { className: style_module_default21.empty }),
|
|
8384
|
+
/* @__PURE__ */ jsxs17("div", { className: style_module_default21.buttonGroup, children: [
|
|
8385
|
+
secondaryButton && /* @__PURE__ */ jsx44(
|
|
8526
8386
|
TextButton,
|
|
8527
8387
|
{
|
|
8528
8388
|
size: "s",
|
|
@@ -8530,7 +8390,7 @@ var CoachMarkContent = (0, import_react28.forwardRef)(
|
|
|
8530
8390
|
...secondaryButton
|
|
8531
8391
|
}
|
|
8532
8392
|
),
|
|
8533
|
-
primaryButton && /* @__PURE__ */ (
|
|
8393
|
+
primaryButton && /* @__PURE__ */ jsx44(Button, { size: "s", level: coachMarkLevelButtonLevelMap[level], ...primaryButton })
|
|
8534
8394
|
] })
|
|
8535
8395
|
] })
|
|
8536
8396
|
]
|
|
@@ -8542,3 +8402,41 @@ var CoachMark = Object.assign(CoachMarkRoot, {
|
|
|
8542
8402
|
Content: CoachMarkContent,
|
|
8543
8403
|
Portal: Portal2
|
|
8544
8404
|
});
|
|
8405
|
+
export {
|
|
8406
|
+
Button,
|
|
8407
|
+
Caption,
|
|
8408
|
+
Checkbox,
|
|
8409
|
+
CoachMark,
|
|
8410
|
+
CompactCoachMark,
|
|
8411
|
+
DefaultButton,
|
|
8412
|
+
Display,
|
|
8413
|
+
Heading,
|
|
8414
|
+
IconButton,
|
|
8415
|
+
Label,
|
|
8416
|
+
List,
|
|
8417
|
+
Loading,
|
|
8418
|
+
Logo,
|
|
8419
|
+
Media,
|
|
8420
|
+
MediaContextProvider,
|
|
8421
|
+
Paragraph,
|
|
8422
|
+
Popover,
|
|
8423
|
+
PrimitiveCoachMark,
|
|
8424
|
+
Radio,
|
|
8425
|
+
Select,
|
|
8426
|
+
SingleSnackbar,
|
|
8427
|
+
Snackbar,
|
|
8428
|
+
Tag,
|
|
8429
|
+
TextButton,
|
|
8430
|
+
Textfield,
|
|
8431
|
+
Title2 as Title,
|
|
8432
|
+
Toaster,
|
|
8433
|
+
Tooltip,
|
|
8434
|
+
Typography,
|
|
8435
|
+
arrayToStyleObject,
|
|
8436
|
+
isEmptyObject,
|
|
8437
|
+
objectToArray,
|
|
8438
|
+
rootMediaStyle,
|
|
8439
|
+
snackbarAtom,
|
|
8440
|
+
useSnackbar,
|
|
8441
|
+
useToast
|
|
8442
|
+
};
|