@licklist/design 0.69.3-dev.7 → 0.69.3

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 (201) hide show
  1. package/dist/affiliate/form/AffiliateForm.d.ts.map +1 -1
  2. package/dist/auth/Login/LoginComponent.js +1 -2
  3. package/dist/events/edit-event-modal/component/EditEventForm/EditEventForm.d.ts +1 -2
  4. package/dist/events/edit-event-modal/component/EditEventForm/EditEventForm.d.ts.map +1 -1
  5. package/dist/events/edit-event-modal/component/EditEventForm/EditEventForm.js +2 -3
  6. package/dist/events/edit-event-modal/component/SelectEventProductSet/SelectEventProductSet.d.ts +1 -2
  7. package/dist/events/edit-event-modal/component/SelectEventProductSet/SelectEventProductSet.d.ts.map +1 -1
  8. package/dist/events/edit-event-modal/component/SelectEventProductSet/SelectEventProductSet.js +28 -31
  9. package/dist/events/edit-event-modal/component/SelectEventProductSet/component/EditEventProductSet.d.ts +1 -2
  10. package/dist/events/edit-event-modal/component/SelectEventProductSet/component/EditEventProductSet.d.ts.map +1 -1
  11. package/dist/events/edit-event-modal/component/SelectEventProductSet/component/EditEventProductSet.js +2 -14
  12. package/dist/events/edit-event-modal/utils/getDefaultProductSet.d.ts.map +1 -1
  13. package/dist/events/edit-event-modal/utils/getDefaultProductSet.js +2 -3
  14. package/dist/events/event-card/utils.d.ts +0 -1
  15. package/dist/events/event-card/utils.d.ts.map +1 -1
  16. package/dist/events/event-card/utils.js +2 -6
  17. package/dist/iframe/activity-card/ActivityCard.d.ts +4 -7
  18. package/dist/iframe/activity-card/ActivityCard.d.ts.map +1 -1
  19. package/dist/iframe/activity-card/ActivityCard.js +40 -59
  20. package/dist/iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.d.ts.map +1 -1
  21. package/dist/iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.js +0 -13
  22. package/dist/iframe/order-process/components/CategoryProduct/components/ProductQuantityInput/ProductQuantityInput.d.ts.map +1 -1
  23. package/dist/iframe/order-process/components/CategoryProduct/components/ProductQuantityInput/ProductQuantityInput.js +0 -2
  24. package/dist/iframe/payment/order-items-table/utils/paymentSummary.d.ts.map +1 -1
  25. package/dist/iframe/ryft/RyftPaymentForm.d.ts +2 -2
  26. package/dist/iframe/ryft/RyftPaymentForm.d.ts.map +1 -1
  27. package/dist/iframe/ryft/RyftPaymentForm.js +2 -8
  28. package/dist/iframe/ryft/utils/ryft-form.d.ts +1 -2
  29. package/dist/iframe/ryft/utils/ryft-form.d.ts.map +1 -1
  30. package/dist/iframe/ryft/utils/ryft-form.js +1 -20
  31. package/dist/index.js +0 -1
  32. package/dist/layout/DropDown.d.ts +1 -2
  33. package/dist/layout/DropDown.d.ts.map +1 -1
  34. package/dist/modals/confirmation/ConfirmModal.d.ts +1 -3
  35. package/dist/modals/confirmation/ConfirmModal.d.ts.map +1 -1
  36. package/dist/modals/confirmation/ConfirmModal.js +8 -172
  37. package/dist/notification/email-template/control/EmailTemplateControl.d.ts.map +1 -1
  38. package/dist/notification/email-template/control/EmailTemplateControl.js +0 -3
  39. package/dist/product-set/card/ProductSetCard.d.ts +2 -6
  40. package/dist/product-set/card/ProductSetCard.d.ts.map +1 -1
  41. package/dist/product-set/card/ProductSetCard.js +11 -30
  42. package/dist/product-set/control/DateAndRecurrenceInput.d.ts.map +1 -1
  43. package/dist/product-set/control/DateAndRecurrenceInput.js +3 -4
  44. package/dist/product-set/control/DateInput.d.ts.map +1 -1
  45. package/dist/product-set/control/DateInput.js +2 -2
  46. package/dist/product-set/control/ProductSetControl.d.ts +0 -4
  47. package/dist/product-set/control/ProductSetControl.d.ts.map +1 -1
  48. package/dist/product-set/control/ProductSetControl.js +3 -30
  49. package/dist/product-set/form/MobileFooter.d.ts.map +1 -1
  50. package/dist/product-set/form/ProductCategoriesControl.d.ts.map +1 -1
  51. package/dist/product-set/form/ProductCategoriesControl.js +2 -48
  52. package/dist/product-set/form/ProductSetForm.d.ts +1 -4
  53. package/dist/product-set/form/ProductSetForm.d.ts.map +1 -1
  54. package/dist/product-set/form/ProductSetForm.js +1 -64
  55. package/dist/product-set/form/ProductZonesControl.d.ts.map +1 -1
  56. package/dist/product-set/form/ProductZonesControl.js +2 -0
  57. package/dist/product-set/form/ProductsControl.js +0 -1
  58. package/dist/product-set/form/SelectCategoryModal.d.ts +0 -12
  59. package/dist/product-set/form/SelectCategoryModal.d.ts.map +1 -1
  60. package/dist/product-set/form/SelectCategoryModal.js +1 -1
  61. package/dist/product-set/form/SubProductsControl.d.ts.map +1 -1
  62. package/dist/product-set/form/SubProductsControl.js +3 -0
  63. package/dist/product-set/form/VenueMapsControl.d.ts.map +1 -1
  64. package/dist/product-set/form/VenueMapsControl.js +3 -0
  65. package/dist/product-set/form/index.d.ts +0 -1
  66. package/dist/product-set/form/index.d.ts.map +1 -1
  67. package/dist/product-set/product/ProductControl.d.ts.map +1 -1
  68. package/dist/product-set/product/booking-management/ProductBookingManagementControl.d.ts.map +1 -1
  69. package/dist/product-set/product/booking-management/ProductBookingManagementControl.js +0 -6
  70. package/dist/product-set/product/deposit/ProductDepositControl.d.ts.map +1 -1
  71. package/dist/product-set/product/deposit/ProductDepositControl.js +0 -3
  72. package/dist/product-set/product/duration/ProductDurationControl.d.ts.map +1 -1
  73. package/dist/product-set/product/duration/ProductDurationControl.js +0 -6
  74. package/dist/product-set/product/price/ProductPriceControl.d.ts.map +1 -1
  75. package/dist/product-set/product/price/ProductPriceControl.js +0 -3
  76. package/dist/product-set/product/quantity/ProductQuantityConstantControl.d.ts.map +1 -1
  77. package/dist/product-set/product/quantity/ProductQuantityConstantControl.js +0 -6
  78. package/dist/product-set/product/quantity/ProductQuantityControl.d.ts.map +1 -1
  79. package/dist/product-set/product/quantity/ProductQuantityControl.js +0 -6
  80. package/dist/product-set/product/quantity/ProductQuantityRechargingControl.d.ts.map +1 -1
  81. package/dist/product-set/product/quantity/ProductQuantityRechargingControl.js +1 -4
  82. package/dist/product-set/product-category/ProductCategoryControl.d.ts.map +1 -1
  83. package/dist/product-set/product-category/ProductCategoryControl.js +0 -12
  84. package/dist/product-set/utils/index.d.ts +0 -7
  85. package/dist/product-set/utils/index.d.ts.map +1 -1
  86. package/dist/product-set/utils/index.js +1 -10
  87. package/dist/recurrence-input/RecurrenceEndInput.d.ts.map +1 -1
  88. package/dist/recurrence-input/RecurrenceEndInput.js +0 -3
  89. package/dist/recurring-date-picker-input/RecurrenceEndInput.d.ts.map +1 -1
  90. package/dist/resource/form/components/CapacityControl.d.ts.map +1 -1
  91. package/dist/resource/form/components/CapacityControl.js +0 -3
  92. package/dist/resource/form/components/SortControl.d.ts.map +1 -1
  93. package/dist/resource/form/components/SortControl.js +0 -3
  94. package/dist/sales/booking/results/components/ResultCard.d.ts.map +1 -1
  95. package/dist/sales/booking/results/components/ResultCard.js +2 -0
  96. package/dist/sales/coupon/control/CouponFormControl.d.ts.map +1 -1
  97. package/dist/sales/coupon/control/CouponFormControl.js +0 -21
  98. package/dist/setting/admin/PaymentFeeForm.d.ts.map +1 -1
  99. package/dist/setting/admin/PaymentFeeForm.js +1 -16
  100. package/dist/setting/dashboard/DashboardSettingForm.d.ts.map +1 -1
  101. package/dist/setting/dashboard/DashboardSettingForm.js +1 -4
  102. package/dist/snippet/snippet-template/preview/Preview.d.ts.map +1 -1
  103. package/dist/snippet/snippet-template/preview/Preview.js +0 -6
  104. package/dist/sortable-tree/SortableTreeItem.d.ts +1 -2
  105. package/dist/sortable-tree/SortableTreeItem.d.ts.map +1 -1
  106. package/dist/sortable-tree/SortableTreeItem.js +4 -10
  107. package/dist/static/CurrencyNumberInput.d.ts.map +1 -1
  108. package/dist/static/CurrencyNumberInput.js +0 -3
  109. package/dist/static/form-number-input/FormNumberInput.d.ts.map +1 -1
  110. package/dist/static/form-number-input/FormNumberInput.js +0 -3
  111. package/dist/static/number-input/NumberInput.d.ts.map +1 -1
  112. package/dist/static/number-input/NumberInput.js +0 -3
  113. package/dist/styles/activity-card/{ActivitiesCard.scss → GridActivitiesCard.scss} +5 -19
  114. package/dist/styles/activity-card/ListActivitiesCard.scss +42 -12
  115. package/dist/styles/activity-card/_index.scss +1 -1
  116. package/dist/styles/availability-indicator/AvailabilityIndicator.scss +0 -9
  117. package/dist/styles/iframe-external-modal/IframeExternalModal.scss +2 -2
  118. package/dist/styles/product-set/ProductSetForm.scss +0 -22
  119. package/dist/styles/ryft-payment-form/RyftPaymentForm.scss +0 -25
  120. package/dist/styles/sales/BookingResults.scss +1 -1
  121. package/dist/typeahead/Typeahead.d.ts +1 -5
  122. package/dist/typeahead/Typeahead.d.ts.map +1 -1
  123. package/dist/typeahead/Typeahead.js +2 -9
  124. package/dist/zone/form/components/GameDurationControl.d.ts.map +1 -1
  125. package/dist/zone/form/components/GameDurationControl.js +0 -3
  126. package/dist/zone/form/components/SortControl.d.ts.map +1 -1
  127. package/dist/zone/form/components/SortControl.js +0 -3
  128. package/package.json +6 -8
  129. package/src/affiliate/form/AffiliateForm.tsx +0 -1
  130. package/src/auth/Login/LoginComponent.tsx +1 -1
  131. package/src/events/edit-event-modal/component/EditEventForm/EditEventForm.tsx +0 -3
  132. package/src/events/edit-event-modal/component/SelectEventProductSet/SelectEventProductSet.tsx +85 -88
  133. package/src/events/edit-event-modal/component/SelectEventProductSet/component/EditEventProductSet.tsx +1 -11
  134. package/src/events/edit-event-modal/utils/getDefaultProductSet.ts +1 -2
  135. package/src/events/event-card/utils.ts +1 -5
  136. package/src/iframe/activity-card/ActivityCard.tsx +24 -41
  137. package/src/iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.tsx +0 -9
  138. package/src/iframe/order-process/components/CategoryProduct/components/ProductQuantityInput/ProductQuantityInput.tsx +0 -1
  139. package/src/iframe/payment/order-items-table/utils/paymentSummary.tsx +0 -1
  140. package/src/iframe/ryft/RyftPaymentForm.tsx +4 -9
  141. package/src/iframe/ryft/utils/ryft-form.ts +2 -28
  142. package/src/layout/DropDown.tsx +1 -1
  143. package/src/modals/confirmation/ConfirmModal.tsx +3 -19
  144. package/src/notification/email-template/control/EmailTemplateControl.tsx +0 -1
  145. package/src/product-set/card/ProductSetCard.tsx +8 -47
  146. package/src/product-set/control/DateAndRecurrenceInput.tsx +1 -3
  147. package/src/product-set/control/DateInput.tsx +1 -2
  148. package/src/product-set/control/ProductSetControl.tsx +52 -52
  149. package/src/product-set/form/MobileFooter.tsx +3 -1
  150. package/src/product-set/form/ProductCategoriesControl.tsx +1 -37
  151. package/src/product-set/form/ProductSetForm.tsx +2 -24
  152. package/src/product-set/form/ProductZonesControl.tsx +4 -1
  153. package/src/product-set/form/SelectCategoryModal.tsx +2 -2
  154. package/src/product-set/form/SubProductsControl.tsx +3 -0
  155. package/src/product-set/form/VenueMapsControl.tsx +3 -0
  156. package/src/product-set/form/index.ts +0 -1
  157. package/src/product-set/product/ProductControl.tsx +1 -0
  158. package/src/product-set/product/advanced-options/AdvancedOptions.tsx +1 -1
  159. package/src/product-set/product/booking-management/ProductBookingManagementControl.tsx +0 -2
  160. package/src/product-set/product/deposit/ProductDepositControl.tsx +0 -1
  161. package/src/product-set/product/duration/ProductDurationControl.tsx +0 -2
  162. package/src/product-set/product/price/ProductPriceControl.tsx +0 -1
  163. package/src/product-set/product/quantity/ProductQuantityConstantControl.tsx +0 -2
  164. package/src/product-set/product/quantity/ProductQuantityControl.tsx +0 -2
  165. package/src/product-set/product/quantity/ProductQuantityRechargingControl.tsx +0 -1
  166. package/src/product-set/product-category/ProductCategoryControl.tsx +0 -4
  167. package/src/product-set/product-zone/ProductZoneControl.tsx +1 -1
  168. package/src/product-set/utils/index.ts +0 -11
  169. package/src/recurrence-input/RecurrenceEndInput.tsx +0 -1
  170. package/src/recurring-date-picker-input/RecurrenceEndInput.tsx +0 -1
  171. package/src/resource/form/components/CapacityControl.tsx +0 -1
  172. package/src/resource/form/components/SortControl.tsx +0 -1
  173. package/src/sales/booking/results/components/ResultCard.tsx +2 -0
  174. package/src/sales/coupon/control/CouponFormControl.tsx +0 -7
  175. package/src/setting/admin/PaymentFeeForm.tsx +0 -5
  176. package/src/setting/dashboard/DashboardSettingForm.tsx +0 -1
  177. package/src/snippet/snippet-template/preview/Preview.tsx +0 -6
  178. package/src/sortable-tree/SortableTreeItem.tsx +0 -6
  179. package/src/static/CurrencyNumberInput.tsx +0 -1
  180. package/src/static/form-number-input/FormNumberInput.tsx +0 -1
  181. package/src/static/number-input/NumberInput.tsx +0 -1
  182. package/src/styles/activity-card/{ActivitiesCard.scss → GridActivitiesCard.scss} +5 -19
  183. package/src/styles/activity-card/ListActivitiesCard.scss +42 -12
  184. package/src/styles/activity-card/_index.scss +1 -1
  185. package/src/styles/availability-indicator/AvailabilityIndicator.scss +0 -9
  186. package/src/styles/iframe-external-modal/IframeExternalModal.scss +2 -2
  187. package/src/styles/product-set/ProductSetForm.scss +0 -22
  188. package/src/styles/ryft-payment-form/RyftPaymentForm.scss +0 -25
  189. package/src/styles/sales/BookingResults.scss +1 -1
  190. package/src/typeahead/Typeahead.tsx +1 -15
  191. package/src/zone/form/components/GameDurationControl.tsx +0 -1
  192. package/src/zone/form/components/SortControl.tsx +0 -1
  193. package/yarn.lock +47 -73
  194. package/dist/product-set/control/ProductSetImageControl.d.ts +0 -2
  195. package/dist/product-set/control/ProductSetImageControl.d.ts.map +0 -1
  196. package/dist/product-set/control/ProductSetImageControl.js +0 -279
  197. package/dist/product-set/form/ProductSetNameControl.d.ts +0 -6
  198. package/dist/product-set/form/ProductSetNameControl.d.ts.map +0 -1
  199. package/dist/product-set/form/ProductSetNameControl.js +0 -35
  200. package/src/product-set/control/ProductSetImageControl.tsx +0 -97
  201. package/src/product-set/form/ProductSetNameControl.tsx +0 -27
@@ -74,7 +74,6 @@ export function PaymentFeeForm({ isLoading = false }: PaymentFeeFormProps) {
74
74
  max={100}
75
75
  step='1'
76
76
  placeholder='0'
77
- onWheel={(event) => event.currentTarget.blur()}
78
77
  {...register('feeInPercent', {
79
78
  validate: {
80
79
  moreThan: (v) => (v ? v >= 0 : true),
@@ -130,7 +129,6 @@ export function PaymentFeeForm({ isLoading = false }: PaymentFeeFormProps) {
130
129
  max={999999.99}
131
130
  step='0.01'
132
131
  placeholder='0,00'
133
- onWheel={(event) => event.currentTarget.blur()}
134
132
  isInvalid={Boolean(errors.minFeeInPounds)}
135
133
  disabled={isLoading}
136
134
  />
@@ -176,7 +174,6 @@ export function PaymentFeeForm({ isLoading = false }: PaymentFeeFormProps) {
176
174
  max={999999.99}
177
175
  step='0.01'
178
176
  placeholder='0,00'
179
- onWheel={(event) => event.currentTarget.blur()}
180
177
  isInvalid={Boolean(errors.maxFeeInPounds)}
181
178
  disabled={isLoading}
182
179
  />
@@ -234,7 +231,6 @@ export function PaymentFeeForm({ isLoading = false }: PaymentFeeFormProps) {
234
231
  max={100}
235
232
  step='1'
236
233
  placeholder='0'
237
- onWheel={(event) => event.currentTarget.blur()}
238
234
  isInvalid={Boolean(errors.vatInPercent)}
239
235
  disabled={isLoading}
240
236
  />
@@ -280,7 +276,6 @@ export function PaymentFeeForm({ isLoading = false }: PaymentFeeFormProps) {
280
276
  max={999999.99}
281
277
  step='0.01'
282
278
  placeholder='0,00'
283
- onWheel={(event) => event.currentTarget.blur()}
284
279
  isInvalid={Boolean(errors.fixedFee)}
285
280
  disabled={isLoading}
286
281
  />
@@ -178,7 +178,6 @@ export const DashboardSettingForm = ({
178
178
  <Form.Label>{t('metaPixelId')}</Form.Label>
179
179
  <Form.Control
180
180
  type='number'
181
- onWheel={(event) => event.currentTarget.blur()}
182
181
  {...register('metaPixelId', {
183
182
  minLength: {
184
183
  value: 15,
@@ -307,7 +307,6 @@ export function Preview({
307
307
  productCategoryId: 57,
308
308
  productGroupId: null,
309
309
  availableQuantity: 980,
310
- zoneId: null,
311
310
  name: 'Cofee',
312
311
  description: '',
313
312
  price: 15,
@@ -316,8 +315,6 @@ export function Preview({
316
315
  maxQuantity: 15,
317
316
  totalQuantity: 980,
318
317
  type: 'sale' as const,
319
- capacity: 0,
320
- duration: 0,
321
318
  weight: 0,
322
319
  isAvailable: true,
323
320
  isSoldOut: false,
@@ -336,7 +333,6 @@ export function Preview({
336
333
  productCategoryId: 57,
337
334
  productGroupId: null,
338
335
  availableQuantity: 980,
339
- zoneId: null,
340
336
  name: 'Cofee 2',
341
337
  description: '',
342
338
  price: 15,
@@ -345,8 +341,6 @@ export function Preview({
345
341
  maxQuantity: 15,
346
342
  totalQuantity: 980,
347
343
  type: 'sale' as const,
348
- capacity: 0,
349
- duration: 0,
350
344
  weight: 0,
351
345
  isAvailable: true,
352
346
  isSoldOut: false,
@@ -33,7 +33,6 @@ export interface SortableTreeItemProps {
33
33
  body: ReactNode
34
34
  children?: ReactNode
35
35
  preItem?: ReactNode
36
- itemButton?: ReactNode
37
36
  postItem?: ReactNode
38
37
  sortableItems?: string[]
39
38
  isExpanded?: boolean
@@ -83,7 +82,6 @@ export function SortableTreeItem({
83
82
  secondaryBadge,
84
83
  setIsExpanded,
85
84
  isOverride,
86
- itemButton,
87
85
  }: SortableTreeItemProps) {
88
86
  const [expanded, setExpanded] = useState(isExpanded)
89
87
  const [isModalVisible, setIsModalVisible] = useState(isNewAdded)
@@ -289,13 +287,9 @@ export function SortableTreeItem({
289
287
  className={clsx(
290
288
  'sortable-tree-item-title',
291
289
  modalLabel && 'sortable-tree-product-set-element-title',
292
- 'd-flex justify-content-between',
293
290
  )}
294
291
  >
295
292
  {title}
296
- <div className='sortable-tree-item-subtitle'>
297
- {itemButton}
298
- </div>
299
293
  </span>
300
294
  {!expanded && (
301
295
  <span className='sortable-tree-item-subtitle'>
@@ -45,7 +45,6 @@ export const CurrencyNumberInput = forwardRef<
45
45
  disabled={disabled}
46
46
  value={value}
47
47
  onChange={onChange}
48
- onWheel={(event) => event.currentTarget.blur()}
49
48
  ref={ref}
50
49
  {...props}
51
50
  />
@@ -75,7 +75,6 @@ export const FormNumberInput = ({
75
75
  type='number'
76
76
  step={step}
77
77
  disabled={disabled}
78
- onWheel={(event) => event.currentTarget.blur()}
79
78
  isInvalid={HookFormService.isInvalid(fieldName, errors)}
80
79
  {...field}
81
80
  onChange={(event) => {
@@ -49,7 +49,6 @@ export function NumberInput({
49
49
  <div className={inputWrapperClasses}>
50
50
  <FormControl
51
51
  type='number'
52
- onWheel={(event) => event.currentTarget.blur()}
53
52
  onChange={(e) => onChange(Number(e.target.value))}
54
53
  value={value}
55
54
  min={min}
@@ -11,7 +11,10 @@
11
11
  background-color: #fff;
12
12
  font-size: 0.8rem;
13
13
  background-color: $snippet-product-set-background-color;
14
- text-align: left;
14
+
15
+ div {
16
+ text-align: left;
17
+ }
15
18
 
16
19
  &.active {
17
20
  border: 2px solid #0e8be1;
@@ -20,24 +23,7 @@
20
23
  &-title {
21
24
  font-weight: 600;
22
25
  line-height: 1.25rem;
26
+ cursor: pointer;
23
27
  font-size: 0.875rem;
24
28
  }
25
-
26
- img {
27
- max-height: 100%;
28
- max-width: 100%;
29
- object-fit: cover;
30
- aspect-ratio: 1.2/1;
31
- margin-bottom: 0.8rem;
32
- border-radius: 0.5rem;
33
- }
34
-
35
- &-description {
36
- line-clamp: 5;
37
- -webkit-line-clamp: 5;
38
- overflow: hidden;
39
- text-overflow: ellipsis;
40
- display: -webkit-box;
41
- -webkit-box-orient: vertical;
42
- }
43
29
  }
@@ -3,26 +3,56 @@
3
3
  .list-activity-card {
4
4
  display: flex;
5
5
  justify-content: space-between;
6
- gap: 0.5rem;
7
- width: 100%;
6
+ align-items: center;
7
+ cursor: pointer;
8
+ height: 6rem;
9
+ padding: 0.375rem;
10
+ border: 2px solid transparent;
11
+ border-radius: 0.5rem;
12
+ background-color: $snippet-product-set-background-color;
13
+ color: $snippet-product-set-font-color;
14
+ transition: $color-transition;
8
15
 
9
- &-info {
16
+ &.active {
17
+ border: 2px solid #0e8be1;
18
+ }
19
+
20
+ p {
21
+ margin-bottom: 0;
22
+ }
23
+
24
+ .description {
10
25
  width: 70%;
11
26
  font-size: 0.81rem;
12
27
  display: flex;
13
28
  flex-direction: column;
14
- align-items: start;
15
29
  }
16
30
 
17
- img {
18
- max-width: 120px;
19
- height: 100%;
20
- object-fit: cover;
21
- aspect-ratio: 1.2/1;
22
- border-radius: 0.5rem;
31
+ .title {
32
+ font-weight: 600;
33
+ font-size: 0.875rem;
34
+ line-height: 1.5rem;
23
35
  }
24
36
 
25
- &-hr {
26
- margin-top: 0;
37
+ .image-container {
38
+ display: flex;
39
+ justify-content: start;
40
+ height: 100%;
41
+
42
+ .image {
43
+ display: flex;
44
+ align-items: start;
45
+ width: 7rem;
46
+ height: 4rem;
47
+ margin-left: 3rem;
48
+ background-repeat: no-repeat;
49
+ background-size: cover;
50
+ background-position: center;
51
+ border-radius: 0.5rem;
52
+ }
27
53
  }
28
54
  }
55
+
56
+ .list-activity-card-hr {
57
+ margin-top: 0;
58
+ }
@@ -1,2 +1,2 @@
1
- @import './ActivitiesCard.scss';
1
+ @import './GridActivitiesCard.scss';
2
2
  @import './ListActivitiesCard.scss';
@@ -15,12 +15,3 @@
15
15
  }
16
16
  }
17
17
  }
18
-
19
-
20
-
21
- .activity-card {
22
- .availability-indicator {
23
- margin-top: 0.5rem;
24
- justify-content: flex-start;
25
- }
26
- }
@@ -15,7 +15,7 @@ body[bkdt-scrollable='false'] .bkdt-mask {
15
15
  left: 0;
16
16
  width: 100%;
17
17
  height: 100%;
18
- z-index: 2147483646;
18
+ z-index: 1000000;
19
19
  background-color: rgba(0, 0, 0, 0.5);
20
20
  display: none;
21
21
  }
@@ -24,7 +24,7 @@ body[bkdt-scrollable='false'] .bkdt-mask {
24
24
  position: fixed;
25
25
  top: 0;
26
26
  left: 0;
27
- z-index: 2147483647;
27
+ z-index: 1000001;
28
28
  display: none;
29
29
  width: 100%;
30
30
  height: 100%;
@@ -15,12 +15,10 @@
15
15
  height: 2.5rem;
16
16
  border-width: 2px;
17
17
  padding: 2px;
18
-
19
18
  label,
20
19
  .btn-switch-indicator {
21
20
  border-radius: 0.375rem !important;
22
21
  }
23
-
24
22
  label {
25
23
  height: 2rem;
26
24
  }
@@ -36,7 +34,6 @@
36
34
  margin-top: 1.5rem;
37
35
  margin-bottom: 1.5rem;
38
36
  }
39
-
40
37
  @include media-breakpoint-down(sm) {
41
38
  padding: 1.5rem 1rem;
42
39
  margin-top: 0.5rem;
@@ -62,21 +59,10 @@
62
59
  background-color: #ffdbdb;
63
60
  color: #d52902;
64
61
  }
65
-
66
62
  .category-badge {
67
63
  background-color: #e8f4f6;
68
64
  color: #1a93aa;
69
65
  }
70
-
71
- .item-icon {
72
- display: flex;
73
- justify-items: center;
74
- align-items: center;
75
- font-size: 0.65rem;
76
- padding: 0.2rem;
77
- margin-right: 1rem;
78
- }
79
-
80
66
  .product-badge {
81
67
  background-color: #e9f5ea;
82
68
  color: #269b36;
@@ -89,12 +75,10 @@
89
75
 
90
76
  .product-set-mobile-modal {
91
77
  margin: 0;
92
-
93
78
  .modal-content {
94
79
  border-radius: 1rem 1rem 0 0;
95
80
  border-width: 0;
96
81
  margin: 0;
97
-
98
82
  .modal-body {
99
83
  padding: 1rem 0;
100
84
  }
@@ -116,22 +100,18 @@
116
100
  font-weight: 600;
117
101
  font-size: 0.625rem;
118
102
  }
119
-
120
103
  .product-set-subtitle-dot {
121
104
  margin-right: 0.375rem;
122
105
  width: 0.375rem;
123
106
  height: 0.375rem;
124
107
  border-radius: 3px;
125
108
  }
126
-
127
109
  .product-set-subtitle-category-dot {
128
110
  background-color: #269b36;
129
111
  }
130
-
131
112
  .product-set-subtitle-step-dot {
132
113
  background-color: #1a93aa;
133
114
  }
134
-
135
115
  .product-set-subtitle-product-dot {
136
116
  background-color: #269b36;
137
117
  }
@@ -176,7 +156,6 @@
176
156
  justify-self: flex-end;
177
157
  align-items: flex-end;
178
158
  }
179
-
180
159
  .small-badge {
181
160
  font-size: 0.5rem;
182
161
  height: 1rem;
@@ -184,7 +163,6 @@
184
163
  padding: 0 0.2rem;
185
164
  margin-bottom: 0.2rem;
186
165
  }
187
-
188
166
  .product-set-save-btn-wrapper {
189
167
  padding-left: 0 !important;
190
168
  display: flex;
@@ -14,7 +14,6 @@
14
14
 
15
15
  .navigation {
16
16
  display: block;
17
-
18
17
  @include media-breakpoint-down(sm) {
19
18
  padding: 0;
20
19
  }
@@ -24,7 +23,6 @@
24
23
  margin-left: 0;
25
24
  height: calc(100vh - 2rem);
26
25
  max-height: calc(100vh - 1rem);
27
-
28
26
  @include media-breakpoint-down(sm) {
29
27
  width: calc(100% - 2rem);
30
28
  max-width: unset;
@@ -71,11 +69,9 @@
71
69
  .left-block {
72
70
  min-height: 100%;
73
71
  }
74
-
75
72
  .right-block {
76
73
  margin: 0 auto;
77
74
  width: 100%;
78
-
79
75
  .children-wrapper {
80
76
  .accordion {
81
77
  .collapse {
@@ -89,7 +85,6 @@
89
85
  }
90
86
  }
91
87
  }
92
-
93
88
  ::-webkit-scrollbar {
94
89
  display: none;
95
90
  scrollbar-width: none;
@@ -102,13 +97,6 @@
102
97
  }
103
98
 
104
99
  .ryft-payment-form {
105
- .form-disable-box {
106
- display: none;
107
- position: absolute;
108
- width: 100%;
109
- height: 100%;
110
- }
111
-
112
100
  .submit-button-wrapper {
113
101
  margin: -1rem 0 1rem;
114
102
 
@@ -116,18 +104,15 @@
116
104
  width: 100%;
117
105
  }
118
106
  }
119
-
120
107
  #mobile-pay-divider-container {
121
108
  display: flex;
122
109
  position: relative;
123
110
  margin-bottom: 1rem;
124
-
125
111
  #mobile-pay-divider-text {
126
112
  margin-right: 1rem;
127
113
  font-size: 0.875rem;
128
114
  font-weight: 600;
129
115
  }
130
-
131
116
  #mobile-pay-divider {
132
117
  width: 100%;
133
118
  border-bottom: 1px #dfdfdf solid;
@@ -140,7 +125,6 @@
140
125
  border: none;
141
126
  margin-bottom: 0.5rem;
142
127
  text-align: left;
143
-
144
128
  :first-child {
145
129
  font-size: 1rem;
146
130
  font-weight: 600;
@@ -151,17 +135,14 @@
151
135
  margin-bottom: 0.5rem;
152
136
  }
153
137
  }
154
-
155
138
  .ryft-pay-grid {
156
139
  display: flex;
157
140
  flex-direction: column;
158
-
159
141
  .apple-pay-button {
160
142
  height: 2.5rem;
161
143
  margin-top: 1rem;
162
144
  }
163
145
  }
164
-
165
146
  .mobile-pay-title {
166
147
  display: block;
167
148
  font-weight: 600;
@@ -176,14 +157,9 @@
176
157
 
177
158
  @include media-breakpoint-up(md) {
178
159
  .ryft-payment-form,
179
- .form-disable-box {
180
- height: 50%;
181
- top: 15rem;
182
- }
183
160
  .iframe-payment-form {
184
161
  position: relative;
185
162
  max-height: 300px !important;
186
-
187
163
  .submit-button-wrapper {
188
164
  max-width: 15.5rem;
189
165
  }
@@ -195,7 +171,6 @@
195
171
  max-width: 15.5rem;
196
172
  margin-bottom: 1rem;
197
173
  }
198
-
199
174
  .ryft-pay-apple-pay-button {
200
175
  border-radius: 0.25rem;
201
176
  }
@@ -5,7 +5,7 @@
5
5
  flex-wrap: wrap;
6
6
 
7
7
  .result-card {
8
- height: 14rem;
8
+ height: 14.25rem;
9
9
  border: 1px solid $gray-400;
10
10
  max-width: calc(50% - 0.75rem);
11
11
  flex: 0 0 calc(50% - 0.75rem);
@@ -12,13 +12,10 @@ export interface TypeaheadProps {
12
12
  placeholder: string
13
13
  isRequired?: boolean
14
14
  name: string
15
- value?: TypeaheadOptions
16
15
  isMultipleChoise?: boolean
17
16
  noOptionsMessage: string
18
17
  isInvalid?: boolean
19
18
  isCouponForm?: boolean
20
- containerStyles?: CSSObjectWithLabel
21
- onChangeValue?: (value: TypeaheadOptions) => void
22
19
  }
23
20
 
24
21
  function Typeahead({
@@ -27,9 +24,6 @@ function Typeahead({
27
24
  isRequired = false,
28
25
  isMultipleChoise,
29
26
  name = '',
30
- value,
31
- onChangeValue,
32
- containerStyles,
33
27
  isCouponForm = false,
34
28
  noOptionsMessage = '',
35
29
  isInvalid,
@@ -59,23 +53,15 @@ function Typeahead({
59
53
  render={({ field }) => (
60
54
  <Select
61
55
  placeholder={placeholder}
62
- value={value ?? field.value}
56
+ value={field.value}
63
57
  isMulti={isMultipleChoise}
64
58
  styles={{
65
- container: (base) => ({
66
- ...base,
67
- ...containerStyles,
68
- }),
69
59
  control: (base) => ({
70
60
  ...base,
71
61
  ...getStyle(),
72
62
  }),
73
63
  }}
74
64
  onChange={(value) => {
75
- if (onChangeValue) {
76
- onChangeValue(value)
77
- return
78
- }
79
65
  field.onChange(value)
80
66
  }}
81
67
  options={options}
@@ -29,7 +29,6 @@ export const GameDurationControl = ({
29
29
  required: false,
30
30
  min: 1,
31
31
  })}
32
- onWheel={(event) => event.currentTarget.blur()}
33
32
  placeholder={t('Design:duration')}
34
33
  isInvalid={Boolean(errors.defaultDuration)}
35
34
  disabled={isLoading}
@@ -27,7 +27,6 @@ export const SortControl = ({ isLoading }: SortControlProps) => {
27
27
  required: false,
28
28
  min: 1,
29
29
  })}
30
- onWheel={(event) => event.currentTarget.blur()}
31
30
  placeholder={t('Design:ordering')}
32
31
  isInvalid={Boolean(errors.sort)}
33
32
  disabled={isLoading}