indicator-ui 0.0.117 → 0.0.119
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
|
@@ -6871,9 +6871,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6871
6871
|
/* harmony export */ });
|
|
6872
6872
|
/* harmony import */ var date_fns__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! date-fns */ "./node_modules/date-fns/parse.js");
|
|
6873
6873
|
|
|
6874
|
-
function saveParseDate(date, { from }) {
|
|
6874
|
+
function saveParseDate(date, { from, locale }) {
|
|
6875
6875
|
try {
|
|
6876
|
-
return (0,date_fns__WEBPACK_IMPORTED_MODULE_0__.parse)(date, from, new Date());
|
|
6876
|
+
return (0,date_fns__WEBPACK_IMPORTED_MODULE_0__.parse)(date, from, new Date(), { locale: locale });
|
|
6877
6877
|
}
|
|
6878
6878
|
catch (e) {
|
|
6879
6879
|
console.warn(e);
|
|
@@ -9573,13 +9573,13 @@ function InputFieldWrapper({ children, labelText, hintText, isErrorHintText, hel
|
|
|
9573
9573
|
else {
|
|
9574
9574
|
switch (type) {
|
|
9575
9575
|
case 'main':
|
|
9576
|
-
return additionStyle
|
|
9576
|
+
return additionStyle?.main;
|
|
9577
9577
|
case 'hint':
|
|
9578
|
-
return additionStyle
|
|
9578
|
+
return additionStyle?.hint;
|
|
9579
9579
|
case 'label':
|
|
9580
|
-
return additionStyle
|
|
9580
|
+
return additionStyle?.label;
|
|
9581
9581
|
case "helper-link":
|
|
9582
|
-
return additionStyle["helper-link"];
|
|
9582
|
+
return additionStyle?.["helper-link"];
|
|
9583
9583
|
default:
|
|
9584
9584
|
return undefined;
|
|
9585
9585
|
}
|