w-design-system 0.0.3 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +4 -1
- package/.storybook/main.ts +0 -19
- package/.storybook/preview.ts +0 -14
- package/public/favicon.ico +0 -0
- package/public/index.html +0 -43
- package/public/logo192.png +0 -0
- package/public/logo512.png +0 -0
- package/public/manifest.json +0 -25
- package/public/robots.txt +0 -3
- package/src/assets/icon/alert.svg +0 -3
- package/src/assets/icon/close.svg +0 -10
- package/src/assets/icon/comment.svg +0 -10
- package/src/assets/icon/doc-check.svg +0 -10
- package/src/assets/icon/image.svg +0 -3
- package/src/assets/icon/index.ts +0 -6
- package/src/assets/icon/svg.d.ts +0 -1
- package/src/components/Banner/index.tsx +0 -47
- package/src/components/Banner/stories.tsx +0 -31
- package/src/components/Banner/styles.ts +0 -58
- package/src/components/Button/index.tsx +0 -31
- package/src/components/Button/stories.tsx +0 -98
- package/src/components/Button/styles.ts +0 -198
- package/src/components/Button/test.tsx +0 -44
- package/src/components/ButtonRadiusIcon/index.tsx +0 -22
- package/src/components/ButtonRadiusIcon/stories.tsx +0 -47
- package/src/components/ButtonRadiusIcon/styles.ts +0 -139
- package/src/components/ButtonRound/index.tsx +0 -25
- package/src/components/ButtonRound/stories.tsx +0 -50
- package/src/components/ButtonRound/styles.ts +0 -136
- package/src/components/IconWrapper/index.tsx +0 -43
- package/src/components/Modal/index.tsx +0 -30
- package/src/components/Modal/stories.tsx +0 -53
- package/src/components/Modal/styles.ts +0 -51
- package/src/components/Paragraph/index.tsx +0 -42
- package/src/components/Paragraph/stories.tsx +0 -107
- package/src/components/Tabs/index.tsx +0 -24
- package/src/components/Tabs/stories.tsx +0 -74
- package/src/components/Tabs/styles.ts +0 -23
- package/src/components/Themes/index.ts +0 -99
- package/src/components/Title/index.tsx +0 -33
- package/src/components/Title/stories.tsx +0 -68
- package/src/components/Types/index.ts +0 -45
- package/src/index.ts +0 -10
- package/src/prettier.config.js +0 -11
- package/src/react-app-env.d.ts +0 -1
- package/src/reportWebVitals.ts +0 -16
- package/src/setupTests.ts +0 -5
- package/src/src/globalStyles.ts +0 -11
- package/src/stories/Button.stories.ts +0 -52
- package/src/stories/Button.tsx +0 -42
- package/src/stories/Configure.mdx +0 -364
- package/src/stories/Header.stories.ts +0 -33
- package/src/stories/Header.tsx +0 -56
- package/src/stories/Page.stories.ts +0 -32
- package/src/stories/Page.tsx +0 -73
- package/src/stories/assets/accessibility.png +0 -0
- package/src/stories/assets/accessibility.svg +0 -1
- package/src/stories/assets/addon-library.png +0 -0
- package/src/stories/assets/assets.png +0 -0
- package/src/stories/assets/avif-test-image.avif +0 -0
- package/src/stories/assets/context.png +0 -0
- package/src/stories/assets/discord.svg +0 -1
- package/src/stories/assets/docs.png +0 -0
- package/src/stories/assets/figma-plugin.png +0 -0
- package/src/stories/assets/github.svg +0 -1
- package/src/stories/assets/share.png +0 -0
- package/src/stories/assets/styling.png +0 -0
- package/src/stories/assets/testing.png +0 -0
- package/src/stories/assets/theming.png +0 -0
- package/src/stories/assets/tutorials.svg +0 -1
- package/src/stories/assets/youtube.svg +0 -1
- package/src/stories/button.css +0 -30
- package/src/stories/header.css +0 -32
- package/src/stories/page.css +0 -69
- package/src/utils/constanst.ts +0 -2
- package/tsconfig.json +0 -38
- package/webpack.config.js +0 -12
package/src/stories/header.css
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
.storybook-header {
|
|
2
|
-
font-family: 'Nunito Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
|
3
|
-
border-bottom: 1px solid rgba(0, 0, 0, 0.1);
|
|
4
|
-
padding: 15px 20px;
|
|
5
|
-
display: flex;
|
|
6
|
-
align-items: center;
|
|
7
|
-
justify-content: space-between;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.storybook-header svg {
|
|
11
|
-
display: inline-block;
|
|
12
|
-
vertical-align: top;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.storybook-header h1 {
|
|
16
|
-
font-weight: 700;
|
|
17
|
-
font-size: 20px;
|
|
18
|
-
line-height: 1;
|
|
19
|
-
margin: 6px 0 6px 10px;
|
|
20
|
-
display: inline-block;
|
|
21
|
-
vertical-align: top;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.storybook-header button + button {
|
|
25
|
-
margin-left: 10px;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.storybook-header .welcome {
|
|
29
|
-
color: #333;
|
|
30
|
-
font-size: 14px;
|
|
31
|
-
margin-right: 10px;
|
|
32
|
-
}
|
package/src/stories/page.css
DELETED
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
.storybook-page {
|
|
2
|
-
font-family: 'Nunito Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
|
3
|
-
font-size: 14px;
|
|
4
|
-
line-height: 24px;
|
|
5
|
-
padding: 48px 20px;
|
|
6
|
-
margin: 0 auto;
|
|
7
|
-
max-width: 600px;
|
|
8
|
-
color: #333;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.storybook-page h2 {
|
|
12
|
-
font-weight: 700;
|
|
13
|
-
font-size: 32px;
|
|
14
|
-
line-height: 1;
|
|
15
|
-
margin: 0 0 4px;
|
|
16
|
-
display: inline-block;
|
|
17
|
-
vertical-align: top;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.storybook-page p {
|
|
21
|
-
margin: 1em 0;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.storybook-page a {
|
|
25
|
-
text-decoration: none;
|
|
26
|
-
color: #1ea7fd;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.storybook-page ul {
|
|
30
|
-
padding-left: 30px;
|
|
31
|
-
margin: 1em 0;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.storybook-page li {
|
|
35
|
-
margin-bottom: 8px;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.storybook-page .tip {
|
|
39
|
-
display: inline-block;
|
|
40
|
-
border-radius: 1em;
|
|
41
|
-
font-size: 11px;
|
|
42
|
-
line-height: 12px;
|
|
43
|
-
font-weight: 700;
|
|
44
|
-
background: #e7fdd8;
|
|
45
|
-
color: #66bf3c;
|
|
46
|
-
padding: 4px 12px;
|
|
47
|
-
margin-right: 10px;
|
|
48
|
-
vertical-align: top;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
.storybook-page .tip-wrapper {
|
|
52
|
-
font-size: 13px;
|
|
53
|
-
line-height: 20px;
|
|
54
|
-
margin-top: 40px;
|
|
55
|
-
margin-bottom: 40px;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
.storybook-page .tip-wrapper svg {
|
|
59
|
-
display: inline-block;
|
|
60
|
-
height: 12px;
|
|
61
|
-
width: 12px;
|
|
62
|
-
margin-right: 4px;
|
|
63
|
-
vertical-align: top;
|
|
64
|
-
margin-top: 3px;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
.storybook-page .tip-wrapper svg path {
|
|
68
|
-
fill: #1ea7fd;
|
|
69
|
-
}
|
package/src/utils/constanst.ts
DELETED
package/tsconfig.json
DELETED
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"exclude": [
|
|
3
|
-
"node_modules",
|
|
4
|
-
"dist",
|
|
5
|
-
"./stories"
|
|
6
|
-
],
|
|
7
|
-
"compilerOptions": {
|
|
8
|
-
"skipLibCheck": true,
|
|
9
|
-
"target": "es6",
|
|
10
|
-
"module": "esnext",
|
|
11
|
-
"lib": [
|
|
12
|
-
"es6",
|
|
13
|
-
"dom"
|
|
14
|
-
],
|
|
15
|
-
"jsx": "react",
|
|
16
|
-
"declaration": true,
|
|
17
|
-
"declarationMap": true,
|
|
18
|
-
"sourceMap": true,
|
|
19
|
-
"outDir": "./dist",
|
|
20
|
-
"rootDirs": [
|
|
21
|
-
"./src",
|
|
22
|
-
"./stories"
|
|
23
|
-
],
|
|
24
|
-
"moduleResolution": "node",
|
|
25
|
-
"allowSyntheticDefaultImports": true,
|
|
26
|
-
"esModuleInterop": true,
|
|
27
|
-
"forceConsistentCasingInFileNames": true,
|
|
28
|
-
"allowJs": true,
|
|
29
|
-
"strict": true,
|
|
30
|
-
"noFallthroughCasesInSwitch": true,
|
|
31
|
-
"resolveJsonModule": true,
|
|
32
|
-
"isolatedModules": true,
|
|
33
|
-
|
|
34
|
-
},
|
|
35
|
-
"include": [
|
|
36
|
-
"src"
|
|
37
|
-
]
|
|
38
|
-
}
|