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.27.0 (2021-05-05)
$menubar-vertical-expand-md
and $menubar-vertical-expand-lg
to use new keys. Older keys will still win over new keys to preserve backward compatibility. (12b9636)clay-form-control-variant
old keys should win over new keys (8986a81), closes #3987clay-menubar-vertical-expand
use clay-css
mixin pattern (6a9ba26)clay-menubar-vertical-variant
moves default styles to variables. The mixin should only output styles if values are given. (703b76e)min-width
on progress-group-addon
to prevent resizing progress bar when numbers are changed to icons (63e63c0), closes #4024clay-form-control-variant
mixin should use new keys. This allows variable theme overwrites using deprecated keys to still win. (f3be2d6), closes #3987previous-month-date
and next-month-date
to style day outside the month instead of disabled
(f25ab71), closes #4036order-list-down
and order-list-up
(f80f8a0), closes #4021FAQs
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.