@phillips/seldon 1.1.3 → 1.1.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/dist/_virtual/_commonjsHelpers.js +6 -0
- package/dist/_virtual/index.js +4 -0
- package/dist/components/Button/Button.js +24 -0
- package/dist/components/Header/Header.js +44 -0
- package/dist/index.js +8 -0
- package/dist/node_modules/classnames/index.js +42 -0
- package/dist/pages/Page.js +58 -0
- package/dist/src/components/Button/Button.d.ts +31 -0
- package/dist/src/components/Header/Header.d.ts +11 -0
- package/{src/index.ts → dist/src/index.d.ts} +1 -1
- package/dist/src/pages/Page.d.ts +3 -0
- package/dist/src/utils/index.d.ts +1 -0
- package/dist/utils/index.js +4 -0
- package/package.json +18 -1
- package/.eslintrc.cjs +0 -16
- package/.github/CODEOWNERS +0 -37
- package/.github/CODE_OF_CONDUCT.md +0 -91
- package/.github/ISSUE_TEMPLATE/bug-report.md +0 -41
- package/.github/PULL_REQUEST_TEMPLATE.MD +0 -28
- package/.github/workflows/build.yml +0 -26
- package/.github/workflows/publish.yml +0 -45
- package/.storybook/assets/LogoBlack.svg +0 -16
- package/.storybook/main.ts +0 -19
- package/.storybook/manager-head.html +0 -58
- package/.storybook/manager.ts +0 -6
- package/.storybook/preview.ts +0 -23
- package/.storybook/seldonTheme.ts +0 -43
- package/custom.d.ts +0 -12
- package/index.html +0 -13
- package/src/App.css +0 -42
- package/src/App.tsx +0 -35
- package/src/README.md +0 -43
- package/src/assets/react.svg +0 -1
- package/src/components/Button/Button.stories.tsx +0 -28
- package/src/components/Button/Button.tsx +0 -57
- package/src/components/Header/Header.stories.ts +0 -26
- package/src/components/Header/Header.tsx +0 -56
- package/src/design/Welcome.mdx +0 -68
- package/src/design/assets/code-brackets.svg +0 -1
- package/src/design/assets/colors.svg +0 -1
- package/src/design/assets/comments.svg +0 -1
- package/src/design/assets/direction.svg +0 -1
- package/src/design/assets/flow.svg +0 -1
- package/src/design/assets/plugin.svg +0 -1
- package/src/design/assets/repo.svg +0 -1
- package/src/design/assets/stackalt.svg +0 -1
- package/src/design/colors-tokens/ColorCard.tsx +0 -84
- package/src/design/colors-tokens/_color-card.scss +0 -84
- package/src/design/colors-tokens/color-tokens.mdx +0 -231
- package/src/index.css +0 -69
- package/src/main.tsx +0 -10
- package/src/pages/Page.stories.ts +0 -29
- package/src/pages/Page.tsx +0 -74
- package/src/story-styles.scss +0 -1
- package/src/utils/_reset.scss +0 -29
- package/src/utils/_typography.scss +0 -22
- package/src/utils/_vars.scss +0 -35
- package/src/utils/index.ts +0 -1
- package/src/vite-env.d.ts +0 -1
- package/tsconfig.json +0 -27
- package/tsconfig.node.json +0 -11
- package/vite.config.ts +0 -58
- /package/{src → dist/scss}/components/Button/_button.scss +0 -0
- /package/{src → dist/scss}/components/Header/_header.scss +0 -0
- /package/{src → dist/scss}/pages/_page.scss +0 -0
- /package/{src → dist/scss}/styles.scss +0 -0
- /package/{public → dist}/vite.svg +0 -0
package/tsconfig.json
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"target": "ES2020",
|
|
4
|
-
"useDefineForClassFields": true,
|
|
5
|
-
"lib": ["ES2020", "DOM", "DOM.Iterable"],
|
|
6
|
-
"module": "ESNext",
|
|
7
|
-
"skipLibCheck": true,
|
|
8
|
-
|
|
9
|
-
/* Bundler mode */
|
|
10
|
-
"moduleResolution": "Node",
|
|
11
|
-
"allowImportingTsExtensions": true,
|
|
12
|
-
"resolveJsonModule": true,
|
|
13
|
-
"isolatedModules": true,
|
|
14
|
-
"noEmit": true,
|
|
15
|
-
"jsx": "react-jsx",
|
|
16
|
-
"allowSyntheticDefaultImports": true,
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
/* Linting */
|
|
20
|
-
"strict": true,
|
|
21
|
-
"noUnusedLocals": true,
|
|
22
|
-
"noUnusedParameters": true,
|
|
23
|
-
"noFallthroughCasesInSwitch": true
|
|
24
|
-
},
|
|
25
|
-
"include": ["src", "custom.d.ts"],
|
|
26
|
-
"references": [{ "path": "./tsconfig.node.json" }]
|
|
27
|
-
}
|
package/tsconfig.node.json
DELETED
package/vite.config.ts
DELETED
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { defineConfig } from 'vite'
|
|
2
|
-
import dts from 'vite-plugin-dts'
|
|
3
|
-
import react from '@vitejs/plugin-react'
|
|
4
|
-
import copy from 'rollup-plugin-copy';
|
|
5
|
-
import peerDepsExternal from "rollup-plugin-peer-deps-external";
|
|
6
|
-
import * as packageJson from './package.json'
|
|
7
|
-
|
|
8
|
-
const plugins = [
|
|
9
|
-
react(),
|
|
10
|
-
dts(),
|
|
11
|
-
]
|
|
12
|
-
|
|
13
|
-
// https://vitejs.dev/config/
|
|
14
|
-
export default defineConfig({
|
|
15
|
-
plugins: plugins,
|
|
16
|
-
build: {
|
|
17
|
-
minify: true,
|
|
18
|
-
reportCompressedSize: true,
|
|
19
|
-
lib: {
|
|
20
|
-
// Could also be a dictionary or array of multiple entry points
|
|
21
|
-
entry: ['src/index.ts'],
|
|
22
|
-
name: 'seldon',
|
|
23
|
-
formats: ['es'],
|
|
24
|
-
},
|
|
25
|
-
outDir: 'dist',
|
|
26
|
-
rollupOptions: {
|
|
27
|
-
input: 'src/index.ts',
|
|
28
|
-
output: [
|
|
29
|
-
{
|
|
30
|
-
dir: 'dist',
|
|
31
|
-
preserveModulesRoot: 'src',
|
|
32
|
-
chunkFileNames: '[name].js',
|
|
33
|
-
entryFileNames: '[name].js'
|
|
34
|
-
}
|
|
35
|
-
],
|
|
36
|
-
preserveModules: true,
|
|
37
|
-
// make sure to externalize deps that shouldn't be bundled
|
|
38
|
-
// into your library
|
|
39
|
-
external: [...Object.keys(packageJson.peerDependencies)],
|
|
40
|
-
plugins: [
|
|
41
|
-
copy({
|
|
42
|
-
flatten: false,
|
|
43
|
-
targets: [
|
|
44
|
-
// Sass entrypoint
|
|
45
|
-
{ src: 'src/styles.scss', dest: ['dist/scss', 'public/scss'] },
|
|
46
|
-
|
|
47
|
-
// Sass components
|
|
48
|
-
{
|
|
49
|
-
src: ['src/components/**/*.scss', 'src/pages/**/*.scss'],
|
|
50
|
-
dest: ['dist/scss', 'public/scss'],
|
|
51
|
-
},
|
|
52
|
-
],
|
|
53
|
-
}),
|
|
54
|
-
peerDepsExternal()
|
|
55
|
-
],
|
|
56
|
-
},
|
|
57
|
-
},
|
|
58
|
-
})
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|