import { Meta, StoryObj } from "@storybook/angular"; import { ColorPasswordComponent } from "./color-password.component"; const examplePassword = "Wq$Jk😀7j DX#rS5Sdi!z "; export default { title: "Component Library/Color Password", component: ColorPasswordComponent, args: { password: examplePassword, showCount: false, }, parameters: { design: { type: "figma", url: "https://www.figma.com/file/6fvTDa3zfvgWdizLQ7nSTP/Numbered-Password", }, }, } as Meta; type Story = StoryObj; export const ColorPassword: Story = { render: (args) => ({ props: args, template: ` `, }), }; export const WrappedColorPassword: Story = { render: (args) => ({ props: args, template: `
`, }), }; export const ColorPasswordCount: Story = { ...ColorPassword, args: { password: examplePassword, showCount: true, }, }; export const WrappedColorPasswordCount: Story = { ...WrappedColorPassword, args: { password: examplePassword, showCount: true, }, };