@nethru/ui 1.0.5 → 1.0.6

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/README.md CHANGED
@@ -14,12 +14,12 @@ npm install @nethru/ui
14
14
 
15
15
  ### Documentation
16
16
  * * *
17
- Visit https://nethru.atlassian.net/wiki/spaces/combuff/overview to view the full documentation.
17
+ Visit [document](https://nethru.atlassian.net/wiki/spaces/UIUX/overview) to view the full documentation.
18
18
 
19
19
 
20
20
  ### Examples
21
21
  * * *
22
- Visit https://nethru.atlassian.net/wiki/spaces/combuff/overview to view several examples.
22
+ Visit [examples](https://nethru.atlassian.net/wiki/spaces/UIUX/pages/916422813/UI) to view several examples.
23
23
 
24
24
 
25
25
  ### Changelog
@@ -8,12 +8,18 @@ export default function StatusChip({
8
8
  onClick,
9
9
  ...props
10
10
  }) {
11
+ const styles = {
12
+ '&': {
13
+ bgcolor: status === 'normal' ? '#4caf50' : '#fff'
14
+ }
15
+ };
11
16
  return /*#__PURE__*/_jsx(Chip, {
12
17
  label: label,
13
18
  variant: status === 'normal' ? 'filled' : 'outlined',
14
19
  color: status === 'normal' ? 'success' : 'default',
15
20
  deleteIcon: status === 'normal' ? /*#__PURE__*/_jsx(CheckCircleIcon, {}) : /*#__PURE__*/_jsx(ErrorIcon, {}),
16
21
  onDelete: _ => onClick && onClick(status),
22
+ sx: styles,
17
23
  ...props
18
24
  });
19
25
  }
package/dist/TextField.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import MuiTextField from "@mui/material/TextField";
2
2
  import { jsx as _jsx } from "react/jsx-runtime";
3
3
  import { Fragment as _Fragment } from "react/jsx-runtime";
4
- export default function TextField({
4
+ export default function TextField2({
5
5
  width,
6
6
  fontSize,
7
7
  textAlign,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nethru/ui",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
4
4
  "main": "dist/index.js",
5
5
  "files": [
6
6
  "/dist"