@bcc-code/component-library-vue 0.0.0-dev.fd035f5 → 0.0.0-dev.ff65d3f
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 +13344 -11082
- package/dist/component-library.umd.cjs +532 -532
- package/dist/index.css +1 -1
- package/dist/theme.css +201 -144
- package/dist-types/components/custom/BccCapacityIndicator/BccCapacityIndicator.vue.d.ts +3 -0
- package/dist-types/components/custom/BccCircleLoader/BccCircleLoader.vue.d.ts +9 -1
- package/dist-types/components/wrapped/BccMessage.vue.d.ts +4 -2
- package/dist-types/components/wrapped/BccRadioButton.vue.d.ts +18 -0
- package/dist-types/components/wrapped/BccSelectButton.vue.d.ts +17 -0
- package/dist-types/components/wrapped/index.d.ts +4 -0
- package/dist-types/index.d.ts +0 -2
- 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 */
|
|
@@ -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
|
|
@@ -1909,6 +1934,19 @@
|
|
|
1909
1934
|
display: none;
|
|
1910
1935
|
}
|
|
1911
1936
|
|
|
1937
|
+
.p-togglebutton {
|
|
1938
|
+
font-size: var(--text-sm);
|
|
1939
|
+
border: 0;
|
|
1940
|
+
}
|
|
1941
|
+
|
|
1942
|
+
.p-togglebutton-sm {
|
|
1943
|
+
font-size: var(--text-sm);
|
|
1944
|
+
}
|
|
1945
|
+
|
|
1946
|
+
.p-togglebutton-lg {
|
|
1947
|
+
font-size: var(--text-md);
|
|
1948
|
+
}
|
|
1949
|
+
|
|
1912
1950
|
|
|
1913
1951
|
|
|
1914
1952
|
|
|
@@ -1917,19 +1955,36 @@
|
|
|
1917
1955
|
/* from ./BccAppNavigation/BccAppNavigation.css */
|
|
1918
1956
|
@layer components {
|
|
1919
1957
|
.bcc-app-nav {
|
|
1920
|
-
@apply sticky inset-x-0 bottom-0 z-20 overflow-visible
|
|
1958
|
+
@apply bg-elevation-surface-default dark:border-brand-800 sticky inset-x-0 bottom-0 z-20 overflow-visible shadow-md sm:rounded-t-xl dark:border-t;
|
|
1921
1959
|
}
|
|
1922
|
-
.bcc-app-nav
|
|
1960
|
+
.bcc-app-nav-container {
|
|
1923
1961
|
@apply center pb-inset-bottom-1 mx-auto max-w-lg pt-1;
|
|
1924
1962
|
}
|
|
1925
1963
|
|
|
1926
|
-
.bcc-app-nav
|
|
1927
|
-
@apply
|
|
1928
|
-
|
|
1964
|
+
.bcc-app-nav-item {
|
|
1965
|
+
@apply ctx-gray-subtlest text-ctx relative flex h-12 flex-1 flex-col items-center justify-center gap-1 transition-colors focus:ring-0 focus:outline-none;
|
|
1966
|
+
}
|
|
1967
|
+
|
|
1968
|
+
.bcc-nav-item-icon {
|
|
1969
|
+
@apply size-6 opacity-50;
|
|
1970
|
+
}
|
|
1971
|
+
|
|
1972
|
+
.bcc-nav-item-badge {
|
|
1973
|
+
@apply absolute top-0 right-1 opacity-75;
|
|
1974
|
+
}
|
|
1975
|
+
|
|
1976
|
+
.bcc-nav-item-title {
|
|
1977
|
+
@apply text-heading-xs text-center opacity-50;
|
|
1978
|
+
}
|
|
1979
|
+
|
|
1980
|
+
.bcc-app-nav-item--active {
|
|
1981
|
+
@apply text-selected;
|
|
1929
1982
|
}
|
|
1930
1983
|
|
|
1931
|
-
.bcc-app-nav .bcc-
|
|
1932
|
-
|
|
1984
|
+
.bcc-app-nav-item--active .bcc-nav-item-icon,
|
|
1985
|
+
.bcc-app-nav-item--active .bcc-nav-item-badge,
|
|
1986
|
+
.bcc-app-nav-item--active .bcc-nav-item-title {
|
|
1987
|
+
@apply opacity-100;
|
|
1933
1988
|
}
|
|
1934
1989
|
}
|
|
1935
1990
|
|
|
@@ -1937,67 +1992,66 @@
|
|
|
1937
1992
|
|
|
1938
1993
|
/* from ./BccBadge/BccBadge.css */
|
|
1939
1994
|
@layer components {
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
@apply bg-ctx text-ctx;
|
|
1944
|
-
}
|
|
1995
|
+
.bcc-badge {
|
|
1996
|
+
@apply inline-flex shrink-0 items-center justify-center gap-1 rounded-full leading-none whitespace-nowrap;
|
|
1945
1997
|
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
|
|
1955
|
-
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
|
-
|
|
1959
|
-
|
|
1960
|
-
|
|
1961
|
-
|
|
1962
|
-
|
|
1963
|
-
}
|
|
1998
|
+
@apply bg-ctx text-ctx;
|
|
1999
|
+
}
|
|
2000
|
+
.bcc-badge.gradient {
|
|
2001
|
+
@apply ctx-gradient;
|
|
2002
|
+
}
|
|
2003
|
+
.bcc-badge.sm {
|
|
2004
|
+
@apply text-heading-xs h-4 w-4;
|
|
2005
|
+
}
|
|
2006
|
+
.bcc-badge.md {
|
|
2007
|
+
@apply text-heading-sm h-5 w-5;
|
|
2008
|
+
}
|
|
2009
|
+
.bcc-badge.lg {
|
|
2010
|
+
@apply text-heading-md h-6 w-6;
|
|
2011
|
+
}
|
|
2012
|
+
.bcc-badge.xl {
|
|
2013
|
+
@apply text-heading-md h-8 w-8;
|
|
2014
|
+
}
|
|
1964
2015
|
|
|
1965
|
-
|
|
1966
|
-
|
|
1967
|
-
|
|
1968
|
-
|
|
1969
|
-
|
|
1970
|
-
|
|
1971
|
-
|
|
1972
|
-
|
|
1973
|
-
|
|
2016
|
+
.bcc-badge .bcc-badge-icon {
|
|
2017
|
+
@apply size-4;
|
|
2018
|
+
}
|
|
2019
|
+
.bcc-badge.lg .bcc-badge-icon {
|
|
2020
|
+
@apply size-5;
|
|
2021
|
+
}
|
|
2022
|
+
.bcc-badge.xl .bcc-badge-icon {
|
|
2023
|
+
@apply size-6;
|
|
2024
|
+
}
|
|
1974
2025
|
|
|
1975
|
-
|
|
1976
|
-
|
|
1977
|
-
|
|
1978
|
-
|
|
1979
|
-
|
|
1980
|
-
|
|
1981
|
-
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
|
|
1985
|
-
|
|
1986
|
-
|
|
2026
|
+
.bcc-badge.bcc-badge-text {
|
|
2027
|
+
@apply w-auto px-2;
|
|
2028
|
+
}
|
|
2029
|
+
.bcc-badge-text.lg,
|
|
2030
|
+
.bcc-badge-text.xl {
|
|
2031
|
+
@apply px-3;
|
|
2032
|
+
}
|
|
2033
|
+
.bcc-badge-text.border.lg,
|
|
2034
|
+
.bcc-badge-text.border.xl {
|
|
2035
|
+
@apply px-2;
|
|
2036
|
+
}
|
|
2037
|
+
.bcc-badge-text.bordered.lg,
|
|
2038
|
+
.bcc-badge-text.bordered.xl {
|
|
2039
|
+
@apply px-1;
|
|
2040
|
+
}
|
|
1987
2041
|
|
|
1988
|
-
|
|
1989
|
-
|
|
1990
|
-
|
|
1991
|
-
|
|
2042
|
+
.bcc-badge.border {
|
|
2043
|
+
@apply border-1;
|
|
2044
|
+
border-color: var(--ctx-background-pressed);
|
|
2045
|
+
}
|
|
1992
2046
|
|
|
1993
|
-
|
|
1994
|
-
|
|
1995
|
-
|
|
1996
|
-
|
|
2047
|
+
.bcc-badge.bordered {
|
|
2048
|
+
@apply border-2;
|
|
2049
|
+
border-color: var(--ctx-background-pressed);
|
|
2050
|
+
}
|
|
1997
2051
|
|
|
1998
|
-
|
|
1999
|
-
|
|
2000
|
-
|
|
2052
|
+
.bcc-badge.squared {
|
|
2053
|
+
@apply rounded-sm;
|
|
2054
|
+
}
|
|
2001
2055
|
}
|
|
2002
2056
|
|
|
2003
2057
|
|
|
@@ -2046,6 +2100,7 @@
|
|
|
2046
2100
|
|
|
2047
2101
|
.bcc-capacity-indicator.is-warning {
|
|
2048
2102
|
@apply ctx-yellow-subtlest;
|
|
2103
|
+
--bcc-capacity-indicator-circle: var(--ctx-background);
|
|
2049
2104
|
}
|
|
2050
2105
|
|
|
2051
2106
|
.bcc-capacity-indicator.is-full {
|
|
@@ -2516,6 +2571,8 @@
|
|
|
2516
2571
|
@apply m-0 p-0 font-sans antialiased;
|
|
2517
2572
|
-webkit-font-smoothing: antialiased;
|
|
2518
2573
|
-moz-osx-font-smoothing: grayscale;
|
|
2574
|
+
line-height: 1.2;
|
|
2575
|
+
font-kerning: normal;
|
|
2519
2576
|
}
|
|
2520
2577
|
|
|
2521
2578
|
hr {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { BCC_CONTEXT } from '@/contexts';
|
|
1
2
|
export type CapacityIndicatorProps = {
|
|
2
3
|
/** Total capacity; use -1 for “unlimited” (shows an infinity-style icon instead of a bar). */
|
|
3
4
|
total: number;
|
|
@@ -11,6 +12,8 @@ export type CapacityIndicatorProps = {
|
|
|
11
12
|
squared?: boolean;
|
|
12
13
|
/** When true, applies warning/full color states (e.g. color change at high usage). */
|
|
13
14
|
colored?: boolean;
|
|
15
|
+
/** Design context (e.g. neutral, brand) used for background and text color. */
|
|
16
|
+
context?: BCC_CONTEXT;
|
|
14
17
|
};
|
|
15
18
|
declare const __VLS_export: import("vue").DefineComponent<CapacityIndicatorProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CapacityIndicatorProps> & Readonly<{}>, {
|
|
16
19
|
size: "xs" | "sm" | "base" | "lg";
|
|
@@ -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;
|
|
@@ -3,10 +3,12 @@ import { type MessageProps as PrimeMessageProps } from 'primevue/message';
|
|
|
3
3
|
export type MessageProps = Omit<PrimeMessageProps, 'icon'> & {
|
|
4
4
|
icon?: boolean | VueComponent;
|
|
5
5
|
iconRight?: VueComponent | boolean;
|
|
6
|
+
title?: string;
|
|
7
|
+
message?: string;
|
|
6
8
|
};
|
|
7
|
-
declare var
|
|
9
|
+
declare var __VLS_19: {};
|
|
8
10
|
type __VLS_Slots = {} & {
|
|
9
|
-
default?: (props: typeof
|
|
11
|
+
default?: (props: typeof __VLS_19) => any;
|
|
10
12
|
};
|
|
11
13
|
declare const __VLS_base: import("vue").DefineComponent<MessageProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MessageProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
12
14
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { type RadioButtonProps as PrimeRadioButtonProps } from 'primevue/radiobutton';
|
|
2
|
+
export type RadioButtonProps = PrimeRadioButtonProps & {
|
|
3
|
+
label?: string;
|
|
4
|
+
labelLeft?: boolean;
|
|
5
|
+
};
|
|
6
|
+
declare var __VLS_6: {};
|
|
7
|
+
type __VLS_Slots = {} & {
|
|
8
|
+
default?: (props: typeof __VLS_6) => any;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_base: import("vue").DefineComponent<RadioButtonProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<RadioButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
12
|
+
declare const _default: typeof __VLS_export;
|
|
13
|
+
export default _default;
|
|
14
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
15
|
+
new (): {
|
|
16
|
+
$slots: S;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { type SelectButtonProps as PrimeSelectButtonProps } from 'primevue/selectbutton';
|
|
2
|
+
export type SelectButtonProps = PrimeSelectButtonProps;
|
|
3
|
+
declare var __VLS_9: {
|
|
4
|
+
option: any;
|
|
5
|
+
};
|
|
6
|
+
type __VLS_Slots = {} & {
|
|
7
|
+
option?: (props: typeof __VLS_9) => any;
|
|
8
|
+
};
|
|
9
|
+
declare const __VLS_base: import("vue").DefineComponent<PrimeSelectButtonProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PrimeSelectButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
11
|
+
declare const _default: typeof __VLS_export;
|
|
12
|
+
export default _default;
|
|
13
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
14
|
+
new (): {
|
|
15
|
+
$slots: S;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -11,6 +11,8 @@ export { default as BccImage } from './BccImage.vue';
|
|
|
11
11
|
export { default as BccInput } from './BccInput.vue';
|
|
12
12
|
export { default as BccMenu } from './BccMenu/BccMenu.vue';
|
|
13
13
|
export { default as BccMessage } from './BccMessage.vue';
|
|
14
|
+
export { default as BccRadioButton } from './BccRadioButton.vue';
|
|
15
|
+
export { default as BccSelectButton } from './BccSelectButton.vue';
|
|
14
16
|
export { default as BccTabs } from './BccTabs/BccTabs.vue';
|
|
15
17
|
export { default as BccToggle } from './BccToggle/BccToggle.vue';
|
|
16
18
|
export { default as BccToggleButton } from './BccToggleButton.vue';
|
|
@@ -22,6 +24,8 @@ export type { ImageProps } from './BccImage.vue';
|
|
|
22
24
|
export type { InputProps } from './BccInput.vue';
|
|
23
25
|
export type { BccMenuItem, MenuProps } from './BccMenu/BccMenu.vue';
|
|
24
26
|
export type { MessageProps } from './BccMessage.vue';
|
|
27
|
+
export type { RadioButtonProps } from './BccRadioButton.vue';
|
|
28
|
+
export type { SelectButtonProps } from './BccSelectButton.vue';
|
|
25
29
|
export type { TabItem, TabsProps } from './BccTabs/BccTabs.vue';
|
|
26
30
|
export type { ToggleProps } from './BccToggle/BccToggle.vue';
|
|
27
31
|
export type { ToggleButtonProps } from './BccToggleButton.vue';
|
package/dist-types/index.d.ts
CHANGED
|
@@ -94,7 +94,6 @@ export { default as BccPopover } from 'primevue/popover';
|
|
|
94
94
|
export { default as BccPortal } from 'primevue/portal';
|
|
95
95
|
export { default as BccProgressBar } from 'primevue/progressbar';
|
|
96
96
|
export { default as BccProgressSpinner } from 'primevue/progressspinner';
|
|
97
|
-
export { default as BccRadioButton } from 'primevue/radiobutton';
|
|
98
97
|
export { default as BccRadioButtonGroup } from 'primevue/radiobuttongroup';
|
|
99
98
|
export { default as BccRating } from 'primevue/rating';
|
|
100
99
|
export { default as BccRipple } from 'primevue/ripple';
|
|
@@ -102,7 +101,6 @@ export { default as BccRow } from 'primevue/row';
|
|
|
102
101
|
export { default as BccScrollPanel } from 'primevue/scrollpanel';
|
|
103
102
|
export { default as BccScrollTop } from 'primevue/scrolltop';
|
|
104
103
|
export { default as BccSelect } from 'primevue/select';
|
|
105
|
-
export { default as BccSelectButton } from 'primevue/selectbutton';
|
|
106
104
|
export { default as BccSkeleton } from 'primevue/skeleton';
|
|
107
105
|
export { default as BccSlider } from 'primevue/slider';
|
|
108
106
|
export { default as BccSpeedDial } from 'primevue/speeddial';
|
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.ff65d3f",
|
|
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.56",
|
|
57
57
|
"@bcc-code/icons-vue": "^1.4.0",
|
|
58
58
|
"@primeuix/themes": "^2.0.3",
|
|
59
59
|
"@tailwindcss/vite": "^4.1.18",
|