@cyber-harbour/ui 2.2.34 → 2.2.36

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/index.d.ts CHANGED
@@ -4,7 +4,7 @@ export { ServerStyleSheet, StyleSheetManager } from 'styled-components';
4
4
  import * as styled_components_dist_types from 'styled-components/dist/types';
5
5
  import { DefaultTheme as DefaultTheme$1 } from 'styled-components/dist/types';
6
6
  import * as react from 'react';
7
- import react__default, { SVGProps, CSSProperties as CSSProperties$1, ElementType, InputHTMLAttributes, TextareaHTMLAttributes, MouseEventHandler, ReactNode } from 'react';
7
+ import react__default, { SVGProps, CSSProperties as CSSProperties$1, ElementType, MouseEventHandler, InputHTMLAttributes, TextareaHTMLAttributes, ReactNode } from 'react';
8
8
  import * as react_jsx_runtime from 'react/jsx-runtime';
9
9
  import { PopoverPosition, PopoverAlign } from 'react-tiny-popover';
10
10
  import { IContentLoaderProps } from 'react-content-loader';
@@ -1191,10 +1191,50 @@ interface RowActionsMenuProps {
1191
1191
  }
1192
1192
  declare const RowActionsMenu: ({ size, disabled, className, positions, align, items, }: RowActionsMenuProps) => react_jsx_runtime.JSX.Element;
1193
1193
 
1194
+ interface TooltipProps {
1195
+ className?: string;
1196
+ children?: any;
1197
+ content?: any;
1198
+ positions?: PopoverPosition[] | PopoverPosition;
1199
+ align?: PopoverAlign;
1200
+ anchorClassName?: string;
1201
+ offset?: number;
1202
+ onMouseLeave?: MouseEventHandler<HTMLDivElement>;
1203
+ }
1204
+ declare const Tooltip: react.ForwardRefExoticComponent<TooltipProps & {
1205
+ m?: string | number;
1206
+ mt?: string | number;
1207
+ mr?: string | number;
1208
+ mb?: string | number;
1209
+ ml?: string | number;
1210
+ mx?: string | number;
1211
+ my?: string | number;
1212
+ p?: string | number;
1213
+ pt?: string | number;
1214
+ pr?: string | number;
1215
+ pb?: string | number;
1216
+ pl?: string | number;
1217
+ px?: string | number;
1218
+ py?: string | number;
1219
+ } & {
1220
+ media?: {
1221
+ xs?: Partial<TooltipProps> | undefined;
1222
+ s?: Partial<TooltipProps> | undefined;
1223
+ m?: Partial<TooltipProps> | undefined;
1224
+ l?: Partial<TooltipProps> | undefined;
1225
+ xl?: Partial<TooltipProps> | undefined;
1226
+ } | undefined;
1227
+ } & react.RefAttributes<unknown>>;
1228
+ declare const StyledTooltipContent: styled_components_dist_types.IStyledComponentBase<"web", styled_components_dist_types.Substitute<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
1229
+ $position: PopoverPosition;
1230
+ $offset: number;
1231
+ }>> & string;
1232
+
1194
1233
  type BaseInputProps = {
1195
1234
  error?: boolean;
1196
1235
  errorText?: string;
1197
1236
  errorIconPosition?: 'before-append' | 'after-append';
1237
+ errorTooltipProps?: Omit<TooltipProps, 'content'>;
1198
1238
  append?: any;
1199
1239
  prepend?: any;
1200
1240
  size?: InputSize;
@@ -1652,45 +1692,6 @@ declare const Drawer: react.ForwardRefExoticComponent<DrawerProps & {
1652
1692
  declare const DrawerHeader: any;
1653
1693
  declare const DrawerBody: any;
1654
1694
 
1655
- interface TooltipProps {
1656
- className?: string;
1657
- children?: any;
1658
- content?: any;
1659
- positions?: PopoverPosition[] | PopoverPosition;
1660
- align?: PopoverAlign;
1661
- anchorClassName?: string;
1662
- offset?: number;
1663
- onMouseLeave?: MouseEventHandler<HTMLDivElement>;
1664
- }
1665
- declare const Tooltip: react.ForwardRefExoticComponent<TooltipProps & {
1666
- m?: string | number;
1667
- mt?: string | number;
1668
- mr?: string | number;
1669
- mb?: string | number;
1670
- ml?: string | number;
1671
- mx?: string | number;
1672
- my?: string | number;
1673
- p?: string | number;
1674
- pt?: string | number;
1675
- pr?: string | number;
1676
- pb?: string | number;
1677
- pl?: string | number;
1678
- px?: string | number;
1679
- py?: string | number;
1680
- } & {
1681
- media?: {
1682
- xs?: Partial<TooltipProps> | undefined;
1683
- s?: Partial<TooltipProps> | undefined;
1684
- m?: Partial<TooltipProps> | undefined;
1685
- l?: Partial<TooltipProps> | undefined;
1686
- xl?: Partial<TooltipProps> | undefined;
1687
- } | undefined;
1688
- } & react.RefAttributes<unknown>>;
1689
- declare const StyledTooltipContent: styled_components_dist_types.IStyledComponentBase<"web", styled_components_dist_types.Substitute<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
1690
- $position: PopoverPosition;
1691
- $offset: number;
1692
- }>> & string;
1693
-
1694
1695
  interface ContentLoaderProps extends Omit<IContentLoaderProps, 'backgroundColor' | 'foregroundColor'> {
1695
1696
  children?: any;
1696
1697
  }
@@ -2118,4 +2119,4 @@ type GlobalDropZoneProps = {
2118
2119
  };
2119
2120
  declare const GlobalDropZone: ({ onChange, disabled, multiple, dragText, className, }: GlobalDropZoneProps) => react.ReactPortal | null;
2120
2121
 
2121
- export { type Action, Alert, AlertIcon, AndroidIcon, ApiIcon, ArrowCircleTopRightIcon, ArrowRightIcon, BallsMenu, type BaseInputProps, Box, type Breakpoint, BreakpointProvider, BugReportIcon, BurgerMenuIcon, BusIcon, Button, type ButtonColor, type ButtonElementStyle, type ButtonProps, type ButtonSize, type ButtonSizeStyle, type ButtonState, type ButtonVariant, CalendarIcon, CarIcon, ChatField, type ChatFieldProps, CheckIcon, Checkbox, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, ClockIcon, CloseCircleIcon, ClosedLockIcon, type ColorToastVariant, type ColorVariant, type ColumnTable, Container, ContentLoader, type ContentLoaderProps, ContextMenu, ContextMenuDelimiter, CopyToClipboard, CrossIcon, DataSetsIcon, DatePicker, DatePickerCalendar, DeepSearchIcon, DisabledVisibleIcon, DocsIcon, type DocxDriverLabels, DownloadIcon, Drawer, DrawerBody, DrawerHeader, EditUserIcon, EmptyData, type EmptyDataProps, EnableVisibleIcon, EnterArrowLeftIcon, type FabricComponent, FaceSearchIcon, File2Icon, FileField, type FileFieldProps, FileIcon, FileViewer, FiltersIcon, FlashIcon, FlexContainer, FlexItem, FolderAlertIcon, FolderIcon, FolderInfoIcon, FullscreenCard, GlobalDropZone, Graph2D, type Graph2DProps, type Graph2DRef, type GraphData, type GraphState, Header, HeaderDelimeter, HeaderSection, HomepageIcon, ImageIcon, InfoCircleFilledIcon, InfoCircleIcon, Input, type InputElementProps, type InputElementStyle, type InputProps, type InputSize, type InputSizeStyle, type InputState, type InputVariant, IosIcon, Label, type LabelSize, type LabelSizeStyle, Line, LinerProgress, type LinkObject, ListMenu, ListMenuItem, type ListMenuItemAnchorProps, type ListMenuItemBase, type ListMenuItemButtonProps, type ListMenuItemProps, type ListMenuProps, ListMenuSection, type ListMenuSectionProps, MapRadarIcon, MaximizeIcon, MessageAsteriskIcon, MicrosoftIcon, MinusIcon, Modal, ModalBody, ModalFooter, ModalHeader, MoonIcon, type NestedColorPaths, type NodeButton, type NodeObject, OpenLockIcon, OrganizationIcon, Overlay, type OverlayProps, PageContent, PageLayout, Pagination, type PaginationProps, PassportIcon, PasswordFinderIcon, PencilIcon, PhonebookIcon, PlaneIcon, PlusIcon, PointIcon, PrintIcon, Profiler2Icon, ProfilerIcon, ProgressLoader, RelationIcon, RelationPointsIcon, type RenderCellProps, type RenderHeaderCellProps, RotateLeftIcon, RotateRightIcon, RowActionsMenu, SandBoxIcon, SearchIcon, Select, ShipIcon, Sidebar, SidebarContext, SidebarDelimeter, SidebarItem, type SidebarItemProps, type SidebarProps, SidebarSection, type SidebarSectionProps, SplitterLayout, StatisticIcon, Styled, StyledContainer, type StyledFabricComponent, StyledMain, StyledTooltipContent, SubNav, SunIcon, type SupportedFileExtension, Switch, type SwitchSize, type SwitchState, Table, Tag, type TagColor, type TagElementStyle, type TagVariant, TailwindExample, type TailwindExampleProps, type TextAreaElementProps, type Theme, type ThemeMode, ThemeProvider, type Toast, ToastsList, Tooltip, Typewriter, Typography, type TypographyProps, type TypographyVariant, UnfoldIcon, UpRightArrowCircleIcon, UploadImageIcon, UserInCircleIcon, UsersIcon, VectorIcon, WayIcon, convertPaletteToRem, createComponent, createStyledComponent, darkTheme, darkThemePx, destructSpaceProps, generatePropertySpaceStyle, getBreakpoint, getButtonSizeStyles, getButtonStyles, getInputStyles, getResponsiveProps, getTypographyStyles, hexToRgba, lightTheme, lightThemePx, propToRem, pxToRem, remToPx, resolveThemeColor, useBreakpoint, useContextMenuControl, useTheme };
2122
+ export { type Action, Alert, AlertIcon, AndroidIcon, ApiIcon, ArrowCircleTopRightIcon, ArrowRightIcon, BallsMenu, type BaseInputProps, Box, type Breakpoint, BreakpointProvider, BugReportIcon, BurgerMenuIcon, BusIcon, Button, type ButtonColor, type ButtonElementStyle, type ButtonProps, type ButtonSize, type ButtonSizeStyle, type ButtonState, type ButtonVariant, CalendarIcon, CarIcon, ChatField, type ChatFieldProps, CheckIcon, Checkbox, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, ClockIcon, CloseCircleIcon, ClosedLockIcon, type ColorToastVariant, type ColorVariant, type ColumnTable, Container, ContentLoader, type ContentLoaderProps, ContextMenu, ContextMenuDelimiter, CopyToClipboard, CrossIcon, DataSetsIcon, DatePicker, DatePickerCalendar, DeepSearchIcon, DisabledVisibleIcon, DocsIcon, type DocxDriverLabels, DownloadIcon, Drawer, DrawerBody, DrawerHeader, EditUserIcon, EmptyData, type EmptyDataProps, EnableVisibleIcon, EnterArrowLeftIcon, type FabricComponent, FaceSearchIcon, File2Icon, FileField, type FileFieldProps, FileIcon, FileViewer, FiltersIcon, FlashIcon, FlexContainer, FlexItem, FolderAlertIcon, FolderIcon, FolderInfoIcon, FullscreenCard, GlobalDropZone, Graph2D, type Graph2DProps, type Graph2DRef, type GraphData, type GraphState, Header, HeaderDelimeter, HeaderSection, HomepageIcon, ImageIcon, InfoCircleFilledIcon, InfoCircleIcon, Input, type InputElementProps, type InputElementStyle, type InputProps, type InputSize, type InputSizeStyle, type InputState, type InputVariant, IosIcon, Label, type LabelSize, type LabelSizeStyle, Line, LinerProgress, type LinkObject, ListMenu, ListMenuItem, type ListMenuItemAnchorProps, type ListMenuItemBase, type ListMenuItemButtonProps, type ListMenuItemProps, type ListMenuProps, ListMenuSection, type ListMenuSectionProps, MapRadarIcon, MaximizeIcon, MessageAsteriskIcon, MicrosoftIcon, MinusIcon, Modal, ModalBody, ModalFooter, ModalHeader, MoonIcon, type NestedColorPaths, type NodeButton, type NodeObject, OpenLockIcon, OrganizationIcon, Overlay, type OverlayProps, PageContent, PageLayout, Pagination, type PaginationProps, PassportIcon, PasswordFinderIcon, PencilIcon, PhonebookIcon, PlaneIcon, PlusIcon, PointIcon, PrintIcon, Profiler2Icon, ProfilerIcon, ProgressLoader, RelationIcon, RelationPointsIcon, type RenderCellProps, type RenderHeaderCellProps, RotateLeftIcon, RotateRightIcon, RowActionsMenu, SandBoxIcon, SearchIcon, Select, ShipIcon, Sidebar, SidebarContext, SidebarDelimeter, SidebarItem, type SidebarItemProps, type SidebarProps, SidebarSection, type SidebarSectionProps, SplitterLayout, StatisticIcon, Styled, StyledContainer, type StyledFabricComponent, StyledMain, StyledTooltipContent, SubNav, SunIcon, type SupportedFileExtension, Switch, type SwitchSize, type SwitchState, Table, Tag, type TagColor, type TagElementStyle, type TagVariant, TailwindExample, type TailwindExampleProps, type TextAreaElementProps, type Theme, type ThemeMode, ThemeProvider, type Toast, ToastsList, Tooltip, type TooltipProps, Typewriter, Typography, type TypographyProps, type TypographyVariant, UnfoldIcon, UpRightArrowCircleIcon, UploadImageIcon, UserInCircleIcon, UsersIcon, VectorIcon, WayIcon, convertPaletteToRem, createComponent, createStyledComponent, darkTheme, darkThemePx, destructSpaceProps, generatePropertySpaceStyle, getBreakpoint, getButtonSizeStyles, getButtonStyles, getInputStyles, getResponsiveProps, getTypographyStyles, hexToRgba, lightTheme, lightThemePx, propToRem, pxToRem, remToPx, resolveThemeColor, useBreakpoint, useContextMenuControl, useTheme };