@govuk-react/primitives 0.2.0 → 0.3.0

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 (267) hide show
  1. package/README.md +100 -25
  2. package/dist/{accordion-element.d.ts → accordion/element.d.ts} +5 -5
  3. package/dist/accordion/element.js +302 -0
  4. package/dist/accordion/element.js.map +1 -0
  5. package/dist/accordion/index.d.ts +70 -0
  6. package/dist/accordion/index.js +140 -0
  7. package/dist/accordion/index.js.map +1 -0
  8. package/dist/auto-focus/element.d.ts +1 -0
  9. package/dist/auto-focus/element.js +75 -0
  10. package/dist/auto-focus/element.js.map +1 -0
  11. package/dist/auto-focus/index.d.ts +15 -0
  12. package/dist/auto-focus/index.js +39 -0
  13. package/dist/auto-focus/index.js.map +1 -0
  14. package/dist/{autocomplete-element.d.ts → autocomplete/element.d.ts} +11 -11
  15. package/dist/autocomplete/element.js +597 -0
  16. package/dist/autocomplete/element.js.map +1 -0
  17. package/dist/{index-D7lMYMUR.d.ts → autocomplete/index.d.ts} +39 -62
  18. package/dist/autocomplete/index.js +100 -0
  19. package/dist/autocomplete/index.js.map +1 -0
  20. package/dist/button/element.d.ts +1 -0
  21. package/dist/button/element.js +59 -0
  22. package/dist/button/element.js.map +1 -0
  23. package/dist/button/index.d.ts +10 -0
  24. package/dist/button/index.js +9 -0
  25. package/dist/button/index.js.map +1 -0
  26. package/dist/character-count/element.d.ts +12 -0
  27. package/dist/character-count/element.js +287 -0
  28. package/dist/character-count/element.js.map +1 -0
  29. package/dist/character-count/index.d.ts +57 -0
  30. package/dist/character-count/index.js +79 -0
  31. package/dist/character-count/index.js.map +1 -0
  32. package/dist/character-count/messages.d.ts +20 -0
  33. package/dist/character-count/messages.js +54 -0
  34. package/dist/character-count/messages.js.map +1 -0
  35. package/dist/choices/element.d.ts +10 -0
  36. package/dist/choices/element.js +177 -0
  37. package/dist/choices/element.js.map +1 -0
  38. package/dist/{index-WuGvkTxu.d.ts → choices/index.d.ts} +30 -44
  39. package/dist/choices/index.js +37 -0
  40. package/dist/choices/index.js.map +1 -0
  41. package/dist/{disclosure-element.d.ts → disclosure/element.d.ts} +5 -5
  42. package/dist/disclosure/element.js +132 -0
  43. package/dist/disclosure/element.js.map +1 -0
  44. package/dist/{index-D4Gzyvfu.d.ts → disclosure/index.d.ts} +43 -56
  45. package/dist/disclosure/index.js +76 -0
  46. package/dist/disclosure/index.js.map +1 -0
  47. package/dist/exit-this-page/element.d.ts +19 -0
  48. package/dist/exit-this-page/element.js +200 -0
  49. package/dist/exit-this-page/element.js.map +1 -0
  50. package/dist/{index-qF0jIQCW.d.ts → exit-this-page/index.d.ts} +44 -68
  51. package/dist/exit-this-page/index.js +54 -0
  52. package/dist/exit-this-page/index.js.map +1 -0
  53. package/dist/file-upload/element.d.ts +28 -0
  54. package/dist/file-upload/element.js +270 -0
  55. package/dist/file-upload/element.js.map +1 -0
  56. package/dist/file-upload/index.d.ts +46 -0
  57. package/dist/file-upload/index.js +65 -0
  58. package/dist/file-upload/index.js.map +1 -0
  59. package/dist/focus-links/element.d.ts +1 -0
  60. package/dist/focus-links/element.js +90 -0
  61. package/dist/focus-links/element.js.map +1 -0
  62. package/dist/{index-BR3MAGF8.d.ts → focus-links/index.d.ts} +24 -35
  63. package/dist/focus-links/index.js +7 -0
  64. package/dist/focus-links/index.js.map +1 -0
  65. package/dist/index.d.ts +13 -17
  66. package/dist/index.js +13 -72
  67. package/dist/index.js.map +1 -1
  68. package/dist/inline/accordion-element.js +1 -1
  69. package/dist/inline/auto-focus-element.js +1 -1
  70. package/dist/inline/autocomplete-element.js +1 -1
  71. package/dist/inline/character-count-element.js +1 -1
  72. package/dist/inline/choices-element.js +1 -1
  73. package/dist/inline/disclosure-element.js +1 -1
  74. package/dist/inline/exit-this-page-element.js +1 -1
  75. package/dist/inline/file-upload-element.js +1 -1
  76. package/dist/inline/focus-links-element.js +1 -1
  77. package/dist/inline/modal-element.js +1 -1
  78. package/dist/inline/password-input-element.js +1 -1
  79. package/dist/inline/tabs-element.js +1 -1
  80. package/dist/inline-script/index.d.ts +26 -0
  81. package/dist/inline-script/index.js +31 -0
  82. package/dist/inline-script/index.js.map +1 -0
  83. package/dist/{modal-element.d.ts → modal/element.d.ts} +2 -4
  84. package/dist/modal/element.js +229 -0
  85. package/dist/modal/element.js.map +1 -0
  86. package/dist/modal/index.d.ts +41 -0
  87. package/dist/modal/index.js +145 -0
  88. package/dist/modal/index.js.map +1 -0
  89. package/dist/password-input/element.d.ts +1 -0
  90. package/dist/password-input/element.js +150 -0
  91. package/dist/password-input/element.js.map +1 -0
  92. package/dist/{index-sEHnx4-M.d.ts → password-input/index.d.ts} +33 -49
  93. package/dist/password-input/index.js +37 -0
  94. package/dist/password-input/index.js.map +1 -0
  95. package/dist/styles.css +11 -0
  96. package/dist/{tabs-element.d.ts → tabs/element.d.ts} +5 -5
  97. package/dist/tabs/element.js +423 -0
  98. package/dist/tabs/element.js.map +1 -0
  99. package/dist/tabs/index.d.ts +74 -0
  100. package/dist/tabs/index.js +142 -0
  101. package/dist/tabs/index.js.map +1 -0
  102. package/dist/utils/change-details.d.ts +11 -0
  103. package/dist/utils/change-details.js +3 -0
  104. package/dist/utils/change-details.js.map +1 -0
  105. package/dist/utils/dom.d.ts +9 -0
  106. package/dist/utils/dom.js +27 -0
  107. package/dist/utils/dom.js.map +1 -0
  108. package/dist/utils/on-property-change.d.ts +7 -0
  109. package/dist/utils/on-property-change.js +19 -0
  110. package/dist/utils/on-property-change.js.map +1 -0
  111. package/dist/utils/set-focus.d.ts +11 -0
  112. package/dist/utils/set-focus.js +38 -0
  113. package/dist/utils/set-focus.js.map +1 -0
  114. package/dist/utils/set-up-when-ready.d.ts +6 -0
  115. package/dist/utils/set-up-when-ready.js +16 -0
  116. package/dist/utils/set-up-when-ready.js.map +1 -0
  117. package/dist/utils/slot.d.ts +15 -0
  118. package/dist/utils/slot.js +62 -0
  119. package/dist/utils/slot.js.map +1 -0
  120. package/dist/utils/translation.d.ts +13 -0
  121. package/dist/utils/translation.js +57 -0
  122. package/dist/utils/translation.js.map +1 -0
  123. package/package.json +17 -4
  124. package/dist/accordion-element.js +0 -9
  125. package/dist/accordion-element.js.map +0 -1
  126. package/dist/accordion.d.ts +0 -2
  127. package/dist/accordion.js +0 -34
  128. package/dist/accordion.js.map +0 -1
  129. package/dist/auto-focus-element.d.ts +0 -3
  130. package/dist/auto-focus-element.js +0 -10
  131. package/dist/auto-focus-element.js.map +0 -1
  132. package/dist/auto-focus.d.ts +0 -2
  133. package/dist/auto-focus.js +0 -15
  134. package/dist/auto-focus.js.map +0 -1
  135. package/dist/autocomplete-element.js +0 -12
  136. package/dist/autocomplete-element.js.map +0 -1
  137. package/dist/autocomplete.d.ts +0 -4
  138. package/dist/autocomplete.js +0 -25
  139. package/dist/autocomplete.js.map +0 -1
  140. package/dist/button-element.d.ts +0 -2
  141. package/dist/button-element.js +0 -3
  142. package/dist/button-element.js.map +0 -1
  143. package/dist/button.d.ts +0 -2
  144. package/dist/button.js +0 -12
  145. package/dist/button.js.map +0 -1
  146. package/dist/character-count-element.d.ts +0 -10
  147. package/dist/character-count-element.js +0 -10
  148. package/dist/character-count-element.js.map +0 -1
  149. package/dist/character-count.d.ts +0 -3
  150. package/dist/character-count.js +0 -26
  151. package/dist/character-count.js.map +0 -1
  152. package/dist/choices-element.d.ts +0 -8
  153. package/dist/choices-element.js +0 -9
  154. package/dist/choices-element.js.map +0 -1
  155. package/dist/choices.d.ts +0 -2
  156. package/dist/choices.js +0 -16
  157. package/dist/choices.js.map +0 -1
  158. package/dist/chunk-2IHAQAYF.js +0 -23
  159. package/dist/chunk-2IHAQAYF.js.map +0 -1
  160. package/dist/chunk-2ZJVSNC2.js +0 -31
  161. package/dist/chunk-2ZJVSNC2.js.map +0 -1
  162. package/dist/chunk-47NMY4SS.js +0 -108
  163. package/dist/chunk-47NMY4SS.js.map +0 -1
  164. package/dist/chunk-4XAR4FFG.js +0 -83
  165. package/dist/chunk-4XAR4FFG.js.map +0 -1
  166. package/dist/chunk-5HWRMQK2.js +0 -91
  167. package/dist/chunk-5HWRMQK2.js.map +0 -1
  168. package/dist/chunk-6ZFU4VYW.js +0 -41
  169. package/dist/chunk-6ZFU4VYW.js.map +0 -1
  170. package/dist/chunk-B2I4J5NL.js +0 -264
  171. package/dist/chunk-B2I4J5NL.js.map +0 -1
  172. package/dist/chunk-DPERPCUH.js +0 -188
  173. package/dist/chunk-DPERPCUH.js.map +0 -1
  174. package/dist/chunk-ECYGKE4D.js +0 -168
  175. package/dist/chunk-ECYGKE4D.js.map +0 -1
  176. package/dist/chunk-ESBMTI25.js +0 -11
  177. package/dist/chunk-ESBMTI25.js.map +0 -1
  178. package/dist/chunk-ET7DCQM7.js +0 -133
  179. package/dist/chunk-ET7DCQM7.js.map +0 -1
  180. package/dist/chunk-F5XFC4QJ.js +0 -177
  181. package/dist/chunk-F5XFC4QJ.js.map +0 -1
  182. package/dist/chunk-GVGBDSDN.js +0 -78
  183. package/dist/chunk-GVGBDSDN.js.map +0 -1
  184. package/dist/chunk-IZQ2C4BC.js +0 -351
  185. package/dist/chunk-IZQ2C4BC.js.map +0 -1
  186. package/dist/chunk-L7E6GN2D.js +0 -87
  187. package/dist/chunk-L7E6GN2D.js.map +0 -1
  188. package/dist/chunk-LWIA644X.js +0 -34
  189. package/dist/chunk-LWIA644X.js.map +0 -1
  190. package/dist/chunk-NX4B3NKM.js +0 -35
  191. package/dist/chunk-NX4B3NKM.js.map +0 -1
  192. package/dist/chunk-PNWPGD7B.js +0 -68
  193. package/dist/chunk-PNWPGD7B.js.map +0 -1
  194. package/dist/chunk-QLQ6O7OW.js +0 -111
  195. package/dist/chunk-QLQ6O7OW.js.map +0 -1
  196. package/dist/chunk-RDUPELOK.js +0 -55
  197. package/dist/chunk-RDUPELOK.js.map +0 -1
  198. package/dist/chunk-RPMHI67T.js +0 -104
  199. package/dist/chunk-RPMHI67T.js.map +0 -1
  200. package/dist/chunk-TE4RUYVK.js +0 -97
  201. package/dist/chunk-TE4RUYVK.js.map +0 -1
  202. package/dist/chunk-TJVBFRIE.js +0 -60
  203. package/dist/chunk-TJVBFRIE.js.map +0 -1
  204. package/dist/chunk-U5OKNKYC.js +0 -510
  205. package/dist/chunk-U5OKNKYC.js.map +0 -1
  206. package/dist/chunk-UXJO4AJP.js +0 -290
  207. package/dist/chunk-UXJO4AJP.js.map +0 -1
  208. package/dist/chunk-VNXXENCU.js +0 -39
  209. package/dist/chunk-VNXXENCU.js.map +0 -1
  210. package/dist/chunk-XGK73UCD.js +0 -62
  211. package/dist/chunk-XGK73UCD.js.map +0 -1
  212. package/dist/chunk-XJYLFTYE.js +0 -157
  213. package/dist/chunk-XJYLFTYE.js.map +0 -1
  214. package/dist/chunk-YCESNTXQ.js +0 -241
  215. package/dist/chunk-YCESNTXQ.js.map +0 -1
  216. package/dist/chunk-ZTJLVNR4.js +0 -62
  217. package/dist/chunk-ZTJLVNR4.js.map +0 -1
  218. package/dist/disclosure-element.js +0 -9
  219. package/dist/disclosure-element.js.map +0 -1
  220. package/dist/disclosure.d.ts +0 -2
  221. package/dist/disclosure.js +0 -16
  222. package/dist/disclosure.js.map +0 -1
  223. package/dist/exit-this-page-element.d.ts +0 -22
  224. package/dist/exit-this-page-element.js +0 -13
  225. package/dist/exit-this-page-element.js.map +0 -1
  226. package/dist/exit-this-page.d.ts +0 -3
  227. package/dist/exit-this-page.js +0 -25
  228. package/dist/exit-this-page.js.map +0 -1
  229. package/dist/file-upload-element.d.ts +0 -27
  230. package/dist/file-upload-element.js +0 -14
  231. package/dist/file-upload-element.js.map +0 -1
  232. package/dist/file-upload.d.ts +0 -3
  233. package/dist/file-upload.js +0 -25
  234. package/dist/file-upload.js.map +0 -1
  235. package/dist/focus-links-element.d.ts +0 -3
  236. package/dist/focus-links-element.js +0 -10
  237. package/dist/focus-links-element.js.map +0 -1
  238. package/dist/focus-links.d.ts +0 -2
  239. package/dist/focus-links.js +0 -12
  240. package/dist/focus-links.js.map +0 -1
  241. package/dist/index--FxJgSOS.d.ts +0 -108
  242. package/dist/index-Bul0NJh_.d.ts +0 -310
  243. package/dist/index-CikOyFud.d.ts +0 -54
  244. package/dist/index-D8N5vxTL.d.ts +0 -90
  245. package/dist/index-DMWpkC_d.d.ts +0 -105
  246. package/dist/index-DN7fGMc3.d.ts +0 -20
  247. package/dist/index-DPXR1Yua.d.ts +0 -69
  248. package/dist/inline-script.d.ts +0 -29
  249. package/dist/inline-script.js +0 -63
  250. package/dist/inline-script.js.map +0 -1
  251. package/dist/modal-element.js +0 -11
  252. package/dist/modal-element.js.map +0 -1
  253. package/dist/modal.d.ts +0 -2
  254. package/dist/modal.js +0 -20
  255. package/dist/modal.js.map +0 -1
  256. package/dist/password-input-element.d.ts +0 -3
  257. package/dist/password-input-element.js +0 -9
  258. package/dist/password-input-element.js.map +0 -1
  259. package/dist/password-input.d.ts +0 -2
  260. package/dist/password-input.js +0 -18
  261. package/dist/password-input.js.map +0 -1
  262. package/dist/tabs-element.js +0 -9
  263. package/dist/tabs-element.js.map +0 -1
  264. package/dist/tabs.d.ts +0 -2
  265. package/dist/tabs.js +0 -28
  266. package/dist/tabs.js.map +0 -1
  267. package/dist/translation-BnpO2mN2.d.ts +0 -4
@@ -1,108 +0,0 @@
1
- import * as React from 'react';
2
- import { ComponentProps, ReactNode } from 'react';
3
-
4
- /**
5
- * Shows only the checked radio's panel until the element upgrades, and below its `media`.
6
- * Root renders it inline; under a strict CSP, add it to a stylesheet instead.
7
- */
8
- declare const radiosFallbackCss = "govuk-react-tabs:not([data-upgraded]) [data-tabs-content]:has(> input[data-tabs-fallback]):not(:has(> input:checked)){display:none}";
9
- type BaseRootProps = {
10
- children?: ReactNode;
11
- /** The selected tab's value, to control the tabs. */
12
- value?: string;
13
- /** The tab selected at first, when uncontrolled. Defaults to the first tab. */
14
- defaultValue?: string;
15
- /** Called when the user selects a tab. */
16
- onValueChange?: (value: string) => void;
17
- /**
18
- * When controlled, what happens to a tab the user picked before hydration: "ignore" keeps
19
- * `value`, "report" calls `onValueChange` with the pick so you can adopt it.
20
- */
21
- preHydration?: 'ignore' | 'report';
22
- /** The axis of the arrow keys. */
23
- orientation?: 'horizontal' | 'vertical';
24
- /** The panels' radio group name. Defaults to a generated one. */
25
- name?: string;
26
- /** Only behave as tabs when this media query matches. */
27
- media?: string;
28
- /** Classes added to the element when it upgrades. */
29
- upgradedClass?: string;
30
- /** Classes added to the active item. */
31
- activeItemClass?: string;
32
- /** Classes added to inactive panels. */
33
- hiddenContentClass?: string;
34
- } & Omit<React.HTMLAttributes<HTMLElement>, 'defaultValue' | 'onChange'>;
35
- type RootProps = BaseRootProps;
36
- /** Tabs that are links to every panel without JavaScript. Use `Trigger` and `Content` inside it. */
37
- declare function Root(props: RootProps): React.JSX.Element;
38
- type RadiosRootProps = BaseRootProps & ({
39
- value: string;
40
- } | {
41
- defaultValue: string;
42
- });
43
- /**
44
- * Tabs that switch panels without JavaScript too, through the panels' radios. Use `RadioTrigger`
45
- * and `RadioContent` inside it.
46
- */
47
- declare function RadiosRoot(props: RadiosRootProps): React.JSX.Element;
48
- type PartProps<E extends keyof React.JSX.IntrinsicElements> = ComponentProps<E> & {
49
- /** Render the only child instead, with this part's props merged onto it. */
50
- asChild?: boolean;
51
- };
52
- type ListProps = PartProps<'div'>;
53
- declare function List({ asChild, ...props }: ListProps): React.JSX.Element;
54
- type ItemProps = PartProps<'div'> & {
55
- value: string;
56
- };
57
- /** An optional wrapper around a tab, such as a list item. */
58
- declare function Item({ asChild, value, ...props }: ItemProps): React.JSX.Element;
59
- /** Set by Root. Pass it to a part rendered without a Root, such as in an island. */
60
- type IslandProps = {
61
- /** The panels' radio group name. */
62
- name?: string;
63
- };
64
- type TriggerProps = React.HTMLAttributes<HTMLElement> & {
65
- /** Render the only child instead, with this part's props merged onto it. */
66
- asChild?: boolean;
67
- value: string;
68
- };
69
- /** A tab in a `Root`: a link to its panel. */
70
- declare function Trigger({ asChild, value, ...props }: TriggerProps): React.JSX.Element;
71
- type RadioTriggerProps = TriggerProps & IslandProps;
72
- /** A tab in a `RadiosRoot`: a label for its panel's radio. */
73
- declare function RadioTrigger({ asChild, value, name: nameProp, ...props }: RadioTriggerProps): React.JSX.Element;
74
- type ContentProps = PartProps<'div'> & IslandProps & {
75
- value: string;
76
- /** Whether this panel's radio is checked at first. Defaults to Root's value. */
77
- defaultSelected?: boolean;
78
- };
79
- /** A panel in a `Root`. Its id is its `value`. */
80
- declare function Content(props: ContentProps): React.JSX.Element;
81
- type RadioContentProps = ContentProps;
82
- /** A panel in a `RadiosRoot`, shown without JavaScript only while its radio is checked. Its id is its `value`. */
83
- declare function RadioContent(props: RadioContentProps): React.JSX.Element;
84
-
85
- declare const index_Content: typeof Content;
86
- type index_ContentProps = ContentProps;
87
- declare const index_Item: typeof Item;
88
- type index_ItemProps = ItemProps;
89
- declare const index_List: typeof List;
90
- type index_ListProps = ListProps;
91
- declare const index_RadioContent: typeof RadioContent;
92
- type index_RadioContentProps = RadioContentProps;
93
- declare const index_RadioTrigger: typeof RadioTrigger;
94
- type index_RadioTriggerProps = RadioTriggerProps;
95
- declare const index_RadiosRoot: typeof RadiosRoot;
96
- type index_RadiosRootProps = RadiosRootProps;
97
- declare const index_Root: typeof Root;
98
- type index_RootProps = RootProps;
99
- declare const index_Trigger: typeof Trigger;
100
- type index_TriggerProps = TriggerProps;
101
- declare const index_radiosFallbackCss: typeof radiosFallbackCss;
102
- declare namespace index {
103
- export { index_Content as Content, index_Item as Item, index_List as List, index_RadioContent as RadioContent, index_RadioTrigger as RadioTrigger, index_RadiosRoot as RadiosRoot, index_Root as Root, index_Trigger as Trigger, index_radiosFallbackCss as radiosFallbackCss };
104
- export type { index_ContentProps as ContentProps, index_ItemProps as ItemProps, index_ListProps as ListProps, index_RadioContentProps as RadioContentProps, index_RadioTriggerProps as RadioTriggerProps, index_RadiosRootProps as RadiosRootProps, index_RootProps as RootProps, index_TriggerProps as TriggerProps };
105
- }
106
-
107
- export { Content as C, Item as I, List as L, RadioContent as R, Trigger as T, RadioTrigger as e, RadiosRoot as g, index as i, Root as j, radiosFallbackCss as r };
108
- export type { ContentProps as a, ItemProps as b, ListProps as c, RadioContentProps as d, RadioTriggerProps as f, RadiosRootProps as h, RootProps as k, TriggerProps as l };
@@ -1,310 +0,0 @@
1
- import * as React from 'react';
2
- import { ComponentProps } from 'react';
3
-
4
- type RootProps = React.HTMLAttributes<HTMLElement> & {
5
- /** Don't move focus. */
6
- disabled?: boolean;
7
- };
8
- declare function Root({ disabled, ...props }: RootProps): React.DOMElement<{
9
- disabled: string;
10
- defaultChecked?: boolean;
11
- defaultValue?: string | number | readonly string[];
12
- suppressContentEditableWarning?: boolean;
13
- suppressHydrationWarning?: boolean;
14
- accessKey?: string;
15
- autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | (string & {});
16
- autoFocus?: boolean;
17
- className?: string;
18
- contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only";
19
- contextMenu?: string;
20
- dir?: string;
21
- draggable?: boolean | "true" | "false";
22
- enterKeyHint?: "search" | "enter" | "done" | "go" | "next" | "previous" | "send";
23
- hidden?: boolean;
24
- id?: string;
25
- lang?: string;
26
- nonce?: string;
27
- slot?: string;
28
- spellCheck?: boolean | "true" | "false";
29
- style?: React.CSSProperties;
30
- tabIndex?: number;
31
- title?: string;
32
- translate?: "yes" | "no";
33
- radioGroup?: string;
34
- role?: React.AriaRole;
35
- about?: string;
36
- content?: string;
37
- datatype?: string;
38
- inlist?: any;
39
- prefix?: string;
40
- property?: string;
41
- rel?: string;
42
- resource?: string;
43
- rev?: string;
44
- typeof?: string;
45
- vocab?: string;
46
- autoCorrect?: string;
47
- autoSave?: string;
48
- color?: string;
49
- itemProp?: string;
50
- itemScope?: boolean;
51
- itemType?: string;
52
- itemID?: string;
53
- itemRef?: string;
54
- results?: number;
55
- security?: string;
56
- unselectable?: "off" | "on";
57
- popover?: "" | "auto" | "manual" | "hint";
58
- popoverTargetAction?: "toggle" | "show" | "hide";
59
- popoverTarget?: string;
60
- inert?: boolean;
61
- inputMode?: "search" | "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal";
62
- is?: string;
63
- exportparts?: string;
64
- part?: string;
65
- "aria-activedescendant"?: string;
66
- "aria-atomic"?: boolean | "true" | "false";
67
- "aria-autocomplete"?: "none" | "list" | "inline" | "both";
68
- "aria-braillelabel"?: string;
69
- "aria-brailleroledescription"?: string;
70
- "aria-busy"?: boolean | "true" | "false";
71
- "aria-checked"?: boolean | "true" | "false" | "mixed";
72
- "aria-colcount"?: number;
73
- "aria-colindex"?: number;
74
- "aria-colindextext"?: string;
75
- "aria-colspan"?: number;
76
- "aria-controls"?: string;
77
- "aria-current"?: boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date";
78
- "aria-describedby"?: string;
79
- "aria-description"?: string;
80
- "aria-details"?: string;
81
- "aria-disabled"?: boolean | "true" | "false";
82
- "aria-dropeffect"?: "link" | "none" | "copy" | "execute" | "move" | "popup";
83
- "aria-errormessage"?: string;
84
- "aria-expanded"?: boolean | "true" | "false";
85
- "aria-flowto"?: string;
86
- "aria-grabbed"?: boolean | "true" | "false";
87
- "aria-haspopup"?: boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree";
88
- "aria-hidden"?: boolean | "true" | "false";
89
- "aria-invalid"?: boolean | "true" | "false" | "grammar" | "spelling";
90
- "aria-keyshortcuts"?: string;
91
- "aria-label"?: string;
92
- "aria-labelledby"?: string;
93
- "aria-level"?: number;
94
- "aria-live"?: "off" | "assertive" | "polite";
95
- "aria-modal"?: boolean | "true" | "false";
96
- "aria-multiline"?: boolean | "true" | "false";
97
- "aria-multiselectable"?: boolean | "true" | "false";
98
- "aria-orientation"?: "horizontal" | "vertical";
99
- "aria-owns"?: string;
100
- "aria-placeholder"?: string;
101
- "aria-posinset"?: number;
102
- "aria-pressed"?: boolean | "true" | "false" | "mixed";
103
- "aria-readonly"?: boolean | "true" | "false";
104
- "aria-relevant"?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals";
105
- "aria-required"?: boolean | "true" | "false";
106
- "aria-roledescription"?: string;
107
- "aria-rowcount"?: number;
108
- "aria-rowindex"?: number;
109
- "aria-rowindextext"?: string;
110
- "aria-rowspan"?: number;
111
- "aria-selected"?: boolean | "true" | "false";
112
- "aria-setsize"?: number;
113
- "aria-sort"?: "none" | "ascending" | "descending" | "other";
114
- "aria-valuemax"?: number;
115
- "aria-valuemin"?: number;
116
- "aria-valuenow"?: number;
117
- "aria-valuetext"?: string;
118
- children?: React.ReactNode;
119
- dangerouslySetInnerHTML?: {
120
- __html: string | TrustedHTML;
121
- };
122
- onCopy?: React.ClipboardEventHandler<HTMLElement>;
123
- onCopyCapture?: React.ClipboardEventHandler<HTMLElement>;
124
- onCut?: React.ClipboardEventHandler<HTMLElement>;
125
- onCutCapture?: React.ClipboardEventHandler<HTMLElement>;
126
- onPaste?: React.ClipboardEventHandler<HTMLElement>;
127
- onPasteCapture?: React.ClipboardEventHandler<HTMLElement>;
128
- onCompositionEnd?: React.CompositionEventHandler<HTMLElement>;
129
- onCompositionEndCapture?: React.CompositionEventHandler<HTMLElement>;
130
- onCompositionStart?: React.CompositionEventHandler<HTMLElement>;
131
- onCompositionStartCapture?: React.CompositionEventHandler<HTMLElement>;
132
- onCompositionUpdate?: React.CompositionEventHandler<HTMLElement>;
133
- onCompositionUpdateCapture?: React.CompositionEventHandler<HTMLElement>;
134
- onFocus?: React.FocusEventHandler<HTMLElement>;
135
- onFocusCapture?: React.FocusEventHandler<HTMLElement>;
136
- onBlur?: React.FocusEventHandler<HTMLElement>;
137
- onBlurCapture?: React.FocusEventHandler<HTMLElement>;
138
- onChange?: React.ChangeEventHandler<HTMLElement, Element>;
139
- onChangeCapture?: React.ChangeEventHandler<HTMLElement, Element>;
140
- onBeforeInput?: React.InputEventHandler<HTMLElement>;
141
- onBeforeInputCapture?: React.InputEventHandler<HTMLElement>;
142
- onInput?: React.InputEventHandler<HTMLElement>;
143
- onInputCapture?: React.InputEventHandler<HTMLElement>;
144
- onReset?: React.ReactEventHandler<HTMLElement>;
145
- onResetCapture?: React.ReactEventHandler<HTMLElement>;
146
- onSubmit?: React.SubmitEventHandler<HTMLElement>;
147
- onSubmitCapture?: React.SubmitEventHandler<HTMLElement>;
148
- onInvalid?: React.ReactEventHandler<HTMLElement>;
149
- onInvalidCapture?: React.ReactEventHandler<HTMLElement>;
150
- onLoad?: React.ReactEventHandler<HTMLElement>;
151
- onLoadCapture?: React.ReactEventHandler<HTMLElement>;
152
- onError?: React.ReactEventHandler<HTMLElement>;
153
- onErrorCapture?: React.ReactEventHandler<HTMLElement>;
154
- onKeyDown?: React.KeyboardEventHandler<HTMLElement>;
155
- onKeyDownCapture?: React.KeyboardEventHandler<HTMLElement>;
156
- onKeyPress?: React.KeyboardEventHandler<HTMLElement>;
157
- onKeyPressCapture?: React.KeyboardEventHandler<HTMLElement>;
158
- onKeyUp?: React.KeyboardEventHandler<HTMLElement>;
159
- onKeyUpCapture?: React.KeyboardEventHandler<HTMLElement>;
160
- onAbort?: React.ReactEventHandler<HTMLElement>;
161
- onAbortCapture?: React.ReactEventHandler<HTMLElement>;
162
- onCanPlay?: React.ReactEventHandler<HTMLElement>;
163
- onCanPlayCapture?: React.ReactEventHandler<HTMLElement>;
164
- onCanPlayThrough?: React.ReactEventHandler<HTMLElement>;
165
- onCanPlayThroughCapture?: React.ReactEventHandler<HTMLElement>;
166
- onDurationChange?: React.ReactEventHandler<HTMLElement>;
167
- onDurationChangeCapture?: React.ReactEventHandler<HTMLElement>;
168
- onEmptied?: React.ReactEventHandler<HTMLElement>;
169
- onEmptiedCapture?: React.ReactEventHandler<HTMLElement>;
170
- onEncrypted?: React.ReactEventHandler<HTMLElement>;
171
- onEncryptedCapture?: React.ReactEventHandler<HTMLElement>;
172
- onEnded?: React.ReactEventHandler<HTMLElement>;
173
- onEndedCapture?: React.ReactEventHandler<HTMLElement>;
174
- onLoadedData?: React.ReactEventHandler<HTMLElement>;
175
- onLoadedDataCapture?: React.ReactEventHandler<HTMLElement>;
176
- onLoadedMetadata?: React.ReactEventHandler<HTMLElement>;
177
- onLoadedMetadataCapture?: React.ReactEventHandler<HTMLElement>;
178
- onLoadStart?: React.ReactEventHandler<HTMLElement>;
179
- onLoadStartCapture?: React.ReactEventHandler<HTMLElement>;
180
- onPause?: React.ReactEventHandler<HTMLElement>;
181
- onPauseCapture?: React.ReactEventHandler<HTMLElement>;
182
- onPlay?: React.ReactEventHandler<HTMLElement>;
183
- onPlayCapture?: React.ReactEventHandler<HTMLElement>;
184
- onPlaying?: React.ReactEventHandler<HTMLElement>;
185
- onPlayingCapture?: React.ReactEventHandler<HTMLElement>;
186
- onProgress?: React.ReactEventHandler<HTMLElement>;
187
- onProgressCapture?: React.ReactEventHandler<HTMLElement>;
188
- onRateChange?: React.ReactEventHandler<HTMLElement>;
189
- onRateChangeCapture?: React.ReactEventHandler<HTMLElement>;
190
- onSeeked?: React.ReactEventHandler<HTMLElement>;
191
- onSeekedCapture?: React.ReactEventHandler<HTMLElement>;
192
- onSeeking?: React.ReactEventHandler<HTMLElement>;
193
- onSeekingCapture?: React.ReactEventHandler<HTMLElement>;
194
- onStalled?: React.ReactEventHandler<HTMLElement>;
195
- onStalledCapture?: React.ReactEventHandler<HTMLElement>;
196
- onSuspend?: React.ReactEventHandler<HTMLElement>;
197
- onSuspendCapture?: React.ReactEventHandler<HTMLElement>;
198
- onTimeUpdate?: React.ReactEventHandler<HTMLElement>;
199
- onTimeUpdateCapture?: React.ReactEventHandler<HTMLElement>;
200
- onVolumeChange?: React.ReactEventHandler<HTMLElement>;
201
- onVolumeChangeCapture?: React.ReactEventHandler<HTMLElement>;
202
- onWaiting?: React.ReactEventHandler<HTMLElement>;
203
- onWaitingCapture?: React.ReactEventHandler<HTMLElement>;
204
- onAuxClick?: React.MouseEventHandler<HTMLElement>;
205
- onAuxClickCapture?: React.MouseEventHandler<HTMLElement>;
206
- onClick?: React.MouseEventHandler<HTMLElement>;
207
- onClickCapture?: React.MouseEventHandler<HTMLElement>;
208
- onContextMenu?: React.MouseEventHandler<HTMLElement>;
209
- onContextMenuCapture?: React.MouseEventHandler<HTMLElement>;
210
- onDoubleClick?: React.MouseEventHandler<HTMLElement>;
211
- onDoubleClickCapture?: React.MouseEventHandler<HTMLElement>;
212
- onDrag?: React.DragEventHandler<HTMLElement>;
213
- onDragCapture?: React.DragEventHandler<HTMLElement>;
214
- onDragEnd?: React.DragEventHandler<HTMLElement>;
215
- onDragEndCapture?: React.DragEventHandler<HTMLElement>;
216
- onDragEnter?: React.DragEventHandler<HTMLElement>;
217
- onDragEnterCapture?: React.DragEventHandler<HTMLElement>;
218
- onDragExit?: React.DragEventHandler<HTMLElement>;
219
- onDragExitCapture?: React.DragEventHandler<HTMLElement>;
220
- onDragLeave?: React.DragEventHandler<HTMLElement>;
221
- onDragLeaveCapture?: React.DragEventHandler<HTMLElement>;
222
- onDragOver?: React.DragEventHandler<HTMLElement>;
223
- onDragOverCapture?: React.DragEventHandler<HTMLElement>;
224
- onDragStart?: React.DragEventHandler<HTMLElement>;
225
- onDragStartCapture?: React.DragEventHandler<HTMLElement>;
226
- onDrop?: React.DragEventHandler<HTMLElement>;
227
- onDropCapture?: React.DragEventHandler<HTMLElement>;
228
- onMouseDown?: React.MouseEventHandler<HTMLElement>;
229
- onMouseDownCapture?: React.MouseEventHandler<HTMLElement>;
230
- onMouseEnter?: React.MouseEventHandler<HTMLElement>;
231
- onMouseLeave?: React.MouseEventHandler<HTMLElement>;
232
- onMouseMove?: React.MouseEventHandler<HTMLElement>;
233
- onMouseMoveCapture?: React.MouseEventHandler<HTMLElement>;
234
- onMouseOut?: React.MouseEventHandler<HTMLElement>;
235
- onMouseOutCapture?: React.MouseEventHandler<HTMLElement>;
236
- onMouseOver?: React.MouseEventHandler<HTMLElement>;
237
- onMouseOverCapture?: React.MouseEventHandler<HTMLElement>;
238
- onMouseUp?: React.MouseEventHandler<HTMLElement>;
239
- onMouseUpCapture?: React.MouseEventHandler<HTMLElement>;
240
- onSelect?: React.ReactEventHandler<HTMLElement>;
241
- onSelectCapture?: React.ReactEventHandler<HTMLElement>;
242
- onTouchCancel?: React.TouchEventHandler<HTMLElement>;
243
- onTouchCancelCapture?: React.TouchEventHandler<HTMLElement>;
244
- onTouchEnd?: React.TouchEventHandler<HTMLElement>;
245
- onTouchEndCapture?: React.TouchEventHandler<HTMLElement>;
246
- onTouchMove?: React.TouchEventHandler<HTMLElement>;
247
- onTouchMoveCapture?: React.TouchEventHandler<HTMLElement>;
248
- onTouchStart?: React.TouchEventHandler<HTMLElement>;
249
- onTouchStartCapture?: React.TouchEventHandler<HTMLElement>;
250
- onPointerDown?: React.PointerEventHandler<HTMLElement>;
251
- onPointerDownCapture?: React.PointerEventHandler<HTMLElement>;
252
- onPointerMove?: React.PointerEventHandler<HTMLElement>;
253
- onPointerMoveCapture?: React.PointerEventHandler<HTMLElement>;
254
- onPointerUp?: React.PointerEventHandler<HTMLElement>;
255
- onPointerUpCapture?: React.PointerEventHandler<HTMLElement>;
256
- onPointerCancel?: React.PointerEventHandler<HTMLElement>;
257
- onPointerCancelCapture?: React.PointerEventHandler<HTMLElement>;
258
- onPointerEnter?: React.PointerEventHandler<HTMLElement>;
259
- onPointerLeave?: React.PointerEventHandler<HTMLElement>;
260
- onPointerOver?: React.PointerEventHandler<HTMLElement>;
261
- onPointerOverCapture?: React.PointerEventHandler<HTMLElement>;
262
- onPointerOut?: React.PointerEventHandler<HTMLElement>;
263
- onPointerOutCapture?: React.PointerEventHandler<HTMLElement>;
264
- onGotPointerCapture?: React.PointerEventHandler<HTMLElement>;
265
- onGotPointerCaptureCapture?: React.PointerEventHandler<HTMLElement>;
266
- onLostPointerCapture?: React.PointerEventHandler<HTMLElement>;
267
- onLostPointerCaptureCapture?: React.PointerEventHandler<HTMLElement>;
268
- onScroll?: React.UIEventHandler<HTMLElement>;
269
- onScrollCapture?: React.UIEventHandler<HTMLElement>;
270
- onScrollEnd?: React.UIEventHandler<HTMLElement>;
271
- onScrollEndCapture?: React.UIEventHandler<HTMLElement>;
272
- onWheel?: React.WheelEventHandler<HTMLElement>;
273
- onWheelCapture?: React.WheelEventHandler<HTMLElement>;
274
- onAnimationStart?: React.AnimationEventHandler<HTMLElement>;
275
- onAnimationStartCapture?: React.AnimationEventHandler<HTMLElement>;
276
- onAnimationEnd?: React.AnimationEventHandler<HTMLElement>;
277
- onAnimationEndCapture?: React.AnimationEventHandler<HTMLElement>;
278
- onAnimationIteration?: React.AnimationEventHandler<HTMLElement>;
279
- onAnimationIterationCapture?: React.AnimationEventHandler<HTMLElement>;
280
- onToggle?: React.ToggleEventHandler<HTMLElement>;
281
- onBeforeToggle?: React.ToggleEventHandler<HTMLElement>;
282
- onTransitionCancel?: React.TransitionEventHandler<HTMLElement>;
283
- onTransitionCancelCapture?: React.TransitionEventHandler<HTMLElement>;
284
- onTransitionEnd?: React.TransitionEventHandler<HTMLElement>;
285
- onTransitionEndCapture?: React.TransitionEventHandler<HTMLElement>;
286
- onTransitionRun?: React.TransitionEventHandler<HTMLElement>;
287
- onTransitionRunCapture?: React.TransitionEventHandler<HTMLElement>;
288
- onTransitionStart?: React.TransitionEventHandler<HTMLElement>;
289
- onTransitionStartCapture?: React.TransitionEventHandler<HTMLElement>;
290
- }, Element>;
291
- type TargetProps = ComponentProps<'div'> & {
292
- /** Render the only child instead, with this part's props merged onto it. */
293
- asChild?: boolean;
294
- /** Don't move focus. Pass the same as to `Root`. */
295
- disabled?: boolean;
296
- };
297
- /** What gets focus. */
298
- declare function Target({ asChild, disabled, ...props }: TargetProps): React.JSX.Element;
299
-
300
- declare const index_Root: typeof Root;
301
- type index_RootProps = RootProps;
302
- declare const index_Target: typeof Target;
303
- type index_TargetProps = TargetProps;
304
- declare namespace index {
305
- export { index_Root as Root, index_Target as Target };
306
- export type { index_RootProps as RootProps, index_TargetProps as TargetProps };
307
- }
308
-
309
- export { Root as R, Target as T, index as i };
310
- export type { RootProps as a, TargetProps as b };
@@ -1,54 +0,0 @@
1
- import * as React from 'react';
2
- import { ComponentProps, ReactNode } from 'react';
3
-
4
- type RootProps = Omit<React.HTMLAttributes<HTMLElement>, 'onChange'> & {
5
- children?: ReactNode;
6
- /** Whether the dialog is open, to control it. Without it, the buttons alone open and close it. */
7
- open?: boolean;
8
- /** Called when the dialog opens or closes. */
9
- onOpenChange?: (open: boolean) => void;
10
- /** The dialog's id, which the buttons' `commandfor` names. Defaults to a generated one. */
11
- dialogId?: string;
12
- };
13
- declare function Root({ children, open, onOpenChange, dialogId: dialogIdProp, ...props }: RootProps): React.JSX.Element;
14
- type PartProps<E extends keyof React.JSX.IntrinsicElements> = ComponentProps<E> & {
15
- /** Render the only child instead, with this part's props merged onto it. */
16
- asChild?: boolean;
17
- };
18
- type CommandProps = PartProps<'button'> & {
19
- /** The dialog's id. Set by Root. */
20
- dialogId?: string;
21
- };
22
- type TriggerProps = CommandProps;
23
- /** A button that opens the dialog as a modal. */
24
- declare function Trigger(props: TriggerProps): React.JSX.Element;
25
- type CloseProps = CommandProps;
26
- /** A button that closes the dialog. */
27
- declare function Close(props: CloseProps): React.JSX.Element;
28
- type ContentProps = PartProps<'dialog'>;
29
- /**
30
- * The dialog. It's named by Title, unless you pass `aria-labelledby` or `aria-label`. Pass
31
- * `closedby="any"` to also close it when the user clicks outside it.
32
- */
33
- declare function Content({ asChild, id, onClose, ref, ...props }: ContentProps): React.JSX.Element;
34
- type TitleProps = PartProps<'h2'>;
35
- /** The dialog's heading, which names it. */
36
- declare function Title({ asChild, ...props }: TitleProps): React.JSX.Element;
37
-
38
- declare const index_Close: typeof Close;
39
- type index_CloseProps = CloseProps;
40
- declare const index_Content: typeof Content;
41
- type index_ContentProps = ContentProps;
42
- declare const index_Root: typeof Root;
43
- type index_RootProps = RootProps;
44
- declare const index_Title: typeof Title;
45
- type index_TitleProps = TitleProps;
46
- declare const index_Trigger: typeof Trigger;
47
- type index_TriggerProps = TriggerProps;
48
- declare namespace index {
49
- export { index_Close as Close, index_Content as Content, index_Root as Root, index_Title as Title, index_Trigger as Trigger };
50
- export type { index_CloseProps as CloseProps, index_ContentProps as ContentProps, index_RootProps as RootProps, index_TitleProps as TitleProps, index_TriggerProps as TriggerProps };
51
- }
52
-
53
- export { Close as C, Root as R, Title as T, Content as b, Trigger as f, index as i };
54
- export type { CloseProps as a, ContentProps as c, RootProps as d, TitleProps as e, TriggerProps as g };
@@ -1,90 +0,0 @@
1
- import * as React from 'react';
2
- import { ComponentProps } from 'react';
3
- import { T as Translation } from './translation-BnpO2mN2.js';
4
-
5
- type CountType = 'length' | 'characters' | 'words';
6
- declare const messageNames: readonly ["characters-under-limit", "characters-at-limit", "characters-over-limit", "words-under-limit", "words-at-limit", "words-over-limit"];
7
- type MessageName = (typeof messageNames)[number];
8
- /** Counts the text as govuk-frontend does: UTF-16 code units, characters as users see them, or words. */
9
- declare function countOf(text: string, countType: CountType, locale?: string): number;
10
- /** The message for the number of characters or words left, with its state. */
11
- declare function countMessage(remaining: number, countType: CountType, messages: Partial<Record<MessageName, Translation>>, locale?: string): {
12
- state: string;
13
- text: string;
14
- };
15
-
16
- type RootProps = React.HTMLAttributes<HTMLElement> & {
17
- /** The most characters, or words, the user should enter. Without it there's no count. */
18
- maxLength?: number;
19
- /**
20
- * What to count: "length" (the default) counts UTF-16 code units, as `maxlength` does;
21
- * "characters" counts characters as users see them, such as an emoji as one; "words" counts words.
22
- */
23
- countType?: CountType;
24
- /** The percentage of the limit from which the count is shown. */
25
- threshold?: number;
26
- /** Shown while under the limit. `%{count}` is the number left. */
27
- charactersUnderLimit?: Translation;
28
- /** Shown at the limit. */
29
- charactersAtLimit?: Translation;
30
- /** Shown while over the limit. `%{count}` is the number too many. */
31
- charactersOverLimit?: Translation;
32
- /** Shown while under the limit when counting words. `%{count}` is the number left. */
33
- wordsUnderLimit?: Translation;
34
- /** Shown at the limit when counting words. */
35
- wordsAtLimit?: Translation;
36
- /** Shown while over the limit when counting words. `%{count}` is the number too many. */
37
- wordsOverLimit?: Translation;
38
- /** Classes that visually hide the description once upgraded. Without them, inline styles do. */
39
- hiddenDescriptionClass?: string;
40
- /** Classes for the visible count while within the limit. */
41
- withinLimitClass?: string;
42
- /** Classes for the visible count while over the limit. */
43
- overLimitClass?: string;
44
- /** Classes for the visible count while below `threshold`. */
45
- belowThresholdClass?: string;
46
- /** Classes for the field while over the limit. */
47
- inputOverLimitClass?: string;
48
- };
49
- declare function Root({ maxLength, countType, threshold, charactersUnderLimit, charactersAtLimit, charactersOverLimit, wordsUnderLimit, wordsAtLimit, wordsOverLimit, hiddenDescriptionClass, withinLimitClass, overLimitClass, belowThresholdClass, inputOverLimitClass, ...props }: RootProps): React.JSX.Element;
50
- type PartProps<E extends keyof React.JSX.IntrinsicElements> = ComponentProps<E> & {
51
- /** Render the only child instead, with this part's props merged onto it. */
52
- asChild?: boolean;
53
- };
54
- type InputProps = PartProps<'textarea'>;
55
- /** The field: a `textarea`, or an `input` with `asChild`. Its `maxlength` is removed on upgrade. */
56
- declare function Input({ asChild, ...props }: InputProps): React.JSX.Element;
57
- type DescriptionProps = PartProps<'div'>;
58
- /**
59
- * The description, such as "You can enter up to 200 characters", shown without JavaScript and
60
- * visually hidden on upgrade. Give it an id and add that to the field's `aria-describedby`.
61
- */
62
- declare function Description({ asChild, ...props }: DescriptionProps): React.JSX.Element;
63
- type StatusProps = PartProps<'div'>;
64
- /** The visible count, hidden from assistive technology. Hidden until the element upgrades. */
65
- declare function Status({ asChild, children, ...props }: StatusProps): React.JSX.Element;
66
- type ScreenReaderStatusProps = PartProps<'div'>;
67
- /** The count for screen readers, once the user pauses typing. Make it visually hidden. */
68
- declare function ScreenReaderStatus({ asChild, children, ...props }: ScreenReaderStatusProps): React.JSX.Element;
69
-
70
- type index_CountType = CountType;
71
- declare const index_Description: typeof Description;
72
- type index_DescriptionProps = DescriptionProps;
73
- declare const index_Input: typeof Input;
74
- type index_InputProps = InputProps;
75
- declare const index_Root: typeof Root;
76
- type index_RootProps = RootProps;
77
- declare const index_ScreenReaderStatus: typeof ScreenReaderStatus;
78
- type index_ScreenReaderStatusProps = ScreenReaderStatusProps;
79
- declare const index_Status: typeof Status;
80
- type index_StatusProps = StatusProps;
81
- declare const index_Translation: typeof Translation;
82
- declare const index_countMessage: typeof countMessage;
83
- declare const index_countOf: typeof countOf;
84
- declare namespace index {
85
- export { index_Description as Description, index_Input as Input, index_Root as Root, index_ScreenReaderStatus as ScreenReaderStatus, index_Status as Status, index_Translation as Translation, index_countMessage as countMessage, index_countOf as countOf };
86
- export type { index_CountType as CountType, index_DescriptionProps as DescriptionProps, index_InputProps as InputProps, index_RootProps as RootProps, index_ScreenReaderStatusProps as ScreenReaderStatusProps, index_StatusProps as StatusProps };
87
- }
88
-
89
- export { Description as D, Input as I, Root as R, ScreenReaderStatus as S, Status as e, countMessage as g, countOf as h, index as i };
90
- export type { CountType as C, DescriptionProps as a, InputProps as b, RootProps as c, ScreenReaderStatusProps as d, StatusProps as f };