@entur/table 5.0.5 → 5.1.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 +32 -5
- package/package.json +11 -11
package/dist/styles.css
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
:root{
|
|
3
3
|
--components-table-contrast-cell-fill:rgba(255, 255, 255, 0);
|
|
4
4
|
--components-table-contrast-cell-fill-hover:#393d79;
|
|
5
|
-
--components-table-contrast-cell-fill-negative
|
|
5
|
+
--components-table-contrast-cell-fill-negative:#2e0505;
|
|
6
6
|
--components-table-contrast-header-fill:#181c56;
|
|
7
7
|
--components-table-contrast-icon:#ffffff;
|
|
8
8
|
--components-table-contrast-stroke:#8284ab;
|
|
@@ -19,14 +19,14 @@
|
|
|
19
19
|
[data-color-mode=dark]{
|
|
20
20
|
--components-table-contrast-cell-fill:rgba(255, 255, 255, 0);
|
|
21
21
|
--components-table-contrast-cell-fill-hover:rgba(229, 229, 233, 0.1490196078);
|
|
22
|
-
--components-table-contrast-cell-fill-negative
|
|
22
|
+
--components-table-contrast-cell-fill-negative:#2e0505;
|
|
23
23
|
--components-table-contrast-header-fill:#08091c;
|
|
24
24
|
--components-table-contrast-icon:#e5e5e9;
|
|
25
25
|
--components-table-contrast-stroke:#81828f;
|
|
26
26
|
--components-table-contrast-text:#e5e5e9;
|
|
27
27
|
--components-table-standard-cell-fill:rgba(255, 255, 255, 0);
|
|
28
28
|
--components-table-standard-cell-fill-hover:rgba(229, 229, 233, 0.1490196078);
|
|
29
|
-
--components-table-standard-fill-negative
|
|
29
|
+
--components-table-standard-fill-negative:#2e0505;
|
|
30
30
|
--components-table-standard-header-fill:#08091c;
|
|
31
31
|
--components-table-standard-icon:#e5e5e9;
|
|
32
32
|
--components-table-standard-stroke:#81828f;
|
|
@@ -192,6 +192,7 @@
|
|
|
192
192
|
padding:1rem 1.5rem;
|
|
193
193
|
}
|
|
194
194
|
.eds-contrast .eds-table__data-cell{
|
|
195
|
+
border-bottom-color:#8284ab;
|
|
195
196
|
border-bottom-color:var(--components-table-contrast-stroke);
|
|
196
197
|
}
|
|
197
198
|
.eds-table--middle .eds-table__data-cell{
|
|
@@ -215,41 +216,53 @@
|
|
|
215
216
|
padding:1rem 0.75rem;
|
|
216
217
|
}
|
|
217
218
|
.eds-table__body > .eds-table__row{
|
|
219
|
+
border-bottom:0.0625rem solid #e3e6e8;
|
|
218
220
|
border-bottom:0.0625rem solid var(--components-table-standard-stroke);
|
|
219
221
|
}
|
|
220
222
|
.eds-contrast .eds-table__body > .eds-table__row{
|
|
223
|
+
border-color:#8284ab;
|
|
221
224
|
border-color:var(--components-table-contrast-stroke);
|
|
222
225
|
}
|
|
223
226
|
.eds-table__body > .eds-table__row:focus-visible{
|
|
224
227
|
outline:2px solid #181c56;
|
|
228
|
+
outline-color:#181c56;
|
|
225
229
|
outline-color:var(--basecolors-stroke-focus-standard);
|
|
226
230
|
outline-offset:0.125rem;
|
|
227
231
|
}
|
|
228
232
|
.eds-contrast .eds-table__body > .eds-table__row:focus-visible{
|
|
233
|
+
outline-color:#aeb7e2;
|
|
229
234
|
outline-color:var(--basecolors-stroke-focus-contrast);
|
|
230
235
|
}
|
|
231
236
|
.eds-table__body > .eds-table__row--hover:hover{
|
|
237
|
+
background:#f2f5f7;
|
|
232
238
|
background:var(--components-table-standard-cell-fill-hover);
|
|
233
239
|
}
|
|
234
240
|
.eds-contrast .eds-table__body > .eds-table__row--hover:hover{
|
|
241
|
+
background:#393d79;
|
|
235
242
|
background:var(--components-table-contrast-cell-fill-hover);
|
|
236
243
|
}
|
|
237
244
|
.eds-table__body > .eds-table__row--active{
|
|
245
|
+
background:#f2f5f7;
|
|
238
246
|
background:var(--components-table-standard-cell-fill-hover);
|
|
239
247
|
}
|
|
240
248
|
.eds-contrast .eds-table__body > .eds-table__row--active{
|
|
249
|
+
background:#393d79;
|
|
241
250
|
background:var(--components-table-contrast-cell-fill-hover);
|
|
242
251
|
}
|
|
243
252
|
.eds-table__body > .eds-table__row--error{
|
|
253
|
+
background:#ffcece;
|
|
244
254
|
background:var(--components-table-standard-fill-negative);
|
|
245
255
|
}
|
|
246
256
|
.eds-contrast .eds-table__body > .eds-table__row--error{
|
|
257
|
+
background:#2e0505;
|
|
247
258
|
background:var(--components-table-contrast-cell-fill-negative);
|
|
248
259
|
}
|
|
249
260
|
.eds-table__head{
|
|
261
|
+
border-bottom:0.125rem solid #e3e6e8;
|
|
250
262
|
border-bottom:0.125rem solid var(--components-table-standard-stroke);
|
|
251
263
|
}
|
|
252
264
|
.eds-contrast .eds-table__head{
|
|
265
|
+
border-color:#8284ab;
|
|
253
266
|
border-color:var(--components-table-contrast-stroke);
|
|
254
267
|
}
|
|
255
268
|
.eds-table--sticky-header .eds-table__head{
|
|
@@ -259,7 +272,9 @@
|
|
|
259
272
|
z-index:2;
|
|
260
273
|
}
|
|
261
274
|
.eds-table--sticky-header--active .eds-table__head{
|
|
262
|
-
box-shadow:0 10px 8px -10px rgba(0, 0, 0, 0.15);
|
|
275
|
+
-webkit-box-shadow:0 10px 8px -10px rgba(0, 0, 0, 0.15);
|
|
276
|
+
-moz-box-shadow:0 10px 8px -10px rgba(0, 0, 0, 0.15);
|
|
277
|
+
box-shadow:0 10px 8px -10px rgba(0, 0, 0, 0.15);
|
|
263
278
|
border-bottom:none;
|
|
264
279
|
}.eds-table__header-cell{
|
|
265
280
|
color:var(--components-table-standard-text);
|
|
@@ -349,13 +364,25 @@
|
|
|
349
364
|
padding:0.75rem;
|
|
350
365
|
}
|
|
351
366
|
.eds-table--middle .eds-editable-cell .eds-form-control-wrapper:not(.eds-datepicker__datefield) .eds-form-control{
|
|
367
|
+
padding:0.25rem -webkit-calc(0.5rem - 0.0625rem);
|
|
368
|
+
padding:0.25rem -moz-calc(0.5rem - 0.0625rem);
|
|
352
369
|
padding:0.25rem calc(0.5rem - 0.0625rem);
|
|
353
370
|
}
|
|
354
371
|
.eds-table--small .eds-editable-cell .eds-form-control-wrapper:not(.eds-datepicker__datefield) .eds-form-control{
|
|
372
|
+
padding:-webkit-calc(0.25rem - 0.125rem) -webkit-calc(0.5rem - 0.0625rem);
|
|
373
|
+
padding:-moz-calc(0.25rem - 0.125rem) -moz-calc(0.5rem - 0.0625rem);
|
|
355
374
|
padding:calc(0.25rem - 0.125rem) calc(0.5rem - 0.0625rem);
|
|
356
375
|
}.eds-expand-row-button__icon{
|
|
376
|
+
-webkit-transition:-webkit-transform ease-in-out 0.2s;
|
|
377
|
+
transition:-webkit-transform ease-in-out 0.2s;
|
|
378
|
+
-o-transition:-o-transform ease-in-out 0.2s;
|
|
379
|
+
-moz-transition:transform ease-in-out 0.2s, -moz-transform ease-in-out 0.2s;
|
|
357
380
|
transition:transform ease-in-out 0.2s;
|
|
381
|
+
transition:transform ease-in-out 0.2s, -webkit-transform ease-in-out 0.2s, -moz-transform ease-in-out 0.2s, -o-transform ease-in-out 0.2s;
|
|
358
382
|
}
|
|
359
383
|
.eds-expand-row-button--open .eds-expand-row-button__icon{
|
|
360
|
-
transform:rotate(180deg);
|
|
384
|
+
-webkit-transform:rotate(180deg);
|
|
385
|
+
-moz-transform:rotate(180deg);
|
|
386
|
+
-o-transform:rotate(180deg);
|
|
387
|
+
transform:rotate(180deg);
|
|
361
388
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/table",
|
|
3
|
-
"version": "5.0
|
|
3
|
+
"version": "5.1.0",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
5
|
"main": "dist/table.cjs",
|
|
6
6
|
"module": "dist/table.mjs",
|
|
@@ -26,15 +26,15 @@
|
|
|
26
26
|
"react-dom": ">=18.0.0"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@entur/a11y": "^0.3.
|
|
30
|
-
"@entur/button": "^5.0
|
|
31
|
-
"@entur/expand": "^4.0.
|
|
32
|
-
"@entur/form": "^10.
|
|
33
|
-
"@entur/icons": "^10.0.
|
|
34
|
-
"@entur/layout": "^
|
|
35
|
-
"@entur/tokens": "^4.
|
|
36
|
-
"@entur/tooltip": "^6.0.
|
|
37
|
-
"@entur/utils": "^0.15.
|
|
29
|
+
"@entur/a11y": "^0.3.5",
|
|
30
|
+
"@entur/button": "^5.1.0",
|
|
31
|
+
"@entur/expand": "^4.0.6",
|
|
32
|
+
"@entur/form": "^10.2.0",
|
|
33
|
+
"@entur/icons": "^10.0.5",
|
|
34
|
+
"@entur/layout": "^5.0.0",
|
|
35
|
+
"@entur/tokens": "^4.2.0",
|
|
36
|
+
"@entur/tooltip": "^6.0.6",
|
|
37
|
+
"@entur/utils": "^0.15.2",
|
|
38
38
|
"classnames": "^2.5.1",
|
|
39
39
|
"lodash.get": "^4.4.2"
|
|
40
40
|
},
|
|
@@ -62,5 +62,5 @@
|
|
|
62
62
|
"./dist/styles.css": "./dist/styles.css",
|
|
63
63
|
"./package.json": "./package.json"
|
|
64
64
|
},
|
|
65
|
-
"gitHead": "
|
|
65
|
+
"gitHead": "d0826c31ddea916a35916910dcba76a705e3f8ee"
|
|
66
66
|
}
|