@grandbazar/ui-baza 1.2.13 → 1.2.15

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.js CHANGED
@@ -48,8 +48,8 @@ function omit(object, ...keys) {
48
48
  }
49
49
 
50
50
  const badge = "_badge_p5h5n_2";
51
- const primary$3 = "_primary_p5h5n_9";
52
- const secondary$4 = "_secondary_p5h5n_13";
51
+ const primary$4 = "_primary_p5h5n_9";
52
+ const secondary$5 = "_secondary_p5h5n_13";
53
53
  const accent$3 = "_accent_p5h5n_18";
54
54
  const violet = "_violet_p5h5n_23";
55
55
  const pink = "_pink_p5h5n_28";
@@ -58,11 +58,11 @@ const orange = "_orange_p5h5n_38";
58
58
  const green = "_green_p5h5n_43";
59
59
  const neutral$3 = "_neutral_p5h5n_48";
60
60
  const lg$6 = "_lg_p5h5n_53";
61
- const md$9 = "_md_p5h5n_60";
62
- const styles$v = {
61
+ const md$a = "_md_p5h5n_60";
62
+ const styles$w = {
63
63
  badge: badge,
64
- primary: primary$3,
65
- secondary: secondary$4,
64
+ primary: primary$4,
65
+ secondary: secondary$5,
66
66
  accent: accent$3,
67
67
  violet: violet,
68
68
  pink: pink,
@@ -71,20 +71,20 @@ const styles$v = {
71
71
  green: green,
72
72
  neutral: neutral$3,
73
73
  lg: lg$6,
74
- md: md$9
74
+ md: md$a
75
75
  };
76
76
 
77
77
  function Badge({ children, className, size = "lg", color = "accent", mode = "primary", ...props }) {
78
- return /* @__PURE__ */ jsx("div", { className: classNames(styles$v.badge, styles$v[size], styles$v[color], styles$v[mode], className), ...props, children });
78
+ return /* @__PURE__ */ jsx("div", { className: classNames(styles$w.badge, styles$w[size], styles$w[color], styles$w[mode], className), ...props, children });
79
79
  }
80
80
 
81
81
  const badgeTabsItem = "_badgeTabsItem_10lit_2";
82
- const primary$2 = "_primary_10lit_18";
83
- const secondary$3 = "_secondary_10lit_36";
84
- const styles$u = {
82
+ const primary$3 = "_primary_10lit_18";
83
+ const secondary$4 = "_secondary_10lit_36";
84
+ const styles$v = {
85
85
  badgeTabsItem: badgeTabsItem,
86
- primary: primary$2,
87
- secondary: secondary$3
86
+ primary: primary$3,
87
+ secondary: secondary$4
88
88
  };
89
89
 
90
90
  function BadgeTabsItem({ className, children, isActive, mode = "primary", ...props }) {
@@ -94,7 +94,7 @@ function BadgeTabsItem({ className, children, isActive, mode = "primary", ...pro
94
94
  type: "button",
95
95
  role: "tab",
96
96
  "aria-selected": Boolean(isActive),
97
- className: classNames(styles$u.badgeTabsItem, styles$u[mode], className),
97
+ className: classNames(styles$v.badgeTabsItem, styles$v[mode], className),
98
98
  ...props,
99
99
  children
100
100
  }
@@ -102,12 +102,12 @@ function BadgeTabsItem({ className, children, isActive, mode = "primary", ...pro
102
102
  }
103
103
 
104
104
  const badgeTabsRoot = "_badgeTabsRoot_1qkat_2";
105
- const styles$t = {
105
+ const styles$u = {
106
106
  badgeTabsRoot: badgeTabsRoot
107
107
  };
108
108
 
109
109
  function BadgeTabsRoot({ className, children, ...props }) {
110
- return /* @__PURE__ */ jsx("div", { role: "tablist", className: classNames(styles$t.badgeTabsRoot, className), ...props, children });
110
+ return /* @__PURE__ */ jsx("div", { role: "tablist", className: classNames(styles$u.badgeTabsRoot, className), ...props, children });
111
111
  }
112
112
 
113
113
  function BadgeTabs(props) {
@@ -1012,7 +1012,7 @@ function IconXMarkCircle(props) {
1012
1012
  const breadcrumbs = "_breadcrumbs_1bfmb_2";
1013
1013
  const breadcrumbsItem = "_breadcrumbsItem_1bfmb_8";
1014
1014
  const defaultSeparator = "_defaultSeparator_1bfmb_14";
1015
- const styles$s = {
1015
+ const styles$t = {
1016
1016
  breadcrumbs: breadcrumbs,
1017
1017
  breadcrumbsItem: breadcrumbsItem,
1018
1018
  defaultSeparator: defaultSeparator
@@ -1061,7 +1061,7 @@ function Slot({
1061
1061
  }
1062
1062
 
1063
1063
  const breadcrumbItem = "_breadcrumbItem_cua4v_2";
1064
- const styles$r = {
1064
+ const styles$s = {
1065
1065
  breadcrumbItem: breadcrumbItem
1066
1066
  };
1067
1067
 
@@ -1072,7 +1072,7 @@ function BreadcrumbItem({ children, className, isActive, asChild, ...props }) {
1072
1072
  {
1073
1073
  "data-active": isActive,
1074
1074
  "data-disabled": props.disabled,
1075
- className: classNames(styles$r.breadcrumbItem, className),
1075
+ className: classNames(styles$s.breadcrumbItem, className),
1076
1076
  ...isActive && { "aria-current": "page" },
1077
1077
  ...!asChild && { type: "button" },
1078
1078
  ...props,
@@ -1084,51 +1084,51 @@ function BreadcrumbItem({ children, className, isActive, asChild, ...props }) {
1084
1084
  function Breadcrumbs({
1085
1085
  className,
1086
1086
  children,
1087
- separator = /* @__PURE__ */ jsx(IconChevron, { className: styles$s.defaultSeparator })
1087
+ separator = /* @__PURE__ */ jsx(IconChevron, { className: styles$t.defaultSeparator })
1088
1088
  }) {
1089
1089
  const childrenArray = Array.isArray(children) ? children : [children];
1090
1090
  const lastIndex = childrenArray.length - 1;
1091
- return /* @__PURE__ */ jsx("nav", { "aria-label": "breadcrumb", className, children: /* @__PURE__ */ jsx("ol", { className: styles$s.breadcrumbs, children: childrenArray.map((item, index) => /* @__PURE__ */ jsxs(Fragment, { children: [
1092
- /* @__PURE__ */ jsx("li", { className: styles$s.breadcrumbsItem, children: item }),
1093
- index < lastIndex && /* @__PURE__ */ jsx("li", { className: styles$s.breadcrumbsItem, "aria-hidden": "true", children: separator })
1091
+ return /* @__PURE__ */ jsx("nav", { "aria-label": "breadcrumb", className, children: /* @__PURE__ */ jsx("ol", { className: styles$t.breadcrumbs, children: childrenArray.map((item, index) => /* @__PURE__ */ jsxs(Fragment, { children: [
1092
+ /* @__PURE__ */ jsx("li", { className: styles$t.breadcrumbsItem, children: item }),
1093
+ index < lastIndex && /* @__PURE__ */ jsx("li", { className: styles$t.breadcrumbsItem, "aria-hidden": "true", children: separator })
1094
1094
  ] }, index)) }) });
1095
1095
  }
1096
1096
  Breadcrumbs.Item = BreadcrumbItem;
1097
1097
 
1098
- const button = "_button_cmbkj_2";
1099
- const accent$2 = "_accent_cmbkj_11";
1100
- const primary$1 = "_primary_cmbkj_12";
1101
- const secondary$2 = "_secondary_cmbkj_30";
1102
- const tertiary = "_tertiary_cmbkj_48";
1103
- const line = "_line_cmbkj_49";
1104
- const neutral$2 = "_neutral_cmbkj_78";
1105
- const lg$5 = "_lg_cmbkj_145";
1106
- const md$8 = "_md_cmbkj_153";
1107
- const sm$3 = "_sm_cmbkj_161";
1108
- const styles$q = {
1098
+ const button = "_button_17gao_2";
1099
+ const accent$2 = "_accent_17gao_11";
1100
+ const primary$2 = "_primary_17gao_12";
1101
+ const secondary$3 = "_secondary_17gao_30";
1102
+ const tertiary = "_tertiary_17gao_48";
1103
+ const line = "_line_17gao_49";
1104
+ const neutral$2 = "_neutral_17gao_78";
1105
+ const lg$5 = "_lg_17gao_145";
1106
+ const md$9 = "_md_17gao_153";
1107
+ const sm$4 = "_sm_17gao_161";
1108
+ const styles$r = {
1109
1109
  button: button,
1110
1110
  accent: accent$2,
1111
- primary: primary$1,
1112
- secondary: secondary$2,
1111
+ primary: primary$2,
1112
+ secondary: secondary$3,
1113
1113
  tertiary: tertiary,
1114
1114
  line: line,
1115
1115
  neutral: neutral$2,
1116
1116
  lg: lg$5,
1117
- md: md$8,
1118
- sm: sm$3
1117
+ md: md$9,
1118
+ sm: sm$4
1119
1119
  };
1120
1120
 
1121
1121
  const buttonFunction = "_buttonFunction_o8iku_2";
1122
1122
  const accent$1 = "_accent_o8iku_10";
1123
1123
  const neutral$1 = "_neutral_o8iku_22";
1124
1124
  const lg$4 = "_lg_o8iku_41";
1125
- const md$7 = "_md_o8iku_46";
1126
- const styles$p = {
1125
+ const md$8 = "_md_o8iku_46";
1126
+ const styles$q = {
1127
1127
  buttonFunction: buttonFunction,
1128
1128
  accent: accent$1,
1129
1129
  neutral: neutral$1,
1130
1130
  lg: lg$4,
1131
- md: md$7
1131
+ md: md$8
1132
1132
  };
1133
1133
 
1134
1134
  function ButtonFunction({
@@ -1143,7 +1143,7 @@ function ButtonFunction({
1143
1143
  return /* @__PURE__ */ jsx(
1144
1144
  Component,
1145
1145
  {
1146
- className: classNames(styles$p.buttonFunction, styles$p[color], styles$p[size], className),
1146
+ className: classNames(styles$q.buttonFunction, styles$q[color], styles$q[size], className),
1147
1147
  ...props.disabled && { "data-disabled": true },
1148
1148
  ...!asChild && { type: "button" },
1149
1149
  ...props,
@@ -1165,7 +1165,7 @@ function Button({
1165
1165
  return /* @__PURE__ */ jsx(
1166
1166
  Component,
1167
1167
  {
1168
- className: classNames(styles$q.button, styles$q[color], styles$q[size], styles$q[mode], className),
1168
+ className: classNames(styles$r.button, styles$r[color], styles$r[size], styles$r[mode], className),
1169
1169
  ...!asChild && { type: "button" },
1170
1170
  ...props,
1171
1171
  children
@@ -1177,7 +1177,7 @@ Button.Function = ButtonFunction;
1177
1177
  const checkboxWrapper = "_checkboxWrapper_k1shg_2";
1178
1178
  const icon$2 = "_icon_k1shg_23";
1179
1179
  const checkbox = "_checkbox_k1shg_2";
1180
- const styles$o = {
1180
+ const styles$p = {
1181
1181
  checkboxWrapper: checkboxWrapper,
1182
1182
  icon: icon$2,
1183
1183
  checkbox: checkbox
@@ -1190,11 +1190,11 @@ function Checkbox({ className, label, indeterminate, ...props }) {
1190
1190
  {
1191
1191
  "data-disabled": `${Boolean(props.disabled)}`,
1192
1192
  "data-state": dataState,
1193
- className: classNames(styles$o.checkboxWrapper, className),
1193
+ className: classNames(styles$p.checkboxWrapper, className),
1194
1194
  children: [
1195
- dataState === "checked" && /* @__PURE__ */ jsx(IconCheck, { "data-disabled": `${Boolean(props.disabled)}`, className: styles$o.icon }),
1196
- dataState === "indeterminate" && /* @__PURE__ */ jsx(IconMinus, { "data-disabled": `${Boolean(props.disabled)}`, className: styles$o.icon }),
1197
- /* @__PURE__ */ jsx("input", { "data-state": dataState, type: "checkbox", className: styles$o.checkbox, ...props }),
1195
+ dataState === "checked" && /* @__PURE__ */ jsx(IconCheck, { "data-disabled": `${Boolean(props.disabled)}`, className: styles$p.icon }),
1196
+ dataState === "indeterminate" && /* @__PURE__ */ jsx(IconMinus, { "data-disabled": `${Boolean(props.disabled)}`, className: styles$p.icon }),
1197
+ /* @__PURE__ */ jsx("input", { "data-state": dataState, type: "checkbox", className: styles$p.checkbox, ...props }),
1198
1198
  label
1199
1199
  ]
1200
1200
  }
@@ -1202,7 +1202,7 @@ function Checkbox({ className, label, indeterminate, ...props }) {
1202
1202
  }
1203
1203
 
1204
1204
  const chip = "_chip_dj4kw_2";
1205
- const styles$n = {
1205
+ const styles$o = {
1206
1206
  chip: chip
1207
1207
  };
1208
1208
 
@@ -1210,7 +1210,7 @@ function Chip({ isSelected, children, className, disabled, ...props }) {
1210
1210
  return /* @__PURE__ */ jsx(
1211
1211
  "div",
1212
1212
  {
1213
- className: classNames(styles$n.chip, className),
1213
+ className: classNames(styles$o.chip, className),
1214
1214
  "data-selected": isSelected,
1215
1215
  "data-disabled": disabled,
1216
1216
  "aria-disabled": disabled,
@@ -1222,25 +1222,25 @@ function Chip({ isSelected, children, className, disabled, ...props }) {
1222
1222
 
1223
1223
  const root$1 = "_root_ww0fb_2";
1224
1224
  const lg$3 = "_lg_ww0fb_16";
1225
- const md$6 = "_md_ww0fb_24";
1225
+ const md$7 = "_md_ww0fb_24";
1226
1226
  const red = "_red_ww0fb_32";
1227
1227
  const accent = "_accent_ww0fb_37";
1228
1228
  const neutral = "_neutral_ww0fb_42";
1229
- const secondary$1 = "_secondary_ww0fb_47";
1229
+ const secondary$2 = "_secondary_ww0fb_47";
1230
1230
  const white = "_white_ww0fb_52";
1231
- const styles$m = {
1231
+ const styles$n = {
1232
1232
  root: root$1,
1233
1233
  lg: lg$3,
1234
- md: md$6,
1234
+ md: md$7,
1235
1235
  red: red,
1236
1236
  accent: accent,
1237
1237
  neutral: neutral,
1238
- secondary: secondary$1,
1238
+ secondary: secondary$2,
1239
1239
  white: white
1240
1240
  };
1241
1241
 
1242
1242
  function Counter({ className, size = "lg", color = "red", ...props }) {
1243
- return /* @__PURE__ */ jsx("div", { className: classNames(styles$m.root, styles$m[size], styles$m[color], className), ...props });
1243
+ return /* @__PURE__ */ jsx("div", { className: classNames(styles$n.root, styles$n[size], styles$n[color], className), ...props });
1244
1244
  }
1245
1245
 
1246
1246
  const LOCALE_FIRST_DAY_OF_WEEK = {
@@ -1250,7 +1250,7 @@ const LOCALE_FIRST_DAY_OF_WEEK = {
1250
1250
 
1251
1251
  const datePickerCellWrapper = "_datePickerCellWrapper_np1gx_2";
1252
1252
  const datePickerCell = "_datePickerCell_np1gx_2";
1253
- const styles$l = {
1253
+ const styles$m = {
1254
1254
  datePickerCellWrapper: datePickerCellWrapper,
1255
1255
  datePickerCell: datePickerCell,
1256
1256
  "radius-none": "_radius-none_np1gx_83",
@@ -1260,10 +1260,10 @@ const styles$l = {
1260
1260
  };
1261
1261
 
1262
1262
  function DatePickerCell({ children, className, state, isCurrent, radius = "both", ...props }) {
1263
- return /* @__PURE__ */ jsx("div", { className: classNames(styles$l.datePickerCellWrapper, styles$l[`radius-${radius}`]), "data-state": state, children: /* @__PURE__ */ jsx(
1263
+ return /* @__PURE__ */ jsx("div", { className: classNames(styles$m.datePickerCellWrapper, styles$m[`radius-${radius}`]), "data-state": state, children: /* @__PURE__ */ jsx(
1264
1264
  "button",
1265
1265
  {
1266
- className: classNames(styles$l.datePickerCell, styles$l[`radius-${radius}`], className),
1266
+ className: classNames(styles$m.datePickerCell, styles$m[`radius-${radius}`], className),
1267
1267
  type: "button",
1268
1268
  role: "gridcell",
1269
1269
  "aria-selected": state === "selected",
@@ -1333,7 +1333,7 @@ function normalizeDateRange(firstDate, secondDate) {
1333
1333
  const datePickerField = "_datePickerField_1qk8s_2";
1334
1334
  const datePickerFieldCalendar = "_datePickerFieldCalendar_1qk8s_8";
1335
1335
  const datePickerFieldWeek = "_datePickerFieldWeek_1qk8s_14";
1336
- const styles$k = {
1336
+ const styles$l = {
1337
1337
  datePickerField: datePickerField,
1338
1338
  datePickerFieldCalendar: datePickerFieldCalendar,
1339
1339
  datePickerFieldWeek: datePickerFieldWeek
@@ -1348,9 +1348,9 @@ function DatePickerField({
1348
1348
  firstDayOfWeek = LOCALE_FIRST_DAY_OF_WEEK.ru
1349
1349
  }) {
1350
1350
  const weeks = useMemo(() => getCalendarGrid(month, year, firstDayOfWeek), [month, year, firstDayOfWeek]);
1351
- return /* @__PURE__ */ jsxs("div", { className: classNames(styles$k.datePickerField, className), role: "grid", children: [
1351
+ return /* @__PURE__ */ jsxs("div", { className: classNames(styles$l.datePickerField, className), role: "grid", children: [
1352
1352
  renderWeekdays?.(),
1353
- /* @__PURE__ */ jsx("div", { className: styles$k.datePickerFieldCalendar, role: "rowgroup", children: weeks.map((week, weekIndex) => /* @__PURE__ */ jsx("div", { className: styles$k.datePickerFieldWeek, role: "row", "aria-rowindex": weekIndex + 1, children: week.map((day, dayIndex) => /* @__PURE__ */ jsx(Slot, { role: "gridcell", "aria-colindex": dayIndex + 1, children: children(day) }, `${day.year}-${day.month}-${day.date}`)) }, weekIndex)) })
1353
+ /* @__PURE__ */ jsx("div", { className: styles$l.datePickerFieldCalendar, role: "rowgroup", children: weeks.map((week, weekIndex) => /* @__PURE__ */ jsx("div", { className: styles$l.datePickerFieldWeek, role: "row", "aria-rowindex": weekIndex + 1, children: week.map((day, dayIndex) => /* @__PURE__ */ jsx(Slot, { role: "gridcell", "aria-colindex": dayIndex + 1, children: children(day) }, `${day.year}-${day.month}-${day.date}`)) }, weekIndex)) })
1354
1354
  ] });
1355
1355
  }
1356
1356
 
@@ -1391,13 +1391,13 @@ const I18N_MONTH_LABELS = {
1391
1391
 
1392
1392
  const datePickerWeekdays = "_datePickerWeekdays_p8tsm_2";
1393
1393
  const datePickerWeekday = "_datePickerWeekday_p8tsm_2";
1394
- const styles$j = {
1394
+ const styles$k = {
1395
1395
  datePickerWeekdays: datePickerWeekdays,
1396
1396
  datePickerWeekday: datePickerWeekday
1397
1397
  };
1398
1398
 
1399
1399
  function DatePickerWeekDays({ className, locale = "ru" }) {
1400
- return /* @__PURE__ */ jsx("div", { className: classNames(styles$j.datePickerWeekdays, className), role: "row", children: I18N_WEEKDAY_LABELS[locale].map((label) => /* @__PURE__ */ jsx("div", { className: styles$j.datePickerWeekday, role: "columnheader", children: label }, label)) });
1400
+ return /* @__PURE__ */ jsx("div", { className: classNames(styles$k.datePickerWeekdays, className), role: "row", children: I18N_WEEKDAY_LABELS[locale].map((label) => /* @__PURE__ */ jsx("div", { className: styles$k.datePickerWeekday, role: "columnheader", children: label }, label)) });
1401
1401
  }
1402
1402
 
1403
1403
  function DatePicker() {
@@ -1633,21 +1633,21 @@ const DROPDOWN_PORTAL_SIDE_CONFIG = {
1633
1633
  };
1634
1634
 
1635
1635
  const dropdownContent = "_dropdownContent_12tkb_2";
1636
- const styles$i = {
1636
+ const styles$j = {
1637
1637
  dropdownContent: dropdownContent
1638
1638
  };
1639
1639
 
1640
1640
  function DropdownContent({ className, children, ...props }) {
1641
- return /* @__PURE__ */ jsx("div", { className: classNames(styles$i.dropdownContent, className), ...props, children });
1641
+ return /* @__PURE__ */ jsx("div", { className: classNames(styles$j.dropdownContent, className), ...props, children });
1642
1642
  }
1643
1643
 
1644
1644
  const dropdownItem = "_dropdownItem_msc4i_2";
1645
- const styles$h = {
1645
+ const styles$i = {
1646
1646
  dropdownItem: dropdownItem
1647
1647
  };
1648
1648
 
1649
1649
  function DropdownItem({ className, children, disabled, ...props }) {
1650
- return /* @__PURE__ */ jsx("div", { className: classNames(styles$h.dropdownItem, className), role: "menuitem", "data-disabled": disabled, ...props, children });
1650
+ return /* @__PURE__ */ jsx("div", { className: classNames(styles$i.dropdownItem, className), role: "menuitem", "data-disabled": disabled, ...props, children });
1651
1651
  }
1652
1652
 
1653
1653
  const CLICK_OUTSIDE_IGNORE_DATA_NAME = "data-clickoutside-ignore";
@@ -2075,7 +2075,7 @@ function useTriggerHandlersByEventTrigger() {
2075
2075
  }
2076
2076
 
2077
2077
  const dropdownPortal = "_dropdownPortal_p3tdk_2";
2078
- const styles$g = {
2078
+ const styles$h = {
2079
2079
  dropdownPortal: dropdownPortal
2080
2080
  };
2081
2081
 
@@ -2115,7 +2115,7 @@ function DropdownPortal({
2115
2115
  ...style
2116
2116
  },
2117
2117
  ref: portalRef,
2118
- className: classNames(styles$g.dropdownPortal, className),
2118
+ className: classNames(styles$h.dropdownPortal, className),
2119
2119
  ...handlersByTrigger[triggerEvent],
2120
2120
  ...isNested && { [CLICK_OUTSIDE_IGNORE_DATA_NAME]: "true" },
2121
2121
  children
@@ -2166,12 +2166,12 @@ const SIDE_OFFSET = 3;
2166
2166
  const BOUNDARY_PAGES = 2;
2167
2167
 
2168
2168
  const paginationItem = "_paginationItem_1ll6p_2";
2169
- const md$5 = "_md_1ll6p_46";
2170
- const sm$2 = "_sm_1ll6p_60";
2171
- const styles$f = {
2169
+ const md$6 = "_md_1ll6p_46";
2170
+ const sm$3 = "_sm_1ll6p_60";
2171
+ const styles$g = {
2172
2172
  paginationItem: paginationItem,
2173
- md: md$5,
2174
- sm: sm$2
2173
+ md: md$6,
2174
+ sm: sm$3
2175
2175
  };
2176
2176
 
2177
2177
  function PaginationItem({ className, children, size = "md", isCurrent, ...props }) {
@@ -2180,7 +2180,7 @@ function PaginationItem({ className, children, size = "md", isCurrent, ...props
2180
2180
  {
2181
2181
  type: "button",
2182
2182
  ...isCurrent && { "aria-current": "page" },
2183
- className: classNames(styles$f.paginationItem, styles$f[size], className),
2183
+ className: classNames(styles$g.paginationItem, styles$g[size], className),
2184
2184
  ...props,
2185
2185
  children
2186
2186
  }
@@ -2217,7 +2217,7 @@ function getVisiblePages(totalPages, maxVisiblePagesWithEllipsis, currentPage) {
2217
2217
  const paginationRoot = "_paginationRoot_c5fwx_2";
2218
2218
  const paginationList = "_paginationList_c5fwx_7";
2219
2219
  const arrowLeft = "_arrowLeft_c5fwx_13";
2220
- const styles$e = {
2220
+ const styles$f = {
2221
2221
  paginationRoot: paginationRoot,
2222
2222
  paginationList: paginationList,
2223
2223
  arrowLeft: arrowLeft
@@ -2244,9 +2244,9 @@ function PaginationRoot({
2244
2244
  {
2245
2245
  "aria-label": "pagination navigation",
2246
2246
  role: "navigation",
2247
- className: classNames(styles$e.paginationRoot, className),
2247
+ className: classNames(styles$f.paginationRoot, className),
2248
2248
  ...props,
2249
- children: /* @__PURE__ */ jsxs("ul", { className: styles$e.paginationList, children: [
2249
+ children: /* @__PURE__ */ jsxs("ul", { className: styles$f.paginationList, children: [
2250
2250
  showArrows && /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
2251
2251
  PaginationItem$1,
2252
2252
  {
@@ -2254,7 +2254,7 @@ function PaginationRoot({
2254
2254
  onClick: () => onPageChange(currentPage - 1),
2255
2255
  disabled: isFirstPage,
2256
2256
  size,
2257
- children: /* @__PURE__ */ jsx(IconChevron$1, { className: styles$e.arrowLeft })
2257
+ children: /* @__PURE__ */ jsx(IconChevron$1, { className: styles$f.arrowLeft })
2258
2258
  }
2259
2259
  ) }),
2260
2260
  visiblePages.map((page, index) => /* @__PURE__ */ jsx("li", { children: page === ELLIPSIS_SYMBOL ? /* @__PURE__ */ jsx(PaginationItem$1, { "aria-label": "More pages", disabled: true, size, children: /* @__PURE__ */ jsx(Ellipsis, {}) }) : /* @__PURE__ */ jsx(
@@ -2292,16 +2292,16 @@ const segment = "_segment_33gbh_10";
2292
2292
  const flexGrow = "_flexGrow_33gbh_19";
2293
2293
  const fill = "_fill_33gbh_23";
2294
2294
  const trail = "_trail_33gbh_28";
2295
- const sm$1 = "_sm_33gbh_32";
2296
- const md$4 = "_md_33gbh_36";
2297
- const styles$d = {
2295
+ const sm$2 = "_sm_33gbh_32";
2296
+ const md$5 = "_md_33gbh_36";
2297
+ const styles$e = {
2298
2298
  root: root,
2299
2299
  segment: segment,
2300
2300
  flexGrow: flexGrow,
2301
2301
  fill: fill,
2302
2302
  trail: trail,
2303
- sm: sm$1,
2304
- md: md$4
2303
+ sm: sm$2,
2304
+ md: md$5
2305
2305
  };
2306
2306
 
2307
2307
  function ProgressBarLinear({
@@ -2315,7 +2315,7 @@ function ProgressBarLinear({
2315
2315
  return /* @__PURE__ */ jsxs(
2316
2316
  "div",
2317
2317
  {
2318
- className: classNames(styles$d.root, styles$d[size], className),
2318
+ className: classNames(styles$e.root, styles$e[size], className),
2319
2319
  role: "progressbar",
2320
2320
  "aria-valuenow": clampedPercent,
2321
2321
  "aria-valuemin": 0,
@@ -2327,14 +2327,14 @@ function ProgressBarLinear({
2327
2327
  (Boolean(clampedPercent) || showFillOnZero) && /* @__PURE__ */ jsx(
2328
2328
  "div",
2329
2329
  {
2330
- className: classNames(styles$d.segment, styles$d.fill),
2330
+ className: classNames(styles$e.segment, styles$e.fill),
2331
2331
  style: {
2332
2332
  "--clamped-percent": `${clampedPercent}%`
2333
2333
  },
2334
2334
  "aria-hidden": "true"
2335
2335
  }
2336
2336
  ),
2337
- clampedPercent < 100 && /* @__PURE__ */ jsx("div", { className: classNames(styles$d.segment, styles$d.flexGrow, styles$d.trail), "aria-hidden": "true" })
2337
+ clampedPercent < 100 && /* @__PURE__ */ jsx("div", { className: classNames(styles$e.segment, styles$e.flexGrow, styles$e.trail), "aria-hidden": "true" })
2338
2338
  ]
2339
2339
  }
2340
2340
  );
@@ -2354,7 +2354,7 @@ function ProgressBarSteps({
2354
2354
  return /* @__PURE__ */ jsx(
2355
2355
  "div",
2356
2356
  {
2357
- className: classNames(styles$d.segment, styles$d.flexGrow, isFilled ? styles$d.fill : styles$d.trail),
2357
+ className: classNames(styles$e.segment, styles$e.flexGrow, isFilled ? styles$e.fill : styles$e.trail),
2358
2358
  "aria-hidden": "true"
2359
2359
  },
2360
2360
  index
@@ -2363,7 +2363,7 @@ function ProgressBarSteps({
2363
2363
  return /* @__PURE__ */ jsx(
2364
2364
  "div",
2365
2365
  {
2366
- className: classNames(styles$d.root, styles$d[size], className),
2366
+ className: classNames(styles$e.root, styles$e[size], className),
2367
2367
  role: "progressbar",
2368
2368
  "aria-valuenow": clampedCurrent,
2369
2369
  "aria-valuemin": 0,
@@ -2383,25 +2383,25 @@ ProgressBar.Steps = ProgressBarSteps;
2383
2383
 
2384
2384
  const radioWrapper = "_radioWrapper_13xie_2";
2385
2385
  const radio = "_radio_13xie_2";
2386
- const styles$c = {
2386
+ const styles$d = {
2387
2387
  radioWrapper: radioWrapper,
2388
2388
  radio: radio
2389
2389
  };
2390
2390
 
2391
2391
  function RadioButton({ className, label, ...props }) {
2392
- return /* @__PURE__ */ jsxs("label", { "data-disabled": `${Boolean(props.disabled)}`, className: classNames(styles$c.radioWrapper, className), children: [
2393
- /* @__PURE__ */ jsx("input", { type: "radio", className: styles$c.radio, ...props }),
2392
+ return /* @__PURE__ */ jsxs("label", { "data-disabled": `${Boolean(props.disabled)}`, className: classNames(styles$d.radioWrapper, className), children: [
2393
+ /* @__PURE__ */ jsx("input", { type: "radio", className: styles$d.radio, ...props }),
2394
2394
  label
2395
2395
  ] });
2396
2396
  }
2397
2397
 
2398
2398
  const DEFAULT_CUSTOM_SEARCH_BUTTON_WIDTH = 64;
2399
2399
 
2400
- const textFieldAreaWrapper = "_textFieldAreaWrapper_ay9ou_2";
2401
- const textFieldAreaLabel = "_textFieldAreaLabel_ay9ou_14";
2402
- const textFieldAreaLabelSuffix = "_textFieldAreaLabelSuffix_ay9ou_24";
2403
- const textFieldArea = "_textFieldArea_ay9ou_2";
2404
- const styles$b = {
2400
+ const textFieldAreaWrapper = "_textFieldAreaWrapper_pia91_2";
2401
+ const textFieldAreaLabel = "_textFieldAreaLabel_pia91_14";
2402
+ const textFieldAreaLabelSuffix = "_textFieldAreaLabelSuffix_pia91_24";
2403
+ const textFieldArea = "_textFieldArea_pia91_2";
2404
+ const styles$c = {
2405
2405
  textFieldAreaWrapper: textFieldAreaWrapper,
2406
2406
  textFieldAreaLabel: textFieldAreaLabel,
2407
2407
  textFieldAreaLabelSuffix: textFieldAreaLabelSuffix,
@@ -2422,22 +2422,22 @@ function TextFieldArea({
2422
2422
  "data-invalid": isInvalid,
2423
2423
  "aria-invalid": isInvalid,
2424
2424
  "data-element": "field",
2425
- className: classNames(styles$b.textFieldArea, className),
2425
+ className: classNames(styles$c.textFieldArea, className),
2426
2426
  placeholder,
2427
2427
  ...props
2428
2428
  }
2429
2429
  );
2430
- return floatingLabel ? /* @__PURE__ */ jsxs("div", { className: styles$b.textFieldAreaWrapper, children: [
2431
- /* @__PURE__ */ jsx("label", { htmlFor: props.id, className: styles$b.textFieldAreaLabel, "data-element": "label", children: floatingLabel }),
2432
- floatingLabelSuffix && /* @__PURE__ */ jsx("span", { className: styles$b.textFieldAreaLabelSuffix, "data-element": "label-suffix", children: floatingLabelSuffix }),
2430
+ return floatingLabel ? /* @__PURE__ */ jsxs("div", { className: styles$c.textFieldAreaWrapper, children: [
2431
+ /* @__PURE__ */ jsx("label", { htmlFor: props.id, className: styles$c.textFieldAreaLabel, "data-element": "label", children: floatingLabel }),
2432
+ floatingLabelSuffix && /* @__PURE__ */ jsx("span", { className: styles$c.textFieldAreaLabelSuffix, "data-element": "label-suffix", children: floatingLabelSuffix }),
2433
2433
  textFieldArea
2434
2434
  ] }) : textFieldArea;
2435
2435
  }
2436
2436
 
2437
- const textFieldInputWrapper = "_textFieldInputWrapper_qpk1n_2";
2438
- const textFieldInputLabel = "_textFieldInputLabel_qpk1n_9";
2439
- const textFieldInput = "_textFieldInput_qpk1n_2";
2440
- const styles$a = {
2437
+ const textFieldInputWrapper = "_textFieldInputWrapper_1m8sa_2";
2438
+ const textFieldInputLabel = "_textFieldInputLabel_1m8sa_9";
2439
+ const textFieldInput = "_textFieldInput_1m8sa_2";
2440
+ const styles$b = {
2441
2441
  textFieldInputWrapper: textFieldInputWrapper,
2442
2442
  textFieldInputLabel: textFieldInputLabel,
2443
2443
  textFieldInput: textFieldInput
@@ -2456,37 +2456,37 @@ function TextFieldInput({
2456
2456
  "data-invalid": isInvalid,
2457
2457
  "aria-invalid": isInvalid,
2458
2458
  "data-element": "field",
2459
- className: classNames(styles$a.textFieldInput, className),
2459
+ className: classNames(styles$b.textFieldInput, className),
2460
2460
  placeholder,
2461
2461
  ...props
2462
2462
  }
2463
2463
  );
2464
- return floatingLabel ? /* @__PURE__ */ jsxs("div", { className: styles$a.textFieldInputWrapper, children: [
2465
- /* @__PURE__ */ jsx("label", { htmlFor: props.id, className: styles$a.textFieldInputLabel, "data-element": "label", children: floatingLabel }),
2464
+ return floatingLabel ? /* @__PURE__ */ jsxs("div", { className: styles$b.textFieldInputWrapper, children: [
2465
+ /* @__PURE__ */ jsx("label", { htmlFor: props.id, className: styles$b.textFieldInputLabel, "data-element": "label", children: floatingLabel }),
2466
2466
  textFieldInput
2467
2467
  ] }) : textFieldInput;
2468
2468
  }
2469
2469
 
2470
2470
  const textFieldLabel = "_textFieldLabel_1l2ya_1";
2471
- const styles$9 = {
2471
+ const styles$a = {
2472
2472
  textFieldLabel: textFieldLabel
2473
2473
  };
2474
2474
 
2475
2475
  function TextFieldLabel({ className, children, isRequired, ...props }) {
2476
- return /* @__PURE__ */ jsx("label", { className: classNames(styles$9.textFieldLabel, className), "data-required": isRequired, ...props, children });
2476
+ return /* @__PURE__ */ jsx("label", { className: classNames(styles$a.textFieldLabel, className), "data-required": isRequired, ...props, children });
2477
2477
  }
2478
2478
 
2479
2479
  const textFieldRoot = "_textFieldRoot_cs7mv_2";
2480
2480
  const lg$2 = "_lg_cs7mv_38";
2481
- const md$3 = "_md_cs7mv_70";
2482
- const styles$8 = {
2481
+ const md$4 = "_md_cs7mv_70";
2482
+ const styles$9 = {
2483
2483
  textFieldRoot: textFieldRoot,
2484
2484
  lg: lg$2,
2485
- md: md$3
2485
+ md: md$4
2486
2486
  };
2487
2487
 
2488
2488
  function TextFieldRoot({ className, size = "lg", ...props }) {
2489
- return /* @__PURE__ */ jsx("div", { className: classNames(styles$8.textFieldRoot, styles$8[size], className), ...props });
2489
+ return /* @__PURE__ */ jsx("div", { className: classNames(styles$9.textFieldRoot, styles$9[size], className), ...props });
2490
2490
  }
2491
2491
 
2492
2492
  function TextField() {
@@ -2501,7 +2501,7 @@ const custom = "_custom_gh87y_15";
2501
2501
  const icon$1 = "_icon_gh87y_25";
2502
2502
  const inputCustomWrapper = "_inputCustomWrapper_gh87y_34";
2503
2503
  const customButton = "_customButton_gh87y_49";
2504
- const styles$7 = {
2504
+ const styles$8 = {
2505
2505
  search: search,
2506
2506
  "default": "_default_gh87y_10",
2507
2507
  custom: custom,
@@ -2527,7 +2527,7 @@ function Search(props) {
2527
2527
  value && /* @__PURE__ */ jsx(
2528
2528
  IconXMark.Small,
2529
2529
  {
2530
- className: styles$7.icon,
2530
+ className: styles$8.icon,
2531
2531
  "aria-label": "clear search",
2532
2532
  role: "button",
2533
2533
  onClick: () => {
@@ -2541,13 +2541,13 @@ function Search(props) {
2541
2541
  }
2542
2542
  )
2543
2543
  ] });
2544
- return /* @__PURE__ */ jsxs(TextField.Root, { size: "md", className: classNames(styles$7.search, styles$7[mode], className), children: [
2544
+ return /* @__PURE__ */ jsxs(TextField.Root, { size: "md", className: classNames(styles$8.search, styles$8[mode], className), children: [
2545
2545
  mode === "default" && /* @__PURE__ */ jsxs(Fragment$1, { children: [
2546
- /* @__PURE__ */ jsx(IconSearch, { className: styles$7.icon, "data-element": "icon" }),
2546
+ /* @__PURE__ */ jsx(IconSearch, { className: styles$8.icon, "data-element": "icon" }),
2547
2547
  inputField
2548
2548
  ] }),
2549
2549
  mode === "custom" && /* @__PURE__ */ jsxs(Fragment$1, { children: [
2550
- /* @__PURE__ */ jsx("div", { className: styles$7.inputCustomWrapper, children: inputField }),
2550
+ /* @__PURE__ */ jsx("div", { className: styles$8.inputCustomWrapper, children: inputField }),
2551
2551
  /* @__PURE__ */ jsx(
2552
2552
  "button",
2553
2553
  {
@@ -2555,11 +2555,11 @@ function Search(props) {
2555
2555
  type: "button",
2556
2556
  onClick: props.onSearch,
2557
2557
  "data-element": "custom-button",
2558
- className: styles$7.customButton,
2558
+ className: styles$8.customButton,
2559
2559
  style: {
2560
2560
  "--custom-button-width": `${props.buttonWidth ?? DEFAULT_CUSTOM_SEARCH_BUTTON_WIDTH}px`
2561
2561
  },
2562
- children: /* @__PURE__ */ jsx(IconSearch, { className: classNames(styles$7.icon), "data-element": "icon" })
2562
+ children: /* @__PURE__ */ jsx(IconSearch, { className: classNames(styles$8.icon), "data-element": "icon" })
2563
2563
  }
2564
2564
  )
2565
2565
  ] })
@@ -2584,11 +2584,11 @@ function useSegmentControlContext() {
2584
2584
 
2585
2585
  const segmentControlItem = "_segmentControlItem_178px_2";
2586
2586
  const lg$1 = "_lg_178px_23";
2587
- const md$2 = "_md_178px_28";
2588
- const styles$6 = {
2587
+ const md$3 = "_md_178px_28";
2588
+ const styles$7 = {
2589
2589
  segmentControlItem: segmentControlItem,
2590
2590
  lg: lg$1,
2591
- md: md$2
2591
+ md: md$3
2592
2592
  };
2593
2593
 
2594
2594
  function SegmentControlItem({ className, children, value, ...props }) {
@@ -2601,7 +2601,7 @@ function SegmentControlItem({ className, children, value, ...props }) {
2601
2601
  "aria-checked": value === activeValue,
2602
2602
  "data-state": value === activeValue ? "on" : "off",
2603
2603
  "data-value": value,
2604
- className: classNames(styles$6.segmentControlItem, styles$6[size], className),
2604
+ className: classNames(styles$7.segmentControlItem, styles$7[size], className),
2605
2605
  ...props,
2606
2606
  children
2607
2607
  }
@@ -2636,13 +2636,13 @@ function useActiveSegment(value) {
2636
2636
  const segmentControlRoot = "_segmentControlRoot_pulca_8";
2637
2637
  const showAfterDelay = "_showAfterDelay_pulca_1";
2638
2638
  const lg = "_lg_pulca_19";
2639
- const md$1 = "_md_pulca_23";
2639
+ const md$2 = "_md_pulca_23";
2640
2640
  const indicator$1 = "_indicator_pulca_28";
2641
- const styles$5 = {
2641
+ const styles$6 = {
2642
2642
  segmentControlRoot: segmentControlRoot,
2643
2643
  showAfterDelay: showAfterDelay,
2644
2644
  lg: lg,
2645
- md: md$1,
2645
+ md: md$2,
2646
2646
  indicator: indicator$1
2647
2647
  };
2648
2648
 
@@ -2653,11 +2653,11 @@ function SegmentControlRoot({ className, children, value, size = "md", ...props
2653
2653
  {
2654
2654
  ref: rootRef,
2655
2655
  role: "radiogroup",
2656
- className: classNames(styles$5.segmentControlRoot, styles$5[size], className),
2656
+ className: classNames(styles$6.segmentControlRoot, styles$6[size], className),
2657
2657
  ...props,
2658
2658
  children: [
2659
2659
  children,
2660
- /* @__PURE__ */ jsx("div", { className: classNames(styles$5.indicator, styles$5[size]), style: indicatorStyle })
2660
+ /* @__PURE__ */ jsx("div", { className: classNames(styles$6.indicator, styles$6[size]), style: indicatorStyle })
2661
2661
  ]
2662
2662
  }
2663
2663
  ) });
@@ -2668,6 +2668,86 @@ function SegmentControl(props) {
2668
2668
  }
2669
2669
  SegmentControl.Item = SegmentControlItem;
2670
2670
 
2671
+ const stepper = "_stepper_1bwaa_2";
2672
+ const sm$1 = "_sm_1bwaa_10";
2673
+ const md$1 = "_md_1bwaa_17";
2674
+ const primary$1 = "_primary_1bwaa_24";
2675
+ const secondary$1 = "_secondary_1bwaa_34";
2676
+ const value = "_value_1bwaa_43";
2677
+ const styles$5 = {
2678
+ stepper: stepper,
2679
+ sm: sm$1,
2680
+ md: md$1,
2681
+ primary: primary$1,
2682
+ secondary: secondary$1,
2683
+ value: value
2684
+ };
2685
+
2686
+ function Stepper({
2687
+ value,
2688
+ onChange,
2689
+ min,
2690
+ max,
2691
+ step = 1,
2692
+ size = "md",
2693
+ mode = "primary",
2694
+ disabled,
2695
+ className,
2696
+ ...props
2697
+ }) {
2698
+ const buttonColor = mode === "primary" ? "accent" : "neutral";
2699
+ const buttonMode = mode === "primary" ? "primary" : "tertiary";
2700
+ const handleStep = (direction) => {
2701
+ let next = value + direction * step;
2702
+ if (min != null) {
2703
+ next = Math.max(next, min);
2704
+ }
2705
+ if (max != null) {
2706
+ next = Math.min(next, max);
2707
+ }
2708
+ if (next !== value) {
2709
+ onChange(next);
2710
+ }
2711
+ };
2712
+ return /* @__PURE__ */ jsxs(
2713
+ "div",
2714
+ {
2715
+ role: "group",
2716
+ "aria-label": "Stepper",
2717
+ className: classNames(styles$5.stepper, styles$5[size], styles$5[mode], className),
2718
+ "data-disabled": disabled,
2719
+ ...props,
2720
+ children: [
2721
+ /* @__PURE__ */ jsx(
2722
+ Button,
2723
+ {
2724
+ color: buttonColor,
2725
+ mode: buttonMode,
2726
+ size,
2727
+ "aria-label": "Decrease value",
2728
+ disabled: disabled || min != null && value <= min,
2729
+ onClick: () => handleStep(-1),
2730
+ children: /* @__PURE__ */ jsx(IconMinus, {})
2731
+ }
2732
+ ),
2733
+ /* @__PURE__ */ jsx("span", { className: styles$5.value, "aria-live": "polite", children: value }),
2734
+ /* @__PURE__ */ jsx(
2735
+ Button,
2736
+ {
2737
+ color: buttonColor,
2738
+ mode: buttonMode,
2739
+ size,
2740
+ "aria-label": "Increase value",
2741
+ disabled: disabled || max != null && value >= max,
2742
+ onClick: () => handleStep(1),
2743
+ children: /* @__PURE__ */ jsx(IconPlus, {})
2744
+ }
2745
+ )
2746
+ ]
2747
+ }
2748
+ );
2749
+ }
2750
+
2671
2751
  const switchWrapper = "_switchWrapper_1yukb_2";
2672
2752
  const icon = "_icon_1yukb_25";
2673
2753
  const styles$4 = {
@@ -2912,4 +2992,4 @@ function Tooltip(props) {
2912
2992
  }
2913
2993
  Tooltip.Content = TooltipContent;
2914
2994
 
2915
- export { Badge, BadgeTabs, Breadcrumbs, Button, Checkbox, Chip, Counter, DatePicker, DropdownMenu, I18N_MONTH_LABELS, I18N_WEEKDAY_LABELS, IconArrow, IconArrowCircle, IconArrowCircleUp, IconArrowDiagonal, IconArrowUTurn, IconBell, IconBox, IconCalendar, IconCharacteristic, IconCheck, IconCheckCircle, IconChevron, IconChevronDouble, IconClock, IconCollapse, IconCopy, IconDots, IconDownload, IconEye, IconFace, IconFile, IconFilters, IconGear, IconHanger, IconHome, IconInfo, IconLogOut, IconLogo, IconMail, IconMinus, IconOneCircle, IconPerson, IconPhone, IconPlus, IconPrize, IconProject, IconQRCode, IconRequest, IconResizeCorner, IconScan, IconSearch, IconShopping, IconSort, IconStar, IconSticker, IconStop, IconSwitch, IconXMark, IconXMarkCircle, LOCALE_FIRST_DAY_OF_WEEK, Pagination, ProgressBar, RadioButton, Search, SegmentControl, Switch, Tabs, Tag, TextField, Tooltip, useDatePickerControls, useDatePickerMultiSelect, useDatePickerSelect };
2995
+ export { Badge, BadgeTabs, Breadcrumbs, Button, Checkbox, Chip, Counter, DatePicker, DropdownMenu, I18N_MONTH_LABELS, I18N_WEEKDAY_LABELS, IconArrow, IconArrowCircle, IconArrowCircleUp, IconArrowDiagonal, IconArrowUTurn, IconBell, IconBox, IconCalendar, IconCharacteristic, IconCheck, IconCheckCircle, IconChevron, IconChevronDouble, IconClock, IconCollapse, IconCopy, IconDots, IconDownload, IconEye, IconFace, IconFile, IconFilters, IconGear, IconHanger, IconHome, IconInfo, IconLogOut, IconLogo, IconMail, IconMinus, IconOneCircle, IconPerson, IconPhone, IconPlus, IconPrize, IconProject, IconQRCode, IconRequest, IconResizeCorner, IconScan, IconSearch, IconShopping, IconSort, IconStar, IconSticker, IconStop, IconSwitch, IconXMark, IconXMarkCircle, LOCALE_FIRST_DAY_OF_WEEK, Pagination, ProgressBar, RadioButton, Search, SegmentControl, Stepper, Switch, Tabs, Tag, TextField, Tooltip, useDatePickerControls, useDatePickerMultiSelect, useDatePickerSelect };