![Create React App Officially Deprecated Amid React 19 Compatibility Issues](https://cdn.sanity.io/images/cgdhsj6q/production/04fa08cf844d798abc0e1a6391c129363cc7e2ab-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
@snack-uikit/tooltip
Advanced tools
npm i @snack-uikit/tooltip
Компонент Tooltip использует под собой компонент PopoverPrivate (readme ниже);
name | type | default value | description |
---|---|---|---|
tip* | ReactNode | - | Содержимое тултипа |
disableMaxWidth | boolean | - | Отключение ограничения ширины тултипа @default false |
className | string | - | CSS-класс |
triggerClassName | string | - | CSS-класс триггера |
open | boolean | - | Управляет состоянием показан/не показан. |
onOpenChange | (isOpen: boolean) => void | - | Колбек отображения компонента. Срабатывает при изменении состояния open. |
hoverDelayOpen | number | - | Задержка открытия по ховеру |
hoverDelayClose | number | - | Задержка закрытия по ховеру |
trigger | enum Trigger: "click" , "hover" , "focusVisible" , "focus" , "hoverAndFocusVisible" , "hoverAndFocus" , "clickAndFocusVisible" | Tooltip.triggers.HoverAndFocusVisible | Условие отображения поповера: - Click - открывать по клику - Hover - открывать по ховеру - FocusVisible - открывать по focus-visible - Focus - открывать по фокусу - HoverAndFocusVisible - открывать по ховеру и focus-visible - HoverAndFocus - открывать по ховеру и фокусу - ClickAndFocusVisible - открывать по клику и focus-visible |
placement | enum Placement: "left" , "left-start" , "left-end" , "right" , "right-start" , "right-end" , "top" , "top-start" , "top-end" , "bottom" , "bottom-start" , "bottom-end" | Tooltip.placements.Top | Положение поповера относительно своего триггера (children). |
children | ReactNode | ChildrenFunction | - | Триггер поповера (подробнее читайте ниже) |
name | type | default value | description |
---|---|---|---|
tip* | ReactNode | - | Содержимое тултипа |
className | string | - | CSS-класс |
open | boolean | - | Управляет состоянием показан/не показан. |
onOpenChange | (isOpen: boolean) => void | - | Колбек отображения компонента. Срабатывает при изменении состояния open. |
hoverDelayOpen | number | - | Задержка открытия по ховеру |
hoverDelayClose | number | - | Задержка закрытия по ховеру |
placement | enum Placement: "left" , "left-start" , "left-end" , "right" , "right-start" , "right-end" , "top" , "top-start" , "top-end" , "bottom" , "bottom-start" , "bottom-end" | Placement.Top | Положение поповера относительно своего триггера (children). |
disableMaxWidth | boolean | - | Отключение ограничения ширины тултипа @default false |
trigger | enum Trigger: "hover" , "click" | Trigger.Hover | Условие отображения подсказки |
size | enum Size: "s" , "xs" | Size.Xs | Размер |
tooltipClassname | string | - | CSS-класс контейнера подсказки |
triggerDataTestId | string | - | data-test-id для триггера |
FAQs
Unknown package
The npm package @snack-uikit/tooltip receives a total of 1,795 weekly downloads. As such, @snack-uikit/tooltip popularity was classified as popular.
We found that @snack-uikit/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
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.