@navikt/aksel-stylelint 5.2.1 → 5.3.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 +53 -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
|
|
4
|
+
* Generated on Thu, 31 Aug 2023 11:42:10 GMT
|
|
5
5
|
*/
|
|
6
6
|
:root, :host {
|
|
7
7
|
--a-spacing-05: 0.125rem;
|
|
@@ -877,6 +877,14 @@ body,
|
|
|
877
877
|
.navds-body-long.navds-typo--spacing {
|
|
878
878
|
margin-bottom: var(--a-spacing-7);
|
|
879
879
|
}
|
|
880
|
+
.navds-body-long--large {
|
|
881
|
+
font-size: var(--a-font-size-xlarge);
|
|
882
|
+
letter-spacing: -0.0013em;
|
|
883
|
+
line-height: var(--a-font-line-height-xlarge);
|
|
884
|
+
}
|
|
885
|
+
.navds-body-long--large.navds-typo--spacing {
|
|
886
|
+
margin-bottom: var(--a-spacing-10);
|
|
887
|
+
}
|
|
880
888
|
.navds-body-long--small {
|
|
881
889
|
font-size: var(--a-font-size-medium);
|
|
882
890
|
letter-spacing: 0.002em;
|
|
@@ -895,6 +903,14 @@ body,
|
|
|
895
903
|
.navds-body-short.navds-typo--spacing {
|
|
896
904
|
margin-bottom: var(--a-spacing-3);
|
|
897
905
|
}
|
|
906
|
+
.navds-body-short--large {
|
|
907
|
+
font-size: var(--a-font-size-xlarge);
|
|
908
|
+
letter-spacing: -0.0013em;
|
|
909
|
+
line-height: var(--a-font-line-height-large);
|
|
910
|
+
}
|
|
911
|
+
.navds-body-short--large.navds-typo--spacing {
|
|
912
|
+
margin-bottom: var(--a-spacing-4);
|
|
913
|
+
}
|
|
898
914
|
.navds-body-short--small {
|
|
899
915
|
font-size: var(--a-font-size-medium);
|
|
900
916
|
letter-spacing: 0.002em;
|
|
@@ -948,6 +964,42 @@ body,
|
|
|
948
964
|
.navds-error-message {
|
|
949
965
|
color: var(--ac-typo-error-text, var(--a-text-danger));
|
|
950
966
|
}
|
|
967
|
+
.navds-typo--truncate {
|
|
968
|
+
overflow: hidden;
|
|
969
|
+
white-space: nowrap;
|
|
970
|
+
text-overflow: ellipsis;
|
|
971
|
+
}
|
|
972
|
+
.navds-typo--semibold {
|
|
973
|
+
font-weight: var(--a-font-weight-bold);
|
|
974
|
+
}
|
|
975
|
+
.navds-typo--align-start {
|
|
976
|
+
text-align: start;
|
|
977
|
+
}
|
|
978
|
+
.navds-typo--align-center {
|
|
979
|
+
text-align: center;
|
|
980
|
+
}
|
|
981
|
+
.navds-typo--align-end {
|
|
982
|
+
text-align: end;
|
|
983
|
+
}
|
|
984
|
+
.navds-typo--visually-hidden {
|
|
985
|
+
border: 0 !important;
|
|
986
|
+
clip: rect(0, 0, 0, 0) !important;
|
|
987
|
+
height: 1px !important;
|
|
988
|
+
margin: -1px !important;
|
|
989
|
+
overflow: hidden !important;
|
|
990
|
+
padding: 0 !important;
|
|
991
|
+
top: 0 !important;
|
|
992
|
+
position: absolute !important;
|
|
993
|
+
white-space: nowrap !important;
|
|
994
|
+
width: 1px !important;
|
|
995
|
+
}
|
|
996
|
+
.navds-typo--color-subtle {
|
|
997
|
+
color: var(--a-text-subtle);
|
|
998
|
+
}
|
|
999
|
+
[data-theme="dark"].navds-typo--color-subtle,
|
|
1000
|
+
[data-theme="dark"] .navds-typo--color-subtle {
|
|
1001
|
+
--a-text-subtle: var(--a-gray-300);
|
|
1002
|
+
}
|
|
951
1003
|
/**************************
|
|
952
1004
|
* .navds-grid *
|
|
953
1005
|
**************************/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@navikt/aksel-stylelint",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.3.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.3.0",
|
|
39
|
+
"@navikt/ds-tokens": "^5.3.0",
|
|
40
40
|
"@types/jest": "^29.0.0",
|
|
41
41
|
"concurrently": "7.2.1",
|
|
42
42
|
"copyfiles": "2.4.1",
|