@redocly/theme 0.44.2 → 0.44.3

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 (274) hide show
  1. package/lib/components/Admonition/Admonition.js +1 -2
  2. package/lib/components/ApiOnboarding/AppCustomAttributes.js +1 -2
  3. package/lib/components/Badge/Badge.js +1 -2
  4. package/lib/components/Breadcrumbs/Breadcrumb.js +1 -2
  5. package/lib/components/Breadcrumbs/Breadcrumbs.js +1 -2
  6. package/lib/components/Button/Button.js +2 -2
  7. package/lib/components/Buttons/EditPageButton.js +1 -2
  8. package/lib/components/Buttons/EmailButton.js +1 -2
  9. package/lib/components/Buttons/NewTabButton.js +1 -2
  10. package/lib/components/Catalog/Catalog.d.ts +1 -1
  11. package/lib/components/Catalog/Catalog.js +1 -1
  12. package/lib/components/Catalog/CatalogActions.js +1 -2
  13. package/lib/components/Catalog/CatalogCard.js +1 -2
  14. package/lib/components/Catalog/CatalogHighlight.js +2 -2
  15. package/lib/components/Catalog/CatalogInfoBlock.js +1 -2
  16. package/lib/components/CodeBlock/CodeBlock.js +1 -2
  17. package/lib/components/CodeBlock/CodeBlockContainer.js +1 -2
  18. package/lib/components/CodeBlock/CodeBlockControls.js +1 -2
  19. package/lib/components/CodeBlock/CodeBlockTabs.js +1 -2
  20. package/lib/components/ColorModeSwitcher/ColorModeIcon.js +1 -2
  21. package/lib/components/ColorModeSwitcher/ColorModeSwitcher.js +1 -2
  22. package/lib/components/Dropdown/Dropdown.js +1 -2
  23. package/lib/components/Dropdown/DropdownMenu.js +1 -2
  24. package/lib/components/Dropdown/DropdownMenuItem.js +1 -2
  25. package/lib/components/Feedback/Comment.js +1 -2
  26. package/lib/components/Feedback/Feedback.js +1 -2
  27. package/lib/components/Feedback/Mood.js +2 -2
  28. package/lib/components/Feedback/Rating.js +2 -2
  29. package/lib/components/Feedback/Reasons.js +1 -2
  30. package/lib/components/Feedback/ReportDialog.js +1 -2
  31. package/lib/components/Feedback/Scale.js +2 -2
  32. package/lib/components/Feedback/Sentiment.js +1 -2
  33. package/lib/components/Feedback/Stars.js +1 -2
  34. package/lib/components/Filter/Filter.js +1 -2
  35. package/lib/components/Filter/FilterCheckboxes.js +1 -2
  36. package/lib/components/Filter/FilterContent.js +1 -2
  37. package/lib/components/Filter/FilterDateRange.js +1 -2
  38. package/lib/components/Filter/FilterInput.js +1 -2
  39. package/lib/components/Filter/FilterOption.js +1 -2
  40. package/lib/components/Filter/FilterOptionLabel.js +1 -2
  41. package/lib/components/Filter/FilterOptions.js +1 -2
  42. package/lib/components/Filter/FilterPopover.js +1 -2
  43. package/lib/components/Filter/FilterSelect.js +1 -2
  44. package/lib/components/Filter/FilterTitle.js +1 -2
  45. package/lib/components/Footer/Footer.js +1 -2
  46. package/lib/components/Footer/FooterColumn.js +1 -2
  47. package/lib/components/Footer/FooterCopyright.js +1 -2
  48. package/lib/components/Footer/FooterItem.js +1 -2
  49. package/lib/components/Footer/FooterLogo.js +1 -2
  50. package/lib/components/Image/Image.js +1 -2
  51. package/lib/components/JsonViewer/helpers.js +1 -2
  52. package/lib/components/LanguagePicker/LanguagePicker.js +1 -2
  53. package/lib/components/LastUpdated/LastUpdated.js +1 -2
  54. package/lib/components/Link/Link.js +1 -2
  55. package/lib/components/Loaders/Loading.js +1 -2
  56. package/lib/components/Loaders/SpinnerLoader.js +1 -2
  57. package/lib/components/Logo/Logo.js +1 -2
  58. package/lib/components/Markdown/Markdown.d.ts +1 -9
  59. package/lib/components/Markdown/styles/headingAnchor.js +1 -2
  60. package/lib/components/Menu/Menu.js +1 -2
  61. package/lib/components/Menu/MenuContainer.js +1 -2
  62. package/lib/components/Menu/MenuItem.js +1 -2
  63. package/lib/components/Menu/MenuMobile.js +1 -2
  64. package/lib/components/Navbar/Navbar.js +1 -2
  65. package/lib/components/Navbar/NavbarItem.js +1 -2
  66. package/lib/components/Navbar/NavbarLogo.js +1 -2
  67. package/lib/components/Navbar/NavbarMenu.js +1 -2
  68. package/lib/components/PageNavigation/NextButton.js +1 -2
  69. package/lib/components/PageNavigation/PageNavigation.js +1 -2
  70. package/lib/components/PageNavigation/PreviousButton.js +1 -2
  71. package/lib/components/Panel/Panel.js +1 -2
  72. package/lib/components/Portal/Portal.js +1 -2
  73. package/lib/components/Product/Product.js +1 -2
  74. package/lib/components/Product/ProductPicker.js +1 -2
  75. package/lib/components/Search/FilterFields/SearchFilterFieldSelect.js +1 -2
  76. package/lib/components/Search/FilterFields/SearchFilterFieldTags.js +1 -2
  77. package/lib/components/Search/Search.js +1 -2
  78. package/lib/components/Search/SearchDialog.js +1 -2
  79. package/lib/components/Search/SearchFilter.js +1 -2
  80. package/lib/components/Search/SearchFilterField.js +1 -2
  81. package/lib/components/Search/SearchGroups.js +1 -2
  82. package/lib/components/Search/SearchHighlight.js +1 -2
  83. package/lib/components/Search/SearchInput.js +1 -2
  84. package/lib/components/Search/SearchItem.js +1 -2
  85. package/lib/components/Search/SearchRecent.js +1 -2
  86. package/lib/components/Search/SearchShortcut.js +1 -2
  87. package/lib/components/Search/SearchSuggestedPages.js +1 -2
  88. package/lib/components/Search/SearchTrigger.js +1 -2
  89. package/lib/components/Select/Select.d.ts +1 -1
  90. package/lib/components/Select/Select.js +2 -2
  91. package/lib/components/Select/SelectInput.js +2 -2
  92. package/lib/components/Sidebar/Sidebar.js +1 -2
  93. package/lib/components/SidebarActions/styled.d.ts +5 -5
  94. package/lib/components/SidebarLogo/SidebarLogo.js +1 -2
  95. package/lib/components/Switch/Switch.js +1 -2
  96. package/lib/components/TableOfContent/TableOfContent.js +1 -2
  97. package/lib/components/Tag/Tag.js +1 -2
  98. package/lib/components/Tooltip/Tooltip.js +2 -2
  99. package/lib/components/UserMenu/LoginButton.js +1 -2
  100. package/lib/components/UserMenu/LogoutMenuItem.js +1 -2
  101. package/lib/components/UserMenu/UserAvatar.js +1 -2
  102. package/lib/components/UserMenu/UserInfoMenuItem.js +1 -2
  103. package/lib/components/UserMenu/UserMenu.js +1 -2
  104. package/lib/components/UserMenu/UserMenuMobile.js +1 -2
  105. package/lib/components/VersionPicker/VersionPicker.js +2 -2
  106. package/lib/core/contexts/ThemeDataContext.d.ts +0 -1
  107. package/lib/core/hooks/__mocks__/search/use-recent-searches.d.ts +0 -1
  108. package/lib/core/hooks/__mocks__/search/use-search-filter.d.ts +0 -1
  109. package/lib/core/hooks/__mocks__/search/use-suggested-pages.d.ts +0 -1
  110. package/lib/core/hooks/__mocks__/use-controlled-state.d.ts +0 -1
  111. package/lib/core/hooks/__mocks__/use-mobile-menu.d.ts +0 -1
  112. package/lib/core/hooks/__mocks__/use-theme-config.d.ts +0 -1
  113. package/lib/core/hooks/__mocks__/use-theme-hooks.d.ts +0 -1
  114. package/lib/core/hooks/feedback/use-report-dialog.js +1 -2
  115. package/lib/core/hooks/menu/__mocks__/use-mobile-menu-items.d.ts +0 -1
  116. package/lib/core/hooks/menu/use-collapse.d.ts +1 -1
  117. package/lib/core/hooks/menu/use-collapse.js +6 -7
  118. package/lib/core/hooks/menu/use-menu-item-expanded.js +1 -2
  119. package/lib/core/hooks/menu/use-mobile-menu-items.d.ts +2 -2
  120. package/lib/core/hooks/menu/use-nested-menu.js +1 -2
  121. package/lib/core/hooks/search/use-search-dialog.js +1 -2
  122. package/lib/core/hooks/search/use-search-filter.js +1 -2
  123. package/lib/core/hooks/use-active-heading.js +1 -2
  124. package/lib/core/hooks/use-active-section-id.js +1 -2
  125. package/lib/core/hooks/use-codeblock-tabs-controls.js +1 -2
  126. package/lib/core/hooks/use-controlled-state.js +1 -2
  127. package/lib/core/hooks/use-dialog-hotkeys.js +1 -2
  128. package/lib/core/hooks/use-focus-trap.js +1 -2
  129. package/lib/core/hooks/use-full-height.js +1 -2
  130. package/lib/core/hooks/use-language-picker.js +1 -2
  131. package/lib/core/hooks/use-mobile-menu.js +1 -2
  132. package/lib/core/hooks/use-modal-scroll-lock.js +1 -2
  133. package/lib/core/hooks/use-navbar-height.js +1 -2
  134. package/lib/core/hooks/use-outside-click.js +1 -2
  135. package/lib/core/hooks/use-product-picker.js +1 -2
  136. package/lib/core/hooks/use-tabs.d.ts +0 -1
  137. package/lib/core/hooks/use-tabs.js +1 -2
  138. package/lib/core/hooks/use-theme-config.js +1 -2
  139. package/lib/core/templates/Markdown.js +1 -1
  140. package/lib/core/utils/args-typecheck.js +2 -3
  141. package/lib/core/utils/attribute-parser.js +1 -2
  142. package/lib/core/utils/change-text-casing.js +1 -2
  143. package/lib/core/utils/class-names.js +1 -2
  144. package/lib/core/utils/color.js +1 -2
  145. package/lib/core/utils/details.js +1 -2
  146. package/lib/core/utils/dom.js +2 -2
  147. package/lib/core/utils/format-date-without-timezone.js +1 -2
  148. package/lib/core/utils/get-navbar-element.js +1 -2
  149. package/lib/core/utils/highlight.js +3 -4
  150. package/lib/core/utils/is-url.js +1 -2
  151. package/lib/core/utils/js-utils.js +3 -4
  152. package/lib/core/utils/load-and-navigate.js +4 -5
  153. package/lib/core/utils/markdoc.js +1 -2
  154. package/lib/core/utils/menu.js +2 -2
  155. package/lib/core/utils/replace-hash-in-color.js +1 -2
  156. package/lib/core/utils/text-transform.js +1 -2
  157. package/lib/core/utils/text-trimmer.js +1 -2
  158. package/lib/core/utils/theme-helpers.js +3 -4
  159. package/lib/core/utils/toc.js +3 -4
  160. package/lib/core/utils/type-guards.js +5 -5
  161. package/lib/core/utils/urls.js +14 -15
  162. package/lib/core/utils/with-load-progress.js +1 -2
  163. package/lib/icons/AddIcon/AddIcon.d.ts +3 -3
  164. package/lib/icons/ArrowLeftIcon/ArrowLeftIcon.d.ts +3 -3
  165. package/lib/icons/ArrowRightIcon/ArrowRightIcon.d.ts +3 -3
  166. package/lib/icons/ArrowUpRightIcon/ArrowUpRightIcon.d.ts +3 -3
  167. package/lib/icons/BareMetalServerIcon/BareMetalServerIcon.d.ts +3 -3
  168. package/lib/icons/BookmarkAddIcon/BookmarkAddIcon.d.ts +3 -3
  169. package/lib/icons/CharacterIcon/CharacterIcon.d.ts +3 -3
  170. package/lib/icons/CheckboxIcon/CheckboxIcon.d.ts +3 -3
  171. package/lib/icons/CheckmarkFilledIcon/CheckmarkFilledIcon.d.ts +3 -3
  172. package/lib/icons/CheckmarkIcon/CheckmarkIcon.d.ts +3 -3
  173. package/lib/icons/ChevronDownIcon/ChevronDownIcon.d.ts +3 -3
  174. package/lib/icons/ChevronLeftIcon/ChevronLeftIcon.d.ts +3 -3
  175. package/lib/icons/ChevronRightIcon/ChevronRightIcon.d.ts +3 -3
  176. package/lib/icons/ChevronUpIcon/ChevronUpIcon.d.ts +3 -3
  177. package/lib/icons/CircleDashIcon/CircleDashIcon.d.ts +3 -3
  178. package/lib/icons/CleanIcon/CleanIcon.d.ts +3 -3
  179. package/lib/icons/CloseFilledIcon/CloseFilledIcon.d.ts +3 -3
  180. package/lib/icons/CloseIcon/CloseIcon.d.ts +3 -3
  181. package/lib/icons/CloseOutlineIcon/CloseOutlineIcon.d.ts +3 -3
  182. package/lib/icons/CloudUploadIcon/CloudUploadIcon.d.ts +3 -3
  183. package/lib/icons/CodeIcon/CodeIcon.d.ts +3 -3
  184. package/lib/icons/ContrastIcon/ContrastIcon.d.ts +3 -3
  185. package/lib/icons/CookieIcon/CookieIcon.d.ts +3 -3
  186. package/lib/icons/CopyIcon/CopyIcon.d.ts +3 -3
  187. package/lib/icons/CopyLinkIcon/CopyLinkIcon.d.ts +3 -3
  188. package/lib/icons/DataFormatIcon/DataFormatIcon.d.ts +3 -3
  189. package/lib/icons/DatabaseIcon/DatabaseIcon.d.ts +3 -3
  190. package/lib/icons/DocumentAddIcon/DocumentAddIcon.d.ts +3 -3
  191. package/lib/icons/DocumentBlankIcon/DocumentBlankIcon.d.ts +3 -3
  192. package/lib/icons/DocumentIcon/DocumentIcon.d.ts +3 -3
  193. package/lib/icons/DownloadIcon/DownloadIcon.d.ts +3 -3
  194. package/lib/icons/EditIcon/EditIcon.d.ts +3 -3
  195. package/lib/icons/EmailIcon/EmailIcon.d.ts +3 -3
  196. package/lib/icons/ErrorIcon/ErrorIcon.d.ts +3 -3
  197. package/lib/icons/ExportIcon/ExportIcon.d.ts +3 -3
  198. package/lib/icons/FaceDissatisfiedIcon/FaceDissatisfiedIcon.d.ts +3 -3
  199. package/lib/icons/FaceNeutralIcon/FaceNeutralIcon.d.ts +3 -3
  200. package/lib/icons/FaceSatisfiedIcon/FaceSatisfiedIcon.d.ts +3 -3
  201. package/lib/icons/FileIcon/FileIcon.d.ts +3 -3
  202. package/lib/icons/FileStorageIcon/FileStorageIcon.d.ts +3 -3
  203. package/lib/icons/FilterIcon/FilterIcon.d.ts +3 -3
  204. package/lib/icons/FolderAddIcon/FolderAddIcon.d.ts +3 -3
  205. package/lib/icons/FolderIcon/FolderIcon.d.ts +3 -3
  206. package/lib/icons/FolderMoveToIcon/FolderMoveToIcon.d.ts +3 -3
  207. package/lib/icons/GlobalOutlinedIcon/GlobalOutlinedIcon.d.ts +3 -3
  208. package/lib/icons/GridIcon/GridIcon.d.ts +3 -3
  209. package/lib/icons/HorizontalViewIcon/HorizontalViewIcon.d.ts +3 -3
  210. package/lib/icons/IBMCloudHyperProtectCryptoServicesIcon/IBMCloudHyperProtectCryptoServicesIcon.d.ts +3 -3
  211. package/lib/icons/InformationFilledIcon/InformationFilledIcon.d.ts +3 -3
  212. package/lib/icons/InformationIcon/InformationIcon.d.ts +3 -3
  213. package/lib/icons/JsonIcon/JsonIcon.d.ts +3 -3
  214. package/lib/icons/LaunchIcon/LaunchIcon.d.ts +3 -3
  215. package/lib/icons/LinkIcon/LinkIcon.d.ts +3 -3
  216. package/lib/icons/LogoutIcon/LogoutIcon.d.ts +3 -3
  217. package/lib/icons/MaximizeIcon/MaximizeIcon.d.ts +3 -3
  218. package/lib/icons/MenuIcon/MenuIcon.d.ts +3 -3
  219. package/lib/icons/MinimizeIcon/MinimizeIcon.d.ts +3 -3
  220. package/lib/icons/MobileSidebarIcon/MobileSidebarIcon.d.ts +3 -3
  221. package/lib/icons/MoonIcon/MoonIcon.d.ts +3 -3
  222. package/lib/icons/OverflowMenuHorizontalIcon/OverflowMenuHorizontalIcon.d.ts +3 -3
  223. package/lib/icons/OverflowMenuVerticalIcon/OverflowMenuVerticalIcon.d.ts +3 -3
  224. package/lib/icons/PlusCustomIcon/PlusCustomIcon.d.ts +3 -3
  225. package/lib/icons/RecentlyViewedIcon/RecentlyViewedIcon.d.ts +3 -3
  226. package/lib/icons/RenewIcon/RenewIcon.d.ts +3 -3
  227. package/lib/icons/ResetIcon/ResetIcon.d.ts +3 -3
  228. package/lib/icons/RestartIcon/RestartIcon.d.ts +3 -3
  229. package/lib/icons/RocketIcon/RocketIcon.d.ts +3 -3
  230. package/lib/icons/SaveIcon/SaveIcon.d.ts +3 -3
  231. package/lib/icons/SearchIcon/SearchIcon.d.ts +3 -3
  232. package/lib/icons/SecurityIcon/SecurityIcon.d.ts +3 -3
  233. package/lib/icons/SettingsIcon/SettingsIcon.d.ts +3 -3
  234. package/lib/icons/SidePanelCloseIcon/SidePanelCloseIcon.d.ts +3 -3
  235. package/lib/icons/SidePanelOpenIcon/SidePanelOpenIcon.d.ts +3 -3
  236. package/lib/icons/Spinner/Spinner.d.ts +3 -4
  237. package/lib/icons/StarFilledIcon/StarFilledIcon.d.ts +3 -3
  238. package/lib/icons/StarIcon/StarIcon.d.ts +3 -3
  239. package/lib/icons/SubtractIcon/SubtractIcon.d.ts +3 -3
  240. package/lib/icons/SunIcon/SunIcon.d.ts +3 -3
  241. package/lib/icons/TableBuiltIcon/TableBuiltIcon.d.ts +3 -3
  242. package/lib/icons/TimeIcon/TimeIcon.d.ts +3 -3
  243. package/lib/icons/TrashCanIcon/TrashCanIcon.d.ts +3 -3
  244. package/lib/icons/UserIcon/UserIcon.d.ts +3 -3
  245. package/lib/icons/ValueVariableIcon/ValueVariableIcon.d.ts +3 -3
  246. package/lib/icons/VerticalViewIcon/VerticalViewIcon.d.ts +3 -3
  247. package/lib/icons/ViewIcon/ViewIcon.d.ts +3 -3
  248. package/lib/icons/ViewOffIcon/ViewOffIcon.d.ts +3 -3
  249. package/lib/icons/WarningAltIcon/WarningAltIcon.d.ts +3 -3
  250. package/lib/icons/WarningFilledIcon/WarningFilledIcon.d.ts +3 -3
  251. package/lib/icons/WarningSquareIcon/WarningSquareIcon.d.ts +3 -3
  252. package/lib/layouts/DocumentationLayout.js +1 -2
  253. package/lib/layouts/Forbidden.js +1 -2
  254. package/lib/layouts/NotFound.js +1 -2
  255. package/lib/layouts/OIDCForbidden.js +1 -2
  256. package/lib/layouts/PageLayout.js +1 -2
  257. package/lib/layouts/RootLayout.js +1 -2
  258. package/lib/layouts/ThreePanelLayout.js +1 -2
  259. package/lib/markdoc/components/Admonition/Admonition.js +1 -2
  260. package/lib/markdoc/components/Cards/Card.js +1 -2
  261. package/lib/markdoc/components/Cards/CardIcon.js +1 -2
  262. package/lib/markdoc/components/Cards/CardImage.js +1 -2
  263. package/lib/markdoc/components/Cards/Cards.js +1 -2
  264. package/lib/markdoc/components/CodeBlock/CodeBlock.js +1 -2
  265. package/lib/markdoc/components/Heading/Heading.js +1 -2
  266. package/lib/markdoc/components/HtmlBlock/HtmlBlock.js +1 -2
  267. package/lib/markdoc/components/InlineSvg/InlineSvg.js +1 -2
  268. package/lib/markdoc/components/MarkdocExample/MarkdocExample.js +1 -2
  269. package/lib/markdoc/components/Mermaid/Mermaid.js +1 -2
  270. package/lib/markdoc/components/Tabs/Tab.js +2 -2
  271. package/lib/markdoc/components/Tabs/Tabs.js +2 -2
  272. package/lib/markdoc/default.d.ts +2 -2
  273. package/lib/plugin.js +1 -1
  274. package/package.json +6 -6
@@ -1,8 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.isTag = void 0;
3
+ exports.isTag = isTag;
4
4
  function isTag(value) {
5
5
  return !!((value === null || value === void 0 ? void 0 : value.$$mdtype) === 'Tag');
6
6
  }
7
- exports.isTag = isTag;
8
7
  //# sourceMappingURL=markdoc.js.map
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getMenuItemType = exports.buildVersionSection = exports.buildLanguagesGroup = exports.isItemActive = exports.mapNavbarItems = void 0;
3
+ exports.buildVersionSection = exports.buildLanguagesGroup = exports.isItemActive = exports.mapNavbarItems = void 0;
4
+ exports.getMenuItemType = getMenuItemType;
4
5
  const urls_1 = require("../../core/utils/urls");
5
6
  const utils_1 = require("../../core/utils");
6
7
  const constants_1 = require("../../core/constants");
@@ -91,5 +92,4 @@ function getMenuItemType(item) {
91
92
  else
92
93
  return constants_1.MenuItemType.Default;
93
94
  }
94
- exports.getMenuItemType = getMenuItemType;
95
95
  //# sourceMappingURL=menu.js.map
@@ -1,8 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.replaceHashInColor = void 0;
3
+ exports.replaceHashInColor = replaceHashInColor;
4
4
  function replaceHashInColor(color) {
5
5
  return color.replace('#', '%23');
6
6
  }
7
- exports.replaceHashInColor = replaceHashInColor;
8
7
  //# sourceMappingURL=replace-hash-in-color.js.map
@@ -1,8 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.capitalize = void 0;
3
+ exports.capitalize = capitalize;
4
4
  function capitalize(input) {
5
5
  return input.charAt(0).toUpperCase() + input.slice(1);
6
6
  }
7
- exports.capitalize = capitalize;
8
7
  //# sourceMappingURL=text-transform.js.map
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.trimText = void 0;
3
+ exports.trimText = trimText;
4
4
  function trimText(text, maxLength = 150) {
5
5
  if (typeof text === 'string') {
6
6
  if (text.length <= maxLength) {
@@ -12,5 +12,4 @@ function trimText(text, maxLength = 150) {
12
12
  else
13
13
  return text;
14
14
  }
15
- exports.trimText = trimText;
16
15
  //# sourceMappingURL=text-trimmer.js.map
@@ -1,6 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.generateCodeBlockTokens = exports.typography = exports.getTypographyCssRulesByComponentName = void 0;
3
+ exports.getTypographyCssRulesByComponentName = getTypographyCssRulesByComponentName;
4
+ exports.typography = typography;
5
+ exports.generateCodeBlockTokens = generateCodeBlockTokens;
4
6
  const styled_components_1 = require("styled-components");
5
7
  var Token;
6
8
  (function (Token) {
@@ -53,13 +55,11 @@ function getTypographyCssRulesByComponentName(componentName, fallbackName) {
53
55
  }
54
56
  return result;
55
57
  }
56
- exports.getTypographyCssRulesByComponentName = getTypographyCssRulesByComponentName;
57
58
  function typography(componentName, fallbackName) {
58
59
  return (0, styled_components_1.css) `
59
60
  ${getTypographyCssRulesByComponentName(componentName, fallbackName)}
60
61
  `;
61
62
  }
62
- exports.typography = typography;
63
63
  function generateCodeBlockTokens() {
64
64
  let res = '';
65
65
  for (const token of Object.values(Token)) {
@@ -73,5 +73,4 @@ function generateCodeBlockTokens() {
73
73
  ${res}
74
74
  `;
75
75
  }
76
- exports.generateCodeBlockTokens = generateCodeBlockTokens;
77
76
  //# sourceMappingURL=theme-helpers.js.map
@@ -1,6 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getLeastDepth = exports.getDisplayedHeadingsIds = exports.getDisplayedHeadings = void 0;
3
+ exports.getDisplayedHeadings = getDisplayedHeadings;
4
+ exports.getDisplayedHeadingsIds = getDisplayedHeadingsIds;
5
+ exports.getLeastDepth = getLeastDepth;
4
6
  function getDisplayedHeadings(headings, tocDepth) {
5
7
  if (!headings) {
6
8
  return [];
@@ -15,14 +17,12 @@ function getDisplayedHeadings(headings, tocDepth) {
15
17
  return !(heading.depth && heading.depth > tocDepth);
16
18
  });
17
19
  }
18
- exports.getDisplayedHeadings = getDisplayedHeadings;
19
20
  function getDisplayedHeadingsIds(headings) {
20
21
  if (!headings) {
21
22
  return [];
22
23
  }
23
24
  return headings.map((header) => header === null || header === void 0 ? void 0 : header.id);
24
25
  }
25
- exports.getDisplayedHeadingsIds = getDisplayedHeadingsIds;
26
26
  function getLeastDepth(headings) {
27
27
  if (!headings || headings.length === 0) {
28
28
  return 1;
@@ -37,5 +37,4 @@ function getLeastDepth(headings) {
37
37
  }
38
38
  return depth !== null && depth !== void 0 ? depth : 1;
39
39
  }
40
- exports.getLeastDepth = getLeastDepth;
41
40
  //# sourceMappingURL=toc.js.map
@@ -1,22 +1,22 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.isObject = exports.isNotNull = exports.isString = exports.isNull = exports.isUndefined = void 0;
3
+ exports.isObject = void 0;
4
+ exports.isUndefined = isUndefined;
5
+ exports.isNull = isNull;
6
+ exports.isString = isString;
7
+ exports.isNotNull = isNotNull;
4
8
  function isUndefined(value) {
5
9
  return value === undefined;
6
10
  }
7
- exports.isUndefined = isUndefined;
8
11
  function isNull(value) {
9
12
  return value === null;
10
13
  }
11
- exports.isNull = isNull;
12
14
  function isString(value) {
13
15
  return typeof value === 'string';
14
16
  }
15
- exports.isString = isString;
16
17
  function isNotNull(value) {
17
18
  return !isNull(value);
18
19
  }
19
- exports.isNotNull = isNotNull;
20
20
  const isObject = (item) => {
21
21
  return isNotNull(item) && typeof item === 'object';
22
22
  };
@@ -1,6 +1,19 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getLocaleFromPathname = exports.getPathnameForLocale = exports.addTrailingSlash = exports.slash = exports.isPathInFolder = exports.removeLeadingSlash = exports.removeTrailingSlash = exports.addLeadingSlash = exports.normalizePathPrefix = exports.getPathPrefix = exports.withoutHash = exports.withoutPathPrefix = exports.withPathPrefix = exports.combineUrls = void 0;
3
+ exports.combineUrls = combineUrls;
4
+ exports.withPathPrefix = withPathPrefix;
5
+ exports.withoutPathPrefix = withoutPathPrefix;
6
+ exports.withoutHash = withoutHash;
7
+ exports.getPathPrefix = getPathPrefix;
8
+ exports.normalizePathPrefix = normalizePathPrefix;
9
+ exports.addLeadingSlash = addLeadingSlash;
10
+ exports.removeTrailingSlash = removeTrailingSlash;
11
+ exports.removeLeadingSlash = removeLeadingSlash;
12
+ exports.isPathInFolder = isPathInFolder;
13
+ exports.slash = slash;
14
+ exports.addTrailingSlash = addTrailingSlash;
15
+ exports.getPathnameForLocale = getPathnameForLocale;
16
+ exports.getLocaleFromPathname = getLocaleFromPathname;
4
17
  const constants_1 = require("../../core/constants");
5
18
  function combineUrls(baseURL, ...relativeURLs) {
6
19
  let res = baseURL;
@@ -11,54 +24,44 @@ function combineUrls(baseURL, ...relativeURLs) {
11
24
  }
12
25
  return res;
13
26
  }
14
- exports.combineUrls = combineUrls;
15
27
  function withPathPrefix(url) {
16
28
  return combineUrls(getPathPrefix(), url);
17
29
  }
18
- exports.withPathPrefix = withPathPrefix;
19
30
  function withoutPathPrefix(pathname) {
20
31
  const pathPrefix = getPathPrefix();
21
32
  return pathPrefix && pathname.startsWith(pathPrefix)
22
33
  ? pathname.slice(pathPrefix.length)
23
34
  : pathname;
24
35
  }
25
- exports.withoutPathPrefix = withoutPathPrefix;
26
36
  function withoutHash(url) {
27
37
  if (url == null)
28
38
  return undefined;
29
39
  return url.split('#')[0];
30
40
  }
31
- exports.withoutHash = withoutHash;
32
41
  function getPathPrefix() {
33
42
  if (process.env.REDOCLY_PREFIX_PATHS) {
34
43
  return normalizePathPrefix(process.env.REDOCLY_PREFIX_PATHS);
35
44
  }
36
45
  return '';
37
46
  }
38
- exports.getPathPrefix = getPathPrefix;
39
47
  function normalizePathPrefix(prefix) {
40
48
  const withoutTrailing = removeTrailingSlash(prefix);
41
49
  return addLeadingSlash(withoutTrailing === '.' ? '' : withoutTrailing);
42
50
  }
43
- exports.normalizePathPrefix = normalizePathPrefix;
44
51
  function addLeadingSlash(url) {
45
52
  return url.startsWith('/') ? url : `/${url}`;
46
53
  }
47
- exports.addLeadingSlash = addLeadingSlash;
48
54
  function removeTrailingSlash(url) {
49
55
  return url.endsWith('/') ? url.substring(0, url.length - 1) : url;
50
56
  }
51
- exports.removeTrailingSlash = removeTrailingSlash;
52
57
  function removeLeadingSlash(url) {
53
58
  return url.startsWith('/') ? url.substring(1) : url;
54
59
  }
55
- exports.removeLeadingSlash = removeLeadingSlash;
56
60
  function isPathInFolder(child, parent) {
57
61
  parent = removeTrailingSlash(removeLeadingSlash(slash(parent)));
58
62
  child = removeTrailingSlash(removeLeadingSlash(slash(child)));
59
63
  return child === parent || child.startsWith(parent + '/');
60
64
  }
61
- exports.isPathInFolder = isPathInFolder;
62
65
  /**
63
66
  * Convert Windows backslash paths to slash paths: foo\\bar ➔ foo/bar
64
67
  *
@@ -72,11 +75,9 @@ function slash(path) {
72
75
  }
73
76
  return path.replace(/\\/g, `/`);
74
77
  }
75
- exports.slash = slash;
76
78
  function addTrailingSlash(url) {
77
79
  return url.endsWith('/') ? url : `${url}/`;
78
80
  }
79
- exports.addTrailingSlash = addTrailingSlash;
80
81
  /**
81
82
  * Adds locale to pathname, or replaces current locale in pathname with a new one
82
83
  * Also handles path prefix
@@ -93,12 +94,10 @@ function getPathnameForLocale(originalPathname, defaultLocale, newLocale, allLoc
93
94
  const newLocalePrefix = newLocale === defaultLocale ? '' : '/' + newLocale;
94
95
  return `${newLocalePrefix.toLowerCase()}${pathnameWithoutLocale}`;
95
96
  }
96
- exports.getPathnameForLocale = getPathnameForLocale;
97
97
  function getLocaleFromPathname(pathname, defaultLocale = constants_1.DEFAULT_LOCALE_PLACEHOLDER, allLocales = []) {
98
98
  var _a;
99
99
  const maybeLocale = (_a = withoutPathPrefix(pathname)) === null || _a === void 0 ? void 0 : _a.split('/')[1];
100
100
  const locale = allLocales.find((locale) => locale.code.toLowerCase() === maybeLocale);
101
101
  return (locale === null || locale === void 0 ? void 0 : locale.code) || defaultLocale;
102
102
  }
103
- exports.getLocaleFromPathname = getLocaleFromPathname;
104
103
  //# sourceMappingURL=urls.js.map
@@ -12,7 +12,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
12
12
  return (mod && mod.__esModule) ? mod : { "default": mod };
13
13
  };
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
- exports.withLoadProgress = void 0;
15
+ exports.withLoadProgress = withLoadProgress;
16
16
  const nprogress_1 = __importDefault(require("nprogress"));
17
17
  nprogress_1.default.configure({
18
18
  trickleSpeed: 100,
@@ -35,5 +35,4 @@ function withLoadProgress(loadTarget) {
35
35
  });
36
36
  });
37
37
  }
38
- exports.withLoadProgress = withLoadProgress;
39
38
  //# sourceMappingURL=with-load-progress.js.map
@@ -3,7 +3,7 @@ import type { IconProps } from '../../icons/types';
3
3
  export declare const AddIcon: import("styled-components").StyledComponent<(props: IconProps) => React.JSX.Element, any, {
4
4
  'data-component-name': string;
5
5
  } & {
6
- color?: string | undefined;
7
- size?: string | undefined;
8
- className?: string | undefined;
6
+ color?: string;
7
+ size?: string;
8
+ className?: string;
9
9
  } & React.SVGProps<SVGSVGElement>, "data-component-name">;
@@ -3,7 +3,7 @@ import type { IconProps } from '../../icons/types';
3
3
  export declare const ArrowLeftIcon: import("styled-components").StyledComponent<(props: IconProps) => React.JSX.Element, any, {
4
4
  'data-component-name': string;
5
5
  } & {
6
- color?: string | undefined;
7
- size?: string | undefined;
8
- className?: string | undefined;
6
+ color?: string;
7
+ size?: string;
8
+ className?: string;
9
9
  } & React.SVGProps<SVGSVGElement>, "data-component-name">;
@@ -3,7 +3,7 @@ import type { IconProps } from '../../icons/types';
3
3
  export declare const ArrowRightIcon: import("styled-components").StyledComponent<(props: IconProps) => React.JSX.Element, any, {
4
4
  'data-component-name': string;
5
5
  } & {
6
- color?: string | undefined;
7
- size?: string | undefined;
8
- className?: string | undefined;
6
+ color?: string;
7
+ size?: string;
8
+ className?: string;
9
9
  } & React.SVGProps<SVGSVGElement>, "data-component-name">;
@@ -3,7 +3,7 @@ import type { IconProps } from '../../icons/types';
3
3
  export declare const ArrowUpRightIcon: import("styled-components").StyledComponent<(props: IconProps) => React.JSX.Element, any, {
4
4
  'data-component-name': string;
5
5
  } & {
6
- color?: string | undefined;
7
- size?: string | undefined;
8
- className?: string | undefined;
6
+ color?: string;
7
+ size?: string;
8
+ className?: string;
9
9
  } & React.SVGProps<SVGSVGElement>, "data-component-name">;
@@ -3,7 +3,7 @@ import type { IconProps } from '../../icons/types';
3
3
  export declare const BareMetalServerIcon: import("styled-components").StyledComponent<(props: IconProps) => React.JSX.Element, any, {
4
4
  'data-component-name': string;
5
5
  } & {
6
- color?: string | undefined;
7
- size?: string | undefined;
8
- className?: string | undefined;
6
+ color?: string;
7
+ size?: string;
8
+ className?: string;
9
9
  } & React.SVGProps<SVGSVGElement>, "data-component-name">;
@@ -3,7 +3,7 @@ import type { IconProps } from '../../icons/types';
3
3
  export declare const BookmarkAddIcon: import("styled-components").StyledComponent<(props: IconProps) => React.JSX.Element, any, {
4
4
  'data-component-name': string;
5
5
  } & {
6
- color?: string | undefined;
7
- size?: string | undefined;
8
- className?: string | undefined;
6
+ color?: string;
7
+ size?: string;
8
+ className?: string;
9
9
  } & React.SVGProps<SVGSVGElement>, "data-component-name">;
@@ -3,7 +3,7 @@ import type { IconProps } from '../../icons/types';
3
3
  export declare const CharacterIcon: import("styled-components").StyledComponent<(props: IconProps) => React.JSX.Element, any, {
4
4
  'data-component-name': string;
5
5
  } & {
6
- color?: string | undefined;
7
- size?: string | undefined;
8
- className?: string | undefined;
6
+ color?: string;
7
+ size?: string;
8
+ className?: string;
9
9
  } & React.SVGProps<SVGSVGElement>, "data-component-name">;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  export declare const CheckboxIcon: import("styled-components").StyledComponent<({ className, checked, onClick, }: {
3
- className?: string | undefined;
4
- checked?: boolean | undefined;
5
- onClick?: (() => void) | undefined;
3
+ className?: string;
4
+ checked?: boolean;
5
+ onClick?: () => void;
6
6
  }) => React.JSX.Element, any, {}, never>;
@@ -3,7 +3,7 @@ import type { IconProps } from '../../icons/types';
3
3
  export declare const CheckmarkFilledIcon: import("styled-components").StyledComponent<(props: IconProps) => React.JSX.Element, any, {
4
4
  'data-component-name': string;
5
5
  } & {
6
- color?: string | undefined;
7
- size?: string | undefined;
8
- className?: string | undefined;
6
+ color?: string;
7
+ size?: string;
8
+ className?: string;
9
9
  } & React.SVGProps<SVGSVGElement>, "data-component-name">;
@@ -3,7 +3,7 @@ import type { IconProps } from '../../icons/types';
3
3
  export declare const CheckmarkIcon: import("styled-components").StyledComponent<(props: IconProps) => React.JSX.Element, any, {
4
4
  'data-component-name': string;
5
5
  } & {
6
- color?: string | undefined;
7
- size?: string | undefined;
8
- className?: string | undefined;
6
+ color?: string;
7
+ size?: string;
8
+ className?: string;
9
9
  } & React.SVGProps<SVGSVGElement>, "data-component-name">;
@@ -3,7 +3,7 @@ import type { IconProps } from '../../icons/types';
3
3
  export declare const ChevronDownIcon: import("styled-components").StyledComponent<(props: IconProps) => React.JSX.Element, any, {
4
4
  'data-component-name': string;
5
5
  } & {
6
- color?: string | undefined;
7
- size?: string | undefined;
8
- className?: string | undefined;
6
+ color?: string;
7
+ size?: string;
8
+ className?: string;
9
9
  } & React.SVGProps<SVGSVGElement>, "data-component-name">;
@@ -3,7 +3,7 @@ import type { IconProps } from '../../icons/types';
3
3
  export declare const ChevronLeftIcon: import("styled-components").StyledComponent<(props: IconProps) => React.JSX.Element, any, {
4
4
  'data-component-name': string;
5
5
  } & {
6
- color?: string | undefined;
7
- size?: string | undefined;
8
- className?: string | undefined;
6
+ color?: string;
7
+ size?: string;
8
+ className?: string;
9
9
  } & React.SVGProps<SVGSVGElement>, "data-component-name">;
@@ -3,7 +3,7 @@ import type { IconProps } from '../../icons/types';
3
3
  export declare const ChevronRightIcon: import("styled-components").StyledComponent<(props: IconProps) => React.JSX.Element, any, {
4
4
  'data-component-name': string;
5
5
  } & {
6
- color?: string | undefined;
7
- size?: string | undefined;
8
- className?: string | undefined;
6
+ color?: string;
7
+ size?: string;
8
+ className?: string;
9
9
  } & React.SVGProps<SVGSVGElement>, "data-component-name">;
@@ -3,7 +3,7 @@ import type { IconProps } from '../../icons/types';
3
3
  export declare const ChevronUpIcon: import("styled-components").StyledComponent<(props: IconProps) => React.JSX.Element, any, {
4
4
  'data-component-name': string;
5
5
  } & {
6
- color?: string | undefined;
7
- size?: string | undefined;
8
- className?: string | undefined;
6
+ color?: string;
7
+ size?: string;
8
+ className?: string;
9
9
  } & React.SVGProps<SVGSVGElement>, "data-component-name">;
@@ -3,7 +3,7 @@ import type { IconProps } from '../../icons/types';
3
3
  export declare const CircleDashIcon: import("styled-components").StyledComponent<(props: IconProps) => React.JSX.Element, any, {
4
4
  'data-component-name': string;
5
5
  } & {
6
- color?: string | undefined;
7
- size?: string | undefined;
8
- className?: string | undefined;
6
+ color?: string;
7
+ size?: string;
8
+ className?: string;
9
9
  } & React.SVGProps<SVGSVGElement>, "data-component-name">;
@@ -3,7 +3,7 @@ import type { IconProps } from '../../icons/types';
3
3
  export declare const CleanIcon: import("styled-components").StyledComponent<(props: IconProps) => React.JSX.Element, any, {
4
4
  'data-component-name': string;
5
5
  } & {
6
- color?: string | undefined;
7
- size?: string | undefined;
8
- className?: string | undefined;
6
+ color?: string;
7
+ size?: string;
8
+ className?: string;
9
9
  } & React.SVGProps<SVGSVGElement>, "data-component-name">;
@@ -3,7 +3,7 @@ import type { IconProps } from '../../icons/types';
3
3
  export declare const CloseFilledIcon: import("styled-components").StyledComponent<(props: IconProps) => React.JSX.Element, any, {
4
4
  'data-component-name': string;
5
5
  } & {
6
- color?: string | undefined;
7
- size?: string | undefined;
8
- className?: string | undefined;
6
+ color?: string;
7
+ size?: string;
8
+ className?: string;
9
9
  } & React.SVGProps<SVGSVGElement>, "data-component-name">;
@@ -3,7 +3,7 @@ import type { IconProps } from '../../icons/types';
3
3
  export declare const CloseIcon: import("styled-components").StyledComponent<(props: IconProps) => React.JSX.Element, any, {
4
4
  'data-component-name': string;
5
5
  } & {
6
- color?: string | undefined;
7
- size?: string | undefined;
8
- className?: string | undefined;
6
+ color?: string;
7
+ size?: string;
8
+ className?: string;
9
9
  } & React.SVGProps<SVGSVGElement>, "data-component-name">;
@@ -3,7 +3,7 @@ import type { IconProps } from '../../icons/types';
3
3
  export declare const CloseOutlineIcon: import("styled-components").StyledComponent<(props: IconProps) => React.JSX.Element, any, {
4
4
  'data-component-name': string;
5
5
  } & {
6
- color?: string | undefined;
7
- size?: string | undefined;
8
- className?: string | undefined;
6
+ color?: string;
7
+ size?: string;
8
+ className?: string;
9
9
  } & React.SVGProps<SVGSVGElement>, "data-component-name">;
@@ -3,7 +3,7 @@ import type { IconProps } from '../../icons/types';
3
3
  export declare const CloudUploadIcon: import("styled-components").StyledComponent<(props: IconProps) => React.JSX.Element, any, {
4
4
  'data-component-name': string;
5
5
  } & {
6
- color?: string | undefined;
7
- size?: string | undefined;
8
- className?: string | undefined;
6
+ color?: string;
7
+ size?: string;
8
+ className?: string;
9
9
  } & React.SVGProps<SVGSVGElement>, "data-component-name">;
@@ -3,7 +3,7 @@ import type { IconProps } from '../../icons/types';
3
3
  export declare const CodeIcon: import("styled-components").StyledComponent<(props: IconProps) => React.JSX.Element, any, {
4
4
  'data-component-name': string;
5
5
  } & {
6
- color?: string | undefined;
7
- size?: string | undefined;
8
- className?: string | undefined;
6
+ color?: string;
7
+ size?: string;
8
+ className?: string;
9
9
  } & React.SVGProps<SVGSVGElement>, "data-component-name">;
@@ -3,7 +3,7 @@ import type { IconProps } from '../../icons/types';
3
3
  export declare const ContrastIcon: import("styled-components").StyledComponent<(props: IconProps) => React.JSX.Element, any, {
4
4
  'data-component-name': string;
5
5
  } & {
6
- color?: string | undefined;
7
- size?: string | undefined;
8
- className?: string | undefined;
6
+ color?: string;
7
+ size?: string;
8
+ className?: string;
9
9
  } & React.SVGProps<SVGSVGElement>, "data-component-name">;
@@ -3,7 +3,7 @@ import type { IconProps } from '../../icons/types';
3
3
  export declare const CookieIcon: import("styled-components").StyledComponent<(props: IconProps) => React.JSX.Element, any, {
4
4
  'data-component-name': string;
5
5
  } & {
6
- color?: string | undefined;
7
- size?: string | undefined;
8
- className?: string | undefined;
6
+ color?: string;
7
+ size?: string;
8
+ className?: string;
9
9
  } & React.SVGProps<SVGSVGElement>, "data-component-name">;
@@ -3,7 +3,7 @@ import type { IconProps } from '../../icons/types';
3
3
  export declare const CopyIcon: import("styled-components").StyledComponent<(props: IconProps) => React.JSX.Element, any, {
4
4
  'data-component-name': string;
5
5
  } & {
6
- color?: string | undefined;
7
- size?: string | undefined;
8
- className?: string | undefined;
6
+ color?: string;
7
+ size?: string;
8
+ className?: string;
9
9
  } & React.SVGProps<SVGSVGElement>, "data-component-name">;
@@ -3,7 +3,7 @@ import type { IconProps } from '../../icons/types';
3
3
  export declare const CopyLinkIcon: import("styled-components").StyledComponent<(props: IconProps) => React.JSX.Element, any, {
4
4
  'data-component-name': string;
5
5
  } & {
6
- color?: string | undefined;
7
- size?: string | undefined;
8
- className?: string | undefined;
6
+ color?: string;
7
+ size?: string;
8
+ className?: string;
9
9
  } & React.SVGProps<SVGSVGElement>, "data-component-name">;
@@ -3,7 +3,7 @@ import type { IconProps } from '../../icons/types';
3
3
  export declare const DataFormatIcon: import("styled-components").StyledComponent<(props: IconProps) => React.JSX.Element, any, {
4
4
  'data-component-name': string;
5
5
  } & {
6
- color?: string | undefined;
7
- size?: string | undefined;
8
- className?: string | undefined;
6
+ color?: string;
7
+ size?: string;
8
+ className?: string;
9
9
  } & React.SVGProps<SVGSVGElement>, "data-component-name">;
@@ -3,7 +3,7 @@ import type { IconProps } from '../../icons/types';
3
3
  export declare const DatabaseIcon: import("styled-components").StyledComponent<(props: IconProps) => React.JSX.Element, any, {
4
4
  'data-component-name': string;
5
5
  } & {
6
- color?: string | undefined;
7
- size?: string | undefined;
8
- className?: string | undefined;
6
+ color?: string;
7
+ size?: string;
8
+ className?: string;
9
9
  } & React.SVGProps<SVGSVGElement>, "data-component-name">;
@@ -3,7 +3,7 @@ import type { IconProps } from '../../icons/types';
3
3
  export declare const DocumentAddIcon: import("styled-components").StyledComponent<(props: IconProps) => React.JSX.Element, any, {
4
4
  'data-component-name': string;
5
5
  } & {
6
- color?: string | undefined;
7
- size?: string | undefined;
8
- className?: string | undefined;
6
+ color?: string;
7
+ size?: string;
8
+ className?: string;
9
9
  } & React.SVGProps<SVGSVGElement>, "data-component-name">;
@@ -3,7 +3,7 @@ import type { IconProps } from '../../icons/types';
3
3
  export declare const DocumentBlankIcon: import("styled-components").StyledComponent<(props: IconProps) => React.JSX.Element, any, {
4
4
  'data-component-name': string;
5
5
  } & {
6
- color?: string | undefined;
7
- size?: string | undefined;
8
- className?: string | undefined;
6
+ color?: string;
7
+ size?: string;
8
+ className?: string;
9
9
  } & React.SVGProps<SVGSVGElement>, "data-component-name">;
@@ -3,7 +3,7 @@ import type { IconProps } from '../../icons/types';
3
3
  export declare const DocumentIcon: import("styled-components").StyledComponent<(props: IconProps) => React.JSX.Element, any, {
4
4
  'data-component-name': string;
5
5
  } & {
6
- color?: string | undefined;
7
- size?: string | undefined;
8
- className?: string | undefined;
6
+ color?: string;
7
+ size?: string;
8
+ className?: string;
9
9
  } & React.SVGProps<SVGSVGElement>, "data-component-name">;