@coras-io/embed 0.6.2 → 0.6.4

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/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # @coras-io/embed
2
2
 
3
+ ## 0.6.4
4
+
5
+ ### Patch Changes
6
+
7
+ - 6421877: Keep the selected range background between the first and last day in the multi-month calendar, so it no longer spills past the day circles on small screens.
8
+
9
+ ## 0.6.3
10
+
11
+ ### Patch Changes
12
+
13
+ - 9a6e7fc: Separate the landing page filter bar from the first section heading so the results no longer sit flush under the filter divider.
14
+ - 40d52fa: Centre the minimum order hint and truncate an overlong ticket selection with an ellipsis so the selector chevron stays inside the field
15
+
3
16
  ## 0.6.2
4
17
 
5
18
  ### Patch Changes
@@ -6,8 +6,9 @@ export default css `
6
6
  :host {
7
7
  /* The multi-month calendar is mounted directly by the landing page, not
8
8
  nested inside coras-calendar, so it does not inherit that component's
9
- token. Declare it here rather than reading a sibling's :host. */
9
+ tokens. Declare them here rather than reading a sibling's :host. */
10
10
  --calendar-header-font-size: var(--coras-font-size-base);
11
+ --calendar-selected-range-background-color: var(--coras-color-menu-hover);
11
12
 
12
13
  /* This calendar fills the sheet it is opened in, so the columns share the
13
14
  width instead of sitting in a fixed 252px block against one edge. The cap
@@ -42,6 +43,29 @@ export default css `
42
43
  max-width: 100%;
43
44
  aspect-ratio: 1;
44
45
  }
46
+
47
+ /* The wide cell would show the range background on both sides of
48
+ the circle, so paint only the half that faces the range. */
49
+ li.day.start,
50
+ li.day.end {
51
+ border-radius: 0;
52
+ }
53
+
54
+ li.day.start {
55
+ background: linear-gradient(
56
+ to right,
57
+ transparent 50%,
58
+ var(--calendar-selected-range-background-color) 50%
59
+ );
60
+ }
61
+
62
+ li.day.end {
63
+ background: linear-gradient(
64
+ to left,
65
+ transparent 50%,
66
+ var(--calendar-selected-range-background-color) 50%
67
+ );
68
+ }
45
69
  }
46
70
  }
47
71
  }
@@ -19,6 +19,13 @@ export default css `
19
19
  }
20
20
  }
21
21
 
22
+ :host #label {
23
+ min-width: 0;
24
+ overflow: hidden;
25
+ white-space: nowrap;
26
+ text-overflow: ellipsis;
27
+ }
28
+
22
29
  :host #arrow {
23
30
  transform: rotate(0deg);
24
31
  transition: transform 0.3s;
@@ -202,7 +202,7 @@ export default css `
202
202
  .min-booking-hint {
203
203
  margin: 0;
204
204
  padding: 0 1rem 0.5rem;
205
- text-align: left;
205
+ text-align: center;
206
206
  font-size: var(--details-page-min-booking-hint-font-size);
207
207
  font-weight: var(--details-page-min-booking-hint-font-weight);
208
208
  color: var(--details-page-min-booking-hint-color);
@@ -9,6 +9,7 @@ export default css `
9
9
  .landing-skeleton {
10
10
  display: flex;
11
11
  flex-direction: column;
12
+ margin-block-start: 1.75rem;
12
13
  gap: 2.5rem;
13
14
 
14
15
  .sk-section {
@@ -80,7 +81,10 @@ export default css `
80
81
  header.hero-section {
81
82
  display: flex;
82
83
  flex-direction: column;
83
- row-gap: 2rem;
84
+
85
+ coras-location-image {
86
+ margin-block-start: 2rem;
87
+ }
84
88
 
85
89
  .filters {
86
90
  display: flex;
@@ -88,20 +92,27 @@ export default css `
88
92
  align-items: center;
89
93
  column-gap: 0.5rem;
90
94
  row-gap: 0.75rem;
95
+ margin-block-start: 2rem;
91
96
  padding-block: 1rem;
92
97
  border-top: 1px solid var(--coras-color-divider);
93
98
  border-bottom: 1px solid var(--coras-color-divider);
94
99
  }
100
+
101
+ .breadcrumbs-container {
102
+ margin-block-start: 1rem;
103
+ }
95
104
  }
96
105
 
97
106
  .attractions-sections {
107
+ margin-block-start: 1.75rem;
108
+
98
109
  .popular-title {
99
110
  font-family: var(--coras-font-family-sans);
100
111
  font-weight: var(--coras-font-weight-normal);
101
112
  font-size: var(--coras-font-size-sm);
102
113
  line-height: 16px;
103
114
  letter-spacing: 0;
104
- margin: 2rem 0 1rem 0;
115
+ margin-block: 0 1rem;
105
116
  }
106
117
 
107
118
  section {
package/package.json CHANGED
@@ -20,7 +20,7 @@
20
20
  "engines": {
21
21
  "node": ">=22"
22
22
  },
23
- "version": "0.6.2",
23
+ "version": "0.6.4",
24
24
  "private": false,
25
25
  "homepage": "https://docs.coras.io",
26
26
  "bugs": {