@licklist/design 0.70.6-dev.0 → 0.70.7
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/assets/iframe/available.svg +4 -4
- package/dist/assets/iframe/available.svg.js +18 -16
- package/dist/auth/Login/LoginComponent.js +1 -2
- package/dist/availability-indicator/AvailabilityIndicator.d.ts +2 -4
- package/dist/availability-indicator/AvailabilityIndicator.d.ts.map +1 -1
- package/dist/availability-indicator/AvailabilityIndicator.js +18 -112
- package/dist/calendar/Calendar.d.ts +0 -2
- package/dist/calendar/Calendar.d.ts.map +1 -1
- package/dist/calendar/components/CalendarDates/CalendarDates.d.ts +2 -2
- package/dist/calendar/components/CalendarDates/CalendarDates.d.ts.map +1 -1
- package/dist/calendar/components/CalendarDates/CalendarDates.js +2 -3
- package/dist/calendar/utils/index.d.ts +2 -8
- package/dist/calendar/utils/index.d.ts.map +1 -1
- package/dist/calendar/utils/index.js +21 -9
- package/dist/date-time-button/DateContent.d.ts.map +1 -1
- package/dist/date-time-button/DateContent.js +3 -3
- package/dist/date-time-button/DateTimeButton.d.ts +1 -3
- package/dist/date-time-button/DateTimeButton.d.ts.map +1 -1
- package/dist/date-time-button/DateTimeButton.js +3 -5
- package/dist/events/edit-event-modal/component/SelectEventProductSet/component/EditEventProductSet.js +1 -3
- package/dist/events/edit-event-modal/utils/getDefaultProductSet.d.ts.map +1 -1
- package/dist/events/edit-event-modal/utils/getDefaultProductSet.js +1 -0
- package/dist/events/event-venue-map/EventVenueMap.d.ts.map +1 -1
- package/dist/events/event-venue-map/EventVenueMap.js +0 -1
- package/dist/events/event-venue-map/hooks/useCanvasSize.d.ts.map +1 -1
- package/dist/events/event-venue-map/hooks/useCanvasSize.js +4 -11
- package/dist/iframe/activity-card/ActivityCard.d.ts +1 -3
- package/dist/iframe/activity-card/ActivityCard.d.ts.map +1 -1
- package/dist/iframe/activity-card/ActivityCard.js +3 -5
- package/dist/iframe/event/ticket-description/TicketDescription.d.ts.map +1 -1
- package/dist/iframe/event/ticket-description/TicketDescription.js +32 -43
- 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/payment/order-items-table/utils/paymentSummary.d.ts.map +1 -1
- package/dist/iframe/ryft/RyftPaymentForm.d.ts.map +1 -1
- package/dist/iframe/ryft/RyftPaymentForm.js +12 -25
- package/dist/iframe/ryft/utils/ryft-form.d.ts.map +1 -1
- package/dist/iframe/ryft/utils/ryft-form.js +5 -4
- package/dist/layout/DropDown.d.ts +1 -2
- package/dist/layout/DropDown.d.ts.map +1 -1
- 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/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 -1
- 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/product/ProductControl.d.ts.map +1 -1
- package/dist/product-set/product/advanced-options/AdvancedOptions.js +0 -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/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 -8
- 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/availability-indicator/AvailabilityIndicator.scss +0 -9
- package/dist/styles/date-time-button/DateTimeButton.scss +1 -2
- package/dist/styles/iframe-events/TicketDescription.scss +1 -1
- 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 +3 -1
- package/dist/styles/sales/BookingResults.scss +1 -1
- package/dist/tiptap-editor/TipTapEditor.d.ts +1 -2
- package/dist/tiptap-editor/TipTapEditor.d.ts.map +1 -1
- package/dist/tiptap-editor/TipTapEditor.js +2 -32
- 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 +6 -8
- package/src/affiliate/form/AffiliateForm.tsx +0 -1
- package/src/assets/iframe/available.svg +4 -4
- package/src/auth/Login/LoginComponent.tsx +1 -1
- package/src/availability-indicator/AvailabilityIndicator.tsx +17 -92
- package/src/calendar/Calendar.tsx +0 -2
- package/src/calendar/components/CalendarDates/CalendarDates.tsx +0 -3
- package/src/calendar/utils/index.ts +26 -17
- package/src/date-time-button/DateContent.tsx +3 -3
- package/src/date-time-button/DateTimeButton.tsx +3 -7
- package/src/events/edit-event-modal/utils/getDefaultProductSet.ts +1 -0
- package/src/events/event-venue-map/EventVenueMap.tsx +0 -1
- package/src/events/event-venue-map/hooks/useCanvasSize.ts +1 -5
- package/src/iframe/activity-card/ActivityCard.tsx +2 -15
- package/src/iframe/event/ticket-description/TicketDescription.tsx +22 -35
- package/src/iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.tsx +0 -9
- package/src/iframe/payment/order-items-table/utils/paymentSummary.tsx +0 -1
- package/src/iframe/ryft/RyftPaymentForm.tsx +3 -14
- package/src/iframe/ryft/utils/ryft-form.ts +5 -6
- package/src/layout/DropDown.tsx +1 -1
- package/src/notification/email-template/control/EmailTemplateControl.tsx +0 -1
- package/src/product-set/form/ProductCategoriesControl.tsx +1 -37
- package/src/product-set/form/ProductSetForm.tsx +2 -6
- 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/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/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/availability-indicator/AvailabilityIndicator.scss +0 -9
- package/src/styles/date-time-button/DateTimeButton.scss +1 -2
- package/src/styles/iframe-events/TicketDescription.scss +1 -1
- 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 +3 -1
- package/src/styles/sales/BookingResults.scss +1 -1
- package/src/tiptap-editor/TipTapEditor.tsx +1 -8
- package/src/zone/form/components/GameDurationControl.tsx +0 -1
- package/src/zone/form/components/SortControl.tsx +0 -1
- package/yarn.lock +31 -32
|
@@ -27,7 +27,6 @@ export const CapacityControl = ({ isLoading }: CapacityControlProps) => {
|
|
|
27
27
|
required: true,
|
|
28
28
|
min: 1,
|
|
29
29
|
})}
|
|
30
|
-
onWheel={(event) => event.currentTarget.blur()}
|
|
31
30
|
placeholder={t('Design:capacity')}
|
|
32
31
|
isInvalid={Boolean(errors.capacity)}
|
|
33
32
|
disabled={isLoading}
|
|
@@ -179,7 +179,6 @@ export const CouponFormControl = ({
|
|
|
179
179
|
<Form.Label>{t('Design:discount')}</Form.Label>
|
|
180
180
|
<Form.Control
|
|
181
181
|
type='number'
|
|
182
|
-
onWheel={(event) => event.currentTarget.blur()}
|
|
183
182
|
isInvalid={errors.discount !== undefined}
|
|
184
183
|
{...register('discount', {
|
|
185
184
|
required: t('Validation:fieldRequired', {
|
|
@@ -317,7 +316,6 @@ export const CouponFormControl = ({
|
|
|
317
316
|
<Form.Control
|
|
318
317
|
{...register('totalCoupons')}
|
|
319
318
|
type='number'
|
|
320
|
-
onWheel={(event) => event.currentTarget.blur()}
|
|
321
319
|
isInvalid={errors.totalCoupons !== undefined}
|
|
322
320
|
disabled={isLoading}
|
|
323
321
|
/>
|
|
@@ -332,7 +330,6 @@ export const CouponFormControl = ({
|
|
|
332
330
|
<Form.Control
|
|
333
331
|
type='number'
|
|
334
332
|
{...register('usesPerUser')}
|
|
335
|
-
onWheel={(event) => event.currentTarget.blur()}
|
|
336
333
|
disabled={isLoading}
|
|
337
334
|
/>
|
|
338
335
|
</Form.Group>
|
|
@@ -345,7 +342,6 @@ export const CouponFormControl = ({
|
|
|
345
342
|
<Form.Control
|
|
346
343
|
type='number'
|
|
347
344
|
{...register('useAgain')}
|
|
348
|
-
onWheel={(event) => event.currentTarget.blur()}
|
|
349
345
|
disabled={isLoading}
|
|
350
346
|
/>
|
|
351
347
|
<Form.Text className='text-muted'>
|
|
@@ -359,7 +355,6 @@ export const CouponFormControl = ({
|
|
|
359
355
|
<Form.Control
|
|
360
356
|
type='number'
|
|
361
357
|
{...register('usesPerUserDay')}
|
|
362
|
-
onWheel={(event) => event.currentTarget.blur()}
|
|
363
358
|
disabled={isLoading}
|
|
364
359
|
/>
|
|
365
360
|
<Form.Text className='text-muted'>
|
|
@@ -375,7 +370,6 @@ export const CouponFormControl = ({
|
|
|
375
370
|
<Form.Control
|
|
376
371
|
type='number'
|
|
377
372
|
{...register('minAmount')}
|
|
378
|
-
onWheel={(event) => event.currentTarget.blur()}
|
|
379
373
|
disabled={isLoading}
|
|
380
374
|
/>
|
|
381
375
|
<Form.Text className='text-muted'>
|
|
@@ -389,7 +383,6 @@ export const CouponFormControl = ({
|
|
|
389
383
|
<Form.Control
|
|
390
384
|
type='number'
|
|
391
385
|
{...register('maxAmount')}
|
|
392
|
-
onWheel={(event) => event.currentTarget.blur()}
|
|
393
386
|
disabled={isLoading}
|
|
394
387
|
/>
|
|
395
388
|
<Form.Text className='text-muted'>
|
|
@@ -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
|
/>
|
|
@@ -309,7 +309,6 @@ export function Preview({
|
|
|
309
309
|
productCategoryId: 57,
|
|
310
310
|
productGroupId: null,
|
|
311
311
|
availableQuantity: 980,
|
|
312
|
-
zoneId: null,
|
|
313
312
|
name: 'Cofee',
|
|
314
313
|
description: '',
|
|
315
314
|
price: 15,
|
|
@@ -318,8 +317,6 @@ export function Preview({
|
|
|
318
317
|
maxQuantity: 15,
|
|
319
318
|
totalQuantity: 980,
|
|
320
319
|
type: 'sale' as const,
|
|
321
|
-
capacity: 0,
|
|
322
|
-
duration: 0,
|
|
323
320
|
weight: 0,
|
|
324
321
|
isAvailable: true,
|
|
325
322
|
isSoldOut: false,
|
|
@@ -338,7 +335,6 @@ export function Preview({
|
|
|
338
335
|
productCategoryId: 57,
|
|
339
336
|
productGroupId: null,
|
|
340
337
|
availableQuantity: 980,
|
|
341
|
-
zoneId: null,
|
|
342
338
|
name: 'Cofee 2',
|
|
343
339
|
description: '',
|
|
344
340
|
price: 15,
|
|
@@ -347,8 +343,6 @@ export function Preview({
|
|
|
347
343
|
maxQuantity: 15,
|
|
348
344
|
totalQuantity: 980,
|
|
349
345
|
type: 'sale' as const,
|
|
350
|
-
capacity: 0,
|
|
351
|
-
duration: 0,
|
|
352
346
|
weight: 0,
|
|
353
347
|
isAvailable: true,
|
|
354
348
|
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'>
|
|
@@ -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;
|
|
@@ -102,6 +102,7 @@
|
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
.ryft-payment-form {
|
|
105
|
+
|
|
105
106
|
.form-disable-box {
|
|
106
107
|
display: none;
|
|
107
108
|
position: absolute;
|
|
@@ -183,6 +184,7 @@
|
|
|
183
184
|
}
|
|
184
185
|
|
|
185
186
|
@include media-breakpoint-up(md) {
|
|
187
|
+
|
|
186
188
|
.ryft-payment-form,
|
|
187
189
|
.form-disable-box {
|
|
188
190
|
height: 50%;
|
|
@@ -211,4 +213,4 @@
|
|
|
211
213
|
.divider {
|
|
212
214
|
display: none !important;
|
|
213
215
|
}
|
|
214
|
-
}
|
|
216
|
+
}
|
|
@@ -30,7 +30,6 @@ export interface TipTapEditorProps {
|
|
|
30
30
|
editorStyle?: React.CSSProperties
|
|
31
31
|
className?: string
|
|
32
32
|
id?: string
|
|
33
|
-
hideEmptyEditor?: boolean
|
|
34
33
|
}
|
|
35
34
|
|
|
36
35
|
const DEFAULT_CONTENT = '<p></p>'
|
|
@@ -66,7 +65,6 @@ export function TipTapEditor({
|
|
|
66
65
|
editorStyle,
|
|
67
66
|
className,
|
|
68
67
|
id,
|
|
69
|
-
hideEmptyEditor = false,
|
|
70
68
|
}: TipTapEditorProps) {
|
|
71
69
|
const editor = useEditor(
|
|
72
70
|
{
|
|
@@ -105,12 +103,7 @@ export function TipTapEditor({
|
|
|
105
103
|
disabled && 'editor-disabled',
|
|
106
104
|
className,
|
|
107
105
|
)}
|
|
108
|
-
style={
|
|
109
|
-
...editorStyle,
|
|
110
|
-
...(hideEmptyEditor
|
|
111
|
-
? { display: editor?.isEmpty ? 'none' : 'block' }
|
|
112
|
-
: {}),
|
|
113
|
-
}}
|
|
106
|
+
style={editorStyle}
|
|
114
107
|
editor={editor}
|
|
115
108
|
/>
|
|
116
109
|
</div>
|
package/yarn.lock
CHANGED
|
@@ -2466,9 +2466,9 @@ __metadata:
|
|
|
2466
2466
|
languageName: node
|
|
2467
2467
|
linkType: hard
|
|
2468
2468
|
|
|
2469
|
-
"@licklist/core@npm:0.
|
|
2470
|
-
version: 0.
|
|
2471
|
-
resolution: "@licklist/core@npm:0.
|
|
2469
|
+
"@licklist/core@npm:0.30.1":
|
|
2470
|
+
version: 0.30.1
|
|
2471
|
+
resolution: "@licklist/core@npm:0.30.1"
|
|
2472
2472
|
dependencies:
|
|
2473
2473
|
"@sentry/browser": "npm:6.2.0"
|
|
2474
2474
|
axios: "npm:0.26.0"
|
|
@@ -2480,7 +2480,6 @@ __metadata:
|
|
|
2480
2480
|
react-intl: "npm:6.6.8"
|
|
2481
2481
|
uuid: "npm:9.0.0"
|
|
2482
2482
|
wait-for-expect: "npm:3.0.2"
|
|
2483
|
-
zustand: "npm:3.7.2"
|
|
2484
2483
|
peerDependencies:
|
|
2485
2484
|
"@licklist/eslint-config": 0.5.6
|
|
2486
2485
|
axios: 0.26.0
|
|
@@ -2489,14 +2488,13 @@ __metadata:
|
|
|
2489
2488
|
react-dom: 17.0.2
|
|
2490
2489
|
react-i18next: 11.8.8
|
|
2491
2490
|
react-intl: 6.6.8
|
|
2492
|
-
|
|
2493
|
-
checksum: 10c0/fcefd4631fbf3d116a36833b748fc9b557cae8b580acae4c1bd7d29f1665a42456b1109a3f80620f6f7244161f8260d6243680ff739a2a544221e1b7e4a01e57
|
|
2491
|
+
checksum: 10c0/2b3ec4eebfffd120e188825beb607864dfc85ddc6f5cd834e6c7b99b0191171936da0299441f2a91721d70ebb196279b6b72d8e9ec37fc21d4f51f97400b8475
|
|
2494
2492
|
languageName: node
|
|
2495
2493
|
linkType: hard
|
|
2496
2494
|
|
|
2497
|
-
"@licklist/core@npm:0.31.
|
|
2498
|
-
version: 0.31.
|
|
2499
|
-
resolution: "@licklist/core@npm:0.31.
|
|
2495
|
+
"@licklist/core@npm:0.31.3":
|
|
2496
|
+
version: 0.31.3
|
|
2497
|
+
resolution: "@licklist/core@npm:0.31.3"
|
|
2500
2498
|
dependencies:
|
|
2501
2499
|
"@sentry/browser": "npm:6.2.0"
|
|
2502
2500
|
axios: "npm:0.26.0"
|
|
@@ -2518,7 +2516,7 @@ __metadata:
|
|
|
2518
2516
|
react-i18next: 11.8.8
|
|
2519
2517
|
react-intl: 6.6.8
|
|
2520
2518
|
zustand: 3.7.2
|
|
2521
|
-
checksum: 10c0/
|
|
2519
|
+
checksum: 10c0/614fc7baaf0ba650fd1bc2a012d929993dc3ec280b0cf4d5a37711f84f2c64e810d27cf645a7b127c0203cf83d969d49df493c7e41f9d0978b2a9217a2dd0fe8
|
|
2522
2520
|
languageName: node
|
|
2523
2521
|
linkType: hard
|
|
2524
2522
|
|
|
@@ -2533,9 +2531,9 @@ __metadata:
|
|
|
2533
2531
|
"@dnd-kit/utilities": "npm:2.0.0"
|
|
2534
2532
|
"@fortawesome/fontawesome-svg-core": "npm:1.2.34"
|
|
2535
2533
|
"@fortawesome/free-solid-svg-icons": "npm:5.15.2"
|
|
2536
|
-
"@licklist/core": "npm:0.31.
|
|
2534
|
+
"@licklist/core": "npm:0.31.3"
|
|
2537
2535
|
"@licklist/eslint-config": "npm:0.5.6"
|
|
2538
|
-
"@licklist/plugins": "npm:0.
|
|
2536
|
+
"@licklist/plugins": "npm:0.33.6"
|
|
2539
2537
|
"@mantine/core": "npm:6.0.22"
|
|
2540
2538
|
"@mantine/hooks": "npm:6.0.22"
|
|
2541
2539
|
"@mdx-js/react": "npm:1.6.22"
|
|
@@ -2664,9 +2662,9 @@ __metadata:
|
|
|
2664
2662
|
vite-plugin-svgr: "npm:4.2.0"
|
|
2665
2663
|
vite-tsconfig-paths: "npm:5.0.1"
|
|
2666
2664
|
peerDependencies:
|
|
2667
|
-
"@licklist/core": 0.
|
|
2665
|
+
"@licklist/core": 0.30.3
|
|
2668
2666
|
"@licklist/eslint-config": 0.5.6
|
|
2669
|
-
"@licklist/plugins": 0.
|
|
2667
|
+
"@licklist/plugins": 0.33.6
|
|
2670
2668
|
lodash: 4.17.21
|
|
2671
2669
|
luxon: 3.5.0
|
|
2672
2670
|
react: 17.0.2
|
|
@@ -2696,11 +2694,11 @@ __metadata:
|
|
|
2696
2694
|
languageName: node
|
|
2697
2695
|
linkType: hard
|
|
2698
2696
|
|
|
2699
|
-
"@licklist/plugins@npm:0.
|
|
2700
|
-
version: 0.
|
|
2701
|
-
resolution: "@licklist/plugins@npm:0.
|
|
2697
|
+
"@licklist/plugins@npm:0.33.6":
|
|
2698
|
+
version: 0.33.6
|
|
2699
|
+
resolution: "@licklist/plugins@npm:0.33.6"
|
|
2702
2700
|
dependencies:
|
|
2703
|
-
"@licklist/core": "npm:0.
|
|
2701
|
+
"@licklist/core": "npm:0.30.1"
|
|
2704
2702
|
axios: "npm:0.26.0"
|
|
2705
2703
|
history: "npm:4.10.1"
|
|
2706
2704
|
laravel-echo: "npm:1.15.1"
|
|
@@ -2720,7 +2718,7 @@ __metadata:
|
|
|
2720
2718
|
rrule: "npm:2.6.8"
|
|
2721
2719
|
use-debounce: "npm:7.0.1"
|
|
2722
2720
|
peerDependencies:
|
|
2723
|
-
"@licklist/core": 0.
|
|
2721
|
+
"@licklist/core": 0.30.1
|
|
2724
2722
|
"@licklist/eslint-config": 0.5.6
|
|
2725
2723
|
axios: 0.26.0
|
|
2726
2724
|
lodash: 4.17.21
|
|
@@ -2732,7 +2730,7 @@ __metadata:
|
|
|
2732
2730
|
react-loader: 2.4.7
|
|
2733
2731
|
react-query: 3.34.12
|
|
2734
2732
|
react-router-dom: 5.2.0
|
|
2735
|
-
checksum: 10c0/
|
|
2733
|
+
checksum: 10c0/e22d0c52eefb6e256a45062343700676b62839e440759ba1cdfe17c8a6320adf3f329adf2e1929cb63b0306ad01d99bb69a878717ec25db6027847d39f6dae67
|
|
2736
2734
|
languageName: node
|
|
2737
2735
|
linkType: hard
|
|
2738
2736
|
|
|
@@ -5698,11 +5696,11 @@ __metadata:
|
|
|
5698
5696
|
linkType: hard
|
|
5699
5697
|
|
|
5700
5698
|
"@types/node@npm:*":
|
|
5701
|
-
version: 22.
|
|
5702
|
-
resolution: "@types/node@npm:22.
|
|
5699
|
+
version: 22.9.0
|
|
5700
|
+
resolution: "@types/node@npm:22.9.0"
|
|
5703
5701
|
dependencies:
|
|
5704
5702
|
undici-types: "npm:~6.19.8"
|
|
5705
|
-
checksum: 10c0/
|
|
5703
|
+
checksum: 10c0/3f46cbe0a49bab4ba30494025e4c8a6e699b98ac922857aa1f0209ce11a1313ee46e6808b8f13fe5b8b960a9d7796b77c8d542ad4e9810e85ef897d5593b5d51
|
|
5706
5704
|
languageName: node
|
|
5707
5705
|
linkType: hard
|
|
5708
5706
|
|
|
@@ -8211,8 +8209,8 @@ __metadata:
|
|
|
8211
8209
|
linkType: hard
|
|
8212
8210
|
|
|
8213
8211
|
"chromatic@npm:^11.4.0":
|
|
8214
|
-
version: 11.16.
|
|
8215
|
-
resolution: "chromatic@npm:11.16.
|
|
8212
|
+
version: 11.16.5
|
|
8213
|
+
resolution: "chromatic@npm:11.16.5"
|
|
8216
8214
|
peerDependencies:
|
|
8217
8215
|
"@chromatic-com/cypress": ^0.*.* || ^1.0.0
|
|
8218
8216
|
"@chromatic-com/playwright": ^0.*.* || ^1.0.0
|
|
@@ -8225,7 +8223,7 @@ __metadata:
|
|
|
8225
8223
|
chroma: dist/bin.js
|
|
8226
8224
|
chromatic: dist/bin.js
|
|
8227
8225
|
chromatic-cli: dist/bin.js
|
|
8228
|
-
checksum: 10c0/
|
|
8226
|
+
checksum: 10c0/94fc65de8fdde6dfbc8c88419903e5f39a94945dc6de70d39570d4b522855e132fdaa4dcb1e0e3799d81d70db2bd07725c12c816b69617facfae10b5fd74585c
|
|
8229
8227
|
languageName: node
|
|
8230
8228
|
linkType: hard
|
|
8231
8229
|
|
|
@@ -9833,9 +9831,9 @@ __metadata:
|
|
|
9833
9831
|
linkType: hard
|
|
9834
9832
|
|
|
9835
9833
|
"electron-to-chromium@npm:^1.3.564, electron-to-chromium@npm:^1.5.41":
|
|
9836
|
-
version: 1.5.
|
|
9837
|
-
resolution: "electron-to-chromium@npm:1.5.
|
|
9838
|
-
checksum: 10c0/
|
|
9834
|
+
version: 1.5.51
|
|
9835
|
+
resolution: "electron-to-chromium@npm:1.5.51"
|
|
9836
|
+
checksum: 10c0/1903552a918bfc0568a3af568b14c9ac35bcf1ec8cba33a1c50304d93195c825aaa9b82ae463fcb19805600add4c302e7d2db4d762c36e5ae6547f72ad21afdd
|
|
9839
9837
|
languageName: node
|
|
9840
9838
|
linkType: hard
|
|
9841
9839
|
|
|
@@ -10137,8 +10135,8 @@ __metadata:
|
|
|
10137
10135
|
linkType: hard
|
|
10138
10136
|
|
|
10139
10137
|
"es-iterator-helpers@npm:^1.0.19":
|
|
10140
|
-
version: 1.
|
|
10141
|
-
resolution: "es-iterator-helpers@npm:1.
|
|
10138
|
+
version: 1.2.0
|
|
10139
|
+
resolution: "es-iterator-helpers@npm:1.2.0"
|
|
10142
10140
|
dependencies:
|
|
10143
10141
|
call-bind: "npm:^1.0.7"
|
|
10144
10142
|
define-properties: "npm:^1.2.1"
|
|
@@ -10148,13 +10146,14 @@ __metadata:
|
|
|
10148
10146
|
function-bind: "npm:^1.1.2"
|
|
10149
10147
|
get-intrinsic: "npm:^1.2.4"
|
|
10150
10148
|
globalthis: "npm:^1.0.4"
|
|
10149
|
+
gopd: "npm:^1.0.1"
|
|
10151
10150
|
has-property-descriptors: "npm:^1.0.2"
|
|
10152
10151
|
has-proto: "npm:^1.0.3"
|
|
10153
10152
|
has-symbols: "npm:^1.0.3"
|
|
10154
10153
|
internal-slot: "npm:^1.0.7"
|
|
10155
10154
|
iterator.prototype: "npm:^1.1.3"
|
|
10156
10155
|
safe-array-concat: "npm:^1.1.2"
|
|
10157
|
-
checksum: 10c0/
|
|
10156
|
+
checksum: 10c0/2bd60580dfeae353f5b80445d2808da745e97eeacdb663a8c4d99a12046873830a06d377e9d5e88fe54eece7c94319a5ce5a01220e24d71394ceca8d3ef621d7
|
|
10158
10157
|
languageName: node
|
|
10159
10158
|
linkType: hard
|
|
10160
10159
|
|