@nulogy/components 6.7.2 → 6.7.5

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 (66) hide show
  1. package/dist/main.js +282 -279
  2. package/dist/main.module.js +282 -279
  3. package/dist/src/BrandedNavBar/MenuTrigger.d.ts +1 -1
  4. package/dist/src/Branding/BrandingText.d.ts +1 -1
  5. package/dist/src/Branding/LettermarkLogo.d.ts +1 -1
  6. package/dist/src/Branding/WordmarkLogo.d.ts +1 -1
  7. package/dist/src/Breadcrumbs/BreadcrumbsListItem.d.ts +1 -1
  8. package/dist/src/Button/Button.d.ts +1 -1
  9. package/dist/src/Button/DangerButton.d.ts +1 -1
  10. package/dist/src/Button/IconicButton.story.d.ts +8 -1
  11. package/dist/src/Button/PrimaryButton.d.ts +1 -1
  12. package/dist/src/Button/QuietButton.d.ts +1 -1
  13. package/dist/src/ButtonGroup/ButtonGroup.d.ts +1 -1
  14. package/dist/src/Card/Card.d.ts +1 -1
  15. package/dist/src/Card/CardSet.d.ts +1 -1
  16. package/dist/src/Checkbox/Checkbox.d.ts +1 -1
  17. package/dist/src/Checkbox/CheckboxGroup.d.ts +1 -1
  18. package/dist/src/DatePicker/DatePicker.d.ts +1 -1
  19. package/dist/src/DatePicker/DatePickerHeader.d.ts +1 -1
  20. package/dist/src/DatePicker/DatePickerInput.d.ts +1 -1
  21. package/dist/src/DateRange/DateRange.d.ts +1 -1
  22. package/dist/src/DateRange/EndTime.d.ts +1 -1
  23. package/dist/src/DateRange/StartTime.d.ts +1 -1
  24. package/dist/src/DropdownMenu/DropdownButton.d.ts +1 -1
  25. package/dist/src/DropdownMenu/DropdownItem.d.ts +1 -1
  26. package/dist/src/DropdownMenu/DropdownLink.d.ts +1 -1
  27. package/dist/src/DropdownMenu/DropdownMenu.d.ts +1 -1
  28. package/dist/src/DropdownMenu/DropdownMenuContainer.d.ts +1 -1
  29. package/dist/src/Form/Fieldset.d.ts +1 -1
  30. package/dist/src/Form/FormSection.d.ts +1 -1
  31. package/dist/src/Icon/LoadingIcon.d.ts +1 -1
  32. package/dist/src/Input/Input.d.ts +1 -1
  33. package/dist/src/Input/InputField.d.ts +1 -1
  34. package/dist/src/List/List.d.ts +1 -1
  35. package/dist/src/List/ListItem.d.ts +1 -1
  36. package/dist/src/LoadingAnimation/LoadingAnimation.d.ts +1 -1
  37. package/dist/src/Modal/ModalContent.d.ts +1 -1
  38. package/dist/src/NavBar/DesktopMenu.d.ts +3 -2
  39. package/dist/src/NavBar/MenuTrigger.d.ts +8 -7
  40. package/dist/src/NavBar/MobileMenu.d.ts +3 -2
  41. package/dist/src/NavBar/NavBar.d.ts +58 -24
  42. package/dist/src/NavBar/NavBar.story.d.ts +76 -97
  43. package/dist/src/NavBar/NavBarDropdownMenu.d.ts +2 -1
  44. package/dist/src/NavBar/SmallNavBar.d.ts +8 -0
  45. package/dist/src/NavBar/SubMenuTrigger.d.ts +14 -15
  46. package/dist/src/NavBar/isValidMenuItem.d.ts +1 -1
  47. package/dist/src/NavBar/renderSubMenuItems.d.ts +1 -1
  48. package/dist/src/Overlay/Overlay.d.ts +1 -1
  49. package/dist/src/Pagination/Pagination.d.ts +1 -1
  50. package/dist/src/Popper/Popper.d.ts +1 -1
  51. package/dist/src/RangeContainer/RangeContainer.d.ts +1 -1
  52. package/dist/src/StatusIndicator/StatusIndicator.d.ts +1 -1
  53. package/dist/src/Table/BaseTable.d.ts +1 -1
  54. package/dist/src/Table/TableCell.d.ts +1 -1
  55. package/dist/src/Table/TableHead.d.ts +1 -1
  56. package/dist/src/Tabs/Tab.d.ts +1 -1
  57. package/dist/src/Tabs/TabScrollIndicator.d.ts +1 -1
  58. package/dist/src/Textarea/StyledTextarea.d.ts +1 -1
  59. package/dist/src/Textarea/Textarea.d.ts +1 -1
  60. package/dist/src/TimePicker/TimePicker.d.ts +1 -1
  61. package/dist/src/TimePicker/TimePickerInput.d.ts +1 -1
  62. package/dist/src/TimeRange/TimeRange.d.ts +1 -1
  63. package/dist/src/Tooltip/Tooltip.d.ts +1 -1
  64. package/dist/src/Validation/InlineValidation.d.ts +1 -1
  65. package/dist/src/utils/ClickInputLabel.d.ts +1 -1
  66. package/package.json +1 -1
@@ -1,16 +1,15 @@
1
- export default SubMenuTrigger;
2
- declare function SubMenuTrigger(props: any): JSX.Element;
3
- declare namespace SubMenuTrigger {
4
- export namespace propTypes {
5
- export const name: PropTypes.Validator<string>;
6
- export const menuData: PropTypes.Requireable<PropTypes.InferProps<{}>[]>;
7
- export const onItemClick: PropTypes.Requireable<(...args: any[]) => any>;
8
- }
9
- export namespace defaultProps {
10
- const menuData_1: any;
11
- export { menuData_1 as menuData };
12
- const onItemClick_1: any;
13
- export { onItemClick_1 as onItemClick };
14
- }
15
- }
1
+ /// <reference types="react" />
16
2
  import PropTypes from "prop-types";
3
+ declare const SubMenuTrigger: {
4
+ (props: any): JSX.Element;
5
+ propTypes: {
6
+ name: PropTypes.Validator<string>;
7
+ menuData: PropTypes.Requireable<PropTypes.InferProps<{}>[]>;
8
+ onItemClick: PropTypes.Requireable<(...args: any[]) => any>;
9
+ };
10
+ defaultProps: {
11
+ menuData: any;
12
+ onItemClick: any;
13
+ };
14
+ };
15
+ export default SubMenuTrigger;
@@ -1,2 +1,2 @@
1
+ declare const isValidMenuItem: (arr: any, idx: any, componentName: any, location: any, propFullName: any) => Error;
1
2
  export default isValidMenuItem;
2
- declare function isValidMenuItem(arr: any, idx: any, componentName: any, location: any, propFullName: any): Error;
@@ -1,2 +1,2 @@
1
+ declare const renderSubMenuItems: (subMenuItems: any, onItemClick: any, SubMenuTrigger: any) => any;
1
2
  export default renderSubMenuItems;
2
- declare function renderSubMenuItems(subMenuItems: any, onItemClick: any, SubMenuTrigger: any): any;
@@ -5,5 +5,5 @@ declare type OverlayProps = FlexProps & {
5
5
  dark?: boolean;
6
6
  theme?: DefaultNDSThemeType;
7
7
  };
8
- declare const Overlay: React.SFC<OverlayProps>;
8
+ declare const Overlay: React.FC<OverlayProps>;
9
9
  export default Overlay;
@@ -1,4 +1,4 @@
1
1
  import React from "react";
2
2
  export declare const getPageItemstoDisplay: (totalPages: any, currentPage: any) => any[];
3
- declare const Pagination: React.SFC<any>;
3
+ declare const Pagination: React.FC<any>;
4
4
  export default Pagination;
@@ -16,5 +16,5 @@ declare type PopperProps = {
16
16
  openAriaLabel?: string;
17
17
  closeAriaLabel?: string;
18
18
  };
19
- declare const Popper: React.SFC<PopperProps>;
19
+ declare const Popper: React.FC<PopperProps>;
20
20
  export default Popper;
@@ -5,5 +5,5 @@ declare type RangeContainerProps = {
5
5
  endComponent?: React.ReactNode;
6
6
  errorMessages?: (string | undefined)[];
7
7
  };
8
- declare const RangeContainer: React.SFC<RangeContainerProps>;
8
+ declare const RangeContainer: React.FC<RangeContainerProps>;
9
9
  export default RangeContainer;
@@ -1,3 +1,3 @@
1
1
  /// <reference types="react" />
2
- declare const StatusIndicator: React.SFC<any>;
2
+ declare const StatusIndicator: React.FC<any>;
3
3
  export default StatusIndicator;
@@ -17,5 +17,5 @@ export declare type BaseTableProps = {
17
17
  onMouseEnter?: any;
18
18
  onMouseLeave?: any;
19
19
  };
20
- declare const BaseTable: React.SFC<BaseTableProps>;
20
+ declare const BaseTable: React.FC<BaseTableProps>;
21
21
  export default BaseTable;
@@ -6,5 +6,5 @@ declare type TableCellProps = {
6
6
  cellData?: object | React.ReactNode | boolean;
7
7
  compact?: boolean;
8
8
  };
9
- declare const TableCell: React.SFC<TableCellProps>;
9
+ declare const TableCell: React.FC<TableCellProps>;
10
10
  export default TableCell;
@@ -5,5 +5,5 @@ declare type TableHeadProps = {
5
5
  compact?: boolean;
6
6
  sticky?: boolean;
7
7
  };
8
- declare const TableHead: React.SFC<TableHeadProps>;
8
+ declare const TableHead: React.FC<TableHeadProps>;
9
9
  export default TableHead;
@@ -9,5 +9,5 @@ declare type TabButtonProps = React.ComponentPropsWithRef<"button"> & {
9
9
  declare type TabProps = TabButtonProps & {
10
10
  label?: React.ReactNode;
11
11
  };
12
- declare const Tab: React.SFC<TabProps>;
12
+ declare const Tab: React.FC<TabProps>;
13
13
  export default Tab;
@@ -6,5 +6,5 @@ declare type TabScrollIndicatorProps = {
6
6
  ariaLabelLeft?: string;
7
7
  ariaLabelRight?: string;
8
8
  };
9
- declare const TabScrollIndicator: React.SFC<TabScrollIndicatorProps>;
9
+ declare const TabScrollIndicator: React.FC<TabScrollIndicatorProps>;
10
10
  export default TabScrollIndicator;
@@ -9,5 +9,5 @@ export declare type StyledTextareaProps = React.ComponentPropsWithRef<"textarea"
9
9
  rows?: number;
10
10
  isResizeable?: boolean;
11
11
  };
12
- declare const StyledTextarea: React.SFC<StyledTextareaProps>;
12
+ declare const StyledTextarea: React.FC<StyledTextareaProps>;
13
13
  export default StyledTextarea;
@@ -14,5 +14,5 @@ declare type TextareaProps = StyledTextareaProps & {
14
14
  rows?: number;
15
15
  isResizeable?: boolean;
16
16
  };
17
- declare const Textarea: React.SFC<TextareaProps>;
17
+ declare const Textarea: React.FC<TextareaProps>;
18
18
  export default Textarea;
@@ -36,5 +36,5 @@ export declare const getTimeOptions: (interval: any, timeFormat: any, minTime: a
36
36
  value: string;
37
37
  label: string;
38
38
  }[];
39
- declare const TimePicker: React.SFC<TimePickerProps>;
39
+ declare const TimePicker: React.FC<TimePickerProps>;
40
40
  export default TimePicker;
@@ -1,3 +1,3 @@
1
1
  /// <reference types="react" />
2
- declare const TimePickerInput: import("styled-components").StyledComponent<import("react").SFC<import("../Input/InputField").InputFieldProps>, import("styled-components").DefaultTheme, {}, never>;
2
+ declare const TimePickerInput: import("styled-components").StyledComponent<import("react").FC<import("../Input/InputField").InputFieldProps>, import("styled-components").DefaultTheme, {}, never>;
3
3
  export default TimePickerInput;
@@ -19,5 +19,5 @@ declare type TimeRangeProps = SpaceProps & {
19
19
  endTimeProps?: any;
20
20
  startTimeProps?: any;
21
21
  };
22
- declare const TimeRange: React.SFC<TimeRangeProps>;
22
+ declare const TimeRange: React.FC<TimeRangeProps>;
23
23
  export default TimeRange;
@@ -9,5 +9,5 @@ export declare type TooltipProps = {
9
9
  maxWidth?: string;
10
10
  children?: React.ReactNode;
11
11
  };
12
- declare const Tooltip: React.SFC<TooltipProps>;
12
+ declare const Tooltip: React.FC<TooltipProps>;
13
13
  export default Tooltip;
@@ -6,5 +6,5 @@ declare type InlineValidationProps = SpaceProps & {
6
6
  errorList?: string[];
7
7
  children?: React.ReactNode;
8
8
  };
9
- declare const InlineValidation: React.SFC<InlineValidationProps>;
9
+ declare const InlineValidation: React.FC<InlineValidationProps>;
10
10
  export default InlineValidation;
@@ -1,3 +1,3 @@
1
1
  /// <reference types="react" />
2
- declare const ClickInputLabel: React.SFC<any>;
2
+ declare const ClickInputLabel: React.FC<any>;
3
3
  export default ClickInputLabel;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nulogy/components",
3
- "version": "6.7.2",
3
+ "version": "6.7.5",
4
4
  "description": "Component library for the Nulogy Design System - http://nulogy.design",
5
5
  "private": false,
6
6
  "publishConfig": {