Repository navigation
v0.24.0
Themes: hard shadows and a relief for buttons and fields (Theme.hardShadows, Theme.relief),
type knobs (text-scale, heading-scale, leading, the heading's weight and tracking), a pill
control corner, and a Drawer docked to the bottom of the screen. foldkit-mixins 0.14.0 and
foldkit-mixins-ui 0.13.0 change, and foldkit-plus is 0.6.0. Packages that pin one of them, or
peer on it, republish with a patch so their ranges cover the new versions (foldkit-cms,
foldkit-cms-drizzle, foldkit-composition, foldkit-mixins-builder, foldkit-mixins-crud,
foldkit-mixins-data-grid, foldkit-mixins-form, foldkit-mixins-richtext,
foldkit-mixins-surface, foldkit-primitives). Nothing written for 0.23 needs changing; a
Typography display is set a hair tighter (below).
Added
foldkit-mixins/theme'sTheme.hardShadows: the shadow scale drawn as solid offset copies
with no blur, for retro and brutalist themes. Compose it overTheme.tokens;
shadow-strengthstill fades it.- A control's relief:
Theme.tokensgainsshadow-raised,shadow-pressedand
shadow-field, flat by default, andfoldkit-mixins/theme'sTheme.reliefgives them depth
(soft,hard, orbevel's lit and shaded edges). Infoldkit-mixins-ui, a solid, outline
or primary Button stands out byraisedand is pressed in bypressedwhile held or on; ghost
and icon buttons stay flat; and every field's chrome (Input, Textarea, Select, Listbox,
Combobox, DatePicker, NumberField, TagsInput, OtpField, CascadeSelect, InputCopy, the
pagination's page size, Checkbox and RadioGroup) sinks byfield. - Type knobs in
Theme.tokens:text-scalescales every size of the type scale,
heading-scalehow far the headings stand above the body, andleadingthe line heights;
weight-headingandtracking-headingset what a heading is drawn in. At their shipped values
every size, line height and weight draws as before.foldkit-mixins-ui's Typography headings and interface roles, the Dialog's title and
the Empty title now readfont-heading,weight-headingandtracking-heading, so a theme's
heading font reaches them. foldkit-mixins-ui'sDrawerandRecipes.Drawer: a panel docked to the bottom of the
screen that peeks or opens beside the page, not over it, as a tool tray. Its handle drags it
(a flick or a quarter of the way settles it) and a click or Enter toggles it; the handle's bar
bends into a chevron pointing up as it goes down, with the finger while dragged.dock: 'always',
orbelow-lg/below-xl, above which it is the column it sits in.radius-controland thecontrol-roundknob: a Button and a Segmented tray round to a pill at
1, whatever the radius factor, while fields keepradius-md.
Changed
foldkit-mixins-ui: Typography'sdisplaytakes the heading tracking (-0.01emby default),
as the other headings already did.
Fixed
foldkit-compositionandfoldkit-mixins-surfacedeclared theirfoldkit-mixinspeer as
^0.11.0, which no release since 0.11 satisfies; they now peer on the version they ship with.foldkit-mixins: an element holding several Mounts no longer logs "unhandled failure" for each
as it is removed; a Mount that ends interrupted is torn down, not failing.