@liner-fe/prism 3.2.2 → 3.3.0-beta-20260507060125
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.css +109 -239
- package/lib/index.d.ts +33 -87
- package/lib/index.js +411 -1150
- package/package.json +4 -3
package/lib/index.js
CHANGED
|
@@ -336,59 +336,11 @@ DefaultButton.displayName = "DefaultButton";
|
|
|
336
336
|
var Button = forwardRef((props, ref) => /* @__PURE__ */ jsx2(DefaultButton, { ...props, ref }));
|
|
337
337
|
Button.displayName = "Button";
|
|
338
338
|
|
|
339
|
-
// src/hooks/useToast.ts
|
|
340
|
-
import { atom, useSetAtom } from "jotai";
|
|
341
|
-
|
|
342
|
-
// src/types/generateRandomId.ts
|
|
343
|
-
var generateRandomId = /* @__PURE__ */ __name(() => Date.now() + Math.random(), "generateRandomId");
|
|
344
|
-
|
|
345
|
-
// src/hooks/useToast.ts
|
|
346
|
-
import { millisecondsInSecond } from "date-fns/constants";
|
|
347
|
-
var toastAtom = atom([]);
|
|
348
|
-
var useToast = /* @__PURE__ */ __name(() => {
|
|
349
|
-
const setToasts = useSetAtom(toastAtom);
|
|
350
|
-
return {
|
|
351
|
-
open: /* @__PURE__ */ __name((toast) => {
|
|
352
|
-
const toastId = generateRandomId();
|
|
353
|
-
const timer = toast.button ? millisecondsInSecond * 5 : millisecondsInSecond + 800;
|
|
354
|
-
const list = { toastId, timer, ...toast };
|
|
355
|
-
setToasts((prev) => [...prev, list]);
|
|
356
|
-
return { toastId };
|
|
357
|
-
}, "open"),
|
|
358
|
-
endLoading: /* @__PURE__ */ __name((toastId) => {
|
|
359
|
-
setToasts((prev) => {
|
|
360
|
-
return prev.map((list) => {
|
|
361
|
-
return { ...list, isLoading: list.toastId === toastId ? false : list.isLoading };
|
|
362
|
-
});
|
|
363
|
-
});
|
|
364
|
-
}, "endLoading"),
|
|
365
|
-
setMessage: /* @__PURE__ */ __name((toastId, message) => {
|
|
366
|
-
setToasts((prev) => {
|
|
367
|
-
return prev.map((list) => {
|
|
368
|
-
return { ...list, message: list.toastId === toastId ? message : list.message };
|
|
369
|
-
});
|
|
370
|
-
});
|
|
371
|
-
}, "setMessage")
|
|
372
|
-
};
|
|
373
|
-
}, "useToast");
|
|
374
|
-
|
|
375
339
|
// src/components/Toast/index.tsx
|
|
376
|
-
import {
|
|
340
|
+
import { toast as sonnerToast2, Toaster as SonnerToaster } from "sonner";
|
|
377
341
|
|
|
378
|
-
// src/components/Toast/
|
|
379
|
-
|
|
380
|
-
"Icon": "_Icon_5dhgy_25",
|
|
381
|
-
"TitleText": "_TitleText_5dhgy_31",
|
|
382
|
-
"ToastViewport": "_ToastViewport_5dhgy_36",
|
|
383
|
-
"ToastRoot": "_ToastRoot_5dhgy_60",
|
|
384
|
-
"ToastTitle": "_ToastTitle_5dhgy_76",
|
|
385
|
-
"slideIn": "_slideIn_5dhgy_1",
|
|
386
|
-
"hide": "_hide_5dhgy_1",
|
|
387
|
-
"swipeOut": "_swipeOut_5dhgy_1"
|
|
388
|
-
};
|
|
389
|
-
|
|
390
|
-
// src/components/Toast/index.tsx
|
|
391
|
-
import { useEffect, useRef, useState } from "react";
|
|
342
|
+
// src/components/Toast/ToastContent.tsx
|
|
343
|
+
import { toast as sonnerToast } from "sonner";
|
|
392
344
|
|
|
393
345
|
// src/components/Typography/Set/Paragraph.tsx
|
|
394
346
|
import clsx2 from "clsx";
|
|
@@ -421,582 +373,140 @@ var Paragraph = forwardRef2(
|
|
|
421
373
|
}
|
|
422
374
|
);
|
|
423
375
|
|
|
424
|
-
// src/components/Toast/
|
|
425
|
-
import {
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
},
|
|
456
|
-
r: { a: 0, k: 0, ix: 10 },
|
|
457
|
-
p: { a: 0, k: [40, 24, 0], ix: 2, l: 2 },
|
|
458
|
-
a: { a: 0, k: [40.25, 40.25, 0], ix: 1, l: 2 },
|
|
459
|
-
s: {
|
|
460
|
-
a: 1,
|
|
461
|
-
k: [
|
|
462
|
-
{
|
|
463
|
-
i: { x: [0.25, 0.25, 0.667], y: [1, 1, 1] },
|
|
464
|
-
o: { x: [0.5, 0.5, 0.333], y: [0, 0, 0] },
|
|
465
|
-
t: 0,
|
|
466
|
-
s: [12.5, 12.5, 100]
|
|
467
|
-
},
|
|
468
|
-
{
|
|
469
|
-
i: { x: [0.5, 0.5, 0.667], y: [1, 1, 1] },
|
|
470
|
-
o: { x: [0.5, 0.5, 0.333], y: [0, 0, 0] },
|
|
471
|
-
t: 40,
|
|
472
|
-
s: [10, 10, 100]
|
|
473
|
-
},
|
|
474
|
-
{ t: 60, s: [12.5, 12.5, 100] }
|
|
475
|
-
],
|
|
476
|
-
ix: 6,
|
|
477
|
-
l: 2
|
|
478
|
-
}
|
|
479
|
-
},
|
|
480
|
-
ao: 0,
|
|
481
|
-
shapes: [
|
|
482
|
-
{
|
|
483
|
-
ty: "gr",
|
|
484
|
-
it: [
|
|
485
|
-
{
|
|
486
|
-
ind: 0,
|
|
487
|
-
ty: "sh",
|
|
488
|
-
ix: 1,
|
|
489
|
-
ks: {
|
|
490
|
-
a: 0,
|
|
491
|
-
k: {
|
|
492
|
-
i: [
|
|
493
|
-
[-11.046, 0],
|
|
494
|
-
[0, 0],
|
|
495
|
-
[0, -11.046],
|
|
496
|
-
[0, 0],
|
|
497
|
-
[11.046, 0],
|
|
498
|
-
[0, 0],
|
|
499
|
-
[0, 11.046],
|
|
500
|
-
[0, 0]
|
|
501
|
-
],
|
|
502
|
-
o: [
|
|
503
|
-
[0, 0],
|
|
504
|
-
[11.046, 0],
|
|
505
|
-
[0, 0],
|
|
506
|
-
[0, 11.046],
|
|
507
|
-
[0, 0],
|
|
508
|
-
[-11.046, 0],
|
|
509
|
-
[0, 0],
|
|
510
|
-
[0, -11.046]
|
|
511
|
-
],
|
|
512
|
-
v: [
|
|
513
|
-
[-20, -40],
|
|
514
|
-
[20, -40],
|
|
515
|
-
[40, -20],
|
|
516
|
-
[40, 20],
|
|
517
|
-
[20, 40],
|
|
518
|
-
[-20, 40],
|
|
519
|
-
[-40, 20],
|
|
520
|
-
[-40, -20]
|
|
521
|
-
],
|
|
522
|
-
c: true
|
|
523
|
-
},
|
|
524
|
-
ix: 2
|
|
525
|
-
},
|
|
526
|
-
nm: "Path 1",
|
|
527
|
-
mn: "ADBE Vector Shape - Group",
|
|
528
|
-
hd: false
|
|
529
|
-
},
|
|
530
|
-
{
|
|
531
|
-
ty: "gr",
|
|
532
|
-
it: [
|
|
533
|
-
{
|
|
534
|
-
ty: "tr",
|
|
535
|
-
p: { a: 0, k: [0, 0], ix: 2 },
|
|
536
|
-
a: { a: 0, k: [0, 0], ix: 1 },
|
|
537
|
-
s: { a: 0, k: [100, 100], ix: 3 },
|
|
538
|
-
r: { a: 0, k: 0, ix: 6 },
|
|
539
|
-
o: { a: 0, k: 100, ix: 7 },
|
|
540
|
-
sk: { a: 0, k: 0, ix: 4 },
|
|
541
|
-
sa: { a: 0, k: 0, ix: 5 },
|
|
542
|
-
nm: "Transform"
|
|
543
|
-
}
|
|
544
|
-
],
|
|
545
|
-
nm: "Group 1",
|
|
546
|
-
np: 0,
|
|
547
|
-
cix: 2,
|
|
548
|
-
bm: 0,
|
|
549
|
-
ix: 2,
|
|
550
|
-
mn: "ADBE Vector Group",
|
|
551
|
-
hd: false
|
|
552
|
-
},
|
|
553
|
-
{ ty: "mm", mm: 4, nm: "Merge Paths 1", mn: "ADBE Vector Filter - Merge", hd: false },
|
|
554
|
-
{
|
|
555
|
-
ty: "fl",
|
|
556
|
-
c: { a: 0, k: [1, 1, 1, 1], ix: 4 },
|
|
557
|
-
o: { a: 0, k: 100, ix: 5 },
|
|
558
|
-
r: 1,
|
|
559
|
-
bm: 0,
|
|
560
|
-
nm: "Fill 1",
|
|
561
|
-
mn: "ADBE Vector Graphic - Fill",
|
|
562
|
-
hd: false
|
|
563
|
-
},
|
|
564
|
-
{
|
|
565
|
-
ty: "tr",
|
|
566
|
-
p: { a: 0, k: [40.25, 40.25], ix: 2 },
|
|
567
|
-
a: { a: 0, k: [0, 0], ix: 1 },
|
|
568
|
-
s: { a: 0, k: [100, 100], ix: 3 },
|
|
569
|
-
r: { a: 0, k: 0, ix: 6 },
|
|
570
|
-
o: { a: 0, k: 100, ix: 7 },
|
|
571
|
-
sk: { a: 0, k: 0, ix: 4 },
|
|
572
|
-
sa: { a: 0, k: 0, ix: 5 },
|
|
573
|
-
nm: "Transform"
|
|
574
|
-
}
|
|
575
|
-
],
|
|
576
|
-
nm: "Group 1",
|
|
577
|
-
np: 4,
|
|
578
|
-
cix: 2,
|
|
579
|
-
bm: 0,
|
|
580
|
-
ix: 1,
|
|
581
|
-
mn: "ADBE Vector Group",
|
|
582
|
-
hd: false
|
|
583
|
-
}
|
|
584
|
-
],
|
|
585
|
-
ip: 0,
|
|
586
|
-
op: 60,
|
|
587
|
-
st: 0,
|
|
588
|
-
bm: 0
|
|
589
|
-
},
|
|
590
|
-
{
|
|
591
|
-
ddd: 0,
|
|
592
|
-
ind: 2,
|
|
593
|
-
ty: 4,
|
|
594
|
-
nm: "Point 2",
|
|
595
|
-
sr: 1,
|
|
596
|
-
ks: {
|
|
597
|
-
o: {
|
|
598
|
-
a: 1,
|
|
599
|
-
k: [
|
|
600
|
-
{ i: { x: [0.466], y: [1] }, o: { x: [0.185], y: [0.563] }, t: 0, s: [85.479] },
|
|
601
|
-
{ i: { x: [0.5], y: [1] }, o: { x: [0.5], y: [0] }, t: 20, s: [100] },
|
|
602
|
-
{ i: { x: [0.666], y: [0.584] }, o: { x: [0.5], y: [0] }, t: 40, s: [50] },
|
|
603
|
-
{ t: 60, s: [85.479] }
|
|
604
|
-
],
|
|
605
|
-
ix: 11
|
|
606
|
-
},
|
|
607
|
-
r: { a: 0, k: 0, ix: 10 },
|
|
608
|
-
p: { a: 0, k: [24, 24, 0], ix: 2, l: 2 },
|
|
609
|
-
a: { a: 0, k: [40.25, 40.25, 0], ix: 1, l: 2 },
|
|
610
|
-
s: {
|
|
611
|
-
a: 1,
|
|
612
|
-
k: [
|
|
613
|
-
{
|
|
614
|
-
i: { x: [0.569, 0.569, 0.674], y: [1, 1, 1] },
|
|
615
|
-
o: { x: [0.248, 0.248, 0.337], y: [1.236, 1.236, 0] },
|
|
616
|
-
t: 0,
|
|
617
|
-
s: [10.24, 10.24, 100]
|
|
618
|
-
},
|
|
619
|
-
{
|
|
620
|
-
i: { x: [0.5, 0.5, 0.667], y: [1, 1, 1] },
|
|
621
|
-
o: { x: [0.5, 0.5, 0.333], y: [0, 0, 0] },
|
|
622
|
-
t: 20,
|
|
623
|
-
s: [10, 10, 100]
|
|
624
|
-
},
|
|
625
|
-
{
|
|
626
|
-
i: { x: [0.477, 0.477, 0.651], y: [0.723, 0.723, -3.226] },
|
|
627
|
-
o: { x: [0.606, 0.606, 0.301], y: [0, 0, 0] },
|
|
628
|
-
t: 40,
|
|
629
|
-
s: [12.5, 12.5, 100]
|
|
630
|
-
},
|
|
631
|
-
{ t: 60, s: [10.24, 10.24, 100] }
|
|
632
|
-
],
|
|
633
|
-
ix: 6,
|
|
634
|
-
l: 2
|
|
635
|
-
}
|
|
636
|
-
},
|
|
637
|
-
ao: 0,
|
|
638
|
-
shapes: [
|
|
639
|
-
{
|
|
640
|
-
ty: "gr",
|
|
641
|
-
it: [
|
|
642
|
-
{
|
|
643
|
-
ind: 0,
|
|
644
|
-
ty: "sh",
|
|
645
|
-
ix: 1,
|
|
646
|
-
ks: {
|
|
647
|
-
a: 0,
|
|
648
|
-
k: {
|
|
649
|
-
i: [
|
|
650
|
-
[-11.046, 0],
|
|
651
|
-
[0, 0],
|
|
652
|
-
[0, -11.046],
|
|
653
|
-
[0, 0],
|
|
654
|
-
[11.046, 0],
|
|
655
|
-
[0, 0],
|
|
656
|
-
[0, 11.046],
|
|
657
|
-
[0, 0]
|
|
658
|
-
],
|
|
659
|
-
o: [
|
|
660
|
-
[0, 0],
|
|
661
|
-
[11.046, 0],
|
|
662
|
-
[0, 0],
|
|
663
|
-
[0, 11.046],
|
|
664
|
-
[0, 0],
|
|
665
|
-
[-11.046, 0],
|
|
666
|
-
[0, 0],
|
|
667
|
-
[0, -11.046]
|
|
668
|
-
],
|
|
669
|
-
v: [
|
|
670
|
-
[-20, -40],
|
|
671
|
-
[20, -40],
|
|
672
|
-
[40, -20],
|
|
673
|
-
[40, 20],
|
|
674
|
-
[20, 40],
|
|
675
|
-
[-20, 40],
|
|
676
|
-
[-40, 20],
|
|
677
|
-
[-40, -20]
|
|
678
|
-
],
|
|
679
|
-
c: true
|
|
680
|
-
},
|
|
681
|
-
ix: 2
|
|
682
|
-
},
|
|
683
|
-
nm: "Path 1",
|
|
684
|
-
mn: "ADBE Vector Shape - Group",
|
|
685
|
-
hd: false
|
|
686
|
-
},
|
|
687
|
-
{
|
|
688
|
-
ty: "gr",
|
|
689
|
-
it: [
|
|
690
|
-
{
|
|
691
|
-
ty: "tr",
|
|
692
|
-
p: { a: 0, k: [0, 0], ix: 2 },
|
|
693
|
-
a: { a: 0, k: [0, 0], ix: 1 },
|
|
694
|
-
s: { a: 0, k: [100, 100], ix: 3 },
|
|
695
|
-
r: { a: 0, k: 0, ix: 6 },
|
|
696
|
-
o: { a: 0, k: 100, ix: 7 },
|
|
697
|
-
sk: { a: 0, k: 0, ix: 4 },
|
|
698
|
-
sa: { a: 0, k: 0, ix: 5 },
|
|
699
|
-
nm: "Transform"
|
|
700
|
-
}
|
|
701
|
-
],
|
|
702
|
-
nm: "Group 1",
|
|
703
|
-
np: 0,
|
|
704
|
-
cix: 2,
|
|
705
|
-
bm: 0,
|
|
706
|
-
ix: 2,
|
|
707
|
-
mn: "ADBE Vector Group",
|
|
708
|
-
hd: false
|
|
709
|
-
},
|
|
710
|
-
{ ty: "mm", mm: 4, nm: "Merge Paths 1", mn: "ADBE Vector Filter - Merge", hd: false },
|
|
711
|
-
{
|
|
712
|
-
ty: "fl",
|
|
713
|
-
c: { a: 0, k: [1, 1, 1, 1], ix: 4 },
|
|
714
|
-
o: { a: 0, k: 100, ix: 5 },
|
|
715
|
-
r: 1,
|
|
716
|
-
bm: 0,
|
|
717
|
-
nm: "Fill 1",
|
|
718
|
-
mn: "ADBE Vector Graphic - Fill",
|
|
719
|
-
hd: false
|
|
720
|
-
},
|
|
721
|
-
{
|
|
722
|
-
ty: "tr",
|
|
723
|
-
p: { a: 0, k: [40.25, 40.25], ix: 2 },
|
|
724
|
-
a: { a: 0, k: [0, 0], ix: 1 },
|
|
725
|
-
s: { a: 0, k: [100, 100], ix: 3 },
|
|
726
|
-
r: { a: 0, k: 0, ix: 6 },
|
|
727
|
-
o: { a: 0, k: 100, ix: 7 },
|
|
728
|
-
sk: { a: 0, k: 0, ix: 4 },
|
|
729
|
-
sa: { a: 0, k: 0, ix: 5 },
|
|
730
|
-
nm: "Transform"
|
|
731
|
-
}
|
|
732
|
-
],
|
|
733
|
-
nm: "Group 1",
|
|
734
|
-
np: 4,
|
|
735
|
-
cix: 2,
|
|
736
|
-
bm: 0,
|
|
737
|
-
ix: 1,
|
|
738
|
-
mn: "ADBE Vector Group",
|
|
739
|
-
hd: false
|
|
740
|
-
}
|
|
741
|
-
],
|
|
742
|
-
ip: 0,
|
|
743
|
-
op: 60,
|
|
744
|
-
st: -1,
|
|
745
|
-
bm: 0
|
|
746
|
-
},
|
|
376
|
+
// src/components/Toast/ToastContent.tsx
|
|
377
|
+
import {
|
|
378
|
+
IconCheckMarkFill,
|
|
379
|
+
IconCloseFill,
|
|
380
|
+
IconExclamationmarkFill
|
|
381
|
+
} from "@liner-fe/icon";
|
|
382
|
+
|
|
383
|
+
// src/components/Toast/style.module.scss
|
|
384
|
+
var style_module_default3 = {
|
|
385
|
+
"Root": "_Root_1el8w_1",
|
|
386
|
+
"Icon": "_Icon_1el8w_23",
|
|
387
|
+
"Content": "_Content_1el8w_32",
|
|
388
|
+
"Actions": "_Actions_1el8w_44",
|
|
389
|
+
"Spinner": "_Spinner_1el8w_51",
|
|
390
|
+
"lds-spinner": "_lds-spinner_1el8w_1"
|
|
391
|
+
};
|
|
392
|
+
|
|
393
|
+
// src/components/Toast/ToastContent.tsx
|
|
394
|
+
import { jsx as jsx4, jsxs as jsxs3 } from "react/jsx-runtime";
|
|
395
|
+
var iconMap = {
|
|
396
|
+
success: { icon: IconCheckMarkFill, props: { type: "function-label-positive" } },
|
|
397
|
+
error: { icon: IconCloseFill, props: { type: "function-label-negative" } },
|
|
398
|
+
caution: { icon: IconExclamationmarkFill, props: { type: "function-label-caution" } }
|
|
399
|
+
};
|
|
400
|
+
var SPINNER_SPOKE_COUNT = 12;
|
|
401
|
+
var LoadingSpinner = /* @__PURE__ */ __name(() => /* @__PURE__ */ jsx4("div", { className: style_module_default3.Spinner, children: Array.from({ length: SPINNER_SPOKE_COUNT }, (_, i) => /* @__PURE__ */ jsx4("div", {}, i)) }), "LoadingSpinner");
|
|
402
|
+
var isUrgent = /* @__PURE__ */ __name((type) => type === "error" || type === "caution", "isUrgent");
|
|
403
|
+
var ToastContent = /* @__PURE__ */ __name(({ toastId, title, description, type, action }) => {
|
|
404
|
+
const iconEntry = iconMap[type] ?? null;
|
|
405
|
+
return /* @__PURE__ */ jsxs3(
|
|
406
|
+
"div",
|
|
747
407
|
{
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
s: {
|
|
767
|
-
a: 1,
|
|
768
|
-
k: [
|
|
769
|
-
{
|
|
770
|
-
i: { x: [0.5, 0.5, 0.667], y: [1, 1, 1] },
|
|
771
|
-
o: { x: [0.5, 0.5, 0.333], y: [0, 0, 0] },
|
|
772
|
-
t: 0,
|
|
773
|
-
s: [10, 10, 100]
|
|
774
|
-
},
|
|
775
|
-
{
|
|
776
|
-
i: { x: [0.25, 0.25, 0.667], y: [1, 1, 1] },
|
|
777
|
-
o: { x: [0.5, 0.5, 0.333], y: [0, 0, 0] },
|
|
778
|
-
t: 20,
|
|
779
|
-
s: [12.5, 12.5, 100]
|
|
780
|
-
},
|
|
781
|
-
{ t: 60, s: [10, 10, 100] }
|
|
782
|
-
],
|
|
783
|
-
ix: 6,
|
|
784
|
-
l: 2
|
|
785
|
-
}
|
|
786
|
-
},
|
|
787
|
-
ao: 0,
|
|
788
|
-
shapes: [
|
|
789
|
-
{
|
|
790
|
-
ty: "gr",
|
|
791
|
-
it: [
|
|
792
|
-
{
|
|
793
|
-
ind: 0,
|
|
794
|
-
ty: "sh",
|
|
795
|
-
ix: 1,
|
|
796
|
-
ks: {
|
|
797
|
-
a: 0,
|
|
798
|
-
k: {
|
|
799
|
-
i: [
|
|
800
|
-
[-11.046, 0],
|
|
801
|
-
[0, 0],
|
|
802
|
-
[0, -11.046],
|
|
803
|
-
[0, 0],
|
|
804
|
-
[11.046, 0],
|
|
805
|
-
[0, 0],
|
|
806
|
-
[0, 11.046],
|
|
807
|
-
[0, 0]
|
|
808
|
-
],
|
|
809
|
-
o: [
|
|
810
|
-
[0, 0],
|
|
811
|
-
[11.046, 0],
|
|
812
|
-
[0, 0],
|
|
813
|
-
[0, 11.046],
|
|
814
|
-
[0, 0],
|
|
815
|
-
[-11.046, 0],
|
|
816
|
-
[0, 0],
|
|
817
|
-
[0, -11.046]
|
|
818
|
-
],
|
|
819
|
-
v: [
|
|
820
|
-
[-20, -40],
|
|
821
|
-
[20, -40],
|
|
822
|
-
[40, -20],
|
|
823
|
-
[40, 20],
|
|
824
|
-
[20, 40],
|
|
825
|
-
[-20, 40],
|
|
826
|
-
[-40, 20],
|
|
827
|
-
[-40, -20]
|
|
828
|
-
],
|
|
829
|
-
c: true
|
|
830
|
-
},
|
|
831
|
-
ix: 2
|
|
832
|
-
},
|
|
833
|
-
nm: "Path 1",
|
|
834
|
-
mn: "ADBE Vector Shape - Group",
|
|
835
|
-
hd: false
|
|
836
|
-
},
|
|
837
|
-
{
|
|
838
|
-
ty: "gr",
|
|
839
|
-
it: [
|
|
840
|
-
{
|
|
841
|
-
ty: "tr",
|
|
842
|
-
p: { a: 0, k: [0, 0], ix: 2 },
|
|
843
|
-
a: { a: 0, k: [0, 0], ix: 1 },
|
|
844
|
-
s: { a: 0, k: [100, 100], ix: 3 },
|
|
845
|
-
r: { a: 0, k: 0, ix: 6 },
|
|
846
|
-
o: { a: 0, k: 100, ix: 7 },
|
|
847
|
-
sk: { a: 0, k: 0, ix: 4 },
|
|
848
|
-
sa: { a: 0, k: 0, ix: 5 },
|
|
849
|
-
nm: "Transform"
|
|
850
|
-
}
|
|
851
|
-
],
|
|
852
|
-
nm: "Group 1",
|
|
853
|
-
np: 0,
|
|
854
|
-
cix: 2,
|
|
855
|
-
bm: 0,
|
|
856
|
-
ix: 2,
|
|
857
|
-
mn: "ADBE Vector Group",
|
|
858
|
-
hd: false
|
|
859
|
-
},
|
|
860
|
-
{ ty: "mm", mm: 4, nm: "Merge Paths 1", mn: "ADBE Vector Filter - Merge", hd: false },
|
|
861
|
-
{
|
|
862
|
-
ty: "fl",
|
|
863
|
-
c: { a: 0, k: [1, 1, 1, 1], ix: 4 },
|
|
864
|
-
o: { a: 0, k: 100, ix: 5 },
|
|
865
|
-
r: 1,
|
|
866
|
-
bm: 0,
|
|
867
|
-
nm: "Fill 1",
|
|
868
|
-
mn: "ADBE Vector Graphic - Fill",
|
|
869
|
-
hd: false
|
|
408
|
+
className: style_module_default3.Root,
|
|
409
|
+
role: isUrgent(type) ? "alert" : "status",
|
|
410
|
+
"aria-live": isUrgent(type) ? "assertive" : "polite",
|
|
411
|
+
"aria-atomic": "true",
|
|
412
|
+
children: [
|
|
413
|
+
type === "promise" ? /* @__PURE__ */ jsx4("i", { className: style_module_default3.Icon, children: /* @__PURE__ */ jsx4(LoadingSpinner, {}) }) : iconEntry ? /* @__PURE__ */ jsx4("i", { className: style_module_default3.Icon, children: /* @__PURE__ */ jsx4(iconEntry.icon, { ...iconEntry.props, size: "m" }) }) : null,
|
|
414
|
+
/* @__PURE__ */ jsxs3("div", { className: style_module_default3.Content, children: [
|
|
415
|
+
/* @__PURE__ */ jsx4(Paragraph, { type: "normal", weight: "medium", size: 3, color: "inverse-label-static-primary", children: title }),
|
|
416
|
+
description && /* @__PURE__ */ jsx4(Paragraph, { type: "normal", weight: "regular", size: 4, color: "inverse-label-static-secondary", children: description })
|
|
417
|
+
] }),
|
|
418
|
+
action && /* @__PURE__ */ jsx4("div", { className: style_module_default3.Actions, children: /* @__PURE__ */ jsx4(
|
|
419
|
+
Button,
|
|
420
|
+
{
|
|
421
|
+
level: "static",
|
|
422
|
+
size: "s",
|
|
423
|
+
onClick: () => {
|
|
424
|
+
action.onClick();
|
|
425
|
+
sonnerToast.dismiss(toastId);
|
|
870
426
|
},
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
s: { a: 0, k: [100, 100], ix: 3 },
|
|
876
|
-
r: { a: 0, k: 0, ix: 6 },
|
|
877
|
-
o: { a: 0, k: 100, ix: 7 },
|
|
878
|
-
sk: { a: 0, k: 0, ix: 4 },
|
|
879
|
-
sa: { a: 0, k: 0, ix: 5 },
|
|
880
|
-
nm: "Transform"
|
|
881
|
-
}
|
|
882
|
-
],
|
|
883
|
-
nm: "Group 1",
|
|
884
|
-
np: 4,
|
|
885
|
-
cix: 2,
|
|
886
|
-
bm: 0,
|
|
887
|
-
ix: 1,
|
|
888
|
-
mn: "ADBE Vector Group",
|
|
889
|
-
hd: false
|
|
890
|
-
}
|
|
891
|
-
],
|
|
892
|
-
ip: 0,
|
|
893
|
-
op: 60,
|
|
894
|
-
st: 0,
|
|
895
|
-
bm: 0
|
|
427
|
+
children: action.label
|
|
428
|
+
}
|
|
429
|
+
) })
|
|
430
|
+
]
|
|
896
431
|
}
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
};
|
|
432
|
+
);
|
|
433
|
+
}, "ToastContent");
|
|
900
434
|
|
|
901
435
|
// src/components/Toast/index.tsx
|
|
902
|
-
import {
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
] });
|
|
915
|
-
}, "Toaster");
|
|
916
|
-
var SingleToast = /* @__PURE__ */ __name((props) => {
|
|
917
|
-
const setToast = useSetAtom2(toastAtom);
|
|
918
|
-
const timerRef = useRef(void 0);
|
|
919
|
-
const { message, icon, button, timer, toastId, isLoading } = props;
|
|
920
|
-
const [isOpen, setIsOpen] = useState(true);
|
|
921
|
-
const lottieRef = useRef(null);
|
|
922
|
-
const toastSuccess = useRef(false);
|
|
923
|
-
const removeToast = /* @__PURE__ */ __name(() => {
|
|
924
|
-
setToast((prev) => prev.filter((toast) => toast.toastId !== toastId));
|
|
925
|
-
timerRef.current && clearTimeout(timerRef.current);
|
|
926
|
-
}, "removeToast");
|
|
927
|
-
useEffect(() => {
|
|
928
|
-
if (isLoading && !toastSuccess.current) {
|
|
929
|
-
if (lottieRef.current) {
|
|
930
|
-
Lottie.loadAnimation({
|
|
931
|
-
container: lottieRef.current,
|
|
932
|
-
renderer: "svg",
|
|
933
|
-
loop: true,
|
|
934
|
-
autoplay: true,
|
|
935
|
-
animationData: loading_default
|
|
936
|
-
});
|
|
436
|
+
import { jsx as jsx5 } from "react/jsx-runtime";
|
|
437
|
+
var DEFAULT_TOAST_DURATION = 4e3;
|
|
438
|
+
var createCustomToast = /* @__PURE__ */ __name((title, type, options) => {
|
|
439
|
+
return sonnerToast2.custom(
|
|
440
|
+
(toastId) => /* @__PURE__ */ jsx5(
|
|
441
|
+
ToastContent,
|
|
442
|
+
{
|
|
443
|
+
toastId,
|
|
444
|
+
title,
|
|
445
|
+
description: options?.description,
|
|
446
|
+
type,
|
|
447
|
+
action: options?.action
|
|
937
448
|
}
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
}, timer);
|
|
947
|
-
return () => {
|
|
948
|
-
clearTimeout(preCloseTimeout);
|
|
949
|
-
clearTimeout(timerRef.current);
|
|
950
|
-
};
|
|
449
|
+
),
|
|
450
|
+
{
|
|
451
|
+
// sonner v2.0.7 의 `this.custom({ jsx, id, ...data })` spread 순서 이슈 회피:
|
|
452
|
+
// `id: undefined` 를 명시적으로 전달하면 sonner 가 자체 생성한 id 를 덮어써
|
|
453
|
+
// 외부 반환값과 내부 저장값이 어긋남 → 후속 dismiss/update 동작 실패.
|
|
454
|
+
// id 가 정의된 경우에만 포함시킨다.
|
|
455
|
+
...options?.id !== void 0 && { id: options.id },
|
|
456
|
+
duration: options?.duration ?? DEFAULT_TOAST_DURATION
|
|
951
457
|
}
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
458
|
+
);
|
|
459
|
+
}, "createCustomToast");
|
|
460
|
+
var promiseToast = /* @__PURE__ */ __name((promise, options) => {
|
|
461
|
+
let dismissed = false;
|
|
462
|
+
const id = sonnerToast2.custom(
|
|
463
|
+
(toastId) => /* @__PURE__ */ jsx5(
|
|
464
|
+
ToastContent,
|
|
465
|
+
{
|
|
466
|
+
toastId,
|
|
467
|
+
title: options.loading,
|
|
468
|
+
description: options.description,
|
|
469
|
+
type: "promise"
|
|
470
|
+
}
|
|
471
|
+
),
|
|
472
|
+
{
|
|
473
|
+
duration: Infinity,
|
|
474
|
+
onDismiss: /* @__PURE__ */ __name(() => {
|
|
475
|
+
dismissed = true;
|
|
476
|
+
}, "onDismiss")
|
|
477
|
+
}
|
|
478
|
+
);
|
|
479
|
+
promise.then((data) => {
|
|
480
|
+
if (dismissed) return;
|
|
481
|
+
const title = typeof options.success === "function" ? options.success(data) : options.success;
|
|
482
|
+
createCustomToast(title, "success", { id, duration: DEFAULT_TOAST_DURATION });
|
|
483
|
+
}).catch((error) => {
|
|
484
|
+
if (dismissed) return;
|
|
485
|
+
const title = typeof options.error === "function" ? options.error(error) : options.error;
|
|
486
|
+
createCustomToast(title, "error", { id, duration: DEFAULT_TOAST_DURATION });
|
|
487
|
+
});
|
|
488
|
+
return id;
|
|
489
|
+
}, "promiseToast");
|
|
490
|
+
var toast = Object.assign(
|
|
491
|
+
(title, options) => createCustomToast(title, "default", options),
|
|
492
|
+
{
|
|
493
|
+
success: /* @__PURE__ */ __name((title, options) => createCustomToast(title, "success", options), "success"),
|
|
494
|
+
error: /* @__PURE__ */ __name((title, options) => createCustomToast(title, "error", options), "error"),
|
|
495
|
+
caution: /* @__PURE__ */ __name((title, options) => createCustomToast(title, "caution", options), "caution"),
|
|
496
|
+
promise: promiseToast,
|
|
497
|
+
dismiss: sonnerToast2.dismiss
|
|
498
|
+
}
|
|
499
|
+
);
|
|
500
|
+
var Toaster = /* @__PURE__ */ __name(() => /* @__PURE__ */ jsx5(SonnerToaster, { position: "top-center", gap: 8, offset: 29 }), "Toaster");
|
|
991
501
|
|
|
992
502
|
// src/components/Typography/Set/Heading.tsx
|
|
993
503
|
import { forwardRef as forwardRef3 } from "react";
|
|
994
504
|
import clsx3 from "clsx";
|
|
995
|
-
import { jsx as
|
|
505
|
+
import { jsx as jsx6 } from "react/jsx-runtime";
|
|
996
506
|
var Heading = forwardRef3(
|
|
997
507
|
({ size, children, type, className, color = "neutral-label-primary", as, ...rest }, ref) => {
|
|
998
508
|
const Element = as || `h${size}`;
|
|
999
|
-
return /* @__PURE__ */
|
|
509
|
+
return /* @__PURE__ */ jsx6(
|
|
1000
510
|
Element,
|
|
1001
511
|
{
|
|
1002
512
|
...rest,
|
|
@@ -1023,7 +533,7 @@ var style_module_default4 = {
|
|
|
1023
533
|
|
|
1024
534
|
// src/components/Typography/Set/Caption.tsx
|
|
1025
535
|
import { forwardRef as forwardRef4 } from "react";
|
|
1026
|
-
import { jsx as
|
|
536
|
+
import { jsx as jsx7 } from "react/jsx-runtime";
|
|
1027
537
|
var Caption = forwardRef4(
|
|
1028
538
|
({
|
|
1029
539
|
children,
|
|
@@ -1035,7 +545,7 @@ var Caption = forwardRef4(
|
|
|
1035
545
|
as: Element = "p",
|
|
1036
546
|
...rest
|
|
1037
547
|
}, ref) => {
|
|
1038
|
-
return /* @__PURE__ */
|
|
548
|
+
return /* @__PURE__ */ jsx7(
|
|
1039
549
|
Element,
|
|
1040
550
|
{
|
|
1041
551
|
...rest,
|
|
@@ -1055,8 +565,8 @@ Caption.displayName = "Caption";
|
|
|
1055
565
|
// src/components/Typography/Set/Title.tsx
|
|
1056
566
|
import { forwardRef as forwardRef5 } from "react";
|
|
1057
567
|
import clsx5 from "clsx";
|
|
1058
|
-
import { jsx as
|
|
1059
|
-
var
|
|
568
|
+
import { jsx as jsx8 } from "react/jsx-runtime";
|
|
569
|
+
var Title = forwardRef5(
|
|
1060
570
|
({
|
|
1061
571
|
weight,
|
|
1062
572
|
size,
|
|
@@ -1067,7 +577,7 @@ var Title2 = forwardRef5(
|
|
|
1067
577
|
as: Element = "p",
|
|
1068
578
|
...rest
|
|
1069
579
|
}, ref) => {
|
|
1070
|
-
return /* @__PURE__ */
|
|
580
|
+
return /* @__PURE__ */ jsx8(
|
|
1071
581
|
Element,
|
|
1072
582
|
{
|
|
1073
583
|
...rest,
|
|
@@ -1086,7 +596,7 @@ var Title2 = forwardRef5(
|
|
|
1086
596
|
// src/components/Typography/Set/Display.tsx
|
|
1087
597
|
import clsx6 from "clsx";
|
|
1088
598
|
import { forwardRef as forwardRef6 } from "react";
|
|
1089
|
-
import { jsx as
|
|
599
|
+
import { jsx as jsx9 } from "react/jsx-runtime";
|
|
1090
600
|
var Display = forwardRef6(
|
|
1091
601
|
({
|
|
1092
602
|
size,
|
|
@@ -1098,7 +608,7 @@ var Display = forwardRef6(
|
|
|
1098
608
|
as: Element = "p",
|
|
1099
609
|
...rest
|
|
1100
610
|
}, ref) => {
|
|
1101
|
-
return /* @__PURE__ */
|
|
611
|
+
return /* @__PURE__ */ jsx9(
|
|
1102
612
|
Element,
|
|
1103
613
|
{
|
|
1104
614
|
...rest,
|
|
@@ -1135,8 +645,8 @@ var rootMediaStyle = AppMedia.createMediaStyle();
|
|
|
1135
645
|
var { MediaContextProvider, Media } = AppMedia;
|
|
1136
646
|
|
|
1137
647
|
// src/components/Typography/Responsive/index.tsx
|
|
1138
|
-
import { Fragment as Fragment2, jsx as
|
|
1139
|
-
import { createElement
|
|
648
|
+
import { Fragment as Fragment2, jsx as jsx10 } from "react/jsx-runtime";
|
|
649
|
+
import { createElement } from "react";
|
|
1140
650
|
var TypographyImpl = /* @__PURE__ */ __name(({ level, text, ...rest }) => {
|
|
1141
651
|
const commonProps = {
|
|
1142
652
|
...rest,
|
|
@@ -1144,15 +654,15 @@ var TypographyImpl = /* @__PURE__ */ __name(({ level, text, ...rest }) => {
|
|
|
1144
654
|
};
|
|
1145
655
|
switch (level) {
|
|
1146
656
|
case "caption":
|
|
1147
|
-
return /* @__PURE__ */
|
|
657
|
+
return /* @__PURE__ */ jsx10(Caption, { ...commonProps });
|
|
1148
658
|
case "heading":
|
|
1149
|
-
return /* @__PURE__ */
|
|
659
|
+
return /* @__PURE__ */ jsx10(Heading, { ...commonProps });
|
|
1150
660
|
case "paragraph":
|
|
1151
|
-
return /* @__PURE__ */
|
|
661
|
+
return /* @__PURE__ */ jsx10(Paragraph, { ...commonProps });
|
|
1152
662
|
case "title":
|
|
1153
|
-
return /* @__PURE__ */
|
|
663
|
+
return /* @__PURE__ */ jsx10(Title, { ...commonProps });
|
|
1154
664
|
case "display":
|
|
1155
|
-
return /* @__PURE__ */
|
|
665
|
+
return /* @__PURE__ */ jsx10(Display, { ...commonProps });
|
|
1156
666
|
default:
|
|
1157
667
|
return null;
|
|
1158
668
|
}
|
|
@@ -1193,11 +703,11 @@ var Typography = /* @__PURE__ */ __name((props) => {
|
|
|
1193
703
|
}, "createMediaProps");
|
|
1194
704
|
return (
|
|
1195
705
|
// Fragment없이도 원래 동작해야하는데 liner-web에서 JSX.Element가 배열로 오면 에러 띄워서 임시로 Fragment로 래핑합니다.
|
|
1196
|
-
/* @__PURE__ */
|
|
706
|
+
/* @__PURE__ */ jsx10(Fragment2, { children: breakPointKeyArray.map((breakPointKey) => {
|
|
1197
707
|
const variable = props[breakPointKey];
|
|
1198
708
|
const isExistVariable = !!variable;
|
|
1199
709
|
if (isExistVariable) {
|
|
1200
|
-
return /* @__PURE__ */
|
|
710
|
+
return /* @__PURE__ */ createElement(Media, { ...createMediaProps(breakPointKey), key: breakPointKey }, /* @__PURE__ */ jsx10(TypographyImpl, { ...variable, text: variable.text || children }));
|
|
1201
711
|
}
|
|
1202
712
|
return null;
|
|
1203
713
|
}) })
|
|
@@ -1228,8 +738,8 @@ var style_module_default5 = {
|
|
|
1228
738
|
// src/components/Popover/index.tsx
|
|
1229
739
|
import { cva as cva3 } from "cva";
|
|
1230
740
|
import { clsx as clsx7 } from "clsx";
|
|
1231
|
-
import { IconCloseFill } from "@liner-fe/icon";
|
|
1232
|
-
import { Fragment as Fragment3, jsx as
|
|
741
|
+
import { IconCloseFill as IconCloseFill2 } from "@liner-fe/icon";
|
|
742
|
+
import { Fragment as Fragment3, jsx as jsx11, jsxs as jsxs4 } from "react/jsx-runtime";
|
|
1233
743
|
var DEFAULT_OFFSET = -6;
|
|
1234
744
|
var popoverVariants = cva3({
|
|
1235
745
|
base: style_module_default5.content,
|
|
@@ -1255,9 +765,9 @@ var popoverDescriptionVariants = cva3({
|
|
|
1255
765
|
base: [style_module_default5.description, "lp-sys-typo-caption1-normal-regular"]
|
|
1256
766
|
});
|
|
1257
767
|
var popoverFooterVariants = cva3({ base: [style_module_default5.footer, "lp-sys-typo-caption1-normal-medium"] });
|
|
1258
|
-
var PopoverRoot = /* @__PURE__ */ __name(({ isOpen, children, onChange }) => /* @__PURE__ */
|
|
1259
|
-
var PopoverTrigger = /* @__PURE__ */ __name(({ by }) => /* @__PURE__ */
|
|
1260
|
-
var PopoverAnchor = /* @__PURE__ */ __name(({ className }) => /* @__PURE__ */
|
|
768
|
+
var PopoverRoot = /* @__PURE__ */ __name(({ isOpen, children, onChange }) => /* @__PURE__ */ jsx11(PopoverPrimitive.Root, { open: isOpen, onOpenChange: onChange, children }), "PopoverRoot");
|
|
769
|
+
var PopoverTrigger = /* @__PURE__ */ __name(({ by }) => /* @__PURE__ */ jsx11(PopoverPrimitive.Trigger, { asChild: true, children: by }), "PopoverTrigger");
|
|
770
|
+
var PopoverAnchor = /* @__PURE__ */ __name(({ className }) => /* @__PURE__ */ jsx11(
|
|
1261
771
|
"svg",
|
|
1262
772
|
{
|
|
1263
773
|
className,
|
|
@@ -1266,7 +776,7 @@ var PopoverAnchor = /* @__PURE__ */ __name(({ className }) => /* @__PURE__ */ js
|
|
|
1266
776
|
height: "10",
|
|
1267
777
|
viewBox: "0 0 30 10",
|
|
1268
778
|
fill: "none",
|
|
1269
|
-
children: /* @__PURE__ */
|
|
779
|
+
children: /* @__PURE__ */ jsx11(
|
|
1270
780
|
"path",
|
|
1271
781
|
{
|
|
1272
782
|
fillRule: "evenodd",
|
|
@@ -1295,7 +805,7 @@ var PopoverContent = React3.forwardRef(
|
|
|
1295
805
|
children,
|
|
1296
806
|
container,
|
|
1297
807
|
...props
|
|
1298
|
-
}, ref) => /* @__PURE__ */
|
|
808
|
+
}, ref) => /* @__PURE__ */ jsx11(PopoverPrimitive.Portal, { container, children: /* @__PURE__ */ jsxs4(Fragment3, { children: [
|
|
1299
809
|
/* @__PURE__ */ jsxs4(
|
|
1300
810
|
PopoverPrimitive.Content,
|
|
1301
811
|
{
|
|
@@ -1309,22 +819,22 @@ var PopoverContent = React3.forwardRef(
|
|
|
1309
819
|
children: [
|
|
1310
820
|
/* @__PURE__ */ jsxs4("div", { className: style_module_default5.contentContainer, children: [
|
|
1311
821
|
(tag || icon || onClose) && /* @__PURE__ */ jsxs4("div", { className: style_module_default5.heading, children: [
|
|
1312
|
-
tag && /* @__PURE__ */
|
|
1313
|
-
icon && /* @__PURE__ */
|
|
1314
|
-
/* @__PURE__ */
|
|
1315
|
-
onClose && /* @__PURE__ */
|
|
822
|
+
tag && /* @__PURE__ */ jsx11("span", { className: popoverTagVariants(), children: tag }),
|
|
823
|
+
icon && /* @__PURE__ */ jsx11(icon.icon, { size: "xs", fill: icon.fill }),
|
|
824
|
+
/* @__PURE__ */ jsx11("p", { className: popoverTitleVariants(), children: title }),
|
|
825
|
+
onClose && /* @__PURE__ */ jsx11(
|
|
1316
826
|
PopoverPrimitive.PopoverClose,
|
|
1317
827
|
{
|
|
1318
828
|
className: style_module_default5.closeButton,
|
|
1319
829
|
onClick: () => {
|
|
1320
830
|
onClose();
|
|
1321
831
|
},
|
|
1322
|
-
children: /* @__PURE__ */
|
|
832
|
+
children: /* @__PURE__ */ jsx11(IconCloseFill2, { size: "s", fill: true, type: "neutral-label-static-primary" })
|
|
1323
833
|
}
|
|
1324
834
|
)
|
|
1325
835
|
] }),
|
|
1326
|
-
description && /* @__PURE__ */
|
|
1327
|
-
onConfirm && /* @__PURE__ */
|
|
836
|
+
description && /* @__PURE__ */ jsx11("p", { className: popoverDescriptionVariants(), children: description }),
|
|
837
|
+
onConfirm && /* @__PURE__ */ jsx11("div", { className: popoverFooterVariants(), children: /* @__PURE__ */ jsx11(
|
|
1328
838
|
Button,
|
|
1329
839
|
{
|
|
1330
840
|
level: "static",
|
|
@@ -1337,11 +847,11 @@ var PopoverContent = React3.forwardRef(
|
|
|
1337
847
|
) }),
|
|
1338
848
|
children
|
|
1339
849
|
] }),
|
|
1340
|
-
/* @__PURE__ */
|
|
850
|
+
/* @__PURE__ */ jsx11(PopoverPrimitive.Arrow, { asChild: true, children: /* @__PURE__ */ jsx11(PopoverAnchor, { className: clsx7(popoverAnchorVariants({ level })) }) })
|
|
1341
851
|
]
|
|
1342
852
|
}
|
|
1343
853
|
),
|
|
1344
|
-
isOverlay && /* @__PURE__ */
|
|
854
|
+
isOverlay && /* @__PURE__ */ jsx11("div", { "data-radix-popper-overlay": true, className: style_module_default5.overlay })
|
|
1345
855
|
] }) })
|
|
1346
856
|
);
|
|
1347
857
|
var Popover = Object.assign(PopoverRoot, {
|
|
@@ -1364,12 +874,12 @@ var style_module_default6 = {
|
|
|
1364
874
|
// src/components/Tooltip/index.tsx
|
|
1365
875
|
import { cva as cva4 } from "cva";
|
|
1366
876
|
import clsx8 from "clsx";
|
|
1367
|
-
import { jsx as
|
|
877
|
+
import { jsx as jsx12 } from "react/jsx-runtime";
|
|
1368
878
|
var DEFAULT_OFFSET2 = "medium";
|
|
1369
879
|
var tooltipVariants = cva4({ base: [style_module_default6.tooltip, "lp-sys-typo-caption1-normal-medium"] });
|
|
1370
880
|
var TooltipProvider = TooltipPrimitive.Provider;
|
|
1371
|
-
var TooltipRoot = /* @__PURE__ */ __name(({ children, ...props }) => /* @__PURE__ */
|
|
1372
|
-
var TooltipTrigger = /* @__PURE__ */ __name(({ by }) => /* @__PURE__ */
|
|
881
|
+
var TooltipRoot = /* @__PURE__ */ __name(({ children, ...props }) => /* @__PURE__ */ jsx12(TooltipPrimitive.Root, { delayDuration: 0, ...props, children }), "TooltipRoot");
|
|
882
|
+
var TooltipTrigger = /* @__PURE__ */ __name(({ by }) => /* @__PURE__ */ jsx12(TooltipPrimitive.Trigger, { asChild: true, children: by }), "TooltipTrigger");
|
|
1373
883
|
var TooltipContent = forwardRef8(
|
|
1374
884
|
({
|
|
1375
885
|
description,
|
|
@@ -1378,7 +888,7 @@ var TooltipContent = forwardRef8(
|
|
|
1378
888
|
offset = DEFAULT_OFFSET2,
|
|
1379
889
|
collisionPadding,
|
|
1380
890
|
...props
|
|
1381
|
-
}, ref) => /* @__PURE__ */
|
|
891
|
+
}, ref) => /* @__PURE__ */ jsx12(
|
|
1382
892
|
TooltipPrimitive.Content,
|
|
1383
893
|
{
|
|
1384
894
|
ref,
|
|
@@ -1387,7 +897,7 @@ var TooltipContent = forwardRef8(
|
|
|
1387
897
|
collisionPadding,
|
|
1388
898
|
className: clsx8(tooltipVariants(), className),
|
|
1389
899
|
...props,
|
|
1390
|
-
children: /* @__PURE__ */
|
|
900
|
+
children: /* @__PURE__ */ jsx12("p", { className: style_module_default6.tooltipContent, children: description })
|
|
1391
901
|
}
|
|
1392
902
|
)
|
|
1393
903
|
);
|
|
@@ -1421,7 +931,7 @@ var style_module_default7 = {
|
|
|
1421
931
|
|
|
1422
932
|
// src/components/IconButton/index.tsx
|
|
1423
933
|
import { Slot as SlotPrimitive } from "radix-ui";
|
|
1424
|
-
import { jsx as
|
|
934
|
+
import { jsx as jsx13 } from "react/jsx-runtime";
|
|
1425
935
|
var { Slot } = SlotPrimitive;
|
|
1426
936
|
var ICON_SIZE_OPTIONS = ["l", "m", "s"];
|
|
1427
937
|
var ICON_LEVEL_OPTIONS = [
|
|
@@ -1507,7 +1017,7 @@ var IconButton = forwardRef9(
|
|
|
1507
1017
|
...rest
|
|
1508
1018
|
}, ref) => {
|
|
1509
1019
|
const Comp = asChild ? Slot : "button";
|
|
1510
|
-
return /* @__PURE__ */
|
|
1020
|
+
return /* @__PURE__ */ jsx13(
|
|
1511
1021
|
Comp,
|
|
1512
1022
|
{
|
|
1513
1023
|
...rest,
|
|
@@ -1519,13 +1029,13 @@ var IconButton = forwardRef9(
|
|
|
1519
1029
|
ref,
|
|
1520
1030
|
disabled: disabled || isLoading,
|
|
1521
1031
|
role: "button",
|
|
1522
|
-
children: isLoading ? /* @__PURE__ */
|
|
1032
|
+
children: isLoading ? /* @__PURE__ */ jsx13(
|
|
1523
1033
|
Loading,
|
|
1524
1034
|
{
|
|
1525
1035
|
size: iconButtonSizeIconSizeMap[size],
|
|
1526
1036
|
level: iconButtonLoadingLevelMap[level]
|
|
1527
1037
|
}
|
|
1528
|
-
) : /* @__PURE__ */
|
|
1038
|
+
) : /* @__PURE__ */ jsx13(
|
|
1529
1039
|
icon.icon,
|
|
1530
1040
|
{
|
|
1531
1041
|
size: iconButtonSizeIconSizeMap[size],
|
|
@@ -1581,7 +1091,7 @@ var style_module_default9 = {
|
|
|
1581
1091
|
|
|
1582
1092
|
// src/components/Label/index.tsx
|
|
1583
1093
|
import { cva as cva6 } from "cva";
|
|
1584
|
-
import { jsx as
|
|
1094
|
+
import { jsx as jsx14 } from "react/jsx-runtime";
|
|
1585
1095
|
var defaultLabelVariants = cva6({
|
|
1586
1096
|
base: ["lp-sys-typo-paragraph2-normal-medium", style_module_default9.label],
|
|
1587
1097
|
variants: {
|
|
@@ -1622,7 +1132,7 @@ var Label = forwardRef10(
|
|
|
1622
1132
|
error = false,
|
|
1623
1133
|
...props
|
|
1624
1134
|
}, ref) => {
|
|
1625
|
-
return /* @__PURE__ */
|
|
1135
|
+
return /* @__PURE__ */ jsx14(
|
|
1626
1136
|
LabelPrimitive.Root,
|
|
1627
1137
|
{
|
|
1628
1138
|
ref,
|
|
@@ -1639,19 +1149,19 @@ Label.displayName = "Label";
|
|
|
1639
1149
|
|
|
1640
1150
|
// src/components/CheckBox/index.tsx
|
|
1641
1151
|
import { IconCheckMark, IconMinus } from "@liner-fe/icon";
|
|
1642
|
-
import { Fragment as Fragment4, jsx as
|
|
1152
|
+
import { Fragment as Fragment4, jsx as jsx15, jsxs as jsxs5 } from "react/jsx-runtime";
|
|
1643
1153
|
var Checkbox = forwardRef11(
|
|
1644
1154
|
({ className, label, description, ...props }, ref) => {
|
|
1645
1155
|
const CheckboxWrapper = /* @__PURE__ */ __name(({ children }) => label ? /* @__PURE__ */ jsxs5(Label, { position: "right", htmlFor: props.id, children: [
|
|
1646
1156
|
/* @__PURE__ */ jsxs5("div", { className: style_module_default8["label-wrapper"], children: [
|
|
1647
|
-
/* @__PURE__ */
|
|
1648
|
-
description && /* @__PURE__ */
|
|
1157
|
+
/* @__PURE__ */ jsx15(Paragraph, { type: "normal", weight: "medium", size: 3, children: label }),
|
|
1158
|
+
description && /* @__PURE__ */ jsx15(Paragraph, { className: style_module_default8.description, size: 3, type: "normal", weight: "regular", children: description })
|
|
1649
1159
|
] }),
|
|
1650
1160
|
children
|
|
1651
|
-
] }) : /* @__PURE__ */
|
|
1652
|
-
return /* @__PURE__ */
|
|
1653
|
-
/* @__PURE__ */
|
|
1654
|
-
/* @__PURE__ */
|
|
1161
|
+
] }) : /* @__PURE__ */ jsx15(Fragment4, { children }), "CheckboxWrapper");
|
|
1162
|
+
return /* @__PURE__ */ jsx15(CheckboxWrapper, { children: /* @__PURE__ */ jsx15(CheckboxPrimitive.Root, { className: clsx11(style_module_default8.checkbox, className), ref, ...props, children: /* @__PURE__ */ jsxs5(CheckboxPrimitive.Indicator, { className: style_module_default8["checkbox-indicator"], children: [
|
|
1163
|
+
/* @__PURE__ */ jsx15(IconCheckMark, { size: "xs", type: "inverse-label-primary", className: style_module_default8["icon-check"] }),
|
|
1164
|
+
/* @__PURE__ */ jsx15(IconMinus, { size: "xs", type: "inverse-label-primary", className: style_module_default8["icon-minus"] })
|
|
1655
1165
|
] }) }) });
|
|
1656
1166
|
}
|
|
1657
1167
|
);
|
|
@@ -1670,27 +1180,27 @@ var style_module_default10 = {
|
|
|
1670
1180
|
};
|
|
1671
1181
|
|
|
1672
1182
|
// src/components/Radio/index.tsx
|
|
1673
|
-
import { Fragment as Fragment5, jsx as
|
|
1674
|
-
var RadioIndicator = /* @__PURE__ */ __name(() => /* @__PURE__ */
|
|
1675
|
-
var RadioRoot = forwardRef12(({ className, ...props }, ref) => /* @__PURE__ */
|
|
1183
|
+
import { Fragment as Fragment5, jsx as jsx16, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
1184
|
+
var RadioIndicator = /* @__PURE__ */ __name(() => /* @__PURE__ */ jsx16("svg", { xmlns: "http://www.w3.org/2000/svg", width: "10", height: "10", viewBox: "0 0 10 10", fill: "none", children: /* @__PURE__ */ jsx16("circle", { cx: "5", cy: "5", r: "5", fill: "#313133" }) }), "RadioIndicator");
|
|
1185
|
+
var RadioRoot = forwardRef12(({ className, ...props }, ref) => /* @__PURE__ */ jsx16(RadioGroupPrimitive.Root, { ref, className, ...props }));
|
|
1676
1186
|
RadioRoot.displayName = "RadioRoot";
|
|
1677
1187
|
var RadioItem = forwardRef12(
|
|
1678
1188
|
({ className, label, description, ...props }, ref) => {
|
|
1679
1189
|
const RadioItemWrapper = /* @__PURE__ */ __name(({ children }) => label ? /* @__PURE__ */ jsxs6(Label, { position: "right", children: [
|
|
1680
1190
|
/* @__PURE__ */ jsxs6("div", { className: style_module_default10["label-wrapper"], children: [
|
|
1681
1191
|
label,
|
|
1682
|
-
description && /* @__PURE__ */
|
|
1192
|
+
description && /* @__PURE__ */ jsx16(Paragraph, { className: style_module_default10.description, size: 3, type: "normal", weight: "regular", children: description })
|
|
1683
1193
|
] }),
|
|
1684
1194
|
children
|
|
1685
|
-
] }) : /* @__PURE__ */
|
|
1686
|
-
return /* @__PURE__ */
|
|
1195
|
+
] }) : /* @__PURE__ */ jsx16(Fragment5, { children }), "RadioItemWrapper");
|
|
1196
|
+
return /* @__PURE__ */ jsx16(RadioItemWrapper, { children: /* @__PURE__ */ jsx16(
|
|
1687
1197
|
RadioGroupPrimitive.Item,
|
|
1688
1198
|
{
|
|
1689
1199
|
ref,
|
|
1690
1200
|
className: clsx12(style_module_default10["radio-item"], className),
|
|
1691
1201
|
...props,
|
|
1692
1202
|
"aria-label": label,
|
|
1693
|
-
children: /* @__PURE__ */
|
|
1203
|
+
children: /* @__PURE__ */ jsx16(RadioGroupPrimitive.Indicator, { className: style_module_default10.indicator, children: /* @__PURE__ */ jsx16(RadioIndicator, {}) })
|
|
1694
1204
|
}
|
|
1695
1205
|
) });
|
|
1696
1206
|
}
|
|
@@ -1705,8 +1215,8 @@ import {
|
|
|
1705
1215
|
forwardRef as forwardRef13,
|
|
1706
1216
|
useId,
|
|
1707
1217
|
useImperativeHandle,
|
|
1708
|
-
useRef
|
|
1709
|
-
useState
|
|
1218
|
+
useRef,
|
|
1219
|
+
useState
|
|
1710
1220
|
} from "react";
|
|
1711
1221
|
|
|
1712
1222
|
// src/components/Textfield/style.module.scss
|
|
@@ -1735,13 +1245,13 @@ var style_module_default11 = {
|
|
|
1735
1245
|
import { cva as cva7 } from "cva";
|
|
1736
1246
|
import clsx13 from "clsx";
|
|
1737
1247
|
import {
|
|
1738
|
-
IconCloseFill as
|
|
1739
|
-
IconExclamationmarkFill,
|
|
1248
|
+
IconCloseFill as IconCloseFill3,
|
|
1249
|
+
IconExclamationmarkFill as IconExclamationmarkFill2,
|
|
1740
1250
|
IconVisibility,
|
|
1741
1251
|
IconVisibilityOff
|
|
1742
1252
|
} from "@liner-fe/icon";
|
|
1743
1253
|
import { flushSync } from "react-dom";
|
|
1744
|
-
import { Fragment as Fragment6, jsx as
|
|
1254
|
+
import { Fragment as Fragment6, jsx as jsx17, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
1745
1255
|
var defaultTextfieldVariants = cva7({
|
|
1746
1256
|
base: style_module_default11.textfield,
|
|
1747
1257
|
variants: {
|
|
@@ -1767,9 +1277,9 @@ var Textfield = forwardRef13((props, ref) => {
|
|
|
1767
1277
|
onClear,
|
|
1768
1278
|
...rest
|
|
1769
1279
|
} = props;
|
|
1770
|
-
const inputRef =
|
|
1771
|
-
const [value, setValue] =
|
|
1772
|
-
const [deidentifiy, setDeidentifiy] =
|
|
1280
|
+
const inputRef = useRef(null);
|
|
1281
|
+
const [value, setValue] = useState("");
|
|
1282
|
+
const [deidentifiy, setDeidentifiy] = useState(true);
|
|
1773
1283
|
const isControlled = controlledValue !== void 0;
|
|
1774
1284
|
const isPassword = type === "password";
|
|
1775
1285
|
const isDeidentified = isPassword && deidentifiy;
|
|
@@ -1820,7 +1330,7 @@ var Textfield = forwardRef13((props, ref) => {
|
|
|
1820
1330
|
return "text";
|
|
1821
1331
|
})();
|
|
1822
1332
|
return /* @__PURE__ */ jsxs7("div", { className: style_module_default11["textfield-container"], "data-disabled": disabled, "data-error": !!error, children: [
|
|
1823
|
-
/* @__PURE__ */
|
|
1333
|
+
/* @__PURE__ */ jsx17(
|
|
1824
1334
|
"div",
|
|
1825
1335
|
{
|
|
1826
1336
|
className: clsx13(defaultTextfieldVariants({ color }), {
|
|
@@ -1828,7 +1338,7 @@ var Textfield = forwardRef13((props, ref) => {
|
|
|
1828
1338
|
}),
|
|
1829
1339
|
onClick: handleTextfieldClick,
|
|
1830
1340
|
children: /* @__PURE__ */ jsxs7("div", { className: style_module_default11["input-wrapper"], children: [
|
|
1831
|
-
/* @__PURE__ */
|
|
1341
|
+
/* @__PURE__ */ jsx17(
|
|
1832
1342
|
"input",
|
|
1833
1343
|
{
|
|
1834
1344
|
className: clsx13(style_module_default11.input, {
|
|
@@ -1843,7 +1353,7 @@ var Textfield = forwardRef13((props, ref) => {
|
|
|
1843
1353
|
...rest
|
|
1844
1354
|
}
|
|
1845
1355
|
),
|
|
1846
|
-
/* @__PURE__ */
|
|
1356
|
+
/* @__PURE__ */ jsx17(
|
|
1847
1357
|
Label,
|
|
1848
1358
|
{
|
|
1849
1359
|
className: clsx13(style_module_default11.label, {
|
|
@@ -1857,14 +1367,14 @@ var Textfield = forwardRef13((props, ref) => {
|
|
|
1857
1367
|
}
|
|
1858
1368
|
),
|
|
1859
1369
|
/* @__PURE__ */ jsxs7("div", { className: style_module_default11["input-action-buttons"], children: [
|
|
1860
|
-
textfieldValue && !disabled && /* @__PURE__ */
|
|
1370
|
+
textfieldValue && !disabled && /* @__PURE__ */ jsx17(
|
|
1861
1371
|
IconButton,
|
|
1862
1372
|
{
|
|
1863
1373
|
tabIndex: -1,
|
|
1864
1374
|
className: style_module_default11["action-button"],
|
|
1865
1375
|
level: "quinary",
|
|
1866
1376
|
icon: {
|
|
1867
|
-
icon:
|
|
1377
|
+
icon: IconCloseFill3,
|
|
1868
1378
|
size: "s"
|
|
1869
1379
|
},
|
|
1870
1380
|
type: "button",
|
|
@@ -1873,7 +1383,7 @@ var Textfield = forwardRef13((props, ref) => {
|
|
|
1873
1383
|
}
|
|
1874
1384
|
}
|
|
1875
1385
|
),
|
|
1876
|
-
isPassword && !disabled && /* @__PURE__ */
|
|
1386
|
+
isPassword && !disabled && /* @__PURE__ */ jsx17(
|
|
1877
1387
|
IconButton,
|
|
1878
1388
|
{
|
|
1879
1389
|
tabIndex: -1,
|
|
@@ -1890,15 +1400,15 @@ var Textfield = forwardRef13((props, ref) => {
|
|
|
1890
1400
|
}
|
|
1891
1401
|
}
|
|
1892
1402
|
),
|
|
1893
|
-
buttonProps && /* @__PURE__ */
|
|
1403
|
+
buttonProps && /* @__PURE__ */ jsx17(Button, { ...buttonProps, size: "m", type: "button" })
|
|
1894
1404
|
] })
|
|
1895
1405
|
] })
|
|
1896
1406
|
}
|
|
1897
1407
|
),
|
|
1898
1408
|
displayFooter && /* @__PURE__ */ jsxs7("div", { className: style_module_default11.footer, children: [
|
|
1899
|
-
/* @__PURE__ */
|
|
1900
|
-
/* @__PURE__ */
|
|
1901
|
-
/* @__PURE__ */
|
|
1409
|
+
/* @__PURE__ */ jsx17("div", { className: style_module_default11["error-wrapper"], children: error && /* @__PURE__ */ jsxs7(Fragment6, { children: [
|
|
1410
|
+
/* @__PURE__ */ jsx17(IconExclamationmarkFill2, { fill: true, size: "xs", type: "function-label-negative" }),
|
|
1411
|
+
/* @__PURE__ */ jsx17(
|
|
1902
1412
|
Caption,
|
|
1903
1413
|
{
|
|
1904
1414
|
size: 3,
|
|
@@ -1954,16 +1464,16 @@ var style_module_default12 = {
|
|
|
1954
1464
|
import { IconCheckMark as IconCheckMark2, IconDropDown } from "@liner-fe/icon";
|
|
1955
1465
|
import {
|
|
1956
1466
|
forwardRef as forwardRef14,
|
|
1957
|
-
useEffect
|
|
1958
|
-
useState as
|
|
1467
|
+
useEffect,
|
|
1468
|
+
useState as useState2
|
|
1959
1469
|
} from "react";
|
|
1960
1470
|
import clsx14 from "clsx";
|
|
1961
|
-
import { jsx as
|
|
1962
|
-
var Badge = /* @__PURE__ */ __name(({ children }) => /* @__PURE__ */
|
|
1471
|
+
import { jsx as jsx18, jsxs as jsxs8 } from "react/jsx-runtime";
|
|
1472
|
+
var Badge = /* @__PURE__ */ __name(({ children }) => /* @__PURE__ */ jsx18("div", { className: style_module_default12.badgeContainer, children: /* @__PURE__ */ jsx18(Caption, { className: style_module_default12.badge, size: 2, type: "normal", weight: "medium", children }) }), "Badge");
|
|
1963
1473
|
var SelectContent = forwardRef14(
|
|
1964
1474
|
(props, ref) => {
|
|
1965
1475
|
const { id, isResponsive, popSide, sideOffset, listLabel, children, container } = props;
|
|
1966
|
-
return /* @__PURE__ */
|
|
1476
|
+
return /* @__PURE__ */ jsx18(SelectPrimitive.Portal, { container, children: /* @__PURE__ */ jsx18(
|
|
1967
1477
|
SelectPrimitive.Content,
|
|
1968
1478
|
{
|
|
1969
1479
|
id: `select-content-${id}`,
|
|
@@ -1986,13 +1496,13 @@ var SelectContent = forwardRef14(
|
|
|
1986
1496
|
sideOffset,
|
|
1987
1497
|
avoidCollisions: false,
|
|
1988
1498
|
children: /* @__PURE__ */ jsxs8(ScrollArea.Root, { className: style_module_default12.scrollAreaRoot, type: "always", children: [
|
|
1989
|
-
/* @__PURE__ */
|
|
1499
|
+
/* @__PURE__ */ jsx18(SelectPrimitive.Viewport, { asChild: true, children: /* @__PURE__ */ jsx18(
|
|
1990
1500
|
ScrollArea.Viewport,
|
|
1991
1501
|
{
|
|
1992
1502
|
className: style_module_default12.scrollAreaViewport,
|
|
1993
1503
|
style: { maxHeight: "268px", overflowY: "auto" },
|
|
1994
1504
|
children: /* @__PURE__ */ jsxs8(SelectPrimitive.Group, { children: [
|
|
1995
|
-
listLabel && /* @__PURE__ */
|
|
1505
|
+
listLabel && /* @__PURE__ */ jsx18(SelectPrimitive.Label, { asChild: true, children: /* @__PURE__ */ jsx18(
|
|
1996
1506
|
Label,
|
|
1997
1507
|
{
|
|
1998
1508
|
className: style_module_default12["desktop-label"],
|
|
@@ -2006,7 +1516,7 @@ var SelectContent = forwardRef14(
|
|
|
2006
1516
|
] })
|
|
2007
1517
|
}
|
|
2008
1518
|
) }),
|
|
2009
|
-
/* @__PURE__ */
|
|
1519
|
+
/* @__PURE__ */ jsx18(ScrollArea.Scrollbar, { className: style_module_default12.scrollAreaScrollbar, orientation: "vertical", children: /* @__PURE__ */ jsx18(ScrollArea.Thumb, { className: style_module_default12.scrollAreaThumb }) })
|
|
2010
1520
|
] })
|
|
2011
1521
|
}
|
|
2012
1522
|
) });
|
|
@@ -2031,13 +1541,13 @@ var SelectRoot = forwardRef14((props, ref) => {
|
|
|
2031
1541
|
...rest
|
|
2032
1542
|
} = props;
|
|
2033
1543
|
const contentProps = { id, isResponsive, popSide, sideOffset, listLabel, children, container };
|
|
2034
|
-
const [isOpen, setIsOpen] =
|
|
2035
|
-
|
|
1544
|
+
const [isOpen, setIsOpen] = useState2(false);
|
|
1545
|
+
useEffect(() => {
|
|
2036
1546
|
setIsOpen(open);
|
|
2037
1547
|
}, [open]);
|
|
2038
1548
|
return /* @__PURE__ */ jsxs8("div", { children: [
|
|
2039
1549
|
/* @__PURE__ */ jsxs8("div", { className: style_module_default12["label-container"], children: [
|
|
2040
|
-
/* @__PURE__ */
|
|
1550
|
+
/* @__PURE__ */ jsx18(
|
|
2041
1551
|
Label,
|
|
2042
1552
|
{
|
|
2043
1553
|
className: style_module_default12["select-label"],
|
|
@@ -2048,7 +1558,7 @@ var SelectRoot = forwardRef14((props, ref) => {
|
|
|
2048
1558
|
children: label
|
|
2049
1559
|
}
|
|
2050
1560
|
),
|
|
2051
|
-
badge && /* @__PURE__ */
|
|
1561
|
+
badge && /* @__PURE__ */ jsx18(Badge, { children: badge })
|
|
2052
1562
|
] }),
|
|
2053
1563
|
/* @__PURE__ */ jsxs8(
|
|
2054
1564
|
SelectPrimitive.Root,
|
|
@@ -2061,10 +1571,10 @@ var SelectRoot = forwardRef14((props, ref) => {
|
|
|
2061
1571
|
},
|
|
2062
1572
|
children: [
|
|
2063
1573
|
/* @__PURE__ */ jsxs8(SelectPrimitive.Trigger, { className: style_module_default12.trigger, ref, id, children: [
|
|
2064
|
-
/* @__PURE__ */
|
|
2065
|
-
/* @__PURE__ */
|
|
1574
|
+
/* @__PURE__ */ jsx18(SelectPrimitive.Value, { className: style_module_default12.placeholder, placeholder }),
|
|
1575
|
+
/* @__PURE__ */ jsx18(SelectPrimitive.Icon, { className: style_module_default12.openIcon, children: /* @__PURE__ */ jsx18(IconDropDown, { fill: true, size: "xs" }) })
|
|
2066
1576
|
] }),
|
|
2067
|
-
/* @__PURE__ */
|
|
1577
|
+
/* @__PURE__ */ jsx18(SelectContent, { ...contentProps })
|
|
2068
1578
|
]
|
|
2069
1579
|
}
|
|
2070
1580
|
)
|
|
@@ -2081,9 +1591,9 @@ var SelectItem = /* @__PURE__ */ __name(({ value, text, disabled, icon, onClick
|
|
|
2081
1591
|
onClick?.();
|
|
2082
1592
|
},
|
|
2083
1593
|
children: [
|
|
2084
|
-
/* @__PURE__ */
|
|
2085
|
-
icon && /* @__PURE__ */
|
|
2086
|
-
/* @__PURE__ */
|
|
1594
|
+
/* @__PURE__ */ jsx18(SelectPrimitive.ItemText, { children: /* @__PURE__ */ jsx18(Paragraph, { size: 3, type: "normal", weight: "medium", children: text ?? value }) }),
|
|
1595
|
+
icon && /* @__PURE__ */ jsx18(SelectPrimitive.Icon, { className: style_module_default12.icon, children: /* @__PURE__ */ jsx18(icon.icon, { size: "xs", ...icon }) }),
|
|
1596
|
+
/* @__PURE__ */ jsx18(SelectPrimitive.ItemIndicator, { className: style_module_default12.itemIndicator, children: /* @__PURE__ */ jsx18(IconCheckMark2, { size: "xs", type: "brand-label-primary" }) })
|
|
2087
1597
|
]
|
|
2088
1598
|
}
|
|
2089
1599
|
), "SelectItem");
|
|
@@ -2100,15 +1610,15 @@ var style_module_default13 = {
|
|
|
2100
1610
|
|
|
2101
1611
|
// src/components/List/index.tsx
|
|
2102
1612
|
import { IconCheckMark as IconCheckMark3 } from "@liner-fe/icon";
|
|
2103
|
-
import { useState as
|
|
1613
|
+
import { useState as useState3 } from "react";
|
|
2104
1614
|
|
|
2105
1615
|
// src/hooks/collection.tsx
|
|
2106
1616
|
import { createContext, useContext, useMemo } from "react";
|
|
2107
|
-
import { jsx as
|
|
1617
|
+
import { jsx as jsx19 } from "react/jsx-runtime";
|
|
2108
1618
|
var CollectionContext = createContext(void 0);
|
|
2109
1619
|
var CollectionProvider = /* @__PURE__ */ __name(({ value, onChangeValue, children }) => {
|
|
2110
1620
|
const contextValue = useMemo(() => ({ value, onChangeValue }), [value, onChangeValue]);
|
|
2111
|
-
return /* @__PURE__ */
|
|
1621
|
+
return /* @__PURE__ */ jsx19(CollectionContext.Provider, { value: contextValue, children });
|
|
2112
1622
|
}, "CollectionProvider");
|
|
2113
1623
|
var useCollectionContext = /* @__PURE__ */ __name(() => {
|
|
2114
1624
|
const context = useContext(CollectionContext);
|
|
@@ -2120,20 +1630,20 @@ var useCollectionContext = /* @__PURE__ */ __name(() => {
|
|
|
2120
1630
|
|
|
2121
1631
|
// src/components/List/index.tsx
|
|
2122
1632
|
import clsx15 from "clsx";
|
|
2123
|
-
import { jsx as
|
|
1633
|
+
import { jsx as jsx20, jsxs as jsxs9 } from "react/jsx-runtime";
|
|
2124
1634
|
var ListRoot = /* @__PURE__ */ __name(({ children, className, ...props }) => {
|
|
2125
|
-
return /* @__PURE__ */
|
|
1635
|
+
return /* @__PURE__ */ jsx20(CollectionProvider, { ...props, children: /* @__PURE__ */ jsx20("ul", { className: clsx15(style_module_default13.list, className), children }) });
|
|
2126
1636
|
}, "ListRoot");
|
|
2127
1637
|
var Item = /* @__PURE__ */ __name(({ value, text, disabled, icon, onClick }) => {
|
|
2128
|
-
const [isFocused, setIsFocused] =
|
|
1638
|
+
const [isFocused, setIsFocused] = useState3(false);
|
|
2129
1639
|
const { value: contextValue, onChangeValue } = useCollectionContext();
|
|
2130
1640
|
const isSelected = contextValue === value;
|
|
2131
1641
|
const renderIcon = /* @__PURE__ */ __name(() => {
|
|
2132
1642
|
if (isSelected) {
|
|
2133
|
-
return /* @__PURE__ */
|
|
1643
|
+
return /* @__PURE__ */ jsx20(IconCheckMark3, { type: "brand-label-primary" });
|
|
2134
1644
|
}
|
|
2135
1645
|
if (icon) {
|
|
2136
|
-
return /* @__PURE__ */
|
|
1646
|
+
return /* @__PURE__ */ jsx20(icon.icon, { className: style_module_default13.icon, size: "xs", ...icon });
|
|
2137
1647
|
}
|
|
2138
1648
|
return null;
|
|
2139
1649
|
}, "renderIcon");
|
|
@@ -2155,7 +1665,7 @@ var Item = /* @__PURE__ */ __name(({ value, text, disabled, icon, onClick }) =>
|
|
|
2155
1665
|
onChangeValue?.(value);
|
|
2156
1666
|
},
|
|
2157
1667
|
children: [
|
|
2158
|
-
/* @__PURE__ */
|
|
1668
|
+
/* @__PURE__ */ jsx20(Paragraph, { size: 3, type: "normal", weight: "medium", children: text }),
|
|
2159
1669
|
renderIcon()
|
|
2160
1670
|
]
|
|
2161
1671
|
}
|
|
@@ -2163,86 +1673,11 @@ var Item = /* @__PURE__ */ __name(({ value, text, disabled, icon, onClick }) =>
|
|
|
2163
1673
|
}, "Item");
|
|
2164
1674
|
var List = Object.assign(ListRoot, { Item });
|
|
2165
1675
|
|
|
2166
|
-
// src/components/Snackbar/style.module.scss
|
|
2167
|
-
var style_module_default14 = {
|
|
2168
|
-
"Viewport": "_Viewport_1q9l5_1",
|
|
2169
|
-
"ViewportRight": "_ViewportRight_1q9l5_21",
|
|
2170
|
-
"ViewportLeft": "_ViewportLeft_1q9l5_25",
|
|
2171
|
-
"extendedContainer": "_extendedContainer_1q9l5_29",
|
|
2172
|
-
"NavigationWrapper": "_NavigationWrapper_1q9l5_33",
|
|
2173
|
-
"Wrapper": "_Wrapper_1q9l5_40",
|
|
2174
|
-
"Root": "_Root_1q9l5_46",
|
|
2175
|
-
"CloseButton": "_CloseButton_1q9l5_52",
|
|
2176
|
-
"Content": "_Content_1q9l5_63",
|
|
2177
|
-
"MarginRight12": "_MarginRight12_1q9l5_69",
|
|
2178
|
-
"ContentWrapper": "_ContentWrapper_1q9l5_73",
|
|
2179
|
-
"gap300": "_gap300_1q9l5_79",
|
|
2180
|
-
"minWidth32": "_minWidth32_1q9l5_85",
|
|
2181
|
-
"minWidth24": "_minWidth24_1q9l5_90",
|
|
2182
|
-
"JustifyEnd": "_JustifyEnd_1q9l5_95",
|
|
2183
|
-
"slideIn": "_slideIn_1q9l5_1",
|
|
2184
|
-
"hide": "_hide_1q9l5_1",
|
|
2185
|
-
"swipeOut": "_swipeOut_1q9l5_1",
|
|
2186
|
-
"slideInLeft": "_slideInLeft_1q9l5_1",
|
|
2187
|
-
"swipeOutLeft": "_swipeOutLeft_1q9l5_1"
|
|
2188
|
-
};
|
|
2189
|
-
|
|
2190
|
-
// src/components/Snackbar/index.tsx
|
|
2191
|
-
import { Toast as Toast2 } from "radix-ui";
|
|
2192
|
-
import { useAtomValue as useAtomValue2, useSetAtom as useSetAtom4 } from "jotai";
|
|
2193
|
-
|
|
2194
|
-
// src/hooks/useSnackbar.ts
|
|
2195
|
-
import { atom as atom2, useSetAtom as useSetAtom3 } from "jotai";
|
|
2196
|
-
import { millisecondsInSecond as millisecondsInSecond3 } from "date-fns/constants";
|
|
2197
|
-
var snackbarAtom = atom2([]);
|
|
2198
|
-
var useSnackbar = /* @__PURE__ */ __name(() => {
|
|
2199
|
-
const setSnackbar = useSetAtom3(snackbarAtom);
|
|
2200
|
-
return {
|
|
2201
|
-
open: /* @__PURE__ */ __name((info) => {
|
|
2202
|
-
const snackbarId = generateRandomId();
|
|
2203
|
-
const timer = info.timer ?? (info.button ? millisecondsInSecond3 * 5 : millisecondsInSecond3 + 800);
|
|
2204
|
-
setSnackbar((prev) => [...prev, { ...info, snackbarId, timer }]);
|
|
2205
|
-
}, "open")
|
|
2206
|
-
};
|
|
2207
|
-
}, "useSnackbar");
|
|
2208
|
-
|
|
2209
|
-
// src/components/Snackbar/SnackbarIcon/style.module.scss
|
|
2210
|
-
var style_module_default15 = {
|
|
2211
|
-
"container": "_container_1jxdi_1"
|
|
2212
|
-
};
|
|
2213
|
-
|
|
2214
|
-
// src/components/Snackbar/SnackbarIcon/index.tsx
|
|
2215
|
-
import { jsx as jsx20 } from "react/jsx-runtime";
|
|
2216
|
-
var SnackbarIcon = /* @__PURE__ */ __name((props) => {
|
|
2217
|
-
const { icon } = props;
|
|
2218
|
-
if (!icon) return null;
|
|
2219
|
-
return /* @__PURE__ */ jsx20(icon.icon, { ...icon, size: "m", className: style_module_default15.container });
|
|
2220
|
-
}, "SnackbarIcon");
|
|
2221
|
-
|
|
2222
|
-
// src/components/Snackbar/index.tsx
|
|
2223
|
-
import { IconArrowForward } from "@liner-fe/icon";
|
|
2224
|
-
|
|
2225
|
-
// src/components/Snackbar/SnackbarTitle/index.tsx
|
|
2226
|
-
import { jsx as jsx21 } from "react/jsx-runtime";
|
|
2227
|
-
var SnackbarTitle = /* @__PURE__ */ __name(({ title }) => /* @__PURE__ */ jsx21(Paragraph, { type: "normal", weight: "medium", size: 3, color: "inverse-label-static-primary", children: title }), "SnackbarTitle");
|
|
2228
|
-
|
|
2229
|
-
// src/components/Snackbar/SnackbarDescription/index.tsx
|
|
2230
|
-
import { jsx as jsx22 } from "react/jsx-runtime";
|
|
2231
|
-
var SnackbarDescription = /* @__PURE__ */ __name(({ description }) => {
|
|
2232
|
-
if (!description) {
|
|
2233
|
-
return null;
|
|
2234
|
-
}
|
|
2235
|
-
return /* @__PURE__ */ jsx22(Paragraph, { type: "normal", weight: "regular", size: 4, color: "inverse-label-static-secondary", children: description });
|
|
2236
|
-
}, "SnackbarDescription");
|
|
2237
|
-
|
|
2238
|
-
// src/components/Snackbar/index.tsx
|
|
2239
|
-
import clsx18 from "clsx";
|
|
2240
|
-
|
|
2241
1676
|
// src/components/TextButton/index.tsx
|
|
2242
1677
|
import { cva as cva8 } from "cva";
|
|
2243
1678
|
|
|
2244
1679
|
// src/components/TextButton/style.module.scss
|
|
2245
|
-
var
|
|
1680
|
+
var style_module_default14 = {
|
|
2246
1681
|
"button": "_button_zsyf9_1",
|
|
2247
1682
|
"text": "_text_zsyf9_20",
|
|
2248
1683
|
"primary": "_primary_zsyf9_23",
|
|
@@ -2259,7 +1694,7 @@ var style_module_default16 = {
|
|
|
2259
1694
|
import { Children as Children2, cloneElement as cloneElement2, forwardRef as forwardRef15 } from "react";
|
|
2260
1695
|
import clsx16 from "clsx";
|
|
2261
1696
|
import { classNames } from "@liner-fe/design-token";
|
|
2262
|
-
import { jsx as
|
|
1697
|
+
import { jsx as jsx21, jsxs as jsxs10 } from "react/jsx-runtime";
|
|
2263
1698
|
var TEXT_LEVEL_OPTIONS = ["primary", "secondary", "tertiary"];
|
|
2264
1699
|
var TEXT_SIZE_OPTIONS = ["m", "s", "xs"];
|
|
2265
1700
|
var textButtonSizeIconSizeMap = {
|
|
@@ -2280,20 +1715,20 @@ var textButtonLevelIconTypeMap = {
|
|
|
2280
1715
|
}
|
|
2281
1716
|
};
|
|
2282
1717
|
var textButtonVariants = cva8({
|
|
2283
|
-
base: [
|
|
1718
|
+
base: [style_module_default14.button, style_module_default14.text],
|
|
2284
1719
|
variants: {
|
|
2285
1720
|
level: {
|
|
2286
|
-
primary:
|
|
2287
|
-
secondary:
|
|
2288
|
-
tertiary:
|
|
1721
|
+
primary: style_module_default14["primary"],
|
|
1722
|
+
secondary: style_module_default14["secondary"],
|
|
1723
|
+
tertiary: style_module_default14["tertiary"]
|
|
2289
1724
|
},
|
|
2290
1725
|
size: {
|
|
2291
|
-
m: [classNames.typography["lp-sys-typo-paragraph4-normal-regular"],
|
|
2292
|
-
s: [classNames.typography["lp-sys-typo-caption1-normal-regular"],
|
|
2293
|
-
xs: [classNames.typography["lp-sys-typo-caption2-normal-regular"],
|
|
1726
|
+
m: [classNames.typography["lp-sys-typo-paragraph4-normal-regular"], style_module_default14.m],
|
|
1727
|
+
s: [classNames.typography["lp-sys-typo-caption1-normal-regular"], style_module_default14.s],
|
|
1728
|
+
xs: [classNames.typography["lp-sys-typo-caption2-normal-regular"], style_module_default14.xs]
|
|
2294
1729
|
},
|
|
2295
1730
|
underline: {
|
|
2296
|
-
true:
|
|
1731
|
+
true: style_module_default14.underline
|
|
2297
1732
|
}
|
|
2298
1733
|
}
|
|
2299
1734
|
});
|
|
@@ -2315,10 +1750,10 @@ var TextButton = forwardRef15(
|
|
|
2315
1750
|
fillType: "inverse-label-primary",
|
|
2316
1751
|
...icon
|
|
2317
1752
|
}), "getIconProps");
|
|
2318
|
-
const renderContent = /* @__PURE__ */ __name((children2) => /* @__PURE__ */ jsxs10("span", { className:
|
|
2319
|
-
leftIcon && /* @__PURE__ */
|
|
2320
|
-
/* @__PURE__ */
|
|
2321
|
-
rightIcon && /* @__PURE__ */
|
|
1753
|
+
const renderContent = /* @__PURE__ */ __name((children2) => /* @__PURE__ */ jsxs10("span", { className: style_module_default14["text-children"], children: [
|
|
1754
|
+
leftIcon && /* @__PURE__ */ jsx21(leftIcon.icon, { ...getIconProps(leftIcon) }),
|
|
1755
|
+
/* @__PURE__ */ jsx21("p", { children: children2 }),
|
|
1756
|
+
rightIcon && /* @__PURE__ */ jsx21(rightIcon.icon, { ...getIconProps(rightIcon) })
|
|
2322
1757
|
] }), "renderContent");
|
|
2323
1758
|
if (asChild) {
|
|
2324
1759
|
const parent = Children2.only(children);
|
|
@@ -2329,7 +1764,7 @@ var TextButton = forwardRef15(
|
|
|
2329
1764
|
children: renderContent(parent.props.children)
|
|
2330
1765
|
});
|
|
2331
1766
|
}
|
|
2332
|
-
return /* @__PURE__ */
|
|
1767
|
+
return /* @__PURE__ */ jsx21(
|
|
2333
1768
|
"button",
|
|
2334
1769
|
{
|
|
2335
1770
|
className: clsx16(textButtonVariants({ level, underline, size }), className),
|
|
@@ -2342,184 +1777,14 @@ var TextButton = forwardRef15(
|
|
|
2342
1777
|
);
|
|
2343
1778
|
TextButton.displayName = "TextButton";
|
|
2344
1779
|
|
|
2345
|
-
// src/components/Snackbar/SnackbarButton/style.module.scss
|
|
2346
|
-
var style_module_default17 = {
|
|
2347
|
-
"Container": "_Container_4sip5_1",
|
|
2348
|
-
"button": "_button_4sip5_9"
|
|
2349
|
-
};
|
|
2350
|
-
|
|
2351
|
-
// src/components/Snackbar/SnackbarButton/index.tsx
|
|
2352
|
-
import clsx17 from "clsx";
|
|
2353
|
-
import { jsx as jsx24, jsxs as jsxs11 } from "react/jsx-runtime";
|
|
2354
|
-
var SnackbarButton = /* @__PURE__ */ __name(({
|
|
2355
|
-
button,
|
|
2356
|
-
containerStyle,
|
|
2357
|
-
onCloseSnackbar
|
|
2358
|
-
}) => {
|
|
2359
|
-
if (button?.text || button?.basic) {
|
|
2360
|
-
return /* @__PURE__ */ jsxs11("div", { className: clsx17(style_module_default17.Container, containerStyle), children: [
|
|
2361
|
-
button?.text && /* @__PURE__ */ jsx24(
|
|
2362
|
-
TextButton,
|
|
2363
|
-
{
|
|
2364
|
-
size: "s",
|
|
2365
|
-
onClick: (e) => {
|
|
2366
|
-
button.text?.onClick?.(e);
|
|
2367
|
-
onCloseSnackbar();
|
|
2368
|
-
},
|
|
2369
|
-
level: "inverse-static",
|
|
2370
|
-
className: style_module_default17.button,
|
|
2371
|
-
children: button.text.text
|
|
2372
|
-
}
|
|
2373
|
-
),
|
|
2374
|
-
button?.basic && /* @__PURE__ */ jsx24(
|
|
2375
|
-
Button,
|
|
2376
|
-
{
|
|
2377
|
-
size: "s",
|
|
2378
|
-
onClick: (e) => {
|
|
2379
|
-
button.basic?.onClick?.(e);
|
|
2380
|
-
onCloseSnackbar();
|
|
2381
|
-
},
|
|
2382
|
-
fill: true,
|
|
2383
|
-
level: "static",
|
|
2384
|
-
children: button.basic.text
|
|
2385
|
-
}
|
|
2386
|
-
)
|
|
2387
|
-
] });
|
|
2388
|
-
}
|
|
2389
|
-
return null;
|
|
2390
|
-
}, "SnackbarButton");
|
|
2391
|
-
|
|
2392
|
-
// src/components/Snackbar/index.tsx
|
|
2393
|
-
import { useCallback, useEffect as useEffect3, useRef as useRef3, useState as useState5 } from "react";
|
|
2394
|
-
import { millisecondsInSecond as millisecondsInSecond4 } from "date-fns/constants";
|
|
2395
|
-
import { Fragment as Fragment7, jsx as jsx25, jsxs as jsxs12 } from "react/jsx-runtime";
|
|
2396
|
-
import { createElement as createElement3 } from "react";
|
|
2397
|
-
var { Provider: Provider2, Root: Root2, Viewport: Viewport2 } = Toast2;
|
|
2398
|
-
var Snackbar = /* @__PURE__ */ __name(() => {
|
|
2399
|
-
const list = useAtomValue2(snackbarAtom);
|
|
2400
|
-
const rightSnackbars = list.filter((snackbar) => snackbar.position !== "left");
|
|
2401
|
-
const leftSnackbars = list.filter((snackbar) => snackbar.position === "left");
|
|
2402
|
-
return /* @__PURE__ */ jsxs12(Fragment7, { children: [
|
|
2403
|
-
/* @__PURE__ */ jsxs12(Provider2, { children: [
|
|
2404
|
-
rightSnackbars.map((props) => (
|
|
2405
|
-
// eslint-disable-next-line react/prop-types
|
|
2406
|
-
/* @__PURE__ */ createElement3(SingleSnackbar, { ...props, key: props.snackbarId, position: "right" })
|
|
2407
|
-
)),
|
|
2408
|
-
/* @__PURE__ */ jsx25(Viewport2, { className: clsx18(style_module_default14.Viewport, style_module_default14.ViewportRight) })
|
|
2409
|
-
] }),
|
|
2410
|
-
/* @__PURE__ */ jsxs12(Provider2, { children: [
|
|
2411
|
-
leftSnackbars.map((props) => (
|
|
2412
|
-
// eslint-disable-next-line react/prop-types
|
|
2413
|
-
/* @__PURE__ */ createElement3(SingleSnackbar, { ...props, key: props.snackbarId, position: "left" })
|
|
2414
|
-
)),
|
|
2415
|
-
/* @__PURE__ */ jsx25(Viewport2, { className: clsx18(style_module_default14.Viewport, style_module_default14.ViewportLeft) })
|
|
2416
|
-
] })
|
|
2417
|
-
] });
|
|
2418
|
-
}, "Snackbar");
|
|
2419
|
-
var SingleSnackbar = /* @__PURE__ */ __name((props) => {
|
|
2420
|
-
const setSnackbar = useSetAtom4(snackbarAtom);
|
|
2421
|
-
const timerRef = useRef3(void 0);
|
|
2422
|
-
const { snackbarId, description, title, timer } = props;
|
|
2423
|
-
const [isOpen, setIsOpen] = useState5(true);
|
|
2424
|
-
const onCloseSnackbar = useCallback(() => {
|
|
2425
|
-
setSnackbar((prev) => prev.filter((snackbar) => snackbar.snackbarId !== snackbarId));
|
|
2426
|
-
if (timerRef.current) {
|
|
2427
|
-
clearTimeout(timerRef.current);
|
|
2428
|
-
}
|
|
2429
|
-
}, [setSnackbar, snackbarId]);
|
|
2430
|
-
useEffect3(() => {
|
|
2431
|
-
if (timer && timer > 0) {
|
|
2432
|
-
const preCloseTimeout = setTimeout(() => {
|
|
2433
|
-
setIsOpen(false);
|
|
2434
|
-
}, timer);
|
|
2435
|
-
timerRef.current = setTimeout(() => {
|
|
2436
|
-
onCloseSnackbar();
|
|
2437
|
-
}, timer + millisecondsInSecond4);
|
|
2438
|
-
return () => {
|
|
2439
|
-
clearTimeout(preCloseTimeout);
|
|
2440
|
-
if (timerRef.current) {
|
|
2441
|
-
clearTimeout(timerRef.current);
|
|
2442
|
-
}
|
|
2443
|
-
};
|
|
2444
|
-
}
|
|
2445
|
-
}, [timer, onCloseSnackbar]);
|
|
2446
|
-
useEffect3(() => {
|
|
2447
|
-
return () => {
|
|
2448
|
-
if (timerRef.current) {
|
|
2449
|
-
clearTimeout(timerRef.current);
|
|
2450
|
-
}
|
|
2451
|
-
};
|
|
2452
|
-
}, []);
|
|
2453
|
-
if (props.kind === "navigation") {
|
|
2454
|
-
return /* @__PURE__ */ jsxs12(
|
|
2455
|
-
Root2,
|
|
2456
|
-
{
|
|
2457
|
-
onSwipeEnd: onCloseSnackbar,
|
|
2458
|
-
className: clsx18(style_module_default14.Root, style_module_default14.NavigationWrapper),
|
|
2459
|
-
onClick: props.button.onClick,
|
|
2460
|
-
open: isOpen,
|
|
2461
|
-
children: [
|
|
2462
|
-
/* @__PURE__ */ jsxs12("div", { className: clsx18(style_module_default14.Content, style_module_default14.MarginRight12), children: [
|
|
2463
|
-
/* @__PURE__ */ jsx25(SnackbarTitle, { title }),
|
|
2464
|
-
/* @__PURE__ */ jsx25(SnackbarDescription, { description })
|
|
2465
|
-
] }),
|
|
2466
|
-
/* @__PURE__ */ jsx25(
|
|
2467
|
-
IconArrowForward,
|
|
2468
|
-
{
|
|
2469
|
-
fill: true,
|
|
2470
|
-
type: "inverse-label-static-primary",
|
|
2471
|
-
className: description ? style_module_default14.minWidth32 : style_module_default14.minWidth24,
|
|
2472
|
-
size: description ? "l" : "m"
|
|
2473
|
-
}
|
|
2474
|
-
)
|
|
2475
|
-
]
|
|
2476
|
-
}
|
|
2477
|
-
);
|
|
2478
|
-
}
|
|
2479
|
-
if (props.kind === "extended") {
|
|
2480
|
-
return /* @__PURE__ */ jsxs12(
|
|
2481
|
-
Root2,
|
|
2482
|
-
{
|
|
2483
|
-
onSwipeEnd: onCloseSnackbar,
|
|
2484
|
-
className: clsx18(style_module_default14.Root, style_module_default14.gap300, style_module_default14.extendedContainer),
|
|
2485
|
-
open: isOpen,
|
|
2486
|
-
children: [
|
|
2487
|
-
/* @__PURE__ */ jsxs12("div", { className: style_module_default14.Content, children: [
|
|
2488
|
-
/* @__PURE__ */ jsx25(SnackbarTitle, { title }),
|
|
2489
|
-
/* @__PURE__ */ jsx25(SnackbarDescription, { description })
|
|
2490
|
-
] }),
|
|
2491
|
-
/* @__PURE__ */ jsx25(
|
|
2492
|
-
SnackbarButton,
|
|
2493
|
-
{
|
|
2494
|
-
button: props.button,
|
|
2495
|
-
containerStyle: style_module_default14.JustifyEnd,
|
|
2496
|
-
onCloseSnackbar
|
|
2497
|
-
}
|
|
2498
|
-
)
|
|
2499
|
-
]
|
|
2500
|
-
}
|
|
2501
|
-
);
|
|
2502
|
-
}
|
|
2503
|
-
return /* @__PURE__ */ jsxs12(Root2, { onSwipeEnd: onCloseSnackbar, className: clsx18(style_module_default14.Root, style_module_default14.Wrapper), open: isOpen, children: [
|
|
2504
|
-
/* @__PURE__ */ jsxs12("div", { className: style_module_default14.ContentWrapper, children: [
|
|
2505
|
-
/* @__PURE__ */ jsx25(SnackbarIcon, { icon: props.icon }),
|
|
2506
|
-
/* @__PURE__ */ jsxs12("div", { className: clsx18(style_module_default14.Content, style_module_default14.MarginRight12), children: [
|
|
2507
|
-
/* @__PURE__ */ jsx25(SnackbarTitle, { title }),
|
|
2508
|
-
/* @__PURE__ */ jsx25(SnackbarDescription, { description })
|
|
2509
|
-
] })
|
|
2510
|
-
] }),
|
|
2511
|
-
/* @__PURE__ */ jsx25(SnackbarButton, { button: props.button, onCloseSnackbar })
|
|
2512
|
-
] });
|
|
2513
|
-
}, "SingleSnackbar");
|
|
2514
|
-
|
|
2515
1780
|
// src/components/Logo/index.tsx
|
|
2516
1781
|
import { vars } from "@liner-fe/design-token";
|
|
2517
|
-
import { jsx as
|
|
1782
|
+
import { jsx as jsx22, jsxs as jsxs11 } from "react/jsx-runtime";
|
|
2518
1783
|
var Logo = /* @__PURE__ */ __name((props) => {
|
|
2519
1784
|
if (props.type === "combination") {
|
|
2520
1785
|
const { width, height, fill = "brand-label-secondary", className } = props;
|
|
2521
1786
|
const darkModeAwareFillColor = vars.color[fill];
|
|
2522
|
-
return /* @__PURE__ */
|
|
1787
|
+
return /* @__PURE__ */ jsx22(
|
|
2523
1788
|
"svg",
|
|
2524
1789
|
{
|
|
2525
1790
|
width,
|
|
@@ -2528,50 +1793,50 @@ var Logo = /* @__PURE__ */ __name((props) => {
|
|
|
2528
1793
|
fill: "none",
|
|
2529
1794
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2530
1795
|
className,
|
|
2531
|
-
children: /* @__PURE__ */
|
|
2532
|
-
/* @__PURE__ */
|
|
1796
|
+
children: /* @__PURE__ */ jsxs11("g", { children: [
|
|
1797
|
+
/* @__PURE__ */ jsx22(
|
|
2533
1798
|
"path",
|
|
2534
1799
|
{
|
|
2535
1800
|
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",
|
|
2536
1801
|
fill: darkModeAwareFillColor
|
|
2537
1802
|
}
|
|
2538
1803
|
),
|
|
2539
|
-
/* @__PURE__ */
|
|
1804
|
+
/* @__PURE__ */ jsx22(
|
|
2540
1805
|
"path",
|
|
2541
1806
|
{
|
|
2542
1807
|
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",
|
|
2543
1808
|
fill: darkModeAwareFillColor
|
|
2544
1809
|
}
|
|
2545
1810
|
),
|
|
2546
|
-
/* @__PURE__ */
|
|
1811
|
+
/* @__PURE__ */ jsx22(
|
|
2547
1812
|
"path",
|
|
2548
1813
|
{
|
|
2549
1814
|
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",
|
|
2550
1815
|
fill: darkModeAwareFillColor
|
|
2551
1816
|
}
|
|
2552
1817
|
),
|
|
2553
|
-
/* @__PURE__ */
|
|
1818
|
+
/* @__PURE__ */ jsx22(
|
|
2554
1819
|
"path",
|
|
2555
1820
|
{
|
|
2556
1821
|
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",
|
|
2557
1822
|
fill: darkModeAwareFillColor
|
|
2558
1823
|
}
|
|
2559
1824
|
),
|
|
2560
|
-
/* @__PURE__ */
|
|
1825
|
+
/* @__PURE__ */ jsx22(
|
|
2561
1826
|
"path",
|
|
2562
1827
|
{
|
|
2563
1828
|
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",
|
|
2564
1829
|
fill: darkModeAwareFillColor
|
|
2565
1830
|
}
|
|
2566
1831
|
),
|
|
2567
|
-
/* @__PURE__ */
|
|
1832
|
+
/* @__PURE__ */ jsx22(
|
|
2568
1833
|
"path",
|
|
2569
1834
|
{
|
|
2570
1835
|
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",
|
|
2571
1836
|
fill: darkModeAwareFillColor
|
|
2572
1837
|
}
|
|
2573
1838
|
),
|
|
2574
|
-
/* @__PURE__ */
|
|
1839
|
+
/* @__PURE__ */ jsx22(
|
|
2575
1840
|
"path",
|
|
2576
1841
|
{
|
|
2577
1842
|
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",
|
|
@@ -2584,7 +1849,7 @@ var Logo = /* @__PURE__ */ __name((props) => {
|
|
|
2584
1849
|
}
|
|
2585
1850
|
if (props.type === "symbol-main") {
|
|
2586
1851
|
const { size, className } = props;
|
|
2587
|
-
return /* @__PURE__ */
|
|
1852
|
+
return /* @__PURE__ */ jsx22(
|
|
2588
1853
|
"svg",
|
|
2589
1854
|
{
|
|
2590
1855
|
width: size,
|
|
@@ -2593,7 +1858,7 @@ var Logo = /* @__PURE__ */ __name((props) => {
|
|
|
2593
1858
|
fill: "none",
|
|
2594
1859
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2595
1860
|
className,
|
|
2596
|
-
children: /* @__PURE__ */
|
|
1861
|
+
children: /* @__PURE__ */ jsx22(
|
|
2597
1862
|
"path",
|
|
2598
1863
|
{
|
|
2599
1864
|
d: "M44.64 16.1672V3.24077C44.64 3.10534 44.5347 3 44.3993 3H31.373C31.373 3 31.2527 3.0301 31.2076 3.07524L23.7317 10.5391C23.7317 10.5391 23.6264 10.6144 23.5663 10.6144H9.833C9.833 10.6144 9.71266 10.6445 9.66754 10.6896L0.0707934 20.2452C-0.0796258 20.3957 0.0256677 20.6666 0.236255 20.6666H12.6158C12.9768 20.6666 13.2626 20.9525 13.2626 21.3137V34.1498C13.2626 34.2852 13.3678 34.3905 13.5032 34.3905H26.3641C26.7251 34.3905 27.0109 34.6915 27.0109 35.0376V47.3922C27.0109 47.6029 27.2666 47.7232 27.432 47.5728L36.8934 38.1225C36.8934 38.1225 36.9686 38.0172 36.9686 37.9419V24.0073C36.9686 24.0073 36.9987 23.8719 37.0438 23.8267L44.5648 16.3026C44.5648 16.3026 44.64 16.1973 44.64 16.122V16.1672ZM24.6493 22.2767V12.2546C24.6493 11.8935 24.9351 11.6076 25.2961 11.6076H35.3441C35.7051 11.6076 35.9909 11.8935 35.9909 12.2546V22.2767C35.9909 22.6379 35.7051 22.9238 35.3441 22.9238H25.2961C24.9351 22.9238 24.6493 22.6379 24.6493 22.2767Z",
|
|
@@ -2605,7 +1870,7 @@ var Logo = /* @__PURE__ */ __name((props) => {
|
|
|
2605
1870
|
}
|
|
2606
1871
|
if (props.type === "symbol-circle") {
|
|
2607
1872
|
const { size, className } = props;
|
|
2608
|
-
return /* @__PURE__ */
|
|
1873
|
+
return /* @__PURE__ */ jsx22(
|
|
2609
1874
|
"svg",
|
|
2610
1875
|
{
|
|
2611
1876
|
width: size,
|
|
@@ -2614,7 +1879,7 @@ var Logo = /* @__PURE__ */ __name((props) => {
|
|
|
2614
1879
|
fill: "none",
|
|
2615
1880
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2616
1881
|
className,
|
|
2617
|
-
children: /* @__PURE__ */
|
|
1882
|
+
children: /* @__PURE__ */ jsx22(
|
|
2618
1883
|
"path",
|
|
2619
1884
|
{
|
|
2620
1885
|
d: "M38.2863 19.6925V9.8935C38.2863 9.79083 38.2065 9.71098 38.1039 9.71098H28.2291C28.2291 9.71098 28.1379 9.73379 28.1037 9.76802L22.4365 15.4261C22.4365 15.4261 22.3567 15.4832 22.3111 15.4832H11.9004C11.9004 15.4832 11.8092 15.506 11.775 15.5402L4.5 22.784C4.38597 22.8981 4.46579 23.1034 4.62543 23.1034H14.0099C14.2836 23.1034 14.5002 23.3201 14.5002 23.5939V33.3245C14.5002 33.4272 14.58 33.507 14.6826 33.507H24.432C24.7057 33.507 24.9223 33.7352 24.9223 33.9976V43.3631C24.9223 43.5228 25.1162 43.6141 25.2416 43.5L32.4139 36.3361C32.4139 36.3361 32.4709 36.2562 32.4709 36.1992V25.6359C32.4709 25.6359 32.4937 25.5332 32.5279 25.499L38.2293 19.7952C38.2293 19.7952 38.2863 19.7154 38.2863 19.6583V19.6925ZM23.1321 24.324V16.7266C23.1321 16.4528 23.3487 16.2361 23.6224 16.2361H31.2394C31.5131 16.2361 31.7298 16.4528 31.7298 16.7266V24.324C31.7298 24.5978 31.5131 24.8145 31.2394 24.8145H23.6224C23.3487 24.8145 23.1321 24.5978 23.1321 24.324Z",
|
|
@@ -2626,7 +1891,7 @@ var Logo = /* @__PURE__ */ __name((props) => {
|
|
|
2626
1891
|
}
|
|
2627
1892
|
if (props.type === "circle") {
|
|
2628
1893
|
const { size, className } = props;
|
|
2629
|
-
return /* @__PURE__ */
|
|
1894
|
+
return /* @__PURE__ */ jsx22(
|
|
2630
1895
|
"svg",
|
|
2631
1896
|
{
|
|
2632
1897
|
width: size,
|
|
@@ -2635,7 +1900,7 @@ var Logo = /* @__PURE__ */ __name((props) => {
|
|
|
2635
1900
|
fill: "none",
|
|
2636
1901
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2637
1902
|
className,
|
|
2638
|
-
children: /* @__PURE__ */
|
|
1903
|
+
children: /* @__PURE__ */ jsx22(
|
|
2639
1904
|
"path",
|
|
2640
1905
|
{
|
|
2641
1906
|
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",
|
|
@@ -2647,7 +1912,7 @@ var Logo = /* @__PURE__ */ __name((props) => {
|
|
|
2647
1912
|
}
|
|
2648
1913
|
if (props.type === "favicon") {
|
|
2649
1914
|
const { size, className } = props;
|
|
2650
|
-
return /* @__PURE__ */
|
|
1915
|
+
return /* @__PURE__ */ jsx22(
|
|
2651
1916
|
"svg",
|
|
2652
1917
|
{
|
|
2653
1918
|
width: size,
|
|
@@ -2656,7 +1921,7 @@ var Logo = /* @__PURE__ */ __name((props) => {
|
|
|
2656
1921
|
fill: "none",
|
|
2657
1922
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2658
1923
|
className,
|
|
2659
|
-
children: /* @__PURE__ */
|
|
1924
|
+
children: /* @__PURE__ */ jsx22(
|
|
2660
1925
|
"path",
|
|
2661
1926
|
{
|
|
2662
1927
|
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",
|
|
@@ -2669,7 +1934,7 @@ var Logo = /* @__PURE__ */ __name((props) => {
|
|
|
2669
1934
|
if (props.type === "team") {
|
|
2670
1935
|
const { width, height, className, fill = "brand-label-secondary" } = props;
|
|
2671
1936
|
const fillColor = vars.color[fill];
|
|
2672
|
-
return /* @__PURE__ */
|
|
1937
|
+
return /* @__PURE__ */ jsx22(
|
|
2673
1938
|
"svg",
|
|
2674
1939
|
{
|
|
2675
1940
|
width,
|
|
@@ -2678,78 +1943,78 @@ var Logo = /* @__PURE__ */ __name((props) => {
|
|
|
2678
1943
|
fill: "none",
|
|
2679
1944
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2680
1945
|
className,
|
|
2681
|
-
children: /* @__PURE__ */
|
|
2682
|
-
/* @__PURE__ */
|
|
1946
|
+
children: /* @__PURE__ */ jsxs11("g", { children: [
|
|
1947
|
+
/* @__PURE__ */ jsx22(
|
|
2683
1948
|
"path",
|
|
2684
1949
|
{
|
|
2685
1950
|
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",
|
|
2686
1951
|
fill: fillColor
|
|
2687
1952
|
}
|
|
2688
1953
|
),
|
|
2689
|
-
/* @__PURE__ */
|
|
1954
|
+
/* @__PURE__ */ jsx22(
|
|
2690
1955
|
"path",
|
|
2691
1956
|
{
|
|
2692
1957
|
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",
|
|
2693
1958
|
fill: fillColor
|
|
2694
1959
|
}
|
|
2695
1960
|
),
|
|
2696
|
-
/* @__PURE__ */
|
|
1961
|
+
/* @__PURE__ */ jsx22(
|
|
2697
1962
|
"path",
|
|
2698
1963
|
{
|
|
2699
1964
|
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",
|
|
2700
1965
|
fill: fillColor
|
|
2701
1966
|
}
|
|
2702
1967
|
),
|
|
2703
|
-
/* @__PURE__ */
|
|
1968
|
+
/* @__PURE__ */ jsx22(
|
|
2704
1969
|
"path",
|
|
2705
1970
|
{
|
|
2706
1971
|
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",
|
|
2707
1972
|
fill: fillColor
|
|
2708
1973
|
}
|
|
2709
1974
|
),
|
|
2710
|
-
/* @__PURE__ */
|
|
1975
|
+
/* @__PURE__ */ jsx22(
|
|
2711
1976
|
"path",
|
|
2712
1977
|
{
|
|
2713
1978
|
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",
|
|
2714
1979
|
fill: fillColor
|
|
2715
1980
|
}
|
|
2716
1981
|
),
|
|
2717
|
-
/* @__PURE__ */
|
|
1982
|
+
/* @__PURE__ */ jsx22(
|
|
2718
1983
|
"path",
|
|
2719
1984
|
{
|
|
2720
1985
|
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",
|
|
2721
1986
|
fill: fillColor
|
|
2722
1987
|
}
|
|
2723
1988
|
),
|
|
2724
|
-
/* @__PURE__ */
|
|
1989
|
+
/* @__PURE__ */ jsx22(
|
|
2725
1990
|
"path",
|
|
2726
1991
|
{
|
|
2727
1992
|
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",
|
|
2728
1993
|
fill: fillColor
|
|
2729
1994
|
}
|
|
2730
1995
|
),
|
|
2731
|
-
/* @__PURE__ */
|
|
1996
|
+
/* @__PURE__ */ jsx22(
|
|
2732
1997
|
"path",
|
|
2733
1998
|
{
|
|
2734
1999
|
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",
|
|
2735
2000
|
fill: fillColor
|
|
2736
2001
|
}
|
|
2737
2002
|
),
|
|
2738
|
-
/* @__PURE__ */
|
|
2003
|
+
/* @__PURE__ */ jsx22(
|
|
2739
2004
|
"path",
|
|
2740
2005
|
{
|
|
2741
2006
|
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",
|
|
2742
2007
|
fill: fillColor
|
|
2743
2008
|
}
|
|
2744
2009
|
),
|
|
2745
|
-
/* @__PURE__ */
|
|
2010
|
+
/* @__PURE__ */ jsx22(
|
|
2746
2011
|
"path",
|
|
2747
2012
|
{
|
|
2748
2013
|
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",
|
|
2749
2014
|
fill: fillColor
|
|
2750
2015
|
}
|
|
2751
2016
|
),
|
|
2752
|
-
/* @__PURE__ */
|
|
2017
|
+
/* @__PURE__ */ jsx22(
|
|
2753
2018
|
"path",
|
|
2754
2019
|
{
|
|
2755
2020
|
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",
|
|
@@ -2763,7 +2028,7 @@ var Logo = /* @__PURE__ */ __name((props) => {
|
|
|
2763
2028
|
if (props.type === "pro") {
|
|
2764
2029
|
const { width, height, className, fill = "brand-label-secondary" } = props;
|
|
2765
2030
|
const fillColor = vars.color[fill];
|
|
2766
|
-
return /* @__PURE__ */
|
|
2031
|
+
return /* @__PURE__ */ jsx22(
|
|
2767
2032
|
"svg",
|
|
2768
2033
|
{
|
|
2769
2034
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2772,78 +2037,78 @@ var Logo = /* @__PURE__ */ __name((props) => {
|
|
|
2772
2037
|
viewBox: "0 0 164 36",
|
|
2773
2038
|
fill: "none",
|
|
2774
2039
|
className,
|
|
2775
|
-
children: /* @__PURE__ */
|
|
2776
|
-
/* @__PURE__ */
|
|
2040
|
+
children: /* @__PURE__ */ jsxs11("g", { children: [
|
|
2041
|
+
/* @__PURE__ */ jsx22(
|
|
2777
2042
|
"path",
|
|
2778
2043
|
{
|
|
2779
2044
|
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",
|
|
2780
2045
|
fill: fillColor
|
|
2781
2046
|
}
|
|
2782
2047
|
),
|
|
2783
|
-
/* @__PURE__ */
|
|
2048
|
+
/* @__PURE__ */ jsx22(
|
|
2784
2049
|
"path",
|
|
2785
2050
|
{
|
|
2786
2051
|
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",
|
|
2787
2052
|
fill: fillColor
|
|
2788
2053
|
}
|
|
2789
2054
|
),
|
|
2790
|
-
/* @__PURE__ */
|
|
2055
|
+
/* @__PURE__ */ jsx22(
|
|
2791
2056
|
"path",
|
|
2792
2057
|
{
|
|
2793
2058
|
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",
|
|
2794
2059
|
fill: fillColor
|
|
2795
2060
|
}
|
|
2796
2061
|
),
|
|
2797
|
-
/* @__PURE__ */
|
|
2062
|
+
/* @__PURE__ */ jsx22(
|
|
2798
2063
|
"path",
|
|
2799
2064
|
{
|
|
2800
2065
|
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",
|
|
2801
2066
|
fill: fillColor
|
|
2802
2067
|
}
|
|
2803
2068
|
),
|
|
2804
|
-
/* @__PURE__ */
|
|
2069
|
+
/* @__PURE__ */ jsx22(
|
|
2805
2070
|
"path",
|
|
2806
2071
|
{
|
|
2807
2072
|
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",
|
|
2808
2073
|
fill: fillColor
|
|
2809
2074
|
}
|
|
2810
2075
|
),
|
|
2811
|
-
/* @__PURE__ */
|
|
2076
|
+
/* @__PURE__ */ jsx22(
|
|
2812
2077
|
"path",
|
|
2813
2078
|
{
|
|
2814
2079
|
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",
|
|
2815
2080
|
fill: fillColor
|
|
2816
2081
|
}
|
|
2817
2082
|
),
|
|
2818
|
-
/* @__PURE__ */
|
|
2083
|
+
/* @__PURE__ */ jsx22(
|
|
2819
2084
|
"path",
|
|
2820
2085
|
{
|
|
2821
2086
|
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",
|
|
2822
2087
|
fill: fillColor
|
|
2823
2088
|
}
|
|
2824
2089
|
),
|
|
2825
|
-
/* @__PURE__ */
|
|
2090
|
+
/* @__PURE__ */ jsx22(
|
|
2826
2091
|
"path",
|
|
2827
2092
|
{
|
|
2828
2093
|
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",
|
|
2829
2094
|
fill: fillColor
|
|
2830
2095
|
}
|
|
2831
2096
|
),
|
|
2832
|
-
/* @__PURE__ */
|
|
2097
|
+
/* @__PURE__ */ jsx22(
|
|
2833
2098
|
"path",
|
|
2834
2099
|
{
|
|
2835
2100
|
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",
|
|
2836
2101
|
fill: fillColor
|
|
2837
2102
|
}
|
|
2838
2103
|
),
|
|
2839
|
-
/* @__PURE__ */
|
|
2104
|
+
/* @__PURE__ */ jsx22(
|
|
2840
2105
|
"path",
|
|
2841
2106
|
{
|
|
2842
2107
|
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",
|
|
2843
2108
|
fill: fillColor
|
|
2844
2109
|
}
|
|
2845
2110
|
),
|
|
2846
|
-
/* @__PURE__ */
|
|
2111
|
+
/* @__PURE__ */ jsx22(
|
|
2847
2112
|
"path",
|
|
2848
2113
|
{
|
|
2849
2114
|
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",
|
|
@@ -2857,7 +2122,7 @@ var Logo = /* @__PURE__ */ __name((props) => {
|
|
|
2857
2122
|
if (props.type === "max") {
|
|
2858
2123
|
const { width, height, className, fill = "brand-label-secondary" } = props;
|
|
2859
2124
|
const fillColor = vars.color[fill];
|
|
2860
|
-
return /* @__PURE__ */
|
|
2125
|
+
return /* @__PURE__ */ jsx22(
|
|
2861
2126
|
"svg",
|
|
2862
2127
|
{
|
|
2863
2128
|
width,
|
|
@@ -2866,71 +2131,71 @@ var Logo = /* @__PURE__ */ __name((props) => {
|
|
|
2866
2131
|
fill: "none",
|
|
2867
2132
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2868
2133
|
className,
|
|
2869
|
-
children: /* @__PURE__ */
|
|
2870
|
-
/* @__PURE__ */
|
|
2134
|
+
children: /* @__PURE__ */ jsxs11("g", { children: [
|
|
2135
|
+
/* @__PURE__ */ jsx22(
|
|
2871
2136
|
"path",
|
|
2872
2137
|
{
|
|
2873
2138
|
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",
|
|
2874
2139
|
fill: fillColor
|
|
2875
2140
|
}
|
|
2876
2141
|
),
|
|
2877
|
-
/* @__PURE__ */
|
|
2142
|
+
/* @__PURE__ */ jsx22(
|
|
2878
2143
|
"path",
|
|
2879
2144
|
{
|
|
2880
2145
|
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",
|
|
2881
2146
|
fill: fillColor
|
|
2882
2147
|
}
|
|
2883
2148
|
),
|
|
2884
|
-
/* @__PURE__ */
|
|
2149
|
+
/* @__PURE__ */ jsx22(
|
|
2885
2150
|
"path",
|
|
2886
2151
|
{
|
|
2887
2152
|
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",
|
|
2888
2153
|
fill: fillColor
|
|
2889
2154
|
}
|
|
2890
2155
|
),
|
|
2891
|
-
/* @__PURE__ */
|
|
2156
|
+
/* @__PURE__ */ jsx22(
|
|
2892
2157
|
"path",
|
|
2893
2158
|
{
|
|
2894
2159
|
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",
|
|
2895
2160
|
fill: fillColor
|
|
2896
2161
|
}
|
|
2897
2162
|
),
|
|
2898
|
-
/* @__PURE__ */
|
|
2163
|
+
/* @__PURE__ */ jsx22(
|
|
2899
2164
|
"path",
|
|
2900
2165
|
{
|
|
2901
2166
|
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",
|
|
2902
2167
|
fill: fillColor
|
|
2903
2168
|
}
|
|
2904
2169
|
),
|
|
2905
|
-
/* @__PURE__ */
|
|
2170
|
+
/* @__PURE__ */ jsx22(
|
|
2906
2171
|
"path",
|
|
2907
2172
|
{
|
|
2908
2173
|
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",
|
|
2909
2174
|
fill: fillColor
|
|
2910
2175
|
}
|
|
2911
2176
|
),
|
|
2912
|
-
/* @__PURE__ */
|
|
2177
|
+
/* @__PURE__ */ jsx22(
|
|
2913
2178
|
"path",
|
|
2914
2179
|
{
|
|
2915
2180
|
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",
|
|
2916
2181
|
fill: fillColor
|
|
2917
2182
|
}
|
|
2918
2183
|
),
|
|
2919
|
-
/* @__PURE__ */
|
|
2184
|
+
/* @__PURE__ */ jsx22(
|
|
2920
2185
|
"path",
|
|
2921
2186
|
{
|
|
2922
2187
|
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",
|
|
2923
2188
|
fill: fillColor
|
|
2924
2189
|
}
|
|
2925
2190
|
),
|
|
2926
|
-
/* @__PURE__ */
|
|
2191
|
+
/* @__PURE__ */ jsx22(
|
|
2927
2192
|
"path",
|
|
2928
2193
|
{
|
|
2929
2194
|
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",
|
|
2930
2195
|
fill: fillColor
|
|
2931
2196
|
}
|
|
2932
2197
|
),
|
|
2933
|
-
/* @__PURE__ */
|
|
2198
|
+
/* @__PURE__ */ jsx22(
|
|
2934
2199
|
"path",
|
|
2935
2200
|
{
|
|
2936
2201
|
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",
|
|
@@ -2944,7 +2209,7 @@ var Logo = /* @__PURE__ */ __name((props) => {
|
|
|
2944
2209
|
if (props.type === "scholar") {
|
|
2945
2210
|
const { width, height, className, fill = "brand-label-secondary" } = props;
|
|
2946
2211
|
const fillColor = vars.color[fill];
|
|
2947
|
-
return /* @__PURE__ */
|
|
2212
|
+
return /* @__PURE__ */ jsx22(
|
|
2948
2213
|
"svg",
|
|
2949
2214
|
{
|
|
2950
2215
|
width,
|
|
@@ -2953,8 +2218,8 @@ var Logo = /* @__PURE__ */ __name((props) => {
|
|
|
2953
2218
|
fill: "none",
|
|
2954
2219
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2955
2220
|
className,
|
|
2956
|
-
children: /* @__PURE__ */
|
|
2957
|
-
/* @__PURE__ */
|
|
2221
|
+
children: /* @__PURE__ */ jsxs11("g", { children: [
|
|
2222
|
+
/* @__PURE__ */ jsx22(
|
|
2958
2223
|
"path",
|
|
2959
2224
|
{
|
|
2960
2225
|
fillRule: "evenodd",
|
|
@@ -2963,7 +2228,7 @@ var Logo = /* @__PURE__ */ __name((props) => {
|
|
|
2963
2228
|
fill: fillColor
|
|
2964
2229
|
}
|
|
2965
2230
|
),
|
|
2966
|
-
/* @__PURE__ */
|
|
2231
|
+
/* @__PURE__ */ jsx22(
|
|
2967
2232
|
"path",
|
|
2968
2233
|
{
|
|
2969
2234
|
fillRule: "evenodd",
|
|
@@ -2972,14 +2237,14 @@ var Logo = /* @__PURE__ */ __name((props) => {
|
|
|
2972
2237
|
fill: fillColor
|
|
2973
2238
|
}
|
|
2974
2239
|
),
|
|
2975
|
-
/* @__PURE__ */
|
|
2240
|
+
/* @__PURE__ */ jsx22(
|
|
2976
2241
|
"path",
|
|
2977
2242
|
{
|
|
2978
2243
|
d: "M191.241 10.1641C194.571 10.1641 196.25 11.9276 196.819 12.6826C197.371 13.4207 197.647 14.1476 197.647 14.9026C197.647 15.6575 197.456 16.0349 197.135 16.4011C196.802 16.7842 196.397 16.9702 195.811 16.9702C195.225 16.9702 194.808 16.8124 194.532 16.4912C194.261 16.1701 193.985 15.6742 193.664 15.0264C192.639 12.9699 192.064 12.1304 190.526 12.1304C189.698 12.1304 188.272 12.5642 187.095 13.5107C185.951 14.4685 185.015 15.7363 184.311 17.28C183.601 18.8463 183.235 20.5761 183.235 22.4016C183.235 24.2271 183.5 25.1286 183.996 26.1653C184.475 27.202 185.128 27.9737 186.002 28.5259C186.841 29.0555 187.787 29.3259 188.807 29.3259C189.962 29.3259 191.219 28.8865 192.013 28.2104C193.179 27.2189 194.329 25.6132 194.656 25.1343C194.706 25.0554 194.813 25.0328 194.892 25.0835L194.881 25.0947L195.901 25.7258C195.985 25.7765 196.013 25.8779 195.963 25.9624C195.602 26.5765 194.132 28.971 192.058 30.6951C190.402 32.0754 188.807 32.729 186.931 32.7966H186.638C182.762 32.7966 180.621 29.8274 179.911 28.3625C179.212 26.9709 178.863 25.444 178.863 23.6692C178.863 21.8944 179.472 19.0436 180.638 17.0266C181.872 14.9307 183.398 13.3081 185.32 12.0742C187.247 10.7896 189.185 10.1641 191.241 10.1641Z",
|
|
2979
2244
|
fill: fillColor
|
|
2980
2245
|
}
|
|
2981
2246
|
),
|
|
2982
|
-
/* @__PURE__ */
|
|
2247
|
+
/* @__PURE__ */ jsx22(
|
|
2983
2248
|
"path",
|
|
2984
2249
|
{
|
|
2985
2250
|
fillRule: "evenodd",
|
|
@@ -2988,7 +2253,7 @@ var Logo = /* @__PURE__ */ __name((props) => {
|
|
|
2988
2253
|
fill: fillColor
|
|
2989
2254
|
}
|
|
2990
2255
|
),
|
|
2991
|
-
/* @__PURE__ */
|
|
2256
|
+
/* @__PURE__ */ jsx22(
|
|
2992
2257
|
"path",
|
|
2993
2258
|
{
|
|
2994
2259
|
fillRule: "evenodd",
|
|
@@ -2997,42 +2262,42 @@ var Logo = /* @__PURE__ */ __name((props) => {
|
|
|
2997
2262
|
fill: fillColor
|
|
2998
2263
|
}
|
|
2999
2264
|
),
|
|
3000
|
-
/* @__PURE__ */
|
|
2265
|
+
/* @__PURE__ */ jsx22(
|
|
3001
2266
|
"path",
|
|
3002
2267
|
{
|
|
3003
2268
|
d: "M171.618 1.46484C173.313 1.46485 174.277 1.67352 175.466 2.05664C177.861 2.82509 178.843 3.38688 178.852 3.39185V9.83179L178.857 9.82056C178.857 9.91066 178.795 9.98385 178.705 9.99512L177.798 10.1079C177.714 10.1192 177.629 10.0684 177.607 9.98389C177.432 9.37539 176.643 6.95256 174.851 5.23413C173.758 4.18621 172.434 3.6792 170.806 3.6792C169.268 3.67921 168.304 4.01723 167.256 4.92432C166.276 5.72437 165.797 6.74425 165.797 7.87671C165.797 9.00916 166.057 9.80354 166.772 10.8008C167.397 11.6966 168.327 12.6263 169.454 13.4827L172.784 16.052C174.029 16.9929 175.049 18.1084 175.821 19.3591C176.576 20.5874 176.959 21.9509 176.959 23.4102C176.959 25.0046 176.451 26.7737 175.595 28.1372C174.665 29.5739 173.415 30.7009 171.871 31.4954C170.164 32.3743 167.995 32.7686 166.564 32.7686C164.547 32.7686 162.017 32.0361 162.017 32.0361C160 31.3826 158.681 30.712 158.337 30.5317C158.281 30.5035 158.247 30.4472 158.247 30.3796V23.4158C158.247 23.3257 158.321 23.2469 158.411 23.2412L159.318 23.168C159.402 23.1623 159.481 23.2129 159.504 23.2974C159.696 24.0185 160.648 27.337 162.473 28.8076C163.887 29.9457 165.431 30.5037 167.2 30.5037C168.969 30.5037 169.42 30.2389 170.248 29.76L170.265 29.7485C171.139 29.2246 171.809 28.5653 172.265 27.7935C172.767 26.9765 173.02 26.1145 173.02 25.1792C173.02 24.244 172.71 23.2806 172.13 22.3848C171.556 21.4946 170.66 20.5536 169.538 19.6577L166.203 17.0886C164.901 16.0463 163.893 14.9758 163.127 13.8264C162.4 12.6996 162.034 11.4036 162.034 9.87109C162.034 8.33862 162.507 6.80621 163.358 5.5498C164.265 4.28211 165.454 3.27342 166.902 2.55225C168.389 1.83111 169.922 1.46484 171.618 1.46484Z",
|
|
3004
2269
|
fill: fillColor
|
|
3005
2270
|
}
|
|
3006
2271
|
),
|
|
3007
|
-
/* @__PURE__ */
|
|
2272
|
+
/* @__PURE__ */ jsx22(
|
|
3008
2273
|
"path",
|
|
3009
2274
|
{
|
|
3010
2275
|
d: "M81.4085 9.99512C81.4987 9.99512 81.589 10.0402 81.589 10.1304V26.9033C81.589 29.5288 82.22 31.4276 82.5355 32.0586C82.5805 32.1487 82.5354 32.2839 82.4002 32.2839H75.0758C74.9406 32.2839 74.8954 32.1487 74.9405 32.0586C75.256 31.4726 75.8871 29.7485 75.8871 26.8582V15.3757C75.8871 12.7503 75.3068 10.8516 74.9857 10.2205C74.9406 10.1303 74.9856 9.9952 75.1207 9.99512H81.4085Z",
|
|
3011
2276
|
fill: fillColor
|
|
3012
2277
|
}
|
|
3013
2278
|
),
|
|
3014
|
-
/* @__PURE__ */
|
|
2279
|
+
/* @__PURE__ */ jsx22(
|
|
3015
2280
|
"path",
|
|
3016
2281
|
{
|
|
3017
2282
|
d: "M100.356 9.26831C102.796 9.26831 104.649 10.0345 105.962 11.6177C107.275 13.2009 107.906 15.4207 107.906 18.311V26.9033C107.906 29.5288 108.531 31.4276 108.852 32.0586C108.897 32.1487 108.852 32.2839 108.717 32.2839H101.483C101.348 32.2839 101.303 32.1487 101.348 32.0586C101.707 31.4742 102.291 29.7574 102.294 26.8806L102.26 26.9482V18.5815C102.26 16.8181 101.945 15.5052 101.263 14.6038C100.582 13.6967 99.6349 13.2459 98.232 13.2458C96.8291 13.2458 95.567 13.7417 94.4796 14.8291C93.6683 15.601 93.0315 16.5476 92.5357 17.7703C92.2202 18.5815 92.0399 19.4436 92.0399 20.345V26.9033C92.0399 29.5288 92.6712 31.4276 92.9867 32.0586C93.0317 32.1487 92.9865 32.2839 92.8514 32.2839H85.617C85.4818 32.2839 85.4367 32.1487 85.4818 32.0586C85.8424 31.4726 86.4283 29.7485 86.4283 26.8582V15.3757C86.4283 12.7503 85.8425 10.8516 85.5269 10.2205C85.4819 10.1303 85.527 9.99512 85.6622 9.99512H91.3582C91.4484 9.99512 91.5386 10.04 91.5387 10.1301V14.6038C91.5387 14.8742 91.899 14.9643 92.0343 14.739C93.2569 12.4797 96.2431 9.26833 100.356 9.26831Z",
|
|
3018
2283
|
fill: fillColor
|
|
3019
2284
|
}
|
|
3020
2285
|
),
|
|
3021
|
-
/* @__PURE__ */
|
|
2286
|
+
/* @__PURE__ */ jsx22(
|
|
3022
2287
|
"path",
|
|
3023
2288
|
{
|
|
3024
2289
|
d: "M57.8011 1.0874C57.9363 1.08746 57.9364 1.22262 57.9364 1.31274C57.6716 1.94377 56.9896 4.02281 56.9896 6.96387V28.5315C56.9896 28.8019 57.215 29.0273 57.4854 29.0273H61.5985V29.033H61.6886C65.9874 29.033 70.8215 26.5428 71.909 25.9568C71.9992 25.9117 72.1344 25.9568 72.1344 26.092V32.1038C72.1342 32.1489 72.0443 32.2387 71.9542 32.2388H50.2962C50.1611 32.2387 50.161 32.1036 50.161 32.0134C50.3807 31.3823 51.0626 29.2132 51.0626 25.9116V7.00879C51.0626 4.02836 50.3863 1.94377 50.161 1.31274C50.1159 1.17755 50.2061 1.08743 50.2962 1.0874H57.8011Z",
|
|
3025
2290
|
fill: fillColor
|
|
3026
2291
|
}
|
|
3027
2292
|
),
|
|
3028
|
-
/* @__PURE__ */
|
|
2293
|
+
/* @__PURE__ */ jsx22(
|
|
3029
2294
|
"path",
|
|
3030
2295
|
{
|
|
3031
2296
|
d: "M140.725 9.89941C140.815 9.89948 140.905 9.98933 140.905 10.0344V14.7334L140.911 14.739C140.911 15.0095 141.176 15.0996 141.311 14.8743C142.894 11.8431 145.063 9.94434 147.644 9.94434H150.128C150.218 9.94434 150.309 10.0345 150.309 10.0796V14.6941C150.309 14.7842 150.218 14.8293 150.128 14.8293H146.196C144.387 14.8294 142.714 15.7307 141.361 17.1787C141.04 17.5393 140.866 17.99 140.866 18.4407V26.8076C140.866 29.4331 141.497 31.3262 141.812 31.9629C141.857 32.053 141.812 32.1882 141.677 32.1882H134.398C134.262 32.1882 134.217 32.053 134.262 31.9629C134.578 31.3769 135.209 29.6528 135.209 26.7625V15.28C135.209 12.6546 134.578 10.7615 134.307 10.1248C134.262 10.0346 134.307 9.89941 134.443 9.89941H140.725Z",
|
|
3032
2297
|
fill: fillColor
|
|
3033
2298
|
}
|
|
3034
2299
|
),
|
|
3035
|
-
/* @__PURE__ */
|
|
2300
|
+
/* @__PURE__ */ jsx22(
|
|
3036
2301
|
"path",
|
|
3037
2302
|
{
|
|
3038
2303
|
d: "M78.3709 0C80.4049 0 82.0782 1.62841 82.0782 3.66235C82.0781 5.69624 80.4048 7.32446 78.3709 7.32446C76.3371 7.32444 74.7089 5.69623 74.7088 3.66235C74.7088 1.62842 76.337 2.46852e-05 78.3709 0Z",
|
|
@@ -3043,7 +2308,7 @@ var Logo = /* @__PURE__ */ __name((props) => {
|
|
|
3043
2308
|
}
|
|
3044
2309
|
);
|
|
3045
2310
|
}
|
|
3046
|
-
return /* @__PURE__ */
|
|
2311
|
+
return /* @__PURE__ */ jsx22("svg", { width: 48, height: 48, viewBox: "0 0 48 48", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ jsx22(
|
|
3047
2312
|
"path",
|
|
3048
2313
|
{
|
|
3049
2314
|
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",
|
|
@@ -3055,11 +2320,11 @@ var Logo = /* @__PURE__ */ __name((props) => {
|
|
|
3055
2320
|
// src/components/coach-mark/primitive/index.tsx
|
|
3056
2321
|
import * as PopoverPrimitive2 from "@radix-ui/react-popover";
|
|
3057
2322
|
import { cva as cva9 } from "cva";
|
|
3058
|
-
import
|
|
2323
|
+
import clsx17 from "clsx";
|
|
3059
2324
|
import { forwardRef as forwardRef16 } from "react";
|
|
3060
2325
|
|
|
3061
2326
|
// src/components/coach-mark/primitive/style.module.scss
|
|
3062
|
-
var
|
|
2327
|
+
var style_module_default15 = {
|
|
3063
2328
|
"anchor": "_anchor_1d9jc_1",
|
|
3064
2329
|
"content": "_content_1d9jc_5",
|
|
3065
2330
|
"overlay": "_overlay_1d9jc_14",
|
|
@@ -3067,20 +2332,20 @@ var style_module_default18 = {
|
|
|
3067
2332
|
};
|
|
3068
2333
|
|
|
3069
2334
|
// src/components/coach-mark/primitive/index.tsx
|
|
3070
|
-
import { IconCloseFill as
|
|
3071
|
-
import { jsx as
|
|
2335
|
+
import { IconCloseFill as IconCloseFill4 } from "@liner-fe/icon";
|
|
2336
|
+
import { jsx as jsx23, jsxs as jsxs12 } from "react/jsx-runtime";
|
|
3072
2337
|
var primitiveCoachMarkVariants = cva9({
|
|
3073
|
-
base:
|
|
2338
|
+
base: style_module_default15.content
|
|
3074
2339
|
});
|
|
3075
2340
|
var primitiveCoachMarkAnchorVariants = cva9({
|
|
3076
|
-
base:
|
|
2341
|
+
base: style_module_default15.anchor
|
|
3077
2342
|
});
|
|
3078
|
-
var PrimitiveCoachMarkTrigger = /* @__PURE__ */ __name(({ by }) => /* @__PURE__ */
|
|
3079
|
-
var PrimitiveCoachMarkRoot = /* @__PURE__ */ __name(({ trigger, children, ...props }) => /* @__PURE__ */
|
|
3080
|
-
/* @__PURE__ */
|
|
2343
|
+
var PrimitiveCoachMarkTrigger = /* @__PURE__ */ __name(({ by }) => /* @__PURE__ */ jsx23(PopoverPrimitive2.Trigger, { asChild: true, children: by }), "PrimitiveCoachMarkTrigger");
|
|
2344
|
+
var PrimitiveCoachMarkRoot = /* @__PURE__ */ __name(({ trigger, children, ...props }) => /* @__PURE__ */ jsxs12(PopoverPrimitive2.Root, { ...props, children: [
|
|
2345
|
+
/* @__PURE__ */ jsx23(PrimitiveCoachMarkTrigger, { by: trigger }),
|
|
3081
2346
|
children
|
|
3082
2347
|
] }), "PrimitiveCoachMarkRoot");
|
|
3083
|
-
var PrimitiveCoachMarkAnchor = /* @__PURE__ */ __name(({ className }) => /* @__PURE__ */
|
|
2348
|
+
var PrimitiveCoachMarkAnchor = /* @__PURE__ */ __name(({ className }) => /* @__PURE__ */ jsx23(
|
|
3084
2349
|
"svg",
|
|
3085
2350
|
{
|
|
3086
2351
|
className,
|
|
@@ -3089,7 +2354,7 @@ var PrimitiveCoachMarkAnchor = /* @__PURE__ */ __name(({ className }) => /* @__P
|
|
|
3089
2354
|
height: "24",
|
|
3090
2355
|
viewBox: "0 0 10 24",
|
|
3091
2356
|
fill: "none",
|
|
3092
|
-
children: /* @__PURE__ */
|
|
2357
|
+
children: /* @__PURE__ */ jsx23(
|
|
3093
2358
|
"path",
|
|
3094
2359
|
{
|
|
3095
2360
|
fillRule: "evenodd",
|
|
@@ -3100,16 +2365,16 @@ var PrimitiveCoachMarkAnchor = /* @__PURE__ */ __name(({ className }) => /* @__P
|
|
|
3100
2365
|
)
|
|
3101
2366
|
}
|
|
3102
2367
|
), "PrimitiveCoachMarkAnchor");
|
|
3103
|
-
var PrimitiveCoachMarkClose = /* @__PURE__ */ __name(({ className, onClick }) => /* @__PURE__ */
|
|
3104
|
-
var PrimitiveCoachMarkContent = forwardRef16(({ children, className, container, ...rest }, ref) => /* @__PURE__ */
|
|
2368
|
+
var PrimitiveCoachMarkClose = /* @__PURE__ */ __name(({ className, onClick }) => /* @__PURE__ */ jsx23(PopoverPrimitive2.Close, { asChild: true, className: clsx17(style_module_default15.close, className), onClick, children: /* @__PURE__ */ jsx23(IconCloseFill4, { fill: true, size: "xs", type: "neutral-label-primary" }) }), "PrimitiveCoachMarkClose");
|
|
2369
|
+
var PrimitiveCoachMarkContent = forwardRef16(({ children, className, container, ...rest }, ref) => /* @__PURE__ */ jsx23(PopoverPrimitive2.Portal, { container, children: /* @__PURE__ */ jsxs12(
|
|
3105
2370
|
PopoverPrimitive2.Content,
|
|
3106
2371
|
{
|
|
3107
2372
|
ref,
|
|
3108
|
-
className:
|
|
2373
|
+
className: clsx17(primitiveCoachMarkVariants(), className),
|
|
3109
2374
|
...rest,
|
|
3110
2375
|
children: [
|
|
3111
2376
|
children,
|
|
3112
|
-
/* @__PURE__ */
|
|
2377
|
+
/* @__PURE__ */ jsx23(PopoverPrimitive2.Arrow, { asChild: true, children: /* @__PURE__ */ jsx23(PrimitiveCoachMarkAnchor, { className: clsx17(primitiveCoachMarkAnchorVariants()) }) })
|
|
3113
2378
|
]
|
|
3114
2379
|
}
|
|
3115
2380
|
) }));
|
|
@@ -3121,10 +2386,10 @@ var PrimitiveCoachMark = Object.assign(PrimitiveCoachMarkRoot, {
|
|
|
3121
2386
|
});
|
|
3122
2387
|
|
|
3123
2388
|
// src/components/coach-mark/compact/index.tsx
|
|
3124
|
-
import { forwardRef as forwardRef18, useState as
|
|
2389
|
+
import { forwardRef as forwardRef18, useState as useState4 } from "react";
|
|
3125
2390
|
|
|
3126
2391
|
// src/components/coach-mark/compact/style.module.scss
|
|
3127
|
-
var
|
|
2392
|
+
var style_module_default16 = {
|
|
3128
2393
|
"content": "_content_mrnt5_1",
|
|
3129
2394
|
"slideIn": "_slideIn_mrnt5_1",
|
|
3130
2395
|
"closeButton": "_closeButton_mrnt5_20",
|
|
@@ -3136,14 +2401,14 @@ var style_module_default19 = {
|
|
|
3136
2401
|
};
|
|
3137
2402
|
|
|
3138
2403
|
// src/components/coach-mark/compact/index.tsx
|
|
3139
|
-
import
|
|
2404
|
+
import clsx19 from "clsx";
|
|
3140
2405
|
import { cva as cva11 } from "cva";
|
|
3141
2406
|
|
|
3142
2407
|
// src/components/Tag/index.tsx
|
|
3143
2408
|
import { forwardRef as forwardRef17 } from "react";
|
|
3144
2409
|
|
|
3145
2410
|
// src/components/Tag/style.module.scss
|
|
3146
|
-
var
|
|
2411
|
+
var style_module_default17 = {
|
|
3147
2412
|
"tag": "_tag_b57yu_2",
|
|
3148
2413
|
"s": "_s_b57yu_12",
|
|
3149
2414
|
"m": "_m_b57yu_17",
|
|
@@ -3286,23 +2551,23 @@ var colorOptions = [
|
|
|
3286
2551
|
|
|
3287
2552
|
// src/components/Tag/index.tsx
|
|
3288
2553
|
import { cva as cva10 } from "cva";
|
|
3289
|
-
import
|
|
3290
|
-
import { jsx as
|
|
2554
|
+
import clsx18 from "clsx";
|
|
2555
|
+
import { jsx as jsx24 } from "react/jsx-runtime";
|
|
3291
2556
|
var tagVariants = cva10({
|
|
3292
|
-
base:
|
|
2557
|
+
base: style_module_default17.tag,
|
|
3293
2558
|
variants: {
|
|
3294
|
-
borderColor: arrayToStyleObject(colorOptions,
|
|
2559
|
+
borderColor: arrayToStyleObject(colorOptions, style_module_default17, "border"),
|
|
3295
2560
|
size: {
|
|
3296
|
-
s:
|
|
3297
|
-
m:
|
|
3298
|
-
l:
|
|
2561
|
+
s: style_module_default17.s,
|
|
2562
|
+
m: style_module_default17.m,
|
|
2563
|
+
l: style_module_default17.l
|
|
3299
2564
|
},
|
|
3300
2565
|
thick: {
|
|
3301
|
-
true:
|
|
2566
|
+
true: style_module_default17.thick
|
|
3302
2567
|
},
|
|
3303
2568
|
radius: {
|
|
3304
|
-
square:
|
|
3305
|
-
rounded:
|
|
2569
|
+
square: style_module_default17.square,
|
|
2570
|
+
rounded: style_module_default17.rounded
|
|
3306
2571
|
}
|
|
3307
2572
|
}
|
|
3308
2573
|
});
|
|
@@ -3318,14 +2583,14 @@ var Tag = forwardRef17(
|
|
|
3318
2583
|
className,
|
|
3319
2584
|
...rest
|
|
3320
2585
|
}, ref) => {
|
|
3321
|
-
return /* @__PURE__ */
|
|
2586
|
+
return /* @__PURE__ */ jsx24(
|
|
3322
2587
|
Caption,
|
|
3323
2588
|
{
|
|
3324
2589
|
ref,
|
|
3325
2590
|
size: 3,
|
|
3326
2591
|
type: "normal",
|
|
3327
2592
|
weight: "bold",
|
|
3328
|
-
className:
|
|
2593
|
+
className: clsx18(tagVariants({ borderColor, size, thick, radius }), className),
|
|
3329
2594
|
color,
|
|
3330
2595
|
style: { backgroundColor: `var(--${backgroundColor})`, ...rest.style },
|
|
3331
2596
|
...rest,
|
|
@@ -3337,47 +2602,47 @@ var Tag = forwardRef17(
|
|
|
3337
2602
|
|
|
3338
2603
|
// src/components/coach-mark/compact/index.tsx
|
|
3339
2604
|
import * as PopoverPrimitive3 from "@radix-ui/react-popover";
|
|
3340
|
-
import { jsx as
|
|
2605
|
+
import { jsx as jsx25, jsxs as jsxs13 } from "react/jsx-runtime";
|
|
3341
2606
|
var compactCoachMarkVariants = cva11({
|
|
3342
|
-
base:
|
|
2607
|
+
base: style_module_default16.content,
|
|
3343
2608
|
variants: {
|
|
3344
2609
|
level: {
|
|
3345
|
-
brand:
|
|
3346
|
-
"inverse-static":
|
|
3347
|
-
inverse:
|
|
2610
|
+
brand: style_module_default16.brand,
|
|
2611
|
+
"inverse-static": style_module_default16["inverse-static"],
|
|
2612
|
+
inverse: style_module_default16.inverse
|
|
3348
2613
|
}
|
|
3349
2614
|
}
|
|
3350
2615
|
});
|
|
3351
2616
|
var CompactCoachMarkRoot = /* @__PURE__ */ __name((props) => {
|
|
3352
|
-
return /* @__PURE__ */
|
|
2617
|
+
return /* @__PURE__ */ jsx25(PrimitiveCoachMark, { ...props });
|
|
3353
2618
|
}, "CompactCoachMarkRoot");
|
|
3354
2619
|
var CompactCoachMarkContent = forwardRef18(
|
|
3355
2620
|
({ tag, title, level = "brand", className, side = "top", sideOffset = -15, onClose, ...props }, ref) => {
|
|
3356
|
-
const [isHover, setIsHover] =
|
|
3357
|
-
return /* @__PURE__ */
|
|
2621
|
+
const [isHover, setIsHover] = useState4(false);
|
|
2622
|
+
return /* @__PURE__ */ jsxs13(
|
|
3358
2623
|
PrimitiveCoachMark.Content,
|
|
3359
2624
|
{
|
|
3360
2625
|
ref,
|
|
3361
|
-
className:
|
|
2626
|
+
className: clsx19(compactCoachMarkVariants({ level }), className),
|
|
3362
2627
|
side,
|
|
3363
2628
|
sideOffset,
|
|
3364
2629
|
onMouseEnter: () => setIsHover(true),
|
|
3365
2630
|
onMouseLeave: () => setIsHover(false),
|
|
3366
2631
|
...props,
|
|
3367
2632
|
children: [
|
|
3368
|
-
tag && /* @__PURE__ */
|
|
3369
|
-
/* @__PURE__ */
|
|
2633
|
+
tag && /* @__PURE__ */ jsx25(Tag, { color: "neutral-label-primary", backgroundColor: "neutral-container-lowest", children: tag }),
|
|
2634
|
+
/* @__PURE__ */ jsx25(
|
|
3370
2635
|
Caption,
|
|
3371
2636
|
{
|
|
3372
2637
|
size: 2,
|
|
3373
2638
|
type: "normal",
|
|
3374
2639
|
weight: "bold",
|
|
3375
2640
|
color: "inverse-label-static-primary",
|
|
3376
|
-
className:
|
|
2641
|
+
className: style_module_default16.main,
|
|
3377
2642
|
children: title
|
|
3378
2643
|
}
|
|
3379
2644
|
),
|
|
3380
|
-
isHover && /* @__PURE__ */
|
|
2645
|
+
isHover && /* @__PURE__ */ jsx25(PrimitiveCoachMark.Close, { className: style_module_default16.close, onClick: onClose })
|
|
3381
2646
|
]
|
|
3382
2647
|
}
|
|
3383
2648
|
);
|
|
@@ -3393,7 +2658,7 @@ var CompactCoachMark = Object.assign(CompactCoachMarkRoot, {
|
|
|
3393
2658
|
import * as PopoverPrimitive4 from "@radix-ui/react-popover";
|
|
3394
2659
|
|
|
3395
2660
|
// src/components/coach-mark/main/style.module.scss
|
|
3396
|
-
var
|
|
2661
|
+
var style_module_default18 = {
|
|
3397
2662
|
"content": "_content_1w9jj_1",
|
|
3398
2663
|
"slideIn": "_slideIn_1w9jj_1",
|
|
3399
2664
|
"brand": "_brand_1w9jj_19",
|
|
@@ -3414,20 +2679,20 @@ var style_module_default21 = {
|
|
|
3414
2679
|
import {
|
|
3415
2680
|
forwardRef as forwardRef19,
|
|
3416
2681
|
isValidElement,
|
|
3417
|
-
useEffect as
|
|
2682
|
+
useEffect as useEffect2
|
|
3418
2683
|
} from "react";
|
|
3419
2684
|
import { IconClose } from "@liner-fe/icon";
|
|
3420
2685
|
import { cva as cva12 } from "cva";
|
|
3421
|
-
import
|
|
2686
|
+
import clsx20 from "clsx";
|
|
3422
2687
|
import { Illust } from "@liner-fe/illust";
|
|
3423
|
-
import { jsx as
|
|
2688
|
+
import { jsx as jsx26, jsxs as jsxs14 } from "react/jsx-runtime";
|
|
3424
2689
|
var coachMarkVariants = cva12({
|
|
3425
|
-
base:
|
|
2690
|
+
base: style_module_default18.content,
|
|
3426
2691
|
variants: {
|
|
3427
2692
|
level: {
|
|
3428
|
-
brand:
|
|
3429
|
-
"inverse-static":
|
|
3430
|
-
inverse:
|
|
2693
|
+
brand: style_module_default18.brand,
|
|
2694
|
+
"inverse-static": style_module_default18["inverse-static"],
|
|
2695
|
+
inverse: style_module_default18.inverse
|
|
3431
2696
|
}
|
|
3432
2697
|
}
|
|
3433
2698
|
});
|
|
@@ -3438,7 +2703,7 @@ var coachMarkLevelButtonLevelMap = {
|
|
|
3438
2703
|
};
|
|
3439
2704
|
var CoachMarkRoot = /* @__PURE__ */ __name((props) => {
|
|
3440
2705
|
const { children } = props;
|
|
3441
|
-
|
|
2706
|
+
useEffect2(() => {
|
|
3442
2707
|
if (isValidElement(children) && "image" in children.props) {
|
|
3443
2708
|
const imageProps = children.props.image;
|
|
3444
2709
|
if (imageProps?.src) {
|
|
@@ -3447,7 +2712,7 @@ var CoachMarkRoot = /* @__PURE__ */ __name((props) => {
|
|
|
3447
2712
|
}
|
|
3448
2713
|
}
|
|
3449
2714
|
}, []);
|
|
3450
|
-
return /* @__PURE__ */
|
|
2715
|
+
return /* @__PURE__ */ jsx26(PrimitiveCoachMark, { ...props });
|
|
3451
2716
|
}, "CoachMarkRoot");
|
|
3452
2717
|
var CoachMarkContent = forwardRef19(
|
|
3453
2718
|
({
|
|
@@ -3467,31 +2732,31 @@ var CoachMarkContent = forwardRef19(
|
|
|
3467
2732
|
secondaryButton,
|
|
3468
2733
|
onClose,
|
|
3469
2734
|
...rest
|
|
3470
|
-
}, ref) => /* @__PURE__ */
|
|
2735
|
+
}, ref) => /* @__PURE__ */ jsxs14(
|
|
3471
2736
|
PrimitiveCoachMark.Content,
|
|
3472
2737
|
{
|
|
3473
2738
|
ref,
|
|
3474
|
-
className:
|
|
2739
|
+
className: clsx20(coachMarkVariants({ level }), className),
|
|
3475
2740
|
style: { width: width ? `${width}px` : void 0 },
|
|
3476
2741
|
side,
|
|
3477
2742
|
sideOffset,
|
|
3478
2743
|
...rest,
|
|
3479
2744
|
children: [
|
|
3480
|
-
/* @__PURE__ */
|
|
2745
|
+
/* @__PURE__ */ jsx26(PopoverPrimitive4.Close, { asChild: true, children: /* @__PURE__ */ jsx26(
|
|
3481
2746
|
IconButton,
|
|
3482
2747
|
{
|
|
3483
2748
|
icon: { icon: IconClose },
|
|
3484
2749
|
size: "s",
|
|
3485
2750
|
level: "inverse-static",
|
|
3486
|
-
className:
|
|
2751
|
+
className: style_module_default18.closeButton,
|
|
3487
2752
|
onClick: onClose
|
|
3488
2753
|
}
|
|
3489
2754
|
) }),
|
|
3490
|
-
/* @__PURE__ */
|
|
3491
|
-
illust && /* @__PURE__ */
|
|
3492
|
-
/* @__PURE__ */
|
|
3493
|
-
/* @__PURE__ */
|
|
3494
|
-
tag && /* @__PURE__ */
|
|
2755
|
+
/* @__PURE__ */ jsxs14("header", { className: style_module_default18.top, children: [
|
|
2756
|
+
illust && /* @__PURE__ */ jsx26(Illust, { width: 72, ...illust }),
|
|
2757
|
+
/* @__PURE__ */ jsxs14("div", { className: style_module_default18.main, children: [
|
|
2758
|
+
/* @__PURE__ */ jsxs14("div", { className: style_module_default18.title, children: [
|
|
2759
|
+
tag && /* @__PURE__ */ jsx26(
|
|
3495
2760
|
Tag,
|
|
3496
2761
|
{
|
|
3497
2762
|
color: "neutral-label-static-primary",
|
|
@@ -3499,8 +2764,8 @@ var CoachMarkContent = forwardRef19(
|
|
|
3499
2764
|
children: tag
|
|
3500
2765
|
}
|
|
3501
2766
|
),
|
|
3502
|
-
icon && /* @__PURE__ */
|
|
3503
|
-
title && /* @__PURE__ */
|
|
2767
|
+
icon && /* @__PURE__ */ jsx26(icon.icon, { size: "xs", fill: icon.fill, type: "inverse-label-static-primary" }),
|
|
2768
|
+
title && /* @__PURE__ */ jsx26(
|
|
3504
2769
|
Paragraph,
|
|
3505
2770
|
{
|
|
3506
2771
|
size: 4,
|
|
@@ -3511,38 +2776,38 @@ var CoachMarkContent = forwardRef19(
|
|
|
3511
2776
|
}
|
|
3512
2777
|
)
|
|
3513
2778
|
] }),
|
|
3514
|
-
image && /* @__PURE__ */
|
|
2779
|
+
image && /* @__PURE__ */ jsx26("div", { className: style_module_default18["image-container"], children: /* @__PURE__ */ jsx26(
|
|
3515
2780
|
"img",
|
|
3516
2781
|
{
|
|
3517
|
-
className:
|
|
2782
|
+
className: style_module_default18.image,
|
|
3518
2783
|
src: image.src ?? "",
|
|
3519
2784
|
alt: image.alt ?? "",
|
|
3520
2785
|
width: 280,
|
|
3521
2786
|
height: 160
|
|
3522
2787
|
}
|
|
3523
2788
|
) }),
|
|
3524
|
-
description && /* @__PURE__ */
|
|
2789
|
+
description && /* @__PURE__ */ jsx26(
|
|
3525
2790
|
Caption,
|
|
3526
2791
|
{
|
|
3527
2792
|
size: 2,
|
|
3528
2793
|
type: "normal",
|
|
3529
2794
|
weight: "regular",
|
|
3530
2795
|
color: "inverse-label-static-secondary",
|
|
3531
|
-
className:
|
|
2796
|
+
className: style_module_default18.description,
|
|
3532
2797
|
children: description
|
|
3533
2798
|
}
|
|
3534
2799
|
)
|
|
3535
2800
|
] })
|
|
3536
2801
|
] }),
|
|
3537
|
-
/* @__PURE__ */
|
|
3538
|
-
step ? /* @__PURE__ */
|
|
2802
|
+
/* @__PURE__ */ jsxs14("footer", { className: style_module_default18.footer, children: [
|
|
2803
|
+
step ? /* @__PURE__ */ jsxs14(Caption, { size: 2, type: "normal", weight: "regular", color: "inverse-label-static-secondary", children: [
|
|
3539
2804
|
step.current,
|
|
3540
2805
|
" / ",
|
|
3541
2806
|
step.total
|
|
3542
|
-
] }) : /* @__PURE__ */
|
|
3543
|
-
/* @__PURE__ */
|
|
3544
|
-
secondaryButton && /* @__PURE__ */
|
|
3545
|
-
primaryButton && /* @__PURE__ */
|
|
2807
|
+
] }) : /* @__PURE__ */ jsx26("div", { className: style_module_default18.empty }),
|
|
2808
|
+
/* @__PURE__ */ jsxs14("div", { className: style_module_default18.buttonGroup, children: [
|
|
2809
|
+
secondaryButton && /* @__PURE__ */ jsx26(Button, { size: "s", level: "inverse-static", ...secondaryButton }),
|
|
2810
|
+
primaryButton && /* @__PURE__ */ jsx26(Button, { size: "s", level: coachMarkLevelButtonLevelMap[level], ...primaryButton })
|
|
3546
2811
|
] })
|
|
3547
2812
|
] })
|
|
3548
2813
|
]
|
|
@@ -3559,7 +2824,7 @@ var CoachMark = Object.assign(CoachMarkRoot, {
|
|
|
3559
2824
|
import { forwardRef as forwardRef20 } from "react";
|
|
3560
2825
|
|
|
3561
2826
|
// src/components/Badge/style.module.scss
|
|
3562
|
-
var
|
|
2827
|
+
var style_module_default19 = {
|
|
3563
2828
|
"badge": "_badge_f8fzb_1",
|
|
3564
2829
|
"s": "_s_f8fzb_10",
|
|
3565
2830
|
"m": "_m_f8fzb_15",
|
|
@@ -3581,8 +2846,8 @@ var style_module_default22 = {
|
|
|
3581
2846
|
|
|
3582
2847
|
// src/components/Badge/index.tsx
|
|
3583
2848
|
import { cva as cva13 } from "cva";
|
|
3584
|
-
import
|
|
3585
|
-
import { jsx as
|
|
2849
|
+
import clsx21 from "clsx";
|
|
2850
|
+
import { jsx as jsx27, jsxs as jsxs15 } from "react/jsx-runtime";
|
|
3586
2851
|
var badgeSizeIconSizeMap = {
|
|
3587
2852
|
s: "xxs",
|
|
3588
2853
|
m: "xs",
|
|
@@ -3594,20 +2859,20 @@ var badgeSizeTypoMap = {
|
|
|
3594
2859
|
l: ["lp-sys-typo-caption1-normal-regular", "lp-sys-typo-caption1-normal-medium"]
|
|
3595
2860
|
};
|
|
3596
2861
|
var badgeBase = cva13({
|
|
3597
|
-
base:
|
|
2862
|
+
base: style_module_default19.badge,
|
|
3598
2863
|
variants: {
|
|
3599
2864
|
size: {
|
|
3600
|
-
s:
|
|
3601
|
-
m:
|
|
3602
|
-
l:
|
|
2865
|
+
s: style_module_default19.s,
|
|
2866
|
+
m: style_module_default19.m,
|
|
2867
|
+
l: style_module_default19.l
|
|
3603
2868
|
}
|
|
3604
2869
|
}
|
|
3605
2870
|
});
|
|
3606
2871
|
function getBgClass(variant, color) {
|
|
3607
|
-
if (variant === "subtle") return
|
|
3608
|
-
if (variant === "outlined") return
|
|
3609
|
-
if (variant === "fill") return color === "accent" ?
|
|
3610
|
-
return
|
|
2872
|
+
if (variant === "subtle") return style_module_default19.subtle;
|
|
2873
|
+
if (variant === "outlined") return style_module_default19.outlined;
|
|
2874
|
+
if (variant === "fill") return color === "accent" ? style_module_default19["fill-accent"] : style_module_default19["fill-primary"];
|
|
2875
|
+
return style_module_default19["inverse-primary"];
|
|
3611
2876
|
}
|
|
3612
2877
|
__name(getBgClass, "getBgClass");
|
|
3613
2878
|
function getIconType(variant, color) {
|
|
@@ -3631,22 +2896,22 @@ function getIconType(variant, color) {
|
|
|
3631
2896
|
}
|
|
3632
2897
|
__name(getIconType, "getIconType");
|
|
3633
2898
|
function getTextClass(variant, color) {
|
|
3634
|
-
if (variant === "inverse") return
|
|
2899
|
+
if (variant === "inverse") return style_module_default19["text-primary-inverse"];
|
|
3635
2900
|
switch (color) {
|
|
3636
2901
|
case "neutral":
|
|
3637
|
-
return
|
|
2902
|
+
return style_module_default19["text-neutral"];
|
|
3638
2903
|
case "neutral-secondary":
|
|
3639
|
-
return
|
|
2904
|
+
return style_module_default19["text-neutral-secondary"];
|
|
3640
2905
|
case "primary":
|
|
3641
|
-
return
|
|
2906
|
+
return style_module_default19["text-primary"];
|
|
3642
2907
|
case "caution":
|
|
3643
|
-
return
|
|
2908
|
+
return style_module_default19["text-caution"];
|
|
3644
2909
|
case "error":
|
|
3645
|
-
return
|
|
2910
|
+
return style_module_default19["text-error"];
|
|
3646
2911
|
case "accent":
|
|
3647
|
-
return
|
|
2912
|
+
return style_module_default19["text-accent"];
|
|
3648
2913
|
default:
|
|
3649
|
-
return
|
|
2914
|
+
return style_module_default19["text-neutral"];
|
|
3650
2915
|
}
|
|
3651
2916
|
}
|
|
3652
2917
|
__name(getTextClass, "getTextClass");
|
|
@@ -3666,11 +2931,11 @@ var Badge2 = forwardRef20(
|
|
|
3666
2931
|
const typoClass = badgeSizeTypoMap[size][+thick];
|
|
3667
2932
|
const resolvedVariant = variant;
|
|
3668
2933
|
const resolvedColor = color;
|
|
3669
|
-
return /* @__PURE__ */
|
|
2934
|
+
return /* @__PURE__ */ jsxs15(
|
|
3670
2935
|
"span",
|
|
3671
2936
|
{
|
|
3672
2937
|
ref,
|
|
3673
|
-
className:
|
|
2938
|
+
className: clsx21(
|
|
3674
2939
|
badgeBase({ size }),
|
|
3675
2940
|
typoClass,
|
|
3676
2941
|
getBgClass(resolvedVariant, resolvedColor),
|
|
@@ -3679,7 +2944,7 @@ var Badge2 = forwardRef20(
|
|
|
3679
2944
|
),
|
|
3680
2945
|
...rest,
|
|
3681
2946
|
children: [
|
|
3682
|
-
!!leftIcon && /* @__PURE__ */
|
|
2947
|
+
!!leftIcon && /* @__PURE__ */ jsx27(
|
|
3683
2948
|
leftIcon.icon,
|
|
3684
2949
|
{
|
|
3685
2950
|
size: iconSize,
|
|
@@ -3687,8 +2952,8 @@ var Badge2 = forwardRef20(
|
|
|
3687
2952
|
...leftIcon
|
|
3688
2953
|
}
|
|
3689
2954
|
),
|
|
3690
|
-
/* @__PURE__ */
|
|
3691
|
-
!!rightIcon && /* @__PURE__ */
|
|
2955
|
+
/* @__PURE__ */ jsx27("span", { className: style_module_default19.text, children }),
|
|
2956
|
+
!!rightIcon && /* @__PURE__ */ jsx27(
|
|
3692
2957
|
rightIcon.icon,
|
|
3693
2958
|
{
|
|
3694
2959
|
size: iconSize,
|
|
@@ -3728,14 +2993,12 @@ export {
|
|
|
3728
2993
|
PrimitiveCoachMark,
|
|
3729
2994
|
Radio,
|
|
3730
2995
|
Select,
|
|
3731
|
-
SingleSnackbar,
|
|
3732
|
-
Snackbar,
|
|
3733
2996
|
TEXT_LEVEL_OPTIONS,
|
|
3734
2997
|
TEXT_SIZE_OPTIONS,
|
|
3735
2998
|
Tag,
|
|
3736
2999
|
TextButton,
|
|
3737
3000
|
Textfield,
|
|
3738
|
-
|
|
3001
|
+
Title,
|
|
3739
3002
|
Toaster,
|
|
3740
3003
|
Tooltip,
|
|
3741
3004
|
Typography,
|
|
@@ -3743,7 +3006,5 @@ export {
|
|
|
3743
3006
|
isEmptyObject,
|
|
3744
3007
|
objectToArray,
|
|
3745
3008
|
rootMediaStyle,
|
|
3746
|
-
|
|
3747
|
-
useSnackbar,
|
|
3748
|
-
useToast
|
|
3009
|
+
toast
|
|
3749
3010
|
};
|