@liner-fe/prism 3.0.17 → 3.1.0
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 +404 -1150
- package/package.json +5 -4
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,133 @@ 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
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
const
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
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
|
|
448
|
+
}
|
|
449
|
+
),
|
|
450
|
+
{ id: options?.id, duration: options?.duration ?? DEFAULT_TOAST_DURATION }
|
|
451
|
+
);
|
|
452
|
+
}, "createCustomToast");
|
|
453
|
+
var promiseToast = /* @__PURE__ */ __name((promise, options) => {
|
|
454
|
+
let dismissed = false;
|
|
455
|
+
const id = sonnerToast2.custom(
|
|
456
|
+
(toastId) => /* @__PURE__ */ jsx5(
|
|
457
|
+
ToastContent,
|
|
458
|
+
{
|
|
459
|
+
toastId,
|
|
460
|
+
title: options.loading,
|
|
461
|
+
description: options.description,
|
|
462
|
+
type: "promise"
|
|
937
463
|
}
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
},
|
|
944
|
-
const preCloseTimeout = setTimeout(() => {
|
|
945
|
-
setIsOpen(false);
|
|
946
|
-
}, timer);
|
|
947
|
-
return () => {
|
|
948
|
-
clearTimeout(preCloseTimeout);
|
|
949
|
-
clearTimeout(timerRef.current);
|
|
950
|
-
};
|
|
464
|
+
),
|
|
465
|
+
{
|
|
466
|
+
duration: Infinity,
|
|
467
|
+
onDismiss: /* @__PURE__ */ __name(() => {
|
|
468
|
+
dismissed = true;
|
|
469
|
+
}, "onDismiss")
|
|
951
470
|
}
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
if (
|
|
955
|
-
const
|
|
956
|
-
|
|
957
|
-
}
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
onClick: () => {
|
|
976
|
-
button.onClick();
|
|
977
|
-
setIsOpen(false);
|
|
978
|
-
timerRef.current = setTimeout(() => {
|
|
979
|
-
removeToast();
|
|
980
|
-
clearTimeout(timerRef.current);
|
|
981
|
-
}, 175);
|
|
982
|
-
},
|
|
983
|
-
level: "static",
|
|
984
|
-
size: "s",
|
|
985
|
-
children: button.label
|
|
986
|
-
}
|
|
987
|
-
)
|
|
988
|
-
] })
|
|
989
|
-
] });
|
|
990
|
-
}, "SingleToast");
|
|
471
|
+
);
|
|
472
|
+
promise.then((data) => {
|
|
473
|
+
if (dismissed) return;
|
|
474
|
+
const title = typeof options.success === "function" ? options.success(data) : options.success;
|
|
475
|
+
createCustomToast(title, "success", { id, duration: DEFAULT_TOAST_DURATION });
|
|
476
|
+
}).catch((error) => {
|
|
477
|
+
if (dismissed) return;
|
|
478
|
+
const title = typeof options.error === "function" ? options.error(error) : options.error;
|
|
479
|
+
createCustomToast(title, "error", { id, duration: DEFAULT_TOAST_DURATION });
|
|
480
|
+
});
|
|
481
|
+
return id;
|
|
482
|
+
}, "promiseToast");
|
|
483
|
+
var toast = Object.assign(
|
|
484
|
+
(title, options) => createCustomToast(title, "default", options),
|
|
485
|
+
{
|
|
486
|
+
success: /* @__PURE__ */ __name((title, options) => createCustomToast(title, "success", options), "success"),
|
|
487
|
+
error: /* @__PURE__ */ __name((title, options) => createCustomToast(title, "error", options), "error"),
|
|
488
|
+
caution: /* @__PURE__ */ __name((title, options) => createCustomToast(title, "caution", options), "caution"),
|
|
489
|
+
promise: promiseToast,
|
|
490
|
+
dismiss: sonnerToast2.dismiss
|
|
491
|
+
}
|
|
492
|
+
);
|
|
493
|
+
var Toaster = /* @__PURE__ */ __name(() => /* @__PURE__ */ jsx5(SonnerToaster, { position: "top-center", gap: 8, offset: 29 }), "Toaster");
|
|
991
494
|
|
|
992
495
|
// src/components/Typography/Set/Heading.tsx
|
|
993
496
|
import { forwardRef as forwardRef3 } from "react";
|
|
994
497
|
import clsx3 from "clsx";
|
|
995
|
-
import { jsx as
|
|
498
|
+
import { jsx as jsx6 } from "react/jsx-runtime";
|
|
996
499
|
var Heading = forwardRef3(
|
|
997
500
|
({ size, children, type, className, color = "neutral-label-primary", as, ...rest }, ref) => {
|
|
998
501
|
const Element = as || `h${size}`;
|
|
999
|
-
return /* @__PURE__ */
|
|
502
|
+
return /* @__PURE__ */ jsx6(
|
|
1000
503
|
Element,
|
|
1001
504
|
{
|
|
1002
505
|
...rest,
|
|
@@ -1023,7 +526,7 @@ var style_module_default4 = {
|
|
|
1023
526
|
|
|
1024
527
|
// src/components/Typography/Set/Caption.tsx
|
|
1025
528
|
import { forwardRef as forwardRef4 } from "react";
|
|
1026
|
-
import { jsx as
|
|
529
|
+
import { jsx as jsx7 } from "react/jsx-runtime";
|
|
1027
530
|
var Caption = forwardRef4(
|
|
1028
531
|
({
|
|
1029
532
|
children,
|
|
@@ -1035,7 +538,7 @@ var Caption = forwardRef4(
|
|
|
1035
538
|
as: Element = "p",
|
|
1036
539
|
...rest
|
|
1037
540
|
}, ref) => {
|
|
1038
|
-
return /* @__PURE__ */
|
|
541
|
+
return /* @__PURE__ */ jsx7(
|
|
1039
542
|
Element,
|
|
1040
543
|
{
|
|
1041
544
|
...rest,
|
|
@@ -1055,8 +558,8 @@ Caption.displayName = "Caption";
|
|
|
1055
558
|
// src/components/Typography/Set/Title.tsx
|
|
1056
559
|
import { forwardRef as forwardRef5 } from "react";
|
|
1057
560
|
import clsx5 from "clsx";
|
|
1058
|
-
import { jsx as
|
|
1059
|
-
var
|
|
561
|
+
import { jsx as jsx8 } from "react/jsx-runtime";
|
|
562
|
+
var Title = forwardRef5(
|
|
1060
563
|
({
|
|
1061
564
|
weight,
|
|
1062
565
|
size,
|
|
@@ -1067,7 +570,7 @@ var Title2 = forwardRef5(
|
|
|
1067
570
|
as: Element = "p",
|
|
1068
571
|
...rest
|
|
1069
572
|
}, ref) => {
|
|
1070
|
-
return /* @__PURE__ */
|
|
573
|
+
return /* @__PURE__ */ jsx8(
|
|
1071
574
|
Element,
|
|
1072
575
|
{
|
|
1073
576
|
...rest,
|
|
@@ -1086,7 +589,7 @@ var Title2 = forwardRef5(
|
|
|
1086
589
|
// src/components/Typography/Set/Display.tsx
|
|
1087
590
|
import clsx6 from "clsx";
|
|
1088
591
|
import { forwardRef as forwardRef6 } from "react";
|
|
1089
|
-
import { jsx as
|
|
592
|
+
import { jsx as jsx9 } from "react/jsx-runtime";
|
|
1090
593
|
var Display = forwardRef6(
|
|
1091
594
|
({
|
|
1092
595
|
size,
|
|
@@ -1098,7 +601,7 @@ var Display = forwardRef6(
|
|
|
1098
601
|
as: Element = "p",
|
|
1099
602
|
...rest
|
|
1100
603
|
}, ref) => {
|
|
1101
|
-
return /* @__PURE__ */
|
|
604
|
+
return /* @__PURE__ */ jsx9(
|
|
1102
605
|
Element,
|
|
1103
606
|
{
|
|
1104
607
|
...rest,
|
|
@@ -1135,8 +638,8 @@ var rootMediaStyle = AppMedia.createMediaStyle();
|
|
|
1135
638
|
var { MediaContextProvider, Media } = AppMedia;
|
|
1136
639
|
|
|
1137
640
|
// src/components/Typography/Responsive/index.tsx
|
|
1138
|
-
import { Fragment as Fragment2, jsx as
|
|
1139
|
-
import { createElement
|
|
641
|
+
import { Fragment as Fragment2, jsx as jsx10 } from "react/jsx-runtime";
|
|
642
|
+
import { createElement } from "react";
|
|
1140
643
|
var TypographyImpl = /* @__PURE__ */ __name(({ level, text, ...rest }) => {
|
|
1141
644
|
const commonProps = {
|
|
1142
645
|
...rest,
|
|
@@ -1144,15 +647,15 @@ var TypographyImpl = /* @__PURE__ */ __name(({ level, text, ...rest }) => {
|
|
|
1144
647
|
};
|
|
1145
648
|
switch (level) {
|
|
1146
649
|
case "caption":
|
|
1147
|
-
return /* @__PURE__ */
|
|
650
|
+
return /* @__PURE__ */ jsx10(Caption, { ...commonProps });
|
|
1148
651
|
case "heading":
|
|
1149
|
-
return /* @__PURE__ */
|
|
652
|
+
return /* @__PURE__ */ jsx10(Heading, { ...commonProps });
|
|
1150
653
|
case "paragraph":
|
|
1151
|
-
return /* @__PURE__ */
|
|
654
|
+
return /* @__PURE__ */ jsx10(Paragraph, { ...commonProps });
|
|
1152
655
|
case "title":
|
|
1153
|
-
return /* @__PURE__ */
|
|
656
|
+
return /* @__PURE__ */ jsx10(Title, { ...commonProps });
|
|
1154
657
|
case "display":
|
|
1155
|
-
return /* @__PURE__ */
|
|
658
|
+
return /* @__PURE__ */ jsx10(Display, { ...commonProps });
|
|
1156
659
|
default:
|
|
1157
660
|
return null;
|
|
1158
661
|
}
|
|
@@ -1193,11 +696,11 @@ var Typography = /* @__PURE__ */ __name((props) => {
|
|
|
1193
696
|
}, "createMediaProps");
|
|
1194
697
|
return (
|
|
1195
698
|
// Fragment없이도 원래 동작해야하는데 liner-web에서 JSX.Element가 배열로 오면 에러 띄워서 임시로 Fragment로 래핑합니다.
|
|
1196
|
-
/* @__PURE__ */
|
|
699
|
+
/* @__PURE__ */ jsx10(Fragment2, { children: breakPointKeyArray.map((breakPointKey) => {
|
|
1197
700
|
const variable = props[breakPointKey];
|
|
1198
701
|
const isExistVariable = !!variable;
|
|
1199
702
|
if (isExistVariable) {
|
|
1200
|
-
return /* @__PURE__ */
|
|
703
|
+
return /* @__PURE__ */ createElement(Media, { ...createMediaProps(breakPointKey), key: breakPointKey }, /* @__PURE__ */ jsx10(TypographyImpl, { ...variable, text: variable.text || children }));
|
|
1201
704
|
}
|
|
1202
705
|
return null;
|
|
1203
706
|
}) })
|
|
@@ -1228,8 +731,8 @@ var style_module_default5 = {
|
|
|
1228
731
|
// src/components/Popover/index.tsx
|
|
1229
732
|
import { cva as cva3 } from "cva";
|
|
1230
733
|
import { clsx as clsx7 } from "clsx";
|
|
1231
|
-
import { IconCloseFill } from "@liner-fe/icon";
|
|
1232
|
-
import { Fragment as Fragment3, jsx as
|
|
734
|
+
import { IconCloseFill as IconCloseFill2 } from "@liner-fe/icon";
|
|
735
|
+
import { Fragment as Fragment3, jsx as jsx11, jsxs as jsxs4 } from "react/jsx-runtime";
|
|
1233
736
|
var DEFAULT_OFFSET = -6;
|
|
1234
737
|
var popoverVariants = cva3({
|
|
1235
738
|
base: style_module_default5.content,
|
|
@@ -1255,9 +758,9 @@ var popoverDescriptionVariants = cva3({
|
|
|
1255
758
|
base: [style_module_default5.description, "lp-sys-typo-caption1-normal-regular"]
|
|
1256
759
|
});
|
|
1257
760
|
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__ */
|
|
761
|
+
var PopoverRoot = /* @__PURE__ */ __name(({ isOpen, children, onChange }) => /* @__PURE__ */ jsx11(PopoverPrimitive.Root, { open: isOpen, onOpenChange: onChange, children }), "PopoverRoot");
|
|
762
|
+
var PopoverTrigger = /* @__PURE__ */ __name(({ by }) => /* @__PURE__ */ jsx11(PopoverPrimitive.Trigger, { asChild: true, children: by }), "PopoverTrigger");
|
|
763
|
+
var PopoverAnchor = /* @__PURE__ */ __name(({ className }) => /* @__PURE__ */ jsx11(
|
|
1261
764
|
"svg",
|
|
1262
765
|
{
|
|
1263
766
|
className,
|
|
@@ -1266,7 +769,7 @@ var PopoverAnchor = /* @__PURE__ */ __name(({ className }) => /* @__PURE__ */ js
|
|
|
1266
769
|
height: "10",
|
|
1267
770
|
viewBox: "0 0 30 10",
|
|
1268
771
|
fill: "none",
|
|
1269
|
-
children: /* @__PURE__ */
|
|
772
|
+
children: /* @__PURE__ */ jsx11(
|
|
1270
773
|
"path",
|
|
1271
774
|
{
|
|
1272
775
|
fillRule: "evenodd",
|
|
@@ -1295,7 +798,7 @@ var PopoverContent = React3.forwardRef(
|
|
|
1295
798
|
children,
|
|
1296
799
|
container,
|
|
1297
800
|
...props
|
|
1298
|
-
}, ref) => /* @__PURE__ */
|
|
801
|
+
}, ref) => /* @__PURE__ */ jsx11(PopoverPrimitive.Portal, { container, children: /* @__PURE__ */ jsxs4(Fragment3, { children: [
|
|
1299
802
|
/* @__PURE__ */ jsxs4(
|
|
1300
803
|
PopoverPrimitive.Content,
|
|
1301
804
|
{
|
|
@@ -1309,22 +812,22 @@ var PopoverContent = React3.forwardRef(
|
|
|
1309
812
|
children: [
|
|
1310
813
|
/* @__PURE__ */ jsxs4("div", { className: style_module_default5.contentContainer, children: [
|
|
1311
814
|
(tag || icon || onClose) && /* @__PURE__ */ jsxs4("div", { className: style_module_default5.heading, children: [
|
|
1312
|
-
tag && /* @__PURE__ */
|
|
1313
|
-
icon && /* @__PURE__ */
|
|
1314
|
-
/* @__PURE__ */
|
|
1315
|
-
onClose && /* @__PURE__ */
|
|
815
|
+
tag && /* @__PURE__ */ jsx11("span", { className: popoverTagVariants(), children: tag }),
|
|
816
|
+
icon && /* @__PURE__ */ jsx11(icon.icon, { size: "xs", fill: icon.fill }),
|
|
817
|
+
/* @__PURE__ */ jsx11("p", { className: popoverTitleVariants(), children: title }),
|
|
818
|
+
onClose && /* @__PURE__ */ jsx11(
|
|
1316
819
|
PopoverPrimitive.PopoverClose,
|
|
1317
820
|
{
|
|
1318
821
|
className: style_module_default5.closeButton,
|
|
1319
822
|
onClick: () => {
|
|
1320
823
|
onClose();
|
|
1321
824
|
},
|
|
1322
|
-
children: /* @__PURE__ */
|
|
825
|
+
children: /* @__PURE__ */ jsx11(IconCloseFill2, { size: "s", fill: true, type: "neutral-label-static-primary" })
|
|
1323
826
|
}
|
|
1324
827
|
)
|
|
1325
828
|
] }),
|
|
1326
|
-
description && /* @__PURE__ */
|
|
1327
|
-
onConfirm && /* @__PURE__ */
|
|
829
|
+
description && /* @__PURE__ */ jsx11("p", { className: popoverDescriptionVariants(), children: description }),
|
|
830
|
+
onConfirm && /* @__PURE__ */ jsx11("div", { className: popoverFooterVariants(), children: /* @__PURE__ */ jsx11(
|
|
1328
831
|
Button,
|
|
1329
832
|
{
|
|
1330
833
|
level: "static",
|
|
@@ -1337,11 +840,11 @@ var PopoverContent = React3.forwardRef(
|
|
|
1337
840
|
) }),
|
|
1338
841
|
children
|
|
1339
842
|
] }),
|
|
1340
|
-
/* @__PURE__ */
|
|
843
|
+
/* @__PURE__ */ jsx11(PopoverPrimitive.Arrow, { asChild: true, children: /* @__PURE__ */ jsx11(PopoverAnchor, { className: clsx7(popoverAnchorVariants({ level })) }) })
|
|
1341
844
|
]
|
|
1342
845
|
}
|
|
1343
846
|
),
|
|
1344
|
-
isOverlay && /* @__PURE__ */
|
|
847
|
+
isOverlay && /* @__PURE__ */ jsx11("div", { "data-radix-popper-overlay": true, className: style_module_default5.overlay })
|
|
1345
848
|
] }) })
|
|
1346
849
|
);
|
|
1347
850
|
var Popover = Object.assign(PopoverRoot, {
|
|
@@ -1364,12 +867,12 @@ var style_module_default6 = {
|
|
|
1364
867
|
// src/components/Tooltip/index.tsx
|
|
1365
868
|
import { cva as cva4 } from "cva";
|
|
1366
869
|
import clsx8 from "clsx";
|
|
1367
|
-
import { jsx as
|
|
870
|
+
import { jsx as jsx12 } from "react/jsx-runtime";
|
|
1368
871
|
var DEFAULT_OFFSET2 = "medium";
|
|
1369
872
|
var tooltipVariants = cva4({ base: [style_module_default6.tooltip, "lp-sys-typo-caption1-normal-medium"] });
|
|
1370
873
|
var TooltipProvider = TooltipPrimitive.Provider;
|
|
1371
|
-
var TooltipRoot = /* @__PURE__ */ __name(({ children, ...props }) => /* @__PURE__ */
|
|
1372
|
-
var TooltipTrigger = /* @__PURE__ */ __name(({ by }) => /* @__PURE__ */
|
|
874
|
+
var TooltipRoot = /* @__PURE__ */ __name(({ children, ...props }) => /* @__PURE__ */ jsx12(TooltipPrimitive.Root, { delayDuration: 0, ...props, children }), "TooltipRoot");
|
|
875
|
+
var TooltipTrigger = /* @__PURE__ */ __name(({ by }) => /* @__PURE__ */ jsx12(TooltipPrimitive.Trigger, { asChild: true, children: by }), "TooltipTrigger");
|
|
1373
876
|
var TooltipContent = forwardRef8(
|
|
1374
877
|
({
|
|
1375
878
|
description,
|
|
@@ -1378,7 +881,7 @@ var TooltipContent = forwardRef8(
|
|
|
1378
881
|
offset = DEFAULT_OFFSET2,
|
|
1379
882
|
collisionPadding,
|
|
1380
883
|
...props
|
|
1381
|
-
}, ref) => /* @__PURE__ */
|
|
884
|
+
}, ref) => /* @__PURE__ */ jsx12(
|
|
1382
885
|
TooltipPrimitive.Content,
|
|
1383
886
|
{
|
|
1384
887
|
ref,
|
|
@@ -1387,7 +890,7 @@ var TooltipContent = forwardRef8(
|
|
|
1387
890
|
collisionPadding,
|
|
1388
891
|
className: clsx8(tooltipVariants(), className),
|
|
1389
892
|
...props,
|
|
1390
|
-
children: /* @__PURE__ */
|
|
893
|
+
children: /* @__PURE__ */ jsx12("p", { className: style_module_default6.tooltipContent, children: description })
|
|
1391
894
|
}
|
|
1392
895
|
)
|
|
1393
896
|
);
|
|
@@ -1421,7 +924,7 @@ var style_module_default7 = {
|
|
|
1421
924
|
|
|
1422
925
|
// src/components/IconButton/index.tsx
|
|
1423
926
|
import { Slot as SlotPrimitive } from "radix-ui";
|
|
1424
|
-
import { jsx as
|
|
927
|
+
import { jsx as jsx13 } from "react/jsx-runtime";
|
|
1425
928
|
var { Slot } = SlotPrimitive;
|
|
1426
929
|
var ICON_SIZE_OPTIONS = ["l", "m", "s"];
|
|
1427
930
|
var ICON_LEVEL_OPTIONS = [
|
|
@@ -1507,7 +1010,7 @@ var IconButton = forwardRef9(
|
|
|
1507
1010
|
...rest
|
|
1508
1011
|
}, ref) => {
|
|
1509
1012
|
const Comp = asChild ? Slot : "button";
|
|
1510
|
-
return /* @__PURE__ */
|
|
1013
|
+
return /* @__PURE__ */ jsx13(
|
|
1511
1014
|
Comp,
|
|
1512
1015
|
{
|
|
1513
1016
|
...rest,
|
|
@@ -1519,13 +1022,13 @@ var IconButton = forwardRef9(
|
|
|
1519
1022
|
ref,
|
|
1520
1023
|
disabled: disabled || isLoading,
|
|
1521
1024
|
role: "button",
|
|
1522
|
-
children: isLoading ? /* @__PURE__ */
|
|
1025
|
+
children: isLoading ? /* @__PURE__ */ jsx13(
|
|
1523
1026
|
Loading,
|
|
1524
1027
|
{
|
|
1525
1028
|
size: iconButtonSizeIconSizeMap[size],
|
|
1526
1029
|
level: iconButtonLoadingLevelMap[level]
|
|
1527
1030
|
}
|
|
1528
|
-
) : /* @__PURE__ */
|
|
1031
|
+
) : /* @__PURE__ */ jsx13(
|
|
1529
1032
|
icon.icon,
|
|
1530
1033
|
{
|
|
1531
1034
|
size: iconButtonSizeIconSizeMap[size],
|
|
@@ -1581,7 +1084,7 @@ var style_module_default9 = {
|
|
|
1581
1084
|
|
|
1582
1085
|
// src/components/Label/index.tsx
|
|
1583
1086
|
import { cva as cva6 } from "cva";
|
|
1584
|
-
import { jsx as
|
|
1087
|
+
import { jsx as jsx14 } from "react/jsx-runtime";
|
|
1585
1088
|
var defaultLabelVariants = cva6({
|
|
1586
1089
|
base: ["lp-sys-typo-paragraph2-normal-medium", style_module_default9.label],
|
|
1587
1090
|
variants: {
|
|
@@ -1622,7 +1125,7 @@ var Label = forwardRef10(
|
|
|
1622
1125
|
error = false,
|
|
1623
1126
|
...props
|
|
1624
1127
|
}, ref) => {
|
|
1625
|
-
return /* @__PURE__ */
|
|
1128
|
+
return /* @__PURE__ */ jsx14(
|
|
1626
1129
|
LabelPrimitive.Root,
|
|
1627
1130
|
{
|
|
1628
1131
|
ref,
|
|
@@ -1639,19 +1142,19 @@ Label.displayName = "Label";
|
|
|
1639
1142
|
|
|
1640
1143
|
// src/components/CheckBox/index.tsx
|
|
1641
1144
|
import { IconCheckMark, IconMinus } from "@liner-fe/icon";
|
|
1642
|
-
import { Fragment as Fragment4, jsx as
|
|
1145
|
+
import { Fragment as Fragment4, jsx as jsx15, jsxs as jsxs5 } from "react/jsx-runtime";
|
|
1643
1146
|
var Checkbox = forwardRef11(
|
|
1644
1147
|
({ className, label, description, ...props }, ref) => {
|
|
1645
1148
|
const CheckboxWrapper = /* @__PURE__ */ __name(({ children }) => label ? /* @__PURE__ */ jsxs5(Label, { position: "right", htmlFor: props.id, children: [
|
|
1646
1149
|
/* @__PURE__ */ jsxs5("div", { className: style_module_default8["label-wrapper"], children: [
|
|
1647
|
-
/* @__PURE__ */
|
|
1648
|
-
description && /* @__PURE__ */
|
|
1150
|
+
/* @__PURE__ */ jsx15(Paragraph, { type: "normal", weight: "medium", size: 3, children: label }),
|
|
1151
|
+
description && /* @__PURE__ */ jsx15(Paragraph, { className: style_module_default8.description, size: 3, type: "normal", weight: "regular", children: description })
|
|
1649
1152
|
] }),
|
|
1650
1153
|
children
|
|
1651
|
-
] }) : /* @__PURE__ */
|
|
1652
|
-
return /* @__PURE__ */
|
|
1653
|
-
/* @__PURE__ */
|
|
1654
|
-
/* @__PURE__ */
|
|
1154
|
+
] }) : /* @__PURE__ */ jsx15(Fragment4, { children }), "CheckboxWrapper");
|
|
1155
|
+
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: [
|
|
1156
|
+
/* @__PURE__ */ jsx15(IconCheckMark, { size: "xs", type: "inverse-label-primary", className: style_module_default8["icon-check"] }),
|
|
1157
|
+
/* @__PURE__ */ jsx15(IconMinus, { size: "xs", type: "inverse-label-primary", className: style_module_default8["icon-minus"] })
|
|
1655
1158
|
] }) }) });
|
|
1656
1159
|
}
|
|
1657
1160
|
);
|
|
@@ -1670,27 +1173,27 @@ var style_module_default10 = {
|
|
|
1670
1173
|
};
|
|
1671
1174
|
|
|
1672
1175
|
// 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__ */
|
|
1176
|
+
import { Fragment as Fragment5, jsx as jsx16, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
1177
|
+
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");
|
|
1178
|
+
var RadioRoot = forwardRef12(({ className, ...props }, ref) => /* @__PURE__ */ jsx16(RadioGroupPrimitive.Root, { ref, className, ...props }));
|
|
1676
1179
|
RadioRoot.displayName = "RadioRoot";
|
|
1677
1180
|
var RadioItem = forwardRef12(
|
|
1678
1181
|
({ className, label, description, ...props }, ref) => {
|
|
1679
1182
|
const RadioItemWrapper = /* @__PURE__ */ __name(({ children }) => label ? /* @__PURE__ */ jsxs6(Label, { position: "right", children: [
|
|
1680
1183
|
/* @__PURE__ */ jsxs6("div", { className: style_module_default10["label-wrapper"], children: [
|
|
1681
1184
|
label,
|
|
1682
|
-
description && /* @__PURE__ */
|
|
1185
|
+
description && /* @__PURE__ */ jsx16(Paragraph, { className: style_module_default10.description, size: 3, type: "normal", weight: "regular", children: description })
|
|
1683
1186
|
] }),
|
|
1684
1187
|
children
|
|
1685
|
-
] }) : /* @__PURE__ */
|
|
1686
|
-
return /* @__PURE__ */
|
|
1188
|
+
] }) : /* @__PURE__ */ jsx16(Fragment5, { children }), "RadioItemWrapper");
|
|
1189
|
+
return /* @__PURE__ */ jsx16(RadioItemWrapper, { children: /* @__PURE__ */ jsx16(
|
|
1687
1190
|
RadioGroupPrimitive.Item,
|
|
1688
1191
|
{
|
|
1689
1192
|
ref,
|
|
1690
1193
|
className: clsx12(style_module_default10["radio-item"], className),
|
|
1691
1194
|
...props,
|
|
1692
1195
|
"aria-label": label,
|
|
1693
|
-
children: /* @__PURE__ */
|
|
1196
|
+
children: /* @__PURE__ */ jsx16(RadioGroupPrimitive.Indicator, { className: style_module_default10.indicator, children: /* @__PURE__ */ jsx16(RadioIndicator, {}) })
|
|
1694
1197
|
}
|
|
1695
1198
|
) });
|
|
1696
1199
|
}
|
|
@@ -1705,8 +1208,8 @@ import {
|
|
|
1705
1208
|
forwardRef as forwardRef13,
|
|
1706
1209
|
useId,
|
|
1707
1210
|
useImperativeHandle,
|
|
1708
|
-
useRef
|
|
1709
|
-
useState
|
|
1211
|
+
useRef,
|
|
1212
|
+
useState
|
|
1710
1213
|
} from "react";
|
|
1711
1214
|
|
|
1712
1215
|
// src/components/Textfield/style.module.scss
|
|
@@ -1735,13 +1238,13 @@ var style_module_default11 = {
|
|
|
1735
1238
|
import { cva as cva7 } from "cva";
|
|
1736
1239
|
import clsx13 from "clsx";
|
|
1737
1240
|
import {
|
|
1738
|
-
IconCloseFill as
|
|
1739
|
-
IconExclamationmarkFill,
|
|
1241
|
+
IconCloseFill as IconCloseFill3,
|
|
1242
|
+
IconExclamationmarkFill as IconExclamationmarkFill2,
|
|
1740
1243
|
IconVisibility,
|
|
1741
1244
|
IconVisibilityOff
|
|
1742
1245
|
} from "@liner-fe/icon";
|
|
1743
1246
|
import { flushSync } from "react-dom";
|
|
1744
|
-
import { Fragment as Fragment6, jsx as
|
|
1247
|
+
import { Fragment as Fragment6, jsx as jsx17, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
1745
1248
|
var defaultTextfieldVariants = cva7({
|
|
1746
1249
|
base: style_module_default11.textfield,
|
|
1747
1250
|
variants: {
|
|
@@ -1767,9 +1270,9 @@ var Textfield = forwardRef13((props, ref) => {
|
|
|
1767
1270
|
onClear,
|
|
1768
1271
|
...rest
|
|
1769
1272
|
} = props;
|
|
1770
|
-
const inputRef =
|
|
1771
|
-
const [value, setValue] =
|
|
1772
|
-
const [deidentifiy, setDeidentifiy] =
|
|
1273
|
+
const inputRef = useRef(null);
|
|
1274
|
+
const [value, setValue] = useState("");
|
|
1275
|
+
const [deidentifiy, setDeidentifiy] = useState(true);
|
|
1773
1276
|
const isControlled = controlledValue !== void 0;
|
|
1774
1277
|
const isPassword = type === "password";
|
|
1775
1278
|
const isDeidentified = isPassword && deidentifiy;
|
|
@@ -1820,7 +1323,7 @@ var Textfield = forwardRef13((props, ref) => {
|
|
|
1820
1323
|
return "text";
|
|
1821
1324
|
})();
|
|
1822
1325
|
return /* @__PURE__ */ jsxs7("div", { className: style_module_default11["textfield-container"], "data-disabled": disabled, "data-error": !!error, children: [
|
|
1823
|
-
/* @__PURE__ */
|
|
1326
|
+
/* @__PURE__ */ jsx17(
|
|
1824
1327
|
"div",
|
|
1825
1328
|
{
|
|
1826
1329
|
className: clsx13(defaultTextfieldVariants({ color }), {
|
|
@@ -1828,7 +1331,7 @@ var Textfield = forwardRef13((props, ref) => {
|
|
|
1828
1331
|
}),
|
|
1829
1332
|
onClick: handleTextfieldClick,
|
|
1830
1333
|
children: /* @__PURE__ */ jsxs7("div", { className: style_module_default11["input-wrapper"], children: [
|
|
1831
|
-
/* @__PURE__ */
|
|
1334
|
+
/* @__PURE__ */ jsx17(
|
|
1832
1335
|
"input",
|
|
1833
1336
|
{
|
|
1834
1337
|
className: clsx13(style_module_default11.input, {
|
|
@@ -1843,7 +1346,7 @@ var Textfield = forwardRef13((props, ref) => {
|
|
|
1843
1346
|
...rest
|
|
1844
1347
|
}
|
|
1845
1348
|
),
|
|
1846
|
-
/* @__PURE__ */
|
|
1349
|
+
/* @__PURE__ */ jsx17(
|
|
1847
1350
|
Label,
|
|
1848
1351
|
{
|
|
1849
1352
|
className: clsx13(style_module_default11.label, {
|
|
@@ -1857,14 +1360,14 @@ var Textfield = forwardRef13((props, ref) => {
|
|
|
1857
1360
|
}
|
|
1858
1361
|
),
|
|
1859
1362
|
/* @__PURE__ */ jsxs7("div", { className: style_module_default11["input-action-buttons"], children: [
|
|
1860
|
-
textfieldValue && !disabled && /* @__PURE__ */
|
|
1363
|
+
textfieldValue && !disabled && /* @__PURE__ */ jsx17(
|
|
1861
1364
|
IconButton,
|
|
1862
1365
|
{
|
|
1863
1366
|
tabIndex: -1,
|
|
1864
1367
|
className: style_module_default11["action-button"],
|
|
1865
1368
|
level: "quinary",
|
|
1866
1369
|
icon: {
|
|
1867
|
-
icon:
|
|
1370
|
+
icon: IconCloseFill3,
|
|
1868
1371
|
size: "s"
|
|
1869
1372
|
},
|
|
1870
1373
|
type: "button",
|
|
@@ -1873,7 +1376,7 @@ var Textfield = forwardRef13((props, ref) => {
|
|
|
1873
1376
|
}
|
|
1874
1377
|
}
|
|
1875
1378
|
),
|
|
1876
|
-
isPassword && !disabled && /* @__PURE__ */
|
|
1379
|
+
isPassword && !disabled && /* @__PURE__ */ jsx17(
|
|
1877
1380
|
IconButton,
|
|
1878
1381
|
{
|
|
1879
1382
|
tabIndex: -1,
|
|
@@ -1890,15 +1393,15 @@ var Textfield = forwardRef13((props, ref) => {
|
|
|
1890
1393
|
}
|
|
1891
1394
|
}
|
|
1892
1395
|
),
|
|
1893
|
-
buttonProps && /* @__PURE__ */
|
|
1396
|
+
buttonProps && /* @__PURE__ */ jsx17(Button, { ...buttonProps, size: "m", type: "button" })
|
|
1894
1397
|
] })
|
|
1895
1398
|
] })
|
|
1896
1399
|
}
|
|
1897
1400
|
),
|
|
1898
1401
|
displayFooter && /* @__PURE__ */ jsxs7("div", { className: style_module_default11.footer, children: [
|
|
1899
|
-
/* @__PURE__ */
|
|
1900
|
-
/* @__PURE__ */
|
|
1901
|
-
/* @__PURE__ */
|
|
1402
|
+
/* @__PURE__ */ jsx17("div", { className: style_module_default11["error-wrapper"], children: error && /* @__PURE__ */ jsxs7(Fragment6, { children: [
|
|
1403
|
+
/* @__PURE__ */ jsx17(IconExclamationmarkFill2, { fill: true, size: "xs", type: "function-label-negative" }),
|
|
1404
|
+
/* @__PURE__ */ jsx17(
|
|
1902
1405
|
Caption,
|
|
1903
1406
|
{
|
|
1904
1407
|
size: 3,
|
|
@@ -1954,16 +1457,16 @@ var style_module_default12 = {
|
|
|
1954
1457
|
import { IconCheckMark as IconCheckMark2, IconDropDown } from "@liner-fe/icon";
|
|
1955
1458
|
import {
|
|
1956
1459
|
forwardRef as forwardRef14,
|
|
1957
|
-
useEffect
|
|
1958
|
-
useState as
|
|
1460
|
+
useEffect,
|
|
1461
|
+
useState as useState2
|
|
1959
1462
|
} from "react";
|
|
1960
1463
|
import clsx14 from "clsx";
|
|
1961
|
-
import { jsx as
|
|
1962
|
-
var Badge = /* @__PURE__ */ __name(({ children }) => /* @__PURE__ */
|
|
1464
|
+
import { jsx as jsx18, jsxs as jsxs8 } from "react/jsx-runtime";
|
|
1465
|
+
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
1466
|
var SelectContent = forwardRef14(
|
|
1964
1467
|
(props, ref) => {
|
|
1965
1468
|
const { id, isResponsive, popSide, sideOffset, listLabel, children, container } = props;
|
|
1966
|
-
return /* @__PURE__ */
|
|
1469
|
+
return /* @__PURE__ */ jsx18(SelectPrimitive.Portal, { container, children: /* @__PURE__ */ jsx18(
|
|
1967
1470
|
SelectPrimitive.Content,
|
|
1968
1471
|
{
|
|
1969
1472
|
id: `select-content-${id}`,
|
|
@@ -1986,13 +1489,13 @@ var SelectContent = forwardRef14(
|
|
|
1986
1489
|
sideOffset,
|
|
1987
1490
|
avoidCollisions: false,
|
|
1988
1491
|
children: /* @__PURE__ */ jsxs8(ScrollArea.Root, { className: style_module_default12.scrollAreaRoot, type: "always", children: [
|
|
1989
|
-
/* @__PURE__ */
|
|
1492
|
+
/* @__PURE__ */ jsx18(SelectPrimitive.Viewport, { asChild: true, children: /* @__PURE__ */ jsx18(
|
|
1990
1493
|
ScrollArea.Viewport,
|
|
1991
1494
|
{
|
|
1992
1495
|
className: style_module_default12.scrollAreaViewport,
|
|
1993
1496
|
style: { maxHeight: "268px", overflowY: "auto" },
|
|
1994
1497
|
children: /* @__PURE__ */ jsxs8(SelectPrimitive.Group, { children: [
|
|
1995
|
-
listLabel && /* @__PURE__ */
|
|
1498
|
+
listLabel && /* @__PURE__ */ jsx18(SelectPrimitive.Label, { asChild: true, children: /* @__PURE__ */ jsx18(
|
|
1996
1499
|
Label,
|
|
1997
1500
|
{
|
|
1998
1501
|
className: style_module_default12["desktop-label"],
|
|
@@ -2006,7 +1509,7 @@ var SelectContent = forwardRef14(
|
|
|
2006
1509
|
] })
|
|
2007
1510
|
}
|
|
2008
1511
|
) }),
|
|
2009
|
-
/* @__PURE__ */
|
|
1512
|
+
/* @__PURE__ */ jsx18(ScrollArea.Scrollbar, { className: style_module_default12.scrollAreaScrollbar, orientation: "vertical", children: /* @__PURE__ */ jsx18(ScrollArea.Thumb, { className: style_module_default12.scrollAreaThumb }) })
|
|
2010
1513
|
] })
|
|
2011
1514
|
}
|
|
2012
1515
|
) });
|
|
@@ -2031,13 +1534,13 @@ var SelectRoot = forwardRef14((props, ref) => {
|
|
|
2031
1534
|
...rest
|
|
2032
1535
|
} = props;
|
|
2033
1536
|
const contentProps = { id, isResponsive, popSide, sideOffset, listLabel, children, container };
|
|
2034
|
-
const [isOpen, setIsOpen] =
|
|
2035
|
-
|
|
1537
|
+
const [isOpen, setIsOpen] = useState2(false);
|
|
1538
|
+
useEffect(() => {
|
|
2036
1539
|
setIsOpen(open);
|
|
2037
1540
|
}, [open]);
|
|
2038
1541
|
return /* @__PURE__ */ jsxs8("div", { children: [
|
|
2039
1542
|
/* @__PURE__ */ jsxs8("div", { className: style_module_default12["label-container"], children: [
|
|
2040
|
-
/* @__PURE__ */
|
|
1543
|
+
/* @__PURE__ */ jsx18(
|
|
2041
1544
|
Label,
|
|
2042
1545
|
{
|
|
2043
1546
|
className: style_module_default12["select-label"],
|
|
@@ -2048,7 +1551,7 @@ var SelectRoot = forwardRef14((props, ref) => {
|
|
|
2048
1551
|
children: label
|
|
2049
1552
|
}
|
|
2050
1553
|
),
|
|
2051
|
-
badge && /* @__PURE__ */
|
|
1554
|
+
badge && /* @__PURE__ */ jsx18(Badge, { children: badge })
|
|
2052
1555
|
] }),
|
|
2053
1556
|
/* @__PURE__ */ jsxs8(
|
|
2054
1557
|
SelectPrimitive.Root,
|
|
@@ -2061,10 +1564,10 @@ var SelectRoot = forwardRef14((props, ref) => {
|
|
|
2061
1564
|
},
|
|
2062
1565
|
children: [
|
|
2063
1566
|
/* @__PURE__ */ jsxs8(SelectPrimitive.Trigger, { className: style_module_default12.trigger, ref, id, children: [
|
|
2064
|
-
/* @__PURE__ */
|
|
2065
|
-
/* @__PURE__ */
|
|
1567
|
+
/* @__PURE__ */ jsx18(SelectPrimitive.Value, { className: style_module_default12.placeholder, placeholder }),
|
|
1568
|
+
/* @__PURE__ */ jsx18(SelectPrimitive.Icon, { className: style_module_default12.openIcon, children: /* @__PURE__ */ jsx18(IconDropDown, { fill: true, size: "xs" }) })
|
|
2066
1569
|
] }),
|
|
2067
|
-
/* @__PURE__ */
|
|
1570
|
+
/* @__PURE__ */ jsx18(SelectContent, { ...contentProps })
|
|
2068
1571
|
]
|
|
2069
1572
|
}
|
|
2070
1573
|
)
|
|
@@ -2081,9 +1584,9 @@ var SelectItem = /* @__PURE__ */ __name(({ value, text, disabled, icon, onClick
|
|
|
2081
1584
|
onClick?.();
|
|
2082
1585
|
},
|
|
2083
1586
|
children: [
|
|
2084
|
-
/* @__PURE__ */
|
|
2085
|
-
icon && /* @__PURE__ */
|
|
2086
|
-
/* @__PURE__ */
|
|
1587
|
+
/* @__PURE__ */ jsx18(SelectPrimitive.ItemText, { children: /* @__PURE__ */ jsx18(Paragraph, { size: 3, type: "normal", weight: "medium", children: text ?? value }) }),
|
|
1588
|
+
icon && /* @__PURE__ */ jsx18(SelectPrimitive.Icon, { className: style_module_default12.icon, children: /* @__PURE__ */ jsx18(icon.icon, { size: "xs", ...icon }) }),
|
|
1589
|
+
/* @__PURE__ */ jsx18(SelectPrimitive.ItemIndicator, { className: style_module_default12.itemIndicator, children: /* @__PURE__ */ jsx18(IconCheckMark2, { size: "xs", type: "brand-label-primary" }) })
|
|
2087
1590
|
]
|
|
2088
1591
|
}
|
|
2089
1592
|
), "SelectItem");
|
|
@@ -2100,15 +1603,15 @@ var style_module_default13 = {
|
|
|
2100
1603
|
|
|
2101
1604
|
// src/components/List/index.tsx
|
|
2102
1605
|
import { IconCheckMark as IconCheckMark3 } from "@liner-fe/icon";
|
|
2103
|
-
import { useState as
|
|
1606
|
+
import { useState as useState3 } from "react";
|
|
2104
1607
|
|
|
2105
1608
|
// src/hooks/collection.tsx
|
|
2106
1609
|
import { createContext, useContext, useMemo } from "react";
|
|
2107
|
-
import { jsx as
|
|
1610
|
+
import { jsx as jsx19 } from "react/jsx-runtime";
|
|
2108
1611
|
var CollectionContext = createContext(void 0);
|
|
2109
1612
|
var CollectionProvider = /* @__PURE__ */ __name(({ value, onChangeValue, children }) => {
|
|
2110
1613
|
const contextValue = useMemo(() => ({ value, onChangeValue }), [value, onChangeValue]);
|
|
2111
|
-
return /* @__PURE__ */
|
|
1614
|
+
return /* @__PURE__ */ jsx19(CollectionContext.Provider, { value: contextValue, children });
|
|
2112
1615
|
}, "CollectionProvider");
|
|
2113
1616
|
var useCollectionContext = /* @__PURE__ */ __name(() => {
|
|
2114
1617
|
const context = useContext(CollectionContext);
|
|
@@ -2120,20 +1623,20 @@ var useCollectionContext = /* @__PURE__ */ __name(() => {
|
|
|
2120
1623
|
|
|
2121
1624
|
// src/components/List/index.tsx
|
|
2122
1625
|
import clsx15 from "clsx";
|
|
2123
|
-
import { jsx as
|
|
1626
|
+
import { jsx as jsx20, jsxs as jsxs9 } from "react/jsx-runtime";
|
|
2124
1627
|
var ListRoot = /* @__PURE__ */ __name(({ children, className, ...props }) => {
|
|
2125
|
-
return /* @__PURE__ */
|
|
1628
|
+
return /* @__PURE__ */ jsx20(CollectionProvider, { ...props, children: /* @__PURE__ */ jsx20("ul", { className: clsx15(style_module_default13.list, className), children }) });
|
|
2126
1629
|
}, "ListRoot");
|
|
2127
1630
|
var Item = /* @__PURE__ */ __name(({ value, text, disabled, icon, onClick }) => {
|
|
2128
|
-
const [isFocused, setIsFocused] =
|
|
1631
|
+
const [isFocused, setIsFocused] = useState3(false);
|
|
2129
1632
|
const { value: contextValue, onChangeValue } = useCollectionContext();
|
|
2130
1633
|
const isSelected = contextValue === value;
|
|
2131
1634
|
const renderIcon = /* @__PURE__ */ __name(() => {
|
|
2132
1635
|
if (isSelected) {
|
|
2133
|
-
return /* @__PURE__ */
|
|
1636
|
+
return /* @__PURE__ */ jsx20(IconCheckMark3, { type: "brand-label-primary" });
|
|
2134
1637
|
}
|
|
2135
1638
|
if (icon) {
|
|
2136
|
-
return /* @__PURE__ */
|
|
1639
|
+
return /* @__PURE__ */ jsx20(icon.icon, { className: style_module_default13.icon, size: "xs", ...icon });
|
|
2137
1640
|
}
|
|
2138
1641
|
return null;
|
|
2139
1642
|
}, "renderIcon");
|
|
@@ -2155,7 +1658,7 @@ var Item = /* @__PURE__ */ __name(({ value, text, disabled, icon, onClick }) =>
|
|
|
2155
1658
|
onChangeValue?.(value);
|
|
2156
1659
|
},
|
|
2157
1660
|
children: [
|
|
2158
|
-
/* @__PURE__ */
|
|
1661
|
+
/* @__PURE__ */ jsx20(Paragraph, { size: 3, type: "normal", weight: "medium", children: text }),
|
|
2159
1662
|
renderIcon()
|
|
2160
1663
|
]
|
|
2161
1664
|
}
|
|
@@ -2163,86 +1666,11 @@ var Item = /* @__PURE__ */ __name(({ value, text, disabled, icon, onClick }) =>
|
|
|
2163
1666
|
}, "Item");
|
|
2164
1667
|
var List = Object.assign(ListRoot, { Item });
|
|
2165
1668
|
|
|
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
1669
|
// src/components/TextButton/index.tsx
|
|
2242
1670
|
import { cva as cva8 } from "cva";
|
|
2243
1671
|
|
|
2244
1672
|
// src/components/TextButton/style.module.scss
|
|
2245
|
-
var
|
|
1673
|
+
var style_module_default14 = {
|
|
2246
1674
|
"button": "_button_zsyf9_1",
|
|
2247
1675
|
"text": "_text_zsyf9_20",
|
|
2248
1676
|
"primary": "_primary_zsyf9_23",
|
|
@@ -2259,7 +1687,7 @@ var style_module_default16 = {
|
|
|
2259
1687
|
import { Children as Children2, cloneElement as cloneElement2, forwardRef as forwardRef15 } from "react";
|
|
2260
1688
|
import clsx16 from "clsx";
|
|
2261
1689
|
import { classNames } from "@liner-fe/design-token";
|
|
2262
|
-
import { jsx as
|
|
1690
|
+
import { jsx as jsx21, jsxs as jsxs10 } from "react/jsx-runtime";
|
|
2263
1691
|
var TEXT_LEVEL_OPTIONS = ["primary", "secondary", "tertiary"];
|
|
2264
1692
|
var TEXT_SIZE_OPTIONS = ["m", "s", "xs"];
|
|
2265
1693
|
var textButtonSizeIconSizeMap = {
|
|
@@ -2280,20 +1708,20 @@ var textButtonLevelIconTypeMap = {
|
|
|
2280
1708
|
}
|
|
2281
1709
|
};
|
|
2282
1710
|
var textButtonVariants = cva8({
|
|
2283
|
-
base: [
|
|
1711
|
+
base: [style_module_default14.button, style_module_default14.text],
|
|
2284
1712
|
variants: {
|
|
2285
1713
|
level: {
|
|
2286
|
-
primary:
|
|
2287
|
-
secondary:
|
|
2288
|
-
tertiary:
|
|
1714
|
+
primary: style_module_default14["primary"],
|
|
1715
|
+
secondary: style_module_default14["secondary"],
|
|
1716
|
+
tertiary: style_module_default14["tertiary"]
|
|
2289
1717
|
},
|
|
2290
1718
|
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"],
|
|
1719
|
+
m: [classNames.typography["lp-sys-typo-paragraph4-normal-regular"], style_module_default14.m],
|
|
1720
|
+
s: [classNames.typography["lp-sys-typo-caption1-normal-regular"], style_module_default14.s],
|
|
1721
|
+
xs: [classNames.typography["lp-sys-typo-caption2-normal-regular"], style_module_default14.xs]
|
|
2294
1722
|
},
|
|
2295
1723
|
underline: {
|
|
2296
|
-
true:
|
|
1724
|
+
true: style_module_default14.underline
|
|
2297
1725
|
}
|
|
2298
1726
|
}
|
|
2299
1727
|
});
|
|
@@ -2315,10 +1743,10 @@ var TextButton = forwardRef15(
|
|
|
2315
1743
|
fillType: "inverse-label-primary",
|
|
2316
1744
|
...icon
|
|
2317
1745
|
}), "getIconProps");
|
|
2318
|
-
const renderContent = /* @__PURE__ */ __name((children2) => /* @__PURE__ */ jsxs10("span", { className:
|
|
2319
|
-
leftIcon && /* @__PURE__ */
|
|
2320
|
-
/* @__PURE__ */
|
|
2321
|
-
rightIcon && /* @__PURE__ */
|
|
1746
|
+
const renderContent = /* @__PURE__ */ __name((children2) => /* @__PURE__ */ jsxs10("span", { className: style_module_default14["text-children"], children: [
|
|
1747
|
+
leftIcon && /* @__PURE__ */ jsx21(leftIcon.icon, { ...getIconProps(leftIcon) }),
|
|
1748
|
+
/* @__PURE__ */ jsx21("p", { children: children2 }),
|
|
1749
|
+
rightIcon && /* @__PURE__ */ jsx21(rightIcon.icon, { ...getIconProps(rightIcon) })
|
|
2322
1750
|
] }), "renderContent");
|
|
2323
1751
|
if (asChild) {
|
|
2324
1752
|
const parent = Children2.only(children);
|
|
@@ -2329,7 +1757,7 @@ var TextButton = forwardRef15(
|
|
|
2329
1757
|
children: renderContent(parent.props.children)
|
|
2330
1758
|
});
|
|
2331
1759
|
}
|
|
2332
|
-
return /* @__PURE__ */
|
|
1760
|
+
return /* @__PURE__ */ jsx21(
|
|
2333
1761
|
"button",
|
|
2334
1762
|
{
|
|
2335
1763
|
className: clsx16(textButtonVariants({ level, underline, size }), className),
|
|
@@ -2342,184 +1770,14 @@ var TextButton = forwardRef15(
|
|
|
2342
1770
|
);
|
|
2343
1771
|
TextButton.displayName = "TextButton";
|
|
2344
1772
|
|
|
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
1773
|
// src/components/Logo/index.tsx
|
|
2516
1774
|
import { vars } from "@liner-fe/design-token";
|
|
2517
|
-
import { jsx as
|
|
1775
|
+
import { jsx as jsx22, jsxs as jsxs11 } from "react/jsx-runtime";
|
|
2518
1776
|
var Logo = /* @__PURE__ */ __name((props) => {
|
|
2519
1777
|
if (props.type === "combination") {
|
|
2520
1778
|
const { width, height, fill = "brand-label-secondary", className } = props;
|
|
2521
1779
|
const darkModeAwareFillColor = vars.color[fill];
|
|
2522
|
-
return /* @__PURE__ */
|
|
1780
|
+
return /* @__PURE__ */ jsx22(
|
|
2523
1781
|
"svg",
|
|
2524
1782
|
{
|
|
2525
1783
|
width,
|
|
@@ -2528,50 +1786,50 @@ var Logo = /* @__PURE__ */ __name((props) => {
|
|
|
2528
1786
|
fill: "none",
|
|
2529
1787
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2530
1788
|
className,
|
|
2531
|
-
children: /* @__PURE__ */
|
|
2532
|
-
/* @__PURE__ */
|
|
1789
|
+
children: /* @__PURE__ */ jsxs11("g", { children: [
|
|
1790
|
+
/* @__PURE__ */ jsx22(
|
|
2533
1791
|
"path",
|
|
2534
1792
|
{
|
|
2535
1793
|
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
1794
|
fill: darkModeAwareFillColor
|
|
2537
1795
|
}
|
|
2538
1796
|
),
|
|
2539
|
-
/* @__PURE__ */
|
|
1797
|
+
/* @__PURE__ */ jsx22(
|
|
2540
1798
|
"path",
|
|
2541
1799
|
{
|
|
2542
1800
|
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
1801
|
fill: darkModeAwareFillColor
|
|
2544
1802
|
}
|
|
2545
1803
|
),
|
|
2546
|
-
/* @__PURE__ */
|
|
1804
|
+
/* @__PURE__ */ jsx22(
|
|
2547
1805
|
"path",
|
|
2548
1806
|
{
|
|
2549
1807
|
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
1808
|
fill: darkModeAwareFillColor
|
|
2551
1809
|
}
|
|
2552
1810
|
),
|
|
2553
|
-
/* @__PURE__ */
|
|
1811
|
+
/* @__PURE__ */ jsx22(
|
|
2554
1812
|
"path",
|
|
2555
1813
|
{
|
|
2556
1814
|
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
1815
|
fill: darkModeAwareFillColor
|
|
2558
1816
|
}
|
|
2559
1817
|
),
|
|
2560
|
-
/* @__PURE__ */
|
|
1818
|
+
/* @__PURE__ */ jsx22(
|
|
2561
1819
|
"path",
|
|
2562
1820
|
{
|
|
2563
1821
|
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
1822
|
fill: darkModeAwareFillColor
|
|
2565
1823
|
}
|
|
2566
1824
|
),
|
|
2567
|
-
/* @__PURE__ */
|
|
1825
|
+
/* @__PURE__ */ jsx22(
|
|
2568
1826
|
"path",
|
|
2569
1827
|
{
|
|
2570
1828
|
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
1829
|
fill: darkModeAwareFillColor
|
|
2572
1830
|
}
|
|
2573
1831
|
),
|
|
2574
|
-
/* @__PURE__ */
|
|
1832
|
+
/* @__PURE__ */ jsx22(
|
|
2575
1833
|
"path",
|
|
2576
1834
|
{
|
|
2577
1835
|
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 +1842,7 @@ var Logo = /* @__PURE__ */ __name((props) => {
|
|
|
2584
1842
|
}
|
|
2585
1843
|
if (props.type === "symbol-main") {
|
|
2586
1844
|
const { size, className } = props;
|
|
2587
|
-
return /* @__PURE__ */
|
|
1845
|
+
return /* @__PURE__ */ jsx22(
|
|
2588
1846
|
"svg",
|
|
2589
1847
|
{
|
|
2590
1848
|
width: size,
|
|
@@ -2593,7 +1851,7 @@ var Logo = /* @__PURE__ */ __name((props) => {
|
|
|
2593
1851
|
fill: "none",
|
|
2594
1852
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2595
1853
|
className,
|
|
2596
|
-
children: /* @__PURE__ */
|
|
1854
|
+
children: /* @__PURE__ */ jsx22(
|
|
2597
1855
|
"path",
|
|
2598
1856
|
{
|
|
2599
1857
|
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 +1863,7 @@ var Logo = /* @__PURE__ */ __name((props) => {
|
|
|
2605
1863
|
}
|
|
2606
1864
|
if (props.type === "symbol-circle") {
|
|
2607
1865
|
const { size, className } = props;
|
|
2608
|
-
return /* @__PURE__ */
|
|
1866
|
+
return /* @__PURE__ */ jsx22(
|
|
2609
1867
|
"svg",
|
|
2610
1868
|
{
|
|
2611
1869
|
width: size,
|
|
@@ -2614,7 +1872,7 @@ var Logo = /* @__PURE__ */ __name((props) => {
|
|
|
2614
1872
|
fill: "none",
|
|
2615
1873
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2616
1874
|
className,
|
|
2617
|
-
children: /* @__PURE__ */
|
|
1875
|
+
children: /* @__PURE__ */ jsx22(
|
|
2618
1876
|
"path",
|
|
2619
1877
|
{
|
|
2620
1878
|
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 +1884,7 @@ var Logo = /* @__PURE__ */ __name((props) => {
|
|
|
2626
1884
|
}
|
|
2627
1885
|
if (props.type === "circle") {
|
|
2628
1886
|
const { size, className } = props;
|
|
2629
|
-
return /* @__PURE__ */
|
|
1887
|
+
return /* @__PURE__ */ jsx22(
|
|
2630
1888
|
"svg",
|
|
2631
1889
|
{
|
|
2632
1890
|
width: size,
|
|
@@ -2635,7 +1893,7 @@ var Logo = /* @__PURE__ */ __name((props) => {
|
|
|
2635
1893
|
fill: "none",
|
|
2636
1894
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2637
1895
|
className,
|
|
2638
|
-
children: /* @__PURE__ */
|
|
1896
|
+
children: /* @__PURE__ */ jsx22(
|
|
2639
1897
|
"path",
|
|
2640
1898
|
{
|
|
2641
1899
|
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 +1905,7 @@ var Logo = /* @__PURE__ */ __name((props) => {
|
|
|
2647
1905
|
}
|
|
2648
1906
|
if (props.type === "favicon") {
|
|
2649
1907
|
const { size, className } = props;
|
|
2650
|
-
return /* @__PURE__ */
|
|
1908
|
+
return /* @__PURE__ */ jsx22(
|
|
2651
1909
|
"svg",
|
|
2652
1910
|
{
|
|
2653
1911
|
width: size,
|
|
@@ -2656,7 +1914,7 @@ var Logo = /* @__PURE__ */ __name((props) => {
|
|
|
2656
1914
|
fill: "none",
|
|
2657
1915
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2658
1916
|
className,
|
|
2659
|
-
children: /* @__PURE__ */
|
|
1917
|
+
children: /* @__PURE__ */ jsx22(
|
|
2660
1918
|
"path",
|
|
2661
1919
|
{
|
|
2662
1920
|
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 +1927,7 @@ var Logo = /* @__PURE__ */ __name((props) => {
|
|
|
2669
1927
|
if (props.type === "team") {
|
|
2670
1928
|
const { width, height, className, fill = "brand-label-secondary" } = props;
|
|
2671
1929
|
const fillColor = vars.color[fill];
|
|
2672
|
-
return /* @__PURE__ */
|
|
1930
|
+
return /* @__PURE__ */ jsx22(
|
|
2673
1931
|
"svg",
|
|
2674
1932
|
{
|
|
2675
1933
|
width,
|
|
@@ -2678,78 +1936,78 @@ var Logo = /* @__PURE__ */ __name((props) => {
|
|
|
2678
1936
|
fill: "none",
|
|
2679
1937
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2680
1938
|
className,
|
|
2681
|
-
children: /* @__PURE__ */
|
|
2682
|
-
/* @__PURE__ */
|
|
1939
|
+
children: /* @__PURE__ */ jsxs11("g", { children: [
|
|
1940
|
+
/* @__PURE__ */ jsx22(
|
|
2683
1941
|
"path",
|
|
2684
1942
|
{
|
|
2685
1943
|
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
1944
|
fill: fillColor
|
|
2687
1945
|
}
|
|
2688
1946
|
),
|
|
2689
|
-
/* @__PURE__ */
|
|
1947
|
+
/* @__PURE__ */ jsx22(
|
|
2690
1948
|
"path",
|
|
2691
1949
|
{
|
|
2692
1950
|
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
1951
|
fill: fillColor
|
|
2694
1952
|
}
|
|
2695
1953
|
),
|
|
2696
|
-
/* @__PURE__ */
|
|
1954
|
+
/* @__PURE__ */ jsx22(
|
|
2697
1955
|
"path",
|
|
2698
1956
|
{
|
|
2699
1957
|
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
1958
|
fill: fillColor
|
|
2701
1959
|
}
|
|
2702
1960
|
),
|
|
2703
|
-
/* @__PURE__ */
|
|
1961
|
+
/* @__PURE__ */ jsx22(
|
|
2704
1962
|
"path",
|
|
2705
1963
|
{
|
|
2706
1964
|
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
1965
|
fill: fillColor
|
|
2708
1966
|
}
|
|
2709
1967
|
),
|
|
2710
|
-
/* @__PURE__ */
|
|
1968
|
+
/* @__PURE__ */ jsx22(
|
|
2711
1969
|
"path",
|
|
2712
1970
|
{
|
|
2713
1971
|
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
1972
|
fill: fillColor
|
|
2715
1973
|
}
|
|
2716
1974
|
),
|
|
2717
|
-
/* @__PURE__ */
|
|
1975
|
+
/* @__PURE__ */ jsx22(
|
|
2718
1976
|
"path",
|
|
2719
1977
|
{
|
|
2720
1978
|
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
1979
|
fill: fillColor
|
|
2722
1980
|
}
|
|
2723
1981
|
),
|
|
2724
|
-
/* @__PURE__ */
|
|
1982
|
+
/* @__PURE__ */ jsx22(
|
|
2725
1983
|
"path",
|
|
2726
1984
|
{
|
|
2727
1985
|
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
1986
|
fill: fillColor
|
|
2729
1987
|
}
|
|
2730
1988
|
),
|
|
2731
|
-
/* @__PURE__ */
|
|
1989
|
+
/* @__PURE__ */ jsx22(
|
|
2732
1990
|
"path",
|
|
2733
1991
|
{
|
|
2734
1992
|
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
1993
|
fill: fillColor
|
|
2736
1994
|
}
|
|
2737
1995
|
),
|
|
2738
|
-
/* @__PURE__ */
|
|
1996
|
+
/* @__PURE__ */ jsx22(
|
|
2739
1997
|
"path",
|
|
2740
1998
|
{
|
|
2741
1999
|
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
2000
|
fill: fillColor
|
|
2743
2001
|
}
|
|
2744
2002
|
),
|
|
2745
|
-
/* @__PURE__ */
|
|
2003
|
+
/* @__PURE__ */ jsx22(
|
|
2746
2004
|
"path",
|
|
2747
2005
|
{
|
|
2748
2006
|
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
2007
|
fill: fillColor
|
|
2750
2008
|
}
|
|
2751
2009
|
),
|
|
2752
|
-
/* @__PURE__ */
|
|
2010
|
+
/* @__PURE__ */ jsx22(
|
|
2753
2011
|
"path",
|
|
2754
2012
|
{
|
|
2755
2013
|
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 +2021,7 @@ var Logo = /* @__PURE__ */ __name((props) => {
|
|
|
2763
2021
|
if (props.type === "pro") {
|
|
2764
2022
|
const { width, height, className, fill = "brand-label-secondary" } = props;
|
|
2765
2023
|
const fillColor = vars.color[fill];
|
|
2766
|
-
return /* @__PURE__ */
|
|
2024
|
+
return /* @__PURE__ */ jsx22(
|
|
2767
2025
|
"svg",
|
|
2768
2026
|
{
|
|
2769
2027
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2772,78 +2030,78 @@ var Logo = /* @__PURE__ */ __name((props) => {
|
|
|
2772
2030
|
viewBox: "0 0 164 36",
|
|
2773
2031
|
fill: "none",
|
|
2774
2032
|
className,
|
|
2775
|
-
children: /* @__PURE__ */
|
|
2776
|
-
/* @__PURE__ */
|
|
2033
|
+
children: /* @__PURE__ */ jsxs11("g", { children: [
|
|
2034
|
+
/* @__PURE__ */ jsx22(
|
|
2777
2035
|
"path",
|
|
2778
2036
|
{
|
|
2779
2037
|
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
2038
|
fill: fillColor
|
|
2781
2039
|
}
|
|
2782
2040
|
),
|
|
2783
|
-
/* @__PURE__ */
|
|
2041
|
+
/* @__PURE__ */ jsx22(
|
|
2784
2042
|
"path",
|
|
2785
2043
|
{
|
|
2786
2044
|
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
2045
|
fill: fillColor
|
|
2788
2046
|
}
|
|
2789
2047
|
),
|
|
2790
|
-
/* @__PURE__ */
|
|
2048
|
+
/* @__PURE__ */ jsx22(
|
|
2791
2049
|
"path",
|
|
2792
2050
|
{
|
|
2793
2051
|
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
2052
|
fill: fillColor
|
|
2795
2053
|
}
|
|
2796
2054
|
),
|
|
2797
|
-
/* @__PURE__ */
|
|
2055
|
+
/* @__PURE__ */ jsx22(
|
|
2798
2056
|
"path",
|
|
2799
2057
|
{
|
|
2800
2058
|
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
2059
|
fill: fillColor
|
|
2802
2060
|
}
|
|
2803
2061
|
),
|
|
2804
|
-
/* @__PURE__ */
|
|
2062
|
+
/* @__PURE__ */ jsx22(
|
|
2805
2063
|
"path",
|
|
2806
2064
|
{
|
|
2807
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",
|
|
2808
2066
|
fill: fillColor
|
|
2809
2067
|
}
|
|
2810
2068
|
),
|
|
2811
|
-
/* @__PURE__ */
|
|
2069
|
+
/* @__PURE__ */ jsx22(
|
|
2812
2070
|
"path",
|
|
2813
2071
|
{
|
|
2814
2072
|
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
2073
|
fill: fillColor
|
|
2816
2074
|
}
|
|
2817
2075
|
),
|
|
2818
|
-
/* @__PURE__ */
|
|
2076
|
+
/* @__PURE__ */ jsx22(
|
|
2819
2077
|
"path",
|
|
2820
2078
|
{
|
|
2821
2079
|
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
2080
|
fill: fillColor
|
|
2823
2081
|
}
|
|
2824
2082
|
),
|
|
2825
|
-
/* @__PURE__ */
|
|
2083
|
+
/* @__PURE__ */ jsx22(
|
|
2826
2084
|
"path",
|
|
2827
2085
|
{
|
|
2828
2086
|
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
2087
|
fill: fillColor
|
|
2830
2088
|
}
|
|
2831
2089
|
),
|
|
2832
|
-
/* @__PURE__ */
|
|
2090
|
+
/* @__PURE__ */ jsx22(
|
|
2833
2091
|
"path",
|
|
2834
2092
|
{
|
|
2835
2093
|
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
2094
|
fill: fillColor
|
|
2837
2095
|
}
|
|
2838
2096
|
),
|
|
2839
|
-
/* @__PURE__ */
|
|
2097
|
+
/* @__PURE__ */ jsx22(
|
|
2840
2098
|
"path",
|
|
2841
2099
|
{
|
|
2842
2100
|
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
2101
|
fill: fillColor
|
|
2844
2102
|
}
|
|
2845
2103
|
),
|
|
2846
|
-
/* @__PURE__ */
|
|
2104
|
+
/* @__PURE__ */ jsx22(
|
|
2847
2105
|
"path",
|
|
2848
2106
|
{
|
|
2849
2107
|
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 +2115,7 @@ var Logo = /* @__PURE__ */ __name((props) => {
|
|
|
2857
2115
|
if (props.type === "max") {
|
|
2858
2116
|
const { width, height, className, fill = "brand-label-secondary" } = props;
|
|
2859
2117
|
const fillColor = vars.color[fill];
|
|
2860
|
-
return /* @__PURE__ */
|
|
2118
|
+
return /* @__PURE__ */ jsx22(
|
|
2861
2119
|
"svg",
|
|
2862
2120
|
{
|
|
2863
2121
|
width,
|
|
@@ -2866,71 +2124,71 @@ var Logo = /* @__PURE__ */ __name((props) => {
|
|
|
2866
2124
|
fill: "none",
|
|
2867
2125
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2868
2126
|
className,
|
|
2869
|
-
children: /* @__PURE__ */
|
|
2870
|
-
/* @__PURE__ */
|
|
2127
|
+
children: /* @__PURE__ */ jsxs11("g", { children: [
|
|
2128
|
+
/* @__PURE__ */ jsx22(
|
|
2871
2129
|
"path",
|
|
2872
2130
|
{
|
|
2873
2131
|
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
2132
|
fill: fillColor
|
|
2875
2133
|
}
|
|
2876
2134
|
),
|
|
2877
|
-
/* @__PURE__ */
|
|
2135
|
+
/* @__PURE__ */ jsx22(
|
|
2878
2136
|
"path",
|
|
2879
2137
|
{
|
|
2880
2138
|
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
2139
|
fill: fillColor
|
|
2882
2140
|
}
|
|
2883
2141
|
),
|
|
2884
|
-
/* @__PURE__ */
|
|
2142
|
+
/* @__PURE__ */ jsx22(
|
|
2885
2143
|
"path",
|
|
2886
2144
|
{
|
|
2887
2145
|
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
2146
|
fill: fillColor
|
|
2889
2147
|
}
|
|
2890
2148
|
),
|
|
2891
|
-
/* @__PURE__ */
|
|
2149
|
+
/* @__PURE__ */ jsx22(
|
|
2892
2150
|
"path",
|
|
2893
2151
|
{
|
|
2894
2152
|
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
2153
|
fill: fillColor
|
|
2896
2154
|
}
|
|
2897
2155
|
),
|
|
2898
|
-
/* @__PURE__ */
|
|
2156
|
+
/* @__PURE__ */ jsx22(
|
|
2899
2157
|
"path",
|
|
2900
2158
|
{
|
|
2901
2159
|
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
2160
|
fill: fillColor
|
|
2903
2161
|
}
|
|
2904
2162
|
),
|
|
2905
|
-
/* @__PURE__ */
|
|
2163
|
+
/* @__PURE__ */ jsx22(
|
|
2906
2164
|
"path",
|
|
2907
2165
|
{
|
|
2908
2166
|
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
2167
|
fill: fillColor
|
|
2910
2168
|
}
|
|
2911
2169
|
),
|
|
2912
|
-
/* @__PURE__ */
|
|
2170
|
+
/* @__PURE__ */ jsx22(
|
|
2913
2171
|
"path",
|
|
2914
2172
|
{
|
|
2915
2173
|
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
2174
|
fill: fillColor
|
|
2917
2175
|
}
|
|
2918
2176
|
),
|
|
2919
|
-
/* @__PURE__ */
|
|
2177
|
+
/* @__PURE__ */ jsx22(
|
|
2920
2178
|
"path",
|
|
2921
2179
|
{
|
|
2922
2180
|
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
2181
|
fill: fillColor
|
|
2924
2182
|
}
|
|
2925
2183
|
),
|
|
2926
|
-
/* @__PURE__ */
|
|
2184
|
+
/* @__PURE__ */ jsx22(
|
|
2927
2185
|
"path",
|
|
2928
2186
|
{
|
|
2929
2187
|
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
2188
|
fill: fillColor
|
|
2931
2189
|
}
|
|
2932
2190
|
),
|
|
2933
|
-
/* @__PURE__ */
|
|
2191
|
+
/* @__PURE__ */ jsx22(
|
|
2934
2192
|
"path",
|
|
2935
2193
|
{
|
|
2936
2194
|
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 +2202,7 @@ var Logo = /* @__PURE__ */ __name((props) => {
|
|
|
2944
2202
|
if (props.type === "scholar") {
|
|
2945
2203
|
const { width, height, className, fill = "brand-label-secondary" } = props;
|
|
2946
2204
|
const fillColor = vars.color[fill];
|
|
2947
|
-
return /* @__PURE__ */
|
|
2205
|
+
return /* @__PURE__ */ jsx22(
|
|
2948
2206
|
"svg",
|
|
2949
2207
|
{
|
|
2950
2208
|
width,
|
|
@@ -2953,8 +2211,8 @@ var Logo = /* @__PURE__ */ __name((props) => {
|
|
|
2953
2211
|
fill: "none",
|
|
2954
2212
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2955
2213
|
className,
|
|
2956
|
-
children: /* @__PURE__ */
|
|
2957
|
-
/* @__PURE__ */
|
|
2214
|
+
children: /* @__PURE__ */ jsxs11("g", { children: [
|
|
2215
|
+
/* @__PURE__ */ jsx22(
|
|
2958
2216
|
"path",
|
|
2959
2217
|
{
|
|
2960
2218
|
fillRule: "evenodd",
|
|
@@ -2963,7 +2221,7 @@ var Logo = /* @__PURE__ */ __name((props) => {
|
|
|
2963
2221
|
fill: fillColor
|
|
2964
2222
|
}
|
|
2965
2223
|
),
|
|
2966
|
-
/* @__PURE__ */
|
|
2224
|
+
/* @__PURE__ */ jsx22(
|
|
2967
2225
|
"path",
|
|
2968
2226
|
{
|
|
2969
2227
|
fillRule: "evenodd",
|
|
@@ -2972,14 +2230,14 @@ var Logo = /* @__PURE__ */ __name((props) => {
|
|
|
2972
2230
|
fill: fillColor
|
|
2973
2231
|
}
|
|
2974
2232
|
),
|
|
2975
|
-
/* @__PURE__ */
|
|
2233
|
+
/* @__PURE__ */ jsx22(
|
|
2976
2234
|
"path",
|
|
2977
2235
|
{
|
|
2978
2236
|
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
2237
|
fill: fillColor
|
|
2980
2238
|
}
|
|
2981
2239
|
),
|
|
2982
|
-
/* @__PURE__ */
|
|
2240
|
+
/* @__PURE__ */ jsx22(
|
|
2983
2241
|
"path",
|
|
2984
2242
|
{
|
|
2985
2243
|
fillRule: "evenodd",
|
|
@@ -2988,7 +2246,7 @@ var Logo = /* @__PURE__ */ __name((props) => {
|
|
|
2988
2246
|
fill: fillColor
|
|
2989
2247
|
}
|
|
2990
2248
|
),
|
|
2991
|
-
/* @__PURE__ */
|
|
2249
|
+
/* @__PURE__ */ jsx22(
|
|
2992
2250
|
"path",
|
|
2993
2251
|
{
|
|
2994
2252
|
fillRule: "evenodd",
|
|
@@ -2997,42 +2255,42 @@ var Logo = /* @__PURE__ */ __name((props) => {
|
|
|
2997
2255
|
fill: fillColor
|
|
2998
2256
|
}
|
|
2999
2257
|
),
|
|
3000
|
-
/* @__PURE__ */
|
|
2258
|
+
/* @__PURE__ */ jsx22(
|
|
3001
2259
|
"path",
|
|
3002
2260
|
{
|
|
3003
2261
|
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
2262
|
fill: fillColor
|
|
3005
2263
|
}
|
|
3006
2264
|
),
|
|
3007
|
-
/* @__PURE__ */
|
|
2265
|
+
/* @__PURE__ */ jsx22(
|
|
3008
2266
|
"path",
|
|
3009
2267
|
{
|
|
3010
2268
|
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
2269
|
fill: fillColor
|
|
3012
2270
|
}
|
|
3013
2271
|
),
|
|
3014
|
-
/* @__PURE__ */
|
|
2272
|
+
/* @__PURE__ */ jsx22(
|
|
3015
2273
|
"path",
|
|
3016
2274
|
{
|
|
3017
2275
|
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
2276
|
fill: fillColor
|
|
3019
2277
|
}
|
|
3020
2278
|
),
|
|
3021
|
-
/* @__PURE__ */
|
|
2279
|
+
/* @__PURE__ */ jsx22(
|
|
3022
2280
|
"path",
|
|
3023
2281
|
{
|
|
3024
2282
|
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
2283
|
fill: fillColor
|
|
3026
2284
|
}
|
|
3027
2285
|
),
|
|
3028
|
-
/* @__PURE__ */
|
|
2286
|
+
/* @__PURE__ */ jsx22(
|
|
3029
2287
|
"path",
|
|
3030
2288
|
{
|
|
3031
2289
|
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
2290
|
fill: fillColor
|
|
3033
2291
|
}
|
|
3034
2292
|
),
|
|
3035
|
-
/* @__PURE__ */
|
|
2293
|
+
/* @__PURE__ */ jsx22(
|
|
3036
2294
|
"path",
|
|
3037
2295
|
{
|
|
3038
2296
|
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 +2301,7 @@ var Logo = /* @__PURE__ */ __name((props) => {
|
|
|
3043
2301
|
}
|
|
3044
2302
|
);
|
|
3045
2303
|
}
|
|
3046
|
-
return /* @__PURE__ */
|
|
2304
|
+
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
2305
|
"path",
|
|
3048
2306
|
{
|
|
3049
2307
|
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 +2313,11 @@ var Logo = /* @__PURE__ */ __name((props) => {
|
|
|
3055
2313
|
// src/components/coach-mark/primitive/index.tsx
|
|
3056
2314
|
import * as PopoverPrimitive2 from "@radix-ui/react-popover";
|
|
3057
2315
|
import { cva as cva9 } from "cva";
|
|
3058
|
-
import
|
|
2316
|
+
import clsx17 from "clsx";
|
|
3059
2317
|
import { forwardRef as forwardRef16 } from "react";
|
|
3060
2318
|
|
|
3061
2319
|
// src/components/coach-mark/primitive/style.module.scss
|
|
3062
|
-
var
|
|
2320
|
+
var style_module_default15 = {
|
|
3063
2321
|
"anchor": "_anchor_1d9jc_1",
|
|
3064
2322
|
"content": "_content_1d9jc_5",
|
|
3065
2323
|
"overlay": "_overlay_1d9jc_14",
|
|
@@ -3067,20 +2325,20 @@ var style_module_default18 = {
|
|
|
3067
2325
|
};
|
|
3068
2326
|
|
|
3069
2327
|
// src/components/coach-mark/primitive/index.tsx
|
|
3070
|
-
import { IconCloseFill as
|
|
3071
|
-
import { jsx as
|
|
2328
|
+
import { IconCloseFill as IconCloseFill4 } from "@liner-fe/icon";
|
|
2329
|
+
import { jsx as jsx23, jsxs as jsxs12 } from "react/jsx-runtime";
|
|
3072
2330
|
var primitiveCoachMarkVariants = cva9({
|
|
3073
|
-
base:
|
|
2331
|
+
base: style_module_default15.content
|
|
3074
2332
|
});
|
|
3075
2333
|
var primitiveCoachMarkAnchorVariants = cva9({
|
|
3076
|
-
base:
|
|
2334
|
+
base: style_module_default15.anchor
|
|
3077
2335
|
});
|
|
3078
|
-
var PrimitiveCoachMarkTrigger = /* @__PURE__ */ __name(({ by }) => /* @__PURE__ */
|
|
3079
|
-
var PrimitiveCoachMarkRoot = /* @__PURE__ */ __name(({ trigger, children, ...props }) => /* @__PURE__ */
|
|
3080
|
-
/* @__PURE__ */
|
|
2336
|
+
var PrimitiveCoachMarkTrigger = /* @__PURE__ */ __name(({ by }) => /* @__PURE__ */ jsx23(PopoverPrimitive2.Trigger, { asChild: true, children: by }), "PrimitiveCoachMarkTrigger");
|
|
2337
|
+
var PrimitiveCoachMarkRoot = /* @__PURE__ */ __name(({ trigger, children, ...props }) => /* @__PURE__ */ jsxs12(PopoverPrimitive2.Root, { ...props, children: [
|
|
2338
|
+
/* @__PURE__ */ jsx23(PrimitiveCoachMarkTrigger, { by: trigger }),
|
|
3081
2339
|
children
|
|
3082
2340
|
] }), "PrimitiveCoachMarkRoot");
|
|
3083
|
-
var PrimitiveCoachMarkAnchor = /* @__PURE__ */ __name(({ className }) => /* @__PURE__ */
|
|
2341
|
+
var PrimitiveCoachMarkAnchor = /* @__PURE__ */ __name(({ className }) => /* @__PURE__ */ jsx23(
|
|
3084
2342
|
"svg",
|
|
3085
2343
|
{
|
|
3086
2344
|
className,
|
|
@@ -3089,7 +2347,7 @@ var PrimitiveCoachMarkAnchor = /* @__PURE__ */ __name(({ className }) => /* @__P
|
|
|
3089
2347
|
height: "24",
|
|
3090
2348
|
viewBox: "0 0 10 24",
|
|
3091
2349
|
fill: "none",
|
|
3092
|
-
children: /* @__PURE__ */
|
|
2350
|
+
children: /* @__PURE__ */ jsx23(
|
|
3093
2351
|
"path",
|
|
3094
2352
|
{
|
|
3095
2353
|
fillRule: "evenodd",
|
|
@@ -3100,16 +2358,16 @@ var PrimitiveCoachMarkAnchor = /* @__PURE__ */ __name(({ className }) => /* @__P
|
|
|
3100
2358
|
)
|
|
3101
2359
|
}
|
|
3102
2360
|
), "PrimitiveCoachMarkAnchor");
|
|
3103
|
-
var PrimitiveCoachMarkClose = /* @__PURE__ */ __name(({ className, onClick }) => /* @__PURE__ */
|
|
3104
|
-
var PrimitiveCoachMarkContent = forwardRef16(({ children, className, container, ...rest }, ref) => /* @__PURE__ */
|
|
2361
|
+
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");
|
|
2362
|
+
var PrimitiveCoachMarkContent = forwardRef16(({ children, className, container, ...rest }, ref) => /* @__PURE__ */ jsx23(PopoverPrimitive2.Portal, { container, children: /* @__PURE__ */ jsxs12(
|
|
3105
2363
|
PopoverPrimitive2.Content,
|
|
3106
2364
|
{
|
|
3107
2365
|
ref,
|
|
3108
|
-
className:
|
|
2366
|
+
className: clsx17(primitiveCoachMarkVariants(), className),
|
|
3109
2367
|
...rest,
|
|
3110
2368
|
children: [
|
|
3111
2369
|
children,
|
|
3112
|
-
/* @__PURE__ */
|
|
2370
|
+
/* @__PURE__ */ jsx23(PopoverPrimitive2.Arrow, { asChild: true, children: /* @__PURE__ */ jsx23(PrimitiveCoachMarkAnchor, { className: clsx17(primitiveCoachMarkAnchorVariants()) }) })
|
|
3113
2371
|
]
|
|
3114
2372
|
}
|
|
3115
2373
|
) }));
|
|
@@ -3121,10 +2379,10 @@ var PrimitiveCoachMark = Object.assign(PrimitiveCoachMarkRoot, {
|
|
|
3121
2379
|
});
|
|
3122
2380
|
|
|
3123
2381
|
// src/components/coach-mark/compact/index.tsx
|
|
3124
|
-
import { forwardRef as forwardRef18, useState as
|
|
2382
|
+
import { forwardRef as forwardRef18, useState as useState4 } from "react";
|
|
3125
2383
|
|
|
3126
2384
|
// src/components/coach-mark/compact/style.module.scss
|
|
3127
|
-
var
|
|
2385
|
+
var style_module_default16 = {
|
|
3128
2386
|
"content": "_content_mrnt5_1",
|
|
3129
2387
|
"slideIn": "_slideIn_mrnt5_1",
|
|
3130
2388
|
"closeButton": "_closeButton_mrnt5_20",
|
|
@@ -3136,14 +2394,14 @@ var style_module_default19 = {
|
|
|
3136
2394
|
};
|
|
3137
2395
|
|
|
3138
2396
|
// src/components/coach-mark/compact/index.tsx
|
|
3139
|
-
import
|
|
2397
|
+
import clsx19 from "clsx";
|
|
3140
2398
|
import { cva as cva11 } from "cva";
|
|
3141
2399
|
|
|
3142
2400
|
// src/components/Tag/index.tsx
|
|
3143
2401
|
import { forwardRef as forwardRef17 } from "react";
|
|
3144
2402
|
|
|
3145
2403
|
// src/components/Tag/style.module.scss
|
|
3146
|
-
var
|
|
2404
|
+
var style_module_default17 = {
|
|
3147
2405
|
"tag": "_tag_b57yu_2",
|
|
3148
2406
|
"s": "_s_b57yu_12",
|
|
3149
2407
|
"m": "_m_b57yu_17",
|
|
@@ -3286,23 +2544,23 @@ var colorOptions = [
|
|
|
3286
2544
|
|
|
3287
2545
|
// src/components/Tag/index.tsx
|
|
3288
2546
|
import { cva as cva10 } from "cva";
|
|
3289
|
-
import
|
|
3290
|
-
import { jsx as
|
|
2547
|
+
import clsx18 from "clsx";
|
|
2548
|
+
import { jsx as jsx24 } from "react/jsx-runtime";
|
|
3291
2549
|
var tagVariants = cva10({
|
|
3292
|
-
base:
|
|
2550
|
+
base: style_module_default17.tag,
|
|
3293
2551
|
variants: {
|
|
3294
|
-
borderColor: arrayToStyleObject(colorOptions,
|
|
2552
|
+
borderColor: arrayToStyleObject(colorOptions, style_module_default17, "border"),
|
|
3295
2553
|
size: {
|
|
3296
|
-
s:
|
|
3297
|
-
m:
|
|
3298
|
-
l:
|
|
2554
|
+
s: style_module_default17.s,
|
|
2555
|
+
m: style_module_default17.m,
|
|
2556
|
+
l: style_module_default17.l
|
|
3299
2557
|
},
|
|
3300
2558
|
thick: {
|
|
3301
|
-
true:
|
|
2559
|
+
true: style_module_default17.thick
|
|
3302
2560
|
},
|
|
3303
2561
|
radius: {
|
|
3304
|
-
square:
|
|
3305
|
-
rounded:
|
|
2562
|
+
square: style_module_default17.square,
|
|
2563
|
+
rounded: style_module_default17.rounded
|
|
3306
2564
|
}
|
|
3307
2565
|
}
|
|
3308
2566
|
});
|
|
@@ -3318,14 +2576,14 @@ var Tag = forwardRef17(
|
|
|
3318
2576
|
className,
|
|
3319
2577
|
...rest
|
|
3320
2578
|
}, ref) => {
|
|
3321
|
-
return /* @__PURE__ */
|
|
2579
|
+
return /* @__PURE__ */ jsx24(
|
|
3322
2580
|
Caption,
|
|
3323
2581
|
{
|
|
3324
2582
|
ref,
|
|
3325
2583
|
size: 3,
|
|
3326
2584
|
type: "normal",
|
|
3327
2585
|
weight: "bold",
|
|
3328
|
-
className:
|
|
2586
|
+
className: clsx18(tagVariants({ borderColor, size, thick, radius }), className),
|
|
3329
2587
|
color,
|
|
3330
2588
|
style: { backgroundColor: `var(--${backgroundColor})`, ...rest.style },
|
|
3331
2589
|
...rest,
|
|
@@ -3337,47 +2595,47 @@ var Tag = forwardRef17(
|
|
|
3337
2595
|
|
|
3338
2596
|
// src/components/coach-mark/compact/index.tsx
|
|
3339
2597
|
import * as PopoverPrimitive3 from "@radix-ui/react-popover";
|
|
3340
|
-
import { jsx as
|
|
2598
|
+
import { jsx as jsx25, jsxs as jsxs13 } from "react/jsx-runtime";
|
|
3341
2599
|
var compactCoachMarkVariants = cva11({
|
|
3342
|
-
base:
|
|
2600
|
+
base: style_module_default16.content,
|
|
3343
2601
|
variants: {
|
|
3344
2602
|
level: {
|
|
3345
|
-
brand:
|
|
3346
|
-
"inverse-static":
|
|
3347
|
-
inverse:
|
|
2603
|
+
brand: style_module_default16.brand,
|
|
2604
|
+
"inverse-static": style_module_default16["inverse-static"],
|
|
2605
|
+
inverse: style_module_default16.inverse
|
|
3348
2606
|
}
|
|
3349
2607
|
}
|
|
3350
2608
|
});
|
|
3351
2609
|
var CompactCoachMarkRoot = /* @__PURE__ */ __name((props) => {
|
|
3352
|
-
return /* @__PURE__ */
|
|
2610
|
+
return /* @__PURE__ */ jsx25(PrimitiveCoachMark, { ...props });
|
|
3353
2611
|
}, "CompactCoachMarkRoot");
|
|
3354
2612
|
var CompactCoachMarkContent = forwardRef18(
|
|
3355
2613
|
({ tag, title, level = "brand", className, side = "top", sideOffset = -15, onClose, ...props }, ref) => {
|
|
3356
|
-
const [isHover, setIsHover] =
|
|
3357
|
-
return /* @__PURE__ */
|
|
2614
|
+
const [isHover, setIsHover] = useState4(false);
|
|
2615
|
+
return /* @__PURE__ */ jsxs13(
|
|
3358
2616
|
PrimitiveCoachMark.Content,
|
|
3359
2617
|
{
|
|
3360
2618
|
ref,
|
|
3361
|
-
className:
|
|
2619
|
+
className: clsx19(compactCoachMarkVariants({ level }), className),
|
|
3362
2620
|
side,
|
|
3363
2621
|
sideOffset,
|
|
3364
2622
|
onMouseEnter: () => setIsHover(true),
|
|
3365
2623
|
onMouseLeave: () => setIsHover(false),
|
|
3366
2624
|
...props,
|
|
3367
2625
|
children: [
|
|
3368
|
-
tag && /* @__PURE__ */
|
|
3369
|
-
/* @__PURE__ */
|
|
2626
|
+
tag && /* @__PURE__ */ jsx25(Tag, { color: "neutral-label-primary", backgroundColor: "neutral-container-lowest", children: tag }),
|
|
2627
|
+
/* @__PURE__ */ jsx25(
|
|
3370
2628
|
Caption,
|
|
3371
2629
|
{
|
|
3372
2630
|
size: 2,
|
|
3373
2631
|
type: "normal",
|
|
3374
2632
|
weight: "bold",
|
|
3375
2633
|
color: "inverse-label-static-primary",
|
|
3376
|
-
className:
|
|
2634
|
+
className: style_module_default16.main,
|
|
3377
2635
|
children: title
|
|
3378
2636
|
}
|
|
3379
2637
|
),
|
|
3380
|
-
isHover && /* @__PURE__ */
|
|
2638
|
+
isHover && /* @__PURE__ */ jsx25(PrimitiveCoachMark.Close, { className: style_module_default16.close, onClick: onClose })
|
|
3381
2639
|
]
|
|
3382
2640
|
}
|
|
3383
2641
|
);
|
|
@@ -3393,7 +2651,7 @@ var CompactCoachMark = Object.assign(CompactCoachMarkRoot, {
|
|
|
3393
2651
|
import * as PopoverPrimitive4 from "@radix-ui/react-popover";
|
|
3394
2652
|
|
|
3395
2653
|
// src/components/coach-mark/main/style.module.scss
|
|
3396
|
-
var
|
|
2654
|
+
var style_module_default18 = {
|
|
3397
2655
|
"content": "_content_1w9jj_1",
|
|
3398
2656
|
"slideIn": "_slideIn_1w9jj_1",
|
|
3399
2657
|
"brand": "_brand_1w9jj_19",
|
|
@@ -3414,20 +2672,20 @@ var style_module_default21 = {
|
|
|
3414
2672
|
import {
|
|
3415
2673
|
forwardRef as forwardRef19,
|
|
3416
2674
|
isValidElement,
|
|
3417
|
-
useEffect as
|
|
2675
|
+
useEffect as useEffect2
|
|
3418
2676
|
} from "react";
|
|
3419
2677
|
import { IconClose } from "@liner-fe/icon";
|
|
3420
2678
|
import { cva as cva12 } from "cva";
|
|
3421
|
-
import
|
|
2679
|
+
import clsx20 from "clsx";
|
|
3422
2680
|
import { Illust } from "@liner-fe/illust";
|
|
3423
|
-
import { jsx as
|
|
2681
|
+
import { jsx as jsx26, jsxs as jsxs14 } from "react/jsx-runtime";
|
|
3424
2682
|
var coachMarkVariants = cva12({
|
|
3425
|
-
base:
|
|
2683
|
+
base: style_module_default18.content,
|
|
3426
2684
|
variants: {
|
|
3427
2685
|
level: {
|
|
3428
|
-
brand:
|
|
3429
|
-
"inverse-static":
|
|
3430
|
-
inverse:
|
|
2686
|
+
brand: style_module_default18.brand,
|
|
2687
|
+
"inverse-static": style_module_default18["inverse-static"],
|
|
2688
|
+
inverse: style_module_default18.inverse
|
|
3431
2689
|
}
|
|
3432
2690
|
}
|
|
3433
2691
|
});
|
|
@@ -3438,7 +2696,7 @@ var coachMarkLevelButtonLevelMap = {
|
|
|
3438
2696
|
};
|
|
3439
2697
|
var CoachMarkRoot = /* @__PURE__ */ __name((props) => {
|
|
3440
2698
|
const { children } = props;
|
|
3441
|
-
|
|
2699
|
+
useEffect2(() => {
|
|
3442
2700
|
if (isValidElement(children) && "image" in children.props) {
|
|
3443
2701
|
const imageProps = children.props.image;
|
|
3444
2702
|
if (imageProps?.src) {
|
|
@@ -3447,7 +2705,7 @@ var CoachMarkRoot = /* @__PURE__ */ __name((props) => {
|
|
|
3447
2705
|
}
|
|
3448
2706
|
}
|
|
3449
2707
|
}, []);
|
|
3450
|
-
return /* @__PURE__ */
|
|
2708
|
+
return /* @__PURE__ */ jsx26(PrimitiveCoachMark, { ...props });
|
|
3451
2709
|
}, "CoachMarkRoot");
|
|
3452
2710
|
var CoachMarkContent = forwardRef19(
|
|
3453
2711
|
({
|
|
@@ -3467,31 +2725,31 @@ var CoachMarkContent = forwardRef19(
|
|
|
3467
2725
|
secondaryButton,
|
|
3468
2726
|
onClose,
|
|
3469
2727
|
...rest
|
|
3470
|
-
}, ref) => /* @__PURE__ */
|
|
2728
|
+
}, ref) => /* @__PURE__ */ jsxs14(
|
|
3471
2729
|
PrimitiveCoachMark.Content,
|
|
3472
2730
|
{
|
|
3473
2731
|
ref,
|
|
3474
|
-
className:
|
|
2732
|
+
className: clsx20(coachMarkVariants({ level }), className),
|
|
3475
2733
|
style: { width: width ? `${width}px` : void 0 },
|
|
3476
2734
|
side,
|
|
3477
2735
|
sideOffset,
|
|
3478
2736
|
...rest,
|
|
3479
2737
|
children: [
|
|
3480
|
-
/* @__PURE__ */
|
|
2738
|
+
/* @__PURE__ */ jsx26(PopoverPrimitive4.Close, { asChild: true, children: /* @__PURE__ */ jsx26(
|
|
3481
2739
|
IconButton,
|
|
3482
2740
|
{
|
|
3483
2741
|
icon: { icon: IconClose },
|
|
3484
2742
|
size: "s",
|
|
3485
2743
|
level: "inverse-static",
|
|
3486
|
-
className:
|
|
2744
|
+
className: style_module_default18.closeButton,
|
|
3487
2745
|
onClick: onClose
|
|
3488
2746
|
}
|
|
3489
2747
|
) }),
|
|
3490
|
-
/* @__PURE__ */
|
|
3491
|
-
illust && /* @__PURE__ */
|
|
3492
|
-
/* @__PURE__ */
|
|
3493
|
-
/* @__PURE__ */
|
|
3494
|
-
tag && /* @__PURE__ */
|
|
2748
|
+
/* @__PURE__ */ jsxs14("header", { className: style_module_default18.top, children: [
|
|
2749
|
+
illust && /* @__PURE__ */ jsx26(Illust, { width: 72, ...illust }),
|
|
2750
|
+
/* @__PURE__ */ jsxs14("div", { className: style_module_default18.main, children: [
|
|
2751
|
+
/* @__PURE__ */ jsxs14("div", { className: style_module_default18.title, children: [
|
|
2752
|
+
tag && /* @__PURE__ */ jsx26(
|
|
3495
2753
|
Tag,
|
|
3496
2754
|
{
|
|
3497
2755
|
color: "neutral-label-static-primary",
|
|
@@ -3499,8 +2757,8 @@ var CoachMarkContent = forwardRef19(
|
|
|
3499
2757
|
children: tag
|
|
3500
2758
|
}
|
|
3501
2759
|
),
|
|
3502
|
-
icon && /* @__PURE__ */
|
|
3503
|
-
title && /* @__PURE__ */
|
|
2760
|
+
icon && /* @__PURE__ */ jsx26(icon.icon, { size: "xs", fill: icon.fill, type: "inverse-label-static-primary" }),
|
|
2761
|
+
title && /* @__PURE__ */ jsx26(
|
|
3504
2762
|
Paragraph,
|
|
3505
2763
|
{
|
|
3506
2764
|
size: 4,
|
|
@@ -3511,38 +2769,38 @@ var CoachMarkContent = forwardRef19(
|
|
|
3511
2769
|
}
|
|
3512
2770
|
)
|
|
3513
2771
|
] }),
|
|
3514
|
-
image && /* @__PURE__ */
|
|
2772
|
+
image && /* @__PURE__ */ jsx26("div", { className: style_module_default18["image-container"], children: /* @__PURE__ */ jsx26(
|
|
3515
2773
|
"img",
|
|
3516
2774
|
{
|
|
3517
|
-
className:
|
|
2775
|
+
className: style_module_default18.image,
|
|
3518
2776
|
src: image.src ?? "",
|
|
3519
2777
|
alt: image.alt ?? "",
|
|
3520
2778
|
width: 280,
|
|
3521
2779
|
height: 160
|
|
3522
2780
|
}
|
|
3523
2781
|
) }),
|
|
3524
|
-
description && /* @__PURE__ */
|
|
2782
|
+
description && /* @__PURE__ */ jsx26(
|
|
3525
2783
|
Caption,
|
|
3526
2784
|
{
|
|
3527
2785
|
size: 2,
|
|
3528
2786
|
type: "normal",
|
|
3529
2787
|
weight: "regular",
|
|
3530
2788
|
color: "inverse-label-static-secondary",
|
|
3531
|
-
className:
|
|
2789
|
+
className: style_module_default18.description,
|
|
3532
2790
|
children: description
|
|
3533
2791
|
}
|
|
3534
2792
|
)
|
|
3535
2793
|
] })
|
|
3536
2794
|
] }),
|
|
3537
|
-
/* @__PURE__ */
|
|
3538
|
-
step ? /* @__PURE__ */
|
|
2795
|
+
/* @__PURE__ */ jsxs14("footer", { className: style_module_default18.footer, children: [
|
|
2796
|
+
step ? /* @__PURE__ */ jsxs14(Caption, { size: 2, type: "normal", weight: "regular", color: "inverse-label-static-secondary", children: [
|
|
3539
2797
|
step.current,
|
|
3540
2798
|
" / ",
|
|
3541
2799
|
step.total
|
|
3542
|
-
] }) : /* @__PURE__ */
|
|
3543
|
-
/* @__PURE__ */
|
|
3544
|
-
secondaryButton && /* @__PURE__ */
|
|
3545
|
-
primaryButton && /* @__PURE__ */
|
|
2800
|
+
] }) : /* @__PURE__ */ jsx26("div", { className: style_module_default18.empty }),
|
|
2801
|
+
/* @__PURE__ */ jsxs14("div", { className: style_module_default18.buttonGroup, children: [
|
|
2802
|
+
secondaryButton && /* @__PURE__ */ jsx26(Button, { size: "s", level: "inverse-static", ...secondaryButton }),
|
|
2803
|
+
primaryButton && /* @__PURE__ */ jsx26(Button, { size: "s", level: coachMarkLevelButtonLevelMap[level], ...primaryButton })
|
|
3546
2804
|
] })
|
|
3547
2805
|
] })
|
|
3548
2806
|
]
|
|
@@ -3559,7 +2817,7 @@ var CoachMark = Object.assign(CoachMarkRoot, {
|
|
|
3559
2817
|
import { forwardRef as forwardRef20 } from "react";
|
|
3560
2818
|
|
|
3561
2819
|
// src/components/Badge/style.module.scss
|
|
3562
|
-
var
|
|
2820
|
+
var style_module_default19 = {
|
|
3563
2821
|
"badge": "_badge_f8fzb_1",
|
|
3564
2822
|
"s": "_s_f8fzb_10",
|
|
3565
2823
|
"m": "_m_f8fzb_15",
|
|
@@ -3581,8 +2839,8 @@ var style_module_default22 = {
|
|
|
3581
2839
|
|
|
3582
2840
|
// src/components/Badge/index.tsx
|
|
3583
2841
|
import { cva as cva13 } from "cva";
|
|
3584
|
-
import
|
|
3585
|
-
import { jsx as
|
|
2842
|
+
import clsx21 from "clsx";
|
|
2843
|
+
import { jsx as jsx27, jsxs as jsxs15 } from "react/jsx-runtime";
|
|
3586
2844
|
var badgeSizeIconSizeMap = {
|
|
3587
2845
|
s: "xxs",
|
|
3588
2846
|
m: "xs",
|
|
@@ -3594,20 +2852,20 @@ var badgeSizeTypoMap = {
|
|
|
3594
2852
|
l: ["lp-sys-typo-caption1-normal-regular", "lp-sys-typo-caption1-normal-medium"]
|
|
3595
2853
|
};
|
|
3596
2854
|
var badgeBase = cva13({
|
|
3597
|
-
base:
|
|
2855
|
+
base: style_module_default19.badge,
|
|
3598
2856
|
variants: {
|
|
3599
2857
|
size: {
|
|
3600
|
-
s:
|
|
3601
|
-
m:
|
|
3602
|
-
l:
|
|
2858
|
+
s: style_module_default19.s,
|
|
2859
|
+
m: style_module_default19.m,
|
|
2860
|
+
l: style_module_default19.l
|
|
3603
2861
|
}
|
|
3604
2862
|
}
|
|
3605
2863
|
});
|
|
3606
2864
|
function getBgClass(variant, color) {
|
|
3607
|
-
if (variant === "subtle") return
|
|
3608
|
-
if (variant === "outlined") return
|
|
3609
|
-
if (variant === "fill") return color === "accent" ?
|
|
3610
|
-
return
|
|
2865
|
+
if (variant === "subtle") return style_module_default19.subtle;
|
|
2866
|
+
if (variant === "outlined") return style_module_default19.outlined;
|
|
2867
|
+
if (variant === "fill") return color === "accent" ? style_module_default19["fill-accent"] : style_module_default19["fill-primary"];
|
|
2868
|
+
return style_module_default19["inverse-primary"];
|
|
3611
2869
|
}
|
|
3612
2870
|
__name(getBgClass, "getBgClass");
|
|
3613
2871
|
function getIconType(variant, color) {
|
|
@@ -3631,22 +2889,22 @@ function getIconType(variant, color) {
|
|
|
3631
2889
|
}
|
|
3632
2890
|
__name(getIconType, "getIconType");
|
|
3633
2891
|
function getTextClass(variant, color) {
|
|
3634
|
-
if (variant === "inverse") return
|
|
2892
|
+
if (variant === "inverse") return style_module_default19["text-primary-inverse"];
|
|
3635
2893
|
switch (color) {
|
|
3636
2894
|
case "neutral":
|
|
3637
|
-
return
|
|
2895
|
+
return style_module_default19["text-neutral"];
|
|
3638
2896
|
case "neutral-secondary":
|
|
3639
|
-
return
|
|
2897
|
+
return style_module_default19["text-neutral-secondary"];
|
|
3640
2898
|
case "primary":
|
|
3641
|
-
return
|
|
2899
|
+
return style_module_default19["text-primary"];
|
|
3642
2900
|
case "caution":
|
|
3643
|
-
return
|
|
2901
|
+
return style_module_default19["text-caution"];
|
|
3644
2902
|
case "error":
|
|
3645
|
-
return
|
|
2903
|
+
return style_module_default19["text-error"];
|
|
3646
2904
|
case "accent":
|
|
3647
|
-
return
|
|
2905
|
+
return style_module_default19["text-accent"];
|
|
3648
2906
|
default:
|
|
3649
|
-
return
|
|
2907
|
+
return style_module_default19["text-neutral"];
|
|
3650
2908
|
}
|
|
3651
2909
|
}
|
|
3652
2910
|
__name(getTextClass, "getTextClass");
|
|
@@ -3666,11 +2924,11 @@ var Badge2 = forwardRef20(
|
|
|
3666
2924
|
const typoClass = badgeSizeTypoMap[size][+thick];
|
|
3667
2925
|
const resolvedVariant = variant;
|
|
3668
2926
|
const resolvedColor = color;
|
|
3669
|
-
return /* @__PURE__ */
|
|
2927
|
+
return /* @__PURE__ */ jsxs15(
|
|
3670
2928
|
"span",
|
|
3671
2929
|
{
|
|
3672
2930
|
ref,
|
|
3673
|
-
className:
|
|
2931
|
+
className: clsx21(
|
|
3674
2932
|
badgeBase({ size }),
|
|
3675
2933
|
typoClass,
|
|
3676
2934
|
getBgClass(resolvedVariant, resolvedColor),
|
|
@@ -3679,7 +2937,7 @@ var Badge2 = forwardRef20(
|
|
|
3679
2937
|
),
|
|
3680
2938
|
...rest,
|
|
3681
2939
|
children: [
|
|
3682
|
-
!!leftIcon && /* @__PURE__ */
|
|
2940
|
+
!!leftIcon && /* @__PURE__ */ jsx27(
|
|
3683
2941
|
leftIcon.icon,
|
|
3684
2942
|
{
|
|
3685
2943
|
size: iconSize,
|
|
@@ -3687,8 +2945,8 @@ var Badge2 = forwardRef20(
|
|
|
3687
2945
|
...leftIcon
|
|
3688
2946
|
}
|
|
3689
2947
|
),
|
|
3690
|
-
/* @__PURE__ */
|
|
3691
|
-
!!rightIcon && /* @__PURE__ */
|
|
2948
|
+
/* @__PURE__ */ jsx27("span", { className: style_module_default19.text, children }),
|
|
2949
|
+
!!rightIcon && /* @__PURE__ */ jsx27(
|
|
3692
2950
|
rightIcon.icon,
|
|
3693
2951
|
{
|
|
3694
2952
|
size: iconSize,
|
|
@@ -3728,14 +2986,12 @@ export {
|
|
|
3728
2986
|
PrimitiveCoachMark,
|
|
3729
2987
|
Radio,
|
|
3730
2988
|
Select,
|
|
3731
|
-
SingleSnackbar,
|
|
3732
|
-
Snackbar,
|
|
3733
2989
|
TEXT_LEVEL_OPTIONS,
|
|
3734
2990
|
TEXT_SIZE_OPTIONS,
|
|
3735
2991
|
Tag,
|
|
3736
2992
|
TextButton,
|
|
3737
2993
|
Textfield,
|
|
3738
|
-
|
|
2994
|
+
Title,
|
|
3739
2995
|
Toaster,
|
|
3740
2996
|
Tooltip,
|
|
3741
2997
|
Typography,
|
|
@@ -3743,7 +2999,5 @@ export {
|
|
|
3743
2999
|
isEmptyObject,
|
|
3744
3000
|
objectToArray,
|
|
3745
3001
|
rootMediaStyle,
|
|
3746
|
-
|
|
3747
|
-
useSnackbar,
|
|
3748
|
-
useToast
|
|
3002
|
+
toast
|
|
3749
3003
|
};
|