@grandbazar/ui-baza 1.6.0 → 1.7.0

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
@@ -1318,7 +1318,7 @@ const secondary$3 = "_secondary_11nu9_31";
1318
1318
  const tertiary = "_tertiary_11nu9_49";
1319
1319
  const line = "_line_11nu9_50";
1320
1320
  const neutral$2 = "_neutral_11nu9_79";
1321
- const white$1 = "_white_11nu9_146";
1321
+ const white$2 = "_white_11nu9_146";
1322
1322
  const lg$6 = "_lg_11nu9_213";
1323
1323
  const md$9 = "_md_11nu9_222";
1324
1324
  const sm$4 = "_sm_11nu9_240";
@@ -1334,7 +1334,7 @@ const styles$z = {
1334
1334
  tertiary: tertiary,
1335
1335
  line: line,
1336
1336
  neutral: neutral$2,
1337
- white: white$1,
1337
+ white: white$2,
1338
1338
  lg: lg$6,
1339
1339
  md: md$9,
1340
1340
  "md-sm": "_md-sm_11nu9_231",
@@ -1438,13 +1438,15 @@ function Checkbox({ className, label, indeterminate, ...props }) {
1438
1438
  );
1439
1439
  }
1440
1440
 
1441
- const chip = "_chip_nge5j_2";
1442
- const glass = "_glass_nge5j_36";
1443
- const pill = "_pill_nge5j_59";
1444
- const icon$2 = "_icon_nge5j_63";
1441
+ const chip = "_chip_1i1br_2";
1442
+ const glass = "_glass_1i1br_36";
1443
+ const white$1 = "_white_1i1br_59";
1444
+ const pill = "_pill_1i1br_67";
1445
+ const icon$2 = "_icon_1i1br_71";
1445
1446
  const styles$w = {
1446
1447
  chip: chip,
1447
1448
  glass: glass,
1449
+ white: white$1,
1448
1450
  pill: pill,
1449
1451
  icon: icon$2
1450
1452
  };
package/dist/index.d.ts CHANGED
@@ -126,14 +126,15 @@ export declare function Checkbox({ className, label, indeterminate, ...props }:
126
126
  * @param disabled - Whether the chip is disabled
127
127
  * @param icon - Leading icon; inherits the text color, accent while the chip is not selected
128
128
  * @param shape - Corner shape (default, pill)
129
- * @param mode - Visual mode (default, glass); glass is a translucent white chip for colored backgrounds
129
+ * @param mode - Visual mode (default, glass, white); glass is a translucent white chip for colored backgrounds,
130
+ * white is a solid white chip for light-grey surfaces
130
131
  * @param asChild - When true, merges props onto the child element instead of rendering a div
131
132
  * @param className - Additional CSS classes
132
133
  * @param children - Content to display inside the chip
133
134
  */
134
135
  export declare function Chip({ isSelected, children, className, disabled, icon, shape, mode, asChild, ...props }: TChipProps): JSX.Element;
135
136
 
136
- declare const CHIP_MODES: readonly ["default", "glass"];
137
+ declare const CHIP_MODES: readonly ["default", "glass", "white"];
137
138
 
138
139
  declare const CHIP_SHAPES: readonly ["default", "pill"];
139
140
 
package/dist/index.js CHANGED
@@ -1314,7 +1314,7 @@ const secondary$3 = "_secondary_11nu9_31";
1314
1314
  const tertiary = "_tertiary_11nu9_49";
1315
1315
  const line = "_line_11nu9_50";
1316
1316
  const neutral$2 = "_neutral_11nu9_79";
1317
- const white$1 = "_white_11nu9_146";
1317
+ const white$2 = "_white_11nu9_146";
1318
1318
  const lg$6 = "_lg_11nu9_213";
1319
1319
  const md$9 = "_md_11nu9_222";
1320
1320
  const sm$4 = "_sm_11nu9_240";
@@ -1330,7 +1330,7 @@ const styles$z = {
1330
1330
  tertiary: tertiary,
1331
1331
  line: line,
1332
1332
  neutral: neutral$2,
1333
- white: white$1,
1333
+ white: white$2,
1334
1334
  lg: lg$6,
1335
1335
  md: md$9,
1336
1336
  "md-sm": "_md-sm_11nu9_231",
@@ -1434,13 +1434,15 @@ function Checkbox({ className, label, indeterminate, ...props }) {
1434
1434
  );
1435
1435
  }
1436
1436
 
1437
- const chip = "_chip_nge5j_2";
1438
- const glass = "_glass_nge5j_36";
1439
- const pill = "_pill_nge5j_59";
1440
- const icon$2 = "_icon_nge5j_63";
1437
+ const chip = "_chip_1i1br_2";
1438
+ const glass = "_glass_1i1br_36";
1439
+ const white$1 = "_white_1i1br_59";
1440
+ const pill = "_pill_1i1br_67";
1441
+ const icon$2 = "_icon_1i1br_71";
1441
1442
  const styles$w = {
1442
1443
  chip: chip,
1443
1444
  glass: glass,
1445
+ white: white$1,
1444
1446
  pill: pill,
1445
1447
  icon: icon$2
1446
1448
  };
package/dist/style.css CHANGED
@@ -960,7 +960,7 @@ textarea {
960
960
  }
961
961
  }
962
962
  @layer ui_baza_components {
963
- ._chip_nge5j_2 {
963
+ ._chip_1i1br_2 {
964
964
  --chip-icon-size: 16px;
965
965
 
966
966
  display: flex;
@@ -994,7 +994,7 @@ textarea {
994
994
  pointer-events: none;
995
995
  }
996
996
 
997
- &._glass_nge5j_36 {
997
+ &._glass_1i1br_36 {
998
998
  background-color: var(--color-white-alpha-200);
999
999
  color: var(--color-white);
1000
1000
 
@@ -1017,11 +1017,19 @@ textarea {
1017
1017
  }
1018
1018
  }
1019
1019
 
1020
- &._pill_nge5j_59 {
1020
+ &._white_1i1br_59:not([data-selected='true'], [data-disabled='true']) {
1021
+ background-color: var(--color-white);
1022
+
1023
+ &:hover {
1024
+ background-color: var(--color-neutral-40);
1025
+ }
1026
+ }
1027
+
1028
+ &._pill_1i1br_67 {
1021
1029
  border-radius: var(--radius-full);
1022
1030
  }
1023
1031
 
1024
- ._icon_nge5j_63 {
1032
+ ._icon_1i1br_71 {
1025
1033
  display: flex;
1026
1034
  flex-shrink: 0;
1027
1035
  width: var(--chip-icon-size);
@@ -1035,9 +1043,9 @@ textarea {
1035
1043
  }
1036
1044
  }
1037
1045
 
1038
- &[data-selected='true'] ._icon_nge5j_63,
1039
- &[data-disabled='true'] ._icon_nge5j_63,
1040
- &._glass_nge5j_36 ._icon_nge5j_63 {
1046
+ &[data-selected='true'] ._icon_1i1br_71,
1047
+ &[data-disabled='true'] ._icon_1i1br_71,
1048
+ &._glass_1i1br_36 ._icon_1i1br_71 {
1041
1049
  color: inherit;
1042
1050
  }
1043
1051
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@grandbazar/ui-baza",
3
- "version": "1.6.0",
3
+ "version": "1.7.0",
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",