@equinor/amplify-component-lib 8.9.2 → 8.10.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.
- package/dist/_virtual/lodash.js +1 -1
- package/dist/_virtual/lodash2.js +1 -0
- package/dist/atoms/enums/SpacingsMode.d.ts +5 -0
- package/dist/atoms/enums/SpacingsMode.js +1 -0
- package/dist/atoms/enums/index.d.ts +1 -0
- package/dist/atoms/hooks/useLocalStorage.js +1 -1
- package/dist/atoms/hooks/useSelect.js +1 -1
- package/dist/atoms/index.js +1 -1
- package/dist/atoms/style/darkTokens.js +1 -0
- package/dist/atoms/utils/errors.js +1 -1
- package/dist/deprecated/CommentField/CommentField.js +4 -4
- package/dist/deprecated/Workflow/WorkflowDescription.js +1 -1
- package/dist/index.js +1 -1
- package/dist/molecules/Badge/Badge.js +1 -1
- package/dist/molecules/Dialog/DialogAction.js +1 -1
- package/dist/molecules/FileProgress/CompactFileProgress.js +1 -1
- package/dist/molecules/FileProgress/FileProgress.d.ts +2 -1
- package/dist/molecules/FileProgress/FileProgress.js +1 -1
- package/dist/molecules/FileProgress/RegularFileProgress.js +1 -1
- package/dist/molecules/FileUploadArea/FileUploadArea.js +4 -4
- package/dist/molecules/InfoElement/InfoElement.d.ts +8 -15
- package/dist/molecules/InfoElement/InfoElement.js +1 -1
- package/dist/molecules/ListItem/ListItem.js +2 -2
- package/dist/molecules/ListItem/ListItem.utils.js +1 -1
- package/dist/molecules/RichTextDisplay/RichTextDisplay.js +1 -1
- package/dist/molecules/RichTextEditor/RichTextEditor.styles.js +1 -1
- package/dist/molecules/RichTextEditor/custom-extensions/ExtendedHeaders.js +1 -1
- package/dist/molecules/Select/ListSelectMenu.d.ts +2 -2
- package/dist/molecules/Select/Select.types.d.ts +8 -5
- package/dist/molecules/Sieve/Sieve.js +1 -1
- package/dist/node_modules/lodash/lodash.js +2 -2
- package/dist/organisms/ErrorPage/Description.js +1 -1
- package/dist/organisms/ErrorPage/Title.js +1 -1
- package/dist/organisms/ErrorPage/collections/PageNotFound.js +1 -1
- package/dist/organisms/ErrorPage/collections/Unauthorized.js +1 -1
- package/dist/organisms/FieldSelector/ChangingField.js +1 -1
- package/dist/organisms/FieldSelector/SelectorCard/SelectorCard.js +2 -2
- package/dist/organisms/SideBar/MenuItem.js +1 -1
- package/dist/organisms/SideBar/MenuItem.styles.js +1 -6
- package/dist/organisms/TopBar/Account/Account.js +1 -1
- package/dist/organisms/TopBar/Account/Account.styles.js +22 -25
- package/dist/organisms/TopBar/Account/AccountAvatar.js +1 -1
- package/dist/organisms/TopBar/Account/AccountButton.js +4 -4
- package/dist/organisms/TopBar/Account/ActiveUserImpersonationButton.js +1 -1
- package/dist/organisms/TopBar/Account/ImpersonateAvatar.js +2 -2
- package/dist/organisms/TopBar/Account/ImpersonateButton.js +1 -1
- package/dist/organisms/TopBar/Account/ImpersonateMenu/CreateOrEditUser/CreateOrEditUser.js +1 -1
- package/dist/organisms/TopBar/Account/ImpersonateMenu/DeleteUser/DeleteUser.js +1 -1
- package/dist/organisms/TopBar/Account/ImpersonateMenu/DeleteUser/DeleteUser.styles.js +1 -1
- package/dist/organisms/TopBar/Account/ImpersonateMenu/Impersonate.styles.js +1 -1
- package/dist/organisms/TopBar/Account/ImpersonateMenu/ImpersonateMenu.js +1 -1
- package/dist/organisms/TopBar/Account/ImpersonateMenu/ImpersonateMenu.styles.js +1 -1
- package/dist/organisms/TopBar/Account/ImpersonateMenu/UserImpersonation.js +2 -2
- package/dist/organisms/TopBar/Account/ImpersonateMenu/UserImpersonation.styles.js +1 -1
- package/dist/organisms/TopBar/ApplicationDrawer/ApplicationDrawer.js +1 -1
- package/dist/organisms/TopBar/FieldMenu/FieldMenu.js +1 -1
- package/dist/organisms/TopBar/FieldMenu/FieldMenu.styles.js +3 -3
- package/dist/organisms/TopBar/Guidelines/Guidelines.js +1 -1
- package/dist/organisms/TopBar/Guidelines/Item.js +3 -3
- package/dist/organisms/TopBar/Guidelines/Section.js +1 -1
- package/dist/organisms/TopBar/Notifications/NotificationsInner.js +2 -2
- package/dist/organisms/TopBar/Notifications/NotificationsTemplate/NotificationElements/DefaultNotification.js +2 -2
- package/dist/organisms/TopBar/Notifications/NotificationsTemplate/NotificationElements/NoNotifications.js +1 -1
- package/dist/organisms/TopBar/Resources/Feedback/Feedback.styles.js +3 -3
- package/dist/organisms/TopBar/Resources/Feedback/FeedbackForm/Description.js +1 -1
- package/dist/organisms/TopBar/Resources/Feedback/ResponsePage/ResponsePage.styles.js +1 -1
- package/dist/organisms/TopBar/Resources/Feedback/ResponsePage/Success.js +1 -1
- package/dist/organisms/TopBar/Resources/Feedback/providers/FeedbackContextProvider.js +1 -1
- package/dist/organisms/TopBar/Resources/ReleaseNotesDialog/FilterHeader/FilterHeader.js +1 -1
- package/dist/organisms/TopBar/Resources/ReleaseNotesDialog/ReleaseNotes.js +1 -1
- package/dist/organisms/TopBar/Resources/ReleaseNotesDialog/ReleaseNotesHeader.js +1 -1
- package/dist/organisms/TopBar/Resources/ReleaseNotesDialog/ReleasePosts/ReleasePosts.js +1 -1
- package/dist/organisms/TopBar/Resources/Resources.js +2 -2
- package/dist/organisms/TopBar/Settings.d.ts +1 -1
- package/dist/organisms/TopBar/Settings.js +11 -11
- package/dist/organisms/TopBar/TopBar.d.ts +4 -1
- package/dist/organisms/TopBar/TopBar.js +1 -1
- package/dist/organisms/TopBar/TopBar.styles.d.ts +3 -2
- package/dist/organisms/TopBar/TopBar.styles.js +26 -29
- package/dist/organisms/TopBar/TransferToAppDialog.js +4 -4
- package/dist/providers/LoadingProvider.js +1 -1
- package/dist/providers/ThemeProvider/ThemeProvider.d.ts +1 -1
- package/dist/providers/ThemeProvider/ThemeProvider.js +1 -1
- package/package.json +80 -79
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@equinor/amplify-component-lib",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.10.0",
|
|
4
4
|
"description": "Frontend Typescript components for the Amplify team",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -30,6 +30,7 @@
|
|
|
30
30
|
"test": "vitest watch",
|
|
31
31
|
"test:ci": "vitest run",
|
|
32
32
|
"test:coverage": "vitest run --coverage",
|
|
33
|
+
"test:coverage-ci": "vitest run --coverage --coverage.reporter=json --coverage.reporter=json-summary --silent",
|
|
33
34
|
"build": "npm run build-components",
|
|
34
35
|
"build-components": "rollup -c && tsc --project tsconfig.build.json && resolve-tspaths --project tsconfig.build.json",
|
|
35
36
|
"build-components:ci": "rm -rf lib dist && npm run build-components",
|
|
@@ -49,120 +50,120 @@
|
|
|
49
50
|
]
|
|
50
51
|
},
|
|
51
52
|
"dependencies": {
|
|
52
|
-
"@azure/msal-browser": "3.
|
|
53
|
-
"@azure/msal-react": "2.
|
|
54
|
-
"@equinor/eds-core-react": "0.
|
|
55
|
-
"@equinor/eds-data-grid-react": "^0.
|
|
53
|
+
"@azure/msal-browser": "3.26.1",
|
|
54
|
+
"@azure/msal-react": "2.1.1",
|
|
55
|
+
"@equinor/eds-core-react": "0.42.1",
|
|
56
|
+
"@equinor/eds-data-grid-react": "^0.7.1",
|
|
56
57
|
"@microsoft/signalr": "^8.0.7",
|
|
57
|
-
"@tiptap/core": "^2.
|
|
58
|
-
"@tiptap/extension-bold": "^2.
|
|
59
|
-
"@tiptap/extension-bullet-list": "^2.
|
|
60
|
-
"@tiptap/extension-code-block": "^2.
|
|
61
|
-
"@tiptap/extension-code-block-lowlight": "^2.
|
|
62
|
-
"@tiptap/extension-color": "^2.
|
|
63
|
-
"@tiptap/extension-document": "^2.
|
|
64
|
-
"@tiptap/extension-dropcursor": "^2.
|
|
65
|
-
"@tiptap/extension-gapcursor": "^2.
|
|
66
|
-
"@tiptap/extension-hard-break": "^2.
|
|
67
|
-
"@tiptap/extension-heading": "^2.
|
|
68
|
-
"@tiptap/extension-highlight": "^2.
|
|
69
|
-
"@tiptap/extension-history": "^2.
|
|
70
|
-
"@tiptap/extension-image": "^2.
|
|
71
|
-
"@tiptap/extension-italic": "^2.
|
|
72
|
-
"@tiptap/extension-link": "^2.
|
|
73
|
-
"@tiptap/extension-list-item": "^2.
|
|
74
|
-
"@tiptap/extension-ordered-list": "^2.
|
|
75
|
-
"@tiptap/extension-paragraph": "^2.
|
|
76
|
-
"@tiptap/extension-placeholder": "^2.
|
|
77
|
-
"@tiptap/extension-table": "^2.
|
|
78
|
-
"@tiptap/extension-table-cell": "^2.
|
|
79
|
-
"@tiptap/extension-table-header": "^2.
|
|
80
|
-
"@tiptap/extension-table-row": "^2.
|
|
81
|
-
"@tiptap/extension-text": "^2.
|
|
82
|
-
"@tiptap/extension-text-align": "^2.
|
|
83
|
-
"@tiptap/extension-text-style": "^2.
|
|
84
|
-
"@tiptap/extension-typography": "^2.
|
|
85
|
-
"@tiptap/pm": "^2.
|
|
86
|
-
"@tiptap/react": "^2.
|
|
87
|
-
"framer-motion": "^11.
|
|
58
|
+
"@tiptap/core": "^2.8.0",
|
|
59
|
+
"@tiptap/extension-bold": "^2.8.0",
|
|
60
|
+
"@tiptap/extension-bullet-list": "^2.8.0",
|
|
61
|
+
"@tiptap/extension-code-block": "^2.8.0",
|
|
62
|
+
"@tiptap/extension-code-block-lowlight": "^2.8.0",
|
|
63
|
+
"@tiptap/extension-color": "^2.8.0",
|
|
64
|
+
"@tiptap/extension-document": "^2.8.0",
|
|
65
|
+
"@tiptap/extension-dropcursor": "^2.8.0",
|
|
66
|
+
"@tiptap/extension-gapcursor": "^2.8.0",
|
|
67
|
+
"@tiptap/extension-hard-break": "^2.8.0",
|
|
68
|
+
"@tiptap/extension-heading": "^2.8.0",
|
|
69
|
+
"@tiptap/extension-highlight": "^2.8.0",
|
|
70
|
+
"@tiptap/extension-history": "^2.8.0",
|
|
71
|
+
"@tiptap/extension-image": "^2.8.0",
|
|
72
|
+
"@tiptap/extension-italic": "^2.8.0",
|
|
73
|
+
"@tiptap/extension-link": "^2.8.0",
|
|
74
|
+
"@tiptap/extension-list-item": "^2.8.0",
|
|
75
|
+
"@tiptap/extension-ordered-list": "^2.8.0",
|
|
76
|
+
"@tiptap/extension-paragraph": "^2.8.0",
|
|
77
|
+
"@tiptap/extension-placeholder": "^2.8.0",
|
|
78
|
+
"@tiptap/extension-table": "^2.8.0",
|
|
79
|
+
"@tiptap/extension-table-cell": "^2.8.0",
|
|
80
|
+
"@tiptap/extension-table-header": "^2.8.0",
|
|
81
|
+
"@tiptap/extension-table-row": "^2.8.0",
|
|
82
|
+
"@tiptap/extension-text": "^2.8.0",
|
|
83
|
+
"@tiptap/extension-text-align": "^2.8.0",
|
|
84
|
+
"@tiptap/extension-text-style": "^2.8.0",
|
|
85
|
+
"@tiptap/extension-typography": "^2.8.0",
|
|
86
|
+
"@tiptap/pm": "^2.8.0",
|
|
87
|
+
"@tiptap/react": "^2.8.0",
|
|
88
|
+
"framer-motion": "^11.11.9",
|
|
88
89
|
"html2canvas": "^1.4.1",
|
|
89
90
|
"jwt-decode": "^4.0.0",
|
|
90
91
|
"lowlight": "^3.1.0",
|
|
91
|
-
"proj4": "^2.12.
|
|
92
|
-
"react-dropzone": "^14.2.
|
|
92
|
+
"proj4": "^2.12.1",
|
|
93
|
+
"react-dropzone": "^14.2.9",
|
|
93
94
|
"react-markdown": "^9.0.1",
|
|
94
95
|
"rehype-raw": "^7.0.0",
|
|
95
|
-
"styled-components": "^6.1.
|
|
96
|
+
"styled-components": "^6.1.13"
|
|
96
97
|
},
|
|
97
98
|
"devDependencies": {
|
|
98
99
|
"@equinor/eds-icons": "^0.21.0",
|
|
99
100
|
"@equinor/subsurface-app-management": "^1.1.15",
|
|
100
|
-
"@faker-js/faker": "^
|
|
101
|
-
"@rollup/plugin-commonjs": "^
|
|
102
|
-
"@rollup/plugin-node-resolve": "^15.
|
|
101
|
+
"@faker-js/faker": "^9.0.3",
|
|
102
|
+
"@rollup/plugin-commonjs": "^28.0.1",
|
|
103
|
+
"@rollup/plugin-node-resolve": "^15.3.0",
|
|
103
104
|
"@rollup/plugin-terser": "^0.4.4",
|
|
104
|
-
"@rollup/plugin-typescript": "^
|
|
105
|
-
"@storybook/addon-actions": "^8.
|
|
105
|
+
"@rollup/plugin-typescript": "^12.1.1",
|
|
106
|
+
"@storybook/addon-actions": "^8.3.5",
|
|
106
107
|
"@storybook/addon-designs": "^8.0.3",
|
|
107
|
-
"@storybook/addon-docs": "^8.
|
|
108
|
-
"@storybook/addon-essentials": "^8.
|
|
109
|
-
"@storybook/addon-links": "^8.
|
|
110
|
-
"@storybook/addon-mdx-gfm": "^8.
|
|
111
|
-
"@storybook/blocks": "^8.
|
|
112
|
-
"@storybook/components": "^8.
|
|
113
|
-
"@storybook/manager-api": "^8.
|
|
114
|
-
"@storybook/preview-api": "^8.
|
|
115
|
-
"@storybook/react": "^8.
|
|
116
|
-
"@storybook/react-vite": "^8.
|
|
117
|
-
"@tanstack/react-query": "^5.
|
|
108
|
+
"@storybook/addon-docs": "^8.3.5",
|
|
109
|
+
"@storybook/addon-essentials": "^8.3.5",
|
|
110
|
+
"@storybook/addon-links": "^8.3.5",
|
|
111
|
+
"@storybook/addon-mdx-gfm": "^8.3.5",
|
|
112
|
+
"@storybook/blocks": "^8.3.5",
|
|
113
|
+
"@storybook/components": "^8.3.5",
|
|
114
|
+
"@storybook/manager-api": "^8.3.5",
|
|
115
|
+
"@storybook/preview-api": "^8.3.5",
|
|
116
|
+
"@storybook/react": "^8.3.5",
|
|
117
|
+
"@storybook/react-vite": "^8.3.5",
|
|
118
|
+
"@tanstack/react-query": "^5.59.15",
|
|
118
119
|
"@testing-library/dom": "^10.4.0",
|
|
119
120
|
"@testing-library/jest-dom": "^6.5.0",
|
|
120
|
-
"@testing-library/react": "^16.0.
|
|
121
|
+
"@testing-library/react": "^16.0.1",
|
|
121
122
|
"@testing-library/user-event": "^14.5.2",
|
|
122
123
|
"@types/lodash-es": "^4.17.12",
|
|
123
|
-
"@types/mocha": "^10.0.
|
|
124
|
-
"@types/node": "^22.5
|
|
124
|
+
"@types/mocha": "^10.0.9",
|
|
125
|
+
"@types/node": "^22.7.5",
|
|
125
126
|
"@types/proj4": "^2.5.5",
|
|
126
127
|
"@types/random-seed": "^0.3.5",
|
|
127
|
-
"@types/react": "^18.3.
|
|
128
|
-
"@types/react-dom": "^18.3.
|
|
128
|
+
"@types/react": "^18.3.11",
|
|
129
|
+
"@types/react-dom": "^18.3.1",
|
|
129
130
|
"@types/react-router-dom": "^5.3.3",
|
|
130
131
|
"@types/styled-components": "^5.1.34",
|
|
131
132
|
"@types/uuid": "^10.0.0",
|
|
132
133
|
"@types/wicg-file-system-access": "^2023.10.5",
|
|
133
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
134
|
-
"@typescript-eslint/parser": "^8.
|
|
135
|
-
"@vitejs/plugin-react": "^4.3.
|
|
136
|
-
"@vitest/coverage-v8": "^2.
|
|
134
|
+
"@typescript-eslint/eslint-plugin": "^8.9.0",
|
|
135
|
+
"@typescript-eslint/parser": "^8.9.0",
|
|
136
|
+
"@vitejs/plugin-react": "^4.3.2",
|
|
137
|
+
"@vitest/coverage-v8": "^2.1.3",
|
|
137
138
|
"eslint": "^8.56.0",
|
|
138
|
-
"eslint-plugin-react": "^7.
|
|
139
|
-
"eslint-plugin-react-hooks": "^
|
|
139
|
+
"eslint-plugin-react": "^7.37.1",
|
|
140
|
+
"eslint-plugin-react-hooks": "^5.0.0",
|
|
140
141
|
"eslint-plugin-simple-import-sort": "^12.1.1",
|
|
141
|
-
"eslint-plugin-storybook": "^0.
|
|
142
|
+
"eslint-plugin-storybook": "^0.9.0",
|
|
142
143
|
"jest-environment-jsdom": "^29.7.0",
|
|
143
144
|
"jest-styled-components": "^7.2.0",
|
|
144
|
-
"msw": "^2.4.
|
|
145
|
+
"msw": "^2.4.11",
|
|
145
146
|
"msw-storybook-addon": "^2.0.3",
|
|
146
147
|
"ora": "^8.1.0",
|
|
147
148
|
"prettier": "^3.3.3",
|
|
148
149
|
"react": "^18.3.1",
|
|
149
150
|
"react-dom": "^18.3.1",
|
|
150
|
-
"react-router": "^6.
|
|
151
|
-
"react-router-dom": "^6.
|
|
151
|
+
"react-router": "^6.27.0",
|
|
152
|
+
"react-router-dom": "^6.27.0",
|
|
152
153
|
"resize-observer-polyfill": "^1.5.1",
|
|
153
|
-
"resolve-tspaths": "^0.8.
|
|
154
|
-
"rollup": "^4.
|
|
155
|
-
"rollup-plugin-delete": "^2.
|
|
156
|
-
"rollup-plugin-import-css": "^3.5.
|
|
157
|
-
"storybook": "^8.
|
|
154
|
+
"resolve-tspaths": "^0.8.22",
|
|
155
|
+
"rollup": "^4.24.0",
|
|
156
|
+
"rollup-plugin-delete": "^2.1.0",
|
|
157
|
+
"rollup-plugin-import-css": "^3.5.5",
|
|
158
|
+
"storybook": "^8.3.5",
|
|
158
159
|
"storybook-addon-data-theme-switcher": "^0.4.2",
|
|
159
|
-
"storybook-addon-remix-react-router": "^3.0.
|
|
160
|
-
"typescript": "^5.
|
|
160
|
+
"storybook-addon-remix-react-router": "^3.0.1",
|
|
161
|
+
"typescript": "^5.6.3",
|
|
161
162
|
"uuid": "^10.0.0",
|
|
162
|
-
"vite": "^5.4.
|
|
163
|
+
"vite": "^5.4.9",
|
|
163
164
|
"vite-plugin-svgr": "^4.2.0",
|
|
164
165
|
"vite-tsconfig-paths": "^5.0.1",
|
|
165
|
-
"vitest": "^2.
|
|
166
|
+
"vitest": "^2.1.3"
|
|
166
167
|
},
|
|
167
168
|
"resolutions": {
|
|
168
169
|
"prosemirror-state": "1.4.3",
|