Skip to main content

Button

Buttons let users trigger actions or events with a single click, or by pressing Enter or Space while the button has focus.

Changes to Button. The full components changelog also lists package-wide and cross-cutting entries.

3.8.0

Updates

  • Fixed the loading state to be accessible. The button now stays in the tab order with aria-disabled and signals its busy state via aria-busy instead of becoming unreachable through the native disabled attribute. (APPDEV-16535)

3.4.0

Updates

General

  • Behavior tracking attributes are now supported in all button components, including Button, IntentButton, NotifyButton, and RunQueryButton. (APPDEV-16876)
  • The text and icon color tokens for the success on accent button are now correct. (APPDEV-17388)
  • Behavior tracking attributes are now supported in all form components, including Calendar, Checkbox, DateTimePicker, DateTimeRangePicker, FieldSet, FormField, Label, NumberInput, NumberInputV2, PasswordInput, Radio, SearchInput, Select, Switch, TextArea, TextInput, and ToggleButtonGroup. (APPDEV-16882)
  • Behavior tracking attributes are now supported in FilterBar, FilterField, SegmentSelector, and TimeframeSelector. FilterField.Suggestions and TimeframeSelector.Presets now also support behavior tracking attributes. (APPDEV-16881)
  • Added feature flag and css overrides for design tokens for visual refresh. (APPDEV-17223)

3.0.0

Breaking changes

  • Removed the deprecated readOnly property. (APPDEV-13937)

1.5.0

  • Hover animation was updated to be more responsive. (APPDEV-12827)

0.85.110

Deprecations

Button

  • Deprecated readOnly prop, please use disabled instead. (APPDEV-11549)

0.85.40

  • Displays number 0 when used as child.

0.85.10

  • Button has been moved from @dynatrace/strato-components-preview/buttons to @dynatrace/strato-components/buttons and a migration script has been provided.
Still have questions?
Find answers in the Dynatrace Community