Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-responsive-pagination

Package Overview
Dependencies
Maintainers
1
Versions
129
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-responsive-pagination - npm Package Compare versions

Comparing version 2.6.0-beta.2 to 2.6.0-beta.3

dist/debug.d.ts

7

CHANGELOG.md
# React Responsive Pagination Changelog
# [2.6.0-beta.3](https://github.com/jonelantha/react-responsive-pagination/compare/v2.6.0-beta.2...v2.6.0-beta.3) (2024-05-11)
### Features
* Streamlined d.ts files (reduced package size) ([1202554](https://github.com/jonelantha/react-responsive-pagination/commit/1202554b098a150ef0f93534a3052f93da373af4))
# [2.6.0-beta.2](https://github.com/jonelantha/react-responsive-pagination/compare/v2.6.0-beta.1...v2.6.0-beta.2) (2024-05-09)

@@ -4,0 +11,0 @@

16

dist/index.d.ts

@@ -1,3 +0,3 @@

import { default as React_2 } from 'react';
import { ReactNode } from 'react';
import type { FC } from 'react';
import type { ReactNode } from 'react';

@@ -61,9 +61,6 @@ declare type BaseItem = {

declare const _default: React_2.MemoExoticComponent<React_2.FC<ResponsivePaginationProps>>;
export default _default;
/**
* @public
*/
export declare function defaultLabelBehaviour({ a11yLabel, label }: PaginationItem): string | number | boolean | Iterable<React_2.ReactNode> | React_2.JSX.Element | null | undefined;
export declare function defaultLabelBehaviour({ a11yLabel, label, }: PaginationItem): ReactNode;

@@ -102,3 +99,3 @@ /**

*/
export declare type LabelBehaviour = (item: PaginationItem) => React_2.ReactNode;
export declare type LabelBehaviour = (item: PaginationItem) => ReactNode;

@@ -138,2 +135,5 @@ /**

declare const ResponsivePaginationComponent: FC<ResponsivePaginationProps>;
export default ResponsivePaginationComponent;
/**

@@ -174,3 +174,3 @@ * @public

srOnlyClassName?: string;
}): (item: PaginationItem) => React_2.JSX.Element;
}): (item: PaginationItem) => ReactNode;

@@ -177,0 +177,0 @@ /**

@@ -10,5 +10,6 @@ import React, { memo, useEffect } from 'react';

export * from './labelBehaviour.js';
export default process.env.NODE_ENV !== 'production'
const ResponsivePaginationComponent = process.env.NODE_ENV !== 'production'
? memo(ResponsivePaginationDev)
: memo(ResponsivePagination);
export default ResponsivePaginationComponent;
function ResponsivePaginationDev(props) {

@@ -15,0 +16,0 @@ checkLegacyProps(props);

@@ -5,3 +5,3 @@ import React from 'react';

*/
export function defaultLabelBehaviour({ a11yLabel, label }) {
export function defaultLabelBehaviour({ a11yLabel, label, }) {
return !a11yLabel ? label : React.createElement("span", { "aria-hidden": "true" }, label);

@@ -8,0 +8,0 @@ }

{
"name": "react-responsive-pagination",
"version": "2.6.0-beta.2",
"version": "2.6.0-beta.3",
"description": "React component for responsive pagination",

@@ -46,3 +46,3 @@ "author": "jonelantha",

"api-extractor": "api-extractor run --local --verbose",
"copy-extra-types": "cp ./src/*.d.ts ./dist"
"copy-extra-types": "cp ./src/*.d.ts ./dist && cp ./temp/types/debug.d.ts ./dist"
},

@@ -49,0 +49,0 @@ "keywords": [

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc