@synerise/ds-section-message 1.0.7 → 1.0.8
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 +11 -22
- package/README.md +3 -1
- package/dist/SectionMessage.styles.js +5 -5
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,59 +3,48 @@
|
|
|
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.
|
|
6
|
+
## [1.0.8](https://github.com/Synerise/synerise-design/compare/@synerise/ds-section-message@1.0.7...@synerise/ds-section-message@1.0.8) (2025-09-23)
|
|
7
7
|
|
|
8
|
-
**Note:** Version bump only for package @synerise/ds-section-message
|
|
9
8
|
|
|
9
|
+
### Bug Fixes
|
|
10
10
|
|
|
11
|
+
* **section-message:** fixes to section message overflow ([8189069](https://github.com/Synerise/synerise-design/commit/81890698e348490e75cd991e2d97ca456592941c))
|
|
11
12
|
|
|
12
13
|
|
|
13
14
|
|
|
14
|
-
## [1.0.6](https://github.com/Synerise/synerise-design/compare/@synerise/ds-section-message@1.0.5...@synerise/ds-section-message@1.0.6) (2025-09-05)
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
* **section-message:** remove prop color ([569a1d7](https://github.com/Synerise/synerise-design/commit/569a1d72db5f723f0dd345e897c10ecbd46a5ab6))
|
|
17
|
+
## [1.0.7](https://github.com/Synerise/synerise-design/compare/@synerise/ds-section-message@1.0.6...@synerise/ds-section-message@1.0.7) (2025-09-16)
|
|
20
18
|
|
|
19
|
+
**Note:** Version bump only for package @synerise/ds-section-message
|
|
21
20
|
|
|
22
21
|
|
|
23
22
|
|
|
24
23
|
|
|
25
|
-
## [1.0.5](https://github.com/Synerise/synerise-design/compare/@synerise/ds-section-message@1.0.4...@synerise/ds-section-message@1.0.5) (2025-08-28)
|
|
26
24
|
|
|
27
|
-
|
|
25
|
+
## [1.0.6](https://github.com/Synerise/synerise-design/compare/@synerise/ds-section-message@1.0.5...@synerise/ds-section-message@1.0.6) (2025-09-05)
|
|
28
26
|
|
|
27
|
+
### Bug Fixes
|
|
29
28
|
|
|
29
|
+
- **section-message:** remove prop color ([569a1d7](https://github.com/Synerise/synerise-design/commit/569a1d72db5f723f0dd345e897c10ecbd46a5ab6))
|
|
30
30
|
|
|
31
|
+
## [1.0.5](https://github.com/Synerise/synerise-design/compare/@synerise/ds-section-message@1.0.4...@synerise/ds-section-message@1.0.5) (2025-08-28)
|
|
31
32
|
|
|
33
|
+
**Note:** Version bump only for package @synerise/ds-section-message
|
|
32
34
|
|
|
33
35
|
## [1.0.4](https://github.com/Synerise/synerise-design/compare/@synerise/ds-section-message@1.0.3...@synerise/ds-section-message@1.0.4) (2025-08-14)
|
|
34
36
|
|
|
35
37
|
**Note:** Version bump only for package @synerise/ds-section-message
|
|
36
38
|
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
39
|
## [1.0.3](https://github.com/Synerise/synerise-design/compare/@synerise/ds-section-message@1.0.2...@synerise/ds-section-message@1.0.3) (2025-07-24)
|
|
42
40
|
|
|
43
41
|
**Note:** Version bump only for package @synerise/ds-section-message
|
|
44
42
|
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
43
|
## [1.0.2](https://github.com/Synerise/synerise-design/compare/@synerise/ds-section-message@1.0.1...@synerise/ds-section-message@1.0.2) (2025-07-18)
|
|
50
44
|
|
|
51
|
-
|
|
52
45
|
### Bug Fixes
|
|
53
46
|
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
47
|
+
- **section-message:** revert wrappers in styles ([e26723d](https://github.com/Synerise/synerise-design/commit/e26723d10590617cbf620dd9e62650f7aeb44299))
|
|
59
48
|
|
|
60
49
|
## 1.0.1 (2025-07-17)
|
|
61
50
|
|
package/README.md
CHANGED
|
@@ -6,6 +6,7 @@ title: SectionMessage
|
|
|
6
6
|
SectionMessage UI Component
|
|
7
7
|
|
|
8
8
|
## Installation
|
|
9
|
+
|
|
9
10
|
```
|
|
10
11
|
npm i @synerise/ds-section-message
|
|
11
12
|
or
|
|
@@ -13,6 +14,7 @@ yarn add @synerise/ds-section-message
|
|
|
13
14
|
```
|
|
14
15
|
|
|
15
16
|
## Usage
|
|
17
|
+
|
|
16
18
|
```
|
|
17
19
|
import SectionMessage from '@synerise/ds-section-message'
|
|
18
20
|
|
|
@@ -27,7 +29,7 @@ import SectionMessage from '@synerise/ds-section-message'
|
|
|
27
29
|
## API
|
|
28
30
|
|
|
29
31
|
| Property | Description | Type | Default |
|
|
30
|
-
| --------------- | ---------------------------------------------------------------------------------------------------------------------- |
|
|
32
|
+
| --------------- | ---------------------------------------------------------------------------------------------------------------------- | ----------- | ---------- |
|
|
31
33
|
| type | Type of SectionMessage, options: `notice`, `negative`, `positive`,`neutral`,`supply`,`service`,`entity` | `string` | `negative` |
|
|
32
34
|
| message | Message of section messsage | `ReactNode` | - |
|
|
33
35
|
| customColor | type of colors,options:`red`, `blue`, `green`,`yellow`,`grey`,`purple`,`violet`, `cyan`,`fern`,`orange`, `mars`,`pink` | `string` | - |
|
|
@@ -3,17 +3,17 @@ import { getColorBackground, getColorBorder, getColorIconAndBorderTop } from './
|
|
|
3
3
|
export var AlertContent = styled.div.withConfig({
|
|
4
4
|
displayName: "SectionMessagestyles__AlertContent",
|
|
5
5
|
componentId: "sc-1qohcjm-0"
|
|
6
|
-
})(["display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;padding:", ";"], function (props) {
|
|
6
|
+
})(["display:flex;min-width:0;flex-direction:column;align-items:flex-start;justify-content:flex-start;padding:", ";"], function (props) {
|
|
7
7
|
return props.withLink ? '12px 0 11px' : '12px 0';
|
|
8
8
|
});
|
|
9
9
|
export var AllContent = styled.div.withConfig({
|
|
10
10
|
displayName: "SectionMessagestyles__AllContent",
|
|
11
11
|
componentId: "sc-1qohcjm-1"
|
|
12
|
-
})(["display:flex;color:inherit;"]);
|
|
12
|
+
})(["display:flex;min-width:0;color:inherit;"]);
|
|
13
13
|
export var Text = styled.div.withConfig({
|
|
14
14
|
displayName: "SectionMessagestyles__Text",
|
|
15
15
|
componentId: "sc-1qohcjm-2"
|
|
16
|
-
})(["display:flex;"]);
|
|
16
|
+
})(["display:flex;min-width:0;width:100%;"]);
|
|
17
17
|
export var IconWrapper = styled.div.withConfig({
|
|
18
18
|
displayName: "SectionMessagestyles__IconWrapper",
|
|
19
19
|
componentId: "sc-1qohcjm-3"
|
|
@@ -51,13 +51,13 @@ export var WrapperSectionMessage = styled.div.withConfig({
|
|
|
51
51
|
export var AlertMessage = styled.span.withConfig({
|
|
52
52
|
displayName: "SectionMessagestyles__AlertMessage",
|
|
53
53
|
componentId: "sc-1qohcjm-9"
|
|
54
|
-
})(["font-size:13px;line-height:1.39;font-weight:500;
|
|
54
|
+
})(["font-size:13px;line-height:1.39;font-weight:500;overflow-wrap:break-word;min-width:0;width:100%;color:", ";"], function (props) {
|
|
55
55
|
return props.theme.palette['grey-700'];
|
|
56
56
|
});
|
|
57
57
|
export var AlertDescription = styled.span.withConfig({
|
|
58
58
|
displayName: "SectionMessagestyles__AlertDescription",
|
|
59
59
|
componentId: "sc-1qohcjm-10"
|
|
60
|
-
})(["
|
|
60
|
+
})(["overflow-wrap:break-word;min-width:0;font-size:13px;line-height:1.39;font-weight:normal;padding-right:3px;margin-top:2px;color:", ";"], function (props) {
|
|
61
61
|
return props.theme.palette['grey-700'];
|
|
62
62
|
});
|
|
63
63
|
export var EmphasisWrapper = styled.span.withConfig({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synerise/ds-section-message",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.8",
|
|
4
4
|
"description": "SectionMessage UI Component for the Synerise Design System",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"repository": "Synerise/synerise-design",
|
|
@@ -43,5 +43,5 @@
|
|
|
43
43
|
"react": ">=16.9.0 <= 18.3.1",
|
|
44
44
|
"styled-components": "^5.3.3"
|
|
45
45
|
},
|
|
46
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "4f56489ade5b08524578821d0c51c963002ff48c"
|
|
47
47
|
}
|