Security News
npm Updates Search Experience with New Objective Sorting Options
npm has a revamped search experience with new, more transparent sorting options—Relevance, Downloads, Dependents, and Publish Date.
@clayui/pagination
Advanced tools
import { Pagination, PaginationWithBasicItems, } from '$packages/clay-pagination/docs/index';
You can use ClayPagination.Ellipsis
to display a dropdown with the specified page numbers as the dropdown's options.
ClayPagination.Item
renders a basic Pagination item with content you provide.
Combining these you can reach the following result:
If you want to have a simple Pagination with integers as Pagination items you can use a simpler variant, PaginationWithBasicItems
as you can see below:
3.39.0 (2021-10-29)
clay-div
a function that uses /
as a division operation if the function div()
does not exist (87aec12)$dropdown-item-base
keys to newer nested keys pattern and remove duplicate $dropdown-item-base
(6fc1833)/ 2
to * 0.5
as work around for dart-sass
deprecation message (aa74003)/
to multiplication as work around for dart-sass
deprecation message (f9948ec)dropdown-menu::after
padding hack for Firefox. This is no longer an issue. (54a0b08)$dropdown-item-base
keys to newer nested keys pattern (502ea21)clay-dropdown-item-variant
update to accept newer nested keys pattern and deprecate keys: (bcc0e89)clay-dropdown-menu-variant
removes dropdown-menu::after
padding hack for Firefox (a7e2c18)calc()
for calculating widths and sizes instead of Sass division /
and don't use Sass percentage function (1b2e127)yarn develop
command of the clayui.com (fa0d8c0)heading
, maps
, order-ascending
and order-descending
SVG icons and update geolocation
SVG icon (319f37f)custom-control
, custom-checkbox
, and custom-radio
convert to using Sass map pattern (c8826b2)$cadmin-sticker-sizes
Sass map to generate sticker sizes and use Sass placeholders for sticker sizes for easier extends (2630c54)custom-control
, custom-checkbox
, and custom-radio
convert to using Sass map pattern (d60970d)clay-sticker-variant
expand mixin to include most use cases in Clay and make it compatible with deprecated clay-sticker-size
mixin (3e703ed)clay-custom-control-input-variant
and clay-custom-control-variant
mixins (3060c0b)clay-label-variant
to provide selectors that are generated by clay-label-size
(deprecated) and conver to using new Sass map key pattern while still supporting older key names (c0c9a1c)$sticker-sizes
Sass map to generate sticker sizes and use Sass placeholders for sticker sizes for easier extends (2da3013)clay-sticker-variant
and clay-css
mixins for more customizability (f8adb74)sizing
API to Select component (2c7848d)heading
, maps
, order-ascending
, order-descending
and geolocation
SVG icons (a34f3be)FAQs
ClayPagination component
The npm package @clayui/pagination receives a total of 1,728 weekly downloads. As such, @clayui/pagination popularity was classified as popular.
We found that @clayui/pagination demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
npm has a revamped search experience with new, more transparent sorting options—Relevance, Downloads, Dependents, and Publish Date.
Security News
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.