import { storiesOf, html } from '@open-wc/demoing-storybook';
import '../lion-fieldset.js';
import '@lion/input/lion-input.js';
import { localize } from '@lion/localize';
import { Validator, MinLength, loadDefaultFeedbackMessages } from '@lion/validate';
import '../../form-system/stories/helper-wc/h-output.js';
localize.locale = 'en-GB';
loadDefaultFeedbackMessages();
storiesOf('Forms|Fieldset', module)
.add(
'Default',
() => html`
A native fieldset element should always have a legend-element for a11y purposes. Our
fieldset element is not native and should not have a legend-element. Our fieldset instead
has a label attribute or you can add a label with a div- or heading-element using the
slot="label". Please don't use the the label-element because that is reserved for
input-elements.