@umami/react-zen 0.103.0 → 0.104.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.css +24 -0
- package/dist/index.d.ts +15 -2
- package/dist/index.js +191 -132
- package/dist/index.mjs +175 -116
- package/package.json +1 -1
- package/styles.css +26 -0
package/dist/index.mjs
CHANGED
|
@@ -161,7 +161,7 @@ var require_classnames = __commonJS({
|
|
|
161
161
|
(function() {
|
|
162
162
|
"use strict";
|
|
163
163
|
var hasOwn = {}.hasOwnProperty;
|
|
164
|
-
function
|
|
164
|
+
function classNames52() {
|
|
165
165
|
var classes = "";
|
|
166
166
|
for (var i = 0; i < arguments.length; i++) {
|
|
167
167
|
var arg = arguments[i];
|
|
@@ -179,7 +179,7 @@ var require_classnames = __commonJS({
|
|
|
179
179
|
return "";
|
|
180
180
|
}
|
|
181
181
|
if (Array.isArray(arg)) {
|
|
182
|
-
return
|
|
182
|
+
return classNames52.apply(null, arg);
|
|
183
183
|
}
|
|
184
184
|
if (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes("[native code]")) {
|
|
185
185
|
return arg.toString();
|
|
@@ -202,14 +202,14 @@ var require_classnames = __commonJS({
|
|
|
202
202
|
return value + newClass;
|
|
203
203
|
}
|
|
204
204
|
if (typeof module !== "undefined" && module.exports) {
|
|
205
|
-
|
|
206
|
-
module.exports =
|
|
205
|
+
classNames52.default = classNames52;
|
|
206
|
+
module.exports = classNames52;
|
|
207
207
|
} else if (typeof define === "function" && typeof define.amd === "object" && define.amd) {
|
|
208
208
|
define("classnames", [], function() {
|
|
209
|
-
return
|
|
209
|
+
return classNames52;
|
|
210
210
|
});
|
|
211
211
|
} else {
|
|
212
|
-
window.classNames =
|
|
212
|
+
window.classNames = classNames52;
|
|
213
213
|
}
|
|
214
214
|
})();
|
|
215
215
|
}
|
|
@@ -30607,6 +30607,46 @@ function InlineEditField({
|
|
|
30607
30607
|
import { Fragment as Fragment6 } from "react";
|
|
30608
30608
|
var import_classnames32 = __toESM(require_classnames());
|
|
30609
30609
|
|
|
30610
|
+
// src/lib/constants.ts
|
|
30611
|
+
var ACCENT_COLORS = [
|
|
30612
|
+
"gray",
|
|
30613
|
+
"gold",
|
|
30614
|
+
"bronze",
|
|
30615
|
+
"brown",
|
|
30616
|
+
"yellow",
|
|
30617
|
+
"amber",
|
|
30618
|
+
"orange",
|
|
30619
|
+
"tomato",
|
|
30620
|
+
"red",
|
|
30621
|
+
"ruby",
|
|
30622
|
+
"crimson",
|
|
30623
|
+
"pink",
|
|
30624
|
+
"plum",
|
|
30625
|
+
"purple",
|
|
30626
|
+
"violet",
|
|
30627
|
+
"iris",
|
|
30628
|
+
"indigo",
|
|
30629
|
+
"blue",
|
|
30630
|
+
"cyan",
|
|
30631
|
+
"teal",
|
|
30632
|
+
"jade",
|
|
30633
|
+
"green",
|
|
30634
|
+
"grass",
|
|
30635
|
+
"lime",
|
|
30636
|
+
"mint",
|
|
30637
|
+
"sky"
|
|
30638
|
+
];
|
|
30639
|
+
|
|
30640
|
+
// src/lib/styles.ts
|
|
30641
|
+
function getHighlightColor(color) {
|
|
30642
|
+
if (!color) return;
|
|
30643
|
+
if (/\d+/.test(color)) {
|
|
30644
|
+
return { "--highlight-color": `var(--base-color-${color})` };
|
|
30645
|
+
} else if (ACCENT_COLORS.includes(color)) {
|
|
30646
|
+
return { "--highlight-color": `var(--accent-color-${color})` };
|
|
30647
|
+
}
|
|
30648
|
+
}
|
|
30649
|
+
|
|
30610
30650
|
// css-modules:E:\dev\umami-react-zen\src\components\List.module.css
|
|
30611
30651
|
var List_default = { "list": "List_list__YjBiO", "separator": "List_separator__MjkwN", "section": "List_section__NmQzZ", "header": "List_header__MjQ4N", "item": "List_item__MWYwM", "checkmark": "List_checkmark__YjhhM", "hideCheckmark": "List_hideCheckmark__OTEyO" };
|
|
30612
30652
|
|
|
@@ -30673,12 +30713,6 @@ function ListSection({ title, className, children, ...props }) {
|
|
|
30673
30713
|
children
|
|
30674
30714
|
] });
|
|
30675
30715
|
}
|
|
30676
|
-
function getHighlightColor(color) {
|
|
30677
|
-
if (!color) return;
|
|
30678
|
-
if (/\d+/.test(color.toString())) {
|
|
30679
|
-
return { "--highlight-color": `var(--base-color-${color})` };
|
|
30680
|
-
}
|
|
30681
|
-
}
|
|
30682
30716
|
|
|
30683
30717
|
// src/components/Loading.tsx
|
|
30684
30718
|
var import_classnames33 = __toESM(require_classnames());
|
|
@@ -30789,76 +30823,99 @@ function NavbarItem({ label, children, className, ...props }) {
|
|
|
30789
30823
|
return /* @__PURE__ */ jsx46("div", { ...props, className: (0, import_classnames36.default)(Navbar_default.item, className), children });
|
|
30790
30824
|
}
|
|
30791
30825
|
|
|
30826
|
+
// src/components/NavMenu.tsx
|
|
30827
|
+
var import_classnames37 = __toESM(require_classnames());
|
|
30828
|
+
|
|
30829
|
+
// css-modules:E:\dev\umami-react-zen\src\components\NavMenu.module.css
|
|
30830
|
+
var NavMenu_default = { "navmenu": "NavMenu_navmenu__OTA1Y", "item": "NavMenu_item__MjE3M", "selected": "NavMenu_selected__YzUwN" };
|
|
30831
|
+
|
|
30832
|
+
// src/components/NavMenu.tsx
|
|
30833
|
+
import { jsx as jsx47 } from "react/jsx-runtime";
|
|
30834
|
+
function NavMenu({ highlightColor, className, style, children, ...props }) {
|
|
30835
|
+
return /* @__PURE__ */ jsx47(
|
|
30836
|
+
Column,
|
|
30837
|
+
{
|
|
30838
|
+
...props,
|
|
30839
|
+
className: (0, import_classnames37.default)(NavMenu_default.navmenu, className),
|
|
30840
|
+
style: { ...style, ...getHighlightColor(highlightColor) },
|
|
30841
|
+
children
|
|
30842
|
+
}
|
|
30843
|
+
);
|
|
30844
|
+
}
|
|
30845
|
+
function NavMenuItem({ isSelected, className, children, ...props }) {
|
|
30846
|
+
return /* @__PURE__ */ jsx47(Row, { ...props, className: (0, import_classnames37.default)(NavMenu_default.item, className, isSelected && NavMenu_default.selected), children });
|
|
30847
|
+
}
|
|
30848
|
+
|
|
30792
30849
|
// src/components/PasswordField.tsx
|
|
30793
30850
|
import { useState as useState15, forwardRef as forwardRef6 } from "react";
|
|
30794
|
-
var
|
|
30851
|
+
var import_classnames38 = __toESM(require_classnames());
|
|
30795
30852
|
|
|
30796
30853
|
// css-modules:E:\dev\umami-react-zen\src\components\PasswordField.module.css
|
|
30797
30854
|
var PasswordField_default = { "icon": "PasswordField_icon__NTRlM" };
|
|
30798
30855
|
|
|
30799
30856
|
// src/components/PasswordField.tsx
|
|
30800
|
-
import { jsx as
|
|
30857
|
+
import { jsx as jsx48, jsxs as jsxs25 } from "react/jsx-runtime";
|
|
30801
30858
|
var PasswordField = forwardRef6(
|
|
30802
30859
|
({ label, className, ...props }, ref) => {
|
|
30803
30860
|
const [show, setShow] = useState15(false);
|
|
30804
30861
|
const type = show ? "text" : "password";
|
|
30805
30862
|
const handleShowPassword = () => setShow((state) => !state);
|
|
30806
|
-
return /* @__PURE__ */ jsxs25($bcdf0525bf22703d$export$2c73285ae9390cec, { ...props, ref, className: (0,
|
|
30807
|
-
label && /* @__PURE__ */
|
|
30863
|
+
return /* @__PURE__ */ jsxs25($bcdf0525bf22703d$export$2c73285ae9390cec, { ...props, ref, className: (0, import_classnames38.default)(input_default.field, className), children: [
|
|
30864
|
+
label && /* @__PURE__ */ jsx48(Label2, { children: label }),
|
|
30808
30865
|
/* @__PURE__ */ jsxs25("div", { className: input_default.row, children: [
|
|
30809
|
-
/* @__PURE__ */
|
|
30810
|
-
/* @__PURE__ */
|
|
30866
|
+
/* @__PURE__ */ jsx48($3985021b0ad6602f$export$f5b8910cec6cf069, { type, className: input_default.input }),
|
|
30867
|
+
/* @__PURE__ */ jsx48(Icon, { onClick: handleShowPassword, className: (0, import_classnames38.default)(PasswordField_default.icon, input_default.icon), children: show ? /* @__PURE__ */ jsx48(Icons.EyeSlash, {}) : /* @__PURE__ */ jsx48(Icons.Eye, {}) })
|
|
30811
30868
|
] })
|
|
30812
30869
|
] });
|
|
30813
30870
|
}
|
|
30814
30871
|
);
|
|
30815
30872
|
|
|
30816
30873
|
// src/components/Popover.tsx
|
|
30817
|
-
var
|
|
30874
|
+
var import_classnames39 = __toESM(require_classnames());
|
|
30818
30875
|
|
|
30819
30876
|
// css-modules:E:\dev\umami-react-zen\src\components\Popover.module.css
|
|
30820
30877
|
var Popover_default = { "popover": "Popover_popover__YmFhM", "popover-slide": "Popover_popover-slide__OGZjY" };
|
|
30821
30878
|
|
|
30822
30879
|
// src/components/Popover.tsx
|
|
30823
|
-
import { jsx as
|
|
30880
|
+
import { jsx as jsx49 } from "react/jsx-runtime";
|
|
30824
30881
|
function Popover2({ children, className, ...props }) {
|
|
30825
|
-
return /* @__PURE__ */
|
|
30882
|
+
return /* @__PURE__ */ jsx49($07b14b47974efb58$export$5b6b19405a83ff9d, { ...props, className: (0, import_classnames39.default)(Popover_default.popover, className), children });
|
|
30826
30883
|
}
|
|
30827
30884
|
|
|
30828
30885
|
// src/components/ProgressBar.tsx
|
|
30829
|
-
var
|
|
30886
|
+
var import_classnames40 = __toESM(require_classnames());
|
|
30830
30887
|
|
|
30831
30888
|
// css-modules:E:\dev\umami-react-zen\src\components\ProgressBar.module.css
|
|
30832
30889
|
var ProgressBar_default = { "progressbar": "ProgressBar_progressbar__YzdlO", "track": "ProgressBar_track__YzgzY", "fill": "ProgressBar_fill__ZTJlM", "value": "ProgressBar_value__NDk1Z" };
|
|
30833
30890
|
|
|
30834
30891
|
// src/components/ProgressBar.tsx
|
|
30835
|
-
import { Fragment as Fragment7, jsx as
|
|
30892
|
+
import { Fragment as Fragment7, jsx as jsx50, jsxs as jsxs26 } from "react/jsx-runtime";
|
|
30836
30893
|
function ProgressBar2({ className, showValue, ...props }) {
|
|
30837
|
-
return /* @__PURE__ */
|
|
30894
|
+
return /* @__PURE__ */ jsx50($0393f8ab869a0f1a$export$c17561cb55d4db30, { ...props, className: (0, import_classnames40.default)(ProgressBar_default.progressbar, className), children: ({ percentage = 0, valueText }) => {
|
|
30838
30895
|
return /* @__PURE__ */ jsxs26(Fragment7, { children: [
|
|
30839
|
-
/* @__PURE__ */
|
|
30840
|
-
showValue && /* @__PURE__ */
|
|
30896
|
+
/* @__PURE__ */ jsx50("div", { className: ProgressBar_default.track, children: /* @__PURE__ */ jsx50("div", { className: ProgressBar_default.fill, style: { width: `${percentage}%` } }) }),
|
|
30897
|
+
showValue && /* @__PURE__ */ jsx50("div", { className: ProgressBar_default.value, children: valueText })
|
|
30841
30898
|
] });
|
|
30842
30899
|
} });
|
|
30843
30900
|
}
|
|
30844
30901
|
|
|
30845
30902
|
// src/components/ProgressCircle.tsx
|
|
30846
|
-
var
|
|
30903
|
+
var import_classnames41 = __toESM(require_classnames());
|
|
30847
30904
|
|
|
30848
30905
|
// css-modules:E:\dev\umami-react-zen\src\components\ProgressCircle.module.css
|
|
30849
30906
|
var ProgressCircle_default = { "progresscircle": "ProgressCircle_progresscircle__NGMyY", "track": "ProgressCircle_track__YzY2M", "fill": "ProgressCircle_fill__ZmMzM", "value": "ProgressCircle_value__YjM0Y" };
|
|
30850
30907
|
|
|
30851
30908
|
// src/components/ProgressCircle.tsx
|
|
30852
|
-
import { Fragment as Fragment8, jsx as
|
|
30909
|
+
import { Fragment as Fragment8, jsx as jsx51, jsxs as jsxs27 } from "react/jsx-runtime";
|
|
30853
30910
|
function ProgressCircle({ className, showValue, ...props }) {
|
|
30854
|
-
return /* @__PURE__ */
|
|
30911
|
+
return /* @__PURE__ */ jsx51($0393f8ab869a0f1a$export$c17561cb55d4db30, { ...props, className: (0, import_classnames41.default)(ProgressCircle_default.progresscircle, className), children: ({ percentage = 0, valueText }) => {
|
|
30855
30912
|
const radius = 45;
|
|
30856
30913
|
const circumference = radius * 2 * Math.PI;
|
|
30857
30914
|
const offset = circumference - percentage / 100 * circumference;
|
|
30858
30915
|
return /* @__PURE__ */ jsxs27(Fragment8, { children: [
|
|
30859
30916
|
/* @__PURE__ */ jsxs27("svg", { viewBox: "0 0 100 100", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
30860
|
-
/* @__PURE__ */
|
|
30861
|
-
/* @__PURE__ */
|
|
30917
|
+
/* @__PURE__ */ jsx51("circle", { className: ProgressCircle_default.track, cx: "50", cy: "50", r: "45" }),
|
|
30918
|
+
/* @__PURE__ */ jsx51(
|
|
30862
30919
|
"circle",
|
|
30863
30920
|
{
|
|
30864
30921
|
className: ProgressCircle_default.fill,
|
|
@@ -30870,41 +30927,41 @@ function ProgressCircle({ className, showValue, ...props }) {
|
|
|
30870
30927
|
}
|
|
30871
30928
|
)
|
|
30872
30929
|
] }),
|
|
30873
|
-
showValue && /* @__PURE__ */
|
|
30930
|
+
showValue && /* @__PURE__ */ jsx51("label", { className: ProgressCircle_default.value, children: valueText })
|
|
30874
30931
|
] });
|
|
30875
30932
|
} });
|
|
30876
30933
|
}
|
|
30877
30934
|
|
|
30878
30935
|
// src/components/RadioGroup.tsx
|
|
30879
30936
|
import { forwardRef as forwardRef7 } from "react";
|
|
30880
|
-
var
|
|
30937
|
+
var import_classnames42 = __toESM(require_classnames());
|
|
30881
30938
|
|
|
30882
30939
|
// css-modules:E:\dev\umami-react-zen\src\components\RadioGroup.module.css
|
|
30883
30940
|
var RadioGroup_default = { "radiogroup": "RadioGroup_radiogroup__ZjI3O", "radio": "RadioGroup_radio__NjJiN" };
|
|
30884
30941
|
|
|
30885
30942
|
// src/components/RadioGroup.tsx
|
|
30886
|
-
import { jsx as
|
|
30943
|
+
import { jsx as jsx52, jsxs as jsxs28 } from "react/jsx-runtime";
|
|
30887
30944
|
var RadioGroup2 = forwardRef7(
|
|
30888
30945
|
({ label, children, className, ...props }, ref) => {
|
|
30889
|
-
return /* @__PURE__ */ jsxs28($b6c3ddc6086f204d$export$a98f0dcb43a68a25, { ...props, ref, className: (0,
|
|
30890
|
-
label && /* @__PURE__ */
|
|
30946
|
+
return /* @__PURE__ */ jsxs28($b6c3ddc6086f204d$export$a98f0dcb43a68a25, { ...props, ref, className: (0, import_classnames42.default)(RadioGroup_default.radiogroup, className), children: [
|
|
30947
|
+
label && /* @__PURE__ */ jsx52(Label2, { children: label }),
|
|
30891
30948
|
children
|
|
30892
30949
|
] });
|
|
30893
30950
|
}
|
|
30894
30951
|
);
|
|
30895
30952
|
function Radio2({ children, className, ...props }) {
|
|
30896
|
-
return /* @__PURE__ */
|
|
30953
|
+
return /* @__PURE__ */ jsx52($b6c3ddc6086f204d$export$d7b12c4107be0d61, { ...props, className: (0, import_classnames42.default)(RadioGroup_default.radio, className), children });
|
|
30897
30954
|
}
|
|
30898
30955
|
|
|
30899
30956
|
// src/components/SearchField.tsx
|
|
30900
30957
|
import { useState as useState16, useEffect as useEffect12, forwardRef as forwardRef8 } from "react";
|
|
30901
|
-
var
|
|
30958
|
+
var import_classnames43 = __toESM(require_classnames());
|
|
30902
30959
|
|
|
30903
30960
|
// css-modules:E:\dev\umami-react-zen\src\components\SearchField.module.css
|
|
30904
30961
|
var SearchField_default = { "search": "SearchField_search__MzkwY", "input": "SearchField_input__OGFiY", "close": "SearchField_close__NmJkM" };
|
|
30905
30962
|
|
|
30906
30963
|
// src/components/SearchField.tsx
|
|
30907
|
-
import { Fragment as Fragment9, jsx as
|
|
30964
|
+
import { Fragment as Fragment9, jsx as jsx53, jsxs as jsxs29 } from "react/jsx-runtime";
|
|
30908
30965
|
var SearchField2 = forwardRef8(
|
|
30909
30966
|
({ label, placeholder, value, delay = 0, onSearch, className, ...props }, ref) => {
|
|
30910
30967
|
const [search, setSearch] = useState16(value ?? "");
|
|
@@ -30924,32 +30981,32 @@ var SearchField2 = forwardRef8(
|
|
|
30924
30981
|
onSearch?.(searchValue);
|
|
30925
30982
|
}
|
|
30926
30983
|
}, [searchValue, delay]);
|
|
30927
|
-
return /* @__PURE__ */
|
|
30984
|
+
return /* @__PURE__ */ jsx53(
|
|
30928
30985
|
$440f4836bcb56932$export$b94867ecbd698f21,
|
|
30929
30986
|
{
|
|
30930
30987
|
"aria-label": "Search",
|
|
30931
30988
|
...props,
|
|
30932
30989
|
ref,
|
|
30933
|
-
className: (0,
|
|
30990
|
+
className: (0, import_classnames43.default)(input_default.field, className),
|
|
30934
30991
|
onChange: handleChange,
|
|
30935
30992
|
children: ({ state }) => {
|
|
30936
30993
|
return /* @__PURE__ */ jsxs29(Fragment9, { children: [
|
|
30937
|
-
label && /* @__PURE__ */
|
|
30994
|
+
label && /* @__PURE__ */ jsx53(Label2, { children: label }),
|
|
30938
30995
|
/* @__PURE__ */ jsxs29("div", { className: input_default.row, children: [
|
|
30939
|
-
/* @__PURE__ */
|
|
30940
|
-
/* @__PURE__ */
|
|
30996
|
+
/* @__PURE__ */ jsx53(Icon, { className: (0, import_classnames43.default)(SearchField_default.search, input_default.icon), children: /* @__PURE__ */ jsx53(Icons.MagnifyingGlass, {}) }),
|
|
30997
|
+
/* @__PURE__ */ jsx53(
|
|
30941
30998
|
$3985021b0ad6602f$export$f5b8910cec6cf069,
|
|
30942
30999
|
{
|
|
30943
|
-
className: (0,
|
|
31000
|
+
className: (0, import_classnames43.default)(SearchField_default.input, input_default.input),
|
|
30944
31001
|
placeholder
|
|
30945
31002
|
}
|
|
30946
31003
|
),
|
|
30947
|
-
state.value && /* @__PURE__ */
|
|
31004
|
+
state.value && /* @__PURE__ */ jsx53(
|
|
30948
31005
|
$d2b4bc8c273e7be6$export$353f5b6fc5456de1,
|
|
30949
31006
|
{
|
|
30950
|
-
className: (0,
|
|
31007
|
+
className: (0, import_classnames43.default)(SearchField_default.close, input_default.icon),
|
|
30951
31008
|
onPress: resetSearch,
|
|
30952
|
-
children: /* @__PURE__ */
|
|
31009
|
+
children: /* @__PURE__ */ jsx53(Icon, { size: "sm", children: /* @__PURE__ */ jsx53(Icons.Close, {}) })
|
|
30953
31010
|
}
|
|
30954
31011
|
)
|
|
30955
31012
|
] })
|
|
@@ -30962,7 +31019,7 @@ var SearchField2 = forwardRef8(
|
|
|
30962
31019
|
|
|
30963
31020
|
// src/components/Select.tsx
|
|
30964
31021
|
import { forwardRef as forwardRef9, useState as useState17 } from "react";
|
|
30965
|
-
import { jsx as
|
|
31022
|
+
import { jsx as jsx54, jsxs as jsxs30 } from "react/jsx-runtime";
|
|
30966
31023
|
var Select2 = forwardRef9(
|
|
30967
31024
|
({
|
|
30968
31025
|
items = [],
|
|
@@ -31003,13 +31060,13 @@ var Select2 = forwardRef9(
|
|
|
31003
31060
|
defaultSelectedKey: defaultValue,
|
|
31004
31061
|
onSelectionChange: handleChange,
|
|
31005
31062
|
children: [
|
|
31006
|
-
label && /* @__PURE__ */
|
|
31007
|
-
/* @__PURE__ */
|
|
31008
|
-
/* @__PURE__ */
|
|
31009
|
-
/* @__PURE__ */
|
|
31063
|
+
label && /* @__PURE__ */ jsx54(Label2, { children: label }),
|
|
31064
|
+
/* @__PURE__ */ jsx54(Button2, { variant: "outline", ...buttonProps, children: /* @__PURE__ */ jsxs30(Row, { justifyContent: "space-between", gap: "3", children: [
|
|
31065
|
+
/* @__PURE__ */ jsx54($82d7e5349645de74$export$e288731fd71264f0, { children: renderValue }),
|
|
31066
|
+
/* @__PURE__ */ jsx54("span", { "aria-hidden": "true", children: /* @__PURE__ */ jsx54(Icon, { rotate: 90, size: "xs", children: /* @__PURE__ */ jsx54(Icons.Chevron, {}) }) })
|
|
31010
31067
|
] }) }),
|
|
31011
|
-
/* @__PURE__ */
|
|
31012
|
-
allowSearch && /* @__PURE__ */
|
|
31068
|
+
/* @__PURE__ */ jsx54(Popover2, { ...popoverProps, children: /* @__PURE__ */ jsx54(Column, { children: /* @__PURE__ */ jsxs30(Box, { padding: "2", border: true, borderRadius: true, backgroundColor: true, shadow: "3", children: [
|
|
31069
|
+
allowSearch && /* @__PURE__ */ jsx54(Box, { marginBottom: "2", children: /* @__PURE__ */ jsx54(
|
|
31013
31070
|
SearchField2,
|
|
31014
31071
|
{
|
|
31015
31072
|
value: search,
|
|
@@ -31019,8 +31076,8 @@ var Select2 = forwardRef9(
|
|
|
31019
31076
|
autoFocus: true
|
|
31020
31077
|
}
|
|
31021
31078
|
) }),
|
|
31022
|
-
isLoading && /* @__PURE__ */
|
|
31023
|
-
/* @__PURE__ */
|
|
31079
|
+
isLoading && /* @__PURE__ */ jsx54(Loading, { icon: "dots", position: "center", size: "sm" }),
|
|
31080
|
+
/* @__PURE__ */ jsx54(
|
|
31024
31081
|
List,
|
|
31025
31082
|
{
|
|
31026
31083
|
...listProps,
|
|
@@ -31037,14 +31094,14 @@ var Select2 = forwardRef9(
|
|
|
31037
31094
|
);
|
|
31038
31095
|
|
|
31039
31096
|
// src/components/Sidebar.tsx
|
|
31040
|
-
var
|
|
31097
|
+
var import_classnames44 = __toESM(require_classnames());
|
|
31041
31098
|
import { createContext as createContext4, useContext as useContext6 } from "react";
|
|
31042
31099
|
|
|
31043
31100
|
// css-modules:E:\dev\umami-react-zen\src\components\Sidebar.module.css
|
|
31044
31101
|
var Sidebar_default = { "sidenav": "Sidebar_sidenav__ODc2Z", "header": "Sidebar_header__YWI3N", "name": "Sidebar_name__NThjO", "section": "Sidebar_section__YzQwN", "title": "Sidebar_title__NDBlN", "content": "Sidebar_content__NmUzM", "item": "Sidebar_item__ZjYxZ", "label": "Sidebar_label__OTI3N", "collapsed": "Sidebar_collapsed__NDY0N", "muted": "Sidebar_muted__NjI0N", "selected": "Sidebar_selected__N2RhZ", "variant-quiet": "Sidebar_variant-quiet__ZjllN", "variant-1": "Sidebar_variant-1__NmFhM", "variant-2": "Sidebar_variant-2__OWYzZ", "variant-3": "Sidebar_variant-3__ODk2Y", "noborder": "Sidebar_noborder__NTJlN" };
|
|
31045
31102
|
|
|
31046
31103
|
// src/components/Sidebar.tsx
|
|
31047
|
-
import { jsx as
|
|
31104
|
+
import { jsx as jsx55, jsxs as jsxs31 } from "react/jsx-runtime";
|
|
31048
31105
|
var SidebarContext = createContext4(null);
|
|
31049
31106
|
function Sidebar({
|
|
31050
31107
|
variant = "1",
|
|
@@ -31055,11 +31112,11 @@ function Sidebar({
|
|
|
31055
31112
|
children,
|
|
31056
31113
|
...props
|
|
31057
31114
|
}) {
|
|
31058
|
-
return /* @__PURE__ */
|
|
31115
|
+
return /* @__PURE__ */ jsx55(SidebarContext.Provider, { value: { isCollapsed }, children: /* @__PURE__ */ jsx55(
|
|
31059
31116
|
Column,
|
|
31060
31117
|
{
|
|
31061
31118
|
...props,
|
|
31062
|
-
className: (0,
|
|
31119
|
+
className: (0, import_classnames44.default)(
|
|
31063
31120
|
Sidebar_default.sidenav,
|
|
31064
31121
|
isCollapsed && Sidebar_default.collapsed,
|
|
31065
31122
|
muteItems && Sidebar_default.muted,
|
|
@@ -31076,8 +31133,8 @@ function SidebarSection({
|
|
|
31076
31133
|
children
|
|
31077
31134
|
}) {
|
|
31078
31135
|
return /* @__PURE__ */ jsxs31(Column, { className: Sidebar_default.section, children: [
|
|
31079
|
-
title && /* @__PURE__ */
|
|
31080
|
-
/* @__PURE__ */
|
|
31136
|
+
title && /* @__PURE__ */ jsx55("div", { className: Sidebar_default.title, children: title }),
|
|
31137
|
+
/* @__PURE__ */ jsx55("div", { className: Sidebar_default.content, children })
|
|
31081
31138
|
] });
|
|
31082
31139
|
}
|
|
31083
31140
|
function SidebarHeader({
|
|
@@ -31087,9 +31144,9 @@ function SidebarHeader({
|
|
|
31087
31144
|
children,
|
|
31088
31145
|
...props
|
|
31089
31146
|
}) {
|
|
31090
|
-
return /* @__PURE__ */ jsxs31(Row, { ...props, className: (0,
|
|
31091
|
-
icon && /* @__PURE__ */
|
|
31092
|
-
/* @__PURE__ */
|
|
31147
|
+
return /* @__PURE__ */ jsxs31(Row, { ...props, className: (0, import_classnames44.default)(Sidebar_default.header, className), children: [
|
|
31148
|
+
icon && /* @__PURE__ */ jsx55(Icon, { size: "sm", children: icon }),
|
|
31149
|
+
/* @__PURE__ */ jsx55("div", { className: (0, import_classnames44.default)(Sidebar_default.name, Sidebar_default.label), children: label }),
|
|
31093
31150
|
children
|
|
31094
31151
|
] });
|
|
31095
31152
|
}
|
|
@@ -31103,42 +31160,42 @@ function SidebarItem({
|
|
|
31103
31160
|
}) {
|
|
31104
31161
|
const { isCollapsed } = useContext6(SidebarContext);
|
|
31105
31162
|
return /* @__PURE__ */ jsxs31($4e3b923658d69c60$export$8c610744efcf8a1d, { delay: 0, closeDelay: 0, isDisabled: !isCollapsed, children: [
|
|
31106
|
-
/* @__PURE__ */
|
|
31163
|
+
/* @__PURE__ */ jsx55($f645667febf57a63$export$35a3bebf7ef2d934, { children: /* @__PURE__ */ jsxs31(
|
|
31107
31164
|
Row,
|
|
31108
31165
|
{
|
|
31109
31166
|
...props,
|
|
31110
|
-
className: (0,
|
|
31167
|
+
className: (0, import_classnames44.default)(Sidebar_default.item, className, isSelected && Sidebar_default.selected),
|
|
31111
31168
|
children: [
|
|
31112
|
-
icon && /* @__PURE__ */
|
|
31113
|
-
label && /* @__PURE__ */
|
|
31169
|
+
icon && /* @__PURE__ */ jsx55(Icon, { size: "sm", children: icon }),
|
|
31170
|
+
label && /* @__PURE__ */ jsx55(Text, { className: (0, import_classnames44.default)(Sidebar_default.label), children: label }),
|
|
31114
31171
|
children
|
|
31115
31172
|
]
|
|
31116
31173
|
}
|
|
31117
31174
|
) }),
|
|
31118
|
-
/* @__PURE__ */
|
|
31175
|
+
/* @__PURE__ */ jsx55(Tooltip2, { placement: "right", children: label })
|
|
31119
31176
|
] });
|
|
31120
31177
|
}
|
|
31121
31178
|
|
|
31122
31179
|
// src/components/Slider.tsx
|
|
31123
31180
|
import { forwardRef as forwardRef10 } from "react";
|
|
31124
|
-
var
|
|
31181
|
+
var import_classnames45 = __toESM(require_classnames());
|
|
31125
31182
|
|
|
31126
31183
|
// css-modules:E:\dev\umami-react-zen\src\components\Slider.module.css
|
|
31127
31184
|
var Slider_default = { "slider": "Slider_slider__MjBhO", "header": "Slider_header__ZTE2M", "track": "Slider_track__ODk5M", "fill": "Slider_fill__YzdhM", "thumb": "Slider_thumb__NGEzM" };
|
|
31128
31185
|
|
|
31129
31186
|
// src/components/Slider.tsx
|
|
31130
|
-
import { Fragment as Fragment10, jsx as
|
|
31187
|
+
import { Fragment as Fragment10, jsx as jsx56, jsxs as jsxs32 } from "react/jsx-runtime";
|
|
31131
31188
|
var Slider2 = forwardRef10(
|
|
31132
31189
|
({ className, showValue = true, label, ...props }, ref) => {
|
|
31133
|
-
return /* @__PURE__ */ jsxs32($6f909507e6374d18$export$472062a354075cee, { ...props, ref, className: (0,
|
|
31190
|
+
return /* @__PURE__ */ jsxs32($6f909507e6374d18$export$472062a354075cee, { ...props, ref, className: (0, import_classnames45.default)(Slider_default.slider, className), children: [
|
|
31134
31191
|
/* @__PURE__ */ jsxs32("div", { className: Slider_default.header, children: [
|
|
31135
|
-
label && /* @__PURE__ */
|
|
31136
|
-
showValue && /* @__PURE__ */
|
|
31192
|
+
label && /* @__PURE__ */ jsx56(Label2, { className: Slider_default.label, children: label }),
|
|
31193
|
+
showValue && /* @__PURE__ */ jsx56($6f909507e6374d18$export$a590f758a961cb5b, { className: Slider_default.output })
|
|
31137
31194
|
] }),
|
|
31138
|
-
/* @__PURE__ */
|
|
31195
|
+
/* @__PURE__ */ jsx56($6f909507e6374d18$export$105594979f116971, { className: Slider_default.track, children: ({ state }) => {
|
|
31139
31196
|
const isHorizontal = state.orientation === "horizontal";
|
|
31140
31197
|
return /* @__PURE__ */ jsxs32(Fragment10, { children: [
|
|
31141
|
-
/* @__PURE__ */
|
|
31198
|
+
/* @__PURE__ */ jsx56(
|
|
31142
31199
|
"div",
|
|
31143
31200
|
{
|
|
31144
31201
|
className: Slider_default.fill,
|
|
@@ -31147,7 +31204,7 @@ var Slider2 = forwardRef10(
|
|
|
31147
31204
|
}
|
|
31148
31205
|
}
|
|
31149
31206
|
),
|
|
31150
|
-
/* @__PURE__ */
|
|
31207
|
+
/* @__PURE__ */ jsx56($6f909507e6374d18$export$2c1b491743890dec, { className: Slider_default.thumb })
|
|
31151
31208
|
] });
|
|
31152
31209
|
} })
|
|
31153
31210
|
] });
|
|
@@ -31155,20 +31212,20 @@ var Slider2 = forwardRef10(
|
|
|
31155
31212
|
);
|
|
31156
31213
|
|
|
31157
31214
|
// src/components/StatusLight.tsx
|
|
31158
|
-
var
|
|
31215
|
+
var import_classnames46 = __toESM(require_classnames());
|
|
31159
31216
|
|
|
31160
31217
|
// css-modules:E:\dev\umami-react-zen\src\components\StatusLight.module.css
|
|
31161
31218
|
var StatusLight_default = { "statuslight": "StatusLight_statuslight__MTliM", "status": "StatusLight_status__MDNmO", "bg": "StatusLight_bg__MjVjN", "success": "StatusLight_success__ZWI1N", "warning": "StatusLight_warning__YWRmM", "error": "StatusLight_error__NjdjM", "active": "StatusLight_active__NGZiY", "inactive": "StatusLight_inactive__NDI0Z" };
|
|
31162
31219
|
|
|
31163
31220
|
// src/components/StatusLight.tsx
|
|
31164
|
-
import { jsx as
|
|
31221
|
+
import { jsx as jsx57, jsxs as jsxs33 } from "react/jsx-runtime";
|
|
31165
31222
|
function StatusLight(props) {
|
|
31166
31223
|
const { color, variant = "inactive", children, className, ...domProps } = props;
|
|
31167
|
-
return /* @__PURE__ */ jsxs33("div", { ...domProps, className: (0,
|
|
31168
|
-
/* @__PURE__ */
|
|
31224
|
+
return /* @__PURE__ */ jsxs33("div", { ...domProps, className: (0, import_classnames46.default)(StatusLight_default.statuslight, className), children: [
|
|
31225
|
+
/* @__PURE__ */ jsx57("div", { className: StatusLight_default.bg, children: /* @__PURE__ */ jsx57(
|
|
31169
31226
|
"div",
|
|
31170
31227
|
{
|
|
31171
|
-
className: (0,
|
|
31228
|
+
className: (0, import_classnames46.default)(StatusLight_default.status, StatusLight_default[variant]),
|
|
31172
31229
|
style: { backgroundColor: color }
|
|
31173
31230
|
}
|
|
31174
31231
|
) }),
|
|
@@ -31178,27 +31235,27 @@ function StatusLight(props) {
|
|
|
31178
31235
|
|
|
31179
31236
|
// src/components/Switch.tsx
|
|
31180
31237
|
import { forwardRef as forwardRef11 } from "react";
|
|
31181
|
-
var
|
|
31238
|
+
var import_classnames47 = __toESM(require_classnames());
|
|
31182
31239
|
|
|
31183
31240
|
// css-modules:E:\dev\umami-react-zen\src\components\Switch.module.css
|
|
31184
31241
|
var Switch_default = { "switch": "Switch_switch__NzI0O", "track": "Switch_track__ZWU0O", "knob": "Switch_knob__YjFmZ" };
|
|
31185
31242
|
|
|
31186
31243
|
// src/components/Switch.tsx
|
|
31187
|
-
import { Fragment as Fragment11, jsx as
|
|
31244
|
+
import { Fragment as Fragment11, jsx as jsx58, jsxs as jsxs34 } from "react/jsx-runtime";
|
|
31188
31245
|
var Switch2 = forwardRef11(
|
|
31189
31246
|
({ label, children, className, ...props }, ref) => {
|
|
31190
31247
|
const isSelected = typeof props.value !== "undefined" ? !!props.value : void 0;
|
|
31191
31248
|
return /* @__PURE__ */ jsxs34(Fragment11, { children: [
|
|
31192
|
-
label && /* @__PURE__ */
|
|
31249
|
+
label && /* @__PURE__ */ jsx58(Label2, { children: label }),
|
|
31193
31250
|
/* @__PURE__ */ jsxs34(
|
|
31194
31251
|
$8e59e948500a8fe1$export$b5d5cf8927ab7262,
|
|
31195
31252
|
{
|
|
31196
31253
|
...props,
|
|
31197
31254
|
isSelected,
|
|
31198
31255
|
ref,
|
|
31199
|
-
className: (0,
|
|
31256
|
+
className: (0, import_classnames47.default)(Switch_default.switch, className),
|
|
31200
31257
|
children: [
|
|
31201
|
-
/* @__PURE__ */
|
|
31258
|
+
/* @__PURE__ */ jsx58("div", { className: Switch_default.track, children: /* @__PURE__ */ jsx58("div", { className: Switch_default.knob }) }),
|
|
31202
31259
|
children
|
|
31203
31260
|
]
|
|
31204
31261
|
}
|
|
@@ -31211,52 +31268,52 @@ var Switch2 = forwardRef11(
|
|
|
31211
31268
|
var Tabs_default = { "tabs": "Tabs_tabs__OWVjO", "list": "Tabs_list__YWRjM", "tab": "Tabs_tab__ZjgwM", "quiet": "Tabs_quiet__ZTQ1O" };
|
|
31212
31269
|
|
|
31213
31270
|
// src/components/Tabs.tsx
|
|
31214
|
-
import { jsx as
|
|
31271
|
+
import { jsx as jsx59 } from "react/jsx-runtime";
|
|
31215
31272
|
function Tabs2({ children, ...props }) {
|
|
31216
|
-
return /* @__PURE__ */
|
|
31273
|
+
return /* @__PURE__ */ jsx59($5e8ad37a45e1c704$export$b2539bed5023c21c, { ...props, className: Tabs_default.tabs, children });
|
|
31217
31274
|
}
|
|
31218
31275
|
function TabList2({ children, ...props }) {
|
|
31219
|
-
return /* @__PURE__ */
|
|
31276
|
+
return /* @__PURE__ */ jsx59($5e8ad37a45e1c704$export$e51a686c67fdaa2d, { ...props, className: Tabs_default.list, children });
|
|
31220
31277
|
}
|
|
31221
31278
|
function Tab({ children, ...props }) {
|
|
31222
|
-
return /* @__PURE__ */
|
|
31279
|
+
return /* @__PURE__ */ jsx59($5e8ad37a45e1c704$export$3e41faf802a29e71, { ...props, className: Tabs_default.tab, children });
|
|
31223
31280
|
}
|
|
31224
31281
|
function TabPanel2({ children, ...props }) {
|
|
31225
|
-
return /* @__PURE__ */
|
|
31282
|
+
return /* @__PURE__ */ jsx59($5e8ad37a45e1c704$export$3d96ec278d3efce4, { ...props, className: Tabs_default.panel, children });
|
|
31226
31283
|
}
|
|
31227
31284
|
|
|
31228
31285
|
// src/components/TextArea.tsx
|
|
31229
|
-
var
|
|
31286
|
+
var import_classnames48 = __toESM(require_classnames());
|
|
31230
31287
|
import { forwardRef as forwardRef12 } from "react";
|
|
31231
31288
|
|
|
31232
31289
|
// css-modules:E:\dev\umami-react-zen\src\components\TextArea.module.css
|
|
31233
31290
|
var TextArea_default = { "textarea": "TextArea_textarea__MTk5Y", "resize-none": "TextArea_resize-none__OTJhY", "resize-horizontal": "TextArea_resize-horizontal__YWIyZ", "resize-vertical": "TextArea_resize-vertical__NTM3O" };
|
|
31234
31291
|
|
|
31235
31292
|
// src/components/TextArea.tsx
|
|
31236
|
-
import { jsx as
|
|
31293
|
+
import { jsx as jsx60 } from "react/jsx-runtime";
|
|
31237
31294
|
var TextArea2 = forwardRef12(
|
|
31238
31295
|
({ rows, cols, resize, className, style, children, ...props }, ref) => {
|
|
31239
|
-
return /* @__PURE__ */
|
|
31296
|
+
return /* @__PURE__ */ jsx60(
|
|
31240
31297
|
TextField2,
|
|
31241
31298
|
{
|
|
31242
31299
|
...props,
|
|
31243
31300
|
ref,
|
|
31244
|
-
className: (0,
|
|
31301
|
+
className: (0, import_classnames48.default)(resize && TextArea_default[`resize-${resize}`]),
|
|
31245
31302
|
asChild: true,
|
|
31246
|
-
children: /* @__PURE__ */
|
|
31303
|
+
children: /* @__PURE__ */ jsx60($216918bed6669f72$export$f5c9f3c2c4054eec, { rows, cols, style: { ...style }, children })
|
|
31247
31304
|
}
|
|
31248
31305
|
);
|
|
31249
31306
|
}
|
|
31250
31307
|
);
|
|
31251
31308
|
|
|
31252
31309
|
// src/components/ThemeButton.tsx
|
|
31253
|
-
var
|
|
31310
|
+
var import_classnames49 = __toESM(require_classnames());
|
|
31254
31311
|
|
|
31255
31312
|
// css-modules:E:\dev\umami-react-zen\src\components\ThemeButton.module.css
|
|
31256
31313
|
var ThemeButton_default = { "button": "ThemeButton_button__Zjc5N" };
|
|
31257
31314
|
|
|
31258
31315
|
// src/components/ThemeButton.tsx
|
|
31259
|
-
import { jsx as
|
|
31316
|
+
import { jsx as jsx61, jsxs as jsxs35 } from "react/jsx-runtime";
|
|
31260
31317
|
function ThemeButton({
|
|
31261
31318
|
className,
|
|
31262
31319
|
variant = "quiet",
|
|
@@ -31285,13 +31342,13 @@ function ThemeButton({
|
|
|
31285
31342
|
Button2,
|
|
31286
31343
|
{
|
|
31287
31344
|
...props,
|
|
31288
|
-
className: (0,
|
|
31345
|
+
className: (0, import_classnames49.default)(ThemeButton_default.button, className),
|
|
31289
31346
|
variant,
|
|
31290
31347
|
onPress: handleClick,
|
|
31291
31348
|
children: [
|
|
31292
31349
|
transitions((style, item) => (
|
|
31293
31350
|
// @ts-ignore
|
|
31294
|
-
/* @__PURE__ */
|
|
31351
|
+
/* @__PURE__ */ jsx61(animated.div, { style, children: /* @__PURE__ */ jsx61(Icon, { size: "sm", children: item === "light" ? /* @__PURE__ */ jsx61(Icons.Sun, {}) : /* @__PURE__ */ jsx61(Icons.Moon, {}) }) }, item)
|
|
31295
31352
|
)),
|
|
31296
31353
|
"\xA0"
|
|
31297
31354
|
]
|
|
@@ -31301,25 +31358,25 @@ function ThemeButton({
|
|
|
31301
31358
|
|
|
31302
31359
|
// src/components/Toggle.tsx
|
|
31303
31360
|
import { forwardRef as forwardRef13 } from "react";
|
|
31304
|
-
var
|
|
31361
|
+
var import_classnames50 = __toESM(require_classnames());
|
|
31305
31362
|
|
|
31306
31363
|
// css-modules:E:\dev\umami-react-zen\src\components\Toggle.module.css
|
|
31307
31364
|
var Toggle_default = { "toggle": "Toggle_toggle__OWVjZ" };
|
|
31308
31365
|
|
|
31309
31366
|
// src/components/Toggle.tsx
|
|
31310
|
-
import { Fragment as Fragment12, jsx as
|
|
31367
|
+
import { Fragment as Fragment12, jsx as jsx62, jsxs as jsxs36 } from "react/jsx-runtime";
|
|
31311
31368
|
var Toggle = forwardRef13(
|
|
31312
31369
|
({ label, children, className, ...props }, ref) => {
|
|
31313
31370
|
const isSelected = typeof props.value !== "undefined" ? !!props.value : void 0;
|
|
31314
31371
|
return /* @__PURE__ */ jsxs36(Fragment12, { children: [
|
|
31315
|
-
label && /* @__PURE__ */
|
|
31316
|
-
/* @__PURE__ */
|
|
31372
|
+
label && /* @__PURE__ */ jsx62(Label2, { children: label }),
|
|
31373
|
+
/* @__PURE__ */ jsx62(
|
|
31317
31374
|
$efde0372d7a700fe$export$d2b052e7b4be1756,
|
|
31318
31375
|
{
|
|
31319
31376
|
...props,
|
|
31320
31377
|
ref,
|
|
31321
31378
|
isSelected,
|
|
31322
|
-
className: (0,
|
|
31379
|
+
className: (0, import_classnames50.default)(Toggle_default.toggle, className),
|
|
31323
31380
|
children
|
|
31324
31381
|
}
|
|
31325
31382
|
)
|
|
@@ -31328,13 +31385,13 @@ var Toggle = forwardRef13(
|
|
|
31328
31385
|
);
|
|
31329
31386
|
|
|
31330
31387
|
// src/components/ToggleGroup.tsx
|
|
31331
|
-
var
|
|
31388
|
+
var import_classnames51 = __toESM(require_classnames());
|
|
31332
31389
|
|
|
31333
31390
|
// css-modules:E:\dev\umami-react-zen\src\components\ToggleGroup.module.css
|
|
31334
31391
|
var ToggleGroup_default = { "group": "ToggleGroup_group__NTgyM", "list": "ToggleGroup_list__OWIyM", "item": "ToggleGroup_item__NDJmZ" };
|
|
31335
31392
|
|
|
31336
31393
|
// src/components/ToggleGroup.tsx
|
|
31337
|
-
import { jsx as
|
|
31394
|
+
import { jsx as jsx63, jsxs as jsxs37 } from "react/jsx-runtime";
|
|
31338
31395
|
function ToggleGroup({
|
|
31339
31396
|
label,
|
|
31340
31397
|
value,
|
|
@@ -31360,26 +31417,26 @@ function ToggleGroup({
|
|
|
31360
31417
|
defaultSelectedKeys: defaultValue || defaultSelectedKeys,
|
|
31361
31418
|
selectionMode,
|
|
31362
31419
|
onSelectionChange: handleChange,
|
|
31363
|
-
className: (0,
|
|
31420
|
+
className: (0, import_classnames51.default)(ToggleGroup_default.group, className),
|
|
31364
31421
|
children: [
|
|
31365
|
-
label && /* @__PURE__ */
|
|
31366
|
-
/* @__PURE__ */
|
|
31422
|
+
label && /* @__PURE__ */ jsx63(Label2, { children: label }),
|
|
31423
|
+
/* @__PURE__ */ jsx63($eaf9e70818b436db$export$f9fef0f55402315b, { className: ToggleGroup_default.list, children })
|
|
31367
31424
|
]
|
|
31368
31425
|
}
|
|
31369
31426
|
);
|
|
31370
31427
|
}
|
|
31371
31428
|
function ToggleGroupItem({ className, children, ...props }) {
|
|
31372
|
-
return /* @__PURE__ */
|
|
31429
|
+
return /* @__PURE__ */ jsx63($eaf9e70818b436db$export$3288d34c523a1192, { ...props, className: (0, import_classnames51.default)(ToggleGroup_default.item, className), children });
|
|
31373
31430
|
}
|
|
31374
31431
|
|
|
31375
31432
|
// src/components/ZenProvider.tsx
|
|
31376
|
-
import { jsx as
|
|
31433
|
+
import { jsx as jsx64 } from "react/jsx-runtime";
|
|
31377
31434
|
var defaultToastCofig = {
|
|
31378
31435
|
duration: 3e3
|
|
31379
31436
|
};
|
|
31380
31437
|
function ZenProvider({ children, ...props }) {
|
|
31381
31438
|
const { toast = defaultToastCofig } = props;
|
|
31382
|
-
return /* @__PURE__ */
|
|
31439
|
+
return /* @__PURE__ */ jsx64(ToastProvider, { ...toast, children });
|
|
31383
31440
|
}
|
|
31384
31441
|
export {
|
|
31385
31442
|
Accordion,
|
|
@@ -31431,6 +31488,8 @@ export {
|
|
|
31431
31488
|
MenuSeparator,
|
|
31432
31489
|
$3674c52c6b3c5bce$export$27d2ad3c5815583e as MenuTrigger,
|
|
31433
31490
|
Modal2 as Modal,
|
|
31491
|
+
NavMenu,
|
|
31492
|
+
NavMenuItem,
|
|
31434
31493
|
Navbar,
|
|
31435
31494
|
NavbarItem,
|
|
31436
31495
|
PasswordField,
|