@antscorp/antsomi-ui 1.0.20 → 1.0.22

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.
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ interface GlobalStyleProps {
3
+ }
4
+ export declare const GlobalStyle: React.FC<GlobalStyleProps>;
5
+ export {};
@@ -5,4 +5,3 @@ export { Space } from './Space';
5
5
  export { Radio } from './Radio';
6
6
  export { Divider } from './Divider';
7
7
  export { ConfigProvider } from './ConfigProvider';
8
- export { ConfigGlobalStyle } from './ConfigGlobalStyle';
package/dist/index.d.ts CHANGED
@@ -1,13 +1,10 @@
1
1
  export { Alert, Button, Divider, Modal, Radio, Space } from 'antd';
2
2
  import { ConfigProviderProps as ConfigProviderProps$1 } from 'antd/es/config-provider';
3
3
  import React, { ReactNode } from 'react';
4
- import * as styled_components from 'styled-components';
5
4
 
6
5
  interface ConfigProviderProps extends ConfigProviderProps$1 {
7
6
  children?: ReactNode;
8
7
  }
9
8
  declare const ConfigProvider: React.FC<ConfigProviderProps>;
10
9
 
11
- declare const ConfigGlobalStyle: styled_components.GlobalStyleComponent<{}, styled_components.DefaultTheme>;
12
-
13
- export { ConfigGlobalStyle, ConfigProvider };
10
+ export { ConfigProvider };
@@ -0,0 +1,74 @@
1
+ {
2
+ "name": "@antscorp/antsomi-ui",
3
+ "version": "1.0.21",
4
+ "description": "An enterprise-class UI design language and React UI library.",
5
+ "main": "cjs/index.js",
6
+ "module": "esm/index.js",
7
+ "types": "index.d.ts",
8
+ "scripts": {
9
+ "dev": "vite",
10
+ "build": "rollup -c",
11
+ "vite:build": "tsc && vite build",
12
+ "eslint": "eslint --ext js,ts,tsx",
13
+ "lint": "yarn run eslint src",
14
+ "lint:fix": "yarn run eslint src --fix",
15
+ "prepare": "husky install"
16
+ },
17
+ "husky": {
18
+ "hooks": {
19
+ "pre-commit": "lint-staged"
20
+ }
21
+ },
22
+ "lint-staged": {
23
+ "*.{ts,tsx,js,jsx}": [
24
+ "yarn lint:fix"
25
+ ]
26
+ },
27
+ "author": "",
28
+ "license": "MIT",
29
+ "dependencies": {
30
+ "@ant-design/cssinjs": "^1.6.2",
31
+ "@antscorp/icons": "^0.26.47",
32
+ "@emotion/css": "^11.10.6",
33
+ "@emotion/react": "^11.10.6",
34
+ "@types/react": "^18.0.28",
35
+ "antd": "^5.3.2",
36
+ "styled-components": "^5.3.9",
37
+ "typescript": "^5.0.2"
38
+ },
39
+ "devDependencies": {
40
+ "@antscorp/eslint-config-antsomi": "1.0.4",
41
+ "@rollup/plugin-commonjs": "^24.0.1",
42
+ "@rollup/plugin-image": "^3.0.2",
43
+ "@rollup/plugin-node-resolve": "^15.0.1",
44
+ "@rollup/plugin-typescript": "^11.0.0",
45
+ "@types/react-dom": "^18.0.11",
46
+ "@types/styled-components": "^5.1.26",
47
+ "@typescript-eslint/eslint-plugin": "^5.55.0",
48
+ "@typescript-eslint/parser": "^5.55.0",
49
+ "@vitejs/plugin-react-swc": "^3.2.0",
50
+ "eslint": "^8.36.0",
51
+ "eslint-config-airbnb": "^19.0.4",
52
+ "eslint-config-airbnb-typescript": "^17.0.0",
53
+ "eslint-plugin-import": "^2.27.5",
54
+ "eslint-plugin-jsx-a11y": "^6.7.1",
55
+ "eslint-plugin-react": "^7.32.2",
56
+ "eslint-plugin-react-hooks": "^4.6.0",
57
+ "husky": "^8.0.3",
58
+ "postcss": "^8.4.21",
59
+ "rollup": "^3.20.0",
60
+ "rollup-plugin-dts": "^5.3.0",
61
+ "rollup-plugin-peer-deps-external": "^2.2.4",
62
+ "rollup-plugin-postcss": "^4.0.2",
63
+ "rollup-plugin-terser": "^7.0.2",
64
+ "rollup-plugin-typescript-paths": "^1.4.0",
65
+ "sass": "^1.60.0",
66
+ "tslib": "^2.5.0",
67
+ "vite": "^4.2.1",
68
+ "vite-plugin-externals": "^0.6.2"
69
+ },
70
+ "peerDependencies": {
71
+ "react": "^18.2.0",
72
+ "react-dom": "^18.2.0"
73
+ }
74
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antscorp/antsomi-ui",
3
- "version": "1.0.20",
3
+ "version": "1.0.22",
4
4
  "description": "An enterprise-class UI design language and React UI library.",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -30,16 +30,17 @@
30
30
  "author": "",
31
31
  "license": "MIT",
32
32
  "dependencies": {
33
- "@ant-design/cssinjs": "^1.6.2",
33
+ },
34
+ "devDependencies": {
34
35
  "@antscorp/icons": "^0.26.47",
35
- "@emotion/css": "^11.10.6",
36
- "@emotion/react": "^11.10.6",
37
- "@types/react": "^18.0.28",
38
36
  "antd": "^5.3.2",
37
+ "typescript": "^5.0.2",
38
+ "react": "^18.2.0",
39
+ "react-dom": "^18.2.0",
40
+ "@types/react": "^18.0.28",
41
+ "@ant-design/cssinjs": "^1.6.2",
42
+ "@emotion/react": "^11.10.6",
39
43
  "styled-components": "^5.3.9",
40
- "typescript": "^5.0.2"
41
- },
42
- "devDependencies": {
43
44
  "@antscorp/eslint-config-antsomi": "1.0.4",
44
45
  "@rollup/plugin-commonjs": "^24.0.1",
45
46
  "@rollup/plugin-image": "^3.0.2",
@@ -71,7 +72,7 @@
71
72
  "vite-plugin-externals": "^0.6.2"
72
73
  },
73
74
  "peerDependencies": {
74
- "react": "^18.2.0",
75
- "react-dom": "^18.2.0"
75
+ "react": ">=16.9.0",
76
+ "react-dom": ">=16.9.0"
76
77
  }
77
78
  }
@@ -1,2 +0,0 @@
1
- declare const ConfigGlobalStyle: import("styled-components").GlobalStyleComponent<{}, import("styled-components").DefaultTheme>;
2
- export default ConfigGlobalStyle;
@@ -1 +0,0 @@
1
- export { default as ConfigGlobalStyle } from './ConfigGlobalStyle';
@@ -1,6 +0,0 @@
1
- import React from 'react';
2
- interface GlobalStyleProps {
3
- }
4
- export declare const GlobalStyle: React.FC<GlobalStyleProps>;
5
- export declare const GlobalfasdStyle: import("styled-components").GlobalStyleComponent<{}, import("styled-components").DefaultTheme>;
6
- export {};
@@ -1,2 +0,0 @@
1
- declare const ConfigGlobalStyle: import("styled-components").GlobalStyleComponent<{}, import("styled-components").DefaultTheme>;
2
- export default ConfigGlobalStyle;
@@ -1 +0,0 @@
1
- export { default as ConfigGlobalStyle } from './ConfigGlobalStyle';
@@ -1,6 +0,0 @@
1
- import React from 'react';
2
- interface GlobalStyleProps {
3
- }
4
- export declare const GlobalStyle: React.FC<GlobalStyleProps>;
5
- export declare const GlobalfasdStyle: import("styled-components").GlobalStyleComponent<{}, import("styled-components").DefaultTheme>;
6
- export {};