@nulogy/components 11.0.0-beta.4 → 11.0.0
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/main.js +34935 -37522
- package/dist/main.module.js +34930 -37515
- package/dist/src/Alert/Alert.story.d.ts +1 -4
- package/dist/src/Alert/CloseButton.d.ts +1 -1
- package/dist/src/AsyncSelect/AsyncSelect.d.ts +2 -2
- package/dist/src/AsyncSelect/AsyncSelectComponents.d.ts +3 -3
- package/dist/src/AsyncSelect/fixtures.d.ts +5 -0
- package/dist/src/Box/index.d.ts +1 -0
- package/dist/src/BrandedNavBar/MobileMenu.d.ts +2 -2
- package/dist/src/BrandedNavBar/NavBarBackground.d.ts +1 -1
- package/dist/src/BrandedNavBar/isValidMenuItem.d.ts +1 -2
- package/dist/src/Branding/BrandingText.d.ts +5 -2
- package/dist/src/Branding/LettermarkLogo.d.ts +2 -2
- package/dist/src/Branding/WordmarkLogo.d.ts +3 -2
- package/dist/src/Breadcrumbs/Breadcrumbs.d.ts +4 -9
- package/dist/src/Breadcrumbs/Breadcrumbs.story.d.ts +0 -1
- package/dist/src/Breadcrumbs/BreadcrumbsListItem.d.ts +2 -2
- package/dist/src/Button/Button.d.ts +4 -3
- package/dist/src/Button/CloseButton.d.ts +3 -1
- package/dist/src/Button/ControlIcon.d.ts +5 -6
- package/dist/src/Button/DangerButton.d.ts +1 -1
- package/dist/src/Button/IconicButton.d.ts +2 -2
- package/dist/src/Button/IconicButton.story.d.ts +0 -1
- package/dist/src/Button/PrimaryButton.d.ts +2 -1
- package/dist/src/Button/QuietButton.d.ts +1 -1
- package/dist/src/ButtonGroup/ButtonGroup.d.ts +7 -5
- package/dist/src/Card/Card.d.ts +2 -3
- package/dist/src/Card/CardSet.d.ts +5 -3
- package/dist/src/Checkbox/Checkbox.d.ts +4 -3
- package/dist/src/Checkbox/Checkbox.story.d.ts +0 -1
- package/dist/src/Checkbox/CheckboxGroup.d.ts +3 -2
- package/dist/src/DatePicker/DatePicker.d.ts +3 -3
- package/dist/src/DatePicker/DatePicker.story.d.ts +0 -1
- package/dist/src/DatePicker/DatePickerHeader.d.ts +6 -6
- package/dist/src/DatePicker/DatePickerInput.d.ts +3 -3
- package/dist/src/DatePicker/DatePickerStyles.d.ts +4 -1
- package/dist/src/DateRange/DateRange.d.ts +3 -3
- package/dist/src/DateRange/DateRange.story.d.ts +0 -1
- package/dist/src/DateRange/EndTime.d.ts +3 -3
- package/dist/src/DateRange/StartTime.d.ts +3 -3
- package/dist/src/Divider/Divider.d.ts +2 -3
- package/dist/src/Divider/Divider.story.d.ts +4 -2
- package/dist/src/DropdownMenu/DropdownButton.d.ts +2 -2
- package/dist/src/DropdownMenu/DropdownItem.d.ts +2 -5
- package/dist/src/DropdownMenu/DropdownLink.d.ts +5 -7
- package/dist/src/DropdownMenu/DropdownMenu.d.ts +5 -5
- package/dist/src/DropdownMenu/DropdownMenu.story.d.ts +0 -1
- package/dist/src/DropdownMenu/DropdownMenuContainer.d.ts +1 -1
- package/dist/src/DropdownMenu/DropdownText.d.ts +7 -3
- package/dist/src/FieldLabel/FieldLabel.d.ts +1 -10
- package/dist/src/FieldLabel/HelpText.d.ts +2 -3
- package/dist/src/Form/Fieldset.d.ts +1 -2
- package/dist/src/Form/FormSection.d.ts +3 -3
- package/dist/src/Icon/Icon.d.ts +1 -1
- package/dist/src/Icon/LoadingIcon.d.ts +4 -2
- package/dist/src/Input/Input.d.ts +3 -4
- package/dist/src/Input/Input.story.d.ts +1 -1
- package/dist/src/Input/InputField.d.ts +8 -6
- package/dist/src/Input/Suffix.d.ts +4 -11
- package/dist/src/Layout/Header.d.ts +1 -1
- package/dist/src/Layout/Page.d.ts +1 -1
- package/dist/src/Link/Link.d.ts +2 -2
- package/dist/src/Link/Link.story.d.ts +0 -1
- package/dist/src/List/List.d.ts +3 -5
- package/dist/src/List/ListItem.d.ts +4 -5
- package/dist/src/LoadingAnimation/LoadingAnimation.d.ts +4 -4
- package/dist/src/Modal/Modal.d.ts +1 -1
- package/dist/src/Modal/ModalCloseButton.d.ts +3 -1
- package/dist/src/Modal/ModalContent.d.ts +1 -1
- package/dist/src/NDSProvider/ComponentVariantContext.d.ts +10 -0
- package/dist/src/NDSProvider/GlobalStylesComposer.d.ts +10 -0
- package/dist/src/NDSProvider/NDSProvider.d.ts +5 -13
- package/dist/src/NDSProvider/mountWithNDSProvider.spec-utils.d.ts +1 -1
- package/dist/src/NDSProvider/renderWithNDSProvider.spec-utils.d.ts +1 -1
- package/dist/src/NDSProvider/useNDSTheme.d.ts +12 -0
- package/dist/src/NavBarSearch/NavBarSearch.d.ts +5 -16
- package/dist/src/Overlay/Overlay.d.ts +7 -6
- package/dist/src/Pagination/NextButton.d.ts +1 -14
- package/dist/src/Pagination/PageNumber.d.ts +4 -1
- package/dist/src/Pagination/Pagination.d.ts +5 -29
- package/dist/src/Pagination/PaginationButton.d.ts +4 -1
- package/dist/src/Pagination/PreviousButton.d.ts +1 -14
- package/dist/src/Popper/Popper.d.ts +2 -2
- package/dist/src/Radio/Radio.d.ts +3 -3
- package/dist/src/Radio/Radio.story.d.ts +0 -1
- package/dist/src/Radio/RadioGroup.d.ts +7 -17
- package/dist/src/RangeContainer/RangeContainer.d.ts +4 -3
- package/dist/src/Select/Select.d.ts +23 -24
- package/dist/src/Select/Select.story.d.ts +7 -4
- package/dist/src/Select/SelectComponents.d.ts +7 -9
- package/dist/src/Select/SelectOption.d.ts +9 -10
- package/dist/src/Select/customReactSelectStyles.d.ts +8 -8
- package/dist/src/Select/index.d.ts +1 -1
- package/dist/src/Summary/Summary.d.ts +1 -1
- package/dist/src/Summary/SummaryContext.d.ts +1 -1
- package/dist/src/Summary/SummaryItem.d.ts +1 -1
- package/dist/src/Switcher/Switch.d.ts +2 -2
- package/dist/src/Switcher/Switcher.d.ts +3 -3
- package/dist/src/Switcher/Switcher.story.d.ts +0 -1
- package/dist/src/Table/BaseTable.d.ts +1 -17
- package/dist/src/Table/SortingColumnHeader.d.ts +8 -23
- package/dist/src/Table/StatefulTable.d.ts +8 -8
- package/dist/src/Table/StyledTh.d.ts +0 -2
- package/dist/src/Table/Table.d.ts +5 -25
- package/dist/src/Table/Table.types.d.ts +0 -27
- package/dist/src/Table/TableCell.d.ts +2 -2
- package/dist/src/Table/TableFoot.d.ts +0 -26
- package/dist/src/Tabs/Tab.d.ts +4 -4
- package/dist/src/Tabs/TabContainer.d.ts +1 -1
- package/dist/src/Tabs/TabScrollIndicator.d.ts +4 -3
- package/dist/src/Tabs/Tabs.d.ts +4 -3
- package/dist/src/Tabs/Tabs.story.d.ts +0 -1
- package/dist/src/Textarea/StyledTextarea.d.ts +3 -3
- package/dist/src/Textarea/Textarea.story.d.ts +0 -1
- package/dist/src/TimePicker/TimePicker.d.ts +3 -3
- package/dist/src/TimePicker/TimePicker.story.d.ts +0 -1
- package/dist/src/TimePicker/TimePickerOption.d.ts +2 -2
- package/dist/src/TimeRange/TimeRange.d.ts +2 -2
- package/dist/src/Toast/Toast.d.ts +1 -11
- package/dist/src/ToastContainer/ToastContainer.d.ts +1 -12
- package/dist/src/Toggle/Toggle.d.ts +3 -3
- package/dist/src/Toggle/Toggle.story.d.ts +1 -1
- package/dist/src/Toggle/ToggleButton.d.ts +1 -1
- package/dist/src/Tooltip/Tooltip.d.ts +1 -1
- package/dist/src/Tooltip/TooltipContainer.d.ts +1 -1
- package/dist/src/TruncatedText/MaybeTooltip.d.ts +1 -12
- package/dist/src/TruncatedText/TruncatedText.d.ts +1 -24
- package/dist/src/TruncatedText/TruncatedTextProps.d.ts +2 -1
- package/dist/src/Type/Headings.d.ts +4 -8
- package/dist/src/Type/Text.d.ts +5 -7
- package/dist/src/Validation/InlineValidation.d.ts +2 -2
- package/dist/src/VisualTests/KitchenSink.story.d.ts +6 -0
- package/dist/src/index.d.ts +1 -3
- package/dist/src/locales.const.d.ts +9 -9
- package/dist/src/pages/ErrorPage.story.d.ts +8 -0
- package/dist/src/scripts/generateTheme.d.ts +1 -0
- package/dist/src/theme.d.ts +5 -3
- package/dist/src/theme.type.d.ts +15 -3
- package/dist/src/utils/ClickInputLabel.d.ts +3 -3
- package/dist/src/utils/DetectOutsideClick.d.ts +1 -16
- package/dist/src/utils/PopperArrow.d.ts +4 -3
- package/dist/src/utils/PreventBodyElementScrolling.d.ts +1 -15
- package/dist/src/utils/ScrollIndicators.d.ts +0 -6
- package/dist/src/utils/dashed.d.ts +4 -1
- package/dist/src/utils/localized-date-fns.d.ts +1 -1
- package/dist/src/utils/story/simulatedAPIRequests.d.ts +4 -0
- package/dist/src/utils/subPx.d.ts +9 -2
- package/dist/src/utils/subset.d.ts +1 -0
- package/dist/src/utils/ts/FocusManager.d.ts +1 -1
- package/dist/src/utils/useWindowDimensions.d.ts +1 -1
- package/package.json +17 -14
- package/dist/src/NDSProvider/ComponentSizeContext.d.ts +0 -9
- package/dist/src/NavBar/DesktopMenu.d.ts +0 -18
- package/dist/src/NavBar/MenuTrigger.d.ts +0 -29
- package/dist/src/NavBar/MobileMenu.d.ts +0 -34
- package/dist/src/NavBar/NavBar.d.ts +0 -66
- package/dist/src/NavBar/NavBar.story.d.ts +0 -77
- package/dist/src/NavBar/NavBarDropdownMenu.d.ts +0 -3
- package/dist/src/NavBar/SmallNavBar.d.ts +0 -3
- package/dist/src/NavBar/SubMenuTrigger.d.ts +0 -15
- package/dist/src/NavBar/index.d.ts +0 -1
- package/dist/src/NavBar/isValidMenuItem.d.ts +0 -2
- package/dist/src/NavBar/renderSubMenuItems.d.ts +0 -2
- package/dist/src/Select/MenuList.d.ts +0 -3
- package/dist/src/Select/Select.story.fixture.d.ts +0 -19
- package/dist/src/Select/lib.d.ts +0 -20
- package/dist/src/utils/story/simulatedAPIRequest.d.ts +0 -5
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import PropTypes from "prop-types";
|
|
3
|
-
declare const DesktopMenu: import("styled-components").StyledComponent<{
|
|
4
|
-
({ menuData, themeColorObject, ...props }: {
|
|
5
|
-
[x: string]: any;
|
|
6
|
-
menuData: any;
|
|
7
|
-
themeColorObject: any;
|
|
8
|
-
}): React.JSX.Element;
|
|
9
|
-
propTypes: {
|
|
10
|
-
menuData: PropTypes.Requireable<PropTypes.InferProps<{}>[]>;
|
|
11
|
-
themeColorObject: PropTypes.Requireable<PropTypes.InferProps<{}>>;
|
|
12
|
-
};
|
|
13
|
-
defaultProps: {
|
|
14
|
-
menuData: any;
|
|
15
|
-
themeColorObject: any;
|
|
16
|
-
};
|
|
17
|
-
}, import("styled-components").DefaultTheme, {}, never>;
|
|
18
|
-
export default DesktopMenu;
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import PropTypes from "prop-types";
|
|
3
|
-
export type MenuTriggerProps = {
|
|
4
|
-
name?: string;
|
|
5
|
-
"aria-label"?: string;
|
|
6
|
-
color?: string;
|
|
7
|
-
hoverColor?: string;
|
|
8
|
-
hoverBackground?: string;
|
|
9
|
-
menuData?: any[];
|
|
10
|
-
};
|
|
11
|
-
declare const MenuTrigger: {
|
|
12
|
-
(props: any): React.JSX.Element;
|
|
13
|
-
propTypes: {
|
|
14
|
-
name: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
|
|
15
|
-
"aria-label": PropTypes.Requireable<string>;
|
|
16
|
-
menuData: PropTypes.Requireable<PropTypes.InferProps<{}>[]>;
|
|
17
|
-
color: PropTypes.Requireable<string>;
|
|
18
|
-
hoverColor: PropTypes.Requireable<string>;
|
|
19
|
-
hoverBackground: PropTypes.Requireable<string>;
|
|
20
|
-
};
|
|
21
|
-
defaultProps: {
|
|
22
|
-
menuData: any;
|
|
23
|
-
"aria-label": any;
|
|
24
|
-
color: string;
|
|
25
|
-
hoverColor: string;
|
|
26
|
-
hoverBackground: string;
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
export default MenuTrigger;
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import PropTypes from "prop-types";
|
|
3
|
-
declare const MobileMenu: import("styled-components").StyledComponent<{
|
|
4
|
-
({ menuData, closeMenu, subtext, includeSubtext, themeColorObject, ...props }: {
|
|
5
|
-
[x: string]: any;
|
|
6
|
-
menuData: any;
|
|
7
|
-
closeMenu: any;
|
|
8
|
-
subtext: any;
|
|
9
|
-
includeSubtext: any;
|
|
10
|
-
themeColorObject: any;
|
|
11
|
-
}): React.JSX.Element;
|
|
12
|
-
propTypes: {
|
|
13
|
-
menuData: PropTypes.Requireable<PropTypes.InferProps<{
|
|
14
|
-
primaryMenu: PropTypes.Requireable<PropTypes.InferProps<{}>[]>;
|
|
15
|
-
secondaryMenu: PropTypes.Requireable<PropTypes.InferProps<{}>[]>;
|
|
16
|
-
}>>;
|
|
17
|
-
subtext: PropTypes.Requireable<string>;
|
|
18
|
-
includeSubtext: PropTypes.Requireable<boolean>;
|
|
19
|
-
closeMenu: PropTypes.Requireable<(...args: any[]) => any>;
|
|
20
|
-
themeColorObject: PropTypes.Requireable<PropTypes.InferProps<{
|
|
21
|
-
textColor: PropTypes.Requireable<string>;
|
|
22
|
-
background: PropTypes.Requireable<string>;
|
|
23
|
-
logoColor: PropTypes.Requireable<string>;
|
|
24
|
-
}>>;
|
|
25
|
-
};
|
|
26
|
-
defaultProps: {
|
|
27
|
-
menuData: any;
|
|
28
|
-
subtext: any;
|
|
29
|
-
includeSubtext: boolean;
|
|
30
|
-
closeMenu: () => void;
|
|
31
|
-
themeColorObject: any;
|
|
32
|
-
};
|
|
33
|
-
}, import("styled-components").DefaultTheme, {}, never>;
|
|
34
|
-
export default MobileMenu;
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import PropTypes from "prop-types";
|
|
3
|
-
import { DefaultNDSThemeType } from "../theme.type";
|
|
4
|
-
export declare const getThemeColor: (themeColor: any) => any;
|
|
5
|
-
export declare const NavBarBackground: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, import("../Box/Box").BoxProps & {
|
|
6
|
-
gap?: import("csstype").Property.Gap<string | number>;
|
|
7
|
-
rowGap?: import("csstype").Property.RowGap<string | number>;
|
|
8
|
-
columnGap?: import("csstype").Property.ColumnGap<string | number>;
|
|
9
|
-
} & {
|
|
10
|
-
backgroundColor: string;
|
|
11
|
-
theme?: DefaultNDSThemeType;
|
|
12
|
-
}, never>;
|
|
13
|
-
export declare const BrandingLink: ({ to, href, children, ...props }: {
|
|
14
|
-
[x: string]: any;
|
|
15
|
-
to: any;
|
|
16
|
-
href: any;
|
|
17
|
-
children: any;
|
|
18
|
-
}) => React.JSX.Element;
|
|
19
|
-
export declare const MenuDataPropTypes: {
|
|
20
|
-
primaryMenu: PropTypes.Requireable<unknown[]>;
|
|
21
|
-
secondaryMenu: PropTypes.Requireable<unknown[]>;
|
|
22
|
-
search: PropTypes.Requireable<PropTypes.InferProps<{
|
|
23
|
-
onSubmit: PropTypes.Requireable<(...args: any[]) => any>;
|
|
24
|
-
}>>;
|
|
25
|
-
};
|
|
26
|
-
export declare const MobileMenuTrigger: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, {
|
|
27
|
-
hoverColor: string;
|
|
28
|
-
hoverBackground: string;
|
|
29
|
-
}, never>;
|
|
30
|
-
export declare const SmallHeader: import("styled-components").StyledComponent<"header", import("styled-components").DefaultTheme, {
|
|
31
|
-
isOpen: boolean;
|
|
32
|
-
}, never>;
|
|
33
|
-
export declare const pixelDigitsFrom: (pixelString: any) => number;
|
|
34
|
-
export declare const MenuIcon: {
|
|
35
|
-
({ isOpen }: {
|
|
36
|
-
isOpen: any;
|
|
37
|
-
}): React.JSX.Element;
|
|
38
|
-
propTypes: {
|
|
39
|
-
isOpen: PropTypes.Requireable<boolean>;
|
|
40
|
-
};
|
|
41
|
-
defaultProps: {
|
|
42
|
-
isOpen: boolean;
|
|
43
|
-
};
|
|
44
|
-
};
|
|
45
|
-
declare const NavBar: {
|
|
46
|
-
(props: any): React.JSX.Element;
|
|
47
|
-
propTypes: {
|
|
48
|
-
menuData: PropTypes.Requireable<PropTypes.InferProps<{
|
|
49
|
-
primaryMenu: PropTypes.Requireable<unknown[]>;
|
|
50
|
-
secondaryMenu: PropTypes.Requireable<unknown[]>;
|
|
51
|
-
search: PropTypes.Requireable<PropTypes.InferProps<{
|
|
52
|
-
onSubmit: PropTypes.Requireable<(...args: any[]) => any>;
|
|
53
|
-
}>>;
|
|
54
|
-
}>>;
|
|
55
|
-
className: PropTypes.Requireable<string>;
|
|
56
|
-
breakpointUpper: PropTypes.Requireable<NonNullable<string | number>>;
|
|
57
|
-
themeColor: PropTypes.Requireable<string>;
|
|
58
|
-
};
|
|
59
|
-
defaultProps: {
|
|
60
|
-
menuData: any;
|
|
61
|
-
className: any;
|
|
62
|
-
breakpointUpper: string;
|
|
63
|
-
themeColor: string;
|
|
64
|
-
};
|
|
65
|
-
};
|
|
66
|
-
export default NavBar;
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
declare const _default: {
|
|
3
|
-
title: string;
|
|
4
|
-
};
|
|
5
|
-
export default _default;
|
|
6
|
-
export declare const _NavBar: {
|
|
7
|
-
(): React.JSX.Element;
|
|
8
|
-
story: {
|
|
9
|
-
name: string;
|
|
10
|
-
};
|
|
11
|
-
};
|
|
12
|
-
export declare const WithoutSearch: {
|
|
13
|
-
(): React.JSX.Element;
|
|
14
|
-
story: {
|
|
15
|
-
name: string;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
export declare const WithoutSecondaryMenu: {
|
|
19
|
-
(): React.JSX.Element;
|
|
20
|
-
story: {
|
|
21
|
-
name: string;
|
|
22
|
-
};
|
|
23
|
-
};
|
|
24
|
-
export declare const WithoutSearchAndSecondaryMenu: {
|
|
25
|
-
(): React.JSX.Element;
|
|
26
|
-
story: {
|
|
27
|
-
name: string;
|
|
28
|
-
};
|
|
29
|
-
};
|
|
30
|
-
export declare const WithoutSearchAndPrimaryMenu: {
|
|
31
|
-
(): React.JSX.Element;
|
|
32
|
-
story: {
|
|
33
|
-
name: string;
|
|
34
|
-
};
|
|
35
|
-
};
|
|
36
|
-
export declare const WithBrandingOnly: {
|
|
37
|
-
(): React.JSX.Element;
|
|
38
|
-
story: {
|
|
39
|
-
name: string;
|
|
40
|
-
};
|
|
41
|
-
};
|
|
42
|
-
export declare const WithCustomLinkComponents: {
|
|
43
|
-
(): React.JSX.Element;
|
|
44
|
-
story: {
|
|
45
|
-
name: string;
|
|
46
|
-
};
|
|
47
|
-
};
|
|
48
|
-
export declare const WithTextInTheMenu: {
|
|
49
|
-
(): React.JSX.Element;
|
|
50
|
-
story: {
|
|
51
|
-
name: string;
|
|
52
|
-
};
|
|
53
|
-
};
|
|
54
|
-
export declare const WithSubtext: {
|
|
55
|
-
(): React.JSX.Element;
|
|
56
|
-
story: {
|
|
57
|
-
name: string;
|
|
58
|
-
};
|
|
59
|
-
};
|
|
60
|
-
export declare const WithAlternativeBrandingLink: {
|
|
61
|
-
(): React.JSX.Element;
|
|
62
|
-
story: {
|
|
63
|
-
name: string;
|
|
64
|
-
};
|
|
65
|
-
};
|
|
66
|
-
export declare const WithAlternateThemeColor: {
|
|
67
|
-
(): React.JSX.Element;
|
|
68
|
-
story: {
|
|
69
|
-
name: string;
|
|
70
|
-
};
|
|
71
|
-
};
|
|
72
|
-
export declare const WithReactRouter: {
|
|
73
|
-
(): React.JSX.Element;
|
|
74
|
-
story: {
|
|
75
|
-
name: string;
|
|
76
|
-
};
|
|
77
|
-
};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import PropTypes from "prop-types";
|
|
3
|
-
declare const SubMenuTrigger: {
|
|
4
|
-
(props: any): React.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 +0,0 @@
|
|
|
1
|
-
export { default as NavBar } from "./NavBar";
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { SelectOptionProps } from "./SelectOption";
|
|
3
|
-
import { NDSOption } from "./Select";
|
|
4
|
-
export declare const errorList: string[];
|
|
5
|
-
export declare const options: NDSOption[];
|
|
6
|
-
export declare const partnerCompanyName: {
|
|
7
|
-
value: string;
|
|
8
|
-
label: string;
|
|
9
|
-
}[];
|
|
10
|
-
export declare const wrappingOptions: {
|
|
11
|
-
value: string;
|
|
12
|
-
label: string;
|
|
13
|
-
}[];
|
|
14
|
-
export declare const PCNList: {
|
|
15
|
-
value: string;
|
|
16
|
-
label: string;
|
|
17
|
-
}[];
|
|
18
|
-
export declare const getPhotos: () => Promise<any>;
|
|
19
|
-
export declare const CustomOption: ({ children, ...props }: SelectOptionProps) => React.JSX.Element;
|
package/dist/src/Select/lib.d.ts
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { Options, PropsValue } from "react-select";
|
|
2
|
-
import { NDSOption, NDSOptionValue } from "./Select";
|
|
3
|
-
export declare function calcOptionsLength(options: any): any;
|
|
4
|
-
export declare function flattenGroupedChildren(children: any): any;
|
|
5
|
-
export declare function isFocused({ props: { isFocused } }: {
|
|
6
|
-
props: {
|
|
7
|
-
isFocused: any;
|
|
8
|
-
};
|
|
9
|
-
}): boolean;
|
|
10
|
-
export declare function getCurrentIndex(children: any): number;
|
|
11
|
-
export declare function createGetHeight({ groupHeadingStyles, noOptionsMsgStyles, optionStyles, loadingMsgStyles }: {
|
|
12
|
-
groupHeadingStyles: any;
|
|
13
|
-
noOptionsMsgStyles: any;
|
|
14
|
-
optionStyles: any;
|
|
15
|
-
loadingMsgStyles: any;
|
|
16
|
-
}): (child: any) => any;
|
|
17
|
-
export declare function checkOptionsAreValid(options: Options<NDSOption>): void;
|
|
18
|
-
export declare function getOption(options: Options<NDSOption>, value: PropsValue<NDSOptionValue>): any;
|
|
19
|
-
export declare function getReactSelectValue(options: Options<NDSOption>, input: PropsValue<NDSOptionValue>): any;
|
|
20
|
-
export declare function extractValue(options: Options<NDSOption> | NDSOption, isMulti: boolean): NDSOptionValue[] | NDSOptionValue;
|