@synerise/ds-pagination 2.0.13 → 2.1.1

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,25 @@
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.1](https://github.com/synerise/synerise-design/compare/@synerise/ds-pagination@2.1.0...@synerise/ds-pagination@2.1.1) (2026-11-03)
7
+
8
+ **Note:** Version bump only for package @synerise/ds-pagination
9
+
10
+
11
+
12
+
13
+
14
+ # [2.1.0](https://github.com/synerise/synerise-design/compare/@synerise/ds-pagination@2.0.13...@synerise/ds-pagination@2.1.0) (2026-10-29)
15
+
16
+
17
+ ### Features
18
+
19
+ * integrate Token Studio design tokens across the design system ([aabb447](https://github.com/synerise/synerise-design/commit/aabb447edfb2d0c85e3de1f07e809ef84083453b))
20
+
21
+
22
+
23
+
24
+
6
25
  ## [2.0.13](https://github.com/synerise/synerise-design/compare/@synerise/ds-pagination@2.0.12...@synerise/ds-pagination@2.0.13) (2026-10-28)
7
26
 
8
27
  **Note:** Version bump only for package @synerise/ds-pagination
package/CLAUDE.md CHANGED
@@ -57,13 +57,15 @@ import Pagination from '@synerise/ds-pagination';
57
57
  No CSS import is required (styled-components).
58
58
 
59
59
  ## Styling
60
- - All styling lives in `Pagination.styles.ts` (styled-components, theme tokens). Classes are hooks only,
60
+ - All styling lives in `Pagination.styles.ts` (styled-components, `var(--ds-*)` tokens). Classes are hooks only,
61
61
  not styling selectors.
62
- - Page item: 32px, `border-radius: 16px`; active = `grey-700` background, white text; hover = translucent grey.
63
- - prev/next: `grey-600` ghost icon buttons (`@synerise/ds-button`); disabled = `opacity: 0.4`.
62
+ - Page item: 32px, `border-radius: 16px`; active = `var(--ds-pagination-item-bg-active)` background,
63
+ `var(--ds-pagination-item-text-color-active)` text; hover = `var(--ds-pagination-item-bg-hover)`.
64
+ - prev/next: `var(--ds-pagination-nav-icon-default)` ghost icon buttons (`@synerise/ds-button`); disabled =
65
+ `opacity: var(--ds-pagination-nav-disabled-opacity)`.
64
66
  - jump-prev/next: `OptionHorizontalM` by default, swap to `DoubleAngleLeftS`/`DoubleAngleRightS` on hover
65
67
  (via `.default-icon` / `.hover-icon` toggling inside the styled `Jump`).
66
- - size changer: `@synerise/ds-select`, `min-width: 140px`; quick jumper: input with `blue-600` focus ring.
68
+ - size changer: `@synerise/ds-select`, `min-width: 140px`; quick jumper: input with `var(--ds-color-focus-base-default)` focus ring.
67
69
  - Font family `'Graphik LCG Web', sans-serif`.
68
70
 
69
71
  ### DOM / class hooks (`ds-pagination-*` only)
@@ -7,15 +7,15 @@ const Root = /* @__PURE__ */ styled.ul.withConfig({
7
7
  const TotalText = /* @__PURE__ */ styled.li.withConfig({
8
8
  displayName: "Paginationstyles__TotalText",
9
9
  componentId: "sc-10qb5kd-1"
10
- })(["display:inline-flex;align-items:center;height:32px;margin-right:8px;color:", ";strong{font-weight:500;}"], (props) => props.theme.palette["grey-600"]);
10
+ })(["display:inline-flex;align-items:center;height:32px;margin-right:8px;color:var(--ds-color-text-base-muted);strong{font-weight:500;}"]);
11
11
  const Item = /* @__PURE__ */ styled.li.withConfig({
12
12
  displayName: "Paginationstyles__Item",
13
13
  componentId: "sc-10qb5kd-2"
14
- })(["display:inline-flex;align-items:center;justify-content:center;min-width:32px;height:32px;margin:0 2px;border:1px solid transparent;border-radius:16px;background-color:transparent;cursor:pointer;transition:background-color 0.2s ease;a{padding:0 6px;color:", ";text-decoration:none;}&:hover{background-color:", ";}", ""], (props) => props.theme.palette["grey-700"], (props) => `${props.theme.palette["grey-400"]}66`, (props) => props.$active && css(["&&{border-color:", ";background-color:", ";a{color:", ";}&:hover a{color:", ";}}"], props.theme.palette["grey-700"], props.theme.palette["grey-700"], props.theme.palette.white, props.theme.palette.white));
14
+ })(["display:inline-flex;align-items:center;justify-content:center;min-width:32px;height:32px;margin:0 2px;border:1px solid transparent;border-radius:16px;background-color:transparent;cursor:pointer;transition:background-color 0.2s ease;a{padding:0 6px;color:var(--ds-pagination-item-text-color-default);text-decoration:none;}&:hover{background-color:var(--ds-pagination-item-bg-hover);}", ""], (props) => props.$active && css(["&&{border-color:var(--ds-pagination-item-bg-active);background-color:var(--ds-pagination-item-bg-active);a{color:var(--ds-pagination-item-text-color-active);}&:hover a{color:var(--ds-pagination-item-text-color-active);}}"]));
15
15
  const Nav = /* @__PURE__ */ styled.li.withConfig({
16
16
  displayName: "Paginationstyles__Nav",
17
17
  componentId: "sc-10qb5kd-3"
18
- })(["display:inline-flex;align-items:center;color:", ";", " ", " ", ""], (props) => props.theme.palette["grey-600"], (props) => props.$side === "prev" && "margin-right: 8px;", (props) => props.$side === "next" && "margin-left: 8px;", (props) => props.$disabled && css(["opacity:0.4;cursor:not-allowed;> *{pointer-events:none;}"]));
18
+ })(["display:inline-flex;align-items:center;color:var(--ds-pagination-nav-icon-default);", " ", " ", ""], (props) => props.$side === "prev" && "margin-right: 8px;", (props) => props.$side === "next" && "margin-left: 8px;", (props) => props.$disabled && css(["opacity:var(--ds-pagination-nav-disabled-opacity);cursor:not-allowed;> *{pointer-events:none;}"]));
19
19
  const Jump = /* @__PURE__ */ styled.li.withConfig({
20
20
  displayName: "Paginationstyles__Jump",
21
21
  componentId: "sc-10qb5kd-4"
@@ -31,11 +31,11 @@ const SizeChanger = /* @__PURE__ */ styled.div.withConfig({
31
31
  const QuickJumper = /* @__PURE__ */ styled.div.withConfig({
32
32
  displayName: "Paginationstyles__QuickJumper",
33
33
  componentId: "sc-10qb5kd-7"
34
- })(["display:inline-flex;align-items:center;white-space:nowrap;color:", ";"], (props) => props.theme.palette["grey-600"]);
34
+ })(["display:inline-flex;align-items:center;white-space:nowrap;color:var(--ds-color-text-base-muted);"]);
35
35
  const JumperInput = /* @__PURE__ */ styled.input.withConfig({
36
36
  displayName: "Paginationstyles__JumperInput",
37
37
  componentId: "sc-10qb5kd-8"
38
- })(["width:50px;height:32px;margin:0 8px;padding:7px 12px;border:1px solid ", ";border-radius:3px;outline:none;box-sizing:border-box;&:focus{border-color:", ";box-shadow:inset 0 0 0 1px ", ";}"], (props) => props.theme.palette["grey-300"], (props) => props.theme.palette["blue-600"], (props) => props.theme.palette["blue-600"]);
38
+ })(["width:50px;height:32px;margin:0 8px;padding:7px 12px;border:1px solid var(--ds-color-border-base-strong);border-radius:3px;outline:none;box-sizing:border-box;&:focus{border-color:var(--ds-color-focus-base-default);box-shadow:inset 0 0 0 1px var(--ds-color-focus-base-default);}"]);
39
39
  export {
40
40
  Item,
41
41
  Jump,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synerise/ds-pagination",
3
- "version": "2.0.13",
3
+ "version": "2.1.1",
4
4
  "description": "Pagination UI Component for the Synerise Design System",
5
5
  "license": "ISC",
6
6
  "repository": "synerise/synerise-design",
@@ -42,10 +42,10 @@
42
42
  ],
43
43
  "types": "dist/index.d.ts",
44
44
  "dependencies": {
45
- "@synerise/ds-button": "^2.1.6",
46
- "@synerise/ds-icon": "^2.2.3",
47
- "@synerise/ds-select": "^2.1.8",
48
- "@synerise/ds-utils": "^2.2.2"
45
+ "@synerise/ds-button": "^2.2.1",
46
+ "@synerise/ds-icon": "^2.3.1",
47
+ "@synerise/ds-select": "^2.2.1",
48
+ "@synerise/ds-utils": "^2.3.1"
49
49
  },
50
50
  "devDependencies": {
51
51
  "vitest": "4"
@@ -55,5 +55,5 @@
55
55
  "react": ">=16.9.0 <= 18.3.1",
56
56
  "styled-components": "^5.3.3"
57
57
  },
58
- "gitHead": "c356039703d8826bbbdb6dadcb18bb008fea8bc5"
58
+ "gitHead": "2d2a540b35fddf8855da45f0dec2f4612c6d87b6"
59
59
  }