@guardian/stand 0.0.60 → 0.0.61

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 (268) hide show
  1. package/dist/components/AlertBanner/AlertBanner.d.cts +1 -12
  2. package/dist/components/AlertBanner/AlertBanner.d.ts +1 -12
  3. package/dist/components/AlertBanner/styles.d.cts +1 -1
  4. package/dist/components/AlertBanner/styles.d.ts +1 -1
  5. package/dist/components/AlertBanner/types.d.cts +2 -1
  6. package/dist/components/AlertBanner/types.d.ts +2 -1
  7. package/dist/components/Avatar/Avatar.d.cts +1 -11
  8. package/dist/components/Avatar/Avatar.d.ts +1 -11
  9. package/dist/components/Avatar/styles.d.cts +1 -1
  10. package/dist/components/Avatar/styles.d.ts +1 -1
  11. package/dist/components/Avatar/types.d.cts +1 -2
  12. package/dist/components/Avatar/types.d.ts +1 -2
  13. package/dist/components/AvatarButton/AvatarButton.d.cts +0 -1
  14. package/dist/components/AvatarButton/AvatarButton.d.ts +0 -1
  15. package/dist/components/AvatarButton/styles.d.cts +0 -1
  16. package/dist/components/AvatarButton/styles.d.ts +0 -1
  17. package/dist/components/AvatarButton/types.d.cts +0 -1
  18. package/dist/components/AvatarButton/types.d.ts +0 -1
  19. package/dist/components/AvatarLink/AvatarLink.d.cts +0 -1
  20. package/dist/components/AvatarLink/AvatarLink.d.ts +0 -1
  21. package/dist/components/AvatarLink/styles.d.cts +0 -1
  22. package/dist/components/AvatarLink/styles.d.ts +0 -1
  23. package/dist/components/AvatarLink/types.d.cts +0 -1
  24. package/dist/components/AvatarLink/types.d.ts +0 -1
  25. package/dist/components/Button/Button.d.cts +1 -9
  26. package/dist/components/Button/Button.d.ts +1 -9
  27. package/dist/components/Button/styles.cjs +6 -6
  28. package/dist/components/Button/styles.d.cts +1 -1
  29. package/dist/components/Button/styles.d.ts +1 -1
  30. package/dist/components/Button/styles.js +6 -6
  31. package/dist/components/Button/types.d.cts +0 -1
  32. package/dist/components/Button/types.d.ts +0 -1
  33. package/dist/components/ButtonGroup/ButtonGroup.cjs +1 -1
  34. package/dist/components/ButtonGroup/ButtonGroup.d.cts +1 -7
  35. package/dist/components/ButtonGroup/ButtonGroup.d.ts +1 -7
  36. package/dist/components/ButtonGroup/styles.d.cts +0 -1
  37. package/dist/components/ButtonGroup/styles.d.ts +0 -1
  38. package/dist/components/ButtonGroup/types.d.cts +0 -1
  39. package/dist/components/ButtonGroup/types.d.ts +0 -1
  40. package/dist/components/Byline/Byline.d.cts +20 -22
  41. package/dist/components/Byline/Byline.d.ts +20 -22
  42. package/dist/components/Byline/lib.cjs +2 -0
  43. package/dist/components/Byline/lib.d.cts +3 -0
  44. package/dist/components/Byline/lib.d.ts +2 -0
  45. package/dist/components/Byline/lib.js +1 -1
  46. package/dist/components/Byline/theme.d.cts +0 -1
  47. package/dist/components/Byline/theme.d.ts +0 -1
  48. package/dist/components/Checkbox/Checkbox.d.cts +1 -9
  49. package/dist/components/Checkbox/Checkbox.d.ts +1 -9
  50. package/dist/components/Checkbox/CheckboxGroup.cjs +1 -1
  51. package/dist/components/Checkbox/CheckboxGroup.d.cts +1 -6
  52. package/dist/components/Checkbox/CheckboxGroup.d.ts +1 -6
  53. package/dist/components/Checkbox/styles.cjs +2 -2
  54. package/dist/components/Checkbox/styles.d.cts +1 -1
  55. package/dist/components/Checkbox/styles.d.ts +1 -1
  56. package/dist/components/Checkbox/styles.js +2 -2
  57. package/dist/components/Checkbox/types.d.cts +0 -1
  58. package/dist/components/Checkbox/types.d.ts +0 -1
  59. package/dist/components/DatePicker/DatePicker.d.cts +1 -8
  60. package/dist/components/DatePicker/DatePicker.d.ts +1 -8
  61. package/dist/components/DatePicker/styles.d.cts +0 -1
  62. package/dist/components/DatePicker/styles.d.ts +0 -1
  63. package/dist/components/DatePicker/types.d.cts +1 -1
  64. package/dist/components/DatePicker/types.d.ts +1 -1
  65. package/dist/components/Favicon/Favicon.d.cts +0 -1
  66. package/dist/components/Favicon/Favicon.d.ts +0 -1
  67. package/dist/components/Favicon/styles.d.cts +0 -1
  68. package/dist/components/Favicon/styles.d.ts +0 -1
  69. package/dist/components/Favicon/types.d.cts +0 -1
  70. package/dist/components/Favicon/types.d.ts +0 -1
  71. package/dist/components/Form/styles.cjs +6 -6
  72. package/dist/components/Form/styles.d.cts +1 -1
  73. package/dist/components/Form/styles.d.ts +1 -1
  74. package/dist/components/Form/styles.js +6 -6
  75. package/dist/components/Form/types.d.cts +0 -1
  76. package/dist/components/Form/types.d.ts +0 -1
  77. package/dist/components/Grid/Grid.d.cts +2 -16
  78. package/dist/components/Grid/Grid.d.ts +2 -16
  79. package/dist/components/Grid/styles.d.cts +1 -1
  80. package/dist/components/Grid/styles.d.ts +1 -1
  81. package/dist/components/Grid/types.d.cts +1 -2
  82. package/dist/components/Grid/types.d.ts +1 -2
  83. package/dist/components/HtmlPreviewLoader/HtmlPreview.d.cts +1 -15
  84. package/dist/components/HtmlPreviewLoader/HtmlPreview.d.ts +1 -15
  85. package/dist/components/HtmlPreviewLoader/HtmlPreviewLoader.d.cts +0 -1
  86. package/dist/components/HtmlPreviewLoader/HtmlPreviewLoader.d.ts +0 -1
  87. package/dist/components/HtmlPreviewLoader/styles.d.cts +0 -1
  88. package/dist/components/HtmlPreviewLoader/styles.d.ts +0 -1
  89. package/dist/components/HtmlPreviewLoader/types.d.cts +0 -1
  90. package/dist/components/HtmlPreviewLoader/types.d.ts +0 -1
  91. package/dist/components/Icon/Icon.d.cts +1 -11
  92. package/dist/components/Icon/Icon.d.ts +1 -11
  93. package/dist/components/Icon/Styles.d.cts +1 -0
  94. package/dist/components/Icon/Styles.d.ts +1 -0
  95. package/dist/components/Icon/types.d.cts +1 -2
  96. package/dist/components/Icon/types.d.ts +1 -2
  97. package/dist/components/IconButton/IconButton.d.cts +1 -10
  98. package/dist/components/IconButton/IconButton.d.ts +1 -10
  99. package/dist/components/IconButton/styles.d.cts +1 -0
  100. package/dist/components/IconButton/styles.d.ts +1 -0
  101. package/dist/components/IconButton/types.d.cts +0 -1
  102. package/dist/components/IconButton/types.d.ts +0 -1
  103. package/dist/components/IconLinkButton/IconLinkButton.d.cts +1 -10
  104. package/dist/components/IconLinkButton/IconLinkButton.d.ts +1 -10
  105. package/dist/components/IconLinkButton/styles.d.cts +1 -0
  106. package/dist/components/IconLinkButton/styles.d.ts +1 -0
  107. package/dist/components/IconLinkButton/types.d.cts +0 -1
  108. package/dist/components/IconLinkButton/types.d.ts +0 -1
  109. package/dist/components/InlineMessage/InlineMessage.d.cts +1 -12
  110. package/dist/components/InlineMessage/InlineMessage.d.ts +1 -12
  111. package/dist/components/InlineMessage/styles.d.cts +1 -1
  112. package/dist/components/InlineMessage/styles.d.ts +1 -1
  113. package/dist/components/InlineMessage/types.d.cts +0 -1
  114. package/dist/components/InlineMessage/types.d.ts +0 -1
  115. package/dist/components/IntendedAudienceSignifier/IntendedAudienceSignifier.d.cts +1 -9
  116. package/dist/components/IntendedAudienceSignifier/IntendedAudienceSignifier.d.ts +1 -9
  117. package/dist/components/IntendedAudienceSignifier/styles.d.cts +0 -1
  118. package/dist/components/IntendedAudienceSignifier/styles.d.ts +0 -1
  119. package/dist/components/IntendedAudienceSignifier/types.d.cts +0 -1
  120. package/dist/components/IntendedAudienceSignifier/types.d.ts +0 -1
  121. package/dist/components/IntendedAudienceSignifier/utils.d.cts +1 -2
  122. package/dist/components/IntendedAudienceSignifier/utils.d.ts +1 -2
  123. package/dist/components/Layout/Layout.d.cts +0 -1
  124. package/dist/components/Layout/Layout.d.ts +0 -1
  125. package/dist/components/Layout/styles.cjs +24 -24
  126. package/dist/components/Layout/styles.d.cts +1 -1
  127. package/dist/components/Layout/styles.d.ts +1 -1
  128. package/dist/components/Layout/styles.js +24 -24
  129. package/dist/components/Layout/types.d.cts +0 -1
  130. package/dist/components/Layout/types.d.ts +0 -1
  131. package/dist/components/Link/Link.d.cts +1 -9
  132. package/dist/components/Link/Link.d.ts +1 -9
  133. package/dist/components/Link/styles.d.cts +0 -1
  134. package/dist/components/Link/styles.d.ts +0 -1
  135. package/dist/components/Link/types.d.cts +0 -1
  136. package/dist/components/Link/types.d.ts +0 -1
  137. package/dist/components/LinkButton/LinkButton.d.cts +1 -9
  138. package/dist/components/LinkButton/LinkButton.d.ts +1 -9
  139. package/dist/components/LinkButton/Styles.d.cts +1 -0
  140. package/dist/components/LinkButton/Styles.d.ts +1 -0
  141. package/dist/components/LinkButton/types.d.cts +0 -1
  142. package/dist/components/LinkButton/types.d.ts +0 -1
  143. package/dist/components/Menu/Menu.cjs +1 -1
  144. package/dist/components/Menu/Menu.d.cts +5 -36
  145. package/dist/components/Menu/Menu.d.ts +5 -36
  146. package/dist/components/Menu/styles.d.cts +1 -1
  147. package/dist/components/Menu/styles.d.ts +1 -1
  148. package/dist/components/Menu/types.d.cts +0 -1
  149. package/dist/components/Menu/types.d.ts +0 -1
  150. package/dist/components/Modal/Modal.cjs +1 -1
  151. package/dist/components/Modal/Modal.d.cts +1 -7
  152. package/dist/components/Modal/Modal.d.ts +1 -7
  153. package/dist/components/Modal/styles.d.cts +0 -1
  154. package/dist/components/Modal/styles.d.ts +0 -1
  155. package/dist/components/Modal/types.d.cts +0 -1
  156. package/dist/components/Modal/types.d.ts +0 -1
  157. package/dist/components/RadioGroup/RadioGroup.cjs +1 -1
  158. package/dist/components/RadioGroup/RadioGroup.d.cts +2 -16
  159. package/dist/components/RadioGroup/RadioGroup.d.ts +2 -16
  160. package/dist/components/RadioGroup/styles.cjs +2 -2
  161. package/dist/components/RadioGroup/styles.d.cts +1 -1
  162. package/dist/components/RadioGroup/styles.d.ts +1 -1
  163. package/dist/components/RadioGroup/styles.js +2 -2
  164. package/dist/components/RadioGroup/types.d.cts +0 -1
  165. package/dist/components/RadioGroup/types.d.ts +0 -1
  166. package/dist/components/Select/Select.cjs +1 -1
  167. package/dist/components/Select/Select.d.cts +2 -15
  168. package/dist/components/Select/Select.d.ts +2 -15
  169. package/dist/components/Select/styles.d.cts +0 -1
  170. package/dist/components/Select/styles.d.ts +0 -1
  171. package/dist/components/Select/types.d.cts +0 -1
  172. package/dist/components/Select/types.d.ts +0 -1
  173. package/dist/components/Tabs/Tabs.cjs +1 -1
  174. package/dist/components/Tabs/Tabs.d.cts +0 -1
  175. package/dist/components/Tabs/Tabs.d.ts +0 -1
  176. package/dist/components/Tabs/styles.cjs +34 -34
  177. package/dist/components/Tabs/styles.d.cts +1 -1
  178. package/dist/components/Tabs/styles.d.ts +1 -1
  179. package/dist/components/Tabs/styles.js +34 -34
  180. package/dist/components/Tabs/types.d.cts +0 -1
  181. package/dist/components/Tabs/types.d.ts +0 -1
  182. package/dist/components/TagPicker/Autocomplete.d.cts +3 -19
  183. package/dist/components/TagPicker/Autocomplete.d.ts +3 -19
  184. package/dist/components/TagPicker/TagPicker.d.cts +39 -54
  185. package/dist/components/TagPicker/TagPicker.d.ts +39 -54
  186. package/dist/components/TagPicker/types.d.cts +1 -1
  187. package/dist/components/TagPicker/types.d.ts +1 -1
  188. package/dist/components/TagTable/TagTable.d.cts +2 -23
  189. package/dist/components/TagTable/TagTable.d.ts +2 -23
  190. package/dist/components/TextArea/TextArea.d.cts +1 -8
  191. package/dist/components/TextArea/TextArea.d.ts +1 -8
  192. package/dist/components/TextArea/styles.cjs +2 -2
  193. package/dist/components/TextArea/styles.d.cts +1 -1
  194. package/dist/components/TextArea/styles.d.ts +1 -1
  195. package/dist/components/TextArea/styles.js +2 -2
  196. package/dist/components/TextArea/types.d.cts +0 -1
  197. package/dist/components/TextArea/types.d.ts +0 -1
  198. package/dist/components/TextInput/TextInput.d.cts +1 -8
  199. package/dist/components/TextInput/TextInput.d.ts +1 -8
  200. package/dist/components/TextInput/styles.cjs +2 -2
  201. package/dist/components/TextInput/styles.d.cts +1 -1
  202. package/dist/components/TextInput/styles.d.ts +1 -1
  203. package/dist/components/TextInput/styles.js +2 -2
  204. package/dist/components/TextInput/types.d.cts +0 -1
  205. package/dist/components/TextInput/types.d.ts +0 -1
  206. package/dist/components/TopBar/TopBar.cjs +1 -1
  207. package/dist/components/TopBar/TopBar.d.cts +3 -17
  208. package/dist/components/TopBar/TopBar.d.ts +3 -17
  209. package/dist/components/TopBar/TopBarItem/TopBarItem.d.cts +1 -11
  210. package/dist/components/TopBar/TopBarItem/TopBarItem.d.ts +1 -11
  211. package/dist/components/TopBar/TopBarItem/styles.cjs +7 -7
  212. package/dist/components/TopBar/TopBarItem/styles.d.cts +1 -1
  213. package/dist/components/TopBar/TopBarItem/styles.d.ts +1 -1
  214. package/dist/components/TopBar/TopBarItem/styles.js +7 -7
  215. package/dist/components/TopBar/TopBarItem/types.d.cts +0 -1
  216. package/dist/components/TopBar/TopBarItem/types.d.ts +0 -1
  217. package/dist/components/TopBar/TopBarNavigation/TopBarNavigation.d.cts +1 -17
  218. package/dist/components/TopBar/TopBarNavigation/TopBarNavigation.d.ts +1 -17
  219. package/dist/components/TopBar/TopBarNavigation/styles.cjs +30 -30
  220. package/dist/components/TopBar/TopBarNavigation/styles.d.cts +1 -1
  221. package/dist/components/TopBar/TopBarNavigation/styles.d.ts +1 -1
  222. package/dist/components/TopBar/TopBarNavigation/styles.js +30 -30
  223. package/dist/components/TopBar/TopBarNavigation/types.d.cts +0 -1
  224. package/dist/components/TopBar/TopBarNavigation/types.d.ts +0 -1
  225. package/dist/components/TopBar/TopBarToolName/TopBarToolName.d.cts +1 -6
  226. package/dist/components/TopBar/TopBarToolName/TopBarToolName.d.ts +1 -6
  227. package/dist/components/TopBar/TopBarToolName/styles.d.cts +1 -1
  228. package/dist/components/TopBar/TopBarToolName/styles.d.ts +1 -1
  229. package/dist/components/TopBar/TopBarToolName/types.d.cts +0 -1
  230. package/dist/components/TopBar/TopBarToolName/types.d.ts +0 -1
  231. package/dist/components/TopBar/styles.cjs +10 -10
  232. package/dist/components/TopBar/styles.d.cts +0 -1
  233. package/dist/components/TopBar/styles.d.ts +0 -1
  234. package/dist/components/TopBar/styles.js +10 -10
  235. package/dist/components/TopBar/types.d.cts +0 -1
  236. package/dist/components/TopBar/types.d.ts +0 -1
  237. package/dist/components/Typography/Typography.d.cts +1 -9
  238. package/dist/components/Typography/Typography.d.ts +1 -9
  239. package/dist/components/Typography/styles.d.cts +1 -1
  240. package/dist/components/Typography/styles.d.ts +1 -1
  241. package/dist/components/Typography/types.d.cts +0 -1
  242. package/dist/components/Typography/types.d.ts +0 -1
  243. package/dist/components/UserMenu/UserMenu.d.cts +2 -12
  244. package/dist/components/UserMenu/UserMenu.d.ts +2 -12
  245. package/dist/components/UserMenu/model.d.cts +0 -1
  246. package/dist/components/UserMenu/model.d.ts +0 -1
  247. package/dist/styleD/build/css/base/sizing.css +2 -0
  248. package/dist/styleD/build/css/component/icon.css +1 -0
  249. package/dist/styleD/build/css/semantic/sizing.css +1 -0
  250. package/dist/styleD/build/typescript/base/sizing.cjs +2 -0
  251. package/dist/styleD/build/typescript/base/sizing.d.cts +2 -0
  252. package/dist/styleD/build/typescript/base/sizing.d.ts +2 -0
  253. package/dist/styleD/build/typescript/base/sizing.js +2 -0
  254. package/dist/styleD/build/typescript/component/icon.cjs +1 -0
  255. package/dist/styleD/build/typescript/component/icon.d.cts +3 -0
  256. package/dist/styleD/build/typescript/component/icon.d.ts +3 -0
  257. package/dist/styleD/build/typescript/component/icon.js +1 -0
  258. package/dist/styleD/build/typescript/semantic/sizing.cjs +1 -0
  259. package/dist/styleD/build/typescript/semantic/sizing.d.cts +1 -0
  260. package/dist/styleD/build/typescript/semantic/sizing.d.ts +1 -0
  261. package/dist/styleD/build/typescript/semantic/sizing.js +1 -0
  262. package/dist/styleD/utils/semantic/mq.d.cts +0 -1
  263. package/dist/styleD/utils/semantic/mq.d.ts +0 -1
  264. package/dist/styleD/utils/semantic/typography.d.cts +0 -1
  265. package/dist/styleD/utils/semantic/typography.d.ts +0 -1
  266. package/dist/util/types.d.cts +2 -3
  267. package/dist/util/types.d.ts +2 -3
  268. package/package.json +21 -18
@@ -33,8 +33,8 @@ const tabStyles = (theme, { orientation, size, icon }) => {
33
33
  padding: ${theme.shared.padding.top} ${theme.shared.padding.right}
34
34
  ${theme.shared.padding.bottom} ${theme.shared.padding.left};
35
35
  ${hasIcon && css`
36
- padding-right: ${theme.shared.padding.withIcon.right};
37
- `}
36
+ padding-right: ${theme.shared.padding.withIcon.right};
37
+ `}
38
38
  color: ${theme.shared.color};
39
39
  ${convertTypographyToEmotionStringStyle(theme[size].typography)}
40
40
 
@@ -63,44 +63,44 @@ const tabStyles = (theme, { orientation, size, icon }) => {
63
63
  }
64
64
 
65
65
  ${orientation === "horizontal" && css`
66
- border-right: ${theme.shared.border};
66
+ border-right: ${theme.shared.border};
67
67
 
68
- &:first-child {
69
- border-left: ${theme.shared.border};
70
- }
68
+ &:first-child {
69
+ border-left: ${theme.shared.border};
70
+ }
71
71
 
72
- &::after {
73
- content: '';
74
- position: absolute;
75
- bottom: 0;
76
- left: 0;
77
- right: 0;
78
- height: ${theme.shared.selected.border.size};
79
- background: transparent;
80
- }
81
- `}
72
+ &::after {
73
+ content: '';
74
+ position: absolute;
75
+ bottom: 0;
76
+ left: 0;
77
+ right: 0;
78
+ height: ${theme.shared.selected.border.size};
79
+ background: transparent;
80
+ }
81
+ `}
82
82
 
83
83
  ${orientation === "vertical" && css`
84
- border-bottom: ${theme.shared.border};
85
- padding-right: ${theme.shared.padding.verticalRight};
86
- ${hasIcon && css`
87
- padding-right: ${theme.shared.padding.withIcon.verticalRight};
88
- `}
84
+ border-bottom: ${theme.shared.border};
85
+ padding-right: ${theme.shared.padding.verticalRight};
86
+ ${hasIcon && css`
87
+ padding-right: ${theme.shared.padding.withIcon.verticalRight};
88
+ `}
89
89
 
90
- &:first-child {
91
- border-top: ${theme.shared.border};
92
- }
90
+ &:first-child {
91
+ border-top: ${theme.shared.border};
92
+ }
93
93
 
94
- &::after {
95
- content: '';
96
- position: absolute;
97
- top: 0;
98
- bottom: 0;
99
- right: 0;
100
- width: ${theme.shared.selected.border.size};
101
- background: transparent;
102
- }
103
- `}
94
+ &::after {
95
+ content: '';
96
+ position: absolute;
97
+ top: 0;
98
+ bottom: 0;
99
+ right: 0;
100
+ width: ${theme.shared.selected.border.size};
101
+ background: transparent;
102
+ }
103
+ `}
104
104
  `;
105
105
  };
106
106
  const defaultTabListTheme = componentTabs.tabList;
@@ -2,7 +2,6 @@ import { DefaultPropsWithChildren } from "../../util/types.cjs";
2
2
  import { IconProps } from "../Icon/types.cjs";
3
3
  import { TabListTheme, TabPanelTheme, TabPanelsTheme, TabTheme, TabsTheme } from "./styles.cjs";
4
4
  import { TabListProps, TabPanelProps, TabPanelsProps, TabProps, TabsProps } from "react-aria-components";
5
-
6
5
  //#region src/components/Tabs/types.d.ts
7
6
  interface TabsProps$1 extends DefaultPropsWithChildren<TabsTheme, TabsProps['className']>, Omit<TabsProps, 'children'> {
8
7
  /**
@@ -2,7 +2,6 @@ import { DefaultPropsWithChildren } from "../../util/types.js";
2
2
  import { IconProps } from "../Icon/types.js";
3
3
  import { TabListTheme, TabPanelTheme, TabPanelsTheme, TabTheme, TabsTheme } from "./styles.js";
4
4
  import { TabListProps, TabPanelProps, TabPanelsProps, TabProps, TabsProps } from "react-aria-components";
5
-
6
5
  //#region src/components/Tabs/types.d.ts
7
6
  interface TabsProps$1 extends DefaultPropsWithChildren<TabsTheme, TabsProps['className']>, Omit<TabsProps, 'children'> {
8
7
  /**
@@ -1,9 +1,9 @@
1
1
  import { DeepPartial } from "../../util/types.cjs";
2
2
  import { IconProps } from "../Icon/types.cjs";
3
+ import "../../Icon.cjs";
3
4
  import { ComponentAutocomplete } from "../../styleD/build/typescript/component/autocomplete.cjs";
4
5
  import { SerializedStyles } from "@emotion/react";
5
6
  import { ReactElement, ReactNode } from "react";
6
-
7
7
  //#region src/components/TagPicker/Autocomplete.d.ts
8
8
  type AutocompleteOption = {
9
9
  id: number | string;
@@ -125,22 +125,6 @@ interface AutocompleteProps<T extends AutocompleteOption = AutocompleteOption> {
125
125
  *
126
126
  * This is currently still in testing phase, so a production implementation is not yet available.
127
127
  */
128
- declare function Autocomplete<T extends AutocompleteOption = AutocompleteOption>({
129
- addSelection,
130
- loading,
131
- onTextInputChange,
132
- options,
133
- label,
134
- placeholder,
135
- disabled,
136
- value,
137
- 'data-testid': dataTestId,
138
- loadingIcon,
139
- theme,
140
- cssOverrides,
141
- addFirstOnEnter,
142
- symbol,
143
- icon
144
- }: AutocompleteProps<T>): import("@emotion/react/jsx-runtime").JSX.Element;
128
+ declare function Autocomplete<T extends AutocompleteOption = AutocompleteOption>({ addSelection, loading, onTextInputChange, options, label, placeholder, disabled, value, 'data-testid': dataTestId, loadingIcon, theme, cssOverrides, addFirstOnEnter, symbol, icon }: AutocompleteProps<T>): import("@emotion/react/jsx-runtime").JSX.Element;
145
129
  //#endregion
146
- export { Autocomplete };
130
+ export { Autocomplete, AutocompleteOption, AutocompleteProps };
@@ -1,9 +1,9 @@
1
1
  import { DeepPartial } from "../../util/types.js";
2
2
  import { IconProps } from "../Icon/types.js";
3
+ import "../../Icon.js";
3
4
  import { ComponentAutocomplete } from "../../styleD/build/typescript/component/autocomplete.js";
4
5
  import { ReactElement, ReactNode } from "react";
5
6
  import { SerializedStyles } from "@emotion/react";
6
-
7
7
  //#region src/components/TagPicker/Autocomplete.d.ts
8
8
  type AutocompleteOption = {
9
9
  id: number | string;
@@ -125,22 +125,6 @@ interface AutocompleteProps<T extends AutocompleteOption = AutocompleteOption> {
125
125
  *
126
126
  * This is currently still in testing phase, so a production implementation is not yet available.
127
127
  */
128
- declare function Autocomplete<T extends AutocompleteOption = AutocompleteOption>({
129
- addSelection,
130
- loading,
131
- onTextInputChange,
132
- options,
133
- label,
134
- placeholder,
135
- disabled,
136
- value,
137
- 'data-testid': dataTestId,
138
- loadingIcon,
139
- theme,
140
- cssOverrides,
141
- addFirstOnEnter,
142
- symbol,
143
- icon
144
- }: AutocompleteProps<T>): import("@emotion/react/jsx-runtime").JSX.Element;
128
+ declare function Autocomplete<T extends AutocompleteOption = AutocompleteOption>({ addSelection, loading, onTextInputChange, options, label, placeholder, disabled, value, 'data-testid': dataTestId, loadingIcon, theme, cssOverrides, addFirstOnEnter, symbol, icon }: AutocompleteProps<T>): import("@emotion/react/jsx-runtime").JSX.Element;
145
129
  //#endregion
146
- export { Autocomplete };
130
+ export { Autocomplete, AutocompleteOption, AutocompleteProps };
@@ -1,29 +1,46 @@
1
1
  import { DeepPartial } from "../../util/types.cjs";
2
2
  import { ComponentSelect } from "../../styleD/build/typescript/component/select.cjs";
3
+ import "../../Select.cjs";
3
4
  import { ComponentAutocomplete } from "../../styleD/build/typescript/component/autocomplete.cjs";
4
5
  import { ComponentTagTable } from "../../styleD/build/typescript/component/tagTable.cjs";
5
6
  import { FilterOption, TagRow } from "./types.cjs";
6
7
  import { ComponentTagPicker } from "../../styleD/build/typescript/component/tagPicker.cjs";
8
+ import "../../TagPicker.cjs";
7
9
  import { SerializedStyles } from "@emotion/react";
8
10
  import { ReactElement, ReactNode } from "react";
9
-
10
11
  //#region src/components/TagPicker/TagPicker.d.ts
11
12
  type TagPickerProps<T extends TagRow = TagRow> = {
12
- /** `addTag` - Function called when a tag is selected from the dropdown or proposal list */addTag: (tag: T) => void; /** `loading` - Whether the component is loading options for the dropdown */
13
- loading: boolean; /** `offline` - Whether the component has failed to fetch a list of options, indicating either that the service is offline or cannot be reached */
14
- offline?: boolean; /** `onReorder - Function called when a selected tag is moved in the tag table */
15
- onReorder?: (tags: T[]) => void; /** `onReorder - Function called the user enters a query or selects a filter value */
16
- onSearch: (queryText: string, filterValue?: string) => void; /** `options` - The list of options shown in the dropdown */
17
- options: T[]; /** `proposedTags` - A list of "proposed tags" that the user can add */
18
- proposedTags?: T[]; /** `readOnly` - Whether the interactions modifying the list of tags should be disabled */
19
- readOnly?: boolean; /** `addTag` - Function called when a tag is removed from selected tags list */
20
- removeTag: (tag: T) => void; /** `retryConnection - Function called to check if the service to fetch tag options is available again */
21
- retryConnection?: () => void; /** `tags` - The list of selected tags */
22
- tags: T[]; /** `canRemove - A filter function that determines if the user is able to remove the tag from the selected tags */
23
- canRemove?: (tag: T) => boolean; /** `filterRows - A filter function that determines if the tag should be excluded from the selected and proposed tag tables */
24
- filterRows?: (tag: T) => boolean; /** `filterOptions` - the list of options for setting the filter value (second argument of `onSearch`). If omitted, or has only one member, the Select input is not rendered. */
25
- filterOptions?: FilterOption[]; /** `offlineBackupTags` - A list of tags that the user can select if the service is offline */
26
- offlineBackupTags?: T[]; /** `gripIcon` - Icon to indicate that a row can be dragged, used in the accessible drag button */
13
+ /** `addTag` - Function called when a tag is selected from the dropdown or proposal list */
14
+ addTag: (tag: T) => void;
15
+ /** `loading` - Whether the component is loading options for the dropdown */
16
+ loading: boolean;
17
+ /** `offline` - Whether the component has failed to fetch a list of options, indicating either that the service is offline or cannot be reached */
18
+ offline?: boolean;
19
+ /** `onReorder - Function called when a selected tag is moved in the tag table */
20
+ onReorder?: (tags: T[]) => void;
21
+ /** `onReorder - Function called the user enters a query or selects a filter value */
22
+ onSearch: (queryText: string, filterValue?: string) => void;
23
+ /** `options` - The list of options shown in the dropdown */
24
+ options: T[];
25
+ /** `proposedTags` - A list of "proposed tags" that the user can add */
26
+ proposedTags?: T[];
27
+ /** `readOnly` - Whether the interactions modifying the list of tags should be disabled */
28
+ readOnly?: boolean;
29
+ /** `addTag` - Function called when a tag is removed from selected tags list */
30
+ removeTag: (tag: T) => void;
31
+ /** `retryConnection - Function called to check if the service to fetch tag options is available again */
32
+ retryConnection?: () => void;
33
+ /** `tags` - The list of selected tags */
34
+ tags: T[];
35
+ /** `canRemove - A filter function that determines if the user is able to remove the tag from the selected tags */
36
+ canRemove?: (tag: T) => boolean;
37
+ /** `filterRows - A filter function that determines if the tag should be excluded from the selected and proposed tag tables */
38
+ filterRows?: (tag: T) => boolean;
39
+ /** `filterOptions` - the list of options for setting the filter value (second argument of `onSearch`). If omitted, or has only one member, the Select input is not rendered. */
40
+ filterOptions?: FilterOption[];
41
+ /** `offlineBackupTags` - A list of tags that the user can select if the service is offline */
42
+ offlineBackupTags?: T[];
43
+ /** `gripIcon` - Icon to indicate that a row can be dragged, used in the accessible drag button */
27
44
  gripIcon?: ReactElement;
28
45
  /** `testid` - the test id for the Tag picker, defaults to "tag-picker". Is used as a prefix for test id's on the sub components eg:
29
46
  * - "tag-picker-search-input"
@@ -41,12 +58,14 @@ type TagPickerProps<T extends TagRow = TagRow> = {
41
58
  showTagType?: boolean;
42
59
  showTagSectionName?: boolean;
43
60
  proposedTagsHeading?: ReactNode;
44
- proposedTagsSubHeading?: string; /** `theme` - Used to customise the look and feel of the TagPicker component */
61
+ proposedTagsSubHeading?: string;
62
+ /** `theme` - Used to customise the look and feel of the TagPicker component */
45
63
  theme?: DeepPartial<ComponentTagPicker>;
46
64
  tagTableTheme?: DeepPartial<ComponentTagTable>;
47
65
  proposedTagTableTheme?: DeepPartial<ComponentTagTable>;
48
66
  autoCompleteTheme?: DeepPartial<ComponentAutocomplete>;
49
- selectTheme?: DeepPartial<ComponentSelect>; /** `cssOverrides` - Escape hatch for styling that doesn't fall into the theme */
67
+ selectTheme?: DeepPartial<ComponentSelect>;
68
+ /** `cssOverrides` - Escape hatch for styling that doesn't fall into the theme */
50
69
  cssOverrides?: SerializedStyles;
51
70
  };
52
71
  /**
@@ -68,40 +87,6 @@ type TagPickerProps<T extends TagRow = TagRow> = {
68
87
  *
69
88
  * This is currently still in testing phase, so a production implementation is not yet available.
70
89
  */
71
- declare function TagPicker<T extends TagRow = TagRow>({
72
- addTag,
73
- loading,
74
- offline,
75
- onReorder,
76
- onSearch,
77
- options,
78
- proposedTags,
79
- readOnly,
80
- removeTag,
81
- retryConnection,
82
- tags,
83
- canRemove,
84
- filterRows,
85
- filterOptions,
86
- offlineBackupTags,
87
- highlightLeadingTag,
88
- searchPlaceholder,
89
- searchLabel,
90
- removeIcon,
91
- searchIcon,
92
- loadingIcon,
93
- showTagType,
94
- showTagSectionName,
95
- proposedTagsHeading,
96
- proposedTagsSubHeading,
97
- gripIcon,
98
- theme,
99
- tagTableTheme,
100
- proposedTagTableTheme,
101
- autoCompleteTheme,
102
- selectTheme,
103
- cssOverrides,
104
- testId
105
- }: TagPickerProps<T>): import("@emotion/react/jsx-runtime").JSX.Element;
90
+ declare function TagPicker<T extends TagRow = TagRow>({ addTag, loading, offline, onReorder, onSearch, options, proposedTags, readOnly, removeTag, retryConnection, tags, canRemove, filterRows, filterOptions, offlineBackupTags, highlightLeadingTag, searchPlaceholder, searchLabel, removeIcon, searchIcon, loadingIcon, showTagType, showTagSectionName, proposedTagsHeading, proposedTagsSubHeading, gripIcon, theme, tagTableTheme, proposedTagTableTheme, autoCompleteTheme, selectTheme, cssOverrides, testId }: TagPickerProps<T>): import("@emotion/react/jsx-runtime").JSX.Element;
106
91
  //#endregion
107
- export { TagPicker };
92
+ export { TagPicker, TagPickerProps };
@@ -1,29 +1,46 @@
1
1
  import { DeepPartial } from "../../util/types.js";
2
2
  import { ComponentSelect } from "../../styleD/build/typescript/component/select.js";
3
+ import "../../Select.js";
3
4
  import { ComponentAutocomplete } from "../../styleD/build/typescript/component/autocomplete.js";
4
5
  import { ComponentTagTable } from "../../styleD/build/typescript/component/tagTable.js";
5
6
  import { FilterOption, TagRow } from "./types.js";
6
7
  import { ComponentTagPicker } from "../../styleD/build/typescript/component/tagPicker.js";
8
+ import "../../TagPicker.js";
7
9
  import { ReactElement, ReactNode } from "react";
8
10
  import { SerializedStyles } from "@emotion/react";
9
-
10
11
  //#region src/components/TagPicker/TagPicker.d.ts
11
12
  type TagPickerProps<T extends TagRow = TagRow> = {
12
- /** `addTag` - Function called when a tag is selected from the dropdown or proposal list */addTag: (tag: T) => void; /** `loading` - Whether the component is loading options for the dropdown */
13
- loading: boolean; /** `offline` - Whether the component has failed to fetch a list of options, indicating either that the service is offline or cannot be reached */
14
- offline?: boolean; /** `onReorder - Function called when a selected tag is moved in the tag table */
15
- onReorder?: (tags: T[]) => void; /** `onReorder - Function called the user enters a query or selects a filter value */
16
- onSearch: (queryText: string, filterValue?: string) => void; /** `options` - The list of options shown in the dropdown */
17
- options: T[]; /** `proposedTags` - A list of "proposed tags" that the user can add */
18
- proposedTags?: T[]; /** `readOnly` - Whether the interactions modifying the list of tags should be disabled */
19
- readOnly?: boolean; /** `addTag` - Function called when a tag is removed from selected tags list */
20
- removeTag: (tag: T) => void; /** `retryConnection - Function called to check if the service to fetch tag options is available again */
21
- retryConnection?: () => void; /** `tags` - The list of selected tags */
22
- tags: T[]; /** `canRemove - A filter function that determines if the user is able to remove the tag from the selected tags */
23
- canRemove?: (tag: T) => boolean; /** `filterRows - A filter function that determines if the tag should be excluded from the selected and proposed tag tables */
24
- filterRows?: (tag: T) => boolean; /** `filterOptions` - the list of options for setting the filter value (second argument of `onSearch`). If omitted, or has only one member, the Select input is not rendered. */
25
- filterOptions?: FilterOption[]; /** `offlineBackupTags` - A list of tags that the user can select if the service is offline */
26
- offlineBackupTags?: T[]; /** `gripIcon` - Icon to indicate that a row can be dragged, used in the accessible drag button */
13
+ /** `addTag` - Function called when a tag is selected from the dropdown or proposal list */
14
+ addTag: (tag: T) => void;
15
+ /** `loading` - Whether the component is loading options for the dropdown */
16
+ loading: boolean;
17
+ /** `offline` - Whether the component has failed to fetch a list of options, indicating either that the service is offline or cannot be reached */
18
+ offline?: boolean;
19
+ /** `onReorder - Function called when a selected tag is moved in the tag table */
20
+ onReorder?: (tags: T[]) => void;
21
+ /** `onReorder - Function called the user enters a query or selects a filter value */
22
+ onSearch: (queryText: string, filterValue?: string) => void;
23
+ /** `options` - The list of options shown in the dropdown */
24
+ options: T[];
25
+ /** `proposedTags` - A list of "proposed tags" that the user can add */
26
+ proposedTags?: T[];
27
+ /** `readOnly` - Whether the interactions modifying the list of tags should be disabled */
28
+ readOnly?: boolean;
29
+ /** `addTag` - Function called when a tag is removed from selected tags list */
30
+ removeTag: (tag: T) => void;
31
+ /** `retryConnection - Function called to check if the service to fetch tag options is available again */
32
+ retryConnection?: () => void;
33
+ /** `tags` - The list of selected tags */
34
+ tags: T[];
35
+ /** `canRemove - A filter function that determines if the user is able to remove the tag from the selected tags */
36
+ canRemove?: (tag: T) => boolean;
37
+ /** `filterRows - A filter function that determines if the tag should be excluded from the selected and proposed tag tables */
38
+ filterRows?: (tag: T) => boolean;
39
+ /** `filterOptions` - the list of options for setting the filter value (second argument of `onSearch`). If omitted, or has only one member, the Select input is not rendered. */
40
+ filterOptions?: FilterOption[];
41
+ /** `offlineBackupTags` - A list of tags that the user can select if the service is offline */
42
+ offlineBackupTags?: T[];
43
+ /** `gripIcon` - Icon to indicate that a row can be dragged, used in the accessible drag button */
27
44
  gripIcon?: ReactElement;
28
45
  /** `testid` - the test id for the Tag picker, defaults to "tag-picker". Is used as a prefix for test id's on the sub components eg:
29
46
  * - "tag-picker-search-input"
@@ -41,12 +58,14 @@ type TagPickerProps<T extends TagRow = TagRow> = {
41
58
  showTagType?: boolean;
42
59
  showTagSectionName?: boolean;
43
60
  proposedTagsHeading?: ReactNode;
44
- proposedTagsSubHeading?: string; /** `theme` - Used to customise the look and feel of the TagPicker component */
61
+ proposedTagsSubHeading?: string;
62
+ /** `theme` - Used to customise the look and feel of the TagPicker component */
45
63
  theme?: DeepPartial<ComponentTagPicker>;
46
64
  tagTableTheme?: DeepPartial<ComponentTagTable>;
47
65
  proposedTagTableTheme?: DeepPartial<ComponentTagTable>;
48
66
  autoCompleteTheme?: DeepPartial<ComponentAutocomplete>;
49
- selectTheme?: DeepPartial<ComponentSelect>; /** `cssOverrides` - Escape hatch for styling that doesn't fall into the theme */
67
+ selectTheme?: DeepPartial<ComponentSelect>;
68
+ /** `cssOverrides` - Escape hatch for styling that doesn't fall into the theme */
50
69
  cssOverrides?: SerializedStyles;
51
70
  };
52
71
  /**
@@ -68,40 +87,6 @@ type TagPickerProps<T extends TagRow = TagRow> = {
68
87
  *
69
88
  * This is currently still in testing phase, so a production implementation is not yet available.
70
89
  */
71
- declare function TagPicker<T extends TagRow = TagRow>({
72
- addTag,
73
- loading,
74
- offline,
75
- onReorder,
76
- onSearch,
77
- options,
78
- proposedTags,
79
- readOnly,
80
- removeTag,
81
- retryConnection,
82
- tags,
83
- canRemove,
84
- filterRows,
85
- filterOptions,
86
- offlineBackupTags,
87
- highlightLeadingTag,
88
- searchPlaceholder,
89
- searchLabel,
90
- removeIcon,
91
- searchIcon,
92
- loadingIcon,
93
- showTagType,
94
- showTagSectionName,
95
- proposedTagsHeading,
96
- proposedTagsSubHeading,
97
- gripIcon,
98
- theme,
99
- tagTableTheme,
100
- proposedTagTableTheme,
101
- autoCompleteTheme,
102
- selectTheme,
103
- cssOverrides,
104
- testId
105
- }: TagPickerProps<T>): import("@emotion/react/jsx-runtime").JSX.Element;
90
+ declare function TagPicker<T extends TagRow = TagRow>({ addTag, loading, offline, onReorder, onSearch, options, proposedTags, readOnly, removeTag, retryConnection, tags, canRemove, filterRows, filterOptions, offlineBackupTags, highlightLeadingTag, searchPlaceholder, searchLabel, removeIcon, searchIcon, loadingIcon, showTagType, showTagSectionName, proposedTagsHeading, proposedTagsSubHeading, gripIcon, theme, tagTableTheme, proposedTagTableTheme, autoCompleteTheme, selectTheme, cssOverrides, testId }: TagPickerProps<T>): import("@emotion/react/jsx-runtime").JSX.Element;
106
91
  //#endregion
107
- export { TagPicker };
92
+ export { TagPicker, TagPickerProps };
@@ -12,4 +12,4 @@ interface FilterOption {
12
12
  filter: string;
13
13
  }
14
14
  //#endregion
15
- export { FilterOption, TagRow };
15
+ export { FilterOption, Tag, TagRow };
@@ -12,4 +12,4 @@ interface FilterOption {
12
12
  filter: string;
13
13
  }
14
14
  //#endregion
15
- export { FilterOption, TagRow };
15
+ export { FilterOption, Tag, TagRow };
@@ -3,7 +3,6 @@ import { ComponentTagTable } from "../../styleD/build/typescript/component/tagTa
3
3
  import { TagRow } from "../TagPicker/types.cjs";
4
4
  import { SerializedStyles } from "@emotion/react";
5
5
  import { ReactElement, ReactNode } from "react";
6
-
7
6
  //#region src/components/TagTable/TagTable.d.ts
8
7
  type Row = TagRow | {
9
8
  tag: TagRow;
@@ -96,26 +95,6 @@ interface TagTableProps<R extends Row> {
96
95
  *
97
96
  * This is currently still in testing phase, so a production implementation is not yet available.
98
97
  */
99
- declare function TagTable<R extends Row>({
100
- rows,
101
- filterRows,
102
- heading,
103
- subHeading,
104
- showTagType,
105
- showTagSectionName,
106
- highlightFirstRow,
107
- removeAction: removeTag,
108
- addAction: addTag,
109
- onReorder,
110
- canRemove,
111
- 'data-testid': dataTestId,
112
- removeIcon,
113
- gripIcon,
114
- renderCustomControl,
115
- renderWhenEmpty,
116
- headerContent,
117
- theme,
118
- cssOverrides
119
- }: TagTableProps<R>): import("@emotion/react/jsx-runtime").JSX.Element | null;
98
+ declare function TagTable<R extends Row>({ rows, filterRows, heading, subHeading, showTagType, showTagSectionName, highlightFirstRow, removeAction: removeTag, addAction: addTag, onReorder, canRemove, 'data-testid': dataTestId, removeIcon, gripIcon, renderCustomControl, renderWhenEmpty, headerContent, theme, cssOverrides }: TagTableProps<R>): import("@emotion/react/jsx-runtime").JSX.Element | null;
120
99
  //#endregion
121
- export { TagTable };
100
+ export { TagTable, TagTableProps };
@@ -3,7 +3,6 @@ import { ComponentTagTable } from "../../styleD/build/typescript/component/tagTa
3
3
  import { TagRow } from "../TagPicker/types.js";
4
4
  import { ReactElement, ReactNode } from "react";
5
5
  import { SerializedStyles } from "@emotion/react";
6
-
7
6
  //#region src/components/TagTable/TagTable.d.ts
8
7
  type Row = TagRow | {
9
8
  tag: TagRow;
@@ -96,26 +95,6 @@ interface TagTableProps<R extends Row> {
96
95
  *
97
96
  * This is currently still in testing phase, so a production implementation is not yet available.
98
97
  */
99
- declare function TagTable<R extends Row>({
100
- rows,
101
- filterRows,
102
- heading,
103
- subHeading,
104
- showTagType,
105
- showTagSectionName,
106
- highlightFirstRow,
107
- removeAction: removeTag,
108
- addAction: addTag,
109
- onReorder,
110
- canRemove,
111
- 'data-testid': dataTestId,
112
- removeIcon,
113
- gripIcon,
114
- renderCustomControl,
115
- renderWhenEmpty,
116
- headerContent,
117
- theme,
118
- cssOverrides
119
- }: TagTableProps<R>): import("@emotion/react/jsx-runtime").JSX.Element | null;
98
+ declare function TagTable<R extends Row>({ rows, filterRows, heading, subHeading, showTagType, showTagSectionName, highlightFirstRow, removeAction: removeTag, addAction: addTag, onReorder, canRemove, 'data-testid': dataTestId, removeIcon, gripIcon, renderCustomControl, renderWhenEmpty, headerContent, theme, cssOverrides }: TagTableProps<R>): import("@emotion/react/jsx-runtime").JSX.Element | null;
120
99
  //#endregion
121
- export { TagTable };
100
+ export { TagTable, TagTableProps };
@@ -1,12 +1,5 @@
1
1
  import { TextAreaProps } from "./types.cjs";
2
-
3
2
  //#region src/components/TextArea/TextArea.d.ts
4
- declare function TextArea({
5
- size,
6
- isInvalid,
7
- theme,
8
- placeholder,
9
- ...props
10
- }: TextAreaProps): import("@emotion/react/jsx-runtime").JSX.Element;
3
+ declare function TextArea({ size, isInvalid, theme, placeholder, ...props }: TextAreaProps): import("@emotion/react/jsx-runtime").JSX.Element;
11
4
  //#endregion
12
5
  export { TextArea };
@@ -1,12 +1,5 @@
1
1
  import { TextAreaProps } from "./types.js";
2
-
3
2
  //#region src/components/TextArea/TextArea.d.ts
4
- declare function TextArea({
5
- size,
6
- isInvalid,
7
- theme,
8
- placeholder,
9
- ...props
10
- }: TextAreaProps): import("@emotion/react/jsx-runtime").JSX.Element;
3
+ declare function TextArea({ size, isInvalid, theme, placeholder, ...props }: TextAreaProps): import("@emotion/react/jsx-runtime").JSX.Element;
11
4
  //#endregion
12
5
  export { TextArea };
@@ -36,8 +36,8 @@ const textAreaStyles = (theme, { size, isInvalid }) => {
36
36
  }
37
37
 
38
38
  ${isInvalid && _emotion_react.css`
39
- border: ${theme.shared.error.border};
40
- `}
39
+ border: ${theme.shared.error.border};
40
+ `}
41
41
  `;
42
42
  };
43
43
  //#endregion
@@ -1,7 +1,7 @@
1
1
  import { Prettify } from "../../util/types.cjs";
2
2
  import { ComponentTextArea } from "../../styleD/build/typescript/component/textArea.cjs";
3
+ import "./types.cjs";
3
4
  import { SerializedStyles } from "@emotion/react";
4
-
5
5
  //#region src/components/TextArea/styles.d.ts
6
6
  type TextAreaTheme = Prettify<ComponentTextArea>;
7
7
  //#endregion
@@ -1,7 +1,7 @@
1
1
  import { Prettify } from "../../util/types.js";
2
2
  import { ComponentTextArea } from "../../styleD/build/typescript/component/textArea.js";
3
+ import "./types.js";
3
4
  import { SerializedStyles } from "@emotion/react";
4
-
5
5
  //#region src/components/TextArea/styles.d.ts
6
6
  type TextAreaTheme = Prettify<ComponentTextArea>;
7
7
  //#endregion
@@ -36,8 +36,8 @@ const textAreaStyles = (theme, { size, isInvalid }) => {
36
36
  }
37
37
 
38
38
  ${isInvalid && css`
39
- border: ${theme.shared.error.border};
40
- `}
39
+ border: ${theme.shared.error.border};
40
+ `}
41
41
  `;
42
42
  };
43
43
  //#endregion
@@ -1,7 +1,6 @@
1
1
  import { FormInputContainerDefaultProps } from "../Form/types.cjs";
2
2
  import { TextAreaTheme } from "./styles.cjs";
3
3
  import { TextFieldProps } from "react-aria-components";
4
-
5
4
  //#region src/components/TextArea/types.d.ts
6
5
  interface TextAreaProps extends FormInputContainerDefaultProps<TextFieldProps, TextAreaTheme> {
7
6
  /** Temporary text that occupies the text area when it is empty */
@@ -1,7 +1,6 @@
1
1
  import { FormInputContainerDefaultProps } from "../Form/types.js";
2
2
  import { TextAreaTheme } from "./styles.js";
3
3
  import { TextFieldProps } from "react-aria-components";
4
-
5
4
  //#region src/components/TextArea/types.d.ts
6
5
  interface TextAreaProps extends FormInputContainerDefaultProps<TextFieldProps, TextAreaTheme> {
7
6
  /** Temporary text that occupies the text area when it is empty */
@@ -1,12 +1,5 @@
1
1
  import { TextInputProps } from "./types.cjs";
2
-
3
2
  //#region src/components/TextInput/TextInput.d.ts
4
- declare function TextInput({
5
- size,
6
- isInvalid,
7
- theme,
8
- placeholder,
9
- ...props
10
- }: TextInputProps): import("@emotion/react/jsx-runtime").JSX.Element;
3
+ declare function TextInput({ size, isInvalid, theme, placeholder, ...props }: TextInputProps): import("@emotion/react/jsx-runtime").JSX.Element;
11
4
  //#endregion
12
5
  export { TextInput };
@@ -1,12 +1,5 @@
1
1
  import { TextInputProps } from "./types.js";
2
-
3
2
  //#region src/components/TextInput/TextInput.d.ts
4
- declare function TextInput({
5
- size,
6
- isInvalid,
7
- theme,
8
- placeholder,
9
- ...props
10
- }: TextInputProps): import("@emotion/react/jsx-runtime").JSX.Element;
3
+ declare function TextInput({ size, isInvalid, theme, placeholder, ...props }: TextInputProps): import("@emotion/react/jsx-runtime").JSX.Element;
11
4
  //#endregion
12
5
  export { TextInput };