{"ast":null,"code":"import { fn } from 'storybook/test';\nimport { ButtonComponent } from './button.component';\n// More on how to set up stories at: https://storybook.js.org/docs/writing-stories\nconst meta = {\n title: 'Example/Button',\n component: ButtonComponent,\n tags: ['autodocs'],\n argTypes: {\n backgroundColor: {\n control: 'color'\n }\n },\n // Use `fn` to spy on the onClick arg, which will appear in the actions panel once invoked: https://storybook.js.org/docs/essentials/actions#action-args\n args: {\n onClick: fn()\n }\n};\nexport default meta;\n// More on writing stories with args: https://storybook.js.org/docs/writing-stories/args\nexport const Primary = {\n args: {\n primary: true,\n label: 'Button'\n }\n};\nexport const Secondary = {\n args: {\n label: 'Button'\n }\n};\nexport const Large = {\n args: {\n size: 'large',\n label: 'Button'\n }\n};\nexport const Small = {\n args: {\n size: 'small',\n label: 'Button'\n }\n};","map":{"version":3,"names":["fn","ButtonComponent","meta","title","component","tags","argTypes","backgroundColor","control","args","onClick","Primary","primary","label","Secondary","Large","size","Small"],"sources":["/home/poule/encrypted/stockage-syncable/www/development/html/ng-implementation/implem/src/stories/button.stories.ts"],"sourcesContent":["import { fn } from 'storybook/test';\nimport { ButtonComponent } from './button.component';\n// More on how to set up stories at: https://storybook.js.org/docs/writing-stories\nconst meta = {\n title: 'Example/Button',\n component: ButtonComponent,\n tags: ['autodocs'],\n argTypes: {\n backgroundColor: {\n control: 'color',\n },\n },\n // Use `fn` to spy on the onClick arg, which will appear in the actions panel once invoked: https://storybook.js.org/docs/essentials/actions#action-args\n args: { onClick: fn() },\n};\nexport default meta;\n// More on writing stories with args: https://storybook.js.org/docs/writing-stories/args\nexport const Primary = {\n args: {\n primary: true,\n label: 'Button',\n },\n};\nexport const Secondary = {\n args: {\n label: 'Button',\n },\n};\nexport const Large = {\n args: {\n size: 'large',\n label: 'Button',\n },\n};\nexport const Small = {\n args: {\n size: 'small',\n label: 'Button',\n },\n};\n"],"mappings":"AAAA,SAASA,EAAE,QAAQ,gBAAgB;AACnC,SAASC,eAAe,QAAQ,oBAAoB;AACpD;AACA,MAAMC,IAAI,GAAG;EACTC,KAAK,EAAE,gBAAgB;EACvBC,SAAS,EAAEH,eAAe;EAC1BI,IAAI,EAAE,CAAC,UAAU,CAAC;EAClBC,QAAQ,EAAE;IACNC,eAAe,EAAE;MACbC,OAAO,EAAE;IACb;EACJ,CAAC;EACD;EACAC,IAAI,EAAE;IAAEC,OAAO,EAAEV,EAAE,CAAC;EAAE;AAC1B,CAAC;AACD,eAAeE,IAAI;AACnB;AACA,OAAO,MAAMS,OAAO,GAAG;EACnBF,IAAI,EAAE;IACFG,OAAO,EAAE,IAAI;IACbC,KAAK,EAAE;EACX;AACJ,CAAC;AACD,OAAO,MAAMC,SAAS,GAAG;EACrBL,IAAI,EAAE;IACFI,KAAK,EAAE;EACX;AACJ,CAAC;AACD,OAAO,MAAME,KAAK,GAAG;EACjBN,IAAI,EAAE;IACFO,IAAI,EAAE,OAAO;IACbH,KAAK,EAAE;EACX;AACJ,CAAC;AACD,OAAO,MAAMI,KAAK,GAAG;EACjBR,IAAI,EAAE;IACFO,IAAI,EAAE,OAAO;IACbH,KAAK,EAAE;EACX;AACJ,CAAC","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}