@tabres/react 1.0.38 → 1.0.40

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 (84) hide show
  1. package/dist/components/PublicMenu/OrderDrawer/OrderTip/OrderTip.d.ts +2 -0
  2. package/dist/components/PublicMenu/OrderDrawer/OrderTip/OrderTip.test.d.ts +1 -0
  3. package/dist/components/PublicMenu/OrderDrawer/OrderTip/index.d.ts +1 -0
  4. package/dist/components/PublicMenu/OrderPaymentSummary/OrderPaymentSummary.d.ts +7 -1
  5. package/dist/components/PublicMenu/OrderPaymentSummary/OrderPaymentSummary.test.d.ts +1 -0
  6. package/dist/index.esm.js +1 -1
  7. package/dist/index.esm.js.map +1 -1
  8. package/dist/index.js +1 -1
  9. package/dist/index.js.map +1 -1
  10. package/dist/models/index.esm.js.map +1 -1
  11. package/dist/models/index.js.map +1 -1
  12. package/dist/models/modules/order/constants.d.ts +1 -0
  13. package/dist/models/modules/order/models.d.ts +9 -0
  14. package/dist/models/modules/order/utils.d.ts +2 -0
  15. package/dist/models/services/translation/locales/az/index.d.ts +6 -0
  16. package/dist/models/services/translation/locales/az/order.d.ts +6 -0
  17. package/dist/models/services/translation/locales/es/index.d.ts +6 -0
  18. package/dist/models/services/translation/locales/es/order.d.ts +6 -0
  19. package/dist/models/services/translation/locales/et/index.d.ts +6 -0
  20. package/dist/models/services/translation/locales/et/order.d.ts +6 -0
  21. package/dist/models/services/translation/locales/hr/index.d.ts +6 -0
  22. package/dist/models/services/translation/locales/hr/order.d.ts +6 -0
  23. package/dist/models/services/translation/locales/index.d.ts +54 -0
  24. package/dist/models/services/translation/locales/nl/index.d.ts +6 -0
  25. package/dist/models/services/translation/locales/nl/order.d.ts +6 -0
  26. package/dist/models/services/translation/locales/pl/index.d.ts +6 -0
  27. package/dist/models/services/translation/locales/pl/order.d.ts +6 -0
  28. package/dist/models/services/translation/locales/pt/index.d.ts +6 -0
  29. package/dist/models/services/translation/locales/pt/order.d.ts +6 -0
  30. package/dist/models/services/translation/locales/ru/index.d.ts +6 -0
  31. package/dist/models/services/translation/locales/ru/order.d.ts +6 -0
  32. package/dist/models/services/translation/locales/tr/index.d.ts +6 -0
  33. package/dist/models/services/translation/locales/tr/order.d.ts +6 -0
  34. package/dist/modules/order/constants.d.ts +1 -0
  35. package/dist/modules/order/models.d.ts +9 -0
  36. package/dist/modules/order/utils.d.ts +2 -0
  37. package/dist/services/translation/locales/az/index.d.ts +6 -0
  38. package/dist/services/translation/locales/az/order.d.ts +6 -0
  39. package/dist/services/translation/locales/es/index.d.ts +6 -0
  40. package/dist/services/translation/locales/es/order.d.ts +6 -0
  41. package/dist/services/translation/locales/et/index.d.ts +6 -0
  42. package/dist/services/translation/locales/et/order.d.ts +6 -0
  43. package/dist/services/translation/locales/hr/index.d.ts +6 -0
  44. package/dist/services/translation/locales/hr/order.d.ts +6 -0
  45. package/dist/services/translation/locales/index.d.ts +54 -0
  46. package/dist/services/translation/locales/nl/index.d.ts +6 -0
  47. package/dist/services/translation/locales/nl/order.d.ts +6 -0
  48. package/dist/services/translation/locales/pl/index.d.ts +6 -0
  49. package/dist/services/translation/locales/pl/order.d.ts +6 -0
  50. package/dist/services/translation/locales/pt/index.d.ts +6 -0
  51. package/dist/services/translation/locales/pt/order.d.ts +6 -0
  52. package/dist/services/translation/locales/ru/index.d.ts +6 -0
  53. package/dist/services/translation/locales/ru/order.d.ts +6 -0
  54. package/dist/services/translation/locales/tr/index.d.ts +6 -0
  55. package/dist/services/translation/locales/tr/order.d.ts +6 -0
  56. package/dist/styles/ui.css +1 -1
  57. package/dist/styles/ui.css.map +1 -1
  58. package/dist/utils/index.esm.js +1 -1
  59. package/dist/utils/index.esm.js.map +1 -1
  60. package/dist/utils/index.js +1 -1
  61. package/dist/utils/index.js.map +1 -1
  62. package/dist/utils/modules/order/constants.d.ts +1 -0
  63. package/dist/utils/modules/order/models.d.ts +9 -0
  64. package/dist/utils/modules/order/utils.d.ts +2 -0
  65. package/dist/utils/services/translation/locales/az/index.d.ts +6 -0
  66. package/dist/utils/services/translation/locales/az/order.d.ts +6 -0
  67. package/dist/utils/services/translation/locales/es/index.d.ts +6 -0
  68. package/dist/utils/services/translation/locales/es/order.d.ts +6 -0
  69. package/dist/utils/services/translation/locales/et/index.d.ts +6 -0
  70. package/dist/utils/services/translation/locales/et/order.d.ts +6 -0
  71. package/dist/utils/services/translation/locales/hr/index.d.ts +6 -0
  72. package/dist/utils/services/translation/locales/hr/order.d.ts +6 -0
  73. package/dist/utils/services/translation/locales/index.d.ts +54 -0
  74. package/dist/utils/services/translation/locales/nl/index.d.ts +6 -0
  75. package/dist/utils/services/translation/locales/nl/order.d.ts +6 -0
  76. package/dist/utils/services/translation/locales/pl/index.d.ts +6 -0
  77. package/dist/utils/services/translation/locales/pl/order.d.ts +6 -0
  78. package/dist/utils/services/translation/locales/pt/index.d.ts +6 -0
  79. package/dist/utils/services/translation/locales/pt/order.d.ts +6 -0
  80. package/dist/utils/services/translation/locales/ru/index.d.ts +6 -0
  81. package/dist/utils/services/translation/locales/ru/order.d.ts +6 -0
  82. package/dist/utils/services/translation/locales/tr/index.d.ts +6 -0
  83. package/dist/utils/services/translation/locales/tr/order.d.ts +6 -0
  84. package/package.json +1 -1
@@ -0,0 +1,2 @@
1
+ declare const OrderTip: () => import("react").JSX.Element;
2
+ export default OrderTip;
@@ -0,0 +1 @@
1
+ import "@testing-library/jest-dom";
@@ -0,0 +1 @@
1
+ export { default } from "./OrderTip";
@@ -13,9 +13,15 @@ interface Props {
13
13
  discountAmount?: number;
14
14
  discountType?: string;
15
15
  discountRate?: number;
16
+ /**
17
+ * Customer's voluntary gratuity in the branch currency. The preview never
18
+ * includes a tip, so it is resolved client-side and passed in here to render
19
+ * the tip line and the tip-inclusive grand total. Defaults to 0 (no tip).
20
+ */
21
+ tipAmount?: number;
16
22
  currency: string;
17
23
  language: string;
18
24
  orderType: orderModels.OrderType;
19
25
  }
20
- declare const OrderPaymentSummary: ({ textSize, totalPriceWithoutTax, totalPriceWithTaxAndFees, deliveryFee, serviceFee, serviceFeePercentage, serviceFeeEnabled, totalTax, discountAmount, discountType, discountRate, currency, language, orderType, }: Props) => import("react").JSX.Element;
26
+ declare const OrderPaymentSummary: ({ textSize, totalPriceWithoutTax, totalPriceWithTaxAndFees, deliveryFee, serviceFee, serviceFeePercentage, serviceFeeEnabled, totalTax, discountAmount, discountType, discountRate, tipAmount, currency, language, orderType, }: Props) => import("react").JSX.Element;
21
27
  export default OrderPaymentSummary;
@@ -0,0 +1 @@
1
+ import "@testing-library/jest-dom";