@dnb/eufemia 9.39.0 → 9.40.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/CHANGELOG.md +27 -0
- package/cjs/components/accordion/style/_accordion.scss +2 -2
- package/cjs/components/accordion/style/dnb-accordion.css +3 -3
- package/cjs/components/accordion/style/dnb-accordion.min.css +1 -1
- package/cjs/components/dialog/Dialog.d.ts +1 -1
- package/cjs/components/dialog/parts/DialogAction.d.ts +5 -4
- package/cjs/components/dialog/parts/DialogAction.js +23 -4
- package/cjs/components/dialog/style/_dialog.scss +7 -30
- package/cjs/components/dialog/style/dnb-dialog.css +21 -44
- package/cjs/components/dialog/style/dnb-dialog.min.css +1 -1
- package/cjs/components/dialog/style/themes/dnb-dialog-theme-ui.css +20 -0
- package/cjs/components/dialog/style/themes/dnb-dialog-theme-ui.min.css +1 -1
- package/cjs/components/dialog/style/themes/dnb-dialog-theme-ui.scss +29 -0
- package/cjs/components/drawer/style/_drawer.scss +1 -0
- package/cjs/components/drawer/style/dnb-drawer.css +12 -22
- package/cjs/components/drawer/style/dnb-drawer.min.css +1 -1
- package/cjs/components/height-animation/useHeightAnimation.js +5 -5
- package/cjs/components/lib.d.ts +1 -1
- package/cjs/components/modal/style/dnb-modal.css +11 -22
- package/cjs/components/modal/style/dnb-modal.min.css +1 -1
- package/cjs/components/number-format/NumberFormat.js +1 -1
- package/cjs/components/table/Table.js +1 -1
- package/cjs/components/table/TableContainer.js +3 -1
- package/cjs/components/table/TableStickyHeader.d.ts +4 -1
- package/cjs/components/table/TableStickyHeader.js +112 -83
- package/cjs/components/table/TableTh.d.ts +1 -1
- package/cjs/components/table/TableTh.js +4 -1
- package/cjs/components/table/style/_table-cell.scss +4 -4
- package/cjs/components/table/style/_table-container.scss +7 -17
- package/cjs/components/table/style/_table-deprecated.scss +74 -0
- package/cjs/components/table/style/_table-header-buttons.scss +2 -1
- package/cjs/components/table/style/_table-sticky.scss +24 -23
- package/cjs/components/table/style/_table-td.scss +27 -46
- package/cjs/components/table/style/_table-th.scss +44 -0
- package/cjs/components/table/style/_table.scss +13 -71
- package/cjs/components/table/style/dnb-table.css +181 -132
- package/cjs/components/table/style/dnb-table.min.css +1 -1
- package/cjs/components/table/style/themes/dnb-table-theme-ui.css +78 -63
- package/cjs/components/table/style/themes/dnb-table-theme-ui.min.css +1 -1
- package/cjs/components/table/style/themes/dnb-table-theme-ui.scss +42 -17
- package/cjs/components/visually-hidden/VisuallyHidden.d.ts +2 -11
- package/cjs/components/visually-hidden/VisuallyHidden.js +2 -5
- package/cjs/components/visually-hidden/style/_visually-hidden.scss +0 -8
- package/cjs/components/visually-hidden/style/dnb-visually-hidden.css +10 -42
- package/cjs/components/visually-hidden/style/dnb-visually-hidden.min.css +1 -1
- package/cjs/elements/Table.d.ts +6 -2
- package/cjs/elements/Td.d.ts +6 -2
- package/cjs/elements/Th.d.ts +6 -2
- package/cjs/elements/Tr.d.ts +6 -2
- package/cjs/shared/Eufemia.js +1 -1
- package/cjs/style/core/helper-classes/helper-classes.scss +3 -0
- package/cjs/style/core/utilities.scss +15 -16
- package/cjs/style/dnb-ui-basis.css +20 -13
- package/cjs/style/dnb-ui-basis.min.css +1 -1
- package/cjs/style/dnb-ui-components.css +205 -199
- package/cjs/style/dnb-ui-components.min.css +4 -4
- package/cjs/style/dnb-ui-core.css +20 -13
- package/cjs/style/dnb-ui-core.min.css +1 -1
- package/cjs/style/themes/theme-eiendom/dnb-theme-eiendom.css +98 -63
- package/cjs/style/themes/theme-eiendom/dnb-theme-eiendom.min.css +2 -2
- package/cjs/style/themes/theme-ui/dnb-theme-ui.css +98 -63
- package/cjs/style/themes/theme-ui/dnb-theme-ui.min.css +2 -2
- package/components/accordion/style/_accordion.scss +2 -2
- package/components/accordion/style/dnb-accordion.css +3 -3
- package/components/accordion/style/dnb-accordion.min.css +1 -1
- package/components/dialog/Dialog.d.ts +1 -1
- package/components/dialog/parts/DialogAction.d.ts +5 -4
- package/components/dialog/parts/DialogAction.js +19 -11
- package/components/dialog/style/_dialog.scss +7 -30
- package/components/dialog/style/dnb-dialog.css +21 -44
- package/components/dialog/style/dnb-dialog.min.css +1 -1
- package/components/dialog/style/themes/dnb-dialog-theme-ui.css +20 -0
- package/components/dialog/style/themes/dnb-dialog-theme-ui.min.css +1 -1
- package/components/dialog/style/themes/dnb-dialog-theme-ui.scss +29 -0
- package/components/drawer/style/_drawer.scss +1 -0
- package/components/drawer/style/dnb-drawer.css +12 -22
- package/components/drawer/style/dnb-drawer.min.css +1 -1
- package/components/height-animation/useHeightAnimation.js +4 -3
- package/components/lib.d.ts +1 -1
- package/components/modal/style/dnb-modal.css +11 -22
- package/components/modal/style/dnb-modal.min.css +1 -1
- package/components/number-format/NumberFormat.js +1 -1
- package/components/table/Table.js +1 -1
- package/components/table/TableContainer.js +3 -1
- package/components/table/TableStickyHeader.d.ts +4 -1
- package/components/table/TableStickyHeader.js +112 -51
- package/components/table/TableTh.d.ts +1 -1
- package/components/table/TableTh.js +4 -1
- package/components/table/style/_table-cell.scss +4 -4
- package/components/table/style/_table-container.scss +7 -17
- package/components/table/style/_table-deprecated.scss +74 -0
- package/components/table/style/_table-header-buttons.scss +2 -1
- package/components/table/style/_table-sticky.scss +24 -23
- package/components/table/style/_table-td.scss +27 -46
- package/components/table/style/_table-th.scss +44 -0
- package/components/table/style/_table.scss +13 -71
- package/components/table/style/dnb-table.css +181 -132
- package/components/table/style/dnb-table.min.css +1 -1
- package/components/table/style/themes/dnb-table-theme-ui.css +78 -63
- package/components/table/style/themes/dnb-table-theme-ui.min.css +1 -1
- package/components/table/style/themes/dnb-table-theme-ui.scss +42 -17
- package/components/visually-hidden/VisuallyHidden.d.ts +2 -11
- package/components/visually-hidden/VisuallyHidden.js +2 -5
- package/components/visually-hidden/style/_visually-hidden.scss +0 -8
- package/components/visually-hidden/style/dnb-visually-hidden.css +10 -42
- package/components/visually-hidden/style/dnb-visually-hidden.min.css +1 -1
- package/elements/Table.d.ts +6 -2
- package/elements/Td.d.ts +6 -2
- package/elements/Th.d.ts +6 -2
- package/elements/Tr.d.ts +6 -2
- package/es/components/accordion/style/_accordion.scss +2 -2
- package/es/components/accordion/style/dnb-accordion.css +3 -3
- package/es/components/accordion/style/dnb-accordion.min.css +1 -1
- package/es/components/dialog/Dialog.d.ts +1 -1
- package/es/components/dialog/parts/DialogAction.d.ts +5 -4
- package/es/components/dialog/parts/DialogAction.js +21 -11
- package/es/components/dialog/style/_dialog.scss +7 -30
- package/es/components/dialog/style/dnb-dialog.css +21 -44
- package/es/components/dialog/style/dnb-dialog.min.css +1 -1
- package/es/components/dialog/style/themes/dnb-dialog-theme-ui.css +20 -0
- package/es/components/dialog/style/themes/dnb-dialog-theme-ui.min.css +1 -1
- package/es/components/dialog/style/themes/dnb-dialog-theme-ui.scss +29 -0
- package/es/components/drawer/style/_drawer.scss +1 -0
- package/es/components/drawer/style/dnb-drawer.css +12 -22
- package/es/components/drawer/style/dnb-drawer.min.css +1 -1
- package/es/components/height-animation/useHeightAnimation.js +4 -3
- package/es/components/lib.d.ts +1 -1
- package/es/components/modal/style/dnb-modal.css +11 -22
- package/es/components/modal/style/dnb-modal.min.css +1 -1
- package/es/components/number-format/NumberFormat.js +1 -1
- package/es/components/table/Table.js +1 -1
- package/es/components/table/TableContainer.js +3 -1
- package/es/components/table/TableStickyHeader.d.ts +4 -1
- package/es/components/table/TableStickyHeader.js +112 -48
- package/es/components/table/TableTh.d.ts +1 -1
- package/es/components/table/TableTh.js +4 -1
- package/es/components/table/style/_table-cell.scss +4 -4
- package/es/components/table/style/_table-container.scss +7 -17
- package/es/components/table/style/_table-deprecated.scss +74 -0
- package/es/components/table/style/_table-header-buttons.scss +2 -1
- package/es/components/table/style/_table-sticky.scss +24 -23
- package/es/components/table/style/_table-td.scss +27 -46
- package/es/components/table/style/_table-th.scss +44 -0
- package/es/components/table/style/_table.scss +13 -71
- package/es/components/table/style/dnb-table.css +181 -132
- package/es/components/table/style/dnb-table.min.css +1 -1
- package/es/components/table/style/themes/dnb-table-theme-ui.css +78 -63
- package/es/components/table/style/themes/dnb-table-theme-ui.min.css +1 -1
- package/es/components/table/style/themes/dnb-table-theme-ui.scss +42 -17
- package/es/components/visually-hidden/VisuallyHidden.d.ts +2 -11
- package/es/components/visually-hidden/VisuallyHidden.js +2 -5
- package/es/components/visually-hidden/style/_visually-hidden.scss +0 -8
- package/es/components/visually-hidden/style/dnb-visually-hidden.css +10 -42
- package/es/components/visually-hidden/style/dnb-visually-hidden.min.css +1 -1
- package/es/elements/Table.d.ts +6 -2
- package/es/elements/Td.d.ts +6 -2
- package/es/elements/Th.d.ts +6 -2
- package/es/elements/Tr.d.ts +6 -2
- package/es/shared/Eufemia.js +1 -1
- package/es/style/core/helper-classes/helper-classes.scss +3 -0
- package/es/style/core/utilities.scss +15 -16
- package/es/style/dnb-ui-basis.css +20 -13
- package/es/style/dnb-ui-basis.min.css +1 -1
- package/es/style/dnb-ui-components.css +205 -199
- package/es/style/dnb-ui-components.min.css +4 -4
- package/es/style/dnb-ui-core.css +20 -13
- package/es/style/dnb-ui-core.min.css +1 -1
- package/es/style/themes/theme-eiendom/dnb-theme-eiendom.css +98 -63
- package/es/style/themes/theme-eiendom/dnb-theme-eiendom.min.css +2 -2
- package/es/style/themes/theme-ui/dnb-theme-ui.css +98 -63
- package/es/style/themes/theme-ui/dnb-theme-ui.min.css +2 -2
- package/esm/dnb-ui-basis.min.mjs +2 -2
- package/esm/dnb-ui-components.min.mjs +4 -4
- package/esm/dnb-ui-elements.min.mjs +4 -4
- package/esm/dnb-ui-extensions.min.mjs +4 -4
- package/esm/dnb-ui-lib.min.mjs +4 -4
- package/esm/dnb-ui-web-components.min.mjs +4 -4
- package/package.json +2 -2
- package/shared/Eufemia.js +1 -1
- package/style/core/helper-classes/helper-classes.scss +3 -0
- package/style/core/utilities.scss +15 -16
- package/style/dnb-ui-basis.css +20 -13
- package/style/dnb-ui-basis.min.css +1 -1
- package/style/dnb-ui-components.css +205 -199
- package/style/dnb-ui-components.min.css +4 -4
- package/style/dnb-ui-core.css +20 -13
- package/style/dnb-ui-core.min.css +1 -1
- package/style/themes/theme-eiendom/dnb-theme-eiendom.css +98 -63
- package/style/themes/theme-eiendom/dnb-theme-eiendom.min.css +2 -2
- package/style/themes/theme-ui/dnb-theme-ui.css +98 -63
- package/style/themes/theme-ui/dnb-theme-ui.min.css +2 -2
- package/umd/dnb-ui-basis.min.js +3 -3
- package/umd/dnb-ui-components.min.js +5 -5
- package/umd/dnb-ui-elements.min.js +4 -4
- package/umd/dnb-ui-extensions.min.js +5 -5
- package/umd/dnb-ui-lib.min.js +5 -5
- package/umd/dnb-ui-web-components.min.js +5 -5
|
@@ -750,9 +750,9 @@
|
|
|
750
750
|
right: 0;
|
|
751
751
|
width: 60%; } }
|
|
752
752
|
.dnb-accordion > .dnb-accordion__header--no-animation .dnb-accordion__header__icon,
|
|
753
|
-
html[data-visual-test] .dnb-accordion
|
|
754
|
-
-webkit-transition
|
|
755
|
-
|
|
753
|
+
html[data-visual-test] .dnb-accordion .dnb-accordion__header .dnb-accordion__header__icon {
|
|
754
|
+
-webkit-transition: none;
|
|
755
|
+
transition: none; }
|
|
756
756
|
|
|
757
757
|
/*
|
|
758
758
|
* Autocomplete component
|
|
@@ -2561,10 +2561,10 @@ button.dnb-button::-moz-focus-inner {
|
|
|
2561
2561
|
width: 100%;
|
|
2562
2562
|
height: 100%; }
|
|
2563
2563
|
.dnb-dialog--information {
|
|
2564
|
-
min-width: 320px;
|
|
2565
|
-
min-width: var(--dialog-min-width);
|
|
2566
2564
|
width: 60vw;
|
|
2567
2565
|
width: var(--dialog-avg-width);
|
|
2566
|
+
min-width: 320px;
|
|
2567
|
+
min-width: var(--dialog-min-width);
|
|
2568
2568
|
max-width: 49rem;
|
|
2569
2569
|
max-width: var(--dialog-max-width); }
|
|
2570
2570
|
.dnb-dialog--confirmation {
|
|
@@ -2665,6 +2665,10 @@ button.dnb-button::-moz-focus-inner {
|
|
|
2665
2665
|
width: 100%; }
|
|
2666
2666
|
.dnb-dialog__actions > :not(:last-child) {
|
|
2667
2667
|
margin-right: 1rem; }
|
|
2668
|
+
.dnb-dialog--information .dnb-dialog__actions {
|
|
2669
|
+
-webkit-box-pack: left;
|
|
2670
|
+
-ms-flex-pack: left;
|
|
2671
|
+
justify-content: left; }
|
|
2668
2672
|
.dnb-dialog__align--center .dnb-dialog__content {
|
|
2669
2673
|
-webkit-box-align: center;
|
|
2670
2674
|
-ms-flex-align: center;
|
|
@@ -2710,26 +2714,6 @@ button.dnb-button::-moz-focus-inner {
|
|
|
2710
2714
|
-webkit-box-pack: justify;
|
|
2711
2715
|
-ms-flex-pack: justify;
|
|
2712
2716
|
justify-content: space-between; }
|
|
2713
|
-
.dnb-dialog__icon__primary.dnb-icon--border::after {
|
|
2714
|
-
left: -50%;
|
|
2715
|
-
right: -50%;
|
|
2716
|
-
top: -50%;
|
|
2717
|
-
bottom: -50%;
|
|
2718
|
-
border: none;
|
|
2719
|
-
background-color: currentColor;
|
|
2720
|
-
opacity: 0.1; }
|
|
2721
|
-
.dnb-dialog__icon__primary.dnb-dialog__icon--warning {
|
|
2722
|
-
color: #dc2a2a;
|
|
2723
|
-
color: var(--color-fire-red); }
|
|
2724
|
-
.dnb-dialog__icon__primary.dnb-dialog__icon--warning ::after {
|
|
2725
|
-
background-color: #fdeeee;
|
|
2726
|
-
background-color: var(--color-fire-red-8); }
|
|
2727
|
-
.dnb-dialog__icon__primary.dnb-dialog__icon--info {
|
|
2728
|
-
color: #14555a;
|
|
2729
|
-
color: var(--color-emerald-green); }
|
|
2730
|
-
.dnb-dialog__icon__primary.dnb-dialog__icon--info ::after {
|
|
2731
|
-
background-color: #f2f4ec;
|
|
2732
|
-
background-color: var(--color-pistachio); }
|
|
2733
2717
|
html:not([data-visual-test]) .dnb-dialog {
|
|
2734
2718
|
-webkit-animation: show-modal 300ms ease-out;
|
|
2735
2719
|
animation: show-modal 300ms ease-out;
|
|
@@ -2770,6 +2754,10 @@ button.dnb-button::-moz-focus-inner {
|
|
|
2770
2754
|
margin-bottom: 0; }
|
|
2771
2755
|
.dnb-dialog--spacing .dnb-dialog__header .dnb-tabs {
|
|
2772
2756
|
margin-top: 3.5rem; }
|
|
2757
|
+
.dnb-dialog__icon {
|
|
2758
|
+
display: -webkit-box;
|
|
2759
|
+
display: -ms-flexbox;
|
|
2760
|
+
display: flex; }
|
|
2773
2761
|
.dnb-dialog__icon ~ .dnb-dialog__header {
|
|
2774
2762
|
margin-top: 1.5rem; }
|
|
2775
2763
|
@supports (-webkit-touch-callout: none) {
|
|
@@ -3039,6 +3027,7 @@ button.dnb-button::-moz-focus-inner {
|
|
|
3039
3027
|
.dnb-drawer--spacing .dnb-drawer__navigation.dnb-section {
|
|
3040
3028
|
position: sticky;
|
|
3041
3029
|
top: 0;
|
|
3030
|
+
left: 0;
|
|
3042
3031
|
z-index: 99;
|
|
3043
3032
|
margin: 2rem 0;
|
|
3044
3033
|
margin: var(--drawer-spacing) 0;
|
|
@@ -7265,89 +7254,133 @@ span.dnb-space--no-collapse > span {
|
|
|
7265
7254
|
-ms-flex-align: end;
|
|
7266
7255
|
align-items: flex-end; }
|
|
7267
7256
|
|
|
7257
|
+
.dnb-table--outline thead .dnb-table__th::after {
|
|
7258
|
+
content: '';
|
|
7259
|
+
position: absolute;
|
|
7260
|
+
top: 0;
|
|
7261
|
+
left: 0;
|
|
7262
|
+
right: 0;
|
|
7263
|
+
bottom: 0;
|
|
7264
|
+
z-index: 1;
|
|
7265
|
+
pointer-events: none;
|
|
7266
|
+
border-top: var(--outline); }
|
|
7267
|
+
|
|
7268
|
+
.dnb-table--outline thead .dnb-table__th:first-of-type::after {
|
|
7269
|
+
border-left: var(--outline); }
|
|
7270
|
+
|
|
7271
|
+
.dnb-table--outline thead .dnb-table__th:last-of-type::after {
|
|
7272
|
+
border-right: var(--outline); }
|
|
7273
|
+
|
|
7274
|
+
.dnb-table--outline thead .dnb-table__th:first-of-type, .dnb-table--outline thead .dnb-table__th:first-of-type::after {
|
|
7275
|
+
border-radius: 0.5rem 0 0 0; }
|
|
7276
|
+
|
|
7277
|
+
.dnb-table--outline thead .dnb-table__th:last-of-type, .dnb-table--outline thead .dnb-table__th:last-of-type::after {
|
|
7278
|
+
border-radius: 0 0.5rem 0 0; }
|
|
7279
|
+
|
|
7280
|
+
.dnb-table--outline tbody .dnb-table__th:first-of-type::after {
|
|
7281
|
+
content: '';
|
|
7282
|
+
position: absolute;
|
|
7283
|
+
top: 0;
|
|
7284
|
+
left: 0;
|
|
7285
|
+
right: 0;
|
|
7286
|
+
bottom: 0;
|
|
7287
|
+
z-index: 1;
|
|
7288
|
+
pointer-events: none;
|
|
7289
|
+
border-left: var(--outline); }
|
|
7290
|
+
|
|
7291
|
+
.dnb-table--outline tbody .dnb-table__tr:last-of-type .dnb-table__th::after {
|
|
7292
|
+
content: '';
|
|
7293
|
+
position: absolute;
|
|
7294
|
+
top: 0;
|
|
7295
|
+
left: 0;
|
|
7296
|
+
right: 0;
|
|
7297
|
+
bottom: 0;
|
|
7298
|
+
z-index: 1;
|
|
7299
|
+
pointer-events: none;
|
|
7300
|
+
border-bottom: var(--outline); }
|
|
7301
|
+
|
|
7302
|
+
.dnb-table--outline tbody .dnb-table__tr:last-of-type .dnb-table__th:first-of-type::after {
|
|
7303
|
+
border-radius: 0 0 0 0.5rem; }
|
|
7304
|
+
|
|
7268
7305
|
/*
|
|
7269
7306
|
* Table component
|
|
7270
7307
|
*
|
|
7271
7308
|
*/
|
|
7272
|
-
.dnb-table {
|
|
7273
|
-
|
|
7274
|
-
|
|
7275
|
-
|
|
7276
|
-
|
|
7277
|
-
|
|
7278
|
-
|
|
7279
|
-
|
|
7280
|
-
|
|
7281
|
-
|
|
7282
|
-
|
|
7283
|
-
|
|
7284
|
-
|
|
7285
|
-
|
|
7286
|
-
|
|
7287
|
-
|
|
7288
|
-
|
|
7289
|
-
|
|
7290
|
-
|
|
7291
|
-
|
|
7292
|
-
|
|
7293
|
-
|
|
7294
|
-
|
|
7295
|
-
|
|
7296
|
-
|
|
7297
|
-
|
|
7298
|
-
|
|
7299
|
-
|
|
7300
|
-
|
|
7301
|
-
|
|
7302
|
-
|
|
7303
|
-
|
|
7304
|
-
|
|
7305
|
-
|
|
7306
|
-
|
|
7307
|
-
|
|
7308
|
-
|
|
7309
|
-
|
|
7310
|
-
|
|
7311
|
-
|
|
7312
|
-
|
|
7313
|
-
|
|
7314
|
-
|
|
7315
|
-
|
|
7316
|
-
|
|
7317
|
-
|
|
7318
|
-
|
|
7319
|
-
|
|
7320
|
-
|
|
7321
|
-
|
|
7322
|
-
|
|
7323
|
-
|
|
7324
|
-
|
|
7325
|
-
|
|
7326
|
-
|
|
7327
|
-
|
|
7328
|
-
|
|
7329
|
-
|
|
7330
|
-
|
|
7331
|
-
|
|
7332
|
-
|
|
7333
|
-
|
|
7334
|
-
|
|
7335
|
-
|
|
7336
|
-
|
|
7337
|
-
|
|
7338
|
-
|
|
7339
|
-
|
|
7340
|
-
|
|
7341
|
-
|
|
7342
|
-
|
|
7343
|
-
|
|
7344
|
-
|
|
7345
|
-
|
|
7346
|
-
|
|
7347
|
-
.dnb-table__td--spacing-horizontal,
|
|
7348
|
-
.dnb-table td.dnb-table__td--spacing-horizontal {
|
|
7349
|
-
padding-top: 0;
|
|
7350
|
-
padding-bottom: 0; }
|
|
7309
|
+
.dnb-table--border tbody .dnb-table__td::after {
|
|
7310
|
+
content: '';
|
|
7311
|
+
position: absolute;
|
|
7312
|
+
top: 0;
|
|
7313
|
+
left: 0;
|
|
7314
|
+
right: 0;
|
|
7315
|
+
bottom: 0;
|
|
7316
|
+
z-index: 1;
|
|
7317
|
+
pointer-events: none;
|
|
7318
|
+
border: var(--border);
|
|
7319
|
+
border-right: none;
|
|
7320
|
+
border-bottom: none; }
|
|
7321
|
+
|
|
7322
|
+
.dnb-table--border tbody .dnb-table__td:first-of-type::after {
|
|
7323
|
+
border-left: none; }
|
|
7324
|
+
|
|
7325
|
+
.dnb-table:not(.dnb-table--outline) tbody .dnb-table__tr:last-of-type .dnb-table__td::after {
|
|
7326
|
+
border-bottom: var(--border); }
|
|
7327
|
+
|
|
7328
|
+
.dnb-table--outline tbody .dnb-table__td {
|
|
7329
|
+
/* stylelint-disable */
|
|
7330
|
+
/* stylelint-enable */ }
|
|
7331
|
+
.dnb-table--outline tbody .dnb-table__td:first-of-type::after, .dnb-table--outline tbody .dnb-table__td:last-of-type::after {
|
|
7332
|
+
content: '';
|
|
7333
|
+
position: absolute;
|
|
7334
|
+
top: 0;
|
|
7335
|
+
left: 0;
|
|
7336
|
+
right: 0;
|
|
7337
|
+
bottom: 0;
|
|
7338
|
+
z-index: 1;
|
|
7339
|
+
pointer-events: none; }
|
|
7340
|
+
.dnb-table--outline tbody .dnb-table__td:first-of-type::after {
|
|
7341
|
+
border-left: var(--outline); }
|
|
7342
|
+
.dnb-table--outline tbody .dnb-table__td:last-of-type::after {
|
|
7343
|
+
border-right: var(--outline); }
|
|
7344
|
+
.dnb-table--outline tbody .dnb-table__td, .dnb-table--outline tbody .dnb-table__td::before, .dnb-table--outline tbody .dnb-table__td::after {
|
|
7345
|
+
-webkit-transition: border-radius 400ms cubic-bezier(0.42, 0, 0, 1);
|
|
7346
|
+
transition: border-radius 400ms cubic-bezier(0.42, 0, 0, 1);
|
|
7347
|
+
-webkit-transition: border-radius 400ms var(--easing-default);
|
|
7348
|
+
transition: border-radius 400ms var(--easing-default); }
|
|
7349
|
+
|
|
7350
|
+
.dnb-table--outline tbody .dnb-table__tr:last-of-type .dnb-table__td::after {
|
|
7351
|
+
content: '';
|
|
7352
|
+
position: absolute;
|
|
7353
|
+
top: 0;
|
|
7354
|
+
left: 0;
|
|
7355
|
+
right: 0;
|
|
7356
|
+
bottom: 0;
|
|
7357
|
+
z-index: 1;
|
|
7358
|
+
pointer-events: none;
|
|
7359
|
+
border-bottom: var(--outline); }
|
|
7360
|
+
|
|
7361
|
+
.dnb-table--outline tbody .dnb-table__tr:last-of-type .dnb-table__td:first-of-type, .dnb-table--outline tbody .dnb-table__tr:last-of-type .dnb-table__td:first-of-type::before, .dnb-table--outline tbody .dnb-table__tr:last-of-type .dnb-table__td:first-of-type::after {
|
|
7362
|
+
border-radius: 0 0 0 0.5rem; }
|
|
7363
|
+
|
|
7364
|
+
.dnb-table--outline tbody .dnb-table__tr:last-of-type .dnb-table__td:last-of-type, .dnb-table--outline tbody .dnb-table__tr:last-of-type .dnb-table__td:last-of-type::before, .dnb-table--outline tbody .dnb-table__tr:last-of-type .dnb-table__td:last-of-type::after {
|
|
7365
|
+
border-radius: 0 0 0.5rem 0; }
|
|
7366
|
+
|
|
7367
|
+
.dnb-table--outline tbody .dnb-table__tr .dnb-table__th ~ .dnb-table__td:first-of-type:first-of-type::after {
|
|
7368
|
+
border-left: none; }
|
|
7369
|
+
|
|
7370
|
+
.dnb-table--border tbody .dnb-table__tr .dnb-table__th ~ .dnb-table__td:first-of-type:first-of-type::after {
|
|
7371
|
+
border-left: var(--border); }
|
|
7372
|
+
|
|
7373
|
+
.dnb-table--outline tbody .dnb-table__tr:last-of-type .dnb-table__th ~ .dnb-table__td:first-of-type, .dnb-table--outline tbody .dnb-table__tr:last-of-type .dnb-table__th ~ .dnb-table__td:first-of-type::before, .dnb-table--outline tbody .dnb-table__tr:last-of-type .dnb-table__th ~ .dnb-table__td:first-of-type::after {
|
|
7374
|
+
border-radius: 0 0 0 0; }
|
|
7375
|
+
|
|
7376
|
+
.dnb-table__td--no-spacing,
|
|
7377
|
+
.dnb-table td.dnb-table__td--no-spacing {
|
|
7378
|
+
padding: 0; }
|
|
7379
|
+
|
|
7380
|
+
.dnb-table__td--spacing-horizontal,
|
|
7381
|
+
.dnb-table td.dnb-table__td--spacing-horizontal {
|
|
7382
|
+
padding-top: 0;
|
|
7383
|
+
padding-bottom: 0; }
|
|
7351
7384
|
|
|
7352
7385
|
/*
|
|
7353
7386
|
* Table component
|
|
@@ -7395,43 +7428,41 @@ span.dnb-space--no-collapse > span {
|
|
|
7395
7428
|
padding: 0 !important;
|
|
7396
7429
|
height: 0; }
|
|
7397
7430
|
|
|
7398
|
-
.dnb-table tr.sticky th {
|
|
7431
|
+
.dnb-table tr.sticky:not(.css-position) th {
|
|
7432
|
+
position: relative;
|
|
7433
|
+
z-index: 3;
|
|
7434
|
+
will-change: transform;
|
|
7435
|
+
-webkit-transform: translate3d(0, 0, 0);
|
|
7436
|
+
transform: translate3d(0, 0, 0);
|
|
7437
|
+
-webkit-transform: translate3d(0, var(--table-offset, 0), 0);
|
|
7438
|
+
transform: translate3d(0, var(--table-offset, 0), 0); }
|
|
7439
|
+
|
|
7440
|
+
.dnb-table tr.sticky.css-position {
|
|
7399
7441
|
position: sticky;
|
|
7442
|
+
z-index: 3;
|
|
7400
7443
|
top: 0;
|
|
7401
|
-
top: var(--table-top, 0);
|
|
7402
|
-
|
|
7403
|
-
|
|
7404
|
-
|
|
7405
|
-
|
|
7406
|
-
|
|
7407
|
-
|
|
7408
|
-
|
|
7409
|
-
|
|
7410
|
-
|
|
7411
|
-
|
|
7412
|
-
|
|
7413
|
-
|
|
7414
|
-
|
|
7415
|
-
|
|
7416
|
-
clip-path: inset(6px 0 -48px 0);
|
|
7417
|
-
-webkit-transition: opacity 300ms ease-out;
|
|
7418
|
-
transition: opacity 300ms ease-out; }
|
|
7419
|
-
[data-visual-test-wrapper] .dnb-table tr.sticky th::before {
|
|
7420
|
-
-webkit-transition: none;
|
|
7421
|
-
transition: none; }
|
|
7422
|
-
|
|
7423
|
-
.dnb-table tr.sticky.show-shadow th::before {
|
|
7424
|
-
opacity: 1; }
|
|
7444
|
+
top: var(--table-top, 0); }
|
|
7445
|
+
|
|
7446
|
+
.dnb-table tr.sticky.is-sticky th::before {
|
|
7447
|
+
content: '';
|
|
7448
|
+
position: absolute;
|
|
7449
|
+
left: 0;
|
|
7450
|
+
right: 0;
|
|
7451
|
+
bottom: 0;
|
|
7452
|
+
height: 6px;
|
|
7453
|
+
-webkit-box-shadow: 0 -2px 12px 8px rgba(51, 51, 51, 0.08);
|
|
7454
|
+
box-shadow: 0 -2px 12px 8px rgba(51, 51, 51, 0.08);
|
|
7455
|
+
-webkit-box-shadow: var(--shadow-default-x) -2px 12px 8px var(--shadow-default-color);
|
|
7456
|
+
box-shadow: var(--shadow-default-x) -2px 12px 8px var(--shadow-default-color);
|
|
7457
|
+
-webkit-clip-path: inset(6px 0 -48px 0);
|
|
7458
|
+
clip-path: inset(6px 0 -48px 0); }
|
|
7425
7459
|
|
|
7426
7460
|
/*
|
|
7427
7461
|
* Table component
|
|
7428
7462
|
*
|
|
7429
7463
|
*/
|
|
7430
7464
|
.dnb-table__container {
|
|
7431
|
-
position: relative;
|
|
7432
|
-
--border: 0.0625rem solid var(--color-black-8);
|
|
7433
|
-
background-color: #fff;
|
|
7434
|
-
background-color: var(--color-white); }
|
|
7465
|
+
position: relative; }
|
|
7435
7466
|
.dnb-table__container::after {
|
|
7436
7467
|
content: '';
|
|
7437
7468
|
position: absolute;
|
|
@@ -7441,7 +7472,8 @@ span.dnb-space--no-collapse > span {
|
|
|
7441
7472
|
bottom: 0;
|
|
7442
7473
|
z-index: 1;
|
|
7443
7474
|
pointer-events: none;
|
|
7444
|
-
|
|
7475
|
+
z-index: 3;
|
|
7476
|
+
border: var(--outline); }
|
|
7445
7477
|
.dnb-table__container, .dnb-table__container::after {
|
|
7446
7478
|
border-radius: 0.5rem; }
|
|
7447
7479
|
.dnb-table__container, .dnb-table__container__body, .dnb-table__container__head, .dnb-table__container__foot {
|
|
@@ -7460,34 +7492,21 @@ span.dnb-space--no-collapse > span {
|
|
|
7460
7492
|
margin: 0; }
|
|
7461
7493
|
.dnb-table__container__foot {
|
|
7462
7494
|
padding: 0.5rem 1rem 2rem; }
|
|
7495
|
+
.dnb-modal__content .dnb-table__container .dnb-table__scroll-view {
|
|
7496
|
+
overflow: visible; }
|
|
7463
7497
|
|
|
7498
|
+
/*
|
|
7499
|
+
* Table deprecated parts
|
|
7500
|
+
*
|
|
7501
|
+
*/
|
|
7464
7502
|
.dnb-table {
|
|
7465
|
-
|
|
7466
|
-
table-layout: auto;
|
|
7467
|
-
width: 100%;
|
|
7468
|
-
overflow: auto;
|
|
7469
|
-
margin-top: 0;
|
|
7470
|
-
margin-bottom: 0.5rem;
|
|
7471
|
-
border-spacing: 0;
|
|
7472
|
-
border-collapse: collapse;
|
|
7473
|
-
/* stylelint-disable */
|
|
7474
|
-
/* stylelint-enable */ }
|
|
7475
|
-
.dnb-table--fixed {
|
|
7476
|
-
table-layout: fixed;
|
|
7477
|
-
width: auto; }
|
|
7478
|
-
.dnb-table--no-wrap {
|
|
7479
|
-
white-space: nowrap; }
|
|
7503
|
+
/* stylelint-disable */ }
|
|
7480
7504
|
.dnb-table, .dnb-table--left {
|
|
7481
7505
|
text-align: left; }
|
|
7482
7506
|
.dnb-table--right {
|
|
7483
7507
|
text-align: right; }
|
|
7484
7508
|
.dnb-table--center {
|
|
7485
7509
|
text-align: center; }
|
|
7486
|
-
.dnb-table > caption {
|
|
7487
|
-
caption-side: bottom;
|
|
7488
|
-
margin-top: 0.5rem;
|
|
7489
|
-
font-size: 1.125rem;
|
|
7490
|
-
font-size: var(--font-size-basis); }
|
|
7491
7510
|
.dnb-table--small,
|
|
7492
7511
|
.dnb-table--small > tr > th,
|
|
7493
7512
|
.dnb-table--small > tr > td,
|
|
@@ -7526,6 +7545,25 @@ span.dnb-space--no-collapse > span {
|
|
|
7526
7545
|
.dnb-table > tbody > tr > td.dnb-table--x-small, .dnb-table__th.dnb-table--x-small, .dnb-table__td.dnb-table--x-small {
|
|
7527
7546
|
font-size: 0.875rem;
|
|
7528
7547
|
font-size: var(--font-size-x-small); }
|
|
7548
|
+
|
|
7549
|
+
.dnb-table {
|
|
7550
|
+
display: table;
|
|
7551
|
+
table-layout: auto;
|
|
7552
|
+
width: 100%;
|
|
7553
|
+
margin-top: 0;
|
|
7554
|
+
margin-bottom: 0.5rem;
|
|
7555
|
+
border-spacing: 0;
|
|
7556
|
+
border-collapse: collapse; }
|
|
7557
|
+
.dnb-table--fixed {
|
|
7558
|
+
table-layout: fixed;
|
|
7559
|
+
width: auto; }
|
|
7560
|
+
.dnb-table--no-wrap {
|
|
7561
|
+
white-space: nowrap; }
|
|
7562
|
+
.dnb-table > caption {
|
|
7563
|
+
caption-side: bottom;
|
|
7564
|
+
margin-top: 0.5rem;
|
|
7565
|
+
font-size: 1.125rem;
|
|
7566
|
+
font-size: var(--font-size-basis); }
|
|
7529
7567
|
.dnb-table.dnb-skeleton > * {
|
|
7530
7568
|
-webkit-text-fill-color: #ebebeb;
|
|
7531
7569
|
-webkit-text-fill-color: var(--skeleton-color); }
|
|
@@ -7542,8 +7580,7 @@ span.dnb-space--no-collapse > span {
|
|
|
7542
7580
|
align-items: flex-end;
|
|
7543
7581
|
-webkit-box-shadow: none;
|
|
7544
7582
|
box-shadow: none;
|
|
7545
|
-
line-height:
|
|
7546
|
-
line-height: var(--line-height-basis);
|
|
7583
|
+
line-height: inherit;
|
|
7547
7584
|
margin: 0;
|
|
7548
7585
|
padding: 0;
|
|
7549
7586
|
padding-right: 0.5rem;
|
|
@@ -7566,7 +7603,8 @@ span.dnb-space--no-collapse > span {
|
|
|
7566
7603
|
.dnb-table > thead > tr > th.dnb-table--sortable .dnb-table__sort-button.dnb-button .dnb-button__text,
|
|
7567
7604
|
.dnb-table .dnb-table__th.dnb-table--sortable .dnb-table__sort-button.dnb-button .dnb-button__text {
|
|
7568
7605
|
margin: 0;
|
|
7569
|
-
font-size: inherit;
|
|
7606
|
+
font-size: inherit;
|
|
7607
|
+
line-height: inherit; }
|
|
7570
7608
|
.dnb-table > thead > tr > th.dnb-table--sortable .dnb-table__sort-button.dnb-button .dnb-button__text::after,
|
|
7571
7609
|
.dnb-table .dnb-table__th.dnb-table--sortable .dnb-table__sort-button.dnb-button .dnb-button__text::after {
|
|
7572
7610
|
right: 1rem; }
|
|
@@ -9230,39 +9268,6 @@ thead > tr > th.dnb-table--active .dnb-table__sort-button.dnb-button:hover:focus
|
|
|
9230
9268
|
* VisuallyHidden component
|
|
9231
9269
|
*
|
|
9232
9270
|
*/
|
|
9233
|
-
.dnb-visually-hidden--default {
|
|
9234
|
-
-webkit-user-select: none;
|
|
9235
|
-
-moz-user-select: none;
|
|
9236
|
-
-ms-user-select: none;
|
|
9237
|
-
user-select: none;
|
|
9238
|
-
-webkit-touch-callout: none;
|
|
9239
|
-
pointer-events: none;
|
|
9240
|
-
position: absolute;
|
|
9241
|
-
clip: rect(1px, 1px, 1px, 1px);
|
|
9242
|
-
overflow: hidden;
|
|
9243
|
-
white-space: nowrap;
|
|
9244
|
-
height: 1px;
|
|
9245
|
-
width: 1px;
|
|
9246
|
-
margin: -1px 0 0 -1px;
|
|
9247
|
-
padding: 0;
|
|
9248
|
-
border: 0; }
|
|
9249
|
-
.dnb-visually-hidden--default:not(:focus):not(:active) {
|
|
9250
|
-
-webkit-user-select: none;
|
|
9251
|
-
-moz-user-select: none;
|
|
9252
|
-
-ms-user-select: none;
|
|
9253
|
-
user-select: none;
|
|
9254
|
-
-webkit-touch-callout: none;
|
|
9255
|
-
pointer-events: none;
|
|
9256
|
-
position: absolute;
|
|
9257
|
-
clip: rect(1px, 1px, 1px, 1px);
|
|
9258
|
-
overflow: hidden;
|
|
9259
|
-
white-space: nowrap;
|
|
9260
|
-
height: 1px;
|
|
9261
|
-
width: 1px;
|
|
9262
|
-
margin: -1px 0 0 -1px;
|
|
9263
|
-
padding: 0;
|
|
9264
|
-
border: 0; }
|
|
9265
|
-
|
|
9266
9271
|
.dnb-visually-hidden--focusable:not(:focus):not([focus-within]) {
|
|
9267
9272
|
-webkit-user-select: none;
|
|
9268
9273
|
-moz-user-select: none;
|
|
@@ -9271,15 +9276,15 @@ thead > tr > th.dnb-table--active .dnb-table__sort-button.dnb-button:hover:focus
|
|
|
9271
9276
|
-webkit-touch-callout: none;
|
|
9272
9277
|
pointer-events: none;
|
|
9273
9278
|
position: absolute;
|
|
9274
|
-
clip:
|
|
9279
|
+
-webkit-clip-path: inset(50%);
|
|
9280
|
+
clip-path: inset(50%);
|
|
9281
|
+
max-width: 1px;
|
|
9282
|
+
max-height: 1px;
|
|
9275
9283
|
overflow: hidden;
|
|
9276
9284
|
white-space: nowrap;
|
|
9277
|
-
height: 1px;
|
|
9278
|
-
width: 1px;
|
|
9279
|
-
margin: -1px 0 0 -1px;
|
|
9280
9285
|
padding: 0;
|
|
9286
|
+
margin: 0;
|
|
9281
9287
|
border: 0; }
|
|
9282
|
-
|
|
9283
9288
|
.dnb-visually-hidden--focusable:not(:focus):not(:focus-within) {
|
|
9284
9289
|
-webkit-user-select: none;
|
|
9285
9290
|
-moz-user-select: none;
|
|
@@ -9288,11 +9293,12 @@ thead > tr > th.dnb-table--active .dnb-table__sort-button.dnb-button:hover:focus
|
|
|
9288
9293
|
-webkit-touch-callout: none;
|
|
9289
9294
|
pointer-events: none;
|
|
9290
9295
|
position: absolute;
|
|
9291
|
-
clip:
|
|
9296
|
+
-webkit-clip-path: inset(50%);
|
|
9297
|
+
clip-path: inset(50%);
|
|
9298
|
+
max-width: 1px;
|
|
9299
|
+
max-height: 1px;
|
|
9292
9300
|
overflow: hidden;
|
|
9293
9301
|
white-space: nowrap;
|
|
9294
|
-
height: 1px;
|
|
9295
|
-
width: 1px;
|
|
9296
|
-
margin: -1px 0 0 -1px;
|
|
9297
9302
|
padding: 0;
|
|
9303
|
+
margin: 0;
|
|
9298
9304
|
border: 0; }
|