@nulogy/components 10.2.4 → 10.2.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.
- package/dist/src/BrandedNavBar/MobileMenu.d.ts +1 -1
- package/dist/src/Branding/BrandingText.d.ts +1 -1
- package/dist/src/Branding/LettermarkLogo.d.ts +1 -1
- package/dist/src/Branding/WordmarkLogo.d.ts +1 -1
- package/dist/src/Button/Button.d.ts +1 -1
- package/dist/src/Button/DangerButton.d.ts +1 -1
- package/dist/src/Button/PrimaryButton.d.ts +1 -1
- package/dist/src/Button/QuietButton.d.ts +1 -1
- package/dist/src/ButtonGroup/ButtonGroup.d.ts +1 -1
- package/dist/src/Card/Card.d.ts +1 -1
- package/dist/src/Checkbox/Checkbox.d.ts +1 -1
- package/dist/src/Checkbox/CheckboxGroup.d.ts +1 -1
- package/dist/src/DatePicker/DatePickerHeader.d.ts +1 -1
- package/dist/src/DateRange/DateRange.d.ts +1 -1
- package/dist/src/DateRange/EndTime.d.ts +2 -2
- package/dist/src/DateRange/StartTime.d.ts +2 -2
- package/dist/src/DropdownMenu/DropdownItem.d.ts +1 -1
- package/dist/src/DropdownMenu/DropdownMenu.d.ts +1 -1
- package/dist/src/DropdownMenu/DropdownMenuContainer.d.ts +1 -1
- package/dist/src/DropdownMenu/DropdownText.d.ts +1 -1
- package/dist/src/Form/Fieldset.d.ts +1 -1
- package/dist/src/Form/FormSection.d.ts +1 -1
- package/dist/src/Icon/LoadingIcon.d.ts +1 -1
- package/dist/src/Layout/Header.d.ts +1 -1
- package/dist/src/Layout/Page.d.ts +1 -1
- package/dist/src/List/List.d.ts +1 -1
- package/dist/src/List/ListItem.d.ts +1 -1
- package/dist/src/LoadingAnimation/LoadingAnimation.d.ts +1 -1
- package/dist/src/Modal/Modal.d.ts +1 -1
- package/dist/src/Modal/ModalContent.d.ts +1 -1
- package/dist/src/NDSProvider/ComponentSizeContext.d.ts +1 -1
- package/dist/src/NDSProvider/NDSProvider.d.ts +1 -1
- package/dist/src/Overlay/Overlay.d.ts +1 -1
- package/dist/src/Popper/Popper.d.ts +1 -1
- package/dist/src/Radio/Radio.d.ts +1 -1
- package/dist/src/RangeContainer/RangeContainer.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/Switcher.d.ts +1 -1
- package/dist/src/Table/TableCell.d.ts +1 -1
- package/dist/src/Tabs/Tab.d.ts +1 -1
- package/dist/src/Tabs/TabScrollIndicator.d.ts +1 -1
- package/dist/src/TimePicker/TimePicker.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/Validation/InlineValidation.d.ts +1 -1
- package/dist/src/utils/PopperArrow.d.ts +1 -1
- package/dist/src/utils/ts/FocusManager.d.ts +1 -1
- package/package.json +1 -1
|
@@ -15,5 +15,5 @@ type BaseMobileMenuProps = {
|
|
|
15
15
|
themeColorObject?: ThemeColorObject;
|
|
16
16
|
showNulogyLogo?: boolean;
|
|
17
17
|
};
|
|
18
|
-
declare const MobileMenu: import("styled-components").StyledComponent<React.FC<BaseMobileMenuProps
|
|
18
|
+
declare const MobileMenu: import("styled-components").StyledComponent<React.FC<React.PropsWithChildren<BaseMobileMenuProps>>, import("styled-components").DefaultTheme, {}, never>;
|
|
19
19
|
export default MobileMenu;
|
|
@@ -13,5 +13,5 @@ export type ButtonProps = SpaceProps & React.ComponentPropsWithRef<"button"> & {
|
|
|
13
13
|
theme?: DefaultNDSThemeType;
|
|
14
14
|
href?: string;
|
|
15
15
|
};
|
|
16
|
-
declare const Button: React.FC<ButtonProps
|
|
16
|
+
declare const Button: React.FC<React.PropsWithChildren<ButtonProps>>;
|
|
17
17
|
export default Button;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { ButtonProps } from "./Button";
|
|
3
|
-
declare const DangerButton: import("styled-components").StyledComponent<import("react").FC<ButtonProps
|
|
3
|
+
declare const DangerButton: import("styled-components").StyledComponent<import("react").FC<import("react").PropsWithChildren<ButtonProps>>, import("styled-components").DefaultTheme, {}, never>;
|
|
4
4
|
export default DangerButton;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { ButtonProps } from "./Button";
|
|
3
|
-
declare const QuietButton: import("styled-components").StyledComponent<import("react").FC<ButtonProps
|
|
3
|
+
declare const QuietButton: import("styled-components").StyledComponent<import("react").FC<import("react").PropsWithChildren<ButtonProps>>, import("styled-components").DefaultTheme, {}, never>;
|
|
4
4
|
export default QuietButton;
|
|
@@ -4,5 +4,5 @@ type ButtonGroupProps = FlexProps & {
|
|
|
4
4
|
alignment?: "left" | "spaced" | "right";
|
|
5
5
|
className?: string;
|
|
6
6
|
};
|
|
7
|
-
declare const ButtonGroup: React.FC<ButtonGroupProps
|
|
7
|
+
declare const ButtonGroup: React.FC<React.PropsWithChildren<ButtonGroupProps>>;
|
|
8
8
|
export default ButtonGroup;
|
package/dist/src/Card/Card.d.ts
CHANGED
|
@@ -13,5 +13,5 @@ type CheckboxProps = NativeInputProps & SpaceProps & {
|
|
|
13
13
|
indeterminate?: boolean;
|
|
14
14
|
theme?: DefaultNDSThemeType;
|
|
15
15
|
};
|
|
16
|
-
declare const Checkbox: React.FC<CheckboxProps
|
|
16
|
+
declare const Checkbox: React.FC<React.PropsWithChildren<CheckboxProps>>;
|
|
17
17
|
export default Checkbox;
|
|
@@ -7,5 +7,5 @@ type DatePickerHeaderProps = {
|
|
|
7
7
|
nextMonthButtonDisabled: boolean;
|
|
8
8
|
locale?: string;
|
|
9
9
|
};
|
|
10
|
-
declare const DatePickerHeader: React.FC<DatePickerHeaderProps
|
|
10
|
+
declare const DatePickerHeader: React.FC<React.PropsWithChildren<DatePickerHeaderProps>>;
|
|
11
11
|
export default DatePickerHeader;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
declare const EndTime: import("styled-components").StyledComponent<import("react").FC<import("styled-system").SpaceProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol> & {
|
|
2
|
+
declare const EndTime: import("styled-components").StyledComponent<import("react").FC<import("react").PropsWithChildren<import("styled-system").SpaceProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol> & {
|
|
3
3
|
size?: import("../NDSProvider/ComponentSizeContext").ComponentSize;
|
|
4
4
|
disabled?: boolean;
|
|
5
5
|
value?: string;
|
|
@@ -20,5 +20,5 @@ declare const EndTime: import("styled-components").StyledComponent<import("react
|
|
|
20
20
|
onBlur?: (...args: any[]) => any;
|
|
21
21
|
onFocus?: (...args: any[]) => any;
|
|
22
22
|
onClick?: (...args: any[]) => any;
|
|
23
|
-
}
|
|
23
|
+
}>>, import("styled-components").DefaultTheme, {}, never>;
|
|
24
24
|
export default EndTime;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
declare const StartTime: import("styled-components").StyledComponent<import("react").FC<import("styled-system").SpaceProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol> & {
|
|
2
|
+
declare const StartTime: import("styled-components").StyledComponent<import("react").FC<import("react").PropsWithChildren<import("styled-system").SpaceProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol> & {
|
|
3
3
|
size?: import("../NDSProvider/ComponentSizeContext").ComponentSize;
|
|
4
4
|
disabled?: boolean;
|
|
5
5
|
value?: string;
|
|
@@ -20,5 +20,5 @@ declare const StartTime: import("styled-components").StyledComponent<import("rea
|
|
|
20
20
|
onBlur?: (...args: any[]) => any;
|
|
21
21
|
onFocus?: (...args: any[]) => any;
|
|
22
22
|
onClick?: (...args: any[]) => any;
|
|
23
|
-
}
|
|
23
|
+
}>>, import("styled-components").DefaultTheme, {}, never>;
|
|
24
24
|
export default StartTime;
|
|
@@ -18,5 +18,5 @@ type DropdownMenuProps = {
|
|
|
18
18
|
closeAriaLabel?: string;
|
|
19
19
|
openOnHover?: boolean;
|
|
20
20
|
} & StyledProps;
|
|
21
|
-
declare const DropdownMenu: React.FC<DropdownMenuProps
|
|
21
|
+
declare const DropdownMenu: React.FC<React.PropsWithChildren<DropdownMenuProps>>;
|
|
22
22
|
export default DropdownMenu;
|
|
@@ -8,5 +8,5 @@ type DropdownMenuContainerProps = {
|
|
|
8
8
|
dataPlacement?: any;
|
|
9
9
|
theme?: DefaultNDSThemeType;
|
|
10
10
|
};
|
|
11
|
-
declare const DropdownMenuContainer: React.FC<DropdownMenuContainerProps
|
|
11
|
+
declare const DropdownMenuContainer: React.FC<React.PropsWithChildren<DropdownMenuContainerProps>>;
|
|
12
12
|
export default DropdownMenuContainer;
|
|
@@ -2,5 +2,5 @@ import React from "react";
|
|
|
2
2
|
type BaseFormSectionProps = React.ComponentPropsWithRef<"fieldset"> & {
|
|
3
3
|
title?: string;
|
|
4
4
|
};
|
|
5
|
-
declare const FormSection: import("styled-components").StyledComponent<React.FC<BaseFormSectionProps
|
|
5
|
+
declare const FormSection: import("styled-components").StyledComponent<React.FC<React.PropsWithChildren<BaseFormSectionProps>>, import("styled-components").DefaultTheme, {}, never>;
|
|
6
6
|
export default FormSection;
|
package/dist/src/List/List.d.ts
CHANGED
|
@@ -3,5 +3,5 @@ import { SpaceProps, ColorProps, TypographyProps } from "styled-system";
|
|
|
3
3
|
type ListItemProps = React.ComponentPropsWithRef<"li"> & SpaceProps & ColorProps & TypographyProps & {
|
|
4
4
|
className?: string;
|
|
5
5
|
};
|
|
6
|
-
declare const ListItem: React.FC<ListItemProps
|
|
6
|
+
declare const ListItem: React.FC<React.PropsWithChildren<ListItemProps>>;
|
|
7
7
|
export default ListItem;
|
|
@@ -2,5 +2,5 @@ import React from "react";
|
|
|
2
2
|
type LoadingAnimationProps = React.ComponentPropsWithRef<"svg"> & {
|
|
3
3
|
inactive?: boolean;
|
|
4
4
|
};
|
|
5
|
-
declare const LoadingAnimation: React.FC<LoadingAnimationProps
|
|
5
|
+
declare const LoadingAnimation: React.FC<React.PropsWithChildren<LoadingAnimationProps>>;
|
|
6
6
|
export default LoadingAnimation;
|
|
@@ -19,7 +19,7 @@ type ModalProps = {
|
|
|
19
19
|
footerContent?: React.ReactNode;
|
|
20
20
|
parentSelector?: (...args: any) => HTMLElement;
|
|
21
21
|
};
|
|
22
|
-
declare const Modal: React.FC<ModalProps
|
|
22
|
+
declare const Modal: React.FC<React.PropsWithChildren<ModalProps>> & {
|
|
23
23
|
setAppElement: (element: string | HTMLElement) => void;
|
|
24
24
|
};
|
|
25
25
|
export default Modal;
|
|
@@ -4,5 +4,5 @@ type ModalContentProps = React.ComponentPropsWithRef<"div"> & {
|
|
|
4
4
|
hasFooter?: any;
|
|
5
5
|
theme?: DefaultNDSThemeType;
|
|
6
6
|
};
|
|
7
|
-
declare const ModalContent: React.FC<ModalContentProps
|
|
7
|
+
declare const ModalContent: React.FC<React.PropsWithChildren<ModalContentProps>>;
|
|
8
8
|
export default ModalContent;
|
|
@@ -5,5 +5,5 @@ type ComponentSizeContextValue = {
|
|
|
5
5
|
};
|
|
6
6
|
export declare const ComponentSizeContext: React.Context<ComponentSizeContextValue>;
|
|
7
7
|
export declare function useComponentSize(selectedSize?: ComponentSize): ComponentSize;
|
|
8
|
-
declare const ComponentSizeContextProvider: React.FC<ComponentSizeContextValue
|
|
8
|
+
declare const ComponentSizeContextProvider: React.FC<React.PropsWithChildren<ComponentSizeContextValue>>;
|
|
9
9
|
export default ComponentSizeContextProvider;
|
|
@@ -7,5 +7,5 @@ type RangeContainerProps = {
|
|
|
7
7
|
size?: ComponentSize;
|
|
8
8
|
errorMessages?: (string | undefined)[];
|
|
9
9
|
};
|
|
10
|
-
declare const RangeContainer: React.FC<RangeContainerProps
|
|
10
|
+
declare const RangeContainer: React.FC<React.PropsWithChildren<RangeContainerProps>>;
|
|
11
11
|
export default RangeContainer;
|
|
@@ -3,5 +3,5 @@ type SummaryContextValue = {
|
|
|
3
3
|
breakpoint: number;
|
|
4
4
|
};
|
|
5
5
|
export declare function useSummaryContext(): SummaryContextValue;
|
|
6
|
-
export declare const SummaryContextProvider: React.FC<SummaryContextValue
|
|
6
|
+
export declare const SummaryContextProvider: React.FC<React.PropsWithChildren<SummaryContextValue>>;
|
|
7
7
|
export {};
|
|
@@ -4,5 +4,5 @@ type SummaryItemProps = Omit<FlexProps, "as"> & {
|
|
|
4
4
|
value: number | string;
|
|
5
5
|
status: React.ReactNode;
|
|
6
6
|
};
|
|
7
|
-
declare const SummaryItem: React.FC<SummaryItemProps
|
|
7
|
+
declare const SummaryItem: React.FC<React.PropsWithChildren<SummaryItemProps>>;
|
|
8
8
|
export default SummaryItem;
|
package/dist/src/Tabs/Tab.d.ts
CHANGED
|
@@ -6,5 +6,5 @@ type TabScrollIndicatorProps = {
|
|
|
6
6
|
ariaLabelLeft?: string;
|
|
7
7
|
ariaLabelRight?: string;
|
|
8
8
|
};
|
|
9
|
-
declare const TabScrollIndicator: React.FC<TabScrollIndicatorProps
|
|
9
|
+
declare const TabScrollIndicator: React.FC<React.PropsWithChildren<TabScrollIndicatorProps>>;
|
|
10
10
|
export default TabScrollIndicator;
|
|
@@ -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;
|
|
@@ -7,5 +7,5 @@ type ToggleButtonProps = React.ComponentPropsWithRef<"input"> & {
|
|
|
7
7
|
name?: string;
|
|
8
8
|
theme?: DefaultNDSThemeType;
|
|
9
9
|
};
|
|
10
|
-
declare const ToggleButton: React.FC<ToggleButtonProps
|
|
10
|
+
declare const ToggleButton: React.FC<React.PropsWithChildren<ToggleButtonProps>>;
|
|
11
11
|
export default ToggleButton;
|
|
@@ -6,5 +6,5 @@ type InlineValidationProps = SpaceProps & {
|
|
|
6
6
|
errorList?: string[];
|
|
7
7
|
children?: React.ReactNode;
|
|
8
8
|
};
|
|
9
|
-
declare const InlineValidation: React.FC<InlineValidationProps
|
|
9
|
+
declare const InlineValidation: React.FC<React.PropsWithChildren<InlineValidationProps>>;
|
|
10
10
|
export default InlineValidation;
|
|
@@ -5,5 +5,5 @@ type PopperArrowProps = ReactPopperArrowProps & {
|
|
|
5
5
|
borderColor?: string;
|
|
6
6
|
backgroundColor?: string;
|
|
7
7
|
};
|
|
8
|
-
declare const PopperArrow: React.FC<PopperArrowProps
|
|
8
|
+
declare const PopperArrow: React.FC<React.PropsWithChildren<PopperArrowProps>>;
|
|
9
9
|
export default PopperArrow;
|
|
@@ -13,5 +13,5 @@ type FocusManagerProps = {
|
|
|
13
13
|
defaultFocusedIndex: number | null;
|
|
14
14
|
children: (handlers: ChildrenHandlers) => ReactNode;
|
|
15
15
|
};
|
|
16
|
-
declare const FocusManager: React.FC<FocusManagerProps
|
|
16
|
+
declare const FocusManager: React.FC<React.PropsWithChildren<FocusManagerProps>>;
|
|
17
17
|
export default FocusManager;
|