@efficiency-point/design-system 0.9.1 → 0.9.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.
- package/dist/index.cjs +2 -2
- package/dist/index.es.js +20 -20
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -113,17 +113,17 @@ var C = "efficiency-point.design-system.theme", w = {
|
|
|
113
113
|
]
|
|
114
114
|
})
|
|
115
115
|
}), te = {
|
|
116
|
-
button: "
|
|
117
|
-
sm: "
|
|
118
|
-
md: "
|
|
119
|
-
lg: "
|
|
120
|
-
primary: "
|
|
121
|
-
secondary: "
|
|
122
|
-
outline: "
|
|
123
|
-
ghost: "
|
|
124
|
-
empty: "
|
|
125
|
-
destructive: "
|
|
126
|
-
destructiveOutline: "
|
|
116
|
+
button: "_button_1wni1_1",
|
|
117
|
+
sm: "_sm_1wni1_59",
|
|
118
|
+
md: "_md_1wni1_73",
|
|
119
|
+
lg: "_lg_1wni1_87",
|
|
120
|
+
primary: "_primary_1wni1_101",
|
|
121
|
+
secondary: "_secondary_1wni1_115",
|
|
122
|
+
outline: "_outline_1wni1_129",
|
|
123
|
+
ghost: "_ghost_1wni1_143",
|
|
124
|
+
empty: "_empty_1wni1_157",
|
|
125
|
+
destructive: "_destructive_1wni1_171",
|
|
126
|
+
destructiveOutline: "_destructiveOutline_1wni1_183"
|
|
127
127
|
}, B = s(({ children: e, variant: n = "primary", size: r = "md", isLoading: i = !1, disabled: a, type: o = "button", className: s = "", ...c }, l) => /* @__PURE__ */ t("button", {
|
|
128
128
|
ref: l,
|
|
129
129
|
className: `${te.button} ${te[n]} ${te[r]} ${s}`,
|
|
@@ -1894,15 +1894,15 @@ var V = {
|
|
|
1894
1894
|
}
|
|
1895
1895
|
});
|
|
1896
1896
|
}, Tt = {
|
|
1897
|
-
wrapper: "
|
|
1898
|
-
control: "
|
|
1899
|
-
input: "
|
|
1900
|
-
disabledText: "
|
|
1901
|
-
sm: "
|
|
1902
|
-
md: "
|
|
1903
|
-
lg: "
|
|
1904
|
-
inputError: "
|
|
1905
|
-
trailingAction: "
|
|
1897
|
+
wrapper: "_wrapper_1qpd5_1",
|
|
1898
|
+
control: "_control_1qpd5_15",
|
|
1899
|
+
input: "_input_1qpd5_25",
|
|
1900
|
+
disabledText: "_disabledText_1qpd5_25",
|
|
1901
|
+
sm: "_sm_1qpd5_107",
|
|
1902
|
+
md: "_md_1qpd5_123",
|
|
1903
|
+
lg: "_lg_1qpd5_139",
|
|
1904
|
+
inputError: "_inputError_1qpd5_155",
|
|
1905
|
+
trailingAction: "_trailingAction_1qpd5_163"
|
|
1906
1906
|
}, Et = ({ value: e, onChange: r, type: i = "text", placeholder: a = "", disabled: o = !1, readOnly: s = !1, stringWhileDisabled: c = !1, label: l, error: u, hint: p, className: m = "", name: _, id: v, size: y = "md", clearable: b = !0, required: x = !1, selectTextOnFocus: S = !1, isPassword: C = !1, passwordVisibleLabel: w = "Скрыть пароль", passwordHiddenLabel: T = "Показать пароль", onFocus: E, ...D }) => {
|
|
1907
1907
|
let O = f(), k = v ?? `ds-input-${_ ?? O}`, A = h(null), [j, M] = g(!1), N = p ? `${k}-hint` : void 0, P = u ? `${k}-error` : void 0, F = String(e ?? ""), I = [N, P].filter(Boolean).join(" ") || void 0, L = C ? j ? "text" : "password" : i;
|
|
1908
1908
|
return d(() => {
|