@startupjs-ui/pagination 0.2.0-alpha.0 → 0.2.0-alpha.2

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,22 @@
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
+ # [0.2.0-alpha.2](https://github.com/startupjs/startupjs-ui/compare/v0.2.0-alpha.1...v0.2.0-alpha.2) (2026-04-20)
7
+
8
+ **Note:** Version bump only for package @startupjs-ui/pagination
9
+
10
+
11
+
12
+
13
+
14
+ # [0.2.0-alpha.1](https://github.com/startupjs/startupjs-ui/compare/v0.2.0-alpha.0...v0.2.0-alpha.1) (2026-04-10)
15
+
16
+ **Note:** Version bump only for package @startupjs-ui/pagination
17
+
18
+
19
+
20
+
21
+
6
22
  # [0.2.0-alpha.0](https://github.com/startupjs/startupjs-ui/compare/v0.1.22...v0.2.0-alpha.0) (2026-03-27)
7
23
 
8
24
  **Note:** Version bump only for package @startupjs-ui/pagination
package/index.tsx CHANGED
@@ -127,7 +127,7 @@ function Pagination ({
127
127
  ...itemProps
128
128
  )
129
129
  Icon.icon(
130
- styleName={disabled}
130
+ styleName={ disabled }
131
131
  icon=ICONS[type]
132
132
  )
133
133
  else if ~type.indexOf('ellipsis')
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@startupjs-ui/pagination",
3
- "version": "0.2.0-alpha.0",
3
+ "version": "0.2.0-alpha.2",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -8,15 +8,15 @@
8
8
  "types": "index.d.ts",
9
9
  "type": "module",
10
10
  "dependencies": {
11
- "@startupjs-ui/core": "^0.2.0-alpha.0",
12
- "@startupjs-ui/div": "^0.2.0-alpha.0",
13
- "@startupjs-ui/icon": "^0.2.0-alpha.0",
14
- "@startupjs-ui/span": "^0.2.0-alpha.0"
11
+ "@startupjs-ui/core": "^0.2.0-alpha.1",
12
+ "@startupjs-ui/div": "^0.2.0-alpha.1",
13
+ "@startupjs-ui/icon": "^0.2.0-alpha.1",
14
+ "@startupjs-ui/span": "^0.2.0-alpha.1"
15
15
  },
16
16
  "peerDependencies": {
17
17
  "react": "*",
18
18
  "react-native": "*",
19
19
  "startupjs": "*"
20
20
  },
21
- "gitHead": "a428246a18d0e7f77809043c8240253240d11d66"
21
+ "gitHead": "8a6ae7871e4c82f3e24d5911a9df42338e057e7a"
22
22
  }
package/usePagination.ts CHANGED
@@ -89,7 +89,7 @@ export default function usePagination ({
89
89
  const currentPage = page
90
90
 
91
91
  // Basic list of items to render
92
- const itemList: Array<PaginationItemType | number> = []
92
+ const itemList: (PaginationItemType | number)[] = []
93
93
 
94
94
  if (showFirstButton) itemList.push('first')
95
95
  if (showPrevButton) itemList.push('previous')