@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
@@ -1,16 +1,5 @@
1
1
  import { AlertBannerProps } from "./types.cjs";
2
-
3
2
  //#region src/components/AlertBanner/AlertBanner.d.ts
4
- declare function AlertBanner({
5
- level,
6
- showIcon,
7
- icon,
8
- closeButtonProps,
9
- children,
10
- theme,
11
- cssOverrides,
12
- className,
13
- ...props
14
- }: AlertBannerProps): import("@emotion/react/jsx-runtime").JSX.Element;
3
+ declare function AlertBanner({ level, showIcon, icon, closeButtonProps, children, theme, cssOverrides, className, ...props }: AlertBannerProps): import("@emotion/react/jsx-runtime").JSX.Element;
15
4
  //#endregion
16
5
  export { AlertBanner };
@@ -1,16 +1,5 @@
1
1
  import { AlertBannerProps } from "./types.js";
2
-
3
2
  //#region src/components/AlertBanner/AlertBanner.d.ts
4
- declare function AlertBanner({
5
- level,
6
- showIcon,
7
- icon,
8
- closeButtonProps,
9
- children,
10
- theme,
11
- cssOverrides,
12
- className,
13
- ...props
14
- }: AlertBannerProps): import("@emotion/react/jsx-runtime").JSX.Element;
3
+ declare function AlertBanner({ level, showIcon, icon, closeButtonProps, children, theme, cssOverrides, className, ...props }: AlertBannerProps): import("@emotion/react/jsx-runtime").JSX.Element;
15
4
  //#endregion
16
5
  export { AlertBanner };
@@ -1,7 +1,7 @@
1
1
  import { Prettify } from "../../util/types.cjs";
2
2
  import { ComponentAlertBanner } from "../../styleD/build/typescript/component/alertBanner.cjs";
3
+ import "./types.cjs";
3
4
  import { SerializedStyles } from "@emotion/react";
4
-
5
5
  //#region src/components/AlertBanner/styles.d.ts
6
6
  type AlertBannerTheme = Prettify<ComponentAlertBanner>;
7
7
  //#endregion
@@ -1,7 +1,7 @@
1
1
  import { Prettify } from "../../util/types.js";
2
2
  import { ComponentAlertBanner } from "../../styleD/build/typescript/component/alertBanner.js";
3
+ import "./types.js";
3
4
  import { SerializedStyles } from "@emotion/react";
4
-
5
5
  //#region src/components/AlertBanner/styles.d.ts
6
6
  type AlertBannerTheme = Prettify<ComponentAlertBanner>;
7
7
  //#endregion
@@ -1,8 +1,9 @@
1
1
  import { DefaultPropsWithChildren, Prettify } from "../../util/types.cjs";
2
2
  import { IconProps } from "../Icon/types.cjs";
3
+ import "../../Icon.cjs";
3
4
  import { IconButtonProps } from "../IconButton/types.cjs";
5
+ import "../../IconButton.cjs";
4
6
  import { AlertBannerTheme } from "./styles.cjs";
5
-
6
7
  //#region src/components/AlertBanner/types.d.ts
7
8
  interface AlertBannerProps extends DefaultPropsWithChildren<AlertBannerTheme> {
8
9
  /**
@@ -1,8 +1,9 @@
1
1
  import { DefaultPropsWithChildren, Prettify } from "../../util/types.js";
2
2
  import { IconProps } from "../Icon/types.js";
3
+ import "../../Icon.js";
3
4
  import { IconButtonProps } from "../IconButton/types.js";
5
+ import "../../IconButton.js";
4
6
  import { AlertBannerTheme } from "./styles.js";
5
-
6
7
  //#region src/components/AlertBanner/types.d.ts
7
8
  interface AlertBannerProps extends DefaultPropsWithChildren<AlertBannerTheme> {
8
9
  /**
@@ -1,15 +1,5 @@
1
1
  import { AvatarProps } from "./types.cjs";
2
-
3
2
  //#region src/components/Avatar/Avatar.d.ts
4
- declare function Avatar({
5
- src,
6
- initials,
7
- alt,
8
- size,
9
- color,
10
- theme,
11
- cssOverrides,
12
- ...props
13
- }: AvatarProps): import("@emotion/react/jsx-runtime").JSX.Element;
3
+ declare function Avatar({ src, initials, alt, size, color, theme, cssOverrides, ...props }: AvatarProps): import("@emotion/react/jsx-runtime").JSX.Element;
14
4
  //#endregion
15
5
  export { Avatar };
@@ -1,15 +1,5 @@
1
1
  import { AvatarProps } from "./types.js";
2
-
3
2
  //#region src/components/Avatar/Avatar.d.ts
4
- declare function Avatar({
5
- src,
6
- initials,
7
- alt,
8
- size,
9
- color,
10
- theme,
11
- cssOverrides,
12
- ...props
13
- }: AvatarProps): import("@emotion/react/jsx-runtime").JSX.Element;
3
+ declare function Avatar({ src, initials, alt, size, color, theme, cssOverrides, ...props }: AvatarProps): import("@emotion/react/jsx-runtime").JSX.Element;
14
4
  //#endregion
15
5
  export { Avatar };
@@ -1,7 +1,7 @@
1
1
  import { DeepPartial, Prettify } from "../../util/types.cjs";
2
2
  import { ComponentAvatar } from "../../styleD/build/typescript/component/avatar.cjs";
3
+ import "./types.cjs";
3
4
  import { SerializedStyles } from "@emotion/react";
4
-
5
5
  //#region src/components/Avatar/styles.d.ts
6
6
  type AvatarTheme = Prettify<ComponentAvatar>;
7
7
  type PartialAvatarTheme = Prettify<DeepPartial<AvatarTheme>>;
@@ -1,7 +1,7 @@
1
1
  import { DeepPartial, Prettify } from "../../util/types.js";
2
2
  import { ComponentAvatar } from "../../styleD/build/typescript/component/avatar.js";
3
+ import "./types.js";
3
4
  import { SerializedStyles } from "@emotion/react";
4
-
5
5
  //#region src/components/Avatar/styles.d.ts
6
6
  type AvatarTheme = Prettify<ComponentAvatar>;
7
7
  type PartialAvatarTheme = Prettify<DeepPartial<AvatarTheme>>;
@@ -1,7 +1,6 @@
1
1
  import { DefaultProps } from "../../util/types.cjs";
2
2
  import { ComponentAvatar } from "../../styleD/build/typescript/component/avatar.cjs";
3
3
  import { AvatarTheme } from "./styles.cjs";
4
-
5
4
  //#region src/components/Avatar/types.d.ts
6
5
  type AvatarColors = keyof ComponentAvatar['shared']['color'];
7
6
  interface AvatarBaseProps extends DefaultProps<AvatarTheme> {
@@ -44,4 +43,4 @@ interface AvatarWithInitials extends AvatarBaseProps {
44
43
  }
45
44
  type AvatarProps = AvatarWithImage | AvatarWithInitials;
46
45
  //#endregion
47
- export { AvatarProps };
46
+ export { AvatarColors, AvatarProps };
@@ -1,7 +1,6 @@
1
1
  import { DefaultProps } from "../../util/types.js";
2
2
  import { ComponentAvatar } from "../../styleD/build/typescript/component/avatar.js";
3
3
  import { AvatarTheme } from "./styles.js";
4
-
5
4
  //#region src/components/Avatar/types.d.ts
6
5
  type AvatarColors = keyof ComponentAvatar['shared']['color'];
7
6
  interface AvatarBaseProps extends DefaultProps<AvatarTheme> {
@@ -44,4 +43,4 @@ interface AvatarWithInitials extends AvatarBaseProps {
44
43
  }
45
44
  type AvatarProps = AvatarWithImage | AvatarWithInitials;
46
45
  //#endregion
47
- export { AvatarProps };
46
+ export { AvatarColors, AvatarProps };
@@ -1,5 +1,4 @@
1
1
  import { AvatarButtonProps } from "./types.cjs";
2
-
3
2
  //#region src/components/AvatarButton/AvatarButton.d.ts
4
3
  declare function AvatarButton(props: AvatarButtonProps): import("@emotion/react/jsx-runtime").JSX.Element;
5
4
  //#endregion
@@ -1,5 +1,4 @@
1
1
  import { AvatarButtonProps } from "./types.js";
2
-
3
2
  //#region src/components/AvatarButton/AvatarButton.d.ts
4
3
  declare function AvatarButton(props: AvatarButtonProps): import("@emotion/react/jsx-runtime").JSX.Element;
5
4
  //#endregion
@@ -1,6 +1,5 @@
1
1
  import { PartialAvatarTheme } from "../Avatar/styles.cjs";
2
2
  import { SerializedStyles } from "@emotion/react";
3
-
4
3
  //#region src/components/AvatarButton/styles.d.ts
5
4
  type PartialAvatarButtonTheme = PartialAvatarTheme;
6
5
  //#endregion
@@ -1,6 +1,5 @@
1
1
  import { PartialAvatarTheme } from "../Avatar/styles.js";
2
2
  import { SerializedStyles } from "@emotion/react";
3
-
4
3
  //#region src/components/AvatarButton/styles.d.ts
5
4
  type PartialAvatarButtonTheme = PartialAvatarTheme;
6
5
  //#endregion
@@ -1,6 +1,5 @@
1
1
  import { AvatarProps } from "../Avatar/types.cjs";
2
2
  import { ButtonProps } from "react-aria-components";
3
-
4
3
  //#region src/components/AvatarButton/types.d.ts
5
4
  type AvatarButtonProps = AvatarProps & Omit<ButtonProps, 'children'>;
6
5
  //#endregion
@@ -1,6 +1,5 @@
1
1
  import { AvatarProps } from "../Avatar/types.js";
2
2
  import { ButtonProps } from "react-aria-components";
3
-
4
3
  //#region src/components/AvatarButton/types.d.ts
5
4
  type AvatarButtonProps = AvatarProps & Omit<ButtonProps, 'children'>;
6
5
  //#endregion
@@ -1,5 +1,4 @@
1
1
  import { AvatarLinkProps } from "./types.cjs";
2
-
3
2
  //#region src/components/AvatarLink/AvatarLink.d.ts
4
3
  declare function AvatarLink(props: AvatarLinkProps): import("@emotion/react/jsx-runtime").JSX.Element;
5
4
  //#endregion
@@ -1,5 +1,4 @@
1
1
  import { AvatarLinkProps } from "./types.js";
2
-
3
2
  //#region src/components/AvatarLink/AvatarLink.d.ts
4
3
  declare function AvatarLink(props: AvatarLinkProps): import("@emotion/react/jsx-runtime").JSX.Element;
5
4
  //#endregion
@@ -1,6 +1,5 @@
1
1
  import { PartialAvatarTheme } from "../Avatar/styles.cjs";
2
2
  import { SerializedStyles } from "@emotion/react";
3
-
4
3
  //#region src/components/AvatarLink/styles.d.ts
5
4
  type PartialAvatarLinkTheme = PartialAvatarTheme;
6
5
  //#endregion
@@ -1,6 +1,5 @@
1
1
  import { PartialAvatarTheme } from "../Avatar/styles.js";
2
2
  import { SerializedStyles } from "@emotion/react";
3
-
4
3
  //#region src/components/AvatarLink/styles.d.ts
5
4
  type PartialAvatarLinkTheme = PartialAvatarTheme;
6
5
  //#endregion
@@ -1,6 +1,5 @@
1
1
  import { AvatarProps } from "../Avatar/types.cjs";
2
2
  import { LinkProps } from "react-aria-components";
3
-
4
3
  //#region src/components/AvatarLink/types.d.ts
5
4
  type AvatarLinkProps = AvatarProps & LinkProps;
6
5
  //#endregion
@@ -1,6 +1,5 @@
1
1
  import { AvatarProps } from "../Avatar/types.js";
2
2
  import { LinkProps } from "react-aria-components";
3
-
4
3
  //#region src/components/AvatarLink/types.d.ts
5
4
  type AvatarLinkProps = AvatarProps & LinkProps;
6
5
  //#endregion
@@ -1,13 +1,5 @@
1
1
  import { ButtonProps } from "./types.cjs";
2
-
3
2
  //#region src/components/Button/Button.d.ts
4
- declare function Button({
5
- variant,
6
- size,
7
- theme,
8
- cssOverrides,
9
- icon,
10
- ...props
11
- }: ButtonProps): import("@emotion/react/jsx-runtime").JSX.Element;
3
+ declare function Button({ variant, size, theme, cssOverrides, icon, ...props }: ButtonProps): import("@emotion/react/jsx-runtime").JSX.Element;
12
4
  //#endregion
13
5
  export { Button };
@@ -1,13 +1,5 @@
1
1
  import { ButtonProps } from "./types.js";
2
-
3
2
  //#region src/components/Button/Button.d.ts
4
- declare function Button({
5
- variant,
6
- size,
7
- theme,
8
- cssOverrides,
9
- icon,
10
- ...props
11
- }: ButtonProps): import("@emotion/react/jsx-runtime").JSX.Element;
3
+ declare function Button({ variant, size, theme, cssOverrides, icon, ...props }: ButtonProps): import("@emotion/react/jsx-runtime").JSX.Element;
12
4
  //#endregion
13
5
  export { Button };
@@ -27,14 +27,14 @@ const buttonStyles = (theme, { size, variant }, hasIcon = false, isIconButton =
27
27
  border-radius: ${theme[variant].shared.borderRadius};
28
28
 
29
29
  ${hasIcon && _emotion_react.css`
30
- padding-left: ${theme[variant][size].padding.withIcon.iconLeft.left};
31
- gap: ${theme[variant][size].icon.gap};
32
- `}
30
+ padding-left: ${theme[variant][size].padding.withIcon.iconLeft.left};
31
+ gap: ${theme[variant][size].icon.gap};
32
+ `}
33
33
 
34
34
  ${isIconButton && _emotion_react.css`
35
- width: ${theme[variant][size].iconButton.width};
36
- padding: 0;
37
- `}
35
+ width: ${theme[variant][size].iconButton.width};
36
+ padding: 0;
37
+ `}
38
38
 
39
39
  &[data-hovered], &:hover {
40
40
  background: ${theme[variant].shared.hover.backgroundColor};
@@ -1,7 +1,7 @@
1
1
  import { DeepPartial, Prettify } from "../../util/types.cjs";
2
2
  import { ComponentButton } from "../../styleD/build/typescript/component/button.cjs";
3
+ import "./types.cjs";
3
4
  import { SerializedStyles } from "@emotion/react";
4
-
5
5
  //#region src/components/Button/styles.d.ts
6
6
  type ButtonTheme = Prettify<ComponentButton>;
7
7
  type PartialButtonTheme = Prettify<DeepPartial<ButtonTheme>>;
@@ -1,7 +1,7 @@
1
1
  import { DeepPartial, Prettify } from "../../util/types.js";
2
2
  import { ComponentButton } from "../../styleD/build/typescript/component/button.js";
3
+ import "./types.js";
3
4
  import { SerializedStyles } from "@emotion/react";
4
-
5
5
  //#region src/components/Button/styles.d.ts
6
6
  type ButtonTheme = Prettify<ComponentButton>;
7
7
  type PartialButtonTheme = Prettify<DeepPartial<ButtonTheme>>;
@@ -27,14 +27,14 @@ const buttonStyles = (theme, { size, variant }, hasIcon = false, isIconButton =
27
27
  border-radius: ${theme[variant].shared.borderRadius};
28
28
 
29
29
  ${hasIcon && css`
30
- padding-left: ${theme[variant][size].padding.withIcon.iconLeft.left};
31
- gap: ${theme[variant][size].icon.gap};
32
- `}
30
+ padding-left: ${theme[variant][size].padding.withIcon.iconLeft.left};
31
+ gap: ${theme[variant][size].icon.gap};
32
+ `}
33
33
 
34
34
  ${isIconButton && css`
35
- width: ${theme[variant][size].iconButton.width};
36
- padding: 0;
37
- `}
35
+ width: ${theme[variant][size].iconButton.width};
36
+ padding: 0;
37
+ `}
38
38
 
39
39
  &[data-hovered], &:hover {
40
40
  background: ${theme[variant].shared.hover.backgroundColor};
@@ -2,7 +2,6 @@ import { DefaultProps } from "../../util/types.cjs";
2
2
  import { IconProps } from "../Icon/types.cjs";
3
3
  import { ButtonTheme } from "./styles.cjs";
4
4
  import { ButtonProps } from "react-aria-components";
5
-
6
5
  //#region src/components/Button/types.d.ts
7
6
  interface ButtonProps$1 extends DefaultProps<ButtonTheme, ButtonProps['className']>, ButtonProps {
8
7
  /**
@@ -2,7 +2,6 @@ import { DefaultProps } from "../../util/types.js";
2
2
  import { IconProps } from "../Icon/types.js";
3
3
  import { ButtonTheme } from "./styles.js";
4
4
  import { ButtonProps } from "react-aria-components";
5
-
6
5
  //#region src/components/Button/types.d.ts
7
6
  interface ButtonProps$1 extends DefaultProps<ButtonTheme, ButtonProps['className']>, ButtonProps {
8
7
  /**
@@ -3,7 +3,7 @@ const require_mergeDeep = require("../../util/mergeDeep.cjs");
3
3
  const require_Button = require("../Button/Button.cjs");
4
4
  const require_styles = require("./styles.cjs");
5
5
  let react = require("react");
6
- react = require_runtime.__toESM(react);
6
+ react = require_runtime.__toESM(react, 1);
7
7
  let _emotion_react_jsx_runtime = require("@emotion/react/jsx-runtime");
8
8
  //#region src/components/ButtonGroup/ButtonGroup.tsx
9
9
  const ButtonGroup = ({ size = "md", theme = {}, children, cssOverrides }) => {
@@ -1,11 +1,5 @@
1
1
  import { ButtonGroupProps } from "./types.cjs";
2
-
3
2
  //#region src/components/ButtonGroup/ButtonGroup.d.ts
4
- declare const ButtonGroup: ({
5
- size,
6
- theme,
7
- children,
8
- cssOverrides
9
- }: ButtonGroupProps) => import("@emotion/react/jsx-runtime").JSX.Element;
3
+ declare const ButtonGroup: ({ size, theme, children, cssOverrides }: ButtonGroupProps) => import("@emotion/react/jsx-runtime").JSX.Element;
10
4
  //#endregion
11
5
  export { ButtonGroup };
@@ -1,11 +1,5 @@
1
1
  import { ButtonGroupProps } from "./types.js";
2
-
3
2
  //#region src/components/ButtonGroup/ButtonGroup.d.ts
4
- declare const ButtonGroup: ({
5
- size,
6
- theme,
7
- children,
8
- cssOverrides
9
- }: ButtonGroupProps) => import("@emotion/react/jsx-runtime").JSX.Element;
3
+ declare const ButtonGroup: ({ size, theme, children, cssOverrides }: ButtonGroupProps) => import("@emotion/react/jsx-runtime").JSX.Element;
10
4
  //#endregion
11
5
  export { ButtonGroup };
@@ -1,7 +1,6 @@
1
1
  import { DeepPartial, Prettify } from "../../util/types.cjs";
2
2
  import { ComponentButtonGroup } from "../../styleD/build/typescript/component/buttonGroup.cjs";
3
3
  import { SerializedStyles } from "@emotion/react";
4
-
5
4
  //#region src/components/ButtonGroup/styles.d.ts
6
5
  type ButtonGroupTheme = Prettify<ComponentButtonGroup>;
7
6
  type PartialButtonGroupTheme = Prettify<DeepPartial<ButtonGroupTheme>>;
@@ -1,7 +1,6 @@
1
1
  import { DeepPartial, Prettify } from "../../util/types.js";
2
2
  import { ComponentButtonGroup } from "../../styleD/build/typescript/component/buttonGroup.js";
3
3
  import { SerializedStyles } from "@emotion/react";
4
-
5
4
  //#region src/components/ButtonGroup/styles.d.ts
6
5
  type ButtonGroupTheme = Prettify<ComponentButtonGroup>;
7
6
  type PartialButtonGroupTheme = Prettify<DeepPartial<ButtonGroupTheme>>;
@@ -1,7 +1,6 @@
1
1
  import { DefaultPropsWithChildren } from "../../util/types.cjs";
2
2
  import { ButtonTheme } from "../Button/styles.cjs";
3
3
  import { ButtonGroupTheme } from "./styles.cjs";
4
-
5
4
  //#region src/components/ButtonGroup/types.d.ts
6
5
  type ButtonGroupProps = DefaultPropsWithChildren<ButtonGroupTheme> & {
7
6
  /**
@@ -1,7 +1,6 @@
1
1
  import { DefaultPropsWithChildren } from "../../util/types.js";
2
2
  import { ButtonTheme } from "../Button/styles.js";
3
3
  import { ButtonGroupTheme } from "./styles.js";
4
-
5
4
  //#region src/components/ButtonGroup/types.d.ts
6
5
  type ButtonGroupProps = DefaultPropsWithChildren<ButtonGroupTheme> & {
7
6
  /**
@@ -2,18 +2,27 @@ import { DeepPartial } from "../../util/types.cjs";
2
2
  import { ComponentByline } from "../../styleD/build/typescript/component/byline.cjs";
3
3
  import { BylineModel, TaggedContributor } from "./lib.cjs";
4
4
  import { FocusEventHandler } from "react";
5
-
6
5
  //#region src/components/Byline/Byline.d.ts
7
6
  type BylineProps = {
8
- /** `theme` - Used to customise the look and feel of the Byline component */theme?: DeepPartial<ComponentByline>; /** `allowUntaggedContributors` - Whether to allow untagged contributors in the byline */
9
- allowUntaggedContributors?: boolean; /** `contributorLimit` - Maximum number of tagged/untagged contributors allowed in the byline */
10
- contributorLimit?: number; /** `enablePreview` - Whether to show the byline preview below the editor */
11
- enablePreview?: boolean; /** `placeholder` - Placeholder text for the byline editor */
12
- placeholder?: string; /** `initialValue` - Initial value for the byline editor */
13
- initialValue?: BylineModel; /** `readOnly` - Whether the byline editor is in read-only mode */
14
- readOnly?: boolean; /** `handleSave` - Callback function to handle saving the byline value */
15
- handleSave: (newValue: BylineModel) => void; /** `searchContributors` - Function to search for contributors based on selected text, results will appear on the dropdown */
16
- searchContributors?: (selectedText: string) => Promise<TaggedContributor[]>; /** `onBlur` - Optional blur event handler for the byline editor */
7
+ /** `theme` - Used to customise the look and feel of the Byline component */
8
+ theme?: DeepPartial<ComponentByline>;
9
+ /** `allowUntaggedContributors` - Whether to allow untagged contributors in the byline */
10
+ allowUntaggedContributors?: boolean;
11
+ /** `contributorLimit` - Maximum number of tagged/untagged contributors allowed in the byline */
12
+ contributorLimit?: number;
13
+ /** `enablePreview` - Whether to show the byline preview below the editor */
14
+ enablePreview?: boolean;
15
+ /** `placeholder` - Placeholder text for the byline editor */
16
+ placeholder?: string;
17
+ /** `initialValue` - Initial value for the byline editor */
18
+ initialValue?: BylineModel;
19
+ /** `readOnly` - Whether the byline editor is in read-only mode */
20
+ readOnly?: boolean;
21
+ /** `handleSave` - Callback function to handle saving the byline value */
22
+ handleSave: (newValue: BylineModel) => void;
23
+ /** `searchContributors` - Function to search for contributors based on selected text, results will appear on the dropdown */
24
+ searchContributors?: (selectedText: string) => Promise<TaggedContributor[]>;
25
+ /** `onBlur` - Optional blur event handler for the byline editor */
17
26
  onBlur?: FocusEventHandler<HTMLDivElement>;
18
27
  };
19
28
  /**
@@ -71,17 +80,6 @@ type BylineProps = {
71
80
  * The `ContentByline` component in `flexible-frontend` has a detailed example of how to use the `Byline` component from Stand.
72
81
  * See [ContentByline.tsx](https://github.com/guardian/flexible-content/blob/1d537615a18ae24a4a5410a3f945b2b9db1dbb47/flexible-frontend/src/app/components/furniture/content-byline/ContentByline.tsx#L72-L205).
73
82
  */
74
- declare const Byline: ({
75
- theme,
76
- allowUntaggedContributors,
77
- contributorLimit,
78
- enablePreview,
79
- placeholder,
80
- initialValue,
81
- readOnly,
82
- handleSave,
83
- searchContributors,
84
- onBlur
85
- }: BylineProps) => import("@emotion/react/jsx-runtime").JSX.Element;
83
+ declare const Byline: ({ theme, allowUntaggedContributors, contributorLimit, enablePreview, placeholder, initialValue, readOnly, handleSave, searchContributors, onBlur }: BylineProps) => import("@emotion/react/jsx-runtime").JSX.Element;
86
84
  //#endregion
87
85
  export { Byline };
@@ -2,18 +2,27 @@ import { DeepPartial } from "../../util/types.js";
2
2
  import { ComponentByline } from "../../styleD/build/typescript/component/byline.js";
3
3
  import { BylineModel, TaggedContributor } from "./lib.js";
4
4
  import { FocusEventHandler } from "react";
5
-
6
5
  //#region src/components/Byline/Byline.d.ts
7
6
  type BylineProps = {
8
- /** `theme` - Used to customise the look and feel of the Byline component */theme?: DeepPartial<ComponentByline>; /** `allowUntaggedContributors` - Whether to allow untagged contributors in the byline */
9
- allowUntaggedContributors?: boolean; /** `contributorLimit` - Maximum number of tagged/untagged contributors allowed in the byline */
10
- contributorLimit?: number; /** `enablePreview` - Whether to show the byline preview below the editor */
11
- enablePreview?: boolean; /** `placeholder` - Placeholder text for the byline editor */
12
- placeholder?: string; /** `initialValue` - Initial value for the byline editor */
13
- initialValue?: BylineModel; /** `readOnly` - Whether the byline editor is in read-only mode */
14
- readOnly?: boolean; /** `handleSave` - Callback function to handle saving the byline value */
15
- handleSave: (newValue: BylineModel) => void; /** `searchContributors` - Function to search for contributors based on selected text, results will appear on the dropdown */
16
- searchContributors?: (selectedText: string) => Promise<TaggedContributor[]>; /** `onBlur` - Optional blur event handler for the byline editor */
7
+ /** `theme` - Used to customise the look and feel of the Byline component */
8
+ theme?: DeepPartial<ComponentByline>;
9
+ /** `allowUntaggedContributors` - Whether to allow untagged contributors in the byline */
10
+ allowUntaggedContributors?: boolean;
11
+ /** `contributorLimit` - Maximum number of tagged/untagged contributors allowed in the byline */
12
+ contributorLimit?: number;
13
+ /** `enablePreview` - Whether to show the byline preview below the editor */
14
+ enablePreview?: boolean;
15
+ /** `placeholder` - Placeholder text for the byline editor */
16
+ placeholder?: string;
17
+ /** `initialValue` - Initial value for the byline editor */
18
+ initialValue?: BylineModel;
19
+ /** `readOnly` - Whether the byline editor is in read-only mode */
20
+ readOnly?: boolean;
21
+ /** `handleSave` - Callback function to handle saving the byline value */
22
+ handleSave: (newValue: BylineModel) => void;
23
+ /** `searchContributors` - Function to search for contributors based on selected text, results will appear on the dropdown */
24
+ searchContributors?: (selectedText: string) => Promise<TaggedContributor[]>;
25
+ /** `onBlur` - Optional blur event handler for the byline editor */
17
26
  onBlur?: FocusEventHandler<HTMLDivElement>;
18
27
  };
19
28
  /**
@@ -71,17 +80,6 @@ type BylineProps = {
71
80
  * The `ContentByline` component in `flexible-frontend` has a detailed example of how to use the `Byline` component from Stand.
72
81
  * See [ContentByline.tsx](https://github.com/guardian/flexible-content/blob/1d537615a18ae24a4a5410a3f945b2b9db1dbb47/flexible-frontend/src/app/components/furniture/content-byline/ContentByline.tsx#L72-L205).
73
82
  */
74
- declare const Byline: ({
75
- theme,
76
- allowUntaggedContributors,
77
- contributorLimit,
78
- enablePreview,
79
- placeholder,
80
- initialValue,
81
- readOnly,
82
- handleSave,
83
- searchContributors,
84
- onBlur
85
- }: BylineProps) => import("@emotion/react/jsx-runtime").JSX.Element;
83
+ declare const Byline: ({ theme, allowUntaggedContributors, contributorLimit, enablePreview, placeholder, initialValue, readOnly, handleSave, searchContributors, onBlur }: BylineProps) => import("@emotion/react/jsx-runtime").JSX.Element;
86
84
  //#endregion
87
85
  export { Byline };
@@ -172,5 +172,7 @@ exports.addTaggedContributor = addTaggedContributor;
172
172
  exports.addUntaggedContributor = addUntaggedContributor;
173
173
  exports.convertBylineModelToNode = convertBylineModelToNode;
174
174
  exports.convertNodeToBylineModel = convertNodeToBylineModel;
175
+ exports.detectNameInText = detectNameInText;
175
176
  exports.getCurrentText = getCurrentText;
176
177
  exports.hasHitContributorLimit = hasHitContributorLimit;
178
+ exports.insertChip = insertChip;
@@ -1,3 +1,6 @@
1
+ import "prosemirror-model";
2
+ import "prosemirror-state";
3
+ import "prosemirror-view";
1
4
  //#region src/components/Byline/lib.d.ts
2
5
  type TaggedContributor = {
3
6
  tagId: string;
@@ -1,4 +1,6 @@
1
+ import "prosemirror-state";
1
2
  import { EditorView } from "prosemirror-view";
3
+ import "prosemirror-model";
2
4
  //#region src/components/Byline/lib.d.ts
3
5
  type TaggedContributor = {
4
6
  tagId: string;
@@ -168,4 +168,4 @@ const convertNodeToBylineModel = (doc) => {
168
168
  return model;
169
169
  };
170
170
  //#endregion
171
- export { addTaggedContributor, addUntaggedContributor, convertBylineModelToNode, convertNodeToBylineModel, getCurrentText, hasHitContributorLimit };
171
+ export { addTaggedContributor, addUntaggedContributor, convertBylineModelToNode, convertNodeToBylineModel, detectNameInText, getCurrentText, hasHitContributorLimit, insertChip };
@@ -1,6 +1,5 @@
1
1
  import { DeepPartial, Prettify } from "../../util/types.cjs";
2
2
  import { ComponentByline } from "../../styleD/build/typescript/component/byline.cjs";
3
-
4
3
  //#region src/components/Byline/theme.d.ts
5
4
  type PartialBylineTheme = Prettify<DeepPartial<ComponentByline>>;
6
5
  //#endregion
@@ -1,6 +1,5 @@
1
1
  import { DeepPartial, Prettify } from "../../util/types.js";
2
2
  import { ComponentByline } from "../../styleD/build/typescript/component/byline.js";
3
-
4
3
  //#region src/components/Byline/theme.d.ts
5
4
  type PartialBylineTheme = Prettify<DeepPartial<ComponentByline>>;
6
5
  //#endregion