@entur/layout 2.1.23 → 2.1.24

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 CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  This package contains the different layout components, and the powerful Contrast wrapper
4
4
 
5
- > 💡 Looking for the [documentation](https://design.entur.org/komponenter/layout-and-surfaces/contrast-sections)?
5
+ > 💡 Looking for the [documentation](https://design.entur.no/komponenter/layout-and-surfaces/contrast-sections)?
6
6
 
7
7
  ## Installation
8
8
 
@@ -14,4 +14,4 @@ yarn add @entur/layout
14
14
 
15
15
  ## Usage
16
16
 
17
- Please refer to the [documentation](https://design.entur.org/komponenter/layout-and-surfaces/alert-boxes) for usage information.
17
+ Please refer to the [documentation](https://design.entur.no/komponenter/layout-and-surfaces/alert-boxes) for usage information.
package/dist/styles.css CHANGED
@@ -1,3 +1,6 @@
1
+ :root {
2
+ --eds-layout: 1;
3
+ }
1
4
  /* DO NOT CHANGE!*/
2
5
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
3
6
  .eds-contrast {
@@ -7,28 +10,6 @@
7
10
  background-color: var(--primary-background-color);
8
11
  color: var(--primary-text-color);
9
12
  }
10
- :root {
11
- --eds-layout: 1;
12
- }
13
- /* DO NOT CHANGE!*/
14
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
15
- .eds-base-card {
16
- display: flex;
17
- box-shadow: 0 0.0625rem 0.1875rem 0 rgba(0, 0, 0, 0.12);
18
- border: 0.0625rem solid #e9e9e9;
19
- border-radius: 0.25rem;
20
- align-items: center;
21
- -webkit-appearance: none;
22
- -moz-appearance: none;
23
- appearance: none;
24
- text-decoration: none;
25
- color: inherit;
26
- }
27
- .eds-contrast .eds-base-card {
28
- background-color: #292b6a;
29
- border-color: #54568c;
30
- box-shadow: 0 0.0625rem 0.1875rem 0 rgb(57, 61, 121);
31
- }
32
13
  /* DO NOT CHANGE!*/
33
14
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
34
15
  /* DO NOT CHANGE!*/
@@ -140,32 +121,22 @@
140
121
  }
141
122
  /* DO NOT CHANGE!*/
142
123
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
143
- .eds-tag {
144
- background: #e9e9e9;
145
- color: #181c56;
146
- display: inline-block;
147
- min-width: 2rem;
148
- padding: 0.25rem 0.75rem;
149
- font-size: 0.875rem;
150
- line-height: 1.375rem;
151
- }
152
- .eds-tag--leading-icon .eds-icon {
153
- margin-right: 0.5rem;
154
- }
155
- .eds-tag--trailing-icon .eds-icon {
156
- margin-left: 0.5rem;
157
- }
158
- .eds-tag--compact {
159
- font-size: 0.75rem;
160
- padding: 0.125rem 0.5rem;
161
- line-height: 1.25rem;
162
- height: 1.5rem;
163
- }
164
- .eds-tag--compact.eds-tag--leading-icon .eds-icon {
165
- margin-right: 0.25rem;
124
+ .eds-base-card {
125
+ display: flex;
126
+ box-shadow: 0 0.0625rem 0.1875rem 0 rgba(0, 0, 0, 0.12);
127
+ border: 0.0625rem solid #e9e9e9;
128
+ border-radius: 0.25rem;
129
+ align-items: center;
130
+ -webkit-appearance: none;
131
+ -moz-appearance: none;
132
+ appearance: none;
133
+ text-decoration: none;
134
+ color: inherit;
166
135
  }
167
- .eds-tag--compact.eds-tag--trailing-icon .eds-icon {
168
- margin-left: 0.25rem;
136
+ .eds-contrast .eds-base-card {
137
+ background-color: #292b6a;
138
+ border-color: #54568c;
139
+ box-shadow: 0 0.0625rem 0.1875rem 0 rgb(57, 61, 121);
169
140
  }
170
141
  /* DO NOT CHANGE!*/
171
142
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
@@ -231,6 +202,35 @@
231
202
  }
232
203
  /* DO NOT CHANGE!*/
233
204
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
205
+ .eds-tag {
206
+ background: #e9e9e9;
207
+ color: #181c56;
208
+ display: inline-block;
209
+ min-width: 2rem;
210
+ padding: 0.25rem 0.75rem;
211
+ font-size: 0.875rem;
212
+ line-height: 1.375rem;
213
+ }
214
+ .eds-tag--leading-icon .eds-icon {
215
+ margin-right: 0.5rem;
216
+ }
217
+ .eds-tag--trailing-icon .eds-icon {
218
+ margin-left: 0.5rem;
219
+ }
220
+ .eds-tag--compact {
221
+ font-size: 0.75rem;
222
+ padding: 0.125rem 0.5rem;
223
+ line-height: 1.25rem;
224
+ height: 1.5rem;
225
+ }
226
+ .eds-tag--compact.eds-tag--leading-icon .eds-icon {
227
+ margin-right: 0.25rem;
228
+ }
229
+ .eds-tag--compact.eds-tag--trailing-icon .eds-icon {
230
+ margin-left: 0.25rem;
231
+ }
232
+ /* DO NOT CHANGE!*/
233
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
234
234
  .eds-badge {
235
235
  display: flex;
236
236
  justify-content: center;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@entur/layout",
3
- "version": "2.1.23",
3
+ "version": "2.1.24",
4
4
  "license": "EUPL-1.2",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/layout.esm.js",
@@ -27,11 +27,11 @@
27
27
  "react-dom": ">=16.8.0"
28
28
  },
29
29
  "dependencies": {
30
- "@entur/icons": "^6.0.0",
31
- "@entur/tokens": "^3.8.0",
32
- "@entur/typography": "^1.7.11",
30
+ "@entur/icons": "^6.0.1",
31
+ "@entur/tokens": "^3.8.1",
32
+ "@entur/typography": "^1.7.12",
33
33
  "@entur/utils": "^0.5.5",
34
34
  "classnames": "^2.3.1"
35
35
  },
36
- "gitHead": "48cdba2e353c9311d52550a98c6b025deb7b8270"
36
+ "gitHead": "1e78a655ffc4c4ca80d8e54495768282dc374201"
37
37
  }