@clickhouse/click-ui 0.0.163 → 0.0.165

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.
@@ -1546,7 +1546,7 @@ const CalendarWithTime = (props) => /* @__PURE__ */ jsxRuntimeExports.jsxs("svg"
1546
1546
  /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M6.74728 17.4532C6.7342 17.4529 6.72157 17.458 6.71232 17.4672C6.70306 17.4765 6.69799 17.4891 6.69826 17.5022C6.69827 17.5221 6.71032 17.54 6.72876 17.5475C6.7472 17.5551 6.76836 17.5507 6.7823 17.5365C6.79624 17.5222 6.80018 17.501 6.79228 17.4827C6.78438 17.4644 6.7662 17.4527 6.74628 17.4532", stroke: "#161517", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" })
1547
1547
  ] });
1548
1548
  const Cpu = (props) => /* @__PURE__ */ jsxRuntimeExports.jsxs("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: [
1549
- /* @__PURE__ */ jsxRuntimeExports.jsxs("g", { "clip-path": "url(#clip0_7971_4934)", children: [
1549
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("g", { clipPath: "url(#clip0_7971_4934)", children: [
1550
1550
  /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M14.25 9.75H9.75V14.25H14.25V9.75Z", stroke: "#161517", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
1551
1551
  /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M18.75 4.5H5.25C4.83579 4.5 4.5 4.83579 4.5 5.25V18.75C4.5 19.1642 4.83579 19.5 5.25 19.5H18.75C19.1642 19.5 19.5 19.1642 19.5 18.75V5.25C19.5 4.83579 19.1642 4.5 18.75 4.5Z", stroke: "#161517", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
1552
1552
  /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M19.5 9.75H21.75", stroke: "#161517", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
@@ -1562,7 +1562,7 @@ const Cpu = (props) => /* @__PURE__ */ jsxRuntimeExports.jsxs("svg", { width: "2
1562
1562
  ] });
1563
1563
  const Minus = (props) => /* @__PURE__ */ jsxRuntimeExports.jsx("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M18.5 11.5H5.5", stroke: "#161517", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) });
1564
1564
  const Pipe = (props) => /* @__PURE__ */ jsxRuntimeExports.jsxs("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: [
1565
- /* @__PURE__ */ jsxRuntimeExports.jsxs("g", { "clip-path": "url(#clip0_8130_6058)", children: [
1565
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("g", { clipPath: "url(#clip0_8130_6058)", children: [
1566
1566
  /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M10.5 15.75V13.5C10.5 12.7044 10.8161 11.9413 11.3787 11.3787C11.9413 10.8161 12.7044 10.5 13.5 10.5H15.75", stroke: "#161517", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
1567
1567
  /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M15.75 4.5H13.5C11.1131 4.5 8.82387 5.44821 7.13604 7.13604C5.44821 8.82387 4.5 11.1131 4.5 13.5V15.75", stroke: "#161517", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
1568
1568
  /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M18 3.75H16.5C16.0858 3.75 15.75 4.08579 15.75 4.5V10.5C15.75 10.9142 16.0858 11.25 16.5 11.25H18C18.4142 11.25 18.75 10.9142 18.75 10.5V4.5C18.75 4.08579 18.4142 3.75 18 3.75Z", stroke: "#161517", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
@@ -1575,7 +1575,7 @@ const Pipe = (props) => /* @__PURE__ */ jsxRuntimeExports.jsxs("svg", { width: "
1575
1575
  /* @__PURE__ */ jsxRuntimeExports.jsx("defs", { children: /* @__PURE__ */ jsxRuntimeExports.jsx("clipPath", { id: "clip0_8130_6058", children: /* @__PURE__ */ jsxRuntimeExports.jsx("rect", { width: "24", height: "24", fill: "white" }) }) })
1576
1576
  ] });
1577
1577
  const TreeStructure = (props) => /* @__PURE__ */ jsxRuntimeExports.jsxs("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: [
1578
- /* @__PURE__ */ jsxRuntimeExports.jsxs("g", { "clip-path": "url(#clip0_7969_2214)", children: [
1578
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("g", { clipPath: "url(#clip0_7969_2214)", children: [
1579
1579
  /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M6 9.75H3C2.58579 9.75 2.25 10.0858 2.25 10.5V13.5C2.25 13.9142 2.58579 14.25 3 14.25H6C6.41421 14.25 6.75 13.9142 6.75 13.5V10.5C6.75 10.0858 6.41421 9.75 6 9.75Z", stroke: "#161517", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
1580
1580
  /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M20.25 3.75H15.75C15.3358 3.75 15 4.08579 15 4.5V9C15 9.41421 15.3358 9.75 15.75 9.75H20.25C20.6642 9.75 21 9.41421 21 9V4.5C21 4.08579 20.6642 3.75 20.25 3.75Z", stroke: "#161517", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
1581
1581
  /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M20.25 14.25H15.75C15.3358 14.25 15 14.5858 15 15V19.5C15 19.9142 15.3358 20.25 15.75 20.25H20.25C20.6642 20.25 21 19.9142 21 19.5V15C21 14.5858 20.6642 14.25 20.25 14.25Z", stroke: "#161517", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
@@ -2383,7 +2383,7 @@ styled.span.withConfig({
2383
2383
  componentId: "sc-1sddmxu-8"
2384
2384
  })(["display:flex;white-space:nowrap;overflow:hidden;justify-content:flex-end;gap:inherit;& > *:not(button){overflow:hidden;text-overflow:ellipsis;}"]);
2385
2385
  const Switzerland = (props) => /* @__PURE__ */ jsxRuntimeExports.jsxs("svg", { width: "30", height: "20", viewBox: "0 0 30 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: [
2386
- /* @__PURE__ */ jsxRuntimeExports.jsxs("g", { "clip-path": "url(#clip0_8668_6183)", children: [
2386
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("g", { clipPath: "url(#clip0_8668_6183)", children: [
2387
2387
  /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M30 0H0V20H30V0Z", fill: "#D52B1E" }),
2388
2388
  /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M21.6663 7.77783H8.33301V12.2223H21.6663V7.77783Z", fill: "white" }),
2389
2389
  /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M17.2218 3.3335H12.7773V16.6668H17.2218V3.3335Z", fill: "white" })
@@ -3206,6 +3206,7 @@ const SVGIcon = ({
3206
3206
  color,
3207
3207
  width,
3208
3208
  height,
3209
+ state,
3209
3210
  className,
3210
3211
  size: size2,
3211
3212
  ...props
@@ -3214,11 +3215,11 @@ const SVGIcon = ({
3214
3215
  if (!Component2) {
3215
3216
  return null;
3216
3217
  }
3217
- return /* @__PURE__ */ jsxRuntimeExports.jsx(SvgWrapper, { $color: color, $width: width, $height: height, $size: size2, className, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Component2, { ...props }) });
3218
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(SvgWrapper, { $color: color, $width: width, $height: height, $size: size2, className, state, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Component2, { ...props }) });
3218
3219
  };
3219
3220
  const SvgWrapper = styled.div.withConfig({
3220
3221
  componentId: "sc-29ieut-0"
3221
- })(["display:flex;align-items:center;", ""], ({
3222
+ })(["display:flex;align-items:center;", " ", ""], ({
3222
3223
  theme: theme2,
3223
3224
  $color = "currentColor",
3224
3225
  $width,
@@ -3237,6 +3238,16 @@ const SvgWrapper = styled.div.withConfig({
3237
3238
  width: ${$width || theme2.click.image[$size || "md"].size.width || "24px"};
3238
3239
  height: ${$height || theme2.click.image[$size || "md"].size.height || "24px"};
3239
3240
  }
3241
+ `, ({
3242
+ theme: theme2,
3243
+ $color = "currentColor",
3244
+ state = "default",
3245
+ $size = "md"
3246
+ }) => `
3247
+ background: ${theme2.click.icon.color.background[state]};
3248
+ border-radius: ${theme2.border.radii.full};
3249
+ padding: ${state === "default" ? "none" : theme2.click.icon.space[$size].all};
3250
+ color: ${state === "default" ? $color : theme2.click.icon.color.text[state]};
3240
3251
  `);
3241
3252
  const SvgImage = ({
3242
3253
  name: name2,
@@ -4266,14 +4277,13 @@ let $1746a345f3d73bb7$var$count = 0;
4266
4277
  function $1746a345f3d73bb7$export$f680877a34711e37(deterministicId) {
4267
4278
  const [id, setId] = React.useState($1746a345f3d73bb7$var$useReactId());
4268
4279
  $9f79659886946c16$export$e5c5a5f917a5871c(() => {
4269
- if (!deterministicId)
4270
- setId(
4271
- (reactId) => reactId !== null && reactId !== void 0 ? reactId : String($1746a345f3d73bb7$var$count++)
4272
- );
4280
+ setId(
4281
+ (reactId) => reactId !== null && reactId !== void 0 ? reactId : String($1746a345f3d73bb7$var$count++)
4282
+ );
4273
4283
  }, [
4274
4284
  deterministicId
4275
4285
  ]);
4276
- return deterministicId || (id ? `radix-${id}` : "");
4286
+ return id ? `radix-${id}` : "";
4277
4287
  }
4278
4288
  const sides = ["top", "right", "bottom", "left"];
4279
4289
  const min = Math.min;
@@ -9075,25 +9085,25 @@ const Accordion = ({
9075
9085
  children,
9076
9086
  fillWidth = false,
9077
9087
  ...delegated
9078
- }) => /* @__PURE__ */ jsxRuntimeExports.jsx(AccordionRoot, { type: "single", collapsible: true, $fillWidth: fillWidth, ...delegated, children: /* @__PURE__ */ jsxRuntimeExports.jsxs($1bf158f521e1b1b4$export$6d08773d2e66f8f2, { value: "item", children: [
9079
- /* @__PURE__ */ jsxRuntimeExports.jsxs(AccordionTrigger, { $size: size2, color, $fillWidth: fillWidth, children: [
9080
- /* @__PURE__ */ jsxRuntimeExports.jsxs(AccordionIconsWrapper, { children: [
9081
- /* @__PURE__ */ jsxRuntimeExports.jsx(AccordionIconWrapper, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(SvgImage, { name: "chevron-right", size: iconSize || size2, "aria-label": "accordion icon" }) }),
9088
+ }) => /* @__PURE__ */ jsxRuntimeExports.jsx(AccordionRoot$1, { type: "single", collapsible: true, $fillWidth: fillWidth, ...delegated, children: /* @__PURE__ */ jsxRuntimeExports.jsxs($1bf158f521e1b1b4$export$6d08773d2e66f8f2, { value: "item", children: [
9089
+ /* @__PURE__ */ jsxRuntimeExports.jsxs(AccordionTrigger$1, { $size: size2, color, $fillWidth: fillWidth, children: [
9090
+ /* @__PURE__ */ jsxRuntimeExports.jsxs(AccordionIconsWrapper$1, { children: [
9091
+ /* @__PURE__ */ jsxRuntimeExports.jsx(AccordionIconWrapper$1, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(SvgImage, { name: "chevron-right", size: iconSize || size2, "aria-label": "accordion icon" }) }),
9082
9092
  icon ? /* @__PURE__ */ jsxRuntimeExports.jsx(SvgImage, { name: icon, size: iconSize || size2 }) : null
9083
9093
  ] }),
9084
9094
  /* @__PURE__ */ jsxRuntimeExports.jsx(Text, { component: "div", size: size2, fillWidth, children: title })
9085
9095
  ] }),
9086
- /* @__PURE__ */ jsxRuntimeExports.jsxs(AccordionContent, { children: [
9096
+ /* @__PURE__ */ jsxRuntimeExports.jsxs(AccordionContent$1, { children: [
9087
9097
  /* @__PURE__ */ jsxRuntimeExports.jsx(Spacer, { size: gap }),
9088
9098
  children
9089
9099
  ] })
9090
9100
  ] }) });
9091
- const AccordionRoot = styled($1bf158f521e1b1b4$export$be92b6f5f03c0fe9).withConfig({
9101
+ const AccordionRoot$1 = styled($1bf158f521e1b1b4$export$be92b6f5f03c0fe9).withConfig({
9092
9102
  componentId: "sc-1ysh219-0"
9093
9103
  })(["", ";"], ({
9094
9104
  $fillWidth
9095
9105
  }) => $fillWidth && "width: 100%");
9096
- const AccordionTrigger = styled($1bf158f521e1b1b4$export$41fb9f06171c75f4).withConfig({
9106
+ const AccordionTrigger$1 = styled($1bf158f521e1b1b4$export$41fb9f06171c75f4).withConfig({
9097
9107
  componentId: "sc-1ysh219-1"
9098
9108
  })(["border:none;padding:0;background-color:transparent;display:flex;align-items:center;", " ", ";"], ({
9099
9109
  theme: theme2,
@@ -9117,20 +9127,20 @@ const AccordionTrigger = styled($1bf158f521e1b1b4$export$41fb9f06171c75f4).withC
9117
9127
  `, ({
9118
9128
  $fillWidth
9119
9129
  }) => $fillWidth && "width: 100%");
9120
- const AccordionIconWrapper = styled.div.withConfig({
9130
+ const AccordionIconWrapper$1 = styled.div.withConfig({
9121
9131
  componentId: "sc-1ysh219-2"
9122
- })(["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);
9123
- const AccordionIconsWrapper = styled.div.withConfig({
9132
+ })(["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);
9133
+ const AccordionIconsWrapper$1 = styled.div.withConfig({
9124
9134
  componentId: "sc-1ysh219-3"
9125
9135
  })(["display:flex;align-items:center;justify-content:center;"]);
9126
- const AccordionContent = styled($1bf158f521e1b1b4$export$7c6e2c02157bb7d2).withConfig({
9136
+ const AccordionContent$1 = styled($1bf158f521e1b1b4$export$7c6e2c02157bb7d2).withConfig({
9127
9137
  componentId: "sc-1ysh219-4"
9128
9138
  })([""]);
9129
9139
  styled(Accordion).withConfig({
9130
9140
  componentId: "sc-1ysh219-5"
9131
- })(["", "{gap:", ";}p{margin:0;}", "{visibility:hidden;}&:hover ", "{visibility:revert;}&:active ", "{visibility:revert;}", "[data-state='open'] ", "{visibility:revert;}"], AccordionTrigger, ({
9141
+ })(["", "{gap:", ";}p{margin:0;}", "{visibility:hidden;}&:hover ", "{visibility:revert;}&:active ", "{visibility:revert;}", "[data-state='open'] ", "{visibility:revert;}"], AccordionTrigger$1, ({
9132
9142
  theme: theme2
9133
- }) => theme2.click.sidebar.navigation.item.default.space.gap, AccordionIconWrapper, AccordionIconWrapper, AccordionIconWrapper, AccordionTrigger, AccordionIconWrapper);
9143
+ }) => theme2.click.sidebar.navigation.item.default.space.gap, AccordionIconWrapper$1, AccordionIconWrapper$1, AccordionIconWrapper$1, AccordionTrigger$1, AccordionIconWrapper$1);
9134
9144
  const AccordionToExport = styled(Accordion).withConfig({
9135
9145
  componentId: "sc-1ysh219-6"
9136
9146
  })([""]);
@@ -10382,7 +10392,7 @@ const HeaderLeft = styled.div.withConfig({
10382
10392
  const Content$3 = styled.div.withConfig({
10383
10393
  componentId: "sc-1drx130-2"
10384
10394
  })(["display:flex;flex-direction:column;flex:1;"]);
10385
- const CustomIcon = styled.img.withConfig({
10395
+ const CustomIcon$1 = styled.img.withConfig({
10386
10396
  componentId: "sc-1drx130-3"
10387
10397
  })(["height:", ";width:", ";"], ({
10388
10398
  theme: theme2
@@ -10461,7 +10471,7 @@ const CardSecondary = ({
10461
10471
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(Wrapper$a, { "aria-disabled": disabled, tabIndex: 0, $hasShadow: hasShadow, ...props, children: [
10462
10472
  /* @__PURE__ */ jsxRuntimeExports.jsxs(Header$4, { children: [
10463
10473
  /* @__PURE__ */ jsxRuntimeExports.jsxs(HeaderLeft, { $disabled: disabled, children: [
10464
- iconUrl ? /* @__PURE__ */ jsxRuntimeExports.jsx(CustomIcon, { src: iconUrl, alt: "card icon", "aria-hidden": true }) : icon && /* @__PURE__ */ jsxRuntimeExports.jsx(SvgImage, { name: icon, "aria-hidden": true, size: "lg" }),
10474
+ iconUrl ? /* @__PURE__ */ jsxRuntimeExports.jsx(CustomIcon$1, { src: iconUrl, alt: "card icon", "aria-hidden": true }) : icon && /* @__PURE__ */ jsxRuntimeExports.jsx(SvgImage, { name: icon, "aria-hidden": true, size: "lg" }),
10465
10475
  /* @__PURE__ */ jsxRuntimeExports.jsx(Title$2, { type: "h3", children: title })
10466
10476
  ] }),
10467
10477
  badgeText && /* @__PURE__ */ jsxRuntimeExports.jsx(Badge, { text: badgeText, state: disabled == true ? "disabled" : badgeState })
@@ -33501,7 +33511,7 @@ const SelectList = styled.div.withConfig({
33501
33511
  })(["display:flex;flex-direction:column;width:inherit;max-height:calc(var(--radix-popover-content-available-height) - 1rem);"]);
33502
33512
  const SelectListContent = styled.div.withConfig({
33503
33513
  componentId: "sc-oudbwg-8"
33504
- })(["width:inherit;overflow:overlay;flex:1;"]);
33514
+ })(["width:inherit;overflow:auto;flex:1;"]);
33505
33515
  const HiddenSelectElement = styled.select.withConfig({
33506
33516
  componentId: "sc-oudbwg-9"
33507
33517
  })(["visibility:hidden;position:absolute;z-index:-1;height:0;"]);
@@ -43367,6 +43377,34 @@ const click$2 = {
43367
43377
  }
43368
43378
  }
43369
43379
  },
43380
+ icon: {
43381
+ color: {
43382
+ background: {
43383
+ "default": "rgba(0,0,0,0)",
43384
+ success: "rgb(20% 100% 26.7% / 0.2)",
43385
+ neutral: "rgb(62.7% 62.7% 62.7% / 0.2)",
43386
+ danger: "rgb(100% 13.7% 13.7% / 0.2)",
43387
+ info: "rgb(7.45% 35.7% 90.2% / 0.2)",
43388
+ warning: "rgb(100% 58% 8.63% / 0.2)"
43389
+ },
43390
+ text: {
43391
+ "default": "rgba(0,0,0,0)",
43392
+ success: "#CCFFD0",
43393
+ neutral: "#c0c0c0",
43394
+ danger: "#ffbaba",
43395
+ info: "#b5cdf9",
43396
+ warning: "#ffca8b"
43397
+ },
43398
+ stroke: {
43399
+ "default": "rgba(0,0,0,0)",
43400
+ success: "rgb(20% 100% 26.7% / 0.05)",
43401
+ neutral: "rgb(62.7% 62.7% 62.7% / 0.2)",
43402
+ danger: "rgb(100% 13.7% 13.7% / 0.05)",
43403
+ info: "rgb(7.45% 35.7% 90.2% / 0.05)",
43404
+ warning: "rgb(100% 58% 8.63% / 0.05)"
43405
+ }
43406
+ }
43407
+ },
43370
43408
  global: {
43371
43409
  color: {
43372
43410
  background: {
@@ -44208,7 +44246,7 @@ const click$1 = {
44208
44246
  field: {
44209
44247
  color: {
44210
44248
  background: {
44211
- "default": "rgb(96.6% 96.9% 98.1%)",
44249
+ "default": "rgb(98.5% 98.9% 100%)",
44212
44250
  hover: "rgb(96.6% 96.9% 98.1%)",
44213
44251
  active: "#ffffff",
44214
44252
  disabled: "#dfdfdf",
@@ -44834,6 +44872,34 @@ const click$1 = {
44834
44872
  }
44835
44873
  }
44836
44874
  },
44875
+ icon: {
44876
+ color: {
44877
+ background: {
44878
+ "default": "rgba(0,0,0,0)",
44879
+ success: "rgb(20% 100% 26.7% / 0.1)",
44880
+ neutral: "rgb(41.2% 43.1% 47.5% / 0.1)",
44881
+ danger: "rgb(100% 13.7% 13.7% / 0.1)",
44882
+ info: "rgb(7.45% 35.7% 90.2% / 0.1)",
44883
+ warning: "rgb(100% 58% 8.63% / 0.1)"
44884
+ },
44885
+ text: {
44886
+ "default": "rgba(0,0,0,0)",
44887
+ success: "#00990D",
44888
+ neutral: "#53575f",
44889
+ danger: "#c10000",
44890
+ info: "#135be6",
44891
+ warning: "#9e5600"
44892
+ },
44893
+ stroke: {
44894
+ "default": "rgba(0,0,0,0)",
44895
+ success: "rgb(20% 100% 26.7% / 0.05)",
44896
+ neutral: "rgb(41.2% 43.1% 47.5% / 0.1)",
44897
+ danger: "rgb(100% 13.7% 13.7% / 0.05)",
44898
+ info: "rgb(7.45% 35.7% 90.2% / 0.05)",
44899
+ warning: "rgb(100% 58% 8.63% / 0.05)"
44900
+ }
44901
+ }
44902
+ },
44837
44903
  global: {
44838
44904
  color: {
44839
44905
  background: {
@@ -46268,7 +46334,7 @@ const click = {
46268
46334
  },
46269
46335
  color: {
46270
46336
  background: {
46271
- "default": "rgb(96.6% 96.9% 98.1%)",
46337
+ "default": "rgb(98.5% 98.9% 100%)",
46272
46338
  hover: "rgb(96.6% 96.9% 98.1%)",
46273
46339
  active: "#ffffff",
46274
46340
  disabled: "#dfdfdf",
@@ -47649,6 +47715,54 @@ const click = {
47649
47715
  unset: ""
47650
47716
  }
47651
47717
  },
47718
+ icon: {
47719
+ space: {
47720
+ xs: {
47721
+ all: "0.25rem"
47722
+ },
47723
+ sm: {
47724
+ all: "0.25rem"
47725
+ },
47726
+ md: {
47727
+ all: "0.365rem"
47728
+ },
47729
+ lg: {
47730
+ all: "0.5rem"
47731
+ },
47732
+ xl: {
47733
+ all: "0.75rem"
47734
+ },
47735
+ xxl: {
47736
+ all: "1rem"
47737
+ }
47738
+ },
47739
+ color: {
47740
+ background: {
47741
+ "default": "rgba(0,0,0,0)",
47742
+ success: "rgb(20% 100% 26.7% / 0.1)",
47743
+ neutral: "rgb(41.2% 43.1% 47.5% / 0.1)",
47744
+ danger: "rgb(100% 13.7% 13.7% / 0.1)",
47745
+ info: "rgb(7.45% 35.7% 90.2% / 0.1)",
47746
+ warning: "rgb(100% 58% 8.63% / 0.1)"
47747
+ },
47748
+ text: {
47749
+ "default": "rgba(0,0,0,0)",
47750
+ success: "#00990D",
47751
+ neutral: "#53575f",
47752
+ danger: "#c10000",
47753
+ info: "#135be6",
47754
+ warning: "#9e5600"
47755
+ },
47756
+ stroke: {
47757
+ "default": "rgba(0,0,0,0)",
47758
+ success: "rgb(20% 100% 26.7% / 0.05)",
47759
+ neutral: "rgb(41.2% 43.1% 47.5% / 0.1)",
47760
+ danger: "rgb(100% 13.7% 13.7% / 0.05)",
47761
+ info: "rgb(7.45% 35.7% 90.2% / 0.05)",
47762
+ warning: "rgb(100% 58% 8.63% / 0.05)"
47763
+ }
47764
+ }
47765
+ },
47652
47766
  global: {
47653
47767
  color: {
47654
47768
  background: {
@@ -47869,6 +47983,7 @@ const palette = {
47869
47983
  base: "#212121"
47870
47984
  },
47871
47985
  slate: {
47986
+ "25": "#FBFCFF",
47872
47987
  "50": "#f6f7fa",
47873
47988
  "100": "#e6e7e9",
47874
47989
  "200": "#cccfd3",
@@ -48344,6 +48459,153 @@ const VerticalStep = ({
48344
48459
  };
48345
48460
  VerticalStep.displayName = "VerticalStepper.Step";
48346
48461
  VerticalStepper.Step = VerticalStep;
48462
+ const MultiAccordionContext = createContext({
48463
+ size: "md",
48464
+ fillWidth: true,
48465
+ showBorder: true,
48466
+ showCheck: false
48467
+ });
48468
+ const MultiAccordion = ({
48469
+ size: size2 = "md",
48470
+ children,
48471
+ fillWidth = true,
48472
+ showCheck = false,
48473
+ showBorder = true,
48474
+ gap = "md",
48475
+ markAsCompleted,
48476
+ ...delegated
48477
+ }) => {
48478
+ const contextValue = {
48479
+ size: size2,
48480
+ fillWidth,
48481
+ showBorder,
48482
+ showCheck,
48483
+ markAsCompleted
48484
+ };
48485
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(AccordionRoot, { $fillWidth: fillWidth, $gap: gap, ...delegated, children: /* @__PURE__ */ jsxRuntimeExports.jsx(MultiAccordionContext.Provider, { value: contextValue, children }) });
48486
+ };
48487
+ const MultiAccordionItem = ({
48488
+ value,
48489
+ title,
48490
+ color,
48491
+ icon,
48492
+ iconSize,
48493
+ gap,
48494
+ children,
48495
+ isCompleted = false,
48496
+ ...props
48497
+ }) => {
48498
+ const {
48499
+ fillWidth,
48500
+ size: size2,
48501
+ showBorder,
48502
+ showCheck,
48503
+ markAsCompleted
48504
+ } = useContext(MultiAccordionContext);
48505
+ const onClickStatus = (e) => {
48506
+ e.preventDefault();
48507
+ if (typeof markAsCompleted === "function") {
48508
+ markAsCompleted(value);
48509
+ }
48510
+ };
48511
+ const customSize = size2 === "none" ? "sm" : size2;
48512
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs(AccordionItem, { value, $showBorder: showBorder, $fillWidth: fillWidth, ...props, children: [
48513
+ /* @__PURE__ */ jsxRuntimeExports.jsxs(AccordionTrigger, { $size: size2, color, children: [
48514
+ /* @__PURE__ */ jsxRuntimeExports.jsxs(AccordionIconsWrapper, { children: [
48515
+ /* @__PURE__ */ jsxRuntimeExports.jsx(AccordionIconWrapper, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(SvgImage, { name: "chevron-right", size: iconSize ?? customSize, "aria-label": "accordion icon" }) }),
48516
+ icon ? /* @__PURE__ */ jsxRuntimeExports.jsx(SvgImage, { name: icon, size: iconSize ?? customSize }) : null
48517
+ ] }),
48518
+ /* @__PURE__ */ jsxRuntimeExports.jsxs(Container, { isResponsive: false, gap: "sm", alignItems: "center", fillWidth: true, justifyContent: "space-between", component: "span", children: [
48519
+ /* @__PURE__ */ jsxRuntimeExports.jsx(Text, { component: "span", size: customSize, fillWidth, children: title }),
48520
+ showCheck && /* @__PURE__ */ jsxRuntimeExports.jsx(CustomIcon, { name: isCompleted ? "check-in-circle" : "circle", $isCompleted: isCompleted, size: iconSize ?? customSize, "aria-label": "accordion icon status", onClick: onClickStatus, "data-icon": "accordion-status", "data-testid": "accordion-status-icon" })
48521
+ ] })
48522
+ ] }),
48523
+ /* @__PURE__ */ jsxRuntimeExports.jsxs(AccordionContent, { $padding: size2, children: [
48524
+ /* @__PURE__ */ jsxRuntimeExports.jsx(Spacer, { size: gap }),
48525
+ children
48526
+ ] })
48527
+ ] });
48528
+ };
48529
+ MultiAccordionItem.displayName = "MultiAccordion.Item";
48530
+ MultiAccordion.Item = MultiAccordionItem;
48531
+ const AccordionRoot = styled($1bf158f521e1b1b4$export$be92b6f5f03c0fe9).withConfig({
48532
+ componentId: "sc-1lb3204-0"
48533
+ })(["display:flex;flex-direction:column;justify-content:start;align-items:start;gap:", ";", ";"], ({
48534
+ theme: theme2,
48535
+ $gap
48536
+ }) => theme2.click.container.gap[$gap], ({
48537
+ $fillWidth
48538
+ }) => $fillWidth && "width: 100%");
48539
+ const AccordionItem = styled($1bf158f521e1b1b4$export$6d08773d2e66f8f2).withConfig({
48540
+ componentId: "sc-1lb3204-1"
48541
+ })(["", ";", ";"], ({
48542
+ theme: theme2,
48543
+ $showBorder
48544
+ }) => `
48545
+ border: ${$showBorder ? `1px solid ${theme2.click.global.color.stroke.default}` : "none"};
48546
+ border-radius: ${theme2.border.radii[1]};
48547
+ `, ({
48548
+ $fillWidth
48549
+ }) => $fillWidth && "width: 100%");
48550
+ const AccordionTrigger = styled($1bf158f521e1b1b4$export$41fb9f06171c75f4).withConfig({
48551
+ componentId: "sc-1lb3204-2"
48552
+ })(["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:', ";}}"], ({
48553
+ theme: theme2,
48554
+ $size = "md",
48555
+ color = "default"
48556
+ }) => {
48557
+ const size2 = $size === "none" ? "sm" : $size;
48558
+ return `
48559
+ padding: ${theme2.click.container.space[$size]};
48560
+ gap: ${theme2.click.accordion[size2].space.gap};
48561
+ color: ${theme2.click.accordion.color[color].label.default};
48562
+ font: ${theme2.click.accordion[size2].typography.label.default};
48563
+
48564
+ &:active {
48565
+ color: ${theme2.click.accordion.color[color].label.active};
48566
+ font: ${theme2.click.accordion[size2].typography.label.active};
48567
+ }
48568
+
48569
+ &:hover {
48570
+ color: ${theme2.click.accordion.color[color].label.hover};
48571
+ background: ${theme2.click.global.color.stroke.default};
48572
+ font: ${theme2.click.accordion[size2].typography.label.hover};
48573
+ cursor: pointer;
48574
+ }
48575
+
48576
+ [data-icon="accordion-status"] {
48577
+ color: ${theme2.global.color.stroke.intense};
48578
+ }
48579
+ `;
48580
+ }, ({
48581
+ theme: theme2
48582
+ }) => theme2.global.color.accent.default);
48583
+ const AccordionIconWrapper = styled.div.withConfig({
48584
+ componentId: "sc-1lb3204-3"
48585
+ })(["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);
48586
+ const AccordionIconsWrapper = styled.div.withConfig({
48587
+ componentId: "sc-1lb3204-4"
48588
+ })(["display:flex;align-items:center;justify-content:center;"]);
48589
+ const CustomIcon = styled(SvgImage).withConfig({
48590
+ componentId: "sc-1lb3204-5"
48591
+ })(["", ""], ({
48592
+ $isCompleted,
48593
+ theme: theme2
48594
+ }) => $isCompleted && `
48595
+ svg path {
48596
+ stroke: ${theme2.global.color.background.default} !important;
48597
+ &:first-of-type {
48598
+ stroke: ${theme2.global.color.accent.default} !important;
48599
+ }
48600
+ fill: ${theme2.global.color.accent.default} !important;;
48601
+ }
48602
+ `);
48603
+ const AccordionContent = styled($1bf158f521e1b1b4$export$7c6e2c02157bb7d2).withConfig({
48604
+ componentId: "sc-1lb3204-6"
48605
+ })(["padding:", ";padding-top:0;"], ({
48606
+ theme: theme2,
48607
+ $padding
48608
+ }) => theme2.click.container.space[$padding]);
48347
48609
  export {
48348
48610
  AccordionToExport as Accordion,
48349
48611
  Alert,
@@ -48385,6 +48647,7 @@ export {
48385
48647
  Label$1 as Label,
48386
48648
  Link,
48387
48649
  Logo,
48650
+ MultiAccordion,
48388
48651
  MultiSelect,
48389
48652
  NumberField,
48390
48653
  Pagination,