@clickhouse/click-ui 0.0.127 → 0.0.128
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.
- package/dist/click-ui.es.js +6 -3
- package/dist/click-ui.umd.js +6 -3
- package/package.json +1 -1
package/dist/click-ui.es.js
CHANGED
|
@@ -8227,7 +8227,10 @@ const _EllipsisContent = ({
|
|
|
8227
8227
|
const EllipsisContent = forwardRef(_EllipsisContent);
|
|
8228
8228
|
const LabelContainer$1 = styled.div.withConfig({
|
|
8229
8229
|
componentId: "sc-1likhxd-0"
|
|
8230
|
-
})(["display:
|
|
8230
|
+
})(["display:grid;grid-template-columns:", ";align-items:center;justify-content:flex-start;width:100%;width:-webkit-fill-available;width:fill-available;width:stretch;gap:", ";"], ({
|
|
8231
|
+
$hasIcon,
|
|
8232
|
+
$iconDir
|
|
8233
|
+
}) => `${$hasIcon && $iconDir === "start" ? "auto " : ""}1fr${$hasIcon && $iconDir === "end" ? " auto" : ""}`, ({
|
|
8231
8234
|
theme: theme2
|
|
8232
8235
|
}) => theme2.click.sidebar.navigation.item.default.space.gap);
|
|
8233
8236
|
const IconWrapper$3 = ({
|
|
@@ -8239,7 +8242,7 @@ const IconWrapper$3 = ({
|
|
|
8239
8242
|
children,
|
|
8240
8243
|
...props
|
|
8241
8244
|
}) => {
|
|
8242
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsxs(LabelContainer$1, { ...props, children: [
|
|
8245
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsxs(LabelContainer$1, { $hasIcon: typeof icon === "string", $iconDir: iconDir, ...props, children: [
|
|
8243
8246
|
icon && iconDir === "start" && /* @__PURE__ */ jsxRuntimeExports.jsx(SvgImage, { name: icon, size: size2, width, height }),
|
|
8244
8247
|
/* @__PURE__ */ jsxRuntimeExports.jsx(EllipsisContent, { children }),
|
|
8245
8248
|
icon && iconDir === "end" && /* @__PURE__ */ jsxRuntimeExports.jsx(SvgImage, { name: icon, size: size2, width, height })
|
|
@@ -31378,7 +31381,7 @@ const Grid = forwardRef(({
|
|
|
31378
31381
|
if (showToast) {
|
|
31379
31382
|
createToast({
|
|
31380
31383
|
title: "Copied successfully",
|
|
31381
|
-
description: "Now you can
|
|
31384
|
+
description: "Now you can paste the content",
|
|
31382
31385
|
type: "success"
|
|
31383
31386
|
});
|
|
31384
31387
|
}
|
package/dist/click-ui.umd.js
CHANGED
|
@@ -8244,7 +8244,10 @@ var __publicField = (obj, key, value) => {
|
|
|
8244
8244
|
const EllipsisContent = React.forwardRef(_EllipsisContent);
|
|
8245
8245
|
const LabelContainer$1 = styled.div.withConfig({
|
|
8246
8246
|
componentId: "sc-1likhxd-0"
|
|
8247
|
-
})(["display:
|
|
8247
|
+
})(["display:grid;grid-template-columns:", ";align-items:center;justify-content:flex-start;width:100%;width:-webkit-fill-available;width:fill-available;width:stretch;gap:", ";"], ({
|
|
8248
|
+
$hasIcon,
|
|
8249
|
+
$iconDir
|
|
8250
|
+
}) => `${$hasIcon && $iconDir === "start" ? "auto " : ""}1fr${$hasIcon && $iconDir === "end" ? " auto" : ""}`, ({
|
|
8248
8251
|
theme: theme2
|
|
8249
8252
|
}) => theme2.click.sidebar.navigation.item.default.space.gap);
|
|
8250
8253
|
const IconWrapper$3 = ({
|
|
@@ -8256,7 +8259,7 @@ var __publicField = (obj, key, value) => {
|
|
|
8256
8259
|
children,
|
|
8257
8260
|
...props
|
|
8258
8261
|
}) => {
|
|
8259
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsxs(LabelContainer$1, { ...props, children: [
|
|
8262
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsxs(LabelContainer$1, { $hasIcon: typeof icon === "string", $iconDir: iconDir, ...props, children: [
|
|
8260
8263
|
icon && iconDir === "start" && /* @__PURE__ */ jsxRuntimeExports.jsx(SvgImage, { name: icon, size: size2, width, height }),
|
|
8261
8264
|
/* @__PURE__ */ jsxRuntimeExports.jsx(EllipsisContent, { children }),
|
|
8262
8265
|
icon && iconDir === "end" && /* @__PURE__ */ jsxRuntimeExports.jsx(SvgImage, { name: icon, size: size2, width, height })
|
|
@@ -31395,7 +31398,7 @@ var __publicField = (obj, key, value) => {
|
|
|
31395
31398
|
if (showToast) {
|
|
31396
31399
|
createToast({
|
|
31397
31400
|
title: "Copied successfully",
|
|
31398
|
-
description: "Now you can
|
|
31401
|
+
description: "Now you can paste the content",
|
|
31399
31402
|
type: "success"
|
|
31400
31403
|
});
|
|
31401
31404
|
}
|