@bcc-code/component-library-vue 0.0.0-dev.a8d3de5 → 0.0.0-dev.ab024ca
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 +42821 -39886
- package/dist/component-library.umd.cjs +982 -969
- package/dist/index.css +1 -1
- package/dist/theme.css +435 -332
- 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/BccCircleLoader/BccCircleLoader.vue.d.ts +9 -1
- package/dist-types/components/custom/BccDialKnob/BccDialKnob.vue.d.ts +1 -1
- package/dist-types/components/custom/BccReact/BccReact.vue.d.ts +3 -2
- package/dist-types/components/custom/BccStepIndicator/BccStepIndicator.vue.d.ts +8 -8
- package/dist-types/components/custom/BccTag/BccTag.vue.d.ts +1 -0
- package/dist-types/components/custom/BccTopNavigation/BccTopNavigation.vue.d.ts +57 -0
- package/dist-types/components/custom/index.d.ts +4 -0
- package/dist-types/components/wrapped/BccAvatar/BccAvatar.vue.d.ts +1 -1
- package/dist-types/components/wrapped/BccImage.vue.d.ts +17 -0
- package/dist-types/components/wrapped/BccMenu/BccMenu.vue.d.ts +20 -6
- package/dist-types/components/wrapped/BccMessage.vue.d.ts +4 -2
- package/dist-types/components/wrapped/BccRadioButton.vue.d.ts +20 -0
- package/dist-types/components/wrapped/BccSelectButton.vue.d.ts +20 -0
- package/dist-types/components/wrapped/BccTabs/BccTabs.vue.d.ts +2 -0
- package/dist-types/components/wrapped/BccToggle/BccToggle.vue.d.ts +12 -1
- package/dist-types/components/wrapped/index.d.ts +8 -1
- package/dist-types/index.d.ts +0 -4
- package/package.json +105 -103
package/dist/theme.css
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/* Layer order: Tailwind base/utilities first, then PrimeVue so component styles win */
|
|
2
2
|
@layer theme, base, tailwind, primevue;
|
|
3
|
-
@import
|
|
3
|
+
@import '@bcc-code/design-tokens/css';
|
|
4
4
|
|
|
5
|
-
@import
|
|
6
|
-
@import
|
|
7
|
-
@import
|
|
5
|
+
@import 'tailwindcss';
|
|
6
|
+
@import '@bcc-code/design-tokens/tailwind';
|
|
7
|
+
@import '@bcc-code/design-tokens/primevue/overrides';
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
/* === ./styles/theme.css === */
|
|
@@ -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
|
|
@@ -1832,6 +1857,7 @@
|
|
|
1832
1857
|
.p-menu-overlay,
|
|
1833
1858
|
.p-multiselect-overlay,
|
|
1834
1859
|
.p-select-overlay,
|
|
1860
|
+
.p-datepicker-panel,
|
|
1835
1861
|
.p-treeselect-overlay {
|
|
1836
1862
|
margin: var(--p-anchor-gutter) 0;
|
|
1837
1863
|
}
|
|
@@ -1894,71 +1920,136 @@
|
|
|
1894
1920
|
--p-select-placeholder-color: var(--color-dark-neutral-1000);
|
|
1895
1921
|
}
|
|
1896
1922
|
|
|
1923
|
+
/**
|
|
1924
|
+
* Fix issue with icons inside Input within an InputGroup being hidden when Input is in focus
|
|
1925
|
+
**/
|
|
1926
|
+
.p-inputicon {
|
|
1927
|
+
z-index: 2;
|
|
1928
|
+
}
|
|
1929
|
+
|
|
1930
|
+
.p-dialog-close-button {
|
|
1931
|
+
--p-icon-size: var(--icon-size-sm);
|
|
1932
|
+
}
|
|
1933
|
+
.p-dialog .p-button-icon:empty {
|
|
1934
|
+
display: none;
|
|
1935
|
+
}
|
|
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
|
+
|
|
1897
1950
|
|
|
1898
1951
|
|
|
1899
1952
|
|
|
1900
1953
|
/* === ./components/custom/styles.css === */
|
|
1901
1954
|
|
|
1955
|
+
/* from ./BccAppNavigation/BccAppNavigation.css */
|
|
1956
|
+
@layer components {
|
|
1957
|
+
.bcc-app-nav {
|
|
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;
|
|
1959
|
+
}
|
|
1960
|
+
.bcc-app-nav-container {
|
|
1961
|
+
@apply center pb-inset-bottom-1 mx-auto max-w-lg pt-1;
|
|
1962
|
+
}
|
|
1963
|
+
|
|
1964
|
+
.bcc-app-nav-item {
|
|
1965
|
+
@apply 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 icon-subtlest;
|
|
1970
|
+
}
|
|
1971
|
+
|
|
1972
|
+
.bcc-nav-item-badge {
|
|
1973
|
+
@apply absolute top-0 right-1;
|
|
1974
|
+
}
|
|
1975
|
+
|
|
1976
|
+
.bcc-nav-item-title {
|
|
1977
|
+
@apply text-heading-xs text-center text-subtlest opacity-75;
|
|
1978
|
+
}
|
|
1979
|
+
|
|
1980
|
+
.bcc-app-nav-item--active .bcc-nav-item-title {
|
|
1981
|
+
@apply text-selected opacity-100;
|
|
1982
|
+
}
|
|
1983
|
+
|
|
1984
|
+
.bcc-app-nav-item--active .bcc-nav-item-icon {
|
|
1985
|
+
@apply text-selected;
|
|
1986
|
+
}
|
|
1987
|
+
}
|
|
1988
|
+
|
|
1989
|
+
|
|
1990
|
+
|
|
1902
1991
|
/* from ./BccBadge/BccBadge.css */
|
|
1903
1992
|
@layer components {
|
|
1904
|
-
|
|
1905
|
-
|
|
1906
|
-
|
|
1907
|
-
@apply bg-ctx text-ctx;
|
|
1908
|
-
}
|
|
1993
|
+
.bcc-badge {
|
|
1994
|
+
@apply inline-flex shrink-0 items-center justify-center gap-1 rounded-full leading-none whitespace-nowrap;
|
|
1909
1995
|
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
|
|
1919
|
-
|
|
1920
|
-
|
|
1921
|
-
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
|
-
|
|
1996
|
+
@apply bg-ctx text-ctx;
|
|
1997
|
+
}
|
|
1998
|
+
.bcc-badge.gradient {
|
|
1999
|
+
@apply ctx-gradient;
|
|
2000
|
+
}
|
|
2001
|
+
.bcc-badge.sm {
|
|
2002
|
+
@apply text-heading-xs h-4 w-4;
|
|
2003
|
+
}
|
|
2004
|
+
.bcc-badge.md {
|
|
2005
|
+
@apply text-heading-sm h-5 w-5;
|
|
2006
|
+
}
|
|
2007
|
+
.bcc-badge.lg {
|
|
2008
|
+
@apply text-heading-md h-6 w-6;
|
|
2009
|
+
}
|
|
2010
|
+
.bcc-badge.xl {
|
|
2011
|
+
@apply text-heading-md h-8 w-8;
|
|
2012
|
+
}
|
|
1925
2013
|
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
|
|
1930
|
-
|
|
1931
|
-
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
|
|
2014
|
+
.bcc-badge .bcc-badge-icon {
|
|
2015
|
+
@apply size-4;
|
|
2016
|
+
}
|
|
2017
|
+
.bcc-badge.lg .bcc-badge-icon {
|
|
2018
|
+
@apply size-5;
|
|
2019
|
+
}
|
|
2020
|
+
.bcc-badge.xl .bcc-badge-icon {
|
|
2021
|
+
@apply size-6;
|
|
2022
|
+
}
|
|
1935
2023
|
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
|
|
1944
|
-
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
|
|
2024
|
+
.bcc-badge.bcc-badge-text {
|
|
2025
|
+
@apply w-auto px-2;
|
|
2026
|
+
}
|
|
2027
|
+
.bcc-badge-text.lg,
|
|
2028
|
+
.bcc-badge-text.xl {
|
|
2029
|
+
@apply px-3;
|
|
2030
|
+
}
|
|
2031
|
+
.bcc-badge-text.border.lg,
|
|
2032
|
+
.bcc-badge-text.border.xl {
|
|
2033
|
+
@apply px-2;
|
|
2034
|
+
}
|
|
2035
|
+
.bcc-badge-text.bordered.lg,
|
|
2036
|
+
.bcc-badge-text.bordered.xl {
|
|
2037
|
+
@apply px-1;
|
|
2038
|
+
}
|
|
1948
2039
|
|
|
1949
|
-
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
|
|
2040
|
+
.bcc-badge.border {
|
|
2041
|
+
@apply border-1;
|
|
2042
|
+
border-color: var(--ctx-background-pressed);
|
|
2043
|
+
}
|
|
1953
2044
|
|
|
1954
|
-
|
|
1955
|
-
|
|
1956
|
-
|
|
1957
|
-
|
|
2045
|
+
.bcc-badge.bordered {
|
|
2046
|
+
@apply border-2;
|
|
2047
|
+
border-color: var(--ctx-background-pressed);
|
|
2048
|
+
}
|
|
1958
2049
|
|
|
1959
|
-
|
|
1960
|
-
|
|
1961
|
-
|
|
2050
|
+
.bcc-badge.squared {
|
|
2051
|
+
@apply rounded-sm;
|
|
2052
|
+
}
|
|
1962
2053
|
}
|
|
1963
2054
|
|
|
1964
2055
|
|
|
@@ -2007,6 +2098,7 @@
|
|
|
2007
2098
|
|
|
2008
2099
|
.bcc-capacity-indicator.is-warning {
|
|
2009
2100
|
@apply ctx-yellow-subtlest;
|
|
2101
|
+
--bcc-capacity-indicator-circle: var(--ctx-background);
|
|
2010
2102
|
}
|
|
2011
2103
|
|
|
2012
2104
|
.bcc-capacity-indicator.is-full {
|
|
@@ -2048,40 +2140,43 @@
|
|
|
2048
2140
|
|
|
2049
2141
|
/* from ./BccFrame/BccFrame.css */
|
|
2050
2142
|
@layer components {
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
|
|
2143
|
+
.bcc-frame {
|
|
2144
|
+
@apply ctx ctx-default w-full border border-transparent;
|
|
2145
|
+
}
|
|
2054
2146
|
|
|
2055
|
-
|
|
2056
|
-
|
|
2057
|
-
|
|
2147
|
+
.bcc-frame.bcc-frame--shadow {
|
|
2148
|
+
@apply shadow-ctx shadow;
|
|
2149
|
+
}
|
|
2058
2150
|
|
|
2059
|
-
|
|
2060
|
-
|
|
2061
|
-
|
|
2062
|
-
|
|
2063
|
-
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
|
|
2067
|
-
|
|
2151
|
+
.bcc-frame--raised {
|
|
2152
|
+
--ctx-background: var(--color-elevation-surface-raised-default);
|
|
2153
|
+
}
|
|
2154
|
+
.bcc-frame--rounded {
|
|
2155
|
+
@apply rounded-md;
|
|
2156
|
+
}
|
|
2157
|
+
.bcc-frame--raised.bcc-frame--shadow {
|
|
2158
|
+
@apply shadow-raised dark:border-default;
|
|
2159
|
+
}
|
|
2068
2160
|
|
|
2069
|
-
|
|
2070
|
-
|
|
2071
|
-
|
|
2072
|
-
|
|
2073
|
-
|
|
2074
|
-
|
|
2161
|
+
.bcc-frame--overlay {
|
|
2162
|
+
--ctx-background: var(--color-elevation-surface-overlay-default);
|
|
2163
|
+
@apply border;
|
|
2164
|
+
}
|
|
2165
|
+
.bcc-frame--overlay.bcc-frame--shadow {
|
|
2166
|
+
@apply shadow-overlay dark:border-default;
|
|
2167
|
+
}
|
|
2075
2168
|
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
|
|
2081
|
-
|
|
2169
|
+
.bcc-frame--sunken {
|
|
2170
|
+
--ctx-background: var(--color-elevation-surface-sunken-default);
|
|
2171
|
+
@apply border;
|
|
2172
|
+
}
|
|
2173
|
+
.bcc-frame--sunken.bcc-frame--shadow {
|
|
2174
|
+
@apply dark:border-default shadow-inner;
|
|
2175
|
+
}
|
|
2082
2176
|
}
|
|
2083
2177
|
|
|
2084
2178
|
|
|
2179
|
+
|
|
2085
2180
|
/* from ./BccGraphic/BccGraphic.css */
|
|
2086
2181
|
@layer components {
|
|
2087
2182
|
.bcc-graphic .corner,
|
|
@@ -2245,193 +2340,192 @@
|
|
|
2245
2340
|
|
|
2246
2341
|
/* from ./BccReact/BccReact.css */
|
|
2247
2342
|
@layer components {
|
|
2248
|
-
|
|
2249
|
-
|
|
2250
|
-
|
|
2251
|
-
|
|
2252
|
-
|
|
2253
|
-
|
|
2254
|
-
|
|
2255
|
-
|
|
2256
|
-
|
|
2257
|
-
|
|
2258
|
-
|
|
2259
|
-
|
|
2343
|
+
.bcc-react {
|
|
2344
|
+
@apply relative flex w-full items-center overflow-visible;
|
|
2345
|
+
}
|
|
2346
|
+
.bcc-react-toggle {
|
|
2347
|
+
@apply mr-1 flex shrink-0 cursor-pointer items-center justify-center rounded-full p-1 transition;
|
|
2348
|
+
}
|
|
2349
|
+
.bcc-react-list {
|
|
2350
|
+
@apply hide-scrollbar flex flex-1 items-center gap-1 overflow-x-auto overflow-y-hidden rounded-full p-1;
|
|
2351
|
+
}
|
|
2352
|
+
.bcc-react-empty {
|
|
2353
|
+
@apply heading-xs flex items-center;
|
|
2354
|
+
}
|
|
2260
2355
|
|
|
2261
|
-
|
|
2262
|
-
|
|
2263
|
-
|
|
2264
|
-
|
|
2356
|
+
.bcc-react-selector-container {
|
|
2357
|
+
@apply absolute z-50 h-9;
|
|
2358
|
+
@apply top-11 origin-top-left;
|
|
2359
|
+
}
|
|
2265
2360
|
|
|
2266
|
-
|
|
2267
|
-
|
|
2268
|
-
|
|
2361
|
+
.bcc-react-selector-container--top {
|
|
2362
|
+
@apply -top-10 origin-bottom-left;
|
|
2363
|
+
}
|
|
2269
2364
|
|
|
2270
|
-
|
|
2271
|
-
|
|
2272
|
-
|
|
2273
|
-
|
|
2365
|
+
.bcc-react-selector {
|
|
2366
|
+
@apply flex h-9 flex-col overflow-hidden bg-neutral-100 px-0 shadow-md;
|
|
2367
|
+
border-radius: 18px;
|
|
2368
|
+
}
|
|
2274
2369
|
|
|
2275
|
-
|
|
2276
|
-
|
|
2277
|
-
|
|
2370
|
+
.bcc-react-selector-emojis-container {
|
|
2371
|
+
@apply flex items-center bg-neutral-100 px-1;
|
|
2372
|
+
}
|
|
2278
2373
|
|
|
2279
|
-
|
|
2280
|
-
|
|
2281
|
-
|
|
2282
|
-
|
|
2283
|
-
|
|
2284
|
-
|
|
2374
|
+
.bcc-react-selector-more {
|
|
2375
|
+
@apply flex w-9 items-center justify-center;
|
|
2376
|
+
}
|
|
2377
|
+
.bcc-react-selector-more-btn {
|
|
2378
|
+
@apply flex h-7 w-7 items-center justify-center rounded-full bg-slate-200;
|
|
2379
|
+
}
|
|
2285
2380
|
|
|
2286
|
-
|
|
2287
|
-
|
|
2288
|
-
|
|
2289
|
-
|
|
2290
|
-
|
|
2291
|
-
|
|
2292
|
-
|
|
2381
|
+
.bcc-react-dropdown-container {
|
|
2382
|
+
@apply top-0 left-0 -z-10 w-full max-w-full;
|
|
2383
|
+
width: 296px;
|
|
2384
|
+
}
|
|
2385
|
+
.bcc-react-dropdown-container--top {
|
|
2386
|
+
@apply top-auto bottom-0 pb-0;
|
|
2387
|
+
}
|
|
2293
2388
|
|
|
2294
|
-
|
|
2295
|
-
|
|
2296
|
-
|
|
2389
|
+
.bcc-react-dropdown {
|
|
2390
|
+
@apply -z-10 flex w-full flex-wrap overflow-hidden px-1;
|
|
2391
|
+
}
|
|
2297
2392
|
|
|
2298
|
-
|
|
2299
|
-
|
|
2300
|
-
|
|
2301
|
-
|
|
2302
|
-
|
|
2303
|
-
|
|
2304
|
-
|
|
2393
|
+
.bcc-react-arrow-down-icon {
|
|
2394
|
+
@apply h-6 w-6 text-slate-600;
|
|
2395
|
+
transition: transform 0.3s ease;
|
|
2396
|
+
}
|
|
2397
|
+
.bcc-react-arrow-down-icon.open {
|
|
2398
|
+
transform: rotate(-180deg);
|
|
2399
|
+
}
|
|
2305
2400
|
|
|
2306
|
-
|
|
2307
|
-
|
|
2308
|
-
|
|
2401
|
+
.bcc-react-selector-item {
|
|
2402
|
+
@apply relative h-9 w-9 p-2 text-xl leading-none transition-transform duration-200 ease-out;
|
|
2403
|
+
}
|
|
2309
2404
|
|
|
2310
|
-
|
|
2311
|
-
|
|
2312
|
-
|
|
2405
|
+
.bcc-react-selector-item--clicked {
|
|
2406
|
+
animation: scaleFadeOut 300ms forwards;
|
|
2407
|
+
}
|
|
2313
2408
|
|
|
2314
|
-
|
|
2315
|
-
|
|
2316
|
-
|
|
2317
|
-
|
|
2318
|
-
|
|
2319
|
-
|
|
2320
|
-
|
|
2321
|
-
|
|
2322
|
-
|
|
2323
|
-
|
|
2409
|
+
@keyframes scaleFadeOut {
|
|
2410
|
+
0% {
|
|
2411
|
+
transform: scale(1);
|
|
2412
|
+
opacity: 1;
|
|
2413
|
+
}
|
|
2414
|
+
100% {
|
|
2415
|
+
transform: scale(1.4);
|
|
2416
|
+
opacity: 0;
|
|
2417
|
+
}
|
|
2418
|
+
}
|
|
2324
2419
|
|
|
2325
|
-
|
|
2326
|
-
|
|
2327
|
-
|
|
2328
|
-
|
|
2329
|
-
|
|
2330
|
-
|
|
2331
|
-
|
|
2332
|
-
|
|
2420
|
+
.bcc-react-emoji-list-item {
|
|
2421
|
+
@apply ctx clickable center h-7 min-w-7 shrink-0 rounded-full p-1 text-lg leading-none drop-shadow transition-all hover:scale-105;
|
|
2422
|
+
/* Default --not-selected */
|
|
2423
|
+
@apply ctx-neutral-subtlest;
|
|
2424
|
+
}
|
|
2425
|
+
.bcc-react-emoji-list-item span {
|
|
2426
|
+
@apply leading-none;
|
|
2427
|
+
}
|
|
2428
|
+
.bcc-react-emoji-list-item.selected {
|
|
2429
|
+
@apply ctx-neutral-subtle;
|
|
2430
|
+
}
|
|
2333
2431
|
}
|
|
2334
2432
|
|
|
2335
2433
|
|
|
2336
2434
|
|
|
2337
2435
|
/* from ./BccTag/BccTag.css */
|
|
2338
|
-
|
|
2339
2436
|
@layer components {
|
|
2340
2437
|
.bcc-tag.bcc-badge {
|
|
2341
2438
|
@apply w-auto;
|
|
2342
2439
|
}
|
|
2343
2440
|
.bcc-tag.bcc-badge.md {
|
|
2344
|
-
@apply
|
|
2441
|
+
@apply text-body-md h-6;
|
|
2345
2442
|
}
|
|
2346
2443
|
.bcc-tag.bcc-badge.sm {
|
|
2347
|
-
@apply
|
|
2444
|
+
@apply text-body-sm h-5;
|
|
2348
2445
|
}
|
|
2349
2446
|
.bcc-tag.bcc-badge.lg {
|
|
2350
|
-
@apply
|
|
2447
|
+
@apply text-body-md h-8;
|
|
2351
2448
|
}
|
|
2352
2449
|
.bcc-tag.bcc-badge.xl {
|
|
2353
|
-
@apply
|
|
2450
|
+
@apply text-body-lg h-10;
|
|
2354
2451
|
}
|
|
2355
2452
|
}
|
|
2356
2453
|
|
|
2357
2454
|
|
|
2358
2455
|
|
|
2456
|
+
|
|
2359
2457
|
/* === ./components/wrapped/styles.css === */
|
|
2360
2458
|
|
|
2361
2459
|
/* from ./BccAvatar/BccAvatar.css */
|
|
2362
2460
|
@layer components {
|
|
2363
|
-
|
|
2364
|
-
|
|
2365
|
-
|
|
2366
|
-
|
|
2367
|
-
|
|
2368
|
-
|
|
2369
|
-
|
|
2370
|
-
.bcc-avatar.M {
|
|
2371
|
-
@apply ctx-blue-subtler;
|
|
2372
|
-
}
|
|
2373
|
-
.bcc-avatar.female,
|
|
2374
|
-
.bcc-avatar.F {
|
|
2375
|
-
@apply ctx-purple-subtler;
|
|
2376
|
-
}
|
|
2377
|
-
.bcc-avatar.male.child,
|
|
2378
|
-
.bcc-avatar.M.child {
|
|
2379
|
-
@apply ctx-teal-subtler;
|
|
2380
|
-
}
|
|
2381
|
-
.bcc-avatar.female.child,
|
|
2382
|
-
.bcc-avatar.F.child {
|
|
2383
|
-
@apply ctx-magenta-subtler;
|
|
2384
|
-
}
|
|
2385
|
-
.bcc-avatar.bordered {
|
|
2386
|
-
@apply border-2 border-ctx;
|
|
2387
|
-
}
|
|
2388
|
-
.bcc-avatar.xs {
|
|
2389
|
-
@apply size-5 text-xs;
|
|
2390
|
-
}
|
|
2391
|
-
.bcc-avatar.sm {
|
|
2392
|
-
@apply size-6 text-sm;
|
|
2393
|
-
}
|
|
2394
|
-
.bcc-avatar.md {
|
|
2395
|
-
@apply size-8 text-base;
|
|
2396
|
-
}
|
|
2397
|
-
.bcc-avatar.lg {
|
|
2398
|
-
@apply size-10 text-lg;
|
|
2399
|
-
}
|
|
2400
|
-
.bcc-avatar.xl {
|
|
2401
|
-
@apply size-12 text-xl;
|
|
2402
|
-
}
|
|
2403
|
-
.bcc-avatar.xxl {
|
|
2404
|
-
@apply size-20 text-3xl;
|
|
2405
|
-
}
|
|
2406
|
-
.bcc-avatar.xxxl {
|
|
2407
|
-
@apply size-24 text-4xl;
|
|
2408
|
-
}
|
|
2461
|
+
.bcc-avatar {
|
|
2462
|
+
--p-avatar-background: var(--ctx-background);
|
|
2463
|
+
--p-avatar-color: var(--ctx-text);
|
|
2464
|
+
--bcc-avatar-border: var(--ctx-border);
|
|
2465
|
+
--p-icon-size: var(--icon-size-sm);
|
|
2466
|
+
@apply ctx-gray-subtler shrink-0 overflow-hidden text-sm;
|
|
2467
|
+
}
|
|
2409
2468
|
|
|
2410
|
-
|
|
2411
|
-
|
|
2412
|
-
|
|
2413
|
-
|
|
2414
|
-
|
|
2415
|
-
|
|
2416
|
-
|
|
2417
|
-
|
|
2418
|
-
|
|
2419
|
-
|
|
2420
|
-
|
|
2421
|
-
|
|
2469
|
+
.bcc-avatar.male,
|
|
2470
|
+
.bcc-avatar.M {
|
|
2471
|
+
@apply ctx-blue-subtler;
|
|
2472
|
+
}
|
|
2473
|
+
.bcc-avatar.female,
|
|
2474
|
+
.bcc-avatar.F {
|
|
2475
|
+
@apply ctx-purple-subtler;
|
|
2476
|
+
}
|
|
2477
|
+
.bcc-avatar.male.child,
|
|
2478
|
+
.bcc-avatar.M.child {
|
|
2479
|
+
@apply ctx-teal-subtler;
|
|
2480
|
+
}
|
|
2481
|
+
.bcc-avatar.female.child,
|
|
2482
|
+
.bcc-avatar.F.child {
|
|
2483
|
+
@apply ctx-magenta-subtler;
|
|
2484
|
+
}
|
|
2485
|
+
.bcc-avatar.bordered {
|
|
2486
|
+
@apply border-ctx border-2;
|
|
2487
|
+
}
|
|
2488
|
+
.bcc-avatar.xs {
|
|
2489
|
+
@apply size-5 text-xs;
|
|
2490
|
+
--p-icon-size: var(--icon-size-xs);
|
|
2491
|
+
}
|
|
2492
|
+
.bcc-avatar.sm {
|
|
2493
|
+
@apply size-6 text-xs;
|
|
2494
|
+
--p-icon-size: var(--icon-size-xs);
|
|
2495
|
+
}
|
|
2496
|
+
/* .bcc-avatar.md {
|
|
2497
|
+
same as default
|
|
2498
|
+
}*/
|
|
2499
|
+
.bcc-avatar.lg {
|
|
2500
|
+
@apply text-md size-10;
|
|
2501
|
+
--p-icon-size: var(--icon-size-md);
|
|
2502
|
+
}
|
|
2503
|
+
.bcc-avatar.xl {
|
|
2504
|
+
@apply size-12 text-xl;
|
|
2505
|
+
--p-icon-size: var(--icon-size-lg);
|
|
2506
|
+
}
|
|
2507
|
+
.bcc-avatar.xxl {
|
|
2508
|
+
@apply size-20 text-3xl;
|
|
2509
|
+
--p-icon-size: var(--icon-size-xl);
|
|
2510
|
+
}
|
|
2511
|
+
.bcc-avatar.xxxl {
|
|
2512
|
+
@apply size-24 text-4xl;
|
|
2513
|
+
--p-icon-size: var(--icon-size-xl);
|
|
2514
|
+
}
|
|
2422
2515
|
|
|
2423
|
-
|
|
2424
|
-
|
|
2425
|
-
|
|
2426
|
-
|
|
2516
|
+
.p-overlaybadge .bcc-avatar.p-avatar-circle.lg ~ .p-badge,
|
|
2517
|
+
.p-overlaybadge .bcc-avatar.p-avatar-circle.xl ~ .p-badge {
|
|
2518
|
+
transform: translate(40%, -40%);
|
|
2519
|
+
}
|
|
2427
2520
|
|
|
2428
|
-
|
|
2429
|
-
|
|
2430
|
-
|
|
2431
|
-
|
|
2521
|
+
.p-overlaybadge .bcc-avatar.p-avatar-circle.xxxl ~ .p-badge,
|
|
2522
|
+
.p-overlaybadge .bcc-avatar.p-avatar-circle.xxl ~ .p-badge {
|
|
2523
|
+
transform: translate(20%, -20%);
|
|
2524
|
+
}
|
|
2432
2525
|
}
|
|
2433
2526
|
|
|
2434
2527
|
|
|
2528
|
+
|
|
2435
2529
|
/* from ./BccTabs/BccTabs.css */
|
|
2436
2530
|
@layer components {
|
|
2437
2531
|
.bcc-tabs-fill.p-tabs {
|
|
@@ -2450,6 +2544,9 @@
|
|
|
2450
2544
|
height: 100%;
|
|
2451
2545
|
overflow: auto;
|
|
2452
2546
|
}
|
|
2547
|
+
.bcc-tabs-fluid.p-tabs {
|
|
2548
|
+
width: 100%;
|
|
2549
|
+
}
|
|
2453
2550
|
}
|
|
2454
2551
|
|
|
2455
2552
|
|
|
@@ -2472,24 +2569,30 @@
|
|
|
2472
2569
|
|
|
2473
2570
|
|
|
2474
2571
|
|
|
2475
|
-
:root,
|
|
2572
|
+
:root,
|
|
2573
|
+
:host {
|
|
2476
2574
|
--font-sans: 'Archivo', system-ui, sans-serif;
|
|
2477
|
-
|
|
2478
|
-
|
|
2479
|
-
|
|
2575
|
+
@apply m-0 p-0 font-sans antialiased;
|
|
2576
|
+
-webkit-font-smoothing: antialiased;
|
|
2577
|
+
-moz-osx-font-smoothing: grayscale;
|
|
2578
|
+
line-height: 1.2;
|
|
2579
|
+
font-kerning: normal;
|
|
2580
|
+
}
|
|
2480
2581
|
|
|
2582
|
+
hr {
|
|
2583
|
+
border-color: var(--color-border-default);
|
|
2481
2584
|
}
|
|
2482
2585
|
|
|
2483
2586
|
b,
|
|
2484
2587
|
strong,
|
|
2485
2588
|
.bold {
|
|
2486
|
-
|
|
2487
|
-
|
|
2589
|
+
font-weight: bold;
|
|
2590
|
+
--ctx-text: var(--ctx-text-bold);
|
|
2488
2591
|
}
|
|
2489
2592
|
|
|
2490
2593
|
/* Disable state */
|
|
2491
2594
|
:disabled,
|
|
2492
2595
|
.disabled {
|
|
2493
|
-
|
|
2494
|
-
|
|
2596
|
+
cursor: not-allowed;
|
|
2597
|
+
pointer-events: none;
|
|
2495
2598
|
}
|