@fayz-ai/pos 0.26.1 → 0.27.0
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 +99 -13
- package/dist/index.js.map +1 -1
- package/dist/screen/DeliveryBoard.d.ts.map +1 -1
- package/dist/styles.css +11 -2
- 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;AA0CxD,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,+BAoZA;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
|
@@ -2668,8 +2668,17 @@
|
|
|
2668
2668
|
.pos-card[data-dragging='true'] { opacity: 0.4; }
|
|
2669
2669
|
.pos-card.pos-card--drag {
|
|
2670
2670
|
z-index: 50; pointer-events: none; animation: none;
|
|
2671
|
-
box-shadow: 0
|
|
2672
|
-
|
|
2671
|
+
box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24); background: var(--pos-1);
|
|
2672
|
+
/* The lean and the lift are painted by the board's motion loop. */
|
|
2673
|
+
will-change: transform; transform-origin: 50% 20%;
|
|
2674
|
+
}
|
|
2675
|
+
/* On release the card glides to where it lands; the hand no longer moves it. */
|
|
2676
|
+
.pos-card.pos-card--drag[data-settling] {
|
|
2677
|
+
transition: transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 260ms ease-out, box-shadow 260ms ease-out;
|
|
2678
|
+
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
|
|
2679
|
+
}
|
|
2680
|
+
@media (prefers-reduced-motion: reduce) {
|
|
2681
|
+
.pos-card.pos-card--drag[data-settling] { transition: none; }
|
|
2673
2682
|
}
|
|
2674
2683
|
.pos-col[data-drop='ok'] { outline: 2px dashed var(--pos-primary); outline-offset: -2px; }
|
|
2675
2684
|
.pos-col[data-drop='ok'][data-over='true'] { background: var(--pos-2); }
|