@navikt/aksel-stylelint 5.8.0 → 5.9.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/index.css +30 -16
- package/package.json +3 -3
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 Wed, 01 Nov 2023 14:49:15 GMT
|
|
5
5
|
*/
|
|
6
6
|
:root, :host {
|
|
7
7
|
--a-spacing-1-alt: 0.375rem;
|
|
@@ -4533,6 +4533,13 @@ button.navds-internalheader__title:active,
|
|
|
4533
4533
|
.navds-modal__footer :nth-of-type(2) {
|
|
4534
4534
|
margin-left: auto;
|
|
4535
4535
|
}
|
|
4536
|
+
/* When Datepicker is used nested inside a Modal */
|
|
4537
|
+
.navds-modal--polyfilled .navds-modal--polyfilled.navds-date__nested-modal {
|
|
4538
|
+
min-width: fit-content;
|
|
4539
|
+
max-width: 100vw;
|
|
4540
|
+
max-height: 100vh;
|
|
4541
|
+
animation: none;
|
|
4542
|
+
}
|
|
4536
4543
|
@keyframes akselModalFadeIn {
|
|
4537
4544
|
from {
|
|
4538
4545
|
opacity: 0;
|
|
@@ -4788,16 +4795,6 @@ button.navds-internalheader__title:active,
|
|
|
4788
4795
|
position: relative;
|
|
4789
4796
|
width: fit-content;
|
|
4790
4797
|
}
|
|
4791
|
-
/* Focus layering */
|
|
4792
|
-
.navds-date__field-input:focus-visible,
|
|
4793
|
-
.navds-date__field-button {
|
|
4794
|
-
z-index: 1;
|
|
4795
|
-
}
|
|
4796
|
-
@supports not selector(:focus-visible) {
|
|
4797
|
-
.navds-date__field-input:focus {
|
|
4798
|
-
z-index: 1;
|
|
4799
|
-
}
|
|
4800
|
-
}
|
|
4801
4798
|
.navds-date .rdp-day_selected,
|
|
4802
4799
|
.navds-monthpicker__month--selected {
|
|
4803
4800
|
color: var(--ac-date-selected-text, var(--a-text-on-action));
|
|
@@ -4832,10 +4829,10 @@ button.navds-internalheader__title:active,
|
|
|
4832
4829
|
color: var(--ac-date-caption-text, var(--a-text-default));
|
|
4833
4830
|
}
|
|
4834
4831
|
.navds-date__field-input {
|
|
4835
|
-
padding-right: var(--a-spacing-
|
|
4832
|
+
padding-right: var(--a-spacing-12);
|
|
4836
4833
|
}
|
|
4837
4834
|
.navds-form-field--small .navds-date__field-input {
|
|
4838
|
-
padding-right: var(--a-spacing-
|
|
4835
|
+
padding-right: var(--a-spacing-8);
|
|
4839
4836
|
}
|
|
4840
4837
|
/* Error-handling */
|
|
4841
4838
|
.navds-date__field--error .navds-date__field-input:not(:hover):not(:disabled) {
|
|
@@ -4900,9 +4897,6 @@ button.navds-internalheader__title:active,
|
|
|
4900
4897
|
visibility: hidden;
|
|
4901
4898
|
pointer-events: none;
|
|
4902
4899
|
}
|
|
4903
|
-
.navds-date__popover:where(.navds-popover) {
|
|
4904
|
-
border: none;
|
|
4905
|
-
}
|
|
4906
4900
|
/* Readonly */
|
|
4907
4901
|
.navds-date__field--readonly .navds-date__field-button {
|
|
4908
4902
|
cursor: default;
|
|
@@ -4923,11 +4917,31 @@ button.navds-internalheader__title:active,
|
|
|
4923
4917
|
justify-content: center;
|
|
4924
4918
|
margin: 0;
|
|
4925
4919
|
}
|
|
4920
|
+
.navds-date__modal.navds-date {
|
|
4921
|
+
padding: 0;
|
|
4922
|
+
}
|
|
4923
|
+
.navds-date__modal-body {
|
|
4924
|
+
display: flex;
|
|
4925
|
+
flex-direction: column;
|
|
4926
|
+
align-items: flex-end;
|
|
4927
|
+
padding: var(--a-spacing-4);
|
|
4928
|
+
gap: var(--a-spacing-2);
|
|
4929
|
+
}
|
|
4930
|
+
.navds-date__modal-body > .navds-date {
|
|
4931
|
+
padding: 0;
|
|
4932
|
+
}
|
|
4933
|
+
.navds-date__popover:where(.navds-popover) {
|
|
4934
|
+
border: none;
|
|
4935
|
+
}
|
|
4926
4936
|
@media (min-width: 480px) {
|
|
4927
4937
|
.navds-date {
|
|
4928
4938
|
padding: var(--a-spacing-5) var(--a-spacing-4);
|
|
4929
4939
|
}
|
|
4930
4940
|
|
|
4941
|
+
.navds-date__modal-body {
|
|
4942
|
+
padding: var(--a-spacing-6);
|
|
4943
|
+
}
|
|
4944
|
+
|
|
4931
4945
|
.navds-date__caption {
|
|
4932
4946
|
gap: var(--a-spacing-2);
|
|
4933
4947
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@navikt/aksel-stylelint",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.9.0",
|
|
4
4
|
"author": "Aksel | NAV",
|
|
5
5
|
"homepage": "https://aksel.nav.no/grunnleggende/kode/stylelint",
|
|
6
6
|
"repository": {
|
|
@@ -35,8 +35,8 @@
|
|
|
35
35
|
"dev": "yarn watch:lint"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"@navikt/ds-css": "^5.
|
|
39
|
-
"@navikt/ds-tokens": "^5.
|
|
38
|
+
"@navikt/ds-css": "^5.9.0",
|
|
39
|
+
"@navikt/ds-tokens": "^5.9.0",
|
|
40
40
|
"@types/jest": "^29.0.0",
|
|
41
41
|
"concurrently": "7.2.1",
|
|
42
42
|
"copyfiles": "2.4.1",
|