carbon-addons-iot-react 4.0.14 → 4.0.15
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/es/components/DateTimePicker/DateTimePickerV2WithTimeSpinner.js +1 -5
- package/es/components/DateTimePicker/DateTimePickerV2WithoutTimeSpinner.js +1 -5
- package/lib/components/DateTimePicker/DateTimePickerV2WithTimeSpinner.js +1 -5
- package/lib/components/DateTimePicker/DateTimePickerV2WithoutTimeSpinner.js +1 -5
- package/package.json +2 -2
- package/umd/carbon-addons-iot-react.js +2 -8
|
@@ -30,7 +30,6 @@ import { PICKER_KINDS, PRESET_VALUES, INTERVAL_VALUES, RELATIVE_VALUES } from '.
|
|
|
30
30
|
import Button from '../Button/Button.js';
|
|
31
31
|
import FlyoutMenu, { FlyoutMenuDirection } from '../FlyoutMenu/FlyoutMenu.js';
|
|
32
32
|
import { useOnClickOutside, handleSpecificKeyDown } from '../../utils/componentUtilityFunctions.js';
|
|
33
|
-
import { Tooltip } from '../Tooltip/index.js';
|
|
34
33
|
import { useDateTimePickerRangeKind, useDateTimePickerRef, useDateTimePickerFocus, useAbsoluteDateTimeValue, useRelativeDateTimeValue, useDateTimePickerKeyboardInteraction, getIntervalValue, useCloseDropdown, useCustomHeight, onDatePickerClose, parseValue, invalidStartDate, useDateTimePickerClickOutside, invalidEndDate } from './dateTimePickerUtils.js';
|
|
35
34
|
import { WarningFilled, Calendar, ErrorFilled } from '@carbon/icons-react';
|
|
36
35
|
|
|
@@ -1096,10 +1095,7 @@ var DateTimePicker = function DateTimePicker(_ref) {
|
|
|
1096
1095
|
onFieldInteraction(event);
|
|
1097
1096
|
}),
|
|
1098
1097
|
tabIndex: 0
|
|
1099
|
-
}, /*#__PURE__*/React__default.createElement(
|
|
1100
|
-
triggerText: tooltipField,
|
|
1101
|
-
showIcon: false
|
|
1102
|
-
}, tooltipValue)), invalidState && !hasIconOnly ? /*#__PURE__*/React__default.createElement("p", {
|
|
1098
|
+
}, tooltipField), invalidState && !hasIconOnly ? /*#__PURE__*/React__default.createElement("p", {
|
|
1103
1099
|
className: classnames("".concat(prefix, "--form__helper-text"), "".concat(iotPrefix, "--date-time-picker__helper-text--invalid"))
|
|
1104
1100
|
}, mergedI18n.invalidText) : null);
|
|
1105
1101
|
};
|
|
@@ -25,7 +25,6 @@ import { PICKER_KINDS, INTERVAL_VALUES, PRESET_VALUES, RELATIVE_VALUES } from '.
|
|
|
25
25
|
import Button from '../Button/Button.js';
|
|
26
26
|
import FlyoutMenu, { FlyoutMenuDirection } from '../FlyoutMenu/FlyoutMenu.js';
|
|
27
27
|
import { useOnClickOutside, handleSpecificKeyDown } from '../../utils/componentUtilityFunctions.js';
|
|
28
|
-
import { Tooltip } from '../Tooltip/index.js';
|
|
29
28
|
import { useDateTimePickerRangeKind, useDateTimePickerRef, useDateTimePickerFocus, useAbsoluteDateTimeValue, useRelativeDateTimeValue, useDateTimePickerKeyboardInteraction, getIntervalValue, useCloseDropdown, useCustomHeight, onDatePickerClose, parseValue, invalidEndDate, invalidStartDate, useDateTimePickerClickOutside } from './dateTimePickerUtils.js';
|
|
30
29
|
import { WarningFilled, Calendar } from '@carbon/icons-react';
|
|
31
30
|
|
|
@@ -884,10 +883,7 @@ var DateTimePicker = function DateTimePicker(_ref) {
|
|
|
884
883
|
onFieldInteraction(event);
|
|
885
884
|
}),
|
|
886
885
|
tabIndex: 0
|
|
887
|
-
}, /*#__PURE__*/React__default.createElement(
|
|
888
|
-
triggerText: tooltipField,
|
|
889
|
-
showIcon: false
|
|
890
|
-
}, tooltipValue)), invalidState && !hasIconOnly ? /*#__PURE__*/React__default.createElement("p", {
|
|
886
|
+
}, tooltipField), invalidState && !hasIconOnly ? /*#__PURE__*/React__default.createElement("p", {
|
|
891
887
|
className: classnames("".concat(prefix, "--form__helper-text"), "".concat(iotPrefix, "--date-time-picker__helper-text--invalid"))
|
|
892
888
|
}, mergedI18n.invalidText) : null);
|
|
893
889
|
};
|
|
@@ -34,7 +34,6 @@ var DateConstants = require('../../constants/DateConstants.js');
|
|
|
34
34
|
var Button = require('../Button/Button.js');
|
|
35
35
|
var FlyoutMenu = require('../FlyoutMenu/FlyoutMenu.js');
|
|
36
36
|
var componentUtilityFunctions = require('../../utils/componentUtilityFunctions.js');
|
|
37
|
-
var index = require('../Tooltip/index.js');
|
|
38
37
|
var dateTimePickerUtils = require('./dateTimePickerUtils.js');
|
|
39
38
|
var iconsReact = require('@carbon/icons-react');
|
|
40
39
|
|
|
@@ -1111,10 +1110,7 @@ var DateTimePicker = function DateTimePicker(_ref) {
|
|
|
1111
1110
|
onFieldInteraction(event);
|
|
1112
1111
|
}),
|
|
1113
1112
|
tabIndex: 0
|
|
1114
|
-
}, /*#__PURE__*/React__default.default.createElement(
|
|
1115
|
-
triggerText: tooltipField,
|
|
1116
|
-
showIcon: false
|
|
1117
|
-
}, tooltipValue)), invalidState && !hasIconOnly ? /*#__PURE__*/React__default.default.createElement("p", {
|
|
1113
|
+
}, tooltipField), invalidState && !hasIconOnly ? /*#__PURE__*/React__default.default.createElement("p", {
|
|
1118
1114
|
className: classnames__default.default("".concat(prefix, "--form__helper-text"), "".concat(iotPrefix, "--date-time-picker__helper-text--invalid"))
|
|
1119
1115
|
}, mergedI18n.invalidText) : null);
|
|
1120
1116
|
};
|
|
@@ -29,7 +29,6 @@ var DateConstants = require('../../constants/DateConstants.js');
|
|
|
29
29
|
var Button = require('../Button/Button.js');
|
|
30
30
|
var FlyoutMenu = require('../FlyoutMenu/FlyoutMenu.js');
|
|
31
31
|
var componentUtilityFunctions = require('../../utils/componentUtilityFunctions.js');
|
|
32
|
-
var index = require('../Tooltip/index.js');
|
|
33
32
|
var dateTimePickerUtils = require('./dateTimePickerUtils.js');
|
|
34
33
|
var iconsReact = require('@carbon/icons-react');
|
|
35
34
|
|
|
@@ -899,10 +898,7 @@ var DateTimePicker = function DateTimePicker(_ref) {
|
|
|
899
898
|
onFieldInteraction(event);
|
|
900
899
|
}),
|
|
901
900
|
tabIndex: 0
|
|
902
|
-
}, /*#__PURE__*/React__default.default.createElement(
|
|
903
|
-
triggerText: tooltipField,
|
|
904
|
-
showIcon: false
|
|
905
|
-
}, tooltipValue)), invalidState && !hasIconOnly ? /*#__PURE__*/React__default.default.createElement("p", {
|
|
901
|
+
}, tooltipField), invalidState && !hasIconOnly ? /*#__PURE__*/React__default.default.createElement("p", {
|
|
906
902
|
className: classnames__default.default("".concat(prefix, "--form__helper-text"), "".concat(iotPrefix, "--date-time-picker__helper-text--invalid"))
|
|
907
903
|
}, mergedI18n.invalidText) : null);
|
|
908
904
|
};
|
package/package.json
CHANGED
|
@@ -345,11 +345,11 @@
|
|
|
345
345
|
"whatwg-fetch": "^3.0.0"
|
|
346
346
|
},
|
|
347
347
|
"sideEffects": false,
|
|
348
|
-
"version": "4.0.
|
|
348
|
+
"version": "4.0.15",
|
|
349
349
|
"resolutions": {
|
|
350
350
|
"chokidar": "3.3.1",
|
|
351
351
|
"react-grid-layout": "1.2.2",
|
|
352
352
|
"got": "11.8.5"
|
|
353
353
|
},
|
|
354
|
-
"gitHead": "
|
|
354
|
+
"gitHead": "34291653a4d9bc39542dbf817fb35845a3b03be1"
|
|
355
355
|
}
|
|
@@ -259943,10 +259943,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
259943
259943
|
onFieldInteraction(event);
|
|
259944
259944
|
}),
|
|
259945
259945
|
tabIndex: 0
|
|
259946
|
-
}, /*#__PURE__*/React$1.createElement(
|
|
259947
|
-
triggerText: tooltipField,
|
|
259948
|
-
showIcon: false
|
|
259949
|
-
}, tooltipValue)), invalidState && !hasIconOnly ? /*#__PURE__*/React$1.createElement("p", {
|
|
259946
|
+
}, tooltipField), invalidState && !hasIconOnly ? /*#__PURE__*/React$1.createElement("p", {
|
|
259950
259947
|
className: classnames("".concat(prefix$m, "--form__helper-text"), "".concat(iotPrefix$1p, "--date-time-picker__helper-text--invalid"))
|
|
259951
259948
|
}, mergedI18n.invalidText) : null);
|
|
259952
259949
|
};
|
|
@@ -272247,10 +272244,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
272247
272244
|
onFieldInteraction(event);
|
|
272248
272245
|
}),
|
|
272249
272246
|
tabIndex: 0
|
|
272250
|
-
}, /*#__PURE__*/React$1.createElement(
|
|
272251
|
-
triggerText: tooltipField,
|
|
272252
|
-
showIcon: false
|
|
272253
|
-
}, tooltipValue)), invalidState && !hasIconOnly ? /*#__PURE__*/React$1.createElement("p", {
|
|
272247
|
+
}, tooltipField), invalidState && !hasIconOnly ? /*#__PURE__*/React$1.createElement("p", {
|
|
272254
272248
|
className: classnames("".concat(prefix$g, "--form__helper-text"), "".concat(iotPrefix$1e, "--date-time-picker__helper-text--invalid"))
|
|
272255
272249
|
}, mergedI18n.invalidText) : null);
|
|
272256
272250
|
};
|