@licklist/design 0.67.4 → 0.67.5-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 (308) hide show
  1. package/.storybook/main.cjs +15 -12
  2. package/dist/auth/Login/LoginComponent.js +2 -1
  3. package/dist/calendar/Calendar.d.ts +2 -2
  4. package/dist/calendar/Calendar.d.ts.map +1 -1
  5. package/dist/calendar/components/CalendarButtons/CalendarButtons.d.ts.map +1 -1
  6. package/dist/calendar/components/CalendarButtons/CalendarButtons.js +35 -40
  7. package/dist/calendar/utils/index.d.ts +2 -2
  8. package/dist/calendar/utils/index.d.ts.map +1 -1
  9. package/dist/calendar/utils/index.js +20 -4
  10. package/dist/date-time-button/DateTimeButton.d.ts +1 -2
  11. package/dist/date-time-button/DateTimeButton.d.ts.map +1 -1
  12. package/dist/date-time-button/DateTimeButton.js +2 -3
  13. package/dist/events/edit-event-modal/component/EditEventForm/EditEventForm.d.ts +2 -1
  14. package/dist/events/edit-event-modal/component/EditEventForm/EditEventForm.d.ts.map +1 -1
  15. package/dist/events/edit-event-modal/component/EditEventForm/EditEventForm.js +4 -4
  16. package/dist/events/edit-event-modal/component/SelectEventProductSet/SelectEventProductSet.d.ts +2 -2
  17. package/dist/events/edit-event-modal/component/SelectEventProductSet/SelectEventProductSet.d.ts.map +1 -1
  18. package/dist/events/edit-event-modal/component/SelectEventProductSet/SelectEventProductSet.js +27 -26
  19. package/dist/events/edit-event-modal/component/SelectEventProductSet/component/EditEventProductSet.d.ts +2 -2
  20. package/dist/events/edit-event-modal/component/SelectEventProductSet/component/EditEventProductSet.d.ts.map +1 -1
  21. package/dist/events/edit-event-modal/component/SelectEventProductSet/component/EditEventProductSet.js +3 -3
  22. package/dist/events/edit-event-modal/utils/getDefaultProductSet.d.ts.map +1 -1
  23. package/dist/events/edit-event-modal/utils/getDefaultProductSet.js +0 -1
  24. package/dist/iframe/event/event-card/IframeEventCard.d.ts +1 -1
  25. package/dist/iframe/event/event-card/IframeEventCard.d.ts.map +1 -1
  26. package/dist/iframe/event/event-card/IframeEventCard.js +9 -3
  27. package/dist/iframe/order-process/components/CategoryProduct/components/ProductQuantityInput/ProductQuantityInput.d.ts.map +1 -1
  28. package/dist/iframe/order-process/components/CategoryProduct/components/ProductQuantityInput/ProductQuantityInput.js +2 -0
  29. package/dist/iframe/payment/order-items-table/utils/paymentSummary.d.ts.map +1 -1
  30. package/dist/index.js +1 -0
  31. package/dist/layout/DropDown.d.ts +2 -1
  32. package/dist/layout/DropDown.d.ts.map +1 -1
  33. package/dist/modals/confirmation/ConfirmModal.d.ts +3 -1
  34. package/dist/modals/confirmation/ConfirmModal.d.ts.map +1 -1
  35. package/dist/modals/confirmation/ConfirmModal.js +172 -8
  36. package/dist/product-set/card/ProductSetCard.d.ts +6 -2
  37. package/dist/product-set/card/ProductSetCard.d.ts.map +1 -1
  38. package/dist/product-set/card/ProductSetCard.js +30 -11
  39. package/dist/product-set/control/DateAndRecurrenceInput.d.ts +3 -2
  40. package/dist/product-set/control/DateAndRecurrenceInput.d.ts.map +1 -1
  41. package/dist/product-set/control/DateAndRecurrenceInput.js +3 -1
  42. package/dist/product-set/control/DateInput.d.ts.map +1 -1
  43. package/dist/product-set/control/DateInput.js +2 -2
  44. package/dist/product-set/control/ProductSetControl.d.ts +3 -3
  45. package/dist/product-set/control/ProductSetControl.d.ts.map +1 -1
  46. package/dist/product-set/control/ProductSetControl.js +4 -16
  47. package/dist/product-set/form/ProductCategoriesControl.d.ts.map +1 -1
  48. package/dist/product-set/form/ProductCategoriesControl.js +48 -2
  49. package/dist/product-set/form/ProductSetForm.d.ts +6 -2
  50. package/dist/product-set/form/ProductSetForm.d.ts.map +1 -1
  51. package/dist/product-set/form/ProductSetForm.js +65 -5
  52. package/dist/product-set/form/ProductSetNameControl.d.ts +6 -0
  53. package/dist/product-set/form/ProductSetNameControl.d.ts.map +1 -0
  54. package/dist/product-set/form/ProductSetNameControl.js +35 -0
  55. package/dist/product-set/form/ProductZonesControl.d.ts.map +1 -1
  56. package/dist/product-set/form/ProductZonesControl.js +0 -2
  57. package/dist/product-set/form/SelectCategoryModal.d.ts +12 -0
  58. package/dist/product-set/form/SelectCategoryModal.d.ts.map +1 -1
  59. package/dist/product-set/form/SelectCategoryModal.js +1 -1
  60. package/dist/product-set/form/SubProductsControl.d.ts.map +1 -1
  61. package/dist/product-set/form/SubProductsControl.js +0 -3
  62. package/dist/product-set/form/VenueMapsControl.d.ts.map +1 -1
  63. package/dist/product-set/form/VenueMapsControl.js +0 -3
  64. package/dist/product-set/form/index.d.ts +1 -0
  65. package/dist/product-set/form/index.d.ts.map +1 -1
  66. package/dist/product-set/utils/index.d.ts +7 -0
  67. package/dist/product-set/utils/index.d.ts.map +1 -1
  68. package/dist/product-set/utils/index.js +10 -1
  69. package/dist/provider/location-input/LocationInput.d.ts +4 -1
  70. package/dist/provider/location-input/LocationInput.d.ts.map +1 -1
  71. package/dist/provider/location-input/LocationInput.js +41 -2
  72. package/dist/provider/location-input/LocationInputDescription.d.ts +4 -1
  73. package/dist/provider/location-input/LocationInputDescription.d.ts.map +1 -1
  74. package/dist/provider/location-input/LocationInputDescription.js +27 -12
  75. package/dist/provider/location-input/index.d.ts +1 -0
  76. package/dist/provider/location-input/index.d.ts.map +1 -1
  77. package/dist/provider/provider-form/ProviderForm.d.ts +3 -1
  78. package/dist/provider/provider-form/ProviderForm.d.ts.map +1 -1
  79. package/dist/provider/provider-form/ProviderForm.js +7 -3
  80. package/dist/provider/venue-form/VenueForm.d.ts +3 -1
  81. package/dist/provider/venue-form/VenueForm.d.ts.map +1 -1
  82. package/dist/provider/venue-form/VenueForm.js +7 -3
  83. package/dist/provider/working-hours-input/WorkingHoursInputDescription.d.ts.map +1 -1
  84. package/dist/provider/working-hours-input/WorkingHoursInputDescription.js +4 -8
  85. package/dist/recurring-date-picker-input/RecurrenceIntervalAndFrequencyInput.d.ts +2 -1
  86. package/dist/recurring-date-picker-input/RecurrenceIntervalAndFrequencyInput.d.ts.map +1 -1
  87. package/dist/recurring-date-picker-input/RecurrenceIntervalAndFrequencyInput.js +7 -13
  88. package/dist/recurring-date-picker-input/RecurringDatePickerInput.d.ts +4 -1
  89. package/dist/recurring-date-picker-input/RecurringDatePickerInput.d.ts.map +1 -1
  90. package/dist/recurring-date-picker-input/RecurringDatePickerInput.js +7 -3
  91. package/dist/recurring-date-picker-input/utils.d.ts +5 -0
  92. package/dist/recurring-date-picker-input/utils.d.ts.map +1 -1
  93. package/dist/recurring-date-picker-input/utils.js +72 -3
  94. package/dist/sales/booking/results/components/ResultCard.d.ts.map +1 -1
  95. package/dist/sales/booking/results/components/ResultCard.js +4 -7
  96. package/dist/sales/guest-profile/previous-bookings/PreviousBookings.js +1 -1
  97. package/dist/sales/manual-booking/formatDays.js +3 -3
  98. package/dist/sales/manual-booking/select-event/SelectEvent.d.ts.map +1 -1
  99. package/dist/sales/manual-booking/select-event/SelectEvent.js +3 -3
  100. package/dist/sales/manual-booking/summary/ManualBookingSummary.d.ts.map +1 -1
  101. package/dist/sales/manual-booking/summary/ManualBookingSummary.js +2 -2
  102. package/dist/sales/notes/NotesTableRow.js +3 -4
  103. package/dist/setting/admin/AdminSettingForm.d.ts +2 -2
  104. package/dist/setting/admin/AdminSettingForm.d.ts.map +1 -1
  105. package/dist/snippet/snippet-template/preview/Preview.d.ts.map +1 -1
  106. package/dist/snippet/snippet-template/preview/Preview.js +6 -0
  107. package/dist/sortable-tree/SortableTreeItem.d.ts +2 -1
  108. package/dist/sortable-tree/SortableTreeItem.d.ts.map +1 -1
  109. package/dist/sortable-tree/SortableTreeItem.js +10 -4
  110. package/dist/styles/auth/AccessDenied.scss +1 -1
  111. package/dist/styles/back-button/BackButton.scss +25 -24
  112. package/dist/styles/back-button/_index.scss +1 -1
  113. package/dist/styles/company-user-form/UserForm.scss +4 -7
  114. package/dist/styles/company-user-form/_index.scss +1 -1
  115. package/dist/styles/custom-fields/CreateSortableListItem.scss +2 -1
  116. package/dist/styles/custom-fields/_index.scss +1 -1
  117. package/dist/styles/customers/Filter.scss +5 -5
  118. package/dist/styles/events/EditEventModal.scss +1 -3
  119. package/dist/styles/events/EventVenueMap.scss +7 -7
  120. package/dist/styles/form/Input.scss +1 -1
  121. package/dist/styles/header/Header.scss +1 -1
  122. package/dist/styles/header/elements/CompanySelector.scss +2 -2
  123. package/dist/styles/iframe-events/Calendar.scss +0 -1
  124. package/dist/styles/iframe-events/CalendarSelect.scss +1 -1
  125. package/dist/styles/iframe-events/CategoryStepsForm.scss +6 -7
  126. package/dist/styles/iframe-events/Event.scss +2 -4
  127. package/dist/styles/iframe-events/EventForm.scss +54 -54
  128. package/dist/styles/iframe-events/EventNavigationFooter.scss +1 -0
  129. package/dist/styles/iframe-events/TicketDescription.scss +1 -1
  130. package/dist/styles/iframe-external-modal/IframeExternalModal.scss +2 -2
  131. package/dist/styles/iframe-payments/PaymentForm.scss +1 -1
  132. package/dist/styles/layout/BackgroundVideoContainer.scss +2 -2
  133. package/dist/styles/notification/Notification.scss +1 -1
  134. package/dist/styles/order-items-table/OrderItemsTable.scss +1 -2
  135. package/dist/styles/product-set/CreateProductSetItem.scss +15 -13
  136. package/dist/styles/product-set/DateAndRecurrenceInput.scss +6 -8
  137. package/dist/styles/product-set/EditCategoryModal.scss +4 -4
  138. package/dist/styles/product-set/EditProductModal.scss +3 -3
  139. package/dist/styles/product-set/EditStepModal.scss +4 -4
  140. package/dist/styles/product-set/EditVenueMapSetModal.scss +6 -6
  141. package/dist/styles/product-set/ProductSetForm.scss +25 -2
  142. package/dist/styles/product-set/TutorialGifCard.scss +1 -1
  143. package/dist/styles/product-set/_index.scss +2 -2
  144. package/dist/styles/report/ReportCard.scss +1 -0
  145. package/dist/styles/report/_index.scss +1 -1
  146. package/dist/styles/resources-blocking/_index.scss +4 -0
  147. package/dist/styles/sales/BookingFilter.scss +2 -2
  148. package/dist/styles/sales/BookingResults.scss +1 -1
  149. package/dist/styles/sales/BookingTabs.scss +7 -5
  150. package/dist/styles/sales/Filters.scss +5 -4
  151. package/dist/styles/sales/GuestProfile.scss +170 -175
  152. package/dist/styles/sales/LifeTimeSales.scss +1 -1
  153. package/dist/styles/sales/ManualBooking.scss +4 -2
  154. package/dist/styles/snippet-templates/_snippetVariables.scss +63 -244
  155. package/dist/styles/sortable-field/SortableField.scss +16 -16
  156. package/dist/styles/sortable-field/_index.scss +1 -1
  157. package/dist/styles/sortable-tree/Item.scss +4 -4
  158. package/dist/styles/table/Table.scss +1 -1
  159. package/dist/styles/themes/bookedit/_variables.scss +10 -32
  160. package/dist/styles/themes/licklist/_variables.scss +1 -1
  161. package/dist/styles/tiptap-editor/TiptapEditor.scss +9 -10
  162. package/dist/styles/tiptap-editor/_index.scss +1 -1
  163. package/dist/styles/venue-map-sets/VenueMapSetForm.scss +5 -4
  164. package/dist/styles/virtualized/_index.scss +1 -1
  165. package/dist/styles/zones/ZoneForm.scss +1 -0
  166. package/dist/styles/zones/ZoneRecurrencesControl.scss +6 -8
  167. package/dist/typeahead/Typeahead.d.ts +5 -1
  168. package/dist/typeahead/Typeahead.d.ts.map +1 -1
  169. package/dist/typeahead/Typeahead.js +9 -2
  170. package/dist/zone/form/ZoneForm.d.ts +3 -2
  171. package/dist/zone/form/ZoneForm.d.ts.map +1 -1
  172. package/dist/zone/form/ZoneForm.js +4 -2
  173. package/dist/zone/form/components/ZoneControl.d.ts +3 -2
  174. package/dist/zone/form/components/ZoneControl.d.ts.map +1 -1
  175. package/dist/zone/form/components/ZoneControl.js +5 -2
  176. package/dist/zone/form/components/ZoneRecurrencesControl.d.ts +5 -4
  177. package/dist/zone/form/components/ZoneRecurrencesControl.d.ts.map +1 -1
  178. package/dist/zone/form/components/ZoneRecurrencesControl.js +5 -2
  179. package/dist/zone/form/utils/dates.d.ts.map +1 -1
  180. package/package.json +10 -10
  181. package/src/auth/ChangePassword/ChangePassword.stories.tsx +1 -1
  182. package/src/auth/Login/LoginComponent.tsx +1 -1
  183. package/src/auth/ResetPassword/ResetPassword.stories.tsx +1 -1
  184. package/src/calendar/Calendar.stories.tsx +0 -2
  185. package/src/calendar/Calendar.tsx +1 -4
  186. package/src/calendar/components/CalendarButtons/CalendarButtons.tsx +31 -28
  187. package/src/calendar/utils/index.ts +26 -4
  188. package/src/date-time-button/DateTimeButton.stories.tsx +0 -1
  189. package/src/date-time-button/DateTimeButton.tsx +1 -6
  190. package/src/events/edit-event-modal/component/EditEventForm/EditEventForm.tsx +3 -2
  191. package/src/events/edit-event-modal/component/SelectEventProductSet/SelectEventProductSet.tsx +35 -37
  192. package/src/events/edit-event-modal/component/SelectEventProductSet/component/EditEventProductSet.tsx +3 -3
  193. package/src/events/edit-event-modal/utils/getDefaultProductSet.ts +0 -1
  194. package/src/header/elements/Elements.stories.tsx +1 -1
  195. package/src/help/popover/Popover.stories.tsx +1 -1
  196. package/src/iframe/event/event-card/IframeEventCard.tsx +16 -2
  197. package/src/iframe/event/event-venue-map/IframeEventVenueMap.stories.tsx +3 -3
  198. package/src/iframe/order-process/components/CategoryProduct/components/ProductQuantityInput/ProductQuantityInput.tsx +1 -0
  199. package/src/iframe/payment/order-items-table/utils/paymentSummary.tsx +1 -0
  200. package/src/layout/DropDown.tsx +2 -1
  201. package/src/modals/confirmation/ConfirmModal.tsx +19 -3
  202. package/src/product-set/card/ProductSetCard.stories.tsx +3 -1
  203. package/src/product-set/card/ProductSetCard.tsx +47 -8
  204. package/src/product-set/control/DateAndRecurrenceInput.tsx +6 -4
  205. package/src/product-set/control/DateInput.tsx +2 -1
  206. package/src/product-set/control/ProductSetControl.tsx +4 -15
  207. package/src/product-set/control/ProductSetRecurrenceControl.stories.tsx +2 -2
  208. package/src/product-set/form/ProductCategoriesControl.tsx +37 -1
  209. package/src/product-set/form/ProductSetForm.tsx +25 -3
  210. package/src/product-set/form/ProductSetNameControl.tsx +27 -0
  211. package/src/product-set/form/ProductZonesControl.tsx +4 -7
  212. package/src/product-set/form/SelectCategoryModal.stories.tsx +1 -1
  213. package/src/product-set/form/SelectCategoryModal.tsx +2 -2
  214. package/src/product-set/form/SubProductsControl.tsx +0 -3
  215. package/src/product-set/form/VenueMapsControl.tsx +0 -3
  216. package/src/product-set/form/index.ts +1 -0
  217. package/src/product-set/product/advanced-options/AdvancedOptions.tsx +5 -5
  218. package/src/product-set/product/booking-management/ProductBookingManagement.stories.tsx +1 -1
  219. package/src/product-set/product/quantity/ProductQuantity.stories.tsx +1 -1
  220. package/src/product-set/product-zone/ProductZoneControl.tsx +9 -9
  221. package/src/product-set/utils/index.ts +11 -0
  222. package/src/provider/location-input/LocationInput.tsx +36 -1
  223. package/src/provider/location-input/LocationInputDescription.tsx +23 -11
  224. package/src/provider/location-input/index.ts +1 -0
  225. package/src/provider/provider-form/ProviderForm.tsx +7 -2
  226. package/src/provider/venue-form/VenueForm.tsx +5 -2
  227. package/src/provider/working-hours-input/WorkingHoursInputDescription.tsx +4 -18
  228. package/src/recurring-date-picker-input/RecurrenceIntervalAndFrequencyInput.tsx +8 -22
  229. package/src/recurring-date-picker-input/RecurringDatePickerInput.stories.tsx +11 -4
  230. package/src/recurring-date-picker-input/RecurringDatePickerInput.tsx +17 -3
  231. package/src/recurring-date-picker-input/utils.ts +86 -1
  232. package/src/sales/booking/results/components/ResultCard.tsx +4 -10
  233. package/src/sales/guest-profile/previous-bookings/PreviousBookings.tsx +1 -1
  234. package/src/sales/manual-booking/formatDays.ts +3 -3
  235. package/src/sales/manual-booking/select-event/SelectEvent.tsx +2 -2
  236. package/src/sales/manual-booking/summary/ManualBookingSummary.tsx +2 -2
  237. package/src/sales/notes/NotesTableRow.tsx +3 -3
  238. package/src/setting/admin/AdminSetting.stories.tsx +1 -0
  239. package/src/setting/admin/AdminSettingForm.tsx +2 -2
  240. package/src/setting/system/SystemSetting.stories.tsx +1 -1
  241. package/src/snippet/snippet-template/preview/Preview.tsx +6 -0
  242. package/src/sortable-tree/SortableTreeItem.tsx +6 -0
  243. package/src/styles/auth/AccessDenied.scss +1 -1
  244. package/src/styles/back-button/BackButton.scss +25 -24
  245. package/src/styles/back-button/_index.scss +1 -1
  246. package/src/styles/company-user-form/UserForm.scss +4 -7
  247. package/src/styles/company-user-form/_index.scss +1 -1
  248. package/src/styles/custom-fields/CreateSortableListItem.scss +2 -1
  249. package/src/styles/custom-fields/_index.scss +1 -1
  250. package/src/styles/customers/Filter.scss +5 -5
  251. package/src/styles/events/EditEventModal.scss +1 -3
  252. package/src/styles/events/EventVenueMap.scss +7 -7
  253. package/src/styles/form/Input.scss +1 -1
  254. package/src/styles/header/Header.scss +1 -1
  255. package/src/styles/header/elements/CompanySelector.scss +2 -2
  256. package/src/styles/iframe-events/Calendar.scss +0 -1
  257. package/src/styles/iframe-events/CalendarSelect.scss +1 -1
  258. package/src/styles/iframe-events/CategoryStepsForm.scss +6 -7
  259. package/src/styles/iframe-events/Event.scss +2 -4
  260. package/src/styles/iframe-events/EventForm.scss +54 -54
  261. package/src/styles/iframe-events/EventNavigationFooter.scss +1 -0
  262. package/src/styles/iframe-events/TicketDescription.scss +1 -1
  263. package/src/styles/iframe-external-modal/IframeExternalModal.scss +2 -2
  264. package/src/styles/iframe-payments/PaymentForm.scss +1 -1
  265. package/src/styles/layout/BackgroundVideoContainer.scss +2 -2
  266. package/src/styles/notification/Notification.scss +1 -1
  267. package/src/styles/order-items-table/OrderItemsTable.scss +1 -2
  268. package/src/styles/product-set/CreateProductSetItem.scss +15 -13
  269. package/src/styles/product-set/DateAndRecurrenceInput.scss +6 -8
  270. package/src/styles/product-set/EditCategoryModal.scss +4 -4
  271. package/src/styles/product-set/EditProductModal.scss +3 -3
  272. package/src/styles/product-set/EditStepModal.scss +4 -4
  273. package/src/styles/product-set/EditVenueMapSetModal.scss +6 -6
  274. package/src/styles/product-set/ProductSetForm.scss +25 -2
  275. package/src/styles/product-set/TutorialGifCard.scss +1 -1
  276. package/src/styles/product-set/_index.scss +2 -2
  277. package/src/styles/report/ReportCard.scss +1 -0
  278. package/src/styles/report/_index.scss +1 -1
  279. package/src/styles/resources-blocking/_index.scss +4 -0
  280. package/src/styles/sales/BookingFilter.scss +2 -2
  281. package/src/styles/sales/BookingResults.scss +1 -1
  282. package/src/styles/sales/BookingTabs.scss +7 -5
  283. package/src/styles/sales/Filters.scss +5 -4
  284. package/src/styles/sales/GuestProfile.scss +170 -175
  285. package/src/styles/sales/LifeTimeSales.scss +1 -1
  286. package/src/styles/sales/ManualBooking.scss +4 -2
  287. package/src/styles/snippet-templates/_snippetVariables.scss +63 -244
  288. package/src/styles/sortable-field/SortableField.scss +16 -16
  289. package/src/styles/sortable-field/_index.scss +1 -1
  290. package/src/styles/sortable-tree/Item.scss +4 -4
  291. package/src/styles/table/Table.scss +1 -1
  292. package/src/styles/themes/bookedit/_variables.scss +10 -32
  293. package/src/styles/themes/licklist/_variables.scss +1 -1
  294. package/src/styles/tiptap-editor/TiptapEditor.scss +9 -10
  295. package/src/styles/tiptap-editor/_index.scss +1 -1
  296. package/src/styles/venue-map-sets/VenueMapSetForm.scss +5 -4
  297. package/src/styles/virtualized/_index.scss +1 -1
  298. package/src/styles/zones/ZoneForm.scss +1 -0
  299. package/src/styles/zones/ZoneRecurrencesControl.scss +6 -8
  300. package/src/tiptap-editor/TipTapEditor.stories.tsx +6 -4
  301. package/src/tiptap-editor/TipTapMenu/TipTapMenu.stories.tsx +5 -2
  302. package/src/typeahead/Typeahead.tsx +15 -1
  303. package/src/zone/form/ZoneForm.tsx +9 -2
  304. package/src/zone/form/components/ZoneControl.tsx +8 -3
  305. package/src/zone/form/components/ZoneRecurrencesControl.tsx +10 -5
  306. package/src/zone/form/utils/dates.ts +9 -10
  307. package/yarn.lock +127 -140
  308. package/dist/assets/iframe/selectArrow.svg.js +0 -17
@@ -2,7 +2,7 @@ import { useEffect, useMemo, PropsWithChildren } from "react";
2
2
  import RRule, { Frequency, Weekday } from "rrule";
3
3
  import { useTranslation } from "react-i18next";
4
4
  import Button from "react-bootstrap/Button";
5
- import { DateTime, Interval } from "luxon";
5
+ import { DateTime, Interval, WeekdayNumbers } from "luxon";
6
6
  import { useIntl } from "react-intl";
7
7
  import {
8
8
  DATE_TIME_FORMAT,
@@ -12,9 +12,14 @@ import {
12
12
  import { usePreviousValue } from "@licklist/plugins/dist/hooks/Value/usePreviousValue";
13
13
  import { FormProvider, useForm } from "react-hook-form";
14
14
  import { Form } from "react-bootstrap";
15
+ import { WorkHour } from "@licklist/core/dist/DataMapper/Provider/WorkHourDataMapper";
15
16
  import RecurrenceIntervalAndFrequencyInput from "./RecurrenceIntervalAndFrequencyInput";
16
17
  import RecurrenceWeekdaysInput from "./RecurrenceWeekdaysInput";
17
- import { parseAndValidateRRule, SupportedFrequency } from "./utils";
18
+ import {
19
+ parseAndValidateRRule,
20
+ SupportedFrequency,
21
+ useWorkHoursValidation,
22
+ } from "./utils";
18
23
  import { ConfirmModal } from "../modals";
19
24
  import { DeleteFieldButton } from "../product-set/elements";
20
25
 
@@ -26,6 +31,8 @@ export interface RecurringDatePickerInputProps {
26
31
  initialFrequency?: Frequency;
27
32
  setInitialStartDateAfterSelect?: boolean;
28
33
  minDate?: string;
34
+ workHours: WorkHour[] | undefined;
35
+ timeZone: string;
29
36
  }
30
37
 
31
38
  export interface RecurringDatePickerInputValues {
@@ -51,6 +58,8 @@ export function RecurringDatePickerInput({
51
58
  setInitialStartDateAfterSelect = false,
52
59
  children,
53
60
  minDate,
61
+ workHours,
62
+ timeZone,
54
63
  }: PropsWithChildren<RecurringDatePickerInputProps>) {
55
64
  const { t } = useTranslation(["Design"]);
56
65
 
@@ -84,6 +93,8 @@ export function RecurringDatePickerInput({
84
93
  byWeekDay,
85
94
  });
86
95
 
96
+ const validator = useWorkHoursValidation(byWeekDay, workHours, timeZone);
97
+
87
98
  const onSubmit = (nextState: RecurringDatePickerInputValues) => {
88
99
  const end = getDateTimeObject(endDate, endTime || "23:59:59");
89
100
 
@@ -149,7 +160,7 @@ export function RecurringDatePickerInput({
149
160
  // Luxon use standard ISO calendar but in that case
150
161
  // first weekday from weekdays array start from 0 index.
151
162
  // We need to add 1 to it to show correct data
152
- const currentWeekDay = byWeekDay[0]?.weekday + 1;
163
+ const currentWeekDay = (byWeekDay[0]?.weekday + 1) as WeekdayNumbers;
153
164
 
154
165
  const currentDate = DateTime.local();
155
166
 
@@ -188,6 +199,9 @@ export function RecurringDatePickerInput({
188
199
  <RecurrenceIntervalAndFrequencyInput
189
200
  disabled={disabled}
190
201
  minDate={minDate}
202
+ startTimeRules={validator}
203
+ endTimeRules={validator}
204
+ timeZone={timeZone}
191
205
  />
192
206
 
193
207
  {children}
@@ -1,4 +1,8 @@
1
- import { DateTime } from "luxon";
1
+ import { WorkHour } from "@licklist/core/dist/DataMapper/Provider/WorkHourDataMapper";
2
+ import { fromIso } from "@licklist/core/dist/Services";
3
+ import { DateTime, Interval } from "luxon";
4
+ import { Validate } from "react-hook-form";
5
+ import { useTranslation } from "react-i18next";
2
6
  import RRule, { Frequency, Weekday } from "rrule";
3
7
 
4
8
  export const getWeekdayForFrequency = ({
@@ -11,6 +15,7 @@ export const getWeekdayForFrequency = ({
11
15
  const parsedDate = DateTime.fromISO(date);
12
16
  return new Weekday(
13
17
  parsedDate.weekday - 1,
18
+ // eslint-disable-next-line no-nested-ternary
14
19
  frequency !== Frequency.MONTHLY
15
20
  ? undefined
16
21
  : parsedDate.day + 7 > parsedDate.daysInMonth
@@ -109,3 +114,83 @@ export const parseAndValidateRRule = ({
109
114
  until: options.until,
110
115
  } as ParsedRRuleOptions;
111
116
  };
117
+
118
+ export const useWorkHoursValidation = (
119
+ byWeekDay: Weekday[] = [],
120
+ workHours: WorkHour[] | undefined,
121
+ timeZone: string,
122
+ ): {
123
+ /* @ts-expect-error 2314 */
124
+ validate?: Validate<string>;
125
+ } => {
126
+ const { t } = useTranslation("Validation");
127
+ if (!workHours) return {};
128
+
129
+ // map every day to array of intervals describing workhours for that day
130
+ let intervalsByDay = workHours.map((workhour, index, self) => {
131
+ const res: Interval[] = [];
132
+
133
+ const startTime = fromIso(workhour.start, timeZone);
134
+ const endTime = fromIso(workhour.end, timeZone);
135
+
136
+ if (endTime > startTime) {
137
+ res.push(Interval.fromDateTimes(startTime, endTime));
138
+ } else {
139
+ // if end is before start, then it means that end is on the next day
140
+ // so count only to the end of current day
141
+ res.push(Interval.fromDateTimes(startTime, startTime.endOf("day")));
142
+ }
143
+
144
+ const prevIndex = index === 0 ? self.length - 1 : index - 1;
145
+
146
+ const prevStartTime = fromIso(self[prevIndex].start, timeZone);
147
+ const prevEndTime = fromIso(self[prevIndex].end, timeZone);
148
+
149
+ // if prevStartTime > prevEndTime then it means that prevEndTime is on the current day
150
+ // so we need to add interval from start of current day to prevEndTime
151
+ if (prevStartTime > prevEndTime) {
152
+ res.push(Interval.fromDateTimes(prevEndTime.startOf("day"), prevEndTime));
153
+ }
154
+
155
+ return res;
156
+ });
157
+
158
+ // if length === 0 or length === 7 then all workhours are selected, no need to filter
159
+ if (![0, 7].includes(byWeekDay.length)) {
160
+ intervalsByDay = intervalsByDay.filter((_, index) =>
161
+ byWeekDay.find(({ weekday }) => weekday === index),
162
+ );
163
+ }
164
+
165
+ return {
166
+ validate: (_time: string) => {
167
+ // workaround for issue with form values
168
+ // default values and entered values have different formats
169
+ const time = fromIso(_time, timeZone);
170
+
171
+ const notFittingIntervalsByDay = intervalsByDay.reduce<Interval[][]>(
172
+ (acc, intervalsByDay) => {
173
+ if (!intervalsByDay.some((interval) => interval.contains(time))) {
174
+ acc.push(intervalsByDay);
175
+ }
176
+ return acc;
177
+ },
178
+ [],
179
+ );
180
+
181
+ const notFittingIntervals = notFittingIntervalsByDay
182
+ .flat()
183
+ .filter((interval) => !interval.contains(time));
184
+
185
+ const attribute = notFittingIntervals
186
+ .map((interval) => interval.toFormat("HH:mm"))
187
+ .join(", ");
188
+
189
+ if (notFittingIntervalsByDay.length !== 0) {
190
+ return t("outsideWorkingHours", { attribute }) as string;
191
+ }
192
+
193
+ return true;
194
+ },
195
+ };
196
+ };
@@ -1,6 +1,5 @@
1
1
  import clsx from "clsx";
2
2
  import { useTranslation } from "react-i18next";
3
- import { DateTime } from "luxon";
4
3
  import { useIntl } from "react-intl";
5
4
  import {
6
5
  Order,
@@ -12,6 +11,7 @@ import * as Config from "@licklist/core/dist/Config";
12
11
  import { formatDateStringForEvent } from "@licklist/plugins/dist/utils/formatDate";
13
12
  import { getOrderSourceTitle } from "@licklist/plugins/dist/utils/sourceTitle";
14
13
  import { FaUser } from "react-icons/fa";
14
+ import { fromIso } from "@licklist/core/dist/Services";
15
15
 
16
16
  export type ResultCardProps = {
17
17
  className: string;
@@ -20,8 +20,6 @@ export type ResultCardProps = {
20
20
  onCardClick?: (id: number) => void;
21
21
  };
22
22
 
23
- // @TODO integrate when API will be available
24
- // activity and staff keys
25
23
  export const ResultCard = ({
26
24
  order,
27
25
  className,
@@ -48,11 +46,7 @@ export const ResultCard = ({
48
46
  const productList = products.map((product) => product.name)?.join(", ") || "";
49
47
  const activityName = event?.name || menu?.name || "";
50
48
 
51
- const onClick = () => {
52
- if (!onCardClick) return;
53
-
54
- onCardClick(id);
55
- };
49
+ const onClick = () => onCardClick?.(id);
56
50
 
57
51
  return (
58
52
  <div
@@ -87,10 +81,10 @@ export const ResultCard = ({
87
81
  {t("status")}: {t(status)}
88
82
  </p>
89
83
  <p>
90
- {t("date")}: {formatDateStringForEvent(startDate, false)}
84
+ {t("date")}: {formatDateStringForEvent(startDate)}
91
85
  </p>
92
86
  <p>
93
- {t("time")}: {DateTime.fromISO(startDate).toFormat(TIME_FORMAT)}
87
+ {t("time")}: {fromIso(startDate).toFormat(TIME_FORMAT)}
94
88
  </p>
95
89
  <p className="products" title={productList}>
96
90
  {t("products")}: {productList}
@@ -19,7 +19,7 @@ export const PreviousBookings = ({
19
19
  const [showOlderBookings, setShowOlderBookings] = useState(false);
20
20
 
21
21
  const formatDate = (date: string) => {
22
- return DateTime.fromJSDate(new Date(date)).toFormat("dd LLL yyyy hh:mm");
22
+ return DateTime.fromJSDate(new Date(date)).toFormat("dd LLL yyyy HH:mm");
23
23
  };
24
24
 
25
25
  const capitalizeFirstLetter = (string: string) => {
@@ -1,5 +1,5 @@
1
1
  import { TIME_FORMAT } from "@licklist/core/dist/Config";
2
- import { DateTime } from "luxon";
2
+ import { fromIso } from "@licklist/core/dist/Services";
3
3
 
4
4
  export const formatToDays = (daysInWeek?: number[]): string | null => {
5
5
  if (!daysInWeek) {
@@ -40,7 +40,7 @@ export const formatToDays = (daysInWeek?: number[]): string | null => {
40
40
  };
41
41
 
42
42
  export const formatToHours = (startAt: string, endAt: string) => {
43
- const firstTime = DateTime.fromISO(startAt).toFormat(TIME_FORMAT);
44
- const lastTime = DateTime.fromISO(endAt).toFormat(TIME_FORMAT);
43
+ const firstTime = fromIso(startAt).toFormat(TIME_FORMAT);
44
+ const lastTime = fromIso(endAt).toFormat(TIME_FORMAT);
45
45
  return `${firstTime} - ${lastTime}`;
46
46
  };
@@ -2,8 +2,8 @@ import { useTranslation } from "react-i18next";
2
2
  import { Card, Form } from "react-bootstrap";
3
3
  import MediaService from "@licklist/plugins/dist/services/Media/MediaService";
4
4
  import { rrulestr } from "rrule";
5
- import { DateTime } from "luxon";
6
5
  import { ManualBookingEvent } from "@licklist/plugins/dist/types/context/sale/menuSteps";
6
+ import { fromIso } from "@licklist/core/dist/Services";
7
7
  import { formatToDays, formatToHours } from "../formatDays";
8
8
  import { BlockLoader } from "../../../static/loader";
9
9
 
@@ -106,7 +106,7 @@ export const EventCardManualBooking = ({
106
106
  rrule.includes("EXDATE") ? rrule.split(";EXDATE=")[0] : rrule,
107
107
  )?.options?.byweekday,
108
108
  )
109
- : formatToDays([DateTime.fromISO(startAt)?.day])}
109
+ : formatToDays([fromIso(startAt)?.day])}
110
110
  </div>
111
111
  <div className="event-card-hours">{formatToHours(startAt, endAt)}</div>
112
112
  </div>
@@ -1,6 +1,5 @@
1
1
  import { useTranslation } from "react-i18next";
2
2
  import { ManualBookingOrder } from "@licklist/plugins/dist/context/sale/ManualBookingStepsContext";
3
- import { DateTime } from "luxon";
4
3
  import {
5
4
  DATE_TIME_MANUAL_BOOKING_FORMAT,
6
5
  TIME_FORMAT,
@@ -12,6 +11,7 @@ import {
12
11
  RelyOnPeopleType,
13
12
  } from "@licklist/core/dist/DataMapper/Product/ProductSetDataMapper";
14
13
  import { getRelyOnPeopleMultiplier } from "@licklist/plugins/dist/utils/relyOnPeople";
14
+ import { fromIso } from "@licklist/core/dist/Services";
15
15
  import { BlockLoader } from "../../../static/loader";
16
16
 
17
17
  export interface ManualBookingSummaryProps {
@@ -41,7 +41,7 @@ export const ManualBookingSummary = ({
41
41
  const { formatNumber } = useIntl();
42
42
  const showRelyOnPeople =
43
43
  relyOnPeopleType && relyOnPeopleType !== RELY_ON_PEOPLE_QUANTITY;
44
- const currentDate = DateTime.fromISO(orderDate);
44
+ const currentDate = fromIso(orderDate);
45
45
  const date = currentDate.toFormat(DATE_TIME_MANUAL_BOOKING_FORMAT);
46
46
  const time = currentDate.toFormat(TIME_FORMAT);
47
47
  return (
@@ -9,8 +9,8 @@ import { DateTime } from "luxon";
9
9
  import {
10
10
  DATE_TIME_FORMAT,
11
11
  DATE_TIME_FULL_FORMAT,
12
+ UTC_TIMEZONE,
12
13
  } from "@licklist/core/dist/Config";
13
- import { getClientTimeZone } from "@licklist/core/dist/Services";
14
14
  import { FaEllipsisH, FaEye, FaTrashAlt } from "react-icons/fa";
15
15
  import { ConfirmModal } from "../../modals";
16
16
  import { MenuButton } from "../../table";
@@ -27,9 +27,9 @@ export const TableRow = ({ note, onClick, onDeleteNote }: TableRowProps) => {
27
27
  const [isOverlayVisibile, setIsOverlayVisible] = useState(false);
28
28
 
29
29
  const date = DateTime.fromFormat(note.updatedAt, DATE_TIME_FULL_FORMAT, {
30
- zone: "utc",
30
+ zone: UTC_TIMEZONE,
31
31
  })
32
- .setZone(getClientTimeZone())
32
+ .toLocal()
33
33
  .toFormat(DATE_TIME_FORMAT);
34
34
 
35
35
  return (
@@ -19,6 +19,7 @@ export const SettingFormComponent: Story<AdminSettingFormProps> = (args) => (
19
19
  </Container>
20
20
  );
21
21
 
22
+
22
23
  export const PaymentFeeFormComponent: Story<PaymentFeeFormProps> = (args) => {
23
24
  const form = useForm<PaymentFeeFormFieldValues>({
24
25
  defaultValues: args.defaultValues,
@@ -10,7 +10,7 @@ import Row from "react-bootstrap/Row";
10
10
  import Col from "react-bootstrap/Col";
11
11
  import { Link } from "react-router-dom";
12
12
  import HookFormService from "@licklist/plugins/dist/services/Form/HookFormService";
13
- import { ProviderType } from "@licklist/core/dist/DataMapper/Provider/ProvidableDataMapper";
13
+ import { ProvidableType } from "@licklist/core/dist/DataMapper/Provider/ProvidableDataMapper";
14
14
  import { FaCommentAlt } from "react-icons/fa";
15
15
  import { PaymentFeeForm, PaymentFeeFormFieldValues } from "./PaymentFeeForm";
16
16
  import { Currency } from "../../types/currency";
@@ -32,7 +32,7 @@ export interface AdminSettingFormProps extends HasPermissionProp {
32
32
  providerMetadata: {
33
33
  country?: string;
34
34
  providableId?: number;
35
- providerType?: ProviderType;
35
+ providerType?: ProvidableType;
36
36
  };
37
37
  }
38
38
 
@@ -23,4 +23,4 @@ export function Default() {
23
23
  />
24
24
  </Container>
25
25
  );
26
- }
26
+ }
@@ -307,6 +307,7 @@ export function Preview({
307
307
  productCategoryId: 57,
308
308
  productGroupId: null,
309
309
  availableQuantity: 980,
310
+ zoneId: null,
310
311
  name: "Cofee",
311
312
  description: "",
312
313
  price: 15,
@@ -315,6 +316,8 @@ export function Preview({
315
316
  maxQuantity: 15,
316
317
  totalQuantity: 980,
317
318
  type: "sale" as const,
319
+ capacity: 0,
320
+ duration: 0,
318
321
  weight: 0,
319
322
  isAvailable: true,
320
323
  isSoldOut: false,
@@ -333,6 +336,7 @@ export function Preview({
333
336
  productCategoryId: 57,
334
337
  productGroupId: null,
335
338
  availableQuantity: 980,
339
+ zoneId: null,
336
340
  name: "Cofee 2",
337
341
  description: "",
338
342
  price: 15,
@@ -341,6 +345,8 @@ export function Preview({
341
345
  maxQuantity: 15,
342
346
  totalQuantity: 980,
343
347
  type: "sale" as const,
348
+ capacity: 0,
349
+ duration: 0,
344
350
  weight: 0,
345
351
  isAvailable: true,
346
352
  isSoldOut: false,
@@ -33,6 +33,7 @@ export interface SortableTreeItemProps {
33
33
  body: ReactNode;
34
34
  children?: ReactNode;
35
35
  preItem?: ReactNode;
36
+ itemButton?: ReactNode;
36
37
  postItem?: ReactNode;
37
38
  sortableItems?: string[];
38
39
  isExpanded?: boolean;
@@ -82,6 +83,7 @@ export function SortableTreeItem({
82
83
  secondaryBadge,
83
84
  setIsExpanded,
84
85
  isOverride,
86
+ itemButton,
85
87
  }: SortableTreeItemProps) {
86
88
  const [expanded, setExpanded] = useState(isExpanded);
87
89
  const [isModalVisible, setIsModalVisible] = useState(isNewAdded);
@@ -287,9 +289,13 @@ export function SortableTreeItem({
287
289
  className={clsx(
288
290
  "sortable-tree-item-title",
289
291
  modalLabel && "sortable-tree-product-set-element-title",
292
+ "d-flex justify-content-between",
290
293
  )}
291
294
  >
292
295
  {title}
296
+ <div className="sortable-tree-item-subtitle">
297
+ {itemButton}
298
+ </div>
293
299
  </span>
294
300
  {!expanded && (
295
301
  <span className="sortable-tree-item-subtitle">
@@ -8,4 +8,4 @@
8
8
  h6 {
9
9
  color: $gray-600;
10
10
  }
11
- }
11
+ }
@@ -1,32 +1,33 @@
1
1
  $base-height: 2.5rem;
2
2
 
3
3
  .button-wrapper {
4
- background-color: $snippet-page-header-steps-close-button-background-color;
5
- height: $base-height;
6
- width: $base-height;
7
- border-radius: $base-height;
8
- transition: $color-transition;
9
-
10
- .back-button {
11
- font-size: 2rem;
12
- width: $base-height;
4
+ background-color: $snippet-page-header-steps-close-button-background-color;
13
5
  height: $base-height;
14
- display: flex;
15
- align-items: center;
16
- justify-content: center;
17
- font-weight: lighter;
18
- color: $snippet-page-header-steps-close-button-border-color;
6
+ width: $base-height;
7
+ border-radius: $base-height;
19
8
  transition: $color-transition;
20
9
 
21
- &:hover {
22
- cursor: pointer;
10
+
11
+ .back-button {
12
+ font-size: 2rem;
13
+ width: $base-height;
14
+ height: $base-height;
15
+ display: flex;
16
+ align-items: center;
17
+ justify-content: center;
18
+ font-weight: lighter;
19
+ color: $snippet-page-header-steps-close-button-border-color;
20
+ transition: $color-transition;
21
+
22
+ &:hover {
23
+ cursor: pointer;
24
+ }
23
25
  }
24
- }
25
26
 
26
- &.back-button {
27
- display: flex;
28
- align-items: center;
29
- justify-content: center;
30
- margin-right: 1rem;
31
- }
32
- }
27
+ &.back-button {
28
+ display: flex;
29
+ align-items: center;
30
+ justify-content: center;
31
+ margin-right: 1rem;
32
+ }
33
+ }
@@ -1 +1 @@
1
- @import "./BackButton.scss";
1
+ @import "./BackButton.scss";
@@ -33,15 +33,11 @@
33
33
  }
34
34
 
35
35
  &.active {
36
- color: #0e8ce2;
37
- background: linear-gradient(
38
- 149.72deg,
39
- #d9efff 50.04%,
40
- #e9f4fe 107.75%
41
- );
36
+ color: #0E8CE2;
37
+ background: linear-gradient(149.72deg, #D9EFFF 50.04%, #E9F4FE 107.75%);
42
38
 
43
39
  svg path {
44
- stroke: #0e8ce2;
40
+ stroke: #0E8CE2;
45
41
  }
46
42
  }
47
43
  }
@@ -66,3 +62,4 @@
66
62
  }
67
63
  }
68
64
  }
65
+
@@ -1 +1 @@
1
- @import "./UserForm.scss";
1
+ @import "./UserForm.scss";
@@ -1,3 +1,4 @@
1
+
1
2
  $sortable-list-item-hover-bg-color: #d9efff !default;
2
3
 
3
4
  .sortable-list-item-wrapper {
@@ -25,4 +26,4 @@ $sortable-list-item-hover-bg-color: #d9efff !default;
25
26
  &:hover {
26
27
  background-color: $sortable-list-item-hover-bg-color;
27
28
  }
28
- }
29
+ }
@@ -1,3 +1,3 @@
1
1
  @import "./FieldItem.scss";
2
2
  @import "./SelectFieldModal.scss";
3
- @import "./CreateSortableListItem.scss";
3
+ @import "./CreateSortableListItem.scss";
@@ -4,13 +4,13 @@
4
4
  font-size: 0.8rem;
5
5
  }
6
6
  }
7
-
7
+
8
8
  @include media-breakpoint-up(md) {
9
9
  label {
10
10
  font-size: 0.9rem;
11
11
  }
12
12
  }
13
-
13
+
14
14
  @include media-breakpoint-up(lg) {
15
15
  label {
16
16
  font-size: 1rem;
@@ -28,7 +28,7 @@
28
28
  flex: 0 0 33.33%;
29
29
  max-width: 33.33%;
30
30
  }
31
-
31
+
32
32
  @include media-breakpoint-down(xs) {
33
33
  flex-direction: column;
34
34
 
@@ -43,11 +43,11 @@
43
43
  &:first-child {
44
44
  padding-left: 0;
45
45
  }
46
-
46
+
47
47
  &:last-child {
48
48
  padding-right: 0;
49
49
  }
50
50
  }
51
51
  }
52
- }
52
+ }
53
53
  }
@@ -5,9 +5,7 @@
5
5
  padding: 1rem 2rem;
6
6
  border-radius: 1rem;
7
7
  margin-bottom: 1.5rem;
8
- transition:
9
- color 0.2s ease-out,
10
- background-color 0.2s ease-out;
8
+ transition: color 0.2s ease-out, background-color 0.2s ease-out;
11
9
  margin-left: 1rem;
12
10
 
13
11
  &:hover {
@@ -5,44 +5,44 @@
5
5
  overflow: hidden;
6
6
  background-color: $gray-600;
7
7
  }
8
-
8
+
9
9
  .canvas-scrollbars {
10
10
  .scrollbar-wrapper {
11
11
  position: absolute;
12
12
  z-index: 5;
13
13
  overflow: hidden;
14
-
14
+
15
15
  .scroll-element {
16
16
  position: absolute;
17
17
  display: block;
18
18
  border-radius: 0.375rem;
19
19
  background: rgba(0, 0, 0, 0.3);
20
20
  outline: 1px solid rgba(255, 255, 255, 0.3);
21
-
21
+
22
22
  &:hover {
23
23
  background: rgba(0, 0, 0, 0.5);
24
24
  transition: background-color 500ms linear;
25
25
  cursor: pointer;
26
26
  }
27
27
  }
28
-
28
+
29
29
  .horizontal-scroll {
30
30
  width: 100%;
31
31
  height: 0.375rem;
32
32
  }
33
-
33
+
34
34
  .vertical-scroll {
35
35
  height: 100%;
36
36
  width: 0.375rem;
37
37
  }
38
-
38
+
39
39
  &-vertical {
40
40
  right: 0.1rem;
41
41
  height: calc(100% - 1rem);
42
42
  margin: 0.5rem 0;
43
43
  width: 0.5rem;
44
44
  }
45
-
45
+
46
46
  &-horizontal {
47
47
  bottom: 0.1rem;
48
48
  width: calc(100% - 1rem);
@@ -33,4 +33,4 @@ input[type="date"].date-input-with-value::-webkit-datetime-edit-year-field {
33
33
  .invalid-feedback-message {
34
34
  font-size: 80%;
35
35
  color: #f94b25;
36
- }
36
+ }
@@ -5,7 +5,7 @@
5
5
  justify-content: space-between;
6
6
  display: flex;
7
7
  flex-direction: row;
8
-
8
+
9
9
  @include media-breakpoint-down(sm) {
10
10
  width: 100%;
11
11
  }
@@ -1,4 +1,4 @@
1
- $company-selector-font-size: 0.85rem !default;
1
+ $company-selector-font-size: .85rem !default;
2
2
  $company-selector-font-weight: $font-weight-semibold !default;
3
3
 
4
4
  .header-company-selector-container {
@@ -20,7 +20,7 @@ $company-selector-font-weight: $font-weight-semibold !default;
20
20
  .header-company-selector {
21
21
  border-color: transparent;
22
22
  background: transparent;
23
- padding: 0 0.25rem;
23
+ padding: 0 .25rem;
24
24
  font-size: $company-selector-font-size;
25
25
  font-weight: $company-selector-font-weight;
26
26
  }
@@ -48,7 +48,6 @@
48
48
  height: 2.25rem;
49
49
  width: 14.125rem;
50
50
  justify-content: space-between;
51
- border: 1px solid $snippet-dropdown-border-color;
52
51
  border-radius: $iframe-border-radius;
53
52
  transition: $color-transition;
54
53