@bcc-code/component-library-vue 0.8.11 → 0.8.12

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/theme.css CHANGED
@@ -590,78 +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
- @apply inline-block;
652
+ @apply inline-block;
653
653
 
654
- &::first-letter {
655
- text-transform: uppercase;
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 left-0 right-0 top-0 bottom-0;
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
- --color-brand-100: var(--color-bcc-100);
1729
- --color-brand-200: var(--color-bcc-200);
1730
- --color-brand-300: var(--color-bcc-300);
1731
- --color-brand-400: var(--color-bcc-400);
1732
- --color-brand-500: var(--color-bcc-500);
1733
- --color-brand-600: var(--color-bcc-600);
1734
- --color-brand-700: var(--color-bcc-700);
1735
- --color-brand-800: var(--color-bcc-800);
1736
- --color-brand-900: var(--color-bcc-900);
1737
- --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);
1738
1742
  }
1739
1743
 
1740
1744
  /** DEFAULT CONTEXTS */
1741
1745
  @utility ctx-default {
1742
- @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;
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
- color: var(--ctx-text);
1762
+ color: var(--ctx-text);
1751
1763
  }
1752
1764
 
1753
1765
  @utility text-ctx-bold {
1754
- color: var(--ctx-text-bold);
1766
+ color: var(--ctx-text-bold);
1755
1767
  }
1756
1768
 
1757
1769
  @utility bg-ctx {
1758
- background-color: var(--ctx-background);
1770
+ background-color: var(--ctx-background);
1759
1771
  }
1760
1772
 
1761
1773
  @utility border-ctx {
1762
- border-color: var(--ctx-border);
1774
+ border-color: var(--ctx-border);
1763
1775
  }
1764
1776
 
1765
1777
  @utility shadow-ctx {
1766
- --tw-shadow-color: var(--ctx-shadow);
1778
+ --tw-shadow-color: var(--ctx-shadow);
1767
1779
  }
1768
1780
 
1769
1781
  @utility ctx {
1770
- background-color: var(--ctx-background);
1771
- color: var(--ctx-text);
1772
- border-color: var(--ctx-border);
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
- 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
+ }
1777
1793
  }
1778
1794
 
1779
1795
  @utility ctx-raised {
1780
- 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);
1781
1799
  }
1782
1800
 
1783
1801
  @utility ctx-flat {
1784
- --ctx-background: transparent;
1802
+ --ctx-background: transparent;
1785
1803
 
1786
- @variant hover {
1787
- --ctx-background: var(--ctx-background-hover);
1788
- }
1804
+ @variant hover {
1805
+ --ctx-background: var(--ctx-background-hover);
1806
+ }
1789
1807
  }
1790
1808
 
1791
1809
  @utility clickable {
1792
- cursor: pointer;
1810
+ cursor: pointer;
1793
1811
  }
1794
1812
 
1795
1813
  .clickable:hover {
1796
- --ctx-background: var(--ctx-background-hover);
1797
- --ctx-text: var(--ctx-text-hover);
1798
- --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);
1799
1817
  }
1800
1818
 
1801
1819
  .clickable:active {
1802
- --ctx-background: var(--ctx-background-pressed);
1803
- --ctx-text: var(--ctx-text-pressed);
1804
- --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);
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); }
@@ -1972,10 +1991,6 @@
1972
1991
 
1973
1992
  @apply bg-ctx text-ctx;
1974
1993
  }
1975
-
1976
- .bcc-badge.capital {
1977
- @apply inline-flex;
1978
- }
1979
1994
  .bcc-badge.gradient {
1980
1995
  @apply ctx-gradient;
1981
1996
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bcc-code/component-library-vue",
3
- "version": "0.8.11",
3
+ "version": "0.8.12",
4
4
  "type": "module",
5
5
  "description": "Extended Vue component library based on PrimeVue and BCC design tokens",
6
6
  "repository": "https://github.com/bcc-code/bcc-design.git",