@carbon/ibm-products 1.41.3 → 1.41.4
Sign up to get free protection for your applications and to get access to all the features.
- package/es/components/Datagrid/Datagrid/addons/InlineEdit/handleGridKeyPress.js +0 -1
- package/es/components/Datagrid/utils/DatagridActions.js +3 -1
- package/lib/components/Datagrid/Datagrid/addons/InlineEdit/handleGridKeyPress.js +0 -1
- package/lib/components/Datagrid/utils/DatagridActions.js +3 -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")
|
@@ -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")
|
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
|
}
|