@nulogy/components 11.0.0-beta.5 → 11.1.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 +34732 -37203
- package/dist/main.module.js +34757 -37226
- package/dist/src/Alert/Alert.d.ts +1 -1
- 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/BottomSheet/BottomSheet.d.ts +23 -0
- package/dist/src/BottomSheet/BottomSheet.parts.d.ts +44 -0
- package/dist/src/BottomSheet/BottomSheet.styled.d.ts +38 -0
- package/dist/src/BottomSheet/BottomSheetProvider.d.ts +12 -0
- package/dist/src/BottomSheet/stories/BottomSheet.actions.story.d.ts +7 -0
- package/dist/src/BottomSheet/stories/BottomSheet.content.story.d.ts +7 -0
- package/dist/src/BottomSheet/stories/BottomSheet.features.story.d.ts +8 -0
- package/dist/src/BottomSheet/stories/BottomSheet.parts.story.d.ts +6 -0
- package/dist/src/BottomSheet/stories/BottomSheet.story.d.ts +6 -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 +11 -3
- 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 +8 -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 +2 -2
- package/dist/src/StatusIndicator/StatusIndicator.d.ts +1 -1
- package/dist/src/StyledProps/index.d.ts +5 -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/localized-date-fns.d.ts +1 -1
- package/dist/src/utils/noop.d.ts +5 -0
- package/dist/src/utils/story/dashed.d.ts +9 -0
- package/dist/src/utils/story/placeholder.d.ts +7 -0
- 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 +18 -15
- 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/DeprecatedComponent.d.ts +0 -2
- package/dist/src/utils/conditionallyRequiredProp.d.ts +0 -1
- package/dist/src/utils/dashed.d.ts +0 -6
- package/dist/src/utils/deprecatedProp.d.ts +0 -1
- package/dist/src/utils/story/simulatedAPIRequest.d.ts +0 -5
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import PropTypes from "prop-types";
|
|
3
2
|
import { RowType, Columns } from "./Table.types";
|
|
4
3
|
declare function TableFoot<ColumnMetadata>({ columns, rows, keyField, loading, compact, }: {
|
|
5
4
|
columns: Columns<ColumnMetadata>;
|
|
@@ -8,29 +7,4 @@ declare function TableFoot<ColumnMetadata>({ columns, rows, keyField, loading, c
|
|
|
8
7
|
loading?: boolean;
|
|
9
8
|
compact?: boolean;
|
|
10
9
|
}): React.JSX.Element;
|
|
11
|
-
declare namespace TableFoot {
|
|
12
|
-
var propTypes: {
|
|
13
|
-
columns: PropTypes.Validator<PropTypes.InferProps<{
|
|
14
|
-
align: PropTypes.Requireable<string>;
|
|
15
|
-
label: PropTypes.Requireable<string>;
|
|
16
|
-
dataKey: PropTypes.Requireable<PropTypes.Requireable<number> | PropTypes.Requireable<string>>;
|
|
17
|
-
key: PropTypes.Requireable<PropTypes.Requireable<number> | PropTypes.Requireable<string>>;
|
|
18
|
-
cellFormatter: PropTypes.Requireable<(...args: any[]) => any>;
|
|
19
|
-
cellRenderer: PropTypes.Requireable<(...args: any[]) => any>;
|
|
20
|
-
headerRenderer: PropTypes.Requireable<(...args: any[]) => any>;
|
|
21
|
-
width: PropTypes.Requireable<string>;
|
|
22
|
-
}>[]>;
|
|
23
|
-
rows: PropTypes.Validator<{
|
|
24
|
-
[x: string]: NonNullable<PropTypes.ReactNodeLike>;
|
|
25
|
-
}[]>;
|
|
26
|
-
keyField: PropTypes.Requireable<string>;
|
|
27
|
-
loading: PropTypes.Requireable<boolean>;
|
|
28
|
-
compact: PropTypes.Requireable<boolean>;
|
|
29
|
-
};
|
|
30
|
-
var defaultProps: {
|
|
31
|
-
keyField: string;
|
|
32
|
-
loading: boolean;
|
|
33
|
-
compact: boolean;
|
|
34
|
-
};
|
|
35
|
-
}
|
|
36
10
|
export default TableFoot;
|
package/dist/src/Tabs/Tab.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import {
|
|
2
|
+
import { ComponentVariant } from "../NDSProvider/ComponentVariantContext";
|
|
3
3
|
type TabButtonProps = React.ComponentPropsWithRef<"button"> & {
|
|
4
|
-
|
|
4
|
+
variant?: ComponentVariant;
|
|
5
5
|
selected?: boolean;
|
|
6
6
|
fullWidth?: boolean;
|
|
7
7
|
};
|
|
8
|
-
type TabProps = TabButtonProps & {
|
|
8
|
+
export type TabProps = TabButtonProps & {
|
|
9
9
|
label?: React.ReactNode;
|
|
10
10
|
};
|
|
11
|
-
declare const Tab: React.
|
|
11
|
+
declare const Tab: React.ForwardRefExoticComponent<Omit<TabProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
12
12
|
export default Tab;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const TabContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, import("../Box
|
|
1
|
+
declare const TabContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, import("../Box").BoxProps, never>;
|
|
2
2
|
export default TabContainer;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
+
type Side = "left" | "right";
|
|
2
3
|
type TabScrollIndicatorProps = {
|
|
3
|
-
onClick?:
|
|
4
|
-
side?:
|
|
4
|
+
onClick?: React.MouseEventHandler<HTMLButtonElement>;
|
|
5
|
+
side?: Side;
|
|
5
6
|
width?: string | number;
|
|
6
7
|
ariaLabelLeft?: string;
|
|
7
8
|
ariaLabelRight?: string;
|
|
8
9
|
};
|
|
9
|
-
declare const TabScrollIndicator: React.FC<TabScrollIndicatorProps
|
|
10
|
+
declare const TabScrollIndicator: React.FC<React.PropsWithChildren<TabScrollIndicatorProps>>;
|
|
10
11
|
export default TabScrollIndicator;
|
package/dist/src/Tabs/Tabs.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import {
|
|
2
|
+
import { ComponentVariant } from "../NDSProvider/ComponentVariantContext";
|
|
3
3
|
export type TabsProps = {
|
|
4
4
|
className?: string;
|
|
5
5
|
selectedIndex?: number;
|
|
6
|
-
|
|
6
|
+
variant?: ComponentVariant;
|
|
7
7
|
defaultSelectedIndex?: number;
|
|
8
8
|
renderTabContentOnlyWhenSelected?: boolean;
|
|
9
9
|
fitted?: boolean;
|
|
@@ -14,7 +14,8 @@ export type TabsState = {
|
|
|
14
14
|
};
|
|
15
15
|
declare class Tabs extends React.Component<TabsProps, TabsState> {
|
|
16
16
|
static contextType: React.Context<{
|
|
17
|
-
|
|
17
|
+
variant: ComponentVariant;
|
|
18
|
+
children?: React.ReactNode;
|
|
18
19
|
}>;
|
|
19
20
|
constructor(props: any);
|
|
20
21
|
getSelectedIndex(): any;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { SpaceProps } from "styled-system";
|
|
3
3
|
import { DefaultNDSThemeType } from "../theme.type";
|
|
4
|
-
import {
|
|
4
|
+
import { ComponentVariant } from "../NDSProvider/ComponentVariantContext";
|
|
5
5
|
export type StyledTextareaProps = React.ComponentPropsWithRef<"textarea"> & SpaceProps & {
|
|
6
|
-
|
|
6
|
+
variant?: ComponentVariant;
|
|
7
7
|
theme?: DefaultNDSThemeType;
|
|
8
8
|
errorMessage?: string;
|
|
9
9
|
errorList?: string[];
|
|
@@ -14,7 +14,7 @@ export type StyledTextareaProps = React.ComponentPropsWithRef<"textarea"> & Spac
|
|
|
14
14
|
declare const StyledTextarea: import("styled-components").StyledComponent<"textarea", import("styled-components").DefaultTheme, Omit<React.DetailedHTMLProps<React.TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>, "ref"> & {
|
|
15
15
|
ref?: React.Ref<HTMLTextAreaElement>;
|
|
16
16
|
} & SpaceProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol> & {
|
|
17
|
-
|
|
17
|
+
variant?: ComponentVariant;
|
|
18
18
|
theme?: DefaultNDSThemeType;
|
|
19
19
|
errorMessage?: string;
|
|
20
20
|
errorList?: string[];
|
|
@@ -12,4 +12,3 @@ export declare const WithErrorList: () => React.JSX.Element;
|
|
|
12
12
|
export declare const WithCustomNumberOfRows: () => React.JSX.Element;
|
|
13
13
|
export declare const WithCustomId: () => React.JSX.Element;
|
|
14
14
|
export declare const UsingRefToControlFocus: () => React.JSX.Element;
|
|
15
|
-
export declare const WithDifferentSizes: () => React.JSX.Element;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { SpaceProps } from "styled-system";
|
|
3
|
-
import {
|
|
3
|
+
import { ComponentVariant } from "../NDSProvider/ComponentVariantContext";
|
|
4
4
|
type TimePickerProps = SpaceProps & {
|
|
5
|
-
|
|
5
|
+
variant?: ComponentVariant;
|
|
6
6
|
disabled?: boolean;
|
|
7
7
|
value?: string;
|
|
8
8
|
timeFormat?: string;
|
|
@@ -38,5 +38,5 @@ export declare const getTimeOptions: (interval: any, timeFormat: any, minTime: a
|
|
|
38
38
|
value: string;
|
|
39
39
|
label: string;
|
|
40
40
|
}[];
|
|
41
|
-
declare const TimePicker: React.FC<TimePickerProps
|
|
41
|
+
declare const TimePicker: React.FC<React.PropsWithChildren<TimePickerProps>>;
|
|
42
42
|
export default TimePicker;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import {
|
|
2
|
+
import { ComponentVariant } from "../NDSProvider/ComponentVariantContext";
|
|
3
3
|
declare const TimePickerOption: import("styled-components").StyledComponent<"li", import("styled-components").DefaultTheme, React.ClassAttributes<HTMLLIElement> & React.LiHTMLAttributes<HTMLLIElement> & {
|
|
4
|
-
|
|
4
|
+
variant?: ComponentVariant;
|
|
5
5
|
isSelected: boolean;
|
|
6
6
|
isFocused: boolean;
|
|
7
7
|
isClosest: boolean;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { SpaceProps } from "styled-system";
|
|
3
|
-
import {
|
|
3
|
+
import { ComponentVariant } from "../NDSProvider/ComponentVariantContext";
|
|
4
4
|
declare const TimeRange: React.ForwardRefExoticComponent<Omit<SpaceProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol> & {
|
|
5
|
-
|
|
5
|
+
variant?: ComponentVariant;
|
|
6
6
|
timeFormat?: string;
|
|
7
7
|
onRangeChange?: Function;
|
|
8
8
|
onStartTimeChange?: Function;
|
|
@@ -32,15 +32,5 @@ export declare const toastAnimationConfig: {
|
|
|
32
32
|
};
|
|
33
33
|
};
|
|
34
34
|
};
|
|
35
|
-
export declare const Toast: {
|
|
36
|
-
({ triggered, onHide, onShow, isCloseable, children, showDuration, onHidden, zIndex, ...props }: ToastProps): React.JSX.Element;
|
|
37
|
-
defaultProps: {
|
|
38
|
-
triggered: boolean;
|
|
39
|
-
isCloseable: boolean;
|
|
40
|
-
showDuration: number;
|
|
41
|
-
onShow: () => void;
|
|
42
|
-
onHide: () => void;
|
|
43
|
-
onHidden: () => void;
|
|
44
|
-
};
|
|
45
|
-
};
|
|
35
|
+
export declare const Toast: ({ triggered, isCloseable, showDuration, onHide, onShow, children, onHidden, zIndex, ...props }: ToastProps) => React.JSX.Element;
|
|
46
36
|
export default Toast;
|
|
@@ -6,16 +6,5 @@ type ToastContainerProps = {
|
|
|
6
6
|
maxVisibleToasts?: number;
|
|
7
7
|
toastOptions?: ToastOptions;
|
|
8
8
|
} & Omit<ToasterProps, "gutter" | "toastOptions">;
|
|
9
|
-
declare const ToastContainer: {
|
|
10
|
-
({ gap, maxVisibleToasts, toastOptions, ...props }: ToastContainerProps): React.JSX.Element;
|
|
11
|
-
defaultProps: {
|
|
12
|
-
position: string;
|
|
13
|
-
reverseOrder: boolean;
|
|
14
|
-
containerClassName: string;
|
|
15
|
-
toastOptions: {
|
|
16
|
-
duration: number;
|
|
17
|
-
};
|
|
18
|
-
maxVisibleToasts: number;
|
|
19
|
-
};
|
|
20
|
-
};
|
|
9
|
+
declare const ToastContainer: ({ gap, position, reverseOrder, containerClassName, toastOptions, maxVisibleToasts, ...props }: ToastContainerProps) => React.JSX.Element;
|
|
21
10
|
export default ToastContainer;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { SpaceProps } from "styled-system";
|
|
3
|
-
import {
|
|
3
|
+
import { ComponentVariant } from "../NDSProvider/ComponentVariantContext";
|
|
4
4
|
import { DefaultNDSThemeType } from "../theme.type";
|
|
5
5
|
declare const ToggleComponent: React.ForwardRefExoticComponent<SpaceProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol> & {
|
|
6
6
|
onChange?: (...args: any[]) => any;
|
|
7
|
-
|
|
7
|
+
variant?: ComponentVariant;
|
|
8
8
|
toggled?: boolean;
|
|
9
9
|
disabled?: boolean;
|
|
10
10
|
onText?: string;
|
|
@@ -12,7 +12,7 @@ declare const ToggleComponent: React.ForwardRefExoticComponent<SpaceProps<Requir
|
|
|
12
12
|
id?: string;
|
|
13
13
|
className?: string;
|
|
14
14
|
required?: boolean;
|
|
15
|
-
helpText?:
|
|
15
|
+
helpText?: string;
|
|
16
16
|
labelText?: string;
|
|
17
17
|
requirementText?: string;
|
|
18
18
|
error?: boolean;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
export declare const WithDifferentSizes: () => React.JSX.Element;
|
|
3
2
|
declare const _default: {
|
|
4
3
|
title: string;
|
|
5
4
|
};
|
|
@@ -41,6 +40,7 @@ export declare const WithLongText: {
|
|
|
41
40
|
name: string;
|
|
42
41
|
};
|
|
43
42
|
};
|
|
43
|
+
export declare const WithContraintWidth: () => React.JSX.Element;
|
|
44
44
|
export declare const ControlledToggle: () => React.JSX.Element;
|
|
45
45
|
export declare const UsingRefToControlFocus: {
|
|
46
46
|
(): React.JSX.Element;
|
|
@@ -7,5 +7,5 @@ type ToggleButtonProps = React.ComponentPropsWithRef<"input"> & {
|
|
|
7
7
|
name?: string;
|
|
8
8
|
theme?: DefaultNDSThemeType;
|
|
9
9
|
};
|
|
10
|
-
declare const ToggleButton: React.
|
|
10
|
+
declare const ToggleButton: React.ForwardRefExoticComponent<Omit<ToggleButtonProps, "ref"> & React.RefAttributes<React.Ref<HTMLInputElement>>>;
|
|
11
11
|
export default ToggleButton;
|
|
@@ -9,5 +9,5 @@ export type TooltipProps = {
|
|
|
9
9
|
maxWidth?: string;
|
|
10
10
|
children?: React.ReactNode;
|
|
11
11
|
};
|
|
12
|
-
declare const Tooltip: React.
|
|
12
|
+
declare const Tooltip: React.ForwardRefExoticComponent<TooltipProps & React.RefAttributes<React.Ref<unknown>>>;
|
|
13
13
|
export default Tooltip;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PositionProps } from "styled-system";
|
|
2
2
|
import { DefaultNDSThemeType } from "../theme.type";
|
|
3
|
-
declare const TooltipContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, import("../Box
|
|
3
|
+
declare const TooltipContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, import("../Box").BoxProps & PositionProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> & {
|
|
4
4
|
theme?: DefaultNDSThemeType;
|
|
5
5
|
dataPlacement?: "top" | "bottom" | "left" | "right";
|
|
6
6
|
open?: boolean;
|
|
@@ -1,18 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import PropTypes from "prop-types";
|
|
3
2
|
import { TooltipProps } from "../Tooltip/Tooltip";
|
|
4
3
|
type MaybeTooltipProps = TooltipProps & {
|
|
5
4
|
showTooltip?: boolean;
|
|
6
5
|
};
|
|
7
|
-
declare const MaybeTooltip: {
|
|
8
|
-
({ children, showTooltip, ...props }: MaybeTooltipProps): React.JSX.Element;
|
|
9
|
-
propTypes: {
|
|
10
|
-
children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
11
|
-
showTooltip: PropTypes.Requireable<boolean>;
|
|
12
|
-
};
|
|
13
|
-
defaultProps: {
|
|
14
|
-
children: string;
|
|
15
|
-
showTooltip: boolean;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
6
|
+
declare const MaybeTooltip: ({ children, showTooltip, ...props }: MaybeTooltipProps) => React.JSX.Element;
|
|
18
7
|
export default MaybeTooltip;
|
|
@@ -1,27 +1,4 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import PropTypes from "prop-types";
|
|
3
2
|
import { TruncatedTextProps } from "./TruncatedTextProps";
|
|
4
|
-
declare const TruncatedText: {
|
|
5
|
-
({ fullWidth, children, ...props }: TruncatedTextProps): React.JSX.Element;
|
|
6
|
-
propTypes: {
|
|
7
|
-
children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
8
|
-
indicator: PropTypes.Requireable<string>;
|
|
9
|
-
element: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
10
|
-
maxCharacters: PropTypes.Requireable<number>;
|
|
11
|
-
showTooltip: PropTypes.Requireable<boolean>;
|
|
12
|
-
fullWidth: PropTypes.Requireable<boolean>;
|
|
13
|
-
"data-testid": PropTypes.Requireable<string>;
|
|
14
|
-
tooltipProps: PropTypes.Requireable<PropTypes.InferProps<{}>>;
|
|
15
|
-
};
|
|
16
|
-
defaultProps: {
|
|
17
|
-
children: any;
|
|
18
|
-
indicator: string;
|
|
19
|
-
element: React.JSX.Element;
|
|
20
|
-
maxCharacters: number;
|
|
21
|
-
fullWidth: boolean;
|
|
22
|
-
showTooltip: boolean;
|
|
23
|
-
"data-testid": string;
|
|
24
|
-
tooltipProps: any;
|
|
25
|
-
};
|
|
26
|
-
};
|
|
3
|
+
declare const TruncatedText: ({ indicator, element, maxCharacters, fullWidth, showTooltip, "data-testid": dataTestId, children, ...props }: TruncatedTextProps) => React.JSX.Element;
|
|
27
4
|
export default TruncatedText;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
import { ReactElement } from "react";
|
|
1
2
|
import { TooltipProps } from "../Tooltip/Tooltip";
|
|
2
3
|
import { TextProps } from "../Type";
|
|
3
4
|
export interface TruncatedTextProps extends TextProps {
|
|
4
5
|
children?: string;
|
|
5
6
|
indicator?: string;
|
|
6
|
-
element?:
|
|
7
|
+
element?: ReactElement;
|
|
7
8
|
maxCharacters?: number;
|
|
8
9
|
showTooltip?: boolean;
|
|
9
10
|
fullWidth?: boolean;
|
|
@@ -1,40 +1,36 @@
|
|
|
1
1
|
export declare const Heading1: import("styled-components").StyledComponent<"p", import("styled-components").DefaultTheme, import("react").HTMLAttributes<HTMLParagraphElement> & {
|
|
2
|
+
variant?: import("../NDSProvider/ComponentVariantContext").ComponentVariant;
|
|
2
3
|
inline?: boolean;
|
|
3
4
|
disabled?: boolean;
|
|
4
5
|
textTransform?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "capitalize" | "full-size-kana" | "full-width" | "lowercase" | "uppercase";
|
|
5
6
|
fontSize?: string;
|
|
6
7
|
} & import("../StyledProps").StyledProps & {
|
|
7
|
-
theme?: import("..").DefaultNDSThemeType;
|
|
8
|
-
} & {
|
|
9
8
|
as: string;
|
|
10
9
|
}, "as">;
|
|
11
10
|
export declare const Heading2: import("styled-components").StyledComponent<"p", import("styled-components").DefaultTheme, import("react").HTMLAttributes<HTMLParagraphElement> & {
|
|
11
|
+
variant?: import("../NDSProvider/ComponentVariantContext").ComponentVariant;
|
|
12
12
|
inline?: boolean;
|
|
13
13
|
disabled?: boolean;
|
|
14
14
|
textTransform?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "capitalize" | "full-size-kana" | "full-width" | "lowercase" | "uppercase";
|
|
15
15
|
fontSize?: string;
|
|
16
16
|
} & import("../StyledProps").StyledProps & {
|
|
17
|
-
theme?: import("..").DefaultNDSThemeType;
|
|
18
|
-
} & {
|
|
19
17
|
as: string;
|
|
20
18
|
}, "as">;
|
|
21
19
|
export declare const Heading3: import("styled-components").StyledComponent<"p", import("styled-components").DefaultTheme, import("react").HTMLAttributes<HTMLParagraphElement> & {
|
|
20
|
+
variant?: import("../NDSProvider/ComponentVariantContext").ComponentVariant;
|
|
22
21
|
inline?: boolean;
|
|
23
22
|
disabled?: boolean;
|
|
24
23
|
textTransform?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "capitalize" | "full-size-kana" | "full-width" | "lowercase" | "uppercase";
|
|
25
24
|
fontSize?: string;
|
|
26
25
|
} & import("../StyledProps").StyledProps & {
|
|
27
|
-
theme?: import("..").DefaultNDSThemeType;
|
|
28
|
-
} & {
|
|
29
26
|
as: string;
|
|
30
27
|
}, "as">;
|
|
31
28
|
export declare const Heading4: import("styled-components").StyledComponent<"p", import("styled-components").DefaultTheme, import("react").HTMLAttributes<HTMLParagraphElement> & {
|
|
29
|
+
variant?: import("../NDSProvider/ComponentVariantContext").ComponentVariant;
|
|
32
30
|
inline?: boolean;
|
|
33
31
|
disabled?: boolean;
|
|
34
32
|
textTransform?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "capitalize" | "full-size-kana" | "full-width" | "lowercase" | "uppercase";
|
|
35
33
|
fontSize?: string;
|
|
36
34
|
} & import("../StyledProps").StyledProps & {
|
|
37
|
-
theme?: import("..").DefaultNDSThemeType;
|
|
38
|
-
} & {
|
|
39
35
|
as: string;
|
|
40
36
|
}, "as">;
|
package/dist/src/Type/Text.d.ts
CHANGED
|
@@ -1,19 +1,17 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ComponentVariant } from "../NDSProvider/ComponentVariantContext";
|
|
2
2
|
import { StyledProps } from "../StyledProps";
|
|
3
3
|
export type TextProps = React.HTMLAttributes<HTMLParagraphElement> & {
|
|
4
|
+
variant?: ComponentVariant;
|
|
4
5
|
inline?: boolean;
|
|
5
6
|
disabled?: boolean;
|
|
6
7
|
textTransform?: "none" | "inherit" | "initial" | "-moz-initial" | "revert" | "unset" | "capitalize" | "full-size-kana" | "full-width" | "lowercase" | "uppercase" | undefined;
|
|
7
8
|
fontSize?: string;
|
|
8
|
-
} & StyledProps
|
|
9
|
-
theme?: DefaultNDSThemeType;
|
|
10
|
-
};
|
|
9
|
+
} & StyledProps;
|
|
11
10
|
declare const Text: import("styled-components").StyledComponent<"p", import("styled-components").DefaultTheme, import("react").HTMLAttributes<HTMLParagraphElement> & {
|
|
11
|
+
variant?: ComponentVariant;
|
|
12
12
|
inline?: boolean;
|
|
13
13
|
disabled?: boolean;
|
|
14
14
|
textTransform?: "none" | "inherit" | "initial" | "-moz-initial" | "revert" | "unset" | "capitalize" | "full-size-kana" | "full-width" | "lowercase" | "uppercase" | undefined;
|
|
15
15
|
fontSize?: string;
|
|
16
|
-
} & StyledProps
|
|
17
|
-
theme?: DefaultNDSThemeType;
|
|
18
|
-
}, never>;
|
|
16
|
+
} & StyledProps, never>;
|
|
19
17
|
export default Text;
|
|
@@ -6,5 +6,5 @@ type InlineValidationProps = SpaceProps & {
|
|
|
6
6
|
errorList?: string[];
|
|
7
7
|
children?: React.ReactNode;
|
|
8
8
|
};
|
|
9
|
-
|
|
10
|
-
export
|
|
9
|
+
export default function InlineValidation({ className, errorMessage, errorList, children, ...boxProps }: InlineValidationProps): React.JSX.Element;
|
|
10
|
+
export {};
|
package/dist/src/index.d.ts
CHANGED
|
@@ -26,13 +26,12 @@ export { List, ListItem } from "./List";
|
|
|
26
26
|
export { LoadingAnimation } from "./LoadingAnimation";
|
|
27
27
|
export { ALL_NDS_LOCALES } from "./locales.const";
|
|
28
28
|
export { Modal } from "./Modal";
|
|
29
|
-
export { NavBar } from "./NavBar";
|
|
30
29
|
export { NDSProvider } from "./NDSProvider";
|
|
31
30
|
export { Overlay } from "./Overlay";
|
|
32
31
|
export { Pagination } from "./Pagination";
|
|
33
32
|
export { Radio, RadioGroup } from "./Radio";
|
|
34
33
|
export { RangeContainer } from "./RangeContainer";
|
|
35
|
-
export { Select, SelectClearIndicator, SelectContainer, SelectControl, SelectDropdownIndicator, SelectInput, SelectMenu, SelectMultiValue, SelectOption,
|
|
34
|
+
export { Select, SelectClearIndicator, SelectContainer, SelectControl, SelectDropdownIndicator, SelectInput, SelectMenu, SelectMultiValue, SelectOption, } from "./Select";
|
|
36
35
|
export { SortingTable } from "./SortingTable";
|
|
37
36
|
export { StatusIndicator, StatusIndicatorValues } from "./StatusIndicator";
|
|
38
37
|
export type { StatusIndicatorType } from "./StatusIndicator";
|
|
@@ -44,7 +43,6 @@ export { Table } from "./Table";
|
|
|
44
43
|
export type { TableCellInfoType, TableColumnType, TableProps, TableRowType } from "./Table";
|
|
45
44
|
export { Tab, Tabs } from "./Tabs";
|
|
46
45
|
export { Textarea } from "./Textarea";
|
|
47
|
-
export { default as theme } from "./theme";
|
|
48
46
|
export type { ThemeType, DefaultNDSThemeType } from "./theme.type";
|
|
49
47
|
export { TimePicker } from "./TimePicker";
|
|
50
48
|
export { TimeRange } from "./TimeRange";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
export declare const NDS_TO_DATE_FN_LOCALES_MAP: {
|
|
2
|
-
de_DE: Locale;
|
|
3
|
-
en_US: Locale;
|
|
4
|
-
es_MX: Locale;
|
|
5
|
-
fr_FR: Locale;
|
|
6
|
-
nl_NL: Locale;
|
|
7
|
-
pl_PL: Locale;
|
|
8
|
-
pt_BR: Locale;
|
|
9
|
-
ro_RO: Locale;
|
|
10
|
-
zh_CN: Locale;
|
|
2
|
+
readonly de_DE: Locale;
|
|
3
|
+
readonly en_US: Locale;
|
|
4
|
+
readonly es_MX: Locale;
|
|
5
|
+
readonly fr_FR: Locale;
|
|
6
|
+
readonly nl_NL: Locale;
|
|
7
|
+
readonly pl_PL: Locale;
|
|
8
|
+
readonly pt_BR: Locale;
|
|
9
|
+
readonly ro_RO: Locale;
|
|
10
|
+
readonly zh_CN: Locale;
|
|
11
11
|
};
|
|
12
12
|
export declare const ALL_NDS_LOCALES: {
|
|
13
13
|
label: string;
|
|
@@ -3,6 +3,14 @@ declare const _default: {
|
|
|
3
3
|
title: string;
|
|
4
4
|
};
|
|
5
5
|
export default _default;
|
|
6
|
+
export declare const Static: {
|
|
7
|
+
(): React.JSX.Element;
|
|
8
|
+
parameters: {
|
|
9
|
+
chromatic: {
|
|
10
|
+
disable: boolean;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
};
|
|
6
14
|
export declare const Base: () => React.JSX.Element;
|
|
7
15
|
export declare const WithALink: {
|
|
8
16
|
(): React.JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/src/theme.d.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
export
|
|
1
|
+
import { DefaultNDSThemeType } from "./theme.type";
|
|
2
|
+
type ThemeKey = "desktop" | "tablet" | "phone";
|
|
3
|
+
export declare const themes: Record<ThemeKey, DefaultNDSThemeType>;
|
|
4
|
+
export declare const desktop: DefaultNDSThemeType, tablet: DefaultNDSThemeType, phone: DefaultNDSThemeType;
|
|
5
|
+
export {};
|
package/dist/src/theme.type.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { RecursivePartial } from "./utils/ts/recursivePartial";
|
|
1
2
|
interface Colors {
|
|
2
3
|
black: string;
|
|
3
4
|
blackBlue: string;
|
|
@@ -37,9 +38,12 @@ interface FontSizes {
|
|
|
37
38
|
}
|
|
38
39
|
interface LineHeights {
|
|
39
40
|
base: string;
|
|
41
|
+
baseRelaxed: string;
|
|
40
42
|
smallTextBase: string;
|
|
43
|
+
smallRelaxed: string;
|
|
41
44
|
smallTextCompressed: string;
|
|
42
45
|
smallerText: string;
|
|
46
|
+
smallerRelaxed: string;
|
|
43
47
|
heading1: string;
|
|
44
48
|
heading2: string;
|
|
45
49
|
heading3: string;
|
|
@@ -57,12 +61,21 @@ interface FontWeights {
|
|
|
57
61
|
interface Space {
|
|
58
62
|
none: string;
|
|
59
63
|
half: string;
|
|
64
|
+
x0: string;
|
|
65
|
+
x0_25: string;
|
|
66
|
+
x0_5: string;
|
|
67
|
+
x0_75: string;
|
|
60
68
|
x1: string;
|
|
69
|
+
x1_25: string;
|
|
70
|
+
x1_5: string;
|
|
71
|
+
x1_75: string;
|
|
61
72
|
x2: string;
|
|
73
|
+
x2_5: string;
|
|
62
74
|
x3: string;
|
|
63
75
|
x4: string;
|
|
64
76
|
x5: string;
|
|
65
77
|
x6: string;
|
|
78
|
+
x7: string;
|
|
66
79
|
x8: string;
|
|
67
80
|
}
|
|
68
81
|
interface Fonts {
|
|
@@ -81,7 +94,9 @@ interface Shadows {
|
|
|
81
94
|
interface Radii {
|
|
82
95
|
small: string;
|
|
83
96
|
medium: string;
|
|
97
|
+
large: string;
|
|
84
98
|
circle: string;
|
|
99
|
+
rounded: string;
|
|
85
100
|
}
|
|
86
101
|
export interface Breakpoints {
|
|
87
102
|
extraSmall: string;
|
|
@@ -116,8 +131,5 @@ export interface DefaultNDSThemeType {
|
|
|
116
131
|
breakpoints: Breakpoints;
|
|
117
132
|
zIndices: ZIndices;
|
|
118
133
|
}
|
|
119
|
-
type RecursivePartial<T> = {
|
|
120
|
-
[P in keyof T]?: RecursivePartial<T[P]>;
|
|
121
|
-
};
|
|
122
134
|
export type ThemeType = RecursivePartial<DefaultNDSThemeType>;
|
|
123
135
|
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ComponentVariant } from "../NDSProvider/ComponentVariantContext";
|
|
2
2
|
declare const ClickInputLabel: import("styled-components").StyledComponent<"label", import("styled-components").DefaultTheme, {
|
|
3
|
-
|
|
4
|
-
disabled
|
|
3
|
+
variant?: ComponentVariant;
|
|
4
|
+
disabled?: boolean;
|
|
5
5
|
}, never>;
|
|
6
6
|
export default ClickInputLabel;
|
|
@@ -1,23 +1,8 @@
|
|
|
1
|
-
export default DetectOutsideClick
|
|
2
|
-
declare class DetectOutsideClick extends React.Component<any, any, any> {
|
|
1
|
+
export default class DetectOutsideClick extends React.Component<any, any, any> {
|
|
3
2
|
constructor(props: any);
|
|
4
3
|
handleOutsideClick(e: any): void;
|
|
5
4
|
componentDidMount(): void;
|
|
6
5
|
componentWillUnmount(): void;
|
|
7
6
|
render(): React.JSX.Element;
|
|
8
7
|
}
|
|
9
|
-
declare namespace DetectOutsideClick {
|
|
10
|
-
namespace propTypes {
|
|
11
|
-
const onClick: PropTypes.Validator<(...args: any[]) => any>;
|
|
12
|
-
const clickRef: PropTypes.Requireable<NonNullable<PropTypes.InferProps<{}>>>;
|
|
13
|
-
const children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
14
|
-
}
|
|
15
|
-
namespace defaultProps {
|
|
16
|
-
const clickRef_1: any;
|
|
17
|
-
export { clickRef_1 as clickRef };
|
|
18
|
-
const children_1: any;
|
|
19
|
-
export { children_1 as children };
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
8
|
import React from "react";
|
|
23
|
-
import PropTypes from "prop-types";
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { PopperArrowProps as ReactPopperArrowProps } from "react-popper";
|
|
3
|
-
|
|
3
|
+
declare const PopperArrow: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, ReactPopperArrowProps & {
|
|
4
4
|
placement?: string;
|
|
5
5
|
borderColor?: string;
|
|
6
6
|
backgroundColor?: string;
|
|
7
|
-
}
|
|
8
|
-
|
|
7
|
+
} & {
|
|
8
|
+
children?: import("react").ReactNode;
|
|
9
|
+
}, never>;
|
|
9
10
|
export default PopperArrow;
|