K
Keyline UI
/
lib
Files
Code
Info
Calendar logic
calendar
Pure range helpers: ordering, available-day count and locale-aware range formatting. The grid and keyboard are react-day-picker's.
Collection helpers
collection
Pure helpers: the sort cycle of a column header, a numeric-aware locale comparator, and the constant-width window of page numbers.
Data table model
data-table-model
Pure helpers behind the Data Table: the sort cycle and multi-sort ordinal of a column, aria-sort, a column's alignment, the pager's range, and the filter model (text, set and range filters, a search, and the filter's words for a token).
Keyline configuration
keyline-config
The configuration contract as data: palette presets, fonts, weights, cut, density, theme, motion. Generates the CSS, attributes and registry item a configuration needs, and a runtime KeylineConfigScope.
Keyline motion
keyline-motion
Flood origin, zero-bounce stretch springs and the useStretch hook. No runtime provider.
Keyline render helpers
keyline-render
Merge Keyline's classes and styles with a className or style given as a function of state, and mirror variant props to data attributes.
Keyline portal scope
keyline-scope
Carries subtree configuration (palette, font, weights, cut, density, motion, theme, dir) onto portaled overlays. No provider.
Option and value helpers
options
Pure helpers: group options under headings in first-appearance order, and the longest value a numeric scale prints.
Scroll edges
scroll-edges
Marks the edge of a sideways-scrolling cell row where items are hidden (data-kl-more); the theme casts an ink shadow inward from that edge.
Selection scope
selection
Pure helpers and a hook for page / all-matching selection with hidden-row accounting, plus snapshot-based undo.
Toolbar overflow
toolbar-overflow
Pure logic behind Toolbar's overflow menu: items identified by data-slot, which leave for a given count, where More goes, and one step of the fit (with its sub-pixel rule).
Select a component to view its code
Click on any item in the sidebar to get started
Select a component to view its information
Calendar logic
calendar
Pure range helpers: ordering, available-day count and locale-aware range formatting. The grid and keyboard are react-day-picker's.
Collection helpers
collection
Pure helpers: the sort cycle of a column header, a numeric-aware locale comparator, and the constant-width window of page numbers.
Data table model
data-table-model
Pure helpers behind the Data Table: the sort cycle and multi-sort ordinal of a column, aria-sort, a column's alignment, the pager's range, and the filter model (text, set and range filters, a search, and the filter's words for a token).
Keyline configuration
keyline-config
The configuration contract as data: palette presets, fonts, weights, cut, density, theme, motion. Generates the CSS, attributes and registry item a configuration needs, and a runtime KeylineConfigScope.
Keyline motion
keyline-motion
Flood origin, zero-bounce stretch springs and the useStretch hook. No runtime provider.
Keyline render helpers
keyline-render
Merge Keyline's classes and styles with a className or style given as a function of state, and mirror variant props to data attributes.
Keyline portal scope
keyline-scope
Carries subtree configuration (palette, font, weights, cut, density, motion, theme, dir) onto portaled overlays. No provider.
Option and value helpers
options
Pure helpers: group options under headings in first-appearance order, and the longest value a numeric scale prints.
Scroll edges
scroll-edges
Marks the edge of a sideways-scrolling cell row where items are hidden (data-kl-more); the theme casts an ink shadow inward from that edge.
Selection scope
selection
Pure helpers and a hook for page / all-matching selection with hidden-row accounting, plus snapshot-based undo.
Toolbar overflow
toolbar-overflow
Pure logic behind Toolbar's overflow menu: items identified by data-slot, which leave for a given count, where More goes, and one step of the fit (with its sub-pixel rule).
Select a component to view its code
Click on any item in the sidebar to get started
Select a component to view its information