@licklist/design 0.58.6-dev.1 → 0.58.6-dev.11

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 (108) hide show
  1. package/dist/assets/iframe/calendar.svg +2 -2
  2. package/dist/assets/iframe/calendar.svg.js +1 -1
  3. package/dist/assets/iframe/ticket.svg +2 -2
  4. package/dist/assets/iframe/ticket.svg.js +1 -1
  5. package/dist/calendar/Calendar.d.ts +1 -1
  6. package/dist/calendar/Calendar.d.ts.map +1 -1
  7. package/dist/calendar/Calendar.js +1 -1
  8. package/dist/calendar/components/CalendarButtons/CalendarButtons.js +1 -1
  9. package/dist/calendar/components/CalendarDates/CalendarDates.d.ts +2 -2
  10. package/dist/calendar/components/CalendarDates/CalendarDates.d.ts.map +1 -1
  11. package/dist/calendar/components/CalendarDates/CalendarDates.js +1 -1
  12. package/dist/events/edit-event-modal/component/EditEventForm/EditEventForm.js +1 -1
  13. package/dist/events/event-statistic-modal/EventStatisticModal.js +1 -1
  14. package/dist/iframe/event/event-venue-map/IframeEventVenueMap.js +1 -1
  15. package/dist/iframe/order-process/components/BookingSummary/BookingSummary.d.ts +2 -2
  16. package/dist/iframe/order-process/components/BookingSummary/BookingSummary.d.ts.map +1 -1
  17. package/dist/iframe/order-process/components/BookingSummary/BookingSummary.js +1 -1
  18. package/dist/iframe/order-process/components/BookingSummary/components/BookingSummaryAccordion/BookingSummaryAccordion.d.ts +4 -2
  19. package/dist/iframe/order-process/components/BookingSummary/components/BookingSummaryAccordion/BookingSummaryAccordion.d.ts.map +1 -1
  20. package/dist/iframe/order-process/components/BookingSummary/components/BookingSummaryAccordion/BookingSummaryAccordion.js +1 -1
  21. package/dist/iframe/order-process/components/BookingSummary/components/SummaryTotal/components/SummaryTotalBlock.d.ts +1 -1
  22. package/dist/iframe/order-process/components/BookingSummary/components/SummaryTotal/components/SummaryTotalBlock.d.ts.map +1 -1
  23. package/dist/iframe/order-process/components/BookingSummary/components/SummaryTotal/components/SummaryTotalBlock.js +1 -1
  24. package/dist/iframe/order-process/components/BookingSummary/components/ToggleHeader/ToggleHeader.d.ts +4 -2
  25. package/dist/iframe/order-process/components/BookingSummary/components/ToggleHeader/ToggleHeader.d.ts.map +1 -1
  26. package/dist/iframe/order-process/components/BookingSummary/components/ToggleHeader/ToggleHeader.js +1 -1
  27. package/dist/iframe/order-process/components/BookingSummary/types/index.d.ts +4 -0
  28. package/dist/iframe/order-process/components/BookingSummary/types/index.d.ts.map +1 -1
  29. package/dist/iframe/order-process/components/CalendarStepsForm/CalendarStepsForm.js +1 -1
  30. package/dist/iframe/page/components/PageBody/components/LeftBlock/LeftBlock.js +1 -1
  31. package/dist/iframe/page/components/PageBody/constants.d.ts +1 -0
  32. package/dist/iframe/page/components/PageBody/constants.d.ts.map +1 -1
  33. package/dist/iframe/page/components/PageBody/constants.js +1 -1
  34. package/dist/iframe/page/components/PageBody/hooks/useResizePageBody.d.ts.map +1 -1
  35. package/dist/iframe/page/components/PageBody/hooks/useResizePageBody.js +1 -1
  36. package/dist/iframe/payment/order-items-table/OrderItemsTable.js +1 -1
  37. package/dist/iframe/payment/payment-form/PaymentForm.js +1 -1
  38. package/dist/iframe/payment/payment-page/PaymentPage.d.ts.map +1 -1
  39. package/dist/iframe/payment/payment-page/PaymentPage.js +1 -1
  40. package/dist/iframe/payment/payment-page/PaymentTimer.js +1 -1
  41. package/dist/iframe/payment/payment-status-page/PaymentStatusPage.js +1 -1
  42. package/dist/iframe/ryft/RyftPaymentForm.d.ts.map +1 -1
  43. package/dist/iframe/ryft/RyftPaymentForm.js +1 -1
  44. package/dist/iframe/ryft/utils/ryft-form.d.ts +5 -0
  45. package/dist/iframe/ryft/utils/ryft-form.d.ts.map +1 -0
  46. package/dist/iframe/ryft/utils/ryft-form.js +1 -0
  47. package/dist/index.js +1 -1
  48. package/dist/product-set/card/ProductSetCard.d.ts.map +1 -1
  49. package/dist/product-set/card/ProductSetCard.js +1 -1
  50. package/dist/product-set/control/DateInput.d.ts.map +1 -1
  51. package/dist/product-set/control/DateInput.js +1 -1
  52. package/dist/product-set/form/VenueMapsControl.js +1 -1
  53. package/dist/product-set/product/ProductControl.d.ts +1 -0
  54. package/dist/product-set/product/ProductControl.d.ts.map +1 -1
  55. package/dist/product-set/product/ProductControl.js +1 -1
  56. package/dist/product-set/product/constants.d.ts +1 -0
  57. package/dist/product-set/product/constants.d.ts.map +1 -1
  58. package/dist/product-set/product/constants.js +1 -1
  59. package/dist/product-set/product-category/ProductCategoryControl.d.ts +1 -0
  60. package/dist/product-set/product-category/ProductCategoryControl.d.ts.map +1 -1
  61. package/dist/product-set/product-category/ProductCategoryControl.js +1 -1
  62. package/dist/provider/working-hours-input/WorkingHoursInputDescription.d.ts.map +1 -1
  63. package/dist/provider/working-hours-input/WorkingHoursInputDescription.js +1 -1
  64. package/dist/recurring-date-picker-input/RecurrenceAndFrequencyInput.js +1 -1
  65. package/dist/sales/booking/results/components/ResultCard.js +1 -1
  66. package/dist/sales/notes/NotesTableRow.js +1 -1
  67. package/dist/setting/dashboard/snippets/card/SnippetCard.js +1 -1
  68. package/dist/snippet/snippet-template/control/PropertyControl.d.ts +3 -1
  69. package/dist/snippet/snippet-template/control/PropertyControl.d.ts.map +1 -1
  70. package/dist/snippet/snippet-template/control/PropertyControl.js +1 -1
  71. package/dist/snippet/snippet-template/preview/Preview.js +1 -1
  72. package/dist/sortable-tree/SortableTreeItem.d.ts.map +1 -1
  73. package/dist/sortable-tree/SortableTreeItem.js +1 -1
  74. package/dist/striped-static-table/StripedStaticTable.js +1 -1
  75. package/dist/styles/iframe-order-process/IframeOrderProcess.scss +57 -18
  76. package/dist/styles/iframe-page/PageBody.scss +2 -1
  77. package/dist/styles/ryft-payment-form/RyftPaymentForm.scss +125 -2
  78. package/dist/venue-map-sets/form/components/VenueMapImageControl.js +1 -1
  79. package/package.json +3 -5
  80. package/src/assets/iframe/calendar.svg +2 -2
  81. package/src/assets/iframe/ticket.svg +2 -2
  82. package/src/calendar/Calendar.stories.tsx +23 -0
  83. package/src/calendar/Calendar.tsx +5 -5
  84. package/src/calendar/components/CalendarDates/CalendarDates.tsx +0 -5
  85. package/src/iframe/order-process/components/BookingSummary/BookingSummary.stories.tsx +9 -0
  86. package/src/iframe/order-process/components/BookingSummary/BookingSummary.tsx +58 -7
  87. package/src/iframe/order-process/components/BookingSummary/components/BookingSummaryAccordion/BookingSummaryAccordion.tsx +8 -0
  88. package/src/iframe/order-process/components/BookingSummary/components/SummaryTotal/components/SummaryTotalBlock.tsx +4 -4
  89. package/src/iframe/order-process/components/BookingSummary/components/ToggleHeader/ToggleHeader.tsx +63 -10
  90. package/src/iframe/order-process/components/BookingSummary/types/index.ts +4 -0
  91. package/src/iframe/page/components/PageBody/constants.ts +2 -0
  92. package/src/iframe/page/components/PageBody/hooks/useResizePageBody.ts +10 -0
  93. package/src/iframe/payment/payment-page/PaymentPage.stories.tsx +546 -6
  94. package/src/iframe/payment/payment-page/PaymentPage.tsx +38 -29
  95. package/src/iframe/ryft/RyftPaymentForm.tsx +11 -5
  96. package/src/iframe/ryft/utils/ryft-form.ts +47 -0
  97. package/src/product-set/card/ProductSetCard.tsx +5 -3
  98. package/src/product-set/control/DateInput.tsx +24 -17
  99. package/src/product-set/product/ProductControl.tsx +25 -3
  100. package/src/product-set/product/constants.ts +1 -0
  101. package/src/product-set/product-category/ProductCategoryControl.tsx +105 -43
  102. package/src/provider/working-hours-input/WorkingHoursInputDescription.tsx +4 -18
  103. package/src/recurring-date-picker-input/RecurrenceAndFrequencyInput.tsx +1 -1
  104. package/src/snippet/snippet-template/control/PropertyControl.tsx +6 -2
  105. package/src/sortable-tree/SortableTreeItem.tsx +6 -4
  106. package/src/styles/iframe-order-process/IframeOrderProcess.scss +57 -18
  107. package/src/styles/iframe-page/PageBody.scss +2 -1
  108. package/src/styles/ryft-payment-form/RyftPaymentForm.scss +125 -2
@@ -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.75rem;
50
+ font-size: 0.875rem;
52
51
 
53
52
  @include media-breakpoint-down(sm) {
54
53
  display: none;
@@ -62,6 +61,31 @@
62
61
  font-weight: 400;
63
62
  font-size: 0.875rem;
64
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
+
65
89
  b {
66
90
  display: block;
67
91
  font-size: 1rem;
@@ -113,6 +137,15 @@
113
137
 
114
138
  .cart-items {
115
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
+ }
116
149
 
117
150
  .empty-cart {
118
151
  margin: 1rem 0;
@@ -125,8 +158,11 @@
125
158
  }
126
159
 
127
160
  .products-by-menu-step {
161
+ margin-top: 1.4rem;
162
+ font-size: 0.875rem;
128
163
  .title {
129
- font-weight: 500;
164
+ font-size: 1rem;
165
+ font-weight: 600;
130
166
  }
131
167
 
132
168
  .categories {
@@ -136,8 +172,8 @@
136
172
  }
137
173
 
138
174
  .products {
139
- margin-top: 0.5rem;
140
-
175
+ margin-top: 1.4rem;
176
+ font-size: 0.875rem;
141
177
  .product {
142
178
  margin: 0.5rem 0;
143
179
 
@@ -148,6 +184,15 @@
148
184
  margin-bottom: 0.5rem;
149
185
  }
150
186
  }
187
+
188
+ .name {
189
+ font-weight: 600;
190
+ }
191
+
192
+ .price {
193
+ font-weight: 400;
194
+ font-size: 0.875rem;
195
+ }
151
196
  }
152
197
 
153
198
  &:not(:last-child) {
@@ -168,6 +213,12 @@
168
213
  margin: 0 0 0.5rem;
169
214
 
170
215
  .title {
216
+ font-size: 1rem;
217
+ font-weight: 600;
218
+ }
219
+
220
+ .metadata {
221
+ font-size: 0.95rem;
171
222
  font-weight: 600;
172
223
  }
173
224
  }
@@ -181,19 +232,7 @@
181
232
  }
182
233
 
183
234
  hr {
184
- margin: 0;
185
- border-width: 2px;
186
- border-color: $separator-color;
187
- }
188
-
189
- .products {
190
- font-size: 0.75rem;
191
-
192
- .product {
193
- .name {
194
- font-weight: 500;
195
- }
196
- }
235
+ margin-bottom: 1.5rem;
197
236
  }
198
237
  }
199
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;
@@ -77,7 +78,7 @@
77
78
  }
78
79
 
79
80
  .right-block {
80
- height: calc(100% - 1rem);
81
+ height: 100%;
81
82
  max-width: 17.5rem;
82
83
  min-width: 17.5rem;
83
84
  width: 100%;
@@ -1,10 +1,52 @@
1
1
  .payment_link {
2
+ padding: 0 0 1rem 0;
3
+
4
+ .button-wrapper {
5
+ top: 2rem;
6
+ right: 2rem;
7
+ position: absolute;
8
+ z-index: 100;
9
+ }
10
+
2
11
  .page-body {
12
+ padding: 0;
13
+ height: calc(100vh - 2rem) !important;
14
+
15
+ .navigation {
16
+ display: block;
17
+ @include media-breakpoint-down(sm) {
18
+ padding: 0;
19
+ }
20
+ }
21
+
22
+ .right-block {
23
+ margin-left: 0;
24
+ height: calc(100vh - 2rem);
25
+ max-height: calc(100vh - 1rem);
26
+ @include media-breakpoint-down(sm) {
27
+ width: calc(100% - 2rem);
28
+ max-width: unset;
29
+ position: inherit;
30
+ overflow: visible;
31
+ margin: 0 1rem 1rem;
32
+ height: unset;
33
+ min-height: unset;
34
+ max-height: 100%;
35
+ }
36
+ }
37
+
3
38
  .left-block {
4
39
  .left-block-container {
5
40
  position: relative;
6
41
  max-height: 100%;
7
42
 
43
+ .payment-title {
44
+ font-size: 0.875rem;
45
+ font-weight: 600;
46
+ align-items: center;
47
+ margin-left: 0.5rem;
48
+ }
49
+
8
50
  .ryft-payment-form {
9
51
  .submit-button-wrapper {
10
52
  margin: -1rem 0 1rem;
@@ -13,7 +55,55 @@
13
55
  width: 100%;
14
56
  }
15
57
  }
58
+ #mobile-pay-divider-container {
59
+ display: flex;
60
+ position: relative;
61
+ margin-bottom: 1rem;
62
+ #mobile-pay-divider-text {
63
+ margin-right: 1rem;
64
+ font-size: 0.875rem;
65
+ font-weight: 600;
66
+ }
67
+ #mobile-pay-divider {
68
+ width: 100%;
69
+ border-bottom: 1px #dfdfdf solid;
70
+ margin-bottom: 0.6rem;
71
+ }
72
+ }
16
73
 
74
+ #card-title-container {
75
+ height: auto;
76
+ border: none;
77
+ margin-bottom: 0.5rem;
78
+ text-align: left;
79
+ :first-child {
80
+ font-size: 1rem;
81
+ font-weight: 600;
82
+ margin-bottom: 1rem;
83
+ }
84
+
85
+ .form-label {
86
+ margin-bottom: 0.5rem;
87
+ }
88
+ }
89
+ .mobile-pay-title {
90
+ display: block;
91
+ font-weight: 600;
92
+ font-size: 1rem;
93
+ color: black;
94
+ padding: 0;
95
+ font-style: normal;
96
+ font-family: inherit;
97
+ margin-bottom: 1rem;
98
+ }
99
+ }
100
+ .form {
101
+ .input {
102
+ border: 2px solid #525252 !important;
103
+ }
104
+ }
105
+
106
+ .ryft-payment-form {
17
107
  @include media-breakpoint-up(md) {
18
108
  .submit-button-wrapper {
19
109
  max-width: 15.5rem;
@@ -22,10 +112,9 @@
22
112
 
23
113
  // it's style for Google and Apple pay container, for unknown reasons we can't move this html elements with appendChild or replaceChild
24
114
  .ryft-pay-grid {
25
- position: absolute !important;
26
- top: 10rem;
27
115
  width: 100%;
28
116
  max-width: 15.5rem;
117
+ margin-bottom: 1rem;
29
118
  }
30
119
  .ryft-pay-apple-pay-button {
31
120
  border-radius: 0.25rem;
@@ -36,6 +125,36 @@
36
125
  display: none !important;
37
126
  }
38
127
  }
128
+ @include media-breakpoint-down(sm) {
129
+ .left-block-container {
130
+ max-height: 100%;
131
+ overflow: visible;
132
+ }
133
+ }
134
+ }
135
+
136
+ @include media-breakpoint-down(sm) {
137
+ flex-direction: column-reverse;
138
+ overflow: scroll;
139
+
140
+ @include media-breakpoint-down(sm) {
141
+ .left-block {
142
+ min-height: 100%;
143
+ }
144
+ .right-block {
145
+ margin: 0 auto;
146
+ width: 100%;
147
+ .children-wrapper {
148
+ .accordion {
149
+ .collapse {
150
+ overflow: visible;
151
+ overflow-x: unset;
152
+ scrollbar-width: unset;
153
+ }
154
+ }
155
+ }
156
+ }
157
+ }
39
158
  }
40
159
  }
41
160
  ::-webkit-scrollbar {
@@ -62,3 +181,7 @@
62
181
  }
63
182
  }
64
183
  }
184
+
185
+ #ryft-threeDSMethodIframe {
186
+ display: none;
187
+ }