@wavv/ui 2.3.4 → 2.3.5

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.
@@ -12,6 +12,7 @@ const LabelWrapper = ({ children, label, required, ...props })=>/*#__PURE__*/ js
12
12
  children: label
13
13
  }),
14
14
  required && /*#__PURE__*/ jsx(Required, {
15
+ disabled: props.disabled,
15
16
  children: "*"
16
17
  })
17
18
  ]
@@ -51,8 +52,8 @@ const Label_Label = styled(Label, preventProps)(({ theme: { font, input }, fille
51
52
  }), ({ theme: { input }, disabled })=>({
52
53
  color: disabled ? input.labelColor.disabled : void 0
53
54
  }));
54
- const Required = styled.span(({ theme })=>({
55
- color: theme.color.error
55
+ const Required = styled.span(({ theme, disabled })=>({
56
+ color: disabled ? theme.input.labelColor.disabled : theme.color.error
56
57
  }));
57
58
  const helpers_Label = LabelWrapper;
58
59
  export { helpers_Label as default };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wavv/ui",
3
- "version": "2.3.4",
3
+ "version": "2.3.5",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {