@carbon/ibm-products 1.41.2 → 1.41.4
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/Datagrid/Datagrid/addons/InlineEdit/handleGridKeyPress.js +0 -1
- package/es/components/Datagrid/utils/DatagridActions.js +3 -1
- package/es/components/TagSet/TagSetOverflow.js +5 -1
- package/lib/components/Datagrid/Datagrid/addons/InlineEdit/handleGridKeyPress.js +0 -1
- package/lib/components/Datagrid/utils/DatagridActions.js +3 -1
- package/lib/components/TagSet/TagSetOverflow.js +5 -1
- package/package.json +2 -2
|
@@ -68,7 +68,6 @@ export var handleGridKeyPress = function handleGridKeyPress(_ref) {
|
|
|
68
68
|
var datePickerIsActive = function datePickerIsActive() {
|
|
69
69
|
var focusedCalendarElement = document.querySelector(".".concat(carbon.prefix, "--date-picker__input.flatpickr-input.active"));
|
|
70
70
|
if (focusedCalendarElement || document.activeElement.classList.contains("flatpickr-day")) {
|
|
71
|
-
event.preventDefault();
|
|
72
71
|
return true;
|
|
73
72
|
}
|
|
74
73
|
return false;
|
|
@@ -141,7 +141,9 @@ export var DatagridActions = function DatagridActions(datagridState) {
|
|
|
141
141
|
style: style
|
|
142
142
|
}, /*#__PURE__*/React.createElement(CustomizeColumnsButton, null)), /*#__PURE__*/React.createElement(ButtonMenu, {
|
|
143
143
|
label: "Primary button",
|
|
144
|
-
|
|
144
|
+
size: "lg",
|
|
145
|
+
light: true,
|
|
146
|
+
renderIcon: ChevronDown16
|
|
145
147
|
}, /*#__PURE__*/React.createElement(ButtonMenuItem, {
|
|
146
148
|
itemText: "Option 1",
|
|
147
149
|
onClick: action("Click on ButtonMenu Option 1")
|
|
@@ -44,7 +44,11 @@ export var TagSetOverflow = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
|
44
44
|
var overflowTagContent = useRef(null);
|
|
45
45
|
var handleChange = function handleChange(ev, _ref2) {
|
|
46
46
|
var open = _ref2.open;
|
|
47
|
-
|
|
47
|
+
if (ev.type === 'click') {
|
|
48
|
+
setTipOpen(function () {
|
|
49
|
+
return open;
|
|
50
|
+
});
|
|
51
|
+
}
|
|
48
52
|
};
|
|
49
53
|
var handleShowAllTagsClick = function handleShowAllTagsClick(ev) {
|
|
50
54
|
ev.stopPropagation();
|
|
@@ -68,7 +68,6 @@ var handleGridKeyPress = function handleGridKeyPress(_ref) {
|
|
|
68
68
|
var datePickerIsActive = function datePickerIsActive() {
|
|
69
69
|
var focusedCalendarElement = document.querySelector(".".concat(_settings.carbon.prefix, "--date-picker__input.flatpickr-input.active"));
|
|
70
70
|
if (focusedCalendarElement || document.activeElement.classList.contains("flatpickr-day")) {
|
|
71
|
-
event.preventDefault();
|
|
72
71
|
return true;
|
|
73
72
|
}
|
|
74
73
|
return false;
|
|
@@ -151,7 +151,9 @@ var DatagridActions = function DatagridActions(datagridState) {
|
|
|
151
151
|
style: style
|
|
152
152
|
}, /*#__PURE__*/_react.default.createElement(CustomizeColumnsButton, null)), /*#__PURE__*/_react.default.createElement(_ButtonMenu.ButtonMenu, {
|
|
153
153
|
label: "Primary button",
|
|
154
|
-
|
|
154
|
+
size: "lg",
|
|
155
|
+
light: true,
|
|
156
|
+
renderIcon: _iconsReact.ChevronDown16
|
|
155
157
|
}, /*#__PURE__*/_react.default.createElement(_ButtonMenu.ButtonMenuItem, {
|
|
156
158
|
itemText: "Option 1",
|
|
157
159
|
onClick: (0, _addonActions.action)("Click on ButtonMenu Option 1")
|
|
@@ -47,7 +47,11 @@ var TagSetOverflow = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref)
|
|
|
47
47
|
var overflowTagContent = (0, _react.useRef)(null);
|
|
48
48
|
var handleChange = function handleChange(ev, _ref2) {
|
|
49
49
|
var open = _ref2.open;
|
|
50
|
-
|
|
50
|
+
if (ev.type === 'click') {
|
|
51
|
+
setTipOpen(function () {
|
|
52
|
+
return open;
|
|
53
|
+
});
|
|
54
|
+
}
|
|
51
55
|
};
|
|
52
56
|
var handleShowAllTagsClick = function handleShowAllTagsClick(ev) {
|
|
53
57
|
ev.stopPropagation();
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@carbon/ibm-products",
|
|
3
3
|
"description": "Carbon for IBM Products",
|
|
4
|
-
"version": "1.41.
|
|
4
|
+
"version": "1.41.4",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "lib/index.js",
|
|
7
7
|
"module": "es/index.js",
|
|
@@ -95,5 +95,5 @@
|
|
|
95
95
|
"react": "^16.8.6 || ^17.0.1",
|
|
96
96
|
"react-dom": "^16.8.6 || ^17.0.1"
|
|
97
97
|
},
|
|
98
|
-
"gitHead": "
|
|
98
|
+
"gitHead": "f75995823e500931e3e39f34589d274142b2a83e"
|
|
99
99
|
}
|