@navikt/ds-react 1.2.1 → 1.2.4
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/_docs.json +269 -269
- package/esm/chat/Chat.d.ts +1 -1
- package/package.json +3 -3
- package/src/chat/Chat.tsx +1 -1
- package/src/chat/chat.stories.tsx +1 -5
package/esm/chat/Chat.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@navikt/ds-react",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.4",
|
|
4
4
|
"description": "NAV designsystem react components",
|
|
5
5
|
"author": "NAV Designsystem team",
|
|
6
6
|
"license": "MIT",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@floating-ui/react-dom-interactions": "0.9.2",
|
|
39
|
-
"@navikt/ds-icons": "^1.2.
|
|
39
|
+
"@navikt/ds-icons": "^1.2.4",
|
|
40
40
|
"@radix-ui/react-tabs": "1.0.0",
|
|
41
41
|
"@radix-ui/react-toggle-group": "1.0.0",
|
|
42
42
|
"clsx": "^1.1.1",
|
|
@@ -74,5 +74,5 @@
|
|
|
74
74
|
"optional": true
|
|
75
75
|
}
|
|
76
76
|
},
|
|
77
|
-
"gitHead": "
|
|
77
|
+
"gitHead": "ad3f7e174c67fb9df7626ffc3aedaa6e4bda96c1"
|
|
78
78
|
}
|
package/src/chat/Chat.tsx
CHANGED
|
@@ -118,11 +118,7 @@ export const Position = () => {
|
|
|
118
118
|
|
|
119
119
|
export const Avatar = () => {
|
|
120
120
|
return (
|
|
121
|
-
<Chat
|
|
122
|
-
avatar={<Illustration />}
|
|
123
|
-
name={"Ola Normann"}
|
|
124
|
-
timestamp={"01.01.21 14:00"}
|
|
125
|
-
>
|
|
121
|
+
<Chat avatar={<Illustration />} timestamp={"01.01.21 14:00"}>
|
|
126
122
|
<Chat.Bubble>
|
|
127
123
|
Aute minim nisi sunt mollit duis sunt nulla minim non proident.
|
|
128
124
|
</Chat.Bubble>
|