@equinor/amplify-component-lib 8.17.2 → 8.17.4
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/atoms/style/colors.d.ts +3 -0
- package/dist/atoms/style/colors.js +1 -1
- package/dist/atoms/style/darkTokens.js +1 -0
- package/dist/atoms/style/lightTokens.js +1 -0
- package/dist/atoms/types/Icon.d.ts +1 -1
- package/dist/deprecated/ErrorPage/Description.js +1 -1
- package/dist/deprecated/ErrorPage/Title.js +1 -1
- package/dist/deprecated/Workflow/WorkflowDescription.js +6 -6
- package/dist/molecules/ApplicationIcon/ApplicationIconBase.js +6 -6
- package/dist/molecules/ApplicationIcon/ApplicationIconNew/ApplicationIconNewData/AppIconSvg.d.ts +2 -6
- package/dist/molecules/Badge/Badge.js +1 -1
- package/dist/molecules/ContentMenu/ContentMenu.js +1 -52
- package/dist/molecules/ContentMenu/ContentMenu.styles.d.ts +10 -0
- package/dist/molecules/ContentMenu/ContentMenu.styles.js +52 -0
- package/dist/molecules/DatePicker/DatePicker.d.ts +5 -21
- package/dist/molecules/DatePicker/DatePicker.js +1 -1
- package/dist/molecules/DatePicker/DatePicker.styles.d.ts +1 -0
- package/dist/molecules/DatePicker/DatePicker.styles.js +17 -0
- package/dist/molecules/Dialog/DialogAction.js +1 -1
- package/dist/molecules/EquinorLogo/EquinorLogo.d.ts +1 -1
- package/dist/molecules/FeedBackIcon/FeedBackIcon.d.ts +1 -1
- package/dist/molecules/FeedBackIcon/FeedBackIcon.js +1 -1
- package/dist/molecules/FeedBackIcon/NegativeFilled.js +1 -1
- package/dist/molecules/FeedBackIcon/NegativeOutlined.js +1 -1
- package/dist/molecules/FeedBackIcon/PositiveFilled.js +1 -1
- package/dist/molecules/FeedBackIcon/PositiveOutlined.js +1 -1
- package/dist/molecules/FileProgress/CompactFileProgress.js +1 -1
- package/dist/molecules/FileUploadArea/FileUploadArea.js +3 -3
- package/dist/molecules/FullPageSpinner/FullPageSpinner.js +6 -6
- package/dist/molecules/InfoElement/InfoElement.js +1 -1
- package/dist/molecules/ListItem/ListItem.js +3 -3
- package/dist/molecules/ListItem/ListItem.utils.js +1 -1
- package/dist/molecules/ProfileAvatar/ProfileAvatar.js +2 -2
- package/dist/molecules/RichTextEditor/custom-extensions/ExtendedHeaders.js +1 -1
- package/dist/molecules/Select/Select.styles.js +2 -1
- package/dist/molecules/Select/SelectMenuItem.js +1 -1
- package/dist/molecules/Select/SelectMenuItem.utils.d.ts +2 -0
- package/dist/molecules/Select/SelectMenuItem.utils.js +1 -0
- package/dist/molecules/SelectionControls/Radio/Radio.js +1 -1
- package/dist/molecules/Skeleton/Skeleton.styles.d.ts +2 -2
- package/dist/molecules/Skeleton/Skeleton.styles.js +1 -1
- package/dist/molecules/Skeleton/SkeletonBase/SkeletonBase.d.ts +0 -1
- package/dist/molecules/Skeleton/SkeletonBase/SkeletonBase.js +7 -5
- package/dist/molecules/Stepper/SubTitle/SubTitle.js +2 -2
- package/dist/molecules/TextField/TextField.js +6 -3
- package/dist/node_modules/@react-aria/i18n/dist/useDefaultLocale.js +1 -1
- package/dist/organisms/FieldSelector/SelectorCard/SelectorCard.js +2 -2
- package/dist/organisms/Filter/Filter.styles.d.ts +1 -262
- package/dist/organisms/SideBar/MenuItem.styles.js +1 -1
- package/dist/organisms/Status/Description.js +1 -1
- package/dist/organisms/Status/Title.js +1 -1
- package/dist/organisms/TableOfContents/TableOfContents.js +1 -1
- package/dist/organisms/TableOfContents/TableOfContents.styles.d.ts +3 -786
- package/dist/organisms/TopBar/Account/Account.js +1 -1
- package/dist/organisms/TopBar/Account/AccountAvatar.js +1 -1
- package/dist/organisms/TopBar/Account/AccountButton.js +3 -3
- package/dist/organisms/TopBar/Account/ImpersonateAvatar.js +2 -2
- 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/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 +6 -6
- package/dist/organisms/TopBar/Account/ImpersonateMenu/hooks/useActiveImpersonationUser.d.ts +1 -1
- package/dist/organisms/TopBar/Account/ImpersonateMenu/hooks/useActiveImpersonationUser.js +1 -1
- package/dist/organisms/TopBar/FieldMenu/FieldMenu.styles.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/NotificationsTemplate/NotificationElements/DefaultNotification.js +2 -2
- package/dist/organisms/TopBar/Notifications/NotificationsTemplate/NotificationElements/NoNotifications.js +4 -4
- package/dist/organisms/TopBar/Resources/Feedback/Feedback.styles.js +3 -3
- package/dist/organisms/TopBar/Resources/Feedback/Feedback.utils.d.ts +1 -0
- package/dist/organisms/TopBar/Resources/Feedback/Feedback.utils.js +1 -1
- package/dist/organisms/TopBar/Resources/Feedback/FeedbackForm/Description.js +3 -3
- package/dist/organisms/TopBar/Resources/Feedback/ResponsePage/ResponsePage.styles.js +3 -3
- package/dist/organisms/TopBar/Resources/Feedback/ResponsePage/Success.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/ReleasePost/ReleasePost.js +1 -1
- package/dist/organisms/TopBar/Resources/ReleaseNotesDialog/ReleasePosts/ReleasePost/TextContent.js +1 -1
- package/dist/organisms/TopBar/Resources/ReleaseNotesDialog/ReleasePosts/ReleasePosts.js +1 -1
- package/dist/organisms/TopBar/Resources/Tutorials/TutorialInfoDialog.js +4 -4
- package/dist/organisms/TopBar/Settings.js +2 -2
- package/dist/organisms/TopBar/TopBar.js +1 -1
- package/dist/providers/LoadingProvider.js +1 -1
- package/dist/providers/ReleaseNotesProvider.utils.js +1 -1
- package/dist/providers/SnackbarProvider/SnackbarProvider.d.ts +1 -2
- package/dist/tests/browsertest-utils.d.ts +15 -0
- package/dist/tests/{test-utils.d.ts → jsdomtest-utils.d.ts} +6 -4
- package/dist/tests/mockHandlers.d.ts +2 -1
- package/dist/tests/setupBrowserTests.d.ts +2 -0
- package/package.json +80 -80
- /package/dist/tests/{setupTests.d.ts → setupNodeTests.d.ts} +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@equinor/amplify-component-lib",
|
|
3
|
-
"version": "8.17.
|
|
3
|
+
"version": "8.17.4",
|
|
4
4
|
"description": "Frontend Typescript components for the Amplify team",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -20,20 +20,18 @@
|
|
|
20
20
|
],
|
|
21
21
|
"sideEffects": false,
|
|
22
22
|
"scripts": {
|
|
23
|
-
"start": "
|
|
24
|
-
"build-storybook": "
|
|
25
|
-
"setup": "npm install",
|
|
23
|
+
"start": "storybook dev -p 6006",
|
|
24
|
+
"build-storybook": "storybook build",
|
|
26
25
|
"pretty": "prettier --check ./config ./src ./.storybook",
|
|
27
26
|
"pretty:fix": "prettier --write ./config ./src ./.storybook",
|
|
28
27
|
"lint": "eslint ./src ./.storybook",
|
|
29
28
|
"lint:fix": "eslint ./src ./.storybook --fix",
|
|
30
29
|
"test": "vitest watch",
|
|
31
|
-
"test:ci": "vitest run",
|
|
30
|
+
"test:ci": "CI=true vitest run",
|
|
32
31
|
"test:coverage": "vitest run --coverage",
|
|
33
|
-
"test:coverage-ci": "vitest run --coverage --coverage.reporter=json --coverage.reporter=json-summary --silent",
|
|
32
|
+
"test:coverage-ci": "CI=true vitest run --coverage --coverage.reporter=json --coverage.reporter=json-summary --silent",
|
|
34
33
|
"build": "npm run build-components",
|
|
35
34
|
"build-components": "rollup -c && tsc --project tsconfig.build.json && resolve-tspaths --project tsconfig.build.json",
|
|
36
|
-
"build-components:ci": "rm -rf lib dist && npm run build-components",
|
|
37
35
|
"build-and-use": "node tooling/build-and-use.mjs",
|
|
38
36
|
"brute-coverage": "node tooling/brute-coverage.mjs"
|
|
39
37
|
},
|
|
@@ -50,120 +48,122 @@
|
|
|
50
48
|
]
|
|
51
49
|
},
|
|
52
50
|
"dependencies": {
|
|
53
|
-
"@azure/msal-browser": "3.
|
|
54
|
-
"@azure/msal-react": "2.
|
|
55
|
-
"@equinor/eds-core-react": "0.42.
|
|
56
|
-
"@equinor/eds-data-grid-react": "^0.7.
|
|
51
|
+
"@azure/msal-browser": "3.27.0",
|
|
52
|
+
"@azure/msal-react": "2.2.0",
|
|
53
|
+
"@equinor/eds-core-react": "0.42.3",
|
|
54
|
+
"@equinor/eds-data-grid-react": "^0.7.3",
|
|
57
55
|
"@microsoft/signalr": "^8.0.7",
|
|
58
|
-
"@tiptap/core": "^2.
|
|
59
|
-
"@tiptap/extension-bold": "^2.
|
|
60
|
-
"@tiptap/extension-bullet-list": "^2.
|
|
61
|
-
"@tiptap/extension-code-block": "^2.
|
|
62
|
-
"@tiptap/extension-code-block-lowlight": "^2.
|
|
63
|
-
"@tiptap/extension-color": "^2.
|
|
64
|
-
"@tiptap/extension-document": "^2.
|
|
65
|
-
"@tiptap/extension-dropcursor": "^2.
|
|
66
|
-
"@tiptap/extension-gapcursor": "^2.
|
|
67
|
-
"@tiptap/extension-hard-break": "^2.
|
|
68
|
-
"@tiptap/extension-heading": "^2.
|
|
69
|
-
"@tiptap/extension-highlight": "^2.
|
|
70
|
-
"@tiptap/extension-history": "^2.
|
|
71
|
-
"@tiptap/extension-image": "^2.
|
|
72
|
-
"@tiptap/extension-italic": "^2.
|
|
73
|
-
"@tiptap/extension-link": "^2.
|
|
74
|
-
"@tiptap/extension-list-item": "^2.
|
|
75
|
-
"@tiptap/extension-ordered-list": "^2.
|
|
76
|
-
"@tiptap/extension-paragraph": "^2.
|
|
77
|
-
"@tiptap/extension-placeholder": "^2.
|
|
78
|
-
"@tiptap/extension-table": "^2.
|
|
79
|
-
"@tiptap/extension-table-cell": "^2.
|
|
80
|
-
"@tiptap/extension-table-header": "^2.
|
|
81
|
-
"@tiptap/extension-table-row": "^2.
|
|
82
|
-
"@tiptap/extension-text": "^2.
|
|
83
|
-
"@tiptap/extension-text-align": "^2.
|
|
84
|
-
"@tiptap/extension-text-style": "^2.
|
|
85
|
-
"@tiptap/extension-typography": "^2.
|
|
86
|
-
"@tiptap/pm": "^2.
|
|
87
|
-
"@tiptap/react": "^2.
|
|
88
|
-
"framer-motion": "^11.11.
|
|
56
|
+
"@tiptap/core": "^2.9.1",
|
|
57
|
+
"@tiptap/extension-bold": "^2.9.1",
|
|
58
|
+
"@tiptap/extension-bullet-list": "^2.9.1",
|
|
59
|
+
"@tiptap/extension-code-block": "^2.9.1",
|
|
60
|
+
"@tiptap/extension-code-block-lowlight": "^2.9.1",
|
|
61
|
+
"@tiptap/extension-color": "^2.9.1",
|
|
62
|
+
"@tiptap/extension-document": "^2.9.1",
|
|
63
|
+
"@tiptap/extension-dropcursor": "^2.9.1",
|
|
64
|
+
"@tiptap/extension-gapcursor": "^2.9.1",
|
|
65
|
+
"@tiptap/extension-hard-break": "^2.9.1",
|
|
66
|
+
"@tiptap/extension-heading": "^2.9.1",
|
|
67
|
+
"@tiptap/extension-highlight": "^2.9.1",
|
|
68
|
+
"@tiptap/extension-history": "^2.9.1",
|
|
69
|
+
"@tiptap/extension-image": "^2.9.1",
|
|
70
|
+
"@tiptap/extension-italic": "^2.9.1",
|
|
71
|
+
"@tiptap/extension-link": "^2.9.1",
|
|
72
|
+
"@tiptap/extension-list-item": "^2.9.1",
|
|
73
|
+
"@tiptap/extension-ordered-list": "^2.9.1",
|
|
74
|
+
"@tiptap/extension-paragraph": "^2.9.1",
|
|
75
|
+
"@tiptap/extension-placeholder": "^2.9.1",
|
|
76
|
+
"@tiptap/extension-table": "^2.9.1",
|
|
77
|
+
"@tiptap/extension-table-cell": "^2.9.1",
|
|
78
|
+
"@tiptap/extension-table-header": "^2.9.1",
|
|
79
|
+
"@tiptap/extension-table-row": "^2.9.1",
|
|
80
|
+
"@tiptap/extension-text": "^2.9.1",
|
|
81
|
+
"@tiptap/extension-text-align": "^2.9.1",
|
|
82
|
+
"@tiptap/extension-text-style": "^2.9.1",
|
|
83
|
+
"@tiptap/extension-typography": "^2.9.1",
|
|
84
|
+
"@tiptap/pm": "^2.9.1",
|
|
85
|
+
"@tiptap/react": "^2.9.1",
|
|
86
|
+
"framer-motion": "^11.11.15",
|
|
89
87
|
"html2canvas": "^1.4.1",
|
|
90
88
|
"jwt-decode": "^4.0.0",
|
|
91
89
|
"lowlight": "^3.1.0",
|
|
92
|
-
"proj4": "^2.
|
|
93
|
-
"react-dropzone": "^14.
|
|
90
|
+
"proj4": "^2.14.0",
|
|
91
|
+
"react-dropzone": "^14.3.5",
|
|
94
92
|
"react-markdown": "^9.0.1",
|
|
95
93
|
"rehype-raw": "^7.0.0",
|
|
96
94
|
"styled-components": "^6.1.13"
|
|
97
95
|
},
|
|
98
96
|
"devDependencies": {
|
|
99
97
|
"@equinor/eds-icons": "^0.21.0",
|
|
100
|
-
"@equinor/subsurface-app-management": "^1.1.
|
|
101
|
-
"@eslint/js": "^9.
|
|
102
|
-
"@faker-js/faker": "^9.0
|
|
98
|
+
"@equinor/subsurface-app-management": "^1.1.20",
|
|
99
|
+
"@eslint/js": "^9.14.0",
|
|
100
|
+
"@faker-js/faker": "^9.2.0",
|
|
103
101
|
"@rollup/plugin-commonjs": "^28.0.1",
|
|
104
102
|
"@rollup/plugin-node-resolve": "^15.3.0",
|
|
105
103
|
"@rollup/plugin-terser": "^0.4.4",
|
|
106
104
|
"@rollup/plugin-typescript": "^12.1.1",
|
|
107
|
-
"@storybook/addon-actions": "^8.
|
|
108
|
-
"@storybook/addon-designs": "^8.0.
|
|
109
|
-
"@storybook/addon-docs": "^8.
|
|
110
|
-
"@storybook/addon-essentials": "^8.
|
|
111
|
-
"@storybook/addon-links": "^8.
|
|
112
|
-
"@storybook/addon-mdx-gfm": "^8.
|
|
113
|
-
"@storybook/blocks": "^8.
|
|
114
|
-
"@storybook/components": "^8.
|
|
115
|
-
"@storybook/manager-api": "^8.
|
|
116
|
-
"@storybook/preview-api": "^8.
|
|
117
|
-
"@storybook/react": "^8.
|
|
118
|
-
"@storybook/react-vite": "^8.
|
|
105
|
+
"@storybook/addon-actions": "^8.4.7",
|
|
106
|
+
"@storybook/addon-designs": "^8.0.4",
|
|
107
|
+
"@storybook/addon-docs": "^8.4.7",
|
|
108
|
+
"@storybook/addon-essentials": "^8.4.7",
|
|
109
|
+
"@storybook/addon-links": "^8.4.7",
|
|
110
|
+
"@storybook/addon-mdx-gfm": "^8.4.7",
|
|
111
|
+
"@storybook/blocks": "^8.4.7",
|
|
112
|
+
"@storybook/components": "^8.4.7",
|
|
113
|
+
"@storybook/manager-api": "^8.4.7",
|
|
114
|
+
"@storybook/preview-api": "^8.4.7",
|
|
115
|
+
"@storybook/react": "^8.4.7",
|
|
116
|
+
"@storybook/react-vite": "^8.4.7",
|
|
119
117
|
"@tanstack/react-query": "^5.59.15",
|
|
120
118
|
"@testing-library/dom": "^10.4.0",
|
|
121
|
-
"@testing-library/jest-dom": "^6.
|
|
119
|
+
"@testing-library/jest-dom": "^6.6.3",
|
|
122
120
|
"@testing-library/react": "^16.0.1",
|
|
123
121
|
"@testing-library/user-event": "^14.5.2",
|
|
124
122
|
"@types/lodash-es": "^4.17.12",
|
|
125
123
|
"@types/mocha": "^10.0.9",
|
|
126
|
-
"@types/node": "^22.
|
|
124
|
+
"@types/node": "^22.9.0",
|
|
127
125
|
"@types/proj4": "^2.5.5",
|
|
128
126
|
"@types/random-seed": "^0.3.5",
|
|
129
|
-
"@types/react": "^18.3.
|
|
127
|
+
"@types/react": "^18.3.12",
|
|
130
128
|
"@types/react-dom": "^18.3.1",
|
|
131
129
|
"@types/react-router-dom": "^5.3.3",
|
|
132
130
|
"@types/styled-components": "^5.1.34",
|
|
133
131
|
"@types/uuid": "^10.0.0",
|
|
134
132
|
"@types/wicg-file-system-access": "^2023.10.5",
|
|
135
|
-
"@vitejs/plugin-react": "^4.3.
|
|
136
|
-
"@vitest/
|
|
137
|
-
"
|
|
133
|
+
"@vitejs/plugin-react": "^4.3.4",
|
|
134
|
+
"@vitest/browser": "^2.1.8",
|
|
135
|
+
"@vitest/coverage-v8": "^2.1.8",
|
|
136
|
+
"eslint": "^9.14.0",
|
|
138
137
|
"eslint-plugin-react": "^7.37.2",
|
|
139
138
|
"eslint-plugin-react-hooks": "^5.0.0",
|
|
140
139
|
"eslint-plugin-simple-import-sort": "^12.1.1",
|
|
141
|
-
"eslint-plugin-storybook": "^0.
|
|
140
|
+
"eslint-plugin-storybook": "^0.11.0",
|
|
142
141
|
"jest-environment-jsdom": "^29.7.0",
|
|
143
142
|
"jest-styled-components": "^7.2.0",
|
|
144
|
-
"msw": "^2.
|
|
145
|
-
"msw-storybook-addon": "^2.0.
|
|
143
|
+
"msw": "^2.6.8",
|
|
144
|
+
"msw-storybook-addon": "^2.0.4",
|
|
146
145
|
"ora": "^8.1.0",
|
|
146
|
+
"playwright": "^1.49.1",
|
|
147
147
|
"prettier": "^3.3.3",
|
|
148
148
|
"react": "^18.3.1",
|
|
149
149
|
"react-dom": "^18.3.1",
|
|
150
|
-
"react-router": "^6.
|
|
151
|
-
"react-router-dom": "^6.
|
|
150
|
+
"react-router": "^6.28.0",
|
|
151
|
+
"react-router-dom": "^6.28.0",
|
|
152
152
|
"resize-observer-polyfill": "^1.5.1",
|
|
153
153
|
"resolve-tspaths": "^0.8.22",
|
|
154
|
-
"rollup": "^4.
|
|
154
|
+
"rollup": "^4.26.0",
|
|
155
155
|
"rollup-plugin-delete": "^2.1.0",
|
|
156
|
-
"rollup-plugin-import-css": "^3.5.
|
|
157
|
-
"storybook": "^8.
|
|
156
|
+
"rollup-plugin-import-css": "^3.5.6",
|
|
157
|
+
"storybook": "^8.4.7",
|
|
158
158
|
"storybook-addon-data-theme-switcher": "^0.4.2",
|
|
159
|
-
"storybook-addon-remix-react-router": "^3.0.
|
|
159
|
+
"storybook-addon-remix-react-router": "^3.0.2",
|
|
160
160
|
"typescript": "^5.6.3",
|
|
161
|
-
"typescript-eslint": "^8.
|
|
162
|
-
"uuid": "^
|
|
163
|
-
"vite": "^5.4.
|
|
164
|
-
"vite-plugin-svgr": "^4.
|
|
165
|
-
"vite-tsconfig-paths": "^5.
|
|
166
|
-
"vitest": "^2.1.
|
|
161
|
+
"typescript-eslint": "^8.14.0",
|
|
162
|
+
"uuid": "^11.0.3",
|
|
163
|
+
"vite": "^5.4.11",
|
|
164
|
+
"vite-plugin-svgr": "^4.3.0",
|
|
165
|
+
"vite-tsconfig-paths": "^5.1.2",
|
|
166
|
+
"vitest": "^2.1.8"
|
|
167
167
|
},
|
|
168
168
|
"resolutions": {
|
|
169
169
|
"prosemirror-state": "1.4.3",
|
|
File without changes
|