UI: native
@pithyx/ui/native: the class names of the components for native HTML elements, without React Aria. Import the token file once (@pithyx/ui/tokens.css) and wrap the app in UiProvider; see @pithyx/ui.
Generated from the TSDoc comments of @pithyx/ui 1.0.0-rc.9 at build time; the text below the headings is the comment in the source.
Variables
Section titled “Variables”buttonStyles
Section titled “buttonStyles”const buttonStyles: object = button;The class names of Button: button, one per variant, small and spinner for a pending state.
Type Declaration
Section titled “Type Declaration”button
Section titled “button”readonly button: string;danger
Section titled “danger”readonly danger: string;readonly icon: string;primary
Section titled “primary”readonly primary: string;readonly quiet: string;secondary
Section titled “secondary”readonly secondary: string;readonly small: string;spinner
Section titled “spinner”readonly spinner: string;controlStyles
Section titled “controlStyles”const controlStyles: object = controls;The class names of Checkbox, Switch, ProgressBar and Badge; a checkbox is checkbox with a box.
Type Declaration
Section titled “Type Declaration”accent
Section titled “accent”readonly accent: string;readonly badge: string;readonly bar: string;readonly box: string;checkbox
Section titled “checkbox”readonly checkbox: string;danger
Section titled “danger”readonly danger: string;readonly field: string;readonly fill: string;highlight
Section titled “highlight”readonly highlight: string;neutral
Section titled “neutral”readonly neutral: string;progress
Section titled “progress”readonly progress: string;progressLabel
Section titled “progressLabel”readonly progressLabel: string;progressValue
Section titled “progressValue”readonly progressValue: string;switch
Section titled “switch”readonly switch: string;readonly thumb: string;readonly track: string;textFieldStyles
Section titled “textFieldStyles”const textFieldStyles: object = textField;The class names of TextField, PasswordField, OtpField and SearchField.
Type Declaration
Section titled “Type Declaration”readonly clear: string;description
Section titled “description”readonly description: string;readonly error: string;readonly field: string;readonly frame: string;readonly input: string;readonly label: string;readonly otp: string;reveal
Section titled “reveal”readonly reveal: string;search
Section titled “search”readonly search: string;searchIcon
Section titled “searchIcon”readonly searchIcon: string;searchInput
Section titled “searchInput”readonly searchInput: string;References
Section titled “References”Re-exports cx
uiTexts
Section titled “uiTexts”Re-exports uiTexts
UiTexts
Section titled “UiTexts”Re-exports UiTexts