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.
Files changed (77) hide show
  1. package/package.json +4 -1
  2. package/.storybook/main.ts +0 -19
  3. package/.storybook/preview.ts +0 -14
  4. package/public/favicon.ico +0 -0
  5. package/public/index.html +0 -43
  6. package/public/logo192.png +0 -0
  7. package/public/logo512.png +0 -0
  8. package/public/manifest.json +0 -25
  9. package/public/robots.txt +0 -3
  10. package/src/assets/icon/alert.svg +0 -3
  11. package/src/assets/icon/close.svg +0 -10
  12. package/src/assets/icon/comment.svg +0 -10
  13. package/src/assets/icon/doc-check.svg +0 -10
  14. package/src/assets/icon/image.svg +0 -3
  15. package/src/assets/icon/index.ts +0 -6
  16. package/src/assets/icon/svg.d.ts +0 -1
  17. package/src/components/Banner/index.tsx +0 -47
  18. package/src/components/Banner/stories.tsx +0 -31
  19. package/src/components/Banner/styles.ts +0 -58
  20. package/src/components/Button/index.tsx +0 -31
  21. package/src/components/Button/stories.tsx +0 -98
  22. package/src/components/Button/styles.ts +0 -198
  23. package/src/components/Button/test.tsx +0 -44
  24. package/src/components/ButtonRadiusIcon/index.tsx +0 -22
  25. package/src/components/ButtonRadiusIcon/stories.tsx +0 -47
  26. package/src/components/ButtonRadiusIcon/styles.ts +0 -139
  27. package/src/components/ButtonRound/index.tsx +0 -25
  28. package/src/components/ButtonRound/stories.tsx +0 -50
  29. package/src/components/ButtonRound/styles.ts +0 -136
  30. package/src/components/IconWrapper/index.tsx +0 -43
  31. package/src/components/Modal/index.tsx +0 -30
  32. package/src/components/Modal/stories.tsx +0 -53
  33. package/src/components/Modal/styles.ts +0 -51
  34. package/src/components/Paragraph/index.tsx +0 -42
  35. package/src/components/Paragraph/stories.tsx +0 -107
  36. package/src/components/Tabs/index.tsx +0 -24
  37. package/src/components/Tabs/stories.tsx +0 -74
  38. package/src/components/Tabs/styles.ts +0 -23
  39. package/src/components/Themes/index.ts +0 -99
  40. package/src/components/Title/index.tsx +0 -33
  41. package/src/components/Title/stories.tsx +0 -68
  42. package/src/components/Types/index.ts +0 -45
  43. package/src/index.ts +0 -10
  44. package/src/prettier.config.js +0 -11
  45. package/src/react-app-env.d.ts +0 -1
  46. package/src/reportWebVitals.ts +0 -16
  47. package/src/setupTests.ts +0 -5
  48. package/src/src/globalStyles.ts +0 -11
  49. package/src/stories/Button.stories.ts +0 -52
  50. package/src/stories/Button.tsx +0 -42
  51. package/src/stories/Configure.mdx +0 -364
  52. package/src/stories/Header.stories.ts +0 -33
  53. package/src/stories/Header.tsx +0 -56
  54. package/src/stories/Page.stories.ts +0 -32
  55. package/src/stories/Page.tsx +0 -73
  56. package/src/stories/assets/accessibility.png +0 -0
  57. package/src/stories/assets/accessibility.svg +0 -1
  58. package/src/stories/assets/addon-library.png +0 -0
  59. package/src/stories/assets/assets.png +0 -0
  60. package/src/stories/assets/avif-test-image.avif +0 -0
  61. package/src/stories/assets/context.png +0 -0
  62. package/src/stories/assets/discord.svg +0 -1
  63. package/src/stories/assets/docs.png +0 -0
  64. package/src/stories/assets/figma-plugin.png +0 -0
  65. package/src/stories/assets/github.svg +0 -1
  66. package/src/stories/assets/share.png +0 -0
  67. package/src/stories/assets/styling.png +0 -0
  68. package/src/stories/assets/testing.png +0 -0
  69. package/src/stories/assets/theming.png +0 -0
  70. package/src/stories/assets/tutorials.svg +0 -1
  71. package/src/stories/assets/youtube.svg +0 -1
  72. package/src/stories/button.css +0 -30
  73. package/src/stories/header.css +0 -32
  74. package/src/stories/page.css +0 -69
  75. package/src/utils/constanst.ts +0 -2
  76. package/tsconfig.json +0 -38
  77. package/webpack.config.js +0 -12
@@ -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
- }
@@ -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
- }
@@ -1,2 +0,0 @@
1
- export const VARIANTS_TYPES = ['primary', 'secondary', 'success', 'danger', 'gray', 'warning', 'yellow']
2
- export const VARIANTS_TYPES_BANNER = ['notice', 'success', 'danger', 'warning']
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
- }
package/webpack.config.js DELETED
@@ -1,12 +0,0 @@
1
- module.exports = {
2
- // other configurations
3
- module: {
4
- rules: [
5
- {
6
- test: /\.svg$/,
7
- use: ["@svgr/webpack", "file-loader"],
8
- },
9
- // other rules
10
- ],
11
- },
12
- };