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.38.0 (2021-10-22)
clay-css
mixin pattern (adbc3ed).btn-group
inside .alert-inline
and increase space between alert-inline buttons and close (48px) (1fb3075).alert-inline .alert-indicator
so it's more centered with the text (6991050)alert-indicator
and text should be 8px (abb1ad9)$alert-indicator-font-size
instead of $alert-font-size
when calculating spacing for the .alert-indicator
(10809da)$badge-close
Sass map to use newer keys for hover and focus (485862c)border-color
is the wrong value. Table Row Variants scoped $border-color
variable was overwriting global $border-color
variable (834209a)clay-css
mixin pattern (915c748).btn-group
inside .alert-inline
and increase space between alert-inline buttons and close (48px) (f6c7a02)modal-body
should have border-top to create separation when components are inserted between modal-header
and modal-body
(b5b33c0)clay-darken
, clay-lighten
, clay-adjust-hue
, clay-desaturate
, clay-saturate
, clay-mix
, clay-blue
, clay-green
, clay-red
. It converts CSS Custom Property fallback values to the correct type before running them through the Sass functions. (189e281)math-sign
uses deprecated [@elseif](https://github.com/elseif)
syntax, changed to [@else](https://github.com/else) if
(bd22a48), closes #4353modal-body
should have border-top to create separation when components are inserted between modal-header
and modal-body
(b3f648e)modal-header
increase z-index so it appears on top of modal-body
. modal-header
border gets hidden by modal-body
border due to last commit. (fd3ae71)node-sass
and add new build file (80f6ec2)onLoadMore
API to TreeView (ff972d7).badge
, .badge-pill
, and badge variants to use clay-badge-variant
mixin (8c9d4eb).badge
and badge variants to use clay-badge-variant
mixin (a2b04b2)$enable-clay-color-functions-process-fallback
and $cadmin-enable-clay-color-functions-process-fallback
variables. This forces Clay color functions to return the CSS Custom Property instead of processing the fallback color and returning a hex value. (15a6bc1)clay-alert-variant
adds option to configure .alert-indicator
(0c9f913)clay-alert-variant
adds option to pass in styles to .alert-indicator + .lead
(ff5146b)clay-badge-variant
(dc52ed1)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.