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.42.0 (2021-12-15)
.dropdown-toggle-split
should use calc to calculate padding (8d88a2d), closes #4499clay-navbar-variant
to use new keys (8aa1044)clay-navbar-variant
to use new keys (4f4ba86)border-color
and border-style
for Management Bar and Navigation Bar base (e67c284)clay-button-variant
unbundles .show
from .active
(73227a0)clay-toggle-switch-bar-variant
adds .button-icon-off
selector (6d3e8fe), closes #4486clay-link
and clay-close
Removes the .show > &
selector (9b523cf)clay-navbar-variant
convert to clay-css
mixin pattern (59b722b)clay-navbar-variant
don't output properties if param is empty map (e6230e7)simple-toggle-switch
(8f86cd6), closes #4484clay-css
mixin (d40ef1f)clay-tooltip-variant
mixin (df4011e)clay-button-variant
adds option to style ::before
and ::after
(4003b59)clay-navbar-variant
should be able to output clay-navbar-size
selectors (ffaee2a)clay-pagination-items-per-page-variant
and clay-pagination-variant
(84fff62)clay-popover-variant
(9dc84b1)clay-tooltip-variant
(5bb6319)clay-css
mixin (6a5c2f6)clay-tooltip-variant
mixin (20f89e5)@clayui/css: We previously output navbar-expand-{sm|md|lg|xl}
for the variants of:
We only output those that are needed namely, navbar-expand-md
. If you relied upon other breakpoints you will need to declare them in the respective Sass map or set:
$application-bar-base: (
media-breakpoint-down: $c-unset,
media-breakpoint-up: $c-unset,
);
to revert back to the old way.
clay-navbar-variant
output border-color: transparent
and border-style: solid
by default. This has been removed to reduce unnecessary CSS. You will need to declare them in your Sass map if you relied upon it.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.