@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
@@ -1673,7 +1673,8 @@ const Datepicker = ({
|
|
1673
1673
|
}
|
1674
1674
|
return /*#__PURE__*/React__default.createElement(react.FormControl, {
|
1675
1675
|
isRequired: isRequired,
|
1676
|
-
"data-test-id": "CT_Component_datepicker_wrapper"
|
1676
|
+
"data-test-id": "CT_Component_datepicker_wrapper",
|
1677
|
+
isInvalid: isError
|
1677
1678
|
}, label && /*#__PURE__*/React__default.createElement(react.FormLabel, {
|
1678
1679
|
fontSize: "text.sm"
|
1679
1680
|
}, label), /*#__PURE__*/React__default.createElement(react.InputGroup, null, component, /*#__PURE__*/React__default.createElement(react.InputRightElement, null, !value && /*#__PURE__*/React__default.createElement(fi.FiCalendar, null), value && /*#__PURE__*/React__default.createElement(fi.FiX, {
|
@@ -3124,6 +3125,13 @@ function selectStyles(colorMode, _isError) {
|
|
3124
3125
|
} : {
|
3125
3126
|
...base,
|
3126
3127
|
...selectStyle
|
3128
|
+
},
|
3129
|
+
placeholder: base => {
|
3130
|
+
return {
|
3131
|
+
...base,
|
3132
|
+
...selectStyle,
|
3133
|
+
color: colors.black.low
|
3134
|
+
};
|
3127
3135
|
}
|
3128
3136
|
};
|
3129
3137
|
}
|