@navikt/aksel-stylelint 4.9.1 → 4.10.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/dist/index.css +32 -4
- package/dist/tokens.json +5 -1
- 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 Wed, 09 Aug 2023
|
|
4
|
+
* Generated on Wed, 09 Aug 2023 14:33:32 GMT
|
|
5
5
|
*/
|
|
6
6
|
:root, :host {
|
|
7
7
|
--a-spacing-05: 0.125rem;
|
|
@@ -3705,13 +3705,32 @@ button.navds-internalheader__title:active,
|
|
|
3705
3705
|
align-items: center;
|
|
3706
3706
|
gap: var(--a-spacing-1);
|
|
3707
3707
|
}
|
|
3708
|
-
.navds-
|
|
3709
|
-
|
|
3710
|
-
|
|
3708
|
+
.navds-link.navds-link--inline-text {
|
|
3709
|
+
display: inline;
|
|
3710
|
+
}
|
|
3711
|
+
.navds-link.navds-link--inline-text > svg {
|
|
3712
|
+
/* stylelint-disable-next-line plugin/declaration-block-no-ignored-properties */
|
|
3713
|
+
margin: 0.1em 0.1em -0.1em;
|
|
3714
|
+
transform: translateY(0.05em);
|
|
3715
|
+
display: inline;
|
|
3716
|
+
}
|
|
3717
|
+
.navds-link:visited {
|
|
3718
|
+
/* stylelint-disable-next-line csstools/value-no-unknown-custom-properties */
|
|
3719
|
+
color: var(--ac-link-visited-text);
|
|
3711
3720
|
}
|
|
3712
3721
|
.navds-link:hover {
|
|
3713
3722
|
text-decoration: none;
|
|
3714
3723
|
}
|
|
3724
|
+
.navds-link.navds-link--remove-underline {
|
|
3725
|
+
text-decoration: none;
|
|
3726
|
+
}
|
|
3727
|
+
.navds-link.navds-link--remove-underline:hover {
|
|
3728
|
+
text-decoration: underline;
|
|
3729
|
+
}
|
|
3730
|
+
.navds-alert .navds-link,
|
|
3731
|
+
.navds-confirmation-panel .navds-link {
|
|
3732
|
+
color: var(--a-text-default);
|
|
3733
|
+
}
|
|
3715
3734
|
.navds-link:focus-visible {
|
|
3716
3735
|
outline: none;
|
|
3717
3736
|
color: var(--ac-link-focus-text, var(--a-text-on-action));
|
|
@@ -3739,6 +3758,15 @@ button.navds-internalheader__title:active,
|
|
|
3739
3758
|
color: inherit;
|
|
3740
3759
|
flex-shrink: 0;
|
|
3741
3760
|
}
|
|
3761
|
+
.navds-link--action {
|
|
3762
|
+
color: var(--ac-link-action-text, var(--a-text-action));
|
|
3763
|
+
}
|
|
3764
|
+
.navds-link--neutral {
|
|
3765
|
+
color: var(--ac-link-neutral-text, var(--a-text-default));
|
|
3766
|
+
}
|
|
3767
|
+
.navds-link--subtle {
|
|
3768
|
+
color: var(--ac-link-subtle-text, var(--a-text-subtle));
|
|
3769
|
+
}
|
|
3742
3770
|
.navds-loader {
|
|
3743
3771
|
width: 1.5rem;
|
|
3744
3772
|
display: inline-block;
|
package/dist/tokens.json
CHANGED
|
@@ -175,7 +175,11 @@
|
|
|
175
175
|
"--ac-link-focus-border": "--a-border-focus",
|
|
176
176
|
"--ac-link-active-text": "--a-text-on-action",
|
|
177
177
|
"--ac-link-active-bg": "--a-border-focus",
|
|
178
|
-
"--ac-link-active-border": "--a-border-focus"
|
|
178
|
+
"--ac-link-active-border": "--a-border-focus",
|
|
179
|
+
"--ac-link-action-text": "--a-text-action",
|
|
180
|
+
"--ac-link-neutral-text": "--a-text-default",
|
|
181
|
+
"--ac-link-subtle-text": "--a-text-subtle",
|
|
182
|
+
"--ac-link-visited-text": "--a-text-visited"
|
|
179
183
|
},
|
|
180
184
|
"list": {
|
|
181
185
|
"--ac-list-marker-ul-color": "--ac-list-marker-color",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@navikt/aksel-stylelint",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.10.1",
|
|
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": "^4.
|
|
39
|
-
"@navikt/ds-tokens": "^4.
|
|
38
|
+
"@navikt/ds-css": "^4.10.1",
|
|
39
|
+
"@navikt/ds-tokens": "^4.10.1",
|
|
40
40
|
"@types/jest": "^29.0.0",
|
|
41
41
|
"concurrently": "7.2.1",
|
|
42
42
|
"copyfiles": "2.4.1",
|