@equinor/amplify-component-lib 9.15.3-beta.1 → 9.16.0-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (341) hide show
  1. package/dist/atoms/hooks/index.js +1 -0
  2. package/dist/atoms/hooks/useAmplifyKit.js +1 -1
  3. package/dist/atoms/hooks/useFaqsInApplication.js +1 -1
  4. package/dist/atoms/hooks/useLocalStorage.d.ts +2 -2
  5. package/dist/atoms/hooks/usePrefetchRichTextImages.js +1 -1
  6. package/dist/atoms/hooks/useSelect.d.ts +3 -3
  7. package/dist/atoms/hooks/useSelect.js +1 -1
  8. package/dist/atoms/index.js +1 -1
  9. package/dist/atoms/style/index.js +1 -1
  10. package/dist/atoms/utils/auth_environment.js +1 -1
  11. package/dist/atoms/utils/date.d.ts +1 -1
  12. package/dist/atoms/utils/richtext.js +1 -1
  13. package/dist/deprecated/ExpandingIconButton/ExpandingIconButton.d.ts +2 -2
  14. package/dist/deprecated/ExpandingIconButton/ExpandingIconButton.js +4 -4
  15. package/dist/deprecated/IconToggleButton.d.ts +2 -2
  16. package/dist/deprecated/IconToggleButton.js +1 -1
  17. package/dist/deprecated/OldStepper/OldStep.js +3 -3
  18. package/dist/deprecated/OldStepper/OldStepLine.js +2 -2
  19. package/dist/deprecated/OldStepper/OldStepper.js +3 -3
  20. package/dist/index.d.ts +4 -4
  21. package/dist/index.js +1 -1
  22. package/dist/molecules/ApplicationIcon/ApplicationIcon.js +1 -1
  23. package/dist/molecules/ApplicationIcon/ApplicationIconBase.js +4 -4
  24. package/dist/molecules/ApplicationIcon/ApplicationIconCollection.js +1 -1
  25. package/dist/molecules/ApplicationIcon/Icons/Acquire.js +1 -1
  26. package/dist/molecules/ApplicationIcon/Icons/Adca.js +1 -1
  27. package/dist/molecules/ApplicationIcon/Icons/Bravos.js +1 -1
  28. package/dist/molecules/ApplicationIcon/Icons/Dasha.js +1 -1
  29. package/dist/molecules/ApplicationIcon/Icons/Fallback.js +1 -1
  30. package/dist/molecules/ApplicationIcon/Icons/ForecastFormatter.js +1 -1
  31. package/dist/molecules/ApplicationIcon/Icons/FourDInsight.js +1 -1
  32. package/dist/molecules/ApplicationIcon/Icons/InPress.js +1 -1
  33. package/dist/molecules/ApplicationIcon/Icons/JsEmbark.js +1 -1
  34. package/dist/molecules/ApplicationIcon/Icons/LoggingQualification.js +1 -1
  35. package/dist/molecules/ApplicationIcon/Icons/Orca.js +1 -1
  36. package/dist/molecules/ApplicationIcon/Icons/Premo.js +1 -1
  37. package/dist/molecules/ApplicationIcon/Icons/Pwex.js +1 -1
  38. package/dist/molecules/ApplicationIcon/Icons/Recap.js +1 -1
  39. package/dist/molecules/ApplicationIcon/Icons/SubsurfacePortal.js +1 -1
  40. package/dist/molecules/Badge/Badge.js +1 -1
  41. package/dist/molecules/Banner/Banner.js +1 -1
  42. package/dist/molecules/Banner/Banner.styles.js +3 -3
  43. package/dist/molecules/Button/Button.js +3 -3
  44. package/dist/molecules/Chip/Chip.d.ts +2 -2
  45. package/dist/molecules/Chip/Chip.js +1 -1
  46. package/dist/molecules/ContentMenu/ContentMenu.js +1 -1
  47. package/dist/molecules/DatePicker/DatePicker.d.ts +3 -3
  48. package/dist/molecules/DatePicker/DatePicker.js +1 -1
  49. package/dist/molecules/DateRangePicker/DateRangePicker.d.ts +3 -3
  50. package/dist/molecules/DateRangePicker/DateRangePicker.js +1 -1
  51. package/dist/molecules/Dialog/Dialog.d.ts +1 -1
  52. package/dist/molecules/Dialog/Dialog.js +1 -1
  53. package/dist/molecules/Dialog/Dialog.styles.js +10 -10
  54. package/dist/molecules/Dialog/DialogAction.js +1 -1
  55. package/dist/molecules/EquinorLogo/EquinorLogo.d.ts +2 -2
  56. package/dist/molecules/EquinorLogo/EquinorLogo.js +1 -1
  57. package/dist/molecules/FileProgress/FileProgress.js +1 -1
  58. package/dist/molecules/FileUploadArea/FileUploadArea.js +1 -1
  59. package/dist/molecules/FileUploadArea/FileUploadArea.styles.js +18 -18
  60. package/dist/molecules/FullPageSpinner/FullPageSpinner.js +8 -8
  61. package/dist/molecules/IconCell/IconCell.d.ts +54 -0
  62. package/dist/molecules/IconCell/IconCell.js +1 -0
  63. package/dist/molecules/IconCell/IconCell.styles.js +108 -0
  64. package/dist/molecules/IconCell/IconCell.types.d.ts +33 -0
  65. package/dist/molecules/IconCell/IconCell.types.js +1 -0
  66. package/dist/molecules/IconCell/IconCell.utils.js +8 -0
  67. package/dist/molecules/InfoElement/InfoElement.js +1 -1
  68. package/dist/molecules/ListItem/ListItem.js +13 -13
  69. package/dist/molecules/OptionDrawer/OptionDrawer.js +1 -1
  70. package/dist/molecules/OptionalTooltip/OptionalTooltip.d.ts +4 -4
  71. package/dist/molecules/OptionalTooltip/OptionalTooltip.js +2 -2
  72. package/dist/molecules/ProfileAvatar/ProfileAvatar.d.ts +2 -2
  73. package/dist/molecules/ProfileAvatar/ProfileAvatar.js +6 -6
  74. package/dist/molecules/RichTextDisplay/RichTextDisplay.js +1 -1
  75. package/dist/molecules/RichTextEditor/EditorProvider.js +1 -1
  76. package/dist/molecules/RichTextEditor/MenuBar/AddImageButton.js +1 -1
  77. package/dist/molecules/RichTextEditor/MenuBar/MenuBar.d.ts +5 -5
  78. package/dist/molecules/RichTextEditor/MenuBar/MenuBar.js +5 -5
  79. package/dist/molecules/RichTextEditor/MenuBar/MenuBar.styles.js +4 -4
  80. package/dist/molecules/RichTextEditor/MenuBar/MenuButton.js +1 -1
  81. package/dist/molecules/RichTextEditor/MenuBar/Table/TableColumn.js +1 -1
  82. package/dist/molecules/RichTextEditor/MenuBar/Table/TableMerge.js +1 -1
  83. package/dist/molecules/RichTextEditor/MenuBar/Table/TableRow.js +1 -1
  84. package/dist/molecules/RichTextEditor/MenuBar/Table/ToggleTable.js +1 -1
  85. package/dist/molecules/RichTextEditor/MenuBar/TextClearFormatting.js +2 -2
  86. package/dist/molecules/RichTextEditor/MenuBar/TextColor.js +4 -4
  87. package/dist/molecules/RichTextEditor/MenuBar/TextHeaders.js +1 -1
  88. package/dist/molecules/RichTextEditor/MenuBar/TextLinks.js +2 -2
  89. package/dist/molecules/RichTextEditor/RichTextEditor.js +1 -1
  90. package/dist/molecules/RichTextEditor/RichTextEditor.styles.js +23 -23
  91. package/dist/molecules/RichTextEditor/custom-extensions/ExtendedHeaders.js +1 -1
  92. package/dist/molecules/RichTextEditor/custom-extensions/ExtendedImage.js +1 -1
  93. package/dist/molecules/RichTextEditor/index.d.ts +5 -5
  94. package/dist/molecules/RichTextEditor/index.js +1 -1
  95. package/dist/molecules/Search/Search.d.ts +2 -2
  96. package/dist/molecules/Search/Search.js +8 -8
  97. package/dist/molecules/Select/ComboBox/ComboBox.d.ts +2 -2
  98. package/dist/molecules/Select/ComboBox/ComboBox.js +1 -1
  99. package/dist/molecules/Select/Select.styles.d.ts +4 -4
  100. package/dist/molecules/Select/Select.styles.js +61 -61
  101. package/dist/molecules/Select/SingleSelect/SingleSelect.d.ts +2 -2
  102. package/dist/molecules/Select/SingleSelect/SingleSelect.js +1 -1
  103. package/dist/molecules/SelectionControls/Checkbox/Checkbox.js +1 -1
  104. package/dist/molecules/SelectionControls/Radio/Radio.js +1 -1
  105. package/dist/molecules/SelectionControls/SelectionControls.styles.js +24 -24
  106. package/dist/molecules/SelectionControls/Switch/Switch.js +1 -1
  107. package/dist/molecules/SingleFilterMenu/SingleFilterMenu.js +9 -9
  108. package/dist/molecules/Skeleton/SkeletonBase/SkeletonBase.d.ts +2 -2
  109. package/dist/molecules/Skeleton/SkeletonBase/SkeletonBase.js +7 -7
  110. package/dist/molecules/Skeleton/SkeletonGradient/SkeletonGradient.js +1 -1
  111. package/dist/molecules/Stepper/Step/Step.js +5 -5
  112. package/dist/molecules/Stepper/StepLine.js +2 -2
  113. package/dist/molecules/Stepper/Stepper.js +4 -4
  114. package/dist/molecules/Tabs/Tab.js +1 -1
  115. package/dist/molecules/Tabs/Tab.styles.js +22 -22
  116. package/dist/molecules/Tabs/Tabs.js +4 -4
  117. package/dist/molecules/Tabs/Tabs.types.d.ts +1 -1
  118. package/dist/molecules/index.d.ts +5 -5
  119. package/dist/molecules/index.js +1 -1
  120. package/dist/organisms/DataGrid/DataGrid.js +6 -6
  121. package/dist/organisms/Faq/Faq.js +1 -1
  122. package/dist/organisms/Faq/Faq.styles.js +3 -3
  123. package/dist/organisms/Faq/Header.js +7 -7
  124. package/dist/organisms/FieldSelector/ChangingField.js +8 -8
  125. package/dist/organisms/FieldSelector/FieldSelector.js +3 -3
  126. package/dist/organisms/FieldSelector/SelectorCard/SelectorCard.js +18 -18
  127. package/dist/organisms/FieldSelector/SelectorCard/Skeleton.js +6 -6
  128. package/dist/organisms/Filter/ButtonWithMenu.js +1 -1
  129. package/dist/organisms/Filter/Filter.js +1 -1
  130. package/dist/organisms/Filter/Filter.styles.js +39 -39
  131. package/dist/organisms/Filter/QuickFilter.js +1 -1
  132. package/dist/organisms/Filter/SortMenu.js +2 -2
  133. package/dist/organisms/PageTitle/PageTitle.js +1 -1
  134. package/dist/organisms/ReleaseNote/ReleaseNote.js +12 -12
  135. package/dist/organisms/ReleaseNote/ToggleExpanded.js +6 -6
  136. package/dist/organisms/SideBar/SideBar.d.ts +2 -2
  137. package/dist/organisms/SideBar/index.js +1 -1
  138. package/dist/organisms/Status/Action.d.ts +2 -2
  139. package/dist/organisms/Status/Action.js +1 -1
  140. package/dist/organisms/Status/Description.d.ts +2 -2
  141. package/dist/organisms/Status/Description.js +1 -1
  142. package/dist/organisms/Status/Illustration.js +2 -2
  143. package/dist/organisms/Status/MissingAccesses.d.ts +2 -2
  144. package/dist/organisms/Status/MissingAccesses.js +4 -4
  145. package/dist/organisms/Status/Status.js +4 -4
  146. package/dist/organisms/Status/Title.d.ts +2 -2
  147. package/dist/organisms/Status/Title.js +1 -1
  148. package/dist/organisms/Status/collections/ApiResponseError.js +1 -1
  149. package/dist/organisms/Status/collections/BadRequest.js +2 -2
  150. package/dist/organisms/Status/collections/GenericError.js +1 -1
  151. package/dist/organisms/Status/collections/MissingAccessToApp.js +1 -1
  152. package/dist/organisms/Status/collections/MissingPermissions.js +1 -1
  153. package/dist/organisms/Status/collections/PageNotFound.js +2 -2
  154. package/dist/organisms/Status/collections/ServerError.js +2 -2
  155. package/dist/organisms/TableOfContents/TableOfContents.constants.js +1 -1
  156. package/dist/organisms/TableOfContents/TableOfContents.js +1 -1
  157. package/dist/organisms/TableOfContents/TableOfContents.styles.js +32 -32
  158. package/dist/organisms/TableOfContents/TableOfContentsItem.js +4 -4
  159. package/dist/organisms/Template/Template.js +7 -7
  160. package/dist/organisms/ToggleGroup/ToggleGroup.d.ts +2 -2
  161. package/dist/organisms/ToggleGroup/ToggleGroup.js +12 -12
  162. package/dist/organisms/ToggleGroup/ToggleGroupOption.d.ts +2 -2
  163. package/dist/organisms/ToggleGroup/ToggleGroupOption.js +20 -20
  164. package/dist/organisms/TopBar/Account/Account.js +1 -1
  165. package/dist/organisms/TopBar/Account/Account.styles.js +24 -24
  166. package/dist/organisms/TopBar/Account/AccountAvatar.js +7 -7
  167. package/dist/organisms/TopBar/Account/AccountButton.js +5 -5
  168. package/dist/organisms/TopBar/Account/ActiveUserImpersonationButton.js +4 -4
  169. package/dist/organisms/TopBar/Account/ImpersonateAvatar.js +4 -4
  170. package/dist/organisms/TopBar/Account/ImpersonateButton.js +4 -4
  171. package/dist/organisms/TopBar/Account/ImpersonateMenu/Actions.js +6 -6
  172. package/dist/organisms/TopBar/Account/ImpersonateMenu/CreateNewUserButton.js +4 -4
  173. package/dist/organisms/TopBar/Account/ImpersonateMenu/CreateOrEditUser/CreateOrEditUser.js +1 -1
  174. package/dist/organisms/TopBar/Account/ImpersonateMenu/CreateOrEditUser/CreateOrEditUser.styles.js +1 -1
  175. package/dist/organisms/TopBar/Account/ImpersonateMenu/DeleteUser/DeleteUser.js +1 -1
  176. package/dist/organisms/TopBar/Account/ImpersonateMenu/DeleteUser/DeleteUser.styles.js +8 -8
  177. package/dist/organisms/TopBar/Account/ImpersonateMenu/Impersonate.constants.js +1 -1
  178. package/dist/organisms/TopBar/Account/ImpersonateMenu/Impersonate.styles.js +4 -4
  179. package/dist/organisms/TopBar/Account/ImpersonateMenu/ImpersonateMenu.js +1 -1
  180. package/dist/organisms/TopBar/Account/ImpersonateMenu/ImpersonateMenu.styles.js +8 -8
  181. package/dist/organisms/TopBar/Account/ImpersonateMenu/UserImpersonation.js +6 -6
  182. package/dist/organisms/TopBar/Account/ImpersonateMenu/UserImpersonation.styles.js +16 -16
  183. package/dist/organisms/TopBar/Account/ImpersonateMenu/hooks/useActiveImpersonationUser.js +1 -1
  184. package/dist/organisms/TopBar/Account/ImpersonateMenu/hooks/useAllAppRoles.js +1 -1
  185. package/dist/organisms/TopBar/Account/ImpersonateMenu/hooks/useCanImpersonate.js +1 -1
  186. package/dist/organisms/TopBar/Account/ImpersonateMenu/hooks/useGetAllImpersonationUsersForApp.js +1 -1
  187. package/dist/organisms/TopBar/Account/RoleChips.js +1 -1
  188. package/dist/organisms/TopBar/Account/RoleList.js +7 -7
  189. package/dist/organisms/TopBar/Actions.d.ts +2 -2
  190. package/dist/organisms/TopBar/Actions.js +3 -3
  191. package/dist/organisms/TopBar/ApplicationDrawer/ApplicationDrawer.js +1 -1
  192. package/dist/organisms/TopBar/ApplicationDrawer/ApplicationDrawer.styles.js +24 -24
  193. package/dist/organisms/TopBar/FieldMenu/FieldMenu.d.ts +2 -2
  194. package/dist/organisms/TopBar/FieldMenu/FieldMenu.js +1 -1
  195. package/dist/organisms/TopBar/FieldMenu/FieldMenu.styles.js +24 -24
  196. package/dist/organisms/TopBar/Guidelines/Colorbox.d.ts +2 -2
  197. package/dist/organisms/TopBar/Guidelines/Guidelines.js +1 -1
  198. package/dist/organisms/TopBar/Guidelines/Item.js +3 -3
  199. package/dist/organisms/TopBar/Guidelines/Section.js +7 -7
  200. package/dist/organisms/TopBar/Notifications/FilterOptions.js +6 -6
  201. package/dist/organisms/TopBar/Notifications/NotificationProvider.d.ts +2 -2
  202. package/dist/organisms/TopBar/Notifications/NotificationsInner.js +3 -3
  203. package/dist/organisms/TopBar/Notifications/NotificationsTemplate/NotificationElements/DefaultNotification.js +4 -4
  204. package/dist/organisms/TopBar/Notifications/NotificationsTemplate/NotificationElements/ExperienceDue3Weeks.js +2 -2
  205. package/dist/organisms/TopBar/Notifications/NotificationsTemplate/NotificationElements/MergedBranchOrca.js +2 -2
  206. package/dist/organisms/TopBar/Notifications/NotificationsTemplate/NotificationElements/NoNotifications.js +4 -4
  207. package/dist/organisms/TopBar/Notifications/NotificationsTemplate/NotificationElements/ReadyToBePublished.js +2 -2
  208. package/dist/organisms/TopBar/Notifications/NotificationsTemplate/NotificationElements/ReadyToReportNotification.js +4 -4
  209. package/dist/organisms/TopBar/Notifications/NotificationsTemplate/NotificationElements/RequestChangeOrca.js +2 -2
  210. package/dist/organisms/TopBar/Notifications/NotificationsTemplate/NotificationElements/RequestReviewOrca.js +2 -2
  211. package/dist/organisms/TopBar/Notifications/NotificationsTemplate/NotificationElements/ReviewQANotification.js +2 -2
  212. package/dist/organisms/TopBar/Notifications/NotificationsTemplate/NotificationTemplate.js +1 -1
  213. package/dist/organisms/TopBar/Notifications/NotificationsTemplate/NotificationTemplate.style.js +9 -9
  214. package/dist/organisms/TopBar/Resources/Feedback/Feedback.const.js +1 -1
  215. package/dist/organisms/TopBar/Resources/Feedback/Feedback.utils.js +7 -7
  216. package/dist/organisms/TopBar/Resources/Feedback/FeedbackForm/Description.js +3 -3
  217. package/dist/organisms/TopBar/Resources/Feedback/FeedbackForm/FeedbackForm.js +1 -1
  218. package/dist/organisms/TopBar/Resources/Feedback/FeedbackForm/LockedInputTooltip.js +3 -3
  219. package/dist/organisms/TopBar/Resources/Feedback/FeedbackForm/Severity.js +2 -2
  220. package/dist/organisms/TopBar/Resources/Feedback/FeedbackForm/Title.js +2 -2
  221. package/dist/organisms/TopBar/Resources/Feedback/FeedbackForm/UploadFile/UploadFile.js +2 -2
  222. package/dist/organisms/TopBar/Resources/Feedback/FeedbackForm/Url.js +2 -2
  223. package/dist/organisms/TopBar/Resources/Feedback/ResponsePage/AnimateChangeInHeight.js +3 -3
  224. package/dist/organisms/TopBar/Resources/Feedback/ResponsePage/FullSlackResponse.js +3 -3
  225. package/dist/organisms/TopBar/Resources/Feedback/ResponsePage/RequestStatus.js +2 -2
  226. package/dist/organisms/TopBar/Resources/Feedback/ResponsePage/ResponsePage.js +3 -3
  227. package/dist/organisms/TopBar/Resources/Feedback/ResponsePage/ResponsePage.styles.js +8 -8
  228. package/dist/organisms/TopBar/Resources/Feedback/ResponsePage/ResponseStatus.js +1 -1
  229. package/dist/organisms/TopBar/Resources/Feedback/ResponsePage/Success.js +3 -3
  230. package/dist/organisms/TopBar/Resources/Feedback/providers/FeedbackContextProvider.js +1 -1
  231. package/dist/organisms/TopBar/Resources/ResourceMenuItem.js +7 -7
  232. package/dist/organisms/TopBar/Resources/Resources.js +4 -4
  233. package/dist/organisms/TopBar/Settings.js +11 -11
  234. package/dist/organisms/TopBar/TopBar.js +1 -1
  235. package/dist/organisms/TopBar/TopBar.styles.js +22 -22
  236. package/dist/organisms/TopBar/TopBarMenu.js +4 -4
  237. package/dist/organisms/TopBar/TransferToAppDialog.js +11 -11
  238. package/dist/organisms/TopBar/Tutorials/TutorialItem.js +8 -8
  239. package/dist/organisms/TopBar/Tutorials/Tutorials.js +1 -1
  240. package/dist/organisms/TopBar/Tutorials/Tutorials.styles.js +6 -6
  241. package/dist/organisms/index.js +1 -1
  242. package/dist/providers/LoadingProvider.js +1 -1
  243. package/dist/providers/ReleaseNotesProvider.js +1 -1
  244. package/dist/providers/SideBarProvider.js +1 -1
  245. package/dist/providers/StepperProvider.js +1 -1
  246. package/dist/providers/TableOfContentsProvider.js +1 -1
  247. package/dist/providers/ThemeProvider/ThemeProvider.js +1 -1
  248. package/dist/providers/index.js +1 -0
  249. package/package.json +3 -3
  250. package/dist/atoms/hooks/useOnScreenMultiple.js +0 -1
  251. package/dist/atoms/hooks/useRichTextImage.js +0 -1
  252. package/dist/atoms/style/animation.js +0 -1
  253. package/dist/atoms/style/colors.js +0 -1
  254. package/dist/atoms/style/darkTokens.js +0 -219
  255. package/dist/atoms/style/lightTokens.js +0 -158
  256. package/dist/atoms/style/spacingTokens.js +0 -50
  257. package/dist/atoms/style/spacings.js +0 -1
  258. package/dist/atoms/utils/skeleton.js +0 -1
  259. package/dist/molecules/ApplicationIcon/Icons/FluxMaps.js +0 -1
  260. package/dist/molecules/Badge/Badge.styles.js +0 -17
  261. package/dist/molecules/Button/Button.utils.js +0 -1
  262. package/dist/molecules/Chip/Chip.styles.js +0 -65
  263. package/dist/molecules/Chip/InteractiveChip.js +0 -1
  264. package/dist/molecules/Chip/ReadOnlyChip.js +0 -1
  265. package/dist/molecules/ContentMenu/ContentMenu.styles.js +0 -52
  266. package/dist/molecules/DatePicker/DatePicker.styles.js +0 -63
  267. package/dist/molecules/EquinorLogo/EquinorLogo.utils.js +0 -1
  268. package/dist/molecules/FileProgress/CompactFileProgress.js +0 -1
  269. package/dist/molecules/FileProgress/CompactFileProgress.styles.js +0 -100
  270. package/dist/molecules/FileProgress/FileProgress.utils.js +0 -1
  271. package/dist/molecules/FileProgress/RegularFileProgress.js +0 -1
  272. package/dist/molecules/FileProgress/RegularFileProgress.styles.js +0 -35
  273. package/dist/molecules/FileUploadArea/FileUploadArea.constants.js +0 -1
  274. package/dist/molecules/FileUploadArea/UploadIllustration.js +0 -1
  275. package/dist/molecules/InfoElement/CopyText.js +0 -41
  276. package/dist/molecules/ListItem/ListItem.utils.js +0 -1
  277. package/dist/molecules/OptionDrawer/OptionDrawer.styles.js +0 -36
  278. package/dist/molecules/OptionDrawer/OptionDrawer.utils.js +0 -1
  279. package/dist/molecules/Select/AddTagItem.js +0 -1
  280. package/dist/molecules/Select/GroupedSelectMenu.js +0 -1
  281. package/dist/molecules/Select/ListSelectMenu.js +0 -1
  282. package/dist/molecules/Select/Select.js +0 -1
  283. package/dist/molecules/Select/Select.utils.js +0 -1
  284. package/dist/molecules/Select/SelectMenuItem.js +0 -1
  285. package/dist/molecules/Select/SelectMenuItem.utils.js +0 -1
  286. package/dist/molecules/Sieve/Filter.d.ts +0 -10
  287. package/dist/molecules/Sieve/Filter.js +0 -1
  288. package/dist/molecules/Sieve/Sieve.d.ts +0 -7
  289. package/dist/molecules/Sieve/Sieve.js +0 -1
  290. package/dist/molecules/Sieve/Sieve.styles.js +0 -43
  291. package/dist/molecules/Sieve/Sieve.types.d.ts +0 -26
  292. package/dist/molecules/Sieve/Sort.js +0 -1
  293. package/dist/molecules/Skeleton/Skeleton.styles.js +0 -1
  294. package/dist/molecules/Skeleton/SkeletonField.js +0 -8
  295. package/dist/molecules/Stepper/Step/StepIcon.js +0 -19
  296. package/dist/molecules/Stepper/SubTitle/SubStepIndicator.js +0 -25
  297. package/dist/molecules/Stepper/SubTitle/SubTitle.js +0 -7
  298. package/dist/molecules/TextField/TextField.js +0 -74
  299. package/dist/organisms/Faq/Category/Category.js +0 -9
  300. package/dist/organisms/Faq/Category/Question.js +0 -22
  301. package/dist/organisms/Faq/CategorySkeleton.js +0 -29
  302. package/dist/organisms/Filter/AutoCompleteMenu.js +0 -10
  303. package/dist/organisms/Filter/AutoCompleteText.js +0 -11
  304. package/dist/organisms/Filter/Filter.utils.js +0 -1
  305. package/dist/organisms/ReleaseNote/MetaTags.js +0 -10
  306. package/dist/organisms/SideBar/CreateItem.js +0 -1
  307. package/dist/organisms/SideBar/CreateItem.styles.js +0 -33
  308. package/dist/organisms/SideBar/MenuItem/BasicMenuItem.js +0 -1
  309. package/dist/organisms/SideBar/MenuItem/CollapsableMenuItem.js +0 -48
  310. package/dist/organisms/SideBar/MenuItem/MenuItem.js +0 -1
  311. package/dist/organisms/SideBar/MenuItem/MenuItem.styles.js +0 -37
  312. package/dist/organisms/SideBar/MenuItem/MenuItem.utils.js +0 -1
  313. package/dist/organisms/SideBar/SideBar.js +0 -1
  314. package/dist/organisms/SideBar/SideBar.styles.js +0 -41
  315. package/dist/organisms/SideBar/ToggleOpen.js +0 -1
  316. package/dist/organisms/SideBar/ToggleOpen.styles.js +0 -16
  317. package/dist/organisms/Status/Illustration.constants.js +0 -1
  318. package/dist/organisms/TopBar/Account/ImpersonateMenu/Impersonate.utils.js +0 -1
  319. package/dist/organisms/TopBar/Account/ImpersonateMenu/hooks/useStartImpersonation.js +0 -1
  320. package/dist/organisms/TopBar/Resources/Feedback/Feedback.styles.js +0 -41
  321. package/dist/organisms/TopBar/Resources/Feedback/FeedbackForm/UploadFile/ImageFile.js +0 -7
  322. package/dist/organisms/TopBar/Resources/Feedback/FeedbackForm/UploadFile/UploadFile.styles.js +0 -79
  323. package/dist/organisms/TopBar/Resources/ReleaseNotesDialog/Header/Header.js +0 -1
  324. package/dist/organisms/TopBar/Resources/ReleaseNotesDialog/Header/Header.styles.js +0 -7
  325. package/dist/organisms/TopBar/Resources/ReleaseNotesDialog/ReleaseNotesDialog.js +0 -1
  326. package/dist/organisms/TopBar/Resources/ReleaseNotesDialog/ReleaseNotesDialog.styles.js +0 -19
  327. package/dist/organisms/TopBar/Resources/ReleaseNotesDialog/ReleaseNotesDialog.utils.js +0 -1
  328. package/dist/providers/AuthProvider/AuthProvider.js +0 -1
  329. package/dist/providers/AuthProvider/AuthProviderInner.js +0 -1
  330. package/dist/providers/ReleaseNotesProvider.utils.js +0 -1
  331. package/dist/providers/SnackbarProvider/SnackbarProvider.js +0 -1
  332. package/dist/providers/SnackbarProvider/SnackbarProvider.styles.js +0 -41
  333. package/dist/providers/SnackbarProvider/SnackbarProvider.utils.js +0 -1
  334. package/dist/providers/TableOfContentsProvider.utils.js +0 -1
  335. package/dist/providers/TutorialHighlightingProvider/TutorialHighlightingProvider.constants.js +0 -1
  336. package/dist/providers/TutorialHighlightingProvider/TutorialHighlightingProvider.js +0 -1
  337. package/dist/providers/TutorialHighlightingProvider/TutorialHighlightingProviderInner.js +0 -24
  338. package/dist/providers/TutorialHighlightingProvider/TutorialPopover/StepIndicator.js +0 -20
  339. package/dist/providers/TutorialHighlightingProvider/TutorialPopover/TutorialPopover.js +0 -75
  340. package/dist/providers/TutorialHighlightingProvider/TutorialPopover/hooks/useTutorialPopoverPosition.js +0 -1
  341. package/dist/providers/TutorialHighlightingProvider/hooks/useReversedScrollY.js +0 -1
@@ -1,9 +1,9 @@
1
- import{tokens as e}from"../../node_modules/@equinor/eds-tokens/dist/esm/base/index.js";import{Waves as t}from"../../molecules/Waves/Waves.js";import{Template as n}from"../Template/Template.js";import{SelectorCard as r}from"./SelectorCard/SelectorCard.js";import{SelectorSkeleton as i}from"./SelectorCard/Skeleton.js";import{ChangingField as a}from"./ChangingField.js";import{useRef as o,useState as s}from"react";import c from"styled-components";import{jsx as l,jsxs as u}from"react/jsx-runtime";const{colors:d}=e,f=c.div`
1
+ import{tokens as e}from"../../node_modules/@equinor/eds-tokens/dist/esm/base/index.js";import{Template as t}from"../Template/Template.js";import{SelectorCard as n}from"./SelectorCard/SelectorCard.js";import{SelectorSkeleton as r}from"./SelectorCard/Skeleton.js";import{ChangingField as i}from"./ChangingField.js";import{useRef as a,useState as o}from"react";import{jsx as s,jsxs as c}from"react/jsx-runtime";import l from"styled-components";import{Waves as u}from"src/molecules/Waves/Waves";const{colors:d}=e,f=l.div`
2
2
  > svg {
3
3
  margin-bottom: -10px;
4
4
  background-color: ${d.ui.background__light.rgba};
5
5
  }
6
- `,p=c.div`
6
+ `,p=l.div`
7
7
  background-color: ${d.ui.background__light.rgba};
8
8
  overflow: hidden;
9
9
  display: flex;
@@ -11,4 +11,4 @@ import{tokens as e}from"../../node_modules/@equinor/eds-tokens/dist/esm/base/ind
11
11
  height: calc(100vh - 64px);
12
12
  max-height: calc(100vh - 64px);
13
13
  width: 100vw;
14
- `,m=({setField:e,fields:c,isLoading:d,onChangedField:m,finishedText:h,showAccessITLink:g=!0,itemNameSingular:_=`field`})=>{let[v,y]=s(!1),b=o(``),x=t=>{t.name&&t.uuid&&(e({uuid:t.uuid,name:t.name,country:t.country??``}),b.current=t.name,y(!0))};return v?l(a,{fieldName:b.current,onChangedField:m,finishedText:h}):u(p,{className:`${n.FullWidth} ${n.WithoutScrollGutter}`,children:[l(f,{children:l(t,{})}),d?l(i,{}):l(r,{itemNameSingular:_,availableFields:c,onSelect:x,showAccessITLink:g})]})};export{m as FieldSelector};
14
+ `,m=({setField:e,fields:l,isLoading:d,onChangedField:m,finishedText:h,showAccessITLink:g=!0,itemNameSingular:_=`field`})=>{let[v,y]=o(!1),b=a(``),x=t=>{t.name&&t.uuid&&(e({uuid:t.uuid,name:t.name,country:t.country??``}),b.current=t.name,y(!0))};return v?s(i,{fieldName:b.current,onChangedField:m,finishedText:h}):c(p,{className:`${t.FullWidth} ${t.WithoutScrollGutter}`,children:[s(f,{children:s(u,{})}),d?s(r,{}):s(n,{itemNameSingular:_,availableFields:l,onSelect:x,showAccessITLink:g})]})};export{m as FieldSelector};
@@ -1,4 +1,4 @@
1
- import{colors as e}from"../../../atoms/style/colors.js";import{spacings as t}from"../../../atoms/style/spacings.js";import{elevation as n,shape as r}from"../../../atoms/style/index.js";import{SingleSelect as i}from"../../../molecules/Select/SingleSelect/SingleSelect.js";import a,{useMemo as o,useState as s}from"react";import{Button as c,Card as l,Icon as u,Typography as d}from"@equinor/eds-core-react";import f from"styled-components";import{jsx as p,jsxs as m}from"react/jsx-runtime";import{arrow_forward as h}from"@equinor/eds-icons";const g=f(l)`
1
+ import e,{useMemo as t,useState as n}from"react";import{jsx as r,jsxs as i}from"react/jsx-runtime";import{arrow_forward as a}from"@equinor/eds-icons";import o from"styled-components";import{Button as s,Card as c,Icon as l,Typography as u}from"@equinor/eds-core-react";import{colors as d,elevation as f,shape as p,spacings as m}from"src/atoms/style";import{SingleSelect as h}from"src/molecules/Select/SingleSelect/SingleSelect";const g=o(c)`
2
2
  position: absolute;
3
3
  left: 50%;
4
4
  top: 50%;
@@ -7,51 +7,51 @@ import{colors as e}from"../../../atoms/style/colors.js";import{spacings as t}fro
7
7
  transform: translate(-50%, -50%);
8
8
  width: 25rem;
9
9
  height: auto;
10
- padding: ${t.large};
11
- box-shadow: ${n.above_scrim};
12
- border-radius: ${r.corners.borderRadius};
10
+ padding: ${m.large};
11
+ box-shadow: ${f.above_scrim};
12
+ border-radius: ${p.corners.borderRadius};
13
13
  display: flex;
14
14
  flex-direction: column;
15
- gap: ${t.large};
15
+ gap: ${m.large};
16
16
  > h3 {
17
- color: ${e.text.static_icons__default.rgba};
17
+ color: ${d.text.static_icons__default.rgba};
18
18
  }
19
19
  > div {
20
20
  display: flex;
21
21
  flex-direction: column;
22
- gap: ${t.large};
22
+ gap: ${m.large};
23
23
  section {
24
24
  display: grid;
25
25
  grid-template-columns: 1fr auto;
26
26
  align-items: flex-end;
27
- grid-gap: ${t.medium};
27
+ grid-gap: ${m.medium};
28
28
  }
29
29
  }
30
- `,_=f.div`
30
+ `,_=o.div`
31
31
  display: flex;
32
32
  flex-direction: column;
33
- gap: ${t.small};
33
+ gap: ${m.small};
34
34
  > h6 {
35
35
  text-transform: capitalize;
36
36
  }
37
- `,v=f.a`
38
- padding: ${t.small} ${t.medium};
37
+ `,v=o.a`
38
+ padding: ${m.small} ${m.medium};
39
39
  transition: background-color 200ms ease;
40
40
  font-size: 14px;
41
41
  line-height: 16px;
42
42
  font-weight: 500;
43
- border-radius: ${r.corners.borderRadius};
43
+ border-radius: ${p.corners.borderRadius};
44
44
  text-decoration: none;
45
- color: ${e.text.static_icons__default.rgba};
45
+ color: ${d.text.static_icons__default.rgba};
46
46
  &:focus-within {
47
- outline: ${e.interactive.primary__resting.rgba} dashed 2px;
47
+ outline: ${d.interactive.primary__resting.rgba} dashed 2px;
48
48
  }
49
49
  &:active {
50
50
  outline: 0;
51
- background-color: ${e.interactive.primary__selected_highlight.rgba};
51
+ background-color: ${d.interactive.primary__selected_highlight.rgba};
52
52
  }
53
53
  &:hover {
54
- background-color: ${e.interactive.primary__hover_alt.rgba};
54
+ background-color: ${d.interactive.primary__hover_alt.rgba};
55
55
  cursor: pointer;
56
56
  }
57
- `,y=({availableFields:e,onSelect:t,itemNameSingular:n,showAccessITLink:r=!0})=>{let[a,l]=s(),f=()=>{a!==void 0&&t({name:a.name,uuid:a.uuid,country:a.country})},y=e=>{l(e)},b=o(()=>{let t=[];for(let n of e)n.name?t.push({label:n.name,value:n.name,...n}):console.error(`Field with no name found!:`,n);return t},[e]);return m(g,{children:[m(d,{variant:`h3`,children:[`Please select a `,n]}),m(`div`,{children:[m(`section`,{children:[p(i,{lightBackground:!0,value:a,items:b,placeholder:`Select a ${n}...`,onSelect:y}),p(c,{"data-testid":`nextButton`,variant:`contained_icon`,disabled:a===void 0,onClick:f,children:p(u,{data:h})})]}),r&&m(_,{children:[m(d,{variant:`overline`,children:[`Missing a `,n,`?`]}),p(v,{tabIndex:0,"data-testid":`missing-access`,href:`https://accessit.equinor.com/#`,target:`_blank`,children:`Go to AccessIT`})]})]})]})};export{y as SelectorCard};
57
+ `,y=({availableFields:e,onSelect:o,itemNameSingular:c,showAccessITLink:d=!0})=>{let[f,p]=n(),m=()=>{f!==void 0&&o({name:f.name,uuid:f.uuid,country:f.country})},y=e=>{p(e)},b=t(()=>{let t=[];for(let n of e)n.name?t.push({label:n.name,value:n.name,...n}):console.error(`Field with no name found!:`,n);return t},[e]);return i(g,{children:[i(u,{variant:`h3`,children:[`Please select a `,c]}),i(`div`,{children:[i(`section`,{children:[r(h,{lightBackground:!0,value:f,items:b,placeholder:`Select a ${c}...`,onSelect:y}),r(s,{"data-testid":`nextButton`,variant:`contained_icon`,disabled:f===void 0,onClick:m,children:r(l,{data:a})})]}),d&&i(_,{children:[i(u,{variant:`overline`,children:[`Missing a `,c,`?`]}),r(v,{tabIndex:0,"data-testid":`missing-access`,href:`https://accessit.equinor.com/#`,target:`_blank`,children:`Go to AccessIT`})]})]})]})};export{y as SelectorCard};
@@ -1,4 +1,4 @@
1
- import{tokens as e}from"../../../node_modules/@equinor/eds-tokens/dist/esm/base/index.js";import{spacings as t}from"../../../atoms/style/spacings.js";import{SkeletonBase as n}from"../../../molecules/Skeleton/SkeletonBase/SkeletonBase.js";import r from"react";import{Card as i}from"@equinor/eds-core-react";import a from"styled-components";import{jsx as o,jsxs as s}from"react/jsx-runtime";const{elevation:c,shape:l}=e,u=a(i)`
1
+ import{tokens as e}from"../../../node_modules/@equinor/eds-tokens/dist/esm/base/index.js";import t from"react";import{jsx as n,jsxs as r}from"react/jsx-runtime";import i from"styled-components";import{Card as a}from"@equinor/eds-core-react";import{spacings as o}from"src/atoms/style";import{SkeletonBase as s}from"src/molecules/Skeleton/SkeletonBase/SkeletonBase";const{elevation:c,shape:l}=e,u=i(a)`
2
2
  position: absolute;
3
3
  left: 50%;
4
4
  top: 50%;
@@ -7,18 +7,18 @@ import{tokens as e}from"../../../node_modules/@equinor/eds-tokens/dist/esm/base/
7
7
  transform: translate(-50%, -50%);
8
8
  width: 25rem;
9
9
  align-items: center;
10
- padding: ${t.large};
10
+ padding: ${o.large};
11
11
  box-shadow: ${c.raised};
12
12
  border-radius: ${l.corners.borderRadius};
13
13
  display: flex;
14
14
  flex-direction: row;
15
15
  justify-content: space-between;
16
- `,d=a(n)`
17
- width: calc((25rem - 2 * ${t.large}) * 0.8);
16
+ `,d=i(s)`
17
+ width: calc((25rem - 2 * ${o.large}) * 0.8);
18
18
  height: calc(${l.button.minHeight});
19
- `,f=a(n)`
19
+ `,f=i(s)`
20
20
  width: ${l.icon_button.minWidth};
21
21
  height: ${l.icon_button.minHeight};
22
22
 
23
23
  border-radius: ${l.icon_button.borderRadius};
24
- `,p=()=>s(u,{children:[o(d,{role:`busy`}),o(f,{role:`busy`})]});export{p as SelectorSkeleton};
24
+ `,p=()=>r(u,{children:[n(d,{role:`busy`}),n(f,{role:`busy`})]});export{p as SelectorSkeleton};
@@ -1 +1 @@
1
- import{useRef as e,useState as t}from"react";import{Menu as n}from"@equinor/eds-core-react";import{Fragment as r,jsx as i,jsxs as a}from"react/jsx-runtime";const o=({onOpenChange:o,menuItems:s,children:c})=>{let[l,u]=t(!1),d=e(null),f=()=>{u(!l),o?.(!l)},p=()=>{u(!1),o?.(!1)};return a(r,{children:[i(`button`,{ref:d,onClick:f,children:c}),l&&i(n,{open:!0,anchorEl:d.current,onClose:p,children:s})]})};export{o as ButtonWithMenu};
1
+ import{useRef as e,useState as t}from"react";import{Fragment as n,jsx as r,jsxs as i}from"react/jsx-runtime";import{Menu as a}from"@equinor/eds-core-react";const o=({onOpenChange:o,menuItems:s,children:c})=>{let[l,u]=t(!1),d=e(null),f=()=>{u(!l),o?.(!l)},p=()=>{u(!1),o?.(!1)};return i(n,{children:[r(`button`,{ref:d,onClick:f,children:c}),l&&r(a,{open:!0,anchorEl:d.current,onClose:p,children:s})]})};export{o as ButtonWithMenu};
@@ -1 +1 @@
1
- import{colors as e}from"../../atoms/style/colors.js";import{Container as t,Content as n,SearchField as r,SearchFieldWrapper as i,Section as a,StyledChip as o,Wrapper as s}from"./Filter.styles.js";import{getFilteredAutoCompleteOptions as c}from"./Filter.utils.js";import{AutoCompleteMenu as l}from"./AutoCompleteMenu.js";import{AutoCompleteText as u}from"./AutoCompleteText.js";import{useRef as d,useState as f}from"react";import{Button as p,Icon as m,Typography as h}from"@equinor/eds-core-react";import{jsx as g,jsxs as _}from"react/jsx-runtime";import{arrow_drop_down as v,arrow_drop_up as y,clear as b,info_circle as x,search as S}from"@equinor/eds-icons";import{AnimatePresence as C,motion as w}from"framer-motion";function T({values:T,search:E,onSearchChange:D,onSearchEnter:O,onClearFilter:k,onClearAllFilters:A,children:j,topContent:M,inlineContent:N,initialOpen:P=!1,placeholder:F=`Search...`,id:I,...L}){let R=d(null),z=d(null),[B,V]=f(P),[H,U]=f(void 0),W=d(P?`auto`:0),G=()=>{V(e=>!e),W.current===`auto`&&(W.current=0)},K=()=>{B||V(!0)},q=()=>{R.current?.focus()},J=e=>{if(!(`autoCompleteOptions`in L)){O(e);return}let t=c({searchValue:e,autoCompleteOptions:L.autoCompleteOptions});if(t.length===1){L.onAutoComplete(t[0].key,t[0]);return}O(e)},Y=e=>{if(e.key===`Enter`&&E!==``)J(E);else if(e.key===`Backspace`&&E===``){if(H===void 0){for(let e of Object.keys(T).toReversed())if(T[e].length>0){U(e);break}return}k(H,T[H].length-1),U(void 0)}},X=Object.values(T).some(e=>e.length>0);return _(s,{id:I,children:[M,_(t,{children:[_(a,{ref:z,onClick:q,children:[g(m,{data:S,color:e.text.static_icons__tertiary.rgba}),Object.keys(T).flatMap(e=>T[e].map(({label:t,icon:n},r,i)=>g(o,{onDelete:()=>k(e,r),leadingIconData:n,$tryingToRemove:H===e&&r===i.length-1,children:t},`${t}-${r}-${e}`))),_(i,{children:[`autoCompleteOptions`in L&&L.autoCompleteOptions&&g(u,{search:E,autoCompleteOptions:L.autoCompleteOptions}),g(r,{ref:R,id:`filter-search-${I}`,type:`search`,autoComplete:`off`,value:E,placeholder:X?void 0:F,onChange:D,onKeyDownCapture:Y,onFocus:K})]}),Object.values(T).some(e=>e.length>0)&&g(p,{variant:`ghost_icon`,onClick:A,"data-testid":`clear-all-x`,children:g(m,{data:b,size:18,color:e.text.static_icons__tertiary.rgba})})]}),N,_(`button`,{onClick:G,"data-testid":`toggle-open-button`,children:[g(h,{variant:`button`,group:`navigation`,as:`span`,children:`Filters`}),g(m,{data:B?y:v,color:e.text.static_icons__tertiary.rgba})]})]}),g(C,{children:B&&g(w.div,{animate:{height:`auto`},initial:{height:W.current},exit:{height:0},children:_(n,{children:[_(`span`,{children:[g(m,{data:x,size:16,color:e.text.static_icons__tertiary.rgba}),g(h,{variant:`label`,group:`input`,color:e.text.static_icons__tertiary.rgba,children:`Type a keyword and press enter`})]}),j]})})}),`autoCompleteOptions`in L&&L.autoCompleteOptions&&g(l,{isFilterOpen:B,search:E,anchorElement:z.current,autoCompleteOptions:L.autoCompleteOptions,onAutoComplete:L.onAutoComplete,searchElement:R.current})]})}export{T as Filter};
1
+ import{Container as e,Content as t,SearchField as n,SearchFieldWrapper as r,Section as i,StyledChip as a,Wrapper as o}from"./Filter.styles.js";import{useRef as s,useState as c}from"react";import{jsx as l,jsxs as u}from"react/jsx-runtime";import{colors as d}from"src/atoms/style/colors";import{arrow_drop_down as f,arrow_drop_up as p,clear as m,info_circle as h,search as g}from"@equinor/eds-icons";import{Button as _,Icon as v,Typography as y}from"@equinor/eds-core-react";import{AnimatePresence as b,motion as x}from"framer-motion";import{AutoCompleteMenu as S}from"src/organisms/Filter/AutoCompleteMenu";import{AutoCompleteText as C}from"src/organisms/Filter/AutoCompleteText";import{getFilteredAutoCompleteOptions as w}from"src/organisms/Filter/Filter.utils";function T({values:T,search:E,onSearchChange:D,onSearchEnter:O,onClearFilter:k,onClearAllFilters:A,children:j,topContent:M,inlineContent:N,initialOpen:P=!1,placeholder:F=`Search...`,id:I,...L}){let R=s(null),z=s(null),[B,V]=c(P),[H,U]=c(void 0),W=s(P?`auto`:0),G=()=>{V(e=>!e),W.current===`auto`&&(W.current=0)},K=()=>{B||V(!0)},q=()=>{R.current?.focus()},J=e=>{if(!(`autoCompleteOptions`in L)){O(e);return}let t=w({searchValue:e,autoCompleteOptions:L.autoCompleteOptions});if(t.length===1){L.onAutoComplete(t[0].key,t[0]);return}O(e)},Y=e=>{if(e.key===`Enter`&&E!==``)J(E);else if(e.key===`Backspace`&&E===``){if(H===void 0){for(let e of Object.keys(T).toReversed())if(T[e].length>0){U(e);break}return}k(H,T[H].length-1),U(void 0)}},X=Object.values(T).some(e=>e.length>0);return u(o,{id:I,children:[M,u(e,{children:[u(i,{ref:z,onClick:q,children:[l(v,{data:g,color:d.text.static_icons__tertiary.rgba}),Object.keys(T).flatMap(e=>T[e].map(({label:t,icon:n},r,i)=>l(a,{onDelete:()=>k(e,r),leadingIconData:n,$tryingToRemove:H===e&&r===i.length-1,children:t},`${t}-${r}-${e}`))),u(r,{children:[`autoCompleteOptions`in L&&L.autoCompleteOptions&&l(C,{search:E,autoCompleteOptions:L.autoCompleteOptions}),l(n,{ref:R,id:`filter-search-${I}`,type:`search`,autoComplete:`off`,value:E,placeholder:X?void 0:F,onChange:D,onKeyDownCapture:Y,onFocus:K})]}),Object.values(T).some(e=>e.length>0)&&l(_,{variant:`ghost_icon`,onClick:A,"data-testid":`clear-all-x`,children:l(v,{data:m,size:18,color:d.text.static_icons__tertiary.rgba})})]}),N,u(`button`,{onClick:G,"data-testid":`toggle-open-button`,children:[l(y,{variant:`button`,group:`navigation`,as:`span`,children:`Filters`}),l(v,{data:B?p:f,color:d.text.static_icons__tertiary.rgba})]})]}),l(b,{children:B&&l(x.div,{animate:{height:`auto`},initial:{height:W.current},exit:{height:0},children:u(t,{children:[u(`span`,{children:[l(v,{data:h,size:16,color:d.text.static_icons__tertiary.rgba}),l(y,{variant:`label`,group:`input`,color:d.text.static_icons__tertiary.rgba,children:`Type a keyword and press enter`})]}),j]})})}),`autoCompleteOptions`in L&&L.autoCompleteOptions&&l(S,{isFilterOpen:B,search:E,anchorElement:z.current,autoCompleteOptions:L.autoCompleteOptions,onAutoComplete:L.onAutoComplete,searchElement:R.current})]})}export{T as Filter};
@@ -1,109 +1,109 @@
1
- import{colors as e}from"../../atoms/style/colors.js";import{spacings as t}from"../../atoms/style/spacings.js";import{shape as n,typography as r}from"../../atoms/style/index.js";import{Chip as i}from"../../molecules/Chip/Chip.js";import a,{css as o}from"styled-components";import{motion as s}from"framer-motion";const c=a.div`
1
+ import e,{css as t}from"styled-components";import{colors as n,shape as r,spacings as i,typography as a}from"src/atoms/style";import{motion as o}from"framer-motion";import{Chip as s}from"src/molecules/Chip/Chip";const c=e.div`
2
2
  width: 100%;
3
- border: 1px solid ${e.ui.background__heavy.rgba};
4
- background: ${e.ui.background__default.rgba};
5
- border-radius: ${n.corners.borderRadius};
3
+ border: 1px solid ${n.ui.background__heavy.rgba};
4
+ background: ${n.ui.background__default.rgba};
5
+ border-radius: ${r.corners.borderRadius};
6
6
  overflow: hidden;
7
- `,l=a.div`
7
+ `,l=e.div`
8
8
  display: flex;
9
9
  align-items: center;
10
10
  width: 100%;
11
- outline: 1px solid ${e.ui.background__medium.rgba};
11
+ outline: 1px solid ${n.ui.background__medium.rgba};
12
12
  > button:not([data-testid='clear-all-x']) {
13
- padding: 0 ${t.small} 0 ${t.medium_small};
13
+ padding: 0 ${i.small} 0 ${i.medium_small};
14
14
  display: flex;
15
- gap: ${t.x_small};
15
+ gap: ${i.x_small};
16
16
  align-items: center;
17
17
  justify-content: center;
18
- border-left: 1px solid ${e.ui.background__medium.rgba};
19
- color: ${e.interactive.primary__resting.rgba};
18
+ border-left: 1px solid ${n.ui.background__medium.rgba};
19
+ color: ${n.interactive.primary__resting.rgba};
20
20
  align-self: stretch;
21
21
  span {
22
- color: ${e.interactive.primary__resting.rgba};
22
+ color: ${n.interactive.primary__resting.rgba};
23
23
  }
24
24
 
25
25
  &:hover {
26
- background: ${e.interactive.primary__hover_alt.rgba};
26
+ background: ${n.interactive.primary__hover_alt.rgba};
27
27
  }
28
28
  }
29
29
 
30
30
  > button:last-child {
31
- border-left: 1px solid ${e.ui.background__medium.rgba};
31
+ border-left: 1px solid ${n.ui.background__medium.rgba};
32
32
  > span {
33
- color: ${e.text.static_icons__secondary.rgba};
33
+ color: ${n.text.static_icons__secondary.rgba};
34
34
  }
35
35
  &:hover {
36
- background: ${e.interactive.primary__hover_alt.rgba};
36
+ background: ${n.interactive.primary__hover_alt.rgba};
37
37
  }
38
38
  }
39
- `,u=a.section`
39
+ `,u=e.section`
40
40
  > svg:first-child {
41
41
  flex-shrink: 0;
42
42
  }
43
- min-height: calc(48px - (2 * ${t.medium_small}));
43
+ min-height: calc(48px - (2 * ${i.medium_small}));
44
44
  align-items: center;
45
45
  flex-grow: 1;
46
46
  display: flex;
47
47
  flex-wrap: wrap;
48
- gap: ${t.x_small};
49
- padding: ${t.medium_small} ${t.small};
48
+ gap: ${i.x_small};
49
+ padding: ${i.medium_small} ${i.small};
50
50
  cursor: text;
51
51
  &:hover {
52
- background: ${e.ui.background__light_medium.rgba};
52
+ background: ${n.ui.background__light_medium.rgba};
53
53
  }
54
54
  &:focus-within {
55
- border-bottom: 1px solid ${e.interactive.primary__resting.rgba};
56
- padding-bottom: calc(${t.medium_small} - 1px);
55
+ border-bottom: 1px solid ${n.interactive.primary__resting.rgba};
56
+ padding-bottom: calc(${i.medium_small} - 1px);
57
57
  }
58
58
  > button[data-testid='clear-all-x'] {
59
59
  width: 24px;
60
60
  height: 24px;
61
61
  border-left: none;
62
- margin-right: ${t.xx_small};
62
+ margin-right: ${i.xx_small};
63
63
  flex-shrink: 0;
64
64
  &:after {
65
65
  width: 24px;
66
66
  height: 24px;
67
67
  }
68
68
  }
69
- `,d=a.input`
69
+ `,d=e.input`
70
70
  background: transparent;
71
71
  width: 0;
72
72
  flex-grow: 1;
73
73
  padding: 0;
74
74
  font-family: 'Equinor', sans-serif;
75
- font-size: ${r.input.text.fontSize};
76
- font-weight: ${r.input.text.fontWeight};
77
- color: ${e.text.static_icons__default.rgba};
75
+ font-size: ${a.input.text.fontSize};
76
+ font-weight: ${a.input.text.fontWeight};
77
+ color: ${n.text.static_icons__default.rgba};
78
78
  outline: none;
79
79
  border: none;
80
80
  &::placeholder {
81
81
  opacity: 1;
82
- color: ${e.text.static_icons__tertiary.rgba};
82
+ color: ${n.text.static_icons__tertiary.rgba};
83
83
  }
84
84
  &::-webkit-search-cancel-button,
85
85
  &::-webkit-search-results-button,
86
86
  &::-webkit-search-results-decoration {
87
87
  display: none;
88
88
  }
89
- `,f=a(s.div)`
90
- border-bottom-left-radius: ${n.corners.borderRadius};
91
- border-bottom-right-radius: ${n.corners.borderRadius};
92
- background: ${e.ui.background__default.rgba};
89
+ `,f=e(o.div)`
90
+ border-bottom-left-radius: ${r.corners.borderRadius};
91
+ border-bottom-right-radius: ${r.corners.borderRadius};
92
+ background: ${n.ui.background__default.rgba};
93
93
  overflow: hidden;
94
94
  display: flex;
95
95
  flex-direction: column;
96
- gap: ${t.medium};
97
- padding: ${t.medium};
96
+ gap: ${i.medium};
97
+ padding: ${i.medium};
98
98
  > span {
99
99
  display: flex;
100
- gap: ${t.x_small};
100
+ gap: ${i.x_small};
101
101
  }
102
- `,p=a(i)`
103
- ${({$tryingToRemove:t})=>{if(t)return o`
104
- background: ${e.interactive.primary__hover_alt.rgba};
102
+ `,p=e(s)`
103
+ ${({$tryingToRemove:e})=>{if(e)return t`
104
+ background: ${n.interactive.primary__hover_alt.rgba};
105
105
  `}}
106
- `,m=a.section`
106
+ `,m=e.section`
107
107
  position: relative;
108
108
  flex-grow: 1;
109
109
  display: flex;
@@ -1 +1 @@
1
- import{ButtonWithMenu as e}from"./ButtonWithMenu.js";import{useState as t}from"react";import{Icon as n,Menu as r,Typography as i}from"@equinor/eds-core-react";import{jsx as a,jsxs as o}from"react/jsx-runtime";import{arrow_drop_down as s,arrow_drop_up as c}from"@equinor/eds-icons";function l({values:l,items:u,onQuickFilter:d,label:f=`Quick filter`}){let[p,m]=t(!1);return o(e,{onOpenChange:m,menuItems:Object.keys(u).flatMap(e=>u[e].map(t=>a(r.Item,{active:l[e]?.some(e=>e.value===t.value),onClick:()=>d(e,t),children:t.label},t.label))),children:[a(i,{as:`span`,variant:`button`,group:`navigation`,children:f}),a(n,{data:p?c:s})]})}export{l as QuickFilter};
1
+ import{ButtonWithMenu as e}from"./ButtonWithMenu.js";import{useState as t}from"react";import{jsx as n,jsxs as r}from"react/jsx-runtime";import{arrow_drop_down as i,arrow_drop_up as a}from"@equinor/eds-icons";import{Icon as o,Menu as s,Typography as c}from"@equinor/eds-core-react";function l({values:l,items:u,onQuickFilter:d,label:f=`Quick filter`}){let[p,m]=t(!1);return r(e,{onOpenChange:m,menuItems:Object.keys(u).flatMap(e=>u[e].map(t=>n(s.Item,{active:l[e]?.some(e=>e.value===t.value),onClick:()=>d(e,t),children:t.label},t.label))),children:[n(c,{as:`span`,variant:`button`,group:`navigation`,children:f}),n(o,{data:p?a:i})]})}export{l as QuickFilter};
@@ -1,5 +1,5 @@
1
- import{colors as e}from"../../atoms/style/colors.js";import{ButtonWithMenu as t}from"./ButtonWithMenu.js";import{Icon as n,Menu as r,Typography as i}from"@equinor/eds-core-react";import a from"styled-components";import{jsx as o,jsxs as s}from"react/jsx-runtime";import{radio_button_selected as c,radio_button_unselected as l,sort as u}from"@equinor/eds-icons";const d=a(r.Item)`
1
+ import{ButtonWithMenu as e}from"./ButtonWithMenu.js";import{jsx as t,jsxs as n}from"react/jsx-runtime";import{radio_button_selected as r,radio_button_unselected as i,sort as a}from"@equinor/eds-icons";import o from"styled-components";import{Icon as s,Menu as c,Typography as l}from"@equinor/eds-core-react";import{colors as u}from"src/atoms/style";const d=o(c.Item)`
2
2
  > div {
3
3
  grid-template-columns: 1fr auto;
4
4
  }
5
- `;function f({value:r,onChange:a,items:f}){let p=f.find(e=>e.value===r),m=e=>{a(e)};return s(t,{menuItems:f.map(t=>s(d,{onClick:()=>{m(t.value)},children:[t.label,o(n,{color:t.value===r?e.interactive.primary__resting.rgba:e.text.static_icons__tertiary.rgba,data:t.value===r?c:l})]},t.label)),children:[s(i,{as:`span`,variant:`button`,group:`navigation`,children:[`Sort by `,p?.label]}),o(n,{data:u})]})}export{f as SortMenu};
5
+ `;function f({value:o,onChange:c,items:f}){let p=f.find(e=>e.value===o),m=e=>{c(e)};return n(e,{menuItems:f.map(e=>n(d,{onClick:()=>{m(e.value)},children:[e.label,t(s,{color:e.value===o?u.interactive.primary__resting.rgba:u.text.static_icons__tertiary.rgba,data:e.value===o?r:i})]},e.label)),children:[n(l,{as:`span`,variant:`button`,group:`navigation`,children:[`Sort by `,p?.label]}),t(s,{data:a})]})}export{f as SortMenu};
@@ -1 +1 @@
1
- import{environment as e}from"../../atoms/utils/auth_environment.js";import{useEffect as t}from"react";const n=e.getAppName(import.meta.env.VITE_NAME),r=({title:e,children:r})=>(t(()=>{document.title!==e&&(document.title=`${n} - ${e}`)},[e]),r);export{r as PageTitle};
1
+ import{useEffect as e}from"react";import{environment as t}from"src/atoms/utils";const n=t.getAppName(import.meta.env.VITE_NAME),r=({title:t,children:r})=>(e(()=>{document.title!==t&&(document.title=`${n} - ${t}`)},[t]),r);export{r as PageTitle};
@@ -1,27 +1,27 @@
1
- import{colors as e}from"../../atoms/style/colors.js";import{spacings as t}from"../../atoms/style/spacings.js";import{shape as n}from"../../atoms/style/index.js";import{formatDate as r}from"../../atoms/utils/date.js";import{getImagesFromRichText as i}from"../../atoms/utils/richtext.js";import{timeToRead as a,usingReleaseNoteDate as o}from"./ReleaseNote.utils.js";import{RichTextDisplay as s}from"../../molecules/RichTextDisplay/RichTextDisplay.js";import{RELEASE_NOTE_RICH_TEXT_COLLAPSED_HEIGHT as c}from"./ReleaseNote.constants.js";import{ToggleExpanded as l}from"./ToggleExpanded.js";import{MetaTags as u}from"./MetaTags.js";import{forwardRef as d,useRef as f,useState as p}from"react";import{Typography as m}from"@equinor/eds-core-react";import h from"styled-components";import{jsx as g,jsxs as _}from"react/jsx-runtime";import{motion as v}from"framer-motion";import{ReleaseNotesService as y}from"@equinor/subsurface-app-management";const b=h.div`
1
+ import{RELEASE_NOTE_RICH_TEXT_COLLAPSED_HEIGHT as e}from"./ReleaseNote.constants.js";import{timeToRead as t,usingReleaseNoteDate as n}from"./ReleaseNote.utils.js";import{ToggleExpanded as r}from"./ToggleExpanded.js";import{forwardRef as i,useRef as a,useState as o}from"react";import{jsx as s,jsxs as c}from"react/jsx-runtime";import{ReleaseNotesService as l}from"@equinor/subsurface-app-management";import{formatDate as u,getImagesFromRichText as d}from"src/atoms/utils";import f from"styled-components";import{Typography as p}from"@equinor/eds-core-react";import{colors as m,shape as h,spacings as g}from"src/atoms/style";import{motion as _}from"framer-motion";import{RichTextDisplay as v}from"src/molecules/RichTextDisplay/RichTextDisplay";import{MetaTags as y}from"src/organisms/ReleaseNote/MetaTags";const b=f.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
- padding: ${t.medium};
4
+ padding: ${g.medium};
5
5
  position: relative;
6
- background: ${e.ui.background__default.rgba};
7
- border: 1px solid ${e.ui.background__heavy.rgba};
8
- border-radius: ${n.corners.borderRadius};
6
+ background: ${m.ui.background__default.rgba};
7
+ border: 1px solid ${m.ui.background__heavy.rgba};
8
+ border-radius: ${h.corners.borderRadius};
9
9
  min-width: 800px;
10
10
  width: 100%;
11
11
  overflow: hidden;
12
12
  > h4 {
13
- margin-top: ${t.large};
14
- margin-bottom: ${t.medium};
13
+ margin-top: ${g.large};
14
+ margin-bottom: ${g.medium};
15
15
  }
16
16
  padding-bottom: calc(
17
- 68px + ${t.medium}
17
+ 68px + ${g.medium}
18
18
  ); // Space for the expand button
19
- `,x=h.header`
19
+ `,x=f.header`
20
20
  display: flex;
21
21
  justify-content: space-between;
22
22
  align-items: center;
23
- `,S=h.section`
23
+ `,S=f.section`
24
24
  display: flex;
25
- gap: ${t.medium};
25
+ gap: ${g.medium};
26
26
  align-items: center;
27
- `,C=d(({applicationName:n,releaseDate:d,createdDate:h,tags:C,version:w,title:T,body:E,actionMenu:D,expanded:O=!1},k)=>{let A=o({releaseDate:d,createdDate:h}),j=f(O?`auto`:c),[M,N]=p(O),[P,F]=p(i(E).length>0),I=f(new ResizeObserver(e=>{e.at(0)&&e[0].target.scrollHeight>c&&F(!0)})),L=()=>{N(e=>!e)},R=e=>{e&&I.current.observe(e)};return _(b,{ref:k,style:{paddingBottom:M?t.medium:void 0},children:[_(x,{children:[_(S,{children:[g(m,{variant:`caption`,color:e.text.static_icons__secondary.rgba,children:n}),_(m,{variant:`overline`,color:e.text.static_icons__tertiary.rgba,children:[r(A),w?` ・ ${w}`:``,` ・ `,a(E)]})]}),g(u,{tags:C,children:D})]}),g(m,{variant:`h4`,children:T}),g(v.div,{ref:R,initial:{height:j.current},animate:{height:M?`auto`:c},style:{overflow:M?`auto`:void 0},children:g(s,{value:E,onImageRead:y.getReleaseNoteImage,padding:`none`})}),P&&!O&&g(l,{expanded:M,onToggleExpanded:L})]})});C.displayName=`ReleaseNote`;export{C as ReleaseNote};
27
+ `,C=i(({applicationName:i,releaseDate:f,createdDate:h,tags:C,version:w,title:T,body:E,actionMenu:D,expanded:O=!1},k)=>{let A=n({releaseDate:f,createdDate:h}),j=a(O?`auto`:e),[M,N]=o(O),[P,F]=o(d(E).length>0),I=a(new ResizeObserver(t=>{t.at(0)&&t[0].target.scrollHeight>e&&F(!0)})),L=()=>{N(e=>!e)},R=e=>{e&&I.current.observe(e)};return c(b,{ref:k,style:{paddingBottom:M?g.medium:void 0},children:[c(x,{children:[c(S,{children:[s(p,{variant:`caption`,color:m.text.static_icons__secondary.rgba,children:i}),c(p,{variant:`overline`,color:m.text.static_icons__tertiary.rgba,children:[u(A),w?` ・ ${w}`:``,` ・ `,t(E)]})]}),s(y,{tags:C,children:D})]}),s(p,{variant:`h4`,children:T}),s(_.div,{ref:R,initial:{height:j.current},animate:{height:M?`auto`:e},style:{overflow:M?`auto`:void 0},children:s(v,{value:E,onImageRead:l.getReleaseNoteImage,padding:`none`})}),P&&!O&&s(r,{expanded:M,onToggleExpanded:L})]})});C.displayName=`ReleaseNote`;export{C as ReleaseNote};
@@ -1,13 +1,13 @@
1
- import{colors as e}from"../../atoms/style/colors.js";import{spacings as t}from"../../atoms/style/spacings.js";import{Button as n}from"../../molecules/Button/Button.js";import{Icon as r}from"@equinor/eds-core-react";import i from"styled-components";import{jsx as a,jsxs as o}from"react/jsx-runtime";import{arrow_drop_down as s,arrow_drop_up as c}from"@equinor/eds-icons";const l=i.div`
1
+ import{jsx as e,jsxs as t}from"react/jsx-runtime";import{arrow_drop_down as n,arrow_drop_up as r}from"@equinor/eds-icons";import i from"styled-components";import{Icon as a}from"@equinor/eds-core-react";import{colors as o,spacings as s}from"src/atoms/style";import{Button as c}from"src/molecules/Button/Button";const l=i.div`
2
2
  position: absolute;
3
3
  bottom: 0;
4
4
  left: 0;
5
- gap: ${t.medium};
6
- padding: ${t.medium};
5
+ gap: ${s.medium};
6
+ padding: ${s.medium};
7
7
  background: linear-gradient(
8
- color-mix(in srgb, ${e.ui.background__default.rgba} 10%, transparent)
8
+ color-mix(in srgb, ${o.ui.background__default.rgba} 10%, transparent)
9
9
  0%,
10
- ${e.ui.background__default.rgba} 15%
10
+ ${o.ui.background__default.rgba} 15%
11
11
  );
12
12
  width: 100%;
13
- `,u=({expanded:e,onToggleExpanded:t})=>a(l,{children:o(n,{variant:`ghost`,onClick:t,children:[`Show `,e?`less`:`more`,a(r,{data:e?c:s})]})});export{u as ToggleExpanded};
13
+ `,u=({expanded:i,onToggleExpanded:o})=>e(l,{children:t(c,{variant:`ghost`,onClick:o,children:[`Show `,i?`less`:`more`,e(a,{data:i?r:n})]})});export{u as ToggleExpanded};
@@ -1,4 +1,4 @@
1
- import * as react122 from "react";
1
+ import * as react140 from "react";
2
2
  import { HTMLAttributes, ReactNode } from "react";
3
3
 
4
4
  //#region src/organisms/SideBar/SideBar.d.ts
@@ -16,6 +16,6 @@ interface SideBarWithCreate extends SideBarProps {
16
16
  createDisabled?: boolean;
17
17
  createActive?: boolean;
18
18
  }
19
- declare const SideBar: react122.ForwardRefExoticComponent<(SideBarWithCreate | BaseSideBar) & react122.RefAttributes<HTMLDivElement>>;
19
+ declare const SideBar: react140.ForwardRefExoticComponent<(SideBarWithCreate | BaseSideBar) & react140.RefAttributes<HTMLDivElement>>;
20
20
  //#endregion
21
21
  export { SideBar };
@@ -1 +1 @@
1
- import{MenuItem as e}from"./MenuItem/MenuItem.js";import{SideBar as t}from"./SideBar.js";const n=t;n.Item=e;export{n as SideBar};
1
+ import{MenuItem as e}from"src/organisms/SideBar/MenuItem/MenuItem";import{SideBar as t}from"src/organisms/SideBar/SideBar";const n=t;n.Item=e;export{n as SideBar};
@@ -1,10 +1,10 @@
1
- import * as react128 from "react";
1
+ import * as react112 from "react";
2
2
 
3
3
  //#region src/organisms/Status/Action.d.ts
4
4
  interface ActionProps {
5
5
  onClick: () => void;
6
6
  buttonText?: string;
7
7
  }
8
- declare const Action: react128.ForwardRefExoticComponent<ActionProps & react128.RefAttributes<HTMLButtonElement>>;
8
+ declare const Action: react112.ForwardRefExoticComponent<ActionProps & react112.RefAttributes<HTMLButtonElement>>;
9
9
  //#endregion
10
10
  export { Action };
@@ -1 +1 @@
1
- import{DEFAULT_ACTION_TEXT as e}from"./Status.constants.js";import{forwardRef as t}from"react";import{Button as n}from"@equinor/eds-core-react";import{jsx as r}from"react/jsx-runtime";const i=t(({buttonText:t=e,onClick:i},a)=>r(n,{ref:a,onClick:i,children:t}));i.displayName=`Status.Action`;export{i as Action};
1
+ import{DEFAULT_ACTION_TEXT as e}from"./Status.constants.js";import{forwardRef as t}from"react";import{jsx as n}from"react/jsx-runtime";import{Button as r}from"@equinor/eds-core-react";const i=t(({buttonText:t=e,onClick:i},a)=>n(r,{ref:a,onClick:i,children:t}));i.displayName=`Status.Action`;export{i as Action};
@@ -1,9 +1,9 @@
1
- import * as react130 from "react";
1
+ import * as react114 from "react";
2
2
 
3
3
  //#region src/organisms/Status/Description.d.ts
4
4
  interface DescriptionProps {
5
5
  text?: string;
6
6
  }
7
- declare const Description: react130.ForwardRefExoticComponent<DescriptionProps & react130.RefAttributes<HTMLHeadingElement>>;
7
+ declare const Description: react114.ForwardRefExoticComponent<DescriptionProps & react114.RefAttributes<HTMLHeadingElement>>;
8
8
  //#endregion
9
9
  export { Description };
@@ -1 +1 @@
1
- import{DEFAULT_DESCRIPTION as e}from"./Status.constants.js";import{forwardRef as t}from"react";import{Typography as n}from"@equinor/eds-core-react";import{jsx as r}from"react/jsx-runtime";const i=t(({text:t=e},i)=>r(n,{ref:i,variant:`h4`,"data-testid":`description`,children:t}));i.displayName=`Status.Description`;export{i as Description};
1
+ import{DEFAULT_DESCRIPTION as e}from"./Status.constants.js";import{forwardRef as t}from"react";import{jsx as n}from"react/jsx-runtime";import{Typography as r}from"@equinor/eds-core-react";const i=t(({text:t=e},i)=>n(r,{ref:i,variant:`h4`,"data-testid":`description`,children:t}));i.displayName=`Status.Description`;export{i as Description};
@@ -1,4 +1,4 @@
1
- import{SHAPES as e,SHAPE_ANIMATIONS as t,SHAPE_INITIALS as n,SHAPE_TRANSITIONS as r}from"./Illustration.constants.js";import i from"styled-components";import{jsx as a,jsxs as o}from"react/jsx-runtime";import{motion as s}from"framer-motion";const c=i.div`
1
+ import{jsx as e,jsxs as t}from"react/jsx-runtime";import n from"styled-components";import{motion as r}from"framer-motion";import{SHAPES as i,SHAPE_ANIMATIONS as a,SHAPE_INITIALS as o,SHAPE_TRANSITIONS as s}from"src/organisms/Status/Illustration.constants";const c=n.div`
2
2
  width: 328px;
3
3
  height: 232px;
4
4
  overflow: hidden;
@@ -14,4 +14,4 @@ import{SHAPES as e,SHAPE_ANIMATIONS as t,SHAPE_INITIALS as n,SHAPE_TRANSITIONS a
14
14
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5));
15
15
  }
16
16
  }
17
- `,l=({color:i})=>a(c,{children:o(`svg`,{width:`1015`,height:`713`,viewBox:`0 0 1015 713`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,children:[a(`rect`,{width:`1015`,height:`713`,fill:`#333333`}),t.map((t,i)=>a(s.path,{fillRule:`evenodd`,fill:e[i].fill,initial:n[i],animate:t,transition:r[i]},i)),a(`rect`,{width:`1015`,height:`713`,fill:i,mask:`url(#color-mask)`,style:{mixBlendMode:`multiply`}}),a(`rect`,{width:`1015`,height:`713`,filter:`url(#nnnoise-filter)`,mask:`url(#noise-mask)`}),o(`defs`,{children:[o(`mask`,{id:`color-mask`,children:[a(`rect`,{width:`1015`,height:`713`,fill:`white`}),a(s.path,{fillRule:`evenodd`,clipRule:`evenodd`,initial:n.at(-2),animate:t.at(-2),transition:r.at(-2),fill:`black`}),a(s.path,{fillRule:`evenodd`,clipRule:`evenodd`,initial:n.at(-1),animate:t.at(-1),transition:r.at(-1),fill:`black`})]}),o(`mask`,{id:`noise-mask`,children:[a(`rect`,{width:`1015`,height:`713`,fill:`white`}),a(s.path,{fillRule:`evenodd`,clipRule:`evenodd`,initial:n.at(-1),animate:t.at(-1),transition:r.at(-1),fill:`black`})]}),o(`filter`,{id:`nnnoise-filter`,x:`-20%`,y:`-20%`,width:`140%`,height:`140%`,filterUnits:`objectBoundingBox`,primitiveUnits:`userSpaceOnUse`,colorInterpolationFilters:`linearRGB`,children:[a(`feTurbulence`,{type:`turbulence`,baseFrequency:`0.2`,numOctaves:`4`,seed:`15`,stitchTiles:`stitch`,x:`0%`,y:`0%`,width:`100%`,height:`100%`,result:`turbulence`}),a(s.feSpecularLighting,{surfaceScale:`60`,specularConstant:`2.3`,specularExponent:`10`,lightingColor:`#441c7b`,x:`0%`,y:`0%`,width:`100%`,height:`100%`,in:`turbulence`,result:`specularLighting`,children:a(`feDistantLight`,{azimuth:`3`,elevation:`54`})}),a(`feColorMatrix`,{type:`saturate`,values:`0`,x:`0%`,y:`0%`,width:`100%`,height:`100%`,in:`specularLighting`,result:`colormatrix`})]})]})]})});export{l as Illustration};
17
+ `,l=({color:n})=>e(c,{children:t(`svg`,{width:`1015`,height:`713`,viewBox:`0 0 1015 713`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,children:[e(`rect`,{width:`1015`,height:`713`,fill:`#333333`}),a.map((t,n)=>e(r.path,{fillRule:`evenodd`,fill:i[n].fill,initial:o[n],animate:t,transition:s[n]},n)),e(`rect`,{width:`1015`,height:`713`,fill:n,mask:`url(#color-mask)`,style:{mixBlendMode:`multiply`}}),e(`rect`,{width:`1015`,height:`713`,filter:`url(#nnnoise-filter)`,mask:`url(#noise-mask)`}),t(`defs`,{children:[t(`mask`,{id:`color-mask`,children:[e(`rect`,{width:`1015`,height:`713`,fill:`white`}),e(r.path,{fillRule:`evenodd`,clipRule:`evenodd`,initial:o.at(-2),animate:a.at(-2),transition:s.at(-2),fill:`black`}),e(r.path,{fillRule:`evenodd`,clipRule:`evenodd`,initial:o.at(-1),animate:a.at(-1),transition:s.at(-1),fill:`black`})]}),t(`mask`,{id:`noise-mask`,children:[e(`rect`,{width:`1015`,height:`713`,fill:`white`}),e(r.path,{fillRule:`evenodd`,clipRule:`evenodd`,initial:o.at(-1),animate:a.at(-1),transition:s.at(-1),fill:`black`})]}),t(`filter`,{id:`nnnoise-filter`,x:`-20%`,y:`-20%`,width:`140%`,height:`140%`,filterUnits:`objectBoundingBox`,primitiveUnits:`userSpaceOnUse`,colorInterpolationFilters:`linearRGB`,children:[e(`feTurbulence`,{type:`turbulence`,baseFrequency:`0.2`,numOctaves:`4`,seed:`15`,stitchTiles:`stitch`,x:`0%`,y:`0%`,width:`100%`,height:`100%`,result:`turbulence`}),e(r.feSpecularLighting,{surfaceScale:`60`,specularConstant:`2.3`,specularExponent:`10`,lightingColor:`#441c7b`,x:`0%`,y:`0%`,width:`100%`,height:`100%`,in:`turbulence`,result:`specularLighting`,children:e(`feDistantLight`,{azimuth:`3`,elevation:`54`})}),e(`feColorMatrix`,{type:`saturate`,values:`0`,x:`0%`,y:`0%`,width:`100%`,height:`100%`,in:`specularLighting`,result:`colormatrix`})]})]})]})});export{l as Illustration};
@@ -1,4 +1,4 @@
1
- import * as react134 from "react";
1
+ import * as react116 from "react";
2
2
 
3
3
  //#region src/organisms/Status/MissingAccesses.d.ts
4
4
  interface AccessType {
@@ -9,6 +9,6 @@ interface MissingAccessesProps {
9
9
  accesses?: AccessType[];
10
10
  text?: string;
11
11
  }
12
- declare const MissingAccesses: react134.ForwardRefExoticComponent<MissingAccessesProps & react134.RefAttributes<HTMLDivElement>>;
12
+ declare const MissingAccesses: react116.ForwardRefExoticComponent<MissingAccessesProps & react116.RefAttributes<HTMLDivElement>>;
13
13
  //#endregion
14
14
  export { MissingAccesses };
@@ -1,11 +1,11 @@
1
- import{tokens as e}from"../../node_modules/@equinor/eds-tokens/dist/esm/base/index.js";import{spacings as t}from"../../atoms/style/spacings.js";import{forwardRef as n}from"react";import{Button as r,Icon as i,Typography as a}from"@equinor/eds-core-react";import o from"styled-components";import{jsx as s,jsxs as c}from"react/jsx-runtime";import{external_link as l}from"@equinor/eds-icons";const{colors:u}=e,d=o.div`
1
+ import{tokens as e}from"../../node_modules/@equinor/eds-tokens/dist/esm/base/index.js";import{forwardRef as t}from"react";import{jsx as n,jsxs as r}from"react/jsx-runtime";import{external_link as i}from"@equinor/eds-icons";import a from"styled-components";import{Button as o,Icon as s,Typography as c}from"@equinor/eds-core-react";import{spacings as l}from"src/atoms/style";const{colors:u}=e,d=a.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
- gap: ${t.small};
4
+ gap: ${l.small};
5
5
  > div {
6
6
  display: flex;
7
7
  justify-content: space-between;
8
8
  align-items: center;
9
- gap: ${t.medium};
9
+ gap: ${l.medium};
10
10
  }
11
- `,f=n(({accesses:e=[],text:t},n)=>c(d,{ref:n,children:[s(a,{group:`paragraph`,variant:`body_long_bold`,children:t??`You can apply for access to the app in AccessIT:`}),e?.map((e,t)=>c(`div`,{children:[s(a,{group:`paragraph`,variant:`body_short`,children:e.title}),e.url&&s(r,{as:`a`,"data-testid":`missing-access-button-${e.title}`,variant:`ghost_icon`,target:`_blank`,href:e.url,children:s(i,{data:l,color:u.text.static_icons__default.rgba})})]},t))]}));f.displayName=`Status.MissingAccesses`;export{f as MissingAccesses};
11
+ `,f=t(({accesses:e=[],text:t},a)=>r(d,{ref:a,children:[n(c,{group:`paragraph`,variant:`body_long_bold`,children:t??`You can apply for access to the app in AccessIT:`}),e?.map((e,t)=>r(`div`,{children:[n(c,{group:`paragraph`,variant:`body_short`,children:e.title}),e.url&&n(o,{as:`a`,"data-testid":`missing-access-button-${e.title}`,variant:`ghost_icon`,target:`_blank`,href:e.url,children:n(s,{data:i,color:u.text.static_icons__default.rgba})})]},t))]}));f.displayName=`Status.MissingAccesses`;export{f as MissingAccesses};
@@ -1,7 +1,7 @@
1
- import{colors as e}from"../../atoms/style/colors.js";import{spacings as t}from"../../atoms/style/spacings.js";import{Illustration as n}from"./Illustration.js";import r,{css as i}from"styled-components";import{jsx as a,jsxs as o}from"react/jsx-runtime";const s=r.div`
1
+ import{Illustration as e}from"./Illustration.js";import{jsx as t,jsxs as n}from"react/jsx-runtime";import r,{css as i}from"styled-components";import{colors as a,spacings as o}from"src/atoms/style";const s=r.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
- gap: ${t.medium};
4
+ gap: ${o.medium};
5
5
  align-items: center;
6
6
  justify-items: center;
7
7
  max-width: 510px;
@@ -24,6 +24,6 @@ import{colors as e}from"../../atoms/style/colors.js";import{spacings as t}from".
24
24
  }
25
25
  // Action
26
26
  > button {
27
- margin-top: ${t.medium};
27
+ margin-top: ${o.medium};
28
28
  }
29
- `,c=({color:t=e.interactive.primary__resting.rgba,expectedBackgroundColor:r=e.ui.background__light.rgba,children:i,center:c=!0})=>o(s,{$center:c,$expectedBackgroundColor:r,"data-testid":`status-container`,children:[a(n,{color:t}),i]});export{c as Status};
29
+ `,c=({color:r=a.interactive.primary__resting.rgba,expectedBackgroundColor:i=a.ui.background__light.rgba,children:o,center:c=!0})=>n(s,{$center:c,$expectedBackgroundColor:i,"data-testid":`status-container`,children:[t(e,{color:r}),o]});export{c as Status};
@@ -1,9 +1,9 @@
1
- import * as react132 from "react";
1
+ import * as react108 from "react";
2
2
 
3
3
  //#region src/organisms/Status/Title.d.ts
4
4
  interface TitleProps {
5
5
  title?: string;
6
6
  }
7
- declare const Title: react132.ForwardRefExoticComponent<TitleProps & react132.RefAttributes<HTMLHeadingElement>>;
7
+ declare const Title: react108.ForwardRefExoticComponent<TitleProps & react108.RefAttributes<HTMLHeadingElement>>;
8
8
  //#endregion
9
9
  export { Title };
@@ -1 +1 @@
1
- import{DEFAULT_TITLE as e}from"./Status.constants.js";import{forwardRef as t}from"react";import{Typography as n}from"@equinor/eds-core-react";import{jsx as r}from"react/jsx-runtime";const i=t(({title:t=e},i)=>r(n,{ref:i,variant:`h1`,bold:!0,"data-testid":`title`,children:t}));i.displayName=`Status.Title`;export{i as Title};
1
+ import{DEFAULT_TITLE as e}from"./Status.constants.js";import{forwardRef as t}from"react";import{jsx as n}from"react/jsx-runtime";import{Typography as r}from"@equinor/eds-core-react";const i=t(({title:t=e},i)=>n(r,{ref:i,variant:`h1`,bold:!0,"data-testid":`title`,children:t}));i.displayName=`Status.Title`;export{i as Title};
@@ -1 +1 @@
1
- import{MissingAccessToApp as e}from"./MissingAccessToApp.js";import{BadRequest as t}from"./BadRequest.js";import{GenericError as n}from"./GenericError.js";import{MissingPermissions as r}from"./MissingPermissions.js";import{PageNotFound as i}from"./PageNotFound.js";import{ServerError as a}from"./ServerError.js";import{jsx as o}from"react/jsx-runtime";const s=({statusCode:s})=>s<400?null:o(s===400?t:s===401?e:s===403?r:s===404?i:s===500?a:n,{});export{s as ApiResponseError};
1
+ import{BadRequest as e}from"./BadRequest.js";import{GenericError as t}from"./GenericError.js";import{MissingAccessToApp as n}from"./MissingAccessToApp.js";import{MissingPermissions as r}from"./MissingPermissions.js";import{PageNotFound as i}from"./PageNotFound.js";import{ServerError as a}from"./ServerError.js";import{jsx as o}from"react/jsx-runtime";const s=({statusCode:s})=>s<400?null:o(s===400?e:s===401?n:s===403?r:s===404?i:s===500?a:t,{});export{s as ApiResponseError};
@@ -1,3 +1,3 @@
1
- import{Status as e}from"../index.js";import{jsx as t,jsxs as n}from"react/jsx-runtime";import{useRouter as r}from"@tanstack/react-router";const i=()=>{let{history:i}=r(),a=()=>{i.go(-1)};return n(e,{color:`#AB9067`,children:[t(e.Title,{title:`Bad request`}),t(e.Description,{text:`We encountered some confusion regarding your request.
1
+ import{jsx as e,jsxs as t}from"react/jsx-runtime";import{useRouter as n}from"@tanstack/react-router";import{Status as r}from"src/organisms/Status";const i=()=>{let{history:i}=n(),a=()=>{i.go(-1)};return t(r,{color:`#AB9067`,children:[e(r.Title,{title:`Bad request`}),e(r.Description,{text:`We encountered some confusion regarding your request.
2
2
  Please try again later, or if the issue persists, kindly report
3
- it using the feedback form located in the top bar.`}),t(e.Action,{onClick:a})]})};export{i as BadRequest};
3
+ it using the feedback form located in the top bar.`}),e(r.Action,{onClick:a})]})};export{i as BadRequest};
@@ -1 +1 @@
1
- import{Status as e}from"../index.js";import{jsx as t,jsxs as n}from"react/jsx-runtime";import{useRouter as r}from"@tanstack/react-router";const i=()=>{let{history:i}=r(),a=()=>{i.go(-1)};return n(e,{children:[t(e.Title,{}),t(e.Description,{}),t(e.Action,{onClick:a})]})};export{i as GenericError};
1
+ import{jsx as e,jsxs as t}from"react/jsx-runtime";import{useRouter as n}from"@tanstack/react-router";import{Status as r}from"src/organisms/Status";const i=()=>{let{history:i}=n(),a=()=>{i.go(-1)};return t(r,{children:[e(r.Title,{}),e(r.Description,{}),e(r.Action,{onClick:a})]})};export{i as GenericError};
@@ -1 +1 @@
1
- import{environment as e}from"../../../atoms/utils/auth_environment.js";import{Status as t}from"../index.js";import{jsx as n,jsxs as r}from"react/jsx-runtime";const i=()=>{let i=e.getAppName(import.meta.env.VITE_NAME),a=()=>{window.open(`https://accessit.equinor.com/Search/Search?term=${encodeURIComponent(i)}`,`_blank`)};return r(t,{children:[n(t.Title,{title:`You don't have access to ${i}`}),n(t.Description,{text:`You can apply for acces to the app in AccessIT`}),n(t.Action,{onClick:a,buttonText:`Apply for access`})]})};export{i as MissingAccessToApp};
1
+ import{jsx as e,jsxs as t}from"react/jsx-runtime";import{environment as n}from"src/atoms/utils";import{Status as r}from"src/organisms/Status";const i=()=>{let i=n.getAppName(import.meta.env.VITE_NAME),a=()=>{window.open(`https://accessit.equinor.com/Search/Search?term=${encodeURIComponent(i)}`,`_blank`)};return t(r,{children:[e(r.Title,{title:`You don't have access to ${i}`}),e(r.Description,{text:`You can apply for acces to the app in AccessIT`}),e(r.Action,{onClick:a,buttonText:`Apply for access`})]})};export{i as MissingAccessToApp};
@@ -1 +1 @@
1
- import{Status as e}from"../index.js";import{jsx as t,jsxs as n}from"react/jsx-runtime";import{useRouter as r}from"@tanstack/react-router";const i=()=>{let{history:i}=r(),a=()=>{i.go(-1)};return n(e,{children:[t(e.Title,{title:`It looks like you don't have permission to access this page.`}),t(e.Action,{onClick:a})]})};export{i as MissingPermissions};
1
+ import{jsx as e,jsxs as t}from"react/jsx-runtime";import{useRouter as n}from"@tanstack/react-router";import{Status as r}from"src/organisms/Status";const i=()=>{let{history:i}=n(),a=()=>{i.go(-1)};return t(r,{children:[e(r.Title,{title:`It looks like you don't have permission to access this page.`}),e(r.Action,{onClick:a})]})};export{i as MissingPermissions};