@mw-kit/mw-ui 1.8.15 → 1.8.16

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/dist/index.js CHANGED
@@ -17282,6 +17282,7 @@ var CanvasContainer = import_styled_components72.default.div`
17282
17282
  position: relative;
17283
17283
  flex: 1;
17284
17284
  overflow: hidden;
17285
+ background-color: ${({ theme: theme4, $invalid: invalid }) => invalid ? theme4.getColor("warningRed", 5) : theme4.colors.white};
17285
17286
 
17286
17287
  &[data-placeholder]:before {
17287
17288
  content: attr(data-placeholder);
@@ -17511,7 +17512,7 @@ var SignatureInput = ({
17511
17512
  ref: setRef,
17512
17513
  ...props,
17513
17514
  penColor: colors[penColor || "black"],
17514
- backgroundColor: colors[backgroundColor || "white"],
17515
+ ...backgroundColor ? { backgroundColor: colors[backgroundColor] } : {},
17515
17516
  onBegin: onBeginHandler,
17516
17517
  onEnd: onEndHandler
17517
17518
  }
package/dist/index.mjs CHANGED
@@ -17218,6 +17218,7 @@ var CanvasContainer = styled69.div`
17218
17218
  position: relative;
17219
17219
  flex: 1;
17220
17220
  overflow: hidden;
17221
+ background-color: ${({ theme: theme4, $invalid: invalid }) => invalid ? theme4.getColor("warningRed", 5) : theme4.colors.white};
17221
17222
 
17222
17223
  &[data-placeholder]:before {
17223
17224
  content: attr(data-placeholder);
@@ -17447,7 +17448,7 @@ var SignatureInput = ({
17447
17448
  ref: setRef,
17448
17449
  ...props,
17449
17450
  penColor: colors[penColor || "black"],
17450
- backgroundColor: colors[backgroundColor || "white"],
17451
+ ...backgroundColor ? { backgroundColor: colors[backgroundColor] } : {},
17451
17452
  onBegin: onBeginHandler,
17452
17453
  onEnd: onEndHandler
17453
17454
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mw-kit/mw-ui",
3
- "version": "1.8.15",
3
+ "version": "1.8.16",
4
4
  "description": "Made with create-react-library",
5
5
  "author": "fmgusmao",
6
6
  "license": "MIT",