@synerise/ds-result 1.0.47 → 1.0.48

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,10 @@
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.0.48](https://github.com/Synerise/synerise-design/compare/@synerise/ds-result@1.0.47...@synerise/ds-result@1.0.48) (2026-03-20)
7
+
8
+ **Note:** Version bump only for package @synerise/ds-result
9
+
6
10
  ## [1.0.47](https://github.com/Synerise/synerise-design/compare/@synerise/ds-result@1.0.46...@synerise/ds-result@1.0.47) (2026-03-09)
7
11
 
8
12
  **Note:** Version bump only for package @synerise/ds-result
package/README.md CHANGED
@@ -22,7 +22,6 @@ import Result from '@synerise/ds-result'
22
22
  type="success"
23
23
  title="Chicken has been successfully cooked"
24
24
  description="Would you like to cook any other chickens?"
25
- onClose={() => console.log('close button was clicked')}
26
25
  buttons={(
27
26
  <>
28
27
  <Button type="secondary">
@@ -36,7 +35,6 @@ import Result from '@synerise/ds-result'
36
35
  panel={(
37
36
  <span>Some content, for example a picture of cooked chicken</span>
38
37
  )}
39
- closable
40
38
  />
41
39
 
42
40
  ```
@@ -50,11 +48,9 @@ import Result from '@synerise/ds-result'
50
48
  | Property | Description | Type | Default |
51
49
  | --------------- | ------------------------------------------------------------------------ | -------------------------------------------------------------------- | ------- |
52
50
  | type | type of result | `info` / `warning` / `error` / `success` / `progress` / `no-results` | - |
53
- | closable | whether or not to show X button to close | boolean | - |
54
51
  | title | title text | string / React.ReactNode | - |
55
52
  | description | description text | string / React.ReactNode | - |
56
- | onClose | event called when clicked on close button | () => void | - |
57
53
  | buttons | render buttons | React.ReactNode | - |
58
54
  | panel | render custom panel | React.ReactNode | - |
59
55
  | customIcon | render custom icon in place of type icon | React.ReactElement | - |
60
- | noSearchResults | use only in search results (renders with smaller space between elements) | boolean | - |
56
+ | noSearchResults | **Deprecated** use `type="no-results"` instead | boolean | - |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synerise/ds-result",
3
- "version": "1.0.47",
3
+ "version": "1.0.48",
4
4
  "description": "Result UI Component for the Synerise Design System",
5
5
  "license": "ISC",
6
6
  "repository": "Synerise/synerise-design",
@@ -35,14 +35,14 @@
35
35
  ],
36
36
  "types": "dist/index.d.ts",
37
37
  "dependencies": {
38
- "@synerise/ds-button": "^1.5.16",
39
- "@synerise/ds-icon": "^1.14.1",
40
- "@synerise/ds-typography": "^1.1.11"
38
+ "@synerise/ds-button": "^1.5.17",
39
+ "@synerise/ds-icon": "^1.15.0",
40
+ "@synerise/ds-typography": "^1.1.12"
41
41
  },
42
42
  "peerDependencies": {
43
43
  "@synerise/ds-core": "*",
44
44
  "react": ">=16.9.0 <= 18.3.1",
45
45
  "styled-components": "^5.3.3"
46
46
  },
47
- "gitHead": "8dfafc5d7278f09d430f1e7499782d05c76b47c0"
47
+ "gitHead": "8efc031fa688c0b87c7b3915bae93546bb63bcac"
48
48
  }