@bcc-code/component-library-vue 0.0.0-dev.415f65d → 0.0.0-dev.4702980

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 (25) hide show
  1. package/dist/component-library.js +45095 -42184
  2. package/dist/component-library.umd.cjs +1704 -1508
  3. package/dist/index.css +1 -1
  4. package/dist/theme.css +391 -238
  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/BccDialKnob/BccDialKnob.vue.d.ts +1 -1
  9. package/dist-types/components/custom/BccNpsResult/BccNpsResult.vue.d.ts +2 -2
  10. package/dist-types/components/custom/BccReact/BccReact.vue.d.ts +1 -1
  11. package/dist-types/components/custom/BccStepIndicator/BccStepIndicator.vue.d.ts +5 -5
  12. package/dist-types/components/custom/BccTopNavigation/BccTopNavigation.vue.d.ts +47 -0
  13. package/dist-types/components/custom/index.d.ts +4 -0
  14. package/dist-types/components/wrapped/BccAvatar/BccAvatar.vue.d.ts +2 -2
  15. package/dist-types/components/wrapped/BccButton.vue.d.ts +1 -0
  16. package/dist-types/components/wrapped/BccImage.vue.d.ts +17 -0
  17. package/dist-types/components/wrapped/BccMenu/BccMenu.vue.d.ts +14 -0
  18. package/dist-types/components/wrapped/BccMessage.vue.d.ts +4 -2
  19. package/dist-types/components/wrapped/BccRadioButton.vue.d.ts +18 -0
  20. package/dist-types/components/wrapped/BccSelectButton.vue.d.ts +17 -0
  21. package/dist-types/components/wrapped/BccTabs/BccTabs.vue.d.ts +2 -0
  22. package/dist-types/components/wrapped/BccToggle/BccToggle.vue.d.ts +12 -1
  23. package/dist-types/components/wrapped/index.d.ts +11 -0
  24. package/dist-types/index.d.ts +14 -7
  25. 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 */
@@ -1722,88 +1728,102 @@
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
1813
  .clickable:hover {
1795
- --ctx-background: var(--ctx-background-hover);
1796
- --ctx-text: var(--ctx-text-hover);
1797
- --ctx-border: var(--ctx-border-hover);
1814
+ --ctx-background: var(--ctx-background-hover);
1815
+ --ctx-text: var(--ctx-text-hover);
1816
+ --ctx-border: var(--ctx-border-hover);
1798
1817
  }
1799
1818
 
1800
1819
  .clickable:active {
1801
- --ctx-background: var(--ctx-background-pressed);
1802
- --ctx-text: var(--ctx-text-pressed);
1803
- --ctx-border: var(--ctx-border-pressed);
1820
+ --ctx-background: var(--ctx-background-pressed);
1821
+ --ctx-text: var(--ctx-text-pressed);
1822
+ --ctx-border: var(--ctx-border-pressed);
1804
1823
  }
1805
1824
 
1806
1825
 
1826
+
1807
1827
  /* === ./styles/fonts.css === */
1808
1828
  @utility heading-xs { font: var(--heading-xs); }
1809
1829
  @utility heading-sm { font: var(--heading-sm); }
@@ -1824,94 +1844,208 @@
1824
1844
  /** Custom styles to fix primevue components that are not custom or wrapped. */
1825
1845
 
1826
1846
  /**
1827
- .BccAutocomplete
1847
+ * GUTTER FIX
1848
+ * Primevue's dropwdown components are all missing the gap between input and dropdown
1849
+ **/
1850
+ .p-autocomplete-overlay,
1851
+ .p-menu-overlay,
1852
+ .p-multiselect-overlay,
1853
+ .p-select-overlay,
1854
+ .p-datepicker-panel,
1855
+ .p-treeselect-overlay {
1856
+ margin: var(--p-anchor-gutter) 0;
1857
+ }
1858
+
1859
+ /* This fix is to ensure overlay badge is contained within the size of the component it wraps */
1860
+ .p-overlaybadge {
1861
+ display: inline-block;
1862
+ }
1863
+
1864
+ /**
1865
+ * BccAutocomplete
1828
1866
  **/
1829
1867
 
1830
1868
  /** Our icons are a bit smaller that Primevue's default */
1831
1869
  .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);
1870
+ --p-icon-size: var(--icon-size-sm);
1871
+ --p-form-field-sm-font-size: var(--icon-size-sm);
1872
+ --p-form-field-lg-font-size: var(--icon-size-md);
1873
+ }
1874
+
1875
+ .p-autocomplete .p-autocomplete-clear-icon {
1876
+ /** middle-align the icon */
1877
+ top: calc(50% - var(--icon-size-sm) / 2);
1878
+ margin-top: 0;
1835
1879
  }
1836
1880
 
1837
1881
  .p-autocomplete-clearable .p-inputtext {
1838
- flex-grow: 1;
1882
+ flex-grow: 1;
1839
1883
  }
1840
1884
 
1841
- /** Primevue 's component is missing the gap between input and dropdown */
1842
- .p-autocomplete-overlay {
1843
- margin: var(--p-anchor-gutter) 0;
1885
+ .p-autocomplete-chip.p-chip {
1886
+ padding-block-start: calc(var(--p-autocomplete-padding-y) / 2);
1887
+ padding-block-end: calc(var(--p-autocomplete-padding-y) / 2);
1888
+ border-radius: var(--p-autocomplete-chip-border-radius);
1844
1889
  }
1845
1890
 
1846
1891
  /**
1847
- .BccSelect
1892
+ * BccSelect
1893
+ **/
1894
+ .p-select {
1895
+ --p-icon-size: var(--icon-size-sm);
1896
+ }
1897
+
1898
+ .p-select.inline-select {
1899
+ @apply mx-auto inline-flex w-auto items-center border-0 bg-transparent shadow-none;
1900
+ --p-icon-size: 1.25em;
1901
+ --p-select-dropdown-width: 1.5em;
1902
+ --p-select-min-height: auto;
1903
+ }
1904
+
1905
+ .p-select.inline-select .p-select-label {
1906
+ @apply inline-block font-semibold;
1907
+ font-size: inherit;
1908
+ padding: 0 0 0 0.25em;
1909
+ }
1910
+
1911
+ .p-select.inline-select.inverse {
1912
+ --p-select-color: var(--color-neutral-0);
1913
+ --p-select-dropdown-color: var(--color-neutral-0);
1914
+ --p-select-placeholder-color: var(--color-dark-neutral-1000);
1915
+ }
1916
+
1917
+ /**
1918
+ * Fix issue with icons inside Input within an InputGroup being hidden when Input is in focus
1848
1919
  **/
1920
+ .p-inputicon {
1921
+ z-index: 2;
1922
+ }
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
+ }
1849
1939
 
1850
- /** Primevue 's component is missing the gap between input and dropdown */
1851
- .p-select-overlay.p-component {
1852
- margin: var(--p-anchor-gutter) 0;
1940
+ .p-togglebutton-lg {
1941
+ font-size: var(--text-md);
1853
1942
  }
1854
1943
 
1855
1944
 
1856
1945
 
1946
+
1857
1947
  /* === ./components/custom/styles.css === */
1858
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
+
1859
1987
  /* from ./BccBadge/BccBadge.css */
1860
1988
  @layer components {
1861
- .bcc-badge {
1862
- @apply inline-flex shrink-0 gap-1 items-center justify-center rounded-full leading-none whitespace-nowrap;
1863
-
1864
- @apply bg-ctx text-ctx;
1865
- }
1866
- .bcc-badge.sm {
1867
- @apply w-4 h-4 text-heading-xs;
1868
- }
1869
- .bcc-badge.md {
1870
- @apply h-5 w-5 text-heading-sm;
1871
- }
1872
- .bcc-badge.lg {
1873
- @apply w-6 h-6 text-heading-md;
1874
- }
1875
- .bcc-badge.xl {
1876
- @apply w-8 h-8 text-heading-lg;
1877
- }
1989
+ .bcc-badge {
1990
+ @apply inline-flex shrink-0 items-center justify-center gap-1 rounded-full leading-none whitespace-nowrap;
1878
1991
 
1879
- .bcc-badge .bcc-badge-icon {
1880
- @apply size-4;
1881
- }
1882
- .bcc-badge.lg .bcc-badge-icon {
1883
- @apply size-5;
1884
- }
1885
- .bcc-badge.xl .bcc-badge-icon {
1886
- @apply size-6;
1887
- }
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
+ }
1888
2009
 
1889
- .bcc-badge.bcc-badge-text {
1890
- @apply w-auto px-2;
1891
- }
1892
- .bcc-badge-text.lg, .bcc-badge-text.xl {
1893
- @apply px-3;
1894
- }
1895
- .bcc-badge-text.border.lg, .bcc-badge-text.border.xl {
1896
- @apply px-2;
1897
- }
1898
- .bcc-badge-text.bordered.lg, .bcc-badge-text.bordered.xl {
1899
- @apply px-1;
1900
- }
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
+ }
1901
2019
 
1902
- .bcc-badge.border {
1903
- @apply border-1;
1904
- border-color: var(--ctx-background-pressed);
1905
- }
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
+ }
1906
2035
 
1907
- .bcc-badge.bordered {
1908
- @apply border-2;
1909
- border-color: var(--ctx-background-pressed);
1910
- }
2036
+ .bcc-badge.border {
2037
+ @apply border-1;
2038
+ border-color: var(--ctx-background-pressed);
2039
+ }
1911
2040
 
1912
- .bcc-badge.squared {
1913
- @apply rounded;
1914
- }
2041
+ .bcc-badge.bordered {
2042
+ @apply border-2;
2043
+ border-color: var(--ctx-background-pressed);
2044
+ }
2045
+
2046
+ .bcc-badge.squared {
2047
+ @apply rounded-sm;
2048
+ }
1915
2049
  }
1916
2050
 
1917
2051
 
@@ -1960,6 +2094,7 @@
1960
2094
 
1961
2095
  .bcc-capacity-indicator.is-warning {
1962
2096
  @apply ctx-yellow-subtlest;
2097
+ --bcc-capacity-indicator-circle: var(--ctx-background);
1963
2098
  }
1964
2099
 
1965
2100
  .bcc-capacity-indicator.is-full {
@@ -2012,8 +2147,8 @@
2012
2147
  .bcc-frame--raised {
2013
2148
  --ctx-background: var(--color-elevation-surface-raised-default);
2014
2149
  }
2015
- .bcc-frame--raised.rounded {
2016
- @apply rounded;
2150
+ .bcc-frame--rounded {
2151
+ @apply rounded-md;
2017
2152
  }
2018
2153
  .bcc-frame--raised.bcc-frame--shadow {
2019
2154
  @apply shadow-raised;
@@ -2084,43 +2219,53 @@
2084
2219
  @apply relative w-full;
2085
2220
  }
2086
2221
 
2087
- .bcc-nps-result .result-gauge-dial {
2222
+ .bcc-nps-result.xs {
2223
+ @apply w-24;
2224
+ }
2225
+ .bcc-nps-result.sm {
2226
+ @apply w-36;
2227
+ }
2228
+ .bcc-nps-result.md {
2229
+ @apply w-48;
2230
+ }
2231
+ .bcc-nps-result.lg {
2232
+ @apply w-60;
2233
+ }
2234
+ .bcc-nps-result.xl {
2235
+ @apply w-72;
2236
+ }
2237
+
2238
+ .bcc-nps-result .bcc-nps-result-gauge-dial {
2088
2239
  transform-origin: center;
2089
2240
  }
2090
2241
 
2091
- .bcc-nps-result.animated .result-gauge-dial {
2242
+ .bcc-nps-result.animated .bcc-nps-result-gauge-dial {
2092
2243
  transition-delay: 0.3s;
2093
2244
  transition: all .7s cubic-bezier(0, 0, 0.3, 1.5);
2094
2245
  }
2095
2246
 
2096
- .bcc-nps-result-labels.lg {
2097
- @apply bottom-[2em];
2098
- }
2099
2247
  .bcc-nps-result-labels {
2100
- @apply absolute bottom-[1em] flex w-full flex-col items-center justify-center;
2101
- }
2102
- .bcc-nps-result-labels.sm {
2103
- @apply bottom-0;
2248
+ @apply absolute text-base bottom-1/4 translate-y-1/2 flex w-full flex-col items-center justify-center;
2104
2249
  }
2105
2250
 
2106
- .bcc-nps-result-labels.lg .bcc-nps-result-labels--heading {
2107
- @apply text-heading-xl leading-tight;
2108
- }
2109
2251
  .bcc-nps-result-labels--heading {
2110
- @apply text-heading-lg leading-none;
2252
+ @apply text-[1.25em] font-semibold leading-none;
2111
2253
  }
2112
- .bcc-nps-result-labels.sm .bcc-nps-result-labels--heading {
2113
- @apply text-heading-md leading-none;
2254
+ .bcc-nps-result-labels--label {
2255
+ @apply text-[0.75em] text-subtlest;
2114
2256
  }
2115
2257
 
2116
- .bcc-nps-result-labels.lg .bcc-nps-result-labels--label {
2117
- @apply text-body-lg opacity-60;
2258
+ .bcc-nps-result.md .bcc-nps-result-labels {
2259
+ @apply text-lg;
2118
2260
  }
2119
- .bcc-nps-result-labels--label {
2120
- @apply text-body-md opacity-60;
2261
+ .bcc-nps-result.lg .bcc-nps-result-labels {
2262
+ @apply text-xl;
2121
2263
  }
2122
- .bcc-nps-result-labels.sm .bcc-nps-result-labels--label {
2123
- @apply text-body-sm;
2264
+ .bcc-nps-result.xl .bcc-nps-result-labels {
2265
+ @apply text-2xl;
2266
+ }
2267
+ .bcc-nps-result.full .bcc-nps-result-labels {
2268
+ @apply text-lg;
2124
2269
  }
2125
2270
  }
2126
2271
 
@@ -2303,75 +2448,74 @@
2303
2448
 
2304
2449
  /* from ./BccAvatar/BccAvatar.css */
2305
2450
  @layer components {
2306
- .bcc-avatar {
2307
- --p-avatar-background: var(--ctx-background);
2308
- --p-avatar-color: var(--ctx-text);
2309
- --bcc-avatar-border: var(--ctx-border);
2310
- @apply overflow-hidden shrink-0 ctx-gray-subtler;
2311
- }
2312
- .bcc-avatar.male,
2313
- .bcc-avatar.M {
2314
- @apply ctx-blue-subtler;
2315
- }
2316
- .bcc-avatar.female,
2317
- .bcc-avatar.F {
2318
- @apply ctx-purple-subtler;
2319
- }
2320
- .bcc-avatar.male.child,
2321
- .bcc-avatar.M.child {
2322
- @apply ctx-teal-subtler;
2323
- }
2324
- .bcc-avatar.female.child,
2325
- .bcc-avatar.F.child {
2326
- @apply ctx-magenta-subtler;
2327
- }
2328
- .bcc-avatar.bordered {
2329
- @apply border-2 border-ctx;
2330
- }
2331
- .bcc-avatar.xs {
2332
- @apply size-5 text-xs;
2333
- }
2334
- .bcc-avatar.sm {
2335
- @apply size-6 text-sm;
2336
- }
2337
- .bcc-avatar.md {
2338
- @apply size-8 text-base;
2339
- }
2340
- .bcc-avatar.lg {
2341
- @apply size-10 text-lg;
2342
- }
2343
- .bcc-avatar.xl {
2344
- @apply size-12 text-xl;
2345
- }
2346
- .bcc-avatar.xxl {
2347
- @apply size-20 text-3xl;
2348
- }
2349
- .bcc-avatar.xxxl {
2350
- @apply size-24 text-4xl;
2351
- }
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
+ }
2352
2458
 
2353
- .bcc-avatar.squared.lg {
2354
- @apply text-xl;
2355
- }
2356
- .bcc-avatar.squared.xl {
2357
- @apply text-2xl;
2358
- }
2359
- .bcc-avatar.squared.xxl {
2360
- @apply text-4xl;
2361
- }
2362
- .bcc-avatar.squared.xxxl {
2363
- @apply text-5xl;
2364
- }
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
+ }
2365
2505
 
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
+ }
2366
2510
 
2367
- .p-overlaybadge .bcc-avatar.p-avatar-circle.xxxl~.p-badge,
2368
- .p-overlaybadge .bcc-avatar.p-avatar-circle.xxl~.p-badge,
2369
- .p-overlaybadge .bcc-avatar.p-avatar-circle.xl~.p-badge {
2370
- transform: translate(25%, -25%);
2371
- }
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
+ }
2372
2515
  }
2373
2516
 
2374
2517
 
2518
+
2375
2519
  /* from ./BccTabs/BccTabs.css */
2376
2520
  @layer components {
2377
2521
  .bcc-tabs-fill.p-tabs {
@@ -2390,6 +2534,9 @@
2390
2534
  height: 100%;
2391
2535
  overflow: auto;
2392
2536
  }
2537
+ .bcc-tabs-fluid.p-tabs {
2538
+ width: 100%;
2539
+ }
2393
2540
  }
2394
2541
 
2395
2542
 
@@ -2412,24 +2559,30 @@
2412
2559
 
2413
2560
 
2414
2561
 
2415
- :root, :host {
2562
+ :root,
2563
+ :host {
2416
2564
  --font-sans: 'Archivo', system-ui, sans-serif;
2417
- @apply font-sans antialiased p-0 m-0;
2418
- -webkit-font-smoothing: antialiased;
2419
- -moz-osx-font-smoothing: grayscale;
2565
+ @apply m-0 p-0 font-sans antialiased;
2566
+ -webkit-font-smoothing: antialiased;
2567
+ -moz-osx-font-smoothing: grayscale;
2568
+ line-height: 1.2;
2569
+ font-kerning: normal;
2570
+ }
2420
2571
 
2572
+ hr {
2573
+ border-color: var(--color-border-default);
2421
2574
  }
2422
2575
 
2423
2576
  b,
2424
2577
  strong,
2425
2578
  .bold {
2426
- font-weight: bold;
2427
- --ctx-text: var(--ctx-text-bold);
2579
+ font-weight: bold;
2580
+ --ctx-text: var(--ctx-text-bold);
2428
2581
  }
2429
2582
 
2430
2583
  /* Disable state */
2431
2584
  :disabled,
2432
2585
  .disabled {
2433
- cursor: not-allowed;
2434
- pointer-events: none;
2586
+ cursor: not-allowed;
2587
+ pointer-events: none;
2435
2588
  }