@entur/expand 3.5.19 → 3.5.20-RC.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/dist/styles.css +59 -59
- package/package.json +5 -5
package/dist/styles.css
CHANGED
|
@@ -5,23 +5,6 @@
|
|
|
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. */
|
|
25
8
|
.eds-expandable-panel {
|
|
26
9
|
width: 100%;
|
|
27
10
|
position: relative;
|
|
@@ -94,51 +77,20 @@
|
|
|
94
77
|
}
|
|
95
78
|
/* DO NOT CHANGE!*/
|
|
96
79
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
97
|
-
.eds-expandable-
|
|
98
|
-
-
|
|
99
|
-
|
|
100
|
-
appearance: none;
|
|
101
|
-
margin: 0;
|
|
102
|
-
border: none;
|
|
103
|
-
padding: 0.5rem 0;
|
|
104
|
-
cursor: pointer;
|
|
105
|
-
font-family: inherit;
|
|
106
|
-
color: var(--components-expand-expandabletext-standard-text);
|
|
107
|
-
background: inherit;
|
|
108
|
-
font-size: inherit;
|
|
109
|
-
display: flex;
|
|
110
|
-
align-items: center;
|
|
111
|
-
}
|
|
112
|
-
.eds-contrast .eds-expandable-text__trigger {
|
|
113
|
-
color: var(--components-expand-expandabletext-contrast-text);
|
|
114
|
-
}
|
|
115
|
-
.eds-expandable-text__trigger > h5 {
|
|
116
|
-
margin-top: 0;
|
|
117
|
-
margin-bottom: 0;
|
|
118
|
-
}
|
|
119
|
-
.eds-expandable-text__trigger > h4 {
|
|
120
|
-
margin-top: 0;
|
|
121
|
-
margin-bottom: 0;
|
|
122
|
-
}
|
|
123
|
-
.eds-expandable-text__trigger > h3 {
|
|
124
|
-
margin-top: 0;
|
|
125
|
-
margin-bottom: 0;
|
|
126
|
-
}
|
|
127
|
-
.eds-expandable-text__trigger > h2 {
|
|
128
|
-
margin-top: 0;
|
|
129
|
-
margin-bottom: 0;
|
|
80
|
+
.eds-expandable-arrow {
|
|
81
|
+
color: var(--components-expand-expandablepanel-standard-icon);
|
|
82
|
+
transition: 0.2s transform ease-out;
|
|
130
83
|
}
|
|
131
|
-
.eds-expandable-
|
|
132
|
-
|
|
133
|
-
margin-bottom: 0;
|
|
84
|
+
.eds-expandable-arrow--open {
|
|
85
|
+
transform: rotate(-180deg);
|
|
134
86
|
}
|
|
135
|
-
.eds-expandable-
|
|
136
|
-
|
|
137
|
-
outline-color: var(--basecolors-stroke-focus-standard);
|
|
138
|
-
outline-offset: 0.125rem;
|
|
87
|
+
.eds-contrast .eds-expandable-arrow {
|
|
88
|
+
color: var(--components-expand-expandablepanel-contrast-icon);
|
|
139
89
|
}
|
|
140
|
-
|
|
141
|
-
|
|
90
|
+
|
|
91
|
+
.eds-expandable-text--disable-animation .eds-expandable-arrow,
|
|
92
|
+
.eds-expandable-panel--disable-animation .eds-expandable-arrow {
|
|
93
|
+
transition: none;
|
|
142
94
|
}
|
|
143
95
|
/* DO NOT CHANGE!*/
|
|
144
96
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
@@ -328,3 +280,51 @@
|
|
|
328
280
|
transition: none !important;
|
|
329
281
|
}
|
|
330
282
|
}
|
|
283
|
+
/* DO NOT CHANGE!*/
|
|
284
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
285
|
+
.eds-expandable-text__trigger {
|
|
286
|
+
-webkit-appearance: none;
|
|
287
|
+
-moz-appearance: none;
|
|
288
|
+
appearance: none;
|
|
289
|
+
margin: 0;
|
|
290
|
+
border: none;
|
|
291
|
+
padding: 0.5rem 0;
|
|
292
|
+
cursor: pointer;
|
|
293
|
+
font-family: inherit;
|
|
294
|
+
color: var(--components-expand-expandabletext-standard-text);
|
|
295
|
+
background: inherit;
|
|
296
|
+
font-size: inherit;
|
|
297
|
+
display: flex;
|
|
298
|
+
align-items: center;
|
|
299
|
+
}
|
|
300
|
+
.eds-contrast .eds-expandable-text__trigger {
|
|
301
|
+
color: var(--components-expand-expandabletext-contrast-text);
|
|
302
|
+
}
|
|
303
|
+
.eds-expandable-text__trigger > h5 {
|
|
304
|
+
margin-top: 0;
|
|
305
|
+
margin-bottom: 0;
|
|
306
|
+
}
|
|
307
|
+
.eds-expandable-text__trigger > h4 {
|
|
308
|
+
margin-top: 0;
|
|
309
|
+
margin-bottom: 0;
|
|
310
|
+
}
|
|
311
|
+
.eds-expandable-text__trigger > h3 {
|
|
312
|
+
margin-top: 0;
|
|
313
|
+
margin-bottom: 0;
|
|
314
|
+
}
|
|
315
|
+
.eds-expandable-text__trigger > h2 {
|
|
316
|
+
margin-top: 0;
|
|
317
|
+
margin-bottom: 0;
|
|
318
|
+
}
|
|
319
|
+
.eds-expandable-text__trigger > p {
|
|
320
|
+
margin-top: 0;
|
|
321
|
+
margin-bottom: 0;
|
|
322
|
+
}
|
|
323
|
+
.eds-expandable-text__trigger:focus {
|
|
324
|
+
outline: 2px solid #181c56;
|
|
325
|
+
outline-color: var(--basecolors-stroke-focus-standard);
|
|
326
|
+
outline-offset: 0.125rem;
|
|
327
|
+
}
|
|
328
|
+
.eds-contrast .eds-expandable-text__trigger:focus {
|
|
329
|
+
outline-color: var(--basecolors-stroke-focus-contrast);
|
|
330
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/expand",
|
|
3
|
-
"version": "3.5.
|
|
3
|
+
"version": "3.5.20-RC.0",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/expand.esm.js",
|
|
@@ -27,15 +27,15 @@
|
|
|
27
27
|
"react-dom": ">=16.8.0"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@entur/icons": "^7.
|
|
30
|
+
"@entur/icons": "^7.3.0-RC.0",
|
|
31
31
|
"@entur/tokens": "^3.17.0",
|
|
32
|
-
"@entur/typography": "^1.8.
|
|
33
|
-
"@entur/utils": "^0.11.
|
|
32
|
+
"@entur/typography": "^1.8.44-RC.0",
|
|
33
|
+
"@entur/utils": "^0.11.2-RC.0",
|
|
34
34
|
"classnames": "^2.3.1",
|
|
35
35
|
"react-collapse": "^5.1.0"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"@types/react-collapse": "^5.0.1"
|
|
39
39
|
},
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "f279e609e10d40dd3ff47b09bd2828edf2bbcb7b"
|
|
41
41
|
}
|