@deskpro/deskpro-ui 9.3.2 → 10.0.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 (351) hide show
  1. package/README.md +27 -6
  2. package/dist/cjs/components/AttachmentTag/AttachmentTag.js +5 -5
  3. package/dist/cjs/components/AttachmentTag/AttachmentTag.js.map +1 -1
  4. package/dist/cjs/components/Avatar/Avatar.js +48 -48
  5. package/dist/cjs/components/Avatar/Avatar.js.map +1 -1
  6. package/dist/cjs/components/Avatar/AvatarGroup.js +4 -4
  7. package/dist/cjs/components/Avatar/AvatarGroup.js.map +1 -1
  8. package/dist/cjs/components/Avatar/styles.js +4 -4
  9. package/dist/cjs/components/Avatar/styles.js.map +1 -1
  10. package/dist/cjs/components/Badge/Badge.js +3 -3
  11. package/dist/cjs/components/Badge/Badge.js.map +1 -1
  12. package/dist/cjs/components/Button/Button.js +53 -52
  13. package/dist/cjs/components/Button/Button.js.map +1 -1
  14. package/dist/cjs/components/Button/GroupByButton.js +19 -2
  15. package/dist/cjs/components/Button/GroupByButton.js.map +1 -1
  16. package/dist/cjs/components/ButtonGroup/ButtonGroup.js +2 -2
  17. package/dist/cjs/components/ButtonGroup/ButtonGroup.js.map +1 -1
  18. package/dist/cjs/components/CCUserTag/CCUserTag.js +4 -4
  19. package/dist/cjs/components/CCUserTag/CCUserTag.js.map +1 -1
  20. package/dist/cjs/components/Card/AppCard.js +7 -7
  21. package/dist/cjs/components/Card/AppCard.js.map +1 -1
  22. package/dist/cjs/components/Card/CardKanban.js +17 -17
  23. package/dist/cjs/components/Card/CardKanban.js.map +1 -1
  24. package/dist/cjs/components/Card/CardList.js +23 -23
  25. package/dist/cjs/components/Card/CardList.js.map +1 -1
  26. package/dist/cjs/components/Card/MessageCard.js +2 -2
  27. package/dist/cjs/components/Card/MessageCard.js.map +1 -1
  28. package/dist/cjs/components/Card/RowCard.js +16 -16
  29. package/dist/cjs/components/Card/RowCard.js.map +1 -1
  30. package/dist/cjs/components/Checkbox/Checkbox.js +4 -4
  31. package/dist/cjs/components/Checkbox/Checkbox.js.map +1 -1
  32. package/dist/cjs/components/Dialog/Dialog.js +9 -5
  33. package/dist/cjs/components/Dialog/Dialog.js.map +1 -1
  34. package/dist/cjs/components/Divider/Divider.js +3 -3
  35. package/dist/cjs/components/Divider/Divider.js.map +1 -1
  36. package/dist/cjs/components/Drilldown/CreateNewOption.js +1 -1
  37. package/dist/cjs/components/Drilldown/CreateNewOption.js.map +1 -1
  38. package/dist/cjs/components/Drilldown/Drilldown.js +5 -5
  39. package/dist/cjs/components/Drilldown/Drilldown.js.map +1 -1
  40. package/dist/cjs/components/Drilldown/DrilldownItem.js +5 -5
  41. package/dist/cjs/components/Drilldown/DrilldownItem.js.map +1 -1
  42. package/dist/cjs/components/Drilldown/DrilldownList.js +5 -5
  43. package/dist/cjs/components/Drilldown/DrilldownList.js.map +1 -1
  44. package/dist/cjs/components/Drilldown/DrilldownResetButton.js.map +1 -1
  45. package/dist/cjs/components/Drilldown/styles.js +19 -11
  46. package/dist/cjs/components/Drilldown/styles.js.map +1 -1
  47. package/dist/cjs/components/Drilldown/testUtils/AllVariantsDrilldown.js +3 -3
  48. package/dist/cjs/components/Drilldown/testUtils/AllVariantsDrilldown.js.map +1 -1
  49. package/dist/cjs/components/Dropdown/Dropdown.js +6 -6
  50. package/dist/cjs/components/Dropdown/Dropdown.js.map +1 -1
  51. package/dist/cjs/components/Dropdown/DropdownResetButton.js.map +1 -1
  52. package/dist/cjs/components/Dropdown/styles.js +16 -8
  53. package/dist/cjs/components/Dropdown/styles.js.map +1 -1
  54. package/dist/cjs/components/Dropdown/testUtils/AllVariantsSelect.js +3 -3
  55. package/dist/cjs/components/Dropdown/testUtils/AllVariantsSelect.js.map +1 -1
  56. package/dist/cjs/components/Icon/DazzleIcon.js +2 -2
  57. package/dist/cjs/components/Icon/DazzleIcon.js.map +1 -1
  58. package/dist/cjs/components/Icon/Icon.js +6 -6
  59. package/dist/cjs/components/Icon/Icon.js.map +1 -1
  60. package/dist/cjs/components/Icon/SVGRIcon.js +5 -2
  61. package/dist/cjs/components/Icon/SVGRIcon.js.map +1 -1
  62. package/dist/cjs/components/IconV2/IconV2.js +3 -2
  63. package/dist/cjs/components/IconV2/IconV2.js.map +1 -1
  64. package/dist/cjs/components/Infinite/Infinite.js +6 -6
  65. package/dist/cjs/components/Infinite/Infinite.js.map +1 -1
  66. package/dist/cjs/components/Infinite/InfiniteTopBottom.js +4 -4
  67. package/dist/cjs/components/Infinite/InfiniteTopBottom.js.map +1 -1
  68. package/dist/cjs/components/Input/Input.js +34 -33
  69. package/dist/cjs/components/Input/Input.js.map +1 -1
  70. package/dist/cjs/components/Input/styles.js +2 -2
  71. package/dist/cjs/components/Input/styles.js.map +1 -1
  72. package/dist/cjs/components/Label/Label.js +20 -19
  73. package/dist/cjs/components/Label/Label.js.map +1 -1
  74. package/dist/cjs/components/LabelTag/Tag.js +16 -16
  75. package/dist/cjs/components/LabelTag/Tag.js.map +1 -1
  76. package/dist/cjs/components/LabelTag/TagCircle.js +9 -9
  77. package/dist/cjs/components/LabelTag/TagCircle.js.map +1 -1
  78. package/dist/cjs/components/LabelTag/liteAgent.js +1 -1
  79. package/dist/cjs/components/LabelTag/liteAgent.js.map +1 -1
  80. package/dist/cjs/components/Link/Link.js +3 -3
  81. package/dist/cjs/components/Link/Link.js.map +1 -1
  82. package/dist/cjs/components/LoadingState/LoadingBlock.js +2 -2
  83. package/dist/cjs/components/LoadingState/LoadingBlock.js.map +1 -1
  84. package/dist/cjs/components/Menu/Menu.js +5 -5
  85. package/dist/cjs/components/Menu/Menu.js.map +1 -1
  86. package/dist/cjs/components/Menu/styles.js +3 -3
  87. package/dist/cjs/components/Menu/styles.js.map +1 -1
  88. package/dist/cjs/components/Modal/Modal.js +7 -7
  89. package/dist/cjs/components/Modal/Modal.js.map +1 -1
  90. package/dist/cjs/components/NonIdealState/NonIdealContainer.js.map +1 -1
  91. package/dist/cjs/components/NonIdealState/NonIdealState.js +3 -3
  92. package/dist/cjs/components/NonIdealState/NonIdealState.js.map +1 -1
  93. package/dist/cjs/components/Overlay/Overlay.js +5 -5
  94. package/dist/cjs/components/Overlay/Overlay.js.map +1 -1
  95. package/dist/cjs/components/Pagination/Pagination.js +1 -1
  96. package/dist/cjs/components/Pagination/Pagination.js.map +1 -1
  97. package/dist/cjs/components/Pill/Pill.js +11 -11
  98. package/dist/cjs/components/Pill/Pill.js.map +1 -1
  99. package/dist/cjs/components/Pill/UrgencyCircle.js +10 -6
  100. package/dist/cjs/components/Pill/UrgencyCircle.js.map +1 -1
  101. package/dist/cjs/components/Popover/Popover.js +4 -4
  102. package/dist/cjs/components/Popover/Popover.js.map +1 -1
  103. package/dist/cjs/components/Portal/Portal.js +1 -1
  104. package/dist/cjs/components/Portal/Portal.js.map +1 -1
  105. package/dist/cjs/components/Radio/Radio.js +4 -4
  106. package/dist/cjs/components/Radio/Radio.js.map +1 -1
  107. package/dist/cjs/components/Scrollbar/Scrollbar.js +11 -1
  108. package/dist/cjs/components/Scrollbar/Scrollbar.js.map +1 -1
  109. package/dist/cjs/components/Select/Select.js +10 -9
  110. package/dist/cjs/components/Select/Select.js.map +1 -1
  111. package/dist/cjs/components/Span/Span.js.map +1 -1
  112. package/dist/cjs/components/TabBar/TabBar.js +7 -7
  113. package/dist/cjs/components/TabBar/TabBar.js.map +1 -1
  114. package/dist/cjs/components/TabbedSection/TabbedSections.js +1 -1
  115. package/dist/cjs/components/TabbedSection/TabbedSections.js.map +1 -1
  116. package/dist/cjs/components/TabbedSection/Tabs.js +9 -9
  117. package/dist/cjs/components/TabbedSection/Tabs.js.map +1 -1
  118. package/dist/cjs/components/Tabs/Tabs.js +3 -3
  119. package/dist/cjs/components/Tabs/Tabs.js.map +1 -1
  120. package/dist/cjs/components/TextArea/TextArea.js +9 -8
  121. package/dist/cjs/components/TextArea/TextArea.js.map +1 -1
  122. package/dist/cjs/components/TimeInput/TimeInput.js +14 -14
  123. package/dist/cjs/components/TimeInput/TimeInput.js.map +1 -1
  124. package/dist/cjs/components/Toggle/Toggle.js +10 -10
  125. package/dist/cjs/components/Toggle/Toggle.js.map +1 -1
  126. package/dist/cjs/components/Tooltip/SafePolygon.js +1 -1
  127. package/dist/cjs/components/Tooltip/SafePolygon.js.map +1 -1
  128. package/dist/cjs/components/Tooltip/Tooltip.js +6 -6
  129. package/dist/cjs/components/Tooltip/Tooltip.js.map +1 -1
  130. package/dist/cjs/components/Tooltip/styles.js +26 -26
  131. package/dist/cjs/components/Tooltip/styles.js.map +1 -1
  132. package/dist/cjs/components/Typography/TSpan.js +6 -6
  133. package/dist/cjs/components/Typography/TSpan.js.map +1 -1
  134. package/dist/cjs/components/Typography/index.js.map +1 -1
  135. package/dist/cjs/components/Typography/v1/Typography.js +6 -2
  136. package/dist/cjs/components/Typography/v1/Typography.js.map +1 -1
  137. package/dist/cjs/components/Typography/v1/styles.js +0 -8
  138. package/dist/cjs/components/Typography/v1/styles.js.map +1 -1
  139. package/dist/cjs/components/Typography/v2/Typography.js +123 -41
  140. package/dist/cjs/components/Typography/v2/Typography.js.map +1 -1
  141. package/dist/cjs/components/Typography/v2/styles.js.map +1 -1
  142. package/dist/cjs/components/VisuallyHidden/VisuallyHidden.js.map +1 -1
  143. package/dist/cjs/components/index.js +0 -1
  144. package/dist/cjs/components/index.js.map +1 -1
  145. package/dist/cjs/hooks/usePopper.js +114 -0
  146. package/dist/cjs/hooks/usePopper.js.map +1 -0
  147. package/dist/cjs/layout/Stack.js +43 -43
  148. package/dist/cjs/layout/Stack.js.map +1 -1
  149. package/dist/cjs/layout/ToolbarStack.js +4 -4
  150. package/dist/cjs/layout/ToolbarStack.js.map +1 -1
  151. package/dist/cjs/structure/AppSidebar/AppSidebar.js +9 -9
  152. package/dist/cjs/structure/AppSidebar/AppSidebar.js.map +1 -1
  153. package/dist/cjs/style/globalStyles/GlobalStyles.js.map +1 -1
  154. package/dist/cjs/style/theme/helpers.js.map +1 -1
  155. package/dist/cjs/utils/ParentResizeObserver.js +49 -0
  156. package/dist/cjs/utils/ParentResizeObserver.js.map +1 -0
  157. package/dist/cjs/utils/mergeRefs.js.map +1 -1
  158. package/dist/cjs/utils/styledTypes.js +17 -0
  159. package/dist/cjs/utils/styledTypes.js.map +1 -0
  160. package/dist/deskpro-ui.d.ts +504 -687
  161. package/dist/esm/components/AttachmentTag/AttachmentTag.js +5 -5
  162. package/dist/esm/components/AttachmentTag/AttachmentTag.js.map +1 -1
  163. package/dist/esm/components/Avatar/Avatar.js +48 -48
  164. package/dist/esm/components/Avatar/Avatar.js.map +1 -1
  165. package/dist/esm/components/Avatar/AvatarGroup.js +4 -4
  166. package/dist/esm/components/Avatar/AvatarGroup.js.map +1 -1
  167. package/dist/esm/components/Avatar/styles.js +4 -4
  168. package/dist/esm/components/Avatar/styles.js.map +1 -1
  169. package/dist/esm/components/Badge/Badge.js +3 -3
  170. package/dist/esm/components/Badge/Badge.js.map +1 -1
  171. package/dist/esm/components/Button/Button.js +53 -52
  172. package/dist/esm/components/Button/Button.js.map +1 -1
  173. package/dist/esm/components/Button/GroupByButton.js +19 -2
  174. package/dist/esm/components/Button/GroupByButton.js.map +1 -1
  175. package/dist/esm/components/ButtonGroup/ButtonGroup.js +2 -2
  176. package/dist/esm/components/ButtonGroup/ButtonGroup.js.map +1 -1
  177. package/dist/esm/components/CCUserTag/CCUserTag.js +4 -4
  178. package/dist/esm/components/CCUserTag/CCUserTag.js.map +1 -1
  179. package/dist/esm/components/Card/AppCard.js +7 -7
  180. package/dist/esm/components/Card/AppCard.js.map +1 -1
  181. package/dist/esm/components/Card/CardKanban.js +17 -17
  182. package/dist/esm/components/Card/CardKanban.js.map +1 -1
  183. package/dist/esm/components/Card/CardList.js +23 -23
  184. package/dist/esm/components/Card/CardList.js.map +1 -1
  185. package/dist/esm/components/Card/MessageCard.js +2 -2
  186. package/dist/esm/components/Card/MessageCard.js.map +1 -1
  187. package/dist/esm/components/Card/RowCard.js +16 -16
  188. package/dist/esm/components/Card/RowCard.js.map +1 -1
  189. package/dist/esm/components/Checkbox/Checkbox.js +4 -4
  190. package/dist/esm/components/Checkbox/Checkbox.js.map +1 -1
  191. package/dist/esm/components/Dialog/Dialog.js +9 -5
  192. package/dist/esm/components/Dialog/Dialog.js.map +1 -1
  193. package/dist/esm/components/Divider/Divider.js +3 -3
  194. package/dist/esm/components/Divider/Divider.js.map +1 -1
  195. package/dist/esm/components/Drilldown/CreateNewOption.js +1 -1
  196. package/dist/esm/components/Drilldown/CreateNewOption.js.map +1 -1
  197. package/dist/esm/components/Drilldown/Drilldown.js +4 -4
  198. package/dist/esm/components/Drilldown/Drilldown.js.map +1 -1
  199. package/dist/esm/components/Drilldown/DrilldownItem.js +5 -5
  200. package/dist/esm/components/Drilldown/DrilldownItem.js.map +1 -1
  201. package/dist/esm/components/Drilldown/DrilldownList.js +5 -5
  202. package/dist/esm/components/Drilldown/DrilldownList.js.map +1 -1
  203. package/dist/esm/components/Drilldown/DrilldownResetButton.js.map +1 -1
  204. package/dist/esm/components/Drilldown/styles.js +18 -10
  205. package/dist/esm/components/Drilldown/styles.js.map +1 -1
  206. package/dist/esm/components/Drilldown/testUtils/AllVariantsDrilldown.js +3 -3
  207. package/dist/esm/components/Drilldown/testUtils/AllVariantsDrilldown.js.map +1 -1
  208. package/dist/esm/components/Dropdown/Dropdown.js +5 -5
  209. package/dist/esm/components/Dropdown/Dropdown.js.map +1 -1
  210. package/dist/esm/components/Dropdown/DropdownResetButton.js.map +1 -1
  211. package/dist/esm/components/Dropdown/styles.js +15 -7
  212. package/dist/esm/components/Dropdown/styles.js.map +1 -1
  213. package/dist/esm/components/Dropdown/testUtils/AllVariantsSelect.js +3 -3
  214. package/dist/esm/components/Dropdown/testUtils/AllVariantsSelect.js.map +1 -1
  215. package/dist/esm/components/Icon/DazzleIcon.js +2 -2
  216. package/dist/esm/components/Icon/DazzleIcon.js.map +1 -1
  217. package/dist/esm/components/Icon/Icon.js +6 -6
  218. package/dist/esm/components/Icon/Icon.js.map +1 -1
  219. package/dist/esm/components/Icon/SVGRIcon.js +5 -2
  220. package/dist/esm/components/Icon/SVGRIcon.js.map +1 -1
  221. package/dist/esm/components/IconV2/IconV2.js +3 -2
  222. package/dist/esm/components/IconV2/IconV2.js.map +1 -1
  223. package/dist/esm/components/Infinite/Infinite.js +6 -6
  224. package/dist/esm/components/Infinite/Infinite.js.map +1 -1
  225. package/dist/esm/components/Infinite/InfiniteTopBottom.js +4 -4
  226. package/dist/esm/components/Infinite/InfiniteTopBottom.js.map +1 -1
  227. package/dist/esm/components/Input/Input.js +34 -33
  228. package/dist/esm/components/Input/Input.js.map +1 -1
  229. package/dist/esm/components/Input/styles.js +2 -2
  230. package/dist/esm/components/Input/styles.js.map +1 -1
  231. package/dist/esm/components/Label/Label.js +20 -19
  232. package/dist/esm/components/Label/Label.js.map +1 -1
  233. package/dist/esm/components/LabelTag/Tag.js +16 -16
  234. package/dist/esm/components/LabelTag/Tag.js.map +1 -1
  235. package/dist/esm/components/LabelTag/TagCircle.js +9 -9
  236. package/dist/esm/components/LabelTag/TagCircle.js.map +1 -1
  237. package/dist/esm/components/LabelTag/liteAgent.js +1 -1
  238. package/dist/esm/components/LabelTag/liteAgent.js.map +1 -1
  239. package/dist/esm/components/Link/Link.js +3 -3
  240. package/dist/esm/components/Link/Link.js.map +1 -1
  241. package/dist/esm/components/LoadingState/LoadingBlock.js +2 -2
  242. package/dist/esm/components/LoadingState/LoadingBlock.js.map +1 -1
  243. package/dist/esm/components/Menu/Menu.js +5 -5
  244. package/dist/esm/components/Menu/Menu.js.map +1 -1
  245. package/dist/esm/components/Menu/styles.js +3 -3
  246. package/dist/esm/components/Menu/styles.js.map +1 -1
  247. package/dist/esm/components/Modal/Modal.js +7 -7
  248. package/dist/esm/components/Modal/Modal.js.map +1 -1
  249. package/dist/esm/components/NonIdealState/NonIdealContainer.js.map +1 -1
  250. package/dist/esm/components/NonIdealState/NonIdealState.js +3 -3
  251. package/dist/esm/components/NonIdealState/NonIdealState.js.map +1 -1
  252. package/dist/esm/components/Overlay/Overlay.js +5 -5
  253. package/dist/esm/components/Overlay/Overlay.js.map +1 -1
  254. package/dist/esm/components/Pagination/Pagination.js +1 -1
  255. package/dist/esm/components/Pagination/Pagination.js.map +1 -1
  256. package/dist/esm/components/Pill/Pill.js +11 -11
  257. package/dist/esm/components/Pill/Pill.js.map +1 -1
  258. package/dist/esm/components/Pill/UrgencyCircle.js +10 -6
  259. package/dist/esm/components/Pill/UrgencyCircle.js.map +1 -1
  260. package/dist/esm/components/Popover/Popover.js +3 -3
  261. package/dist/esm/components/Popover/Popover.js.map +1 -1
  262. package/dist/esm/components/Portal/Portal.js +1 -1
  263. package/dist/esm/components/Portal/Portal.js.map +1 -1
  264. package/dist/esm/components/Radio/Radio.js +4 -4
  265. package/dist/esm/components/Radio/Radio.js.map +1 -1
  266. package/dist/esm/components/Scrollbar/Scrollbar.js +12 -2
  267. package/dist/esm/components/Scrollbar/Scrollbar.js.map +1 -1
  268. package/dist/esm/components/Select/Select.js +10 -9
  269. package/dist/esm/components/Select/Select.js.map +1 -1
  270. package/dist/esm/components/Span/Span.js.map +1 -1
  271. package/dist/esm/components/TabBar/TabBar.js +7 -7
  272. package/dist/esm/components/TabBar/TabBar.js.map +1 -1
  273. package/dist/esm/components/TabbedSection/TabbedSections.js +1 -1
  274. package/dist/esm/components/TabbedSection/TabbedSections.js.map +1 -1
  275. package/dist/esm/components/TabbedSection/Tabs.js +9 -9
  276. package/dist/esm/components/TabbedSection/Tabs.js.map +1 -1
  277. package/dist/esm/components/Tabs/Tabs.js +3 -3
  278. package/dist/esm/components/Tabs/Tabs.js.map +1 -1
  279. package/dist/esm/components/TextArea/TextArea.js +9 -8
  280. package/dist/esm/components/TextArea/TextArea.js.map +1 -1
  281. package/dist/esm/components/TimeInput/TimeInput.js +14 -14
  282. package/dist/esm/components/TimeInput/TimeInput.js.map +1 -1
  283. package/dist/esm/components/Toggle/Toggle.js +10 -10
  284. package/dist/esm/components/Toggle/Toggle.js.map +1 -1
  285. package/dist/esm/components/Tooltip/SafePolygon.js +1 -1
  286. package/dist/esm/components/Tooltip/SafePolygon.js.map +1 -1
  287. package/dist/esm/components/Tooltip/Tooltip.js +6 -6
  288. package/dist/esm/components/Tooltip/Tooltip.js.map +1 -1
  289. package/dist/esm/components/Tooltip/styles.js +26 -26
  290. package/dist/esm/components/Tooltip/styles.js.map +1 -1
  291. package/dist/esm/components/Typography/TSpan.js +6 -6
  292. package/dist/esm/components/Typography/TSpan.js.map +1 -1
  293. package/dist/esm/components/Typography/index.js.map +1 -1
  294. package/dist/esm/components/Typography/v1/Typography.js +6 -2
  295. package/dist/esm/components/Typography/v1/Typography.js.map +1 -1
  296. package/dist/esm/components/Typography/v1/styles.js +0 -8
  297. package/dist/esm/components/Typography/v1/styles.js.map +1 -1
  298. package/dist/esm/components/Typography/v2/Typography.js +123 -41
  299. package/dist/esm/components/Typography/v2/Typography.js.map +1 -1
  300. package/dist/esm/components/Typography/v2/styles.js.map +1 -1
  301. package/dist/esm/components/VisuallyHidden/VisuallyHidden.js.map +1 -1
  302. package/dist/esm/components/index.js +0 -1
  303. package/dist/esm/components/index.js.map +1 -1
  304. package/dist/esm/hooks/usePopper.js +111 -0
  305. package/dist/esm/hooks/usePopper.js.map +1 -0
  306. package/dist/esm/layout/Stack.js +43 -43
  307. package/dist/esm/layout/Stack.js.map +1 -1
  308. package/dist/esm/layout/ToolbarStack.js +4 -4
  309. package/dist/esm/layout/ToolbarStack.js.map +1 -1
  310. package/dist/esm/structure/AppSidebar/AppSidebar.js +9 -9
  311. package/dist/esm/structure/AppSidebar/AppSidebar.js.map +1 -1
  312. package/dist/esm/style/globalStyles/GlobalStyles.js.map +1 -1
  313. package/dist/esm/style/theme/helpers.js.map +1 -1
  314. package/dist/esm/utils/ParentResizeObserver.js +46 -0
  315. package/dist/esm/utils/ParentResizeObserver.js.map +1 -0
  316. package/dist/esm/utils/mergeRefs.js.map +1 -1
  317. package/dist/esm/utils/styledTypes.js +14 -0
  318. package/dist/esm/utils/styledTypes.js.map +1 -0
  319. package/package.json +20 -36
  320. package/dist/cjs/components/TippyTooltip/EllipsesTippyTooltip.js +0 -18
  321. package/dist/cjs/components/TippyTooltip/EllipsesTippyTooltip.js.map +0 -1
  322. package/dist/cjs/components/TippyTooltip/TippyTooltip.js +0 -121
  323. package/dist/cjs/components/TippyTooltip/TippyTooltip.js.map +0 -1
  324. package/dist/cjs/components/TippyTooltip/index.js +0 -9
  325. package/dist/cjs/components/TippyTooltip/index.js.map +0 -1
  326. package/dist/cjs/components/TippyTooltip/mergePlugins.js +0 -15
  327. package/dist/cjs/components/TippyTooltip/mergePlugins.js.map +0 -1
  328. package/dist/cjs/components/TippyTooltip/plugIns/disableForTouchDevicesPlugin.js +0 -14
  329. package/dist/cjs/components/TippyTooltip/plugIns/disableForTouchDevicesPlugin.js.map +0 -1
  330. package/dist/cjs/components/TippyTooltip/plugIns/dpNamePlugin.js +0 -9
  331. package/dist/cjs/components/TippyTooltip/plugIns/dpNamePlugin.js.map +0 -1
  332. package/dist/cjs/components/TippyTooltip/plugIns/escPlugin.js +0 -21
  333. package/dist/cjs/components/TippyTooltip/plugIns/escPlugin.js.map +0 -1
  334. package/dist/cjs/components/TippyTooltip/plugIns/index.js +0 -10
  335. package/dist/cjs/components/TippyTooltip/plugIns/index.js.map +0 -1
  336. package/dist/esm/components/TippyTooltip/EllipsesTippyTooltip.js +0 -16
  337. package/dist/esm/components/TippyTooltip/EllipsesTippyTooltip.js.map +0 -1
  338. package/dist/esm/components/TippyTooltip/TippyTooltip.js +0 -117
  339. package/dist/esm/components/TippyTooltip/TippyTooltip.js.map +0 -1
  340. package/dist/esm/components/TippyTooltip/index.js +0 -3
  341. package/dist/esm/components/TippyTooltip/index.js.map +0 -1
  342. package/dist/esm/components/TippyTooltip/mergePlugins.js +0 -13
  343. package/dist/esm/components/TippyTooltip/mergePlugins.js.map +0 -1
  344. package/dist/esm/components/TippyTooltip/plugIns/disableForTouchDevicesPlugin.js +0 -12
  345. package/dist/esm/components/TippyTooltip/plugIns/disableForTouchDevicesPlugin.js.map +0 -1
  346. package/dist/esm/components/TippyTooltip/plugIns/dpNamePlugin.js +0 -7
  347. package/dist/esm/components/TippyTooltip/plugIns/dpNamePlugin.js.map +0 -1
  348. package/dist/esm/components/TippyTooltip/plugIns/escPlugin.js +0 -19
  349. package/dist/esm/components/TippyTooltip/plugIns/escPlugin.js.map +0 -1
  350. package/dist/esm/components/TippyTooltip/plugIns/index.js +0 -4
  351. package/dist/esm/components/TippyTooltip/plugIns/index.js.map +0 -1
@@ -9,10 +9,12 @@ import type { ButtonHTMLAttributes } from 'react';
9
9
  import type { ChangeEvent } from 'react';
10
10
  import type { ComponentProps } from 'react';
11
11
  import type { ComponentType } from 'react';
12
+ import type { createGlobalStyle } from 'styled-components';
13
+ import type { css } from 'styled-components';
12
14
  import type { CSSProp } from 'styled-components';
13
- import { CSSProperties } from 'react';
15
+ import type { CSSProperties } from 'react';
14
16
  import type { CSSProperties as CSSProperties_2 } from 'styled-components';
15
- import { DefaultTheme } from 'styled-components';
17
+ import type { DefaultTheme } from 'styled-components';
16
18
  import { Dispatch } from 'react';
17
19
  import type { ElementType } from 'react';
18
20
  import type { ErrorMessageProps } from 'formik';
@@ -20,14 +22,9 @@ import type { FieldHelperProps } from 'formik';
20
22
  import type { FieldHookConfig } from 'formik';
21
23
  import type { FieldInputProps } from 'formik';
22
24
  import type { FieldMetaProps } from 'formik';
23
- import { FlattenInterpolation } from 'styled-components';
24
- import { FlattenSimpleInterpolation } from 'styled-components';
25
- import { ForwardRefComponent } from 'framer-motion';
26
25
  import { ForwardRefExoticComponent } from 'react';
27
- import { GlobalStyleComponent } from 'styled-components';
28
26
  import type { HierarchyNode } from 'd3-hierarchy';
29
27
  import type { HTMLAttributes } from 'react';
30
- import { HTMLMotionProps } from 'framer-motion';
31
28
  import type { IconDefinition } from '@fortawesome/fontawesome-svg-core';
32
29
  import type { InputHTMLAttributes } from 'react';
33
30
  import { JSX as JSX_2 } from 'react';
@@ -40,7 +37,6 @@ import type { MutableRefObject } from 'react';
40
37
  import type { OptgroupHTMLAttributes } from 'react';
41
38
  import type { OptionHTMLAttributes } from 'react';
42
39
  import type { Placement } from '@popperjs/core';
43
- import type { Props } from 'simplebar-react';
44
40
  import * as React_2 from 'react';
45
41
  import { ReactNode } from 'react';
46
42
  import type { ReactPortal } from 'react';
@@ -49,12 +45,9 @@ import { RefAttributes } from 'react';
49
45
  import type { RefObject } from 'react';
50
46
  import type { SelectHTMLAttributes } from 'react';
51
47
  import { SetStateAction } from 'react';
52
- import { default as SimpleBar_2 } from 'simplebar-react';
53
48
  import type { StrictModifiers } from '@popperjs/core';
54
- import { StyledComponent } from 'styled-components';
49
+ import styled from 'styled-components';
55
50
  import type { TextareaHTMLAttributes } from 'react';
56
- import { ThemeProps } from 'styled-components';
57
- import { TippyProps } from '@tippyjs/react';
58
51
 
59
52
  export declare type AccessibleIcon = IconDefinition | DpCustomIconsId;
60
53
 
@@ -77,9 +70,7 @@ export declare type AllButtonIntents = "primary" | "secondary" | "tertiary" | "m
77
70
  * Anchor component styled like a button
78
71
  * @public
79
72
  */
80
- export declare const AnchorButton: StyledComponent<React_2.ForwardRefExoticComponent<HTMLAnchorButtonProps & CommonButtonProps & {
81
- disabled?: boolean;
82
- } & React_2.RefAttributes<HTMLAnchorElement>>, DefaultTheme, {}, never>;
73
+ export declare const AnchorButton: ReturnType<typeof styled.a<AnchorButtonProps>>;
83
74
 
84
75
  /**
85
76
  * @public
@@ -91,7 +82,7 @@ export declare type AnchorButtonProps = HTMLAnchorButtonProps & CommonButtonProp
91
82
  /**
92
83
  * @public
93
84
  */
94
- export declare type AnyIcon = IconDefinition | DpCustomIconsId | SVGRIconType | JSX.Element | DazzleIconType;
85
+ export declare type AnyIcon = IconDefinition | DpCustomIconsId | SVGRIconType | React_2.JSX.Element | DazzleIconType;
95
86
 
96
87
  /**
97
88
  * @public
@@ -102,28 +93,12 @@ export declare function AppCard({ children, backgroundColor, hasCheckBox, onChan
102
93
  * @public
103
94
  */
104
95
  export declare const AppCardComponents: {
105
- IdTitle: StyledComponent<"span", DefaultTheme, {}, never>;
106
- AppCardInfo: StyledComponent<"span", DefaultTheme, TProps & {
107
- as: string;
108
- type: string;
109
- overflow: string;
110
- }, "type" | "overflow" | "as">;
111
- SubjectLine: StyledComponent<"span", DefaultTheme, TProps & {
112
- as: string;
113
- type: string;
114
- overflow: string;
115
- }, "type" | "overflow" | "as">;
116
- ProfileDetailsEmail: StyledComponent<"span", DefaultTheme, TProps & {
117
- as: string;
118
- type: string;
119
- overflow: string;
120
- }, "type" | "overflow" | "as">;
121
- ProfileDetailsName: StyledComponent<"span", DefaultTheme, TProps & {
122
- as: string;
123
- type: string;
124
- overflow: string;
125
- }, "type" | "overflow" | "as">;
126
- ProfileDetailsWrapper: StyledComponent<"div", DefaultTheme, StackProps, never>;
96
+ IdTitle: ReturnType<typeof styled.span<object>>;
97
+ AppCardInfo: ReturnType<typeof styled.span<Partial<TProps>>>;
98
+ SubjectLine: ReturnType<typeof styled.span<Partial<TProps>>>;
99
+ ProfileDetailsEmail: ReturnType<typeof styled.span<Partial<TProps>>>;
100
+ ProfileDetailsName: ReturnType<typeof styled.span<Partial<TProps>>>;
101
+ ProfileDetailsWrapper: ReturnType<typeof styled.div<StackProps>>;
127
102
  };
128
103
 
129
104
  /**
@@ -250,7 +225,7 @@ export declare const Avatar: React_2.MemoExoticComponent<({ imageStyles, backupI
250
225
  /**
251
226
  * @public
252
227
  */
253
- export declare const AvatarButton: StyledComponent<React_2.ForwardRefExoticComponent<AvatarButtonProps & React_2.RefAttributes<HTMLButtonElement>>, DefaultTheme, {}, never>;
228
+ export declare const AvatarButton: ReturnType<typeof styled.button<AvatarButtonProps>>;
254
229
 
255
230
  /**
256
231
  * @public
@@ -274,7 +249,7 @@ export declare type AvatarGroupArray = Extract<AvatarProps, {
274
249
  /**
275
250
  * @public
276
251
  */
277
- export declare const AvatarGroupButton: StyledComponent<React_2.ForwardRefExoticComponent<IconButtonProps & React_2.RefAttributes<HTMLButtonElement>>, DefaultTheme, {}, never>;
252
+ export declare const AvatarGroupButton: ReturnType<typeof styled.button<IconButtonProps>>;
278
253
 
279
254
  /**
280
255
  * @public
@@ -378,18 +353,18 @@ export declare const brandColors: {
378
353
  * Button
379
354
  * @public
380
355
  */
381
- export declare const Button: StyledComponent<React_2.ForwardRefExoticComponent<AttachQuickActions<ButtonProps> & React_2.RefAttributes<HTMLButtonElement>>, DefaultTheme, {}, never>;
356
+ export declare const Button: ReturnType<typeof styled.button<AttachQuickActions<ButtonProps>>>;
382
357
 
383
358
  /**
384
359
  * @public
385
360
  */
386
- export declare const ButtonGroup: StyledComponent<"div", DefaultTheme, ButtonGroupProps, never>;
361
+ export declare const ButtonGroup: ReturnType<typeof styled.div<ButtonGroupProps>>;
387
362
 
388
363
  /**
389
364
  * @public
390
365
  */
391
366
  export declare type ButtonGroupProps = {
392
- quickActions?: boolean;
367
+ $quickActions?: boolean;
393
368
  };
394
369
 
395
370
  /**
@@ -479,7 +454,7 @@ export declare interface CheckboxProps extends InputHTMLAttributes<HTMLInputElem
479
454
  /**
480
455
  * @public
481
456
  */
482
- export declare const Code: StyledComponent<"code", DefaultTheme, {}, never>;
457
+ export declare const Code: ReturnType<typeof styled.code<object>>;
483
458
 
484
459
  /**
485
460
  * @public
@@ -510,12 +485,16 @@ export declare const Code: StyledComponent<"code", DefaultTheme, {}, never>;
510
485
  * `
511
486
  * ```
512
487
  */
513
- export declare const color: <T extends ThemeProps<DefaultTheme>>(colorPicker: keyof ThemeColors | ((props: T) => ThemeColorKey | undefined | null | void | false) | null | undefined, defaultColor?: keyof ThemeColors | undefined) => (props: T) => ((string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "revert-layer" | "unset" | "aliceblue" | "antiquewhite" | "aqua" | "aquamarine" | "azure" | "beige" | "bisque" | "black" | "blanchedalmond" | "blue" | "blueviolet" | "brown" | "burlywood" | "cadetblue" | "chartreuse" | "chocolate" | "coral" | "cornflowerblue" | "cornsilk" | "crimson" | "cyan" | "darkblue" | "darkcyan" | "darkgoldenrod" | "darkgray" | "darkgreen" | "darkgrey" | "darkkhaki" | "darkmagenta" | "darkolivegreen" | "darkorange" | "darkorchid" | "darkred" | "darksalmon" | "darkseagreen" | "darkslateblue" | "darkslategray" | "darkslategrey" | "darkturquoise" | "darkviolet" | "deeppink" | "deepskyblue" | "dimgray" | "dimgrey" | "dodgerblue" | "firebrick" | "floralwhite" | "forestgreen" | "fuchsia" | "gainsboro" | "ghostwhite" | "gold" | "goldenrod" | "gray" | "green" | "greenyellow" | "grey" | "honeydew" | "hotpink" | "indianred" | "indigo" | "ivory" | "khaki" | "lavender" | "lavenderblush" | "lawngreen" | "lemonchiffon" | "lightblue" | "lightcoral" | "lightcyan" | "lightgoldenrodyellow" | "lightgray" | "lightgreen" | "lightgrey" | "lightpink" | "lightsalmon" | "lightseagreen" | "lightskyblue" | "lightslategray" | "lightslategrey" | "lightsteelblue" | "lightyellow" | "lime" | "limegreen" | "linen" | "magenta" | "maroon" | "mediumaquamarine" | "mediumblue" | "mediumorchid" | "mediumpurple" | "mediumseagreen" | "mediumslateblue" | "mediumspringgreen" | "mediumturquoise" | "mediumvioletred" | "midnightblue" | "mintcream" | "mistyrose" | "moccasin" | "navajowhite" | "navy" | "oldlace" | "olive" | "olivedrab" | "orange" | "orangered" | "orchid" | "palegoldenrod" | "palegreen" | "paleturquoise" | "palevioletred" | "papayawhip" | "peachpuff" | "peru" | "pink" | "plum" | "powderblue" | "purple" | "rebeccapurple" | "red" | "rosybrown" | "royalblue" | "saddlebrown" | "salmon" | "sandybrown" | "seagreen" | "seashell" | "sienna" | "silver" | "skyblue" | "slateblue" | "slategray" | "slategrey" | "snow" | "springgreen" | "steelblue" | "tan" | "teal" | "thistle" | "tomato" | "transparent" | "turquoise" | "violet" | "wheat" | "white" | "whitesmoke" | "yellow" | "yellowgreen" | "ActiveBorder" | "ActiveCaption" | "AppWorkspace" | "Background" | "ButtonFace" | "ButtonHighlight" | "ButtonShadow" | "ButtonText" | "CaptionText" | "GrayText" | "Highlight" | "HighlightText" | "InactiveBorder" | "InactiveCaption" | "InactiveCaptionText" | "InfoBackground" | "InfoText" | "Menu" | "MenuText" | "Scrollbar" | "ThreeDDarkShadow" | "ThreeDFace" | "ThreeDHighlight" | "ThreeDLightShadow" | "ThreeDShadow" | "Window" | "WindowFrame" | "WindowText" | "currentcolor") | undefined;
488
+ export declare const color: <T extends {
489
+ theme: DefaultTheme;
490
+ }>(colorPicker: keyof ThemeColors | ((props: T) => ThemeColorKey | undefined | null | void | false) | null | undefined, defaultColor?: keyof ThemeColors | undefined) => (props: T) => ((string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "revert-layer" | "unset" | "aliceblue" | "antiquewhite" | "aqua" | "aquamarine" | "azure" | "beige" | "bisque" | "black" | "blanchedalmond" | "blue" | "blueviolet" | "brown" | "burlywood" | "cadetblue" | "chartreuse" | "chocolate" | "coral" | "cornflowerblue" | "cornsilk" | "crimson" | "cyan" | "darkblue" | "darkcyan" | "darkgoldenrod" | "darkgray" | "darkgreen" | "darkgrey" | "darkkhaki" | "darkmagenta" | "darkolivegreen" | "darkorange" | "darkorchid" | "darkred" | "darksalmon" | "darkseagreen" | "darkslateblue" | "darkslategray" | "darkslategrey" | "darkturquoise" | "darkviolet" | "deeppink" | "deepskyblue" | "dimgray" | "dimgrey" | "dodgerblue" | "firebrick" | "floralwhite" | "forestgreen" | "fuchsia" | "gainsboro" | "ghostwhite" | "gold" | "goldenrod" | "gray" | "green" | "greenyellow" | "grey" | "honeydew" | "hotpink" | "indianred" | "indigo" | "ivory" | "khaki" | "lavender" | "lavenderblush" | "lawngreen" | "lemonchiffon" | "lightblue" | "lightcoral" | "lightcyan" | "lightgoldenrodyellow" | "lightgray" | "lightgreen" | "lightgrey" | "lightpink" | "lightsalmon" | "lightseagreen" | "lightskyblue" | "lightslategray" | "lightslategrey" | "lightsteelblue" | "lightyellow" | "lime" | "limegreen" | "linen" | "magenta" | "maroon" | "mediumaquamarine" | "mediumblue" | "mediumorchid" | "mediumpurple" | "mediumseagreen" | "mediumslateblue" | "mediumspringgreen" | "mediumturquoise" | "mediumvioletred" | "midnightblue" | "mintcream" | "mistyrose" | "moccasin" | "navajowhite" | "navy" | "oldlace" | "olive" | "olivedrab" | "orange" | "orangered" | "orchid" | "palegoldenrod" | "palegreen" | "paleturquoise" | "palevioletred" | "papayawhip" | "peachpuff" | "peru" | "pink" | "plum" | "powderblue" | "purple" | "rebeccapurple" | "red" | "rosybrown" | "royalblue" | "saddlebrown" | "salmon" | "sandybrown" | "seagreen" | "seashell" | "sienna" | "silver" | "skyblue" | "slateblue" | "slategray" | "slategrey" | "snow" | "springgreen" | "steelblue" | "tan" | "teal" | "thistle" | "tomato" | "transparent" | "turquoise" | "violet" | "wheat" | "white" | "whitesmoke" | "yellow" | "yellowgreen" | "ActiveBorder" | "ActiveCaption" | "AppWorkspace" | "Background" | "ButtonFace" | "ButtonHighlight" | "ButtonShadow" | "ButtonText" | "CaptionText" | "GrayText" | "Highlight" | "HighlightText" | "InactiveBorder" | "InactiveCaption" | "InactiveCaptionText" | "InfoBackground" | "InfoText" | "Menu" | "MenuText" | "Scrollbar" | "ThreeDDarkShadow" | "ThreeDFace" | "ThreeDHighlight" | "ThreeDLightShadow" | "ThreeDShadow" | "Window" | "WindowFrame" | "WindowText" | "currentcolor") | undefined;
514
491
 
515
492
  /**
516
493
  * @public
517
494
  */
518
- export declare type ColorProps<T extends ThemeProps<DefaultTheme>> = [
495
+ export declare type ColorProps<T extends {
496
+ theme: DefaultTheme;
497
+ }> = [
519
498
  colorPicker: ThemeColorKey | undefined | null | ((props: T) => ThemeColorKey | undefined | null | void | false),
520
499
  defaultColor?: ThemeColorKey
521
500
  ];
@@ -531,15 +510,15 @@ export declare interface CommonButtonProps {
531
510
  /** default false */
532
511
  danger?: boolean;
533
512
  /** default "left" */
534
- alignText?: React.CSSProperties["textAlign"];
513
+ alignText?: React_2.CSSProperties["textAlign"];
535
514
  /** the label node */
536
515
  text?: ReactNode;
537
516
  /** default "normal" */
538
517
  size?: ButtonSize;
539
518
  /** An icon that will appear on the left, or the middle for icon buttons */
540
- icon?: AnyIcon | IconProps | JSX.Element | null;
519
+ icon?: AnyIcon | IconProps | React_2.JSX.Element | null;
541
520
  /** An icon that will appear on the right */
542
- rightIcon?: AnyIcon | IconProps | JSX.Element | null;
521
+ rightIcon?: AnyIcon | IconProps | React_2.JSX.Element | null;
543
522
  /** Render a loading spinner without change the size of the button */
544
523
  loading?: boolean;
545
524
  /** Show active style - same style as when pressing down on a button */
@@ -559,7 +538,7 @@ export declare interface CommonButtonProps {
559
538
  /**
560
539
  * @public
561
540
  */
562
- export declare const CreateNewOption: ({ text, icon, onClick, onMouseEnter, resetButton, iconColor, active, }: CreateNewOptionProps) => JSX.Element;
541
+ export declare const CreateNewOption: ({ text, icon, onClick, onMouseEnter, resetButton, iconColor, active, }: CreateNewOptionProps) => React_2.JSX.Element;
563
542
 
564
543
  /**
565
544
  * @public
@@ -579,10 +558,10 @@ declare type CssColor = Exclude<React.CSSProperties["color"], undefined>;
579
558
  /**
580
559
  * @public
581
560
  */
582
- export declare const DatePickerInputWithDisplay: StyledComponent<React_2.ForwardRefExoticComponent<DatePickerInputWithDisplayProps & React_2.RefAttributes<HTMLInputElement>>, DefaultTheme, {
583
- isVisibleRightIcon?: boolean;
584
- error?: boolean;
585
- }, never>;
561
+ export declare const DatePickerInputWithDisplay: ReturnType<typeof styled.input<DatePickerInputWithDisplayProps & {
562
+ isVisibleRightIcon?: boolean;
563
+ error?: boolean;
564
+ }>>;
586
565
 
587
566
  /**
588
567
  * @public
@@ -829,16 +808,12 @@ export declare interface DeskproTheme {
829
808
  * </Dialog>
830
809
  * ```
831
810
  */
832
- export declare function Dialog({ isOpen, canClickOutsideClose, canEscClose, children, hasBackdrop, onRequestClose, autofocus, size, zIndex, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, "aria-describedby": ariaDescribedBy, }: DialogProps): JSX.Element;
811
+ export declare function Dialog({ isOpen, canClickOutsideClose, canEscClose, children, hasBackdrop, onRequestClose, autofocus, size, zIndex, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, "aria-describedby": ariaDescribedBy, }: DialogProps): React_2.JSX.Element;
833
812
 
834
813
  /**
835
814
  * @public
836
815
  */
837
- export declare const DialogFooter: StyledComponent<"div", DefaultTheme, StackProps & {
838
- align: string;
839
- justify: string;
840
- gap: number;
841
- }, "align" | "justify" | "gap">;
816
+ export declare const DialogFooter: ReturnType<typeof styled.div<StackProps>>;
842
817
 
843
818
  /**
844
819
  * @public
@@ -875,14 +850,14 @@ export declare type DisplayItem = "perPageText" | "perPageSelect" | "pageSelect"
875
850
  /**
876
851
  * @public
877
852
  */
878
- export declare const DivAsInput: StyledComponent<React_2.ForwardRefExoticComponent<DivAsInputProps & React_2.RefAttributes<HTMLDivElement>>, DefaultTheme, {}, never>;
853
+ export declare const DivAsInput: ReturnType<typeof styled.div<DivAsInputProps>>;
879
854
 
880
855
  /**
881
856
  * @public
882
857
  */
883
858
  export declare interface DivAsInputProps extends Omit<HTMLAttributes<HTMLDivElement>, "placeholder"> {
884
- leftIcon?: AnyIcon | IconProps | JSX.Element | null;
885
- rightIcon?: AnyIcon | IconProps | JSX.Element | null;
859
+ leftIcon?: AnyIcon | IconProps | React_2.JSX.Element | null;
860
+ rightIcon?: AnyIcon | IconProps | React_2.JSX.Element | null;
886
861
  variant?: InputVariant;
887
862
  value?: ReactNode;
888
863
  placeholder?: ReactNode;
@@ -899,14 +874,14 @@ export declare interface DivAsInputProps extends Omit<HTMLAttributes<HTMLDivElem
899
874
  /**
900
875
  * @public
901
876
  */
902
- export declare const DivAsInputWithDisplay: StyledComponent<React_2.ForwardRefExoticComponent<DivAsInputWithDisplayProps & React_2.RefAttributes<HTMLDivElement>>, DefaultTheme, {}, never>;
877
+ export declare const DivAsInputWithDisplay: ReturnType<typeof styled.div<DivAsInputWithDisplayProps>>;
903
878
 
904
879
  /**
905
880
  * @public
906
881
  */
907
882
  export declare interface DivAsInputWithDisplayProps extends HTMLAttributes<HTMLDivElement> {
908
- leftIcon?: AnyIcon | IconProps | JSX.Element | null;
909
- rightIcon?: AnyIcon | IconProps | JSX.Element | null;
883
+ leftIcon?: AnyIcon | IconProps | React_2.JSX.Element | null;
884
+ rightIcon?: AnyIcon | IconProps | React_2.JSX.Element | null;
910
885
  variant?: InputVariant;
911
886
  value?: ReactNode;
912
887
  placeholder?: string;
@@ -924,18 +899,33 @@ export declare interface DivAsInputWithDisplayProps extends HTMLAttributes<HTMLD
924
899
  /**
925
900
  * @public
926
901
  */
927
- export declare const Divider: StyledComponent<"div", DefaultTheme, DividerProps, never>;
902
+ export declare const Divider: ReturnType<typeof styled.div<DividerProps>>;
928
903
 
929
904
  /**
930
905
  * @public
931
906
  */
932
907
  export declare interface DividerProps {
933
- vertical?: boolean;
934
- themeColor?: ThemeColorKey;
908
+ $vertical?: boolean;
909
+ $themeColor?: ThemeColorKey;
935
910
  }
936
911
 
912
+ /**
913
+ * A `css` mixin, typed by the consumer's own styled-components version.
914
+ *
915
+ * @public
916
+ */
917
+ export declare type DpCss = ReturnType<typeof css>;
918
+
937
919
  export declare type DpCustomIconsId = "active-call" | "admin" | "advanced-filter" | "agent" | "api" | "approval" | "apps-zapier" | "archived" | "arrow" | "awaiting-user" | "check" | "column-width" | "community" | "crown" | "deskpro" | "dot" | "drag" | "dual-card" | "dual-table" | "dual-view" | "email-primary" | "enter" | "export-alt" | "export" | "follow-up-new" | "follow-up" | "glossary" | "google-analytics" | "grip" | "hang-up" | "helping-hand" | "history" | "im-outline" | "im-send" | "im" | "inbound-call" | "kanban-view" | "level-down" | "linked-ticket-new" | "linked-ticket" | "live" | "location-arrow" | "merge" | "merge2" | "missed-call" | "mobile-rotate" | "organization-circle" | "outbound-call" | "read" | "record" | "sent" | "sip-address" | "sort" | "transfer-queue" | "triangle" | "user-edit" | "version-history" | "warm-add" | "warm-transfer" | "webhook" | "workspaces";
938
920
 
921
+ /**
922
+ * A `createGlobalStyle` component, typed by the consumer's own
923
+ * styled-components version.
924
+ *
925
+ * @public
926
+ */
927
+ export declare type DpGlobalStyle = ReturnType<typeof createGlobalStyle>;
928
+
939
929
  /**
940
930
  * Wraps around any child to upgrade it to a drilldown component. If used in the
941
931
  * render props style you get access to some of the internal state of the drilldown
@@ -963,7 +953,7 @@ export declare type DpCustomIconsId = "active-call" | "admin" | "advanced-filter
963
953
  * </Drilldown>
964
954
  * ```
965
955
  */
966
- export declare function Drilldown<T, TargetRef extends HTMLElement>({ type, children, options, inputValue, searchPlaceholder, placement, showInternalSearch, isLoading, usePortal, closeOnSelect, isOpen: isOpenProp, renderCreateNewOption, onCreateNewOption, hideIcons, hidePaths, iconColumnWidth, containerWidth, containerHeight, onSelectOption, onInputChange, onFetchMore, onClear, onClose, onOpen, onInputReturn, tabProps, disabled, fetchMoreText, autoscrollText, emptySearchResultsText, externalLinkIcon, selectedIcon, layer, animationDuration, onDrilldown, onDrilldownAnimationEnd, onDrillupAnimationEnd, backText, backLabel, clearLabel, expandLabel, filterPredicate, includeParentsInSearch, }: DrilldownProps<T, TargetRef>): JSX.Element;
956
+ export declare function Drilldown<T, TargetRef extends HTMLElement>({ type, children, options, inputValue, searchPlaceholder, placement, showInternalSearch, isLoading, usePortal, closeOnSelect, isOpen: isOpenProp, renderCreateNewOption, onCreateNewOption, hideIcons, hidePaths, iconColumnWidth, containerWidth, containerHeight, onSelectOption, onInputChange, onFetchMore, onClear, onClose, onOpen, onInputReturn, tabProps, disabled, fetchMoreText, autoscrollText, emptySearchResultsText, externalLinkIcon, selectedIcon, layer, animationDuration, onDrilldown, onDrilldownAnimationEnd, onDrillupAnimationEnd, backText, backLabel, clearLabel, expandLabel, filterPredicate, includeParentsInSearch, }: DrilldownProps<T, TargetRef>): React_2.JSX.Element;
967
957
 
968
958
  export declare interface DrilldownBaseProps<T, TargetRef extends HTMLElement> {
969
959
  /** Event handler for when an option is selected */
@@ -1011,7 +1001,7 @@ export declare interface DrilldownBaseProps<T, TargetRef extends HTMLElement> {
1011
1001
  onOpen?: () => void;
1012
1002
  /** The target for the drilldown. Either a normal ReactNode or a render
1013
1003
  * prop with additional state from the drilldown */
1014
- children: ((props: DrilldownTargetProps<TargetRef>) => JSX.Element) | JSX.Element;
1004
+ children: ((props: DrilldownTargetProps<TargetRef>) => React_2.JSX.Element) | React_2.JSX.Element;
1015
1005
  /** Render the create new option - no default implementation and renders as a
1016
1006
  * sticky footer above the normal sticky footer
1017
1007
  */
@@ -1052,17 +1042,11 @@ export declare interface DrilldownBaseProps<T, TargetRef extends HTMLElement> {
1052
1042
  /**
1053
1043
  * @public
1054
1044
  */
1055
- export declare const DrilldownContainer: StyledComponent<ForwardRefComponent<HTMLDivElement, HTMLMotionProps<"div">>, DefaultTheme, {
1056
- "data-dp-name": string;
1057
- "data-dp-ident"?: string;
1058
- } & {
1059
- containerWidth?: number;
1060
- containerHeight?: number;
1061
- layer: keyof Layers;
1062
- }, keyof {
1063
- "data-dp-name": string;
1064
- "data-dp-ident"?: string;
1065
- }>;
1045
+ export declare const DrilldownContainer: ReturnType<typeof styled.div<{
1046
+ containerWidth?: number;
1047
+ containerHeight?: number;
1048
+ layer: keyof Layers;
1049
+ }>>;
1066
1050
 
1067
1051
  /**
1068
1052
  * @public
@@ -1075,7 +1059,7 @@ export declare interface DrilldownCreateNew {
1075
1059
  /**
1076
1060
  * @public
1077
1061
  */
1078
- export declare const DrilldownCreateNewOption: ({ text, icon, onClick, resetButton, iconColor, active, }: DrilldownCreateNewOptionProps) => JSX.Element;
1062
+ export declare const DrilldownCreateNewOption: ({ text, icon, onClick, resetButton, iconColor, active, }: DrilldownCreateNewOptionProps) => React_2.JSX.Element;
1079
1063
 
1080
1064
  /**
1081
1065
  * @public
@@ -1107,7 +1091,7 @@ export declare interface DrilldownDividerFlat extends DrilldownDivider {
1107
1091
  /**
1108
1092
  * @public
1109
1093
  */
1110
- export declare const DrilldownDividerItem: StyledComponent<"div", DefaultTheme, {}, never>;
1094
+ export declare const DrilldownDividerItem: ReturnType<typeof styled.div<object>>;
1111
1095
 
1112
1096
  /**
1113
1097
  * @public
@@ -1159,7 +1143,7 @@ export declare interface DrilldownHeaderFlatType extends DrilldownHeaderType {
1159
1143
  /**
1160
1144
  * @public
1161
1145
  */
1162
- export declare const DrilldownHeaderItem: StyledComponent<"div", DefaultTheme, {}, never>;
1146
+ export declare const DrilldownHeaderItem: ReturnType<typeof styled.div<object>>;
1163
1147
 
1164
1148
  /**
1165
1149
  * @public
@@ -1173,19 +1157,19 @@ export declare interface DrilldownHeaderType {
1173
1157
  /**
1174
1158
  * @public
1175
1159
  */
1176
- export declare const DrilldownIcon: StyledComponent<"div", DefaultTheme, {
1177
- iconColumnWidth?: number;
1178
- }, never>;
1160
+ export declare const DrilldownIcon: ReturnType<typeof styled.div<{
1161
+ $iconColumnWidth?: number;
1162
+ }>>;
1179
1163
 
1180
1164
  /**
1181
1165
  * @public
1182
1166
  */
1183
- export declare const DrilldownInternalSearchInputContainer: StyledComponent<"div", DefaultTheme, {}, never>;
1167
+ export declare const DrilldownInternalSearchInputContainer: ReturnType<typeof styled.div<object>>;
1184
1168
 
1185
1169
  /**
1186
1170
  * @public
1187
1171
  */
1188
- export declare function DrilldownItem<T = unknown>({ value, active, onSelect, onSelectIcon, onClickSubItem, hideIcons, iconColumnWidth, selectedIcon, externalLinkIcon, handleDrilldown, dataKey, subItems, isSearchResult, inputValue, flatItemTree, hidePaths, hasSelectedItems, hasExpandableItems, hasItemsWithIcons, setActiveItem, expandLabel, }: DrilldownItemProps<T>): JSX.Element;
1172
+ export declare function DrilldownItem<T = unknown>({ value, active, onSelect, onSelectIcon, onClickSubItem, hideIcons, iconColumnWidth, selectedIcon, externalLinkIcon, handleDrilldown, dataKey, subItems, isSearchResult, inputValue, flatItemTree, hidePaths, hasSelectedItems, hasExpandableItems, hasItemsWithIcons, setActiveItem, expandLabel, }: DrilldownItemProps<T>): React_2.JSX.Element;
1189
1173
 
1190
1174
  /**
1191
1175
  * @public
@@ -1195,12 +1179,12 @@ export declare type DrilldownItemFlatType<T = unknown> = DrilldownValueFlatType<
1195
1179
  /**
1196
1180
  * @public
1197
1181
  */
1198
- export declare const DrilldownItemLayout: StyledComponent<"a", DefaultTheme, DrilldownItemLayoutProps, never>;
1182
+ export declare const DrilldownItemLayout: ReturnType<typeof styled.a<DrilldownItemLayoutProps>>;
1199
1183
 
1200
1184
  export declare interface DrilldownItemLayoutProps {
1201
1185
  disabled?: boolean;
1202
- active?: boolean;
1203
- paddingLeft?: boolean;
1186
+ $active?: boolean;
1187
+ $paddingLeft?: boolean;
1204
1188
  }
1205
1189
 
1206
1190
  /**
@@ -1256,9 +1240,9 @@ export declare type DrilldownItemType<T = unknown> = DrilldownItemTreeType<T> |
1256
1240
  /**
1257
1241
  * @public
1258
1242
  */
1259
- export declare const DrilldownLabel: StyledComponent<"div", DefaultTheme, {
1260
- selected?: boolean;
1261
- }, never>;
1243
+ export declare const DrilldownLabel: ReturnType<typeof styled.div<{
1244
+ selected?: boolean;
1245
+ }>>;
1262
1246
 
1263
1247
  /**
1264
1248
  * @public
@@ -1311,7 +1295,7 @@ export declare type DrilldownRenderOptionsProps<T> = {
1311
1295
  /**
1312
1296
  * @public
1313
1297
  */
1314
- export declare const DrilldownResetButton: ({ onClick, buttonText, undoIcon, }: DrilldownResetButtonProps) => JSX.Element;
1298
+ export declare const DrilldownResetButton: ({ onClick, buttonText, undoIcon, }: DrilldownResetButtonProps) => React_2.JSX.Element;
1315
1299
 
1316
1300
  /**
1317
1301
  * @public
@@ -1425,7 +1409,7 @@ export declare interface DrilldownTreeProps<T, TargetRef extends HTMLElement> ex
1425
1409
  /**
1426
1410
  * @public
1427
1411
  */
1428
- export declare const DrilldownTrigger: StyledComponent<"div", DefaultTheme, {}, never>;
1412
+ export declare const DrilldownTrigger: ReturnType<typeof styled.div<object>>;
1429
1413
 
1430
1414
  /**
1431
1415
  * @public
@@ -1444,7 +1428,7 @@ export declare interface DrilldownValueBaseType<OriginalValue> {
1444
1428
  /** Description to render */
1445
1429
  description?: string;
1446
1430
  /** Icon to render */
1447
- icon?: AnyIcon | IconProps | JSX.Element | null;
1431
+ icon?: AnyIcon | IconProps | React_2.JSX.Element | null;
1448
1432
  /** Show option as selected */
1449
1433
  selected?: boolean;
1450
1434
  /** Link to render - changes behavior to open link in new browser tab */
@@ -1512,23 +1496,17 @@ export declare type DrilldownValueType<OriginalValue> = DrilldownValueTreeType<O
1512
1496
  * </Dropdown>
1513
1497
  * ```
1514
1498
  */
1515
- export declare function Dropdown<T, TargetRef extends HTMLElement = any>({ children, options, stickyHeaderOptions, stickyFooterOptions, inputValue, searchPlaceholder, clearLabel, expandLabel, placement, showInternalSearch, isLoading, usePortal, closeOnSelect, isOpen: isOpenProp, renderCreateNewOption, onCreateNewOption, hideIcons, iconColumnWidth, containerWidth, containerHeight, containerRef, onSelectOption, onInputChange, onFetchMore, onClear, onClose, onOpen, optionsRenderer, onInputReturn, tabProps, disabled, fetchMoreText, autoscrollText, externalLinkIcon, selectedIcon, layer, containerMaxHeight, openChildrenOnMouseOver, isSubItemDropdown, openSubmenuOnButtonHover, listboxAriaLabel, listboxAriaLabelledBy, }: DropdownProps<T, TargetRef>): JSX.Element;
1499
+ export declare function Dropdown<T, TargetRef extends HTMLElement = any>({ children, options, stickyHeaderOptions, stickyFooterOptions, inputValue, searchPlaceholder, clearLabel, expandLabel, placement, showInternalSearch, isLoading, usePortal, closeOnSelect, isOpen: isOpenProp, renderCreateNewOption, onCreateNewOption, hideIcons, iconColumnWidth, containerWidth, containerHeight, containerRef, onSelectOption, onInputChange, onFetchMore, onClear, onClose, onOpen, optionsRenderer, onInputReturn, tabProps, disabled, fetchMoreText, autoscrollText, externalLinkIcon, selectedIcon, layer, containerMaxHeight, openChildrenOnMouseOver, isSubItemDropdown, openSubmenuOnButtonHover, listboxAriaLabel, listboxAriaLabelledBy, }: DropdownProps<T, TargetRef>): React_2.JSX.Element;
1516
1500
 
1517
1501
  /**
1518
1502
  * @public
1519
1503
  */
1520
- export declare const DropdownContainer: StyledComponent<ForwardRefComponent<HTMLDivElement, HTMLMotionProps<"div">>, DefaultTheme, {
1521
- "data-dp-name": string;
1522
- "data-dp-ident"?: string;
1523
- } & {
1524
- containerWidth?: number;
1525
- containerHeight?: number;
1526
- layer: keyof Layers;
1527
- containerMaxHeight?: string | number;
1528
- }, keyof {
1529
- "data-dp-name": string;
1530
- "data-dp-ident"?: string;
1531
- }>;
1504
+ export declare const DropdownContainer: ReturnType<typeof styled.div<{
1505
+ containerWidth?: number;
1506
+ containerHeight?: number;
1507
+ layer: keyof Layers;
1508
+ containerMaxHeight?: string | number;
1509
+ }>>;
1532
1510
 
1533
1511
  /**
1534
1512
  * @public
@@ -1540,12 +1518,12 @@ export declare interface DropdownDivider {
1540
1518
  /**
1541
1519
  * @public
1542
1520
  */
1543
- export declare const DropdownDividerItem: StyledComponent<"div", DefaultTheme, {}, never>;
1521
+ export declare const DropdownDividerItem: ReturnType<typeof styled.div<object>>;
1544
1522
 
1545
1523
  /**
1546
1524
  * @public
1547
1525
  */
1548
- export declare const DropdownHeaderItem: StyledComponent<"div", DefaultTheme, {}, never>;
1526
+ export declare const DropdownHeaderItem: ReturnType<typeof styled.div<object>>;
1549
1527
 
1550
1528
  /**
1551
1529
  * @public
@@ -1559,9 +1537,9 @@ export declare interface DropdownHeaderType {
1559
1537
  /**
1560
1538
  * @public
1561
1539
  */
1562
- export declare const DropdownInternalSearchInputContainer: StyledComponent<"div", DefaultTheme, {}, never>;
1540
+ export declare const DropdownInternalSearchInputContainer: ReturnType<typeof styled.div<object>>;
1563
1541
 
1564
- export declare const DropdownItem: <T>(p: DropdownItemProps<T>) => JSX.Element;
1542
+ export declare const DropdownItem: <T>(p: DropdownItemProps<T>) => React_2.JSX.Element;
1565
1543
 
1566
1544
  /**
1567
1545
  * @public
@@ -1671,7 +1649,7 @@ export declare interface DropdownProps<T, TargetRef extends HTMLElement> {
1671
1649
  /** Add in custom max height to the dropdown options container */
1672
1650
  containerMaxHeight?: string | number;
1673
1651
  /** A ref to the container element */
1674
- containerRef?: React_2.RefObject<HTMLElement>;
1652
+ containerRef?: React_2.RefObject<HTMLElement | null>;
1675
1653
  /** Event handler for when the "active" item changes via keyboard events */
1676
1654
  onActiveOptionChange?: (item: DropdownValueType<T> | null) => void;
1677
1655
  /** Event handler for when the "clear" event is triggered for the search input */
@@ -1689,23 +1667,23 @@ export declare interface DropdownProps<T, TargetRef extends HTMLElement> {
1689
1667
  onOpen?: () => void;
1690
1668
  /** The target for the dropdown. Either a normal ReactNode or a render
1691
1669
  * prop with additional state from the dropdown */
1692
- children: ((props: DropdownTargetProps<TargetRef>) => JSX.Element) | JSX.Element;
1670
+ children: ((props: DropdownTargetProps<TargetRef>) => React_2.JSX.Element) | React_2.JSX.Element;
1693
1671
  /** Tag to use for the wrapper element, default div */
1694
- renderItem?: (item: DropdownValueType<T>, meta: DropdownItemMeta) => JSX.Element;
1672
+ renderItem?: (item: DropdownValueType<T>, meta: DropdownItemMeta) => React_2.JSX.Element;
1695
1673
  /** Override the rendering of dropdown labels within dropdown options */
1696
- renderLabel?: (item: DropdownValueType<T>, meta: DropdownItemMeta) => JSX.Element;
1674
+ renderLabel?: (item: DropdownValueType<T>, meta: DropdownItemMeta) => React_2.JSX.Element;
1697
1675
  /** Override the rendering of menu container */
1698
- renderMenu?: () => JSX.Element;
1676
+ renderMenu?: () => React_2.JSX.Element;
1699
1677
  /** Override the rendering of divider elements in the list of options*/
1700
- renderDivider?: () => JSX.Element;
1678
+ renderDivider?: () => React_2.JSX.Element;
1701
1679
  /** Override the rendering of header elements in the list of options */
1702
- renderHeader?: (item: DropdownHeaderType) => JSX.Element;
1680
+ renderHeader?: (item: DropdownHeaderType) => React_2.JSX.Element;
1703
1681
  /** Override the rendering of the sticky header in the list of options */
1704
1682
  renderStickyHeader?: ReactNode;
1705
1683
  /** Override the rendering of the sticky footer in the list of options */
1706
1684
  renderStickyFooter?: ReactNode;
1707
1685
  /** Override the rendering of the internal search input*/
1708
- renderInternalSearch?: (props: InputHTMLAttributes<HTMLInputElement>) => JSX.Element;
1686
+ renderInternalSearch?: (props: InputHTMLAttributes<HTMLInputElement>) => React_2.JSX.Element;
1709
1687
  /** Render the create new option - no default implementation and renders as a
1710
1688
  * sticky footer above the normal sticky footer
1711
1689
  */
@@ -1740,7 +1718,7 @@ export declare interface DropdownProps<T, TargetRef extends HTMLElement> {
1740
1718
  /**
1741
1719
  * @public
1742
1720
  */
1743
- export declare function dropdownRenderOptions<T = string>({ handleSelectOption, activeItem, activeSubItem, setActiveSubItem, fetchMoreText, autoscrollText, selectedIcon, externalLinkIcon, hasSelectedItems, hasExpandableItems, hideIcons, iconColumnWidth, openChildrenOnMouseOver, layer, setActiveValueIndex, valueOptions, openSubmenuOnButtonHover, listboxId, optionIndexOffset, expandLabel, }: DropdownRenderOptionsProps<T>): (value: DropdownItemType<T>, index: number, array: DropdownItemType<T>[]) => JSX.Element | null;
1721
+ export declare function dropdownRenderOptions<T = string>({ handleSelectOption, activeItem, activeSubItem, setActiveSubItem, fetchMoreText, autoscrollText, selectedIcon, externalLinkIcon, hasSelectedItems, hasExpandableItems, hideIcons, iconColumnWidth, openChildrenOnMouseOver, layer, setActiveValueIndex, valueOptions, openSubmenuOnButtonHover, listboxId, optionIndexOffset, expandLabel, }: DropdownRenderOptionsProps<T>): (value: DropdownItemType<T>, index: number, array: DropdownItemType<T>[]) => React_2.JSX.Element | null;
1744
1722
 
1745
1723
  /**
1746
1724
  * @public
@@ -1774,7 +1752,7 @@ export declare type DropdownRenderOptionsProps<T = string> = {
1774
1752
  /**
1775
1753
  * @public
1776
1754
  */
1777
- export declare const DropdownResetButton: ({ onClick, buttonText, undoIcon, }: DropdownResetButtonProps) => JSX.Element;
1755
+ export declare const DropdownResetButton: ({ onClick, buttonText, undoIcon, }: DropdownResetButtonProps) => React_2.JSX.Element;
1778
1756
 
1779
1757
  export declare interface DropdownResetButtonProps {
1780
1758
  onClick: () => void;
@@ -1806,7 +1784,7 @@ export declare interface DropdownTargetProps<TargetRef extends HTMLElement> {
1806
1784
  /**
1807
1785
  * @public
1808
1786
  */
1809
- export declare const DropdownTrigger: StyledComponent<"div", DefaultTheme, {}, never>;
1787
+ export declare const DropdownTrigger: ReturnType<typeof styled.div<object>>;
1810
1788
 
1811
1789
  /**
1812
1790
  * @public
@@ -1823,7 +1801,7 @@ export declare interface DropdownValueType<OriginalValue> {
1823
1801
  /** Description to render */
1824
1802
  description?: string;
1825
1803
  /** Icon to render */
1826
- icon?: AnyIcon | IconProps | JSX.Element | null;
1804
+ icon?: AnyIcon | IconProps | React_2.JSX.Element | null;
1827
1805
  /** Show option as selected */
1828
1806
  selected?: boolean;
1829
1807
  /** Link to render - changes behavior to open link in new browser tab */
@@ -1847,11 +1825,6 @@ export declare interface DropdownValueType<OriginalValue> {
1847
1825
  showHrefIcon?: boolean;
1848
1826
  }
1849
1827
 
1850
- /**
1851
- * @public
1852
- */
1853
- export declare const EllipsesTippyTooltip: ({ disabled, ...props }: Parameters<typeof TippyTooltip>[0]) => React_2.JSX.Element;
1854
-
1855
1828
  /**
1856
1829
  * @public
1857
1830
  */
@@ -1860,7 +1833,7 @@ export declare const EllipsesTooltip: ({ disabled, ...props }: TooltipProps) =>
1860
1833
  /**
1861
1834
  * @public
1862
1835
  */
1863
- export declare const EmailSpan: StyledComponent<"span", DefaultTheme, TProps, never>;
1836
+ export declare const EmailSpan: ReturnType<typeof styled.span<TProps>>;
1864
1837
 
1865
1838
  /**
1866
1839
  * @public
@@ -1937,7 +1910,7 @@ export declare const getTextareaNumberOfLines: (element: HTMLTextAreaElement | H
1937
1910
  /**
1938
1911
  * @public
1939
1912
  */
1940
- export declare const GlobalStyles: GlobalStyleComponent< {}, DefaultTheme>;
1913
+ export declare const GlobalStyles: DpGlobalStyle;
1941
1914
 
1942
1915
  export declare const GroupByButton: React_2.ForwardRefExoticComponent<HTMLButtonProps & Omit<CommonButtonProps, "intent"> & {
1943
1916
  intent?: ButtonIntent;
@@ -1962,214 +1935,202 @@ export declare type GroupByProps = {
1962
1935
  /**
1963
1936
  * @public
1964
1937
  */
1965
- export declare const H0: StyledComponent<"h1", DefaultTheme, {
1966
- type: string;
1967
- }, "type">;
1938
+ export declare const H0: ReturnType<typeof styled.h1<{
1939
+ type?: string;
1940
+ }>>;
1968
1941
 
1969
1942
  /**
1970
1943
  * @public
1971
1944
  */
1972
- export declare const H1: StyledComponent<"h1", DefaultTheme, {
1973
- type: string;
1974
- }, "type">;
1945
+ export declare const H1: ReturnType<typeof styled.h1<{
1946
+ type?: string;
1947
+ }>>;
1975
1948
 
1976
1949
  /**
1977
1950
  * @public
1978
1951
  */
1979
- export declare const H10: StyledComponent<"h1", DefaultTheme, {
1980
- type: string;
1981
- }, "type">;
1952
+ export declare const H10: ReturnType<typeof styled.h1<{
1953
+ type?: string;
1954
+ }>>;
1982
1955
 
1983
1956
  /**
1984
1957
  * @public
1985
1958
  */
1986
- export declare const H11: StyledComponent<"h1", DefaultTheme, {
1987
- type: string;
1988
- }, "type">;
1959
+ export declare const H11: ReturnType<typeof styled.h1<{
1960
+ type?: string;
1961
+ }>>;
1989
1962
 
1990
1963
  /**
1991
1964
  * @public
1992
1965
  */
1993
- export declare const H2: StyledComponent<"h2", DefaultTheme, {
1994
- type: string;
1995
- }, "type">;
1966
+ export declare const H2: ReturnType<typeof styled.h2<{
1967
+ type?: string;
1968
+ }>>;
1996
1969
 
1997
1970
  /**
1998
1971
  * @public
1999
1972
  */
2000
- export declare const H3: StyledComponent<"h3", DefaultTheme, {
2001
- type: string;
2002
- }, "type">;
1973
+ export declare const H3: ReturnType<typeof styled.h3<{
1974
+ type?: string;
1975
+ }>>;
2003
1976
 
2004
1977
  /**
2005
1978
  * @public
2006
1979
  */
2007
- export declare const H4: StyledComponent<"h4", DefaultTheme, {
2008
- type: string;
2009
- }, "type">;
1980
+ export declare const H4: ReturnType<typeof styled.h4<{
1981
+ type?: string;
1982
+ }>>;
2010
1983
 
2011
1984
  /**
2012
1985
  * @public
2013
1986
  */
2014
- export declare const H5: StyledComponent<"h5", DefaultTheme, {
2015
- type: string;
2016
- }, "type">;
1987
+ export declare const H5: ReturnType<typeof styled.h5<{
1988
+ type?: string;
1989
+ }>>;
2017
1990
 
2018
1991
  /**
2019
1992
  * @public
2020
1993
  */
2021
- export declare const H6: StyledComponent<"h6", DefaultTheme, {
2022
- type: string;
2023
- }, "type">;
1994
+ export declare const H6: ReturnType<typeof styled.h6<{
1995
+ type?: string;
1996
+ }>>;
2024
1997
 
2025
1998
  /**
2026
1999
  * @public
2027
2000
  */
2028
- export declare const H7: StyledComponent<"h6", DefaultTheme, {
2029
- type: string;
2030
- }, "type">;
2001
+ export declare const H7: ReturnType<typeof styled.h6<{
2002
+ type?: string;
2003
+ }>>;
2031
2004
 
2032
2005
  /**
2033
2006
  * @public
2034
2007
  */
2035
- export declare const H8: StyledComponent<"h6", DefaultTheme, {
2036
- type: string;
2037
- }, "type">;
2008
+ export declare const H8: ReturnType<typeof styled.h6<{
2009
+ type?: string;
2010
+ }>>;
2038
2011
 
2039
2012
  /**
2040
2013
  * @public
2041
2014
  */
2042
- export declare const H9: StyledComponent<"h1", DefaultTheme, {
2043
- type: string;
2044
- }, "type">;
2015
+ export declare const H9: ReturnType<typeof styled.h1<{
2016
+ type?: string;
2017
+ }>>;
2045
2018
 
2046
2019
  /**
2047
2020
  * @public
2048
2021
  */
2049
2022
  export declare type HeaderSize = "small" | "medium" | "large" | "xlarge" | "overlay";
2050
2023
 
2024
+ /**
2025
+ * @public
2026
+ * @deprecated Don't use outside this file, use the styled typography components instead eg <TSpan type="h0" /> or <H0 />
2027
+ */
2028
+ /**
2029
+ * @public
2030
+ */
2031
+ export declare type HeadingStyleKeysV1 = "h0" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "h7" | "h8" | "h9" | "h10" | "h11";
2032
+
2033
+ /**
2034
+ * @public
2035
+ */
2036
+ export declare type HeadingStyleKeysV2 = "h_h1" | "h_h1_paragraph" | "h_h2" | "h_h2_paragraph" | "h_h3" | "h_h3_paragraph" | "h_h4" | "h_h4_paragraph" | "h_h5" | "h_h5_paragraph" | "h_h6" | "h_h6_paragraph" | "h_h6_kerning";
2037
+
2051
2038
  /**
2052
2039
  * @public
2053
2040
  * @deprecated Don't use outside this file, use the styled typography components instead eg <TSpan type="h_h1" /> or <HH1 />
2054
2041
  */
2055
- export declare const headingStyles: {
2056
- h_h1: FlattenInterpolation<ThemeProps<DefaultTheme>>;
2057
- h_h1_paragraph: FlattenInterpolation<ThemeProps<DefaultTheme>>;
2058
- h_h2: FlattenInterpolation<ThemeProps<DefaultTheme>>;
2059
- h_h2_paragraph: FlattenInterpolation<ThemeProps<DefaultTheme>>;
2060
- h_h3: FlattenInterpolation<ThemeProps<DefaultTheme>>;
2061
- h_h3_paragraph: FlattenInterpolation<ThemeProps<DefaultTheme>>;
2062
- h_h4: FlattenInterpolation<ThemeProps<DefaultTheme>>;
2063
- h_h4_paragraph: FlattenInterpolation<ThemeProps<DefaultTheme>>;
2064
- h_h5: FlattenInterpolation<ThemeProps<DefaultTheme>>;
2065
- h_h5_paragraph: FlattenInterpolation<ThemeProps<DefaultTheme>>;
2066
- h_h6: FlattenInterpolation<ThemeProps<DefaultTheme>>;
2067
- h_h6_paragraph: FlattenInterpolation<ThemeProps<DefaultTheme>>;
2068
- h_h6_kerning: FlattenInterpolation<ThemeProps<DefaultTheme>>;
2069
- h0: FlattenInterpolation<ThemeProps<DefaultTheme>>;
2070
- h1: FlattenInterpolation<ThemeProps<DefaultTheme>>;
2071
- h2: FlattenInterpolation<ThemeProps<DefaultTheme>>;
2072
- h3: FlattenInterpolation<ThemeProps<DefaultTheme>>;
2073
- h4: FlattenInterpolation<ThemeProps<DefaultTheme>>;
2074
- h5: FlattenInterpolation<ThemeProps<DefaultTheme>>;
2075
- h6: FlattenInterpolation<ThemeProps<DefaultTheme>>;
2076
- h7: FlattenInterpolation<ThemeProps<DefaultTheme>>;
2077
- h8: FlattenInterpolation<ThemeProps<DefaultTheme>>;
2078
- h9: FlattenInterpolation<ThemeProps<DefaultTheme>>;
2079
- h10: FlattenInterpolation<ThemeProps<DefaultTheme>>;
2080
- h11: FlattenInterpolation<ThemeProps<DefaultTheme>>;
2081
- };
2042
+ export declare const headingStyles: Record<HeadingStyleKeysV1 | HeadingStyleKeysV2, DpCss>;
2082
2043
 
2083
2044
  /**
2084
2045
  * @public
2085
2046
  */
2086
- export declare const HH1: StyledComponent<"h1", DefaultTheme, {
2087
- type: string;
2088
- }, "type">;
2047
+ export declare const HH1: ReturnType<typeof styled.h1<{
2048
+ type?: string;
2049
+ }>>;
2089
2050
 
2090
2051
  /**
2091
2052
  * @public
2092
2053
  */
2093
- export declare const HH1Paragraph: StyledComponent<"h1", DefaultTheme, {
2094
- type: string;
2095
- }, "type">;
2054
+ export declare const HH1Paragraph: ReturnType<typeof styled.h1<{
2055
+ type?: string;
2056
+ }>>;
2096
2057
 
2097
2058
  /**
2098
2059
  * @public
2099
2060
  */
2100
- export declare const HH2: StyledComponent<"h2", DefaultTheme, {
2101
- type: string;
2102
- }, "type">;
2061
+ export declare const HH2: ReturnType<typeof styled.h2<{
2062
+ type?: string;
2063
+ }>>;
2103
2064
 
2104
2065
  /**
2105
2066
  * @public
2106
2067
  */
2107
- export declare const HH2Paragraph: StyledComponent<"h2", DefaultTheme, {
2108
- type: string;
2109
- }, "type">;
2068
+ export declare const HH2Paragraph: ReturnType<typeof styled.h2<{
2069
+ type?: string;
2070
+ }>>;
2110
2071
 
2111
2072
  /**
2112
2073
  * @public
2113
2074
  */
2114
- export declare const HH3: StyledComponent<"h1", DefaultTheme, {
2115
- type: string;
2116
- }, "type">;
2075
+ export declare const HH3: ReturnType<typeof styled.h1<{
2076
+ type?: string;
2077
+ }>>;
2117
2078
 
2118
2079
  /**
2119
2080
  * @public
2120
2081
  */
2121
- export declare const HH3Paragraph: StyledComponent<"h3", DefaultTheme, {
2122
- type: string;
2123
- }, "type">;
2082
+ export declare const HH3Paragraph: ReturnType<typeof styled.h3<{
2083
+ type?: string;
2084
+ }>>;
2124
2085
 
2125
2086
  /**
2126
2087
  * @public
2127
2088
  */
2128
- export declare const HH4: StyledComponent<"h4", DefaultTheme, {
2129
- type: string;
2130
- }, "type">;
2089
+ export declare const HH4: ReturnType<typeof styled.h4<{
2090
+ type?: string;
2091
+ }>>;
2131
2092
 
2132
2093
  /**
2133
2094
  * @public
2134
2095
  */
2135
- export declare const HH4Paragraph: StyledComponent<"h4", DefaultTheme, {
2136
- type: string;
2137
- }, "type">;
2096
+ export declare const HH4Paragraph: ReturnType<typeof styled.h4<{
2097
+ type?: string;
2098
+ }>>;
2138
2099
 
2139
2100
  /**
2140
2101
  * @public
2141
2102
  */
2142
- export declare const HH5: StyledComponent<"h5", DefaultTheme, {
2143
- type: string;
2144
- }, "type">;
2103
+ export declare const HH5: ReturnType<typeof styled.h5<{
2104
+ type?: string;
2105
+ }>>;
2145
2106
 
2146
2107
  /**
2147
2108
  * @public
2148
2109
  */
2149
- export declare const HH5Paragraph: StyledComponent<"h5", DefaultTheme, {
2150
- type: string;
2151
- }, "type">;
2110
+ export declare const HH5Paragraph: ReturnType<typeof styled.h5<{
2111
+ type?: string;
2112
+ }>>;
2152
2113
 
2153
2114
  /**
2154
2115
  * @public
2155
2116
  */
2156
- export declare const HH6: StyledComponent<"h6", DefaultTheme, {
2157
- type: string;
2158
- }, "type">;
2117
+ export declare const HH6: ReturnType<typeof styled.h6<{
2118
+ type?: string;
2119
+ }>>;
2159
2120
 
2160
2121
  /**
2161
2122
  * @public
2162
2123
  */
2163
- export declare const HH6Kerning: StyledComponent<"h6", DefaultTheme, {
2164
- type: string;
2165
- }, "type">;
2124
+ export declare const HH6Kerning: ReturnType<typeof styled.h6<{
2125
+ type?: string;
2126
+ }>>;
2166
2127
 
2167
2128
  /**
2168
2129
  * @public
2169
2130
  */
2170
- export declare const HH6Paragraph: StyledComponent<"h6", DefaultTheme, {
2171
- type: string;
2172
- }, "type">;
2131
+ export declare const HH6Paragraph: ReturnType<typeof styled.h6<{
2132
+ type?: string;
2133
+ }>>;
2173
2134
 
2174
2135
  export declare type HTMLAnchorButtonProps = Omit<AnchorHTMLAttributes<HTMLAnchorElement>, "children">;
2175
2136
 
@@ -2208,13 +2169,13 @@ export declare type HTMLSelectAttributes = SelectHTMLAttributes<HTMLSelectElemen
2208
2169
  * <Icon icon="agent" themeColor="green100" />;
2209
2170
  * ```
2210
2171
  */
2211
- export declare const Icon: StyledComponent<({ icon, themeColor, size, ...rest }: IconProps) => JSX.Element, DefaultTheme, {}, never>;
2172
+ export declare const Icon: ReturnType<typeof styled.span<IconProps>>;
2212
2173
 
2213
2174
  /**
2214
2175
  * Icon Button
2215
2176
  * @public
2216
2177
  */
2217
- export declare const IconButton: StyledComponent<React_2.ForwardRefExoticComponent<IconButtonProps & React_2.RefAttributes<HTMLButtonElement>>, DefaultTheme, {}, never>;
2178
+ export declare const IconButton: ReturnType<typeof styled.button<IconButtonProps>>;
2218
2179
 
2219
2180
  export declare type IconButtonGuard = AccessibleIconButton | InaccessibleIconButton;
2220
2181
 
@@ -2260,7 +2221,7 @@ export declare type IconType = (typeof ICONS)[number];
2260
2221
  /**
2261
2222
  * @public
2262
2223
  */
2263
- export declare const IconV2: StyledComponent<({ icon, className, size, ...rest }: IconV2Props) => React_2.JSX.Element, DefaultTheme, {}, never>;
2224
+ export declare const IconV2: ReturnType<typeof styled.span<IconV2Props>>;
2264
2225
 
2265
2226
  /**
2266
2227
  * @public
@@ -2277,7 +2238,7 @@ export declare interface IconV2Props extends HTMLAttributes<HTMLElement> {
2277
2238
  /**
2278
2239
  * @public
2279
2240
  */
2280
- export declare const IdHashSpan: StyledComponent<"span", DefaultTheme, TProps, never>;
2241
+ export declare const IdHashSpan: ReturnType<typeof styled.span<TProps>>;
2281
2242
 
2282
2243
  /**
2283
2244
  * @public
@@ -2318,7 +2279,7 @@ export declare interface InfiniteProps {
2318
2279
  scrollSideEffect?: (event: React_2.UIEvent<HTMLElement, UIEvent>) => void;
2319
2280
  width?: string;
2320
2281
  /** Align the list, you probably want flex-end if the list is reversed so it aligns to the bottom of the viewport */
2321
- justify?: StackProps["justify"];
2282
+ justify?: StackProps["$justify"];
2322
2283
  fetchMoreText: ReactNode;
2323
2284
  autoscrollText: ReactNode;
2324
2285
  scrollRef?: Ref<HTMLDivElement>;
@@ -2371,14 +2332,14 @@ export declare interface InfiniteTopBottomProps {
2371
2332
  /**
2372
2333
  * @public
2373
2334
  */
2374
- export declare const Input: StyledComponent<React_2.ForwardRefExoticComponent<InputProps & React_2.RefAttributes<HTMLInputElement>>, DefaultTheme, {}, never>;
2335
+ export declare const Input: ReturnType<typeof styled.input<InputProps>>;
2375
2336
 
2376
2337
  /**
2377
2338
  * @public
2378
2339
  */
2379
2340
  export declare interface InputProps extends InputHTMLAttributes<HTMLInputElement> {
2380
- leftIcon?: AnyIcon | IconProps | JSX.Element | null;
2381
- rightIcon?: AnyIcon | IconProps | JSX.Element | null;
2341
+ leftIcon?: AnyIcon | IconProps | React_2.JSX.Element | null;
2342
+ rightIcon?: AnyIcon | IconProps | React_2.JSX.Element | null;
2382
2343
  variant?: InputVariant;
2383
2344
  /** default medium */
2384
2345
  inputsize?: InputSize;
@@ -2403,7 +2364,7 @@ export declare type InputVariant = "normal" | "inline";
2403
2364
  /**
2404
2365
  * @public
2405
2366
  */
2406
- export declare const InputWithDisplay: StyledComponent<React_2.ForwardRefExoticComponent<InputWithDisplayProps & React_2.RefAttributes<HTMLInputElement>>, DefaultTheme, {}, never>;
2367
+ export declare const InputWithDisplay: ReturnType<typeof styled.input<InputWithDisplayProps>>;
2407
2368
 
2408
2369
  /**
2409
2370
  * @public
@@ -2450,50 +2411,48 @@ export declare const isV2Icon: (icon: unknown) => icon is IconType;
2450
2411
  /**
2451
2412
  * @public
2452
2413
  */
2453
- export declare const Label: StyledComponent<React_2.ForwardRefExoticComponent<LabelProps & React_2.RefAttributes<HTMLLabelElement>>, DefaultTheme, {}, never>;
2414
+ export declare const Label: ReturnType<typeof styled.label<LabelProps>>;
2454
2415
 
2455
2416
  /**
2456
2417
  * @public
2457
2418
  */
2458
- export declare const Label1: StyledComponent<"p", DefaultTheme, {
2459
- type: string;
2460
- }, "type">;
2419
+ export declare const Label1: ReturnType<typeof styled.p<{
2420
+ type?: string;
2421
+ }>>;
2461
2422
 
2462
2423
  /**
2463
2424
  * @public
2464
2425
  */
2465
- export declare const Label1Medium: StyledComponent<"p", DefaultTheme, {
2466
- type: string;
2467
- }, "type">;
2426
+ export declare const Label1Medium: ReturnType<typeof styled.p<{
2427
+ type?: string;
2428
+ }>>;
2468
2429
 
2469
2430
  /**
2470
2431
  * @public
2471
2432
  */
2472
- export declare const Label1Semibold: StyledComponent<"p", DefaultTheme, {
2473
- type: string;
2474
- }, "type">;
2433
+ export declare const Label1Semibold: ReturnType<typeof styled.p<{
2434
+ type?: string;
2435
+ }>>;
2475
2436
 
2476
2437
  /**
2477
2438
  * @public
2478
2439
  */
2479
- export declare const Label2: StyledComponent<"p", DefaultTheme, {
2480
- type: string;
2481
- }, "type">;
2440
+ export declare const Label2: ReturnType<typeof styled.p<{
2441
+ type?: string;
2442
+ }>>;
2482
2443
 
2483
2444
  /**
2484
2445
  * Label component styled like a button - useful for wrapping around file input for example
2485
2446
  * @public
2486
2447
  */
2487
- export declare const LabelButton: StyledComponent<React_2.ForwardRefExoticComponent<HTMLLabelButtonProps & CommonButtonProps & {
2488
- disabled?: boolean;
2489
- } & React_2.RefAttributes<HTMLLabelElement>>, DefaultTheme, {}, never>;
2448
+ export declare const LabelButton: ReturnType<typeof styled.label<LabelButtonProps>>;
2490
2449
 
2491
2450
  /**
2492
2451
  * @public
2493
2452
  */
2494
- export declare const LabelButtonFileInput: StyledComponent<"input", DefaultTheme, {
2495
- type: "file";
2496
- }, "type">;
2453
+ export declare const LabelButtonFileInput: ReturnType<typeof styled.input<{
2454
+ type?: "file";
2455
+ }>>;
2497
2456
 
2498
2457
  /**
2499
2458
  * @public
@@ -2526,7 +2485,7 @@ export declare type LabelColors = {
2526
2485
  /**
2527
2486
  * @public
2528
2487
  */
2529
- export declare const LabelGroup: StyledComponent<React_2.ForwardRefExoticComponent<LabelGroupProps & React_2.RefAttributes<HTMLDivElement>>, DefaultTheme, {}, never>;
2488
+ export declare const LabelGroup: ReturnType<typeof styled.div<LabelGroupProps>>;
2530
2489
 
2531
2490
  /**
2532
2491
  * @public
@@ -2656,16 +2615,12 @@ export declare interface LoadingAttachmentProps {
2656
2615
  * Wrap one or more LoadingBlocks in {@link LoadingState} to announce loading to screen readers.
2657
2616
  * @public
2658
2617
  */
2659
- export declare const LoadingBlock: StyledComponent<"div", DefaultTheme, {
2660
- "aria-hidden": boolean | "true";
2661
- "data-dp-name": string;
2662
- "data-dp-ident"?: string;
2663
- } & {
2664
- height?: number;
2665
- width?: number | string | "stretch";
2666
- round?: boolean;
2667
- animate?: boolean;
2668
- }, "aria-hidden" | "data-dp-ident" | "data-dp-name">;
2618
+ export declare const LoadingBlock: ReturnType<typeof styled.div<{
2619
+ height?: number;
2620
+ width?: number | string | "stretch";
2621
+ $round?: boolean;
2622
+ $animate?: boolean;
2623
+ }>>;
2669
2624
 
2670
2625
  /**
2671
2626
  * A live region that wraps skeleton {@link LoadingBlock} placeholders and
@@ -2726,8 +2681,8 @@ export declare interface MenuItemProps extends React_2.ComponentPropsWithRef<"a"
2726
2681
  active?: boolean;
2727
2682
  children?: ReactNode;
2728
2683
  disabled?: boolean;
2729
- icon?: AnyIcon | IconProps | JSX.Element | null;
2730
- rightIcon?: AnyIcon | IconProps | JSX.Element | null;
2684
+ icon?: AnyIcon | IconProps | React_2.JSX.Element | null;
2685
+ rightIcon?: AnyIcon | IconProps | React_2.JSX.Element | null;
2731
2686
  label?: ReactNode;
2732
2687
  htmlTitle?: string;
2733
2688
  iconColor?: string;
@@ -2752,14 +2707,14 @@ export declare type MenuType = "normal" | "nav";
2752
2707
  /**
2753
2708
  * @public
2754
2709
  */
2755
- export declare const MessageCard: StyledComponent<"div", DefaultTheme, MessageCardProps, never>;
2710
+ export declare const MessageCard: ReturnType<typeof styled.div<MessageCardProps>>;
2756
2711
 
2757
2712
  /**
2758
2713
  * @public
2759
2714
  */
2760
2715
  export declare interface MessageCardProps {
2761
- messageType?: MessageCardType;
2762
- isOfficialResponse?: boolean;
2716
+ $messageType?: MessageCardType;
2717
+ $isOfficialResponse?: boolean;
2763
2718
  }
2764
2719
 
2765
2720
  /**
@@ -2833,38 +2788,34 @@ export declare type ModalStyleTypes = "extraDark" | "dark" | "light" | "lightBox
2833
2788
  /**
2834
2789
  * @public
2835
2790
  */
2836
- export declare const Monospace: StyledComponent<"p", DefaultTheme, {
2837
- type: string;
2838
- }, "type">;
2791
+ export declare const Monospace: ReturnType<typeof styled.p<{
2792
+ type?: string;
2793
+ }>>;
2839
2794
 
2840
2795
  /**
2841
2796
  * @public
2842
2797
  */
2843
- export declare const MonospaceMedium: StyledComponent<"p", DefaultTheme, {
2844
- type: string;
2845
- }, "type">;
2798
+ export declare const MonospaceMedium: ReturnType<typeof styled.p<{
2799
+ type?: string;
2800
+ }>>;
2846
2801
 
2847
2802
  /**
2848
2803
  * @public
2849
2804
  */
2850
- export declare const MonospaceSemibold: StyledComponent<"p", DefaultTheme, {
2851
- type: string;
2852
- }, "type">;
2805
+ export declare const MonospaceSemibold: ReturnType<typeof styled.p<{
2806
+ type?: string;
2807
+ }>>;
2853
2808
 
2854
2809
  /**
2855
2810
  * @public
2856
2811
  */
2857
- export declare const NavButton: StyledComponent<React_2.ForwardRefExoticComponent<HTMLButtonProps & Omit<CommonButtonProps, "fill" | "loading" | "size" | "icon" | "danger" | "rightIcon" | "minimal"> & {
2858
- icon: AnyIcon | IconProps | JSX.Element | null;
2859
- size?: "small" | "normal";
2860
- reverse?: boolean;
2861
- } & React_2.RefAttributes<HTMLButtonElement>>, DefaultTheme, {}, never>;
2812
+ export declare const NavButton: ReturnType<typeof styled.button<NavButtonProps>>;
2862
2813
 
2863
2814
  /**
2864
2815
  * @public
2865
2816
  */
2866
2817
  export declare type NavButtonProps = HTMLButtonProps & Omit<CommonButtonProps, "rightIcon" | "fill" | "danger" | "loading" | "size" | "icon" | "minimal"> & {
2867
- icon: AnyIcon | IconProps | JSX.Element | null;
2818
+ icon: AnyIcon | IconProps | React_2.JSX.Element | null;
2868
2819
  size?: "small" | "normal";
2869
2820
  reverse?: boolean;
2870
2821
  };
@@ -2872,12 +2823,12 @@ export declare type NavButtonProps = HTMLButtonProps & Omit<CommonButtonProps, "
2872
2823
  /**
2873
2824
  * @public
2874
2825
  */
2875
- export declare const NonIdealContainer: StyledComponent<"div", DefaultTheme, {}, never>;
2826
+ export declare const NonIdealContainer: ReturnType<typeof styled.div<object>>;
2876
2827
 
2877
2828
  /**
2878
2829
  * @public
2879
2830
  */
2880
- export declare const NonIdealContainerTop: StyledComponent<"div", DefaultTheme, {}, never>;
2831
+ export declare const NonIdealContainerTop: ReturnType<typeof styled.div<object>>;
2881
2832
 
2882
2833
  /**
2883
2834
  * @public
@@ -2888,7 +2839,7 @@ export declare function NonIdealState({ title, description, icon, action, vertic
2888
2839
  * @public
2889
2840
  */
2890
2841
  export declare interface NonIdealStateProps {
2891
- icon?: AnyIcon | IconProps | JSX.Element | null;
2842
+ icon?: AnyIcon | IconProps | React_2.JSX.Element | null;
2892
2843
  title?: ReactNode;
2893
2844
  description?: ReactNode;
2894
2845
  action?: ReactNode;
@@ -2920,6 +2871,11 @@ export declare interface OptionTagProps extends HTMLAttributes<HTMLDivElement> {
2920
2871
  removeLabel?: string;
2921
2872
  }
2922
2873
 
2874
+ /**
2875
+ * @public
2876
+ */
2877
+ export declare type OtherStyleKeysV2 = "label1" | "label1_medium" | "label1_semibold" | "label2" | "monospace" | "monospace_medium" | "monospace_semibold" | "shortcode";
2878
+
2923
2879
  /**
2924
2880
  * Renders an overlay with a backdrop and places children within an absolutely positioned
2925
2881
  * container at the top of the viewport
@@ -2931,13 +2887,9 @@ export declare function Overlay({ isOpen, onRequestClose, hasBackdrop, canClickO
2931
2887
  * OverlayButton requires `position: relative` wrapper to overlay unless position set to relative
2932
2888
  * @public
2933
2889
  */
2934
- export declare const OverlayButton: StyledComponent<React_2.ForwardRefExoticComponent<HTMLButtonProps & Omit<CommonButtonProps, "fill" | "size" | "icon" | "rightIcon" | "minimal"> & {
2935
- icon?: AnyIcon | IconProps | JSX.Element | null;
2936
- placement?: OverlayButtonPlacement;
2937
- rightIcon?: AnyIcon | IconProps | JSX.Element | null;
2938
- } & React_2.RefAttributes<HTMLButtonElement>>, DefaultTheme, {
2939
- position?: "relative" | "absolute";
2940
- }, never>;
2890
+ export declare const OverlayButton: ReturnType<typeof styled.button<OverlayButtonProps & {
2891
+ position?: "relative" | "absolute";
2892
+ }>>;
2941
2893
 
2942
2894
  /**
2943
2895
  * @public
@@ -2948,9 +2900,9 @@ export declare type OverlayButtonPlacement = `${"right" | "left" | "middle"}-${"
2948
2900
  * @public
2949
2901
  */
2950
2902
  export declare type OverlayButtonProps = HTMLButtonProps & Omit<CommonButtonProps, "rightIcon" | "fill" | "icon" | "size" | "minimal"> & {
2951
- icon?: AnyIcon | IconProps | JSX.Element | null;
2903
+ icon?: AnyIcon | IconProps | React_2.JSX.Element | null;
2952
2904
  placement?: OverlayButtonPlacement;
2953
- rightIcon?: AnyIcon | IconProps | JSX.Element | null;
2905
+ rightIcon?: AnyIcon | IconProps | React_2.JSX.Element | null;
2954
2906
  };
2955
2907
 
2956
2908
  /**
@@ -2978,129 +2930,129 @@ export declare interface OverlayProps {
2978
2930
  /**
2979
2931
  * @public
2980
2932
  */
2981
- export declare const P1: StyledComponent<"p", DefaultTheme, {
2982
- type: string;
2983
- }, "type">;
2933
+ export declare const P1: ReturnType<typeof styled.p<{
2934
+ type?: string;
2935
+ }>>;
2984
2936
 
2985
2937
  /**
2986
2938
  * @public
2987
2939
  */
2988
- export declare const P10: StyledComponent<"p", DefaultTheme, {
2989
- type: string;
2990
- }, "type">;
2940
+ export declare const P10: ReturnType<typeof styled.p<{
2941
+ type?: string;
2942
+ }>>;
2991
2943
 
2992
2944
  /**
2993
2945
  * @public
2994
2946
  */
2995
- export declare const P11: StyledComponent<"p", DefaultTheme, {
2996
- type: string;
2997
- }, "type">;
2947
+ export declare const P11: ReturnType<typeof styled.p<{
2948
+ type?: string;
2949
+ }>>;
2998
2950
 
2999
2951
  /**
3000
2952
  * @public
3001
2953
  */
3002
- export declare const P12: StyledComponent<"p", DefaultTheme, {
3003
- type: string;
3004
- }, "type">;
2954
+ export declare const P12: ReturnType<typeof styled.p<{
2955
+ type?: string;
2956
+ }>>;
3005
2957
 
3006
2958
  /**
3007
2959
  * @public
3008
2960
  */
3009
- export declare const P13: StyledComponent<"p", DefaultTheme, {
3010
- type: string;
3011
- }, "type">;
2961
+ export declare const P13: ReturnType<typeof styled.p<{
2962
+ type?: string;
2963
+ }>>;
3012
2964
 
3013
2965
  /**
3014
2966
  * @public
3015
2967
  */
3016
- export declare const P14: StyledComponent<"code", DefaultTheme, {}, never>;
2968
+ export declare const P14: ReturnType<typeof styled.code<object>>;
3017
2969
 
3018
2970
  /**
3019
2971
  * @public
3020
2972
  */
3021
- export declare const P15: StyledComponent<"code", DefaultTheme, {}, never>;
2973
+ export declare const P15: ReturnType<typeof styled.code<object>>;
3022
2974
 
3023
2975
  /**
3024
2976
  * @public
3025
2977
  */
3026
- export declare const P16: StyledComponent<"p", DefaultTheme, {
3027
- type: string;
3028
- }, "type">;
2978
+ export declare const P16: ReturnType<typeof styled.p<{
2979
+ type?: string;
2980
+ }>>;
3029
2981
 
3030
2982
  /**
3031
2983
  * @public
3032
2984
  */
3033
- export declare const P17: StyledComponent<"p", DefaultTheme, {
3034
- type: string;
3035
- }, "type">;
2985
+ export declare const P17: ReturnType<typeof styled.p<{
2986
+ type?: string;
2987
+ }>>;
3036
2988
 
3037
2989
  /**
3038
2990
  * @public
3039
2991
  */
3040
- export declare const P18: StyledComponent<"p", DefaultTheme, {
3041
- type: string;
3042
- }, "type">;
2992
+ export declare const P18: ReturnType<typeof styled.p<{
2993
+ type?: string;
2994
+ }>>;
3043
2995
 
3044
2996
  /**
3045
2997
  * @public
3046
2998
  */
3047
- export declare const P2: StyledComponent<"p", DefaultTheme, {
3048
- type: string;
3049
- }, "type">;
2999
+ export declare const P2: ReturnType<typeof styled.p<{
3000
+ type?: string;
3001
+ }>>;
3050
3002
 
3051
3003
  /**
3052
3004
  * @public
3053
3005
  */
3054
- export declare const P3: StyledComponent<"p", DefaultTheme, {
3055
- type: string;
3056
- }, "type">;
3006
+ export declare const P3: ReturnType<typeof styled.p<{
3007
+ type?: string;
3008
+ }>>;
3057
3009
 
3058
3010
  /**
3059
3011
  * @public
3060
3012
  */
3061
- export declare const P4: StyledComponent<"p", DefaultTheme, {
3062
- type: string;
3063
- }, "type">;
3013
+ export declare const P4: ReturnType<typeof styled.p<{
3014
+ type?: string;
3015
+ }>>;
3064
3016
 
3065
3017
  /**
3066
3018
  * @public
3067
3019
  */
3068
- export declare const P5: StyledComponent<"p", DefaultTheme, {
3069
- type: string;
3070
- }, "type">;
3020
+ export declare const P5: ReturnType<typeof styled.p<{
3021
+ type?: string;
3022
+ }>>;
3071
3023
 
3072
3024
  /**
3073
3025
  * @public
3074
3026
  */
3075
- export declare const P6: StyledComponent<"p", DefaultTheme, {
3076
- type: string;
3077
- }, "type">;
3027
+ export declare const P6: ReturnType<typeof styled.p<{
3028
+ type?: string;
3029
+ }>>;
3078
3030
 
3079
3031
  /**
3080
3032
  * @public
3081
3033
  */
3082
- export declare const P7: StyledComponent<"p", DefaultTheme, {
3083
- type: string;
3084
- }, "type">;
3034
+ export declare const P7: ReturnType<typeof styled.p<{
3035
+ type?: string;
3036
+ }>>;
3085
3037
 
3086
3038
  /**
3087
3039
  * @public
3088
3040
  */
3089
- export declare const P8: StyledComponent<"p", DefaultTheme, {
3090
- type: string;
3091
- }, "type">;
3041
+ export declare const P8: ReturnType<typeof styled.p<{
3042
+ type?: string;
3043
+ }>>;
3092
3044
 
3093
3045
  /**
3094
3046
  * @public
3095
3047
  */
3096
- export declare const P9: StyledComponent<"p", DefaultTheme, {
3097
- type: string;
3098
- }, "type">;
3048
+ export declare const P9: ReturnType<typeof styled.p<{
3049
+ type?: string;
3050
+ }>>;
3099
3051
 
3100
3052
  /**
3101
3053
  * @public
3102
3054
  */
3103
- export declare function Pagination({ perPage, currentPage, totalItems, uniqueItems, onPageChange, onPerPageChange, displayItems, itemsPerPageText, ofTotalText, uniqueItemsText, navigationLabel, previousPageLabel, nextPageLabel, itemsPerPageLabel, pageLabel, }: PaginationProps): JSX.Element;
3055
+ export declare function Pagination({ perPage, currentPage, totalItems, uniqueItems, onPageChange, onPerPageChange, displayItems, itemsPerPageText, ofTotalText, uniqueItemsText, navigationLabel, previousPageLabel, nextPageLabel, itemsPerPageLabel, pageLabel, }: PaginationProps): React_2.JSX.Element;
3104
3056
 
3105
3057
  /**
3106
3058
  * @public
@@ -3131,50 +3083,21 @@ export declare interface PaginationProps {
3131
3083
  * @public
3132
3084
  * @deprecated Don't use outside this file, use the styled typography components instead eg <TSpan type="h_h1" /> or <HH1 />
3133
3085
  */
3134
- export declare const paragraphStyled: {
3135
- p_p1: FlattenInterpolation<ThemeProps<DefaultTheme>>;
3136
- p_p1_medium: FlattenInterpolation<ThemeProps<DefaultTheme>>;
3137
- p_p1_semibold: FlattenInterpolation<ThemeProps<DefaultTheme>>;
3138
- p_p1_paragraph: FlattenInterpolation<ThemeProps<DefaultTheme>>;
3139
- p_p1_paragraph_medium: FlattenInterpolation<ThemeProps<DefaultTheme>>;
3140
- p_p1_paragraph_semibold: FlattenInterpolation<ThemeProps<DefaultTheme>>;
3141
- p_p2: FlattenInterpolation<ThemeProps<DefaultTheme>>;
3142
- p_p2_medium: FlattenInterpolation<ThemeProps<DefaultTheme>>;
3143
- p_p2_semibold: FlattenInterpolation<ThemeProps<DefaultTheme>>;
3144
- p_p2_paragraph: FlattenInterpolation<ThemeProps<DefaultTheme>>;
3145
- p_p2_paragraph_medium: FlattenInterpolation<ThemeProps<DefaultTheme>>;
3146
- p_p2_paragraph_semibold: FlattenInterpolation<ThemeProps<DefaultTheme>>;
3147
- p_p3: FlattenInterpolation<ThemeProps<DefaultTheme>>;
3148
- p_p3_medium: FlattenInterpolation<ThemeProps<DefaultTheme>>;
3149
- p_p3_semibold: FlattenInterpolation<ThemeProps<DefaultTheme>>;
3150
- p_p3_paragraph: FlattenInterpolation<ThemeProps<DefaultTheme>>;
3151
- p_p3_paragraph_medium: FlattenInterpolation<ThemeProps<DefaultTheme>>;
3152
- p_p3_paragraph_semibold: FlattenInterpolation<ThemeProps<DefaultTheme>>;
3153
- p_p4: FlattenInterpolation<ThemeProps<DefaultTheme>>;
3154
- p_p4_medium: FlattenInterpolation<ThemeProps<DefaultTheme>>;
3155
- p_p4_semibold: FlattenInterpolation<ThemeProps<DefaultTheme>>;
3156
- p_p4_paragraph: FlattenInterpolation<ThemeProps<DefaultTheme>>;
3157
- p_p4_paragraph_medium: FlattenInterpolation<ThemeProps<DefaultTheme>>;
3158
- p_p4_paragraph_semibold: FlattenInterpolation<ThemeProps<DefaultTheme>>;
3159
- p1: FlattenInterpolation<ThemeProps<DefaultTheme>>;
3160
- p2: FlattenInterpolation<ThemeProps<DefaultTheme>>;
3161
- p3: FlattenInterpolation<ThemeProps<DefaultTheme>>;
3162
- p4: FlattenInterpolation<ThemeProps<DefaultTheme>>;
3163
- p5: FlattenInterpolation<ThemeProps<DefaultTheme>>;
3164
- p6: FlattenInterpolation<ThemeProps<DefaultTheme>>;
3165
- p7: FlattenInterpolation<ThemeProps<DefaultTheme>>;
3166
- p8: FlattenInterpolation<ThemeProps<DefaultTheme>>;
3167
- p9: FlattenInterpolation<ThemeProps<DefaultTheme>>;
3168
- p10: FlattenInterpolation<ThemeProps<DefaultTheme>>;
3169
- p11: FlattenInterpolation<ThemeProps<DefaultTheme>>;
3170
- p12: FlattenInterpolation<ThemeProps<DefaultTheme>>;
3171
- p13: FlattenInterpolation<ThemeProps<DefaultTheme>>;
3172
- p14: FlattenInterpolation<ThemeProps<DefaultTheme>>;
3173
- p15: FlattenInterpolation<ThemeProps<DefaultTheme>>;
3174
- p16: FlattenInterpolation<ThemeProps<DefaultTheme>>;
3175
- p17: FlattenInterpolation<ThemeProps<DefaultTheme>>;
3176
- p18: FlattenInterpolation<ThemeProps<DefaultTheme>>;
3177
- };
3086
+ export declare const paragraphStyled: Record<ParagraphStyleKeysV1 | ParagraphStyleKeysV2, DpCss>;
3087
+
3088
+ /**
3089
+ * @public
3090
+ * @deprecated Don't use outside this file, use the styled typography components instead eg <TSpan type="p1" /> or <P1 />
3091
+ */
3092
+ /**
3093
+ * @public
3094
+ */
3095
+ export declare type ParagraphStyleKeysV1 = "p1" | "p2" | "p3" | "p4" | "p5" | "p6" | "p7" | "p8" | "p9" | "p10" | "p11" | "p12" | "p13" | "p14" | "p15" | "p16" | "p17" | "p18";
3096
+
3097
+ /**
3098
+ * @public
3099
+ */
3100
+ export declare type ParagraphStyleKeysV2 = "p_p1" | "p_p1_medium" | "p_p1_semibold" | "p_p1_paragraph" | "p_p1_paragraph_medium" | "p_p1_paragraph_semibold" | "p_p2" | "p_p2_medium" | "p_p2_semibold" | "p_p2_paragraph" | "p_p2_paragraph_medium" | "p_p2_paragraph_semibold" | "p_p3" | "p_p3_medium" | "p_p3_semibold" | "p_p3_paragraph" | "p_p3_paragraph_medium" | "p_p3_paragraph_semibold" | "p_p4" | "p_p4_medium" | "p_p4_semibold" | "p_p4_paragraph" | "p_p4_paragraph_medium" | "p_p4_paragraph_semibold";
3178
3101
 
3179
3102
  /**
3180
3103
  * @public
@@ -3212,7 +3135,7 @@ export { Placement }
3212
3135
  * portal
3213
3136
  * @public
3214
3137
  */
3215
- export declare function Popover(props: PopoverProps): JSX.Element;
3138
+ export declare function Popover(props: PopoverProps): React_2.JSX.Element;
3216
3139
 
3217
3140
  /**
3218
3141
  * Props passed to the render-prop children of Popover.
@@ -3258,7 +3181,7 @@ export declare interface PopoverChildrenProps {
3258
3181
  */
3259
3182
  export declare interface PopoverProps {
3260
3183
  /** Popover target - either wrapped with a span container or a render props interface */
3261
- children?: JSX.Element | null | ((props: PopoverChildrenProps) => ReactNode);
3184
+ children?: React_2.JSX.Element | null | ((props: PopoverChildrenProps) => ReactNode);
3262
3185
  /** The content to be positioned relative to the target children */
3263
3186
  content: ReactNode;
3264
3187
  /** How popper should attempt to position its content relative to the target */
@@ -3333,170 +3256,170 @@ export declare type Position = {
3333
3256
  /**
3334
3257
  * @public
3335
3258
  */
3336
- export declare const PP1: StyledComponent<"p", DefaultTheme, {
3337
- type: string;
3338
- }, "type">;
3259
+ export declare const PP1: ReturnType<typeof styled.p<{
3260
+ type?: string;
3261
+ }>>;
3339
3262
 
3340
3263
  /**
3341
3264
  * @public
3342
3265
  */
3343
- export declare const PP1Medium: StyledComponent<"p", DefaultTheme, {
3344
- type: string;
3345
- }, "type">;
3266
+ export declare const PP1Medium: ReturnType<typeof styled.p<{
3267
+ type?: string;
3268
+ }>>;
3346
3269
 
3347
3270
  /**
3348
3271
  * @public
3349
3272
  */
3350
- export declare const PP1Paragraph: StyledComponent<"p", DefaultTheme, {
3351
- type: string;
3352
- }, "type">;
3273
+ export declare const PP1Paragraph: ReturnType<typeof styled.p<{
3274
+ type?: string;
3275
+ }>>;
3353
3276
 
3354
3277
  /**
3355
3278
  * @public
3356
3279
  */
3357
- export declare const PP1ParagraphMedium: StyledComponent<"p", DefaultTheme, {
3358
- type: string;
3359
- }, "type">;
3280
+ export declare const PP1ParagraphMedium: ReturnType<typeof styled.p<{
3281
+ type?: string;
3282
+ }>>;
3360
3283
 
3361
3284
  /**
3362
3285
  * @public
3363
3286
  */
3364
- export declare const PP1ParagraphSemibold: StyledComponent<"p", DefaultTheme, {
3365
- type: string;
3366
- }, "type">;
3287
+ export declare const PP1ParagraphSemibold: ReturnType<typeof styled.p<{
3288
+ type?: string;
3289
+ }>>;
3367
3290
 
3368
3291
  /**
3369
3292
  * @public
3370
3293
  */
3371
- export declare const PP1Semibold: StyledComponent<"p", DefaultTheme, {
3372
- type: string;
3373
- }, "type">;
3294
+ export declare const PP1Semibold: ReturnType<typeof styled.p<{
3295
+ type?: string;
3296
+ }>>;
3374
3297
 
3375
3298
  /**
3376
3299
  * @public
3377
3300
  */
3378
- export declare const PP2: StyledComponent<"p", DefaultTheme, {
3379
- type: string;
3380
- }, "type">;
3301
+ export declare const PP2: ReturnType<typeof styled.p<{
3302
+ type?: string;
3303
+ }>>;
3381
3304
 
3382
3305
  /**
3383
3306
  * @public
3384
3307
  */
3385
- export declare const PP2Medium: StyledComponent<"p", DefaultTheme, {
3386
- type: string;
3387
- }, "type">;
3308
+ export declare const PP2Medium: ReturnType<typeof styled.p<{
3309
+ type?: string;
3310
+ }>>;
3388
3311
 
3389
3312
  /**
3390
3313
  * @public
3391
3314
  */
3392
- export declare const PP2Paragraph: StyledComponent<"p", DefaultTheme, {
3393
- type: string;
3394
- }, "type">;
3315
+ export declare const PP2Paragraph: ReturnType<typeof styled.p<{
3316
+ type?: string;
3317
+ }>>;
3395
3318
 
3396
3319
  /**
3397
3320
  * @public
3398
3321
  */
3399
- export declare const PP2ParagraphMedium: StyledComponent<"p", DefaultTheme, {
3400
- type: string;
3401
- }, "type">;
3322
+ export declare const PP2ParagraphMedium: ReturnType<typeof styled.p<{
3323
+ type?: string;
3324
+ }>>;
3402
3325
 
3403
3326
  /**
3404
3327
  * @public
3405
3328
  */
3406
- export declare const PP2ParagraphSemibold: StyledComponent<"p", DefaultTheme, {
3407
- type: string;
3408
- }, "type">;
3329
+ export declare const PP2ParagraphSemibold: ReturnType<typeof styled.p<{
3330
+ type?: string;
3331
+ }>>;
3409
3332
 
3410
3333
  /**
3411
3334
  * @public
3412
3335
  */
3413
- export declare const PP2Semibold: StyledComponent<"p", DefaultTheme, {
3414
- type: string;
3415
- }, "type">;
3336
+ export declare const PP2Semibold: ReturnType<typeof styled.p<{
3337
+ type?: string;
3338
+ }>>;
3416
3339
 
3417
3340
  /**
3418
3341
  * @public
3419
3342
  */
3420
- export declare const PP3: StyledComponent<"p", DefaultTheme, {
3421
- type: string;
3422
- }, "type">;
3343
+ export declare const PP3: ReturnType<typeof styled.p<{
3344
+ type?: string;
3345
+ }>>;
3423
3346
 
3424
3347
  /**
3425
3348
  * @public
3426
3349
  */
3427
- export declare const PP3Medium: StyledComponent<"p", DefaultTheme, {
3428
- type: string;
3429
- }, "type">;
3350
+ export declare const PP3Medium: ReturnType<typeof styled.p<{
3351
+ type?: string;
3352
+ }>>;
3430
3353
 
3431
3354
  /**
3432
3355
  * @public
3433
3356
  */
3434
- export declare const PP3Paragraph: StyledComponent<"p", DefaultTheme, {
3435
- type: string;
3436
- }, "type">;
3357
+ export declare const PP3Paragraph: ReturnType<typeof styled.p<{
3358
+ type?: string;
3359
+ }>>;
3437
3360
 
3438
3361
  /**
3439
3362
  * @public
3440
3363
  */
3441
- export declare const PP3ParagraphMedium: StyledComponent<"p", DefaultTheme, {
3442
- type: string;
3443
- }, "type">;
3364
+ export declare const PP3ParagraphMedium: ReturnType<typeof styled.p<{
3365
+ type?: string;
3366
+ }>>;
3444
3367
 
3445
3368
  /**
3446
3369
  * @public
3447
3370
  */
3448
- export declare const PP3ParagraphSemibold: StyledComponent<"p", DefaultTheme, {
3449
- type: string;
3450
- }, "type">;
3371
+ export declare const PP3ParagraphSemibold: ReturnType<typeof styled.p<{
3372
+ type?: string;
3373
+ }>>;
3451
3374
 
3452
3375
  /**
3453
3376
  * @public
3454
3377
  */
3455
- export declare const PP3Semibold: StyledComponent<"p", DefaultTheme, {
3456
- type: string;
3457
- }, "type">;
3378
+ export declare const PP3Semibold: ReturnType<typeof styled.p<{
3379
+ type?: string;
3380
+ }>>;
3458
3381
 
3459
3382
  /**
3460
3383
  * @public
3461
3384
  */
3462
- export declare const PP4: StyledComponent<"p", DefaultTheme, {
3463
- type: string;
3464
- }, "type">;
3385
+ export declare const PP4: ReturnType<typeof styled.p<{
3386
+ type?: string;
3387
+ }>>;
3465
3388
 
3466
3389
  /**
3467
3390
  * @public
3468
3391
  */
3469
- export declare const PP4Medium: StyledComponent<"p", DefaultTheme, {
3470
- type: string;
3471
- }, "type">;
3392
+ export declare const PP4Medium: ReturnType<typeof styled.p<{
3393
+ type?: string;
3394
+ }>>;
3472
3395
 
3473
3396
  /**
3474
3397
  * @public
3475
3398
  */
3476
- export declare const PP4Paragraph: StyledComponent<"p", DefaultTheme, {
3477
- type: string;
3478
- }, "type">;
3399
+ export declare const PP4Paragraph: ReturnType<typeof styled.p<{
3400
+ type?: string;
3401
+ }>>;
3479
3402
 
3480
3403
  /**
3481
3404
  * @public
3482
3405
  */
3483
- export declare const PP4ParagraphMedium: StyledComponent<"p", DefaultTheme, {
3484
- type: string;
3485
- }, "type">;
3406
+ export declare const PP4ParagraphMedium: ReturnType<typeof styled.p<{
3407
+ type?: string;
3408
+ }>>;
3486
3409
 
3487
3410
  /**
3488
3411
  * @public
3489
3412
  */
3490
- export declare const PP4ParagraphSemibold: StyledComponent<"p", DefaultTheme, {
3491
- type: string;
3492
- }, "type">;
3413
+ export declare const PP4ParagraphSemibold: ReturnType<typeof styled.p<{
3414
+ type?: string;
3415
+ }>>;
3493
3416
 
3494
3417
  /**
3495
3418
  * @public
3496
3419
  */
3497
- export declare const PP4Semibold: StyledComponent<"p", DefaultTheme, {
3498
- type: string;
3499
- }, "type">;
3420
+ export declare const PP4Semibold: ReturnType<typeof styled.p<{
3421
+ type?: string;
3422
+ }>>;
3500
3423
 
3501
3424
  /**
3502
3425
  * @public
@@ -3582,26 +3505,56 @@ export declare const SafePolygon: ({ onMouseEnterTooltip, onMouseLeaveTooltip, p
3582
3505
  onMouseEnterTooltip: () => void;
3583
3506
  onMouseLeaveTooltip: () => void;
3584
3507
  placement: TooltipPlacement;
3585
- tooltipRef: RefObject<HTMLDivElement>;
3508
+ tooltipRef: RefObject<HTMLDivElement | null>;
3586
3509
  tooltipPosition: Position;
3587
3510
  tooltipTriggerMousePosition?: Position;
3588
- triggerRef: RefObject<HTMLDivElement>;
3511
+ triggerRef: RefObject<HTMLDivElement | null>;
3589
3512
  debug?: string;
3590
3513
  } & React_2.HTMLAttributes<HTMLDivElement>) => React_2.JSX.Element | null;
3591
3514
 
3592
3515
  /**
3593
3516
  * @public
3594
3517
  */
3595
- export declare const Scrollbar: React_2.ForwardRefExoticComponent<ScrollbarProps & React_2.RefAttributes<SimpleBar_2>>;
3518
+ export declare const Scrollbar: React_2.ForwardRefExoticComponent<ScrollbarProps & React_2.RefAttributes<ScrollbarHandle>>;
3519
+
3520
+ /**
3521
+ * Imperative handle exposed through a `Scrollbar` ref.
3522
+ *
3523
+ * @public
3524
+ */
3525
+ export declare interface ScrollbarHandle {
3526
+ /** The element that actually scrolls. `null` before mount. */
3527
+ getScrollElement(): HTMLElement | null;
3528
+ /** The element that wraps the scrollbar's children. `null` before mount. */
3529
+ getContentElement(): HTMLElement | null;
3530
+ /** Re-measure the content and update the scrollbars. */
3531
+ recalculate(): void;
3532
+ /** The scrollbar's root element. */
3533
+ readonly el: HTMLElement;
3534
+ }
3596
3535
 
3597
3536
  /**
3598
3537
  * @public
3599
3538
  */
3600
- export declare interface ScrollbarProps extends Props {
3539
+ export declare interface ScrollbarProps extends Omit<HTMLAttributes<HTMLDivElement>, "children"> {
3540
+ children?: ReactNode;
3601
3541
  height?: string;
3602
3542
  width?: string;
3603
3543
  style?: CSSProperties | undefined;
3544
+ /** Hide the scrollbar until the user scrolls or hovers. */
3604
3545
  autoHide?: boolean;
3546
+ /** Always show the scrollbar on both axes (`true`) or one axis. */
3547
+ forceVisible?: boolean | "x" | "y";
3548
+ /** Scroll by a page when the track is clicked. */
3549
+ clickOnTrack?: boolean;
3550
+ scrollbarMinSize?: number;
3551
+ scrollbarMaxSize?: number;
3552
+ /** Accessible label for the scrollable region. */
3553
+ ariaLabel?: string;
3554
+ /** Props passed to the element that scrolls, e.g. a `ref` or `onScroll`. */
3555
+ scrollableNodeProps?: HTMLAttributes<HTMLDivElement> & {
3556
+ ref?: Ref<HTMLDivElement>;
3557
+ };
3605
3558
  }
3606
3559
 
3607
3560
  /**
@@ -3633,9 +3586,9 @@ export declare interface SelectProps extends HTMLSelectAttributes {
3633
3586
  /**
3634
3587
  * @public
3635
3588
  */
3636
- export declare const Shortcode: StyledComponent<"p", DefaultTheme, {
3637
- type: string;
3638
- }, "type">;
3589
+ export declare const Shortcode: ReturnType<typeof styled.p<{
3590
+ type?: string;
3591
+ }>>;
3639
3592
 
3640
3593
  /**
3641
3594
  * How big a switch is drawn.
@@ -3689,26 +3642,26 @@ export declare type SpinnerSize = "extra-small" | "small" | "medium" | "large" |
3689
3642
  * This is basically a wrapper around flexbox.
3690
3643
  * @public
3691
3644
  */
3692
- export declare const Stack: StyledComponent<"div", DefaultTheme, StackProps, never>;
3645
+ export declare const Stack: ReturnType<typeof styled.div<StackProps>>;
3693
3646
 
3694
3647
  /**
3695
3648
  * @public
3696
3649
  */
3697
- export declare const StackItem: StyledComponent<"div", DefaultTheme, StackItemProps, never>;
3650
+ export declare const StackItem: ReturnType<typeof styled.div<StackItemProps>>;
3698
3651
 
3699
3652
  /**
3700
3653
  * @public
3701
3654
  */
3702
3655
  export declare interface StackItemProps {
3703
- basis?: number | string;
3704
- grow?: boolean | number;
3705
- shrink?: boolean | number;
3706
- padding?: number | string;
3707
- gap?: number | string;
3708
- fixedHeight?: number | string;
3709
- justifySelf?: React.CSSProperties["justifySelf"];
3710
- alignSelf?: React.CSSProperties["alignSelf"];
3711
- flex?: React.CSSProperties["flex"];
3656
+ $basis?: number | string;
3657
+ $grow?: boolean | number;
3658
+ $shrink?: boolean | number;
3659
+ $padding?: number | string;
3660
+ $gap?: number | string;
3661
+ $fixedHeight?: number | string;
3662
+ $justifySelf?: React.CSSProperties["justifySelf"];
3663
+ $alignSelf?: React.CSSProperties["alignSelf"];
3664
+ $flex?: React.CSSProperties["flex"];
3712
3665
  }
3713
3666
 
3714
3667
  /**
@@ -3718,49 +3671,49 @@ export declare interface StackProps {
3718
3671
  /**
3719
3672
  * The max width of the container
3720
3673
  */
3721
- maxWidth?: number | string;
3674
+ $maxWidth?: number | string;
3722
3675
  /**
3723
3676
  * The max height of the container
3724
3677
  */
3725
- maxHeight?: number | string;
3678
+ $maxHeight?: number | string;
3726
3679
  /**
3727
3680
  * Inner padding to apply to the stack container element
3728
3681
  */
3729
- padding?: number | string;
3682
+ $padding?: number | string;
3730
3683
  /**
3731
3684
  * The margin to apply to items
3732
3685
  */
3733
- gap?: number | string;
3686
+ $gap?: number | string;
3734
3687
  /**
3735
3688
  * The height to apply to items
3736
3689
  */
3737
- fixedHeight?: number | string;
3690
+ $fixedHeight?: number | string;
3738
3691
  /**
3739
3692
  * How to align the items within the container
3740
3693
  */
3741
- align?: "start" | "end" | "center" | "baseline" | "stretch";
3694
+ $align?: "start" | "end" | "center" | "baseline" | "stretch";
3742
3695
  /**
3743
3696
  * Specify if to use inline-flex, defaults to false
3744
3697
  */
3745
- inline?: boolean;
3698
+ $inline?: boolean;
3746
3699
  /**
3747
3700
  * Define a border bottom
3748
3701
  */
3749
- borderBottom?: boolean;
3702
+ $borderBottom?: boolean;
3750
3703
  /**
3751
3704
  * How to justify the items within the container
3752
3705
  */
3753
- justify?: React.CSSProperties["justifyContent"] | "start" | "end" | "center" | "space-between" | "space-around" | "space-evenly" | "baseline";
3706
+ $justify?: React.CSSProperties["justifyContent"] | "start" | "end" | "center" | "space-between" | "space-around" | "space-evenly" | "baseline";
3754
3707
  /**
3755
3708
  * Specify if the stack itself should grow
3756
3709
  * (i.e. if the stack is a child of some other flex element)
3757
3710
  */
3758
- grow?: boolean | number | "inherit" | "initial" | "unset";
3711
+ $grow?: boolean | number | "inherit" | "initial" | "unset";
3759
3712
  /**
3760
3713
  * Specify if the stack itself should shrink
3761
3714
  * (i.e. if the stack is a child of some other flex element)
3762
3715
  */
3763
- shrink?: boolean | number | "inherit" | "initial" | "unset";
3716
+ $shrink?: boolean | number | "inherit" | "initial" | "unset";
3764
3717
  /**
3765
3718
  * Specify if the flex items are forced onto one lone or can
3766
3719
  * wrap onto multiple line. "wrap" can be useful for expanding a
@@ -3770,15 +3723,15 @@ export declare interface StackProps {
3770
3723
  /**
3771
3724
  * Layout items vertically (flex column instead of row)
3772
3725
  */
3773
- vertical?: boolean;
3726
+ $vertical?: boolean;
3774
3727
  /**
3775
3728
  * Layout items in reverse of their order
3776
3729
  */
3777
- reverse?: boolean;
3730
+ $reverse?: boolean;
3778
3731
  /**
3779
3732
  * if 0 grow not relative to size - it's relative to space
3780
3733
  */
3781
- basis?: string;
3734
+ $basis?: string;
3782
3735
  overflow?: React.CSSProperties["overflow"];
3783
3736
  }
3784
3737
 
@@ -3824,11 +3777,11 @@ export declare interface StandardLabelColors {
3824
3777
  /**
3825
3778
  * @public
3826
3779
  */
3827
- export declare const StyledA: StyledComponent<"a", DefaultTheme, {
3828
- underline?: boolean;
3829
- }, never>;
3780
+ export declare const StyledA: ReturnType<typeof styled.a<{
3781
+ $underline?: boolean;
3782
+ }>>;
3830
3783
 
3831
- export declare type SVGRIconType = (props: ComponentProps<"svg">) => JSX.Element;
3784
+ export declare type SVGRIconType = (props: ComponentProps<"svg">) => React_2.JSX.Element;
3832
3785
 
3833
3786
  /**
3834
3787
  * @public
@@ -3890,14 +3843,12 @@ export declare interface TabBarTabProps {
3890
3843
  /**
3891
3844
  * @public
3892
3845
  */
3893
- export declare const TabbedSectionBody: StyledComponent<"div", DefaultTheme, StackProps & {
3894
- vertical: boolean;
3895
- }, "vertical">;
3846
+ export declare const TabbedSectionBody: ReturnType<typeof styled.div<StackProps>>;
3896
3847
 
3897
3848
  /**
3898
3849
  * @public
3899
3850
  */
3900
- export declare const TabbedSectionContainer: StyledComponent<"div", DefaultTheme, StackProps, never>;
3851
+ export declare const TabbedSectionContainer: ReturnType<typeof styled.div<StackProps>>;
3901
3852
 
3902
3853
  /**
3903
3854
  * @public
@@ -3939,7 +3890,7 @@ export declare interface TabbedSectionTabType<TabId = string> {
3939
3890
  /**
3940
3891
  * @public
3941
3892
  */
3942
- export declare const TabbedSectionTitleBar: StyledComponent<"div", DefaultTheme, {}, never>;
3893
+ export declare const TabbedSectionTitleBar: ReturnType<typeof styled.div<object>>;
3943
3894
 
3944
3895
  /**
3945
3896
  * @public
@@ -3975,18 +3926,18 @@ export declare interface TabsProps {
3975
3926
  }
3976
3927
 
3977
3928
  export declare type TabStyleDef = {
3978
- container?: () => FlattenInterpolation<ThemeProps<DefaultTheme>>;
3929
+ container?: () => DpCss;
3979
3930
  TabContainer?: (props: {
3980
3931
  active?: boolean;
3981
3932
  disabled?: boolean;
3982
3933
  isTicketHistory?: boolean;
3983
- }) => FlattenInterpolation<ThemeProps<DefaultTheme>>;
3934
+ }) => DpCss;
3984
3935
  TabInner?: (props: {
3985
3936
  active?: boolean;
3986
3937
  disabled?: boolean;
3987
3938
  isTicketHistory?: boolean;
3988
- }) => FlattenInterpolation<ThemeProps<DefaultTheme>>;
3989
- label?: () => FlattenInterpolation<ThemeProps<DefaultTheme>>;
3939
+ }) => DpCss;
3940
+ label?: () => DpCss;
3990
3941
  };
3991
3942
 
3992
3943
  export declare type TabStyles = {
@@ -4059,7 +4010,7 @@ export declare interface TagLoadingProps {
4059
4010
  /**
4060
4011
  * @public
4061
4012
  */
4062
- export declare const TagNumber: ({ number, icon, color }: TagNumberProps) => JSX.Element;
4013
+ export declare const TagNumber: ({ number, icon, color }: TagNumberProps) => React_2.JSX.Element;
4063
4014
 
4064
4015
  /**
4065
4016
  * @public
@@ -4094,7 +4045,7 @@ export declare interface TagProps {
4094
4045
  /**
4095
4046
  * @public
4096
4047
  */
4097
- export declare const TextArea: StyledComponent<React_2.ForwardRefExoticComponent<TextAreaProps & React_2.RefAttributes<HTMLTextAreaElement>>, DefaultTheme, {}, never>;
4048
+ export declare const TextArea: ReturnType<typeof styled.textarea<TextAreaProps>>;
4098
4049
 
4099
4050
  /**
4100
4051
  * @public
@@ -4104,13 +4055,13 @@ export declare interface TextAreaProps extends TextareaHTMLAttributes<HTMLTextAr
4104
4055
  required?: boolean;
4105
4056
  variant?: InputVariant;
4106
4057
  calcRow?: boolean;
4107
- rightIcon?: JSX.Element | null;
4058
+ rightIcon?: React_2.JSX.Element | null;
4108
4059
  }
4109
4060
 
4110
4061
  /**
4111
4062
  * @public
4112
4063
  */
4113
- export declare const TextAreaWithDisplay: StyledComponent<React_2.ForwardRefExoticComponent<TextAreaWithDisplayProps & React_2.RefAttributes<HTMLTextAreaElement>>, DefaultTheme, {}, never>;
4064
+ export declare const TextAreaWithDisplay: ReturnType<typeof styled.textarea<TextAreaWithDisplayProps>>;
4114
4065
 
4115
4066
  /**
4116
4067
  * @public
@@ -4324,57 +4275,6 @@ export declare interface TimeInputProps {
4324
4275
  secondsText: ReactNode;
4325
4276
  }
4326
4277
 
4327
- /**
4328
- * @public
4329
- */
4330
- export declare type TippyModalStyleTypes = "extraDark" | "dark" | "light" | "lightBox" | "lightBoxModal";
4331
-
4332
- /**
4333
- * @public
4334
- * @deprecated Due to Tippy causing memory leaks. Use {@link Tooltip} instead.
4335
- */
4336
- export declare const TippyTooltip: StyledComponent<({ suppressClassNameWarning, styleType, arrow, width, offsetTop, styledCss, customComponent, arrowColor, offsetLeft, borderRadius, onPresEsc, enableOnTouchDevices, ...props }: TippyTooltipProps) => React_2.JSX.Element, DefaultTheme, {
4337
- suppressClassNameWarning: true;
4338
- }, "suppressClassNameWarning">;
4339
-
4340
- /**
4341
- * @public
4342
- */
4343
- export declare function TippyTooltipCommonIcon({ content, styleType, placement, iconSize, }: TippyTooltipCommonIconProps): React_2.JSX.Element;
4344
-
4345
- /**
4346
- * @public
4347
- */
4348
- export declare interface TippyTooltipCommonIconProps {
4349
- styleType?: "dark" | "light" | "lightBox";
4350
- content: string;
4351
- placement?: "top" | "bottom" | "left" | "right";
4352
- iconSize?: number;
4353
- }
4354
-
4355
- /**
4356
- * @public
4357
- */
4358
- export declare type TippyTooltipPlacement = TippyProps["placement"];
4359
-
4360
- /**
4361
- * @public
4362
- * @deprecated Due to Tippy causing memory leaks. Use {@link Tooltip} instead.
4363
- */
4364
- export declare interface TippyTooltipProps extends TippyProps {
4365
- styleType?: TippyModalStyleTypes;
4366
- suppressClassNameWarning?: boolean;
4367
- width?: number | string;
4368
- offsetTop?: number | string;
4369
- offsetLeft?: number;
4370
- styledCss?: FlattenSimpleInterpolation | CSSProp;
4371
- customComponent?: boolean;
4372
- arrowColor?: ThemeColorKey;
4373
- borderRadius?: number;
4374
- onPresEsc?: () => void;
4375
- enableOnTouchDevices?: boolean;
4376
- }
4377
-
4378
4278
  /**
4379
4279
  * A switch and its label, wrapped in one `<label>`. Falls back to `title`,
4380
4280
  * then `"toggle"`, so it is never nameless.
@@ -4432,13 +4332,13 @@ export declare interface ToggleProps extends ToggleControlProps {
4432
4332
  */
4433
4333
  export declare const Toolbar: ToolBarType;
4434
4334
 
4435
- export declare type ToolbarItemType = StyledComponent<"div", DefaultTheme, StackItemProps>;
4335
+ export declare type ToolbarItemType = ReturnType<typeof styled.div<StackItemProps>>;
4436
4336
 
4437
- export declare type ToolbarStackType = StyledComponent<"div", DefaultTheme, StackProps>;
4337
+ export declare type ToolbarStackType = ReturnType<typeof styled.div<StackProps>>;
4438
4338
 
4439
4339
  export declare type ToolBarType = ToolbarStackType & {
4440
4340
  Item: ToolbarItemType;
4441
- Spacer: () => JSX.Element;
4341
+ Spacer: () => React_2.JSX.Element;
4442
4342
  };
4443
4343
 
4444
4344
  /**
@@ -4449,13 +4349,13 @@ export declare const Tooltip: ({ styleType, width, maxWidth, offsetTop, offsetLe
4449
4349
  /**
4450
4350
  * @public
4451
4351
  */
4452
- export declare const TooltipBox: StyledComponent<"div", DefaultTheme, {
4453
- padding?: string;
4454
- styleType?: ModalStyleTypes;
4455
- borderRadius?: number;
4456
- offset: [number, number];
4457
- duration?: number;
4458
- }, never>;
4352
+ export declare const TooltipBox: ReturnType<typeof styled.div<{
4353
+ $padding?: string;
4354
+ $styleType?: ModalStyleTypes;
4355
+ $borderRadius?: number;
4356
+ offset: [number, number];
4357
+ $duration?: number;
4358
+ }>>;
4459
4359
 
4460
4360
  /**
4461
4361
  * @public
@@ -4488,7 +4388,7 @@ export declare interface TooltipProps {
4488
4388
  offsetTop?: number;
4489
4389
  offsetLeft?: number;
4490
4390
  offset?: [number, number];
4491
- styledCss?: FlattenSimpleInterpolation | CSSProp;
4391
+ styledCss?: DpCss | CSSProp;
4492
4392
  customComponent?: boolean;
4493
4393
  borderRadius?: number;
4494
4394
  onPressEsc?: () => void;
@@ -4518,7 +4418,7 @@ export declare interface TooltipProps {
4518
4418
  flip?: boolean;
4519
4419
  debug?: string;
4520
4420
  safePolygon?: boolean;
4521
- triggerRef?: React_2.RefObject<HTMLDivElement>;
4421
+ triggerRef?: React_2.RefObject<HTMLDivElement | null>;
4522
4422
  zIndex?: keyof Layers;
4523
4423
  }
4524
4424
 
@@ -4558,11 +4458,11 @@ export declare type TooltipTriggerProps = {
4558
4458
  export declare interface TProps {
4559
4459
  type: TypesV1 | TypesV2;
4560
4460
  overflow?: React.CSSProperties["textOverflow"];
4561
- flex?: React.CSSProperties["flex"];
4461
+ $flex?: React.CSSProperties["flex"];
4562
4462
  $fill?: boolean;
4563
- themeColor?: ThemeColorKey;
4564
- font?: keyof ThemeFonts;
4565
- textAlign?: React.CSSProperties["textAlign"];
4463
+ $themeColor?: ThemeColorKey;
4464
+ $font?: keyof ThemeFonts;
4465
+ $textAlign?: React.CSSProperties["textAlign"];
4566
4466
  transform?: React.CSSProperties["textTransform"];
4567
4467
  as?: string | ComponentType<unknown> | undefined;
4568
4468
  }
@@ -4570,7 +4470,7 @@ export declare interface TProps {
4570
4470
  /**
4571
4471
  * @public
4572
4472
  */
4573
- export declare const TSpan: StyledComponent<"span", DefaultTheme, TProps, never>;
4473
+ export declare const TSpan: ReturnType<typeof styled.span<TProps>>;
4574
4474
 
4575
4475
  /**
4576
4476
  * @public
@@ -4586,9 +4486,9 @@ export declare type TypesV2 = keyof typeof v2Styles;
4586
4486
  /**
4587
4487
  * @public
4588
4488
  */
4589
- export declare const UnstyledA: StyledComponent<"a", DefaultTheme, {
4590
- underline?: boolean;
4591
- }, never>;
4489
+ export declare const UnstyledA: ReturnType<typeof styled.a<{
4490
+ $underline?: boolean;
4491
+ }>>;
4592
4492
 
4593
4493
  /**
4594
4494
  * @public
@@ -4655,7 +4555,7 @@ export declare interface UrgencyPillProps {
4655
4555
  /**
4656
4556
  * @public
4657
4557
  */
4658
- export declare const UrgencyStatus: StyledComponent<typeof UrgencyCircle, DefaultTheme, {}, never>;
4558
+ export declare const UrgencyStatus: React_2.FunctionComponent<UrgencyCircleProps>;
4659
4559
 
4660
4560
  /**
4661
4561
  * @public
@@ -4697,8 +4597,8 @@ export declare const usePosition: ({ offset, offsetLeft, offsetTop, placement, i
4697
4597
  isOpen: boolean;
4698
4598
  disabled?: boolean;
4699
4599
  enableOnTouchDevices?: boolean;
4700
- triggerRef: RefObject<HTMLDivElement>;
4701
- tooltipRef: RefObject<HTMLDivElement>;
4600
+ triggerRef: RefObject<HTMLDivElement | null>;
4601
+ tooltipRef: RefObject<HTMLDivElement | null>;
4702
4602
  preventOverflow?: boolean;
4703
4603
  /** @see `getNoOverflowPosition` */
4704
4604
  allowReposition: boolean;
@@ -4751,89 +4651,12 @@ export declare const useTooltip: ({ delayOpenRef, delayCloseRef, closeDelay, int
4751
4651
  * @public
4752
4652
  * @deprecated Use v2Styles instead
4753
4653
  */
4754
- export declare const v1Styles: {
4755
- p1: FlattenInterpolation<ThemeProps<DefaultTheme>>;
4756
- p2: FlattenInterpolation<ThemeProps<DefaultTheme>>;
4757
- p3: FlattenInterpolation<ThemeProps<DefaultTheme>>;
4758
- p4: FlattenInterpolation<ThemeProps<DefaultTheme>>;
4759
- p5: FlattenInterpolation<ThemeProps<DefaultTheme>>;
4760
- p6: FlattenInterpolation<ThemeProps<DefaultTheme>>;
4761
- p7: FlattenInterpolation<ThemeProps<DefaultTheme>>;
4762
- p8: FlattenInterpolation<ThemeProps<DefaultTheme>>;
4763
- p9: FlattenInterpolation<ThemeProps<DefaultTheme>>;
4764
- p10: FlattenInterpolation<ThemeProps<DefaultTheme>>;
4765
- p11: FlattenInterpolation<ThemeProps<DefaultTheme>>;
4766
- p12: FlattenInterpolation<ThemeProps<DefaultTheme>>;
4767
- p13: FlattenInterpolation<ThemeProps<DefaultTheme>>;
4768
- p14: FlattenInterpolation<ThemeProps<DefaultTheme>>;
4769
- p15: FlattenInterpolation<ThemeProps<DefaultTheme>>;
4770
- p16: FlattenInterpolation<ThemeProps<DefaultTheme>>;
4771
- p17: FlattenInterpolation<ThemeProps<DefaultTheme>>;
4772
- p18: FlattenInterpolation<ThemeProps<DefaultTheme>>;
4773
- h0: FlattenInterpolation<ThemeProps<DefaultTheme>>;
4774
- h1: FlattenInterpolation<ThemeProps<DefaultTheme>>;
4775
- h2: FlattenInterpolation<ThemeProps<DefaultTheme>>;
4776
- h3: FlattenInterpolation<ThemeProps<DefaultTheme>>;
4777
- h4: FlattenInterpolation<ThemeProps<DefaultTheme>>;
4778
- h5: FlattenInterpolation<ThemeProps<DefaultTheme>>;
4779
- h6: FlattenInterpolation<ThemeProps<DefaultTheme>>;
4780
- h7: FlattenInterpolation<ThemeProps<DefaultTheme>>;
4781
- h8: FlattenInterpolation<ThemeProps<DefaultTheme>>;
4782
- h9: FlattenInterpolation<ThemeProps<DefaultTheme>>;
4783
- h10: FlattenInterpolation<ThemeProps<DefaultTheme>>;
4784
- h11: FlattenInterpolation<ThemeProps<DefaultTheme>>;
4785
- };
4654
+ export declare const v1Styles: Record<HeadingStyleKeysV1 | ParagraphStyleKeysV1, DpCss>;
4786
4655
 
4787
4656
  /**
4788
4657
  * @public
4789
4658
  */
4790
- export declare const v2Styles: {
4791
- label1: FlattenInterpolation<ThemeProps<DefaultTheme>>;
4792
- label1_medium: FlattenInterpolation<ThemeProps<DefaultTheme>>;
4793
- label1_semibold: FlattenInterpolation<ThemeProps<DefaultTheme>>;
4794
- label2: FlattenInterpolation<ThemeProps<DefaultTheme>>;
4795
- monospace: FlattenInterpolation<ThemeProps<DefaultTheme>>;
4796
- monospace_medium: FlattenInterpolation<ThemeProps<DefaultTheme>>;
4797
- monospace_semibold: FlattenInterpolation<ThemeProps<DefaultTheme>>;
4798
- shortcode: FlattenInterpolation<ThemeProps<DefaultTheme>>;
4799
- p_p1: FlattenInterpolation<ThemeProps<DefaultTheme>>;
4800
- p_p1_medium: FlattenInterpolation<ThemeProps<DefaultTheme>>;
4801
- p_p1_semibold: FlattenInterpolation<ThemeProps<DefaultTheme>>;
4802
- p_p1_paragraph: FlattenInterpolation<ThemeProps<DefaultTheme>>;
4803
- p_p1_paragraph_medium: FlattenInterpolation<ThemeProps<DefaultTheme>>;
4804
- p_p1_paragraph_semibold: FlattenInterpolation<ThemeProps<DefaultTheme>>;
4805
- p_p2: FlattenInterpolation<ThemeProps<DefaultTheme>>;
4806
- p_p2_medium: FlattenInterpolation<ThemeProps<DefaultTheme>>;
4807
- p_p2_semibold: FlattenInterpolation<ThemeProps<DefaultTheme>>;
4808
- p_p2_paragraph: FlattenInterpolation<ThemeProps<DefaultTheme>>;
4809
- p_p2_paragraph_medium: FlattenInterpolation<ThemeProps<DefaultTheme>>;
4810
- p_p2_paragraph_semibold: FlattenInterpolation<ThemeProps<DefaultTheme>>;
4811
- p_p3: FlattenInterpolation<ThemeProps<DefaultTheme>>;
4812
- p_p3_medium: FlattenInterpolation<ThemeProps<DefaultTheme>>;
4813
- p_p3_semibold: FlattenInterpolation<ThemeProps<DefaultTheme>>;
4814
- p_p3_paragraph: FlattenInterpolation<ThemeProps<DefaultTheme>>;
4815
- p_p3_paragraph_medium: FlattenInterpolation<ThemeProps<DefaultTheme>>;
4816
- p_p3_paragraph_semibold: FlattenInterpolation<ThemeProps<DefaultTheme>>;
4817
- p_p4: FlattenInterpolation<ThemeProps<DefaultTheme>>;
4818
- p_p4_medium: FlattenInterpolation<ThemeProps<DefaultTheme>>;
4819
- p_p4_semibold: FlattenInterpolation<ThemeProps<DefaultTheme>>;
4820
- p_p4_paragraph: FlattenInterpolation<ThemeProps<DefaultTheme>>;
4821
- p_p4_paragraph_medium: FlattenInterpolation<ThemeProps<DefaultTheme>>;
4822
- p_p4_paragraph_semibold: FlattenInterpolation<ThemeProps<DefaultTheme>>;
4823
- h_h1: FlattenInterpolation<ThemeProps<DefaultTheme>>;
4824
- h_h1_paragraph: FlattenInterpolation<ThemeProps<DefaultTheme>>;
4825
- h_h2: FlattenInterpolation<ThemeProps<DefaultTheme>>;
4826
- h_h2_paragraph: FlattenInterpolation<ThemeProps<DefaultTheme>>;
4827
- h_h3: FlattenInterpolation<ThemeProps<DefaultTheme>>;
4828
- h_h3_paragraph: FlattenInterpolation<ThemeProps<DefaultTheme>>;
4829
- h_h4: FlattenInterpolation<ThemeProps<DefaultTheme>>;
4830
- h_h4_paragraph: FlattenInterpolation<ThemeProps<DefaultTheme>>;
4831
- h_h5: FlattenInterpolation<ThemeProps<DefaultTheme>>;
4832
- h_h5_paragraph: FlattenInterpolation<ThemeProps<DefaultTheme>>;
4833
- h_h6: FlattenInterpolation<ThemeProps<DefaultTheme>>;
4834
- h_h6_paragraph: FlattenInterpolation<ThemeProps<DefaultTheme>>;
4835
- h_h6_kerning: FlattenInterpolation<ThemeProps<DefaultTheme>>;
4836
- };
4659
+ export declare const v2Styles: Record<HeadingStyleKeysV2 | ParagraphStyleKeysV2 | OtherStyleKeysV2, DpCss>;
4837
4660
 
4838
4661
  /**
4839
4662
  * Renders content that is available to screen readers but hidden visually.
@@ -4847,13 +4670,7 @@ export declare const v2Styles: {
4847
4670
  *
4848
4671
  * @public
4849
4672
  */
4850
- export declare const VisuallyHidden: StyledComponent<"span", DefaultTheme, {
4851
- "data-dp-name": string;
4852
- "data-dp-ident"?: string;
4853
- } & VisuallyHiddenProps, keyof {
4854
- "data-dp-name": string;
4855
- "data-dp-ident"?: string;
4856
- }>;
4673
+ export declare const VisuallyHidden: ReturnType<typeof styled.span<VisuallyHiddenProps>>;
4857
4674
 
4858
4675
  /**
4859
4676
  * The canonical "visually hidden" CSS recipe. Removes an element from the
@@ -4870,7 +4687,7 @@ export declare const VisuallyHidden: StyledComponent<"span", DefaultTheme, {
4870
4687
  *
4871
4688
  * @public
4872
4689
  */
4873
- export declare const visuallyHidden: FlattenSimpleInterpolation;
4690
+ export declare const visuallyHidden: DpCss;
4874
4691
 
4875
4692
  /**
4876
4693
  * @public