@clickhouse/click-ui 0.0.142 → 0.0.144

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.
@@ -8932,21 +8932,26 @@ const Accordion = ({
8932
8932
  children,
8933
8933
  fillWidth = false,
8934
8934
  ...delegated
8935
- }) => /* @__PURE__ */ jsxRuntimeExports.jsx($1bf158f521e1b1b4$export$be92b6f5f03c0fe9, { type: "single", collapsible: true, className: "asasas", ...delegated, children: /* @__PURE__ */ jsxRuntimeExports.jsxs($1bf158f521e1b1b4$export$6d08773d2e66f8f2, { value: "item", children: [
8935
+ }) => /* @__PURE__ */ jsxRuntimeExports.jsx(AccordionRoot, { type: "single", collapsible: true, $fillWidth: fillWidth, ...delegated, children: /* @__PURE__ */ jsxRuntimeExports.jsxs($1bf158f521e1b1b4$export$6d08773d2e66f8f2, { value: "item", children: [
8936
8936
  /* @__PURE__ */ jsxRuntimeExports.jsxs(AccordionTrigger, { $size: size2, color, $fillWidth: fillWidth, children: [
8937
8937
  /* @__PURE__ */ jsxRuntimeExports.jsxs(AccordionIconsWrapper, { children: [
8938
8938
  /* @__PURE__ */ jsxRuntimeExports.jsx(AccordionIconWrapper, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(SvgImage, { name: "chevron-right", size: iconSize || size2, "aria-label": "accordion icon" }) }),
8939
8939
  icon ? /* @__PURE__ */ jsxRuntimeExports.jsx(SvgImage, { name: icon, size: iconSize || size2 }) : null
8940
8940
  ] }),
8941
- /* @__PURE__ */ jsxRuntimeExports.jsx(Text, { component: "div", size: size2, children: title })
8941
+ /* @__PURE__ */ jsxRuntimeExports.jsx(Text, { component: "div", size: size2, fillWidth, children: title })
8942
8942
  ] }),
8943
8943
  /* @__PURE__ */ jsxRuntimeExports.jsxs(AccordionContent, { children: [
8944
8944
  /* @__PURE__ */ jsxRuntimeExports.jsx(Spacer, { size: gap }),
8945
8945
  children
8946
8946
  ] })
8947
8947
  ] }) });
8948
- const AccordionTrigger = styled($1bf158f521e1b1b4$export$41fb9f06171c75f4).withConfig({
8948
+ const AccordionRoot = styled($1bf158f521e1b1b4$export$be92b6f5f03c0fe9).withConfig({
8949
8949
  componentId: "sc-1ysh219-0"
8950
+ })(["", ";"], ({
8951
+ $fillWidth
8952
+ }) => $fillWidth && "width: 100%");
8953
+ const AccordionTrigger = styled($1bf158f521e1b1b4$export$41fb9f06171c75f4).withConfig({
8954
+ componentId: "sc-1ysh219-1"
8950
8955
  })(["border:none;padding:0;background-color:transparent;display:flex;align-items:center;", " ", ";"], ({
8951
8956
  theme: theme2,
8952
8957
  $size = "md",
@@ -8970,21 +8975,21 @@ const AccordionTrigger = styled($1bf158f521e1b1b4$export$41fb9f06171c75f4).withC
8970
8975
  $fillWidth
8971
8976
  }) => $fillWidth && "width: 100%");
8972
8977
  const AccordionIconWrapper = styled.div.withConfig({
8973
- componentId: "sc-1ysh219-1"
8978
+ componentId: "sc-1ysh219-2"
8974
8979
  })(["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);
8975
8980
  const AccordionIconsWrapper = styled.div.withConfig({
8976
- componentId: "sc-1ysh219-2"
8981
+ componentId: "sc-1ysh219-3"
8977
8982
  })(["display:flex;align-items:center;justify-content:center;"]);
8978
8983
  const AccordionContent = styled($1bf158f521e1b1b4$export$7c6e2c02157bb7d2).withConfig({
8979
- componentId: "sc-1ysh219-3"
8984
+ componentId: "sc-1ysh219-4"
8980
8985
  })([""]);
8981
8986
  styled(Accordion).withConfig({
8982
- componentId: "sc-1ysh219-4"
8987
+ componentId: "sc-1ysh219-5"
8983
8988
  })(["", "{gap:", ";}p{margin:0;}", "{visibility:hidden;}&:hover ", "{visibility:revert;}&:active ", "{visibility:revert;}", "[data-state='open'] ", "{visibility:revert;}"], AccordionTrigger, ({
8984
8989
  theme: theme2
8985
8990
  }) => theme2.click.sidebar.navigation.item.default.space.gap, AccordionIconWrapper, AccordionIconWrapper, AccordionIconWrapper, AccordionTrigger, AccordionIconWrapper);
8986
8991
  const AccordionToExport = styled(Accordion).withConfig({
8987
- componentId: "sc-1ysh219-5"
8992
+ componentId: "sc-1ysh219-6"
8988
8993
  })([""]);
8989
8994
  const stateIconMap = {
8990
8995
  neutral: "information",
@@ -10182,11 +10187,12 @@ const _Text = ({
10182
10187
  className,
10183
10188
  children,
10184
10189
  component,
10190
+ fillWidth,
10185
10191
  ...props
10186
- }, ref) => /* @__PURE__ */ jsxRuntimeExports.jsx(CuiText, { as: component ?? "p", ref, $align: align, $color: color, $size: size2, $weight: weight, className, ...props, children });
10192
+ }, ref) => /* @__PURE__ */ jsxRuntimeExports.jsx(CuiText, { as: component ?? "p", ref, $align: align, $color: color, $size: size2, $weight: weight, $fillWidth: fillWidth, className, ...props, children });
10187
10193
  const CuiText = styled.p.withConfig({
10188
10194
  componentId: "sc-6r74pj-0"
10189
- })(["font:", ";color:", ";text-align:", ";margin:0;"], ({
10195
+ })(["font:", ";color:", ";text-align:", ";margin:0;", ";"], ({
10190
10196
  $size = "md",
10191
10197
  $weight = "normal",
10192
10198
  theme: theme2
@@ -10195,7 +10201,9 @@ const CuiText = styled.p.withConfig({
10195
10201
  theme: theme2
10196
10202
  }) => theme2.click.global.color.text[$color], ({
10197
10203
  $align = "left"
10198
- }) => $align);
10204
+ }) => $align, ({
10205
+ $fillWidth
10206
+ }) => $fillWidth && "width: 100%");
10199
10207
  _Text.displayName = "Text";
10200
10208
  const Text = forwardRef(_Text);
10201
10209
  const Header$4 = styled.div.withConfig({
@@ -10291,9 +10299,83 @@ const CardSecondary = ({
10291
10299
  ] })
10292
10300
  ] });
10293
10301
  };
10294
- const TopBadgeWrapper = styled.div.withConfig({
10302
+ const _Container = ({
10303
+ component,
10304
+ alignItems,
10305
+ children,
10306
+ fillWidth = true,
10307
+ gap = "none",
10308
+ grow,
10309
+ shrink,
10310
+ isResponsive,
10311
+ justifyContent = "start",
10312
+ maxWidth,
10313
+ minWidth,
10314
+ orientation = "horizontal",
10315
+ padding = "none",
10316
+ wrap = "nowrap",
10317
+ fillHeight,
10318
+ maxHeight,
10319
+ minHeight,
10320
+ overflow,
10321
+ ...props
10322
+ }, ref) => {
10323
+ return /* @__PURE__ */ jsxRuntimeExports.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 });
10324
+ };
10325
+ const Wrapper$9 = styled.div.withConfig({
10326
+ componentId: "sc-bcplth-0"
10327
+ })(["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:", ";}"], ({
10328
+ $grow,
10329
+ $shrink
10330
+ }) => `
10331
+ ${$grow && `flex: ${$grow}`};
10332
+ ${$shrink && `flex-shrink: ${$shrink}`};
10333
+ `, ({
10334
+ $fillHeight,
10335
+ $maxHeight,
10336
+ $minHeight
10337
+ }) => `
10338
+ ${$fillHeight && "height: 100%"};
10339
+ ${$maxHeight && `max-height: ${$maxHeight}`};
10340
+ ${$minHeight && `min-height: ${$minHeight}`};
10341
+ `, ({
10342
+ $overflow
10343
+ }) => `
10344
+ ${$overflow && `overflow: ${$overflow}`};
10345
+ `, ({
10346
+ $wrap = "nowrap"
10347
+ }) => $wrap, ({
10348
+ theme: theme2,
10349
+ $gapSize
10350
+ }) => theme2.click.container.gap[$gapSize], ({
10351
+ $maxWidth
10352
+ }) => $maxWidth ?? "none", ({
10353
+ $minWidth
10354
+ }) => $minWidth ?? "none", ({
10355
+ theme: theme2,
10356
+ $paddingSize
10357
+ }) => theme2.click.container.space[$paddingSize], ({
10358
+ $fillWidth = true
10359
+ }) => $fillWidth === true ? "100%" : "auto", ({
10360
+ $orientation = "horizontal"
10361
+ }) => $orientation === "horizontal" ? "row" : "column", ({
10362
+ $alignItems = "center"
10363
+ }) => $alignItems, ({
10364
+ $justifyContent = "left"
10365
+ }) => $justifyContent === "start" ? "start" : `${$justifyContent}`, ({
10366
+ theme: theme2
10367
+ }) => theme2.breakpoint.sizes.md, ({
10368
+ $isResponsive = true,
10369
+ $fillWidth = true
10370
+ }) => $isResponsive === true ? "100%" : $fillWidth === true ? "100%" : "auto", ({
10371
+ $isResponsive = true
10372
+ }) => $isResponsive === true ? "none" : "auto", ({
10373
+ $isResponsive = true
10374
+ }) => $isResponsive === true ? "column" : "auto");
10375
+ const Container = forwardRef(_Container);
10376
+ const TopBadgeWrapper = styled(Container).withConfig({
10295
10377
  componentId: "sc-1d5pqpo-0"
10296
- })(["position:relative;width:100%;max-width:100%;"]);
10378
+ })(["position:relative;"]);
10297
10379
  const CardPrimaryTopBadge = styled(Badge).withConfig({
10298
10380
  componentId: "sc-1d5pqpo-1"
10299
10381
  })(["position:absolute;top:0;left:50%;transform:translate(-50%,-50%);", " div:active + &{border-color:", ";}"], ({
@@ -10306,12 +10388,12 @@ const withTopBadge = (Component2) => ({
10306
10388
  topBadgeText,
10307
10389
  ...props
10308
10390
  }) => {
10309
- return /* @__PURE__ */ jsxRuntimeExports.jsxs(TopBadgeWrapper, { children: [
10391
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs(TopBadgeWrapper, { alignItems: "stretch", fillWidth: true, children: [
10310
10392
  /* @__PURE__ */ jsxRuntimeExports.jsx(Component2, { ...props }),
10311
10393
  topBadgeText && /* @__PURE__ */ jsxRuntimeExports.jsx(CardPrimaryTopBadge, { "data-testid": "card-top-badge", text: topBadgeText, $isSelected: props.isSelected || false })
10312
10394
  ] });
10313
10395
  };
10314
- const Wrapper$9 = styled.div.withConfig({
10396
+ const Wrapper$8 = styled.div.withConfig({
10315
10397
  componentId: "sc-2dguvi-0"
10316
10398
  })(["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{', "}", ""], ({
10317
10399
  theme: theme2
@@ -10416,7 +10498,7 @@ const Card = ({
10416
10498
  }
10417
10499
  };
10418
10500
  const Component2 = !!infoUrl || typeof onButtonClick === "function" ? Button : "div";
10419
- return /* @__PURE__ */ jsxRuntimeExports.jsxs(Wrapper$9, { $alignContent: alignContent, $hasShadow: hasShadow, $size: size2, "aria-disabled": disabled, $isSelected: isSelected, tabIndex: 0, ...props, children: [
10501
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs(Wrapper$8, { $alignContent: alignContent, $hasShadow: hasShadow, $size: size2, "aria-disabled": disabled, $isSelected: isSelected, tabIndex: 0, ...props, children: [
10420
10502
  (icon || title) && /* @__PURE__ */ jsxRuntimeExports.jsxs(Header$3, { $size: size2, $disabled: disabled, $alignContent: alignContent, children: [
10421
10503
  icon && /* @__PURE__ */ jsxRuntimeExports.jsx(SvgImage, { name: icon, "aria-hidden": true }),
10422
10504
  title && /* @__PURE__ */ jsxRuntimeExports.jsx(Title$2, { type: "h3", children: title })
@@ -10438,7 +10520,7 @@ const Description = styled.div.withConfig({
10438
10520
  })(["display:flex;flex-direction:column;align-self:center;gap:", ";flex:1;"], ({
10439
10521
  theme: theme2
10440
10522
  }) => theme2.click.card.horizontal.space.gap);
10441
- const Wrapper$8 = styled.div.withConfig({
10523
+ const Wrapper$7 = styled.div.withConfig({
10442
10524
  componentId: "sc-1qnbjoa-2"
10443
10525
  })(["display:inline-flex;width:100%;max-width:100%;align-items:center;justify-content:flex-start;", ""], ({
10444
10526
  theme: theme2,
@@ -10517,7 +10599,7 @@ const CardHorizontal = ({
10517
10599
  color = "default",
10518
10600
  ...props
10519
10601
  }) => {
10520
- return /* @__PURE__ */ jsxRuntimeExports.jsxs(Wrapper$8, { $disabled: disabled, $isSelected: isSelected, $color: color, tabIndex: 0, ...props, children: [
10602
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs(Wrapper$7, { $disabled: disabled, $isSelected: isSelected, $color: color, tabIndex: 0, ...props, children: [
10521
10603
  icon && /* @__PURE__ */ jsxRuntimeExports.jsx(CardIcon$1, { name: icon, "aria-hidden": true }),
10522
10604
  /* @__PURE__ */ jsxRuntimeExports.jsxs(ContentWrapper, { children: [
10523
10605
  title && /* @__PURE__ */ jsxRuntimeExports.jsx(Header$2, { children: title }),
@@ -10541,7 +10623,7 @@ const Background = styled.div.withConfig({
10541
10623
  background: ${theme2.click.card.promotion.color.stroke.focus};
10542
10624
  }
10543
10625
  `);
10544
- const Wrapper$7 = styled.div.withConfig({
10626
+ const Wrapper$6 = styled.div.withConfig({
10545
10627
  componentId: "sc-6jamj6-1"
10546
10628
  })(["display:flex;width:100%;align-items:center;justify-content:flex-start;cursor:pointer;", ""], ({
10547
10629
  theme: theme2
@@ -10582,7 +10664,7 @@ const CardPromotion = ({
10582
10664
  ...props
10583
10665
  }) => {
10584
10666
  const [isVisible, setIsVisible] = useState(true);
10585
- return isVisible ? /* @__PURE__ */ jsxRuntimeExports.jsx(Background, { children: /* @__PURE__ */ jsxRuntimeExports.jsxs(Wrapper$7, { $dismissible: dismissible, ...props, children: [
10667
+ return isVisible ? /* @__PURE__ */ jsxRuntimeExports.jsx(Background, { children: /* @__PURE__ */ jsxRuntimeExports.jsxs(Wrapper$6, { $dismissible: dismissible, ...props, children: [
10586
10668
  /* @__PURE__ */ jsxRuntimeExports.jsx(CardIcon, { name: icon, "aria-hidden": true }),
10587
10669
  /* @__PURE__ */ jsxRuntimeExports.jsx(Text, { children: label }),
10588
10670
  dismissible && /* @__PURE__ */ jsxRuntimeExports.jsx(DismissWrapper, { "data-testid": "click-alert-dismiss-button", onClick: () => setIsVisible(false), children: /* @__PURE__ */ jsxRuntimeExports.jsx(SvgImage, { name: "cross", "aria-label": "close" }) })
@@ -10739,7 +10821,7 @@ function $e698a72e93240346$var$getState(checked) {
10739
10821
  }
10740
10822
  const $e698a72e93240346$export$be92b6f5f03c0fe9 = $e698a72e93240346$export$48513f6b9f8ce62d;
10741
10823
  const $e698a72e93240346$export$adb584737d712b70 = $e698a72e93240346$export$59aad738f51d1c05;
10742
- const Wrapper$6 = styled(FormRoot).withConfig({
10824
+ const Wrapper$5 = styled(FormRoot).withConfig({
10743
10825
  componentId: "sc-1sck1ja-0"
10744
10826
  })(["align-items:center;max-width:fit-content;"]);
10745
10827
  const Checkbox = ({
@@ -10751,7 +10833,7 @@ const Checkbox = ({
10751
10833
  ...delegated
10752
10834
  }) => {
10753
10835
  const defaultId = useId();
10754
- return /* @__PURE__ */ jsxRuntimeExports.jsxs(Wrapper$6, { $orientation: orientation ?? "horizontal", $dir: dir ?? "end", children: [
10836
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs(Wrapper$5, { $orientation: orientation ?? "horizontal", $dir: dir ?? "end", children: [
10755
10837
  /* @__PURE__ */ jsxRuntimeExports.jsx(CheckInput, { id: id ?? defaultId, "data-testid": "checkbox", disabled, "aria-label": `${label}`, ...delegated, children: /* @__PURE__ */ jsxRuntimeExports.jsx(CheckIconWrapper, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(SvgImage, { name: "check", size: "sm" }) }) }),
10756
10838
  label && /* @__PURE__ */ jsxRuntimeExports.jsx(GenericLabel, { htmlFor: id ?? defaultId, disabled, children: label })
10757
10839
  ] });
@@ -14299,80 +14381,6 @@ const CodeBlock = ({
14299
14381
  }, showLineNumbers, wrapLines: wrap || wrapLines, wrapLongLines: wrap || wrapLines, children })
14300
14382
  ] });
14301
14383
  };
14302
- const _Container = ({
14303
- component,
14304
- alignItems,
14305
- children,
14306
- fillWidth = true,
14307
- gap = "none",
14308
- grow,
14309
- shrink,
14310
- isResponsive,
14311
- justifyContent = "start",
14312
- maxWidth,
14313
- minWidth,
14314
- orientation = "horizontal",
14315
- padding = "none",
14316
- wrap = "nowrap",
14317
- fillHeight,
14318
- maxHeight,
14319
- minHeight,
14320
- overflow,
14321
- ...props
14322
- }, ref) => {
14323
- return /* @__PURE__ */ jsxRuntimeExports.jsx(Wrapper$5, { 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 });
14324
- };
14325
- const Wrapper$5 = styled.div.withConfig({
14326
- componentId: "sc-bcplth-0"
14327
- })(["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:", ";}"], ({
14328
- $grow,
14329
- $shrink
14330
- }) => `
14331
- ${$grow && `flex: ${$grow}`};
14332
- ${$shrink && `flex-shrink: ${$shrink}`};
14333
- `, ({
14334
- $fillHeight,
14335
- $maxHeight,
14336
- $minHeight
14337
- }) => `
14338
- ${$fillHeight && "height: 100%"};
14339
- ${$maxHeight && `max-height: ${$maxHeight}`};
14340
- ${$minHeight && `min-height: ${$minHeight}`};
14341
- `, ({
14342
- $overflow
14343
- }) => `
14344
- ${$overflow && `overflow: ${$overflow}`};
14345
- `, ({
14346
- $wrap = "nowrap"
14347
- }) => $wrap, ({
14348
- theme: theme2,
14349
- $gapSize
14350
- }) => theme2.click.container.gap[$gapSize], ({
14351
- $maxWidth
14352
- }) => $maxWidth ?? "none", ({
14353
- $minWidth
14354
- }) => $minWidth ?? "none", ({
14355
- theme: theme2,
14356
- $paddingSize
14357
- }) => theme2.click.container.space[$paddingSize], ({
14358
- $fillWidth = true
14359
- }) => $fillWidth === true ? "100%" : "auto", ({
14360
- $orientation = "horizontal"
14361
- }) => $orientation === "horizontal" ? "row" : "column", ({
14362
- $alignItems = "center"
14363
- }) => $alignItems, ({
14364
- $justifyContent = "left"
14365
- }) => $justifyContent === "start" ? "start" : `${$justifyContent}`, ({
14366
- theme: theme2
14367
- }) => theme2.breakpoint.sizes.md, ({
14368
- $isResponsive = true,
14369
- $fillWidth = true
14370
- }) => $isResponsive === true ? "100%" : $fillWidth === true ? "100%" : "auto", ({
14371
- $isResponsive = true
14372
- }) => $isResponsive === true ? "none" : "auto", ({
14373
- $isResponsive = true
14374
- }) => $isResponsive === true ? "column" : "auto");
14375
- const Container = forwardRef(_Container);
14376
14384
  const $5d3850c4d0b4e6c7$var$DIALOG_NAME = "Dialog";
14377
14385
  const [$5d3850c4d0b4e6c7$var$createDialogContext, $5d3850c4d0b4e6c7$export$cc702773b8ea3e41] = $c512c27ab02ef895$export$50c7b4e9d9f19c1($5d3850c4d0b4e6c7$var$DIALOG_NAME);
14378
14386
  const [$5d3850c4d0b4e6c7$var$DialogProvider, $5d3850c4d0b4e6c7$var$useDialogContext] = $5d3850c4d0b4e6c7$var$createDialogContext($5d3850c4d0b4e6c7$var$DIALOG_NAME);
@@ -37414,7 +37422,7 @@ const NavContext = createContext({
37414
37422
  });
37415
37423
  const CollapsibleContainer = styled.div.withConfig({
37416
37424
  componentId: "sc-guwmyz-0"
37417
- })(['width:100%;[data-trigger-icon]{visibility:hidden;transition:transform 150ms cubic-bezier(0.87,0,0.13,1);&[data-open="true"]{transform:rotate(90deg);}}&:hover{[data-trigger-icon]{visibility:visible;}}']);
37425
+ })(['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;}']);
37418
37426
  const Collapsible = ({
37419
37427
  open: openProp,
37420
37428
  onOpenChange: onOpenChangeProp,
@@ -37464,7 +37472,7 @@ const CollapsipleHeader = forwardRef(({
37464
37472
  if (typeof onClickProp === "function") {
37465
37473
  onClickProp(e);
37466
37474
  }
37467
- }, ...props, children: [
37475
+ }, "data-collapsible-header": true, ...props, children: [
37468
37476
  indicatorDir === "start" && /* @__PURE__ */ jsxRuntimeExports.jsx(Collapsible.Trigger, {}),
37469
37477
  children && /* @__PURE__ */ jsxRuntimeExports.jsx(IconWrapper, { icon, iconDir, children }),
37470
37478
  indicatorDir === "end" && /* @__PURE__ */ jsxRuntimeExports.jsx(Collapsible.Trigger, {})
@@ -8949,21 +8949,26 @@ var __publicField = (obj, key, value) => {
8949
8949
  children,
8950
8950
  fillWidth = false,
8951
8951
  ...delegated
8952
- }) => /* @__PURE__ */ jsxRuntimeExports.jsx($1bf158f521e1b1b4$export$be92b6f5f03c0fe9, { type: "single", collapsible: true, className: "asasas", ...delegated, children: /* @__PURE__ */ jsxRuntimeExports.jsxs($1bf158f521e1b1b4$export$6d08773d2e66f8f2, { value: "item", children: [
8952
+ }) => /* @__PURE__ */ jsxRuntimeExports.jsx(AccordionRoot, { type: "single", collapsible: true, $fillWidth: fillWidth, ...delegated, children: /* @__PURE__ */ jsxRuntimeExports.jsxs($1bf158f521e1b1b4$export$6d08773d2e66f8f2, { value: "item", children: [
8953
8953
  /* @__PURE__ */ jsxRuntimeExports.jsxs(AccordionTrigger, { $size: size2, color, $fillWidth: fillWidth, children: [
8954
8954
  /* @__PURE__ */ jsxRuntimeExports.jsxs(AccordionIconsWrapper, { children: [
8955
8955
  /* @__PURE__ */ jsxRuntimeExports.jsx(AccordionIconWrapper, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(SvgImage, { name: "chevron-right", size: iconSize || size2, "aria-label": "accordion icon" }) }),
8956
8956
  icon ? /* @__PURE__ */ jsxRuntimeExports.jsx(SvgImage, { name: icon, size: iconSize || size2 }) : null
8957
8957
  ] }),
8958
- /* @__PURE__ */ jsxRuntimeExports.jsx(Text, { component: "div", size: size2, children: title })
8958
+ /* @__PURE__ */ jsxRuntimeExports.jsx(Text, { component: "div", size: size2, fillWidth, children: title })
8959
8959
  ] }),
8960
8960
  /* @__PURE__ */ jsxRuntimeExports.jsxs(AccordionContent, { children: [
8961
8961
  /* @__PURE__ */ jsxRuntimeExports.jsx(Spacer, { size: gap }),
8962
8962
  children
8963
8963
  ] })
8964
8964
  ] }) });
8965
- const AccordionTrigger = styled($1bf158f521e1b1b4$export$41fb9f06171c75f4).withConfig({
8965
+ const AccordionRoot = styled($1bf158f521e1b1b4$export$be92b6f5f03c0fe9).withConfig({
8966
8966
  componentId: "sc-1ysh219-0"
8967
+ })(["", ";"], ({
8968
+ $fillWidth
8969
+ }) => $fillWidth && "width: 100%");
8970
+ const AccordionTrigger = styled($1bf158f521e1b1b4$export$41fb9f06171c75f4).withConfig({
8971
+ componentId: "sc-1ysh219-1"
8967
8972
  })(["border:none;padding:0;background-color:transparent;display:flex;align-items:center;", " ", ";"], ({
8968
8973
  theme: theme2,
8969
8974
  $size = "md",
@@ -8987,21 +8992,21 @@ var __publicField = (obj, key, value) => {
8987
8992
  $fillWidth
8988
8993
  }) => $fillWidth && "width: 100%");
8989
8994
  const AccordionIconWrapper = styled.div.withConfig({
8990
- componentId: "sc-1ysh219-1"
8995
+ componentId: "sc-1ysh219-2"
8991
8996
  })(["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);
8992
8997
  const AccordionIconsWrapper = styled.div.withConfig({
8993
- componentId: "sc-1ysh219-2"
8998
+ componentId: "sc-1ysh219-3"
8994
8999
  })(["display:flex;align-items:center;justify-content:center;"]);
8995
9000
  const AccordionContent = styled($1bf158f521e1b1b4$export$7c6e2c02157bb7d2).withConfig({
8996
- componentId: "sc-1ysh219-3"
9001
+ componentId: "sc-1ysh219-4"
8997
9002
  })([""]);
8998
9003
  styled(Accordion).withConfig({
8999
- componentId: "sc-1ysh219-4"
9004
+ componentId: "sc-1ysh219-5"
9000
9005
  })(["", "{gap:", ";}p{margin:0;}", "{visibility:hidden;}&:hover ", "{visibility:revert;}&:active ", "{visibility:revert;}", "[data-state='open'] ", "{visibility:revert;}"], AccordionTrigger, ({
9001
9006
  theme: theme2
9002
9007
  }) => theme2.click.sidebar.navigation.item.default.space.gap, AccordionIconWrapper, AccordionIconWrapper, AccordionIconWrapper, AccordionTrigger, AccordionIconWrapper);
9003
9008
  const AccordionToExport = styled(Accordion).withConfig({
9004
- componentId: "sc-1ysh219-5"
9009
+ componentId: "sc-1ysh219-6"
9005
9010
  })([""]);
9006
9011
  const stateIconMap = {
9007
9012
  neutral: "information",
@@ -10199,11 +10204,12 @@ var __publicField = (obj, key, value) => {
10199
10204
  className,
10200
10205
  children,
10201
10206
  component,
10207
+ fillWidth,
10202
10208
  ...props
10203
- }, ref) => /* @__PURE__ */ jsxRuntimeExports.jsx(CuiText, { as: component ?? "p", ref, $align: align, $color: color, $size: size2, $weight: weight, className, ...props, children });
10209
+ }, ref) => /* @__PURE__ */ jsxRuntimeExports.jsx(CuiText, { as: component ?? "p", ref, $align: align, $color: color, $size: size2, $weight: weight, $fillWidth: fillWidth, className, ...props, children });
10204
10210
  const CuiText = styled.p.withConfig({
10205
10211
  componentId: "sc-6r74pj-0"
10206
- })(["font:", ";color:", ";text-align:", ";margin:0;"], ({
10212
+ })(["font:", ";color:", ";text-align:", ";margin:0;", ";"], ({
10207
10213
  $size = "md",
10208
10214
  $weight = "normal",
10209
10215
  theme: theme2
@@ -10212,7 +10218,9 @@ var __publicField = (obj, key, value) => {
10212
10218
  theme: theme2
10213
10219
  }) => theme2.click.global.color.text[$color], ({
10214
10220
  $align = "left"
10215
- }) => $align);
10221
+ }) => $align, ({
10222
+ $fillWidth
10223
+ }) => $fillWidth && "width: 100%");
10216
10224
  _Text.displayName = "Text";
10217
10225
  const Text = React.forwardRef(_Text);
10218
10226
  const Header$4 = styled.div.withConfig({
@@ -10308,9 +10316,83 @@ var __publicField = (obj, key, value) => {
10308
10316
  ] })
10309
10317
  ] });
10310
10318
  };
10311
- const TopBadgeWrapper = styled.div.withConfig({
10319
+ const _Container = ({
10320
+ component,
10321
+ alignItems,
10322
+ children,
10323
+ fillWidth = true,
10324
+ gap = "none",
10325
+ grow,
10326
+ shrink,
10327
+ isResponsive,
10328
+ justifyContent = "start",
10329
+ maxWidth,
10330
+ minWidth,
10331
+ orientation = "horizontal",
10332
+ padding = "none",
10333
+ wrap = "nowrap",
10334
+ fillHeight,
10335
+ maxHeight,
10336
+ minHeight,
10337
+ overflow,
10338
+ ...props
10339
+ }, ref) => {
10340
+ return /* @__PURE__ */ jsxRuntimeExports.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 });
10341
+ };
10342
+ const Wrapper$9 = styled.div.withConfig({
10343
+ componentId: "sc-bcplth-0"
10344
+ })(["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:", ";}"], ({
10345
+ $grow,
10346
+ $shrink
10347
+ }) => `
10348
+ ${$grow && `flex: ${$grow}`};
10349
+ ${$shrink && `flex-shrink: ${$shrink}`};
10350
+ `, ({
10351
+ $fillHeight,
10352
+ $maxHeight,
10353
+ $minHeight
10354
+ }) => `
10355
+ ${$fillHeight && "height: 100%"};
10356
+ ${$maxHeight && `max-height: ${$maxHeight}`};
10357
+ ${$minHeight && `min-height: ${$minHeight}`};
10358
+ `, ({
10359
+ $overflow
10360
+ }) => `
10361
+ ${$overflow && `overflow: ${$overflow}`};
10362
+ `, ({
10363
+ $wrap = "nowrap"
10364
+ }) => $wrap, ({
10365
+ theme: theme2,
10366
+ $gapSize
10367
+ }) => theme2.click.container.gap[$gapSize], ({
10368
+ $maxWidth
10369
+ }) => $maxWidth ?? "none", ({
10370
+ $minWidth
10371
+ }) => $minWidth ?? "none", ({
10372
+ theme: theme2,
10373
+ $paddingSize
10374
+ }) => theme2.click.container.space[$paddingSize], ({
10375
+ $fillWidth = true
10376
+ }) => $fillWidth === true ? "100%" : "auto", ({
10377
+ $orientation = "horizontal"
10378
+ }) => $orientation === "horizontal" ? "row" : "column", ({
10379
+ $alignItems = "center"
10380
+ }) => $alignItems, ({
10381
+ $justifyContent = "left"
10382
+ }) => $justifyContent === "start" ? "start" : `${$justifyContent}`, ({
10383
+ theme: theme2
10384
+ }) => theme2.breakpoint.sizes.md, ({
10385
+ $isResponsive = true,
10386
+ $fillWidth = true
10387
+ }) => $isResponsive === true ? "100%" : $fillWidth === true ? "100%" : "auto", ({
10388
+ $isResponsive = true
10389
+ }) => $isResponsive === true ? "none" : "auto", ({
10390
+ $isResponsive = true
10391
+ }) => $isResponsive === true ? "column" : "auto");
10392
+ const Container = React.forwardRef(_Container);
10393
+ const TopBadgeWrapper = styled(Container).withConfig({
10312
10394
  componentId: "sc-1d5pqpo-0"
10313
- })(["position:relative;width:100%;max-width:100%;"]);
10395
+ })(["position:relative;"]);
10314
10396
  const CardPrimaryTopBadge = styled(Badge).withConfig({
10315
10397
  componentId: "sc-1d5pqpo-1"
10316
10398
  })(["position:absolute;top:0;left:50%;transform:translate(-50%,-50%);", " div:active + &{border-color:", ";}"], ({
@@ -10323,12 +10405,12 @@ var __publicField = (obj, key, value) => {
10323
10405
  topBadgeText,
10324
10406
  ...props
10325
10407
  }) => {
10326
- return /* @__PURE__ */ jsxRuntimeExports.jsxs(TopBadgeWrapper, { children: [
10408
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs(TopBadgeWrapper, { alignItems: "stretch", fillWidth: true, children: [
10327
10409
  /* @__PURE__ */ jsxRuntimeExports.jsx(Component, { ...props }),
10328
10410
  topBadgeText && /* @__PURE__ */ jsxRuntimeExports.jsx(CardPrimaryTopBadge, { "data-testid": "card-top-badge", text: topBadgeText, $isSelected: props.isSelected || false })
10329
10411
  ] });
10330
10412
  };
10331
- const Wrapper$9 = styled.div.withConfig({
10413
+ const Wrapper$8 = styled.div.withConfig({
10332
10414
  componentId: "sc-2dguvi-0"
10333
10415
  })(["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{', "}", ""], ({
10334
10416
  theme: theme2
@@ -10433,7 +10515,7 @@ var __publicField = (obj, key, value) => {
10433
10515
  }
10434
10516
  };
10435
10517
  const Component = !!infoUrl || typeof onButtonClick === "function" ? Button : "div";
10436
- return /* @__PURE__ */ jsxRuntimeExports.jsxs(Wrapper$9, { $alignContent: alignContent, $hasShadow: hasShadow, $size: size2, "aria-disabled": disabled, $isSelected: isSelected, tabIndex: 0, ...props, children: [
10518
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs(Wrapper$8, { $alignContent: alignContent, $hasShadow: hasShadow, $size: size2, "aria-disabled": disabled, $isSelected: isSelected, tabIndex: 0, ...props, children: [
10437
10519
  (icon || title) && /* @__PURE__ */ jsxRuntimeExports.jsxs(Header$3, { $size: size2, $disabled: disabled, $alignContent: alignContent, children: [
10438
10520
  icon && /* @__PURE__ */ jsxRuntimeExports.jsx(SvgImage, { name: icon, "aria-hidden": true }),
10439
10521
  title && /* @__PURE__ */ jsxRuntimeExports.jsx(Title$2, { type: "h3", children: title })
@@ -10455,7 +10537,7 @@ var __publicField = (obj, key, value) => {
10455
10537
  })(["display:flex;flex-direction:column;align-self:center;gap:", ";flex:1;"], ({
10456
10538
  theme: theme2
10457
10539
  }) => theme2.click.card.horizontal.space.gap);
10458
- const Wrapper$8 = styled.div.withConfig({
10540
+ const Wrapper$7 = styled.div.withConfig({
10459
10541
  componentId: "sc-1qnbjoa-2"
10460
10542
  })(["display:inline-flex;width:100%;max-width:100%;align-items:center;justify-content:flex-start;", ""], ({
10461
10543
  theme: theme2,
@@ -10534,7 +10616,7 @@ var __publicField = (obj, key, value) => {
10534
10616
  color = "default",
10535
10617
  ...props
10536
10618
  }) => {
10537
- return /* @__PURE__ */ jsxRuntimeExports.jsxs(Wrapper$8, { $disabled: disabled, $isSelected: isSelected, $color: color, tabIndex: 0, ...props, children: [
10619
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs(Wrapper$7, { $disabled: disabled, $isSelected: isSelected, $color: color, tabIndex: 0, ...props, children: [
10538
10620
  icon && /* @__PURE__ */ jsxRuntimeExports.jsx(CardIcon$1, { name: icon, "aria-hidden": true }),
10539
10621
  /* @__PURE__ */ jsxRuntimeExports.jsxs(ContentWrapper, { children: [
10540
10622
  title && /* @__PURE__ */ jsxRuntimeExports.jsx(Header$2, { children: title }),
@@ -10558,7 +10640,7 @@ var __publicField = (obj, key, value) => {
10558
10640
  background: ${theme2.click.card.promotion.color.stroke.focus};
10559
10641
  }
10560
10642
  `);
10561
- const Wrapper$7 = styled.div.withConfig({
10643
+ const Wrapper$6 = styled.div.withConfig({
10562
10644
  componentId: "sc-6jamj6-1"
10563
10645
  })(["display:flex;width:100%;align-items:center;justify-content:flex-start;cursor:pointer;", ""], ({
10564
10646
  theme: theme2
@@ -10599,7 +10681,7 @@ var __publicField = (obj, key, value) => {
10599
10681
  ...props
10600
10682
  }) => {
10601
10683
  const [isVisible, setIsVisible] = React.useState(true);
10602
- return isVisible ? /* @__PURE__ */ jsxRuntimeExports.jsx(Background, { children: /* @__PURE__ */ jsxRuntimeExports.jsxs(Wrapper$7, { $dismissible: dismissible, ...props, children: [
10684
+ return isVisible ? /* @__PURE__ */ jsxRuntimeExports.jsx(Background, { children: /* @__PURE__ */ jsxRuntimeExports.jsxs(Wrapper$6, { $dismissible: dismissible, ...props, children: [
10603
10685
  /* @__PURE__ */ jsxRuntimeExports.jsx(CardIcon, { name: icon, "aria-hidden": true }),
10604
10686
  /* @__PURE__ */ jsxRuntimeExports.jsx(Text, { children: label }),
10605
10687
  dismissible && /* @__PURE__ */ jsxRuntimeExports.jsx(DismissWrapper, { "data-testid": "click-alert-dismiss-button", onClick: () => setIsVisible(false), children: /* @__PURE__ */ jsxRuntimeExports.jsx(SvgImage, { name: "cross", "aria-label": "close" }) })
@@ -10756,7 +10838,7 @@ var __publicField = (obj, key, value) => {
10756
10838
  }
10757
10839
  const $e698a72e93240346$export$be92b6f5f03c0fe9 = $e698a72e93240346$export$48513f6b9f8ce62d;
10758
10840
  const $e698a72e93240346$export$adb584737d712b70 = $e698a72e93240346$export$59aad738f51d1c05;
10759
- const Wrapper$6 = styled(FormRoot).withConfig({
10841
+ const Wrapper$5 = styled(FormRoot).withConfig({
10760
10842
  componentId: "sc-1sck1ja-0"
10761
10843
  })(["align-items:center;max-width:fit-content;"]);
10762
10844
  const Checkbox = ({
@@ -10768,7 +10850,7 @@ var __publicField = (obj, key, value) => {
10768
10850
  ...delegated
10769
10851
  }) => {
10770
10852
  const defaultId = React.useId();
10771
- return /* @__PURE__ */ jsxRuntimeExports.jsxs(Wrapper$6, { $orientation: orientation ?? "horizontal", $dir: dir ?? "end", children: [
10853
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs(Wrapper$5, { $orientation: orientation ?? "horizontal", $dir: dir ?? "end", children: [
10772
10854
  /* @__PURE__ */ jsxRuntimeExports.jsx(CheckInput, { id: id ?? defaultId, "data-testid": "checkbox", disabled, "aria-label": `${label}`, ...delegated, children: /* @__PURE__ */ jsxRuntimeExports.jsx(CheckIconWrapper, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(SvgImage, { name: "check", size: "sm" }) }) }),
10773
10855
  label && /* @__PURE__ */ jsxRuntimeExports.jsx(GenericLabel, { htmlFor: id ?? defaultId, disabled, children: label })
10774
10856
  ] });
@@ -14316,80 +14398,6 @@ var __publicField = (obj, key, value) => {
14316
14398
  }, showLineNumbers, wrapLines: wrap || wrapLines, wrapLongLines: wrap || wrapLines, children })
14317
14399
  ] });
14318
14400
  };
14319
- const _Container = ({
14320
- component,
14321
- alignItems,
14322
- children,
14323
- fillWidth = true,
14324
- gap = "none",
14325
- grow,
14326
- shrink,
14327
- isResponsive,
14328
- justifyContent = "start",
14329
- maxWidth,
14330
- minWidth,
14331
- orientation = "horizontal",
14332
- padding = "none",
14333
- wrap = "nowrap",
14334
- fillHeight,
14335
- maxHeight,
14336
- minHeight,
14337
- overflow,
14338
- ...props
14339
- }, ref) => {
14340
- return /* @__PURE__ */ jsxRuntimeExports.jsx(Wrapper$5, { 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 });
14341
- };
14342
- const Wrapper$5 = styled.div.withConfig({
14343
- componentId: "sc-bcplth-0"
14344
- })(["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:", ";}"], ({
14345
- $grow,
14346
- $shrink
14347
- }) => `
14348
- ${$grow && `flex: ${$grow}`};
14349
- ${$shrink && `flex-shrink: ${$shrink}`};
14350
- `, ({
14351
- $fillHeight,
14352
- $maxHeight,
14353
- $minHeight
14354
- }) => `
14355
- ${$fillHeight && "height: 100%"};
14356
- ${$maxHeight && `max-height: ${$maxHeight}`};
14357
- ${$minHeight && `min-height: ${$minHeight}`};
14358
- `, ({
14359
- $overflow
14360
- }) => `
14361
- ${$overflow && `overflow: ${$overflow}`};
14362
- `, ({
14363
- $wrap = "nowrap"
14364
- }) => $wrap, ({
14365
- theme: theme2,
14366
- $gapSize
14367
- }) => theme2.click.container.gap[$gapSize], ({
14368
- $maxWidth
14369
- }) => $maxWidth ?? "none", ({
14370
- $minWidth
14371
- }) => $minWidth ?? "none", ({
14372
- theme: theme2,
14373
- $paddingSize
14374
- }) => theme2.click.container.space[$paddingSize], ({
14375
- $fillWidth = true
14376
- }) => $fillWidth === true ? "100%" : "auto", ({
14377
- $orientation = "horizontal"
14378
- }) => $orientation === "horizontal" ? "row" : "column", ({
14379
- $alignItems = "center"
14380
- }) => $alignItems, ({
14381
- $justifyContent = "left"
14382
- }) => $justifyContent === "start" ? "start" : `${$justifyContent}`, ({
14383
- theme: theme2
14384
- }) => theme2.breakpoint.sizes.md, ({
14385
- $isResponsive = true,
14386
- $fillWidth = true
14387
- }) => $isResponsive === true ? "100%" : $fillWidth === true ? "100%" : "auto", ({
14388
- $isResponsive = true
14389
- }) => $isResponsive === true ? "none" : "auto", ({
14390
- $isResponsive = true
14391
- }) => $isResponsive === true ? "column" : "auto");
14392
- const Container = React.forwardRef(_Container);
14393
14401
  const $5d3850c4d0b4e6c7$var$DIALOG_NAME = "Dialog";
14394
14402
  const [$5d3850c4d0b4e6c7$var$createDialogContext, $5d3850c4d0b4e6c7$export$cc702773b8ea3e41] = $c512c27ab02ef895$export$50c7b4e9d9f19c1($5d3850c4d0b4e6c7$var$DIALOG_NAME);
14395
14403
  const [$5d3850c4d0b4e6c7$var$DialogProvider, $5d3850c4d0b4e6c7$var$useDialogContext] = $5d3850c4d0b4e6c7$var$createDialogContext($5d3850c4d0b4e6c7$var$DIALOG_NAME);
@@ -37431,7 +37439,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
37431
37439
  });
37432
37440
  const CollapsibleContainer = styled.div.withConfig({
37433
37441
  componentId: "sc-guwmyz-0"
37434
- })(['width:100%;[data-trigger-icon]{visibility:hidden;transition:transform 150ms cubic-bezier(0.87,0,0.13,1);&[data-open="true"]{transform:rotate(90deg);}}&:hover{[data-trigger-icon]{visibility:visible;}}']);
37442
+ })(['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;}']);
37435
37443
  const Collapsible = ({
37436
37444
  open: openProp,
37437
37445
  onOpenChange: onOpenChangeProp,
@@ -37481,7 +37489,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
37481
37489
  if (typeof onClickProp === "function") {
37482
37490
  onClickProp(e);
37483
37491
  }
37484
- }, ...props, children: [
37492
+ }, "data-collapsible-header": true, ...props, children: [
37485
37493
  indicatorDir === "start" && /* @__PURE__ */ jsxRuntimeExports.jsx(Collapsible.Trigger, {}),
37486
37494
  children && /* @__PURE__ */ jsxRuntimeExports.jsx(IconWrapper, { icon, iconDir, children }),
37487
37495
  indicatorDir === "end" && /* @__PURE__ */ jsxRuntimeExports.jsx(Collapsible.Trigger, {})
@@ -1,12 +1,12 @@
1
1
  import { IconSize } from '../Icon/types';
2
2
  import { IconName } from '..';
3
- /// <reference types="react" />
3
+ import { ReactNode } from 'react';
4
4
  import * as RadixAccordion from "@radix-ui/react-accordion";
5
5
  type Size = "sm" | "md" | "lg";
6
6
  type Gap = "sm" | "md" | "lg";
7
7
  type Color = "default" | "link";
8
- export interface AccordionProps extends SizeProp, Omit<RadixAccordion.AccordionSingleProps, "type" | "collapsible"> {
9
- title: string;
8
+ export interface AccordionProps extends SizeProp, Omit<RadixAccordion.AccordionSingleProps, "type" | "collapsible" | "title"> {
9
+ title: ReactNode;
10
10
  color?: Color;
11
11
  icon?: IconName;
12
12
  iconSize?: IconSize;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- export declare const TopBadgeWrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
2
+ export declare const TopBadgeWrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<Omit<any, never> & import('../Container/Container').ContainerProps<import('react').ElementType>, never>> & string & Omit<(<T extends import('react').ElementType = "div">(props: Omit<import('react').ComponentProps<T>, keyof T> & import('../Container/Container').ContainerProps<T>) => import('react').ReactNode), keyof import('react').Component<any, {}, any>>;
3
3
  export declare const CardPrimaryTopBadge: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('../Badge/Badge').DismissibleBadge | import('../Badge/Badge').NonDismissibleBadge, {
4
4
  $isSelected?: boolean | undefined;
5
5
  }>> & string & Omit<({ icon, iconDir, text, state, size, dismissible, onClose, ...props }: import('../Badge/Badge').BadgeProps) => import("react/jsx-runtime").JSX.Element, keyof import('react').Component<any, {}, any>>;
@@ -12,6 +12,7 @@ export interface TextProps<T extends ElementType = "p"> {
12
12
  weight?: TextWeight;
13
13
  className?: string;
14
14
  component?: T;
15
+ fillWidth?: boolean;
15
16
  }
16
17
  type TextPolymorphicComponent = <T extends ElementType = "p">(props: Omit<ComponentProps<T>, keyof T> & TextProps<T>) => ReactNode;
17
18
  declare const Text: TextPolymorphicComponent;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clickhouse/click-ui",
3
- "version": "0.0.142",
3
+ "version": "0.0.144",
4
4
  "description": "Official ClickHouse design system react library",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",