@equinor/amplify-component-lib 0.0.1

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 (600) hide show
  1. package/LICENSE.md +7 -0
  2. package/README.md +66 -0
  3. package/dist/esm/_virtual/_commonjsHelpers.js +1 -0
  4. package/dist/esm/_virtual/lodash.js +1 -0
  5. package/dist/esm/api/core/ApiError.js +1 -0
  6. package/dist/esm/api/core/CancelablePromise.js +1 -0
  7. package/dist/esm/api/core/OpenAPI.js +1 -0
  8. package/dist/esm/api/core/request.js +1 -0
  9. package/dist/esm/api/models/ServiceNowUrgency.js +1 -0
  10. package/dist/esm/api/models/TutorialPosition.js +1 -0
  11. package/dist/esm/api/services/PortalService.js +1 -0
  12. package/dist/esm/api/services/ReleaseNotesService.js +1 -0
  13. package/dist/esm/api/services/TutorialService.js +1 -0
  14. package/dist/esm/components/DataDisplay/Badge/Badge.js +1 -0
  15. package/dist/esm/components/DataDisplay/Badge/Badge.styles.js +17 -0
  16. package/dist/esm/components/DataDisplay/Chip/Chip.js +1 -0
  17. package/dist/esm/components/DataDisplay/Chip/Chip.styles.js +72 -0
  18. package/dist/esm/components/DataDisplay/Chip/InteractiveChip.js +1 -0
  19. package/dist/esm/components/DataDisplay/Chip/ReadOnlyChip.js +1 -0
  20. package/dist/esm/components/DataDisplay/DataCard.js +27 -0
  21. package/dist/esm/components/DataDisplay/HeaderDrawer.js +21 -0
  22. package/dist/esm/components/DataDisplay/InfoElement/CopyText.js +41 -0
  23. package/dist/esm/components/DataDisplay/InfoElement/InfoElement.js +1 -0
  24. package/dist/esm/components/DataDisplay/OptionalTooltip.js +4 -0
  25. package/dist/esm/components/DataDisplay/ProfileAvatar.js +21 -0
  26. package/dist/esm/components/DataDisplay/RichTextDisplay.js +1 -0
  27. package/dist/esm/components/DataDisplay/Table/Table.js +35 -0
  28. package/dist/esm/components/DataDisplay/Tutorial/HighlightBlocks/HighlightBlocks.js +14 -0
  29. package/dist/esm/components/DataDisplay/Tutorial/Tutorial.js +1 -0
  30. package/dist/esm/components/DataDisplay/Tutorial/TutorialStart.js +39 -0
  31. package/dist/esm/components/DataDisplay/Tutorial/TutorialSteps.js +50 -0
  32. package/dist/esm/components/DataDisplay/Workflow/StatusChip.js +25 -0
  33. package/dist/esm/components/DataDisplay/Workflow/WorkflowDescription.js +24 -0
  34. package/dist/esm/components/DataDisplay/Workflow/WorkflowStatusBar.js +33 -0
  35. package/dist/esm/components/Feature/Feature.js +1 -0
  36. package/dist/esm/components/Feedback/AnimatedCheckmark.js +24 -0
  37. package/dist/esm/components/Feedback/ConfirmationPopup.js +22 -0
  38. package/dist/esm/components/Feedback/ErrorPage/Action.js +1 -0
  39. package/dist/esm/components/Feedback/ErrorPage/Description.js +1 -0
  40. package/dist/esm/components/Feedback/ErrorPage/Details.js +23 -0
  41. package/dist/esm/components/Feedback/ErrorPage/ErrorPage.js +14 -0
  42. package/dist/esm/components/Feedback/ErrorPage/MissingAccesses.js +11 -0
  43. package/dist/esm/components/Feedback/ErrorPage/Title.js +1 -0
  44. package/dist/esm/components/Feedback/ErrorPage/illustrations/GlitchAnimation.js +18 -0
  45. package/dist/esm/components/Feedback/ErrorPage/illustrations/QuestioningAnimation.js +18 -0
  46. package/dist/esm/components/Feedback/ErrorPage/index.js +1 -0
  47. package/dist/esm/components/Feedback/FileProgress/CompactFileProgress.js +1 -0
  48. package/dist/esm/components/Feedback/FileProgress/CompactFileProgress.styles.js +86 -0
  49. package/dist/esm/components/Feedback/FileProgress/FileProgress.js +1 -0
  50. package/dist/esm/components/Feedback/FileProgress/FileProgress.utils.js +1 -0
  51. package/dist/esm/components/Feedback/FileProgress/RegularFileProgress.js +1 -0
  52. package/dist/esm/components/Feedback/FileProgress/RegularFileProgress.styles.js +32 -0
  53. package/dist/esm/components/Feedback/FullPageSpinner.js +18 -0
  54. package/dist/esm/components/Feedback/FullPageStatus.js +18 -0
  55. package/dist/esm/components/Feedback/PageNotFound.js +1 -0
  56. package/dist/esm/components/Feedback/Skeleton/Skeleton.styles.js +1 -0
  57. package/dist/esm/components/Feedback/Skeleton/SkeletonBase/SkeletonBase.js +28 -0
  58. package/dist/esm/components/Feedback/Skeleton/SkeletonGradient/SkeletonGradient.js +1 -0
  59. package/dist/esm/components/Feedback/Stepper/Step.js +25 -0
  60. package/dist/esm/components/Feedback/Stepper/StepLine.js +7 -0
  61. package/dist/esm/components/Feedback/Stepper/Stepper.js +10 -0
  62. package/dist/esm/components/Feedback/Unauthorized.js +4 -0
  63. package/dist/esm/components/Icons/AmplifyIcons.js +1 -0
  64. package/dist/esm/components/Icons/ApplicationIcon/Acquire.js +1 -0
  65. package/dist/esm/components/Icons/ApplicationIcon/ApplicationIcon.constants.js +1 -0
  66. package/dist/esm/components/Icons/ApplicationIcon/ApplicationIcon.js +1 -0
  67. package/dist/esm/components/Icons/ApplicationIcon/ApplicationIconBase.js +39 -0
  68. package/dist/esm/components/Icons/ApplicationIcon/ApplicationIconCollection.js +1 -0
  69. package/dist/esm/components/Icons/ApplicationIcon/Bravos.js +1 -0
  70. package/dist/esm/components/Icons/ApplicationIcon/Dasha.js +1 -0
  71. package/dist/esm/components/Icons/ApplicationIcon/Fallback.js +1 -0
  72. package/dist/esm/components/Icons/ApplicationIcon/FourDInsight.js +1 -0
  73. package/dist/esm/components/Icons/ApplicationIcon/InPress.js +1 -0
  74. package/dist/esm/components/Icons/ApplicationIcon/LoggingQualification.js +1 -0
  75. package/dist/esm/components/Icons/ApplicationIcon/Orca.js +1 -0
  76. package/dist/esm/components/Icons/ApplicationIcon/Portal.js +1 -0
  77. package/dist/esm/components/Icons/ApplicationIcon/Premo.js +1 -0
  78. package/dist/esm/components/Icons/ApplicationIcon/Pwex.js +1 -0
  79. package/dist/esm/components/Icons/ApplicationIcon/Recap.js +1 -0
  80. package/dist/esm/components/Icons/EquinorLogo.js +1 -0
  81. package/dist/esm/components/Icons/Fallback.js +1 -0
  82. package/dist/esm/components/Icons/FeedBackIcon/FeedBackIcon.js +1 -0
  83. package/dist/esm/components/Icons/FeedBackIcon/NegativeFilled.js +1 -0
  84. package/dist/esm/components/Icons/FeedBackIcon/NegativeOutlined.js +1 -0
  85. package/dist/esm/components/Icons/FeedBackIcon/PositiveFilled.js +1 -0
  86. package/dist/esm/components/Icons/FeedBackIcon/PositiveOutlined.js +1 -0
  87. package/dist/esm/components/Inputs/CommentField/CommentField.js +40 -0
  88. package/dist/esm/components/Inputs/CommentField/NewCommentField.js +45 -0
  89. package/dist/esm/components/Inputs/ContentMenu.js +52 -0
  90. package/dist/esm/components/Inputs/EditableField.js +20 -0
  91. package/dist/esm/components/Inputs/ExpandingIconButton/ExpandingIconButton.js +24 -0
  92. package/dist/esm/components/Inputs/FileUploadArea.js +32 -0
  93. package/dist/esm/components/Inputs/IconToggleButton.js +1 -0
  94. package/dist/esm/components/Inputs/RichTextEditor/MenuBar/AddImage.js +1 -0
  95. package/dist/esm/components/Inputs/RichTextEditor/MenuBar/Links.js +6 -0
  96. package/dist/esm/components/Inputs/RichTextEditor/MenuBar/MenuBar.js +13 -0
  97. package/dist/esm/components/Inputs/RichTextEditor/MenuBar/MenuBar.styles.js +14 -0
  98. package/dist/esm/components/Inputs/RichTextEditor/MenuBar/MenuButton.js +28 -0
  99. package/dist/esm/components/Inputs/RichTextEditor/MenuBar/TableBar.js +6 -0
  100. package/dist/esm/components/Inputs/RichTextEditor/MenuBar/TextColor.js +45 -0
  101. package/dist/esm/components/Inputs/RichTextEditor/RichTextEditor.js +1 -0
  102. package/dist/esm/components/Inputs/RichTextEditor/RichTextEditor.styles.js +139 -0
  103. package/dist/esm/components/Inputs/RichTextEditor/RichTextEditor.types.js +1 -0
  104. package/dist/esm/components/Inputs/RichTextEditor/custom-extensions/ExtendedImage.js +1 -0
  105. package/dist/esm/components/Inputs/Search/Search.js +13 -0
  106. package/dist/esm/components/Inputs/Select/ComboBox/ComboBox.js +1 -0
  107. package/dist/esm/components/Inputs/Select/GroupedSelectMenu.js +1 -0
  108. package/dist/esm/components/Inputs/Select/Select.js +1 -0
  109. package/dist/esm/components/Inputs/Select/Select.styles.js +149 -0
  110. package/dist/esm/components/Inputs/Select/Select.utils.js +1 -0
  111. package/dist/esm/components/Inputs/Select/SelectMenu.js +1 -0
  112. package/dist/esm/components/Inputs/Select/SelectMenuItem.js +1 -0
  113. package/dist/esm/components/Inputs/Select/SingleSelect/SingleSelect.js +1 -0
  114. package/dist/esm/components/Inputs/SelectDrawer/MultiSelectDrawer.js +28 -0
  115. package/dist/esm/components/Inputs/SelectDrawer/OptionDrawer.js +1 -0
  116. package/dist/esm/components/Inputs/SelectDrawer/OptionDrawer.styles.js +37 -0
  117. package/dist/esm/components/Inputs/SelectDrawer/SingleSelectDrawer.js +25 -0
  118. package/dist/esm/components/Inputs/Sieve/Filter.js +1 -0
  119. package/dist/esm/components/Inputs/Sieve/Sieve.js +1 -0
  120. package/dist/esm/components/Inputs/Sieve/Sieve.styles.js +39 -0
  121. package/dist/esm/components/Inputs/Sieve/Sort.js +1 -0
  122. package/dist/esm/components/Inputs/SingleFilterMenu.js +20 -0
  123. package/dist/esm/components/Inputs/TextField/TextField.js +3 -0
  124. package/dist/esm/components/Navigation/PageWithTitle.js +1 -0
  125. package/dist/esm/components/Navigation/SelectField/ChangingField.js +24 -0
  126. package/dist/esm/components/Navigation/SelectField/SelectField.js +15 -0
  127. package/dist/esm/components/Navigation/SelectField/SelectorCard/SelectorCard.js +70 -0
  128. package/dist/esm/components/Navigation/SelectField/SelectorCard/Skeleton.js +24 -0
  129. package/dist/esm/components/Navigation/SideBar/CreateItem.js +1 -0
  130. package/dist/esm/components/Navigation/SideBar/CreateItem.styles.js +23 -0
  131. package/dist/esm/components/Navigation/SideBar/MenuItem.js +1 -0
  132. package/dist/esm/components/Navigation/SideBar/MenuItem.styles.js +38 -0
  133. package/dist/esm/components/Navigation/SideBar/SideBar.js +1 -0
  134. package/dist/esm/components/Navigation/SideBar/SideBar.styles.js +32 -0
  135. package/dist/esm/components/Navigation/SideBar/ToggleOpen.js +1 -0
  136. package/dist/esm/components/Navigation/SideBar/ToggleOpen.styles.js +21 -0
  137. package/dist/esm/components/Navigation/SideBar/index.js +1 -0
  138. package/dist/esm/components/Navigation/TableOfContents/TableOfContents.constants.js +1 -0
  139. package/dist/esm/components/Navigation/TableOfContents/TableOfContents.js +1 -0
  140. package/dist/esm/components/Navigation/TableOfContents/TableOfContents.styles.js +165 -0
  141. package/dist/esm/components/Navigation/TableOfContents/TableOfContentsItem.js +1 -0
  142. package/dist/esm/components/Navigation/TopBar/Account/Account.js +1 -0
  143. package/dist/esm/components/Navigation/TopBar/Account/Account.styles.js +36 -0
  144. package/dist/esm/components/Navigation/TopBar/Actions.js +6 -0
  145. package/dist/esm/components/Navigation/TopBar/ApplicationDrawer/ApplicationDrawer.js +1 -0
  146. package/dist/esm/components/Navigation/TopBar/ApplicationDrawer/ApplicationDrawer.styles.js +73 -0
  147. package/dist/esm/components/Navigation/TopBar/FieldSelector.js +69 -0
  148. package/dist/esm/components/Navigation/TopBar/Guidelines/Colorbox.js +6 -0
  149. package/dist/esm/components/Navigation/TopBar/Guidelines/Guidelines.js +1 -0
  150. package/dist/esm/components/Navigation/TopBar/Guidelines/Item.js +6 -0
  151. package/dist/esm/components/Navigation/TopBar/Guidelines/Section.js +19 -0
  152. package/dist/esm/components/Navigation/TopBar/Guidelines/index.js +1 -0
  153. package/dist/esm/components/Navigation/TopBar/Notifications/FilterOptions.js +36 -0
  154. package/dist/esm/components/Navigation/TopBar/Notifications/NotificationProvider.js +1 -0
  155. package/dist/esm/components/Navigation/TopBar/Notifications/Notifications.js +1 -0
  156. package/dist/esm/components/Navigation/TopBar/Notifications/NotificationsInner.js +8 -0
  157. package/dist/esm/components/Navigation/TopBar/Notifications/NotificationsTemplate/NotificationElements/DeafultNotification.js +6 -0
  158. package/dist/esm/components/Navigation/TopBar/Notifications/NotificationsTemplate/NotificationElements/ExperienceDue3Weeks.js +6 -0
  159. package/dist/esm/components/Navigation/TopBar/Notifications/NotificationsTemplate/NotificationElements/MergedBranchOrca.js +7 -0
  160. package/dist/esm/components/Navigation/TopBar/Notifications/NotificationsTemplate/NotificationElements/NoNotifications.js +7 -0
  161. package/dist/esm/components/Navigation/TopBar/Notifications/NotificationsTemplate/NotificationElements/ReadyToBePublished.js +5 -0
  162. package/dist/esm/components/Navigation/TopBar/Notifications/NotificationsTemplate/NotificationElements/ReadyToReportNotification.js +14 -0
  163. package/dist/esm/components/Navigation/TopBar/Notifications/NotificationsTemplate/NotificationElements/RequestChangeOrca.js +7 -0
  164. package/dist/esm/components/Navigation/TopBar/Notifications/NotificationsTemplate/NotificationElements/RequestReviewOrca.js +7 -0
  165. package/dist/esm/components/Navigation/TopBar/Notifications/NotificationsTemplate/NotificationElements/ReviewQANotification.js +6 -0
  166. package/dist/esm/components/Navigation/TopBar/Notifications/NotificationsTemplate/NotificationTemplate.js +1 -0
  167. package/dist/esm/components/Navigation/TopBar/Notifications/NotificationsTemplate/NotificationTemplate.style.js +53 -0
  168. package/dist/esm/components/Navigation/TopBar/Notifications/NotificationsTemplate/Notifications.types.js +1 -0
  169. package/dist/esm/components/Navigation/TopBar/Resources/Feedback/Feedback.const.js +1 -0
  170. package/dist/esm/components/Navigation/TopBar/Resources/Feedback/Feedback.js +1 -0
  171. package/dist/esm/components/Navigation/TopBar/Resources/Feedback/Feedback.styles.js +41 -0
  172. package/dist/esm/components/Navigation/TopBar/Resources/Feedback/Feedback.types.js +1 -0
  173. package/dist/esm/components/Navigation/TopBar/Resources/Feedback/Feedback.utils.js +1 -0
  174. package/dist/esm/components/Navigation/TopBar/Resources/Feedback/FeedbackForm/FeedbackForm.js +1 -0
  175. package/dist/esm/components/Navigation/TopBar/Resources/Feedback/FeedbackForm/components/Description.js +9 -0
  176. package/dist/esm/components/Navigation/TopBar/Resources/Feedback/FeedbackForm/components/LockedInputTooltip.js +5 -0
  177. package/dist/esm/components/Navigation/TopBar/Resources/Feedback/FeedbackForm/components/Severity.js +7 -0
  178. package/dist/esm/components/Navigation/TopBar/Resources/Feedback/FeedbackForm/components/Title.js +3 -0
  179. package/dist/esm/components/Navigation/TopBar/Resources/Feedback/FeedbackForm/components/UploadFile/ImageFile.js +7 -0
  180. package/dist/esm/components/Navigation/TopBar/Resources/Feedback/FeedbackForm/components/UploadFile/UploadFile.js +5 -0
  181. package/dist/esm/components/Navigation/TopBar/Resources/Feedback/FeedbackForm/components/UploadFile/UploadFile.styles.js +79 -0
  182. package/dist/esm/components/Navigation/TopBar/Resources/Feedback/FeedbackForm/components/Url.js +3 -0
  183. package/dist/esm/components/Navigation/TopBar/Resources/Feedback/FeedbackInner.js +1 -0
  184. package/dist/esm/components/Navigation/TopBar/Resources/Feedback/ResponsePage/AnimateChangeInHeight.js +7 -0
  185. package/dist/esm/components/Navigation/TopBar/Resources/Feedback/ResponsePage/FullSlackResponse.js +4 -0
  186. package/dist/esm/components/Navigation/TopBar/Resources/Feedback/ResponsePage/RequestStatus.js +5 -0
  187. package/dist/esm/components/Navigation/TopBar/Resources/Feedback/ResponsePage/ResponsePage.js +9 -0
  188. package/dist/esm/components/Navigation/TopBar/Resources/Feedback/ResponsePage/ResponsePage.styles.js +20 -0
  189. package/dist/esm/components/Navigation/TopBar/Resources/Feedback/ResponsePage/ResponseStatus.js +1 -0
  190. package/dist/esm/components/Navigation/TopBar/Resources/Feedback/ResponsePage/Success.js +9 -0
  191. package/dist/esm/components/Navigation/TopBar/Resources/Feedback/hooks/useFeedbackContext.js +1 -0
  192. package/dist/esm/components/Navigation/TopBar/Resources/Feedback/hooks/useServiceNowIncident.js +1 -0
  193. package/dist/esm/components/Navigation/TopBar/Resources/Feedback/hooks/useSlackFileUpload.js +1 -0
  194. package/dist/esm/components/Navigation/TopBar/Resources/Feedback/hooks/useSlackPostMessage.js +1 -0
  195. package/dist/esm/components/Navigation/TopBar/Resources/Feedback/providers/FeedbackContextProvider.js +1 -0
  196. package/dist/esm/components/Navigation/TopBar/Resources/ReleaseNotesDialog/Filters/FilterHeader.js +1 -0
  197. package/dist/esm/components/Navigation/TopBar/Resources/ReleaseNotesDialog/Filters/FilterHeader.styles.js +42 -0
  198. package/dist/esm/components/Navigation/TopBar/Resources/ReleaseNotesDialog/ReleaseNotes.js +1 -0
  199. package/dist/esm/components/Navigation/TopBar/Resources/ReleaseNotesDialog/ReleaseNotes.styles.js +43 -0
  200. package/dist/esm/components/Navigation/TopBar/Resources/ReleaseNotesDialog/ReleaseNotesHeader.js +1 -0
  201. package/dist/esm/components/Navigation/TopBar/Resources/ReleaseNotesDialog/ReleaseNotesHeader.styles.js +23 -0
  202. package/dist/esm/components/Navigation/TopBar/Resources/ReleaseNotesDialog/ReleaseNotesTypes/ReleaseNotesTypes.js +1 -0
  203. package/dist/esm/components/Navigation/TopBar/Resources/ReleaseNotesDialog/ReleaseNotesTypes/ReleaseNotesTypes.styles.js +42 -0
  204. package/dist/esm/components/Navigation/TopBar/Resources/ReleaseNotesDialog/ReleaseNotesTypes/ReleaseNotesTypes.types.js +1 -0
  205. package/dist/esm/components/Navigation/TopBar/Resources/ReleaseNotesDialog/ReleasePosts/ReleasePost.js +1 -0
  206. package/dist/esm/components/Navigation/TopBar/Resources/ReleaseNotesDialog/ReleasePosts/ReleasePost.styles.js +69 -0
  207. package/dist/esm/components/Navigation/TopBar/Resources/ReleaseNotesDialog/ReleasePosts/ReleasePosts.js +1 -0
  208. package/dist/esm/components/Navigation/TopBar/Resources/ReleaseNotesDialog/ReleasePosts/ReleasePosts.styles.js +16 -0
  209. package/dist/esm/components/Navigation/TopBar/Resources/ReleaseNotesDialog/ReleasePosts/hooks/useTokenReleaseNote.js +1 -0
  210. package/dist/esm/components/Navigation/TopBar/Resources/ReleaseNotesDialog/TextContent.js +28 -0
  211. package/dist/esm/components/Navigation/TopBar/Resources/ResourceMenuItem.js +20 -0
  212. package/dist/esm/components/Navigation/TopBar/Resources/Resources.js +6 -0
  213. package/dist/esm/components/Navigation/TopBar/Resources/TransferToAppDialog.js +33 -0
  214. package/dist/esm/components/Navigation/TopBar/Resources/Tutorials/TutorialInfoDialog.js +15 -0
  215. package/dist/esm/components/Navigation/TopBar/Resources/Tutorials/TutorialItem.js +12 -0
  216. package/dist/esm/components/Navigation/TopBar/Settings.js +25 -0
  217. package/dist/esm/components/Navigation/TopBar/TopBar.js +1 -0
  218. package/dist/esm/components/Navigation/TopBar/TopBar.styles.js +65 -0
  219. package/dist/esm/components/Navigation/TopBar/TopBarMenu.js +7 -0
  220. package/dist/esm/components/Navigation/TopBar/index.js +1 -0
  221. package/dist/esm/components/Template/Template.js +62 -0
  222. package/dist/esm/components/Visuals/Waves/VisualWaves.js +48 -0
  223. package/dist/esm/components/Visuals/Waves/WaveShapeWithNoise.js +1 -0
  224. package/dist/esm/components/index.js +1 -0
  225. package/dist/esm/constants/colors.js +1 -0
  226. package/dist/esm/constants/index.js +1 -0
  227. package/dist/esm/hooks/index.js +1 -0
  228. package/dist/esm/hooks/useDebounce.js +1 -0
  229. package/dist/esm/hooks/useFakeProgress.js +1 -0
  230. package/dist/esm/hooks/useFeatureToggling.js +1 -0
  231. package/dist/esm/hooks/useLocalStorage.js +1 -0
  232. package/dist/esm/hooks/useOnScreen.js +1 -0
  233. package/dist/esm/hooks/usePrevious.js +1 -0
  234. package/dist/esm/hooks/useReleaseNotesQuery.js +1 -0
  235. package/dist/esm/hooks/useSelect.js +1 -0
  236. package/dist/esm/hooks/useSignalRMessages.js +1 -0
  237. package/dist/esm/index.js +1 -0
  238. package/dist/esm/node_modules/@equinor/eds-tokens/dist/esm/base/clickbounds.js +1 -0
  239. package/dist/esm/node_modules/@equinor/eds-tokens/dist/esm/base/colors.js +1 -0
  240. package/dist/esm/node_modules/@equinor/eds-tokens/dist/esm/base/elevation.js +1 -0
  241. package/dist/esm/node_modules/@equinor/eds-tokens/dist/esm/base/index.js +1 -0
  242. package/dist/esm/node_modules/@equinor/eds-tokens/dist/esm/base/interactions.js +1 -0
  243. package/dist/esm/node_modules/@equinor/eds-tokens/dist/esm/base/shape.js +1 -0
  244. package/dist/esm/node_modules/@equinor/eds-tokens/dist/esm/base/spacings.js +1 -0
  245. package/dist/esm/node_modules/@equinor/eds-tokens/dist/esm/base/typography.js +1 -0
  246. package/dist/esm/node_modules/@equinor/eds-utils/dist/esm/hooks/useOutsideClick.js +1 -0
  247. package/dist/esm/node_modules/highlight.js/styles/base16/solarized-dark.css +163 -0
  248. package/dist/esm/node_modules/lodash/lodash.js +9 -0
  249. package/dist/esm/node_modules/prosemirror-model/dist/index.js +1 -0
  250. package/dist/esm/node_modules/prosemirror-state/dist/index.js +1 -0
  251. package/dist/esm/node_modules/prosemirror-transform/dist/index.js +1 -0
  252. package/dist/esm/providers/AuthProvider/AuthProvider.js +1 -0
  253. package/dist/esm/providers/AuthProvider/AuthProviderInner.js +1 -0
  254. package/dist/esm/providers/FeatureToggleProvider.js +1 -0
  255. package/dist/esm/providers/ReleaseNotesProvider.js +1 -0
  256. package/dist/esm/providers/SideBarProvider.js +1 -0
  257. package/dist/esm/providers/SnackbarProvider.js +1 -0
  258. package/dist/esm/providers/TableOfContentsProvider.js +1 -0
  259. package/dist/esm/providers/TableOfContentsProvider.utils.js +1 -0
  260. package/dist/esm/providers/TutorialProvider/TutorialDialog.js +1 -0
  261. package/dist/esm/providers/TutorialProvider/TutorialProvider.const.js +1 -0
  262. package/dist/esm/providers/TutorialProvider/TutorialProvider.hooks.js +1 -0
  263. package/dist/esm/providers/TutorialProvider/TutorialProvider.js +1 -0
  264. package/dist/esm/providers/TutorialProvider/TutorialProvider.styles.js +67 -0
  265. package/dist/esm/providers/TutorialProvider/TutorialProvider.utils.js +1 -0
  266. package/dist/esm/providers/TutorialProvider/TutorialProviderInner.js +1 -0
  267. package/dist/esm/providers/TutorialProvider/TutorialStepIndicator.js +25 -0
  268. package/dist/esm/providers/TutorialStepsProvider.js +1 -0
  269. package/dist/esm/providers/index.js +1 -0
  270. package/dist/esm/style/darkTokens.js +1 -0
  271. package/dist/esm/style/index.js +1 -0
  272. package/dist/esm/style/spacingTokens.js +1 -0
  273. package/dist/esm/style/spacings.js +1 -0
  274. package/dist/esm/types/Environment.js +1 -0
  275. package/dist/esm/types/Errors.js +1 -0
  276. package/dist/esm/utils/auth_environment.js +1 -0
  277. package/dist/esm/utils/coordinate.js +1 -0
  278. package/dist/esm/utils/date.js +1 -0
  279. package/dist/esm/utils/errors.js +1 -0
  280. package/dist/esm/utils/export.js +1 -0
  281. package/dist/esm/utils/favicon.js +1 -0
  282. package/dist/esm/utils/index.js +1 -0
  283. package/dist/esm/utils/map.js +1 -0
  284. package/dist/esm/utils/releaseNotes.js +1 -0
  285. package/dist/esm/utils/size.js +1 -0
  286. package/dist/esm/utils/sort.js +1 -0
  287. package/dist/esm/utils/string.js +1 -0
  288. package/dist/esm/utils/url.js +1 -0
  289. package/dist/types/api/core/ApiError.d.ts +10 -0
  290. package/dist/types/api/core/ApiRequestOptions.d.ts +13 -0
  291. package/dist/types/api/core/ApiResult.d.ts +7 -0
  292. package/dist/types/api/core/CancelablePromise.d.ts +26 -0
  293. package/dist/types/api/core/OpenAPI.d.ts +32 -0
  294. package/dist/types/api/core/request.d.ts +13 -0
  295. package/dist/types/api/index.d.ts +15 -0
  296. package/dist/types/api/models/AccessRole.d.ts +4 -0
  297. package/dist/types/api/models/Applications.d.ts +17 -0
  298. package/dist/types/api/models/CustomTutorialStep.d.ts +4 -0
  299. package/dist/types/api/models/Feature.d.ts +8 -0
  300. package/dist/types/api/models/FeatureToggleDto.d.ts +5 -0
  301. package/dist/types/api/models/GenericTutorialStep.d.ts +7 -0
  302. package/dist/types/api/models/GraphUser.d.ts +6 -0
  303. package/dist/types/api/models/ReleaseNote.d.ts +9 -0
  304. package/dist/types/api/models/ReleaseNotePatch.d.ts +8 -0
  305. package/dist/types/api/models/ServiceNowIncidentAttachmentResponse.d.ts +7 -0
  306. package/dist/types/api/models/ServiceNowIncidentResponse.d.ts +13 -0
  307. package/dist/types/api/models/ServiceNowUrgency.d.ts +5 -0
  308. package/dist/types/api/models/Tutorial.d.ts +13 -0
  309. package/dist/types/api/models/TutorialPosition.d.ts +7 -0
  310. package/dist/types/api/models/TutorialStepBase.d.ts +4 -0
  311. package/dist/types/api/services/PortalService.d.ts +35 -0
  312. package/dist/types/api/services/ReleaseNotesService.d.ts +28 -0
  313. package/dist/types/api/services/TutorialService.d.ts +12 -0
  314. package/dist/types/components/DataDisplay/Badge/Badge.d.ts +7 -0
  315. package/dist/types/components/DataDisplay/Badge/Badge.styles.d.ts +6 -0
  316. package/dist/types/components/DataDisplay/Chip/Chip.d.ts +14 -0
  317. package/dist/types/components/DataDisplay/Chip/Chip.styles.d.ts +4 -0
  318. package/dist/types/components/DataDisplay/Chip/InteractiveChip.d.ts +4 -0
  319. package/dist/types/components/DataDisplay/Chip/ReadOnlyChip.d.ts +4 -0
  320. package/dist/types/components/DataDisplay/DataCard.d.ts +18 -0
  321. package/dist/types/components/DataDisplay/HeaderDrawer.d.ts +11 -0
  322. package/dist/types/components/DataDisplay/InfoElement/CopyText.d.ts +10 -0
  323. package/dist/types/components/DataDisplay/InfoElement/InfoElement.d.ts +9 -0
  324. package/dist/types/components/DataDisplay/OptionalTooltip.d.ts +9 -0
  325. package/dist/types/components/DataDisplay/ProfileAvatar.d.ts +9 -0
  326. package/dist/types/components/DataDisplay/RichTextDisplay.d.ts +9 -0
  327. package/dist/types/components/DataDisplay/Table/Table.d.ts +2 -0
  328. package/dist/types/components/DataDisplay/Table/stories/data.d.ts +13 -0
  329. package/dist/types/components/DataDisplay/Tutorial/HighlightBlocks/HighlightBlocks.d.ts +8 -0
  330. package/dist/types/components/DataDisplay/Tutorial/Tutorial.d.ts +20 -0
  331. package/dist/types/components/DataDisplay/Tutorial/TutorialStart.d.ts +11 -0
  332. package/dist/types/components/DataDisplay/Tutorial/TutorialSteps.d.ts +9 -0
  333. package/dist/types/components/DataDisplay/Tutorial/stories/TutorialStoryComponent.d.ts +4 -0
  334. package/dist/types/components/DataDisplay/Workflow/StatusChip.d.ts +13 -0
  335. package/dist/types/components/DataDisplay/Workflow/WorkflowDescription.d.ts +17 -0
  336. package/dist/types/components/DataDisplay/Workflow/WorkflowStatusBar.d.ts +23 -0
  337. package/dist/types/components/Feature/Feature.d.ts +9 -0
  338. package/dist/types/components/Feedback/AnimatedCheckmark.d.ts +6 -0
  339. package/dist/types/components/Feedback/ConfirmationPopup.d.ts +17 -0
  340. package/dist/types/components/Feedback/ErrorPage/Action.d.ts +6 -0
  341. package/dist/types/components/Feedback/ErrorPage/Description.d.ts +5 -0
  342. package/dist/types/components/Feedback/ErrorPage/Details.d.ts +5 -0
  343. package/dist/types/components/Feedback/ErrorPage/ErrorPage.d.ts +6 -0
  344. package/dist/types/components/Feedback/ErrorPage/MissingAccesses.d.ts +10 -0
  345. package/dist/types/components/Feedback/ErrorPage/Title.d.ts +5 -0
  346. package/dist/types/components/Feedback/ErrorPage/illustrations/GlitchAnimation.d.ts +3 -0
  347. package/dist/types/components/Feedback/ErrorPage/illustrations/QuestioningAnimation.d.ts +3 -0
  348. package/dist/types/components/Feedback/ErrorPage/index.d.ts +16 -0
  349. package/dist/types/components/Feedback/FileProgress/CompactFileProgress.d.ts +6 -0
  350. package/dist/types/components/Feedback/FileProgress/CompactFileProgress.styles.d.ts +31 -0
  351. package/dist/types/components/Feedback/FileProgress/FileProgress.d.ts +28 -0
  352. package/dist/types/components/Feedback/FileProgress/FileProgress.utils.d.ts +2 -0
  353. package/dist/types/components/Feedback/FileProgress/RegularFileProgress.d.ts +6 -0
  354. package/dist/types/components/Feedback/FileProgress/RegularFileProgress.styles.d.ts +18 -0
  355. package/dist/types/components/Feedback/FullPageSpinner.d.ts +7 -0
  356. package/dist/types/components/Feedback/FullPageStatus.d.ts +8 -0
  357. package/dist/types/components/Feedback/PageNotFound.d.ts +3 -0
  358. package/dist/types/components/Feedback/Skeleton/Skeleton.styles.d.ts +4 -0
  359. package/dist/types/components/Feedback/Skeleton/SkeletonBase/SkeletonBase.d.ts +6 -0
  360. package/dist/types/components/Feedback/Skeleton/SkeletonGradient/SkeletonGradient.d.ts +6 -0
  361. package/dist/types/components/Feedback/Stepper/Step.d.ts +10 -0
  362. package/dist/types/components/Feedback/Stepper/StepLine.d.ts +6 -0
  363. package/dist/types/components/Feedback/Stepper/Stepper.d.ts +10 -0
  364. package/dist/types/components/Feedback/Unauthorized.d.ts +2 -0
  365. package/dist/types/components/Icons/AmplifyIcons.d.ts +36 -0
  366. package/dist/types/components/Icons/ApplicationIcon/Acquire.d.ts +3 -0
  367. package/dist/types/components/Icons/ApplicationIcon/ApplicationIcon.constants.d.ts +1 -0
  368. package/dist/types/components/Icons/ApplicationIcon/ApplicationIcon.d.ts +8 -0
  369. package/dist/types/components/Icons/ApplicationIcon/ApplicationIconBase.d.ts +16 -0
  370. package/dist/types/components/Icons/ApplicationIcon/ApplicationIconCollection.d.ts +16 -0
  371. package/dist/types/components/Icons/ApplicationIcon/Bravos.d.ts +3 -0
  372. package/dist/types/components/Icons/ApplicationIcon/Dasha.d.ts +3 -0
  373. package/dist/types/components/Icons/ApplicationIcon/Fallback.d.ts +3 -0
  374. package/dist/types/components/Icons/ApplicationIcon/FourDInsight.d.ts +3 -0
  375. package/dist/types/components/Icons/ApplicationIcon/InPress.d.ts +3 -0
  376. package/dist/types/components/Icons/ApplicationIcon/LoggingQualification.d.ts +3 -0
  377. package/dist/types/components/Icons/ApplicationIcon/Orca.d.ts +3 -0
  378. package/dist/types/components/Icons/ApplicationIcon/Portal.d.ts +3 -0
  379. package/dist/types/components/Icons/ApplicationIcon/Premo.d.ts +3 -0
  380. package/dist/types/components/Icons/ApplicationIcon/Pwex.d.ts +3 -0
  381. package/dist/types/components/Icons/ApplicationIcon/Recap.d.ts +3 -0
  382. package/dist/types/components/Icons/EquinorLogo.d.ts +8 -0
  383. package/dist/types/components/Icons/Fallback.d.ts +4 -0
  384. package/dist/types/components/Icons/FeedBackIcon/FeedBackIcon.d.ts +8 -0
  385. package/dist/types/components/Icons/FeedBackIcon/NegativeFilled.d.ts +4 -0
  386. package/dist/types/components/Icons/FeedBackIcon/NegativeOutlined.d.ts +4 -0
  387. package/dist/types/components/Icons/FeedBackIcon/PositiveFilled.d.ts +4 -0
  388. package/dist/types/components/Icons/FeedBackIcon/PositiveOutlined.d.ts +4 -0
  389. package/dist/types/components/Inputs/CommentField/CommentField.d.ts +13 -0
  390. package/dist/types/components/Inputs/CommentField/NewCommentField.d.ts +9 -0
  391. package/dist/types/components/Inputs/ContentMenu.d.ts +14 -0
  392. package/dist/types/components/Inputs/EditableField.d.ts +13 -0
  393. package/dist/types/components/Inputs/ExpandingIconButton/ExpandingIconButton.d.ts +12 -0
  394. package/dist/types/components/Inputs/FileUploadArea.d.ts +7 -0
  395. package/dist/types/components/Inputs/IconToggleButton.d.ts +22 -0
  396. package/dist/types/components/Inputs/RichTextEditor/MenuBar/AddImage.d.ts +7 -0
  397. package/dist/types/components/Inputs/RichTextEditor/MenuBar/Links.d.ts +3 -0
  398. package/dist/types/components/Inputs/RichTextEditor/MenuBar/MenuBar.d.ts +8 -0
  399. package/dist/types/components/Inputs/RichTextEditor/MenuBar/MenuBar.styles.d.ts +1 -0
  400. package/dist/types/components/Inputs/RichTextEditor/MenuBar/MenuButton.d.ts +15 -0
  401. package/dist/types/components/Inputs/RichTextEditor/MenuBar/TableBar.d.ts +3 -0
  402. package/dist/types/components/Inputs/RichTextEditor/MenuBar/TextColor.d.ts +3 -0
  403. package/dist/types/components/Inputs/RichTextEditor/RichTextEditor.d.ts +17 -0
  404. package/dist/types/components/Inputs/RichTextEditor/RichTextEditor.styles.d.ts +9 -0
  405. package/dist/types/components/Inputs/RichTextEditor/RichTextEditor.types.d.ts +18 -0
  406. package/dist/types/components/Inputs/RichTextEditor/custom-extensions/ExtendedImage.d.ts +10 -0
  407. package/dist/types/components/Inputs/Search/Search.d.ts +2 -0
  408. package/dist/types/components/Inputs/Select/ComboBox/ComboBox.d.ts +3 -0
  409. package/dist/types/components/Inputs/Select/GroupedSelectMenu.d.ts +2 -0
  410. package/dist/types/components/Inputs/Select/Select.d.ts +3 -0
  411. package/dist/types/components/Inputs/Select/Select.styles.d.ts +110 -0
  412. package/dist/types/components/Inputs/Select/Select.types.d.ts +69 -0
  413. package/dist/types/components/Inputs/Select/Select.utils.d.ts +6 -0
  414. package/dist/types/components/Inputs/Select/SelectMenu.d.ts +2 -0
  415. package/dist/types/components/Inputs/Select/SelectMenuItem.d.ts +2 -0
  416. package/dist/types/components/Inputs/Select/SingleSelect/SingleSelect.d.ts +3 -0
  417. package/dist/types/components/Inputs/SelectDrawer/MultiSelectDrawer.d.ts +29 -0
  418. package/dist/types/components/Inputs/SelectDrawer/OptionDrawer.d.ts +35 -0
  419. package/dist/types/components/Inputs/SelectDrawer/OptionDrawer.styles.d.ts +14 -0
  420. package/dist/types/components/Inputs/SelectDrawer/SingleSelectDrawer.d.ts +27 -0
  421. package/dist/types/components/Inputs/SelectDrawer/index.d.ts +11 -0
  422. package/dist/types/components/Inputs/SelectDrawer/stories/data.d.ts +7 -0
  423. package/dist/types/components/Inputs/Sieve/Filter.d.ts +13 -0
  424. package/dist/types/components/Inputs/Sieve/Sieve.d.ts +4 -0
  425. package/dist/types/components/Inputs/Sieve/Sieve.styles.d.ts +40 -0
  426. package/dist/types/components/Inputs/Sieve/Sieve.types.d.ts +25 -0
  427. package/dist/types/components/Inputs/Sieve/Sort.d.ts +9 -0
  428. package/dist/types/components/Inputs/SingleFilterMenu.d.ts +12 -0
  429. package/dist/types/components/Inputs/TextField/TextField.d.ts +3 -0
  430. package/dist/types/components/Navigation/PageWithTitle.d.ts +7 -0
  431. package/dist/types/components/Navigation/SelectField/ChangingField.d.ts +17 -0
  432. package/dist/types/components/Navigation/SelectField/SelectField.d.ts +12 -0
  433. package/dist/types/components/Navigation/SelectField/SelectorCard/SelectorCard.d.ts +9 -0
  434. package/dist/types/components/Navigation/SelectField/SelectorCard/Skeleton.d.ts +2 -0
  435. package/dist/types/components/Navigation/SideBar/CreateItem.d.ts +8 -0
  436. package/dist/types/components/Navigation/SideBar/CreateItem.styles.d.ts +19 -0
  437. package/dist/types/components/Navigation/SideBar/MenuItem.d.ts +18 -0
  438. package/dist/types/components/Navigation/SideBar/MenuItem.styles.d.ts +17 -0
  439. package/dist/types/components/Navigation/SideBar/SideBar.d.ts +16 -0
  440. package/dist/types/components/Navigation/SideBar/SideBar.styles.d.ts +8 -0
  441. package/dist/types/components/Navigation/SideBar/ToggleOpen.d.ts +7 -0
  442. package/dist/types/components/Navigation/SideBar/ToggleOpen.styles.d.ts +5 -0
  443. package/dist/types/components/Navigation/SideBar/index.d.ts +8 -0
  444. package/dist/types/components/Navigation/TableOfContents/TableOfContents.constants.d.ts +3 -0
  445. package/dist/types/components/Navigation/TableOfContents/TableOfContents.d.ts +8 -0
  446. package/dist/types/components/Navigation/TableOfContents/TableOfContents.styles.d.ts +814 -0
  447. package/dist/types/components/Navigation/TableOfContents/TableOfContents.types.d.ts +1 -0
  448. package/dist/types/components/Navigation/TableOfContents/TableOfContentsItem.d.ts +11 -0
  449. package/dist/types/components/Navigation/TopBar/Account/Account.d.ts +10 -0
  450. package/dist/types/components/Navigation/TopBar/Account/Account.styles.d.ts +16 -0
  451. package/dist/types/components/Navigation/TopBar/Account/stories/data.d.ts +9 -0
  452. package/dist/types/components/Navigation/TopBar/Actions.d.ts +2 -0
  453. package/dist/types/components/Navigation/TopBar/ApplicationDrawer/ApplicationDrawer.d.ts +3 -0
  454. package/dist/types/components/Navigation/TopBar/ApplicationDrawer/ApplicationDrawer.styles.d.ts +25 -0
  455. package/dist/types/components/Navigation/TopBar/FieldSelector.d.ts +9 -0
  456. package/dist/types/components/Navigation/TopBar/Guidelines/Colorbox.d.ts +5 -0
  457. package/dist/types/components/Navigation/TopBar/Guidelines/Guidelines.d.ts +10 -0
  458. package/dist/types/components/Navigation/TopBar/Guidelines/Item.d.ts +7 -0
  459. package/dist/types/components/Navigation/TopBar/Guidelines/Section.d.ts +7 -0
  460. package/dist/types/components/Navigation/TopBar/Guidelines/index.d.ts +8 -0
  461. package/dist/types/components/Navigation/TopBar/Notifications/FilterOptions.d.ts +10 -0
  462. package/dist/types/components/Navigation/TopBar/Notifications/NotificationProvider.d.ts +12 -0
  463. package/dist/types/components/Navigation/TopBar/Notifications/Notifications.d.ts +4 -0
  464. package/dist/types/components/Navigation/TopBar/Notifications/NotificationsInner.d.ts +10 -0
  465. package/dist/types/components/Navigation/TopBar/Notifications/NotificationsTemplate/NotificationElements/DeafultNotification.d.ts +4 -0
  466. package/dist/types/components/Navigation/TopBar/Notifications/NotificationsTemplate/NotificationElements/ExperienceDue3Weeks.d.ts +7 -0
  467. package/dist/types/components/Navigation/TopBar/Notifications/NotificationsTemplate/NotificationElements/MergedBranchOrca.d.ts +7 -0
  468. package/dist/types/components/Navigation/TopBar/Notifications/NotificationsTemplate/NotificationElements/NoNotifications.d.ts +3 -0
  469. package/dist/types/components/Navigation/TopBar/Notifications/NotificationsTemplate/NotificationElements/ReadyToBePublished.d.ts +7 -0
  470. package/dist/types/components/Navigation/TopBar/Notifications/NotificationsTemplate/NotificationElements/ReadyToReportNotification.d.ts +7 -0
  471. package/dist/types/components/Navigation/TopBar/Notifications/NotificationsTemplate/NotificationElements/RequestChangeOrca.d.ts +7 -0
  472. package/dist/types/components/Navigation/TopBar/Notifications/NotificationsTemplate/NotificationElements/RequestReviewOrca.d.ts +7 -0
  473. package/dist/types/components/Navigation/TopBar/Notifications/NotificationsTemplate/NotificationElements/ReviewQANotification.d.ts +7 -0
  474. package/dist/types/components/Navigation/TopBar/Notifications/NotificationsTemplate/NotificationElements/SystemUserDefault.d.ts +7 -0
  475. package/dist/types/components/Navigation/TopBar/Notifications/NotificationsTemplate/NotificationTemplate.d.ts +4 -0
  476. package/dist/types/components/Navigation/TopBar/Notifications/NotificationsTemplate/NotificationTemplate.style.d.ts +37 -0
  477. package/dist/types/components/Navigation/TopBar/Notifications/NotificationsTemplate/Notifications.types.d.ts +96 -0
  478. package/dist/types/components/Navigation/TopBar/Resources/Feedback/Feedback.const.d.ts +9 -0
  479. package/dist/types/components/Navigation/TopBar/Resources/Feedback/Feedback.d.ts +9 -0
  480. package/dist/types/components/Navigation/TopBar/Resources/Feedback/Feedback.styles.d.ts +8 -0
  481. package/dist/types/components/Navigation/TopBar/Resources/Feedback/Feedback.types.d.ts +57 -0
  482. package/dist/types/components/Navigation/TopBar/Resources/Feedback/Feedback.utils.d.ts +9 -0
  483. package/dist/types/components/Navigation/TopBar/Resources/Feedback/FeedbackForm/FeedbackForm.d.ts +3 -0
  484. package/dist/types/components/Navigation/TopBar/Resources/Feedback/FeedbackForm/components/Description.d.ts +3 -0
  485. package/dist/types/components/Navigation/TopBar/Resources/Feedback/FeedbackForm/components/LockedInputTooltip.d.ts +7 -0
  486. package/dist/types/components/Navigation/TopBar/Resources/Feedback/FeedbackForm/components/Severity.d.ts +3 -0
  487. package/dist/types/components/Navigation/TopBar/Resources/Feedback/FeedbackForm/components/Title.d.ts +3 -0
  488. package/dist/types/components/Navigation/TopBar/Resources/Feedback/FeedbackForm/components/UploadFile/ImageFile.d.ts +14 -0
  489. package/dist/types/components/Navigation/TopBar/Resources/Feedback/FeedbackForm/components/UploadFile/UploadFile.d.ts +4 -0
  490. package/dist/types/components/Navigation/TopBar/Resources/Feedback/FeedbackForm/components/UploadFile/UploadFile.styles.d.ts +20 -0
  491. package/dist/types/components/Navigation/TopBar/Resources/Feedback/FeedbackForm/components/Url.d.ts +3 -0
  492. package/dist/types/components/Navigation/TopBar/Resources/Feedback/FeedbackInner.d.ts +3 -0
  493. package/dist/types/components/Navigation/TopBar/Resources/Feedback/ResponsePage/AnimateChangeInHeight.d.ts +6 -0
  494. package/dist/types/components/Navigation/TopBar/Resources/Feedback/ResponsePage/FullSlackResponse.d.ts +7 -0
  495. package/dist/types/components/Navigation/TopBar/Resources/Feedback/ResponsePage/RequestStatus.d.ts +8 -0
  496. package/dist/types/components/Navigation/TopBar/Resources/Feedback/ResponsePage/ResponsePage.d.ts +3 -0
  497. package/dist/types/components/Navigation/TopBar/Resources/Feedback/ResponsePage/ResponsePage.styles.d.ts +5 -0
  498. package/dist/types/components/Navigation/TopBar/Resources/Feedback/ResponsePage/ResponseStatus.d.ts +3 -0
  499. package/dist/types/components/Navigation/TopBar/Resources/Feedback/ResponsePage/Success.d.ts +4 -0
  500. package/dist/types/components/Navigation/TopBar/Resources/Feedback/hooks/useFeedbackContext.d.ts +2 -0
  501. package/dist/types/components/Navigation/TopBar/Resources/Feedback/hooks/useServiceNowIncident.d.ts +2 -0
  502. package/dist/types/components/Navigation/TopBar/Resources/Feedback/hooks/useSlackFileUpload.d.ts +2 -0
  503. package/dist/types/components/Navigation/TopBar/Resources/Feedback/hooks/useSlackPostMessage.d.ts +2 -0
  504. package/dist/types/components/Navigation/TopBar/Resources/Feedback/providers/FeedbackContextProvider.d.ts +37 -0
  505. package/dist/types/components/Navigation/TopBar/Resources/ReleaseNotesDialog/Filters/FilterHeader.d.ts +3 -0
  506. package/dist/types/components/Navigation/TopBar/Resources/ReleaseNotesDialog/Filters/FilterHeader.styles.d.ts +5 -0
  507. package/dist/types/components/Navigation/TopBar/Resources/ReleaseNotesDialog/ReleaseNotes.d.ts +6 -0
  508. package/dist/types/components/Navigation/TopBar/Resources/ReleaseNotesDialog/ReleaseNotes.styles.d.ts +25 -0
  509. package/dist/types/components/Navigation/TopBar/Resources/ReleaseNotesDialog/ReleaseNotesHeader.d.ts +3 -0
  510. package/dist/types/components/Navigation/TopBar/Resources/ReleaseNotesDialog/ReleaseNotesHeader.styles.d.ts +4 -0
  511. package/dist/types/components/Navigation/TopBar/Resources/ReleaseNotesDialog/ReleaseNotesTypes/ReleaseNotesTypes.d.ts +4 -0
  512. package/dist/types/components/Navigation/TopBar/Resources/ReleaseNotesDialog/ReleaseNotesTypes/ReleaseNotesTypes.styles.d.ts +19 -0
  513. package/dist/types/components/Navigation/TopBar/Resources/ReleaseNotesDialog/ReleaseNotesTypes/ReleaseNotesTypes.types.d.ts +19 -0
  514. package/dist/types/components/Navigation/TopBar/Resources/ReleaseNotesDialog/ReleasePosts/ReleasePost.d.ts +4 -0
  515. package/dist/types/components/Navigation/TopBar/Resources/ReleaseNotesDialog/ReleasePosts/ReleasePost.styles.d.ts +28 -0
  516. package/dist/types/components/Navigation/TopBar/Resources/ReleaseNotesDialog/ReleasePosts/ReleasePosts.d.ts +7 -0
  517. package/dist/types/components/Navigation/TopBar/Resources/ReleaseNotesDialog/ReleasePosts/ReleasePosts.styles.d.ts +3 -0
  518. package/dist/types/components/Navigation/TopBar/Resources/ReleaseNotesDialog/ReleasePosts/hooks/useTokenReleaseNote.d.ts +1 -0
  519. package/dist/types/components/Navigation/TopBar/Resources/ReleaseNotesDialog/TextContent.d.ts +6 -0
  520. package/dist/types/components/Navigation/TopBar/Resources/ResourceMenuItem.d.ts +12 -0
  521. package/dist/types/components/Navigation/TopBar/Resources/Resources.d.ts +13 -0
  522. package/dist/types/components/Navigation/TopBar/Resources/TransferToAppDialog.d.ts +8 -0
  523. package/dist/types/components/Navigation/TopBar/Resources/Tutorials/TutorialInfoDialog.d.ts +15 -0
  524. package/dist/types/components/Navigation/TopBar/Resources/Tutorials/TutorialItem.d.ts +4 -0
  525. package/dist/types/components/Navigation/TopBar/Settings.d.ts +20 -0
  526. package/dist/types/components/Navigation/TopBar/TopBar.d.ts +16 -0
  527. package/dist/types/components/Navigation/TopBar/TopBar.styles.d.ts +50 -0
  528. package/dist/types/components/Navigation/TopBar/TopBarMenu.d.ts +13 -0
  529. package/dist/types/components/Navigation/TopBar/index.d.ts +23 -0
  530. package/dist/types/components/Template/Template.d.ts +14 -0
  531. package/dist/types/components/Visuals/Waves/VisualWaves.d.ts +9 -0
  532. package/dist/types/components/Visuals/Waves/WaveShapeWithNoise.d.ts +7 -0
  533. package/dist/types/components/index.d.ts +104 -0
  534. package/dist/types/constants/colors.d.ts +7 -0
  535. package/dist/types/constants/index.d.ts +2 -0
  536. package/dist/types/hooks/index.d.ts +17 -0
  537. package/dist/types/hooks/useDebounce.d.ts +1 -0
  538. package/dist/types/hooks/useFakeProgress.d.ts +10 -0
  539. package/dist/types/hooks/useFeatureToggling.d.ts +3 -0
  540. package/dist/types/hooks/useLocalStorage.d.ts +4 -0
  541. package/dist/types/hooks/useOnScreen.d.ts +4 -0
  542. package/dist/types/hooks/usePrevious.d.ts +1 -0
  543. package/dist/types/hooks/useReleaseNotesQuery.d.ts +6 -0
  544. package/dist/types/hooks/useSelect.d.ts +22 -0
  545. package/dist/types/hooks/useSignalRMessages.d.ts +12 -0
  546. package/dist/types/index.d.ts +20 -0
  547. package/dist/types/providers/AuthProvider/AuthProvider.d.ts +17 -0
  548. package/dist/types/providers/AuthProvider/AuthProviderInner.d.ts +16 -0
  549. package/dist/types/providers/FeatureToggleProvider.d.ts +14 -0
  550. package/dist/types/providers/ReleaseNotesProvider.d.ts +21 -0
  551. package/dist/types/providers/SideBarProvider.d.ts +10 -0
  552. package/dist/types/providers/SnackbarProvider.d.ts +21 -0
  553. package/dist/types/providers/TableOfContentsProvider.d.ts +26 -0
  554. package/dist/types/providers/TableOfContentsProvider.utils.d.ts +2 -0
  555. package/dist/types/providers/TutorialProvider/TutorialDialog.d.ts +3 -0
  556. package/dist/types/providers/TutorialProvider/TutorialProvider.const.d.ts +7 -0
  557. package/dist/types/providers/TutorialProvider/TutorialProvider.d.ts +30 -0
  558. package/dist/types/providers/TutorialProvider/TutorialProvider.hooks.d.ts +3 -0
  559. package/dist/types/providers/TutorialProvider/TutorialProvider.styles.d.ts +26 -0
  560. package/dist/types/providers/TutorialProvider/TutorialProvider.types.d.ts +11 -0
  561. package/dist/types/providers/TutorialProvider/TutorialProvider.utils.d.ts +3 -0
  562. package/dist/types/providers/TutorialProvider/TutorialProviderInner.d.ts +3 -0
  563. package/dist/types/providers/TutorialProvider/TutorialStepIndicator.d.ts +8 -0
  564. package/dist/types/providers/TutorialStepsProvider.d.ts +13 -0
  565. package/dist/types/providers/index.d.ts +10 -0
  566. package/dist/types/storybook/InfoCard.d.ts +8 -0
  567. package/dist/types/storybook/Links.d.ts +9 -0
  568. package/dist/types/storybook/PropsTable.d.ts +10 -0
  569. package/dist/types/storybook/Stack.d.ts +9 -0
  570. package/dist/types/storybook/Story.d.ts +2 -0
  571. package/dist/types/storybook/index.d.ts +6 -0
  572. package/dist/types/storybook/useMockProgress.d.ts +1 -0
  573. package/dist/types/style/darkTokens.d.ts +1 -0
  574. package/dist/types/style/index.d.ts +2 -0
  575. package/dist/types/style/spacingTokens.d.ts +1 -0
  576. package/dist/types/style/spacings.d.ts +11 -0
  577. package/dist/types/tests/browserMocks.d.ts +24 -0
  578. package/dist/types/tests/setupTests.d.ts +2 -0
  579. package/dist/types/tests/test-utils.d.ts +6 -0
  580. package/dist/types/types/Environment.d.ts +6 -0
  581. package/dist/types/types/Errors.d.ts +19 -0
  582. package/dist/types/types/Field.d.ts +5 -0
  583. package/dist/types/types/Guidelines.d.ts +14 -0
  584. package/dist/types/types/Icon.d.ts +7 -0
  585. package/dist/types/types/index.d.ts +5 -0
  586. package/dist/types/utils/UtilStory.d.ts +7 -0
  587. package/dist/types/utils/auth_environment.d.ts +47 -0
  588. package/dist/types/utils/coordinate.d.ts +7 -0
  589. package/dist/types/utils/date.d.ts +15 -0
  590. package/dist/types/utils/errors.d.ts +8 -0
  591. package/dist/types/utils/export.d.ts +3 -0
  592. package/dist/types/utils/favicon.d.ts +4 -0
  593. package/dist/types/utils/index.d.ts +12 -0
  594. package/dist/types/utils/map.d.ts +14 -0
  595. package/dist/types/utils/releaseNotes.d.ts +18 -0
  596. package/dist/types/utils/size.d.ts +5 -0
  597. package/dist/types/utils/sort.d.ts +10 -0
  598. package/dist/types/utils/string.d.ts +5 -0
  599. package/dist/types/utils/url.d.ts +5 -0
  600. package/package.json +178 -0
package/LICENSE.md ADDED
@@ -0,0 +1,7 @@
1
+ ISC License
2
+
3
+ Copyright 2023 equinor
4
+
5
+ Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.
6
+
7
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,66 @@
1
+
2
+ <img alt="intro-logo" src="https://raw.githubusercontent.com/equinor/amplify-components/main/static/amplify_logo.png" width="300px" />
3
+
4
+ This package contains components, utils, providers and hooks developed and used by the amplify team.
5
+
6
+ # Quick links
7
+ - [Storybook](https://storybook-amplify-components.app.radix.equinor.com/)
8
+
9
+ # Building amplify-components
10
+
11
+ Build and publish is done automatically when code is merged into `main` branch, if the package.json version number is higher.
12
+ To increase the version number use `npm run version <type>` and specify what type of [versioning](https://github.com/theogravity/version-bump#quick-start-usage).
13
+
14
+ # Using config files from amplify-components
15
+
16
+ 1. Navigate to your projects root folder, `~/Projects/recap` for instance
17
+
18
+ 2. Copy and run the following command
19
+ ```bash
20
+ wget -q -O - https://raw.githubusercontent.com/equinor/amplify-components/main/config/install.sh | bash
21
+ ```
22
+
23
+
24
+ This should have downloaded the `.eslintrc.cjs`, `.prettierignore`, `.prettierrc.jr`, `tsconfig.json`, `env.sh`, `Dockerfile`, `proxy/nginx.conf`, `proxy/securityheaders.conf` and github actions workflow files
25
+
26
+ # Using github action workflows related to deploying from github from amplify-components
27
+
28
+ 1. Navigate to your projects root folder, `~/Projects/recap` for instance
29
+
30
+ 2. Copy and run the following command
31
+ ```bash
32
+ wget -q -O - https://raw.githubusercontent.com/equinor/amplify-components/main/config/install-deployment-files.sh | bash
33
+ ```
34
+
35
+ This should have downloaded the `build_deploy_radix.yaml`, `promote.yaml`, `notify.yaml`, `push.yaml`
36
+
37
+ NOTE: These files should eventually be served from the same install script we use for getting other config files. We serve it from a different script so that applications which are not ready for the change in deployment process don't have to rush.
38
+
39
+ ## Notes
40
+
41
+ This script assumes the following structure in the project
42
+ ```
43
+ project
44
+ │ README.md
45
+
46
+ └───client
47
+ │ | ...
48
+
49
+ └───server
50
+ │ ...
51
+ ```
52
+
53
+ # Installing pre-commit hook in an application
54
+
55
+ 1. Navigate to your projects root folder, `~/Projects/recap` for instance
56
+
57
+ 2. Copy and run the following command
58
+ ```bash
59
+ wget -q -O - https://raw.githubusercontent.com/equinor/amplify-components/main/config/precommit/install.sh | bash
60
+ ```
61
+
62
+ This should have downloaded a `package.json` file in the root of the project, created (if it didn't exist) the `tooling` folder.
63
+ You should also see a `.husky` folder in the root of the project with a file called `pre-commit` inside
64
+
65
+ # Latest version
66
+ [![main](https://img.shields.io/npm/v/@equinor/amplify-components?color=%23c3f3d2&label=%40equinor%2Famplify-components&logo=npm&)](https://www.npmjs.com/package/@equinor/amplify-components)
@@ -0,0 +1 @@
1
+ var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};export{e as commonjsGlobal};
@@ -0,0 +1 @@
1
+ var e={exports:{}};export{e as __module};
@@ -0,0 +1 @@
1
+ class t extends Error{url;status;statusText;body;request;constructor(t,s,r){super(r),this.name="ApiError",this.url=s.url,this.status=s.status,this.statusText=s.statusText,this.body=s.body,this.request=t}}export{t as ApiError};
@@ -0,0 +1 @@
1
+ class e extends Error{constructor(e){super(e),this.name="CancelError"}get isCancelled(){return!0}}class s{[Symbol.toStringTag];_isResolved;_isRejected;_isCancelled;_cancelHandlers;_promise;_resolve;_reject;constructor(e){this._isResolved=!1,this._isRejected=!1,this._isCancelled=!1,this._cancelHandlers=[],this._promise=new Promise(((s,t)=>{this._resolve=s,this._reject=t;const i=e=>{this._isResolved||this._isRejected||this._isCancelled||this._cancelHandlers.push(e)};return Object.defineProperty(i,"isResolved",{get:()=>this._isResolved}),Object.defineProperty(i,"isRejected",{get:()=>this._isRejected}),Object.defineProperty(i,"isCancelled",{get:()=>this._isCancelled}),e((e=>{this._isResolved||this._isRejected||this._isCancelled||(this._isResolved=!0,this._resolve?.(e))}),(e=>{this._isResolved||this._isRejected||this._isCancelled||(this._isRejected=!0,this._reject?.(e))}),i)}))}then(e,s){return this._promise.then(e,s)}catch(e){return this._promise.catch(e)}finally(e){return this._promise.finally(e)}cancel(){if(!(this._isResolved||this._isRejected||this._isCancelled)){if(this._isCancelled=!0,this._cancelHandlers.length)try{for(const e of this._cancelHandlers)e()}catch(e){return void console.warn("Cancellation threw an error",e)}this._cancelHandlers.length=0,this._reject?.(new e("Request aborted"))}}get isCancelled(){return this._isCancelled}}export{e as CancelError,s as CancelablePromise};
@@ -0,0 +1 @@
1
+ import{auth as o,environment as t}from"../../utils/auth_environment.js";import"react/jsx-runtime";import"../../components/Feedback/ErrorPage/illustrations/GlitchAnimation.js";import"../../components/Feedback/ErrorPage/illustrations/QuestioningAnimation.js";import"../../types/Errors.js";import"html2canvas";import"proj4";import{request as r}from"./request.js";import{getLocalStorage as i,updateLocalStorage as e}from"../../hooks/useLocalStorage.js";import{jwtDecode as n}from"jwt-decode";const{getToken:E}=o,{getApiUrl:a,getEnvironmentName:m}=t,p=m(import.meta.env.VITE_ENVIRONMENT_NAME),l="localhost"===p?"development":p;class s{static getAmplifyPortalToken(){return r(u,{method:"GET",url:"/api/v1/Token/AmplifyPortal"})}static getAmplifyPortalProductionToken(){return r(u,{method:"GET",url:"/api/v1/Token/AmplifyPortal/Production"})}}const c=o=>{if(0===o.length)return!1;try{return!(o=>{const t=n(o),r=(new Date).getTime()/1e3;return t.exp&&r>t.exp})(o)}catch(o){return!1}},A=async(o,t)=>{const r=i(o,"");if(c(r))return r;const n=await t();return e(o,n),n},d=async()=>A(`amplify-portal-${p}`,s.getAmplifyPortalToken),u={BASE:a(import.meta.env.VITE_API_URL),VERSION:"1.0",WITH_CREDENTIALS:!1,CREDENTIALS:"include",TOKEN:E,USERNAME:void 0,PASSWORD:void 0,HEADERS:void 0,ENCODE_PATH:void 0},T={BASE:`https://api-amplify-portal-${l}.radix.equinor.com`,VERSION:"1.0",WITH_CREDENTIALS:!1,CREDENTIALS:"include",TOKEN:d,USERNAME:void 0,PASSWORD:void 0,HEADERS:void 0,ENCODE_PATH:void 0},S={BASE:"https://api-amplify-portal-production.radix.equinor.com",VERSION:"1.0",WITH_CREDENTIALS:!1,CREDENTIALS:"include",TOKEN:async()=>A("amplify-portal-production",s.getAmplifyPortalProductionToken),USERNAME:void 0,PASSWORD:void 0,HEADERS:void 0,ENCODE_PATH:void 0};export{u as OpenAPI,T as OpenAPI_Portal,S as OpenAPI_Portal_Prod,s as TokenService,d as getPortalToken};
@@ -0,0 +1 @@
1
+ import{ApiError as e}from"./ApiError.js";import{CancelablePromise as t}from"./CancelablePromise.js";const r=e=>null!=e,o=e=>"string"==typeof e,n=e=>o(e)&&""!==e,a=e=>"object"==typeof e&&"string"==typeof e.type&&"function"==typeof e.stream&&"function"==typeof e.arrayBuffer&&"function"==typeof e.constructor&&"string"==typeof e.constructor.name&&/^(Blob|File)$/.test(e.constructor.name)&&/^(Blob|File)$/.test(e[Symbol.toStringTag]),s=e=>e instanceof FormData,i=e=>{const t=[],o=(e,n)=>{r(n)&&(Array.isArray(n)?n.forEach((t=>{o(e,t)})):"object"==typeof n?Object.entries(n).forEach((([t,r])=>{o(`${e}[${t}]`,r)})):((e,r)=>{t.push(`${encodeURIComponent(e)}=${encodeURIComponent(String(r))}`)})(e,n))};return Object.entries(e).forEach((([e,t])=>{o(e,t)})),t.length>0?`?${t.join("&")}`:""},c=async(e,t)=>"function"==typeof t?t(e):t,p=async(e,t)=>{const i=await c(t,e.TOKEN),p=await c(t,e.USERNAME),y=await c(t,e.PASSWORD),f=await c(t,e.HEADERS),d=Object.entries({Accept:"application/json",...f,...t.headers}).filter((([e,t])=>r(t))).reduce(((e,[t,r])=>({...e,[t]:String(r)})),{});if(n(i)&&(d.Authorization=`Bearer ${i}`),n(p)&&n(y)){const e=(e=>{try{return btoa(e)}catch(t){return Buffer.from(e).toString("base64")}})(`${p}:${y}`);d.Authorization=`Basic ${e}`}return t.body&&(t.mediaType?d["Content-Type"]=t.mediaType:a(t.body)?d["Content-Type"]=t.body.type||"application/octet-stream":o(t.body)?d["Content-Type"]="text/plain":s(t.body)||(d["Content-Type"]="application/json")),new Headers(d)},y=async(e,t,r,o,n,a,s)=>{const i=new XMLHttpRequest;return i.open(t.method,r,!0),i.withCredentials=e.WITH_CREDENTIALS,a.forEach(((e,t)=>{i.setRequestHeader(t,e)})),new Promise(((e,t)=>{i.onload=()=>e(i),i.onabort=()=>t(new Error("Request aborted")),i.onerror=()=>t(new Error("Network error")),i.send(o??n),s((()=>i.abort()))}))},f=(n,c)=>new t((async(t,f,d)=>{try{const f=((e,t)=>{const r=e.ENCODE_PATH||encodeURI,o=t.url.replace("{api-version}",e.VERSION).replace(/{(.*?)}/g,((e,o)=>t.path?.hasOwnProperty(o)?r(String(t.path[o])):e)),n=`${e.BASE}${o}`;return t.query?`${n}${i(t.query)}`:n})(n,c),b=(e=>{if(e.formData){const t=new FormData,n=(e,r)=>{o(r)||a(r)?t.append(e,r):t.append(e,JSON.stringify(r))};return Object.entries(e.formData).filter((([e,t])=>r(t))).forEach((([e,t])=>{Array.isArray(t)?t.forEach((t=>n(e,t))):n(e,t)})),t}})(c),l=(e=>{if(e.body)return e.mediaType?.includes("/json")?JSON.stringify(e.body):o(e.body)||a(e.body)||s(e.body)?e.body:JSON.stringify(e.body)})(c),h=await p(n,c);if(!d.isCancelled){const r=await y(n,c,f,l,b,h,d),a=(e=>{if(204!==e.status)try{const t=e.getResponseHeader("Content-Type");if(t)return t.toLowerCase().startsWith("application/json")?JSON.parse(e.responseText):e.responseText}catch(e){console.error(e)}})(r),s=((e,t)=>{if(t){const r=e.getResponseHeader(t);if(o(r))return r}})(r,c.responseHeader),i={url:f,ok:(u=r.status,u>=200&&u<300),status:r.status,statusText:r.statusText,body:s??a};((t,r)=>{const o={400:"Bad Request",401:"Unauthorized",403:"Forbidden",404:"Not Found",500:"Internal Server Error",502:"Bad Gateway",503:"Service Unavailable",...t.errors}[r.status];if(o)throw new e(t,r,o);if(!r.ok)throw new e(t,r,"Generic Error")})(c,i),t(i.body)}}catch(e){f(e)}var u}));export{f as request,y as sendRequest};
@@ -0,0 +1 @@
1
+ var r;!function(r){r.CRITICAL="Critical",r.MODERATE="Moderate",r.NORMAL="Normal"}(r||(r={}));export{r as ServiceNowUrgency};
@@ -0,0 +1 @@
1
+ var T;!function(T){T.TOP_LEFT="TOP_LEFT",T.TOP_RIGHT="TOP_RIGHT",T.BOTTOM_LEFT="BOTTOM_LEFT",T.BOTTOM_RIGHT="BOTTOM_RIGHT",T.CENTER="CENTER"}(T||(T={}));export{T as TutorialPosition};
@@ -0,0 +1 @@
1
+ import{OpenAPI_Portal as e,OpenAPI_Portal_Prod as r}from"../core/OpenAPI.js";import{request as t}from"../core/request.js";import"../models/TutorialPosition.js";import"../models/ServiceNowUrgency.js";class o{static createIncident(r){return t(e,{method:"POST",url:"/api/v1/ServiceNow/incident",body:r})}static fileUpload(r){return t(e,{method:"POST",url:"/api/v1/Slack/fileUpload",body:r})}static postmessage(r){return t(e,{method:"POST",url:"/api/v1/Slack/postmessage",body:r})}static getFeatureToggleFromApplicationName(e){return t(r,{method:"GET",url:"/api/v1/FeatureToggle/{applicationName}",path:{applicationName:e},errors:{400:"Bad Request",404:"Not Found",500:"Server Error"}})}static userApplications(){return t(e,{method:"GET",url:"/api/v1/AmplifyApplication/userapplications",errors:{400:"Bad Request",500:"Server Error"}})}}export{o as PortalService};
@@ -0,0 +1 @@
1
+ import{OpenAPI_Portal as e}from"../core/OpenAPI.js";import{request as t}from"../core/request.js";class a{static getReleasenoteList(a,r,s){return t(e,{method:"GET",url:"/api/v1/ReleaseNotes",query:{applicationName:a,version:r,tags:s}})}static getMyReleasenotes(){return t(e,{method:"GET",url:"/api/v1/ReleaseNotes/myreleasenotes"})}static getReleasenote(a,r){return t(e,{method:"GET",url:"/api/v1/ReleaseNotes/{applicationName}/{releaseId}",path:{applicationName:a,releaseId:r}})}static getContainerSasUri(){return t(e,{method:"GET",url:"/api/v1/ReleaseNotes/GetContainerSasUri",errors:{401:"Unauthorized"}})}}export{a as ReleaseNotesService};
@@ -0,0 +1 @@
1
+ import{OpenAPI_Portal_Prod as t}from"../core/OpenAPI.js";import{request as o}from"../core/request.js";class r{static getTutorialsForApplication(r){return o(t,{method:"GET",url:"/api/v1/Tutorial/{applicationName}",path:{applicationName:r}})}static getTutorialSasToken(){return o(t,{method:"GET",url:"/api/v1/Tutorial/SASToken"})}}export{r as TutorialService};
@@ -0,0 +1 @@
1
+ import{jsx as a}from"react/jsx-runtime";import{Typography as r}from"@equinor/eds-core-react";import{Container as t}from"./Badge.styles.js";const e=({value:e,variant:i="default"})=>a(t,{"data-testid":"badge-container",$variant:i,children:a(r,{as:"span",variant:"label",group:"navigation",children:e})});export{e as Badge};
@@ -0,0 +1,17 @@
1
+ import{tokens as t}from"../../../node_modules/@equinor/eds-tokens/dist/esm/base/index.js";import{spacings as r}from"../../../style/spacings.js";import e from"styled-components";const{colors:i,shape:o}=t,a=t=>({light:{background:"rgba(235, 235, 235, 1)",color:i.text.static_icons__tertiary.rgba},danger:{background:i.interactive.danger__resting.rgba,color:i.text.static_icons__primary_white.rgba},empty:{background:i.interactive.disabled__fill.rgba,color:i.interactive.disabled__text.rgba},default:{background:i.text.static_icons__tertiary.rgba,color:i.text.static_icons__primary_white.rgba}}[t]),n=e.div`
2
+ display: flex;
3
+ align-items: center;
4
+ justify-content: center;
5
+ > span {
6
+ font-weight: 500;
7
+ font-size: 12px;
8
+ color: ${({$variant:t})=>a(t).color};
9
+ padding: 0 ${r.x_small};
10
+ line-height: normal;
11
+ }
12
+ background: ${({$variant:t})=>a(t).background};
13
+ min-width: 16px;
14
+ width: fit-content;
15
+ height: 16px;
16
+ border-radius: ${o.rounded.borderRadius};
17
+ `;export{n as Container};
@@ -0,0 +1 @@
1
+ import{jsx as e}from"react/jsx-runtime";import{Children as r,isValidElement as n,Fragment as i}from"react";import{InteractiveChip as s}from"./InteractiveChip.js";import{ReadOnlyChip as t}from"./ReadOnlyChip.js";const p=({children:p,variant:c,disabled:l,onClick:o,onDelete:a,...d})=>{const h={...d,children:p,variant:c,disabled:l,onClick:o,onDelete:a},m=s=>{const t=[];return r.map(s,((s,p)=>{if(n(s)){const c=s;c.type===i&&c.props.children?r.map(c.props.children,((r,i)=>{n(r)&&0===i?t.push(e("div",{className:"leading",children:r},`${p}-${i}`)):"string"==typeof r||"number"==typeof r?t.push(e("span",{children:r},`${p}-${i}`)):t.push(r)})):0===p?t.push(e("div",{className:"leading",children:c},p)):t.push(c)}else t.push(e("span",{children:s},p))})),t};if(o||a){const r={...h},n=m(p);return e(s,{...r,children:n})}{const r={...h},n=m(p);return e(t,{...r,children:n})}};p.displayName="Chip";export{p as Chip};
@@ -0,0 +1,72 @@
1
+ import{tokens as r}from"../../../node_modules/@equinor/eds-tokens/dist/esm/base/index.js";import e,{css as o}from"styled-components";const{colors:a}=r,i={default:{color:`${a.interactive.primary__resting.rgba}`,background:`${a.ui.background__light.rgba}`,borderColor:`${a.ui.background__medium.rgba}`,hover:{background:`${a.interactive.primary__hover_alt.rgba}`,color:`${a.interactive.primary__hover.rgba}`,borderColor:`${a.interactive.primary__hover.rgba}`},disabled:{color:`${a.interactive.disabled__text.rgba}`,background:`${a.interactive.disabled__fill.rgba}`,borderColor:`${a.interactive.disabled__border.rgba}`}},active:{color:`${a.interactive.primary__resting.rgba}`,background:`${a.interactive.primary__selected_highlight.rgba}`,borderColor:`${a.interactive.primary__selected_hover.rgba}`,hover:{color:`${a.interactive.primary__hover.rgba}`,background:`${a.interactive.primary__selected_hover.rgba}`,borderColor:`${a.interactive.primary__hover.rgba}`},disabled:{color:`${a.interactive.disabled__text.rgba}`,background:`${a.interactive.disabled__fill.rgba}`,borderColor:`${a.interactive.disabled__border.rgba}`}},warning:{color:`${a.interactive.warning__text.rgba}`,background:`${a.ui.background__light.rgba}`,borderColor:`${a.interactive.warning__resting.rgba}`,hover:{color:`${a.interactive.warning__hover.rgba}`,background:`${a.ui.background__warning.rgba}`,borderColor:`${a.interactive.warning__hover.rgba}`},disabled:{color:`${a.interactive.disabled__text.rgba}`,background:`${a.interactive.disabled__fill.rgba}`,borderColor:`${a.interactive.disabled__border.rgba}`}},"warning-active":{color:`${a.interactive.warning__text.rgba}`,background:`${a.interactive.primary__selected_highlight.rgba}`,borderColor:`${a.interactive.warning__resting.rgba}`,hover:{color:`${a.interactive.warning__hover.rgba}`,background:`${a.interactive.primary__selected_hover.rgba}`,borderColor:`${a.interactive.warning__hover.rgba}`},disabled:{color:`${a.interactive.disabled__text.rgba}`,background:`${a.interactive.disabled__fill.rgba}`,borderColor:`${a.interactive.warning__highlight.rgba}`}},error:{color:`${a.interactive.danger__text.rgba}`,background:`${a.ui.background__light.rgba}`,borderColor:`${a.interactive.danger__resting.rgba}`,hover:{color:`${a.interactive.danger__hover.rgba}`,background:`${a.ui.background__danger.rgba}`,borderColor:`${a.interactive.danger__hover.rgba}`},disabled:{color:`${a.interactive.disabled__text.rgba}`,background:`${a.interactive.disabled__fill.rgba}`,borderColor:`${a.interactive.disabled__border.rgba}`}},"error-active":{color:`${a.interactive.danger__text.rgba}`,background:`${a.interactive.primary__selected_highlight.rgba}`,borderColor:`${a.interactive.danger__resting.rgba}`,hover:{color:`${a.interactive.danger__hover.rgba}`,background:`${a.interactive.primary__selected_hover.rgba}`,borderColor:`${a.interactive.danger__hover.rgba}`},disabled:{color:`${a.interactive.disabled__text.rgba}`,background:`${a.interactive.disabled__fill.rgba}`,borderColor:`${a.interactive.danger__highlight.rgba}`}}},t=o`
2
+ border: 1px solid ${a.ui.background__medium.rgba};
3
+ cursor: pointer;
4
+ display: flex;
5
+ width: fit-content;
6
+ border-radius: ${r.shape.rounded.borderRadius};
7
+ font-family: 'Equinor', sans-serif;
8
+ font-weight: 500;
9
+ font-size: ${r.typography.ui.chip__badge.fontSize};
10
+ line-height: 16px;
11
+ text-align: center;
12
+ transition:
13
+ background-color 150ms ease,
14
+ border 150ms ease,
15
+ color 150ms ease;
16
+ padding: ${r.spacings.comfortable.x_small};
17
+
18
+ .content {
19
+ padding: 0 ${r.spacings.comfortable.small};
20
+ display: flex;
21
+ align-items: center;
22
+ gap: ${r.spacings.comfortable.x_small};
23
+
24
+ .leading {
25
+ display: flex;
26
+ align-items: center;
27
+ }
28
+ .leading * {
29
+ width: 16px;
30
+ height: 16px;
31
+ }
32
+ }
33
+ `,d=e.button`
34
+ ${t}
35
+
36
+ ${({variant:r})=>{const e=((r="default")=>i[r])(r);return o`
37
+ color: ${e.color};
38
+ background-color: ${e.background};
39
+ border: 1px solid ${e.borderColor};
40
+
41
+ &:hover {
42
+ background-color: ${e.hover.background};
43
+ color: ${e.hover.color};
44
+ border: 1px solid ${e.hover.borderColor};
45
+ }
46
+ &:disabled {
47
+ color: ${e.disabled?.color};
48
+ background-color: ${e.disabled?.background};
49
+ border: 1px solid ${e.disabled?.borderColor};
50
+ cursor: not-allowed;
51
+
52
+ &:hover {
53
+ border: 1px solid ${e.disabled?.borderColor};
54
+ }
55
+ }
56
+ `}};
57
+ `,b=e.div`
58
+ ${t}
59
+ cursor: unset;
60
+ ${r=>r.disabled?o`
61
+ &.disabled {
62
+ background-color: ${a.interactive.disabled__fill.rgba};
63
+ color: ${a.interactive.disabled__text.rgba};
64
+ border: 1px solid ${a.interactive.disabled__border.rgba};
65
+ cursor: not-allowed;
66
+ }
67
+ `:o`
68
+ background-color: ${a.ui.background__light.rgba};
69
+ color: ${a.text.static_icons__default.rgba};
70
+ border: 1px solid ${a.ui.background__medium.rgba};
71
+ `}
72
+ `;export{d as InteractiveChipStyle,b as ReadOnlyChipStyle};
@@ -0,0 +1 @@
1
+ import{jsx as e,jsxs as i}from"react/jsx-runtime";import{forwardRef as o}from"react";import{Icon as r}from"@equinor/eds-core-react";import{close as t}from"@equinor/eds-icons";import{InteractiveChipStyle as n}from"./Chip.styles.js";const a=o(((o,a)=>{const{children:c,onDelete:d,disabled:s=!1,variant:l,onClick:m,leadingIconData:p,...v}=o,f=void 0!==d,h=!s&&void 0!==o.onClick,C=s?void 0:d,k=s?void 0:m;return e(n,{...v,ref:a,disabled:s,variant:l,onClick:f?d:m,onKeyDown:e=>{const{key:i}=e;"Enter"===i&&(f?C(e):h&&k(e))},children:i("div",{className:"content",children:[p&&e("div",{className:"leading",children:e(r,{role:"img",data:p,size:16})}),c,f&&e(r,{data:t,title:"close",size:16})]})})}));a.displayName="InteractiveChip";export{a as InteractiveChip};
@@ -0,0 +1 @@
1
+ import{jsx as e,jsxs as r}from"react/jsx-runtime";import{forwardRef as a}from"react";import{Icon as i}from"@equinor/eds-core-react";import{ReadOnlyChipStyle as d}from"./Chip.styles.js";const s=a(((a,s)=>{const{children:t,disabled:c,leadingIconData:l,...n}=a;return e(d,{...n,disabled:c,className:c?"disabled":"",ref:s,children:r("div",{className:"content",children:[l&&e("div",{className:"leading",children:e(i,{data:l,size:16})}),t]})})}));s.displayName="ReadOnlyChip";export{s as ReadOnlyChip};
@@ -0,0 +1,27 @@
1
+ import{jsxs as e,jsx as r}from"react/jsx-runtime";import{forwardRef as t}from"react";import{Card as i,Typography as o,Tooltip as n,Icon as a}from"@equinor/eds-core-react";import{tokens as l}from"../../node_modules/@equinor/eds-tokens/dist/esm/base/index.js";import d from"styled-components";import{spacings as s}from"../../style/spacings.js";const{colors:c,elevation:m}=l,p=d(i)`
2
+ box-shadow: ${m.raised};
3
+ grid-gap: 0;
4
+ padding: ${s.medium};
5
+ transition: box-shadow 400ms;
6
+ ${e=>{if(e.onClick)return`&:hover {\n box-shadow: ${m.overlay};\n cursor: pointer;\n }`}}
7
+ `,h=d.div`
8
+ display: grid;
9
+ grid-template-columns: 80% auto;
10
+ overflow: hidden;
11
+ `,f=d(o)`
12
+ white-space: nowrap;
13
+ overflow: hidden;
14
+ text-overflow: ellipsis;
15
+ `,u=d.div`
16
+ display: flex;
17
+ flex-direction: column;
18
+ justify-content: center;
19
+ `,v=d.div`
20
+ display: flex;
21
+ align-items: center;
22
+ justify-content: flex-end;
23
+ `,g=d(o)`
24
+ white-space: nowrap;
25
+ overflow: hidden;
26
+ text-overflow: ellipsis;
27
+ `,x=t((({headerText:t,title:i,tooltipOnTitle:o=!1,rightIcon:l,rightElement:d,body:s,className:m,onClick:x,onContextMenu:w},y)=>{if(l&&d)throw new Error("Only use one; rightIcon or rightElement");return e(p,{ref:y,className:m??"",onClick:x,"data-testid":"dataCard",onContextMenu:e=>{w?.(e)},children:[e(h,{children:[e(u,{children:[r(f,{group:"paragraph",variant:"overline",children:t}),o?r(n,{title:i,placement:"top",children:r(g,{variant:"h6",children:i})}):r(g,{variant:"h6",children:i})]}),e(v,{children:[l&&r(a,{data:l,size:24,color:c.interactive.primary__resting.rgba}),d&&d]})]}),s&&s]})}));x.displayName="DataCard";export{x as default};
@@ -0,0 +1,21 @@
1
+ import{jsxs as e,jsx as r}from"react/jsx-runtime";import{forwardRef as i,useState as o,useRef as t,useEffect as n}from"react";import{Typography as d,Icon as a}from"@equinor/eds-core-react";import{chevron_up as s,chevron_down as c}from"@equinor/eds-icons";import{tokens as m}from"../../node_modules/@equinor/eds-tokens/dist/esm/base/index.js";import{motion as l,AnimatePresence as h}from"framer-motion";import f from"styled-components";import{spacings as p}from"../../style/spacings.js";const{colors:u,elevation:b,shape:v}=m,g=f(l.div)`
2
+ overflow: hidden;
3
+ `,x=f.button`
4
+ display: flex;
5
+ gap: ${p.medium};
6
+ width: fit-content;
7
+ border: none;
8
+ background: none;
9
+ cursor: pointer;
10
+ &:hover {
11
+ > div {
12
+ box-shadow: ${b.overlay};
13
+ }
14
+ }
15
+ `,y=f.div`
16
+ transition: box-shadow 200ms;
17
+ box-shadow: ${b.raised};
18
+ display: flex;
19
+ align-items: center;
20
+ border-radius: ${v.circle.borderRadius};
21
+ `,w=i((({title:i,openByDefault:m=!1,id:l,children:f},p)=>{const[b,v]=o(m),w=t(m?"fit-content":0);return n((()=>{"fit-content"!==w.current||b||(w.current=0)}),[b]),e("div",{children:[e(x,{onClick:()=>v((e=>!e)),children:[r(d,{variant:"h6",ref:p,id:l,children:i}),r(y,{children:r(a,{data:b?s:c,color:u.interactive.primary__resting.rgba})})]}),r(h,{children:b&&r(g,{initial:{height:w.current},animate:{height:"fit-content"},exit:{height:0},children:f})})]})}));w.displayName="HeaderDrawer";export{w as default};
@@ -0,0 +1,41 @@
1
+ import{jsxs as r,jsx as o}from"react/jsx-runtime";import{useRef as e,useState as t,useEffect as i}from"react";import{Icon as n,Typography as a}from"@equinor/eds-core-react";import{copy as s}from"@equinor/eds-icons";import{tokens as d}from"../../../node_modules/@equinor/eds-tokens/dist/esm/base/index.js";import{spacings as c}from"../../../style/spacings.js";import m,{keyframes as p}from"styled-components";const{colors:u}=d,l=m.div`
2
+ position: relative;
3
+ pointer-events: auto;
4
+ width: fit-content;
5
+ &:hover {
6
+ cursor: pointer;
7
+ }
8
+ `,g=p`
9
+ from {
10
+ opacity: 0;
11
+ background: none;
12
+ }
13
+
14
+ to {
15
+ opacity: 1;
16
+ background: ${u.ui.background__light.rgba};
17
+ }
18
+ `,b=m.div`
19
+ position: absolute;
20
+ padding: ${c.xx_small};
21
+ z-index: 1000;
22
+ top: 50%;
23
+ right: -${c.x_small};
24
+ transform: translate(100%, -50%);
25
+ animation: ${g} 0.25s;
26
+ background: ${u.ui.background__light.rgba};
27
+ border: 1px solid ${u.ui.background__medium.rgba};
28
+ border-radius: 2px;
29
+ p,
30
+ svg {
31
+ color: ${u.interactive.primary__hover.rgba};
32
+ }
33
+ p {
34
+ font-weight: 700;
35
+ margin-top: 2px;
36
+ }
37
+ display: grid;
38
+ grid-template-columns: auto 2.75rem;
39
+ grid-gap: ${c.xx_small};
40
+ align-items: center;
41
+ `,x=({children:d,textToCopy:c})=>{const m=e(!1),[p,u]=t(!1),[g,x]=t("Copy");return i((()=>(m.current=!0,()=>{m.current=!1})),[]),r(l,{onClick:()=>{navigator.clipboard.writeText(c),x("Copied!"),setTimeout((()=>{m.current&&x("Copy")}),3e3)},onMouseOver:()=>u(!0),onMouseOut:()=>u(!1),children:[d,p&&r(b,{children:[o(n,{data:s,size:16}),o(a,{variant:"overline",children:g})]})]})};export{x as default};
@@ -0,0 +1 @@
1
+ import{jsxs as e,jsx as t}from"react/jsx-runtime";import{forwardRef as r}from"react";import{Typography as o}from"@equinor/eds-core-react";import n from"./CopyText.js";const i=r((({title:r,content:i,copyableContent:a,capitalizeContent:p},c)=>{const l=p&&"string"==typeof i?i.toUpperCase():i;return e("div",{ref:c,children:[t(o,{group:"paragraph",variant:"overline",children:r?.toUpperCase()}),"string"==typeof i?a?t(n,{textToCopy:i,children:t(o,{variant:"h6",children:l})}):t(o,{variant:"h6",children:l}):i]})}));i.displayName="InfoElement";export{i as default};
@@ -0,0 +1,4 @@
1
+ import{jsx as t,Fragment as o}from"react/jsx-runtime";import{forwardRef as r}from"react";import{Tooltip as e}from"@equinor/eds-core-react";import i from"styled-components";const m=i(e)`
2
+ color: white;
3
+ text-transform: ${t=>t.textTransform};
4
+ `,l=r((({title:r,children:e,...i},l)=>void 0===r?t(o,{children:e}):t(m,{ref:l,title:r,...i,children:e})));l.displayName="OptionalTooltip";export{l as default};
@@ -0,0 +1,21 @@
1
+ import{jsx as e}from"react/jsx-runtime";import{forwardRef as r,useMemo as t}from"react";import{Icon as i,Avatar as a}from"@equinor/eds-core-react";import{person as s}from"@equinor/eds-icons";import{tokens as n}from"../../node_modules/@equinor/eds-tokens/dist/esm/base/index.js";import o from"styled-components";const{colors:c,shape:d,typography:l}=n,u=[c.infographic.primary__energy_red_55.rgba,c.infographic.primary__moss_green_55.rgba,c.infographic.substitute__green_mint.rgba,c.infographic.substitute__blue_overcast.rgba];function m(e){const r=e.replace(/ *\([^)]*\) */g,"").toUpperCase(),t=r.split(" "),i=r.includes(",");return 1===t.length&&""!==t[0]?t[0].charAt(0):i?(e=>e.split(",")[1].trim().charAt(0))(r)+t[0].charAt(0):t.length>=2?t[0].charAt(0)+t[t.length-1].charAt(0):void 0}function h(e){let r=0;if(e)for(let t=0;t<e.length;t++)r+=e.charCodeAt(t);return u[r%u.length]}const g=o.div`
2
+ width: ${e=>e.$size}px;
3
+ height: ${e=>e.$size}px;
4
+ font-size: ${e=>e.$fontSize}px;
5
+ font-family: ${l.heading.h6.fontFamily};
6
+ border-radius: ${d.circle.borderRadius};
7
+ background: ${e=>e.disabled?c.interactive.disabled__border.rgba:e.$background};
8
+ color: ${e=>e.disabled?c.text.static_icons__default.rgba:c.text.static_icons__primary_white.rgba};
9
+ display: flex;
10
+ justify-content: center;
11
+ align-items: center;
12
+ `,p=o(i)`
13
+ width: 70%;
14
+ `,f=o.div`
15
+ width: ${({$size:e})=>e}px;
16
+ height: ${({$size:e})=>e}px;
17
+ > div {
18
+ width: inherit;
19
+ height: inherit;
20
+ }
21
+ `,b=r((({url:r,name:i,size:n="medium",disabled:o=!1},c)=>{const d=t((()=>{const r=e(p,{data:s});return i&&0!==i.trim().length?m(i):r}),[i]),l=t((()=>{switch(n){case"small":return 16;case"small-medium":return 24;case"medium":case void 0:return 32;case"large":return 40;case"x-large":return 48;default:return n}}),[n]),u=t((()=>{switch(n){case"small":return 6;case"small-medium":return 10;case"medium":case void 0:return 14;case"large":return 16;case"x-large":return 18;default:return n/2}}),[n]),b=t((()=>{const{btoa:e,atob:t}=window;if(r)try{if(e(t(r))===r)return`data:image/png;base64, ${r}`}catch{return r}return""}),[r]);return""!==b?e(f,{$size:l,"data-testid":"avatar-wrapper",children:e(a,{alt:`user-avatar-${i}`,src:b,disabled:o,ref:c})}):e(g,{$background:h(i),$size:l,$fontSize:u,disabled:o,ref:c,children:d})}));b.displayName="ProfileAvatar";export{b as default,m as nameToInitials};
@@ -0,0 +1 @@
1
+ import{jsx as t}from"react/jsx-runtime";import{useRef as o,useEffect as i}from"react";import e from"@tiptap/extension-bold";import{BulletList as r}from"@tiptap/extension-bullet-list";import p from"@tiptap/extension-code-block-lowlight";import{Color as n}from"@tiptap/extension-color";import m from"@tiptap/extension-document";import a from"@tiptap/extension-dropcursor";import s from"@tiptap/extension-gapcursor";import{HardBreak as l}from"@tiptap/extension-hard-break";import f from"@tiptap/extension-heading";import x from"@tiptap/extension-history";import c from"@tiptap/extension-image";import d from"@tiptap/extension-italic";import g from"@tiptap/extension-link";import{ListItem as u}from"@tiptap/extension-list-item";import{OrderedList as h}from"@tiptap/extension-ordered-list";import b from"@tiptap/extension-paragraph";import y from"@tiptap/extension-table";import k from"@tiptap/extension-table-cell";import $ from"@tiptap/extension-table-header";import w from"@tiptap/extension-table-row";import B from"@tiptap/extension-text";import{TextAlign as R}from"@tiptap/extension-text-align";import{TextStyle as T}from"@tiptap/extension-text-style";import j from"@tiptap/extension-typography";import{useEditor as E,EditorContent as v}from"@tiptap/react";import{Wrapper as z}from"../Inputs/RichTextEditor/RichTextEditor.styles.js";import{createLowlight as A,common as C}from"lowlight";const I=A(C),O=[r,e,p.configure({lowlight:I}),n,m,a,s,l,f,x,c.configure({allowBase64:!0}),d,g,u,h,b,y.configure({resizable:!0}),k,$,w,B,j,T,R.configure({types:["heading","paragraph","img"]})],q=({value:e,imgReadToken:r,lightBackground:p=!0,padding:n="md"})=>{const m=E({extensions:O,content:r?e?.replaceAll(/(<img src=")(.+)("\/>)/g,`$1$2?${r}$3`):e,editable:!1}),a=o(e);return i((()=>{m&&e&&e!==a.current&&(m.commands.setContent(e),a.current=e)}),[m,e]),t(z,{$lightBackground:p,$padding:n,children:t(v,{editor:m,readOnly:!0})})};export{q as default};
@@ -0,0 +1,35 @@
1
+ import{jsx as t}from"react/jsx-runtime";import{EdsDataGrid as e}from"@equinor/eds-data-grid-react";import{tokens as r}from"../../../node_modules/@equinor/eds-tokens/dist/esm/base/index.js";import n from"styled-components";import*as o from"../../../style/index.js";const{colors:a}=r,{spacings:i}=o,s=n.div`
2
+ table,
3
+ thead,
4
+ th {
5
+ background: transparent;
6
+ }
7
+ tr:has(th):hover {
8
+ background: unset;
9
+ }
10
+ thead,
11
+ th {
12
+ border: none;
13
+ }
14
+ th {
15
+ color: ${a.text.static_icons__default.rgba};
16
+ > div {
17
+ justify-content: space-between;
18
+ > svg {
19
+ height: 18px;
20
+ width: 18px;
21
+ fill: ${a.interactive.primary__resting.rgba};
22
+ }
23
+ }
24
+ }
25
+ th,
26
+ td {
27
+ padding: ${i.medium_small} ${i.small};
28
+ }
29
+ tr:hover,
30
+ th:hover,
31
+ th:has(svg) {
32
+ background: ${a.interactive.primary__hover_alt.rgba};
33
+ }
34
+ ${({$enableSorting:t})=>!t&&"\n cursor: default;\n tr:hover, th:hover {\n background: unset;\n cursor: default;\n }\n "}
35
+ `,d=r=>t(s,{$enableSorting:r.enableSorting??!1,"data-testid":"table-wrapper",children:t(e,{...r})});export{d as Table};
@@ -0,0 +1,14 @@
1
+ import{jsx as i,Fragment as e}from"react/jsx-runtime";import{forwardRef as o}from"react";import{tokens as r}from"../../../../node_modules/@equinor/eds-tokens/dist/esm/base/index.js";import t,{keyframes as s}from"styled-components";const{colors:a}=r,d=s`
2
+ from {
3
+ opacity: 0;
4
+ }
5
+ to {
6
+ opacity: 1;
7
+ }
8
+ `,m=t.div`
9
+ background: white;
10
+ outline: 4px solid ${a.interactive.primary__resting.rgba};
11
+ animation: ${d} 500ms;
12
+ border-radius: 4px;
13
+ z-index: 1600;
14
+ `,n=o((({children:o,className:r,active:t},s)=>t?i(m,{className:r?`${r} highlighted`:"highlighted",ref:s,children:o}):i(e,{children:o})));n.displayName="HighlightBlocks";export{n as default};
@@ -0,0 +1 @@
1
+ import{jsxs as t,jsx as r}from"react/jsx-runtime";import{forwardRef as o,useState as e}from"react";import i from"./TutorialStart.js";import s from"./TutorialSteps.js";import{useTutorialSteps as a}from"../../../providers/TutorialStepsProvider.js";const u=o((({steps:o,tutorialTitle:u,tutorialIntro:l,imageSource:m},p)=>{const{showTutorialIntro:n,setTutorialStep:c,setShowTutorialIntro:T}=a(),[d,f]=e(!1);return t("div",{ref:p,children:[r(i,{show:n,acceptTour:()=>{c(o[0].key),T(!1),f(!0)},denyTour:()=>{c(""),T(!1)},title:u,content:l,imageSource:m}),r(s,{steps:o,show:d,onClose:()=>{f(!1)}})]})}));u.displayName="Tutorial";export{u as default};
@@ -0,0 +1,39 @@
1
+ import{jsx as t,jsxs as i}from"react/jsx-runtime";import{Dialog as e,Typography as a,Button as r}from"@equinor/eds-core-react";import{spacings as o}from"../../../style/spacings.js";import n,{keyframes as l}from"styled-components";const c=l`
2
+ from {
3
+ opacity: 0;
4
+ }
5
+ to {
6
+ opacity: 1;
7
+ }
8
+ `,m=n(e)`
9
+ animation: ${c} 1s;
10
+ width: fit-content;
11
+ `,d=n.div`
12
+ display: flex;
13
+ flex-direction: column;
14
+ justify-content: center;
15
+ flex-wrap: wrap;
16
+ align-items: center;
17
+ align-content: center;
18
+ gap: ${o.medium};
19
+ width: 25vw;
20
+ `,s=n.img`
21
+ width: 100%;
22
+ max-width: 100%;
23
+ height: auto;
24
+ object-fit: cover;
25
+ margin-bottom: ${o.xx_small};
26
+ `,g=n.div`
27
+ margin-top: ${o.large};
28
+ `,p=n(a)`
29
+ text-align: center;
30
+ width: 80%;
31
+ margin-bottom: ${o.xx_small};
32
+ `,h=n.div`
33
+ display: flex;
34
+ gap: ${o.small};
35
+ margin-bottom: ${o.large};
36
+ `,f=n(r)`
37
+ margin: ${o.small} 0;
38
+ padding: 0 ${o.large};
39
+ `,u=({title:e,imageSource:r,content:o,show:n,acceptTour:l,denyTour:c})=>t(m,{open:n,children:i(d,{children:[t(g,{children:t(a,{variant:"h5",children:e})}),t(p,{variant:"h5",children:o}),r&&t(s,{alt:`tutorial-${e}-image`,src:r}),i(h,{children:[" ",t(f,{variant:"ghost",onClick:c,"data-testid":"skip",children:"Skip"}),t(f,{onClick:l,"data-testid":"start-tour",children:"Start tour"})]})]})});export{u as default};
@@ -0,0 +1,50 @@
1
+ import{jsx as t,Fragment as i,jsxs as e}from"react/jsx-runtime";import{useState as r}from"react";import{Dialog as o,Button as a}from"@equinor/eds-core-react";import{tokens as n}from"../../../node_modules/@equinor/eds-tokens/dist/esm/base/index.js";import{useTutorialSteps as d}from"../../../providers/TutorialStepsProvider.js";import{spacings as s}from"../../../style/spacings.js";import l,{keyframes as m}from"styled-components";const{colors:c}=n,p=m`
2
+ from {
3
+ opacity: 0;
4
+ }
5
+ to {
6
+ opacity: 1;
7
+ }
8
+ `,u=l(o)`
9
+ width: fit-content;
10
+ animation: ${p} 1s;
11
+ `,g=l.div`
12
+ display: flex;
13
+ flex-direction: column;
14
+ gap: ${s.medium};
15
+ padding: ${s.large} ${s.large};
16
+ padding-bottom: ${s.medium};
17
+ `,$=l.div`
18
+ flex-wrap: wrap;
19
+ width: 220px;
20
+ `,h=l.div`
21
+ justify-content: center;
22
+ display: flex;
23
+ > button {
24
+ width: 6rem;
25
+ }
26
+ `,f=l.div`
27
+ position: relative;
28
+ transform: translate(0, -65%);
29
+ display: flex;
30
+ gap: ${s.small};
31
+ margin-bottom: -${s.small};
32
+ margin-top: ${s.medium_small};
33
+ width: 100%;
34
+ justify-content: center;
35
+ `,v=l.div`
36
+ width: ${s.large};
37
+ height: ${s.small};
38
+ border-radius: 24px;
39
+ transition: all 1000ms;
40
+ background: linear-gradient(
41
+ 90deg,
42
+ ${c.interactive.primary__resting.rgba} 49%,
43
+ ${c.interactive.primary__hover_alt.rgba} 51%
44
+ );
45
+
46
+ background-size:
47
+ 400% 10px,
48
+ 400%;
49
+ ${t=>t.$active?"background-position: 0%":`background-position: ${t.$num<t.$activeNum?"-50":"100"}%`}
50
+ `,b=({show:o,onClose:n,steps:s})=>{const[l,m]=r(0),{setTutorialStep:c}=d();return t(i,{children:o&&t(u,{open:!0,children:e(g,{children:[t("div",{id:"title",children:s[l].title}),t($,{children:s[l].body}),t(f,{children:s.map(((i,e)=>t(v,{$active:e===l,$activeNum:l,$num:e},i.title)))}),t(h,{children:t(a,{variant:"ghost",onClick:()=>{l<s.length-1?(m(l+1),c(s[l+1].key)):(n(),c(""),m(0))},"data-testid":s[l].button,children:s[l].button})})]})})})};export{b as default};
@@ -0,0 +1,25 @@
1
+ import{jsx as e}from"react/jsx-runtime";import{tokens as o}from"../../../node_modules/@equinor/eds-tokens/dist/esm/base/index.js";import r from"styled-components";const{colors:t}=o,i=r.div`
2
+ height: 1.5em;
3
+ background-color: ${e=>e.$backgroundColor??t.ui.background__light.rgba};
4
+ border: 0.063em solid
5
+ ${e=>e.$color??t.text.static_icons__secondary.rgba};
6
+ border-radius: 1.563em;
7
+ display: inline-flex;
8
+ justify-content: center;
9
+ align-items: center;
10
+ z-index: 100;
11
+ > * {
12
+ white-space: nowrap;
13
+ overflow: hidden;
14
+ text-overflow: ellipsis;
15
+ padding: 0 0.625em;
16
+ line-height: normal;
17
+ color: ${e=>e.$color??"#000000"};
18
+ }
19
+ `,d=r(i)`
20
+ background-color: ${t.interactive.disabled__fill.rgba};
21
+ border: 0.063em solid ${t.interactive.disabled__border.rgba};
22
+ p {
23
+ color: ${t.interactive.disabled__text.rgba};
24
+ }
25
+ `,l=({disabled:o,color:r,backgroundColor:t,style:l,children:s})=>o?e(d,{style:l,"data-testid":"status-chip",children:s}):e(i,{style:l,$color:r,$backgroundColor:t,"data-testid":"status-chip",children:s});export{l as default};
@@ -0,0 +1,24 @@
1
+ import{jsx as r,jsxs as e}from"react/jsx-runtime";import{Fragment as i}from"react";import{Typography as o}from"@equinor/eds-core-react";import{tokens as d}from"../../../node_modules/@equinor/eds-tokens/dist/esm/base/index.js";import a from"./StatusChip.js";import t from"styled-components";const{colors:n}=d,l=t.div`
2
+ display: flex;
3
+ flex-direction: column;
4
+ align-items: center;
5
+ `,c=t.div`
6
+ display: flex;
7
+ justify-content: space-between;
8
+ align-items: center;
9
+ height: 78px;
10
+ width: 278px;
11
+ padding: 0 16px;
12
+ background-color: ${n.ui.background__default.rgba};
13
+ border: 1px solid ${n.ui.background__medium.rgba};
14
+ border-radius: 4px;
15
+ z-index: 100;
16
+ `,p=t(c)`
17
+ background-color: ${n.interactive.disabled__fill.rgba};
18
+ `,s=t.div`
19
+ height: 56px;
20
+ width: 1px;
21
+ background-color: ${n.ui.background__medium.rgba};
22
+ /* margin: 0 -1px; */
23
+ z-index: 10;
24
+ `,g=({options:d})=>r(l,{children:d.map(((t,l)=>e(i,{children:[void 0!==t.approvedDate?e(c,{"data-testid":"approved",children:[e("div",{children:[r(o,{group:"paragraph",variant:"overline",children:t.approvedUser}),r(o,{group:"heading",variant:"h6",children:t.approvedDate})]}),r(a,{style:{width:"120px"},color:t.color??n.text.static_icons__secondary.rgba,backgroundColor:t.backgroundColor??n.ui.background__light.rgba,children:r(o,{group:"ui",variant:"chip__badge",children:t.label})})]}):e(p,{"data-testid":"not-approved",children:[r(o,{group:"heading",variant:"h6",color:"#BEBEBE",children:t.notApprovedLabel}),r(a,{disabled:!0,style:{width:"120px"},children:r(o,{group:"ui",variant:"chip__badge",children:t.label})})]}),d.length!==l+1&&r(s,{})]},`${t.label}-${l}`)))});export{g as default};
@@ -0,0 +1,33 @@
1
+ import{jsx as e,jsxs as i}from"react/jsx-runtime";import{Fragment as o}from"react";import{tokens as r}from"../../../node_modules/@equinor/eds-tokens/dist/esm/base/index.js";import t from"../OptionalTooltip.js";import l from"styled-components";const{colors:d}=r,a=l.div`
2
+ display: flex;
3
+ align-items: center;
4
+ height: 1.375em;
5
+ `,n=l.div`
6
+ height: 0.5em;
7
+ width: 0.5em;
8
+ background-color: ${e=>e.$backgroundColor};
9
+ border: 0.125em solid ${e=>e.$color};
10
+ border-radius: 50%;
11
+ display: inline-block;
12
+ z-index: 100;
13
+ grid-row: 1;
14
+ grid-column: 1;
15
+ `,c=l.div`
16
+ grid-row: 1;
17
+ grid-column: 1;
18
+ height: 0.5em;
19
+ width: 0.5em;
20
+ border: 0.5em solid ${d.infographic.primary__energy_red_55.rgba};
21
+ margin: -0.4em;
22
+ border-radius: 50%;
23
+ display: inline-block;
24
+ z-index: 100;
25
+ `,m=l(c)`
26
+ border-color: ${d.infographic.primary__moss_green_21.rgba};
27
+ `,s=l.div`
28
+ height: 0.25em;
29
+ width: 2.375em;
30
+ background-color: ${e=>e.$active?e.$lineActiveColor:e.$lineDefaultColor};
31
+ margin: 0 -1px;
32
+ z-index: 10;
33
+ `,g=({activeNode:r,options:l,disableTooltip:g,tooltipPlacement:p,highlightActiveNode:h,showAlert:u,lineDefaultColor:b=d.ui.background__light.rgba,lineActiveColor:v=d.interactive.primary__resting.rgba})=>{const $=l.findIndex((e=>e.value===r));return e(a,{children:l.map(((r,d)=>i(o,{children:[e(t,{placement:p??"top",title:g?void 0:r.label,children:i("div",{style:{display:"grid",placeItems:"center"},"data-testid":"workflow-option",children:[$===d&&h&&e(m,{"data-testid":"active"}),$===d&&u&&e(c,{"data-testid":"alert"}),e(n,{$color:r.color,$backgroundColor:r.backgroundColor})]})}),l.length!==d+1&&e(s,{$active:$>d,$lineDefaultColor:b,$lineActiveColor:v,"data-testid":"line"})]},r.value)))})};export{g as default};
@@ -0,0 +1 @@
1
+ import{jsx as r,Fragment as o}from"react/jsx-runtime";import"../Navigation/TopBar/Notifications/NotificationProvider.js";import"../../providers/AuthProvider/AuthProvider.js";import"../../providers/ReleaseNotesProvider.js";import"../../providers/SideBarProvider.js";import"../../providers/SnackbarProvider.js";import"../../providers/TableOfContentsProvider.js";import"../../providers/TutorialStepsProvider.js";import"react";import{useFeatureToggling as i}from"../../hooks/useFeatureToggling.js";import"../../node_modules/lodash/lodash.js";import"@tanstack/react-query";import"../../api/core/OpenAPI.js";import"../../utils/auth_environment.js";import"../Feedback/ErrorPage/illustrations/GlitchAnimation.js";import"../Feedback/ErrorPage/illustrations/QuestioningAnimation.js";import"../../types/Errors.js";import"html2canvas";import"proj4";import"@microsoft/signalr";import"../../types/Environment.js";const t=({featureKey:t,children:e,fallback:s,showIfKeyMissing:a=!0})=>{const{showContent:n}=i(t,a);return r(o,n?{children:e}:{children:s??null})};export{t as default};