@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.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("group/split", "flex", "data-[orientation=horizontal]:flex-row", "data-[orientation=vertical]:flex-col");
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
- "group-data-[locked=true]/split:pointer-events-none",
7477
- "group-data-[orientation=horizontal]/split:cursor-col-resize",
7478
- "group-data-[orientation=vertical]/split:cursor-row-resize"
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
- "group-data-[orientation=horizontal]/split:!w-px",
7494
- "group-data-[orientation=horizontal]/split:before:h-full",
7495
- "group-data-[orientation=horizontal]/split:before:w-[calc(var(--spacing)*1.25)]",
7496
- "group-data-[orientation=vertical]/split:!h-px",
7497
- "group-data-[orientation=vertical]/split:before:w-full",
7498
- "group-data-[orientation=vertical]/split:before:h-[calc(var(--spacing)*1.25)]"
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
- "group-data-[orientation=horizontal]/split:before:h-full",
7534
- "group-data-[orientation=horizontal]/split:before:w-0.5",
7535
- "group-data-[orientation=horizontal]/split:before:bg-gradient-to-b",
7536
- "group-data-[orientation=vertical]/split:before:h-0.5",
7537
- "group-data-[orientation=vertical]/split:before:w-full",
7538
- "group-data-[orientation=vertical]/split:before:bg-gradient-to-r",
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
- "group-data-[orientation=horizontal]/split:!w-4",
7541
- "group-data-[orientation=horizontal]/split:after:w-2.5",
7542
- "group-data-[orientation=horizontal]/split:after:h-5",
7543
- "group-data-[orientation=vertical]/split:!h-4",
7544
- "group-data-[orientation=vertical]/split:after:w-5",
7545
- "group-data-[orientation=vertical]/split:after:h-2.5"
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.0";
9294
+ var version = "1.1.1";
9295
9295
 
9296
9296
  // src/index.js
9297
9297
  window.Harmonia = { getBreakpointListener, addColorSchemeListener, getColorScheme, removeColorSchemeListener, setColorScheme, version };