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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (338) hide show
  1. package/dist/atoms/hooks/useAmplifyKit.js +1 -1
  2. package/dist/atoms/hooks/useFaqsInApplication.js +1 -1
  3. package/dist/atoms/hooks/useLocalStorage.d.ts +2 -2
  4. package/dist/atoms/hooks/useOnScreenMultiple.js +1 -0
  5. package/dist/atoms/hooks/usePrefetchRichTextImages.js +1 -1
  6. package/dist/atoms/hooks/useRichTextImage.js +1 -0
  7. package/dist/atoms/hooks/useSelect.d.ts +3 -3
  8. package/dist/atoms/hooks/useSelect.js +1 -1
  9. package/dist/atoms/index.js +1 -1
  10. package/dist/atoms/style/animation.js +1 -0
  11. package/dist/atoms/style/colors.js +1 -0
  12. package/dist/atoms/style/darkTokens.js +219 -0
  13. package/dist/atoms/style/index.js +1 -1
  14. package/dist/atoms/style/lightTokens.js +158 -0
  15. package/dist/atoms/style/spacingTokens.js +50 -0
  16. package/dist/atoms/style/spacings.js +1 -0
  17. package/dist/atoms/utils/auth_environment.js +1 -1
  18. package/dist/atoms/utils/date.js +1 -1
  19. package/dist/atoms/utils/map.js +1 -1
  20. package/dist/atoms/utils/richtext.js +1 -1
  21. package/dist/atoms/utils/size.js +1 -1
  22. package/dist/atoms/utils/skeleton.js +1 -0
  23. package/dist/atoms/utils/url.js +1 -1
  24. package/dist/deprecated/ExpandingIconButton/ExpandingIconButton.d.ts +2 -2
  25. package/dist/deprecated/ExpandingIconButton/ExpandingIconButton.js +4 -4
  26. package/dist/deprecated/IconToggleButton.d.ts +2 -2
  27. package/dist/deprecated/IconToggleButton.js +1 -1
  28. package/dist/deprecated/OldStepper/OldStep.js +3 -3
  29. package/dist/deprecated/OldStepper/OldStepLine.js +2 -2
  30. package/dist/deprecated/OldStepper/OldStepper.js +3 -3
  31. package/dist/index.js +1 -1
  32. package/dist/molecules/ApplicationIcon/ApplicationIcon.js +1 -1
  33. package/dist/molecules/ApplicationIcon/ApplicationIconBase.js +4 -4
  34. package/dist/molecules/ApplicationIcon/ApplicationIconCollection.js +1 -1
  35. package/dist/molecules/ApplicationIcon/Icons/Acquire.js +1 -1
  36. package/dist/molecules/ApplicationIcon/Icons/Adca.js +1 -1
  37. package/dist/molecules/ApplicationIcon/Icons/Bravos.js +1 -1
  38. package/dist/molecules/ApplicationIcon/Icons/Dasha.js +1 -1
  39. package/dist/molecules/ApplicationIcon/Icons/Fallback.js +1 -1
  40. package/dist/molecules/ApplicationIcon/Icons/FluxMaps.js +1 -0
  41. package/dist/molecules/ApplicationIcon/Icons/ForecastFormatter.js +1 -1
  42. package/dist/molecules/ApplicationIcon/Icons/FourDInsight.js +1 -1
  43. package/dist/molecules/ApplicationIcon/Icons/InPress.js +1 -1
  44. package/dist/molecules/ApplicationIcon/Icons/JsEmbark.js +1 -1
  45. package/dist/molecules/ApplicationIcon/Icons/LoggingQualification.js +1 -1
  46. package/dist/molecules/ApplicationIcon/Icons/Orca.js +1 -1
  47. package/dist/molecules/ApplicationIcon/Icons/Premo.js +1 -1
  48. package/dist/molecules/ApplicationIcon/Icons/Pwex.js +1 -1
  49. package/dist/molecules/ApplicationIcon/Icons/Recap.js +1 -1
  50. package/dist/molecules/ApplicationIcon/Icons/SubsurfacePortal.js +1 -1
  51. package/dist/molecules/Badge/Badge.js +1 -1
  52. package/dist/molecules/Badge/Badge.styles.js +17 -0
  53. package/dist/molecules/Banner/Banner.js +1 -1
  54. package/dist/molecules/Banner/Banner.styles.js +3 -3
  55. package/dist/molecules/Button/Button.js +3 -3
  56. package/dist/molecules/Button/Button.utils.js +1 -0
  57. package/dist/molecules/Chip/Chip.d.ts +2 -2
  58. package/dist/molecules/Chip/Chip.js +1 -1
  59. package/dist/molecules/Chip/Chip.styles.js +65 -0
  60. package/dist/molecules/Chip/InteractiveChip.js +1 -0
  61. package/dist/molecules/Chip/ReadOnlyChip.js +1 -0
  62. package/dist/molecules/ContentMenu/ContentMenu.js +1 -1
  63. package/dist/molecules/ContentMenu/ContentMenu.styles.js +52 -0
  64. package/dist/molecules/DatePicker/DatePicker.d.ts +3 -3
  65. package/dist/molecules/DatePicker/DatePicker.js +1 -1
  66. package/dist/molecules/DatePicker/DatePicker.styles.js +63 -0
  67. package/dist/molecules/DateRangePicker/DateRangePicker.d.ts +3 -3
  68. package/dist/molecules/DateRangePicker/DateRangePicker.js +1 -1
  69. package/dist/molecules/Dialog/Dialog.d.ts +3 -3
  70. package/dist/molecules/Dialog/Dialog.js +1 -1
  71. package/dist/molecules/Dialog/Dialog.styles.js +10 -10
  72. package/dist/molecules/Dialog/DialogAction.js +1 -1
  73. package/dist/molecules/EquinorLogo/EquinorLogo.d.ts +2 -2
  74. package/dist/molecules/EquinorLogo/EquinorLogo.js +1 -1
  75. package/dist/molecules/EquinorLogo/EquinorLogo.utils.js +1 -0
  76. package/dist/molecules/FileProgress/CompactFileProgress.js +1 -0
  77. package/dist/molecules/FileProgress/CompactFileProgress.styles.js +100 -0
  78. package/dist/molecules/FileProgress/FileProgress.js +1 -1
  79. package/dist/molecules/FileProgress/FileProgress.utils.js +1 -0
  80. package/dist/molecules/FileProgress/RegularFileProgress.js +1 -0
  81. package/dist/molecules/FileProgress/RegularFileProgress.styles.js +35 -0
  82. package/dist/molecules/FileUploadArea/FileUploadArea.constants.js +1 -0
  83. package/dist/molecules/FileUploadArea/FileUploadArea.js +1 -1
  84. package/dist/molecules/FileUploadArea/FileUploadArea.styles.js +18 -18
  85. package/dist/molecules/FileUploadArea/UploadIllustration.js +1 -0
  86. package/dist/molecules/FullPageSpinner/FullPageSpinner.js +8 -8
  87. package/dist/molecules/IconCell/IconCell.d.ts +2 -2
  88. package/dist/molecules/IconCell/IconCell.js +1 -1
  89. package/dist/molecules/IconCell/IconCell.styles.js +26 -26
  90. package/dist/molecules/IconCell/IconCell.utils.js +7 -7
  91. package/dist/molecules/InfoElement/CopyText.js +41 -0
  92. package/dist/molecules/InfoElement/InfoElement.js +1 -1
  93. package/dist/molecules/ListItem/ListItem.d.ts +2 -2
  94. package/dist/molecules/ListItem/ListItem.js +13 -13
  95. package/dist/molecules/ListItem/ListItem.utils.js +1 -0
  96. package/dist/molecules/OptionDrawer/OptionDrawer.js +1 -1
  97. package/dist/molecules/OptionDrawer/OptionDrawer.styles.js +36 -0
  98. package/dist/molecules/OptionDrawer/OptionDrawer.utils.js +1 -0
  99. package/dist/molecules/OptionalTooltip/OptionalTooltip.d.ts +4 -4
  100. package/dist/molecules/OptionalTooltip/OptionalTooltip.js +2 -2
  101. package/dist/molecules/ProfileAvatar/ProfileAvatar.d.ts +2 -2
  102. package/dist/molecules/ProfileAvatar/ProfileAvatar.js +6 -6
  103. package/dist/molecules/RichTextDisplay/RichTextDisplay.js +1 -1
  104. package/dist/molecules/RichTextEditor/EditorProvider.js +1 -1
  105. package/dist/molecules/RichTextEditor/MenuBar/AddImageButton.js +1 -1
  106. package/dist/molecules/RichTextEditor/MenuBar/MenuBar.d.ts +5 -5
  107. package/dist/molecules/RichTextEditor/MenuBar/MenuBar.js +5 -5
  108. package/dist/molecules/RichTextEditor/MenuBar/MenuBar.styles.js +4 -4
  109. package/dist/molecules/RichTextEditor/MenuBar/MenuButton.js +1 -1
  110. package/dist/molecules/RichTextEditor/MenuBar/Table/TableColumn.js +1 -1
  111. package/dist/molecules/RichTextEditor/MenuBar/Table/TableMerge.js +1 -1
  112. package/dist/molecules/RichTextEditor/MenuBar/Table/TableRow.js +1 -1
  113. package/dist/molecules/RichTextEditor/MenuBar/Table/ToggleTable.js +1 -1
  114. package/dist/molecules/RichTextEditor/MenuBar/TextClearFormatting.js +2 -2
  115. package/dist/molecules/RichTextEditor/MenuBar/TextColor.js +4 -4
  116. package/dist/molecules/RichTextEditor/MenuBar/TextHeaders.js +1 -1
  117. package/dist/molecules/RichTextEditor/MenuBar/TextLinks.js +2 -2
  118. package/dist/molecules/RichTextEditor/RichTextEditor.js +1 -1
  119. package/dist/molecules/RichTextEditor/RichTextEditor.styles.js +23 -23
  120. package/dist/molecules/RichTextEditor/custom-extensions/ExtendedHeaders.js +1 -1
  121. package/dist/molecules/RichTextEditor/custom-extensions/ExtendedImage.js +1 -1
  122. package/dist/molecules/RichTextEditor/index.d.ts +5 -5
  123. package/dist/molecules/RichTextEditor/index.js +1 -1
  124. package/dist/molecules/Search/Search.d.ts +2 -2
  125. package/dist/molecules/Search/Search.js +8 -8
  126. package/dist/molecules/Select/AddTagItem.js +1 -0
  127. package/dist/molecules/Select/ComboBox/ComboBox.js +1 -1
  128. package/dist/molecules/Select/GroupedSelectMenu.js +1 -0
  129. package/dist/molecules/Select/ListSelectMenu.js +1 -0
  130. package/dist/molecules/Select/Select.js +1 -0
  131. package/dist/molecules/Select/Select.styles.d.ts +5 -5
  132. package/dist/molecules/Select/Select.styles.js +61 -61
  133. package/dist/molecules/Select/Select.utils.js +1 -0
  134. package/dist/molecules/Select/SelectMenuItem.js +1 -0
  135. package/dist/molecules/Select/SelectMenuItem.utils.js +1 -0
  136. package/dist/molecules/Select/SingleSelect/SingleSelect.js +1 -1
  137. package/dist/molecules/SelectionControls/Checkbox/Checkbox.d.ts +2 -2
  138. package/dist/molecules/SelectionControls/Checkbox/Checkbox.js +1 -1
  139. package/dist/molecules/SelectionControls/Radio/Radio.d.ts +2 -2
  140. package/dist/molecules/SelectionControls/Radio/Radio.js +1 -1
  141. package/dist/molecules/SelectionControls/SelectionControls.styles.js +24 -24
  142. package/dist/molecules/SelectionControls/Switch/Switch.d.ts +2 -2
  143. package/dist/molecules/SelectionControls/Switch/Switch.js +1 -1
  144. package/dist/molecules/SingleFilterMenu/SingleFilterMenu.js +9 -9
  145. package/dist/molecules/Skeleton/Skeleton.styles.js +1 -0
  146. package/dist/molecules/Skeleton/SkeletonBase/SkeletonBase.d.ts +2 -2
  147. package/dist/molecules/Skeleton/SkeletonBase/SkeletonBase.js +7 -7
  148. package/dist/molecules/Skeleton/SkeletonField.js +8 -0
  149. package/dist/molecules/Skeleton/SkeletonGradient/SkeletonGradient.js +1 -1
  150. package/dist/molecules/Stepper/Step/Step.js +5 -5
  151. package/dist/molecules/Stepper/Step/StepIcon.js +19 -0
  152. package/dist/molecules/Stepper/StepLine.js +2 -2
  153. package/dist/molecules/Stepper/Stepper.js +4 -4
  154. package/dist/molecules/Stepper/SubTitle/SubStepIndicator.js +25 -0
  155. package/dist/molecules/Stepper/SubTitle/SubTitle.js +7 -0
  156. package/dist/molecules/Tabs/Tab.js +1 -1
  157. package/dist/molecules/Tabs/Tab.styles.js +22 -22
  158. package/dist/molecules/Tabs/Tabs.js +4 -4
  159. package/dist/molecules/TextField/TextField.js +74 -0
  160. package/dist/molecules/Waves/Waves.js +1 -1
  161. package/dist/molecules/index.d.ts +2 -2
  162. package/dist/molecules/index.js +1 -1
  163. package/dist/organisms/DataGrid/DataGrid.js +6 -6
  164. package/dist/organisms/Faq/Category/Category.js +9 -0
  165. package/dist/organisms/Faq/Category/Question.js +22 -0
  166. package/dist/organisms/Faq/CategorySkeleton.js +29 -0
  167. package/dist/organisms/Faq/Faq.js +1 -1
  168. package/dist/organisms/Faq/Faq.styles.js +3 -3
  169. package/dist/organisms/Faq/Header.js +7 -7
  170. package/dist/organisms/FieldSelector/ChangingField.js +8 -8
  171. package/dist/organisms/FieldSelector/FieldSelector.js +3 -3
  172. package/dist/organisms/FieldSelector/SelectorCard/SelectorCard.js +18 -18
  173. package/dist/organisms/FieldSelector/SelectorCard/Skeleton.js +6 -6
  174. package/dist/organisms/Filter/AutoCompleteMenu.js +10 -0
  175. package/dist/organisms/Filter/AutoCompleteText.js +11 -0
  176. package/dist/organisms/Filter/ButtonWithMenu.js +1 -1
  177. package/dist/organisms/Filter/Filter.js +1 -1
  178. package/dist/organisms/Filter/Filter.styles.js +39 -39
  179. package/dist/organisms/Filter/Filter.utils.js +1 -0
  180. package/dist/organisms/Filter/QuickFilter.js +1 -1
  181. package/dist/organisms/Filter/SortMenu.js +2 -2
  182. package/dist/organisms/PageTitle/PageTitle.js +1 -1
  183. package/dist/organisms/ReleaseNote/MetaTags.js +10 -0
  184. package/dist/organisms/ReleaseNote/ReleaseNote.d.ts +3 -3
  185. package/dist/organisms/ReleaseNote/ReleaseNote.js +12 -12
  186. package/dist/organisms/ReleaseNote/ReleaseNote.utils.js +1 -1
  187. package/dist/organisms/ReleaseNote/ToggleExpanded.js +6 -6
  188. package/dist/organisms/SideBar/CreateItem.js +1 -0
  189. package/dist/organisms/SideBar/CreateItem.styles.js +33 -0
  190. package/dist/organisms/SideBar/MenuItem/BasicMenuItem.js +1 -0
  191. package/dist/organisms/SideBar/MenuItem/CollapsableMenuItem.js +48 -0
  192. package/dist/organisms/SideBar/MenuItem/MenuItem.js +1 -0
  193. package/dist/organisms/SideBar/MenuItem/MenuItem.styles.js +37 -0
  194. package/dist/organisms/SideBar/MenuItem/MenuItem.utils.js +1 -0
  195. package/dist/organisms/SideBar/SideBar.d.ts +2 -2
  196. package/dist/organisms/SideBar/SideBar.js +1 -0
  197. package/dist/organisms/SideBar/SideBar.styles.js +41 -0
  198. package/dist/organisms/SideBar/ToggleOpen.js +1 -0
  199. package/dist/organisms/SideBar/ToggleOpen.styles.js +16 -0
  200. package/dist/organisms/SideBar/index.js +1 -1
  201. package/dist/organisms/Status/Action.d.ts +2 -2
  202. package/dist/organisms/Status/Action.js +1 -1
  203. package/dist/organisms/Status/Description.d.ts +2 -2
  204. package/dist/organisms/Status/Description.js +1 -1
  205. package/dist/organisms/Status/Illustration.constants.js +1 -0
  206. package/dist/organisms/Status/Illustration.js +2 -2
  207. package/dist/organisms/Status/MissingAccesses.d.ts +2 -2
  208. package/dist/organisms/Status/MissingAccesses.js +4 -4
  209. package/dist/organisms/Status/Status.js +4 -4
  210. package/dist/organisms/Status/Title.d.ts +2 -2
  211. package/dist/organisms/Status/Title.js +1 -1
  212. package/dist/organisms/Status/collections/ApiResponseError.js +1 -1
  213. package/dist/organisms/Status/collections/BadRequest.js +2 -2
  214. package/dist/organisms/Status/collections/GenericError.js +1 -1
  215. package/dist/organisms/Status/collections/MissingAccessToApp.js +1 -1
  216. package/dist/organisms/Status/collections/MissingPermissions.js +1 -1
  217. package/dist/organisms/Status/collections/PageNotFound.js +2 -2
  218. package/dist/organisms/Status/collections/ServerError.js +2 -2
  219. package/dist/organisms/TableOfContents/TableOfContents.constants.js +1 -1
  220. package/dist/organisms/TableOfContents/TableOfContents.js +1 -1
  221. package/dist/organisms/TableOfContents/TableOfContents.styles.js +32 -32
  222. package/dist/organisms/TableOfContents/TableOfContentsItem.js +4 -4
  223. package/dist/organisms/Template/Template.d.ts +3 -3
  224. package/dist/organisms/Template/Template.js +7 -7
  225. package/dist/organisms/ToggleGroup/ToggleGroup.d.ts +2 -2
  226. package/dist/organisms/ToggleGroup/ToggleGroup.js +12 -12
  227. package/dist/organisms/ToggleGroup/ToggleGroupOption.d.ts +2 -2
  228. package/dist/organisms/ToggleGroup/ToggleGroupOption.js +20 -20
  229. package/dist/organisms/TopBar/Account/Account.js +1 -1
  230. package/dist/organisms/TopBar/Account/Account.styles.js +24 -24
  231. package/dist/organisms/TopBar/Account/AccountAvatar.js +7 -7
  232. package/dist/organisms/TopBar/Account/AccountButton.js +5 -5
  233. package/dist/organisms/TopBar/Account/ActiveUserImpersonationButton.js +4 -4
  234. package/dist/organisms/TopBar/Account/ImpersonateAvatar.js +4 -4
  235. package/dist/organisms/TopBar/Account/ImpersonateButton.js +4 -4
  236. package/dist/organisms/TopBar/Account/ImpersonateMenu/Actions.js +6 -6
  237. package/dist/organisms/TopBar/Account/ImpersonateMenu/CreateNewUserButton.js +4 -4
  238. package/dist/organisms/TopBar/Account/ImpersonateMenu/CreateOrEditUser/CreateOrEditUser.js +1 -1
  239. package/dist/organisms/TopBar/Account/ImpersonateMenu/CreateOrEditUser/CreateOrEditUser.styles.js +1 -1
  240. package/dist/organisms/TopBar/Account/ImpersonateMenu/DeleteUser/DeleteUser.js +1 -1
  241. package/dist/organisms/TopBar/Account/ImpersonateMenu/DeleteUser/DeleteUser.styles.js +8 -8
  242. package/dist/organisms/TopBar/Account/ImpersonateMenu/Impersonate.constants.js +1 -1
  243. package/dist/organisms/TopBar/Account/ImpersonateMenu/Impersonate.styles.js +4 -4
  244. package/dist/organisms/TopBar/Account/ImpersonateMenu/Impersonate.utils.js +1 -0
  245. package/dist/organisms/TopBar/Account/ImpersonateMenu/ImpersonateMenu.js +1 -1
  246. package/dist/organisms/TopBar/Account/ImpersonateMenu/ImpersonateMenu.styles.js +8 -8
  247. package/dist/organisms/TopBar/Account/ImpersonateMenu/UserImpersonation.js +6 -6
  248. package/dist/organisms/TopBar/Account/ImpersonateMenu/UserImpersonation.styles.js +16 -16
  249. package/dist/organisms/TopBar/Account/ImpersonateMenu/hooks/useActiveImpersonationUser.js +1 -1
  250. package/dist/organisms/TopBar/Account/ImpersonateMenu/hooks/useAllAppRoles.js +1 -1
  251. package/dist/organisms/TopBar/Account/ImpersonateMenu/hooks/useCanImpersonate.js +1 -1
  252. package/dist/organisms/TopBar/Account/ImpersonateMenu/hooks/useGetAllImpersonationUsersForApp.js +1 -1
  253. package/dist/organisms/TopBar/Account/ImpersonateMenu/hooks/useStartImpersonation.js +1 -0
  254. package/dist/organisms/TopBar/Account/RoleChips.js +1 -1
  255. package/dist/organisms/TopBar/Account/RoleList.js +7 -7
  256. package/dist/organisms/TopBar/Actions.d.ts +2 -2
  257. package/dist/organisms/TopBar/Actions.js +3 -3
  258. package/dist/organisms/TopBar/ApplicationDrawer/ApplicationDrawer.js +1 -1
  259. package/dist/organisms/TopBar/ApplicationDrawer/ApplicationDrawer.styles.js +24 -24
  260. package/dist/organisms/TopBar/FieldMenu/FieldMenu.d.ts +2 -2
  261. package/dist/organisms/TopBar/FieldMenu/FieldMenu.js +1 -1
  262. package/dist/organisms/TopBar/FieldMenu/FieldMenu.styles.js +24 -24
  263. package/dist/organisms/TopBar/Guidelines/Colorbox.d.ts +2 -2
  264. package/dist/organisms/TopBar/Guidelines/Guidelines.js +1 -1
  265. package/dist/organisms/TopBar/Guidelines/Item.js +3 -3
  266. package/dist/organisms/TopBar/Guidelines/Section.js +7 -7
  267. package/dist/organisms/TopBar/Notifications/FilterOptions.js +6 -6
  268. package/dist/organisms/TopBar/Notifications/NotificationProvider.d.ts +2 -2
  269. package/dist/organisms/TopBar/Notifications/NotificationsInner.js +3 -3
  270. package/dist/organisms/TopBar/Notifications/NotificationsTemplate/NotificationElements/DefaultNotification.js +4 -4
  271. package/dist/organisms/TopBar/Notifications/NotificationsTemplate/NotificationElements/ExperienceDue3Weeks.js +2 -2
  272. package/dist/organisms/TopBar/Notifications/NotificationsTemplate/NotificationElements/MergedBranchOrca.js +2 -2
  273. package/dist/organisms/TopBar/Notifications/NotificationsTemplate/NotificationElements/NoNotifications.js +4 -4
  274. package/dist/organisms/TopBar/Notifications/NotificationsTemplate/NotificationElements/ReadyToBePublished.js +2 -2
  275. package/dist/organisms/TopBar/Notifications/NotificationsTemplate/NotificationElements/ReadyToReportNotification.js +4 -4
  276. package/dist/organisms/TopBar/Notifications/NotificationsTemplate/NotificationElements/RequestChangeOrca.js +2 -2
  277. package/dist/organisms/TopBar/Notifications/NotificationsTemplate/NotificationElements/RequestReviewOrca.js +2 -2
  278. package/dist/organisms/TopBar/Notifications/NotificationsTemplate/NotificationElements/ReviewQANotification.js +2 -2
  279. package/dist/organisms/TopBar/Notifications/NotificationsTemplate/NotificationTemplate.js +1 -1
  280. package/dist/organisms/TopBar/Notifications/NotificationsTemplate/NotificationTemplate.style.js +9 -9
  281. package/dist/organisms/TopBar/Resources/Feedback/Feedback.const.js +1 -1
  282. package/dist/organisms/TopBar/Resources/Feedback/Feedback.styles.js +41 -0
  283. package/dist/organisms/TopBar/Resources/Feedback/Feedback.utils.js +7 -7
  284. package/dist/organisms/TopBar/Resources/Feedback/FeedbackForm/Description.js +3 -3
  285. package/dist/organisms/TopBar/Resources/Feedback/FeedbackForm/FeedbackForm.js +1 -1
  286. package/dist/organisms/TopBar/Resources/Feedback/FeedbackForm/LockedInputTooltip.js +3 -3
  287. package/dist/organisms/TopBar/Resources/Feedback/FeedbackForm/Severity.js +2 -2
  288. package/dist/organisms/TopBar/Resources/Feedback/FeedbackForm/Title.js +2 -2
  289. package/dist/organisms/TopBar/Resources/Feedback/FeedbackForm/UploadFile/ImageFile.js +7 -0
  290. package/dist/organisms/TopBar/Resources/Feedback/FeedbackForm/UploadFile/UploadFile.js +2 -2
  291. package/dist/organisms/TopBar/Resources/Feedback/FeedbackForm/UploadFile/UploadFile.styles.js +79 -0
  292. package/dist/organisms/TopBar/Resources/Feedback/FeedbackForm/Url.js +2 -2
  293. package/dist/organisms/TopBar/Resources/Feedback/ResponsePage/AnimateChangeInHeight.js +3 -3
  294. package/dist/organisms/TopBar/Resources/Feedback/ResponsePage/FullSlackResponse.js +3 -3
  295. package/dist/organisms/TopBar/Resources/Feedback/ResponsePage/RequestStatus.js +2 -2
  296. package/dist/organisms/TopBar/Resources/Feedback/ResponsePage/ResponsePage.js +3 -3
  297. package/dist/organisms/TopBar/Resources/Feedback/ResponsePage/ResponsePage.styles.js +8 -8
  298. package/dist/organisms/TopBar/Resources/Feedback/ResponsePage/Success.js +3 -3
  299. package/dist/organisms/TopBar/Resources/Feedback/providers/FeedbackContextProvider.js +1 -1
  300. package/dist/organisms/TopBar/Resources/ReleaseNotesDialog/Header/Header.js +1 -0
  301. package/dist/organisms/TopBar/Resources/ReleaseNotesDialog/Header/Header.styles.js +7 -0
  302. package/dist/organisms/TopBar/Resources/ReleaseNotesDialog/ReleaseNotesDialog.js +1 -0
  303. package/dist/organisms/TopBar/Resources/ReleaseNotesDialog/ReleaseNotesDialog.styles.js +19 -0
  304. package/dist/organisms/TopBar/Resources/ReleaseNotesDialog/ReleaseNotesDialog.utils.js +1 -0
  305. package/dist/organisms/TopBar/Resources/ResourceMenuItem.js +7 -7
  306. package/dist/organisms/TopBar/Resources/Resources.js +4 -4
  307. package/dist/organisms/TopBar/Settings.js +11 -11
  308. package/dist/organisms/TopBar/TopBar.js +1 -1
  309. package/dist/organisms/TopBar/TopBar.styles.js +22 -22
  310. package/dist/organisms/TopBar/TopBarMenu.js +4 -4
  311. package/dist/organisms/TopBar/TransferToAppDialog.js +11 -11
  312. package/dist/organisms/TopBar/Tutorials/TutorialItem.js +8 -8
  313. package/dist/organisms/TopBar/Tutorials/Tutorials.js +1 -1
  314. package/dist/organisms/TopBar/Tutorials/Tutorials.styles.js +6 -6
  315. package/dist/organisms/index.js +1 -1
  316. package/dist/providers/AuthProvider/AuthProvider.js +1 -0
  317. package/dist/providers/AuthProvider/AuthProviderInner.js +1 -0
  318. package/dist/providers/LoadingProvider.js +1 -1
  319. package/dist/providers/ReleaseNotesProvider.js +1 -1
  320. package/dist/providers/ReleaseNotesProvider.utils.js +1 -0
  321. package/dist/providers/SideBarProvider.js +1 -1
  322. package/dist/providers/SnackbarProvider/SnackbarProvider.js +1 -0
  323. package/dist/providers/SnackbarProvider/SnackbarProvider.styles.js +41 -0
  324. package/dist/providers/SnackbarProvider/SnackbarProvider.utils.js +1 -0
  325. package/dist/providers/StepperProvider.js +1 -1
  326. package/dist/providers/TableOfContentsProvider.js +1 -1
  327. package/dist/providers/TableOfContentsProvider.utils.js +1 -0
  328. package/dist/providers/ThemeProvider/ThemeProvider.js +1 -1
  329. package/dist/providers/TutorialHighlightingProvider/TutorialHighlightingProvider.constants.js +1 -0
  330. package/dist/providers/TutorialHighlightingProvider/TutorialHighlightingProvider.js +1 -0
  331. package/dist/providers/TutorialHighlightingProvider/TutorialHighlightingProviderInner.js +24 -0
  332. package/dist/providers/TutorialHighlightingProvider/TutorialPopover/StepIndicator.js +20 -0
  333. package/dist/providers/TutorialHighlightingProvider/TutorialPopover/TutorialPopover.js +75 -0
  334. package/dist/providers/TutorialHighlightingProvider/TutorialPopover/hooks/useTutorialPopoverPosition.js +1 -0
  335. package/dist/providers/TutorialHighlightingProvider/hooks/useReversedScrollY.js +1 -0
  336. package/package.json +2 -2
  337. package/dist/atoms/hooks/index.js +0 -1
  338. package/dist/providers/index.js +0 -1
@@ -1,61 +1,61 @@
1
- import{VARIANT_COLORS as e,VARIANT_HELPER_TEXT_COLORS as t}from"src/atoms/style/colors";import n,{css as r}from"styled-components";import{Button as i,Menu as a,Typography as o}from"@equinor/eds-core-react";import{animation as s,colors as c,spacings as l}from"src/atoms/style";import{Chip as u}from"src/molecules/Chip/Chip";n.div`
1
+ import{animation as e}from"../../atoms/style/animation.js";import{VARIANT_COLORS as t,VARIANT_HELPER_TEXT_COLORS as n,colors as r}from"../../atoms/style/colors.js";import{spacings as i}from"../../atoms/style/spacings.js";import{Chip as a}from"../Chip/Chip.js";import{Button as o,Menu as s,Typography as c}from"@equinor/eds-core-react";import l,{css as u}from"styled-components";const d=l.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
- gap: ${l.small};
5
- `,n.span`
4
+ gap: ${i.small};
5
+ `,f=l.span`
6
6
  display: flex;
7
- gap: ${l.small};
7
+ gap: ${i.small};
8
8
  align-items: center;
9
- margin-left: ${l.small};
10
- width: calc(100% - ${l.small});
9
+ margin-left: ${i.small};
10
+ width: calc(100% - ${i.small});
11
11
  > label {
12
12
  margin: 0;
13
13
  }
14
- ${({$variant:e})=>e?r`
14
+ ${({$variant:e})=>e?u`
15
15
  > label {
16
- color: ${e===`disabled`?c.interactive.disabled__text.rgba:t[e]};
16
+ color: ${e===`disabled`?r.interactive.disabled__text.rgba:n[e]};
17
17
  }
18
18
  > svg {
19
19
  flex-shrink: 0;
20
- fill: ${e===`disabled`?c.interactive.disabled__text.rgba:t[e]};
20
+ fill: ${e===`disabled`?r.interactive.disabled__text.rgba:n[e]};
21
21
  }
22
22
  `:``}
23
- `,n.div`
23
+ `,p=l.div`
24
24
  position: relative;
25
25
  display: grid;
26
26
  grid-template-columns: 1fr auto;
27
27
  align-items: center;
28
28
  padding: 6px 8px;
29
29
  transition:
30
- background ${s.transitionMS},
31
- box-shadow ${s.transitionMS};
30
+ background ${e.transitionMS},
31
+ box-shadow ${e.transitionMS};
32
32
  &:hover:not(:has(input:disabled)) {
33
33
  cursor: pointer;
34
- background: ${c.ui.background__light_medium.rgba};
34
+ background: ${r.ui.background__light_medium.rgba};
35
35
  }
36
36
 
37
- ${({$variant:t})=>t?t===`dirty`?r`
38
- box-shadow: inset 0 -2px 0 0 ${e[t]};
37
+ ${({$variant:e})=>e?e===`dirty`?u`
38
+ box-shadow: inset 0 -2px 0 0 ${t[e]};
39
39
  &:hover {
40
- box-shadow: inset 0 -2px 0 0 ${e[t]};
40
+ box-shadow: inset 0 -2px 0 0 ${t[e]};
41
41
  }
42
- `:r`
43
- outline: 1px solid ${e[t]};
42
+ `:u`
43
+ outline: 1px solid ${t[e]};
44
44
  &:hover {
45
- box-shadow: inset 0 -1px 0 0 ${e[t]};
45
+ box-shadow: inset 0 -1px 0 0 ${t[e]};
46
46
  }
47
- `:r`
48
- box-shadow: inset 0 -1px 0 0 ${c.text.static_icons__tertiary.rgba};
47
+ `:u`
48
+ box-shadow: inset 0 -1px 0 0 ${r.text.static_icons__tertiary.rgba};
49
49
  &:hover {
50
50
  box-shadow: inset 0 -2px 0 0
51
- ${c.text.static_icons__tertiary.rgba};
51
+ ${r.text.static_icons__tertiary.rgba};
52
52
  }
53
53
  `}
54
54
 
55
- ${({$lightBackground:e})=>e?`background-color: ${c.ui.background__default.rgba}`:`background-color: ${c.ui.background__light.rgba}`};
55
+ ${({$lightBackground:e})=>e?`background-color: ${r.ui.background__default.rgba}`:`background-color: ${r.ui.background__light.rgba}`};
56
56
 
57
57
  &[aria-expanded='true'] {
58
- box-shadow: inset 0 -2px 0 0 ${c.interactive.primary__resting.rgba};
58
+ box-shadow: inset 0 -2px 0 0 ${r.interactive.primary__resting.rgba};
59
59
  }
60
60
 
61
61
  > svg[role='progressbar'] {
@@ -64,7 +64,7 @@ import{VARIANT_COLORS as e,VARIANT_HELPER_TEXT_COLORS as t}from"src/atoms/style/
64
64
  > svg:not([role='progressbar']) {
65
65
  cursor: pointer;
66
66
  &:hover {
67
- background: ${c.interactive.primary__hover_alt.rgba};
67
+ background: ${r.interactive.primary__hover_alt.rgba};
68
68
  border-radius: 50%;
69
69
  }
70
70
  }
@@ -72,16 +72,16 @@ import{VARIANT_COLORS as e,VARIANT_HELPER_TEXT_COLORS as t}from"src/atoms/style/
72
72
  &:has(input:disabled) {
73
73
  outline: none;
74
74
  cursor: not-allowed;
75
- box-shadow: inset 0 -1px 0 0 ${c.interactive.disabled__text.rgba} !important;
75
+ box-shadow: inset 0 -1px 0 0 ${r.interactive.disabled__text.rgba} !important;
76
76
  > svg:not([role='progressbar']) {
77
77
  cursor: not-allowed;
78
- fill: ${c.interactive.disabled__text.rgba};
78
+ fill: ${r.interactive.disabled__text.rgba};
79
79
  &:hover {
80
80
  background: transparent;
81
81
  }
82
82
  }
83
83
  > label {
84
- color: ${c.interactive.disabled__text.rgba};
84
+ color: ${r.interactive.disabled__text.rgba};
85
85
  }
86
86
  }
87
87
 
@@ -90,11 +90,11 @@ import{VARIANT_COLORS as e,VARIANT_HELPER_TEXT_COLORS as t}from"src/atoms/style/
90
90
  width: calc(100% - 24px);
91
91
  }
92
92
  }
93
- `,n.section`
93
+ `,m=l.section`
94
94
  position: relative;
95
95
  display: flex;
96
96
  flex-wrap: wrap;
97
- gap: ${l.x_small};
97
+ gap: ${i.x_small};
98
98
  min-height: 24px;
99
99
  input[type='search'] {
100
100
  background: transparent;
@@ -102,7 +102,7 @@ import{VARIANT_COLORS as e,VARIANT_HELPER_TEXT_COLORS as t}from"src/atoms/style/
102
102
  flex-grow: 1;
103
103
  padding: 0;
104
104
  font-family: 'Equinor', sans-serif;
105
- color: ${c.text.static_icons__default.rgba};
105
+ color: ${r.text.static_icons__default.rgba};
106
106
  outline: none;
107
107
  border: none;
108
108
  }
@@ -117,14 +117,14 @@ import{VARIANT_COLORS as e,VARIANT_HELPER_TEXT_COLORS as t}from"src/atoms/style/
117
117
  }
118
118
  &:has(input:disabled) {
119
119
  > p {
120
- color: ${c.interactive.disabled__text.rgba};
120
+ color: ${r.interactive.disabled__text.rgba};
121
121
  }
122
122
  > .amplify-combo-box-chip {
123
123
  cursor: not-allowed;
124
- background: ${c.interactive.disabled__fill.rgba};
125
- color: ${c.interactive.disabled__text.rgba};
124
+ background: ${r.interactive.disabled__fill.rgba};
125
+ color: ${r.interactive.disabled__text.rgba};
126
126
  > svg {
127
- fill: ${c.interactive.disabled__text.rgba};
127
+ fill: ${r.interactive.disabled__text.rgba};
128
128
  &:hover {
129
129
  cursor: not-allowed;
130
130
  background: none;
@@ -132,7 +132,7 @@ import{VARIANT_COLORS as e,VARIANT_HELPER_TEXT_COLORS as t}from"src/atoms/style/
132
132
  }
133
133
  }
134
134
  }
135
- `,n(i)`
135
+ `,h=l(o)`
136
136
  position: absolute;
137
137
  top: 50%;
138
138
  transform: translate(0, -50%);
@@ -140,16 +140,16 @@ import{VARIANT_COLORS as e,VARIANT_HELPER_TEXT_COLORS as t}from"src/atoms/style/
140
140
  width: 24px;
141
141
  height: 24px;
142
142
  svg {
143
- fill: ${c.text.static_icons__secondary.rgba};
143
+ fill: ${r.text.static_icons__secondary.rgba};
144
144
  }
145
145
  &:after {
146
146
  width: 24px;
147
147
  height: 24px;
148
148
  left: 0;
149
149
  }
150
- `;const d=n(u)`
151
- background: ${({$tryingToRemove:e,$lightBackground:t})=>e?c.interactive.primary__hover_alt.rgba:t?c.ui.background__light.rgba:c.ui.background__default.rgba} !important;
152
- `;n(a.Item)`
150
+ `,g=l(a)`
151
+ background: ${({$tryingToRemove:e,$lightBackground:t})=>e?r.interactive.primary__hover_alt.rgba:t?r.ui.background__light.rgba:r.ui.background__default.rgba} !important;
152
+ `,_=l(s.Item)`
153
153
  flex-grow: 1;
154
154
  ${({$paddedLeft:e})=>e&&`margin-left: 36px`};
155
155
  padding-left: 10px;
@@ -160,43 +160,43 @@ import{VARIANT_COLORS as e,VARIANT_HELPER_TEXT_COLORS as t}from"src/atoms/style/
160
160
  }
161
161
 
162
162
  &:hover {
163
- background: ${c.interactive.primary__hover_alt.rgba};
163
+ background: ${r.interactive.primary__hover_alt.rgba};
164
164
  }
165
165
 
166
166
  &:focus-visible {
167
- outline: 2px dashed ${c.interactive.primary__resting.rgba};
167
+ outline: 2px dashed ${r.interactive.primary__resting.rgba};
168
168
  }
169
169
 
170
- ${({$selected:e})=>e?r`
171
- background: ${c.interactive.primary__selected_highlight.rgba};
170
+ ${({$selected:e})=>e?u`
171
+ background: ${r.interactive.primary__selected_highlight.rgba};
172
172
 
173
173
  &:hover {
174
- background: ${c.interactive.primary__selected_hover.rgba};
174
+ background: ${r.interactive.primary__selected_hover.rgba};
175
175
  }
176
176
  `:``}}
177
- `,n.hr`
178
- height: calc(100% + ${l.medium} * 2);
177
+ `,v=l.hr`
178
+ height: calc(100% + ${i.medium} * 2);
179
179
  justify-self: center;
180
- width: ${l.x_large};
181
- min-width: ${l.x_large};
182
- `;const f=n(o)`
180
+ width: ${i.x_large};
181
+ min-width: ${i.x_large};
182
+ `,y=l(c)`
183
183
  user-select: none;
184
184
  pointer-events: none;
185
185
  position: absolute;
186
- color: ${c.text.static_icons__tertiary.rgba};
186
+ color: ${r.text.static_icons__tertiary.rgba};
187
187
  top: calc(50%);
188
188
  transform: translate(0, -50%);
189
- `;n(f)`
189
+ `,b=l(y)`
190
190
  white-space: nowrap;
191
191
  overflow: hidden;
192
192
  text-overflow: ellipsis;
193
- color: ${c.text.static_icons__default.rgba};
193
+ color: ${r.text.static_icons__default.rgba};
194
194
  max-width: 100%;
195
- `,n(o)`
196
- margin: ${l.medium};
197
- `,n(o)`
198
- margin-left: ${l.medium};
199
- `,n(a)`
195
+ `,x=l(c)`
196
+ margin: ${i.medium};
197
+ `,S=l(c)`
198
+ margin-left: ${i.medium};
199
+ `,C=l(s)`
200
200
  max-height: 20rem;
201
201
  max-width: inherit;
202
202
  overflow-y: auto;
@@ -204,10 +204,10 @@ import{VARIANT_COLORS as e,VARIANT_HELPER_TEXT_COLORS as t}from"src/atoms/style/
204
204
  width: inherit;
205
205
  max-width: inherit;
206
206
  }
207
- `,n.div`
207
+ `,w=l.div`
208
208
  display: flex;
209
209
  align-items: center;
210
- `,n(i)`
210
+ `,T=l(o)`
211
211
  width: 36px;
212
212
  height: 36px;
213
- `;export{d as ComboBoxChip};
213
+ `;export{h as ClearButton,g as ComboBoxChip,p as Container,f as HelperWrapper,v as MenuItemSpacer,w as MenuItemWrapper,S as NoItemsFoundText,x as NoTagFoundText,y as PlaceholderText,m as Section,T as SmallButton,C as StyledMenu,_ as StyledMenuItem,b as ValueText,d as Wrapper};
@@ -0,0 +1 @@
1
+ function e(t,n){let r=t.length,i=t.slice(0,n).map(t=>e(t.children??[],0)).reduce((e,t)=>e+t,0);return r+i}const t=e=>{let t=e=>{if(!e?.length)return[];let n=e.flatMap(({children:e,value:t})=>e?.map(e=>({...e,parent:t}))??[]);return[...n,...t(n)]};return[...e,...t(e)]},n=e=>{let t=Array(e.length).fill(0);for(let n=1;n<e.length;n++)t[n]=t[n-1]+e[n-1];return t};export{t as flattenOptions,e as getChildOffset,n as getCumulativeArrayFromNumberedArray};
@@ -0,0 +1 @@
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{getChildOffset as n}from"./Select.utils.js";import{MenuItemSpacer as r,MenuItemWrapper as i,SmallButton as a,StyledMenuItem as o}from"./Select.styles.js";import{getParentIcon as s,getParentState as c}from"./SelectMenuItem.utils.js";import{useMemo as l,useRef as u,useState as d}from"react";import{Icon as f}from"@equinor/eds-core-react";import{Fragment as p,jsx as m,jsxs as h}from"react/jsx-runtime";import{checkbox as g,checkbox_outline as _,chevron_down as v,chevron_right as y}from"@equinor/eds-icons";const{colors:b}=e,x=e=>{let{index:S,childOffset:C,depth:w=0,item:T,itemRefs:E,onItemKeyDown:D,onItemSelect:O,parentHasNestedItems:k=!1,CustomMenuItemComponent:A}=e,[j,M]=d(!1),N=u(-1),P=u([]),F=(`values`in e?e.values.map(({value:e})=>e):[]).includes(T.value),I=l(()=>`value`in e?_:s(T,e.values),[T,e]),L=l(()=>`value`in e?`none`:c(T,e.values),[T,e]),R=l(()=>Array(w).fill(0).map((e,t)=>m(r,{},`spacer-${e+t}`)),[w]),z=e=>{e.preventDefault(),O(T)},B=e=>{e.stopPropagation(),M(e=>!e)},V=e=>{e.key===`ArrowDown`?N.current+=1:e.key===`ArrowUp`&&--N.current,N.current<=-1?(E.current[S]?.focus(),N.current=-1):N.current+C===P.current.length?(N.current=-1,D(e),M(!1)):N.current>=0&&N.current<P.current.length-C&&P.current[N.current+C]?.focus()},H=e=>{!j&&e.key===`ArrowDown`||e.key===`ArrowUp`?D(e):e.key===`ArrowRight`||e.key===`ArrowLeft`?M(e=>!e):j&&e.key===`ArrowDown`&&N.current===-1&&(N.current=0,P.current[N.current+C]?.focus())};return T.children&&T.children.length>0&&`values`in e?h(p,{children:[h(i,{style:{paddingLeft:w===0?t.small:0},children:[R,m(a,{variant:`ghost_icon`,onClick:B,"data-testid":`toggle-button`,children:m(f,{color:b.interactive.primary__resting.rgba,data:j?v:y})}),m(o,{$depth:w,ref:e=>{E.current[S]=e},index:S,closeMenuOnClick:!1,onKeyDownCapture:H,onClick:z,children:A?m(A,{item:T,selectedState:L}):h(p,{children:[m(f,{color:b.interactive.primary__resting.rgba,data:I}),m(`span`,{children:T.label})]})})]}),j&&T.children.map((t,r)=>m(x,{index:C+r,childOffset:C+n(T.children,r),depth:w+1,item:t,itemRefs:P,values:e.values,onItemKeyDown:V,onItemSelect:O,parentHasNestedItems:!0,CustomMenuItemComponent:A},`child-${r}-${t.value}-${T.value}`))]}):`values`in e?h(i,{children:[R,m(o,{$depth:w,$paddedLeft:k,ref:e=>{E.current[S]=e},index:S,tabIndex:w,closeMenuOnClick:!1,onKeyDownCapture:D,onClick:z,children:A?m(A,{item:T,selectedState:F?`selected`:`none`}):h(p,{children:[m(f,{color:b.interactive.primary__resting.rgba,data:F?g:_}),m(`span`,{children:T.label})]})})]}):m(i,{children:m(o,{$depth:w,$selected:e.value&&T.value===e.value.value,ref:e=>{E.current[S]=e},index:S,onKeyDownCapture:D,onClick:z,children:A?m(A,{item:T,selectedState:e.value&&T.value===e.value.value?`selected`:`none`}):m(`span`,{children:T.label})})})};export{x as SelectMenuItem};
@@ -0,0 +1 @@
1
+ import{flattenOptions as e}from"./Select.utils.js";import{checkbox as t,checkbox_indeterminate as n,checkbox_outline as r}from"@equinor/eds-icons";const i={selected:t,indeterminate:n,none:r};function a(e,t){let n=o(e,t);return i[n]}function o(t,n){if(!t.children||t.children.length===0)return`none`;let r=n.some(e=>e.value===t.value),i=n.map(({value:e})=>e),a=e([t])?.map(({value:e})=>e);return r?`selected`:a.some(e=>i.includes(e))?`indeterminate`:`none`}export{a as getParentIcon,o as getParentState};
@@ -1 +1 @@
1
- import{jsx as e}from"react/jsx-runtime";import{Select as t}from"src/molecules/Select/Select";function n(n){return e(t,{...n})}export{n as SingleSelect};
1
+ import{Select as e}from"../Select.js";import{jsx as t}from"react/jsx-runtime";function n(n){return t(e,{...n})}export{n as SingleSelect};
@@ -1,4 +1,4 @@
1
- import * as react89 from "react";
1
+ import * as react92 from "react";
2
2
  import { CheckboxProps } from "@equinor/eds-core-react";
3
3
 
4
4
  //#region src/molecules/SelectionControls/Checkbox/Checkbox.d.ts
@@ -7,6 +7,6 @@ interface CheckboxProps$1 extends CheckboxProps {
7
7
  outlined?: boolean;
8
8
  error?: boolean;
9
9
  }
10
- declare const Checkbox$1: react89.ForwardRefExoticComponent<CheckboxProps$1 & react89.RefAttributes<HTMLInputElement>>;
10
+ declare const Checkbox$1: react92.ForwardRefExoticComponent<CheckboxProps$1 & react92.RefAttributes<HTMLInputElement>>;
11
11
  //#endregion
12
12
  export { Checkbox$1 as Checkbox, CheckboxProps$1 as CheckboxProps };
@@ -1 +1 @@
1
- import{Wrapper as e}from"../SelectionControls.styles.js";import{forwardRef as t}from"react";import{jsx as n}from"react/jsx-runtime";import{Checkbox as r}from"@equinor/eds-core-react";const i=t((t,i)=>{let{outlined:a,error:o,...s}=t;return n(e,{$outlined:a||!1,$error:o,children:n(r,{ref:i,...s})})});i.displayName=`Checkbox`;export{i as Checkbox};
1
+ import{Wrapper as e}from"../SelectionControls.styles.js";import{forwardRef as t}from"react";import{Checkbox as n}from"@equinor/eds-core-react";import{jsx as r}from"react/jsx-runtime";const i=t((t,i)=>{let{outlined:a,error:o,...s}=t;return r(e,{$outlined:a||!1,$error:o,children:r(n,{ref:i,...s})})});i.displayName=`Checkbox`;export{i as Checkbox};
@@ -1,4 +1,4 @@
1
- import * as react93 from "react";
1
+ import * as react94 from "react";
2
2
  import { RadioProps } from "@equinor/eds-core-react";
3
3
 
4
4
  //#region src/molecules/SelectionControls/Radio/Radio.d.ts
@@ -7,6 +7,6 @@ interface RadioProps$1 extends RadioProps {
7
7
  outlined?: boolean;
8
8
  error?: boolean;
9
9
  }
10
- declare const Radio$1: react93.ForwardRefExoticComponent<RadioProps$1 & react93.RefAttributes<HTMLInputElement>>;
10
+ declare const Radio$1: react94.ForwardRefExoticComponent<RadioProps$1 & react94.RefAttributes<HTMLInputElement>>;
11
11
  //#endregion
12
12
  export { Radio$1 as Radio, RadioProps$1 as RadioProps };
@@ -1 +1 @@
1
- import{Wrapper as e}from"../SelectionControls.styles.js";import{forwardRef as t}from"react";import{jsx as n}from"react/jsx-runtime";import{Radio as r}from"@equinor/eds-core-react";const i=t((t,i)=>{let{outlined:a,error:o,...s}=t;return n(e,{$outlined:a||!1,$error:o,children:n(r,{ref:i,...s,checked:s.checked?!0:void 0})})});i.displayName=`Radio`;export{i as Radio};
1
+ import{Wrapper as e}from"../SelectionControls.styles.js";import{forwardRef as t}from"react";import{Radio as n}from"@equinor/eds-core-react";import{jsx as r}from"react/jsx-runtime";const i=t((t,i)=>{let{outlined:a,error:o,...s}=t;return r(e,{$outlined:a||!1,$error:o,children:r(n,{ref:i,...s,checked:s.checked?!0:void 0})})});i.displayName=`Radio`;export{i as Radio};
@@ -1,9 +1,9 @@
1
- import e,{css as t}from"styled-components";import{animation as n,colors as r,shape as i,spacings as a}from"src/atoms/style";const o=e.span`
1
+ import{animation as e}from"../../atoms/style/animation.js";import{colors as t}from"../../atoms/style/colors.js";import{spacings as n}from"../../atoms/style/spacings.js";import{shape as r}from"../../atoms/style/index.js";import i,{css as a}from"styled-components";const o=i.span`
2
2
  > label {
3
- padding: ${a.x_small} ${a.medium_small};
4
- border-radius: ${i.button.borderRadius};
5
- transition: background ${n.transitionMS};
6
- gap: ${a.small};
3
+ padding: ${n.x_small} ${n.medium_small};
4
+ border-radius: ${r.button.borderRadius};
5
+ transition: background ${e.transitionMS};
6
+ gap: ${n.small};
7
7
  min-height: 36px;
8
8
  > span:first-child {
9
9
  padding: 0;
@@ -11,13 +11,13 @@ import e,{css as t}from"styled-components";import{animation as n,colors as r,sha
11
11
  aspect-ratio: 1;
12
12
  }
13
13
  > span[class*='Switch']:last-child {
14
- padding: 0 ${a.medium_small} 0 0;
14
+ padding: 0 ${n.medium_small} 0 0;
15
15
  }
16
16
  }
17
17
 
18
18
  &.switch > label {
19
- padding: 0 ${a.x_small} 0 ${a.medium_small};
20
- gap: ${a.small};
19
+ padding: 0 ${n.x_small} 0 ${n.medium_small};
20
+ gap: ${n.small};
21
21
 
22
22
  > span:first-child {
23
23
  height: 36px;
@@ -41,21 +41,21 @@ import e,{css as t}from"styled-components";import{animation as n,colors as r,sha
41
41
  background: transparent !important;
42
42
  }
43
43
  svg {
44
- transition: fill ${n.transitionMS};
44
+ transition: fill ${e.transitionMS};
45
45
  }
46
46
  input:not(:checked) {
47
47
  ~ svg {
48
- fill: ${({$error:e})=>e?r.interactive.danger__resting.rgba:r.text.static_icons__tertiary.rgba};
48
+ fill: ${({$error:e})=>e?t.interactive.danger__resting.rgba:t.text.static_icons__tertiary.rgba};
49
49
  &:hover {
50
- fill: ${({$error:e})=>e?r.interactive.danger__hover.rgba:r.text.static_icons__default.rgba};
50
+ fill: ${({$error:e})=>e?t.interactive.danger__hover.rgba:t.text.static_icons__default.rgba};
51
51
  }
52
52
  }
53
53
  }
54
- ${({$error:e})=>e?t`
54
+ ${({$error:e})=>e?a`
55
55
  input ~ svg {
56
- fill: ${r.interactive.danger__resting.rgba};
56
+ fill: ${t.interactive.danger__resting.rgba};
57
57
  &:hover {
58
- fill: ${r.interactive.danger__hover.rgba};
58
+ fill: ${t.interactive.danger__hover.rgba};
59
59
  }
60
60
  }
61
61
  `:``}
@@ -65,43 +65,43 @@ import e,{css as t}from"styled-components";import{animation as n,colors as r,sha
65
65
  > span
66
66
  > span
67
67
  > span:last-child:not([class*='SwitchSmall']) {
68
- background: ${r.interactive.primary__resting.rgba};
68
+ background: ${t.interactive.primary__resting.rgba};
69
69
  }
70
70
  > label:has(input)
71
71
  > span
72
72
  > span
73
73
  > span:last-child:not([class*='SwitchSmall']) {
74
- background: ${r.text.static_icons__tertiary.rgba};
74
+ background: ${t.text.static_icons__tertiary.rgba};
75
75
  }
76
76
 
77
77
  > label:hover:not(:has(input:disabled)) {
78
- background: ${({$error:e})=>e?r.interactive.danger__highlight.rgba:r.interactive.primary__hover_alt.rgba};
78
+ background: ${({$error:e})=>e?t.interactive.danger__highlight.rgba:t.interactive.primary__hover_alt.rgba};
79
79
  svg {
80
- fill: ${({$error:e})=>e?r.interactive.danger__hover.rgba:r.text.static_icons__default.rgba};
80
+ fill: ${({$error:e})=>e?t.interactive.danger__hover.rgba:t.text.static_icons__default.rgba};
81
81
  }
82
82
  }
83
83
 
84
84
  > label:focus:not(:hover):not(:has(input:disabled)) {
85
- outline: 1px dashed ${r.interactive.primary__resting.rgba};
85
+ outline: 1px dashed ${t.interactive.primary__resting.rgba};
86
86
  outline-offset: -1px;
87
87
  }
88
88
 
89
89
  &:has(input:disabled) {
90
90
  span:last-child {
91
- color: ${r.interactive.disabled__text.rgba};
91
+ color: ${t.interactive.disabled__text.rgba};
92
92
  }
93
93
  svg {
94
- fill: ${r.interactive.disabled__text.rgba};
94
+ fill: ${t.interactive.disabled__text.rgba};
95
95
  }
96
96
  }
97
97
 
98
- ${({$outlined:e})=>{if(e)return t`
98
+ ${({$outlined:e})=>{if(e)return a`
99
99
  > label {
100
- outline: 1px solid ${r.ui.background__medium.rgba};
100
+ outline: 1px solid ${t.ui.background__medium.rgba};
101
101
  }
102
102
  &:has(input:disabled) {
103
103
  svg {
104
- fill: ${r.interactive.disabled__border.rgba};
104
+ fill: ${t.interactive.disabled__border.rgba};
105
105
  }
106
106
  }
107
107
  `}}
@@ -1,10 +1,10 @@
1
- import * as react95 from "react";
1
+ import * as react96 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: react95.ForwardRefExoticComponent<SwitchProps$1 & react95.RefAttributes<HTMLInputElement>>;
8
+ declare const Switch$1: react96.ForwardRefExoticComponent<SwitchProps$1 & react96.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{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
+ 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,20 +1,20 @@
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`
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`
2
2
  margin-left: auto;
3
3
  display: flex;
4
4
  align-items: center;
5
5
  gap: 25px;
6
- `,h=o(c)`
6
+ `,h=l(a)`
7
7
  background: ${e=>e.$backgroundColor};
8
- `,g=o(s)`
8
+ `,g=l(i)`
9
9
  justify-self: flex-end;
10
- `,_=o(u)`
10
+ `,_=l(s)`
11
11
  overflow-y: auto;
12
- `,v=o.div`
13
- padding: ${f.medium};
14
- padding-left: ${f.large};
15
- `,y=o(u.Item)`
12
+ `,v=l.div`
13
+ padding: ${t.medium};
14
+ padding-left: ${t.large};
15
+ `,y=l(s.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: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};
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};
@@ -0,0 +1 @@
1
+ import{colors as e}from"../../atoms/style/colors.js";const t={START:e.interactive.disabled__border.rgba,END:e.interactive.disabled__text.rgba};export{t as COLORS};
@@ -1,4 +1,4 @@
1
- import * as react38 from "react";
1
+ import * as react41 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<react38.DetailedHTMLProps<react38.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, SkeletonBaseProps>> & string;
10
+ declare const SkeletonBase: styled_components_dist_types6.IStyledComponentBase<"web", styled_components_dist_types6.Substitute<react41.DetailedHTMLProps<react41.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, SkeletonBaseProps>> & string;
11
11
  //#endregion
12
12
  export { SkeletonBase, SkeletonBaseProps, skeletonBaseloading };
@@ -1,18 +1,18 @@
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`
1
+ import{COLORS as e}from"../Skeleton.styles.js";import t,{css as n,keyframes as r}from"styled-components";const i=r`
2
2
  to {
3
3
  transform: translateX(100%);
4
4
  }
5
- `,a=e.div`
6
- background: ${r.START};
5
+ `,a=t.div`
6
+ background: ${e.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
- ${r.START} 0%,
14
- ${r.END} 50%,
15
- ${r.START} 100%
13
+ ${e.START} 0%,
14
+ ${e.END} 50%,
15
+ ${e.START} 100%
16
16
  );
17
17
  animation: ${i} 1.5s infinite;
18
18
  content: '';
@@ -23,7 +23,7 @@ import e,{css as t,keyframes as n}from"styled-components";import{COLORS as r}fro
23
23
  top: 0;
24
24
  transform: translateX(-100%);
25
25
  z-index: 1;
26
- ${e=>e.$offset&&t`
26
+ ${e=>e.$offset&&n`
27
27
  animation-delay: ${e.$offset}ms;
28
28
  `};
29
29
  }
@@ -0,0 +1,8 @@
1
+ import{spacings as e}from"../../atoms/style/spacings.js";import{shape as t}from"../../atoms/style/index.js";import{SkeletonBase as n}from"./SkeletonBase/SkeletonBase.js";import r from"styled-components";const i=r(n)`
2
+ position: absolute;
3
+ left: ${e.small};
4
+ border-radius: ${t.corners.borderRadius};
5
+ transform: translateY(${e.x_small});
6
+ height: 100%;
7
+ top: 0;
8
+ `;export{i as SkeletonField};
@@ -1 +1 @@
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
+ 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,15 +1,15 @@
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`
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`
2
2
  display: flex;
3
- gap: ${c.small};
3
+ gap: ${t.small};
4
4
  align-items: center;
5
5
  white-space: nowrap;
6
- ${({$disabled:e,$clickable:t})=>e?a`
6
+ ${({$disabled:e,$clickable:t})=>e?s`
7
7
  &:hover {
8
8
  cursor: not-allowed;
9
9
  }
10
- `:t&&a`
10
+ `:t&&s`
11
11
  &:hover {
12
12
  cursor: pointer;
13
13
  }
14
14
  `}
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};
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 Step};
@@ -0,0 +1,19 @@
1
+ import{colors as e}from"../../../atoms/style/colors.js";import{shape as t}from"../../../atoms/style/index.js";import{useStepper as n}from"../../../providers/StepperProvider.js";import{Icon as r,Typography as i}from"@equinor/eds-core-react";import a from"styled-components";import{jsx as o}from"react/jsx-runtime";import{check as s,lock as c}from"@equinor/eds-icons";const l=a.span`
2
+ display: flex;
3
+ justify-content: center;
4
+ align-items: center;
5
+ width: 22px;
6
+ height: 22px;
7
+ border-radius: ${t.circle.borderRadius};
8
+ border: 2px solid
9
+ ${({$filled:t,$outlined:n})=>t??n?e.interactive.primary__resting.rgba:e.interactive.disabled__text.rgba};
10
+ background: ${({$filled:t})=>t?e.interactive.primary__resting.rgba:`none`};
11
+ > p {
12
+ // Ensure text icons are not squished
13
+ padding: 8px;
14
+ color: ${t=>t.$filled?e.text.static_icons__primary_white.rgba:e.interactive.disabled__text.rgba};
15
+ }
16
+ > svg {
17
+ transform: scale(0.9);
18
+ }
19
+ `,u=({index:t,disabled:a})=>{let{currentStep:u}=n();return a?o(r,{data:c,color:e.interactive.disabled__text.rgba}):t>=u?o(l,{$filled:t===u,children:o(i,{variant:`caption`,children:t+1})}):o(l,{$outlined:!0,"data-testid":`wrapper`,children:o(r,{data:s,color:e.interactive.primary__resting.rgba})})};export{u as StepIcon};
@@ -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{jsx as n}from"react/jsx-runtime";import r from"styled-components";const{colors:i}=e,a=r.hr`
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`
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 r=t(()=>e?i.interactive.primary__resting.rgba:i.interactive.disabled__text.rgba,[e]);return n(a,{$background:r})};export{o as StepLine};
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};