18 |
19 | - Minze is a dead-simple JS framework for native web components.
20 | -
21 | Storybook is a frontend workshop for building UI components and pages in
22 | isolation. Made for UI development, testing, and documentation.
23 |
24 |
25 |
26 |
Browse example stories by navigating to them in the sidebar.
27 |
28 |
29 | View the code for components and stories in the src/lib
30 | directory to learn how they work.
31 |
32 |
33 |
34 |
65 |
--------------------------------------------------------------------------------
/packages/create-minze/template-storybook-ts/src/lib/logos/minze-logo.stories.ts:
--------------------------------------------------------------------------------
1 | import type { Meta, StoryObj } from '@storybook/web-components'
2 | import { html } from 'lit'
3 |
4 | const meta: Meta = {
5 | title: 'Components/Logos/minze-logo',
6 | component: 'minze-logo',
7 | tags: ['autodocs'],
8 | render: ({ width, height }) =>
9 | html`
18 |
19 | - Minze is a dead-simple JS framework for native web components.
20 | -
21 | Storybook is a frontend workshop for building UI components and pages in
22 | isolation. Made for UI development, testing, and documentation.
23 |
24 |
25 |
26 |
Browse example stories by navigating to them in the sidebar.
27 |
28 |
29 | View the code for components and stories in the src/lib
30 | directory to learn how they work.
31 |
32 |
33 |
34 |
65 |
--------------------------------------------------------------------------------
/packages/create-minze/template-storybook/src/lib/logos/minze-logo.js:
--------------------------------------------------------------------------------
1 | import { MinzeElement } from 'minze'
2 |
3 | export class MinzeLogo extends MinzeElement {
4 | attrs = [
5 | ['width', 347],
6 | ['height', 146]
7 | ]
8 |
9 | static observedAttributes = ['width', 'height']
10 |
11 | html = () => `
12 |