@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.
Files changed (143) hide show
  1. package/dist/AppSelectionMenu/components/Item/Item.cjs +1 -3
  2. package/dist/AppSelectionMenu/components/Item/Item.js +2 -4
  3. package/dist/AppSelectionMenu/components/Item/Item.styles.cjs +6 -0
  4. package/dist/AppSelectionMenu/components/Item/Item.styles.d.ts +1 -0
  5. package/dist/AppSelectionMenu/components/Item/Item.styles.js +7 -1
  6. package/dist/AutoCompleteSelect/AutoCompleteSelect.style.d.ts +1 -1
  7. package/dist/Banner/components/Message/Message.style.d.ts +1 -1
  8. package/dist/Checkbox/components/Indicator/Indicator.style.cjs +1 -1
  9. package/dist/Checkbox/components/Indicator/Indicator.style.js +1 -1
  10. package/dist/Checkbox/components/Label/Label.style.d.ts +1 -1
  11. package/dist/ChipList/Components/ExtraItem.style.d.ts +1 -1
  12. package/dist/DatePicker/DatePicker.d.ts +3 -0
  13. package/dist/Drawer/components/Header/components/Title/Title.style.d.ts +1 -1
  14. package/dist/Filters/components/MultiSelectFilter/MultiSelectFilter.styles.d.ts +1 -1
  15. package/dist/FormField/FormField.d.ts +1 -1
  16. package/dist/FormField/components/AdditionalText/AdditionalText.style.d.ts +1 -1
  17. package/dist/Inputs/Input/Input.d.ts +1 -1
  18. package/dist/Inputs/NumericInput/NumericInput.d.ts +1 -1
  19. package/dist/Inputs/QuantityCounter/QuantityCounter.d.ts +1 -1
  20. package/dist/Inputs/QuantityCounter/components/InputGroup/components/ValueLabel/ValueLabel.style.d.ts +1 -1
  21. package/dist/Inputs/TextArea/TextArea.d.ts +1 -1
  22. package/dist/Inputs/TextArea/components/Compose/Compose.style.d.ts +1 -1
  23. package/dist/Inputs/components/Compose/Compose.style.d.ts +1 -1
  24. package/dist/Label/Label.d.ts +1 -1
  25. package/dist/Label/components/InfoIcon/InfoIcon.cjs +1 -5
  26. package/dist/Label/components/InfoIcon/InfoIcon.d.ts +1 -1
  27. package/dist/Label/components/InfoIcon/InfoIcon.js +1 -5
  28. package/dist/Label/components/InfoIcon/InfoIcon.types.d.ts +0 -2
  29. package/dist/Label/components/Optional/Optional.style.cjs +1 -6
  30. package/dist/Label/components/Optional/Optional.style.d.ts +1 -1
  31. package/dist/Label/components/Optional/Optional.style.js +1 -6
  32. package/dist/Label/components/Required/Required.style.cjs +1 -6
  33. package/dist/Label/components/Required/Required.style.d.ts +1 -1
  34. package/dist/Label/components/Required/Required.style.js +1 -6
  35. package/dist/Label/components/Text/Text.style.cjs +1 -2
  36. package/dist/Label/components/Text/Text.style.d.ts +1 -1
  37. package/dist/Label/components/Text/Text.style.js +1 -2
  38. package/dist/Link/Link.style.d.ts +1 -1
  39. package/dist/Menu/Menu.d.ts +1 -1
  40. package/dist/Menu/components/Content/Content.d.ts +1 -1
  41. package/dist/Menu/components/Content/components/DropdownArrow/DropdownArrow.cjs +1 -2
  42. package/dist/Menu/components/Content/components/DropdownArrow/DropdownArrow.d.ts +1 -1
  43. package/dist/Menu/components/Content/components/DropdownArrow/DropdownArrow.js +1 -2
  44. package/dist/Menu/components/Content/components/DropdownArrow/DropdownArrow.types.d.ts +0 -2
  45. package/dist/Menu/components/Content/components/Item/Components/SubHead/SubHead.style.cjs +1 -6
  46. package/dist/Menu/components/Content/components/Item/Components/SubHead/SubHead.style.d.ts +1 -1
  47. package/dist/Menu/components/Content/components/Item/Components/SubHead/SubHead.style.js +1 -6
  48. package/dist/Menu/components/Content/components/Item/Components/Text/Text.style.d.ts +1 -1
  49. package/dist/Menu/components/Content/components/Label/Label.style.d.ts +1 -1
  50. package/dist/Modal/components/Content/components/Body/components/Text/Text.style.d.ts +1 -1
  51. package/dist/Modal/components/Content/components/Header/components/Title/Title.style.d.ts +1 -1
  52. package/dist/Popover/Popover.d.ts +6 -6
  53. package/dist/Popover/components/Content/Content.cjs +1 -4
  54. package/dist/Popover/components/Content/Content.d.ts +3 -3
  55. package/dist/Popover/components/Content/Content.js +1 -4
  56. package/dist/Popover/components/Content/Content.types.d.ts +0 -2
  57. package/dist/Popover/components/Content/components/Body/Body.cjs +0 -2
  58. package/dist/Popover/components/Content/components/Body/Body.d.ts +1 -1
  59. package/dist/Popover/components/Content/components/Body/Body.js +0 -2
  60. package/dist/Popover/components/Content/components/Body/Body.types.d.ts +0 -2
  61. package/dist/Popover/components/Content/components/Body/components/BodyText/BodyText.styles.cjs +1 -6
  62. package/dist/Popover/components/Content/components/Body/components/BodyText/BodyText.styles.d.ts +1 -1
  63. package/dist/Popover/components/Content/components/Body/components/BodyText/BodyText.styles.js +1 -6
  64. package/dist/Popover/components/Content/components/Compose/Compose.cjs +1 -1
  65. package/dist/Popover/components/Content/components/Compose/Compose.js +1 -1
  66. package/dist/Popover/components/Content/components/Compose/Compose.style.cjs +1 -1
  67. package/dist/Popover/components/Content/components/Compose/Compose.style.d.ts +1 -1
  68. package/dist/Popover/components/Content/components/Compose/Compose.style.js +1 -1
  69. package/dist/Popover/components/Content/components/Compose/Compose.types.d.ts +1 -2
  70. package/dist/Popover/components/Content/components/Header/components/HeaderTitle/HeaderTitle.styles.d.ts +1 -1
  71. package/dist/Popover/components/Content/components/Text/Text.styles.cjs +1 -6
  72. package/dist/Popover/components/Content/components/Text/Text.styles.d.ts +1 -1
  73. package/dist/Popover/components/Content/components/Text/Text.styles.js +1 -6
  74. package/dist/Popover/components/Content/components/WindowBar/WindowBar.d.ts +1 -1
  75. package/dist/Popover/components/Content/components/WindowBar/WindowBar.style.d.ts +1 -1
  76. package/dist/Popover/components/PopoverCard/PopoverCard.cjs +1 -3
  77. package/dist/Popover/components/PopoverCard/PopoverCard.d.ts +3 -3
  78. package/dist/Popover/components/PopoverCard/PopoverCard.js +1 -3
  79. package/dist/Popover/components/PopoverCard/PopoverCard.types.d.ts +1 -1
  80. package/dist/ProgressBar/ProgressBar.cjs +1 -3
  81. package/dist/ProgressBar/ProgressBar.js +2 -4
  82. package/dist/ProgressBar/ProgressBar.styles.cjs +6 -0
  83. package/dist/ProgressBar/ProgressBar.styles.d.ts +1 -0
  84. package/dist/ProgressBar/ProgressBar.styles.js +7 -1
  85. package/dist/RadioGroup/RadioGroup.d.ts +1 -1
  86. package/dist/RadioGroup/components/Item/components/Label/Label.style.cjs +1 -1
  87. package/dist/RadioGroup/components/Item/components/Label/Label.style.js +1 -1
  88. package/dist/Section/components/Body/Body.cjs +4 -1
  89. package/dist/Section/components/Body/Body.js +4 -1
  90. package/dist/Section/components/Header/components/CategoryValueList/CategoryValueList.cjs +1 -3
  91. package/dist/Section/components/Header/components/CategoryValueList/CategoryValueList.js +2 -4
  92. package/dist/Section/components/Header/components/CategoryValueList/CategoryValueList.style.cjs +6 -0
  93. package/dist/Section/components/Header/components/CategoryValueList/CategoryValueList.style.d.ts +1 -0
  94. package/dist/Section/components/Header/components/CategoryValueList/CategoryValueList.style.js +7 -1
  95. package/dist/Section/components/Header/components/CategoryValueList/components/CategoryValueChip/CategoryValueChip.cjs +1 -4
  96. package/dist/Section/components/Header/components/CategoryValueList/components/CategoryValueChip/CategoryValueChip.js +2 -5
  97. package/dist/Section/components/Header/components/CategoryValueList/components/CategoryValueChip/CategoryValueChip.style.cjs +6 -1
  98. package/dist/Section/components/Header/components/CategoryValueList/components/CategoryValueChip/CategoryValueChip.style.d.ts +2 -1
  99. package/dist/Section/components/Header/components/CategoryValueList/components/CategoryValueChip/CategoryValueChip.style.js +7 -2
  100. package/dist/Section/components/Header/components/Label/Label.style.d.ts +1 -1
  101. package/dist/SideBar/components/Footer/components/Text/Text.style.d.ts +1 -1
  102. package/dist/SideBar/components/Item/components/Text/Text.style.d.ts +1 -1
  103. package/dist/Skeleton/Skeleton.d.ts +3 -0
  104. package/dist/Switch/components/Switcher/Switcher.style.d.ts +2 -445
  105. package/dist/Switch/components/Title/Title.style.d.ts +1 -1
  106. package/dist/Toast/components/Content/components/Description/Description.style.d.ts +1 -1
  107. package/dist/Toast/components/Content/components/Message/Message.style.d.ts +1 -1
  108. package/dist/Tooltip/Tooltip.d.ts +3 -3
  109. package/dist/Tooltip/components/Content/Content.cjs +1 -3
  110. package/dist/Tooltip/components/Content/Content.d.ts +1 -1
  111. package/dist/Tooltip/components/Content/Content.js +1 -3
  112. package/dist/Tooltip/components/Content/Content.types.d.ts +0 -2
  113. package/dist/Tooltip/components/Content/components/Compose/Compose.style.cjs +1 -1
  114. package/dist/Tooltip/components/Content/components/Compose/Compose.style.d.ts +1 -1
  115. package/dist/Tooltip/components/Content/components/Compose/Compose.style.js +1 -1
  116. package/dist/Tooltip/components/Content/components/Compose/Compose.types.d.ts +1 -2
  117. package/dist/Tooltip/components/Content/components/Text/Text.styles.cjs +1 -6
  118. package/dist/Tooltip/components/Content/components/Text/Text.styles.d.ts +1 -1
  119. package/dist/Tooltip/components/Content/components/Text/Text.styles.js +1 -6
  120. package/dist/Tooltip/components/TooltipCard/TooltipCard.cjs +1 -3
  121. package/dist/Tooltip/components/TooltipCard/TooltipCard.d.ts +2 -2
  122. package/dist/Tooltip/components/TooltipCard/TooltipCard.js +1 -3
  123. package/dist/Tooltip/components/TooltipCard/TooltipCard.types.d.ts +1 -1
  124. package/dist/TreeView/components/TreeItem/components/Checkbox/Checkbox.style.d.ts +1 -1
  125. package/dist/Typography/Typography.d.ts +2 -2
  126. package/dist/Typography/components/Body/Body.cjs +2 -2
  127. package/dist/Typography/components/Body/Body.d.ts +1 -1
  128. package/dist/Typography/components/Body/Body.js +2 -2
  129. package/dist/Typography/components/Body/Body.style.cjs +11 -3
  130. package/dist/Typography/components/Body/Body.style.d.ts +1 -1
  131. package/dist/Typography/components/Body/Body.style.js +11 -3
  132. package/dist/Typography/components/Body/Body.types.d.ts +3 -3
  133. package/dist/Typography/components/Code/Code.style.cjs +11 -3
  134. package/dist/Typography/components/Code/Code.style.js +11 -3
  135. package/dist/Typography/components/Code/Code.types.d.ts +3 -3
  136. package/dist/Typography/components/Heading/Heading.cjs +2 -2
  137. package/dist/Typography/components/Heading/Heading.d.ts +1 -1
  138. package/dist/Typography/components/Heading/Heading.js +2 -2
  139. package/dist/Typography/components/Heading/Heading.style.cjs +9 -3
  140. package/dist/Typography/components/Heading/Heading.style.d.ts +2 -2
  141. package/dist/Typography/components/Heading/Heading.style.js +9 -3
  142. package/dist/Typography/components/Heading/Heading.types.d.ts +2 -2
  143. package/package.json +3 -2
@@ -1,16 +1,14 @@
1
1
  import { j as jsxRuntimeExports } from "../../../../../node_modules/react/jsx-runtime.js";
2
2
  import CategoryValueChip from "./components/CategoryValueChip/CategoryValueChip.js";
3
- import { Container, CategoryValueItemContainer, Separator } from "./CategoryValueList.style.js";
4
- import Typography from "../../../../../Typography/Typography.js";
3
+ import { Container, CategoryValueItemContainer, Separator, TextWrapper } from "./CategoryValueList.style.js";
5
4
  const CategoryValueList = ({
6
5
  categoryValueList
7
6
  }) => {
8
7
  return jsxRuntimeExports.jsx(Container, {
9
8
  minItems: 1,
10
9
  renderExtra: (visibleCount) => jsxRuntimeExports.jsxs(CategoryValueItemContainer, {
11
- children: [jsxRuntimeExports.jsx(Separator, {}), jsxRuntimeExports.jsx(Typography.Body, {
10
+ children: [jsxRuntimeExports.jsx(Separator, {}), jsxRuntimeExports.jsx(TextWrapper, {
12
11
  variant: "semiBold",
13
- color: "neutral800",
14
12
  children: `+${categoryValueList.length - visibleCount}`
15
13
  })]
16
14
  }),
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const _styled = require("styled-components");
4
4
  const redisUiStyles = require("@redislabsdev/redis-ui-styles");
5
+ const Typography = require("../../../../../Typography/Typography.cjs");
5
6
  const Overflow = require("../../../../../Overflow/Overflow.cjs");
6
7
  const _interopDefault = (e) => e && e.__esModule ? e : { default: e };
7
8
  const _styled__default = /* @__PURE__ */ _interopDefault(_styled);
@@ -17,6 +18,11 @@ const CategoryValueItemContainer = _styled__default.default.div.withConfig({
17
18
  displayName: "CategoryValueListstyle__CategoryValueItemContainer",
18
19
  componentId: "RedisUI__sc-1esx0lb-2"
19
20
  })(["display:flex;align-items:center;gap:", ";"], () => redisUiStyles.useTheme().components.section.header.categoryValueList.gap);
21
+ const TextWrapper = _styled__default.default(Typography.default.Body).withConfig({
22
+ displayName: "CategoryValueListstyle__TextWrapper",
23
+ componentId: "RedisUI__sc-1esx0lb-3"
24
+ })(["color:", ";"], () => redisUiStyles.useTheme().components.section.header.categoryValueList.counter.textColor);
20
25
  exports.CategoryValueItemContainer = CategoryValueItemContainer;
21
26
  exports.Container = Container;
22
27
  exports.Separator = Separator;
28
+ exports.TextWrapper = TextWrapper;
@@ -1,3 +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, color, component, ellipsis, ...restProps }: import("../../../../../Typography/components/Body/Body.types").BodyProps) => import("react/jsx-runtime").JSX.Element, any, {}, never>;
@@ -1,5 +1,6 @@
1
1
  import _styled from "styled-components";
2
2
  import { useTheme } from "@redislabsdev/redis-ui-styles";
3
+ import Typography from "../../../../../Typography/Typography.js";
3
4
  import { Overflow } from "../../../../../Overflow/Overflow.js";
4
5
  const Container = _styled(Overflow).withConfig({
5
6
  displayName: "CategoryValueListstyle__Container",
@@ -13,8 +14,13 @@ const CategoryValueItemContainer = _styled.div.withConfig({
13
14
  displayName: "CategoryValueListstyle__CategoryValueItemContainer",
14
15
  componentId: "RedisUI__sc-1esx0lb-2"
15
16
  })(["display:flex;align-items:center;gap:", ";"], () => useTheme().components.section.header.categoryValueList.gap);
17
+ const TextWrapper = _styled(Typography.Body).withConfig({
18
+ displayName: "CategoryValueListstyle__TextWrapper",
19
+ componentId: "RedisUI__sc-1esx0lb-3"
20
+ })(["color:", ";"], () => useTheme().components.section.header.categoryValueList.counter.textColor);
16
21
  export {
17
22
  CategoryValueItemContainer,
18
23
  Container,
19
- Separator
24
+ Separator,
25
+ TextWrapper
20
26
  };
@@ -2,7 +2,6 @@
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
3
  const jsxRuntime = require("../../../../../../../node_modules/react/jsx-runtime.cjs");
4
4
  const CategoryValueChip_style = require("./CategoryValueChip.style.cjs");
5
- const Typography = require("../../../../../../../Typography/Typography.cjs");
6
5
  const CategoryValueChip = ({
7
6
  category,
8
7
  value,
@@ -11,10 +10,8 @@ const CategoryValueChip = ({
11
10
  ...restProps,
12
11
  children: [jsxRuntime.jsxRuntimeExports.jsx(CategoryValueChip_style.Category, {
13
12
  variant: "semiBold",
14
- color: "neutral800",
15
13
  children: category
16
- }), jsxRuntime.jsxRuntimeExports.jsx(Typography.default.Body, {
17
- color: "neutral700",
14
+ }), jsxRuntime.jsxRuntimeExports.jsx(CategoryValueChip_style.TypographyBody, {
18
15
  ellipsis: true,
19
16
  tooltipOnEllipsis: true,
20
17
  children: value
@@ -1,6 +1,5 @@
1
1
  import { j as jsxRuntimeExports } from "../../../../../../../node_modules/react/jsx-runtime.js";
2
- import { Container, Category } from "./CategoryValueChip.style.js";
3
- import Typography from "../../../../../../../Typography/Typography.js";
2
+ import { Container, Category, TypographyBody } from "./CategoryValueChip.style.js";
4
3
  const CategoryValueChip = ({
5
4
  category,
6
5
  value,
@@ -9,10 +8,8 @@ const CategoryValueChip = ({
9
8
  ...restProps,
10
9
  children: [jsxRuntimeExports.jsx(Category, {
11
10
  variant: "semiBold",
12
- color: "neutral800",
13
11
  children: category
14
- }), jsxRuntimeExports.jsx(Typography.Body, {
15
- color: "neutral700",
12
+ }), jsxRuntimeExports.jsx(TypographyBody, {
16
13
  ellipsis: true,
17
14
  tooltipOnEllipsis: true,
18
15
  children: value
@@ -12,6 +12,11 @@ const Container = _styled__default.default.span.withConfig({
12
12
  const Category = _styled__default.default(Typography.default.Body).withConfig({
13
13
  displayName: "CategoryValueChipstyle__Category",
14
14
  componentId: "RedisUI__sc-j0nfcg-1"
15
- })(["white-space:nowrap;flex:1;"]);
15
+ })(["color:", ";white-space:nowrap;flex:1;"], () => redisUiStyles.useTheme().components.section.header.categoryValueList.categoryValueChip.categoryTextColor);
16
+ const TypographyBody = _styled__default.default(Typography.default.Body).withConfig({
17
+ displayName: "CategoryValueChipstyle__TypographyBody",
18
+ componentId: "RedisUI__sc-j0nfcg-2"
19
+ })(["color:", ";"], () => redisUiStyles.useTheme().components.section.header.categoryValueList.categoryValueChip.valueTextColor);
16
20
  exports.Category = Category;
17
21
  exports.Container = Container;
22
+ exports.TypographyBody = TypographyBody;
@@ -1,2 +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, color, 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>;
@@ -8,8 +8,13 @@ const Container = _styled.span.withConfig({
8
8
  const Category = _styled(Typography.Body).withConfig({
9
9
  displayName: "CategoryValueChipstyle__Category",
10
10
  componentId: "RedisUI__sc-j0nfcg-1"
11
- })(["white-space:nowrap;flex:1;"]);
11
+ })(["color:", ";white-space:nowrap;flex:1;"], () => useTheme().components.section.header.categoryValueList.categoryValueChip.categoryTextColor);
12
+ const TypographyBody = _styled(Typography.Body).withConfig({
13
+ displayName: "CategoryValueChipstyle__TypographyBody",
14
+ componentId: "RedisUI__sc-j0nfcg-2"
15
+ })(["color:", ";"], () => useTheme().components.section.header.categoryValueList.categoryValueChip.valueTextColor);
12
16
  export {
13
17
  Category,
14
- Container
18
+ Container,
19
+ TypographyBody
15
20
  };
@@ -1 +1 @@
1
- export declare const LabelText: import("styled-components").StyledComponent<({ size, color, 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, color, 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, color, 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;
@@ -1,454 +1,11 @@
1
1
  /// <reference types="react" />
2
2
  import { FlattenInterpolation, ThemeProps } from 'styled-components/macro';
3
+ import { Theme } from '@redislabsdev/redis-ui-styles';
3
4
  import * as RadixSwitch from '@radix-ui/react-switch';
4
5
  import { TokenMap } from '../../../Helpers/css.utils';
5
6
  import { ButtonState } from '../../../Button/Button.style.utils';
6
7
  export type SwitchState = ButtonState | 'readonly';
7
8
  export type SwitchStatesTheme<T extends string> = Partial<Record<SwitchState, Partial<Record<T, string>>>>;
8
- export declare const useSwitchStateStyle: (maps: TokenMap[], withCursor?: true) => FlattenInterpolation<ThemeProps<{
9
- components: {
10
- actionIconButton: import("@redislabsdev/redis-ui-styles").ActionIconButtonTheme;
11
- appBar: import("@redislabsdev/redis-ui-styles").AppBarTheme;
12
- appSelectionMenu: import("@redislabsdev/redis-ui-styles").AppSeletionMenuTheme;
13
- autoComplete: import("@redislabsdev/redis-ui-styles").AutoCompleteTheme;
14
- badge: import("@redislabsdev/redis-ui-styles").BadgeTheme;
15
- banner: import("@redislabsdev/redis-ui-styles").BannerTheme;
16
- boxSelectionGroup: import("@redislabsdev/redis-ui-styles").BoxSelectionGroupTheme;
17
- button: import("@redislabsdev/redis-ui-styles").ButtonTheme;
18
- buttonGroup: import("@redislabsdev/redis-ui-styles").ButtonGroupTheme;
19
- card: import("@redislabsdev/redis-ui-styles").CardTheme;
20
- checkbox: import("@redislabsdev/redis-ui-styles").CheckboxTheme;
21
- chip: import("@redislabsdev/redis-ui-styles").ChipTheme;
22
- chipList: import("@redislabsdev/redis-ui-styles").ChipListTheme;
23
- countryFlag: import("@redislabsdev/redis-ui-styles").CountryFlagTheme;
24
- datePicker: import("@redislabsdev/redis-ui-styles").DatePickerTheme;
25
- drawer: import("@redislabsdev/redis-ui-styles").DrawerTheme;
26
- filters: import("@redislabsdev/redis-ui-styles").FiltersTheme;
27
- formField: import("@redislabsdev/redis-ui-styles").FormFieldTheme;
28
- iconButton: import("@redislabsdev/redis-ui-styles").IconButtonTheme;
29
- input: import("@redislabsdev/redis-ui-styles").InputTheme;
30
- label: import("@redislabsdev/redis-ui-styles").LabelTheme;
31
- link: import("@redislabsdev/redis-ui-styles").LinkTheme;
32
- loader: import("@redislabsdev/redis-ui-styles").LoaderTheme;
33
- menu: import("@redislabsdev/redis-ui-styles").MenuTheme;
34
- modal: import("@redislabsdev/redis-ui-styles").ModalTheme;
35
- popover: import("@redislabsdev/redis-ui-styles").PopoverTheme;
36
- popupCard: import("@redislabsdev/redis-ui-styles").PopupCardTheme;
37
- profileIcon: import("@redislabsdev/redis-ui-styles").ProfileIconTheme;
38
- progressBar: import("@redislabsdev/redis-ui-styles").ProgressBarTheme;
39
- radio: import("@redislabsdev/redis-ui-styles").RadioTheme;
40
- searchBar: import("@redislabsdev/redis-ui-styles").SearchBarTheme;
41
- section: import("@redislabsdev/redis-ui-styles").SectionTheme;
42
- select: import("@redislabsdev/redis-ui-styles").SelectTheme;
43
- semanticButton: import("@redislabsdev/redis-ui-styles/dist/themes/themeOld/components/semanticButton").SemanticButtonTheme;
44
- semanticContainer: import("@redislabsdev/redis-ui-styles").SemanticContainerTheme;
45
- semanticIcon: import("@redislabsdev/redis-ui-styles").SemanticIconTheme;
46
- sideBar: import("@redislabsdev/redis-ui-styles").SideBarTheme;
47
- skeleton: import("@redislabsdev/redis-ui-styles").SkeletonTheme;
48
- stepper: import("@redislabsdev/redis-ui-styles").StepperTheme;
49
- switchButton: import("@redislabsdev/redis-ui-styles").SwitchTheme;
50
- table: import("@redislabsdev/redis-ui-styles").TableTheme;
51
- tableHeading: import("@redislabsdev/redis-ui-styles").TableHeadingTheme;
52
- tabs: import("@redislabsdev/redis-ui-styles").TabsTheme;
53
- textButton: import("@redislabsdev/redis-ui-styles").TextButtonTheme;
54
- toast: import("@redislabsdev/redis-ui-styles").ToastTheme;
55
- toggleButton: import("@redislabsdev/redis-ui-styles").ToggleButtonTheme;
56
- tooltip: import("@redislabsdev/redis-ui-styles").TooltipTheme;
57
- treeView: import("@redislabsdev/redis-ui-styles").TreeViewTheme;
58
- typography: import("@redislabsdev/redis-ui-styles").TypoTheme;
59
- windowBar: import("@redislabsdev/redis-ui-styles").WindowBarTheme;
60
- };
61
- color: {
62
- transparent: string;
63
- pink500: string;
64
- gray100: string;
65
- gray200: string;
66
- gray300: string;
67
- gray400: string;
68
- gray500: string;
69
- gray600: string;
70
- gray700: string;
71
- gray800: string;
72
- blue50: string;
73
- blue100: string;
74
- blue200: string;
75
- blue300: string;
76
- blue400: string;
77
- blue500: string;
78
- blue600: string;
79
- blue700: string;
80
- teal100: string;
81
- teal200: string;
82
- teal300: string;
83
- teal500: string;
84
- teal600: string;
85
- teal700: string;
86
- teal800: string;
87
- green100: string;
88
- green200: string;
89
- green300: string;
90
- green500: string;
91
- green600: string;
92
- green700: string;
93
- green800: string;
94
- purple100: string;
95
- purple200: string;
96
- purple300: string;
97
- purple500: string;
98
- purple600: string;
99
- purple700: string;
100
- purple800: string;
101
- red100: string;
102
- red200: string;
103
- red300: string;
104
- red500: string;
105
- red600: string;
106
- red700: string;
107
- red800: string;
108
- orange100: string;
109
- orange200: string;
110
- orange300: string;
111
- orange500: string;
112
- orange600: string;
113
- orange700: string;
114
- orange800: string;
115
- dark50: string;
116
- dark100: string;
117
- dark200: string;
118
- dark300: string;
119
- dark400: string;
120
- dark500: string;
121
- dark600: string;
122
- dark700: string;
123
- dark800: string;
124
- dark900: string;
125
- grayscale100: string;
126
- grayscale200: string;
127
- grayscale300: string;
128
- grayscale400: string;
129
- grayscale600: string;
130
- grayscale700: string;
131
- grayscale800: string;
132
- dusk50: string;
133
- dusk100: string;
134
- dusk150: string;
135
- dusk200: string;
136
- dusk300: string;
137
- dusk400: string;
138
- dusk600: string;
139
- dusk700: string;
140
- dusk800: string;
141
- azure100: string;
142
- azure200: string;
143
- azure300: string;
144
- azure400: string;
145
- azure500: string;
146
- azure600: string;
147
- azure700: string;
148
- azure800: string;
149
- azure900: string;
150
- violet50: string;
151
- violet200: string;
152
- violet500: string;
153
- bluesky50: string;
154
- bluesky200: string;
155
- bluesky500: string;
156
- yellow50: string;
157
- yellow200: string;
158
- yellow500: string;
159
- };
160
- semantic: {
161
- color: {
162
- background: {
163
- transparent: string;
164
- neutral100: string;
165
- neutral200: string;
166
- neutral300: string;
167
- neutral400: string;
168
- neutral500: string;
169
- neutral600: string;
170
- neutral700: string;
171
- neutral800: string;
172
- primary50: string;
173
- primary100: string;
174
- primary200: string;
175
- primary300: string;
176
- primary400: string;
177
- primary500: string;
178
- primary600: string;
179
- primary700: string;
180
- success100: string;
181
- success200: string;
182
- success300: string;
183
- success500: string;
184
- success600: string;
185
- success700: string;
186
- success800: string;
187
- notice100: string;
188
- notice200: string;
189
- notice300: string;
190
- notice500: string;
191
- notice600: string;
192
- notice700: string;
193
- notice800: string;
194
- informative50: string;
195
- informative100: string;
196
- informative200: string;
197
- informative300: string;
198
- informative400: string;
199
- informative500: string;
200
- informative600: string;
201
- informative700: string;
202
- attention100: string;
203
- attention200: string;
204
- attention300: string;
205
- attention500: string;
206
- attention600: string;
207
- attention700: string;
208
- attention800: string;
209
- danger100: string;
210
- danger200: string;
211
- danger300: string;
212
- danger500: string;
213
- danger600: string;
214
- danger700: string;
215
- danger800: string;
216
- };
217
- border: {
218
- transparent: string;
219
- neutral100: string;
220
- neutral200: string;
221
- neutral300: string;
222
- neutral400: string;
223
- neutral500: string;
224
- neutral600: string;
225
- neutral700: string;
226
- neutral800: string;
227
- primary50: string;
228
- primary100: string;
229
- primary200: string;
230
- primary300: string;
231
- primary400: string;
232
- primary500: string;
233
- primary600: string;
234
- primary700: string;
235
- success100: string;
236
- success200: string;
237
- success300: string;
238
- success500: string;
239
- success600: string;
240
- success700: string;
241
- success800: string;
242
- notice100: string;
243
- notice200: string;
244
- notice300: string;
245
- notice500: string;
246
- notice600: string;
247
- notice700: string;
248
- notice800: string;
249
- informative50: string;
250
- informative100: string;
251
- informative200: string;
252
- informative300: string;
253
- informative400: string;
254
- informative500: string;
255
- informative600: string;
256
- informative700: string;
257
- attention100: string;
258
- attention200: string;
259
- attention300: string;
260
- attention500: string;
261
- attention600: string;
262
- attention700: string;
263
- attention800: string;
264
- danger100: string;
265
- danger200: string;
266
- danger300: string;
267
- danger500: string;
268
- danger600: string;
269
- danger700: string;
270
- danger800: string;
271
- };
272
- text: {
273
- transparent: string;
274
- neutral100: string;
275
- neutral200: string;
276
- neutral300: string;
277
- neutral400: string;
278
- neutral500: string;
279
- neutral600: string;
280
- neutral700: string;
281
- neutral800: string;
282
- primary50: string;
283
- primary100: string;
284
- primary200: string;
285
- primary300: string;
286
- primary400: string;
287
- primary500: string;
288
- primary600: string;
289
- primary700: string;
290
- success100: string;
291
- success200: string;
292
- success300: string;
293
- success500: string;
294
- success600: string;
295
- success700: string;
296
- success800: string;
297
- notice100: string;
298
- notice200: string;
299
- notice300: string;
300
- notice500: string;
301
- notice600: string;
302
- notice700: string;
303
- notice800: string;
304
- informative50: string;
305
- informative100: string;
306
- informative200: string;
307
- informative300: string;
308
- informative400: string;
309
- informative500: string;
310
- informative600: string;
311
- informative700: string;
312
- attention100: string;
313
- attention200: string;
314
- attention300: string;
315
- attention500: string;
316
- attention600: string;
317
- attention700: string;
318
- attention800: string;
319
- danger100: string;
320
- danger200: string;
321
- danger300: string;
322
- danger500: string;
323
- danger600: string;
324
- danger700: string;
325
- danger800: string;
326
- };
327
- icon: {
328
- transparent: string;
329
- neutral100: string;
330
- neutral200: string;
331
- neutral300: string;
332
- neutral400: string;
333
- neutral500: string;
334
- neutral600: string;
335
- neutral700: string;
336
- neutral800: string;
337
- primary50: string;
338
- primary100: string;
339
- primary200: string;
340
- primary300: string;
341
- primary400: string;
342
- primary500: string;
343
- primary600: string;
344
- primary700: string;
345
- success100: string;
346
- success200: string;
347
- success300: string;
348
- success500: string;
349
- success600: string;
350
- success700: string;
351
- success800: string;
352
- notice100: string;
353
- notice200: string;
354
- notice300: string;
355
- notice500: string;
356
- notice600: string;
357
- notice700: string;
358
- notice800: string;
359
- informative50: string;
360
- informative100: string;
361
- informative200: string;
362
- informative300: string;
363
- informative400: string;
364
- informative500: string;
365
- informative600: string;
366
- informative700: string;
367
- attention100: string;
368
- attention200: string;
369
- attention300: string;
370
- attention500: string;
371
- attention600: string;
372
- attention700: string;
373
- attention800: string;
374
- danger100: string;
375
- danger200: string;
376
- danger300: string;
377
- danger500: string;
378
- danger600: string;
379
- danger700: string;
380
- danger800: string;
381
- };
382
- };
383
- };
384
- core: {
385
- space: {
386
- space000: string;
387
- space010: string;
388
- space025: string;
389
- space050: string;
390
- space100: string;
391
- space150: string;
392
- space200: string;
393
- space250: string;
394
- space300: string;
395
- space400: string;
396
- space500: string;
397
- space550: string;
398
- space600: string;
399
- space800: string;
400
- };
401
- shadow: {
402
- shadow1: string;
403
- shadow2: string;
404
- shadow3: string;
405
- shadow4: string;
406
- shadow100: string;
407
- shadow200: string;
408
- shadow300: string;
409
- shadow400: string;
410
- shadow500: string;
411
- shadow600: string;
412
- shadow700: string;
413
- };
414
- zIndex: {
415
- zIndex5: number;
416
- zIndex9998: number;
417
- zIndex9999: number;
418
- };
419
- font: {
420
- fontFamily: {
421
- regular: string;
422
- sourceCodeProRegular: string;
423
- };
424
- fontSize: {
425
- s8: string;
426
- s10: string;
427
- s12: string;
428
- s13: string;
429
- s14: string;
430
- s15: string;
431
- s16: string;
432
- s18: string;
433
- s20: string;
434
- s22: string;
435
- s24: string;
436
- s26: string;
437
- s27: string;
438
- s28: string;
439
- s32: string;
440
- s40: string;
441
- s44: string;
442
- s52: string;
443
- };
444
- };
445
- focus: {
446
- margin: string;
447
- size: string;
448
- color: string;
449
- };
450
- };
451
- name: string;
452
- }>> | null;
9
+ export declare const useSwitchStateStyle: (maps: TokenMap[], withCursor?: true) => FlattenInterpolation<ThemeProps<Theme>> | null;
453
10
  export declare const SwitcherCompose: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<RadixSwitch.SwitchProps & import("react").RefAttributes<HTMLButtonElement>>, any, {}, never>;
454
11
  export declare const SwitcherKnob: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<RadixSwitch.SwitchThumbProps & import("react").RefAttributes<HTMLSpanElement>>, any, {}, never>;
@@ -1 +1 @@
1
- export declare const Title: import("styled-components").StyledComponent<({ size, variant, component, color, ellipsis, ...restProps }: import("../../../Typography/components/Body/Body.types").BodyProps) => import("react/jsx-runtime").JSX.Element, any, {}, never>;
1
+ export declare const Title: 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 ToastDescription: import("styled-components").StyledComponent<({ size, variant, component, color, ellipsis, ...restProps }: import("../../../../../Typography/components/Body/Body.types").BodyProps) => import("react/jsx-runtime").JSX.Element, any, {}, never>;
1
+ export declare const ToastDescription: 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 ToastMessage: import("styled-components").StyledComponent<({ size, variant, component, color, ellipsis, ...restProps }: import("../../../../../Typography/components/Body/Body.types").BodyProps) => import("react/jsx-runtime").JSX.Element, any, {}, never>;
1
+ export declare const ToastMessage: 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>;