@licklist/design 0.69.1 → 0.69.2
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/.prettierrc +5 -1
- package/dist/events/edit-event-modal/IntervalInput.js +1 -1
- package/dist/events/edit-event-modal/component/SelectEventProductSet/SelectEventProductSet.js +2 -2
- package/dist/iframe/order-process/components/Timer/Timer.js +1 -1
- package/dist/modals/dialog/Dialog.js +2 -2
- package/dist/product-set/form/MobileFooter.d.ts.map +1 -1
- package/dist/recurring-date-picker-input/utils.js +6 -4
- package/dist/root.css +51 -51
- package/dist/sales/manual-booking/search-user/SearchUser.js +1 -1
- package/dist/tiptap-editor/TipTapMenu/extensions/constants.d.ts.map +1 -1
- package/dist/tiptap-editor/TipTapMenu/extensions/constants.js +1 -1
- package/dist/tiptap-editor/TipTapMenu/extensions/utils.js +1 -1
- package/package.json +2 -2
- package/postcss.config.cjs +2 -2
- package/src/affiliate/card/AffiliateCard.tsx +15 -15
- package/src/affiliate/form/AffiliateControl.tsx +8 -8
- package/src/affiliate/form/AffiliateForm.tsx +5 -5
- package/src/auth/AccessDenied/AccessDenied.tsx +8 -8
- package/src/auth/ChangePassword/ChangePasswordComponent.tsx +4 -4
- package/src/auth/ChangePassword/ChangePasswordFormComponent.tsx +14 -14
- package/src/auth/Layout/AuthNavComponent.tsx +6 -6
- package/src/auth/Layout/UserNavComponent.tsx +2 -2
- package/src/auth/Layout/UserNavDropDown.tsx +1 -1
- package/src/auth/Login/LoginComponent.tsx +8 -8
- package/src/auth/Login/LoginFormComponent.tsx +15 -15
- package/src/auth/Logout/Logout.stories.tsx +2 -2
- package/src/auth/Register/BirthDateFormComponent.tsx +17 -17
- package/src/auth/Register/RegisterComponent.tsx +7 -7
- package/src/auth/Register/RegisterFormComponent.tsx +56 -56
- package/src/auth/ResetPassword/ResetPasswordComponent.tsx +3 -3
- package/src/auth/ResetPassword/ResetPasswordFormComponent.tsx +13 -13
- package/src/auth/Social/SocialCallbackComponent.tsx +3 -3
- package/src/auth/Social/SocialFormComponent.tsx +4 -4
- package/src/availability-indicator/AvailabilityIndicator.tsx +1 -1
- package/src/calendar/Calendar.tsx +2 -2
- package/src/calendar/components/CalendarDates/CalendarDates.tsx +2 -2
- package/src/calendar/components/CalendarSelect/CalendarSelect.tsx +2 -2
- package/src/calendar/components/CalendarWeekdays/CalendarWeekdays.tsx +2 -2
- package/src/collapsible-input-group/CollapsibleInputGroup.tsx +6 -6
- package/src/custom-fields/CustomFields.stories.tsx +1 -1
- package/src/custom-fields/field/FieldItem.tsx +1 -1
- package/src/custom-fields/field/SelectFieldModal.tsx +4 -4
- package/src/custom-fields/field-set/components/CustomFieldSet/CustomFieldSet.tsx +8 -8
- package/src/custom-fields/forms/DropdownForm.tsx +16 -16
- package/src/custom-fields/forms/TextInputForm.tsx +6 -6
- package/src/customers/components/filter/CustomerFilter.tsx +3 -3
- package/src/date-time-button/DateContent.tsx +1 -1
- package/src/date-time-button/DateTimeButton.tsx +2 -2
- package/src/error/ErrorFallback.tsx +1 -1
- package/src/events/edit-event-modal/IntervalInput.tsx +15 -15
- package/src/events/edit-event-modal/component/EditEventForm/EditEventForm.stories.tsx +2 -2
- package/src/events/edit-event-modal/component/EditEventForm/EditEventForm.tsx +24 -24
- package/src/events/edit-event-modal/component/ProductSetShortForm/ProductSetShortForm.tsx +3 -3
- package/src/events/edit-event-modal/component/SaleDeadline/SaleDeadline.tsx +11 -11
- package/src/events/edit-event-modal/component/SelectEventProductSet/SelectEventProductSet.tsx +16 -16
- package/src/events/edit-event-modal/component/SelectEventProductSet/component/EditEventProductSet.tsx +5 -5
- package/src/events/edit-recurrent-event-modal/EditRecurrentEventModal.stories.tsx +1 -1
- package/src/events/edit-recurrent-event-modal/EditRecurrentEventModal.tsx +16 -16
- package/src/events/event-card/EventCard.stories.tsx +5 -5
- package/src/events/event-card/EventCard.tsx +30 -30
- package/src/events/event-card/EventCardSkeleton.tsx +10 -10
- package/src/events/event-statistic-modal/EventStatisticModal.stories.tsx +1 -1
- package/src/events/event-statistic-modal/EventStatisticModal.tsx +8 -8
- package/src/events/event-venue-map/components/Dropdown/Dropdown.tsx +1 -1
- package/src/events/event-venue-map/components/Dropdown/components/DropdownWrapper/DropdownWrapper.tsx +3 -3
- package/src/events/event-venue-map/components/Dropdown/components/ProductsControl/ProductsControl.tsx +5 -5
- package/src/events/event-venue-map/components/Dropdown/components/SelectControl/SelectControl.tsx +10 -10
- package/src/events/event-venue-map/components/MapPoint/components/DeleteIcon/DeleteIcon.tsx +1 -1
- package/src/events/event-venue-map/components/MapPoint/components/EditIcon/EditIcon.tsx +1 -1
- package/src/events/event-venue-map/components/MapPoint/components/PointIcon/PointIcon.tsx +2 -2
- package/src/events/event-venue-map/components/MapPoint/components/ProductIcon/ProductIcon.tsx +1 -1
- package/src/events/event-venue-map/components/Scrollbars/Scrollbars.tsx +5 -5
- package/src/events/event-venue-map/components/VenueMap/VenueMap.tsx +3 -3
- package/src/events/event-venue-map/components/ZoomButtons/ZoomButtons.tsx +4 -4
- package/src/file-upload/FilePreview.tsx +8 -8
- package/src/file-upload/FileUpload.tsx +8 -8
- package/src/header/BookeditHeader.tsx +1 -1
- package/src/header/Header.stories.tsx +16 -16
- package/src/header/Header.tsx +11 -11
- package/src/header/LicklistHeader.tsx +1 -1
- package/src/header/elements/CompanySelector.tsx +6 -6
- package/src/help/example/Example.tsx +12 -12
- package/src/help/popover/HelpPopover.tsx +5 -5
- package/src/iframe/activity-card/ActivityCard.tsx +6 -6
- package/src/iframe/back-button/BackButton.tsx +3 -3
- package/src/iframe/custom-fields/components/CustomDateField.stories.tsx +1 -1
- package/src/iframe/custom-fields/components/CustomDateField.tsx +7 -7
- package/src/iframe/event/event-booking-form/EventBookingForm.tsx +14 -14
- package/src/iframe/event/event-booking-products/EventBookingProducts.tsx +3 -3
- package/src/iframe/event/event-booking-products/components/AccordionItem/AccordionItem.tsx +10 -10
- package/src/iframe/event/event-booking-view/EventBookingView.tsx +1 -1
- package/src/iframe/event/event-card/IframeEventCard.stories.tsx +6 -6
- package/src/iframe/event/event-card/IframeEventCardSkeleton.tsx +20 -20
- package/src/iframe/event/event-card/IframeEventCards.stories.tsx +2 -2
- package/src/iframe/event/event-description/EventDescription.stories.tsx +3 -3
- package/src/iframe/event/event-description/EventDescription.tsx +10 -10
- package/src/iframe/event/event-navigation-footer/EventNavigationFooter.tsx +6 -6
- package/src/iframe/event/event-order-short-summary/EventOrderShortSummary.tsx +2 -2
- package/src/iframe/event/event-order-short-summary/components/Summary/Summary.tsx +4 -4
- package/src/iframe/event/event-order-summary/EventOrderSummary.stories.tsx +1 -1
- package/src/iframe/event/event-order-summary/EventOrderSummary.tsx +5 -5
- package/src/iframe/event/event-product-sets/EventProductSets.stories.tsx +1 -1
- package/src/iframe/event/event-product-sets/EventProductSets.tsx +1 -1
- package/src/iframe/event/event-product-sets/components/EventProductSet.tsx +1 -1
- package/src/iframe/event/event-step-venue-map-zones/EventStepVenueMapZones.tsx +1 -1
- package/src/iframe/event/event-step-venue-map-zones/components/EventStepVenueMapZone.tsx +3 -3
- package/src/iframe/event/event-tables/EventTables.stories.tsx +1 -1
- package/src/iframe/event/event-tables/EventTables.tsx +5 -5
- package/src/iframe/event/event-venue-map/IframeEventVenueMap.stories.tsx +4 -4
- package/src/iframe/event/event-venue-map/IframeEventVenueMap.tsx +1 -1
- package/src/iframe/event/ticket-description/TicketDescription.stories.tsx +6 -6
- package/src/iframe/event/ticket-description/TicketDescription.tsx +7 -7
- package/src/iframe/external-modal/ExternalModal.tsx +7 -7
- package/src/iframe/order-process/components/BookingSummary/BookingSummary.stories.tsx +8 -8
- package/src/iframe/order-process/components/BookingSummary/BookingSummary.tsx +23 -23
- package/src/iframe/order-process/components/BookingSummary/components/BookingSummaryAccordion/BookingSummaryAccordion.tsx +1 -1
- package/src/iframe/order-process/components/BookingSummary/components/ProductSummary/ProductSummary.tsx +6 -6
- package/src/iframe/order-process/components/BookingSummary/components/ProductsByMenuStep/ProductsByMenuStep.tsx +3 -3
- package/src/iframe/order-process/components/BookingSummary/components/SummaryTotal/SummaryTotal.tsx +1 -1
- package/src/iframe/order-process/components/BookingSummary/components/SummaryTotal/components/SummaryTotalBlock.tsx +2 -2
- package/src/iframe/order-process/components/BookingSummary/components/ToggleHeader/ToggleHeader.tsx +9 -9
- package/src/iframe/order-process/components/BookingSummaryFooter/BookingSummaryFooter.tsx +3 -3
- package/src/iframe/order-process/components/CalendarStepsForm/CalendarStepsForm.stories.tsx +5 -5
- package/src/iframe/order-process/components/CalendarStepsForm/CalendarStepsForm.tsx +3 -3
- package/src/iframe/order-process/components/CalendarStepsForm/components/Category.tsx +1 -1
- package/src/iframe/order-process/components/CalendarStepsForm/components/CategoryProductModal.tsx +3 -3
- package/src/iframe/order-process/components/CategoryProduct/CategoryProduct.tsx +7 -7
- package/src/iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.stories.tsx +1 -1
- package/src/iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.tsx +4 -4
- package/src/iframe/order-process/components/CategoryProduct/components/ProductQuantityInput/ProductQuantityInput.tsx +2 -2
- package/src/iframe/order-process/components/ErrorModal/ErrorModal.tsx +8 -8
- package/src/iframe/order-process/components/NavigationFooter/NavigationFooter.tsx +4 -4
- package/src/iframe/order-process/components/NavigationSteps/NavigationSteps.stories.tsx +1 -1
- package/src/iframe/order-process/components/NavigationSteps/NavigationSteps.tsx +6 -6
- package/src/iframe/order-process/components/PaymentCard/PaymentCard.stories.tsx +2 -2
- package/src/iframe/order-process/components/PaymentCard/PaymentCard.tsx +9 -9
- package/src/iframe/order-process/components/Timer/Timer.stories.tsx +2 -2
- package/src/iframe/order-process/components/Timer/Timer.tsx +6 -6
- package/src/iframe/page/Page.stories.tsx +4 -4
- package/src/iframe/page/Page.tsx +1 -1
- package/src/iframe/page/components/PageBody/components/LeftBlock/LeftBlock.tsx +2 -2
- package/src/iframe/page/components/PageBody/components/RightBlock/RightBlock.tsx +2 -2
- package/src/iframe/page/components/PageHeader/PageHeader.tsx +6 -6
- package/src/iframe/payment/order-items-table/OrderItemsTable.stories.tsx +2 -2
- package/src/iframe/payment/order-items-table/OrderItemsTable.tsx +2 -2
- package/src/iframe/payment/order-items-table/hooks/useTableData.tsx +3 -3
- package/src/iframe/payment/payment-form/PaymentForm.stories.tsx +5 -5
- package/src/iframe/payment/payment-form/PaymentForm.tsx +12 -12
- package/src/iframe/payment/payment-page/PaymentPage.tsx +5 -5
- package/src/iframe/payment/payment-status-header/PaymentStatusHeader.stories.tsx +2 -2
- package/src/iframe/payment/payment-status-header/PaymentStatusHeader.tsx +2 -2
- package/src/iframe/payment/payment-status-page/PaymentStatusComponent.stories.tsx +2 -2
- package/src/iframe/payment/payment-status-page/PaymentStatusPage.tsx +2 -2
- package/src/iframe/payment/status-body/StatusBody.tsx +3 -3
- package/src/iframe/powered-by/PoweredBy.tsx +4 -4
- package/src/iframe/ryft/RyftPaymentForm.tsx +12 -12
- package/src/image-radio-input/ImageRadioInput.tsx +5 -5
- package/src/layout/BackgroundVideoContainer.tsx +2 -2
- package/src/layout/Container.tsx +1 -1
- package/src/layout/Layout.stories.tsx +5 -5
- package/src/logo/Logo.tsx +2 -2
- package/src/modals/confirmation/ConfirmModal.tsx +13 -13
- package/src/modals/dialog/Dialog.tsx +10 -10
- package/src/modals/fullscreen/FullscreenModal.tsx +10 -10
- package/src/modals/fullscreen/FulscreenModal.stories.tsx +2 -2
- package/src/notification/components/NotificationPlaceholders.tsx +5 -5
- package/src/notification/email-template/card/EmailTemplateCard.tsx +10 -10
- package/src/notification/email-template/control/EmailTemplateControl.tsx +29 -29
- package/src/notification/email-template/form/EmailTemplateForm.tsx +3 -3
- package/src/notification/send-email-template/SendEmailTemplateForm.tsx +11 -11
- package/src/notification/sms-template/card/SmsTemplateCard.tsx +9 -9
- package/src/notification/sms-template/control/SmsTemplateControl.tsx +15 -15
- package/src/notification/sms-template/form/SmsTemplateForm.tsx +1 -1
- package/src/number-of-people-input/components/RenderNumberOfPeopleInputComponent.tsx +6 -6
- package/src/product-set/card/ProductSetCard.tsx +18 -18
- package/src/product-set/control/DateAndRecurrenceInput.tsx +10 -10
- package/src/product-set/control/DateInput.tsx +10 -10
- package/src/product-set/control/ProductSetControl.stories.tsx +2 -2
- package/src/product-set/control/ProductSetControl.tsx +23 -23
- package/src/product-set/control/ProductSetRecurrenceControl.stories.tsx +1 -1
- package/src/product-set/control/ProductSetRecurrenceControl.tsx +10 -10
- package/src/product-set/control/ProductSetRecurrenceOverridesControl.tsx +9 -9
- package/src/product-set/control/TutorialGifCard.tsx +10 -10
- package/src/product-set/deposit-paid/ProductSetDepositPaid.stories.tsx +2 -2
- package/src/product-set/deposit-paid/ProductSetDepositPaidControl.tsx +9 -9
- package/src/product-set/elements/DeleteFieldButton.tsx +3 -3
- package/src/product-set/form/MobileFooter.tsx +3 -4
- package/src/product-set/form/ProductCategoriesControl.tsx +6 -6
- package/src/product-set/form/ProductSetForm.tsx +4 -4
- package/src/product-set/form/ProductSetFormPopover.tsx +4 -4
- package/src/product-set/form/ProductZonesControl.tsx +4 -4
- package/src/product-set/form/ProductsControl.tsx +4 -4
- package/src/product-set/form/SelectCategoryModal.tsx +22 -22
- package/src/product-set/form/StepsControl.tsx +5 -5
- package/src/product-set/form/SubProductsControl.tsx +1 -1
- package/src/product-set/form/VenueMapSetModal.tsx +16 -16
- package/src/product-set/form/VenueMapsControl.tsx +9 -9
- package/src/product-set/item/CreateProductSetItem.tsx +2 -2
- package/src/product-set/popover/ProductSetPopover.stories.tsx +7 -7
- package/src/product-set/popover/ProductSetPopover.tsx +5 -5
- package/src/product-set/product/Product.stories.tsx +4 -4
- package/src/product-set/product/ProductControl.tsx +19 -19
- package/src/product-set/product/advanced-options/AdvancedOptions.tsx +10 -10
- package/src/product-set/product/booking-management/ProductBookingManagement.stories.tsx +1 -1
- package/src/product-set/product/booking-management/ProductBookingManagementControl.tsx +9 -9
- package/src/product-set/product/deposit/ProductDeposit.stories.tsx +1 -1
- package/src/product-set/product/deposit/ProductDepositControl.tsx +4 -4
- package/src/product-set/product/duration/ProductDurationControl.stories.tsx +1 -1
- package/src/product-set/product/duration/ProductDurationControl.tsx +10 -10
- package/src/product-set/product/fixed-duration-fields/FixedDurationOptions.tsx +1 -1
- package/src/product-set/product/price/ProductPrice.stories.tsx +1 -1
- package/src/product-set/product/price/ProductPriceControl.tsx +4 -4
- package/src/product-set/product/quantity/ProductQuantity.stories.tsx +3 -3
- package/src/product-set/product/quantity/ProductQuantityConstantControl.tsx +10 -10
- package/src/product-set/product/quantity/ProductQuantityControl.tsx +8 -8
- package/src/product-set/product/quantity/ProductQuantityRechargingControl.tsx +3 -3
- package/src/product-set/product-category/ProductCategory.stories.tsx +4 -4
- package/src/product-set/product-category/ProductCategoryControl.tsx +27 -27
- package/src/product-set/product-zone/ProductZoneControl.tsx +6 -6
- package/src/product-set/step/Step.stories.tsx +1 -1
- package/src/product-set/step/StepControl.tsx +5 -5
- package/src/product-set/tabs/ProductSetTabs.stories.tsx +3 -3
- package/src/product-set/tabs/ProductSetTabs.tsx +1 -1
- package/src/provider/categories-input/CategoriesInput.tsx +9 -9
- package/src/provider/categories-input/CategoriesInputDescription.tsx +4 -4
- package/src/provider/company/user-form/UserForm.tsx +9 -9
- package/src/provider/location-input/LocationInput.tsx +11 -11
- package/src/provider/location-input/LocationInputDescription.tsx +1 -1
- package/src/provider/location-input/components/FormGroupControll.tsx +1 -1
- package/src/provider/provider-details-input/ProviderDetailsInput.tsx +18 -18
- package/src/provider/provider-form/ProviderForm.tsx +11 -11
- package/src/provider/provider-links-input/ProviderLinksInput.tsx +4 -4
- package/src/provider/venue-form/VenueForm.tsx +12 -12
- package/src/provider/working-hours-input/WorkingHoursInput.tsx +13 -13
- package/src/provider/working-hours-input/WorkingHoursInputDescription.tsx +1 -1
- package/src/radio-card/RadioCard.tsx +3 -3
- package/src/recurrence-input/RecurrenceEndInput.tsx +12 -12
- package/src/recurrence-input/RecurrenceIntervalAndFrequencyInput.tsx +6 -6
- package/src/recurrence-input/RecurrenceMonthlyRepeatByInput.tsx +4 -4
- package/src/recurrence-input/RecurrenceWeekdaysInput.tsx +4 -4
- package/src/recurring-date-picker-input/DatePickerInput.tsx +3 -3
- package/src/recurring-date-picker-input/RecurrenceAndFrequencyInput.tsx +8 -8
- package/src/recurring-date-picker-input/RecurrenceEndInput.tsx +12 -12
- package/src/recurring-date-picker-input/RecurrenceIntervalAndFrequencyInput.tsx +10 -10
- package/src/recurring-date-picker-input/RecurrenceMonthlyRepeatByInput.tsx +4 -4
- package/src/recurring-date-picker-input/RecurrenceWeekdaysInput.tsx +6 -6
- package/src/recurring-date-picker-input/RecurringDatePickerInput.tsx +4 -4
- package/src/recurring-date-picker-input/utils.ts +4 -4
- package/src/report/DataFieldsSelector/DataFieldsSelector.tsx +6 -6
- package/src/report/ReportRunnerModal/ReportRunnerModal.tsx +23 -23
- package/src/report/ReportTypeSelect/ReportTypeSelect.tsx +9 -9
- package/src/report/card/ReportCard.tsx +3 -3
- package/src/report/form/ReportForm.tsx +9 -9
- package/src/resource/form/ResourceForm.tsx +4 -4
- package/src/resource/form/components/CapacityControl.tsx +2 -2
- package/src/resource/form/components/NameControl.tsx +1 -1
- package/src/resource/form/components/SortControl.tsx +2 -2
- package/src/resource/form/components/ZoneControl.tsx +3 -3
- package/src/root.css +51 -51
- package/src/sales/booking/results/BookingResults.tsx +2 -2
- package/src/sales/booking/results/components/ResultCard.tsx +8 -8
- package/src/sales/coupon/control/CouponFormControl.tsx +24 -24
- package/src/sales/coupon/form/CouponFrom.tsx +3 -3
- package/src/sales/filters/SaleFilters.tsx +3 -3
- package/src/sales/guest-profile/previous-bookings/PreviousBookings.tsx +12 -12
- package/src/sales/guest-profile/profile/Profile.tsx +6 -6
- package/src/sales/guest-profile/profile/components/ImageHolder/ImageHolder.tsx +1 -1
- package/src/sales/guest-profile/user-metrics/UserMetrics.tsx +34 -34
- package/src/sales/guest-profile/visited-providers/VisitedProviders.tsx +10 -10
- package/src/sales/life-time-sales/LifeTimeSalesChart.tsx +8 -8
- package/src/sales/manual-booking/number-input-horizontal/NumberInputHorizontal.stories.tsx +1 -1
- package/src/sales/manual-booking/number-input-horizontal/NumberInputHorizontal.tsx +3 -3
- package/src/sales/manual-booking/search-user/SearchUser.tsx +8 -8
- package/src/sales/manual-booking/select-date-type-control/SelectDateTypeControl.tsx +10 -10
- package/src/sales/manual-booking/select-event/SelectEvent.tsx +13 -13
- package/src/sales/manual-booking/select-menu/SelectMenu.tsx +5 -5
- package/src/sales/manual-booking/select-menu/components/MenuButton.tsx +2 -2
- package/src/sales/manual-booking/summary/ManualBookingSummary.tsx +11 -11
- package/src/sales/modals/payment-modal/PaymentModal.tsx +10 -10
- package/src/sales/modals/refund-modal/RefundModal.stories.tsx +1 -1
- package/src/sales/modals/refund-modal/RefundModal.tsx +11 -11
- package/src/sales/notes/NotesTable.tsx +5 -5
- package/src/sales/notes/NotesTableRow.tsx +13 -13
- package/src/sales/notes/note-form/NoteForm.tsx +11 -11
- package/src/sales/payment-form/SalePaymentForm.tsx +5 -5
- package/src/sales/payment-form/components/RyftPayment/RyftPayment.tsx +9 -9
- package/src/sales/sales-and-views/SalesAndViewsChart.tsx +19 -19
- package/src/sales/source-of-sales/SourceOfSalesChart.tsx +9 -9
- package/src/sales/statistics-chart/StatisticsChart.tsx +4 -4
- package/src/setting/admin/AdminSettingForm.tsx +14 -14
- package/src/setting/admin/PaymentFeeForm.tsx +28 -28
- package/src/setting/dashboard/DashboardSettingForm.tsx +16 -16
- package/src/setting/dashboard/EventSettingForm.tsx +3 -3
- package/src/setting/dashboard/FinancialDataForm.tsx +5 -5
- package/src/setting/dashboard/OtherSettingForm.tsx +29 -29
- package/src/setting/dashboard/ProviderSettingForm.tsx +3 -3
- package/src/setting/dashboard/components/IpInput.tsx +10 -10
- package/src/setting/dashboard/payments/payments-form/PaymentsForm.tsx +8 -8
- package/src/setting/dashboard/payments/payments-modal/PaymentsModal.tsx +4 -4
- package/src/setting/dashboard/snippet-templates/card/SnippetTemplateCard.tsx +8 -8
- package/src/setting/dashboard/snippets/card/SnippetCard.tsx +16 -16
- package/src/setting/system/SystemSettingForm.tsx +8 -8
- package/src/sidebar/elements/Elements.stories.tsx +1 -1
- package/src/sidebar/elements/ReturnBack.tsx +3 -3
- package/src/slide-curtain/SlideCurtain.stories.tsx +1 -1
- package/src/slide-curtain/SlideCurtain.tsx +4 -4
- package/src/snippet/snippet-template/SnippetTemplate.tsx +3 -3
- package/src/snippet/snippet-template/context/snippetTemplate.tsx +2 -2
- package/src/snippet/snippet-template/control/PropertyControl.tsx +8 -8
- package/src/snippet/snippet-template/form/SnippetTemplateForm.tsx +7 -7
- package/src/snippet/snippet-template/preview/Preview.tsx +66 -66
- package/src/snippet/snippet-template/settings/SettingButton.tsx +2 -2
- package/src/sortable-fields/SortableFieldItem.tsx +2 -2
- package/src/sortable-list/CreateSortableListItem.tsx +3 -3
- package/src/sortable-tree/SortableTreeItem.stories.tsx +2 -2
- package/src/sortable-tree/SortableTreeItem.tsx +40 -40
- package/src/sorting-select/SortingSelect.tsx +4 -4
- package/src/static/CountryCodeSelect.tsx +4 -4
- package/src/static/CountrySelect.tsx +5 -5
- package/src/static/CurrencyNumberInput.tsx +5 -5
- package/src/static/RestrictedAccess.tsx +6 -6
- package/src/static/SocialButton.tsx +1 -1
- package/src/static/Static.stories.tsx +24 -24
- package/src/static/UserBadge.tsx +7 -7
- package/src/static/WarningMessage.tsx +2 -2
- package/src/static/date-range-input/DateRangeInput.stories.tsx +1 -1
- package/src/static/date-range-input/DateRangeInput.tsx +12 -12
- package/src/static/form-number-input/FormNumberInput.stories.tsx +1 -1
- package/src/static/form-number-input/FormNumberInput.tsx +4 -4
- package/src/static/images/Images.stories.tsx +1 -1
- package/src/static/loader/BlockLoader.tsx +2 -2
- package/src/static/loader/ButtonLoader.tsx +1 -1
- package/src/static/loader/Loader.stories.tsx +2 -2
- package/src/static/loader/PaymentLoader.tsx +4 -4
- package/src/static/loader/SnippetLoader.tsx +2 -2
- package/src/static/manual-date-picker/ManualDatePicker.tsx +9 -9
- package/src/static/number-input/NumberInput.tsx +6 -6
- package/src/static/switch/Switch.stories.tsx +3 -3
- package/src/static/switch/Switch.tsx +4 -4
- package/src/static/tabs/Tabs.tsx +1 -1
- package/src/static/text-expand/TextExpand.tsx +3 -3
- package/src/striped-static-table/StripedStaticTable.tsx +2 -2
- package/src/table/FilterHelperComponent.tsx +10 -10
- package/src/table/MenuButton.tsx +1 -1
- package/src/table/PaginationHelperComponent.tsx +7 -7
- package/src/table/PerPageHelperComponent.tsx +5 -5
- package/src/table/ReactTableHelperComponent.tsx +1 -1
- package/src/table/TableHelperComponent.tsx +1 -1
- package/src/theme/Theme.stories.tsx +36 -36
- package/src/tiptap-editor/TipTapEditor.tsx +1 -1
- package/src/tiptap-editor/TipTapMenu/TipTapMenu.tsx +21 -21
- package/src/tiptap-editor/TipTapMenu/components/TipTapMenuItem.tsx +2 -2
- package/src/tiptap-editor/TipTapMenu/extensions/constants.ts +2 -1
- package/src/tiptap-editor/TipTapMenu/extensions/utils.ts +2 -2
- package/src/typeahead/Typeahead.stories.tsx +3 -3
- package/src/typeahead-helper/TypeaheadHelperComponent.tsx +4 -4
- package/src/venue-map-sets/card/VenueMapSetCard.tsx +14 -14
- package/src/venue-map-sets/form/VenueMapSetForm.tsx +3 -3
- package/src/venue-map-sets/form/components/NameControl.tsx +1 -1
- package/src/venue-map-sets/form/components/VenueMapControl.tsx +8 -8
- package/src/venue-map-sets/form/components/VenueMapImageControl.tsx +5 -5
- package/src/venue-map-sets/form/components/VenueMapModal.tsx +16 -16
- package/src/venue-map-sets/form/components/VenueMapsControl.tsx +1 -1
- package/src/virtualized/components/VirtualizedGrid.tsx +1 -1
- package/src/zone/card/ZoneCard.tsx +14 -14
- package/src/zone/form/ZoneForm.tsx +3 -3
- package/src/zone/form/components/AvailableTimesControl.tsx +4 -4
- package/src/zone/form/components/DescriptionControl.tsx +2 -2
- package/src/zone/form/components/GameDurationControl.tsx +2 -2
- package/src/zone/form/components/NameControl.tsx +1 -1
- package/src/zone/form/components/SortControl.tsx +2 -2
- package/src/zone/form/components/ZoneControl.tsx +1 -1
- package/src/zone/form/components/ZoneImageControl.tsx +3 -3
- package/src/zone/form/components/ZoneRecurrenceControl.tsx +10 -10
- package/src/zone/form/components/ZoneRecurrencesControl.tsx +10 -10
- package/src/zone/form/components/ZoneTypeControl.tsx +2 -2
- package/tailwind.config.js +3 -6
- package/yarn.lock +40 -40
|
@@ -100,8 +100,8 @@ export const PointIcon = ({
|
|
|
100
100
|
text={String(pointNumber)}
|
|
101
101
|
strokeWidth={TEXT_STROKE_WIDTH}
|
|
102
102
|
width={ICON_WIDTH - TEXT_STROKE_WIDTH}
|
|
103
|
-
align=
|
|
104
|
-
verticalAlign=
|
|
103
|
+
align='center'
|
|
104
|
+
verticalAlign='center'
|
|
105
105
|
{...textColors()}
|
|
106
106
|
/>
|
|
107
107
|
</Group>
|
package/src/events/event-venue-map/components/MapPoint/components/ProductIcon/ProductIcon.tsx
CHANGED
|
@@ -137,7 +137,7 @@ export const ProductIcon = ({
|
|
|
137
137
|
{...circleColors()}
|
|
138
138
|
/>
|
|
139
139
|
{hovered && isSoldOut && (
|
|
140
|
-
<ProductTooltip x={defaultX} y={defaultY} text=
|
|
140
|
+
<ProductTooltip x={defaultX} y={defaultY} text='Sold out' />
|
|
141
141
|
)}
|
|
142
142
|
{isProductChoosed ? (
|
|
143
143
|
<Path
|
|
@@ -103,20 +103,20 @@ export const Scrollbars = ({ stageRef, imageRef, layerRef }: CanvasRefs) => {
|
|
|
103
103
|
}
|
|
104
104
|
|
|
105
105
|
return (
|
|
106
|
-
<div className=
|
|
107
|
-
<div className=
|
|
106
|
+
<div className='canvas-scrollbars'>
|
|
107
|
+
<div className='scrollbar-wrapper scrollbar-wrapper-horizontal'>
|
|
108
108
|
{isMobileView && (
|
|
109
109
|
<div
|
|
110
|
-
className=
|
|
110
|
+
className='scroll-element horizontal-scroll'
|
|
111
111
|
onPointerDown={onDragX}
|
|
112
112
|
style={horizontalScrollbarStyles()}
|
|
113
113
|
/>
|
|
114
114
|
)}
|
|
115
115
|
</div>
|
|
116
|
-
<div className=
|
|
116
|
+
<div className='scrollbar-wrapper scrollbar-wrapper-vertical'>
|
|
117
117
|
{isMobileView && (
|
|
118
118
|
<div
|
|
119
|
-
className=
|
|
119
|
+
className='scroll-element vertical-scroll'
|
|
120
120
|
onPointerDown={onDragY}
|
|
121
121
|
style={verticalScrollbarStyles()}
|
|
122
122
|
/>
|
|
@@ -126,8 +126,8 @@ export const VenueMap = forwardRef<VenueMapRef, VenueMapProps>(
|
|
|
126
126
|
)
|
|
127
127
|
}
|
|
128
128
|
return (
|
|
129
|
-
<div className=
|
|
130
|
-
<div className=
|
|
129
|
+
<div className='venue-map' style={{ width, height }}>
|
|
130
|
+
<div className='zone-name'>
|
|
131
131
|
<h6>{name}</h6>
|
|
132
132
|
</div>
|
|
133
133
|
<ZoomButtons stageRef={stageRef.current} imageRef={imageRef.current} />
|
|
@@ -141,7 +141,7 @@ export const VenueMap = forwardRef<VenueMapRef, VenueMapProps>(
|
|
|
141
141
|
<Stage
|
|
142
142
|
width={width}
|
|
143
143
|
height={height}
|
|
144
|
-
className=
|
|
144
|
+
className='canvas-map'
|
|
145
145
|
onClick={onClick}
|
|
146
146
|
onTap={onClick}
|
|
147
147
|
ref={stageRef}
|
|
@@ -10,12 +10,12 @@ export const ZoomButtons = ({
|
|
|
10
10
|
const { onZoomIn, onZoomOut } = useZoom({ stageRef, imageRef })
|
|
11
11
|
|
|
12
12
|
return (
|
|
13
|
-
<div className=
|
|
14
|
-
<div className=
|
|
15
|
-
<div className=
|
|
13
|
+
<div className='zoom-buttons'>
|
|
14
|
+
<div className='buttons-wrapper'>
|
|
15
|
+
<div className='icon-wrapper mb-1'>
|
|
16
16
|
<FaSearch size={16} />
|
|
17
17
|
</div>
|
|
18
|
-
<Button onClick={onZoomOut} className=
|
|
18
|
+
<Button onClick={onZoomOut} className='mb-1'>
|
|
19
19
|
-
|
|
20
20
|
</Button>
|
|
21
21
|
<Button onClick={onZoomIn}>+</Button>
|
|
@@ -35,7 +35,7 @@ export function FilePreview({
|
|
|
35
35
|
isLoading = false,
|
|
36
36
|
}: FilePreviewProps) {
|
|
37
37
|
return (
|
|
38
|
-
<div className=
|
|
38
|
+
<div className='d-flex flex-row flex-wrap justify-content-center'>
|
|
39
39
|
{!isLoading &&
|
|
40
40
|
files.map((file) => (
|
|
41
41
|
<PreviewItem
|
|
@@ -51,10 +51,10 @@ export function FilePreview({
|
|
|
51
51
|
|
|
52
52
|
export function PreviewItem({ disabled, item, onRemove }: PreviewItemProps) {
|
|
53
53
|
return (
|
|
54
|
-
<div className=
|
|
54
|
+
<div className='preview-item' data-testid='preview-image'>
|
|
55
55
|
<button
|
|
56
|
-
type=
|
|
57
|
-
className=
|
|
56
|
+
type='button'
|
|
57
|
+
className='preview-item__remove-btn'
|
|
58
58
|
onClick={(e) => {
|
|
59
59
|
e.preventDefault()
|
|
60
60
|
if (item instanceof File) {
|
|
@@ -81,7 +81,7 @@ const renderPendingFilePreview = (item) => {
|
|
|
81
81
|
return (
|
|
82
82
|
<ImageComponent
|
|
83
83
|
src={item instanceof File ? URL.createObjectURL(item) : item.url}
|
|
84
|
-
className=
|
|
84
|
+
className='preview-item__image'
|
|
85
85
|
fluid
|
|
86
86
|
rounded
|
|
87
87
|
/>
|
|
@@ -97,7 +97,7 @@ const renderUploadedFilePreview = (item) => {
|
|
|
97
97
|
return (
|
|
98
98
|
<ImageComponent
|
|
99
99
|
src={item instanceof File ? URL.createObjectURL(item) : item.url}
|
|
100
|
-
className=
|
|
100
|
+
className='preview-item__image'
|
|
101
101
|
fluid
|
|
102
102
|
rounded
|
|
103
103
|
/>
|
|
@@ -111,7 +111,7 @@ const renderUploadedFilePreview = (item) => {
|
|
|
111
111
|
return (
|
|
112
112
|
<ImageComponent
|
|
113
113
|
src={item instanceof File ? URL.createObjectURL(item) : item.url}
|
|
114
|
-
className=
|
|
114
|
+
className='preview-item__image'
|
|
115
115
|
fluid
|
|
116
116
|
rounded
|
|
117
117
|
/>
|
|
@@ -125,7 +125,7 @@ const renderFileTypeIcon = (itemName?: string) => {
|
|
|
125
125
|
const isPdfFile = itemName?.includes('pdf')
|
|
126
126
|
|
|
127
127
|
return (
|
|
128
|
-
<div className=
|
|
128
|
+
<div className='preview-item__file'>
|
|
129
129
|
{isPdfFile ? <FaFilePdf size={80} /> : <FaFile size={80} />}
|
|
130
130
|
</div>
|
|
131
131
|
)
|
|
@@ -92,10 +92,10 @@ export function FileUpload({
|
|
|
92
92
|
}}
|
|
93
93
|
>
|
|
94
94
|
<input
|
|
95
|
-
type=
|
|
96
|
-
className=
|
|
95
|
+
type='file'
|
|
96
|
+
className='licklist-file-upload'
|
|
97
97
|
multiple={allowMultiple}
|
|
98
|
-
title=
|
|
98
|
+
title='Upload Files'
|
|
99
99
|
accept={acceptableExtensions}
|
|
100
100
|
// Clear file input
|
|
101
101
|
onClick={(e) => (e.currentTarget.value = null)}
|
|
@@ -105,7 +105,7 @@ export function FileUpload({
|
|
|
105
105
|
disabled={disabled}
|
|
106
106
|
/>
|
|
107
107
|
{files?.length > 0 && (
|
|
108
|
-
<h5 className=
|
|
108
|
+
<h5 className='drag-title'>
|
|
109
109
|
{t('filesUploaded', {
|
|
110
110
|
argument: `${files.length} ${
|
|
111
111
|
1 % files.length === 0 ? t('file') : t('files')
|
|
@@ -124,17 +124,17 @@ export function FileUpload({
|
|
|
124
124
|
{withIcon && !files?.length && !previewDefaultImages?.length && (
|
|
125
125
|
<AddImageIcon />
|
|
126
126
|
)}
|
|
127
|
-
<h5 className=
|
|
127
|
+
<h5 className='drag-title'>{title}</h5>
|
|
128
128
|
{subTitle ? (
|
|
129
|
-
<span className=
|
|
129
|
+
<span className='drag-sub-title'>{subTitle}</span>
|
|
130
130
|
) : (
|
|
131
|
-
<h5 className=
|
|
131
|
+
<h5 className='browse-title'>{t('browseFiles')}</h5>
|
|
132
132
|
)}
|
|
133
133
|
{!files?.length &&
|
|
134
134
|
!previewDefaultImages?.length &&
|
|
135
135
|
!isLoading &&
|
|
136
136
|
secondSubtitle && <Form.Label>{secondSubtitle} </Form.Label>}
|
|
137
|
-
<LoaderIndicator isLoaded={!isLoading} className=
|
|
137
|
+
<LoaderIndicator isLoaded={!isLoading} className='file-upload-loader' />
|
|
138
138
|
</label>
|
|
139
139
|
)
|
|
140
140
|
}
|
|
@@ -24,7 +24,7 @@ function BookeditHeader({
|
|
|
24
24
|
}: Props) {
|
|
25
25
|
return (
|
|
26
26
|
<Header
|
|
27
|
-
logo={<Logo logo={<LogoSvg />} className=
|
|
27
|
+
logo={<Logo logo={<LogoSvg />} className='mt-auto mr-0 mr-sm-3' />}
|
|
28
28
|
href={href}
|
|
29
29
|
leftNavs={leftNavs}
|
|
30
30
|
navItems={navItems}
|
|
@@ -25,19 +25,19 @@ export const Licklist = () => (
|
|
|
25
25
|
<LicklistHeader
|
|
26
26
|
leftNavs={
|
|
27
27
|
<>
|
|
28
|
-
<ul className=
|
|
29
|
-
<li className=
|
|
30
|
-
<Nav.Link href=
|
|
28
|
+
<ul className='navbar-nav bd-navbar-nav flex-row navbar-nav-primary'>
|
|
29
|
+
<li className='nav-item px-3 px-sm-3 px-lg-4'>
|
|
30
|
+
<Nav.Link href='#'>
|
|
31
31
|
<FaSearch />
|
|
32
32
|
</Nav.Link>
|
|
33
33
|
</li>
|
|
34
|
-
<li className=
|
|
35
|
-
<Nav.Link href=
|
|
34
|
+
<li className='nav-item px-3 px-sm-4 d-none d-sm-inline'>
|
|
35
|
+
<Nav.Link href='#' className='nav-link-light-grey'>
|
|
36
36
|
Explore
|
|
37
37
|
</Nav.Link>
|
|
38
38
|
</li>
|
|
39
|
-
<li className=
|
|
40
|
-
<Nav.Link href=
|
|
39
|
+
<li className='nav-item px-3 px-sm-4 d-none d-sm-inline'>
|
|
40
|
+
<Nav.Link href='#' className=''>
|
|
41
41
|
Galleries
|
|
42
42
|
</Nav.Link>
|
|
43
43
|
</li>
|
|
@@ -45,13 +45,13 @@ export const Licklist = () => (
|
|
|
45
45
|
</>
|
|
46
46
|
}
|
|
47
47
|
>
|
|
48
|
-
<StyledButton size=
|
|
48
|
+
<StyledButton size='sm' className='rounded-pill mr-2'>
|
|
49
49
|
Login
|
|
50
50
|
</StyledButton>
|
|
51
51
|
<StyledButton
|
|
52
|
-
size=
|
|
53
|
-
className=
|
|
54
|
-
variant=
|
|
52
|
+
size='sm'
|
|
53
|
+
className='rounded-pill'
|
|
54
|
+
variant='outline-secondary'
|
|
55
55
|
>
|
|
56
56
|
Sign up
|
|
57
57
|
</StyledButton>
|
|
@@ -70,13 +70,13 @@ Licklist.story = {
|
|
|
70
70
|
export const Bookedit = () => (
|
|
71
71
|
<>
|
|
72
72
|
<BookeditHeader navItems={providerNavItems}>
|
|
73
|
-
<StyledButton size=
|
|
73
|
+
<StyledButton size='sm' className='rounded-pill mr-2'>
|
|
74
74
|
Login
|
|
75
75
|
</StyledButton>
|
|
76
76
|
<StyledButton
|
|
77
|
-
size=
|
|
78
|
-
className=
|
|
79
|
-
variant=
|
|
77
|
+
size='sm'
|
|
78
|
+
className='rounded-pill'
|
|
79
|
+
variant='outline-secondary'
|
|
80
80
|
>
|
|
81
81
|
Sign up
|
|
82
82
|
</StyledButton>
|
|
@@ -96,7 +96,7 @@ export const BookeditWithElements = () => (
|
|
|
96
96
|
<>
|
|
97
97
|
<BookeditHeader
|
|
98
98
|
leftNavs={
|
|
99
|
-
<div className=
|
|
99
|
+
<div className='header-elements'>
|
|
100
100
|
<CompanySelector
|
|
101
101
|
value={1}
|
|
102
102
|
list={[
|
package/src/header/Header.tsx
CHANGED
|
@@ -26,33 +26,33 @@ function Header({
|
|
|
26
26
|
}: Props) {
|
|
27
27
|
return (
|
|
28
28
|
<Navbar
|
|
29
|
-
className=
|
|
30
|
-
variant=
|
|
29
|
+
className='header'
|
|
30
|
+
variant='light'
|
|
31
31
|
collapseOnSelect
|
|
32
32
|
expand={false}
|
|
33
|
-
bg=
|
|
33
|
+
bg='none'
|
|
34
34
|
>
|
|
35
|
-
<div className=
|
|
36
|
-
<Navbar.Brand href={href} className=
|
|
35
|
+
<div className='header-logo-container'>
|
|
36
|
+
<Navbar.Brand href={href} className='p-0'>
|
|
37
37
|
{logo}
|
|
38
38
|
</Navbar.Brand>
|
|
39
39
|
{navItems?.length && (
|
|
40
40
|
<>
|
|
41
41
|
<Navbar.Toggle
|
|
42
|
-
aria-controls=
|
|
43
|
-
className=
|
|
42
|
+
aria-controls='header-navbar-nav'
|
|
43
|
+
className='d-block d-md-none ml-2 border-0'
|
|
44
44
|
/>
|
|
45
45
|
</>
|
|
46
46
|
)}
|
|
47
47
|
</div>
|
|
48
|
-
<Nav className=
|
|
49
|
-
<div className=
|
|
48
|
+
<Nav className='mr-auto my-auto'>{leftNavs}</Nav>
|
|
49
|
+
<div className='user-section ml-3 my-auto'>{children}</div>
|
|
50
50
|
{navItems?.length && (
|
|
51
|
-
<Navbar.Collapse id=
|
|
51
|
+
<Navbar.Collapse id='header-navbar-nav'>
|
|
52
52
|
{renderMobileNavigation ? (
|
|
53
53
|
renderMobileNavigation(navItems)
|
|
54
54
|
) : (
|
|
55
|
-
<Nav className=
|
|
55
|
+
<Nav className='mr-auto'>
|
|
56
56
|
{navItems.map(({ label, href }) => (
|
|
57
57
|
<Nav.Link href={href} key={`${href}${label}`}>
|
|
58
58
|
{label}
|
|
@@ -12,25 +12,25 @@ function CompanySelector({ value, list, onChange }: CompanySelectorProps) {
|
|
|
12
12
|
const hasOneItem = list.length === 1
|
|
13
13
|
|
|
14
14
|
return (
|
|
15
|
-
<div className=
|
|
15
|
+
<div className='header-company-selector-container'>
|
|
16
16
|
{hasOneItem && (
|
|
17
|
-
<span className=
|
|
17
|
+
<span className='company-selector-item company-selector-item__disabled'>
|
|
18
18
|
{list[0].title}
|
|
19
19
|
</span>
|
|
20
20
|
)}
|
|
21
21
|
|
|
22
22
|
{hasItems && !hasOneItem && (
|
|
23
|
-
<Form.Group className=
|
|
23
|
+
<Form.Group className='m-0'>
|
|
24
24
|
<Form.Control
|
|
25
|
-
className=
|
|
25
|
+
className='header-company-selector'
|
|
26
26
|
defaultValue={value}
|
|
27
|
-
as=
|
|
27
|
+
as='select'
|
|
28
28
|
onChange={onChange}
|
|
29
29
|
>
|
|
30
30
|
{hasItems &&
|
|
31
31
|
list.map((item) => (
|
|
32
32
|
<option
|
|
33
|
-
className=
|
|
33
|
+
className='company-selector-item'
|
|
34
34
|
key={item.id}
|
|
35
35
|
value={item.id}
|
|
36
36
|
>
|
|
@@ -93,9 +93,9 @@ export function ExampleContent({
|
|
|
93
93
|
onMouseOver={onMouseOverHandler}
|
|
94
94
|
onMouseLeave={onMouseLeaveHandler}
|
|
95
95
|
ref={copyRef}
|
|
96
|
-
size=
|
|
97
|
-
className=
|
|
98
|
-
variant=
|
|
96
|
+
size='sm'
|
|
97
|
+
className='btn-clipboard'
|
|
98
|
+
variant='outline-info'
|
|
99
99
|
>
|
|
100
100
|
Copy
|
|
101
101
|
</Button>
|
|
@@ -104,7 +104,7 @@ export function ExampleContent({
|
|
|
104
104
|
target={copyRef.current}
|
|
105
105
|
show={isCopyTooltipActive}
|
|
106
106
|
key={copyTooltipId}
|
|
107
|
-
placement=
|
|
107
|
+
placement='top'
|
|
108
108
|
>
|
|
109
109
|
<Tooltip id={copyTooltipId}>Copy to clipboard</Tooltip>
|
|
110
110
|
</Overlay>
|
|
@@ -113,7 +113,7 @@ export function ExampleContent({
|
|
|
113
113
|
target={copyRef.current}
|
|
114
114
|
show={isCopiedTooltipActive}
|
|
115
115
|
key={copiedTooltipId}
|
|
116
|
-
placement=
|
|
116
|
+
placement='top'
|
|
117
117
|
>
|
|
118
118
|
<Tooltip id={copiedTooltipId}>Copied!</Tooltip>
|
|
119
119
|
</Overlay>
|
|
@@ -123,12 +123,12 @@ export function ExampleContent({
|
|
|
123
123
|
return (
|
|
124
124
|
<Collapse in={isActive}>
|
|
125
125
|
<div id={id}>
|
|
126
|
-
<div className=
|
|
126
|
+
<div className='bd-clipboard'>{copy}</div>
|
|
127
127
|
|
|
128
|
-
<figure className=
|
|
129
|
-
{title && <strong className=
|
|
128
|
+
<figure className='help-example-highlight mt-1 mb-2 p-5 rounded'>
|
|
129
|
+
{title && <strong className='d-inline-flex pb-3'>{title}</strong>}
|
|
130
130
|
|
|
131
|
-
<pre ref={preRef} className=
|
|
131
|
+
<pre ref={preRef} className='m-0'>
|
|
132
132
|
{children}
|
|
133
133
|
</pre>
|
|
134
134
|
</figure>
|
|
@@ -140,10 +140,10 @@ export function ExampleContent({
|
|
|
140
140
|
export function ExampleToggle({ id, isActive, onToggle }: ExampleToggleProps) {
|
|
141
141
|
return (
|
|
142
142
|
<Button
|
|
143
|
-
size=
|
|
144
|
-
variant=
|
|
143
|
+
size='sm'
|
|
144
|
+
variant='outline-info'
|
|
145
145
|
onClick={(_) => onToggle()}
|
|
146
|
-
className=
|
|
146
|
+
className='pull-right switch on'
|
|
147
147
|
aria-controls={id}
|
|
148
148
|
aria-expanded={isActive}
|
|
149
149
|
>
|
|
@@ -26,15 +26,15 @@ export function HelpPopover({
|
|
|
26
26
|
|
|
27
27
|
const popover = (
|
|
28
28
|
<Popover id={popoverId} className={clsx(bordered && 'border')}>
|
|
29
|
-
<Popover.Title as=
|
|
29
|
+
<Popover.Title as='h3'>{title}</Popover.Title>
|
|
30
30
|
<Popover.Content>{children}</Popover.Content>
|
|
31
31
|
</Popover>
|
|
32
32
|
)
|
|
33
33
|
|
|
34
34
|
return (
|
|
35
35
|
<OverlayTrigger
|
|
36
|
-
trigger=
|
|
37
|
-
placement=
|
|
36
|
+
trigger='focus'
|
|
37
|
+
placement='auto'
|
|
38
38
|
delay={{ show: 250, hide: 400 }}
|
|
39
39
|
overlay={popover}
|
|
40
40
|
defaultShow={false}
|
|
@@ -42,10 +42,10 @@ export function HelpPopover({
|
|
|
42
42
|
{({ ref, ...triggerHandler }) => (
|
|
43
43
|
<Button
|
|
44
44
|
variant={variant}
|
|
45
|
-
size=
|
|
45
|
+
size='sm'
|
|
46
46
|
ref={ref}
|
|
47
47
|
{...triggerHandler}
|
|
48
|
-
className=
|
|
48
|
+
className='btn-icon-popover rounded-circle px-2 py-1 d-inline-flex align-items-center'
|
|
49
49
|
>
|
|
50
50
|
{icon ?? <FaQuestion size={10} />}
|
|
51
51
|
</Button>
|
|
@@ -29,12 +29,12 @@ export const ActivityCard = ({
|
|
|
29
29
|
if (layout === LAYOUT_GRID) {
|
|
30
30
|
return (
|
|
31
31
|
<button
|
|
32
|
-
type=
|
|
32
|
+
type='button'
|
|
33
33
|
className={clsx('activity-card', isSelected && 'active')}
|
|
34
34
|
onClick={onSelect}
|
|
35
35
|
>
|
|
36
36
|
<div className={clsx('d-flex', 'flex-column')}>
|
|
37
|
-
<div className=
|
|
37
|
+
<div className='activity-card-title'>{title}</div>
|
|
38
38
|
{duration && <div>{duration}</div>}
|
|
39
39
|
|
|
40
40
|
{price && <div>{price}</div>}
|
|
@@ -44,14 +44,14 @@ export const ActivityCard = ({
|
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
return (
|
|
47
|
-
<div role=
|
|
47
|
+
<div role='button' onClick={onSelect} onKeyPress={onSelect} tabIndex={0}>
|
|
48
48
|
<div
|
|
49
49
|
className={clsx('list-activity-card', {
|
|
50
50
|
active: isSelected,
|
|
51
51
|
})}
|
|
52
52
|
>
|
|
53
|
-
<div className=
|
|
54
|
-
<div className=
|
|
53
|
+
<div className='description'>
|
|
54
|
+
<div className='title mb-2'>{title}</div>
|
|
55
55
|
{availableTimes && <div>{availableTimes}</div>}
|
|
56
56
|
{duration && (
|
|
57
57
|
<div>
|
|
@@ -62,7 +62,7 @@ export const ActivityCard = ({
|
|
|
62
62
|
{price && <div>{price}</div>}
|
|
63
63
|
</div>
|
|
64
64
|
</div>
|
|
65
|
-
<hr className=
|
|
65
|
+
<hr className='list-activity-card-hr' />
|
|
66
66
|
</div>
|
|
67
67
|
)
|
|
68
68
|
}
|
|
@@ -3,12 +3,12 @@ export interface IBackButtonProps {
|
|
|
3
3
|
}
|
|
4
4
|
|
|
5
5
|
export const BackButton = ({ onClick }: IBackButtonProps) => (
|
|
6
|
-
<div className=
|
|
6
|
+
<div className='button-wrapper back-button'>
|
|
7
7
|
<div
|
|
8
|
-
className=
|
|
8
|
+
className='back-button'
|
|
9
9
|
onClick={onClick}
|
|
10
10
|
onKeyPress={onClick}
|
|
11
|
-
role=
|
|
11
|
+
role='button'
|
|
12
12
|
tabIndex={0}
|
|
13
13
|
>
|
|
14
14
|
<
|
|
@@ -63,14 +63,14 @@ export const CustomDateField = ({
|
|
|
63
63
|
}, [day, month, year])
|
|
64
64
|
|
|
65
65
|
return (
|
|
66
|
-
<Form.Group as={Col} className=
|
|
66
|
+
<Form.Group as={Col} className='col-12'>
|
|
67
67
|
<Row>
|
|
68
68
|
<div>
|
|
69
|
-
<Col sm={12} md={6} className=
|
|
70
|
-
<Form.Group as={Col} className=
|
|
69
|
+
<Col sm={12} md={6} className='p-0'>
|
|
70
|
+
<Form.Group as={Col} className='mb-0'>
|
|
71
71
|
<Form.Label>{t('Design:dayOfBirthShort')}</Form.Label>
|
|
72
72
|
<Form.Control
|
|
73
|
-
type=
|
|
73
|
+
type='hidden'
|
|
74
74
|
{...register(fieldKeyValueAttribute, {
|
|
75
75
|
required: {
|
|
76
76
|
value: field.isRequired,
|
|
@@ -118,7 +118,7 @@ export const CustomDateField = ({
|
|
|
118
118
|
|
|
119
119
|
<Col>
|
|
120
120
|
<Row>
|
|
121
|
-
<Col className=
|
|
121
|
+
<Col className='d-flex'>
|
|
122
122
|
<ManualDatePicker
|
|
123
123
|
{...manualDatePickerProps}
|
|
124
124
|
isDisabled={isLoading}
|
|
@@ -129,11 +129,11 @@ export const CustomDateField = ({
|
|
|
129
129
|
</Col>
|
|
130
130
|
</Col>
|
|
131
131
|
<Col>
|
|
132
|
-
<div className=
|
|
132
|
+
<div className='manual-form-error m-0'>{fieldErrors()}</div>
|
|
133
133
|
</Col>
|
|
134
134
|
</div>
|
|
135
135
|
<Form.Control
|
|
136
|
-
type=
|
|
136
|
+
type='hidden'
|
|
137
137
|
{...register(`${fieldKey}.id` as const, {
|
|
138
138
|
required: true,
|
|
139
139
|
})}
|
|
@@ -12,18 +12,18 @@ export function EventBookingForm({ occurrences }: EventBookingFormProps) {
|
|
|
12
12
|
const selectDateInput = useRef<HTMLInputDateElement | null>(null)
|
|
13
13
|
|
|
14
14
|
return (
|
|
15
|
-
<Form className=
|
|
15
|
+
<Form className='event-booking-form'>
|
|
16
16
|
<h5>{t('whenYouWouldLikeToBook')}</h5>
|
|
17
17
|
<Form.Group>
|
|
18
18
|
<Form.Label>{t('selectDate')}</Form.Label>
|
|
19
19
|
<Form.Control
|
|
20
|
-
type=
|
|
20
|
+
type='date'
|
|
21
21
|
ref={selectDateInput}
|
|
22
22
|
onClick={() => selectDateInput?.current?.showPicker()}
|
|
23
23
|
/>
|
|
24
24
|
</Form.Group>
|
|
25
25
|
<Form.Group>
|
|
26
|
-
<Form.Control aria-label={t('selectTime')} as=
|
|
26
|
+
<Form.Control aria-label={t('selectTime')} as='select'>
|
|
27
27
|
{occurrences.map((hour) => (
|
|
28
28
|
<option value={hour} key={hour}>
|
|
29
29
|
{hour}
|
|
@@ -33,23 +33,23 @@ export function EventBookingForm({ occurrences }: EventBookingFormProps) {
|
|
|
33
33
|
</Form.Group>
|
|
34
34
|
|
|
35
35
|
<h5>{t('whatWouldYouLikeToBook')}</h5>
|
|
36
|
-
<div className=
|
|
37
|
-
<label className=
|
|
36
|
+
<div className='d-flex flex-column'>
|
|
37
|
+
<label className='event-booking-form__booking-option-container'>
|
|
38
38
|
<input
|
|
39
|
-
type=
|
|
39
|
+
type='radio'
|
|
40
40
|
defaultChecked
|
|
41
|
-
className=
|
|
42
|
-
name=
|
|
41
|
+
className='event-booking-form__radio'
|
|
42
|
+
name='booking-option'
|
|
43
43
|
/>
|
|
44
|
-
<div className=
|
|
44
|
+
<div className='booking-option'>{t('tickets')}</div>
|
|
45
45
|
</label>
|
|
46
|
-
<label className=
|
|
46
|
+
<label className='event-booking-form__booking-option-container'>
|
|
47
47
|
<input
|
|
48
|
-
type=
|
|
49
|
-
className=
|
|
50
|
-
name=
|
|
48
|
+
type='radio'
|
|
49
|
+
className='event-booking-form__radio'
|
|
50
|
+
name='booking-option'
|
|
51
51
|
/>
|
|
52
|
-
<div className=
|
|
52
|
+
<div className='booking-option'>{t('tablesAndBooths')}</div>
|
|
53
53
|
</label>
|
|
54
54
|
</div>
|
|
55
55
|
</Form>
|