@abgov/angular-components 5.0.0-dev.7 → 5.0.0-dev.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -211,11 +211,11 @@ declare class GoabBlock extends GoabBaseComponent implements OnInit {
|
|
|
211
211
|
|
|
212
212
|
declare class GoabButton extends GoabBaseComponent implements OnInit {
|
|
213
213
|
private cdr;
|
|
214
|
-
/** Sets the visual style of the button. Use "primary" for main actions, "secondary" for alternative actions, "tertiary" for low-emphasis actions,
|
|
214
|
+
/** Sets the visual style of the button. Use "primary" for main actions, "secondary" for alternative actions, "tertiary" for low-emphasis actions, "start" for prominent call-to-action buttons, and "text" for text-only buttons. @default "primary" */
|
|
215
215
|
type?: GoabButtonType;
|
|
216
216
|
/** Sets the size of the button. Use "compact" for inline actions or space-constrained layouts. @default "normal" */
|
|
217
217
|
size?: GoabButtonSize;
|
|
218
|
-
/** Sets the color variant for semantic meaning. Use "destructive" for delete or irreversible actions, "inverse" for dark backgrounds. @default "normal" */
|
|
218
|
+
/** Sets the color variant for semantic meaning. Use "destructive" for delete or irreversible actions, "inverse" for light-colored text on dark backgrounds, and "dark" for dark text color on text buttons only. Note: "dark" has no effect on non-text button types. @default "normal" */
|
|
219
219
|
variant?: GoabButtonVariant;
|
|
220
220
|
/** Sets the disabled state. When true, prevents user interaction and applies disabled styling. */
|
|
221
221
|
disabled?: boolean;
|