@xqmsg/ui-core 0.8.0 → 0.9.0

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 CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.8.0",
2
+ "version": "0.9.0",
3
3
  "license": "MIT",
4
4
  "main": "dist/index.js",
5
5
  "typings": "dist/index.d.ts",
@@ -52,32 +52,6 @@
52
52
  "limit": "10 KB"
53
53
  }
54
54
  ],
55
- "dependencies": {
56
- "@chakra-ui/icons": "^2.0.0",
57
- "@chakra-ui/media-query": "^2.0.0",
58
- "@chakra-ui/progress": "^2.0.0",
59
- "@chakra-ui/react": "^2.3.6",
60
- "@chakra-ui/storybook-addon": "^4.0.10",
61
- "@chakra-ui/system": "^2.0.0",
62
- "@chakra-ui/theme": "^2.0.0",
63
- "@chakra-ui/theme-tools": "^2.0.0",
64
- "@chakra-ui/transition": "^2.0.0",
65
- "@chakra-ui/utils": "^2.0.0",
66
- "@emotion/react": "~11.9.0",
67
- "@emotion/styled": "~11.6.0",
68
- "@hookform/resolvers": "^2.9.7",
69
- "axios": "^0.27.2",
70
- "framer-motion": "6.3.0",
71
- "generate-changelog": "^1.8.0",
72
- "ip-regex": "^5.0.0",
73
- "react": "^18.2.0",
74
- "react-dom": "^18.2.0",
75
- "react-hook-form": "^7.34.0",
76
- "react-icons": "^4.4.0",
77
- "react-is": "^18.2.0",
78
- "react-select": "^5.4.0",
79
- "yup": "^0.32.11"
80
- },
81
55
  "devDependencies": {
82
56
  "@babel/core": "^7.18.13",
83
57
  "@babel/preset-env": "^7.19.0",
@@ -104,7 +78,32 @@
104
78
  "tsconfig-paths-webpack-plugin": "^4.0.0",
105
79
  "tsdx": "^0.14.1",
106
80
  "tslib": "^2.4.0",
107
- "typescript": "^4.8.2"
81
+ "typescript": "^4.8.2",
82
+ "@chakra-ui/icons": "^2.0.0",
83
+ "@chakra-ui/media-query": "^2.0.0",
84
+ "@chakra-ui/progress": "^2.0.0",
85
+ "@chakra-ui/react": "^2.3.6",
86
+ "@chakra-ui/storybook-addon": "^4.0.10",
87
+ "@chakra-ui/system": "^2.0.0",
88
+ "@chakra-ui/theme": "^2.0.0",
89
+ "@chakra-ui/theme-tools": "^2.0.0",
90
+ "@chakra-ui/transition": "^2.0.0",
91
+ "@chakra-ui/utils": "^2.0.0",
92
+ "@emotion/react": "~11.9.0",
93
+ "@emotion/styled": "~11.6.0",
94
+ "@hookform/resolvers": "^2.9.7",
95
+ "axios": "^0.27.2",
96
+ "framer-motion": "6.3.0",
97
+ "generate-changelog": "^1.8.0",
98
+ "ip-regex": "^5.0.0",
99
+ "react": "^18.0.0",
100
+ "react-dom": "^18.0.0",
101
+ "react-hook-form": "^7.34.0",
102
+ "react-icons": "^4.4.0",
103
+ "react-is": "^18.2.0",
104
+ "react-select": "^5.4.0",
105
+ "yalc": "^1.0.0-pre.53",
106
+ "yup": "^0.32.11"
108
107
  },
109
108
  "resolutions": {
110
109
  "**/@typescript-eslint/eslint-plugin": "^5.36.2",
@@ -22,17 +22,15 @@ export const Icon: React.FC<IconProps> = ({ step, status }) => {
22
22
  }
23
23
  }, [status]);
24
24
 
25
- const { bg, color } = getColors;
26
-
27
25
  return (
28
26
  <Flex
29
27
  boxSize="20px"
30
- bg={bg}
28
+ bg={getColors.bg}
31
29
  borderRadius="100%"
32
30
  alignItems="center"
33
31
  justifyContent="center"
34
32
  >
35
- <Text fontSize="12px" color={color}>
33
+ <Text fontSize="12px" color={getColors.color}>
36
34
  {step}
37
35
  </Text>
38
36
  </Flex>