@navikt/ds-css 7.8.1 → 7.9.1
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 +21 -0
- package/README.md +6 -6
- package/button.css +9 -1
- package/darkside/button.darkside.css +9 -1
- package/darkside/form/form.darkside.css +0 -13
- package/darkside/toggle-group.darkside.css +19 -9
- package/darkside/typography.darkside.css +12 -0
- package/dist/component/button.css +9 -1
- package/dist/component/button.min.css +2 -2
- package/dist/component/form.css +37 -37
- package/dist/component/form.min.css +1 -1
- package/dist/component/link.css +1 -1
- package/dist/component/link.min.css +1 -1
- package/dist/component/typography.css +12 -0
- package/dist/component/typography.min.css +1 -1
- package/dist/components.css +60 -41
- package/dist/components.min.css +3 -3
- package/dist/darkside/component/button.css +9 -1
- package/dist/darkside/component/button.min.css +1 -1
- package/dist/darkside/component/form.css +0 -9
- package/dist/darkside/component/form.min.css +1 -1
- package/dist/darkside/component/togglegroup.css +20 -9
- package/dist/darkside/component/togglegroup.min.css +1 -1
- package/dist/darkside/component/typography.css +12 -0
- package/dist/darkside/component/typography.min.css +1 -1
- package/dist/darkside/components.css +41 -19
- package/dist/darkside/components.min.css +1 -1
- package/dist/darkside/global/tokens.css +1 -0
- package/dist/darkside/global/tokens.min.css +1 -1
- package/dist/darkside/index.css +42 -19
- package/dist/darkside/index.min.css +1 -1
- package/dist/darkside/version/{7.8.1 → 7.9.1}/component/button.css +9 -1
- package/dist/darkside/version/7.9.1/component/button.min.css +1 -0
- package/dist/darkside/version/{7.8.1 → 7.9.1}/component/form.css +0 -9
- package/dist/darkside/version/7.9.1/component/form.min.css +1 -0
- package/dist/darkside/version/{7.8.1 → 7.9.1}/component/togglegroup.css +20 -9
- package/dist/darkside/version/7.9.1/component/togglegroup.min.css +1 -0
- package/dist/darkside/version/{7.8.1 → 7.9.1}/component/typography.css +12 -0
- package/dist/darkside/version/{7.8.1 → 7.9.1}/component/typography.min.css +1 -1
- package/dist/darkside/version/{7.8.1 → 7.9.1}/components.css +41 -19
- package/dist/darkside/version/7.9.1/components.min.css +1 -0
- package/dist/darkside/version/{7.8.1 → 7.9.1}/global/tokens.css +1 -0
- package/dist/darkside/version/{7.8.1 → 7.9.1}/global/tokens.min.css +1 -1
- package/dist/darkside/version/{7.8.1 → 7.9.1}/index.css +42 -19
- package/dist/darkside/version/7.9.1/index.min.css +1 -0
- package/dist/global/tokens.css +1 -1
- package/dist/global/tokens.min.css +1 -1
- package/dist/index.css +61 -42
- package/dist/index.min.css +4 -4
- package/form/form.css +0 -13
- package/form/select.css +5 -1
- package/form/switch.css +30 -19
- package/form/textarea.css +3 -6
- package/link.css +1 -1
- package/package.json +3 -3
- package/tokens.json +3 -3
- package/typography.css +12 -0
- package/dist/darkside/version/7.8.1/component/button.min.css +0 -1
- package/dist/darkside/version/7.8.1/component/form.min.css +0 -1
- package/dist/darkside/version/7.8.1/component/togglegroup.min.css +0 -1
- package/dist/darkside/version/7.8.1/components.min.css +0 -1
- package/dist/darkside/version/7.8.1/index.min.css +0 -1
- /package/dist/darkside/version/{7.8.1 → 7.9.1}/component/accordion.css +0 -0
- /package/dist/darkside/version/{7.8.1 → 7.9.1}/component/accordion.min.css +0 -0
- /package/dist/darkside/version/{7.8.1 → 7.9.1}/component/actionmenu.css +0 -0
- /package/dist/darkside/version/{7.8.1 → 7.9.1}/component/actionmenu.min.css +0 -0
- /package/dist/darkside/version/{7.8.1 → 7.9.1}/component/alert.css +0 -0
- /package/dist/darkside/version/{7.8.1 → 7.9.1}/component/alert.min.css +0 -0
- /package/dist/darkside/version/{7.8.1 → 7.9.1}/component/chat.css +0 -0
- /package/dist/darkside/version/{7.8.1 → 7.9.1}/component/chat.min.css +0 -0
- /package/dist/darkside/version/{7.8.1 → 7.9.1}/component/chips.css +0 -0
- /package/dist/darkside/version/{7.8.1 → 7.9.1}/component/chips.min.css +0 -0
- /package/dist/darkside/version/{7.8.1 → 7.9.1}/component/copybutton.css +0 -0
- /package/dist/darkside/version/{7.8.1 → 7.9.1}/component/copybutton.min.css +0 -0
- /package/dist/darkside/version/{7.8.1 → 7.9.1}/component/date.css +0 -0
- /package/dist/darkside/version/{7.8.1 → 7.9.1}/component/date.min.css +0 -0
- /package/dist/darkside/version/{7.8.1 → 7.9.1}/component/dropdown.css +0 -0
- /package/dist/darkside/version/{7.8.1 → 7.9.1}/component/dropdown.min.css +0 -0
- /package/dist/darkside/version/{7.8.1 → 7.9.1}/component/expansioncard.css +0 -0
- /package/dist/darkside/version/{7.8.1 → 7.9.1}/component/expansioncard.min.css +0 -0
- /package/dist/darkside/version/{7.8.1 → 7.9.1}/component/guidepanel.css +0 -0
- /package/dist/darkside/version/{7.8.1 → 7.9.1}/component/guidepanel.min.css +0 -0
- /package/dist/darkside/version/{7.8.1 → 7.9.1}/component/helptext.css +0 -0
- /package/dist/darkside/version/{7.8.1 → 7.9.1}/component/helptext.min.css +0 -0
- /package/dist/darkside/version/{7.8.1 → 7.9.1}/component/internalheader.css +0 -0
- /package/dist/darkside/version/{7.8.1 → 7.9.1}/component/internalheader.min.css +0 -0
- /package/dist/darkside/version/{7.8.1 → 7.9.1}/component/link.css +0 -0
- /package/dist/darkside/version/{7.8.1 → 7.9.1}/component/link.min.css +0 -0
- /package/dist/darkside/version/{7.8.1 → 7.9.1}/component/linkpanel.css +0 -0
- /package/dist/darkside/version/{7.8.1 → 7.9.1}/component/linkpanel.min.css +0 -0
- /package/dist/darkside/version/{7.8.1 → 7.9.1}/component/list.css +0 -0
- /package/dist/darkside/version/{7.8.1 → 7.9.1}/component/list.min.css +0 -0
- /package/dist/darkside/version/{7.8.1 → 7.9.1}/component/loader.css +0 -0
- /package/dist/darkside/version/{7.8.1 → 7.9.1}/component/loader.min.css +0 -0
- /package/dist/darkside/version/{7.8.1 → 7.9.1}/component/modal.css +0 -0
- /package/dist/darkside/version/{7.8.1 → 7.9.1}/component/modal.min.css +0 -0
- /package/dist/darkside/version/{7.8.1 → 7.9.1}/component/pagination.css +0 -0
- /package/dist/darkside/version/{7.8.1 → 7.9.1}/component/pagination.min.css +0 -0
- /package/dist/darkside/version/{7.8.1 → 7.9.1}/component/panel.css +0 -0
- /package/dist/darkside/version/{7.8.1 → 7.9.1}/component/panel.min.css +0 -0
- /package/dist/darkside/version/{7.8.1 → 7.9.1}/component/popover.css +0 -0
- /package/dist/darkside/version/{7.8.1 → 7.9.1}/component/popover.min.css +0 -0
- /package/dist/darkside/version/{7.8.1 → 7.9.1}/component/primitives.css +0 -0
- /package/dist/darkside/version/{7.8.1 → 7.9.1}/component/primitives.min.css +0 -0
- /package/dist/darkside/version/{7.8.1 → 7.9.1}/component/progressbar.css +0 -0
- /package/dist/darkside/version/{7.8.1 → 7.9.1}/component/progressbar.min.css +0 -0
- /package/dist/darkside/version/{7.8.1 → 7.9.1}/component/readmore.css +0 -0
- /package/dist/darkside/version/{7.8.1 → 7.9.1}/component/readmore.min.css +0 -0
- /package/dist/darkside/version/{7.8.1 → 7.9.1}/component/skeleton.css +0 -0
- /package/dist/darkside/version/{7.8.1 → 7.9.1}/component/skeleton.min.css +0 -0
- /package/dist/darkside/version/{7.8.1 → 7.9.1}/component/stepper.css +0 -0
- /package/dist/darkside/version/{7.8.1 → 7.9.1}/component/stepper.min.css +0 -0
- /package/dist/darkside/version/{7.8.1 → 7.9.1}/component/table.css +0 -0
- /package/dist/darkside/version/{7.8.1 → 7.9.1}/component/table.min.css +0 -0
- /package/dist/darkside/version/{7.8.1 → 7.9.1}/component/tabs.css +0 -0
- /package/dist/darkside/version/{7.8.1 → 7.9.1}/component/tabs.min.css +0 -0
- /package/dist/darkside/version/{7.8.1 → 7.9.1}/component/tag.css +0 -0
- /package/dist/darkside/version/{7.8.1 → 7.9.1}/component/tag.min.css +0 -0
- /package/dist/darkside/version/{7.8.1 → 7.9.1}/component/theme.css +0 -0
- /package/dist/darkside/version/{7.8.1 → 7.9.1}/component/theme.min.css +0 -0
- /package/dist/darkside/version/{7.8.1 → 7.9.1}/component/timeline.css +0 -0
- /package/dist/darkside/version/{7.8.1 → 7.9.1}/component/timeline.min.css +0 -0
- /package/dist/darkside/version/{7.8.1 → 7.9.1}/component/tooltip.css +0 -0
- /package/dist/darkside/version/{7.8.1 → 7.9.1}/component/tooltip.min.css +0 -0
- /package/dist/darkside/version/{7.8.1 → 7.9.1}/global/baseline.css +0 -0
- /package/dist/darkside/version/{7.8.1 → 7.9.1}/global/baseline.min.css +0 -0
- /package/dist/darkside/version/{7.8.1 → 7.9.1}/global/fonts.css +0 -0
- /package/dist/darkside/version/{7.8.1 → 7.9.1}/global/fonts.min.css +0 -0
- /package/dist/darkside/version/{7.8.1 → 7.9.1}/global/print.css +0 -0
- /package/dist/darkside/version/{7.8.1 → 7.9.1}/global/print.min.css +0 -0
- /package/dist/darkside/version/{7.8.1 → 7.9.1}/global/reset.css +0 -0
- /package/dist/darkside/version/{7.8.1 → 7.9.1}/global/reset.min.css +0 -0
|
@@ -926,6 +926,7 @@
|
|
|
926
926
|
}
|
|
927
927
|
|
|
928
928
|
:root, :host {
|
|
929
|
+
--ax-version: "7.9.1";
|
|
929
930
|
--ax-font-weight-regular: 400;
|
|
930
931
|
--ax-font-weight-bold: 600;
|
|
931
932
|
--ax-font-size-small: .875rem;
|
|
@@ -1402,6 +1403,18 @@
|
|
|
1402
1403
|
color: var(--ax-text-danger);
|
|
1403
1404
|
}
|
|
1404
1405
|
|
|
1406
|
+
.navds-error-message.navds-error-message--show-icon {
|
|
1407
|
+
gap: var(--ax-spacing-1);
|
|
1408
|
+
display: flex;
|
|
1409
|
+
}
|
|
1410
|
+
|
|
1411
|
+
.navds-error-message.navds-error-message--show-icon svg {
|
|
1412
|
+
flex: none;
|
|
1413
|
+
width: 1em;
|
|
1414
|
+
height: 1em;
|
|
1415
|
+
margin-top: .15em;
|
|
1416
|
+
}
|
|
1417
|
+
|
|
1405
1418
|
.navds-typo--truncate {
|
|
1406
1419
|
white-space: nowrap;
|
|
1407
1420
|
text-overflow: ellipsis;
|
|
@@ -1511,7 +1524,7 @@
|
|
|
1511
1524
|
margin-right: var(--__axc-button-icon-margin);
|
|
1512
1525
|
}
|
|
1513
1526
|
|
|
1514
|
-
.navds-
|
|
1527
|
+
.navds-button--icon-only .navds-button__icon {
|
|
1515
1528
|
margin: 0;
|
|
1516
1529
|
}
|
|
1517
1530
|
|
|
@@ -1671,6 +1684,10 @@
|
|
|
1671
1684
|
opacity: var(--ax-opacity-disabled);
|
|
1672
1685
|
}
|
|
1673
1686
|
|
|
1687
|
+
.navds-button .navds-loader {
|
|
1688
|
+
position: absolute;
|
|
1689
|
+
}
|
|
1690
|
+
|
|
1674
1691
|
.navds-button .navds-loader .navds-loader__foreground {
|
|
1675
1692
|
stroke: currentColor;
|
|
1676
1693
|
}
|
|
@@ -1679,6 +1696,10 @@
|
|
|
1679
1696
|
stroke: rgba(255, 255, 255, .3);
|
|
1680
1697
|
}
|
|
1681
1698
|
|
|
1699
|
+
.navds-button--loading > :not(.navds-loader) {
|
|
1700
|
+
visibility: hidden;
|
|
1701
|
+
}
|
|
1702
|
+
|
|
1682
1703
|
@media (forced-colors: active) {
|
|
1683
1704
|
.navds-button:not(.navds-button--loading):where(:disabled, .navds-button--disabled) {
|
|
1684
1705
|
opacity: 1;
|
|
@@ -2152,15 +2173,6 @@
|
|
|
2152
2173
|
margin-top: -.375rem;
|
|
2153
2174
|
}
|
|
2154
2175
|
|
|
2155
|
-
.navds-form-field .navds-error-message, .navds-fieldset .navds-error-message, .navds-file-item .navds-error-message {
|
|
2156
|
-
gap: var(--ax-spacing-2);
|
|
2157
|
-
display: flex;
|
|
2158
|
-
}
|
|
2159
|
-
|
|
2160
|
-
.navds-form-field .navds-error-message:before, .navds-fieldset .navds-error-message:before, .navds-file-item .navds-error-message:before {
|
|
2161
|
-
content: "•";
|
|
2162
|
-
}
|
|
2163
|
-
|
|
2164
2176
|
.navds-form-field--disabled {
|
|
2165
2177
|
opacity: var(--ax-opacity-disabled);
|
|
2166
2178
|
cursor: not-allowed;
|
|
@@ -6266,26 +6278,26 @@
|
|
|
6266
6278
|
.navds-toggle-group {
|
|
6267
6279
|
border-radius: var(--ax-border-radius-medium);
|
|
6268
6280
|
box-shadow: inset 0 0 0 1px var(--ax-border-default);
|
|
6269
|
-
padding: var(--ax-spacing-1);
|
|
6270
|
-
gap: var(--ax-spacing-1);
|
|
6271
6281
|
background-color: rgba(0, 0, 0, 0);
|
|
6272
6282
|
grid-auto-columns: 1fr;
|
|
6273
6283
|
grid-auto-flow: column;
|
|
6284
|
+
gap: 1px;
|
|
6274
6285
|
display: inline-grid;
|
|
6275
6286
|
}
|
|
6276
6287
|
|
|
6277
6288
|
.navds-toggle-group__button {
|
|
6278
6289
|
padding: var(--ax-spacing-1) var(--ax-spacing-3);
|
|
6279
6290
|
cursor: pointer;
|
|
6280
|
-
min-height:
|
|
6291
|
+
min-height: 3rem;
|
|
6281
6292
|
color: var(--ax-text-default);
|
|
6282
|
-
border-radius: var(--ax-border-radius-
|
|
6293
|
+
border-radius: var(--ax-border-radius-medium);
|
|
6283
6294
|
background-color: rgba(0, 0, 0, 0);
|
|
6284
6295
|
border: none;
|
|
6285
6296
|
justify-content: center;
|
|
6286
6297
|
align-items: center;
|
|
6287
6298
|
min-width: fit-content;
|
|
6288
6299
|
display: inline-flex;
|
|
6300
|
+
position: relative;
|
|
6289
6301
|
}
|
|
6290
6302
|
|
|
6291
6303
|
.navds-toggle-group__button:hover {
|
|
@@ -6296,13 +6308,24 @@
|
|
|
6296
6308
|
.navds-toggle-group__button:focus-visible {
|
|
6297
6309
|
outline: 2px solid var(--ax-border-focus);
|
|
6298
6310
|
outline-offset: 2px;
|
|
6311
|
+
z-index: 1;
|
|
6299
6312
|
}
|
|
6300
6313
|
|
|
6301
|
-
.navds-toggle-group__button[
|
|
6314
|
+
.navds-toggle-group__button[data-selected="true"] {
|
|
6302
6315
|
background-color: var(--ax-bg-accent-strong-pressed);
|
|
6303
6316
|
color: var(--ax-text-accent-contrast);
|
|
6304
6317
|
}
|
|
6305
6318
|
|
|
6319
|
+
.navds-toggle-group__button:not([data-selected="true"], :first-child, .navds-toggle-group__button[data-selected="true"] + .navds-toggle-group__button):before {
|
|
6320
|
+
content: "";
|
|
6321
|
+
background-color: var(--ax-border-subtleA);
|
|
6322
|
+
width: 1px;
|
|
6323
|
+
height: 50%;
|
|
6324
|
+
display: block;
|
|
6325
|
+
position: absolute;
|
|
6326
|
+
left: -1px;
|
|
6327
|
+
}
|
|
6328
|
+
|
|
6306
6329
|
.navds-toggle-group__button-inner {
|
|
6307
6330
|
align-items: center;
|
|
6308
6331
|
gap: var(--ax-spacing-2);
|
|
@@ -6321,14 +6344,14 @@
|
|
|
6321
6344
|
background-color: var(--ax-bg-neutral-moderate-hoverA);
|
|
6322
6345
|
}
|
|
6323
6346
|
|
|
6324
|
-
:where(.navds-toggle-group--neutral) .navds-toggle-group__button[
|
|
6347
|
+
:where(.navds-toggle-group--neutral) .navds-toggle-group__button[data-selected="true"] {
|
|
6325
6348
|
background-color: var(--ax-bg-neutral-strong-pressed);
|
|
6326
6349
|
color: var(--ax-text-neutral-contrast);
|
|
6327
6350
|
}
|
|
6328
6351
|
|
|
6329
6352
|
.navds-toggle-group--small .navds-toggle-group__button {
|
|
6330
6353
|
padding: var(--ax-spacing-05) var(--ax-spacing-3);
|
|
6331
|
-
min-height:
|
|
6354
|
+
min-height: 2rem;
|
|
6332
6355
|
}
|
|
6333
6356
|
|
|
6334
6357
|
.navds-toggle-group--small .navds-toggle-group__button-inner > svg {
|
|
@@ -6340,13 +6363,13 @@
|
|
|
6340
6363
|
border: 2px solid rgba(0, 0, 0, 0);
|
|
6341
6364
|
}
|
|
6342
6365
|
|
|
6343
|
-
.navds-toggle-group__button
|
|
6366
|
+
.navds-toggle-group__button:hover {
|
|
6344
6367
|
color: highlight;
|
|
6345
6368
|
background-color: highlighttext;
|
|
6346
6369
|
outline: 1px solid highlight;
|
|
6347
6370
|
}
|
|
6348
6371
|
|
|
6349
|
-
.navds-toggle-group__button[
|
|
6372
|
+
.navds-toggle-group__button[data-selected="true"] {
|
|
6350
6373
|
color: selecteditemtext;
|
|
6351
6374
|
forced-color-adjust: none;
|
|
6352
6375
|
background-color: selecteditem;
|