@synerise/ds-toolbar 1.1.44 → 1.1.46
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 +8 -0
- package/README.md +14 -7
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
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.46](https://github.com/Synerise/synerise-design/compare/@synerise/ds-toolbar@1.1.45...@synerise/ds-toolbar@1.1.46) (2026-03-20)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @synerise/ds-toolbar
|
|
9
|
+
|
|
10
|
+
## [1.1.45](https://github.com/Synerise/synerise-design/compare/@synerise/ds-toolbar@1.1.44...@synerise/ds-toolbar@1.1.45) (2026-03-09)
|
|
11
|
+
|
|
12
|
+
**Note:** Version bump only for package @synerise/ds-toolbar
|
|
13
|
+
|
|
6
14
|
## [1.1.44](https://github.com/Synerise/synerise-design/compare/@synerise/ds-toolbar@1.1.43...@synerise/ds-toolbar@1.1.44) (2026-02-23)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @synerise/ds-toolbar
|
package/README.md
CHANGED
|
@@ -8,15 +8,13 @@ Toolbar UI Component
|
|
|
8
8
|
## Installation
|
|
9
9
|
|
|
10
10
|
```
|
|
11
|
-
|
|
12
|
-
or
|
|
13
|
-
yarn add @synerise/ds-toolbar
|
|
11
|
+
pnpm add @synerise/ds-toolbar
|
|
14
12
|
```
|
|
15
13
|
|
|
16
14
|
## Usage
|
|
17
15
|
|
|
18
|
-
```
|
|
19
|
-
import Toolbar from '@synerise/ds-toolbar'
|
|
16
|
+
```tsx
|
|
17
|
+
import Toolbar, { ToolbarGroup, ToolbarButton, ToolbarLabel, ToolbarDivider } from '@synerise/ds-toolbar';
|
|
20
18
|
|
|
21
19
|
<Toolbar>
|
|
22
20
|
<ToolbarGroup>
|
|
@@ -28,7 +26,6 @@ import Toolbar from '@synerise/ds-toolbar'
|
|
|
28
26
|
</ToolbarButton>
|
|
29
27
|
</ToolbarGroup>
|
|
30
28
|
</Toolbar>
|
|
31
|
-
|
|
32
29
|
```
|
|
33
30
|
|
|
34
31
|
## Demo
|
|
@@ -48,7 +45,7 @@ import Toolbar from '@synerise/ds-toolbar'
|
|
|
48
45
|
| Property | Description | Type | Default |
|
|
49
46
|
| --------- | ------------------------------------------------- | --------- | ------- |
|
|
50
47
|
| children | contents of the toolbar | ReactNode | - |
|
|
51
|
-
| isCompact | compact ToolbarGroup has 0px gap between elements | boolean |
|
|
48
|
+
| isCompact | compact ToolbarGroup has 0px gap between elements | boolean | false |
|
|
52
49
|
|
|
53
50
|
### ToolbarButton
|
|
54
51
|
|
|
@@ -59,3 +56,13 @@ see ds-button for more props
|
|
|
59
56
|
| type | type of button | 'ghost-primary' / 'ghost' / 'custom-color-ghost' | - |
|
|
60
57
|
| tooltipProps | Tooltip config | TooltipProps see ds-tooltip | - |
|
|
61
58
|
| badgeProps | Badge config | BadgeProps see ds-badge | - |
|
|
59
|
+
|
|
60
|
+
### ToolbarLabel
|
|
61
|
+
|
|
62
|
+
| Property | Description | Type | Default |
|
|
63
|
+
| -------- | ---------------------------------- | --------- | ------- |
|
|
64
|
+
| children | label text rendered inside a group | ReactNode | - |
|
|
65
|
+
|
|
66
|
+
### ToolbarDivider
|
|
67
|
+
|
|
68
|
+
A vertical 1px separator for use inside a `ToolbarGroup`. Accepts standard `HTMLDivElement` attributes. No additional props.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synerise/ds-toolbar",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.46",
|
|
4
4
|
"description": "Toolbar UI Component for the Synerise Design System",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"repository": "Synerise/synerise-design",
|
|
@@ -35,10 +35,10 @@
|
|
|
35
35
|
],
|
|
36
36
|
"types": "dist/index.d.ts",
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@synerise/ds-badge": "^1.0.
|
|
39
|
-
"@synerise/ds-button": "^1.5.
|
|
40
|
-
"@synerise/ds-tooltip": "^1.4.
|
|
41
|
-
"@synerise/ds-utils": "^1.
|
|
38
|
+
"@synerise/ds-badge": "^1.0.43",
|
|
39
|
+
"@synerise/ds-button": "^1.5.17",
|
|
40
|
+
"@synerise/ds-tooltip": "^1.4.9",
|
|
41
|
+
"@synerise/ds-utils": "^1.7.0"
|
|
42
42
|
},
|
|
43
43
|
"peerDependencies": {
|
|
44
44
|
"@synerise/ds-core": "*",
|
|
@@ -46,5 +46,5 @@
|
|
|
46
46
|
"react": ">=16.9.0 <= 18.3.1",
|
|
47
47
|
"styled-components": "^5.3.3"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "8efc031fa688c0b87c7b3915bae93546bb63bcac"
|
|
50
50
|
}
|