@udi-organization/udi-package 1.0.51 → 1.0.56
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/README.md +308 -65
- package/dist/index.cjs +24362 -0
- package/dist/index.cjs.js +2 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.cjs.map +1 -0
- package/dist/index.esm.js +2 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/styles/_theme.scss +561 -0
- package/dist/styles/_variables.scss +180 -0
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -850,6 +850,7 @@ var ActionButton = function ActionButton(_ref) {
|
|
|
850
850
|
return action.render(row);
|
|
851
851
|
}
|
|
852
852
|
if (action.skip) return null;
|
|
853
|
+
var IconComponent = action.icon;
|
|
853
854
|
return /*#__PURE__*/jsx("button", {
|
|
854
855
|
onClick: function onClick() {
|
|
855
856
|
return action.onClick(row);
|
|
@@ -862,7 +863,7 @@ var ActionButton = function ActionButton(_ref) {
|
|
|
862
863
|
fontSize: "26px"
|
|
863
864
|
},
|
|
864
865
|
disabled: action.disabled,
|
|
865
|
-
children:
|
|
866
|
+
children: typeof IconComponent === 'function' ? /*#__PURE__*/jsx(IconComponent, {}) : IconComponent
|
|
866
867
|
}, "action-".concat(actionIndex));
|
|
867
868
|
};
|
|
868
869
|
|