@licklist/design 0.52.0 → 0.53.0-dev.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 (108) hide show
  1. package/dist/calendar/Calendar.d.ts +3 -8
  2. package/dist/calendar/Calendar.d.ts.map +1 -1
  3. package/dist/calendar/Calendar.js +1 -1
  4. package/dist/calendar/components/CalendarButtons/CalendarButtons.d.ts +2 -2
  5. package/dist/calendar/components/CalendarButtons/CalendarButtons.d.ts.map +1 -1
  6. package/dist/calendar/components/CalendarButtons/CalendarButtons.js +1 -1
  7. package/dist/calendar/components/CalendarDates/CalendarDates.d.ts +2 -2
  8. package/dist/calendar/components/CalendarDates/CalendarDates.d.ts.map +1 -1
  9. package/dist/calendar/components/CalendarDates/CalendarDates.js +1 -1
  10. package/dist/calendar/utils/index.d.ts +0 -2
  11. package/dist/calendar/utils/index.d.ts.map +1 -1
  12. package/dist/calendar/utils/index.js +1 -1
  13. package/dist/date-time-button/DateTimeButton.d.ts +3 -3
  14. package/dist/date-time-button/DateTimeButton.d.ts.map +1 -1
  15. package/dist/events/edit-event-modal/IntervalInput.d.ts.map +1 -1
  16. package/dist/events/edit-event-modal/IntervalInput.js +1 -1
  17. package/dist/events/edit-event-modal/hooks/index.d.ts +3 -0
  18. package/dist/events/edit-event-modal/hooks/index.d.ts.map +1 -0
  19. package/dist/events/edit-event-modal/hooks/useFormattedDuration.d.ts +2 -0
  20. package/dist/events/edit-event-modal/hooks/useFormattedDuration.d.ts.map +1 -0
  21. package/dist/events/edit-event-modal/hooks/useFormattedDuration.js +1 -0
  22. package/dist/events/edit-event-modal/hooks/useValidationOptions.d.ts +11 -0
  23. package/dist/events/edit-event-modal/hooks/useValidationOptions.d.ts.map +1 -0
  24. package/dist/events/edit-event-modal/hooks/useValidationOptions.js +1 -0
  25. package/dist/events/event-venue-map/components/Scrollbars/Scrollbars.js +1 -1
  26. package/dist/iframe/event/event-card/IframeEventCard.d.ts +2 -1
  27. package/dist/iframe/event/event-card/IframeEventCard.d.ts.map +1 -1
  28. package/dist/iframe/event/event-card/IframeEventCard.js +1 -1
  29. package/dist/iframe/order-process/components/BookingSummary/BookingSummary.d.ts +1 -1
  30. package/dist/iframe/order-process/components/BookingSummary/BookingSummary.d.ts.map +1 -1
  31. package/dist/iframe/order-process/components/BookingSummary/BookingSummary.js +1 -1
  32. package/dist/iframe/order-process/components/BookingSummary/components/ProductSummary/ProductSummary.d.ts +2 -1
  33. package/dist/iframe/order-process/components/BookingSummary/components/ProductSummary/ProductSummary.d.ts.map +1 -1
  34. package/dist/iframe/order-process/components/BookingSummary/components/ProductSummary/ProductSummary.js +1 -1
  35. package/dist/iframe/order-process/components/BookingSummary/components/ProductsByMenuStep/ProductsByMenuStep.d.ts +2 -1
  36. package/dist/iframe/order-process/components/BookingSummary/components/ProductsByMenuStep/ProductsByMenuStep.d.ts.map +1 -1
  37. package/dist/iframe/order-process/components/BookingSummary/components/ProductsByMenuStep/ProductsByMenuStep.js +1 -1
  38. package/dist/iframe/order-process/components/BookingSummary/components/ToggleHeader/ToggleHeader.js +1 -1
  39. package/dist/iframe/order-process/components/BookingSummary/types/index.d.ts +1 -0
  40. package/dist/iframe/order-process/components/BookingSummary/types/index.d.ts.map +1 -1
  41. package/dist/iframe/order-process/components/BookingSummary/utils/index.d.ts.map +1 -1
  42. package/dist/iframe/order-process/components/BookingSummary/utils/index.js +1 -1
  43. package/dist/iframe/order-process/components/CategoryProduct/CategoryProduct.d.ts.map +1 -1
  44. package/dist/iframe/order-process/components/CategoryProduct/CategoryProduct.js +1 -1
  45. package/dist/iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.d.ts.map +1 -1
  46. package/dist/iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.js +1 -1
  47. package/dist/iframe/order-process/components/CategoryProduct/components/ProductQuantityInput/ProductQuantityInput.d.ts +2 -1
  48. package/dist/iframe/order-process/components/CategoryProduct/components/ProductQuantityInput/ProductQuantityInput.d.ts.map +1 -1
  49. package/dist/iframe/order-process/components/CategoryProduct/components/ProductQuantityInput/ProductQuantityInput.js +1 -1
  50. package/dist/index.js +1 -1
  51. package/dist/notification/email-template/control/EmailTemplateControl.d.ts.map +1 -1
  52. package/dist/notification/email-template/control/EmailTemplateControl.js +1 -1
  53. package/dist/sales/booking/results/components/ResultCard.d.ts.map +1 -1
  54. package/dist/sales/booking/results/components/ResultCard.js +1 -1
  55. package/dist/sales/manual-booking/summary/ManualBookingSummary.d.ts +2 -1
  56. package/dist/sales/manual-booking/summary/ManualBookingSummary.d.ts.map +1 -1
  57. package/dist/sales/manual-booking/summary/ManualBookingSummary.js +1 -1
  58. package/dist/snippet/snippet-template/preview/Preview.d.ts.map +1 -1
  59. package/dist/snippet/snippet-template/preview/Preview.js +1 -1
  60. package/dist/static/date-range-input/DateRangeInput.d.ts.map +1 -1
  61. package/dist/static/date-range-input/DateRangeInput.js +1 -1
  62. package/dist/styles/resources-blocking/_index.scss +6 -0
  63. package/dist/styles/sales/BookingFilter.scss +18 -0
  64. package/dist/styles/sales/BookingResults.scss +1 -1
  65. package/dist/styles/sales/BookingTabs.scss +63 -5
  66. package/dist/styles/sales/LifeTimeSales.scss +1 -0
  67. package/dist/styles/sales/ManualBooking.scss +62 -3
  68. package/dist/styles/sales/SourceOfSales.scss +3 -0
  69. package/dist/styles/snippet-templates/SnippetTemplate.scss +17 -11
  70. package/dist/styles/snippet-templates/SnippetTemplateCard.scss +3 -2
  71. package/dist/styles/static/Tabs.scss +6 -0
  72. package/dist/styles/themes/bookedit/_index.scss +9 -8
  73. package/package.json +3 -3
  74. package/src/calendar/Calendar.tsx +9 -16
  75. package/src/calendar/components/CalendarButtons/CalendarButtons.tsx +8 -5
  76. package/src/calendar/components/CalendarDates/CalendarDates.tsx +12 -13
  77. package/src/calendar/utils/index.ts +0 -19
  78. package/src/date-time-button/DateTimeButton.tsx +3 -3
  79. package/src/events/edit-event-modal/IntervalInput.tsx +8 -80
  80. package/src/events/edit-event-modal/hooks/index.ts +2 -0
  81. package/src/events/edit-event-modal/hooks/useFormattedDuration.tsx +40 -0
  82. package/src/events/edit-event-modal/hooks/useValidationOptions.tsx +36 -0
  83. package/src/iframe/event/event-card/IframeEventCard.tsx +3 -1
  84. package/src/iframe/order-process/components/BookingSummary/BookingSummary.tsx +2 -0
  85. package/src/iframe/order-process/components/BookingSummary/components/ProductSummary/ProductSummary.tsx +12 -6
  86. package/src/iframe/order-process/components/BookingSummary/components/ProductsByMenuStep/ProductsByMenuStep.tsx +3 -0
  87. package/src/iframe/order-process/components/BookingSummary/types/index.ts +1 -0
  88. package/src/iframe/order-process/components/BookingSummary/utils/index.ts +2 -4
  89. package/src/iframe/order-process/components/CategoryProduct/CategoryProduct.tsx +13 -23
  90. package/src/iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.tsx +10 -3
  91. package/src/iframe/order-process/components/CategoryProduct/components/ProductQuantityInput/ProductQuantityInput.tsx +9 -3
  92. package/src/notification/email-template/control/EmailTemplateControl.tsx +5 -15
  93. package/src/sales/booking/results/components/ResultCard.tsx +6 -4
  94. package/src/sales/manual-booking/summary/ManualBookingSummary.tsx +9 -1
  95. package/src/snippet/snippet-template/preview/Preview.tsx +3 -0
  96. package/src/static/date-range-input/DateRangeInput.tsx +23 -2
  97. package/src/static/switch/BooleanSwitch.tsx +1 -1
  98. package/src/styles/resources-blocking/_index.scss +6 -0
  99. package/src/styles/sales/BookingFilter.scss +18 -0
  100. package/src/styles/sales/BookingResults.scss +1 -1
  101. package/src/styles/sales/BookingTabs.scss +63 -5
  102. package/src/styles/sales/LifeTimeSales.scss +1 -0
  103. package/src/styles/sales/ManualBooking.scss +62 -3
  104. package/src/styles/sales/SourceOfSales.scss +3 -0
  105. package/src/styles/snippet-templates/SnippetTemplate.scss +17 -11
  106. package/src/styles/snippet-templates/SnippetTemplateCard.scss +3 -2
  107. package/src/styles/static/Tabs.scss +6 -0
  108. package/src/styles/themes/bookedit/_index.scss +9 -8
@@ -361,10 +361,11 @@
361
361
  width: inherit;
362
362
 
363
363
  @include media-breakpoint-down(sm) {
364
- padding: 0 0.5rem;
365
- padding-top: 2rem;
364
+ display: none;
366
365
  }
367
366
 
367
+
368
+
368
369
  .form-control {
369
370
  margin-bottom: 1.5rem;
370
371
  }
@@ -411,6 +412,64 @@
411
412
  }
412
413
  }
413
414
 
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
+
414
473
  .menu-list-manual-booking {
415
474
  display: flex;
416
475
  align-items: center;
@@ -437,4 +496,4 @@
437
496
  color: $blue;
438
497
  }
439
498
  }
440
- }
499
+ }
@@ -13,6 +13,9 @@
13
13
 
14
14
  &__pie-chart {
15
15
  height: 100%;
16
+ @include media-breakpoint-down(sm) {
17
+ height: 12rem;
18
+ }
16
19
  }
17
20
 
18
21
  .colors-0 {
@@ -59,7 +59,8 @@
59
59
  color: $snippet-elements-button-color;
60
60
  border: none;
61
61
  background-color: $snippet-elements-button-background-color;
62
- box-shadow: 0 0 0 $input-btn-focus-width $snippet-elements-button-background-color;
62
+ box-shadow: 0 0 0 $input-btn-focus-width
63
+ $snippet-elements-button-background-color;
63
64
  }
64
65
 
65
66
  &:disabled {
@@ -72,14 +73,14 @@
72
73
  &:focus,
73
74
  &.focus {
74
75
  &:not(:disabled) {
75
- opacity: .7;
76
+ opacity: 0.7;
76
77
  }
77
78
  }
78
79
 
79
80
  &:active,
80
81
  &.active {
81
82
  &:not(:disabled) {
82
- opacity: .8;
83
+ opacity: 0.8;
83
84
  }
84
85
  }
85
86
  }
@@ -90,7 +91,7 @@
90
91
  }
91
92
 
92
93
  &__label {
93
- font-size: .8rem;
94
+ font-size: 0.8rem;
94
95
  margin-top: 1rem;
95
96
  margin-bottom: 0.2rem;
96
97
  }
@@ -103,8 +104,8 @@
103
104
  position: absolute;
104
105
  top: 0;
105
106
  right: 0;
106
- margin-right: .5rem;
107
- margin-top: .5rem;
107
+ margin-right: 0.5rem;
108
+ margin-top: 0.5rem;
108
109
  }
109
110
 
110
111
  .form-label {
@@ -181,7 +182,8 @@
181
182
  color: $snippet-elements-button-color;
182
183
  border: none;
183
184
  background-color: $snippet-elements-button-background-color;
184
- box-shadow: 0 0 0 $input-btn-focus-width $snippet-elements-button-background-color;
185
+ box-shadow: 0 0 0 $input-btn-focus-width
186
+ $snippet-elements-button-background-color;
185
187
  }
186
188
 
187
189
  &:disabled {
@@ -194,14 +196,14 @@
194
196
  &:focus,
195
197
  &.focus {
196
198
  &:not(:disabled) {
197
- opacity: .7;
199
+ opacity: 0.7;
198
200
  }
199
201
  }
200
202
 
201
203
  &:active,
202
204
  &.active {
203
205
  &:not(:disabled) {
204
- opacity: .8;
206
+ opacity: 0.8;
205
207
  }
206
208
  }
207
209
  }
@@ -336,7 +338,8 @@
336
338
  }
337
339
  }
338
340
 
339
- .bottom-wrapper, .snippet-template__form {
341
+ .bottom-wrapper,
342
+ .snippet-template__form {
340
343
  .btn {
341
344
  border-radius: 0.25rem;
342
345
  width: 100%;
@@ -381,6 +384,10 @@
381
384
  }
382
385
  }
383
386
 
387
+ .disabled-number-input-button {
388
+ background-color: $snippet-calendar-disabled-button-font-color !important;
389
+ border-color: $snippet-calendar-disabled-button-font-color !important;
390
+ }
384
391
  .color-picker {
385
392
  &__color {
386
393
  position: absolute;
@@ -442,7 +449,6 @@
442
449
  }
443
450
  }
444
451
  }
445
-
446
452
  }
447
453
 
448
454
  @include media-breakpoint-down(xs) {
@@ -28,12 +28,13 @@ $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
- width: 15rem;
31
+ min-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%;
37
38
  }
38
39
 
39
40
  p {
@@ -109,4 +110,4 @@ $snippet-template-card-button-transition: $product-set-card-transition !default;
109
110
  &:hover {
110
111
  border: 2px solid $blue;
111
112
  }
112
- }
113
+ }
@@ -11,6 +11,12 @@ $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
+
14
20
  .nav-link {
15
21
  color: $tab-nav-link-color;
16
22
  background-color: transparent;
@@ -98,7 +98,8 @@
98
98
  color: gray("600");
99
99
 
100
100
  &.sortable {
101
- &::before, &::after {
101
+ &::before,
102
+ &::after {
102
103
  opacity: 1;
103
104
  }
104
105
 
@@ -132,20 +133,20 @@
132
133
  width: 2.5rem;
133
134
  height: 2.5rem;
134
135
  background-color: transparent;
135
-
136
+
136
137
  svg {
137
138
  margin-bottom: 2.5px;
138
139
  }
139
140
 
140
141
  &:hover {
141
142
  cursor: pointer;
142
- border-radius: .5rem;
143
+ border-radius: 0.5rem;
143
144
  background-color: lighten($primary, 40);
144
145
  }
145
146
  }
146
147
 
147
148
  .page-item {
148
- margin-left: .4rem;
149
+ margin-left: 0.4rem;
149
150
  min-width: 15px;
150
151
  width: 2.5rem;
151
152
  height: 2.5rem;
@@ -153,7 +154,7 @@
153
154
  .page-link {
154
155
  border: 0;
155
156
  padding: 0;
156
- border-radius: .5rem;
157
+ border-radius: 0.5rem;
157
158
  height: 100%;
158
159
  display: flex;
159
160
  align-items: center;
@@ -162,13 +163,13 @@
162
163
  color: $black;
163
164
  font-weight: 600;
164
165
  font-size: 0.875rem;
165
-
166
+
166
167
  &:hover {
167
- border-radius: .5rem;
168
+ border-radius: 0.5rem;
168
169
  background-color: lighten($primary, 40);
169
170
  }
170
171
  }
171
-
172
+
172
173
  &.active {
173
174
  .page-link {
174
175
  border: 2px solid $primary;