@licklist/design 0.58.10 → 0.58.11-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.
- package/bitbucket-pipelines.yml +0 -8
- package/dist/assets/iframe/calendar.svg +2 -2
- package/dist/assets/iframe/calendar.svg.js +1 -1
- package/dist/assets/iframe/ticket.svg +2 -2
- package/dist/assets/iframe/ticket.svg.js +1 -1
- package/dist/calendar/Calendar.d.ts +1 -1
- package/dist/calendar/Calendar.d.ts.map +1 -1
- package/dist/calendar/Calendar.js +1 -1
- package/dist/calendar/components/CalendarButtons/CalendarButtons.js +1 -1
- package/dist/calendar/components/CalendarDates/CalendarDates.d.ts +2 -2
- package/dist/calendar/components/CalendarDates/CalendarDates.d.ts.map +1 -1
- package/dist/calendar/components/CalendarDates/CalendarDates.js +1 -1
- package/dist/events/edit-event-modal/component/EditEventForm/EditEventForm.js +1 -1
- package/dist/events/event-statistic-modal/EventStatisticModal.js +1 -1
- package/dist/iframe/event/event-card/IframeEventCard.d.ts +2 -1
- package/dist/iframe/event/event-card/IframeEventCard.d.ts.map +1 -1
- package/dist/iframe/event/event-card/IframeEventCard.js +1 -1
- package/dist/iframe/event/event-venue-map/IframeEventVenueMap.js +1 -1
- package/dist/iframe/order-process/components/BookingSummary/BookingSummary.d.ts +2 -2
- package/dist/iframe/order-process/components/BookingSummary/BookingSummary.d.ts.map +1 -1
- package/dist/iframe/order-process/components/BookingSummary/BookingSummary.js +1 -1
- package/dist/iframe/order-process/components/BookingSummary/components/BookingSummaryAccordion/BookingSummaryAccordion.d.ts +4 -2
- package/dist/iframe/order-process/components/BookingSummary/components/BookingSummaryAccordion/BookingSummaryAccordion.d.ts.map +1 -1
- package/dist/iframe/order-process/components/BookingSummary/components/BookingSummaryAccordion/BookingSummaryAccordion.js +1 -1
- package/dist/iframe/order-process/components/BookingSummary/components/SummaryTotal/components/SummaryTotalBlock.d.ts +1 -1
- package/dist/iframe/order-process/components/BookingSummary/components/SummaryTotal/components/SummaryTotalBlock.d.ts.map +1 -1
- package/dist/iframe/order-process/components/BookingSummary/components/SummaryTotal/components/SummaryTotalBlock.js +1 -1
- package/dist/iframe/order-process/components/BookingSummary/components/ToggleHeader/ToggleHeader.d.ts +4 -2
- package/dist/iframe/order-process/components/BookingSummary/components/ToggleHeader/ToggleHeader.d.ts.map +1 -1
- package/dist/iframe/order-process/components/BookingSummary/components/ToggleHeader/ToggleHeader.js +1 -1
- package/dist/iframe/order-process/components/BookingSummary/types/index.d.ts +4 -0
- package/dist/iframe/order-process/components/BookingSummary/types/index.d.ts.map +1 -1
- package/dist/iframe/order-process/components/CalendarStepsForm/CalendarStepsForm.js +1 -1
- package/dist/iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.js +1 -1
- package/dist/iframe/page/components/PageBody/components/LeftBlock/LeftBlock.d.ts.map +1 -1
- package/dist/iframe/page/components/PageBody/components/LeftBlock/LeftBlock.js +1 -1
- package/dist/iframe/page/components/PageBody/constants.d.ts +1 -0
- package/dist/iframe/page/components/PageBody/constants.d.ts.map +1 -1
- package/dist/iframe/page/components/PageBody/constants.js +1 -1
- package/dist/iframe/page/components/PageBody/hooks/useResizePageBody.d.ts.map +1 -1
- package/dist/iframe/page/components/PageBody/hooks/useResizePageBody.js +1 -1
- package/dist/iframe/payment/order-items-table/OrderItemsTable.js +1 -1
- package/dist/iframe/payment/order-items-table/utils/paymentSummary.js +1 -1
- package/dist/iframe/payment/payment-form/PaymentForm.js +1 -1
- package/dist/iframe/payment/payment-page/PaymentPage.d.ts.map +1 -1
- package/dist/iframe/payment/payment-page/PaymentPage.js +1 -1
- package/dist/iframe/payment/payment-page/PaymentTimer.js +1 -1
- package/dist/iframe/payment/payment-status-page/PaymentStatusPage.js +1 -1
- package/dist/iframe/ryft/RyftPaymentForm.d.ts.map +1 -1
- package/dist/iframe/ryft/RyftPaymentForm.js +1 -1
- package/dist/iframe/ryft/utils/ryft-form.d.ts +5 -0
- package/dist/iframe/ryft/utils/ryft-form.d.ts.map +1 -0
- package/dist/iframe/ryft/utils/ryft-form.js +1 -0
- package/dist/index.js +1 -1
- package/dist/product-set/control/DateAndRecurrenceInput.d.ts.map +1 -1
- package/dist/product-set/control/DateAndRecurrenceInput.js +1 -1
- package/dist/product-set/control/DateInput.d.ts.map +1 -1
- package/dist/product-set/form/ProductSetForm.d.ts +4 -1
- package/dist/product-set/form/ProductSetForm.d.ts.map +1 -1
- package/dist/product-set/form/VenueMapsControl.js +1 -1
- package/dist/product-set/hooks/useSortableTreeFunctions.d.ts.map +1 -1
- package/dist/product-set/product/ProductControl.d.ts +1 -0
- package/dist/product-set/product/ProductControl.d.ts.map +1 -1
- package/dist/product-set/product/ProductControl.js +1 -1
- package/dist/product-set/product/fixed-duration-fields/FixedDurationOptions.d.ts.map +1 -1
- package/dist/product-set/product-category/ProductCategoryControl.d.ts +1 -0
- package/dist/product-set/product-category/ProductCategoryControl.d.ts.map +1 -1
- package/dist/product-set/product-category/ProductCategoryControl.js +1 -1
- package/dist/provider/working-hours-input/WorkingHoursInputDescription.d.ts.map +1 -1
- package/dist/provider/working-hours-input/WorkingHoursInputDescription.js +1 -1
- package/dist/recurring-date-picker-input/RecurrenceAndFrequencyInput.d.ts.map +1 -1
- package/dist/recurring-date-picker-input/RecurringDatePickerInput.d.ts +3 -1
- package/dist/recurring-date-picker-input/RecurringDatePickerInput.d.ts.map +1 -1
- package/dist/recurring-date-picker-input/RecurringDatePickerInput.js +1 -1
- package/dist/recurring-date-picker-input/utils.d.ts +9 -0
- package/dist/recurring-date-picker-input/utils.d.ts.map +1 -1
- package/dist/recurring-date-picker-input/utils.js +1 -1
- package/dist/sales/booking/results/components/ResultCard.d.ts.map +1 -1
- package/dist/sales/booking/results/components/ResultCard.js +1 -1
- package/dist/sales/notes/NotesTableRow.js +1 -1
- package/dist/setting/admin/AdminSettingForm.d.ts +2 -2
- package/dist/setting/admin/AdminSettingForm.d.ts.map +1 -1
- package/dist/setting/dashboard/snippets/card/SnippetCard.js +1 -1
- package/dist/snippet/snippet-template/control/PropertyControl.d.ts +3 -1
- package/dist/snippet/snippet-template/control/PropertyControl.d.ts.map +1 -1
- package/dist/snippet/snippet-template/control/PropertyControl.js +1 -1
- package/dist/snippet/snippet-template/preview/Preview.js +1 -1
- package/dist/static/manual-date-picker/ManualDatePicker.js +1 -1
- package/dist/static/manual-date-picker/constants/index.d.ts +4 -1
- package/dist/static/manual-date-picker/constants/index.d.ts.map +1 -1
- package/dist/static/manual-date-picker/constants/index.js +1 -1
- package/dist/static/manual-date-picker/utils/index.d.ts +4 -0
- package/dist/static/manual-date-picker/utils/index.d.ts.map +1 -1
- package/dist/static/manual-date-picker/utils/index.js +1 -1
- package/dist/striped-static-table/StripedStaticTable.js +1 -1
- package/dist/styles/iframe-events/Card.scss +24 -8
- package/dist/styles/iframe-events/PoweredBy.scss +2 -2
- package/dist/styles/iframe-order-process/IframeOrderProcess.scss +57 -20
- package/dist/styles/iframe-page/Page.scss +1 -0
- package/dist/styles/iframe-page/PageBody.scss +34 -12
- package/dist/styles/iframe-page/PageHeader.scss +41 -39
- package/dist/styles/ryft-payment-form/RyftPaymentForm.scss +125 -2
- package/dist/styles/sales/BookingResults.scss +1 -1
- package/dist/venue-map-sets/form/components/VenueMapImageControl.js +1 -1
- package/dist/zone/form/utils/dates.d.ts.map +1 -1
- package/package.json +10 -35
- package/src/assets/iframe/calendar.svg +2 -2
- package/src/assets/iframe/ticket.svg +2 -2
- package/src/calendar/Calendar.stories.tsx +23 -0
- package/src/calendar/Calendar.tsx +5 -5
- package/src/calendar/components/CalendarDates/CalendarDates.tsx +0 -5
- package/src/iframe/event/event-card/IframeEventCard.stories.tsx +1 -0
- package/src/iframe/event/event-card/IframeEventCard.tsx +7 -8
- package/src/iframe/order-process/components/BookingSummary/BookingSummary.stories.tsx +9 -0
- package/src/iframe/order-process/components/BookingSummary/BookingSummary.tsx +58 -7
- package/src/iframe/order-process/components/BookingSummary/components/BookingSummaryAccordion/BookingSummaryAccordion.tsx +8 -0
- package/src/iframe/order-process/components/BookingSummary/components/SummaryTotal/components/SummaryTotalBlock.tsx +4 -4
- package/src/iframe/order-process/components/BookingSummary/components/ToggleHeader/ToggleHeader.tsx +63 -10
- package/src/iframe/order-process/components/BookingSummary/types/index.ts +4 -0
- package/src/iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.tsx +1 -1
- package/src/iframe/page/components/PageBody/components/LeftBlock/LeftBlock.tsx +3 -1
- package/src/iframe/page/components/PageBody/constants.ts +2 -0
- package/src/iframe/page/components/PageBody/hooks/useResizePageBody.ts +10 -0
- package/src/iframe/payment/order-items-table/utils/paymentSummary.tsx +6 -6
- package/src/iframe/payment/payment-page/PaymentPage.stories.tsx +546 -6
- package/src/iframe/payment/payment-page/PaymentPage.tsx +38 -29
- package/src/iframe/ryft/RyftPaymentForm.tsx +11 -5
- package/src/iframe/ryft/utils/ryft-form.ts +47 -0
- package/src/product-set/control/DateAndRecurrenceInput.tsx +2 -1
- package/src/product-set/control/DateInput.tsx +1 -3
- package/src/product-set/form/ProductCategoriesControl.tsx +1 -1
- package/src/product-set/form/ProductSetForm.tsx +5 -1
- package/src/product-set/hooks/useSortableTreeFunctions.ts +2 -0
- package/src/product-set/product/ProductControl.tsx +17 -3
- package/src/product-set/product/fixed-duration-fields/FixedDurationOptions.tsx +0 -2
- package/src/product-set/product-category/ProductCategoryControl.tsx +105 -43
- package/src/provider/working-hours-input/WorkingHoursInputDescription.tsx +4 -18
- package/src/recurring-date-picker-input/RecurrenceAndFrequencyInput.tsx +0 -1
- package/src/recurring-date-picker-input/RecurringDatePickerInput.tsx +11 -1
- package/src/recurring-date-picker-input/utils.ts +75 -0
- package/src/sales/booking/results/BookingResults.stories.tsx +3 -2
- package/src/sales/booking/results/components/ResultCard.tsx +2 -5
- package/src/setting/admin/AdminSettingForm.tsx +2 -2
- package/src/snippet/snippet-template/control/PropertyControl.tsx +6 -2
- package/src/sortable-tree/SortableTreeItem.tsx +1 -1
- package/src/static/manual-date-picker/ManualDatePicker.tsx +3 -3
- package/src/static/manual-date-picker/constants/index.ts +6 -2
- package/src/static/manual-date-picker/utils/index.ts +11 -0
- package/src/static/switch/BooleanSwitch.tsx +1 -1
- package/src/styles/iframe-events/Card.scss +24 -8
- package/src/styles/iframe-events/PoweredBy.scss +2 -2
- package/src/styles/iframe-order-process/IframeOrderProcess.scss +57 -20
- package/src/styles/iframe-page/Page.scss +1 -0
- package/src/styles/iframe-page/PageBody.scss +34 -12
- package/src/styles/iframe-page/PageHeader.scss +41 -39
- package/src/styles/ryft-payment-form/RyftPaymentForm.scss +125 -2
- package/src/styles/sales/BookingResults.scss +1 -1
- package/src/zone/form/utils/dates.ts +9 -10
- package/jest.config.js +0 -29
- package/tests/Auth/Authorizer.test.tsx +0 -194
- package/tests/Auth/Layout/UserNavDropDown.test.tsx +0 -43
- package/tests/Auth/Layout/UserNavDropDownToggle.test.tsx +0 -33
- package/tests/Auth/Login/LoginComponent.test.tsx +0 -246
- package/tests/Auth/Login/LoginFormComponent.test.tsx +0 -182
- package/tests/Auth/Register/RegisterComponent.test.tsx +0 -285
- package/tests/Auth/Register/RegisterFormComponent.test.tsx +0 -170
- package/tests/Auth/Settings/Dashboard/IpInput.test.tsx +0 -130
- package/tests/Auth/Social/SocialCallbackComponent.test.tsx +0 -133
- package/tests/Auth/Social/SocialFormComponent.test.tsx +0 -118
- package/tests/FileUpload/FileUpload.test.tsx +0 -42
- package/tests/Notification/EmailTemplate.test.tsx +0 -82
- package/tests/ProductSet/ProductSetPopover.test.tsx +0 -40
- package/tests/Report/Report.test.tsx +0 -48
- package/tests/Sales/Coupon.test.tsx +0 -51
- package/tests/Sales/SalesAndVIews.test.tsx +0 -63
- package/tests/SnippetTemplates/SnippetTemplates.test.tsx +0 -56
- package/tests/Table/FilterHelperComponent.test.tsx +0 -88
- package/tests/Table/PaginationHelperComponent.test.tsx +0 -109
- package/tests/Table/PerPageHelperComponent.test.tsx +0 -34
- package/tests/Table/TableHelperComponent.test.tsx +0 -295
- package/tests/TipTapEditor/TipTapEditor.test.tsx +0 -28
- package/tests/__mock__/hooks/useAuthApi.ts +0 -13
- package/tests/__mock__/hooks/useAuthMock.ts +0 -13
- package/tests/__mock__/hooks/useFormMock.ts +0 -27
- package/tests/__mock__/hooks/useNotificationMock.ts +0 -13
- package/tests/__mock__/hooks/useQueryMock.ts +0 -16
- package/tests/__mock__/hooks/useSocialApiMock.ts +0 -20
- package/tests/__mock__/hooks/useTranslationMock.ts +0 -17
- package/tests/__mock__/hooks/useUserApiMock.ts +0 -18
- package/tests/__mock__/hooks/useUserMock.ts +0 -13
- package/tests/__mock__/styleMock.js +0 -1
- package/tests/__mock__/windowMock.ts +0 -5
- package/tests/packages/react-query.tsx +0 -28
- package/tests/setupTests.ts +0 -10
|
@@ -11,7 +11,7 @@ import Row from "react-bootstrap/Row";
|
|
|
11
11
|
import Col from "react-bootstrap/Col";
|
|
12
12
|
import { Link } from "react-router-dom";
|
|
13
13
|
import HookFormService from "@licklist/plugins/dist/services/Form/HookFormService";
|
|
14
|
-
import {
|
|
14
|
+
import { ProvidableType } from "@licklist/core/dist/DataMapper/Provider/ProvidableDataMapper";
|
|
15
15
|
import Icon from "../../static/Icon";
|
|
16
16
|
import { PaymentFeeForm, PaymentFeeFormFieldValues } from "./PaymentFeeForm";
|
|
17
17
|
import { Currency } from "../../types/currency";
|
|
@@ -33,7 +33,7 @@ export interface AdminSettingFormProps extends HasPermissionProp {
|
|
|
33
33
|
providerMetadata: {
|
|
34
34
|
country?: string;
|
|
35
35
|
providableId?: number;
|
|
36
|
-
providerType?:
|
|
36
|
+
providerType?: ProvidableType;
|
|
37
37
|
};
|
|
38
38
|
}
|
|
39
39
|
|
|
@@ -24,12 +24,16 @@ export interface PropertyControlProps<T> {
|
|
|
24
24
|
item: Path<T>;
|
|
25
25
|
label: string;
|
|
26
26
|
isDisabled?: boolean;
|
|
27
|
+
defaultColors?: Array<string>;
|
|
28
|
+
isRequired?: boolean;
|
|
27
29
|
}
|
|
28
30
|
|
|
29
31
|
export function PropertyControl<T>({
|
|
30
32
|
item,
|
|
31
33
|
label,
|
|
32
34
|
isDisabled = false,
|
|
35
|
+
defaultColors,
|
|
36
|
+
isRequired = true,
|
|
33
37
|
}: PropertyControlProps<T>) {
|
|
34
38
|
const { t } = useTranslation(["Validation"]);
|
|
35
39
|
|
|
@@ -62,7 +66,7 @@ export function PropertyControl<T>({
|
|
|
62
66
|
<Form.Control
|
|
63
67
|
{...register(item, {
|
|
64
68
|
required: {
|
|
65
|
-
value:
|
|
69
|
+
value: isRequired,
|
|
66
70
|
message: t("Validation:fieldRequired", {
|
|
67
71
|
attribute: label,
|
|
68
72
|
}),
|
|
@@ -95,7 +99,7 @@ export function PropertyControl<T>({
|
|
|
95
99
|
setValue(item, color.hex);
|
|
96
100
|
toggleIsActive();
|
|
97
101
|
}}
|
|
98
|
-
colors={DEFAULT_COLORS}
|
|
102
|
+
colors={defaultColors || DEFAULT_COLORS}
|
|
99
103
|
/>
|
|
100
104
|
</div>
|
|
101
105
|
)}
|
|
@@ -61,9 +61,9 @@ export const ManualDatePicker = ({
|
|
|
61
61
|
disabled={isDisabled}
|
|
62
62
|
>
|
|
63
63
|
<option value="">{t("Design:monthShort")}</option>
|
|
64
|
-
{MONTHS_ARRAY.map((
|
|
65
|
-
<option key={key} value={
|
|
66
|
-
{key}
|
|
64
|
+
{MONTHS_ARRAY.map((object) => (
|
|
65
|
+
<option key={object.key} value={object.value}>
|
|
66
|
+
{object.key}
|
|
67
67
|
</option>
|
|
68
68
|
))}
|
|
69
69
|
</Form.Control>
|
|
@@ -1,5 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
generateDatesArray,
|
|
3
|
+
generateMonthsOptionsArray,
|
|
4
|
+
generateYearsArray,
|
|
5
|
+
} from "../utils";
|
|
2
6
|
|
|
3
7
|
export const DAYS_ARRAY = generateDatesArray(1, 31, 1);
|
|
4
|
-
export const MONTHS_ARRAY =
|
|
8
|
+
export const MONTHS_ARRAY = generateMonthsOptionsArray();
|
|
5
9
|
export const YEARS_ARRAY = generateYearsArray();
|
|
@@ -4,6 +4,17 @@ export const generateDatesArray = (start: number, end: number, step: number) =>
|
|
|
4
4
|
(_, index) => 1 + index * step
|
|
5
5
|
);
|
|
6
6
|
|
|
7
|
+
export const generateMonthsOptionsArray = () =>
|
|
8
|
+
Array.from({ length: 12 }, (_, index) => {
|
|
9
|
+
const value = index + 1;
|
|
10
|
+
let key = String(value);
|
|
11
|
+
if (value < 10) {
|
|
12
|
+
key = `0${key}`;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
return { key, value };
|
|
16
|
+
});
|
|
17
|
+
|
|
7
18
|
export const generateYearsArray = () => {
|
|
8
19
|
const currentYear = new Date().getFullYear();
|
|
9
20
|
const ageBackYear = currentYear - 100;
|
|
@@ -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 ??
|
|
26
|
+
{ id: 1, value: firstValueTitle ?? t("yes") },
|
|
27
27
|
{ id: 0, value: secondValueTitle ?? t("no") },
|
|
28
28
|
];
|
|
29
29
|
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
@import "../snippet-templates/snippetVariables";
|
|
2
|
+
@import "../themes//bookedit/variables";
|
|
2
3
|
|
|
3
4
|
.iframe-event-card {
|
|
4
5
|
position: relative;
|
|
@@ -18,12 +19,27 @@
|
|
|
18
19
|
background-size: cover;
|
|
19
20
|
background-position: center;
|
|
20
21
|
cursor: pointer;
|
|
21
|
-
border: 1px solid transparent;
|
|
22
22
|
border-radius: 0.5rem;
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
.card-body {
|
|
26
|
-
padding: 0.5rem 0 0.875rem;
|
|
26
|
+
padding: 0.5rem 0 0.875rem 0;
|
|
27
|
+
|
|
28
|
+
@include media-breakpoint-down(sm) {
|
|
29
|
+
padding: 1rem 0;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
&__info-icon {
|
|
34
|
+
position: absolute;
|
|
35
|
+
right: 1rem;
|
|
36
|
+
top: 1rem;
|
|
37
|
+
background-color: "#ffffff";
|
|
38
|
+
border-radius: 1.5rem;
|
|
39
|
+
padding: 0 0.5rem;
|
|
40
|
+
font-size: 0.75rem;
|
|
41
|
+
font-weight: $white;
|
|
42
|
+
border: 1px solid $black;
|
|
27
43
|
}
|
|
28
44
|
|
|
29
45
|
&__title {
|
|
@@ -33,7 +49,7 @@
|
|
|
33
49
|
line-height: 1.25rem;
|
|
34
50
|
cursor: pointer;
|
|
35
51
|
margin-bottom: 0.5rem;
|
|
36
|
-
font-size:
|
|
52
|
+
font-size: 0.95rem;
|
|
37
53
|
}
|
|
38
54
|
|
|
39
55
|
&__label {
|
|
@@ -82,7 +98,8 @@
|
|
|
82
98
|
color: $snippet-elements-button-color;
|
|
83
99
|
border: none;
|
|
84
100
|
background-color: $snippet-elements-button-background-color;
|
|
85
|
-
box-shadow: 0 0 0 $input-btn-focus-width
|
|
101
|
+
box-shadow: 0 0 0 $input-btn-focus-width
|
|
102
|
+
$snippet-elements-button-background-color;
|
|
86
103
|
}
|
|
87
104
|
|
|
88
105
|
&:disabled {
|
|
@@ -95,14 +112,14 @@
|
|
|
95
112
|
&:focus,
|
|
96
113
|
&.focus {
|
|
97
114
|
&:not(:disabled) {
|
|
98
|
-
opacity: .7;
|
|
115
|
+
opacity: 0.7;
|
|
99
116
|
}
|
|
100
117
|
}
|
|
101
118
|
|
|
102
119
|
&:active,
|
|
103
120
|
&.active {
|
|
104
121
|
&:not(:disabled) {
|
|
105
|
-
opacity: .8;
|
|
122
|
+
opacity: 0.8;
|
|
106
123
|
}
|
|
107
124
|
}
|
|
108
125
|
}
|
|
@@ -123,7 +140,7 @@
|
|
|
123
140
|
}
|
|
124
141
|
|
|
125
142
|
.card-text {
|
|
126
|
-
font-size: 0.
|
|
143
|
+
font-size: 0.82rem;
|
|
127
144
|
}
|
|
128
145
|
|
|
129
146
|
&.event-info {
|
|
@@ -202,7 +219,6 @@
|
|
|
202
219
|
|
|
203
220
|
@media (max-width: 576px) {
|
|
204
221
|
&.list-view {
|
|
205
|
-
|
|
206
222
|
.card-image {
|
|
207
223
|
margin-right: 0.5rem;
|
|
208
224
|
}
|
|
@@ -46,9 +46,8 @@
|
|
|
46
46
|
color: $snippet-page-header-steps-body-color;
|
|
47
47
|
transition: $color-transition;
|
|
48
48
|
margin-left: 0.5rem;
|
|
49
|
-
width: 6rem;
|
|
50
49
|
word-break: break-word;
|
|
51
|
-
font-size: 0.
|
|
50
|
+
font-size: 0.875rem;
|
|
52
51
|
|
|
53
52
|
@include media-breakpoint-down(sm) {
|
|
54
53
|
display: none;
|
|
@@ -58,12 +57,35 @@
|
|
|
58
57
|
|
|
59
58
|
.payment-booking-summary {
|
|
60
59
|
transition: $color-transition;
|
|
61
|
-
background-color: transparent;
|
|
62
|
-
border: 1px solid transparent;
|
|
63
60
|
border-radius: $iframe-border-radius;
|
|
64
61
|
font-weight: 400;
|
|
65
62
|
font-size: 0.875rem;
|
|
66
63
|
|
|
64
|
+
.payment-page-toggle {
|
|
65
|
+
p {
|
|
66
|
+
font-size: 1rem;
|
|
67
|
+
font-weight: 600;
|
|
68
|
+
}
|
|
69
|
+
.price {
|
|
70
|
+
font-weight: 700;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.payment-metadata {
|
|
75
|
+
font-weight: 500;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.total {
|
|
79
|
+
display: flex;
|
|
80
|
+
justify-content: space-between;
|
|
81
|
+
align-items: center;
|
|
82
|
+
|
|
83
|
+
div {
|
|
84
|
+
font-size: 1rem;
|
|
85
|
+
font-weight: 700;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
|
|
67
89
|
b {
|
|
68
90
|
display: block;
|
|
69
91
|
font-size: 1rem;
|
|
@@ -115,6 +137,15 @@
|
|
|
115
137
|
|
|
116
138
|
.cart-items {
|
|
117
139
|
font-weight: 400;
|
|
140
|
+
margin-bottom: 1.4rem;
|
|
141
|
+
border-bottom: 2px solid $separator-color;
|
|
142
|
+
|
|
143
|
+
.people {
|
|
144
|
+
margin-bottom: 0;
|
|
145
|
+
p {
|
|
146
|
+
margin-bottom: 0;
|
|
147
|
+
}
|
|
148
|
+
}
|
|
118
149
|
|
|
119
150
|
.empty-cart {
|
|
120
151
|
margin: 1rem 0;
|
|
@@ -127,8 +158,11 @@
|
|
|
127
158
|
}
|
|
128
159
|
|
|
129
160
|
.products-by-menu-step {
|
|
161
|
+
margin-top: 1.4rem;
|
|
162
|
+
font-size: 0.875rem;
|
|
130
163
|
.title {
|
|
131
|
-
font-
|
|
164
|
+
font-size: 1rem;
|
|
165
|
+
font-weight: 600;
|
|
132
166
|
}
|
|
133
167
|
|
|
134
168
|
.categories {
|
|
@@ -138,8 +172,8 @@
|
|
|
138
172
|
}
|
|
139
173
|
|
|
140
174
|
.products {
|
|
141
|
-
margin-top:
|
|
142
|
-
|
|
175
|
+
margin-top: 1.4rem;
|
|
176
|
+
font-size: 0.875rem;
|
|
143
177
|
.product {
|
|
144
178
|
margin: 0.5rem 0;
|
|
145
179
|
|
|
@@ -150,6 +184,15 @@
|
|
|
150
184
|
margin-bottom: 0.5rem;
|
|
151
185
|
}
|
|
152
186
|
}
|
|
187
|
+
|
|
188
|
+
.name {
|
|
189
|
+
font-weight: 600;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
.price {
|
|
193
|
+
font-weight: 400;
|
|
194
|
+
font-size: 0.875rem;
|
|
195
|
+
}
|
|
153
196
|
}
|
|
154
197
|
|
|
155
198
|
&:not(:last-child) {
|
|
@@ -170,6 +213,12 @@
|
|
|
170
213
|
margin: 0 0 0.5rem;
|
|
171
214
|
|
|
172
215
|
.title {
|
|
216
|
+
font-size: 1rem;
|
|
217
|
+
font-weight: 600;
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
.metadata {
|
|
221
|
+
font-size: 0.95rem;
|
|
173
222
|
font-weight: 600;
|
|
174
223
|
}
|
|
175
224
|
}
|
|
@@ -183,19 +232,7 @@
|
|
|
183
232
|
}
|
|
184
233
|
|
|
185
234
|
hr {
|
|
186
|
-
margin:
|
|
187
|
-
border-width: 2px;
|
|
188
|
-
border-color: $separator-color;
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
.products {
|
|
192
|
-
font-size: 0.75rem;
|
|
193
|
-
|
|
194
|
-
.product {
|
|
195
|
-
.name {
|
|
196
|
-
font-weight: 500;
|
|
197
|
-
}
|
|
198
|
-
}
|
|
235
|
+
margin-bottom: 1.5rem;
|
|
199
236
|
}
|
|
200
237
|
}
|
|
201
238
|
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
// TODO when all iframe pages will be ready, think how we can combine it all in page-body style
|
|
1
2
|
.page-body {
|
|
2
3
|
display: flex;
|
|
3
4
|
background-color: transparent;
|
|
@@ -12,9 +13,6 @@
|
|
|
12
13
|
.left-block {
|
|
13
14
|
flex: 1;
|
|
14
15
|
align-items: stretch;
|
|
15
|
-
border-radius: 0.5rem;
|
|
16
|
-
border-bottom-left-radius: 0;
|
|
17
|
-
border-bottom-right-radius: 0;
|
|
18
16
|
padding: 1rem;
|
|
19
17
|
background-color: $snippet-page-body-left-block-background-color;
|
|
20
18
|
border: 0;
|
|
@@ -33,7 +31,6 @@
|
|
|
33
31
|
display: flex;
|
|
34
32
|
align-items: flex-start;
|
|
35
33
|
justify-content: space-between;
|
|
36
|
-
|
|
37
34
|
.title {
|
|
38
35
|
color: $snippet-elements-body-color;
|
|
39
36
|
margin: 0;
|
|
@@ -64,7 +61,7 @@
|
|
|
64
61
|
overflow-x: hidden;
|
|
65
62
|
scrollbar-width: thin;
|
|
66
63
|
.iframe-event-card {
|
|
67
|
-
border-bottom:
|
|
64
|
+
border-bottom: 1px solid $separator-color;
|
|
68
65
|
}
|
|
69
66
|
|
|
70
67
|
@include media-breakpoint-down(sm) {
|
|
@@ -81,9 +78,7 @@
|
|
|
81
78
|
}
|
|
82
79
|
|
|
83
80
|
.right-block {
|
|
84
|
-
|
|
85
|
-
border-radius: 0.5rem;
|
|
86
|
-
height: calc(100% - 1rem);
|
|
81
|
+
height: 100%;
|
|
87
82
|
max-width: 17.5rem;
|
|
88
83
|
min-width: 17.5rem;
|
|
89
84
|
width: 100%;
|
|
@@ -115,7 +110,7 @@
|
|
|
115
110
|
}
|
|
116
111
|
|
|
117
112
|
.collapse {
|
|
118
|
-
max-height: calc(100vh -
|
|
113
|
+
max-height: calc(100vh - 15rem);
|
|
119
114
|
transition: none 0s ease 0s;
|
|
120
115
|
|
|
121
116
|
&.show {
|
|
@@ -125,7 +120,7 @@
|
|
|
125
120
|
}
|
|
126
121
|
|
|
127
122
|
@include media-breakpoint-down(sm) {
|
|
128
|
-
max-height:
|
|
123
|
+
max-height: 100%;
|
|
129
124
|
}
|
|
130
125
|
}
|
|
131
126
|
.collapse-with-people-input {
|
|
@@ -151,8 +146,14 @@
|
|
|
151
146
|
}
|
|
152
147
|
|
|
153
148
|
.iframe-event-card {
|
|
154
|
-
|
|
155
|
-
|
|
149
|
+
border: none;
|
|
150
|
+
|
|
151
|
+
.card-image {
|
|
152
|
+
border-radius: 0;
|
|
153
|
+
}
|
|
154
|
+
.card-body {
|
|
155
|
+
padding-left: 1rem;
|
|
156
|
+
}
|
|
156
157
|
}
|
|
157
158
|
|
|
158
159
|
.price {
|
|
@@ -262,3 +263,24 @@
|
|
|
262
263
|
}
|
|
263
264
|
}
|
|
264
265
|
}
|
|
266
|
+
|
|
267
|
+
.event-list-page-body {
|
|
268
|
+
overflow: auto;
|
|
269
|
+
.left-block {
|
|
270
|
+
.navigation {
|
|
271
|
+
font-size: 1.125rem;
|
|
272
|
+
font-weight: 500;
|
|
273
|
+
padding-bottom: 2.625rem;
|
|
274
|
+
display: flex;
|
|
275
|
+
align-items: flex-start;
|
|
276
|
+
justify-content: space-between;
|
|
277
|
+
margin-top: 0.125rem;
|
|
278
|
+
|
|
279
|
+
.title {
|
|
280
|
+
position: absolute;
|
|
281
|
+
color: $snippet-elements-body-color;
|
|
282
|
+
margin: 0;
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
}
|
|
286
|
+
}
|
|
@@ -20,55 +20,57 @@ $base-height: 2.5rem;
|
|
|
20
20
|
transition: $color-transition;
|
|
21
21
|
border: 0;
|
|
22
22
|
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
23
25
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
.iframe-page {
|
|
27
|
+
.button-wrapper {
|
|
28
|
+
background-color: $snippet-page-header-steps-close-button-background-color;
|
|
29
|
+
height: $base-height;
|
|
30
|
+
width: $base-height;
|
|
31
|
+
border-radius: $base-height;
|
|
32
|
+
transition: $color-transition;
|
|
33
|
+
|
|
34
|
+
.close-button {
|
|
35
|
+
font-size: 1.25rem;
|
|
27
36
|
width: $base-height;
|
|
28
|
-
|
|
37
|
+
height: $base-height;
|
|
38
|
+
display: flex;
|
|
39
|
+
align-items: center;
|
|
40
|
+
justify-content: center;
|
|
41
|
+
color: $snippet-page-header-steps-close-button-border-color;
|
|
29
42
|
transition: $color-transition;
|
|
30
43
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
width: $base-height;
|
|
34
|
-
height: $base-height;
|
|
35
|
-
display: flex;
|
|
36
|
-
align-items: center;
|
|
37
|
-
justify-content: center;
|
|
38
|
-
color: $snippet-page-header-steps-close-button-border-color;
|
|
39
|
-
transition: $color-transition;
|
|
40
|
-
|
|
41
|
-
&:hover {
|
|
42
|
-
cursor: pointer;
|
|
43
|
-
}
|
|
44
|
+
&:hover {
|
|
45
|
+
cursor: pointer;
|
|
44
46
|
}
|
|
47
|
+
}
|
|
45
48
|
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
+
&.close-button {
|
|
50
|
+
margin-left: 1rem;
|
|
51
|
+
}
|
|
49
52
|
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
53
|
+
.back-button {
|
|
54
|
+
font-size: 2rem;
|
|
55
|
+
width: $base-height;
|
|
56
|
+
height: $base-height;
|
|
57
|
+
display: flex;
|
|
58
|
+
align-items: center;
|
|
59
|
+
justify-content: center;
|
|
60
|
+
font-weight: lighter;
|
|
61
|
+
color: $snippet-page-header-steps-close-button-border-color;
|
|
62
|
+
transition: $color-transition;
|
|
60
63
|
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
}
|
|
64
|
+
&:hover {
|
|
65
|
+
cursor: pointer;
|
|
64
66
|
}
|
|
67
|
+
}
|
|
65
68
|
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
}
|
|
69
|
+
&.back-button {
|
|
70
|
+
display: flex;
|
|
71
|
+
align-items: center;
|
|
72
|
+
justify-content: center;
|
|
73
|
+
margin-right: 1rem;
|
|
72
74
|
}
|
|
73
75
|
}
|
|
74
76
|
}
|