Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: ant design system #9

Merged
merged 40 commits into from
Dec 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
4ab1138
wrap Ant Button, add stories for Type
jared-dickman Dec 9, 2023
7ace585
Commit generated CSS
jared-dickman Dec 9, 2023
61dd8a9
touch directory structure, move stories next to components
jared-dickman Dec 9, 2023
c38d19a
add wrapped Dropdown with initial story
jared-dickman Dec 9, 2023
a9c7aac
Merge remote-tracking branch 'origin/feat/ant-design' into feat/ant-d…
jared-dickman Dec 9, 2023
0ded728
Commit generated CSS
jared-dickman Dec 9, 2023
ae8393d
technically default autocomplete working, but i have some question
jared-dickman Dec 9, 2023
10b869f
Merge remote-tracking branch 'origin/feat/ant-design' into feat/ant-d…
jared-dickman Dec 9, 2023
bbfef92
Commit generated CSS
jared-dickman Dec 9, 2023
0e178ff
two examples with state
jared-dickman Dec 10, 2023
10b96b6
Merge remote-tracking branch 'origin/feat/ant-design' into feat/ant-d…
jared-dickman Dec 10, 2023
9ea06b2
Commit generated CSS
jared-dickman Dec 10, 2023
fffd9bc
add Input component
jared-dickman Dec 11, 2023
3c8f4a8
add Modal component
jared-dickman Dec 11, 2023
db479fb
Add folder to component titles
jared-dickman Dec 11, 2023
97cda0d
add autodocs for all components
jared-dickman Dec 11, 2023
8408bca
Merge remote-tracking branch 'origin/feat/ant-design' into feat/ant-d…
jared-dickman Dec 11, 2023
c3c7fb2
add .idea folder to .gitignore
jared-dickman Dec 11, 2023
c2eefca
Default all stories to layout: centered
jared-dickman Dec 11, 2023
7b515df
Commit generated CSS
jared-dickman Dec 11, 2023
3914767
Update preview to typescript
jared-dickman Dec 11, 2023
6f4e1a7
Update csf 2->3
jared-dickman Dec 11, 2023
d26983c
Merge remote-tracking branch 'origin/feat/ant-design' into feat/ant-d…
jared-dickman Dec 11, 2023
579828f
Commit generated CSS
jared-dickman Dec 11, 2023
9cd68f5
Consistent formatting for story meta
jared-dickman Dec 11, 2023
8ad8c12
Add Skeleton Component
jared-dickman Dec 11, 2023
d7858e0
Add Result Component
jared-dickman Dec 11, 2023
f7d2b51
Add initial custom hooks
jared-dickman Dec 11, 2023
616ba1a
Add LoadingModal Component
jared-dickman Dec 11, 2023
a5b78c5
Merge remote-tracking branch 'origin/feat/ant-design' into feat/ant-d…
jared-dickman Dec 11, 2023
9aa225f
Commit generated CSS
jared-dickman Dec 11, 2023
0432b98
Add DatePicker Component
jared-dickman Dec 11, 2023
83223e2
Update Input Component, remove copy prop
jared-dickman Dec 11, 2023
996b8b9
Update Loading Modal structure
jared-dickman Dec 11, 2023
2a3d4a7
remove debugger
jared-dickman Dec 11, 2023
8923cfc
Update Loading Modal stories type
jared-dickman Dec 11, 2023
2a7535f
Add basic annotation modal component
jared-dickman Dec 11, 2023
4d5e0eb
herge branch 'feat/ant-design' of github.com:mParticle/aquarium into …
jared-dickman Dec 11, 2023
0f67f8d
Commit generated CSS
jared-dickman Dec 11, 2023
317ce71
Merge remote-tracking branch 'origin/main' into feat/ant-design
jared-dickman Dec 11, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,9 @@ dist
.DS_Store
node_modules/
.vscode/
.idea/
out/
test/reports
test/test-bundle.js.map
test/stub/test-stub-bundle.js
**/dist
**/dist
15 changes: 7 additions & 8 deletions .storybook/main.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
// Replace your-framework with the framework you are using (e.g., react-webpack5, vue3-vite)
import type { StorybookConfig } from "@storybook/react-vite"
import type { StorybookConfig } from "@storybook/react-vite";

const config: StorybookConfig = {
framework: "@storybook/react-vite",

stories: [
"../src/stories/**/*.mdx",
"../src/stories/**/*.stories.@(js|jsx|mjs|ts|tsx)",
"../src/**/*.mdx",
"../src/**/*.stories.@(ts|tsx)",
],
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

changing the structure so stories live next to the components, just like tests/styles probably will


addons: [
Expand All @@ -16,11 +16,10 @@ const config: StorybookConfig = {
],

docs: {
autodocs: "tag",
autodocs: true,
defaultName: "Documentation",
},

// staticDirs: ["../public"],
};

}

export default config
export default config;
12 changes: 8 additions & 4 deletions .storybook/preview.js → .storybook/preview.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
/** @type { import('@storybook/react').Preview } */
const preview = {
import type { Preview } from "@storybook/react";

const preview: Preview = {
parameters: {
actions: { argTypesRegex: "^on[A-Z].*" },

layout: "centered",

controls: {
matchers: {
color: /(background|color)$/i,
date: /Date$/i,
},
},
},
}
};

export default preview
export default preview;
Loading
Loading