@strapi/design-system 1.14.0-typescript.1 → 1.14.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 (356) hide show
  1. package/dist/BaseCheckbox/assets/checkmark-black.svg.js +1 -1
  2. package/dist/BaseCheckbox/assets/checkmark-black.svg.mjs +1 -1
  3. package/dist/BaseCheckbox/assets/checkmark.svg.js +1 -1
  4. package/dist/BaseCheckbox/assets/checkmark.svg.mjs +1 -1
  5. package/dist/FocusTrap/FocusTrap.js +3 -3
  6. package/dist/FocusTrap/FocusTrap.mjs +3 -3
  7. package/dist/Loader/assets/loader.svg.js +1 -1
  8. package/dist/Loader/assets/loader.svg.mjs +1 -1
  9. package/dist/Pagination/assets/next.svg.js +1 -1
  10. package/dist/Pagination/assets/next.svg.mjs +1 -1
  11. package/dist/Pagination/assets/previous.svg.js +1 -1
  12. package/dist/Pagination/assets/previous.svg.mjs +1 -1
  13. package/dist/themes/common-theme.js +1 -1
  14. package/dist/themes/common-theme.mjs +1 -1
  15. package/dist/v2/Pagination/assets/next.svg.js +1 -1
  16. package/dist/v2/Pagination/assets/next.svg.mjs +1 -1
  17. package/dist/v2/Pagination/assets/previous.svg.js +1 -1
  18. package/dist/v2/Pagination/assets/previous.svg.mjs +1 -1
  19. package/package.json +9 -9
  20. package/dist/Accordion/Accordion.d.ts +0 -54
  21. package/dist/Accordion/AccordionContent.d.ts +0 -3
  22. package/dist/Accordion/AccordionContext.d.ts +0 -12
  23. package/dist/Accordion/AccordionGroup.d.ts +0 -10
  24. package/dist/Accordion/AccordionToggle.d.ts +0 -22
  25. package/dist/Accordion/index.d.ts +0 -4
  26. package/dist/Accordion/utils.d.ts +0 -7
  27. package/dist/Alert/Alert.d.ts +0 -34
  28. package/dist/Alert/index.d.ts +0 -1
  29. package/dist/Alert/utils.d.ts +0 -10
  30. package/dist/Avatar/Avatar.d.ts +0 -22
  31. package/dist/Avatar/AvatarGroup.d.ts +0 -1
  32. package/dist/Avatar/__tests__/Avatar.spec.d.ts +0 -1
  33. package/dist/Avatar/constants.d.ts +0 -2
  34. package/dist/Avatar/index.d.ts +0 -2
  35. package/dist/Badge/Badge.d.ts +0 -13
  36. package/dist/Badge/index.d.ts +0 -1
  37. package/dist/BaseButton/BaseButton.d.ts +0 -52
  38. package/dist/BaseButton/index.d.ts +0 -1
  39. package/dist/BaseCheckbox/BaseCheckbox.d.ts +0 -27
  40. package/dist/BaseCheckbox/index.d.ts +0 -1
  41. package/dist/BaseCheckbox/utils.d.ts +0 -7
  42. package/dist/BaseLink/BaseLink.d.ts +0 -50
  43. package/dist/BaseLink/__tests__/BaseLink.spec.d.ts +0 -1
  44. package/dist/BaseLink/index.d.ts +0 -1
  45. package/dist/BaseRadio/BaseRadio.d.ts +0 -6
  46. package/dist/BaseRadio/RadioGroup.d.ts +0 -12
  47. package/dist/BaseRadio/context.d.ts +0 -9
  48. package/dist/BaseRadio/index.d.ts +0 -2
  49. package/dist/BaseRadio/utils.d.ts +0 -4
  50. package/dist/Box/Box.d.ts +0 -97
  51. package/dist/Box/__tests__/Box.spec.d.ts +0 -1
  52. package/dist/Box/index.d.ts +0 -1
  53. package/dist/Breadcrumbs/Breadcrumbs.d.ts +0 -17
  54. package/dist/Breadcrumbs/index.d.ts +0 -1
  55. package/dist/Button/Button.d.ts +0 -61
  56. package/dist/Button/__tests__/utils.spec.d.ts +0 -1
  57. package/dist/Button/constants.d.ts +0 -13
  58. package/dist/Button/index.d.ts +0 -1
  59. package/dist/Button/utils.d.ts +0 -18
  60. package/dist/Card/Card.d.ts +0 -5
  61. package/dist/Card/CardAction.d.ts +0 -8
  62. package/dist/Card/CardAsset.d.ts +0 -7
  63. package/dist/Card/CardBadge.d.ts +0 -3
  64. package/dist/Card/CardBody.d.ts +0 -3
  65. package/dist/Card/CardCheckbox.d.ts +0 -3
  66. package/dist/Card/CardContent.d.ts +0 -6
  67. package/dist/Card/CardContext.d.ts +0 -6
  68. package/dist/Card/CardHeader.d.ts +0 -3
  69. package/dist/Card/CardTimer.d.ts +0 -6
  70. package/dist/Card/CardTitle.d.ts +0 -5
  71. package/dist/Card/index.d.ts +0 -10
  72. package/dist/CarouselInput/Carousel.d.ts +0 -15
  73. package/dist/CarouselInput/CarouselActions.d.ts +0 -10
  74. package/dist/CarouselInput/CarouselImage.d.ts +0 -6
  75. package/dist/CarouselInput/CarouselInput.d.ts +0 -8
  76. package/dist/CarouselInput/CarouselSlide.d.ts +0 -7
  77. package/dist/CarouselInput/index.d.ts +0 -5
  78. package/dist/Checkbox/Checkbox.d.ts +0 -9
  79. package/dist/Checkbox/index.d.ts +0 -1
  80. package/dist/Combobox/Combobox.d.ts +0 -60
  81. package/dist/Combobox/ComboboxList.d.ts +0 -10
  82. package/dist/Combobox/ComboboxOption.d.ts +0 -3
  83. package/dist/Combobox/__tests__/Combobox.spec.d.ts +0 -1
  84. package/dist/Combobox/index.d.ts +0 -3
  85. package/dist/DatePicker/DatePicker.d.ts +0 -78
  86. package/dist/DatePicker/__tests__/DatePicker.spec.d.ts +0 -1
  87. package/dist/DatePicker/index.d.ts +0 -2
  88. package/dist/DateTimePicker/DateTimePicker.d.ts +0 -32
  89. package/dist/DateTimePicker/__tests__/DateTimePicker.spec.d.ts +0 -1
  90. package/dist/DateTimePicker/index.d.ts +0 -1
  91. package/dist/DesignSystemProvider.d.ts +0 -10
  92. package/dist/Dialog/Dialog.d.ts +0 -7
  93. package/dist/Dialog/DialogBody.d.ts +0 -6
  94. package/dist/Dialog/DialogFooter.d.ts +0 -6
  95. package/dist/Dialog/__tests__/Dialog.spec.d.ts +0 -1
  96. package/dist/Dialog/index.d.ts +0 -3
  97. package/dist/DismissibleLayer/index.d.ts +0 -3
  98. package/dist/Divider/Divider.d.ts +0 -9
  99. package/dist/Divider/index.d.ts +0 -1
  100. package/dist/EmptyStateLayout/EmptyStateLayout.d.ts +0 -7
  101. package/dist/EmptyStateLayout/index.d.ts +0 -1
  102. package/dist/EmptyStateLayout/story-assets/Illo.d.ts +0 -1
  103. package/dist/Field/Field.d.ts +0 -14
  104. package/dist/Field/FieldAction.d.ts +0 -7
  105. package/dist/Field/FieldContext.d.ts +0 -10
  106. package/dist/Field/FieldError.d.ts +0 -1
  107. package/dist/Field/FieldHint.d.ts +0 -1
  108. package/dist/Field/FieldInput.d.ts +0 -61
  109. package/dist/Field/FieldLabel.d.ts +0 -11
  110. package/dist/Field/__tests__/Field.spec.d.ts +0 -1
  111. package/dist/Field/index.d.ts +0 -7
  112. package/dist/Flex/Flex.d.ts +0 -15
  113. package/dist/Flex/index.d.ts +0 -1
  114. package/dist/FocusTrap/FocusTrap.d.ts +0 -12
  115. package/dist/FocusTrap/index.d.ts +0 -1
  116. package/dist/Grid/Grid.d.ts +0 -7
  117. package/dist/Grid/GridItem.d.ts +0 -47
  118. package/dist/Grid/index.d.ts +0 -2
  119. package/dist/Icon/Icon.d.ts +0 -7
  120. package/dist/Icon/index.d.ts +0 -1
  121. package/dist/IconButton/IconButton.d.ts +0 -41
  122. package/dist/IconButton/index.d.ts +0 -1
  123. package/dist/JSONInput/JSONInput.d.ts +0 -15
  124. package/dist/JSONInput/__tests__/JSONInput.spec.d.ts +0 -1
  125. package/dist/JSONInput/index.d.ts +0 -1
  126. package/dist/JSONInput/utils/decorationExtension.d.ts +0 -7
  127. package/dist/KeyboardNavigable/KeyboardNavigable.d.ts +0 -6
  128. package/dist/KeyboardNavigable/index.d.ts +0 -1
  129. package/dist/Layout/ActionLayout.d.ts +0 -6
  130. package/dist/Layout/ContentLayout.d.ts +0 -5
  131. package/dist/Layout/GridLayout.d.ts +0 -1
  132. package/dist/Layout/HeaderLayout.d.ts +0 -18
  133. package/dist/Layout/Layout.d.ts +0 -6
  134. package/dist/Layout/TwoColsLayout.d.ts +0 -6
  135. package/dist/Layout/index.d.ts +0 -6
  136. package/dist/Link/Link.d.ts +0 -18
  137. package/dist/Link/index.d.ts +0 -1
  138. package/dist/LinkButton/LinkButton.d.ts +0 -22
  139. package/dist/LinkButton/index.d.ts +0 -1
  140. package/dist/LiveRegions/LiveRegions.d.ts +0 -1
  141. package/dist/LiveRegions/__tests__/LiveRegions.spec.d.ts +0 -1
  142. package/dist/LiveRegions/constants.d.ts +0 -5
  143. package/dist/LiveRegions/index.d.ts +0 -2
  144. package/dist/LiveRegions/useNotifyAT.d.ts +0 -5
  145. package/dist/Loader/Loader.d.ts +0 -6
  146. package/dist/Loader/index.d.ts +0 -1
  147. package/dist/Main/Main.d.ts +0 -5
  148. package/dist/Main/SkipToContent.d.ts +0 -4
  149. package/dist/Main/index.d.ts +0 -2
  150. package/dist/MainNav/MainNav.d.ts +0 -5
  151. package/dist/MainNav/MainNavContext.d.ts +0 -2
  152. package/dist/MainNav/NavBrand.d.ts +0 -8
  153. package/dist/MainNav/NavCondense.d.ts +0 -5
  154. package/dist/MainNav/NavFooter.d.ts +0 -5
  155. package/dist/MainNav/NavLink.d.ts +0 -9
  156. package/dist/MainNav/NavSection.d.ts +0 -11
  157. package/dist/MainNav/NavSections.d.ts +0 -10
  158. package/dist/MainNav/NavUser.d.ts +0 -7
  159. package/dist/MainNav/index.d.ts +0 -8
  160. package/dist/ModalLayout/ModalBody.d.ts +0 -2
  161. package/dist/ModalLayout/ModalContext.d.ts +0 -2
  162. package/dist/ModalLayout/ModalFooter.d.ts +0 -5
  163. package/dist/ModalLayout/ModalHeader.d.ts +0 -6
  164. package/dist/ModalLayout/ModalLayout.d.ts +0 -6
  165. package/dist/ModalLayout/__tests__/ModalLayout.spec.d.ts +0 -1
  166. package/dist/ModalLayout/index.d.ts +0 -4
  167. package/dist/NumberInput/NumberInput.d.ts +0 -11
  168. package/dist/NumberInput/index.d.ts +0 -1
  169. package/dist/Pagination/Pagination.d.ts +0 -8
  170. package/dist/Pagination/PaginationContext.d.ts +0 -6
  171. package/dist/Pagination/components.d.ts +0 -26
  172. package/dist/Pagination/index.d.ts +0 -2
  173. package/dist/Popover/Popover.d.ts +0 -21
  174. package/dist/Popover/__tests__/Popover.spec.d.ts +0 -1
  175. package/dist/Popover/index.d.ts +0 -3
  176. package/dist/Popover/primitives.d.ts +0 -3
  177. package/dist/Portal/Portal.d.ts +0 -6
  178. package/dist/Portal/index.d.ts +0 -1
  179. package/dist/ProgressBar/ProgressBar.d.ts +0 -11
  180. package/dist/ProgressBar/index.d.ts +0 -1
  181. package/dist/Radio/Radio.d.ts +0 -5
  182. package/dist/Radio/__tests__/Radio.spec.d.ts +0 -1
  183. package/dist/Radio/index.d.ts +0 -2
  184. package/dist/RawTable/RawCell.d.ts +0 -14
  185. package/dist/RawTable/RawTable.d.ts +0 -16
  186. package/dist/RawTable/RawTableContext.d.ts +0 -10
  187. package/dist/RawTable/RawTbody.d.ts +0 -5
  188. package/dist/RawTable/RawThead.d.ts +0 -5
  189. package/dist/RawTable/RawTr.d.ts +0 -5
  190. package/dist/RawTable/focusFocusable.d.ts +0 -1
  191. package/dist/RawTable/index.d.ts +0 -5
  192. package/dist/Searchbar/SearchForm.d.ts +0 -3
  193. package/dist/Searchbar/Searchbar.d.ts +0 -9
  194. package/dist/Searchbar/index.d.ts +0 -2
  195. package/dist/Select/MultiSelect.d.ts +0 -40
  196. package/dist/Select/MultiSelectNested.d.ts +0 -13
  197. package/dist/Select/OptGroup.d.ts +0 -9
  198. package/dist/Select/Option.d.ts +0 -13
  199. package/dist/Select/Select.d.ts +0 -18
  200. package/dist/Select/SelectList.d.ts +0 -25
  201. package/dist/Select/SelectParts.d.ts +0 -67
  202. package/dist/Select/SingleSelect.d.ts +0 -41
  203. package/dist/Select/__tests__/MultiSelect.spec.d.ts +0 -1
  204. package/dist/Select/__tests__/MultiSelectNested.spec.d.ts +0 -1
  205. package/dist/Select/__tests__/Select.spec.d.ts +0 -1
  206. package/dist/Select/__tests__/SingleSelect.spec.d.ts +0 -1
  207. package/dist/Select/index.d.ts +0 -17
  208. package/dist/SimpleMenu/SimpleMenu.d.ts +0 -33
  209. package/dist/SimpleMenu/__tests__/SimpleMenu.spec.d.ts +0 -1
  210. package/dist/SimpleMenu/index.d.ts +0 -1
  211. package/dist/SimpleMenu/utils.d.ts +0 -3
  212. package/dist/Stack/Stack.d.ts +0 -20
  213. package/dist/Stack/index.d.ts +0 -1
  214. package/dist/Status/Status.d.ts +0 -15
  215. package/dist/Status/__tests__/Status.spec.d.ts +0 -1
  216. package/dist/Status/index.d.ts +0 -1
  217. package/dist/SubNav/SubNav.d.ts +0 -6
  218. package/dist/SubNav/SubNavHeader.d.ts +0 -13
  219. package/dist/SubNav/SubNavLink.d.ts +0 -8
  220. package/dist/SubNav/SubNavLinkSection.d.ts +0 -7
  221. package/dist/SubNav/SubNavSection.d.ts +0 -9
  222. package/dist/SubNav/SubNavSectionLabel.d.ts +0 -8
  223. package/dist/SubNav/SubNavSections.d.ts +0 -10
  224. package/dist/SubNav/index.d.ts +0 -6
  225. package/dist/Switch/Switch.d.ts +0 -13
  226. package/dist/Switch/index.d.ts +0 -1
  227. package/dist/Table/Cell.d.ts +0 -8
  228. package/dist/Table/TFooter.d.ts +0 -7
  229. package/dist/Table/Table.d.ts +0 -7
  230. package/dist/Table/Tbody.d.ts +0 -2
  231. package/dist/Table/Thead.d.ts +0 -2
  232. package/dist/Table/Tr.d.ts +0 -2
  233. package/dist/Table/index.d.ts +0 -6
  234. package/dist/Tabs/TabGroup.d.ts +0 -13
  235. package/dist/Tabs/TabPanels.d.ts +0 -9
  236. package/dist/Tabs/Tabs.d.ts +0 -17
  237. package/dist/Tabs/TabsContext.d.ts +0 -10
  238. package/dist/Tabs/components.d.ts +0 -94
  239. package/dist/Tabs/index.d.ts +0 -3
  240. package/dist/Tag/Tag.d.ts +0 -5
  241. package/dist/Tag/__tests__/Tag.spec.d.ts +0 -1
  242. package/dist/Tag/index.d.ts +0 -1
  243. package/dist/TextButton/TextButton.d.ts +0 -8
  244. package/dist/TextButton/index.d.ts +0 -1
  245. package/dist/TextInput/TextInput.d.ts +0 -10
  246. package/dist/TextInput/__tests__/TextInput.spec.d.ts +0 -1
  247. package/dist/TextInput/index.d.ts +0 -1
  248. package/dist/Textarea/Textarea.d.ts +0 -17
  249. package/dist/Textarea/index.d.ts +0 -1
  250. package/dist/ThemeProvider/ThemeProvider.d.ts +0 -10
  251. package/dist/ThemeProvider/hooks.d.ts +0 -1
  252. package/dist/ThemeProvider/index.d.ts +0 -2
  253. package/dist/TimePicker/TimePicker.d.ts +0 -26
  254. package/dist/TimePicker/__tests__/TimePicker.spec.d.ts +0 -1
  255. package/dist/TimePicker/index.d.ts +0 -1
  256. package/dist/ToggleCheckbox/ToggleCheckbox.d.ts +0 -10
  257. package/dist/ToggleCheckbox/index.d.ts +0 -1
  258. package/dist/ToggleInput/ToggleInput.d.ts +0 -24
  259. package/dist/ToggleInput/__tests__/ToggleInput.spec.d.ts +0 -1
  260. package/dist/ToggleInput/index.d.ts +0 -1
  261. package/dist/Tooltip/Tooltip.d.ts +0 -11
  262. package/dist/Tooltip/__tests__/Tooltip.spec.d.ts +0 -1
  263. package/dist/Tooltip/hooks/useTooltipHandlers.d.ts +0 -7
  264. package/dist/Tooltip/hooks/useTooltipLayout.d.ts +0 -5
  265. package/dist/Tooltip/index.d.ts +0 -1
  266. package/dist/Tooltip/utils/__tests__/positionTooltip.spec.d.ts +0 -1
  267. package/dist/Tooltip/utils/positionTooltip.d.ts +0 -5
  268. package/dist/Typography/Typography.d.ts +0 -19
  269. package/dist/Typography/__tests__/Typography.spec.d.ts +0 -1
  270. package/dist/Typography/constants.d.ts +0 -8
  271. package/dist/Typography/index.d.ts +0 -1
  272. package/dist/Typography/utils.d.ts +0 -9
  273. package/dist/VisuallyHidden/VisuallyHidden.d.ts +0 -1
  274. package/dist/VisuallyHidden/index.d.ts +0 -1
  275. package/dist/helpers/__tests__/deprecations.spec.d.ts +0 -1
  276. package/dist/helpers/context.d.ts +0 -7
  277. package/dist/helpers/deprecations.d.ts +0 -2
  278. package/dist/helpers/getDefaultLocale.d.ts +0 -5
  279. package/dist/helpers/getFocusableNodes.d.ts +0 -10
  280. package/dist/helpers/handleResponsiveValues.d.ts +0 -17
  281. package/dist/helpers/keyboardKeys.d.ts +0 -17
  282. package/dist/helpers/objects.d.ts +0 -8
  283. package/dist/helpers/setOpacity.d.ts +0 -1
  284. package/dist/helpers/setTabIndexOnFirstItem.d.ts +0 -1
  285. package/dist/helpers/strings.d.ts +0 -1
  286. package/dist/helpers/theme.d.ts +0 -2
  287. package/dist/helpers/useElementOnScreen.d.ts +0 -6
  288. package/dist/helpers/useId.d.ts +0 -6
  289. package/dist/helpers/useIntersection.d.ts +0 -6
  290. package/dist/helpers/useLockScroll.d.ts +0 -7
  291. package/dist/helpers/usePrevious.d.ts +0 -6
  292. package/dist/helpers/useResizeObserver.d.ts +0 -6
  293. package/dist/hooks/__tests__/useId.spec.d.ts +0 -1
  294. package/dist/hooks/useComposeRefs.d.ts +0 -29
  295. package/dist/hooks/useControllableState.d.ts +0 -19
  296. package/dist/hooks/useDateFormatter.d.ts +0 -28
  297. package/dist/hooks/useElementOnScreen.d.ts +0 -1
  298. package/dist/hooks/useId.d.ts +0 -1
  299. package/dist/hooks/useIntersection.d.ts +0 -7
  300. package/dist/hooks/useLockScroll.d.ts +0 -2
  301. package/dist/hooks/usePrevious.d.ts +0 -1
  302. package/dist/hooks/useResizeObserver.d.ts +0 -2
  303. package/dist/index.d.ts +0 -66
  304. package/dist/themes/__tests__/extendTheme.spec.d.ts +0 -1
  305. package/dist/themes/colors.d.ts +0 -54
  306. package/dist/themes/common-theme.d.ts +0 -19
  307. package/dist/themes/darkTheme/dark-colors.d.ts +0 -4
  308. package/dist/themes/darkTheme/dark-shadows.d.ts +0 -4
  309. package/dist/themes/darkTheme/index.d.ts +0 -2
  310. package/dist/themes/extendTheme.d.ts +0 -2
  311. package/dist/themes/index.d.ts +0 -10
  312. package/dist/themes/lightTheme/index.d.ts +0 -2
  313. package/dist/themes/lightTheme/light-colors.d.ts +0 -4
  314. package/dist/themes/lightTheme/light-shadows.d.ts +0 -4
  315. package/dist/themes/sizes.d.ts +0 -21
  316. package/dist/themes/utils.d.ts +0 -12
  317. package/dist/types.d.ts +0 -3
  318. package/dist/v2/Breadcrumbs/Breadcrumbs.d.ts +0 -8
  319. package/dist/v2/Breadcrumbs/Crumb.d.ts +0 -8
  320. package/dist/v2/Breadcrumbs/CrumbLink.d.ts +0 -5
  321. package/dist/v2/Breadcrumbs/CrumbSimpleMenu.d.ts +0 -11
  322. package/dist/v2/Breadcrumbs/Divider.d.ts +0 -4
  323. package/dist/v2/Breadcrumbs/__tests__/Breadcrumbs.spec.d.ts +0 -1
  324. package/dist/v2/Breadcrumbs/index.d.ts +0 -4
  325. package/dist/v2/Link/Link.d.ts +0 -11
  326. package/dist/v2/Link/index.d.ts +0 -1
  327. package/dist/v2/LinkButton/LinkButton.d.ts +0 -61
  328. package/dist/v2/LinkButton/index.d.ts +0 -1
  329. package/dist/v2/MainNav/MainNav.d.ts +0 -5
  330. package/dist/v2/MainNav/MainNavContext.d.ts +0 -2
  331. package/dist/v2/MainNav/NavBrand.d.ts +0 -9
  332. package/dist/v2/MainNav/NavCondense.d.ts +0 -5
  333. package/dist/v2/MainNav/NavFooter.d.ts +0 -5
  334. package/dist/v2/MainNav/NavLink.d.ts +0 -9
  335. package/dist/v2/MainNav/NavSection.d.ts +0 -9
  336. package/dist/v2/MainNav/NavSections.d.ts +0 -8
  337. package/dist/v2/MainNav/NavUser.d.ts +0 -8
  338. package/dist/v2/MainNav/index.d.ts +0 -8
  339. package/dist/v2/Pagination/Pagination.d.ts +0 -8
  340. package/dist/v2/Pagination/PaginationContext.d.ts +0 -6
  341. package/dist/v2/Pagination/components.d.ts +0 -16
  342. package/dist/v2/Pagination/index.d.ts +0 -2
  343. package/dist/v2/SimpleMenu/Menu.d.ts +0 -56
  344. package/dist/v2/SimpleMenu/SimpleMenu.d.ts +0 -62
  345. package/dist/v2/SimpleMenu/__tests__/Menu.spec.d.ts +0 -1
  346. package/dist/v2/SimpleMenu/__tests__/SimpleMenu.spec.d.ts +0 -1
  347. package/dist/v2/SimpleMenu/index.d.ts +0 -1
  348. package/dist/v2/SubNav/SubNav.d.ts +0 -6
  349. package/dist/v2/SubNav/SubNavHeader.d.ts +0 -13
  350. package/dist/v2/SubNav/SubNavLink.d.ts +0 -9
  351. package/dist/v2/SubNav/SubNavLinkSection.d.ts +0 -7
  352. package/dist/v2/SubNav/SubNavSection.d.ts +0 -9
  353. package/dist/v2/SubNav/SubNavSectionLabel.d.ts +0 -9
  354. package/dist/v2/SubNav/SubNavSections.d.ts +0 -8
  355. package/dist/v2/SubNav/index.d.ts +0 -6
  356. package/dist/v2/index.d.ts +0 -7
@@ -1 +0,0 @@
1
- export declare const useTheme: () => import("styled-components").DefaultTheme;
@@ -1,2 +0,0 @@
1
- export * from './ThemeProvider';
2
- export * from './hooks';
@@ -1,26 +0,0 @@
1
- import * as React from 'react';
2
- import { ComboboxInputProps } from '../Combobox/Combobox';
3
- import { FieldLabelProps, FieldProps } from '../Field';
4
- export interface TimePickerInputProps extends Omit<ComboboxInputProps, 'children' | 'autocomplete' | 'startIcon' | 'placeholder' | 'allowCustomValue' | 'onFilterValueChange' | 'filterValue' | 'value' | 'defaultValue' | 'defaultTextValue' | 'textValue' | 'onTextValueChange'> {
5
- /**
6
- * @default 15
7
- */
8
- step?: number;
9
- /**
10
- * @deprecated This is no longer used.
11
- */
12
- ariaLabel?: string;
13
- /**
14
- * @preserve
15
- * @deprecated This is no longer used.
16
- */
17
- selectButtonTitle?: string;
18
- value?: string;
19
- defaultValue?: string;
20
- }
21
- export declare const TimePickerInput: React.ForwardRefExoticComponent<TimePickerInputProps & React.RefAttributes<HTMLInputElement>>;
22
- export interface TimePickerProps extends TimePickerInputProps, Pick<FieldProps, 'hint'> {
23
- label: string;
24
- labelAction?: FieldLabelProps['action'];
25
- }
26
- export declare const TimePicker: React.ForwardRefExoticComponent<TimePickerProps & React.RefAttributes<HTMLInputElement>>;
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export * from './TimePicker';
@@ -1,10 +0,0 @@
1
- import React from 'react';
2
- import type { InputSizes } from '../themes/sizes';
3
- export interface ToggleCheckboxProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'size' | 'children'> {
4
- children: string;
5
- offLabel: string;
6
- onChange?: (e: React.ChangeEvent<HTMLInputElement>) => void;
7
- onLabel: string;
8
- size?: InputSizes;
9
- }
10
- export declare const ToggleCheckbox: React.ForwardRefExoticComponent<ToggleCheckboxProps & React.RefAttributes<HTMLInputElement>>;
@@ -1 +0,0 @@
1
- export * from './ToggleCheckbox';
@@ -1,24 +0,0 @@
1
- import * as React from 'react';
2
- import { type FieldProps, FieldLabelProps } from '../Field';
3
- import type { InputSizes } from '../themes/sizes';
4
- interface ToggleInputInputProps extends Omit<React.ComponentPropsWithoutRef<'input'>, 'name' | 'children' | 'required' | 'id' | 'size' | 'checked'> {
5
- onLabel: string;
6
- offLabel: string;
7
- checked?: boolean | null;
8
- size?: InputSizes;
9
- }
10
- interface ToggleInputPropsWithoutLabel extends Pick<FieldProps, 'error' | 'hint' | 'name' | 'required' | 'id'>, ToggleInputInputProps {
11
- clearLabel?: string;
12
- labelAction?: FieldLabelProps['action'];
13
- onClear?: () => void;
14
- }
15
- type ToggleInputProps = (ToggleInputPropsWithoutLabel & {
16
- label: string;
17
- 'aria-label'?: never;
18
- }) | (ToggleInputPropsWithoutLabel & {
19
- label?: never;
20
- 'aria-label': string;
21
- });
22
- declare const ToggleInput: React.ForwardRefExoticComponent<ToggleInputProps & React.RefAttributes<HTMLInputElement>>;
23
- export { ToggleInput };
24
- export type { ToggleInputProps };
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export * from './ToggleInput';
@@ -1,11 +0,0 @@
1
- import * as React from 'react';
2
- import { TooltipPosition } from './utils/positionTooltip';
3
- import { BoxProps } from '../Box';
4
- export interface TooltipProps extends Omit<BoxProps<'div'>, 'position'> {
5
- description?: string;
6
- delay?: number;
7
- id?: string;
8
- label?: React.ReactNode;
9
- position?: TooltipPosition;
10
- }
11
- export declare const Tooltip: ({ children, label, description, delay, position, id, ...props }: TooltipProps) => import("react/jsx-runtime").JSX.Element;
@@ -1 +0,0 @@
1
- export {};
@@ -1,7 +0,0 @@
1
- export declare const useTooltipHandlers: (delay: number) => {
2
- visible: boolean;
3
- onFocus: () => void;
4
- onBlur: () => void;
5
- onMouseEnter: () => void;
6
- onMouseLeave: () => void;
7
- };
@@ -1,5 +0,0 @@
1
- import { TooltipPosition } from '../utils/positionTooltip';
2
- export declare const useTooltipLayout: (visible: boolean, position: TooltipPosition) => {
3
- tooltipWrapperRef: import("react").MutableRefObject<HTMLDivElement | null>;
4
- toggleSourceRef: import("react").MutableRefObject<HTMLSpanElement | null>;
5
- };
@@ -1 +0,0 @@
1
- export * from './Tooltip';
@@ -1,5 +0,0 @@
1
- export type TooltipPosition = 'top' | 'bottom' | 'left' | 'right';
2
- export declare const positionTooltip: (tooltipNode: HTMLDivElement, toggleSourceNode: HTMLSpanElement, position?: TooltipPosition) => {
3
- left: number;
4
- top: number;
5
- };
@@ -1,19 +0,0 @@
1
- import * as React from 'react';
2
- import { CSSProperties, DefaultTheme } from 'styled-components';
3
- import { TEXT_VARIANTS } from './constants';
4
- import { DefaultThemeOrCSSProp } from '../types';
5
- export type TypographyProps<TElement extends keyof JSX.IntrinsicElements = 'span'> = React.ComponentPropsWithoutRef<TElement> & {
6
- as?: string | React.ComponentType<any>;
7
- forwardedAs?: string | React.ComponentType<any>;
8
- children?: React.ReactNode;
9
- ellipsis?: boolean;
10
- fontSize?: keyof DefaultTheme['fontSizes'];
11
- fontWeight?: keyof DefaultTheme['fontWeights'];
12
- lineHeight?: DefaultThemeOrCSSProp<'lineHeights', 'lineHeight'>;
13
- textAlign?: CSSProperties['textAlign'];
14
- textColor?: keyof DefaultTheme['colors'];
15
- textDecoration?: CSSProperties['textDecoration'];
16
- textTransform?: CSSProperties['textTransform'];
17
- variant?: (typeof TEXT_VARIANTS)[number];
18
- };
19
- export declare const Typography: import("styled-components").StyledComponent<"span", DefaultTheme, TypographyProps<"span">, never>;
@@ -1 +0,0 @@
1
- export {};
@@ -1,8 +0,0 @@
1
- export declare const ALPHA = "alpha";
2
- export declare const BETA = "beta";
3
- export declare const DELTA = "delta";
4
- export declare const EPSILON = "epsilon";
5
- export declare const OMEGA = "omega";
6
- export declare const PI = "pi";
7
- export declare const SIGMA = "sigma";
8
- export declare const TEXT_VARIANTS: readonly ["alpha", "beta", "delta", "epsilon", "omega", "pi", "sigma"];
@@ -1 +0,0 @@
1
- export * from './Typography';
@@ -1,9 +0,0 @@
1
- import { DefaultTheme } from 'styled-components';
2
- import { TEXT_VARIANTS } from './constants';
3
- export declare const ellipsisStyle: ({ ellipsis }: {
4
- ellipsis?: boolean | undefined;
5
- }) => false | "\n display: block;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n ";
6
- export declare const variantStyle: ({ variant, theme, }: {
7
- variant?: "alpha" | "beta" | "delta" | "epsilon" | "omega" | "pi" | "sigma" | undefined;
8
- theme: DefaultTheme;
9
- }) => string;
@@ -1 +0,0 @@
1
- export declare const VisuallyHidden: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
@@ -1 +0,0 @@
1
- export * from './VisuallyHidden';
@@ -1 +0,0 @@
1
- export {};
@@ -1,7 +0,0 @@
1
- import * as React from 'react';
2
- export declare const createContext: <ContextValueType extends object | null>(rootComponentName: string, defaultContext?: ContextValueType | undefined) => readonly [{
3
- (props: ContextValueType & {
4
- children: React.ReactNode;
5
- }): import("react/jsx-runtime").JSX.Element;
6
- displayName: string;
7
- }, (consumerName: string) => ContextValueType];
@@ -1,2 +0,0 @@
1
- export declare const PREFIX = "[@strapi/design-system]:";
2
- export declare const once: <TFunc extends (...args: any) => any>(fn: TFunc) => (...args: any) => void;
@@ -1,5 +0,0 @@
1
- /**
2
- * @preserve
3
- * @deprecated This will be removed in v2.0.0, you can access the locale from `useDesignSystem` instead.
4
- */
5
- export declare const getDefaultLocale: () => string;
@@ -1,10 +0,0 @@
1
- /**
2
- * Sometimes, we want to retrieve the elements with tabindex=-1, and sometime we don't
3
- * The includeNegativeTabIndex aims to provide this capability
4
- *
5
- */
6
- export declare const getFocusableNodes: (node: HTMLElement, includeNegativeTabIndex?: boolean) => HTMLElement[];
7
- /**
8
- * This function filters an array of HTMLElements and returns any of them that have internal keyboard navigation such as input type="text"
9
- */
10
- export declare const getFocusableNodesWithKeyboardNav: (nodes: HTMLElement[]) => HTMLElement[];
@@ -1,17 +0,0 @@
1
- import type { CSSProperties } from 'react';
2
- import { DefaultTheme } from 'styled-components';
3
- import { DefaultThemeOrCSSProp } from '../types';
4
- interface ResponsiveValueObject {
5
- desktop?: keyof DefaultTheme['spaces'];
6
- tablet?: keyof DefaultTheme['spaces'];
7
- mobile?: keyof DefaultTheme['spaces'];
8
- }
9
- type ResponsiveValueTuple = [
10
- desktop?: keyof DefaultTheme['spaces'],
11
- tablet?: keyof DefaultTheme['spaces'],
12
- mobile?: keyof DefaultTheme['spaces']
13
- ];
14
- type ResponsiveCSSProperties = Pick<CSSProperties, 'margin' | 'marginLeft' | 'marginRight' | 'marginTop' | 'marginBottom' | 'padding' | 'paddingLeft' | 'paddingRight' | 'paddingTop' | 'paddingBottom'>;
15
- export type ResponsiveValue<TCSSProp extends keyof ResponsiveCSSProperties = any> = ResponsiveValueObject | DefaultThemeOrCSSProp<'spaces', TCSSProp> | ResponsiveValueTuple;
16
- declare const handleResponsiveValues: <TCSSProp extends "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "margin" | "padding">(property: string, value: ResponsiveValue<TCSSProp> | undefined, theme: DefaultTheme) => string | undefined;
17
- export default handleResponsiveValues;
@@ -1,17 +0,0 @@
1
- export declare const KeyboardKeys: {
2
- DOWN: string;
3
- UP: string;
4
- RIGHT: string;
5
- LEFT: string;
6
- ESCAPE: string;
7
- ENTER: string;
8
- SPACE: string;
9
- TAB: string;
10
- END: string;
11
- HOME: string;
12
- DELETE: string;
13
- PAGE_UP: string;
14
- PAGE_DOWN: string;
15
- BACKSPACE: string;
16
- CLEAR: string;
17
- };
@@ -1,8 +0,0 @@
1
- export declare function isKeyOf(o: object | [] | string, s: string | number | symbol): s is keyof typeof o;
2
- /**
3
- * @description Simple object check.
4
- * @export
5
- * @param item
6
- * @returns {boolean}
7
- */
8
- export declare function isObject(item: any): boolean;
@@ -1 +0,0 @@
1
- export declare const setOpacity: (hex: string, alpha: number) => string;
@@ -1 +0,0 @@
1
- export declare const setTabIndexOnFirstItem: (node: HTMLElement, selector: string) => void;
@@ -1 +0,0 @@
1
- export declare const stripReactIdOfColon: (str: string) => string;
@@ -1,2 +0,0 @@
1
- import { DefaultTheme } from 'styled-components';
2
- export declare function extractStyleFromTheme<TKey extends keyof DefaultTheme, TSection extends DefaultTheme[TKey]>(themeSection: TSection, key: string | number | symbol | undefined, defaultValue: any): string | number;
@@ -1,6 +0,0 @@
1
- import { useElementOnScreen as actualUseElementOnScreen } from '../hooks/useElementOnScreen';
2
- /**
3
- * @preserve
4
- * @deprecated useElementOnScreen has moved. Please import it from "@strapi/design-system/hooks/useElementOnScreen"
5
- */
6
- export declare const useElementOnScreen: typeof actualUseElementOnScreen;
@@ -1,6 +0,0 @@
1
- import { useId as actualUseId } from '../hooks/useId';
2
- /**
3
- * @preserve
4
- * @deprecated useId has moved. Please import it from "@strapi/design-system/hooks/useId"
5
- */
6
- export declare const useId: typeof actualUseId;
@@ -1,6 +0,0 @@
1
- import { useIntersection as actualUseIntersection } from '../hooks/useIntersection';
2
- /**
3
- * @preserve
4
- * @deprecated useId has moved. Please import it from "@strapi/design-system/hooks/useId"
5
- */
6
- export declare const useIntersection: typeof actualUseIntersection;
@@ -1,7 +0,0 @@
1
- import actualUseLockScroll from '../hooks/useLockScroll';
2
- /**
3
- * @preserve
4
- * @deprecated useLockScroll has moved. Please import it from "@strapi/design-system/hooks/useLockScroll"
5
- */
6
- declare const useLockScroll: typeof actualUseLockScroll;
7
- export default useLockScroll;
@@ -1,6 +0,0 @@
1
- import { usePrevious as actualUsePrevious } from '../hooks/usePrevious';
2
- /**
3
- * @preserve
4
- * @deprecated usePrevious has moved. Please import it from "@strapi/design-system/hooks/usePrevious"
5
- */
6
- export declare const usePrevious: typeof actualUsePrevious;
@@ -1,6 +0,0 @@
1
- import { useResizeObserver as actualUseResizeObserver } from '../hooks/useResizeObserver';
2
- /**
3
- * @preserve
4
- * @deprecated useResizeObserver has moved. Please import it from "@strapi/design-system/hooks/useResizeObserver"
5
- */
6
- export declare const useResizeObserver: typeof actualUseResizeObserver;
@@ -1 +0,0 @@
1
- export {};
@@ -1,29 +0,0 @@
1
- import * as React from 'react';
2
- type PossibleRef<T> = React.Ref<T> | undefined;
3
- /**
4
- * A utility to compose multiple refs together
5
- * Accepts callback refs and RefObject(s)
6
- */
7
- declare function composeRefs<T>(...refs: PossibleRef<T>[]): (node: T) => void;
8
- /**
9
- * Takes multiple React like refs either React.Ref or a callback:
10
- * (node: T) => void and returns a single function that can be
11
- * passed to a React component as a ref.
12
- *
13
- * Example:
14
- * ```tsx
15
- * import { useComposedRefs } from '../hooks/useComposedRefs';
16
- *
17
- * const Component = React.forwardRef<HTMLInputElement, ComponentProps>((props, forwardedRef) => {
18
- * const ref = useComposedRefs(internalRef, forwardedRef);
19
- *
20
- * React.useEffect(() => {
21
- * ref.current.focus();
22
- * }, [ref]);
23
- *
24
- * return <input ref={ref} />
25
- * }
26
- * ```
27
- */
28
- declare function useComposedRefs<T>(...refs: PossibleRef<T>[]): (node: T) => void;
29
- export { composeRefs, useComposedRefs };
@@ -1,19 +0,0 @@
1
- /**
2
- * this is basically stolen from RadixUI but tweaked to allow the following:
3
- * * prop can be a function
4
- * * setUncontrolledProp is always called with the nextValue.
5
- */
6
- /**
7
- * @type {<T>(params: UseControllableStateParams<T>) => [T, (nextState: T | SetStateFn<T>) => void]}
8
- */
9
- export interface UseControllableStateParams<TProp> {
10
- prop?: TProp | undefined | ((state?: TProp | undefined) => TProp | undefined);
11
- defaultProp?: TProp | undefined;
12
- onChange?: (state?: TProp) => void;
13
- }
14
- type SetStateFn<TState> = (prevState: TState) => TState;
15
- declare function useControllableState<TProp>({ prop, defaultProp, onChange, }: UseControllableStateParams<TProp>): [
16
- TProp | undefined,
17
- (nextState: TProp | undefined | SetStateFn<TProp | undefined>) => void
18
- ];
19
- export { useControllableState };
@@ -1,28 +0,0 @@
1
- import { DateFormatter } from '@internationalized/date';
2
- export interface DateFormatterOptions extends Intl.DateTimeFormatOptions {
3
- calendar?: string;
4
- }
5
- /**
6
- * This hook wraps the `DateFormatter` from `@internationalized/date`. Which essentially is
7
- * an extension of the `Intl.DateTimeFormat` API with some additional features.
8
- *
9
- * @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat
10
- * for more information.
11
- *
12
- * @returns a memoized DateFormatter instance
13
- *
14
- * @example
15
- * ```tsx
16
- * const MyComponent = () => {
17
- * const monthFormatter = useDateFormatter(locale, { month: 'long' });
18
- * const months: string[] = React.useMemo(
19
- * () => [...Array(12).keys()].map((m) => monthFormatter.format(new Date(Date.UTC(2023, m)))),
20
- * [monthFormatter],
21
- * );
22
- *
23
- * // assuming the locale is `en-GB` this will render `Janyary` to `December`.
24
- * return months.map((month) => <p key={month}>{month}</p>)
25
- * }
26
- * ```
27
- */
28
- export declare function useDateFormatter(locale: string, options?: DateFormatterOptions): DateFormatter;
@@ -1 +0,0 @@
1
- export declare const useElementOnScreen: <TElement extends HTMLElement = HTMLElement>(options?: IntersectionObserverInit) => [containerRef: import("react").RefObject<TElement>, isVisible: boolean];
@@ -1 +0,0 @@
1
- export declare const useId: (initialId?: string | number | undefined) => string;
@@ -1,7 +0,0 @@
1
- import { MutableRefObject } from 'react';
2
- interface UseIntersectionOptions {
3
- selectorToWatch: string;
4
- skipWhen?: boolean;
5
- }
6
- export declare const useIntersection: (scrollableAreaRef: MutableRefObject<HTMLElement | null>, callback: (entry: IntersectionObserverEntry) => void, { selectorToWatch, skipWhen }: UseIntersectionOptions) => void;
7
- export {};
@@ -1,2 +0,0 @@
1
- declare const useLockScroll: (lockScroll: boolean) => void;
2
- export default useLockScroll;
@@ -1 +0,0 @@
1
- export declare const usePrevious: <TValue>(value: TValue) => TValue | undefined;
@@ -1,2 +0,0 @@
1
- import { RefObject } from 'react';
2
- export declare const useResizeObserver: (sources: RefObject<HTMLElement> | RefObject<HTMLElement>[], onResize: ResizeObserverCallback) => void;
package/dist/index.d.ts DELETED
@@ -1,66 +0,0 @@
1
- export * from './Accordion';
2
- export * from './Alert';
3
- export * from './Avatar';
4
- export * from './Badge';
5
- export * from './BaseButton';
6
- export * from './BaseCheckbox';
7
- export * from './BaseLink';
8
- export { BaseRadio } from './BaseRadio';
9
- export * from './Box';
10
- export * from './Breadcrumbs';
11
- export * from './Button';
12
- export * from './Card';
13
- export * from './CarouselInput';
14
- export * from './Checkbox';
15
- export * from './Combobox';
16
- export * from './DesignSystemProvider';
17
- export * from './Dialog';
18
- export * from './DismissibleLayer';
19
- export * from './DatePicker';
20
- export * from './DateTimePicker';
21
- export * from './Divider';
22
- export * from './EmptyStateLayout';
23
- export * from './Field';
24
- export * from './FocusTrap';
25
- export * from './Grid';
26
- export * from './Icon';
27
- export * from './IconButton';
28
- export * from './JSONInput';
29
- export * from './KeyboardNavigable';
30
- export * from './Layout';
31
- export * from './Link';
32
- export * from './LinkButton';
33
- export * from './LiveRegions';
34
- export * from './Loader';
35
- export * from './Main';
36
- export * from './MainNav';
37
- export * from './ModalLayout';
38
- export * from './NumberInput';
39
- export * from './Pagination';
40
- export * from './Popover';
41
- export * from './Portal';
42
- export * from './ProgressBar';
43
- export * from './Radio';
44
- export * from './RawTable';
45
- export * from './Flex';
46
- export * from './Searchbar';
47
- export * from './Select';
48
- export * from './SimpleMenu';
49
- export * from './Stack';
50
- export * from './Status';
51
- export * from './SubNav';
52
- export * from './Switch';
53
- export * from './Tabs';
54
- export * from './Table';
55
- export * from './Tag';
56
- export * from './TextButton';
57
- export * from './TextInput';
58
- export * from './Textarea';
59
- export * from './ThemeProvider';
60
- export * from './TimePicker';
61
- export * from './ToggleCheckbox';
62
- export * from './ToggleInput';
63
- export * from './Tooltip';
64
- export * from './Typography';
65
- export * from './VisuallyHidden';
66
- export * from './themes';
@@ -1 +0,0 @@
1
- export {};
@@ -1,54 +0,0 @@
1
- export interface Shadows {
2
- filterShadow: string;
3
- focus: string;
4
- focusShadow: string;
5
- popupShadow: string;
6
- tableShadow: string;
7
- }
8
- export interface Colors {
9
- alternative100: string;
10
- alternative200: string;
11
- alternative500: string;
12
- alternative600: string;
13
- alternative700: string;
14
- buttonNeutral0: string;
15
- buttonPrimary500: string;
16
- buttonPrimary600: string;
17
- danger100: string;
18
- danger200: string;
19
- danger500: string;
20
- danger600: string;
21
- danger700: string;
22
- neutral0: string;
23
- neutral100: string;
24
- neutral1000: string;
25
- neutral150: string;
26
- neutral200: string;
27
- neutral300: string;
28
- neutral400: string;
29
- neutral500: string;
30
- neutral600: string;
31
- neutral700: string;
32
- neutral800: string;
33
- neutral900: string;
34
- primary100: string;
35
- primary200: string;
36
- primary500: string;
37
- primary600: string;
38
- primary700: string;
39
- secondary100: string;
40
- secondary200: string;
41
- secondary500: string;
42
- secondary600: string;
43
- secondary700: string;
44
- success100: string;
45
- success200: string;
46
- success500: string;
47
- success600: string;
48
- success700: string;
49
- warning100: string;
50
- warning200: string;
51
- warning500: string;
52
- warning600: string;
53
- warning700: string;
54
- }
@@ -1,19 +0,0 @@
1
- import { Sizes } from './sizes';
2
- export interface CommonTheme {
3
- sizes: Sizes;
4
- zIndices: [5, 10, 15, 20];
5
- spaces: ['0px', '4px', '8px', '12px', '16px', '20px', '24px', '32px', '40px', '48px', '56px', '64px'];
6
- borderRadius: '4px';
7
- mediaQueries: {
8
- tablet: string;
9
- mobile: string;
10
- };
11
- fontSizes: [string, string, string, string, string, string];
12
- lineHeights: [1.14, 1.22, 1.25, 1.33, 1.43, 1.45, 1.5];
13
- fontWeights: {
14
- regular: 400;
15
- semiBold: 500;
16
- bold: 600;
17
- };
18
- }
19
- export declare const commonTheme: CommonTheme;
@@ -1,4 +0,0 @@
1
- import { Colors } from '../colors';
2
- export declare const darkColorTokenObject: {
3
- color: Colors;
4
- };
@@ -1,4 +0,0 @@
1
- import { Shadows } from '../colors';
2
- export declare const darkShadowTokenObject: {
3
- shadow: Shadows;
4
- };
@@ -1,2 +0,0 @@
1
- import { DefaultTheme } from 'styled-components';
2
- export declare const darkTheme: DefaultTheme;
@@ -1,2 +0,0 @@
1
- import { DefaultTheme } from 'styled-components';
2
- export declare const extendTheme: (theme: DefaultTheme | null, overrides: object | null) => {};
@@ -1,10 +0,0 @@
1
- import { Colors, Shadows } from './colors';
2
- import { CommonTheme } from './common-theme';
3
- export * from './lightTheme';
4
- export * from './darkTheme';
5
- export * from './extendTheme';
6
- export * from './utils';
7
- export interface StrapiTheme extends CommonTheme {
8
- colors: Colors;
9
- shadows: Shadows;
10
- }
@@ -1,2 +0,0 @@
1
- import { DefaultTheme } from 'styled-components';
2
- export declare const lightTheme: DefaultTheme;