@guardian/stand 0.0.59 → 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 (284) hide show
  1. package/dist/HtmlPreviewLoader.cjs +7 -0
  2. package/dist/HtmlPreviewLoader.d.cts +4 -0
  3. package/dist/HtmlPreviewLoader.d.ts +4 -0
  4. package/dist/HtmlPreviewLoader.js +4 -0
  5. package/dist/components/AlertBanner/AlertBanner.d.cts +1 -12
  6. package/dist/components/AlertBanner/AlertBanner.d.ts +1 -12
  7. package/dist/components/AlertBanner/styles.d.cts +1 -1
  8. package/dist/components/AlertBanner/styles.d.ts +1 -1
  9. package/dist/components/AlertBanner/types.d.cts +2 -1
  10. package/dist/components/AlertBanner/types.d.ts +2 -1
  11. package/dist/components/Avatar/Avatar.d.cts +1 -11
  12. package/dist/components/Avatar/Avatar.d.ts +1 -11
  13. package/dist/components/Avatar/styles.d.cts +1 -1
  14. package/dist/components/Avatar/styles.d.ts +1 -1
  15. package/dist/components/Avatar/types.d.cts +1 -2
  16. package/dist/components/Avatar/types.d.ts +1 -2
  17. package/dist/components/AvatarButton/AvatarButton.d.cts +0 -1
  18. package/dist/components/AvatarButton/AvatarButton.d.ts +0 -1
  19. package/dist/components/AvatarButton/styles.d.cts +0 -1
  20. package/dist/components/AvatarButton/styles.d.ts +0 -1
  21. package/dist/components/AvatarButton/types.d.cts +0 -1
  22. package/dist/components/AvatarButton/types.d.ts +0 -1
  23. package/dist/components/AvatarLink/AvatarLink.d.cts +0 -1
  24. package/dist/components/AvatarLink/AvatarLink.d.ts +0 -1
  25. package/dist/components/AvatarLink/styles.d.cts +0 -1
  26. package/dist/components/AvatarLink/styles.d.ts +0 -1
  27. package/dist/components/AvatarLink/types.d.cts +0 -1
  28. package/dist/components/AvatarLink/types.d.ts +0 -1
  29. package/dist/components/Button/Button.d.cts +1 -9
  30. package/dist/components/Button/Button.d.ts +1 -9
  31. package/dist/components/Button/styles.cjs +6 -6
  32. package/dist/components/Button/styles.d.cts +1 -1
  33. package/dist/components/Button/styles.d.ts +1 -1
  34. package/dist/components/Button/styles.js +6 -6
  35. package/dist/components/Button/types.d.cts +0 -1
  36. package/dist/components/Button/types.d.ts +0 -1
  37. package/dist/components/ButtonGroup/ButtonGroup.cjs +1 -1
  38. package/dist/components/ButtonGroup/ButtonGroup.d.cts +1 -7
  39. package/dist/components/ButtonGroup/ButtonGroup.d.ts +1 -7
  40. package/dist/components/ButtonGroup/styles.d.cts +0 -1
  41. package/dist/components/ButtonGroup/styles.d.ts +0 -1
  42. package/dist/components/ButtonGroup/types.d.cts +0 -1
  43. package/dist/components/ButtonGroup/types.d.ts +0 -1
  44. package/dist/components/Byline/Byline.d.cts +20 -22
  45. package/dist/components/Byline/Byline.d.ts +20 -22
  46. package/dist/components/Byline/lib.cjs +2 -0
  47. package/dist/components/Byline/lib.d.cts +3 -0
  48. package/dist/components/Byline/lib.d.ts +2 -0
  49. package/dist/components/Byline/lib.js +1 -1
  50. package/dist/components/Byline/theme.d.cts +0 -1
  51. package/dist/components/Byline/theme.d.ts +0 -1
  52. package/dist/components/Checkbox/Checkbox.d.cts +1 -9
  53. package/dist/components/Checkbox/Checkbox.d.ts +1 -9
  54. package/dist/components/Checkbox/CheckboxGroup.cjs +1 -1
  55. package/dist/components/Checkbox/CheckboxGroup.d.cts +1 -6
  56. package/dist/components/Checkbox/CheckboxGroup.d.ts +1 -6
  57. package/dist/components/Checkbox/styles.cjs +2 -2
  58. package/dist/components/Checkbox/styles.d.cts +1 -1
  59. package/dist/components/Checkbox/styles.d.ts +1 -1
  60. package/dist/components/Checkbox/styles.js +2 -2
  61. package/dist/components/Checkbox/types.d.cts +0 -1
  62. package/dist/components/Checkbox/types.d.ts +0 -1
  63. package/dist/components/DatePicker/DatePicker.d.cts +1 -8
  64. package/dist/components/DatePicker/DatePicker.d.ts +1 -8
  65. package/dist/components/DatePicker/styles.d.cts +0 -1
  66. package/dist/components/DatePicker/styles.d.ts +0 -1
  67. package/dist/components/DatePicker/types.d.cts +1 -1
  68. package/dist/components/DatePicker/types.d.ts +1 -1
  69. package/dist/components/Favicon/Favicon.d.cts +0 -1
  70. package/dist/components/Favicon/Favicon.d.ts +0 -1
  71. package/dist/components/Favicon/styles.d.cts +0 -1
  72. package/dist/components/Favicon/styles.d.ts +0 -1
  73. package/dist/components/Favicon/types.d.cts +0 -1
  74. package/dist/components/Favicon/types.d.ts +0 -1
  75. package/dist/components/Form/styles.cjs +6 -6
  76. package/dist/components/Form/styles.d.cts +1 -1
  77. package/dist/components/Form/styles.d.ts +1 -1
  78. package/dist/components/Form/styles.js +6 -6
  79. package/dist/components/Form/types.d.cts +0 -1
  80. package/dist/components/Form/types.d.ts +0 -1
  81. package/dist/components/Grid/Grid.d.cts +2 -16
  82. package/dist/components/Grid/Grid.d.ts +2 -16
  83. package/dist/components/Grid/styles.d.cts +1 -1
  84. package/dist/components/Grid/styles.d.ts +1 -1
  85. package/dist/components/Grid/types.d.cts +1 -2
  86. package/dist/components/Grid/types.d.ts +1 -2
  87. package/dist/components/HtmlPreviewLoader/HtmlPreview.cjs +99 -0
  88. package/dist/components/HtmlPreviewLoader/HtmlPreview.d.cts +5 -0
  89. package/dist/components/HtmlPreviewLoader/HtmlPreview.d.ts +5 -0
  90. package/dist/components/HtmlPreviewLoader/HtmlPreview.js +99 -0
  91. package/dist/components/HtmlPreviewLoader/HtmlPreviewLoader.cjs +27 -0
  92. package/dist/components/HtmlPreviewLoader/HtmlPreviewLoader.d.cts +5 -0
  93. package/dist/components/HtmlPreviewLoader/HtmlPreviewLoader.d.ts +5 -0
  94. package/dist/components/HtmlPreviewLoader/HtmlPreviewLoader.js +27 -0
  95. package/dist/components/HtmlPreviewLoader/styles.cjs +96 -0
  96. package/dist/components/HtmlPreviewLoader/styles.d.cts +7 -0
  97. package/dist/components/HtmlPreviewLoader/styles.d.ts +7 -0
  98. package/dist/components/HtmlPreviewLoader/styles.js +87 -0
  99. package/dist/components/HtmlPreviewLoader/types.d.cts +27 -0
  100. package/dist/components/HtmlPreviewLoader/types.d.ts +27 -0
  101. package/dist/components/Icon/Icon.d.cts +1 -11
  102. package/dist/components/Icon/Icon.d.ts +1 -11
  103. package/dist/components/Icon/Styles.d.cts +1 -0
  104. package/dist/components/Icon/Styles.d.ts +1 -0
  105. package/dist/components/Icon/types.d.cts +1 -2
  106. package/dist/components/Icon/types.d.ts +1 -2
  107. package/dist/components/IconButton/IconButton.d.cts +1 -10
  108. package/dist/components/IconButton/IconButton.d.ts +1 -10
  109. package/dist/components/IconButton/styles.d.cts +1 -0
  110. package/dist/components/IconButton/styles.d.ts +1 -0
  111. package/dist/components/IconButton/types.d.cts +0 -1
  112. package/dist/components/IconButton/types.d.ts +0 -1
  113. package/dist/components/IconLinkButton/IconLinkButton.d.cts +1 -10
  114. package/dist/components/IconLinkButton/IconLinkButton.d.ts +1 -10
  115. package/dist/components/IconLinkButton/styles.d.cts +1 -0
  116. package/dist/components/IconLinkButton/styles.d.ts +1 -0
  117. package/dist/components/IconLinkButton/types.d.cts +0 -1
  118. package/dist/components/IconLinkButton/types.d.ts +0 -1
  119. package/dist/components/InlineMessage/InlineMessage.d.cts +1 -12
  120. package/dist/components/InlineMessage/InlineMessage.d.ts +1 -12
  121. package/dist/components/InlineMessage/styles.d.cts +1 -1
  122. package/dist/components/InlineMessage/styles.d.ts +1 -1
  123. package/dist/components/InlineMessage/types.d.cts +0 -1
  124. package/dist/components/InlineMessage/types.d.ts +0 -1
  125. package/dist/components/IntendedAudienceSignifier/IntendedAudienceSignifier.d.cts +1 -9
  126. package/dist/components/IntendedAudienceSignifier/IntendedAudienceSignifier.d.ts +1 -9
  127. package/dist/components/IntendedAudienceSignifier/styles.d.cts +0 -1
  128. package/dist/components/IntendedAudienceSignifier/styles.d.ts +0 -1
  129. package/dist/components/IntendedAudienceSignifier/types.d.cts +0 -1
  130. package/dist/components/IntendedAudienceSignifier/types.d.ts +0 -1
  131. package/dist/components/IntendedAudienceSignifier/utils.d.cts +1 -2
  132. package/dist/components/IntendedAudienceSignifier/utils.d.ts +1 -2
  133. package/dist/components/Layout/Layout.d.cts +0 -1
  134. package/dist/components/Layout/Layout.d.ts +0 -1
  135. package/dist/components/Layout/styles.cjs +24 -24
  136. package/dist/components/Layout/styles.d.cts +1 -1
  137. package/dist/components/Layout/styles.d.ts +1 -1
  138. package/dist/components/Layout/styles.js +24 -24
  139. package/dist/components/Layout/types.d.cts +0 -1
  140. package/dist/components/Layout/types.d.ts +0 -1
  141. package/dist/components/Link/Link.d.cts +1 -9
  142. package/dist/components/Link/Link.d.ts +1 -9
  143. package/dist/components/Link/styles.d.cts +0 -1
  144. package/dist/components/Link/styles.d.ts +0 -1
  145. package/dist/components/Link/types.d.cts +0 -1
  146. package/dist/components/Link/types.d.ts +0 -1
  147. package/dist/components/LinkButton/LinkButton.d.cts +1 -9
  148. package/dist/components/LinkButton/LinkButton.d.ts +1 -9
  149. package/dist/components/LinkButton/Styles.d.cts +1 -0
  150. package/dist/components/LinkButton/Styles.d.ts +1 -0
  151. package/dist/components/LinkButton/types.d.cts +0 -1
  152. package/dist/components/LinkButton/types.d.ts +0 -1
  153. package/dist/components/Menu/Menu.cjs +1 -1
  154. package/dist/components/Menu/Menu.d.cts +5 -36
  155. package/dist/components/Menu/Menu.d.ts +5 -36
  156. package/dist/components/Menu/styles.d.cts +1 -1
  157. package/dist/components/Menu/styles.d.ts +1 -1
  158. package/dist/components/Menu/types.d.cts +0 -1
  159. package/dist/components/Menu/types.d.ts +0 -1
  160. package/dist/components/Modal/Modal.cjs +1 -1
  161. package/dist/components/Modal/Modal.d.cts +1 -7
  162. package/dist/components/Modal/Modal.d.ts +1 -7
  163. package/dist/components/Modal/styles.d.cts +0 -1
  164. package/dist/components/Modal/styles.d.ts +0 -1
  165. package/dist/components/Modal/types.d.cts +0 -1
  166. package/dist/components/Modal/types.d.ts +0 -1
  167. package/dist/components/RadioGroup/RadioGroup.cjs +1 -1
  168. package/dist/components/RadioGroup/RadioGroup.d.cts +2 -16
  169. package/dist/components/RadioGroup/RadioGroup.d.ts +2 -16
  170. package/dist/components/RadioGroup/styles.cjs +2 -2
  171. package/dist/components/RadioGroup/styles.d.cts +1 -1
  172. package/dist/components/RadioGroup/styles.d.ts +1 -1
  173. package/dist/components/RadioGroup/styles.js +2 -2
  174. package/dist/components/RadioGroup/types.d.cts +0 -1
  175. package/dist/components/RadioGroup/types.d.ts +0 -1
  176. package/dist/components/Select/Select.cjs +1 -1
  177. package/dist/components/Select/Select.d.cts +2 -15
  178. package/dist/components/Select/Select.d.ts +2 -15
  179. package/dist/components/Select/styles.d.cts +0 -1
  180. package/dist/components/Select/styles.d.ts +0 -1
  181. package/dist/components/Select/types.d.cts +0 -1
  182. package/dist/components/Select/types.d.ts +0 -1
  183. package/dist/components/Tabs/Tabs.cjs +1 -1
  184. package/dist/components/Tabs/Tabs.d.cts +0 -1
  185. package/dist/components/Tabs/Tabs.d.ts +0 -1
  186. package/dist/components/Tabs/styles.cjs +34 -34
  187. package/dist/components/Tabs/styles.d.cts +1 -1
  188. package/dist/components/Tabs/styles.d.ts +1 -1
  189. package/dist/components/Tabs/styles.js +34 -34
  190. package/dist/components/Tabs/types.d.cts +0 -1
  191. package/dist/components/Tabs/types.d.ts +0 -1
  192. package/dist/components/TagPicker/Autocomplete.d.cts +3 -19
  193. package/dist/components/TagPicker/Autocomplete.d.ts +3 -19
  194. package/dist/components/TagPicker/TagPicker.d.cts +39 -54
  195. package/dist/components/TagPicker/TagPicker.d.ts +39 -54
  196. package/dist/components/TagPicker/types.d.cts +1 -1
  197. package/dist/components/TagPicker/types.d.ts +1 -1
  198. package/dist/components/TagTable/TagTable.d.cts +2 -23
  199. package/dist/components/TagTable/TagTable.d.ts +2 -23
  200. package/dist/components/TextArea/TextArea.d.cts +1 -8
  201. package/dist/components/TextArea/TextArea.d.ts +1 -8
  202. package/dist/components/TextArea/styles.cjs +2 -2
  203. package/dist/components/TextArea/styles.d.cts +1 -1
  204. package/dist/components/TextArea/styles.d.ts +1 -1
  205. package/dist/components/TextArea/styles.js +2 -2
  206. package/dist/components/TextArea/types.d.cts +0 -1
  207. package/dist/components/TextArea/types.d.ts +0 -1
  208. package/dist/components/TextInput/TextInput.d.cts +1 -8
  209. package/dist/components/TextInput/TextInput.d.ts +1 -8
  210. package/dist/components/TextInput/styles.cjs +2 -2
  211. package/dist/components/TextInput/styles.d.cts +1 -1
  212. package/dist/components/TextInput/styles.d.ts +1 -1
  213. package/dist/components/TextInput/styles.js +2 -2
  214. package/dist/components/TextInput/types.d.cts +0 -1
  215. package/dist/components/TextInput/types.d.ts +0 -1
  216. package/dist/components/TopBar/TopBar.cjs +1 -1
  217. package/dist/components/TopBar/TopBar.d.cts +3 -17
  218. package/dist/components/TopBar/TopBar.d.ts +3 -17
  219. package/dist/components/TopBar/TopBarItem/TopBarItem.d.cts +1 -11
  220. package/dist/components/TopBar/TopBarItem/TopBarItem.d.ts +1 -11
  221. package/dist/components/TopBar/TopBarItem/styles.cjs +7 -7
  222. package/dist/components/TopBar/TopBarItem/styles.d.cts +1 -1
  223. package/dist/components/TopBar/TopBarItem/styles.d.ts +1 -1
  224. package/dist/components/TopBar/TopBarItem/styles.js +7 -7
  225. package/dist/components/TopBar/TopBarItem/types.d.cts +0 -1
  226. package/dist/components/TopBar/TopBarItem/types.d.ts +0 -1
  227. package/dist/components/TopBar/TopBarNavigation/TopBarNavigation.d.cts +1 -17
  228. package/dist/components/TopBar/TopBarNavigation/TopBarNavigation.d.ts +1 -17
  229. package/dist/components/TopBar/TopBarNavigation/styles.cjs +30 -30
  230. package/dist/components/TopBar/TopBarNavigation/styles.d.cts +1 -1
  231. package/dist/components/TopBar/TopBarNavigation/styles.d.ts +1 -1
  232. package/dist/components/TopBar/TopBarNavigation/styles.js +30 -30
  233. package/dist/components/TopBar/TopBarNavigation/types.d.cts +0 -1
  234. package/dist/components/TopBar/TopBarNavigation/types.d.ts +0 -1
  235. package/dist/components/TopBar/TopBarToolName/TopBarToolName.d.cts +1 -6
  236. package/dist/components/TopBar/TopBarToolName/TopBarToolName.d.ts +1 -6
  237. package/dist/components/TopBar/TopBarToolName/styles.d.cts +1 -1
  238. package/dist/components/TopBar/TopBarToolName/styles.d.ts +1 -1
  239. package/dist/components/TopBar/TopBarToolName/types.d.cts +0 -1
  240. package/dist/components/TopBar/TopBarToolName/types.d.ts +0 -1
  241. package/dist/components/TopBar/styles.cjs +10 -10
  242. package/dist/components/TopBar/styles.d.cts +0 -1
  243. package/dist/components/TopBar/styles.d.ts +0 -1
  244. package/dist/components/TopBar/styles.js +10 -10
  245. package/dist/components/TopBar/types.d.cts +0 -1
  246. package/dist/components/TopBar/types.d.ts +0 -1
  247. package/dist/components/Typography/Typography.d.cts +1 -9
  248. package/dist/components/Typography/Typography.d.ts +1 -9
  249. package/dist/components/Typography/styles.d.cts +1 -1
  250. package/dist/components/Typography/styles.d.ts +1 -1
  251. package/dist/components/Typography/types.d.cts +0 -1
  252. package/dist/components/Typography/types.d.ts +0 -1
  253. package/dist/components/UserMenu/UserMenu.d.cts +2 -12
  254. package/dist/components/UserMenu/UserMenu.d.ts +2 -12
  255. package/dist/components/UserMenu/model.d.cts +0 -1
  256. package/dist/components/UserMenu/model.d.ts +0 -1
  257. package/dist/styleD/build/css/base/sizing.css +2 -0
  258. package/dist/styleD/build/css/component/htmlPreviewLoader.css +22 -0
  259. package/dist/styleD/build/css/component/icon.css +1 -0
  260. package/dist/styleD/build/css/component/previewFrame.css +10 -0
  261. package/dist/styleD/build/css/semantic/sizing.css +1 -0
  262. package/dist/styleD/build/typescript/base/sizing.cjs +2 -0
  263. package/dist/styleD/build/typescript/base/sizing.d.cts +2 -0
  264. package/dist/styleD/build/typescript/base/sizing.d.ts +2 -0
  265. package/dist/styleD/build/typescript/base/sizing.js +2 -0
  266. package/dist/styleD/build/typescript/component/htmlPreviewLoader.cjs +30 -0
  267. package/dist/styleD/build/typescript/component/htmlPreviewLoader.d.cts +33 -0
  268. package/dist/styleD/build/typescript/component/htmlPreviewLoader.d.ts +33 -0
  269. package/dist/styleD/build/typescript/component/htmlPreviewLoader.js +30 -0
  270. package/dist/styleD/build/typescript/component/icon.cjs +1 -0
  271. package/dist/styleD/build/typescript/component/icon.d.cts +3 -0
  272. package/dist/styleD/build/typescript/component/icon.d.ts +3 -0
  273. package/dist/styleD/build/typescript/component/icon.js +1 -0
  274. package/dist/styleD/build/typescript/semantic/sizing.cjs +1 -0
  275. package/dist/styleD/build/typescript/semantic/sizing.d.cts +1 -0
  276. package/dist/styleD/build/typescript/semantic/sizing.d.ts +1 -0
  277. package/dist/styleD/build/typescript/semantic/sizing.js +1 -0
  278. package/dist/styleD/utils/semantic/mq.d.cts +0 -1
  279. package/dist/styleD/utils/semantic/mq.d.ts +0 -1
  280. package/dist/styleD/utils/semantic/typography.d.cts +0 -1
  281. package/dist/styleD/utils/semantic/typography.d.ts +0 -1
  282. package/dist/util/types.d.cts +2 -3
  283. package/dist/util/types.d.ts +2 -3
  284. package/package.json +31 -18
@@ -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 };
@@ -36,8 +36,8 @@ const textInputStyles = (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 { ComponentTextInput } from "../../styleD/build/typescript/component/textInput.cjs";
3
+ import "./types.cjs";
3
4
  import { SerializedStyles } from "@emotion/react";
4
-
5
5
  //#region src/components/TextInput/styles.d.ts
6
6
  type TextInputTheme = Prettify<ComponentTextInput>;
7
7
  //#endregion
@@ -1,7 +1,7 @@
1
1
  import { Prettify } from "../../util/types.js";
2
2
  import { ComponentTextInput } from "../../styleD/build/typescript/component/textInput.js";
3
+ import "./types.js";
3
4
  import { SerializedStyles } from "@emotion/react";
4
-
5
5
  //#region src/components/TextInput/styles.d.ts
6
6
  type TextInputTheme = Prettify<ComponentTextInput>;
7
7
  //#endregion
@@ -36,8 +36,8 @@ const textInputStyles = (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 { TextInputTheme } from "./styles.cjs";
3
3
  import { TextFieldProps } from "react-aria-components";
4
-
5
4
  //#region src/components/TextInput/types.d.ts
6
5
  interface TextInputProps extends FormInputContainerDefaultProps<TextFieldProps, TextInputTheme> {
7
6
  /** Temporary text that occupies the text input when it is empty */
@@ -1,7 +1,6 @@
1
1
  import { FormInputContainerDefaultProps } from "../Form/types.js";
2
2
  import { TextInputTheme } from "./styles.js";
3
3
  import { TextFieldProps } from "react-aria-components";
4
-
5
4
  //#region src/components/TextInput/types.d.ts
6
5
  interface TextInputProps extends FormInputContainerDefaultProps<TextFieldProps, TextInputTheme> {
7
6
  /** Temporary text that occupies the text input when it is empty */
@@ -10,7 +10,7 @@ const require_TopBarNavigation = require("./TopBarNavigation/TopBarNavigation.cj
10
10
  const require_useResize = require("../../util/useResize.cjs");
11
11
  const require_styles = require("./styles.cjs");
12
12
  let react = require("react");
13
- react = require_runtime.__toESM(react);
13
+ react = require_runtime.__toESM(react, 1);
14
14
  let _emotion_react_jsx_runtime = require("@emotion/react/jsx-runtime");
15
15
  let react_aria_components = require("react-aria-components");
16
16
  //#region src/components/TopBar/TopBar.tsx
@@ -1,28 +1,14 @@
1
1
  import { TopBarTheme } from "./styles.cjs";
2
2
  import { TopBarProps } from "./types.cjs";
3
-
4
3
  //#region src/components/TopBar/TopBar.d.ts
5
- declare function TopBarContainerRight({
6
- children,
7
- theme
8
- }: {
4
+ declare function TopBarContainerRight({ children, theme }: {
9
5
  children: TopBarProps['children'];
10
6
  theme?: TopBarTheme;
11
7
  }): import("@emotion/react/jsx-runtime").JSX.Element;
12
- declare function TopBarContainerLeft({
13
- children,
14
- theme
15
- }: {
8
+ declare function TopBarContainerLeft({ children, theme }: {
16
9
  children: TopBarProps['children'];
17
10
  theme?: TopBarTheme;
18
11
  }): import("@emotion/react/jsx-runtime").JSX.Element;
19
- declare function TopBar({
20
- children,
21
- collapseBelow,
22
- theme,
23
- cssOverrides,
24
- className,
25
- ...props
26
- }: TopBarProps): import("@emotion/react/jsx-runtime").JSX.Element;
12
+ declare function TopBar({ children, collapseBelow, theme, cssOverrides, className, ...props }: TopBarProps): import("@emotion/react/jsx-runtime").JSX.Element;
27
13
  //#endregion
28
14
  export { TopBar, TopBarContainerLeft, TopBarContainerRight };
@@ -1,28 +1,14 @@
1
1
  import { TopBarTheme } from "./styles.js";
2
2
  import { TopBarProps } from "./types.js";
3
-
4
3
  //#region src/components/TopBar/TopBar.d.ts
5
- declare function TopBarContainerRight({
6
- children,
7
- theme
8
- }: {
4
+ declare function TopBarContainerRight({ children, theme }: {
9
5
  children: TopBarProps['children'];
10
6
  theme?: TopBarTheme;
11
7
  }): import("@emotion/react/jsx-runtime").JSX.Element;
12
- declare function TopBarContainerLeft({
13
- children,
14
- theme
15
- }: {
8
+ declare function TopBarContainerLeft({ children, theme }: {
16
9
  children: TopBarProps['children'];
17
10
  theme?: TopBarTheme;
18
11
  }): import("@emotion/react/jsx-runtime").JSX.Element;
19
- declare function TopBar({
20
- children,
21
- collapseBelow,
22
- theme,
23
- cssOverrides,
24
- className,
25
- ...props
26
- }: TopBarProps): import("@emotion/react/jsx-runtime").JSX.Element;
12
+ declare function TopBar({ children, collapseBelow, theme, cssOverrides, className, ...props }: TopBarProps): import("@emotion/react/jsx-runtime").JSX.Element;
27
13
  //#endregion
28
14
  export { TopBar, TopBarContainerLeft, TopBarContainerRight };
@@ -1,15 +1,5 @@
1
1
  import { TopBarItemProps } from "./types.cjs";
2
-
3
2
  //#region src/components/TopBar/TopBarItem/TopBarItem.d.ts
4
- declare function TopBarItem({
5
- children,
6
- alignment,
7
- theme,
8
- cssOverrides,
9
- className,
10
- size,
11
- _menuOpen,
12
- ...props
13
- }: TopBarItemProps): import("@emotion/react/jsx-runtime").JSX.Element;
3
+ declare function TopBarItem({ children, alignment, theme, cssOverrides, className, size, _menuOpen, ...props }: TopBarItemProps): import("@emotion/react/jsx-runtime").JSX.Element;
14
4
  //#endregion
15
5
  export { TopBarItem };
@@ -1,15 +1,5 @@
1
1
  import { TopBarItemProps } from "./types.js";
2
-
3
2
  //#region src/components/TopBar/TopBarItem/TopBarItem.d.ts
4
- declare function TopBarItem({
5
- children,
6
- alignment,
7
- theme,
8
- cssOverrides,
9
- className,
10
- size,
11
- _menuOpen,
12
- ...props
13
- }: TopBarItemProps): import("@emotion/react/jsx-runtime").JSX.Element;
3
+ declare function TopBarItem({ children, alignment, theme, cssOverrides, className, size, _menuOpen, ...props }: TopBarItemProps): import("@emotion/react/jsx-runtime").JSX.Element;
14
4
  //#endregion
15
5
  export { TopBarItem };