@fest-lib/veela 1.0.7 → 1.0.9

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@fest-lib/veela",
3
3
  "description": "fest-lib Veela: CSS tokens, --c2 color functions, Agate.UX, SCSS + runtime loaders",
4
- "version": "1.0.7",
4
+ "version": "1.0.9",
5
5
  "license": "MIT",
6
6
  "type": "module",
7
7
  "sideEffects": true,
@@ -638,7 +638,7 @@
638
638
  scale: 1;
639
639
  }
640
640
 
641
- &:active {
641
+ &:active:not(.sd-widget-host):not([data-widget]):not([data-spanned]) {
642
642
  scale: 0.94;
643
643
  }
644
644
 
@@ -656,8 +656,12 @@
656
656
  &[data-widget]:not([data-layer="labels"]),
657
657
  &[data-spanned]:not([data-layer="labels"]) {
658
658
  /* WHY: launcher grid uses place-items:center + 4rem --tile-size; widgets must fill the span. */
659
- grid-column: var(--cell-column, auto) / span var(--cell-span-x, 1) !important;
660
- grid-row: var(--cell-row, auto) / span var(--cell-span-y, 1) !important;
659
+ /* INVARIANT: same origin as icon tiles (`--cs-grid-*` from logical `--cell-x/y`).
660
+ * JS `--cell-column` is a second visual space and desyncs on CRX remount / orient. */
661
+ grid-column: clamp(1, calc(1 + round(nearest, var(--cs-grid-c, 0), 1)), 16)
662
+ / span var(--cell-span-x, 1) !important;
663
+ grid-row: clamp(1, calc(1 + round(nearest, var(--cs-grid-r, 0), 1)), 16)
664
+ / span var(--cell-span-y, 1) !important;
661
665
  place-self: stretch !important;
662
666
  justify-self: stretch !important;
663
667
  align-self: stretch !important;
@@ -667,6 +671,8 @@
667
671
  max-inline-size: none !important;
668
672
  max-block-size: none !important;
669
673
  --tile-size: 100%;
674
+ /* WHY: gridbox locks origin at 50% — wide search scales/settles around the middle. */
675
+ transform-origin: var(--sd-grab-ox, 50%) var(--sd-grab-oy, 50%) !important;
670
676
  }
671
677
 
672
678
  &.ui-ws-item-icon {