Repository navigation
1.3.0
Added
- A sixth group, Transitions: eleven
Animate*wrappers that make anything move.AnimateFade,AnimateGrow,AnimateZoom,AnimateSlide,AnimateRotateandAnimateBlinkare the six named effects;AnimateAppear,AnimateTyping,AnimateLighting,AnimateMarqueeandAnimateHeadlineare the five that have to understand what their children are. All eleven take the same settings —durationanddelayin milliseconds,easing,repeat(a count or'infinite'),alternate,paused, andtrigger:mount,visible(withonceandthreshold),hover, ormanualdriven byplay. Every one of them is switched off entirely by aprefers-reduced-motionpreference, so none of them is ever the only thing carrying a message. - A
transitionprop on the components that display something —Box,Card,Statistic,Alert,Chip,Avatar,Icon,TypographyandBlockquote.transition="fade"is an entrance run once on mount, and the object form takes the details:{ type: 'slide', from: 'left', duration: 500 }. It is offered on no component that is pressed, because a control that moves under the pointer aiming at it is the one thing the design language rules out. Anything past a mount — a replay, a scroll trigger, a hover — is anAnimate*component, and any component can be wrapped in one. ColorPicker— a colour chosen by eye: a saturation square, a hue rail, an optional opacity rail, a field for typing a value in, and a grid of swatches.formatdecides whether the value comes back as hex,rgb()orhsl();alphaadds the fourth channel;swatchesreplaces the built-in set with the colours a product actually uses;inlinedraws the panel into the page instead of into a popup. It reads hex in all four lengths,rgb()/rgba()andhsl()/hsla()in both syntaxes, and it adds no dependency — the conversions are a hundred lines of arithmetic ininternal/color.ts.- The i18n table gains a
colornamespace, so the picker's square, rails, field and swatch grid — none of which have any text on them — are named in all nineteen languages.localepicks the language andlabelsoverrides any one of them.
Documentation
- Pages for
ColorPickerand the elevenAnimate*components in both locales, their props rows, their demos, cards in the component gallery, a place on the sample screen, and their entries inllms.txt. - Prop conventions gains a Motion section, which is where the shared animation vocabulary and the rule about which components take
transitionare written down.
Every release is in the changelog on the docs site and in CHANGELOG.md at this tag.