@clickhouse/click-ui 0.0.168 → 0.0.170
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/click-ui.es.js +1429 -219
- package/dist/click-ui.umd.js +1682 -472
- package/dist/components/Checkbox/Checkbox.d.ts +4 -1
- package/dist/components/DatePicker/DatePicker.d.ts +8 -0
- package/dist/components/Input/InputWrapper.d.ts +3 -2
- package/dist/components/index.d.ts +1 -0
- package/dist/styles/types.d.ts +223 -0
- package/dist/styles/variables.classic.json.d.ts +35 -0
- package/dist/styles/variables.dark.json.d.ts +184 -1
- package/dist/styles/variables.json.d.ts +228 -5
- package/dist/styles/variables.light.json.d.ts +180 -3
- package/package.json +2 -1
package/dist/click-ui.umd.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
(function(global2, factory) {
|
|
2
2
|
typeof exports === "object" && typeof module !== "undefined" ? factory(exports, require("react/jsx-runtime"), require("styled-components"), require("react"), require("react-dom")) : typeof define === "function" && define.amd ? define(["exports", "react/jsx-runtime", "styled-components", "react", "react-dom"], factory) : (global2 = typeof globalThis !== "undefined" ? globalThis : global2 || self, factory(global2["click-ui"] = {}, global2.jsxRuntime, global2.styled, global2.React, global2.ReactDOM));
|
|
3
|
-
})(this, function(exports2, jsxRuntime,
|
|
3
|
+
})(this, function(exports2, jsxRuntime, styled, React, ReactDOM) {
|
|
4
4
|
"use strict";var __defProp = Object.defineProperty;
|
|
5
5
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6
6
|
var __publicField = (obj, key, value) => {
|
|
@@ -237,7 +237,7 @@ var __publicField = (obj, key, value) => {
|
|
|
237
237
|
/* @__PURE__ */ jsxRuntime.jsx("path", { stroke: "#161517", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 1.5, d: "M4 8.6V21h16V8.6" }),
|
|
238
238
|
/* @__PURE__ */ jsxRuntime.jsx("path", { stroke: "#161517", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 1.5, d: "m2 10 10-7 10 7M15 21v-6a2 2 0 0 0-2-2h-2a2 2 0 0 0-2 2v6" })
|
|
239
239
|
] });
|
|
240
|
-
const animationCircle1 =
|
|
240
|
+
const animationCircle1 = styled.keyframes`
|
|
241
241
|
0 {
|
|
242
242
|
r: 0;
|
|
243
243
|
}
|
|
@@ -251,7 +251,7 @@ var __publicField = (obj, key, value) => {
|
|
|
251
251
|
r: 0;
|
|
252
252
|
}
|
|
253
253
|
`;
|
|
254
|
-
const animationCircle2 =
|
|
254
|
+
const animationCircle2 = styled.keyframes`
|
|
255
255
|
0 {
|
|
256
256
|
r: 0;
|
|
257
257
|
}
|
|
@@ -268,7 +268,7 @@ var __publicField = (obj, key, value) => {
|
|
|
268
268
|
r: 0
|
|
269
269
|
}
|
|
270
270
|
`;
|
|
271
|
-
const animationCircle3 =
|
|
271
|
+
const animationCircle3 = styled.keyframes`
|
|
272
272
|
0 {
|
|
273
273
|
r: 0;
|
|
274
274
|
}
|
|
@@ -282,7 +282,7 @@ var __publicField = (obj, key, value) => {
|
|
|
282
282
|
r: 0
|
|
283
283
|
}
|
|
284
284
|
`;
|
|
285
|
-
const HorizontalLoading =
|
|
285
|
+
const HorizontalLoading = styled.styled(DotsHorizontal).withConfig({
|
|
286
286
|
componentId: "sc-1b02o5c-0"
|
|
287
287
|
})(["circle{animation-name:horizontal-loading;animation-duration:1.5s;animation-iteration-count:infinite;animation-timing-function:linear;-webkit-animation-name:horizontal-loading;-webkit-animation-duration:1.5s;-webkit-animation-iteration-count:infinite;-webkit-animation-timing-function:linear;-moz-animation-name:horizontal-loading;-moz-animation-duration:1.5s;-moz-animation-iteration-count:infinite;-moz-animation-timing-function:linear;&:nth-child(1){animation-name:", ";-webkit-animation-name:", ";-moz-animation-name:", ";}&:nth-child(2){animation-name:", ";-webkit-animation-name:", ";-moz-animation-name:", ";}&:nth-child(3){animation-name:", ";-webkit-animation-name:", ";-moz-animation-name:", ";}}"], animationCircle1, animationCircle1, animationCircle1, animationCircle2, animationCircle2, animationCircle2, animationCircle3, animationCircle3, animationCircle3);
|
|
288
288
|
const Http = (props) => /* @__PURE__ */ jsxRuntime.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { stroke: "#161517", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 1.5, d: "M3 13.8v-3.6M5.88 10.2v3.6M5.88 12H3M10.92 10.2H8.04M9.48 10.2v3.6M18.12 10.2v3.6M15.96 10.2h-2.88M14.52 10.2v3.6M18.12 10.2h1.755c.621 0 1.125.504 1.125 1.125v0c0 .621-.504 1.125-1.125 1.125H18.12M3 7V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v2M21 17v2a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-2" }) });
|
|
@@ -318,7 +318,7 @@ var __publicField = (obj, key, value) => {
|
|
|
318
318
|
/* @__PURE__ */ jsxRuntime.jsx("path", { stroke: "#161517", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 1.25, d: "M16.375 15.125H19.5v3.125" }),
|
|
319
319
|
/* @__PURE__ */ jsxRuntime.jsx("path", { stroke: "#161517", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 1.5, d: "M4.5 12a7.495 7.495 0 0 0 14.312 3.125" })
|
|
320
320
|
] });
|
|
321
|
-
const LoadingFlipped =
|
|
321
|
+
const LoadingFlipped = styled.styled(Loading).withConfig({
|
|
322
322
|
componentId: "sc-15ao23s-0"
|
|
323
323
|
})(["transform:scaleX(-1);"]);
|
|
324
324
|
const Lock = (props) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: [
|
|
@@ -326,7 +326,7 @@ var __publicField = (obj, key, value) => {
|
|
|
326
326
|
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M12.375 14.458V17.5537", stroke: "#161517", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
327
327
|
/* @__PURE__ */ jsxRuntime.jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M17.375 21.6813H7.375C6.27 21.6813 5.375 20.7578 5.375 19.6176V12.3943C5.375 11.2541 6.27 10.3306 7.375 10.3306H17.375C18.48 10.3306 19.375 11.2541 19.375 12.3943V19.6176C19.375 20.7578 18.48 21.6813 17.375 21.6813Z", stroke: "#161517", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" })
|
|
328
328
|
] });
|
|
329
|
-
const spin =
|
|
329
|
+
const spin = styled.keyframes`
|
|
330
330
|
from {
|
|
331
331
|
transform: rotate(0deg) scaleX(-1);
|
|
332
332
|
}
|
|
@@ -334,7 +334,7 @@ var __publicField = (obj, key, value) => {
|
|
|
334
334
|
transform: rotate(360deg) scaleX(-1);
|
|
335
335
|
}
|
|
336
336
|
`;
|
|
337
|
-
const LoadingAnimated =
|
|
337
|
+
const LoadingAnimated = styled.styled(LoadingFlipped).withConfig({
|
|
338
338
|
componentId: "sc-1h6qu7m-0"
|
|
339
339
|
})(["animation:", " 1s infinite linear;"], spin);
|
|
340
340
|
const Metrics = (props) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", ...props, children: [
|
|
@@ -605,7 +605,7 @@ var __publicField = (obj, key, value) => {
|
|
|
605
605
|
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M8 4V8C8 8.63 8.296 9.222 8.8 9.6L12 12L15.2 9.6C15.704 9.222 16 8.63 16 8V4", stroke: "#161517", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
606
606
|
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M16 20V16C16 15.37 15.704 14.778 15.2 14.4L12 12L8.8 14.4C8.296 14.778 8 15.37 8 16V20", stroke: "#161517", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" })
|
|
607
607
|
] });
|
|
608
|
-
const Calendar = (props) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: [
|
|
608
|
+
const Calendar$1 = (props) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: [
|
|
609
609
|
/* @__PURE__ */ jsxRuntime.jsx("rect", { x: "2.99609", y: "2.99658", width: "18.0075", height: "18.0075", rx: "3", stroke: "#161517", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
610
610
|
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M21.0036 7.99826H2.99609", stroke: "#161517", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
611
611
|
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M17.3022 11.4997C17.3022 11.5273 17.2798 11.5497 17.2522 11.5497C17.2245 11.5497 17.2021 11.5273 17.2021 11.4997C17.2021 11.4721 17.2245 11.4497 17.2522 11.4497", stroke: "#161517", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
@@ -704,7 +704,7 @@ var __publicField = (obj, key, value) => {
|
|
|
704
704
|
briefcase: Briefcase,
|
|
705
705
|
building: Building,
|
|
706
706
|
"burger-menu": BurgerMenu,
|
|
707
|
-
calendar: Calendar,
|
|
707
|
+
calendar: Calendar$1,
|
|
708
708
|
"calendar-with-time": CalendarWithTime,
|
|
709
709
|
cards: Cards,
|
|
710
710
|
"cell-tower": CellTower,
|
|
@@ -1387,7 +1387,7 @@ var __publicField = (obj, key, value) => {
|
|
|
1387
1387
|
] }),
|
|
1388
1388
|
/* @__PURE__ */ jsxRuntime.jsx("defs", { children: /* @__PURE__ */ jsxRuntime.jsx("clipPath", { id: "clip0_5333_368", children: /* @__PURE__ */ jsxRuntime.jsx("rect", { width: "30", height: "20", rx: "1", fill: "white" }) }) })
|
|
1389
1389
|
] });
|
|
1390
|
-
const FormRoot =
|
|
1390
|
+
const FormRoot = styled.styled.div.withConfig({
|
|
1391
1391
|
componentId: "sc-1sddmxu-0"
|
|
1392
1392
|
})(["display:flex;width:100%;gap:", ";", " *{box-shadow:none;outline:none;}"], ({
|
|
1393
1393
|
theme: theme2
|
|
@@ -1406,7 +1406,7 @@ var __publicField = (obj, key, value) => {
|
|
|
1406
1406
|
}
|
|
1407
1407
|
` : ""}
|
|
1408
1408
|
`);
|
|
1409
|
-
const Error$1 =
|
|
1409
|
+
const Error$1 = styled.styled.div.withConfig({
|
|
1410
1410
|
componentId: "sc-1sddmxu-1"
|
|
1411
1411
|
})(["", ";"], ({
|
|
1412
1412
|
theme: theme2
|
|
@@ -1414,10 +1414,10 @@ var __publicField = (obj, key, value) => {
|
|
|
1414
1414
|
font: ${theme2.click.field.typography.label.error};
|
|
1415
1415
|
color: ${theme2.click.field.color.label.error};
|
|
1416
1416
|
`);
|
|
1417
|
-
const EmptyButton$1 =
|
|
1417
|
+
const EmptyButton$1 = styled.styled.button.withConfig({
|
|
1418
1418
|
componentId: "sc-1sddmxu-2"
|
|
1419
1419
|
})(["background:transparent;border:none;cursor:pointer;outline:none;padding:0;border:0;color:inherit;font:inherit;&:disabled{cursor:not-allowed;}"]);
|
|
1420
|
-
const CrossButton =
|
|
1420
|
+
const CrossButton = styled.styled(EmptyButton$1).withConfig({
|
|
1421
1421
|
componentId: "sc-1sddmxu-3"
|
|
1422
1422
|
})(["padding:", " ", ";background:", ";border-radius:", ";&:hover{background:", ";}"], ({
|
|
1423
1423
|
theme: theme2
|
|
@@ -1430,10 +1430,10 @@ var __publicField = (obj, key, value) => {
|
|
|
1430
1430
|
}) => theme2.click.button.iconButton.radii.all, ({
|
|
1431
1431
|
theme: theme2
|
|
1432
1432
|
}) => theme2.click.button.iconButton.color.primary.background.hover);
|
|
1433
|
-
|
|
1433
|
+
styled.styled.div.withConfig({
|
|
1434
1434
|
componentId: "sc-1sddmxu-4"
|
|
1435
1435
|
})(["display:grid;place-items:center;width:100%;height:100%;"]);
|
|
1436
|
-
const BaseButton =
|
|
1436
|
+
const BaseButton = styled.styled.button.withConfig({
|
|
1437
1437
|
componentId: "sc-1sddmxu-5"
|
|
1438
1438
|
})(["display:flex;flex-direction:row;justify-content:center;align-items:center;cursor:pointer;", ""], ({
|
|
1439
1439
|
theme: theme2
|
|
@@ -1459,7 +1459,7 @@ var __publicField = (obj, key, value) => {
|
|
|
1459
1459
|
cursor: not-allowed;
|
|
1460
1460
|
}
|
|
1461
1461
|
`);
|
|
1462
|
-
const SvgImageElement =
|
|
1462
|
+
const SvgImageElement = styled.styled.svg.withConfig({
|
|
1463
1463
|
componentId: "sc-1sddmxu-6"
|
|
1464
1464
|
})(["display:flex;align-items:center;", ""], ({
|
|
1465
1465
|
theme: theme2,
|
|
@@ -1470,12 +1470,12 @@ var __publicField = (obj, key, value) => {
|
|
|
1470
1470
|
height: ${theme2.click.image[$size].size.height};
|
|
1471
1471
|
` : ""}
|
|
1472
1472
|
`);
|
|
1473
|
-
const FormElementContainer =
|
|
1473
|
+
const FormElementContainer = styled.styled.div.withConfig({
|
|
1474
1474
|
componentId: "sc-1sddmxu-7"
|
|
1475
1475
|
})(["display:flex;flex-direction:column;align-items:flex-start;width:100%;width:-webkit-fill-available;width:fill-available;width:stretch;gap:", ";"], ({
|
|
1476
1476
|
theme: theme2
|
|
1477
1477
|
}) => theme2.click.field.space.gap);
|
|
1478
|
-
|
|
1478
|
+
styled.styled.span.withConfig({
|
|
1479
1479
|
componentId: "sc-1sddmxu-8"
|
|
1480
1480
|
})(["display:flex;white-space:nowrap;overflow:hidden;justify-content:flex-end;gap:inherit;& > *:not(button){overflow:hidden;text-overflow:ellipsis;}"]);
|
|
1481
1481
|
const Switzerland = (props) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: "30", height: "20", viewBox: "0 0 30 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: [
|
|
@@ -2234,7 +2234,7 @@ var __publicField = (obj, key, value) => {
|
|
|
2234
2234
|
}) => {
|
|
2235
2235
|
const {
|
|
2236
2236
|
name: themeName
|
|
2237
|
-
} =
|
|
2237
|
+
} = styled.useTheme();
|
|
2238
2238
|
const Component = ["light", "classic"].includes(theme2 ?? themeName) ? LogosLight[name2] : LogosDark[name2];
|
|
2239
2239
|
if (!Component) {
|
|
2240
2240
|
return null;
|
|
@@ -2313,7 +2313,7 @@ var __publicField = (obj, key, value) => {
|
|
|
2313
2313
|
}
|
|
2314
2314
|
return /* @__PURE__ */ jsxRuntime.jsx(SvgWrapper, { $color: color, $width: width, $height: height, $size: size2, className, state, children: /* @__PURE__ */ jsxRuntime.jsx(Component, { ...props }) });
|
|
2315
2315
|
};
|
|
2316
|
-
const SvgWrapper =
|
|
2316
|
+
const SvgWrapper = styled.styled.div.withConfig({
|
|
2317
2317
|
componentId: "sc-29ieut-0"
|
|
2318
2318
|
})(["display:flex;align-items:center;", " ", ""], ({
|
|
2319
2319
|
theme: theme2,
|
|
@@ -2373,7 +2373,7 @@ var __publicField = (obj, key, value) => {
|
|
|
2373
2373
|
return /* @__PURE__ */ jsxRuntime.jsx(Button$2, { ...props, $styleType: type, $size: size2, ref, role: "button", "aria-label": iconName, children: /* @__PURE__ */ jsxRuntime.jsx(SvgImage, { name: icon, size: "sm" }) });
|
|
2374
2374
|
});
|
|
2375
2375
|
IconButton$1.displayName = "IconButton";
|
|
2376
|
-
const Button$2 =
|
|
2376
|
+
const Button$2 = styled.styled.button.withConfig({
|
|
2377
2377
|
componentId: "sc-4ff7ue-0"
|
|
2378
2378
|
})(["", ""], ({
|
|
2379
2379
|
theme: theme2,
|
|
@@ -2411,7 +2411,7 @@ var __publicField = (obj, key, value) => {
|
|
|
2411
2411
|
cursor: not-allowed;
|
|
2412
2412
|
}
|
|
2413
2413
|
`);
|
|
2414
|
-
const FormFieldLabel$1 =
|
|
2414
|
+
const FormFieldLabel$1 = styled.styled.label.withConfig({
|
|
2415
2415
|
componentId: "sc-1gg29zb-0"
|
|
2416
2416
|
})(["", ""], ({
|
|
2417
2417
|
theme: theme2,
|
|
@@ -2443,7 +2443,7 @@ var __publicField = (obj, key, value) => {
|
|
|
2443
2443
|
children,
|
|
2444
2444
|
...props
|
|
2445
2445
|
}) => /* @__PURE__ */ jsxRuntime.jsx(FormFieldLabel$1, { disabled, $error: error2, ...props, children });
|
|
2446
|
-
const FormFieldLabel =
|
|
2446
|
+
const FormFieldLabel = styled.styled.label.withConfig({
|
|
2447
2447
|
componentId: "sc-e2xmgs-0"
|
|
2448
2448
|
})(["", ""], ({
|
|
2449
2449
|
theme: theme2,
|
|
@@ -7553,7 +7553,7 @@ var __publicField = (obj, key, value) => {
|
|
|
7553
7553
|
const $d08ef79370b62062$export$d7a01e11500dfb6f = $d08ef79370b62062$export$2f307d81a64f5442;
|
|
7554
7554
|
const $d08ef79370b62062$export$2ea8a7a591ac5eac = $d08ef79370b62062$export$21dcb7ec56f874cf;
|
|
7555
7555
|
const $d08ef79370b62062$export$6d4de93b380beddf = $d08ef79370b62062$export$f34ec8bc2482cc5f;
|
|
7556
|
-
const GenericMenuPanel =
|
|
7556
|
+
const GenericMenuPanel = styled.styled.div.withConfig({
|
|
7557
7557
|
componentId: "sc-1fv0ktx-0"
|
|
7558
7558
|
})(["outline:none;max-width:var(--radix-", "-content-available-width);max-height:var(--radix-", "-content-available-height);overflow:hidden;display:flex;align-items:flex-start;pointer-events:auto;", ";", ";"], ({
|
|
7559
7559
|
$type
|
|
@@ -7583,7 +7583,7 @@ var __publicField = (obj, key, value) => {
|
|
|
7583
7583
|
margin-left: -1px;
|
|
7584
7584
|
}
|
|
7585
7585
|
` : "");
|
|
7586
|
-
const GenericPopoverMenuPanel =
|
|
7586
|
+
const GenericPopoverMenuPanel = styled.styled.div.withConfig({
|
|
7587
7587
|
componentId: "sc-1fv0ktx-1"
|
|
7588
7588
|
})(["outline:none;max-width:var(--radix-", "-content-available-width);max-height:var(--radix-", "-content-available-height);overflow:hidden;display:flex;flex-direction:column;align-items:flex-start;z-index:1;", " ", ";"], ({
|
|
7589
7589
|
$type
|
|
@@ -7600,7 +7600,7 @@ var __publicField = (obj, key, value) => {
|
|
|
7600
7600
|
`, ({
|
|
7601
7601
|
$showArrow
|
|
7602
7602
|
}) => $showArrow ? "margin: -1px 0;" : "");
|
|
7603
|
-
const Arrow$1 =
|
|
7603
|
+
const Arrow$1 = styled.styled.svg.withConfig({
|
|
7604
7604
|
componentId: "sc-1fv0ktx-2"
|
|
7605
7605
|
})(["filter:drop-shadow(rgba(0,0,0,0.1) 0px 4px 6px);", ";"], ({
|
|
7606
7606
|
theme: theme2
|
|
@@ -7608,7 +7608,7 @@ var __publicField = (obj, key, value) => {
|
|
|
7608
7608
|
fill: ${theme2.click.genericMenu.panel.color.background.default};
|
|
7609
7609
|
stroke: ${theme2.click.genericMenu.panel.color.stroke.default};
|
|
7610
7610
|
`);
|
|
7611
|
-
const GenericMenuItem =
|
|
7611
|
+
const GenericMenuItem = styled.styled.div.withConfig({
|
|
7612
7612
|
componentId: "sc-1fv0ktx-3"
|
|
7613
7613
|
})(["display:flex;width:100%;width:-webkit-fill-available;width:fill-available;width:stretch;align-items:center;justify-content:flex-start;cursor:default;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;outline:none;&[aria-selected]{outline:none;}", ';position:relative;&:hover .dropdown-arrow,&[data-state="open"] .dropdown-arrow{left:0.5rem;}&[hidden]{display:none;}'], ({
|
|
7614
7614
|
theme: theme2
|
|
@@ -7654,7 +7654,7 @@ var __publicField = (obj, key, value) => {
|
|
|
7654
7654
|
}
|
|
7655
7655
|
});
|
|
7656
7656
|
};
|
|
7657
|
-
const EllipsisContainer$1 =
|
|
7657
|
+
const EllipsisContainer$1 = styled.styled.div.withConfig({
|
|
7658
7658
|
componentId: "sc-1ibz5fp-0"
|
|
7659
7659
|
})(["display:inline-block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;justify-content:flex-start;width:100%;width:-webkit-fill-available;width:fill-available;width:stretch;& > *:not(button){overflow:hidden;text-overflow:ellipsis;}"]);
|
|
7660
7660
|
const _EllipsisContent = ({
|
|
@@ -7668,7 +7668,7 @@ var __publicField = (obj, key, value) => {
|
|
|
7668
7668
|
}]), ...props });
|
|
7669
7669
|
};
|
|
7670
7670
|
const EllipsisContent = React.forwardRef(_EllipsisContent);
|
|
7671
|
-
const LabelContainer$1 =
|
|
7671
|
+
const LabelContainer$1 = styled.styled.div.withConfig({
|
|
7672
7672
|
componentId: "sc-1likhxd-0"
|
|
7673
7673
|
})(["display:grid;grid-template-columns:", ";align-items:center;justify-content:flex-start;width:100%;width:-webkit-fill-available;width:fill-available;width:stretch;gap:", ";"], ({
|
|
7674
7674
|
$hasIcon,
|
|
@@ -7692,7 +7692,7 @@ var __publicField = (obj, key, value) => {
|
|
|
7692
7692
|
] });
|
|
7693
7693
|
};
|
|
7694
7694
|
const Dropdown = (props) => /* @__PURE__ */ jsxRuntime.jsx($d08ef79370b62062$export$be92b6f5f03c0fe9, { ...props });
|
|
7695
|
-
const DropdownMenuItem =
|
|
7695
|
+
const DropdownMenuItem = styled.styled(GenericMenuItem).withConfig({
|
|
7696
7696
|
componentId: "sc-18bhwbw-0"
|
|
7697
7697
|
})(['position:relative;display:flex;&[data-state="open"]{', "}"], ({
|
|
7698
7698
|
theme: theme2
|
|
@@ -7702,7 +7702,7 @@ var __publicField = (obj, key, value) => {
|
|
|
7702
7702
|
color: ${theme2.click.genericMenu.item.color.text.hover};
|
|
7703
7703
|
cursor: pointer;
|
|
7704
7704
|
`);
|
|
7705
|
-
const Trigger$5 =
|
|
7705
|
+
const Trigger$5 = styled.styled($d08ef79370b62062$export$41fb9f06171c75f4).withConfig({
|
|
7706
7706
|
componentId: "sc-18bhwbw-1"
|
|
7707
7707
|
})(["cursor:pointer;width:fit-content;&[disabled]{cursor:not-allowed;}"]);
|
|
7708
7708
|
const DropdownTrigger = ({
|
|
@@ -7725,7 +7725,7 @@ var __publicField = (obj, key, value) => {
|
|
|
7725
7725
|
};
|
|
7726
7726
|
DropdownTrigger.displayName = "DropdownTrigger";
|
|
7727
7727
|
Dropdown.Trigger = DropdownTrigger;
|
|
7728
|
-
const DropdownMenuContent =
|
|
7728
|
+
const DropdownMenuContent = styled.styled(GenericMenuPanel).withConfig({
|
|
7729
7729
|
componentId: "sc-18bhwbw-2"
|
|
7730
7730
|
})(["min-width:", ";flex-direction:column;z-index:1;"], ({
|
|
7731
7731
|
theme: theme2
|
|
@@ -7744,7 +7744,7 @@ var __publicField = (obj, key, value) => {
|
|
|
7744
7744
|
};
|
|
7745
7745
|
DropdownContent$1.displayName = "DropdownContent";
|
|
7746
7746
|
Dropdown.Content = DropdownContent$1;
|
|
7747
|
-
const DropdownMenuGroup =
|
|
7747
|
+
const DropdownMenuGroup = styled.styled($d08ef79370b62062$export$eb2fcfdbd7ba97d4).withConfig({
|
|
7748
7748
|
componentId: "sc-18bhwbw-3"
|
|
7749
7749
|
})(["width:100%;border-bottom:1px solid ", ";"], ({
|
|
7750
7750
|
theme: theme2
|
|
@@ -7754,7 +7754,7 @@ var __publicField = (obj, key, value) => {
|
|
|
7754
7754
|
};
|
|
7755
7755
|
DropdownGroup.displayName = "DropdownGroup";
|
|
7756
7756
|
Dropdown.Group = DropdownGroup;
|
|
7757
|
-
const DropdownMenuSub =
|
|
7757
|
+
const DropdownMenuSub = styled.styled($d08ef79370b62062$export$d7a01e11500dfb6f).withConfig({
|
|
7758
7758
|
componentId: "sc-18bhwbw-4"
|
|
7759
7759
|
})(["border-bottom:1px solid ", ";"], ({
|
|
7760
7760
|
theme: theme2
|
|
@@ -8194,12 +8194,12 @@ var __publicField = (obj, key, value) => {
|
|
|
8194
8194
|
children
|
|
8195
8195
|
] })
|
|
8196
8196
|
] }) });
|
|
8197
|
-
const AccordionRoot$1 =
|
|
8197
|
+
const AccordionRoot$1 = styled.styled($1bf158f521e1b1b4$export$be92b6f5f03c0fe9).withConfig({
|
|
8198
8198
|
componentId: "sc-1ysh219-0"
|
|
8199
8199
|
})(["", ";"], ({
|
|
8200
8200
|
$fillWidth
|
|
8201
8201
|
}) => $fillWidth && "width: 100%");
|
|
8202
|
-
const AccordionTrigger$1 =
|
|
8202
|
+
const AccordionTrigger$1 = styled.styled($1bf158f521e1b1b4$export$41fb9f06171c75f4).withConfig({
|
|
8203
8203
|
componentId: "sc-1ysh219-1"
|
|
8204
8204
|
})(["border:none;padding:0;background-color:transparent;display:flex;align-items:center;", " ", ";"], ({
|
|
8205
8205
|
theme: theme2,
|
|
@@ -8223,21 +8223,21 @@ var __publicField = (obj, key, value) => {
|
|
|
8223
8223
|
`, ({
|
|
8224
8224
|
$fillWidth
|
|
8225
8225
|
}) => $fillWidth && "width: 100%");
|
|
8226
|
-
const AccordionIconWrapper$1 =
|
|
8226
|
+
const AccordionIconWrapper$1 = styled.styled.div.withConfig({
|
|
8227
8227
|
componentId: "sc-1ysh219-2"
|
|
8228
8228
|
})(["display:flex;align-items:center;justify-content:center;transition:transform 200ms cubic-bezier(0.87,0,0.13,1);", "[data-state='open'] &{transform:rotate(90deg);}"], AccordionTrigger$1);
|
|
8229
|
-
const AccordionIconsWrapper$1 =
|
|
8229
|
+
const AccordionIconsWrapper$1 = styled.styled.div.withConfig({
|
|
8230
8230
|
componentId: "sc-1ysh219-3"
|
|
8231
8231
|
})(["display:flex;align-items:center;justify-content:center;"]);
|
|
8232
|
-
const AccordionContent$1 =
|
|
8232
|
+
const AccordionContent$1 = styled.styled($1bf158f521e1b1b4$export$7c6e2c02157bb7d2).withConfig({
|
|
8233
8233
|
componentId: "sc-1ysh219-4"
|
|
8234
8234
|
})([""]);
|
|
8235
|
-
|
|
8235
|
+
styled.styled(Accordion).withConfig({
|
|
8236
8236
|
componentId: "sc-1ysh219-5"
|
|
8237
8237
|
})(["", "{gap:", ";}p{margin:0;}", "{visibility:hidden;}&:hover ", "{visibility:revert;}&:active ", "{visibility:revert;}", "[data-state='open'] ", "{visibility:revert;}"], AccordionTrigger$1, ({
|
|
8238
8238
|
theme: theme2
|
|
8239
8239
|
}) => theme2.click.sidebar.navigation.item.default.space.gap, AccordionIconWrapper$1, AccordionIconWrapper$1, AccordionIconWrapper$1, AccordionTrigger$1, AccordionIconWrapper$1);
|
|
8240
|
-
const AccordionToExport =
|
|
8240
|
+
const AccordionToExport = styled.styled(Accordion).withConfig({
|
|
8241
8241
|
componentId: "sc-1ysh219-6"
|
|
8242
8242
|
})([""]);
|
|
8243
8243
|
const stateIconMap = {
|
|
@@ -8269,7 +8269,7 @@ var __publicField = (obj, key, value) => {
|
|
|
8269
8269
|
dismissible && /* @__PURE__ */ jsxRuntime.jsx(DismissWrapper$1, { "data-testid": "click-alert-dismiss-button", onClick: () => setIsVisible(false), children: /* @__PURE__ */ jsxRuntime.jsx(SvgImage, { name: "cross", "aria-label": "close" }) })
|
|
8270
8270
|
] }) : null;
|
|
8271
8271
|
};
|
|
8272
|
-
const Wrapper$d =
|
|
8272
|
+
const Wrapper$d = styled.styled.div.withConfig({
|
|
8273
8273
|
componentId: "sc-1wvczk0-0"
|
|
8274
8274
|
})(["display:flex;border-radius:", ";justify-content:", ";overflow:hidden;background-color:", ";color:", ";width:100%;"], ({
|
|
8275
8275
|
$type,
|
|
@@ -8283,7 +8283,7 @@ var __publicField = (obj, key, value) => {
|
|
|
8283
8283
|
$state = "neutral",
|
|
8284
8284
|
theme: theme2
|
|
8285
8285
|
}) => theme2.click.alert.color.text[$state]);
|
|
8286
|
-
const IconWrapper$2 =
|
|
8286
|
+
const IconWrapper$2 = styled.styled.div.withConfig({
|
|
8287
8287
|
componentId: "sc-1wvczk0-1"
|
|
8288
8288
|
})(["display:flex;align-items:center;background-color:", ";", ""], ({
|
|
8289
8289
|
$state = "neutral",
|
|
@@ -8297,7 +8297,7 @@ var __publicField = (obj, key, value) => {
|
|
|
8297
8297
|
color: ${theme2.click.alert.color.iconForeground[$state]};
|
|
8298
8298
|
padding: ${theme2.click.alert[$size].space.y} ${theme2.click.alert[$size].space.x};
|
|
8299
8299
|
`);
|
|
8300
|
-
const StyledIcon =
|
|
8300
|
+
const StyledIcon = styled.styled(SvgImage).withConfig({
|
|
8301
8301
|
componentId: "sc-1wvczk0-2"
|
|
8302
8302
|
})(["", ""], ({
|
|
8303
8303
|
$size,
|
|
@@ -8306,7 +8306,7 @@ var __publicField = (obj, key, value) => {
|
|
|
8306
8306
|
height: ${theme2.click.alert[$size].icon.height};
|
|
8307
8307
|
width: ${theme2.click.alert[$size].icon.width};
|
|
8308
8308
|
`);
|
|
8309
|
-
const TextWrapper =
|
|
8309
|
+
const TextWrapper = styled.styled.div.withConfig({
|
|
8310
8310
|
componentId: "sc-1wvczk0-3"
|
|
8311
8311
|
})(["display:flex;flex-flow:column;word-break:break-word;", ""], ({
|
|
8312
8312
|
$size,
|
|
@@ -8320,19 +8320,19 @@ var __publicField = (obj, key, value) => {
|
|
|
8320
8320
|
text-decoration: underline;
|
|
8321
8321
|
}
|
|
8322
8322
|
`);
|
|
8323
|
-
const Title$4 =
|
|
8323
|
+
const Title$4 = styled.styled.h6.withConfig({
|
|
8324
8324
|
componentId: "sc-1wvczk0-4"
|
|
8325
8325
|
})(["margin:0;font:", ";"], ({
|
|
8326
8326
|
theme: theme2,
|
|
8327
8327
|
$size
|
|
8328
8328
|
}) => theme2.click.alert[$size].typography.title.default);
|
|
8329
|
-
const Text$1 =
|
|
8329
|
+
const Text$1 = styled.styled.div.withConfig({
|
|
8330
8330
|
componentId: "sc-1wvczk0-5"
|
|
8331
8331
|
})(["margin:0;font:", ";"], ({
|
|
8332
8332
|
theme: theme2,
|
|
8333
8333
|
$size
|
|
8334
8334
|
}) => theme2.click.alert[$size].typography.text.default);
|
|
8335
|
-
const DismissWrapper$1 =
|
|
8335
|
+
const DismissWrapper$1 = styled.styled.button.withConfig({
|
|
8336
8336
|
componentId: "sc-1wvczk0-6"
|
|
8337
8337
|
})(["display:flex;align-items:center;margin-left:auto;border:none;background-color:transparent;color:inherit;cursor:pointer;"]);
|
|
8338
8338
|
const DangerAlert = (props) => /* @__PURE__ */ jsxRuntime.jsx(Alert, { ...props, state: "danger" });
|
|
@@ -8644,7 +8644,7 @@ var __publicField = (obj, key, value) => {
|
|
|
8644
8644
|
return /* @__PURE__ */ jsxRuntime.jsx(Item, { ...props }, `autocomplete-${id}-item-${index2}`);
|
|
8645
8645
|
}
|
|
8646
8646
|
});
|
|
8647
|
-
const SelectPopoverRoot$1 =
|
|
8647
|
+
const SelectPopoverRoot$1 = styled.styled($cb5cc270b50c6fcd$export$be92b6f5f03c0fe9).withConfig({
|
|
8648
8648
|
componentId: "sc-87wbnc-0"
|
|
8649
8649
|
})(["width:100%;", " overflow:hidden;display:flex;padding:0.5rem 0rem;align-items:flex-start;gap:0.625rem;"], ({
|
|
8650
8650
|
theme: theme2
|
|
@@ -8655,10 +8655,10 @@ var __publicField = (obj, key, value) => {
|
|
|
8655
8655
|
0px 1px 2px 0px rgba(16, 24, 40, 0.06);
|
|
8656
8656
|
border-radius: 0.25rem;
|
|
8657
8657
|
`);
|
|
8658
|
-
const PopoverContent$1 =
|
|
8658
|
+
const PopoverContent$1 = styled.styled($cb5cc270b50c6fcd$export$7c6e2c02157bb7d2).withConfig({
|
|
8659
8659
|
componentId: "sc-87wbnc-1"
|
|
8660
8660
|
})(["width:var(--radix-popover-trigger-width);display:flex;flex-direction:column;align-items:flex-start;gap:5px;"]);
|
|
8661
|
-
const SelectGroupContainer$1 =
|
|
8661
|
+
const SelectGroupContainer$1 = styled.styled.div.withConfig({
|
|
8662
8662
|
componentId: "sc-87wbnc-2"
|
|
8663
8663
|
})(["display:flex;flex-direction:column;align-items:flex-start;justify-content:center;width:-webkit-fill-available;width:fill-available;width:stretch;overflow:hidden;background:transparent;&[aria-selected]{outline:none;}", ";&[hidden]{display:none;}"], ({
|
|
8664
8664
|
theme: theme2
|
|
@@ -8666,7 +8666,7 @@ var __publicField = (obj, key, value) => {
|
|
|
8666
8666
|
font: ${theme2.click.genericMenu.item.typography.sectionHeader.default};
|
|
8667
8667
|
color: ${theme2.click.genericMenu.item.color.text.muted};
|
|
8668
8668
|
`);
|
|
8669
|
-
const SelectGroupName$1 =
|
|
8669
|
+
const SelectGroupName$1 = styled.styled.div.withConfig({
|
|
8670
8670
|
componentId: "sc-87wbnc-3"
|
|
8671
8671
|
})(["display:flex;width:100%;flex-direction:column;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;", ""], ({
|
|
8672
8672
|
theme: theme2
|
|
@@ -8677,10 +8677,10 @@ var __publicField = (obj, key, value) => {
|
|
|
8677
8677
|
gap: ${theme2.click.genericMenu.item.space.gap};
|
|
8678
8678
|
border-bottom: 1px solid ${theme2.click.genericMenu.item.color.stroke.default};
|
|
8679
8679
|
`);
|
|
8680
|
-
const SelectGroupContent$1 =
|
|
8680
|
+
const SelectGroupContent$1 = styled.styled.div.withConfig({
|
|
8681
8681
|
componentId: "sc-87wbnc-4"
|
|
8682
8682
|
})(["width:inherit;"]);
|
|
8683
|
-
const SelectListContent$1 =
|
|
8683
|
+
const SelectListContent$1 = styled.styled.div.withConfig({
|
|
8684
8684
|
componentId: "sc-87wbnc-5"
|
|
8685
8685
|
})(["width:inherit;overflow:overlay;flex:1;"]);
|
|
8686
8686
|
const childrenToComboboxItemArray$1 = (children, callback, heading) => {
|
|
@@ -8714,7 +8714,7 @@ var __publicField = (obj, key, value) => {
|
|
|
8714
8714
|
return [];
|
|
8715
8715
|
});
|
|
8716
8716
|
};
|
|
8717
|
-
const SelectNoDataContainer$1 =
|
|
8717
|
+
const SelectNoDataContainer$1 = styled.styled.div.withConfig({
|
|
8718
8718
|
componentId: "sc-87wbnc-6"
|
|
8719
8719
|
})(['border:none;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:left;cursor:default;&[hidden="true"]{display:none;}', ""], ({
|
|
8720
8720
|
theme: theme2
|
|
@@ -8724,7 +8724,7 @@ var __publicField = (obj, key, value) => {
|
|
|
8724
8724
|
background: ${theme2.click.genericMenu.button.color.background.default};
|
|
8725
8725
|
color: ${theme2.click.genericMenu.button.color.label.default};
|
|
8726
8726
|
`);
|
|
8727
|
-
const SelectList$1 =
|
|
8727
|
+
const SelectList$1 = styled.styled.div.withConfig({
|
|
8728
8728
|
componentId: "sc-87wbnc-7"
|
|
8729
8729
|
})(["display:flex;flex-direction:column;width:inherit;max-height:var(--radix-popover-content-available-height);", ""], ({
|
|
8730
8730
|
theme: theme2
|
|
@@ -8959,7 +8959,7 @@ var __publicField = (obj, key, value) => {
|
|
|
8959
8959
|
] });
|
|
8960
8960
|
});
|
|
8961
8961
|
Group.displayName = "AutoComplete.Group";
|
|
8962
|
-
const CheckIcon$2 =
|
|
8962
|
+
const CheckIcon$2 = styled.styled.svg.withConfig({
|
|
8963
8963
|
componentId: "sc-87wbnc-8"
|
|
8964
8964
|
})(["opacity:", ";"], ({
|
|
8965
8965
|
$showCheck
|
|
@@ -9008,7 +9008,7 @@ var __publicField = (obj, key, value) => {
|
|
|
9008
9008
|
/* @__PURE__ */ jsxRuntime.jsx(IconWrapper$3, { icon, iconDir, children: label ?? children }),
|
|
9009
9009
|
/* @__PURE__ */ jsxRuntime.jsx(CheckIcon$2, { as: SvgImage, name: "check", size: "sm", $showCheck: isChecked })
|
|
9010
9010
|
] }),
|
|
9011
|
-
separator && /* @__PURE__ */ jsxRuntime.jsx(Separator
|
|
9011
|
+
separator && /* @__PURE__ */ jsxRuntime.jsx(Separator, { size: "sm" })
|
|
9012
9012
|
] });
|
|
9013
9013
|
});
|
|
9014
9014
|
Item.displayName = "AutoComplete.Item";
|
|
@@ -9109,13 +9109,13 @@ var __publicField = (obj, key, value) => {
|
|
|
9109
9109
|
/* @__PURE__ */ jsxRuntime.jsx(AvatarImage, { src, srcSet, alt: text2 }),
|
|
9110
9110
|
/* @__PURE__ */ jsxRuntime.jsx(StyledFallback, { $textSize: textSize, delayMs: 0, children: text2.trim().replace(/(^.)([^ ]* )?(.).*/, "$1$3").trim().toUpperCase() })
|
|
9111
9111
|
] });
|
|
9112
|
-
const StyledRoot =
|
|
9112
|
+
const StyledRoot = styled.styled($cddcb0b647441e34$export$be92b6f5f03c0fe9).withConfig({
|
|
9113
9113
|
componentId: "sc-181etfq-0"
|
|
9114
9114
|
})(["width:", ";height:", ";display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;overflow:hidden;user-select:none;background-color:", ";color:", ";border-radius:", ";&:active{background-color:", ";color:", ";}&:hover{background-color:", ";color:", ";}"], (props) => props.theme.click.avatar.size.width, (props) => props.theme.click.avatar.size.height, (props) => props.theme.click.avatar.color.background.default, (props) => props.theme.click.avatar.color.text.default, (props) => props.theme.click.avatar.radii.all, (props) => props.theme.click.avatar.color.background.active, (props) => props.theme.click.avatar.color.text.active, (props) => props.theme.click.avatar.color.background.hover, (props) => props.theme.click.avatar.color.text.hover);
|
|
9115
|
-
const AvatarImage =
|
|
9115
|
+
const AvatarImage = styled.styled($cddcb0b647441e34$export$3e431a229df88919).withConfig({
|
|
9116
9116
|
componentId: "sc-181etfq-1"
|
|
9117
9117
|
})(["width:100%;height:100%;object-fit:cover;border-radius:inherit;"]);
|
|
9118
|
-
const StyledFallback =
|
|
9118
|
+
const StyledFallback = styled.styled($cddcb0b647441e34$export$fb8d7f40caaeea67).withConfig({
|
|
9119
9119
|
componentId: "sc-181etfq-2"
|
|
9120
9120
|
})(["width:", ";display:inline-flex;align-items:center;justify-content:center;", ""], (props) => props.theme.click.avatar.size.label.width, ({
|
|
9121
9121
|
theme: theme2,
|
|
@@ -9131,7 +9131,7 @@ var __publicField = (obj, key, value) => {
|
|
|
9131
9131
|
font: ${theme2.click.avatar.typography.label[$textSize].hover};
|
|
9132
9132
|
}
|
|
9133
9133
|
`);
|
|
9134
|
-
const Wrapper$c =
|
|
9134
|
+
const Wrapper$c = styled.styled.div.withConfig({
|
|
9135
9135
|
componentId: "sc-471xo0-0"
|
|
9136
9136
|
})(["display:inline-flex;", ""], ({
|
|
9137
9137
|
$state = "default",
|
|
@@ -9145,13 +9145,13 @@ var __publicField = (obj, key, value) => {
|
|
|
9145
9145
|
border: ${theme2.click.badge.stroke} solid ${theme2.click.badge.color.stroke[$state]};
|
|
9146
9146
|
padding: ${theme2.click.badge.space[$size].y} ${theme2.click.badge.space[$size].x};
|
|
9147
9147
|
`);
|
|
9148
|
-
const Content$4 =
|
|
9148
|
+
const Content$4 = styled.styled.div.withConfig({
|
|
9149
9149
|
componentId: "sc-471xo0-1"
|
|
9150
9150
|
})(["display:inline-flex;align-items:center;gap:", ";max-width:100%;justify-content:flex-start;"], ({
|
|
9151
9151
|
$size = "md",
|
|
9152
9152
|
theme: theme2
|
|
9153
9153
|
}) => theme2.click.badge.space[$size].gap);
|
|
9154
|
-
const SvgContainer =
|
|
9154
|
+
const SvgContainer = styled.styled.svg.withConfig({
|
|
9155
9155
|
componentId: "sc-471xo0-2"
|
|
9156
9156
|
})(["", ""], ({
|
|
9157
9157
|
$state = "default",
|
|
@@ -9162,7 +9162,7 @@ var __publicField = (obj, key, value) => {
|
|
|
9162
9162
|
height: ${theme2.click.badge.icon[$size].size.height};
|
|
9163
9163
|
width: ${theme2.click.badge.icon[$size].size.width};
|
|
9164
9164
|
`);
|
|
9165
|
-
const BadgeContent =
|
|
9165
|
+
const BadgeContent = styled.styled.div.withConfig({
|
|
9166
9166
|
componentId: "sc-471xo0-3"
|
|
9167
9167
|
})(["width:auto;overflow:hidden;svg{", "}"], ({
|
|
9168
9168
|
$state = "default",
|
|
@@ -9202,7 +9202,7 @@ var __publicField = (obj, key, value) => {
|
|
|
9202
9202
|
/* @__PURE__ */ jsxRuntime.jsx(Label, { $state: state, $size: size2, children: label }),
|
|
9203
9203
|
/* @__PURE__ */ jsxRuntime.jsx(Title$3, { $state: state, $size: size2, children: title })
|
|
9204
9204
|
] });
|
|
9205
|
-
const Wrapper$b =
|
|
9205
|
+
const Wrapper$b = styled.styled.div.withConfig({
|
|
9206
9206
|
componentId: "sc-u5029o-0"
|
|
9207
9207
|
})(["display:flex;justify-content:center;box-sizing:border-box;", ""], ({
|
|
9208
9208
|
$fillWidth = false,
|
|
@@ -9226,7 +9226,7 @@ var __publicField = (obj, key, value) => {
|
|
|
9226
9226
|
width: ${$fillWidth === true ? "100%" : "auto"};
|
|
9227
9227
|
max-width: ${$maxWidth ? $maxWidth : "none"};
|
|
9228
9228
|
`);
|
|
9229
|
-
const Label =
|
|
9229
|
+
const Label = styled.styled.div.withConfig({
|
|
9230
9230
|
componentId: "sc-u5029o-1"
|
|
9231
9231
|
})(["", ""], ({
|
|
9232
9232
|
$state = "default",
|
|
@@ -9236,7 +9236,7 @@ var __publicField = (obj, key, value) => {
|
|
|
9236
9236
|
color: ${theme2.click.bigStat.color.label[$state]};
|
|
9237
9237
|
font: ${theme2.click.bigStat.typography[$size].label[$state]};
|
|
9238
9238
|
`);
|
|
9239
|
-
const Title$3 =
|
|
9239
|
+
const Title$3 = styled.styled.div.withConfig({
|
|
9240
9240
|
componentId: "sc-u5029o-2"
|
|
9241
9241
|
})(["", ""], ({
|
|
9242
9242
|
$state = "default",
|
|
@@ -9265,7 +9265,7 @@ var __publicField = (obj, key, value) => {
|
|
|
9265
9265
|
});
|
|
9266
9266
|
return /* @__PURE__ */ jsxRuntime.jsx(ButtonGroupWrapper, { $fillWidth: fillWidth, $type: type, ...props, children: btns });
|
|
9267
9267
|
};
|
|
9268
|
-
const ButtonGroupWrapper =
|
|
9268
|
+
const ButtonGroupWrapper = styled.styled.div.withConfig({
|
|
9269
9269
|
componentId: "sc-ukgugp-0"
|
|
9270
9270
|
})(["box-sizing:border-box;display:inline-flex;flex-direction:row;justify-content:center;align-items:center;padding:0px;gap:", ";border:1px solid ", ";background:", ";border-radius:", ";width:", ";"], ({
|
|
9271
9271
|
theme: theme2,
|
|
@@ -9284,7 +9284,7 @@ var __publicField = (obj, key, value) => {
|
|
|
9284
9284
|
const leftBorderRadius = `${endRadii} 0px 0px ${endRadii}`;
|
|
9285
9285
|
const rightBorderRadius = `0px ${endRadii} ${endRadii} 0px`;
|
|
9286
9286
|
const centerBorderRadius = "var(--click-button-button-group-radii-center)";
|
|
9287
|
-
const Button$1 =
|
|
9287
|
+
const Button$1 = styled.styled.button.attrs((props) => ({
|
|
9288
9288
|
"aria-pressed": props.$active
|
|
9289
9289
|
})).withConfig({
|
|
9290
9290
|
componentId: "sc-ukgugp-1"
|
|
@@ -9354,10 +9354,10 @@ var __publicField = (obj, key, value) => {
|
|
|
9354
9354
|
showLabelWithLoading ? label ?? children : ""
|
|
9355
9355
|
] })
|
|
9356
9356
|
] });
|
|
9357
|
-
const LoadingIconWrapper =
|
|
9357
|
+
const LoadingIconWrapper = styled.styled.div.withConfig({
|
|
9358
9358
|
componentId: "sc-1k4tz4c-0"
|
|
9359
9359
|
})(["background-color:inherit;top:0;left:0;bottom:0;right:0;display:flex;align-content:center;justify-content:center;align-items:center;gap:0.5rem;"]);
|
|
9360
|
-
const StyledButton =
|
|
9360
|
+
const StyledButton = styled.styled(BaseButton).withConfig({
|
|
9361
9361
|
componentId: "sc-1k4tz4c-1"
|
|
9362
9362
|
})(["width:", ";color:", ";background-color:", ";border:", " solid ", ";font:", ";position:relative;display:flex;align-items:center;justify-content:", ";white-space:nowrap;&:hover{background-color:", ";border:", " solid ", ";transition:", ";font:", ";}&:active,&:focus{background-color:", ";border:1px solid ", ";font:", ";}&:disabled,&:disabled:hover,&:disabled:active{background-color:", ";color:", ";border:", " solid ", ";font:", ";}"], ({
|
|
9363
9363
|
$fillWidth
|
|
@@ -9410,7 +9410,7 @@ var __publicField = (obj, key, value) => {
|
|
|
9410
9410
|
}) => theme2.click.button.basic.color[$styleType].stroke.disabled, ({
|
|
9411
9411
|
theme: theme2
|
|
9412
9412
|
}) => theme2.click.button.basic.typography.label.disabled);
|
|
9413
|
-
const ButtonIcon =
|
|
9413
|
+
const ButtonIcon = styled.styled(SvgImage).withConfig({
|
|
9414
9414
|
componentId: "sc-1k4tz4c-2"
|
|
9415
9415
|
})(["height:", ";width:", ";svg{height:", ";width:", ";}"], ({
|
|
9416
9416
|
theme: theme2
|
|
@@ -9430,7 +9430,7 @@ var __publicField = (obj, key, value) => {
|
|
|
9430
9430
|
children,
|
|
9431
9431
|
...props
|
|
9432
9432
|
}, ref) => /* @__PURE__ */ jsxRuntime.jsx(CuiTitle, { ref, $align: align, $color: color, $size: size2, $family: family, as: type, ...props, children }));
|
|
9433
|
-
const CuiTitle =
|
|
9433
|
+
const CuiTitle = styled.styled.div.withConfig({
|
|
9434
9434
|
componentId: "sc-1bq7thb-0"
|
|
9435
9435
|
})(["font:", ";color:", ";margin:0;padding:0;font-style:inherit;text-align:", ";a,a:visited{color:", ";cursor:pointer;}a:hover{color:", ";}"], ({
|
|
9436
9436
|
$size = "md",
|
|
@@ -9458,7 +9458,7 @@ var __publicField = (obj, key, value) => {
|
|
|
9458
9458
|
fillWidth,
|
|
9459
9459
|
...props
|
|
9460
9460
|
}, ref) => /* @__PURE__ */ jsxRuntime.jsx(CuiText, { as: component ?? "p", ref, $align: align, $color: color, $size: size2, $weight: weight, $fillWidth: fillWidth, className, ...props, children });
|
|
9461
|
-
const CuiText =
|
|
9461
|
+
const CuiText = styled.styled.p.withConfig({
|
|
9462
9462
|
componentId: "sc-6r74pj-0"
|
|
9463
9463
|
})(["font:", ";color:", ";text-align:", ";margin:0;", ";"], ({
|
|
9464
9464
|
$size = "md",
|
|
@@ -9474,10 +9474,10 @@ var __publicField = (obj, key, value) => {
|
|
|
9474
9474
|
}) => $fillWidth && "width: 100%");
|
|
9475
9475
|
_Text.displayName = "Text";
|
|
9476
9476
|
const Text = React.forwardRef(_Text);
|
|
9477
|
-
const Header$4 =
|
|
9477
|
+
const Header$4 = styled.styled.div.withConfig({
|
|
9478
9478
|
componentId: "sc-1drx130-0"
|
|
9479
9479
|
})(["display:flex;justify-content:space-between;align-items:center;"]);
|
|
9480
|
-
const HeaderLeft =
|
|
9480
|
+
const HeaderLeft = styled.styled.div.withConfig({
|
|
9481
9481
|
componentId: "sc-1drx130-1"
|
|
9482
9482
|
})(["display:flex;align-items:center;gap:", ";h3,svg{color:", ";}"], ({
|
|
9483
9483
|
theme: theme2
|
|
@@ -9485,24 +9485,24 @@ var __publicField = (obj, key, value) => {
|
|
|
9485
9485
|
$disabled,
|
|
9486
9486
|
theme: theme2
|
|
9487
9487
|
}) => $disabled == true ? theme2.click.global.color.text.muted : theme2.click.global.color.text.default);
|
|
9488
|
-
const Content$3 =
|
|
9488
|
+
const Content$3 = styled.styled.div.withConfig({
|
|
9489
9489
|
componentId: "sc-1drx130-2"
|
|
9490
9490
|
})(["display:flex;flex-direction:column;flex:1;"]);
|
|
9491
|
-
const CustomIcon$1 =
|
|
9491
|
+
const CustomIcon$1 = styled.styled.img.withConfig({
|
|
9492
9492
|
componentId: "sc-1drx130-3"
|
|
9493
9493
|
})(["height:", ";width:", ";"], ({
|
|
9494
9494
|
theme: theme2
|
|
9495
9495
|
}) => theme2.click.image.lg.size.height, ({
|
|
9496
9496
|
theme: theme2
|
|
9497
9497
|
}) => theme2.click.image.lg.size.width);
|
|
9498
|
-
const InfoLink =
|
|
9498
|
+
const InfoLink = styled.styled.a.withConfig({
|
|
9499
9499
|
componentId: "sc-1drx130-4"
|
|
9500
9500
|
})(["display:flex;align-items:center;color:", ";gap:", ";text-decoration:none;"], ({
|
|
9501
9501
|
theme: theme2
|
|
9502
9502
|
}) => theme2.click.card.secondary.color.link.default, ({
|
|
9503
9503
|
theme: theme2
|
|
9504
9504
|
}) => theme2.click.card.secondary.space.link.gap);
|
|
9505
|
-
const LinkIconContainer =
|
|
9505
|
+
const LinkIconContainer = styled.styled(SvgImage).withConfig({
|
|
9506
9506
|
componentId: "sc-1drx130-5"
|
|
9507
9507
|
})(["color:", ";height:", ";width:", ";"], ({
|
|
9508
9508
|
theme: theme2
|
|
@@ -9511,13 +9511,13 @@ var __publicField = (obj, key, value) => {
|
|
|
9511
9511
|
}) => theme2.click.image.md.size.height, ({
|
|
9512
9512
|
theme: theme2
|
|
9513
9513
|
}) => theme2.click.image.md.size.width);
|
|
9514
|
-
const LinkText =
|
|
9514
|
+
const LinkText = styled.styled(Text).withConfig({
|
|
9515
9515
|
componentId: "sc-1drx130-6"
|
|
9516
9516
|
})([""]);
|
|
9517
|
-
const LinkIcon =
|
|
9517
|
+
const LinkIcon = styled.styled(LinkIconContainer).withConfig({
|
|
9518
9518
|
componentId: "sc-1drx130-7"
|
|
9519
9519
|
})([""]);
|
|
9520
|
-
const Wrapper$a =
|
|
9520
|
+
const Wrapper$a = styled.styled.div.withConfig({
|
|
9521
9521
|
componentId: "sc-1drx130-8"
|
|
9522
9522
|
})(["background-color:", ";border-radius:", ";border:", ";max-width:420px;min-width:320px;display:flex;flex-direction:column;padding:", ";gap:", ";box-shadow:", ";&:hover,:focus{background-color:", ";cursor:pointer;", ",", "{color:", ';}}&[aria-disabled="true"],&[aria-disabled="true"]:hover,&[aria-disabled="true"]:focus,&[aria-disabled="true"]:active{', "}"], ({
|
|
9523
9523
|
theme: theme2
|
|
@@ -9602,7 +9602,7 @@ var __publicField = (obj, key, value) => {
|
|
|
9602
9602
|
}, ref) => {
|
|
9603
9603
|
return /* @__PURE__ */ jsxRuntime.jsx(Wrapper$9, { ref, as: component ?? "div", $alignItems: alignItems ?? (orientation === "vertical" ? "start" : "center"), $fillWidth: fillWidth, $gapSize: gap, $grow: grow, $shrink: shrink, $isResponsive: isResponsive, $justifyContent: justifyContent, $maxWidth: maxWidth, $minWidth: minWidth, $orientation: orientation, $paddingSize: padding, $wrap: wrap, $fillHeight: fillHeight, $maxHeight: maxHeight, $minHeight: minHeight, $overflow: overflow, "data-testid": "container", ...props, children });
|
|
9604
9604
|
};
|
|
9605
|
-
const Wrapper$9 =
|
|
9605
|
+
const Wrapper$9 = styled.styled.div.withConfig({
|
|
9606
9606
|
componentId: "sc-bcplth-0"
|
|
9607
9607
|
})(["display:flex;", " ", " ", " flex-wrap:", ";gap:", ";max-width:", ";min-width:", ";padding:", ";width:", ";flex-direction:", ";align-items:", ";justify-content:", ";@media (max-width:", "){width:", ";max-width:", ";flex-direction:", ";}"], ({
|
|
9608
9608
|
$grow,
|
|
@@ -9653,10 +9653,10 @@ var __publicField = (obj, key, value) => {
|
|
|
9653
9653
|
$isResponsive = true
|
|
9654
9654
|
}) => $isResponsive === true ? "column" : "auto");
|
|
9655
9655
|
const Container = React.forwardRef(_Container);
|
|
9656
|
-
const TopBadgeWrapper =
|
|
9656
|
+
const TopBadgeWrapper = styled.styled(Container).withConfig({
|
|
9657
9657
|
componentId: "sc-1d5pqpo-0"
|
|
9658
9658
|
})(["position:relative;"]);
|
|
9659
|
-
const CardPrimaryTopBadge =
|
|
9659
|
+
const CardPrimaryTopBadge = styled.styled(Badge).withConfig({
|
|
9660
9660
|
componentId: "sc-1d5pqpo-1"
|
|
9661
9661
|
})(["position:absolute;top:0;left:50%;transform:translate(-50%,-50%);", " div:active + &{border-color:", ";}"], ({
|
|
9662
9662
|
$isSelected,
|
|
@@ -9673,7 +9673,7 @@ var __publicField = (obj, key, value) => {
|
|
|
9673
9673
|
topBadgeText && /* @__PURE__ */ jsxRuntime.jsx(CardPrimaryTopBadge, { "data-testid": "card-top-badge", text: topBadgeText, $isSelected: props.isSelected || false })
|
|
9674
9674
|
] });
|
|
9675
9675
|
};
|
|
9676
|
-
const Wrapper$8 =
|
|
9676
|
+
const Wrapper$8 = styled.styled.div.withConfig({
|
|
9677
9677
|
componentId: "sc-2dguvi-0"
|
|
9678
9678
|
})(["background-color:", ";border-radius:", ";border:", ";display:flex;width:100%;max-width:100%;text-align:", ";flex-direction:column;padding:", ";gap:", ";box-shadow:", ";&:hover,&:focus{background-color:", ";cursor:pointer;button{background-color:", ";border-color:", ";&:active{background-color:", ";border-color:", ";}}}&:active{border-color:", ';}&[aria-disabled="true"],&[aria-disabled="true"]:hover,&[aria-disabled="true"]:focus,&[aria-disabled="true"]:active{', "}", ""], ({
|
|
9679
9679
|
theme: theme2
|
|
@@ -9723,7 +9723,7 @@ var __publicField = (obj, key, value) => {
|
|
|
9723
9723
|
$isSelected,
|
|
9724
9724
|
theme: theme2
|
|
9725
9725
|
}) => $isSelected ? `border-color: ${theme2.click.button.basic.color.primary.stroke.active};` : "");
|
|
9726
|
-
const Header$3 =
|
|
9726
|
+
const Header$3 = styled.styled.div.withConfig({
|
|
9727
9727
|
componentId: "sc-2dguvi-1"
|
|
9728
9728
|
})(["display:flex;flex-direction:column;align-items:", ";gap:", ";h3{color:", ";}svg,img{height:", ";width:", ";}"], ({
|
|
9729
9729
|
$alignContent = "center"
|
|
@@ -9740,7 +9740,7 @@ var __publicField = (obj, key, value) => {
|
|
|
9740
9740
|
$size = "md",
|
|
9741
9741
|
theme: theme2
|
|
9742
9742
|
}) => theme2.click.card.primary.size.icon[$size].all);
|
|
9743
|
-
const Content$2 =
|
|
9743
|
+
const Content$2 = styled.styled.div.withConfig({
|
|
9744
9744
|
componentId: "sc-2dguvi-2"
|
|
9745
9745
|
})(["width:100%;display:flex;flex-direction:column;align-self:", ";gap:", ";flex:1;"], ({
|
|
9746
9746
|
$alignContent = "center"
|
|
@@ -9793,15 +9793,15 @@ var __publicField = (obj, key, value) => {
|
|
|
9793
9793
|
] });
|
|
9794
9794
|
};
|
|
9795
9795
|
const CardPrimary = withTopBadge(Card);
|
|
9796
|
-
const Header$2 =
|
|
9796
|
+
const Header$2 = styled.styled.div.withConfig({
|
|
9797
9797
|
componentId: "sc-1qnbjoa-0"
|
|
9798
9798
|
})(["display:flex;flex-direction:column;align-items:center;width:fit-content;max-width:100%;gap:inherit;"]);
|
|
9799
|
-
const Description =
|
|
9799
|
+
const Description = styled.styled.div.withConfig({
|
|
9800
9800
|
componentId: "sc-1qnbjoa-1"
|
|
9801
9801
|
})(["display:flex;flex-direction:column;align-self:center;gap:", ";flex:1;"], ({
|
|
9802
9802
|
theme: theme2
|
|
9803
9803
|
}) => theme2.click.card.horizontal.space.gap);
|
|
9804
|
-
const Wrapper$7 =
|
|
9804
|
+
const Wrapper$7 = styled.styled.div.withConfig({
|
|
9805
9805
|
componentId: "sc-1qnbjoa-2"
|
|
9806
9806
|
})(["display:inline-flex;width:100%;max-width:100%;align-items:center;justify-content:flex-start;", ""], ({
|
|
9807
9807
|
theme: theme2,
|
|
@@ -9859,7 +9859,7 @@ var __publicField = (obj, key, value) => {
|
|
|
9859
9859
|
}
|
|
9860
9860
|
` : ""}
|
|
9861
9861
|
`);
|
|
9862
|
-
const CardIcon$1 =
|
|
9862
|
+
const CardIcon$1 = styled.styled(SvgImage).withConfig({
|
|
9863
9863
|
componentId: "sc-1qnbjoa-3"
|
|
9864
9864
|
})(["", ""], ({
|
|
9865
9865
|
theme: theme2
|
|
@@ -9867,7 +9867,7 @@ var __publicField = (obj, key, value) => {
|
|
|
9867
9867
|
height: ${theme2.click.card.horizontal.icon.size.all};
|
|
9868
9868
|
width: ${theme2.click.card.horizontal.icon.size.all};
|
|
9869
9869
|
`);
|
|
9870
|
-
const ContentWrapper =
|
|
9870
|
+
const ContentWrapper = styled.styled.div.withConfig({
|
|
9871
9871
|
componentId: "sc-1qnbjoa-4"
|
|
9872
9872
|
})(["display:flex;flex-direction:column;"]);
|
|
9873
9873
|
const CardHorizontal = ({
|
|
@@ -9889,7 +9889,7 @@ var __publicField = (obj, key, value) => {
|
|
|
9889
9889
|
] })
|
|
9890
9890
|
] });
|
|
9891
9891
|
};
|
|
9892
|
-
const Background =
|
|
9892
|
+
const Background = styled.styled.div.withConfig({
|
|
9893
9893
|
componentId: "sc-6jamj6-0"
|
|
9894
9894
|
})(["", ""], ({
|
|
9895
9895
|
theme: theme2
|
|
@@ -9904,7 +9904,7 @@ var __publicField = (obj, key, value) => {
|
|
|
9904
9904
|
background: ${theme2.click.card.promotion.color.stroke.focus};
|
|
9905
9905
|
}
|
|
9906
9906
|
`);
|
|
9907
|
-
const Wrapper$6 =
|
|
9907
|
+
const Wrapper$6 = styled.styled.div.withConfig({
|
|
9908
9908
|
componentId: "sc-6jamj6-1"
|
|
9909
9909
|
})(["display:flex;width:100%;align-items:center;justify-content:flex-start;cursor:pointer;", ""], ({
|
|
9910
9910
|
theme: theme2
|
|
@@ -9926,7 +9926,7 @@ var __publicField = (obj, key, value) => {
|
|
|
9926
9926
|
color: ${theme2.click.card.promotion.color.text.active};
|
|
9927
9927
|
}
|
|
9928
9928
|
`);
|
|
9929
|
-
const CardIcon =
|
|
9929
|
+
const CardIcon = styled.styled(SvgImage).withConfig({
|
|
9930
9930
|
componentId: "sc-6jamj6-2"
|
|
9931
9931
|
})(["", ""], ({
|
|
9932
9932
|
theme: theme2
|
|
@@ -9935,7 +9935,7 @@ var __publicField = (obj, key, value) => {
|
|
|
9935
9935
|
width: ${theme2.click.card.promotion.icon.size.all};
|
|
9936
9936
|
color: ${theme2.click.card.promotion.color.icon.default};
|
|
9937
9937
|
`);
|
|
9938
|
-
const DismissWrapper =
|
|
9938
|
+
const DismissWrapper = styled.styled.button.withConfig({
|
|
9939
9939
|
componentId: "sc-6jamj6-3"
|
|
9940
9940
|
})(["display:flex;align-items:center;margin-left:auto;border:none;background-color:transparent;color:inherit;cursor:pointer;"]);
|
|
9941
9941
|
const CardPromotion = ({
|
|
@@ -10102,12 +10102,13 @@ var __publicField = (obj, key, value) => {
|
|
|
10102
10102
|
}
|
|
10103
10103
|
const $e698a72e93240346$export$be92b6f5f03c0fe9 = $e698a72e93240346$export$48513f6b9f8ce62d;
|
|
10104
10104
|
const $e698a72e93240346$export$adb584737d712b70 = $e698a72e93240346$export$59aad738f51d1c05;
|
|
10105
|
-
const Wrapper$5 =
|
|
10105
|
+
const Wrapper$5 = styled.styled(FormRoot).withConfig({
|
|
10106
10106
|
componentId: "sc-1sck1ja-0"
|
|
10107
10107
|
})(["align-items:center;max-width:fit-content;"]);
|
|
10108
10108
|
const Checkbox = ({
|
|
10109
10109
|
id,
|
|
10110
10110
|
label,
|
|
10111
|
+
variant,
|
|
10111
10112
|
disabled,
|
|
10112
10113
|
orientation,
|
|
10113
10114
|
dir,
|
|
@@ -10115,28 +10116,29 @@ var __publicField = (obj, key, value) => {
|
|
|
10115
10116
|
}) => {
|
|
10116
10117
|
const defaultId = React.useId();
|
|
10117
10118
|
return /* @__PURE__ */ jsxRuntime.jsxs(Wrapper$5, { $orientation: orientation ?? "horizontal", $dir: dir ?? "end", children: [
|
|
10118
|
-
/* @__PURE__ */ jsxRuntime.jsx(CheckInput, { id: id ?? defaultId, "data-testid": "checkbox", disabled, "aria-label": `${label}`, ...delegated, children: /* @__PURE__ */ jsxRuntime.jsx(CheckIconWrapper, { children: /* @__PURE__ */ jsxRuntime.jsx(SvgImage, { name: "check", size: "sm" }) }) }),
|
|
10119
|
+
/* @__PURE__ */ jsxRuntime.jsx(CheckInput, { id: id ?? defaultId, "data-testid": "checkbox", variant: variant ?? "default", disabled, "aria-label": `${label}`, ...delegated, children: /* @__PURE__ */ jsxRuntime.jsx(CheckIconWrapper, { children: /* @__PURE__ */ jsxRuntime.jsx(SvgImage, { name: "check", size: "sm" }) }) }),
|
|
10119
10120
|
label && /* @__PURE__ */ jsxRuntime.jsx(GenericLabel, { htmlFor: id ?? defaultId, disabled, children: label })
|
|
10120
10121
|
] });
|
|
10121
10122
|
};
|
|
10122
|
-
const CheckInput =
|
|
10123
|
+
const CheckInput = styled.styled($e698a72e93240346$export$be92b6f5f03c0fe9).withConfig({
|
|
10123
10124
|
componentId: "sc-1sck1ja-1"
|
|
10124
10125
|
})(["display:flex;align-items:center;justify-content:center;", ";"], ({
|
|
10125
|
-
theme: theme2
|
|
10126
|
+
theme: theme2,
|
|
10127
|
+
variant = "default"
|
|
10126
10128
|
}) => `
|
|
10127
10129
|
border-radius: ${theme2.click.checkbox.radii.all};
|
|
10128
10130
|
width: ${theme2.click.checkbox.size.all};
|
|
10129
10131
|
height: ${theme2.click.checkbox.size.all};
|
|
10130
|
-
background: ${theme2.click.checkbox.color.background.default};
|
|
10131
|
-
border: 1px solid ${theme2.click.checkbox.color.stroke.default};
|
|
10132
|
+
background: ${theme2.click.checkbox.color.variations[variant].background.default};
|
|
10133
|
+
border: 1px solid ${theme2.click.checkbox.color.variations[variant].stroke.default};
|
|
10132
10134
|
cursor: pointer;
|
|
10133
10135
|
|
|
10134
10136
|
&:hover {
|
|
10135
|
-
background: ${theme2.click.checkbox.color.background.hover};
|
|
10137
|
+
background: ${theme2.click.checkbox.color.variations[variant].background.hover};
|
|
10136
10138
|
}
|
|
10137
10139
|
&[data-state="checked"] {
|
|
10138
|
-
border-color: ${theme2.click.checkbox.color.stroke.active};
|
|
10139
|
-
background: ${theme2.click.checkbox.color.background.active};
|
|
10140
|
+
border-color: ${theme2.click.checkbox.color.variations[variant].stroke.active};
|
|
10141
|
+
background: ${theme2.click.checkbox.color.variations[variant].background.active};
|
|
10140
10142
|
}
|
|
10141
10143
|
&[data-disabled] {
|
|
10142
10144
|
background: ${theme2.click.checkbox.color.background.disabled};
|
|
@@ -10147,7 +10149,7 @@ var __publicField = (obj, key, value) => {
|
|
|
10147
10149
|
}
|
|
10148
10150
|
}
|
|
10149
10151
|
`);
|
|
10150
|
-
const CheckIconWrapper =
|
|
10152
|
+
const CheckIconWrapper = styled.styled($e698a72e93240346$export$adb584737d712b70).withConfig({
|
|
10151
10153
|
componentId: "sc-1sck1ja-2"
|
|
10152
10154
|
})(["", ""], ({
|
|
10153
10155
|
theme: theme2
|
|
@@ -12468,14 +12470,14 @@ var __publicField = (obj, key, value) => {
|
|
|
12468
12470
|
return high.listLanguages();
|
|
12469
12471
|
}
|
|
12470
12472
|
function registerAlias(name2, alias) {
|
|
12471
|
-
var
|
|
12473
|
+
var map2 = name2;
|
|
12472
12474
|
var key;
|
|
12473
12475
|
if (alias) {
|
|
12474
|
-
|
|
12475
|
-
|
|
12476
|
+
map2 = {};
|
|
12477
|
+
map2[name2] = alias;
|
|
12476
12478
|
}
|
|
12477
|
-
for (key in
|
|
12478
|
-
high.registerAliases(
|
|
12479
|
+
for (key in map2) {
|
|
12480
|
+
high.registerAliases(map2[key], { languageName: key });
|
|
12479
12481
|
}
|
|
12480
12482
|
}
|
|
12481
12483
|
function Emitter(options2) {
|
|
@@ -13413,7 +13415,7 @@ var __publicField = (obj, key, value) => {
|
|
|
13413
13415
|
var SyntaxHighlighter = highlight$2(core$1, {});
|
|
13414
13416
|
SyntaxHighlighter.registerLanguage = core$1.registerLanguage;
|
|
13415
13417
|
const useColorStyle = (defaultTheme) => {
|
|
13416
|
-
const theme2 =
|
|
13418
|
+
const theme2 = styled.useTheme();
|
|
13417
13419
|
const inheritedThemeName = theme2.name !== "classic" ? theme2.name : "light";
|
|
13418
13420
|
const themeName = !defaultTheme ? inheritedThemeName : defaultTheme;
|
|
13419
13421
|
const codeTheme = theme2.click.codeblock[`${themeName}Mode`].color;
|
|
@@ -13580,7 +13582,7 @@ var __publicField = (obj, key, value) => {
|
|
|
13580
13582
|
SyntaxHighlighter.registerLanguage("sql", sql);
|
|
13581
13583
|
SyntaxHighlighter.registerLanguage("bash", bash);
|
|
13582
13584
|
SyntaxHighlighter.registerLanguage("json", json);
|
|
13583
|
-
const CodeBlockContainer =
|
|
13585
|
+
const CodeBlockContainer = styled.styled.div.withConfig({
|
|
13584
13586
|
componentId: "sc-18gnqgi-0"
|
|
13585
13587
|
})(["width:100%;width:-webkit-fill-available;width:fill-available;width:stretch;position:relative;cursor:pointer;", ""], ({
|
|
13586
13588
|
theme: theme2,
|
|
@@ -13595,7 +13597,7 @@ var __publicField = (obj, key, value) => {
|
|
|
13595
13597
|
}
|
|
13596
13598
|
`;
|
|
13597
13599
|
});
|
|
13598
|
-
const CodeButton =
|
|
13600
|
+
const CodeButton = styled.styled(EmptyButton$1).withConfig({
|
|
13599
13601
|
componentId: "sc-18gnqgi-1"
|
|
13600
13602
|
})(["", ""], ({
|
|
13601
13603
|
$copied,
|
|
@@ -13606,13 +13608,13 @@ var __publicField = (obj, key, value) => {
|
|
|
13606
13608
|
padding: 0;
|
|
13607
13609
|
border: 0;
|
|
13608
13610
|
`);
|
|
13609
|
-
const Highlighter =
|
|
13611
|
+
const Highlighter = styled.styled(SyntaxHighlighter).withConfig({
|
|
13610
13612
|
componentId: "sc-18gnqgi-2"
|
|
13611
13613
|
})(["background:transparent;padding:0;margin:0;"]);
|
|
13612
|
-
const CodeContent =
|
|
13614
|
+
const CodeContent = styled.styled.code.withConfig({
|
|
13613
13615
|
componentId: "sc-18gnqgi-3"
|
|
13614
13616
|
})(["font-family:inherit;color:inherit;"]);
|
|
13615
|
-
const ButtonContainer =
|
|
13617
|
+
const ButtonContainer = styled.styled.div.withConfig({
|
|
13616
13618
|
componentId: "sc-18gnqgi-4"
|
|
13617
13619
|
})(["position:absolute;display:flex;", ""], ({
|
|
13618
13620
|
theme: theme2
|
|
@@ -13692,6 +13694,778 @@ var __publicField = (obj, key, value) => {
|
|
|
13692
13694
|
}, showLineNumbers, wrapLines: wrap || wrapLines, wrapLongLines: wrap || wrapLines, children })
|
|
13693
13695
|
] });
|
|
13694
13696
|
};
|
|
13697
|
+
const constructFromSymbol = Symbol.for("constructDateFrom");
|
|
13698
|
+
function constructFrom(date, value) {
|
|
13699
|
+
if (typeof date === "function")
|
|
13700
|
+
return date(value);
|
|
13701
|
+
if (date && typeof date === "object" && constructFromSymbol in date)
|
|
13702
|
+
return date[constructFromSymbol](value);
|
|
13703
|
+
if (date instanceof Date)
|
|
13704
|
+
return new date.constructor(value);
|
|
13705
|
+
return new Date(value);
|
|
13706
|
+
}
|
|
13707
|
+
function toDate(argument, context) {
|
|
13708
|
+
return constructFrom(context || argument, argument);
|
|
13709
|
+
}
|
|
13710
|
+
function addDays(date, amount, options2) {
|
|
13711
|
+
const _date = toDate(date, options2 == null ? void 0 : options2.in);
|
|
13712
|
+
if (isNaN(amount))
|
|
13713
|
+
return constructFrom(date, NaN);
|
|
13714
|
+
if (!amount)
|
|
13715
|
+
return _date;
|
|
13716
|
+
_date.setDate(_date.getDate() + amount);
|
|
13717
|
+
return _date;
|
|
13718
|
+
}
|
|
13719
|
+
function addMonths(date, amount, options2) {
|
|
13720
|
+
const _date = toDate(date, options2 == null ? void 0 : options2.in);
|
|
13721
|
+
if (isNaN(amount))
|
|
13722
|
+
return constructFrom(date, NaN);
|
|
13723
|
+
if (!amount) {
|
|
13724
|
+
return _date;
|
|
13725
|
+
}
|
|
13726
|
+
const dayOfMonth = _date.getDate();
|
|
13727
|
+
const endOfDesiredMonth = constructFrom(date, _date.getTime());
|
|
13728
|
+
endOfDesiredMonth.setMonth(_date.getMonth() + amount + 1, 0);
|
|
13729
|
+
const daysInMonth = endOfDesiredMonth.getDate();
|
|
13730
|
+
if (dayOfMonth >= daysInMonth) {
|
|
13731
|
+
return endOfDesiredMonth;
|
|
13732
|
+
} else {
|
|
13733
|
+
_date.setFullYear(
|
|
13734
|
+
endOfDesiredMonth.getFullYear(),
|
|
13735
|
+
endOfDesiredMonth.getMonth(),
|
|
13736
|
+
dayOfMonth
|
|
13737
|
+
);
|
|
13738
|
+
return _date;
|
|
13739
|
+
}
|
|
13740
|
+
}
|
|
13741
|
+
function isWeekend(date, options2) {
|
|
13742
|
+
const day = toDate(date, options2 == null ? void 0 : options2.in).getDay();
|
|
13743
|
+
return day === 0 || day === 6;
|
|
13744
|
+
}
|
|
13745
|
+
let defaultOptions = {};
|
|
13746
|
+
function getDefaultOptions() {
|
|
13747
|
+
return defaultOptions;
|
|
13748
|
+
}
|
|
13749
|
+
function startOfWeek(date, options2) {
|
|
13750
|
+
var _a, _b, _c, _d;
|
|
13751
|
+
const defaultOptions2 = getDefaultOptions();
|
|
13752
|
+
const weekStartsOn = (options2 == null ? void 0 : options2.weekStartsOn) ?? ((_b = (_a = options2 == null ? void 0 : options2.locale) == null ? void 0 : _a.options) == null ? void 0 : _b.weekStartsOn) ?? defaultOptions2.weekStartsOn ?? ((_d = (_c = defaultOptions2.locale) == null ? void 0 : _c.options) == null ? void 0 : _d.weekStartsOn) ?? 0;
|
|
13753
|
+
const _date = toDate(date, options2 == null ? void 0 : options2.in);
|
|
13754
|
+
const day = _date.getDay();
|
|
13755
|
+
const diff = (day < weekStartsOn ? 7 : 0) + day - weekStartsOn;
|
|
13756
|
+
_date.setDate(_date.getDate() - diff);
|
|
13757
|
+
_date.setHours(0, 0, 0, 0);
|
|
13758
|
+
return _date;
|
|
13759
|
+
}
|
|
13760
|
+
function normalizeDates(context, ...dates) {
|
|
13761
|
+
const normalize = constructFrom.bind(
|
|
13762
|
+
null,
|
|
13763
|
+
dates.find((date) => typeof date === "object")
|
|
13764
|
+
);
|
|
13765
|
+
return dates.map(normalize);
|
|
13766
|
+
}
|
|
13767
|
+
function addWeeks(date, amount, options2) {
|
|
13768
|
+
return addDays(date, amount * 7, options2);
|
|
13769
|
+
}
|
|
13770
|
+
function startOfMonth(date, options2) {
|
|
13771
|
+
const _date = toDate(date, options2 == null ? void 0 : options2.in);
|
|
13772
|
+
_date.setDate(1);
|
|
13773
|
+
_date.setHours(0, 0, 0, 0);
|
|
13774
|
+
return _date;
|
|
13775
|
+
}
|
|
13776
|
+
function getDate(date, options2) {
|
|
13777
|
+
return toDate(date, options2 == null ? void 0 : options2.in).getDate();
|
|
13778
|
+
}
|
|
13779
|
+
function getDay(date, options2) {
|
|
13780
|
+
return toDate(date, options2 == null ? void 0 : options2.in).getDay();
|
|
13781
|
+
}
|
|
13782
|
+
function getDaysInMonth(date, options2) {
|
|
13783
|
+
const _date = toDate(date, options2 == null ? void 0 : options2.in);
|
|
13784
|
+
const year = _date.getFullYear();
|
|
13785
|
+
const monthIndex = _date.getMonth();
|
|
13786
|
+
const lastDayOfMonth = constructFrom(_date, 0);
|
|
13787
|
+
lastDayOfMonth.setFullYear(year, monthIndex + 1, 0);
|
|
13788
|
+
lastDayOfMonth.setHours(0, 0, 0, 0);
|
|
13789
|
+
return lastDayOfMonth.getDate();
|
|
13790
|
+
}
|
|
13791
|
+
function isEqual$1(leftDate, rightDate) {
|
|
13792
|
+
return +toDate(leftDate) === +toDate(rightDate);
|
|
13793
|
+
}
|
|
13794
|
+
function setDay(date, day, options2) {
|
|
13795
|
+
var _a, _b;
|
|
13796
|
+
const defaultOptions2 = getDefaultOptions();
|
|
13797
|
+
const weekStartsOn = defaultOptions2.weekStartsOn ?? ((_b = (_a = defaultOptions2.locale) == null ? void 0 : _a.options) == null ? void 0 : _b.weekStartsOn) ?? 0;
|
|
13798
|
+
const date_ = toDate(date, options2 == null ? void 0 : options2.in);
|
|
13799
|
+
const currentDay = date_.getDay();
|
|
13800
|
+
const remainder = day % 7;
|
|
13801
|
+
const dayIndex = (remainder + 7) % 7;
|
|
13802
|
+
const delta = 7 - weekStartsOn;
|
|
13803
|
+
const diff = day < 0 || day > 6 ? day - (currentDay + delta) % 7 : (dayIndex + delta) % 7 - (currentDay + delta) % 7;
|
|
13804
|
+
return addDays(date_, diff, options2);
|
|
13805
|
+
}
|
|
13806
|
+
function isSameMonth(laterDate, earlierDate, options2) {
|
|
13807
|
+
const [laterDate_, earlierDate_] = normalizeDates(
|
|
13808
|
+
options2 == null ? void 0 : options2.in,
|
|
13809
|
+
laterDate,
|
|
13810
|
+
earlierDate
|
|
13811
|
+
);
|
|
13812
|
+
return laterDate_.getFullYear() === earlierDate_.getFullYear() && laterDate_.getMonth() === earlierDate_.getMonth();
|
|
13813
|
+
}
|
|
13814
|
+
function isSameYear(laterDate, earlierDate, options2) {
|
|
13815
|
+
const [laterDate_, earlierDate_] = normalizeDates(
|
|
13816
|
+
options2 == null ? void 0 : options2.in,
|
|
13817
|
+
laterDate,
|
|
13818
|
+
earlierDate
|
|
13819
|
+
);
|
|
13820
|
+
return laterDate_.getFullYear() === earlierDate_.getFullYear();
|
|
13821
|
+
}
|
|
13822
|
+
function subDays(date, amount, options2) {
|
|
13823
|
+
return addDays(date, -amount, options2);
|
|
13824
|
+
}
|
|
13825
|
+
function setHours(date, hours, options2) {
|
|
13826
|
+
const _date = toDate(date, options2 == null ? void 0 : options2.in);
|
|
13827
|
+
_date.setHours(hours);
|
|
13828
|
+
return _date;
|
|
13829
|
+
}
|
|
13830
|
+
function setMilliseconds(date, milliseconds, options2) {
|
|
13831
|
+
const _date = toDate(date, options2 == null ? void 0 : options2.in);
|
|
13832
|
+
_date.setMilliseconds(milliseconds);
|
|
13833
|
+
return _date;
|
|
13834
|
+
}
|
|
13835
|
+
function setMinutes(date, minutes, options2) {
|
|
13836
|
+
const date_ = toDate(date, options2 == null ? void 0 : options2.in);
|
|
13837
|
+
date_.setMinutes(minutes);
|
|
13838
|
+
return date_;
|
|
13839
|
+
}
|
|
13840
|
+
function setSeconds(date, seconds, options2) {
|
|
13841
|
+
const _date = toDate(date, options2 == null ? void 0 : options2.in);
|
|
13842
|
+
_date.setSeconds(seconds);
|
|
13843
|
+
return _date;
|
|
13844
|
+
}
|
|
13845
|
+
function subMonths(date, amount, options2) {
|
|
13846
|
+
return addMonths(date, -amount, options2);
|
|
13847
|
+
}
|
|
13848
|
+
function subWeeks(date, amount, options2) {
|
|
13849
|
+
return addWeeks(date, -amount, options2);
|
|
13850
|
+
}
|
|
13851
|
+
var CalendarViewtype = /* @__PURE__ */ ((CalendarViewtype2) => {
|
|
13852
|
+
CalendarViewtype2["Month"] = "month";
|
|
13853
|
+
CalendarViewtype2["Week"] = "week";
|
|
13854
|
+
CalendarViewtype2["Day"] = "day";
|
|
13855
|
+
return CalendarViewtype2;
|
|
13856
|
+
})(CalendarViewtype || {});
|
|
13857
|
+
var CalendarViewType_default = CalendarViewtype;
|
|
13858
|
+
function arrayOf(count) {
|
|
13859
|
+
return [...new Array(count).keys()];
|
|
13860
|
+
}
|
|
13861
|
+
var randomId = 0;
|
|
13862
|
+
var map = /* @__PURE__ */ new Map();
|
|
13863
|
+
function generateID(prefix2) {
|
|
13864
|
+
if (map.has(prefix2)) {
|
|
13865
|
+
const id = map.get(prefix2);
|
|
13866
|
+
const newId = id + 1;
|
|
13867
|
+
map.set(prefix2, newId);
|
|
13868
|
+
randomId = newId;
|
|
13869
|
+
} else {
|
|
13870
|
+
const id = 1;
|
|
13871
|
+
map.set(prefix2, id);
|
|
13872
|
+
randomId = id;
|
|
13873
|
+
}
|
|
13874
|
+
return `${prefix2}-${randomId}`;
|
|
13875
|
+
}
|
|
13876
|
+
function resetTimeOfDate(date) {
|
|
13877
|
+
return setHours(setMinutes(setSeconds(setMilliseconds(date, 0), 0), 0), 0);
|
|
13878
|
+
}
|
|
13879
|
+
function isSameDate(baseDate, targetDate) {
|
|
13880
|
+
const base = resetTimeOfDate(baseDate);
|
|
13881
|
+
const target = resetTimeOfDate(targetDate);
|
|
13882
|
+
return isEqual$1(base, target);
|
|
13883
|
+
}
|
|
13884
|
+
function isSameYearAndMonth(baseDate, targetDate) {
|
|
13885
|
+
return isSameMonth(targetDate, baseDate) && isSameYear(targetDate, baseDate);
|
|
13886
|
+
}
|
|
13887
|
+
function parseDate(date) {
|
|
13888
|
+
return {
|
|
13889
|
+
year: date.getFullYear(),
|
|
13890
|
+
month: date.getMonth(),
|
|
13891
|
+
day: date.getDate()
|
|
13892
|
+
};
|
|
13893
|
+
}
|
|
13894
|
+
function pipe(...fns) {
|
|
13895
|
+
return (...initialParams) => fns.reduce((value, fn, index2) => {
|
|
13896
|
+
const params = index2 === 0 ? value : [value];
|
|
13897
|
+
return fn(...params);
|
|
13898
|
+
}, initialParams);
|
|
13899
|
+
}
|
|
13900
|
+
function pipeWith(value, ...fns) {
|
|
13901
|
+
return pipe(
|
|
13902
|
+
...fns
|
|
13903
|
+
)(value);
|
|
13904
|
+
}
|
|
13905
|
+
function withKey(arr, keyPrefix) {
|
|
13906
|
+
return arr.map((value) => {
|
|
13907
|
+
return {
|
|
13908
|
+
...value,
|
|
13909
|
+
key: generateID(keyPrefix)
|
|
13910
|
+
};
|
|
13911
|
+
});
|
|
13912
|
+
}
|
|
13913
|
+
function withDateProps(baseDate, cursorDate) {
|
|
13914
|
+
return function(cell) {
|
|
13915
|
+
const { value: targetDate } = cell;
|
|
13916
|
+
const isCurrentMonth = isSameYearAndMonth(cursorDate, targetDate);
|
|
13917
|
+
const isCurrentDate = isSameDate(baseDate, targetDate);
|
|
13918
|
+
const isWeekend$1 = isWeekend(targetDate);
|
|
13919
|
+
return {
|
|
13920
|
+
...cell,
|
|
13921
|
+
date: getDate(targetDate),
|
|
13922
|
+
isCurrentMonth,
|
|
13923
|
+
isCurrentDate,
|
|
13924
|
+
isWeekend: isWeekend$1
|
|
13925
|
+
};
|
|
13926
|
+
};
|
|
13927
|
+
}
|
|
13928
|
+
function withKeyProps(keyPrefix) {
|
|
13929
|
+
return function(cell) {
|
|
13930
|
+
return {
|
|
13931
|
+
...cell,
|
|
13932
|
+
key: generateID(keyPrefix)
|
|
13933
|
+
};
|
|
13934
|
+
};
|
|
13935
|
+
}
|
|
13936
|
+
function createCalendarInfo(cursorDate, { weekStartsOn }) {
|
|
13937
|
+
const { year, month, day } = parseDate(cursorDate);
|
|
13938
|
+
const startWeekdayInMonth = getStartWeekdayInMonth(cursorDate, weekStartsOn);
|
|
13939
|
+
const weeksInMonth = getWeeksInMonth(cursorDate, startWeekdayInMonth);
|
|
13940
|
+
const weekendDays = arrayOf(7).map((index2) => ({
|
|
13941
|
+
value: setDay(cursorDate, index2 + weekStartsOn)
|
|
13942
|
+
}));
|
|
13943
|
+
const getDateCellByIndex = (weekIndex, dayIndex) => {
|
|
13944
|
+
const day2 = weekIndex * 7 + dayIndex - startWeekdayInMonth + 1;
|
|
13945
|
+
return { value: new Date(year, month, day2) };
|
|
13946
|
+
};
|
|
13947
|
+
return {
|
|
13948
|
+
cursorDate,
|
|
13949
|
+
year,
|
|
13950
|
+
month,
|
|
13951
|
+
day,
|
|
13952
|
+
weekStartsOn,
|
|
13953
|
+
startWeekdayInMonth,
|
|
13954
|
+
weeksInMonth,
|
|
13955
|
+
weekendDays,
|
|
13956
|
+
today: {
|
|
13957
|
+
weekIndex: getCurrentWeekIndex(day, startWeekdayInMonth),
|
|
13958
|
+
dateIndex: getDay(cursorDate)
|
|
13959
|
+
},
|
|
13960
|
+
getDateCellByIndex
|
|
13961
|
+
};
|
|
13962
|
+
}
|
|
13963
|
+
function getStartWeekdayInMonth(date, weekStartsOn) {
|
|
13964
|
+
const monthStartsAt = (startOfMonth(date).getDay() - weekStartsOn) % 7;
|
|
13965
|
+
return monthStartsAt < 0 ? monthStartsAt + 7 : monthStartsAt;
|
|
13966
|
+
}
|
|
13967
|
+
function getWeeksInMonth(date, startWeekdayInMonth) {
|
|
13968
|
+
const totalDaysOfMonth = getDaysInMonth(date);
|
|
13969
|
+
return Math.ceil((startWeekdayInMonth + totalDaysOfMonth) / 7);
|
|
13970
|
+
}
|
|
13971
|
+
function getCurrentWeekIndex(day, startWeekdayInMonth) {
|
|
13972
|
+
if ((day + startWeekdayInMonth) % 7 > 0) {
|
|
13973
|
+
return Math.floor((day + startWeekdayInMonth) / 7);
|
|
13974
|
+
}
|
|
13975
|
+
return Math.floor((day + startWeekdayInMonth) / 7) - 1;
|
|
13976
|
+
}
|
|
13977
|
+
function useIsMounted() {
|
|
13978
|
+
const [mounted, setMounted] = React.useState(false);
|
|
13979
|
+
React.useEffect(() => {
|
|
13980
|
+
setMounted(true);
|
|
13981
|
+
}, []);
|
|
13982
|
+
return mounted;
|
|
13983
|
+
}
|
|
13984
|
+
function useCalendar({
|
|
13985
|
+
defaultDate,
|
|
13986
|
+
defaultWeekStart = 0,
|
|
13987
|
+
defaultViewType = CalendarViewType_default.Month
|
|
13988
|
+
} = {}) {
|
|
13989
|
+
const isMounted = useIsMounted();
|
|
13990
|
+
const baseDate = React.useMemo(() => {
|
|
13991
|
+
return defaultDate != null ? new Date(defaultDate) : /* @__PURE__ */ new Date();
|
|
13992
|
+
}, [defaultDate, isMounted]);
|
|
13993
|
+
const [weekStartsOn, setWeekStartsOn] = React.useState(defaultWeekStart);
|
|
13994
|
+
const [cursorDate, setCursorDate] = React.useState(baseDate);
|
|
13995
|
+
const [viewType, setViewType] = React.useState(defaultViewType);
|
|
13996
|
+
const calendar = createCalendarInfo(cursorDate, { weekStartsOn });
|
|
13997
|
+
const { weekendDays, weeksInMonth, today, getDateCellByIndex } = calendar;
|
|
13998
|
+
const getHeaders = React.useCallback(
|
|
13999
|
+
(viewType2) => {
|
|
14000
|
+
switch (viewType2) {
|
|
14001
|
+
case CalendarViewType_default.Month:
|
|
14002
|
+
case CalendarViewType_default.Week:
|
|
14003
|
+
return {
|
|
14004
|
+
weekDays: withKey(weekendDays, "weekdays")
|
|
14005
|
+
};
|
|
14006
|
+
case CalendarViewType_default.Day:
|
|
14007
|
+
default:
|
|
14008
|
+
return {
|
|
14009
|
+
weekDays: withKey([{ value: cursorDate }], "weekdays")
|
|
14010
|
+
};
|
|
14011
|
+
}
|
|
14012
|
+
},
|
|
14013
|
+
[cursorDate, weekendDays]
|
|
14014
|
+
);
|
|
14015
|
+
const createMatrix = React.useCallback(
|
|
14016
|
+
(weeksInMonth2) => ({
|
|
14017
|
+
value: arrayOf(weeksInMonth2).map((weekIndex) => {
|
|
14018
|
+
return {
|
|
14019
|
+
key: generateID("weeks"),
|
|
14020
|
+
value: arrayOf(7).map((dayIndex) => {
|
|
14021
|
+
return pipeWith(
|
|
14022
|
+
getDateCellByIndex(weekIndex, dayIndex),
|
|
14023
|
+
withDateProps(baseDate, cursorDate),
|
|
14024
|
+
withKeyProps("days")
|
|
14025
|
+
);
|
|
14026
|
+
})
|
|
14027
|
+
};
|
|
14028
|
+
})
|
|
14029
|
+
}),
|
|
14030
|
+
[baseDate, cursorDate, getDateCellByIndex]
|
|
14031
|
+
);
|
|
14032
|
+
const getBody = React.useCallback(
|
|
14033
|
+
(viewType2) => {
|
|
14034
|
+
var _a;
|
|
14035
|
+
const matrix2 = createMatrix(weeksInMonth);
|
|
14036
|
+
const { weekIndex, dateIndex } = today;
|
|
14037
|
+
return {
|
|
14038
|
+
[CalendarViewType_default.Month]: matrix2,
|
|
14039
|
+
[CalendarViewType_default.Week]: {
|
|
14040
|
+
value: [matrix2.value[weekIndex]]
|
|
14041
|
+
},
|
|
14042
|
+
[CalendarViewType_default.Day]: {
|
|
14043
|
+
value: [
|
|
14044
|
+
{
|
|
14045
|
+
key: "week-day-type",
|
|
14046
|
+
value: [(_a = matrix2.value[weekIndex]) == null ? void 0 : _a.value[dateIndex]]
|
|
14047
|
+
}
|
|
14048
|
+
]
|
|
14049
|
+
}
|
|
14050
|
+
}[viewType2];
|
|
14051
|
+
},
|
|
14052
|
+
[createMatrix, today, weeksInMonth]
|
|
14053
|
+
);
|
|
14054
|
+
const setNext = React.useMemo(() => {
|
|
14055
|
+
switch (viewType) {
|
|
14056
|
+
case CalendarViewType_default.Month:
|
|
14057
|
+
return (date) => addMonths(startOfMonth(date), 1);
|
|
14058
|
+
case CalendarViewType_default.Week:
|
|
14059
|
+
return (date) => addWeeks(startOfWeek(date, { weekStartsOn }), 1);
|
|
14060
|
+
case CalendarViewType_default.Day:
|
|
14061
|
+
return (date) => addDays(date, 1);
|
|
14062
|
+
}
|
|
14063
|
+
}, [viewType, weekStartsOn]);
|
|
14064
|
+
const setPrev = React.useMemo(() => {
|
|
14065
|
+
switch (viewType) {
|
|
14066
|
+
case CalendarViewType_default.Month:
|
|
14067
|
+
return (date) => subMonths(startOfMonth(date), 1);
|
|
14068
|
+
case CalendarViewType_default.Week:
|
|
14069
|
+
return (date) => subWeeks(startOfWeek(date, { weekStartsOn }), 1);
|
|
14070
|
+
case CalendarViewType_default.Day:
|
|
14071
|
+
return (date) => subDays(date, 1);
|
|
14072
|
+
}
|
|
14073
|
+
}, [viewType, weekStartsOn]);
|
|
14074
|
+
return React.useMemo(
|
|
14075
|
+
() => ({
|
|
14076
|
+
...calendar,
|
|
14077
|
+
headers: getHeaders(viewType),
|
|
14078
|
+
body: getBody(viewType),
|
|
14079
|
+
navigation: {
|
|
14080
|
+
toNext: () => setCursorDate((date) => setNext(date)),
|
|
14081
|
+
toPrev: () => setCursorDate((date) => setPrev(date)),
|
|
14082
|
+
setToday: () => setCursorDate(/* @__PURE__ */ new Date()),
|
|
14083
|
+
setDate: (date) => setCursorDate(date)
|
|
14084
|
+
},
|
|
14085
|
+
view: {
|
|
14086
|
+
type: viewType,
|
|
14087
|
+
setViewType,
|
|
14088
|
+
setWeekStartsOn,
|
|
14089
|
+
isMonthView: viewType === CalendarViewType_default.Month,
|
|
14090
|
+
isWeekView: viewType === CalendarViewType_default.Week,
|
|
14091
|
+
isDayView: viewType === CalendarViewType_default.Day,
|
|
14092
|
+
showMonthView: () => setViewType(CalendarViewType_default.Month),
|
|
14093
|
+
showWeekView: () => setViewType(CalendarViewType_default.Week),
|
|
14094
|
+
showDayView: () => setViewType(CalendarViewType_default.Day)
|
|
14095
|
+
}
|
|
14096
|
+
}),
|
|
14097
|
+
[calendar, getBody, getHeaders, setNext, setPrev, viewType]
|
|
14098
|
+
);
|
|
14099
|
+
}
|
|
14100
|
+
const Wrapper$4 = styled.styled.div.withConfig({
|
|
14101
|
+
componentId: "sc-1pvd2nj-0"
|
|
14102
|
+
})(["width:inherit;display:flex;align-items:center;justify-content:space-between;align-items:center;span:first-of-type{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;}", ""], ({
|
|
14103
|
+
theme: theme2,
|
|
14104
|
+
$error,
|
|
14105
|
+
$resize
|
|
14106
|
+
}) => `
|
|
14107
|
+
gap: ${theme2.click.field.space.gap};
|
|
14108
|
+
border-radius: ${theme2.click.field.radii.all};
|
|
14109
|
+
font: ${theme2.click.field.typography.fieldText.default};
|
|
14110
|
+
color: ${theme2.click.field.color.text.default};
|
|
14111
|
+
border: 1px solid ${theme2.click.field.color.stroke.default};
|
|
14112
|
+
background: ${theme2.click.field.color.background.default};
|
|
14113
|
+
|
|
14114
|
+
*:autofill,
|
|
14115
|
+
*:-webkit-autofill {
|
|
14116
|
+
-webkit-box-shadow: 0 0 0px 50vh ${theme2.click.field.color.background.default} inset;
|
|
14117
|
+
-webkit-text-fill-color: ${theme2.click.field.color.text.default};
|
|
14118
|
+
caret-color: ${theme2.click.field.color.text.default};
|
|
14119
|
+
}
|
|
14120
|
+
|
|
14121
|
+
&:hover {
|
|
14122
|
+
border: 1px solid ${theme2.click.field.color.stroke.hover};
|
|
14123
|
+
background: ${theme2.click.field.color.background.hover};
|
|
14124
|
+
color: ${theme2.click.field.color.text.hover};
|
|
14125
|
+
|
|
14126
|
+
*:autofill,
|
|
14127
|
+
*:-webkit-autofill {
|
|
14128
|
+
-webkit-box-shadow: 0 0 0px 50vh ${theme2.click.field.color.background.hover} inset;
|
|
14129
|
+
-webkit-text-fill-color: ${theme2.click.field.color.text.hover};
|
|
14130
|
+
caret-color: ${theme2.click.field.color.text.hover};
|
|
14131
|
+
}
|
|
14132
|
+
}
|
|
14133
|
+
${$resize === "none" ? "" : `
|
|
14134
|
+
resize: ${$resize};
|
|
14135
|
+
overflow: auto;
|
|
14136
|
+
`}
|
|
14137
|
+
padding: 0 ${theme2.click.field.space.x};
|
|
14138
|
+
${$error ? `
|
|
14139
|
+
font: ${theme2.click.field.typography.fieldText.error};
|
|
14140
|
+
border: 1px solid ${theme2.click.field.color.stroke.error};
|
|
14141
|
+
background: ${theme2.click.field.color.background.active};
|
|
14142
|
+
color: ${theme2.click.field.color.text.error};
|
|
14143
|
+
|
|
14144
|
+
*:autofill,
|
|
14145
|
+
*:-webkit-autofill {
|
|
14146
|
+
-webkit-box-shadow: 0 0 0px 50vh ${theme2.click.field.color.background.error} inset;
|
|
14147
|
+
-webkit-text-fill-color: ${theme2.click.field.color.text.error};
|
|
14148
|
+
caret-color: ${theme2.click.field.color.text.error};
|
|
14149
|
+
}
|
|
14150
|
+
|
|
14151
|
+
&:hover {
|
|
14152
|
+
border: 1px solid ${theme2.click.field.color.stroke.error};
|
|
14153
|
+
color: ${theme2.click.field.color.text.error};
|
|
14154
|
+
*:autofill,
|
|
14155
|
+
*:-webkit-autofill {
|
|
14156
|
+
-webkit-box-shadow: 0 0 0px 50vh ${theme2.click.field.color.background.error} inset;
|
|
14157
|
+
-webkit-text-fill-color: ${theme2.click.field.color.text.error};
|
|
14158
|
+
caret-color: ${theme2.click.field.color.text.error};
|
|
14159
|
+
}
|
|
14160
|
+
}
|
|
14161
|
+
` : `
|
|
14162
|
+
&:focus-within,
|
|
14163
|
+
&[data-state="open"] {
|
|
14164
|
+
font: ${theme2.click.field.typography.fieldText.active};
|
|
14165
|
+
border: 1px solid ${theme2.click.field.color.stroke.active};
|
|
14166
|
+
background: ${theme2.click.field.color.background.active};
|
|
14167
|
+
color: ${theme2.click.field.color.text.active};
|
|
14168
|
+
|
|
14169
|
+
*:autofill,
|
|
14170
|
+
*:-webkit-autofill {
|
|
14171
|
+
-webkit-box-shadow: 0 0 0px 50vh ${theme2.click.field.color.background.active} inset;
|
|
14172
|
+
-webkit-text-fill-color: ${theme2.click.field.color.text.active};
|
|
14173
|
+
caret-color: ${theme2.click.field.color.text.active};
|
|
14174
|
+
}
|
|
14175
|
+
}
|
|
14176
|
+
`};
|
|
14177
|
+
&:disabled, &.disabled {
|
|
14178
|
+
font: ${theme2.click.field.typography.fieldText.disabled};
|
|
14179
|
+
border: 1px solid ${theme2.click.field.color.stroke.disabled};
|
|
14180
|
+
background: ${theme2.click.field.color.background.disabled};
|
|
14181
|
+
color: ${theme2.click.field.color.text.disabled};
|
|
14182
|
+
|
|
14183
|
+
*:autofill,
|
|
14184
|
+
*:-webkit-autofill {
|
|
14185
|
+
-webkit-box-shadow: 0 0 0px 50vh ${theme2.click.field.color.background.disabled} inset;
|
|
14186
|
+
-webkit-text-fill-color: ${theme2.click.field.color.text.disabled};
|
|
14187
|
+
caret-color: ${theme2.click.field.color.text.disabled};
|
|
14188
|
+
}
|
|
14189
|
+
}
|
|
14190
|
+
`);
|
|
14191
|
+
const StyledLabel = styled.styled(Label$1).withConfig({
|
|
14192
|
+
componentId: "sc-1pvd2nj-1"
|
|
14193
|
+
})(["", ""], ({
|
|
14194
|
+
$labelColor
|
|
14195
|
+
}) => `
|
|
14196
|
+
${$labelColor ? `color: ${$labelColor};` : ""}
|
|
14197
|
+
`);
|
|
14198
|
+
const InputWrapper = ({
|
|
14199
|
+
className,
|
|
14200
|
+
id,
|
|
14201
|
+
label = "",
|
|
14202
|
+
labelColor,
|
|
14203
|
+
error: error2,
|
|
14204
|
+
disabled,
|
|
14205
|
+
children,
|
|
14206
|
+
orientation,
|
|
14207
|
+
dir,
|
|
14208
|
+
resize = "none"
|
|
14209
|
+
}) => {
|
|
14210
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(FormRoot, { $orientation: orientation, $dir: dir, $addLabelPadding: true, children: [
|
|
14211
|
+
/* @__PURE__ */ jsxRuntime.jsxs(FormElementContainer, { children: [
|
|
14212
|
+
/* @__PURE__ */ jsxRuntime.jsx(Wrapper$4, { $error: !!error2, $resize: resize, "data-resize": resize, className: disabled ? `disabled ${className}` : className, children }),
|
|
14213
|
+
!!error2 && error2 !== true && /* @__PURE__ */ jsxRuntime.jsx(Error$1, { children: error2 })
|
|
14214
|
+
] }),
|
|
14215
|
+
label && /* @__PURE__ */ jsxRuntime.jsx(StyledLabel, { htmlFor: id, disabled, error: !!error2, $labelColor: labelColor, children: label })
|
|
14216
|
+
] });
|
|
14217
|
+
};
|
|
14218
|
+
const InputElement = styled.styled.input.withConfig({
|
|
14219
|
+
componentId: "sc-1pvd2nj-2"
|
|
14220
|
+
})(["background:transparent;border:none;outline:none;width:100%;color:inherit;font:inherit;", ""], ({
|
|
14221
|
+
theme: theme2
|
|
14222
|
+
}) => `
|
|
14223
|
+
padding: ${theme2.click.field.space.y} 0;
|
|
14224
|
+
&::placeholder {
|
|
14225
|
+
color: ${theme2.click.field.color.placeholder.default};
|
|
14226
|
+
}
|
|
14227
|
+
|
|
14228
|
+
&:disabled, &.disabled {
|
|
14229
|
+
&::placeholder {
|
|
14230
|
+
color: ${theme2.click.field.color.placeholder.disabled};
|
|
14231
|
+
}
|
|
14232
|
+
`);
|
|
14233
|
+
const NumberInputElement = styled.styled(InputElement).withConfig({
|
|
14234
|
+
componentId: "sc-1pvd2nj-3"
|
|
14235
|
+
})(["", ""], ({
|
|
14236
|
+
$hideControls
|
|
14237
|
+
}) => `
|
|
14238
|
+
${$hideControls ? `
|
|
14239
|
+
&::-webkit-outer-spin-button,
|
|
14240
|
+
&::-webkit-inner-spin-button {
|
|
14241
|
+
-webkit-appearance: none;
|
|
14242
|
+
margin: 0;
|
|
14243
|
+
}
|
|
14244
|
+
|
|
14245
|
+
-moz-appearance: textfield;
|
|
14246
|
+
` : ""}
|
|
14247
|
+
`);
|
|
14248
|
+
const TextAreaElement = styled.styled.textarea.withConfig({
|
|
14249
|
+
componentId: "sc-1pvd2nj-4"
|
|
14250
|
+
})(["background:transparent;border:none;outline:none;width:100%;color:inherit;font:inherit;resize:none;", ""], ({
|
|
14251
|
+
theme: theme2
|
|
14252
|
+
}) => `
|
|
14253
|
+
padding: ${theme2.click.field.space.y} 0;
|
|
14254
|
+
align-self: stretch;
|
|
14255
|
+
&::placeholder {
|
|
14256
|
+
color: ${theme2.click.field.color.placeholder.default};
|
|
14257
|
+
}
|
|
14258
|
+
`);
|
|
14259
|
+
styled.styled(InputWrapper).withConfig({
|
|
14260
|
+
componentId: "sc-1pvd2nj-5"
|
|
14261
|
+
})(["resize:vertical;overflow:auto;color:red;"]);
|
|
14262
|
+
const IconButton = styled.styled.button.withConfig({
|
|
14263
|
+
componentId: "sc-1pvd2nj-6"
|
|
14264
|
+
})(["background:transparent;color:inherit;border:none;padding:0;outline:none;&:not(:disabled){cursor:pointer;}", ""], ({
|
|
14265
|
+
theme: theme2,
|
|
14266
|
+
$show
|
|
14267
|
+
}) => `
|
|
14268
|
+
padding: ${theme2.click.field.space.y} 0;
|
|
14269
|
+
visibility: ${$show ? "visible" : "hidden"};
|
|
14270
|
+
`);
|
|
14271
|
+
styled.styled.svg.withConfig({
|
|
14272
|
+
componentId: "sc-1pvd2nj-7"
|
|
14273
|
+
})(["", ""], ({
|
|
14274
|
+
theme: theme2
|
|
14275
|
+
}) => `
|
|
14276
|
+
&:first-of-type {
|
|
14277
|
+
padding-left: ${theme2.click.field.space.gap};
|
|
14278
|
+
}
|
|
14279
|
+
&:last-of-type {
|
|
14280
|
+
padding-right: ${theme2.click.field.space.x};
|
|
14281
|
+
}
|
|
14282
|
+
`);
|
|
14283
|
+
const locale = "en-US";
|
|
14284
|
+
const weekdayFormatter = new Intl.DateTimeFormat(locale, {
|
|
14285
|
+
weekday: "short"
|
|
14286
|
+
});
|
|
14287
|
+
const headerDateFormatter = new Intl.DateTimeFormat(locale, {
|
|
14288
|
+
month: "short",
|
|
14289
|
+
year: "numeric"
|
|
14290
|
+
});
|
|
14291
|
+
const selectedDateFormatter = new Intl.DateTimeFormat(locale, {
|
|
14292
|
+
day: "2-digit",
|
|
14293
|
+
month: "short",
|
|
14294
|
+
year: "numeric"
|
|
14295
|
+
});
|
|
14296
|
+
const explicitWidth = "250px";
|
|
14297
|
+
const HighlightedInputWrapper = styled(InputWrapper).withConfig({
|
|
14298
|
+
componentId: "sc-1kfphgn-0"
|
|
14299
|
+
})(["", " width:", ";}"], ({
|
|
14300
|
+
$isActive,
|
|
14301
|
+
theme: theme2
|
|
14302
|
+
}) => {
|
|
14303
|
+
return `border: ${theme2.click.datePicker.dateOption.stroke} solid ${$isActive ? theme2.click.datePicker.dateOption.color.stroke.active : theme2.click.field.color.stroke.default};`;
|
|
14304
|
+
}, explicitWidth);
|
|
14305
|
+
const DatePickerContainer = styled(Container).withConfig({
|
|
14306
|
+
componentId: "sc-1kfphgn-1"
|
|
14307
|
+
})(["background:", ";"], ({
|
|
14308
|
+
theme: theme2
|
|
14309
|
+
}) => theme2.click.datePicker.dateOption.color.background.default);
|
|
14310
|
+
const UnselectableTitle = styled.h2.withConfig({
|
|
14311
|
+
componentId: "sc-1kfphgn-2"
|
|
14312
|
+
})(["", " user-select:none;"], ({
|
|
14313
|
+
theme: theme2
|
|
14314
|
+
}) => `
|
|
14315
|
+
color: ${theme2.click.datePicker.color.title.default};
|
|
14316
|
+
font: ${theme2.click.datePicker.typography.title.default};
|
|
14317
|
+
`);
|
|
14318
|
+
const DateTable = styled.table.withConfig({
|
|
14319
|
+
componentId: "sc-1kfphgn-3"
|
|
14320
|
+
})(["border-collapse:separate;border-spacing:0;font:", " table-layout:fixed;user-select:none;width:", ";thead tr{height:", ";}tbody{cursor:pointer;}td,th{", ";padding:4px;}"], ({
|
|
14321
|
+
theme: theme2
|
|
14322
|
+
}) => theme2.typography.styles.product.text.normal.md, explicitWidth, ({
|
|
14323
|
+
theme: theme2
|
|
14324
|
+
}) => theme2.click.datePicker.dateOption.size.height, ({
|
|
14325
|
+
theme: theme2
|
|
14326
|
+
}) => `border: ${theme2.click.datePicker.dateOption.stroke} solid ${theme2.click.datePicker.dateOption.color.stroke.default}`);
|
|
14327
|
+
const DateTableHeader = styled.th.withConfig({
|
|
14328
|
+
componentId: "sc-1kfphgn-4"
|
|
14329
|
+
})(["", " width:14%;"], ({
|
|
14330
|
+
theme: theme2
|
|
14331
|
+
}) => `
|
|
14332
|
+
color: ${theme2.click.datePicker.color.daytitle.default};
|
|
14333
|
+
font: ${theme2.click.datePicker.typography.daytitle.default};
|
|
14334
|
+
`);
|
|
14335
|
+
const DateTableCell = styled.td.withConfig({
|
|
14336
|
+
componentId: "sc-1kfphgn-5"
|
|
14337
|
+
})(["", " ", " ", " text-align:center;", " &:hover{", ";}"], ({
|
|
14338
|
+
theme: theme2
|
|
14339
|
+
}) => `
|
|
14340
|
+
border-radius: ${theme2.click.datePicker.dateOption.radii.default};
|
|
14341
|
+
font: ${theme2.click.datePicker.dateOption.typography.label.default};
|
|
14342
|
+
`, ({
|
|
14343
|
+
$isCurrentMonth,
|
|
14344
|
+
$isDisabled,
|
|
14345
|
+
theme: theme2
|
|
14346
|
+
}) => (!$isCurrentMonth || $isDisabled) && `
|
|
14347
|
+
color: ${theme2.click.datePicker.dateOption.color.label.disabled};
|
|
14348
|
+
font: ${theme2.click.datePicker.dateOption.typography.label.disabled};
|
|
14349
|
+
`, ({
|
|
14350
|
+
$isSelected,
|
|
14351
|
+
theme: theme2
|
|
14352
|
+
}) => $isSelected && `
|
|
14353
|
+
background: ${theme2.click.datePicker.dateOption.color.background.active};
|
|
14354
|
+
color: ${theme2.click.datePicker.dateOption.color.label.active};
|
|
14355
|
+
`, ({
|
|
14356
|
+
$isToday,
|
|
14357
|
+
theme: theme2
|
|
14358
|
+
}) => $isToday && `font: ${theme2.click.datePicker.dateOption.typography.label.active};`, ({
|
|
14359
|
+
$isDisabled,
|
|
14360
|
+
theme: theme2
|
|
14361
|
+
}) => `border: ${theme2.click.datePicker.dateOption.stroke} solid ${$isDisabled ? theme2.click.datePicker.dateOption.color.stroke.disabled : theme2.click.datePicker.dateOption.color.stroke.hover}`);
|
|
14362
|
+
const DatePickerInput = ({
|
|
14363
|
+
isActive,
|
|
14364
|
+
disabled,
|
|
14365
|
+
id,
|
|
14366
|
+
placeholder,
|
|
14367
|
+
selectedDate
|
|
14368
|
+
}) => {
|
|
14369
|
+
const defaultId = React.useId();
|
|
14370
|
+
const formattedSelectedDate = selectedDate instanceof Date ? selectedDateFormatter.format(selectedDate) : "";
|
|
14371
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(HighlightedInputWrapper, { $isActive: isActive, disabled, id: id ?? defaultId, children: [
|
|
14372
|
+
/* @__PURE__ */ jsxRuntime.jsx(SvgImage, { name: "calendar" }),
|
|
14373
|
+
/* @__PURE__ */ jsxRuntime.jsx(InputElement, { "data-testid": "datepicker-input", placeholder, readOnly: true, value: formattedSelectedDate })
|
|
14374
|
+
] });
|
|
14375
|
+
};
|
|
14376
|
+
const Calendar = ({
|
|
14377
|
+
closeDatepicker,
|
|
14378
|
+
futureDatesDisabled,
|
|
14379
|
+
selectedDate,
|
|
14380
|
+
setSelectedDate
|
|
14381
|
+
}) => {
|
|
14382
|
+
const calendarOptions = {
|
|
14383
|
+
defaultWeekStart: 1
|
|
14384
|
+
};
|
|
14385
|
+
if (selectedDate) {
|
|
14386
|
+
calendarOptions.defaultDate = selectedDate;
|
|
14387
|
+
}
|
|
14388
|
+
const {
|
|
14389
|
+
body,
|
|
14390
|
+
headers,
|
|
14391
|
+
month,
|
|
14392
|
+
navigation,
|
|
14393
|
+
year
|
|
14394
|
+
} = useCalendar(calendarOptions);
|
|
14395
|
+
const handleNextClick = () => {
|
|
14396
|
+
navigation.toNext();
|
|
14397
|
+
};
|
|
14398
|
+
const handlePreviousClick = () => {
|
|
14399
|
+
navigation.toPrev();
|
|
14400
|
+
};
|
|
14401
|
+
const headerDate = /* @__PURE__ */ new Date();
|
|
14402
|
+
headerDate.setMonth(month);
|
|
14403
|
+
headerDate.setFullYear(year);
|
|
14404
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(DatePickerContainer, { "data-testid": "datepicker-calendar-container", isResponsive: false, fillWidth: false, orientation: "vertical", padding: "sm", children: [
|
|
14405
|
+
/* @__PURE__ */ jsxRuntime.jsxs(Container, { isResponsive: false, justifyContent: "space-between", orientation: "horizontal", children: [
|
|
14406
|
+
/* @__PURE__ */ jsxRuntime.jsx(IconButton$1, { icon: "chevron-left", onClick: handlePreviousClick, size: "sm", type: "ghost" }),
|
|
14407
|
+
/* @__PURE__ */ jsxRuntime.jsx(UnselectableTitle, { children: headerDateFormatter.format(headerDate) }),
|
|
14408
|
+
/* @__PURE__ */ jsxRuntime.jsx(IconButton$1, { icon: "chevron-right", onClick: handleNextClick, size: "sm", type: "ghost" })
|
|
14409
|
+
] }),
|
|
14410
|
+
/* @__PURE__ */ jsxRuntime.jsxs(DateTable, { children: [
|
|
14411
|
+
/* @__PURE__ */ jsxRuntime.jsx("thead", { children: /* @__PURE__ */ jsxRuntime.jsx("tr", { children: headers.weekDays.map(({
|
|
14412
|
+
key,
|
|
14413
|
+
value: date
|
|
14414
|
+
}) => {
|
|
14415
|
+
return /* @__PURE__ */ jsxRuntime.jsx(DateTableHeader, { children: weekdayFormatter.format(date) }, key);
|
|
14416
|
+
}) }) }),
|
|
14417
|
+
/* @__PURE__ */ jsxRuntime.jsx("tbody", { children: body.value.map(({
|
|
14418
|
+
key: weekKey,
|
|
14419
|
+
value: week
|
|
14420
|
+
}) => {
|
|
14421
|
+
return /* @__PURE__ */ jsxRuntime.jsx("tr", { children: week.map(({
|
|
14422
|
+
date,
|
|
14423
|
+
isCurrentMonth,
|
|
14424
|
+
key: dayKey,
|
|
14425
|
+
value: fullDate
|
|
14426
|
+
}) => {
|
|
14427
|
+
const isSelected = selectedDate ? isSameDate(selectedDate, fullDate) : false;
|
|
14428
|
+
const today = /* @__PURE__ */ new Date();
|
|
14429
|
+
const isCurrentDate = isSameDate(today, fullDate);
|
|
14430
|
+
const isDisabled = futureDatesDisabled ? fullDate > today : false;
|
|
14431
|
+
return /* @__PURE__ */ jsxRuntime.jsx(DateTableCell, { $isCurrentMonth: isCurrentMonth, $isDisabled: isDisabled, $isSelected: isSelected, $isToday: isCurrentDate, onClick: () => {
|
|
14432
|
+
if (isDisabled) {
|
|
14433
|
+
return false;
|
|
14434
|
+
}
|
|
14435
|
+
setSelectedDate(fullDate);
|
|
14436
|
+
closeDatepicker();
|
|
14437
|
+
}, children: date }, dayKey);
|
|
14438
|
+
}) }, weekKey);
|
|
14439
|
+
}) })
|
|
14440
|
+
] })
|
|
14441
|
+
] });
|
|
14442
|
+
};
|
|
14443
|
+
const DatePicker = ({
|
|
14444
|
+
date,
|
|
14445
|
+
disabled = false,
|
|
14446
|
+
futureDatesDisabled = false,
|
|
14447
|
+
onSelectDate,
|
|
14448
|
+
placeholder
|
|
14449
|
+
}) => {
|
|
14450
|
+
const [isOpen, setIsOpen] = React.useState(false);
|
|
14451
|
+
const [selectedDate, setSelectedDate] = React.useState();
|
|
14452
|
+
React.useEffect(() => {
|
|
14453
|
+
if (date) {
|
|
14454
|
+
setSelectedDate(date);
|
|
14455
|
+
}
|
|
14456
|
+
}, [date]);
|
|
14457
|
+
const closeDatePicker = () => {
|
|
14458
|
+
setIsOpen(false);
|
|
14459
|
+
};
|
|
14460
|
+
const handleSelectDate = (selectedDate2) => {
|
|
14461
|
+
setSelectedDate(selectedDate2);
|
|
14462
|
+
onSelectDate(selectedDate2);
|
|
14463
|
+
};
|
|
14464
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(Dropdown, { onOpenChange: setIsOpen, open: isOpen, children: [
|
|
14465
|
+
/* @__PURE__ */ jsxRuntime.jsx(Dropdown.Trigger, { disabled, children: /* @__PURE__ */ jsxRuntime.jsx(DatePickerInput, { "data-testid": "datepicker-inpcontainer", disabled, isActive: isOpen, placeholder, selectedDate }) }),
|
|
14466
|
+
/* @__PURE__ */ jsxRuntime.jsx(Dropdown.Content, { align: "start", children: /* @__PURE__ */ jsxRuntime.jsx(Calendar, { closeDatepicker: closeDatePicker, futureDatesDisabled, selectedDate, setSelectedDate: handleSelectDate }) })
|
|
14467
|
+
] });
|
|
14468
|
+
};
|
|
13695
14469
|
const $5d3850c4d0b4e6c7$var$DIALOG_NAME = "Dialog";
|
|
13696
14470
|
const [$5d3850c4d0b4e6c7$var$createDialogContext, $5d3850c4d0b4e6c7$export$cc702773b8ea3e41] = $c512c27ab02ef895$export$50c7b4e9d9f19c1($5d3850c4d0b4e6c7$var$DIALOG_NAME);
|
|
13697
14471
|
const [$5d3850c4d0b4e6c7$var$DialogProvider, $5d3850c4d0b4e6c7$var$useDialogContext] = $5d3850c4d0b4e6c7$var$createDialogContext($5d3850c4d0b4e6c7$var$DIALOG_NAME);
|
|
@@ -13959,7 +14733,7 @@ var __publicField = (obj, key, value) => {
|
|
|
13959
14733
|
}) => {
|
|
13960
14734
|
return /* @__PURE__ */ jsxRuntime.jsx($5d3850c4d0b4e6c7$export$be92b6f5f03c0fe9, { ...props, children });
|
|
13961
14735
|
};
|
|
13962
|
-
const Trigger$4 =
|
|
14736
|
+
const Trigger$4 = styled.styled($5d3850c4d0b4e6c7$export$41fb9f06171c75f4).withConfig({
|
|
13963
14737
|
componentId: "sc-1wr6otn-0"
|
|
13964
14738
|
})(["width:fit-content;background:transparent;border:none;cursor:pointer;"]);
|
|
13965
14739
|
const DialogTrigger = ({
|
|
@@ -13977,7 +14751,7 @@ var __publicField = (obj, key, value) => {
|
|
|
13977
14751
|
}) => /* @__PURE__ */ jsxRuntime.jsx($5d3850c4d0b4e6c7$export$f39c2d165cd861fe, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(Button, { type, label, ...props }) });
|
|
13978
14752
|
DialogClose.displayName = "DialogClose";
|
|
13979
14753
|
Dialog.Close = DialogClose;
|
|
13980
|
-
const overlayShow =
|
|
14754
|
+
const overlayShow = styled.keyframes({
|
|
13981
14755
|
"0%": {
|
|
13982
14756
|
opacity: 0
|
|
13983
14757
|
},
|
|
@@ -13985,7 +14759,7 @@ var __publicField = (obj, key, value) => {
|
|
|
13985
14759
|
opacity: 1
|
|
13986
14760
|
}
|
|
13987
14761
|
});
|
|
13988
|
-
const contentShow =
|
|
14762
|
+
const contentShow = styled.keyframes({
|
|
13989
14763
|
"0%": {
|
|
13990
14764
|
opacity: 0,
|
|
13991
14765
|
transform: "translate(-50%, -48%) scale(.96)"
|
|
@@ -13995,12 +14769,12 @@ var __publicField = (obj, key, value) => {
|
|
|
13995
14769
|
transform: "translate(-50%, -50%) scale(1)"
|
|
13996
14770
|
}
|
|
13997
14771
|
});
|
|
13998
|
-
const DialogOverlay =
|
|
14772
|
+
const DialogOverlay = styled.styled($5d3850c4d0b4e6c7$export$c6fdb837b070b4ff).withConfig({
|
|
13999
14773
|
componentId: "sc-1wr6otn-1"
|
|
14000
14774
|
})(["background-color:", ";position:fixed;inset:0;animation:", " 150ms cubic-bezier(0.16,1,0.3,1);"], ({
|
|
14001
14775
|
theme: theme2
|
|
14002
14776
|
}) => theme2.click.dialog.color.opaqueBackground.default, overlayShow);
|
|
14003
|
-
const ContentArea =
|
|
14777
|
+
const ContentArea = styled.styled($5d3850c4d0b4e6c7$export$7c6e2c02157bb7d2).withConfig({
|
|
14004
14778
|
componentId: "sc-1wr6otn-2"
|
|
14005
14779
|
})(["background:", ";border-radius:", ";padding:", " ", ";box-shadow:", ";border:1px solid ", ";width:75%;max-width:670px;position:fixed;top:50%;left:50%;max-height:75%;overflow:auto;transform:translate(-50%,-50%);animation:", " 150ms cubic-bezier(0.16,1,0.3,1);outline:none;"], ({
|
|
14006
14780
|
theme: theme2
|
|
@@ -14015,12 +14789,12 @@ var __publicField = (obj, key, value) => {
|
|
|
14015
14789
|
}) => theme2.click.dialog.shadow.default, ({
|
|
14016
14790
|
theme: theme2
|
|
14017
14791
|
}) => theme2.click.global.color.stroke.default, contentShow);
|
|
14018
|
-
const TitleArea =
|
|
14792
|
+
const TitleArea = styled.styled.div.withConfig({
|
|
14019
14793
|
componentId: "sc-1wr6otn-3"
|
|
14020
14794
|
})(["display:flex;justify-content:space-between;align-items:center;min-height:", ";"], ({
|
|
14021
14795
|
theme: theme2
|
|
14022
14796
|
}) => theme2.sizes[9]);
|
|
14023
|
-
const Title$1 =
|
|
14797
|
+
const Title$1 = styled.styled.h2.withConfig({
|
|
14024
14798
|
componentId: "sc-1wr6otn-4"
|
|
14025
14799
|
})(["font:", ";padding:0;margin:0;"], ({
|
|
14026
14800
|
theme: theme2
|
|
@@ -14052,10 +14826,10 @@ var __publicField = (obj, key, value) => {
|
|
|
14052
14826
|
};
|
|
14053
14827
|
DialogContent$1.displayName = "DialogContent";
|
|
14054
14828
|
Dialog.Content = DialogContent$1;
|
|
14055
|
-
const ActionsWrapper =
|
|
14829
|
+
const ActionsWrapper = styled.styled.div.withConfig({
|
|
14056
14830
|
componentId: "sc-6eozxy-0"
|
|
14057
14831
|
})(["display:flex;justify-content:flex-end;gap:", ";"], (props) => props.theme.click.dialog.space.gap);
|
|
14058
|
-
const DialogContent =
|
|
14832
|
+
const DialogContent = styled.styled.div.withConfig({
|
|
14059
14833
|
componentId: "sc-6eozxy-1"
|
|
14060
14834
|
})(["overflow:hidden;display:flex;flex-direction:column;"]);
|
|
14061
14835
|
const ConfirmationDialog = ({
|
|
@@ -14080,7 +14854,7 @@ var __publicField = (obj, key, value) => {
|
|
|
14080
14854
|
!open22 && onCancel && onCancel();
|
|
14081
14855
|
}, children: /* @__PURE__ */ jsxRuntime.jsxs(DialogContent, { as: Dialog.Content, title, showClose, ...props, children: [
|
|
14082
14856
|
/* @__PURE__ */ jsxRuntime.jsx(Container, { overflow: "auto", grow: "1", orientation: "vertical", children: children ? children : /* @__PURE__ */ jsxRuntime.jsx(Text, { children: message }) }),
|
|
14083
|
-
/* @__PURE__ */ jsxRuntime.jsx(Separator
|
|
14857
|
+
/* @__PURE__ */ jsxRuntime.jsx(Separator, { size: "xl" }),
|
|
14084
14858
|
/* @__PURE__ */ jsxRuntime.jsxs(ActionsWrapper, { children: [
|
|
14085
14859
|
/* @__PURE__ */ jsxRuntime.jsx(Dialog.Close, { label: secondaryActionLabel, "data-testid": "cancel-action-button" }),
|
|
14086
14860
|
/* @__PURE__ */ jsxRuntime.jsx(Dialog.Close, { loading: !!loading, disabled: !!disabled || !!loading, type: primaryActionType, label: primaryActionLabel, onClick: () => {
|
|
@@ -14105,7 +14879,7 @@ var __publicField = (obj, key, value) => {
|
|
|
14105
14879
|
};
|
|
14106
14880
|
Trigger$3.displayName = "Flyout.Trigger";
|
|
14107
14881
|
Flyout.Trigger = Trigger$3;
|
|
14108
|
-
const animationWidth = () =>
|
|
14882
|
+
const animationWidth = () => styled.keyframes({
|
|
14109
14883
|
from: {
|
|
14110
14884
|
width: 0
|
|
14111
14885
|
},
|
|
@@ -14113,7 +14887,7 @@ var __publicField = (obj, key, value) => {
|
|
|
14113
14887
|
width: "fit-content"
|
|
14114
14888
|
}
|
|
14115
14889
|
});
|
|
14116
|
-
const FlyoutContent =
|
|
14890
|
+
const FlyoutContent = styled.styled($5d3850c4d0b4e6c7$export$b6d9565de1e068cf).withConfig({
|
|
14117
14891
|
componentId: "sc-1vtv6sf-0"
|
|
14118
14892
|
})(["display:flex;flex-direction:column;align-items:center;overflow:hidden;top:0;bottom:0;width:fit-content;--flyout-width:", ";animation:", " 500ms cubic-bezier(0.16,1,0.3,1) forwards;", ""], ({
|
|
14119
14893
|
theme: theme2,
|
|
@@ -14149,7 +14923,7 @@ var __publicField = (obj, key, value) => {
|
|
|
14149
14923
|
}
|
|
14150
14924
|
}
|
|
14151
14925
|
`);
|
|
14152
|
-
const FlyoutContainer =
|
|
14926
|
+
const FlyoutContainer = styled.styled.div.withConfig({
|
|
14153
14927
|
componentId: "sc-1vtv6sf-1"
|
|
14154
14928
|
})(["display:flex;gap:0;width:var(--flyout-width);max-width:100%;flex-flow:column nowrap;gap:inherit;"]);
|
|
14155
14929
|
const Content$1 = ({
|
|
@@ -14179,7 +14953,7 @@ var __publicField = (obj, key, value) => {
|
|
|
14179
14953
|
};
|
|
14180
14954
|
Content$1.displayName = "Flyout.Content";
|
|
14181
14955
|
Flyout.Content = Content$1;
|
|
14182
|
-
const FlyoutElement =
|
|
14956
|
+
const FlyoutElement = styled.styled(Container).withConfig({
|
|
14183
14957
|
componentId: "sc-1vtv6sf-2"
|
|
14184
14958
|
})(["max-width:100%;max-width:-webkit-fill-available;max-width:fill-available;max-width:stretch;", ""], ({
|
|
14185
14959
|
theme: theme2,
|
|
@@ -14194,7 +14968,7 @@ var __publicField = (obj, key, value) => {
|
|
|
14194
14968
|
}) => /* @__PURE__ */ jsxRuntime.jsx(FlyoutElement, { orientation: "vertical", padding: "none", gap: "none", $type: type, ...props });
|
|
14195
14969
|
Element$1.displayName = "Flyout.Element";
|
|
14196
14970
|
Flyout.Element = Element$1;
|
|
14197
|
-
const FlyoutHeaderContainer =
|
|
14971
|
+
const FlyoutHeaderContainer = styled.styled(Container).withConfig({
|
|
14198
14972
|
componentId: "sc-1vtv6sf-3"
|
|
14199
14973
|
})(["", ""], ({
|
|
14200
14974
|
theme: theme2,
|
|
@@ -14204,7 +14978,7 @@ var __publicField = (obj, key, value) => {
|
|
|
14204
14978
|
column-gap: ${theme2.click.flyout.space[$type].content["column-gap"]};
|
|
14205
14979
|
padding: ${theme2.click.flyout.space[$type].y} ${theme2.click.flyout.space[$type].y} 0 ${theme2.click.flyout.space[$type].y} ;
|
|
14206
14980
|
`);
|
|
14207
|
-
const FlyoutTitle =
|
|
14981
|
+
const FlyoutTitle = styled.styled($5d3850c4d0b4e6c7$export$16f7638e4a34b909).withConfig({
|
|
14208
14982
|
componentId: "sc-1vtv6sf-4"
|
|
14209
14983
|
})(["", ""], ({
|
|
14210
14984
|
theme: theme2,
|
|
@@ -14215,7 +14989,7 @@ var __publicField = (obj, key, value) => {
|
|
|
14215
14989
|
margin: 0;
|
|
14216
14990
|
padding: 0;
|
|
14217
14991
|
`);
|
|
14218
|
-
const FlyoutDescription =
|
|
14992
|
+
const FlyoutDescription = styled.styled($5d3850c4d0b4e6c7$export$94e94c2ec2c954d5).withConfig({
|
|
14219
14993
|
componentId: "sc-1vtv6sf-5"
|
|
14220
14994
|
})(["", ""], ({
|
|
14221
14995
|
theme: theme2,
|
|
@@ -14241,7 +15015,7 @@ var __publicField = (obj, key, value) => {
|
|
|
14241
15015
|
/* @__PURE__ */ jsxRuntime.jsx(Container, { padding: "none", gap: "none", orientation: "vertical", grow: "1", children }),
|
|
14242
15016
|
showClose && /* @__PURE__ */ jsxRuntime.jsx($5d3850c4d0b4e6c7$export$fba2fb7cd781b7ac, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(CrossButton, { "data-testid": "flyout-header-close-btn", children: /* @__PURE__ */ jsxRuntime.jsx(SvgImage, { name: "cross", size: type === "inline" ? "md" : "lg" }) }) })
|
|
14243
15017
|
] }),
|
|
14244
|
-
showSeparator && /* @__PURE__ */ jsxRuntime.jsx(Separator
|
|
15018
|
+
showSeparator && /* @__PURE__ */ jsxRuntime.jsx(Separator, { "data-testid": "flyout-header-separator", size: "lg" })
|
|
14245
15019
|
] });
|
|
14246
15020
|
}
|
|
14247
15021
|
return /* @__PURE__ */ jsxRuntime.jsxs(FlyoutContainer, { children: [
|
|
@@ -14252,12 +15026,12 @@ var __publicField = (obj, key, value) => {
|
|
|
14252
15026
|
] }),
|
|
14253
15027
|
showClose && /* @__PURE__ */ jsxRuntime.jsx($5d3850c4d0b4e6c7$export$fba2fb7cd781b7ac, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(CrossButton, { "data-testid": "flyout-header-close-btn", children: /* @__PURE__ */ jsxRuntime.jsx(SvgImage, { name: "cross", size: type === "inline" ? "md" : "lg" }) }) })
|
|
14254
15028
|
] }),
|
|
14255
|
-
showSeparator && /* @__PURE__ */ jsxRuntime.jsx(Separator
|
|
15029
|
+
showSeparator && /* @__PURE__ */ jsxRuntime.jsx(Separator, { "data-testid": "flyout-header-separator", size: "lg" })
|
|
14256
15030
|
] });
|
|
14257
15031
|
};
|
|
14258
15032
|
Header$1.displayName = "Flyout.Header";
|
|
14259
15033
|
Flyout.Header = Header$1;
|
|
14260
|
-
const FlyoutBody =
|
|
15034
|
+
const FlyoutBody = styled.styled(Container).withConfig({
|
|
14261
15035
|
componentId: "sc-1vtv6sf-6"
|
|
14262
15036
|
})(["width:var(--flyout-width);max-width:100%;margin-top:", ";"], ({
|
|
14263
15037
|
$align = "default"
|
|
@@ -14268,7 +15042,7 @@ var __publicField = (obj, key, value) => {
|
|
|
14268
15042
|
}) => /* @__PURE__ */ jsxRuntime.jsx(FlyoutBody, { overflow: "auto", orientation: "vertical", grow: "1", $align: align, ...props });
|
|
14269
15043
|
Body.displayName = "Flyout.Body";
|
|
14270
15044
|
Flyout.Body = Body;
|
|
14271
|
-
const FlyoutFooter =
|
|
15045
|
+
const FlyoutFooter = styled.styled(Container).withConfig({
|
|
14272
15046
|
componentId: "sc-1vtv6sf-7"
|
|
14273
15047
|
})(["", ""], ({
|
|
14274
15048
|
theme: theme2,
|
|
@@ -14286,18 +15060,18 @@ var __publicField = (obj, key, value) => {
|
|
|
14286
15060
|
};
|
|
14287
15061
|
FlyoutClose.displayName = "Flyout.Close";
|
|
14288
15062
|
Flyout.Close = FlyoutClose;
|
|
14289
|
-
const FooterContainer =
|
|
15063
|
+
const FooterContainer = styled.styled(Container).withConfig({
|
|
14290
15064
|
componentId: "sc-1vtv6sf-8"
|
|
14291
15065
|
})(["width:var(--flyout-width);max-width:100%;"]);
|
|
14292
15066
|
const Footer = (props) => {
|
|
14293
15067
|
return /* @__PURE__ */ jsxRuntime.jsxs(FooterContainer, { gap: "none", orientation: "vertical", alignItems: "end", children: [
|
|
14294
|
-
/* @__PURE__ */ jsxRuntime.jsx(Separator
|
|
15068
|
+
/* @__PURE__ */ jsxRuntime.jsx(Separator, { size: "xs" }),
|
|
14295
15069
|
/* @__PURE__ */ jsxRuntime.jsx(FlyoutFooter, { justifyContent: "end", gap: "none", padding: "none", isResponsive: false, wrap: "wrap", ...props })
|
|
14296
15070
|
] });
|
|
14297
15071
|
};
|
|
14298
15072
|
Footer.displayName = "Flyout.Footer";
|
|
14299
15073
|
Flyout.Footer = Footer;
|
|
14300
|
-
const CustomCodeBlock =
|
|
15074
|
+
const CustomCodeBlock = styled.styled(CodeBlock).withConfig({
|
|
14301
15075
|
componentId: "sc-1vtv6sf-9"
|
|
14302
15076
|
})(["display:flex;height:100%;pre{flex:1;overflow-wrap:break-word;code{display:inline-block;max-width:calc(100% - 1rem);}}"]);
|
|
14303
15077
|
const FlyoutCodeBlock = ({
|
|
@@ -14359,9 +15133,9 @@ var __publicField = (obj, key, value) => {
|
|
|
14359
15133
|
overflow,
|
|
14360
15134
|
...props
|
|
14361
15135
|
}) => {
|
|
14362
|
-
return /* @__PURE__ */ jsxRuntime.jsx(Wrapper$
|
|
15136
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Wrapper$3, { $alignItems: alignItems, $alignContent: alignContent, $columnGap: columnGap, $gap: gap, $gridAutoColumns: gridAutoColumns, $gridAutoFlow: gridAutoFlow, $gridAutoRows: gridAutoRows, $gridTemplateAreas: gridTemplateAreas, $gridTemplateColumns: gridTemplateColumns, $gridTemplateRows: gridTemplateRows, $gridTemplate: gridTemplate, $inline: inline, $isResponsive: isResponsive, $justifyContent: justifyContent, $justifyItems: justifyItems, $rowGap: rowGap, $height: height, $maxHeight: maxHeight, $minHeight: minHeight, $fillWidth: fillWidth, $maxWidth: maxWidth, $minWidth: minWidth, $overflow: overflow, "data-testid": "grid-container", ...props, children });
|
|
14363
15137
|
};
|
|
14364
|
-
const Wrapper$
|
|
15138
|
+
const Wrapper$3 = styled.styled.div.withConfig({
|
|
14365
15139
|
componentId: "sc-r57kdn-0"
|
|
14366
15140
|
})(["align-items:", ";align-content:", ";display:", ";", ";", ";", ";", ";", ";", ";", ";justify-content:", ";justify-items:", ";", " ", " ", " ", " @media (max-width:", "){grid-template-columns:", ";}"], ({
|
|
14367
15141
|
$alignItems = "stretch"
|
|
@@ -14423,7 +15197,7 @@ var __publicField = (obj, key, value) => {
|
|
|
14423
15197
|
}) => $isResponsive === true ? "1fr" : ({
|
|
14424
15198
|
$gridTemplateColumns
|
|
14425
15199
|
}) => $gridTemplateColumns || "auto");
|
|
14426
|
-
const InlineContainer =
|
|
15200
|
+
const InlineContainer = styled.styled.span.withConfig({
|
|
14427
15201
|
componentId: "sc-ugg5k0-0"
|
|
14428
15202
|
})(["", ""], ({
|
|
14429
15203
|
theme: theme2
|
|
@@ -14664,7 +15438,7 @@ var __publicField = (obj, key, value) => {
|
|
|
14664
15438
|
};
|
|
14665
15439
|
ContextMenuSubTrigger.displayName = "ContextMenuSubTrigger";
|
|
14666
15440
|
ContextMenu.SubTrigger = ContextMenuSubTrigger;
|
|
14667
|
-
const RightMenuContent =
|
|
15441
|
+
const RightMenuContent = styled.styled(GenericMenuPanel).withConfig({
|
|
14668
15442
|
componentId: "sc-8z6kye-0"
|
|
14669
15443
|
})(["flex-direction:column;z-index:1;", ";"], ({
|
|
14670
15444
|
$showArrow
|
|
@@ -14703,7 +15477,7 @@ var __publicField = (obj, key, value) => {
|
|
|
14703
15477
|
};
|
|
14704
15478
|
ContextMenuContent.displayName = "ContextMenuContent";
|
|
14705
15479
|
ContextMenu.Content = ContextMenuContent;
|
|
14706
|
-
const RightMenuGroup =
|
|
15480
|
+
const RightMenuGroup = styled.styled($1b0217ee4a91d156$export$eb2fcfdbd7ba97d4).withConfig({
|
|
14707
15481
|
componentId: "sc-8z6kye-1"
|
|
14708
15482
|
})(["width:100%;border-bottom:1px solid ", ";"], ({
|
|
14709
15483
|
theme: theme2
|
|
@@ -14713,7 +15487,7 @@ var __publicField = (obj, key, value) => {
|
|
|
14713
15487
|
};
|
|
14714
15488
|
ContextMenuGroup.displayName = "ContextMenuGroup";
|
|
14715
15489
|
ContextMenu.Group = ContextMenuGroup;
|
|
14716
|
-
const RightMenuSub =
|
|
15490
|
+
const RightMenuSub = styled.styled($1b0217ee4a91d156$export$d7a01e11500dfb6f).withConfig({
|
|
14717
15491
|
componentId: "sc-8z6kye-2"
|
|
14718
15492
|
})(["border-bottom:1px solid ", ";"], ({
|
|
14719
15493
|
theme: theme2
|
|
@@ -15821,7 +16595,7 @@ var __publicField = (obj, key, value) => {
|
|
|
15821
16595
|
}, !bailoutOnChildren && children(childParams));
|
|
15822
16596
|
}
|
|
15823
16597
|
}
|
|
15824
|
-
const StyledCell =
|
|
16598
|
+
const StyledCell = styled.styled.div.withConfig({
|
|
15825
16599
|
componentId: "sc-30izhw-0"
|
|
15826
16600
|
})(['display:block;text-align:left;&[data-align="right"]{text-align:right;}overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:default;width:100%;box-sizing:border-box;', " ", ";"], ({
|
|
15827
16601
|
theme: theme2,
|
|
@@ -15876,7 +16650,7 @@ var __publicField = (obj, key, value) => {
|
|
|
15876
16650
|
${$selectionType === "selectDirect" && $isLastColumn ? `border-right: 1px solid ${theme2.click.grid[$type].cell.color.stroke.selectDirect};` : ""}
|
|
15877
16651
|
}
|
|
15878
16652
|
` : "");
|
|
15879
|
-
const RowNumberColumnContainer =
|
|
16653
|
+
const RowNumberColumnContainer = styled.styled.div.withConfig({
|
|
15880
16654
|
componentId: "sc-7gbi4d-0"
|
|
15881
16655
|
})(["position:sticky;left:0;", " ", ""], ({
|
|
15882
16656
|
$height,
|
|
@@ -15889,7 +16663,7 @@ var __publicField = (obj, key, value) => {
|
|
|
15889
16663
|
$scrolledHorizontal,
|
|
15890
16664
|
theme: theme2
|
|
15891
16665
|
}) => $scrolledHorizontal ? `box-shadow: 0px 0 0px 1px ${theme2.click.grid.header.cell.color.stroke.default};` : "");
|
|
15892
|
-
const RowNumberCell =
|
|
16666
|
+
const RowNumberCell = styled.styled.div.withConfig({
|
|
15893
16667
|
componentId: "sc-7gbi4d-1"
|
|
15894
16668
|
})(["position:absolute;left:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%;", ""], ({
|
|
15895
16669
|
$height,
|
|
@@ -16148,7 +16922,7 @@ var __publicField = (obj, key, value) => {
|
|
|
16148
16922
|
}
|
|
16149
16923
|
var throttle_1 = throttle$1;
|
|
16150
16924
|
const throttle$2 = /* @__PURE__ */ getDefaultExportFromCjs(throttle_1);
|
|
16151
|
-
const ResizeSpan =
|
|
16925
|
+
const ResizeSpan = styled.styled.div.withConfig({
|
|
16152
16926
|
componentId: "sc-1r6e5v3-0"
|
|
16153
16927
|
})(["top:0;left:calc(100% - 4px);z-index:1;position:absolute;height:", "px;cursor:col-resize;width:4px;overflow:auto;&:hover,&:active,&:hover{background:", ";}", ""], ({
|
|
16154
16928
|
$height
|
|
@@ -16226,7 +17000,7 @@ var __publicField = (obj, key, value) => {
|
|
|
16226
17000
|
}
|
|
16227
17001
|
}, onMouseMove, onMouseDown, onClick: (e) => e.stopPropagation(), onMouseUp, "data-resize": true });
|
|
16228
17002
|
};
|
|
16229
|
-
const HeaderContainer =
|
|
17003
|
+
const HeaderContainer = styled.styled.div.withConfig({
|
|
16230
17004
|
componentId: "sc-1oadqc8-0"
|
|
16231
17005
|
})(["position:sticky;top:0;left:0;display:flex;flex-direction:row;height:", "px;", ""], ({
|
|
16232
17006
|
$height
|
|
@@ -16234,12 +17008,12 @@ var __publicField = (obj, key, value) => {
|
|
|
16234
17008
|
$scrolledVertical,
|
|
16235
17009
|
theme: theme2
|
|
16236
17010
|
}) => $scrolledVertical ? `box-shadow: 0px 0 0px 1px ${theme2.click.grid.header.cell.color.stroke.default};` : "");
|
|
16237
|
-
const ScrollableHeaderContainer =
|
|
17011
|
+
const ScrollableHeaderContainer = styled.styled.div.withConfig({
|
|
16238
17012
|
componentId: "sc-1oadqc8-1"
|
|
16239
17013
|
})(["position:relative;left:", "px;"], ({
|
|
16240
17014
|
$left
|
|
16241
17015
|
}) => $left);
|
|
16242
|
-
const HeaderCellContainer =
|
|
17016
|
+
const HeaderCellContainer = styled.styled.div.withConfig({
|
|
16243
17017
|
componentId: "sc-1oadqc8-2"
|
|
16244
17018
|
})(["position:absolute;display:flex;width:", ";height:", "px;left:", "px;&:hover [data-resize]{background:", ";}"], ({
|
|
16245
17019
|
$width
|
|
@@ -16250,7 +17024,7 @@ var __publicField = (obj, key, value) => {
|
|
|
16250
17024
|
}) => $columnPosition, ({
|
|
16251
17025
|
theme: theme2
|
|
16252
17026
|
}) => theme2.click.grid.header.cell.color.stroke.selectDirect);
|
|
16253
|
-
const RowColumnContainer =
|
|
17027
|
+
const RowColumnContainer = styled.styled(HeaderCellContainer).withConfig({
|
|
16254
17028
|
componentId: "sc-1oadqc8-3"
|
|
16255
17029
|
})(["position:sticky;top:0;left:0;width:", ";text-align:right;", ""], ({
|
|
16256
17030
|
$width
|
|
@@ -16258,7 +17032,7 @@ var __publicField = (obj, key, value) => {
|
|
|
16258
17032
|
$scrolledHorizontal,
|
|
16259
17033
|
theme: theme2
|
|
16260
17034
|
}) => $scrolledHorizontal ? `box-shadow: 0px 0 0px 1px ${theme2.click.grid.header.cell.color.stroke.default};` : "");
|
|
16261
|
-
const RowColumn =
|
|
17035
|
+
const RowColumn = styled.styled(StyledCell).withConfig({
|
|
16262
17036
|
componentId: "sc-1oadqc8-4"
|
|
16263
17037
|
})(["width:100%;text-align:right;"]);
|
|
16264
17038
|
const Column = ({
|
|
@@ -30836,7 +31610,7 @@ var __publicField = (obj, key, value) => {
|
|
|
30836
31610
|
const NO_BUTTONS_PRESSED = 0;
|
|
30837
31611
|
const LEFT_BUTTON_PRESSED = 1;
|
|
30838
31612
|
const RIGHT_BUTTON_PRESSED = 2;
|
|
30839
|
-
const GridContainer =
|
|
31613
|
+
const GridContainer = styled.styled.div.withConfig({
|
|
30840
31614
|
componentId: "sc-175eneg-0"
|
|
30841
31615
|
})(["display:flex;flex-direction:column-reverse;user-select:none;overflow-anchor:none;"]);
|
|
30842
31616
|
const getRenderedCursor = (children) => children.reduce(([minRow, maxRow, minColumn, maxColumn], {
|
|
@@ -30859,7 +31633,7 @@ var __publicField = (obj, key, value) => {
|
|
|
30859
31633
|
}
|
|
30860
31634
|
return [minRow, maxRow, minColumn, maxColumn];
|
|
30861
31635
|
}, [Number.POSITIVE_INFINITY, Number.NEGATIVE_INFINITY, Number.POSITIVE_INFINITY, Number.NEGATIVE_INFINITY]);
|
|
30862
|
-
const GridDataContainer =
|
|
31636
|
+
const GridDataContainer = styled.styled.div.withConfig({
|
|
30863
31637
|
componentId: "sc-175eneg-1"
|
|
30864
31638
|
})(["position:absolute;top:0;left:0;", ""], ({
|
|
30865
31639
|
$top,
|
|
@@ -30868,7 +31642,7 @@ var __publicField = (obj, key, value) => {
|
|
|
30868
31642
|
margin-top: ${$top}px;
|
|
30869
31643
|
margin-left: ${$left}px;
|
|
30870
31644
|
`);
|
|
30871
|
-
const ContextMenuTrigger =
|
|
31645
|
+
const ContextMenuTrigger = styled.styled.div.withConfig({
|
|
30872
31646
|
componentId: "sc-175eneg-2"
|
|
30873
31647
|
})(["outline:none;overflow:hidden;height:", ";width:100%;background:", ";border-radius:", ";", ";"], ({
|
|
30874
31648
|
$height
|
|
@@ -31615,7 +32389,7 @@ var __publicField = (obj, key, value) => {
|
|
|
31615
32389
|
}) => {
|
|
31616
32390
|
return /* @__PURE__ */ jsxRuntime.jsx($cef8881cdc69808e$export$be92b6f5f03c0fe9, { ...props, children });
|
|
31617
32391
|
};
|
|
31618
|
-
const Trigger$2 =
|
|
32392
|
+
const Trigger$2 = styled.styled($cef8881cdc69808e$export$41fb9f06171c75f4).withConfig({
|
|
31619
32393
|
componentId: "sc-1ect7b6-0"
|
|
31620
32394
|
})(["width:fit-content;"]);
|
|
31621
32395
|
const HoverCardTrigger = ({
|
|
@@ -31640,7 +32414,7 @@ var __publicField = (obj, key, value) => {
|
|
|
31640
32414
|
};
|
|
31641
32415
|
HoverCardContent.displayName = "HoverCardContent";
|
|
31642
32416
|
HoverCard.Content = HoverCardContent;
|
|
31643
|
-
const CuiLink =
|
|
32417
|
+
const CuiLink = styled.styled.a.withConfig({
|
|
31644
32418
|
componentId: "sc-1bwz77u-0"
|
|
31645
32419
|
})(["font:", ";color:", ";margin:0;text-decoration:none;display:inline-flex;gap:", ";margin-right:", ";align-items:center;&:hover,&:focus{color:", ";transition:", ";text-decoration:underline;cursor:pointer;}&:visited{color:", ";}"], ({
|
|
31646
32420
|
$size,
|
|
@@ -31661,7 +32435,7 @@ var __publicField = (obj, key, value) => {
|
|
|
31661
32435
|
}) => theme2.transition.default, ({
|
|
31662
32436
|
theme: theme2
|
|
31663
32437
|
}) => theme2.click.global.color.text.link.default);
|
|
31664
|
-
const IconWrapper$1 =
|
|
32438
|
+
const IconWrapper$1 = styled.styled.span.withConfig({
|
|
31665
32439
|
componentId: "sc-1bwz77u-1"
|
|
31666
32440
|
})([".external-icon{height:", ";width:", ";}"], ({
|
|
31667
32441
|
$size,
|
|
@@ -31683,188 +32457,6 @@ var __publicField = (obj, key, value) => {
|
|
|
31683
32457
|
icon && /* @__PURE__ */ jsxRuntime.jsx(IconWrapper$1, { $size: size2, children: /* @__PURE__ */ jsxRuntime.jsx(SvgImage, { name: icon, className: "external-icon", "data-testid": icon }) })
|
|
31684
32458
|
] });
|
|
31685
32459
|
const Link = React.forwardRef(_Link);
|
|
31686
|
-
const Wrapper$3 = styledComponents.styled.div.withConfig({
|
|
31687
|
-
componentId: "sc-1pvd2nj-0"
|
|
31688
|
-
})(["width:inherit;display:flex;align-items:center;justify-content:space-between;align-items:center;span:first-of-type{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;}", ""], ({
|
|
31689
|
-
theme: theme2,
|
|
31690
|
-
$error,
|
|
31691
|
-
$resize
|
|
31692
|
-
}) => `
|
|
31693
|
-
gap: ${theme2.click.field.space.gap};
|
|
31694
|
-
border-radius: ${theme2.click.field.radii.all};
|
|
31695
|
-
font: ${theme2.click.field.typography.fieldText.default};
|
|
31696
|
-
color: ${theme2.click.field.color.text.default};
|
|
31697
|
-
border: 1px solid ${theme2.click.field.color.stroke.default};
|
|
31698
|
-
background: ${theme2.click.field.color.background.default};
|
|
31699
|
-
|
|
31700
|
-
*:autofill,
|
|
31701
|
-
*:-webkit-autofill {
|
|
31702
|
-
-webkit-box-shadow: 0 0 0px 50vh ${theme2.click.field.color.background.default} inset;
|
|
31703
|
-
-webkit-text-fill-color: ${theme2.click.field.color.text.default};
|
|
31704
|
-
caret-color: ${theme2.click.field.color.text.default};
|
|
31705
|
-
}
|
|
31706
|
-
|
|
31707
|
-
&:hover {
|
|
31708
|
-
border: 1px solid ${theme2.click.field.color.stroke.hover};
|
|
31709
|
-
background: ${theme2.click.field.color.background.hover};
|
|
31710
|
-
color: ${theme2.click.field.color.text.hover};
|
|
31711
|
-
|
|
31712
|
-
*:autofill,
|
|
31713
|
-
*:-webkit-autofill {
|
|
31714
|
-
-webkit-box-shadow: 0 0 0px 50vh ${theme2.click.field.color.background.hover} inset;
|
|
31715
|
-
-webkit-text-fill-color: ${theme2.click.field.color.text.hover};
|
|
31716
|
-
caret-color: ${theme2.click.field.color.text.hover};
|
|
31717
|
-
}
|
|
31718
|
-
}
|
|
31719
|
-
${$resize === "none" ? "" : `
|
|
31720
|
-
resize: ${$resize};
|
|
31721
|
-
overflow: auto;
|
|
31722
|
-
`}
|
|
31723
|
-
padding: 0 ${theme2.click.field.space.x};
|
|
31724
|
-
${$error ? `
|
|
31725
|
-
font: ${theme2.click.field.typography.fieldText.error};
|
|
31726
|
-
border: 1px solid ${theme2.click.field.color.stroke.error};
|
|
31727
|
-
background: ${theme2.click.field.color.background.active};
|
|
31728
|
-
color: ${theme2.click.field.color.text.error};
|
|
31729
|
-
|
|
31730
|
-
*:autofill,
|
|
31731
|
-
*:-webkit-autofill {
|
|
31732
|
-
-webkit-box-shadow: 0 0 0px 50vh ${theme2.click.field.color.background.error} inset;
|
|
31733
|
-
-webkit-text-fill-color: ${theme2.click.field.color.text.error};
|
|
31734
|
-
caret-color: ${theme2.click.field.color.text.error};
|
|
31735
|
-
}
|
|
31736
|
-
|
|
31737
|
-
&:hover {
|
|
31738
|
-
border: 1px solid ${theme2.click.field.color.stroke.error};
|
|
31739
|
-
color: ${theme2.click.field.color.text.error};
|
|
31740
|
-
*:autofill,
|
|
31741
|
-
*:-webkit-autofill {
|
|
31742
|
-
-webkit-box-shadow: 0 0 0px 50vh ${theme2.click.field.color.background.error} inset;
|
|
31743
|
-
-webkit-text-fill-color: ${theme2.click.field.color.text.error};
|
|
31744
|
-
caret-color: ${theme2.click.field.color.text.error};
|
|
31745
|
-
}
|
|
31746
|
-
}
|
|
31747
|
-
` : `
|
|
31748
|
-
&:focus-within,
|
|
31749
|
-
&[data-state="open"] {
|
|
31750
|
-
font: ${theme2.click.field.typography.fieldText.active};
|
|
31751
|
-
border: 1px solid ${theme2.click.field.color.stroke.active};
|
|
31752
|
-
background: ${theme2.click.field.color.background.active};
|
|
31753
|
-
color: ${theme2.click.field.color.text.active};
|
|
31754
|
-
|
|
31755
|
-
*:autofill,
|
|
31756
|
-
*:-webkit-autofill {
|
|
31757
|
-
-webkit-box-shadow: 0 0 0px 50vh ${theme2.click.field.color.background.active} inset;
|
|
31758
|
-
-webkit-text-fill-color: ${theme2.click.field.color.text.active};
|
|
31759
|
-
caret-color: ${theme2.click.field.color.text.active};
|
|
31760
|
-
}
|
|
31761
|
-
}
|
|
31762
|
-
`};
|
|
31763
|
-
&:disabled, &.disabled {
|
|
31764
|
-
font: ${theme2.click.field.typography.fieldText.disabled};
|
|
31765
|
-
border: 1px solid ${theme2.click.field.color.stroke.disabled};
|
|
31766
|
-
background: ${theme2.click.field.color.background.disabled};
|
|
31767
|
-
color: ${theme2.click.field.color.text.disabled};
|
|
31768
|
-
|
|
31769
|
-
*:autofill,
|
|
31770
|
-
*:-webkit-autofill {
|
|
31771
|
-
-webkit-box-shadow: 0 0 0px 50vh ${theme2.click.field.color.background.disabled} inset;
|
|
31772
|
-
-webkit-text-fill-color: ${theme2.click.field.color.text.disabled};
|
|
31773
|
-
caret-color: ${theme2.click.field.color.text.disabled};
|
|
31774
|
-
}
|
|
31775
|
-
}
|
|
31776
|
-
`);
|
|
31777
|
-
const StyledLabel = styledComponents.styled(Label$1).withConfig({
|
|
31778
|
-
componentId: "sc-1pvd2nj-1"
|
|
31779
|
-
})(["", ""], ({
|
|
31780
|
-
$labelColor
|
|
31781
|
-
}) => `
|
|
31782
|
-
${$labelColor ? `color: ${$labelColor};` : ""}
|
|
31783
|
-
`);
|
|
31784
|
-
const InputWrapper = ({
|
|
31785
|
-
id,
|
|
31786
|
-
label = "",
|
|
31787
|
-
labelColor,
|
|
31788
|
-
error: error2,
|
|
31789
|
-
disabled,
|
|
31790
|
-
children,
|
|
31791
|
-
orientation,
|
|
31792
|
-
dir,
|
|
31793
|
-
resize = "none"
|
|
31794
|
-
}) => {
|
|
31795
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(FormRoot, { $orientation: orientation, $dir: dir, $addLabelPadding: true, children: [
|
|
31796
|
-
/* @__PURE__ */ jsxRuntime.jsxs(FormElementContainer, { children: [
|
|
31797
|
-
/* @__PURE__ */ jsxRuntime.jsx(Wrapper$3, { $error: !!error2, $resize: resize, "data-resize": resize, className: disabled ? "disabled" : "", children }),
|
|
31798
|
-
!!error2 && error2 !== true && /* @__PURE__ */ jsxRuntime.jsx(Error$1, { children: error2 })
|
|
31799
|
-
] }),
|
|
31800
|
-
label && /* @__PURE__ */ jsxRuntime.jsx(StyledLabel, { htmlFor: id, disabled, error: !!error2, $labelColor: labelColor, children: label })
|
|
31801
|
-
] });
|
|
31802
|
-
};
|
|
31803
|
-
const InputElement = styledComponents.styled.input.withConfig({
|
|
31804
|
-
componentId: "sc-1pvd2nj-2"
|
|
31805
|
-
})(["background:transparent;border:none;outline:none;width:100%;color:inherit;font:inherit;", ""], ({
|
|
31806
|
-
theme: theme2
|
|
31807
|
-
}) => `
|
|
31808
|
-
padding: ${theme2.click.field.space.y} 0;
|
|
31809
|
-
&::placeholder {
|
|
31810
|
-
color: ${theme2.click.field.color.placeholder.default};
|
|
31811
|
-
}
|
|
31812
|
-
|
|
31813
|
-
&:disabled, &.disabled {
|
|
31814
|
-
&::placeholder {
|
|
31815
|
-
color: ${theme2.click.field.color.placeholder.disabled};
|
|
31816
|
-
}
|
|
31817
|
-
`);
|
|
31818
|
-
const NumberInputElement = styledComponents.styled(InputElement).withConfig({
|
|
31819
|
-
componentId: "sc-1pvd2nj-3"
|
|
31820
|
-
})(["", ""], ({
|
|
31821
|
-
$hideControls
|
|
31822
|
-
}) => `
|
|
31823
|
-
${$hideControls ? `
|
|
31824
|
-
&::-webkit-outer-spin-button,
|
|
31825
|
-
&::-webkit-inner-spin-button {
|
|
31826
|
-
-webkit-appearance: none;
|
|
31827
|
-
margin: 0;
|
|
31828
|
-
}
|
|
31829
|
-
|
|
31830
|
-
-moz-appearance: textfield;
|
|
31831
|
-
` : ""}
|
|
31832
|
-
`);
|
|
31833
|
-
const TextAreaElement = styledComponents.styled.textarea.withConfig({
|
|
31834
|
-
componentId: "sc-1pvd2nj-4"
|
|
31835
|
-
})(["background:transparent;border:none;outline:none;width:100%;color:inherit;font:inherit;resize:none;", ""], ({
|
|
31836
|
-
theme: theme2
|
|
31837
|
-
}) => `
|
|
31838
|
-
padding: ${theme2.click.field.space.y} 0;
|
|
31839
|
-
align-self: stretch;
|
|
31840
|
-
&::placeholder {
|
|
31841
|
-
color: ${theme2.click.field.color.placeholder.default};
|
|
31842
|
-
}
|
|
31843
|
-
`);
|
|
31844
|
-
styledComponents.styled(InputWrapper).withConfig({
|
|
31845
|
-
componentId: "sc-1pvd2nj-5"
|
|
31846
|
-
})(["resize:vertical;overflow:auto;color:red;"]);
|
|
31847
|
-
const IconButton = styledComponents.styled.button.withConfig({
|
|
31848
|
-
componentId: "sc-1pvd2nj-6"
|
|
31849
|
-
})(["background:transparent;color:inherit;border:none;padding:0;outline:none;&:not(:disabled){cursor:pointer;}", ""], ({
|
|
31850
|
-
theme: theme2,
|
|
31851
|
-
$show
|
|
31852
|
-
}) => `
|
|
31853
|
-
padding: ${theme2.click.field.space.y} 0;
|
|
31854
|
-
visibility: ${$show ? "visible" : "hidden"};
|
|
31855
|
-
`);
|
|
31856
|
-
styledComponents.styled.svg.withConfig({
|
|
31857
|
-
componentId: "sc-1pvd2nj-7"
|
|
31858
|
-
})(["", ""], ({
|
|
31859
|
-
theme: theme2
|
|
31860
|
-
}) => `
|
|
31861
|
-
&:first-of-type {
|
|
31862
|
-
padding-left: ${theme2.click.field.space.gap};
|
|
31863
|
-
}
|
|
31864
|
-
&:last-of-type {
|
|
31865
|
-
padding-right: ${theme2.click.field.space.x};
|
|
31866
|
-
}
|
|
31867
|
-
`);
|
|
31868
32460
|
const NumberField = React.forwardRef(({
|
|
31869
32461
|
disabled,
|
|
31870
32462
|
label,
|
|
@@ -31916,7 +32508,7 @@ var __publicField = (obj, key, value) => {
|
|
|
31916
32508
|
}) => {
|
|
31917
32509
|
return /* @__PURE__ */ jsxRuntime.jsx($cb5cc270b50c6fcd$export$be92b6f5f03c0fe9, { ...props, children });
|
|
31918
32510
|
};
|
|
31919
|
-
const Trigger$1 =
|
|
32511
|
+
const Trigger$1 = styled.styled($cb5cc270b50c6fcd$export$41fb9f06171c75f4).withConfig({
|
|
31920
32512
|
componentId: "sc-1dii14g-0"
|
|
31921
32513
|
})(["width:fit-content;font:inherit;color:inherit;background:inherit;border:none;"]);
|
|
31922
32514
|
const PopoverTrigger = ({
|
|
@@ -31931,7 +32523,7 @@ var __publicField = (obj, key, value) => {
|
|
|
31931
32523
|
};
|
|
31932
32524
|
PopoverTrigger.displayName = "PopoverTrigger";
|
|
31933
32525
|
Popover.Trigger = PopoverTrigger;
|
|
31934
|
-
const MenuPanel =
|
|
32526
|
+
const MenuPanel = styled.styled(GenericMenuPanel).withConfig({
|
|
31935
32527
|
componentId: "sc-1dii14g-1"
|
|
31936
32528
|
})(["display:block;padding:", " ", ";background-color:", ";border:1px solid ", ";border-radius:", ";box-shadow:", ";", ";"], ({
|
|
31937
32529
|
theme: theme2
|
|
@@ -31948,7 +32540,7 @@ var __publicField = (obj, key, value) => {
|
|
|
31948
32540
|
}) => theme2.click.popover.shadow.default, ({
|
|
31949
32541
|
$showClose
|
|
31950
32542
|
}) => $showClose ? "padding-top: 1rem;" : "");
|
|
31951
|
-
const CloseButton =
|
|
32543
|
+
const CloseButton = styled.styled(EmptyButton$1).withConfig({
|
|
31952
32544
|
componentId: "sc-1dii14g-2"
|
|
31953
32545
|
})(["position:absolute;top:", ";right:", ";width:", ";height:", ";"], ({
|
|
31954
32546
|
theme: theme2
|
|
@@ -31975,7 +32567,7 @@ var __publicField = (obj, key, value) => {
|
|
|
31975
32567
|
};
|
|
31976
32568
|
PopoverContent.displayName = "PopoverContent";
|
|
31977
32569
|
Popover.Content = PopoverContent;
|
|
31978
|
-
const CustomSelect =
|
|
32570
|
+
const CustomSelect = styled.styled.div.withConfig({
|
|
31979
32571
|
componentId: "sc-dicnqe-0"
|
|
31980
32572
|
})(["width:150px;"]);
|
|
31981
32573
|
const Pagination = ({
|
|
@@ -32089,7 +32681,7 @@ var __publicField = (obj, key, value) => {
|
|
|
32089
32681
|
alignItems = "center",
|
|
32090
32682
|
...props
|
|
32091
32683
|
}) => /* @__PURE__ */ jsxRuntime.jsx(Wrapper$2, { $hasBorder: hasBorder, $hasShadow: hasShadow, $color: color, $padding: padding, $gap: gap, $width: width, $radii: radii, $orientation: orientation, $fillWidth: fillWidth, $height: height, $fillHeight: fillHeight, $alignItems: alignItems, ...props, children });
|
|
32092
|
-
const Wrapper$2 =
|
|
32684
|
+
const Wrapper$2 = styled.styled.div.withConfig({
|
|
32093
32685
|
componentId: "sc-1q78udp-0"
|
|
32094
32686
|
})(["display:flex;flex-flow:", ";align-items:", ";width:", ";height:", ";background-color:", ";border-radius:", ";padding:", ";border:", ";box-shadow:", ";gap:", ";"], ({
|
|
32095
32687
|
$orientation = "horizontal"
|
|
@@ -32120,7 +32712,7 @@ var __publicField = (obj, key, value) => {
|
|
|
32120
32712
|
$gap = "sm",
|
|
32121
32713
|
theme: theme2
|
|
32122
32714
|
}) => theme2.click.panel.space.gap[$gap]);
|
|
32123
|
-
const ProgressContainer =
|
|
32715
|
+
const ProgressContainer = styled.styled.div.withConfig({
|
|
32124
32716
|
componentId: "sc-16gr3cg-0"
|
|
32125
32717
|
})(["display:flex;justify-content:space-between;align-items:center;overflow:hidden;transition:all 100ms ease-in-out;width:100%;width:-webkit-fill-available;width:fill-available;width:stretch;min-height:2px;", ";"], ({
|
|
32126
32718
|
theme: theme2,
|
|
@@ -32151,10 +32743,10 @@ var __publicField = (obj, key, value) => {
|
|
|
32151
32743
|
background-position: center;
|
|
32152
32744
|
}
|
|
32153
32745
|
`);
|
|
32154
|
-
const ProgressText =
|
|
32746
|
+
const ProgressText = styled.styled.span.withConfig({
|
|
32155
32747
|
componentId: "sc-16gr3cg-1"
|
|
32156
32748
|
})(["width:100%;font:inherit;mix-blend-mode:difference;"]);
|
|
32157
|
-
const ProgressCloseButton =
|
|
32749
|
+
const ProgressCloseButton = styled.styled.button.withConfig({
|
|
32158
32750
|
componentId: "sc-16gr3cg-2"
|
|
32159
32751
|
})(["mix-blend-mode:difference;border:0;visibility:", ";"], ({
|
|
32160
32752
|
$dismissable
|
|
@@ -32380,7 +32972,7 @@ var __publicField = (obj, key, value) => {
|
|
|
32380
32972
|
const $f99a8c78507165f7$export$be92b6f5f03c0fe9 = $f99a8c78507165f7$export$a98f0dcb43a68a25;
|
|
32381
32973
|
const $f99a8c78507165f7$export$6d08773d2e66f8f2 = $f99a8c78507165f7$export$9f866c100ef519e4;
|
|
32382
32974
|
const $f99a8c78507165f7$export$adb584737d712b70 = $f99a8c78507165f7$export$5fb54c671a65c88;
|
|
32383
|
-
const RadioGroupRoot =
|
|
32975
|
+
const RadioGroupRoot = styled.styled($f99a8c78507165f7$export$be92b6f5f03c0fe9).withConfig({
|
|
32384
32976
|
componentId: "sc-p6cydr-0"
|
|
32385
32977
|
})(["display:flex;flex-wrap:wrap;gap:", ";flex-direction:", ";label{", "}"], ({
|
|
32386
32978
|
theme: theme2
|
|
@@ -32426,14 +33018,14 @@ var __publicField = (obj, key, value) => {
|
|
|
32426
33018
|
};
|
|
32427
33019
|
RadioGroupItem.displayName = "RadioGroupItem";
|
|
32428
33020
|
RadioGroup.Item = RadioGroupItem;
|
|
32429
|
-
const Wrapper$1 =
|
|
33021
|
+
const Wrapper$1 = styled.styled(FormRoot).withConfig({
|
|
32430
33022
|
componentId: "sc-p6cydr-1"
|
|
32431
33023
|
})(["padding:", ";display:flex;align-items:center;gap:", ";width:auto;"], ({
|
|
32432
33024
|
theme: theme2
|
|
32433
33025
|
}) => theme2.click.checkbox.space.all, ({
|
|
32434
33026
|
theme: theme2
|
|
32435
33027
|
}) => theme2.click.checkbox.space.gap);
|
|
32436
|
-
const RadioInput =
|
|
33028
|
+
const RadioInput = styled.styled($f99a8c78507165f7$export$6d08773d2e66f8f2).withConfig({
|
|
32437
33029
|
componentId: "sc-p6cydr-2"
|
|
32438
33030
|
})(["display:flex;align-items:center;justify-content:center;outline:none;cursor:pointer;", ";"], ({
|
|
32439
33031
|
theme: theme2
|
|
@@ -32456,7 +33048,7 @@ var __publicField = (obj, key, value) => {
|
|
|
32456
33048
|
border-color: ${theme2.click.radio.color.stroke.disabled};
|
|
32457
33049
|
}
|
|
32458
33050
|
`);
|
|
32459
|
-
const RadioGroupIndicator =
|
|
33051
|
+
const RadioGroupIndicator = styled.styled($f99a8c78507165f7$export$adb584737d712b70).withConfig({
|
|
32460
33052
|
componentId: "sc-p6cydr-3"
|
|
32461
33053
|
})(["", ""], ({
|
|
32462
33054
|
theme: theme2
|
|
@@ -32518,13 +33110,13 @@ var __publicField = (obj, key, value) => {
|
|
|
32518
33110
|
loading && /* @__PURE__ */ jsxRuntime.jsx(SvgImage, { name: "loading-animated", size: "sm" })
|
|
32519
33111
|
] });
|
|
32520
33112
|
});
|
|
32521
|
-
const SelectPopoverRoot =
|
|
33113
|
+
const SelectPopoverRoot = styled.styled($cb5cc270b50c6fcd$export$be92b6f5f03c0fe9).withConfig({
|
|
32522
33114
|
componentId: "sc-oudbwg-0"
|
|
32523
33115
|
})(["width:100%;"]);
|
|
32524
|
-
const SelectValue =
|
|
33116
|
+
const SelectValue = styled.styled.div.withConfig({
|
|
32525
33117
|
componentId: "sc-oudbwg-1"
|
|
32526
33118
|
})(["text-align:left;flex:1;gap:inherit;color:inherit;font:inherit;overflow:hidden;"]);
|
|
32527
|
-
const StyledSelectTrigger =
|
|
33119
|
+
const StyledSelectTrigger = styled.styled($cb5cc270b50c6fcd$export$41fb9f06171c75f4).withConfig({
|
|
32528
33120
|
componentId: "sc-oudbwg-2"
|
|
32529
33121
|
})(["width:100%;display:flex;align-items:center;justify-content:space-between;align-items:center;cursor:pointer;span:first-of-type{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;}", " [data-hide-in-trigger]{display:none;}"], ({
|
|
32530
33122
|
theme: theme2,
|
|
@@ -32572,7 +33164,7 @@ var __publicField = (obj, key, value) => {
|
|
|
32572
33164
|
cursor: not-allowed;
|
|
32573
33165
|
}
|
|
32574
33166
|
`);
|
|
32575
|
-
const SelectPopoverContent =
|
|
33167
|
+
const SelectPopoverContent = styled.styled($cb5cc270b50c6fcd$export$7c6e2c02157bb7d2).withConfig({
|
|
32576
33168
|
componentId: "sc-oudbwg-3"
|
|
32577
33169
|
})(["width:var(--radix-popover-trigger-width);max-height:var(--radix-popover-content-available-height);border-radius:0.25rem;pointer-events:auto;", " ", " overflow:hidden;display:flex;padding:0.5rem 0rem;align-items:flex-start;gap:0.625rem;"], ({
|
|
32578
33170
|
$useFullWidthItems,
|
|
@@ -32592,7 +33184,7 @@ var __publicField = (obj, key, value) => {
|
|
|
32592
33184
|
0px 1px 2px 0px rgba(16, 24, 40, 0.06);
|
|
32593
33185
|
border-radius: 0.25rem;
|
|
32594
33186
|
`);
|
|
32595
|
-
const SearchBarContainer =
|
|
33187
|
+
const SearchBarContainer = styled.styled.div.withConfig({
|
|
32596
33188
|
componentId: "sc-oudbwg-4"
|
|
32597
33189
|
})(["width:auto;position:relative;display:flex;justify-content:flex-start;align-items:center;", ""], ({
|
|
32598
33190
|
theme: theme2,
|
|
@@ -32603,7 +33195,7 @@ var __publicField = (obj, key, value) => {
|
|
|
32603
33195
|
font: ${theme2.click.genericMenu.autocomplete.typography.search.term.default};
|
|
32604
33196
|
height: ${$showSearch ? "auto" : " 0"};
|
|
32605
33197
|
`);
|
|
32606
|
-
const SearchBar =
|
|
33198
|
+
const SearchBar = styled.styled.input.withConfig({
|
|
32607
33199
|
componentId: "sc-oudbwg-5"
|
|
32608
33200
|
})(["background:transparent;border:none;width:100%;outline:none;", ""], ({
|
|
32609
33201
|
theme: theme2,
|
|
@@ -32622,7 +33214,7 @@ var __publicField = (obj, key, value) => {
|
|
|
32622
33214
|
font: ${theme2.click.genericMenu.autocomplete.typography.search.placeholder.default};
|
|
32623
33215
|
}
|
|
32624
33216
|
`);
|
|
32625
|
-
const SearchClose =
|
|
33217
|
+
const SearchClose = styled.styled.button.withConfig({
|
|
32626
33218
|
componentId: "sc-oudbwg-6"
|
|
32627
33219
|
})(["position:absolute;", " visibility:", ";"], ({
|
|
32628
33220
|
theme: theme2
|
|
@@ -32632,16 +33224,16 @@ var __publicField = (obj, key, value) => {
|
|
|
32632
33224
|
`, ({
|
|
32633
33225
|
$showClose
|
|
32634
33226
|
}) => $showClose ? "visible" : "hidden");
|
|
32635
|
-
const SelectList =
|
|
33227
|
+
const SelectList = styled.styled.div.withConfig({
|
|
32636
33228
|
componentId: "sc-oudbwg-7"
|
|
32637
33229
|
})(["display:flex;flex-direction:column;width:inherit;max-height:calc(var(--radix-popover-content-available-height) - 1rem);"]);
|
|
32638
|
-
const SelectListContent =
|
|
33230
|
+
const SelectListContent = styled.styled.div.withConfig({
|
|
32639
33231
|
componentId: "sc-oudbwg-8"
|
|
32640
33232
|
})(["width:inherit;overflow:auto;flex:1;"]);
|
|
32641
|
-
const HiddenSelectElement =
|
|
33233
|
+
const HiddenSelectElement = styled.styled.select.withConfig({
|
|
32642
33234
|
componentId: "sc-oudbwg-9"
|
|
32643
33235
|
})(["visibility:hidden;position:absolute;z-index:-1;height:0;"]);
|
|
32644
|
-
const SelectGroupContainer =
|
|
33236
|
+
const SelectGroupContainer = styled.styled.div.withConfig({
|
|
32645
33237
|
componentId: "sc-oudbwg-10"
|
|
32646
33238
|
})(["display:flex;flex-direction:column;align-items:flex-start;justify-content:center;width:-webkit-fill-available;width:fill-available;width:stretch;overflow:hidden;background:transparent;&[aria-selected]{outline:none;}", ";&[hidden]{display:none;}"], ({
|
|
32647
33239
|
theme: theme2
|
|
@@ -32649,7 +33241,7 @@ var __publicField = (obj, key, value) => {
|
|
|
32649
33241
|
font: ${theme2.click.genericMenu.item.typography.sectionHeader.default};
|
|
32650
33242
|
color: ${theme2.click.genericMenu.item.color.text.muted};
|
|
32651
33243
|
`);
|
|
32652
|
-
const SelectGroupName =
|
|
33244
|
+
const SelectGroupName = styled.styled.div.withConfig({
|
|
32653
33245
|
componentId: "sc-oudbwg-11"
|
|
32654
33246
|
})(["display:flex;width:100%;flex-direction:column;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;", ""], ({
|
|
32655
33247
|
theme: theme2
|
|
@@ -32660,10 +33252,10 @@ var __publicField = (obj, key, value) => {
|
|
|
32660
33252
|
gap: ${theme2.click.genericMenu.item.space.gap};
|
|
32661
33253
|
border-bottom: 1px solid ${theme2.click.genericMenu.item.color.stroke.default};
|
|
32662
33254
|
`);
|
|
32663
|
-
const SelectGroupContent =
|
|
33255
|
+
const SelectGroupContent = styled.styled.div.withConfig({
|
|
32664
33256
|
componentId: "sc-oudbwg-12"
|
|
32665
33257
|
})(["width:inherit;"]);
|
|
32666
|
-
const SelectNoDataContainer =
|
|
33258
|
+
const SelectNoDataContainer = styled.styled.div.withConfig({
|
|
32667
33259
|
componentId: "sc-oudbwg-13"
|
|
32668
33260
|
})(['border:none;display:block;width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:left;&[hidden="true"]{display:none;}', ""], ({
|
|
32669
33261
|
theme: theme2,
|
|
@@ -35972,10 +36564,10 @@ Please read the updated README.md at https://github.com/SortableJS/react-sortabl
|
|
|
35972
36564
|
$parcel$exportWildcard(module2.exports, $faefaad95e5fcca0$exports);
|
|
35973
36565
|
})(dist);
|
|
35974
36566
|
var distExports = dist.exports;
|
|
35975
|
-
const BadgeList =
|
|
36567
|
+
const BadgeList = styled.styled.div.withConfig({
|
|
35976
36568
|
componentId: "sc-1ryyiol-0"
|
|
35977
36569
|
})(["display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:inherit;font:inherit;color:inherit;"]);
|
|
35978
|
-
const MultiSelectBadge =
|
|
36570
|
+
const MultiSelectBadge = styled.styled.div.withConfig({
|
|
35979
36571
|
componentId: "sc-1ryyiol-1"
|
|
35980
36572
|
})(["width:100%;width:-webkit-fill-available;width:fill-available;width:stretch;max-width:fit-content;"]);
|
|
35981
36573
|
const MultiSelectValue = ({
|
|
@@ -36035,7 +36627,7 @@ Please read the updated README.md at https://github.com/SortableJS/react-sortabl
|
|
|
36035
36627
|
return /* @__PURE__ */ jsxRuntime.jsx(MultiSelectBadge, { as: Badge, size: "sm", state: disabled ? "disabled" : "default", ...otherProps }, `multi-select-${id}-${value}`);
|
|
36036
36628
|
}) });
|
|
36037
36629
|
};
|
|
36038
|
-
const SelectValueContainer =
|
|
36630
|
+
const SelectValueContainer = styled.styled.div.withConfig({
|
|
36039
36631
|
componentId: "sc-1bceuv1-0"
|
|
36040
36632
|
})(["display:flex;width:100%;align-items:center;cursor:inherit;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;pointer-events:inherit;"]);
|
|
36041
36633
|
const SingleSelectValue = ({
|
|
@@ -36355,7 +36947,7 @@ Please read the updated README.md at https://github.com/SortableJS/react-sortabl
|
|
|
36355
36947
|
] });
|
|
36356
36948
|
});
|
|
36357
36949
|
SelectGroup.displayName = "Select.Group";
|
|
36358
|
-
const CheckIcon$1 =
|
|
36950
|
+
const CheckIcon$1 = styled.styled.svg.withConfig({
|
|
36359
36951
|
componentId: "sc-howzwz-0"
|
|
36360
36952
|
})(["opacity:", ";"], ({
|
|
36361
36953
|
$showCheck
|
|
@@ -36404,7 +36996,7 @@ Please read the updated README.md at https://github.com/SortableJS/react-sortabl
|
|
|
36404
36996
|
/* @__PURE__ */ jsxRuntime.jsx(IconWrapper$3, { icon, iconDir, children: label ?? children }),
|
|
36405
36997
|
/* @__PURE__ */ jsxRuntime.jsx(CheckIcon$1, { as: SvgImage, name: "check", size: "sm", $showCheck: isChecked })
|
|
36406
36998
|
] }),
|
|
36407
|
-
separator && /* @__PURE__ */ jsxRuntime.jsx(Separator
|
|
36999
|
+
separator && /* @__PURE__ */ jsxRuntime.jsx(Separator, { size: "sm" })
|
|
36408
37000
|
] });
|
|
36409
37001
|
});
|
|
36410
37002
|
SelectItem.displayName = "Select.Item";
|
|
@@ -36468,7 +37060,7 @@ Please read the updated README.md at https://github.com/SortableJS/react-sortabl
|
|
|
36468
37060
|
icon && iconDir === "end" && /* @__PURE__ */ jsxRuntime.jsx(IconWrapper$3, { icon, iconDir: "end", children: /* @__PURE__ */ jsxRuntime.jsx(Checkbox, { checked: isChecked, "data-testid": "multi-select-checkbox", disabled, label: label ?? children, onClick: onChange }) }),
|
|
36469
37061
|
!icon && /* @__PURE__ */ jsxRuntime.jsx(Checkbox, { checked: isChecked, "data-testid": "multi-select-checkbox", disabled, label: label ?? children, onClick: onChange })
|
|
36470
37062
|
] }),
|
|
36471
|
-
separator && /* @__PURE__ */ jsxRuntime.jsx(Separator
|
|
37063
|
+
separator && /* @__PURE__ */ jsxRuntime.jsx(Separator, { size: "sm" })
|
|
36472
37064
|
] });
|
|
36473
37065
|
});
|
|
36474
37066
|
MultiSelectCheckboxItem.displayName = "Select.Item";
|
|
@@ -36651,7 +37243,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
36651
37243
|
return $89eedd556c436f6a$var$ORIENTATIONS.includes(orientation);
|
|
36652
37244
|
}
|
|
36653
37245
|
const $89eedd556c436f6a$export$be92b6f5f03c0fe9 = $89eedd556c436f6a$export$1ff3c3f08ae963c0;
|
|
36654
|
-
const CUISeparator =
|
|
37246
|
+
const CUISeparator = styled.styled($89eedd556c436f6a$export$be92b6f5f03c0fe9).withConfig({
|
|
36655
37247
|
componentId: "sc-ladr1y-0"
|
|
36656
37248
|
})(["", ""], ({
|
|
36657
37249
|
theme: theme2,
|
|
@@ -36672,13 +37264,12 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
36672
37264
|
orientation = "horizontal",
|
|
36673
37265
|
...props
|
|
36674
37266
|
}) => /* @__PURE__ */ jsxRuntime.jsx(CUISeparator, { orientation, ...props });
|
|
36675
|
-
const
|
|
36676
|
-
const LabelContainer = styledComponents.styled.span.withConfig({
|
|
37267
|
+
const LabelContainer = styled.styled.span.withConfig({
|
|
36677
37268
|
componentId: "sc-1cu1l45-0"
|
|
36678
37269
|
})(["display:flex;align-items:center;justify-content:flex-start;width:100%;width:-webkit-fill-available;width:fill-available;width:stretch;flex:1;gap:", ";overflow:hidden;"], ({
|
|
36679
37270
|
theme: theme2
|
|
36680
37271
|
}) => theme2.click.sidebar.navigation.item.default.space.gap);
|
|
36681
|
-
const EllipsisContainer =
|
|
37272
|
+
const EllipsisContainer = styled.styled.span.withConfig({
|
|
36682
37273
|
componentId: "sc-1cu1l45-1"
|
|
36683
37274
|
})(["display:flex;white-space:nowrap;overflow:hidden;justify-content:flex-start;gap:inherit;flex:1;& > *:not(button){overflow:hidden;text-overflow:ellipsis;}"]);
|
|
36684
37275
|
const IconWrapper = ({
|
|
@@ -36704,7 +37295,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
36704
37295
|
}, ref) => {
|
|
36705
37296
|
return /* @__PURE__ */ jsxRuntime.jsx(SidebarItemWrapper, { $level: level, "data-selected": selected, $type: type, ref, "aria-disabled": disabled, ...props, children: /* @__PURE__ */ jsxRuntime.jsx(IconWrapper, { icon, iconDir, children: label }) });
|
|
36706
37297
|
});
|
|
36707
|
-
const SidebarItemWrapper =
|
|
37298
|
+
const SidebarItemWrapper = styled.styled.div.withConfig({
|
|
36708
37299
|
componentId: "sc-1rz759l-0"
|
|
36709
37300
|
})(["display:flex;align-items:center;border:none;width:100%;width:-webkit-fill-available;width:fill-available;width:stretch;white-space:nowrap;overflow:hidden;flex-wrap:nowrap;", ""], ({
|
|
36710
37301
|
theme: theme2,
|
|
@@ -36776,7 +37367,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
36776
37367
|
open: false,
|
|
36777
37368
|
onOpenChange: () => null
|
|
36778
37369
|
});
|
|
36779
|
-
const CollapsibleContainer =
|
|
37370
|
+
const CollapsibleContainer = styled.styled.div.withConfig({
|
|
36780
37371
|
componentId: "sc-guwmyz-0"
|
|
36781
37372
|
})(['width:100%;[data-trigger-icon]{visibility:hidden;transition:transform 150ms cubic-bezier(0.87,0,0.13,1);&[data-open="true"]{transform:rotate(90deg);}}[data-collapsible-header]:hover [data-trigger-icon]{visibility:visible;}']);
|
|
36782
37373
|
const Collapsible = ({
|
|
@@ -36803,7 +37394,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
36803
37394
|
};
|
|
36804
37395
|
return /* @__PURE__ */ jsxRuntime.jsx(CollapsibleContainer, { ...props, children: /* @__PURE__ */ jsxRuntime.jsx(NavContext.Provider, { value, children }) });
|
|
36805
37396
|
};
|
|
36806
|
-
const CollapsipleHeaderContainer =
|
|
37397
|
+
const CollapsipleHeaderContainer = styled.styled.div.withConfig({
|
|
36807
37398
|
componentId: "sc-guwmyz-1"
|
|
36808
37399
|
})(["margin-left:", ";user-select:none;"], ({
|
|
36809
37400
|
theme: theme2,
|
|
@@ -36836,7 +37427,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
36836
37427
|
});
|
|
36837
37428
|
CollapsipleHeader.displayName = "CollapsibleHeader";
|
|
36838
37429
|
Collapsible.Header = CollapsipleHeader;
|
|
36839
|
-
const CollapsipleTriggerButton =
|
|
37430
|
+
const CollapsipleTriggerButton = styled.styled(EmptyButton$1).withConfig({
|
|
36840
37431
|
componentId: "sc-guwmyz-2"
|
|
36841
37432
|
})(["display:flex;align-items:center;font:inherit;color:inherit;cursor:inherit;"]);
|
|
36842
37433
|
const CollapsipleTrigger = ({
|
|
@@ -36867,7 +37458,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
36867
37458
|
};
|
|
36868
37459
|
CollapsipleTrigger.displayName = "CollapsibleTrigger";
|
|
36869
37460
|
Collapsible.Trigger = CollapsipleTrigger;
|
|
36870
|
-
const CollapsibleContentWrapper =
|
|
37461
|
+
const CollapsibleContentWrapper = styled.styled.div.withConfig({
|
|
36871
37462
|
componentId: "sc-guwmyz-3"
|
|
36872
37463
|
})(["", ""], ({
|
|
36873
37464
|
theme: theme2,
|
|
@@ -36918,7 +37509,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
36918
37509
|
}) => {
|
|
36919
37510
|
return /* @__PURE__ */ jsxRuntime.jsx(SidebarTitleWrapper, { "data-selected": selected, $type: type, ...props, children: /* @__PURE__ */ jsxRuntime.jsx(IconWrapper, { icon, iconDir, children: label }) });
|
|
36920
37511
|
};
|
|
36921
|
-
const SidebarTitleWrapper =
|
|
37512
|
+
const SidebarTitleWrapper = styled.styled.button.withConfig({
|
|
36922
37513
|
componentId: "sc-1rg1a4o-0"
|
|
36923
37514
|
})(["display:inline-flex;align-items:center;background:transparent;border:none;width:100%;width:-webkit-fill-available;width:fill-available;width:stretch;white-space:nowrap;overflow:hidden;cursor:pointer;", " a{color:inherit;text-decoration:none;&:active{color:inherit;}}"], ({
|
|
36924
37515
|
theme: theme2,
|
|
@@ -36963,7 +37554,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
36963
37554
|
/* @__PURE__ */ jsxRuntime.jsx(Collapsible.Content, { children })
|
|
36964
37555
|
] });
|
|
36965
37556
|
};
|
|
36966
|
-
const CUISpacer =
|
|
37557
|
+
const CUISpacer = styled.styled.div.withConfig({
|
|
36967
37558
|
componentId: "sc-6ga865-0"
|
|
36968
37559
|
})(["background:transparent;display:flex;padding:", ";"], ({
|
|
36969
37560
|
theme: theme2,
|
|
@@ -37012,7 +37603,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
37012
37603
|
/* @__PURE__ */ jsxRuntime.jsx(DropdownContent, { as: Dropdown.Content, side, $width: width, sideOffset: 4, align: "end", children: menu.map((item, index2) => /* @__PURE__ */ jsxRuntime.jsx(MenuContentItem, { parentKey: `split-menu-option-${index2}`, ...item }, `split-menu-option-${index2}`)) })
|
|
37013
37604
|
] });
|
|
37014
37605
|
};
|
|
37015
|
-
const DropdownContent =
|
|
37606
|
+
const DropdownContent = styled.styled.div.withConfig({
|
|
37016
37607
|
componentId: "sc-85zs9e-0"
|
|
37017
37608
|
})(["min-width:", "px;"], ({
|
|
37018
37609
|
$width
|
|
@@ -37039,7 +37630,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
37039
37630
|
] });
|
|
37040
37631
|
}
|
|
37041
37632
|
};
|
|
37042
|
-
const SplitButtonTrigger =
|
|
37633
|
+
const SplitButtonTrigger = styled.styled.div.withConfig({
|
|
37043
37634
|
componentId: "sc-85zs9e-1"
|
|
37044
37635
|
})(["display:inline-flex;align-items:center;overflow:hidden;user-select:none;", ""], ({
|
|
37045
37636
|
theme: theme2,
|
|
@@ -37062,7 +37653,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
37062
37653
|
}
|
|
37063
37654
|
`}
|
|
37064
37655
|
`);
|
|
37065
|
-
const PrimaryButton =
|
|
37656
|
+
const PrimaryButton = styled.styled(BaseButton).withConfig({
|
|
37066
37657
|
componentId: "sc-85zs9e-2"
|
|
37067
37658
|
})(["border:none;align-self:stretch;border-radius:0;align-items:center;padding:", ";", ""], ({
|
|
37068
37659
|
theme: theme2
|
|
@@ -37092,7 +37683,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
37092
37683
|
font: ${theme2.click.button.split.typography.label.disabled};
|
|
37093
37684
|
}
|
|
37094
37685
|
`);
|
|
37095
|
-
const SecondaryButton =
|
|
37686
|
+
const SecondaryButton = styled.styled(BaseButton).withConfig({
|
|
37096
37687
|
componentId: "sc-85zs9e-3"
|
|
37097
37688
|
})(["border:none;align-self:stretch;border-radius:0;", ""], ({
|
|
37098
37689
|
theme: theme2,
|
|
@@ -37114,7 +37705,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
37114
37705
|
color: ${theme2.click.button.split[$type].text.disabled};
|
|
37115
37706
|
}
|
|
37116
37707
|
`);
|
|
37117
|
-
const ButtonData =
|
|
37708
|
+
const ButtonData = styled.styled.div.withConfig({
|
|
37118
37709
|
componentId: "sc-85zs9e-4"
|
|
37119
37710
|
})(["width:auto;"]);
|
|
37120
37711
|
const $6be4966fd9bbc698$var$SWITCH_NAME = "Switch";
|
|
@@ -37227,7 +37818,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
37227
37818
|
}
|
|
37228
37819
|
const $6be4966fd9bbc698$export$be92b6f5f03c0fe9 = $6be4966fd9bbc698$export$b5d5cf8927ab7262;
|
|
37229
37820
|
const $6be4966fd9bbc698$export$6521433ed15a34db = $6be4966fd9bbc698$export$4d07bf653ea69106;
|
|
37230
|
-
const Wrapper =
|
|
37821
|
+
const Wrapper = styled.styled(FormRoot).withConfig({
|
|
37231
37822
|
componentId: "sc-egkkgl-0"
|
|
37232
37823
|
})(["align-items:center;max-width:fit-content;"]);
|
|
37233
37824
|
const Switch = React.forwardRef(({
|
|
@@ -37286,7 +37877,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
37286
37877
|
};
|
|
37287
37878
|
}
|
|
37288
37879
|
};
|
|
37289
|
-
const SwitchRoot =
|
|
37880
|
+
const SwitchRoot = styled.styled($6be4966fd9bbc698$export$be92b6f5f03c0fe9).withConfig({
|
|
37290
37881
|
componentId: "sc-egkkgl-1"
|
|
37291
37882
|
})((props) => {
|
|
37292
37883
|
const vars = getRootVars(props.theme, props.disabled, props.checked);
|
|
@@ -37300,7 +37891,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
37300
37891
|
padding: 0
|
|
37301
37892
|
};
|
|
37302
37893
|
});
|
|
37303
|
-
const SwitchThumb =
|
|
37894
|
+
const SwitchThumb = styled.styled($6be4966fd9bbc698$export$6521433ed15a34db).withConfig({
|
|
37304
37895
|
componentId: "sc-egkkgl-2"
|
|
37305
37896
|
})((props) => {
|
|
37306
37897
|
const vars = getThumbVars(props.theme, props.$disabled, props.$checked);
|
|
@@ -37452,13 +38043,13 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
37452
38043
|
const $69cb30bb0017df05$export$54c2e3dc7acea9f5 = $69cb30bb0017df05$export$9712d22edc0d78c1;
|
|
37453
38044
|
const $69cb30bb0017df05$export$41fb9f06171c75f4 = $69cb30bb0017df05$export$8114b9fdfdf9f3ba;
|
|
37454
38045
|
const $69cb30bb0017df05$export$7c6e2c02157bb7d2 = $69cb30bb0017df05$export$bd905d70e8fd2ebb;
|
|
37455
|
-
const Trigger =
|
|
38046
|
+
const Trigger = styled.styled($69cb30bb0017df05$export$41fb9f06171c75f4).withConfig({
|
|
37456
38047
|
componentId: "sc-tj736u-0"
|
|
37457
38048
|
})(["padding:", ";border-top-left-radius:", ";border-top-right-radius:", ";border:none;border-bottom:2px solid ", ";background-color:", ";color:", ";font:", ';cursor:pointer;&[data-state="active"]{border-bottom:2px solid ', ";color:", ";font:", ";&:hover{font:", ";}}&:hover{border-bottom:2px solid ", ";background-color:", ";color:", ";font:", ';}&:hover[data-state="active"]{border-bottom:2px solid ', ";}"], (props) => `${props.theme.click.tabs.space.y} ${props.theme.click.tabs.space.x}`, (props) => props.theme.click.tabs.radii.all, (props) => props.theme.click.tabs.radii.all, (props) => props.theme.click.tabs.basic.color.stroke.default, (props) => props.theme.click.tabs.basic.color.background.default, (props) => props.theme.click.tabs.basic.color.text.default, (props) => props.theme.click.tabs.typography.label.default, (props) => props.theme.click.tabs.basic.color.stroke.active, (props) => props.theme.click.tabs.basic.color.text.active, (props) => props.theme.click.tabs.typography.label.active, (props) => props.theme.click.tabs.typography.label.active, (props) => props.theme.click.tabs.basic.color.stroke.hover, (props) => props.theme.click.tabs.basic.color.background.hover, (props) => props.theme.click.tabs.basic.color.text.hover, (props) => props.theme.click.tabs.typography.label.hover, (props) => props.theme.click.tabs.basic.color.stroke.active);
|
|
37458
|
-
const Content =
|
|
38049
|
+
const Content = styled.styled($69cb30bb0017df05$export$7c6e2c02157bb7d2).withConfig({
|
|
37459
38050
|
componentId: "sc-tj736u-1"
|
|
37460
38051
|
})([""]);
|
|
37461
|
-
const TriggersList =
|
|
38052
|
+
const TriggersList = styled.styled($69cb30bb0017df05$export$54c2e3dc7acea9f5).withConfig({
|
|
37462
38053
|
componentId: "sc-tj736u-2"
|
|
37463
38054
|
})(["border-bottom:1px solid ", ";display:flex;"], (props) => props.theme.click.global.color.stroke.default);
|
|
37464
38055
|
const Tabs = ({
|
|
@@ -37473,10 +38064,10 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
37473
38064
|
Tabs.TriggersList = TriggersList;
|
|
37474
38065
|
Tabs.Trigger = Trigger;
|
|
37475
38066
|
Tabs.Content = Content;
|
|
37476
|
-
const FullWidthTabs =
|
|
38067
|
+
const FullWidthTabs = styled.styled(Tabs).withConfig({
|
|
37477
38068
|
componentId: "sc-tj736u-3"
|
|
37478
38069
|
})(["width:100%;"]);
|
|
37479
|
-
FullWidthTabs.Trigger =
|
|
38070
|
+
FullWidthTabs.Trigger = styled.styled(Trigger).withConfig({
|
|
37480
38071
|
componentId: "sc-tj736u-4"
|
|
37481
38072
|
})(["", ";"], (props) => props.width ? `width: ${props.width};` : `
|
|
37482
38073
|
flex-basis: auto;
|
|
@@ -37484,12 +38075,12 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
37484
38075
|
flex-shrink: 1;
|
|
37485
38076
|
`);
|
|
37486
38077
|
FullWidthTabs.TriggersList = TriggersList;
|
|
37487
|
-
const TabsContainer =
|
|
38078
|
+
const TabsContainer = styled.styled.div.withConfig({
|
|
37488
38079
|
componentId: "sc-137ymle-0"
|
|
37489
38080
|
})(["display:flex;position:relative;overflow:auto;overscroll-behavior:none;scrollbar-width:0;max-width:", ";&::-webkit-scrollbar{height:0;}"], ({
|
|
37490
38081
|
$count
|
|
37491
38082
|
}) => `${$count * 200}px`);
|
|
37492
|
-
const TabsSortableContainer =
|
|
38083
|
+
const TabsSortableContainer = styled.styled.div.withConfig({
|
|
37493
38084
|
componentId: "sc-137ymle-1"
|
|
37494
38085
|
})(["display:flex;& > div{height:100%;outline:none;min-width:100px;width:clamp(100px,100%,200px);&.sortable-ghost{opacity:0;}}"]);
|
|
37495
38086
|
const TabContext = React.createContext({
|
|
@@ -37560,7 +38151,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
37560
38151
|
}
|
|
37561
38152
|
}, revertOnSpill: true, ...props, children: React.Children.map(children, (child, index2) => /* @__PURE__ */ jsxRuntime.jsx("div", { tabIndex: index2 + 1, role: "tab", onClick: onSelect(index2), children: child }, `tab-element-${index2}`)) }) }) });
|
|
37562
38153
|
};
|
|
37563
|
-
const TabElement =
|
|
38154
|
+
const TabElement = styled.styled.div.withConfig({
|
|
37564
38155
|
componentId: "sc-137ymle-2"
|
|
37565
38156
|
})(["display:grid;justify-content:flex-start;align-items:center;outline:none;max-width:100%;max-width:-webkit-fill-available;max-width:fill-available;max-width:stretch;border:none;cursor:pointer;height:100%;max-height:100%;box-sizing:border-box;", ' [data-type="close"]{display:none;}[data-indicator]{display:block;}&:hover{[data-type="close"]{display:block;}[data-indicator]{display:none;}}'], ({
|
|
37566
38157
|
theme: theme2,
|
|
@@ -37598,7 +38189,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
37598
38189
|
`}
|
|
37599
38190
|
${$preview === true ? "font-style: italic;" : ""}
|
|
37600
38191
|
`);
|
|
37601
|
-
const Indicator =
|
|
38192
|
+
const Indicator = styled.styled.div.withConfig({
|
|
37602
38193
|
componentId: "sc-137ymle-3"
|
|
37603
38194
|
})(['position:relative;&::after{position:absolute;left:0.25rem;top:0.25rem;content:"";width:0.5rem;height:0.5rem;', "}"], ({
|
|
37604
38195
|
theme: theme2,
|
|
@@ -37607,15 +38198,15 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
37607
38198
|
background: ${$status === "default" ? "transparent" : theme2.click.alert.color.text[$status]};
|
|
37608
38199
|
border-radius: 50%;
|
|
37609
38200
|
`);
|
|
37610
|
-
const TabContent =
|
|
38201
|
+
const TabContent = styled.styled.div.withConfig({
|
|
37611
38202
|
componentId: "sc-137ymle-4"
|
|
37612
38203
|
})(["display:flex;justify-content:flex-start;align-items:center;flex-wrap:nowrap;overflow:hidden;gap:", ";"], ({
|
|
37613
38204
|
theme: theme2
|
|
37614
38205
|
}) => theme2.click.tabs.fileTabs.space.gap);
|
|
37615
|
-
const TabContentText =
|
|
38206
|
+
const TabContentText = styled.styled.span.withConfig({
|
|
37616
38207
|
componentId: "sc-137ymle-5"
|
|
37617
38208
|
})(["display:inline-block;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;"]);
|
|
37618
|
-
const EmptyButton =
|
|
38209
|
+
const EmptyButton = styled.styled.button.withConfig({
|
|
37619
38210
|
componentId: "sc-137ymle-6"
|
|
37620
38211
|
})(["padding:0;", ";&:hover{background:", ";}"], ({
|
|
37621
38212
|
theme: theme2
|
|
@@ -37674,7 +38265,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
37674
38265
|
children && /* @__PURE__ */ jsxRuntime.jsx(TabContentText, { children })
|
|
37675
38266
|
] });
|
|
37676
38267
|
};
|
|
37677
|
-
const StyledHeader =
|
|
38268
|
+
const StyledHeader = styled.styled.th.withConfig({
|
|
37678
38269
|
componentId: "sc-1q458rb-0"
|
|
37679
38270
|
})(["", " text-align:left;"], ({
|
|
37680
38271
|
theme: theme2,
|
|
@@ -37684,10 +38275,10 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
37684
38275
|
font: ${theme2.click.table.header.title.default};
|
|
37685
38276
|
color: ${theme2.click.table.header.color.title.default};
|
|
37686
38277
|
`);
|
|
37687
|
-
const HeaderContentWrapper =
|
|
38278
|
+
const HeaderContentWrapper = styled.styled.div.withConfig({
|
|
37688
38279
|
componentId: "sc-1q458rb-1"
|
|
37689
38280
|
})(["display:flex;align-items:center;justify-content:start;gap:inherit;"]);
|
|
37690
|
-
const SortIcon =
|
|
38281
|
+
const SortIcon = styled.styled(SvgImage).withConfig({
|
|
37691
38282
|
componentId: "sc-1q458rb-2"
|
|
37692
38283
|
})(["transition:all 200ms;transform:rotate(", ");"], ({
|
|
37693
38284
|
$sortDir
|
|
@@ -37747,7 +38338,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
37747
38338
|
] }) })
|
|
37748
38339
|
] });
|
|
37749
38340
|
};
|
|
37750
|
-
const TableRow =
|
|
38341
|
+
const TableRow = styled.styled.tr.withConfig({
|
|
37751
38342
|
componentId: "sc-1q458rb-3"
|
|
37752
38343
|
})(["overflow:hidden;", " &:last-of-type,&:last-child{border-bottom:none;}@media (max-width:768px){position:relative;display:flex;flex-wrap:wrap;", "}"], ({
|
|
37753
38344
|
theme: theme2,
|
|
@@ -37780,7 +38371,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
37780
38371
|
${$isSelectable ? `padding-left: calc(${theme2.click.table.body.cell.space.sm.x} + ${theme2.click.table.body.cell.space.sm.x} + ${theme2.click.checkbox.size.all});` : ""}
|
|
37781
38372
|
${$showActions ? `padding-right: calc(${theme2.click.table.body.cell.space.sm.x} + ${theme2.click.table.body.cell.space.sm.x} + ${theme2.click.image.sm.size.width} + ${theme2.click.button.iconButton.default.space.x} + ${theme2.click.button.iconButton.default.space.x});` : ""}
|
|
37782
38373
|
`);
|
|
37783
|
-
const TableData =
|
|
38374
|
+
const TableData = styled.styled.td.withConfig({
|
|
37784
38375
|
componentId: "sc-1q458rb-4"
|
|
37785
38376
|
})(["overflow:hidden;", " @media (max-width:768px){width:auto;min-width:40%;", "}"], ({
|
|
37786
38377
|
theme: theme2,
|
|
@@ -37794,10 +38385,10 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
37794
38385
|
}) => `
|
|
37795
38386
|
padding: ${theme2.click.table.body.cell.space.sm.y} ${theme2.click.table.body.cell.space.sm.x};
|
|
37796
38387
|
`);
|
|
37797
|
-
const StyledColGroup =
|
|
38388
|
+
const StyledColGroup = styled.styled.colgroup.withConfig({
|
|
37798
38389
|
componentId: "sc-1q458rb-5"
|
|
37799
38390
|
})(["@media (max-width:768px){display:none;}"]);
|
|
37800
|
-
const StyledThead =
|
|
38391
|
+
const StyledThead = styled.styled.thead.withConfig({
|
|
37801
38392
|
componentId: "sc-1q458rb-6"
|
|
37802
38393
|
})(["tr{overflow:hidden;background-color:", ";", "}@media (max-width:768px){display:none;}"], ({
|
|
37803
38394
|
theme: theme2
|
|
@@ -37805,7 +38396,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
37805
38396
|
theme: theme2
|
|
37806
38397
|
}) => ` border-bottom: ${theme2.click.table.cell.stroke} solid ${theme2.click.table.row.color.stroke.default};
|
|
37807
38398
|
`);
|
|
37808
|
-
const MobileHeader =
|
|
38399
|
+
const MobileHeader = styled.styled.div.withConfig({
|
|
37809
38400
|
componentId: "sc-1q458rb-7"
|
|
37810
38401
|
})(["display:none;", " @media (max-width:768px){display:block;}"], ({
|
|
37811
38402
|
theme: theme2
|
|
@@ -37813,10 +38404,10 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
37813
38404
|
color: ${theme2.click.table.row.color.label.default};
|
|
37814
38405
|
font: ${theme2.click.table.cell.label.default};
|
|
37815
38406
|
`);
|
|
37816
|
-
const Tbody =
|
|
38407
|
+
const Tbody = styled.styled.tbody.withConfig({
|
|
37817
38408
|
componentId: "sc-1q458rb-8"
|
|
37818
38409
|
})(["@media (max-width:768px){display:flex;flex-direction:column;gap:0.25rem;}"]);
|
|
37819
|
-
const SelectData =
|
|
38410
|
+
const SelectData = styled.styled.td.withConfig({
|
|
37820
38411
|
componentId: "sc-1q458rb-9"
|
|
37821
38412
|
})(["overflow:hidden;", " @media (max-width:768px){width:auto;align-self:stretch;position:absolute;left:0;top:0;bottom:0;", "}"], ({
|
|
37822
38413
|
theme: theme2,
|
|
@@ -37831,7 +38422,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
37831
38422
|
padding: ${theme2.click.table.body.cell.space.sm.y} ${theme2.click.table.body.cell.space.sm.x};
|
|
37832
38423
|
border-right: ${theme2.click.table.cell.stroke} solid ${theme2.click.table.row.color.stroke.default};
|
|
37833
38424
|
`);
|
|
37834
|
-
const ActionsList =
|
|
38425
|
+
const ActionsList = styled.styled.td.withConfig({
|
|
37835
38426
|
componentId: "sc-1q458rb-10"
|
|
37836
38427
|
})(["overflow:hidden;", " @media (max-width:768px){width:auto;align-self:stretch;position:absolute;right:0;top:0;bottom:0;", "}"], ({
|
|
37837
38428
|
theme: theme2,
|
|
@@ -37846,10 +38437,10 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
37846
38437
|
padding: ${theme2.click.table.body.cell.space.sm.y} ${theme2.click.table.body.cell.space.sm.x};
|
|
37847
38438
|
border-left: 1px solid ${theme2.click.table.row.color.stroke.default};
|
|
37848
38439
|
`);
|
|
37849
|
-
const ActionsContainer =
|
|
38440
|
+
const ActionsContainer = styled.styled.div.withConfig({
|
|
37850
38441
|
componentId: "sc-1q458rb-11"
|
|
37851
38442
|
})(["display:flex;flex-wrap:wrap;gap:0.5rem;overflow:hidden;@media (max-width:768px){flex-direction:column;overflow:auto;flex-wrap:nowrap;}"]);
|
|
37852
|
-
const TableWrapper =
|
|
38443
|
+
const TableWrapper = styled.styled.div.withConfig({
|
|
37853
38444
|
componentId: "sc-1q458rb-12"
|
|
37854
38445
|
})(["width:100%;height:100%;overflow:auto;", ""], ({
|
|
37855
38446
|
theme: theme2
|
|
@@ -37857,18 +38448,18 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
37857
38448
|
border: ${theme2.click.table.cell.stroke} solid ${theme2.click.table.global.color.stroke.default};
|
|
37858
38449
|
border-radius: ${theme2.click.table.radii.all}
|
|
37859
38450
|
`);
|
|
37860
|
-
const TableOuterContainer =
|
|
38451
|
+
const TableOuterContainer = styled.styled.div.withConfig({
|
|
37861
38452
|
componentId: "sc-1q458rb-13"
|
|
37862
38453
|
})(["display:flex;flex-direction:column;gap:1rem;width:100%;"]);
|
|
37863
|
-
const MobileActions =
|
|
38454
|
+
const MobileActions = styled.styled.div.withConfig({
|
|
37864
38455
|
componentId: "sc-1q458rb-14"
|
|
37865
38456
|
})(["display:none;@media (max-width:768px){display:flex;justify-content:space-between;align-items:center;padding:0 ", ";}"], ({
|
|
37866
38457
|
theme: theme2
|
|
37867
38458
|
}) => theme2.click.table.body.cell.space.sm.x);
|
|
37868
|
-
const EditButton =
|
|
38459
|
+
const EditButton = styled.styled.button.withConfig({
|
|
37869
38460
|
componentId: "sc-1q458rb-15"
|
|
37870
38461
|
})(["&:disabled{background:transparent;}"]);
|
|
37871
|
-
const TableRowCloseButton =
|
|
38462
|
+
const TableRowCloseButton = styled.styled.button.withConfig({
|
|
37872
38463
|
componentId: "sc-1q458rb-16"
|
|
37873
38464
|
})(["svg{transition:transform 200ms;", "}&:disabled{background:transparent;}"], ({
|
|
37874
38465
|
$isDeleted
|
|
@@ -37908,10 +38499,10 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
37908
38499
|
] }) })
|
|
37909
38500
|
] });
|
|
37910
38501
|
};
|
|
37911
|
-
const SpanedTableData =
|
|
38502
|
+
const SpanedTableData = styled.styled(TableData).withConfig({
|
|
37912
38503
|
componentId: "sc-1q458rb-17"
|
|
37913
38504
|
})(["text-align:center;"]);
|
|
37914
|
-
const CustomTableDataMessage =
|
|
38505
|
+
const CustomTableDataMessage = styled.styled.div.withConfig({
|
|
37915
38506
|
componentId: "sc-1q458rb-18"
|
|
37916
38507
|
})(["display:flex;gap:0.5rem;justify-content:center;"]);
|
|
37917
38508
|
const LoadingData = () => {
|
|
@@ -37998,7 +38589,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
37998
38589
|
] }) })
|
|
37999
38590
|
] });
|
|
38000
38591
|
});
|
|
38001
|
-
const StyledTable =
|
|
38592
|
+
const StyledTable = styled.styled.table.withConfig({
|
|
38002
38593
|
componentId: "sc-1q458rb-19"
|
|
38003
38594
|
})(["width:100%;border-collapse:collapse;overflow:hidden;table-layout:fixed;@media (max-width:768px){border:none;table-layout:auto;}"]);
|
|
38004
38595
|
const TextAreaField = React.forwardRef(({
|
|
@@ -38604,7 +39195,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
38604
39195
|
};
|
|
38605
39196
|
TooltipTrigger.displayName = "TooltipTrigger";
|
|
38606
39197
|
Tooltip.Trigger = TooltipTrigger;
|
|
38607
|
-
const RadixTooltipContent =
|
|
39198
|
+
const RadixTooltipContent = styled.styled($a093c7e1ec25a057$export$7c6e2c02157bb7d2).withConfig({
|
|
38608
39199
|
componentId: "sc-ymqkp1-0"
|
|
38609
39200
|
})(["display:flex;align-items:flex-start;", ""], ({
|
|
38610
39201
|
theme: theme2,
|
|
@@ -38618,7 +39209,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
38618
39209
|
white-space: pre-wrap;
|
|
38619
39210
|
${$maxWidth && `max-width: ${$maxWidth}`};
|
|
38620
39211
|
`);
|
|
38621
|
-
const Arrow =
|
|
39212
|
+
const Arrow = styled.styled.svg.withConfig({
|
|
38622
39213
|
componentId: "sc-ymqkp1-1"
|
|
38623
39214
|
})(["", ";"], ({
|
|
38624
39215
|
theme: theme2
|
|
@@ -39329,7 +39920,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
39329
39920
|
const ToastContext = React.createContext({
|
|
39330
39921
|
createToast: () => null
|
|
39331
39922
|
});
|
|
39332
|
-
const ToastIcon =
|
|
39923
|
+
const ToastIcon = styled.styled(SvgImage).withConfig({
|
|
39333
39924
|
componentId: "sc-tmc8vl-0"
|
|
39334
39925
|
})(["", ""], ({
|
|
39335
39926
|
theme: theme2,
|
|
@@ -39339,7 +39930,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
39339
39930
|
height: ${theme2.click.toast.icon.size.height};
|
|
39340
39931
|
color: ${theme2.click.toast.color.icon[$type]}
|
|
39341
39932
|
`);
|
|
39342
|
-
const hide =
|
|
39933
|
+
const hide = styled.keyframes`
|
|
39343
39934
|
from {
|
|
39344
39935
|
opacity: 1;
|
|
39345
39936
|
}
|
|
@@ -39347,7 +39938,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
39347
39938
|
opacity: 0;
|
|
39348
39939
|
}
|
|
39349
39940
|
`;
|
|
39350
|
-
const slideIn =
|
|
39941
|
+
const slideIn = styled.keyframes`
|
|
39351
39942
|
from {
|
|
39352
39943
|
transform: translateX(calc(100% + var(--viewport-padding)));
|
|
39353
39944
|
}
|
|
@@ -39355,7 +39946,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
39355
39946
|
transform: translateX(0);
|
|
39356
39947
|
}
|
|
39357
39948
|
`;
|
|
39358
|
-
const swipeOut =
|
|
39949
|
+
const swipeOut = styled.keyframes`
|
|
39359
39950
|
from {
|
|
39360
39951
|
transform: translateX(var(--radix-toast-swipe-end-x));
|
|
39361
39952
|
}
|
|
@@ -39363,7 +39954,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
39363
39954
|
transform: translateX(calc(100% + var(--viewport-padding)));
|
|
39364
39955
|
}
|
|
39365
39956
|
`;
|
|
39366
|
-
const ToastRoot =
|
|
39957
|
+
const ToastRoot = styled.styled($054eb8030ebde76e$export$be92b6f5f03c0fe9).withConfig({
|
|
39367
39958
|
componentId: "sc-tmc8vl-1"
|
|
39368
39959
|
})(["display:flex;flex-direction:column;align-items:flex-start;width:100%;", " &[data-state='open']{animation:", ' 150ms cubic-bezier(0.16,1,0.3,1);}&[data-state="closed"]{animation:', ' 100ms ease-in;}&[data-swipe="move"]{transform:translateX(var(--radix-toast-swipe-move-x));}&[data-swipe="cancel"]{transform:translateX(0);transition:transform 200ms ease-out;}&[data-swipe="end"]{animation:', " 100ms ease-out;}"], ({
|
|
39369
39960
|
theme: theme2
|
|
@@ -39375,7 +39966,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
39375
39966
|
background: ${theme2.click.global.color.background.default};
|
|
39376
39967
|
box-shadow: ${theme2.click.toast.shadow};
|
|
39377
39968
|
`, slideIn, hide, swipeOut);
|
|
39378
|
-
const ToastHeader =
|
|
39969
|
+
const ToastHeader = styled.styled($054eb8030ebde76e$export$f99233281efd08a0).withConfig({
|
|
39379
39970
|
componentId: "sc-tmc8vl-2"
|
|
39380
39971
|
})(["display:flex;justify-content:space-between;align-items:center;width:100%;gap:inherit;", ""], ({
|
|
39381
39972
|
theme: theme2
|
|
@@ -39383,7 +39974,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
39383
39974
|
font: ${theme2.click.toast.typography.title.default};
|
|
39384
39975
|
color: ${theme2.click.toast.color.title.default};
|
|
39385
39976
|
`);
|
|
39386
|
-
const ToastDescriptionContainer =
|
|
39977
|
+
const ToastDescriptionContainer = styled.styled.div.withConfig({
|
|
39387
39978
|
componentId: "sc-tmc8vl-3"
|
|
39388
39979
|
})(["display:flex;justify-content:space-between;width:100%;align-items:flex-end;gap:inherit;", ""], ({
|
|
39389
39980
|
theme: theme2
|
|
@@ -39391,7 +39982,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
39391
39982
|
font: ${theme2.click.toast.typography.title.default};
|
|
39392
39983
|
color: ${theme2.click.toast.color.title.default};
|
|
39393
39984
|
`);
|
|
39394
|
-
const ToastDescriptionContent =
|
|
39985
|
+
const ToastDescriptionContent = styled.styled.div.withConfig({
|
|
39395
39986
|
componentId: "sc-tmc8vl-4"
|
|
39396
39987
|
})(["display:flex;align-self:stretch;gap:inherit;", ""], ({
|
|
39397
39988
|
theme: theme2
|
|
@@ -39399,7 +39990,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
39399
39990
|
font: ${theme2.click.toast.typography.description.default};
|
|
39400
39991
|
color: ${theme2.click.toast.color.description.default};
|
|
39401
39992
|
`);
|
|
39402
|
-
const Title =
|
|
39993
|
+
const Title = styled.styled.div.withConfig({
|
|
39403
39994
|
componentId: "sc-tmc8vl-5"
|
|
39404
39995
|
})(["flex:1;"]);
|
|
39405
39996
|
const Toast = ({
|
|
@@ -39433,7 +40024,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
39433
40024
|
] })
|
|
39434
40025
|
] });
|
|
39435
40026
|
};
|
|
39436
|
-
const Viewport =
|
|
40027
|
+
const Viewport = styled.styled($054eb8030ebde76e$export$d5c6c08dc2d3ca7).withConfig({
|
|
39437
40028
|
componentId: "sc-tmc8vl-6"
|
|
39438
40029
|
})(["--viewport-padding:25px;position:fixed;bottom:0;right:0;display:flex;flex-direction:column;padding:var(--viewport-padding);gap:", ";width:", ";max-width:100vw;margin:0;list-style:none;z-index:2147483647;outline:none;"], ({
|
|
39439
40030
|
theme: theme2
|
|
@@ -39722,8 +40313,8 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
39722
40313
|
}
|
|
39723
40314
|
var _isKeyable = isKeyable$1;
|
|
39724
40315
|
var isKeyable = _isKeyable;
|
|
39725
|
-
function getMapData$4(
|
|
39726
|
-
var data =
|
|
40316
|
+
function getMapData$4(map2, key) {
|
|
40317
|
+
var data = map2.__data__;
|
|
39727
40318
|
return isKeyable(key) ? data[typeof key == "string" ? "string" : "hash"] : data.map;
|
|
39728
40319
|
}
|
|
39729
40320
|
var _getMapData = getMapData$4;
|
|
@@ -41100,6 +41691,41 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
41100
41691
|
}
|
|
41101
41692
|
}
|
|
41102
41693
|
},
|
|
41694
|
+
datePicker: {
|
|
41695
|
+
dateOption: {
|
|
41696
|
+
color: {
|
|
41697
|
+
label: {
|
|
41698
|
+
"default": "#161517",
|
|
41699
|
+
hover: "#161517",
|
|
41700
|
+
active: "#ffffff",
|
|
41701
|
+
disabled: "#a0a0a0",
|
|
41702
|
+
range: "#161517"
|
|
41703
|
+
},
|
|
41704
|
+
background: {
|
|
41705
|
+
"default": "#ffffff",
|
|
41706
|
+
hover: "#ffffff",
|
|
41707
|
+
active: "#151515",
|
|
41708
|
+
disabled: "#ffffff",
|
|
41709
|
+
range: "#e6e7e9"
|
|
41710
|
+
},
|
|
41711
|
+
stroke: {
|
|
41712
|
+
"default": "#ffffff",
|
|
41713
|
+
hover: "#151515",
|
|
41714
|
+
active: "#151515",
|
|
41715
|
+
disabled: "#ffffff",
|
|
41716
|
+
range: "#e6e7e9"
|
|
41717
|
+
}
|
|
41718
|
+
}
|
|
41719
|
+
},
|
|
41720
|
+
color: {
|
|
41721
|
+
title: {
|
|
41722
|
+
"default": "lch(10.2 1.39 305)"
|
|
41723
|
+
},
|
|
41724
|
+
daytitle: {
|
|
41725
|
+
"default": "#696e79"
|
|
41726
|
+
}
|
|
41727
|
+
}
|
|
41728
|
+
},
|
|
41103
41729
|
global: {
|
|
41104
41730
|
color: {
|
|
41105
41731
|
text: {
|
|
@@ -41802,6 +42428,154 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
41802
42428
|
},
|
|
41803
42429
|
checkbox: {
|
|
41804
42430
|
color: {
|
|
42431
|
+
variations: {
|
|
42432
|
+
"default": {
|
|
42433
|
+
background: {
|
|
42434
|
+
"default": "rgb(17.8% 17.8% 17.8%)",
|
|
42435
|
+
hover: "rgb(17.8% 17.8% 17.8%)",
|
|
42436
|
+
active: "#FAFF69",
|
|
42437
|
+
disabled: "#414141"
|
|
42438
|
+
},
|
|
42439
|
+
stroke: {
|
|
42440
|
+
"default": "#414141",
|
|
42441
|
+
hover: "#414141",
|
|
42442
|
+
active: "#FAFF69",
|
|
42443
|
+
disabled: "#606060"
|
|
42444
|
+
},
|
|
42445
|
+
check: {
|
|
42446
|
+
"default": "#ffffff",
|
|
42447
|
+
hover: "#ffffff",
|
|
42448
|
+
active: "#151515",
|
|
42449
|
+
disabled: "#808080"
|
|
42450
|
+
},
|
|
42451
|
+
label: {
|
|
42452
|
+
"default": "#ffffff",
|
|
42453
|
+
hover: "#ffffff",
|
|
42454
|
+
active: "#ffffff",
|
|
42455
|
+
disabled: "#606060"
|
|
42456
|
+
}
|
|
42457
|
+
},
|
|
42458
|
+
var1: {
|
|
42459
|
+
background: {
|
|
42460
|
+
"default": "rgb(17.8% 17.8% 17.8%)",
|
|
42461
|
+
hover: "rgb(17.8% 17.8% 17.8%)",
|
|
42462
|
+
active: "#66FF73",
|
|
42463
|
+
disabled: "rgb(17.8% 17.8% 17.8%)"
|
|
42464
|
+
},
|
|
42465
|
+
stroke: {
|
|
42466
|
+
"default": "#00CC11",
|
|
42467
|
+
hover: "#66FF73",
|
|
42468
|
+
active: "#66FF73",
|
|
42469
|
+
disabled: "#606060"
|
|
42470
|
+
},
|
|
42471
|
+
check: {
|
|
42472
|
+
"default": "#ffffff",
|
|
42473
|
+
hover: "#ffffff",
|
|
42474
|
+
active: "#ffffff",
|
|
42475
|
+
disabled: "#a0a0a0"
|
|
42476
|
+
}
|
|
42477
|
+
},
|
|
42478
|
+
var2: {
|
|
42479
|
+
background: {
|
|
42480
|
+
"default": "rgb(17.8% 17.8% 17.8%)",
|
|
42481
|
+
hover: "rgb(17.8% 17.8% 17.8%)",
|
|
42482
|
+
active: "#6c9af3",
|
|
42483
|
+
disabled: "rgb(17.8% 17.8% 17.8%)"
|
|
42484
|
+
},
|
|
42485
|
+
stroke: {
|
|
42486
|
+
"default": "#6c9af3",
|
|
42487
|
+
hover: "#91b3f6",
|
|
42488
|
+
active: "#91b3f6",
|
|
42489
|
+
disabled: "#606060"
|
|
42490
|
+
},
|
|
42491
|
+
check: {
|
|
42492
|
+
"default": "#ffffff",
|
|
42493
|
+
hover: "#ffffff",
|
|
42494
|
+
active: "#ffffff",
|
|
42495
|
+
disabled: "#a0a0a0"
|
|
42496
|
+
}
|
|
42497
|
+
},
|
|
42498
|
+
var3: {
|
|
42499
|
+
background: {
|
|
42500
|
+
"default": "rgb(17.8% 17.8% 17.8%)",
|
|
42501
|
+
hover: "rgb(17.8% 17.8% 17.8%)",
|
|
42502
|
+
active: "#FB64D6",
|
|
42503
|
+
disabled: "rgb(17.8% 17.8% 17.8%)"
|
|
42504
|
+
},
|
|
42505
|
+
stroke: {
|
|
42506
|
+
"default": "#FB64D6",
|
|
42507
|
+
hover: "#FB64D6",
|
|
42508
|
+
active: "#FB64D6",
|
|
42509
|
+
disabled: "#606060"
|
|
42510
|
+
},
|
|
42511
|
+
check: {
|
|
42512
|
+
"default": "#ffffff",
|
|
42513
|
+
hover: "#ffffff",
|
|
42514
|
+
active: "#ffffff",
|
|
42515
|
+
disabled: "#a0a0a0"
|
|
42516
|
+
}
|
|
42517
|
+
},
|
|
42518
|
+
var4: {
|
|
42519
|
+
background: {
|
|
42520
|
+
"default": "rgb(17.8% 17.8% 17.8%)",
|
|
42521
|
+
hover: "rgb(17.8% 17.8% 17.8%)",
|
|
42522
|
+
active: "#FAFF69",
|
|
42523
|
+
disabled: "rgb(17.8% 17.8% 17.8%)"
|
|
42524
|
+
},
|
|
42525
|
+
stroke: {
|
|
42526
|
+
"default": "#FAFF69",
|
|
42527
|
+
hover: "#fdffa3",
|
|
42528
|
+
active: "#fdffa3",
|
|
42529
|
+
disabled: "#606060"
|
|
42530
|
+
},
|
|
42531
|
+
check: {
|
|
42532
|
+
"default": "#ffffff",
|
|
42533
|
+
hover: "#ffffff",
|
|
42534
|
+
active: "#ffffff",
|
|
42535
|
+
disabled: "#a0a0a0"
|
|
42536
|
+
}
|
|
42537
|
+
},
|
|
42538
|
+
var5: {
|
|
42539
|
+
background: {
|
|
42540
|
+
"default": "rgb(17.8% 17.8% 17.8%)",
|
|
42541
|
+
hover: "rgb(17.8% 17.8% 17.8%)",
|
|
42542
|
+
active: "#66FFE5",
|
|
42543
|
+
disabled: "rgb(17.8% 17.8% 17.8%)"
|
|
42544
|
+
},
|
|
42545
|
+
stroke: {
|
|
42546
|
+
"default": "#66FFE5",
|
|
42547
|
+
hover: "#99FFEE",
|
|
42548
|
+
active: "#99FFEE",
|
|
42549
|
+
disabled: "#606060"
|
|
42550
|
+
},
|
|
42551
|
+
check: {
|
|
42552
|
+
"default": "#ffffff",
|
|
42553
|
+
hover: "#ffffff",
|
|
42554
|
+
active: "#ffffff",
|
|
42555
|
+
disabled: "#a0a0a0"
|
|
42556
|
+
}
|
|
42557
|
+
},
|
|
42558
|
+
var6: {
|
|
42559
|
+
background: {
|
|
42560
|
+
"default": "rgb(17.8% 17.8% 17.8%)",
|
|
42561
|
+
hover: "rgb(17.8% 17.8% 17.8%)",
|
|
42562
|
+
active: "#BB33FF",
|
|
42563
|
+
disabled: "rgb(17.8% 17.8% 17.8%)"
|
|
42564
|
+
},
|
|
42565
|
+
stroke: {
|
|
42566
|
+
"default": "#CC66FF",
|
|
42567
|
+
hover: "#CC66FF",
|
|
42568
|
+
active: "#CC66FF",
|
|
42569
|
+
disabled: "#606060"
|
|
42570
|
+
},
|
|
42571
|
+
check: {
|
|
42572
|
+
"default": "#ffffff",
|
|
42573
|
+
hover: "#ffffff",
|
|
42574
|
+
active: "#ffffff",
|
|
42575
|
+
disabled: "#a0a0a0"
|
|
42576
|
+
}
|
|
42577
|
+
}
|
|
42578
|
+
},
|
|
41805
42579
|
background: {
|
|
41806
42580
|
"default": "rgb(17.8% 17.8% 17.8%)",
|
|
41807
42581
|
hover: "rgb(17.8% 17.8% 17.8%)",
|
|
@@ -42557,6 +43331,41 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
42557
43331
|
}
|
|
42558
43332
|
}
|
|
42559
43333
|
},
|
|
43334
|
+
datePicker: {
|
|
43335
|
+
dateOption: {
|
|
43336
|
+
color: {
|
|
43337
|
+
label: {
|
|
43338
|
+
"default": "#ffffff",
|
|
43339
|
+
hover: "#ffffff",
|
|
43340
|
+
active: "#1F1F1C",
|
|
43341
|
+
disabled: "#a0a0a0",
|
|
43342
|
+
range: "#ffffff"
|
|
43343
|
+
},
|
|
43344
|
+
background: {
|
|
43345
|
+
"default": "#1F1F1C",
|
|
43346
|
+
hover: "#1F1F1C",
|
|
43347
|
+
active: "#FAFF69",
|
|
43348
|
+
disabled: "#1F1F1C",
|
|
43349
|
+
range: "#323232"
|
|
43350
|
+
},
|
|
43351
|
+
stroke: {
|
|
43352
|
+
"default": "#1F1F1C",
|
|
43353
|
+
hover: "#FAFF69",
|
|
43354
|
+
active: "#FAFF69",
|
|
43355
|
+
disabled: "#1F1F1C",
|
|
43356
|
+
range: "#323232"
|
|
43357
|
+
}
|
|
43358
|
+
}
|
|
43359
|
+
},
|
|
43360
|
+
color: {
|
|
43361
|
+
title: {
|
|
43362
|
+
"default": "rgb(97.5% 97.5% 97.5%)"
|
|
43363
|
+
},
|
|
43364
|
+
daytitle: {
|
|
43365
|
+
"default": "#b3b6bd"
|
|
43366
|
+
}
|
|
43367
|
+
}
|
|
43368
|
+
},
|
|
42560
43369
|
global: {
|
|
42561
43370
|
color: {
|
|
42562
43371
|
background: {
|
|
@@ -42707,7 +43516,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
42707
43516
|
}
|
|
42708
43517
|
},
|
|
42709
43518
|
icon: {
|
|
42710
|
-
background: "linear-gradient(132deg, #FAFF69
|
|
43519
|
+
background: "linear-gradient(132deg, #FAFF69 8%, #292929 30%);"
|
|
42711
43520
|
}
|
|
42712
43521
|
}
|
|
42713
43522
|
};
|
|
@@ -43307,6 +44116,148 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
43307
44116
|
},
|
|
43308
44117
|
checkbox: {
|
|
43309
44118
|
color: {
|
|
44119
|
+
variations: {
|
|
44120
|
+
"default": {
|
|
44121
|
+
background: {
|
|
44122
|
+
"default": "#f6f7fa",
|
|
44123
|
+
hover: "#f6f7fa",
|
|
44124
|
+
active: "#161517",
|
|
44125
|
+
disabled: "#dfdfdf"
|
|
44126
|
+
},
|
|
44127
|
+
stroke: {
|
|
44128
|
+
"default": "#b3b6bd",
|
|
44129
|
+
hover: "#b3b6bd",
|
|
44130
|
+
active: "#161517",
|
|
44131
|
+
disabled: "#c0c0c0"
|
|
44132
|
+
},
|
|
44133
|
+
check: {
|
|
44134
|
+
"default": "#ffffff",
|
|
44135
|
+
hover: "#ffffff",
|
|
44136
|
+
active: "#ffffff",
|
|
44137
|
+
disabled: "#a0a0a0"
|
|
44138
|
+
}
|
|
44139
|
+
},
|
|
44140
|
+
var1: {
|
|
44141
|
+
background: {
|
|
44142
|
+
"default": "#f6f7fa",
|
|
44143
|
+
hover: "#f6f7fa",
|
|
44144
|
+
active: "#62de85",
|
|
44145
|
+
disabled: "#dfdfdf"
|
|
44146
|
+
},
|
|
44147
|
+
stroke: {
|
|
44148
|
+
"default": "#62de85",
|
|
44149
|
+
hover: "#62de85",
|
|
44150
|
+
active: "#62de85",
|
|
44151
|
+
disabled: "#c0c0c0"
|
|
44152
|
+
},
|
|
44153
|
+
check: {
|
|
44154
|
+
"default": "#ffffff",
|
|
44155
|
+
hover: "#ffffff",
|
|
44156
|
+
active: "#ffffff",
|
|
44157
|
+
disabled: "#a0a0a0"
|
|
44158
|
+
}
|
|
44159
|
+
},
|
|
44160
|
+
var2: {
|
|
44161
|
+
background: {
|
|
44162
|
+
"default": "#f6f7fa",
|
|
44163
|
+
hover: "#f6f7fa",
|
|
44164
|
+
active: "#6c9af3",
|
|
44165
|
+
disabled: "#dfdfdf"
|
|
44166
|
+
},
|
|
44167
|
+
stroke: {
|
|
44168
|
+
"default": "#6c9af3",
|
|
44169
|
+
hover: "#6c9af3",
|
|
44170
|
+
active: "#6c9af3",
|
|
44171
|
+
disabled: "#c0c0c0"
|
|
44172
|
+
},
|
|
44173
|
+
check: {
|
|
44174
|
+
"default": "#ffffff",
|
|
44175
|
+
hover: "#ffffff",
|
|
44176
|
+
active: "#ffffff",
|
|
44177
|
+
disabled: "#a0a0a0"
|
|
44178
|
+
}
|
|
44179
|
+
},
|
|
44180
|
+
var3: {
|
|
44181
|
+
background: {
|
|
44182
|
+
"default": "#f6f7fa",
|
|
44183
|
+
hover: "#f6f7fa",
|
|
44184
|
+
active: "#FB64D6",
|
|
44185
|
+
disabled: "#dfdfdf"
|
|
44186
|
+
},
|
|
44187
|
+
stroke: {
|
|
44188
|
+
"default": "#FB64D6",
|
|
44189
|
+
hover: "#FB64D6",
|
|
44190
|
+
active: "#FB64D6",
|
|
44191
|
+
disabled: "#c0c0c0"
|
|
44192
|
+
},
|
|
44193
|
+
check: {
|
|
44194
|
+
"default": "#ffffff",
|
|
44195
|
+
hover: "#ffffff",
|
|
44196
|
+
active: "#ffffff",
|
|
44197
|
+
disabled: "#a0a0a0"
|
|
44198
|
+
}
|
|
44199
|
+
},
|
|
44200
|
+
var4: {
|
|
44201
|
+
background: {
|
|
44202
|
+
"default": "#f6f7fa",
|
|
44203
|
+
hover: "#f6f7fa",
|
|
44204
|
+
active: "#ffb864",
|
|
44205
|
+
disabled: "#dfdfdf"
|
|
44206
|
+
},
|
|
44207
|
+
stroke: {
|
|
44208
|
+
"default": "#ffb864",
|
|
44209
|
+
hover: "#ffb864",
|
|
44210
|
+
active: "#ffb864",
|
|
44211
|
+
disabled: "#c0c0c0"
|
|
44212
|
+
},
|
|
44213
|
+
check: {
|
|
44214
|
+
"default": "#ffffff",
|
|
44215
|
+
hover: "#ffffff",
|
|
44216
|
+
active: "#ffffff",
|
|
44217
|
+
disabled: "#a0a0a0"
|
|
44218
|
+
}
|
|
44219
|
+
},
|
|
44220
|
+
var5: {
|
|
44221
|
+
background: {
|
|
44222
|
+
"default": "#f6f7fa",
|
|
44223
|
+
hover: "#f6f7fa",
|
|
44224
|
+
active: "#00CCAA",
|
|
44225
|
+
disabled: "#dfdfdf"
|
|
44226
|
+
},
|
|
44227
|
+
stroke: {
|
|
44228
|
+
"default": "#00CCAA",
|
|
44229
|
+
hover: "#00CCAA",
|
|
44230
|
+
active: "#00CCAA",
|
|
44231
|
+
disabled: "#c0c0c0"
|
|
44232
|
+
},
|
|
44233
|
+
check: {
|
|
44234
|
+
"default": "#ffffff",
|
|
44235
|
+
hover: "#ffffff",
|
|
44236
|
+
active: "#ffffff",
|
|
44237
|
+
disabled: "#a0a0a0"
|
|
44238
|
+
}
|
|
44239
|
+
},
|
|
44240
|
+
var6: {
|
|
44241
|
+
background: {
|
|
44242
|
+
"default": "#f6f7fa",
|
|
44243
|
+
hover: "#f6f7fa",
|
|
44244
|
+
active: "#CC66FF",
|
|
44245
|
+
disabled: "#dfdfdf"
|
|
44246
|
+
},
|
|
44247
|
+
stroke: {
|
|
44248
|
+
"default": "#CC66FF",
|
|
44249
|
+
hover: "#BB33FF",
|
|
44250
|
+
active: "#BB33FF",
|
|
44251
|
+
disabled: "#c0c0c0"
|
|
44252
|
+
},
|
|
44253
|
+
check: {
|
|
44254
|
+
"default": "#ffffff",
|
|
44255
|
+
hover: "#ffffff",
|
|
44256
|
+
active: "#ffffff",
|
|
44257
|
+
disabled: "#a0a0a0"
|
|
44258
|
+
}
|
|
44259
|
+
}
|
|
44260
|
+
},
|
|
43310
44261
|
background: {
|
|
43311
44262
|
"default": "#f6f7fa",
|
|
43312
44263
|
hover: "#f6f7fa",
|
|
@@ -44055,6 +45006,41 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
44055
45006
|
}
|
|
44056
45007
|
}
|
|
44057
45008
|
},
|
|
45009
|
+
datePicker: {
|
|
45010
|
+
dateOption: {
|
|
45011
|
+
color: {
|
|
45012
|
+
label: {
|
|
45013
|
+
"default": "#161517",
|
|
45014
|
+
hover: "#161517",
|
|
45015
|
+
active: "#ffffff",
|
|
45016
|
+
disabled: "#a0a0a0",
|
|
45017
|
+
range: "#161517"
|
|
45018
|
+
},
|
|
45019
|
+
background: {
|
|
45020
|
+
"default": "#ffffff",
|
|
45021
|
+
hover: "#ffffff",
|
|
45022
|
+
active: "#151515",
|
|
45023
|
+
disabled: "#ffffff",
|
|
45024
|
+
range: "#e6e7e9"
|
|
45025
|
+
},
|
|
45026
|
+
stroke: {
|
|
45027
|
+
"default": "#ffffff",
|
|
45028
|
+
hover: "#151515",
|
|
45029
|
+
active: "#151515",
|
|
45030
|
+
disabled: "#ffffff",
|
|
45031
|
+
range: "#e6e7e9"
|
|
45032
|
+
}
|
|
45033
|
+
}
|
|
45034
|
+
},
|
|
45035
|
+
color: {
|
|
45036
|
+
title: {
|
|
45037
|
+
"default": "lch(11.1 1.37 305)"
|
|
45038
|
+
},
|
|
45039
|
+
daytitle: {
|
|
45040
|
+
"default": "#696e79"
|
|
45041
|
+
}
|
|
45042
|
+
}
|
|
45043
|
+
},
|
|
44058
45044
|
global: {
|
|
44059
45045
|
color: {
|
|
44060
45046
|
background: {
|
|
@@ -44123,7 +45109,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
44123
45109
|
chart: {
|
|
44124
45110
|
bars: {
|
|
44125
45111
|
color: {
|
|
44126
|
-
green: "#
|
|
45112
|
+
green: "#62de85",
|
|
44127
45113
|
blue: "#6c9af3",
|
|
44128
45114
|
fuchsia: "#FB64D6",
|
|
44129
45115
|
orange: "#ffb864",
|
|
@@ -44191,7 +45177,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
44191
45177
|
},
|
|
44192
45178
|
chart: {
|
|
44193
45179
|
bars: {
|
|
44194
|
-
green: "#
|
|
45180
|
+
green: "#62de85",
|
|
44195
45181
|
blue: "#6c9af3",
|
|
44196
45182
|
fuchsia: "#FB64D6",
|
|
44197
45183
|
orange: "#ffb864",
|
|
@@ -44206,7 +45192,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
44206
45192
|
}
|
|
44207
45193
|
},
|
|
44208
45194
|
icon: {
|
|
44209
|
-
background: "linear-gradient(132deg, #FFFFFF
|
|
45195
|
+
background: "linear-gradient(132deg, #FFFFFF 8%, #292929 30%);"
|
|
44210
45196
|
}
|
|
44211
45197
|
}
|
|
44212
45198
|
};
|
|
@@ -45279,6 +46265,154 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
45279
46265
|
}
|
|
45280
46266
|
},
|
|
45281
46267
|
color: {
|
|
46268
|
+
variations: {
|
|
46269
|
+
"default": {
|
|
46270
|
+
background: {
|
|
46271
|
+
"default": "#f6f7fa",
|
|
46272
|
+
hover: "#f6f7fa",
|
|
46273
|
+
active: "#161517",
|
|
46274
|
+
disabled: "#dfdfdf"
|
|
46275
|
+
},
|
|
46276
|
+
stroke: {
|
|
46277
|
+
"default": "#b3b6bd",
|
|
46278
|
+
hover: "#b3b6bd",
|
|
46279
|
+
active: "#161517",
|
|
46280
|
+
disabled: "#c0c0c0"
|
|
46281
|
+
},
|
|
46282
|
+
check: {
|
|
46283
|
+
"default": "#ffffff",
|
|
46284
|
+
hover: "#ffffff",
|
|
46285
|
+
active: "#ffffff",
|
|
46286
|
+
disabled: "#a0a0a0"
|
|
46287
|
+
},
|
|
46288
|
+
label: {
|
|
46289
|
+
"default": "#161517",
|
|
46290
|
+
hover: "#161517",
|
|
46291
|
+
active: "#161517",
|
|
46292
|
+
disabled: "#a0a0a0"
|
|
46293
|
+
}
|
|
46294
|
+
},
|
|
46295
|
+
var1: {
|
|
46296
|
+
background: {
|
|
46297
|
+
"default": "#f6f7fa",
|
|
46298
|
+
hover: "#f6f7fa",
|
|
46299
|
+
active: "#62de85",
|
|
46300
|
+
disabled: "#dfdfdf"
|
|
46301
|
+
},
|
|
46302
|
+
stroke: {
|
|
46303
|
+
"default": "#62de85",
|
|
46304
|
+
hover: "#62de85",
|
|
46305
|
+
active: "#62de85",
|
|
46306
|
+
disabled: "#c0c0c0"
|
|
46307
|
+
},
|
|
46308
|
+
check: {
|
|
46309
|
+
"default": "#ffffff",
|
|
46310
|
+
hover: "#ffffff",
|
|
46311
|
+
active: "#ffffff",
|
|
46312
|
+
disabled: "#a0a0a0"
|
|
46313
|
+
}
|
|
46314
|
+
},
|
|
46315
|
+
var2: {
|
|
46316
|
+
background: {
|
|
46317
|
+
"default": "#f6f7fa",
|
|
46318
|
+
hover: "#f6f7fa",
|
|
46319
|
+
active: "#6c9af3",
|
|
46320
|
+
disabled: "#dfdfdf"
|
|
46321
|
+
},
|
|
46322
|
+
stroke: {
|
|
46323
|
+
"default": "#6c9af3",
|
|
46324
|
+
hover: "#6c9af3",
|
|
46325
|
+
active: "#6c9af3",
|
|
46326
|
+
disabled: "#c0c0c0"
|
|
46327
|
+
},
|
|
46328
|
+
check: {
|
|
46329
|
+
"default": "#ffffff",
|
|
46330
|
+
hover: "#ffffff",
|
|
46331
|
+
active: "#ffffff",
|
|
46332
|
+
disabled: "#a0a0a0"
|
|
46333
|
+
}
|
|
46334
|
+
},
|
|
46335
|
+
var3: {
|
|
46336
|
+
background: {
|
|
46337
|
+
"default": "#f6f7fa",
|
|
46338
|
+
hover: "#f6f7fa",
|
|
46339
|
+
active: "#FB64D6",
|
|
46340
|
+
disabled: "#dfdfdf"
|
|
46341
|
+
},
|
|
46342
|
+
stroke: {
|
|
46343
|
+
"default": "#FB64D6",
|
|
46344
|
+
hover: "#FB64D6",
|
|
46345
|
+
active: "#FB64D6",
|
|
46346
|
+
disabled: "#c0c0c0"
|
|
46347
|
+
},
|
|
46348
|
+
check: {
|
|
46349
|
+
"default": "#ffffff",
|
|
46350
|
+
hover: "#ffffff",
|
|
46351
|
+
active: "#ffffff",
|
|
46352
|
+
disabled: "#a0a0a0"
|
|
46353
|
+
}
|
|
46354
|
+
},
|
|
46355
|
+
var4: {
|
|
46356
|
+
background: {
|
|
46357
|
+
"default": "#f6f7fa",
|
|
46358
|
+
hover: "#f6f7fa",
|
|
46359
|
+
active: "#ffb864",
|
|
46360
|
+
disabled: "#dfdfdf"
|
|
46361
|
+
},
|
|
46362
|
+
stroke: {
|
|
46363
|
+
"default": "#ffb864",
|
|
46364
|
+
hover: "#ffb864",
|
|
46365
|
+
active: "#ffb864",
|
|
46366
|
+
disabled: "#c0c0c0"
|
|
46367
|
+
},
|
|
46368
|
+
check: {
|
|
46369
|
+
"default": "#ffffff",
|
|
46370
|
+
hover: "#ffffff",
|
|
46371
|
+
active: "#ffffff",
|
|
46372
|
+
disabled: "#a0a0a0"
|
|
46373
|
+
}
|
|
46374
|
+
},
|
|
46375
|
+
var5: {
|
|
46376
|
+
background: {
|
|
46377
|
+
"default": "#f6f7fa",
|
|
46378
|
+
hover: "#f6f7fa",
|
|
46379
|
+
active: "#00CCAA",
|
|
46380
|
+
disabled: "#dfdfdf"
|
|
46381
|
+
},
|
|
46382
|
+
stroke: {
|
|
46383
|
+
"default": "#00CCAA",
|
|
46384
|
+
hover: "#00CCAA",
|
|
46385
|
+
active: "#00CCAA",
|
|
46386
|
+
disabled: "#c0c0c0"
|
|
46387
|
+
},
|
|
46388
|
+
check: {
|
|
46389
|
+
"default": "#ffffff",
|
|
46390
|
+
hover: "#ffffff",
|
|
46391
|
+
active: "#ffffff",
|
|
46392
|
+
disabled: "#a0a0a0"
|
|
46393
|
+
}
|
|
46394
|
+
},
|
|
46395
|
+
var6: {
|
|
46396
|
+
background: {
|
|
46397
|
+
"default": "#f6f7fa",
|
|
46398
|
+
hover: "#f6f7fa",
|
|
46399
|
+
active: "#CC66FF",
|
|
46400
|
+
disabled: "#dfdfdf"
|
|
46401
|
+
},
|
|
46402
|
+
stroke: {
|
|
46403
|
+
"default": "#CC66FF",
|
|
46404
|
+
hover: "#BB33FF",
|
|
46405
|
+
active: "#BB33FF",
|
|
46406
|
+
disabled: "#c0c0c0"
|
|
46407
|
+
},
|
|
46408
|
+
check: {
|
|
46409
|
+
"default": "#ffffff",
|
|
46410
|
+
hover: "#ffffff",
|
|
46411
|
+
active: "#ffffff",
|
|
46412
|
+
disabled: "#a0a0a0"
|
|
46413
|
+
}
|
|
46414
|
+
}
|
|
46415
|
+
},
|
|
45282
46416
|
background: {
|
|
45283
46417
|
"default": "#f6f7fa",
|
|
45284
46418
|
hover: "#f6f7fa",
|
|
@@ -46719,6 +47853,10 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
46719
47853
|
narrow: {
|
|
46720
47854
|
width: "21rem",
|
|
46721
47855
|
height: "100%"
|
|
47856
|
+
},
|
|
47857
|
+
widest: {
|
|
47858
|
+
width: "55rem",
|
|
47859
|
+
height: "100vh"
|
|
46722
47860
|
}
|
|
46723
47861
|
},
|
|
46724
47862
|
typography: {
|
|
@@ -46922,6 +48060,73 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
46922
48060
|
}
|
|
46923
48061
|
}
|
|
46924
48062
|
},
|
|
48063
|
+
datePicker: {
|
|
48064
|
+
dateOption: {
|
|
48065
|
+
space: {
|
|
48066
|
+
gap: "2px"
|
|
48067
|
+
},
|
|
48068
|
+
radii: {
|
|
48069
|
+
"default": "0.25rem",
|
|
48070
|
+
range: "0"
|
|
48071
|
+
},
|
|
48072
|
+
stroke: "1px",
|
|
48073
|
+
size: {
|
|
48074
|
+
height: "2rem",
|
|
48075
|
+
width: "2rem"
|
|
48076
|
+
},
|
|
48077
|
+
typography: {
|
|
48078
|
+
label: {
|
|
48079
|
+
"default": `400 0.75rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,
|
|
48080
|
+
hover: `400 0.75rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,
|
|
48081
|
+
active: `600 0.75rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,
|
|
48082
|
+
disabled: `400 0.75rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`,
|
|
48083
|
+
range: `400 0.75rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`
|
|
48084
|
+
}
|
|
48085
|
+
},
|
|
48086
|
+
color: {
|
|
48087
|
+
label: {
|
|
48088
|
+
"default": "#161517",
|
|
48089
|
+
hover: "#161517",
|
|
48090
|
+
active: "#ffffff",
|
|
48091
|
+
disabled: "#a0a0a0",
|
|
48092
|
+
range: "#161517"
|
|
48093
|
+
},
|
|
48094
|
+
background: {
|
|
48095
|
+
"default": "#ffffff",
|
|
48096
|
+
hover: "#ffffff",
|
|
48097
|
+
active: "#151515",
|
|
48098
|
+
disabled: "#ffffff",
|
|
48099
|
+
range: "#e6e7e9"
|
|
48100
|
+
},
|
|
48101
|
+
stroke: {
|
|
48102
|
+
"default": "#ffffff",
|
|
48103
|
+
hover: "#151515",
|
|
48104
|
+
active: "#151515",
|
|
48105
|
+
disabled: "#ffffff",
|
|
48106
|
+
range: "#e6e7e9"
|
|
48107
|
+
}
|
|
48108
|
+
}
|
|
48109
|
+
},
|
|
48110
|
+
space: {
|
|
48111
|
+
gap: "0.25rem"
|
|
48112
|
+
},
|
|
48113
|
+
typography: {
|
|
48114
|
+
daytitle: {
|
|
48115
|
+
"default": `400 0.75rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`
|
|
48116
|
+
},
|
|
48117
|
+
title: {
|
|
48118
|
+
"default": `600 0.875rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`
|
|
48119
|
+
}
|
|
48120
|
+
},
|
|
48121
|
+
color: {
|
|
48122
|
+
title: {
|
|
48123
|
+
"default": "lch(11.1 1.37 305)"
|
|
48124
|
+
},
|
|
48125
|
+
daytitle: {
|
|
48126
|
+
"default": "#696e79"
|
|
48127
|
+
}
|
|
48128
|
+
}
|
|
48129
|
+
},
|
|
46925
48130
|
global: {
|
|
46926
48131
|
color: {
|
|
46927
48132
|
background: {
|
|
@@ -46990,7 +48195,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
46990
48195
|
chart: {
|
|
46991
48196
|
bars: {
|
|
46992
48197
|
color: {
|
|
46993
|
-
green: "#
|
|
48198
|
+
green: "#62de85",
|
|
46994
48199
|
blue: "#6c9af3",
|
|
46995
48200
|
fuchsia: "#FB64D6",
|
|
46996
48201
|
orange: "#ffb864",
|
|
@@ -47096,7 +48301,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
47096
48301
|
},
|
|
47097
48302
|
chart: {
|
|
47098
48303
|
bars: {
|
|
47099
|
-
green: "#
|
|
48304
|
+
green: "#62de85",
|
|
47100
48305
|
blue: "#6c9af3",
|
|
47101
48306
|
fuchsia: "#FB64D6",
|
|
47102
48307
|
orange: "#ffb864",
|
|
@@ -47111,7 +48316,11 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
47111
48316
|
}
|
|
47112
48317
|
},
|
|
47113
48318
|
icon: {
|
|
47114
|
-
background: "linear-gradient(132deg, #FFFFFF
|
|
48319
|
+
background: "linear-gradient(132deg, #FFFFFF 8%, #292929 30%);"
|
|
48320
|
+
},
|
|
48321
|
+
gradients: {
|
|
48322
|
+
yellowToBlack: "linear-gradient(132deg, #faff69 8%, #292929 30%)",
|
|
48323
|
+
whiteToBlack: "linear-gradient(132deg, #ffffff 8%, #292929 30%)"
|
|
47115
48324
|
}
|
|
47116
48325
|
}
|
|
47117
48326
|
};
|
|
@@ -47229,8 +48438,8 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
47229
48438
|
},
|
|
47230
48439
|
gradients: {
|
|
47231
48440
|
base: "linear-gradient(229.65deg, #292924 15.78%, #0F0F0F 88.39%)",
|
|
47232
|
-
yellowToblack: "linear-gradient(132deg, #FAFF69
|
|
47233
|
-
whiteToblack: "linear-gradient(132deg, #FFFFFF
|
|
48441
|
+
yellowToblack: "linear-gradient(132deg, #FAFF69 8%, #292929 30%);",
|
|
48442
|
+
whiteToblack: "linear-gradient(132deg, #FFFFFF 8%, #292929 30%);",
|
|
47234
48443
|
transparent: "rgba(0,0,0,0)"
|
|
47235
48444
|
},
|
|
47236
48445
|
utility: {
|
|
@@ -47452,7 +48661,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
47452
48661
|
classic: merge$1({}, theme, classicTheme)
|
|
47453
48662
|
};
|
|
47454
48663
|
const useCUITheme = () => {
|
|
47455
|
-
const theme2 =
|
|
48664
|
+
const theme2 = styled.useTheme();
|
|
47456
48665
|
return {
|
|
47457
48666
|
breakpoint: theme2.breakpoint,
|
|
47458
48667
|
global: theme2.global,
|
|
@@ -47460,11 +48669,11 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
47460
48669
|
sizes: theme2.sizes
|
|
47461
48670
|
};
|
|
47462
48671
|
};
|
|
47463
|
-
const GlobalStyle =
|
|
48672
|
+
const GlobalStyle = styled.createGlobalStyle(["body{color:", ";background-color:", "}"], (props) => props.theme.click.global.color.text.default, (props) => props.theme.click.global.color.background.default);
|
|
47464
48673
|
const ThemeProvider = ({
|
|
47465
48674
|
theme: name2,
|
|
47466
48675
|
children
|
|
47467
|
-
}) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
48676
|
+
}) => /* @__PURE__ */ jsxRuntime.jsxs(styled.ThemeProvider, { theme: themes[name2], children: [
|
|
47468
48677
|
/* @__PURE__ */ jsxRuntime.jsx(GlobalStyle, {}),
|
|
47469
48678
|
children
|
|
47470
48679
|
] });
|
|
@@ -47489,7 +48698,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
47489
48698
|
const StepperContext = React.createContext({
|
|
47490
48699
|
type: "numbered"
|
|
47491
48700
|
});
|
|
47492
|
-
const StepRoot =
|
|
48701
|
+
const StepRoot = styled.styled.div.withConfig({
|
|
47493
48702
|
componentId: "sc-xro1ly-0"
|
|
47494
48703
|
})(["display:flex;flex-direction:column;align-items:flex-start;counter-reset:vertical-stepper;width:100%;"]);
|
|
47495
48704
|
const VerticalStepper = ({
|
|
@@ -47502,7 +48711,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
47502
48711
|
};
|
|
47503
48712
|
return /* @__PURE__ */ jsxRuntime.jsx(StepRoot, { ...props, children: /* @__PURE__ */ jsxRuntime.jsx(StepperContext.Provider, { value, children }) });
|
|
47504
48713
|
};
|
|
47505
|
-
const StepItem =
|
|
48714
|
+
const StepItem = styled.styled.div.withConfig({
|
|
47506
48715
|
componentId: "sc-xro1ly-1"
|
|
47507
48716
|
})(["display:flex;flex-direction:column;position:relative;width:100%;padding:0;", ""], ({
|
|
47508
48717
|
theme: theme2,
|
|
@@ -47527,7 +48736,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
47527
48736
|
}
|
|
47528
48737
|
}
|
|
47529
48738
|
`);
|
|
47530
|
-
const StepTrigger =
|
|
48739
|
+
const StepTrigger = styled.styled.button.withConfig({
|
|
47531
48740
|
componentId: "sc-xro1ly-2"
|
|
47532
48741
|
})(["", ""], ({
|
|
47533
48742
|
$status
|
|
@@ -47542,7 +48751,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
47542
48751
|
cursor: ${$status === "active" ? "default" : $status === "complete" ? "pointer" : "not-allowed"};
|
|
47543
48752
|
flex-direction: row;
|
|
47544
48753
|
`);
|
|
47545
|
-
const StepBubble =
|
|
48754
|
+
const StepBubble = styled.styled.div.withConfig({
|
|
47546
48755
|
componentId: "sc-xro1ly-3"
|
|
47547
48756
|
})(["", ""], ({
|
|
47548
48757
|
theme: theme2,
|
|
@@ -47581,10 +48790,10 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
47581
48790
|
}
|
|
47582
48791
|
` : ""};
|
|
47583
48792
|
`);
|
|
47584
|
-
const CheckIcon =
|
|
48793
|
+
const CheckIcon = styled.styled(SvgImage).withConfig({
|
|
47585
48794
|
componentId: "sc-xro1ly-4"
|
|
47586
48795
|
})(["color:inherit;path{stroke-width:3;}"]);
|
|
47587
|
-
const StepLabel =
|
|
48796
|
+
const StepLabel = styled.styled.div.withConfig({
|
|
47588
48797
|
componentId: "sc-xro1ly-5"
|
|
47589
48798
|
})(["display:flex;flex-direction:column;", ")"], ({
|
|
47590
48799
|
theme: theme2,
|
|
@@ -47595,7 +48804,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
47595
48804
|
color: ${theme2.click.stepper.vertical[$type].color.title[$status]};
|
|
47596
48805
|
gap: inherit;
|
|
47597
48806
|
`);
|
|
47598
|
-
const StepContent =
|
|
48807
|
+
const StepContent = styled.styled.div.withConfig({
|
|
47599
48808
|
componentId: "sc-xro1ly-6"
|
|
47600
48809
|
})(["display:flex;width:100%;flex-direction:column;", ""], ({
|
|
47601
48810
|
theme: theme2,
|
|
@@ -47694,7 +48903,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
47694
48903
|
};
|
|
47695
48904
|
MultiAccordionItem.displayName = "MultiAccordion.Item";
|
|
47696
48905
|
MultiAccordion.Item = MultiAccordionItem;
|
|
47697
|
-
const AccordionRoot =
|
|
48906
|
+
const AccordionRoot = styled.styled($1bf158f521e1b1b4$export$be92b6f5f03c0fe9).withConfig({
|
|
47698
48907
|
componentId: "sc-1lb3204-0"
|
|
47699
48908
|
})(["display:flex;flex-direction:column;justify-content:start;align-items:start;gap:", ";", ";"], ({
|
|
47700
48909
|
theme: theme2,
|
|
@@ -47702,7 +48911,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
47702
48911
|
}) => theme2.click.container.gap[$gap], ({
|
|
47703
48912
|
$fillWidth
|
|
47704
48913
|
}) => $fillWidth && "width: 100%");
|
|
47705
|
-
const AccordionItem =
|
|
48914
|
+
const AccordionItem = styled.styled($1bf158f521e1b1b4$export$6d08773d2e66f8f2).withConfig({
|
|
47706
48915
|
componentId: "sc-1lb3204-1"
|
|
47707
48916
|
})(["", ";", ";"], ({
|
|
47708
48917
|
theme: theme2,
|
|
@@ -47713,7 +48922,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
47713
48922
|
`, ({
|
|
47714
48923
|
$fillWidth
|
|
47715
48924
|
}) => $fillWidth && "width: 100%");
|
|
47716
|
-
const AccordionTrigger =
|
|
48925
|
+
const AccordionTrigger = styled.styled($1bf158f521e1b1b4$export$41fb9f06171c75f4).withConfig({
|
|
47717
48926
|
componentId: "sc-1lb3204-2"
|
|
47718
48927
|
})(["width:100%;border:none;padding:0;background-color:transparent;display:flex;align-items:center;", ';border-radius:inherit;&[data-state="open"]{border-bottom-left-radius:0px;border-bottom-right-radius:0px;[data-icon="accordion-status"]{color:', ";}}"], ({
|
|
47719
48928
|
theme: theme2,
|
|
@@ -47746,13 +48955,13 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
47746
48955
|
}, ({
|
|
47747
48956
|
theme: theme2
|
|
47748
48957
|
}) => theme2.global.color.accent.default);
|
|
47749
|
-
const AccordionIconWrapper =
|
|
48958
|
+
const AccordionIconWrapper = styled.styled.div.withConfig({
|
|
47750
48959
|
componentId: "sc-1lb3204-3"
|
|
47751
48960
|
})(["display:flex;align-items:center;justify-content:center;transition:transform 200ms cubic-bezier(0.87,0,0.13,1);", "[data-state='open'] &{transform:rotate(90deg);}"], AccordionTrigger);
|
|
47752
|
-
const AccordionIconsWrapper =
|
|
48961
|
+
const AccordionIconsWrapper = styled.styled.div.withConfig({
|
|
47753
48962
|
componentId: "sc-1lb3204-4"
|
|
47754
48963
|
})(["display:flex;align-items:center;justify-content:center;"]);
|
|
47755
|
-
const CustomIcon =
|
|
48964
|
+
const CustomIcon = styled.styled(SvgImage).withConfig({
|
|
47756
48965
|
componentId: "sc-1lb3204-5"
|
|
47757
48966
|
})(["", ""], ({
|
|
47758
48967
|
$isCompleted,
|
|
@@ -47766,7 +48975,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
47766
48975
|
fill: ${theme2.global.color.accent.default} !important;;
|
|
47767
48976
|
}
|
|
47768
48977
|
`);
|
|
47769
|
-
const AccordionContent =
|
|
48978
|
+
const AccordionContent = styled.styled($1bf158f521e1b1b4$export$7c6e2c02157bb7d2).withConfig({
|
|
47770
48979
|
componentId: "sc-1lb3204-6"
|
|
47771
48980
|
})(["padding:", ";padding-top:0;"], ({
|
|
47772
48981
|
theme: theme2,
|
|
@@ -47792,6 +49001,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
47792
49001
|
exports2.Container = Container;
|
|
47793
49002
|
exports2.ContextMenu = ContextMenu;
|
|
47794
49003
|
exports2.DangerAlert = DangerAlert;
|
|
49004
|
+
exports2.DatePicker = DatePicker;
|
|
47795
49005
|
exports2.Dialog = Dialog;
|
|
47796
49006
|
exports2.Dropdown = Dropdown;
|
|
47797
49007
|
exports2.EllipsisContent = EllipsisContent;
|
|
@@ -47824,7 +49034,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
47824
49034
|
exports2.RadioGroup = RadioGroup;
|
|
47825
49035
|
exports2.SearchField = SearchField;
|
|
47826
49036
|
exports2.Select = Select;
|
|
47827
|
-
exports2.Separator = Separator
|
|
49037
|
+
exports2.Separator = Separator;
|
|
47828
49038
|
exports2.SidebarCollapsibleItem = SidebarCollapsibleItem;
|
|
47829
49039
|
exports2.SidebarCollapsibleTitle = SidebarCollapsibleTitle;
|
|
47830
49040
|
exports2.SidebarNavigationItem = SidebarNavigationItem;
|