indicator-ui 0.0.108 → 0.0.109

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
@@ -9657,9 +9657,7 @@ __webpack_require__.r(__webpack_exports__);
9657
9657
  /* harmony import */ var _InputFields__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../InputFields */ "./src/ui/InputFields/index.ts");
9658
9658
 
9659
9659
 
9660
- function InputField({ type, offWrapper,
9661
- // className = InputFieldStyle,
9662
- ...props }) {
9660
+ function InputField({ type, offWrapper, ...props }) {
9663
9661
  const getField = () => {
9664
9662
  switch (type) {
9665
9663
  case 'select':
@@ -9670,6 +9668,12 @@ function InputField({ type, offWrapper,
9670
9668
  return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_InputFields__WEBPACK_IMPORTED_MODULE_1__.SwitcherField, { ...props });
9671
9669
  case 'textarea':
9672
9670
  return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_InputFields__WEBPACK_IMPORTED_MODULE_1__.TextareaField, { ...props });
9671
+ case 'date':
9672
+ return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_InputFields__WEBPACK_IMPORTED_MODULE_1__.DateTimeField, { fieldConfig: 'date', ...props });
9673
+ case 'time':
9674
+ return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_InputFields__WEBPACK_IMPORTED_MODULE_1__.DateTimeField, { fieldConfig: 'time', ...props });
9675
+ case 'datetime':
9676
+ return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_InputFields__WEBPACK_IMPORTED_MODULE_1__.DateTimeField, { fieldConfig: 'datetime', ...props });
9673
9677
  default:
9674
9678
  return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_InputFields__WEBPACK_IMPORTED_MODULE_1__.FlexField, { ...props, type: type });
9675
9679
  }