@esic-lab/data-core-ui 0.0.2 → 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 (63) hide show
  1. package/dist/index.css +784 -0
  2. package/dist/index.d.mts +111 -0
  3. package/dist/index.d.ts +111 -0
  4. package/dist/index.js +2004 -0
  5. package/dist/index.mjs +1980 -0
  6. package/package.json +10 -3
  7. package/.storybook/main.ts +0 -12
  8. package/.storybook/preview.ts +0 -16
  9. package/.storybook/vitest.setup.ts +0 -7
  10. package/postcss.config.js +0 -5
  11. package/src/Button/GhostButton/GhostButton.stories.tsx +0 -20
  12. package/src/Button/GhostButton/GhostButton.tsx +0 -26
  13. package/src/Button/PrimaryButton/PrimaryButton.stories.tsx +0 -21
  14. package/src/Button/PrimaryButton/PrimaryButton.tsx +0 -35
  15. package/src/Button/SecondaryButton/SecondaryButton.stories.tsx +0 -16
  16. package/src/Button/SecondaryButton/SecondaryButton.tsx +0 -26
  17. package/src/Checkbox/Checkbox/Checkbox.stories.tsx +0 -17
  18. package/src/Checkbox/Checkbox/Checkbox.tsx +0 -27
  19. package/src/Checkbox/CheckboxGroup/CheckboxGroup.stories.tsx +0 -35
  20. package/src/Checkbox/CheckboxGroup/CheckboxGroup.tsx +0 -23
  21. package/src/Loader/Loader/Loader.stories.tsx +0 -16
  22. package/src/Loader/Loader/Loader.tsx +0 -12
  23. package/src/NavBar/MenuNavBar/MenuNavBar.stories.tsx +0 -85
  24. package/src/NavBar/MenuNavBar/MenuNavBar.tsx +0 -43
  25. package/src/NavBar/TopNavBar/TopNavBar.stories.tsx +0 -16
  26. package/src/NavBar/TopNavBar/TopNavBar.tsx +0 -24
  27. package/src/Radio/Radio/Radio.stories.tsx +0 -17
  28. package/src/Radio/Radio/Radio.tsx +0 -15
  29. package/src/Radio/RadioGroup/RadioGroup.stories.tsx +0 -23
  30. package/src/Radio/RadioGroup/RadioGroup.tsx +0 -27
  31. package/src/Switch/Switch/Switch.stories.tsx +0 -18
  32. package/src/Switch/Switch/Switch.tsx +0 -25
  33. package/src/index.css +0 -260
  34. package/src/index.ts +0 -24
  35. package/stories/Button.stories.ts +0 -49
  36. package/stories/Button.tsx +0 -33
  37. package/stories/Configure.mdx +0 -364
  38. package/stories/Header.stories.ts +0 -29
  39. package/stories/Header.tsx +0 -47
  40. package/stories/Page.stories.ts +0 -28
  41. package/stories/Page.tsx +0 -69
  42. package/stories/assets/accessibility.png +0 -0
  43. package/stories/assets/accessibility.svg +0 -1
  44. package/stories/assets/addon-library.png +0 -0
  45. package/stories/assets/assets.png +0 -0
  46. package/stories/assets/avif-test-image.avif +0 -0
  47. package/stories/assets/context.png +0 -0
  48. package/stories/assets/discord.svg +0 -1
  49. package/stories/assets/docs.png +0 -0
  50. package/stories/assets/figma-plugin.png +0 -0
  51. package/stories/assets/github.svg +0 -1
  52. package/stories/assets/share.png +0 -0
  53. package/stories/assets/styling.png +0 -0
  54. package/stories/assets/testing.png +0 -0
  55. package/stories/assets/theming.png +0 -0
  56. package/stories/assets/tutorials.svg +0 -1
  57. package/stories/assets/youtube.svg +0 -1
  58. package/stories/button.css +0 -30
  59. package/stories/header.css +0 -32
  60. package/stories/page.css +0 -68
  61. package/tsconfig.json +0 -16
  62. package/vitest.config.js +0 -35
  63. /package/{src/assets/STO-logo.svg → dist/STO-logo-ADYYAPS3.svg} +0 -0
package/stories/page.css DELETED
@@ -1,68 +0,0 @@
1
- .storybook-page {
2
- margin: 0 auto;
3
- padding: 48px 20px;
4
- max-width: 600px;
5
- color: #333;
6
- font-size: 14px;
7
- line-height: 24px;
8
- font-family: 'Nunito Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
9
- }
10
-
11
- .storybook-page h2 {
12
- display: inline-block;
13
- vertical-align: top;
14
- margin: 0 0 4px;
15
- font-weight: 700;
16
- font-size: 32px;
17
- line-height: 1;
18
- }
19
-
20
- .storybook-page p {
21
- margin: 1em 0;
22
- }
23
-
24
- .storybook-page a {
25
- color: inherit;
26
- }
27
-
28
- .storybook-page ul {
29
- margin: 1em 0;
30
- padding-left: 30px;
31
- }
32
-
33
- .storybook-page li {
34
- margin-bottom: 8px;
35
- }
36
-
37
- .storybook-page .tip {
38
- display: inline-block;
39
- vertical-align: top;
40
- margin-right: 10px;
41
- border-radius: 1em;
42
- background: #e7fdd8;
43
- padding: 4px 12px;
44
- color: #357a14;
45
- font-weight: 700;
46
- font-size: 11px;
47
- line-height: 12px;
48
- }
49
-
50
- .storybook-page .tip-wrapper {
51
- margin-top: 40px;
52
- margin-bottom: 40px;
53
- font-size: 13px;
54
- line-height: 20px;
55
- }
56
-
57
- .storybook-page .tip-wrapper svg {
58
- display: inline-block;
59
- vertical-align: top;
60
- margin-top: 3px;
61
- margin-right: 4px;
62
- width: 12px;
63
- height: 12px;
64
- }
65
-
66
- .storybook-page .tip-wrapper svg path {
67
- fill: #1ea7fd;
68
- }
package/tsconfig.json DELETED
@@ -1,16 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "target": "ESNext",
4
- "module": "ESNext",
5
- "jsx": "react-jsx",
6
- "strict": true,
7
- "moduleResolution": "node",
8
- "esModuleInterop": true,
9
- "skipLibCheck": true,
10
- "forceConsistentCasingInFileNames": true,
11
- "resolveJsonModule": true,
12
- "isolatedModules": true,
13
- "types": ["node", "react", "react-dom"]
14
- },
15
- "include": ["src", ".storybook"]
16
- }
package/vitest.config.js DELETED
@@ -1,35 +0,0 @@
1
- import path from 'node:path';
2
- import { fileURLToPath } from 'node:url';
3
-
4
- import { defineConfig } from 'vitest/config';
5
-
6
- import { storybookTest } from '@storybook/addon-vitest/vitest-plugin';
7
-
8
- const dirname =
9
- typeof __dirname !== 'undefined' ? __dirname : path.dirname(fileURLToPath(import.meta.url));
10
-
11
- // More info at: https://storybook.js.org/docs/next/writing-tests/integrations/vitest-addon
12
- export default defineConfig({
13
- test: {
14
- projects: [
15
- {
16
- extends: true,
17
- plugins: [
18
- // The plugin will run tests for the stories defined in your Storybook config
19
- // See options at: https://storybook.js.org/docs/next/writing-tests/integrations/vitest-addon#storybooktest
20
- storybookTest({ configDir: path.join(dirname, '.storybook') }),
21
- ],
22
- test: {
23
- name: 'storybook',
24
- browser: {
25
- enabled: true,
26
- headless: true,
27
- provider: 'playwright',
28
- instances: [{ browser: 'chromium' }]
29
- },
30
- setupFiles: ['.storybook/vitest.setup.js'],
31
- },
32
- },
33
- ],
34
- },
35
- });