@semics-tech/emdash-events 1.0.0-rc.8 → 1.0.0-rc.9
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/dist/index.mjs +1 -1
- package/dist/manifest.json +1 -1
- package/package.json +1 -1
- package/src/astro/BookingWidget.astro +4 -2
package/dist/index.mjs
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
/** @type {import("emdash").PluginDescriptor} */
|
|
8
8
|
const descriptor = Object.freeze({
|
|
9
9
|
"id": "semics-events",
|
|
10
|
-
"version": "1.0.0-rc.
|
|
10
|
+
"version": "1.0.0-rc.9",
|
|
11
11
|
"format": "standard",
|
|
12
12
|
"entrypoint": "@semics-tech/emdash-events/sandbox",
|
|
13
13
|
"capabilities": [
|
package/dist/manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -600,6 +600,7 @@ const when = (iso: string) => {
|
|
|
600
600
|
gap: 0.75rem;
|
|
601
601
|
}
|
|
602
602
|
.semics-picker-nav {
|
|
603
|
+
max-inline-size: var(--events-calendar-max, 26rem);
|
|
603
604
|
display: flex;
|
|
604
605
|
flex-wrap: wrap;
|
|
605
606
|
align-items: center;
|
|
@@ -636,9 +637,10 @@ const when = (iso: string) => {
|
|
|
636
637
|
.semics-picker p {
|
|
637
638
|
margin: 0;
|
|
638
639
|
}
|
|
639
|
-
/* Room between the days: cells 6px apart, buttons at least 44px tall.
|
|
640
|
+
/* Room between the days: cells 6px apart, buttons at least 44px tall. The calendar keeps its size in a wide host column:
|
|
641
|
+
at most `--events-calendar-max` (26rem, days about 54px) while the rest of the widget fills the column (T159). */
|
|
640
642
|
.semics-calendar {
|
|
641
|
-
inline-size: calc(100
|
|
643
|
+
inline-size: calc(min(100%, var(--events-calendar-max, 26rem)) + 0.75rem);
|
|
642
644
|
margin: -0.375rem;
|
|
643
645
|
border-collapse: separate;
|
|
644
646
|
border-spacing: 0.375rem;
|