Skip to content

Commit

Permalink
Merge pull request #80 from myntra/pagination
Browse files Browse the repository at this point in the history
Pagination
  • Loading branch information
airishgupta authored Nov 6, 2023
2 parents 75aa566 + 40d7887 commit 8cf2c7b
Show file tree
Hide file tree
Showing 83 changed files with 917 additions and 644 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

<a name="0.0.54"></a>
## [0.0.54](https://bitbucket.org/myntra/uikit/compare/v0.0.53...v0.0.54) (2023-08-31)



<a name="0.0.53"></a>
## [0.0.53](https://bitbucket.org/myntra/uikit/compare/v0.0.52...v0.0.53) (2023-08-11)

Expand Down
2 changes: 1 addition & 1 deletion components/accordion/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@applique-ui/accordion",
"version": "0.0.53",
"version": "0.0.54",
"main": "dist/accordion.cjs.js",
"module": "dist/accordion.esm.js",
"types": "dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion components/avatar/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@applique-ui/avatar",
"version": "0.0.53",
"version": "0.0.54",
"main": "dist/avatar.cjs.js",
"module": "dist/avatar.esm.js",
"types": "dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion components/badge/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@applique-ui/badge",
"version": "0.0.53",
"version": "0.0.54",
"main": "dist/badge.cjs.js",
"module": "dist/badge.esm.js",
"types": "dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion components/banner/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@applique-ui/banner",
"version": "0.0.53",
"version": "0.0.54",
"main": "dist/banner.cjs.js",
"module": "dist/banner.esm.js",
"types": "dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion components/bread-crumb/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@applique-ui/bread-crumb",
"version": "0.0.53",
"version": "0.0.54",
"main": "dist/bread-crumb.cjs.js",
"module": "dist/bread-crumb.esm.js",
"types": "dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion components/button-group/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@applique-ui/button-group",
"version": "0.0.53",
"version": "0.0.54",
"main": "dist/button-group.cjs.js",
"module": "dist/button-group.esm.js",
"types": "dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion components/button/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@applique-ui/button",
"version": "0.0.53",
"version": "0.0.54",
"main": "dist/button.cjs.js",
"module": "dist/button.esm.js",
"types": "dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion components/click-away/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@applique-ui/click-away",
"version": "0.0.53",
"version": "0.0.54",
"main": "dist/click-away.cjs.js",
"module": "dist/click-away.esm.js",
"types": "dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion components/dropdown/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@applique-ui/dropdown",
"version": "0.0.53",
"version": "0.0.54",
"main": "dist/dropdown.cjs.js",
"module": "dist/dropdown.esm.js",
"types": "dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion components/error-boundary/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@applique-ui/error-boundary",
"version": "0.0.53",
"version": "0.0.54",
"main": "dist/error-boundary.cjs.js",
"module": "dist/error-boundary.esm.js",
"types": "dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion components/fab/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@applique-ui/fab",
"version": "0.0.53",
"version": "0.0.54",
"main": "dist/fab.cjs.js",
"module": "dist/fab.esm.js",
"types": "dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion components/field/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@applique-ui/field",
"version": "0.0.53",
"version": "0.0.54",
"main": "dist/field.cjs.js",
"module": "dist/field.esm.js",
"types": "dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion components/form/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@applique-ui/form",
"version": "0.0.53",
"version": "0.0.54",
"main": "dist/form.cjs.js",
"module": "dist/form.esm.js",
"types": "dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion components/grid/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@applique-ui/grid",
"version": "0.0.53",
"version": "0.0.54",
"main": "dist/grid.cjs.js",
"module": "dist/grid.esm.js",
"types": "dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion components/icon/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@applique-ui/icon",
"version": "0.0.53",
"version": "0.0.54",
"main": "dist/icon.cjs.js",
"module": "dist/icon.esm.js",
"types": "dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion components/image/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@applique-ui/image",
"version": "0.0.53",
"version": "0.0.54",
"main": "dist/image.cjs.js",
"module": "dist/image.esm.js",
"types": "dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion components/input-checkbox/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@applique-ui/input-checkbox",
"version": "0.0.53",
"version": "0.0.54",
"main": "dist/input-checkbox.cjs.js",
"module": "dist/input-checkbox.esm.js",
"types": "dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion components/input-date/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@applique-ui/input-date",
"version": "0.0.53",
"version": "0.0.54",
"main": "dist/input-date.cjs.js",
"module": "dist/input-date.esm.js",
"types": "dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion components/input-file/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@applique-ui/input-file",
"version": "0.0.53",
"version": "0.0.54",
"main": "dist/input-file.cjs.js",
"module": "dist/input-file.esm.js",
"types": "dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion components/input-masked/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@applique-ui/input-masked",
"version": "0.0.53",
"version": "0.0.54",
"main": "dist/input-masked.cjs.js",
"module": "dist/input-masked.esm.js",
"types": "dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion components/input-month/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@applique-ui/input-month",
"version": "0.0.53",
"version": "0.0.54",
"main": "dist/input-month.cjs.js",
"module": "dist/input-month.esm.js",
"types": "dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion components/input-number/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@applique-ui/input-number",
"version": "0.0.53",
"version": "0.0.54",
"main": "dist/input-number.cjs.js",
"module": "dist/input-number.esm.js",
"types": "dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion components/input-radio/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@applique-ui/input-radio",
"version": "0.0.53",
"version": "0.0.54",
"main": "dist/input-radio.cjs.js",
"module": "dist/input-radio.esm.js",
"types": "dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion components/input-select/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@applique-ui/input-select",
"version": "0.0.53",
"version": "0.0.54",
"main": "dist/input-select.cjs.js",
"module": "dist/input-select.esm.js",
"types": "dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion components/input-text-area/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@applique-ui/input-text-area",
"version": "0.0.53",
"version": "0.0.54",
"main": "dist/input-text-area.cjs.js",
"module": "dist/input-text-area.esm.js",
"types": "dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion components/input-text/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@applique-ui/input-text",
"version": "0.0.53",
"version": "0.0.54",
"main": "dist/input-text.cjs.js",
"module": "dist/input-text.esm.js",
"types": "dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion components/input/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@applique-ui/input",
"version": "0.0.53",
"version": "0.0.54",
"main": "dist/input.cjs.js",
"module": "dist/input.esm.js",
"types": "dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion components/layout/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@applique-ui/layout",
"version": "0.0.53",
"version": "0.0.54",
"main": "dist/layout.cjs.js",
"module": "dist/layout.esm.js",
"types": "dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion components/list/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@applique-ui/list",
"version": "0.0.53",
"version": "0.0.54",
"main": "dist/list.cjs.js",
"module": "dist/list.esm.js",
"types": "dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion components/loader/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@applique-ui/loader",
"version": "0.0.53",
"version": "0.0.54",
"main": "dist/loader.cjs.js",
"module": "dist/loader.esm.js",
"types": "dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion components/measure/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@applique-ui/measure",
"version": "0.0.53",
"version": "0.0.54",
"main": "dist/measure.cjs.js",
"module": "dist/measure.esm.js",
"types": "dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion components/modal/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@applique-ui/modal",
"version": "0.0.53",
"version": "0.0.54",
"main": "dist/modal.cjs.js",
"module": "dist/modal.esm.js",
"types": "dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion components/nav-bar/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@applique-ui/nav-bar",
"version": "0.0.53",
"version": "0.0.54",
"main": "dist/nav-bar.cjs.js",
"module": "dist/nav-bar.esm.js",
"types": "dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion components/page/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@applique-ui/page",
"version": "0.0.53",
"version": "0.0.54",
"main": "dist/page.cjs.js",
"module": "dist/page.esm.js",
"types": "dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion components/pagination/example.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ import Pagination from './src/pagination'
const [total] = useState(200)
const [size, setSize] = useState(10)
const [page, setPage] = useState(1)
<Pagination total={total} size={size} page={page} onChange={({page, size}) => { setSize(size); setPage(page) }}/>
<Pagination total={200} size={size} page={page} onChange={({page, size}) => { console.log("heyo", page, size); setSize(size); setPage(page) }}/>
```
10 changes: 7 additions & 3 deletions components/pagination/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@applique-ui/pagination",
"version": "0.0.53",
"version": "0.0.54",
"main": "dist/pagination.cjs.js",
"module": "dist/pagination.esm.js",
"types": "dist/index.d.ts",
Expand Down Expand Up @@ -30,8 +30,12 @@
"peerDependencies": {},
"dependencies": {
"@applique-ui/uikit-can-i-use": "0.0.*",
"@applique-ui/icon": "0.0.*",
"@applique-ui/uikit-utils": "0.0.*",
"uikit-icons": "npm:@myntra/uikit-icons@latest"
"uikit-icons": "npm:@myntra/uikit-icons@latest",
"@applique-ui/input-select": "0.0.*",
"@applique-ui/input-number": "0.0.*",
"@applique-ui/icon": "0.0.*",
"@applique-ui/button": "0.0.*",
"@applique-ui/layout": "0.0.*"
}
}
Loading

0 comments on commit 8cf2c7b

Please sign in to comment.