TriggerFields
The controlled form for what starts an automation rule, drawing year chips, a day count or a threshold for whichever trigger kind is chosen.
TriggerFields
TriggerFields is the trigger step of a rule builder. The host supplies the trigger kinds and says which fields each one needs, so the same form serves an anniversary, a sign-up date or a spending threshold. Numbers stay strings in the value, because an emptied field is not a number, so the host must parse and validate them before it saves.
Storybook
Loading
Props
Prop
Type
Also takes the attributes of the element it renders.
Tokens
Derived from the component source at docs-generation time — these are the --augds-* variables it reads. Re-theme the colour slots by constructing a partner DesignSystemTheme and wrapping the consumer subtree in <ThemeProvider>, never by hard-coding values.
--augds-foreground-primary
Source
src/components/ui/trigger-fields/select-field.tsxsrc/components/ui/trigger-fields/trigger-fields.tsx