@grandbazar/ui-baza 1.1.1 → 1.1.2

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/index.cjs CHANGED
@@ -552,21 +552,23 @@ function Breadcrumbs({
552
552
  }
553
553
  Breadcrumbs.Item = BreadcrumbItem;
554
554
 
555
- const button = "_button_1pg2t_2";
556
- const accent$1 = "_accent_1pg2t_9";
557
- const primary$1 = "_primary_1pg2t_10";
558
- const secondary$2 = "_secondary_1pg2t_28";
559
- const tertiary = "_tertiary_1pg2t_46";
560
- const neutral$1 = "_neutral_1pg2t_65";
561
- const lg$4 = "_lg_1pg2t_121";
562
- const md$7 = "_md_1pg2t_129";
563
- const sm$3 = "_sm_1pg2t_137";
555
+ const button = "_button_cmbkj_2";
556
+ const accent$1 = "_accent_cmbkj_11";
557
+ const primary$1 = "_primary_cmbkj_12";
558
+ const secondary$2 = "_secondary_cmbkj_30";
559
+ const tertiary = "_tertiary_cmbkj_48";
560
+ const line = "_line_cmbkj_49";
561
+ const neutral$1 = "_neutral_cmbkj_78";
562
+ const lg$4 = "_lg_cmbkj_145";
563
+ const md$7 = "_md_cmbkj_153";
564
+ const sm$3 = "_sm_cmbkj_161";
564
565
  const styles$o = {
565
566
  button: button,
566
567
  accent: accent$1,
567
568
  primary: primary$1,
568
569
  secondary: secondary$2,
569
570
  tertiary: tertiary,
571
+ line: line,
570
572
  neutral: neutral$1,
571
573
  lg: lg$4,
572
574
  md: md$7,
package/dist/index.d.ts CHANGED
@@ -75,7 +75,7 @@ export declare namespace Breadcrumbs {
75
75
  *
76
76
  * @param color - Color variant of the button (accent, neutral)
77
77
  * @param size - Size of the button (lg, md, sm)
78
- * @param mode - Visual mode of the button (primary, secondary, tertiary)
78
+ * @param mode - Visual mode of the button (primary, secondary, tertiary, line)
79
79
  * @param as - Element type to render (button, a)
80
80
  * @param children - Content to display inside the button
81
81
  */
@@ -85,7 +85,7 @@ export declare function Button(props: TButtonAsAnchorProps): React.JSX.Element;
85
85
 
86
86
  declare const BUTTON_COLORS: readonly ["accent", "neutral"];
87
87
 
88
- declare const BUTTON_MODES: readonly ["primary", "secondary", "tertiary"];
88
+ declare const BUTTON_MODES: readonly ["primary", "secondary", "line", "tertiary"];
89
89
 
90
90
  declare const BUTTON_SIZES: readonly ["lg", "md", "sm"];
91
91
 
package/dist/index.js CHANGED
@@ -548,21 +548,23 @@ function Breadcrumbs({
548
548
  }
549
549
  Breadcrumbs.Item = BreadcrumbItem;
550
550
 
551
- const button = "_button_1pg2t_2";
552
- const accent$1 = "_accent_1pg2t_9";
553
- const primary$1 = "_primary_1pg2t_10";
554
- const secondary$2 = "_secondary_1pg2t_28";
555
- const tertiary = "_tertiary_1pg2t_46";
556
- const neutral$1 = "_neutral_1pg2t_65";
557
- const lg$4 = "_lg_1pg2t_121";
558
- const md$7 = "_md_1pg2t_129";
559
- const sm$3 = "_sm_1pg2t_137";
551
+ const button = "_button_cmbkj_2";
552
+ const accent$1 = "_accent_cmbkj_11";
553
+ const primary$1 = "_primary_cmbkj_12";
554
+ const secondary$2 = "_secondary_cmbkj_30";
555
+ const tertiary = "_tertiary_cmbkj_48";
556
+ const line = "_line_cmbkj_49";
557
+ const neutral$1 = "_neutral_cmbkj_78";
558
+ const lg$4 = "_lg_cmbkj_145";
559
+ const md$7 = "_md_cmbkj_153";
560
+ const sm$3 = "_sm_cmbkj_161";
560
561
  const styles$o = {
561
562
  button: button,
562
563
  accent: accent$1,
563
564
  primary: primary$1,
564
565
  secondary: secondary$2,
565
566
  tertiary: tertiary,
567
+ line: line,
566
568
  neutral: neutral$1,
567
569
  lg: lg$4,
568
570
  md: md$7,
package/dist/style.css CHANGED
@@ -534,15 +534,17 @@ textarea {
534
534
  }
535
535
  }
536
536
  @layer ui_baza_components {
537
- ._button_1pg2t_2 {
537
+ ._button_cmbkj_2 {
538
+ --ring-width: 1px;
539
+
538
540
  display: inline-flex;
539
541
  align-items: center;
540
542
  justify-content: center;
541
543
  cursor: pointer;
542
544
  transition: all var(--transition-duration-default) ease-in-out;
543
545
 
544
- &._accent_1pg2t_9 {
545
- &._primary_1pg2t_10 {
546
+ &._accent_cmbkj_11 {
547
+ &._primary_cmbkj_12 {
546
548
  background-color: var(--color-accent);
547
549
  color: var(--color-white);
548
550
 
@@ -560,7 +562,7 @@ textarea {
560
562
  }
561
563
  }
562
564
 
563
- &._secondary_1pg2t_28 {
565
+ &._secondary_cmbkj_30 {
564
566
  background-color: var(--color-accent-alpha-100);
565
567
  color: var(--color-accent);
566
568
 
@@ -578,7 +580,8 @@ textarea {
578
580
  }
579
581
  }
580
582
 
581
- &._tertiary_1pg2t_46 {
583
+ &._tertiary_cmbkj_48,
584
+ &._line_cmbkj_49 {
582
585
  background-color: var(--color-transparent);
583
586
  color: var(--color-accent);
584
587
 
@@ -595,10 +598,20 @@ textarea {
595
598
  color: var(--color-neutral-340);
596
599
  }
597
600
  }
601
+
602
+ &._line_cmbkj_49 {
603
+ --ring-color: var(--color-accent);
604
+
605
+ box-shadow: inset 0 0 0 var(--ring-width) var(--ring-color);
606
+
607
+ &:disabled {
608
+ --ring-color: var(--color-neutral-alpha-120);
609
+ }
610
+ }
598
611
  }
599
612
 
600
- &._neutral_1pg2t_65 {
601
- &._primary_1pg2t_10 {
613
+ &._neutral_cmbkj_78 {
614
+ &._primary_cmbkj_12 {
602
615
  background-color: var(--color-neutral);
603
616
  color: var(--color-white);
604
617
 
@@ -616,7 +629,7 @@ textarea {
616
629
  }
617
630
  }
618
631
 
619
- &._secondary_1pg2t_28 {
632
+ &._secondary_cmbkj_30 {
620
633
  background-color: var(--color-neutral-alpha-60);
621
634
  color: var(--color-neutral);
622
635
 
@@ -634,7 +647,8 @@ textarea {
634
647
  }
635
648
  }
636
649
 
637
- &._tertiary_1pg2t_46 {
650
+ &._tertiary_cmbkj_48,
651
+ &._line_cmbkj_49 {
638
652
  background-color: var(--color-transparent);
639
653
  color: var(--color-neutral);
640
654
 
@@ -651,9 +665,19 @@ textarea {
651
665
  color: var(--color-neutral-340);
652
666
  }
653
667
  }
668
+
669
+ &._line_cmbkj_49 {
670
+ --ring-color: var(--color-neutral-alpha-120);
671
+
672
+ box-shadow: inset 0 0 0 var(--ring-width) var(--ring-color);
673
+
674
+ &:disabled {
675
+ --ring-color: var(--color-neutral-alpha-120);
676
+ }
677
+ }
654
678
  }
655
679
 
656
- &._lg_1pg2t_121 {
680
+ &._lg_cmbkj_145 {
657
681
  min-height: calc(var(--line-height-lg) + var(--space-2xl) * 2);
658
682
  padding: var(--space-2xl);
659
683
  border-radius: var(--radius-2xl);
@@ -661,7 +685,7 @@ textarea {
661
685
  line-height: var(--line-height-lg);
662
686
  }
663
687
 
664
- &._md_1pg2t_129 {
688
+ &._md_cmbkj_153 {
665
689
  min-height: calc(var(--line-height-lg) + var(--space-lg) * 2);
666
690
  padding: var(--space-lg);
667
691
  border-radius: var(--radius-xl);
@@ -669,7 +693,7 @@ textarea {
669
693
  line-height: var(--line-height-lg);
670
694
  }
671
695
 
672
- &._sm_1pg2t_137 {
696
+ &._sm_cmbkj_161 {
673
697
  min-height: calc(var(--line-height-md) + var(--space-sm) * 2);
674
698
  padding: var(--space-sm);
675
699
  border-radius: var(--radius-lg);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@grandbazar/ui-baza",
3
- "version": "1.1.1",
3
+ "version": "1.1.2",
4
4
  "description": "A lightweight and modular UI kit for building modern, accessible web interfaces. Designed for flexibility, scalability, and developer happiness.",
5
5
  "repository": {
6
6
  "type": "git",