@udi-organization/udi-package 1.0.51 → 1.0.55
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 +307 -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.cjs.js
CHANGED
|
@@ -852,6 +852,7 @@ var ActionButton = function ActionButton(_ref) {
|
|
|
852
852
|
return action.render(row);
|
|
853
853
|
}
|
|
854
854
|
if (action.skip) return null;
|
|
855
|
+
var IconComponent = action.icon;
|
|
855
856
|
return /*#__PURE__*/jsxRuntime.jsx("button", {
|
|
856
857
|
onClick: function onClick() {
|
|
857
858
|
return action.onClick(row);
|
|
@@ -864,7 +865,7 @@ var ActionButton = function ActionButton(_ref) {
|
|
|
864
865
|
fontSize: "26px"
|
|
865
866
|
},
|
|
866
867
|
disabled: action.disabled,
|
|
867
|
-
children:
|
|
868
|
+
children: typeof IconComponent === 'function' ? /*#__PURE__*/jsxRuntime.jsx(IconComponent, {}) : IconComponent
|
|
868
869
|
}, "action-".concat(actionIndex));
|
|
869
870
|
};
|
|
870
871
|
|