@ctlyst.id/internal-ui 2.0.16 → 2.0.18
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/internal-ui.cjs.development.js +9 -1
- package/dist/internal-ui.cjs.development.js.map +1 -1
- package/dist/internal-ui.cjs.production.min.js +2 -2
- package/dist/internal-ui.cjs.production.min.js.map +1 -1
- package/dist/internal-ui.esm.js +9 -1
- package/dist/internal-ui.esm.js.map +1 -1
- package/package.json +2 -2
package/dist/internal-ui.esm.js
CHANGED
@@ -1667,7 +1667,8 @@ const Datepicker = ({
|
|
1667
1667
|
}
|
1668
1668
|
return /*#__PURE__*/React__default.createElement(FormControl, {
|
1669
1669
|
isRequired: isRequired,
|
1670
|
-
"data-test-id": "CT_Component_datepicker_wrapper"
|
1670
|
+
"data-test-id": "CT_Component_datepicker_wrapper",
|
1671
|
+
isInvalid: isError
|
1671
1672
|
}, label && /*#__PURE__*/React__default.createElement(FormLabel$1, {
|
1672
1673
|
fontSize: "text.sm"
|
1673
1674
|
}, label), /*#__PURE__*/React__default.createElement(InputGroup, null, component, /*#__PURE__*/React__default.createElement(InputRightElement, null, !value && /*#__PURE__*/React__default.createElement(FiCalendar, null), value && /*#__PURE__*/React__default.createElement(FiX, {
|
@@ -3118,6 +3119,13 @@ function selectStyles(colorMode, _isError) {
|
|
3118
3119
|
} : {
|
3119
3120
|
...base,
|
3120
3121
|
...selectStyle
|
3122
|
+
},
|
3123
|
+
placeholder: base => {
|
3124
|
+
return {
|
3125
|
+
...base,
|
3126
|
+
...selectStyle,
|
3127
|
+
color: colors.black.low
|
3128
|
+
};
|
3121
3129
|
}
|
3122
3130
|
};
|
3123
3131
|
}
|