@entur/expand 3.5.2 → 3.5.3
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 +65 -65
- package/package.json +5 -5
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;
|
|
@@ -75,71 +92,6 @@
|
|
|
75
92
|
.eds-expandable-panel--disable-animation .ReactCollapse--collapse {
|
|
76
93
|
transition: none;
|
|
77
94
|
}
|
|
78
|
-
/* DO NOT CHANGE!*/
|
|
79
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
80
|
-
.eds-expandable-arrow {
|
|
81
|
-
color: var(--components-expand-expandablepanel-standard-icon);
|
|
82
|
-
transition: 0.2s transform ease-out;
|
|
83
|
-
}
|
|
84
|
-
.eds-expandable-arrow--open {
|
|
85
|
-
transform: rotate(-180deg);
|
|
86
|
-
}
|
|
87
|
-
.eds-contrast .eds-expandable-arrow {
|
|
88
|
-
color: var(--components-expand-expandablepanel-contrast-icon);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
.eds-expandable-text--disable-animation .eds-expandable-arrow,
|
|
92
|
-
.eds-expandable-panel--disable-animation .eds-expandable-arrow {
|
|
93
|
-
transition: none;
|
|
94
|
-
}
|
|
95
|
-
/* DO NOT CHANGE!*/
|
|
96
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
97
|
-
.eds-expandable-text__trigger {
|
|
98
|
-
-webkit-appearance: none;
|
|
99
|
-
-moz-appearance: none;
|
|
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;
|
|
130
|
-
}
|
|
131
|
-
.eds-expandable-text__trigger > p {
|
|
132
|
-
margin-top: 0;
|
|
133
|
-
margin-bottom: 0;
|
|
134
|
-
}
|
|
135
|
-
.eds-expandable-text__trigger:focus {
|
|
136
|
-
outline: 2px solid #181c56;
|
|
137
|
-
outline-color: var(--basecolors-stroke-focus-standard);
|
|
138
|
-
outline-offset: 0.125rem;
|
|
139
|
-
}
|
|
140
|
-
.eds-contrast .eds-expandable-text__trigger:focus {
|
|
141
|
-
outline-color: var(--basecolors-stroke-focus-contrast);
|
|
142
|
-
}
|
|
143
95
|
@import "~@entur/tokens/dist/primitive.css";
|
|
144
96
|
@import "~@entur/tokens/dist/semantic.css";
|
|
145
97
|
/* DO NOT CHANGE!*/
|
|
@@ -456,3 +408,51 @@
|
|
|
456
408
|
transition: none !important;
|
|
457
409
|
}
|
|
458
410
|
}
|
|
411
|
+
/* DO NOT CHANGE!*/
|
|
412
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
413
|
+
.eds-expandable-text__trigger {
|
|
414
|
+
-webkit-appearance: none;
|
|
415
|
+
-moz-appearance: none;
|
|
416
|
+
appearance: none;
|
|
417
|
+
margin: 0;
|
|
418
|
+
border: none;
|
|
419
|
+
padding: 0.5rem 0;
|
|
420
|
+
cursor: pointer;
|
|
421
|
+
font-family: inherit;
|
|
422
|
+
color: var(--components-expand-expandabletext-standard-text);
|
|
423
|
+
background: inherit;
|
|
424
|
+
font-size: inherit;
|
|
425
|
+
display: flex;
|
|
426
|
+
align-items: center;
|
|
427
|
+
}
|
|
428
|
+
.eds-contrast .eds-expandable-text__trigger {
|
|
429
|
+
color: var(--components-expand-expandabletext-contrast-text);
|
|
430
|
+
}
|
|
431
|
+
.eds-expandable-text__trigger > h5 {
|
|
432
|
+
margin-top: 0;
|
|
433
|
+
margin-bottom: 0;
|
|
434
|
+
}
|
|
435
|
+
.eds-expandable-text__trigger > h4 {
|
|
436
|
+
margin-top: 0;
|
|
437
|
+
margin-bottom: 0;
|
|
438
|
+
}
|
|
439
|
+
.eds-expandable-text__trigger > h3 {
|
|
440
|
+
margin-top: 0;
|
|
441
|
+
margin-bottom: 0;
|
|
442
|
+
}
|
|
443
|
+
.eds-expandable-text__trigger > h2 {
|
|
444
|
+
margin-top: 0;
|
|
445
|
+
margin-bottom: 0;
|
|
446
|
+
}
|
|
447
|
+
.eds-expandable-text__trigger > p {
|
|
448
|
+
margin-top: 0;
|
|
449
|
+
margin-bottom: 0;
|
|
450
|
+
}
|
|
451
|
+
.eds-expandable-text__trigger:focus {
|
|
452
|
+
outline: 2px solid #181c56;
|
|
453
|
+
outline-color: var(--basecolors-stroke-focus-standard);
|
|
454
|
+
outline-offset: 0.125rem;
|
|
455
|
+
}
|
|
456
|
+
.eds-contrast .eds-expandable-text__trigger:focus {
|
|
457
|
+
outline-color: var(--basecolors-stroke-focus-contrast);
|
|
458
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/expand",
|
|
3
|
-
"version": "3.5.
|
|
3
|
+
"version": "3.5.3",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/expand.esm.js",
|
|
@@ -27,9 +27,9 @@
|
|
|
27
27
|
"react-dom": ">=16.8.0"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@entur/icons": "^6.15.
|
|
31
|
-
"@entur/tokens": "^3.13.
|
|
32
|
-
"@entur/typography": "^1.8.
|
|
30
|
+
"@entur/icons": "^6.15.3",
|
|
31
|
+
"@entur/tokens": "^3.13.2",
|
|
32
|
+
"@entur/typography": "^1.8.27",
|
|
33
33
|
"@entur/utils": "^0.10.0",
|
|
34
34
|
"classnames": "^2.3.1",
|
|
35
35
|
"react-collapse": "^5.1.0"
|
|
@@ -37,5 +37,5 @@
|
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"@types/react-collapse": "^5.0.1"
|
|
39
39
|
},
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "427e66ba68d33b8d1839714a48517b52afd5c2db"
|
|
41
41
|
}
|