@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.
Files changed (67) hide show
  1. package/dist/_virtual/_commonjsHelpers.js +6 -0
  2. package/dist/_virtual/index.js +4 -0
  3. package/dist/components/Button/Button.js +24 -0
  4. package/dist/components/Header/Header.js +44 -0
  5. package/dist/index.js +8 -0
  6. package/dist/node_modules/classnames/index.js +42 -0
  7. package/dist/pages/Page.js +58 -0
  8. package/dist/src/components/Button/Button.d.ts +31 -0
  9. package/dist/src/components/Header/Header.d.ts +11 -0
  10. package/{src/index.ts → dist/src/index.d.ts} +1 -1
  11. package/dist/src/pages/Page.d.ts +3 -0
  12. package/dist/src/utils/index.d.ts +1 -0
  13. package/dist/utils/index.js +4 -0
  14. package/package.json +18 -1
  15. package/.eslintrc.cjs +0 -16
  16. package/.github/CODEOWNERS +0 -37
  17. package/.github/CODE_OF_CONDUCT.md +0 -91
  18. package/.github/ISSUE_TEMPLATE/bug-report.md +0 -41
  19. package/.github/PULL_REQUEST_TEMPLATE.MD +0 -28
  20. package/.github/workflows/build.yml +0 -26
  21. package/.github/workflows/publish.yml +0 -45
  22. package/.storybook/assets/LogoBlack.svg +0 -16
  23. package/.storybook/main.ts +0 -19
  24. package/.storybook/manager-head.html +0 -58
  25. package/.storybook/manager.ts +0 -6
  26. package/.storybook/preview.ts +0 -23
  27. package/.storybook/seldonTheme.ts +0 -43
  28. package/custom.d.ts +0 -12
  29. package/index.html +0 -13
  30. package/src/App.css +0 -42
  31. package/src/App.tsx +0 -35
  32. package/src/README.md +0 -43
  33. package/src/assets/react.svg +0 -1
  34. package/src/components/Button/Button.stories.tsx +0 -28
  35. package/src/components/Button/Button.tsx +0 -57
  36. package/src/components/Header/Header.stories.ts +0 -26
  37. package/src/components/Header/Header.tsx +0 -56
  38. package/src/design/Welcome.mdx +0 -68
  39. package/src/design/assets/code-brackets.svg +0 -1
  40. package/src/design/assets/colors.svg +0 -1
  41. package/src/design/assets/comments.svg +0 -1
  42. package/src/design/assets/direction.svg +0 -1
  43. package/src/design/assets/flow.svg +0 -1
  44. package/src/design/assets/plugin.svg +0 -1
  45. package/src/design/assets/repo.svg +0 -1
  46. package/src/design/assets/stackalt.svg +0 -1
  47. package/src/design/colors-tokens/ColorCard.tsx +0 -84
  48. package/src/design/colors-tokens/_color-card.scss +0 -84
  49. package/src/design/colors-tokens/color-tokens.mdx +0 -231
  50. package/src/index.css +0 -69
  51. package/src/main.tsx +0 -10
  52. package/src/pages/Page.stories.ts +0 -29
  53. package/src/pages/Page.tsx +0 -74
  54. package/src/story-styles.scss +0 -1
  55. package/src/utils/_reset.scss +0 -29
  56. package/src/utils/_typography.scss +0 -22
  57. package/src/utils/_vars.scss +0 -35
  58. package/src/utils/index.ts +0 -1
  59. package/src/vite-env.d.ts +0 -1
  60. package/tsconfig.json +0 -27
  61. package/tsconfig.node.json +0 -11
  62. package/vite.config.ts +0 -58
  63. /package/{src → dist/scss}/components/Button/_button.scss +0 -0
  64. /package/{src → dist/scss}/components/Header/_header.scss +0 -0
  65. /package/{src → dist/scss}/pages/_page.scss +0 -0
  66. /package/{src → dist/scss}/styles.scss +0 -0
  67. /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
- }
@@ -1,11 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "composite": true,
4
- "skipLibCheck": true,
5
- "module": "ESNext",
6
- "moduleResolution": "Node",
7
- "allowSyntheticDefaultImports": true,
8
- "resolveJsonModule": true,
9
- },
10
- "include": ["vite.config.ts","package.json"]
11
- }
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