@licklist/design 0.68.5-dev.0 → 0.68.6-dev.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (382) hide show
  1. package/dist/events/edit-event-modal/utils/getDefaultProductSet.d.ts.map +1 -1
  2. package/dist/events/edit-event-modal/utils/getDefaultProductSet.js +3 -1
  3. package/dist/iframe/activity-card/ActivityCard.d.ts +5 -4
  4. package/dist/iframe/activity-card/ActivityCard.d.ts.map +1 -1
  5. package/dist/iframe/activity-card/ActivityCard.js +52 -40
  6. package/dist/product-set/control/ProductSetControl.d.ts +4 -0
  7. package/dist/product-set/control/ProductSetControl.d.ts.map +1 -1
  8. package/dist/product-set/control/ProductSetControl.js +23 -3
  9. package/dist/product-set/control/ProductSetImageControl.d.ts +2 -0
  10. package/dist/product-set/control/ProductSetImageControl.d.ts.map +1 -0
  11. package/dist/product-set/control/ProductSetImageControl.js +279 -0
  12. package/dist/styles/activity-card/{GridActivitiesCard.scss → ActivitiesCard.scss} +19 -5
  13. package/dist/styles/activity-card/ListActivitiesCard.scss +12 -42
  14. package/dist/styles/activity-card/_index.scss +1 -1
  15. package/package.json +1 -1
  16. package/src/affiliate/card/AffiliateCard.tsx +15 -15
  17. package/src/affiliate/form/AffiliateControl.tsx +8 -8
  18. package/src/affiliate/form/AffiliateForm.tsx +5 -5
  19. package/src/auth/AccessDenied/AccessDenied.tsx +8 -8
  20. package/src/auth/ChangePassword/ChangePasswordComponent.tsx +4 -4
  21. package/src/auth/ChangePassword/ChangePasswordFormComponent.tsx +14 -14
  22. package/src/auth/Layout/AuthNavComponent.tsx +6 -6
  23. package/src/auth/Layout/UserNavComponent.tsx +2 -2
  24. package/src/auth/Layout/UserNavDropDown.tsx +1 -1
  25. package/src/auth/Layout/UserNavDropDownToggle.tsx +3 -3
  26. package/src/auth/Login/LoginComponent.tsx +8 -8
  27. package/src/auth/Login/LoginFormComponent.tsx +15 -15
  28. package/src/auth/Logout/Logout.stories.tsx +2 -2
  29. package/src/auth/Register/BirthDateFormComponent.tsx +17 -17
  30. package/src/auth/Register/RegisterComponent.tsx +7 -7
  31. package/src/auth/Register/RegisterFormComponent.tsx +56 -56
  32. package/src/auth/ResetPassword/ResetPasswordComponent.tsx +3 -3
  33. package/src/auth/ResetPassword/ResetPasswordFormComponent.tsx +13 -13
  34. package/src/auth/Social/SocialCallbackComponent.tsx +3 -3
  35. package/src/auth/Social/SocialFormComponent.tsx +4 -4
  36. package/src/availability-indicator/AvailabilityIndicator.tsx +1 -1
  37. package/src/calendar/Calendar.tsx +2 -2
  38. package/src/calendar/components/CalendarButtons/CalendarButtons.tsx +9 -9
  39. package/src/calendar/components/CalendarDates/CalendarDates.tsx +2 -2
  40. package/src/calendar/components/CalendarSelect/CalendarSelect.tsx +2 -2
  41. package/src/calendar/components/CalendarWeekdays/CalendarWeekdays.tsx +2 -2
  42. package/src/collapsible-input-group/CollapsibleInputGroup.tsx +6 -6
  43. package/src/custom-fields/CustomFields.stories.tsx +1 -1
  44. package/src/custom-fields/field/FieldItem.tsx +1 -1
  45. package/src/custom-fields/field/SelectFieldModal.tsx +4 -4
  46. package/src/custom-fields/field-set/components/CustomFieldSet/CustomFieldSet.tsx +8 -8
  47. package/src/custom-fields/forms/DropdownForm.tsx +16 -16
  48. package/src/custom-fields/forms/TextInputForm.tsx +6 -6
  49. package/src/customers/components/filter/CustomerFilter.tsx +3 -3
  50. package/src/date-time-button/DateContent.tsx +1 -1
  51. package/src/date-time-button/DateTimeButton.tsx +2 -2
  52. package/src/error/ErrorFallback.tsx +1 -1
  53. package/src/events/edit-event-modal/IntervalInput.tsx +11 -11
  54. package/src/events/edit-event-modal/component/EditEventForm/EditEventForm.stories.tsx +2 -2
  55. package/src/events/edit-event-modal/component/EditEventForm/EditEventForm.tsx +24 -24
  56. package/src/events/edit-event-modal/component/ProductSetShortForm/ProductSetShortForm.tsx +3 -3
  57. package/src/events/edit-event-modal/component/SaleDeadline/SaleDeadline.tsx +11 -11
  58. package/src/events/edit-event-modal/component/SelectEventProductSet/SelectEventProductSet.tsx +15 -15
  59. package/src/events/edit-event-modal/component/SelectEventProductSet/component/EditEventProductSet.tsx +5 -5
  60. package/src/events/edit-event-modal/utils/getDefaultProductSet.ts +2 -0
  61. package/src/events/edit-recurrent-event-modal/EditRecurrentEventModal.stories.tsx +1 -1
  62. package/src/events/edit-recurrent-event-modal/EditRecurrentEventModal.tsx +16 -16
  63. package/src/events/event-card/EventCard.stories.tsx +5 -5
  64. package/src/events/event-card/EventCard.tsx +30 -30
  65. package/src/events/event-card/EventCardSkeleton.tsx +10 -10
  66. package/src/events/event-statistic-modal/EventStatisticModal.stories.tsx +1 -1
  67. package/src/events/event-statistic-modal/EventStatisticModal.tsx +8 -8
  68. package/src/events/event-venue-map/components/Dropdown/Dropdown.tsx +1 -1
  69. package/src/events/event-venue-map/components/Dropdown/components/DropdownWrapper/DropdownWrapper.tsx +3 -3
  70. package/src/events/event-venue-map/components/Dropdown/components/ProductsControl/ProductsControl.tsx +5 -5
  71. package/src/events/event-venue-map/components/Dropdown/components/SelectControl/SelectControl.tsx +10 -10
  72. package/src/events/event-venue-map/components/MapPoint/components/DeleteIcon/DeleteIcon.tsx +1 -1
  73. package/src/events/event-venue-map/components/MapPoint/components/EditIcon/EditIcon.tsx +1 -1
  74. package/src/events/event-venue-map/components/MapPoint/components/PointIcon/PointIcon.tsx +2 -2
  75. package/src/events/event-venue-map/components/MapPoint/components/ProductIcon/ProductIcon.tsx +1 -1
  76. package/src/events/event-venue-map/components/Scrollbars/Scrollbars.tsx +5 -5
  77. package/src/events/event-venue-map/components/VenueMap/VenueMap.tsx +3 -3
  78. package/src/events/event-venue-map/components/ZoomButtons/ZoomButtons.tsx +4 -4
  79. package/src/file-upload/FilePreview.tsx +8 -8
  80. package/src/file-upload/FileUpload.tsx +8 -8
  81. package/src/header/BookeditHeader.tsx +1 -1
  82. package/src/header/Header.stories.tsx +16 -16
  83. package/src/header/Header.tsx +11 -11
  84. package/src/header/LicklistHeader.tsx +1 -1
  85. package/src/header/elements/CompanySelector.tsx +6 -6
  86. package/src/help/example/Example.tsx +12 -12
  87. package/src/help/popover/HelpPopover.tsx +5 -5
  88. package/src/iframe/activity-card/ActivityCard.tsx +38 -27
  89. package/src/iframe/back-button/BackButton.tsx +3 -3
  90. package/src/iframe/custom-fields/components/CustomDateField.stories.tsx +1 -1
  91. package/src/iframe/custom-fields/components/CustomDateField.tsx +7 -7
  92. package/src/iframe/event/event-booking-form/EventBookingForm.tsx +14 -14
  93. package/src/iframe/event/event-booking-products/EventBookingProducts.tsx +3 -3
  94. package/src/iframe/event/event-booking-products/components/AccordionItem/AccordionItem.tsx +10 -10
  95. package/src/iframe/event/event-booking-view/EventBookingView.tsx +1 -1
  96. package/src/iframe/event/event-card/IframeEventCard.stories.tsx +6 -6
  97. package/src/iframe/event/event-card/IframeEventCardSkeleton.tsx +20 -20
  98. package/src/iframe/event/event-card/IframeEventCards.stories.tsx +2 -2
  99. package/src/iframe/event/event-description/EventDescription.stories.tsx +3 -3
  100. package/src/iframe/event/event-description/EventDescription.tsx +10 -10
  101. package/src/iframe/event/event-navigation-footer/EventNavigationFooter.tsx +6 -6
  102. package/src/iframe/event/event-order-short-summary/EventOrderShortSummary.tsx +2 -2
  103. package/src/iframe/event/event-order-short-summary/components/Summary/Summary.tsx +4 -4
  104. package/src/iframe/event/event-order-summary/EventOrderSummary.stories.tsx +1 -1
  105. package/src/iframe/event/event-order-summary/EventOrderSummary.tsx +5 -5
  106. package/src/iframe/event/event-product-sets/EventProductSets.stories.tsx +1 -1
  107. package/src/iframe/event/event-product-sets/EventProductSets.tsx +1 -1
  108. package/src/iframe/event/event-product-sets/components/EventProductSet.tsx +1 -1
  109. package/src/iframe/event/event-step-venue-map-zones/EventStepVenueMapZones.tsx +1 -1
  110. package/src/iframe/event/event-step-venue-map-zones/components/EventStepVenueMapZone.tsx +3 -3
  111. package/src/iframe/event/event-tables/EventTables.stories.tsx +1 -1
  112. package/src/iframe/event/event-tables/EventTables.tsx +5 -5
  113. package/src/iframe/event/event-venue-map/IframeEventVenueMap.stories.tsx +4 -4
  114. package/src/iframe/event/event-venue-map/IframeEventVenueMap.tsx +1 -1
  115. package/src/iframe/event/ticket-description/TicketDescription.stories.tsx +6 -6
  116. package/src/iframe/event/ticket-description/TicketDescription.tsx +7 -7
  117. package/src/iframe/external-modal/ExternalModal.tsx +7 -7
  118. package/src/iframe/order-process/components/BookingSummary/BookingSummary.stories.tsx +8 -8
  119. package/src/iframe/order-process/components/BookingSummary/BookingSummary.tsx +23 -23
  120. package/src/iframe/order-process/components/BookingSummary/components/BookingSummaryAccordion/BookingSummaryAccordion.tsx +1 -1
  121. package/src/iframe/order-process/components/BookingSummary/components/ProductSummary/ProductSummary.tsx +6 -6
  122. package/src/iframe/order-process/components/BookingSummary/components/ProductsByMenuStep/ProductsByMenuStep.tsx +3 -3
  123. package/src/iframe/order-process/components/BookingSummary/components/SummaryTotal/SummaryTotal.tsx +1 -1
  124. package/src/iframe/order-process/components/BookingSummary/components/SummaryTotal/components/SummaryTotalBlock.tsx +2 -2
  125. package/src/iframe/order-process/components/BookingSummary/components/ToggleHeader/ToggleHeader.tsx +9 -9
  126. package/src/iframe/order-process/components/BookingSummaryFooter/BookingSummaryFooter.tsx +3 -3
  127. package/src/iframe/order-process/components/CalendarStepsForm/CalendarStepsForm.stories.tsx +5 -5
  128. package/src/iframe/order-process/components/CalendarStepsForm/CalendarStepsForm.tsx +3 -3
  129. package/src/iframe/order-process/components/CalendarStepsForm/components/Category.tsx +1 -1
  130. package/src/iframe/order-process/components/CalendarStepsForm/components/CategoryProductModal.tsx +3 -3
  131. package/src/iframe/order-process/components/CategoryProduct/CategoryProduct.tsx +7 -7
  132. package/src/iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.stories.tsx +1 -1
  133. package/src/iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.tsx +4 -4
  134. package/src/iframe/order-process/components/CategoryProduct/components/ProductQuantityInput/ProductQuantityInput.tsx +2 -2
  135. package/src/iframe/order-process/components/ErrorModal/ErrorModal.tsx +8 -8
  136. package/src/iframe/order-process/components/NavigationFooter/NavigationFooter.tsx +4 -4
  137. package/src/iframe/order-process/components/NavigationSteps/NavigationSteps.stories.tsx +1 -1
  138. package/src/iframe/order-process/components/NavigationSteps/NavigationSteps.tsx +6 -6
  139. package/src/iframe/order-process/components/PaymentCard/PaymentCard.stories.tsx +2 -2
  140. package/src/iframe/order-process/components/PaymentCard/PaymentCard.tsx +9 -9
  141. package/src/iframe/order-process/components/Timer/Timer.stories.tsx +2 -2
  142. package/src/iframe/order-process/components/Timer/Timer.tsx +6 -6
  143. package/src/iframe/page/Page.stories.tsx +4 -4
  144. package/src/iframe/page/Page.tsx +1 -1
  145. package/src/iframe/page/components/PageBody/components/LeftBlock/LeftBlock.tsx +2 -2
  146. package/src/iframe/page/components/PageBody/components/RightBlock/RightBlock.tsx +2 -2
  147. package/src/iframe/page/components/PageHeader/PageHeader.tsx +6 -6
  148. package/src/iframe/payment/order-items-table/OrderItemsTable.stories.tsx +2 -2
  149. package/src/iframe/payment/order-items-table/OrderItemsTable.tsx +2 -2
  150. package/src/iframe/payment/order-items-table/hooks/useTableData.tsx +3 -3
  151. package/src/iframe/payment/payment-form/PaymentForm.stories.tsx +5 -5
  152. package/src/iframe/payment/payment-form/PaymentForm.tsx +12 -12
  153. package/src/iframe/payment/payment-page/PaymentPage.tsx +5 -5
  154. package/src/iframe/payment/payment-status-header/PaymentStatusHeader.stories.tsx +2 -2
  155. package/src/iframe/payment/payment-status-header/PaymentStatusHeader.tsx +2 -2
  156. package/src/iframe/payment/payment-status-page/PaymentStatusComponent.stories.tsx +2 -2
  157. package/src/iframe/payment/payment-status-page/PaymentStatusPage.tsx +2 -2
  158. package/src/iframe/payment/status-body/StatusBody.tsx +3 -3
  159. package/src/iframe/powered-by/PoweredBy.tsx +4 -4
  160. package/src/iframe/ryft/RyftPaymentForm.tsx +12 -12
  161. package/src/image-radio-input/ImageRadioInput.tsx +5 -5
  162. package/src/layout/BackgroundVideoContainer.tsx +2 -2
  163. package/src/layout/Container.tsx +1 -1
  164. package/src/layout/DropDownToggle.tsx +1 -1
  165. package/src/layout/Layout.stories.tsx +5 -5
  166. package/src/logo/Logo.tsx +2 -2
  167. package/src/modals/confirmation/ConfirmModal.tsx +13 -13
  168. package/src/modals/dialog/Dialog.tsx +10 -10
  169. package/src/modals/fullscreen/FullscreenModal.tsx +10 -10
  170. package/src/modals/fullscreen/FulscreenModal.stories.tsx +2 -2
  171. package/src/notification/components/NotificationPlaceholders.tsx +5 -5
  172. package/src/notification/email-template/card/EmailTemplateCard.tsx +10 -10
  173. package/src/notification/email-template/control/EmailTemplateControl.tsx +29 -29
  174. package/src/notification/email-template/form/EmailTemplateForm.tsx +3 -3
  175. package/src/notification/send-email-template/SendEmailTemplateForm.tsx +11 -11
  176. package/src/notification/sms-template/card/SmsTemplateCard.tsx +9 -9
  177. package/src/notification/sms-template/control/SmsTemplateControl.tsx +15 -15
  178. package/src/notification/sms-template/form/SmsTemplateForm.tsx +1 -1
  179. package/src/number-of-people-input/components/RenderNumberOfPeopleInputComponent.tsx +6 -6
  180. package/src/product-set/card/ProductSetCard.tsx +21 -21
  181. package/src/product-set/control/DateAndRecurrenceInput.tsx +10 -10
  182. package/src/product-set/control/DateInput.tsx +10 -10
  183. package/src/product-set/control/ProductSetControl.stories.tsx +2 -2
  184. package/src/product-set/control/ProductSetControl.tsx +64 -72
  185. package/src/product-set/control/ProductSetImageControl.tsx +97 -0
  186. package/src/product-set/control/ProductSetRecurrenceControl.stories.tsx +1 -1
  187. package/src/product-set/control/ProductSetRecurrenceControl.tsx +10 -10
  188. package/src/product-set/control/ProductSetRecurrenceOverridesControl.tsx +9 -9
  189. package/src/product-set/control/TutorialGifCard.tsx +10 -10
  190. package/src/product-set/deposit-paid/ProductSetDepositPaid.stories.tsx +2 -2
  191. package/src/product-set/deposit-paid/ProductSetDepositPaidControl.tsx +9 -9
  192. package/src/product-set/elements/DeleteFieldButton.tsx +3 -3
  193. package/src/product-set/form/MobileFooter.tsx +2 -2
  194. package/src/product-set/form/ProductCategoriesControl.tsx +13 -13
  195. package/src/product-set/form/ProductSetForm.tsx +4 -4
  196. package/src/product-set/form/ProductSetFormPopover.tsx +4 -4
  197. package/src/product-set/form/ProductSetNameControl.tsx +1 -1
  198. package/src/product-set/form/ProductZonesControl.tsx +4 -4
  199. package/src/product-set/form/ProductsControl.tsx +4 -4
  200. package/src/product-set/form/SelectCategoryModal.tsx +22 -22
  201. package/src/product-set/form/StepsControl.tsx +5 -5
  202. package/src/product-set/form/SubProductsControl.tsx +1 -1
  203. package/src/product-set/form/VenueMapSetModal.tsx +16 -16
  204. package/src/product-set/form/VenueMapsControl.tsx +9 -9
  205. package/src/product-set/item/CreateProductSetItem.tsx +2 -2
  206. package/src/product-set/popover/ProductSetPopover.stories.tsx +7 -7
  207. package/src/product-set/popover/ProductSetPopover.tsx +5 -5
  208. package/src/product-set/product/Product.stories.tsx +4 -4
  209. package/src/product-set/product/ProductControl.tsx +19 -19
  210. package/src/product-set/product/advanced-options/AdvancedOptions.tsx +10 -10
  211. package/src/product-set/product/booking-management/ProductBookingManagement.stories.tsx +1 -1
  212. package/src/product-set/product/booking-management/ProductBookingManagementControl.tsx +9 -9
  213. package/src/product-set/product/deposit/ProductDeposit.stories.tsx +1 -1
  214. package/src/product-set/product/deposit/ProductDepositControl.tsx +4 -4
  215. package/src/product-set/product/duration/ProductDurationControl.stories.tsx +1 -1
  216. package/src/product-set/product/duration/ProductDurationControl.tsx +10 -10
  217. package/src/product-set/product/fixed-duration-fields/FixedDurationOptions.tsx +1 -1
  218. package/src/product-set/product/price/ProductPrice.stories.tsx +1 -1
  219. package/src/product-set/product/price/ProductPriceControl.tsx +4 -4
  220. package/src/product-set/product/quantity/ProductQuantity.stories.tsx +3 -3
  221. package/src/product-set/product/quantity/ProductQuantityConstantControl.tsx +10 -10
  222. package/src/product-set/product/quantity/ProductQuantityControl.tsx +8 -8
  223. package/src/product-set/product/quantity/ProductQuantityRechargingControl.tsx +3 -3
  224. package/src/product-set/product-category/ProductCategory.stories.tsx +4 -4
  225. package/src/product-set/product-category/ProductCategoryControl.tsx +27 -27
  226. package/src/product-set/product-zone/ProductZoneControl.tsx +6 -6
  227. package/src/product-set/step/Step.stories.tsx +1 -1
  228. package/src/product-set/step/StepControl.tsx +5 -5
  229. package/src/product-set/tabs/ProductSetTabs.stories.tsx +3 -3
  230. package/src/product-set/tabs/ProductSetTabs.tsx +1 -1
  231. package/src/provider/categories-input/CategoriesInput.tsx +9 -9
  232. package/src/provider/categories-input/CategoriesInputDescription.tsx +4 -4
  233. package/src/provider/company/user-form/UserForm.tsx +9 -9
  234. package/src/provider/location-input/LocationInput.tsx +11 -11
  235. package/src/provider/location-input/LocationInputDescription.tsx +1 -1
  236. package/src/provider/location-input/components/FormGroupControll.tsx +1 -1
  237. package/src/provider/provider-details-input/ProviderDetailsInput.tsx +18 -18
  238. package/src/provider/provider-form/ProviderForm.tsx +11 -11
  239. package/src/provider/provider-links-input/ProviderLinksInput.tsx +4 -4
  240. package/src/provider/venue-form/VenueForm.tsx +12 -12
  241. package/src/provider/working-hours-input/WorkingHoursInput.tsx +13 -13
  242. package/src/provider/working-hours-input/WorkingHoursInputDescription.tsx +1 -1
  243. package/src/radio-card/RadioCard.tsx +3 -3
  244. package/src/recurrence-input/RecurrenceEndInput.tsx +12 -12
  245. package/src/recurrence-input/RecurrenceIntervalAndFrequencyInput.tsx +6 -6
  246. package/src/recurrence-input/RecurrenceMonthlyRepeatByInput.tsx +4 -4
  247. package/src/recurrence-input/RecurrenceWeekdaysInput.tsx +4 -4
  248. package/src/recurring-date-picker-input/DatePickerInput.tsx +3 -3
  249. package/src/recurring-date-picker-input/RecurrenceAndFrequencyInput.tsx +8 -8
  250. package/src/recurring-date-picker-input/RecurrenceEndInput.tsx +12 -12
  251. package/src/recurring-date-picker-input/RecurrenceIntervalAndFrequencyInput.tsx +10 -10
  252. package/src/recurring-date-picker-input/RecurrenceMonthlyRepeatByInput.tsx +4 -4
  253. package/src/recurring-date-picker-input/RecurrenceWeekdaysInput.tsx +6 -6
  254. package/src/recurring-date-picker-input/RecurringDatePickerInput.tsx +4 -4
  255. package/src/report/DataFieldsSelector/DataFieldsSelector.tsx +6 -6
  256. package/src/report/ReportRunnerModal/ReportRunnerModal.tsx +23 -23
  257. package/src/report/ReportTypeSelect/ReportTypeSelect.tsx +9 -9
  258. package/src/report/card/ReportCard.tsx +3 -3
  259. package/src/report/form/ReportForm.tsx +9 -9
  260. package/src/resource/form/ResourceForm.tsx +4 -4
  261. package/src/resource/form/components/CapacityControl.tsx +2 -2
  262. package/src/resource/form/components/NameControl.tsx +1 -1
  263. package/src/resource/form/components/SortControl.tsx +2 -2
  264. package/src/resource/form/components/ZoneControl.tsx +3 -3
  265. package/src/sales/booking/results/BookingResults.tsx +2 -2
  266. package/src/sales/booking/results/components/ResultCard.tsx +8 -8
  267. package/src/sales/coupon/control/CouponFormControl.tsx +24 -24
  268. package/src/sales/coupon/form/CouponFrom.tsx +3 -3
  269. package/src/sales/filters/SaleFilters.tsx +3 -3
  270. package/src/sales/guest-profile/previous-bookings/PreviousBookings.tsx +12 -12
  271. package/src/sales/guest-profile/profile/Profile.tsx +6 -6
  272. package/src/sales/guest-profile/profile/components/ImageHolder/ImageHolder.tsx +1 -1
  273. package/src/sales/guest-profile/user-metrics/UserMetrics.tsx +34 -34
  274. package/src/sales/guest-profile/visited-providers/VisitedProviders.tsx +10 -10
  275. package/src/sales/life-time-sales/LifeTimeSalesChart.tsx +8 -8
  276. package/src/sales/manual-booking/number-input-horizontal/NumberInputHorizontal.stories.tsx +1 -1
  277. package/src/sales/manual-booking/number-input-horizontal/NumberInputHorizontal.tsx +3 -3
  278. package/src/sales/manual-booking/search-user/SearchUser.tsx +8 -8
  279. package/src/sales/manual-booking/select-date-type-control/SelectDateTypeControl.tsx +10 -10
  280. package/src/sales/manual-booking/select-event/SelectEvent.tsx +13 -13
  281. package/src/sales/manual-booking/select-menu/SelectMenu.tsx +5 -5
  282. package/src/sales/manual-booking/select-menu/components/MenuButton.tsx +2 -2
  283. package/src/sales/manual-booking/summary/ManualBookingSummary.tsx +11 -11
  284. package/src/sales/modals/payment-modal/PaymentModal.tsx +10 -10
  285. package/src/sales/modals/refund-modal/RefundModal.stories.tsx +1 -1
  286. package/src/sales/modals/refund-modal/RefundModal.tsx +11 -11
  287. package/src/sales/notes/NotesTable.tsx +5 -5
  288. package/src/sales/notes/NotesTableRow.tsx +13 -13
  289. package/src/sales/notes/note-form/NoteForm.tsx +11 -11
  290. package/src/sales/payment-form/SalePaymentForm.tsx +5 -5
  291. package/src/sales/payment-form/components/RyftPayment/RyftPayment.tsx +9 -9
  292. package/src/sales/sales-and-views/SalesAndViewsChart.tsx +19 -19
  293. package/src/sales/source-of-sales/SourceOfSalesChart.tsx +9 -9
  294. package/src/sales/statistics-chart/StatisticsChart.tsx +4 -4
  295. package/src/setting/admin/AdminSettingForm.tsx +14 -14
  296. package/src/setting/admin/PaymentFeeForm.tsx +28 -28
  297. package/src/setting/dashboard/DashboardSettingForm.tsx +16 -16
  298. package/src/setting/dashboard/EventSettingForm.tsx +3 -3
  299. package/src/setting/dashboard/FinancialDataForm.tsx +5 -5
  300. package/src/setting/dashboard/OtherSettingForm.tsx +29 -29
  301. package/src/setting/dashboard/ProviderSettingForm.tsx +3 -3
  302. package/src/setting/dashboard/components/IpInput.tsx +10 -10
  303. package/src/setting/dashboard/payments/payments-form/PaymentsForm.tsx +8 -8
  304. package/src/setting/dashboard/payments/payments-modal/PaymentsModal.tsx +4 -4
  305. package/src/setting/dashboard/snippet-templates/card/SnippetTemplateCard.tsx +8 -8
  306. package/src/setting/dashboard/snippets/card/SnippetCard.tsx +16 -16
  307. package/src/setting/system/SystemSettingForm.tsx +8 -8
  308. package/src/sidebar/elements/Elements.stories.tsx +1 -1
  309. package/src/sidebar/elements/ReturnBack.tsx +3 -3
  310. package/src/slide-curtain/SlideCurtain.stories.tsx +1 -1
  311. package/src/slide-curtain/SlideCurtain.tsx +4 -4
  312. package/src/snippet/snippet-template/SnippetTemplate.tsx +3 -3
  313. package/src/snippet/snippet-template/context/snippetTemplate.tsx +2 -2
  314. package/src/snippet/snippet-template/control/PropertyControl.tsx +8 -8
  315. package/src/snippet/snippet-template/form/SnippetTemplateForm.tsx +7 -7
  316. package/src/snippet/snippet-template/preview/Preview.tsx +66 -66
  317. package/src/snippet/snippet-template/settings/SettingButton.tsx +2 -2
  318. package/src/sortable-fields/SortableFieldItem.tsx +2 -2
  319. package/src/sortable-list/CreateSortableListItem.tsx +3 -3
  320. package/src/sortable-tree/SortableTreeItem.stories.tsx +2 -2
  321. package/src/sortable-tree/SortableTreeItem.tsx +41 -41
  322. package/src/sorting-select/SortingSelect.tsx +4 -4
  323. package/src/static/CountryCodeSelect.tsx +4 -4
  324. package/src/static/CountrySelect.tsx +5 -5
  325. package/src/static/CurrencyNumberInput.tsx +5 -5
  326. package/src/static/RestrictedAccess.tsx +6 -6
  327. package/src/static/SocialButton.tsx +1 -1
  328. package/src/static/Static.stories.tsx +24 -24
  329. package/src/static/UserBadge.tsx +7 -7
  330. package/src/static/WarningMessage.tsx +2 -2
  331. package/src/static/date-range-input/DateRangeInput.stories.tsx +1 -1
  332. package/src/static/date-range-input/DateRangeInput.tsx +12 -12
  333. package/src/static/form-number-input/FormNumberInput.stories.tsx +1 -1
  334. package/src/static/form-number-input/FormNumberInput.tsx +4 -4
  335. package/src/static/images/Images.stories.tsx +1 -1
  336. package/src/static/loader/BlockLoader.tsx +2 -2
  337. package/src/static/loader/ButtonLoader.tsx +1 -1
  338. package/src/static/loader/Loader.stories.tsx +2 -2
  339. package/src/static/loader/PaymentLoader.tsx +4 -4
  340. package/src/static/loader/SnippetLoader.tsx +2 -2
  341. package/src/static/manual-date-picker/ManualDatePicker.tsx +9 -9
  342. package/src/static/number-input/NumberInput.tsx +6 -6
  343. package/src/static/switch/Switch.stories.tsx +3 -3
  344. package/src/static/switch/Switch.tsx +4 -4
  345. package/src/static/tabs/Tabs.tsx +1 -1
  346. package/src/static/text-expand/TextExpand.tsx +3 -3
  347. package/src/striped-static-table/StripedStaticTable.tsx +2 -2
  348. package/src/styles/activity-card/{GridActivitiesCard.scss → ActivitiesCard.scss} +19 -5
  349. package/src/styles/activity-card/ListActivitiesCard.scss +12 -42
  350. package/src/styles/activity-card/_index.scss +1 -1
  351. package/src/table/FilterHelperComponent.tsx +10 -10
  352. package/src/table/MenuButton.tsx +1 -1
  353. package/src/table/PaginationHelperComponent.tsx +7 -7
  354. package/src/table/PerPageHelperComponent.tsx +5 -5
  355. package/src/table/ReactTableHelperComponent.tsx +1 -1
  356. package/src/table/TableHelperComponent.tsx +1 -1
  357. package/src/theme/Theme.stories.tsx +36 -36
  358. package/src/tiptap-editor/TipTapEditor.tsx +1 -1
  359. package/src/tiptap-editor/TipTapMenu/TipTapMenu.tsx +21 -21
  360. package/src/tiptap-editor/TipTapMenu/components/TipTapMenuItem.tsx +2 -2
  361. package/src/typeahead/Typeahead.stories.tsx +3 -3
  362. package/src/typeahead-helper/TypeaheadHelperComponent.tsx +4 -4
  363. package/src/venue-map-sets/card/VenueMapSetCard.tsx +14 -14
  364. package/src/venue-map-sets/form/VenueMapSetForm.tsx +3 -3
  365. package/src/venue-map-sets/form/components/NameControl.tsx +1 -1
  366. package/src/venue-map-sets/form/components/VenueMapControl.tsx +8 -8
  367. package/src/venue-map-sets/form/components/VenueMapImageControl.tsx +5 -5
  368. package/src/venue-map-sets/form/components/VenueMapModal.tsx +16 -16
  369. package/src/venue-map-sets/form/components/VenueMapsControl.tsx +1 -1
  370. package/src/virtualized/components/VirtualizedGrid.tsx +1 -1
  371. package/src/zone/card/ZoneCard.tsx +14 -14
  372. package/src/zone/form/ZoneForm.tsx +3 -3
  373. package/src/zone/form/components/AvailableTimesControl.tsx +4 -4
  374. package/src/zone/form/components/DescriptionControl.tsx +2 -2
  375. package/src/zone/form/components/GameDurationControl.tsx +2 -2
  376. package/src/zone/form/components/NameControl.tsx +1 -1
  377. package/src/zone/form/components/SortControl.tsx +2 -2
  378. package/src/zone/form/components/ZoneControl.tsx +1 -1
  379. package/src/zone/form/components/ZoneImageControl.tsx +3 -3
  380. package/src/zone/form/components/ZoneRecurrenceControl.tsx +10 -10
  381. package/src/zone/form/components/ZoneRecurrencesControl.tsx +10 -10
  382. package/src/zone/form/components/ZoneTypeControl.tsx +2 -2
@@ -92,10 +92,10 @@ export function FileUpload({
92
92
  }}
93
93
  >
94
94
  <input
95
- type="file"
96
- className="licklist-file-upload"
95
+ type='file'
96
+ className='licklist-file-upload'
97
97
  multiple={allowMultiple}
98
- title="Upload Files"
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="drag-title">
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="drag-title">{title}</h5>
127
+ <h5 className='drag-title'>{title}</h5>
128
128
  {subTitle ? (
129
- <span className="drag-sub-title">{subTitle}</span>
129
+ <span className='drag-sub-title'>{subTitle}</span>
130
130
  ) : (
131
- <h5 className="browse-title">{t('browseFiles')}</h5>
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="file-upload-loader" />
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="mt-auto mr-0 mr-sm-3" />}
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="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="#">
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="nav-item px-3 px-sm-4 d-none d-sm-inline">
35
- <Nav.Link href="#" className="nav-link-light-grey">
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="nav-item px-3 px-sm-4 d-none d-sm-inline">
40
- <Nav.Link href="#" className="">
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="sm" className="rounded-pill mr-2">
48
+ <StyledButton size='sm' className='rounded-pill mr-2'>
49
49
  Login
50
50
  </StyledButton>
51
51
  <StyledButton
52
- size="sm"
53
- className="rounded-pill"
54
- variant="outline-secondary"
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="sm" className="rounded-pill mr-2">
73
+ <StyledButton size='sm' className='rounded-pill mr-2'>
74
74
  Login
75
75
  </StyledButton>
76
76
  <StyledButton
77
- size="sm"
78
- className="rounded-pill"
79
- variant="outline-secondary"
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="header-elements">
99
+ <div className='header-elements'>
100
100
  <CompanySelector
101
101
  value={1}
102
102
  list={[
@@ -26,33 +26,33 @@ function Header({
26
26
  }: Props) {
27
27
  return (
28
28
  <Navbar
29
- className="header"
30
- variant="light"
29
+ className='header'
30
+ variant='light'
31
31
  collapseOnSelect
32
32
  expand={false}
33
- bg="none"
33
+ bg='none'
34
34
  >
35
- <div className="header-logo-container">
36
- <Navbar.Brand href={href} className="p-0">
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="header-navbar-nav"
43
- className="d-block d-md-none ml-2 border-0"
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="mr-auto my-auto">{leftNavs}</Nav>
49
- <div className="user-section ml-3 my-auto">{children}</div>
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="header-navbar-nav">
51
+ <Navbar.Collapse id='header-navbar-nav'>
52
52
  {renderMobileNavigation ? (
53
53
  renderMobileNavigation(navItems)
54
54
  ) : (
55
- <Nav className="mr-auto">
55
+ <Nav className='mr-auto'>
56
56
  {navItems.map(({ label, href }) => (
57
57
  <Nav.Link href={href} key={`${href}${label}`}>
58
58
  {label}
@@ -30,7 +30,7 @@ function LicklistHeader({
30
30
  <Logo
31
31
  logo={<LogoSvg />}
32
32
  logoSm={<LogoSmSvg />}
33
- className="mt-auto mr-0 mr-sm-3"
33
+ className='mt-auto mr-0 mr-sm-3'
34
34
  />
35
35
  }
36
36
  href={href}
@@ -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="header-company-selector-container">
15
+ <div className='header-company-selector-container'>
16
16
  {hasOneItem && (
17
- <span className="company-selector-item company-selector-item__disabled">
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="m-0">
23
+ <Form.Group className='m-0'>
24
24
  <Form.Control
25
- className="header-company-selector"
25
+ className='header-company-selector'
26
26
  defaultValue={value}
27
- as="select"
27
+ as='select'
28
28
  onChange={onChange}
29
29
  >
30
30
  {hasItems &&
31
31
  list.map((item) => (
32
32
  <option
33
- className="company-selector-item"
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="sm"
97
- className="btn-clipboard"
98
- variant="outline-info"
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="top"
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="top"
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="bd-clipboard">{copy}</div>
126
+ <div className='bd-clipboard'>{copy}</div>
127
127
 
128
- <figure className="help-example-highlight mt-1 mb-2 p-5 rounded">
129
- {title && <strong className="d-inline-flex pb-3">{title}</strong>}
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="m-0">
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="sm"
144
- variant="outline-info"
143
+ size='sm'
144
+ variant='outline-info'
145
145
  onClick={(_) => onToggle()}
146
- className="pull-right switch on"
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="h3">{title}</Popover.Title>
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="focus"
37
- placement="auto"
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="sm"
45
+ size='sm'
46
46
  ref={ref}
47
47
  {...triggerHandler}
48
- className="btn-icon-popover rounded-circle px-2 py-1 d-inline-flex align-items-center"
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>
@@ -1,27 +1,29 @@
1
1
  import { ReactNode } from 'react'
2
2
  import clsx from 'clsx'
3
+ import { Image } from '@licklist/core/dist/DataMapper/Media/ImageDataMapper'
3
4
 
4
5
  export const LAYOUT_GRID = 'grid'
5
6
  export const LAYOUT_LIST = 'list'
6
7
 
7
- type Layout = typeof LAYOUT_GRID | typeof LAYOUT_LIST
8
-
9
8
  export type ActivityCardProps = {
10
9
  title: ReactNode
11
10
  duration: ReactNode
12
11
  price: ReactNode
12
+ description?: ReactNode
13
13
  onSelect: () => void
14
14
  isSelected: boolean
15
- layout?: Layout
15
+ layout?: typeof LAYOUT_GRID | typeof LAYOUT_LIST
16
16
  availableTimes?: string | null
17
+ image?: Image | null
17
18
  }
18
19
 
19
20
  export const ActivityCard = ({
20
21
  title,
21
22
  duration,
22
23
  price,
24
+ description,
23
25
  availableTimes,
24
- // image,
26
+ image,
25
27
  onSelect,
26
28
  isSelected,
27
29
  layout = LAYOUT_GRID,
@@ -29,40 +31,49 @@ export const ActivityCard = ({
29
31
  if (layout === LAYOUT_GRID) {
30
32
  return (
31
33
  <button
32
- type="button"
33
- className={clsx('activity-card', isSelected && 'active')}
34
+ type='button'
35
+ className={clsx('activity-card', { active: isSelected })}
34
36
  onClick={onSelect}
35
37
  >
36
- <div className={clsx('d-flex', 'flex-column')}>
37
- <div className="activity-card-title">{title}</div>
38
- {duration && <div>{duration}</div>}
38
+ {image && (
39
+ <img src={image.url} alt={typeof title === 'string' ? title : ''} />
40
+ )}
39
41
 
42
+ <div>
43
+ <div className='activity-card-title'>{title}</div>
44
+ {duration && <div>{duration}</div>}
40
45
  {price && <div>{price}</div>}
46
+ {description && (
47
+ <div className='mt-2 activity-card-description'>{description}</div>
48
+ )}
41
49
  </div>
42
50
  </button>
43
51
  )
44
52
  }
45
53
 
46
54
  return (
47
- <div role="button" onClick={onSelect} onKeyPress={onSelect} tabIndex={0}>
48
- <div
49
- className={clsx('list-activity-card', {
50
- active: isSelected,
51
- })}
52
- >
53
- <div className="description">
54
- <div className="title mb-2">{title}</div>
55
- {availableTimes && <div>{availableTimes}</div>}
56
- {duration && (
57
- <div>
58
- <p>{duration}</p>
59
- </div>
60
- )}
55
+ <button
56
+ type='button'
57
+ onClick={onSelect}
58
+ className={clsx('activity-card list-activity-card', {
59
+ active: isSelected,
60
+ })}
61
+ >
62
+ {image && (
63
+ <img src={image.url} alt={typeof title === 'string' ? title : ''} />
64
+ )}
61
65
 
62
- {price && <div>{price}</div>}
63
- </div>
66
+ <div className='activity-card-info'>
67
+ <div className='activity-card-title mb-2'>{title}</div>
68
+ {availableTimes && <div>{availableTimes}</div>}
69
+ {duration && <div>{duration}</div>}
70
+ {price && <div>{price}</div>}
71
+ {description && (
72
+ <div className='mt-2 activity-card-description'>{description}</div>
73
+ )}
64
74
  </div>
65
- <hr className="list-activity-card-hr" />
66
- </div>
75
+
76
+ <hr className='list-activity-card-hr' />
77
+ </button>
67
78
  )
68
79
  }
@@ -3,12 +3,12 @@ export interface IBackButtonProps {
3
3
  }
4
4
 
5
5
  export const BackButton = ({ onClick }: IBackButtonProps) => (
6
- <div className="button-wrapper back-button">
6
+ <div className='button-wrapper back-button'>
7
7
  <div
8
- className="back-button"
8
+ className='back-button'
9
9
  onClick={onClick}
10
10
  onKeyPress={onClick}
11
- role="button"
11
+ role='button'
12
12
  tabIndex={0}
13
13
  >
14
14
  &lt;
@@ -61,7 +61,7 @@ export const Default: Story<any> = () => {
61
61
  isLoading={isLoading}
62
62
  />
63
63
  <div>
64
- <button type="submit">Submit</button>
64
+ <button type='submit'>Submit</button>
65
65
  </div>
66
66
  </Form.Row>
67
67
  </form>
@@ -63,14 +63,14 @@ export const CustomDateField = ({
63
63
  }, [day, month, year])
64
64
 
65
65
  return (
66
- <Form.Group as={Col} className="col-12">
66
+ <Form.Group as={Col} className='col-12'>
67
67
  <Row>
68
68
  <div>
69
- <Col sm={12} md={6} className="p-0">
70
- <Form.Group as={Col} className="mb-0">
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="hidden"
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="d-flex">
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="manual-form-error m-0">{fieldErrors()}</div>
132
+ <div className='manual-form-error m-0'>{fieldErrors()}</div>
133
133
  </Col>
134
134
  </div>
135
135
  <Form.Control
136
- type="hidden"
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="event-booking-form">
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="date"
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="select">
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="d-flex flex-column">
37
- <label className="event-booking-form__booking-option-container">
36
+ <div className='d-flex flex-column'>
37
+ <label className='event-booking-form__booking-option-container'>
38
38
  <input
39
- type="radio"
39
+ type='radio'
40
40
  defaultChecked
41
- className="event-booking-form__radio"
42
- name="booking-option"
41
+ className='event-booking-form__radio'
42
+ name='booking-option'
43
43
  />
44
- <div className="booking-option">{t('tickets')}</div>
44
+ <div className='booking-option'>{t('tickets')}</div>
45
45
  </label>
46
- <label className="event-booking-form__booking-option-container">
46
+ <label className='event-booking-form__booking-option-container'>
47
47
  <input
48
- type="radio"
49
- className="event-booking-form__radio"
50
- name="booking-option"
48
+ type='radio'
49
+ className='event-booking-form__radio'
50
+ name='booking-option'
51
51
  />
52
- <div className="booking-option">{t('tablesAndBooths')}</div>
52
+ <div className='booking-option'>{t('tablesAndBooths')}</div>
53
53
  </label>
54
54
  </div>
55
55
  </Form>
@@ -16,11 +16,11 @@ export function EventBookingProducts({
16
16
  setOrder,
17
17
  }: EventBookingProductsProps) {
18
18
  return (
19
- <div className="event-booking-products">
20
- <div className="event-booking-products__header p-4">
19
+ <div className='event-booking-products'>
20
+ <div className='event-booking-products__header p-4'>
21
21
  Choose Your Table
22
22
  </div>
23
- <div className="event-booking-products__main">
23
+ <div className='event-booking-products__main'>
24
24
  <Accordion>
25
25
  {productsCategories?.map((productsCategory) => (
26
26
  <AccordionItem
@@ -47,7 +47,7 @@ function CustomToggle({
47
47
  })
48
48
 
49
49
  return (
50
- <Card.Header className="accordion-toggle p-4" onClick={decoratedOnClick}>
50
+ <Card.Header className='accordion-toggle p-4' onClick={decoratedOnClick}>
51
51
  <div className={contentClassName}>{children}</div>
52
52
  <FaAngleRight className={iconClassName} size={24} />
53
53
  </Card.Header>
@@ -63,10 +63,10 @@ export function AccordionItem({
63
63
  productCategoryId,
64
64
  }: AccordionItemProps) {
65
65
  return (
66
- <Card className="event-booking-products__card">
66
+ <Card className='event-booking-products__card'>
67
67
  <CustomToggle eventKey={eventKey}>{name}</CustomToggle>
68
68
  <Accordion.Collapse eventKey={eventKey}>
69
- <Card.Body className="px-4 pb-0">
69
+ <Card.Body className='px-4 pb-0'>
70
70
  {products.map((product) => (
71
71
  <ProductItem
72
72
  key={product.id}
@@ -107,10 +107,10 @@ function ProductItem({
107
107
  const { formatNumber } = useIntl()
108
108
 
109
109
  return (
110
- <div className="product-item mb-4">
111
- <div className="product-item__title pb-1">{name}</div>
112
- <div className="product-item__description pb-3">{description} </div>
113
- <div className="product-item__selector d-flex align-items-center">
110
+ <div className='product-item mb-4'>
111
+ <div className='product-item__title pb-1'>{name}</div>
112
+ <div className='product-item__description pb-3'>{description} </div>
113
+ <div className='product-item__selector d-flex align-items-center'>
114
114
  <NumberInput
115
115
  onChange={(val) => {
116
116
  setOrder((prev) => ({
@@ -150,10 +150,10 @@ function ProductItem({
150
150
  }
151
151
  min={0}
152
152
  value={order[id]?.quantity || 0}
153
- className="product-item__counter"
153
+ className='product-item__counter'
154
154
  />
155
- <FaTimes className="product-item__icon m-3" size={16} />
156
- <div className="product-item__price">
155
+ <FaTimes className='product-item__icon m-3' size={16} />
156
+ <div className='product-item__price'>
157
157
  {formatNumber(price * (order[id]?.quantity || 1), {
158
158
  style: 'currency',
159
159
  currency: 'GBP',
@@ -22,7 +22,7 @@ export function EventBookingView({
22
22
  return (
23
23
  <>
24
24
  <SlideCurtain>{children}</SlideCurtain>
25
- <div className="event-fixed-footer">
25
+ <div className='event-fixed-footer'>
26
26
  <EventNavigationFooter
27
27
  amount={amount}
28
28
  activeElement={activeElement}
@@ -22,10 +22,10 @@ export function Default() {
22
22
  'https://images.unsplash.com/photo-1638988319382-90e61be77c59?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80'
23
23
  : undefined
24
24
  }
25
- title="Glitterbomb Bucks / Baga Chipz"
26
- type="22:00 - 03:00"
25
+ title='Glitterbomb Bucks / Baga Chipz'
26
+ type='22:00 - 03:00'
27
27
  cost={6}
28
- date="18 Apr 2023, 13:15"
28
+ date='18 Apr 2023, 13:15'
29
29
  description={`Category: Essex, They call her <i>Cheryl Hole</i>. Any holes a
30
30
  goal with Cheryl Hole and she's coming from the runway of <b>Season 1</b> of
31
31
  RuPaul's Drag Race UK to VINYL Cambridge! So get excited because
@@ -45,9 +45,9 @@ export function Default() {
45
45
  }}
46
46
  goToDetails={() => null}
47
47
  isListView={isListView}
48
- shortDate="07/03/2023"
49
- titleId="titleId"
50
- descriptionId="descriptionId"
48
+ shortDate='07/03/2023'
49
+ titleId='titleId'
50
+ descriptionId='descriptionId'
51
51
  />
52
52
  </div>
53
53
  )