@umami/react-zen 0.209.0 → 0.211.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/README.md +0 -1
- package/dist/index.css +33 -27
- package/dist/index.js +36 -44
- package/dist/index.mjs +35 -43
- package/package.json +16 -16
- package/styles.css +33 -27
package/README.md
CHANGED
package/dist/index.css
CHANGED
|
@@ -3470,24 +3470,6 @@ body a.Button_button__NGQyO {
|
|
|
3470
3470
|
transform: translateY(-50%);
|
|
3471
3471
|
}
|
|
3472
3472
|
|
|
3473
|
-
/* virtual-css:css:30dc0f59418ffcc16fc4fc9d2cfc50c3 */
|
|
3474
|
-
.Text_truncate__NjQ2M {
|
|
3475
|
-
display: inline-block;
|
|
3476
|
-
white-space: nowrap;
|
|
3477
|
-
overflow: hidden;
|
|
3478
|
-
text-overflow: ellipsis;
|
|
3479
|
-
max-width: 100%;
|
|
3480
|
-
}
|
|
3481
|
-
.Text_italic__MmI4Y {
|
|
3482
|
-
font-style: italic;
|
|
3483
|
-
}
|
|
3484
|
-
.Text_underline__MzZmN {
|
|
3485
|
-
text-decoration: underline;
|
|
3486
|
-
}
|
|
3487
|
-
.Text_strikethrough__ZTg3Y {
|
|
3488
|
-
text-decoration: line-through;
|
|
3489
|
-
}
|
|
3490
|
-
|
|
3491
3473
|
/* virtual-css:css:fa53717340120f23a623f1ff98237d94 */
|
|
3492
3474
|
.Accordion_accordion__ODg3O {
|
|
3493
3475
|
display: flex;
|
|
@@ -3530,6 +3512,24 @@ body a.Button_button__NGQyO {
|
|
|
3530
3512
|
transition: max-height 0.5s ease-out;
|
|
3531
3513
|
}
|
|
3532
3514
|
|
|
3515
|
+
/* virtual-css:css:30dc0f59418ffcc16fc4fc9d2cfc50c3 */
|
|
3516
|
+
.Text_truncate__NjQ2M {
|
|
3517
|
+
display: inline-block;
|
|
3518
|
+
white-space: nowrap;
|
|
3519
|
+
overflow: hidden;
|
|
3520
|
+
text-overflow: ellipsis;
|
|
3521
|
+
max-width: 100%;
|
|
3522
|
+
}
|
|
3523
|
+
.Text_italic__MmI4Y {
|
|
3524
|
+
font-style: italic;
|
|
3525
|
+
}
|
|
3526
|
+
.Text_underline__MzZmN {
|
|
3527
|
+
text-decoration: underline;
|
|
3528
|
+
}
|
|
3529
|
+
.Text_strikethrough__ZTg3Y {
|
|
3530
|
+
text-decoration: line-through;
|
|
3531
|
+
}
|
|
3532
|
+
|
|
3533
3533
|
/* virtual-css:css:94870e251b7b77526d8ae103079be601 */
|
|
3534
3534
|
.Heading_heading__MGIyZ {
|
|
3535
3535
|
color: var(--heading-color);
|
|
@@ -3786,7 +3786,7 @@ body a.Button_button__NGQyO {
|
|
|
3786
3786
|
}
|
|
3787
3787
|
|
|
3788
3788
|
/* virtual-css:css:8ac5a8adaf8e8de9ae56ee4600f2cfaa */
|
|
3789
|
-
.
|
|
3789
|
+
.ComboBox_combobox__YzI1M {
|
|
3790
3790
|
display: flex;
|
|
3791
3791
|
align-items: center;
|
|
3792
3792
|
flex-wrap: nowrap;
|
|
@@ -3794,19 +3794,20 @@ body a.Button_button__NGQyO {
|
|
|
3794
3794
|
padding: var(--padding);
|
|
3795
3795
|
border-radius: var(--border-radius);
|
|
3796
3796
|
}
|
|
3797
|
-
.
|
|
3797
|
+
.ComboBox_input__MzZjN {
|
|
3798
3798
|
font-size: var(--font-size);
|
|
3799
3799
|
border: none;
|
|
3800
3800
|
outline: none;
|
|
3801
|
+
background-color: inherit;
|
|
3801
3802
|
}
|
|
3802
|
-
.
|
|
3803
|
+
.ComboBox_button__MTcyY {
|
|
3803
3804
|
display: flex;
|
|
3804
3805
|
align-items: center;
|
|
3805
3806
|
justify-content: center;
|
|
3806
3807
|
border: 0;
|
|
3807
3808
|
background: transparent;
|
|
3808
3809
|
}
|
|
3809
|
-
.
|
|
3810
|
+
.ComboBox_list__ZTQwM {
|
|
3810
3811
|
margin-top: var(--padding-y);
|
|
3811
3812
|
margin-left: calc(-1 * var(--padding-x));
|
|
3812
3813
|
padding: var(--spacing-2);
|
|
@@ -3816,6 +3817,9 @@ body a.Button_button__NGQyO {
|
|
|
3816
3817
|
box-shadow: var(--box-shadow-3);
|
|
3817
3818
|
width: 260px;
|
|
3818
3819
|
}
|
|
3820
|
+
.ComboBox_icon__NDQyM {
|
|
3821
|
+
cursor: pointer;
|
|
3822
|
+
}
|
|
3819
3823
|
|
|
3820
3824
|
/* virtual-css:css:a3f0bcbc602e66499a3823844c11db39 */
|
|
3821
3825
|
.Code_code__ZTc0M {
|
|
@@ -4710,29 +4714,31 @@ body a.Button_button__NGQyO {
|
|
|
4710
4714
|
}
|
|
4711
4715
|
|
|
4712
4716
|
/* virtual-css:css:851dd5366a20c382ffec60997ee93e35 */
|
|
4713
|
-
.
|
|
4717
|
+
.Select_select__NGY0O {
|
|
4714
4718
|
width: 100%;
|
|
4715
4719
|
}
|
|
4716
|
-
.
|
|
4720
|
+
.Select_button__NmEzN {
|
|
4717
4721
|
width: 100%;
|
|
4718
4722
|
min-height: 40px;
|
|
4719
4723
|
}
|
|
4720
|
-
.
|
|
4724
|
+
.Select_value__MTA5M {
|
|
4721
4725
|
display: flex;
|
|
4722
4726
|
align-items: center;
|
|
4723
4727
|
justify-content: space-between;
|
|
4724
4728
|
width: 100%;
|
|
4725
4729
|
gap: var(--gap);
|
|
4726
4730
|
}
|
|
4727
|
-
.
|
|
4731
|
+
.Select_list__ZDYyZ {
|
|
4728
4732
|
padding: var(--spacing-2);
|
|
4729
4733
|
background-color: var(--background-color);
|
|
4730
4734
|
border: var(--border);
|
|
4731
4735
|
border-radius: var(--border-radius);
|
|
4732
4736
|
box-shadow: var(--box-shadow-3);
|
|
4733
4737
|
width: 260px;
|
|
4738
|
+
max-height: 42vh;
|
|
4739
|
+
overflow-y: auto;
|
|
4734
4740
|
}
|
|
4735
|
-
.
|
|
4741
|
+
.Select_search__MWFkM {
|
|
4736
4742
|
margin-bottom: var(--spacing-2);
|
|
4737
4743
|
}
|
|
4738
4744
|
|
package/dist/index.js
CHANGED
|
@@ -28226,48 +28226,44 @@ var createLucideIcon = (iconName, iconNode) => {
|
|
|
28226
28226
|
var __iconNode = [["path", { d: "M20 6 9 17l-5-5", key: "1gmf2c" }]];
|
|
28227
28227
|
var Check = createLucideIcon("check", __iconNode);
|
|
28228
28228
|
|
|
28229
|
-
// node_modules/.pnpm/lucide-react@0.511.0_react@19.2.0/node_modules/lucide-react/dist/esm/icons/chevron-down.js
|
|
28230
|
-
var __iconNode2 = [["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]];
|
|
28231
|
-
var ChevronDown = createLucideIcon("chevron-down", __iconNode2);
|
|
28232
|
-
|
|
28233
28229
|
// node_modules/.pnpm/lucide-react@0.511.0_react@19.2.0/node_modules/lucide-react/dist/esm/icons/chevron-right.js
|
|
28234
|
-
var
|
|
28235
|
-
var ChevronRight = createLucideIcon("chevron-right",
|
|
28230
|
+
var __iconNode2 = [["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]];
|
|
28231
|
+
var ChevronRight = createLucideIcon("chevron-right", __iconNode2);
|
|
28236
28232
|
|
|
28237
28233
|
// node_modules/.pnpm/lucide-react@0.511.0_react@19.2.0/node_modules/lucide-react/dist/esm/icons/copy.js
|
|
28238
|
-
var
|
|
28234
|
+
var __iconNode3 = [
|
|
28239
28235
|
["rect", { width: "14", height: "14", x: "8", y: "8", rx: "2", ry: "2", key: "17jyea" }],
|
|
28240
28236
|
["path", { d: "M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2", key: "zix9uf" }]
|
|
28241
28237
|
];
|
|
28242
|
-
var Copy = createLucideIcon("copy",
|
|
28238
|
+
var Copy = createLucideIcon("copy", __iconNode3);
|
|
28243
28239
|
|
|
28244
28240
|
// node_modules/.pnpm/lucide-react@0.511.0_react@19.2.0/node_modules/lucide-react/dist/esm/icons/info.js
|
|
28245
|
-
var
|
|
28241
|
+
var __iconNode4 = [
|
|
28246
28242
|
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
28247
28243
|
["path", { d: "M12 16v-4", key: "1dtifu" }],
|
|
28248
28244
|
["path", { d: "M12 8h.01", key: "e9boi3" }]
|
|
28249
28245
|
];
|
|
28250
|
-
var Info = createLucideIcon("info",
|
|
28246
|
+
var Info = createLucideIcon("info", __iconNode4);
|
|
28251
28247
|
|
|
28252
28248
|
// node_modules/.pnpm/lucide-react@0.511.0_react@19.2.0/node_modules/lucide-react/dist/esm/icons/minus.js
|
|
28253
|
-
var
|
|
28254
|
-
var Minus = createLucideIcon("minus",
|
|
28249
|
+
var __iconNode5 = [["path", { d: "M5 12h14", key: "1ays0h" }]];
|
|
28250
|
+
var Minus = createLucideIcon("minus", __iconNode5);
|
|
28255
28251
|
|
|
28256
28252
|
// node_modules/.pnpm/lucide-react@0.511.0_react@19.2.0/node_modules/lucide-react/dist/esm/icons/moon.js
|
|
28257
|
-
var
|
|
28253
|
+
var __iconNode6 = [
|
|
28258
28254
|
["path", { d: "M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z", key: "a7tn18" }]
|
|
28259
28255
|
];
|
|
28260
|
-
var Moon = createLucideIcon("moon",
|
|
28256
|
+
var Moon = createLucideIcon("moon", __iconNode6);
|
|
28261
28257
|
|
|
28262
28258
|
// node_modules/.pnpm/lucide-react@0.511.0_react@19.2.0/node_modules/lucide-react/dist/esm/icons/search.js
|
|
28263
|
-
var
|
|
28259
|
+
var __iconNode7 = [
|
|
28264
28260
|
["path", { d: "m21 21-4.34-4.34", key: "14j7rj" }],
|
|
28265
28261
|
["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }]
|
|
28266
28262
|
];
|
|
28267
|
-
var Search = createLucideIcon("search",
|
|
28263
|
+
var Search = createLucideIcon("search", __iconNode7);
|
|
28268
28264
|
|
|
28269
28265
|
// node_modules/.pnpm/lucide-react@0.511.0_react@19.2.0/node_modules/lucide-react/dist/esm/icons/square-pen.js
|
|
28270
|
-
var
|
|
28266
|
+
var __iconNode8 = [
|
|
28271
28267
|
["path", { d: "M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7", key: "1m0v6g" }],
|
|
28272
28268
|
[
|
|
28273
28269
|
"path",
|
|
@@ -28277,10 +28273,10 @@ var __iconNode9 = [
|
|
|
28277
28273
|
}
|
|
28278
28274
|
]
|
|
28279
28275
|
];
|
|
28280
|
-
var SquarePen = createLucideIcon("square-pen",
|
|
28276
|
+
var SquarePen = createLucideIcon("square-pen", __iconNode8);
|
|
28281
28277
|
|
|
28282
28278
|
// node_modules/.pnpm/lucide-react@0.511.0_react@19.2.0/node_modules/lucide-react/dist/esm/icons/sun.js
|
|
28283
|
-
var
|
|
28279
|
+
var __iconNode9 = [
|
|
28284
28280
|
["circle", { cx: "12", cy: "12", r: "4", key: "4exip2" }],
|
|
28285
28281
|
["path", { d: "M12 2v2", key: "tus03m" }],
|
|
28286
28282
|
["path", { d: "M12 20v2", key: "1lh1kg" }],
|
|
@@ -28291,10 +28287,10 @@ var __iconNode10 = [
|
|
|
28291
28287
|
["path", { d: "m6.34 17.66-1.41 1.41", key: "1m8zz5" }],
|
|
28292
28288
|
["path", { d: "m19.07 4.93-1.41 1.41", key: "1shlcs" }]
|
|
28293
28289
|
];
|
|
28294
|
-
var Sun = createLucideIcon("sun",
|
|
28290
|
+
var Sun = createLucideIcon("sun", __iconNode9);
|
|
28295
28291
|
|
|
28296
28292
|
// node_modules/.pnpm/lucide-react@0.511.0_react@19.2.0/node_modules/lucide-react/dist/esm/icons/triangle-alert.js
|
|
28297
|
-
var
|
|
28293
|
+
var __iconNode10 = [
|
|
28298
28294
|
[
|
|
28299
28295
|
"path",
|
|
28300
28296
|
{
|
|
@@ -28305,14 +28301,14 @@ var __iconNode11 = [
|
|
|
28305
28301
|
["path", { d: "M12 9v4", key: "juzpu7" }],
|
|
28306
28302
|
["path", { d: "M12 17h.01", key: "p32p05" }]
|
|
28307
28303
|
];
|
|
28308
|
-
var TriangleAlert = createLucideIcon("triangle-alert",
|
|
28304
|
+
var TriangleAlert = createLucideIcon("triangle-alert", __iconNode10);
|
|
28309
28305
|
|
|
28310
28306
|
// node_modules/.pnpm/lucide-react@0.511.0_react@19.2.0/node_modules/lucide-react/dist/esm/icons/x.js
|
|
28311
|
-
var
|
|
28307
|
+
var __iconNode11 = [
|
|
28312
28308
|
["path", { d: "M18 6 6 18", key: "1bl5f8" }],
|
|
28313
28309
|
["path", { d: "m6 6 12 12", key: "d8bk6v" }]
|
|
28314
28310
|
];
|
|
28315
|
-
var X = createLucideIcon("x",
|
|
28311
|
+
var X = createLucideIcon("x", __iconNode11);
|
|
28316
28312
|
|
|
28317
28313
|
// src/components/Icon.tsx
|
|
28318
28314
|
var import_classnames = __toESM(require_classnames());
|
|
@@ -32922,8 +32918,11 @@ function useBreakpoint() {
|
|
|
32922
32918
|
}
|
|
32923
32919
|
|
|
32924
32920
|
// src/components/Accordion.tsx
|
|
32925
|
-
var import_react186 = require("react");
|
|
32926
32921
|
var import_classnames14 = __toESM(require_classnames());
|
|
32922
|
+
var import_react186 = require("react");
|
|
32923
|
+
|
|
32924
|
+
// css-modules:E:\dev\umami-react-zen\src\components\Accordion.module.css
|
|
32925
|
+
var Accordion_default = { "accordion": "Accordion_accordion__ODg3O", "item": "Accordion_item__ZDU3Z", "button": "Accordion_button__MTRiY", "icon": "Accordion_icon__NDMwM", "panel": "Accordion_panel__OTQ4M", "expanded": "Accordion_expanded__ODY0N" };
|
|
32927
32926
|
|
|
32928
32927
|
// src/components/Text.tsx
|
|
32929
32928
|
var import_classnames13 = __toESM(require_classnames());
|
|
@@ -32981,9 +32980,6 @@ function Text({
|
|
|
32981
32980
|
);
|
|
32982
32981
|
}
|
|
32983
32982
|
|
|
32984
|
-
// css-modules:E:\dev\umami-react-zen\src\components\Accordion.module.css
|
|
32985
|
-
var Accordion_default = { "accordion": "Accordion_accordion__ODg3O", "item": "Accordion_item__ZDU3Z", "button": "Accordion_button__MTRiY", "icon": "Accordion_icon__NDMwM", "panel": "Accordion_panel__OTQ4M", "expanded": "Accordion_expanded__ODY0N" };
|
|
32986
|
-
|
|
32987
32983
|
// src/components/Accordion.tsx
|
|
32988
32984
|
var import_jsx_runtime21 = require("react/jsx-runtime");
|
|
32989
32985
|
function Accordion({ className, children, ...props }) {
|
|
@@ -33009,7 +33005,7 @@ function AccordionItem({
|
|
|
33009
33005
|
children: [
|
|
33010
33006
|
/* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(Button2, { slot: "trigger", className: Accordion_default.button, children: [
|
|
33011
33007
|
/* @__PURE__ */ (0, import_jsx_runtime21.jsx)(Text, { children: trigger }),
|
|
33012
|
-
/* @__PURE__ */ (0, import_jsx_runtime21.jsx)(Icon2, { className: Accordion_default.icon, size: "
|
|
33008
|
+
/* @__PURE__ */ (0, import_jsx_runtime21.jsx)(Icon2, { className: Accordion_default.icon, size: "sm", children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(ChevronRight, {}) })
|
|
33013
33009
|
] }),
|
|
33014
33010
|
/* @__PURE__ */ (0, import_jsx_runtime21.jsx)($28f4fd908f0de97f$export$feabaa331e1d464c, { className: (0, import_classnames14.default)(Accordion_default.panel, expanded && Accordion_default.expanded), children: panel })
|
|
33015
33011
|
]
|
|
@@ -33155,7 +33151,7 @@ function Breadcrumbs2({ children, className, ...props }) {
|
|
|
33155
33151
|
function Breadcrumb2({ children, className, ...props }) {
|
|
33156
33152
|
return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)($778035c5624f61e7$export$dabcc1ec9dd9d1cc, { ...props, className: (0, import_classnames18.default)(Breadcrumbs_default.breadcrumb, className), children: [
|
|
33157
33153
|
children,
|
|
33158
|
-
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Icon2, { className: Breadcrumbs_default.icon, size: "xs", children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
33154
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Icon2, { className: Breadcrumbs_default.icon, size: "xs", children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(ChevronRight, {}) })
|
|
33159
33155
|
] });
|
|
33160
33156
|
}
|
|
33161
33157
|
|
|
@@ -33199,9 +33195,9 @@ function Calendar2({
|
|
|
33199
33195
|
onChange: handleChange,
|
|
33200
33196
|
children: [
|
|
33201
33197
|
/* @__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:
|
|
33198
|
+
/* @__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)(ChevronRight, {}) }) }),
|
|
33203
33199
|
/* @__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, {
|
|
33200
|
+
/* @__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)(ChevronRight, {}) }) })
|
|
33205
33201
|
] }),
|
|
33206
33202
|
/* @__PURE__ */ (0, import_jsx_runtime28.jsxs)($dfd62f934fc76fed$export$5bd780d491cfc46c, { children: [
|
|
33207
33203
|
/* @__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 }) }),
|
|
@@ -33419,7 +33415,7 @@ function ListSection({ title, className, children, ...props }) {
|
|
|
33419
33415
|
}
|
|
33420
33416
|
|
|
33421
33417
|
// css-modules:E:\dev\umami-react-zen\src\components\ComboBox.module.css
|
|
33422
|
-
var ComboBox_default = { "combobox": "
|
|
33418
|
+
var ComboBox_default = { "combobox": "ComboBox_combobox__YzI1M", "input": "ComboBox_input__MzZjN", "button": "ComboBox_button__MTcyY", "list": "ComboBox_list__ZTQwM", "icon": "ComboBox_icon__NDQyM" };
|
|
33423
33419
|
|
|
33424
33420
|
// src/components/ComboBox.tsx
|
|
33425
33421
|
var import_jsx_runtime32 = require("react/jsx-runtime");
|
|
@@ -33441,7 +33437,7 @@ function ComboBox2({
|
|
|
33441
33437
|
children: [
|
|
33442
33438
|
/* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(Grid, { alignItems: "center", columns: "1fr auto", width: "100%", children: [
|
|
33443
33439
|
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)($3985021b0ad6602f$export$f5b8910cec6cf069, { className: ComboBox_default.input }),
|
|
33444
|
-
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)($d2b4bc8c273e7be6$export$353f5b6fc5456de1, { className: ComboBox_default.button, children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(Icon2, { "aria-hidden": "true", size: "sm", children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
33440
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)($d2b4bc8c273e7be6$export$353f5b6fc5456de1, { className: ComboBox_default.button, children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(Icon2, { rotate: 90, className: ComboBox_default.icon, "aria-hidden": "true", size: "sm", children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(ChevronRight, {}) }) })
|
|
33445
33441
|
] }),
|
|
33446
33442
|
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)($07b14b47974efb58$export$5b6b19405a83ff9d, { ...popoverProps, children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("div", { className: ComboBox_default.list, children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(List, { items, renderEmptyState, ...listProps, children: children || items?.map((item) => /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(ListItem, { textValue: item, children: item }, item)) }) }) })
|
|
33447
33443
|
]
|
|
@@ -34112,8 +34108,8 @@ function Modal2({
|
|
|
34112
34108
|
}
|
|
34113
34109
|
|
|
34114
34110
|
// src/components/Navbar.tsx
|
|
34115
|
-
var import_react197 = require("react");
|
|
34116
34111
|
var import_classnames38 = __toESM(require_classnames());
|
|
34112
|
+
var import_react197 = require("react");
|
|
34117
34113
|
|
|
34118
34114
|
// css-modules:E:\dev\umami-react-zen\src\components\Navbar.module.css
|
|
34119
34115
|
var Navbar_default = { "nav": "Navbar_nav__ZjEwM", "item": "Navbar_item__MWVhZ", "icon": "Navbar_icon__ZmM1N" };
|
|
@@ -34138,7 +34134,7 @@ function NavbarItem({ label, children, className, ...props }) {
|
|
|
34138
34134
|
return /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(HoverTrigger, { isOpen: activeMenu === label, onHoverStart: () => setActiveMenu(label), children: [
|
|
34139
34135
|
/* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("div", { ...props, className: (0, import_classnames38.default)(Navbar_default.item, className), children: [
|
|
34140
34136
|
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Text, { children: label }),
|
|
34141
|
-
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Icon2, { rotate: 90, size: "sm", className: Navbar_default.icon, children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
|
|
34137
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Icon2, { rotate: 90, size: "sm", className: Navbar_default.icon, children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(ChevronRight, {}) })
|
|
34142
34138
|
] }),
|
|
34143
34139
|
children
|
|
34144
34140
|
] });
|
|
@@ -34207,10 +34203,7 @@ function NavMenuGroup({
|
|
|
34207
34203
|
onClick: handleClick,
|
|
34208
34204
|
children: [
|
|
34209
34205
|
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Text, { className: NavMenu_default.title, children: title }),
|
|
34210
|
-
allowMinimize && /* @__PURE__ */ (0, import_jsx_runtime52.
|
|
34211
|
-
"3+ 6.",
|
|
34212
|
-
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)(ChevronDown, {})
|
|
34213
|
-
] })
|
|
34206
|
+
allowMinimize && /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Icon2, { rotate: minimized ? 0 : 90, color: "muted", children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(ChevronRight, {}) })
|
|
34214
34207
|
]
|
|
34215
34208
|
}
|
|
34216
34209
|
),
|
|
@@ -34474,11 +34467,11 @@ function SearchField2({
|
|
|
34474
34467
|
}
|
|
34475
34468
|
|
|
34476
34469
|
// src/components/Select.tsx
|
|
34477
|
-
var import_react201 = require("react");
|
|
34478
34470
|
var import_classnames46 = __toESM(require_classnames());
|
|
34471
|
+
var import_react201 = require("react");
|
|
34479
34472
|
|
|
34480
34473
|
// css-modules:E:\dev\umami-react-zen\src\components\Select.module.css
|
|
34481
|
-
var Select_default = { "select": "
|
|
34474
|
+
var Select_default = { "select": "Select_select__NGY0O", "button": "Select_button__NmEzN", "value": "Select_value__MTA5M", "list": "Select_list__ZDYyZ", "search": "Select_search__MWFkM" };
|
|
34482
34475
|
|
|
34483
34476
|
// src/components/Select.tsx
|
|
34484
34477
|
var import_jsx_runtime63 = require("react/jsx-runtime");
|
|
@@ -34533,7 +34526,7 @@ function Select2({
|
|
|
34533
34526
|
className: (0, import_classnames46.default)(Select_default.button, buttonProps?.className),
|
|
34534
34527
|
children: /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("div", { className: Select_default.value, children: [
|
|
34535
34528
|
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)($82d7e5349645de74$export$e288731fd71264f0, { children: renderValue }),
|
|
34536
|
-
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)(Icon2, { "aria-hidden": "true", size: "sm", children: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
|
|
34529
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)(Icon2, { rotate: 90, "aria-hidden": "true", size: "sm", children: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(ChevronRight, {}) })
|
|
34537
34530
|
] })
|
|
34538
34531
|
}
|
|
34539
34532
|
),
|
|
@@ -34910,7 +34903,6 @@ lucide-react/dist/esm/defaultAttributes.js:
|
|
|
34910
34903
|
lucide-react/dist/esm/Icon.js:
|
|
34911
34904
|
lucide-react/dist/esm/createLucideIcon.js:
|
|
34912
34905
|
lucide-react/dist/esm/icons/check.js:
|
|
34913
|
-
lucide-react/dist/esm/icons/chevron-down.js:
|
|
34914
34906
|
lucide-react/dist/esm/icons/chevron-right.js:
|
|
34915
34907
|
lucide-react/dist/esm/icons/copy.js:
|
|
34916
34908
|
lucide-react/dist/esm/icons/info.js:
|
package/dist/index.mjs
CHANGED
|
@@ -28101,48 +28101,44 @@ var createLucideIcon = (iconName, iconNode) => {
|
|
|
28101
28101
|
var __iconNode = [["path", { d: "M20 6 9 17l-5-5", key: "1gmf2c" }]];
|
|
28102
28102
|
var Check = createLucideIcon("check", __iconNode);
|
|
28103
28103
|
|
|
28104
|
-
// node_modules/.pnpm/lucide-react@0.511.0_react@19.2.0/node_modules/lucide-react/dist/esm/icons/chevron-down.js
|
|
28105
|
-
var __iconNode2 = [["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]];
|
|
28106
|
-
var ChevronDown = createLucideIcon("chevron-down", __iconNode2);
|
|
28107
|
-
|
|
28108
28104
|
// node_modules/.pnpm/lucide-react@0.511.0_react@19.2.0/node_modules/lucide-react/dist/esm/icons/chevron-right.js
|
|
28109
|
-
var
|
|
28110
|
-
var ChevronRight = createLucideIcon("chevron-right",
|
|
28105
|
+
var __iconNode2 = [["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]];
|
|
28106
|
+
var ChevronRight = createLucideIcon("chevron-right", __iconNode2);
|
|
28111
28107
|
|
|
28112
28108
|
// node_modules/.pnpm/lucide-react@0.511.0_react@19.2.0/node_modules/lucide-react/dist/esm/icons/copy.js
|
|
28113
|
-
var
|
|
28109
|
+
var __iconNode3 = [
|
|
28114
28110
|
["rect", { width: "14", height: "14", x: "8", y: "8", rx: "2", ry: "2", key: "17jyea" }],
|
|
28115
28111
|
["path", { d: "M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2", key: "zix9uf" }]
|
|
28116
28112
|
];
|
|
28117
|
-
var Copy = createLucideIcon("copy",
|
|
28113
|
+
var Copy = createLucideIcon("copy", __iconNode3);
|
|
28118
28114
|
|
|
28119
28115
|
// node_modules/.pnpm/lucide-react@0.511.0_react@19.2.0/node_modules/lucide-react/dist/esm/icons/info.js
|
|
28120
|
-
var
|
|
28116
|
+
var __iconNode4 = [
|
|
28121
28117
|
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
28122
28118
|
["path", { d: "M12 16v-4", key: "1dtifu" }],
|
|
28123
28119
|
["path", { d: "M12 8h.01", key: "e9boi3" }]
|
|
28124
28120
|
];
|
|
28125
|
-
var Info = createLucideIcon("info",
|
|
28121
|
+
var Info = createLucideIcon("info", __iconNode4);
|
|
28126
28122
|
|
|
28127
28123
|
// node_modules/.pnpm/lucide-react@0.511.0_react@19.2.0/node_modules/lucide-react/dist/esm/icons/minus.js
|
|
28128
|
-
var
|
|
28129
|
-
var Minus = createLucideIcon("minus",
|
|
28124
|
+
var __iconNode5 = [["path", { d: "M5 12h14", key: "1ays0h" }]];
|
|
28125
|
+
var Minus = createLucideIcon("minus", __iconNode5);
|
|
28130
28126
|
|
|
28131
28127
|
// node_modules/.pnpm/lucide-react@0.511.0_react@19.2.0/node_modules/lucide-react/dist/esm/icons/moon.js
|
|
28132
|
-
var
|
|
28128
|
+
var __iconNode6 = [
|
|
28133
28129
|
["path", { d: "M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z", key: "a7tn18" }]
|
|
28134
28130
|
];
|
|
28135
|
-
var Moon = createLucideIcon("moon",
|
|
28131
|
+
var Moon = createLucideIcon("moon", __iconNode6);
|
|
28136
28132
|
|
|
28137
28133
|
// node_modules/.pnpm/lucide-react@0.511.0_react@19.2.0/node_modules/lucide-react/dist/esm/icons/search.js
|
|
28138
|
-
var
|
|
28134
|
+
var __iconNode7 = [
|
|
28139
28135
|
["path", { d: "m21 21-4.34-4.34", key: "14j7rj" }],
|
|
28140
28136
|
["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }]
|
|
28141
28137
|
];
|
|
28142
|
-
var Search = createLucideIcon("search",
|
|
28138
|
+
var Search = createLucideIcon("search", __iconNode7);
|
|
28143
28139
|
|
|
28144
28140
|
// node_modules/.pnpm/lucide-react@0.511.0_react@19.2.0/node_modules/lucide-react/dist/esm/icons/square-pen.js
|
|
28145
|
-
var
|
|
28141
|
+
var __iconNode8 = [
|
|
28146
28142
|
["path", { d: "M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7", key: "1m0v6g" }],
|
|
28147
28143
|
[
|
|
28148
28144
|
"path",
|
|
@@ -28152,10 +28148,10 @@ var __iconNode9 = [
|
|
|
28152
28148
|
}
|
|
28153
28149
|
]
|
|
28154
28150
|
];
|
|
28155
|
-
var SquarePen = createLucideIcon("square-pen",
|
|
28151
|
+
var SquarePen = createLucideIcon("square-pen", __iconNode8);
|
|
28156
28152
|
|
|
28157
28153
|
// node_modules/.pnpm/lucide-react@0.511.0_react@19.2.0/node_modules/lucide-react/dist/esm/icons/sun.js
|
|
28158
|
-
var
|
|
28154
|
+
var __iconNode9 = [
|
|
28159
28155
|
["circle", { cx: "12", cy: "12", r: "4", key: "4exip2" }],
|
|
28160
28156
|
["path", { d: "M12 2v2", key: "tus03m" }],
|
|
28161
28157
|
["path", { d: "M12 20v2", key: "1lh1kg" }],
|
|
@@ -28166,10 +28162,10 @@ var __iconNode10 = [
|
|
|
28166
28162
|
["path", { d: "m6.34 17.66-1.41 1.41", key: "1m8zz5" }],
|
|
28167
28163
|
["path", { d: "m19.07 4.93-1.41 1.41", key: "1shlcs" }]
|
|
28168
28164
|
];
|
|
28169
|
-
var Sun = createLucideIcon("sun",
|
|
28165
|
+
var Sun = createLucideIcon("sun", __iconNode9);
|
|
28170
28166
|
|
|
28171
28167
|
// node_modules/.pnpm/lucide-react@0.511.0_react@19.2.0/node_modules/lucide-react/dist/esm/icons/triangle-alert.js
|
|
28172
|
-
var
|
|
28168
|
+
var __iconNode10 = [
|
|
28173
28169
|
[
|
|
28174
28170
|
"path",
|
|
28175
28171
|
{
|
|
@@ -28180,14 +28176,14 @@ var __iconNode11 = [
|
|
|
28180
28176
|
["path", { d: "M12 9v4", key: "juzpu7" }],
|
|
28181
28177
|
["path", { d: "M12 17h.01", key: "p32p05" }]
|
|
28182
28178
|
];
|
|
28183
|
-
var TriangleAlert = createLucideIcon("triangle-alert",
|
|
28179
|
+
var TriangleAlert = createLucideIcon("triangle-alert", __iconNode10);
|
|
28184
28180
|
|
|
28185
28181
|
// node_modules/.pnpm/lucide-react@0.511.0_react@19.2.0/node_modules/lucide-react/dist/esm/icons/x.js
|
|
28186
|
-
var
|
|
28182
|
+
var __iconNode11 = [
|
|
28187
28183
|
["path", { d: "M18 6 6 18", key: "1bl5f8" }],
|
|
28188
28184
|
["path", { d: "m6 6 12 12", key: "d8bk6v" }]
|
|
28189
28185
|
];
|
|
28190
|
-
var X = createLucideIcon("x",
|
|
28186
|
+
var X = createLucideIcon("x", __iconNode11);
|
|
28191
28187
|
|
|
28192
28188
|
// src/components/Icon.tsx
|
|
28193
28189
|
var import_classnames = __toESM(require_classnames());
|
|
@@ -32797,8 +32793,11 @@ function useBreakpoint() {
|
|
|
32797
32793
|
}
|
|
32798
32794
|
|
|
32799
32795
|
// src/components/Accordion.tsx
|
|
32800
|
-
import { useState as useState8 } from "react";
|
|
32801
32796
|
var import_classnames14 = __toESM(require_classnames());
|
|
32797
|
+
import { useState as useState8 } from "react";
|
|
32798
|
+
|
|
32799
|
+
// css-modules:E:\dev\umami-react-zen\src\components\Accordion.module.css
|
|
32800
|
+
var Accordion_default = { "accordion": "Accordion_accordion__ODg3O", "item": "Accordion_item__ZDU3Z", "button": "Accordion_button__MTRiY", "icon": "Accordion_icon__NDMwM", "panel": "Accordion_panel__OTQ4M", "expanded": "Accordion_expanded__ODY0N" };
|
|
32802
32801
|
|
|
32803
32802
|
// src/components/Text.tsx
|
|
32804
32803
|
var import_classnames13 = __toESM(require_classnames());
|
|
@@ -32856,9 +32855,6 @@ function Text({
|
|
|
32856
32855
|
);
|
|
32857
32856
|
}
|
|
32858
32857
|
|
|
32859
|
-
// css-modules:E:\dev\umami-react-zen\src\components\Accordion.module.css
|
|
32860
|
-
var Accordion_default = { "accordion": "Accordion_accordion__ODg3O", "item": "Accordion_item__ZDU3Z", "button": "Accordion_button__MTRiY", "icon": "Accordion_icon__NDMwM", "panel": "Accordion_panel__OTQ4M", "expanded": "Accordion_expanded__ODY0N" };
|
|
32861
|
-
|
|
32862
32858
|
// src/components/Accordion.tsx
|
|
32863
32859
|
import { jsx as jsx21, jsxs as jsxs9 } from "react/jsx-runtime";
|
|
32864
32860
|
function Accordion({ className, children, ...props }) {
|
|
@@ -32884,7 +32880,7 @@ function AccordionItem({
|
|
|
32884
32880
|
children: [
|
|
32885
32881
|
/* @__PURE__ */ jsxs9(Button2, { slot: "trigger", className: Accordion_default.button, children: [
|
|
32886
32882
|
/* @__PURE__ */ jsx21(Text, { children: trigger }),
|
|
32887
|
-
/* @__PURE__ */ jsx21(Icon2, { className: Accordion_default.icon, size: "
|
|
32883
|
+
/* @__PURE__ */ jsx21(Icon2, { className: Accordion_default.icon, size: "sm", children: /* @__PURE__ */ jsx21(ChevronRight, {}) })
|
|
32888
32884
|
] }),
|
|
32889
32885
|
/* @__PURE__ */ jsx21($28f4fd908f0de97f$export$feabaa331e1d464c, { className: (0, import_classnames14.default)(Accordion_default.panel, expanded && Accordion_default.expanded), children: panel })
|
|
32890
32886
|
]
|
|
@@ -33030,7 +33026,7 @@ function Breadcrumbs2({ children, className, ...props }) {
|
|
|
33030
33026
|
function Breadcrumb2({ children, className, ...props }) {
|
|
33031
33027
|
return /* @__PURE__ */ jsxs12($778035c5624f61e7$export$dabcc1ec9dd9d1cc, { ...props, className: (0, import_classnames18.default)(Breadcrumbs_default.breadcrumb, className), children: [
|
|
33032
33028
|
children,
|
|
33033
|
-
/* @__PURE__ */ jsx27(Icon2, { className: Breadcrumbs_default.icon, size: "xs", children: /* @__PURE__ */ jsx27(
|
|
33029
|
+
/* @__PURE__ */ jsx27(Icon2, { className: Breadcrumbs_default.icon, size: "xs", children: /* @__PURE__ */ jsx27(ChevronRight, {}) })
|
|
33034
33030
|
] });
|
|
33035
33031
|
}
|
|
33036
33032
|
|
|
@@ -33074,9 +33070,9 @@ function Calendar2({
|
|
|
33074
33070
|
onChange: handleChange,
|
|
33075
33071
|
children: [
|
|
33076
33072
|
/* @__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:
|
|
33073
|
+
/* @__PURE__ */ jsx28(Button2, { slot: "previous", className: Calendar_default.button, variant: "quiet", children: /* @__PURE__ */ jsx28(Icon2, { rotate: 180, children: /* @__PURE__ */ jsx28(ChevronRight, {}) }) }),
|
|
33078
33074
|
/* @__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, {
|
|
33075
|
+
/* @__PURE__ */ jsx28(Button2, { slot: "next", className: Calendar_default.button, variant: "quiet", children: /* @__PURE__ */ jsx28(Icon2, { children: /* @__PURE__ */ jsx28(ChevronRight, {}) }) })
|
|
33080
33076
|
] }),
|
|
33081
33077
|
/* @__PURE__ */ jsxs13($dfd62f934fc76fed$export$5bd780d491cfc46c, { children: [
|
|
33082
33078
|
/* @__PURE__ */ jsx28($dfd62f934fc76fed$export$22e2d15eaa4d2377, { children: (day) => /* @__PURE__ */ jsx28($dfd62f934fc76fed$export$ad2135cac3a11b3d, { className: Calendar_default.headerCell, children: day }) }),
|
|
@@ -33294,7 +33290,7 @@ function ListSection({ title, className, children, ...props }) {
|
|
|
33294
33290
|
}
|
|
33295
33291
|
|
|
33296
33292
|
// css-modules:E:\dev\umami-react-zen\src\components\ComboBox.module.css
|
|
33297
|
-
var ComboBox_default = { "combobox": "
|
|
33293
|
+
var ComboBox_default = { "combobox": "ComboBox_combobox__YzI1M", "input": "ComboBox_input__MzZjN", "button": "ComboBox_button__MTcyY", "list": "ComboBox_list__ZTQwM", "icon": "ComboBox_icon__NDQyM" };
|
|
33298
33294
|
|
|
33299
33295
|
// src/components/ComboBox.tsx
|
|
33300
33296
|
import { jsx as jsx32, jsxs as jsxs16 } from "react/jsx-runtime";
|
|
@@ -33316,7 +33312,7 @@ function ComboBox2({
|
|
|
33316
33312
|
children: [
|
|
33317
33313
|
/* @__PURE__ */ jsxs16(Grid, { alignItems: "center", columns: "1fr auto", width: "100%", children: [
|
|
33318
33314
|
/* @__PURE__ */ jsx32($3985021b0ad6602f$export$f5b8910cec6cf069, { className: ComboBox_default.input }),
|
|
33319
|
-
/* @__PURE__ */ jsx32($d2b4bc8c273e7be6$export$353f5b6fc5456de1, { className: ComboBox_default.button, children: /* @__PURE__ */ jsx32(Icon2, { "aria-hidden": "true", size: "sm", children: /* @__PURE__ */ jsx32(
|
|
33315
|
+
/* @__PURE__ */ jsx32($d2b4bc8c273e7be6$export$353f5b6fc5456de1, { className: ComboBox_default.button, children: /* @__PURE__ */ jsx32(Icon2, { rotate: 90, className: ComboBox_default.icon, "aria-hidden": "true", size: "sm", children: /* @__PURE__ */ jsx32(ChevronRight, {}) }) })
|
|
33320
33316
|
] }),
|
|
33321
33317
|
/* @__PURE__ */ jsx32($07b14b47974efb58$export$5b6b19405a83ff9d, { ...popoverProps, children: /* @__PURE__ */ jsx32("div", { className: ComboBox_default.list, children: /* @__PURE__ */ jsx32(List, { items, renderEmptyState, ...listProps, children: children || items?.map((item) => /* @__PURE__ */ jsx32(ListItem, { textValue: item, children: item }, item)) }) }) })
|
|
33322
33318
|
]
|
|
@@ -34017,7 +34013,7 @@ function NavbarItem({ label, children, className, ...props }) {
|
|
|
34017
34013
|
return /* @__PURE__ */ jsxs28(HoverTrigger, { isOpen: activeMenu === label, onHoverStart: () => setActiveMenu(label), children: [
|
|
34018
34014
|
/* @__PURE__ */ jsxs28("div", { ...props, className: (0, import_classnames38.default)(Navbar_default.item, className), children: [
|
|
34019
34015
|
/* @__PURE__ */ jsx51(Text, { children: label }),
|
|
34020
|
-
/* @__PURE__ */ jsx51(Icon2, { rotate: 90, size: "sm", className: Navbar_default.icon, children: /* @__PURE__ */ jsx51(
|
|
34016
|
+
/* @__PURE__ */ jsx51(Icon2, { rotate: 90, size: "sm", className: Navbar_default.icon, children: /* @__PURE__ */ jsx51(ChevronRight, {}) })
|
|
34021
34017
|
] }),
|
|
34022
34018
|
children
|
|
34023
34019
|
] });
|
|
@@ -34086,10 +34082,7 @@ function NavMenuGroup({
|
|
|
34086
34082
|
onClick: handleClick,
|
|
34087
34083
|
children: [
|
|
34088
34084
|
/* @__PURE__ */ jsx52(Text, { className: NavMenu_default.title, children: title }),
|
|
34089
|
-
allowMinimize && /* @__PURE__ */
|
|
34090
|
-
"3+ 6.",
|
|
34091
|
-
/* @__PURE__ */ jsx52(ChevronDown, {})
|
|
34092
|
-
] })
|
|
34085
|
+
allowMinimize && /* @__PURE__ */ jsx52(Icon2, { rotate: minimized ? 0 : 90, color: "muted", children: /* @__PURE__ */ jsx52(ChevronRight, {}) })
|
|
34093
34086
|
]
|
|
34094
34087
|
}
|
|
34095
34088
|
),
|
|
@@ -34353,11 +34346,11 @@ function SearchField2({
|
|
|
34353
34346
|
}
|
|
34354
34347
|
|
|
34355
34348
|
// src/components/Select.tsx
|
|
34356
|
-
import { useState as useState19 } from "react";
|
|
34357
34349
|
var import_classnames46 = __toESM(require_classnames());
|
|
34350
|
+
import { useState as useState19 } from "react";
|
|
34358
34351
|
|
|
34359
34352
|
// css-modules:E:\dev\umami-react-zen\src\components\Select.module.css
|
|
34360
|
-
var Select_default = { "select": "
|
|
34353
|
+
var Select_default = { "select": "Select_select__NGY0O", "button": "Select_button__NmEzN", "value": "Select_value__MTA5M", "list": "Select_list__ZDYyZ", "search": "Select_search__MWFkM" };
|
|
34361
34354
|
|
|
34362
34355
|
// src/components/Select.tsx
|
|
34363
34356
|
import { jsx as jsx63, jsxs as jsxs38 } from "react/jsx-runtime";
|
|
@@ -34412,7 +34405,7 @@ function Select2({
|
|
|
34412
34405
|
className: (0, import_classnames46.default)(Select_default.button, buttonProps?.className),
|
|
34413
34406
|
children: /* @__PURE__ */ jsxs38("div", { className: Select_default.value, children: [
|
|
34414
34407
|
/* @__PURE__ */ jsx63($82d7e5349645de74$export$e288731fd71264f0, { children: renderValue }),
|
|
34415
|
-
/* @__PURE__ */ jsx63(Icon2, { "aria-hidden": "true", size: "sm", children: /* @__PURE__ */ jsx63(
|
|
34408
|
+
/* @__PURE__ */ jsx63(Icon2, { rotate: 90, "aria-hidden": "true", size: "sm", children: /* @__PURE__ */ jsx63(ChevronRight, {}) })
|
|
34416
34409
|
] })
|
|
34417
34410
|
}
|
|
34418
34411
|
),
|
|
@@ -34904,7 +34897,6 @@ lucide-react/dist/esm/defaultAttributes.js:
|
|
|
34904
34897
|
lucide-react/dist/esm/Icon.js:
|
|
34905
34898
|
lucide-react/dist/esm/createLucideIcon.js:
|
|
34906
34899
|
lucide-react/dist/esm/icons/check.js:
|
|
34907
|
-
lucide-react/dist/esm/icons/chevron-down.js:
|
|
34908
34900
|
lucide-react/dist/esm/icons/chevron-right.js:
|
|
34909
34901
|
lucide-react/dist/esm/icons/copy.js:
|
|
34910
34902
|
lucide-react/dist/esm/icons/info.js:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@umami/react-zen",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.211.0",
|
|
4
4
|
"description": "Modern, minimalist React component library",
|
|
5
5
|
"author": "Umami <hello@umami.is>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
},
|
|
34
34
|
"lint-staged": {
|
|
35
35
|
"**/*.{js,jsx,ts,tsx,json,css}": [
|
|
36
|
-
"biome check --
|
|
36
|
+
"biome check --write --no-errors-on-unmatched --files-ignore-unknown=true"
|
|
37
37
|
]
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
@@ -42,49 +42,49 @@
|
|
|
42
42
|
"@react-aria/focus": "^3.21.2",
|
|
43
43
|
"@react-spring/web": "^9.7.5",
|
|
44
44
|
"classnames": "^2.5.1",
|
|
45
|
-
"glob": "^
|
|
45
|
+
"glob": "^13.0.0",
|
|
46
46
|
"highlight.js": "^11.11.1",
|
|
47
|
-
"lucide-react": "^0.
|
|
48
|
-
"next": "^
|
|
47
|
+
"lucide-react": "^0.555.0",
|
|
48
|
+
"next": "^16.0.5",
|
|
49
49
|
"react": "^19.2.0",
|
|
50
50
|
"react-aria-components": "^1.13.0",
|
|
51
51
|
"react-dom": "^19.2.0",
|
|
52
|
-
"react-hook-form": "^7.
|
|
52
|
+
"react-hook-form": "^7.66.1",
|
|
53
53
|
"react-icons": "^5.4.0",
|
|
54
54
|
"thenby": "^1.3.4",
|
|
55
55
|
"zustand": "^5.0.8"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
|
-
"@biomejs/biome": "^2.3.
|
|
58
|
+
"@biomejs/biome": "^2.3.7",
|
|
59
59
|
"@hyrious/esbuild-plugin-commonjs": "^0.2.6",
|
|
60
60
|
"@rollup/plugin-alias": "^5.1.0",
|
|
61
61
|
"@rollup/plugin-commonjs": "^25.0.7",
|
|
62
62
|
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
63
63
|
"@svgr/cli": "^8.1.0",
|
|
64
64
|
"@types/mdx": "^2.0.11",
|
|
65
|
-
"@types/node": "^22.
|
|
66
|
-
"@types/react": "^19.2.
|
|
67
|
-
"@types/react-dom": "^19.2.
|
|
65
|
+
"@types/node": "^22.19.1",
|
|
66
|
+
"@types/react": "^19.2.7",
|
|
67
|
+
"@types/react-dom": "^19.2.3",
|
|
68
68
|
"@umami/esbuild-plugin-css-modules": "0.4.0",
|
|
69
69
|
"@umami/shiso": "^0.55.0",
|
|
70
70
|
"babel-plugin-inline-react-svg": "^2.0.2",
|
|
71
71
|
"dts-bundle": "^0.7.3",
|
|
72
|
-
"esbuild": "^0.
|
|
72
|
+
"esbuild": "^0.27.0",
|
|
73
73
|
"esbuild-css-modules-plugin": "^3.1.5",
|
|
74
74
|
"esbuild-plugin-svgr": "^3.1.1",
|
|
75
75
|
"esbuild-postcss": "^0.0.4",
|
|
76
76
|
"husky": "^9.1.1",
|
|
77
|
-
"lint-staged": "^
|
|
77
|
+
"lint-staged": "^16.2.7",
|
|
78
78
|
"npm-run-all": "^4.1.5",
|
|
79
|
-
"rollup": "^4.
|
|
79
|
+
"rollup": "^4.53.3",
|
|
80
80
|
"rollup-plugin-copy": "^3.5.0",
|
|
81
81
|
"rollup-plugin-delete": "^2.0.0",
|
|
82
|
-
"rollup-plugin-dts": "^6.
|
|
82
|
+
"rollup-plugin-dts": "^6.3.0",
|
|
83
83
|
"rollup-plugin-esbuild": "^6.1.1",
|
|
84
84
|
"rollup-plugin-postcss": "^4.0.2",
|
|
85
|
-
"stylelint": "^16.
|
|
85
|
+
"stylelint": "^16.26.0",
|
|
86
86
|
"stylelint-config-recommended": "^15.0.0",
|
|
87
|
-
"tsup": "^8.5.
|
|
87
|
+
"tsup": "^8.5.1",
|
|
88
88
|
"typescript": "^5.9.3"
|
|
89
89
|
},
|
|
90
90
|
"pnpm": {
|
package/styles.css
CHANGED
|
@@ -3788,24 +3788,6 @@ body a.Button_button__NGQyO {
|
|
|
3788
3788
|
transform: translateY(-50%);
|
|
3789
3789
|
}
|
|
3790
3790
|
|
|
3791
|
-
/* virtual-css:css:30dc0f59418ffcc16fc4fc9d2cfc50c3 */
|
|
3792
|
-
.Text_truncate__NjQ2M {
|
|
3793
|
-
display: inline-block;
|
|
3794
|
-
white-space: nowrap;
|
|
3795
|
-
overflow: hidden;
|
|
3796
|
-
text-overflow: ellipsis;
|
|
3797
|
-
max-width: 100%;
|
|
3798
|
-
}
|
|
3799
|
-
.Text_italic__MmI4Y {
|
|
3800
|
-
font-style: italic;
|
|
3801
|
-
}
|
|
3802
|
-
.Text_underline__MzZmN {
|
|
3803
|
-
text-decoration: underline;
|
|
3804
|
-
}
|
|
3805
|
-
.Text_strikethrough__ZTg3Y {
|
|
3806
|
-
text-decoration: line-through;
|
|
3807
|
-
}
|
|
3808
|
-
|
|
3809
3791
|
/* virtual-css:css:fa53717340120f23a623f1ff98237d94 */
|
|
3810
3792
|
.Accordion_accordion__ODg3O {
|
|
3811
3793
|
display: flex;
|
|
@@ -3848,6 +3830,24 @@ body a.Button_button__NGQyO {
|
|
|
3848
3830
|
transition: max-height 0.5s ease-out;
|
|
3849
3831
|
}
|
|
3850
3832
|
|
|
3833
|
+
/* virtual-css:css:30dc0f59418ffcc16fc4fc9d2cfc50c3 */
|
|
3834
|
+
.Text_truncate__NjQ2M {
|
|
3835
|
+
display: inline-block;
|
|
3836
|
+
white-space: nowrap;
|
|
3837
|
+
overflow: hidden;
|
|
3838
|
+
text-overflow: ellipsis;
|
|
3839
|
+
max-width: 100%;
|
|
3840
|
+
}
|
|
3841
|
+
.Text_italic__MmI4Y {
|
|
3842
|
+
font-style: italic;
|
|
3843
|
+
}
|
|
3844
|
+
.Text_underline__MzZmN {
|
|
3845
|
+
text-decoration: underline;
|
|
3846
|
+
}
|
|
3847
|
+
.Text_strikethrough__ZTg3Y {
|
|
3848
|
+
text-decoration: line-through;
|
|
3849
|
+
}
|
|
3850
|
+
|
|
3851
3851
|
/* virtual-css:css:94870e251b7b77526d8ae103079be601 */
|
|
3852
3852
|
.Heading_heading__MGIyZ {
|
|
3853
3853
|
color: var(--heading-color);
|
|
@@ -4104,7 +4104,7 @@ body a.Button_button__NGQyO {
|
|
|
4104
4104
|
}
|
|
4105
4105
|
|
|
4106
4106
|
/* virtual-css:css:8ac5a8adaf8e8de9ae56ee4600f2cfaa */
|
|
4107
|
-
.
|
|
4107
|
+
.ComboBox_combobox__YzI1M {
|
|
4108
4108
|
display: flex;
|
|
4109
4109
|
align-items: center;
|
|
4110
4110
|
flex-wrap: nowrap;
|
|
@@ -4112,19 +4112,20 @@ body a.Button_button__NGQyO {
|
|
|
4112
4112
|
padding: var(--padding);
|
|
4113
4113
|
border-radius: var(--border-radius);
|
|
4114
4114
|
}
|
|
4115
|
-
.
|
|
4115
|
+
.ComboBox_input__MzZjN {
|
|
4116
4116
|
font-size: var(--font-size);
|
|
4117
4117
|
border: none;
|
|
4118
4118
|
outline: none;
|
|
4119
|
+
background-color: inherit;
|
|
4119
4120
|
}
|
|
4120
|
-
.
|
|
4121
|
+
.ComboBox_button__MTcyY {
|
|
4121
4122
|
display: flex;
|
|
4122
4123
|
align-items: center;
|
|
4123
4124
|
justify-content: center;
|
|
4124
4125
|
border: 0;
|
|
4125
4126
|
background: transparent;
|
|
4126
4127
|
}
|
|
4127
|
-
.
|
|
4128
|
+
.ComboBox_list__ZTQwM {
|
|
4128
4129
|
margin-top: var(--padding-y);
|
|
4129
4130
|
margin-left: calc(-1 * var(--padding-x));
|
|
4130
4131
|
padding: var(--spacing-2);
|
|
@@ -4134,6 +4135,9 @@ body a.Button_button__NGQyO {
|
|
|
4134
4135
|
box-shadow: var(--box-shadow-3);
|
|
4135
4136
|
width: 260px;
|
|
4136
4137
|
}
|
|
4138
|
+
.ComboBox_icon__NDQyM {
|
|
4139
|
+
cursor: pointer;
|
|
4140
|
+
}
|
|
4137
4141
|
|
|
4138
4142
|
/* virtual-css:css:a3f0bcbc602e66499a3823844c11db39 */
|
|
4139
4143
|
.Code_code__ZTc0M {
|
|
@@ -5028,29 +5032,31 @@ body a.Button_button__NGQyO {
|
|
|
5028
5032
|
}
|
|
5029
5033
|
|
|
5030
5034
|
/* virtual-css:css:851dd5366a20c382ffec60997ee93e35 */
|
|
5031
|
-
.
|
|
5035
|
+
.Select_select__NGY0O {
|
|
5032
5036
|
width: 100%;
|
|
5033
5037
|
}
|
|
5034
|
-
.
|
|
5038
|
+
.Select_button__NmEzN {
|
|
5035
5039
|
width: 100%;
|
|
5036
5040
|
min-height: 40px;
|
|
5037
5041
|
}
|
|
5038
|
-
.
|
|
5042
|
+
.Select_value__MTA5M {
|
|
5039
5043
|
display: flex;
|
|
5040
5044
|
align-items: center;
|
|
5041
5045
|
justify-content: space-between;
|
|
5042
5046
|
width: 100%;
|
|
5043
5047
|
gap: var(--gap);
|
|
5044
5048
|
}
|
|
5045
|
-
.
|
|
5049
|
+
.Select_list__ZDYyZ {
|
|
5046
5050
|
padding: var(--spacing-2);
|
|
5047
5051
|
background-color: var(--background-color);
|
|
5048
5052
|
border: var(--border);
|
|
5049
5053
|
border-radius: var(--border-radius);
|
|
5050
5054
|
box-shadow: var(--box-shadow-3);
|
|
5051
5055
|
width: 260px;
|
|
5056
|
+
max-height: 42vh;
|
|
5057
|
+
overflow-y: auto;
|
|
5052
5058
|
}
|
|
5053
|
-
.
|
|
5059
|
+
.Select_search__MWFkM {
|
|
5054
5060
|
margin-bottom: var(--spacing-2);
|
|
5055
5061
|
}
|
|
5056
5062
|
|