@navikt/aksel-stylelint 4.1.6 → 4.2.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 +32 -17
- package/dist/tokens.json +3 -2
- 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, 21 Jun 2023 10:02:14 GMT
|
|
5
5
|
*/
|
|
6
6
|
:root, :host {
|
|
7
7
|
--a-spacing-05: 0.125rem;
|
|
@@ -1697,13 +1697,11 @@ body,
|
|
|
1697
1697
|
.navds-chat {
|
|
1698
1698
|
display: flex;
|
|
1699
1699
|
align-items: flex-end;
|
|
1700
|
-
gap: var(--a-spacing-
|
|
1701
|
-
|
|
1700
|
+
gap: var(--a-spacing-3);
|
|
1701
|
+
max-width: 40.75rem;
|
|
1702
1702
|
}
|
|
1703
1703
|
.navds-chat--right {
|
|
1704
1704
|
flex-direction: row-reverse;
|
|
1705
|
-
padding-right: 0;
|
|
1706
|
-
padding-left: var(--a-spacing-16);
|
|
1707
1705
|
}
|
|
1708
1706
|
.navds-chat__bubble-wrapper {
|
|
1709
1707
|
list-style: none;
|
|
@@ -1718,15 +1716,19 @@ body,
|
|
|
1718
1716
|
}
|
|
1719
1717
|
.navds-chat__avatar {
|
|
1720
1718
|
align-items: center;
|
|
1721
|
-
|
|
1722
|
-
color: var(--ac-chat-avatar-
|
|
1719
|
+
box-shadow: var(--a-shadow-xsmall);
|
|
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));
|
|
1723
1722
|
border-radius: var(--a-border-radius-full);
|
|
1723
|
+
color: var(--ac-chat-avatar-color, var(--a-text-default));
|
|
1724
1724
|
display: flex;
|
|
1725
1725
|
flex-shrink: 0;
|
|
1726
1726
|
justify-content: center;
|
|
1727
1727
|
overflow: hidden;
|
|
1728
|
-
height:
|
|
1729
|
-
width:
|
|
1728
|
+
height: 2.5rem;
|
|
1729
|
+
width: 2.5rem;
|
|
1730
|
+
font-size: 1.06rem;
|
|
1731
|
+
letter-spacing: 0.024rem;
|
|
1730
1732
|
}
|
|
1731
1733
|
.navds-chat__avatar svg {
|
|
1732
1734
|
align-self: center;
|
|
@@ -1734,11 +1736,11 @@ body,
|
|
|
1734
1736
|
width: 100%;
|
|
1735
1737
|
}
|
|
1736
1738
|
.navds-chat__bubble {
|
|
1737
|
-
padding:
|
|
1738
|
-
box-shadow: var(--a-shadow-
|
|
1739
|
+
padding: var(--a-spacing-4);
|
|
1740
|
+
box-shadow: var(--a-shadow-xsmall);
|
|
1739
1741
|
width: fit-content;
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
+
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));
|
|
1742
1744
|
border-radius: var(--a-border-radius-xlarge);
|
|
1743
1745
|
border-bottom-left-radius: 2px;
|
|
1744
1746
|
display: flex;
|
|
@@ -1749,11 +1751,24 @@ body,
|
|
|
1749
1751
|
border-radius: var(--a-border-radius-xlarge);
|
|
1750
1752
|
border-bottom-right-radius: 2px;
|
|
1751
1753
|
}
|
|
1754
|
+
.navds-chat--small .navds-chat__bubble {
|
|
1755
|
+
padding: var(--a-spacing-3);
|
|
1756
|
+
}
|
|
1757
|
+
.navds-chat--info .navds-chat__bubble,
|
|
1758
|
+
.navds-chat--info .navds-chat__avatar {
|
|
1759
|
+
background-color: var(--a-surface-info-subtle);
|
|
1760
|
+
}
|
|
1761
|
+
.navds-chat--neutral .navds-chat__bubble,
|
|
1762
|
+
.navds-chat--neutral .navds-chat__avatar {
|
|
1763
|
+
background-color: var(--a-surface-default);
|
|
1764
|
+
}
|
|
1752
1765
|
.navds-chat__top-text {
|
|
1753
1766
|
color: var(--ac-chat-top-text, var(--a-text-default));
|
|
1754
1767
|
display: flex;
|
|
1755
1768
|
gap: var(--a-spacing-2);
|
|
1756
1769
|
align-items: baseline;
|
|
1770
|
+
font-weight: normal;
|
|
1771
|
+
margin: 0;
|
|
1757
1772
|
}
|
|
1758
1773
|
.navds-chat--right .navds-chat__top-text {
|
|
1759
1774
|
align-self: flex-end;
|
|
@@ -1770,9 +1785,6 @@ body,
|
|
|
1770
1785
|
.navds-chat--right .navds-chat__top-text--left {
|
|
1771
1786
|
align-self: flex-start;
|
|
1772
1787
|
}
|
|
1773
|
-
.navds-chat__name {
|
|
1774
|
-
font-weight: var(--a-font-weight-bold);
|
|
1775
|
-
}
|
|
1776
1788
|
.navds-chips {
|
|
1777
1789
|
display: flex;
|
|
1778
1790
|
gap: var(--a-spacing-2);
|
|
@@ -3219,7 +3231,7 @@ body,
|
|
|
3219
3231
|
}
|
|
3220
3232
|
.navds-help-text__popover.navds-popover {
|
|
3221
3233
|
background-color: var(--ac-help-text-popover-bg, var(--a-surface-info-subtle));
|
|
3222
|
-
max-width: 65ch;
|
|
3234
|
+
max-width: min(65ch, 90vw);
|
|
3223
3235
|
|
|
3224
3236
|
--ac-popover-border: var(--a-border-info);
|
|
3225
3237
|
}
|
|
@@ -4046,6 +4058,9 @@ button.navds-internalheader__title:active,
|
|
|
4046
4058
|
.navds-timeline__row-periods > li {
|
|
4047
4059
|
list-style-type: none;
|
|
4048
4060
|
}
|
|
4061
|
+
.navds-timeline__row-periods:focus {
|
|
4062
|
+
outline: none;
|
|
4063
|
+
}
|
|
4049
4064
|
.navds-timeline__period {
|
|
4050
4065
|
height: 100%;
|
|
4051
4066
|
border-radius: var(--a-border-radius-full);
|
package/dist/tokens.json
CHANGED
|
@@ -80,9 +80,10 @@
|
|
|
80
80
|
"--ac-button-tertiary-neutral-active-hover-bg": "--a-surface-neutral-active"
|
|
81
81
|
},
|
|
82
82
|
"chat": {
|
|
83
|
-
"--ac-chat-
|
|
83
|
+
"--ac-chat-border-color": "--a-border-subtle",
|
|
84
|
+
"--ac-chat-avatar-bg": "--a-surface-neutral-subtle",
|
|
84
85
|
"--ac-chat-avatar-color": "--a-text-default",
|
|
85
|
-
"--ac-chat-bubble-bg": "--a-
|
|
86
|
+
"--ac-chat-bubble-bg": "--a-surface-neutral-subtle",
|
|
86
87
|
"--ac-chat-top-text": "--a-text-default"
|
|
87
88
|
},
|
|
88
89
|
"chips": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@navikt/aksel-stylelint",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.2.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": "^4.
|
|
39
|
-
"@navikt/ds-tokens": "^4.
|
|
38
|
+
"@navikt/ds-css": "^4.2.0",
|
|
39
|
+
"@navikt/ds-tokens": "^4.2.0",
|
|
40
40
|
"@types/jest": "^29.0.0",
|
|
41
41
|
"concurrently": "7.2.1",
|
|
42
42
|
"copyfiles": "2.4.1",
|