@fayz-ai/pos 0.24.3 → 0.24.4
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 +82 -76
- package/dist/index.js.map +1 -1
- package/dist/screen/DeliveryBoard.d.ts.map +1 -1
- package/dist/styles.css +12 -3
- 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;AAgChE,wBAAgB,aAAa,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,QAAQ,EAAE,GAAG,EAAE,iBAAiB,EAAE,WAAW,EAAE,eAAe,EAAE,EAAE;IAClH,MAAM,EAAE,WAAW,EAAE,CAAA;IACrB;oFACgF;IAChF,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B;2EACuE;IACvE,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,eAAe,CAAC,EAAE,MAAM,IAAI,CAAA;IAC5B,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,QAAQ,EAAE,CAAC,CAAC,EAAE,WAAW,KAAK,IAAI,CAAA;IAClC,GAAG,EAAE,MAAM,CAAA;CACZ,+
|
|
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;AAgChE,wBAAgB,aAAa,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,QAAQ,EAAE,GAAG,EAAE,iBAAiB,EAAE,WAAW,EAAE,eAAe,EAAE,EAAE;IAClH,MAAM,EAAE,WAAW,EAAE,CAAA;IACrB;oFACgF;IAChF,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B;2EACuE;IACvE,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,eAAe,CAAC,EAAE,MAAM,IAAI,CAAA;IAC5B,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,QAAQ,EAAE,CAAC,CAAC,EAAE,WAAW,KAAK,IAAI,CAAA;IAClC,GAAG,EAAE,MAAM,CAAA;CACZ,+BA4JA;AA0BD;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,cAAc,EAAE,MAAM,CAAC,cAAc,EAAE,MAAM,CAUzD,CAAA;AAED;gEACgE;AAChE,wBAAgB,YAAY,CAAC,OAAO,EAAE,cAAc,GAAG,cAAc,GAAG,SAAS,CAQhF"}
|
package/dist/styles.css
CHANGED
|
@@ -2568,7 +2568,18 @@
|
|
|
2568
2568
|
.pos-board {
|
|
2569
2569
|
flex: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
2570
2570
|
gap: var(--pos-2x); padding: var(--pos-4x); min-height: 0;
|
|
2571
|
+
position: relative;
|
|
2572
|
+
}
|
|
2573
|
+
/* The day's history toggle: a square at the board's bottom-right, where the
|
|
2574
|
+
column it opens appears. Pressed = the history is open. */
|
|
2575
|
+
.pos-board__history {
|
|
2576
|
+
position: absolute; right: var(--pos-4x); bottom: var(--pos-4x); z-index: 2;
|
|
2577
|
+
width: 56px; height: 56px; border-radius: var(--pos-r);
|
|
2578
|
+
background: var(--pos-1); color: var(--pos-fg);
|
|
2579
|
+
box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
|
|
2571
2580
|
}
|
|
2581
|
+
.pos-board__history:hover { background: var(--pos-2); }
|
|
2582
|
+
.pos-board__history[aria-pressed='true'] { background: var(--pos-primary); border-color: var(--pos-primary); color: var(--pos-primary-fg); }
|
|
2572
2583
|
/* Columns are lanes, not floating cards: giving them a surface makes an empty
|
|
2573
2584
|
"Pronto" read as a state of the kitchen instead of a rendering gap. */
|
|
2574
2585
|
/* As cores das colunas do delivery, no matiz do V1.
|
|
@@ -4666,7 +4677,7 @@
|
|
|
4666
4677
|
|
|
4667
4678
|
/* A LEGENDA DA ESTEIRA — a regra dos 3 minutos, dita na própria tela.
|
|
4668
4679
|
Miúda e apagada como no V1: ela explica, não compete com as colunas. */
|
|
4669
|
-
/* The legend
|
|
4680
|
+
/* The legend line above the columns. */
|
|
4670
4681
|
.pos-board__bar {
|
|
4671
4682
|
display: flex; align-items: center; justify-content: flex-start; gap: var(--pos-3x);
|
|
4672
4683
|
margin: 0 var(--pos-3x) var(--pos-2x);
|
|
@@ -4675,8 +4686,6 @@
|
|
|
4675
4686
|
where the shell floats its own controls (status, exit): keep clear of them. */
|
|
4676
4687
|
.pos-body[data-details='closed'] .pos-board__bar { padding-right: 112px; }
|
|
4677
4688
|
.pos-board__bar .pos-board__note { margin: 0; }
|
|
4678
|
-
.pos-board__bar .pos-pill { cursor: pointer; flex: none; }
|
|
4679
|
-
.pos-board__bar .pos-pill[aria-pressed='true'] { color: var(--pos-fg); border-color: var(--pos-fg-3); }
|
|
4680
4689
|
.pos-board__note {
|
|
4681
4690
|
margin: 0 var(--pos-3x) var(--pos-2x);
|
|
4682
4691
|
font-size: 12px; line-height: 1.4; color: var(--pos-fg-3);
|