@licklist/design 0.69.3-dev.7 → 0.69.4

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 (185) 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 +1 -0
  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 +1 -3
  18. package/dist/iframe/activity-card/ActivityCard.d.ts.map +1 -1
  19. package/dist/iframe/activity-card/ActivityCard.js +1 -8
  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 -20
  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/form/ProductCategoriesControl.d.ts.map +1 -1
  47. package/dist/product-set/form/ProductCategoriesControl.js +2 -48
  48. package/dist/product-set/form/ProductSetForm.d.ts +1 -4
  49. package/dist/product-set/form/ProductSetForm.d.ts.map +1 -1
  50. package/dist/product-set/form/ProductSetForm.js +1 -64
  51. package/dist/product-set/form/ProductZonesControl.d.ts.map +1 -1
  52. package/dist/product-set/form/ProductZonesControl.js +2 -0
  53. package/dist/product-set/form/ProductsControl.js +0 -1
  54. package/dist/product-set/form/SelectCategoryModal.d.ts +0 -12
  55. package/dist/product-set/form/SelectCategoryModal.d.ts.map +1 -1
  56. package/dist/product-set/form/SelectCategoryModal.js +1 -1
  57. package/dist/product-set/form/SubProductsControl.d.ts.map +1 -1
  58. package/dist/product-set/form/SubProductsControl.js +3 -0
  59. package/dist/product-set/form/VenueMapsControl.d.ts.map +1 -1
  60. package/dist/product-set/form/VenueMapsControl.js +3 -0
  61. package/dist/product-set/form/index.d.ts +0 -1
  62. package/dist/product-set/form/index.d.ts.map +1 -1
  63. package/dist/product-set/product/ProductControl.d.ts.map +1 -1
  64. package/dist/product-set/product/booking-management/ProductBookingManagementControl.d.ts.map +1 -1
  65. package/dist/product-set/product/booking-management/ProductBookingManagementControl.js +0 -6
  66. package/dist/product-set/product/deposit/ProductDepositControl.d.ts.map +1 -1
  67. package/dist/product-set/product/deposit/ProductDepositControl.js +0 -3
  68. package/dist/product-set/product/duration/ProductDurationControl.d.ts.map +1 -1
  69. package/dist/product-set/product/duration/ProductDurationControl.js +0 -6
  70. package/dist/product-set/product/price/ProductPriceControl.d.ts.map +1 -1
  71. package/dist/product-set/product/price/ProductPriceControl.js +0 -3
  72. package/dist/product-set/product/quantity/ProductQuantityConstantControl.d.ts.map +1 -1
  73. package/dist/product-set/product/quantity/ProductQuantityConstantControl.js +0 -6
  74. package/dist/product-set/product/quantity/ProductQuantityControl.d.ts.map +1 -1
  75. package/dist/product-set/product/quantity/ProductQuantityControl.js +0 -6
  76. package/dist/product-set/product/quantity/ProductQuantityRechargingControl.d.ts.map +1 -1
  77. package/dist/product-set/product/quantity/ProductQuantityRechargingControl.js +1 -4
  78. package/dist/product-set/product-category/ProductCategoryControl.d.ts.map +1 -1
  79. package/dist/product-set/product-category/ProductCategoryControl.js +0 -12
  80. package/dist/product-set/utils/index.d.ts +0 -7
  81. package/dist/product-set/utils/index.d.ts.map +1 -1
  82. package/dist/product-set/utils/index.js +1 -10
  83. package/dist/recurrence-input/RecurrenceEndInput.d.ts.map +1 -1
  84. package/dist/recurrence-input/RecurrenceEndInput.js +0 -3
  85. package/dist/recurring-date-picker-input/RecurrenceEndInput.d.ts.map +1 -1
  86. package/dist/resource/form/components/CapacityControl.d.ts.map +1 -1
  87. package/dist/resource/form/components/CapacityControl.js +0 -3
  88. package/dist/resource/form/components/SortControl.d.ts.map +1 -1
  89. package/dist/resource/form/components/SortControl.js +0 -3
  90. package/dist/sales/booking/results/components/ResultCard.d.ts.map +1 -1
  91. package/dist/sales/booking/results/components/ResultCard.js +2 -0
  92. package/dist/sales/coupon/control/CouponFormControl.d.ts.map +1 -1
  93. package/dist/sales/coupon/control/CouponFormControl.js +0 -21
  94. package/dist/setting/admin/PaymentFeeForm.d.ts.map +1 -1
  95. package/dist/setting/admin/PaymentFeeForm.js +1 -16
  96. package/dist/setting/dashboard/DashboardSettingForm.d.ts.map +1 -1
  97. package/dist/setting/dashboard/DashboardSettingForm.js +1 -4
  98. package/dist/snippet/snippet-template/preview/Preview.d.ts.map +1 -1
  99. package/dist/snippet/snippet-template/preview/Preview.js +0 -6
  100. package/dist/sortable-tree/SortableTreeItem.d.ts +1 -2
  101. package/dist/sortable-tree/SortableTreeItem.d.ts.map +1 -1
  102. package/dist/sortable-tree/SortableTreeItem.js +4 -10
  103. package/dist/static/CurrencyNumberInput.d.ts.map +1 -1
  104. package/dist/static/CurrencyNumberInput.js +0 -3
  105. package/dist/static/form-number-input/FormNumberInput.d.ts.map +1 -1
  106. package/dist/static/form-number-input/FormNumberInput.js +0 -3
  107. package/dist/static/number-input/NumberInput.d.ts.map +1 -1
  108. package/dist/static/number-input/NumberInput.js +0 -3
  109. package/dist/styles/availability-indicator/AvailabilityIndicator.scss +0 -9
  110. package/dist/styles/iframe-external-modal/IframeExternalModal.scss +2 -2
  111. package/dist/styles/product-set/ProductSetForm.scss +0 -22
  112. package/dist/styles/ryft-payment-form/RyftPaymentForm.scss +0 -25
  113. package/dist/styles/sales/BookingResults.scss +1 -1
  114. package/dist/typeahead/Typeahead.d.ts +1 -5
  115. package/dist/typeahead/Typeahead.d.ts.map +1 -1
  116. package/dist/typeahead/Typeahead.js +2 -9
  117. package/dist/zone/form/components/GameDurationControl.d.ts.map +1 -1
  118. package/dist/zone/form/components/GameDurationControl.js +0 -3
  119. package/dist/zone/form/components/SortControl.d.ts.map +1 -1
  120. package/dist/zone/form/components/SortControl.js +0 -3
  121. package/package.json +6 -8
  122. package/src/affiliate/form/AffiliateForm.tsx +0 -1
  123. package/src/auth/Login/LoginComponent.tsx +1 -1
  124. package/src/events/edit-event-modal/component/EditEventForm/EditEventForm.tsx +0 -3
  125. package/src/events/edit-event-modal/component/SelectEventProductSet/SelectEventProductSet.tsx +85 -88
  126. package/src/events/edit-event-modal/component/SelectEventProductSet/component/EditEventProductSet.tsx +1 -11
  127. package/src/events/edit-event-modal/utils/getDefaultProductSet.ts +1 -0
  128. package/src/events/event-card/utils.ts +1 -5
  129. package/src/iframe/activity-card/ActivityCard.tsx +0 -6
  130. package/src/iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.tsx +0 -9
  131. package/src/iframe/order-process/components/CategoryProduct/components/ProductQuantityInput/ProductQuantityInput.tsx +0 -1
  132. package/src/iframe/payment/order-items-table/utils/paymentSummary.tsx +0 -1
  133. package/src/iframe/ryft/RyftPaymentForm.tsx +4 -9
  134. package/src/iframe/ryft/utils/ryft-form.ts +2 -28
  135. package/src/layout/DropDown.tsx +1 -1
  136. package/src/modals/confirmation/ConfirmModal.tsx +3 -19
  137. package/src/notification/email-template/control/EmailTemplateControl.tsx +0 -1
  138. package/src/product-set/card/ProductSetCard.tsx +6 -32
  139. package/src/product-set/control/DateAndRecurrenceInput.tsx +1 -3
  140. package/src/product-set/control/DateInput.tsx +1 -2
  141. package/src/product-set/form/ProductCategoriesControl.tsx +1 -37
  142. package/src/product-set/form/ProductSetForm.tsx +2 -24
  143. package/src/product-set/form/ProductZonesControl.tsx +4 -1
  144. package/src/product-set/form/SelectCategoryModal.tsx +2 -2
  145. package/src/product-set/form/SubProductsControl.tsx +3 -0
  146. package/src/product-set/form/VenueMapsControl.tsx +3 -0
  147. package/src/product-set/form/index.ts +0 -1
  148. package/src/product-set/product/ProductControl.tsx +1 -0
  149. package/src/product-set/product/advanced-options/AdvancedOptions.tsx +1 -1
  150. package/src/product-set/product/booking-management/ProductBookingManagementControl.tsx +0 -2
  151. package/src/product-set/product/deposit/ProductDepositControl.tsx +0 -1
  152. package/src/product-set/product/duration/ProductDurationControl.tsx +0 -2
  153. package/src/product-set/product/price/ProductPriceControl.tsx +0 -1
  154. package/src/product-set/product/quantity/ProductQuantityConstantControl.tsx +0 -2
  155. package/src/product-set/product/quantity/ProductQuantityControl.tsx +0 -2
  156. package/src/product-set/product/quantity/ProductQuantityRechargingControl.tsx +0 -1
  157. package/src/product-set/product-category/ProductCategoryControl.tsx +0 -4
  158. package/src/product-set/product-zone/ProductZoneControl.tsx +1 -1
  159. package/src/product-set/utils/index.ts +0 -11
  160. package/src/recurrence-input/RecurrenceEndInput.tsx +0 -1
  161. package/src/recurring-date-picker-input/RecurrenceEndInput.tsx +0 -1
  162. package/src/resource/form/components/CapacityControl.tsx +0 -1
  163. package/src/resource/form/components/SortControl.tsx +0 -1
  164. package/src/sales/booking/results/components/ResultCard.tsx +2 -0
  165. package/src/sales/coupon/control/CouponFormControl.tsx +0 -7
  166. package/src/setting/admin/PaymentFeeForm.tsx +0 -5
  167. package/src/setting/dashboard/DashboardSettingForm.tsx +0 -1
  168. package/src/snippet/snippet-template/preview/Preview.tsx +0 -6
  169. package/src/sortable-tree/SortableTreeItem.tsx +0 -6
  170. package/src/static/CurrencyNumberInput.tsx +0 -1
  171. package/src/static/form-number-input/FormNumberInput.tsx +0 -1
  172. package/src/static/number-input/NumberInput.tsx +0 -1
  173. package/src/styles/availability-indicator/AvailabilityIndicator.scss +0 -9
  174. package/src/styles/iframe-external-modal/IframeExternalModal.scss +2 -2
  175. package/src/styles/product-set/ProductSetForm.scss +0 -22
  176. package/src/styles/ryft-payment-form/RyftPaymentForm.scss +0 -25
  177. package/src/styles/sales/BookingResults.scss +1 -1
  178. package/src/typeahead/Typeahead.tsx +1 -15
  179. package/src/zone/form/components/GameDurationControl.tsx +0 -1
  180. package/src/zone/form/components/SortControl.tsx +0 -1
  181. package/yarn.lock +25 -25
  182. package/dist/product-set/form/ProductSetNameControl.d.ts +0 -6
  183. package/dist/product-set/form/ProductSetNameControl.d.ts.map +0 -1
  184. package/dist/product-set/form/ProductSetNameControl.js +0 -35
  185. package/src/product-set/form/ProductSetNameControl.tsx +0 -27
@@ -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}
@@ -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}
package/yarn.lock CHANGED
@@ -2453,9 +2453,9 @@ __metadata:
2453
2453
  languageName: node
2454
2454
  linkType: hard
2455
2455
 
2456
- "@licklist/core@npm:0.29.1-dev.2":
2457
- version: 0.29.1-dev.2
2458
- resolution: "@licklist/core@npm:0.29.1-dev.2"
2456
+ "@licklist/core@npm:0.30.1":
2457
+ version: 0.30.1
2458
+ resolution: "@licklist/core@npm:0.30.1"
2459
2459
  dependencies:
2460
2460
  "@sentry/browser": "npm:6.2.0"
2461
2461
  axios: "npm:0.26.0"
@@ -2468,20 +2468,20 @@ __metadata:
2468
2468
  uuid: "npm:9.0.0"
2469
2469
  wait-for-expect: "npm:3.0.2"
2470
2470
  peerDependencies:
2471
- "@licklist/eslint-config": 0.5.5
2471
+ "@licklist/eslint-config": 0.5.6
2472
2472
  axios: 0.26.0
2473
2473
  luxon: 3.5.0
2474
2474
  react: 17.0.2
2475
2475
  react-dom: 17.0.2
2476
2476
  react-i18next: 11.8.8
2477
2477
  react-intl: 6.6.8
2478
- checksum: 10c0/cacb058eb075b8e42fe9135877aa90f5104b661a0a99addbadfe916604ee35d468d07f9ce4e349fad573015044977bf77821b92dc385bab23393bc4d72677c4f
2478
+ checksum: 10c0/2b3ec4eebfffd120e188825beb607864dfc85ddc6f5cd834e6c7b99b0191171936da0299441f2a91721d70ebb196279b6b72d8e9ec37fc21d4f51f97400b8475
2479
2479
  languageName: node
2480
2480
  linkType: hard
2481
2481
 
2482
- "@licklist/core@npm:0.30.0-dev.0":
2483
- version: 0.30.0-dev.0
2484
- resolution: "@licklist/core@npm:0.30.0-dev.0"
2482
+ "@licklist/core@npm:0.30.3":
2483
+ version: 0.30.3
2484
+ resolution: "@licklist/core@npm:0.30.3"
2485
2485
  dependencies:
2486
2486
  "@sentry/browser": "npm:6.2.0"
2487
2487
  axios: "npm:0.26.0"
@@ -2501,7 +2501,7 @@ __metadata:
2501
2501
  react-dom: 17.0.2
2502
2502
  react-i18next: 11.8.8
2503
2503
  react-intl: 6.6.8
2504
- checksum: 10c0/0254119edd1b01abeb3cdce66d26a56098860bfb5e0a8ec1d98ac2da3eb28b1cb8f7b2315a07ca3bd905eb25c349d65a4a4dab44e53466968b1b50012eec10bd
2504
+ checksum: 10c0/0c07f146b3be699955f19880cef83c7e5132727aace74ea36da2b1d33ea3b6c3b63d1de2439ed996723ed3c046b5611952bcdd76e0db74a629ce46a1b836f3fa
2505
2505
  languageName: node
2506
2506
  linkType: hard
2507
2507
 
@@ -2516,9 +2516,9 @@ __metadata:
2516
2516
  "@dnd-kit/utilities": "npm:2.0.0"
2517
2517
  "@fortawesome/fontawesome-svg-core": "npm:1.2.34"
2518
2518
  "@fortawesome/free-solid-svg-icons": "npm:5.15.2"
2519
- "@licklist/core": "npm:0.30.0-dev.0"
2519
+ "@licklist/core": "npm:0.30.3"
2520
2520
  "@licklist/eslint-config": "npm:0.5.6"
2521
- "@licklist/plugins": "npm:0.33.0-dev.0"
2521
+ "@licklist/plugins": "npm:0.33.1"
2522
2522
  "@mantine/core": "npm:6.0.22"
2523
2523
  "@mantine/hooks": "npm:6.0.22"
2524
2524
  "@mdx-js/react": "npm:1.6.22"
@@ -2647,9 +2647,9 @@ __metadata:
2647
2647
  vite-plugin-svgr: "npm:4.2.0"
2648
2648
  vite-tsconfig-paths: "npm:5.0.1"
2649
2649
  peerDependencies:
2650
- "@licklist/core": 0.30.0-dev.0
2650
+ "@licklist/core": 0.30.3
2651
2651
  "@licklist/eslint-config": 0.5.6
2652
- "@licklist/plugins": 0.33.2-dev.1
2652
+ "@licklist/plugins": 0.33.1
2653
2653
  lodash: 4.17.21
2654
2654
  luxon: 3.5.0
2655
2655
  react: 17.0.2
@@ -2679,11 +2679,11 @@ __metadata:
2679
2679
  languageName: node
2680
2680
  linkType: hard
2681
2681
 
2682
- "@licklist/plugins@npm:0.33.0-dev.0":
2683
- version: 0.33.0-dev.0
2684
- resolution: "@licklist/plugins@npm:0.33.0-dev.0"
2682
+ "@licklist/plugins@npm:0.33.1":
2683
+ version: 0.33.1
2684
+ resolution: "@licklist/plugins@npm:0.33.1"
2685
2685
  dependencies:
2686
- "@licklist/core": "npm:0.29.1-dev.2"
2686
+ "@licklist/core": "npm:0.30.1"
2687
2687
  "@ungap/url-search-params": "npm:0.2.2"
2688
2688
  axios: "npm:0.26.0"
2689
2689
  history: "npm:4.10.1"
@@ -2704,7 +2704,7 @@ __metadata:
2704
2704
  rrule: "npm:2.6.8"
2705
2705
  use-debounce: "npm:7.0.1"
2706
2706
  peerDependencies:
2707
- "@licklist/core": 0.29.1-dev.2
2707
+ "@licklist/core": 0.30.1
2708
2708
  "@licklist/eslint-config": 0.5.6
2709
2709
  axios: 0.26.0
2710
2710
  lodash: 4.17.21
@@ -2716,7 +2716,7 @@ __metadata:
2716
2716
  react-loader: 2.4.7
2717
2717
  react-query: 3.34.12
2718
2718
  react-router-dom: 5.2.0
2719
- checksum: 10c0/cdf57c38578b30926a323f0caf80a93c43fadc032dcd79d749de92ca6d7c3b47a8ac6bdf56547a56e0581094434ecd30880e5298161cb0fa97705e369ba799f1
2719
+ checksum: 10c0/9f9cba3fcf3b2543c1b781233c0cfa2d6638ff47edde93ed3500ea4dfe12f7940380e9d79b6051b6cc8eb5cb26cdbb97fcd412b83bfd3dce7cd1c34835f975a7
2720
2720
  languageName: node
2721
2721
  linkType: hard
2722
2722
 
@@ -8195,8 +8195,8 @@ __metadata:
8195
8195
  linkType: hard
8196
8196
 
8197
8197
  "chromatic@npm:^11.4.0":
8198
- version: 11.12.6
8199
- resolution: "chromatic@npm:11.12.6"
8198
+ version: 11.12.5
8199
+ resolution: "chromatic@npm:11.12.5"
8200
8200
  peerDependencies:
8201
8201
  "@chromatic-com/cypress": ^0.*.* || ^1.0.0
8202
8202
  "@chromatic-com/playwright": ^0.*.* || ^1.0.0
@@ -8209,7 +8209,7 @@ __metadata:
8209
8209
  chroma: dist/bin.js
8210
8210
  chromatic: dist/bin.js
8211
8211
  chromatic-cli: dist/bin.js
8212
- checksum: 10c0/7d161c52bc239ac6e8380f9a64533dd3792819d8f103d0083a805d5c9ece0844787eedd45c19c41e69d0ef0a3756051fa3e5c1f2fc9630d60f2ada4d5452e929
8212
+ checksum: 10c0/4a083e4b12ebd0e1f04f944fef66c8345d0895e4c42e253cc4726328b13207553d860fbd5955804fbea806ae06a58d88f8ef845e6c90ce8ce2bc62f5660a3c8e
8213
8213
  languageName: node
8214
8214
  linkType: hard
8215
8215
 
@@ -9816,9 +9816,9 @@ __metadata:
9816
9816
  linkType: hard
9817
9817
 
9818
9818
  "electron-to-chromium@npm:^1.3.564, electron-to-chromium@npm:^1.5.28":
9819
- version: 1.5.41
9820
- resolution: "electron-to-chromium@npm:1.5.41"
9821
- checksum: 10c0/97b82383963029e6ed0bd7a71eb527f640c8cf658c9e43c776b0257b3c65e366590ac54135683a21e4474a156b8be78717d6e94d3c1def84b69f92bf48f2390f
9819
+ version: 1.5.40
9820
+ resolution: "electron-to-chromium@npm:1.5.40"
9821
+ checksum: 10c0/3f97360627cf179b344a7d45b3d12fd3f18f1287529d9835a8e802c7a3b99f09e326b4ed3097be1b135e45a33e8497e758b0c101e38e5bb405eaa6aa887eca82
9822
9822
  languageName: node
9823
9823
  linkType: hard
9824
9824
 
@@ -1,6 +0,0 @@
1
- export declare const ProductSetNameControl: ({ value, onChange, error, }: {
2
- value: string;
3
- onChange: (value: string) => void;
4
- error?: string;
5
- }) => import("react/jsx-runtime").JSX.Element;
6
- //# sourceMappingURL=ProductSetNameControl.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ProductSetNameControl.d.ts","sourceRoot":"","sources":["../../../src/product-set/form/ProductSetNameControl.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,qBAAqB,gCAI/B;IACD,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACjC,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,4CAeA,CAAA"}
@@ -1,35 +0,0 @@
1
- import { jsxs, jsx } from 'react/jsx-runtime';
2
- import { Form } from 'react-bootstrap';
3
- import { useTranslation } from 'react-i18next';
4
-
5
- var ProductSetNameControl = function(param) {
6
- var value = param.value, onChange = param.onChange, error = param.error;
7
- var t = useTranslation([
8
- 'Design'
9
- ]).t;
10
- return /*#__PURE__*/ jsxs(Form.Group, {
11
- children: [
12
- /*#__PURE__*/ jsxs(Form.Label, {
13
- children: [
14
- t('Design:ProductSetName'),
15
- "*"
16
- ]
17
- }),
18
- /*#__PURE__*/ jsx(Form.Control, {
19
- value: value,
20
- maxLength: 255,
21
- onChange: function(e) {
22
- return onChange(e.target.value);
23
- },
24
- placeholder: t('Design:placeholderProductSetName'),
25
- isInvalid: Boolean(error)
26
- }),
27
- /*#__PURE__*/ jsx(Form.Control.Feedback, {
28
- type: "invalid",
29
- children: error
30
- })
31
- ]
32
- });
33
- };
34
-
35
- export { ProductSetNameControl };
@@ -1,27 +0,0 @@
1
- import { Form } from 'react-bootstrap'
2
- import { useTranslation } from 'react-i18next'
3
-
4
- export const ProductSetNameControl = ({
5
- value,
6
- onChange,
7
- error,
8
- }: {
9
- value: string
10
- onChange: (value: string) => void
11
- error?: string
12
- }) => {
13
- const { t } = useTranslation(['Design'])
14
- return (
15
- <Form.Group>
16
- <Form.Label>{t('Design:ProductSetName')}*</Form.Label>
17
- <Form.Control
18
- value={value}
19
- maxLength={255}
20
- onChange={(e) => onChange(e.target.value)}
21
- placeholder={t('Design:placeholderProductSetName')}
22
- isInvalid={Boolean(error)}
23
- />
24
- <Form.Control.Feedback type='invalid'>{error}</Form.Control.Feedback>
25
- </Form.Group>
26
- )
27
- }