@cyber-harbour/ui 1.0.21 → 1.0.22
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.mts +15 -6
- package/dist/index.d.ts +15 -6
- package/dist/index.js +46 -46
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +55 -55
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/Core/ContextMenu/ContextMenu.tsx +9 -3
- package/src/Core/IconComponents/Users.tsx +36 -0
- package/src/Core/IconComponents/index.ts +1 -0
- package/src/Core/Select/Select.tsx +7 -1
package/dist/index.d.mts
CHANGED
|
@@ -367,10 +367,10 @@ interface PhonebookIconProps extends SVGProps<SVGSVGElement> {
|
|
|
367
367
|
}
|
|
368
368
|
declare const PhonebookIcon: ({ fill, ...props }: PhonebookIconProps) => react_jsx_runtime.JSX.Element;
|
|
369
369
|
|
|
370
|
-
interface PrintIconProps$
|
|
370
|
+
interface PrintIconProps$2 extends SVGProps<SVGSVGElement> {
|
|
371
371
|
fill?: string;
|
|
372
372
|
}
|
|
373
|
-
declare const PrintIcon: ({ fill, ...props }: PrintIconProps$
|
|
373
|
+
declare const PrintIcon: ({ fill, ...props }: PrintIconProps$2) => react_jsx_runtime.JSX.Element;
|
|
374
374
|
|
|
375
375
|
interface Profiler20IconProps extends SVGProps<SVGSVGElement> {
|
|
376
376
|
fill?: string;
|
|
@@ -428,10 +428,15 @@ interface ChevronRightIconProps extends SVGProps<SVGSVGElement> {
|
|
|
428
428
|
}
|
|
429
429
|
declare const ChevronUpIcon: ({ fill, ...props }: ChevronRightIconProps) => react_jsx_runtime.JSX.Element;
|
|
430
430
|
|
|
431
|
+
interface PrintIconProps$1 extends SVGProps<SVGSVGElement> {
|
|
432
|
+
fill?: string;
|
|
433
|
+
}
|
|
434
|
+
declare const PlusIcon: ({ fill, ...props }: PrintIconProps$1) => react_jsx_runtime.JSX.Element;
|
|
435
|
+
|
|
431
436
|
interface PrintIconProps extends SVGProps<SVGSVGElement> {
|
|
432
437
|
fill?: string;
|
|
433
438
|
}
|
|
434
|
-
declare const
|
|
439
|
+
declare const UsersIcon: ({ fill, ...props }: PrintIconProps) => react_jsx_runtime.JSX.Element;
|
|
435
440
|
|
|
436
441
|
interface SidebarProps {
|
|
437
442
|
defaultCollapsed?: boolean;
|
|
@@ -572,8 +577,10 @@ interface ContextMenuProps {
|
|
|
572
577
|
anchor?: any;
|
|
573
578
|
positions?: PopoverPosition[] | PopoverPosition;
|
|
574
579
|
align?: PopoverAlign;
|
|
580
|
+
hasBorder?: boolean;
|
|
581
|
+
maxHeight?: number;
|
|
575
582
|
}
|
|
576
|
-
declare const ContextMenu: ({ isOpen, onClickOutside, onClick, anchor, size, disabled, fullWidth, className, positions, align, children, }: ContextMenuProps) => react_jsx_runtime.JSX.Element;
|
|
583
|
+
declare const ContextMenu: ({ isOpen, onClickOutside, onClick, anchor, size, disabled, fullWidth, className, positions, align, children, hasBorder, maxHeight, }: ContextMenuProps) => react_jsx_runtime.JSX.Element;
|
|
577
584
|
|
|
578
585
|
interface StyledProps {
|
|
579
586
|
}
|
|
@@ -598,8 +605,10 @@ interface SelectProps<T extends string | number> {
|
|
|
598
605
|
positions?: PopoverPosition[] | PopoverPosition;
|
|
599
606
|
align?: PopoverAlign;
|
|
600
607
|
size?: ButtonSize;
|
|
608
|
+
hasBorder?: boolean;
|
|
609
|
+
maxHeight?: number;
|
|
601
610
|
}
|
|
602
|
-
declare const Select: <T extends string | number>({ options, selected, handleSelect, placeholder, disabled, positions, align, size, }: SelectProps<T>) => react_jsx_runtime.JSX.Element;
|
|
611
|
+
declare const Select: <T extends string | number>({ options, selected, handleSelect, placeholder, disabled, positions, align, size, hasBorder, maxHeight, }: SelectProps<T>) => react_jsx_runtime.JSX.Element;
|
|
603
612
|
|
|
604
613
|
interface PageLayoutProps {
|
|
605
614
|
header?: any;
|
|
@@ -631,4 +640,4 @@ interface Graph2DProps {
|
|
|
631
640
|
|
|
632
641
|
declare const Graph2D: ({ graphData, width, height, linkTarget, linkSource, config, onNodeClick, onLinkClick, }: Graph2DProps) => react_jsx_runtime.JSX.Element;
|
|
633
642
|
|
|
634
|
-
export { AlertIcon, ApiIcon, ArrowCircleTopRightIcon, ArrowRightIcon, BallsMenu, type Breakpoint, BugReportIcon, Button, type ButtonColor, type ButtonElementStyle, type ButtonProps, type ButtonSize, type ButtonSizeStyle, type ButtonState, type ButtonVariant, CalendarIcon, CheckIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, ClosedLockIcon, type ColorVariant, type ColumnTable, ContextMenu, ContextMenuDelimiter, DataSetsIcon, DeepSearchIcon, DisabledVisibleIcon, DocsIcon, DownloadIcon, EditUserIcon, EnableVisibleIcon, EnterArrowLeftIcon, FiltersIcon, GlobalStyle, Graph2D, type Graph2DProps, Header, HeaderDelimeter, HeaderSection, HomepageIcon, InfoCircleIcon, type InputSize, type InputState, type InputVariant, ListMenu, ListMenuItem, type ListMenuItemAnchorProps, type ListMenuItemBase, type ListMenuItemButtonProps, type ListMenuItemProps, type ListMenuProps, ListMenuSection, type ListMenuSectionProps, MapRadarIcon, MoonIcon, type NestedColorPaths, OpenLockIcon, OrganizationIcon, PageLayout, Pagination, type PaginationProps, PasswordFinderIcon, PhonebookIcon, PlusIcon, PrintIcon, Profiler2Icon, ProfilerIcon, type RenderCellProps, type RenderHeaderCellProps, SandBoxIcon, Select, Sidebar, SidebarContext, SidebarDelimeter, SidebarItem, type SidebarItemProps, type SidebarProps, SidebarSection, type SidebarSectionProps, StatisticIcon, StyledContainer, SunIcon, Table, type Theme, ThemeProvider, Typography, type TypographyProps, type TypographyVariant, UpRightArrowCircleIcon, VectorIcon, convertPaletteToRem, darkTheme, getBreakpoint, getButtonSizeStyles, getButtonStyles, getTypographyStyles, lightTheme, lightThemePx, pxToRem, resolveThemeColor, useContextMenuControl };
|
|
643
|
+
export { AlertIcon, ApiIcon, ArrowCircleTopRightIcon, ArrowRightIcon, BallsMenu, type Breakpoint, BugReportIcon, Button, type ButtonColor, type ButtonElementStyle, type ButtonProps, type ButtonSize, type ButtonSizeStyle, type ButtonState, type ButtonVariant, CalendarIcon, CheckIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, ClosedLockIcon, type ColorVariant, type ColumnTable, ContextMenu, ContextMenuDelimiter, DataSetsIcon, DeepSearchIcon, DisabledVisibleIcon, DocsIcon, DownloadIcon, EditUserIcon, EnableVisibleIcon, EnterArrowLeftIcon, FiltersIcon, GlobalStyle, Graph2D, type Graph2DProps, Header, HeaderDelimeter, HeaderSection, HomepageIcon, InfoCircleIcon, type InputSize, type InputState, type InputVariant, ListMenu, ListMenuItem, type ListMenuItemAnchorProps, type ListMenuItemBase, type ListMenuItemButtonProps, type ListMenuItemProps, type ListMenuProps, ListMenuSection, type ListMenuSectionProps, MapRadarIcon, MoonIcon, type NestedColorPaths, OpenLockIcon, OrganizationIcon, PageLayout, Pagination, type PaginationProps, PasswordFinderIcon, PhonebookIcon, PlusIcon, PrintIcon, Profiler2Icon, ProfilerIcon, type RenderCellProps, type RenderHeaderCellProps, SandBoxIcon, Select, Sidebar, SidebarContext, SidebarDelimeter, SidebarItem, type SidebarItemProps, type SidebarProps, SidebarSection, type SidebarSectionProps, StatisticIcon, StyledContainer, SunIcon, Table, type Theme, ThemeProvider, Typography, type TypographyProps, type TypographyVariant, UpRightArrowCircleIcon, UsersIcon, VectorIcon, convertPaletteToRem, darkTheme, getBreakpoint, getButtonSizeStyles, getButtonStyles, getTypographyStyles, lightTheme, lightThemePx, pxToRem, resolveThemeColor, useContextMenuControl };
|
package/dist/index.d.ts
CHANGED
|
@@ -367,10 +367,10 @@ interface PhonebookIconProps extends SVGProps<SVGSVGElement> {
|
|
|
367
367
|
}
|
|
368
368
|
declare const PhonebookIcon: ({ fill, ...props }: PhonebookIconProps) => react_jsx_runtime.JSX.Element;
|
|
369
369
|
|
|
370
|
-
interface PrintIconProps$
|
|
370
|
+
interface PrintIconProps$2 extends SVGProps<SVGSVGElement> {
|
|
371
371
|
fill?: string;
|
|
372
372
|
}
|
|
373
|
-
declare const PrintIcon: ({ fill, ...props }: PrintIconProps$
|
|
373
|
+
declare const PrintIcon: ({ fill, ...props }: PrintIconProps$2) => react_jsx_runtime.JSX.Element;
|
|
374
374
|
|
|
375
375
|
interface Profiler20IconProps extends SVGProps<SVGSVGElement> {
|
|
376
376
|
fill?: string;
|
|
@@ -428,10 +428,15 @@ interface ChevronRightIconProps extends SVGProps<SVGSVGElement> {
|
|
|
428
428
|
}
|
|
429
429
|
declare const ChevronUpIcon: ({ fill, ...props }: ChevronRightIconProps) => react_jsx_runtime.JSX.Element;
|
|
430
430
|
|
|
431
|
+
interface PrintIconProps$1 extends SVGProps<SVGSVGElement> {
|
|
432
|
+
fill?: string;
|
|
433
|
+
}
|
|
434
|
+
declare const PlusIcon: ({ fill, ...props }: PrintIconProps$1) => react_jsx_runtime.JSX.Element;
|
|
435
|
+
|
|
431
436
|
interface PrintIconProps extends SVGProps<SVGSVGElement> {
|
|
432
437
|
fill?: string;
|
|
433
438
|
}
|
|
434
|
-
declare const
|
|
439
|
+
declare const UsersIcon: ({ fill, ...props }: PrintIconProps) => react_jsx_runtime.JSX.Element;
|
|
435
440
|
|
|
436
441
|
interface SidebarProps {
|
|
437
442
|
defaultCollapsed?: boolean;
|
|
@@ -572,8 +577,10 @@ interface ContextMenuProps {
|
|
|
572
577
|
anchor?: any;
|
|
573
578
|
positions?: PopoverPosition[] | PopoverPosition;
|
|
574
579
|
align?: PopoverAlign;
|
|
580
|
+
hasBorder?: boolean;
|
|
581
|
+
maxHeight?: number;
|
|
575
582
|
}
|
|
576
|
-
declare const ContextMenu: ({ isOpen, onClickOutside, onClick, anchor, size, disabled, fullWidth, className, positions, align, children, }: ContextMenuProps) => react_jsx_runtime.JSX.Element;
|
|
583
|
+
declare const ContextMenu: ({ isOpen, onClickOutside, onClick, anchor, size, disabled, fullWidth, className, positions, align, children, hasBorder, maxHeight, }: ContextMenuProps) => react_jsx_runtime.JSX.Element;
|
|
577
584
|
|
|
578
585
|
interface StyledProps {
|
|
579
586
|
}
|
|
@@ -598,8 +605,10 @@ interface SelectProps<T extends string | number> {
|
|
|
598
605
|
positions?: PopoverPosition[] | PopoverPosition;
|
|
599
606
|
align?: PopoverAlign;
|
|
600
607
|
size?: ButtonSize;
|
|
608
|
+
hasBorder?: boolean;
|
|
609
|
+
maxHeight?: number;
|
|
601
610
|
}
|
|
602
|
-
declare const Select: <T extends string | number>({ options, selected, handleSelect, placeholder, disabled, positions, align, size, }: SelectProps<T>) => react_jsx_runtime.JSX.Element;
|
|
611
|
+
declare const Select: <T extends string | number>({ options, selected, handleSelect, placeholder, disabled, positions, align, size, hasBorder, maxHeight, }: SelectProps<T>) => react_jsx_runtime.JSX.Element;
|
|
603
612
|
|
|
604
613
|
interface PageLayoutProps {
|
|
605
614
|
header?: any;
|
|
@@ -631,4 +640,4 @@ interface Graph2DProps {
|
|
|
631
640
|
|
|
632
641
|
declare const Graph2D: ({ graphData, width, height, linkTarget, linkSource, config, onNodeClick, onLinkClick, }: Graph2DProps) => react_jsx_runtime.JSX.Element;
|
|
633
642
|
|
|
634
|
-
export { AlertIcon, ApiIcon, ArrowCircleTopRightIcon, ArrowRightIcon, BallsMenu, type Breakpoint, BugReportIcon, Button, type ButtonColor, type ButtonElementStyle, type ButtonProps, type ButtonSize, type ButtonSizeStyle, type ButtonState, type ButtonVariant, CalendarIcon, CheckIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, ClosedLockIcon, type ColorVariant, type ColumnTable, ContextMenu, ContextMenuDelimiter, DataSetsIcon, DeepSearchIcon, DisabledVisibleIcon, DocsIcon, DownloadIcon, EditUserIcon, EnableVisibleIcon, EnterArrowLeftIcon, FiltersIcon, GlobalStyle, Graph2D, type Graph2DProps, Header, HeaderDelimeter, HeaderSection, HomepageIcon, InfoCircleIcon, type InputSize, type InputState, type InputVariant, ListMenu, ListMenuItem, type ListMenuItemAnchorProps, type ListMenuItemBase, type ListMenuItemButtonProps, type ListMenuItemProps, type ListMenuProps, ListMenuSection, type ListMenuSectionProps, MapRadarIcon, MoonIcon, type NestedColorPaths, OpenLockIcon, OrganizationIcon, PageLayout, Pagination, type PaginationProps, PasswordFinderIcon, PhonebookIcon, PlusIcon, PrintIcon, Profiler2Icon, ProfilerIcon, type RenderCellProps, type RenderHeaderCellProps, SandBoxIcon, Select, Sidebar, SidebarContext, SidebarDelimeter, SidebarItem, type SidebarItemProps, type SidebarProps, SidebarSection, type SidebarSectionProps, StatisticIcon, StyledContainer, SunIcon, Table, type Theme, ThemeProvider, Typography, type TypographyProps, type TypographyVariant, UpRightArrowCircleIcon, VectorIcon, convertPaletteToRem, darkTheme, getBreakpoint, getButtonSizeStyles, getButtonStyles, getTypographyStyles, lightTheme, lightThemePx, pxToRem, resolveThemeColor, useContextMenuControl };
|
|
643
|
+
export { AlertIcon, ApiIcon, ArrowCircleTopRightIcon, ArrowRightIcon, BallsMenu, type Breakpoint, BugReportIcon, Button, type ButtonColor, type ButtonElementStyle, type ButtonProps, type ButtonSize, type ButtonSizeStyle, type ButtonState, type ButtonVariant, CalendarIcon, CheckIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, ClosedLockIcon, type ColorVariant, type ColumnTable, ContextMenu, ContextMenuDelimiter, DataSetsIcon, DeepSearchIcon, DisabledVisibleIcon, DocsIcon, DownloadIcon, EditUserIcon, EnableVisibleIcon, EnterArrowLeftIcon, FiltersIcon, GlobalStyle, Graph2D, type Graph2DProps, Header, HeaderDelimeter, HeaderSection, HomepageIcon, InfoCircleIcon, type InputSize, type InputState, type InputVariant, ListMenu, ListMenuItem, type ListMenuItemAnchorProps, type ListMenuItemBase, type ListMenuItemButtonProps, type ListMenuItemProps, type ListMenuProps, ListMenuSection, type ListMenuSectionProps, MapRadarIcon, MoonIcon, type NestedColorPaths, OpenLockIcon, OrganizationIcon, PageLayout, Pagination, type PaginationProps, PasswordFinderIcon, PhonebookIcon, PlusIcon, PrintIcon, Profiler2Icon, ProfilerIcon, type RenderCellProps, type RenderHeaderCellProps, SandBoxIcon, Select, Sidebar, SidebarContext, SidebarDelimeter, SidebarItem, type SidebarItemProps, type SidebarProps, SidebarSection, type SidebarSectionProps, StatisticIcon, StyledContainer, SunIcon, Table, type Theme, ThemeProvider, Typography, type TypographyProps, type TypographyVariant, UpRightArrowCircleIcon, UsersIcon, VectorIcon, convertPaletteToRem, darkTheme, getBreakpoint, getButtonSizeStyles, getButtonStyles, getTypographyStyles, lightTheme, lightThemePx, pxToRem, resolveThemeColor, useContextMenuControl };
|