@1337exp/taoui 3.2.0 → 3.2.1
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/index.cjs +28 -23
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +28 -23
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1071,7 +1071,7 @@ const _hoisted_8$c = {
|
|
|
1071
1071
|
key: 1,
|
|
1072
1072
|
class: "tao-card__sub"
|
|
1073
1073
|
};
|
|
1074
|
-
const _hoisted_9$
|
|
1074
|
+
const _hoisted_9$6 = {
|
|
1075
1075
|
key: 3,
|
|
1076
1076
|
class: "tao-card__body"
|
|
1077
1077
|
};
|
|
@@ -1156,7 +1156,7 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
|
1156
1156
|
renderSlot(_ctx.$slots, "sub", {}, void 0, true)
|
|
1157
1157
|
])) : createCommentVNode("", true)
|
|
1158
1158
|
])) : createCommentVNode("", true),
|
|
1159
|
-
_ctx.$slots.default ? (openBlock(), createElementBlock("div", _hoisted_9$
|
|
1159
|
+
_ctx.$slots.default ? (openBlock(), createElementBlock("div", _hoisted_9$6, [
|
|
1160
1160
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
1161
1161
|
])) : createCommentVNode("", true),
|
|
1162
1162
|
_ctx.$slots.footer ? (openBlock(), createElementBlock("div", _hoisted_10$4, [
|
|
@@ -4097,7 +4097,7 @@ const _hoisted_5$g = {
|
|
|
4097
4097
|
const _hoisted_6$d = { class: "tao-file-drop__name" };
|
|
4098
4098
|
const _hoisted_7$b = { class: "tao-file-drop__meta" };
|
|
4099
4099
|
const _hoisted_8$a = ["aria-label", "onClick"];
|
|
4100
|
-
const _hoisted_9$
|
|
4100
|
+
const _hoisted_9$5 = { "aria-hidden": "true" };
|
|
4101
4101
|
const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
4102
4102
|
...{ name: "TaoFileDrop" },
|
|
4103
4103
|
__name: "TaoFileDrop",
|
|
@@ -4288,7 +4288,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
4288
4288
|
"aria-label": unref(l10n).removeLabel.replace("{name}", file.name),
|
|
4289
4289
|
onClick: ($event) => removeAt(index)
|
|
4290
4290
|
}, [
|
|
4291
|
-
createElementVNode("span", _hoisted_9$
|
|
4291
|
+
createElementVNode("span", _hoisted_9$5, [
|
|
4292
4292
|
renderSlot(_ctx.$slots, "remove-icon", {}, () => [
|
|
4293
4293
|
_cache[2] || (_cache[2] = createTextVNode("✕", -1))
|
|
4294
4294
|
], true)
|
|
@@ -5538,12 +5538,16 @@ const _hoisted_2$l = { class: "tao-color-picker__strips" };
|
|
|
5538
5538
|
const _hoisted_3$i = { class: "tao-color-picker__row" };
|
|
5539
5539
|
const _hoisted_4$g = { class: "tao-color-picker__preview" };
|
|
5540
5540
|
const _hoisted_5$e = {
|
|
5541
|
+
key: 0,
|
|
5542
|
+
class: "tao-color-picker__hex"
|
|
5543
|
+
};
|
|
5544
|
+
const _hoisted_6$b = {
|
|
5541
5545
|
key: 1,
|
|
5542
5546
|
class: "tao-color-picker__channels"
|
|
5543
5547
|
};
|
|
5544
|
-
const
|
|
5545
|
-
const
|
|
5546
|
-
const
|
|
5548
|
+
const _hoisted_7$9 = ["disabled", "aria-label", "title"];
|
|
5549
|
+
const _hoisted_8$9 = ["aria-label"];
|
|
5550
|
+
const _hoisted_9$4 = ["disabled", "aria-label", "title", "onClick"];
|
|
5547
5551
|
const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
5548
5552
|
...{ name: "TaoColorPicker" },
|
|
5549
5553
|
__name: "TaoColorPicker",
|
|
@@ -5807,18 +5811,19 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
5807
5811
|
style: normalizeStyle({ backgroundColor: hex.value })
|
|
5808
5812
|
}, null, 4)
|
|
5809
5813
|
]),
|
|
5810
|
-
activeMode.value === "hex" ? (openBlock(),
|
|
5811
|
-
|
|
5812
|
-
|
|
5813
|
-
|
|
5814
|
-
|
|
5815
|
-
|
|
5816
|
-
|
|
5817
|
-
|
|
5818
|
-
|
|
5819
|
-
|
|
5820
|
-
|
|
5821
|
-
|
|
5814
|
+
activeMode.value === "hex" ? (openBlock(), createElementBlock("label", _hoisted_5$e, [
|
|
5815
|
+
_cache[6] || (_cache[6] = createElementVNode("span", null, "HEX", -1)),
|
|
5816
|
+
createVNode(TaoInput, {
|
|
5817
|
+
modelValue: hexText.value,
|
|
5818
|
+
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => hexText.value = $event),
|
|
5819
|
+
size: "small",
|
|
5820
|
+
error: hexInvalid.value,
|
|
5821
|
+
disabled: __props.disabled,
|
|
5822
|
+
"aria-label": unref(l10n).hexLabel,
|
|
5823
|
+
onBlur: commitHex,
|
|
5824
|
+
onKeydown: withKeys(commitHex, ["enter"])
|
|
5825
|
+
}, null, 8, ["modelValue", "error", "disabled", "aria-label"])
|
|
5826
|
+
])) : (openBlock(), createElementBlock("div", _hoisted_6$b, [
|
|
5822
5827
|
(openBlock(true), createElementBlock(Fragment, null, renderList(channels.value, (c) => {
|
|
5823
5828
|
return openBlock(), createElementBlock("label", {
|
|
5824
5829
|
key: c.key,
|
|
@@ -5846,7 +5851,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
5846
5851
|
"aria-label": unref(l10n).eyedropperLabel,
|
|
5847
5852
|
title: unref(l10n).eyedropperLabel,
|
|
5848
5853
|
onClick: eyedrop
|
|
5849
|
-
}, " ✎ ", 8,
|
|
5854
|
+
}, " ✎ ", 8, _hoisted_7$9)) : createCommentVNode("", true)
|
|
5850
5855
|
]),
|
|
5851
5856
|
((_a = __props.swatches) == null ? void 0 : _a.length) ? (openBlock(), createElementBlock("div", {
|
|
5852
5857
|
key: 1,
|
|
@@ -5864,14 +5869,14 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
5864
5869
|
"aria-label": s,
|
|
5865
5870
|
title: s,
|
|
5866
5871
|
onClick: ($event) => pick(s)
|
|
5867
|
-
}, null, 14,
|
|
5872
|
+
}, null, 14, _hoisted_9$4);
|
|
5868
5873
|
}), 128))
|
|
5869
|
-
], 8,
|
|
5874
|
+
], 8, _hoisted_8$9)) : createCommentVNode("", true)
|
|
5870
5875
|
], 2);
|
|
5871
5876
|
};
|
|
5872
5877
|
}
|
|
5873
5878
|
});
|
|
5874
|
-
const TaoColorPicker = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-
|
|
5879
|
+
const TaoColorPicker = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-bebf52dc"]]);
|
|
5875
5880
|
const _hoisted_1$m = ["disabled", "aria-label", "aria-expanded"];
|
|
5876
5881
|
const _hoisted_2$k = { class: "tao-color-input__swatch" };
|
|
5877
5882
|
const _hoisted_3$h = { class: "tao-color-input__text" };
|