ordering-ui-external 1.1.3 → 1.1.6

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 (26) hide show
  1. package/_bundles/{0.ordering-ui.6d646b995521e7aa65da.js → 0.ordering-ui.ff2158785c5abf7d9a26.js} +0 -0
  2. package/_bundles/{1.ordering-ui.6d646b995521e7aa65da.js → 1.ordering-ui.ff2158785c5abf7d9a26.js} +0 -0
  3. package/_bundles/{3.ordering-ui.6d646b995521e7aa65da.js → 3.ordering-ui.ff2158785c5abf7d9a26.js} +0 -0
  4. package/_bundles/{4.ordering-ui.6d646b995521e7aa65da.js → 4.ordering-ui.ff2158785c5abf7d9a26.js} +0 -0
  5. package/_bundles/{5.ordering-ui.6d646b995521e7aa65da.js → 5.ordering-ui.ff2158785c5abf7d9a26.js} +0 -0
  6. package/_bundles/{6.ordering-ui.6d646b995521e7aa65da.js → 6.ordering-ui.ff2158785c5abf7d9a26.js} +0 -0
  7. package/_bundles/{7.ordering-ui.6d646b995521e7aa65da.js → 7.ordering-ui.ff2158785c5abf7d9a26.js} +1 -1
  8. package/_bundles/{7.ordering-ui.6d646b995521e7aa65da.js.LICENSE.txt → 7.ordering-ui.ff2158785c5abf7d9a26.js.LICENSE.txt} +0 -0
  9. package/_bundles/{8.ordering-ui.6d646b995521e7aa65da.js → 8.ordering-ui.ff2158785c5abf7d9a26.js} +0 -0
  10. package/_bundles/{9.ordering-ui.6d646b995521e7aa65da.js → 9.ordering-ui.ff2158785c5abf7d9a26.js} +0 -0
  11. package/_bundles/ordering-ui.ff2158785c5abf7d9a26.js +2 -0
  12. package/_bundles/{ordering-ui.6d646b995521e7aa65da.js.LICENSE.txt → ordering-ui.ff2158785c5abf7d9a26.js.LICENSE.txt} +3 -3
  13. package/_modules/index.js +8 -0
  14. package/_modules/themes/five/index.js +40 -8
  15. package/_modules/themes/five/src/components/OrderDetails/styles.js +65 -57
  16. package/_modules/themes/five/src/components/ReviewOrder/index.js +4 -4
  17. package/_modules/themes/five/src/components/ReviewProduct/index.js +4 -4
  18. package/_modules/themes/six/index.js +8 -0
  19. package/package.json +1 -1
  20. package/src/index.js +2 -0
  21. package/src/themes/five/index.js +10 -2
  22. package/src/themes/five/src/components/OrderDetails/styles.js +70 -15
  23. package/src/themes/five/src/components/ReviewOrder/index.js +1 -1
  24. package/src/themes/five/src/components/ReviewProduct/index.js +1 -1
  25. package/src/themes/six/index.js +2 -0
  26. package/_bundles/ordering-ui.6d646b995521e7aa65da.js +0 -2
@@ -54,7 +54,6 @@ import { NotNetworkConnectivity } from './src/components/NotNetworkConnectivity'
54
54
  import { Modal } from './src/components/Modal'
55
55
  import { OrderDetails } from './src/components/OrderDetails'
56
56
  import { OrderDetails as OrderDetailsKiosk } from './src/components/OrderDetails/layouts/Kiosk'
57
- import { OrderItAgain } from './src/components/OrderItAgain'
58
57
  import { OrdersOption } from './src/components/OrdersOption'
59
58
  import { OrderProgress } from './src/components/OrderProgress'
60
59
  import { OrderTypeSelectorContent } from './src/components/OrderTypeSelectorContent'
@@ -96,6 +95,11 @@ import { ReviewTrigger } from './src/components/ReviewTrigger'
96
95
  import { ReviewOrder } from './src/components/ReviewOrder'
97
96
  import { ReviewDriver } from './src/components/ReviewDriver'
98
97
  import { ReviewProduct } from './src/components/ReviewProduct'
98
+ import { ServiceForm } from './src/components/ServiceForm'
99
+ import { ProfessionalFilter } from './src/components/ProfessionalFilter'
100
+ import { SearchProducts } from './src/components/SearchProducts'
101
+ import { MultiCartsPaymethodsAndWallets } from './src/components/MultiCartsPaymethodsAndWallets'
102
+ import { ProfessionalProfile } from './src/components/ProfessionalProfile'
99
103
 
100
104
  import { Button } from './src/styles/Buttons'
101
105
  import { Input, TextArea } from './src/styles/Inputs'
@@ -159,7 +163,6 @@ export {
159
163
  NotFoundSource,
160
164
  NotNetworkConnectivity,
161
165
  OrderDetails,
162
- OrderItAgain,
163
166
  OrderDetailsKiosk,
164
167
  OrdersOption,
165
168
  OrderTypeSelectorContent,
@@ -201,6 +204,11 @@ export {
201
204
  ReviewOrder,
202
205
  ReviewDriver,
203
206
  ReviewProduct,
207
+ ServiceForm,
208
+ ProfessionalFilter,
209
+ SearchProducts,
210
+ MultiCartsPaymethodsAndWallets,
211
+ ProfessionalProfile,
204
212
 
205
213
  // styles
206
214
  Button,
@@ -6,7 +6,11 @@ export const Container = styled.div`
6
6
  display: flex;
7
7
  flex-direction: column;
8
8
  align-items: center;
9
- margin: 20px 0;
9
+ margin: 45px 0 20px;
10
+
11
+ @media (min-width: 740px) {
12
+ margin: 20px 0;
13
+ }
10
14
  `
11
15
 
12
16
  export const WrapperContainer = styled.div`
@@ -70,9 +74,11 @@ export const OrderBusiness = styled.div`
70
74
 
71
75
  export const BusinessWrapper = styled.div`
72
76
  display: flex;
73
- width: ${props => props.w ?? '100%'};
77
+ width: 100%;
74
78
  display: flex;
75
79
  align-items: center;
80
+ flex-direction: column;
81
+
76
82
  ${props => props.borderBottom && css`
77
83
  padding-bottom: 15px;
78
84
  border-bottom: 1px solid ${props => props.theme.colors.lightGray};
@@ -85,32 +91,50 @@ export const BusinessWrapper = styled.div`
85
91
  width: 100px;
86
92
  height: 100px;
87
93
  border-radius: 7.6px;
88
- margin-right: 40px;
94
+ margin-right: 0;
95
+
96
+ @media (min-width: 400px) {
97
+ margin-right: 40px;
98
+ }
99
+ }
100
+
101
+ @media (min-width: 400px) {
102
+ flex-direction: row;
103
+ width: ${props => props.w ?? '100%'};
89
104
  }
90
105
  `
91
106
 
92
107
  export const BtsOrderStatus = styled.div`
93
- width: calc(100% - 20px);
94
108
  display: flex;
95
- flex-direction: row;
109
+ flex-direction: column;
96
110
  justify-content: space-between;
97
111
  align-items: center;
98
112
  margin-top: 20px;
99
113
 
100
114
  div + div {
101
- margin-left: 30px;
115
+ margin-left: 0;
116
+ margin-top: 10px;
117
+ }
118
+ @media (min-width: 400px) {
119
+ flex-direction: row;
120
+ div + div {
121
+ margin-left: 30px;
122
+ margin-top: 0px;
123
+ }
102
124
  }
103
125
  `
104
126
 
105
127
  export const BusinessInfo = styled.div`
106
128
  width: 100%;
107
129
  box-sizing: border-box;
108
- margin-right: 15px;
130
+ margin-right: 0;
131
+ margin-top: 10px;
132
+
109
133
  h1,
110
134
  p {
111
135
  margin: 0;
112
136
  color: ${props => props.theme.colors.darkTextColor};
113
- overflow-wrap: break-word;
137
+ overflow-wrap: anywhere;
114
138
  }
115
139
 
116
140
  h2 {
@@ -122,13 +146,17 @@ export const BusinessInfo = styled.div`
122
146
  font-size: 14px;
123
147
  margin-bottom: 5px;
124
148
  }
149
+
150
+ @media (min-width: 400px) {
151
+ margin-right: 15px;
152
+ margin-top: 0;
153
+ }
125
154
  `
126
155
 
127
156
  export const ActionsBlock = styled.div`
128
157
  display: flex;
129
158
  align-items: center;
130
159
  justify-content: flex-start;
131
- flex-direction: column;
132
160
  > * {
133
161
  margin-right: 5px;
134
162
  ${props => props.theme?.rtl && css`
@@ -143,8 +171,6 @@ export const ActionsBlock = styled.div`
143
171
  }
144
172
 
145
173
  @media (min-width: 380px) {
146
- flex-direction: row;
147
-
148
174
  svg {
149
175
  font-size: 20px;
150
176
  }
@@ -185,7 +211,12 @@ export const OrderInfo = styled.div`
185
211
  font-size: 16px;
186
212
  }
187
213
  `
188
-
214
+ export const OrderIdSec = styled.h1`
215
+ font-size: 25px !important;
216
+ @media (min-width: 350px) {
217
+ font-size: 32px !important;
218
+ }
219
+ `
189
220
  export const ReviewOrderLink = styled.span`
190
221
  margin: 0;
191
222
  cursor: pointer;
@@ -201,7 +232,7 @@ export const ReviewOrderLink = styled.span`
201
232
  }
202
233
  `}
203
234
  ${({ isMargin }) => isMargin && css`
204
- margin: 0px 10px;
235
+ margin: 0 10px 0 0;
205
236
  `}
206
237
  `
207
238
 
@@ -553,7 +584,7 @@ export const TitleContainer = styled.div`
553
584
  display: flex;
554
585
  flex-direction: column;
555
586
  align-items: center;
556
- width: 50%;
587
+ width: 90%;
557
588
  margin: auto;
558
589
  button {
559
590
  display: flex;
@@ -563,6 +594,12 @@ export const TitleContainer = styled.div`
563
594
  min-width: 200px;
564
595
  max-height: 53px;
565
596
  }
597
+ > h1 {
598
+ text-align: center;
599
+ }
600
+ @media (min-width: 650px) {
601
+ width: 50%;
602
+ }
566
603
  `
567
604
 
568
605
  export const ReOrder = styled.div`
@@ -570,11 +607,20 @@ export const ReOrder = styled.div`
570
607
  align-items: center;
571
608
  margin-top: 20px;
572
609
  margin-bottom: 20px;
610
+ flex-direction: column;
573
611
 
574
612
  button {
575
613
  padding: 5px 16px;
576
614
  min-width: unset;
577
- margin: 0px 5px;
615
+ margin: 5px 5px;
616
+
617
+ @media (min-width: 650px) {
618
+ margin: 0px 5px;
619
+ }
620
+ }
621
+
622
+ @media (min-width: 650px) {
623
+ flex-direction: row;
578
624
  }
579
625
  `
580
626
 
@@ -600,10 +646,19 @@ export const HeaderTitle = styled.div`
600
646
  export const PlaceSpotSection = styled.div`
601
647
 
602
648
  `
649
+ export const OrderStatusAndLinkContainer = styled.div`
650
+ display: flex;
651
+ flex-direction: column;
652
+ justify-content: space-between;
603
653
 
654
+ @media (min-width: 450px) {
655
+ flex-direction: row;
656
+ }
657
+ `
604
658
  export const LinkWrapper = styled.div`
605
659
  display: flex;
606
660
  align-items: center;
661
+ justify-content: space-between;
607
662
  `
608
663
 
609
664
  export const OrderHistoryContainer = styled.div``
@@ -1,7 +1,7 @@
1
1
  import React, { useState, useEffect } from 'react'
2
2
  import { useForm } from 'react-hook-form'
3
3
 
4
- import { useLanguage, useUtils, OrderReview as ReviewOrderController } from 'ordering-components'
4
+ import { useLanguage, useUtils, OrderReview as ReviewOrderController } from 'ordering-components-external'
5
5
  import MdClose from '@meronex/icons/md/MdClose'
6
6
  import BsArrowRight from '@meronex/icons/bs/BsArrowRight'
7
7
  import {
@@ -1,5 +1,5 @@
1
1
  import React, { useState, useEffect } from 'react'
2
- import { useLanguage, ReviewProduct as ReviewProductController } from 'ordering-components'
2
+ import { useLanguage, ReviewProduct as ReviewProductController } from 'ordering-components-external'
3
3
  import { useForm } from 'react-hook-form'
4
4
 
5
5
  import {
@@ -52,6 +52,7 @@ import { ProductIngredient } from './src/components/ProductIngredient'
52
52
  import { GoogleLoginButton } from './src/components/GoogleLogin'
53
53
  import { AppleLogin } from './src/components/AppleLogin'
54
54
  import { SmsLoginButton } from './src/components/SmsLogin'
55
+ import { SearchProducts } from './src/components/BusinessProductsListing/SearchProducts'
55
56
 
56
57
  import { Input as Inputs } from './src/styles/Inputs'
57
58
  import { Select } from './src/styles/Select'
@@ -115,6 +116,7 @@ export {
115
116
  GoogleLoginButton,
116
117
  AppleLogin,
117
118
  SmsLoginButton,
119
+ SearchProducts,
118
120
  // styles
119
121
  Inputs,
120
122
  Select,