@entur/table 4.5.39 → 4.5.40
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 +61 -61
- package/package.json +8 -8
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
This package contains the different Table components.
|
|
4
4
|
|
|
5
|
-
> 💡 Looking for the [documentation](https://design.entur.
|
|
5
|
+
> 💡 Looking for the [documentation](https://design.entur.no/komponenter/layout-and-surfaces/tables)?
|
|
6
6
|
|
|
7
7
|
## Installation
|
|
8
8
|
|
|
@@ -14,4 +14,4 @@ yarn add @entur/table
|
|
|
14
14
|
|
|
15
15
|
## Usage
|
|
16
16
|
|
|
17
|
-
Please refer to the [documentation](https://design.entur.
|
|
17
|
+
Please refer to the [documentation](https://design.entur.no/komponenter/layout-and-surfaces/tables) for usage information.
|
package/dist/styles.css
CHANGED
|
@@ -109,6 +109,67 @@
|
|
|
109
109
|
}
|
|
110
110
|
/* DO NOT CHANGE!*/
|
|
111
111
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
112
|
+
.eds-table__header-cell {
|
|
113
|
+
color: #656782;
|
|
114
|
+
font-size: 0.875rem;
|
|
115
|
+
font-weight: 500;
|
|
116
|
+
text-align: left;
|
|
117
|
+
height: 3rem;
|
|
118
|
+
padding: 0 1.5rem;
|
|
119
|
+
}
|
|
120
|
+
.eds-table--middle .eds-table__header-cell, .eds-table--small .eds-table__header-cell {
|
|
121
|
+
padding: 0 1rem;
|
|
122
|
+
}
|
|
123
|
+
.eds-contrast .eds-table__header-cell {
|
|
124
|
+
color: #aeb7e2;
|
|
125
|
+
border-bottom-color: #393d79;
|
|
126
|
+
}
|
|
127
|
+
.eds-table__header-cell--padding-checkbox {
|
|
128
|
+
width: 3rem;
|
|
129
|
+
padding: 0 0 1rem 1.25rem;
|
|
130
|
+
}
|
|
131
|
+
.eds-table__header-cell--padding-radio {
|
|
132
|
+
width: 3rem;
|
|
133
|
+
padding: 0 0 1rem 1.25rem;
|
|
134
|
+
}
|
|
135
|
+
.eds-table__header-cell--padding-overflow-menu {
|
|
136
|
+
width: 3rem;
|
|
137
|
+
padding: 1rem 0.75rem;
|
|
138
|
+
}
|
|
139
|
+
.eds-table__header-cell--sortable:focus {
|
|
140
|
+
outline: none;
|
|
141
|
+
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
142
|
+
outline-offset: 0.125rem;
|
|
143
|
+
}
|
|
144
|
+
.eds-table__header-cell-button {
|
|
145
|
+
position: relative;
|
|
146
|
+
text-align: left;
|
|
147
|
+
height: 100%;
|
|
148
|
+
width: 100%;
|
|
149
|
+
padding: 0;
|
|
150
|
+
cursor: pointer;
|
|
151
|
+
-webkit-appearance: none;
|
|
152
|
+
-moz-appearance: none;
|
|
153
|
+
appearance: none;
|
|
154
|
+
border: none;
|
|
155
|
+
background: none;
|
|
156
|
+
color: inherit;
|
|
157
|
+
font-size: inherit;
|
|
158
|
+
font-weight: inherit;
|
|
159
|
+
font-family: inherit;
|
|
160
|
+
}
|
|
161
|
+
.eds-table__header-cell-button-icon {
|
|
162
|
+
position: absolute;
|
|
163
|
+
margin-left: 0.25rem;
|
|
164
|
+
}
|
|
165
|
+
.eds-table__header-cell-button:focus {
|
|
166
|
+
outline: 2px solid #181c56;
|
|
167
|
+
}
|
|
168
|
+
.eds-contrast .eds-table__header-cell-button:focus {
|
|
169
|
+
outline: 2px solid #ffffff;
|
|
170
|
+
}
|
|
171
|
+
/* DO NOT CHANGE!*/
|
|
172
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
112
173
|
.eds-editable-cell {
|
|
113
174
|
padding: 0.25rem 0.75rem;
|
|
114
175
|
}
|
|
@@ -226,67 +287,6 @@
|
|
|
226
287
|
}
|
|
227
288
|
/* DO NOT CHANGE!*/
|
|
228
289
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
229
|
-
.eds-table__header-cell {
|
|
230
|
-
color: #656782;
|
|
231
|
-
font-size: 0.875rem;
|
|
232
|
-
font-weight: 500;
|
|
233
|
-
text-align: left;
|
|
234
|
-
height: 3rem;
|
|
235
|
-
padding: 0 1.5rem;
|
|
236
|
-
}
|
|
237
|
-
.eds-table--middle .eds-table__header-cell, .eds-table--small .eds-table__header-cell {
|
|
238
|
-
padding: 0 1rem;
|
|
239
|
-
}
|
|
240
|
-
.eds-contrast .eds-table__header-cell {
|
|
241
|
-
color: #aeb7e2;
|
|
242
|
-
border-bottom-color: #393d79;
|
|
243
|
-
}
|
|
244
|
-
.eds-table__header-cell--padding-checkbox {
|
|
245
|
-
width: 3rem;
|
|
246
|
-
padding: 0 0 1rem 1.25rem;
|
|
247
|
-
}
|
|
248
|
-
.eds-table__header-cell--padding-radio {
|
|
249
|
-
width: 3rem;
|
|
250
|
-
padding: 0 0 1rem 1.25rem;
|
|
251
|
-
}
|
|
252
|
-
.eds-table__header-cell--padding-overflow-menu {
|
|
253
|
-
width: 3rem;
|
|
254
|
-
padding: 1rem 0.75rem;
|
|
255
|
-
}
|
|
256
|
-
.eds-table__header-cell--sortable:focus {
|
|
257
|
-
outline: none;
|
|
258
|
-
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
259
|
-
outline-offset: 0.125rem;
|
|
260
|
-
}
|
|
261
|
-
.eds-table__header-cell-button {
|
|
262
|
-
position: relative;
|
|
263
|
-
text-align: left;
|
|
264
|
-
height: 100%;
|
|
265
|
-
width: 100%;
|
|
266
|
-
padding: 0;
|
|
267
|
-
cursor: pointer;
|
|
268
|
-
-webkit-appearance: none;
|
|
269
|
-
-moz-appearance: none;
|
|
270
|
-
appearance: none;
|
|
271
|
-
border: none;
|
|
272
|
-
background: none;
|
|
273
|
-
color: inherit;
|
|
274
|
-
font-size: inherit;
|
|
275
|
-
font-weight: inherit;
|
|
276
|
-
font-family: inherit;
|
|
277
|
-
}
|
|
278
|
-
.eds-table__header-cell-button-icon {
|
|
279
|
-
position: absolute;
|
|
280
|
-
margin-left: 0.25rem;
|
|
281
|
-
}
|
|
282
|
-
.eds-table__header-cell-button:focus {
|
|
283
|
-
outline: 2px solid #181c56;
|
|
284
|
-
}
|
|
285
|
-
.eds-contrast .eds-table__header-cell-button:focus {
|
|
286
|
-
outline: 2px solid #ffffff;
|
|
287
|
-
}
|
|
288
|
-
/* DO NOT CHANGE!*/
|
|
289
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
290
290
|
.eds-expand-row-button__icon {
|
|
291
291
|
transition: transform ease-in-out 0.2s;
|
|
292
292
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/table",
|
|
3
|
-
"version": "4.5.
|
|
3
|
+
"version": "4.5.40",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/table.esm.js",
|
|
@@ -27,16 +27,16 @@
|
|
|
27
27
|
"react-dom": ">=16.8.0"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@entur/button": "^3.0.
|
|
31
|
-
"@entur/expand": "^3.3.
|
|
32
|
-
"@entur/form": "^6.0.
|
|
33
|
-
"@entur/icons": "^6.0.
|
|
34
|
-
"@entur/tokens": "^3.8.
|
|
35
|
-
"@entur/tooltip": "^2.6.
|
|
30
|
+
"@entur/button": "^3.0.1",
|
|
31
|
+
"@entur/expand": "^3.3.38",
|
|
32
|
+
"@entur/form": "^6.0.1",
|
|
33
|
+
"@entur/icons": "^6.0.1",
|
|
34
|
+
"@entur/tokens": "^3.8.1",
|
|
35
|
+
"@entur/tooltip": "^2.6.9",
|
|
36
36
|
"@entur/utils": "^0.5.5",
|
|
37
37
|
"@types/lodash.get": "^4.4.6",
|
|
38
38
|
"classnames": "^2.3.1",
|
|
39
39
|
"lodash.get": "^4.4.2"
|
|
40
40
|
},
|
|
41
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "1e78a655ffc4c4ca80d8e54495768282dc374201"
|
|
42
42
|
}
|