@codbex/harmonia 1.1.0 → 1.1.1
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/harmonia.css +1 -1
- package/dist/harmonia.esm.js +23 -23
- package/dist/harmonia.esm.min.js +1 -1
- package/dist/harmonia.esm.min.js.map +2 -2
- package/dist/harmonia.js +23 -23
- package/dist/harmonia.min.js +1 -1
- package/dist/harmonia.min.js.map +2 -2
- package/package.json +1 -1
package/dist/harmonia.js
CHANGED
|
@@ -7448,7 +7448,7 @@
|
|
|
7448
7448
|
// src/components/split.js
|
|
7449
7449
|
function split_default(Alpine) {
|
|
7450
7450
|
Alpine.directive("h-split", (el) => {
|
|
7451
|
-
el.classList.add("
|
|
7451
|
+
el.classList.add("flex", "data-[orientation=horizontal]:flex-row", "data-[orientation=vertical]:flex-col");
|
|
7452
7452
|
el.setAttribute("tabindex", "-1");
|
|
7453
7453
|
el.setAttribute("data-slot", "split");
|
|
7454
7454
|
});
|
|
@@ -7473,9 +7473,9 @@
|
|
|
7473
7473
|
"before:block",
|
|
7474
7474
|
"before:bg-transparent",
|
|
7475
7475
|
"hover:before:bg-primary-hover",
|
|
7476
|
-
"
|
|
7477
|
-
"
|
|
7478
|
-
"
|
|
7476
|
+
"[[data-locked=true]>&]:pointer-events-none",
|
|
7477
|
+
"[[data-orientation=horizontal]>&]:cursor-col-resize",
|
|
7478
|
+
"[[data-orientation=vertical]>&]:cursor-row-resize"
|
|
7479
7479
|
);
|
|
7480
7480
|
const borderClasses = [
|
|
7481
7481
|
"bg-border",
|
|
@@ -7490,12 +7490,12 @@
|
|
|
7490
7490
|
"before:block",
|
|
7491
7491
|
"before:bg-transparent",
|
|
7492
7492
|
"hover:before:bg-primary-hover",
|
|
7493
|
-
"
|
|
7494
|
-
"
|
|
7495
|
-
"
|
|
7496
|
-
"
|
|
7497
|
-
"
|
|
7498
|
-
"
|
|
7493
|
+
"[[data-orientation=horizontal]>&]:!w-px",
|
|
7494
|
+
"[[data-orientation=horizontal]>&]:before:h-full",
|
|
7495
|
+
"[[data-orientation=horizontal]>&]:before:w-[calc(var(--spacing)*1.25)]",
|
|
7496
|
+
"[[data-orientation=vertical]>&]:!h-px",
|
|
7497
|
+
"[[data-orientation=vertical]>&]:before:w-full",
|
|
7498
|
+
"[[data-orientation=vertical]>&]:before:h-[calc(var(--spacing)*1.25)]"
|
|
7499
7499
|
];
|
|
7500
7500
|
const handleClasses = [
|
|
7501
7501
|
"bg-transparent",
|
|
@@ -7530,19 +7530,19 @@
|
|
|
7530
7530
|
"active:before:bg-primary-active",
|
|
7531
7531
|
"active:before:via-transparent",
|
|
7532
7532
|
// Orientation classes
|
|
7533
|
-
"
|
|
7534
|
-
"
|
|
7535
|
-
"
|
|
7536
|
-
"
|
|
7537
|
-
"
|
|
7538
|
-
"
|
|
7533
|
+
"[[data-orientation=horizontal]>&]:before:h-full",
|
|
7534
|
+
"[[data-orientation=horizontal]>&]:before:w-0.5",
|
|
7535
|
+
"[[data-orientation=horizontal]>&]:before:bg-gradient-to-b",
|
|
7536
|
+
"[[data-orientation=vertical]>&]:before:h-0.5",
|
|
7537
|
+
"[[data-orientation=vertical]>&]:before:w-full",
|
|
7538
|
+
"[[data-orientation=vertical]>&]:before:bg-gradient-to-r",
|
|
7539
7539
|
// Size classes
|
|
7540
|
-
"
|
|
7541
|
-
"
|
|
7542
|
-
"
|
|
7543
|
-
"
|
|
7544
|
-
"
|
|
7545
|
-
"
|
|
7540
|
+
"[[data-orientation=horizontal]>&]:!w-4",
|
|
7541
|
+
"[[data-orientation=horizontal]>&]:after:w-2.5",
|
|
7542
|
+
"[[data-orientation=horizontal]>&]:after:h-5",
|
|
7543
|
+
"[[data-orientation=vertical]>&]:!h-4",
|
|
7544
|
+
"[[data-orientation=vertical]>&]:after:w-5",
|
|
7545
|
+
"[[data-orientation=vertical]>&]:after:h-2.5"
|
|
7546
7546
|
];
|
|
7547
7547
|
el.setAttribute("data-slot", "split-gutter");
|
|
7548
7548
|
el.setAttribute("tabindex", "-1");
|
|
@@ -9291,7 +9291,7 @@
|
|
|
9291
9291
|
}
|
|
9292
9292
|
|
|
9293
9293
|
// package.json
|
|
9294
|
-
var version = "1.1.
|
|
9294
|
+
var version = "1.1.1";
|
|
9295
9295
|
|
|
9296
9296
|
// src/index.js
|
|
9297
9297
|
window.Harmonia = { getBreakpointListener, addColorSchemeListener, getColorScheme, removeColorSchemeListener, setColorScheme, version };
|