@1337exp/taoui 3.2.1 → 3.3.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/CHANGELOG.md +184 -0
- package/LICENSE +21 -0
- package/README.md +676 -625
- package/README.ru.md +681 -631
- package/dist/index.cjs +13 -12
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.mjs +13 -12
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +43 -19
- package/src/styles/primitives.css +139 -130
- package/src/styles/semantic.css +93 -82
- package/src/styles/themes/light.css +74 -61
package/dist/index.d.ts
CHANGED
|
@@ -32,7 +32,7 @@ onClick?: ((...args: any[]) => any) | undefined;
|
|
|
32
32
|
}>, {
|
|
33
33
|
type: "button" | "submit" | "reset";
|
|
34
34
|
icon: string;
|
|
35
|
-
tone: "danger" | "success" | "warning" | "info" | "";
|
|
35
|
+
tone: "danger" | "success" | "warning" | "info" | "neutral" | "";
|
|
36
36
|
disabled: boolean;
|
|
37
37
|
variant: "primary" | "secondary" | "ghost" | "text" | "danger";
|
|
38
38
|
loading: boolean;
|
|
@@ -4035,7 +4035,7 @@ declare interface Props {
|
|
|
4035
4035
|
size?: TaoSize;
|
|
4036
4036
|
variant?: 'primary' | 'secondary' | 'ghost' | 'text' | 'danger';
|
|
4037
4037
|
/** Красит кнопку: danger / success / warning / info. Не вместо variant. */
|
|
4038
|
-
tone?: 'danger' | 'success' | 'warning' | 'info' | '';
|
|
4038
|
+
tone?: 'danger' | 'success' | 'warning' | 'info' | 'neutral' | '';
|
|
4039
4039
|
disabled?: boolean;
|
|
4040
4040
|
loading?: boolean;
|
|
4041
4041
|
block?: boolean;
|
package/dist/index.mjs
CHANGED
|
@@ -78,7 +78,7 @@ const _export_sfc = (sfc, props) => {
|
|
|
78
78
|
}
|
|
79
79
|
return target;
|
|
80
80
|
};
|
|
81
|
-
const TaoButton = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["__scopeId", "data-v-
|
|
81
|
+
const TaoButton = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["__scopeId", "data-v-2e564683"]]);
|
|
82
82
|
function toCssLength(value) {
|
|
83
83
|
if (value === void 0 || value === null || value === "") {
|
|
84
84
|
return void 0;
|
|
@@ -252,7 +252,7 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
|
252
252
|
};
|
|
253
253
|
}
|
|
254
254
|
});
|
|
255
|
-
const TaoInput = /* @__PURE__ */ _export_sfc(_sfc_main$10, [["__scopeId", "data-v-
|
|
255
|
+
const TaoInput = /* @__PURE__ */ _export_sfc(_sfc_main$10, [["__scopeId", "data-v-0ea00845"]]);
|
|
256
256
|
const _hoisted_1$Q = {
|
|
257
257
|
key: 0,
|
|
258
258
|
class: "tao-input-group__addon tao-input-group__addon--before"
|
|
@@ -849,7 +849,7 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
|
|
|
849
849
|
};
|
|
850
850
|
}
|
|
851
851
|
});
|
|
852
|
-
const TaoInputNumber = /* @__PURE__ */ _export_sfc(_sfc_main$_, [["__scopeId", "data-v-
|
|
852
|
+
const TaoInputNumber = /* @__PURE__ */ _export_sfc(_sfc_main$_, [["__scopeId", "data-v-3f4e6197"]]);
|
|
853
853
|
const _hoisted_1$O = ["aria-label", "disabled"];
|
|
854
854
|
const _hoisted_2$H = { "aria-hidden": "true" };
|
|
855
855
|
const _hoisted_3$z = ["id", "value", "disabled", "aria-invalid", "aria-describedby", "aria-valuenow", "aria-valuemin", "aria-valuemax"];
|
|
@@ -3516,7 +3516,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
3516
3516
|
};
|
|
3517
3517
|
}
|
|
3518
3518
|
});
|
|
3519
|
-
const TaoTag = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-
|
|
3519
|
+
const TaoTag = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-95e0dac5"]]);
|
|
3520
3520
|
const _hoisted_1$z = ["role", "aria-hidden"];
|
|
3521
3521
|
const _hoisted_2$w = {
|
|
3522
3522
|
key: 1,
|
|
@@ -3814,7 +3814,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
3814
3814
|
};
|
|
3815
3815
|
}
|
|
3816
3816
|
});
|
|
3817
|
-
const TaoTextarea = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-
|
|
3817
|
+
const TaoTextarea = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-fb037862"]]);
|
|
3818
3818
|
const _hoisted_1$w = ["tabindex", "aria-label"];
|
|
3819
3819
|
const _hoisted_2$t = { class: "tao-scroll-top__content" };
|
|
3820
3820
|
const RIPPLE_DURATION = 750;
|
|
@@ -4301,7 +4301,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
4301
4301
|
};
|
|
4302
4302
|
}
|
|
4303
4303
|
});
|
|
4304
|
-
const TaoFileDrop = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-
|
|
4304
|
+
const TaoFileDrop = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-5e6f74d1"]]);
|
|
4305
4305
|
const _hoisted_1$t = ["aria-expanded", "aria-label"];
|
|
4306
4306
|
const _hoisted_2$q = {
|
|
4307
4307
|
key: 1,
|
|
@@ -4898,7 +4898,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
4898
4898
|
};
|
|
4899
4899
|
}
|
|
4900
4900
|
});
|
|
4901
|
-
const TaoFormField = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-
|
|
4901
|
+
const TaoFormField = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-f0778b06"]]);
|
|
4902
4902
|
const _hoisted_1$q = ["id", "aria-expanded", "aria-invalid", "aria-describedby", "disabled"];
|
|
4903
4903
|
const _hoisted_2$o = { class: "tao-select__value" };
|
|
4904
4904
|
const _hoisted_3$k = ["aria-activedescendant"];
|
|
@@ -8610,7 +8610,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
8610
8610
|
};
|
|
8611
8611
|
}
|
|
8612
8612
|
});
|
|
8613
|
-
const TaoAvatar = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-
|
|
8613
|
+
const TaoAvatar = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-0d301b76"]]);
|
|
8614
8614
|
const _hoisted_1$6 = ["aria-label"];
|
|
8615
8615
|
const _hoisted_2$5 = { class: "tao-breadcrumb__list" };
|
|
8616
8616
|
const _hoisted_3$4 = {
|
|
@@ -9451,7 +9451,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
9451
9451
|
};
|
|
9452
9452
|
}
|
|
9453
9453
|
});
|
|
9454
|
-
const TaoStages = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-
|
|
9454
|
+
const TaoStages = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-f0601921"]]);
|
|
9455
9455
|
const _hoisted_1$2 = ["role"];
|
|
9456
9456
|
const _hoisted_2$1 = {
|
|
9457
9457
|
class: "tao-toast__icon",
|
|
@@ -9679,7 +9679,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
9679
9679
|
};
|
|
9680
9680
|
}
|
|
9681
9681
|
});
|
|
9682
|
-
const TaoToastItem = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-
|
|
9682
|
+
const TaoToastItem = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-715f7748"]]);
|
|
9683
9683
|
const _hoisted_1$1 = { class: "tao-toast-slot__inner" };
|
|
9684
9684
|
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
9685
9685
|
...{ name: "TaoToastViewport" },
|
|
@@ -9911,7 +9911,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
9911
9911
|
createElementVNode("div", _hoisted_8, [
|
|
9912
9912
|
createVNode(TaoButton, {
|
|
9913
9913
|
"data-tao-confirm-cancel": "",
|
|
9914
|
-
variant: "
|
|
9914
|
+
variant: "ghost",
|
|
9915
|
+
tone: "neutral",
|
|
9915
9916
|
onClick: _cache[0] || (_cache[0] = ($event) => answer(false))
|
|
9916
9917
|
}, {
|
|
9917
9918
|
default: withCtx(() => [
|
|
@@ -9939,7 +9940,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
9939
9940
|
};
|
|
9940
9941
|
}
|
|
9941
9942
|
});
|
|
9942
|
-
const TaoConfirmHost = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
9943
|
+
const TaoConfirmHost = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-359ae029"]]);
|
|
9943
9944
|
const TYPE_TIMEOUT = {
|
|
9944
9945
|
success: 3e3,
|
|
9945
9946
|
error: 5e3,
|