Security News
Maven Central Adds Sigstore Signature Validation
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
@clayui/tooltip
Advanced tools
import { Tooltip, TooltipProvider, TooltipProviderRenderer, } from '$packages/clay-tooltip/docs/index';
Simplest way of using Tooltip is by leveraging it's show
prop and specifying alignPosition
to determine it's position relative to the element it's aligned to.
If you have multiple Tooltips on the page, TooltipProvider allows you to only have to instantiate the component once and simply provide html attributes to the elements that need tooltips.
By using the <TooltipProvider>
it allows you to add the desired tooltip content on each element as a data attribute.
Here's a list of html attributes that you can provide to children elements of the TooltipProvider:
title
is for the tooltip content.data-tooltip-align
is for alignment direction.data-tooltip-delay
is for the delay(ms) before showing the tooltip.contentRenderer
prop gives you the ability to format the content passed to the Tooltip via the title
attribute to meet your requirements.
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
ClayTooltip component
The npm package @clayui/tooltip receives a total of 282 weekly downloads. As such, @clayui/tooltip popularity was classified as not popular.
We found that @clayui/tooltip 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
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.