@umami/react-zen 0.207.0 → 0.209.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.js CHANGED
@@ -33199,9 +33199,9 @@ function Calendar2({
33199
33199
  onChange: handleChange,
33200
33200
  children: [
33201
33201
  /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("header", { className: Calendar_default.header, children: [
33202
- /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(Button2, { slot: "previous", className: Calendar_default.button, variant: "quiet", children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(Icon2, { rotate: 180, children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(ChevronDown, {}) }) }),
33202
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(Button2, { slot: "previous", className: Calendar_default.button, variant: "quiet", children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(Icon2, { rotate: 90, children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(ChevronDown, {}) }) }),
33203
33203
  /* @__PURE__ */ (0, import_jsx_runtime28.jsx)($5cb03073d3f54797$export$a8a3e93435678ff9, { className: Calendar_default.heading }),
33204
- /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(Button2, { slot: "next", className: Calendar_default.button, variant: "quiet", children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(Icon2, { children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(ChevronDown, {}) }) })
33204
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(Button2, { slot: "next", className: Calendar_default.button, variant: "quiet", children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(Icon2, { rotate: -90, children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(ChevronDown, {}) }) })
33205
33205
  ] }),
33206
33206
  /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)($dfd62f934fc76fed$export$5bd780d491cfc46c, { children: [
33207
33207
  /* @__PURE__ */ (0, import_jsx_runtime28.jsx)($dfd62f934fc76fed$export$22e2d15eaa4d2377, { children: (day) => /* @__PURE__ */ (0, import_jsx_runtime28.jsx)($dfd62f934fc76fed$export$ad2135cac3a11b3d, { className: Calendar_default.headerCell, children: day }) }),
@@ -33241,9 +33241,47 @@ function Checkbox2({ label, className, children, ...props }) {
33241
33241
  // src/components/ComboBox.tsx
33242
33242
  var import_classnames23 = __toESM(require_classnames());
33243
33243
 
33244
+ // src/components/Grid.tsx
33245
+ var import_classnames21 = __toESM(require_classnames());
33246
+ var import_jsx_runtime30 = require("react/jsx-runtime");
33247
+ function Grid({
33248
+ display = "grid",
33249
+ justifyContent,
33250
+ justifyItems,
33251
+ alignContent,
33252
+ alignItems,
33253
+ gap,
33254
+ gapX,
33255
+ gapY,
33256
+ autoFlow,
33257
+ rows,
33258
+ columns,
33259
+ areas,
33260
+ className,
33261
+ style,
33262
+ children,
33263
+ ...props
33264
+ }) {
33265
+ const [classes, styleProps] = useDesignProps({
33266
+ display,
33267
+ justifyContent,
33268
+ justifyItems,
33269
+ alignContent,
33270
+ alignItems,
33271
+ gap,
33272
+ gapX,
33273
+ gapY,
33274
+ gridTemplateRows: rows,
33275
+ gridTemplateColumns: columns,
33276
+ gridTemplateAreas: areas,
33277
+ gridAutoFlow: autoFlow
33278
+ });
33279
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Box, { ...props, className: (0, import_classnames21.default)(className, classes), style: { ...styleProps, ...style }, children });
33280
+ }
33281
+
33244
33282
  // src/components/List.tsx
33245
33283
  var import_react187 = require("react");
33246
- var import_classnames21 = __toESM(require_classnames());
33284
+ var import_classnames22 = __toESM(require_classnames());
33247
33285
 
33248
33286
  // src/lib/constants.ts
33249
33287
  var ACCENT_COLORS = [
@@ -33290,7 +33328,7 @@ function getHighlightColor(color) {
33290
33328
  var List_default = { "list": "List_list__Yzk2Y", "separator": "List_separator__ODZiZ", "section": "List_section__NTI0O", "header": "List_header__MjE1Y", "item": "List_item__MzU5Y", "checkmark": "List_checkmark__YzRiZ", "hideCheckmark": "List_hideCheckmark__NDlhN", "fullscreen": "List_fullscreen__NWMyY" };
33291
33329
 
33292
33330
  // src/components/List.tsx
33293
- var import_jsx_runtime30 = require("react/jsx-runtime");
33331
+ var import_jsx_runtime31 = require("react/jsx-runtime");
33294
33332
  function List({
33295
33333
  id,
33296
33334
  items = [],
@@ -33318,9 +33356,9 @@ function List({
33318
33356
  }
33319
33357
  };
33320
33358
  const fieldId = useFieldId(id);
33321
- return /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(import_jsx_runtime30.Fragment, { children: [
33322
- label && /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Label2, { htmlFor: fieldId, children: label }),
33323
- /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
33359
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(import_jsx_runtime31.Fragment, { children: [
33360
+ label && /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(Label2, { htmlFor: fieldId, children: label }),
33361
+ /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
33324
33362
  $eed445e0843c11d0$export$41f133550aa26f48,
33325
33363
  {
33326
33364
  id: fieldId,
@@ -33329,7 +33367,7 @@ function List({
33329
33367
  selectedKeys: value || selectedKeys,
33330
33368
  defaultSelectedKeys: value || defaultSelectedKeys,
33331
33369
  items,
33332
- className: (0, import_classnames21.default)(
33370
+ className: (0, import_classnames22.default)(
33333
33371
  List_default.list,
33334
33372
  className,
33335
33373
  !showCheckmark && List_default.hideCheckmark,
@@ -33340,9 +33378,9 @@ function List({
33340
33378
  children: children || items?.map((item) => {
33341
33379
  const id2 = item[idProperty] || item.toString();
33342
33380
  const label2 = item[labelProperty] || item.toString();
33343
- return /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(import_react187.Fragment, { children: [
33344
- item[separatorProperty] && /* @__PURE__ */ (0, import_jsx_runtime30.jsx)($431f98aba6844401$export$1ff3c3f08ae963c0, { className: List_default.separator }),
33345
- /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(ListItem, { id: id2, className: List_default.item, children: label2 })
33381
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(import_react187.Fragment, { children: [
33382
+ item[separatorProperty] && /* @__PURE__ */ (0, import_jsx_runtime31.jsx)($431f98aba6844401$export$1ff3c3f08ae963c0, { className: List_default.separator }),
33383
+ /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(ListItem, { id: id2, className: List_default.item, children: label2 })
33346
33384
  ] }, id2);
33347
33385
  })
33348
33386
  }
@@ -33356,68 +33394,30 @@ function ListItem({
33356
33394
  showCheckmark = true,
33357
33395
  ...props
33358
33396
  }) {
33359
- return /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(
33397
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(
33360
33398
  $eed445e0843c11d0$export$a11e76429ed99b4,
33361
33399
  {
33362
33400
  ...props,
33363
33401
  id,
33364
- className: (0, import_classnames21.default)(List_default.item, className),
33402
+ className: (0, import_classnames22.default)(List_default.item, className),
33365
33403
  textValue: typeof children === "string" ? children : id?.toString(),
33366
33404
  children: [
33367
33405
  children,
33368
- showCheckmark && /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Icon2, { "aria-hidden": "true", className: List_default.checkmark, children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Check, {}) })
33406
+ showCheckmark && /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(Icon2, { "aria-hidden": "true", className: List_default.checkmark, children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(Check, {}) })
33369
33407
  ]
33370
33408
  }
33371
33409
  );
33372
33410
  }
33373
33411
  function ListSeparator({ className, ...props }) {
33374
- return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)($431f98aba6844401$export$1ff3c3f08ae963c0, { ...props, className: (0, import_classnames21.default)(List_default.separator, className) });
33412
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)($431f98aba6844401$export$1ff3c3f08ae963c0, { ...props, className: (0, import_classnames22.default)(List_default.separator, className) });
33375
33413
  }
33376
33414
  function ListSection({ title, className, children, ...props }) {
33377
- return /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)($eed445e0843c11d0$export$dca12b0bb56e4fc, { ...props, className: (0, import_classnames21.default)(List_default.section, className), children: [
33378
- title && /* @__PURE__ */ (0, import_jsx_runtime30.jsx)($72a5793c14baf454$export$8b251419efc915eb, { className: List_default.header, children: title }),
33415
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)($eed445e0843c11d0$export$dca12b0bb56e4fc, { ...props, className: (0, import_classnames22.default)(List_default.section, className), children: [
33416
+ title && /* @__PURE__ */ (0, import_jsx_runtime31.jsx)($72a5793c14baf454$export$8b251419efc915eb, { className: List_default.header, children: title }),
33379
33417
  children
33380
33418
  ] });
33381
33419
  }
33382
33420
 
33383
- // src/components/Grid.tsx
33384
- var import_classnames22 = __toESM(require_classnames());
33385
- var import_jsx_runtime31 = require("react/jsx-runtime");
33386
- function Grid({
33387
- display = "grid",
33388
- justifyContent,
33389
- justifyItems,
33390
- alignContent,
33391
- alignItems,
33392
- gap,
33393
- gapX,
33394
- gapY,
33395
- autoFlow,
33396
- rows,
33397
- columns,
33398
- areas,
33399
- className,
33400
- style,
33401
- children,
33402
- ...props
33403
- }) {
33404
- const [classes, styleProps] = useDesignProps({
33405
- display,
33406
- justifyContent,
33407
- justifyItems,
33408
- alignContent,
33409
- alignItems,
33410
- gap,
33411
- gapX,
33412
- gapY,
33413
- gridTemplateRows: rows,
33414
- gridTemplateColumns: columns,
33415
- gridTemplateAreas: areas,
33416
- gridAutoFlow: autoFlow
33417
- });
33418
- return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(Box, { ...props, className: (0, import_classnames22.default)(className, classes), style: { ...styleProps, ...style }, children });
33419
- }
33420
-
33421
33421
  // css-modules:E:\dev\umami-react-zen\src\components\ComboBox.module.css
33422
33422
  var ComboBox_default = { "combobox": "ComboBox_combobox__ZDYxZ", "input": "ComboBox_input__YjNkN", "button": "ComboBox_button__NTlhM", "list": "ComboBox_list__NTdiY" };
33423
33423
 
@@ -34147,8 +34147,8 @@ function NavbarItem({ label, children, className, ...props }) {
34147
34147
  }
34148
34148
 
34149
34149
  // src/components/NavMenu.tsx
34150
- var import_react198 = require("react");
34151
34150
  var import_classnames39 = __toESM(require_classnames());
34151
+ var import_react198 = require("react");
34152
34152
 
34153
34153
  // css-modules:E:\dev\umami-react-zen\src\components\NavMenu.module.css
34154
34154
  var NavMenu_default = { "navmenu": "NavMenu_navmenu__MzRmN", "item": "NavMenu_item__ZWRjZ", "selected": "NavMenu_selected__ZDU1N", "muted": "NavMenu_muted__MTgxN", "title": "NavMenu_title__ZjJhN", "clickable": "NavMenu_clickable__Mjg0O" };
@@ -34207,7 +34207,10 @@ function NavMenuGroup({
34207
34207
  onClick: handleClick,
34208
34208
  children: [
34209
34209
  /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Text, { className: NavMenu_default.title, children: title }),
34210
- allowMinimize && /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Icon2, { rotate: minimized ? 0 : 90, color: "muted", children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(ChevronDown, {}) })
34210
+ allowMinimize && /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(Icon2, { rotate: minimized ? -90 : 0, color: "muted", children: [
34211
+ "3+ 6.",
34212
+ /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(ChevronDown, {})
34213
+ ] })
34211
34214
  ]
34212
34215
  }
34213
34216
  ),
package/dist/index.mjs CHANGED
@@ -33074,9 +33074,9 @@ function Calendar2({
33074
33074
  onChange: handleChange,
33075
33075
  children: [
33076
33076
  /* @__PURE__ */ jsxs13("header", { className: Calendar_default.header, children: [
33077
- /* @__PURE__ */ jsx28(Button2, { slot: "previous", className: Calendar_default.button, variant: "quiet", children: /* @__PURE__ */ jsx28(Icon2, { rotate: 180, children: /* @__PURE__ */ jsx28(ChevronDown, {}) }) }),
33077
+ /* @__PURE__ */ jsx28(Button2, { slot: "previous", className: Calendar_default.button, variant: "quiet", children: /* @__PURE__ */ jsx28(Icon2, { rotate: 90, children: /* @__PURE__ */ jsx28(ChevronDown, {}) }) }),
33078
33078
  /* @__PURE__ */ jsx28($5cb03073d3f54797$export$a8a3e93435678ff9, { className: Calendar_default.heading }),
33079
- /* @__PURE__ */ jsx28(Button2, { slot: "next", className: Calendar_default.button, variant: "quiet", children: /* @__PURE__ */ jsx28(Icon2, { children: /* @__PURE__ */ jsx28(ChevronDown, {}) }) })
33079
+ /* @__PURE__ */ jsx28(Button2, { slot: "next", className: Calendar_default.button, variant: "quiet", children: /* @__PURE__ */ jsx28(Icon2, { rotate: -90, children: /* @__PURE__ */ jsx28(ChevronDown, {}) }) })
33080
33080
  ] }),
33081
33081
  /* @__PURE__ */ jsxs13($dfd62f934fc76fed$export$5bd780d491cfc46c, { children: [
33082
33082
  /* @__PURE__ */ jsx28($dfd62f934fc76fed$export$22e2d15eaa4d2377, { children: (day) => /* @__PURE__ */ jsx28($dfd62f934fc76fed$export$ad2135cac3a11b3d, { className: Calendar_default.headerCell, children: day }) }),
@@ -33116,9 +33116,47 @@ function Checkbox2({ label, className, children, ...props }) {
33116
33116
  // src/components/ComboBox.tsx
33117
33117
  var import_classnames23 = __toESM(require_classnames());
33118
33118
 
33119
+ // src/components/Grid.tsx
33120
+ var import_classnames21 = __toESM(require_classnames());
33121
+ import { jsx as jsx30 } from "react/jsx-runtime";
33122
+ function Grid({
33123
+ display = "grid",
33124
+ justifyContent,
33125
+ justifyItems,
33126
+ alignContent,
33127
+ alignItems,
33128
+ gap,
33129
+ gapX,
33130
+ gapY,
33131
+ autoFlow,
33132
+ rows,
33133
+ columns,
33134
+ areas,
33135
+ className,
33136
+ style,
33137
+ children,
33138
+ ...props
33139
+ }) {
33140
+ const [classes, styleProps] = useDesignProps({
33141
+ display,
33142
+ justifyContent,
33143
+ justifyItems,
33144
+ alignContent,
33145
+ alignItems,
33146
+ gap,
33147
+ gapX,
33148
+ gapY,
33149
+ gridTemplateRows: rows,
33150
+ gridTemplateColumns: columns,
33151
+ gridTemplateAreas: areas,
33152
+ gridAutoFlow: autoFlow
33153
+ });
33154
+ return /* @__PURE__ */ jsx30(Box, { ...props, className: (0, import_classnames21.default)(className, classes), style: { ...styleProps, ...style }, children });
33155
+ }
33156
+
33119
33157
  // src/components/List.tsx
33120
33158
  import { Fragment as Fragment3 } from "react";
33121
- var import_classnames21 = __toESM(require_classnames());
33159
+ var import_classnames22 = __toESM(require_classnames());
33122
33160
 
33123
33161
  // src/lib/constants.ts
33124
33162
  var ACCENT_COLORS = [
@@ -33165,7 +33203,7 @@ function getHighlightColor(color) {
33165
33203
  var List_default = { "list": "List_list__Yzk2Y", "separator": "List_separator__ODZiZ", "section": "List_section__NTI0O", "header": "List_header__MjE1Y", "item": "List_item__MzU5Y", "checkmark": "List_checkmark__YzRiZ", "hideCheckmark": "List_hideCheckmark__NDlhN", "fullscreen": "List_fullscreen__NWMyY" };
33166
33204
 
33167
33205
  // src/components/List.tsx
33168
- import { Fragment as Fragment4, jsx as jsx30, jsxs as jsxs15 } from "react/jsx-runtime";
33206
+ import { Fragment as Fragment4, jsx as jsx31, jsxs as jsxs15 } from "react/jsx-runtime";
33169
33207
  function List({
33170
33208
  id,
33171
33209
  items = [],
@@ -33194,8 +33232,8 @@ function List({
33194
33232
  };
33195
33233
  const fieldId = useFieldId(id);
33196
33234
  return /* @__PURE__ */ jsxs15(Fragment4, { children: [
33197
- label && /* @__PURE__ */ jsx30(Label2, { htmlFor: fieldId, children: label }),
33198
- /* @__PURE__ */ jsx30(
33235
+ label && /* @__PURE__ */ jsx31(Label2, { htmlFor: fieldId, children: label }),
33236
+ /* @__PURE__ */ jsx31(
33199
33237
  $eed445e0843c11d0$export$41f133550aa26f48,
33200
33238
  {
33201
33239
  id: fieldId,
@@ -33204,7 +33242,7 @@ function List({
33204
33242
  selectedKeys: value || selectedKeys,
33205
33243
  defaultSelectedKeys: value || defaultSelectedKeys,
33206
33244
  items,
33207
- className: (0, import_classnames21.default)(
33245
+ className: (0, import_classnames22.default)(
33208
33246
  List_default.list,
33209
33247
  className,
33210
33248
  !showCheckmark && List_default.hideCheckmark,
@@ -33216,8 +33254,8 @@ function List({
33216
33254
  const id2 = item[idProperty] || item.toString();
33217
33255
  const label2 = item[labelProperty] || item.toString();
33218
33256
  return /* @__PURE__ */ jsxs15(Fragment3, { children: [
33219
- item[separatorProperty] && /* @__PURE__ */ jsx30($431f98aba6844401$export$1ff3c3f08ae963c0, { className: List_default.separator }),
33220
- /* @__PURE__ */ jsx30(ListItem, { id: id2, className: List_default.item, children: label2 })
33257
+ item[separatorProperty] && /* @__PURE__ */ jsx31($431f98aba6844401$export$1ff3c3f08ae963c0, { className: List_default.separator }),
33258
+ /* @__PURE__ */ jsx31(ListItem, { id: id2, className: List_default.item, children: label2 })
33221
33259
  ] }, id2);
33222
33260
  })
33223
33261
  }
@@ -33236,63 +33274,25 @@ function ListItem({
33236
33274
  {
33237
33275
  ...props,
33238
33276
  id,
33239
- className: (0, import_classnames21.default)(List_default.item, className),
33277
+ className: (0, import_classnames22.default)(List_default.item, className),
33240
33278
  textValue: typeof children === "string" ? children : id?.toString(),
33241
33279
  children: [
33242
33280
  children,
33243
- showCheckmark && /* @__PURE__ */ jsx30(Icon2, { "aria-hidden": "true", className: List_default.checkmark, children: /* @__PURE__ */ jsx30(Check, {}) })
33281
+ showCheckmark && /* @__PURE__ */ jsx31(Icon2, { "aria-hidden": "true", className: List_default.checkmark, children: /* @__PURE__ */ jsx31(Check, {}) })
33244
33282
  ]
33245
33283
  }
33246
33284
  );
33247
33285
  }
33248
33286
  function ListSeparator({ className, ...props }) {
33249
- return /* @__PURE__ */ jsx30($431f98aba6844401$export$1ff3c3f08ae963c0, { ...props, className: (0, import_classnames21.default)(List_default.separator, className) });
33287
+ return /* @__PURE__ */ jsx31($431f98aba6844401$export$1ff3c3f08ae963c0, { ...props, className: (0, import_classnames22.default)(List_default.separator, className) });
33250
33288
  }
33251
33289
  function ListSection({ title, className, children, ...props }) {
33252
- return /* @__PURE__ */ jsxs15($eed445e0843c11d0$export$dca12b0bb56e4fc, { ...props, className: (0, import_classnames21.default)(List_default.section, className), children: [
33253
- title && /* @__PURE__ */ jsx30($72a5793c14baf454$export$8b251419efc915eb, { className: List_default.header, children: title }),
33290
+ return /* @__PURE__ */ jsxs15($eed445e0843c11d0$export$dca12b0bb56e4fc, { ...props, className: (0, import_classnames22.default)(List_default.section, className), children: [
33291
+ title && /* @__PURE__ */ jsx31($72a5793c14baf454$export$8b251419efc915eb, { className: List_default.header, children: title }),
33254
33292
  children
33255
33293
  ] });
33256
33294
  }
33257
33295
 
33258
- // src/components/Grid.tsx
33259
- var import_classnames22 = __toESM(require_classnames());
33260
- import { jsx as jsx31 } from "react/jsx-runtime";
33261
- function Grid({
33262
- display = "grid",
33263
- justifyContent,
33264
- justifyItems,
33265
- alignContent,
33266
- alignItems,
33267
- gap,
33268
- gapX,
33269
- gapY,
33270
- autoFlow,
33271
- rows,
33272
- columns,
33273
- areas,
33274
- className,
33275
- style,
33276
- children,
33277
- ...props
33278
- }) {
33279
- const [classes, styleProps] = useDesignProps({
33280
- display,
33281
- justifyContent,
33282
- justifyItems,
33283
- alignContent,
33284
- alignItems,
33285
- gap,
33286
- gapX,
33287
- gapY,
33288
- gridTemplateRows: rows,
33289
- gridTemplateColumns: columns,
33290
- gridTemplateAreas: areas,
33291
- gridAutoFlow: autoFlow
33292
- });
33293
- return /* @__PURE__ */ jsx31(Box, { ...props, className: (0, import_classnames22.default)(className, classes), style: { ...styleProps, ...style }, children });
33294
- }
33295
-
33296
33296
  // css-modules:E:\dev\umami-react-zen\src\components\ComboBox.module.css
33297
33297
  var ComboBox_default = { "combobox": "ComboBox_combobox__ZDYxZ", "input": "ComboBox_input__YjNkN", "button": "ComboBox_button__NTlhM", "list": "ComboBox_list__NTdiY" };
33298
33298
 
@@ -34086,7 +34086,10 @@ function NavMenuGroup({
34086
34086
  onClick: handleClick,
34087
34087
  children: [
34088
34088
  /* @__PURE__ */ jsx52(Text, { className: NavMenu_default.title, children: title }),
34089
- allowMinimize && /* @__PURE__ */ jsx52(Icon2, { rotate: minimized ? 0 : 90, color: "muted", children: /* @__PURE__ */ jsx52(ChevronDown, {}) })
34089
+ allowMinimize && /* @__PURE__ */ jsxs29(Icon2, { rotate: minimized ? -90 : 0, color: "muted", children: [
34090
+ "3+ 6.",
34091
+ /* @__PURE__ */ jsx52(ChevronDown, {})
34092
+ ] })
34090
34093
  ]
34091
34094
  }
34092
34095
  ),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@umami/react-zen",
3
- "version": "0.207.0",
3
+ "version": "0.209.0",
4
4
  "description": "Modern, minimalist React component library",
5
5
  "author": "Umami <hello@umami.is>",
6
6
  "license": "MIT",
@@ -32,16 +32,8 @@
32
32
  "bundle": "npm-run-all types esbuild css"
33
33
  },
34
34
  "lint-staged": {
35
- "**/*.{js,jsx,ts,tsx}": [
36
- "prettier --write",
37
- "eslint"
38
- ],
39
- "**/*.css": [
40
- "stylelint --fix",
41
- "prettier --write"
42
- ],
43
- "**/*.json": [
44
- "prettier --write"
35
+ "**/*.{js,jsx,ts,tsx,json,css}": [
36
+ "biome check --apply"
45
37
  ]
46
38
  },
47
39
  "dependencies": {
@@ -63,6 +55,7 @@
63
55
  "zustand": "^5.0.8"
64
56
  },
65
57
  "devDependencies": {
58
+ "@biomejs/biome": "^2.3.5",
66
59
  "@hyrious/esbuild-plugin-commonjs": "^0.2.6",
67
60
  "@rollup/plugin-alias": "^5.1.0",
68
61
  "@rollup/plugin-commonjs": "^25.0.7",
@@ -80,16 +73,9 @@
80
73
  "esbuild-css-modules-plugin": "^3.1.5",
81
74
  "esbuild-plugin-svgr": "^3.1.1",
82
75
  "esbuild-postcss": "^0.0.4",
83
- "eslint": "^8.16.0",
84
- "eslint-config-next": "15.2.2",
85
- "eslint-config-prettier": "^10.1.8",
86
- "eslint-import-resolver-alias": "^1.1.2",
87
- "eslint-plugin-import": "^2.32.0",
88
- "eslint-plugin-prettier": "^5.5.4",
89
76
  "husky": "^9.1.1",
90
77
  "lint-staged": "^15.5.2",
91
78
  "npm-run-all": "^4.1.5",
92
- "prettier": "^3.6.2",
93
79
  "rollup": "^4.52.4",
94
80
  "rollup-plugin-copy": "^3.5.0",
95
81
  "rollup-plugin-delete": "^2.0.0",
@@ -103,7 +89,6 @@
103
89
  },
104
90
  "pnpm": {
105
91
  "onlyBuiltDependencies": [
106
- "esbuild",
107
92
  "sharp"
108
93
  ]
109
94
  }