@synerise/ds-cruds 0.5.27 → 0.5.29

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/CHANGELOG.md CHANGED
@@ -3,6 +3,25 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [0.5.29](https://github.com/Synerise/synerise-design/compare/@synerise/ds-cruds@0.5.28...@synerise/ds-cruds@0.5.29) (2024-11-21)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * fixed types with htmlattributes ([7e84ba3](https://github.com/Synerise/synerise-design/commit/7e84ba316db9abee7bf16a46fa6b15ea76337cf4))
12
+
13
+
14
+
15
+
16
+
17
+ ## [0.5.28](https://github.com/Synerise/synerise-design/compare/@synerise/ds-cruds@0.5.27...@synerise/ds-cruds@0.5.28) (2024-11-12)
18
+
19
+ **Note:** Version bump only for package @synerise/ds-cruds
20
+
21
+
22
+
23
+
24
+
6
25
  ## [0.5.27](https://github.com/Synerise/synerise-design/compare/@synerise/ds-cruds@0.5.26...@synerise/ds-cruds@0.5.27) (2024-11-12)
7
26
 
8
27
  **Note:** Version bump only for package @synerise/ds-cruds
package/dist/Cruds.js CHANGED
@@ -1,6 +1,6 @@
1
1
  var _excluded = ["onDelete", "onAdd", "onPreview", "onEdit", "onDuplicate", "onMove", "onRemove", "onMoveUp", "onMoveDown", "moveDownInactive", "moveUpInactive", "addTooltip", "previewTooltip", "editTooltip", "duplicateTooltip", "removeTooltip", "moveTooltip", "moveUpTooltip", "moveDownTooltip", "deleteTooltip"];
2
2
 
3
- function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
3
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
4
4
 
5
5
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
6
6
 
@@ -1,6 +1,6 @@
1
1
  var _excluded = ["title", "inactive", "className", "onClick", "icon", "iconSize"];
2
2
 
3
- function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
3
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
4
4
 
5
5
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
6
6
 
@@ -1,9 +1,10 @@
1
- import type { HTMLAttributes, ReactNode } from 'react';
2
- export type SingleActionProps = {
1
+ import type { ReactNode } from 'react';
2
+ import type { WithHTMLAttributes } from '@synerise/ds-utils';
3
+ export type SingleActionProps = WithHTMLAttributes<HTMLDivElement, {
3
4
  title: ReactNode;
4
5
  className?: string;
5
6
  inactive?: boolean;
6
7
  onClick: () => void;
7
8
  icon: ReactNode;
8
9
  iconSize?: number;
9
- } & Omit<HTMLAttributes<HTMLDivElement>, 'title' | 'className' | 'onClick'>;
10
+ }>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synerise/ds-cruds",
3
- "version": "0.5.27",
3
+ "version": "0.5.29",
4
4
  "description": "Cruds UI Component for the Synerise Design System",
5
5
  "license": "ISC",
6
6
  "repository": "Synerise/synerise-design",
@@ -34,14 +34,14 @@
34
34
  ],
35
35
  "types": "dist/index.d.ts",
36
36
  "dependencies": {
37
- "@synerise/ds-icon": "^0.66.3",
38
- "@synerise/ds-tooltip": "^0.14.47",
39
- "@synerise/ds-utils": "^0.31.0"
37
+ "@synerise/ds-icon": "^0.67.0",
38
+ "@synerise/ds-tooltip": "^0.14.49",
39
+ "@synerise/ds-utils": "^0.31.2"
40
40
  },
41
41
  "peerDependencies": {
42
42
  "@synerise/ds-core": "*",
43
43
  "react": ">=16.9.0 <= 17.0.2",
44
44
  "styled-components": "5.0.1"
45
45
  },
46
- "gitHead": "1bb66dcc360a650e81b9bd195d5b77aa8ae2d308"
46
+ "gitHead": "05f083c767e2cec3c2f91c9475aee89852a77d6c"
47
47
  }