@fayz-ai/pos 0.27.1 → 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/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/screen/DeliveryBoard.d.ts.map +1 -1
- package/dist/styles.css +21 -9
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DeliveryBoard.d.ts","sourceRoot":"","sources":["../../src/screen/DeliveryBoard.tsx"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAKhE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAA;
|
|
1
|
+
{"version":3,"file":"DeliveryBoard.d.ts","sourceRoot":"","sources":["../../src/screen/DeliveryBoard.tsx"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAKhE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAA;AA2CxD,wBAAgB,aAAa,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,QAAQ,EAAE,GAAG,EAAE,iBAAiB,EAAE,WAAW,EAAE,eAAe,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,OAAO,EAAE,EAAE;IAC9J,MAAM,EAAE,WAAW,EAAE,CAAA;IACrB;;;;OAIG;IACH,MAAM,CAAC,EAAE,CAAC,CAAC,EAAE,WAAW,KAAK,kBAAkB,CAAA;IAC/C;kFAC8E;IAC9E,MAAM,CAAC,EAAE,CAAC,CAAC,EAAE,WAAW,EAAE,EAAE,EAAE,cAAc,KAAK,IAAI,CAAA;IACrD,sEAAsE;IACtE,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAA;IACjC;6DACyD;IACzD,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IACjC;oFACgF;IAChF,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B;2EACuE;IACvE,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,eAAe,CAAC,EAAE,MAAM,IAAI,CAAA;IAC5B;0EACsE;IACtE,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,QAAQ,EAAE,CAAC,CAAC,EAAE,WAAW,KAAK,IAAI,CAAA;IAClC,GAAG,EAAE,MAAM,CAAA;CACZ,+BA+ZA;AA0BD;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,cAAc,EAAE,MAAM,CAAC,cAAc,EAAE,MAAM,CAUzD,CAAA;AAGD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA"}
|
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
|
|
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.
|
|
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
|
-
/*
|
|
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-
|
|
2666
|
-
animation: pos-ghost
|
|
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 {
|
|
2669
|
+
.pos-card--ghost::before { display: none; }
|
|
2669
2670
|
@keyframes pos-ghost {
|
|
2670
|
-
from {
|
|
2671
|
-
to {
|
|
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; }
|