@equinor/eds-core-react 0.30.0 → 0.31.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/README.md +9 -6
- package/dist/eds-core-react.cjs.js +628 -333
- package/dist/esm/components/Autocomplete/Autocomplete.js +4 -2
- package/dist/esm/components/Autocomplete/Autocomplete.tokens.js +1 -1
- package/dist/esm/components/Autocomplete/Option.js +17 -13
- package/dist/esm/components/Button/tokens/contained.js +1 -1
- package/dist/esm/components/Button/tokens/contained_icon.js +1 -1
- package/dist/esm/components/Button/tokens/ghost.js +1 -1
- package/dist/esm/components/Button/tokens/icon.js +1 -1
- package/dist/esm/components/Button/tokens/outlined.js +1 -1
- package/dist/esm/components/Checkbox/Checkbox.tokens.js +4 -0
- package/dist/esm/components/Checkbox/Input.js +12 -9
- package/dist/esm/components/Input/Input.tokens.js +1 -1
- package/dist/esm/components/InputWrapper/InputWrapper.tokens.js +1 -1
- package/dist/esm/components/Menu/MenuItem.js +8 -5
- package/dist/esm/components/Radio/Radio.js +12 -9
- package/dist/esm/components/Radio/Radio.tokens.js +4 -0
- package/dist/esm/components/SideBar/SideBar.js +1 -1
- package/dist/esm/components/SideBar/SideBarAccordion/index.js +228 -0
- package/dist/esm/components/SideBar/SideBarAccordionItem/index.js +71 -0
- package/dist/esm/components/SideBar/SidebarLink/index.js +1 -1
- package/dist/esm/components/SideBar/index.js +6 -0
- package/dist/esm/components/Switch/Switch.js +16 -12
- package/dist/esm/components/Switch/Switch.styles.js +3 -5
- package/dist/esm/components/Switch/Switch.tokens.js +2 -10
- package/dist/esm/components/Switch/SwitchDefault.js +1 -1
- package/dist/esm/components/Table/DataCell/DataCell.tokens.js +1 -1
- package/dist/esm/node_modules/.pnpm/{ramda@0.28.0 → ramda@0.29.0}/node_modules/ramda/es/mergeWithKey.js +2 -0
- package/dist/types/components/Autocomplete/Autocomplete.d.ts +5 -1
- package/dist/types/components/Autocomplete/Option.d.ts +11 -4
- package/dist/types/components/Icon/Icon.d.ts +1 -1
- package/dist/types/components/Input/Input.tokens.d.ts +10 -5
- package/dist/types/components/InputWrapper/InputWrapper.tokens.d.ts +10 -5
- package/dist/types/components/Menu/MenuItem.d.ts +16 -14
- package/dist/types/components/Progress/Circular/CircularProgress.d.ts +1 -1
- package/dist/types/components/Progress/Dots/DotProgress.d.ts +1 -1
- package/dist/types/components/Progress/Star/StarProgress.d.ts +1 -1
- package/dist/types/components/SideBar/SideBarAccordion/index.d.ts +38 -0
- package/dist/types/components/SideBar/SideBarAccordionItem/index.d.ts +15 -0
- package/dist/types/components/SideBar/index.d.ts +4 -0
- package/package.json +16 -16
- /package/dist/esm/node_modules/.pnpm/{ramda@0.28.0 → ramda@0.29.0}/node_modules/ramda/es/internal/_curry1.js +0 -0
- /package/dist/esm/node_modules/.pnpm/{ramda@0.28.0 → ramda@0.29.0}/node_modules/ramda/es/internal/_curry2.js +0 -0
- /package/dist/esm/node_modules/.pnpm/{ramda@0.28.0 → ramda@0.29.0}/node_modules/ramda/es/internal/_curry3.js +0 -0
- /package/dist/esm/node_modules/.pnpm/{ramda@0.28.0 → ramda@0.29.0}/node_modules/ramda/es/internal/_has.js +0 -0
- /package/dist/esm/node_modules/.pnpm/{ramda@0.28.0 → ramda@0.29.0}/node_modules/ramda/es/internal/_isObject.js +0 -0
- /package/dist/esm/node_modules/.pnpm/{ramda@0.28.0 → ramda@0.29.0}/node_modules/ramda/es/internal/_isPlaceholder.js +0 -0
- /package/dist/esm/node_modules/.pnpm/{ramda@0.28.0 → ramda@0.29.0}/node_modules/ramda/es/mergeDeepRight.js +0 -0
- /package/dist/esm/node_modules/.pnpm/{ramda@0.28.0 → ramda@0.29.0}/node_modules/ramda/es/mergeDeepWithKey.js +0 -0
|
@@ -5,12 +5,16 @@ import { SideBarContent } from './SideBarContent';
|
|
|
5
5
|
import { SideBarFooter } from './SideBarFooter';
|
|
6
6
|
import { SideBarToggle } from './SideBarToggle';
|
|
7
7
|
import { SideBarButton } from './SideBarButton';
|
|
8
|
+
import { SideBarAccordion } from './SideBarAccordion';
|
|
9
|
+
import { SideBarAccordionItem } from './SideBarAccordionItem';
|
|
8
10
|
type SidebarType = typeof BaseSideBar & {
|
|
9
11
|
Link: typeof SidebarLink;
|
|
10
12
|
Content: typeof SideBarContent;
|
|
11
13
|
Footer: typeof SideBarFooter;
|
|
12
14
|
Toggle: typeof SideBarToggle;
|
|
13
15
|
Button: typeof SideBarButton;
|
|
16
|
+
Accordion: typeof SideBarAccordion;
|
|
17
|
+
AccordionItem: typeof SideBarAccordionItem;
|
|
14
18
|
};
|
|
15
19
|
declare const SideBar: SidebarType;
|
|
16
20
|
export { SideBar, useSideBar };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@equinor/eds-core-react",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.31.0",
|
|
4
4
|
"description": "The React implementation of the Equinor Design System",
|
|
5
5
|
"sideEffects": [
|
|
6
6
|
"**/*.css"
|
|
@@ -44,31 +44,31 @@
|
|
|
44
44
|
"@storybook/client-api": "^6.5.15",
|
|
45
45
|
"@storybook/manager-webpack5": "^6.5.15",
|
|
46
46
|
"@storybook/react": "^6.5.15",
|
|
47
|
-
"@testing-library/dom": "^
|
|
47
|
+
"@testing-library/dom": "^9.2.0",
|
|
48
48
|
"@testing-library/jest-dom": "^5.16.5",
|
|
49
|
-
"@testing-library/react": "
|
|
49
|
+
"@testing-library/react": "14.0.0",
|
|
50
50
|
"@testing-library/user-event": "14.4.3",
|
|
51
|
-
"@types/jest": "^29.
|
|
52
|
-
"@types/ramda": "^0.28.
|
|
51
|
+
"@types/jest": "^29.5.0",
|
|
52
|
+
"@types/ramda": "^0.28.24",
|
|
53
53
|
"@types/react": "^18.0.21",
|
|
54
54
|
"@types/react-dom": "^18.0.10",
|
|
55
55
|
"@types/styled-components": "^5.1.26",
|
|
56
56
|
"@types/testing-library__jest-dom": "^5.14.5",
|
|
57
57
|
"babel-loader": "^9.1.2",
|
|
58
|
-
"babel-plugin-styled-components": "^2.
|
|
59
|
-
"jest": "^29.
|
|
60
|
-
"jest-environment-jsdom": "^29.
|
|
58
|
+
"babel-plugin-styled-components": "^2.1.1",
|
|
59
|
+
"jest": "^29.5.0",
|
|
60
|
+
"jest-environment-jsdom": "^29.5.0",
|
|
61
61
|
"jest-styled-components": "^7.1.1",
|
|
62
62
|
"js-file-download": "^0.4.12",
|
|
63
63
|
"postcss": "^8.4.21",
|
|
64
|
-
"ramda": "^0.
|
|
64
|
+
"ramda": "^0.29.0",
|
|
65
65
|
"react": "^18.2.0",
|
|
66
66
|
"react-dom": "^18.2.0",
|
|
67
|
-
"react-hook-form": "^7.
|
|
67
|
+
"react-hook-form": "^7.43.9",
|
|
68
68
|
"rollup": "^2.79.1",
|
|
69
69
|
"rollup-plugin-delete": "^2.0.0",
|
|
70
70
|
"rollup-plugin-postcss": "^4.0.2",
|
|
71
|
-
"styled-components": "5.3.
|
|
71
|
+
"styled-components": "5.3.9",
|
|
72
72
|
"tsc-watch": "^6.0.0",
|
|
73
73
|
"typescript": "^4.9.4"
|
|
74
74
|
},
|
|
@@ -78,12 +78,12 @@
|
|
|
78
78
|
"styled-components": ">=4.2"
|
|
79
79
|
},
|
|
80
80
|
"dependencies": {
|
|
81
|
-
"@babel/runtime": "^7.
|
|
82
|
-
"@floating-ui/react": "^0.
|
|
83
|
-
"@tanstack/react-virtual": "3.0.0-beta.
|
|
84
|
-
"downshift": "^7.
|
|
81
|
+
"@babel/runtime": "^7.21.0",
|
|
82
|
+
"@floating-ui/react": "^0.23.0",
|
|
83
|
+
"@tanstack/react-virtual": "3.0.0-beta.54",
|
|
84
|
+
"downshift": "^7.6.0",
|
|
85
85
|
"@equinor/eds-icons": "0.19.1",
|
|
86
|
-
"@equinor/eds-tokens": "0.9.
|
|
86
|
+
"@equinor/eds-tokens": "0.9.1",
|
|
87
87
|
"@equinor/eds-utils": "0.7.0"
|
|
88
88
|
},
|
|
89
89
|
"engines": {
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|