@navikt/aksel-stylelint 4.4.0 → 4.4.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 +6 -6
- package/dist/tokens.json +0 -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 Mon, 26 Jun 2023 11:41:10 GMT
|
|
5
5
|
*/
|
|
6
6
|
:root, :host {
|
|
7
7
|
--a-spacing-05: 0.125rem;
|
|
@@ -1718,7 +1718,6 @@ body,
|
|
|
1718
1718
|
align-items: center;
|
|
1719
1719
|
box-shadow: var(--a-shadow-xsmall);
|
|
1720
1720
|
background-color: var(--ac-chat-avatar-bg, var(--a-surface-neutral-subtle));
|
|
1721
|
-
border: 1px solid var(--ac-chat-border-color, var(--a-border-subtle));
|
|
1722
1721
|
border-radius: var(--a-border-radius-full);
|
|
1723
1722
|
color: var(--ac-chat-avatar-color, var(--a-text-default));
|
|
1724
1723
|
display: flex;
|
|
@@ -1727,20 +1726,21 @@ body,
|
|
|
1727
1726
|
overflow: hidden;
|
|
1728
1727
|
height: 2.5rem;
|
|
1729
1728
|
width: 2.5rem;
|
|
1729
|
+
line-height: 2.5rem; /* Makes text properly vertically centered in Chrome */
|
|
1730
1730
|
font-size: 1.06rem;
|
|
1731
1731
|
letter-spacing: 0.024rem;
|
|
1732
1732
|
}
|
|
1733
1733
|
.navds-chat__avatar svg {
|
|
1734
1734
|
align-self: center;
|
|
1735
|
-
height: 100%;
|
|
1736
1735
|
width: 100%;
|
|
1736
|
+
max-width: 1.5rem;
|
|
1737
|
+
max-height: 1.5rem;
|
|
1737
1738
|
}
|
|
1738
1739
|
.navds-chat__bubble {
|
|
1739
1740
|
padding: var(--a-spacing-4);
|
|
1740
1741
|
box-shadow: var(--a-shadow-xsmall);
|
|
1741
1742
|
width: fit-content;
|
|
1742
1743
|
background-color: var(--ac-chat-bubble-bg, var(--a-surface-neutral-subtle));
|
|
1743
|
-
border: 1px solid var(--ac-chat-border-color, var(--a-border-subtle));
|
|
1744
1744
|
border-radius: var(--a-border-radius-xlarge);
|
|
1745
1745
|
border-bottom-left-radius: 2px;
|
|
1746
1746
|
display: flex;
|
|
@@ -1758,8 +1758,8 @@ body,
|
|
|
1758
1758
|
.navds-chat--info .navds-chat__avatar {
|
|
1759
1759
|
background-color: var(--a-surface-info-subtle);
|
|
1760
1760
|
}
|
|
1761
|
-
.navds-chat--
|
|
1762
|
-
.navds-chat--
|
|
1761
|
+
.navds-chat--subtle .navds-chat__bubble,
|
|
1762
|
+
.navds-chat--subtle .navds-chat__avatar {
|
|
1763
1763
|
background-color: var(--a-surface-default);
|
|
1764
1764
|
}
|
|
1765
1765
|
.navds-chat__top-text {
|
package/dist/tokens.json
CHANGED
|
@@ -80,7 +80,6 @@
|
|
|
80
80
|
"--ac-button-tertiary-neutral-active-hover-bg": "--a-surface-neutral-active"
|
|
81
81
|
},
|
|
82
82
|
"chat": {
|
|
83
|
-
"--ac-chat-border-color": "--a-border-subtle",
|
|
84
83
|
"--ac-chat-avatar-bg": "--a-surface-neutral-subtle",
|
|
85
84
|
"--ac-chat-avatar-color": "--a-text-default",
|
|
86
85
|
"--ac-chat-bubble-bg": "--a-surface-neutral-subtle",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@navikt/aksel-stylelint",
|
|
3
|
-
"version": "4.4.
|
|
3
|
+
"version": "4.4.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.4.
|
|
39
|
-
"@navikt/ds-tokens": "^4.4.
|
|
38
|
+
"@navikt/ds-css": "^4.4.1",
|
|
39
|
+
"@navikt/ds-tokens": "^4.4.1",
|
|
40
40
|
"@types/jest": "^29.0.0",
|
|
41
41
|
"concurrently": "7.2.1",
|
|
42
42
|
"copyfiles": "2.4.1",
|