v0.2.0
Lots of little improvements to UI behavior in this one.
- Month names are now truncated based on component width
- This replaces the previous css container query approach that just changed the font-size
- Issues with CSS minimizers and container queries pushed me back in this direction
- The entire component is now hidden until it is rendered on the client-side
- This fixes a whole class of bugs related to rendering before the Observers had a chance to take measurements
- The amount of time it is hidden is insignificant, so it shouldn't be noticeable to the end user
- Visibility is toggled for hiding, so layout shifts shouldn't occur
- The
DayComponent
was altered to pass in the entire Date object instead of just the Day Number- This is a lot more forgiving to custom implementations since they have access to the entire Date object
- This was also a breaking change, so thus the minor version has been bumped
- Misc. code cleanup, removing dead code, and fixing some leaky abstractions
Commits
- 2bfcd73: change day implementation to pass in full date object (Bruce Harrison) #74
- 2b84bd6: backfill tests (Bruce Harrison) #74
- 4fcbee6: update docs (Bruce Harrison) #74
- 01d2723: update props (Bruce Harrison) #74
- ee69154: add initial day of week format setting (Bruce Harrison) #74
- 0871881: add code for initial day length (Bruce Harrison) #74
- 3f08e09: remove old date func (Bruce Harrison) #74
- 43ac724: change docs (Bruce Harrison) #74
- 44c88a5: hide the calendar until it is rendered to avoid UI flashes (Bruce Harrison) #74
- a2af3ac: change the way that month names are displayed (Bruce Harrison) #74
- e448ec0: change docs, remove ComponentSize refs (Bruce Harrison) #74