@equinor/eds-core-react 2.0.1 → 2.1.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
CHANGED
|
@@ -8,7 +8,7 @@ Read the [changelog](https://github.com/equinor/design-system/blob/main/packages
|
|
|
8
8
|
## Installation
|
|
9
9
|
|
|
10
10
|
```sh
|
|
11
|
-
npm install @equinor/eds-core-react
|
|
11
|
+
npm install @equinor/eds-core-react styled-components
|
|
12
12
|
```
|
|
13
13
|
If you use Typescript, make sure you have typescript >= 3.8 as a devDependency:
|
|
14
14
|
```sh
|
package/dist/eds-core-react.cjs
CHANGED
|
@@ -1531,7 +1531,7 @@ const TypographyNext = /*#__PURE__*/react.forwardRef(({
|
|
|
1531
1531
|
return /*#__PURE__*/jsxRuntime.jsx(Component, {
|
|
1532
1532
|
ref: ref,
|
|
1533
1533
|
"data-font-family": family,
|
|
1534
|
-
"data-
|
|
1534
|
+
"data-font-size": size,
|
|
1535
1535
|
"data-baseline": baseline || undefined,
|
|
1536
1536
|
"data-line-height": lineHeight || undefined,
|
|
1537
1537
|
"data-font-weight": weight || undefined,
|
|
@@ -53,7 +53,7 @@ const TypographyNext = /*#__PURE__*/forwardRef(({
|
|
|
53
53
|
return /*#__PURE__*/jsx(Component, {
|
|
54
54
|
ref: ref,
|
|
55
55
|
"data-font-family": family,
|
|
56
|
-
"data-
|
|
56
|
+
"data-font-size": size,
|
|
57
57
|
"data-baseline": baseline || undefined,
|
|
58
58
|
"data-line-height": lineHeight || undefined,
|
|
59
59
|
"data-font-weight": weight || undefined,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@equinor/eds-core-react",
|
|
3
|
-
"version": "2.0
|
|
3
|
+
"version": "2.1.0",
|
|
4
4
|
"description": "The React implementation of the Equinor Design System",
|
|
5
5
|
"sideEffects": [
|
|
6
6
|
"**/*.css"
|
|
@@ -82,8 +82,7 @@
|
|
|
82
82
|
"peerDependencies": {
|
|
83
83
|
"react": "^19",
|
|
84
84
|
"react-dom": "^19",
|
|
85
|
-
"styled-components": "^6"
|
|
86
|
-
"@equinor/eds-tokens": "^2.0.1"
|
|
85
|
+
"styled-components": "^6"
|
|
87
86
|
},
|
|
88
87
|
"dependencies": {
|
|
89
88
|
"@babel/runtime": "^7.28.4",
|
|
@@ -97,12 +96,12 @@
|
|
|
97
96
|
"downshift": "9.0.10",
|
|
98
97
|
"react-aria": "^3.44.0",
|
|
99
98
|
"@equinor/eds-icons": "^1.0.1",
|
|
100
|
-
"@equinor/eds-tokens": "^2.0
|
|
99
|
+
"@equinor/eds-tokens": "^2.1.0",
|
|
101
100
|
"@equinor/eds-utils": "^2.0.0"
|
|
102
101
|
},
|
|
103
102
|
"scripts": {
|
|
104
103
|
"build": "rollup -c && tsc -p tsconfig.build.json",
|
|
105
|
-
"test": "tsc -p tsconfig.test.json && jest",
|
|
104
|
+
"test": "tsc -p tsconfig.test.json && jest --ci",
|
|
106
105
|
"test:watch": "tsc-watch -p tsconfig.test.json --onFirstSuccess \"jest --watch\"",
|
|
107
106
|
"test:update-snapshots": "jest --updateSnapshot",
|
|
108
107
|
"test:visual": "playwright test",
|