@clickhouse/click-ui 0.0.138 → 0.0.139

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.
@@ -8903,21 +8903,24 @@ const Accordion = ({
8903
8903
  iconSize,
8904
8904
  gap,
8905
8905
  children,
8906
+ fillWidth = false,
8906
8907
  ...delegated
8907
- }) => /* @__PURE__ */ jsxRuntimeExports.jsx($1bf158f521e1b1b4$export$be92b6f5f03c0fe9, { type: "single", collapsible: true, ...delegated, children: /* @__PURE__ */ jsxRuntimeExports.jsxs($1bf158f521e1b1b4$export$6d08773d2e66f8f2, { value: "item", children: [
8908
- /* @__PURE__ */ jsxRuntimeExports.jsxs(AccordionTrigger, { $size: size2, color, children: [
8908
+ }) => /* @__PURE__ */ jsxRuntimeExports.jsx($1bf158f521e1b1b4$export$be92b6f5f03c0fe9, { type: "single", collapsible: true, className: "asasas", ...delegated, children: /* @__PURE__ */ jsxRuntimeExports.jsxs($1bf158f521e1b1b4$export$6d08773d2e66f8f2, { value: "item", children: [
8909
+ /* @__PURE__ */ jsxRuntimeExports.jsxs(AccordionTrigger, { $size: size2, color, $fillWidth: fillWidth, children: [
8909
8910
  /* @__PURE__ */ jsxRuntimeExports.jsxs(AccordionIconsWrapper, { children: [
8910
8911
  /* @__PURE__ */ jsxRuntimeExports.jsx(AccordionIconWrapper, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(SvgImage, { name: "chevron-right", size: iconSize || size2, "aria-label": "accordion icon" }) }),
8911
8912
  icon ? /* @__PURE__ */ jsxRuntimeExports.jsx(SvgImage, { name: icon, size: iconSize || size2 }) : null
8912
8913
  ] }),
8913
- /* @__PURE__ */ jsxRuntimeExports.jsx(Text, { size: size2, children: title })
8914
+ /* @__PURE__ */ jsxRuntimeExports.jsx(Text, { component: "div", size: size2, children: title })
8914
8915
  ] }),
8915
- /* @__PURE__ */ jsxRuntimeExports.jsx(Spacer, { size: gap }),
8916
- /* @__PURE__ */ jsxRuntimeExports.jsx(AccordionContent, { children })
8916
+ /* @__PURE__ */ jsxRuntimeExports.jsxs(AccordionContent, { children: [
8917
+ /* @__PURE__ */ jsxRuntimeExports.jsx(Spacer, { size: gap }),
8918
+ children
8919
+ ] })
8917
8920
  ] }) });
8918
8921
  const AccordionTrigger = styled($1bf158f521e1b1b4$export$41fb9f06171c75f4).withConfig({
8919
8922
  componentId: "sc-1ysh219-0"
8920
- })(["border:none;padding:0;background-color:transparent;display:flex;align-items:center;", ""], ({
8923
+ })(["border:none;padding:0;background-color:transparent;display:flex;align-items:center;", " ", ";"], ({
8921
8924
  theme: theme2,
8922
8925
  $size = "md",
8923
8926
  color = "default"
@@ -8936,7 +8939,9 @@ const AccordionTrigger = styled($1bf158f521e1b1b4$export$41fb9f06171c75f4).withC
8936
8939
  font: ${theme2.click.accordion[$size].typography.label.hover};
8937
8940
  cursor: pointer;
8938
8941
  }
8939
- `);
8942
+ `, ({
8943
+ $fillWidth
8944
+ }) => $fillWidth && "width: 100%");
8940
8945
  const AccordionIconWrapper = styled.div.withConfig({
8941
8946
  componentId: "sc-1ysh219-1"
8942
8947
  })(["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);
@@ -32307,10 +32312,25 @@ const Wrapper$3 = styled.div.withConfig({
32307
32312
  color: ${theme2.click.field.color.text.default};
32308
32313
  border: 1px solid ${theme2.click.field.color.stroke.default};
32309
32314
  background: ${theme2.click.field.color.background.default};
32315
+
32316
+ *:autofill,
32317
+ *:-webkit-autofill {
32318
+ -webkit-box-shadow: 0 0 0px 50vh ${theme2.click.field.color.background.default} inset;
32319
+ -webkit-text-fill-color: ${theme2.click.field.color.text.default};
32320
+ caret-color: ${theme2.click.field.color.text.default};
32321
+ }
32322
+
32310
32323
  &:hover {
32311
32324
  border: 1px solid ${theme2.click.field.color.stroke.hover};
32312
32325
  background: ${theme2.click.field.color.background.hover};
32313
32326
  color: ${theme2.click.field.color.text.hover};
32327
+
32328
+ *:autofill,
32329
+ *:-webkit-autofill {
32330
+ -webkit-box-shadow: 0 0 0px 50vh ${theme2.click.field.color.background.hover} inset;
32331
+ -webkit-text-fill-color: ${theme2.click.field.color.text.hover};
32332
+ caret-color: ${theme2.click.field.color.text.hover};
32333
+ }
32314
32334
  }
32315
32335
  ${$resize === "none" ? "" : `
32316
32336
  resize: ${$resize};
@@ -32322,9 +32342,23 @@ const Wrapper$3 = styled.div.withConfig({
32322
32342
  border: 1px solid ${theme2.click.field.color.stroke.error};
32323
32343
  background: ${theme2.click.field.color.background.active};
32324
32344
  color: ${theme2.click.field.color.text.error};
32345
+
32346
+ *:autofill,
32347
+ *:-webkit-autofill {
32348
+ -webkit-box-shadow: 0 0 0px 50vh ${theme2.click.field.color.background.error} inset;
32349
+ -webkit-text-fill-color: ${theme2.click.field.color.text.error};
32350
+ caret-color: ${theme2.click.field.color.text.error};
32351
+ }
32352
+
32325
32353
  &:hover {
32326
- border: 1px solid ${theme2.click.field.color.stroke.error};
32327
- color: ${theme2.click.field.color.text.error};
32354
+ border: 1px solid ${theme2.click.field.color.stroke.error};
32355
+ color: ${theme2.click.field.color.text.error};
32356
+ *:autofill,
32357
+ *:-webkit-autofill {
32358
+ -webkit-box-shadow: 0 0 0px 50vh ${theme2.click.field.color.background.error} inset;
32359
+ -webkit-text-fill-color: ${theme2.click.field.color.text.error};
32360
+ caret-color: ${theme2.click.field.color.text.error};
32361
+ }
32328
32362
  }
32329
32363
  ` : `
32330
32364
  &:focus-within,
@@ -32333,6 +32367,13 @@ const Wrapper$3 = styled.div.withConfig({
32333
32367
  border: 1px solid ${theme2.click.field.color.stroke.active};
32334
32368
  background: ${theme2.click.field.color.background.active};
32335
32369
  color: ${theme2.click.field.color.text.active};
32370
+
32371
+ *:autofill,
32372
+ *:-webkit-autofill {
32373
+ -webkit-box-shadow: 0 0 0px 50vh ${theme2.click.field.color.background.active} inset;
32374
+ -webkit-text-fill-color: ${theme2.click.field.color.text.active};
32375
+ caret-color: ${theme2.click.field.color.text.active};
32376
+ }
32336
32377
  }
32337
32378
  `};
32338
32379
  &:disabled, &.disabled {
@@ -32340,6 +32381,13 @@ const Wrapper$3 = styled.div.withConfig({
32340
32381
  border: 1px solid ${theme2.click.field.color.stroke.disabled};
32341
32382
  background: ${theme2.click.field.color.background.disabled};
32342
32383
  color: ${theme2.click.field.color.text.disabled};
32384
+
32385
+ *:autofill,
32386
+ *:-webkit-autofill {
32387
+ -webkit-box-shadow: 0 0 0px 50vh ${theme2.click.field.color.background.disabled} inset;
32388
+ -webkit-text-fill-color: ${theme2.click.field.color.text.disabled};
32389
+ caret-color: ${theme2.click.field.color.text.disabled};
32390
+ }
32343
32391
  }
32344
32392
  `);
32345
32393
  const InputWrapper = ({
@@ -37318,7 +37366,7 @@ const NavContext = createContext({
37318
37366
  });
37319
37367
  const CollapsibleContainer = styled.div.withConfig({
37320
37368
  componentId: "sc-guwmyz-0"
37321
- })(["width:100%;"]);
37369
+ })(['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;}}']);
37322
37370
  const Collapsible = ({
37323
37371
  open: openProp,
37324
37372
  onOpenChange: onOpenChangeProp,
@@ -37378,7 +37426,7 @@ CollapsipleHeader.displayName = "CollapsibleHeader";
37378
37426
  Collapsible.Header = CollapsipleHeader;
37379
37427
  const CollapsipleTriggerButton = styled(EmptyButton$1).withConfig({
37380
37428
  componentId: "sc-guwmyz-2"
37381
- })(['display:flex;align-items:center;font:inherit;color:inherit;cursor:inherit;[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;}}']);
37429
+ })(["display:flex;align-items:center;font:inherit;color:inherit;cursor:inherit;"]);
37382
37430
  const CollapsipleTrigger = ({
37383
37431
  onClick: onClickProp,
37384
37432
  children,
@@ -38012,6 +38060,17 @@ const Tabs = ({
38012
38060
  Tabs.TriggersList = TriggersList;
38013
38061
  Tabs.Trigger = Trigger;
38014
38062
  Tabs.Content = Content;
38063
+ const FullWidthTabs = styled(Tabs).withConfig({
38064
+ componentId: "sc-tj736u-3"
38065
+ })(["width:100%;"]);
38066
+ FullWidthTabs.Trigger = styled(Trigger).withConfig({
38067
+ componentId: "sc-tj736u-4"
38068
+ })(["", ";"], (props) => props.width ? `width: ${props.width};` : `
38069
+ flex-basis: auto;
38070
+ flex-grow: 1;
38071
+ flex-shrink: 1;
38072
+ `);
38073
+ FullWidthTabs.TriggersList = TriggersList;
38015
38074
  const TabsContainer = styled.div.withConfig({
38016
38075
  componentId: "sc-137ymle-0"
38017
38076
  })(["display:flex;position:relative;overflow:auto;overscroll-behavior:none;scrollbar-width:0;max-width:", ";&::-webkit-scrollbar{height:0;}"], ({
@@ -47879,6 +47938,7 @@ const StepItem = styled.div.withConfig({
47879
47938
  row-gap: ${theme2.click.stepper.vertical[$type].content.space.gap.y};
47880
47939
  column-gap: ${theme2.click.stepper.vertical[$type].content.space.gap.x};
47881
47940
  padding-bottom: ${theme2.click.stepper.vertical[$type].content.space.bottom[$isOpen ? "active" : "default"]};
47941
+ box-sizing: content-box;
47882
47942
  &:not(:last-of-type) {
47883
47943
  &::before{
47884
47944
  content: "";
@@ -47887,7 +47947,8 @@ const StepItem = styled.div.withConfig({
47887
47947
  height: 100%;
47888
47948
  left: calc(${theme2.click.stepper.vertical[$type].step.size.width} / 2 );
47889
47949
  width: ${theme2.click.stepper.vertical[$type].connector.size.width};
47890
- background: ${theme2.click.stepper.vertical[$type].connector.color.stroke[$status]}
47950
+ background: ${theme2.click.stepper.vertical[$type].connector.color.stroke[$status]};
47951
+ box-sizing: content-box;
47891
47952
  }
47892
47953
  }
47893
47954
  `);
@@ -47924,8 +47985,10 @@ const StepBubble = styled.div.withConfig({
47924
47985
  font: ${theme2.click.stepper.vertical.numbered.step.typography.number.default};
47925
47986
  color: ${theme2.click.stepper.vertical[$type].step.color.icon[$status]};
47926
47987
  counter-increment: vertical-stepper;
47988
+ box-sizing: content-box;
47927
47989
  ${$type === "numbered" && $status !== "complete" ? `
47928
47990
  &::before {
47991
+ box-sizing: content-box;
47929
47992
  font: inherit;
47930
47993
  color: inherit;
47931
47994
  content: counter(vertical-stepper);
@@ -47933,6 +47996,7 @@ const StepBubble = styled.div.withConfig({
47933
47996
  ` : ""}
47934
47997
  ${$status == "complete" && $type === "bulleted" ? `
47935
47998
  &::after {
47999
+ box-sizing: content-box;
47936
48000
  content: "";
47937
48001
  position: absolute;
47938
48002
  width: 50%;
@@ -48015,6 +48079,7 @@ export {
48015
48079
  Flags,
48016
48080
  Flyout,
48017
48081
  FormContainer,
48082
+ FullWidthTabs,
48018
48083
  Grid,
48019
48084
  GridContainer$1 as GridContainer,
48020
48085
  HoverCard,
@@ -8920,21 +8920,24 @@ var __publicField = (obj, key, value) => {
8920
8920
  iconSize,
8921
8921
  gap,
8922
8922
  children,
8923
+ fillWidth = false,
8923
8924
  ...delegated
8924
- }) => /* @__PURE__ */ jsxRuntimeExports.jsx($1bf158f521e1b1b4$export$be92b6f5f03c0fe9, { type: "single", collapsible: true, ...delegated, children: /* @__PURE__ */ jsxRuntimeExports.jsxs($1bf158f521e1b1b4$export$6d08773d2e66f8f2, { value: "item", children: [
8925
- /* @__PURE__ */ jsxRuntimeExports.jsxs(AccordionTrigger, { $size: size2, color, children: [
8925
+ }) => /* @__PURE__ */ jsxRuntimeExports.jsx($1bf158f521e1b1b4$export$be92b6f5f03c0fe9, { type: "single", collapsible: true, className: "asasas", ...delegated, children: /* @__PURE__ */ jsxRuntimeExports.jsxs($1bf158f521e1b1b4$export$6d08773d2e66f8f2, { value: "item", children: [
8926
+ /* @__PURE__ */ jsxRuntimeExports.jsxs(AccordionTrigger, { $size: size2, color, $fillWidth: fillWidth, children: [
8926
8927
  /* @__PURE__ */ jsxRuntimeExports.jsxs(AccordionIconsWrapper, { children: [
8927
8928
  /* @__PURE__ */ jsxRuntimeExports.jsx(AccordionIconWrapper, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(SvgImage, { name: "chevron-right", size: iconSize || size2, "aria-label": "accordion icon" }) }),
8928
8929
  icon ? /* @__PURE__ */ jsxRuntimeExports.jsx(SvgImage, { name: icon, size: iconSize || size2 }) : null
8929
8930
  ] }),
8930
- /* @__PURE__ */ jsxRuntimeExports.jsx(Text, { size: size2, children: title })
8931
+ /* @__PURE__ */ jsxRuntimeExports.jsx(Text, { component: "div", size: size2, children: title })
8931
8932
  ] }),
8932
- /* @__PURE__ */ jsxRuntimeExports.jsx(Spacer, { size: gap }),
8933
- /* @__PURE__ */ jsxRuntimeExports.jsx(AccordionContent, { children })
8933
+ /* @__PURE__ */ jsxRuntimeExports.jsxs(AccordionContent, { children: [
8934
+ /* @__PURE__ */ jsxRuntimeExports.jsx(Spacer, { size: gap }),
8935
+ children
8936
+ ] })
8934
8937
  ] }) });
8935
8938
  const AccordionTrigger = styled($1bf158f521e1b1b4$export$41fb9f06171c75f4).withConfig({
8936
8939
  componentId: "sc-1ysh219-0"
8937
- })(["border:none;padding:0;background-color:transparent;display:flex;align-items:center;", ""], ({
8940
+ })(["border:none;padding:0;background-color:transparent;display:flex;align-items:center;", " ", ";"], ({
8938
8941
  theme: theme2,
8939
8942
  $size = "md",
8940
8943
  color = "default"
@@ -8953,7 +8956,9 @@ var __publicField = (obj, key, value) => {
8953
8956
  font: ${theme2.click.accordion[$size].typography.label.hover};
8954
8957
  cursor: pointer;
8955
8958
  }
8956
- `);
8959
+ `, ({
8960
+ $fillWidth
8961
+ }) => $fillWidth && "width: 100%");
8957
8962
  const AccordionIconWrapper = styled.div.withConfig({
8958
8963
  componentId: "sc-1ysh219-1"
8959
8964
  })(["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);
@@ -32324,10 +32329,25 @@ var __publicField = (obj, key, value) => {
32324
32329
  color: ${theme2.click.field.color.text.default};
32325
32330
  border: 1px solid ${theme2.click.field.color.stroke.default};
32326
32331
  background: ${theme2.click.field.color.background.default};
32332
+
32333
+ *:autofill,
32334
+ *:-webkit-autofill {
32335
+ -webkit-box-shadow: 0 0 0px 50vh ${theme2.click.field.color.background.default} inset;
32336
+ -webkit-text-fill-color: ${theme2.click.field.color.text.default};
32337
+ caret-color: ${theme2.click.field.color.text.default};
32338
+ }
32339
+
32327
32340
  &:hover {
32328
32341
  border: 1px solid ${theme2.click.field.color.stroke.hover};
32329
32342
  background: ${theme2.click.field.color.background.hover};
32330
32343
  color: ${theme2.click.field.color.text.hover};
32344
+
32345
+ *:autofill,
32346
+ *:-webkit-autofill {
32347
+ -webkit-box-shadow: 0 0 0px 50vh ${theme2.click.field.color.background.hover} inset;
32348
+ -webkit-text-fill-color: ${theme2.click.field.color.text.hover};
32349
+ caret-color: ${theme2.click.field.color.text.hover};
32350
+ }
32331
32351
  }
32332
32352
  ${$resize === "none" ? "" : `
32333
32353
  resize: ${$resize};
@@ -32339,9 +32359,23 @@ var __publicField = (obj, key, value) => {
32339
32359
  border: 1px solid ${theme2.click.field.color.stroke.error};
32340
32360
  background: ${theme2.click.field.color.background.active};
32341
32361
  color: ${theme2.click.field.color.text.error};
32362
+
32363
+ *:autofill,
32364
+ *:-webkit-autofill {
32365
+ -webkit-box-shadow: 0 0 0px 50vh ${theme2.click.field.color.background.error} inset;
32366
+ -webkit-text-fill-color: ${theme2.click.field.color.text.error};
32367
+ caret-color: ${theme2.click.field.color.text.error};
32368
+ }
32369
+
32342
32370
  &:hover {
32343
- border: 1px solid ${theme2.click.field.color.stroke.error};
32344
- color: ${theme2.click.field.color.text.error};
32371
+ border: 1px solid ${theme2.click.field.color.stroke.error};
32372
+ color: ${theme2.click.field.color.text.error};
32373
+ *:autofill,
32374
+ *:-webkit-autofill {
32375
+ -webkit-box-shadow: 0 0 0px 50vh ${theme2.click.field.color.background.error} inset;
32376
+ -webkit-text-fill-color: ${theme2.click.field.color.text.error};
32377
+ caret-color: ${theme2.click.field.color.text.error};
32378
+ }
32345
32379
  }
32346
32380
  ` : `
32347
32381
  &:focus-within,
@@ -32350,6 +32384,13 @@ var __publicField = (obj, key, value) => {
32350
32384
  border: 1px solid ${theme2.click.field.color.stroke.active};
32351
32385
  background: ${theme2.click.field.color.background.active};
32352
32386
  color: ${theme2.click.field.color.text.active};
32387
+
32388
+ *:autofill,
32389
+ *:-webkit-autofill {
32390
+ -webkit-box-shadow: 0 0 0px 50vh ${theme2.click.field.color.background.active} inset;
32391
+ -webkit-text-fill-color: ${theme2.click.field.color.text.active};
32392
+ caret-color: ${theme2.click.field.color.text.active};
32393
+ }
32353
32394
  }
32354
32395
  `};
32355
32396
  &:disabled, &.disabled {
@@ -32357,6 +32398,13 @@ var __publicField = (obj, key, value) => {
32357
32398
  border: 1px solid ${theme2.click.field.color.stroke.disabled};
32358
32399
  background: ${theme2.click.field.color.background.disabled};
32359
32400
  color: ${theme2.click.field.color.text.disabled};
32401
+
32402
+ *:autofill,
32403
+ *:-webkit-autofill {
32404
+ -webkit-box-shadow: 0 0 0px 50vh ${theme2.click.field.color.background.disabled} inset;
32405
+ -webkit-text-fill-color: ${theme2.click.field.color.text.disabled};
32406
+ caret-color: ${theme2.click.field.color.text.disabled};
32407
+ }
32360
32408
  }
32361
32409
  `);
32362
32410
  const InputWrapper = ({
@@ -37335,7 +37383,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
37335
37383
  });
37336
37384
  const CollapsibleContainer = styled.div.withConfig({
37337
37385
  componentId: "sc-guwmyz-0"
37338
- })(["width:100%;"]);
37386
+ })(['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;}}']);
37339
37387
  const Collapsible = ({
37340
37388
  open: openProp,
37341
37389
  onOpenChange: onOpenChangeProp,
@@ -37395,7 +37443,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
37395
37443
  Collapsible.Header = CollapsipleHeader;
37396
37444
  const CollapsipleTriggerButton = styled(EmptyButton$1).withConfig({
37397
37445
  componentId: "sc-guwmyz-2"
37398
- })(['display:flex;align-items:center;font:inherit;color:inherit;cursor:inherit;[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;}}']);
37446
+ })(["display:flex;align-items:center;font:inherit;color:inherit;cursor:inherit;"]);
37399
37447
  const CollapsipleTrigger = ({
37400
37448
  onClick: onClickProp,
37401
37449
  children,
@@ -38029,6 +38077,17 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
38029
38077
  Tabs.TriggersList = TriggersList;
38030
38078
  Tabs.Trigger = Trigger;
38031
38079
  Tabs.Content = Content;
38080
+ const FullWidthTabs = styled(Tabs).withConfig({
38081
+ componentId: "sc-tj736u-3"
38082
+ })(["width:100%;"]);
38083
+ FullWidthTabs.Trigger = styled(Trigger).withConfig({
38084
+ componentId: "sc-tj736u-4"
38085
+ })(["", ";"], (props) => props.width ? `width: ${props.width};` : `
38086
+ flex-basis: auto;
38087
+ flex-grow: 1;
38088
+ flex-shrink: 1;
38089
+ `);
38090
+ FullWidthTabs.TriggersList = TriggersList;
38032
38091
  const TabsContainer = styled.div.withConfig({
38033
38092
  componentId: "sc-137ymle-0"
38034
38093
  })(["display:flex;position:relative;overflow:auto;overscroll-behavior:none;scrollbar-width:0;max-width:", ";&::-webkit-scrollbar{height:0;}"], ({
@@ -47896,6 +47955,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
47896
47955
  row-gap: ${theme2.click.stepper.vertical[$type].content.space.gap.y};
47897
47956
  column-gap: ${theme2.click.stepper.vertical[$type].content.space.gap.x};
47898
47957
  padding-bottom: ${theme2.click.stepper.vertical[$type].content.space.bottom[$isOpen ? "active" : "default"]};
47958
+ box-sizing: content-box;
47899
47959
  &:not(:last-of-type) {
47900
47960
  &::before{
47901
47961
  content: "";
@@ -47904,7 +47964,8 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
47904
47964
  height: 100%;
47905
47965
  left: calc(${theme2.click.stepper.vertical[$type].step.size.width} / 2 );
47906
47966
  width: ${theme2.click.stepper.vertical[$type].connector.size.width};
47907
- background: ${theme2.click.stepper.vertical[$type].connector.color.stroke[$status]}
47967
+ background: ${theme2.click.stepper.vertical[$type].connector.color.stroke[$status]};
47968
+ box-sizing: content-box;
47908
47969
  }
47909
47970
  }
47910
47971
  `);
@@ -47941,8 +48002,10 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
47941
48002
  font: ${theme2.click.stepper.vertical.numbered.step.typography.number.default};
47942
48003
  color: ${theme2.click.stepper.vertical[$type].step.color.icon[$status]};
47943
48004
  counter-increment: vertical-stepper;
48005
+ box-sizing: content-box;
47944
48006
  ${$type === "numbered" && $status !== "complete" ? `
47945
48007
  &::before {
48008
+ box-sizing: content-box;
47946
48009
  font: inherit;
47947
48010
  color: inherit;
47948
48011
  content: counter(vertical-stepper);
@@ -47950,6 +48013,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
47950
48013
  ` : ""}
47951
48014
  ${$status == "complete" && $type === "bulleted" ? `
47952
48015
  &::after {
48016
+ box-sizing: content-box;
47953
48017
  content: "";
47954
48018
  position: absolute;
47955
48019
  width: 50%;
@@ -48031,6 +48095,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
48031
48095
  exports2.Flags = Flags;
48032
48096
  exports2.Flyout = Flyout;
48033
48097
  exports2.FormContainer = FormContainer;
48098
+ exports2.FullWidthTabs = FullWidthTabs;
48034
48099
  exports2.Grid = Grid;
48035
48100
  exports2.GridContainer = GridContainer$1;
48036
48101
  exports2.HoverCard = HoverCard;
@@ -12,10 +12,11 @@ export interface AccordionProps extends SizeProp, Omit<RadixAccordion.AccordionS
12
12
  iconSize?: IconSize;
13
13
  gap?: Gap;
14
14
  children: React.ReactNode;
15
+ fillWidth?: boolean;
15
16
  }
16
17
  interface SizeProp {
17
18
  size?: Size;
18
19
  }
19
- declare const SidebarAccordion: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<AccordionProps, never>> & string & Omit<({ title, size, color, icon, iconSize, gap, children, ...delegated }: AccordionProps) => import("react/jsx-runtime").JSX.Element, keyof import('react').Component<any, {}, any>>;
20
- declare const AccordionToExport: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<AccordionProps, never>> & string & Omit<({ title, size, color, icon, iconSize, gap, children, ...delegated }: AccordionProps) => import("react/jsx-runtime").JSX.Element, keyof import('react').Component<any, {}, any>>;
20
+ declare const SidebarAccordion: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<AccordionProps, never>> & string & Omit<({ title, size, color, icon, iconSize, gap, children, fillWidth, ...delegated }: AccordionProps) => import("react/jsx-runtime").JSX.Element, keyof import('react').Component<any, {}, any>>;
21
+ declare const AccordionToExport: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<AccordionProps, never>> & string & Omit<({ title, size, color, icon, iconSize, gap, children, fillWidth, ...delegated }: AccordionProps) => import("react/jsx-runtime").JSX.Element, keyof import('react').Component<any, {}, any>>;
21
22
  export { AccordionToExport as Accordion, SidebarAccordion };
@@ -15,4 +15,16 @@ declare const Tabs: {
15
15
  ref?: ((instance: HTMLDivElement | null) => void) | import('react').RefObject<HTMLDivElement> | null | undefined;
16
16
  }, never>> & string & Omit<import('react').ForwardRefExoticComponent<RadixTabs.TabsContentProps & import('react').RefAttributes<HTMLDivElement>>, keyof import('react').Component<any, {}, any>>;
17
17
  };
18
- export { Tabs };
18
+ declare const FullWidthTabs: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<TabsProps, never>> & string & Omit<{
19
+ ({ defaultValue, children, ariaLabel, onValueChange, ...delegated }: TabsProps): import("react/jsx-runtime").JSX.Element;
20
+ TriggersList: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<Omit<RadixTabs.TabsListProps & import('react').RefAttributes<HTMLDivElement>, "ref"> & {
21
+ ref?: ((instance: HTMLDivElement | null) => void) | import('react').RefObject<HTMLDivElement> | null | undefined;
22
+ }, never>> & string & Omit<import('react').ForwardRefExoticComponent<RadixTabs.TabsListProps & import('react').RefAttributes<HTMLDivElement>>, keyof import('react').Component<any, {}, any>>;
23
+ Trigger: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<Omit<RadixTabs.TabsTriggerProps & import('react').RefAttributes<HTMLButtonElement>, "ref"> & {
24
+ ref?: ((instance: HTMLButtonElement | null) => void) | import('react').RefObject<HTMLButtonElement> | null | undefined;
25
+ }, never>> & string & Omit<import('react').ForwardRefExoticComponent<RadixTabs.TabsTriggerProps & import('react').RefAttributes<HTMLButtonElement>>, keyof import('react').Component<any, {}, any>>;
26
+ Content: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<Omit<RadixTabs.TabsContentProps & import('react').RefAttributes<HTMLDivElement>, "ref"> & {
27
+ ref?: ((instance: HTMLDivElement | null) => void) | import('react').RefObject<HTMLDivElement> | null | undefined;
28
+ }, never>> & string & Omit<import('react').ForwardRefExoticComponent<RadixTabs.TabsContentProps & import('react').RefAttributes<HTMLDivElement>>, keyof import('react').Component<any, {}, any>>;
29
+ }, keyof import('react').Component<any, {}, any>>;
30
+ export { Tabs, FullWidthTabs };
@@ -50,7 +50,7 @@ export { SidebarCollapsibleTitle } from './SidebarCollapsibleTitle/SidebarCollap
50
50
  export { Spacer } from './Spacer/Spacer';
51
51
  export { SplitButton } from './SplitButton/SplitButton';
52
52
  export { Switch } from './Switch/Switch';
53
- export { Tabs } from './Tabs/Tabs';
53
+ export { Tabs, FullWidthTabs } from './Tabs/Tabs';
54
54
  export { FileTabs, FileTabElement } from './FileTabs/FileTabs';
55
55
  export { Table } from './Table/Table';
56
56
  export { Text } from './Typography/Text/Text';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clickhouse/click-ui",
3
- "version": "0.0.138",
3
+ "version": "v0.0.139",
4
4
  "description": "Official ClickHouse design system react library",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",