@redis-ui/components 37.0.0 → 38.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/AppSelectionMenu/components/Item/Item.cjs +1 -3
- package/dist/AppSelectionMenu/components/Item/Item.js +2 -4
- package/dist/AppSelectionMenu/components/Item/Item.styles.cjs +6 -0
- package/dist/AppSelectionMenu/components/Item/Item.styles.d.ts +1 -0
- package/dist/AppSelectionMenu/components/Item/Item.styles.js +7 -1
- package/dist/AutoCompleteSelect/AutoCompleteSelect.style.d.ts +1 -1
- package/dist/Banner/components/Message/Message.style.d.ts +1 -1
- package/dist/Checkbox/components/Label/Label.style.d.ts +1 -1
- package/dist/ChipList/Components/ExtraItem.style.d.ts +1 -1
- package/dist/Drawer/components/Header/components/Title/Title.style.d.ts +1 -1
- package/dist/Filters/components/MultiSelectFilter/MultiSelectFilter.styles.d.ts +1 -1
- package/dist/FormField/FormField.d.ts +1 -1
- package/dist/FormField/components/AdditionalText/AdditionalText.style.d.ts +1 -1
- package/dist/Inputs/Input/Input.d.ts +1 -1
- package/dist/Inputs/NumericInput/NumericInput.d.ts +1 -1
- package/dist/Inputs/QuantityCounter/QuantityCounter.d.ts +1 -1
- package/dist/Inputs/QuantityCounter/components/InputGroup/components/ValueLabel/ValueLabel.style.d.ts +1 -1
- package/dist/Inputs/TextArea/TextArea.d.ts +1 -1
- package/dist/Inputs/TextArea/components/Compose/Compose.style.d.ts +1 -1
- package/dist/Inputs/components/Compose/Compose.style.d.ts +1 -1
- package/dist/Label/Label.d.ts +1 -1
- package/dist/Label/components/InfoIcon/InfoIcon.cjs +1 -5
- package/dist/Label/components/InfoIcon/InfoIcon.d.ts +1 -1
- package/dist/Label/components/InfoIcon/InfoIcon.js +1 -5
- package/dist/Label/components/InfoIcon/InfoIcon.types.d.ts +0 -2
- package/dist/Label/components/Optional/Optional.style.cjs +1 -6
- package/dist/Label/components/Optional/Optional.style.d.ts +1 -1
- package/dist/Label/components/Optional/Optional.style.js +1 -6
- package/dist/Label/components/Required/Required.style.cjs +1 -6
- package/dist/Label/components/Required/Required.style.d.ts +1 -1
- package/dist/Label/components/Required/Required.style.js +1 -6
- package/dist/Label/components/Text/Text.style.cjs +1 -2
- package/dist/Label/components/Text/Text.style.d.ts +1 -1
- package/dist/Label/components/Text/Text.style.js +1 -2
- package/dist/Link/Link.style.d.ts +1 -1
- package/dist/Menu/Menu.d.ts +1 -1
- package/dist/Menu/components/Content/Content.d.ts +1 -1
- package/dist/Menu/components/Content/components/DropdownArrow/DropdownArrow.cjs +1 -2
- package/dist/Menu/components/Content/components/DropdownArrow/DropdownArrow.d.ts +1 -1
- package/dist/Menu/components/Content/components/DropdownArrow/DropdownArrow.js +1 -2
- package/dist/Menu/components/Content/components/DropdownArrow/DropdownArrow.types.d.ts +0 -2
- package/dist/Menu/components/Content/components/Item/Components/SubHead/SubHead.style.cjs +1 -6
- package/dist/Menu/components/Content/components/Item/Components/SubHead/SubHead.style.d.ts +1 -1
- package/dist/Menu/components/Content/components/Item/Components/SubHead/SubHead.style.js +1 -6
- package/dist/Menu/components/Content/components/Item/Components/Text/Text.style.d.ts +1 -1
- package/dist/Menu/components/Content/components/Label/Label.style.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/Header/components/Title/Title.style.d.ts +1 -1
- package/dist/Popover/Popover.d.ts +6 -6
- package/dist/Popover/components/Content/Content.cjs +1 -4
- package/dist/Popover/components/Content/Content.d.ts +3 -3
- package/dist/Popover/components/Content/Content.js +1 -4
- package/dist/Popover/components/Content/Content.types.d.ts +0 -2
- package/dist/Popover/components/Content/components/Body/Body.cjs +0 -2
- package/dist/Popover/components/Content/components/Body/Body.d.ts +1 -1
- package/dist/Popover/components/Content/components/Body/Body.js +0 -2
- package/dist/Popover/components/Content/components/Body/Body.types.d.ts +0 -2
- package/dist/Popover/components/Content/components/Body/components/BodyText/BodyText.styles.cjs +1 -6
- package/dist/Popover/components/Content/components/Body/components/BodyText/BodyText.styles.d.ts +1 -1
- package/dist/Popover/components/Content/components/Body/components/BodyText/BodyText.styles.js +1 -6
- package/dist/Popover/components/Content/components/Compose/Compose.cjs +1 -1
- package/dist/Popover/components/Content/components/Compose/Compose.js +1 -1
- package/dist/Popover/components/Content/components/Compose/Compose.style.cjs +1 -1
- package/dist/Popover/components/Content/components/Compose/Compose.style.d.ts +1 -1
- package/dist/Popover/components/Content/components/Compose/Compose.style.js +1 -1
- package/dist/Popover/components/Content/components/Compose/Compose.types.d.ts +1 -2
- package/dist/Popover/components/Content/components/Header/components/HeaderTitle/HeaderTitle.styles.d.ts +1 -1
- package/dist/Popover/components/Content/components/Text/Text.styles.cjs +1 -6
- package/dist/Popover/components/Content/components/Text/Text.styles.d.ts +1 -1
- package/dist/Popover/components/Content/components/Text/Text.styles.js +1 -6
- 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.cjs +1 -3
- package/dist/Popover/components/PopoverCard/PopoverCard.d.ts +3 -3
- package/dist/Popover/components/PopoverCard/PopoverCard.js +1 -3
- package/dist/Popover/components/PopoverCard/PopoverCard.types.d.ts +1 -1
- package/dist/ProgressBar/ProgressBar.cjs +1 -3
- package/dist/ProgressBar/ProgressBar.js +2 -4
- package/dist/ProgressBar/ProgressBar.styles.cjs +6 -0
- package/dist/ProgressBar/ProgressBar.styles.d.ts +1 -0
- package/dist/ProgressBar/ProgressBar.styles.js +7 -1
- package/dist/RadioGroup/RadioGroup.d.ts +1 -1
- package/dist/RadioGroup/components/Item/components/Label/Label.style.cjs +1 -1
- package/dist/RadioGroup/components/Item/components/Label/Label.style.js +1 -1
- package/dist/Section/components/Header/components/CategoryValueList/CategoryValueList.cjs +1 -3
- package/dist/Section/components/Header/components/CategoryValueList/CategoryValueList.js +2 -4
- package/dist/Section/components/Header/components/CategoryValueList/CategoryValueList.style.cjs +6 -0
- package/dist/Section/components/Header/components/CategoryValueList/CategoryValueList.style.d.ts +1 -0
- package/dist/Section/components/Header/components/CategoryValueList/CategoryValueList.style.js +7 -1
- package/dist/Section/components/Header/components/CategoryValueList/components/CategoryValueChip/CategoryValueChip.cjs +1 -4
- package/dist/Section/components/Header/components/CategoryValueList/components/CategoryValueChip/CategoryValueChip.js +2 -5
- package/dist/Section/components/Header/components/CategoryValueList/components/CategoryValueChip/CategoryValueChip.style.cjs +6 -1
- package/dist/Section/components/Header/components/CategoryValueList/components/CategoryValueChip/CategoryValueChip.style.d.ts +2 -1
- package/dist/Section/components/Header/components/CategoryValueList/components/CategoryValueChip/CategoryValueChip.style.js +7 -2
- package/dist/Section/components/Header/components/Label/Label.style.d.ts +1 -1
- package/dist/SideBar/components/Footer/components/Text/Text.style.d.ts +1 -1
- package/dist/SideBar/components/Item/components/Text/Text.style.d.ts +1 -1
- package/dist/Switch/components/Title/Title.style.d.ts +1 -1
- package/dist/Toast/components/Content/components/Description/Description.style.d.ts +1 -1
- package/dist/Toast/components/Content/components/Message/Message.style.d.ts +1 -1
- package/dist/Tooltip/Tooltip.d.ts +3 -3
- package/dist/Tooltip/components/Content/Content.cjs +1 -3
- package/dist/Tooltip/components/Content/Content.d.ts +1 -1
- package/dist/Tooltip/components/Content/Content.js +1 -3
- package/dist/Tooltip/components/Content/Content.types.d.ts +0 -2
- package/dist/Tooltip/components/Content/components/Compose/Compose.style.cjs +1 -1
- package/dist/Tooltip/components/Content/components/Compose/Compose.style.d.ts +1 -1
- package/dist/Tooltip/components/Content/components/Compose/Compose.style.js +1 -1
- package/dist/Tooltip/components/Content/components/Compose/Compose.types.d.ts +1 -2
- package/dist/Tooltip/components/Content/components/Text/Text.styles.cjs +1 -6
- package/dist/Tooltip/components/Content/components/Text/Text.styles.d.ts +1 -1
- package/dist/Tooltip/components/Content/components/Text/Text.styles.js +1 -6
- package/dist/Tooltip/components/TooltipCard/TooltipCard.cjs +1 -3
- package/dist/Tooltip/components/TooltipCard/TooltipCard.d.ts +2 -2
- package/dist/Tooltip/components/TooltipCard/TooltipCard.js +1 -3
- package/dist/Tooltip/components/TooltipCard/TooltipCard.types.d.ts +1 -1
- package/dist/TreeView/components/TreeItem/components/Checkbox/Checkbox.style.d.ts +1 -1
- package/dist/Typography/Typography.d.ts +3 -3
- package/dist/Typography/components/Body/Body.cjs +0 -2
- package/dist/Typography/components/Body/Body.d.ts +1 -1
- package/dist/Typography/components/Body/Body.js +0 -2
- package/dist/Typography/components/Body/Body.style.cjs +0 -2
- package/dist/Typography/components/Body/Body.style.d.ts +1 -1
- package/dist/Typography/components/Body/Body.style.js +0 -2
- package/dist/Typography/components/Body/Body.types.d.ts +0 -3
- package/dist/Typography/components/Code/Code.cjs +0 -2
- package/dist/Typography/components/Code/Code.d.ts +1 -1
- package/dist/Typography/components/Code/Code.js +0 -2
- package/dist/Typography/components/Code/Code.style.cjs +0 -2
- package/dist/Typography/components/Code/Code.style.js +0 -2
- package/dist/Typography/components/Code/Code.types.d.ts +0 -3
- package/dist/Typography/components/Heading/Heading.cjs +0 -2
- package/dist/Typography/components/Heading/Heading.d.ts +1 -1
- package/dist/Typography/components/Heading/Heading.js +0 -2
- package/dist/Typography/components/Heading/Heading.style.cjs +0 -2
- package/dist/Typography/components/Heading/Heading.style.d.ts +1 -2
- package/dist/Typography/components/Heading/Heading.style.js +0 -2
- package/dist/Typography/components/Heading/Heading.types.d.ts +0 -2
- package/package.json +2 -2
|
@@ -3,7 +3,6 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
3
3
|
const jsxRuntime = require("../../../node_modules/react/jsx-runtime.cjs");
|
|
4
4
|
const Item_styles = require("./Item.styles.cjs");
|
|
5
5
|
const Compose = require("./components/Compose/Compose.cjs");
|
|
6
|
-
const Typography = require("../../../Typography/Typography.cjs");
|
|
7
6
|
const Item = Object.assign(({
|
|
8
7
|
label,
|
|
9
8
|
onClick,
|
|
@@ -20,9 +19,8 @@ const Item = Object.assign(({
|
|
|
20
19
|
variant: "secondary",
|
|
21
20
|
disabled,
|
|
22
21
|
title: label
|
|
23
|
-
}), jsxRuntime.jsxRuntimeExports.jsx(
|
|
22
|
+
}), jsxRuntime.jsxRuntimeExports.jsx(Item_styles.Label, {
|
|
24
23
|
size: "S",
|
|
25
|
-
color: "neutral800",
|
|
26
24
|
children: label
|
|
27
25
|
})]
|
|
28
26
|
})
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { j as jsxRuntimeExports } from "../../../node_modules/react/jsx-runtime.js";
|
|
2
|
-
import { AppSelectionMenuItem, AppSelectorItem } from "./Item.styles.js";
|
|
2
|
+
import { AppSelectionMenuItem, AppSelectorItem, Label } from "./Item.styles.js";
|
|
3
3
|
import { Compose } from "./components/Compose/Compose.js";
|
|
4
|
-
import Typography from "../../../Typography/Typography.js";
|
|
5
4
|
const Item = Object.assign(({
|
|
6
5
|
label,
|
|
7
6
|
onClick,
|
|
@@ -18,9 +17,8 @@ const Item = Object.assign(({
|
|
|
18
17
|
variant: "secondary",
|
|
19
18
|
disabled,
|
|
20
19
|
title: label
|
|
21
|
-
}), jsxRuntimeExports.jsx(
|
|
20
|
+
}), jsxRuntimeExports.jsx(Label, {
|
|
22
21
|
size: "S",
|
|
23
|
-
color: "neutral800",
|
|
24
22
|
children: label
|
|
25
23
|
})]
|
|
26
24
|
})
|
|
@@ -3,6 +3,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
3
3
|
const _styled = require("styled-components");
|
|
4
4
|
const redisUiStyles = require("@redislabsdev/redis-ui-styles");
|
|
5
5
|
const ActionIconButton = require("../../../Button/ActionIconButton/ActionIconButton.cjs");
|
|
6
|
+
const Typography = require("../../../Typography/Typography.cjs");
|
|
6
7
|
const _interopDefault = (e) => e && e.__esModule ? e : { default: e };
|
|
7
8
|
const _styled__default = /* @__PURE__ */ _interopDefault(_styled);
|
|
8
9
|
const AppSelectorItem = _styled__default.default(ActionIconButton.default).withConfig({
|
|
@@ -22,5 +23,10 @@ const AppSelectionMenuItem = _styled__default.default.div.withConfig({
|
|
|
22
23
|
return (_b = (_a = redisUiStyles.useTheme().components.actionIconButton.variants.secondary) == null ? void 0 : _a.hover) == null ? void 0 : _b.bgColor;
|
|
23
24
|
}};}
|
|
24
25
|
`);
|
|
26
|
+
const Label = _styled__default.default(Typography.default.Body).withConfig({
|
|
27
|
+
displayName: "Itemstyles__Label",
|
|
28
|
+
componentId: "RedisUI__sc-ixerf9-2"
|
|
29
|
+
})(["color:", ";"], () => redisUiStyles.useTheme().components.appSelectionMenu.item.label.color);
|
|
25
30
|
exports.AppSelectionMenuItem = AppSelectionMenuItem;
|
|
26
31
|
exports.AppSelectorItem = AppSelectorItem;
|
|
32
|
+
exports.Label = Label;
|
|
@@ -3,3 +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, component, ellipsis, ...restProps }: import("../../../Typography/components/Body/Body.types").BodyProps) => import("react/jsx-runtime").JSX.Element, any, {}, never>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import _styled from "styled-components";
|
|
2
2
|
import { useTheme } from "@redislabsdev/redis-ui-styles";
|
|
3
3
|
import ActionIconButton from "../../../Button/ActionIconButton/ActionIconButton.js";
|
|
4
|
+
import Typography from "../../../Typography/Typography.js";
|
|
4
5
|
const AppSelectorItem = _styled(ActionIconButton).withConfig({
|
|
5
6
|
displayName: "Itemstyles__AppSelectorItem",
|
|
6
7
|
componentId: "RedisUI__sc-ixerf9-0"
|
|
@@ -18,7 +19,12 @@ const AppSelectionMenuItem = _styled.div.withConfig({
|
|
|
18
19
|
return (_b = (_a = useTheme().components.actionIconButton.variants.secondary) == null ? void 0 : _a.hover) == null ? void 0 : _b.bgColor;
|
|
19
20
|
}};}
|
|
20
21
|
`);
|
|
22
|
+
const Label = _styled(Typography.Body).withConfig({
|
|
23
|
+
displayName: "Itemstyles__Label",
|
|
24
|
+
componentId: "RedisUI__sc-ixerf9-2"
|
|
25
|
+
})(["color:", ";"], () => useTheme().components.appSelectionMenu.item.label.color);
|
|
21
26
|
export {
|
|
22
27
|
AppSelectionMenuItem,
|
|
23
|
-
AppSelectorItem
|
|
28
|
+
AppSelectorItem,
|
|
29
|
+
Label
|
|
24
30
|
};
|
|
@@ -9,7 +9,7 @@ export declare const ContentContainer: import("styled-components").StyledCompone
|
|
|
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
|
-
DropdownArrow: ({
|
|
12
|
+
DropdownArrow: ({ ...restProps }: import("../Menu/components/Content/components/DropdownArrow/DropdownArrow.types").DropdownArrowProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
13
|
Label: ({ children, variant, tooltipOnEllipsis, ...restProps }: import("../Menu/components/Content/components/Label/Label.types").LabelProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
14
|
Separator: (props: import("../Menu/components/Content/components/Separator/Separator.types").SeparatorProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
15
|
}, any, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const Message: import("styled-components").StyledComponent<({ size, variant, component,
|
|
1
|
+
export declare const Message: import("styled-components").StyledComponent<({ size, variant, component, ellipsis, ...restProps }: import("../../../Typography/components/Body/Body.types").BodyProps) => import("react/jsx-runtime").JSX.Element, any, {}, never>;
|
|
@@ -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, component,
|
|
6
|
+
export declare const TypographyBody: import("styled-components").StyledComponent<({ size, variant, component, ellipsis, ...restProps }: import("../../../Typography/components/Body/Body.types").BodyProps) => import("react/jsx-runtime").JSX.Element, any, {}, never>;
|
|
@@ -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, component,
|
|
2
|
+
export declare const ExtraListItem: import("styled-components").StyledComponent<({ size, variant, component, ellipsis, ...restProps }: import("../../Typography/components/Body/Body.types").BodyProps) => import("react/jsx-runtime").JSX.Element, any, {
|
|
3
3
|
$disabled?: boolean | undefined;
|
|
4
4
|
}, never>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const Title: import("styled-components").StyledComponent<({ size,
|
|
1
|
+
export declare const Title: import("styled-components").StyledComponent<({ size, ellipsis, ...restProps }: import("../../../../../Typography/components/Heading/Heading.types").HeadingProps) => import("react/jsx-runtime").JSX.Element, any, {}, never>;
|
|
@@ -8,7 +8,7 @@ export declare const MenuContent: import("styled-components").StyledComponent<im
|
|
|
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
|
-
DropdownArrow: ({
|
|
11
|
+
DropdownArrow: ({ ...restProps }: import("../../../Menu/components/Content/components/DropdownArrow/DropdownArrow.types").DropdownArrowProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
12
|
Label: ({ children, variant, tooltipOnEllipsis, ...restProps }: import("../../../Menu/components/Content/components/Label/Label.types").LabelProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
13
|
Separator: (props: import("../../../Menu/components/Content/components/Separator/Separator.types").SeparatorProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
14
|
}, any, {}, never>;
|
|
@@ -9,7 +9,7 @@ declare const FormField: (({ children, label, infoIconProps, required, optional,
|
|
|
9
9
|
AdditionalText: ({ size, children, forceStatus, ...restProps }: import("./components/AdditionalText/AdditionalText.types").AdditionalTextProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
10
10
|
Label: (({ label, infoIconProps, required, optional, readOnly, ...restProps }: import("../Label").LabelProps) => import("react/jsx-runtime").JSX.Element) & {
|
|
11
11
|
Text: ({ children, readOnly, ...restProps }: import("../Label/components/Text/Text.types").TextProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
-
InfoIcon: ({ size,
|
|
12
|
+
InfoIcon: ({ size, text, content, ...tooltipProps }: import("../Label/components/InfoIcon/InfoIcon.types").InfoIconProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
13
13
|
Required: ({ children, show, size, ...restProps }: import("../Label/components/Required/Required.types").RequiredProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
14
14
|
Optional: ({ children, show, size, ...restProps }: import("../Label/components/Optional/Optional.types").OptionalProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
15
15
|
Compose: ({ htmlFor, show, ...props }: import("react").LabelHTMLAttributes<HTMLLabelElement> & {
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const AdditionalText: import("styled-components").StyledComponent<({ size, variant, component,
|
|
1
|
+
export declare const AdditionalText: import("styled-components").StyledComponent<({ size, variant, component, ellipsis, ...restProps }: import("../../../Typography/components/Body/Body.types").BodyProps) => import("react/jsx-runtime").JSX.Element, any, {
|
|
2
2
|
$error: boolean;
|
|
3
3
|
}, never>;
|
|
@@ -10,7 +10,7 @@ declare const Input: import("react").ForwardRefExoticComponent<import("../compon
|
|
|
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, component,
|
|
13
|
+
ReadonlyValue: import("styled-components").StyledComponent<({ size, variant, component, ellipsis, ...restProps }: import("../../Typography/components/Body/Body.types").BodyProps) => 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;
|
|
@@ -12,7 +12,7 @@ declare const NumericInput: import("react").ForwardRefExoticComponent<import("..
|
|
|
12
12
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
13
13
|
LoadingIndicator: ({ loading, ...restProps }: import("../components/LoadingIndicator/LoadingIndicator.types").LoadingIndicatorProps & import("../components/LoadingIndicator/LoadingIndicator.types").RestLoadingIndicatorProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
14
14
|
Tag: import("react").ForwardRefExoticComponent<import("../components/InputTag/InputTag.types").InputTagProps & import("../components/InputTag/InputTag.types").RestInputTagProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
15
|
-
ReadonlyValue: import("styled-components").StyledComponent<({ size, variant, component,
|
|
15
|
+
ReadonlyValue: import("styled-components").StyledComponent<({ size, variant, component, ellipsis, ...restProps }: import("../../Typography/components/Body/Body.types").BodyProps) => import("react/jsx-runtime").JSX.Element, any, {
|
|
16
16
|
readOnly: boolean;
|
|
17
17
|
}, "readOnly">;
|
|
18
18
|
ResetButton: ({ size, icon, allowReset, onClick, onMouseDown, ...restProps }: Partial<import("../..").IconButtonProps> & import("../components/ResetButton/ResetButton.types").ResetButtonProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -18,7 +18,7 @@ declare const QuantityCounter: import("react").ForwardRefExoticComponent<import(
|
|
|
18
18
|
}, "autoSize">;
|
|
19
19
|
ValueLabel: ({ children }: import("./components/InputGroup/components/ValueLabel/ValueLabel.types").ValueLabelProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
20
20
|
};
|
|
21
|
-
ReadonlyValue: import("styled-components").StyledComponent<({ size, variant, component,
|
|
21
|
+
ReadonlyValue: import("styled-components").StyledComponent<({ size, variant, component, ellipsis, ...restProps }: import("../../Typography/components/Body/Body.types").BodyProps) => import("react/jsx-runtime").JSX.Element, any, {
|
|
22
22
|
readOnly: boolean;
|
|
23
23
|
}, "readOnly">;
|
|
24
24
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const ValueLabel: import("styled-components").StyledComponent<({ size, variant, component,
|
|
1
|
+
export declare const ValueLabel: import("styled-components").StyledComponent<({ size, variant, component, ellipsis, ...restProps }: import("../../../../../../Typography/components/Body/Body.types").BodyProps) => import("react/jsx-runtime").JSX.Element, any, {}, never>;
|
|
@@ -15,7 +15,7 @@ declare const TextArea: import("react").ForwardRefExoticComponent<Omit<import(".
|
|
|
15
15
|
readonlyProps?: import("react").HTMLAttributes<HTMLElement> | undefined;
|
|
16
16
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
17
17
|
Tag: import("react").ForwardRefExoticComponent<import("./components/TextAreaTag/TextAreaTag").RestTextAreaTagProps & import("react").RefAttributes<HTMLTextAreaElement>>;
|
|
18
|
-
ReadonlyValue: import("styled-components").StyledComponent<({ size, variant, component,
|
|
18
|
+
ReadonlyValue: import("styled-components").StyledComponent<({ size, variant, component, ellipsis, ...restProps }: import("../../Typography/components/Body/Body.types").BodyProps) => import("react/jsx-runtime").JSX.Element, any, {
|
|
19
19
|
readOnly: boolean;
|
|
20
20
|
}, "readOnly">;
|
|
21
21
|
};
|
|
@@ -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, component,
|
|
10
|
+
export declare const ReadonlyValue: import("styled-components").StyledComponent<({ size, variant, component, ellipsis, ...restProps }: import("../../../../Typography/components/Body/Body.types").BodyProps) => import("react/jsx-runtime").JSX.Element, any, {
|
|
11
11
|
readOnly: boolean;
|
|
12
12
|
}, "readOnly">;
|
|
@@ -4,6 +4,6 @@ export declare const CommonInputCompose: import("styled-components").StyledCompo
|
|
|
4
4
|
} & {
|
|
5
5
|
$variant: InputVariant;
|
|
6
6
|
}, "data-status">;
|
|
7
|
-
export declare const ReadonlyValue: import("styled-components").StyledComponent<({ size, variant, component,
|
|
7
|
+
export declare const ReadonlyValue: import("styled-components").StyledComponent<({ size, variant, component, ellipsis, ...restProps }: import("../../../Typography/components/Body/Body.types").BodyProps) => import("react/jsx-runtime").JSX.Element, any, {
|
|
8
8
|
readOnly: boolean;
|
|
9
9
|
}, "readOnly">;
|
package/dist/Label/Label.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { LabelProps } from './Label.types';
|
|
3
3
|
declare const Label: (({ label, infoIconProps, required, optional, readOnly, ...restProps }: LabelProps) => import("react/jsx-runtime").JSX.Element) & {
|
|
4
4
|
Text: ({ children, readOnly, ...restProps }: import("./components/Text/Text.types").TextProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
-
InfoIcon: ({ size,
|
|
5
|
+
InfoIcon: ({ size, text, content, ...tooltipProps }: import("./components/InfoIcon/InfoIcon.types").InfoIconProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
6
6
|
Required: ({ children, show, size, ...restProps }: import("./components/Required/Required.types").RequiredProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
7
7
|
Optional: ({ children, show, size, ...restProps }: import("./components/Optional/Optional.types").OptionalProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
8
8
|
Compose: ({ htmlFor, show, ...props }: import("react").LabelHTMLAttributes<HTMLLabelElement> & {
|
|
@@ -7,8 +7,6 @@ const InfoIcon_style = require("./InfoIcon.style.cjs");
|
|
|
7
7
|
const Tooltip = require("../../../Tooltip/Tooltip.cjs");
|
|
8
8
|
const InfoIcon = ({
|
|
9
9
|
size,
|
|
10
|
-
iconColor,
|
|
11
|
-
textColor,
|
|
12
10
|
text,
|
|
13
11
|
content = text,
|
|
14
12
|
...tooltipProps
|
|
@@ -17,12 +15,10 @@ const InfoIcon = ({
|
|
|
17
15
|
return !content ? null : jsxRuntime.jsxRuntimeExports.jsx(Tooltip.default, {
|
|
18
16
|
...tooltipProps,
|
|
19
17
|
content,
|
|
20
|
-
textColor,
|
|
21
18
|
children: jsxRuntime.jsxRuntimeExports.jsx(InfoIcon_style.IconWrapper, {
|
|
22
19
|
children: jsxRuntime.jsxRuntimeExports.jsx(redisUiIcons.InfoIcon, {
|
|
23
20
|
size: size || "L",
|
|
24
|
-
customColor:
|
|
25
|
-
color: iconColor
|
|
21
|
+
customColor: theme.iconColor
|
|
26
22
|
})
|
|
27
23
|
})
|
|
28
24
|
});
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { InfoIconProps } from './InfoIcon.types';
|
|
2
|
-
declare const InfoIcon: ({ size,
|
|
2
|
+
declare const InfoIcon: ({ size, text, content, ...tooltipProps }: InfoIconProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
3
3
|
export default InfoIcon;
|
|
@@ -5,8 +5,6 @@ import { IconWrapper } from "./InfoIcon.style.js";
|
|
|
5
5
|
import Tooltip from "../../../Tooltip/Tooltip.js";
|
|
6
6
|
const InfoIcon = ({
|
|
7
7
|
size,
|
|
8
|
-
iconColor,
|
|
9
|
-
textColor,
|
|
10
8
|
text,
|
|
11
9
|
content = text,
|
|
12
10
|
...tooltipProps
|
|
@@ -15,12 +13,10 @@ const InfoIcon = ({
|
|
|
15
13
|
return !content ? null : jsxRuntimeExports.jsx(Tooltip, {
|
|
16
14
|
...tooltipProps,
|
|
17
15
|
content,
|
|
18
|
-
textColor,
|
|
19
16
|
children: jsxRuntimeExports.jsx(IconWrapper, {
|
|
20
17
|
children: jsxRuntimeExports.jsx(InfoIcon$1, {
|
|
21
18
|
size: size || "L",
|
|
22
|
-
customColor:
|
|
23
|
-
color: iconColor
|
|
19
|
+
customColor: theme.iconColor
|
|
24
20
|
})
|
|
25
21
|
})
|
|
26
22
|
});
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
import { Theme } from '@redislabsdev/redis-ui-styles';
|
|
2
1
|
import { IconSizeType } from '@redislabsdev/redis-ui-icons';
|
|
3
2
|
import { TooltipContentProps } from '../../../Tooltip/components/Content/Content.types';
|
|
4
3
|
export interface InfoIconProps extends Omit<TooltipContentProps, 'backgroundColor' | 'children'> {
|
|
5
4
|
text?: string;
|
|
6
5
|
size?: IconSizeType;
|
|
7
|
-
iconColor?: keyof Theme['semantic']['color']['icon'];
|
|
8
6
|
}
|
|
@@ -8,10 +8,5 @@ const _styled__default = /* @__PURE__ */ _interopDefault(_styled);
|
|
|
8
8
|
const Optional = _styled__default.default(Typography.default.Body).withConfig({
|
|
9
9
|
displayName: "Optionalstyle__Optional",
|
|
10
10
|
componentId: "RedisUI__sc-1csnblt-0"
|
|
11
|
-
})(["color:", ";margin:0;"], (
|
|
12
|
-
color
|
|
13
|
-
}) => {
|
|
14
|
-
const theme = redisUiStyles.useTheme().components.label.optional;
|
|
15
|
-
return color ? void 0 : theme.textColor;
|
|
16
|
-
});
|
|
11
|
+
})(["color:", ";margin:0;"], () => redisUiStyles.useTheme().components.label.optional.textColor);
|
|
17
12
|
exports.Optional = Optional;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const Optional: import("styled-components").StyledComponent<({ size, variant, component,
|
|
1
|
+
export declare const Optional: import("styled-components").StyledComponent<({ size, variant, component, ellipsis, ...restProps }: import("../../../Typography/components/Body/Body.types").BodyProps) => import("react/jsx-runtime").JSX.Element, any, {}, never>;
|
|
@@ -4,12 +4,7 @@ import Typography from "../../../Typography/Typography.js";
|
|
|
4
4
|
const Optional = _styled(Typography.Body).withConfig({
|
|
5
5
|
displayName: "Optionalstyle__Optional",
|
|
6
6
|
componentId: "RedisUI__sc-1csnblt-0"
|
|
7
|
-
})(["color:", ";margin:0;"], (
|
|
8
|
-
color
|
|
9
|
-
}) => {
|
|
10
|
-
const theme = useTheme().components.label.optional;
|
|
11
|
-
return color ? void 0 : theme.textColor;
|
|
12
|
-
});
|
|
7
|
+
})(["color:", ";margin:0;"], () => useTheme().components.label.optional.textColor);
|
|
13
8
|
export {
|
|
14
9
|
Optional
|
|
15
10
|
};
|
|
@@ -8,10 +8,5 @@ const _styled__default = /* @__PURE__ */ _interopDefault(_styled);
|
|
|
8
8
|
const Required = _styled__default.default(Typography.default.Body).withConfig({
|
|
9
9
|
displayName: "Requiredstyle__Required",
|
|
10
10
|
componentId: "RedisUI__sc-1tm5cua-0"
|
|
11
|
-
})(["color:", ";"], (
|
|
12
|
-
color
|
|
13
|
-
}) => {
|
|
14
|
-
const theme = redisUiStyles.useTheme().components.label.required;
|
|
15
|
-
return color ? void 0 : theme.textColor;
|
|
16
|
-
});
|
|
11
|
+
})(["color:", ";"], () => redisUiStyles.useTheme().components.label.required.textColor);
|
|
17
12
|
exports.Required = Required;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const Required: import("styled-components").StyledComponent<({ size, variant, component,
|
|
1
|
+
export declare const Required: import("styled-components").StyledComponent<({ size, variant, component, ellipsis, ...restProps }: import("../../../Typography/components/Body/Body.types").BodyProps) => import("react/jsx-runtime").JSX.Element, any, {}, never>;
|
|
@@ -4,12 +4,7 @@ import Typography from "../../../Typography/Typography.js";
|
|
|
4
4
|
const Required = _styled(Typography.Body).withConfig({
|
|
5
5
|
displayName: "Requiredstyle__Required",
|
|
6
6
|
componentId: "RedisUI__sc-1tm5cua-0"
|
|
7
|
-
})(["color:", ";"], (
|
|
8
|
-
color
|
|
9
|
-
}) => {
|
|
10
|
-
const theme = useTheme().components.label.required;
|
|
11
|
-
return color ? void 0 : theme.textColor;
|
|
12
|
-
});
|
|
7
|
+
})(["color:", ";"], () => useTheme().components.label.required.textColor);
|
|
13
8
|
export {
|
|
14
9
|
Required
|
|
15
10
|
};
|
|
@@ -9,12 +9,11 @@ const Text = _styled__default.default(Typography.default.Body).withConfig({
|
|
|
9
9
|
displayName: "Textstyle__Text",
|
|
10
10
|
componentId: "RedisUI__sc-yn14mu-0"
|
|
11
11
|
})(["color:", ";"], ({
|
|
12
|
-
color,
|
|
13
12
|
$readonly
|
|
14
13
|
}) => {
|
|
15
14
|
const {
|
|
16
15
|
state
|
|
17
16
|
} = redisUiStyles.useTheme().components.label;
|
|
18
|
-
return
|
|
17
|
+
return state[$readonly ? "readonly" : "normal"].textColor;
|
|
19
18
|
});
|
|
20
19
|
exports.Text = Text;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const Text: import("styled-components").StyledComponent<({ size, variant, component,
|
|
1
|
+
export declare const Text: import("styled-components").StyledComponent<({ size, variant, component, ellipsis, ...restProps }: import("../../../Typography/components/Body/Body.types").BodyProps) => import("react/jsx-runtime").JSX.Element, any, {
|
|
2
2
|
$readonly?: boolean | undefined;
|
|
3
3
|
}, never>;
|
|
@@ -5,13 +5,12 @@ const Text = _styled(Typography.Body).withConfig({
|
|
|
5
5
|
displayName: "Textstyle__Text",
|
|
6
6
|
componentId: "RedisUI__sc-yn14mu-0"
|
|
7
7
|
})(["color:", ";"], ({
|
|
8
|
-
color,
|
|
9
8
|
$readonly
|
|
10
9
|
}) => {
|
|
11
10
|
const {
|
|
12
11
|
state
|
|
13
12
|
} = useTheme().components.label;
|
|
14
|
-
return
|
|
13
|
+
return state[$readonly ? "readonly" : "normal"].textColor;
|
|
15
14
|
});
|
|
16
15
|
export {
|
|
17
16
|
Text
|
|
@@ -6,4 +6,4 @@ export declare const StyledLink: import("styled-components").StyledComponent<"a"
|
|
|
6
6
|
export declare const StyledLinkButton: import("styled-components").StyledComponent<"button", any, {
|
|
7
7
|
variant: LinkButtonVariants;
|
|
8
8
|
}, never>;
|
|
9
|
-
export declare const StyledLinkText: import("styled-components").StyledComponent<({ size, variant, component,
|
|
9
|
+
export declare const StyledLinkText: import("styled-components").StyledComponent<({ size, variant, component, ellipsis, ...restProps }: import("../Typography/components/Body/Body.types").BodyProps) => import("react/jsx-runtime").JSX.Element, any, {}, never>;
|
package/dist/Menu/Menu.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ declare const Menu: (({ disabled, ...restProps }: MenuProps) => import("react/js
|
|
|
13
13
|
Check: ({ icon, ...restProps }: import("./components/Content/components/Item/Components/Check/Check.types").CheckProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
14
|
Split: ({ minWidth, ...props }: import("./components/Content/components/Item/Components/Split/Split.types").SplitProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
15
|
};
|
|
16
|
-
DropdownArrow: ({
|
|
16
|
+
DropdownArrow: ({ ...restProps }: import("./components/Content/components/DropdownArrow/DropdownArrow.types").DropdownArrowProps) => import("react/jsx-runtime").JSX.Element;
|
|
17
17
|
Label: ({ children, variant, tooltipOnEllipsis, ...restProps }: import("./components/Content/components/Label/Label.types").LabelProps) => import("react/jsx-runtime").JSX.Element;
|
|
18
18
|
Separator: (props: import("./components/Content/components/Separator/Separator.types").SeparatorProps) => import("react/jsx-runtime").JSX.Element;
|
|
19
19
|
};
|
|
@@ -9,7 +9,7 @@ declare const Content: import("react").ForwardRefExoticComponent<MenuContentProp
|
|
|
9
9
|
Check: ({ icon, ...restProps }: import("./components/Item/Components/Check/Check.types").CheckProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
10
|
Split: ({ minWidth, ...props }: import("./components/Item/Components/Split/Split.types").SplitProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
11
|
};
|
|
12
|
-
DropdownArrow: ({
|
|
12
|
+
DropdownArrow: ({ ...restProps }: import("./components/DropdownArrow/DropdownArrow.types").DropdownArrowProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
13
|
Label: ({ children, variant, tooltipOnEllipsis, ...restProps }: import("./components/Label/Label.types").LabelProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
14
|
Separator: (props: import("./components/Separator/Separator.types").SeparatorProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
15
|
};
|
|
@@ -4,12 +4,11 @@ const jsxRuntime = require("../../../../../node_modules/react/jsx-runtime.cjs");
|
|
|
4
4
|
const index = require("../../../../../node_modules/@radix-ui/react-dropdown-menu/dist/index.cjs");
|
|
5
5
|
const redisUiStyles = require("@redislabsdev/redis-ui-styles");
|
|
6
6
|
const DropdownArrow = ({
|
|
7
|
-
$fill,
|
|
8
7
|
...restProps
|
|
9
8
|
}) => {
|
|
10
9
|
const theme = redisUiStyles.useTheme();
|
|
11
10
|
const style = theme.components.menu.dropDown.arrow;
|
|
12
|
-
const fill =
|
|
11
|
+
const fill = style.bgColor;
|
|
13
12
|
return jsxRuntime.jsxRuntimeExports.jsx(index.Arrow, {
|
|
14
13
|
width: style.width,
|
|
15
14
|
height: style.height,
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { DropdownArrowProps } from './DropdownArrow.types';
|
|
2
|
-
declare const DropdownArrow: ({
|
|
2
|
+
declare const DropdownArrow: ({ ...restProps }: DropdownArrowProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export default DropdownArrow;
|
|
@@ -2,12 +2,11 @@ import { j as jsxRuntimeExports } from "../../../../../node_modules/react/jsx-ru
|
|
|
2
2
|
import { Arrow as Arrow2 } from "../../../../../node_modules/@radix-ui/react-dropdown-menu/dist/index.js";
|
|
3
3
|
import { useTheme } from "@redislabsdev/redis-ui-styles";
|
|
4
4
|
const DropdownArrow = ({
|
|
5
|
-
$fill,
|
|
6
5
|
...restProps
|
|
7
6
|
}) => {
|
|
8
7
|
const theme = useTheme();
|
|
9
8
|
const style = theme.components.menu.dropDown.arrow;
|
|
10
|
-
const fill =
|
|
9
|
+
const fill = style.bgColor;
|
|
11
10
|
return jsxRuntimeExports.jsx(Arrow2, {
|
|
12
11
|
width: style.width,
|
|
13
12
|
height: style.height,
|
|
@@ -8,10 +8,5 @@ const _styled__default = /* @__PURE__ */ _interopDefault(_styled);
|
|
|
8
8
|
const MenuItemSubHead = _styled__default.default(Typography.default.Body).withConfig({
|
|
9
9
|
displayName: "SubHeadstyle__MenuItemSubHead",
|
|
10
10
|
componentId: "RedisUI__sc-cwmhtm-0"
|
|
11
|
-
})(["white-space:nowrap;flex:none;color:", ";"], (
|
|
12
|
-
color
|
|
13
|
-
}) => {
|
|
14
|
-
const theme = redisUiStyles.useTheme().components.menu.item.subHead;
|
|
15
|
-
return color ? void 0 : theme.textColor;
|
|
16
|
-
});
|
|
11
|
+
})(["white-space:nowrap;flex:none;color:", ";"], () => redisUiStyles.useTheme().components.menu.item.subHead.textColor);
|
|
17
12
|
exports.MenuItemSubHead = MenuItemSubHead;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const MenuItemSubHead: import("styled-components").StyledComponent<({ size, variant, component,
|
|
1
|
+
export declare const MenuItemSubHead: import("styled-components").StyledComponent<({ size, variant, component, ellipsis, ...restProps }: import("../../../../../../../Typography/components/Body/Body.types").BodyProps) => import("react/jsx-runtime").JSX.Element, any, {}, never>;
|
|
@@ -4,12 +4,7 @@ import Typography from "../../../../../../../Typography/Typography.js";
|
|
|
4
4
|
const MenuItemSubHead = _styled(Typography.Body).withConfig({
|
|
5
5
|
displayName: "SubHeadstyle__MenuItemSubHead",
|
|
6
6
|
componentId: "RedisUI__sc-cwmhtm-0"
|
|
7
|
-
})(["white-space:nowrap;flex:none;color:", ";"], (
|
|
8
|
-
color
|
|
9
|
-
}) => {
|
|
10
|
-
const theme = useTheme().components.menu.item.subHead;
|
|
11
|
-
return color ? void 0 : theme.textColor;
|
|
12
|
-
});
|
|
7
|
+
})(["white-space:nowrap;flex:none;color:", ";"], () => useTheme().components.menu.item.subHead.textColor);
|
|
13
8
|
export {
|
|
14
9
|
MenuItemSubHead
|
|
15
10
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const MenuItemText: import("styled-components").StyledComponent<({ size, variant, component,
|
|
1
|
+
export declare const MenuItemText: import("styled-components").StyledComponent<({ size, variant, component, ellipsis, ...restProps }: import("../../../../../../../Typography/components/Body/Body.types").BodyProps) => import("react/jsx-runtime").JSX.Element, any, {}, never>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const MenuContentLabel: import("styled-components").StyledComponent<({ size, variant, component,
|
|
1
|
+
export declare const MenuContentLabel: import("styled-components").StyledComponent<({ size, variant, component, ellipsis, ...restProps }: import("../../../../../Typography/components/Body/Body.types").BodyProps) => import("react/jsx-runtime").JSX.Element, any, {}, never>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const Text: import("styled-components").StyledComponent<({ size, variant, component,
|
|
1
|
+
export declare const Text: import("styled-components").StyledComponent<({ size, variant, component, ellipsis, ...restProps }: import("../../../../../../../Typography/components/Body/Body.types").BodyProps) => import("react/jsx-runtime").JSX.Element, any, {}, never>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const Title: import("styled-components").StyledComponent<({ size,
|
|
1
|
+
export declare const Title: import("styled-components").StyledComponent<({ size, ellipsis, ...restProps }: import("../../../../../../../Typography/components/Heading/Heading.types").HeadingProps) => import("react/jsx-runtime").JSX.Element, any, {}, never>;
|
|
@@ -3,7 +3,7 @@ import { PopoverProps } from './Popover.types';
|
|
|
3
3
|
declare const Popover: (({ children, defaultOpen, visible, onVisibilityChange, open, onOpenChange, disabled, withButton, ...contentProps }: PopoverProps) => import("react/jsx-runtime").JSX.Element) & {
|
|
4
4
|
Compose: ({ children, defaultOpen, visible, onVisibilityChange, open, onOpenChange, disabled }: import("./components/Compose/Compose.types").PopoverComposeProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
5
|
Trigger: ({ withButton, ...restProps }: import("./components/Trigger/Trigger.types").PopoverTriggerProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
Content: (({ title, text, actionButtonText, actionButtonHandler, link, linkText, windowBar,
|
|
6
|
+
Content: (({ title, text, actionButtonText, actionButtonHandler, link, linkText, windowBar, content, ...contentOptions }: import("./components/Content/Content.types").PopoverContentProps) => import("react/jsx-runtime").JSX.Element | null) & {
|
|
7
7
|
Compose: ({ children, backgroundColor, placement, sideOffset, onClickOutside, persistent, align, maxWidth, portal, ...restProps }: import("./components/Content/components/Compose/Compose.types").PopoverContentComposeProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
8
|
Text: (props: import("../Typography/components/Body/Body.types").BodyProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
9
|
Close: ({ children, icon, ...buttonProps }: import("./components/Content/components/Close/Close.types").PopoverCloseProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -11,7 +11,7 @@ declare const Popover: (({ children, defaultOpen, visible, onVisibilityChange, o
|
|
|
11
11
|
Compose: (props: import("./components/Content/components/Header/components/Compose/Compose.types").ContentHeaderComposeProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
12
|
Title: ({ children, ...restProps }: import("../Typography/components/Heading/Heading.types").HeadingProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
13
|
};
|
|
14
|
-
Body: (({ text,
|
|
14
|
+
Body: (({ text, ...restProps }: import("./components/Content/components/Body/Body.types").ContentBodyProps) => import("react/jsx-runtime").JSX.Element) & {
|
|
15
15
|
Compose: (props: import("./components/Content/components/Body/components/Compose/Compose.types").ContentBodyComposeProps) => import("react/jsx-runtime").JSX.Element;
|
|
16
16
|
Text: (props: import("../Typography/components/Body/Body.types").BodyProps) => import("react/jsx-runtime").JSX.Element;
|
|
17
17
|
};
|
|
@@ -22,17 +22,17 @@ declare const Popover: (({ children, defaultOpen, visible, onVisibilityChange, o
|
|
|
22
22
|
Compose: (props: import("./components/Content/components/WindowBar/components/Compose/Compose.types").WindowBarComposeProps) => import("react/jsx-runtime").JSX.Element;
|
|
23
23
|
Close: ({ children, icon, ...buttonProps }: import("./components/Content/components/Close/Close.types").PopoverCloseProps) => import("react/jsx-runtime").JSX.Element;
|
|
24
24
|
Icon: ({ icon, variant, ...props }: import("../Badge/BadgeIcon").BadgeIconProps) => import("react/jsx-runtime").JSX.Element;
|
|
25
|
-
Heading: import("styled-components").StyledComponent<({ size,
|
|
25
|
+
Heading: import("styled-components").StyledComponent<({ size, ellipsis, ...restProps }: import("../Typography/components/Heading/Heading.types").HeadingProps) => import("react/jsx-runtime").JSX.Element, any, {}, never>;
|
|
26
26
|
Header: import("react").FC<import("./components/Content/components/WindowBar/components/Header/Header.types").WindowBarHeaderProps>;
|
|
27
27
|
};
|
|
28
28
|
};
|
|
29
|
-
Card: (({ text, title,
|
|
29
|
+
Card: (({ text, title, actionButtonText, actionButtonHandler, link, linkText, windowBar, persistent, ...composeProps }: import("./components/PopoverCard").PopoverCardProps) => import("react/jsx-runtime").JSX.Element) & {
|
|
30
30
|
Compose: (props: import("./components/PopoverCard/components/Compose/Compose.types").ComposeProps) => import("react/jsx-runtime").JSX.Element;
|
|
31
31
|
Header: (({ title, hideCloseButton, ...restProps }: import("./components/Content/components/Header/Header.types").ContentHeaderProps) => import("react/jsx-runtime").JSX.Element) & {
|
|
32
32
|
Compose: (props: import("./components/Content/components/Header/components/Compose/Compose.types").ContentHeaderComposeProps) => import("react/jsx-runtime").JSX.Element;
|
|
33
33
|
Title: ({ children, ...restProps }: import("../Typography/components/Heading/Heading.types").HeadingProps) => import("react/jsx-runtime").JSX.Element;
|
|
34
34
|
};
|
|
35
|
-
Body: (({ text,
|
|
35
|
+
Body: (({ text, ...restProps }: import("./components/Content/components/Body/Body.types").ContentBodyProps) => import("react/jsx-runtime").JSX.Element) & {
|
|
36
36
|
Compose: (props: import("./components/Content/components/Body/components/Compose/Compose.types").ContentBodyComposeProps) => import("react/jsx-runtime").JSX.Element;
|
|
37
37
|
Text: (props: import("../Typography/components/Body/Body.types").BodyProps) => import("react/jsx-runtime").JSX.Element;
|
|
38
38
|
};
|
|
@@ -43,7 +43,7 @@ declare const Popover: (({ children, defaultOpen, visible, onVisibilityChange, o
|
|
|
43
43
|
Compose: (props: import("./components/Content/components/WindowBar/components/Compose/Compose.types").WindowBarComposeProps) => import("react/jsx-runtime").JSX.Element;
|
|
44
44
|
Close: ({ children, icon, ...buttonProps }: import("./components/Content/components/Close/Close.types").PopoverCloseProps) => import("react/jsx-runtime").JSX.Element;
|
|
45
45
|
Icon: ({ icon, variant, ...props }: import("../Badge/BadgeIcon").BadgeIconProps) => import("react/jsx-runtime").JSX.Element;
|
|
46
|
-
Heading: import("styled-components").StyledComponent<({ size,
|
|
46
|
+
Heading: import("styled-components").StyledComponent<({ size, ellipsis, ...restProps }: import("../Typography/components/Heading/Heading.types").HeadingProps) => import("react/jsx-runtime").JSX.Element, any, {}, never>;
|
|
47
47
|
Header: import("react").FC<import("./components/Content/components/WindowBar/components/Header/Header.types").WindowBarHeaderProps>;
|
|
48
48
|
};
|
|
49
49
|
Close: ({ children, icon, ...buttonProps }: import("./components/Content/components/Close/Close.types").PopoverCloseProps) => import("react/jsx-runtime").JSX.Element;
|