@clickhouse/click-ui 0.0.149 → 0.0.150

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.
@@ -37634,8 +37634,9 @@ const SidebarCollapsibleTitle = ({
37634
37634
  }
37635
37635
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(Collapsible, { open: open2, onOpenChange, children: [
37636
37636
  /* @__PURE__ */ jsxRuntimeExports.jsxs(SidebarTitleWrapper, { as: Collapsible.Trigger, $collapsible: true, iconDir, "data-selected": selected, $type: type, ...props, children: [
37637
- icon && /* @__PURE__ */ jsxRuntimeExports.jsx(SvgImage, { name: icon, size: "sm" }),
37638
- label
37637
+ icon && iconDir === "start" && /* @__PURE__ */ jsxRuntimeExports.jsx(SvgImage, { name: icon, size: "sm" }),
37638
+ label,
37639
+ icon && iconDir === "end" && /* @__PURE__ */ jsxRuntimeExports.jsx(SvgImage, { name: icon, size: "sm" })
37639
37640
  ] }),
37640
37641
  /* @__PURE__ */ jsxRuntimeExports.jsx(Collapsible.Content, { children })
37641
37642
  ] });
@@ -37651,8 +37651,9 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
37651
37651
  }
37652
37652
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(Collapsible, { open: open2, onOpenChange, children: [
37653
37653
  /* @__PURE__ */ jsxRuntimeExports.jsxs(SidebarTitleWrapper, { as: Collapsible.Trigger, $collapsible: true, iconDir, "data-selected": selected, $type: type, ...props, children: [
37654
- icon && /* @__PURE__ */ jsxRuntimeExports.jsx(SvgImage, { name: icon, size: "sm" }),
37655
- label
37654
+ icon && iconDir === "start" && /* @__PURE__ */ jsxRuntimeExports.jsx(SvgImage, { name: icon, size: "sm" }),
37655
+ label,
37656
+ icon && iconDir === "end" && /* @__PURE__ */ jsxRuntimeExports.jsx(SvgImage, { name: icon, size: "sm" })
37656
37657
  ] }),
37657
37658
  /* @__PURE__ */ jsxRuntimeExports.jsx(Collapsible.Content, { children })
37658
37659
  ] });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clickhouse/click-ui",
3
- "version": "v0.0.149",
3
+ "version": "0.0.150",
4
4
  "description": "Official ClickHouse design system react library",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",