Skip to content

Commit

Permalink
feat: refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
brettdorrans committed Apr 12, 2023
1 parent 8dc71f5 commit b4d1ef8
Show file tree
Hide file tree
Showing 66 changed files with 704 additions and 1,478 deletions.
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ node_modules
dist
dist-ssr
*.local
**/*.css
**/*.css.map
**/**/*.css
**/**/*.css.map

# Editor directories and files
.vscode/*
Expand Down
3 changes: 2 additions & 1 deletion .storybook/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ export default {
'@storybook/addon-viewport'
],
docs: {
defaultName: 'Documentation'
defaultName: 'Documentation',
autodocs: 'tag'
}
};
14 changes: 0 additions & 14 deletions .storybook/preview.ts

This file was deleted.

27 changes: 27 additions & 0 deletions .storybook/preview.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
import { Preview } from '@storybook/react';
import { Title, Subtitle, Description, Controls, Stories } from '@storybook/blocks';

const preview: Preview = {
parameters: {
actions: { argTypesRegex: '^on[A-Z].*' },
controls: {
matchers: {
color: /(background|color)$/i,
date: /Date$/,
}
},
docs: {
page: () => (
<>
<Title />
<Subtitle />
<Description />
<Stories />
<Controls />
</>
)
}
}
}

export default preview;
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<p align="center">
<a href="https://components.lapidist.net/" target="_blank" rel="noopener">



<a href="https://components.lapidist.net/" target="_blank" rel="noopener">
<img width="120" src="https://lapidist.net/logo.svg" alt="Lapidist Logo"/>
</a>
</p>
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@
"files": [
"dist"
],
"main": "./dist/lapidist.umd.js",
"module": "./dist/lapidist.es.js",
"main": "./dist/components.umd.js",
"module": "./dist/components.es.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": "./dist/lapidist.es.js",
"require": "./dist/lapidist.umd.js"
"import": "./dist/components.es.js",
"require": "./dist/components.umd.js"
},
"./style.css": {
"import": "./dist/style.css",
Expand Down
93 changes: 0 additions & 93 deletions src/components/Box/Box.mdx

This file was deleted.

145 changes: 0 additions & 145 deletions src/components/Box/__snapshots__/Box.spec.tsx.snap

This file was deleted.

Loading

0 comments on commit b4d1ef8

Please sign in to comment.