@nulogy/components 8.14.2 → 8.14.4
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 +1 -0
- package/dist/main.module.js +1 -0
- package/dist/src/Alert/Alert.d.ts +2 -1
- package/dist/src/Alert/Alert.story.d.ts +8 -7
- package/dist/src/Alert/CloseButton.d.ts +2 -1
- package/dist/src/AsyncSelect/AsyncSelect.story.d.ts +7 -6
- package/dist/src/Banner/Banner.d.ts +2 -2
- package/dist/src/Banner/Banner.story.d.ts +7 -6
- package/dist/src/Box/Box.story.d.ts +13 -12
- package/dist/src/BrandedNavBar/BrandLogoContainer.d.ts +1 -1
- package/dist/src/BrandedNavBar/EnvironmentBanner.d.ts +1 -1
- package/dist/src/BrandedNavBar/MenuTrigger.d.ts +1 -1
- package/dist/src/BrandedNavBar/MenuTriggerButton.d.ts +1 -1
- package/dist/src/BrandedNavBar/NavBar.d.ts +2 -1
- package/dist/src/BrandedNavBar/NavBar.story.d.ts +15 -14
- package/dist/src/BrandedNavBar/NavBarDropdownMenu.d.ts +1 -17
- package/dist/src/BrandedNavBar/NulogyLogo.d.ts +2 -1
- package/dist/src/BrandedNavBar/NulogyLogoContainer.d.ts +2 -1
- package/dist/src/BrandedNavBar/SmallNavBar.story.d.ts +9 -8
- package/dist/src/BrandedNavBar/SubMenuTrigger.d.ts +1 -1
- package/dist/src/BrandedNavBar/SubMenuTriggerButton.d.ts +1 -1
- package/dist/src/Branding/Branding.d.ts +2 -1
- package/dist/src/Branding/Branding.story.d.ts +2 -1
- package/dist/src/Breadcrumbs/Breadcrumbs.story.d.ts +5 -4
- package/dist/src/Button/Button.story.d.ts +10 -9
- package/dist/src/Button/CloseButton.d.ts +1 -1
- package/dist/src/Button/ControlIcon.d.ts +2 -2
- package/dist/src/Button/ControlIcon.story.d.ts +4 -3
- package/dist/src/Button/IconicButton.story.d.ts +16 -15
- package/dist/src/ButtonGroup/ButtonGroup.story.d.ts +6 -5
- package/dist/src/Card/Card.story.d.ts +4 -3
- package/dist/src/Checkbox/Checkbox.story.d.ts +13 -12
- package/dist/src/Checkbox/CheckboxGroup.story.d.ts +7 -6
- package/dist/src/DatePicker/DatePicker.story.d.ts +9 -8
- package/dist/src/DateRange/DateRange.story.d.ts +14 -13
- package/dist/src/Divider/Divider.d.ts +2 -1
- package/dist/src/Divider/Divider.story.d.ts +3 -2
- package/dist/src/DropdownMenu/DropdownButton.d.ts +1 -1
- package/dist/src/DropdownMenu/DropdownMenu.story.d.ts +12 -11
- package/dist/src/FieldLabel/FieldLabel.d.ts +2 -1
- package/dist/src/FieldLabel/FieldLabel.story.d.ts +6 -5
- package/dist/src/FieldLabel/MaybeFieldLabel.d.ts +2 -1
- package/dist/src/FieldLabel/RequirementText.d.ts +2 -1
- package/dist/src/Flex/Flex.story.d.ts +21 -20
- package/dist/src/Form/Form.d.ts +1 -1
- package/dist/src/Form/Form.story.d.ts +6 -5
- package/dist/src/Icon/Icon.d.ts +1 -1
- package/dist/src/Icon/Icon.story.d.ts +7 -6
- package/dist/src/Input/Input.story.d.ts +11 -10
- package/dist/src/Input/Prefix.d.ts +2 -1
- package/dist/src/Input/Suffix.d.ts +2 -1
- package/dist/src/Layout/ApplicationFrame.d.ts +1 -1
- package/dist/src/Layout/ApplicationFrame.story.d.ts +2 -1
- package/dist/src/Layout/Header.story.d.ts +9 -8
- package/dist/src/Layout/Page.story.d.ts +6 -5
- package/dist/src/Layout/Sidebar.story.d.ts +8 -7
- package/dist/src/Link/Link.d.ts +2 -2
- package/dist/src/Link/Link.story.d.ts +9 -8
- package/dist/src/List/List.story.d.ts +6 -5
- package/dist/src/LoadingAnimation/LoadingAnimation.story.d.ts +5 -4
- package/dist/src/Modal/Modal.story.d.ts +12 -11
- package/dist/src/Modal/ModalCloseButton.d.ts +1 -1
- package/dist/src/NavBar/DesktopMenu.d.ts +2 -1
- package/dist/src/NavBar/MenuTrigger.d.ts +2 -1
- package/dist/src/NavBar/MobileMenu.d.ts +2 -1
- package/dist/src/NavBar/NavBar.d.ts +3 -3
- package/dist/src/NavBar/NavBar.story.d.ts +13 -12
- package/dist/src/NavBar/NavBarDropdownMenu.d.ts +1 -1
- package/dist/src/NavBar/SmallNavBar.d.ts +1 -1
- package/dist/src/NavBar/SubMenuTrigger.d.ts +2 -1
- package/dist/src/NavBarSearch/NavBarSearch.d.ts +2 -1
- package/dist/src/Overlay/Overlay.story.d.ts +3 -2
- package/dist/src/Pagination/NextButton.d.ts +2 -1
- package/dist/src/Pagination/Pagination.story.d.ts +5 -4
- package/dist/src/Pagination/PreviousButton.d.ts +2 -1
- package/dist/src/Radio/Radio.story.d.ts +9 -8
- package/dist/src/Radio/RadioGroup.d.ts +2 -1
- package/dist/src/Radio/RadioGroup.story.d.ts +7 -6
- package/dist/src/RangeContainer/RangeContainer.story.d.ts +2 -1
- package/dist/src/Select/Select.d.ts +1 -1
- package/dist/src/Select/Select.story.d.ts +23 -22
- package/dist/src/Select/SelectComponents.d.ts +8 -7
- package/dist/src/Select/SelectOption.d.ts +2 -1
- package/dist/src/SortingTable/SortingTable.story.d.ts +1 -1
- package/dist/src/StatusIndicator/StatusIndicator.story.d.ts +11 -10
- package/dist/src/Summary/Summary.story.d.ts +3 -2
- package/dist/src/Summary/SummaryDivider.d.ts +2 -1
- package/dist/src/Switcher/Switch.d.ts +1 -1
- package/dist/src/Switcher/Switcher.story.d.ts +5 -4
- package/dist/src/Table/BaseTable.story.d.ts +12 -11
- package/dist/src/Table/SortingColumnHeader.d.ts +2 -1
- package/dist/src/Table/SortingColumnHeader.story.d.ts +2 -1
- package/dist/src/Table/StatefulTable.d.ts +2 -2
- package/dist/src/Table/Table.d.ts +3 -2
- package/dist/src/Table/Table.story.d.ts +4 -3
- package/dist/src/Table/TableBody.d.ts +2 -1
- package/dist/src/Table/TableFoot.d.ts +2 -1
- package/dist/src/Table/TableWithCustomSorting.story.d.ts +2 -1
- package/dist/src/Table/TableWithExpandableRows.story.d.ts +3 -2
- package/dist/src/Table/TableWithFiltering.story.d.ts +3 -2
- package/dist/src/Table/TableWithSelectableRows.story.d.ts +3 -2
- package/dist/src/Table/TableWithServerSidePagination.story.d.ts +2 -1
- package/dist/src/Tabs/TabScrollIndicators.d.ts +1 -1
- package/dist/src/Tabs/Tabs.d.ts +2 -2
- package/dist/src/Tabs/Tabs.story.d.ts +12 -11
- package/dist/src/Textarea/StyledTextarea.d.ts +1 -1
- package/dist/src/Textarea/Textarea.story.d.ts +11 -10
- package/dist/src/TimePicker/TimePicker.story.d.ts +12 -11
- package/dist/src/TimePicker/TimePickerInput.d.ts +13 -9
- package/dist/src/TimeRange/TimeRange.d.ts +2 -2
- package/dist/src/TimeRange/TimeRange.story.d.ts +6 -5
- package/dist/src/Toast/Toast.d.ts +2 -1
- package/dist/src/Toast/Toast.story.d.ts +8 -7
- package/dist/src/ToastContainer/ToastContainer.d.ts +2 -1
- package/dist/src/ToastContainer/ToastContainer.story.d.ts +2 -1
- package/dist/src/Toggle/Toggle.d.ts +1 -1
- package/dist/src/Toggle/Toggle.story.d.ts +11 -10
- package/dist/src/Tokens/Tokens.story.d.ts +10 -9
- package/dist/src/Tooltip/Tooltip.story.d.ts +11 -10
- package/dist/src/TruncatedText/MaybeTooltip.d.ts +2 -1
- package/dist/src/TruncatedText/TruncatedText.d.ts +3 -2
- package/dist/src/TruncatedText/TruncatedText.story.d.ts +9 -8
- package/dist/src/TruncatedText/TruncatedTextFillWidth.d.ts +2 -1
- package/dist/src/TruncatedText/TruncatedTextMaxCharacters.d.ts +2 -1
- package/dist/src/Type/Headings.story.d.ts +6 -5
- package/dist/src/Type/Text.story.d.ts +7 -6
- package/dist/src/Type/Typography.story.d.ts +2 -1
- package/dist/src/Validation/InlineValidation.story.d.ts +5 -4
- package/dist/src/Validation/mapErrorsToList.d.ts +2 -1
- package/dist/src/VisualTests/Select.story.d.ts +7 -6
- package/dist/src/VisualTests/WithSpace.story.d.ts +19 -18
- package/dist/src/pages/ErrorPage.story.d.ts +4 -3
- package/dist/src/pages/LoginPage.story.d.ts +6 -5
- package/dist/src/utils/DeprecatedComponent.d.ts +2 -1
- package/dist/src/utils/DetectOutsideClick.d.ts +1 -1
- package/dist/src/utils/PreventBodyElementScrolling.d.ts +1 -1
- package/dist/src/utils/ScrollIndicators.d.ts +1 -1
- package/dist/src/utils/useWindowDimension.story.d.ts +2 -1
- package/dist/src/utils/withWindowDimensions.d.ts +2 -1
- package/package.json +6 -6
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
import PropTypes from "prop-types";
|
|
2
3
|
declare const TableFoot: {
|
|
3
4
|
({ columns, rows, keyField, loading, compact }: {
|
|
@@ -6,7 +7,7 @@ declare const TableFoot: {
|
|
|
6
7
|
keyField: any;
|
|
7
8
|
loading: any;
|
|
8
9
|
compact: any;
|
|
9
|
-
}): JSX.Element;
|
|
10
|
+
}): React.JSX.Element;
|
|
10
11
|
propTypes: {
|
|
11
12
|
columns: PropTypes.Validator<PropTypes.InferProps<{
|
|
12
13
|
align: PropTypes.Requireable<string>;
|
|
@@ -2,13 +2,13 @@ declare namespace _default {
|
|
|
2
2
|
const title: string;
|
|
3
3
|
}
|
|
4
4
|
export default _default;
|
|
5
|
-
export function WithExpandableRows(): JSX.Element;
|
|
5
|
+
export function WithExpandableRows(): React.JSX.Element;
|
|
6
6
|
export namespace WithExpandableRows {
|
|
7
7
|
namespace story {
|
|
8
8
|
const name: string;
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
|
-
export function WithRowsExpandedByDefault(): JSX.Element;
|
|
11
|
+
export function WithRowsExpandedByDefault(): React.JSX.Element;
|
|
12
12
|
export namespace WithRowsExpandedByDefault {
|
|
13
13
|
export namespace story_1 {
|
|
14
14
|
const name_1: string;
|
|
@@ -16,3 +16,4 @@ export namespace WithRowsExpandedByDefault {
|
|
|
16
16
|
}
|
|
17
17
|
export { story_1 as story };
|
|
18
18
|
}
|
|
19
|
+
import React from "react";
|
|
@@ -1,15 +1,16 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
declare const _default: {
|
|
2
3
|
title: string;
|
|
3
4
|
};
|
|
4
5
|
export default _default;
|
|
5
6
|
export declare const WithFiltering: {
|
|
6
|
-
(): JSX.Element;
|
|
7
|
+
(): React.JSX.Element;
|
|
7
8
|
story: {
|
|
8
9
|
name: string;
|
|
9
10
|
};
|
|
10
11
|
};
|
|
11
12
|
export declare const WithFilteringAndPagination: {
|
|
12
|
-
(): JSX.Element;
|
|
13
|
+
(): React.JSX.Element;
|
|
13
14
|
story: {
|
|
14
15
|
name: string;
|
|
15
16
|
};
|
|
@@ -1,15 +1,16 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
declare const _default: {
|
|
2
3
|
title: string;
|
|
3
4
|
};
|
|
4
5
|
export default _default;
|
|
5
6
|
export declare const WithSelectableRows: {
|
|
6
|
-
(): JSX.Element;
|
|
7
|
+
(): React.JSX.Element;
|
|
7
8
|
story: {
|
|
8
9
|
name: string;
|
|
9
10
|
};
|
|
10
11
|
};
|
|
11
12
|
export declare const WithPreselectedRows: {
|
|
12
|
-
(): JSX.Element;
|
|
13
|
+
(): React.JSX.Element;
|
|
13
14
|
story: {
|
|
14
15
|
name: string;
|
|
15
16
|
};
|
|
@@ -25,6 +25,6 @@ declare class TabScrollIndicators extends React.Component<TabScrollIndicatorsPro
|
|
|
25
25
|
conditionallyUpdateState(): void;
|
|
26
26
|
handleIndicatorClick(side: any): void;
|
|
27
27
|
applyScrollLeft(scrollLeft: any): void;
|
|
28
|
-
render(): JSX.Element;
|
|
28
|
+
render(): React.JSX.Element;
|
|
29
29
|
}
|
|
30
30
|
export default TabScrollIndicators;
|
package/dist/src/Tabs/Tabs.d.ts
CHANGED
|
@@ -19,8 +19,8 @@ declare class Tabs extends React.Component<TabsProps, TabsState> {
|
|
|
19
19
|
constructor(props: any);
|
|
20
20
|
getSelectedIndex(): any;
|
|
21
21
|
getTabs(setFocusToTab: any, focusedIndex: any, handleArrowNavigation: any): React.DetailedReactHTMLElement<any, HTMLElement>[];
|
|
22
|
-
getTabContent(): JSX.Element[];
|
|
22
|
+
getTabContent(): React.JSX.Element[];
|
|
23
23
|
handleTabClick(index: any): void;
|
|
24
|
-
render(): JSX.Element;
|
|
24
|
+
render(): React.JSX.Element;
|
|
25
25
|
}
|
|
26
26
|
export default Tabs;
|
|
@@ -1,29 +1,30 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
declare const _default: {
|
|
2
3
|
title: string;
|
|
3
4
|
};
|
|
4
5
|
export default _default;
|
|
5
|
-
export declare const _Tabs: () => JSX.Element;
|
|
6
|
+
export declare const _Tabs: () => React.JSX.Element;
|
|
6
7
|
export declare const WithADefaultSelectedIndex: {
|
|
7
|
-
(): JSX.Element;
|
|
8
|
+
(): React.JSX.Element;
|
|
8
9
|
story: {
|
|
9
10
|
name: string;
|
|
10
11
|
};
|
|
11
12
|
};
|
|
12
|
-
export declare const WithOtherInteractiveElements: () => JSX.Element;
|
|
13
|
+
export declare const WithOtherInteractiveElements: () => React.JSX.Element;
|
|
13
14
|
export declare const SetToFitted: {
|
|
14
|
-
(): JSX.Element;
|
|
15
|
+
(): React.JSX.Element;
|
|
15
16
|
story: {
|
|
16
17
|
name: string;
|
|
17
18
|
};
|
|
18
19
|
};
|
|
19
20
|
export declare const WithAllTabStates: {
|
|
20
|
-
(): JSX.Element;
|
|
21
|
+
(): React.JSX.Element;
|
|
21
22
|
story: {
|
|
22
23
|
name: string;
|
|
23
24
|
};
|
|
24
25
|
};
|
|
25
26
|
export declare const WithScrollingTabs: {
|
|
26
|
-
(): JSX.Element;
|
|
27
|
+
(): React.JSX.Element;
|
|
27
28
|
story: {
|
|
28
29
|
name: string;
|
|
29
30
|
parameters: {
|
|
@@ -34,22 +35,22 @@ export declare const WithScrollingTabs: {
|
|
|
34
35
|
};
|
|
35
36
|
};
|
|
36
37
|
export declare const Controlled: {
|
|
37
|
-
(): JSX.Element;
|
|
38
|
+
(): React.JSX.Element;
|
|
38
39
|
story: {
|
|
39
40
|
name: string;
|
|
40
41
|
};
|
|
41
42
|
};
|
|
42
43
|
export declare const WithInputs: {
|
|
43
|
-
(): JSX.Element;
|
|
44
|
+
(): React.JSX.Element;
|
|
44
45
|
story: {
|
|
45
46
|
name: string;
|
|
46
47
|
};
|
|
47
48
|
};
|
|
48
49
|
export declare const WithContentLoadedOnSelection: {
|
|
49
|
-
(): JSX.Element;
|
|
50
|
+
(): React.JSX.Element;
|
|
50
51
|
story: {
|
|
51
52
|
name: string;
|
|
52
53
|
};
|
|
53
54
|
};
|
|
54
|
-
export declare const WithConditionallyRenderedTabs: () => JSX.Element;
|
|
55
|
-
export declare const WithDifferentSizes: () => JSX.Element;
|
|
55
|
+
export declare const WithConditionallyRenderedTabs: () => React.JSX.Element;
|
|
56
|
+
export declare const WithDifferentSizes: () => React.JSX.Element;
|
|
@@ -11,7 +11,7 @@ export type StyledTextareaProps = React.ComponentPropsWithRef<"textarea"> & Spac
|
|
|
11
11
|
rows?: number;
|
|
12
12
|
isResizeable?: boolean;
|
|
13
13
|
};
|
|
14
|
-
declare const StyledTextarea: import("styled-components").StyledComponent<"textarea", import("styled-components").DefaultTheme,
|
|
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
|
size?: ComponentSize;
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
declare const _default: {
|
|
2
3
|
title: string;
|
|
3
4
|
};
|
|
4
5
|
export default _default;
|
|
5
|
-
export declare const _Textarea: () => JSX.Element;
|
|
6
|
-
export declare const TextareaWithAllProps: () => JSX.Element;
|
|
7
|
-
export declare const SetToDisabled: () => JSX.Element;
|
|
8
|
-
export declare const WithNoResizing: () => JSX.Element;
|
|
9
|
-
export declare const WithErrorMessage: () => JSX.Element;
|
|
10
|
-
export declare const WithErrorList: () => JSX.Element;
|
|
11
|
-
export declare const WithCustomNumberOfRows: () => JSX.Element;
|
|
12
|
-
export declare const WithCustomId: () => JSX.Element;
|
|
13
|
-
export declare const UsingRefToControlFocus: () => JSX.Element;
|
|
14
|
-
export declare const WithDifferentSizes: () => JSX.Element;
|
|
6
|
+
export declare const _Textarea: () => React.JSX.Element;
|
|
7
|
+
export declare const TextareaWithAllProps: () => React.JSX.Element;
|
|
8
|
+
export declare const SetToDisabled: () => React.JSX.Element;
|
|
9
|
+
export declare const WithNoResizing: () => React.JSX.Element;
|
|
10
|
+
export declare const WithErrorMessage: () => React.JSX.Element;
|
|
11
|
+
export declare const WithErrorList: () => React.JSX.Element;
|
|
12
|
+
export declare const WithCustomNumberOfRows: () => React.JSX.Element;
|
|
13
|
+
export declare const WithCustomId: () => React.JSX.Element;
|
|
14
|
+
export declare const UsingRefToControlFocus: () => React.JSX.Element;
|
|
15
|
+
export declare const WithDifferentSizes: () => React.JSX.Element;
|
|
@@ -1,65 +1,66 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
declare const _default: {
|
|
2
3
|
title: string;
|
|
3
4
|
};
|
|
4
5
|
export default _default;
|
|
5
6
|
export declare const Default: {
|
|
6
|
-
(): JSX.Element;
|
|
7
|
+
(): React.JSX.Element;
|
|
7
8
|
story: {
|
|
8
9
|
name: string;
|
|
9
10
|
};
|
|
10
11
|
};
|
|
11
12
|
export declare const WithCustomTimeFormat: {
|
|
12
|
-
(): JSX.Element;
|
|
13
|
+
(): React.JSX.Element;
|
|
13
14
|
story: {
|
|
14
15
|
name: string;
|
|
15
16
|
};
|
|
16
17
|
};
|
|
17
18
|
export declare const WithCustomTimeInterval: {
|
|
18
|
-
(): JSX.Element;
|
|
19
|
+
(): React.JSX.Element;
|
|
19
20
|
story: {
|
|
20
21
|
name: string;
|
|
21
22
|
};
|
|
22
23
|
};
|
|
23
24
|
export declare const WithCustomPlaceholder: {
|
|
24
|
-
(): JSX.Element;
|
|
25
|
+
(): React.JSX.Element;
|
|
25
26
|
story: {
|
|
26
27
|
name: string;
|
|
27
28
|
};
|
|
28
29
|
};
|
|
29
30
|
export declare const disabled: {
|
|
30
|
-
(): JSX.Element;
|
|
31
|
+
(): React.JSX.Element;
|
|
31
32
|
story: {
|
|
32
33
|
name: string;
|
|
33
34
|
};
|
|
34
35
|
};
|
|
35
36
|
export declare const WithErrorState: {
|
|
36
|
-
(): JSX.Element;
|
|
37
|
+
(): React.JSX.Element;
|
|
37
38
|
story: {
|
|
38
39
|
name: string;
|
|
39
40
|
};
|
|
40
41
|
};
|
|
41
42
|
export declare const WithMinAndMaxTime: {
|
|
42
|
-
(): JSX.Element;
|
|
43
|
+
(): React.JSX.Element;
|
|
43
44
|
story: {
|
|
44
45
|
name: string;
|
|
45
46
|
};
|
|
46
47
|
};
|
|
47
48
|
export declare const WithCustomDefault: {
|
|
48
|
-
(): JSX.Element;
|
|
49
|
+
(): React.JSX.Element;
|
|
49
50
|
story: {
|
|
50
51
|
name: string;
|
|
51
52
|
};
|
|
52
53
|
};
|
|
53
54
|
export declare const WithValue: {
|
|
54
|
-
(): JSX.Element;
|
|
55
|
+
(): React.JSX.Element;
|
|
55
56
|
story: {
|
|
56
57
|
name: string;
|
|
57
58
|
};
|
|
58
59
|
};
|
|
59
60
|
export declare const UsingRefToControlFocus: {
|
|
60
|
-
(): JSX.Element;
|
|
61
|
+
(): React.JSX.Element;
|
|
61
62
|
story: {
|
|
62
63
|
name: string;
|
|
63
64
|
};
|
|
64
65
|
};
|
|
65
|
-
export declare const WithDifferentSizes: () => JSX.Element;
|
|
66
|
+
export declare const WithDifferentSizes: () => React.JSX.Element;
|
|
@@ -11,12 +11,11 @@ declare const TimePickerInput: import("styled-components").StyledComponent<impor
|
|
|
11
11
|
accept?: string;
|
|
12
12
|
alt?: string;
|
|
13
13
|
autoComplete?: string;
|
|
14
|
-
|
|
15
|
-
capture?: string | boolean;
|
|
14
|
+
capture?: boolean | "user" | "environment";
|
|
16
15
|
checked?: boolean;
|
|
17
|
-
crossOrigin?:
|
|
16
|
+
crossOrigin?: "" | "anonymous" | "use-credentials";
|
|
18
17
|
disabled?: boolean;
|
|
19
|
-
enterKeyHint?: "
|
|
18
|
+
enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send";
|
|
20
19
|
formAction?: string;
|
|
21
20
|
formEncType?: string;
|
|
22
21
|
formMethod?: string;
|
|
@@ -35,7 +34,7 @@ declare const TimePickerInput: import("styled-components").StyledComponent<impor
|
|
|
35
34
|
required?: boolean;
|
|
36
35
|
src?: string;
|
|
37
36
|
step?: string | number;
|
|
38
|
-
type?:
|
|
37
|
+
type?: import("react").HTMLInputTypeAttribute;
|
|
39
38
|
value?: string | number | readonly string[];
|
|
40
39
|
width?: string | number;
|
|
41
40
|
onChange?: import("react").ChangeEventHandler<HTMLInputElement>;
|
|
@@ -44,25 +43,30 @@ declare const TimePickerInput: import("styled-components").StyledComponent<impor
|
|
|
44
43
|
suppressContentEditableWarning?: boolean;
|
|
45
44
|
suppressHydrationWarning?: boolean;
|
|
46
45
|
accessKey?: string;
|
|
46
|
+
autoFocus?: boolean;
|
|
47
47
|
className?: string;
|
|
48
|
-
contentEditable?:
|
|
48
|
+
contentEditable?: (boolean | "true" | "false") | "inherit";
|
|
49
49
|
contextMenu?: string;
|
|
50
50
|
dir?: string;
|
|
51
51
|
draggable?: boolean | "true" | "false";
|
|
52
52
|
hidden?: boolean;
|
|
53
53
|
id?: string;
|
|
54
54
|
lang?: string;
|
|
55
|
+
nonce?: string;
|
|
55
56
|
spellCheck?: boolean | "true" | "false";
|
|
56
57
|
tabIndex?: number;
|
|
57
58
|
translate?: "yes" | "no";
|
|
58
59
|
radioGroup?: string;
|
|
59
60
|
role?: import("react").AriaRole;
|
|
60
61
|
about?: string;
|
|
62
|
+
content?: string;
|
|
61
63
|
datatype?: string;
|
|
62
64
|
inlist?: any;
|
|
63
65
|
prefix?: string;
|
|
64
66
|
property?: string;
|
|
67
|
+
rel?: string;
|
|
65
68
|
resource?: string;
|
|
69
|
+
rev?: string;
|
|
66
70
|
typeof?: string;
|
|
67
71
|
vocab?: string;
|
|
68
72
|
autoCapitalize?: string;
|
|
@@ -77,7 +81,7 @@ declare const TimePickerInput: import("styled-components").StyledComponent<impor
|
|
|
77
81
|
results?: number;
|
|
78
82
|
security?: string;
|
|
79
83
|
unselectable?: "on" | "off";
|
|
80
|
-
inputMode?: "text" | "search" | "
|
|
84
|
+
inputMode?: "text" | "search" | "email" | "tel" | "url" | "none" | "numeric" | "decimal";
|
|
81
85
|
is?: string;
|
|
82
86
|
'aria-activedescendant'?: string;
|
|
83
87
|
'aria-atomic'?: boolean | "true" | "false";
|
|
@@ -88,7 +92,7 @@ declare const TimePickerInput: import("styled-components").StyledComponent<impor
|
|
|
88
92
|
'aria-colindex'?: number;
|
|
89
93
|
'aria-colspan'?: number;
|
|
90
94
|
'aria-controls'?: string;
|
|
91
|
-
'aria-current'?: boolean | "time" | "step" | "
|
|
95
|
+
'aria-current'?: boolean | "time" | "step" | "date" | "true" | "false" | "page" | "location";
|
|
92
96
|
'aria-describedby'?: string;
|
|
93
97
|
'aria-details'?: string;
|
|
94
98
|
'aria-disabled'?: boolean | "true" | "false";
|
|
@@ -129,7 +133,7 @@ declare const TimePickerInput: import("styled-components").StyledComponent<impor
|
|
|
129
133
|
'aria-valuetext'?: string;
|
|
130
134
|
children?: import("react").ReactNode;
|
|
131
135
|
dangerouslySetInnerHTML?: {
|
|
132
|
-
__html: string;
|
|
136
|
+
__html: string | TrustedHTML;
|
|
133
137
|
};
|
|
134
138
|
onCopy?: import("react").ClipboardEventHandler<HTMLInputElement>;
|
|
135
139
|
onCopyCapture?: import("react").ClipboardEventHandler<HTMLInputElement>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { SpaceProps } from "styled-system";
|
|
3
3
|
import { ComponentSize } from "../NDSProvider/ComponentSizeContext";
|
|
4
|
-
declare const TimeRange: React.ForwardRefExoticComponent<
|
|
4
|
+
declare const TimeRange: React.ForwardRefExoticComponent<Omit<SpaceProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol> & {
|
|
5
5
|
size?: ComponentSize;
|
|
6
6
|
timeFormat?: string;
|
|
7
7
|
onRangeChange?: Function;
|
|
@@ -20,5 +20,5 @@ declare const TimeRange: React.ForwardRefExoticComponent<Pick<SpaceProps<Require
|
|
|
20
20
|
endAriaLabel?: string;
|
|
21
21
|
endTimeProps?: any;
|
|
22
22
|
startTimeProps?: any;
|
|
23
|
-
}, "
|
|
23
|
+
}, "ref"> & React.RefAttributes<unknown>>;
|
|
24
24
|
export default TimeRange;
|
|
@@ -1,33 +1,34 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
declare const _default: {
|
|
2
3
|
title: string;
|
|
3
4
|
};
|
|
4
5
|
export default _default;
|
|
5
6
|
export declare const Default: {
|
|
6
|
-
(): JSX.Element;
|
|
7
|
+
(): React.JSX.Element;
|
|
7
8
|
story: {
|
|
8
9
|
name: string;
|
|
9
10
|
};
|
|
10
11
|
};
|
|
11
12
|
export declare const DefaultSelections: {
|
|
12
|
-
(): JSX.Element;
|
|
13
|
+
(): React.JSX.Element;
|
|
13
14
|
story: {
|
|
14
15
|
name: string;
|
|
15
16
|
};
|
|
16
17
|
};
|
|
17
18
|
export declare const WithRangeValidation: {
|
|
18
|
-
(): JSX.Element;
|
|
19
|
+
(): React.JSX.Element;
|
|
19
20
|
story: {
|
|
20
21
|
name: string;
|
|
21
22
|
};
|
|
22
23
|
};
|
|
23
24
|
export declare const WithMinAndMaxTimeRange: {
|
|
24
|
-
(): JSX.Element;
|
|
25
|
+
(): React.JSX.Element;
|
|
25
26
|
story: {
|
|
26
27
|
name: string;
|
|
27
28
|
};
|
|
28
29
|
};
|
|
29
30
|
export declare const UsingRefToControlFocus: {
|
|
30
|
-
(): JSX.Element;
|
|
31
|
+
(): React.JSX.Element;
|
|
31
32
|
story: {
|
|
32
33
|
name: string;
|
|
33
34
|
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
import { AlertProps } from "../Alert/Alert";
|
|
2
3
|
type ToastProps = AlertProps & {
|
|
3
4
|
triggered?: boolean;
|
|
@@ -32,7 +33,7 @@ export declare const toastAnimationConfig: {
|
|
|
32
33
|
};
|
|
33
34
|
};
|
|
34
35
|
export declare const Toast: {
|
|
35
|
-
({ triggered, onHide, onShow, isCloseable, children, showDuration, onHidden, zIndex, ...props }: ToastProps): JSX.Element;
|
|
36
|
+
({ triggered, onHide, onShow, isCloseable, children, showDuration, onHidden, zIndex, ...props }: ToastProps): React.JSX.Element;
|
|
36
37
|
defaultProps: {
|
|
37
38
|
triggered: boolean;
|
|
38
39
|
isCloseable: boolean;
|
|
@@ -1,40 +1,41 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
declare const _default: {
|
|
2
3
|
title: string;
|
|
3
4
|
};
|
|
4
5
|
export default _default;
|
|
5
|
-
export declare const _Toast: () => JSX.Element;
|
|
6
|
+
export declare const _Toast: () => React.JSX.Element;
|
|
6
7
|
export declare const _MultipleToastsExample: {
|
|
7
|
-
(): JSX.Element;
|
|
8
|
+
(): React.JSX.Element;
|
|
8
9
|
story: {
|
|
9
10
|
name: string;
|
|
10
11
|
};
|
|
11
12
|
};
|
|
12
13
|
export declare const CustomizeLengthOfTimeToastIsVisible: {
|
|
13
|
-
(): JSX.Element;
|
|
14
|
+
(): React.JSX.Element;
|
|
14
15
|
story: {
|
|
15
16
|
name: string;
|
|
16
17
|
};
|
|
17
18
|
};
|
|
18
19
|
export declare const WithCloseButton: {
|
|
19
|
-
(): JSX.Element;
|
|
20
|
+
(): React.JSX.Element;
|
|
20
21
|
story: {
|
|
21
22
|
name: string;
|
|
22
23
|
};
|
|
23
24
|
};
|
|
24
25
|
export declare const WithModal: {
|
|
25
|
-
(): JSX.Element;
|
|
26
|
+
(): React.JSX.Element;
|
|
26
27
|
story: {
|
|
27
28
|
name: string;
|
|
28
29
|
};
|
|
29
30
|
};
|
|
30
31
|
export declare const CloseableWithMultiLineMessage: {
|
|
31
|
-
(): JSX.Element;
|
|
32
|
+
(): React.JSX.Element;
|
|
32
33
|
story: {
|
|
33
34
|
name: string;
|
|
34
35
|
};
|
|
35
36
|
};
|
|
36
37
|
export declare const MultipleCloseableToastsExample: {
|
|
37
|
-
(): JSX.Element;
|
|
38
|
+
(): React.JSX.Element;
|
|
38
39
|
story: {
|
|
39
40
|
name: string;
|
|
40
41
|
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
import { ToasterProps } from "react-hot-toast";
|
|
2
3
|
import { ToastOptions } from "./ToastFunction";
|
|
3
4
|
type ToastContainerProps = {
|
|
@@ -6,7 +7,7 @@ type ToastContainerProps = {
|
|
|
6
7
|
toastOptions?: ToastOptions;
|
|
7
8
|
} & Omit<ToasterProps, "gutter" | "toastOptions">;
|
|
8
9
|
declare const ToastContainer: {
|
|
9
|
-
({ gap, maxVisibleToasts, toastOptions, ...props }: ToastContainerProps): JSX.Element;
|
|
10
|
+
({ gap, maxVisibleToasts, toastOptions, ...props }: ToastContainerProps): React.JSX.Element;
|
|
10
11
|
defaultProps: {
|
|
11
12
|
position: string;
|
|
12
13
|
reverseOrder: boolean;
|
|
@@ -24,7 +24,7 @@ declare const ToggleComponent: React.ForwardRefExoticComponent<SpaceProps<Requir
|
|
|
24
24
|
} & {
|
|
25
25
|
defaultToggled?: boolean;
|
|
26
26
|
onClick?: boolean;
|
|
27
|
-
} & React.RefAttributes<
|
|
27
|
+
} & React.RefAttributes<Omit<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & {
|
|
28
28
|
ref?: React.Ref<HTMLInputElement>;
|
|
29
29
|
}>>;
|
|
30
30
|
export default ToggleComponent;
|
|
@@ -1,48 +1,49 @@
|
|
|
1
|
-
|
|
1
|
+
import React from "react";
|
|
2
|
+
export declare const WithDifferentSizes: () => React.JSX.Element;
|
|
2
3
|
declare const _default: {
|
|
3
4
|
title: string;
|
|
4
5
|
};
|
|
5
6
|
export default _default;
|
|
6
|
-
export declare const _Toggle: () => JSX.Element;
|
|
7
|
+
export declare const _Toggle: () => React.JSX.Element;
|
|
7
8
|
export declare const ToggleWithAllProps: {
|
|
8
|
-
(): JSX.Element;
|
|
9
|
+
(): React.JSX.Element;
|
|
9
10
|
story: {
|
|
10
11
|
name: string;
|
|
11
12
|
};
|
|
12
13
|
};
|
|
13
14
|
export declare const ToggleSetToDefaultToggled: {
|
|
14
|
-
(): JSX.Element;
|
|
15
|
+
(): React.JSX.Element;
|
|
15
16
|
story: {
|
|
16
17
|
name: string;
|
|
17
18
|
};
|
|
18
19
|
};
|
|
19
20
|
export declare const ToggleSetToDisabled: {
|
|
20
|
-
(): JSX.Element;
|
|
21
|
+
(): React.JSX.Element;
|
|
21
22
|
story: {
|
|
22
23
|
name: string;
|
|
23
24
|
};
|
|
24
25
|
};
|
|
25
26
|
export declare const WithCustomId: {
|
|
26
|
-
(): JSX.Element;
|
|
27
|
+
(): React.JSX.Element;
|
|
27
28
|
story: {
|
|
28
29
|
name: string;
|
|
29
30
|
};
|
|
30
31
|
};
|
|
31
32
|
export declare const WithText: {
|
|
32
|
-
(): JSX.Element;
|
|
33
|
+
(): React.JSX.Element;
|
|
33
34
|
story: {
|
|
34
35
|
name: string;
|
|
35
36
|
};
|
|
36
37
|
};
|
|
37
38
|
export declare const WithLongText: {
|
|
38
|
-
(): JSX.Element;
|
|
39
|
+
(): React.JSX.Element;
|
|
39
40
|
story: {
|
|
40
41
|
name: string;
|
|
41
42
|
};
|
|
42
43
|
};
|
|
43
|
-
export declare const ControlledToggle: () => JSX.Element;
|
|
44
|
+
export declare const ControlledToggle: () => React.JSX.Element;
|
|
44
45
|
export declare const UsingRefToControlFocus: {
|
|
45
|
-
(): JSX.Element;
|
|
46
|
+
(): React.JSX.Element;
|
|
46
47
|
story: {
|
|
47
48
|
name: string;
|
|
48
49
|
};
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
declare const _default: {
|
|
2
3
|
title: string;
|
|
3
4
|
};
|
|
4
5
|
export default _default;
|
|
5
|
-
export declare const Colors: () => JSX.Element;
|
|
6
|
-
export declare const FontSizes: () => JSX.Element;
|
|
7
|
-
export declare const LineHeights: () => JSX.Element;
|
|
8
|
-
export declare const FontWeights: () => JSX.Element;
|
|
9
|
-
export declare const SpaceAndSize: () => JSX.Element;
|
|
10
|
-
export declare const Font: () => JSX.Element;
|
|
11
|
-
export declare const Shadows: () => JSX.Element;
|
|
12
|
-
export declare const Radii: () => JSX.Element;
|
|
13
|
-
export declare const Breakpoints: () => JSX.Element;
|
|
6
|
+
export declare const Colors: () => React.JSX.Element;
|
|
7
|
+
export declare const FontSizes: () => React.JSX.Element;
|
|
8
|
+
export declare const LineHeights: () => React.JSX.Element;
|
|
9
|
+
export declare const FontWeights: () => React.JSX.Element;
|
|
10
|
+
export declare const SpaceAndSize: () => React.JSX.Element;
|
|
11
|
+
export declare const Font: () => React.JSX.Element;
|
|
12
|
+
export declare const Shadows: () => React.JSX.Element;
|
|
13
|
+
export declare const Radii: () => React.JSX.Element;
|
|
14
|
+
export declare const Breakpoints: () => React.JSX.Element;
|