@salla.sa/twilight-components 1.0.75 → 1.0.77

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 (83) hide show
  1. package/dist/cjs/loader.cjs.js +1 -1
  2. package/dist/cjs/salla-add-product-button_6.cjs.entry.js +25 -19
  3. package/dist/cjs/salla-branches.cjs.entry.js +2 -2
  4. package/dist/cjs/salla-infinite-scroll.cjs.entry.js +5 -9
  5. package/dist/cjs/salla-installment.cjs.entry.js +1 -1
  6. package/dist/cjs/salla-localization-modal.cjs.entry.js +7 -7
  7. package/dist/cjs/salla-login-modal.cjs.entry.js +9 -9
  8. package/dist/cjs/salla-offer-modal.cjs.entry.js +3 -3
  9. package/dist/cjs/salla-rating-modal.cjs.entry.js +6 -6
  10. package/dist/cjs/salla-verify-modal.cjs.entry.js +25 -19
  11. package/dist/cjs/twilight-components.cjs.js +1 -1
  12. package/dist/collection/components/salla-add-product-button/salla-add-product-button.css +4 -0
  13. package/dist/collection/components/salla-branches/salla-branches.js +2 -2
  14. package/dist/collection/components/salla-button/salla-button.js +7 -5
  15. package/dist/collection/components/salla-infinite-scroll/salla-infinite-scroll.js +9 -13
  16. package/dist/collection/components/salla-installment/salla-installment.css +9 -1
  17. package/dist/collection/components/salla-localization-modal/salla-localization-modal.js +10 -10
  18. package/dist/collection/components/salla-login-modal/salla-login-modal.js +11 -11
  19. package/dist/collection/components/salla-modal/salla-modal.js +12 -12
  20. package/dist/collection/components/salla-offer-modal/salla-offer-modal.js +4 -4
  21. package/dist/collection/components/salla-product-availability/salla-product-availability.js +6 -7
  22. package/dist/collection/components/salla-rating-modal/salla-rating-modal.js +8 -8
  23. package/dist/collection/components/salla-search/salla-search.js +1 -1
  24. package/dist/collection/components/salla-tel-input/salla-tel-input.js +28 -6
  25. package/dist/collection/components/salla-verify-modal/salla-verify-modal.js +29 -39
  26. package/dist/components/salla-add-product-button.js +1 -1
  27. package/dist/components/salla-branches.js +2 -2
  28. package/dist/components/salla-button2.js +4 -1
  29. package/dist/components/salla-infinite-scroll.js +6 -10
  30. package/dist/components/salla-installment.js +1 -1
  31. package/dist/components/salla-localization-modal.js +9 -9
  32. package/dist/components/salla-login-modal.js +10 -10
  33. package/dist/components/salla-modal2.js +9 -9
  34. package/dist/components/salla-offer-modal.js +4 -4
  35. package/dist/components/salla-product-availability2.js +6 -7
  36. package/dist/components/salla-rating-modal.js +8 -8
  37. package/dist/components/salla-search.js +1 -1
  38. package/dist/components/salla-tel-input2.js +8 -3
  39. package/dist/components/salla-verify-modal2.js +27 -21
  40. package/dist/esm/loader.js +1 -1
  41. package/dist/esm/salla-add-product-button_6.entry.js +25 -19
  42. package/dist/esm/salla-branches.entry.js +2 -2
  43. package/dist/esm/salla-infinite-scroll.entry.js +5 -9
  44. package/dist/esm/salla-installment.entry.js +1 -1
  45. package/dist/esm/salla-localization-modal.entry.js +7 -7
  46. package/dist/esm/salla-login-modal.entry.js +9 -9
  47. package/dist/esm/salla-offer-modal.entry.js +3 -3
  48. package/dist/esm/salla-rating-modal.entry.js +6 -6
  49. package/dist/esm/salla-verify-modal.entry.js +25 -19
  50. package/dist/esm/twilight-components.js +1 -1
  51. package/dist/twilight-components/p-05c60bb8.entry.js +4 -0
  52. package/dist/twilight-components/{p-6c9b9c33.entry.js → p-0ed349dd.entry.js} +1 -1
  53. package/dist/twilight-components/p-34abe2be.entry.js +4 -0
  54. package/dist/twilight-components/p-4f37512b.entry.js +4 -0
  55. package/dist/twilight-components/p-5fa50b46.entry.js +4 -0
  56. package/dist/twilight-components/p-8d60c7c0.entry.js +4 -0
  57. package/dist/twilight-components/p-ca52e3ed.entry.js +4 -0
  58. package/dist/twilight-components/p-d82b45e3.entry.js +4 -0
  59. package/dist/twilight-components/p-f61388fb.entry.js +4 -0
  60. package/dist/twilight-components/twilight-components.esm.js +1 -1
  61. package/dist/types/components/salla-button/salla-button.d.ts +1 -0
  62. package/dist/types/components/salla-infinite-scroll/salla-infinite-scroll.d.ts +1 -2
  63. package/dist/types/components/salla-localization-modal/salla-localization-modal.d.ts +3 -3
  64. package/dist/types/components/salla-login-modal/salla-login-modal.d.ts +2 -2
  65. package/dist/types/components/salla-modal/salla-modal.d.ts +5 -5
  66. package/dist/types/components/salla-offer-modal/salla-offer-modal.d.ts +1 -1
  67. package/dist/types/components/salla-rating-modal/salla-rating-modal.d.ts +2 -2
  68. package/dist/types/components/salla-tel-input/salla-tel-input.d.ts +6 -2
  69. package/dist/types/components/salla-verify-modal/salla-verify-modal.d.ts +7 -7
  70. package/dist/types/components.d.ts +42 -42
  71. package/example/dist/demo.js +11 -2
  72. package/example/dist/tailwind.css +83 -38
  73. package/example/index.html +120 -29
  74. package/example/infinit-scroll.html +5 -5
  75. package/package.json +1 -1
  76. package/dist/twilight-components/p-11826c77.entry.js +0 -4
  77. package/dist/twilight-components/p-6ded3b36.entry.js +0 -4
  78. package/dist/twilight-components/p-7112157c.entry.js +0 -4
  79. package/dist/twilight-components/p-82026b3c.entry.js +0 -4
  80. package/dist/twilight-components/p-94d96cef.entry.js +0 -4
  81. package/dist/twilight-components/p-95e868cb.entry.js +0 -4
  82. package/dist/twilight-components/p-f847ccb4.entry.js +0 -4
  83. package/dist/twilight-components/p-ff7e5709.entry.js +0 -4
@@ -32,11 +32,11 @@ export declare class SallaRatingModal {
32
32
  /**
33
33
  * Show the rating modal
34
34
  */
35
- show(): Promise<NodeJS.Timeout>;
35
+ open(): Promise<NodeJS.Timeout>;
36
36
  /**
37
37
  * Show the rating modal
38
38
  */
39
- hide(): Promise<HTMLElement>;
39
+ close(): Promise<HTMLElement>;
40
40
  private handleWizard;
41
41
  private showActiveStep;
42
42
  private previousTab;
@@ -4,7 +4,11 @@ export declare class SallaTelInput {
4
4
  /**
5
5
  * Current mobile number
6
6
  */
7
- mobile: string;
7
+ phone: string;
8
+ /**
9
+ * input name
10
+ */
11
+ name: string;
8
12
  /**
9
13
  * Current country_code
10
14
  */
@@ -28,7 +32,7 @@ export declare class SallaTelInput {
28
32
  * @return {{mobile:number,countryCode:'SA'|string}}
29
33
  */
30
34
  getValues(): Promise<{
31
- mobile: string;
35
+ [x: string]: string;
32
36
  countryCode: string;
33
37
  }>;
34
38
  /**
@@ -4,6 +4,7 @@ import { EventEmitter } from '../../stencil-public-runtime';
4
4
  * @slot after-footer - placeholder position
5
5
  */
6
6
  export declare class SallaVerifyModal {
7
+ constructor();
7
8
  private modal;
8
9
  private code;
9
10
  private btn;
@@ -18,10 +19,6 @@ export declare class SallaVerifyModal {
18
19
  * Should render component without modal
19
20
  */
20
21
  withoutModal: boolean;
21
- /**
22
- * Submitting url, default will use salla api auth: `salla.api.auth.verify`
23
- */
24
- url?: string;
25
22
  /**
26
23
  * Verifying method
27
24
  */
@@ -35,17 +32,20 @@ export declare class SallaVerifyModal {
35
32
  */
36
33
  verified: EventEmitter;
37
34
  title: string;
38
- constructor();
35
+ /**
36
+ * to use: `salla.api.auth.verify` or `salla.profile.verify`
37
+ */
38
+ isProfileVerify: boolean;
39
39
  /**
40
40
  * Get current code
41
41
  * @return {string}
42
42
  */
43
43
  getCode(): Promise<string>;
44
44
  /**
45
- * Show verifying modal
45
+ * Open verifying modal
46
46
  * @param data
47
47
  */
48
- show(data: any): Promise<void>;
48
+ open(data: any): Promise<void>;
49
49
  private toggleOTPSubmit;
50
50
  private reset;
51
51
  private resendTimer;
@@ -93,6 +93,10 @@ export namespace Components {
93
93
  interface SallaConditionalFields {
94
94
  }
95
95
  interface SallaInfiniteScroll {
96
+ /**
97
+ * Is there is need to autoload next page when scroll `next-page-autoload|next-page.autoload`
98
+ */
99
+ "autoload": boolean;
96
100
  /**
97
101
  * Class selector to know the container if it's not the host `<salla-infinite-scroll>`
98
102
  */
@@ -105,10 +109,6 @@ export namespace Components {
105
109
  * Next Page element
106
110
  */
107
111
  "nextPage": string;
108
- /**
109
- * Is there is need to autoload next page when scroll `next-page-autoload|next-page.autoload`
110
- */
111
- "nextPageAutoload": boolean;
112
112
  }
113
113
  interface SallaInstallment {
114
114
  "currency": string;
@@ -116,16 +116,16 @@ export namespace Components {
116
116
  "price": string;
117
117
  }
118
118
  interface SallaLocalizationModal {
119
- "currency": string;
120
119
  /**
121
120
  * Hide the component
122
121
  */
123
- "hide": () => Promise<HTMLElement>;
122
+ "close": () => Promise<HTMLElement>;
123
+ "currency": string;
124
124
  "language": string;
125
125
  /**
126
- * Show the component
126
+ * open the component
127
127
  */
128
- "show": () => Promise<boolean>;
128
+ "open": () => Promise<boolean>;
129
129
  "submit": () => Promise<void>;
130
130
  }
131
131
  interface SallaLoginModal {
@@ -142,15 +142,15 @@ export namespace Components {
142
142
  */
143
143
  "isMobileAllowed": boolean;
144
144
  /**
145
- * Show login component
145
+ * Open login component
146
146
  */
147
- "show": () => Promise<HTMLElement>;
147
+ "open": () => Promise<HTMLElement>;
148
148
  }
149
149
  interface SallaModal {
150
150
  /**
151
- * hide the modal
151
+ * close the modal
152
152
  */
153
- "hide": () => Promise<HTMLElement>;
153
+ "close": () => Promise<HTMLElement>;
154
154
  /**
155
155
  * Icon css class, default for types `error` is `sicon-alert-engine`, `success` is `sicon-check-circle2`
156
156
  */
@@ -170,6 +170,10 @@ export namespace Components {
170
170
  */
171
171
  "loading": () => Promise<HTMLElement>;
172
172
  "noPadding": boolean;
173
+ /**
174
+ * Open the modal
175
+ */
176
+ "open": () => Promise<HTMLElement>;
173
177
  /**
174
178
  * The position of the modal
175
179
  */
@@ -179,10 +183,6 @@ export namespace Components {
179
183
  * @param modalTitle
180
184
  */
181
185
  "setTitle": (modalTitle: any) => Promise<HTMLElement>;
182
- /**
183
- * Show the modal
184
- */
185
- "show": () => Promise<HTMLElement>;
186
186
  /**
187
187
  * Stop the loading
188
188
  */
@@ -190,7 +190,7 @@ export namespace Components {
190
190
  "subTitle": string;
191
191
  "subTitleFirst": boolean;
192
192
  /**
193
- * Show the modal on rendering
193
+ * open the modal on rendering
194
194
  */
195
195
  "visible": boolean;
196
196
  /**
@@ -203,7 +203,7 @@ export namespace Components {
203
203
  * Show the available offers for the product
204
204
  * @param product_id
205
205
  */
206
- "show": (product_id: number) => Promise<any>;
206
+ "open": (product_id: number) => Promise<any>;
207
207
  /**
208
208
  * Show offer details
209
209
  * @param offer
@@ -245,15 +245,15 @@ export namespace Components {
245
245
  /**
246
246
  * Show the rating modal
247
247
  */
248
- "hide": () => Promise<HTMLElement>;
248
+ "close": () => Promise<HTMLElement>;
249
249
  /**
250
- * The order id, to rate on its products & shipping
250
+ * Show the rating modal
251
251
  */
252
- "orderId": number;
252
+ "open": () => Promise<NodeJS.Timeout>;
253
253
  /**
254
- * Show the rating modal
254
+ * The order id, to rate on its products & shipping
255
255
  */
256
- "show": () => Promise<NodeJS.Timeout>;
256
+ "orderId": number;
257
257
  }
258
258
  interface SallaRatingStars {
259
259
  "name": string;
@@ -274,16 +274,20 @@ export namespace Components {
274
274
  * Get current values
275
275
  * @return
276
276
  */
277
- "getValues": () => Promise<{ mobile: string; countryCode: string; }>;
277
+ "getValues": () => Promise<{ [x: string]: string; countryCode: string; }>;
278
278
  /**
279
279
  * Is current data valid or not
280
280
  * @return
281
281
  */
282
282
  "isValid": () => Promise<boolean>;
283
+ /**
284
+ * input name
285
+ */
286
+ "name": string;
283
287
  /**
284
288
  * Current mobile number
285
289
  */
286
- "mobile": string;
290
+ "phone": string;
287
291
  }
288
292
  interface SallaVerifyModal {
289
293
  /**
@@ -296,18 +300,14 @@ export namespace Components {
296
300
  */
297
301
  "getCode": () => Promise<string>;
298
302
  /**
299
- * Show verifying modal
303
+ * Open verifying modal
300
304
  * @param data
301
305
  */
302
- "show": (data: any) => Promise<void>;
306
+ "open": (data: any) => Promise<void>;
303
307
  /**
304
308
  * Verifying method
305
309
  */
306
310
  "type": 'mobile' | 'email';
307
- /**
308
- * Submitting url, default will use salla api auth: `salla.api.auth.verify`
309
- */
310
- "url"?: string;
311
311
  /**
312
312
  * Should render component without modal
313
313
  */
@@ -504,6 +504,10 @@ declare namespace LocalJSX {
504
504
  interface SallaConditionalFields {
505
505
  }
506
506
  interface SallaInfiniteScroll {
507
+ /**
508
+ * Is there is need to autoload next page when scroll `next-page-autoload|next-page.autoload`
509
+ */
510
+ "autoload"?: boolean;
507
511
  /**
508
512
  * Class selector to know the container if it's not the host `<salla-infinite-scroll>`
509
513
  */
@@ -516,10 +520,6 @@ declare namespace LocalJSX {
516
520
  * Next Page element
517
521
  */
518
522
  "nextPage"?: string;
519
- /**
520
- * Is there is need to autoload next page when scroll `next-page-autoload|next-page.autoload`
521
- */
522
- "nextPageAutoload"?: boolean;
523
523
  }
524
524
  interface SallaInstallment {
525
525
  "currency"?: string;
@@ -569,7 +569,7 @@ declare namespace LocalJSX {
569
569
  "subTitle"?: string;
570
570
  "subTitleFirst"?: boolean;
571
571
  /**
572
- * Show the modal on rendering
572
+ * open the modal on rendering
573
573
  */
574
574
  "visible"?: boolean;
575
575
  /**
@@ -617,10 +617,14 @@ declare namespace LocalJSX {
617
617
  */
618
618
  "countryCode"?: string;
619
619
  /**
620
- * Current mobile number
620
+ * input name
621
621
  */
622
- "mobile"?: string;
622
+ "name"?: string;
623
623
  "onEnterClicked"?: (event: CustomEvent<any>) => void;
624
+ /**
625
+ * Current mobile number
626
+ */
627
+ "phone"?: string;
624
628
  }
625
629
  interface SallaVerifyModal {
626
630
  /**
@@ -635,10 +639,6 @@ declare namespace LocalJSX {
635
639
  * Verifying method
636
640
  */
637
641
  "type"?: 'mobile' | 'email';
638
- /**
639
- * Submitting url, default will use salla api auth: `salla.api.auth.verify`
640
- */
641
- "url"?: string;
642
642
  /**
643
643
  * Should render component without modal
644
644
  */
@@ -1,4 +1,4 @@
1
- let counter = 1;
1
+ let counter = 6;
2
2
  salla.infiniteScroll.event.onAppend((doc, url, nodes) => nodes.forEach(node => node.innerText = counter++));
3
3
 
4
4
  salla.event.on('rating::ready', rating => rating.order = {
@@ -75,7 +75,7 @@ function showOffer() {
75
75
  "name" : "Buy one and get one free from the following products",
76
76
  "message" : "New Offer",
77
77
  "expiry_date" : "2022-12-31",
78
- "formatted_date": "31 ديسمبر 2022",
78
+ "formatted_date": "31 Des 2022",
79
79
  "get" : {
80
80
  "products": [
81
81
  {
@@ -142,3 +142,12 @@ function showOffer() {
142
142
  }
143
143
  });
144
144
  }
145
+
146
+
147
+ function getTelValues(){
148
+ const tel = document.querySelector('.tel-input-methods'),
149
+ msg = document.querySelector('#get-values');
150
+ tel.getValues().then((result)=>{
151
+ msg.innerText = `Mobile: ${result.mobile}, countryCode: ${result.countryCode}`;
152
+ })
153
+ }
@@ -710,8 +710,8 @@ video {
710
710
  grid-column: span 3 / span 3;
711
711
  }
712
712
 
713
- .col-span-2 {
714
- grid-column: span 2 / span 2;
713
+ .col-span-6 {
714
+ grid-column: span 6 / span 6;
715
715
  }
716
716
 
717
717
  .mx-auto {
@@ -724,11 +724,6 @@ video {
724
724
  margin-bottom: -0.25rem;
725
725
  }
726
726
 
727
- .my-4 {
728
- margin-top: 1rem;
729
- margin-bottom: 1rem;
730
- }
731
-
732
727
  .ml-6 {
733
728
  margin-left: 1.5rem;
734
729
  }
@@ -801,6 +796,10 @@ video {
801
796
  margin-bottom: 2rem;
802
797
  }
803
798
 
799
+ .mb-10 {
800
+ margin-bottom: 2.5rem;
801
+ }
802
+
804
803
  .block {
805
804
  display: block;
806
805
  }
@@ -861,10 +860,6 @@ video {
861
860
  grid-template-columns: repeat(2, minmax(0, 1fr));
862
861
  }
863
862
 
864
- .grid-cols-4 {
865
- grid-template-columns: repeat(4, minmax(0, 1fr));
866
- }
867
-
868
863
  .grid-cols-5 {
869
864
  grid-template-columns: repeat(5, minmax(0, 1fr));
870
865
  }
@@ -873,6 +868,10 @@ video {
873
868
  flex-wrap: wrap;
874
869
  }
875
870
 
871
+ .items-start {
872
+ align-items: flex-start;
873
+ }
874
+
876
875
  .items-center {
877
876
  align-items: center;
878
877
  }
@@ -893,10 +892,6 @@ video {
893
892
  gap: 1.5rem;
894
893
  }
895
894
 
896
- .gap-4 {
897
- gap: 1rem;
898
- }
899
-
900
895
  .gap-x-8 {
901
896
  -moz-column-gap: 2rem;
902
897
  column-gap: 2rem;
@@ -948,6 +943,14 @@ video {
948
943
  border-radius: 0.375rem;
949
944
  }
950
945
 
946
+ .border {
947
+ border-width: 1px;
948
+ }
949
+
950
+ .border-2 {
951
+ border-width: 2px;
952
+ }
953
+
951
954
  .border-b {
952
955
  border-bottom-width: 1px;
953
956
  }
@@ -956,10 +959,6 @@ video {
956
959
  border-left-width: 1px;
957
960
  }
958
961
 
959
- .border-dashed {
960
- border-style: dashed;
961
- }
962
-
963
962
  .border-gray-100 {
964
963
  --tw-border-opacity: 1;
965
964
  border-color: rgba(244, 244, 245, var(--tw-border-opacity));
@@ -970,6 +969,11 @@ video {
970
969
  border-color: rgba(228, 228, 231, var(--tw-border-opacity));
971
970
  }
972
971
 
972
+ .border-red-500 {
973
+ --tw-border-opacity: 1;
974
+ border-color: rgba(239, 68, 68, var(--tw-border-opacity));
975
+ }
976
+
973
977
  .bg-gray-50 {
974
978
  --tw-bg-opacity: 1;
975
979
  background-color: rgba(250, 250, 250, var(--tw-bg-opacity));
@@ -1005,8 +1009,33 @@ video {
1005
1009
  background-color: rgba(250, 245, 255, var(--tw-bg-opacity));
1006
1010
  }
1007
1011
 
1008
- .p-3 {
1009
- padding: 0.75rem;
1012
+ .bg-green-100 {
1013
+ --tw-bg-opacity: 1;
1014
+ background-color: rgba(220, 252, 231, var(--tw-bg-opacity));
1015
+ }
1016
+
1017
+ .bg-red-100 {
1018
+ --tw-bg-opacity: 1;
1019
+ background-color: rgba(254, 226, 226, var(--tw-bg-opacity));
1020
+ }
1021
+
1022
+ .bg-yellow-100 {
1023
+ --tw-bg-opacity: 1;
1024
+ background-color: rgba(254, 249, 195, var(--tw-bg-opacity));
1025
+ }
1026
+
1027
+ .bg-gray-100 {
1028
+ --tw-bg-opacity: 1;
1029
+ background-color: rgba(244, 244, 245, var(--tw-bg-opacity));
1030
+ }
1031
+
1032
+ .bg-purple-100 {
1033
+ --tw-bg-opacity: 1;
1034
+ background-color: rgba(243, 232, 255, var(--tw-bg-opacity));
1035
+ }
1036
+
1037
+ .p-4 {
1038
+ padding: 1rem;
1010
1039
  }
1011
1040
 
1012
1041
  .px-4 {
@@ -1059,11 +1088,6 @@ video {
1059
1088
  padding-right: 0.5rem;
1060
1089
  }
1061
1090
 
1062
- .py-10 {
1063
- padding-top: 2.5rem;
1064
- padding-bottom: 2.5rem;
1065
- }
1066
-
1067
1091
  .pl-6 {
1068
1092
  padding-left: 1.5rem;
1069
1093
  }
@@ -1124,6 +1148,10 @@ video {
1124
1148
  font-weight: 600;
1125
1149
  }
1126
1150
 
1151
+ .font-bold {
1152
+ font-weight: 700;
1153
+ }
1154
+
1127
1155
  .leading-6 {
1128
1156
  line-height: 1.5rem;
1129
1157
  }
@@ -1152,11 +1180,6 @@ video {
1152
1180
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
1153
1181
  }
1154
1182
 
1155
- .shadow-sm {
1156
- --tw-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
1157
- box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
1158
- }
1159
-
1160
1183
  .ring-1 {
1161
1184
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
1162
1185
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);
@@ -1664,6 +1687,7 @@ video {
1664
1687
  }
1665
1688
 
1666
1689
  .s-button-text {
1690
+ pointer-events: none;
1667
1691
  display: flex;
1668
1692
  align-items: center;
1669
1693
  transition-property: opacity;
@@ -1919,7 +1943,6 @@ video {
1919
1943
  }
1920
1944
 
1921
1945
  .s-login-modal-input {
1922
- margin-bottom: 1rem;
1923
1946
  height: 2.5rem;
1924
1947
  width: 100%;
1925
1948
  border-radius: 0.375rem;
@@ -2752,7 +2775,7 @@ video {
2752
2775
  }
2753
2776
 
2754
2777
  .s-offer-modal-next-btn {
2755
- --tw-translate-x: -100%;
2778
+ --tw-translate-x: 100%;
2756
2779
  transform: var(--tw-transform);
2757
2780
  }
2758
2781
 
@@ -2765,7 +2788,7 @@ video {
2765
2788
  }
2766
2789
 
2767
2790
  .s-offer-modal-prev-btn {
2768
- --tw-translate-x: 100%;
2791
+ --tw-translate-x: -100%;
2769
2792
  transform: var(--tw-transform);
2770
2793
  }
2771
2794
 
@@ -2784,6 +2807,10 @@ video {
2784
2807
  opacity: 1;
2785
2808
  }
2786
2809
 
2810
+ .s-product-availability-wrap {
2811
+ width: 100%;
2812
+ }
2813
+
2787
2814
  .s-product-availability-subscribed {
2788
2815
  display: flex;
2789
2816
  width: 100%;
@@ -2833,7 +2860,6 @@ video {
2833
2860
  }
2834
2861
 
2835
2862
  .s-product-availability-input {
2836
- margin-bottom: 1rem;
2837
2863
  height: 2.5rem;
2838
2864
  width: 100%;
2839
2865
  border-radius: 0.375rem;
@@ -3545,15 +3571,27 @@ video {
3545
3571
  display: flex;
3546
3572
  width: 100%;
3547
3573
  align-items: center;
3548
- justify-content: space-between;
3549
3574
  font-size: 0.875rem;
3550
3575
  line-height: 1.25rem;
3551
3576
  font-weight: 700;
3552
3577
  color: var(--color-main);
3553
3578
  }
3554
3579
 
3580
+ .s-search-product-regular-price {
3581
+ padding-left: 0.75rem;
3582
+ padding-right: 0.75rem;
3583
+ font-weight: 500;
3584
+ --tw-text-opacity: 1;
3585
+ color: rgba(161, 161, 170, var(--tw-text-opacity));
3586
+ text-decoration: line-through;
3587
+ }
3588
+
3589
+ .s-search-product-not-available {
3590
+ --tw-grayscale: grayscale(100%);
3591
+ filter: var(--tw-filter);
3592
+ }
3593
+
3555
3594
  .s-tel-input-control {
3556
- margin-bottom: 1rem;
3557
3595
  height: 2.5rem;
3558
3596
  width: 100%;
3559
3597
  border-radius: 0.375rem;
@@ -3583,7 +3621,7 @@ video {
3583
3621
  .s-tel-input-error-msg {
3584
3622
  margin-bottom: 0.625rem;
3585
3623
  display: block;
3586
- height: 1rem;
3624
+ height: 1.5rem;
3587
3625
  padding-top: 0.25rem;
3588
3626
  font-size: 0.75rem;
3589
3627
  line-height: 1rem;
@@ -3643,8 +3681,10 @@ video {
3643
3681
  border-color: rgba(228, 228, 231, var(--tw-border-opacity));
3644
3682
  padding-left: 0.5rem;
3645
3683
  padding-right: 0.5rem;
3684
+ text-align: center;
3646
3685
  font-size: 1.125rem;
3647
3686
  line-height: 1.75rem;
3687
+ font-weight: 700;
3648
3688
  transition-property: background-color, border-color, color, fill, stroke;
3649
3689
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
3650
3690
  transition-duration: 150ms;
@@ -3726,6 +3766,11 @@ video {
3726
3766
  background-color: rgba(244, 244, 245, var(--tw-bg-opacity));
3727
3767
  }
3728
3768
 
3769
+ .me-6 {
3770
+ -webkit-margin-end: 1.5rem;
3771
+ margin-inline-end: 1.5rem;
3772
+ }
3773
+
3729
3774
  .hover\:text-primary:hover {
3730
3775
  color: var(--color-main);
3731
3776
  }