@synerise/ds-card 1.2.11 → 1.2.12

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.2.12](https://github.com/Synerise/synerise-design/compare/@synerise/ds-card@1.2.11...@synerise/ds-card@1.2.12) (2025-10-03)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **card:** summary styles refactor ([faa301f](https://github.com/Synerise/synerise-design/commit/faa301f17de5475ae80bac13fac0158fb3d2eb03))
12
+
13
+
14
+
15
+
16
+
6
17
  ## [1.2.11](https://github.com/Synerise/synerise-design/compare/@synerise/ds-card@1.2.10...@synerise/ds-card@1.2.11) (2025-09-25)
7
18
 
8
19
  **Note:** Version bump only for package @synerise/ds-card
@@ -25,15 +25,15 @@ export var ValueButtonWrapper = styled.div.withConfig({
25
25
  export var CardSummaryItemDetailsWrapper = styled.div.withConfig({
26
26
  displayName: "CardSummarystyles__CardSummaryItemDetailsWrapper",
27
27
  componentId: "sc-1yj41os-5"
28
- })(["display:flex;align-items:center;gap:12px;"]);
28
+ })(["display:flex;align-items:center;gap:12px;min-height:32px;"]);
29
29
  export var CardSummaryItemDetails = styled.div.withConfig({
30
30
  displayName: "CardSummarystyles__CardSummaryItemDetails",
31
31
  componentId: "sc-1yj41os-6"
32
- })(["&:before{content:'\u2022';margin-right:8px;}display:flex;gap:4px;line-height:24px;padding:4px 0;"]);
32
+ })(["&:before{content:'\u2022';}display:flex;gap:12px;align-items:center;"]);
33
33
  export var CardSummaryItemLabelValueWrapper = styled.span.withConfig({
34
34
  displayName: "CardSummarystyles__CardSummaryItemLabelValueWrapper",
35
35
  componentId: "sc-1yj41os-7"
36
- })(["align-self:center;word-break:break-all;"]);
36
+ })(["align-self:center;word-break:break-all;display:flex;align-items:center;"]);
37
37
  export var CardSummaryItemLabel = styled(Text).withConfig({
38
38
  displayName: "CardSummarystyles__CardSummaryItemLabel",
39
39
  componentId: "sc-1yj41os-8"
@@ -41,11 +41,11 @@ export var CardSummaryItemLabel = styled(Text).withConfig({
41
41
  export var CardSummaryItemValue = styled.span.withConfig({
42
42
  displayName: "CardSummarystyles__CardSummaryItemValue",
43
43
  componentId: "sc-1yj41os-9"
44
- })(["", " line-height:24px;"], macro.h200);
44
+ })(["", " display:flex;align-items:center;gap:4px;"], macro.h200);
45
45
  export var IconWrapper = styled.div.withConfig({
46
46
  displayName: "CardSummarystyles__IconWrapper",
47
47
  componentId: "sc-1yj41os-10"
48
- })(["display:inline-block;height:24px;"]);
48
+ })([""]);
49
49
  export var Icon = styled(DSIcon).withConfig({
50
50
  displayName: "CardSummarystyles__Icon",
51
51
  componentId: "sc-1yj41os-11"
@@ -55,8 +55,8 @@ export var Icon = styled(DSIcon).withConfig({
55
55
  export var CardSummaryItemObjects = styled.div.withConfig({
56
56
  displayName: "CardSummarystyles__CardSummaryItemObjects",
57
57
  componentId: "sc-1yj41os-12"
58
- })(["display:flex;gap:8px;margin-left:16px;margin-top:8px;"]);
58
+ })(["--cols:4;--gap:8px;display:flex;flex-wrap:wrap;gap:0 var(--gap);margin:8px 0 8px 16px;"]);
59
59
  export var CardSummaryItemObject = styled.div.withConfig({
60
60
  displayName: "CardSummarystyles__CardSummaryItemObject",
61
61
  componentId: "sc-1yj41os-13"
62
- })(["flex-basis:25%;min-width:0;", "{margin-left:0;}"], Tag);
62
+ })(["flex-basis:calc( 100% / var(--cols) - var(--gap) / var(--cols) * (var(--cols) - 1) );min-width:0;", "{margin-left:0;}"], Tag);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synerise/ds-card",
3
- "version": "1.2.11",
3
+ "version": "1.2.12",
4
4
  "description": "Card UI Component for the Synerise Design System",
5
5
  "license": "ISC",
6
6
  "repository": "Synerise/synerise-design",
@@ -50,5 +50,5 @@
50
50
  "react": ">=16.9.0 <= 18.3.1",
51
51
  "styled-components": "^5.3.3"
52
52
  },
53
- "gitHead": "6a2e6e20a480aafe5d67748d04fbe3d4ce91a544"
53
+ "gitHead": "1f909e1fc4174f1c05c148338e64652a893ef926"
54
54
  }