@n8n/design-system 2.18.1 → 2.18.2
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.
|
@@ -54065,7 +54065,8 @@ var Nk = { render: Mk }, Pk = /* @__PURE__ */ X(/* @__PURE__ */ y({
|
|
|
54065
54065
|
type: Boolean,
|
|
54066
54066
|
default: !1
|
|
54067
54067
|
},
|
|
54068
|
-
size: { default: "medium" }
|
|
54068
|
+
size: { default: "medium" },
|
|
54069
|
+
type: { default: "default" }
|
|
54069
54070
|
},
|
|
54070
54071
|
emits: ["click"],
|
|
54071
54072
|
setup(e) {
|
|
@@ -54074,6 +54075,7 @@ var Nk = { render: Mk }, Pk = /* @__PURE__ */ X(/* @__PURE__ */ y({
|
|
|
54074
54075
|
class: N([
|
|
54075
54076
|
n.$style.root,
|
|
54076
54077
|
e.size === "small" && n.$style.small,
|
|
54078
|
+
e.type === "danger" && n.$style.danger,
|
|
54077
54079
|
e.clickable && n.$style.clickable,
|
|
54078
54080
|
e.hoverText && t.value && n.$style.pressed
|
|
54079
54081
|
]),
|
|
@@ -54086,13 +54088,14 @@ var Nk = { render: Mk }, Pk = /* @__PURE__ */ X(/* @__PURE__ */ y({
|
|
|
54086
54088
|
}, [p("span", { class: N([n.$style.label, t.value && n.$style.labelHidden]) }, [U(n.$slots, "default", {}, () => [g(W(e.text), 1)])], 2), p("span", { class: N([n.$style.label, !t.value && n.$style.labelHidden]) }, W(e.hoverText), 3)], 2)) : U(n.$slots, "default", { key: 1 }, () => [g(W(e.text), 1)])], 34));
|
|
54087
54089
|
}
|
|
54088
54090
|
}), [["__cssModules", { $style: {
|
|
54089
|
-
root: "
|
|
54090
|
-
small: "
|
|
54091
|
-
|
|
54092
|
-
|
|
54093
|
-
|
|
54094
|
-
|
|
54095
|
-
|
|
54091
|
+
root: "_root_1yycl_1",
|
|
54092
|
+
small: "_small_1yycl_17",
|
|
54093
|
+
danger: "_danger_1yycl_22",
|
|
54094
|
+
clickable: "_clickable_1yycl_26",
|
|
54095
|
+
pressed: "_pressed_1yycl_41",
|
|
54096
|
+
labelGrid: "_labelGrid_1yycl_46",
|
|
54097
|
+
label: "_label_1yycl_46",
|
|
54098
|
+
labelHidden: "_labelHidden_1yycl_56"
|
|
54096
54099
|
} }]]), $je = { key: 1 }, v7 = /* @__PURE__ */ X(/* @__PURE__ */ y({
|
|
54097
54100
|
name: "N8nTag",
|
|
54098
54101
|
__name: "Tag",
|