@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.
@@ -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("group/split", "flex", "data-[orientation=horizontal]:flex-row", "data-[orientation=vertical]:flex-col");
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
- "group-data-[locked=true]/split:pointer-events-none",
24615
- "group-data-[orientation=horizontal]/split:cursor-col-resize",
24616
- "group-data-[orientation=vertical]/split:cursor-row-resize"
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
- "group-data-[orientation=horizontal]/split:!w-px",
24632
- "group-data-[orientation=horizontal]/split:before:h-full",
24633
- "group-data-[orientation=horizontal]/split:before:w-[calc(var(--spacing)*1.25)]",
24634
- "group-data-[orientation=vertical]/split:!h-px",
24635
- "group-data-[orientation=vertical]/split:before:w-full",
24636
- "group-data-[orientation=vertical]/split:before:h-[calc(var(--spacing)*1.25)]"
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
- "group-data-[orientation=horizontal]/split:before:h-full",
24672
- "group-data-[orientation=horizontal]/split:before:w-0.5",
24673
- "group-data-[orientation=horizontal]/split:before:bg-gradient-to-b",
24674
- "group-data-[orientation=vertical]/split:before:h-0.5",
24675
- "group-data-[orientation=vertical]/split:before:w-full",
24676
- "group-data-[orientation=vertical]/split:before:bg-gradient-to-r",
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
- "group-data-[orientation=horizontal]/split:!w-4",
24679
- "group-data-[orientation=horizontal]/split:after:w-2.5",
24680
- "group-data-[orientation=horizontal]/split:after:h-5",
24681
- "group-data-[orientation=vertical]/split:!h-4",
24682
- "group-data-[orientation=vertical]/split:after:w-5",
24683
- "group-data-[orientation=vertical]/split:after:h-2.5"
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.0";
26310
+ var version = "1.1.1";
26311
26311
 
26312
26312
  // src/utils/breakpoint-listener.js
26313
26313
  function getBreakpointListener(handler, breakpoint = 768) {