├── .github └── workflows │ └── main.yml ├── .gitignore ├── .husky └── pre-commit ├── .lintstagedrc.json ├── .nvmrc ├── .prettierrc.json ├── .releaserc.json ├── .storybook ├── local-preset.cjs ├── main.ts ├── manager.ts └── preview.ts ├── LICENSE ├── README.md ├── demo.gif ├── icon.svg ├── manager.js ├── netlify.toml ├── package.json ├── preview.js ├── src ├── Tool.tsx ├── components │ └── PaddingIcon.tsx ├── constants.ts ├── helpers.ts ├── index.ts ├── manager.ts ├── preview.ts ├── stories │ ├── Card.stories.ts │ ├── Card.tsx │ └── card.css ├── types.ts └── withGlobals.ts ├── tsconfig.json ├── tsup.config.ts └── vite.config.ts /.github/workflows/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rbardini/storybook-addon-paddings/HEAD/.github/workflows/main.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rbardini/storybook-addon-paddings/HEAD/.gitignore -------------------------------------------------------------------------------- /.husky/pre-commit: -------------------------------------------------------------------------------- 1 | npx --no lint-staged 2 | -------------------------------------------------------------------------------- /.lintstagedrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "*": "prettier --ignore-unknown --write" 3 | } 4 | -------------------------------------------------------------------------------- /.nvmrc: -------------------------------------------------------------------------------- 1 | 20 2 | -------------------------------------------------------------------------------- /.prettierrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rbardini/storybook-addon-paddings/HEAD/.prettierrc.json -------------------------------------------------------------------------------- /.releaserc.json: -------------------------------------------------------------------------------- 1 | { 2 | "preset": "conventionalcommits" 3 | } 4 | -------------------------------------------------------------------------------- /.storybook/local-preset.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rbardini/storybook-addon-paddings/HEAD/.storybook/local-preset.cjs -------------------------------------------------------------------------------- /.storybook/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rbardini/storybook-addon-paddings/HEAD/.storybook/main.ts -------------------------------------------------------------------------------- /.storybook/manager.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rbardini/storybook-addon-paddings/HEAD/.storybook/manager.ts -------------------------------------------------------------------------------- /.storybook/preview.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rbardini/storybook-addon-paddings/HEAD/.storybook/preview.ts -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rbardini/storybook-addon-paddings/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rbardini/storybook-addon-paddings/HEAD/README.md -------------------------------------------------------------------------------- /demo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rbardini/storybook-addon-paddings/HEAD/demo.gif -------------------------------------------------------------------------------- /icon.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rbardini/storybook-addon-paddings/HEAD/icon.svg -------------------------------------------------------------------------------- /manager.js: -------------------------------------------------------------------------------- 1 | import './dist/manager' 2 | -------------------------------------------------------------------------------- /netlify.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rbardini/storybook-addon-paddings/HEAD/netlify.toml -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rbardini/storybook-addon-paddings/HEAD/package.json -------------------------------------------------------------------------------- /preview.js: -------------------------------------------------------------------------------- 1 | export * from './dist/preview' 2 | -------------------------------------------------------------------------------- /src/Tool.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rbardini/storybook-addon-paddings/HEAD/src/Tool.tsx -------------------------------------------------------------------------------- /src/components/PaddingIcon.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rbardini/storybook-addon-paddings/HEAD/src/components/PaddingIcon.tsx -------------------------------------------------------------------------------- /src/constants.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rbardini/storybook-addon-paddings/HEAD/src/constants.ts -------------------------------------------------------------------------------- /src/helpers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rbardini/storybook-addon-paddings/HEAD/src/helpers.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- 1 | // make it work with --isolatedModules 2 | export default {} 3 | -------------------------------------------------------------------------------- /src/manager.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rbardini/storybook-addon-paddings/HEAD/src/manager.ts -------------------------------------------------------------------------------- /src/preview.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rbardini/storybook-addon-paddings/HEAD/src/preview.ts -------------------------------------------------------------------------------- /src/stories/Card.stories.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rbardini/storybook-addon-paddings/HEAD/src/stories/Card.stories.ts -------------------------------------------------------------------------------- /src/stories/Card.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rbardini/storybook-addon-paddings/HEAD/src/stories/Card.tsx -------------------------------------------------------------------------------- /src/stories/card.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rbardini/storybook-addon-paddings/HEAD/src/stories/card.css -------------------------------------------------------------------------------- /src/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rbardini/storybook-addon-paddings/HEAD/src/types.ts -------------------------------------------------------------------------------- /src/withGlobals.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rbardini/storybook-addon-paddings/HEAD/src/withGlobals.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rbardini/storybook-addon-paddings/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tsup.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rbardini/storybook-addon-paddings/HEAD/tsup.config.ts -------------------------------------------------------------------------------- /vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rbardini/storybook-addon-paddings/HEAD/vite.config.ts --------------------------------------------------------------------------------