@bcc-code/component-library-vue 0.0.0-dev.edf8c5a → 0.0.0-dev.ee3285a

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.
Files changed (26) hide show
  1. package/dist/component-library.js +44851 -41925
  2. package/dist/component-library.umd.cjs +1671 -1475
  3. package/dist/index.css +1 -1
  4. package/dist/theme.css +416 -262
  5. package/dist-types/components/custom/BccAppNavigation/BccAppNavigation.vue.d.ts +32 -0
  6. package/dist-types/components/custom/BccBadge/BccBadge.vue.d.ts +2 -0
  7. package/dist-types/components/custom/BccCapacityIndicator/BccCapacityIndicator.vue.d.ts +3 -0
  8. package/dist-types/components/custom/BccCircleLoader/BccCircleLoader.vue.d.ts +9 -1
  9. package/dist-types/components/custom/BccDialKnob/BccDialKnob.vue.d.ts +1 -1
  10. package/dist-types/components/custom/BccNpsResult/BccNpsResult.vue.d.ts +2 -2
  11. package/dist-types/components/custom/BccReact/BccReact.vue.d.ts +1 -1
  12. package/dist-types/components/custom/BccStepIndicator/BccStepIndicator.vue.d.ts +5 -5
  13. package/dist-types/components/custom/BccTopNavigation/BccTopNavigation.vue.d.ts +47 -0
  14. package/dist-types/components/custom/index.d.ts +4 -0
  15. package/dist-types/components/wrapped/BccAvatar/BccAvatar.vue.d.ts +2 -2
  16. package/dist-types/components/wrapped/BccButton.vue.d.ts +1 -0
  17. package/dist-types/components/wrapped/BccImage.vue.d.ts +17 -0
  18. package/dist-types/components/wrapped/BccMenu/BccMenu.vue.d.ts +14 -0
  19. package/dist-types/components/wrapped/BccMessage.vue.d.ts +4 -2
  20. package/dist-types/components/wrapped/BccRadioButton.vue.d.ts +18 -0
  21. package/dist-types/components/wrapped/BccSelectButton.vue.d.ts +17 -0
  22. package/dist-types/components/wrapped/BccTabs/BccTabs.vue.d.ts +2 -0
  23. package/dist-types/components/wrapped/BccToggle/BccToggle.vue.d.ts +12 -1
  24. package/dist-types/components/wrapped/index.d.ts +11 -0
  25. package/dist-types/index.d.ts +14 -7
  26. package/package.json +103 -100
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 "@bcc-code/design-tokens/css";
3
+ @import '@bcc-code/design-tokens/css';
4
4
 
5
- @import "tailwindcss";
6
- @import "@bcc-code/design-tokens/tailwind";
7
- @import "@bcc-code/design-tokens/primevue/overrides";
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,77 +590,83 @@
590
590
 
591
591
  /* === ./styles/utilities.css === */
592
592
  @utility center {
593
- @apply flex items-center justify-center;
594
-
595
- &.top {
596
- @apply items-start;
597
- }
593
+ @apply flex items-center justify-center;
598
594
 
599
- &.bottom {
600
- @apply items-end;
601
- }
595
+ &.top {
596
+ @apply items-start;
597
+ }
602
598
 
603
- &.left {
604
- @apply justify-start;
605
- }
599
+ &.bottom {
600
+ @apply items-end;
601
+ }
606
602
 
607
- &.right {
608
- @apply justify-end;
609
- }
603
+ &.left {
604
+ @apply justify-start;
605
+ }
610
606
 
611
- &.stretch {
612
- @apply items-stretch;
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
- @apply flex flex-col items-center justify-center;
617
+ @apply flex flex-col items-center justify-center;
618
618
 
619
- &.left {
620
- @apply items-start;
621
- }
619
+ &.left {
620
+ @apply items-start;
621
+ }
622
622
 
623
- &.right {
624
- @apply items-end;
625
- }
623
+ &.right {
624
+ @apply items-end;
625
+ }
626
626
 
627
- &.top {
628
- @apply justify-start;
629
- }
627
+ &.top {
628
+ @apply justify-start;
629
+ }
630
630
 
631
- &.bottom {
632
- @apply justify-end;
633
- }
631
+ &.bottom {
632
+ @apply justify-end;
633
+ }
634
634
  }
635
635
 
636
636
  @utility between {
637
- @apply justify-between;
637
+ @apply justify-between;
638
638
  }
639
639
 
640
640
  @utility hide-scrollbar {
641
- -ms-overflow-style: none; /* for Internet Explorer, Edge */
642
- scrollbar-width: none; /* for Firefox */
643
- overflow-y: scroll;
641
+ -ms-overflow-style: none; /* for Internet Explorer, Edge */
642
+ scrollbar-width: none; /* for Firefox */
643
+ overflow-y: scroll;
644
644
 
645
- &::-webkit-scrollbar {
646
- display: none; /* for Chrome, Safari, and Opera */
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
- display: inline-block;
653
- &::first-letter {
654
- text-transform: uppercase;
655
- }
652
+ @apply inline-block;
653
+
654
+ &::first-letter {
655
+ text-transform: uppercase;
656
+ }
657
+
658
+ &.bcc-badge {
659
+ @apply inline-flex;
660
+ }
656
661
  }
657
662
 
658
663
  /* Inset 0 */
659
664
  @utility inset-0 {
660
- @apply left-0 right-0 top-0 bottom-0;
665
+ @apply top-0 right-0 bottom-0 left-0;
661
666
  }
662
667
 
663
668
 
669
+
664
670
  /* === ./styles/contexts.css === */
665
671
  /* Auto-generated from src/figma-modes. Do not edit by hand. */
666
672
  /* Run: pnpm run generate:context-css */
@@ -768,18 +774,18 @@
768
774
  }
769
775
 
770
776
  @utility ctx-brand-bolder {
771
- --ctx-text: var(--color-default-bcc-100);
777
+ --ctx-text: var(--color-default-neutral-0);
772
778
  --ctx-text-bold: var(--color-default-neutral-0);
773
- --ctx-background: var(--color-default-bcc-700);
774
- --ctx-gradient: var(--color-default-bcc-800);
779
+ --ctx-background: var(--color-default-bcc-800);
780
+ --ctx-gradient: var(--color-default-bcc-900);
775
781
  --ctx-border: var(--color-default-bcc-700);
776
782
  --ctx-shadow: var(--color-neutral-alpha-500A);
777
- --ctx-text-hover: var(--color-default-bcc-100);
778
- --ctx-text-pressed: var(--color-default-bcc-100);
779
- --ctx-background-hover: var(--color-default-bcc-800);
780
- --ctx-background-pressed: var(--color-default-bcc-900);
781
- --ctx-gradient-hover: var(--color-default-bcc-900);
782
- --ctx-gradient-pressed: var(--color-default-bcc-900);
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);
783
789
  --ctx-border-hover: var(--color-default-bcc-700);
784
790
  --ctx-border-pressed: var(--color-default-bcc-700);
785
791
  }
@@ -974,16 +980,16 @@
974
980
  @utility ctx-gray-bolder {
975
981
  --ctx-text: var(--color-default-neutral-200);
976
982
  --ctx-text-bold: var(--color-default-neutral-100);
977
- --ctx-background: var(--color-default-neutral-800);
978
- --ctx-gradient: var(--color-default-neutral-700);
983
+ --ctx-background: var(--color-default-neutral-700);
984
+ --ctx-gradient: var(--color-default-neutral-800);
979
985
  --ctx-border: var(--color-default-neutral-700);
980
986
  --ctx-shadow: var(--color-neutral-alpha-500A);
981
987
  --ctx-text-hover: var(--color-default-neutral-200);
982
988
  --ctx-text-pressed: var(--color-default-neutral-200);
983
- --ctx-background-hover: var(--color-default-neutral-700);
984
- --ctx-background-pressed: var(--color-default-neutral-600);
985
- --ctx-gradient-hover: var(--color-default-neutral-600);
986
- --ctx-gradient-pressed: var(--color-default-neutral-600);
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);
987
993
  --ctx-border-hover: var(--color-default-neutral-700);
988
994
  --ctx-border-pressed: var(--color-default-neutral-700);
989
995
  }
@@ -1722,88 +1728,104 @@
1722
1728
 
1723
1729
 
1724
1730
  /* === ./styles/context.css === */
1725
-
1726
1731
  @theme {
1727
- --color-brand-100: var(--color-bcc-100);
1728
- --color-brand-200: var(--color-bcc-200);
1729
- --color-brand-300: var(--color-bcc-300);
1730
- --color-brand-400: var(--color-bcc-400);
1731
- --color-brand-500: var(--color-bcc-500);
1732
- --color-brand-600: var(--color-bcc-600);
1733
- --color-brand-700: var(--color-bcc-700);
1734
- --color-brand-800: var(--color-bcc-800);
1735
- --color-brand-900: var(--color-bcc-900);
1736
- --color-brand-1000: var(--color-bcc-1000);
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);
1737
1742
  }
1738
1743
 
1739
1744
  /** DEFAULT CONTEXTS */
1740
1745
  @utility ctx-default {
1741
- @apply ctx-neutral-subtlest;
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;
1742
1759
  }
1743
- @utility ctx-success { @apply ctx-success-subtlest; }
1744
- @utility ctx-danger { @apply ctx-danger-subtlest; }
1745
- @utility ctx-warning { @apply ctx-warning-subtlest; }
1746
- @utility ctx-info { @apply ctx-info-subtlest; }
1747
1760
 
1748
1761
  @utility text-ctx {
1749
- color: var(--ctx-text);
1762
+ color: var(--ctx-text);
1750
1763
  }
1751
1764
 
1752
1765
  @utility text-ctx-bold {
1753
- color: var(--ctx-text-bold);
1766
+ color: var(--ctx-text-bold);
1754
1767
  }
1755
1768
 
1756
1769
  @utility bg-ctx {
1757
- background-color: var(--ctx-background);
1770
+ background-color: var(--ctx-background);
1758
1771
  }
1759
1772
 
1760
1773
  @utility border-ctx {
1761
- border-color: var(--ctx-border);
1774
+ border-color: var(--ctx-border);
1762
1775
  }
1763
1776
 
1764
1777
  @utility shadow-ctx {
1765
- --tw-shadow-color: var(--ctx-shadow);
1778
+ --tw-shadow-color: var(--ctx-shadow);
1766
1779
  }
1767
1780
 
1768
1781
  @utility ctx {
1769
- background-color: var(--ctx-background);
1770
- color: var(--ctx-text);
1771
- border-color: var(--ctx-border);
1782
+ background-color: var(--ctx-background);
1783
+ color: var(--ctx-text);
1784
+ border-color: var(--ctx-border);
1772
1785
  }
1773
1786
 
1774
1787
  @utility ctx-gradient {
1775
- background: linear-gradient(225deg, var(--ctx-background) 0%, var(--ctx-gradient) 100%);
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
+ }
1776
1793
  }
1777
1794
 
1778
1795
  @utility ctx-raised {
1779
- box-shadow: 0 1px 1px 0 var(--ctx-shadow), 0 0 1px 0 var(--ctx-shadow);
1796
+ box-shadow:
1797
+ 0 1px 1px 0 var(--ctx-shadow),
1798
+ 0 0 1px 0 var(--ctx-shadow);
1780
1799
  }
1781
1800
 
1782
1801
  @utility ctx-flat {
1783
- --ctx-background: transparent;
1802
+ --ctx-background: transparent;
1784
1803
 
1785
- @variant hover {
1786
- --ctx-background: var(--ctx-background-hover);
1787
- }
1804
+ @variant hover {
1805
+ --ctx-background: var(--ctx-background-hover);
1806
+ }
1788
1807
  }
1789
1808
 
1790
1809
  @utility clickable {
1791
- cursor: pointer;
1810
+ cursor: pointer;
1792
1811
  }
1793
1812
 
1794
- .clickable:hover {
1795
- --ctx-background: var(--ctx-background-hover);
1796
- --ctx-text: var(--ctx-text-hover);
1797
- --ctx-border: var(--ctx-border-hover);
1798
- }
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
+ }
1799
1819
 
1800
- .clickable:active {
1801
- --ctx-background: var(--ctx-background-pressed);
1802
- --ctx-text: var(--ctx-text-pressed);
1803
- --ctx-border: var(--ctx-border-pressed);
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
+ }
1804
1825
  }
1805
1826
 
1806
1827
 
1828
+
1807
1829
  /* === ./styles/fonts.css === */
1808
1830
  @utility heading-xs { font: var(--heading-xs); }
1809
1831
  @utility heading-sm { font: var(--heading-sm); }
@@ -1823,100 +1845,213 @@
1823
1845
  /* === ./styles/component-overrides.css === */
1824
1846
  /** Custom styles to fix primevue components that are not custom or wrapped. */
1825
1847
 
1848
+ :root {
1849
+ --p-toast-width: min(85vw, 400px);
1850
+ }
1851
+
1852
+ /**
1853
+ * GUTTER FIX
1854
+ * Primevue's dropwdown components are all missing the gap between input and dropdown
1855
+ **/
1856
+ .p-autocomplete-overlay,
1857
+ .p-menu-overlay,
1858
+ .p-multiselect-overlay,
1859
+ .p-select-overlay,
1860
+ .p-datepicker-panel,
1861
+ .p-treeselect-overlay {
1862
+ margin: var(--p-anchor-gutter) 0;
1863
+ }
1864
+
1865
+ /* This fix is to ensure overlay badge is contained within the size of the component it wraps */
1866
+ .p-overlaybadge {
1867
+ display: inline-block;
1868
+ }
1869
+
1826
1870
  /**
1827
- .BccAutocomplete
1871
+ * BccAutocomplete
1828
1872
  **/
1829
1873
 
1830
1874
  /** Our icons are a bit smaller that Primevue's default */
1831
1875
  .p-autocomplete .p-icon {
1832
- --p-icon-size: var(--icon-size-sm);
1833
- --p-form-field-sm-font-size: var(--icon-size-sm);
1834
- --p-form-field-lg-font-size: var(--icon-size-md);
1876
+ --p-icon-size: var(--icon-size-sm);
1877
+ --p-form-field-sm-font-size: var(--icon-size-sm);
1878
+ --p-form-field-lg-font-size: var(--icon-size-md);
1879
+ }
1880
+
1881
+ .p-autocomplete .p-autocomplete-clear-icon {
1882
+ /** middle-align the icon */
1883
+ top: calc(50% - var(--icon-size-sm) / 2);
1884
+ margin-top: 0;
1835
1885
  }
1836
1886
 
1837
1887
  .p-autocomplete-clearable .p-inputtext {
1838
- flex-grow: 1;
1888
+ flex-grow: 1;
1839
1889
  }
1840
1890
 
1841
1891
  .p-autocomplete-chip.p-chip {
1842
- padding-block-start: calc(var(--p-autocomplete-padding-y) / 2);
1843
- padding-block-end: calc(var(--p-autocomplete-padding-y) / 2);
1844
- border-radius: var(--p-autocomplete-chip-border-radius);
1892
+ padding-block-start: calc(var(--p-autocomplete-padding-y) / 2);
1893
+ padding-block-end: calc(var(--p-autocomplete-padding-y) / 2);
1894
+ border-radius: var(--p-autocomplete-chip-border-radius);
1845
1895
  }
1846
1896
 
1847
-
1848
1897
  /**
1849
- GUTTER FIX
1850
- * Primevue's dropwdown components are all missing the gap between input and dropdown
1851
- **/
1852
- .p-autocomplete-overlay,
1853
- .p-menu-overlay,
1854
- .p-multiselect-overlay,
1855
- .p-select-overlay,
1856
- .p-treeselect-overlay {
1857
- margin: var(--p-anchor-gutter) 0;
1898
+ * BccSelect
1899
+ **/
1900
+ .p-select {
1901
+ --p-icon-size: var(--icon-size-sm);
1902
+ }
1903
+
1904
+ .p-select.inline-select {
1905
+ @apply mx-auto inline-flex w-auto items-center border-0 bg-transparent shadow-none;
1906
+ --p-icon-size: 1.25em;
1907
+ --p-select-dropdown-width: 1.5em;
1908
+ --p-select-min-height: auto;
1909
+ }
1910
+
1911
+ .p-select.inline-select .p-select-label {
1912
+ @apply inline-block font-semibold;
1913
+ font-size: inherit;
1914
+ padding: 0 0 0 0.25em;
1915
+ }
1916
+
1917
+ .p-select.inline-select.inverse {
1918
+ --p-select-color: var(--color-neutral-0);
1919
+ --p-select-dropdown-color: var(--color-neutral-0);
1920
+ --p-select-placeholder-color: var(--color-dark-neutral-1000);
1921
+ }
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);
1858
1944
  }
1859
1945
 
1946
+ .p-togglebutton-lg {
1947
+ font-size: var(--text-md);
1948
+ }
1949
+
1950
+
1860
1951
 
1861
1952
 
1862
1953
  /* === ./components/custom/styles.css === */
1863
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 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;
1982
+ }
1983
+
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;
1988
+ }
1989
+ }
1990
+
1991
+
1992
+
1864
1993
  /* from ./BccBadge/BccBadge.css */
1865
1994
  @layer components {
1866
- .bcc-badge {
1867
- @apply inline-flex shrink-0 gap-1 items-center justify-center rounded-full leading-none whitespace-nowrap;
1868
-
1869
- @apply bg-ctx text-ctx;
1870
- }
1871
- .bcc-badge.sm {
1872
- @apply w-4 h-4 text-heading-xs;
1873
- }
1874
- .bcc-badge.md {
1875
- @apply h-5 w-5 text-heading-sm;
1876
- }
1877
- .bcc-badge.lg {
1878
- @apply w-6 h-6 text-heading-md;
1879
- }
1880
- .bcc-badge.xl {
1881
- @apply w-8 h-8 text-heading-lg;
1882
- }
1995
+ .bcc-badge {
1996
+ @apply inline-flex shrink-0 items-center justify-center gap-1 rounded-full leading-none whitespace-nowrap;
1883
1997
 
1884
- .bcc-badge .bcc-badge-icon {
1885
- @apply size-4;
1886
- }
1887
- .bcc-badge.lg .bcc-badge-icon {
1888
- @apply size-5;
1889
- }
1890
- .bcc-badge.xl .bcc-badge-icon {
1891
- @apply size-6;
1892
- }
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
+ }
1893
2015
 
1894
- .bcc-badge.bcc-badge-text {
1895
- @apply w-auto px-2;
1896
- }
1897
- .bcc-badge-text.lg, .bcc-badge-text.xl {
1898
- @apply px-3;
1899
- }
1900
- .bcc-badge-text.border.lg, .bcc-badge-text.border.xl {
1901
- @apply px-2;
1902
- }
1903
- .bcc-badge-text.bordered.lg, .bcc-badge-text.bordered.xl {
1904
- @apply px-1;
1905
- }
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
+ }
1906
2025
 
1907
- .bcc-badge.border {
1908
- @apply border-1;
1909
- border-color: var(--ctx-background-pressed);
1910
- }
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
+ }
1911
2041
 
1912
- .bcc-badge.bordered {
1913
- @apply border-2;
1914
- border-color: var(--ctx-background-pressed);
1915
- }
2042
+ .bcc-badge.border {
2043
+ @apply border-1;
2044
+ border-color: var(--ctx-background-pressed);
2045
+ }
1916
2046
 
1917
- .bcc-badge.squared {
1918
- @apply rounded-sm;
1919
- }
2047
+ .bcc-badge.bordered {
2048
+ @apply border-2;
2049
+ border-color: var(--ctx-background-pressed);
2050
+ }
2051
+
2052
+ .bcc-badge.squared {
2053
+ @apply rounded-sm;
2054
+ }
1920
2055
  }
1921
2056
 
1922
2057
 
@@ -1965,6 +2100,7 @@ GUTTER FIX
1965
2100
 
1966
2101
  .bcc-capacity-indicator.is-warning {
1967
2102
  @apply ctx-yellow-subtlest;
2103
+ --bcc-capacity-indicator-circle: var(--ctx-background);
1968
2104
  }
1969
2105
 
1970
2106
  .bcc-capacity-indicator.is-full {
@@ -2017,8 +2153,8 @@ GUTTER FIX
2017
2153
  .bcc-frame--raised {
2018
2154
  --ctx-background: var(--color-elevation-surface-raised-default);
2019
2155
  }
2020
- .bcc-frame--raised.rounded {
2021
- @apply rounded;
2156
+ .bcc-frame--rounded {
2157
+ @apply rounded-md;
2022
2158
  }
2023
2159
  .bcc-frame--raised.bcc-frame--shadow {
2024
2160
  @apply shadow-raised;
@@ -2089,43 +2225,53 @@ GUTTER FIX
2089
2225
  @apply relative w-full;
2090
2226
  }
2091
2227
 
2092
- .bcc-nps-result .result-gauge-dial {
2228
+ .bcc-nps-result.xs {
2229
+ @apply w-24;
2230
+ }
2231
+ .bcc-nps-result.sm {
2232
+ @apply w-36;
2233
+ }
2234
+ .bcc-nps-result.md {
2235
+ @apply w-48;
2236
+ }
2237
+ .bcc-nps-result.lg {
2238
+ @apply w-60;
2239
+ }
2240
+ .bcc-nps-result.xl {
2241
+ @apply w-72;
2242
+ }
2243
+
2244
+ .bcc-nps-result .bcc-nps-result-gauge-dial {
2093
2245
  transform-origin: center;
2094
2246
  }
2095
2247
 
2096
- .bcc-nps-result.animated .result-gauge-dial {
2248
+ .bcc-nps-result.animated .bcc-nps-result-gauge-dial {
2097
2249
  transition-delay: 0.3s;
2098
2250
  transition: all .7s cubic-bezier(0, 0, 0.3, 1.5);
2099
2251
  }
2100
2252
 
2101
- .bcc-nps-result-labels.lg {
2102
- @apply bottom-[2em];
2103
- }
2104
2253
  .bcc-nps-result-labels {
2105
- @apply absolute bottom-[1em] flex w-full flex-col items-center justify-center;
2106
- }
2107
- .bcc-nps-result-labels.sm {
2108
- @apply bottom-0;
2254
+ @apply absolute text-base bottom-1/4 translate-y-1/2 flex w-full flex-col items-center justify-center;
2109
2255
  }
2110
2256
 
2111
- .bcc-nps-result-labels.lg .bcc-nps-result-labels--heading {
2112
- @apply text-heading-xl leading-tight;
2113
- }
2114
2257
  .bcc-nps-result-labels--heading {
2115
- @apply text-heading-lg leading-none;
2258
+ @apply text-[1.25em] font-semibold leading-none;
2116
2259
  }
2117
- .bcc-nps-result-labels.sm .bcc-nps-result-labels--heading {
2118
- @apply text-heading-md leading-none;
2260
+ .bcc-nps-result-labels--label {
2261
+ @apply text-[0.75em] text-subtlest;
2119
2262
  }
2120
2263
 
2121
- .bcc-nps-result-labels.lg .bcc-nps-result-labels--label {
2122
- @apply text-body-lg opacity-60;
2264
+ .bcc-nps-result.md .bcc-nps-result-labels {
2265
+ @apply text-lg;
2123
2266
  }
2124
- .bcc-nps-result-labels--label {
2125
- @apply text-body-md opacity-60;
2267
+ .bcc-nps-result.lg .bcc-nps-result-labels {
2268
+ @apply text-xl;
2269
+ }
2270
+ .bcc-nps-result.xl .bcc-nps-result-labels {
2271
+ @apply text-2xl;
2126
2272
  }
2127
- .bcc-nps-result-labels.sm .bcc-nps-result-labels--label {
2128
- @apply text-body-sm;
2273
+ .bcc-nps-result.full .bcc-nps-result-labels {
2274
+ @apply text-lg;
2129
2275
  }
2130
2276
  }
2131
2277
 
@@ -2308,75 +2454,74 @@ GUTTER FIX
2308
2454
 
2309
2455
  /* from ./BccAvatar/BccAvatar.css */
2310
2456
  @layer components {
2311
- .bcc-avatar {
2312
- --p-avatar-background: var(--ctx-background);
2313
- --p-avatar-color: var(--ctx-text);
2314
- --bcc-avatar-border: var(--ctx-border);
2315
- @apply overflow-hidden shrink-0 ctx-gray-subtler;
2316
- }
2317
- .bcc-avatar.male,
2318
- .bcc-avatar.M {
2319
- @apply ctx-blue-subtler;
2320
- }
2321
- .bcc-avatar.female,
2322
- .bcc-avatar.F {
2323
- @apply ctx-purple-subtler;
2324
- }
2325
- .bcc-avatar.male.child,
2326
- .bcc-avatar.M.child {
2327
- @apply ctx-teal-subtler;
2328
- }
2329
- .bcc-avatar.female.child,
2330
- .bcc-avatar.F.child {
2331
- @apply ctx-magenta-subtler;
2332
- }
2333
- .bcc-avatar.bordered {
2334
- @apply border-2 border-ctx;
2335
- }
2336
- .bcc-avatar.xs {
2337
- @apply size-5 text-xs;
2338
- }
2339
- .bcc-avatar.sm {
2340
- @apply size-6 text-sm;
2341
- }
2342
- .bcc-avatar.md {
2343
- @apply size-8 text-base;
2344
- }
2345
- .bcc-avatar.lg {
2346
- @apply size-10 text-lg;
2347
- }
2348
- .bcc-avatar.xl {
2349
- @apply size-12 text-xl;
2350
- }
2351
- .bcc-avatar.xxl {
2352
- @apply size-20 text-3xl;
2353
- }
2354
- .bcc-avatar.xxxl {
2355
- @apply size-24 text-4xl;
2356
- }
2457
+ .bcc-avatar {
2458
+ --p-avatar-background: var(--ctx-background);
2459
+ --p-avatar-color: var(--ctx-text);
2460
+ --bcc-avatar-border: var(--ctx-border);
2461
+ --p-icon-size: var(--icon-size-sm);
2462
+ @apply ctx-gray-subtler shrink-0 overflow-hidden text-sm;
2463
+ }
2357
2464
 
2358
- .bcc-avatar.squared.lg {
2359
- @apply text-xl;
2360
- }
2361
- .bcc-avatar.squared.xl {
2362
- @apply text-2xl;
2363
- }
2364
- .bcc-avatar.squared.xxl {
2365
- @apply text-4xl;
2366
- }
2367
- .bcc-avatar.squared.xxxl {
2368
- @apply text-5xl;
2369
- }
2465
+ .bcc-avatar.male,
2466
+ .bcc-avatar.M {
2467
+ @apply ctx-blue-subtler;
2468
+ }
2469
+ .bcc-avatar.female,
2470
+ .bcc-avatar.F {
2471
+ @apply ctx-purple-subtler;
2472
+ }
2473
+ .bcc-avatar.male.child,
2474
+ .bcc-avatar.M.child {
2475
+ @apply ctx-teal-subtler;
2476
+ }
2477
+ .bcc-avatar.female.child,
2478
+ .bcc-avatar.F.child {
2479
+ @apply ctx-magenta-subtler;
2480
+ }
2481
+ .bcc-avatar.bordered {
2482
+ @apply border-ctx border-2;
2483
+ }
2484
+ .bcc-avatar.xs {
2485
+ @apply size-5 text-xs;
2486
+ --p-icon-size: var(--icon-size-xs);
2487
+ }
2488
+ .bcc-avatar.sm {
2489
+ @apply size-6 text-xs;
2490
+ --p-icon-size: var(--icon-size-xs);
2491
+ }
2492
+ /* .bcc-avatar.md {
2493
+ same as default
2494
+ }*/
2495
+ .bcc-avatar.lg {
2496
+ @apply text-md size-10;
2497
+ --p-icon-size: var(--icon-size-md);
2498
+ }
2499
+ .bcc-avatar.xl {
2500
+ @apply size-12 text-xl;
2501
+ --p-icon-size: var(--icon-size-lg);
2502
+ }
2503
+ .bcc-avatar.xxl {
2504
+ @apply size-20 text-3xl;
2505
+ --p-icon-size: var(--icon-size-xl);
2506
+ }
2507
+ .bcc-avatar.xxxl {
2508
+ @apply size-24 text-4xl;
2509
+ --p-icon-size: var(--icon-size-xl);
2510
+ }
2370
2511
 
2512
+ .p-overlaybadge .bcc-avatar.p-avatar-circle.lg ~ .p-badge,
2513
+ .p-overlaybadge .bcc-avatar.p-avatar-circle.xl ~ .p-badge {
2514
+ transform: translate(40%, -40%);
2515
+ }
2371
2516
 
2372
- .p-overlaybadge .bcc-avatar.p-avatar-circle.xxxl~.p-badge,
2373
- .p-overlaybadge .bcc-avatar.p-avatar-circle.xxl~.p-badge,
2374
- .p-overlaybadge .bcc-avatar.p-avatar-circle.xl~.p-badge {
2375
- transform: translate(25%, -25%);
2376
- }
2517
+ .p-overlaybadge .bcc-avatar.p-avatar-circle.xxxl ~ .p-badge,
2518
+ .p-overlaybadge .bcc-avatar.p-avatar-circle.xxl ~ .p-badge {
2519
+ transform: translate(20%, -20%);
2520
+ }
2377
2521
  }
2378
2522
 
2379
2523
 
2524
+
2380
2525
  /* from ./BccTabs/BccTabs.css */
2381
2526
  @layer components {
2382
2527
  .bcc-tabs-fill.p-tabs {
@@ -2395,6 +2540,9 @@ GUTTER FIX
2395
2540
  height: 100%;
2396
2541
  overflow: auto;
2397
2542
  }
2543
+ .bcc-tabs-fluid.p-tabs {
2544
+ width: 100%;
2545
+ }
2398
2546
  }
2399
2547
 
2400
2548
 
@@ -2417,24 +2565,30 @@ GUTTER FIX
2417
2565
 
2418
2566
 
2419
2567
 
2420
- :root, :host {
2568
+ :root,
2569
+ :host {
2421
2570
  --font-sans: 'Archivo', system-ui, sans-serif;
2422
- @apply font-sans antialiased p-0 m-0;
2423
- -webkit-font-smoothing: antialiased;
2424
- -moz-osx-font-smoothing: grayscale;
2571
+ @apply m-0 p-0 font-sans antialiased;
2572
+ -webkit-font-smoothing: antialiased;
2573
+ -moz-osx-font-smoothing: grayscale;
2574
+ line-height: 1.2;
2575
+ font-kerning: normal;
2576
+ }
2425
2577
 
2578
+ hr {
2579
+ border-color: var(--color-border-default);
2426
2580
  }
2427
2581
 
2428
2582
  b,
2429
2583
  strong,
2430
2584
  .bold {
2431
- font-weight: bold;
2432
- --ctx-text: var(--ctx-text-bold);
2585
+ font-weight: bold;
2586
+ --ctx-text: var(--ctx-text-bold);
2433
2587
  }
2434
2588
 
2435
2589
  /* Disable state */
2436
2590
  :disabled,
2437
2591
  .disabled {
2438
- cursor: not-allowed;
2439
- pointer-events: none;
2592
+ cursor: not-allowed;
2593
+ pointer-events: none;
2440
2594
  }