@bcc-code/component-library-vue 0.0.0-dev.3657f7e → 0.0.0-dev.38a12fb
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/component-library.js +3930 -3879
- package/dist/component-library.umd.cjs +172 -172
- package/dist/index.css +1 -1
- package/dist/theme.css +195 -174
- package/dist-types/components/custom/BccCircleLoader/BccCircleLoader.vue.d.ts +9 -1
- package/dist-types/components/custom/BccTopNavigation/BccTopNavigation.vue.d.ts +11 -3
- package/dist-types/components/wrapped/BccMenu/BccMenu.vue.d.ts +15 -1
- package/dist-types/components/wrapped/BccRadioButton.vue.d.ts +1 -0
- package/package.json +2 -2
package/dist/theme.css
CHANGED
|
@@ -590,78 +590,83 @@
|
|
|
590
590
|
|
|
591
591
|
/* === ./styles/utilities.css === */
|
|
592
592
|
@utility center {
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
&.top {
|
|
596
|
-
@apply items-start;
|
|
597
|
-
}
|
|
593
|
+
@apply flex items-center justify-center;
|
|
598
594
|
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
595
|
+
&.top {
|
|
596
|
+
@apply items-start;
|
|
597
|
+
}
|
|
602
598
|
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
599
|
+
&.bottom {
|
|
600
|
+
@apply items-end;
|
|
601
|
+
}
|
|
606
602
|
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
603
|
+
&.left {
|
|
604
|
+
@apply justify-start;
|
|
605
|
+
}
|
|
610
606
|
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
607
|
+
&.right {
|
|
608
|
+
@apply justify-end;
|
|
609
|
+
}
|
|
610
|
+
|
|
611
|
+
&.stretch {
|
|
612
|
+
@apply items-stretch;
|
|
613
|
+
}
|
|
614
614
|
}
|
|
615
615
|
|
|
616
616
|
@utility col {
|
|
617
|
-
|
|
617
|
+
@apply flex flex-col items-center justify-center;
|
|
618
618
|
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
619
|
+
&.left {
|
|
620
|
+
@apply items-start;
|
|
621
|
+
}
|
|
622
622
|
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
623
|
+
&.right {
|
|
624
|
+
@apply items-end;
|
|
625
|
+
}
|
|
626
626
|
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
627
|
+
&.top {
|
|
628
|
+
@apply justify-start;
|
|
629
|
+
}
|
|
630
630
|
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
631
|
+
&.bottom {
|
|
632
|
+
@apply justify-end;
|
|
633
|
+
}
|
|
634
634
|
}
|
|
635
635
|
|
|
636
636
|
@utility between {
|
|
637
|
-
|
|
637
|
+
@apply justify-between;
|
|
638
638
|
}
|
|
639
639
|
|
|
640
640
|
@utility hide-scrollbar {
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
641
|
+
-ms-overflow-style: none; /* for Internet Explorer, Edge */
|
|
642
|
+
scrollbar-width: none; /* for Firefox */
|
|
643
|
+
overflow-y: scroll;
|
|
644
644
|
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
645
|
+
&::-webkit-scrollbar {
|
|
646
|
+
display: none; /* for Chrome, Safari, and Opera */
|
|
647
|
+
}
|
|
648
648
|
}
|
|
649
649
|
|
|
650
650
|
/* Capitalize first letter */
|
|
651
651
|
@utility capital {
|
|
652
|
-
|
|
652
|
+
@apply inline-block;
|
|
653
653
|
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
654
|
+
&::first-letter {
|
|
655
|
+
text-transform: uppercase;
|
|
656
|
+
}
|
|
657
|
+
|
|
658
|
+
&.bcc-badge {
|
|
659
|
+
@apply inline-flex;
|
|
660
|
+
}
|
|
657
661
|
}
|
|
658
662
|
|
|
659
663
|
/* Inset 0 */
|
|
660
664
|
@utility inset-0 {
|
|
661
|
-
@apply
|
|
665
|
+
@apply top-0 right-0 bottom-0 left-0;
|
|
662
666
|
}
|
|
663
667
|
|
|
664
668
|
|
|
669
|
+
|
|
665
670
|
/* === ./styles/contexts.css === */
|
|
666
671
|
/* Auto-generated from src/figma-modes. Do not edit by hand. */
|
|
667
672
|
/* Run: pnpm run generate:context-css */
|
|
@@ -769,18 +774,18 @@
|
|
|
769
774
|
}
|
|
770
775
|
|
|
771
776
|
@utility ctx-brand-bolder {
|
|
772
|
-
--ctx-text: var(--color-default-
|
|
777
|
+
--ctx-text: var(--color-default-neutral-0);
|
|
773
778
|
--ctx-text-bold: var(--color-default-neutral-0);
|
|
774
|
-
--ctx-background: var(--color-default-bcc-
|
|
775
|
-
--ctx-gradient: var(--color-default-bcc-
|
|
779
|
+
--ctx-background: var(--color-default-bcc-800);
|
|
780
|
+
--ctx-gradient: var(--color-default-bcc-900);
|
|
776
781
|
--ctx-border: var(--color-default-bcc-700);
|
|
777
782
|
--ctx-shadow: var(--color-neutral-alpha-500A);
|
|
778
|
-
--ctx-text-hover: var(--color-default-
|
|
779
|
-
--ctx-text-pressed: var(--color-default-
|
|
780
|
-
--ctx-background-hover: var(--color-default-bcc-
|
|
781
|
-
--ctx-background-pressed: var(--color-default-bcc-
|
|
782
|
-
--ctx-gradient-hover: var(--color-default-bcc-
|
|
783
|
-
--ctx-gradient-pressed: var(--color-default-bcc-
|
|
783
|
+
--ctx-text-hover: var(--color-default-neutral-0);
|
|
784
|
+
--ctx-text-pressed: var(--color-default-neutral-0);
|
|
785
|
+
--ctx-background-hover: var(--color-default-bcc-900);
|
|
786
|
+
--ctx-background-pressed: var(--color-default-bcc-1000);
|
|
787
|
+
--ctx-gradient-hover: var(--color-default-bcc-1000);
|
|
788
|
+
--ctx-gradient-pressed: var(--color-default-bcc-1000);
|
|
784
789
|
--ctx-border-hover: var(--color-default-bcc-700);
|
|
785
790
|
--ctx-border-pressed: var(--color-default-bcc-700);
|
|
786
791
|
}
|
|
@@ -975,16 +980,16 @@
|
|
|
975
980
|
@utility ctx-gray-bolder {
|
|
976
981
|
--ctx-text: var(--color-default-neutral-200);
|
|
977
982
|
--ctx-text-bold: var(--color-default-neutral-100);
|
|
978
|
-
--ctx-background: var(--color-default-neutral-
|
|
979
|
-
--ctx-gradient: var(--color-default-neutral-
|
|
983
|
+
--ctx-background: var(--color-default-neutral-700);
|
|
984
|
+
--ctx-gradient: var(--color-default-neutral-800);
|
|
980
985
|
--ctx-border: var(--color-default-neutral-700);
|
|
981
986
|
--ctx-shadow: var(--color-neutral-alpha-500A);
|
|
982
987
|
--ctx-text-hover: var(--color-default-neutral-200);
|
|
983
988
|
--ctx-text-pressed: var(--color-default-neutral-200);
|
|
984
|
-
--ctx-background-hover: var(--color-default-neutral-
|
|
985
|
-
--ctx-background-pressed: var(--color-default-neutral-
|
|
986
|
-
--ctx-gradient-hover: var(--color-default-neutral-
|
|
987
|
-
--ctx-gradient-pressed: var(--color-default-neutral-
|
|
989
|
+
--ctx-background-hover: var(--color-default-neutral-800);
|
|
990
|
+
--ctx-background-pressed: var(--color-default-neutral-900);
|
|
991
|
+
--ctx-gradient-hover: var(--color-default-neutral-900);
|
|
992
|
+
--ctx-gradient-pressed: var(--color-default-neutral-900);
|
|
988
993
|
--ctx-border-hover: var(--color-default-neutral-700);
|
|
989
994
|
--ctx-border-pressed: var(--color-default-neutral-700);
|
|
990
995
|
}
|
|
@@ -1723,88 +1728,104 @@
|
|
|
1723
1728
|
|
|
1724
1729
|
|
|
1725
1730
|
/* === ./styles/context.css === */
|
|
1726
|
-
|
|
1727
1731
|
@theme {
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
|
|
1732
|
+
--color-brand-100: var(--color-bcc-100);
|
|
1733
|
+
--color-brand-200: var(--color-bcc-200);
|
|
1734
|
+
--color-brand-300: var(--color-bcc-300);
|
|
1735
|
+
--color-brand-400: var(--color-bcc-400);
|
|
1736
|
+
--color-brand-500: var(--color-bcc-500);
|
|
1737
|
+
--color-brand-600: var(--color-bcc-600);
|
|
1738
|
+
--color-brand-700: var(--color-bcc-700);
|
|
1739
|
+
--color-brand-800: var(--color-bcc-800);
|
|
1740
|
+
--color-brand-900: var(--color-bcc-900);
|
|
1741
|
+
--color-brand-1000: var(--color-bcc-1000);
|
|
1738
1742
|
}
|
|
1739
1743
|
|
|
1740
1744
|
/** DEFAULT CONTEXTS */
|
|
1741
1745
|
@utility ctx-default {
|
|
1742
|
-
|
|
1746
|
+
@apply ctx-neutral-subtlest;
|
|
1747
|
+
}
|
|
1748
|
+
@utility ctx-success {
|
|
1749
|
+
@apply ctx-success-subtlest;
|
|
1750
|
+
}
|
|
1751
|
+
@utility ctx-danger {
|
|
1752
|
+
@apply ctx-danger-subtlest;
|
|
1753
|
+
}
|
|
1754
|
+
@utility ctx-warning {
|
|
1755
|
+
@apply ctx-warning-subtlest;
|
|
1756
|
+
}
|
|
1757
|
+
@utility ctx-info {
|
|
1758
|
+
@apply ctx-info-subtlest;
|
|
1743
1759
|
}
|
|
1744
|
-
@utility ctx-success { @apply ctx-success-subtlest; }
|
|
1745
|
-
@utility ctx-danger { @apply ctx-danger-subtlest; }
|
|
1746
|
-
@utility ctx-warning { @apply ctx-warning-subtlest; }
|
|
1747
|
-
@utility ctx-info { @apply ctx-info-subtlest; }
|
|
1748
1760
|
|
|
1749
1761
|
@utility text-ctx {
|
|
1750
|
-
|
|
1762
|
+
color: var(--ctx-text);
|
|
1751
1763
|
}
|
|
1752
1764
|
|
|
1753
1765
|
@utility text-ctx-bold {
|
|
1754
|
-
|
|
1766
|
+
color: var(--ctx-text-bold);
|
|
1755
1767
|
}
|
|
1756
1768
|
|
|
1757
1769
|
@utility bg-ctx {
|
|
1758
|
-
|
|
1770
|
+
background-color: var(--ctx-background);
|
|
1759
1771
|
}
|
|
1760
1772
|
|
|
1761
1773
|
@utility border-ctx {
|
|
1762
|
-
|
|
1774
|
+
border-color: var(--ctx-border);
|
|
1763
1775
|
}
|
|
1764
1776
|
|
|
1765
1777
|
@utility shadow-ctx {
|
|
1766
|
-
|
|
1778
|
+
--tw-shadow-color: var(--ctx-shadow);
|
|
1767
1779
|
}
|
|
1768
1780
|
|
|
1769
1781
|
@utility ctx {
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
|
|
1782
|
+
background-color: var(--ctx-background);
|
|
1783
|
+
color: var(--ctx-text);
|
|
1784
|
+
border-color: var(--ctx-border);
|
|
1773
1785
|
}
|
|
1774
1786
|
|
|
1775
1787
|
@utility ctx-gradient {
|
|
1776
|
-
|
|
1788
|
+
background: linear-gradient(225deg, var(--ctx-background) 0%, var(--ctx-gradient) 100%);
|
|
1789
|
+
|
|
1790
|
+
@variant dark {
|
|
1791
|
+
background: linear-gradient(225deg, var(--ctx-gradient) 0%, var(--ctx-background) 100%);
|
|
1792
|
+
}
|
|
1777
1793
|
}
|
|
1778
1794
|
|
|
1779
1795
|
@utility ctx-raised {
|
|
1780
|
-
|
|
1796
|
+
box-shadow:
|
|
1797
|
+
0 1px 1px 0 var(--ctx-shadow),
|
|
1798
|
+
0 0 1px 0 var(--ctx-shadow);
|
|
1781
1799
|
}
|
|
1782
1800
|
|
|
1783
1801
|
@utility ctx-flat {
|
|
1784
|
-
|
|
1802
|
+
--ctx-background: transparent;
|
|
1785
1803
|
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
|
|
1804
|
+
@variant hover {
|
|
1805
|
+
--ctx-background: var(--ctx-background-hover);
|
|
1806
|
+
}
|
|
1789
1807
|
}
|
|
1790
1808
|
|
|
1791
1809
|
@utility clickable {
|
|
1792
|
-
|
|
1810
|
+
cursor: pointer;
|
|
1793
1811
|
}
|
|
1794
1812
|
|
|
1795
|
-
|
|
1796
|
-
|
|
1797
|
-
|
|
1798
|
-
|
|
1799
|
-
|
|
1813
|
+
@media (hover: hover) and (pointer: fine) {
|
|
1814
|
+
.clickable:hover {
|
|
1815
|
+
--ctx-background: var(--ctx-background-hover);
|
|
1816
|
+
--ctx-text: var(--ctx-text-hover);
|
|
1817
|
+
--ctx-border: var(--ctx-border-hover);
|
|
1818
|
+
}
|
|
1800
1819
|
|
|
1801
|
-
.clickable:active {
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
|
-
|
|
1820
|
+
.clickable:active {
|
|
1821
|
+
--ctx-background: var(--ctx-background-pressed);
|
|
1822
|
+
--ctx-text: var(--ctx-text-pressed);
|
|
1823
|
+
--ctx-border: var(--ctx-border-pressed);
|
|
1824
|
+
}
|
|
1805
1825
|
}
|
|
1806
1826
|
|
|
1807
1827
|
|
|
1828
|
+
|
|
1808
1829
|
/* === ./styles/fonts.css === */
|
|
1809
1830
|
@utility heading-xs { font: var(--heading-xs); }
|
|
1810
1831
|
@utility heading-sm { font: var(--heading-sm); }
|
|
@@ -1824,6 +1845,10 @@
|
|
|
1824
1845
|
/* === ./styles/component-overrides.css === */
|
|
1825
1846
|
/** Custom styles to fix primevue components that are not custom or wrapped. */
|
|
1826
1847
|
|
|
1848
|
+
:root {
|
|
1849
|
+
--p-toast-width: min(85vw, 400px);
|
|
1850
|
+
}
|
|
1851
|
+
|
|
1827
1852
|
/**
|
|
1828
1853
|
* GUTTER FIX
|
|
1829
1854
|
* Primevue's dropwdown components are all missing the gap between input and dropdown
|
|
@@ -1972,10 +1997,6 @@
|
|
|
1972
1997
|
|
|
1973
1998
|
@apply bg-ctx text-ctx;
|
|
1974
1999
|
}
|
|
1975
|
-
|
|
1976
|
-
.bcc-badge.capital {
|
|
1977
|
-
@apply inline-flex;
|
|
1978
|
-
}
|
|
1979
2000
|
.bcc-badge.gradient {
|
|
1980
2001
|
@apply ctx-gradient;
|
|
1981
2002
|
}
|
|
@@ -2318,91 +2339,91 @@
|
|
|
2318
2339
|
|
|
2319
2340
|
/* from ./BccReact/BccReact.css */
|
|
2320
2341
|
@layer components {
|
|
2321
|
-
|
|
2322
|
-
|
|
2323
|
-
|
|
2324
|
-
|
|
2325
|
-
|
|
2326
|
-
|
|
2327
|
-
|
|
2328
|
-
|
|
2329
|
-
|
|
2330
|
-
|
|
2331
|
-
|
|
2332
|
-
|
|
2342
|
+
.bcc-react {
|
|
2343
|
+
@apply relative flex w-full items-center overflow-visible;
|
|
2344
|
+
}
|
|
2345
|
+
.bcc-react-toggle {
|
|
2346
|
+
@apply mr-1 flex shrink-0 cursor-pointer items-center justify-center rounded-full p-1 transition;
|
|
2347
|
+
}
|
|
2348
|
+
.bcc-react-list {
|
|
2349
|
+
@apply hide-scrollbar flex flex-1 items-center gap-1 overflow-x-auto overflow-y-hidden rounded-full p-1;
|
|
2350
|
+
}
|
|
2351
|
+
.bcc-react-empty {
|
|
2352
|
+
@apply heading-xs flex items-center;
|
|
2353
|
+
}
|
|
2333
2354
|
|
|
2334
|
-
|
|
2335
|
-
|
|
2336
|
-
|
|
2337
|
-
|
|
2355
|
+
.bcc-react-selector-container {
|
|
2356
|
+
@apply absolute z-50 h-9;
|
|
2357
|
+
@apply top-11 origin-top-left;
|
|
2358
|
+
}
|
|
2338
2359
|
|
|
2339
|
-
|
|
2340
|
-
|
|
2341
|
-
|
|
2360
|
+
.bcc-react-selector-container--top {
|
|
2361
|
+
@apply -top-10 origin-bottom-left;
|
|
2362
|
+
}
|
|
2342
2363
|
|
|
2343
|
-
|
|
2344
|
-
|
|
2345
|
-
|
|
2346
|
-
|
|
2364
|
+
.bcc-react-selector {
|
|
2365
|
+
@apply flex h-9 flex-col overflow-hidden bg-neutral-100 px-0 shadow-md;
|
|
2366
|
+
border-radius: 18px;
|
|
2367
|
+
}
|
|
2347
2368
|
|
|
2348
|
-
|
|
2349
|
-
|
|
2350
|
-
|
|
2369
|
+
.bcc-react-selector-emojis-container {
|
|
2370
|
+
@apply flex items-center bg-neutral-100 px-1;
|
|
2371
|
+
}
|
|
2351
2372
|
|
|
2352
|
-
|
|
2353
|
-
|
|
2354
|
-
|
|
2355
|
-
|
|
2356
|
-
|
|
2357
|
-
|
|
2373
|
+
.bcc-react-selector-more {
|
|
2374
|
+
@apply flex w-9 items-center justify-center;
|
|
2375
|
+
}
|
|
2376
|
+
.bcc-react-selector-more-btn {
|
|
2377
|
+
@apply flex h-7 w-7 items-center justify-center rounded-full bg-slate-200;
|
|
2378
|
+
}
|
|
2358
2379
|
|
|
2359
|
-
|
|
2360
|
-
|
|
2361
|
-
|
|
2362
|
-
|
|
2363
|
-
|
|
2364
|
-
|
|
2365
|
-
|
|
2380
|
+
.bcc-react-dropdown-container {
|
|
2381
|
+
@apply top-0 left-0 -z-10 w-full max-w-full;
|
|
2382
|
+
width: 296px;
|
|
2383
|
+
}
|
|
2384
|
+
.bcc-react-dropdown-container--top {
|
|
2385
|
+
@apply top-auto bottom-0 pb-0;
|
|
2386
|
+
}
|
|
2366
2387
|
|
|
2367
|
-
|
|
2368
|
-
|
|
2369
|
-
|
|
2388
|
+
.bcc-react-dropdown {
|
|
2389
|
+
@apply -z-10 flex w-full flex-wrap overflow-hidden px-1;
|
|
2390
|
+
}
|
|
2370
2391
|
|
|
2371
|
-
|
|
2372
|
-
|
|
2373
|
-
|
|
2374
|
-
|
|
2375
|
-
|
|
2376
|
-
|
|
2377
|
-
|
|
2392
|
+
.bcc-react-arrow-down-icon {
|
|
2393
|
+
@apply h-6 w-6 text-slate-600;
|
|
2394
|
+
transition: transform 0.3s ease;
|
|
2395
|
+
}
|
|
2396
|
+
.bcc-react-arrow-down-icon.open {
|
|
2397
|
+
transform: rotate(-180deg);
|
|
2398
|
+
}
|
|
2378
2399
|
|
|
2379
|
-
|
|
2380
|
-
|
|
2381
|
-
|
|
2400
|
+
.bcc-react-selector-item {
|
|
2401
|
+
@apply relative h-9 w-9 p-2 text-xl leading-none transition-transform duration-200 ease-out;
|
|
2402
|
+
}
|
|
2382
2403
|
|
|
2383
|
-
|
|
2384
|
-
|
|
2385
|
-
|
|
2404
|
+
.bcc-react-selector-item--clicked {
|
|
2405
|
+
animation: scaleFadeOut 300ms forwards;
|
|
2406
|
+
}
|
|
2386
2407
|
|
|
2387
|
-
|
|
2388
|
-
|
|
2389
|
-
|
|
2390
|
-
|
|
2391
|
-
|
|
2392
|
-
|
|
2393
|
-
|
|
2394
|
-
|
|
2395
|
-
|
|
2396
|
-
|
|
2408
|
+
@keyframes scaleFadeOut {
|
|
2409
|
+
0% {
|
|
2410
|
+
transform: scale(1);
|
|
2411
|
+
opacity: 1;
|
|
2412
|
+
}
|
|
2413
|
+
100% {
|
|
2414
|
+
transform: scale(1.4);
|
|
2415
|
+
opacity: 0;
|
|
2416
|
+
}
|
|
2417
|
+
}
|
|
2397
2418
|
|
|
2398
|
-
|
|
2399
|
-
|
|
2400
|
-
|
|
2401
|
-
|
|
2402
|
-
|
|
2403
|
-
|
|
2404
|
-
|
|
2405
|
-
|
|
2419
|
+
.bcc-react-emoji-list-item {
|
|
2420
|
+
@apply ctx clickable flex items-center justify-center rounded-full p-1 text-2xl leading-none drop-shadow transition-all hover:scale-105;
|
|
2421
|
+
/* Default --not-selected */
|
|
2422
|
+
@apply ctx-neutral-subtlest;
|
|
2423
|
+
}
|
|
2424
|
+
.bcc-react-emoji-list-item.selected {
|
|
2425
|
+
@apply ctx-neutral-subtle;
|
|
2426
|
+
}
|
|
2406
2427
|
}
|
|
2407
2428
|
|
|
2408
2429
|
|
|
@@ -1,3 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
icon?: string;
|
|
3
|
+
size?: 'sm' | 'md' | 'base' | 'lg' | 'xl' | '2xl' | '3xl';
|
|
4
|
+
left?: boolean;
|
|
5
|
+
right?: boolean;
|
|
6
|
+
};
|
|
7
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
8
|
+
size: "sm" | "md" | "base" | "lg" | "xl" | "2xl" | "3xl";
|
|
9
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
2
10
|
declare const _default: typeof __VLS_export;
|
|
3
11
|
export default _default;
|
|
@@ -22,13 +22,21 @@ declare var __VLS_1: {
|
|
|
22
22
|
title: string;
|
|
23
23
|
subtitle: string;
|
|
24
24
|
};
|
|
25
|
-
}, __VLS_13: {
|
|
25
|
+
}, __VLS_13: {
|
|
26
|
+
title: string;
|
|
27
|
+
}, __VLS_15: {
|
|
28
|
+
subtitle: string;
|
|
29
|
+
}, __VLS_17: {}, __VLS_24: {};
|
|
26
30
|
type __VLS_Slots = {} & {
|
|
27
31
|
default?: (props: typeof __VLS_1) => any;
|
|
28
32
|
} & {
|
|
29
|
-
|
|
33
|
+
title?: (props: typeof __VLS_13) => any;
|
|
30
34
|
} & {
|
|
31
|
-
|
|
35
|
+
subtitle?: (props: typeof __VLS_15) => any;
|
|
36
|
+
} & {
|
|
37
|
+
right?: (props: typeof __VLS_17) => any;
|
|
38
|
+
} & {
|
|
39
|
+
bottom?: (props: typeof __VLS_24) => any;
|
|
32
40
|
};
|
|
33
41
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
34
42
|
back: () => any;
|
|
@@ -9,6 +9,20 @@ export type BccMenuItem = Omit<MenuItem, 'icon' | 'items'> & {
|
|
|
9
9
|
export type MenuProps = {
|
|
10
10
|
model?: BccMenuItem[];
|
|
11
11
|
} & Omit<PrimeMenuProps, 'model'>;
|
|
12
|
-
declare
|
|
12
|
+
declare var __VLS_16: {
|
|
13
|
+
item: MenuItem;
|
|
14
|
+
label: string | ((...args: any) => string) | undefined;
|
|
15
|
+
props: import("primevue").MenuRouterBindProps;
|
|
16
|
+
};
|
|
17
|
+
type __VLS_Slots = {} & {
|
|
18
|
+
item?: (props: typeof __VLS_16) => any;
|
|
19
|
+
};
|
|
20
|
+
declare const __VLS_base: import("vue").DefineComponent<MenuProps, PrimeMenuMethods, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MenuProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
21
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
13
22
|
declare const _default: typeof __VLS_export;
|
|
14
23
|
export default _default;
|
|
24
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
25
|
+
new (): {
|
|
26
|
+
$slots: S;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
@@ -2,6 +2,7 @@ import { type RadioButtonProps as PrimeRadioButtonProps } from 'primevue/radiobu
|
|
|
2
2
|
export type RadioButtonProps = PrimeRadioButtonProps & {
|
|
3
3
|
label?: string;
|
|
4
4
|
labelLeft?: boolean;
|
|
5
|
+
justify?: 'start' | 'center' | 'end' | 'between' | 'around' | 'evenly';
|
|
5
6
|
};
|
|
6
7
|
declare var __VLS_6: {};
|
|
7
8
|
type __VLS_Slots = {} & {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bcc-code/component-library-vue",
|
|
3
|
-
"version": "0.0.0-dev.
|
|
3
|
+
"version": "0.0.0-dev.38a12fb",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Extended Vue component library based on PrimeVue and BCC design tokens",
|
|
6
6
|
"repository": "https://github.com/bcc-code/bcc-design.git",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"create-version": "node ./scripts/version.cjs"
|
|
54
54
|
},
|
|
55
55
|
"dependencies": {
|
|
56
|
-
"@bcc-code/design-tokens": "^5.1.
|
|
56
|
+
"@bcc-code/design-tokens": "^5.1.60",
|
|
57
57
|
"@bcc-code/icons-vue": "^1.4.0",
|
|
58
58
|
"@primeuix/themes": "^2.0.3",
|
|
59
59
|
"@tailwindcss/vite": "^4.1.18",
|