Skip to content

Commit

Permalink
Merge pull request #9 from witbybit/custom-form-id
Browse files Browse the repository at this point in the history
v0.3.0 changes
  • Loading branch information
nikhilag authored Oct 13, 2022
2 parents 927f66e + fb6586b commit 3b92746
Show file tree
Hide file tree
Showing 45 changed files with 7,784 additions and 9,669 deletions.
1 change: 1 addition & 0 deletions .husky/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
_
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx lint-staged
1 change: 1 addition & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{ "printWidth": 80, "semi": true, "singleQuote": true, "trailingComma": "es5" }
15 changes: 15 additions & 0 deletions .storybook/main.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
module.exports = {
stories: ['../src/**/*.stories.@(js|jsx|ts|tsx|md|mdx)'],
addons: [
'@storybook/addon-links',
'@storybook/addon-essentials',
'@storybook/addon-interactions',
],
typescript: {
check: true, // type-check stories during Storybook build
},
framework: '@storybook/react',
core: {
builder: '@storybook/builder-vite',
},
};
16 changes: 16 additions & 0 deletions .storybook/preview-head.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://cdn.tailwindcss.com?plugins=forms,typography,aspect-ratio,line-clamp"></script>

<script>
tailwind.config = {
theme: {
extend: {},
},
};
</script>

<style type="text/tailwindcss"></style>

<script>
window.global = window;
</script>
9 changes: 9 additions & 0 deletions .storybook/preview.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
export const parameters = {
actions: { argTypesRegex: '^on[A-Z].*' },
controls: {
matchers: {
color: /(background|color)$/i,
date: /Date$/,
},
},
};
5 changes: 0 additions & 5 deletions example/.npmignore

This file was deleted.

118 changes: 0 additions & 118 deletions example/forms/DirtyCheckForm.tsx

This file was deleted.

29 changes: 0 additions & 29 deletions example/forms/FileUploadForm.tsx

This file was deleted.

17 changes: 0 additions & 17 deletions example/forms/MultipleSimpleForms.tsx

This file was deleted.

64 changes: 0 additions & 64 deletions example/forms/SimpleFieldArray.tsx

This file was deleted.

48 changes: 0 additions & 48 deletions example/forms/SimpleForm.tsx

This file was deleted.

51 changes: 0 additions & 51 deletions example/forms/components/InputField.tsx

This file was deleted.

Loading

0 comments on commit 3b92746

Please sign in to comment.