diff --git a/packages/components/src/components/navigation-item/navigation-item.stories.ts b/packages/components/src/components/navigation-item/navigation-item.stories.ts new file mode 100644 index 000000000..3acdf36d4 --- /dev/null +++ b/packages/components/src/components/navigation-item/navigation-item.stories.ts @@ -0,0 +1,411 @@ +import '../../solid-components'; +import { html } from 'lit-html'; +import { storybookDefaults, storybookHelpers, storybookTemplate } from '../../../scripts/storybook/helper'; +import { waitUntil } from '@open-wc/testing-helpers'; +import { withActions } from '@storybook/addon-actions/decorator'; +import type { ConstantDefinition } from '../../../scripts/storybook/helper'; +const { overrideArgs } = storybookHelpers('sd-navigation-item'); +const { argTypes, parameters } = storybookDefaults('sd-navigation-item'); +const { generateTemplate } = storybookTemplate('sd-navigation-item'); + +// Reusable Constants +const defaultSlotConstant: ConstantDefinition = { + type: 'slot', + name: 'default', + value: 'Navigation' +}; + +const descriptionSlotConstant: ConstantDefinition = { + type: 'slot', + name: 'description', + value: '
Lorem ipsum dolor sit amet.
' +}; + +const childrenSlotConstant: ConstantDefinition = { + type: 'slot', + name: 'children', + value: + '