@umami/react-zen 0.91.0 → 0.92.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 +0 -43
- package/dist/index.d.ts +5 -3
- package/dist/index.js +58 -75
- package/dist/index.mjs +58 -75
- package/package.json +1 -1
- package/styles.css +0 -43
package/dist/index.css
CHANGED
|
@@ -4159,49 +4159,6 @@ body a.Button_button__NDYwM {
|
|
|
4159
4159
|
background: none;
|
|
4160
4160
|
}
|
|
4161
4161
|
|
|
4162
|
-
/* virtual-css:css:851dd5366a20c382ffec60997ee93e35 */
|
|
4163
|
-
.Select_button__MWY5Z {
|
|
4164
|
-
display: flex;
|
|
4165
|
-
align-items: center;
|
|
4166
|
-
font-size: var(--font-size);
|
|
4167
|
-
color: var(--font-color);
|
|
4168
|
-
gap: var(--gap);
|
|
4169
|
-
border: var(--border);
|
|
4170
|
-
padding: var(--padding);
|
|
4171
|
-
border-radius: var(--border-radius);
|
|
4172
|
-
background: var(--background-color);
|
|
4173
|
-
cursor: pointer;
|
|
4174
|
-
}
|
|
4175
|
-
.Select_list__ODI4M {
|
|
4176
|
-
padding: var(--spacing-2);
|
|
4177
|
-
}
|
|
4178
|
-
.Select_popover__ZDNlZ {
|
|
4179
|
-
min-width: 200px;
|
|
4180
|
-
border: var(--border);
|
|
4181
|
-
border-radius: var(--border-radius);
|
|
4182
|
-
box-shadow: var(--box-shadow-3);
|
|
4183
|
-
background: var(--background-color);
|
|
4184
|
-
overflow: hidden;
|
|
4185
|
-
}
|
|
4186
|
-
.Select_icon__ZGNhZ {
|
|
4187
|
-
color: var(--font-color-disabled);
|
|
4188
|
-
}
|
|
4189
|
-
.Select_icon__ZGNhZ:hover {
|
|
4190
|
-
color: var(--font-color);
|
|
4191
|
-
cursor: pointer;
|
|
4192
|
-
}
|
|
4193
|
-
.Select_search__NGY0O {
|
|
4194
|
-
border-bottom: var(--border);
|
|
4195
|
-
outline: none;
|
|
4196
|
-
}
|
|
4197
|
-
.Select_search__NGY0O input {
|
|
4198
|
-
border: 0;
|
|
4199
|
-
box-shadow: none;
|
|
4200
|
-
}
|
|
4201
|
-
.Select_search__NGY0O input[data-focused] {
|
|
4202
|
-
outline: none;
|
|
4203
|
-
}
|
|
4204
|
-
|
|
4205
4162
|
/* virtual-css:css:12d12fae43d9120371ddbb4f1c814f07 */
|
|
4206
4163
|
.SideNav_sidenav__M2NlY {
|
|
4207
4164
|
height: 100%;
|
package/dist/index.d.ts
CHANGED
|
@@ -473,9 +473,9 @@ declare module '@umami/react-zen/Flexbox' {
|
|
|
473
473
|
justifyItems?: Responsive<JustifyItems>;
|
|
474
474
|
alignContent?: AlignContent;
|
|
475
475
|
alignItems?: AlignItems;
|
|
476
|
-
gap?: Responsive<Spacing>;
|
|
477
|
-
gapX?: Responsive<Spacing>;
|
|
478
|
-
gapY?: Responsive<Spacing>;
|
|
476
|
+
gap?: Responsive<Spacing | true>;
|
|
477
|
+
gapX?: Responsive<Spacing | true>;
|
|
478
|
+
gapY?: Responsive<Spacing | true>;
|
|
479
479
|
}
|
|
480
480
|
export function Flexbox({ display, direction, wrap, justifyContent, justifyItems, alignContent, alignItems, gap, gapX, gapY, className, style, children, ...props }: FlexboxProps): import("react").JSX.Element;
|
|
481
481
|
}
|
|
@@ -769,6 +769,7 @@ declare module '@umami/react-zen/SearchField' {
|
|
|
769
769
|
declare module '@umami/react-zen/Select' {
|
|
770
770
|
import { ReactNode } from 'react';
|
|
771
771
|
import { PopoverProps, SelectProps as AriaSelectProps, SelectValueRenderProps } from 'react-aria-components';
|
|
772
|
+
import { ButtonProps } from '@umami/react-zen/Button';
|
|
772
773
|
import { ListProps } from '@umami/react-zen/List';
|
|
773
774
|
interface SelectProps extends AriaSelectProps<HTMLSelectElement> {
|
|
774
775
|
items?: any[];
|
|
@@ -780,6 +781,7 @@ declare module '@umami/react-zen/Select' {
|
|
|
780
781
|
searchDelay?: number;
|
|
781
782
|
onSearch?: (value: string) => void;
|
|
782
783
|
onChange?: (e: any) => void;
|
|
784
|
+
buttonProps?: ButtonProps;
|
|
783
785
|
listProps?: ListProps;
|
|
784
786
|
popoverProps?: PopoverProps;
|
|
785
787
|
renderValue?: ReactNode | ((values: SelectValueRenderProps<object> & {
|
package/dist/index.js
CHANGED
|
@@ -167,7 +167,7 @@ var require_classnames = __commonJS({
|
|
|
167
167
|
(function() {
|
|
168
168
|
"use strict";
|
|
169
169
|
var hasOwn = {}.hasOwnProperty;
|
|
170
|
-
function
|
|
170
|
+
function classNames51() {
|
|
171
171
|
var classes = "";
|
|
172
172
|
for (var i = 0; i < arguments.length; i++) {
|
|
173
173
|
var arg = arguments[i];
|
|
@@ -185,7 +185,7 @@ var require_classnames = __commonJS({
|
|
|
185
185
|
return "";
|
|
186
186
|
}
|
|
187
187
|
if (Array.isArray(arg)) {
|
|
188
|
-
return
|
|
188
|
+
return classNames51.apply(null, arg);
|
|
189
189
|
}
|
|
190
190
|
if (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes("[native code]")) {
|
|
191
191
|
return arg.toString();
|
|
@@ -208,14 +208,14 @@ var require_classnames = __commonJS({
|
|
|
208
208
|
return value + newClass;
|
|
209
209
|
}
|
|
210
210
|
if (typeof module2 !== "undefined" && module2.exports) {
|
|
211
|
-
|
|
212
|
-
module2.exports =
|
|
211
|
+
classNames51.default = classNames51;
|
|
212
|
+
module2.exports = classNames51;
|
|
213
213
|
} else if (typeof define === "function" && typeof define.amd === "object" && define.amd) {
|
|
214
214
|
define("classnames", [], function() {
|
|
215
|
-
return
|
|
215
|
+
return classNames51;
|
|
216
216
|
});
|
|
217
217
|
} else {
|
|
218
|
-
window.classNames =
|
|
218
|
+
window.classNames = classNames51;
|
|
219
219
|
}
|
|
220
220
|
})();
|
|
221
221
|
}
|
|
@@ -31015,12 +31015,6 @@ var SearchField2 = (0, import_react188.forwardRef)(
|
|
|
31015
31015
|
|
|
31016
31016
|
// src/components/Select.tsx
|
|
31017
31017
|
var import_react189 = require("react");
|
|
31018
|
-
var import_classnames43 = __toESM(require_classnames());
|
|
31019
|
-
|
|
31020
|
-
// css-modules:E:\dev\umami-react-zen\src\components\Select.module.css
|
|
31021
|
-
var Select_default = { "button": "Select_button__MWY5Z", "list": "Select_list__ODI4M", "popover": "Select_popover__ZDNlZ", "icon": "Select_icon__ZGNhZ", "search": "Select_search__NGY0O" };
|
|
31022
|
-
|
|
31023
|
-
// src/components/Select.tsx
|
|
31024
31018
|
var import_jsx_runtime53 = require("react/jsx-runtime");
|
|
31025
31019
|
var Select2 = (0, import_react189.forwardRef)(
|
|
31026
31020
|
({
|
|
@@ -31034,6 +31028,7 @@ var Select2 = (0, import_react189.forwardRef)(
|
|
|
31034
31028
|
onSearch,
|
|
31035
31029
|
onSelectionChange,
|
|
31036
31030
|
onChange,
|
|
31031
|
+
buttonProps,
|
|
31037
31032
|
listProps,
|
|
31038
31033
|
popoverProps,
|
|
31039
31034
|
renderValue,
|
|
@@ -31050,53 +31045,41 @@ var Select2 = (0, import_react189.forwardRef)(
|
|
|
31050
31045
|
setSearch(value2);
|
|
31051
31046
|
onSearch?.(value2);
|
|
31052
31047
|
};
|
|
31053
|
-
return /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(
|
|
31054
|
-
|
|
31055
|
-
{
|
|
31056
|
-
|
|
31057
|
-
|
|
31058
|
-
|
|
31059
|
-
|
|
31060
|
-
|
|
31061
|
-
|
|
31062
|
-
|
|
31063
|
-
|
|
31064
|
-
|
|
31065
|
-
|
|
31066
|
-
|
|
31067
|
-
|
|
31068
|
-
|
|
31069
|
-
|
|
31070
|
-
|
|
31071
|
-
|
|
31072
|
-
|
|
31073
|
-
|
|
31074
|
-
|
|
31075
|
-
|
|
31076
|
-
|
|
31077
|
-
|
|
31078
|
-
|
|
31079
|
-
|
|
31080
|
-
|
|
31081
|
-
|
|
31082
|
-
{
|
|
31083
|
-
...listProps,
|
|
31084
|
-
items,
|
|
31085
|
-
className: (0, import_classnames43.default)(Select_default.list, listProps?.className),
|
|
31086
|
-
style: { ...listProps?.style, display: isLoading ? "none" : void 0 },
|
|
31087
|
-
children
|
|
31088
|
-
}
|
|
31089
|
-
)
|
|
31090
|
-
] }) })
|
|
31091
|
-
]
|
|
31092
|
-
}
|
|
31093
|
-
);
|
|
31048
|
+
return /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)($82d7e5349645de74$export$ef9b1a59e592288f, { "aria-label": "Select", ...props, ref, onSelectionChange: handleChange, children: [
|
|
31049
|
+
label && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Label2, { children: label }),
|
|
31050
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Button2, { variant: "outline", ...buttonProps, children: /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(Row, { justifyContent: "space-between", gap: "3", children: [
|
|
31051
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)($82d7e5349645de74$export$e288731fd71264f0, { children: renderValue }),
|
|
31052
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)("span", { "aria-hidden": "true", children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Icon, { rotate: 90, size: "xs", children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Icons.Chevron, {}) }) })
|
|
31053
|
+
] }) }),
|
|
31054
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Popover2, { ...popoverProps, children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Column, { children: /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(Box, { padding: "2", border: true, borderRadius: true, backgroundColor: true, shadow: "3", children: [
|
|
31055
|
+
allowSearch && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Box, { marginBottom: "2", children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
|
|
31056
|
+
SearchField2,
|
|
31057
|
+
{
|
|
31058
|
+
value: search,
|
|
31059
|
+
onSearch: handleSearch,
|
|
31060
|
+
delay: searchDelay,
|
|
31061
|
+
defaultValue: searchValue,
|
|
31062
|
+
autoFocus: true
|
|
31063
|
+
}
|
|
31064
|
+
) }),
|
|
31065
|
+
isLoading && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Loading, { icon: "dots", position: "center", size: "sm" }),
|
|
31066
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
|
|
31067
|
+
List,
|
|
31068
|
+
{
|
|
31069
|
+
...listProps,
|
|
31070
|
+
items,
|
|
31071
|
+
style: { ...listProps?.style, display: isLoading ? "none" : void 0 },
|
|
31072
|
+
children
|
|
31073
|
+
}
|
|
31074
|
+
)
|
|
31075
|
+
] }) }) })
|
|
31076
|
+
] });
|
|
31094
31077
|
}
|
|
31095
31078
|
);
|
|
31096
31079
|
|
|
31097
31080
|
// src/components/SideNav.tsx
|
|
31098
31081
|
var import_react190 = require("react");
|
|
31099
|
-
var
|
|
31082
|
+
var import_classnames43 = __toESM(require_classnames());
|
|
31100
31083
|
|
|
31101
31084
|
// css-modules:E:\dev\umami-react-zen\src\components\SideNav.module.css
|
|
31102
31085
|
var SideNav_default = { "sidenav": "SideNav_sidenav__M2NlY", "header": "SideNav_header__NGU1Y", "name": "SideNav_name__OTM0N", "section": "SideNav_section__MTUxM", "title": "SideNav_title__YTg5O", "content": "SideNav_content__MjczM", "item": "SideNav_item__ZTlkN", "label": "SideNav_label__NDU1N", "collapsed": "SideNav_collapsed__YzExM", "muted": "SideNav_muted__MmRlM", "selected": "SideNav_selected__ZjY4N", "variant-quiet": "SideNav_variant-quiet__OTZlN", "variant-1": "SideNav_variant-1__NjVmN", "variant-2": "SideNav_variant-2__NWZjM", "variant-3": "SideNav_variant-3__ZDE4O", "noborder": "SideNav_noborder__YTJjO" };
|
|
@@ -31117,7 +31100,7 @@ function SideNav({
|
|
|
31117
31100
|
Column,
|
|
31118
31101
|
{
|
|
31119
31102
|
...props,
|
|
31120
|
-
className: (0,
|
|
31103
|
+
className: (0, import_classnames43.default)(
|
|
31121
31104
|
SideNav_default.sidenav,
|
|
31122
31105
|
isCollapsed && SideNav_default.collapsed,
|
|
31123
31106
|
muteItems && SideNav_default.muted,
|
|
@@ -31145,9 +31128,9 @@ function SideNavHeader({
|
|
|
31145
31128
|
children,
|
|
31146
31129
|
...props
|
|
31147
31130
|
}) {
|
|
31148
|
-
return /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(Row, { ...props, className: (0,
|
|
31131
|
+
return /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(Row, { ...props, className: (0, import_classnames43.default)(SideNav_default.header, className), children: [
|
|
31149
31132
|
icon && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Icon, { size: "sm", children: icon }),
|
|
31150
|
-
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)("div", { className: (0,
|
|
31133
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)("div", { className: (0, import_classnames43.default)(SideNav_default.name, SideNav_default.label), children: label }),
|
|
31151
31134
|
children
|
|
31152
31135
|
] });
|
|
31153
31136
|
}
|
|
@@ -31165,10 +31148,10 @@ function SideNavItem({
|
|
|
31165
31148
|
Row,
|
|
31166
31149
|
{
|
|
31167
31150
|
...props,
|
|
31168
|
-
className: (0,
|
|
31151
|
+
className: (0, import_classnames43.default)(SideNav_default.item, className, isSelected && SideNav_default.selected),
|
|
31169
31152
|
children: [
|
|
31170
31153
|
icon && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Icon, { size: "sm", children: icon }),
|
|
31171
|
-
label && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Text, { className: (0,
|
|
31154
|
+
label && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Text, { className: (0, import_classnames43.default)(SideNav_default.label), children: label }),
|
|
31172
31155
|
children
|
|
31173
31156
|
]
|
|
31174
31157
|
}
|
|
@@ -31179,7 +31162,7 @@ function SideNavItem({
|
|
|
31179
31162
|
|
|
31180
31163
|
// src/components/Slider.tsx
|
|
31181
31164
|
var import_react191 = require("react");
|
|
31182
|
-
var
|
|
31165
|
+
var import_classnames44 = __toESM(require_classnames());
|
|
31183
31166
|
|
|
31184
31167
|
// css-modules:E:\dev\umami-react-zen\src\components\Slider.module.css
|
|
31185
31168
|
var Slider_default = { "slider": "Slider_slider__MjBhO", "header": "Slider_header__ZTE2M", "track": "Slider_track__ODk5M", "fill": "Slider_fill__YzdhM", "thumb": "Slider_thumb__NGEzM" };
|
|
@@ -31188,7 +31171,7 @@ var Slider_default = { "slider": "Slider_slider__MjBhO", "header": "Slider_heade
|
|
|
31188
31171
|
var import_jsx_runtime55 = require("react/jsx-runtime");
|
|
31189
31172
|
var Slider2 = (0, import_react191.forwardRef)(
|
|
31190
31173
|
({ className, showValue = true, label, ...props }, ref) => {
|
|
31191
|
-
return /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)($6f909507e6374d18$export$472062a354075cee, { ...props, ref, className: (0,
|
|
31174
|
+
return /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)($6f909507e6374d18$export$472062a354075cee, { ...props, ref, className: (0, import_classnames44.default)(Slider_default.slider, className), children: [
|
|
31192
31175
|
/* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", { className: Slider_default.header, children: [
|
|
31193
31176
|
label && /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Label2, { className: Slider_default.label, children: label }),
|
|
31194
31177
|
showValue && /* @__PURE__ */ (0, import_jsx_runtime55.jsx)($6f909507e6374d18$export$a590f758a961cb5b, { className: Slider_default.output })
|
|
@@ -31213,7 +31196,7 @@ var Slider2 = (0, import_react191.forwardRef)(
|
|
|
31213
31196
|
);
|
|
31214
31197
|
|
|
31215
31198
|
// src/components/StatusLight.tsx
|
|
31216
|
-
var
|
|
31199
|
+
var import_classnames45 = __toESM(require_classnames());
|
|
31217
31200
|
|
|
31218
31201
|
// css-modules:E:\dev\umami-react-zen\src\components\StatusLight.module.css
|
|
31219
31202
|
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" };
|
|
@@ -31222,11 +31205,11 @@ var StatusLight_default = { "statuslight": "StatusLight_statuslight__MTliM", "st
|
|
|
31222
31205
|
var import_jsx_runtime56 = require("react/jsx-runtime");
|
|
31223
31206
|
function StatusLight(props) {
|
|
31224
31207
|
const { color, variant = "inactive", children, className, ...domProps } = props;
|
|
31225
|
-
return /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("div", { ...domProps, className: (0,
|
|
31208
|
+
return /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("div", { ...domProps, className: (0, import_classnames45.default)(StatusLight_default.statuslight, className), children: [
|
|
31226
31209
|
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)("div", { className: StatusLight_default.bg, children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
|
|
31227
31210
|
"div",
|
|
31228
31211
|
{
|
|
31229
|
-
className: (0,
|
|
31212
|
+
className: (0, import_classnames45.default)(StatusLight_default.status, StatusLight_default[variant]),
|
|
31230
31213
|
style: { backgroundColor: color }
|
|
31231
31214
|
}
|
|
31232
31215
|
) }),
|
|
@@ -31236,7 +31219,7 @@ function StatusLight(props) {
|
|
|
31236
31219
|
|
|
31237
31220
|
// src/components/Switch.tsx
|
|
31238
31221
|
var import_react192 = require("react");
|
|
31239
|
-
var
|
|
31222
|
+
var import_classnames46 = __toESM(require_classnames());
|
|
31240
31223
|
|
|
31241
31224
|
// css-modules:E:\dev\umami-react-zen\src\components\Switch.module.css
|
|
31242
31225
|
var Switch_default = { "switch": "Switch_switch__NzI0O", "track": "Switch_track__ZWU0O", "knob": "Switch_knob__YjFmZ" };
|
|
@@ -31254,7 +31237,7 @@ var Switch2 = (0, import_react192.forwardRef)(
|
|
|
31254
31237
|
...props,
|
|
31255
31238
|
isSelected,
|
|
31256
31239
|
ref,
|
|
31257
|
-
className: (0,
|
|
31240
|
+
className: (0, import_classnames46.default)(Switch_default.switch, className),
|
|
31258
31241
|
children: [
|
|
31259
31242
|
/* @__PURE__ */ (0, import_jsx_runtime57.jsx)("div", { className: Switch_default.track, children: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("div", { className: Switch_default.knob }) }),
|
|
31260
31243
|
children
|
|
@@ -31285,7 +31268,7 @@ function TabPanel2({ children, ...props }) {
|
|
|
31285
31268
|
|
|
31286
31269
|
// src/components/TextArea.tsx
|
|
31287
31270
|
var import_react193 = require("react");
|
|
31288
|
-
var
|
|
31271
|
+
var import_classnames47 = __toESM(require_classnames());
|
|
31289
31272
|
|
|
31290
31273
|
// css-modules:E:\dev\umami-react-zen\src\components\TextArea.module.css
|
|
31291
31274
|
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" };
|
|
@@ -31299,7 +31282,7 @@ var TextArea2 = (0, import_react193.forwardRef)(
|
|
|
31299
31282
|
{
|
|
31300
31283
|
...props,
|
|
31301
31284
|
ref,
|
|
31302
|
-
className: (0,
|
|
31285
|
+
className: (0, import_classnames47.default)(resize && TextArea_default[`resize-${resize}`]),
|
|
31303
31286
|
asChild: true,
|
|
31304
31287
|
children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)($216918bed6669f72$export$f5c9f3c2c4054eec, { rows, cols, style: { ...style }, children })
|
|
31305
31288
|
}
|
|
@@ -31308,7 +31291,7 @@ var TextArea2 = (0, import_react193.forwardRef)(
|
|
|
31308
31291
|
);
|
|
31309
31292
|
|
|
31310
31293
|
// src/components/ThemeButton.tsx
|
|
31311
|
-
var
|
|
31294
|
+
var import_classnames48 = __toESM(require_classnames());
|
|
31312
31295
|
|
|
31313
31296
|
// css-modules:E:\dev\umami-react-zen\src\components\ThemeButton.module.css
|
|
31314
31297
|
var ThemeButton_default = { "button": "ThemeButton_button__Zjc5N" };
|
|
@@ -31343,7 +31326,7 @@ function ThemeButton({
|
|
|
31343
31326
|
Button2,
|
|
31344
31327
|
{
|
|
31345
31328
|
...props,
|
|
31346
|
-
className: (0,
|
|
31329
|
+
className: (0, import_classnames48.default)(ThemeButton_default.button, className),
|
|
31347
31330
|
variant,
|
|
31348
31331
|
onPress: handleClick,
|
|
31349
31332
|
children: [
|
|
@@ -31359,7 +31342,7 @@ function ThemeButton({
|
|
|
31359
31342
|
|
|
31360
31343
|
// src/components/Toggle.tsx
|
|
31361
31344
|
var import_react194 = require("react");
|
|
31362
|
-
var
|
|
31345
|
+
var import_classnames49 = __toESM(require_classnames());
|
|
31363
31346
|
|
|
31364
31347
|
// css-modules:E:\dev\umami-react-zen\src\components\Toggle.module.css
|
|
31365
31348
|
var Toggle_default = { "toggle": "Toggle_toggle__OWVjZ" };
|
|
@@ -31377,7 +31360,7 @@ var Toggle = (0, import_react194.forwardRef)(
|
|
|
31377
31360
|
...props,
|
|
31378
31361
|
ref,
|
|
31379
31362
|
isSelected,
|
|
31380
|
-
className: (0,
|
|
31363
|
+
className: (0, import_classnames49.default)(Toggle_default.toggle, className),
|
|
31381
31364
|
children
|
|
31382
31365
|
}
|
|
31383
31366
|
)
|
|
@@ -31386,7 +31369,7 @@ var Toggle = (0, import_react194.forwardRef)(
|
|
|
31386
31369
|
);
|
|
31387
31370
|
|
|
31388
31371
|
// src/components/ToggleGroup.tsx
|
|
31389
|
-
var
|
|
31372
|
+
var import_classnames50 = __toESM(require_classnames());
|
|
31390
31373
|
|
|
31391
31374
|
// css-modules:E:\dev\umami-react-zen\src\components\ToggleGroup.module.css
|
|
31392
31375
|
var ToggleGroup_default = { "group": "ToggleGroup_group__NTgyM", "list": "ToggleGroup_list__OWIyM", "item": "ToggleGroup_item__NDJmZ" };
|
|
@@ -31418,7 +31401,7 @@ function ToggleGroup({
|
|
|
31418
31401
|
defaultSelectedKeys: defaultValue || defaultSelectedKeys,
|
|
31419
31402
|
selectionMode,
|
|
31420
31403
|
onSelectionChange: handleChange,
|
|
31421
|
-
className: (0,
|
|
31404
|
+
className: (0, import_classnames50.default)(ToggleGroup_default.group, className),
|
|
31422
31405
|
children: [
|
|
31423
31406
|
label && /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(Label2, { children: label }),
|
|
31424
31407
|
/* @__PURE__ */ (0, import_jsx_runtime62.jsx)($eaf9e70818b436db$export$f9fef0f55402315b, { className: ToggleGroup_default.list, children })
|
|
@@ -31427,7 +31410,7 @@ function ToggleGroup({
|
|
|
31427
31410
|
);
|
|
31428
31411
|
}
|
|
31429
31412
|
function ToggleGroupItem({ className, children, ...props }) {
|
|
31430
|
-
return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)($eaf9e70818b436db$export$3288d34c523a1192, { ...props, className: (0,
|
|
31413
|
+
return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)($eaf9e70818b436db$export$3288d34c523a1192, { ...props, className: (0, import_classnames50.default)(ToggleGroup_default.item, className), children });
|
|
31431
31414
|
}
|
|
31432
31415
|
|
|
31433
31416
|
// src/components/ZenProvider.tsx
|
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 classNames51() {
|
|
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 classNames51.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
|
+
classNames51.default = classNames51;
|
|
206
|
+
module.exports = classNames51;
|
|
207
207
|
} else if (typeof define === "function" && typeof define.amd === "object" && define.amd) {
|
|
208
208
|
define("classnames", [], function() {
|
|
209
|
-
return
|
|
209
|
+
return classNames51;
|
|
210
210
|
});
|
|
211
211
|
} else {
|
|
212
|
-
window.classNames =
|
|
212
|
+
window.classNames = classNames51;
|
|
213
213
|
}
|
|
214
214
|
})();
|
|
215
215
|
}
|
|
@@ -30907,13 +30907,7 @@ var SearchField2 = forwardRef8(
|
|
|
30907
30907
|
);
|
|
30908
30908
|
|
|
30909
30909
|
// src/components/Select.tsx
|
|
30910
|
-
var import_classnames43 = __toESM(require_classnames());
|
|
30911
30910
|
import { forwardRef as forwardRef9, useState as useState17 } from "react";
|
|
30912
|
-
|
|
30913
|
-
// css-modules:E:\dev\umami-react-zen\src\components\Select.module.css
|
|
30914
|
-
var Select_default = { "button": "Select_button__MWY5Z", "list": "Select_list__ODI4M", "popover": "Select_popover__ZDNlZ", "icon": "Select_icon__ZGNhZ", "search": "Select_search__NGY0O" };
|
|
30915
|
-
|
|
30916
|
-
// src/components/Select.tsx
|
|
30917
30911
|
import { jsx as jsx53, jsxs as jsxs30 } from "react/jsx-runtime";
|
|
30918
30912
|
var Select2 = forwardRef9(
|
|
30919
30913
|
({
|
|
@@ -30927,6 +30921,7 @@ var Select2 = forwardRef9(
|
|
|
30927
30921
|
onSearch,
|
|
30928
30922
|
onSelectionChange,
|
|
30929
30923
|
onChange,
|
|
30924
|
+
buttonProps,
|
|
30930
30925
|
listProps,
|
|
30931
30926
|
popoverProps,
|
|
30932
30927
|
renderValue,
|
|
@@ -30943,52 +30938,40 @@ var Select2 = forwardRef9(
|
|
|
30943
30938
|
setSearch(value2);
|
|
30944
30939
|
onSearch?.(value2);
|
|
30945
30940
|
};
|
|
30946
|
-
return /* @__PURE__ */ jsxs30(
|
|
30947
|
-
|
|
30948
|
-
{
|
|
30949
|
-
|
|
30950
|
-
|
|
30951
|
-
|
|
30952
|
-
|
|
30953
|
-
|
|
30954
|
-
|
|
30955
|
-
|
|
30956
|
-
|
|
30957
|
-
|
|
30958
|
-
|
|
30959
|
-
|
|
30960
|
-
|
|
30961
|
-
|
|
30962
|
-
|
|
30963
|
-
|
|
30964
|
-
|
|
30965
|
-
|
|
30966
|
-
|
|
30967
|
-
|
|
30968
|
-
|
|
30969
|
-
|
|
30970
|
-
|
|
30971
|
-
|
|
30972
|
-
|
|
30973
|
-
|
|
30974
|
-
|
|
30975
|
-
{
|
|
30976
|
-
...listProps,
|
|
30977
|
-
items,
|
|
30978
|
-
className: (0, import_classnames43.default)(Select_default.list, listProps?.className),
|
|
30979
|
-
style: { ...listProps?.style, display: isLoading ? "none" : void 0 },
|
|
30980
|
-
children
|
|
30981
|
-
}
|
|
30982
|
-
)
|
|
30983
|
-
] }) })
|
|
30984
|
-
]
|
|
30985
|
-
}
|
|
30986
|
-
);
|
|
30941
|
+
return /* @__PURE__ */ jsxs30($82d7e5349645de74$export$ef9b1a59e592288f, { "aria-label": "Select", ...props, ref, onSelectionChange: handleChange, children: [
|
|
30942
|
+
label && /* @__PURE__ */ jsx53(Label2, { children: label }),
|
|
30943
|
+
/* @__PURE__ */ jsx53(Button2, { variant: "outline", ...buttonProps, children: /* @__PURE__ */ jsxs30(Row, { justifyContent: "space-between", gap: "3", children: [
|
|
30944
|
+
/* @__PURE__ */ jsx53($82d7e5349645de74$export$e288731fd71264f0, { children: renderValue }),
|
|
30945
|
+
/* @__PURE__ */ jsx53("span", { "aria-hidden": "true", children: /* @__PURE__ */ jsx53(Icon, { rotate: 90, size: "xs", children: /* @__PURE__ */ jsx53(Icons.Chevron, {}) }) })
|
|
30946
|
+
] }) }),
|
|
30947
|
+
/* @__PURE__ */ jsx53(Popover2, { ...popoverProps, children: /* @__PURE__ */ jsx53(Column, { children: /* @__PURE__ */ jsxs30(Box, { padding: "2", border: true, borderRadius: true, backgroundColor: true, shadow: "3", children: [
|
|
30948
|
+
allowSearch && /* @__PURE__ */ jsx53(Box, { marginBottom: "2", children: /* @__PURE__ */ jsx53(
|
|
30949
|
+
SearchField2,
|
|
30950
|
+
{
|
|
30951
|
+
value: search,
|
|
30952
|
+
onSearch: handleSearch,
|
|
30953
|
+
delay: searchDelay,
|
|
30954
|
+
defaultValue: searchValue,
|
|
30955
|
+
autoFocus: true
|
|
30956
|
+
}
|
|
30957
|
+
) }),
|
|
30958
|
+
isLoading && /* @__PURE__ */ jsx53(Loading, { icon: "dots", position: "center", size: "sm" }),
|
|
30959
|
+
/* @__PURE__ */ jsx53(
|
|
30960
|
+
List,
|
|
30961
|
+
{
|
|
30962
|
+
...listProps,
|
|
30963
|
+
items,
|
|
30964
|
+
style: { ...listProps?.style, display: isLoading ? "none" : void 0 },
|
|
30965
|
+
children
|
|
30966
|
+
}
|
|
30967
|
+
)
|
|
30968
|
+
] }) }) })
|
|
30969
|
+
] });
|
|
30987
30970
|
}
|
|
30988
30971
|
);
|
|
30989
30972
|
|
|
30990
30973
|
// src/components/SideNav.tsx
|
|
30991
|
-
var
|
|
30974
|
+
var import_classnames43 = __toESM(require_classnames());
|
|
30992
30975
|
import { createContext as createContext4, useContext as useContext6 } from "react";
|
|
30993
30976
|
|
|
30994
30977
|
// css-modules:E:\dev\umami-react-zen\src\components\SideNav.module.css
|
|
@@ -31010,7 +30993,7 @@ function SideNav({
|
|
|
31010
30993
|
Column,
|
|
31011
30994
|
{
|
|
31012
30995
|
...props,
|
|
31013
|
-
className: (0,
|
|
30996
|
+
className: (0, import_classnames43.default)(
|
|
31014
30997
|
SideNav_default.sidenav,
|
|
31015
30998
|
isCollapsed && SideNav_default.collapsed,
|
|
31016
30999
|
muteItems && SideNav_default.muted,
|
|
@@ -31038,9 +31021,9 @@ function SideNavHeader({
|
|
|
31038
31021
|
children,
|
|
31039
31022
|
...props
|
|
31040
31023
|
}) {
|
|
31041
|
-
return /* @__PURE__ */ jsxs31(Row, { ...props, className: (0,
|
|
31024
|
+
return /* @__PURE__ */ jsxs31(Row, { ...props, className: (0, import_classnames43.default)(SideNav_default.header, className), children: [
|
|
31042
31025
|
icon && /* @__PURE__ */ jsx54(Icon, { size: "sm", children: icon }),
|
|
31043
|
-
/* @__PURE__ */ jsx54("div", { className: (0,
|
|
31026
|
+
/* @__PURE__ */ jsx54("div", { className: (0, import_classnames43.default)(SideNav_default.name, SideNav_default.label), children: label }),
|
|
31044
31027
|
children
|
|
31045
31028
|
] });
|
|
31046
31029
|
}
|
|
@@ -31058,10 +31041,10 @@ function SideNavItem({
|
|
|
31058
31041
|
Row,
|
|
31059
31042
|
{
|
|
31060
31043
|
...props,
|
|
31061
|
-
className: (0,
|
|
31044
|
+
className: (0, import_classnames43.default)(SideNav_default.item, className, isSelected && SideNav_default.selected),
|
|
31062
31045
|
children: [
|
|
31063
31046
|
icon && /* @__PURE__ */ jsx54(Icon, { size: "sm", children: icon }),
|
|
31064
|
-
label && /* @__PURE__ */ jsx54(Text, { className: (0,
|
|
31047
|
+
label && /* @__PURE__ */ jsx54(Text, { className: (0, import_classnames43.default)(SideNav_default.label), children: label }),
|
|
31065
31048
|
children
|
|
31066
31049
|
]
|
|
31067
31050
|
}
|
|
@@ -31072,7 +31055,7 @@ function SideNavItem({
|
|
|
31072
31055
|
|
|
31073
31056
|
// src/components/Slider.tsx
|
|
31074
31057
|
import { forwardRef as forwardRef10 } from "react";
|
|
31075
|
-
var
|
|
31058
|
+
var import_classnames44 = __toESM(require_classnames());
|
|
31076
31059
|
|
|
31077
31060
|
// css-modules:E:\dev\umami-react-zen\src\components\Slider.module.css
|
|
31078
31061
|
var Slider_default = { "slider": "Slider_slider__MjBhO", "header": "Slider_header__ZTE2M", "track": "Slider_track__ODk5M", "fill": "Slider_fill__YzdhM", "thumb": "Slider_thumb__NGEzM" };
|
|
@@ -31081,7 +31064,7 @@ var Slider_default = { "slider": "Slider_slider__MjBhO", "header": "Slider_heade
|
|
|
31081
31064
|
import { Fragment as Fragment10, jsx as jsx55, jsxs as jsxs32 } from "react/jsx-runtime";
|
|
31082
31065
|
var Slider2 = forwardRef10(
|
|
31083
31066
|
({ className, showValue = true, label, ...props }, ref) => {
|
|
31084
|
-
return /* @__PURE__ */ jsxs32($6f909507e6374d18$export$472062a354075cee, { ...props, ref, className: (0,
|
|
31067
|
+
return /* @__PURE__ */ jsxs32($6f909507e6374d18$export$472062a354075cee, { ...props, ref, className: (0, import_classnames44.default)(Slider_default.slider, className), children: [
|
|
31085
31068
|
/* @__PURE__ */ jsxs32("div", { className: Slider_default.header, children: [
|
|
31086
31069
|
label && /* @__PURE__ */ jsx55(Label2, { className: Slider_default.label, children: label }),
|
|
31087
31070
|
showValue && /* @__PURE__ */ jsx55($6f909507e6374d18$export$a590f758a961cb5b, { className: Slider_default.output })
|
|
@@ -31106,7 +31089,7 @@ var Slider2 = forwardRef10(
|
|
|
31106
31089
|
);
|
|
31107
31090
|
|
|
31108
31091
|
// src/components/StatusLight.tsx
|
|
31109
|
-
var
|
|
31092
|
+
var import_classnames45 = __toESM(require_classnames());
|
|
31110
31093
|
|
|
31111
31094
|
// css-modules:E:\dev\umami-react-zen\src\components\StatusLight.module.css
|
|
31112
31095
|
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" };
|
|
@@ -31115,11 +31098,11 @@ var StatusLight_default = { "statuslight": "StatusLight_statuslight__MTliM", "st
|
|
|
31115
31098
|
import { jsx as jsx56, jsxs as jsxs33 } from "react/jsx-runtime";
|
|
31116
31099
|
function StatusLight(props) {
|
|
31117
31100
|
const { color, variant = "inactive", children, className, ...domProps } = props;
|
|
31118
|
-
return /* @__PURE__ */ jsxs33("div", { ...domProps, className: (0,
|
|
31101
|
+
return /* @__PURE__ */ jsxs33("div", { ...domProps, className: (0, import_classnames45.default)(StatusLight_default.statuslight, className), children: [
|
|
31119
31102
|
/* @__PURE__ */ jsx56("div", { className: StatusLight_default.bg, children: /* @__PURE__ */ jsx56(
|
|
31120
31103
|
"div",
|
|
31121
31104
|
{
|
|
31122
|
-
className: (0,
|
|
31105
|
+
className: (0, import_classnames45.default)(StatusLight_default.status, StatusLight_default[variant]),
|
|
31123
31106
|
style: { backgroundColor: color }
|
|
31124
31107
|
}
|
|
31125
31108
|
) }),
|
|
@@ -31129,7 +31112,7 @@ function StatusLight(props) {
|
|
|
31129
31112
|
|
|
31130
31113
|
// src/components/Switch.tsx
|
|
31131
31114
|
import { forwardRef as forwardRef11 } from "react";
|
|
31132
|
-
var
|
|
31115
|
+
var import_classnames46 = __toESM(require_classnames());
|
|
31133
31116
|
|
|
31134
31117
|
// css-modules:E:\dev\umami-react-zen\src\components\Switch.module.css
|
|
31135
31118
|
var Switch_default = { "switch": "Switch_switch__NzI0O", "track": "Switch_track__ZWU0O", "knob": "Switch_knob__YjFmZ" };
|
|
@@ -31147,7 +31130,7 @@ var Switch2 = forwardRef11(
|
|
|
31147
31130
|
...props,
|
|
31148
31131
|
isSelected,
|
|
31149
31132
|
ref,
|
|
31150
|
-
className: (0,
|
|
31133
|
+
className: (0, import_classnames46.default)(Switch_default.switch, className),
|
|
31151
31134
|
children: [
|
|
31152
31135
|
/* @__PURE__ */ jsx57("div", { className: Switch_default.track, children: /* @__PURE__ */ jsx57("div", { className: Switch_default.knob }) }),
|
|
31153
31136
|
children
|
|
@@ -31177,7 +31160,7 @@ function TabPanel2({ children, ...props }) {
|
|
|
31177
31160
|
}
|
|
31178
31161
|
|
|
31179
31162
|
// src/components/TextArea.tsx
|
|
31180
|
-
var
|
|
31163
|
+
var import_classnames47 = __toESM(require_classnames());
|
|
31181
31164
|
import { forwardRef as forwardRef12 } from "react";
|
|
31182
31165
|
|
|
31183
31166
|
// css-modules:E:\dev\umami-react-zen\src\components\TextArea.module.css
|
|
@@ -31192,7 +31175,7 @@ var TextArea2 = forwardRef12(
|
|
|
31192
31175
|
{
|
|
31193
31176
|
...props,
|
|
31194
31177
|
ref,
|
|
31195
|
-
className: (0,
|
|
31178
|
+
className: (0, import_classnames47.default)(resize && TextArea_default[`resize-${resize}`]),
|
|
31196
31179
|
asChild: true,
|
|
31197
31180
|
children: /* @__PURE__ */ jsx59($216918bed6669f72$export$f5c9f3c2c4054eec, { rows, cols, style: { ...style }, children })
|
|
31198
31181
|
}
|
|
@@ -31201,7 +31184,7 @@ var TextArea2 = forwardRef12(
|
|
|
31201
31184
|
);
|
|
31202
31185
|
|
|
31203
31186
|
// src/components/ThemeButton.tsx
|
|
31204
|
-
var
|
|
31187
|
+
var import_classnames48 = __toESM(require_classnames());
|
|
31205
31188
|
|
|
31206
31189
|
// css-modules:E:\dev\umami-react-zen\src\components\ThemeButton.module.css
|
|
31207
31190
|
var ThemeButton_default = { "button": "ThemeButton_button__Zjc5N" };
|
|
@@ -31236,7 +31219,7 @@ function ThemeButton({
|
|
|
31236
31219
|
Button2,
|
|
31237
31220
|
{
|
|
31238
31221
|
...props,
|
|
31239
|
-
className: (0,
|
|
31222
|
+
className: (0, import_classnames48.default)(ThemeButton_default.button, className),
|
|
31240
31223
|
variant,
|
|
31241
31224
|
onPress: handleClick,
|
|
31242
31225
|
children: [
|
|
@@ -31252,7 +31235,7 @@ function ThemeButton({
|
|
|
31252
31235
|
|
|
31253
31236
|
// src/components/Toggle.tsx
|
|
31254
31237
|
import { forwardRef as forwardRef13 } from "react";
|
|
31255
|
-
var
|
|
31238
|
+
var import_classnames49 = __toESM(require_classnames());
|
|
31256
31239
|
|
|
31257
31240
|
// css-modules:E:\dev\umami-react-zen\src\components\Toggle.module.css
|
|
31258
31241
|
var Toggle_default = { "toggle": "Toggle_toggle__OWVjZ" };
|
|
@@ -31270,7 +31253,7 @@ var Toggle = forwardRef13(
|
|
|
31270
31253
|
...props,
|
|
31271
31254
|
ref,
|
|
31272
31255
|
isSelected,
|
|
31273
|
-
className: (0,
|
|
31256
|
+
className: (0, import_classnames49.default)(Toggle_default.toggle, className),
|
|
31274
31257
|
children
|
|
31275
31258
|
}
|
|
31276
31259
|
)
|
|
@@ -31279,7 +31262,7 @@ var Toggle = forwardRef13(
|
|
|
31279
31262
|
);
|
|
31280
31263
|
|
|
31281
31264
|
// src/components/ToggleGroup.tsx
|
|
31282
|
-
var
|
|
31265
|
+
var import_classnames50 = __toESM(require_classnames());
|
|
31283
31266
|
|
|
31284
31267
|
// css-modules:E:\dev\umami-react-zen\src\components\ToggleGroup.module.css
|
|
31285
31268
|
var ToggleGroup_default = { "group": "ToggleGroup_group__NTgyM", "list": "ToggleGroup_list__OWIyM", "item": "ToggleGroup_item__NDJmZ" };
|
|
@@ -31311,7 +31294,7 @@ function ToggleGroup({
|
|
|
31311
31294
|
defaultSelectedKeys: defaultValue || defaultSelectedKeys,
|
|
31312
31295
|
selectionMode,
|
|
31313
31296
|
onSelectionChange: handleChange,
|
|
31314
|
-
className: (0,
|
|
31297
|
+
className: (0, import_classnames50.default)(ToggleGroup_default.group, className),
|
|
31315
31298
|
children: [
|
|
31316
31299
|
label && /* @__PURE__ */ jsx62(Label2, { children: label }),
|
|
31317
31300
|
/* @__PURE__ */ jsx62($eaf9e70818b436db$export$f9fef0f55402315b, { className: ToggleGroup_default.list, children })
|
|
@@ -31320,7 +31303,7 @@ function ToggleGroup({
|
|
|
31320
31303
|
);
|
|
31321
31304
|
}
|
|
31322
31305
|
function ToggleGroupItem({ className, children, ...props }) {
|
|
31323
|
-
return /* @__PURE__ */ jsx62($eaf9e70818b436db$export$3288d34c523a1192, { ...props, className: (0,
|
|
31306
|
+
return /* @__PURE__ */ jsx62($eaf9e70818b436db$export$3288d34c523a1192, { ...props, className: (0, import_classnames50.default)(ToggleGroup_default.item, className), children });
|
|
31324
31307
|
}
|
|
31325
31308
|
|
|
31326
31309
|
// src/components/ZenProvider.tsx
|
package/package.json
CHANGED
package/styles.css
CHANGED
|
@@ -4475,49 +4475,6 @@ body a.Button_button__NDYwM {
|
|
|
4475
4475
|
background: none;
|
|
4476
4476
|
}
|
|
4477
4477
|
|
|
4478
|
-
/* virtual-css:css:851dd5366a20c382ffec60997ee93e35 */
|
|
4479
|
-
.Select_button__MWY5Z {
|
|
4480
|
-
display: flex;
|
|
4481
|
-
align-items: center;
|
|
4482
|
-
font-size: var(--font-size);
|
|
4483
|
-
color: var(--font-color);
|
|
4484
|
-
gap: var(--gap);
|
|
4485
|
-
border: var(--border);
|
|
4486
|
-
padding: var(--padding);
|
|
4487
|
-
border-radius: var(--border-radius);
|
|
4488
|
-
background: var(--background-color);
|
|
4489
|
-
cursor: pointer;
|
|
4490
|
-
}
|
|
4491
|
-
.Select_list__ODI4M {
|
|
4492
|
-
padding: var(--spacing-2);
|
|
4493
|
-
}
|
|
4494
|
-
.Select_popover__ZDNlZ {
|
|
4495
|
-
min-width: 200px;
|
|
4496
|
-
border: var(--border);
|
|
4497
|
-
border-radius: var(--border-radius);
|
|
4498
|
-
box-shadow: var(--box-shadow-3);
|
|
4499
|
-
background: var(--background-color);
|
|
4500
|
-
overflow: hidden;
|
|
4501
|
-
}
|
|
4502
|
-
.Select_icon__ZGNhZ {
|
|
4503
|
-
color: var(--font-color-disabled);
|
|
4504
|
-
}
|
|
4505
|
-
.Select_icon__ZGNhZ:hover {
|
|
4506
|
-
color: var(--font-color);
|
|
4507
|
-
cursor: pointer;
|
|
4508
|
-
}
|
|
4509
|
-
.Select_search__NGY0O {
|
|
4510
|
-
border-bottom: var(--border);
|
|
4511
|
-
outline: none;
|
|
4512
|
-
}
|
|
4513
|
-
.Select_search__NGY0O input {
|
|
4514
|
-
border: 0;
|
|
4515
|
-
box-shadow: none;
|
|
4516
|
-
}
|
|
4517
|
-
.Select_search__NGY0O input[data-focused] {
|
|
4518
|
-
outline: none;
|
|
4519
|
-
}
|
|
4520
|
-
|
|
4521
4478
|
/* virtual-css:css:12d12fae43d9120371ddbb4f1c814f07 */
|
|
4522
4479
|
.SideNav_sidenav__M2NlY {
|
|
4523
4480
|
height: 100%;
|