@gravity-ui/dashkit
Advanced tools
Comparing version 6.2.1 to 6.3.0
@@ -8,2 +8,3 @@ import React from 'react'; | ||
className?: string; | ||
qa?: string; | ||
}; | ||
@@ -10,0 +11,0 @@ export type ActionPanelProps = { |
@@ -10,3 +10,3 @@ "use strict"; | ||
return (react_1.default.createElement("div", { className: b(null, props.className) }, props.items.map((item) => { | ||
return (react_1.default.createElement("div", { role: "button", className: b('item', item.className), key: `dk-action-panel-${item.id}`, onClick: item.onClick }, | ||
return (react_1.default.createElement("div", { role: "button", className: b('item', item.className), key: `dk-action-panel-${item.id}`, onClick: item.onClick, "data-qa": item.qa }, | ||
react_1.default.createElement("div", { className: b('icon') }, item.icon), | ||
@@ -13,0 +13,0 @@ react_1.default.createElement("div", { className: b('title'), title: item.title }, item.title))); |
@@ -9,2 +9,3 @@ import React from 'react'; | ||
className?: string; | ||
qa?: string; | ||
}; | ||
@@ -11,0 +12,0 @@ export type ActionPanelProps = { |
@@ -7,3 +7,3 @@ import React from 'react'; | ||
return (React.createElement("div", { className: b(null, props.className) }, props.items.map((item) => { | ||
return (React.createElement("div", { role: "button", className: b('item', item.className), key: `dk-action-panel-${item.id}`, onClick: item.onClick }, | ||
return (React.createElement("div", { role: "button", className: b('item', item.className), key: `dk-action-panel-${item.id}`, onClick: item.onClick, "data-qa": item.qa }, | ||
React.createElement("div", { className: b('icon') }, item.icon), | ||
@@ -10,0 +10,0 @@ React.createElement("div", { className: b('title'), title: item.title }, item.title))); |
{ | ||
"name": "@gravity-ui/dashkit", | ||
"version": "6.2.1", | ||
"version": "6.3.0", | ||
"description": "Library for rendering dashboard grid layout", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
343373
8447