@htmlbricks/hb-calendar-appointments 0.71.36 → 0.71.37
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/README.md +1 -2
- package/manifest.json +8 -11
- package/package.json +1 -1
- package/types/webcomponent.type.d.json +0 -3
- package/types/webcomponent.type.d.ts +0 -1
package/README.md
CHANGED
|
@@ -49,7 +49,6 @@ HTML attributes are strings. Align with your bridge; the component’s `$effect`
|
|
|
49
49
|
| Name | Typing (`Component`) | Notes |
|
|
50
50
|
|------|----------------------|--------|
|
|
51
51
|
| `id` | `string` (optional) | Passed through like other props; host `id` if set as attribute. |
|
|
52
|
-
| `style` | `string` (optional) | Present in authoring types; not destructured in `component.wc.svelte` (host styling may still apply as a native attribute). |
|
|
53
52
|
| `date` | `Date` (optional) | Default: start of current month (`dayjs().startOf("month")`). Drives which month’s events are shown. From HTML, use an ISO-like string your runtime parses to `Date` / or set the property in JS. |
|
|
54
53
|
| `events` | `IEvent[]` (optional) | JSON array string from attributes; each item: `date`, `label`, `id` required for useful rows; `link`, `icon`, `color` optional (`link` / `icon` are **not read** by the template). |
|
|
55
54
|
| `selected` | `Date` (optional) | Parsed from string in `$effect`. No built-in control updates selection or emits `changeSelectedDate`. |
|
|
@@ -106,7 +105,7 @@ Documented in `extra/docs.ts`; defaults from code (`styles/webcomponent.scss` +
|
|
|
106
105
|
|
|
107
106
|
Authoring types live in `types/webcomponent.type.d.ts`:
|
|
108
107
|
|
|
109
|
-
- **`Component`** — `id`, `
|
|
108
|
+
- **`Component`** — `id`, `date`, `events`, `selected`, `disable_header`
|
|
110
109
|
- **`IEvent`** — event record shape
|
|
111
110
|
- **`Events`** — `calendarEventClick`, `changeCalendarDate`, `changeSelectedDate`
|
|
112
111
|
|
package/manifest.json
CHANGED
|
@@ -81,9 +81,6 @@
|
|
|
81
81
|
"selected": {
|
|
82
82
|
"format": "date-time",
|
|
83
83
|
"type": "string"
|
|
84
|
-
},
|
|
85
|
-
"style": {
|
|
86
|
-
"type": "string"
|
|
87
84
|
}
|
|
88
85
|
},
|
|
89
86
|
"type": "object"
|
|
@@ -212,12 +209,12 @@
|
|
|
212
209
|
"data": {
|
|
213
210
|
"events": [
|
|
214
211
|
{
|
|
215
|
-
"date": "2026-04-17T00:
|
|
212
|
+
"date": "2026-04-17T00:28:07.061Z",
|
|
216
213
|
"id": "test",
|
|
217
214
|
"label": "thetest"
|
|
218
215
|
},
|
|
219
216
|
{
|
|
220
|
-
"date": "2026-03-31T00:
|
|
217
|
+
"date": "2026-03-31T00:28:07.061Z",
|
|
221
218
|
"id": "test2",
|
|
222
219
|
"label": "thetest start",
|
|
223
220
|
"color": "red"
|
|
@@ -238,12 +235,12 @@
|
|
|
238
235
|
"data": {
|
|
239
236
|
"events": [
|
|
240
237
|
{
|
|
241
|
-
"date": "2026-04-17T00:
|
|
238
|
+
"date": "2026-04-17T00:28:07.061Z",
|
|
242
239
|
"id": "test",
|
|
243
240
|
"label": "thetest"
|
|
244
241
|
},
|
|
245
242
|
{
|
|
246
|
-
"date": "2026-03-31T00:
|
|
243
|
+
"date": "2026-03-31T00:28:07.061Z",
|
|
247
244
|
"id": "test2",
|
|
248
245
|
"label": "thetest start",
|
|
249
246
|
"color": "red"
|
|
@@ -258,18 +255,18 @@
|
|
|
258
255
|
"data": {
|
|
259
256
|
"events": [
|
|
260
257
|
{
|
|
261
|
-
"date": "2026-04-17T00:
|
|
258
|
+
"date": "2026-04-17T00:28:07.061Z",
|
|
262
259
|
"id": "test",
|
|
263
260
|
"label": "thetest"
|
|
264
261
|
},
|
|
265
262
|
{
|
|
266
|
-
"date": "2026-03-31T00:
|
|
263
|
+
"date": "2026-03-31T00:28:07.061Z",
|
|
267
264
|
"id": "test2",
|
|
268
265
|
"label": "thetest start",
|
|
269
266
|
"color": "red"
|
|
270
267
|
}
|
|
271
268
|
],
|
|
272
|
-
"selected": "2026-04-17T00:
|
|
269
|
+
"selected": "2026-04-17T00:28:07.061Z"
|
|
273
270
|
}
|
|
274
271
|
}
|
|
275
272
|
],
|
|
@@ -294,5 +291,5 @@
|
|
|
294
291
|
"size": {},
|
|
295
292
|
"iifePath": "main.iife.js",
|
|
296
293
|
"repoName": "@htmlbricks/hb-calendar-appointments",
|
|
297
|
-
"version": "0.71.
|
|
294
|
+
"version": "0.71.37"
|
|
298
295
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@htmlbricks/hb-calendar-appointments",
|
|
3
|
-
"version": "0.71.
|
|
3
|
+
"version": "0.71.37",
|
|
4
4
|
"contributors": [],
|
|
5
5
|
"description": "Month agenda view: events for the current month are grouped by calendar day and listed chronologically with weekday, day number, time, and colored markers. Optional header with month navigation; changing month or selecting a day dispatches `changeCalendarDate`, `changeSelectedDate`, and clicking a row dispatches `calendarEventClick`. Uses Italian public holidays metadata and accepts `events` as JSON.",
|
|
6
6
|
"licenses": [
|