@licklist/design 0.50.1-dev.8 → 0.50.1

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 (161) hide show
  1. package/dist/assets/dashboard/addImage.svg.js +1 -1
  2. package/dist/assets/dashboard/chartBar.svg.js +1 -1
  3. package/dist/assets/dashboard/genderFemale.svg.js +1 -1
  4. package/dist/assets/dashboard/genderMale.svg.js +1 -1
  5. package/dist/assets/dashboard/increment.svg.js +1 -1
  6. package/dist/assets/dashboard/info.svg.js +1 -1
  7. package/dist/assets/dashboard/managerRole.svg.js +1 -1
  8. package/dist/assets/dashboard/subManagerRole.svg.js +1 -1
  9. package/dist/assets/dashboard/viewerRole.svg.js +1 -1
  10. package/dist/assets/dashboard/visitedProviderLink.svg.js +1 -1
  11. package/dist/assets/dashboard/warning.svg.js +1 -1
  12. package/dist/assets/editor/bold.svg.js +1 -1
  13. package/dist/assets/editor/double-quotes-l.svg.js +1 -1
  14. package/dist/assets/editor/format-clear.svg.js +1 -1
  15. package/dist/assets/editor/h1.svg.js +1 -1
  16. package/dist/assets/editor/h2.svg.js +1 -1
  17. package/dist/assets/editor/italic.svg.js +1 -1
  18. package/dist/assets/editor/paragraph.svg.js +1 -1
  19. package/dist/assets/editor/separator.svg.js +1 -1
  20. package/dist/assets/editor/strikethrough.svg.js +1 -1
  21. package/dist/assets/editor/text-wrap.svg.js +1 -1
  22. package/dist/assets/iframe/available.svg.js +1 -1
  23. package/dist/assets/iframe/calendar.svg.js +1 -1
  24. package/dist/assets/iframe/clock.svg.js +1 -1
  25. package/dist/assets/iframe/close.svg.js +1 -1
  26. package/dist/assets/iframe/limited.svg.js +1 -1
  27. package/dist/assets/iframe/selectArrow.svg.js +1 -1
  28. package/dist/assets/iframe/soldOut.svg.js +1 -1
  29. package/dist/assets/iframe/success.svg.js +1 -1
  30. package/dist/assets/iframe/ticket.svg.js +1 -1
  31. package/dist/assets/logo/bookedit.svg.js +1 -1
  32. package/dist/assets/logo/licklist.sm.svg.js +1 -1
  33. package/dist/assets/logo/licklist.svg.js +1 -1
  34. package/dist/calendar/Calendar.d.ts +0 -3
  35. package/dist/calendar/Calendar.d.ts.map +1 -1
  36. package/dist/calendar/components/CalendarButtons/CalendarButtons.js +1 -1
  37. package/dist/calendar/components/CalendarDates/CalendarDates.d.ts +1 -1
  38. package/dist/calendar/components/CalendarDates/CalendarDates.d.ts.map +1 -1
  39. package/dist/calendar/components/CalendarDates/CalendarDates.js +1 -1
  40. package/dist/calendar/utils/index.d.ts +1 -2
  41. package/dist/calendar/utils/index.d.ts.map +1 -1
  42. package/dist/calendar/utils/index.js +1 -1
  43. package/dist/date-time-button/DateTimeButton.d.ts +2 -3
  44. package/dist/date-time-button/DateTimeButton.d.ts.map +1 -1
  45. package/dist/date-time-button/DateTimeButton.js +1 -1
  46. package/dist/events/edit-event-modal/IntervalInput.d.ts.map +1 -1
  47. package/dist/events/edit-event-modal/IntervalInput.js +1 -1
  48. package/dist/events/event-card/EventCard.d.ts +1 -2
  49. package/dist/events/event-card/EventCard.d.ts.map +1 -1
  50. package/dist/events/event-card/EventCard.js +1 -1
  51. package/dist/events/event-venue-map/components/Scrollbars/Scrollbars.js +1 -1
  52. package/dist/iframe/event/event-booking-products/EventBookingProducts.js +1 -1
  53. package/dist/iframe/event/event-booking-products/components/AccordionItem/AccordionItem.d.ts +2 -2
  54. package/dist/iframe/event/event-booking-products/components/AccordionItem/AccordionItem.d.ts.map +1 -1
  55. package/dist/iframe/event/event-booking-products/components/AccordionItem/AccordionItem.js +1 -1
  56. package/dist/iframe/event/event-card/IframeEventCard.d.ts +1 -2
  57. package/dist/iframe/event/event-card/IframeEventCard.d.ts.map +1 -1
  58. package/dist/iframe/event/event-card/IframeEventCard.js +1 -1
  59. package/dist/iframe/order-process/components/BookingSummary/BookingSummary.d.ts +1 -1
  60. package/dist/iframe/order-process/components/BookingSummary/BookingSummary.d.ts.map +1 -1
  61. package/dist/iframe/order-process/components/BookingSummary/BookingSummary.js +1 -1
  62. package/dist/iframe/order-process/components/BookingSummary/components/ProductSummary/ProductSummary.d.ts +1 -2
  63. package/dist/iframe/order-process/components/BookingSummary/components/ProductSummary/ProductSummary.d.ts.map +1 -1
  64. package/dist/iframe/order-process/components/BookingSummary/components/ProductSummary/ProductSummary.js +1 -1
  65. package/dist/iframe/order-process/components/BookingSummary/components/ProductsByMenuStep/ProductsByMenuStep.d.ts +1 -2
  66. package/dist/iframe/order-process/components/BookingSummary/components/ProductsByMenuStep/ProductsByMenuStep.d.ts.map +1 -1
  67. package/dist/iframe/order-process/components/BookingSummary/components/ProductsByMenuStep/ProductsByMenuStep.js +1 -1
  68. package/dist/iframe/order-process/components/BookingSummary/components/ToggleHeader/ToggleHeader.js +1 -1
  69. package/dist/iframe/order-process/components/BookingSummary/types/index.d.ts +0 -1
  70. package/dist/iframe/order-process/components/BookingSummary/types/index.d.ts.map +1 -1
  71. package/dist/iframe/order-process/components/BookingSummary/utils/index.d.ts.map +1 -1
  72. package/dist/iframe/order-process/components/BookingSummary/utils/index.js +1 -1
  73. package/dist/iframe/order-process/components/BookingSummaryFooter/BookingSummaryFooter.d.ts +1 -2
  74. package/dist/iframe/order-process/components/BookingSummaryFooter/BookingSummaryFooter.d.ts.map +1 -1
  75. package/dist/iframe/order-process/components/BookingSummaryFooter/BookingSummaryFooter.js +1 -1
  76. package/dist/iframe/order-process/components/CategoryProduct/CategoryProduct.d.ts.map +1 -1
  77. package/dist/iframe/order-process/components/CategoryProduct/CategoryProduct.js +1 -1
  78. package/dist/iframe/order-process/components/CategoryProduct/components/ProductQuantityInput/ProductQuantityInput.d.ts +2 -3
  79. package/dist/iframe/order-process/components/CategoryProduct/components/ProductQuantityInput/ProductQuantityInput.d.ts.map +1 -1
  80. package/dist/iframe/order-process/components/CategoryProduct/components/ProductQuantityInput/ProductQuantityInput.js +1 -1
  81. package/dist/iframe/order-process/components/utils/useCategoryVerification.js +1 -1
  82. package/dist/index.js +1 -1
  83. package/dist/notification/email-template/control/EmailTemplateControl.d.ts.map +1 -1
  84. package/dist/notification/email-template/control/EmailTemplateControl.js +1 -1
  85. package/dist/sales/booking/results/components/ResultCard.d.ts.map +1 -1
  86. package/dist/sales/booking/results/components/ResultCard.js +1 -1
  87. package/dist/sales/manual-booking/select-event/SelectEvent.d.ts.map +1 -1
  88. package/dist/sales/manual-booking/select-event/SelectEvent.js +1 -1
  89. package/dist/sales/manual-booking/summary/ManualBookingSummary.d.ts +1 -2
  90. package/dist/sales/manual-booking/summary/ManualBookingSummary.d.ts.map +1 -1
  91. package/dist/sales/manual-booking/summary/ManualBookingSummary.js +1 -1
  92. package/dist/static/date-range-input/DateRangeInput.d.ts.map +1 -1
  93. package/dist/static/date-range-input/DateRangeInput.js +1 -1
  94. package/dist/styles/affiliate/AffiliateCard.scss +6 -26
  95. package/dist/styles/events/EventCard.scss +6 -3
  96. package/dist/styles/product-set/ProductSetCard.scss +0 -4
  97. package/dist/styles/resources-blocking/_index.scss +0 -6
  98. package/dist/styles/sales/BookingFilter.scss +0 -18
  99. package/dist/styles/sales/BookingResults.scss +1 -1
  100. package/dist/styles/sales/BookingTabs.scss +5 -63
  101. package/dist/styles/sales/LifeTimeSales.scss +0 -1
  102. package/dist/styles/sales/ManualBooking.scss +3 -62
  103. package/dist/styles/sales/SourceOfSales.scss +0 -3
  104. package/dist/styles/snippet-templates/SnippetTemplateCard.scss +2 -3
  105. package/dist/styles/static/Tabs.scss +0 -6
  106. package/dist/styles/themes/bookedit/_index.scss +8 -9
  107. package/dist/table/TableHelperComponent.d.ts.map +1 -1
  108. package/package.json +3 -3
  109. package/src/calendar/Calendar.tsx +0 -5
  110. package/src/calendar/components/CalendarButtons/CalendarButtons.tsx +3 -3
  111. package/src/calendar/components/CalendarDates/CalendarDates.tsx +2 -5
  112. package/src/calendar/utils/index.ts +6 -15
  113. package/src/date-time-button/DateTimeButton.tsx +3 -16
  114. package/src/events/edit-event-modal/IntervalInput.tsx +80 -8
  115. package/src/events/event-card/EventCard.stories.tsx +0 -1
  116. package/src/events/event-card/EventCard.tsx +2 -27
  117. package/src/iframe/event/event-booking-products/EventBookingProducts.tsx +1 -1
  118. package/src/iframe/event/event-booking-products/components/AccordionItem/AccordionItem.tsx +8 -8
  119. package/src/iframe/event/event-card/IframeEventCard.tsx +1 -3
  120. package/src/iframe/order-process/components/BookingSummary/BookingSummary.stories.tsx +5 -5
  121. package/src/iframe/order-process/components/BookingSummary/BookingSummary.tsx +0 -2
  122. package/src/iframe/order-process/components/BookingSummary/components/ProductSummary/ProductSummary.tsx +6 -12
  123. package/src/iframe/order-process/components/BookingSummary/components/ProductsByMenuStep/ProductsByMenuStep.tsx +2 -5
  124. package/src/iframe/order-process/components/BookingSummary/types/index.ts +0 -1
  125. package/src/iframe/order-process/components/BookingSummary/utils/index.ts +4 -2
  126. package/src/iframe/order-process/components/BookingSummaryFooter/BookingSummaryFooter.tsx +3 -16
  127. package/src/iframe/order-process/components/CategoryProduct/CategoryProduct.tsx +23 -13
  128. package/src/iframe/order-process/components/CategoryProduct/components/ProductQuantityInput/ProductQuantityInput.tsx +5 -11
  129. package/src/iframe/order-process/components/utils/useCategoryVerification.ts +1 -1
  130. package/src/iframe/payment/payment-page/PaymentPage.stories.tsx +1 -1
  131. package/src/notification/email-template/control/EmailTemplateControl.tsx +15 -5
  132. package/src/sales/booking/results/components/ResultCard.tsx +4 -6
  133. package/src/sales/manual-booking/select-event/SelectEvent.tsx +1 -4
  134. package/src/sales/manual-booking/summary/ManualBookingSummary.tsx +1 -9
  135. package/src/static/date-range-input/DateRangeInput.tsx +2 -23
  136. package/src/static/switch/BooleanSwitch.tsx +1 -1
  137. package/src/styles/affiliate/AffiliateCard.scss +6 -26
  138. package/src/styles/events/EventCard.scss +6 -3
  139. package/src/styles/product-set/ProductSetCard.scss +0 -4
  140. package/src/styles/resources-blocking/_index.scss +0 -6
  141. package/src/styles/sales/BookingFilter.scss +0 -18
  142. package/src/styles/sales/BookingResults.scss +1 -1
  143. package/src/styles/sales/BookingTabs.scss +5 -63
  144. package/src/styles/sales/LifeTimeSales.scss +0 -1
  145. package/src/styles/sales/ManualBooking.scss +3 -62
  146. package/src/styles/sales/SourceOfSales.scss +0 -3
  147. package/src/styles/snippet-templates/SnippetTemplateCard.scss +2 -3
  148. package/src/styles/static/Tabs.scss +0 -6
  149. package/src/styles/themes/bookedit/_index.scss +8 -9
  150. package/src/table/TableHelperComponent.tsx +13 -11
  151. package/dist/events/edit-event-modal/hooks/index.d.ts +0 -3
  152. package/dist/events/edit-event-modal/hooks/index.d.ts.map +0 -1
  153. package/dist/events/edit-event-modal/hooks/useFormattedDuration.d.ts +0 -2
  154. package/dist/events/edit-event-modal/hooks/useFormattedDuration.d.ts.map +0 -1
  155. package/dist/events/edit-event-modal/hooks/useFormattedDuration.js +0 -1
  156. package/dist/events/edit-event-modal/hooks/useValidationOptions.d.ts +0 -11
  157. package/dist/events/edit-event-modal/hooks/useValidationOptions.d.ts.map +0 -1
  158. package/dist/events/edit-event-modal/hooks/useValidationOptions.js +0 -1
  159. package/src/events/edit-event-modal/hooks/index.ts +0 -2
  160. package/src/events/edit-event-modal/hooks/useFormattedDuration.tsx +0 -40
  161. package/src/events/edit-event-modal/hooks/useValidationOptions.tsx +0 -36
@@ -14,8 +14,7 @@ interface FormOrderItem {
14
14
  id: number;
15
15
  name: string;
16
16
  price: number;
17
- productCategoryId: number;
18
- hasDeposit?: boolean;
17
+ productsCategoryId: number;
19
18
  zoneId?: Zone["id"];
20
19
  deposit?: number | null;
21
20
  quantity: number;
@@ -41,23 +40,19 @@ export const ProductQuantityInput = ({
41
40
  refCallback,
42
41
  productInfo,
43
42
  invalid,
43
+ deposit,
44
44
  }: ProductQuantityInputProps) => {
45
45
  const { t } = useTranslation("Design");
46
46
 
47
47
  const onChange = (quantity: number | null) => {
48
- let productQuantity = quantity;
49
- if (product?.maxAmount && quantity > product?.maxAmount) {
50
- productQuantity = product?.maxAmount;
51
- }
52
48
  _onChange({
53
49
  id: product.id,
54
50
  name: product.name,
55
- deposit: product?.deposit,
56
- hasDeposit: category.allowDeposits,
51
+ deposit,
57
52
  price: product.price,
58
- productCategoryId: category.id,
53
+ productsCategoryId: category.id,
59
54
  zoneId: category.zone?.id,
60
- quantity: productQuantity,
55
+ quantity,
61
56
  capacity: product?.capacity,
62
57
  });
63
58
  };
@@ -104,7 +99,6 @@ export const ProductQuantityInput = ({
104
99
  clearErrors(`${product.id}` as const);
105
100
  }}
106
101
  min={0}
107
- max={product?.maxAmount ? product?.maxAmount : undefined}
108
102
  placeholder="0"
109
103
  disabled={product.isSoldOut}
110
104
  value={productInfo?.quantity}
@@ -47,7 +47,7 @@ export const useCategoryVerification = () => {
47
47
  if (!minSubItems && !maxSubItems) return;
48
48
 
49
49
  const categoryProductsQuantity = productArray.filter(
50
- (product) => product?.productCategoryId === id
50
+ (product) => product?.productsCategoryId === id
51
51
  ).length;
52
52
 
53
53
  if (minSubItems && categoryProductsQuantity < minSubItems) {
@@ -33,7 +33,7 @@ Default.args = {
33
33
  id: 348,
34
34
  quantity: 1,
35
35
  price: 3,
36
- productCategoryId: 216,
36
+ productsCategoryId: 216,
37
37
  name: "test",
38
38
  },
39
39
  numberOfPeople: 1,
@@ -201,7 +201,15 @@ export const EmailTemplateControl = React.forwardRef(
201
201
  return (
202
202
  <>
203
203
  <Row>
204
- <Form.Group as={Col} controlId="type" sm={12}>
204
+ <Form.Group
205
+ as={Col}
206
+ controlId="type"
207
+ xs
208
+ sm={12}
209
+ md={8}
210
+ lg={10}
211
+ xl={12}
212
+ >
205
213
  <Form.Label>{t("type")}</Form.Label>
206
214
  <Form.Control
207
215
  as="select"
@@ -364,7 +372,9 @@ export const EmailTemplateControl = React.forwardRef(
364
372
  if (option.type === OPTION_TYPE.checkbox) {
365
373
  return (
366
374
  <Form.Check
367
- {...register(`templateOptionValues.${option?.id}.value`)}
375
+ {...register(
376
+ `templateOptionValues.${option?.id}.value` as any
377
+ )}
368
378
  type="checkbox"
369
379
  label={t(`Design:${option.name}`)}
370
380
  id={option.name + option.id}
@@ -387,7 +397,7 @@ export const EmailTemplateControl = React.forwardRef(
387
397
  onChange={() => {
388
398
  setIsIncludePDF(!isIncludePDF);
389
399
  setValue(
390
- `templateOptionValues.${option.id}.value`,
400
+ `templateOptionValues.${option.id}.value` as any,
391
401
  ""
392
402
  );
393
403
  }}
@@ -403,7 +413,7 @@ export const EmailTemplateControl = React.forwardRef(
403
413
  <Form.Control
404
414
  as="select"
405
415
  {...register(
406
- `templateOptionValues.${option.id}.value`
416
+ `templateOptionValues.${option.id}.value` as any
407
417
  )}
408
418
  defaultValue={option.selectedValue || ""}
409
419
  >
@@ -432,7 +442,7 @@ export const EmailTemplateControl = React.forwardRef(
432
442
  </Form.Label>
433
443
  <Form.Control
434
444
  {...register(
435
- `templateOptionValues.${option?.id}.value`
445
+ `templateOptionValues.${option?.id}.value` as any
436
446
  )}
437
447
  type="number"
438
448
  placeholder={t(`Design:${option.name}`)}
@@ -12,7 +12,7 @@ import { TIME_FORMAT } from "@licklist/core/dist/Config";
12
12
  import * as Config from "@licklist/core/dist/Config";
13
13
  import { formatDateStringForEvent } from "@licklist/plugins/dist/utils/formatDate";
14
14
  import { getOrderSourceTitle } from "@licklist/plugins/dist/utils/sourceTitle";
15
- import { calculateTotalDiscount } from "../../../../iframe/payment/order-items-table/utils";
15
+
16
16
  import Icon from "../../../../static/Icon";
17
17
 
18
18
  export type ResultCardProps = {
@@ -22,6 +22,8 @@ export type ResultCardProps = {
22
22
  onCardClick?: (id: number) => void;
23
23
  };
24
24
 
25
+ // @TODO integrate when API will be available
26
+ // activity and staff keys
25
27
  export const ResultCard = ({
26
28
  order,
27
29
  className,
@@ -43,14 +45,10 @@ export const ResultCard = ({
43
45
  event,
44
46
  menu,
45
47
  remainingToPay,
46
- payments,
47
48
  } = order;
48
49
 
49
- const discount = calculateTotalDiscount(payments);
50
-
51
50
  const productList = products.map((product) => product.name)?.join(", ") || "";
52
51
  const activityName = event?.name || menu?.name || "";
53
- const totalAmountWithDiscount = totalAmount - discount;
54
52
 
55
53
  const onClick = () => {
56
54
  if (!onCardClick) return;
@@ -110,7 +108,7 @@ export const ResultCard = ({
110
108
  )}
111
109
  <p>
112
110
  {t("paidAmount")}:{" "}
113
- {formatNumber(totalAmountWithDiscount, {
111
+ {formatNumber(totalAmount, {
114
112
  style: "currency",
115
113
  currency: Config.Currency.GBP,
116
114
  })}
@@ -46,10 +46,7 @@ export const SelectEvent = ({
46
46
  return (
47
47
  <EventCardManualBooking
48
48
  key={`${event.id}-${event.createdAt}`}
49
- coverImageUrl={MediaService.getImageSrcByEvent(
50
- event,
51
- event?.providers[0]?.images
52
- )}
49
+ coverImageUrl={MediaService.getImageSrcByEvent(event)}
53
50
  title={event?.name}
54
51
  rrule={event?.rrule}
55
52
  startAt={event?.startAt}
@@ -24,7 +24,6 @@ export interface ManualBookingSummaryProps {
24
24
  isFeeFetching: boolean;
25
25
  orderDate: string;
26
26
  relyOnPeopleType?: RelyOnPeopleType | null;
27
- isMobileView?: boolean;
28
27
  }
29
28
 
30
29
  export const ManualBookingSummary = ({
@@ -36,7 +35,6 @@ export const ManualBookingSummary = ({
36
35
  orderDate,
37
36
  relyOnPeopleType,
38
37
  hasBookingCategory,
39
- isMobileView,
40
38
  }: ManualBookingSummaryProps) => {
41
39
  const { t } = useTranslation(["Design", "Sale"]);
42
40
  const { formatNumber } = useIntl();
@@ -46,13 +44,7 @@ export const ManualBookingSummary = ({
46
44
  const date = currentDate.toFormat(DATE_TIME_MANUAL_BOOKING_FORMAT);
47
45
  const time = currentDate.toFormat(TIME_FORMAT);
48
46
  return (
49
- <div
50
- className={
51
- isMobileView
52
- ? "manual-booking-summary-mobile"
53
- : "manual-booking-summary"
54
- }
55
- >
47
+ <div className="manual-booking-summary">
56
48
  <div className="receipt-title">{t("Sale:receipt")}</div>
57
49
  <div className="event-name border-summary-item">{eventName}</div>
58
50
  <div className="border-summary-item">{date}</div>
@@ -11,13 +11,10 @@ import {
11
11
  rangeDatesToStringDates,
12
12
  stringDatesToInputValue,
13
13
  } from "./utils";
14
- import { MOBILE_WIDTH } from "../../iframe/order-process/components/BookingSummary/types";
15
14
 
16
15
  import "react-date-range/dist/styles.css";
17
16
  import "react-date-range/dist/theme/default.css";
18
17
 
19
- type DateRangeDirection = "vertical" | "horizontal";
20
-
21
18
  type DateRangeInputProps = {
22
19
  placeholder: string;
23
20
  startDate?: string;
@@ -36,7 +33,7 @@ export const DateRangeInput = ({
36
33
  disabled,
37
34
  }: DateRangeInputProps) => {
38
35
  const { t } = useTranslation("Design");
39
- const [direction, setDirection] = useState<DateRangeDirection>("horizontal");
36
+
40
37
  const [state, setState] = useState<Range[]>([
41
38
  {
42
39
  startDate: new Date(),
@@ -85,24 +82,6 @@ export const DateRangeInput = ({
85
82
  }
86
83
  }, [startDate, endDate]);
87
84
 
88
- useEffect(() => {
89
- const resizeBodyInMobile = () => {
90
- if (window.innerWidth > MOBILE_WIDTH) {
91
- setDirection("horizontal");
92
- return;
93
- }
94
-
95
- setDirection("vertical");
96
- };
97
-
98
- resizeBodyInMobile();
99
- window.addEventListener("resize", resizeBodyInMobile);
100
-
101
- return () => {
102
- window.removeEventListener("resize", resizeBodyInMobile);
103
- };
104
- }, []);
105
-
106
85
  return (
107
86
  <div>
108
87
  <OverlayTrigger
@@ -115,7 +94,7 @@ export const DateRangeInput = ({
115
94
  moveRangeOnFirstSelection={false}
116
95
  ranges={state}
117
96
  months={months}
118
- direction={direction}
97
+ direction="horizontal"
119
98
  />
120
99
  <div className="mt-3 d-flex justify-content-end">
121
100
  <Button onClick={onReset} variant="link">
@@ -23,7 +23,7 @@ export function BooleanSwitch({
23
23
  const { t } = useTranslation("Design");
24
24
 
25
25
  const options: SelectItem[] = [
26
- { id: 1, value: firstValueTitle ?? t("yes") },
26
+ { id: 1, value: firstValueTitle ?? t("yes") },
27
27
  { id: 0, value: secondValueTitle ?? t("no") },
28
28
  ];
29
29
 
@@ -3,10 +3,7 @@ $affiliate-card-box-shadow-focus: $btn-focus-box-shadow !default;
3
3
  $affiliate-card-transition: $btn-transition !default;
4
4
 
5
5
  $affiliate-card-link-background-color: $affiliate-card-background-color !default;
6
- $affiliate-card-link-background-color-hover: theme-color-level(
7
- "primary",
8
- -10.5
9
- ) !default;
6
+ $affiliate-card-link-background-color-hover: theme-color-level("primary", -10.5) !default;
10
7
  $affiliate-card-link-box-shadow-focus: $affiliate-card-box-shadow-focus !default;
11
8
  $affiliate-card-link-padding-x: sp(10) !default;
12
9
  $affiliate-card-link-padding-y: sp(10) !default;
@@ -15,20 +12,12 @@ $affiliate-card-link-text-color-hover: theme-color("primary") !default;
15
12
  $affiliate-card-link-text-font-weight: $font-weight-normal !default;
16
13
  $affiliate-card-link-transition: $affiliate-card-transition !default;
17
14
 
18
- $affiliate-card-menu-button-background-color-hover: theme-color(
19
- "primary"
20
- ) !default;
15
+ $affiliate-card-menu-button-background-color-hover: theme-color("primary") !default;
21
16
  $affiliate-card-menu-button-border-radius: $border-radius !default;
22
17
  $affiliate-card-menu-button-box-shadow-focus: $affiliate-card-box-shadow-focus !default;
23
- $affiliate-card-menu-button-icon-color: adjust-color(
24
- theme-color("primary"),
25
- $alpha: -1/3
26
- ) !default;
18
+ $affiliate-card-menu-button-icon-color: adjust-color(theme-color("primary"), $alpha: -1/3) !default;
27
19
  $affiliate-card-menu-button-icon-color-hover: $affiliate-card-background-color !default;
28
- $affiliate-card-menu-button-icon-color-container-hover: adjust-color(
29
- theme-color("primary"),
30
- $alpha: -1 / 12
31
- ) !default;
20
+ $affiliate-card-menu-button-icon-color-container-hover: adjust-color(theme-color("primary"), $alpha: -1 / 12) !default;
32
21
  $affiliate-card-menu-button-icon-size: sp(4) !default;
33
22
  $affiliate-card-menu-button-inset: sp(2) !default;
34
23
  $affiliate-card-menu-button-size: sp(8) !default;
@@ -150,14 +139,12 @@ $affiliate-card-menu-icon-size: sp(3.5) !default;
150
139
  }
151
140
  }
152
141
 
153
- .affiliate-card-popover,
154
- #event-product-set-popover {
142
+ .affiliate-card-popover {
155
143
  border-radius: $affiliate-card-popover-border-radius;
156
144
  border: none;
157
145
  filter: $affiliate-card-popover-box-shadow-filter;
158
146
 
159
- .affiliate-card-menu,
160
- .event-product-set-card {
147
+ .affiliate-card-menu {
161
148
  padding: $affiliate-card-menu-padding-x $affiliate-card-menu-padding-y;
162
149
  border-radius: $affiliate-card-popover-border-radius;
163
150
 
@@ -188,12 +175,5 @@ $affiliate-card-menu-icon-size: sp(3.5) !default;
188
175
  }
189
176
  }
190
177
 
191
- #event-product-set-popover {
192
- .event-product-set-card {
193
- padding-left: 1rem;
194
- padding-right: 1rem;
195
- }
196
- }
197
-
198
178
  $snippet-template-card-background-color: color("red") !default;
199
179
  $snippet-template-card-border: 1px solid red;
@@ -7,6 +7,8 @@ $event-card-title-font-weight: $font-weight-semibold !default;
7
7
  $event-card-title-font-size: sp(5) !default;
8
8
  $event-card-title-line-height: 4 / 3 !default;
9
9
 
10
+ $event-card-footer-height: sp(6) !default;
11
+
10
12
  $event-card-image-container-overflow-top: sp(3) !default;
11
13
  $event-card-image-container-overflow-x: sp(3) !default;
12
14
  $event-card-image-container-aspect-ratio: 1.6 !default;
@@ -32,7 +34,7 @@ $event-card-views-gutter: sp(3) !default;
32
34
  transition: ease-in 0.25s;
33
35
  border-radius: $event-card-border-radius;
34
36
 
35
- > * + * {
37
+ >*+* {
36
38
  margin-top: $event-card-contents-gutter;
37
39
  }
38
40
 
@@ -52,7 +54,7 @@ $event-card-views-gutter: sp(3) !default;
52
54
  min-height: 13.75rem;
53
55
  max-height: 22rem;
54
56
  }
55
- }
57
+ }
56
58
  }
57
59
 
58
60
  .card-title {
@@ -72,6 +74,7 @@ $event-card-views-gutter: sp(3) !default;
72
74
  border: unset;
73
75
  border-radius: unset;
74
76
  padding: 0;
77
+ height: $event-card-footer-height;
75
78
 
76
79
  svg {
77
80
  height: 100%;
@@ -172,4 +175,4 @@ $event-card-views-gutter: sp(3) !default;
172
175
  color: #504f4f;
173
176
  width: 1.7rem;
174
177
  }
175
- }
178
+ }
@@ -100,10 +100,6 @@ $product-set-card-menu-icon-size: sp(3.5) !default;
100
100
  width: 2rem;
101
101
  height: 2rem;
102
102
  margin-right: 0.8rem;
103
-
104
- @include media-breakpoint-down(sm) {
105
- visibility: visible !important;
106
- }
107
103
  }
108
104
  }
109
105
 
@@ -106,12 +106,6 @@
106
106
  align-items: center;
107
107
  gap: 0.25rem;
108
108
  margin-bottom: 0.5rem;
109
-
110
- @include media-breakpoint-down(sm) {
111
- justify-content: center;
112
- flex-wrap: wrap;
113
- }
114
-
115
109
  }
116
110
 
117
111
  .text-input.form-group {
@@ -157,19 +157,6 @@
157
157
  margin-bottom: 0;
158
158
  }
159
159
  }
160
-
161
- .apply-container{
162
- display: flex;
163
- justify-content: space-around;
164
- column-gap: 2rem;
165
- margin-left: 3rem;
166
-
167
- @include media-breakpoint-down(sm) {
168
- flex-direction: row;
169
- margin-left: 0rem;
170
- column-gap: 1rem;
171
- }
172
- }
173
160
  }
174
161
 
175
162
  .additional-filter-container {
@@ -243,11 +230,6 @@
243
230
  transform: rotate(45deg);
244
231
  }
245
232
  }
246
-
247
- @include media-breakpoint-down(sm) {
248
- flex-direction: column;
249
- justify-content: flex-start;
250
- }
251
233
  }
252
234
  }
253
235
  }
@@ -5,7 +5,7 @@
5
5
  flex-wrap: wrap;
6
6
 
7
7
  .result-card {
8
- height: 14rem;
8
+ height: 14.25rem;
9
9
  border: 1px solid $gray-400;
10
10
  max-width: calc(50% - 0.75rem);
11
11
  flex: 0 0 calc(50% - 0.75rem);
@@ -1,49 +1,24 @@
1
1
  .booking-tabs-pane {
2
2
  display: flex;
3
3
  flex-direction: row;
4
- justify-content: space-between;
5
4
  align-items: center;
6
5
  height: 2.75rem;
7
6
  background-color: $white;
8
7
 
9
8
  .booking-tabs {
10
9
  svg {
11
- g>rect:first-child {
12
- fill: $white;
10
+ g > rect:first-child {
11
+ fill: $white;
13
12
  }
14
13
  }
15
-
14
+
16
15
  .active {
17
16
  svg {
18
- g>rect:first-child {
19
- fill: $blue;
17
+ g > rect:first-child {
18
+ fill: $blue;
20
19
  }
21
20
  }
22
21
  }
23
-
24
- @include media-breakpoint-down(sm) {
25
- width: 4rem;
26
- }
27
- }
28
-
29
- .content {
30
- display: flex;
31
- justify-content: space-between;
32
- width: 85%;
33
- flex-direction: row;
34
-
35
- @include media-breakpoint-down(sm) {
36
- display: flex;
37
- flex-direction: column;
38
- align-items: start;
39
- height: 4rem;
40
- }
41
-
42
- .booking {
43
- @include media-breakpoint-down(sm) {
44
- height: 13rem;
45
- }
46
- }
47
22
  }
48
23
 
49
24
  .separator {
@@ -54,12 +29,6 @@
54
29
  .children {
55
30
  flex: 1;
56
31
  margin-left: 1rem;
57
-
58
- @include media-breakpoint-down(sm) {
59
- display: flex;
60
- flex-direction: column;
61
- align-items: start;
62
- }
63
32
  }
64
33
 
65
34
  .buttons {
@@ -92,33 +61,6 @@
92
61
  border-radius: 0.625rem;
93
62
  margin-right: 0.5rem;
94
63
  }
95
- @include media-breakpoint-down(sm) {
96
- width: 12.5rem;
97
- }
98
-
99
- }
100
-
101
- @include media-breakpoint-down(sm) {
102
- display: flex;
103
- flex-direction: column;
104
- align-items: start;
105
- gap: .5rem;
106
- margin-top: .5rem;
107
- white-space: nowrap;
108
- }
109
- }
110
-
111
- @include media-breakpoint-down(sm) {
112
- display: flex;
113
- align-items: start;
114
- gap: 1rem;
115
- margin-top: 1rem;
116
- height: 100%;
117
- }
118
-
119
- .booking {
120
- @include media-breakpoint-down(sm) {
121
- height: 13rem;
122
64
  }
123
65
  }
124
66
  }
@@ -33,7 +33,6 @@
33
33
  }
34
34
 
35
35
  @include media-breakpoint-down(sm) {
36
- height: 12rem;
37
36
  &__value {
38
37
  line-height: 1rem;
39
38
  font-size: 2rem;
@@ -361,11 +361,10 @@
361
361
  width: inherit;
362
362
 
363
363
  @include media-breakpoint-down(sm) {
364
- display: none;
364
+ padding: 0 0.5rem;
365
+ padding-top: 2rem;
365
366
  }
366
367
 
367
-
368
-
369
368
  .form-control {
370
369
  margin-bottom: 1.5rem;
371
370
  }
@@ -412,64 +411,6 @@
412
411
  }
413
412
  }
414
413
 
415
- .manual-booking-summary-mobile {
416
- display: none;
417
-
418
- @include media-breakpoint-down(sm) {
419
- display: block;
420
- padding: 0 1.5rem;
421
- padding-top: 2rem;
422
- height: max-content;
423
- margin-bottom: 1.5rem;
424
- width: inherit;
425
-
426
- .form-control {
427
- margin-bottom: .5rem;
428
- }
429
- .receipt-title {
430
- font-size: 1.125rem;
431
- font-weight: 600;
432
- padding-bottom: 0.4rem;
433
- margin-bottom: 1rem;
434
- border-bottom: 2px solid $gray-400;
435
- }
436
- .event-name {
437
- font-size: 0.94rem;
438
- font-weight: 600;
439
- }
440
-
441
- .border-summary-item {
442
- padding-bottom: 0.9rem;
443
- margin-bottom: 1%;
444
- border-bottom: 2px solid $gray-100;
445
- flex-wrap: wrap;
446
- }
447
-
448
- .total-container {
449
- display: flex;
450
- justify-content: space-between;
451
- font-size: 1rem;
452
- font-weight: 600;
453
-
454
- @include media-breakpoint-down(lg) {
455
- flex-wrap: wrap;
456
- }
457
- .total-amount {
458
- padding-left: 1rem;
459
- @include media-breakpoint-down(lg) {
460
- padding-left: 0;
461
- }
462
- }
463
- }
464
-
465
- .summary-item-container {
466
- .border-summary-item:nth-last-child(2) {
467
- border-bottom: 2px solid $gray-400;
468
- }
469
- }
470
- }
471
- }
472
-
473
414
  .menu-list-manual-booking {
474
415
  display: flex;
475
416
  align-items: center;
@@ -496,4 +437,4 @@
496
437
  color: $blue;
497
438
  }
498
439
  }
499
- }
440
+ }
@@ -13,9 +13,6 @@
13
13
 
14
14
  &__pie-chart {
15
15
  height: 100%;
16
- @include media-breakpoint-down(sm) {
17
- height: 12rem;
18
- }
19
16
  }
20
17
 
21
18
  .colors-0 {
@@ -28,13 +28,12 @@ $snippet-template-card-button-transition: $product-set-card-transition !default;
28
28
  border: 1px solid #ccc;
29
29
  border-radius: $border-radius;
30
30
  height: 10rem;
31
- min-width: 15rem;
31
+ width: 15rem;
32
32
  padding: 1rem;
33
33
 
34
34
  @include media-breakpoint-down(sm) {
35
35
  height: 100%;
36
36
  max-height: 10rem;
37
- width: 100%;
38
37
  }
39
38
 
40
39
  p {
@@ -110,4 +109,4 @@ $snippet-template-card-button-transition: $product-set-card-transition !default;
110
109
  &:hover {
111
110
  border: 2px solid $blue;
112
111
  }
113
- }
112
+ }
@@ -11,12 +11,6 @@ $tab-nav-link-active-border-bottom: 1px solid $tab-nav-link-active-color !defaul
11
11
  margin-left: -1.25rem;
12
12
  border-bottom: 1px solid $nav-tabs-border-color;
13
13
 
14
- @include media-breakpoint-down(sm) {
15
- display: flex;
16
- flex-direction: column;
17
- white-space: nowrap;
18
- }
19
-
20
14
  .nav-link {
21
15
  color: $tab-nav-link-color;
22
16
  background-color: transparent;