/** * Copyright (c) HashiCorp, Inc. * SPDX-License-Identifier: MPL-2.0 */ import hbs from 'htmlbars-inline-precompile'; export default { title: 'Components/Buttons', }; export let Standard = () => { return { template: hbs`
Buttons
Button White Light Dark Black Link
Primary Info Success Warning Danger
`, }; }; export let Outline = () => { return { template: hbs`
Outline buttons
Outlined Primary Info Success Warning Danger
`, }; }; export let Hollow = () => { return { template: hbs`
Hollow buttons
Primary Info Success Warning Danger
`, }; }; export let Sizes = () => { return { template: hbs`
Button sizes
Small Normal Medium Large
`, }; }; export let Disabled = () => { return { template: hbs`
Anchor elements as buttons
Button White Light Dark Black Link
Primary Info Success Warning Danger
Button elements with disabled attribute
Button elements with aria-disabled="true"
`, }; };