@equinor/eds-core-react 0.30.0 → 0.31.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.
- package/README.md +9 -6
- package/dist/eds-core-react.cjs.js +632 -335
- 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 +12 -7
- 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
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Available components to help style your React application as an Equinor application. We publish new components regularly so make sure to check back often!
|
|
4
4
|
|
|
5
|
-
Make sure to check out our [Storybook](https://
|
|
5
|
+
Make sure to check out our [Storybook](https://storybook.eds.equinor.com/) for more examples!
|
|
6
6
|
Read the [changelog](https://github.com/equinor/design-system/blob/develop/packages/eds-core-react/CHANGELOG.md) for details on specific releases.
|
|
7
7
|
|
|
8
8
|
## Installation
|
|
@@ -20,7 +20,7 @@ npm install typescript --save-dev
|
|
|
20
20
|
The Equinor typeface is not included and needs to be added to the head of your project. Its available from the EDS CDN:
|
|
21
21
|
|
|
22
22
|
```html
|
|
23
|
-
<link rel="stylesheet" href="https://eds
|
|
23
|
+
<link rel="stylesheet" href="https://cdn.eds.equinor.com/font/equinor-font.css" />
|
|
24
24
|
```
|
|
25
25
|
|
|
26
26
|
## Usage
|
|
@@ -64,10 +64,13 @@ render(<App />, document.getElementById('root'))
|
|
|
64
64
|
## Components
|
|
65
65
|
|
|
66
66
|
- Accordion
|
|
67
|
+
- Autocomplete
|
|
67
68
|
- Avatar
|
|
68
69
|
- Banner
|
|
69
70
|
- Breadcrumbs
|
|
70
71
|
- Button
|
|
72
|
+
- ButtonGroup
|
|
73
|
+
- ToggleButton
|
|
71
74
|
- Card
|
|
72
75
|
- Checkbox
|
|
73
76
|
- Chip
|
|
@@ -79,7 +82,9 @@ render(<App />, document.getElementById('root'))
|
|
|
79
82
|
- Label
|
|
80
83
|
- List
|
|
81
84
|
- Menu
|
|
85
|
+
- Native Select
|
|
82
86
|
- Pagination
|
|
87
|
+
- Paper
|
|
83
88
|
- Popover
|
|
84
89
|
- Progress
|
|
85
90
|
- Circular
|
|
@@ -89,10 +94,7 @@ render(<App />, document.getElementById('root'))
|
|
|
89
94
|
- Radio
|
|
90
95
|
- Scrim
|
|
91
96
|
- Search
|
|
92
|
-
-
|
|
93
|
-
- Native Select
|
|
94
|
-
- Single Select
|
|
95
|
-
- Multi Select
|
|
97
|
+
- SideBar
|
|
96
98
|
- Side Sheet
|
|
97
99
|
- Slider
|
|
98
100
|
- Snackbar
|
|
@@ -100,6 +102,7 @@ render(<App />, document.getElementById('root'))
|
|
|
100
102
|
- Table
|
|
101
103
|
- Table of contents
|
|
102
104
|
- Tabs
|
|
105
|
+
- TextArea
|
|
103
106
|
- TextField
|
|
104
107
|
- Tooltip
|
|
105
108
|
- TopBar
|