@dinofront/design_system 1.20.10 → 1.20.11
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 +5 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -5115,18 +5115,18 @@ var xo = a(function({ value: e, defaultValue: t = null, onChange: n, step: r = 1
|
|
|
5115
5115
|
v.current && clearTimeout(v.current), h(!1);
|
|
5116
5116
|
};
|
|
5117
5117
|
if (!o(t)) return t;
|
|
5118
|
-
let O = t.props ?? {},
|
|
5118
|
+
let O = !!y.current?.closest(".dark"), k = t.props ?? {}, A = n(t, {
|
|
5119
5119
|
onMouseEnter: E,
|
|
5120
5120
|
onMouseLeave: D,
|
|
5121
5121
|
onFocus: E,
|
|
5122
5122
|
onBlur: D,
|
|
5123
|
-
"aria-describedby": f ? b :
|
|
5124
|
-
}),
|
|
5123
|
+
"aria-describedby": f ? b : k["aria-describedby"]
|
|
5124
|
+
}), j = /* @__PURE__ */ K("span", {
|
|
5125
5125
|
ref: S ? _ : void 0,
|
|
5126
5126
|
role: "tooltip",
|
|
5127
5127
|
id: b,
|
|
5128
5128
|
style: S ? C : void 0,
|
|
5129
|
-
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),
|
|
5129
|
+
className: X("z-50 whitespace-pre-wrap w-max rounded-md bg-fg-default text-bg-default shadow-z3 pointer-events-none select-none", S && O && "dark", So[i], !S && ["absolute", Co[r]], c),
|
|
5130
5130
|
children: [e, S ? /* @__PURE__ */ G("span", {
|
|
5131
5131
|
"aria-hidden": !0,
|
|
5132
5132
|
style: w,
|
|
@@ -5140,7 +5140,7 @@ var xo = a(function({ value: e, defaultValue: t = null, onChange: n, step: r = 1
|
|
|
5140
5140
|
ref: Xt(d, y),
|
|
5141
5141
|
"data-test-id": l,
|
|
5142
5142
|
className: X("inline-flex", !S && "relative"),
|
|
5143
|
-
children: [
|
|
5143
|
+
children: [A, f && (S ? be(j, S) : j)]
|
|
5144
5144
|
});
|
|
5145
5145
|
}), Do = "We'll be back soon", Oo = "We're currently performing scheduled maintenance to make your experience even better. Please check back shortly.", ko = {
|
|
5146
5146
|
lg: "xl",
|