demio-ui 2.2.5 → 2.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.js +3 -3
- package/dist/cjs/types/src/components/Tooltip/Tooltip.d.ts +5 -1
- package/dist/cjs/types/src/components/Tooltip/index.d.ts +1 -1
- package/dist/cjs/types/src/components/index.d.ts +1 -1
- package/dist/esm/index.js +5 -5
- package/dist/esm/types/src/components/Tooltip/Tooltip.d.ts +5 -1
- package/dist/esm/types/src/components/Tooltip/index.d.ts +1 -1
- package/dist/esm/types/src/components/index.d.ts +1 -1
- package/dist/types.d.ts +8 -7
- package/package.json +1 -1
|
@@ -22,4 +22,8 @@ type Props = {
|
|
|
22
22
|
* Accessibility [Keyboard Interactions](https://www.radix-ui.com/docs/primitives/components/tooltip#keyboard-interactions)
|
|
23
23
|
**/
|
|
24
24
|
export declare function Tooltip({ align, alignOffset, children, className, collisionBoundary, container, content, defaultOpen, delayDuration, isCustomTrigger, isPortal, isTriggerAsChild, open, onOpenChange, side, sideOffset, skipDelayDuration, ...props }: Props): string | number | boolean | React.JSX.Element | Iterable<React.ReactNode> | null | undefined;
|
|
25
|
-
|
|
25
|
+
/**
|
|
26
|
+
* PopoverTooltip is a wrapper around Popover that provides a tooltip-like experience.
|
|
27
|
+
**/
|
|
28
|
+
export declare function PopoverTooltip({ align, alignOffset, children, className, collisionBoundary, container, content, side, sideOffset, ...props }: Props): React.JSX.Element;
|
|
29
|
+
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export * from './Tooltip';
|
|
@@ -26,5 +26,5 @@ export { default as Slider } from './Slider';
|
|
|
26
26
|
export { default as Switch } from './Switch';
|
|
27
27
|
export { Tab, TabsContent, TabsList, TabsRoot } from './Tabs';
|
|
28
28
|
export { Tag } from './Tag';
|
|
29
|
-
export {
|
|
29
|
+
export { PopoverTooltip, Tooltip } from './Tooltip';
|
|
30
30
|
export { Typography } from './Typography';
|
package/dist/types.d.ts
CHANGED
|
@@ -456,6 +456,10 @@ type Props = {
|
|
|
456
456
|
* Accessibility [Keyboard Interactions](https://www.radix-ui.com/docs/primitives/components/tooltip#keyboard-interactions)
|
|
457
457
|
**/
|
|
458
458
|
declare function Tooltip({ align, alignOffset, children, className, collisionBoundary, container, content, defaultOpen, delayDuration, isCustomTrigger, isPortal, isTriggerAsChild, open, onOpenChange, side, sideOffset, skipDelayDuration, ...props }: Props): string | number | boolean | React__default.JSX.Element | Iterable<React__default.ReactNode> | null | undefined;
|
|
459
|
+
/**
|
|
460
|
+
* PopoverTooltip is a wrapper around Popover that provides a tooltip-like experience.
|
|
461
|
+
**/
|
|
462
|
+
declare function PopoverTooltip({ align, alignOffset, children, className, collisionBoundary, container, content, side, sideOffset, ...props }: Props): React__default.JSX.Element;
|
|
459
463
|
|
|
460
464
|
interface TypoProps extends PropsWithChildren {
|
|
461
465
|
className?: string;
|
|
@@ -643,13 +647,10 @@ function _extends$1i() { return _extends$1i = Object.assign ? Object.assign.bind
|
|
|
643
647
|
var SvgCached = function SvgCached(props) {
|
|
644
648
|
return /*#__PURE__*/React.createElement("svg", _extends$1i({
|
|
645
649
|
xmlns: "http://www.w3.org/2000/svg",
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
fill: "none"
|
|
650
|
+
fill: "none",
|
|
651
|
+
viewBox: "0 0 24 24"
|
|
649
652
|
}, props), /*#__PURE__*/React.createElement("mask", {
|
|
650
653
|
id: "cached_svg__a",
|
|
651
|
-
width: 24,
|
|
652
|
-
height: 24,
|
|
653
654
|
x: 0,
|
|
654
655
|
y: 0,
|
|
655
656
|
maskUnits: "userSpaceOnUse",
|
|
@@ -663,7 +664,7 @@ var SvgCached = function SvgCached(props) {
|
|
|
663
664
|
mask: "url(#cached_svg__a)"
|
|
664
665
|
}, /*#__PURE__*/React.createElement("path", {
|
|
665
666
|
fill: "#2C3336",
|
|
666
|
-
d: "M12.05 19.75q-3.245 0-5.522-2.258T4.25 12v-.78l-1.323 1.322a.73.73 0 0 1-.522.213.7.7 0 0 1-.532-.213.72.72 0 0 1-.217-.527q0-.31.217-.527l2.494-2.494A.87.87 0 0 1 5 8.
|
|
667
|
+
d: "M12.05 19.75q-3.245 0-5.522-2.258T4.25 12v-.78l-1.323 1.322a.73.73 0 0 1-.522.213.7.7 0 0 1-.532-.213.72.72 0 0 1-.217-.527q0-.31.217-.527l2.494-2.494A.87.87 0 0 1 5 8.724a.87.87 0 0 1 .633.27l2.494 2.495q.208.207.212.521a.7.7 0 0 1-.212.532.72.72 0 0 1-.527.218.72.72 0 0 1-.527-.218L5.75 11.22V12q0 2.605 1.835 4.428t4.465 1.822q.439 0 .874-.06t.859-.204a.88.88 0 0 1 .603.02.8.8 0 0 1 .426.396.68.68 0 0 1 .018.585.66.66 0 0 1-.444.388q-.565.2-1.155.288a8 8 0 0 1-1.181.087m-.1-14q-.438 0-.874.06a4.6 4.6 0 0 0-.859.203.9.9 0 0 1-.61-.02.8.8 0 0 1-.434-.395.66.66 0 0 1-.023-.57.65.65 0 0 1 .423-.388q.581-.2 1.176-.295a7.6 7.6 0 0 1 1.201-.095q3.245 0 5.522 2.258T19.75 12v.78l1.323-1.322a.73.73 0 0 1 .522-.213.7.7 0 0 1 .532.213q.217.216.217.527a.72.72 0 0 1-.217.527l-2.494 2.494a.87.87 0 0 1-.633.27.87.87 0 0 1-.633-.27l-2.494-2.495a.72.72 0 0 1-.212-.522.7.7 0 0 1 .212-.531.72.72 0 0 1 .527-.218q.31 0 .527.218l1.323 1.323V12q0-2.605-1.835-4.428T11.95 5.75"
|
|
667
668
|
}))));
|
|
668
669
|
};
|
|
669
670
|
|
|
@@ -2179,4 +2180,4 @@ declare namespace index {
|
|
|
2179
2180
|
export { SvgAdd as AddIcon, SvgKeyboardArrowDown as ArrowDownIcon, SvgArrowFromLeft as ArrowFromLeftIcon, SvgArrowLeftDouble as ArrowLeftDoubleIcon, SvgArrowLeft as ArrowLeftIcon, SvgArrowLeftSingle as ArrowLeftSingleIcon, SvgBarChart as BarChartIcon, SvgBlock as BlockIcon, SvgBlurOn as BlurOnIcon, SvgCached as CachedIcon, SvgCalendar as CalendarIcon, SvgCalendarStar as CalendarStarIcon, SvgCamera as CameraIcon, SvgChatIcon as ChatIcon, SvgCheckCircle as CheckCircleIcon, SvgCheckCircleSolid as CheckCircleSolidIcon, SvgCheckbox as CheckboxIcon, SvgCheckboxUncheck as CheckboxUncheckIcon, SvgClock as ClockIcon, SvgClose as CloseIcon, SvgCompress as CompressIcon, SvgCopy as CopyIcon, SvgCustomize as CustomizeIcon, SvgDelete as DeleteIcon, SvgDots as DotsIcon, SvgDownload as DownloadIcon, SvgEdit as EditIcon, SvgElectricBolt as ElectricBoltIcon, SvgEventDetails as EventDetailsIcon, SvgEventRepeat as EventRepeatIcon, SvgExclamation as ExclamationIcon, SvgExpand as ExpandIcon, SvgExternalLink as ExternalLinkIcon, SvgFeatureAction as FeatureActionIcon, SvgFile as FileIcon, SvgFilterList as FilterListIcon, SvgGear as GearIcon, SvgHelpSolid as HelpSolidIcon, SvgInfoCircle as InfoCircleIcon, SvgInfoCircleSolid as InfoCircleSolidIcon, SvgInfo as InfoIcon, SvgInfo1 as InfoSolidIcon, SvgItems as ItemsIcon, SvgList as ListIcon, SvgListTh as ListThIcon, SvgLocation as LocationIcon, SvgLock as LockIcon, SvgMagic as MagicIcon, SvgMail as MailIcon, SvgMaterials as MaterialsIcon, SvgMicBold as MicBoldIcon, SvgMicOff1 as MicOffIcon, SvgMicOff as MicOffSolidIcon, SvgMic1 as MicOnSolidIcon, SvgMic as MicOnfIcon, SvgMobileDevice as MobileDeviceIcon, SvgOutStage as OutStageIcon, SvgPasswordEyeCrossed as PasswordEyeCrossedIcon, SvgPasswordEye as PasswordEyeIcon, SvgPeopleCommunity as PeopleCommunityIcon, SvgPeople as PeopleIcon, SvgPerson as Person, SvgPerson as PersonIcon, SvgPlay as PlayIcon, SvgPoll as PollIcon, SvgProgress as ProgressIcon, SvgReplayDisabled as ReplayDisabledIcon, SvgRestart as RestartIcon, SvgRocket as RocketIcon, SvgScreenPerson as ScreenPersonIcon, SvgScreenSharing as ScreenShareIcon, SvgScreenScareWindows as ScreenShareWindowIcon, SvgSearch as SearchIcon, SvgSidebar as SideBarIcon, SvgSmile as SmileIcon, SvgSpotlight as SpotlightIcon, SvgStackedEmail as StackedEmailIcon, SvgSync as SyncIcon, SvgTimesCircle as TimesCircleIcon, SvgToday as TodayIcon, SvgTrendingDown as TrendingDownIcon, SvgTrendingUp as TrendingUpIcon, SvgVideocamOff as VideoCamOffIcon, SvgVideocamOff1 as VideoCamOffSolidIcon, SvgVideocam as VideoCamOnIcon, SvgVideocam1 as VideoCamOnSolidIcon, SvgVolumeOff1 as VolumeOffIcon, SvgVolumeOff as VolumeOffSolidIcon, SvgVolumeUp1 as VolumeUpIcon, SvgVolumeUp as VolumeUpSolidIcon, SvgWarning1 as WarningIcon, SvgWarning as WarningSolidIcon };
|
|
2180
2181
|
}
|
|
2181
2182
|
|
|
2182
|
-
export { Alert, Avatar, Badge, Button$1 as Button, Button as ButtonNew, Card, Checkbox, Crop, DnDArea, Drawer, DropdownItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuRoot, DropdownMenuSeparator, DropdownMenuTrigger, FormGroup, InfoBanner, Input, InputHint, Label, Loader, Modal, MultiSelect, Pagination, Popover, Progress, RadioGroup, Select, SelectItem, SelectItemText, SliderDemo as Slider, Switch, Tab, TabsContent, TabsList, TabsRoot, Tag, Tooltip, Typography, index as icons, useCroppedImage, useFileValidation };
|
|
2183
|
+
export { Alert, Avatar, Badge, Button$1 as Button, Button as ButtonNew, Card, Checkbox, Crop, DnDArea, Drawer, DropdownItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuRoot, DropdownMenuSeparator, DropdownMenuTrigger, FormGroup, InfoBanner, Input, InputHint, Label, Loader, Modal, MultiSelect, Pagination, Popover, PopoverTooltip, Progress, RadioGroup, Select, SelectItem, SelectItemText, SliderDemo as Slider, Switch, Tab, TabsContent, TabsList, TabsRoot, Tag, Tooltip, Typography, index as icons, useCroppedImage, useFileValidation };
|