@entur/expand 3.6.2 → 3.6.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.
Files changed (2) hide show
  1. package/dist/styles.css +49 -49
  2. 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;
@@ -74,55 +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
- .eds-expandable-text__trigger {
95
- -webkit-appearance: none;
96
- -moz-appearance: none;
97
- appearance: none;
98
- margin: 0;
99
- border: none;
100
- padding: 0.5rem 0;
101
- cursor: pointer;
102
- font-family: inherit;
103
- color: var(--components-expand-expandabletext-standard-text);
104
- background: inherit;
105
- font-size: inherit;
106
- display: flex;
107
- align-items: center;
108
- }
109
- .eds-contrast .eds-expandable-text__trigger {
110
- color: var(--components-expand-expandabletext-contrast-text);
111
- }
112
- .eds-expandable-text__trigger > h5, .eds-expandable-text__trigger > h4, .eds-expandable-text__trigger > h3, .eds-expandable-text__trigger > h2, .eds-expandable-text__trigger > p {
113
- margin-top: 0;
114
- margin-bottom: 0;
115
- }
116
- .eds-expandable-text__trigger:focus-visible {
117
- outline: 2px solid #181c56;
118
- outline-color: var(--basecolors-stroke-focus-standard);
119
- outline-offset: 0.125rem;
120
- }
121
- .eds-contrast .eds-expandable-text__trigger:focus-visible {
122
- outline-color: var(--basecolors-stroke-focus-contrast);
123
- }
124
- /* DO NOT CHANGE!*/
125
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
126
94
  /* DO NOT CHANGE!*/
127
95
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
128
96
  /* DO NOT CHANGE!*/
@@ -309,3 +277,35 @@
309
277
  transition: none !important;
310
278
  }
311
279
  }
280
+ /* DO NOT CHANGE!*/
281
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
282
+ .eds-expandable-text__trigger {
283
+ -webkit-appearance: none;
284
+ -moz-appearance: none;
285
+ appearance: none;
286
+ margin: 0;
287
+ border: none;
288
+ padding: 0.5rem 0;
289
+ cursor: pointer;
290
+ font-family: inherit;
291
+ color: var(--components-expand-expandabletext-standard-text);
292
+ background: inherit;
293
+ font-size: inherit;
294
+ display: flex;
295
+ align-items: center;
296
+ }
297
+ .eds-contrast .eds-expandable-text__trigger {
298
+ color: var(--components-expand-expandabletext-contrast-text);
299
+ }
300
+ .eds-expandable-text__trigger > h5, .eds-expandable-text__trigger > h4, .eds-expandable-text__trigger > h3, .eds-expandable-text__trigger > h2, .eds-expandable-text__trigger > p {
301
+ margin-top: 0;
302
+ margin-bottom: 0;
303
+ }
304
+ .eds-expandable-text__trigger:focus-visible {
305
+ outline: 2px solid #181c56;
306
+ outline-color: var(--basecolors-stroke-focus-standard);
307
+ outline-offset: 0.125rem;
308
+ }
309
+ .eds-contrast .eds-expandable-text__trigger:focus-visible {
310
+ outline-color: var(--basecolors-stroke-focus-contrast);
311
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@entur/expand",
3
- "version": "3.6.2",
3
+ "version": "3.6.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": "^7.7.0",
31
- "@entur/tokens": "^3.17.6",
32
- "@entur/typography": "^1.9.2",
30
+ "@entur/icons": "^7.7.1",
31
+ "@entur/tokens": "^3.18.0",
32
+ "@entur/typography": "^1.9.3",
33
33
  "@entur/utils": "^0.12.2",
34
34
  "classnames": "^2.3.1",
35
35
  "react-collapse": "^5.1.1"
@@ -38,5 +38,5 @@
38
38
  "@types/react-collapse": "5.0.4",
39
39
  "dts-cli": "2.0.5"
40
40
  },
41
- "gitHead": "7c03f458e9c34f5e0fd4f2d23c8eb6a6e47fb669"
41
+ "gitHead": "8ae7ed09699a63cc7e50d546d54750d8ec066c50"
42
42
  }