@bcc-code/component-library-vue 0.0.0-dev.b02dfbe → 0.0.0-dev.b2c2f8f
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 +13818 -11301
- package/dist/component-library.umd.cjs +784 -784
- package/dist/index.css +1 -1
- package/dist/theme.css +279 -210
- package/dist-types/components/custom/BccAppNavigation/BccAppNavigation.vue.d.ts +32 -0
- package/dist-types/components/custom/BccBadge/BccBadge.vue.d.ts +2 -0
- package/dist-types/components/custom/BccCapacityIndicator/BccCapacityIndicator.vue.d.ts +3 -0
- package/dist-types/components/custom/BccDialKnob/BccDialKnob.vue.d.ts +1 -1
- package/dist-types/components/custom/BccReact/BccReact.vue.d.ts +1 -1
- package/dist-types/components/custom/BccTopNavigation/BccTopNavigation.vue.d.ts +47 -0
- package/dist-types/components/custom/index.d.ts +4 -0
- package/dist-types/components/wrapped/BccImage.vue.d.ts +17 -0
- package/dist-types/components/wrapped/BccMenu/BccMenu.vue.d.ts +2 -6
- 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/BccTabs/BccTabs.vue.d.ts +2 -0
- package/dist-types/components/wrapped/BccToggle/BccToggle.vue.d.ts +9 -4
- package/dist-types/components/wrapped/index.d.ts +6 -0
- package/dist-types/index.d.ts +0 -3
- 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,102 @@
|
|
|
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
1813
|
.clickable:hover {
|
|
1796
|
-
|
|
1797
|
-
|
|
1798
|
-
|
|
1814
|
+
--ctx-background: var(--ctx-background-hover);
|
|
1815
|
+
--ctx-text: var(--ctx-text-hover);
|
|
1816
|
+
--ctx-border: var(--ctx-border-hover);
|
|
1799
1817
|
}
|
|
1800
1818
|
|
|
1801
1819
|
.clickable:active {
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
|
-
|
|
1820
|
+
--ctx-background: var(--ctx-background-pressed);
|
|
1821
|
+
--ctx-text: var(--ctx-text-pressed);
|
|
1822
|
+
--ctx-border: var(--ctx-border-pressed);
|
|
1805
1823
|
}
|
|
1806
1824
|
|
|
1807
1825
|
|
|
1826
|
+
|
|
1808
1827
|
/* === ./styles/fonts.css === */
|
|
1809
1828
|
@utility heading-xs { font: var(--heading-xs); }
|
|
1810
1829
|
@utility heading-sm { font: var(--heading-sm); }
|
|
@@ -1832,6 +1851,7 @@
|
|
|
1832
1851
|
.p-menu-overlay,
|
|
1833
1852
|
.p-multiselect-overlay,
|
|
1834
1853
|
.p-select-overlay,
|
|
1854
|
+
.p-datepicker-panel,
|
|
1835
1855
|
.p-treeselect-overlay {
|
|
1836
1856
|
margin: var(--p-anchor-gutter) 0;
|
|
1837
1857
|
}
|
|
@@ -1901,71 +1921,131 @@
|
|
|
1901
1921
|
z-index: 2;
|
|
1902
1922
|
}
|
|
1903
1923
|
|
|
1924
|
+
.p-dialog-close-button {
|
|
1925
|
+
--p-icon-size: var(--icon-size-sm);
|
|
1926
|
+
}
|
|
1927
|
+
.p-dialog .p-button-icon:empty {
|
|
1928
|
+
display: none;
|
|
1929
|
+
}
|
|
1930
|
+
|
|
1931
|
+
.p-togglebutton {
|
|
1932
|
+
font-size: var(--text-sm);
|
|
1933
|
+
border: 0;
|
|
1934
|
+
}
|
|
1935
|
+
|
|
1936
|
+
.p-togglebutton-sm {
|
|
1937
|
+
font-size: var(--text-sm);
|
|
1938
|
+
}
|
|
1939
|
+
|
|
1940
|
+
.p-togglebutton-lg {
|
|
1941
|
+
font-size: var(--text-md);
|
|
1942
|
+
}
|
|
1943
|
+
|
|
1904
1944
|
|
|
1905
1945
|
|
|
1906
1946
|
|
|
1907
1947
|
/* === ./components/custom/styles.css === */
|
|
1908
1948
|
|
|
1949
|
+
/* from ./BccAppNavigation/BccAppNavigation.css */
|
|
1950
|
+
@layer components {
|
|
1951
|
+
.bcc-app-nav {
|
|
1952
|
+
@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;
|
|
1953
|
+
}
|
|
1954
|
+
.bcc-app-nav-container {
|
|
1955
|
+
@apply center pb-inset-bottom-1 mx-auto max-w-lg pt-1;
|
|
1956
|
+
}
|
|
1957
|
+
|
|
1958
|
+
.bcc-app-nav-item {
|
|
1959
|
+
@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;
|
|
1960
|
+
}
|
|
1961
|
+
|
|
1962
|
+
.bcc-nav-item-icon {
|
|
1963
|
+
@apply size-6 opacity-50;
|
|
1964
|
+
}
|
|
1965
|
+
|
|
1966
|
+
.bcc-nav-item-badge {
|
|
1967
|
+
@apply absolute top-0 right-1 opacity-75;
|
|
1968
|
+
}
|
|
1969
|
+
|
|
1970
|
+
.bcc-nav-item-title {
|
|
1971
|
+
@apply text-heading-xs text-center opacity-50;
|
|
1972
|
+
}
|
|
1973
|
+
|
|
1974
|
+
.bcc-app-nav-item--active {
|
|
1975
|
+
@apply text-selected;
|
|
1976
|
+
}
|
|
1977
|
+
|
|
1978
|
+
.bcc-app-nav-item--active .bcc-nav-item-icon,
|
|
1979
|
+
.bcc-app-nav-item--active .bcc-nav-item-badge,
|
|
1980
|
+
.bcc-app-nav-item--active .bcc-nav-item-title {
|
|
1981
|
+
@apply opacity-100;
|
|
1982
|
+
}
|
|
1983
|
+
}
|
|
1984
|
+
|
|
1985
|
+
|
|
1986
|
+
|
|
1909
1987
|
/* from ./BccBadge/BccBadge.css */
|
|
1910
1988
|
@layer components {
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
|
|
1914
|
-
@apply bg-ctx text-ctx;
|
|
1915
|
-
}
|
|
1989
|
+
.bcc-badge {
|
|
1990
|
+
@apply inline-flex shrink-0 items-center justify-center gap-1 rounded-full leading-none whitespace-nowrap;
|
|
1916
1991
|
|
|
1917
|
-
|
|
1918
|
-
|
|
1919
|
-
|
|
1920
|
-
|
|
1921
|
-
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
|
-
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
|
|
1930
|
-
|
|
1931
|
-
|
|
1992
|
+
@apply bg-ctx text-ctx;
|
|
1993
|
+
}
|
|
1994
|
+
.bcc-badge.gradient {
|
|
1995
|
+
@apply ctx-gradient;
|
|
1996
|
+
}
|
|
1997
|
+
.bcc-badge.sm {
|
|
1998
|
+
@apply text-heading-xs h-4 w-4;
|
|
1999
|
+
}
|
|
2000
|
+
.bcc-badge.md {
|
|
2001
|
+
@apply text-heading-sm h-5 w-5;
|
|
2002
|
+
}
|
|
2003
|
+
.bcc-badge.lg {
|
|
2004
|
+
@apply text-heading-md h-6 w-6;
|
|
2005
|
+
}
|
|
2006
|
+
.bcc-badge.xl {
|
|
2007
|
+
@apply text-heading-md h-8 w-8;
|
|
2008
|
+
}
|
|
1932
2009
|
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
|
|
2010
|
+
.bcc-badge .bcc-badge-icon {
|
|
2011
|
+
@apply size-4;
|
|
2012
|
+
}
|
|
2013
|
+
.bcc-badge.lg .bcc-badge-icon {
|
|
2014
|
+
@apply size-5;
|
|
2015
|
+
}
|
|
2016
|
+
.bcc-badge.xl .bcc-badge-icon {
|
|
2017
|
+
@apply size-6;
|
|
2018
|
+
}
|
|
1942
2019
|
|
|
1943
|
-
|
|
1944
|
-
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
|
|
2020
|
+
.bcc-badge.bcc-badge-text {
|
|
2021
|
+
@apply w-auto px-2;
|
|
2022
|
+
}
|
|
2023
|
+
.bcc-badge-text.lg,
|
|
2024
|
+
.bcc-badge-text.xl {
|
|
2025
|
+
@apply px-3;
|
|
2026
|
+
}
|
|
2027
|
+
.bcc-badge-text.border.lg,
|
|
2028
|
+
.bcc-badge-text.border.xl {
|
|
2029
|
+
@apply px-2;
|
|
2030
|
+
}
|
|
2031
|
+
.bcc-badge-text.bordered.lg,
|
|
2032
|
+
.bcc-badge-text.bordered.xl {
|
|
2033
|
+
@apply px-1;
|
|
2034
|
+
}
|
|
1955
2035
|
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
|
-
|
|
1959
|
-
|
|
2036
|
+
.bcc-badge.border {
|
|
2037
|
+
@apply border-1;
|
|
2038
|
+
border-color: var(--ctx-background-pressed);
|
|
2039
|
+
}
|
|
1960
2040
|
|
|
1961
|
-
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
|
|
2041
|
+
.bcc-badge.bordered {
|
|
2042
|
+
@apply border-2;
|
|
2043
|
+
border-color: var(--ctx-background-pressed);
|
|
2044
|
+
}
|
|
1965
2045
|
|
|
1966
|
-
|
|
1967
|
-
|
|
1968
|
-
|
|
2046
|
+
.bcc-badge.squared {
|
|
2047
|
+
@apply rounded-sm;
|
|
2048
|
+
}
|
|
1969
2049
|
}
|
|
1970
2050
|
|
|
1971
2051
|
|
|
@@ -2014,6 +2094,7 @@
|
|
|
2014
2094
|
|
|
2015
2095
|
.bcc-capacity-indicator.is-warning {
|
|
2016
2096
|
@apply ctx-yellow-subtlest;
|
|
2097
|
+
--bcc-capacity-indicator-circle: var(--ctx-background);
|
|
2017
2098
|
}
|
|
2018
2099
|
|
|
2019
2100
|
.bcc-capacity-indicator.is-full {
|
|
@@ -2367,91 +2448,74 @@
|
|
|
2367
2448
|
|
|
2368
2449
|
/* from ./BccAvatar/BccAvatar.css */
|
|
2369
2450
|
@layer components {
|
|
2370
|
-
|
|
2371
|
-
|
|
2372
|
-
|
|
2373
|
-
|
|
2374
|
-
|
|
2375
|
-
|
|
2376
|
-
|
|
2377
|
-
.bcc-avatar .icon {
|
|
2378
|
-
height: var(--icon-size-sm);
|
|
2379
|
-
}
|
|
2451
|
+
.bcc-avatar {
|
|
2452
|
+
--p-avatar-background: var(--ctx-background);
|
|
2453
|
+
--p-avatar-color: var(--ctx-text);
|
|
2454
|
+
--bcc-avatar-border: var(--ctx-border);
|
|
2455
|
+
--p-icon-size: var(--icon-size-sm);
|
|
2456
|
+
@apply ctx-gray-subtler shrink-0 overflow-hidden text-sm;
|
|
2457
|
+
}
|
|
2380
2458
|
|
|
2381
|
-
|
|
2382
|
-
|
|
2383
|
-
|
|
2384
|
-
|
|
2385
|
-
|
|
2386
|
-
|
|
2387
|
-
|
|
2388
|
-
|
|
2389
|
-
|
|
2390
|
-
|
|
2391
|
-
|
|
2392
|
-
|
|
2393
|
-
|
|
2394
|
-
|
|
2395
|
-
|
|
2396
|
-
|
|
2397
|
-
|
|
2398
|
-
|
|
2399
|
-
|
|
2400
|
-
|
|
2401
|
-
|
|
2402
|
-
|
|
2403
|
-
|
|
2404
|
-
|
|
2405
|
-
|
|
2406
|
-
|
|
2407
|
-
|
|
2408
|
-
|
|
2409
|
-
|
|
2410
|
-
|
|
2411
|
-
|
|
2412
|
-
|
|
2413
|
-
|
|
2414
|
-
|
|
2415
|
-
|
|
2416
|
-
|
|
2417
|
-
|
|
2418
|
-
|
|
2419
|
-
|
|
2420
|
-
|
|
2421
|
-
|
|
2422
|
-
|
|
2423
|
-
|
|
2424
|
-
|
|
2425
|
-
|
|
2426
|
-
|
|
2427
|
-
.bcc-avatar.xl .icon {
|
|
2428
|
-
height: var(--icon-size-lg);
|
|
2429
|
-
}
|
|
2430
|
-
.bcc-avatar.xxl {
|
|
2431
|
-
@apply size-20 text-3xl;
|
|
2432
|
-
}
|
|
2433
|
-
.bcc-avatar.xxl .icon {
|
|
2434
|
-
height: var(--icon-size-xl);
|
|
2435
|
-
}
|
|
2436
|
-
.bcc-avatar.xxxl {
|
|
2437
|
-
@apply size-24 text-4xl;
|
|
2438
|
-
}
|
|
2439
|
-
.bcc-avatar.xxxl .icon {
|
|
2440
|
-
height: var(--icon-size-xl);
|
|
2441
|
-
}
|
|
2459
|
+
.bcc-avatar.male,
|
|
2460
|
+
.bcc-avatar.M {
|
|
2461
|
+
@apply ctx-blue-subtler;
|
|
2462
|
+
}
|
|
2463
|
+
.bcc-avatar.female,
|
|
2464
|
+
.bcc-avatar.F {
|
|
2465
|
+
@apply ctx-purple-subtler;
|
|
2466
|
+
}
|
|
2467
|
+
.bcc-avatar.male.child,
|
|
2468
|
+
.bcc-avatar.M.child {
|
|
2469
|
+
@apply ctx-teal-subtler;
|
|
2470
|
+
}
|
|
2471
|
+
.bcc-avatar.female.child,
|
|
2472
|
+
.bcc-avatar.F.child {
|
|
2473
|
+
@apply ctx-magenta-subtler;
|
|
2474
|
+
}
|
|
2475
|
+
.bcc-avatar.bordered {
|
|
2476
|
+
@apply border-ctx border-2;
|
|
2477
|
+
}
|
|
2478
|
+
.bcc-avatar.xs {
|
|
2479
|
+
@apply size-5 text-xs;
|
|
2480
|
+
--p-icon-size: var(--icon-size-xs);
|
|
2481
|
+
}
|
|
2482
|
+
.bcc-avatar.sm {
|
|
2483
|
+
@apply size-6 text-xs;
|
|
2484
|
+
--p-icon-size: var(--icon-size-xs);
|
|
2485
|
+
}
|
|
2486
|
+
/* .bcc-avatar.md {
|
|
2487
|
+
same as default
|
|
2488
|
+
}*/
|
|
2489
|
+
.bcc-avatar.lg {
|
|
2490
|
+
@apply text-md size-10;
|
|
2491
|
+
--p-icon-size: var(--icon-size-md);
|
|
2492
|
+
}
|
|
2493
|
+
.bcc-avatar.xl {
|
|
2494
|
+
@apply size-12 text-xl;
|
|
2495
|
+
--p-icon-size: var(--icon-size-lg);
|
|
2496
|
+
}
|
|
2497
|
+
.bcc-avatar.xxl {
|
|
2498
|
+
@apply size-20 text-3xl;
|
|
2499
|
+
--p-icon-size: var(--icon-size-xl);
|
|
2500
|
+
}
|
|
2501
|
+
.bcc-avatar.xxxl {
|
|
2502
|
+
@apply size-24 text-4xl;
|
|
2503
|
+
--p-icon-size: var(--icon-size-xl);
|
|
2504
|
+
}
|
|
2442
2505
|
|
|
2443
|
-
|
|
2444
|
-
|
|
2445
|
-
|
|
2446
|
-
|
|
2506
|
+
.p-overlaybadge .bcc-avatar.p-avatar-circle.lg ~ .p-badge,
|
|
2507
|
+
.p-overlaybadge .bcc-avatar.p-avatar-circle.xl ~ .p-badge {
|
|
2508
|
+
transform: translate(40%, -40%);
|
|
2509
|
+
}
|
|
2447
2510
|
|
|
2448
|
-
|
|
2449
|
-
|
|
2450
|
-
|
|
2451
|
-
|
|
2511
|
+
.p-overlaybadge .bcc-avatar.p-avatar-circle.xxxl ~ .p-badge,
|
|
2512
|
+
.p-overlaybadge .bcc-avatar.p-avatar-circle.xxl ~ .p-badge {
|
|
2513
|
+
transform: translate(20%, -20%);
|
|
2514
|
+
}
|
|
2452
2515
|
}
|
|
2453
2516
|
|
|
2454
2517
|
|
|
2518
|
+
|
|
2455
2519
|
/* from ./BccTabs/BccTabs.css */
|
|
2456
2520
|
@layer components {
|
|
2457
2521
|
.bcc-tabs-fill.p-tabs {
|
|
@@ -2470,6 +2534,9 @@
|
|
|
2470
2534
|
height: 100%;
|
|
2471
2535
|
overflow: auto;
|
|
2472
2536
|
}
|
|
2537
|
+
.bcc-tabs-fluid.p-tabs {
|
|
2538
|
+
width: 100%;
|
|
2539
|
+
}
|
|
2473
2540
|
}
|
|
2474
2541
|
|
|
2475
2542
|
|
|
@@ -2498,6 +2565,8 @@
|
|
|
2498
2565
|
@apply m-0 p-0 font-sans antialiased;
|
|
2499
2566
|
-webkit-font-smoothing: antialiased;
|
|
2500
2567
|
-moz-osx-font-smoothing: grayscale;
|
|
2568
|
+
line-height: 1.2;
|
|
2569
|
+
font-kerning: normal;
|
|
2501
2570
|
}
|
|
2502
2571
|
|
|
2503
2572
|
hr {
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import type { VueComponent } from '@/types';
|
|
2
|
+
import { type Component } from 'vue';
|
|
3
|
+
export type BccAppNavigationItem = {
|
|
4
|
+
key: string;
|
|
5
|
+
title: string;
|
|
6
|
+
icon: Component;
|
|
7
|
+
pin?: number;
|
|
8
|
+
/** Any additional properties will be passed to the component.
|
|
9
|
+
* @example
|
|
10
|
+
* {
|
|
11
|
+
* href: '/',
|
|
12
|
+
* target: '_blank',
|
|
13
|
+
* } or for router link:
|
|
14
|
+
* {
|
|
15
|
+
* to: '/',
|
|
16
|
+
* replace: true,
|
|
17
|
+
* }
|
|
18
|
+
*/
|
|
19
|
+
[key: string]: unknown;
|
|
20
|
+
};
|
|
21
|
+
type __VLS_Props = {
|
|
22
|
+
items: BccAppNavigationItem[];
|
|
23
|
+
linkComponent?: VueComponent;
|
|
24
|
+
activeKey?: BccAppNavigationItem['key'] | null;
|
|
25
|
+
};
|
|
26
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
27
|
+
select: (item: BccAppNavigationItem) => any;
|
|
28
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
29
|
+
onSelect?: ((item: BccAppNavigationItem) => any) | undefined;
|
|
30
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
31
|
+
declare const _default: typeof __VLS_export;
|
|
32
|
+
export default _default;
|
|
@@ -13,6 +13,7 @@ export type BadgeProps = {
|
|
|
13
13
|
squared?: boolean;
|
|
14
14
|
/** Design context (e.g. neutral, brand) used for background and text color. */
|
|
15
15
|
context?: BCC_CONTEXT;
|
|
16
|
+
gradient?: boolean;
|
|
16
17
|
};
|
|
17
18
|
declare var __VLS_1: {};
|
|
18
19
|
type __VLS_Slots = {} & {
|
|
@@ -21,6 +22,7 @@ type __VLS_Slots = {} & {
|
|
|
21
22
|
declare const __VLS_base: import("vue").DefineComponent<BadgeProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<BadgeProps> & Readonly<{}>, {
|
|
22
23
|
size: "sm" | "md" | "lg" | "xl";
|
|
23
24
|
context: BCC_CONTEXT;
|
|
25
|
+
gradient: boolean;
|
|
24
26
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
25
27
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
26
28
|
declare const _default: typeof __VLS_export;
|