redmine-ui-kit 1.2.11 → 1.2.13
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/redmine-ui-kit.js +7 -4
- package/dist/redmine-ui-kit.umd.cjs +2 -2
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/redmine-ui-kit.js
CHANGED
|
@@ -17,7 +17,7 @@ const tu = /* @__PURE__ */ Y("span", null, null, -1), nu = [
|
|
|
17
17
|
}, nu, 4));
|
|
18
18
|
}
|
|
19
19
|
});
|
|
20
|
-
const ru = ["disabled"], au = { class: "rm-button__label" }, ou = { class: "rm-button__icon" }, vt = /* @__PURE__ */ $e({
|
|
20
|
+
const ru = ["disabled", "type"], au = { class: "rm-button__label" }, ou = { class: "rm-button__icon" }, vt = /* @__PURE__ */ $e({
|
|
21
21
|
__name: "RMButton",
|
|
22
22
|
props: {
|
|
23
23
|
label: { default: "" },
|
|
@@ -26,7 +26,8 @@ const ru = ["disabled"], au = { class: "rm-button__label" }, ou = { class: "rm-b
|
|
|
26
26
|
iconPosition: { default: "right" },
|
|
27
27
|
disabled: { type: Boolean, default: !1 },
|
|
28
28
|
size: { default: "sm" },
|
|
29
|
-
fullWidth: { type: Boolean, default: !1 }
|
|
29
|
+
fullWidth: { type: Boolean, default: !1 },
|
|
30
|
+
type: { default: "button" }
|
|
30
31
|
},
|
|
31
32
|
emits: ["click"],
|
|
32
33
|
setup(e) {
|
|
@@ -43,6 +44,7 @@ const ru = ["disabled"], au = { class: "rm-button__label" }, ou = { class: "rm-b
|
|
|
43
44
|
}
|
|
44
45
|
]),
|
|
45
46
|
disabled: e.disabled,
|
|
47
|
+
type: e.type,
|
|
46
48
|
onClick: a[0] || (a[0] = (o) => r.$emit("click", o))
|
|
47
49
|
}, [
|
|
48
50
|
Y("div", au, [
|
|
@@ -10284,11 +10286,12 @@ const w0 = {
|
|
|
10284
10286
|
__name: "RMTooltip",
|
|
10285
10287
|
props: {
|
|
10286
10288
|
label: { default: "" },
|
|
10287
|
-
position: { default: "bottom" }
|
|
10289
|
+
position: { default: "bottom" },
|
|
10290
|
+
dark: { type: Boolean, default: !1 }
|
|
10288
10291
|
},
|
|
10289
10292
|
setup(e) {
|
|
10290
10293
|
return (t, n) => (m(), O("div", {
|
|
10291
|
-
class: pe(["rm-tooltip", `position-${e.position}
|
|
10294
|
+
class: pe(["rm-tooltip", `position-${e.position}`, { dark: e.dark }])
|
|
10292
10295
|
}, [
|
|
10293
10296
|
z(t.$slots, "default"),
|
|
10294
10297
|
e.label ? (m(), O("div", w0, [
|