@xsolla/xui-pagination 0.119.0 → 0.121.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xsolla/xui-pagination",
3
- "version": "0.119.0",
3
+ "version": "0.121.0",
4
4
  "main": "./web/index.js",
5
5
  "module": "./web/index.mjs",
6
6
  "types": "./web/index.d.ts",
@@ -10,8 +10,8 @@
10
10
  "build:native": "PLATFORM=native tsup"
11
11
  },
12
12
  "dependencies": {
13
- "@xsolla/xui-core": "0.119.0",
14
- "@xsolla/xui-primitives-core": "0.119.0"
13
+ "@xsolla/xui-core": "0.121.0",
14
+ "@xsolla/xui-primitives-core": "0.121.0"
15
15
  },
16
16
  "peerDependencies": {
17
17
  "react": ">=16.8.0"
@@ -1,70 +0,0 @@
1
- /**
2
- * Flowtype definitions for index
3
- * Generated by Flowgen from a Typescript Definition
4
- * Flowgen v1.21.0
5
- * @flow
6
- */
7
-
8
- import React from "react";
9
- declare type PaginationSize = "sm" | "md" | "lg";
10
- declare interface PaginationProps {
11
- /**
12
- * Property to specify the size of the pagination.
13
- * @default "md"
14
- */
15
- size?: PaginationSize;
16
-
17
- /**
18
- * Current page number (1-indexed).
19
- * @default 1
20
- */
21
- currentPage?: number;
22
-
23
- /**
24
- * Total number of pages.
25
- * @default 1
26
- */
27
- totalPages?: number;
28
-
29
- /**
30
- * Number of page buttons to show on each side of the current page.
31
- * @default 1
32
- */
33
- siblingCount?: number;
34
-
35
- /**
36
- * Callback fired when a page is clicked.
37
- */
38
- onPageChange?: (page: number) => void;
39
-
40
- /**
41
- * Whether the pagination is disabled.
42
- * @default false
43
- */
44
- disabled?: boolean;
45
-
46
- /**
47
- * Property for specifying the stretch of the pagination to fit the parent element.
48
- * @default false
49
- */
50
- stretched?: boolean;
51
-
52
- /**
53
- * Whether to show the previous/next buttons.
54
- * @default true
55
- */
56
- showNavigation?: boolean;
57
-
58
- /**
59
- * Custom background color for the pagination container
60
- */
61
- backgroundColor?: string;
62
-
63
- /**
64
- * Test ID for testing frameworks
65
- */
66
- testID?: string;
67
- }
68
- declare var Pagination: React.FC<PaginationProps>;
69
- export type { PaginationProps, PaginationSize };
70
- declare export { Pagination };
package/web/index.js.flow DELETED
@@ -1,70 +0,0 @@
1
- /**
2
- * Flowtype definitions for index
3
- * Generated by Flowgen from a Typescript Definition
4
- * Flowgen v1.21.0
5
- * @flow
6
- */
7
-
8
- import React from "react";
9
- declare type PaginationSize = "sm" | "md" | "lg";
10
- declare interface PaginationProps {
11
- /**
12
- * Property to specify the size of the pagination.
13
- * @default "md"
14
- */
15
- size?: PaginationSize;
16
-
17
- /**
18
- * Current page number (1-indexed).
19
- * @default 1
20
- */
21
- currentPage?: number;
22
-
23
- /**
24
- * Total number of pages.
25
- * @default 1
26
- */
27
- totalPages?: number;
28
-
29
- /**
30
- * Number of page buttons to show on each side of the current page.
31
- * @default 1
32
- */
33
- siblingCount?: number;
34
-
35
- /**
36
- * Callback fired when a page is clicked.
37
- */
38
- onPageChange?: (page: number) => void;
39
-
40
- /**
41
- * Whether the pagination is disabled.
42
- * @default false
43
- */
44
- disabled?: boolean;
45
-
46
- /**
47
- * Property for specifying the stretch of the pagination to fit the parent element.
48
- * @default false
49
- */
50
- stretched?: boolean;
51
-
52
- /**
53
- * Whether to show the previous/next buttons.
54
- * @default true
55
- */
56
- showNavigation?: boolean;
57
-
58
- /**
59
- * Custom background color for the pagination container
60
- */
61
- backgroundColor?: string;
62
-
63
- /**
64
- * Test ID for testing frameworks
65
- */
66
- testID?: string;
67
- }
68
- declare var Pagination: React.FC<PaginationProps>;
69
- export type { PaginationProps, PaginationSize };
70
- declare export { Pagination };