@redis-ui/components 39.12.0 → 39.18.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/AppSelectionMenu/components/Item/Item.styles.d.ts +1 -1
- package/dist/AutoCompleteSelect/AutoCompleteSelect.style.d.ts +4 -4
- package/dist/Banner/Banner.d.ts +1 -1
- package/dist/Banner/components/Compose/Compose.style.d.ts +1 -1
- package/dist/Banner/components/Message/Message.style.d.ts +1 -1
- package/dist/Banner/components/Message/Message.types.d.ts +2 -2
- package/dist/BoxSelectionGroup/BoxSelectionGroup.d.ts +1 -1
- package/dist/BoxSelectionGroup/BoxSelectionGroup.style.d.ts +1 -1
- package/dist/BoxSelectionGroup/MultiBoxSelectionGroup.d.ts +1 -1
- package/dist/BoxSelectionGroup/components/Item/Item.d.ts +1 -1
- package/dist/BoxSelectionGroup/components/Item/components/Compose/Compose.d.ts +1 -1
- package/dist/Button/IconButton/IconButton.cjs +2 -2
- package/dist/Button/IconButton/IconButton.js +4 -4
- package/dist/Button/ToggleButton/components/IndicatorCount/IndicatorCount.types.d.ts +2 -2
- package/dist/Checkbox/components/Label/Label.style.d.ts +1 -1
- package/dist/Chip/Chip.d.ts +2 -2
- package/dist/Chip/components/Title/Title.d.ts +2 -2
- package/dist/ChipList/Components/ExtraItem.style.d.ts +1 -1
- package/dist/Drawer/Drawer.d.ts +2 -2
- package/dist/Drawer/components/Description/Description.d.ts +1 -1
- package/dist/Drawer/components/Description/components/Text/Text.style.d.ts +1 -1
- package/dist/Drawer/components/Description/components/Text/Text.types.d.ts +2 -2
- package/dist/Drawer/components/Header/components/Compose/Compose.style.js +2 -2
- package/dist/Drawer/components/Header/components/Title/Title.style.d.ts +1 -1
- package/dist/Drawer/components/Header/components/Title/Title.types.d.ts +2 -2
- package/dist/Filters/components/MultiSelectFilter/MultiSelectFilter.styles.d.ts +5 -5
- package/dist/FormField/components/AdditionalText/AdditionalText.style.d.ts +1 -1
- package/dist/FormField/components/AdditionalText/AdditionalText.types.d.ts +2 -2
- package/dist/Helpers/index.d.ts +1 -0
- package/dist/Helpers/react.utils.cjs +4 -0
- package/dist/Helpers/react.utils.d.ts +3 -1
- package/dist/Helpers/react.utils.js +6 -2
- package/dist/Inputs/Input/Input.d.ts +2 -2
- package/dist/Inputs/NumericInput/NumericInput.d.ts +2 -2
- package/dist/Inputs/PasswordInput/components/Compose/Compose.style.d.ts +1 -1
- package/dist/Inputs/PasswordInput/components/PasswordButton/PasswordButton.js +2 -2
- package/dist/Inputs/QuantityCounter/QuantityCounter.d.ts +3 -3
- package/dist/Inputs/QuantityCounter/components/Compose/Compose.style.d.ts +1 -1
- package/dist/Inputs/QuantityCounter/components/Compose/components/ErrorTooltip/ErrorTooltip.style.d.ts +1 -1
- package/dist/Inputs/QuantityCounter/components/InputGroup/InputGroup.d.ts +1 -1
- package/dist/Inputs/QuantityCounter/components/InputGroup/components/ValueLabel/ValueLabel.style.d.ts +1 -1
- package/dist/Inputs/SearchInput/SearchInput.d.ts +1 -1
- package/dist/Inputs/TextArea/TextArea.d.ts +2 -2
- package/dist/Inputs/TextArea/components/Compose/Compose.style.d.ts +2 -2
- package/dist/Inputs/components/Compose/Compose.style.d.ts +1 -1
- package/dist/Inputs/components/ResetButton/ResetButton.style.js +2 -2
- package/dist/Inputs/components/StatusIndicator/StatusIndicator.style.d.ts +1 -1
- package/dist/Label/components/Optional/Optional.style.d.ts +1 -1
- package/dist/Label/components/Optional/Optional.types.d.ts +2 -2
- package/dist/Label/components/Required/Required.style.d.ts +1 -1
- package/dist/Label/components/Required/Required.types.d.ts +2 -2
- package/dist/Label/components/Text/Text.style.d.ts +1 -1
- package/dist/Label/components/Text/Text.types.d.ts +2 -2
- package/dist/Link/Link.cjs +17 -12
- package/dist/Link/Link.js +17 -12
- package/dist/Link/Link.style.d.ts +1 -1
- package/dist/Menu/Menu.d.ts +5 -5
- package/dist/Menu/components/Content/Content.d.ts +4 -4
- package/dist/Menu/components/Content/components/Item/Components/SubHead/SubHead.style.d.ts +1 -1
- package/dist/Menu/components/Content/components/Item/Components/Text/Text.types.d.ts +2 -2
- package/dist/Menu/components/Content/components/Item/Item.d.ts +2 -2
- package/dist/Menu/components/Content/components/Label/Label.d.ts +2 -2
- package/dist/Menu/components/Content/components/Label/components/Text/Text.style.d.ts +1 -1
- package/dist/Menu/components/Content/components/Label/components/Text/Text.types.d.ts +2 -2
- package/dist/Modal/Modal.d.ts +3 -3
- package/dist/Modal/components/Content/Content.d.ts +3 -3
- package/dist/Modal/components/Content/components/Body/Body.d.ts +1 -1
- package/dist/Modal/components/Content/components/Body/components/Text/Text.style.d.ts +1 -1
- package/dist/Modal/components/Content/components/Body/components/Text/Text.types.d.ts +2 -2
- package/dist/Modal/components/Content/components/Close/Close.style.js +2 -2
- package/dist/Modal/components/Content/components/Description/Description.d.ts +1 -1
- package/dist/Modal/components/Content/components/Description/components/Text/Text.style.d.ts +1 -1
- package/dist/Modal/components/Content/components/Description/components/Text/Text.types.d.ts +2 -2
- package/dist/Modal/components/Content/components/Header/components/Title/Title.style.d.ts +1 -1
- package/dist/Modal/components/Content/components/Header/components/Title/Title.types.d.ts +2 -2
- package/dist/MultiSelect/MultiSelect.d.ts +7 -7
- package/dist/MultiSelect/components/Compose/hooks/useMultiSelectContextApi.d.ts +1 -1
- package/dist/MultiSelect/components/Content/Content.d.ts +1 -1
- package/dist/MultiSelect/components/Content/components/Option/Option.d.ts +2 -2
- package/dist/MultiSelect/components/Content/components/Option/components/Compose/Compose.style.d.ts +1 -1
- package/dist/MultiSelect/components/Content/components/Option/components/Compose/Compose.style.js +2 -2
- package/dist/MultiSelect/components/Trigger/Trigger.d.ts +1 -1
- package/dist/Pagination/Pagination.cjs +19 -0
- package/dist/Pagination/Pagination.context.cjs +15 -0
- package/dist/Pagination/Pagination.context.d.ts +5 -0
- package/dist/Pagination/Pagination.context.js +15 -0
- package/dist/Pagination/Pagination.d.ts +18 -0
- package/dist/Pagination/Pagination.js +19 -0
- package/dist/Pagination/Pagination.style.cjs +35 -0
- package/dist/Pagination/Pagination.style.d.ts +40 -0
- package/dist/Pagination/Pagination.style.js +33 -0
- package/dist/Pagination/Pagination.types.d.ts +26 -0
- package/dist/Pagination/components/Compose.cjs +53 -0
- package/dist/Pagination/components/Compose.d.ts +5 -0
- package/dist/Pagination/components/Compose.js +53 -0
- package/dist/Pagination/components/InfoLabel.cjs +14 -0
- package/dist/Pagination/components/InfoLabel.d.ts +8 -0
- package/dist/Pagination/components/InfoLabel.js +14 -0
- package/dist/Pagination/components/NavigationButton.cjs +78 -0
- package/dist/Pagination/components/NavigationButton.d.ts +8 -0
- package/dist/Pagination/components/NavigationButton.js +78 -0
- package/dist/Pagination/components/PageSelect.cjs +51 -0
- package/dist/Pagination/components/PageSelect.d.ts +10 -0
- package/dist/Pagination/components/PageSelect.js +51 -0
- package/dist/Pagination/components/PageSizeSelect.cjs +55 -0
- package/dist/Pagination/components/PageSizeSelect.d.ts +12 -0
- package/dist/Pagination/components/PageSizeSelect.js +55 -0
- package/dist/Pagination/index.d.ts +7 -0
- package/dist/Popover/Popover.d.ts +7 -7
- package/dist/Popover/components/Content/Content.d.ts +4 -4
- package/dist/Popover/components/Content/components/Body/Body.d.ts +1 -1
- package/dist/Popover/components/Content/components/Body/components/BodyText/BodyText.d.ts +2 -2
- package/dist/Popover/components/Content/components/Body/components/BodyText/BodyText.styles.d.ts +1 -1
- package/dist/Popover/components/Content/components/Close/Close.style.js +2 -2
- package/dist/Popover/components/Content/components/Header/Header.d.ts +1 -1
- package/dist/Popover/components/Content/components/Header/components/HeaderTitle/HeaderTitle.d.ts +2 -2
- package/dist/Popover/components/Content/components/Header/components/HeaderTitle/HeaderTitle.styles.d.ts +1 -1
- package/dist/Popover/components/Content/components/Text/Text.d.ts +2 -2
- package/dist/Popover/components/Content/components/Text/Text.styles.d.ts +1 -1
- package/dist/Popover/components/Content/components/WindowBar/WindowBar.d.ts +1 -1
- package/dist/Popover/components/Content/components/WindowBar/WindowBar.style.d.ts +1 -1
- package/dist/Popover/components/PopoverCard/PopoverCard.d.ts +3 -3
- package/dist/ProgressBar/ProgressBar.styles.d.ts +1 -1
- package/dist/Section/components/Header/components/CategoryValueList/CategoryValueList.style.d.ts +1 -1
- package/dist/Section/components/Header/components/CategoryValueList/components/CategoryValueChip/CategoryValueChip.style.d.ts +2 -2
- package/dist/Section/components/Header/components/Label/Label.style.d.ts +1 -1
- package/dist/Select/Select.cjs +2 -2
- package/dist/Select/Select.d.ts +5 -5
- package/dist/Select/Select.js +2 -2
- package/dist/Select/components/Content/Content.d.ts +1 -1
- package/dist/Select/components/Content/components/Option/Option.d.ts +2 -2
- package/dist/Select/components/Content/components/Search/SelectSearchInput.style.d.ts +1 -1
- package/dist/Select/components/Context/hooks/useSelectContextApi.d.ts +1 -1
- package/dist/Select/components/Trigger/Trigger.d.ts +1 -1
- package/dist/SideBar/SideBar.cjs +7 -5
- package/dist/SideBar/SideBar.d.ts +1 -1
- package/dist/SideBar/SideBar.js +7 -5
- package/dist/SideBar/SideBar.types.d.ts +1 -0
- package/dist/SideBar/components/Button/Button.style.d.ts +1 -1
- package/dist/SideBar/components/Footer/components/Text/Text.style.d.ts +1 -1
- package/dist/SideBar/components/Footer/components/Text/Text.types.d.ts +2 -2
- package/dist/SideBar/components/Header/Header.cjs +17 -2
- package/dist/SideBar/components/Header/Header.js +17 -2
- package/dist/SideBar/components/Header/Header.style.cjs +4 -3
- package/dist/SideBar/components/Header/Header.style.d.ts +1 -1
- package/dist/SideBar/components/Header/Header.style.js +4 -3
- package/dist/SideBar/components/Item/Item.d.ts +1 -1
- package/dist/SideBar/components/Item/Item.style.d.ts +1 -1
- package/dist/SideBar/components/Item/components/Text/Text.style.d.ts +1 -1
- package/dist/SideBar/components/Item/components/Text/Text.types.d.ts +2 -2
- package/dist/Switch/Switch.d.ts +1 -1
- package/dist/Switch/components/Title/Title.style.d.ts +1 -1
- package/dist/TableHeading/TableHeading.d.ts +2 -2
- package/dist/TableHeading/TableHeading.style.d.ts +1 -1
- package/dist/TableHeading/components/TableTitle/TableTitle.d.ts +2 -2
- package/dist/Tabs/Tabs.d.ts +6 -6
- package/dist/Tabs/components/ContentPane/ContentPane.d.ts +1 -1
- package/dist/Tabs/components/TabBar/TabBar.d.ts +5 -5
- package/dist/Tabs/components/TabBar/components/Trigger/Trigger.d.ts +3 -3
- package/dist/Toast/Toast.d.ts +4 -4
- package/dist/Toast/components/Actions/Actions.d.ts +1 -1
- package/dist/Toast/components/Compose/Compose.style.d.ts +1 -1
- package/dist/Toast/components/Content/Content.d.ts +3 -3
- package/dist/Toast/components/Content/components/Description/Description.style.d.ts +1 -1
- package/dist/Toast/components/Content/components/Description/Description.types.d.ts +2 -2
- package/dist/Toast/components/Content/components/Message/Message.style.d.ts +1 -1
- package/dist/Toast/components/Content/components/Message/Message.types.d.ts +2 -2
- package/dist/Tooltip/Tooltip.d.ts +3 -3
- package/dist/Tooltip/components/Content/Content.d.ts +1 -1
- package/dist/Tooltip/components/Content/components/Text/Text.d.ts +2 -2
- package/dist/Tooltip/components/Content/components/Text/Text.styles.d.ts +1 -1
- package/dist/Tooltip/components/TooltipCard/TooltipCard.d.ts +2 -2
- package/dist/Tooltip/components/TooltipCard/components/Header/TooltipHeader.d.ts +1 -1
- package/dist/TreeView/components/TreeItem/components/Checkbox/Checkbox.style.d.ts +1 -1
- package/dist/TreeView/components/TreeItem/components/ExpandButton/ExpandButton.style.js +2 -2
- package/dist/Typography/Typography.d.ts +3 -3
- package/dist/Typography/Typography.types.d.ts +1 -0
- package/dist/Typography/components/Body/Body.d.ts +2 -2
- package/dist/Typography/components/Body/Body.style.cjs +2 -10
- package/dist/Typography/components/Body/Body.style.d.ts +8 -1
- package/dist/Typography/components/Body/Body.style.js +2 -10
- package/dist/Typography/components/Body/Body.types.d.ts +9 -15
- package/dist/Typography/components/Code/Code.d.ts +2 -2
- package/dist/Typography/components/Code/Code.style.cjs +1 -9
- package/dist/Typography/components/Code/Code.style.d.ts +8 -1
- package/dist/Typography/components/Code/Code.style.js +1 -9
- package/dist/Typography/components/Code/Code.types.d.ts +8 -14
- package/dist/Typography/components/Heading/Heading.cjs +21 -18
- package/dist/Typography/components/Heading/Heading.d.ts +2 -2
- package/dist/Typography/components/Heading/Heading.js +21 -18
- package/dist/Typography/components/Heading/Heading.style.cjs +4 -9
- package/dist/Typography/components/Heading/Heading.style.d.ts +5 -3
- package/dist/Typography/components/Heading/Heading.style.js +4 -9
- package/dist/Typography/components/Heading/Heading.types.d.ts +9 -5
- package/dist/Typography/index.d.ts +4 -0
- package/dist/index.cjs +6 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +7 -1
- package/package.json +2 -2
|
@@ -3,4 +3,4 @@ export declare const AppSelectorItem: import("styled-components").StyledComponen
|
|
|
3
3
|
export declare const AppSelectionMenuItem: import("styled-components").StyledComponent<"div", any, {
|
|
4
4
|
disabled?: boolean | undefined;
|
|
5
5
|
}, never>;
|
|
6
|
-
export declare const Label: import("styled-components").StyledComponent<({ size, variant, color, component, ellipsis, ...restProps }: import("../../../Typography
|
|
6
|
+
export declare const Label: import("styled-components").StyledComponent<({ size, variant, color, component, ellipsis, ...restProps }: import("../../../Typography").TypographyBodyProps) => import("react/jsx-runtime").JSX.Element, any, {}, never>;
|
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
export declare const Item: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
3
|
export declare const ContentContainer: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("../Menu/components/Content/Content.types").MenuContentProps & import("react").RefAttributes<HTMLDivElement>> & {
|
|
4
4
|
Item: (({ text, icon, subHead, description, isSelected, selected, ...restProps }: import("../Menu").MenuItemProps) => import("react/jsx-runtime").JSX.Element) & {
|
|
5
|
-
Text: ({ tooltipOnEllipsis, ...restProps }: import("
|
|
5
|
+
Text: ({ tooltipOnEllipsis, ...restProps }: import("..").TypographyBodyProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
6
|
Icon: ({ icon, ...props }: import("../Menu/components/Content/components/Item/Components/Icon/Icon.types").MenuIconProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
SubHead: (props: import("
|
|
7
|
+
SubHead: (props: import("..").TypographyBodyProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
8
|
Compose: ({ isSelected, selected, onClick, ...restProps }: import("../Menu/components/Content/components/Item/Components/Compose/Compose.types").MenuItemComposeProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
9
|
Check: ({ icon, ...restProps }: import("../Menu/components/Content/components/Item/Components/Check/Check.types").CheckProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
10
|
Split: ({ minWidth, ...props }: import("../Menu/components/Content/components/Item/Components/Split/Split.types").SplitProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
11
|
};
|
|
12
12
|
DropdownArrow: (props: import("../Menu/components/Content/components/DropdownArrow/DropdownArrow.types").DropdownArrowProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
13
|
Label: (({ children, text, icon, ...restProps }: import("../Menu").MenuLabelProps & import("../Menu").RestMenuLabelProps) => import("react/jsx-runtime").JSX.Element) & {
|
|
14
|
-
Text: ({ tooltipOnEllipsis, ...restProps }: import("
|
|
14
|
+
Text: ({ tooltipOnEllipsis, ...restProps }: import("..").TypographyBodyProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
15
|
Icon: ({ icon, ...props }: import("../Menu/components/Content/components/Item/Components/Icon/Icon.types").MenuIconProps) => import("react/jsx-runtime").JSX.Element;
|
|
16
|
-
Compose: (props: import("../Menu/components/Content/components/Label/components/Compose/Compose.types").MenuLabelComposeProps & import("
|
|
16
|
+
Compose: (props: import("../Menu/components/Content/components/Label/components/Compose/Compose.types").MenuLabelComposeProps & import("..").ComposeChildrenProps & Omit<import("react").HTMLAttributes<HTMLDivElement>, "content" | "children">) => import("react/jsx-runtime").JSX.Element;
|
|
17
17
|
};
|
|
18
18
|
Separator: (props: import("../Menu/components/Content/components/Separator/Separator.types").SeparatorProps) => import("react/jsx-runtime").JSX.Element;
|
|
19
19
|
}, any, {
|
package/dist/Banner/Banner.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ declare const Banner: (({ show, onClose, actions, message, showIcon, showCloseBu
|
|
|
7
7
|
onClose?: VoidFunction | undefined;
|
|
8
8
|
} & import("../Helpers/common.types").ComposeChildrenProps & Omit<import("react").HTMLAttributes<HTMLDivElement>, "content" | "children">) => import("react/jsx-runtime").JSX.Element;
|
|
9
9
|
Icon: ({ customIcon, variant, ...props }: import("./components/Icon/Icon.types").BannerIconProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
Message: ({ children, ...restProps }: import("
|
|
10
|
+
Message: ({ children, ...restProps }: import("..").TypographyBodyProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
11
11
|
Actions: (({ primary, secondary, ...props }: import("./components/Actions/Actions.types").ActionsProps & ChildFree<ComposeElementProps<HTMLDivElement>>) => import("react/jsx-runtime").JSX.Element | null) & {
|
|
12
12
|
Compose: (props: ComposeElementProps<HTMLDivElement>) => import("react/jsx-runtime").JSX.Element;
|
|
13
13
|
Action: ({ label, onClick, closes, icon, variant: outlineVariant, size, ...restProps }: import("./Banner.types").BannerActionType & {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const BannerContainer: import("styled-components").StyledComponent<({ variant, size, ...props }: import("../BannerSemanticComponents").SemanticContainerProps & import("
|
|
2
|
+
export declare const BannerContainer: import("styled-components").StyledComponent<({ variant, size, ...props }: import("../BannerSemanticComponents").SemanticContainerProps & import("../../..").ComposeChildrenProps & Omit<import("react").HTMLAttributes<HTMLDivElement>, "content" | "children">) => import("react/jsx-runtime").JSX.Element, any, {}, never>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const Message: import("styled-components").StyledComponent<({ size, variant, color, component, ellipsis, ...restProps }: import("../../../Typography
|
|
1
|
+
export declare const Message: import("styled-components").StyledComponent<({ size, variant, color, component, ellipsis, ...restProps }: import("../../../Typography").TypographyBodyProps) => import("react/jsx-runtime").JSX.Element, any, {}, never>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export type MessageProps =
|
|
1
|
+
import { TypographyBodyProps } from '../../../Typography';
|
|
2
|
+
export type MessageProps = TypographyBodyProps;
|
|
@@ -3,7 +3,7 @@ import { BoxSelectionGroupBox, BoxSelectionGroupProps } from './BoxSelectionGrou
|
|
|
3
3
|
declare const BoxSelectionGroup: (<TValue extends string = string, TBox extends BoxSelectionGroupBox<TValue> = BoxSelectionGroupBox<TValue>>({ boxes, ...restProps }: BoxSelectionGroupProps<TValue, TBox>) => import("react/jsx-runtime").JSX.Element) & {
|
|
4
4
|
Compose: <TValue_1 extends string = string>({ defaultValue, value, onChange, ...restProps }: import(".").BoxSelectionGroupComposeProps<TValue_1> & import(".").RestBoxSelectionGroupComposeProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
5
|
Item: (({ box, ...restProps }: import(".").BoxSelectionGroupItemComposeProps & import(".").RestBoxSelectionGroupItemProps) => import("react/jsx-runtime").JSX.Element) & {
|
|
6
|
-
Compose: import("react").ForwardRefExoticComponent<import(".").BoxSelectionGroupItemComposeProps & import("
|
|
6
|
+
Compose: import("react").ForwardRefExoticComponent<import(".").BoxSelectionGroupItemComposeProps & import("..").ComposeChildrenProps & Omit<import("react").HTMLAttributes<HTMLButtonElement>, "content" | "children"> & import("react").RefAttributes<HTMLButtonElement>>;
|
|
7
7
|
Icon: ({ icon, ...restProps }: import("./components/Item/components/Icon/Icon.types").BoxSelectionGroupItemIconProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
8
8
|
Interactive: (props: {
|
|
9
9
|
children: import("react").ReactNode;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export declare const BoxSelectionGroupItem: import("styled-components").StyledComponent<(({ box, ...restProps }: import(".").BoxSelectionGroupItemComposeProps & import(".").RestBoxSelectionGroupItemProps) => import("react/jsx-runtime").JSX.Element) & {
|
|
3
|
-
Compose: import("react").ForwardRefExoticComponent<import(".").BoxSelectionGroupItemComposeProps & import("
|
|
3
|
+
Compose: import("react").ForwardRefExoticComponent<import(".").BoxSelectionGroupItemComposeProps & import("..").ComposeChildrenProps & Omit<import("react").HTMLAttributes<HTMLButtonElement>, "content" | "children"> & import("react").RefAttributes<HTMLButtonElement>>;
|
|
4
4
|
Icon: ({ icon, ...restProps }: import("./components/Item/components/Icon/Icon.types").BoxSelectionGroupItemIconProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
5
5
|
Interactive: (props: {
|
|
6
6
|
children: import("react").ReactNode;
|
|
@@ -3,7 +3,7 @@ import { BoxSelectionGroupBox, MultiBoxSelectionGroupProps } from './BoxSelectio
|
|
|
3
3
|
declare const MultiBoxSelectionGroup: (<TValue extends string = string, TBox extends BoxSelectionGroupBox<TValue> = BoxSelectionGroupBox<TValue>>({ boxes, ...restProps }: MultiBoxSelectionGroupProps<TValue, TBox>) => import("react/jsx-runtime").JSX.Element) & {
|
|
4
4
|
Compose: <TValue_1 extends string = string>({ onChange, ...restProps }: import(".").MultiBoxSelectionGroupComposeProps<TValue_1> & import(".").RestBoxSelectionGroupComposeProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
5
|
Item: (({ box, ...restProps }: import(".").BoxSelectionGroupItemComposeProps & import(".").RestBoxSelectionGroupItemProps) => import("react/jsx-runtime").JSX.Element) & {
|
|
6
|
-
Compose: import("react").ForwardRefExoticComponent<import(".").BoxSelectionGroupItemComposeProps & import("
|
|
6
|
+
Compose: import("react").ForwardRefExoticComponent<import(".").BoxSelectionGroupItemComposeProps & import("..").ComposeChildrenProps & Omit<import("react").HTMLAttributes<HTMLButtonElement>, "content" | "children"> & import("react").RefAttributes<HTMLButtonElement>>;
|
|
7
7
|
Icon: ({ icon, ...restProps }: import("./components/Item/components/Icon/Icon.types").BoxSelectionGroupItemIconProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
8
8
|
Interactive: (props: {
|
|
9
9
|
children: import("react").ReactNode;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { BoxSelectionGroupItemProps, RestBoxSelectionGroupItemProps } from './Item.types';
|
|
3
3
|
declare const Item: (({ box, ...restProps }: BoxSelectionGroupItemProps & RestBoxSelectionGroupItemProps) => import("react/jsx-runtime").JSX.Element) & {
|
|
4
|
-
Compose: import("react").ForwardRefExoticComponent<import("../..").BoxSelectionGroupItemComposeProps & import("
|
|
4
|
+
Compose: import("react").ForwardRefExoticComponent<import("../..").BoxSelectionGroupItemComposeProps & import("../../..").ComposeChildrenProps & Omit<import("react").HTMLAttributes<HTMLButtonElement>, "content" | "children"> & import("react").RefAttributes<HTMLButtonElement>>;
|
|
5
5
|
Icon: ({ icon, ...restProps }: import("./components/Icon/Icon.types").BoxSelectionGroupItemIconProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
6
6
|
Interactive: (props: {
|
|
7
7
|
children: import("react").ReactNode;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { BoxSelectionGroupItemComposeProps } from './Compose.types';
|
|
3
|
-
declare const Compose: React.ForwardRefExoticComponent<BoxSelectionGroupItemComposeProps & import("
|
|
3
|
+
declare const Compose: React.ForwardRefExoticComponent<BoxSelectionGroupItemComposeProps & import("../../../../..").ComposeChildrenProps & Omit<React.HTMLAttributes<HTMLButtonElement>, "content" | "children"> & React.RefAttributes<HTMLButtonElement>>;
|
|
4
4
|
export default Compose;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { j as jsxRuntimeExports } from "../../node_modules/react/jsx-runtime.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { IconButton as IconButton$
|
|
3
|
+
import { IconButton as IconButton$2 } from "./IconButton.style.js";
|
|
4
4
|
import Icon from "../components/Icon/Icon.js";
|
|
5
5
|
import { ButtonContext } from "../Button.context.js";
|
|
6
6
|
const IconButton = React__default.forwardRef(({
|
|
@@ -10,7 +10,7 @@ const IconButton = React__default.forwardRef(({
|
|
|
10
10
|
}, ref) => {
|
|
11
11
|
return jsxRuntimeExports.jsx(ButtonContext.Provider, {
|
|
12
12
|
value: "icon",
|
|
13
|
-
children: jsxRuntimeExports.jsx(IconButton$
|
|
13
|
+
children: jsxRuntimeExports.jsx(IconButton$2, {
|
|
14
14
|
type: "button",
|
|
15
15
|
size,
|
|
16
16
|
ref,
|
|
@@ -22,7 +22,7 @@ const IconButton = React__default.forwardRef(({
|
|
|
22
22
|
})
|
|
23
23
|
});
|
|
24
24
|
});
|
|
25
|
-
const
|
|
25
|
+
const IconButton$1 = IconButton;
|
|
26
26
|
export {
|
|
27
|
-
|
|
27
|
+
IconButton$1 as default
|
|
28
28
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export interface IndicatorCountTypes extends Omit<
|
|
1
|
+
import { TypographyBodyProps } from '../../../../Typography';
|
|
2
|
+
export interface IndicatorCountTypes extends Omit<TypographyBodyProps, 'children'> {
|
|
3
3
|
count: number;
|
|
4
4
|
}
|
|
@@ -3,4 +3,4 @@ export declare const CheckboxLabel: import("styled-components").StyledComponent<
|
|
|
3
3
|
$checked: CheckedType;
|
|
4
4
|
$variant: CheckboxVariants;
|
|
5
5
|
}, never>;
|
|
6
|
-
export declare const TypographyBody: import("styled-components").StyledComponent<({ size, variant, color, component, ellipsis, ...restProps }: import("../../../Typography
|
|
6
|
+
export declare const TypographyBody: import("styled-components").StyledComponent<({ size, variant, color, component, ellipsis, ...restProps }: import("../../../Typography").TypographyBodyProps) => import("react/jsx-runtime").JSX.Element, any, {}, never>;
|
package/dist/Chip/Chip.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { ChipProps } from './Chip.types';
|
|
3
3
|
declare const Chip: (({ text, onClose, ...restProps }: ChipProps) => import("react/jsx-runtime").JSX.Element) & {
|
|
4
|
-
Compose: ({ size, variant, disabled, tooltip, ...restProps }: import("
|
|
5
|
-
Title: ({ size, ...restProps }: import("
|
|
4
|
+
Compose: ({ size, variant, disabled, tooltip, ...restProps }: import("..").ComposeChildrenProps & Omit<import("react").HTMLAttributes<HTMLSpanElement>, "content" | "children"> & import("./components/Compose/Compose.types").ChipComposeProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
Title: ({ size, ...restProps }: import("..").TypographyBodyProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
6
|
CloseButton: ({ onClose, icon: Icon, ...restProps }: Pick<import("react").HTMLAttributes<HTMLElement>, "style" | "className"> & {
|
|
7
7
|
icon?: import("@redislabsdev/redis-ui-icons/monochrome").IconType | undefined;
|
|
8
8
|
} & import("./components/CloseButton/CloseButton.types").ChipCloseButtonProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const Title: ({ size, ...restProps }:
|
|
1
|
+
import { TypographyBodyProps } from '../../../Typography';
|
|
2
|
+
export declare const Title: ({ size, ...restProps }: TypographyBodyProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export declare const ExtraListContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
2
|
-
export declare const ExtraListItem: import("styled-components").StyledComponent<({ size, variant, color, component, ellipsis, ...restProps }: import("../../Typography
|
|
2
|
+
export declare const ExtraListItem: import("styled-components").StyledComponent<({ size, variant, color, component, ellipsis, ...restProps }: import("../../Typography").TypographyBodyProps) => import("react/jsx-runtime").JSX.Element, any, {
|
|
3
3
|
$disabled?: boolean | undefined;
|
|
4
4
|
}, never>;
|
package/dist/Drawer/Drawer.d.ts
CHANGED
|
@@ -5,8 +5,8 @@ declare const Drawer: (({ children, persistent, open, onOpenChange, containerEle
|
|
|
5
5
|
Compose: ({ children, ...props }: import("./components/Header/components/Compose/Compose.types").DrawerHeaderComposeProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
6
|
Title: ({ hidden, children, ...restProps }: import("./components/Header/components/Title/Title.types").DrawerContentTitleProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
7
|
};
|
|
8
|
-
Description: (({ hidden, children, ...restProps }: import("./components/Description/Description.types").DrawerDescriptionProps & import("
|
|
9
|
-
Text: (props: import("
|
|
8
|
+
Description: (({ hidden, children, ...restProps }: import("./components/Description/Description.types").DrawerDescriptionProps & import("..").ComposeChildrenProps & Omit<import("react").HTMLAttributes<HTMLDivElement>, "content" | "children">) => import("react/jsx-runtime").JSX.Element | null) & {
|
|
9
|
+
Text: (props: import("..").TypographyHeadingProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
10
|
};
|
|
11
11
|
Body: (props: import("./components/Body/Body.types").DrawerBodyProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
12
|
Footer: (({ primaryButtonText, secondaryButtonText, tertiaryButtonText, tertiaryButtonIcon, primaryButtonDisabled, secondaryButtonDisabled, tertiaryButtonDisabled, onPrimaryButtonClick, onSecondaryButtonClick, onTertiaryButtonClick, ...restProps }: import("./components/Footer/Footer.types").DrawerFooterProps) => import("react/jsx-runtime").JSX.Element) & {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DrawerDescriptionProps, RestDrawerDescriptionProps } from './Description.types';
|
|
2
2
|
declare const Description: (({ hidden, children, ...restProps }: DrawerDescriptionProps & RestDrawerDescriptionProps) => import("react/jsx-runtime").JSX.Element | null) & {
|
|
3
|
-
Text: (props: import("
|
|
3
|
+
Text: (props: import("../../..").TypographyHeadingProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
};
|
|
5
5
|
export default Description;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const Text: import("styled-components").StyledComponent<({ size, ellipsis, color, ...restProps }: import("
|
|
1
|
+
export declare const Text: import("styled-components").StyledComponent<({ size, ellipsis, color, variant, component, ...restProps }: import("../../../../..").TypographyHeadingProps) => import("react/jsx-runtime").JSX.Element, any, {}, never>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export type DrawerDescriptionTextProps =
|
|
1
|
+
import { TypographyHeadingProps } from '../../../../../Typography';
|
|
2
|
+
export type DrawerDescriptionTextProps = TypographyHeadingProps;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import _styled from "styled-components";
|
|
2
2
|
import { useTheme } from "@redislabsdev/redis-ui-styles";
|
|
3
|
-
import
|
|
3
|
+
import IconButton from "../../../../../Button/IconButton/IconButton.js";
|
|
4
4
|
const Container = _styled.div.withConfig({
|
|
5
5
|
displayName: "Composestyle__Container",
|
|
6
6
|
componentId: "RedisUI__sc-1y8ap56-0"
|
|
7
7
|
})(["display:flex;align-items:center;padding-inline:", ";padding-block:", ";"], () => useTheme().components.drawer.sidePadding, () => useTheme().components.drawer.header.blockPadding);
|
|
8
|
-
const CloseIconButton = _styled(
|
|
8
|
+
const CloseIconButton = _styled(IconButton).withConfig({
|
|
9
9
|
displayName: "Composestyle__CloseIconButton",
|
|
10
10
|
componentId: "RedisUI__sc-1y8ap56-1"
|
|
11
11
|
})(["margin-left:auto;color:", ";"], () => useTheme().components.drawer.header.closeIconColor);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const Title: import("styled-components").StyledComponent<({ size, ellipsis, color, ...restProps }: import("
|
|
1
|
+
export declare const Title: import("styled-components").StyledComponent<({ size, ellipsis, color, variant, component, ...restProps }: import("../../../../..").TypographyHeadingProps) => import("react/jsx-runtime").JSX.Element, any, {}, never>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export type DrawerContentTitleProps =
|
|
1
|
+
import { TypographyHeadingProps } from '../../../../../Typography';
|
|
2
|
+
export type DrawerContentTitleProps = TypographyHeadingProps & {
|
|
3
3
|
hidden?: boolean;
|
|
4
4
|
};
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export declare const MenuContent: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("../../../Menu/components/Content/Content.types").MenuContentProps & import("react").RefAttributes<HTMLDivElement>> & {
|
|
3
3
|
Item: (({ text, icon, subHead, description, isSelected, selected, ...restProps }: import("../../../Menu").MenuItemProps) => import("react/jsx-runtime").JSX.Element) & {
|
|
4
|
-
Text: ({ tooltipOnEllipsis, ...restProps }: import("
|
|
4
|
+
Text: ({ tooltipOnEllipsis, ...restProps }: import("../../..").TypographyBodyProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
5
|
Icon: ({ icon, ...props }: import("../../../Menu/components/Content/components/Item/Components/Icon/Icon.types").MenuIconProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
SubHead: (props: import("
|
|
6
|
+
SubHead: (props: import("../../..").TypographyBodyProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
7
|
Compose: ({ isSelected, selected, onClick, ...restProps }: import("../../../Menu/components/Content/components/Item/Components/Compose/Compose.types").MenuItemComposeProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
8
|
Check: ({ icon, ...restProps }: import("../../../Menu/components/Content/components/Item/Components/Check/Check.types").CheckProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
9
|
Split: ({ minWidth, ...props }: import("../../../Menu/components/Content/components/Item/Components/Split/Split.types").SplitProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
10
|
};
|
|
11
11
|
DropdownArrow: (props: import("../../../Menu/components/Content/components/DropdownArrow/DropdownArrow.types").DropdownArrowProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
12
|
Label: (({ children, text, icon, ...restProps }: import("../../../Menu").MenuLabelProps & import("../../../Menu").RestMenuLabelProps) => import("react/jsx-runtime").JSX.Element) & {
|
|
13
|
-
Text: ({ tooltipOnEllipsis, ...restProps }: import("
|
|
13
|
+
Text: ({ tooltipOnEllipsis, ...restProps }: import("../../..").TypographyBodyProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
14
|
Icon: ({ icon, ...props }: import("../../../Menu/components/Content/components/Item/Components/Icon/Icon.types").MenuIconProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
-
Compose: (props: import("../../../Menu/components/Content/components/Label/components/Compose/Compose.types").MenuLabelComposeProps & import("
|
|
15
|
+
Compose: (props: import("../../../Menu/components/Content/components/Label/components/Compose/Compose.types").MenuLabelComposeProps & import("../../..").ComposeChildrenProps & Omit<import("react").HTMLAttributes<HTMLDivElement>, "content" | "children">) => import("react/jsx-runtime").JSX.Element;
|
|
16
16
|
};
|
|
17
17
|
Separator: (props: import("../../../Menu/components/Content/components/Separator/Separator.types").SeparatorProps) => import("react/jsx-runtime").JSX.Element;
|
|
18
18
|
}, any, {}, never>;
|
|
@@ -23,7 +23,7 @@ export declare const FilterToggleButton: import("styled-components").StyledCompo
|
|
|
23
23
|
export declare const MenuOptionsContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
24
24
|
export declare const MenuOption: import("styled-components").StyledComponent<({ isSelected, selected, onClick, ...restProps }: import("../../../Menu/components/Content/components/Item/Components/Compose/Compose.types").MenuItemComposeProps) => import("react/jsx-runtime").JSX.Element, any, {}, never>;
|
|
25
25
|
export declare const OptionsSearch: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<Omit<import("../../../Inputs/components/Compose/TextCompose.types").TextInputComposeProps, "readOnly" | "parser" | "formatter"> & import("../../../Inputs/components/InputTag/InputTag.types").InputTagProps & import("../../../Inputs/components/LoadingIndicator/LoadingIndicator.types").LoadingIndicatorProps & import("../../../Inputs/components/ResetButton/ResetButton.types").ResetButtonProps & import("../../../Inputs").RestInputProps & import("react").RefAttributes<HTMLInputElement>> & {
|
|
26
|
-
Compose: ({ value, defaultValue, onChange, parser, formatter, ...restProps }: import("../../../Inputs/components/Compose/CommonCompose.types").CommonInputComposeProps & Omit<import("../../../Inputs/components/Context/InputValueProvider").InputValueProviderProps, "children"> & Omit<import("
|
|
26
|
+
Compose: ({ value, defaultValue, onChange, parser, formatter, ...restProps }: import("../../../Inputs/components/Compose/CommonCompose.types").CommonInputComposeProps & Omit<import("../../../Inputs/components/Context/InputValueProvider").InputValueProviderProps, "children"> & Omit<import("../../..").ComposeElementProps<HTMLDivElement>, "defaultValue" | "onChange"> & {
|
|
27
27
|
readonlyRender?: import("../../../Inputs/components/ReadonlyRender/ReadonlyRender.types").ReadOnlyRenderComponent | undefined;
|
|
28
28
|
readonlyProps?: import("react").HTMLAttributes<HTMLElement> | undefined;
|
|
29
29
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const AdditionalText: import("styled-components").StyledComponent<({ size, variant, color, component, ellipsis, ...restProps }: import("../../../Typography
|
|
1
|
+
export declare const AdditionalText: import("styled-components").StyledComponent<({ size, variant, color, component, ellipsis, ...restProps }: import("../../../Typography").TypographyBodyProps) => import("react/jsx-runtime").JSX.Element, any, {
|
|
2
2
|
$error: boolean;
|
|
3
3
|
}, never>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { TypographyBodyProps } from '../../../Typography';
|
|
2
2
|
import { FieldStatus } from '../../FormField.types';
|
|
3
|
-
export type AdditionalTextProps =
|
|
3
|
+
export type AdditionalTextProps = TypographyBodyProps & {
|
|
4
4
|
forceStatus?: FieldStatus;
|
|
5
5
|
};
|
package/dist/Helpers/index.d.ts
CHANGED
|
@@ -14,9 +14,13 @@ const combineHandlers = (...handlers) => {
|
|
|
14
14
|
};
|
|
15
15
|
const isFragmentElement = (el) => el.type === React.Fragment;
|
|
16
16
|
const isTextualNode = (node) => !node || (Array.isArray(node) ? node.flat().every(isTextualNode) : !React.isValidElement(node) || isFragmentElement(node) && isTextualNode(node.props.children));
|
|
17
|
+
const forwardRefWithGenerics = React.forwardRef;
|
|
18
|
+
const memoWithGenerics = React.memo;
|
|
17
19
|
exports.childrenToString = childrenToString;
|
|
18
20
|
exports.combineHandlers = combineHandlers;
|
|
21
|
+
exports.forwardRefWithGenerics = forwardRefWithGenerics;
|
|
19
22
|
exports.handlePreventDefault = handlePreventDefault;
|
|
20
23
|
exports.handleStopPropagation = handleStopPropagation;
|
|
21
24
|
exports.isFragmentElement = isFragmentElement;
|
|
22
25
|
exports.isTextualNode = isTextualNode;
|
|
26
|
+
exports.memoWithGenerics = memoWithGenerics;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ReactElement, ReactNode } from 'react';
|
|
1
|
+
import { ReactElement, ReactNode, ForwardedRef, FunctionComponent, PropsWithoutRef, RefAttributes } from 'react';
|
|
2
2
|
export declare const handlePreventDefault: (e: {
|
|
3
3
|
preventDefault: VoidFunction;
|
|
4
4
|
}) => void;
|
|
@@ -18,4 +18,6 @@ export declare const isFragmentElement: (el: ReactElement) => el is ReactElement
|
|
|
18
18
|
* Returns false if texts is wrapped into other components, including Fragment.
|
|
19
19
|
*/
|
|
20
20
|
export declare const isTextualNode: (node: ReactNode) => boolean;
|
|
21
|
+
export declare const forwardRefWithGenerics: <T, P = {}>(render: (props: P, ref: ForwardedRef<T>) => ReturnType<FunctionComponent>) => (props: PropsWithoutRef<P> & RefAttributes<T>) => ReturnType<FunctionComponent>;
|
|
22
|
+
export declare const memoWithGenerics: <P extends object>(Component: (props: P) => ReturnType<FunctionComponent>, propsAreEqual?: ((prevProps: Readonly<P>, nextProps: Readonly<P>) => boolean) | undefined) => (props: P) => ReturnType<FunctionComponent>;
|
|
21
23
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Fragment, isValidElement } from "react";
|
|
1
|
+
import { Fragment, isValidElement, forwardRef, memo } from "react";
|
|
2
2
|
import "../node_modules/react-children-utilities/react-children-utilities.js";
|
|
3
3
|
import onlyText from "../node_modules/react-children-utilities/lib/onlyText.js";
|
|
4
4
|
const handlePreventDefault = (e) => e.preventDefault();
|
|
@@ -12,11 +12,15 @@ const combineHandlers = (...handlers) => {
|
|
|
12
12
|
};
|
|
13
13
|
const isFragmentElement = (el) => el.type === Fragment;
|
|
14
14
|
const isTextualNode = (node) => !node || (Array.isArray(node) ? node.flat().every(isTextualNode) : !isValidElement(node) || isFragmentElement(node) && isTextualNode(node.props.children));
|
|
15
|
+
const forwardRefWithGenerics = forwardRef;
|
|
16
|
+
const memoWithGenerics = memo;
|
|
15
17
|
export {
|
|
16
18
|
childrenToString,
|
|
17
19
|
combineHandlers,
|
|
20
|
+
forwardRefWithGenerics,
|
|
18
21
|
handlePreventDefault,
|
|
19
22
|
handleStopPropagation,
|
|
20
23
|
isFragmentElement,
|
|
21
|
-
isTextualNode
|
|
24
|
+
isTextualNode,
|
|
25
|
+
memoWithGenerics
|
|
22
26
|
};
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
import { RestInputProps } from './Input.types';
|
|
3
3
|
declare const Input: import("react").ForwardRefExoticComponent<import("../components/Compose/CommonCompose.types").CommonInputComposeProps & Omit<import("../components/Context/InputValueProvider").InputValueProviderProps, "children"> & import("../components/InputTag/InputTag.types").InputTagProps & import("../components/LoadingIndicator/LoadingIndicator.types").LoadingIndicatorProps & import("../components/ResetButton/ResetButton.types").ResetButtonProps & RestInputProps & import("react").RefAttributes<HTMLInputElement>> & {
|
|
4
4
|
StatusIndicator: ({ className, style, size, ...restProps }: import("@redislabsdev/redis-ui-icons/monochrome").MonochromeIconProps & Pick<import("react").HTMLAttributes<unknown>, "style" | "className">) => import("react/jsx-runtime").JSX.Element | null;
|
|
5
|
-
Compose: ({ value, defaultValue, onChange, parser, formatter, ...restProps }: import("../components/Compose/CommonCompose.types").CommonInputComposeProps & Omit<import("../components/Context/InputValueProvider").InputValueProviderProps, "children"> & Omit<import("
|
|
5
|
+
Compose: ({ value, defaultValue, onChange, parser, formatter, ...restProps }: import("../components/Compose/CommonCompose.types").CommonInputComposeProps & Omit<import("../components/Context/InputValueProvider").InputValueProviderProps, "children"> & Omit<import("../..").ComposeElementProps<HTMLDivElement>, "defaultValue" | "onChange"> & {
|
|
6
6
|
readonlyRender?: import("../components/ReadonlyRender/ReadonlyRender.types").ReadOnlyRenderComponent | undefined;
|
|
7
7
|
readonlyProps?: import("react").HTMLAttributes<HTMLElement> | undefined;
|
|
8
8
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
9
9
|
LoadingIndicator: ({ loading, ...restProps }: import("../components/LoadingIndicator/LoadingIndicator.types").LoadingIndicatorProps & import("../components/LoadingIndicator/LoadingIndicator.types").RestLoadingIndicatorProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
10
10
|
Tag: import("react").ForwardRefExoticComponent<import("../components/InputTag/InputTag.types").InputTagProps & import("../components/InputTag/InputTag.types").RestInputTagProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
11
|
-
ReadonlyValue: import("styled-components").StyledComponent<({ size, variant, color, component, ellipsis, ...restProps }: import("
|
|
11
|
+
ReadonlyValue: import("styled-components").StyledComponent<({ size, variant, color, component, ellipsis, ...restProps }: import("../..").TypographyBodyProps) => import("react/jsx-runtime").JSX.Element, any, {
|
|
12
12
|
readOnly: boolean;
|
|
13
13
|
}, "readOnly">;
|
|
14
14
|
ResetButton: ({ size, icon, allowReset, onClick, onMouseDown, ...restProps }: Partial<import("../..").IconButtonProps> & import("../components/ResetButton/ResetButton.types").ResetButtonProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -4,13 +4,13 @@ declare const NumericInput: import("react").ForwardRefExoticComponent<import("..
|
|
|
4
4
|
readOnly?: boolean | undefined;
|
|
5
5
|
} & RestNumericInputProps & import("react").RefAttributes<HTMLInputElement>> & {
|
|
6
6
|
StatusIndicator: ({ className, style, size, ...restProps }: import("@redislabsdev/redis-ui-icons/monochrome").MonochromeIconProps & Pick<import("react").HTMLAttributes<unknown>, "style" | "className">) => import("react/jsx-runtime").JSX.Element | null;
|
|
7
|
-
Compose: ({ value, defaultValue, onChange, min, max, step, required, maxDecimals, autoValidate, validate, calcStepActionValue, ...restProps }: import("../components/Compose/CommonCompose.types").CommonInputComposeProps & Omit<import("../components/Context/NumericInputValueProvider").NumericInputValueProviderProps, "children"> & Omit<import("
|
|
7
|
+
Compose: ({ value, defaultValue, onChange, min, max, step, required, maxDecimals, autoValidate, validate, calcStepActionValue, ...restProps }: import("../components/Compose/CommonCompose.types").CommonInputComposeProps & Omit<import("../components/Context/NumericInputValueProvider").NumericInputValueProviderProps, "children"> & Omit<import("../..").ComposeElementProps<HTMLDivElement>, "defaultValue" | "onChange"> & {
|
|
8
8
|
readonlyRender?: import("../components/ReadonlyRender/ReadonlyRender.types").ReadOnlyRenderComponent | undefined;
|
|
9
9
|
readonlyProps?: import("react").HTMLAttributes<HTMLElement> | undefined;
|
|
10
10
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
11
11
|
LoadingIndicator: ({ loading, ...restProps }: import("../components/LoadingIndicator/LoadingIndicator.types").LoadingIndicatorProps & import("../components/LoadingIndicator/LoadingIndicator.types").RestLoadingIndicatorProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
12
12
|
Tag: import("react").ForwardRefExoticComponent<import("../components/InputTag/InputTag.types").InputTagProps & import("../components/InputTag/InputTag.types").RestInputTagProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
13
|
-
ReadonlyValue: import("styled-components").StyledComponent<({ size, variant, color, component, ellipsis, ...restProps }: import("
|
|
13
|
+
ReadonlyValue: import("styled-components").StyledComponent<({ size, variant, color, component, ellipsis, ...restProps }: import("../..").TypographyBodyProps) => import("react/jsx-runtime").JSX.Element, any, {
|
|
14
14
|
readOnly: boolean;
|
|
15
15
|
}, "readOnly">;
|
|
16
16
|
ResetButton: ({ size, icon, allowReset, onClick, onMouseDown, ...restProps }: Partial<import("../..").IconButtonProps> & import("../components/ResetButton/ResetButton.types").ResetButtonProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const PasswordInputCompose: import("styled-components").StyledComponent<({ value, defaultValue, onChange, parser, formatter, ...restProps }: import("../../../components/Compose/CommonCompose.types").CommonInputComposeProps & Omit<import("../../../components/Context/InputValueProvider").InputValueProviderProps, "children"> & Omit<import("
|
|
2
|
+
export declare const PasswordInputCompose: import("styled-components").StyledComponent<({ value, defaultValue, onChange, parser, formatter, ...restProps }: import("../../../components/Compose/CommonCompose.types").CommonInputComposeProps & Omit<import("../../../components/Context/InputValueProvider").InputValueProviderProps, "children"> & Omit<import("../../../..").ComposeElementProps<HTMLDivElement>, "defaultValue" | "onChange"> & {
|
|
3
3
|
readonlyRender?: import("../../../components/ReadonlyRender/ReadonlyRender.types").ReadOnlyRenderComponent | undefined;
|
|
4
4
|
readonlyProps?: import("react").HTMLAttributes<HTMLElement> | undefined;
|
|
5
5
|
}) => import("react/jsx-runtime").JSX.Element, any, {}, never>;
|
|
@@ -3,7 +3,7 @@ import { HideIcon, ShowIcon } from "@redislabsdev/redis-ui-icons";
|
|
|
3
3
|
import { useFieldDisabled } from "../../../components/Context/Field.context.js";
|
|
4
4
|
import { usePasswordExposure } from "../PasswordInput.context.js";
|
|
5
5
|
import { useInputValueApi } from "../../../components/Context/InputValue.context.js";
|
|
6
|
-
import
|
|
6
|
+
import IconButton from "../../../../Button/IconButton/IconButton.js";
|
|
7
7
|
const PasswordButton = (props) => {
|
|
8
8
|
const fieldDisabled = useFieldDisabled();
|
|
9
9
|
const {
|
|
@@ -15,7 +15,7 @@ const PasswordButton = (props) => {
|
|
|
15
15
|
showExposureToggle
|
|
16
16
|
} = usePasswordExposure();
|
|
17
17
|
const showToggle = showExposureToggle === "always" || showExposureToggle === "has-value" && value;
|
|
18
|
-
return showToggle ? jsxRuntimeExports.jsx(
|
|
18
|
+
return showToggle ? jsxRuntimeExports.jsx(IconButton, {
|
|
19
19
|
size: "XL",
|
|
20
20
|
...props,
|
|
21
21
|
disabled: fieldDisabled,
|
|
@@ -4,7 +4,7 @@ declare const QuantityCounter: import("react").ForwardRefExoticComponent<import(
|
|
|
4
4
|
incrementButtonProps?: Omit<import("./QuantityCounter.types").QuantityCounterStepButtonProps, "action"> | undefined;
|
|
5
5
|
decrementButtonProps?: Omit<import("./QuantityCounter.types").QuantityCounterStepButtonProps, "action"> | undefined;
|
|
6
6
|
} & RestQuantityCounterProps & import("react").RefAttributes<HTMLInputElement>> & {
|
|
7
|
-
Compose: ({ valueLabel, readonlyRender, children, onMouseEnter, onMouseLeave, ...restProps }: import("../components/Compose/CommonCompose.types").CommonInputComposeProps & Omit<import("../components/Context/NumericInputValueProvider").NumericInputValueProviderProps, "children"> & Omit<import("
|
|
7
|
+
Compose: ({ valueLabel, readonlyRender, children, onMouseEnter, onMouseLeave, ...restProps }: import("../components/Compose/CommonCompose.types").CommonInputComposeProps & Omit<import("../components/Context/NumericInputValueProvider").NumericInputValueProviderProps, "children"> & Omit<import("../..").ComposeElementProps<HTMLDivElement>, "defaultValue" | "onChange"> & {
|
|
8
8
|
readonlyRender?: import("../components/ReadonlyRender/ReadonlyRender.types").ReadOnlyRenderComponent | undefined;
|
|
9
9
|
readonlyProps?: import("react").HTMLAttributes<HTMLElement> | undefined;
|
|
10
10
|
} & {
|
|
@@ -12,14 +12,14 @@ declare const QuantityCounter: import("react").ForwardRefExoticComponent<import(
|
|
|
12
12
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
13
13
|
StepButton: ({ action, title, variant, size, icon, disabled, onClick, onMouseDown, ...restProps }: import("./QuantityCounter.types").QuantityCounterStepButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
14
|
InputGroup: import("react").ForwardRefExoticComponent<import("../components/InputTag/InputTag.types").RestInputTagProps & import("./QuantityCounter.types").QuantityCounterInputGroupProps & import("react").RefAttributes<HTMLInputElement>> & {
|
|
15
|
-
Compose: (props: import("
|
|
15
|
+
Compose: (props: import("../..").ComposeElementProps<HTMLDivElement>) => import("react/jsx-runtime").JSX.Element;
|
|
16
16
|
Tag: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("../components/InputTag/InputTag.types").InputTagProps & import("../components/InputTag/InputTag.types").RestInputTagProps & import("react").RefAttributes<HTMLInputElement>>, any, {
|
|
17
17
|
autoSize: true;
|
|
18
18
|
'aria-description': string;
|
|
19
19
|
}, "aria-description" | "autoSize">;
|
|
20
20
|
ValueLabel: ({ children }: import("./components/InputGroup/components/ValueLabel/ValueLabel.types").ValueLabelProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
21
21
|
};
|
|
22
|
-
ReadonlyValue: import("styled-components").StyledComponent<({ size, variant, color, component, ellipsis, ...restProps }: import("
|
|
22
|
+
ReadonlyValue: import("styled-components").StyledComponent<({ size, variant, color, component, ellipsis, ...restProps }: import("../..").TypographyBodyProps) => import("react/jsx-runtime").JSX.Element, any, {
|
|
23
23
|
readOnly: boolean;
|
|
24
24
|
}, "readOnly">;
|
|
25
25
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const QuantityCounterCompose: import("styled-components").StyledComponent<({ value, defaultValue, onChange, min, max, step, required, maxDecimals, autoValidate, validate, calcStepActionValue, ...restProps }: import("../../../components/Compose/CommonCompose.types").CommonInputComposeProps & Omit<import("../../../components/Context/NumericInputValueProvider").NumericInputValueProviderProps, "children"> & Omit<import("
|
|
2
|
+
export declare const QuantityCounterCompose: import("styled-components").StyledComponent<({ value, defaultValue, onChange, min, max, step, required, maxDecimals, autoValidate, validate, calcStepActionValue, ...restProps }: import("../../../components/Compose/CommonCompose.types").CommonInputComposeProps & Omit<import("../../../components/Context/NumericInputValueProvider").NumericInputValueProviderProps, "children"> & Omit<import("../../../..").ComposeElementProps<HTMLDivElement>, "defaultValue" | "onChange"> & {
|
|
3
3
|
readonlyRender?: import("../../../components/ReadonlyRender/ReadonlyRender.types").ReadOnlyRenderComponent | undefined;
|
|
4
4
|
readonlyProps?: import("react").HTMLAttributes<HTMLElement> | undefined;
|
|
5
5
|
}) => import("react/jsx-runtime").JSX.Element, any, {}, never>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const TooltipErrorText: import("styled-components").StyledComponent<(props: import("
|
|
1
|
+
export declare const TooltipErrorText: import("styled-components").StyledComponent<(props: import("../../../../../..").TypographyBodyProps) => import("react/jsx-runtime").JSX.Element, any, {}, never>;
|
|
2
2
|
export declare const StatusIndicator: import("styled-components").StyledComponent<"span", any, {}, never>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { QuantityCounterInputGroupProps } from './InputGroup.types';
|
|
3
3
|
export declare const InputGroup: import("react").ForwardRefExoticComponent<import("../../../components/InputTag/InputTag.types").RestInputTagProps & QuantityCounterInputGroupProps & import("react").RefAttributes<HTMLInputElement>> & {
|
|
4
|
-
Compose: (props: import("
|
|
4
|
+
Compose: (props: import("../../../..").ComposeElementProps<HTMLDivElement>) => import("react/jsx-runtime").JSX.Element;
|
|
5
5
|
Tag: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("../../../components/InputTag/InputTag.types").InputTagProps & import("../../../components/InputTag/InputTag.types").RestInputTagProps & import("react").RefAttributes<HTMLInputElement>>, any, {
|
|
6
6
|
autoSize: true;
|
|
7
7
|
'aria-description': string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const ValueLabel: import("styled-components").StyledComponent<({ size, variant, color, component, ellipsis, ...restProps }: import("../../../../../../Typography
|
|
1
|
+
export declare const ValueLabel: import("styled-components").StyledComponent<({ size, variant, color, component, ellipsis, ...restProps }: import("../../../../../../Typography").TypographyBodyProps) => import("react/jsx-runtime").JSX.Element, any, {}, never>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
declare const SearchInput: import("react").ForwardRefExoticComponent<Omit<import("../components/Compose/TextCompose.types").TextInputComposeProps, "readOnly" | "parser" | "formatter"> & import("../components/InputTag/InputTag.types").InputTagProps & import("../components/LoadingIndicator/LoadingIndicator.types").LoadingIndicatorProps & import("../components/ResetButton/ResetButton.types").ResetButtonProps & import("..").RestInputProps & import("react").RefAttributes<HTMLInputElement>> & {
|
|
3
|
-
Compose: ({ value, defaultValue, onChange, parser, formatter, ...restProps }: import("../components/Compose/CommonCompose.types").CommonInputComposeProps & Omit<import("../components/Context/InputValueProvider").InputValueProviderProps, "children"> & Omit<import("
|
|
3
|
+
Compose: ({ value, defaultValue, onChange, parser, formatter, ...restProps }: import("../components/Compose/CommonCompose.types").CommonInputComposeProps & Omit<import("../components/Context/InputValueProvider").InputValueProviderProps, "children"> & Omit<import("../..").ComposeElementProps<HTMLDivElement>, "defaultValue" | "onChange"> & {
|
|
4
4
|
readonlyRender?: import("../components/ReadonlyRender/ReadonlyRender.types").ReadOnlyRenderComponent | undefined;
|
|
5
5
|
readonlyProps?: import("react").HTMLAttributes<HTMLElement> | undefined;
|
|
6
6
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -8,12 +8,12 @@ declare const TextArea: import("react").ForwardRefExoticComponent<Omit<import(".
|
|
|
8
8
|
StatusIndicator: import("styled-components").StyledComponent<({ className, style, size, ...restProps }: import("@redislabsdev/redis-ui-icons/monochrome").MonochromeIconProps & Pick<import("react").HTMLAttributes<unknown>, "style" | "className">) => import("react/jsx-runtime").JSX.Element | null, any, {}, never>;
|
|
9
9
|
Compose: ({ readonlyRender, ...restProps }: Omit<import("../components/Compose/TextCompose.types").TextInputComposeProps, "parser" | "formatter"> & {
|
|
10
10
|
height?: string | undefined;
|
|
11
|
-
} & Omit<import("
|
|
11
|
+
} & Omit<import("../..").ComposeElementProps<HTMLDivElement>, "defaultValue" | "onChange"> & {
|
|
12
12
|
readonlyRender?: import("../components/ReadonlyRender/ReadonlyRender.types").ReadOnlyRenderComponent | undefined;
|
|
13
13
|
readonlyProps?: import("react").HTMLAttributes<HTMLElement> | undefined;
|
|
14
14
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
15
15
|
Tag: import("react").ForwardRefExoticComponent<import("./components/TextAreaTag/TextAreaTag").RestTextAreaTagProps & import("react").RefAttributes<HTMLTextAreaElement>>;
|
|
16
|
-
ReadonlyValue: import("styled-components").StyledComponent<({ size, variant, color, component, ellipsis, ...restProps }: import("
|
|
16
|
+
ReadonlyValue: import("styled-components").StyledComponent<({ size, variant, color, component, ellipsis, ...restProps }: import("../..").TypographyBodyProps) => import("react/jsx-runtime").JSX.Element, any, {
|
|
17
17
|
readOnly: boolean;
|
|
18
18
|
}, "readOnly">;
|
|
19
19
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const TextAreaCompose: import("styled-components").StyledComponent<({ value, defaultValue, onChange, parser, formatter, ...restProps }: import("../../../components/Compose/CommonCompose.types").CommonInputComposeProps & Omit<import("../../../components/Context/InputValueProvider").InputValueProviderProps, "children"> & Omit<import("
|
|
2
|
+
export declare const TextAreaCompose: import("styled-components").StyledComponent<({ value, defaultValue, onChange, parser, formatter, ...restProps }: import("../../../components/Compose/CommonCompose.types").CommonInputComposeProps & Omit<import("../../../components/Context/InputValueProvider").InputValueProviderProps, "children"> & Omit<import("../../../..").ComposeElementProps<HTMLDivElement>, "defaultValue" | "onChange"> & {
|
|
3
3
|
readonlyRender?: import("../../../components/ReadonlyRender/ReadonlyRender.types").ReadOnlyRenderComponent | undefined;
|
|
4
4
|
readonlyProps?: import("react").HTMLAttributes<HTMLElement> | undefined;
|
|
5
5
|
}) => import("react/jsx-runtime").JSX.Element, any, Omit<import("../../../components/Compose/TextCompose.types").TextInputComposeProps, "parser" | "formatter"> & {
|
|
@@ -7,6 +7,6 @@ export declare const TextAreaCompose: import("styled-components").StyledComponen
|
|
|
7
7
|
} & {
|
|
8
8
|
readOnly?: boolean | undefined;
|
|
9
9
|
}, never>;
|
|
10
|
-
export declare const ReadonlyValue: import("styled-components").StyledComponent<({ size, variant, color, component, ellipsis, ...restProps }: import("../../../../Typography
|
|
10
|
+
export declare const ReadonlyValue: import("styled-components").StyledComponent<({ size, variant, color, component, ellipsis, ...restProps }: import("../../../../Typography").TypographyBodyProps) => import("react/jsx-runtime").JSX.Element, any, {
|
|
11
11
|
readOnly: boolean;
|
|
12
12
|
}, "readOnly">;
|