@getartisanflow/alpineflow 0.2.2-alpha → 0.2.4-alpha

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.
@@ -891,15 +891,20 @@
891
891
  opacity: 0.4;
892
892
  }
893
893
 
894
- /* Vertical: round top of first, bottom of last */
895
- .flow-controls-vertical button:first-child { border-radius: var(--flow-controls-btn-border-radius) var(--flow-controls-btn-border-radius) 0 0; }
896
- .flow-controls-vertical button:last-child { border-radius: 0 0 var(--flow-controls-btn-border-radius) var(--flow-controls-btn-border-radius); }
897
- .flow-controls-vertical button:only-child { border-radius: var(--flow-controls-btn-border-radius); }
894
+ /* Vertical: round top of first, bottom of last.
895
+
896
+ Direct children only. As a descendant selector these matched any button that is first or last
897
+ inside ITS OWN parent, so a control wrapped in an element — a trigger that needs something to
898
+ anchor a fly-out to, say — was handed the corners of the end of the strip while sitting in the
899
+ middle of it. */
900
+ .flow-controls-vertical > button:first-child { border-radius: var(--flow-controls-btn-border-radius) var(--flow-controls-btn-border-radius) 0 0; }
901
+ .flow-controls-vertical > button:last-child { border-radius: 0 0 var(--flow-controls-btn-border-radius) var(--flow-controls-btn-border-radius); }
902
+ .flow-controls-vertical > button:only-child { border-radius: var(--flow-controls-btn-border-radius); }
898
903
 
899
904
  /* Horizontal: round left of first, right of last */
900
- .flow-controls-horizontal button:first-child { border-radius: var(--flow-controls-btn-border-radius) 0 0 var(--flow-controls-btn-border-radius); }
901
- .flow-controls-horizontal button:last-child { border-radius: 0 var(--flow-controls-btn-border-radius) var(--flow-controls-btn-border-radius) 0; }
902
- .flow-controls-horizontal button:only-child { border-radius: var(--flow-controls-btn-border-radius); }
905
+ .flow-controls-horizontal > button:first-child { border-radius: var(--flow-controls-btn-border-radius) 0 0 var(--flow-controls-btn-border-radius); }
906
+ .flow-controls-horizontal > button:last-child { border-radius: 0 var(--flow-controls-btn-border-radius) var(--flow-controls-btn-border-radius) 0; }
907
+ .flow-controls-horizontal > button:only-child { border-radius: var(--flow-controls-btn-border-radius); }
903
908
 
904
909
  /* External controls: rendered outside the flow-container */
905
910
  .flow-controls-external {
@@ -1,5 +1,5 @@
1
- import { g as F, n as w, a as E, b as N } from "./index-e86gWLvT.js";
2
- import { C as $, F as j, S as V, c as X, d as Y, e as W, f as G, h as K, i as Z, j as q, A as J, k as Q, l as ee, m as te, o as se, p as oe, q as ae, r as ie, s as ne, t as re, u as de, v as le, w as ge, x as ce, y as he, z as me, B as pe, D as ue, E as fe, G as ye, H as be, I as Pe, J as we, K as Ee, L as Ne, M as xe, N as ve, O as De, P as Ie, Q as Se, R as ke, T as Ce, U as Ae, V as Te, W as Fe, X as Me, Y as Re, Z as Be, _ as ze, $ as He, a0 as Oe } from "./index-e86gWLvT.js";
1
+ import { g as F, n as w, a as E, b as N } from "./index-CvQXC8Md.js";
2
+ import { C as $, F as j, S as V, c as X, d as Y, e as W, f as G, h as K, i as Z, j as q, A as J, k as Q, l as ee, m as te, o as se, p as oe, q as ae, r as ie, s as ne, t as re, u as de, v as le, w as ge, x as ce, y as he, z as me, B as pe, D as ue, E as fe, G as ye, H as be, I as Pe, J as we, K as Ee, L as Ne, M as xe, N as ve, O as De, P as Ie, Q as Se, R as ke, T as Ce, U as Ae, V as Te, W as Fe, X as Me, Y as Re, Z as Be, _ as ze, $ as He, a0 as Oe } from "./index-CvQXC8Md.js";
3
3
  import { D as M, a as R, g as B } from "./geometry-CxgsLz4u.js";
4
4
  import { b as Le, c as Ue, d as $e } from "./geometry-CxgsLz4u.js";
5
5
  function _(x, v, r) {
@@ -1,4 +1,4 @@
1
- import { A as i } from "./index-e86gWLvT.js";
1
+ import { A as i } from "./index-CvQXC8Md.js";
2
2
  document.addEventListener("alpine:init", () => {
3
3
  window.Alpine.plugin(i);
4
4
  });