@clickhouse/click-ui 0.0.106 → 0.0.107

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.
@@ -11165,21 +11165,21 @@ const hS = G(ho).withConfig({
11165
11165
  componentId: "sc-1vtv6sf-2"
11166
11166
  })(["max-width:100%;max-width:-webkit-fill-available;max-width:fill-available;max-width:stretch;", ""], ({
11167
11167
  theme: e,
11168
- type: t = "default"
11168
+ $type: t = "default"
11169
11169
  }) => `
11170
11170
  gap: ${e.click.flyout.space[t].gap};
11171
11171
  padding: 0 ${e.click.flyout.space[t].content.x};
11172
11172
  `), w8 = ({
11173
11173
  type: e,
11174
11174
  ...t
11175
- }) => /* @__PURE__ */ r.jsx(hS, { orientation: "vertical", padding: "none", gap: "none", type: e, ...t });
11175
+ }) => /* @__PURE__ */ r.jsx(hS, { orientation: "vertical", padding: "none", gap: "none", $type: e, ...t });
11176
11176
  w8.displayName = "Flyout.Element";
11177
11177
  E1.Element = w8;
11178
11178
  const pd = G(ho).withConfig({
11179
11179
  componentId: "sc-1vtv6sf-3"
11180
11180
  })(["", ""], ({
11181
11181
  theme: e,
11182
- type: t = "default"
11182
+ $type: t = "default"
11183
11183
  }) => `
11184
11184
  row-gap: ${e.click.flyout.space[t].content["row-gap"]};
11185
11185
  column-gap: ${e.click.flyout.space[t].content["column-gap"]};
@@ -11188,7 +11188,7 @@ const pd = G(ho).withConfig({
11188
11188
  componentId: "sc-1vtv6sf-4"
11189
11189
  })(["", ""], ({
11190
11190
  theme: e,
11191
- type: t = "default"
11191
+ $type: t = "default"
11192
11192
  }) => `
11193
11193
  color: ${e.click.flyout.color.title.default};
11194
11194
  font: ${e.click.flyout.typography[t].title.default};
@@ -11198,7 +11198,7 @@ const pd = G(ho).withConfig({
11198
11198
  componentId: "sc-1vtv6sf-5"
11199
11199
  })(["", ""], ({
11200
11200
  theme: e,
11201
- type: t = "default"
11201
+ $type: t = "default"
11202
11202
  }) => `
11203
11203
  color: ${e.click.flyout.color.description.default};
11204
11204
  font: ${e.click.flyout.typography[t].description.default};
@@ -11211,16 +11211,16 @@ const pd = G(ho).withConfig({
11211
11211
  children: o,
11212
11212
  ...i
11213
11213
  }) => o ? /* @__PURE__ */ r.jsxs(fd, { children: [
11214
- /* @__PURE__ */ r.jsxs(pd, { type: n, justifyContent: "space-between", alignItems: "start", padding: "none", gap: "none", fillWidth: !1, ...i, children: [
11214
+ /* @__PURE__ */ r.jsxs(pd, { $type: n, justifyContent: "space-between", alignItems: "start", padding: "none", gap: "none", fillWidth: !1, ...i, children: [
11215
11215
  /* @__PURE__ */ r.jsx(ho, { padding: "none", gap: "none", orientation: "vertical", grow: "1", children: o }),
11216
11216
  /* @__PURE__ */ r.jsx(b2, { asChild: !0, children: /* @__PURE__ */ r.jsx(Z0, { "data-testid": "flyout-header-close-btn", children: /* @__PURE__ */ r.jsx(dt, { name: "cross", size: "lg" }) }) })
11217
11217
  ] }),
11218
11218
  /* @__PURE__ */ r.jsx(Wa, { size: "lg" })
11219
11219
  ] }) : /* @__PURE__ */ r.jsxs(fd, { children: [
11220
- /* @__PURE__ */ r.jsxs(pd, { type: n, justifyContent: "space-between", alignItems: "start", fillWidth: !1, ...i, children: [
11220
+ /* @__PURE__ */ r.jsxs(pd, { $type: n, justifyContent: "space-between", alignItems: "start", fillWidth: !1, ...i, children: [
11221
11221
  /* @__PURE__ */ r.jsxs(ho, { padding: "none", gap: "none", orientation: "vertical", grow: "1", children: [
11222
- /* @__PURE__ */ r.jsx(gS, { children: e }),
11223
- t && /* @__PURE__ */ r.jsx(vS, { children: t })
11222
+ /* @__PURE__ */ r.jsx(gS, { $type: n, children: e }),
11223
+ t && /* @__PURE__ */ r.jsx(vS, { $type: n, children: t })
11224
11224
  ] }),
11225
11225
  /* @__PURE__ */ r.jsx(b2, { asChild: !0, children: /* @__PURE__ */ r.jsx(Z0, { "data-testid": "flyout-header-close-btn", children: /* @__PURE__ */ r.jsx(dt, { name: "cross", size: "lg" }) }) })
11226
11226
  ] }),
@@ -482,24 +482,24 @@ https://github.com/highlightjs/highlight.js/issues/2277`),Xe=de,Ae=Ce);const ke=
482
482
  left: auto;
483
483
  }
484
484
  }
485
- `),d7=W.div.withConfig({componentId:"sc-1vtv6sf-1"})(["display:flex;gap:0;width:100%;flex-flow:column nowrap;gap:inherit;"]),u7=({showOverlay:e=!1,children:t,container:n,strategy:o="relative",size:i,type:a="default",closeOnInteractOutside:s=!1,onInteractOutside:c,...u})=>r.jsxs(t7,{container:n,children:[e&&r.jsx(n7,{className:"DialogOverlay"}),r.jsx(Ry,{$size:i,$type:a,$strategy:o,onInteractOutside:g=>{s||g.preventDefault(),typeof c=="function"&&c(g)},...u,children:t})]});u7.displayName="Flyout.Content",ei.Content=u7;const Vy=W(Er).withConfig({componentId:"sc-1vtv6sf-2"})(["max-width:100%;max-width:-webkit-fill-available;max-width:fill-available;max-width:stretch;",""],({theme:e,type:t="default"})=>`
485
+ `),d7=W.div.withConfig({componentId:"sc-1vtv6sf-1"})(["display:flex;gap:0;width:100%;flex-flow:column nowrap;gap:inherit;"]),u7=({showOverlay:e=!1,children:t,container:n,strategy:o="relative",size:i,type:a="default",closeOnInteractOutside:s=!1,onInteractOutside:c,...u})=>r.jsxs(t7,{container:n,children:[e&&r.jsx(n7,{className:"DialogOverlay"}),r.jsx(Ry,{$size:i,$type:a,$strategy:o,onInteractOutside:g=>{s||g.preventDefault(),typeof c=="function"&&c(g)},...u,children:t})]});u7.displayName="Flyout.Content",ei.Content=u7;const Vy=W(Er).withConfig({componentId:"sc-1vtv6sf-2"})(["max-width:100%;max-width:-webkit-fill-available;max-width:fill-available;max-width:stretch;",""],({theme:e,$type:t="default"})=>`
486
486
  gap: ${e.click.flyout.space[t].gap};
487
487
  padding: 0 ${e.click.flyout.space[t].content.x};
488
- `),f7=({type:e,...t})=>r.jsx(Vy,{orientation:"vertical",padding:"none",gap:"none",type:e,...t});f7.displayName="Flyout.Element",ei.Element=f7;const p7=W(Er).withConfig({componentId:"sc-1vtv6sf-3"})(["",""],({theme:e,type:t="default"})=>`
488
+ `),f7=({type:e,...t})=>r.jsx(Vy,{orientation:"vertical",padding:"none",gap:"none",$type:e,...t});f7.displayName="Flyout.Element",ei.Element=f7;const p7=W(Er).withConfig({componentId:"sc-1vtv6sf-3"})(["",""],({theme:e,$type:t="default"})=>`
489
489
  row-gap: ${e.click.flyout.space[t].content["row-gap"]};
490
490
  column-gap: ${e.click.flyout.space[t].content["column-gap"]};
491
491
  padding: ${e.click.flyout.space[t].y} ${e.click.flyout.space[t].y} 0 ${e.click.flyout.space[t].y} ;
492
- `),By=W(Cy).withConfig({componentId:"sc-1vtv6sf-4"})(["",""],({theme:e,type:t="default"})=>`
492
+ `),By=W(Cy).withConfig({componentId:"sc-1vtv6sf-4"})(["",""],({theme:e,$type:t="default"})=>`
493
493
  color: ${e.click.flyout.color.title.default};
494
494
  font: ${e.click.flyout.typography[t].title.default};
495
495
  margin: 0;
496
496
  padding: 0;
497
- `),Ny=W(wy).withConfig({componentId:"sc-1vtv6sf-5"})(["",""],({theme:e,type:t="default"})=>`
497
+ `),Ny=W(wy).withConfig({componentId:"sc-1vtv6sf-5"})(["",""],({theme:e,$type:t="default"})=>`
498
498
  color: ${e.click.flyout.color.description.default};
499
499
  font: ${e.click.flyout.typography[t].description.default};
500
500
  margin: 0;
501
501
  padding: 0;
502
- `),h7=({title:e,description:t,type:n,children:o,...i})=>o?r.jsxs(d7,{children:[r.jsxs(p7,{type:n,justifyContent:"space-between",alignItems:"start",padding:"none",gap:"none",fillWidth:!1,...i,children:[r.jsx(Er,{padding:"none",gap:"none",orientation:"vertical",grow:"1",children:o}),r.jsx(bc,{asChild:!0,children:r.jsx(i3,{"data-testid":"flyout-header-close-btn",children:r.jsx(nt,{name:"cross",size:"lg"})})})]}),r.jsx(Vi,{size:"lg"})]}):r.jsxs(d7,{children:[r.jsxs(p7,{type:n,justifyContent:"space-between",alignItems:"start",fillWidth:!1,...i,children:[r.jsxs(Er,{padding:"none",gap:"none",orientation:"vertical",grow:"1",children:[r.jsx(By,{children:e}),t&&r.jsx(Ny,{children:t})]}),r.jsx(bc,{asChild:!0,children:r.jsx(i3,{"data-testid":"flyout-header-close-btn",children:r.jsx(nt,{name:"cross",size:"lg"})})})]}),r.jsx(Vi,{size:"lg"})]});h7.displayName="Flyout.Header",ei.Header=h7;const Zy=W(Er).withConfig({componentId:"sc-1vtv6sf-6"})(["margin-top:",";"],({$align:e="default"})=>e==="top"?"-1rem":0),g7=({align:e,...t})=>r.jsx(Zy,{overflow:"auto",orientation:"vertical",grow:"1",$align:e,...t});g7.displayName="Flyout.Body",ei.Body=g7;const Uy=W(Er).withConfig({componentId:"sc-1vtv6sf-7"})(["",""],({theme:e,type:t="default"})=>`
502
+ `),h7=({title:e,description:t,type:n,children:o,...i})=>o?r.jsxs(d7,{children:[r.jsxs(p7,{$type:n,justifyContent:"space-between",alignItems:"start",padding:"none",gap:"none",fillWidth:!1,...i,children:[r.jsx(Er,{padding:"none",gap:"none",orientation:"vertical",grow:"1",children:o}),r.jsx(bc,{asChild:!0,children:r.jsx(i3,{"data-testid":"flyout-header-close-btn",children:r.jsx(nt,{name:"cross",size:"lg"})})})]}),r.jsx(Vi,{size:"lg"})]}):r.jsxs(d7,{children:[r.jsxs(p7,{$type:n,justifyContent:"space-between",alignItems:"start",fillWidth:!1,...i,children:[r.jsxs(Er,{padding:"none",gap:"none",orientation:"vertical",grow:"1",children:[r.jsx(By,{$type:n,children:e}),t&&r.jsx(Ny,{$type:n,children:t})]}),r.jsx(bc,{asChild:!0,children:r.jsx(i3,{"data-testid":"flyout-header-close-btn",children:r.jsx(nt,{name:"cross",size:"lg"})})})]}),r.jsx(Vi,{size:"lg"})]});h7.displayName="Flyout.Header",ei.Header=h7;const Zy=W(Er).withConfig({componentId:"sc-1vtv6sf-6"})(["margin-top:",";"],({$align:e="default"})=>e==="top"?"-1rem":0),g7=({align:e,...t})=>r.jsx(Zy,{overflow:"auto",orientation:"vertical",grow:"1",$align:e,...t});g7.displayName="Flyout.Body",ei.Body=g7;const Uy=W(Er).withConfig({componentId:"sc-1vtv6sf-7"})(["",""],({theme:e,type:t="default"})=>`
503
503
  row-gap: ${e.click.flyout.space[t].content["row-gap"]};
504
504
  column-gap: ${e.click.flyout.space[t].content["column-gap"]};
505
505
  padding: ${e.click.flyout.space[t].y} ${e.click.flyout.space[t].content.x};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clickhouse/click-ui",
3
- "version": "0.0.106",
3
+ "version": "0.0.107",
4
4
  "description": "Official ClickHouse design system react library",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",