@fayz-ai/pos 0.27.2 → 0.27.3

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/styles.css CHANGED
@@ -2650,25 +2650,26 @@
2650
2650
  everything else is still. It stops the moment the card is moved — the pulse
2651
2651
  IS the "somebody deal with this", so it must not outlive the dealing. */
2652
2652
  .pos-card[data-await='true'] { --pos-edge: var(--pos-warn); }
2653
- .pos-card[data-await='true']::before { animation: pos-await 1.7s var(--pos-e) infinite; }
2653
+ .pos-card[data-await='true']::before { animation: pos-await 2.4s ease-in-out infinite; }
2654
2654
  @keyframes pos-await {
2655
2655
  0%, 100% { opacity: 1; }
2656
- 50% { opacity: 0.28; }
2656
+ 50% { opacity: 0.55; }
2657
2657
  }
2658
2658
  @media (prefers-reduced-motion: reduce) {
2659
2659
  .pos-card[data-await='true']::before { animation: none; }
2660
2660
  }
2661
2661
 
2662
- /* What the card left behind: the shape of it, dissolving where it was. */
2662
+ /* Where the card was: no outline left behind, just the space closing,
2663
+ so the column below settles instead of jumping. */
2663
2664
  .pos-card--ghost {
2664
- min-height: 96px; pointer-events: none;
2665
- border-style: dashed; background: transparent;
2666
- animation: pos-ghost 300ms var(--pos-e) forwards;
2665
+ min-height: 0; height: 96px; padding: 0; overflow: hidden; pointer-events: none;
2666
+ border-color: transparent; background: transparent;
2667
+ animation: pos-ghost 260ms var(--pos-e) forwards;
2667
2668
  }
2668
- .pos-card--ghost::before { background: var(--pos-line-strong); }
2669
+ .pos-card--ghost::before { display: none; }
2669
2670
  @keyframes pos-ghost {
2670
- from { opacity: 0.7; transform: none; }
2671
- to { opacity: 0; transform: translateX(10px) scale(0.97); }
2671
+ from { height: 96px; opacity: 0; }
2672
+ to { height: 0; margin-top: calc(-1 * var(--pos-2x)); opacity: 0; }
2672
2673
  }
2673
2674
  /* Dragging a card to its next step. The real card stays in its column, faded,
2674
2675
  until the step is confirmed; a copy rides the pointer. The column it may go
@@ -2963,6 +2964,17 @@
2963
2964
  animation: pos-card-in var(--pos-in) var(--pos-spring) backwards;
2964
2965
  animation-delay: var(--pos-stagger, 0ms);
2965
2966
  }
2967
+ /* On the delivery board a card arriving in its next column only fades in with
2968
+ a short rise — no spring: it is the same order changing place, not a new
2969
+ thing landing. */
2970
+ .pos-col__body .pos-card { animation: pos-board-in 240ms var(--pos-e) backwards; }
2971
+ @keyframes pos-board-in {
2972
+ from { opacity: 0; transform: translateY(4px); }
2973
+ to { opacity: 1; transform: none; }
2974
+ }
2975
+ @media (prefers-reduced-motion: reduce) {
2976
+ .pos-col__body .pos-card, .pos-card--ghost { animation: none; }
2977
+ }
2966
2978
  /* Once a card is on the ticket it stops re-entering: replaying the entrance on
2967
2979
  a card the operator is actively tapping is exactly the flash they saw. */
2968
2980
  .pos-item[data-filled='true'] { animation: none; }
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "fayz": {
4
4
  "status": "preview"
5
5
  },
6
- "version": "0.27.2",
6
+ "version": "0.27.3",
7
7
  "publishConfig": {
8
8
  "access": "public"
9
9
  },