@cruk/cruk-react-components 5.0.0 → 5.0.1

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 (139) hide show
  1. package/README.md +24 -0
  2. package/lib/components/AddressLookup/styles.d.ts +1 -1
  3. package/lib/components/Avatar/styles.d.ts +1 -1
  4. package/lib/components/Badge/index.d.ts +3 -3
  5. package/lib/components/Badge/styles.d.ts +5 -5
  6. package/lib/components/Box/styles.d.ts +4 -4
  7. package/lib/components/Button/styles.d.ts +5 -5
  8. package/lib/components/Carousel/styles.d.ts +8 -8
  9. package/lib/components/Checkbox/styles.d.ts +1 -1
  10. package/lib/components/Collapse/styles.d.ts +6 -6
  11. package/lib/components/Flex.d.ts +2 -1
  12. package/lib/components/Header/styles.d.ts +19 -22
  13. package/lib/components/Heading/index.d.ts +3 -3
  14. package/lib/components/Heading/styles.d.ts +8 -8
  15. package/lib/components/LabelWrapper/styles.d.ts +1 -1
  16. package/lib/components/LegendWrapper/styles.d.ts +3 -3
  17. package/lib/components/Link/styles.d.ts +2 -2
  18. package/lib/components/Modal/styles.d.ts +12 -13
  19. package/lib/components/Pagination/styles.d.ts +9 -11
  20. package/lib/components/PopOver/styles.d.ts +5 -5
  21. package/lib/components/ProgressBar/styles.d.ts +25 -29
  22. package/lib/components/Radio/styles.d.ts +13 -13
  23. package/lib/components/RadioConsent/styles.d.ts +8 -6
  24. package/lib/components/Select/styles.d.ts +2 -2
  25. package/lib/components/Spacing/index.d.ts +51 -2
  26. package/lib/components/Step/styles.d.ts +12 -14
  27. package/lib/components/Text/styles.d.ts +10 -10
  28. package/lib/components/TextAreaField/TextAreaField.stories.d.ts +0 -1
  29. package/lib/components/TextAreaField/styles.d.ts +2 -2
  30. package/lib/components/TextField/styles.d.ts +4 -4
  31. package/lib/components/Totaliser/index.d.ts +2 -2
  32. package/lib/components/Totaliser/styles.d.ts +20 -14
  33. package/lib/src/components/AddressLookup/index.js +1 -1
  34. package/lib/src/components/AddressLookup/index.js.map +1 -1
  35. package/lib/src/components/AddressLookup/styles.js +1 -1
  36. package/lib/src/components/AddressLookup/styles.js.map +1 -1
  37. package/lib/src/components/Avatar/index.js +1 -1
  38. package/lib/src/components/Avatar/index.js.map +1 -1
  39. package/lib/src/components/Avatar/styles.js +1 -1
  40. package/lib/src/components/Avatar/styles.js.map +1 -1
  41. package/lib/src/components/Badge/index.js +1 -1
  42. package/lib/src/components/Badge/index.js.map +1 -1
  43. package/lib/src/components/Badge/styles.js +1 -1
  44. package/lib/src/components/Badge/styles.js.map +1 -1
  45. package/lib/src/components/Box/index.js +1 -1
  46. package/lib/src/components/Box/index.js.map +1 -1
  47. package/lib/src/components/Box/styles.js +1 -1
  48. package/lib/src/components/Box/styles.js.map +1 -1
  49. package/lib/src/components/Button/index.js +1 -1
  50. package/lib/src/components/Button/index.js.map +1 -1
  51. package/lib/src/components/Button/styles.js +1 -1
  52. package/lib/src/components/Button/styles.js.map +1 -1
  53. package/lib/src/components/Carousel/index.js +1 -1
  54. package/lib/src/components/Carousel/index.js.map +1 -1
  55. package/lib/src/components/Carousel/styles.js +1 -1
  56. package/lib/src/components/Carousel/styles.js.map +1 -1
  57. package/lib/src/components/Checkbox/index.js +1 -1
  58. package/lib/src/components/Checkbox/index.js.map +1 -1
  59. package/lib/src/components/Checkbox/styles.js +1 -1
  60. package/lib/src/components/Checkbox/styles.js.map +1 -1
  61. package/lib/src/components/Collapse/index.js +1 -1
  62. package/lib/src/components/Collapse/index.js.map +1 -1
  63. package/lib/src/components/Collapse/styles.js +1 -1
  64. package/lib/src/components/Collapse/styles.js.map +1 -1
  65. package/lib/src/components/Divider.js +1 -1
  66. package/lib/src/components/Divider.js.map +1 -1
  67. package/lib/src/components/Flex.js +1 -1
  68. package/lib/src/components/Flex.js.map +1 -1
  69. package/lib/src/components/Header/index.js +1 -1
  70. package/lib/src/components/Header/index.js.map +1 -1
  71. package/lib/src/components/Header/styles.js +1 -1
  72. package/lib/src/components/Header/styles.js.map +1 -1
  73. package/lib/src/components/Heading/index.js +1 -1
  74. package/lib/src/components/Heading/index.js.map +1 -1
  75. package/lib/src/components/Heading/styles.js +1 -1
  76. package/lib/src/components/Heading/styles.js.map +1 -1
  77. package/lib/src/components/LabelWrapper/index.js +1 -1
  78. package/lib/src/components/LabelWrapper/index.js.map +1 -1
  79. package/lib/src/components/LabelWrapper/styles.js +1 -1
  80. package/lib/src/components/LabelWrapper/styles.js.map +1 -1
  81. package/lib/src/components/LegendWrapper/index.js +1 -1
  82. package/lib/src/components/LegendWrapper/index.js.map +1 -1
  83. package/lib/src/components/LegendWrapper/styles.js +1 -1
  84. package/lib/src/components/LegendWrapper/styles.js.map +1 -1
  85. package/lib/src/components/Link/index.js +1 -1
  86. package/lib/src/components/Link/index.js.map +1 -1
  87. package/lib/src/components/Link/styles.js +1 -1
  88. package/lib/src/components/Link/styles.js.map +1 -1
  89. package/lib/src/components/Modal/index.js +1 -1
  90. package/lib/src/components/Modal/index.js.map +1 -1
  91. package/lib/src/components/Modal/styles.js +1 -1
  92. package/lib/src/components/Modal/styles.js.map +1 -1
  93. package/lib/src/components/Pagination/index.js +1 -1
  94. package/lib/src/components/Pagination/index.js.map +1 -1
  95. package/lib/src/components/Pagination/styles.js +1 -1
  96. package/lib/src/components/Pagination/styles.js.map +1 -1
  97. package/lib/src/components/PopOver/index.js +1 -1
  98. package/lib/src/components/PopOver/index.js.map +1 -1
  99. package/lib/src/components/PopOver/styles.js +1 -1
  100. package/lib/src/components/PopOver/styles.js.map +1 -1
  101. package/lib/src/components/ProgressBar/index.js +1 -1
  102. package/lib/src/components/ProgressBar/index.js.map +1 -1
  103. package/lib/src/components/ProgressBar/styles.js +1 -1
  104. package/lib/src/components/ProgressBar/styles.js.map +1 -1
  105. package/lib/src/components/Radio/index.js +1 -1
  106. package/lib/src/components/Radio/index.js.map +1 -1
  107. package/lib/src/components/Radio/styles.js +1 -1
  108. package/lib/src/components/Radio/styles.js.map +1 -1
  109. package/lib/src/components/RadioConsent/index.js +1 -1
  110. package/lib/src/components/RadioConsent/index.js.map +1 -1
  111. package/lib/src/components/RadioConsent/styles.js +1 -1
  112. package/lib/src/components/RadioConsent/styles.js.map +1 -1
  113. package/lib/src/components/Select/index.js +1 -1
  114. package/lib/src/components/Select/index.js.map +1 -1
  115. package/lib/src/components/Select/styles.js +1 -1
  116. package/lib/src/components/Select/styles.js.map +1 -1
  117. package/lib/src/components/Spacing/index.js +1 -1
  118. package/lib/src/components/Spacing/index.js.map +1 -1
  119. package/lib/src/components/Step/index.js +1 -1
  120. package/lib/src/components/Step/index.js.map +1 -1
  121. package/lib/src/components/Step/styles.js +1 -1
  122. package/lib/src/components/Step/styles.js.map +1 -1
  123. package/lib/src/components/Text/index.js +1 -1
  124. package/lib/src/components/Text/index.js.map +1 -1
  125. package/lib/src/components/Text/styles.js +1 -1
  126. package/lib/src/components/Text/styles.js.map +1 -1
  127. package/lib/src/components/TextAreaField/index.js +1 -1
  128. package/lib/src/components/TextAreaField/index.js.map +1 -1
  129. package/lib/src/components/TextAreaField/styles.js +1 -1
  130. package/lib/src/components/TextAreaField/styles.js.map +1 -1
  131. package/lib/src/components/TextField/index.js +1 -1
  132. package/lib/src/components/TextField/index.js.map +1 -1
  133. package/lib/src/components/TextField/styles.js +1 -1
  134. package/lib/src/components/TextField/styles.js.map +1 -1
  135. package/lib/src/components/Totaliser/index.js +1 -1
  136. package/lib/src/components/Totaliser/index.js.map +1 -1
  137. package/lib/src/components/Totaliser/styles.js +1 -1
  138. package/lib/src/components/Totaliser/styles.js.map +1 -1
  139. package/package.json +1 -1
package/README.md CHANGED
@@ -52,6 +52,30 @@ export const StyledButton = styled(Button)<StyledButtonProps>`
52
52
  `;
53
53
  ```
54
54
 
55
+ Styled components 6 also no longer filters out custom props, so to stop a prop bleeding into child components or the underlying html element, prefix the prop name with a $ see size prop in example below:
56
+
57
+ ### Before:
58
+
59
+ ```tsx
60
+ <StyledAvatar
61
+ {...rest}
62
+ size={theme.avatar[size || "m"]}
63
+ src={avatarUrl()}
64
+ alt={alt}
65
+ />
66
+ ```
67
+
68
+ ### Now:
69
+
70
+ ```tsx
71
+ <StyledAvatar
72
+ {...rest}
73
+ $size={theme.avatar[size || "m"]}
74
+ src={avatarUrl()}
75
+ alt={alt}
76
+ />
77
+ ```
78
+
55
79
  ## Migration from V0 to V1
56
80
 
57
81
  1. Find all instances of RadioGroup and change it to the new component name of RadioConsent
@@ -4,7 +4,7 @@ interface ListWrapperProps extends React.HTMLProps<HTMLDivElement> {
4
4
  }
5
5
  type ListProps = {
6
6
  theme: ThemeType;
7
- isActive?: boolean;
7
+ $isActive?: boolean;
8
8
  };
9
9
  export declare const ListWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, ListWrapperProps>> & string;
10
10
  export declare const List: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLUListElement>, HTMLUListElement>, ListProps & {
@@ -1,6 +1,6 @@
1
1
  import { type ThemeType } from "../../types";
2
2
  type AvatarStyledProps = {
3
- size?: string;
3
+ $size?: string;
4
4
  theme: ThemeType;
5
5
  };
6
6
  export declare const StyledAvatar: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, AvatarStyledProps>> & string;
@@ -1,6 +1,6 @@
1
- import React, { type ReactNode } from "react";
1
+ import React, { type HTMLAttributes, type ReactNode } from "react";
2
2
  import { type SpaceType } from "../../types";
3
- export type BadgeProps = {
3
+ export type BadgeProps = HTMLAttributes<HTMLSpanElement> & {
4
4
  /** background colour of badge */
5
5
  backgroundColor?: string;
6
6
  /** border colour of badge */
@@ -25,5 +25,5 @@ at the end of a sentence, link, or button. Unless the context is clear,
25
25
  consider including additional context with a visually hidden piece of
26
26
  additional text.
27
27
  */
28
- export declare function Badge({ children, ...rest }: BadgeProps): React.JSX.Element;
28
+ export declare function Badge({ children, size, backgroundColor, borderColor, textColor, ...rest }: BadgeProps): React.JSX.Element;
29
29
  export default Badge;
@@ -1,10 +1,10 @@
1
1
  import { type SpaceType, type ThemeType } from "../../types";
2
2
  type StyleBadgeProps = {
3
- backgroundColor?: string;
4
- borderColor?: string;
5
- textColor?: string;
6
- isText?: boolean;
7
- size: SpaceType;
3
+ $backgroundColor?: string;
4
+ $borderColor?: string;
5
+ $textColor?: string;
6
+ $isText?: boolean;
7
+ $size: SpaceType;
8
8
  theme: ThemeType;
9
9
  };
10
10
  export declare const StyledBadge: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, StyleBadgeProps>> & string;
@@ -1,8 +1,8 @@
1
- import { type SpacingProps } from "../Spacing";
1
+ import { type SpacingPropsInternal } from "../Spacing";
2
2
  import { type ThemeType } from "../../types";
3
- type StyledBoxProps = SpacingProps & {
4
- backgroundColor?: string;
5
- css?: string;
3
+ type StyledBoxProps = SpacingPropsInternal & {
4
+ $backgroundColor?: string;
5
+ $css?: string;
6
6
  theme: ThemeType;
7
7
  };
8
8
  export declare const StyledBox: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, StyledBoxProps>> & string;
@@ -3,13 +3,13 @@ export declare const Spacer: import("styled-components/dist/types").IStyledCompo
3
3
  theme: ThemeType;
4
4
  }>> & string;
5
5
  type StyledButtonProps = {
6
- isIconButton: boolean;
7
- appearance?: ButtonAppearanceType;
8
- full?: boolean;
6
+ $isIconButton: boolean;
7
+ $appearance?: ButtonAppearanceType;
8
+ $full?: boolean;
9
9
  theme: ThemeType;
10
10
  href?: string;
11
- size?: "m" | "l";
12
- css?: string;
11
+ $size?: "m" | "l";
12
+ $css?: string;
13
13
  };
14
14
  export declare const StyledButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, StyledButtonProps>> & string;
15
15
  export {};
@@ -1,21 +1,21 @@
1
- import { type ButtonHTMLAttributes } from "react";
2
1
  import { type ThemeType } from "../../types";
2
+ import { type ButtonHTMLAttributes } from "react";
3
3
  export declare const CarouselWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
4
4
  type ThemeProps = {
5
5
  theme: ThemeType;
6
6
  };
7
7
  type CarouselScrollAreaProps = {
8
- smoothScrolling: boolean;
8
+ $smoothScrolling: boolean;
9
9
  };
10
10
  type CarouselCardProps = {
11
- onlyChild: boolean;
12
- fullWidthChild: boolean;
11
+ $onlyChild: boolean;
12
+ $fullWidthChild: boolean;
13
13
  };
14
14
  type CarouselCardInnerProps = {
15
- isSelected: boolean;
16
- shrinkUnselectedPages: boolean;
17
- onlyChild: boolean;
18
- fullWidthChild: boolean;
15
+ $isSelected: boolean;
16
+ $shrinkUnselectedPages: boolean;
17
+ $onlyChild: boolean;
18
+ $fullWidthChild: boolean;
19
19
  };
20
20
  export declare const CarouselScrollArea: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLUListElement>, HTMLUListElement>, CarouselScrollAreaProps>> & string;
21
21
  export declare const CarouselCard: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, CarouselCardProps>> & string;
@@ -2,7 +2,7 @@ import { type ThemeType } from "../../types";
2
2
  type StyledLabelProps = {
3
3
  checked: boolean;
4
4
  disabled: boolean;
5
- hasError: boolean;
5
+ $hasError: boolean;
6
6
  theme: ThemeType;
7
7
  };
8
8
  type ThemeProps = {
@@ -2,18 +2,18 @@ import { type FontSizeType, type ThemeType } from "../../types";
2
2
  import IconFa from "../IconFa";
3
3
  export declare const transitionDurationSeconds = 0.5;
4
4
  export declare const FlippingIcon: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("../IconFa").IconFaProps, {
5
- open: boolean;
5
+ $open: boolean;
6
6
  }>> & string & Omit<typeof IconFa, keyof import("react").Component<any, {}, any>>;
7
7
  export declare const DefaultHeader: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<Omit<Omit<import("../Button").ButtonProps, "ref"> & import("react").RefAttributes<HTMLElement>, "ref"> & {
8
8
  ref?: ((instance: HTMLElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLElement> | null | undefined;
9
9
  }, {
10
- textColor?: string;
11
- textSize?: FontSizeType;
12
- textFontFamily?: string;
13
10
  theme: ThemeType;
11
+ $textColor?: string;
12
+ $textSize?: FontSizeType;
13
+ $textFontFamily?: string;
14
14
  }>> & string & Omit<import("react").ForwardRefExoticComponent<Omit<import("../Button").ButtonProps, "ref"> & import("react").RefAttributes<HTMLElement>>, keyof import("react").Component<any, {}, any>>;
15
15
  export declare const CollapseContent: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
16
- contentHeight: string;
17
- openStatus: boolean;
16
+ $contentHeight: string;
17
+ $openStatus: boolean;
18
18
  }>> & string;
19
19
  export declare const CustomHeader: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
@@ -1,7 +1,8 @@
1
+ import React from "react";
1
2
  import { type SpacingProps } from "./Spacing";
2
3
  import { type ThemeType } from "../types";
3
4
  type Props = SpacingProps & {
4
5
  theme: ThemeType;
5
6
  };
6
- export declare const Flex: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Props>> & string;
7
+ export declare function Flex(props: Props): React.JSX.Element;
7
8
  export default Flex;
@@ -1,36 +1,33 @@
1
1
  import { type ThemeType } from "../../types";
2
- type StyledHeaderProps = {
2
+ export declare const StyledHeader: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, {
3
3
  theme: ThemeType;
4
- isSmall?: boolean;
5
- isSticky?: boolean;
6
- fullWidth?: boolean;
7
- };
8
- export declare const StyledHeader: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, StyledHeaderProps>> & string;
9
- export declare const HeaderStickyPlaceHolder: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, StyledHeaderProps>> & string;
10
- type HeaderStickyProps = {
11
- isSmall?: boolean;
12
- isSticky?: boolean;
4
+ }>> & string;
5
+ export declare const HeaderStickyPlaceHolder: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
6
+ theme: ThemeType;
7
+ }>> & string;
8
+ export declare const HeaderStickyContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
9
+ $isSmall?: boolean;
10
+ $isSticky?: boolean;
13
11
  theme: ThemeType;
14
- };
15
- export declare const HeaderStickyContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, HeaderStickyProps>> & string;
12
+ }>> & string;
16
13
  export declare const HeaderMainContent: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
17
- fullWidth?: boolean;
14
+ $fullWidth?: boolean;
18
15
  theme: ThemeType;
19
16
  }>> & string;
20
17
  export declare const Logo: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, never>> & string;
21
- type LogoWrapperProps = {
22
- isSmall?: boolean;
23
- isSticky?: boolean;
18
+ export declare const LogoWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
19
+ $isSmall?: boolean;
20
+ $isSticky?: boolean;
24
21
  theme: ThemeType;
25
- };
26
- export declare const LogoWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, LogoWrapperProps>> & string;
22
+ }>> & string;
27
23
  export declare const StyledLink: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, never>> & string;
28
- export declare const SkipToMain: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, StyledHeaderProps>> & string;
24
+ export declare const SkipToMain: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, {
25
+ theme: ThemeType;
26
+ }>> & string;
29
27
  export declare const Tagline: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, {
30
- isSmall?: boolean;
31
- isSticky?: boolean;
28
+ $isSmall?: boolean;
29
+ $isSticky?: boolean;
32
30
  theme: ThemeType;
33
31
  }>> & string;
34
32
  export declare const ChildWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
35
33
  export declare const ChildInner: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
36
- export {};
@@ -14,12 +14,12 @@ export type HeadingProps = SpacingProps & HTMLAttributes<HTMLElement> & {
14
14
  textAlign?: "left" | "right" | "center";
15
15
  /** color of text */
16
16
  textColor?: string;
17
- /** styled-component polymorphic feature so you take the styling of a header and cast the component to be a "span" for example */
18
- as?: ElementType;
19
17
  /** word-break behavior */
20
18
  wordBreak?: WordBreakType;
21
19
  /** overflow-wrap behavior */
22
20
  overflowWrap?: OverflowWrapType;
21
+ /** styled-component polymorphic feature so you take the styling of a header and cast the component to be a "span" for example */
22
+ as?: ElementType;
23
23
  };
24
24
  /**
25
25
  *
@@ -28,5 +28,5 @@ Markup headings semantically using the appropriate <h#> level HTML element and
28
28
  use the corresponding heading class (h1, h2, h3, ....). Write all headings in sentence case. Heading differs from the Text component by using a different font-family and it changes the font size according to the screen width breakpoints.
29
29
  *
30
30
  */
31
- export declare function Heading({ h1, h2, h3, h4, h5, h6, ...props }: HeadingProps): React.JSX.Element;
31
+ export declare function Heading({ textSize, textAlign, textColor, wordBreak, overflowWrap, h1, h2, h3, h4, h5, h6, ...props }: HeadingProps): React.JSX.Element;
32
32
  export default Heading;
@@ -1,12 +1,12 @@
1
- import { type SpacingProps } from "../Spacing";
2
- import { type ThemeType, type FontSizeType, type WordBreakType } from "../../types";
3
- type StyledHeadingProps = SpacingProps & {
1
+ import { type SpacingPropsInternal } from "../Spacing";
2
+ import { type ThemeType, type FontSizeType, type WordBreakType, type OverflowWrapType } from "../../types";
3
+ type StyledHeadingProps = SpacingPropsInternal & {
4
4
  theme: ThemeType;
5
- textSize?: FontSizeType;
6
- textAlign?: "left" | "right" | "center";
7
- textColor?: string;
8
- wordBreak?: WordBreakType;
9
- overflowWrap?: WordBreakType;
5
+ $textSize?: FontSizeType;
6
+ $textAlign?: "left" | "right" | "center";
7
+ $textColor?: string;
8
+ $wordBreak?: WordBreakType;
9
+ $overflowWrap?: OverflowWrapType;
10
10
  };
11
11
  export declare const H1: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, StyledHeadingProps>> & string;
12
12
  export declare const H2: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, StyledHeadingProps>> & string;
@@ -1,6 +1,6 @@
1
1
  import { type ThemeType } from "../../types";
2
2
  type LabelTextProp = {
3
- hasHintText: boolean;
3
+ $hasHintText: boolean;
4
4
  theme: ThemeType;
5
5
  };
6
6
  export declare const Label: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, {
@@ -1,11 +1,11 @@
1
1
  import { type ThemeType } from "../../types";
2
2
  type StyledFieldsetProps = {
3
- hasError?: boolean;
3
+ $hasError?: boolean;
4
+ $hasHintText?: boolean;
4
5
  theme: ThemeType;
5
- hasHintText?: boolean;
6
6
  };
7
7
  export declare const LegendSpan: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {
8
- hasHintText: boolean;
8
+ $hasHintText: boolean;
9
9
  theme: ThemeType;
10
10
  }>> & string;
11
11
  export declare const StyledFieldset: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").FieldsetHTMLAttributes<HTMLFieldSetElement>, HTMLFieldSetElement>, StyledFieldsetProps>> & string;
@@ -3,8 +3,8 @@ import { type TextProps } from "../Text";
3
3
  import { type ThemeType } from "../../types";
4
4
  type StyledLinkProps = AnchorHTMLAttributes<HTMLElement> & TextProps & {
5
5
  theme: ThemeType;
6
- appearance?: "primary" | "secondary";
7
- textHoverColor?: string;
6
+ $appearance?: "primary" | "secondary";
7
+ $textHoverColor?: string;
8
8
  };
9
9
  export declare const StyledLink: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<Omit<Omit<TextProps, "ref"> & import("react").RefAttributes<HTMLElement>, "ref"> & {
10
10
  ref?: ((instance: HTMLElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLElement> | null | undefined;
@@ -1,20 +1,19 @@
1
1
  import { type ThemeType } from "../../types";
2
- type ThemeProp = {
2
+ export declare const Background: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
3
3
  theme: ThemeType;
4
- };
5
- type ContentProps = {
6
- backgroundColor?: string;
7
- theme: ThemeType;
8
- top: string;
9
- width: string;
10
- maxWidth: string;
11
- };
12
- export declare const Background: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, ThemeProp>> & string;
4
+ }>> & string;
13
5
  export declare const Wrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
14
6
  export declare const Content: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<Omit<Omit<import("../Box").BoxProps, "ref"> & import("react").RefAttributes<HTMLDivElement>, "ref"> & {
15
7
  ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
16
- }, ContentProps>> & string & Omit<import("react").ForwardRefExoticComponent<Omit<import("../Box").BoxProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>, keyof import("react").Component<any, {}, any>>;
8
+ }, {
9
+ $backgroundColor?: string;
10
+ $top: string;
11
+ $width: string;
12
+ $maxWidth: string;
13
+ theme: ThemeType;
14
+ }>> & string & Omit<import("react").ForwardRefExoticComponent<Omit<import("../Box").BoxProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>, keyof import("react").Component<any, {}, any>>;
17
15
  export declare const CloseButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<Omit<Omit<import("../Button").ButtonProps, "ref"> & import("react").RefAttributes<HTMLElement>, "ref"> & {
18
16
  ref?: ((instance: HTMLElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLElement> | null | undefined;
19
- }, ThemeProp>> & string & Omit<import("react").ForwardRefExoticComponent<Omit<import("../Button").ButtonProps, "ref"> & import("react").RefAttributes<HTMLElement>>, keyof import("react").Component<any, {}, any>>;
20
- export {};
17
+ }, {
18
+ theme: ThemeType;
19
+ }>> & string & Omit<import("react").ForwardRefExoticComponent<Omit<import("../Button").ButtonProps, "ref"> & import("react").RefAttributes<HTMLElement>>, keyof import("react").Component<any, {}, any>>;
@@ -1,14 +1,12 @@
1
1
  import { type ThemeType } from "../../types";
2
- type ThemeProps = {
3
- theme: ThemeType;
4
- };
5
- type PaginationStyledProps = ThemeProps & {
6
- active?: boolean;
2
+ export declare const PagerWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
3
+ export declare const PagerList: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLUListElement>, HTMLUListElement>, never>> & string;
4
+ export declare const PagerLink: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, {
5
+ $active?: boolean;
7
6
  name?: string;
8
7
  disabled?: boolean;
9
- };
10
- export declare const PagerWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, PaginationStyledProps>> & string;
11
- export declare const PagerList: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLUListElement>, HTMLUListElement>, never>> & string;
12
- export declare const PagerLink: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, PaginationStyledProps>> & string;
13
- export declare const PagerItem: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, ThemeProps>> & string;
14
- export {};
8
+ theme: ThemeType;
9
+ }>> & string;
10
+ export declare const PagerItem: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, {
11
+ theme: ThemeType;
12
+ }>> & string;
@@ -1,11 +1,11 @@
1
1
  import { type ThemeType, type PopOverPositionType } from "../../types";
2
2
  export declare const PopOverWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
3
- full: boolean;
4
- css?: string;
3
+ $full: boolean;
4
+ $css?: string;
5
5
  }>> & string;
6
6
  export declare const PopOverModal: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
7
- position: PopOverPositionType;
7
+ $position: PopOverPositionType;
8
+ $maxWidth: string;
9
+ $minWidth: string;
8
10
  theme?: ThemeType;
9
- maxWidth: string;
10
- minWidth: string;
11
11
  }>> & string;
@@ -1,36 +1,32 @@
1
1
  import { type ThemeType } from "../../types";
2
- type ThemeProp = {
2
+ export declare const ProgressBarWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
3
+ export declare const LineProgressBarWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
4
+ $percentage: number;
5
+ $secondaryPercentage: number;
6
+ theme: ThemeType;
7
+ }>> & string;
8
+ export declare const LineProgressBar: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
9
+ $percentage: number;
10
+ $barColor?: string;
11
+ $isSecondary?: boolean;
3
12
  theme: ThemeType;
4
- };
5
- type LineProgressBarProps = {
6
- percentage: number;
7
- barColor?: string;
8
- isSecondary?: boolean;
13
+ }>> & string;
14
+ export declare const ScreenReaderOnly: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>> & string;
15
+ export declare const CircularWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
16
+ $circleSize: string;
9
17
  theme: ThemeType;
10
- };
11
- type LineProgressWrapperProps = {
12
- percentage: number;
13
- secondaryPercentage: number;
18
+ }>> & string;
19
+ export declare const CircleSvg: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").SVGProps<SVGSVGElement>, never>> & string;
20
+ export declare const EmptyCircle: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").SVGProps<SVGCircleElement>, {
14
21
  theme: ThemeType;
15
- };
16
- type CircleProps = ThemeProp & {
17
- strokeDashoffsetInit: number;
22
+ }>> & string;
23
+ export declare const FullCircle: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").SVGProps<SVGCircleElement>, {
24
+ $strokeDashoffsetInit: number;
18
25
  strokeDashoffset: number;
19
- barColor?: string;
20
- isSecondary?: boolean;
26
+ $barColor?: string;
27
+ $isSecondary?: boolean;
21
28
  theme: ThemeType;
22
- };
23
- type CircleWrapperProps = {
24
- circleSize: string;
29
+ }>> & string;
30
+ export declare const CircularValue: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
25
31
  theme: ThemeType;
26
- };
27
- export declare const ProgressBarWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
28
- export declare const LineProgressBarWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, LineProgressWrapperProps>> & string;
29
- export declare const LineProgressBar: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, LineProgressBarProps>> & string;
30
- export declare const ScreenReaderOnly: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>> & string;
31
- export declare const CircularWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, CircleWrapperProps>> & string;
32
- export declare const CircleSvg: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").SVGProps<SVGSVGElement>, never>> & string;
33
- export declare const EmptyCircle: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").SVGProps<SVGCircleElement>, ThemeProp>> & string;
34
- export declare const FullCircle: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").SVGProps<SVGCircleElement>, CircleProps>> & string;
35
- export declare const CircularValue: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, ThemeProp>> & string;
36
- export {};
32
+ }>> & string;
@@ -1,21 +1,21 @@
1
1
  import { type ThemeType } from "../../types";
2
- type ThemeProp = {
2
+ export declare const CheckWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
3
3
  theme: ThemeType;
4
- };
5
- export declare const CheckWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, ThemeProp>> & string;
6
- export declare const Check: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, ThemeProp>> & string;
7
- type StyledLabelProps = {
8
- hasError: boolean;
4
+ }>> & string;
5
+ export declare const Check: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {
6
+ theme: ThemeType;
7
+ }>> & string;
8
+ export declare const StyledLabel: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, {
9
+ $hasError: boolean;
9
10
  disabled: boolean;
10
11
  checked: boolean;
11
12
  theme: ThemeType;
12
- };
13
- export declare const StyledLabel: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, StyledLabelProps>> & string;
14
- export declare const VerticalAlign: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, ThemeProp>> & string;
13
+ }>> & string;
14
+ export declare const VerticalAlign: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {
15
+ theme: ThemeType;
16
+ }>> & string;
15
17
  export declare const SelectedBorder: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
16
- type StyledInputType = {
18
+ export declare const StyledInput: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, {
17
19
  disabled: boolean;
18
20
  theme: ThemeType;
19
- };
20
- export declare const StyledInput: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, StyledInputType>> & string;
21
- export {};
21
+ }>> & string;
@@ -1,13 +1,15 @@
1
1
  import { type ThemeType } from "../../types";
2
- type ThemeProp = {
2
+ type StyleRadioWidthProp = {
3
+ $numberOfAttributes: number;
3
4
  theme: ThemeType;
4
5
  };
5
- type StyleRadioWidthProp = {
6
- numberOfAttributes: number;
7
- } & ThemeProp;
8
6
  export declare const StyledRadio: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<Omit<Omit<import("../Radio").RadioProps, "ref"> & import("react").RefAttributes<HTMLInputElement>, "ref"> & {
9
7
  ref?: ((instance: HTMLInputElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLInputElement> | null | undefined;
10
8
  }, StyleRadioWidthProp>> & string & Omit<import("react").ForwardRefExoticComponent<Omit<import("../Radio").RadioProps, "ref"> & import("react").RefAttributes<HTMLInputElement>>, keyof import("react").Component<any, {}, any>>;
11
- export declare const StyledLegend: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLLegendElement>, HTMLLegendElement>, ThemeProp>> & string;
12
- export declare const StyledFieldSet: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").FieldsetHTMLAttributes<HTMLFieldSetElement>, HTMLFieldSetElement>, ThemeProp>> & string;
9
+ export declare const StyledLegend: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLLegendElement>, HTMLLegendElement>, {
10
+ theme: ThemeType;
11
+ }>> & string;
12
+ export declare const StyledFieldSet: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").FieldsetHTMLAttributes<HTMLFieldSetElement>, HTMLFieldSetElement>, {
13
+ theme: ThemeType;
14
+ }>> & string;
13
15
  export {};
@@ -1,7 +1,7 @@
1
1
  import { type ThemeType } from "../../types";
2
2
  type StyledSelectProps = {
3
- hasError: boolean;
4
- errorMessage?: string;
3
+ $hasError: boolean;
4
+ $errorMessage?: string;
5
5
  theme: ThemeType;
6
6
  };
7
7
  declare const StyledSelect: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").SelectHTMLAttributes<HTMLSelectElement>, HTMLSelectElement>, StyledSelectProps>> & string;