@navikt/ds-css 5.13.0 → 5.14.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 +10 -0
- package/dist/component/date.min.css +1 -1
- package/dist/component/form.min.css +1 -1
- package/dist/component/grid.min.css +1 -1
- package/dist/component/helptext.min.css +1 -1
- package/dist/component/index.css +20 -4
- package/dist/component/index.min.css +2 -2
- package/dist/component/internalheader.min.css +1 -1
- package/dist/component/loader.min.css +1 -1
- package/dist/component/table.css +3 -3
- package/dist/component/table.min.css +1 -1
- package/dist/component/tabs.min.css +1 -1
- package/dist/component/tag.css +18 -0
- package/dist/component/tag.min.css +1 -1
- package/dist/component/timeline.min.css +1 -1
- package/dist/component/typography.min.css +1 -1
- package/dist/components.css +21 -3
- package/dist/components.min.css +2 -2
- package/dist/global/baseline.min.css +1 -1
- package/dist/global/reset.min.css +1 -1
- package/dist/global/tokens.css +1 -1
- package/dist/index.css +20 -4
- package/dist/index.min.css +2 -2
- package/package.json +2 -2
- package/table.css +3 -3
- package/tag.css +18 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
:host,html{box-sizing:border-box}*,:after,:before{box-sizing:inherit}button,input,optgroup,select,textarea{color:inherit;font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}[hidden]{display:none}@media (prefers-reduced-motion:reduce){:after,:before,:not(.navds-loader *):not(.navds-loader){animation-delay:-1ms!important;animation-duration:1ms!important;animation-iteration-count:1!important;background-attachment:scroll!important;scroll-behavior:auto!important;transition-delay:0s!important;transition-duration:0s!important}}.navds-sr-only,.sr-only{clip:rect(0,0,0,0)
|
|
1
|
+
:host,html{box-sizing:border-box}*,:after,:before{box-sizing:inherit}button,input,optgroup,select,textarea{color:inherit;font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}[hidden]{display:none}@media (prefers-reduced-motion:reduce){:after,:before,:not(.navds-loader *):not(.navds-loader){animation-delay:-1ms!important;animation-duration:1ms!important;animation-iteration-count:1!important;background-attachment:scroll!important;scroll-behavior:auto!important;transition-delay:0s!important;transition-duration:0s!important}}.navds-sr-only,.sr-only{border:0;clip:rect(0,0,0,0);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.navds-sr-only.focusable:active,.navds-sr-only.focusable:focus,.sr-only.focusable:active,.sr-only.focusable:focus{clip:auto;-webkit-clip-path:none;clip-path:none;height:auto;margin:0;overflow:visible;position:static;white-space:inherit;width:auto}:host,:root,[data-theme=light]{--a-shadow-focus:0 0 0 3px var(--a-border-focus);color:var(--a-text-default)}[data-theme=dark]{--a-shadow-focus:var(--a-shadow-focus-inverted);color:var(--a-text-on-inverted)}:host,body{font-family:var(--a-font-family,"Source Sans Pro",Arial,sans-serif);font-size:1.125rem;line-height:1.333}a{color:var(--a-text-action)}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{-webkit-text-size-adjust:100
|
|
1
|
+
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}
|
package/dist/global/tokens.css
CHANGED
package/dist/index.css
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@charset "UTF-8";
|
|
2
2
|
/**
|
|
3
3
|
* Do not edit directly
|
|
4
|
-
* Generated on
|
|
4
|
+
* Generated on Tue, 16 Jan 2024 07:27:10 GMT
|
|
5
5
|
*/
|
|
6
6
|
:root, :host {
|
|
7
7
|
--a-spacing-1-alt: 0.375rem;
|
|
@@ -4800,6 +4800,9 @@ button.navds-internalheader__title:active,
|
|
|
4800
4800
|
}
|
|
4801
4801
|
}
|
|
4802
4802
|
.navds-tag {
|
|
4803
|
+
--__ac-tag-icon-size: 1.5rem;
|
|
4804
|
+
--__ac-tag-icon-margin: -2px;
|
|
4805
|
+
|
|
4803
4806
|
border: 1px solid;
|
|
4804
4807
|
border-radius: var(--a-border-radius-small);
|
|
4805
4808
|
display: inline-flex;
|
|
@@ -4812,10 +4815,23 @@ button.navds-internalheader__title:active,
|
|
|
4812
4815
|
.navds-tag--small {
|
|
4813
4816
|
min-height: 1.5rem;
|
|
4814
4817
|
padding: 0 var(--a-spacing-1-alt);
|
|
4818
|
+
|
|
4819
|
+
--__ac-tag-icon-size: 1.25rem;
|
|
4815
4820
|
}
|
|
4816
4821
|
.navds-tag--xsmall {
|
|
4817
4822
|
min-height: 1.25rem;
|
|
4818
4823
|
padding: 0 var(--a-spacing-1);
|
|
4824
|
+
|
|
4825
|
+
--__ac-tag-icon-size: 1rem;
|
|
4826
|
+
--__ac-tag-icon-margin: -1px;
|
|
4827
|
+
}
|
|
4828
|
+
.navds-tag:has(.navds-tag__icon--left) {
|
|
4829
|
+
gap: var(--a-spacing-05);
|
|
4830
|
+
}
|
|
4831
|
+
.navds-tag__icon--left {
|
|
4832
|
+
font-size: var(--__ac-tag-icon-size);
|
|
4833
|
+
margin-inline-start: var(--__ac-tag-icon-margin);
|
|
4834
|
+
display: flex;
|
|
4819
4835
|
}
|
|
4820
4836
|
.navds-tag--error {
|
|
4821
4837
|
border-color: var(--ac-tag-error-border, var(--a-border-danger));
|
|
@@ -5898,13 +5914,13 @@ button.navds-stepper__step {
|
|
|
5898
5914
|
.navds-table--small .navds-table__data-cell {
|
|
5899
5915
|
padding: var(--a-spacing-1) var(--a-spacing-2);
|
|
5900
5916
|
}
|
|
5901
|
-
.navds-table .navds-checkbox .navds-checkbox__input {
|
|
5917
|
+
.navds-table :not(.navds-checkboxes) > .navds-checkbox .navds-checkbox__input {
|
|
5902
5918
|
top: -0.75rem;
|
|
5903
5919
|
}
|
|
5904
|
-
.navds-table .navds-checkbox--small .navds-checkbox__input {
|
|
5920
|
+
.navds-table :not(.navds-checkboxes) > .navds-checkbox--small .navds-checkbox__input {
|
|
5905
5921
|
top: -0.375rem;
|
|
5906
5922
|
}
|
|
5907
|
-
.navds-table .navds-checkbox .navds-checkbox__label {
|
|
5923
|
+
.navds-table :not(.navds-checkboxes) > .navds-checkbox .navds-checkbox__label {
|
|
5908
5924
|
padding: 0;
|
|
5909
5925
|
}
|
|
5910
5926
|
.navds-table__header-cell[aria-sort] {
|