stp-ui-kit 0.0.123 → 0.1.0
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/stp-ui-kit.es.js +38 -36
- package/dist/stp-ui-kit.es.js.map +1 -1
- package/package.json +1 -1
package/dist/stp-ui-kit.es.js
CHANGED
|
@@ -3113,42 +3113,44 @@ const sd = {
|
|
|
3113
3113
|
"plain-selected": "_plain-selected_bnzra_640",
|
|
3114
3114
|
critical: Ti,
|
|
3115
3115
|
warning: Hi
|
|
3116
|
-
}, We = ee(
|
|
3117
|
-
|
|
3118
|
-
|
|
3119
|
-
|
|
3120
|
-
|
|
3121
|
-
|
|
3122
|
-
|
|
3123
|
-
|
|
3124
|
-
className: c = "",
|
|
3125
|
-
loading: i,
|
|
3126
|
-
type: l = "button",
|
|
3127
|
-
tone: d,
|
|
3128
|
-
...f
|
|
3129
|
-
}, u) => {
|
|
3130
|
-
const _ = C(
|
|
3131
|
-
rt.btn,
|
|
3132
|
-
d ? rt[d] : rt[e],
|
|
3133
|
-
rt[t],
|
|
3134
|
-
{
|
|
3135
|
-
[rt[`${e}-selected`]]: n
|
|
3116
|
+
}, We = ee(
|
|
3117
|
+
({
|
|
3118
|
+
state: e = "default",
|
|
3119
|
+
size: t = "medium",
|
|
3120
|
+
selected: n = !1,
|
|
3121
|
+
disabled: r = !1,
|
|
3122
|
+
children: a,
|
|
3123
|
+
onClick: o = () => {
|
|
3136
3124
|
},
|
|
3137
|
-
c
|
|
3138
|
-
|
|
3139
|
-
|
|
3140
|
-
|
|
3141
|
-
|
|
3142
|
-
|
|
3143
|
-
|
|
3144
|
-
|
|
3145
|
-
|
|
3146
|
-
|
|
3147
|
-
|
|
3148
|
-
|
|
3149
|
-
|
|
3150
|
-
|
|
3151
|
-
|
|
3125
|
+
className: c = "",
|
|
3126
|
+
loading: i,
|
|
3127
|
+
type: l = "button",
|
|
3128
|
+
tone: d,
|
|
3129
|
+
...f
|
|
3130
|
+
}, u) => {
|
|
3131
|
+
const _ = C(
|
|
3132
|
+
rt.btn,
|
|
3133
|
+
d ? rt[d] : rt[e],
|
|
3134
|
+
rt[t],
|
|
3135
|
+
{
|
|
3136
|
+
[rt[`${e}-selected`]]: n
|
|
3137
|
+
},
|
|
3138
|
+
c
|
|
3139
|
+
);
|
|
3140
|
+
return /* @__PURE__ */ s(
|
|
3141
|
+
"button",
|
|
3142
|
+
{
|
|
3143
|
+
ref: u,
|
|
3144
|
+
className: _,
|
|
3145
|
+
onClick: o,
|
|
3146
|
+
disabled: r,
|
|
3147
|
+
...f,
|
|
3148
|
+
type: l,
|
|
3149
|
+
children: i ? /* @__PURE__ */ s(Qs, {}) : a
|
|
3150
|
+
}
|
|
3151
|
+
);
|
|
3152
|
+
}
|
|
3153
|
+
);
|
|
3152
3154
|
We.displayName = "Button";
|
|
3153
3155
|
const zi = "_trigger_1jf46_556", Mn = {
|
|
3154
3156
|
trigger: zi
|
|
@@ -4149,7 +4151,7 @@ const nl = (e) => {
|
|
|
4149
4151
|
const n = rn(), { setBottomBar: r } = Gl(), a = He(!1);
|
|
4150
4152
|
return be(() => {
|
|
4151
4153
|
n ? (a.current = !1, r(null)) : (a.current = !0, r(e, t));
|
|
4152
|
-
}, [n]), n ? /* @__PURE__ */ s("div", { className: t, children: e }) : null;
|
|
4154
|
+
}, [n, e, t]), n ? /* @__PURE__ */ s("div", { className: t, children: e }) : null;
|
|
4153
4155
|
}, Kl = "_page_16cuc_556", Ql = "_pageHeader_16cuc_562", Sn = {
|
|
4154
4156
|
page: Kl,
|
|
4155
4157
|
pageHeader: Ql
|