@equinor/cpl-theme-react 1.0.1 → 1.0.2

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.
Files changed (2) hide show
  1. package/dist/index.css +4 -1
  2. package/package.json +26 -15
package/dist/index.css CHANGED
@@ -132,6 +132,7 @@
132
132
  --eds_interactive_secondary__link_hover: rgba(255, 255, 255, 1);
133
133
 
134
134
  --eds_paragraph__meta_color: rgb(216, 125, 125);
135
+ --eds_paragraph_body_short_color: rgba(255, 255, 255, 1);
135
136
 
136
137
  --eds_interactive_danger__resting: rgba(235, 0, 0, 1);
137
138
  --eds_interactive_danger__hover: rgba(255, 148, 155, 1);
@@ -146,11 +147,13 @@
146
147
  --eds_ui_background__light: rgba(8, 8, 8, 1);
147
148
  --eds_ui_background__scrim: rgba(255, 255, 255, 0.6);
148
149
  --eds_ui_background__overlay: rgba(255, 255, 255, 0.2);
149
- --eds_ui_background__medium: rgba(35, 35, 35, 1);
150
+ --eds_ui_background__medium: rgba(255, 255, 255, 0.16);
150
151
  --eds_ui_background__info: rgba(42, 21, 11, 1);
151
152
  --eds_ui_background__warning: rgba(0, 24, 41, 1);
152
153
  --eds_ui_background__danger: rgba(0, 62, 62, 1);
153
154
 
155
+ --eds_ui_accordion_header_color: rgba(255, 255, 255, 1);
156
+
154
157
  /** keeping the infographic colors the same as light mode for now */
155
158
  --eds_infographic_substitute__purple_berry: rgba(140, 17, 89, 1);
156
159
  --eds_infographic_substitute__pink_rose: rgba(226, 73, 115, 1);
package/package.json CHANGED
@@ -1,30 +1,41 @@
1
1
  {
2
2
  "name": "@equinor/cpl-theme-react",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "license": "MIT",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
7
7
  "types": "./dist/index.d.ts",
8
+ "exports": {
9
+ ".": {
10
+ "types": "./dist/index.d.ts",
11
+ "import": "./dist/index.mjs",
12
+ "require": "./dist/index.js"
13
+ },
14
+ "./css": {
15
+ "import": "./dist/index.css",
16
+ "require": "./dist/index.css"
17
+ }
18
+ },
8
19
  "files": [
9
20
  "dist/**"
10
21
  ],
11
22
  "dependencies": {
12
- "@equinor/eds-icons": "^0.21.0",
13
- "@equinor/eds-tokens": "^0.9.2"
23
+ "@equinor/eds-icons": "1.2.1",
24
+ "@equinor/eds-tokens": "2.1.1"
14
25
  },
15
26
  "devDependencies": {
16
- "@equinor/eds-core-react": "^2.2.0",
17
- "@storybook/react": "^9.1.1",
18
- "@types/react": "^18.3.18",
19
- "@types/react-dom": "^18.3.5",
20
- "@types/styled-components": "^5.1.34",
21
- "eslint": "^9.21.0",
22
- "react": "^18.2.0",
23
- "react-dom": "^18.2.0",
24
- "styled-components": "^6.1.14",
25
- "tsup": "^8.5.1",
26
- "@equinor/cpl-eslint-config": "1.0.0",
27
- "@equinor/cpl-typescript-config": "0.0.2"
27
+ "@equinor/eds-core-react": "2.3.4",
28
+ "@storybook/react-vite": "10.2.8",
29
+ "@types/react": "19.2.13",
30
+ "@types/react-dom": "19.2.3",
31
+ "@types/styled-components": "5.1.36",
32
+ "eslint": "10.0.0",
33
+ "react": "19.2.4",
34
+ "react-dom": "19.2.4",
35
+ "styled-components": "6.3.9",
36
+ "tsup": "8.5.1",
37
+ "@equinor/cpl-eslint-config": "1.0.1",
38
+ "@equinor/cpl-typescript-config": "0.0.3"
28
39
  },
29
40
  "peerDependencies": {
30
41
  "@equinor/eds-core-react": ">=2.2.0",