@kupola/kupola 1.4.4 → 1.4.6
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/css/components-ext.css +8 -8
- package/css/table.css +34 -34
- package/css/theme-dark.css +12 -12
- package/css/theme-light.css +16 -16
- package/dist/css/components-ext.css +8 -8
- package/dist/css/table.css +34 -34
- package/dist/css/theme-dark.css +12 -12
- package/dist/css/theme-light.css +16 -16
- package/dist/kupola.cjs.js +1 -1
- package/dist/kupola.cjs.js.map +1 -1
- package/dist/kupola.esm.js +8 -5
- package/dist/kupola.esm.js.map +1 -1
- package/dist/kupola.umd.js +1 -1
- package/dist/kupola.umd.js.map +1 -1
- package/package.json +1 -1
- package/dist/kupola.css +0 -9137
- package/dist/kupola.min.css +0 -1
package/dist/kupola.esm.js
CHANGED
|
@@ -1935,11 +1935,14 @@ function Qn() {
|
|
|
1935
1935
|
const t = U();
|
|
1936
1936
|
it(t);
|
|
1937
1937
|
const e = document.querySelector("[data-theme-toggle]");
|
|
1938
|
-
|
|
1939
|
-
o.
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
|
|
1938
|
+
if (e) {
|
|
1939
|
+
const o = e.onclick;
|
|
1940
|
+
e.onclick = function(l) {
|
|
1941
|
+
l.preventDefault();
|
|
1942
|
+
const h = Y() === "dark" ? "light" : "dark";
|
|
1943
|
+
st(h), typeof o == "function" && o.call(this, l);
|
|
1944
|
+
};
|
|
1945
|
+
}
|
|
1943
1946
|
let s = document.getElementById("brand-picker");
|
|
1944
1947
|
s || (s = document.createElement("div"), s.id = "brand-picker", s.style.position = "fixed", s.style.top = "64px", s.style.right = "16px", s.style.zIndex = "9998", s.style.display = "none", s.style.padding = "12px", s.style.width = "200px", s.style.gridTemplateColumns = "repeat(3, 1fr)", s.style.gap = "6px", s.style.backgroundColor = "var(--bg-base-secondary)", s.style.border = "1px solid var(--border-neutral-l1)", s.style.borderRadius = "8px", s.style.boxShadow = "0 4px 20px rgba(0, 0, 0, 0.2)", s.style.overflow = "hidden", W.forEach((o) => {
|
|
1945
1948
|
const l = document.createElement("button");
|