Repository navigation
·
1 commit
to main
since this release
Patch Changes
-
113cd75Thanks @kuus! -decodeFormonly reads the encoded input names and ignores the plain (honeypot) ones explicitly, instead of relying ondecodemangling them. It keeps working with thedecodeof this release, which leaves non encoded text as it is. -
f1c0e3aThanks @kuus! - Fix hooks, components and the calendar:classedkeeps the text after the last interpolation, and its ref and event handlers are typed with the element type.createUseMediaQueryWidthsupports the"@md"shorthand (same as"@min-md").extendComponentapplies its default props on React 19.useMeasurereports the size changes of every instance's element,useFixedOffsetcomputes the offset with the given selector, and both work whereResizeObserveris missing.useSmoothScrollsubtracts the fixed offset for numeric targets too, and never scrolls below 0.NoJsswapsno-jsforjswithout breaking the other classes. Its inline script changed: update its hash if a Content-Security-Policy allows it by hash.Metaallows zooming whenzoomis set.useFocusreturns a tuple and accepts the element type,useIntervalaccepts anulldelay.- Calendar: hiding a calendar no longer hides the events of the other ones, the default components no longer pass
$props to the DOM (no more React warnings), multi-day events keep free rows (no more overlaps and duplicate keys), timed events show on their last day, all-day Google events show on the right day in every timezone, events of calendars missing fromcalendarsMapare shown instead of crashing, and the default navigation title is visible. useCalendarmerges the giveneventswith the fetched ones, callsonErrorfor failing calendars, shows the Google calendar names incalendarsMap, switches view from the displayed range, keeps the clicked event on "today" and no longer mutates the given calendars and dates.
-
Updated dependencies [
a04e3ff,113cd75,89e3ba6,b131ad6]:- @knitkode/dom@3.0.1
- @knitkode/utils@3.0.1