ywana-core8 0.0.651 → 0.0.653

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/dist/index.cjs CHANGED
@@ -368,7 +368,8 @@ var Button = function Button(_ref) {
368
368
  _ref$disabled = _ref.disabled,
369
369
  disabled = _ref$disabled === void 0 ? false : _ref$disabled,
370
370
  outlined = _ref.outlined,
371
- raised = _ref.raised;
371
+ raised = _ref.raised,
372
+ className = _ref.className;
372
373
 
373
374
  function click(event) {
374
375
  if (!disabled) {
@@ -381,7 +382,7 @@ var Button = function Button(_ref) {
381
382
  var style = raised ? 'raised' : outlined ? 'outlined' : 'normal';
382
383
  if (disabled) style = style + " disabled";
383
384
  return /*#__PURE__*/React__default["default"].createElement("button", {
384
- className: "btn " + style,
385
+ className: "btn " + style + " " + className,
385
386
  onClick: click
386
387
  }, icon ? /*#__PURE__*/React__default["default"].createElement(Icon, {
387
388
  icon: icon,
@@ -8186,15 +8187,13 @@ var TableEditor$1 = function TableEditor(props) {
8186
8187
  /* checked has it´s own handler */
8187
8188
  options: options
8188
8189
  };
8190
+ }).concat({
8191
+ id: "actions",
8192
+ label: "Actions"
8189
8193
  }),
8190
8194
  rows: []
8191
8195
  };
8192
8196
  }, [schema]);
8193
- console.log("table add actions column");
8194
- table.columns.push({
8195
- id: "actions",
8196
- label: ""
8197
- });
8198
8197
  var items = filter ? filter(all) : all;
8199
8198
  if (items.length === 0) return /*#__PURE__*/React__default["default"].createElement("div", {
8200
8199
  className: "empty-message"