@entur/expand 3.6.2 → 3.6.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/README.md +2 -2
- package/dist/styles.css +19 -17
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
This package contains the different Expand components.
|
|
4
4
|
|
|
5
|
-
> 💡 Looking for the [documentation](https://
|
|
5
|
+
> 💡 Looking for the [documentation](https://linje.entur.no/komponenter/layout-og-flater/expandable)?
|
|
6
6
|
|
|
7
7
|
## Installation
|
|
8
8
|
|
|
@@ -14,4 +14,4 @@ yarn add @entur/expand
|
|
|
14
14
|
|
|
15
15
|
## Usage
|
|
16
16
|
|
|
17
|
-
Please refer to the [documentation](https://
|
|
17
|
+
Please refer to the [documentation](https://linje.entur.no/komponenter/layout-og-flater/expandable) for usage information.
|
package/dist/styles.css
CHANGED
|
@@ -5,6 +5,23 @@
|
|
|
5
5
|
}
|
|
6
6
|
/* DO NOT CHANGE!*/
|
|
7
7
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
8
|
+
.eds-expandable-arrow {
|
|
9
|
+
color: var(--components-expand-expandablepanel-standard-icon);
|
|
10
|
+
transition: 0.2s transform ease-out;
|
|
11
|
+
}
|
|
12
|
+
.eds-expandable-arrow--open {
|
|
13
|
+
transform: rotate(-180deg);
|
|
14
|
+
}
|
|
15
|
+
.eds-contrast .eds-expandable-arrow {
|
|
16
|
+
color: var(--components-expand-expandablepanel-contrast-icon);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.eds-expandable-text--disable-animation .eds-expandable-arrow,
|
|
20
|
+
.eds-expandable-panel--disable-animation .eds-expandable-arrow {
|
|
21
|
+
transition: none;
|
|
22
|
+
}
|
|
23
|
+
/* DO NOT CHANGE!*/
|
|
24
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
8
25
|
.eds-expandable-panel {
|
|
9
26
|
width: 100%;
|
|
10
27
|
position: relative;
|
|
@@ -74,23 +91,6 @@
|
|
|
74
91
|
}
|
|
75
92
|
/* DO NOT CHANGE!*/
|
|
76
93
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
77
|
-
.eds-expandable-arrow {
|
|
78
|
-
color: var(--components-expand-expandablepanel-standard-icon);
|
|
79
|
-
transition: 0.2s transform ease-out;
|
|
80
|
-
}
|
|
81
|
-
.eds-expandable-arrow--open {
|
|
82
|
-
transform: rotate(-180deg);
|
|
83
|
-
}
|
|
84
|
-
.eds-contrast .eds-expandable-arrow {
|
|
85
|
-
color: var(--components-expand-expandablepanel-contrast-icon);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
.eds-expandable-text--disable-animation .eds-expandable-arrow,
|
|
89
|
-
.eds-expandable-panel--disable-animation .eds-expandable-arrow {
|
|
90
|
-
transition: none;
|
|
91
|
-
}
|
|
92
|
-
/* DO NOT CHANGE!*/
|
|
93
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
94
94
|
.eds-expandable-text__trigger {
|
|
95
95
|
-webkit-appearance: none;
|
|
96
96
|
-moz-appearance: none;
|
|
@@ -170,6 +170,7 @@
|
|
|
170
170
|
:root {
|
|
171
171
|
--basecolors-frame-contrast: #181c56;
|
|
172
172
|
--basecolors-frame-contrastalt: #393d79;
|
|
173
|
+
--basecolors-frame-contrastalt-2: #292b6a;
|
|
173
174
|
--basecolors-frame-default: #ffffff;
|
|
174
175
|
--basecolors-frame-elevated: #ffffff;
|
|
175
176
|
--basecolors-frame-elevatedalt: #f6f6f9;
|
|
@@ -235,6 +236,7 @@
|
|
|
235
236
|
[data-color-mode=dark] {
|
|
236
237
|
--basecolors-frame-contrast: #212233;
|
|
237
238
|
--basecolors-frame-contrastalt: #141527;
|
|
239
|
+
--basecolors-frame-contrastalt-2: #08091c;
|
|
238
240
|
--basecolors-frame-default: #08091c;
|
|
239
241
|
--basecolors-frame-elevated: rgba(229, 229, 233, 0.1490196078);
|
|
240
242
|
--basecolors-frame-elevatedalt: #464755;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/expand",
|
|
3
|
-
"version": "3.6.
|
|
3
|
+
"version": "3.6.4",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/expand.esm.js",
|
|
@@ -27,10 +27,10 @@
|
|
|
27
27
|
"react-dom": ">=16.8.0"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@entur/icons": "^7.
|
|
31
|
-
"@entur/tokens": "^3.
|
|
32
|
-
"@entur/typography": "^1.9.
|
|
33
|
-
"@entur/utils": "^0.12.
|
|
30
|
+
"@entur/icons": "^7.8.0",
|
|
31
|
+
"@entur/tokens": "^3.19.0",
|
|
32
|
+
"@entur/typography": "^1.9.4",
|
|
33
|
+
"@entur/utils": "^0.12.3",
|
|
34
34
|
"classnames": "^2.3.1",
|
|
35
35
|
"react-collapse": "^5.1.1"
|
|
36
36
|
},
|
|
@@ -38,5 +38,5 @@
|
|
|
38
38
|
"@types/react-collapse": "5.0.4",
|
|
39
39
|
"dts-cli": "2.0.5"
|
|
40
40
|
},
|
|
41
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "bfd8f62e4735cc13d55e50bc8747535d72aaf679"
|
|
42
42
|
}
|