@f-ewald/components 1.27.2 → 1.27.3
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/custom-elements.json +83 -3
- package/dist/calendar-day.d.ts +21 -0
- package/dist/calendar-day.d.ts.map +1 -1
- package/dist/calendar-day.js +131 -9
- package/dist/calendar-day.js.map +1 -1
- package/dist/calendar-entry.d.ts +1 -0
- package/dist/calendar-entry.d.ts.map +1 -1
- package/dist/calendar-entry.js +2 -1
- package/dist/calendar-entry.js.map +1 -1
- package/dist/calendar-month.d.ts +3 -3
- package/dist/calendar-month.d.ts.map +1 -1
- package/dist/calendar-month.js +40 -7
- package/dist/calendar-month.js.map +1 -1
- package/dist/calendar-week.d.ts.map +1 -1
- package/dist/calendar-week.js +30 -3
- package/dist/calendar-week.js.map +1 -1
- package/dist/utils/calendar.d.ts +1 -0
- package/dist/utils/calendar.d.ts.map +1 -1
- package/dist/utils/calendar.js +2 -0
- package/dist/utils/calendar.js.map +1 -1
- package/docs/calendar-day.md +7 -1
- package/docs/calendar-entry.md +2 -0
- package/docs/calendar-month.md +3 -0
- package/docs/calendar-week.md +5 -1
- package/llms.txt +12 -5
- package/package.json +1 -1
package/docs/calendar-month.md
CHANGED
|
@@ -36,6 +36,9 @@ import "@f-ewald/components/calendar-month.js";
|
|
|
36
36
|
<span slot="detail">Talks and workshops</span>
|
|
37
37
|
<span slot="footer">Closing keynote · July 20</span>
|
|
38
38
|
</calendar-entry>
|
|
39
|
+
<calendar-entry start="2026-07-27" end="2026-07-28" label="Client lunch" color="neutral">
|
|
40
|
+
<span slot="location">Downtown bistro</span>
|
|
41
|
+
</calendar-entry>
|
|
39
42
|
</calendar-month>
|
|
40
43
|
```
|
|
41
44
|
|
package/docs/calendar-week.md
CHANGED
|
@@ -26,7 +26,9 @@ import "@f-ewald/components/calendar-week.js";
|
|
|
26
26
|
<calendar-week date="2026-07-15">
|
|
27
27
|
<calendar-entry start="2026-07-13" end="2026-07-15" label="Offsite" color="primary" href="#offsite"></calendar-entry>
|
|
28
28
|
<calendar-entry start="2026-07-14T09:00" end="2026-07-14T09:30" label="Standup" color="info"></calendar-entry>
|
|
29
|
-
<calendar-entry start="2026-07-16T14:00" end="2026-07-16T15:00" label="Customer demo" color="success"
|
|
29
|
+
<calendar-entry start="2026-07-16T14:00" end="2026-07-16T15:00" label="Customer demo" color="success">
|
|
30
|
+
<span slot="location">Main conference room</span>
|
|
31
|
+
</calendar-entry>
|
|
30
32
|
</calendar-week>
|
|
31
33
|
```
|
|
32
34
|
|
|
@@ -57,7 +59,9 @@ _None._
|
|
|
57
59
|
| `--ui-font` |
|
|
58
60
|
| `--ui-font-size-lg` |
|
|
59
61
|
| `--ui-font-size-sm` |
|
|
62
|
+
| `--ui-font-size-xs` |
|
|
60
63
|
| `--ui-font-weight-medium` |
|
|
64
|
+
| `--ui-font-weight-regular` |
|
|
61
65
|
| `--ui-font-weight-semibold` |
|
|
62
66
|
| `--ui-hover-overlay` |
|
|
63
67
|
| `--ui-info` |
|
package/llms.txt
CHANGED
|
@@ -400,17 +400,18 @@ interaction sync with `calendar-week` via `CalendarTimelineBase`.
|
|
|
400
400
|
|
|
401
401
|
Import: `import "@f-ewald/components/calendar-day.js";`
|
|
402
402
|
|
|
403
|
-
Properties: `date` (attribute `date`) : string, default
|
|
403
|
+
Properties: `date` (attribute `date`) : string, default —; `timeMarker` (attribute `time-marker`) : boolean, default false; `minWidth` (attribute `min-width`) : string, default ""
|
|
404
404
|
Events: none
|
|
405
|
-
CSS custom properties: `--ui-border`, `--ui-danger`, `--ui-focus-ring`, `--ui-font`, `--ui-font-size-lg`, `--ui-font-size-sm`, `--ui-font-weight-medium`, `--ui-font-weight-semibold`, `--ui-hover-overlay`, `--ui-info`, `--ui-line-height-tight`, `--ui-primary`, `--ui-radius-sm`, `--ui-success`, `--ui-surface`, `--ui-text`, `--ui-text-muted`, `--ui-warning`
|
|
405
|
+
CSS custom properties: `--ui-border`, `--ui-danger`, `--ui-focus-ring`, `--ui-font`, `--ui-font-size-lg`, `--ui-font-size-sm`, `--ui-font-size-xs`, `--ui-font-weight-medium`, `--ui-font-weight-regular`, `--ui-font-weight-semibold`, `--ui-hover-overlay`, `--ui-info`, `--ui-line-height-tight`, `--ui-primary`, `--ui-radius-sm`, `--ui-success`, `--ui-surface`, `--ui-surface-muted`, `--ui-text`, `--ui-text-muted`, `--ui-warning`
|
|
406
406
|
|
|
407
407
|
Example:
|
|
408
408
|
```html
|
|
409
|
-
<calendar-day date="2026-07-15">
|
|
409
|
+
<calendar-day date="2026-07-15" time-marker>
|
|
410
410
|
<calendar-entry start="2026-07-15" end="2026-07-15" label="Company holiday" color="neutral"></calendar-entry>
|
|
411
411
|
<calendar-entry start="2026-07-15T09:00" end="2026-07-15T09:30" label="Standup" color="info"></calendar-entry>
|
|
412
412
|
<calendar-entry start="2026-07-15T09:15" end="2026-07-15T10:00" label="Design review" color="primary" href="#review">
|
|
413
413
|
<span slot="detail">Walk through the new onboarding flow</span>
|
|
414
|
+
<span slot="location">Room A</span>
|
|
414
415
|
</calendar-entry>
|
|
415
416
|
</calendar-day>
|
|
416
417
|
```
|
|
@@ -436,6 +437,7 @@ Example:
|
|
|
436
437
|
color="success"
|
|
437
438
|
>
|
|
438
439
|
<span slot="title">Vacation</span>
|
|
440
|
+
<span slot="location">Beach house</span>
|
|
439
441
|
<span slot="detail">Out of office</span>
|
|
440
442
|
<span slot="detail">Road trip along the California coast with several scenic stops</span>
|
|
441
443
|
<span slot="footer">Return July 19 at 6 PM</span>
|
|
@@ -479,6 +481,9 @@ Example:
|
|
|
479
481
|
<span slot="detail">Talks and workshops</span>
|
|
480
482
|
<span slot="footer">Closing keynote · July 20</span>
|
|
481
483
|
</calendar-entry>
|
|
484
|
+
<calendar-entry start="2026-07-27" end="2026-07-28" label="Client lunch" color="neutral">
|
|
485
|
+
<span slot="location">Downtown bistro</span>
|
|
486
|
+
</calendar-entry>
|
|
482
487
|
</calendar-month>
|
|
483
488
|
```
|
|
484
489
|
|
|
@@ -502,14 +507,16 @@ Import: `import "@f-ewald/components/calendar-week.js";`
|
|
|
502
507
|
|
|
503
508
|
Properties: `date` (attribute `date`) : string, default —
|
|
504
509
|
Events: none
|
|
505
|
-
CSS custom properties: `--ui-border`, `--ui-danger`, `--ui-focus-ring`, `--ui-font`, `--ui-font-size-lg`, `--ui-font-size-sm`, `--ui-font-weight-medium`, `--ui-font-weight-semibold`, `--ui-hover-overlay`, `--ui-info`, `--ui-primary`, `--ui-radius-sm`, `--ui-success`, `--ui-surface`, `--ui-text`, `--ui-text-muted`, `--ui-warning`
|
|
510
|
+
CSS custom properties: `--ui-border`, `--ui-danger`, `--ui-focus-ring`, `--ui-font`, `--ui-font-size-lg`, `--ui-font-size-sm`, `--ui-font-size-xs`, `--ui-font-weight-medium`, `--ui-font-weight-regular`, `--ui-font-weight-semibold`, `--ui-hover-overlay`, `--ui-info`, `--ui-primary`, `--ui-radius-sm`, `--ui-success`, `--ui-surface`, `--ui-text`, `--ui-text-muted`, `--ui-warning`
|
|
506
511
|
|
|
507
512
|
Example:
|
|
508
513
|
```html
|
|
509
514
|
<calendar-week date="2026-07-15">
|
|
510
515
|
<calendar-entry start="2026-07-13" end="2026-07-15" label="Offsite" color="primary" href="#offsite"></calendar-entry>
|
|
511
516
|
<calendar-entry start="2026-07-14T09:00" end="2026-07-14T09:30" label="Standup" color="info"></calendar-entry>
|
|
512
|
-
<calendar-entry start="2026-07-16T14:00" end="2026-07-16T15:00" label="Customer demo" color="success"
|
|
517
|
+
<calendar-entry start="2026-07-16T14:00" end="2026-07-16T15:00" label="Customer demo" color="success">
|
|
518
|
+
<span slot="location">Main conference room</span>
|
|
519
|
+
</calendar-entry>
|
|
513
520
|
</calendar-week>
|
|
514
521
|
```
|
|
515
522
|
|