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.
- package/package.json +14 -13
- package/.prettierrc +0 -8
- package/.storybook/main.ts +0 -25
- package/.storybook/preview-head.html +0 -6
- package/.storybook/preview.ts +0 -14
- package/.vscode/settings.json +0 -3
- package/index.html +0 -13
- package/postcss.config.cjs +0 -10
- package/public/icons/back.svg +0 -4
- package/public/icons/close.svg +0 -4
- package/public/icons/down.svg +0 -3
- package/public/icons/pages.svg +0 -4
- package/public/icons/tick.svg +0 -3
- package/public/vite.svg +0 -1
- package/pull_request_template.md +0 -31
- package/src/App.css +0 -42
- package/src/App.tsx +0 -35
- package/src/assets/react.svg +0 -1
- package/src/components/Button/Button.stories.ts +0 -98
- package/src/components/Button/index.tsx +0 -69
- package/src/components/Icon/Icon.stories.ts +0 -21
- package/src/components/Icon/Icon.tsx +0 -24
- package/src/components/Icon/Icon.types.ts +0 -4
- package/src/components/MenuItem/MenuItem.stories.tsx +0 -30
- package/src/components/MenuItem/index.tsx +0 -20
- package/src/components/MenuList/MenuList.stories.tsx +0 -20
- package/src/components/MenuList/index.tsx +0 -16
- package/src/components/Modal/Modal.stories.ts +0 -43
- package/src/components/Modal/Modal.tsx +0 -39
- package/src/components/SplitButton/SplitButton.stories.ts +0 -22
- package/src/components/SplitButton/SplitButton.tsx +0 -59
- package/src/components/Tag/Tag.stories.tsx +0 -20
- package/src/components/Tag/Tag.tsx +0 -13
- package/src/components/Toggle/Toggle.stories.tsx +0 -34
- package/src/components/Toggle/Toggle.tsx +0 -40
- package/src/components/Toggle/Toggle.types.ts +0 -14
- package/src/components/Tooltip/Tooltip.stories.tsx +0 -58
- package/src/components/Tooltip/Tooltip.tsx +0 -95
- package/src/components/index.ts +0 -9
- package/src/index.css +0 -23
- package/src/index.ts +0 -3
- package/src/main.tsx +0 -10
- package/src/stories/Colors.mdx +0 -24
- package/src/stories/Configure.mdx +0 -364
- package/src/stories/Iconography.mdx +0 -27
- package/src/stories/assets/accessibility.png +0 -0
- package/src/stories/assets/accessibility.svg +0 -5
- 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 -15
- package/src/stories/assets/docs.png +0 -0
- package/src/stories/assets/figma-plugin.png +0 -0
- package/src/stories/assets/github.svg +0 -3
- 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 -12
- package/src/stories/assets/youtube.svg +0 -4
- package/src/utils/colors.js +0 -47
- package/src/utils/common.types.ts +0 -3
- package/src/utils/iconNames.ts +0 -6
- package/src/vite-env.d.ts +0 -1
- package/tailwind.config.js +0 -67
- package/tsconfig.json +0 -30
- package/tsconfig.node.json +0 -11
- 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
|
-
});
|