@aleodoni-common/tailwind-components
Advanced tools
Comparing version 1.0.66 to 1.0.67
@@ -1,6 +0,7 @@ | ||
import React, { InputHTMLAttributes } from 'react'; | ||
import React from 'react'; | ||
import { NumberFormatProps } from 'react-number-format'; | ||
import * as SolidIcons from '@heroicons/react/solid'; | ||
import * as OutlineIcons from '@heroicons/react/outline'; | ||
declare type IconName = keyof typeof SolidIcons | keyof typeof OutlineIcons; | ||
interface ICpfInput extends InputHTMLAttributes<HTMLInputElement> { | ||
interface ICpfInput extends React.Component<NumberFormatProps, any> { | ||
aleodoni_ringcolor?: string; | ||
@@ -7,0 +8,0 @@ aleodoni_inputicon?: IconName; |
@@ -176,6 +176,6 @@ function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } | ||
className: "pointer-events-none w-5 h-5 absolute mx-2" | ||
}), React__default.createElement(NumberFormat, { | ||
}), React__default.createElement(NumberFormat, Object.assign({ | ||
format: "###.###.###-##", | ||
className: className | ||
})); | ||
}, props))); | ||
}; | ||
@@ -182,0 +182,0 @@ |
@@ -173,6 +173,6 @@ import React, { useState } from 'react'; | ||
className: "pointer-events-none w-5 h-5 absolute mx-2" | ||
}), React.createElement(NumberFormat, { | ||
}), React.createElement(NumberFormat, Object.assign({ | ||
format: "###.###.###-##", | ||
className: className | ||
})); | ||
}, props))); | ||
}; | ||
@@ -179,0 +179,0 @@ |
{ | ||
"name": "@aleodoni-common/tailwind-components", | ||
"version": "1.0.66", | ||
"version": "1.0.67", | ||
"main": "./build/index.js", | ||
@@ -58,5 +58,4 @@ "module": "build/index.modern.js", | ||
"@heroicons/react": "^1.0.5", | ||
"react-input-mask": "^3.0.0-alpha.2", | ||
"react-number-format": "^4.8.0" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
65869
3
1132
- Removedreact-input-mask@^3.0.0-alpha.2
- Removedinvariant@2.2.4(transitive)
- Removedreact@19.0.0(transitive)
- Removedreact-dom@19.0.0(transitive)
- Removedreact-input-mask@3.0.0-alpha.2(transitive)
- Removedscheduler@0.25.0(transitive)
- Removedwarning@4.0.3(transitive)