boottent-design 0.1.78 → 0.1.80
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/boottent-design.hooks.cjs.js +1 -1
- package/dist/boottent-design.hooks.es.js +31 -2
- package/dist/boottent-design.layout.cjs.js +1 -1
- package/dist/boottent-design.layout.es.js +56 -6
- package/dist/boottent-design.provider.cjs.js +1 -1
- package/dist/boottent-design.provider.es.js +108 -2
- package/dist/boottent-design.ui.cjs.js +1 -1
- package/dist/boottent-design.ui.es.js +996 -27
- package/dist/boottent-design.utils.cjs.js +1 -1
- package/dist/boottent-design.utils.es.js +8 -2378
- package/dist/{index-BshWFt1Y.js → index-7TdmKUbH.js} +1 -1
- package/dist/index-BIxKM0nQ.cjs +1 -0
- package/dist/index-Bf4XH3AK.cjs +1 -0
- package/dist/index-WGpe0bEl.js +2380 -0
- package/dist/toggleButtonGroup-primitive-CibJg54C.cjs +52 -0
- package/dist/{toggleButtonGroup-primitive-DPb6avPH.js → toggleButtonGroup-primitive-ZAStZ2ee.js} +4010 -3271
- package/dist/types/feature.d.ts +220 -161
- package/dist/types/hooks.d.ts +222 -163
- package/dist/types/layout.d.ts +223 -163
- package/dist/types/provider.d.ts +220 -161
- package/dist/types/styles.d.ts +220 -161
- package/dist/types/types.d.ts +222 -163
- package/dist/types/ui.d.ts +378 -166
- package/dist/types/utils.d.ts +222 -163
- package/package.json +9 -4
- package/dist/boottent-design.main.cjs.js +0 -1
- package/dist/boottent-design.main.es.js +0 -48
- package/dist/index-BfapRZRW.js +0 -55
- package/dist/index-CMZc7WAs.js +0 -599
- package/dist/index-D286MlPY.cjs +0 -1
- package/dist/index-DDNLKhqC.cjs +0 -1
- package/dist/index-Ly7gJulk.cjs +0 -1
- package/dist/portal-provider-BB1ZUJea.cjs +0 -1
- package/dist/portal-provider-Z7EnJtHu.js +0 -110
- package/dist/toggleButtonGroup-primitive-CC3iAt_X.cjs +0 -52
- package/dist/types/main.d.ts +0 -1129
- package/dist/use-portal-BhH8jBDX.cjs +0 -1
- package/dist/use-portal-HyR5LGEj.js +0 -33
package/dist/types/utils.d.ts
CHANGED
|
@@ -136,7 +136,7 @@ declare interface State {
|
|
|
136
136
|
}
|
|
137
137
|
|
|
138
138
|
declare const Toast: React_2.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastProps & React_2.RefAttributes<HTMLLIElement>, "ref"> & VariantProps<(props?: ({
|
|
139
|
-
variant?: "
|
|
139
|
+
variant?: "black" | "white" | null | undefined;
|
|
140
140
|
size?: "sm" | "md" | "lg" | "xl" | "full" | "fit" | null | undefined;
|
|
141
141
|
} & ClassProp) | undefined) => string> & React_2.RefAttributes<HTMLLIElement>>;
|
|
142
142
|
|
|
@@ -175,7 +175,7 @@ declare type ToastPositionsType = "top-left" | "top-center" | "top-right" | "bot
|
|
|
175
175
|
declare type ToastProps = React_2.ComponentPropsWithoutRef<typeof Toast>;
|
|
176
176
|
|
|
177
177
|
declare const ToastViewport: React_2.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastViewportProps & React_2.RefAttributes<HTMLOListElement>, "ref"> & {
|
|
178
|
-
position?: ToastPositionsType;
|
|
178
|
+
position?: ToastPositionsType | undefined;
|
|
179
179
|
} & React_2.RefAttributes<HTMLOListElement>>;
|
|
180
180
|
|
|
181
181
|
declare type ToastViewportProps = React_2.ComponentPropsWithoutRef<typeof ToastViewport>;
|
|
@@ -454,192 +454,252 @@ declare namespace _default {
|
|
|
454
454
|
black: "#000";
|
|
455
455
|
white: "#fff";
|
|
456
456
|
slate: {
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
457
|
+
'50': "#f8fafc";
|
|
458
|
+
'100': "#f1f5f9";
|
|
459
|
+
'200': "#e2e8f0";
|
|
460
|
+
'300': "#cbd5e1";
|
|
461
|
+
'400': "#94a3b8";
|
|
462
|
+
'500': "#64748b";
|
|
463
|
+
'600': "#475569";
|
|
464
|
+
'700': "#334155";
|
|
465
|
+
'800': "#1e293b";
|
|
466
|
+
'900': "#0f172a";
|
|
467
|
+
'950': "#020617";
|
|
468
468
|
};
|
|
469
469
|
gray: {
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
470
|
+
'50': "#f9fafb";
|
|
471
|
+
'100': "#f3f4f6";
|
|
472
|
+
'200': "#e5e7eb";
|
|
473
|
+
'300': "#d1d5db";
|
|
474
|
+
'400': "#9ca3af";
|
|
475
|
+
'500': "#6b7280";
|
|
476
|
+
'600': "#4b5563";
|
|
477
|
+
'700': "#374151";
|
|
478
|
+
'800': "#1f2937";
|
|
479
|
+
'900': "#111827";
|
|
480
|
+
'950': "#030712";
|
|
481
481
|
};
|
|
482
482
|
zinc: {
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
483
|
+
'50': "#fafafa";
|
|
484
|
+
'100': "#f4f4f5";
|
|
485
|
+
'200': "#e4e4e7";
|
|
486
|
+
'300': "#d4d4d8";
|
|
487
|
+
'400': "#a1a1aa";
|
|
488
|
+
'500': "#71717a";
|
|
489
|
+
'600': "#52525b";
|
|
490
|
+
'700': "#3f3f46";
|
|
491
|
+
'800': "#27272a";
|
|
492
|
+
'900': "#18181b";
|
|
493
|
+
'950': "#09090b";
|
|
494
494
|
};
|
|
495
495
|
neutral: {
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
496
|
+
'50': "#fafafa";
|
|
497
|
+
'100': "#f5f5f5";
|
|
498
|
+
'200': "#e5e5e5";
|
|
499
|
+
'300': "#d4d4d4";
|
|
500
|
+
'400': "#a3a3a3";
|
|
501
|
+
'500': "#737373";
|
|
502
|
+
'600': "#525252";
|
|
503
|
+
'700': "#404040";
|
|
504
|
+
'800': "#262626";
|
|
505
|
+
'900': "#171717";
|
|
506
|
+
'950': "#0a0a0a";
|
|
507
507
|
};
|
|
508
508
|
stone: {
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
509
|
+
'50': "#fafaf9";
|
|
510
|
+
'100': "#f5f5f4";
|
|
511
|
+
'200': "#e7e5e4";
|
|
512
|
+
'300': "#d6d3d1";
|
|
513
|
+
'400': "#a8a29e";
|
|
514
|
+
'500': "#78716c";
|
|
515
|
+
'600': "#57534e";
|
|
516
|
+
'700': "#44403c";
|
|
517
|
+
'800': "#292524";
|
|
518
|
+
'900': "#1c1917";
|
|
519
|
+
'950': "#0c0a09";
|
|
520
520
|
};
|
|
521
521
|
amber: {
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
522
|
+
'50': "#fffbeb";
|
|
523
|
+
'100': "#fef3c7";
|
|
524
|
+
'200': "#fde68a";
|
|
525
|
+
'300': "#fcd34d";
|
|
526
|
+
'400': "#fbbf24";
|
|
527
|
+
'500': "#f59e0b";
|
|
528
|
+
'600': "#d97706";
|
|
529
|
+
'700': "#b45309";
|
|
530
|
+
'800': "#92400e";
|
|
531
|
+
'900': "#78350f";
|
|
532
|
+
'950': "#451a03";
|
|
533
533
|
};
|
|
534
534
|
emerald: {
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
535
|
+
'50': "#ecfdf5";
|
|
536
|
+
'100': "#d1fae5";
|
|
537
|
+
'200': "#a7f3d0";
|
|
538
|
+
'300': "#6ee7b7";
|
|
539
|
+
'400': "#34d399";
|
|
540
|
+
'500': "#10b981";
|
|
541
|
+
'600': "#059669";
|
|
542
|
+
'700': "#047857";
|
|
543
|
+
'800': "#065f46";
|
|
544
|
+
'900': "#064e3b";
|
|
545
|
+
'950': "#022c22";
|
|
546
546
|
};
|
|
547
547
|
cyan: {
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
548
|
+
'50': "#ecfeff";
|
|
549
|
+
'100': "#cffafe";
|
|
550
|
+
'200': "#a5f3fc";
|
|
551
|
+
'300': "#67e8f9";
|
|
552
|
+
'400': "#22d3ee";
|
|
553
|
+
'500': "#06b6d4";
|
|
554
|
+
'600': "#0891b2";
|
|
555
|
+
'700': "#0e7490";
|
|
556
|
+
'800': "#155e75";
|
|
557
|
+
'900': "#164e63";
|
|
558
|
+
'950': "#083344";
|
|
559
559
|
};
|
|
560
560
|
sky: {
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
561
|
+
'50': "#f0f9ff";
|
|
562
|
+
'100': "#e0f2fe";
|
|
563
|
+
'200': "#bae6fd";
|
|
564
|
+
'300': "#7dd3fc";
|
|
565
|
+
'400': "#38bdf8";
|
|
566
|
+
'500': "#0ea5e9";
|
|
567
|
+
'600': "#0284c7";
|
|
568
|
+
'700': "#0369a1";
|
|
569
|
+
'800': "#075985";
|
|
570
|
+
'900': "#0c4a6e";
|
|
571
|
+
'950': "#082f49";
|
|
572
572
|
};
|
|
573
573
|
indigo: {
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
574
|
+
'50': "#eef2ff";
|
|
575
|
+
'100': "#e0e7ff";
|
|
576
|
+
'200': "#c7d2fe";
|
|
577
|
+
'300': "#a5b4fc";
|
|
578
|
+
'400': "#818cf8";
|
|
579
|
+
'500': "#6366f1";
|
|
580
|
+
'600': "#4f46e5";
|
|
581
|
+
'700': "#4338ca";
|
|
582
|
+
'800': "#3730a3";
|
|
583
|
+
'900': "#312e81";
|
|
584
|
+
'950': "#1e1b4b";
|
|
585
585
|
};
|
|
586
586
|
violet: {
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
587
|
+
'50': "#f5f3ff";
|
|
588
|
+
'100': "#ede9fe";
|
|
589
|
+
'200': "#ddd6fe";
|
|
590
|
+
'300': "#c4b5fd";
|
|
591
|
+
'400': "#a78bfa";
|
|
592
|
+
'500': "#8b5cf6";
|
|
593
|
+
'600': "#7c3aed";
|
|
594
|
+
'700': "#6d28d9";
|
|
595
|
+
'800': "#5b21b6";
|
|
596
|
+
'900': "#4c1d95";
|
|
597
|
+
'950': "#2e1065";
|
|
598
598
|
};
|
|
599
599
|
purple: {
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
600
|
+
'50': "#faf5ff";
|
|
601
|
+
'100': "#f3e8ff";
|
|
602
|
+
'200': "#e9d5ff";
|
|
603
|
+
'300': "#d8b4fe";
|
|
604
|
+
'400': "#c084fc";
|
|
605
|
+
'500': "#a855f7";
|
|
606
|
+
'600': "#9333ea";
|
|
607
|
+
'700': "#7e22ce";
|
|
608
|
+
'800': "#6b21a8";
|
|
609
|
+
'900': "#581c87";
|
|
610
|
+
'950': "#3b0764";
|
|
611
611
|
};
|
|
612
612
|
fuchsia: {
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
613
|
+
'50': "#fdf4ff";
|
|
614
|
+
'100': "#fae8ff";
|
|
615
|
+
'200': "#f5d0fe";
|
|
616
|
+
'300': "#f0abfc";
|
|
617
|
+
'400': "#e879f9";
|
|
618
|
+
'500': "#d946ef";
|
|
619
|
+
'600': "#c026d3";
|
|
620
|
+
'700': "#a21caf";
|
|
621
|
+
'800': "#86198f";
|
|
622
|
+
'900': "#701a75";
|
|
623
|
+
'950': "#4a044e";
|
|
624
624
|
};
|
|
625
625
|
rose: {
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
};
|
|
638
|
-
lightBlue:
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
626
|
+
'50': "#fff1f2";
|
|
627
|
+
'100': "#ffe4e6";
|
|
628
|
+
'200': "#fecdd3";
|
|
629
|
+
'300': "#fda4af";
|
|
630
|
+
'400': "#fb7185";
|
|
631
|
+
'500': "#f43f5e";
|
|
632
|
+
'600': "#e11d48";
|
|
633
|
+
'700': "#be123c";
|
|
634
|
+
'800': "#9f1239";
|
|
635
|
+
'900': "#881337";
|
|
636
|
+
'950': "#4c0519";
|
|
637
|
+
};
|
|
638
|
+
lightBlue: {
|
|
639
|
+
'50': "#f0f9ff";
|
|
640
|
+
'100': "#e0f2fe";
|
|
641
|
+
'200': "#bae6fd";
|
|
642
|
+
'300': "#7dd3fc";
|
|
643
|
+
'400': "#38bdf8";
|
|
644
|
+
'500': "#0ea5e9";
|
|
645
|
+
'600': "#0284c7";
|
|
646
|
+
'700': "#0369a1";
|
|
647
|
+
'800': "#075985";
|
|
648
|
+
'900': "#0c4a6e";
|
|
649
|
+
'950': "#082f49";
|
|
650
|
+
};
|
|
651
|
+
warmGray: {
|
|
652
|
+
'50': "#fafaf9";
|
|
653
|
+
'100': "#f5f5f4";
|
|
654
|
+
'200': "#e7e5e4";
|
|
655
|
+
'300': "#d6d3d1";
|
|
656
|
+
'400': "#a8a29e";
|
|
657
|
+
'500': "#78716c";
|
|
658
|
+
'600': "#57534e";
|
|
659
|
+
'700': "#44403c";
|
|
660
|
+
'800': "#292524";
|
|
661
|
+
'900': "#1c1917";
|
|
662
|
+
'950': "#0c0a09";
|
|
663
|
+
};
|
|
664
|
+
trueGray: {
|
|
665
|
+
'50': "#fafafa";
|
|
666
|
+
'100': "#f5f5f5";
|
|
667
|
+
'200': "#e5e5e5";
|
|
668
|
+
'300': "#d4d4d4";
|
|
669
|
+
'400': "#a3a3a3";
|
|
670
|
+
'500': "#737373";
|
|
671
|
+
'600': "#525252";
|
|
672
|
+
'700': "#404040";
|
|
673
|
+
'800': "#262626";
|
|
674
|
+
'900': "#171717";
|
|
675
|
+
'950': "#0a0a0a";
|
|
676
|
+
};
|
|
677
|
+
coolGray: {
|
|
678
|
+
'50': "#f9fafb";
|
|
679
|
+
'100': "#f3f4f6";
|
|
680
|
+
'200': "#e5e7eb";
|
|
681
|
+
'300': "#d1d5db";
|
|
682
|
+
'400': "#9ca3af";
|
|
683
|
+
'500': "#6b7280";
|
|
684
|
+
'600': "#4b5563";
|
|
685
|
+
'700': "#374151";
|
|
686
|
+
'800': "#1f2937";
|
|
687
|
+
'900': "#111827";
|
|
688
|
+
'950': "#030712";
|
|
689
|
+
};
|
|
690
|
+
blueGray: {
|
|
691
|
+
'50': "#f8fafc";
|
|
692
|
+
'100': "#f1f5f9";
|
|
693
|
+
'200': "#e2e8f0";
|
|
694
|
+
'300': "#cbd5e1";
|
|
695
|
+
'400': "#94a3b8";
|
|
696
|
+
'500': "#64748b";
|
|
697
|
+
'600': "#475569";
|
|
698
|
+
'700': "#334155";
|
|
699
|
+
'800': "#1e293b";
|
|
700
|
+
'900': "#0f172a";
|
|
701
|
+
'950': "#020617";
|
|
702
|
+
};
|
|
643
703
|
};
|
|
644
704
|
export { colors_1 as colors };
|
|
645
705
|
}
|
|
@@ -673,4 +733,3 @@ declare namespace _default {
|
|
|
673
733
|
let collectCoverageFrom: string[];
|
|
674
734
|
let coverageReporters: string[];
|
|
675
735
|
}
|
|
676
|
-
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "boottent-design",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.80",
|
|
5
5
|
"description": "부트텐트 디자인시스템 라이브러리",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -82,12 +82,16 @@
|
|
|
82
82
|
"@radix-ui/react-accordion": "^1.2.1",
|
|
83
83
|
"@radix-ui/react-alert-dialog": "^1.1.2",
|
|
84
84
|
"@radix-ui/react-aspect-ratio": "^1.1.0",
|
|
85
|
+
"@radix-ui/react-checkbox": "^1.1.2",
|
|
85
86
|
"@radix-ui/react-dropdown-menu": "^2.1.2",
|
|
86
87
|
"@radix-ui/react-icons": "^1.3.0",
|
|
88
|
+
"@radix-ui/react-label": "^2.1.0",
|
|
89
|
+
"@radix-ui/react-radio-group": "^1.2.1",
|
|
87
90
|
"@radix-ui/react-slot": "^1.1.0",
|
|
88
91
|
"@radix-ui/react-toast": "^1.2.2",
|
|
89
92
|
"@radix-ui/react-toggle-group": "^1.1.0",
|
|
90
93
|
"@radix-ui/react-tooltip": "^1.1.3",
|
|
94
|
+
"@storybook/builder-vite": "^8.4.6",
|
|
91
95
|
"@testing-library/react": "^16.0.1",
|
|
92
96
|
"class-variance-authority": "^0.7.0",
|
|
93
97
|
"clsx": "^2.0.0",
|
|
@@ -95,8 +99,10 @@
|
|
|
95
99
|
"react": "^18.2.0",
|
|
96
100
|
"react-device-detect": "^2.2.3",
|
|
97
101
|
"react-dom": "^18.2.0",
|
|
102
|
+
"react-hook-form": "^7.53.2",
|
|
98
103
|
"react-icons": "^5.3.0",
|
|
99
104
|
"tailwind-merge": "^2.1.0",
|
|
105
|
+
"vite-plugin-dts": "^4.3.0",
|
|
100
106
|
"vite-tsconfig-paths": "4.3.2"
|
|
101
107
|
},
|
|
102
108
|
"devDependencies": {
|
|
@@ -137,9 +143,8 @@
|
|
|
137
143
|
"storybook": "^8.1.9",
|
|
138
144
|
"tailwindcss": "^3.3.6",
|
|
139
145
|
"ts-jest": "^29.2.5",
|
|
140
|
-
"typescript": "
|
|
141
|
-
"vite": "^5.0.0"
|
|
142
|
-
"vite-plugin-dts": "^3.6.4"
|
|
146
|
+
"typescript": "5.4.2",
|
|
147
|
+
"vite": "^5.0.0"
|
|
143
148
|
},
|
|
144
149
|
"keywords": [
|
|
145
150
|
"react",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./use-portal-BhH8jBDX.cjs"),e=require("./index-DDNLKhqC.cjs"),n=require("./index-Ly7gJulk.cjs"),a=require("./portal-provider-BB1ZUJea.cjs"),l=require("./boottent-design.styles.cjs.js"),o=require("./toggleButtonGroup-primitive-CC3iAt_X.cjs");require("react/jsx-runtime");const r=require("./boottent-design.utils.cjs.js"),t=require("./index-D286MlPY.cjs"),c=require("./portal-manager-9WO01tNb.cjs");exports.usePortal=i.usePortal;exports.AspectRatio=e.AspectRatio;exports.GridBox=e.GridBox;exports.Box=n.Box;exports.FlexBox=n.FlexBox;exports.PortalProvider=a.PortalProvider;exports.colors=l.colors;exports.Accordion=o.Accordion;exports.AccordionContent=o.AccordionContent;exports.AccordionItem=o.AccordionItem;exports.AccordionTrigger=o.AccordionTrigger;exports.Alert=o.Alert;exports.Button=o.Button;exports.Callout=o.Callout;exports.Dialog=o.Dialog;exports.Dropdown=o.Dropdown;exports.Icon=o.Icon;exports.Input=o.Input;exports.Modal=o.Modal;exports.PortalContainer=o.PortalContainer;exports.Toaster=o.Toaster;exports.buttonVariants=o.buttonVariants;exports.cn=r.cn;exports.getDropdownButtonText=r.getDropdownButtonText;exports.reducer=r.reducer;exports.toast=r.toast;exports.toaster=r.toaster;exports.Multiple=t.Multiple;exports.Single=t.Single;exports.Skeleton=t.Skeleton;exports.Symbols=t.Symbols;exports.Tag=t.Tag;exports.ToggleButtonGroup=t.ToggleButtonGroup;exports.Tooltip=t.Tooltip;exports.tagVariants=t.tagVariants;exports.portalManager=c.portalManager;
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { u as t } from "./use-portal-HyR5LGEj.js";
|
|
2
|
-
import { A as e, G as n } from "./index-BfapRZRW.js";
|
|
3
|
-
import { B as l, F as i } from "./index-BshWFt1Y.js";
|
|
4
|
-
import { P as x } from "./portal-provider-Z7EnJtHu.js";
|
|
5
|
-
import { colors as m } from "./boottent-design.styles.es.js";
|
|
6
|
-
import { A as u, a as f, b as A, c as B, f as T, B as P, C as M, g as b, D as C, I as D, e as I, M as S, P as G, T as w, d as F } from "./toggleButtonGroup-primitive-DPb6avPH.js";
|
|
7
|
-
import "react/jsx-runtime";
|
|
8
|
-
import { cn as k, getDropdownButtonText as v, reducer as y, toast as R, toaster as h } from "./boottent-design.utils.es.js";
|
|
9
|
-
import { M as q, b as z, S as E, a as H, T as J, c as K, d as L, t as N } from "./index-CMZc7WAs.js";
|
|
10
|
-
import { p as Q } from "./portal-manager-nNJ4SIa2.js";
|
|
11
|
-
export {
|
|
12
|
-
u as Accordion,
|
|
13
|
-
f as AccordionContent,
|
|
14
|
-
A as AccordionItem,
|
|
15
|
-
B as AccordionTrigger,
|
|
16
|
-
T as Alert,
|
|
17
|
-
e as AspectRatio,
|
|
18
|
-
l as Box,
|
|
19
|
-
P as Button,
|
|
20
|
-
M as Callout,
|
|
21
|
-
b as Dialog,
|
|
22
|
-
C as Dropdown,
|
|
23
|
-
i as FlexBox,
|
|
24
|
-
n as GridBox,
|
|
25
|
-
D as Icon,
|
|
26
|
-
I as Input,
|
|
27
|
-
S as Modal,
|
|
28
|
-
q as Multiple,
|
|
29
|
-
G as PortalContainer,
|
|
30
|
-
x as PortalProvider,
|
|
31
|
-
z as Single,
|
|
32
|
-
E as Skeleton,
|
|
33
|
-
H as Symbols,
|
|
34
|
-
J as Tag,
|
|
35
|
-
w as Toaster,
|
|
36
|
-
K as ToggleButtonGroup,
|
|
37
|
-
L as Tooltip,
|
|
38
|
-
F as buttonVariants,
|
|
39
|
-
k as cn,
|
|
40
|
-
m as colors,
|
|
41
|
-
v as getDropdownButtonText,
|
|
42
|
-
Q as portalManager,
|
|
43
|
-
y as reducer,
|
|
44
|
-
N as tagVariants,
|
|
45
|
-
R as toast,
|
|
46
|
-
h as toaster,
|
|
47
|
-
t as usePortal
|
|
48
|
-
};
|
package/dist/index-BfapRZRW.js
DELETED
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import * as f from "react";
|
|
2
|
-
import { P as g, B as m } from "./index-BshWFt1Y.js";
|
|
3
|
-
import { jsx as e } from "react/jsx-runtime";
|
|
4
|
-
import { cn as v } from "./boottent-design.utils.es.js";
|
|
5
|
-
var u = "AspectRatio", d = f.forwardRef(
|
|
6
|
-
(o, i) => {
|
|
7
|
-
const { ratio: a = 1 / 1, style: r, ...s } = o;
|
|
8
|
-
return /* @__PURE__ */ e(
|
|
9
|
-
"div",
|
|
10
|
-
{
|
|
11
|
-
style: {
|
|
12
|
-
// ensures inner element is contained
|
|
13
|
-
position: "relative",
|
|
14
|
-
// ensures padding bottom trick maths works
|
|
15
|
-
width: "100%",
|
|
16
|
-
paddingBottom: `${100 / a}%`
|
|
17
|
-
},
|
|
18
|
-
"data-radix-aspect-ratio-wrapper": "",
|
|
19
|
-
children: /* @__PURE__ */ e(
|
|
20
|
-
g.div,
|
|
21
|
-
{
|
|
22
|
-
...s,
|
|
23
|
-
ref: i,
|
|
24
|
-
style: {
|
|
25
|
-
...r,
|
|
26
|
-
// ensures children expand in ratio
|
|
27
|
-
position: "absolute",
|
|
28
|
-
top: 0,
|
|
29
|
-
right: 0,
|
|
30
|
-
bottom: 0,
|
|
31
|
-
left: 0
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
)
|
|
35
|
-
}
|
|
36
|
-
);
|
|
37
|
-
}
|
|
38
|
-
);
|
|
39
|
-
d.displayName = u;
|
|
40
|
-
var R = d;
|
|
41
|
-
const $ = R, w = ({ className: o, columns: i, rows: a, gap: r, style: s, ...p }) => {
|
|
42
|
-
const n = (t) => t ? t >= 1 && t <= 12 ? `grid-cols-${t}` : "grid-cols-auto" : "", c = (t) => t ? t >= 1 && t <= 12 ? `grid-rows-${t} grid-flow-col` : "grid-rows-auto" : "", l = r !== void 0 ? `${r / 4}rem` : void 0;
|
|
43
|
-
return /* @__PURE__ */ e(
|
|
44
|
-
m,
|
|
45
|
-
{
|
|
46
|
-
className: v("grid", n(i), c(a), o),
|
|
47
|
-
style: { gap: l, ...s },
|
|
48
|
-
...p
|
|
49
|
-
}
|
|
50
|
-
);
|
|
51
|
-
};
|
|
52
|
-
export {
|
|
53
|
-
$ as A,
|
|
54
|
-
w as G
|
|
55
|
-
};
|