Skip to content

Commit 946d48e

Browse files
committed
update docs and package JSON
1 parent f900239 commit 946d48e

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

packages/uui-pagination/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
![npm](https://img.shields.io/npm/v/@umbraco-ui/uui-pagination?logoColor=%231B264F)
44

5-
Umbraco style pagination component.
5+
Umbraco style pagination component. By implementing a resizeObserver it changes the number of visible buttons to fit the width of the container it sits in. Check this out in the [Storybook](https://uui.umbraco.com/?path=/story/uui-pagination--aaa-overview). Uses `<uui-button></uui-button>` and `<uui-button-group></uui-button-group>`.
66

77
## Installation
88

@@ -39,5 +39,5 @@ The component is available via CDN. This means it can be added to your applicati
3939
## Usage
4040

4141
```html
42-
<uui-pagination></uui-pagination>
42+
<uui-pagination total="100"></uui-pagination>
4343
```

packages/uui-pagination/package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"Lit",
1111
"Pagination"
1212
],
13-
"description": "Umbraco UI pagination component",
13+
"description": "Umbraco UI pagination component. By implementing a resizeObserver it changes the number of visible buttons to fit the width of the container it sits in. Based on uui-button and uui-button-group.",
1414
"repository": {
1515
"type": "git",
1616
"url": "https://github.com/umbraco/Umbraco.UI.git",
@@ -29,7 +29,9 @@
2929
"custom-elements.json"
3030
],
3131
"dependencies": {
32-
"@umbraco-ui/uui-base": "0.0.13"
32+
"@umbraco-ui/uui-base": "0.0.13",
33+
"@umbraco-ui/uui-button": "0.1.6",
34+
"@umbraco-ui/uui-button-group": "0.0.8"
3335
},
3436
"scripts": {
3537
"build": "npm run analyze && tsc --build --force && rollup -c rollup.config.js",

0 commit comments

Comments
 (0)