UNPKG

@atlaskit/button

Version:

A button triggers an event or action. They let users know what will happen next.

15 lines (13 loc) 513 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.getSpecifiers = getSpecifiers; // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766 // This styling approach works by generating a 'style' and applying with maximum specificity // To do this we are overwriting all pseudo selectors function getSpecifiers(styles) { return { '&, &:hover, &:active, &:focus, &:focus-visible, &:visited, &:disabled, &[disabled]': styles }; }