@indico-data/design-system 1.0.24 → 1.0.26

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/.babelrc CHANGED
@@ -22,7 +22,6 @@
22
22
  {
23
23
  "ssr": false
24
24
  }
25
- ],
26
- "@babel/plugin-proposal-class-properties"
25
+ ]
27
26
  ]
28
27
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@indico-data/design-system",
3
- "version": "1.0.24",
3
+ "version": "1.0.26",
4
4
  "description": "",
5
5
  "private": false,
6
6
  "author": "",
@@ -36,7 +36,6 @@
36
36
  "devDependencies": {
37
37
  "@babel/core": "^7.23.3",
38
38
  "@babel/plugin-proposal-class-properties": "^7.18.6",
39
- "@babel/plugin-syntax-jsx": "^7.23.3",
40
39
  "@babel/preset-env": "^7.23.3",
41
40
  "@babel/preset-react": "^7.23.3",
42
41
  "@babel/preset-typescript": "^7.23.3",
package/rollup.config.mjs CHANGED
@@ -1,5 +1,4 @@
1
1
  import peerDepsExternal from 'rollup-plugin-peer-deps-external';
2
- import babel from '@rollup/plugin-babel';
3
2
  import resolve from '@rollup/plugin-node-resolve';
4
3
  import commonjs from '@rollup/plugin-commonjs';
5
4
  import typescript from '@rollup/plugin-typescript';
@@ -31,11 +30,6 @@ export default [
31
30
  plugins: [
32
31
  peerDepsExternal(),
33
32
  resolve(),
34
- babel({
35
- babelHelpers: 'bundled',
36
- presets: [['solid', { generate: 'ssr', hydratable: true }]],
37
- extensions: ['.js', '.ts', '.jsx”', '.tsx'],
38
- }),
39
33
  commonjs(),
40
34
  typescript(),
41
35
  postcss({
@@ -1,7 +1,5 @@
1
1
  import { createGlobalStyle } from 'styled-components';
2
2
 
3
- import { allColors } from '@/tokens/colors';
4
-
5
3
  export const Layout = createGlobalStyle`
6
4
  html {
7
5
  box-sizing: border-box;
@@ -20,6 +18,5 @@ export const Layout = createGlobalStyle`
20
18
 
21
19
  body {
22
20
  margin: 0;
23
- background-color: var(${allColors.backgroundColor});
24
21
  }
25
22
  `;
package/tsconfig.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "compilerOptions": {
3
3
  "target": "es6",
4
4
  "outDir": "lib",
5
- "lib": ["DOM", "ES6", "DOM.Iterable", "ScriptHost", "ES2016.Array.Include"],
5
+ "lib": ["dom", "dom.iterable", "esnext"],
6
6
  "declaration": true,
7
7
  "declarationDir": "lib",
8
8
  "allowJs": true,
@@ -16,7 +16,7 @@
16
16
  "resolveJsonModule": true,
17
17
  "isolatedModules": true,
18
18
  "noEmit": true,
19
- "jsx": "react-jsx",
19
+ "jsx": "react",
20
20
  "baseUrl": "./",
21
21
  "paths": {
22
22
  "@/*": ["src/*"]
package/webpack.config.js CHANGED
@@ -16,11 +16,7 @@ module.exports = {
16
16
  host,
17
17
  port: 3000,
18
18
  },
19
- plugins: [
20
- new HtmlWebpackPlugin(),
21
- ['@babel/plugin-syntax-jsx'],
22
- ['@babel/plugin-proposal-class-properties'],
23
- ],
19
+ plugins: [new HtmlWebpackPlugin()],
24
20
  module: {
25
21
  rules: [
26
22
  {