@redis-ui/components 38.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.styles.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/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/components/Optional/Optional.style.d.ts +1 -1
- package/dist/Label/components/Required/Required.style.d.ts +1 -1
- package/dist/Label/components/Text/Text.style.d.ts +1 -1
- package/dist/Link/Link.style.d.ts +1 -1
- 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.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 +2 -2
- package/dist/Popover/components/Content/Content.d.ts +1 -1
- package/dist/Popover/components/Content/components/Body/components/BodyText/BodyText.styles.d.ts +1 -1
- package/dist/Popover/components/Content/components/Header/components/HeaderTitle/HeaderTitle.styles.d.ts +1 -1
- 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 +1 -1
- package/dist/ProgressBar/ProgressBar.styles.d.ts +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.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/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/components/Content/components/Text/Text.styles.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 +2 -0
- package/dist/Typography/components/Body/Body.d.ts +1 -1
- package/dist/Typography/components/Body/Body.js +2 -0
- package/dist/Typography/components/Body/Body.style.cjs +11 -1
- package/dist/Typography/components/Body/Body.style.d.ts +1 -1
- package/dist/Typography/components/Body/Body.style.js +11 -1
- package/dist/Typography/components/Body/Body.types.d.ts +3 -0
- package/dist/Typography/components/Code/Code.cjs +2 -0
- package/dist/Typography/components/Code/Code.d.ts +1 -1
- package/dist/Typography/components/Code/Code.js +2 -0
- package/dist/Typography/components/Code/Code.style.cjs +11 -1
- package/dist/Typography/components/Code/Code.style.js +11 -1
- package/dist/Typography/components/Code/Code.types.d.ts +3 -0
- package/dist/Typography/components/Heading/Heading.cjs +2 -0
- package/dist/Typography/components/Heading/Heading.d.ts +1 -1
- package/dist/Typography/components/Heading/Heading.js +2 -0
- package/dist/Typography/components/Heading/Heading.style.cjs +9 -1
- package/dist/Typography/components/Heading/Heading.style.d.ts +2 -1
- package/dist/Typography/components/Heading/Heading.style.js +9 -1
- package/dist/Typography/components/Heading/Heading.types.d.ts +2 -0
- package/package.json +3 -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, component, ellipsis, ...restProps }: import("../../../Typography/components/Body/Body.types").BodyProps) => import("react/jsx-runtime").JSX.Element, any, {}, never>;
|
|
6
|
+
export declare const Label: 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 +1 @@
|
|
|
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>;
|
|
1
|
+
export declare const Message: 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>;
|
|
@@ -9,7 +9,7 @@ const _styled__default = /* @__PURE__ */ _interopDefault(_styled);
|
|
|
9
9
|
const CheckboxIndicator = _styled__default.default(index.Root).withConfig({
|
|
10
10
|
displayName: "Indicatorstyle__CheckboxIndicator",
|
|
11
11
|
componentId: "RedisUI__sc-4xg31h-0"
|
|
12
|
-
})(["flex-shrink:0;color:transparent;", ";", " ", ""], () => {
|
|
12
|
+
})(["flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;color:transparent;", ";", " ", ""], () => {
|
|
13
13
|
const style = redisUiStyles.useTheme().components.checkbox;
|
|
14
14
|
return _styled.css`
|
|
15
15
|
width: ${style.width};
|
|
@@ -5,7 +5,7 @@ import { getButtonStatesStyle, bgColorMap, borderColorMap } from "../../../Butto
|
|
|
5
5
|
const CheckboxIndicator = _styled(Root).withConfig({
|
|
6
6
|
displayName: "Indicatorstyle__CheckboxIndicator",
|
|
7
7
|
componentId: "RedisUI__sc-4xg31h-0"
|
|
8
|
-
})(["flex-shrink:0;color:transparent;", ";", " ", ""], () => {
|
|
8
|
+
})(["flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;color:transparent;", ";", " ", ""], () => {
|
|
9
9
|
const style = useTheme().components.checkbox;
|
|
10
10
|
return css`
|
|
11
11
|
width: ${style.width};
|
|
@@ -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, ellipsis, ...restProps }: import("../../../Typography/components/Body/Body.types").BodyProps) => import("react/jsx-runtime").JSX.Element, any, {}, never>;
|
|
6
|
+
export declare const TypographyBody: 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,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, ellipsis, ...restProps }: import("../../Typography/components/Body/Body.types").BodyProps) => import("react/jsx-runtime").JSX.Element, any, {
|
|
2
|
+
export declare const ExtraListItem: import("styled-components").StyledComponent<({ size, variant, color, 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,3 +1,6 @@
|
|
|
1
1
|
import { DatePickerProps } from './DatePicker.types';
|
|
2
|
+
/**
|
|
3
|
+
* @deprecated This component will be removed in future versions
|
|
4
|
+
*/
|
|
2
5
|
declare const DatePicker: ({ fromYear, toYear, onSingleSelect, selectedDay, showSelected, ...restProps }: DatePickerProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
6
|
export default DatePicker;
|
|
@@ -1 +1 @@
|
|
|
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>;
|
|
1
|
+
export declare const Title: import("styled-components").StyledComponent<({ size, ellipsis, color, ...restProps }: import("../../../../../Typography/components/Heading/Heading.types").HeadingProps) => import("react/jsx-runtime").JSX.Element, any, {}, never>;
|
|
@@ -1,3 +1,3 @@
|
|
|
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, {
|
|
1
|
+
export declare const AdditionalText: import("styled-components").StyledComponent<({ size, variant, color, 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, ellipsis, ...restProps }: import("../../Typography/components/Body/Body.types").BodyProps) => import("react/jsx-runtime").JSX.Element, any, {
|
|
13
|
+
ReadonlyValue: import("styled-components").StyledComponent<({ size, variant, color, 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, ellipsis, ...restProps }: import("../../Typography/components/Body/Body.types").BodyProps) => import("react/jsx-runtime").JSX.Element, any, {
|
|
15
|
+
ReadonlyValue: import("styled-components").StyledComponent<({ size, variant, color, 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, ellipsis, ...restProps }: import("../../Typography/components/Body/Body.types").BodyProps) => import("react/jsx-runtime").JSX.Element, any, {
|
|
21
|
+
ReadonlyValue: import("styled-components").StyledComponent<({ size, variant, color, 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, ellipsis, ...restProps }: import("../../../../../../Typography/components/Body/Body.types").BodyProps) => import("react/jsx-runtime").JSX.Element, any, {}, never>;
|
|
1
|
+
export declare const ValueLabel: 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>;
|
|
@@ -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, ellipsis, ...restProps }: import("../../Typography/components/Body/Body.types").BodyProps) => import("react/jsx-runtime").JSX.Element, any, {
|
|
18
|
+
ReadonlyValue: import("styled-components").StyledComponent<({ size, variant, color, 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, ellipsis, ...restProps }: import("../../../../Typography/components/Body/Body.types").BodyProps) => import("react/jsx-runtime").JSX.Element, any, {
|
|
10
|
+
export declare const ReadonlyValue: import("styled-components").StyledComponent<({ size, variant, color, 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, ellipsis, ...restProps }: import("../../../Typography/components/Body/Body.types").BodyProps) => import("react/jsx-runtime").JSX.Element, any, {
|
|
7
|
+
export declare const ReadonlyValue: import("styled-components").StyledComponent<({ size, variant, color, component, ellipsis, ...restProps }: import("../../../Typography/components/Body/Body.types").BodyProps) => import("react/jsx-runtime").JSX.Element, any, {
|
|
8
8
|
readOnly: boolean;
|
|
9
9
|
}, "readOnly">;
|
|
@@ -1 +1 @@
|
|
|
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>;
|
|
1
|
+
export declare const Optional: 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 +1 @@
|
|
|
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>;
|
|
1
|
+
export declare const Required: 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,3 +1,3 @@
|
|
|
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, {
|
|
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, {
|
|
2
2
|
$readonly?: boolean | undefined;
|
|
3
3
|
}, never>;
|
|
@@ -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, ellipsis, ...restProps }: import("../Typography/components/Body/Body.types").BodyProps) => import("react/jsx-runtime").JSX.Element, any, {}, never>;
|
|
9
|
+
export declare const StyledLinkText: 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 +1 @@
|
|
|
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>;
|
|
1
|
+
export declare const MenuItemSubHead: 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 +1 @@
|
|
|
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
|
+
export declare const MenuItemText: 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 +1 @@
|
|
|
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
|
+
export declare const MenuContentLabel: 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 +1 @@
|
|
|
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
|
+
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>;
|
|
@@ -1 +1 @@
|
|
|
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>;
|
|
1
|
+
export declare const Title: import("styled-components").StyledComponent<({ size, ellipsis, color, ...restProps }: import("../../../../../../../Typography/components/Heading/Heading.types").HeadingProps) => import("react/jsx-runtime").JSX.Element, any, {}, never>;
|
|
@@ -22,7 +22,7 @@ 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, ellipsis, ...restProps }: import("../Typography/components/Heading/Heading.types").HeadingProps) => import("react/jsx-runtime").JSX.Element, any, {}, never>;
|
|
25
|
+
Heading: import("styled-components").StyledComponent<({ size, ellipsis, color, ...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
|
};
|
|
@@ -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, ellipsis, ...restProps }: import("../Typography/components/Heading/Heading.types").HeadingProps) => import("react/jsx-runtime").JSX.Element, any, {}, never>;
|
|
46
|
+
Heading: import("styled-components").StyledComponent<({ size, ellipsis, color, ...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;
|
|
@@ -23,7 +23,7 @@ declare const Content: (({ title, text, actionButtonText, actionButtonHandler, l
|
|
|
23
23
|
Compose: (props: import("./components/WindowBar/components/Compose/Compose.types").WindowBarComposeProps) => import("react/jsx-runtime").JSX.Element;
|
|
24
24
|
Close: ({ children, icon, ...buttonProps }: import("./components/Close/Close.types").PopoverCloseProps) => import("react/jsx-runtime").JSX.Element;
|
|
25
25
|
Icon: ({ icon, variant, ...props }: import("../../../Badge/BadgeIcon").BadgeIconProps) => import("react/jsx-runtime").JSX.Element;
|
|
26
|
-
Heading: import("styled-components").StyledComponent<({ size, ellipsis, ...restProps }: import("../../../Typography/components/Heading/Heading.types").HeadingProps) => import("react/jsx-runtime").JSX.Element, any, {}, never>;
|
|
26
|
+
Heading: import("styled-components").StyledComponent<({ size, ellipsis, color, ...restProps }: import("../../../Typography/components/Heading/Heading.types").HeadingProps) => import("react/jsx-runtime").JSX.Element, any, {}, never>;
|
|
27
27
|
Header: import("react").FC<import("./components/WindowBar/components/Header/Header.types").WindowBarHeaderProps>;
|
|
28
28
|
};
|
|
29
29
|
};
|
package/dist/Popover/components/Content/components/Body/components/BodyText/BodyText.styles.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const HeaderTitle: 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
|
+
export declare const HeaderTitle: 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 +1 @@
|
|
|
1
|
-
export declare const HeaderTitle: import("styled-components").StyledComponent<({ size, ellipsis, ...restProps }: import("../../../../../../../Typography/components/Heading/Heading.types").HeadingProps) => import("react/jsx-runtime").JSX.Element, any, {}, never>;
|
|
1
|
+
export declare const HeaderTitle: import("styled-components").StyledComponent<({ size, ellipsis, color, ...restProps }: import("../../../../../../../Typography/components/Heading/Heading.types").HeadingProps) => import("react/jsx-runtime").JSX.Element, any, {}, never>;
|
|
@@ -1 +1 @@
|
|
|
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
|
+
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,7 +4,7 @@ declare const WindowBar: (({ title, variant, hideCloseButton, withIcon, icon, ..
|
|
|
4
4
|
Compose: (props: import("./components/Compose/Compose.types").WindowBarComposeProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
5
|
Close: ({ children, icon, ...buttonProps }: import("../Close/Close.types").PopoverCloseProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
6
|
Icon: ({ icon, variant, ...props }: import("../../../../../Badge/BadgeIcon").BadgeIconProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
Heading: import("styled-components").StyledComponent<({ size, ellipsis, ...restProps }: import("../../../../../Typography/components/Heading/Heading.types").HeadingProps) => import("react/jsx-runtime").JSX.Element, any, {}, never>;
|
|
7
|
+
Heading: import("styled-components").StyledComponent<({ size, ellipsis, color, ...restProps }: import("../../../../../Typography/components/Heading/Heading.types").HeadingProps) => import("react/jsx-runtime").JSX.Element, any, {}, never>;
|
|
8
8
|
Header: import("react").FC<import("./components/Header/Header.types").WindowBarHeaderProps>;
|
|
9
9
|
};
|
|
10
10
|
export default WindowBar;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const WindowBarHeading: import("styled-components").StyledComponent<({ size, ellipsis, ...restProps }: import("../../../../../Typography/components/Heading/Heading.types").HeadingProps) => import("react/jsx-runtime").JSX.Element, any, {}, never>;
|
|
1
|
+
export declare const WindowBarHeading: import("styled-components").StyledComponent<({ size, ellipsis, color, ...restProps }: import("../../../../../Typography/components/Heading/Heading.types").HeadingProps) => import("react/jsx-runtime").JSX.Element, any, {}, never>;
|
|
@@ -17,7 +17,7 @@ declare const PopoverCard: (({ text, title, actionButtonText, actionButtonHandle
|
|
|
17
17
|
Compose: (props: import("../Content/components/WindowBar/components/Compose/Compose.types").WindowBarComposeProps) => import("react/jsx-runtime").JSX.Element;
|
|
18
18
|
Close: ({ children, icon, ...buttonProps }: import("../Content/components/Close/Close.types").PopoverCloseProps) => import("react/jsx-runtime").JSX.Element;
|
|
19
19
|
Icon: ({ icon, variant, ...props }: import("../../../Badge/BadgeIcon").BadgeIconProps) => import("react/jsx-runtime").JSX.Element;
|
|
20
|
-
Heading: import("styled-components").StyledComponent<({ size, ellipsis, ...restProps }: import("../../../Typography/components/Heading/Heading.types").HeadingProps) => import("react/jsx-runtime").JSX.Element, any, {}, never>;
|
|
20
|
+
Heading: import("styled-components").StyledComponent<({ size, ellipsis, color, ...restProps }: import("../../../Typography/components/Heading/Heading.types").HeadingProps) => import("react/jsx-runtime").JSX.Element, any, {}, never>;
|
|
21
21
|
Header: import("react").FC<import("../Content/components/WindowBar/components/Header/Header.types").WindowBarHeaderProps>;
|
|
22
22
|
};
|
|
23
23
|
Close: ({ children, icon, ...buttonProps }: import("../Content/components/Close/Close.types").PopoverCloseProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -12,4 +12,4 @@ export declare const Indicator: import("styled-components").StyledComponent<impo
|
|
|
12
12
|
export declare const ProgressBar: import("styled-components").StyledComponent<"div", any, {
|
|
13
13
|
textPosition?: ProgressBarTextPosition | undefined;
|
|
14
14
|
}, never>;
|
|
15
|
-
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>;
|
|
15
|
+
export declare const TypographyBody: 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,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const jsxRuntime = require("../../../node_modules/react/jsx-runtime.cjs");
|
|
4
|
+
const React = require("react");
|
|
4
5
|
const Section_context = require("../../Section.context.cjs");
|
|
5
6
|
const Body_style = require("./Body.style.cjs");
|
|
6
7
|
const Body = ({
|
|
@@ -10,7 +11,9 @@ const Body = ({
|
|
|
10
11
|
const {
|
|
11
12
|
setHasContent
|
|
12
13
|
} = Section_context.useSectionContext();
|
|
13
|
-
|
|
14
|
+
React.useLayoutEffect(() => {
|
|
15
|
+
setHasContent(!!content);
|
|
16
|
+
}, [setHasContent, content]);
|
|
14
17
|
if (!content) {
|
|
15
18
|
return null;
|
|
16
19
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { j as jsxRuntimeExports } from "../../../node_modules/react/jsx-runtime.js";
|
|
2
|
+
import { useLayoutEffect } from "react";
|
|
2
3
|
import { useSectionContext } from "../../Section.context.js";
|
|
3
4
|
import { SectionBody } from "./Body.style.js";
|
|
4
5
|
const Body = ({
|
|
@@ -8,7 +9,9 @@ const Body = ({
|
|
|
8
9
|
const {
|
|
9
10
|
setHasContent
|
|
10
11
|
} = useSectionContext();
|
|
11
|
-
|
|
12
|
+
useLayoutEffect(() => {
|
|
13
|
+
setHasContent(!!content);
|
|
14
|
+
}, [setHasContent, content]);
|
|
12
15
|
if (!content) {
|
|
13
16
|
return null;
|
|
14
17
|
}
|
package/dist/Section/components/Header/components/CategoryValueList/CategoryValueList.style.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export declare const Container: import("styled-components").StyledComponent<({ children, renderExtra, maxRows, minItems, expectedGap, estimatedItemsPerRow, ...restProps }: import("../../../../../Overflow").OverflowProps) => import("react/jsx-runtime").JSX.Element, any, {}, never>;
|
|
2
2
|
export declare const Separator: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
3
|
export declare const CategoryValueItemContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
4
|
-
export declare const TextWrapper: 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
|
+
export declare const TextWrapper: 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,3 +1,3 @@
|
|
|
1
1
|
export declare const Container: import("styled-components").StyledComponent<"span", any, {}, never>;
|
|
2
|
-
export declare const Category: 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
|
-
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>;
|
|
2
|
+
export declare const Category: 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>;
|
|
3
|
+
export declare const TypographyBody: 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 +1 @@
|
|
|
1
|
-
export declare const LabelText: import("styled-components").StyledComponent<({ size, ellipsis, ...restProps }: import("../../../../../Typography/components/Heading/Heading.types").HeadingProps) => import("react/jsx-runtime").JSX.Element, any, {}, never>;
|
|
1
|
+
export declare const LabelText: import("styled-components").StyledComponent<({ size, ellipsis, color, ...restProps }: import("../../../../../Typography/components/Heading/Heading.types").HeadingProps) => import("react/jsx-runtime").JSX.Element, any, {}, never>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SmallFooterText: 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
|
+
export declare const SmallFooterText: 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 +1 @@
|
|
|
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
|
+
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>;
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import 'react-loading-skeleton/dist/skeleton.css';
|
|
2
2
|
import { SkeletonProps } from './Skeleton.types';
|
|
3
|
+
/**
|
|
4
|
+
* @deprecated This component will be removed in future versions
|
|
5
|
+
*/
|
|
3
6
|
declare const Skeleton: (({ circle, ...restSkeletonProps }: SkeletonProps) => import("react/jsx-runtime").JSX.Element) & {
|
|
4
7
|
Card: (props: import("..").CardProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
8
|
Grid: ({ columns, children, direction, gap }: import("./components/Grid/Grid.types").GridProps) => import("react/jsx-runtime").JSX.Element;
|