@openfin/ui-library 0.28.1 → 0.29.0-alpha.1738160663

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.
Files changed (62) hide show
  1. package/dist/components/controls/CollapsibleCard/collapsibleCard.d.ts +1 -1
  2. package/dist/components/controls/ExpandableButton/expandableButton.d.ts +1 -1
  3. package/dist/components/controls/ExpandableButton/expandablePanel.d.ts +1 -1
  4. package/dist/components/controls/Menus/CustomContextMenu/CustomContextMenuItems/CustomContextMenuItem.d.ts +1 -1
  5. package/dist/components/controls/Menus/CustomContextMenu/CustomContextMenuItems/NormalCustomContextMenuItem.d.ts +1 -1
  6. package/dist/components/controls/Menus/CustomContextMenu/CustomContextMenuItems/RootMenuHeader.d.ts +1 -1
  7. package/dist/components/controls/Menus/CustomContextMenu/CustomContextMenuItems/SubmenuHeaderCustomContextMenuItem.d.ts +1 -1
  8. package/dist/components/controls/Menus/CustomContextMenu/useContextMenuKeyboardNavigation.d.ts +1 -1
  9. package/dist/components/controls/Menus/CustomContextMenu/useContextMenuNavigation.d.ts +2 -2
  10. package/dist/components/controls/Menus/common.d.ts +36 -65
  11. package/dist/components/elements/Calendar/calendar.d.ts +1 -1
  12. package/dist/components/elements/Icon/openfin/BellFilledIcon.d.ts +2 -2
  13. package/dist/components/elements/Icon/openfin/BellIcon.d.ts +2 -2
  14. package/dist/components/elements/Icon/openfin/BlockedIcon.d.ts +2 -2
  15. package/dist/components/elements/Icon/openfin/BookmarkFilled.d.ts +2 -2
  16. package/dist/components/elements/Icon/openfin/BookmarkOutlined.d.ts +2 -2
  17. package/dist/components/elements/Icon/openfin/BrokenLinkIcon.d.ts +2 -2
  18. package/dist/components/elements/Icon/openfin/ChevronDownIcon.d.ts +2 -2
  19. package/dist/components/elements/Icon/openfin/ChevronLeftIcon.d.ts +2 -2
  20. package/dist/components/elements/Icon/openfin/ChevronRightIcon.d.ts +2 -2
  21. package/dist/components/elements/Icon/openfin/ChevronUpIcon.d.ts +2 -2
  22. package/dist/components/elements/Icon/openfin/ExclamationCircledFilledIcon.d.ts +2 -2
  23. package/dist/components/elements/Icon/openfin/FallbackGlobeIcon.d.ts +2 -2
  24. package/dist/components/elements/Icon/openfin/FilledCircleIcon.d.ts +2 -2
  25. package/dist/components/elements/Icon/openfin/FilterIcon.d.ts +2 -2
  26. package/dist/components/elements/Icon/openfin/FloppyDiskIcon.d.ts +2 -2
  27. package/dist/components/elements/Icon/openfin/FragmentsIcon.d.ts +2 -2
  28. package/dist/components/elements/Icon/openfin/LightBulbFilledIcon.d.ts +2 -2
  29. package/dist/components/elements/Icon/openfin/LightBulbOutlinedIcon.d.ts +2 -2
  30. package/dist/components/elements/Icon/openfin/LockedClosedFilledIcon.d.ts +2 -2
  31. package/dist/components/elements/Icon/openfin/MinimizeIcon.d.ts +2 -2
  32. package/dist/components/elements/Icon/openfin/OpenFinIcon.d.ts +2 -2
  33. package/dist/components/elements/Icon/openfin/PageIcon.d.ts +2 -2
  34. package/dist/components/elements/Icon/openfin/RedDotIcon.d.ts +2 -2
  35. package/dist/components/elements/Icon/openfin/StackIcon.d.ts +2 -2
  36. package/dist/components/elements/Icon/openfin/StorefrontIcon.d.ts +2 -2
  37. package/dist/components/elements/Icon/openfin/WorkspaceIcon.d.ts +2 -2
  38. package/dist/components/elements/Label/label.d.ts +1 -2
  39. package/dist/components/elements/Loader/loader.d.ts +1 -1
  40. package/dist/components/elements/Loader/openfinLoader.d.ts +1 -1
  41. package/dist/components/input/BaseInput/baseInput.d.ts +10 -8
  42. package/dist/components/input/Checkbox/checkbox.d.ts +7 -7
  43. package/dist/components/input/NumberInput/numberInput.d.ts +0 -1
  44. package/dist/components/input/RadioInput/radioInput.d.ts +3 -3
  45. package/dist/components/input/TextArea/textArea.d.ts +3 -3
  46. package/dist/components/input/TextInput/textInput.d.ts +7 -8
  47. package/dist/components/layout/Box/box.d.ts +1 -15
  48. package/dist/components/layout/HamburgerNavigation/sidebarMenu.d.ts +1 -1
  49. package/dist/components/layout/TabList/tab.d.ts +2 -1
  50. package/dist/components/system/ThemeProvider/lib/iconSet.d.ts +340 -320
  51. package/dist/components/system/ThemeProvider/themeProvider.d.ts +2 -1
  52. package/dist/components/system/ThemeProvider/themeProvider.spec.d.ts +1 -1
  53. package/dist/components/templates/CascadingDropdownMenu/cascadingDropdownMenu.d.ts +1 -2
  54. package/dist/components/templates/ContactCard/PresenceIcons.d.ts +4 -4
  55. package/dist/components/typography/Heading/heading.d.ts +408 -354
  56. package/dist/components/typography/Text/text.d.ts +1 -6
  57. package/dist/hooks/useColorScheme.d.ts +1 -1
  58. package/dist/hooks/useTheme.d.ts +2 -2
  59. package/dist/index.js +164 -164
  60. package/dist/index.js.LICENSE.txt +3 -17
  61. package/dist/storybookHelpers.d.ts +53 -54
  62. package/package.json +20 -20
@@ -1,12 +1,11 @@
1
- /// <reference types="react" />
2
1
  import { BaseInputProps } from '../BaseInput';
3
2
  export type TextInputProps = BaseInputProps;
4
3
  export declare const TextInput: import("react").ForwardRefExoticComponent<import("react").InputHTMLAttributes<HTMLInputElement> & {
5
- message?: string | undefined;
6
- label?: string | undefined;
7
- type?: string | undefined;
8
- renderInput?: Function | undefined;
9
- icon?: "OpenFinIcon" | "BellIcon" | "WorkspaceIcon" | "LockedClosedFilledIcon" | "MinimizeIcon" | "LightBulbFilledIcon" | "LightBulbOutlinedIcon" | "FilterIcon" | "BrokenLinkIcon" | "FloppyDiskIcon" | "StackIcon" | "BellFilledIcon" | "StorefrontIcon" | "FragmentsIcon" | "ChevronRightIcon" | "ChevronLeftIcon" | "ChevronUpIcon" | "ChevronDownIcon" | "ExclamationCircledFilledIcon" | "FilledCircleIcon" | "PageIcon" | "RedDotIcon" | "BookmarkFilled" | "BookmarkOutlined" | "FallbackGlobeIcon" | "BlockedIcon" | "ActivityLogIcon" | "AlignBaselineIcon" | "AlignBottomIcon" | "AlignCenterHorizontallyIcon" | "AlignCenterVerticallyIcon" | "AlignLeftIcon" | "AlignRightIcon" | "AlignTopIcon" | "AllSidesIcon" | "AngleIcon" | "ArchiveIcon" | "ArrowBottomLeftIcon" | "ArrowBottomRightIcon" | "ArrowDownIcon" | "ArrowLeftIcon" | "ArrowRightIcon" | "ArrowTopLeftIcon" | "ArrowTopRightIcon" | "ArrowUpIcon" | "AspectRatioIcon" | "AvatarIcon" | "BackpackIcon" | "BadgeIcon" | "BarChartIcon" | "BlendingModeIcon" | "BookmarkIcon" | "BorderAllIcon" | "BorderBottomIcon" | "BorderDashedIcon" | "BorderDottedIcon" | "BorderLeftIcon" | "BorderNoneIcon" | "BorderRightIcon" | "BorderSolidIcon" | "BorderSplitIcon" | "BorderStyleIcon" | "BorderTopIcon" | "BoxIcon" | "BoxModelIcon" | "ButtonIcon" | "CalendarIcon" | "CameraIcon" | "CardStackIcon" | "CardStackMinusIcon" | "CardStackPlusIcon" | "CaretDownIcon" | "CaretLeftIcon" | "CaretRightIcon" | "CaretSortIcon" | "CaretUpIcon" | "ChatBubbleIcon" | "CheckIcon" | "CheckCircledIcon" | "CheckboxIcon" | "CircleIcon" | "CircleBackslashIcon" | "ClipboardIcon" | "ClipboardCopyIcon" | "ClockIcon" | "CodeIcon" | "CodeSandboxLogoIcon" | "ColumnSpacingIcon" | "ColumnsIcon" | "CommitIcon" | "Component1Icon" | "Component2Icon" | "ComponentBooleanIcon" | "ComponentInstanceIcon" | "ComponentNoneIcon" | "ComponentPlaceholderIcon" | "ContainerIcon" | "CookieIcon" | "CopyIcon" | "CornerBottomLeftIcon" | "CornerBottomRightIcon" | "CornerTopLeftIcon" | "CornerTopRightIcon" | "CornersIcon" | "CountdownTimerIcon" | "CounterClockwiseClockIcon" | "CropIcon" | "Cross1Icon" | "Cross2Icon" | "CrossCircledIcon" | "Crosshair1Icon" | "Crosshair2Icon" | "CrumpledPaperIcon" | "CubeIcon" | "CursorArrowIcon" | "CursorTextIcon" | "DashIcon" | "DashboardIcon" | "DimensionsIcon" | "DiscIcon" | "DividerHorizontalIcon" | "DividerVerticalIcon" | "DotIcon" | "DotFilledIcon" | "DotsHorizontalIcon" | "DotsVerticalIcon" | "DoubleArrowDownIcon" | "DoubleArrowLeftIcon" | "DoubleArrowRightIcon" | "DoubleArrowUpIcon" | "DownloadIcon" | "DragHandleDots1Icon" | "DragHandleDots2Icon" | "DragHandleHorizontalIcon" | "DragHandleVerticalIcon" | "DrawingPinIcon" | "DrawingPinFilledIcon" | "DropdownMenuIcon" | "EnterIcon" | "EnterFullScreenIcon" | "EnvelopeClosedIcon" | "EnvelopeOpenIcon" | "ExclamationTriangleIcon" | "ExitIcon" | "ExitFullScreenIcon" | "ExternalLinkIcon" | "EyeClosedIcon" | "EyeNoneIcon" | "EyeOpenIcon" | "FaceIcon" | "FigmaLogoIcon" | "FileIcon" | "FileMinusIcon" | "FilePlusIcon" | "FileTextIcon" | "FontBoldIcon" | "FontFamilyIcon" | "FontItalicIcon" | "FontRomanIcon" | "FontSizeIcon" | "FontStyleIcon" | "FrameIcon" | "FramerLogoIcon" | "GearIcon" | "GitHubLogoIcon" | "GlobeIcon" | "GridIcon" | "GroupIcon" | "Half1Icon" | "Half2Icon" | "HamburgerMenuIcon" | "HandIcon" | "HeadingIcon" | "HeightIcon" | "HomeIcon" | "IconJarLogoIcon" | "IdCardIcon" | "ImageIcon" | "InfoCircledIcon" | "InputIcon" | "LapTimerIcon" | "LayersIcon" | "LayoutIcon" | "LetterCaseCapitalizeIcon" | "LetterCaseLowercaseIcon" | "LetterCaseToggleIcon" | "LetterCaseUppercaseIcon" | "LetterSpacingIcon" | "LightningBoltIcon" | "LineHeightIcon" | "Link1Icon" | "Link2Icon" | "LinkBreak1Icon" | "LinkBreak2Icon" | "LinkNone1Icon" | "LinkNone2Icon" | "ListBulletIcon" | "LockClosedIcon" | "LockOpen1Icon" | "LockOpen2Icon" | "LoopIcon" | "MagicWandIcon" | "MagnifyingGlassIcon" | "MarginIcon" | "MaskOffIcon" | "MaskOnIcon" | "MinusIcon" | "MinusCircledIcon" | "MixIcon" | "MixerHorizontalIcon" | "MixerVerticalIcon" | "ModulzLogoIcon" | "MoonIcon" | "MoveIcon" | "NotionLogoIcon" | "OpacityIcon" | "OverlineIcon" | "PaddingIcon" | "PaperPlaneIcon" | "PauseIcon" | "Pencil1Icon" | "Pencil2Icon" | "PersonIcon" | "PieChartIcon" | "PilcrowIcon" | "PinBottomIcon" | "PinLeftIcon" | "PinRightIcon" | "PinTopIcon" | "PlayIcon" | "PlusIcon" | "PlusCircledIcon" | "QuestionMarkIcon" | "QuestionMarkCircledIcon" | "QuoteIcon" | "RadiobuttonIcon" | "ReaderIcon" | "ReloadIcon" | "ResetIcon" | "ResumeIcon" | "RocketIcon" | "RotateCounterClockwiseIcon" | "RowSpacingIcon" | "RowsIcon" | "RulerHorizontalIcon" | "RulerSquareIcon" | "SectionIcon" | "SewingPinIcon" | "SewingPinFilledIcon" | "ShadowIcon" | "ShadowInnerIcon" | "ShadowNoneIcon" | "ShadowOuterIcon" | "Share1Icon" | "Share2Icon" | "ShuffleIcon" | "SizeIcon" | "SketchLogoIcon" | "SlashIcon" | "SliderIcon" | "SpaceBetweenHorizontallyIcon" | "SpaceBetweenVerticallyIcon" | "SpaceEvenlyHorizontallyIcon" | "SpaceEvenlyVerticallyIcon" | "SpeakerLoudIcon" | "SpeakerModerateIcon" | "SpeakerOffIcon" | "SpeakerQuietIcon" | "SquareIcon" | "StarIcon" | "StarFilledIcon" | "StitchesLogoIcon" | "StopIcon" | "StopwatchIcon" | "StretchHorizontallyIcon" | "StretchVerticallyIcon" | "StrikethroughIcon" | "SunIcon" | "SwitchIcon" | "SymbolIcon" | "TableIcon" | "TargetIcon" | "TextIcon" | "TextAlignCenterIcon" | "TextAlignJustifyIcon" | "TextAlignLeftIcon" | "TextAlignRightIcon" | "TextNoneIcon" | "ThickArrowDownIcon" | "ThickArrowLeftIcon" | "ThickArrowRightIcon" | "ThickArrowUpIcon" | "TimerIcon" | "TokensIcon" | "TrackNextIcon" | "TrackPreviousIcon" | "TransparencyGridIcon" | "TrashIcon" | "TriangleDownIcon" | "TriangleLeftIcon" | "TriangleRightIcon" | "TriangleUpIcon" | "TwitterLogoIcon" | "UnderlineIcon" | "UpdateIcon" | "UploadIcon" | "ValueIcon" | "ValueNoneIcon" | "VercelLogoIcon" | "VideoIcon" | "ViewGridIcon" | "ViewHorizontalIcon" | "ViewNoneIcon" | "ViewVerticalIcon" | "WidthIcon" | "ZoomInIcon" | "ZoomOutIcon" | (() => JSX.Element) | undefined;
10
- helperText?: string | undefined;
11
- validationErrorMessage?: string | undefined;
4
+ message?: string;
5
+ label?: string;
6
+ type?: string;
7
+ renderInput?: Function;
8
+ icon?: import("../../system").IconType | (() => JSX.Element);
9
+ helperText?: string;
10
+ validationErrorMessage?: string;
12
11
  } & import("../../system").WithStatusProps & import("react").RefAttributes<HTMLInputElement>>;
@@ -24,18 +24,4 @@ export type BoxProps = HTMLAttributes<HTMLDivElement> & {
24
24
  * - Box can be both the flex parent and the flex child.
25
25
  * - None of the child properties should be applied unless specified.
26
26
  */
27
- export declare const Box: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, HTMLAttributes<HTMLDivElement> & {
28
- alignItems?: BoxTypes.AlignItems | undefined;
29
- display?: BoxTypes.Display | undefined;
30
- flexDirection?: BoxTypes.FlexDirection | undefined;
31
- flexWrap?: BoxTypes.FlexWrap | undefined;
32
- justifyContent?: BoxTypes.JustifyContent | undefined;
33
- gap?: "base" | "small" | "xsmall" | "large" | "xlarge" | "xxlarge" | "xxxlarge" | "xxxxlarge" | undefined;
34
- alignSelf?: BoxTypes.AlignSelf | undefined;
35
- flexBasis?: string | undefined;
36
- flexGrow?: 0 | 1 | undefined;
37
- flexShrink?: 0 | 1 | undefined;
38
- order?: number | undefined;
39
- background?: BoxTypes.BackgroundLevel | undefined;
40
- padding?: "base" | "small" | "xsmall" | "large" | "xlarge" | "xxlarge" | "xxxlarge" | "xxxxlarge" | undefined;
41
- }, never>;
27
+ export declare const Box: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, BoxProps, never>;
@@ -7,6 +7,6 @@ export type SidebarMenuProps = {
7
7
  export type SidebarMenuContainerProps = {
8
8
  open?: boolean;
9
9
  };
10
- export declare const SidebarMenu: ({ open, children, document }: SidebarMenuProps) => JSX.Element;
10
+ export declare const SidebarMenu: ({ open, children, document }: SidebarMenuProps) => import("react/jsx-runtime").JSX.Element;
11
11
  export declare const StyledSidebarMenuContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, SidebarMenuContainerProps, never>;
12
12
  export declare const StyledMenuItemContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
@@ -1,7 +1,8 @@
1
- import { FC } from 'react';
1
+ import { FC, ReactNode } from 'react';
2
2
  type TabProps = {
3
3
  title: string;
4
4
  icon?: string;
5
+ children?: ReactNode;
5
6
  };
6
7
  export declare const Tab: FC<TabProps>;
7
8
  export {};