@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.esm.js
CHANGED
|
@@ -24586,7 +24586,7 @@ function spinner_default(Alpine) {
|
|
|
24586
24586
|
// src/components/split.js
|
|
24587
24587
|
function split_default(Alpine) {
|
|
24588
24588
|
Alpine.directive("h-split", (el) => {
|
|
24589
|
-
el.classList.add("
|
|
24589
|
+
el.classList.add("flex", "data-[orientation=horizontal]:flex-row", "data-[orientation=vertical]:flex-col");
|
|
24590
24590
|
el.setAttribute("tabindex", "-1");
|
|
24591
24591
|
el.setAttribute("data-slot", "split");
|
|
24592
24592
|
});
|
|
@@ -24611,9 +24611,9 @@ function split_default(Alpine) {
|
|
|
24611
24611
|
"before:block",
|
|
24612
24612
|
"before:bg-transparent",
|
|
24613
24613
|
"hover:before:bg-primary-hover",
|
|
24614
|
-
"
|
|
24615
|
-
"
|
|
24616
|
-
"
|
|
24614
|
+
"[[data-locked=true]>&]:pointer-events-none",
|
|
24615
|
+
"[[data-orientation=horizontal]>&]:cursor-col-resize",
|
|
24616
|
+
"[[data-orientation=vertical]>&]:cursor-row-resize"
|
|
24617
24617
|
);
|
|
24618
24618
|
const borderClasses = [
|
|
24619
24619
|
"bg-border",
|
|
@@ -24628,12 +24628,12 @@ function split_default(Alpine) {
|
|
|
24628
24628
|
"before:block",
|
|
24629
24629
|
"before:bg-transparent",
|
|
24630
24630
|
"hover:before:bg-primary-hover",
|
|
24631
|
-
"
|
|
24632
|
-
"
|
|
24633
|
-
"
|
|
24634
|
-
"
|
|
24635
|
-
"
|
|
24636
|
-
"
|
|
24631
|
+
"[[data-orientation=horizontal]>&]:!w-px",
|
|
24632
|
+
"[[data-orientation=horizontal]>&]:before:h-full",
|
|
24633
|
+
"[[data-orientation=horizontal]>&]:before:w-[calc(var(--spacing)*1.25)]",
|
|
24634
|
+
"[[data-orientation=vertical]>&]:!h-px",
|
|
24635
|
+
"[[data-orientation=vertical]>&]:before:w-full",
|
|
24636
|
+
"[[data-orientation=vertical]>&]:before:h-[calc(var(--spacing)*1.25)]"
|
|
24637
24637
|
];
|
|
24638
24638
|
const handleClasses = [
|
|
24639
24639
|
"bg-transparent",
|
|
@@ -24668,19 +24668,19 @@ function split_default(Alpine) {
|
|
|
24668
24668
|
"active:before:bg-primary-active",
|
|
24669
24669
|
"active:before:via-transparent",
|
|
24670
24670
|
// Orientation classes
|
|
24671
|
-
"
|
|
24672
|
-
"
|
|
24673
|
-
"
|
|
24674
|
-
"
|
|
24675
|
-
"
|
|
24676
|
-
"
|
|
24671
|
+
"[[data-orientation=horizontal]>&]:before:h-full",
|
|
24672
|
+
"[[data-orientation=horizontal]>&]:before:w-0.5",
|
|
24673
|
+
"[[data-orientation=horizontal]>&]:before:bg-gradient-to-b",
|
|
24674
|
+
"[[data-orientation=vertical]>&]:before:h-0.5",
|
|
24675
|
+
"[[data-orientation=vertical]>&]:before:w-full",
|
|
24676
|
+
"[[data-orientation=vertical]>&]:before:bg-gradient-to-r",
|
|
24677
24677
|
// Size classes
|
|
24678
|
-
"
|
|
24679
|
-
"
|
|
24680
|
-
"
|
|
24681
|
-
"
|
|
24682
|
-
"
|
|
24683
|
-
"
|
|
24678
|
+
"[[data-orientation=horizontal]>&]:!w-4",
|
|
24679
|
+
"[[data-orientation=horizontal]>&]:after:w-2.5",
|
|
24680
|
+
"[[data-orientation=horizontal]>&]:after:h-5",
|
|
24681
|
+
"[[data-orientation=vertical]>&]:!h-4",
|
|
24682
|
+
"[[data-orientation=vertical]>&]:after:w-5",
|
|
24683
|
+
"[[data-orientation=vertical]>&]:after:h-2.5"
|
|
24684
24684
|
];
|
|
24685
24685
|
el.setAttribute("data-slot", "split-gutter");
|
|
24686
24686
|
el.setAttribute("tabindex", "-1");
|
|
@@ -26307,7 +26307,7 @@ function tree_default(Alpine) {
|
|
|
26307
26307
|
}
|
|
26308
26308
|
|
|
26309
26309
|
// package.json
|
|
26310
|
-
var version = "1.1.
|
|
26310
|
+
var version = "1.1.1";
|
|
26311
26311
|
|
|
26312
26312
|
// src/utils/breakpoint-listener.js
|
|
26313
26313
|
function getBreakpointListener(handler, breakpoint = 768) {
|