@pisell/private-materials 6.12.310 → 6.12.312

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.
Files changed (49) hide show
  1. package/build/lowcode/assets-daily.json +11 -11
  2. package/build/lowcode/assets-dev.json +2 -2
  3. package/build/lowcode/assets-prod.json +11 -11
  4. package/build/lowcode/meta.js +1 -1
  5. package/build/lowcode/preview.js +1 -1
  6. package/build/lowcode/render/default/view.css +1 -1
  7. package/build/lowcode/render/default/view.js +2 -2
  8. package/build/lowcode/view.css +1 -1
  9. package/build/lowcode/view.js +2 -2
  10. package/es/components/HDLKiosk/locales.js +0 -5
  11. package/es/components/HDLKiosk/slices/customization/Screen/index.less +1 -5
  12. package/es/components/HDLKiosk/ui/entry/Screen/index.js +6 -4
  13. package/es/components/HDLKiosk/ui/entry/Screen/index.less +11 -20
  14. package/es/components/bigSale/components/BookingFloatingPanel/useBookingPanelController.js +1 -0
  15. package/es/components/bigSale/components/ProductList/index.js +1 -0
  16. package/es/components/bigSale/components/TimeBar/index.js +1 -0
  17. package/es/components/bigSale/dialog.js +1 -0
  18. package/es/components/bigSale/hooks/useBigSaleContext.js +1 -0
  19. package/es/components/bigSale/hooks/useSelectFloorMapResourceForBigSale.js +1 -0
  20. package/es/components/bigSale/index.js +1 -0
  21. package/es/components/bigSale/templates/Kiosk/index.js +1 -0
  22. package/es/components/sharedSecondaryBigSale/SharedSecondaryBigSaleReceiver.js +1 -0
  23. package/es/index.js +2 -0
  24. package/es/plus/multiCurrencySettlement/index.js +1 -1
  25. package/es/plus/pisellReservation/data/bookingToReservationTables.js +1 -1
  26. package/es/plus/pisellReservation/floorMap/floorPlanApi.js +1 -1
  27. package/es/plus/pisellReservation/floorMap/reservationMock.js +1 -1
  28. package/es/plus/pisellReservation/index.js +17 -0
  29. package/es/plus/saleDetail/Base.js +1 -0
  30. package/es/plus/saleDetail/components/Client/hooks/useClientSelectorProps.js +1 -0
  31. package/es/plus/saleDetail/components/DetailActions/PrintAction.js +1 -0
  32. package/es/plus/saleDetail/components/DetailActions/index.js +1 -0
  33. package/es/plus/saleDetail/components/SummaryFinancialSections/index.js +1 -0
  34. package/es/plus/saleDetail/index.js +1 -0
  35. package/es/plus/saleDetail/tmpl/B/components/Dish/index.js +1 -0
  36. package/es/plus/saleDetail/tmpl/B/index.js +1 -0
  37. package/es/plus/salesSdk/index.js +54 -0
  38. package/es/plus/salesSdk/utils/addProductWithFlowDebounced.js +1 -1
  39. package/es/plus/salesSdk/utils/bookingDate.js +1 -1
  40. package/es/plus/salesSdk/utils/enrichCartLineHolderDisplay.js +1 -1
  41. package/es/pro/Login2.0/AuthModal.d.ts +1 -1
  42. package/es/pro/Login2.0/index.d.ts +2 -2
  43. package/es/pro/Login2.0/shared/types.d.ts +1 -1
  44. package/lib/components/HDLKiosk/locales.js +0 -5
  45. package/lib/components/HDLKiosk/slices/customization/Screen/index.less +1 -5
  46. package/lib/components/HDLKiosk/ui/entry/Screen/index.js +6 -4
  47. package/lib/components/HDLKiosk/ui/entry/Screen/index.less +11 -20
  48. package/package.json +3 -3
  49. package/es/private-materials/lowcode/authmodal/meta.d.ts +0 -1
@@ -12,7 +12,6 @@
12
12
  --hdl-entry-touch-border: #f2ce8e;
13
13
  --hdl-entry-touch-background: #ffd07a1a;
14
14
  --hdl-entry-control-background: rgba(17, 16, 14, 0.76);
15
- --hdl-entry-support-background: rgba(17, 16, 14, 0.4);
16
15
  --hdl-entry-loading-background: rgba(17, 16, 14, 0.72);
17
16
  color-scheme: dark;
18
17
 
@@ -27,7 +26,6 @@
27
26
  --hdl-entry-touch-border: #b7442a;
28
27
  --hdl-entry-touch-background: #ffdfb61a;
29
28
  --hdl-entry-control-background: rgba(255, 248, 236, 0.8);
30
- --hdl-entry-support-background: rgba(244, 236, 220, 0.6);
31
29
  --hdl-entry-loading-background: rgba(244, 236, 220, 0.72);
32
30
  color-scheme: light;
33
31
  }
@@ -270,26 +268,21 @@
270
268
  animation: hdl-entry-touch-response 600ms ease-out;
271
269
  }
272
270
 
273
- .hdl-entry-technical-support {
274
- position: absolute;
275
- z-index: 5;
276
- top: 0;
277
- left: 0;
278
- width: 100%;
279
- margin: 0;
280
- border: 0;
281
- padding: 6px 0;
282
- background: var(--hdl-entry-support-background);
283
- color: var(--hdl-entry-copy);
284
- font-size: 16px;
285
- line-height: normal;
286
- text-align: center;
287
- cursor: pointer;
271
+ .hdl-entry-pisell-brand {
272
+ --pisell-brand-z-index: 5;
273
+ --pisell-brand-focus: var(--hdl-entry-focus);
274
+ // Kiosk 按有效画布宽度缩放,并保留小屏下限、大屏上限和安全区。
275
+ --pisell-brand-inset: clamp(18px, calc(var(--hdl-entry-canvas-width) * 48 / 1080), 64px);
276
+ --pisell-brand-font-size: clamp(12px, calc(var(--hdl-entry-canvas-width) * 22 / 1080), 28px);
277
+ --pisell-brand-top-height: clamp(50px, calc(var(--hdl-entry-canvas-width) * 112 / 1080), 148px);
278
+ --pisell-brand-top-gap: clamp(14px, calc(var(--hdl-entry-canvas-width) * 26 / 1080), 34px);
279
+ --pisell-brand-top-logo-width: clamp(76px, calc(var(--hdl-entry-canvas-width) * 180 / 1080), 240px);
280
+ --pisell-brand-top-padding: max(10px, env(safe-area-inset-top, 0px));
288
281
  }
289
282
 
290
283
  .hdl-entry-screen__header {
291
284
  position: absolute;
292
- top: 45px;
285
+ top: ~"calc(clamp(50px, var(--hdl-entry-canvas-width) * 112 / 1080, 148px) + 16px)";
293
286
  right: 5%;
294
287
  left: 5%;
295
288
  z-index: 4;
@@ -389,7 +382,6 @@
389
382
 
390
383
  .hdl-entry-language:focus-within,
391
384
  .hdl-entry-theme-toggle:focus-visible,
392
- .hdl-entry-technical-support:focus-visible,
393
385
  .hdl-entry-screen__notices button:focus-visible {
394
386
  outline: 3px solid var(--hdl-entry-focus);
395
387
  outline-offset: 5px;
@@ -397,7 +389,6 @@
397
389
 
398
390
  .hdl-entry-screen[data-compact='true'] {
399
391
  .hdl-entry-screen__header {
400
- top: 40px;
401
392
  right: 20px;
402
393
  left: 20px;
403
394
  gap: 12px;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pisell/private-materials",
3
- "version": "6.12.310",
3
+ "version": "6.12.312",
4
4
  "main": "./lib/index.js",
5
5
  "module": "./es/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -73,9 +73,9 @@
73
73
  "use-sync-external-store": "^1.6.0",
74
74
  "@pisell/pi-payment-sdk": "0.0.3",
75
75
  "@pisell/utils": "3.0.7",
76
- "@pisell/materials": "6.12.78",
76
+ "@pisell/icon": "0.0.11",
77
77
  "@pisell/date-picker": "3.0.12",
78
- "@pisell/icon": "0.0.11"
78
+ "@pisell/materials": "6.12.79"
79
79
  },
80
80
  "peerDependencies": {
81
81
  "react": "^18.0.0",
@@ -1 +0,0 @@
1
- export { };