@grandbazar/ui-baza 1.5.4 → 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
@@ -51,35 +51,56 @@ function omit(object, ...keys) {
51
51
  return Object.fromEntries(filteredEntries);
52
52
  }
53
53
 
54
- const badge = "_badge_1s8y9_2";
55
- const primary$4 = "_primary_1s8y9_9";
56
- const secondary$5 = "_secondary_1s8y9_13";
57
- const accent$4 = "_accent_1s8y9_18";
58
- const violet = "_violet_1s8y9_23";
59
- const pink = "_pink_1s8y9_28";
60
- const red$1 = "_red_1s8y9_33";
61
- const orange = "_orange_1s8y9_38";
62
- const green = "_green_1s8y9_43";
63
- const neutral$3 = "_neutral_1s8y9_48";
64
- const lg$7 = "_lg_1s8y9_53";
65
- const md$a = "_md_1s8y9_60";
54
+ const badge = "_badge_x6ia4_2";
55
+ const primary$4 = "_primary_x6ia4_9";
56
+ const secondary$5 = "_secondary_x6ia4_13";
57
+ const glass$1 = "_glass_x6ia4_18";
58
+ const accent$5 = "_accent_x6ia4_23";
59
+ const violet = "_violet_x6ia4_28";
60
+ const pink = "_pink_x6ia4_33";
61
+ const red$1 = "_red_x6ia4_38";
62
+ const orange = "_orange_x6ia4_43";
63
+ const green$1 = "_green_x6ia4_48";
64
+ const neutral$3 = "_neutral_x6ia4_54";
65
+ const lg$7 = "_lg_x6ia4_59";
66
+ const md$a = "_md_x6ia4_66";
67
+ const sm$5 = "_sm_x6ia4_73";
68
+ const pill$2 = "_pill_x6ia4_80";
66
69
  const styles$E = {
67
70
  badge: badge,
68
71
  primary: primary$4,
69
72
  secondary: secondary$5,
70
- accent: accent$4,
73
+ glass: glass$1,
74
+ accent: accent$5,
71
75
  violet: violet,
72
76
  pink: pink,
73
77
  red: red$1,
74
78
  orange: orange,
75
- green: green,
79
+ green: green$1,
76
80
  neutral: neutral$3,
77
81
  lg: lg$7,
78
- md: md$a
82
+ md: md$a,
83
+ sm: sm$5,
84
+ pill: pill$2
79
85
  };
80
86
 
81
- function Badge({ children, className, size = "lg", color = "accent", mode = "primary", ...props }) {
82
- return /* @__PURE__ */ jsxRuntime.jsx("div", { className: classNames(styles$E.badge, styles$E[size], styles$E[color], styles$E[mode], className), ...props, children });
87
+ function Badge({
88
+ children,
89
+ className,
90
+ size = "lg",
91
+ color = "accent",
92
+ mode = "primary",
93
+ shape = "default",
94
+ ...props
95
+ }) {
96
+ return /* @__PURE__ */ jsxRuntime.jsx(
97
+ "div",
98
+ {
99
+ className: classNames(styles$E.badge, styles$E[size], styles$E[color], styles$E[mode], styles$E[shape], className),
100
+ ...props,
101
+ children
102
+ }
103
+ );
83
104
  }
84
105
 
85
106
  const badgeTabsItem = "_badgeTabsItem_10lit_2";
@@ -1290,37 +1311,48 @@ function Breadcrumbs({
1290
1311
  }
1291
1312
  Breadcrumbs.Item = BreadcrumbItem;
1292
1313
 
1293
- const button = "_button_1waqk_2";
1294
- const accent$3 = "_accent_1waqk_11";
1295
- const primary$2 = "_primary_1waqk_12";
1296
- const secondary$3 = "_secondary_1waqk_30";
1297
- const tertiary = "_tertiary_1waqk_48";
1298
- const line = "_line_1waqk_49";
1299
- const neutral$2 = "_neutral_1waqk_78";
1300
- const lg$6 = "_lg_1waqk_145";
1301
- const md$9 = "_md_1waqk_153";
1302
- const sm$4 = "_sm_1waqk_161";
1314
+ const button = "_button_11nu9_2";
1315
+ const accent$4 = "_accent_11nu9_12";
1316
+ const primary$2 = "_primary_11nu9_13";
1317
+ const secondary$3 = "_secondary_11nu9_31";
1318
+ const tertiary = "_tertiary_11nu9_49";
1319
+ const line = "_line_11nu9_50";
1320
+ const neutral$2 = "_neutral_11nu9_79";
1321
+ const white$2 = "_white_11nu9_146";
1322
+ const lg$6 = "_lg_11nu9_213";
1323
+ const md$9 = "_md_11nu9_222";
1324
+ const sm$4 = "_sm_11nu9_240";
1325
+ const pill$1 = "_pill_11nu9_249";
1326
+ const circle = "_circle_11nu9_250";
1327
+ const square = "_square_11nu9_255";
1328
+ const elevated = "_elevated_11nu9_266";
1303
1329
  const styles$z = {
1304
1330
  button: button,
1305
- accent: accent$3,
1331
+ accent: accent$4,
1306
1332
  primary: primary$2,
1307
1333
  secondary: secondary$3,
1308
1334
  tertiary: tertiary,
1309
1335
  line: line,
1310
1336
  neutral: neutral$2,
1337
+ white: white$2,
1311
1338
  lg: lg$6,
1312
1339
  md: md$9,
1313
- sm: sm$4
1340
+ "md-sm": "_md-sm_11nu9_231",
1341
+ sm: sm$4,
1342
+ pill: pill$1,
1343
+ circle: circle,
1344
+ square: square,
1345
+ elevated: elevated
1314
1346
  };
1315
1347
 
1316
1348
  const buttonFunction = "_buttonFunction_o8iku_2";
1317
- const accent$2 = "_accent_o8iku_10";
1349
+ const accent$3 = "_accent_o8iku_10";
1318
1350
  const neutral$1 = "_neutral_o8iku_22";
1319
1351
  const lg$5 = "_lg_o8iku_41";
1320
1352
  const md$8 = "_md_o8iku_46";
1321
1353
  const styles$y = {
1322
1354
  buttonFunction: buttonFunction,
1323
- accent: accent$2,
1355
+ accent: accent$3,
1324
1356
  neutral: neutral$1,
1325
1357
  lg: lg$5,
1326
1358
  md: md$8
@@ -1353,6 +1385,8 @@ function Button({
1353
1385
  color = "accent",
1354
1386
  size = "lg",
1355
1387
  mode = "primary",
1388
+ shape = "default",
1389
+ elevated,
1356
1390
  asChild,
1357
1391
  ...props
1358
1392
  }) {
@@ -1360,7 +1394,15 @@ function Button({
1360
1394
  return /* @__PURE__ */ jsxRuntime.jsx(
1361
1395
  Component,
1362
1396
  {
1363
- className: classNames(styles$z.button, styles$z[color], styles$z[size], styles$z[mode], className),
1397
+ className: classNames(
1398
+ styles$z.button,
1399
+ styles$z[color],
1400
+ styles$z[size],
1401
+ styles$z[mode],
1402
+ styles$z[shape],
1403
+ elevated ? styles$z.elevated : void 0,
1404
+ className
1405
+ ),
1364
1406
  ...!asChild && { type: "button" },
1365
1407
  ...props,
1366
1408
  children
@@ -1370,11 +1412,11 @@ function Button({
1370
1412
  Button.Function = ButtonFunction;
1371
1413
 
1372
1414
  const checkboxWrapper = "_checkboxWrapper_k1shg_2";
1373
- const icon$2 = "_icon_k1shg_23";
1415
+ const icon$3 = "_icon_k1shg_23";
1374
1416
  const checkbox = "_checkbox_k1shg_2";
1375
1417
  const styles$x = {
1376
1418
  checkboxWrapper: checkboxWrapper,
1377
- icon: icon$2,
1419
+ icon: icon$3,
1378
1420
  checkbox: checkbox
1379
1421
  };
1380
1422
 
@@ -1396,21 +1438,50 @@ function Checkbox({ className, label, indeterminate, ...props }) {
1396
1438
  );
1397
1439
  }
1398
1440
 
1399
- const chip = "_chip_dj4kw_2";
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";
1400
1446
  const styles$w = {
1401
- chip: chip
1447
+ chip: chip,
1448
+ glass: glass,
1449
+ white: white$1,
1450
+ pill: pill,
1451
+ icon: icon$2
1402
1452
  };
1403
1453
 
1404
- function Chip({ isSelected, children, className, disabled, ...props }) {
1454
+ function prependToChild(child, node) {
1455
+ if (!node || !React.isValidElement(child)) {
1456
+ return child;
1457
+ }
1458
+ return React.cloneElement(child, void 0, node, child.props.children);
1459
+ }
1460
+ function Chip({
1461
+ isSelected,
1462
+ children,
1463
+ className,
1464
+ disabled,
1465
+ icon,
1466
+ shape = "default",
1467
+ mode = "default",
1468
+ asChild,
1469
+ ...props
1470
+ }) {
1471
+ const Component = asChild ? Slot : "div";
1472
+ const iconElement = icon ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: styles$w.icon, "aria-hidden": "true", children: icon }) : void 0;
1405
1473
  return /* @__PURE__ */ jsxRuntime.jsx(
1406
- "div",
1474
+ Component,
1407
1475
  {
1408
- className: classNames(styles$w.chip, className),
1476
+ className: classNames(styles$w.chip, styles$w[shape], styles$w[mode], className),
1409
1477
  "data-selected": isSelected,
1410
1478
  "data-disabled": disabled,
1411
1479
  "aria-disabled": disabled,
1412
1480
  ...props,
1413
- children
1481
+ children: asChild ? prependToChild(children, iconElement) : /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
1482
+ iconElement,
1483
+ children
1484
+ ] })
1414
1485
  }
1415
1486
  );
1416
1487
  }
@@ -1419,7 +1490,7 @@ const root$1 = "_root_ww0fb_2";
1419
1490
  const lg$4 = "_lg_ww0fb_16";
1420
1491
  const md$7 = "_md_ww0fb_24";
1421
1492
  const red = "_red_ww0fb_32";
1422
- const accent$1 = "_accent_ww0fb_37";
1493
+ const accent$2 = "_accent_ww0fb_37";
1423
1494
  const neutral = "_neutral_ww0fb_42";
1424
1495
  const secondary$2 = "_secondary_ww0fb_47";
1425
1496
  const white = "_white_ww0fb_52";
@@ -1428,7 +1499,7 @@ const styles$v = {
1428
1499
  lg: lg$4,
1429
1500
  md: md$7,
1430
1501
  red: red,
1431
- accent: accent$1,
1502
+ accent: accent$2,
1432
1503
  neutral: neutral,
1433
1504
  secondary: secondary$2,
1434
1505
  white: white
@@ -2353,7 +2424,7 @@ DropdownMenu.Item = DropdownItem;
2353
2424
  DropdownMenu.Portal = DropdownPortal;
2354
2425
 
2355
2426
  const notificationInline = "_notificationInline_1kerp_2";
2356
- const accent = "_accent_1kerp_10";
2427
+ const accent$1 = "_accent_1kerp_10";
2357
2428
  const negative = "_negative_1kerp_16";
2358
2429
  const positive = "_positive_1kerp_22";
2359
2430
  const warning = "_warning_1kerp_28";
@@ -2369,7 +2440,7 @@ const description = "_description_1kerp_100";
2369
2440
  const actions = "_actions_1kerp_108";
2370
2441
  const styles$o = {
2371
2442
  notificationInline: notificationInline,
2372
- accent: accent,
2443
+ accent: accent$1,
2373
2444
  negative: negative,
2374
2445
  positive: positive,
2375
2446
  warning: warning,
@@ -2545,26 +2616,33 @@ function Pagination(props) {
2545
2616
  }
2546
2617
  Pagination.Item = PaginationItem;
2547
2618
 
2548
- const root = "_root_33gbh_2";
2549
- const segment = "_segment_33gbh_10";
2550
- const flexGrow = "_flexGrow_33gbh_19";
2551
- const fill$1 = "_fill_33gbh_23";
2552
- const trail = "_trail_33gbh_28";
2553
- const sm$2 = "_sm_33gbh_32";
2554
- const md$5 = "_md_33gbh_36";
2619
+ const root = "_root_1lyc4_2";
2620
+ const segment = "_segment_1lyc4_10";
2621
+ const flexGrow = "_flexGrow_1lyc4_19";
2622
+ const fill$1 = "_fill_1lyc4_23";
2623
+ const trail = "_trail_1lyc4_28";
2624
+ const xs = "_xs_1lyc4_32";
2625
+ const sm$2 = "_sm_1lyc4_36";
2626
+ const md$5 = "_md_1lyc4_40";
2627
+ const accent = "_accent_1lyc4_44";
2628
+ const green = "_green_1lyc4_48";
2555
2629
  const styles$l = {
2556
2630
  root: root,
2557
2631
  segment: segment,
2558
2632
  flexGrow: flexGrow,
2559
2633
  fill: fill$1,
2560
2634
  trail: trail,
2635
+ xs: xs,
2561
2636
  sm: sm$2,
2562
- md: md$5
2637
+ md: md$5,
2638
+ accent: accent,
2639
+ green: green
2563
2640
  };
2564
2641
 
2565
2642
  function ProgressBarLinear({
2566
2643
  className,
2567
2644
  size = "md",
2645
+ color = "accent",
2568
2646
  percent,
2569
2647
  showFillOnZero,
2570
2648
  ...props
@@ -2573,7 +2651,7 @@ function ProgressBarLinear({
2573
2651
  return /* @__PURE__ */ jsxRuntime.jsxs(
2574
2652
  "div",
2575
2653
  {
2576
- className: classNames(styles$l.root, styles$l[size], className),
2654
+ className: classNames(styles$l.root, styles$l[size], styles$l[color], className),
2577
2655
  role: "progressbar",
2578
2656
  "aria-valuenow": clampedPercent,
2579
2657
  "aria-valuemin": 0,
@@ -2601,6 +2679,7 @@ function ProgressBarLinear({
2601
2679
  function ProgressBarSteps({
2602
2680
  className,
2603
2681
  size = "md",
2682
+ color = "accent",
2604
2683
  currentStep,
2605
2684
  totalSteps,
2606
2685
  ...props
@@ -2621,7 +2700,7 @@ function ProgressBarSteps({
2621
2700
  return /* @__PURE__ */ jsxRuntime.jsx(
2622
2701
  "div",
2623
2702
  {
2624
- className: classNames(styles$l.root, styles$l[size], className),
2703
+ className: classNames(styles$l.root, styles$l[size], styles$l[color], className),
2625
2704
  role: "progressbar",
2626
2705
  "aria-valuenow": clampedCurrent,
2627
2706
  "aria-valuemin": 0,
package/dist/index.d.ts CHANGED
@@ -10,17 +10,20 @@ import { SetStateAction } from 'react';
10
10
  * Badge displays a label or indicator with customizable color and size.
11
11
  * Supports multiple color schemes and display modes for different contexts.
12
12
  *
13
- * @param size - Size of the badge (lg, md)
14
- * @param color - Color scheme (accent, violet, pink, red, orange, green, neutral)
15
- * @param mode - Display mode (primary, secondary)
13
+ * @param size - Size of the badge (lg, md, sm)
14
+ * @param color - Color scheme (accent, violet, pink, red, orange, green, neutral); ignored in glass mode
15
+ * @param mode - Display mode (primary, secondary, glass); glass is a translucent white badge for colored backgrounds
16
+ * @param shape - Corner shape (default, pill); pill rounds the corners fully without changing paddings
16
17
  */
17
- export declare function Badge({ children, className, size, color, mode, ...props }: TBadgeProps): JSX.Element;
18
+ export declare function Badge({ children, className, size, color, mode, shape, ...props }: TBadgeProps): JSX.Element;
18
19
 
19
20
  declare const BADGE_COLORS: readonly ["accent", "violet", "pink", "red", "orange", "green", "neutral"];
20
21
 
21
- declare const BADGE_MODES: readonly ["primary", "secondary"];
22
+ declare const BADGE_MODES: readonly ["primary", "secondary", "glass"];
22
23
 
23
- declare const BADGE_SIZES: readonly ["lg", "md"];
24
+ declare const BADGE_SHAPES: readonly ["default", "pill"];
25
+
26
+ declare const BADGE_SIZES: readonly ["lg", "md", "sm"];
24
27
 
25
28
  declare const BADGE_TABS_ITEM_MODES: readonly ["primary", "secondary"];
26
29
 
@@ -74,25 +77,31 @@ export declare namespace Breadcrumbs {
74
77
  * Button renders a clickable button element with various styles.
75
78
  * Supports the asChild pattern for polymorphic rendering via Slot.
76
79
  *
77
- * @param color - Color variant of the button (accent, neutral)
78
- * @param size - Size of the button (lg, md, sm)
80
+ * @param color - Color variant of the button (accent, neutral, white); white is an inverted variant for colored backgrounds
81
+ * @param size - Size of the button (lg, md, sm, md-sm); md-sm is 40px high
79
82
  * @param mode - Visual mode of the button (primary, secondary, tertiary, line)
83
+ * @param shape - Corner shape (default, pill, circle, square); circle and square render a square icon button as wide as the size is high
84
+ * @param elevated - Whether to cast a floating shadow, e.g. for a button over an image
80
85
  * @param asChild - When true, merges props onto the child element instead of rendering a button
81
86
  * @param children - Content to display inside the button
82
87
  */
83
- export declare function Button({ children, className, color, size, mode, asChild, ...props }: TButtonPropsWithAsChild): JSX.Element;
88
+ export declare function Button({ children, className, color, size, mode, shape, elevated, asChild, ...props }: TButtonPropsWithAsChild): JSX.Element;
84
89
 
85
90
  export declare namespace Button {
86
91
  var Function: typeof ButtonFunction;
87
92
  }
88
93
 
89
- declare const BUTTON_COLORS: readonly ["accent", "neutral"];
94
+ declare const BUTTON_COLORS: readonly ["accent", "neutral", "white"];
95
+
96
+ declare const BUTTON_FUNCTION_COLORS: readonly ["accent", "neutral"];
90
97
 
91
98
  declare const BUTTON_FUNCTION_SIZES: readonly ["lg", "md"];
92
99
 
93
100
  declare const BUTTON_MODES: readonly ["primary", "secondary", "line", "tertiary"];
94
101
 
95
- declare const BUTTON_SIZES: readonly ["lg", "md", "sm"];
102
+ declare const BUTTON_SHAPES: readonly ["default", "pill", "circle", "square"];
103
+
104
+ declare const BUTTON_SIZES: readonly ["lg", "md", "sm", "md-sm"];
96
105
 
97
106
  declare function ButtonFunction({ children, className, color, size, asChild, ...props }: TButtonFunctionProps): JSX.Element;
98
107
 
@@ -111,13 +120,23 @@ export declare function Checkbox({ className, label, indeterminate, ...props }:
111
120
  /**
112
121
  * Chip renders a compact, selectable tag element.
113
122
  * Supports selected and disabled states for interactive filtering and selection.
123
+ * Supports the asChild pattern for polymorphic rendering via Slot, e.g. to render the chip as a link.
114
124
  *
115
125
  * @param isSelected - Whether the chip is in selected state
116
126
  * @param disabled - Whether the chip is disabled
127
+ * @param icon - Leading icon; inherits the text color, accent while the chip is not selected
128
+ * @param shape - Corner shape (default, pill)
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
131
+ * @param asChild - When true, merges props onto the child element instead of rendering a div
117
132
  * @param className - Additional CSS classes
118
133
  * @param children - Content to display inside the chip
119
134
  */
120
- export declare function Chip({ isSelected, children, className, disabled, ...props }: TChipProps): JSX.Element;
135
+ export declare function Chip({ isSelected, children, className, disabled, icon, shape, mode, asChild, ...props }: TChipProps): JSX.Element;
136
+
137
+ declare const CHIP_MODES: readonly ["default", "glass", "white"];
138
+
139
+ declare const CHIP_SHAPES: readonly ["default", "pill"];
121
140
 
122
141
  export declare function Counter({ className, size, color, ...props }: TCounterProps): JSX.Element;
123
142
 
@@ -476,13 +495,16 @@ declare function PaginationItem({ className, children, size, isCurrent, ...props
476
495
 
477
496
  declare function PaginationRoot({ totalPages, currentPage, size, maxVisiblePages, showArrows, className, onPageChange, renderItem: PaginationItem, renderIconChevron: IconChevron, renderEllipsis: Ellipsis, ...props }: TPaginationRootProps): JSX.Element;
478
497
 
479
- declare const PROGRESS_BAR_SIZES: readonly ["sm", "md"];
498
+ declare const PROGRESS_BAR_COLORS: readonly ["accent", "green"];
499
+
500
+ declare const PROGRESS_BAR_SIZES: readonly ["sm", "md", "xs"];
480
501
 
481
502
  /**
482
503
  * ProgressBar is a compound component for displaying progress indicators.
483
504
  * Provides flexible building blocks for linear and step-based progress visualization.
484
505
  *
485
- * @param size - Size variant of the progress bar (sm, md)
506
+ * @param size - Size variant of the progress bar (sm, md, xs)
507
+ * @param color - Fill color (accent, green); the track stays the same
486
508
  * @param percent - Progress percentage (0-100)
487
509
  * @param showFillOnZero - Whether to render the fill segment at 0%
488
510
  * @param className - Additional CSS classes
@@ -498,9 +520,9 @@ export declare namespace ProgressBar {
498
520
  var Steps: typeof ProgressBarSteps;
499
521
  }
500
522
 
501
- declare function ProgressBarLinear({ className, size, percent, showFillOnZero, ...props }: TProgressBarLinearProps): JSX.Element;
523
+ declare function ProgressBarLinear({ className, size, color, percent, showFillOnZero, ...props }: TProgressBarLinearProps): JSX.Element;
502
524
 
503
- declare function ProgressBarSteps({ className, size, currentStep, totalSteps, ...props }: TProgressBarStepsProps): JSX.Element;
525
+ declare function ProgressBarSteps({ className, size, color, currentStep, totalSteps, ...props }: TProgressBarStepsProps): JSX.Element;
504
526
 
505
527
  /**
506
528
  * RadioButton renders a radio input with label and visual indicator.
@@ -735,6 +757,7 @@ declare type TBadgeProps = React.HTMLAttributes<HTMLDivElement> & {
735
757
  size?: TArrayElement<typeof BADGE_SIZES>;
736
758
  color?: TArrayElement<typeof BADGE_COLORS>;
737
759
  mode?: TArrayElement<typeof BADGE_MODES>;
760
+ shape?: TArrayElement<typeof BADGE_SHAPES>;
738
761
  };
739
762
 
740
763
  declare type TBadgeTabsItemProps = React.ButtonHTMLAttributes<HTMLButtonElement> & {
@@ -763,11 +786,13 @@ declare type TButtonCommonProps = {
763
786
  color?: TArrayElement<typeof BUTTON_COLORS>;
764
787
  size?: TArrayElement<typeof BUTTON_SIZES>;
765
788
  mode?: TArrayElement<typeof BUTTON_MODES>;
789
+ shape?: TArrayElement<typeof BUTTON_SHAPES>;
790
+ elevated?: boolean;
766
791
  className?: string;
767
792
  };
768
793
 
769
794
  declare type TButtonFunctionProps = TAsChildProps<React.ButtonHTMLAttributes<HTMLButtonElement>> & {
770
- color?: TArrayElement<typeof BUTTON_COLORS>;
795
+ color?: TArrayElement<typeof BUTTON_FUNCTION_COLORS>;
771
796
  size?: TArrayElement<typeof BUTTON_FUNCTION_SIZES>;
772
797
  className?: string;
773
798
  disabled?: boolean;
@@ -792,9 +817,13 @@ declare type TCheckboxProps = React.InputHTMLAttributes<HTMLInputElement> & {
792
817
  ref?: React.RefObject<HTMLInputElement | null>;
793
818
  };
794
819
 
795
- declare type TChipProps = React.HTMLAttributes<HTMLDivElement> & {
820
+ declare type TChipProps = TAsChildProps<React.HTMLAttributes<HTMLDivElement>> & {
796
821
  isSelected?: boolean;
797
822
  disabled?: boolean;
823
+ icon?: React.ReactNode;
824
+ shape?: TArrayElement<typeof CHIP_SHAPES>;
825
+ mode?: TArrayElement<typeof CHIP_MODES>;
826
+ className?: string;
798
827
  };
799
828
 
800
829
  declare type TCounterProps = React.HTMLAttributes<HTMLDivElement> & {
@@ -957,12 +986,14 @@ declare type TPortalPlacement = {
957
986
 
958
987
  declare type TProgressBarLinearProps = Omit<React.HTMLAttributes<HTMLDivElement>, 'children'> & {
959
988
  size?: TArrayElement<typeof PROGRESS_BAR_SIZES>;
989
+ color?: TArrayElement<typeof PROGRESS_BAR_COLORS>;
960
990
  percent: number;
961
991
  showFillOnZero?: boolean;
962
992
  };
963
993
 
964
994
  declare type TProgressBarStepsProps = Omit<React.HTMLAttributes<HTMLDivElement>, 'children'> & {
965
995
  size?: TArrayElement<typeof PROGRESS_BAR_SIZES>;
996
+ color?: TArrayElement<typeof PROGRESS_BAR_COLORS>;
966
997
  currentStep: number;
967
998
  totalSteps: number;
968
999
  };
package/dist/index.js CHANGED
@@ -47,35 +47,56 @@ function omit(object, ...keys) {
47
47
  return Object.fromEntries(filteredEntries);
48
48
  }
49
49
 
50
- const badge = "_badge_1s8y9_2";
51
- const primary$4 = "_primary_1s8y9_9";
52
- const secondary$5 = "_secondary_1s8y9_13";
53
- const accent$4 = "_accent_1s8y9_18";
54
- const violet = "_violet_1s8y9_23";
55
- const pink = "_pink_1s8y9_28";
56
- const red$1 = "_red_1s8y9_33";
57
- const orange = "_orange_1s8y9_38";
58
- const green = "_green_1s8y9_43";
59
- const neutral$3 = "_neutral_1s8y9_48";
60
- const lg$7 = "_lg_1s8y9_53";
61
- const md$a = "_md_1s8y9_60";
50
+ const badge = "_badge_x6ia4_2";
51
+ const primary$4 = "_primary_x6ia4_9";
52
+ const secondary$5 = "_secondary_x6ia4_13";
53
+ const glass$1 = "_glass_x6ia4_18";
54
+ const accent$5 = "_accent_x6ia4_23";
55
+ const violet = "_violet_x6ia4_28";
56
+ const pink = "_pink_x6ia4_33";
57
+ const red$1 = "_red_x6ia4_38";
58
+ const orange = "_orange_x6ia4_43";
59
+ const green$1 = "_green_x6ia4_48";
60
+ const neutral$3 = "_neutral_x6ia4_54";
61
+ const lg$7 = "_lg_x6ia4_59";
62
+ const md$a = "_md_x6ia4_66";
63
+ const sm$5 = "_sm_x6ia4_73";
64
+ const pill$2 = "_pill_x6ia4_80";
62
65
  const styles$E = {
63
66
  badge: badge,
64
67
  primary: primary$4,
65
68
  secondary: secondary$5,
66
- accent: accent$4,
69
+ glass: glass$1,
70
+ accent: accent$5,
67
71
  violet: violet,
68
72
  pink: pink,
69
73
  red: red$1,
70
74
  orange: orange,
71
- green: green,
75
+ green: green$1,
72
76
  neutral: neutral$3,
73
77
  lg: lg$7,
74
- md: md$a
78
+ md: md$a,
79
+ sm: sm$5,
80
+ pill: pill$2
75
81
  };
76
82
 
77
- function Badge({ children, className, size = "lg", color = "accent", mode = "primary", ...props }) {
78
- return /* @__PURE__ */ jsx("div", { className: classNames(styles$E.badge, styles$E[size], styles$E[color], styles$E[mode], className), ...props, children });
83
+ function Badge({
84
+ children,
85
+ className,
86
+ size = "lg",
87
+ color = "accent",
88
+ mode = "primary",
89
+ shape = "default",
90
+ ...props
91
+ }) {
92
+ return /* @__PURE__ */ jsx(
93
+ "div",
94
+ {
95
+ className: classNames(styles$E.badge, styles$E[size], styles$E[color], styles$E[mode], styles$E[shape], className),
96
+ ...props,
97
+ children
98
+ }
99
+ );
79
100
  }
80
101
 
81
102
  const badgeTabsItem = "_badgeTabsItem_10lit_2";
@@ -1286,37 +1307,48 @@ function Breadcrumbs({
1286
1307
  }
1287
1308
  Breadcrumbs.Item = BreadcrumbItem;
1288
1309
 
1289
- const button = "_button_1waqk_2";
1290
- const accent$3 = "_accent_1waqk_11";
1291
- const primary$2 = "_primary_1waqk_12";
1292
- const secondary$3 = "_secondary_1waqk_30";
1293
- const tertiary = "_tertiary_1waqk_48";
1294
- const line = "_line_1waqk_49";
1295
- const neutral$2 = "_neutral_1waqk_78";
1296
- const lg$6 = "_lg_1waqk_145";
1297
- const md$9 = "_md_1waqk_153";
1298
- const sm$4 = "_sm_1waqk_161";
1310
+ const button = "_button_11nu9_2";
1311
+ const accent$4 = "_accent_11nu9_12";
1312
+ const primary$2 = "_primary_11nu9_13";
1313
+ const secondary$3 = "_secondary_11nu9_31";
1314
+ const tertiary = "_tertiary_11nu9_49";
1315
+ const line = "_line_11nu9_50";
1316
+ const neutral$2 = "_neutral_11nu9_79";
1317
+ const white$2 = "_white_11nu9_146";
1318
+ const lg$6 = "_lg_11nu9_213";
1319
+ const md$9 = "_md_11nu9_222";
1320
+ const sm$4 = "_sm_11nu9_240";
1321
+ const pill$1 = "_pill_11nu9_249";
1322
+ const circle = "_circle_11nu9_250";
1323
+ const square = "_square_11nu9_255";
1324
+ const elevated = "_elevated_11nu9_266";
1299
1325
  const styles$z = {
1300
1326
  button: button,
1301
- accent: accent$3,
1327
+ accent: accent$4,
1302
1328
  primary: primary$2,
1303
1329
  secondary: secondary$3,
1304
1330
  tertiary: tertiary,
1305
1331
  line: line,
1306
1332
  neutral: neutral$2,
1333
+ white: white$2,
1307
1334
  lg: lg$6,
1308
1335
  md: md$9,
1309
- sm: sm$4
1336
+ "md-sm": "_md-sm_11nu9_231",
1337
+ sm: sm$4,
1338
+ pill: pill$1,
1339
+ circle: circle,
1340
+ square: square,
1341
+ elevated: elevated
1310
1342
  };
1311
1343
 
1312
1344
  const buttonFunction = "_buttonFunction_o8iku_2";
1313
- const accent$2 = "_accent_o8iku_10";
1345
+ const accent$3 = "_accent_o8iku_10";
1314
1346
  const neutral$1 = "_neutral_o8iku_22";
1315
1347
  const lg$5 = "_lg_o8iku_41";
1316
1348
  const md$8 = "_md_o8iku_46";
1317
1349
  const styles$y = {
1318
1350
  buttonFunction: buttonFunction,
1319
- accent: accent$2,
1351
+ accent: accent$3,
1320
1352
  neutral: neutral$1,
1321
1353
  lg: lg$5,
1322
1354
  md: md$8
@@ -1349,6 +1381,8 @@ function Button({
1349
1381
  color = "accent",
1350
1382
  size = "lg",
1351
1383
  mode = "primary",
1384
+ shape = "default",
1385
+ elevated,
1352
1386
  asChild,
1353
1387
  ...props
1354
1388
  }) {
@@ -1356,7 +1390,15 @@ function Button({
1356
1390
  return /* @__PURE__ */ jsx(
1357
1391
  Component,
1358
1392
  {
1359
- className: classNames(styles$z.button, styles$z[color], styles$z[size], styles$z[mode], className),
1393
+ className: classNames(
1394
+ styles$z.button,
1395
+ styles$z[color],
1396
+ styles$z[size],
1397
+ styles$z[mode],
1398
+ styles$z[shape],
1399
+ elevated ? styles$z.elevated : void 0,
1400
+ className
1401
+ ),
1360
1402
  ...!asChild && { type: "button" },
1361
1403
  ...props,
1362
1404
  children
@@ -1366,11 +1408,11 @@ function Button({
1366
1408
  Button.Function = ButtonFunction;
1367
1409
 
1368
1410
  const checkboxWrapper = "_checkboxWrapper_k1shg_2";
1369
- const icon$2 = "_icon_k1shg_23";
1411
+ const icon$3 = "_icon_k1shg_23";
1370
1412
  const checkbox = "_checkbox_k1shg_2";
1371
1413
  const styles$x = {
1372
1414
  checkboxWrapper: checkboxWrapper,
1373
- icon: icon$2,
1415
+ icon: icon$3,
1374
1416
  checkbox: checkbox
1375
1417
  };
1376
1418
 
@@ -1392,21 +1434,50 @@ function Checkbox({ className, label, indeterminate, ...props }) {
1392
1434
  );
1393
1435
  }
1394
1436
 
1395
- const chip = "_chip_dj4kw_2";
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";
1396
1442
  const styles$w = {
1397
- chip: chip
1443
+ chip: chip,
1444
+ glass: glass,
1445
+ white: white$1,
1446
+ pill: pill,
1447
+ icon: icon$2
1398
1448
  };
1399
1449
 
1400
- function Chip({ isSelected, children, className, disabled, ...props }) {
1450
+ function prependToChild(child, node) {
1451
+ if (!node || !isValidElement(child)) {
1452
+ return child;
1453
+ }
1454
+ return cloneElement(child, void 0, node, child.props.children);
1455
+ }
1456
+ function Chip({
1457
+ isSelected,
1458
+ children,
1459
+ className,
1460
+ disabled,
1461
+ icon,
1462
+ shape = "default",
1463
+ mode = "default",
1464
+ asChild,
1465
+ ...props
1466
+ }) {
1467
+ const Component = asChild ? Slot : "div";
1468
+ const iconElement = icon ? /* @__PURE__ */ jsx("span", { className: styles$w.icon, "aria-hidden": "true", children: icon }) : void 0;
1401
1469
  return /* @__PURE__ */ jsx(
1402
- "div",
1470
+ Component,
1403
1471
  {
1404
- className: classNames(styles$w.chip, className),
1472
+ className: classNames(styles$w.chip, styles$w[shape], styles$w[mode], className),
1405
1473
  "data-selected": isSelected,
1406
1474
  "data-disabled": disabled,
1407
1475
  "aria-disabled": disabled,
1408
1476
  ...props,
1409
- children
1477
+ children: asChild ? prependToChild(children, iconElement) : /* @__PURE__ */ jsxs(Fragment$1, { children: [
1478
+ iconElement,
1479
+ children
1480
+ ] })
1410
1481
  }
1411
1482
  );
1412
1483
  }
@@ -1415,7 +1486,7 @@ const root$1 = "_root_ww0fb_2";
1415
1486
  const lg$4 = "_lg_ww0fb_16";
1416
1487
  const md$7 = "_md_ww0fb_24";
1417
1488
  const red = "_red_ww0fb_32";
1418
- const accent$1 = "_accent_ww0fb_37";
1489
+ const accent$2 = "_accent_ww0fb_37";
1419
1490
  const neutral = "_neutral_ww0fb_42";
1420
1491
  const secondary$2 = "_secondary_ww0fb_47";
1421
1492
  const white = "_white_ww0fb_52";
@@ -1424,7 +1495,7 @@ const styles$v = {
1424
1495
  lg: lg$4,
1425
1496
  md: md$7,
1426
1497
  red: red,
1427
- accent: accent$1,
1498
+ accent: accent$2,
1428
1499
  neutral: neutral,
1429
1500
  secondary: secondary$2,
1430
1501
  white: white
@@ -2349,7 +2420,7 @@ DropdownMenu.Item = DropdownItem;
2349
2420
  DropdownMenu.Portal = DropdownPortal;
2350
2421
 
2351
2422
  const notificationInline = "_notificationInline_1kerp_2";
2352
- const accent = "_accent_1kerp_10";
2423
+ const accent$1 = "_accent_1kerp_10";
2353
2424
  const negative = "_negative_1kerp_16";
2354
2425
  const positive = "_positive_1kerp_22";
2355
2426
  const warning = "_warning_1kerp_28";
@@ -2365,7 +2436,7 @@ const description = "_description_1kerp_100";
2365
2436
  const actions = "_actions_1kerp_108";
2366
2437
  const styles$o = {
2367
2438
  notificationInline: notificationInline,
2368
- accent: accent,
2439
+ accent: accent$1,
2369
2440
  negative: negative,
2370
2441
  positive: positive,
2371
2442
  warning: warning,
@@ -2541,26 +2612,33 @@ function Pagination(props) {
2541
2612
  }
2542
2613
  Pagination.Item = PaginationItem;
2543
2614
 
2544
- const root = "_root_33gbh_2";
2545
- const segment = "_segment_33gbh_10";
2546
- const flexGrow = "_flexGrow_33gbh_19";
2547
- const fill$1 = "_fill_33gbh_23";
2548
- const trail = "_trail_33gbh_28";
2549
- const sm$2 = "_sm_33gbh_32";
2550
- const md$5 = "_md_33gbh_36";
2615
+ const root = "_root_1lyc4_2";
2616
+ const segment = "_segment_1lyc4_10";
2617
+ const flexGrow = "_flexGrow_1lyc4_19";
2618
+ const fill$1 = "_fill_1lyc4_23";
2619
+ const trail = "_trail_1lyc4_28";
2620
+ const xs = "_xs_1lyc4_32";
2621
+ const sm$2 = "_sm_1lyc4_36";
2622
+ const md$5 = "_md_1lyc4_40";
2623
+ const accent = "_accent_1lyc4_44";
2624
+ const green = "_green_1lyc4_48";
2551
2625
  const styles$l = {
2552
2626
  root: root,
2553
2627
  segment: segment,
2554
2628
  flexGrow: flexGrow,
2555
2629
  fill: fill$1,
2556
2630
  trail: trail,
2631
+ xs: xs,
2557
2632
  sm: sm$2,
2558
- md: md$5
2633
+ md: md$5,
2634
+ accent: accent,
2635
+ green: green
2559
2636
  };
2560
2637
 
2561
2638
  function ProgressBarLinear({
2562
2639
  className,
2563
2640
  size = "md",
2641
+ color = "accent",
2564
2642
  percent,
2565
2643
  showFillOnZero,
2566
2644
  ...props
@@ -2569,7 +2647,7 @@ function ProgressBarLinear({
2569
2647
  return /* @__PURE__ */ jsxs(
2570
2648
  "div",
2571
2649
  {
2572
- className: classNames(styles$l.root, styles$l[size], className),
2650
+ className: classNames(styles$l.root, styles$l[size], styles$l[color], className),
2573
2651
  role: "progressbar",
2574
2652
  "aria-valuenow": clampedPercent,
2575
2653
  "aria-valuemin": 0,
@@ -2597,6 +2675,7 @@ function ProgressBarLinear({
2597
2675
  function ProgressBarSteps({
2598
2676
  className,
2599
2677
  size = "md",
2678
+ color = "accent",
2600
2679
  currentStep,
2601
2680
  totalSteps,
2602
2681
  ...props
@@ -2617,7 +2696,7 @@ function ProgressBarSteps({
2617
2696
  return /* @__PURE__ */ jsx(
2618
2697
  "div",
2619
2698
  {
2620
- className: classNames(styles$l.root, styles$l[size], className),
2699
+ className: classNames(styles$l.root, styles$l[size], styles$l[color], className),
2621
2700
  role: "progressbar",
2622
2701
  "aria-valuenow": clampedCurrent,
2623
2702
  "aria-valuemin": 0,
package/dist/style.css CHANGED
@@ -251,6 +251,12 @@ textarea {
251
251
  --color-white: #ffffff;
252
252
  --color-transparent: transparent;
253
253
 
254
+ --color-white-alpha-500: color-mix(in srgb, var(--color-white) 50%, var(--color-transparent));
255
+ --color-white-alpha-400: color-mix(in srgb, var(--color-white) 40%, var(--color-transparent));
256
+ --color-white-alpha-300: color-mix(in srgb, var(--color-white) 30%, var(--color-transparent));
257
+ --color-white-alpha-200: color-mix(in srgb, var(--color-white) 20%, var(--color-transparent));
258
+ --color-white-alpha-100: color-mix(in srgb, var(--color-white) 10%, var(--color-transparent));
259
+
254
260
  --color-neutral: #111217;
255
261
  --color-neutral-920: color-mix(in srgb, var(--color-neutral) 92.1%, var(--color-white) 7.9%);
256
262
  --color-neutral-880: color-mix(in srgb, var(--color-neutral) 87.8%, var(--color-white) 12.2%);
@@ -292,6 +298,7 @@ textarea {
292
298
  --color-orange-alpha-100: color-mix(in srgb, var(--color-orange) 10%, var(--color-transparent));
293
299
 
294
300
  --color-green: #00d06f;
301
+ --color-green-900: color-mix(in srgb, var(--color-green) 55%, var(--color-neutral));
295
302
  --color-green-alpha-500: color-mix(in srgb, var(--color-green) 50%, var(--color-transparent));
296
303
  --color-green-alpha-100: color-mix(in srgb, var(--color-green) 10%, var(--color-transparent));
297
304
 
@@ -350,6 +357,12 @@ textarea {
350
357
  --font-weight-medium: 500;
351
358
  --font-weight-bold: 600;
352
359
 
360
+ --shadow-card:
361
+ 0 1px 2px color-mix(in srgb, var(--color-neutral) 4%, var(--color-transparent)),
362
+ 0 8px 24px color-mix(in srgb, var(--color-neutral) 6%, var(--color-transparent));
363
+ --shadow-floating-button: 0 4px 14px color-mix(in srgb, var(--color-neutral) 16%, var(--color-transparent));
364
+ --shadow-capsule: 0 6px 20px color-mix(in srgb, var(--color-neutral) 10%, var(--color-transparent));
365
+
353
366
  --transition-duration-default: 0.15s;
354
367
 
355
368
  --aspect-ratio-square: 1 / 1;
@@ -358,70 +371,87 @@ textarea {
358
371
  }
359
372
  }
360
373
  @layer ui_baza_components {
361
- ._badge_1s8y9_2 {
374
+ ._badge_x6ia4_2 {
362
375
  display: flex;
363
376
  align-items: center;
364
377
  justify-content: center;
365
378
  color: var(--color-white);
366
379
  font-weight: var(--font-weight-bold);
367
380
 
368
- &._primary_1s8y9_9 {
381
+ &._primary_x6ia4_9 {
369
382
  background-color: var(--badge-color);
370
383
  }
371
384
 
372
- &._secondary_1s8y9_13 {
385
+ &._secondary_x6ia4_13 {
373
386
  background-color: var(--badge-color-alpha);
374
- color: var(--badge-color);
387
+ color: var(--badge-color-on-alpha, var(--badge-color));
388
+ }
389
+
390
+ &._glass_x6ia4_18 {
391
+ background-color: var(--color-white-alpha-200);
392
+ color: var(--color-white);
375
393
  }
376
394
 
377
- &._accent_1s8y9_18 {
395
+ &._accent_x6ia4_23 {
378
396
  --badge-color: var(--color-accent);
379
397
  --badge-color-alpha: var(--color-accent-alpha-100);
380
398
  }
381
399
 
382
- &._violet_1s8y9_23 {
400
+ &._violet_x6ia4_28 {
383
401
  --badge-color: var(--color-violet);
384
402
  --badge-color-alpha: var(--color-violet-alpha-100);
385
403
  }
386
404
 
387
- &._pink_1s8y9_28 {
405
+ &._pink_x6ia4_33 {
388
406
  --badge-color: var(--color-pink);
389
407
  --badge-color-alpha: var(--color-pink-alpha-100);
390
408
  }
391
409
 
392
- &._red_1s8y9_33 {
410
+ &._red_x6ia4_38 {
393
411
  --badge-color: var(--color-red);
394
412
  --badge-color-alpha: var(--color-red-alpha-100);
395
413
  }
396
414
 
397
- &._orange_1s8y9_38 {
415
+ &._orange_x6ia4_43 {
398
416
  --badge-color: var(--color-orange);
399
417
  --badge-color-alpha: var(--color-orange-alpha-100);
400
418
  }
401
419
 
402
- &._green_1s8y9_43 {
420
+ &._green_x6ia4_48 {
403
421
  --badge-color: var(--color-green);
404
422
  --badge-color-alpha: var(--color-green-alpha-100);
423
+ --badge-color-on-alpha: var(--color-green-900);
405
424
  }
406
425
 
407
- &._neutral_1s8y9_48 {
426
+ &._neutral_x6ia4_54 {
408
427
  --badge-color: var(--color-neutral);
409
428
  --badge-color-alpha: var(--color-neutral-alpha-60);
410
429
  }
411
430
 
412
- &._lg_1s8y9_53 {
431
+ &._lg_x6ia4_59 {
413
432
  padding: var(--space-sm);
414
433
  border-radius: var(--radius-md);
415
434
  font-size: var(--size-sm);
416
435
  line-height: var(--line-height-md);
417
436
  }
418
437
 
419
- &._md_1s8y9_60 {
438
+ &._md_x6ia4_66 {
420
439
  padding: var(--space-xs);
421
440
  border-radius: var(--radius-sm);
422
441
  font-size: var(--size-xs);
423
442
  line-height: var(--line-height-sm);
424
443
  }
444
+
445
+ &._sm_x6ia4_73 {
446
+ padding: 0 var(--space-lg);
447
+ border-radius: var(--radius-sm);
448
+ font-size: var(--size-xs);
449
+ line-height: var(--line-height-lg);
450
+ }
451
+
452
+ &._pill_x6ia4_80 {
453
+ border-radius: var(--radius-full);
454
+ }
425
455
  }
426
456
  }
427
457
  @layer ui_baza_components {
@@ -539,17 +569,18 @@ textarea {
539
569
  }
540
570
  }
541
571
  @layer ui_baza_components {
542
- ._button_1waqk_2 {
572
+ ._button_11nu9_2 {
543
573
  --ring-width: 1px;
544
574
 
545
575
  display: inline-flex;
546
576
  align-items: center;
547
577
  justify-content: center;
578
+ min-height: var(--button-height);
548
579
  cursor: pointer;
549
580
  transition: all var(--transition-duration-default) ease-in-out;
550
581
 
551
- &._accent_1waqk_11 {
552
- &._primary_1waqk_12 {
582
+ &._accent_11nu9_12 {
583
+ &._primary_11nu9_13 {
553
584
  background-color: var(--color-accent);
554
585
  color: var(--color-white);
555
586
 
@@ -567,7 +598,7 @@ textarea {
567
598
  }
568
599
  }
569
600
 
570
- &._secondary_1waqk_30 {
601
+ &._secondary_11nu9_31 {
571
602
  background-color: var(--color-accent-alpha-100);
572
603
  color: var(--color-accent);
573
604
 
@@ -585,8 +616,8 @@ textarea {
585
616
  }
586
617
  }
587
618
 
588
- &._tertiary_1waqk_48,
589
- &._line_1waqk_49 {
619
+ &._tertiary_11nu9_49,
620
+ &._line_11nu9_50 {
590
621
  background-color: var(--color-transparent);
591
622
  color: var(--color-accent);
592
623
 
@@ -604,7 +635,7 @@ textarea {
604
635
  }
605
636
  }
606
637
 
607
- &._line_1waqk_49 {
638
+ &._line_11nu9_50 {
608
639
  --ring-color: var(--color-accent);
609
640
 
610
641
  box-shadow: inset 0 0 0 var(--ring-width) var(--ring-color);
@@ -615,8 +646,8 @@ textarea {
615
646
  }
616
647
  }
617
648
 
618
- &._neutral_1waqk_78 {
619
- &._primary_1waqk_12 {
649
+ &._neutral_11nu9_79 {
650
+ &._primary_11nu9_13 {
620
651
  background-color: var(--color-neutral);
621
652
  color: var(--color-white);
622
653
 
@@ -634,7 +665,7 @@ textarea {
634
665
  }
635
666
  }
636
667
 
637
- &._secondary_1waqk_30 {
668
+ &._secondary_11nu9_31 {
638
669
  background-color: var(--color-neutral-alpha-60);
639
670
  color: var(--color-neutral);
640
671
 
@@ -652,8 +683,8 @@ textarea {
652
683
  }
653
684
  }
654
685
 
655
- &._tertiary_1waqk_48,
656
- &._line_1waqk_49 {
686
+ &._tertiary_11nu9_49,
687
+ &._line_11nu9_50 {
657
688
  background-color: var(--color-transparent);
658
689
  color: var(--color-neutral);
659
690
 
@@ -671,7 +702,7 @@ textarea {
671
702
  }
672
703
  }
673
704
 
674
- &._line_1waqk_49 {
705
+ &._line_11nu9_50 {
675
706
  --ring-color: var(--color-neutral-alpha-120);
676
707
 
677
708
  box-shadow: inset 0 0 0 var(--ring-width) var(--ring-color);
@@ -682,29 +713,135 @@ textarea {
682
713
  }
683
714
  }
684
715
 
685
- &._lg_1waqk_145 {
686
- min-height: calc(var(--line-height-lg) + var(--space-2xl) * 2);
716
+ &._white_11nu9_146 {
717
+ &._primary_11nu9_13 {
718
+ background-color: var(--color-white);
719
+ color: var(--color-neutral);
720
+
721
+ &:hover {
722
+ background-color: var(--color-neutral-40);
723
+ }
724
+
725
+ &:active {
726
+ background-color: var(--color-neutral-80);
727
+ }
728
+
729
+ &:disabled {
730
+ background-color: var(--button-disabled-background, var(--color-white-alpha-100));
731
+ color: var(--color-white-alpha-500);
732
+ }
733
+ }
734
+
735
+ &._secondary_11nu9_31 {
736
+ background-color: var(--color-white-alpha-200);
737
+ color: var(--color-white);
738
+
739
+ &:hover {
740
+ background-color: var(--color-white-alpha-300);
741
+ }
742
+
743
+ &:active {
744
+ background-color: var(--color-white-alpha-400);
745
+ }
746
+
747
+ &:disabled {
748
+ background-color: var(--button-disabled-background, var(--color-white-alpha-100));
749
+ color: var(--color-white-alpha-500);
750
+ }
751
+ }
752
+
753
+ &._tertiary_11nu9_49,
754
+ &._line_11nu9_50 {
755
+ background-color: var(--color-transparent);
756
+ color: var(--color-white);
757
+
758
+ &:hover {
759
+ background-color: var(--color-white-alpha-100);
760
+ }
761
+
762
+ &:active {
763
+ background-color: var(--color-white-alpha-200);
764
+ }
765
+
766
+ &:disabled {
767
+ background-color: var(--button-disabled-background, var(--color-transparent));
768
+ color: var(--color-white-alpha-500);
769
+ }
770
+ }
771
+
772
+ &._line_11nu9_50 {
773
+ --ring-color: var(--color-white-alpha-300);
774
+
775
+ box-shadow: inset 0 0 0 var(--ring-width) var(--ring-color);
776
+
777
+ &:disabled {
778
+ --ring-color: var(--color-white-alpha-200);
779
+ }
780
+ }
781
+ }
782
+
783
+ &._lg_11nu9_213 {
784
+ --button-height: calc(var(--line-height-lg) + var(--space-2xl) * 2);
785
+
687
786
  padding: var(--space-2xl);
688
787
  border-radius: var(--radius-xl);
689
788
  font-size: var(--size-md);
690
789
  line-height: var(--line-height-lg);
691
790
  }
692
791
 
693
- &._md_1waqk_153 {
694
- min-height: calc(var(--line-height-lg) + var(--space-lg) * 2);
792
+ &._md_11nu9_222 {
793
+ --button-height: calc(var(--line-height-lg) + var(--space-lg) * 2);
794
+
695
795
  padding: var(--space-lg);
696
796
  border-radius: var(--radius-lg);
697
797
  font-size: var(--size-md);
698
798
  line-height: var(--line-height-lg);
699
799
  }
700
800
 
701
- &._sm_1waqk_161 {
702
- min-height: calc(var(--line-height-md) + var(--space-sm) * 2);
801
+ &._md-sm_11nu9_231 {
802
+ --button-height: calc(var(--line-height-lg) + var(--space-md) * 2);
803
+
804
+ padding: var(--space-md);
805
+ border-radius: var(--radius-lg);
806
+ font-size: var(--size-md);
807
+ line-height: var(--line-height-lg);
808
+ }
809
+
810
+ &._sm_11nu9_240 {
811
+ --button-height: calc(var(--line-height-md) + var(--space-sm) * 2);
812
+
703
813
  padding: var(--space-sm);
704
814
  border-radius: var(--radius-md);
705
815
  font-size: var(--size-sm);
706
816
  line-height: var(--line-height-md);
707
817
  }
818
+
819
+ &._pill_11nu9_249,
820
+ &._circle_11nu9_250 {
821
+ border-radius: var(--radius-full);
822
+ }
823
+
824
+ &._circle_11nu9_250,
825
+ &._square_11nu9_255 {
826
+ flex-shrink: 0;
827
+ aspect-ratio: var(--aspect-ratio-square);
828
+ width: var(--button-height);
829
+ padding-inline: 0;
830
+ }
831
+
832
+ &._square_11nu9_255 {
833
+ border-radius: var(--radius-xl);
834
+ }
835
+
836
+ &._elevated_11nu9_266 {
837
+ box-shadow: var(--shadow-floating-button);
838
+ }
839
+
840
+ &._line_11nu9_50._elevated_11nu9_266 {
841
+ box-shadow:
842
+ inset 0 0 0 var(--ring-width) var(--ring-color),
843
+ var(--shadow-floating-button);
844
+ }
708
845
  }
709
846
  }
710
847
  @layer ui_baza_components {
@@ -823,7 +960,9 @@ textarea {
823
960
  }
824
961
  }
825
962
  @layer ui_baza_components {
826
- ._chip_dj4kw_2 {
963
+ ._chip_1i1br_2 {
964
+ --chip-icon-size: 16px;
965
+
827
966
  display: flex;
828
967
  align-items: center;
829
968
  justify-content: center;
@@ -854,6 +993,61 @@ textarea {
854
993
  color: var(--color-neutral-340);
855
994
  pointer-events: none;
856
995
  }
996
+
997
+ &._glass_1i1br_36 {
998
+ background-color: var(--color-white-alpha-200);
999
+ color: var(--color-white);
1000
+
1001
+ &:hover {
1002
+ background-color: var(--color-white-alpha-300);
1003
+ }
1004
+
1005
+ &[data-selected='true'] {
1006
+ background-color: var(--color-white);
1007
+ color: var(--color-neutral);
1008
+
1009
+ &:hover {
1010
+ background-color: var(--color-neutral-40);
1011
+ }
1012
+ }
1013
+
1014
+ &[data-disabled='true'] {
1015
+ background-color: var(--color-white-alpha-100);
1016
+ color: var(--color-white-alpha-500);
1017
+ }
1018
+ }
1019
+
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 {
1029
+ border-radius: var(--radius-full);
1030
+ }
1031
+
1032
+ ._icon_1i1br_71 {
1033
+ display: flex;
1034
+ flex-shrink: 0;
1035
+ width: var(--chip-icon-size);
1036
+ height: var(--chip-icon-size);
1037
+ margin-inline-end: var(--space-sm);
1038
+ color: var(--color-accent);
1039
+
1040
+ & > svg {
1041
+ width: 100%;
1042
+ height: 100%;
1043
+ }
1044
+ }
1045
+
1046
+ &[data-selected='true'] ._icon_1i1br_71,
1047
+ &[data-disabled='true'] ._icon_1i1br_71,
1048
+ &._glass_1i1br_36 ._icon_1i1br_71 {
1049
+ color: inherit;
1050
+ }
857
1051
  }
858
1052
  }
859
1053
  @layer ui_baza_components {
@@ -1318,7 +1512,7 @@ textarea {
1318
1512
  }
1319
1513
  }
1320
1514
  @layer ui_baza_components {
1321
- ._root_33gbh_2 {
1515
+ ._root_1lyc4_2 {
1322
1516
  display: flex;
1323
1517
  align-items: center;
1324
1518
  width: 100%;
@@ -1326,7 +1520,7 @@ textarea {
1326
1520
  gap: var(--space-xs);
1327
1521
  }
1328
1522
 
1329
- ._segment_33gbh_10 {
1523
+ ._segment_1lyc4_10 {
1330
1524
  min-width: var(--progress-bar-height);
1331
1525
  height: 100%;
1332
1526
  border-radius: var(--radius-5xl);
@@ -1335,26 +1529,38 @@ textarea {
1335
1529
  width var(--transition-duration-default) ease-in-out;
1336
1530
  }
1337
1531
 
1338
- ._flexGrow_33gbh_19 {
1532
+ ._flexGrow_1lyc4_19 {
1339
1533
  flex: 1 1 0;
1340
1534
  }
1341
1535
 
1342
- ._fill_33gbh_23 {
1536
+ ._fill_1lyc4_23 {
1343
1537
  width: var(--clamped-percent);
1344
- background-color: var(--color-accent);
1538
+ background-color: var(--progress-bar-fill-color);
1345
1539
  }
1346
1540
 
1347
- ._trail_33gbh_28 {
1541
+ ._trail_1lyc4_28 {
1348
1542
  background-color: var(--color-neutral-alpha-60);
1349
1543
  }
1350
1544
 
1351
- ._sm_33gbh_32 {
1545
+ ._xs_1lyc4_32 {
1546
+ --progress-bar-height: 5px;
1547
+ }
1548
+
1549
+ ._sm_1lyc4_36 {
1352
1550
  --progress-bar-height: 8px;
1353
1551
  }
1354
1552
 
1355
- ._md_33gbh_36 {
1553
+ ._md_1lyc4_40 {
1356
1554
  --progress-bar-height: 12px;
1357
1555
  }
1556
+
1557
+ ._accent_1lyc4_44 {
1558
+ --progress-bar-fill-color: var(--color-accent);
1559
+ }
1560
+
1561
+ ._green_1lyc4_48 {
1562
+ --progress-bar-fill-color: var(--color-green-900);
1563
+ }
1358
1564
  }
1359
1565
  @layer ui_baza_components {
1360
1566
  ._radioWrapper_13xie_2 {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@grandbazar/ui-baza",
3
- "version": "1.5.4",
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",