se-design 0.0.92 → 0.0.93

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 (69) hide show
  1. package/package.json +14 -13
  2. package/.prettierrc +0 -8
  3. package/.storybook/main.ts +0 -25
  4. package/.storybook/preview-head.html +0 -6
  5. package/.storybook/preview.ts +0 -14
  6. package/.vscode/settings.json +0 -3
  7. package/index.html +0 -13
  8. package/postcss.config.cjs +0 -10
  9. package/public/icons/back.svg +0 -4
  10. package/public/icons/close.svg +0 -4
  11. package/public/icons/down.svg +0 -3
  12. package/public/icons/pages.svg +0 -4
  13. package/public/icons/tick.svg +0 -3
  14. package/public/vite.svg +0 -1
  15. package/pull_request_template.md +0 -31
  16. package/src/App.css +0 -42
  17. package/src/App.tsx +0 -35
  18. package/src/assets/react.svg +0 -1
  19. package/src/components/Button/Button.stories.ts +0 -98
  20. package/src/components/Button/index.tsx +0 -69
  21. package/src/components/Icon/Icon.stories.ts +0 -21
  22. package/src/components/Icon/Icon.tsx +0 -24
  23. package/src/components/Icon/Icon.types.ts +0 -4
  24. package/src/components/MenuItem/MenuItem.stories.tsx +0 -30
  25. package/src/components/MenuItem/index.tsx +0 -20
  26. package/src/components/MenuList/MenuList.stories.tsx +0 -20
  27. package/src/components/MenuList/index.tsx +0 -16
  28. package/src/components/Modal/Modal.stories.ts +0 -43
  29. package/src/components/Modal/Modal.tsx +0 -39
  30. package/src/components/SplitButton/SplitButton.stories.ts +0 -22
  31. package/src/components/SplitButton/SplitButton.tsx +0 -59
  32. package/src/components/Tag/Tag.stories.tsx +0 -20
  33. package/src/components/Tag/Tag.tsx +0 -13
  34. package/src/components/Toggle/Toggle.stories.tsx +0 -34
  35. package/src/components/Toggle/Toggle.tsx +0 -40
  36. package/src/components/Toggle/Toggle.types.ts +0 -14
  37. package/src/components/Tooltip/Tooltip.stories.tsx +0 -58
  38. package/src/components/Tooltip/Tooltip.tsx +0 -95
  39. package/src/components/index.ts +0 -9
  40. package/src/index.css +0 -23
  41. package/src/index.ts +0 -3
  42. package/src/main.tsx +0 -10
  43. package/src/stories/Colors.mdx +0 -24
  44. package/src/stories/Configure.mdx +0 -364
  45. package/src/stories/Iconography.mdx +0 -27
  46. package/src/stories/assets/accessibility.png +0 -0
  47. package/src/stories/assets/accessibility.svg +0 -5
  48. package/src/stories/assets/addon-library.png +0 -0
  49. package/src/stories/assets/assets.png +0 -0
  50. package/src/stories/assets/avif-test-image.avif +0 -0
  51. package/src/stories/assets/context.png +0 -0
  52. package/src/stories/assets/discord.svg +0 -15
  53. package/src/stories/assets/docs.png +0 -0
  54. package/src/stories/assets/figma-plugin.png +0 -0
  55. package/src/stories/assets/github.svg +0 -3
  56. package/src/stories/assets/share.png +0 -0
  57. package/src/stories/assets/styling.png +0 -0
  58. package/src/stories/assets/testing.png +0 -0
  59. package/src/stories/assets/theming.png +0 -0
  60. package/src/stories/assets/tutorials.svg +0 -12
  61. package/src/stories/assets/youtube.svg +0 -4
  62. package/src/utils/colors.js +0 -47
  63. package/src/utils/common.types.ts +0 -3
  64. package/src/utils/iconNames.ts +0 -6
  65. package/src/vite-env.d.ts +0 -1
  66. package/tailwind.config.js +0 -67
  67. package/tsconfig.json +0 -30
  68. package/tsconfig.node.json +0 -11
  69. package/vite.config.ts +0 -39
package/vite.config.ts DELETED
@@ -1,39 +0,0 @@
1
- import react from '@vitejs/plugin-react';
2
- import dts from 'vite-plugin-dts';
3
- import { peerDependencies } from './package.json';
4
- import { defineConfig } from 'vite';
5
- import path from 'path';
6
-
7
- export default defineConfig({
8
- plugins: [
9
- react(),
10
- dts({
11
- insertTypesEntry: true,
12
- exclude: ["**/*.stories.ts", "**/*.test.tsx"],
13
- rollupTypes: true,
14
- }),
15
- ],
16
- build: {
17
- lib: {
18
- entry: './src/index.ts',
19
- formats: ['es', 'cjs'],
20
- fileName: (format, entryName) => `${entryName}.${format}.js`,
21
- },
22
- rollupOptions: {
23
- external: Object.keys(peerDependencies),
24
- output: {
25
- preserveModules: true,
26
- preserveModulesRoot: 'src',
27
- globals: {
28
- react: 'React',
29
- 'react-dom': 'ReactDOM',
30
- },
31
- },
32
- },
33
- },
34
- resolve: {
35
- alias: {
36
- src: path.resolve(__dirname, 'src'), // Resolve 'src' as an alias
37
- },
38
- },
39
- });