@apipass/design-system 1.9.7 → 1.9.8

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.
@@ -2,19 +2,24 @@ import type React from "react";
2
2
  import "./pagination.css";
3
3
  export type PaginationProps = React.ComponentPropsWithoutRef<"nav">;
4
4
  export declare function Pagination({ "aria-label": ariaLabel, className, ...props }: PaginationProps): import("react/jsx-runtime").JSX.Element;
5
- export declare function PaginationPrevious({ href, children, }: {
5
+ export declare function PaginationPrevious({ href, onPress, isDisabled, children, }: {
6
6
  href?: string | null;
7
+ onPress?: () => void;
8
+ isDisabled?: boolean;
7
9
  children?: React.ReactNode;
8
10
  }): import("react/jsx-runtime").JSX.Element;
9
- export declare function PaginationNext({ href, children, }: {
11
+ export declare function PaginationNext({ href, onPress, isDisabled, children, }: {
10
12
  href?: string | null;
13
+ onPress?: () => void;
14
+ isDisabled?: boolean;
11
15
  children?: React.ReactNode;
12
16
  }): import("react/jsx-runtime").JSX.Element;
13
17
  export declare function PaginationList({ children }: {
14
18
  children: React.ReactNode;
15
19
  }): false | import("react/jsx-runtime").JSX.Element;
16
- export declare function PaginationPage({ href, children, current, }: {
17
- href: string;
20
+ export declare function PaginationPage({ href, onPress, children, current, }: {
21
+ href?: string;
22
+ onPress?: () => void;
18
23
  children: string;
19
24
  current?: boolean;
20
25
  }): import("react/jsx-runtime").JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apipass/design-system",
3
- "version": "1.9.7",
3
+ "version": "1.9.8",
4
4
  "type": "module",
5
5
  "description": "APIPass React Design System",
6
6
  "sideEffects": [