@redsift/design-system 11.6.0-muiv5-alpha.6 → 11.6.0-muiv5-alpha.8

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 (149) hide show
  1. package/index.d.ts +3026 -97
  2. package/package.json +2 -2
  3. package/_internal/Alert.d2.ts +0 -54
  4. package/_internal/AppBar.d.ts +0 -37
  5. package/_internal/AppContainer.d.ts +0 -96
  6. package/_internal/AppContent.d.ts +0 -25
  7. package/_internal/Badge.d2.ts +0 -9
  8. package/_internal/BreadcrumbItem.d.ts +0 -9
  9. package/_internal/Breadcrumbs.d2.ts +0 -29
  10. package/_internal/Button.d2.ts +0 -30
  11. package/_internal/ButtonGroup.d.ts +0 -41
  12. package/_internal/ButtonLink.d.ts +0 -28
  13. package/_internal/Card.d2.ts +0 -35
  14. package/_internal/CardActions.d.ts +0 -9
  15. package/_internal/CardBody.d.ts +0 -9
  16. package/_internal/CardHeader.d.ts +0 -9
  17. package/_internal/Checkbox.d2.ts +0 -68
  18. package/_internal/CheckboxGroup.d.ts +0 -10
  19. package/_internal/ConditionalWrapper.d.ts +0 -14
  20. package/_internal/DetailedCard.d.ts +0 -52
  21. package/_internal/DetailedCardCollapsibleSectionItems.d.ts +0 -9
  22. package/_internal/DetailedCardHeader.d.ts +0 -9
  23. package/_internal/DetailedCardSection.d.ts +0 -9
  24. package/_internal/DetailedCardSectionItem.d.ts +0 -9
  25. package/_internal/Flexbox.d2.ts +0 -30
  26. package/_internal/Grid.d2.ts +0 -32
  27. package/_internal/GridItem.d.ts +0 -9
  28. package/_internal/Heading.d2.ts +0 -9
  29. package/_internal/Icon.d2.ts +0 -10
  30. package/_internal/IconButton.d.ts +0 -12
  31. package/_internal/IconButtonLink.d.ts +0 -28
  32. package/_internal/Item.d2.ts +0 -82
  33. package/_internal/Link.d2.ts +0 -26
  34. package/_internal/LinkButton.d.ts +0 -23
  35. package/_internal/Number.d2.ts +0 -69
  36. package/_internal/NumberField.d.ts +0 -80
  37. package/_internal/Pill.d2.ts +0 -9
  38. package/_internal/ProgressBar.d.ts +0 -26
  39. package/_internal/Radio.d2.ts +0 -66
  40. package/_internal/RadioGroup.d.ts +0 -10
  41. package/_internal/Shield.d2.ts +0 -9
  42. package/_internal/SideNavigationMenu.d.ts +0 -9
  43. package/_internal/SideNavigationMenuBar.d.ts +0 -9
  44. package/_internal/SideNavigationMenuItem.d.ts +0 -9
  45. package/_internal/Skeleton.d2.ts +0 -15
  46. package/_internal/SkeletonCircle.d.ts +0 -9
  47. package/_internal/SkeletonText.d.ts +0 -9
  48. package/_internal/Spinner.d2.ts +0 -43
  49. package/_internal/Switch.d2.ts +0 -66
  50. package/_internal/SwitchGroup.d.ts +0 -10
  51. package/_internal/Text.d2.ts +0 -9
  52. package/_internal/TextArea.d.ts +0 -34
  53. package/_internal/TextField.d.ts +0 -29
  54. package/_internal/alert.d.ts +0 -5
  55. package/_internal/app-bar.d.ts +0 -8
  56. package/_internal/app-container.d.ts +0 -9
  57. package/_internal/app-content.d.ts +0 -5
  58. package/_internal/app-side-panel.d.ts +0 -11
  59. package/_internal/badge.d.ts +0 -6
  60. package/_internal/breadcrumb-item.d.ts +0 -5
  61. package/_internal/breadcrumbs.d.ts +0 -6
  62. package/_internal/button-group.d.ts +0 -5
  63. package/_internal/button-link.d.ts +0 -8
  64. package/_internal/button.d.ts +0 -8
  65. package/_internal/card-actions.d.ts +0 -5
  66. package/_internal/card-body.d.ts +0 -5
  67. package/_internal/card-header.d.ts +0 -9
  68. package/_internal/card.d.ts +0 -11
  69. package/_internal/checkbox-group.d.ts +0 -6
  70. package/_internal/checkbox.d.ts +0 -6
  71. package/_internal/colors.d.ts +0 -102
  72. package/_internal/conditional-wrapper.d.ts +0 -2
  73. package/_internal/detailed-card-collapsible-section-items.d.ts +0 -4
  74. package/_internal/detailed-card-header.d.ts +0 -8
  75. package/_internal/detailed-card-section-item.d.ts +0 -11
  76. package/_internal/detailed-card-section.d.ts +0 -7
  77. package/_internal/detailed-card.d.ts +0 -16
  78. package/_internal/flexbox.d.ts +0 -5
  79. package/_internal/focus-within-group.d.ts +0 -3
  80. package/_internal/fonts.d.ts +0 -12
  81. package/_internal/gradient-border.d.ts +0 -19
  82. package/_internal/grid-item.d.ts +0 -5
  83. package/_internal/grid.d.ts +0 -6
  84. package/_internal/heading.d.ts +0 -7
  85. package/_internal/helpers.d.ts +0 -23
  86. package/_internal/icon-button-link.d.ts +0 -8
  87. package/_internal/icon-button.d.ts +0 -7
  88. package/_internal/icon.d.ts +0 -6
  89. package/_internal/item.d.ts +0 -8
  90. package/_internal/link-button.d.ts +0 -8
  91. package/_internal/link.d.ts +0 -8
  92. package/_internal/listbox.d.ts +0 -6
  93. package/_internal/number-field.d.ts +0 -9
  94. package/_internal/number.d.ts +0 -7
  95. package/_internal/pill.d.ts +0 -6
  96. package/_internal/progress-bar.d.ts +0 -5
  97. package/_internal/radio-group.d.ts +0 -6
  98. package/_internal/radio.d.ts +0 -6
  99. package/_internal/shared.d.ts +0 -5
  100. package/_internal/shield.d.ts +0 -6
  101. package/_internal/side-navigation-menu-bar.d.ts +0 -9
  102. package/_internal/side-navigation-menu-item.d.ts +0 -8
  103. package/_internal/side-navigation-menu.d.ts +0 -8
  104. package/_internal/skeleton-circle.d.ts +0 -7
  105. package/_internal/skeleton-text.d.ts +0 -7
  106. package/_internal/skeleton.d.ts +0 -8
  107. package/_internal/spinner.d.ts +0 -5
  108. package/_internal/styles.d.ts +0 -17
  109. package/_internal/styles.d2.ts +0 -283
  110. package/_internal/switch-group.d.ts +0 -6
  111. package/_internal/switch.d.ts +0 -6
  112. package/_internal/text-area.d.ts +0 -9
  113. package/_internal/text-field.d.ts +0 -10
  114. package/_internal/text.d.ts +0 -7
  115. package/_internal/theme.d.ts +0 -4
  116. package/_internal/types.d.ts +0 -39
  117. package/_internal/types.d10.ts +0 -20
  118. package/_internal/types.d11.ts +0 -27
  119. package/_internal/types.d12.ts +0 -35
  120. package/_internal/types.d13.ts +0 -143
  121. package/_internal/types.d14.ts +0 -11
  122. package/_internal/types.d15.ts +0 -62
  123. package/_internal/types.d16.ts +0 -56
  124. package/_internal/types.d17.ts +0 -57
  125. package/_internal/types.d18.ts +0 -40
  126. package/_internal/types.d19.ts +0 -101
  127. package/_internal/types.d2.ts +0 -37
  128. package/_internal/types.d20.ts +0 -47
  129. package/_internal/types.d21.ts +0 -68
  130. package/_internal/types.d22.ts +0 -52
  131. package/_internal/types.d23.ts +0 -174
  132. package/_internal/types.d24.ts +0 -18
  133. package/_internal/types.d25.ts +0 -12
  134. package/_internal/types.d26.ts +0 -36
  135. package/_internal/types.d27.ts +0 -72
  136. package/_internal/types.d28.ts +0 -73
  137. package/_internal/types.d29.ts +0 -99
  138. package/_internal/types.d3.ts +0 -23
  139. package/_internal/types.d4.ts +0 -67
  140. package/_internal/types.d5.ts +0 -11
  141. package/_internal/types.d6.ts +0 -11
  142. package/_internal/types.d7.ts +0 -28
  143. package/_internal/types.d8.ts +0 -72
  144. package/_internal/types.d9.ts +0 -16
  145. package/_internal/useAppSidePanel.d.ts +0 -12
  146. package/_internal/useFocusOnList.d.ts +0 -83
  147. package/_internal/useListboxItem.d.ts +0 -32
  148. package/_internal/useSideNavigationMenuBar.d.ts +0 -9
  149. package/_internal/useTheme.d.ts +0 -13
@@ -1,43 +0,0 @@
1
- import { ComponentProps } from 'react';
2
- import { V as ValueOf, C as Comp } from './helpers.js';
3
- import { L as LayoutProps, S as SpacingProps, P as PositioningProps } from './styles.d2.ts';
4
- import { T as Theme } from './colors.js';
5
-
6
- /**
7
- * Component size.
8
- */
9
- declare const SpinnerSize: {
10
- readonly xsmall: "xsmall";
11
- readonly small: "small";
12
- readonly medium: "medium";
13
- readonly large: "large";
14
- };
15
- type SpinnerSize = ValueOf<typeof SpinnerSize>;
16
- /**
17
- * Component props.
18
- */
19
- interface SpinnerProps extends Omit<ComponentProps<'img'>, 'color'>, LayoutProps, SpacingProps, PositioningProps {
20
- /** Indicates whether the element is exposed to an accessibility API. */
21
- 'aria-hidden'?: boolean | 'false' | 'true';
22
- /** A screen reader only label for the Spinner. */
23
- 'aria-label'?: string;
24
- /** Color variant. */
25
- color?: 'primary' | 'grey-l1' | 'grey-l2' | 'grey-l3';
26
- /** @deprecated: Whether the spinner is colored or not. */
27
- isColored?: boolean;
28
- /** Spinner size. */
29
- size?: SpinnerSize;
30
- /** Theme. */
31
- theme?: Theme;
32
- }
33
- type StyledSpinnerProps = Omit<SpinnerProps, 'color'> & {
34
- $size?: SpinnerProps['size'];
35
- $theme?: SpinnerProps['theme'];
36
- };
37
-
38
- /**
39
- * The Spinner component.
40
- */
41
- declare const Spinner: Comp<SpinnerProps, HTMLImageElement>;
42
-
43
- export { Spinner as S, SpinnerSize as a, SpinnerProps as b, StyledSpinnerProps as c };
@@ -1,66 +0,0 @@
1
- import { ComponentProps, MutableRefObject, ChangeEvent } from 'react';
2
- import { S as SwitchGroupState } from './types.d27.ts';
3
- import { h as StylingProps } from './styles.d2.ts';
4
- import { T as Theme } from './colors.js';
5
- import { C as Comp } from './helpers.js';
6
-
7
- /**
8
- * Component props.
9
- */
10
- interface SwitchProps extends Omit<ComponentProps<'label'>, 'onChange'>, StylingProps {
11
- /** Whether the component can be autofocused. */
12
- autoFocus?: boolean;
13
- /**
14
- * Default select status.
15
- * Used for uncontrolled version.
16
- */
17
- defaultSelected?: boolean;
18
- /** Custom props to pass to the input element. */
19
- inputProps?: ComponentProps<'input'>;
20
- /** Custom ref object to pass to the input element. */
21
- inputRef?: MutableRefObject<HTMLInputElement>;
22
- /** Whether the component should use the product colors or shades of grey. */
23
- isColored?: boolean;
24
- /** Whether the component is disabled or not. */
25
- isDisabled?: boolean;
26
- /** Whether the component is invalid or not. */
27
- isInvalid?: boolean;
28
- /** Whether the component is read only or not. */
29
- isReadOnly?: boolean;
30
- /** Whether the component is required or not. */
31
- isRequired?: boolean;
32
- /**
33
- * Whether the component is selected or not.
34
- * Used for controlled version.
35
- */
36
- isSelected?: boolean;
37
- /** Name to pass to the input element. */
38
- name?: HTMLInputElement['name'];
39
- /** Method to handle component change. */
40
- onChange?(isChecked: boolean, value?: string, name?: string, event?: ChangeEvent<HTMLInputElement>, state?: SwitchGroupState): void;
41
- /** Theme. */
42
- theme?: Theme;
43
- /**
44
- * Value to pass to the input element.
45
- * Required within a group.
46
- */
47
- value?: HTMLInputElement['value'];
48
- }
49
- type StyledSwitchProps = Omit<SwitchProps, 'color' | 'isColored' | 'isDisabled' | 'isInvalid' | 'isSelected' | 'isRequired' | 'size'> & {
50
- $isColored: SwitchProps['isColored'];
51
- $isDisabled: SwitchProps['isDisabled'];
52
- $isInvalid: SwitchProps['isInvalid'];
53
- $isFocusVisible: boolean;
54
- $isRequired: SwitchProps['isRequired'];
55
- $isSelected: SwitchProps['isSelected'];
56
- $theme: SwitchProps['theme'];
57
- };
58
-
59
- /**
60
- * The Switch component.
61
- * Works both inside a SwitchGroup or as standalone.
62
- * Can be used as controlled or uncontrolled.
63
- */
64
- declare const Switch: Comp<SwitchProps, HTMLLabelElement>;
65
-
66
- export { SwitchProps as S, StyledSwitchProps as a, Switch as b };
@@ -1,10 +0,0 @@
1
- import { b as SwitchGroupProps } from './types.d27.ts';
2
- import { C as Comp } from './helpers.js';
3
-
4
- /**
5
- * The SwitchGroup component.
6
- * Can be used as controlled or uncontrolled.
7
- */
8
- declare const SwitchGroup: Comp<SwitchGroupProps, HTMLDivElement>;
9
-
10
- export { SwitchGroup as S };
@@ -1,9 +0,0 @@
1
- import { b as TextProps } from './types.d28.ts';
2
- import { C as Comp } from './helpers.js';
3
-
4
- /**
5
- * The Text component.
6
- */
7
- declare const Text: Comp<TextProps, HTMLDivElement>;
8
-
9
- export { Text as T };
@@ -1,34 +0,0 @@
1
- import { MutableRefObject, ComponentProps, ChangeEvent } from 'react';
2
- import { b as TextFieldProps, S as StyledTextFieldProps } from './types.d29.ts';
3
- import { V as ValueOf, C as Comp } from './helpers.js';
4
-
5
- /**
6
- * Component variant.
7
- */
8
- declare const TextAreaVariant: {
9
- readonly default: "default";
10
- readonly underline: "underline";
11
- };
12
- type TextAreaVariant = ValueOf<typeof TextAreaVariant>;
13
- /**
14
- * Component props.
15
- */
16
- interface TextAreaProps extends Omit<TextFieldProps, 'onChange' | 'inputRef' | 'inputProps' | 'pills' | 'internal' | 'hasClearButton' | 'onClear'> {
17
- /** Custom ref object to pass to the textarea element. */
18
- textareaRef?: MutableRefObject<HTMLTextAreaElement>;
19
- /** Custom props to pass to the textarea element. */
20
- textareaProps?: ComponentProps<'textarea'>;
21
- /** Method to handle component change. */
22
- onChange?(value?: string, name?: string, event?: ChangeEvent<HTMLTextAreaElement>): void;
23
- /** Minimum number of rows displayed in multiline mode (requires `multiline` to be enabled). */
24
- minimumRows?: number;
25
- }
26
- type StyledTextAreaProps = StyledTextFieldProps;
27
-
28
- /**
29
- * The TextArea component.
30
- * Can be used as controlled or uncontrolled.
31
- */
32
- declare const TextArea: Comp<TextAreaProps, HTMLDivElement>;
33
-
34
- export { StyledTextAreaProps as S, TextAreaVariant as T, TextAreaProps as a, TextArea as b };
@@ -1,29 +0,0 @@
1
- import * as styled_components from 'styled-components';
2
- import { b as TextFieldProps, T as TextFieldVariant } from './types.d29.ts';
3
- import { T as Theme } from './colors.js';
4
- import { C as Comp } from './helpers.js';
5
-
6
- /**
7
- * Component style.
8
- */
9
- declare const StyledTextField: styled_components.StyledComponent<"div", any, Omit<TextFieldProps, "color" | "onChange" | "isInvalid" | "isRequired" | "isDisabled" | "isColored"> & {
10
- $color: string | undefined;
11
- $isGradient: boolean;
12
- $hasLeftIcon: boolean;
13
- $hasContent: boolean;
14
- $isDisabled: boolean | undefined;
15
- $isInvalid: boolean | undefined;
16
- $isFocused: boolean;
17
- $isFocusVisible: boolean;
18
- $isRequired: boolean | undefined;
19
- $theme: Theme | undefined;
20
- $variant: TextFieldVariant | undefined;
21
- }, never>;
22
-
23
- /**
24
- * The TextField component.
25
- * Can be used as controlled or uncontrolled.
26
- */
27
- declare const TextField: Comp<TextFieldProps, HTMLDivElement>;
28
-
29
- export { StyledTextField as S, TextField as T };
@@ -1,5 +0,0 @@
1
- export { c as Alert, b as AlertProps, a as AlertStyleVariant, A as AlertVariant, S as StyledAlertProps } from './Alert.d2.ts';
2
- import 'react';
3
- import './helpers.js';
4
- import './styles.d2.ts';
5
- import './colors.js';
@@ -1,8 +0,0 @@
1
- export { a as AppBar, A as AppBarProps, S as StyledAppBarProps } from './AppBar.js';
2
- import 'react';
3
- import './types.d16.ts';
4
- import './types.d17.ts';
5
- import './styles.d2.ts';
6
- import './helpers.js';
7
- import './colors.js';
8
- import './types.d3.ts';
@@ -1,9 +0,0 @@
1
- export { e as AppContainer, A as AppContainerContext, d as AppContainerProps, c as AppContainerState, R as RadarSvgLinearGradient, S as StyledAppContainerProps } from './AppContainer.js';
2
- import 'react';
3
- import './types.js';
4
- import './types.d16.ts';
5
- import './types.d17.ts';
6
- import './styles.d2.ts';
7
- import './helpers.js';
8
- import './colors.js';
9
- import './types.d3.ts';
@@ -1,5 +0,0 @@
1
- export { a as AppContent, A as AppContentProps, S as StyledAppContentProps } from './AppContent.js';
2
- import 'react';
3
- import './styles.d2.ts';
4
- import './helpers.js';
5
- import './colors.js';
@@ -1,11 +0,0 @@
1
- export { a as AppSidePanelProps, A as AppSidePanelVariant, S as StyledAppSidePanelProps } from './types.js';
2
- export { A as AppSidePanel, u as useAppSidePanel } from './useAppSidePanel.js';
3
- import 'react';
4
- import './types.d16.ts';
5
- import './types.d17.ts';
6
- import './styles.d2.ts';
7
- import './helpers.js';
8
- import './colors.js';
9
- import './useSideNavigationMenuBar.js';
10
- import './types.d23.ts';
11
- import './types.d2.ts';
@@ -1,6 +0,0 @@
1
- export { a as BadgeProps, B as BadgeVariant, S as StyledBadgeProps } from './types.d2.ts';
2
- export { B as Badge } from './Badge.d2.ts';
3
- import 'react';
4
- import './colors.js';
5
- import './helpers.js';
6
- import './styles.d2.ts';
@@ -1,5 +0,0 @@
1
- export { B as BreadcrumbItemProps, S as StyledBreadcrumbItemProps } from './types.d3.ts';
2
- export { B as BreadcrumbItem } from './BreadcrumbItem.js';
3
- import 'react';
4
- import './colors.js';
5
- import './helpers.js';
@@ -1,6 +0,0 @@
1
- export { a as BaseBreadcrumbs, b as Breadcrumbs, B as BreadcrumbsProps, S as StyledBreadcrumbsProps } from './Breadcrumbs.d2.ts';
2
- import './types.d3.ts';
3
- import 'react';
4
- import './colors.js';
5
- import './helpers.js';
6
- import './styles.d2.ts';
@@ -1,5 +0,0 @@
1
- export { c as ButtonGroup, a as ButtonGroupColor, b as ButtonGroupProps, B as ButtonGroupVariant, S as StyledButtonGroupProps } from './ButtonGroup.js';
2
- import 'react';
3
- import './styles.d2.ts';
4
- import './helpers.js';
5
- import './colors.js';
@@ -1,8 +0,0 @@
1
- export { a as ButtonLink, B as ButtonLinkProps, S as StyledButtonLinkProps } from './ButtonLink.js';
2
- import './types.d4.ts';
3
- import 'react';
4
- import './types.d17.ts';
5
- import './styles.d2.ts';
6
- import './helpers.js';
7
- import './colors.js';
8
- import './types.d18.ts';
@@ -1,8 +0,0 @@
1
- export { a as ButtonColor, b as ButtonProps, B as ButtonVariant, S as StyledButtonProps } from './types.d4.ts';
2
- export { B as Button, S as StyledButton } from './Button.d2.ts';
3
- import 'react';
4
- import './types.d17.ts';
5
- import './styles.d2.ts';
6
- import './helpers.js';
7
- import './colors.js';
8
- import 'styled-components';
@@ -1,5 +0,0 @@
1
- export { C as CardActionsProps, S as StyledCardActionsProps } from './types.d5.ts';
2
- export { C as CardActions } from './CardActions.js';
3
- import 'react';
4
- import './styles.d2.ts';
5
- import './helpers.js';
@@ -1,5 +0,0 @@
1
- export { C as CardBodyProps, S as StyledCardBodyProps } from './types.d6.ts';
2
- export { C as CardBody } from './CardBody.js';
3
- import 'react';
4
- import './styles.d2.ts';
5
- import './helpers.js';
@@ -1,9 +0,0 @@
1
- export { C as CardHeaderProps, S as StyledCardHeaderProps } from './types.d7.ts';
2
- export { C as CardHeader } from './CardHeader.js';
3
- import 'react';
4
- import './types.d15.ts';
5
- import './fonts.js';
6
- import './helpers.js';
7
- import './styles.d2.ts';
8
- import './colors.js';
9
- import './types.d17.ts';
@@ -1,11 +0,0 @@
1
- export { a as Card, C as CardProps, S as StyledCardProps } from './Card.d2.ts';
2
- import './types.d5.ts';
3
- import 'react';
4
- import './styles.d2.ts';
5
- import './helpers.js';
6
- import './types.d6.ts';
7
- import './types.d7.ts';
8
- import './types.d15.ts';
9
- import './fonts.js';
10
- import './colors.js';
11
- import './types.d17.ts';
@@ -1,6 +0,0 @@
1
- export { a as CheckboxGroupOrientation, b as CheckboxGroupProps, C as CheckboxGroupState, S as StyledCheckboxGroupProps } from './types.d8.ts';
2
- export { C as CheckboxGroup } from './CheckboxGroup.js';
3
- import 'react';
4
- import './helpers.js';
5
- import './styles.d2.ts';
6
- import './colors.js';
@@ -1,6 +0,0 @@
1
- export { a as Checkbox, C as CheckboxProps, S as StyledCheckboxProps } from './Checkbox.d2.ts';
2
- import 'react';
3
- import './types.d8.ts';
4
- import './helpers.js';
5
- import './styles.d2.ts';
6
- import './colors.js';
@@ -1,102 +0,0 @@
1
- import { V as ValueOf } from './helpers.js';
2
-
3
- /**
4
- * Color palette.
5
- */
6
- declare const Theme: {
7
- readonly light: "light";
8
- readonly dark: "dark";
9
- };
10
- type Theme = ValueOf<typeof Theme>;
11
- declare const PrimaryColorPalette: {
12
- readonly primary: "primary";
13
- readonly secondary: "secondary";
14
- readonly error: "error";
15
- };
16
- type PrimaryColorPalette = ValueOf<typeof PrimaryColorPalette>;
17
- declare const SecondaryColorPalette: {
18
- readonly success: "success";
19
- readonly warning: "warning";
20
- readonly info: "info";
21
- };
22
- type SecondaryColorPalette = ValueOf<typeof SecondaryColorPalette>;
23
- declare const ColorPalette: {
24
- readonly success: "success";
25
- readonly warning: "warning";
26
- readonly info: "info";
27
- readonly primary: "primary";
28
- readonly secondary: "secondary";
29
- readonly error: "error";
30
- };
31
- type ColorPalette = PrimaryColorPalette & SecondaryColorPalette;
32
- declare const PrimaryButtonsColorPalette: {
33
- primary: string;
34
- secondary: string;
35
- error: string;
36
- success: string;
37
- warning: string;
38
- grey: string;
39
- radar: string;
40
- };
41
- type PrimaryButtonsColorPalette = ValueOf<typeof PrimaryButtonsColorPalette>;
42
- declare const ButtonsColorPalette: {
43
- readonly white: "white";
44
- readonly black: "black";
45
- readonly info: "info";
46
- readonly primary: string;
47
- readonly secondary: string;
48
- readonly error: string;
49
- readonly success: string;
50
- readonly warning: string;
51
- readonly grey: string;
52
- readonly radar: string;
53
- };
54
- type ButtonsColorPalette = ValueOf<typeof ButtonsColorPalette>;
55
- declare const NotificationsColorPalette: {
56
- readonly question: "question";
57
- readonly 'no-data': "no-data";
58
- readonly success: "success";
59
- readonly warning: "warning";
60
- readonly info: "info";
61
- readonly primary: "primary";
62
- readonly secondary: "secondary";
63
- readonly error: "error";
64
- };
65
- type NotificationsColorPalette = ValueOf<typeof NotificationsColorPalette>;
66
- declare const ProductColorPalette: {
67
- readonly asm: "asm";
68
- readonly 'brand-trust': "brand-trust";
69
- readonly certificates: "certificates";
70
- readonly ondmarc: "ondmarc";
71
- readonly pulse: "pulse";
72
- readonly radar: "radar";
73
- readonly 'rojo-ds': "rojo-ds";
74
- readonly 'vendor-secure': "vendor-secure";
75
- readonly website: "website";
76
- };
77
- type ProductColorPalette = ValueOf<typeof ProductColorPalette>;
78
- declare const PresentationColorPalette: {
79
- readonly green: "green";
80
- readonly pink: "pink";
81
- readonly aqua: "aqua";
82
- readonly brown: "brown";
83
- readonly red: "red";
84
- readonly yellow: "yellow";
85
- readonly purple: "purple";
86
- readonly orange: "orange";
87
- readonly blue: "blue";
88
- readonly grey: "grey";
89
- };
90
- type PresentationColorPalette = ValueOf<typeof PresentationColorPalette>;
91
- declare const NeutralColorPalette: {
92
- readonly black: "black";
93
- readonly 'x-dark-grey': "x-dark-grey";
94
- readonly 'dark-grey': "dark-grey";
95
- readonly 'mid-grey': "mid-grey";
96
- readonly 'light-grey': "light-grey";
97
- readonly 'x-light-grey': "x-light-grey";
98
- readonly white: "white";
99
- };
100
- type NeutralColorPalette = ValueOf<typeof NeutralColorPalette>;
101
-
102
- export { ButtonsColorPalette as B, ColorPalette as C, NotificationsColorPalette as N, PrimaryColorPalette as P, SecondaryColorPalette as S, Theme as T, PrimaryButtonsColorPalette as a, ProductColorPalette as b, PresentationColorPalette as c, NeutralColorPalette as d };
@@ -1,2 +0,0 @@
1
- export { a as ConditionalWrapper, C as ConditionalWrapperProps } from './ConditionalWrapper.js';
2
- import 'react';
@@ -1,4 +0,0 @@
1
- export { D as DetailedCardCollapsibleSectionItemsProps, S as StyledDetailedCardCollapsibleSectionItemsProps } from './types.d9.ts';
2
- export { D as DetailedCardCollapsibleSectionItems } from './DetailedCardCollapsibleSectionItems.js';
3
- import 'react';
4
- import './helpers.js';
@@ -1,8 +0,0 @@
1
- export { D as DetailedCardHeaderProps, S as StyledDetailedCardHeaderProps } from './types.d10.ts';
2
- export { D as DetailedCardHeader } from './DetailedCardHeader.js';
3
- import 'react';
4
- import './types.d15.ts';
5
- import './fonts.js';
6
- import './helpers.js';
7
- import './styles.d2.ts';
8
- import './colors.js';
@@ -1,11 +0,0 @@
1
- export { D as DetailedCardSectionItemProps, S as StyledDetailedCardSectionItemProps } from './types.d12.ts';
2
- export { D as DetailedCardSectionItem } from './DetailedCardSectionItem.js';
3
- import 'react';
4
- import './types.d20.ts';
5
- import './helpers.js';
6
- import './styles.d2.ts';
7
- import './colors.js';
8
- import './types.d22.ts';
9
- import './types.d17.ts';
10
- import './types.d28.ts';
11
- import './fonts.js';
@@ -1,7 +0,0 @@
1
- export { D as DetailedCardSectionProps, S as StyledDetailedCardSectionProps } from './types.d11.ts';
2
- export { D as DetailedCardSection } from './DetailedCardSection.js';
3
- import 'react';
4
- import './types.d2.ts';
5
- import './colors.js';
6
- import './helpers.js';
7
- import './styles.d2.ts';
@@ -1,16 +0,0 @@
1
- export { a as DetailedCard, D as DetailedCardProps, S as StyledDetailedCardProps } from './DetailedCard.js';
2
- import './types.d12.ts';
3
- import 'react';
4
- import './types.d20.ts';
5
- import './helpers.js';
6
- import './styles.d2.ts';
7
- import './colors.js';
8
- import './types.d22.ts';
9
- import './types.d17.ts';
10
- import './types.d28.ts';
11
- import './fonts.js';
12
- import './types.d9.ts';
13
- import './types.d10.ts';
14
- import './types.d15.ts';
15
- import './types.d11.ts';
16
- import './types.d2.ts';
@@ -1,5 +0,0 @@
1
- export { a as Flexbox, F as FlexboxProps, S as StyledFlexboxProps } from './Flexbox.d2.ts';
2
- import 'react';
3
- import './styles.d2.ts';
4
- import './helpers.js';
5
- import './colors.js';
@@ -1,3 +0,0 @@
1
- export { B as BaseFocusWithinGroupAction, E as EventKey, c as FocusWithinGroupAction, b as FocusWithinGroupActionType, e as FocusWithinGroupContextProps, a as FocusWithinGroupOptions, f as FocusWithinGroupProps, F as FocusWithinGroupState, K as KeyDirection, N as Navigation, R as RowStartMap, T as TabStop, d as UseFocusGroupProps, U as UseFocusWithinGroupProps } from './types.d13.ts';
2
- export { a as FOCUS_WITHING_GROUP_INITIAL_STATE, F as FocusWithinGroup, b as FocusWithinGroupContext, c as FocusWithinGroupReducer, u as uniqueId, e as useFocusOnList, d as useFocusOnListItem } from './useFocusOnList.js';
3
- import 'react';
@@ -1,12 +0,0 @@
1
- import { V as ValueOf } from './helpers.js';
2
-
3
- /**
4
- * Font.
5
- */
6
- declare const FontFamily: {
7
- readonly poppins: "poppins";
8
- readonly 'source-code-pro': "source-code-pro";
9
- };
10
- type FontFamily = ValueOf<typeof FontFamily>;
11
-
12
- export { FontFamily as F };
@@ -1,19 +0,0 @@
1
- import * as styled_components from 'styled-components';
2
- import { b as ButtonProps } from './types.d4.ts';
3
- import 'react';
4
- import './types.d17.ts';
5
- import './styles.d2.ts';
6
- import './helpers.js';
7
- import './colors.js';
8
-
9
- declare const StyledGradientBorder: styled_components.StyledComponent<"div", any, {
10
- $borderRadius?: string | undefined;
11
- $color?: ButtonProps['color'];
12
- $isActive?: ButtonProps['isActive'];
13
- $isDisabled?: ButtonProps['isDisabled'];
14
- $isHovered?: ButtonProps['isHovered'];
15
- $theme?: ButtonProps['theme'];
16
- width?: string | undefined;
17
- }, never>;
18
-
19
- export { StyledGradientBorder };
@@ -1,5 +0,0 @@
1
- export { G as GridItemProps, S as StyledGridItemProps } from './types.d14.ts';
2
- export { G as GridItem } from './GridItem.js';
3
- import 'react';
4
- import './styles.d2.ts';
5
- import './helpers.js';
@@ -1,6 +0,0 @@
1
- export { B as BaseGrid, a as Grid, G as GridProps, S as StyledGridProps } from './Grid.d2.ts';
2
- import './types.d14.ts';
3
- import 'react';
4
- import './styles.d2.ts';
5
- import './helpers.js';
6
- import './colors.js';
@@ -1,7 +0,0 @@
1
- export { a as HeadingComponent, b as HeadingProps, H as HeadingVariant, S as StyledHeadingProps } from './types.d15.ts';
2
- export { H as Heading } from './Heading.d2.ts';
3
- import 'react';
4
- import './fonts.js';
5
- import './helpers.js';
6
- import './styles.d2.ts';
7
- import './colors.js';
@@ -1,23 +0,0 @@
1
- import { Ref, ReactElement } from 'react';
2
-
3
- /** Component Type. */
4
- type Comp<P, T = HTMLElement> = {
5
- (props: P & {
6
- ref?: Ref<T>;
7
- }): ReactElement | null;
8
- /** React component type. */
9
- readonly $$typeof?: symbol;
10
- /** Component name. */
11
- displayName?: string;
12
- /** Component base class name. */
13
- className?: string;
14
- };
15
- /**
16
- * JS falsy values.
17
- * (excluding `NaN` as it can't be distinguished from `number`)
18
- */
19
- type Falsy = false | undefined | null | 0 | '';
20
- /** Get types of the values of a record. */
21
- type ValueOf<T extends Record<any, any>> = T[keyof T];
22
-
23
- export { Comp as C, Falsy as F, ValueOf as V };
@@ -1,8 +0,0 @@
1
- export { a as IconButtonLink, I as IconButtonLinkProps, S as StyledIconButtonLinkProps } from './IconButtonLink.js';
2
- import './types.d16.ts';
3
- import 'react';
4
- import './types.d17.ts';
5
- import './styles.d2.ts';
6
- import './helpers.js';
7
- import './colors.js';
8
- import './types.d18.ts';
@@ -1,7 +0,0 @@
1
- export { a as IconButtonColor, b as IconButtonProps, I as IconButtonVariant, S as StyledIconButtonProps } from './types.d16.ts';
2
- export { I as IconButton } from './IconButton.js';
3
- import 'react';
4
- import './types.d17.ts';
5
- import './styles.d2.ts';
6
- import './helpers.js';
7
- import './colors.js';
@@ -1,6 +0,0 @@
1
- export { a as IconDimensions, b as IconProps, I as IconSize, S as StyledIconProps } from './types.d17.ts';
2
- export { I as Icon, s as sizeToDimension } from './Icon.d2.ts';
3
- import 'react';
4
- import './styles.d2.ts';
5
- import './helpers.js';
6
- import './colors.js';
@@ -1,8 +0,0 @@
1
- export { c as Item, I as ItemColor, a as ItemProps, R as RenderedListboxItem, b as StyledItem, S as StyledItemProps } from './Item.d2.ts';
2
- import 'styled-components';
3
- import './colors.js';
4
- import './helpers.js';
5
- import 'react';
6
- import './types.d19.ts';
7
- import './types.d13.ts';
8
- import './styles.d2.ts';