@redis-ui/components 37.0.0 → 38.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/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/Indicator/Indicator.style.cjs +1 -1
- package/dist/Checkbox/components/Indicator/Indicator.style.js +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/DatePicker/DatePicker.d.ts +3 -0
- 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/Body/Body.cjs +4 -1
- package/dist/Section/components/Body/Body.js +4 -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/Skeleton/Skeleton.d.ts +3 -0
- package/dist/Switch/components/Switcher/Switcher.style.d.ts +2 -445
- 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 +2 -2
- package/dist/Typography/components/Body/Body.cjs +2 -2
- package/dist/Typography/components/Body/Body.d.ts +1 -1
- package/dist/Typography/components/Body/Body.js +2 -2
- package/dist/Typography/components/Body/Body.style.cjs +11 -3
- package/dist/Typography/components/Body/Body.style.d.ts +1 -1
- package/dist/Typography/components/Body/Body.style.js +11 -3
- package/dist/Typography/components/Body/Body.types.d.ts +3 -3
- package/dist/Typography/components/Code/Code.style.cjs +11 -3
- package/dist/Typography/components/Code/Code.style.js +11 -3
- package/dist/Typography/components/Code/Code.types.d.ts +3 -3
- package/dist/Typography/components/Heading/Heading.cjs +2 -2
- package/dist/Typography/components/Heading/Heading.d.ts +1 -1
- package/dist/Typography/components/Heading/Heading.js +2 -2
- package/dist/Typography/components/Heading/Heading.style.cjs +9 -3
- package/dist/Typography/components/Heading/Heading.style.d.ts +2 -2
- package/dist/Typography/components/Heading/Heading.style.js +9 -3
- package/dist/Typography/components/Heading/Heading.types.d.ts +2 -2
- package/package.json +3 -2
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { TooltipProps } from './Tooltip.types';
|
|
2
2
|
declare const Tooltip: (({ children, openDelayDuration, open, onOpenChange, defaultOpen, withButton, disabled, interactive, ...restProps }: TooltipProps) => import("react/jsx-runtime").JSX.Element) & {
|
|
3
3
|
Compose: ({ children, openDelayDuration, open, disabled, onOpenChange, defaultOpen, interactive }: import("./components/Compose/Compose.types").TooltipComposeProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
-
Content: (({ content,
|
|
4
|
+
Content: (({ content, ...composeProps }: import("./components/Content/Content.types").TooltipContentProps) => import("react/jsx-runtime").JSX.Element | null) & {
|
|
5
5
|
Compose: ({ children, backgroundColor, maxWidth, placement, sideOffset, disableInteractionHelper, portal, ...restProps }: import("./components/Content/components/Compose/Compose.types").ComposeProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
6
|
Text: (props: import("../Typography/components/Body/Body.types").BodyProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
7
|
};
|
|
8
8
|
Trigger: ({ withButton, ...restProps }: import("./components/Trigger/Trigger.types").TooltipTriggerProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
Card: (({ text, title,
|
|
9
|
+
Card: (({ text, title, actionButtonText, actionButtonHandler, link, linkText, ...composeProps }: import("./components/TooltipCard").TooltipCardProps) => import("react/jsx-runtime").JSX.Element) & {
|
|
10
10
|
Compose: ({ children, ...restProps }: import("./components/TooltipCard/components/Compose/Compose.types").ComposeProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
11
|
Header: ((props: import("../Popover/components/Content/components/Header/Header.types").ContentHeaderProps) => import("react/jsx-runtime").JSX.Element) & {
|
|
12
12
|
Compose: (props: import("../Popover/components/Content/components/Header/components/Compose/Compose.types").ContentHeaderComposeProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
13
|
Title: ({ children, ...restProps }: import("../Typography/components/Heading/Heading.types").HeadingProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
14
|
};
|
|
15
|
-
Body: (({ text,
|
|
15
|
+
Body: (({ text, ...restProps }: import("../Popover/components/Content/components/Body/Body.types").ContentBodyProps) => import("react/jsx-runtime").JSX.Element) & {
|
|
16
16
|
Compose: (props: import("../Popover/components/Content/components/Body/components/Compose/Compose.types").ContentBodyComposeProps) => import("react/jsx-runtime").JSX.Element;
|
|
17
17
|
Text: (props: import("../Typography/components/Body/Body.types").BodyProps) => import("react/jsx-runtime").JSX.Element;
|
|
18
18
|
};
|
|
@@ -5,14 +5,12 @@ const Compose = require("./components/Compose/Compose.cjs");
|
|
|
5
5
|
const Text = require("./components/Text/Text.cjs");
|
|
6
6
|
const Content = Object.assign(({
|
|
7
7
|
content,
|
|
8
|
-
textColor,
|
|
9
8
|
...composeProps
|
|
10
9
|
}) => {
|
|
11
10
|
if (!content) return null;
|
|
12
11
|
return jsxRuntime.jsxRuntimeExports.jsx(Content.Compose, {
|
|
13
12
|
...composeProps,
|
|
14
|
-
children: typeof content === "string"
|
|
15
|
-
color: textColor,
|
|
13
|
+
children: typeof content === "string" ? jsxRuntime.jsxRuntimeExports.jsx(Content.Text, {
|
|
16
14
|
children: content
|
|
17
15
|
}) : content
|
|
18
16
|
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TooltipContentProps } from './Content.types';
|
|
2
|
-
declare const Content: (({ content,
|
|
2
|
+
declare const Content: (({ content, ...composeProps }: TooltipContentProps) => import("react/jsx-runtime").JSX.Element | null) & {
|
|
3
3
|
Compose: ({ children, backgroundColor, maxWidth, placement, sideOffset, disableInteractionHelper, portal, ...restProps }: import("./components/Compose/Compose.types").ComposeProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
Text: (props: import("../../../Typography/components/Body/Body.types").BodyProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
5
|
};
|
|
@@ -3,14 +3,12 @@ import Compose from "./components/Compose/Compose.js";
|
|
|
3
3
|
import Text from "./components/Text/Text.js";
|
|
4
4
|
const Content = Object.assign(({
|
|
5
5
|
content,
|
|
6
|
-
textColor,
|
|
7
6
|
...composeProps
|
|
8
7
|
}) => {
|
|
9
8
|
if (!content) return null;
|
|
10
9
|
return jsxRuntimeExports.jsx(Content.Compose, {
|
|
11
10
|
...composeProps,
|
|
12
|
-
children: typeof content === "string"
|
|
13
|
-
color: textColor,
|
|
11
|
+
children: typeof content === "string" ? jsxRuntimeExports.jsx(Content.Text, {
|
|
14
12
|
children: content
|
|
15
13
|
}) : content
|
|
16
14
|
});
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
-
import { Theme } from '@redislabsdev/redis-ui-styles';
|
|
3
2
|
import { ComposeProps } from './components/Compose/Compose.types';
|
|
4
3
|
export type TooltipContentProps = Omit<ComposeProps, 'children' | 'title' | 'content'> & {
|
|
5
4
|
content?: ReactNode;
|
|
6
|
-
textColor?: keyof Theme['semantic']['color']['text'];
|
|
7
5
|
};
|
|
@@ -31,7 +31,7 @@ const Content = _styled__default.default(index.Content).withConfig({
|
|
|
31
31
|
}) => {
|
|
32
32
|
const theme = redisUiStyles.useTheme();
|
|
33
33
|
const tooltipTheme = theme.components.tooltip;
|
|
34
|
-
const bgColor = $backgroundColor
|
|
34
|
+
const bgColor = $backgroundColor || tooltipTheme.bgColor;
|
|
35
35
|
const triggerOffset = `(${tooltipTheme.arrow.height} + ${sideOffset}px)`;
|
|
36
36
|
const vertOffset = `calc(-1 * (var(--radix-tooltip-trigger-height) + ${triggerOffset}))`;
|
|
37
37
|
const horzOffset = `calc(-1 * (var(--radix-tooltip-trigger-width) + ${triggerOffset}))`;
|
|
@@ -3,7 +3,7 @@ import * as Tooltip from '@radix-ui/react-tooltip';
|
|
|
3
3
|
export declare const Arrow: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<Tooltip.TooltipArrowProps & import("react").RefAttributes<SVGSVGElement>>, any, {}, never>;
|
|
4
4
|
export declare const InteractionHelper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
5
5
|
export declare const Content: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<Tooltip.TooltipContentProps & import("react").RefAttributes<HTMLDivElement>>, any, {
|
|
6
|
-
$backgroundColor?:
|
|
6
|
+
$backgroundColor?: string | undefined;
|
|
7
7
|
$maxWidth?: string | undefined;
|
|
8
8
|
$interactive?: boolean | undefined;
|
|
9
9
|
}, never>;
|
|
@@ -27,7 +27,7 @@ const Content = _styled(Content2).withConfig({
|
|
|
27
27
|
}) => {
|
|
28
28
|
const theme = useTheme();
|
|
29
29
|
const tooltipTheme = theme.components.tooltip;
|
|
30
|
-
const bgColor = $backgroundColor
|
|
30
|
+
const bgColor = $backgroundColor || tooltipTheme.bgColor;
|
|
31
31
|
const triggerOffset = `(${tooltipTheme.arrow.height} + ${sideOffset}px)`;
|
|
32
32
|
const vertOffset = `calc(-1 * (var(--radix-tooltip-trigger-height) + ${triggerOffset}))`;
|
|
33
33
|
const horzOffset = `calc(-1 * (var(--radix-tooltip-trigger-width) + ${triggerOffset}))`;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { Theme } from '@redislabsdev/redis-ui-styles';
|
|
2
1
|
import * as RadixTooltip from '@radix-ui/react-tooltip';
|
|
3
2
|
import { ComposeElementProps } from '../../../../../Helpers/common.types';
|
|
4
3
|
export type TooltipPlacement = 'top' | 'bottom' | 'left' | 'right';
|
|
5
4
|
export interface ComposeProps extends ComposeElementProps {
|
|
6
|
-
backgroundColor?:
|
|
5
|
+
backgroundColor?: string;
|
|
7
6
|
placement?: TooltipPlacement;
|
|
8
7
|
sideOffset?: number;
|
|
9
8
|
maxWidth?: string;
|
|
@@ -8,10 +8,5 @@ const _styled__default = /* @__PURE__ */ _interopDefault(_styled);
|
|
|
8
8
|
const Text = _styled__default.default(Typography.default.Body).withConfig({
|
|
9
9
|
displayName: "Textstyles__Text",
|
|
10
10
|
componentId: "RedisUI__sc-2fcqih-0"
|
|
11
|
-
})(["color:", ";"], (
|
|
12
|
-
color
|
|
13
|
-
}) => {
|
|
14
|
-
const theme = redisUiStyles.useTheme().components.tooltip;
|
|
15
|
-
return color ? void 0 : theme.textColor;
|
|
16
|
-
});
|
|
11
|
+
})(["color:", ";"], () => redisUiStyles.useTheme().components.tooltip.textColor);
|
|
17
12
|
exports.Text = Text;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const Text: import("styled-components").StyledComponent<({ size, variant,
|
|
1
|
+
export declare const Text: import("styled-components").StyledComponent<({ size, variant, color, 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 Text = _styled(Typography.Body).withConfig({
|
|
5
5
|
displayName: "Textstyles__Text",
|
|
6
6
|
componentId: "RedisUI__sc-2fcqih-0"
|
|
7
|
-
})(["color:", ";"], (
|
|
8
|
-
color
|
|
9
|
-
}) => {
|
|
10
|
-
const theme = useTheme().components.tooltip;
|
|
11
|
-
return color ? void 0 : theme.textColor;
|
|
12
|
-
});
|
|
7
|
+
})(["color:", ";"], () => useTheme().components.tooltip.textColor);
|
|
13
8
|
export {
|
|
14
9
|
Text
|
|
15
10
|
};
|
|
@@ -8,7 +8,6 @@ const Footer = require("../../../Popover/components/Content/components/Footer/Fo
|
|
|
8
8
|
const TooltipCard = Object.assign(({
|
|
9
9
|
text,
|
|
10
10
|
title,
|
|
11
|
-
textColor,
|
|
12
11
|
actionButtonText,
|
|
13
12
|
actionButtonHandler,
|
|
14
13
|
link,
|
|
@@ -20,8 +19,7 @@ const TooltipCard = Object.assign(({
|
|
|
20
19
|
children: [jsxRuntime.jsxRuntimeExports.jsx(TooltipCard.Header, {
|
|
21
20
|
title
|
|
22
21
|
}), jsxRuntime.jsxRuntimeExports.jsx(TooltipCard.Body, {
|
|
23
|
-
text
|
|
24
|
-
textColor
|
|
22
|
+
text
|
|
25
23
|
}), jsxRuntime.jsxRuntimeExports.jsx(TooltipCard.Footer, {
|
|
26
24
|
...{
|
|
27
25
|
actionButtonText,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { TooltipCardProps } from './TooltipCard.types';
|
|
2
|
-
declare const TooltipCard: (({ text, title,
|
|
2
|
+
declare const TooltipCard: (({ text, title, actionButtonText, actionButtonHandler, link, linkText, ...composeProps }: TooltipCardProps) => import("react/jsx-runtime").JSX.Element) & {
|
|
3
3
|
Compose: ({ children, ...restProps }: import("./components/Compose/Compose.types").ComposeProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
Header: ((props: import("../../../Popover/components/Content/components/Header/Header.types").ContentHeaderProps) => import("react/jsx-runtime").JSX.Element) & {
|
|
5
5
|
Compose: (props: import("../../../Popover/components/Content/components/Header/components/Compose/Compose.types").ContentHeaderComposeProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
6
|
Title: ({ children, ...restProps }: import("../../../Typography/components/Heading/Heading.types").HeadingProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
7
|
};
|
|
8
|
-
Body: (({ text,
|
|
8
|
+
Body: (({ text, ...restProps }: import("../../../Popover/components/Content/components/Body/Body.types").ContentBodyProps) => import("react/jsx-runtime").JSX.Element) & {
|
|
9
9
|
Compose: (props: import("../../../Popover/components/Content/components/Body/components/Compose/Compose.types").ContentBodyComposeProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
10
|
Text: (props: import("../../../Typography/components/Body/Body.types").BodyProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
11
|
};
|
|
@@ -6,7 +6,6 @@ import Footer from "../../../Popover/components/Content/components/Footer/Footer
|
|
|
6
6
|
const TooltipCard = Object.assign(({
|
|
7
7
|
text,
|
|
8
8
|
title,
|
|
9
|
-
textColor,
|
|
10
9
|
actionButtonText,
|
|
11
10
|
actionButtonHandler,
|
|
12
11
|
link,
|
|
@@ -18,8 +17,7 @@ const TooltipCard = Object.assign(({
|
|
|
18
17
|
children: [jsxRuntimeExports.jsx(TooltipCard.Header, {
|
|
19
18
|
title
|
|
20
19
|
}), jsxRuntimeExports.jsx(TooltipCard.Body, {
|
|
21
|
-
text
|
|
22
|
-
textColor
|
|
20
|
+
text
|
|
23
21
|
}), jsxRuntimeExports.jsx(TooltipCard.Footer, {
|
|
24
22
|
...{
|
|
25
23
|
actionButtonText,
|
|
@@ -2,5 +2,5 @@ import type { ComposeProps } from './components/Compose/Compose.types';
|
|
|
2
2
|
import type { ContentHeaderProps } from '../../../Popover/components/Content/components/Header/Header.types';
|
|
3
3
|
import type { ContentBodyProps } from '../../../Popover/components/Content/components/Body/Body.types';
|
|
4
4
|
import type { ContentFooterProps } from '../../../Popover/components/Content/components/Footer/Footer.types';
|
|
5
|
-
export interface TooltipCardProps extends Pick<ContentHeaderProps, 'title'>, Pick<ContentBodyProps, 'text'
|
|
5
|
+
export interface TooltipCardProps extends Pick<ContentHeaderProps, 'title'>, Pick<ContentBodyProps, 'text'>, Pick<ContentFooterProps, 'actionButtonText' | 'actionButtonHandler' | 'link' | 'linkText'>, Omit<ComposeProps, 'children' | 'title'> {
|
|
6
6
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export declare const FullWidthCheckbox: import("styled-components").StyledComponent<({ defaultChecked, checked, onCheckedChange, required, disabled, id, variant, ...restProps }: import("../../../../../Checkbox/components/Compose/Compose.types").CheckboxComposeProps & import("../../../../../Checkbox/components/Compose/Compose.types").RestCheckboxComposeProps) => import("react/jsx-runtime").JSX.Element, any, {}, never>;
|
|
2
2
|
export declare const FullWidthCheckboxLabel: import("styled-components").StyledComponent<({ children, ...restProps }: import("../../../../../Checkbox/components/Label/Label.types").CheckboxLabelProps) => import("react/jsx-runtime").JSX.Element | null, any, {}, never>;
|
|
3
|
-
export declare const TextEllipsis: import("styled-components").StyledComponent<({ size, variant,
|
|
3
|
+
export declare const TextEllipsis: import("styled-components").StyledComponent<({ size, variant, color, component, ellipsis, ...restProps }: import("../../../../../Typography/components/Body/Body.types").BodyProps) => import("react/jsx-runtime").JSX.Element, any, {}, never>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
declare const Typography: {
|
|
2
|
-
Heading: ({ size,
|
|
3
|
-
Body: ({ size, variant,
|
|
2
|
+
Heading: ({ size, ellipsis, color, ...restProps }: import("./components/Heading/Heading.types").HeadingProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
Body: ({ size, variant, color, component, ellipsis, ...restProps }: import("./components/Body/Body.types").BodyProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
Code: ({ size, variant, color, ellipsis, ...restProps }: import("./components/Code/Code.types").CodeProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
5
|
};
|
|
6
6
|
export default Typography;
|
|
@@ -6,15 +6,15 @@ const Body_style = require("./Body.style.cjs");
|
|
|
6
6
|
const Body = ({
|
|
7
7
|
size,
|
|
8
8
|
variant,
|
|
9
|
-
component,
|
|
10
9
|
color,
|
|
10
|
+
component,
|
|
11
11
|
ellipsis = false,
|
|
12
12
|
...restProps
|
|
13
13
|
}) => jsxRuntime.jsxRuntimeExports.jsx(Body_style.Body, {
|
|
14
14
|
as: component || "p",
|
|
15
15
|
"$size": size || "M",
|
|
16
|
-
"$variant": variant || "regular",
|
|
17
16
|
"$color": color,
|
|
17
|
+
"$variant": variant || "regular",
|
|
18
18
|
"$ellipsis": ellipsis,
|
|
19
19
|
...restProps,
|
|
20
20
|
...useEllipsisTooltip.useEllipsisTooltip(restProps)
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { BodyProps } from './Body.types';
|
|
2
|
-
declare const Body: ({ size, variant,
|
|
2
|
+
declare const Body: ({ size, variant, color, component, ellipsis, ...restProps }: BodyProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export default Body;
|
|
@@ -4,15 +4,15 @@ import { Body as Body$1 } from "./Body.style.js";
|
|
|
4
4
|
const Body = ({
|
|
5
5
|
size,
|
|
6
6
|
variant,
|
|
7
|
-
component,
|
|
8
7
|
color,
|
|
8
|
+
component,
|
|
9
9
|
ellipsis = false,
|
|
10
10
|
...restProps
|
|
11
11
|
}) => jsxRuntimeExports.jsx(Body$1, {
|
|
12
12
|
as: component || "p",
|
|
13
13
|
"$size": size || "M",
|
|
14
|
-
"$variant": variant || "regular",
|
|
15
14
|
"$color": color,
|
|
15
|
+
"$variant": variant || "regular",
|
|
16
16
|
"$ellipsis": ellipsis,
|
|
17
17
|
...restProps,
|
|
18
18
|
...useEllipsisTooltip(restProps)
|
|
@@ -7,17 +7,25 @@ const _styled__default = /* @__PURE__ */ _interopDefault(_styled);
|
|
|
7
7
|
const useBodyStyles = ({
|
|
8
8
|
$size = "M",
|
|
9
9
|
$variant = "regular",
|
|
10
|
-
$
|
|
11
|
-
$
|
|
10
|
+
$ellipsis,
|
|
11
|
+
$color
|
|
12
12
|
} = {}) => {
|
|
13
13
|
const theme = redisUiStyles.useTheme();
|
|
14
14
|
const bodyTheme = theme.components.typography.body;
|
|
15
|
+
const getColorValue = (color) => {
|
|
16
|
+
if (!color) return "inherit";
|
|
17
|
+
if (color === "primary") return theme.components.typography.colors.primary;
|
|
18
|
+
if (color === "secondary") return theme.components.typography.colors.secondary;
|
|
19
|
+
return "inherit";
|
|
20
|
+
};
|
|
15
21
|
return _styled.css`
|
|
16
|
-
color: ${$color ? theme.semantic.color.text[$color] || $color : "inherit"};
|
|
17
22
|
font-family: ${bodyTheme.fontFamily};
|
|
18
23
|
font-size: ${bodyTheme.fontSizes[$size]};
|
|
19
24
|
font-weight: ${bodyTheme.fontWeight[$variant]};
|
|
20
25
|
font-style: ${bodyTheme.fontStyle[$variant]};
|
|
26
|
+
${$color && _styled.css`
|
|
27
|
+
color: ${getColorValue($color)};
|
|
28
|
+
`}
|
|
21
29
|
${$ellipsis && _styled.css`
|
|
22
30
|
overflow: hidden;
|
|
23
31
|
text-overflow: ellipsis;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { MapProps } from './Body.types';
|
|
2
|
-
export declare const useBodyStyles: ({ $size, $variant, $
|
|
2
|
+
export declare const useBodyStyles: ({ $size, $variant, $ellipsis, $color }?: MapProps) => import("styled-components").FlattenSimpleInterpolation;
|
|
3
3
|
export declare const Body: import("styled-components").StyledComponent<"span", any, MapProps, never>;
|
|
@@ -3,17 +3,25 @@ import { useTheme } from "@redislabsdev/redis-ui-styles";
|
|
|
3
3
|
const useBodyStyles = ({
|
|
4
4
|
$size = "M",
|
|
5
5
|
$variant = "regular",
|
|
6
|
-
$
|
|
7
|
-
$
|
|
6
|
+
$ellipsis,
|
|
7
|
+
$color
|
|
8
8
|
} = {}) => {
|
|
9
9
|
const theme = useTheme();
|
|
10
10
|
const bodyTheme = theme.components.typography.body;
|
|
11
|
+
const getColorValue = (color) => {
|
|
12
|
+
if (!color) return "inherit";
|
|
13
|
+
if (color === "primary") return theme.components.typography.colors.primary;
|
|
14
|
+
if (color === "secondary") return theme.components.typography.colors.secondary;
|
|
15
|
+
return "inherit";
|
|
16
|
+
};
|
|
11
17
|
return css`
|
|
12
|
-
color: ${$color ? theme.semantic.color.text[$color] || $color : "inherit"};
|
|
13
18
|
font-family: ${bodyTheme.fontFamily};
|
|
14
19
|
font-size: ${bodyTheme.fontSizes[$size]};
|
|
15
20
|
font-weight: ${bodyTheme.fontWeight[$variant]};
|
|
16
21
|
font-style: ${bodyTheme.fontStyle[$variant]};
|
|
22
|
+
${$color && css`
|
|
23
|
+
color: ${getColorValue($color)};
|
|
24
|
+
`}
|
|
17
25
|
${$ellipsis && css`
|
|
18
26
|
overflow: hidden;
|
|
19
27
|
text-overflow: ellipsis;
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { Theme } from '@redislabsdev/redis-ui-styles';
|
|
2
1
|
import React, { HTMLAttributes } from 'react';
|
|
3
2
|
import { EllipsisTooltipParams } from '../../hooks/useEllipsisTooltip';
|
|
4
3
|
export type BodySizesType = 'XL' | 'L' | 'M' | 'S' | 'XS';
|
|
5
4
|
export type VariantType = 'regular' | 'semiBold' | 'italic';
|
|
6
5
|
export type ComponentType = 'p' | 'span' | 'div';
|
|
6
|
+
export type ColorType = 'primary' | 'secondary';
|
|
7
7
|
export interface BodyProps extends Omit<HTMLAttributes<HTMLElement>, 'children' | 'color'>, Pick<EllipsisTooltipParams, 'tooltipOnEllipsis'> {
|
|
8
8
|
children: React.ReactNode;
|
|
9
9
|
component?: ComponentType;
|
|
10
10
|
size?: BodySizesType;
|
|
11
11
|
variant?: VariantType;
|
|
12
12
|
ellipsis?: boolean;
|
|
13
|
-
color?:
|
|
13
|
+
color?: ColorType;
|
|
14
14
|
}
|
|
15
15
|
export interface MapProps extends HTMLAttributes<HTMLElement> {
|
|
16
16
|
$size?: BodyProps['size'];
|
|
17
17
|
$variant?: BodyProps['variant'];
|
|
18
|
-
$color?: BodyProps['color'];
|
|
19
18
|
$ellipsis?: boolean;
|
|
19
|
+
$color?: BodyProps['color'];
|
|
20
20
|
}
|
|
@@ -7,16 +7,24 @@ const _styled__default = /* @__PURE__ */ _interopDefault(_styled);
|
|
|
7
7
|
const useCodeStyles = ({
|
|
8
8
|
$size = "M",
|
|
9
9
|
$variant = "regular",
|
|
10
|
-
$
|
|
11
|
-
$
|
|
10
|
+
$ellipsis,
|
|
11
|
+
$color
|
|
12
12
|
} = {}) => {
|
|
13
13
|
const theme = redisUiStyles.useTheme();
|
|
14
14
|
const codeTheme = theme.components.typography.code;
|
|
15
|
+
const getColorValue = (color) => {
|
|
16
|
+
if (!color) return "inherit";
|
|
17
|
+
if (color === "primary") return theme.components.typography.colors.primary;
|
|
18
|
+
if (color === "secondary") return theme.components.typography.colors.secondary;
|
|
19
|
+
return "inherit";
|
|
20
|
+
};
|
|
15
21
|
return _styled.css`
|
|
16
|
-
color: ${$color ? theme.semantic.color.text[$color] || $color : "inherit"};
|
|
17
22
|
font-family: ${codeTheme.fontFamily};
|
|
18
23
|
font-size: ${codeTheme.fontSizes[$size]};
|
|
19
24
|
font-weight: ${codeTheme.fontWeight[$variant]};
|
|
25
|
+
${$color && _styled.css`
|
|
26
|
+
color: ${getColorValue($color)};
|
|
27
|
+
`}
|
|
20
28
|
${$ellipsis && _styled.css`
|
|
21
29
|
overflow: hidden;
|
|
22
30
|
text-overflow: ellipsis;
|
|
@@ -3,16 +3,24 @@ import { useTheme } from "@redislabsdev/redis-ui-styles";
|
|
|
3
3
|
const useCodeStyles = ({
|
|
4
4
|
$size = "M",
|
|
5
5
|
$variant = "regular",
|
|
6
|
-
$
|
|
7
|
-
$
|
|
6
|
+
$ellipsis,
|
|
7
|
+
$color
|
|
8
8
|
} = {}) => {
|
|
9
9
|
const theme = useTheme();
|
|
10
10
|
const codeTheme = theme.components.typography.code;
|
|
11
|
+
const getColorValue = (color) => {
|
|
12
|
+
if (!color) return "inherit";
|
|
13
|
+
if (color === "primary") return theme.components.typography.colors.primary;
|
|
14
|
+
if (color === "secondary") return theme.components.typography.colors.secondary;
|
|
15
|
+
return "inherit";
|
|
16
|
+
};
|
|
11
17
|
return css`
|
|
12
|
-
color: ${$color ? theme.semantic.color.text[$color] || $color : "inherit"};
|
|
13
18
|
font-family: ${codeTheme.fontFamily};
|
|
14
19
|
font-size: ${codeTheme.fontSizes[$size]};
|
|
15
20
|
font-weight: ${codeTheme.fontWeight[$variant]};
|
|
21
|
+
${$color && css`
|
|
22
|
+
color: ${getColorValue($color)};
|
|
23
|
+
`}
|
|
16
24
|
${$ellipsis && css`
|
|
17
25
|
overflow: hidden;
|
|
18
26
|
text-overflow: ellipsis;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { Theme } from '@redislabsdev/redis-ui-styles';
|
|
2
1
|
import React, { HTMLAttributes } from 'react';
|
|
3
2
|
import { EllipsisTooltipParams } from '../../hooks/useEllipsisTooltip';
|
|
4
3
|
export type CodeSizeType = 'S' | 'M' | 'L';
|
|
5
4
|
export type CodeVariantType = 'regular' | 'semiBold';
|
|
5
|
+
export type ColorType = 'primary' | 'secondary';
|
|
6
6
|
export interface CodeProps extends Omit<React.HTMLAttributes<HTMLElement>, 'children' | 'color'>, Pick<EllipsisTooltipParams, 'tooltipOnEllipsis'> {
|
|
7
7
|
children: React.ReactNode;
|
|
8
8
|
size?: CodeSizeType;
|
|
9
9
|
variant?: CodeVariantType;
|
|
10
10
|
ellipsis?: boolean;
|
|
11
|
-
color?:
|
|
11
|
+
color?: ColorType;
|
|
12
12
|
}
|
|
13
13
|
export interface MapProps extends HTMLAttributes<HTMLElement> {
|
|
14
14
|
$size?: CodeProps['size'];
|
|
15
15
|
$variant?: CodeProps['variant'];
|
|
16
|
-
$color?: CodeProps['color'];
|
|
17
16
|
$ellipsis?: boolean;
|
|
17
|
+
$color?: CodeProps['color'];
|
|
18
18
|
}
|
|
@@ -13,16 +13,16 @@ const tag = {
|
|
|
13
13
|
};
|
|
14
14
|
const Heading = ({
|
|
15
15
|
size = "XL",
|
|
16
|
-
color,
|
|
17
16
|
ellipsis = false,
|
|
17
|
+
color,
|
|
18
18
|
...restProps
|
|
19
19
|
}) => {
|
|
20
20
|
const etProps = useEllipsisTooltip.useEllipsisTooltip(restProps);
|
|
21
21
|
return jsxRuntime.jsxRuntimeExports.jsx(Heading_style.Heading, {
|
|
22
22
|
as: tag[size],
|
|
23
|
-
"$color": color,
|
|
24
23
|
"$ellipsis": ellipsis,
|
|
25
24
|
"$size": size,
|
|
25
|
+
"$color": color,
|
|
26
26
|
...restProps,
|
|
27
27
|
...etProps
|
|
28
28
|
});
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { HeadingProps } from './Heading.types';
|
|
2
|
-
declare const Heading: ({ size,
|
|
2
|
+
declare const Heading: ({ size, ellipsis, color, ...restProps }: HeadingProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export default Heading;
|
|
@@ -11,16 +11,16 @@ const tag = {
|
|
|
11
11
|
};
|
|
12
12
|
const Heading = ({
|
|
13
13
|
size = "XL",
|
|
14
|
-
color,
|
|
15
14
|
ellipsis = false,
|
|
15
|
+
color,
|
|
16
16
|
...restProps
|
|
17
17
|
}) => {
|
|
18
18
|
const etProps = useEllipsisTooltip(restProps);
|
|
19
19
|
return jsxRuntimeExports.jsx(Heading$1, {
|
|
20
20
|
as: tag[size],
|
|
21
|
-
"$color": color,
|
|
22
21
|
"$ellipsis": ellipsis,
|
|
23
22
|
"$size": size,
|
|
23
|
+
"$color": color,
|
|
24
24
|
...restProps,
|
|
25
25
|
...etProps
|
|
26
26
|
});
|
|
@@ -8,19 +8,25 @@ const Heading = _styled__default.default.span.withConfig({
|
|
|
8
8
|
displayName: "Headingstyle__Heading",
|
|
9
9
|
componentId: "RedisUI__sc-14rmj7o-0"
|
|
10
10
|
})(["", ""], ({
|
|
11
|
-
$color,
|
|
12
11
|
$size,
|
|
13
|
-
$ellipsis
|
|
12
|
+
$ellipsis,
|
|
13
|
+
$color
|
|
14
14
|
}) => {
|
|
15
15
|
const theme = redisUiStyles.useTheme();
|
|
16
16
|
const headingTheme = theme.components.typography.heading;
|
|
17
17
|
const sizeTheme = headingTheme.sizes[$size];
|
|
18
|
+
const getColorValue = (color) => {
|
|
19
|
+
if (!color) return "inherit";
|
|
20
|
+
if (color === "primary") return theme.components.typography.colors.primary;
|
|
21
|
+
if (color === "secondary") return theme.components.typography.colors.secondary;
|
|
22
|
+
return "inherit";
|
|
23
|
+
};
|
|
18
24
|
return _styled.css`
|
|
19
25
|
font-weight: ${sizeTheme.fontWeight};
|
|
20
26
|
font-size: ${sizeTheme.fontSize};
|
|
21
27
|
font-family: ${headingTheme.fontFamily};
|
|
22
28
|
margin: ${sizeTheme.margin || 0};
|
|
23
|
-
color: ${$color
|
|
29
|
+
color: ${getColorValue($color)};
|
|
24
30
|
|
|
25
31
|
${$ellipsis && _styled.css`
|
|
26
32
|
overflow: hidden;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ColorType, TShirtSizes } from './Heading.types';
|
|
2
2
|
export declare const Heading: import("styled-components").StyledComponent<"span", any, {
|
|
3
|
-
$color?: HeadingProps['color'];
|
|
4
3
|
$size: TShirtSizes;
|
|
5
4
|
$ellipsis: boolean;
|
|
5
|
+
$color?: ColorType | undefined;
|
|
6
6
|
}, never>;
|
|
@@ -4,19 +4,25 @@ const Heading = _styled.span.withConfig({
|
|
|
4
4
|
displayName: "Headingstyle__Heading",
|
|
5
5
|
componentId: "RedisUI__sc-14rmj7o-0"
|
|
6
6
|
})(["", ""], ({
|
|
7
|
-
$color,
|
|
8
7
|
$size,
|
|
9
|
-
$ellipsis
|
|
8
|
+
$ellipsis,
|
|
9
|
+
$color
|
|
10
10
|
}) => {
|
|
11
11
|
const theme = useTheme();
|
|
12
12
|
const headingTheme = theme.components.typography.heading;
|
|
13
13
|
const sizeTheme = headingTheme.sizes[$size];
|
|
14
|
+
const getColorValue = (color) => {
|
|
15
|
+
if (!color) return "inherit";
|
|
16
|
+
if (color === "primary") return theme.components.typography.colors.primary;
|
|
17
|
+
if (color === "secondary") return theme.components.typography.colors.secondary;
|
|
18
|
+
return "inherit";
|
|
19
|
+
};
|
|
14
20
|
return css`
|
|
15
21
|
font-weight: ${sizeTheme.fontWeight};
|
|
16
22
|
font-size: ${sizeTheme.fontSize};
|
|
17
23
|
font-family: ${headingTheme.fontFamily};
|
|
18
24
|
margin: ${sizeTheme.margin || 0};
|
|
19
|
-
color: ${$color
|
|
25
|
+
color: ${getColorValue($color)};
|
|
20
26
|
|
|
21
27
|
${$ellipsis && css`
|
|
22
28
|
overflow: hidden;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React, { HTMLAttributes } from 'react';
|
|
2
|
-
import { Theme } from '@redislabsdev/redis-ui-styles';
|
|
3
2
|
import { EllipsisTooltipParams } from '../../hooks/useEllipsisTooltip';
|
|
4
3
|
export type TShirtSizes = 'XXL' | 'XL' | 'L' | 'M' | 'S' | 'XS';
|
|
4
|
+
export type ColorType = 'primary' | 'secondary';
|
|
5
5
|
export interface HeadingProps extends Omit<HTMLAttributes<HTMLHeadingElement>, 'children' | 'color'>, Pick<EllipsisTooltipParams, 'tooltipOnEllipsis'> {
|
|
6
6
|
size?: TShirtSizes;
|
|
7
|
-
color?: keyof Theme['semantic']['color']['text'];
|
|
8
7
|
ellipsis?: boolean;
|
|
9
8
|
children: React.ReactNode;
|
|
9
|
+
color?: ColorType;
|
|
10
10
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@redis-ui/components",
|
|
3
|
-
"
|
|
3
|
+
"license": "UNLICENSED",
|
|
4
|
+
"version": "38.1.4",
|
|
4
5
|
"type": "module",
|
|
5
6
|
"sideEffects": false,
|
|
6
7
|
"publishConfig": {
|
|
@@ -27,7 +28,7 @@
|
|
|
27
28
|
},
|
|
28
29
|
"peerDependencies": {
|
|
29
30
|
"@redis-ui/icons": "^4.7.0",
|
|
30
|
-
"@redis-ui/styles": "^11.
|
|
31
|
+
"@redis-ui/styles": "^11.4.0",
|
|
31
32
|
"react": "^17.0.0 || ^18.0.0",
|
|
32
33
|
"react-dom": "^17.0.0 || ^18.0.0",
|
|
33
34
|
"styled-components": "^5.0.0"
|