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.32.0 (2021-07-28)
dangerouslySetInnerHTML
(675910c)component-text
and component-icon
, generic names for reuse in other components (ae49f03)form-group-sm div.form-control
should be 32px tall and grow to fix content inside, similar to a textarea element (eb987a1), closes #4164container-max-width-*
classes should work with Custom Properties (b12dbf5)clay-loading-animation-variant
to use clay-css
pattern (4280c6f), closes #3987sheet-footer-btn-block
to use clay-css
pattern (5523b67), closes #3987$sheet-lg-max-width
should use fixed number instead of generating based on a $container-max-widths
value (5968bd5)dragstart
(70d78da)@clayui/core
package (1d4e4b3)theme
API to Provider (e7bae7d)map-deep-get
for getting values of deeply nested Sass map items (2b80302)showDeltasDropDown
prop (6c65f43), closes #4175FAQs
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.