@redocly/theme 0.44.1 → 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
@@ -26,7 +26,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
26
26
  return (mod && mod.__esModule) ? mod : { "default": mod };
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.Admonition = void 0;
29
+ exports.Admonition = Admonition;
30
30
  const react_1 = __importDefault(require("react"));
31
31
  const styled_components_1 = __importStar(require("styled-components"));
32
32
  const WarningFilledIcon_1 = require("../../icons/WarningFilledIcon/WarningFilledIcon");
@@ -47,7 +47,6 @@ function Admonition({ type = 'info', name, children, className, 'data-source': d
47
47
  name ? react_1.default.createElement(Heading, { type: type }, name) : null,
48
48
  children ? react_1.default.createElement(Content, null, children) : null)));
49
49
  }
50
- exports.Admonition = Admonition;
51
50
  const Content = styled_components_1.default.div `
52
51
  & > p:first-child {
53
52
  margin-top: 0;
@@ -1,10 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AppCustomAttributes = void 0;
3
+ exports.AppCustomAttributes = AppCustomAttributes;
4
4
  // Do not remove this component. It's for ejecting.
5
5
  // Some customers need to add custom attributes to a form in dev onboarding plugin, so they can just eject this component and add those attributes there
6
6
  function AppCustomAttributes(_props) {
7
7
  return null;
8
8
  }
9
- exports.AppCustomAttributes = AppCustomAttributes;
10
9
  //# sourceMappingURL=AppCustomAttributes.js.map
@@ -26,13 +26,12 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
26
26
  return (mod && mod.__esModule) ? mod : { "default": mod };
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.Badge = void 0;
29
+ exports.Badge = Badge;
30
30
  const react_1 = __importDefault(require("react"));
31
31
  const styled_components_1 = __importStar(require("styled-components"));
32
32
  function Badge(props) {
33
33
  return react_1.default.createElement(BadgeComponent, Object.assign({}, props, { "data-component-name": "Badge/Badge" }));
34
34
  }
35
- exports.Badge = Badge;
36
35
  const BadgeComponent = styled_components_1.default.span `
37
36
  display: inline-block;
38
37
  padding: 0 var(--spacing-xs);
@@ -3,14 +3,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.Breadcrumb = void 0;
6
+ exports.Breadcrumb = Breadcrumb;
7
7
  const react_1 = __importDefault(require("react"));
8
8
  const styled_components_1 = __importDefault(require("styled-components"));
9
9
  const Link_1 = require("../../components/Link/Link");
10
10
  function Breadcrumb({ label, link, isActive, onClick }) {
11
11
  return (react_1.default.createElement(BreadcrumbWrapper, { "data-component-name": "Breadcrumbs/Breadcrumb", isLink: link != null, isActive: isActive, onClick: onClick }, link ? (react_1.default.createElement(BreadcrumbLink, { to: link }, label)) : (react_1.default.createElement(BreadcrumbText, null, label))));
12
12
  }
13
- exports.Breadcrumb = Breadcrumb;
14
13
  const BreadcrumbText = styled_components_1.default.div `
15
14
  cursor: default;
16
15
  `;
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.Breadcrumbs = void 0;
6
+ exports.Breadcrumbs = Breadcrumbs;
7
7
  const react_1 = __importDefault(require("react"));
8
8
  const styled_components_1 = __importDefault(require("styled-components"));
9
9
  const hooks_1 = require("../../core/hooks");
@@ -28,7 +28,6 @@ function Breadcrumbs(props) {
28
28
  isLast ? null : react_1.default.createElement("span", null, "/")));
29
29
  })));
30
30
  }
31
- exports.Breadcrumbs = Breadcrumbs;
32
31
  const BreadcrumbsWrapper = styled_components_1.default.div `
33
32
  display: flex;
34
33
  flex-direction: row;
@@ -26,7 +26,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
26
26
  return (mod && mod.__esModule) ? mod : { "default": mod };
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.Button = exports.generateClassName = void 0;
29
+ exports.Button = void 0;
30
+ exports.generateClassName = generateClassName;
30
31
  const react_1 = __importDefault(require("react"));
31
32
  const styled_components_1 = __importStar(require("styled-components"));
32
33
  const Link_1 = require("../../components/Link/Link");
@@ -64,7 +65,6 @@ function generateClassName({ variant = 'secondary', tone = 'default', size = 'me
64
65
  .join(' ')
65
66
  .trim();
66
67
  }
67
- exports.generateClassName = generateClassName;
68
68
  const StyledButton = styled_components_1.default.button.attrs((props) => ({
69
69
  className: generateClassName(props),
70
70
  })) `
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.EditPageButton = void 0;
6
+ exports.EditPageButton = EditPageButton;
7
7
  const react_1 = __importDefault(require("react"));
8
8
  const styled_components_1 = __importDefault(require("styled-components"));
9
9
  const hooks_1 = require("../../core/hooks");
@@ -17,7 +17,6 @@ function EditPageButton({ to }) {
17
17
  react_1.default.createElement(ButtonIcon, null),
18
18
  react_1.default.createElement(ButtonText, { "data-translation-key": "markdown.editPage.text" }, translate('markdown.editPage.text', 'Edit'))));
19
19
  }
20
- exports.EditPageButton = EditPageButton;
21
20
  const EditPageButtonWrapper = (0, styled_components_1.default)(Link_1.Link) `
22
21
  height: fit-content;
23
22
  margin-left: auto;
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.EmailButton = void 0;
6
+ exports.EmailButton = EmailButton;
7
7
  const react_1 = __importDefault(require("react"));
8
8
  const Button_1 = require("../../components/Button/Button");
9
9
  const EmailIcon_1 = require("../../icons/EmailIcon/EmailIcon");
@@ -14,5 +14,4 @@ function EmailButton({ data, dataTestId = 'email-button' }) {
14
14
  return (react_1.default.createElement("div", { "data-component-name": "Buttons/EmailButton" },
15
15
  react_1.default.createElement(Button_1.Button, { onClick: onClick, icon: react_1.default.createElement(EmailIcon_1.EmailIcon, null), size: "small", variant: "text", "data-testid": dataTestId, "aria-label": "Email" })));
16
16
  }
17
- exports.EmailButton = EmailButton;
18
17
  //# sourceMappingURL=EmailButton.js.map
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.NewTabButton = void 0;
6
+ exports.NewTabButton = NewTabButton;
7
7
  const react_1 = __importDefault(require("react"));
8
8
  const Button_1 = require("../../components/Button/Button");
9
9
  const ArrowUpRightIcon_1 = require("../../icons/ArrowUpRightIcon/ArrowUpRightIcon");
@@ -14,5 +14,4 @@ function NewTabButton({ data, dataTestId = 'new-tab-button', }) {
14
14
  return (react_1.default.createElement("div", { "data-component-name": "Buttons/NewTabButton" },
15
15
  react_1.default.createElement(Button_1.Button, { onClick: onClick, icon: react_1.default.createElement(ArrowUpRightIcon_1.ArrowUpRightIcon, null), "data-testid": dataTestId, "aria-label": "Open in new tab", size: "small", variant: "text" })));
16
16
  }
17
- exports.NewTabButton = NewTabButton;
18
17
  //# sourceMappingURL=NewTabButton.js.map
@@ -10,6 +10,6 @@ export declare const CatalogPageContent: import("styled-components").StyledCompo
10
10
  export declare const CatalogTitle: import("styled-components").StyledComponent<"h2", any, {}, never>;
11
11
  export declare const CatalogDescription: import("styled-components").StyledComponent<"p", any, {}, never>;
12
12
  export declare const CatalogPageWrapper: import("styled-components").StyledComponent<"div", any, {
13
- withoutFilters?: boolean | undefined;
13
+ withoutFilters?: boolean;
14
14
  }, never>;
15
15
  export declare const CatalogPageDescriptionWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -4,6 +4,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.CatalogPageDescriptionWrapper = exports.CatalogPageWrapper = exports.CatalogDescription = exports.CatalogTitle = exports.CatalogPageContent = void 0;
7
+ exports.default = Catalog;
7
8
  const react_1 = __importDefault(require("react"));
8
9
  const styled_components_1 = __importDefault(require("styled-components"));
9
10
  const utils_1 = require("../../core/utils");
@@ -44,7 +45,6 @@ function Catalog(props) {
44
45
  react_1.default.createElement(CounterTag_1.CounterTag, { borderless: true }, group.items.length)),
45
46
  react_1.default.createElement(CatalogCards, null, group.items.map((item) => (react_1.default.createElement(CatalogCard_1.CatalogCard, { item: item, key: item.link })))))))))));
46
47
  }
47
- exports.default = Catalog;
48
48
  const CatalogSeparator = styled_components_1.default.div `
49
49
  display: flex;
50
50
  align-items: center;
@@ -26,7 +26,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
26
26
  return (mod && mod.__esModule) ? mod : { "default": mod };
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.CatalogActions = void 0;
29
+ exports.CatalogActions = CatalogActions;
30
30
  const React = __importStar(require("react"));
31
31
  const styled_components_1 = __importDefault(require("styled-components"));
32
32
  const utils_1 = require("../../core/utils");
@@ -55,7 +55,6 @@ function CatalogActions(props) {
55
55
  }, "data-translation-key": "catalog.filters.title" }, translate('catalog.filters.title', 'Filters')),
56
56
  activeFilters > 0 ? React.createElement(CounterTag_1.CounterTag, { borderless: true }, activeFilters) : null));
57
57
  }
58
- exports.CatalogActions = CatalogActions;
59
58
  const CatalogActionsWrapper = styled_components_1.default.div `
60
59
  display: flex;
61
60
  align-items: center;
@@ -26,7 +26,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
26
26
  return (mod && mod.__esModule) ? mod : { "default": mod };
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.CatalogCard = void 0;
29
+ exports.CatalogCard = CatalogCard;
30
30
  const React = __importStar(require("react"));
31
31
  const styled_components_1 = __importDefault(require("styled-components"));
32
32
  const utils_1 = require("../../core/utils");
@@ -57,7 +57,6 @@ function CatalogCard({ item }) {
57
57
  null),
58
58
  React.createElement(SelectButton, { size: "medium", variant: "secondary", icon: React.createElement(ArrowRightIcon_1.ArrowRightIcon, null) })))));
59
59
  }
60
- exports.CatalogCard = CatalogCard;
61
60
  const SelectButton = (0, styled_components_1.default)(Button_1.Button) `
62
61
  border-radius: 100%;
63
62
  transition: all 0.2s ease-in-out;
@@ -26,7 +26,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
26
26
  return (mod && mod.__esModule) ? mod : { "default": mod };
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.CatalogHighlight = exports.HighlightContext = void 0;
29
+ exports.HighlightContext = void 0;
30
+ exports.CatalogHighlight = CatalogHighlight;
30
31
  const React = __importStar(require("react"));
31
32
  const highlight_words_core_1 = require("highlight-words-core");
32
33
  const styled_components_1 = __importDefault(require("styled-components"));
@@ -63,7 +64,6 @@ function CatalogHighlight(props) {
63
64
  return React.createElement(React.Fragment, null, "children") || null;
64
65
  }
65
66
  }
66
- exports.CatalogHighlight = CatalogHighlight;
67
67
  const HighlightedText = styled_components_1.default.span `
68
68
  background-color: var(--search-highlight-bg-color);
69
69
  color: var(--search-highlight-text-color);
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.CatalogInfoBlock = void 0;
6
+ exports.CatalogInfoBlock = CatalogInfoBlock;
7
7
  const react_1 = __importDefault(require("react"));
8
8
  const styled_components_1 = __importDefault(require("styled-components"));
9
9
  const hooks_1 = require("../../core/hooks");
@@ -16,7 +16,6 @@ function CatalogInfoBlock(props) {
16
16
  return (react_1.default.createElement(CatalogInfoBlockWrapper, null,
17
17
  react_1.default.createElement(CatalogBadgesWrapper, { "data-component-name": "Catalog/CatalogInfoBlock" }, scorecardBadge)));
18
18
  }
19
- exports.CatalogInfoBlock = CatalogInfoBlock;
20
19
  function ScorecardBadge(props) {
21
20
  const { level, slug, colorVariable } = props;
22
21
  const { useTelemetry } = (0, hooks_1.useThemeHooks)();
@@ -26,7 +26,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
26
26
  return (mod && mod.__esModule) ? mod : { "default": mod };
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.CodeBlock = void 0;
29
+ exports.CodeBlock = CodeBlock;
30
30
  const react_1 = __importStar(require("react"));
31
31
  const styled_components_1 = __importDefault(require("styled-components"));
32
32
  const utils_1 = require("../../core/utils");
@@ -64,7 +64,6 @@ function CodeBlock({ lang, source, externalSource, header, dataTestId = 'source-
64
64
  : true, "data-testid": dataTestId, hideCodeColors: hideCodeColors, maxHeight: codeBlockMaxHeight, wrapContents: wrapContents, tabIndex: 0 }, children),
65
65
  reportDialog.visible && (react_1.default.createElement(ReportDialog_1.ReportDialog, Object.assign({}, reportDialog.props, { location: sourceCode, lang: lang }))))));
66
66
  }
67
- exports.CodeBlock = CodeBlock;
68
67
  const ContainerWrapper = styled_components_1.default.div `
69
68
  display: grid; // prevents content to overstretch
70
69
  `;
@@ -26,14 +26,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
26
26
  return (mod && mod.__esModule) ? mod : { "default": mod };
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.CodeBlockContainer = void 0;
29
+ exports.CodeBlockContainer = CodeBlockContainer;
30
30
  const react_1 = __importDefault(require("react"));
31
31
  const styled_components_1 = __importStar(require("styled-components"));
32
32
  const utils_1 = require("../../core/utils");
33
33
  function CodeBlockContainer(props) {
34
34
  return (react_1.default.createElement(CodeBlockContainerComponent, Object.assign({}, props, { "data-component-name": "CodeBlock/CodeBlockContainer" })));
35
35
  }
36
- exports.CodeBlockContainer = CodeBlockContainer;
37
36
  const CodeBlockContainerComponent = styled_components_1.default.pre `
38
37
  && {
39
38
  overflow-x: auto;
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.CodeBlockControls = void 0;
6
+ exports.CodeBlockControls = CodeBlockControls;
7
7
  const react_1 = __importDefault(require("react"));
8
8
  const styled_components_1 = __importDefault(require("styled-components"));
9
9
  const CodeBlockTabs_1 = require("../../components/CodeBlock/CodeBlockTabs");
@@ -45,7 +45,6 @@ function CodeBlockControls({ children, className, title, controls, tabs, }) {
45
45
  } })) : null))) : null;
46
46
  return children || controls ? (react_1.default.createElement(ContainerWrapper, { "data-component-name": "CodeBlock/CodeBlockControls", className: className }, children ? children : defaultControls)) : null;
47
47
  }
48
- exports.CodeBlockControls = CodeBlockControls;
49
48
  const ContainerWrapper = styled_components_1.default.div `
50
49
  display: grid;
51
50
  justify-content: end;
@@ -23,7 +23,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
23
23
  return result;
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.CodeBlockTabs = void 0;
26
+ exports.CodeBlockTabs = CodeBlockTabs;
27
27
  const react_1 = __importStar(require("react"));
28
28
  const styled_components_1 = __importStar(require("styled-components"));
29
29
  const hooks_1 = require("../../core/hooks");
@@ -56,7 +56,6 @@ function CodeBlockTabs({ tabs }) {
56
56
  react_1.default.createElement(ControlButton, { size: "small", onClick: handleNextTab, "data-testid": "next-button" },
57
57
  react_1.default.createElement(ChevronRightIcon_1.ChevronRightIcon, null))))));
58
58
  }
59
- exports.CodeBlockTabs = CodeBlockTabs;
60
59
  const CodeBlockTabsWrapper = styled_components_1.default.div `
61
60
  display: flex;
62
61
  overflow: hidden;
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.ColorModeIcon = void 0;
6
+ exports.ColorModeIcon = ColorModeIcon;
7
7
  const react_1 = __importDefault(require("react"));
8
8
  const styled_components_1 = __importDefault(require("styled-components"));
9
9
  const ContrastIcon_1 = require("../../icons/ContrastIcon/ContrastIcon");
@@ -12,7 +12,6 @@ const SunIcon_1 = require("../../icons/SunIcon/SunIcon");
12
12
  function ColorModeIcon(props) {
13
13
  return (react_1.default.createElement(ColorModeIconComponent, Object.assign({}, props, { "data-component-name": "ColorModeSwitcher/ColorModeIcon" })));
14
14
  }
15
- exports.ColorModeIcon = ColorModeIcon;
16
15
  function Icon({ mode, className }) {
17
16
  switch (mode) {
18
17
  case 'dark':
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.ColorModeSwitcher = void 0;
6
+ exports.ColorModeSwitcher = ColorModeSwitcher;
7
7
  const react_1 = __importDefault(require("react"));
8
8
  const hooks_1 = require("../../core/hooks");
9
9
  const ColorModeIcon_1 = require("../../components/ColorModeSwitcher/ColorModeIcon");
@@ -18,5 +18,4 @@ function ColorModeSwitcher({ className }) {
18
18
  }
19
19
  return (react_1.default.createElement(Button_1.Button, { "data-component-name": "ColorModeSwitcher/ColorModeSwitcher", "data-testid": "color-mode-switcher", onClick: () => switchColorMode(), extraClass: className, variant: "secondary", size: "medium", icon: react_1.default.createElement(ColorModeIcon_1.ColorModeIcon, { mode: activeColorMode }) }));
20
20
  }
21
- exports.ColorModeSwitcher = ColorModeSwitcher;
22
21
  //# sourceMappingURL=ColorModeSwitcher.js.map
@@ -26,7 +26,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
26
26
  return (mod && mod.__esModule) ? mod : { "default": mod };
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.Dropdown = void 0;
29
+ exports.Dropdown = Dropdown;
30
30
  const react_1 = __importStar(require("react"));
31
31
  const styled_components_1 = __importDefault(require("styled-components"));
32
32
  const hooks_1 = require("../../core/hooks");
@@ -61,7 +61,6 @@ function Dropdown({ children, className, active, trigger, triggerEvent = 'click'
61
61
  dropdownTrigger,
62
62
  react_1.default.createElement(ChildrenWrapper, { placement: placement, alignment: alignment, isOpen: isOpen, onClick: closeOnClick ? handleChildClick : undefined }, children)));
63
63
  }
64
- exports.Dropdown = Dropdown;
65
64
  const DropdownWrapper = styled_components_1.default.div `
66
65
  --button-gap: var(--spacing-xxs);
67
66
 
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.DropdownMenu = void 0;
6
+ exports.DropdownMenu = DropdownMenu;
7
7
  const react_1 = __importDefault(require("react"));
8
8
  const styled_components_1 = __importDefault(require("styled-components"));
9
9
  const DropdownMenuItem_1 = require("../../components/Dropdown/DropdownMenuItem");
@@ -19,7 +19,6 @@ function DropdownMenu(props) {
19
19
  content,
20
20
  props.footer || null));
21
21
  }
22
- exports.DropdownMenu = DropdownMenu;
23
22
  const DropdownMenuWrapper = styled_components_1.default.ul `
24
23
  font-size: var(--dropdown-menu-font-size);
25
24
  font-weight: var(--dropdown-menu-font-weight);
@@ -37,7 +37,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
37
37
  return (mod && mod.__esModule) ? mod : { "default": mod };
38
38
  };
39
39
  Object.defineProperty(exports, "__esModule", { value: true });
40
- exports.DropdownMenuItem = void 0;
40
+ exports.DropdownMenuItem = DropdownMenuItem;
41
41
  const react_1 = __importDefault(require("react"));
42
42
  const styled_components_1 = __importStar(require("styled-components"));
43
43
  const Link_1 = require("../../components/Link/Link");
@@ -63,7 +63,6 @@ function DropdownMenuItem(_a) {
63
63
  children || content,
64
64
  suffix));
65
65
  }
66
- exports.DropdownMenuItem = DropdownMenuItem;
67
66
  const DropdownMenuItemWrapper = styled_components_1.default.li `
68
67
  display: flex;
69
68
  flex-direction: row;
@@ -23,7 +23,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
23
23
  return result;
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.Comment = void 0;
26
+ exports.Comment = Comment;
27
27
  const react_1 = __importStar(require("react"));
28
28
  const styled_components_1 = __importStar(require("styled-components"));
29
29
  const hooks_1 = require("../../core/hooks");
@@ -65,7 +65,6 @@ function Comment({ settings, onSubmit, onCancel, className, standAlone = true, i
65
65
  onCancel && (react_1.default.createElement(Button_1.Button, { "data-translation-key": "feedback.settings.comment.cancel", onClick: onCancel, variant: "text", size: "small" }, translate('feedback.settings.comment.cancel', 'Cancel'))),
66
66
  react_1.default.createElement(Button_1.Button, { "data-translation-key": "feedback.settings.comment.send", onClick: send, variant: isDialog ? 'primary' : 'secondary', size: "small" }, translate('feedback.settings.comment.send', 'Send'))))));
67
67
  }
68
- exports.Comment = Comment;
69
68
  const StyledFormMandatoryFields = styled_components_1.default.div `
70
69
  display: flex;
71
70
  justify-content: space-between;
@@ -26,7 +26,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
26
26
  return (mod && mod.__esModule) ? mod : { "default": mod };
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.Feedback = void 0;
29
+ exports.Feedback = Feedback;
30
30
  const React = __importStar(require("react"));
31
31
  const react_router_dom_1 = require("react-router-dom");
32
32
  const styled_components_1 = __importDefault(require("styled-components"));
@@ -68,7 +68,6 @@ function Feedback(props) {
68
68
  };
69
69
  return React.createElement(React.Fragment, { key: pathname }, renderFeedbackComponent());
70
70
  }
71
- exports.Feedback = Feedback;
72
71
  const FeedbackWrapper = styled_components_1.default.div `
73
72
  padding: var(--feedback-padding);
74
73
  background-color: var(--feedback-bg-color);
@@ -26,7 +26,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
26
26
  return (mod && mod.__esModule) ? mod : { "default": mod };
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.Mood = exports.MOOD_STATES = void 0;
29
+ exports.MOOD_STATES = void 0;
30
+ exports.Mood = Mood;
30
31
  const React = __importStar(require("react"));
31
32
  const react_1 = require("react");
32
33
  const styled_components_1 = __importDefault(require("styled-components"));
@@ -121,7 +122,6 @@ function Mood({ settings, onSubmit, className }) {
121
122
  React.createElement(Button_1.Button, { onClick: onCancelMoodForm, variant: "text", size: "small" }, "Cancel"),
122
123
  React.createElement(Button_1.Button, { onClick: onSubmitMoodForm, variant: "secondary", size: "small" }, "Submit"))))));
123
124
  }
124
- exports.Mood = Mood;
125
125
  const remapScore = (score) => {
126
126
  switch (score) {
127
127
  case MOOD_STATES.SATISFIED:
@@ -26,7 +26,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
26
26
  return (mod && mod.__esModule) ? mod : { "default": mod };
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.Rating = exports.FEEDBACK_MAX_RATING = void 0;
29
+ exports.FEEDBACK_MAX_RATING = void 0;
30
+ exports.Rating = Rating;
30
31
  const React = __importStar(require("react"));
31
32
  const styled_components_1 = __importDefault(require("styled-components"));
32
33
  const react_1 = require("react");
@@ -93,7 +94,6 @@ function Rating({ settings, onSubmit, className }) {
93
94
  React.createElement(Button_1.Button, { onClick: onCancelRatingForm, variant: "text", size: "small" }, "Cancel"),
94
95
  React.createElement(Button_1.Button, { onClick: onSubmitRatingForm, variant: "secondary", size: "small" }, "Submit"))))));
95
96
  }
96
- exports.Rating = Rating;
97
97
  const StyledForm = styled_components_1.default.form `
98
98
  width: 100%;
99
99
  gap: var(--spacing-sm);
@@ -26,7 +26,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
26
26
  return (mod && mod.__esModule) ? mod : { "default": mod };
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.Reasons = void 0;
29
+ exports.Reasons = Reasons;
30
30
  const React = __importStar(require("react"));
31
31
  const styled_components_1 = __importDefault(require("styled-components"));
32
32
  const hooks_1 = require("../../core/hooks");
@@ -53,7 +53,6 @@ function Reasons({ settings, onChange, className }) {
53
53
  React.createElement("input", { type: input_type, value: reason, checked: checkedState[idx], name: "reasons", onChange: () => handleOptionChange(idx) }),
54
54
  React.createElement("label", { "data-translation-key": `feedback.settings.reasons.items.${idx + 1}`, id: reason, onClick: () => handleOptionChange(idx) }, translate(`feedback.settings.reasons.items.${idx + 1}`, reason)))))));
55
55
  }
56
- exports.Reasons = Reasons;
57
56
  const ReasonsWrapper = styled_components_1.default.div `
58
57
  font-family: var(--feedback-font-family);
59
58
  display: flex;
@@ -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.ReportDialog = void 0;
15
+ exports.ReportDialog = ReportDialog;
16
16
  const react_1 = __importDefault(require("react"));
17
17
  const styled_components_1 = __importDefault(require("styled-components"));
18
18
  const react_router_dom_1 = require("react-router-dom");
@@ -38,7 +38,6 @@ function ReportDialog({ location, settings, onSubmit, onCancel, submitFeedback,
38
38
  onSubmit();
39
39
  }), isDialog: true, onCancel: onCancel }))));
40
40
  }
41
- exports.ReportDialog = ReportDialog;
42
41
  const ReportDialogWrapper = styled_components_1.default.div `
43
42
  font-family: var(--font-family-base);
44
43
  position: fixed;
@@ -26,7 +26,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
26
26
  return (mod && mod.__esModule) ? mod : { "default": mod };
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.Scale = exports.MAX_SCALE = void 0;
29
+ exports.MAX_SCALE = void 0;
30
+ exports.Scale = Scale;
30
31
  const React = __importStar(require("react"));
31
32
  const react_1 = require("react");
32
33
  const styled_components_1 = __importDefault(require("styled-components"));
@@ -102,7 +103,6 @@ function Scale({ settings, onSubmit, className }) {
102
103
  React.createElement(Button_1.Button, { "data-translation-key": "feedback.settings.comment.cancel", onClick: handleCancel, variant: "text", size: "small" }, translate('feedback.settings.comment.cancel', 'Cancel')),
103
104
  React.createElement(Button_1.Button, { "data-translation-key": "feedback.settings.scale.send", onClick: onSubmitScaleForm, variant: "secondary", size: "small" }, translate('feedback.settings.scale.send', 'Submit')))))));
104
105
  }
105
- exports.Scale = Scale;
106
106
  const ScaleWrapper = styled_components_1.default.div `
107
107
  font-family: var(--feedback-font-family);
108
108
  display: flex;
@@ -26,7 +26,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
26
26
  return (mod && mod.__esModule) ? mod : { "default": mod };
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.Sentiment = void 0;
29
+ exports.Sentiment = Sentiment;
30
30
  const React = __importStar(require("react"));
31
31
  const react_1 = require("react");
32
32
  const styled_components_1 = __importDefault(require("styled-components"));
@@ -99,7 +99,6 @@ function Sentiment({ settings, onSubmit, className }) {
99
99
  React.createElement(Button_1.Button, { onClick: onCancelSentimentForm, variant: "text", size: "small" }, "Cancel"),
100
100
  React.createElement(Button_1.Button, { onClick: onSubmitSentimentForm, variant: "secondary", size: "small" }, "Submit"))))));
101
101
  }
102
- exports.Sentiment = Sentiment;
103
102
  const SentimentWrapper = styled_components_1.default.div `
104
103
  font-family: var(--font-family-base);
105
104
  display: flex;
@@ -26,7 +26,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
26
26
  return (mod && mod.__esModule) ? mod : { "default": mod };
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.Stars = void 0;
29
+ exports.Stars = Stars;
30
30
  const React = __importStar(require("react"));
31
31
  const styled_components_1 = __importDefault(require("styled-components"));
32
32
  const StarIcon_1 = require("../../icons/StarIcon/StarIcon");
@@ -39,7 +39,6 @@ function Stars({ max = 5, onChange, value }) {
39
39
  }
40
40
  return React.createElement(StarsWrapper, { "data-component-name": "Feedback/Stars" }, stars);
41
41
  }
42
- exports.Stars = Stars;
43
42
  const StarsWrapper = styled_components_1.default.div `
44
43
  display: flex;
45
44
  gap: var(--spacing-xs);
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.Filter = void 0;
6
+ exports.Filter = Filter;
7
7
  const react_1 = __importDefault(require("react"));
8
8
  const styled_components_1 = __importDefault(require("styled-components"));
9
9
  const FilterSelect_1 = require("../../components/Filter/FilterSelect");
@@ -21,7 +21,6 @@ function Filter({ filter, filterValuesCasing }) {
21
21
  return (react_1.default.createElement(FilterGroup, { "data-component-name": "Filter/Filter", key: filter.property + filter.title },
22
22
  react_1.default.createElement(FilterComponent, { filter: filter, filterValuesCasing: filterValuesCasing })));
23
23
  }
24
- exports.Filter = Filter;
25
24
  const FilterGroup = styled_components_1.default.div `
26
25
  padding: var(--filter-group-padding);
27
26
  display: flex;
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.FilterCheckboxes = void 0;
6
+ exports.FilterCheckboxes = FilterCheckboxes;
7
7
  const react_1 = __importDefault(require("react"));
8
8
  const styled_components_1 = __importDefault(require("styled-components"));
9
9
  const FilterOptions_1 = require("../../components/Filter/FilterOptions");
@@ -31,7 +31,6 @@ function FilterCheckboxes({ filter, filterValuesCasing }) {
31
31
  react_1.default.createElement(CounterTag_1.CounterTag, { borderless: true }, count)));
32
32
  }))));
33
33
  }
34
- exports.FilterCheckboxes = FilterCheckboxes;
35
34
  const FilterCheckboxOption = (0, styled_components_1.default)(FilterOption_1.FilterOption) `
36
35
  padding-left: var(--filter-option-checkbox-padding-left);
37
36
  `;
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.FilterContent = void 0;
6
+ exports.FilterContent = FilterContent;
7
7
  const react_1 = __importDefault(require("react"));
8
8
  const styled_components_1 = __importDefault(require("styled-components"));
9
9
  const FilterInput_1 = require("../../components/Filter/FilterInput");
@@ -34,7 +34,6 @@ function FilterContent({ setFilterTerm, filters, filterTerm, filterValuesCasing,
34
34
  react_1.default.createElement(FilterInput_1.FilterInput, { value: filterTerm, onChange: (updatedTerm) => setFilterTerm(updatedTerm) }),
35
35
  react_1.default.createElement(FilterItems, null, filters.map((filter, idx) => (react_1.default.createElement(Filter_1.Filter, { filter: filter, key: filter.property + '-' + idx, filterValuesCasing: filterValuesCasing }))))));
36
36
  }
37
- exports.FilterContent = FilterContent;
38
37
  const FilterContentWrapper = styled_components_1.default.div `
39
38
  padding: var(--filter-content-padding-vertical) var(--filter-content-padding-horizontal);
40
39
  display: flex;