@synerise/ds-card 0.19.15 → 0.19.16

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,17 @@
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.19.16](https://github.com/Synerise/synerise-design/compare/@synerise/ds-card@0.19.15...@synerise/ds-card@0.19.16) (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
+
6
17
  ## [0.19.15](https://github.com/Synerise/synerise-design/compare/@synerise/ds-card@0.19.14...@synerise/ds-card@0.19.15) (2024-11-12)
7
18
 
8
19
  **Note:** Version bump only for package @synerise/ds-card
@@ -21,7 +21,7 @@ export declare const CardSummaryItemValue: import("styled-components").StyledCom
21
21
  children?: import("react").ReactNode;
22
22
  className?: string | undefined;
23
23
  }) => import("react").JSX.Element, any, {}, never>;
24
- export declare const Icon: import("styled-components").StyledComponent<import("react").FC<import("@synerise/ds-icon").IconProps>, any, {
24
+ export declare const Icon: import("styled-components").StyledComponent<({ name, component, className, ...rest }: import("@synerise/ds-icon").IconProps) => import("react").JSX.Element, any, {
25
25
  isOpen: boolean;
26
26
  }, never>;
27
27
  export declare const CardSummaryItemObjects: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -1,11 +1,12 @@
1
- import { HTMLAttributes, ReactElement, ReactNode, Key } from 'react';
2
- export type CardSummaryItemProps = {
1
+ import type { ReactElement, ReactNode, Key } from 'react';
2
+ import type { WithHTMLAttributes } from '@synerise/ds-utils';
3
+ export type CardSummaryItemProps = WithHTMLAttributes<HTMLDivElement, {
3
4
  key: Key;
4
5
  label?: ReactNode;
5
6
  value: ReactNode;
6
7
  summaryRowObjects?: ReactElement[];
7
- } & HTMLAttributes<HTMLDivElement>;
8
- export type CardSummaryProps = {
8
+ }>;
9
+ export type CardSummaryProps = WithHTMLAttributes<HTMLDivElement, {
9
10
  title?: ReactNode;
10
11
  items: CardSummaryItemProps[];
11
- } & HTMLAttributes<HTMLDivElement>;
12
+ }>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synerise/ds-card",
3
- "version": "0.19.15",
3
+ "version": "0.19.16",
4
4
  "description": "Card UI Component for the Synerise Design System",
5
5
  "license": "ISC",
6
6
  "repository": "Synerise/synerise-design",
@@ -34,11 +34,11 @@
34
34
  ],
35
35
  "types": "dist/index.d.ts",
36
36
  "dependencies": {
37
- "@synerise/ds-avatar": "^0.17.20",
38
- "@synerise/ds-icon": "^0.66.4",
39
- "@synerise/ds-tags": "^0.10.17",
40
- "@synerise/ds-typography": "^0.16.5",
41
- "@synerise/ds-utils": "^0.31.1",
37
+ "@synerise/ds-avatar": "^0.17.21",
38
+ "@synerise/ds-icon": "^0.67.0",
39
+ "@synerise/ds-tags": "^0.10.18",
40
+ "@synerise/ds-typography": "^0.16.6",
41
+ "@synerise/ds-utils": "^0.31.2",
42
42
  "react-animate-height": "^2.0.23",
43
43
  "react-visibility-sensor": "^5.1.1",
44
44
  "uuid": "^8.3.2"
@@ -49,5 +49,5 @@
49
49
  "react": ">=16.9.0 <= 17.0.2",
50
50
  "styled-components": "5.0.1"
51
51
  },
52
- "gitHead": "8d26191fc0475407e0691b9b183761ad3cd7c87d"
52
+ "gitHead": "05f083c767e2cec3c2f91c9475aee89852a77d6c"
53
53
  }