@equinor/amplify-component-lib 9.15.3 → 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 (347) 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.d.ts +0 -1
  9. package/dist/atoms/index.js +1 -1
  10. package/dist/atoms/style/index.js +1 -1
  11. package/dist/atoms/utils/auth_environment.js +1 -1
  12. package/dist/atoms/utils/date.d.ts +1 -1
  13. package/dist/atoms/utils/richtext.js +1 -1
  14. package/dist/deprecated/ExpandingIconButton/ExpandingIconButton.d.ts +2 -2
  15. package/dist/deprecated/ExpandingIconButton/ExpandingIconButton.js +4 -4
  16. package/dist/deprecated/IconToggleButton.d.ts +2 -2
  17. package/dist/deprecated/IconToggleButton.js +1 -1
  18. package/dist/deprecated/OldStepper/OldStep.js +3 -3
  19. package/dist/deprecated/OldStepper/OldStepLine.js +2 -2
  20. package/dist/deprecated/OldStepper/OldStepper.js +3 -3
  21. package/dist/index.d.ts +4 -5
  22. package/dist/index.js +1 -1
  23. package/dist/molecules/ApplicationIcon/ApplicationIcon.js +1 -1
  24. package/dist/molecules/ApplicationIcon/ApplicationIconBase.js +4 -4
  25. package/dist/molecules/ApplicationIcon/ApplicationIconCollection.js +1 -1
  26. package/dist/molecules/ApplicationIcon/Icons/Acquire.js +1 -1
  27. package/dist/molecules/ApplicationIcon/Icons/Adca.js +1 -1
  28. package/dist/molecules/ApplicationIcon/Icons/Bravos.js +1 -1
  29. package/dist/molecules/ApplicationIcon/Icons/Dasha.js +1 -1
  30. package/dist/molecules/ApplicationIcon/Icons/Fallback.js +1 -1
  31. package/dist/molecules/ApplicationIcon/Icons/ForecastFormatter.js +1 -1
  32. package/dist/molecules/ApplicationIcon/Icons/FourDInsight.js +1 -1
  33. package/dist/molecules/ApplicationIcon/Icons/InPress.js +1 -1
  34. package/dist/molecules/ApplicationIcon/Icons/JsEmbark.js +1 -1
  35. package/dist/molecules/ApplicationIcon/Icons/LoggingQualification.js +1 -1
  36. package/dist/molecules/ApplicationIcon/Icons/Orca.js +1 -1
  37. package/dist/molecules/ApplicationIcon/Icons/Premo.js +1 -1
  38. package/dist/molecules/ApplicationIcon/Icons/Pwex.js +1 -1
  39. package/dist/molecules/ApplicationIcon/Icons/Recap.js +1 -1
  40. package/dist/molecules/ApplicationIcon/Icons/SubsurfacePortal.js +1 -1
  41. package/dist/molecules/Badge/Badge.js +1 -1
  42. package/dist/molecules/Banner/Banner.js +1 -1
  43. package/dist/molecules/Banner/Banner.styles.js +3 -3
  44. package/dist/molecules/Button/Button.js +3 -3
  45. package/dist/molecules/Chip/Chip.d.ts +2 -2
  46. package/dist/molecules/Chip/Chip.js +1 -1
  47. package/dist/molecules/ContentMenu/ContentMenu.js +1 -1
  48. package/dist/molecules/DatePicker/DatePicker.d.ts +3 -3
  49. package/dist/molecules/DatePicker/DatePicker.js +1 -1
  50. package/dist/molecules/DateRangePicker/DateRangePicker.d.ts +3 -3
  51. package/dist/molecules/DateRangePicker/DateRangePicker.js +1 -1
  52. package/dist/molecules/Dialog/Dialog.d.ts +3 -3
  53. package/dist/molecules/Dialog/Dialog.js +1 -1
  54. package/dist/molecules/Dialog/Dialog.styles.js +10 -10
  55. package/dist/molecules/Dialog/DialogAction.js +1 -1
  56. package/dist/molecules/EquinorLogo/EquinorLogo.d.ts +2 -2
  57. package/dist/molecules/EquinorLogo/EquinorLogo.js +1 -1
  58. package/dist/molecules/FileProgress/FileProgress.js +1 -1
  59. package/dist/molecules/FileUploadArea/FileUploadArea.js +1 -1
  60. package/dist/molecules/FileUploadArea/FileUploadArea.styles.js +18 -18
  61. package/dist/molecules/FullPageSpinner/FullPageSpinner.js +8 -8
  62. package/dist/molecules/IconCell/IconCell.d.ts +54 -0
  63. package/dist/molecules/IconCell/IconCell.js +1 -0
  64. package/dist/molecules/IconCell/IconCell.styles.js +108 -0
  65. package/dist/molecules/IconCell/IconCell.types.d.ts +33 -0
  66. package/dist/molecules/IconCell/IconCell.types.js +1 -0
  67. package/dist/molecules/IconCell/IconCell.utils.js +8 -0
  68. package/dist/molecules/InfoElement/InfoElement.js +1 -1
  69. package/dist/molecules/ListItem/ListItem.d.ts +2 -2
  70. package/dist/molecules/ListItem/ListItem.js +13 -13
  71. package/dist/molecules/OptionDrawer/OptionDrawer.js +1 -1
  72. package/dist/molecules/OptionalTooltip/OptionalTooltip.js +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 +6 -6
  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 +6 -6
  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.js +1 -1
  98. package/dist/molecules/Select/Select.styles.d.ts +1 -1
  99. package/dist/molecules/Select/Select.styles.js +61 -61
  100. package/dist/molecules/Select/SingleSelect/SingleSelect.js +1 -1
  101. package/dist/molecules/SelectionControls/Checkbox/Checkbox.d.ts +2 -2
  102. package/dist/molecules/SelectionControls/Checkbox/Checkbox.js +1 -1
  103. package/dist/molecules/SelectionControls/Radio/Radio.d.ts +2 -2
  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.d.ts +2 -2
  107. package/dist/molecules/SelectionControls/Switch/Switch.js +1 -1
  108. package/dist/molecules/SingleFilterMenu/SingleFilterMenu.js +9 -9
  109. package/dist/molecules/Skeleton/SkeletonBase/SkeletonBase.d.ts +2 -2
  110. package/dist/molecules/Skeleton/SkeletonBase/SkeletonBase.js +7 -7
  111. package/dist/molecules/Skeleton/SkeletonGradient/SkeletonGradient.js +1 -1
  112. package/dist/molecules/Stepper/Step/Step.js +5 -5
  113. package/dist/molecules/Stepper/StepLine.js +2 -2
  114. package/dist/molecules/Stepper/Stepper.js +4 -4
  115. package/dist/molecules/Tabs/Tab.js +1 -1
  116. package/dist/molecules/Tabs/Tab.styles.js +22 -22
  117. package/dist/molecules/Tabs/Tabs.js +4 -4
  118. package/dist/molecules/Tabs/Tabs.types.d.ts +1 -1
  119. package/dist/molecules/index.d.ts +5 -5
  120. package/dist/molecules/index.js +1 -1
  121. package/dist/organisms/DataGrid/DataGrid.js +6 -6
  122. package/dist/organisms/Faq/Faq.js +1 -1
  123. package/dist/organisms/Faq/Faq.styles.js +3 -3
  124. package/dist/organisms/Faq/Header.js +7 -7
  125. package/dist/organisms/FieldSelector/ChangingField.js +8 -8
  126. package/dist/organisms/FieldSelector/FieldSelector.js +3 -3
  127. package/dist/organisms/FieldSelector/SelectorCard/SelectorCard.js +18 -18
  128. package/dist/organisms/FieldSelector/SelectorCard/Skeleton.js +6 -6
  129. package/dist/organisms/Filter/ButtonWithMenu.js +1 -1
  130. package/dist/organisms/Filter/Filter.d.ts +2 -2
  131. package/dist/organisms/Filter/Filter.js +1 -1
  132. package/dist/organisms/Filter/Filter.styles.js +39 -39
  133. package/dist/organisms/Filter/QuickFilter.d.ts +2 -2
  134. package/dist/organisms/Filter/QuickFilter.js +1 -1
  135. package/dist/organisms/Filter/SortMenu.d.ts +2 -2
  136. package/dist/organisms/Filter/SortMenu.js +2 -2
  137. package/dist/organisms/PageTitle/PageTitle.js +1 -1
  138. package/dist/organisms/ReleaseNote/ReleaseNote.js +12 -12
  139. package/dist/organisms/ReleaseNote/ToggleExpanded.js +6 -6
  140. package/dist/organisms/SideBar/SideBar.d.ts +2 -2
  141. package/dist/organisms/SideBar/index.js +1 -1
  142. package/dist/organisms/Status/Action.d.ts +2 -2
  143. package/dist/organisms/Status/Action.js +1 -1
  144. package/dist/organisms/Status/Description.d.ts +2 -2
  145. package/dist/organisms/Status/Description.js +1 -1
  146. package/dist/organisms/Status/Illustration.js +2 -2
  147. package/dist/organisms/Status/MissingAccesses.d.ts +2 -2
  148. package/dist/organisms/Status/MissingAccesses.js +4 -4
  149. package/dist/organisms/Status/Status.js +4 -4
  150. package/dist/organisms/Status/Title.d.ts +2 -2
  151. package/dist/organisms/Status/Title.js +1 -1
  152. package/dist/organisms/Status/collections/ApiResponseError.js +1 -1
  153. package/dist/organisms/Status/collections/BadRequest.js +2 -2
  154. package/dist/organisms/Status/collections/GenericError.js +1 -1
  155. package/dist/organisms/Status/collections/MissingAccessToApp.js +1 -1
  156. package/dist/organisms/Status/collections/MissingPermissions.js +1 -1
  157. package/dist/organisms/Status/collections/PageNotFound.js +2 -2
  158. package/dist/organisms/Status/collections/ServerError.js +2 -2
  159. package/dist/organisms/TableOfContents/TableOfContents.constants.js +1 -1
  160. package/dist/organisms/TableOfContents/TableOfContents.js +1 -1
  161. package/dist/organisms/TableOfContents/TableOfContents.styles.js +32 -32
  162. package/dist/organisms/TableOfContents/TableOfContentsItem.js +4 -4
  163. package/dist/organisms/Template/Template.js +7 -7
  164. package/dist/organisms/ToggleGroup/ToggleGroup.d.ts +2 -2
  165. package/dist/organisms/ToggleGroup/ToggleGroup.js +12 -12
  166. package/dist/organisms/ToggleGroup/ToggleGroupOption.d.ts +2 -2
  167. package/dist/organisms/ToggleGroup/ToggleGroupOption.js +20 -20
  168. package/dist/organisms/TopBar/Account/Account.js +1 -1
  169. package/dist/organisms/TopBar/Account/Account.styles.js +24 -24
  170. package/dist/organisms/TopBar/Account/AccountAvatar.js +7 -7
  171. package/dist/organisms/TopBar/Account/AccountButton.js +5 -5
  172. package/dist/organisms/TopBar/Account/ActiveUserImpersonationButton.js +4 -4
  173. package/dist/organisms/TopBar/Account/ImpersonateAvatar.js +4 -4
  174. package/dist/organisms/TopBar/Account/ImpersonateButton.js +4 -4
  175. package/dist/organisms/TopBar/Account/ImpersonateMenu/Actions.js +6 -6
  176. package/dist/organisms/TopBar/Account/ImpersonateMenu/CreateNewUserButton.js +4 -4
  177. package/dist/organisms/TopBar/Account/ImpersonateMenu/CreateOrEditUser/CreateOrEditUser.js +1 -1
  178. package/dist/organisms/TopBar/Account/ImpersonateMenu/CreateOrEditUser/CreateOrEditUser.styles.js +1 -1
  179. package/dist/organisms/TopBar/Account/ImpersonateMenu/DeleteUser/DeleteUser.js +1 -1
  180. package/dist/organisms/TopBar/Account/ImpersonateMenu/DeleteUser/DeleteUser.styles.js +8 -8
  181. package/dist/organisms/TopBar/Account/ImpersonateMenu/Impersonate.constants.js +1 -1
  182. package/dist/organisms/TopBar/Account/ImpersonateMenu/Impersonate.styles.js +4 -4
  183. package/dist/organisms/TopBar/Account/ImpersonateMenu/ImpersonateMenu.js +1 -1
  184. package/dist/organisms/TopBar/Account/ImpersonateMenu/ImpersonateMenu.styles.js +8 -8
  185. package/dist/organisms/TopBar/Account/ImpersonateMenu/UserImpersonation.js +6 -6
  186. package/dist/organisms/TopBar/Account/ImpersonateMenu/UserImpersonation.styles.js +16 -16
  187. package/dist/organisms/TopBar/Account/ImpersonateMenu/hooks/useActiveImpersonationUser.js +1 -1
  188. package/dist/organisms/TopBar/Account/ImpersonateMenu/hooks/useAllAppRoles.js +1 -1
  189. package/dist/organisms/TopBar/Account/ImpersonateMenu/hooks/useCanImpersonate.js +1 -1
  190. package/dist/organisms/TopBar/Account/ImpersonateMenu/hooks/useGetAllImpersonationUsersForApp.js +1 -1
  191. package/dist/organisms/TopBar/Account/RoleChips.js +1 -1
  192. package/dist/organisms/TopBar/Account/RoleList.js +7 -7
  193. package/dist/organisms/TopBar/Actions.d.ts +2 -2
  194. package/dist/organisms/TopBar/Actions.js +3 -3
  195. package/dist/organisms/TopBar/ApplicationDrawer/ApplicationDrawer.js +1 -1
  196. package/dist/organisms/TopBar/ApplicationDrawer/ApplicationDrawer.styles.js +24 -24
  197. package/dist/organisms/TopBar/FieldMenu/FieldMenu.d.ts +2 -2
  198. package/dist/organisms/TopBar/FieldMenu/FieldMenu.js +1 -1
  199. package/dist/organisms/TopBar/FieldMenu/FieldMenu.styles.js +24 -24
  200. package/dist/organisms/TopBar/Guidelines/Colorbox.d.ts +2 -2
  201. package/dist/organisms/TopBar/Guidelines/Guidelines.js +1 -1
  202. package/dist/organisms/TopBar/Guidelines/Item.js +3 -3
  203. package/dist/organisms/TopBar/Guidelines/Section.js +7 -7
  204. package/dist/organisms/TopBar/Notifications/FilterOptions.js +6 -6
  205. package/dist/organisms/TopBar/Notifications/NotificationProvider.d.ts +2 -2
  206. package/dist/organisms/TopBar/Notifications/NotificationsInner.js +3 -3
  207. package/dist/organisms/TopBar/Notifications/NotificationsTemplate/NotificationElements/DefaultNotification.js +4 -4
  208. package/dist/organisms/TopBar/Notifications/NotificationsTemplate/NotificationElements/ExperienceDue3Weeks.js +2 -2
  209. package/dist/organisms/TopBar/Notifications/NotificationsTemplate/NotificationElements/MergedBranchOrca.js +2 -2
  210. package/dist/organisms/TopBar/Notifications/NotificationsTemplate/NotificationElements/NoNotifications.js +4 -4
  211. package/dist/organisms/TopBar/Notifications/NotificationsTemplate/NotificationElements/ReadyToBePublished.js +2 -2
  212. package/dist/organisms/TopBar/Notifications/NotificationsTemplate/NotificationElements/ReadyToReportNotification.js +4 -4
  213. package/dist/organisms/TopBar/Notifications/NotificationsTemplate/NotificationElements/RequestChangeOrca.js +2 -2
  214. package/dist/organisms/TopBar/Notifications/NotificationsTemplate/NotificationElements/RequestReviewOrca.js +2 -2
  215. package/dist/organisms/TopBar/Notifications/NotificationsTemplate/NotificationElements/ReviewQANotification.js +2 -2
  216. package/dist/organisms/TopBar/Notifications/NotificationsTemplate/NotificationTemplate.js +1 -1
  217. package/dist/organisms/TopBar/Notifications/NotificationsTemplate/NotificationTemplate.style.js +9 -9
  218. package/dist/organisms/TopBar/Resources/Feedback/Feedback.const.js +1 -1
  219. package/dist/organisms/TopBar/Resources/Feedback/Feedback.utils.js +7 -7
  220. package/dist/organisms/TopBar/Resources/Feedback/FeedbackForm/Description.js +3 -3
  221. package/dist/organisms/TopBar/Resources/Feedback/FeedbackForm/FeedbackForm.js +1 -1
  222. package/dist/organisms/TopBar/Resources/Feedback/FeedbackForm/LockedInputTooltip.js +3 -3
  223. package/dist/organisms/TopBar/Resources/Feedback/FeedbackForm/Severity.js +2 -2
  224. package/dist/organisms/TopBar/Resources/Feedback/FeedbackForm/Title.js +2 -2
  225. package/dist/organisms/TopBar/Resources/Feedback/FeedbackForm/UploadFile/UploadFile.js +2 -2
  226. package/dist/organisms/TopBar/Resources/Feedback/FeedbackForm/Url.js +2 -2
  227. package/dist/organisms/TopBar/Resources/Feedback/ResponsePage/AnimateChangeInHeight.js +3 -3
  228. package/dist/organisms/TopBar/Resources/Feedback/ResponsePage/FullSlackResponse.js +3 -3
  229. package/dist/organisms/TopBar/Resources/Feedback/ResponsePage/RequestStatus.js +2 -2
  230. package/dist/organisms/TopBar/Resources/Feedback/ResponsePage/ResponsePage.js +3 -3
  231. package/dist/organisms/TopBar/Resources/Feedback/ResponsePage/ResponsePage.styles.js +8 -8
  232. package/dist/organisms/TopBar/Resources/Feedback/ResponsePage/ResponseStatus.js +1 -1
  233. package/dist/organisms/TopBar/Resources/Feedback/ResponsePage/Success.js +3 -3
  234. package/dist/organisms/TopBar/Resources/Feedback/providers/FeedbackContextProvider.js +1 -1
  235. package/dist/organisms/TopBar/Resources/ResourceMenuItem.js +7 -7
  236. package/dist/organisms/TopBar/Resources/Resources.js +4 -4
  237. package/dist/organisms/TopBar/Settings.js +11 -11
  238. package/dist/organisms/TopBar/TopBar.js +1 -1
  239. package/dist/organisms/TopBar/TopBar.styles.js +22 -22
  240. package/dist/organisms/TopBar/TopBarMenu.js +4 -4
  241. package/dist/organisms/TopBar/TransferToAppDialog.js +11 -11
  242. package/dist/organisms/TopBar/Tutorials/TutorialItem.js +8 -8
  243. package/dist/organisms/TopBar/Tutorials/Tutorials.js +1 -1
  244. package/dist/organisms/TopBar/Tutorials/Tutorials.styles.js +6 -6
  245. package/dist/organisms/index.js +1 -1
  246. package/dist/providers/LoadingProvider.js +1 -1
  247. package/dist/providers/ReleaseNotesProvider.js +1 -1
  248. package/dist/providers/SideBarProvider.js +1 -1
  249. package/dist/providers/StepperProvider.js +1 -1
  250. package/dist/providers/TableOfContentsProvider.js +1 -1
  251. package/dist/providers/ThemeProvider/ThemeProvider.js +1 -1
  252. package/dist/providers/index.js +1 -0
  253. package/package.json +4 -8
  254. package/dist/atoms/hooks/useOnScreenMultiple.js +0 -1
  255. package/dist/atoms/hooks/useRichTextImage.js +0 -1
  256. package/dist/atoms/hooks/useSearchParameter.d.ts +0 -12
  257. package/dist/atoms/hooks/useSearchParameter.js +0 -1
  258. package/dist/atoms/style/animation.js +0 -1
  259. package/dist/atoms/style/colors.js +0 -1
  260. package/dist/atoms/style/darkTokens.js +0 -219
  261. package/dist/atoms/style/lightTokens.js +0 -158
  262. package/dist/atoms/style/spacingTokens.js +0 -50
  263. package/dist/atoms/style/spacings.js +0 -1
  264. package/dist/atoms/utils/skeleton.js +0 -1
  265. package/dist/molecules/ApplicationIcon/Icons/FluxMaps.js +0 -1
  266. package/dist/molecules/Badge/Badge.styles.js +0 -17
  267. package/dist/molecules/Button/Button.utils.js +0 -1
  268. package/dist/molecules/Chip/Chip.styles.js +0 -65
  269. package/dist/molecules/Chip/InteractiveChip.js +0 -1
  270. package/dist/molecules/Chip/ReadOnlyChip.js +0 -1
  271. package/dist/molecules/ContentMenu/ContentMenu.styles.js +0 -52
  272. package/dist/molecules/DatePicker/DatePicker.styles.js +0 -63
  273. package/dist/molecules/EquinorLogo/EquinorLogo.utils.js +0 -1
  274. package/dist/molecules/FileProgress/CompactFileProgress.js +0 -1
  275. package/dist/molecules/FileProgress/CompactFileProgress.styles.js +0 -100
  276. package/dist/molecules/FileProgress/FileProgress.utils.js +0 -1
  277. package/dist/molecules/FileProgress/RegularFileProgress.js +0 -1
  278. package/dist/molecules/FileProgress/RegularFileProgress.styles.js +0 -35
  279. package/dist/molecules/FileUploadArea/FileUploadArea.constants.js +0 -1
  280. package/dist/molecules/FileUploadArea/UploadIllustration.js +0 -1
  281. package/dist/molecules/InfoElement/CopyText.js +0 -41
  282. package/dist/molecules/ListItem/ListItem.utils.js +0 -1
  283. package/dist/molecules/OptionDrawer/OptionDrawer.styles.js +0 -36
  284. package/dist/molecules/OptionDrawer/OptionDrawer.utils.js +0 -1
  285. package/dist/molecules/Select/AddTagItem.js +0 -1
  286. package/dist/molecules/Select/GroupedSelectMenu.js +0 -1
  287. package/dist/molecules/Select/ListSelectMenu.js +0 -1
  288. package/dist/molecules/Select/Select.js +0 -1
  289. package/dist/molecules/Select/Select.utils.js +0 -1
  290. package/dist/molecules/Select/SelectMenuItem.js +0 -1
  291. package/dist/molecules/Select/SelectMenuItem.utils.js +0 -1
  292. package/dist/molecules/Sieve/Filter.d.ts +0 -10
  293. package/dist/molecules/Sieve/Filter.js +0 -1
  294. package/dist/molecules/Sieve/Sieve.d.ts +0 -7
  295. package/dist/molecules/Sieve/Sieve.js +0 -1
  296. package/dist/molecules/Sieve/Sieve.styles.js +0 -43
  297. package/dist/molecules/Sieve/Sieve.types.d.ts +0 -28
  298. package/dist/molecules/Sieve/Sort.js +0 -1
  299. package/dist/molecules/Skeleton/Skeleton.styles.js +0 -1
  300. package/dist/molecules/Skeleton/SkeletonField.js +0 -8
  301. package/dist/molecules/Stepper/Step/StepIcon.js +0 -19
  302. package/dist/molecules/Stepper/SubTitle/SubStepIndicator.js +0 -25
  303. package/dist/molecules/Stepper/SubTitle/SubTitle.js +0 -7
  304. package/dist/molecules/TextField/TextField.js +0 -74
  305. package/dist/organisms/Faq/Category/Category.js +0 -9
  306. package/dist/organisms/Faq/Category/Question.js +0 -22
  307. package/dist/organisms/Faq/CategorySkeleton.js +0 -29
  308. package/dist/organisms/Filter/AutoCompleteMenu.js +0 -10
  309. package/dist/organisms/Filter/AutoCompleteText.js +0 -11
  310. package/dist/organisms/Filter/Filter.utils.js +0 -1
  311. package/dist/organisms/ReleaseNote/MetaTags.js +0 -10
  312. package/dist/organisms/SideBar/CreateItem.js +0 -1
  313. package/dist/organisms/SideBar/CreateItem.styles.js +0 -33
  314. package/dist/organisms/SideBar/MenuItem/BasicMenuItem.js +0 -1
  315. package/dist/organisms/SideBar/MenuItem/CollapsableMenuItem.js +0 -48
  316. package/dist/organisms/SideBar/MenuItem/MenuItem.js +0 -1
  317. package/dist/organisms/SideBar/MenuItem/MenuItem.styles.js +0 -37
  318. package/dist/organisms/SideBar/MenuItem/MenuItem.utils.js +0 -1
  319. package/dist/organisms/SideBar/SideBar.js +0 -1
  320. package/dist/organisms/SideBar/SideBar.styles.js +0 -41
  321. package/dist/organisms/SideBar/ToggleOpen.js +0 -1
  322. package/dist/organisms/SideBar/ToggleOpen.styles.js +0 -16
  323. package/dist/organisms/Status/Illustration.constants.js +0 -1
  324. package/dist/organisms/TopBar/Account/ImpersonateMenu/Impersonate.utils.js +0 -1
  325. package/dist/organisms/TopBar/Account/ImpersonateMenu/hooks/useStartImpersonation.js +0 -1
  326. package/dist/organisms/TopBar/Resources/Feedback/Feedback.styles.js +0 -41
  327. package/dist/organisms/TopBar/Resources/Feedback/FeedbackForm/UploadFile/ImageFile.js +0 -7
  328. package/dist/organisms/TopBar/Resources/Feedback/FeedbackForm/UploadFile/UploadFile.styles.js +0 -79
  329. package/dist/organisms/TopBar/Resources/ReleaseNotesDialog/Header/Header.js +0 -1
  330. package/dist/organisms/TopBar/Resources/ReleaseNotesDialog/Header/Header.styles.js +0 -7
  331. package/dist/organisms/TopBar/Resources/ReleaseNotesDialog/ReleaseNotesDialog.js +0 -1
  332. package/dist/organisms/TopBar/Resources/ReleaseNotesDialog/ReleaseNotesDialog.styles.js +0 -19
  333. package/dist/organisms/TopBar/Resources/ReleaseNotesDialog/ReleaseNotesDialog.utils.js +0 -1
  334. package/dist/providers/AuthProvider/AuthProvider.js +0 -1
  335. package/dist/providers/AuthProvider/AuthProviderInner.js +0 -1
  336. package/dist/providers/ReleaseNotesProvider.utils.js +0 -1
  337. package/dist/providers/SnackbarProvider/SnackbarProvider.js +0 -1
  338. package/dist/providers/SnackbarProvider/SnackbarProvider.styles.js +0 -41
  339. package/dist/providers/SnackbarProvider/SnackbarProvider.utils.js +0 -1
  340. package/dist/providers/TableOfContentsProvider.utils.js +0 -1
  341. package/dist/providers/TutorialHighlightingProvider/TutorialHighlightingProvider.constants.js +0 -1
  342. package/dist/providers/TutorialHighlightingProvider/TutorialHighlightingProvider.js +0 -1
  343. package/dist/providers/TutorialHighlightingProvider/TutorialHighlightingProviderInner.js +0 -24
  344. package/dist/providers/TutorialHighlightingProvider/TutorialPopover/StepIndicator.js +0 -20
  345. package/dist/providers/TutorialHighlightingProvider/TutorialPopover/TutorialPopover.js +0 -75
  346. package/dist/providers/TutorialHighlightingProvider/TutorialPopover/hooks/useTutorialPopoverPosition.js +0 -1
  347. package/dist/providers/TutorialHighlightingProvider/hooks/useReversedScrollY.js +0 -1
@@ -1,10 +1,10 @@
1
- import * as react93 from "react";
1
+ import * as react95 from "react";
2
2
  import { SwitchProps } from "@equinor/eds-core-react";
3
3
 
4
4
  //#region src/molecules/SelectionControls/Switch/Switch.d.ts
5
5
  interface SwitchProps$1 extends SwitchProps {
6
6
  outlined?: boolean;
7
7
  }
8
- declare const Switch$1: react93.ForwardRefExoticComponent<SwitchProps$1 & react93.RefAttributes<HTMLInputElement>>;
8
+ declare const Switch$1: react95.ForwardRefExoticComponent<SwitchProps$1 & react95.RefAttributes<HTMLInputElement>>;
9
9
  //#endregion
10
10
  export { Switch$1 as Switch, SwitchProps$1 as SwitchProps };
@@ -1 +1 @@
1
- import{Wrapper as e}from"../SelectionControls.styles.js";import{forwardRef as t}from"react";import{Switch as n}from"@equinor/eds-core-react";import{jsx as r}from"react/jsx-runtime";const i=t((t,i)=>{let{outlined:a,...o}=t;return r(e,{$outlined:a||!1,className:`switch`,children:r(n,{ref:i,...o})})});i.displayName=`Switch`;export{i as Switch};
1
+ import{Wrapper as e}from"../SelectionControls.styles.js";import{forwardRef as t}from"react";import{jsx as n}from"react/jsx-runtime";import{Switch as r}from"@equinor/eds-core-react";const i=t((t,i)=>{let{outlined:a,...o}=t;return n(e,{$outlined:a||!1,className:`switch`,children:n(r,{ref:i,...o})})});i.displayName=`Switch`;export{i as Switch};
@@ -1,20 +1,20 @@
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 n,{useState as r}from"react";import{Button as i,Chip as a,Icon as o,Menu as s,Typography as c}from"@equinor/eds-core-react";import l from"styled-components";import{jsx as u,jsxs as d}from"react/jsx-runtime";import{filter_list as f}from"@equinor/eds-icons";const{colors:p}=e,m=l.div`
1
+ import{tokens as e}from"../../node_modules/@equinor/eds-tokens/dist/esm/base/index.js";import t,{useState as n}from"react";import{jsx as r,jsxs as i}from"react/jsx-runtime";import{filter_list as a}from"@equinor/eds-icons";import o from"styled-components";import{Button as s,Chip as c,Icon as l,Menu as u,Typography as d}from"@equinor/eds-core-react";import{spacings as f}from"src/atoms/style";const{colors:p}=e,m=o.div`
2
2
  margin-left: auto;
3
3
  display: flex;
4
4
  align-items: center;
5
5
  gap: 25px;
6
- `,h=l(a)`
6
+ `,h=o(c)`
7
7
  background: ${e=>e.$backgroundColor};
8
- `,g=l(i)`
8
+ `,g=o(s)`
9
9
  justify-self: flex-end;
10
- `,_=l(s)`
10
+ `,_=o(u)`
11
11
  overflow-y: auto;
12
- `,v=l.div`
13
- padding: ${t.medium};
14
- padding-left: ${t.large};
15
- `,y=l(s.Item)`
12
+ `,v=o.div`
13
+ padding: ${f.medium};
14
+ padding-left: ${f.large};
15
+ `,y=o(u.Item)`
16
16
  &:focus {
17
17
  outline: none;
18
18
  background: ${p.ui.background__light.rgba};
19
19
  }
20
- `,b=({onChange:e,customIcon:t,menuTitle:n,data:i,showChip:a=!1,chipColor:s=p.ui.background__default.rgba})=>{let[l,b]=r(!1),[x,S]=r(null),[C,w]=r(),T=e=>{let t=e.target;S(t),b(!l)},E=()=>b(!1),D=t=>{b(!1),C===t?(w(void 0),e(void 0)):(w(t),e(t))},O=()=>{E(),e(void 0),w(void 0)};return d(m,{children:[a&&C&&u(h,{"data-testid":`chip`,onDelete:O,variant:`default`,$backgroundColor:s,children:C}),u(g,{"data-testid":`menuButton`,variant:`ghost_icon`,onClick:e=>T(e),children:u(o,{data:t??f})}),d(_,{open:l,anchorEl:x,onClose:E,placement:`bottom-end`,"data-testid":`menuContainer`,children:[u(v,{children:u(c,{group:`navigation`,variant:`label`,children:n})}),i.map((e,t)=>u(y,{onClick:()=>D(e),disabled:C===e&&a,active:C===e&&!a,children:u(c,{group:`navigation`,variant:`menu_title`,as:`span`,children:e})},e+t))]})]})};b.displayName=`SingleFilterMenu`;export{b as SingleFilterMenu};
20
+ `,b=({onChange:e,customIcon:t,menuTitle:o,data:s,showChip:c=!1,chipColor:u=p.ui.background__default.rgba})=>{let[f,b]=n(!1),[x,S]=n(null),[C,w]=n(),T=e=>{let t=e.target;S(t),b(!f)},E=()=>b(!1),D=t=>{b(!1),C===t?(w(void 0),e(void 0)):(w(t),e(t))},O=()=>{E(),e(void 0),w(void 0)};return i(m,{children:[c&&C&&r(h,{"data-testid":`chip`,onDelete:O,variant:`default`,$backgroundColor:u,children:C}),r(g,{"data-testid":`menuButton`,variant:`ghost_icon`,onClick:e=>T(e),children:r(l,{data:t??a})}),i(_,{open:f,anchorEl:x,onClose:E,placement:`bottom-end`,"data-testid":`menuContainer`,children:[r(v,{children:r(d,{group:`navigation`,variant:`label`,children:o})}),s.map((e,t)=>r(y,{onClick:()=>D(e),disabled:C===e&&c,active:C===e&&!c,children:r(d,{group:`navigation`,variant:`menu_title`,as:`span`,children:e})},e+t))]})]})};b.displayName=`SingleFilterMenu`;export{b as SingleFilterMenu};
@@ -1,4 +1,4 @@
1
- import * as react40 from "react";
1
+ import * as react38 from "react";
2
2
  import * as styled_components_dist_types6 from "styled-components/dist/types";
3
3
  import * as styled_components_dist_models_Keyframes0 from "styled-components/dist/models/Keyframes";
4
4
 
@@ -7,6 +7,6 @@ declare const skeletonBaseloading: styled_components_dist_models_Keyframes0.defa
7
7
  interface SkeletonBaseProps {
8
8
  $offset?: number;
9
9
  }
10
- declare const SkeletonBase: styled_components_dist_types6.IStyledComponentBase<"web", styled_components_dist_types6.Substitute<react40.DetailedHTMLProps<react40.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, SkeletonBaseProps>> & string;
10
+ declare const SkeletonBase: styled_components_dist_types6.IStyledComponentBase<"web", styled_components_dist_types6.Substitute<react38.DetailedHTMLProps<react38.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, SkeletonBaseProps>> & string;
11
11
  //#endregion
12
12
  export { SkeletonBase, SkeletonBaseProps, skeletonBaseloading };
@@ -1,18 +1,18 @@
1
- import{COLORS as e}from"../Skeleton.styles.js";import t,{css as n,keyframes as r}from"styled-components";const i=r`
1
+ import e,{css as t,keyframes as n}from"styled-components";import{COLORS as r}from"src/molecules/Skeleton/Skeleton.styles";const i=n`
2
2
  to {
3
3
  transform: translateX(100%);
4
4
  }
5
- `,a=t.div`
6
- background: ${e.START};
5
+ `,a=e.div`
6
+ background: ${r.START};
7
7
  overflow: hidden;
8
8
  position: relative;
9
9
  z-index: 2;
10
10
  &:after {
11
11
  background: linear-gradient(
12
12
  90deg,
13
- ${e.START} 0%,
14
- ${e.END} 50%,
15
- ${e.START} 100%
13
+ ${r.START} 0%,
14
+ ${r.END} 50%,
15
+ ${r.START} 100%
16
16
  );
17
17
  animation: ${i} 1.5s infinite;
18
18
  content: '';
@@ -23,7 +23,7 @@ import{COLORS as e}from"../Skeleton.styles.js";import t,{css as n,keyframes as r
23
23
  top: 0;
24
24
  transform: translateX(-100%);
25
25
  z-index: 1;
26
- ${e=>e.$offset&&n`
26
+ ${e=>e.$offset&&t`
27
27
  animation-delay: ${e.$offset}ms;
28
28
  `};
29
29
  }
@@ -1 +1 @@
1
- import{COLORS as e}from"../Skeleton.styles.js";import{jsx as t,jsxs as n}from"react/jsx-runtime";const r=({duration:r=`1.5s`})=>n(`linearGradient`,{id:`skeleton-gradient`,x1:`0%`,x2:`100%`,gradientTransform:`translate(-0.1)`,children:[t(`stop`,{stopColor:e.START,offset:`0%`}),t(`stop`,{stopColor:e.END,offset:`50%`}),t(`stop`,{stopColor:e.START,offset:`100%`}),t(`animateTransform`,{attributeName:`gradientTransform`,type:`translate`,begin:`0s`,dur:r,repeatCount:`indefinite`,values:`-1; 1; 1`})]});export{r as SkeletonGradient};
1
+ import{jsx as e,jsxs as t}from"react/jsx-runtime";import{COLORS as n}from"src/molecules/Skeleton/Skeleton.styles";const r=({duration:r=`1.5s`})=>t(`linearGradient`,{id:`skeleton-gradient`,x1:`0%`,x2:`100%`,gradientTransform:`translate(-0.1)`,children:[e(`stop`,{stopColor:n.START,offset:`0%`}),e(`stop`,{stopColor:n.END,offset:`50%`}),e(`stop`,{stopColor:n.START,offset:`100%`}),e(`animateTransform`,{attributeName:`gradientTransform`,type:`translate`,begin:`0s`,dur:r,repeatCount:`indefinite`,values:`-1; 1; 1`})]});export{r as SkeletonGradient};
@@ -1,15 +1,15 @@
1
- import{colors as e}from"../../../atoms/style/colors.js";import{spacings as t}from"../../../atoms/style/spacings.js";import{useStepper as n}from"../../../providers/StepperProvider.js";import{StepIcon as r}from"./StepIcon.js";import{useMemo as i}from"react";import{Typography as a}from"@equinor/eds-core-react";import o,{css as s}from"styled-components";import{jsx as c,jsxs as l}from"react/jsx-runtime";const u=o.div`
1
+ import{useMemo as e}from"react";import{jsx as t,jsxs as n}from"react/jsx-runtime";import{useStepper as r}from"src/providers/StepperProvider";import i,{css as a}from"styled-components";import{Typography as o}from"@equinor/eds-core-react";import{colors as s,spacings as c}from"src/atoms/style";import{StepIcon as l}from"src/molecules/Stepper/Step/StepIcon";const u=i.div`
2
2
  display: flex;
3
- gap: ${t.small};
3
+ gap: ${c.small};
4
4
  align-items: center;
5
5
  white-space: nowrap;
6
- ${({$disabled:e,$clickable:t})=>e?s`
6
+ ${({$disabled:e,$clickable:t})=>e?a`
7
7
  &:hover {
8
8
  cursor: not-allowed;
9
9
  }
10
- `:t&&s`
10
+ `:t&&a`
11
11
  &:hover {
12
12
  cursor: pointer;
13
13
  }
14
14
  `}
15
- `,d=({index:t,onlyShowCurrentStepLabel:o=!1,children:s})=>{let{currentStep:d,setCurrentStep:f,isStepAtIndexDisabled:p}=n(),m=p(t),h=i(()=>t<d?`body_short`:`body_short_bold`,[d,t]),g=i(()=>t>d||m?e.interactive.disabled__text.rgba:e.text.static_icons__default.rgba,[d,t,m]),_=()=>{t<d&&!m&&f(t)};return l(u,{"data-testid":`step`,$clickable:t<d,onClick:_,$disabled:m,"aria-disabled":m,role:`button`,children:[c(r,{index:t,disabled:m}),(!o||d===t)&&c(a,{variant:h,color:g,children:s})]})};export{d as default};
15
+ `,d=({index:i,onlyShowCurrentStepLabel:a=!1,children:c})=>{let{currentStep:d,setCurrentStep:f,isStepAtIndexDisabled:p}=r(),m=p(i),h=e(()=>i<d?`body_short`:`body_short_bold`,[d,i]),g=e(()=>i>d||m?s.interactive.disabled__text.rgba:s.text.static_icons__default.rgba,[d,i,m]),_=()=>{i<d&&!m&&f(i)};return n(u,{"data-testid":`step`,$clickable:i<d,onClick:_,$disabled:m,"aria-disabled":m,role:`button`,children:[t(l,{index:i,disabled:m}),(!a||d===i)&&t(o,{variant:h,color:g,children:c})]})};export{d as Step};
@@ -1,7 +1,7 @@
1
- import{tokens as e}from"../../node_modules/@equinor/eds-tokens/dist/esm/base/index.js";import{useMemo as t}from"react";import n from"styled-components";import{jsx as r}from"react/jsx-runtime";const{colors:i}=e,a=n.hr`
1
+ import{tokens as e}from"../../node_modules/@equinor/eds-tokens/dist/esm/base/index.js";import{useMemo as t}from"react";import{jsx as n}from"react/jsx-runtime";import r from"styled-components";const{colors:i}=e,a=r.hr`
2
2
  height: 1px;
3
3
  width: 100%;
4
4
  background: ${e=>e.$background};
5
5
  border: none;
6
6
  margin: 0;
7
- `,o=({done:e})=>{let n=t(()=>e?i.interactive.primary__resting.rgba:i.interactive.disabled__text.rgba,[e]);return r(a,{$background:n})};export{o as StepLine};
7
+ `,o=({done:e})=>{let r=t(()=>e?i.interactive.primary__resting.rgba:i.interactive.disabled__text.rgba,[e]);return n(a,{$background:r})};export{o as StepLine};
@@ -1,14 +1,14 @@
1
- import{spacings as e}from"../../atoms/style/spacings.js";import{useStepper as t}from"../../providers/StepperProvider.js";import n from"./Step/Step.js";import{StepLine as r}from"./StepLine.js";import{SubTitle as i}from"./SubTitle/SubTitle.js";import{useMemo as a}from"react";import o from"styled-components";import{jsx as s,jsxs as c}from"react/jsx-runtime";const l=o.div`
1
+ import{Step as e}from"./Step/Step.js";import{StepLine as t}from"./StepLine.js";import{useMemo as n}from"react";import{jsx as r,jsxs as i}from"react/jsx-runtime";import{useStepper as a}from"src/providers/StepperProvider";import o from"styled-components";import{spacings as s}from"src/atoms/style";import{SubTitle as c}from"src/molecules/Stepper/SubTitle/SubTitle";const l=o.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
- gap: ${e.xx_large};
4
+ gap: ${s.xx_large};
5
5
  `,u=o.div`
6
6
  display: grid;
7
7
  grid-template-columns:
8
8
  repeat(${({$stepAmount:e})=>e-1}, auto 1fr)
9
9
  auto;
10
- grid-gap: ${e.small};
10
+ grid-gap: ${s.small};
11
11
  align-items: center;
12
12
  width: 100%;
13
13
  ${({$maxWidth:e})=>e&&`max-width: ${e}`}
14
- `,d=({onlyShowCurrentStepLabel:e=!1,maxWidth:o})=>{let{steps:d,currentStep:f}=t(),p=a(()=>{let t=[];return d.forEach((i,a)=>{t.push(s(n,{index:a,onlyShowCurrentStepLabel:e,children:i.label},`step-${a}`)),a!==d.length-1&&t.push(s(r,{done:f>a},`step-line-${a}`))}),t},[f,e,d]);return c(l,{children:[s(u,{$stepAmount:d.length,$maxWidth:o,"data-testid":`stepper-container`,children:p}),s(i,{})]})};export{d as Stepper};
14
+ `,d=({onlyShowCurrentStepLabel:o=!1,maxWidth:s})=>{let{steps:d,currentStep:f}=a(),p=n(()=>{let n=[];return d.forEach((i,a)=>{n.push(r(e,{index:a,onlyShowCurrentStepLabel:o,children:i.label},`step-${a}`)),a!==d.length-1&&n.push(r(t,{done:f>a},`step-line-${a}`))}),n},[f,o,d]);return i(l,{children:[r(u,{$stepAmount:d.length,$maxWidth:s,"data-testid":`stepper-container`,children:p}),r(c,{})]})};export{d as Stepper};
@@ -1 +1 @@
1
- import{ActiveLine as e,Button as t,Count as n,Line as r}from"./Tab.styles.js";import{Icon as i,Typography as a}from"@equinor/eds-core-react";import{Fragment as o,jsx as s,jsxs as c}from"react/jsx-runtime";function l({value:l,label:u,selectedIndex:d,index:f,onChange:p,onHover:m,centered:h,animated:g,disabled:_,leadingIcon:v,count:y}){let b=()=>{p(l)},x=()=>{m&&m(l)};return c(t,{role:`tab`,"aria-selected":d===f,onClick:b,onMouseEnter:x,$centered:h,disabled:_,children:[v?s(i,{data:v,size:24}):null,s(a,{as:`label`,variant:`menu_tabs`,group:`navigation`,children:u}),y===void 0?null:s(n,{className:`count`,children:s(a,{as:`span`,variant:`breadcrumb`,group:`navigation`,children:y})}),g?c(o,{children:[s(r,{className:`static-line`}),s(e,{animate:{left:`${(d-f)*100}%`}})]}):s(r,{className:`static-line`,$active:d===f})]})}export{l as Tab};
1
+ import{ActiveLine as e,Button as t,Count as n,Line as r}from"./Tab.styles.js";import{Fragment as i,jsx as a,jsxs as o}from"react/jsx-runtime";import{Icon as s,Typography as c}from"@equinor/eds-core-react";function l({value:l,label:u,selectedIndex:d,index:f,onChange:p,onHover:m,centered:h,animated:g,disabled:_,leadingIcon:v,count:y}){let b=()=>{p(l)},x=()=>{m&&m(l)};return o(t,{role:`tab`,"aria-selected":d===f,onClick:b,onMouseEnter:x,$centered:h,disabled:_,children:[v?a(s,{data:v,size:24}):null,a(c,{as:`label`,variant:`menu_tabs`,group:`navigation`,children:u}),y===void 0?null:a(n,{className:`count`,children:a(c,{as:`span`,variant:`breadcrumb`,group:`navigation`,children:y})}),g?o(i,{children:[a(r,{className:`static-line`}),a(e,{animate:{left:`${(d-f)*100}%`}})]}):a(r,{className:`static-line`,$active:d===f})]})}export{l as Tab};
@@ -1,10 +1,10 @@
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 r from"styled-components";import{motion as i}from"framer-motion";const a=r.button`
1
+ import e from"styled-components";import{colors as t,shape as n,spacings as r}from"src/atoms/style";import{motion as i}from"framer-motion";const a=e.button`
2
2
  position: relative;
3
- padding: ${t.medium};
3
+ padding: ${r.medium};
4
4
  display: flex;
5
5
  align-items: center;
6
6
  justify-content: ${({$centered:e})=>e?`center`:`flex-start`};
7
- gap: ${t.small};
7
+ gap: ${r.small};
8
8
  width: auto;
9
9
  flex-grow: 1;
10
10
  height: 48px;
@@ -12,7 +12,7 @@ import{colors as e}from"../../atoms/style/colors.js";import{spacings as t}from".
12
12
  cursor: pointer;
13
13
 
14
14
  > svg {
15
- fill: ${e.text.static_icons__tertiary.rgba};
15
+ fill: ${t.text.static_icons__tertiary.rgba};
16
16
  }
17
17
 
18
18
  > label {
@@ -20,33 +20,33 @@ import{colors as e}from"../../atoms/style/colors.js";import{spacings as t}from".
20
20
  pointer-events: none;
21
21
  display: block;
22
22
  height: 16px;
23
- color: ${e.text.static_icons__tertiary.rgba};
23
+ color: ${t.text.static_icons__tertiary.rgba};
24
24
  }
25
25
 
26
26
  &[aria-selected='true'] {
27
27
  > svg {
28
- fill: ${e.interactive.primary__resting.rgba};
28
+ fill: ${t.interactive.primary__resting.rgba};
29
29
  }
30
30
 
31
31
  > label {
32
- color: ${e.interactive.primary__resting.rgba};
32
+ color: ${t.interactive.primary__resting.rgba};
33
33
  }
34
34
  }
35
35
 
36
36
  &:hover:not(:disabled) {
37
- background: ${e.interactive.primary__hover_alt.rgba};
37
+ background: ${t.interactive.primary__hover_alt.rgba};
38
38
 
39
39
  &[aria-selected='true'] {
40
40
  > svg {
41
- fill: ${e.interactive.primary__hover.rgba};
41
+ fill: ${t.interactive.primary__hover.rgba};
42
42
  }
43
43
 
44
44
  > label {
45
- color: ${e.interactive.primary__hover.rgba};
45
+ color: ${t.interactive.primary__hover.rgba};
46
46
  }
47
47
 
48
48
  > span:not(.count):last-child {
49
- background: ${e.interactive.primary__hover.rgba};
49
+ background: ${t.interactive.primary__hover.rgba};
50
50
  }
51
51
  }
52
52
  }
@@ -55,36 +55,36 @@ import{colors as e}from"../../atoms/style/colors.js";import{spacings as t}from".
55
55
  cursor: not-allowed;
56
56
 
57
57
  > svg {
58
- fill: ${e.interactive.disabled__fill.rgba};
58
+ fill: ${t.interactive.disabled__fill.rgba};
59
59
  }
60
60
 
61
61
  > label {
62
- color: ${e.interactive.disabled__text.rgba};
62
+ color: ${t.interactive.disabled__text.rgba};
63
63
  }
64
64
 
65
65
  > span.static-line {
66
- background: ${e.ui.background__medium.rgba};
66
+ background: ${t.ui.background__medium.rgba};
67
67
  }
68
68
  }
69
- `,o=r.span`
69
+ `,o=e.span`
70
70
  position: absolute;
71
71
  height: 2px;
72
72
  width: 100%;
73
73
  bottom: 0;
74
74
  left: 0;
75
- background: ${({$active:t})=>t?e.interactive.primary__resting.rgba:e.ui.background__heavy.rgba};
76
- `,s=r(i.span)`
75
+ background: ${({$active:e})=>e?t.interactive.primary__resting.rgba:t.ui.background__heavy.rgba};
76
+ `,s=e(i.span)`
77
77
  position: absolute;
78
78
  height: 2px;
79
79
  width: 100%;
80
80
  bottom: 0;
81
- background: ${e.interactive.primary__resting.rgba};
82
- `,c=r.span`
81
+ background: ${t.interactive.primary__resting.rgba};
82
+ `,c=e.span`
83
83
  display: flex;
84
- padding: ${t.x_small} ${t.small};
85
- background: ${e.interactive.primary__resting.rgba};
84
+ padding: ${r.x_small} ${r.small};
85
+ background: ${t.interactive.primary__resting.rgba};
86
86
  border-radius: ${n.rounded.borderRadius};
87
87
  > span {
88
- color: ${e.text.static_icons__primary_white.rgba};
88
+ color: ${t.text.static_icons__primary_white.rgba};
89
89
  }
90
90
  `;export{s as ActiveLine,a as Button,c as Count,o as Line};
@@ -1,7 +1,7 @@
1
- import{spacings as e}from"../../atoms/style/spacings.js";import{Tab as t}from"./Tab.js";import{useEffect as n,useRef as r,useState as i}from"react";import{Button as a,Icon as o}from"@equinor/eds-core-react";import s from"styled-components";import{Fragment as c,jsx as l,jsxs as u}from"react/jsx-runtime";import{chevron_left as d,chevron_right as f}from"@equinor/eds-icons";const p=s.div`
1
+ import{Tab as e}from"./Tab.js";import{useEffect as t,useRef as n,useState as r}from"react";import{Fragment as i,jsx as a,jsxs as o}from"react/jsx-runtime";import{chevron_left as s,chevron_right as c}from"@equinor/eds-icons";import l from"styled-components";import{Button as u,Icon as d}from"@equinor/eds-core-react";import{spacings as f}from"src/atoms/style";const p=l.div`
2
2
  display: flex;
3
3
  align-items: center;
4
- gap: ${e.small};
4
+ gap: ${f.small};
5
5
  > button {
6
6
  flex-shrink: 0;
7
7
 
@@ -9,10 +9,10 @@ import{spacings as e}from"../../atoms/style/spacings.js";import{Tab as t}from"./
9
9
  order: 2;
10
10
  }
11
11
  }
12
- `,m=s.div`
12
+ `,m=l.div`
13
13
  display: flex;
14
14
  width: 100%;
15
15
  align-items: center;
16
16
  overflow: hidden;
17
17
  order: 1;
18
- `;function h({options:e,selected:s,centered:h=!0,animated:g=!0,scrollable:_=!0,amountPerScrollPage:v,onChange:y,onHover:b,ref:x,...S}){let C=r(null),[w,T]=i(!1),[E,D]=i(0),[O,k]=i(!0),[A,j]=i(!0);if(v!==void 0&&v<=0)throw Error(`[ACL - Tabs]: Amount per scroll page must be greater than 0`);if(v!==void 0&&!_)throw Error(`[ACL - Tabs]: amountPerScrollPage was set but scrollable is false!`);let M=e.findIndex(e=>e.value===s);n(()=>{if(!_||!C.current){w&&T(!1);return}let e=new ResizeObserver(([e])=>{let t=e.target;D(Math.round(e.borderBoxSize[0].inlineSize)),T(t.scrollWidth>t.clientWidth),t.scrollTo(0,0)});return e.observe(C.current,{box:`border-box`}),k(!0),j(!1),()=>{e.disconnect()}},[_,w]);let N=e=>()=>{if(!C.current||!E)return;let t=C.current.scrollLeft;e===`left`?(t-=E,t=Math.max(0,t)):(t+=E,t=Math.min(t,C.current.scrollWidth)),C.current.scrollTo({top:0,left:t,behavior:`smooth`}),k(t<=0),j(t+E>=C.current.scrollWidth)};return u(p,{...S,ref:x,children:[l(m,{ref:C,style:v&&w?{display:`grid`,gridTemplateColumns:`repeat(${e.length}, ${E/v}px)`}:void 0,children:e.map((e,n)=>l(t,{selectedIndex:M,index:n,onChange:y,onHover:b,centered:h,animated:g,...e},e.label))}),w?u(c,{children:[l(a,{"aria-label":`Scroll tabs left`,variant:`ghost_icon`,disabled:O,onClick:N(`left`),children:l(o,{data:d})}),l(a,{"aria-label":`Scroll tabs right`,variant:`ghost_icon`,disabled:A,onClick:N(`right`),children:l(o,{data:f})})]}):null]})}export{h as Tabs};
18
+ `;function h({options:l,selected:f,centered:h=!0,animated:g=!0,scrollable:_=!0,amountPerScrollPage:v,onChange:y,onHover:b,ref:x,...S}){let C=n(null),[w,T]=r(!1),[E,D]=r(0),[O,k]=r(!0),[A,j]=r(!0);if(v!==void 0&&v<=0)throw Error(`[ACL - Tabs]: Amount per scroll page must be greater than 0`);if(v!==void 0&&!_)throw Error(`[ACL - Tabs]: amountPerScrollPage was set but scrollable is false!`);let M=l.findIndex(e=>e.value===f);t(()=>{if(!_||!C.current){w&&T(!1);return}let e=new ResizeObserver(([e])=>{let t=e.target;D(Math.round(e.borderBoxSize[0].inlineSize)),T(t.scrollWidth>t.clientWidth),t.scrollTo(0,0)});return e.observe(C.current,{box:`border-box`}),k(!0),j(!1),()=>{e.disconnect()}},[_,w]);let N=e=>()=>{if(!C.current||!E)return;let t=C.current.scrollLeft;e===`left`?(t-=E,t=Math.max(0,t)):(t+=E,t=Math.min(t,C.current.scrollWidth)),C.current.scrollTo({top:0,left:t,behavior:`smooth`}),k(t<=0),j(t+E>=C.current.scrollWidth)};return o(p,{...S,ref:x,children:[a(m,{ref:C,style:v&&w?{display:`grid`,gridTemplateColumns:`repeat(${l.length}, ${E/v}px)`}:void 0,children:l.map((t,n)=>a(e,{selectedIndex:M,index:n,onChange:y,onHover:b,centered:h,animated:g,...t},t.label))}),w?o(i,{children:[a(u,{"aria-label":`Scroll tabs left`,variant:`ghost_icon`,disabled:O,onClick:N(`left`),children:a(d,{data:s})}),a(u,{"aria-label":`Scroll tabs right`,variant:`ghost_icon`,disabled:A,onClick:N(`right`),children:a(d,{data:c})})]}):null]})}export{h as Tabs};
@@ -19,4 +19,4 @@ interface Tabs<T> {
19
19
  animated?: boolean;
20
20
  }
21
21
  //#endregion
22
- export { Tabs };
22
+ export { Tab, Tabs };
@@ -16,6 +16,8 @@ import { FileProgressProps } from "./FileProgress/FileProgress.types.js";
16
16
  import { FileProgress, FileProgressPropsExtension } from "./FileProgress/FileProgress.js";
17
17
  import { FileUploadArea, FileUploadAreaProps } from "./FileUploadArea/FileUploadArea.js";
18
18
  import { FullPageSpinner, FullPageSpinnerProps } from "./FullPageSpinner/FullPageSpinner.js";
19
+ import { IconCellColors, IconCellStates, IconCellVariants } from "./IconCell/IconCell.types.js";
20
+ import { IconCell, IconCellProps } from "./IconCell/IconCell.js";
19
21
  import { InfoElement, InfoElementProps } from "./InfoElement/InfoElement.js";
20
22
  import { OptionalTooltip, OptionalTooltipProps } from "./OptionalTooltip/OptionalTooltip.js";
21
23
  import { ProfileAvatar, ProfileAvatarProps } from "./ProfileAvatar/ProfileAvatar.js";
@@ -23,12 +25,10 @@ import { RichTextDisplay, RichTextDisplayProps } from "./RichTextDisplay/RichTex
23
25
  import { AmplifyBar, EditorMenu, EditorText } from "./RichTextEditor/MenuBar/MenuBar.js";
24
26
  import { RichTextEditor, RichTextEditorProps } from "./RichTextEditor/RichTextEditor.js";
25
27
  import { RichText } from "./RichTextEditor/index.js";
28
+ import { Tab } from "./Tabs/Tabs.types.js";
26
29
  import { Tabs, TabsProps } from "./Tabs/Tabs.js";
27
30
  import { TableMenuBar, TextTable } from "./RichTextEditor/MenuBar/Table/TableBar.js";
28
31
  import { Search as Search$1 } from "./Search/Search.js";
29
- import { SieveFilterGroup } from "./Sieve/Filter.js";
30
- import { FilterValues, SieveOption, SieveProps, SieveValue } from "./Sieve/Sieve.types.js";
31
- import { Sieve } from "./Sieve/Sieve.js";
32
32
  import { SingleFilterMenu, SingleFilterMenuProps } from "./SingleFilterMenu/SingleFilterMenu.js";
33
33
  import { SkeletonBase, SkeletonBaseProps, skeletonBaseloading } from "./Skeleton/SkeletonBase/SkeletonBase.js";
34
34
  import { SkeletonGradient, SkeletonGradientProps } from "./Skeleton/SkeletonGradient/SkeletonGradient.js";
@@ -44,5 +44,5 @@ import { Checkbox as Checkbox$1, CheckboxProps as CheckboxProps$1 } from "./Sele
44
44
  import { Radio as Radio$1, RadioProps as RadioProps$1 } from "./SelectionControls/Radio/Radio.js";
45
45
  import { Switch as Switch$1, SwitchProps as SwitchProps$1 } from "./SelectionControls/Switch/Switch.js";
46
46
  import { Waves } from "./Waves/Waves.js";
47
- import { Accordion, AccordionHeaderActionsProps, AccordionHeaderProps, AccordionHeaderTitleProps, AccordionItemProps, AccordionPanelProps, AccordionProps, BreadcrumbProps, Breadcrumbs, BreadcrumbsProps, CircularProgress as CircularProgress$1, CircularProgressProps, Dialog as EDSDialog, DialogProps as EDSDialogProps, Divider as Divider$1, DividerProps, DotProgress as DotProgress$1, DotProgressProps, Icon as Icon$1, IconProps, LinearProgress as LinearProgress$1, LinearProgressProps, Menu as Menu$1, MenuProps, SearchProps as SearchProps$1, TextField as TextField$1, TextFieldProps, Typography as Typography$1, TypographyProps } from "@equinor/eds-core-react";
48
- export { Accordion, type AccordionHeaderActionsProps, type AccordionHeaderProps, type AccordionHeaderTitleProps, type AccordionItemProps, type AccordionPanelProps, type AccordionProps, type BreadcrumbProps, Breadcrumbs, type BreadcrumbsProps, CircularProgress$1 as CircularProgress, type CircularProgressProps, Divider$1 as Divider, type DividerProps, DotProgress$1 as DotProgress, type DotProgressProps, EDSDialog, type EDSDialogProps, Icon$1 as Icon, type IconProps, LinearProgress$1 as LinearProgress, type LinearProgressProps, Menu$1 as Menu, type MenuProps, type SearchProps$1 as SearchProps, TextField$1 as TextField, type TextFieldProps, Typography$1 as Typography, type TypographyProps };
47
+ import { Accordion, AccordionHeaderActionsProps, AccordionHeaderProps, AccordionHeaderTitleProps, AccordionItemProps, AccordionPanelProps, AccordionProps, BreadcrumbProps, Breadcrumbs, BreadcrumbsProps, CircularProgress as CircularProgress$1, CircularProgressProps, Dialog as EDSDialog, DialogProps as EDSDialogProps, Divider as Divider$1, DividerProps, DotProgress as DotProgress$1, DotProgressProps, Icon as Icon$1, IconProps, LinearProgress as LinearProgress$1, LinearProgressProps, Menu as Menu$1, MenuProps, SearchProps as SearchProps$1, TextField, TextFieldProps, Typography as Typography$1, TypographyProps } from "@equinor/eds-core-react";
48
+ export { Accordion, type AccordionHeaderActionsProps, type AccordionHeaderProps, type AccordionHeaderTitleProps, type AccordionItemProps, type AccordionPanelProps, type AccordionProps, type BreadcrumbProps, Breadcrumbs, type BreadcrumbsProps, CircularProgress$1 as CircularProgress, type CircularProgressProps, Divider$1 as Divider, type DividerProps, DotProgress$1 as DotProgress, type DotProgressProps, EDSDialog, type EDSDialogProps, Icon$1 as Icon, type IconProps, LinearProgress$1 as LinearProgress, type LinearProgressProps, Menu$1 as Menu, type MenuProps, type SearchProps$1 as SearchProps, TextField, type TextFieldProps, Typography$1 as Typography, type TypographyProps };
@@ -1 +1 @@
1
- import{FullPageSpinner as e}from"./FullPageSpinner/FullPageSpinner.js";import{DEFAULT_FEATURES as t,RichTextEditorFeatures as n}from"./RichTextEditor/RichTextEditor.types.js";import{AmplifyKit as r}from"./RichTextEditor/custom-extensions/AmplifyKit.js";import{AnimatedCheckmark as i}from"./AnimatedCheckmark/AnimatedCheckmark.js";import{ApplicationIcon as a}from"./ApplicationIcon/ApplicationIcon.js";import{Badge as o}from"./Badge/Badge.js";import{Banner as s}from"./Banner/Banner.js";import{Button as c}from"./Button/Button.js";import{Chip as l}from"./Chip/Chip.js";import{SkeletonBase as u,skeletonBaseloading as ee}from"./Skeleton/SkeletonBase/SkeletonBase.js";import{ContentMenu as te}from"./ContentMenu/ContentMenu.js";import{DatePicker as d}from"./DatePicker/DatePicker.js";import{DateRangePicker as f}from"./DateRangePicker/DateRangePicker.js";import{OptionalTooltip as p}from"./OptionalTooltip/OptionalTooltip.js";import{Dialog as m}from"./Dialog/Dialog.js";import{EquinorLogo as h}from"./EquinorLogo/EquinorLogo.js";import{FileProgress as g}from"./FileProgress/FileProgress.js";import{FileUploadArea as _}from"./FileUploadArea/FileUploadArea.js";import{InfoElement as v}from"./InfoElement/InfoElement.js";import{ProfileAvatar as y}from"./ProfileAvatar/ProfileAvatar.js";import{RichTextDisplay as b}from"./RichTextDisplay/RichTextDisplay.js";import{TableMenuBar as x,TextTable as S}from"./RichTextEditor/MenuBar/Table/TableBar.js";import{AmplifyBar as C,EditorMenu as w,EditorText as T}from"./RichTextEditor/MenuBar/MenuBar.js";import{RichTextEditor as E}from"./RichTextEditor/RichTextEditor.js";import{RichText as D}from"./RichTextEditor/index.js";import{Tabs as O}from"./Tabs/Tabs.js";import{Search as k}from"./Search/Search.js";import{Sieve as ne}from"./Sieve/Sieve.js";import{SingleFilterMenu as A}from"./SingleFilterMenu/SingleFilterMenu.js";import{SkeletonGradient as j}from"./Skeleton/SkeletonGradient/SkeletonGradient.js";import{Stepper as M}from"./Stepper/Stepper.js";import{OptionDrawer as N}from"./OptionDrawer/OptionDrawer.js";import{ComboBoxChip as P}from"./Select/Select.styles.js";import{ComboBox as F}from"./Select/ComboBox/ComboBox.js";import{SingleSelect as I}from"./Select/SingleSelect/SingleSelect.js";import{FeedBackIcon as L}from"./FeedBackIcon/FeedBackIcon.js";import{ListItem as R}from"./ListItem/ListItem.js";import{Checkbox as z}from"./SelectionControls/Checkbox/Checkbox.js";import{Radio as B}from"./SelectionControls/Radio/Radio.js";import{Switch as V}from"./SelectionControls/Switch/Switch.js";import{Waves as H}from"./Waves/Waves.js";import{Accordion as U,Breadcrumbs as W,CircularProgress as G,Dialog as K,Divider as q,DotProgress as J,Icon as Y,LinearProgress as X,Menu as Z,TextField as Q,Typography as $}from"@equinor/eds-core-react";export{U as Accordion,W as Breadcrumbs,G as CircularProgress,q as Divider,J as DotProgress,K as EDSDialog,Y as Icon,X as LinearProgress,Z as Menu,Q as TextField,$ as Typography};
1
+ import{AnimatedCheckmark as e}from"./AnimatedCheckmark/AnimatedCheckmark.js";import{ApplicationIcon as t}from"./ApplicationIcon/ApplicationIcon.js";import{Badge as n}from"./Badge/Badge.js";import{Banner as r}from"./Banner/Banner.js";import{Button as i}from"./Button/Button.js";import{Chip as a}from"./Chip/Chip.js";import{ContentMenu as o}from"./ContentMenu/ContentMenu.js";import{DatePicker as s}from"./DatePicker/DatePicker.js";import{DateRangePicker as c}from"./DateRangePicker/DateRangePicker.js";import{Dialog as l}from"./Dialog/Dialog.js";import{EquinorLogo as u}from"./EquinorLogo/EquinorLogo.js";import{FileProgress as ee}from"./FileProgress/FileProgress.js";import{FileUploadArea as te}from"./FileUploadArea/FileUploadArea.js";import{FullPageSpinner as d}from"./FullPageSpinner/FullPageSpinner.js";import{IconCell as f}from"./IconCell/IconCell.js";import{InfoElement as p}from"./InfoElement/InfoElement.js";import{OptionalTooltip as m}from"./OptionalTooltip/OptionalTooltip.js";import{ProfileAvatar as h}from"./ProfileAvatar/ProfileAvatar.js";import{RichTextDisplay as g}from"./RichTextDisplay/RichTextDisplay.js";import{DEFAULT_FEATURES as _,RichTextEditorFeatures as v}from"./RichTextEditor/RichTextEditor.types.js";import{TableMenuBar as y,TextTable as b}from"./RichTextEditor/MenuBar/Table/TableBar.js";import{AmplifyBar as x,EditorMenu as S,EditorText as C}from"./RichTextEditor/MenuBar/MenuBar.js";import{RichTextEditor as w}from"./RichTextEditor/RichTextEditor.js";import{RichText as T}from"./RichTextEditor/index.js";import{AmplifyKit as E}from"./RichTextEditor/custom-extensions/AmplifyKit.js";import{Tabs as D}from"./Tabs/Tabs.js";import{Search as O}from"./Search/Search.js";import{SingleFilterMenu as k}from"./SingleFilterMenu/SingleFilterMenu.js";import{SkeletonBase as ne,skeletonBaseloading as A}from"./Skeleton/SkeletonBase/SkeletonBase.js";import{SkeletonGradient as j}from"./Skeleton/SkeletonGradient/SkeletonGradient.js";import{Stepper as M}from"./Stepper/Stepper.js";import{OptionDrawer as N}from"./OptionDrawer/OptionDrawer.js";import{ComboBox as P}from"./Select/ComboBox/ComboBox.js";import{ComboBoxChip as F}from"./Select/Select.styles.js";import{SingleSelect as I}from"./Select/SingleSelect/SingleSelect.js";import{FeedBackIcon as L}from"./FeedBackIcon/FeedBackIcon.js";import{ListItem as R}from"./ListItem/ListItem.js";import{Checkbox as z}from"./SelectionControls/Checkbox/Checkbox.js";import{Radio as B}from"./SelectionControls/Radio/Radio.js";import{Switch as V}from"./SelectionControls/Switch/Switch.js";import{Waves as H}from"./Waves/Waves.js";import{Accordion as U,Breadcrumbs as W,CircularProgress as G,Dialog as K,Divider as q,DotProgress as J,Icon as Y,LinearProgress as X,Menu as Z,TextField as Q,Typography as $}from"@equinor/eds-core-react";export{U as Accordion,W as Breadcrumbs,G as CircularProgress,q as Divider,J as DotProgress,K as EDSDialog,Y as Icon,X as LinearProgress,Z as Menu,Q as TextField,$ as Typography};
@@ -1,4 +1,4 @@
1
- import{colors as e}from"../../atoms/style/colors.js";import{spacings as t}from"../../atoms/style/spacings.js";import n from"styled-components";import{jsx as r}from"react/jsx-runtime";import{EdsDataGrid as i}from"@equinor/eds-data-grid-react";const a=n.div`
1
+ import{jsx as e}from"react/jsx-runtime";import t from"styled-components";import{colors as n,spacings as r}from"src/atoms/style";import{EdsDataGrid as i}from"@equinor/eds-data-grid-react";const a=t.div`
2
2
  table,
3
3
  thead,
4
4
  th {
@@ -12,24 +12,24 @@ import{colors as e}from"../../atoms/style/colors.js";import{spacings as t}from".
12
12
  border: none;
13
13
  }
14
14
  th {
15
- color: ${e.text.static_icons__default.rgba};
15
+ color: ${n.text.static_icons__default.rgba};
16
16
  > div {
17
17
  justify-content: space-between;
18
18
  > svg {
19
19
  height: 18px;
20
20
  width: 18px;
21
- fill: ${e.interactive.primary__resting.rgba};
21
+ fill: ${n.interactive.primary__resting.rgba};
22
22
  }
23
23
  }
24
24
  }
25
25
  th,
26
26
  td {
27
- padding: ${t.medium_small} ${t.small};
27
+ padding: ${r.medium_small} ${r.small};
28
28
  }
29
29
  tr:hover,
30
30
  th:hover,
31
31
  th:has(svg) {
32
- background: ${e.interactive.primary__hover_alt.rgba};
32
+ background: ${n.interactive.primary__hover_alt.rgba};
33
33
  }
34
34
  ${({$enableSorting:e})=>!e&&`
35
35
  cursor: default;
@@ -38,4 +38,4 @@ import{colors as e}from"../../atoms/style/colors.js";import{spacings as t}from".
38
38
  cursor: default;
39
39
  }
40
40
  `}
41
- `,o=e=>r(a,{$enableSorting:e.enableSorting??!1,"data-testid":`table-wrapper`,children:r(i,{...e})});export{o as DataGrid};
41
+ `,o=t=>e(a,{$enableSorting:t.enableSorting??!1,"data-testid":`table-wrapper`,children:e(i,{...t})});export{o as DataGrid};
@@ -1 +1 @@
1
- import{Status as e}from"../Status/index.js";import{useSearchParameter as t}from"../../atoms/hooks/useSearchParameter.js";import{useFaqsInApplication as n}from"../../atoms/hooks/useFaqsInApplication.js";import{Container as r}from"./Faq.styles.js";import{Header as i}from"./Header.js";import{Category as a}from"./Category/Category.js";import{CategorySkeleton as o}from"./CategorySkeleton.js";import{useMemo as s}from"react";import{Typography as c}from"@equinor/eds-core-react";import{Fragment as l,jsx as u,jsxs as d}from"react/jsx-runtime";const f=()=>{let{data:f,isLoading:p}=n(),[m]=t({key:`category`}),h=s(()=>{if(!f)return;if(!m)return f;let e=f.find(e=>e.id==Number(m));return[e]},[f,m]);return d(r,{children:[u(c,{variant:`h1`,bold:!0,children:`FAQ`}),u(i,{}),h&&h.length>0?h.map(e=>u(a,{...e},e.id)):p?d(l,{children:[u(o,{}),u(o,{}),u(o,{})]}):u(e,{center:!1,children:u(e.Title,{title:`No FAQs available yet`})})]})};export{f as Faq};
1
+ import{Container as e}from"./Faq.styles.js";import{Header as t}from"./Header.js";import{useMemo as n,useState as r}from"react";import{Fragment as i,jsx as a,jsxs as o}from"react/jsx-runtime";import{Typography as s}from"@equinor/eds-core-react";import{Status as c}from"src/organisms/Status";import{useFaqsInApplication as l}from"src/atoms/hooks/useFaqsInApplication";import{Category as u}from"src/organisms/Faq/Category/Category";import{CategorySkeleton as d}from"src/organisms/Faq/CategorySkeleton";const f=()=>{let{data:f,isLoading:p}=l(),[m,h]=r(void 0),g=n(()=>{if(!f)return;if(!m)return f;let e=f.find(e=>e.id==Number(m));return[e]},[f,m]);return o(e,{children:[a(s,{variant:`h1`,bold:!0,children:`FAQ`}),a(t,{selectedTab:m,setSelectedTab:h}),g&&g.length>0?g.map(e=>a(u,{...e,selectedTab:m},e.id)):p?o(i,{children:[a(d,{}),a(d,{}),a(d,{})]}):a(c,{center:!1,children:a(c.Title,{title:`No FAQs available yet`})})]})};export{f as Faq};
@@ -1,8 +1,8 @@
1
- import{spacings as e}from"../../atoms/style/spacings.js";import t from"styled-components";const n=t.div`
1
+ import e from"styled-components";import{spacings as t}from"src/atoms/style";const n=e.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
- gap: ${e.x_large};
5
- margin: ${e.large} 0;
4
+ gap: ${t.x_large};
5
+ margin: ${t.large} 0;
6
6
  height: fit-content;
7
7
  width: 100%;
8
8
  `;export{n as Container};
@@ -1,14 +1,14 @@
1
- import{colors as e}from"../../atoms/style/colors.js";import{spacings as t}from"../../atoms/style/spacings.js";import{useSearchParameter as n}from"../../atoms/hooks/useSearchParameter.js";import{useFaqsInApplication as r}from"../../atoms/hooks/useFaqsInApplication.js";import{Tabs as i}from"../../molecules/Tabs/Tabs.js";import{useMemo as a}from"react";import{Search as o}from"@equinor/eds-core-react";import s from"styled-components";import{jsx as c,jsxs as l}from"react/jsx-runtime";const u=s.div`
1
+ import{useMemo as e,useState as t}from"react";import{jsx as n,jsxs as r}from"react/jsx-runtime";import i from"styled-components";import{Search as a}from"@equinor/eds-core-react";import{colors as o,spacings as s}from"src/atoms/style";import{useFaqsInApplication as c}from"src/atoms";import{Tabs as l}from"src/molecules/Tabs/Tabs";const u=i.div`
2
2
  position: sticky;
3
3
  top: 0;
4
4
  display: flex;
5
5
  flex-direction: column;
6
- gap: ${t.medium};
7
- background: ${e.ui.background__light.rgba};
8
- padding: ${t.x_large} 0;
9
- margin: calc(${t.x_large} * -1) 0;
6
+ gap: ${s.medium};
7
+ background: ${o.ui.background__light.rgba};
8
+ padding: ${s.x_large} 0;
9
+ margin: calc(${s.x_large} * -1) 0;
10
10
  z-index: 400;
11
11
  > div[role='search'] > div {
12
- background: ${e.ui.background__default.rgba};
12
+ background: ${o.ui.background__default.rgba};
13
13
  }
14
- `,d=()=>{let{data:e}=r(),[t,s]=n({key:`category`}),[d,f]=n({key:`search`}),p=a(()=>e?[{value:`all`,label:`All categories`},...e.map(e=>({value:e.id.toString(),label:e.categoryName}))]:[{value:`all`,label:`All categories`}],[e]),m=e=>{f(e.target.value)},h=e=>{s(e===`all`?void 0:e)};return l(u,{children:[c(i,{style:{maxWidth:`100%`,width:`fit-content`},selected:t??`all`,onChange:h,options:p}),c(o,{value:d,onChange:m,placeholder:`Search for answer by keyword`})]})};export{d as Header};
14
+ `,d=({setSelectedTab:i,selectedTab:o})=>{let{data:s}=c(),[d,f]=t(``),p=e(()=>s?[{value:`all`,label:`All categories`},...s.map(e=>({value:e.id.toString(),label:e.categoryName}))]:[{value:`all`,label:`All categories`}],[s]),m=e=>{f(e.target.value)},h=e=>{i(e===`all`?void 0:e)};return r(u,{children:[n(l,{style:{maxWidth:`100%`,width:`fit-content`},selected:o??`all`,onChange:h,options:p}),n(a,{value:d,onChange:m,placeholder:`Search for answer by keyword`})]})};export{d as Header};
@@ -1,5 +1,5 @@
1
- import{colors as e}from"../../atoms/style/colors.js";import{spacings as t}from"../../atoms/style/spacings.js";import{capitalize as n}from"../../atoms/utils/string.js";import{useFakeProgress as r}from"../../atoms/hooks/useFakeProgress.js";import{AnimatedCheckmark as i}from"../../molecules/AnimatedCheckmark/AnimatedCheckmark.js";import a from"react";import{LinearProgress as o,Typography as s}from"@equinor/eds-core-react";import c from"styled-components";import{Fragment as l,jsx as u,jsxs as d}from"react/jsx-runtime";const f=c.div`
2
- gap: ${t.medium};
1
+ import e from"react";import{Fragment as t,jsx as n,jsxs as r}from"react/jsx-runtime";import{capitalize as i}from"src/atoms/utils";import a from"styled-components";import{LinearProgress as o,Typography as s}from"@equinor/eds-core-react";import{colors as c,spacings as l}from"src/atoms/style";import{useFakeProgress as u}from"src/atoms/hooks";import{AnimatedCheckmark as d}from"src/molecules/AnimatedCheckmark/AnimatedCheckmark";const f=a.div`
2
+ gap: ${l.medium};
3
3
  position: absolute;
4
4
  top: 50%;
5
5
  left: 50%;
@@ -8,17 +8,17 @@ import{colors as e}from"../../atoms/style/colors.js";import{spacings as t}from".
8
8
  flex-direction: column;
9
9
  justify-content: center;
10
10
  align-items: center;
11
- min-height: calc(100vh - (${t.xxx_large} * 4));
11
+ min-height: calc(100vh - (${l.xxx_large} * 4));
12
12
  width: 100%;
13
13
  max-width: 370px;
14
- `,p=c(o)`
15
- background-color: ${e.interactive.primary__hover_alt.rgba};
14
+ `,p=a(o)`
15
+ background-color: ${c.interactive.primary__hover_alt.rgba};
16
16
 
17
17
  div {
18
- background-color: ${e.interactive.primary__resting.rgba};
18
+ background-color: ${c.interactive.primary__resting.rgba};
19
19
  }
20
- `,m=c(s)`
20
+ `,m=a(s)`
21
21
  span {
22
22
  text-transform: capitalize;
23
23
  }
24
- `,h=({fieldName:e,onChangedField:t,finishedText:a})=>{let{finished:o,progress:c}=r({onDone:t});return u(f,{children:o?d(l,{children:[d(m,{variant:`h3`,children:[`Changed to `,u(`span`,{children:n(e)})]}),u(i,{}),u(s,{variant:`h6`,children:a})]}):d(l,{children:[d(s,{variant:`h3`,children:[`Changing field.`,`.`.repeat(c/35)]}),u(p,{variant:`determinate`,value:c})]})})};export{h as ChangingField};
24
+ `,h=({fieldName:e,onChangedField:a,finishedText:o})=>{let{finished:c,progress:l}=u({onDone:a});return n(f,{children:c?r(t,{children:[r(m,{variant:`h3`,children:[`Changed to `,n(`span`,{children:i(e)})]}),n(d,{}),n(s,{variant:`h6`,children:o})]}):r(t,{children:[r(s,{variant:`h3`,children:[`Changing field.`,`.`.repeat(l/35)]}),n(p,{variant:`determinate`,value:l})]})})};export{h as ChangingField};
@@ -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};