@synerise/ds-navbar 2.0.11 → 2.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
+ # [2.1.0](https://github.com/Synerise/synerise-design/compare/@synerise/ds-navbar@2.0.11...@synerise/ds-navbar@2.1.0) (2026-10-29)
7
+
8
+
9
+ ### Features
10
+
11
+ * integrate Token Studio design tokens across the design system ([aabb447](https://github.com/Synerise/synerise-design/commit/aabb447edfb2d0c85e3de1f07e809ef84083453b))
12
+
13
+
14
+
15
+
16
+
6
17
  ## [2.0.11](https://github.com/Synerise/synerise-design/compare/@synerise/ds-navbar@2.0.10...@synerise/ds-navbar@2.0.11) (2026-10-28)
7
18
 
8
19
  **Note:** Version bump only for package @synerise/ds-navbar
package/CLAUDE.md CHANGED
@@ -25,7 +25,7 @@ src/
25
25
  | `description` | `ReactNode` | — (required) | Module name / page title shown left of centre |
26
26
  | `logo` | `ReactNode` | — (required) | `string` → renders `<img src>`, otherwise renders the node directly |
27
27
  | `className` | `string` | — | Appended to `ds-navbar` on the root element |
28
- | `color` | `string` | `theme.palette['blue-600']` | Background colour of the bar |
28
+ | `color` | `string` | `var(--ds-navbar-container-bg)` | Background colour of the bar |
29
29
  | `actions` | `ReactNode` | — | Action area on the right (typically an avatar button) |
30
30
  | `additionalNodes` | `ReactNode[]` | — | Extra sections inserted before the actions area; each is separated by a `NavbarDivider` |
31
31
  | `alertNotification` | `ReactNode` | — | Alert + button slot; rendered between description and additional nodes, wrapped in a `NavbarDivider` on each side |
@@ -52,7 +52,7 @@ import Navbar from '@synerise/ds-navbar';
52
52
 
53
53
  ## Styling
54
54
 
55
- Styles live in `Navbar.styles.ts`. The navbar is a `56px` tall flex row with `padding: 16px 24px`. Background defaults to `theme.palette['blue-600']` when no `color` prop is provided. Text colour is always `#fff` (hardcoded, not a token).
55
+ Styles live in `Navbar.styles.ts`. The navbar is a `56px` tall flex row with `padding: 16px 24px`. Background defaults to `var(--ds-navbar-container-bg)` when no `color` prop is provided. Text colour is always `var(--ds-color-text-base-onsolid)`.
56
56
 
57
57
  `NavbarAlertNotification` forces `InlineAlert` SVGs and text spans white via class-based CSS (`.ds-inline-alert svg` and `.ds-inline-alert > span`).
58
58
 
@@ -3,7 +3,7 @@ import { macro } from "@synerise/ds-typography";
3
3
  const Navbar = /* @__PURE__ */ styled.div.withConfig({
4
4
  displayName: "Navbarstyles__Navbar",
5
5
  componentId: "sc-ldoz41-0"
6
- })(["background-color:", ";padding:16px 24px;height:56px;display:flex;flex:0 0 100%;align-items:center;color:#fff;img{max-width:100px;}"], (props) => props.color ? props.color : props.theme.palette["blue-600"]);
6
+ })(["background-color:", ";padding:16px 24px;height:56px;display:flex;flex:0 0 100%;align-items:center;color:var(--ds-color-text-base-onsolid);img{max-width:100px;}"], (props) => props.color ? props.color : "var(--ds-navbar-container-bg)");
7
7
  const NavbarDescription = /* @__PURE__ */ styled.div.withConfig({
8
8
  displayName: "Navbarstyles__NavbarDescription",
9
9
  componentId: "sc-ldoz41-1"
@@ -15,7 +15,7 @@ const AdditionalNode = /* @__PURE__ */ styled.div.withConfig({
15
15
  const NavbarDivider = /* @__PURE__ */ styled.div.withConfig({
16
16
  displayName: "Navbarstyles__NavbarDivider",
17
17
  componentId: "sc-ldoz41-3"
18
- })(["width:1px;height:24px;background-color:#fff;opacity:0.3;margin:0 12px;"]);
18
+ })(["width:1px;height:24px;background-color:var(--ds-navbar-left-separator-color);opacity:var(--ds-navbar-left-separator-opacity);margin:0 12px;"]);
19
19
  const NavbarActions = /* @__PURE__ */ styled.div.withConfig({
20
20
  displayName: "Navbarstyles__NavbarActions",
21
21
  componentId: "sc-ldoz41-4"
@@ -27,7 +27,7 @@ const NavbarActionsWrapper = /* @__PURE__ */ styled.div.withConfig({
27
27
  const NavbarAlertNotification = /* @__PURE__ */ styled.div.withConfig({
28
28
  displayName: "Navbarstyles__NavbarAlertNotification",
29
29
  componentId: "sc-ldoz41-6"
30
- })(["display:flex;align-items:center;.ds-button{margin-left:12px;}.ds-inline-alert svg{color:", ";fill:", ";}.ds-inline-alert > span{color:", ";}"], (props) => props.theme.palette.white, (props) => props.theme.palette.white, (props) => props.theme.palette.white);
30
+ })(["display:flex;align-items:center;.ds-button{margin-left:12px;}&& .ds-inline-alert{color:var(--ds-color-text-base-onsolid);}.ds-inline-alert > span{color:var(--ds-color-text-base-onsolid);}"]);
31
31
  export {
32
32
  AdditionalNode,
33
33
  Navbar,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synerise/ds-navbar",
3
- "version": "2.0.11",
3
+ "version": "2.1.0",
4
4
  "description": "Navbar UI Component for the Synerise Design System",
5
5
  "license": "ISC",
6
6
  "repository": "Synerise/synerise-design",
@@ -42,7 +42,7 @@
42
42
  ],
43
43
  "types": "dist/index.d.ts",
44
44
  "dependencies": {
45
- "@synerise/ds-typography": "^2.0.11"
45
+ "@synerise/ds-typography": "^2.1.0"
46
46
  },
47
47
  "devDependencies": {
48
48
  "vitest": "4"
@@ -52,5 +52,5 @@
52
52
  "react": ">=16.9.0 <= 18.3.1",
53
53
  "styled-components": "^5.3.3"
54
54
  },
55
- "gitHead": "c356039703d8826bbbdb6dadcb18bb008fea8bc5"
55
+ "gitHead": "5c3d61e30289486d14c7d6becb682e2d4a08ce41"
56
56
  }