@restaround/react 1.3.30 → 1.3.34

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 (64) hide show
  1. package/Readme.md +49 -0
  2. package/dist/components/BackIcon/BackIcon.d.ts +8 -0
  3. package/dist/components/BackIcon/index.d.ts +1 -0
  4. package/dist/components/Pricing/Pricing.d.ts +4 -3
  5. package/dist/components/Pricing/PricingPlanAmount.d.ts +3 -3
  6. package/dist/components/PublicMenu/Header/Header.d.ts +3 -2
  7. package/dist/constants/constants/index.d.ts +1 -0
  8. package/dist/constants/index.d.ts +1 -0
  9. package/dist/constants/index.esm.js +1 -1
  10. package/dist/constants/index.esm.js.map +1 -1
  11. package/dist/constants/index.js +1 -1
  12. package/dist/constants/index.js.map +1 -1
  13. package/dist/constants/{constants/pricing.d.ts → modules/subscription/constants.d.ts} +3 -1
  14. package/dist/constants/modules/subscription/models.d.ts +36 -0
  15. package/dist/index.esm.js +1 -1
  16. package/dist/index.esm.js.map +1 -1
  17. package/dist/index.js +1 -1
  18. package/dist/index.js.map +1 -1
  19. package/dist/models/index.d.ts +1 -1
  20. package/dist/models/index.esm.js +1 -1
  21. package/dist/models/index.esm.js.map +1 -1
  22. package/dist/models/index.js +1 -1
  23. package/dist/models/index.js.map +1 -1
  24. package/dist/models/menu.d.ts +1 -1
  25. package/dist/models/models/index.d.ts +1 -1
  26. package/dist/models/models/menu.d.ts +1 -1
  27. package/dist/models/modules/branch/models.d.ts +1 -0
  28. package/dist/models/modules/business/models.d.ts +2 -19
  29. package/dist/models/modules/subscription/models.d.ts +36 -0
  30. package/dist/modules/branch/models.d.ts +1 -0
  31. package/dist/modules/business/models.d.ts +2 -19
  32. package/dist/{constants/pricing.d.ts → modules/subscription/constants.d.ts} +3 -1
  33. package/dist/modules/subscription/index.d.ts +3 -0
  34. package/dist/modules/subscription/models.d.ts +36 -0
  35. package/dist/modules/subscription/utils.d.ts +1 -0
  36. package/dist/services/translation/locales/az/index.d.ts +2 -0
  37. package/dist/services/translation/locales/az/pricing.d.ts +2 -0
  38. package/dist/services/translation/locales/et/index.d.ts +2 -0
  39. package/dist/services/translation/locales/et/pricing.d.ts +2 -0
  40. package/dist/services/translation/locales/index.d.ts +10 -0
  41. package/dist/services/translation/locales/nl/index.d.ts +2 -0
  42. package/dist/services/translation/locales/nl/pricing.d.ts +2 -0
  43. package/dist/services/translation/locales/ru/index.d.ts +2 -0
  44. package/dist/services/translation/locales/ru/pricing.d.ts +2 -0
  45. package/dist/services/translation/locales/tr/index.d.ts +2 -0
  46. package/dist/services/translation/locales/tr/pricing.d.ts +2 -0
  47. package/dist/styles/ui.css +1 -1
  48. package/dist/styles/ui.css.map +1 -1
  49. package/dist/utils/image.d.ts +1 -1
  50. package/dist/utils/index.esm.js +1 -1
  51. package/dist/utils/index.esm.js.map +1 -1
  52. package/dist/utils/index.js +1 -1
  53. package/dist/utils/index.js.map +1 -1
  54. package/dist/utils/models/index.d.ts +1 -1
  55. package/dist/utils/models/menu.d.ts +1 -1
  56. package/dist/utils/modules/branch/models.d.ts +1 -0
  57. package/dist/utils/modules/business/models.d.ts +2 -19
  58. package/dist/utils/modules/subscription/models.d.ts +36 -0
  59. package/dist/utils/utils/image.d.ts +1 -1
  60. package/package.json +6 -6
  61. package/dist/constants/models/pricing.d.ts +0 -17
  62. package/dist/models/models/pricing.d.ts +0 -17
  63. package/dist/models/pricing.d.ts +0 -17
  64. package/dist/utils/models/pricing.d.ts +0 -17
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@restaround/react",
3
- "version": "1.3.30",
3
+ "version": "1.3.34",
4
4
  "description": "React Library by restaround.co",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.esm.js",
@@ -58,7 +58,7 @@
58
58
  "homepage": "https://restaround.co",
59
59
  "peerDependencies": {
60
60
  "@sorocraft/js-utils": ">=1.0.43",
61
- "@sorocraft/ui": ">=1.2.33",
61
+ "@sorocraft/ui": ">=1.2.40",
62
62
  "react": ">=19.0.0",
63
63
  "react-dom": ">=19.0.0"
64
64
  },
@@ -78,17 +78,17 @@
78
78
  "eslint-plugin-react": "^7.37.5",
79
79
  "eslint-plugin-react-hooks": "^5.2.0",
80
80
  "eslint-plugin-unicorn": "^60.0.0",
81
- "jest": "^30.1.1",
82
- "jest-environment-jsdom": "^30.1.1",
81
+ "jest": "^30.1.3",
82
+ "jest-environment-jsdom": "^30.1.2",
83
83
  "rimraf": "^6.0.1",
84
84
  "rollup-plugin-copy": "^3.5.0",
85
85
  "rollup-plugin-peer-deps-external": "^2.2.4",
86
86
  "rollup-plugin-postcss": "^4.0.2",
87
- "sass": "^1.91.0",
87
+ "sass": "^1.92.0",
88
88
  "ts-jest": "^29.4.1",
89
89
  "ts-node": "^10.9.2",
90
90
  "tslib": "^2.8.1",
91
91
  "typescript": "^5.9.2",
92
- "typescript-eslint": "^8.41.0"
92
+ "typescript-eslint": "^8.42.0"
93
93
  }
94
94
  }
@@ -1,17 +0,0 @@
1
- export declare enum PlanType {
2
- APPETIZER = "appetizer",
3
- MAIN_COURSE = "mainCourse",
4
- CHEFS_SPECIAL = "chefsSpecial"
5
- }
6
- export interface PricingPlan {
7
- title: string;
8
- price: {
9
- monthly: number;
10
- annually: number;
11
- };
12
- discountedPrice?: number;
13
- }
14
- export interface PricingPlans {
15
- [key: string]: PricingPlan;
16
- }
17
- export type PricingInterval = "monthly" | "annually";
@@ -1,17 +0,0 @@
1
- export declare enum PlanType {
2
- APPETIZER = "appetizer",
3
- MAIN_COURSE = "mainCourse",
4
- CHEFS_SPECIAL = "chefsSpecial"
5
- }
6
- export interface PricingPlan {
7
- title: string;
8
- price: {
9
- monthly: number;
10
- annually: number;
11
- };
12
- discountedPrice?: number;
13
- }
14
- export interface PricingPlans {
15
- [key: string]: PricingPlan;
16
- }
17
- export type PricingInterval = "monthly" | "annually";
@@ -1,17 +0,0 @@
1
- export declare enum PlanType {
2
- APPETIZER = "appetizer",
3
- MAIN_COURSE = "mainCourse",
4
- CHEFS_SPECIAL = "chefsSpecial"
5
- }
6
- export interface PricingPlan {
7
- title: string;
8
- price: {
9
- monthly: number;
10
- annually: number;
11
- };
12
- discountedPrice?: number;
13
- }
14
- export interface PricingPlans {
15
- [key: string]: PricingPlan;
16
- }
17
- export type PricingInterval = "monthly" | "annually";
@@ -1,17 +0,0 @@
1
- export declare enum PlanType {
2
- APPETIZER = "appetizer",
3
- MAIN_COURSE = "mainCourse",
4
- CHEFS_SPECIAL = "chefsSpecial"
5
- }
6
- export interface PricingPlan {
7
- title: string;
8
- price: {
9
- monthly: number;
10
- annually: number;
11
- };
12
- discountedPrice?: number;
13
- }
14
- export interface PricingPlans {
15
- [key: string]: PricingPlan;
16
- }
17
- export type PricingInterval = "monthly" | "annually";