UNPKG

@htmlbricks/hb-calendar-events

Version:

Classic month grid (7-day week header and variable rows) with selectable cells, “today” styling, and event chips inside each day. Supports adjacent-month padding cells, Italian holidays, JSON `events`, and the same navigation/selection events as the appoi

63 lines (62 loc) 1.23 kB
{ "$ref": "#/definitions/Component", "$schema": "http://json-schema.org/draft-07/schema#", "definitions": { "Component": { "additionalProperties": false, "properties": { "date": { "format": "date-time", "type": "string" }, "disable_header": { "type": "boolean" }, "events": { "items": { "$ref": "#/definitions/IEvent" }, "type": "array" }, "id": { "type": "string" }, "selected": { "format": "date-time", "type": "string" } }, "type": "object" }, "IEvent": { "additionalProperties": false, "properties": { "color": { "type": "string" }, "date": { "format": "date-time", "type": "string" }, "icon": { "type": "string" }, "id": { "type": "string" }, "label": { "type": "string" }, "link": { "type": "string" } }, "required": [ "date", "label", "id" ], "type": "object" } } }