@jsenv/navi 0.26.9 → 0.26.10

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.
@@ -6279,11 +6279,15 @@ const FLOW_PROPS = {
6279
6279
  inline: () => {},
6280
6280
  block: () => {},
6281
6281
  flex: () => {},
6282
+ flexWrap: applyToCssPropWhenTruthy("flexWrap", "wrap", "nowrap"),
6282
6283
  grid: () => {},
6283
6284
  gridTemplateColumns: PASS_THROUGH,
6284
6285
  display: PASS_THROUGH, // in case people write "display: none" (even if hidden prop is recommended)
6285
6286
  row: () => {},
6286
6287
  column: () => {},
6288
+
6289
+ // not really related to flow but should be on the container element if any
6290
+ pointerEvents: PASS_THROUGH,
6287
6291
  };
6288
6292
  const OUTER_SPACING_PROPS = {
6289
6293
  margin: PASS_THROUGH,
@@ -6567,6 +6571,7 @@ const TYPO_PROPS = {
6567
6571
  capitalize: applyToCssPropWhenTruthy("textTransform", "capitalize", "none"),
6568
6572
  uppercase: applyToCssPropWhenTruthy("textTransform", "uppercase", "none"),
6569
6573
  lowercase: applyToCssPropWhenTruthy("textTransform", "lowercase", "none"),
6574
+ letterSpacing: PASS_THROUGH,
6570
6575
  };
6571
6576
  const VISUAL_PROPS = {
6572
6577
  outline: PASS_THROUGH,
@@ -6585,10 +6590,15 @@ const VISUAL_PROPS = {
6585
6590
  borderRight: PASS_THROUGH,
6586
6591
  borderBottom: PASS_THROUGH,
6587
6592
  borderWidth: PASS_THROUGH,
6588
- borderRadius: PASS_THROUGH,
6589
6593
  borderColor: PASS_THROUGH,
6590
6594
  borderStyle: PASS_THROUGH,
6595
+ borderRadius: PASS_THROUGH,
6596
+ borderTopLeftRadius: PASS_THROUGH,
6597
+ borderTopRightRadius: PASS_THROUGH,
6598
+ borderBottomLeftRadius: PASS_THROUGH,
6599
+ borderBottomRightRadius: PASS_THROUGH,
6591
6600
  opacity: PASS_THROUGH,
6601
+ visibility: PASS_THROUGH,
6592
6602
  filter: PASS_THROUGH,
6593
6603
  cursor: PASS_THROUGH,
6594
6604
  transition: PASS_THROUGH,
@@ -14596,15 +14606,16 @@ const RouteActive = ({
14596
14606
  };
14597
14607
 
14598
14608
  const routeAction = (
14599
- route,
14609
+ routeOrRoutes,
14600
14610
  action,
14601
14611
  paramsEffect = () => true,
14602
14612
  options = {},
14603
14613
  ) => {
14614
+ const routes = Array.isArray(routeOrRoutes) ? routeOrRoutes : [routeOrRoutes];
14604
14615
  const actionBoundToRoute = actionRunEffect(
14605
14616
  action,
14606
14617
  () => {
14607
- const matching = route.matchingSignal.value;
14618
+ const matching = routes.some((route) => route.matchingSignal.value);
14608
14619
  const params = paramsEffect();
14609
14620
  if (!matching) {
14610
14621
  return null;