@licklist/design 0.69.3-dev.6 → 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.
- package/dist/affiliate/form/AffiliateForm.d.ts.map +1 -1
- package/dist/auth/Login/LoginComponent.js +1 -2
- package/dist/events/edit-event-modal/component/EditEventForm/EditEventForm.d.ts +1 -2
- package/dist/events/edit-event-modal/component/EditEventForm/EditEventForm.d.ts.map +1 -1
- package/dist/events/edit-event-modal/component/EditEventForm/EditEventForm.js +2 -3
- package/dist/events/edit-event-modal/component/SelectEventProductSet/SelectEventProductSet.d.ts +1 -2
- package/dist/events/edit-event-modal/component/SelectEventProductSet/SelectEventProductSet.d.ts.map +1 -1
- package/dist/events/edit-event-modal/component/SelectEventProductSet/SelectEventProductSet.js +28 -31
- package/dist/events/edit-event-modal/component/SelectEventProductSet/component/EditEventProductSet.d.ts +1 -2
- package/dist/events/edit-event-modal/component/SelectEventProductSet/component/EditEventProductSet.d.ts.map +1 -1
- package/dist/events/edit-event-modal/component/SelectEventProductSet/component/EditEventProductSet.js +2 -14
- package/dist/events/edit-event-modal/utils/getDefaultProductSet.d.ts.map +1 -1
- package/dist/events/edit-event-modal/utils/getDefaultProductSet.js +2 -3
- package/dist/iframe/activity-card/ActivityCard.d.ts +4 -7
- package/dist/iframe/activity-card/ActivityCard.d.ts.map +1 -1
- package/dist/iframe/activity-card/ActivityCard.js +40 -59
- package/dist/iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.d.ts.map +1 -1
- package/dist/iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.js +0 -13
- package/dist/iframe/order-process/components/CategoryProduct/components/ProductQuantityInput/ProductQuantityInput.d.ts.map +1 -1
- package/dist/iframe/order-process/components/CategoryProduct/components/ProductQuantityInput/ProductQuantityInput.js +0 -2
- package/dist/iframe/payment/order-items-table/utils/paymentSummary.d.ts.map +1 -1
- package/dist/iframe/ryft/RyftPaymentForm.d.ts +2 -2
- package/dist/iframe/ryft/RyftPaymentForm.d.ts.map +1 -1
- package/dist/iframe/ryft/RyftPaymentForm.js +2 -8
- package/dist/iframe/ryft/utils/ryft-form.d.ts +1 -2
- package/dist/iframe/ryft/utils/ryft-form.d.ts.map +1 -1
- package/dist/iframe/ryft/utils/ryft-form.js +1 -20
- package/dist/index.js +0 -1
- package/dist/layout/DropDown.d.ts +1 -2
- package/dist/layout/DropDown.d.ts.map +1 -1
- package/dist/modals/confirmation/ConfirmModal.d.ts +1 -3
- package/dist/modals/confirmation/ConfirmModal.d.ts.map +1 -1
- package/dist/modals/confirmation/ConfirmModal.js +8 -172
- package/dist/notification/email-template/control/EmailTemplateControl.d.ts.map +1 -1
- package/dist/notification/email-template/control/EmailTemplateControl.js +0 -3
- package/dist/product-set/card/ProductSetCard.d.ts +2 -6
- package/dist/product-set/card/ProductSetCard.d.ts.map +1 -1
- package/dist/product-set/card/ProductSetCard.js +11 -30
- package/dist/product-set/control/DateAndRecurrenceInput.d.ts.map +1 -1
- package/dist/product-set/control/DateAndRecurrenceInput.js +3 -4
- package/dist/product-set/control/DateInput.d.ts.map +1 -1
- package/dist/product-set/control/DateInput.js +2 -2
- package/dist/product-set/control/ProductSetControl.d.ts +0 -4
- package/dist/product-set/control/ProductSetControl.d.ts.map +1 -1
- package/dist/product-set/control/ProductSetControl.js +3 -30
- package/dist/product-set/form/MobileFooter.d.ts.map +1 -1
- package/dist/product-set/form/ProductCategoriesControl.d.ts.map +1 -1
- package/dist/product-set/form/ProductCategoriesControl.js +2 -48
- package/dist/product-set/form/ProductSetForm.d.ts +1 -4
- package/dist/product-set/form/ProductSetForm.d.ts.map +1 -1
- package/dist/product-set/form/ProductSetForm.js +1 -64
- package/dist/product-set/form/ProductZonesControl.d.ts.map +1 -1
- package/dist/product-set/form/ProductZonesControl.js +2 -0
- package/dist/product-set/form/ProductsControl.js +0 -1
- package/dist/product-set/form/SelectCategoryModal.d.ts +0 -12
- package/dist/product-set/form/SelectCategoryModal.d.ts.map +1 -1
- package/dist/product-set/form/SelectCategoryModal.js +1 -1
- package/dist/product-set/form/SubProductsControl.d.ts.map +1 -1
- package/dist/product-set/form/SubProductsControl.js +3 -0
- package/dist/product-set/form/VenueMapsControl.d.ts.map +1 -1
- package/dist/product-set/form/VenueMapsControl.js +3 -0
- package/dist/product-set/form/index.d.ts +0 -1
- package/dist/product-set/form/index.d.ts.map +1 -1
- package/dist/product-set/product/ProductControl.d.ts.map +1 -1
- package/dist/product-set/product/booking-management/ProductBookingManagementControl.d.ts.map +1 -1
- package/dist/product-set/product/booking-management/ProductBookingManagementControl.js +0 -6
- package/dist/product-set/product/deposit/ProductDepositControl.d.ts.map +1 -1
- package/dist/product-set/product/deposit/ProductDepositControl.js +0 -3
- package/dist/product-set/product/duration/ProductDurationControl.d.ts.map +1 -1
- package/dist/product-set/product/duration/ProductDurationControl.js +0 -6
- package/dist/product-set/product/price/ProductPriceControl.d.ts.map +1 -1
- package/dist/product-set/product/price/ProductPriceControl.js +0 -3
- package/dist/product-set/product/quantity/ProductQuantityConstantControl.d.ts.map +1 -1
- package/dist/product-set/product/quantity/ProductQuantityConstantControl.js +0 -6
- package/dist/product-set/product/quantity/ProductQuantityControl.d.ts.map +1 -1
- package/dist/product-set/product/quantity/ProductQuantityControl.js +0 -6
- package/dist/product-set/product/quantity/ProductQuantityRechargingControl.d.ts.map +1 -1
- package/dist/product-set/product/quantity/ProductQuantityRechargingControl.js +1 -4
- package/dist/product-set/product-category/ProductCategoryControl.d.ts.map +1 -1
- package/dist/product-set/product-category/ProductCategoryControl.js +0 -12
- package/dist/product-set/utils/index.d.ts +0 -7
- package/dist/product-set/utils/index.d.ts.map +1 -1
- package/dist/product-set/utils/index.js +1 -10
- package/dist/recurrence-input/RecurrenceEndInput.d.ts.map +1 -1
- package/dist/recurrence-input/RecurrenceEndInput.js +0 -3
- package/dist/recurring-date-picker-input/RecurrenceEndInput.d.ts.map +1 -1
- package/dist/resource/form/components/CapacityControl.d.ts.map +1 -1
- package/dist/resource/form/components/CapacityControl.js +0 -3
- package/dist/resource/form/components/SortControl.d.ts.map +1 -1
- package/dist/resource/form/components/SortControl.js +0 -3
- package/dist/sales/booking/results/components/ResultCard.d.ts.map +1 -1
- package/dist/sales/booking/results/components/ResultCard.js +2 -0
- package/dist/sales/coupon/control/CouponFormControl.d.ts.map +1 -1
- package/dist/sales/coupon/control/CouponFormControl.js +0 -21
- package/dist/setting/admin/PaymentFeeForm.d.ts.map +1 -1
- package/dist/setting/admin/PaymentFeeForm.js +1 -16
- package/dist/setting/dashboard/DashboardSettingForm.d.ts.map +1 -1
- package/dist/setting/dashboard/DashboardSettingForm.js +1 -4
- package/dist/snippet/snippet-template/preview/Preview.d.ts.map +1 -1
- package/dist/snippet/snippet-template/preview/Preview.js +0 -6
- package/dist/sortable-tree/SortableTreeItem.d.ts +1 -2
- package/dist/sortable-tree/SortableTreeItem.d.ts.map +1 -1
- package/dist/sortable-tree/SortableTreeItem.js +4 -10
- package/dist/static/CurrencyNumberInput.d.ts.map +1 -1
- package/dist/static/CurrencyNumberInput.js +0 -3
- package/dist/static/form-number-input/FormNumberInput.d.ts.map +1 -1
- package/dist/static/form-number-input/FormNumberInput.js +0 -3
- package/dist/static/number-input/NumberInput.d.ts.map +1 -1
- package/dist/static/number-input/NumberInput.js +0 -3
- package/dist/styles/activity-card/{ActivitiesCard.scss → GridActivitiesCard.scss} +5 -19
- package/dist/styles/activity-card/ListActivitiesCard.scss +42 -12
- package/dist/styles/activity-card/_index.scss +1 -1
- package/dist/styles/availability-indicator/AvailabilityIndicator.scss +0 -9
- package/dist/styles/iframe-external-modal/IframeExternalModal.scss +2 -2
- package/dist/styles/product-set/ProductSetForm.scss +0 -22
- package/dist/styles/ryft-payment-form/RyftPaymentForm.scss +0 -25
- package/dist/styles/sales/BookingResults.scss +1 -1
- package/dist/typeahead/Typeahead.d.ts +1 -5
- package/dist/typeahead/Typeahead.d.ts.map +1 -1
- package/dist/typeahead/Typeahead.js +2 -9
- package/dist/zone/form/components/GameDurationControl.d.ts.map +1 -1
- package/dist/zone/form/components/GameDurationControl.js +0 -3
- package/dist/zone/form/components/SortControl.d.ts.map +1 -1
- package/dist/zone/form/components/SortControl.js +0 -3
- package/package.json +7 -9
- package/src/affiliate/form/AffiliateForm.tsx +0 -1
- package/src/auth/Login/LoginComponent.tsx +1 -1
- package/src/events/edit-event-modal/component/EditEventForm/EditEventForm.tsx +0 -3
- package/src/events/edit-event-modal/component/SelectEventProductSet/SelectEventProductSet.tsx +85 -88
- package/src/events/edit-event-modal/component/SelectEventProductSet/component/EditEventProductSet.tsx +1 -11
- package/src/events/edit-event-modal/utils/getDefaultProductSet.ts +1 -2
- package/src/iframe/activity-card/ActivityCard.tsx +24 -41
- package/src/iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.tsx +0 -9
- package/src/iframe/order-process/components/CategoryProduct/components/ProductQuantityInput/ProductQuantityInput.tsx +0 -1
- package/src/iframe/payment/order-items-table/utils/paymentSummary.tsx +0 -1
- package/src/iframe/ryft/RyftPaymentForm.tsx +4 -9
- package/src/iframe/ryft/utils/ryft-form.ts +2 -28
- package/src/layout/DropDown.tsx +1 -1
- package/src/modals/confirmation/ConfirmModal.tsx +3 -19
- package/src/notification/email-template/control/EmailTemplateControl.tsx +0 -1
- package/src/product-set/card/ProductSetCard.tsx +8 -47
- package/src/product-set/control/DateAndRecurrenceInput.tsx +1 -3
- package/src/product-set/control/DateInput.tsx +1 -2
- package/src/product-set/control/ProductSetControl.tsx +52 -52
- package/src/product-set/form/MobileFooter.tsx +3 -1
- package/src/product-set/form/ProductCategoriesControl.tsx +1 -37
- package/src/product-set/form/ProductSetForm.tsx +2 -24
- package/src/product-set/form/ProductZonesControl.tsx +4 -1
- package/src/product-set/form/SelectCategoryModal.tsx +2 -2
- package/src/product-set/form/SubProductsControl.tsx +3 -0
- package/src/product-set/form/VenueMapsControl.tsx +3 -0
- package/src/product-set/form/index.ts +0 -1
- package/src/product-set/product/ProductControl.tsx +1 -0
- package/src/product-set/product/advanced-options/AdvancedOptions.tsx +1 -1
- package/src/product-set/product/booking-management/ProductBookingManagementControl.tsx +0 -2
- package/src/product-set/product/deposit/ProductDepositControl.tsx +0 -1
- package/src/product-set/product/duration/ProductDurationControl.tsx +0 -2
- package/src/product-set/product/price/ProductPriceControl.tsx +0 -1
- package/src/product-set/product/quantity/ProductQuantityConstantControl.tsx +0 -2
- package/src/product-set/product/quantity/ProductQuantityControl.tsx +0 -2
- package/src/product-set/product/quantity/ProductQuantityRechargingControl.tsx +0 -1
- package/src/product-set/product-category/ProductCategoryControl.tsx +0 -4
- package/src/product-set/product-zone/ProductZoneControl.tsx +1 -1
- package/src/product-set/utils/index.ts +0 -11
- package/src/recurrence-input/RecurrenceEndInput.tsx +0 -1
- package/src/recurring-date-picker-input/RecurrenceEndInput.tsx +0 -1
- package/src/resource/form/components/CapacityControl.tsx +0 -1
- package/src/resource/form/components/SortControl.tsx +0 -1
- package/src/sales/booking/results/components/ResultCard.tsx +2 -0
- package/src/sales/coupon/control/CouponFormControl.tsx +0 -7
- package/src/setting/admin/PaymentFeeForm.tsx +0 -5
- package/src/setting/dashboard/DashboardSettingForm.tsx +0 -1
- package/src/snippet/snippet-template/preview/Preview.tsx +0 -6
- package/src/sortable-tree/SortableTreeItem.tsx +0 -6
- package/src/static/CurrencyNumberInput.tsx +0 -1
- package/src/static/form-number-input/FormNumberInput.tsx +0 -1
- package/src/static/number-input/NumberInput.tsx +0 -1
- package/src/styles/activity-card/{ActivitiesCard.scss → GridActivitiesCard.scss} +5 -19
- package/src/styles/activity-card/ListActivitiesCard.scss +42 -12
- package/src/styles/activity-card/_index.scss +1 -1
- package/src/styles/availability-indicator/AvailabilityIndicator.scss +0 -9
- package/src/styles/iframe-external-modal/IframeExternalModal.scss +2 -2
- package/src/styles/product-set/ProductSetForm.scss +0 -22
- package/src/styles/ryft-payment-form/RyftPaymentForm.scss +0 -25
- package/src/styles/sales/BookingResults.scss +1 -1
- package/src/typeahead/Typeahead.tsx +1 -15
- package/src/zone/form/components/GameDurationControl.tsx +0 -1
- package/src/zone/form/components/SortControl.tsx +0 -1
- package/yarn.lock +47 -73
- package/dist/product-set/control/ProductSetImageControl.d.ts +0 -2
- package/dist/product-set/control/ProductSetImageControl.d.ts.map +0 -1
- package/dist/product-set/control/ProductSetImageControl.js +0 -279
- package/dist/product-set/form/ProductSetNameControl.d.ts +0 -6
- package/dist/product-set/form/ProductSetNameControl.d.ts.map +0 -1
- package/dist/product-set/form/ProductSetNameControl.js +0 -35
- package/src/product-set/control/ProductSetImageControl.tsx +0 -97
- 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
|
/>
|
|
@@ -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'>
|
|
@@ -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
|
-
|
|
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
|
-
|
|
7
|
-
|
|
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
|
-
|
|
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
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
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
|
-
|
|
26
|
-
|
|
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 './
|
|
1
|
+
@import './GridActivitiesCard.scss';
|
|
2
2
|
@import './ListActivitiesCard.scss';
|
|
@@ -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:
|
|
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:
|
|
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
|
}
|
|
@@ -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={
|
|
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}
|