@synerise/ds-card 1.0.0 → 1.1.0

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
+ # [1.1.0](https://github.com/Synerise/synerise-design/compare/@synerise/ds-card@1.0.0...@synerise/ds-card@1.1.0) (2025-03-18)
7
+
8
+
9
+ ### Features
10
+
11
+ * **button:** add support for tag in button ([32b6956](https://github.com/Synerise/synerise-design/commit/32b6956d5e1f46df03abb4de8fbaf0a7d487043e))
12
+
13
+
14
+
15
+
16
+
6
17
  ## [0.20.9](https://github.com/Synerise/synerise-design/compare/@synerise/ds-card@0.20.8...@synerise/ds-card@0.20.9) (2025-03-10)
7
18
 
8
19
  **Note:** Version bump only for package @synerise/ds-card
@@ -1,6 +1,5 @@
1
1
  import styled, { css } from 'styled-components';
2
2
  import { Title as DSTitle } from '@synerise/ds-typography';
3
- import { Container as TagsContainer } from '@synerise/ds-tags/dist/Tags.styles';
4
3
  import { CardSummaryWrapper } from '../CardSummary/CardSummary.styles';
5
4
  var whiteBg = ['white', 'white-shadow'];
6
5
  var greyBg = ['grey', 'grey-shadow'];
@@ -63,9 +62,9 @@ export var Title = styled(DSTitle).withConfig({
63
62
  export var TitleWrapper = styled.div.withConfig({
64
63
  displayName: "Cardstyles__TitleWrapper",
65
64
  componentId: "sc-18exblx-5"
66
- })(["display:flex;flex-direction:row;gap:4px;align-items:center;margin-bottom:", ";", "{margin-bottom:0;}"], function (props) {
65
+ })(["display:flex;flex-direction:row;gap:4px;align-items:center;margin-bottom:", ";"], function (props) {
67
66
  return props.description && !props.compact ? '6px' : '0';
68
- }, TagsContainer);
67
+ });
69
68
  export var TitleTag = styled.div.withConfig({
70
69
  displayName: "Cardstyles__TitleTag",
71
70
  componentId: "sc-18exblx-6"
@@ -1,4 +1,4 @@
1
1
  import React from 'react';
2
2
  import { CardBadgeProps } from './CardBadge.types';
3
- declare const CardBadge: React.FC<CardBadgeProps>;
3
+ declare const CardBadge: ({ icon, status, ...props }: CardBadgeProps) => React.JSX.Element;
4
4
  export default CardBadge;
@@ -11,7 +11,6 @@ var CardBadge = function CardBadge(_ref) {
11
11
  props = _objectWithoutPropertiesLoose(_ref, _excluded);
12
12
  return /*#__PURE__*/React.createElement(S.CardBadge, _extends({
13
13
  status: status
14
- /** Necessary for passing down data-* attributes */
15
14
  }, props), /*#__PURE__*/React.createElement(Icon, {
16
15
  component: icon
17
16
  }));
@@ -2,7 +2,7 @@ import styled from 'styled-components';
2
2
  import BaseAnimateHeight from 'react-animate-height';
3
3
  import { Title, Text } from '@synerise/ds-typography';
4
4
  import DSIcon from '@synerise/ds-icon';
5
- import { Tag } from '@synerise/ds-tags/dist/Tag/Tag.styles';
5
+ import { Tag } from '@synerise/ds-tag/dist/Tag.styles';
6
6
  export var AnimateHeight = styled(BaseAnimateHeight).withConfig({
7
7
  displayName: "CardSummarystyles__AnimateHeight",
8
8
  componentId: "sc-1yj41os-0"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synerise/ds-card",
3
- "version": "1.0.0",
3
+ "version": "1.1.0",
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": "^1.0.0",
38
- "@synerise/ds-icon": "^1.0.0",
39
- "@synerise/ds-tags": "^1.0.0",
40
- "@synerise/ds-typography": "^1.0.0",
41
- "@synerise/ds-utils": "^1.0.0",
37
+ "@synerise/ds-avatar": "^1.0.1",
38
+ "@synerise/ds-icon": "^1.0.1",
39
+ "@synerise/ds-tag": "^1.1.0",
40
+ "@synerise/ds-typography": "^1.0.1",
41
+ "@synerise/ds-utils": "^1.0.1",
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 <= 18.3.1",
50
50
  "styled-components": "^5.3.3"
51
51
  },
52
- "gitHead": "e4c3690238a44b584b9ea41e4aa52b1eec42174b"
52
+ "gitHead": "218110f61f4371bc04d793b2b976b71d14e99e76"
53
53
  }