@dinofront/design_system 1.20.8 → 1.20.9
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.js +19 -19
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -5096,34 +5096,34 @@ var xo = a(function({ value: e, defaultValue: t = null, onChange: n, step: r = 1
|
|
|
5096
5096
|
left: "border-l-fg-default border-y-transparent border-r-transparent",
|
|
5097
5097
|
right: "border-r-fg-default border-y-transparent border-l-transparent"
|
|
5098
5098
|
}, Eo = a(function({ content: e, children: t, side: r = "top", size: i = "sm", delay: a = 150, portalTarget: s, className: c, dataTestId: l }, d) {
|
|
5099
|
-
let [f, h] = m(!1), [g, _] = m(null), v = p(null), y = p(null), b = u(), { style:
|
|
5099
|
+
let [f, h] = m(!1), [g, _] = m(null), v = p(null), y = p(null), b = u(), x = Qt(), S = s === void 0 ? x : s, { style: C, arrowStyle: w, resolvedSide: T } = tn({
|
|
5100
5100
|
anchor: y,
|
|
5101
5101
|
panel: g,
|
|
5102
|
-
open: f && !!
|
|
5102
|
+
open: f && !!S,
|
|
5103
5103
|
side: r,
|
|
5104
5104
|
offset: 8
|
|
5105
|
-
}),
|
|
5105
|
+
}), E = () => {
|
|
5106
5106
|
v.current && clearTimeout(v.current), v.current = setTimeout(() => h(!0), a);
|
|
5107
|
-
},
|
|
5107
|
+
}, D = () => {
|
|
5108
5108
|
v.current && clearTimeout(v.current), h(!1);
|
|
5109
5109
|
};
|
|
5110
5110
|
if (!o(t)) return t;
|
|
5111
|
-
let
|
|
5112
|
-
onMouseEnter:
|
|
5113
|
-
onMouseLeave:
|
|
5114
|
-
onFocus:
|
|
5115
|
-
onBlur:
|
|
5116
|
-
"aria-describedby": f ? b :
|
|
5117
|
-
}),
|
|
5118
|
-
ref:
|
|
5111
|
+
let O = t.props ?? {}, k = n(t, {
|
|
5112
|
+
onMouseEnter: E,
|
|
5113
|
+
onMouseLeave: D,
|
|
5114
|
+
onFocus: E,
|
|
5115
|
+
onBlur: D,
|
|
5116
|
+
"aria-describedby": f ? b : O["aria-describedby"]
|
|
5117
|
+
}), A = /* @__PURE__ */ K("span", {
|
|
5118
|
+
ref: S ? _ : void 0,
|
|
5119
5119
|
role: "tooltip",
|
|
5120
5120
|
id: b,
|
|
5121
|
-
style:
|
|
5122
|
-
className: X("z-50 whitespace-pre-wrap w-max rounded-md bg-fg-default text-bg-default shadow-z3 pointer-events-none select-none", So[i], !
|
|
5123
|
-
children: [e,
|
|
5121
|
+
style: S ? C : void 0,
|
|
5122
|
+
className: X("z-50 whitespace-pre-wrap w-max rounded-md bg-fg-default text-bg-default shadow-z3 pointer-events-none select-none", So[i], !S && ["absolute", Co[r]], c),
|
|
5123
|
+
children: [e, S ? /* @__PURE__ */ G("span", {
|
|
5124
5124
|
"aria-hidden": !0,
|
|
5125
|
-
style:
|
|
5126
|
-
className: X("absolute h-0 w-0 border-4", To[
|
|
5125
|
+
style: w,
|
|
5126
|
+
className: X("absolute h-0 w-0 border-4", To[T])
|
|
5127
5127
|
}) : /* @__PURE__ */ G("span", {
|
|
5128
5128
|
"aria-hidden": !0,
|
|
5129
5129
|
className: X("absolute h-0 w-0 border-4", wo[r])
|
|
@@ -5132,8 +5132,8 @@ var xo = a(function({ value: e, defaultValue: t = null, onChange: n, step: r = 1
|
|
|
5132
5132
|
return /* @__PURE__ */ K("span", {
|
|
5133
5133
|
ref: Xt(d, y),
|
|
5134
5134
|
"data-test-id": l,
|
|
5135
|
-
className: X("inline-flex", !
|
|
5136
|
-
children: [
|
|
5135
|
+
className: X("inline-flex", !S && "relative"),
|
|
5136
|
+
children: [k, f && (S ? be(A, S) : A)]
|
|
5137
5137
|
});
|
|
5138
5138
|
}), Do = "We'll be back soon", Oo = "We're currently performing scheduled maintenance to make your experience even better. Please check back shortly.", ko = {
|
|
5139
5139
|
lg: "xl",
|