@navikt/ds-react 4.10.0 → 4.10.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@navikt/ds-react",
3
- "version": "4.10.0",
3
+ "version": "4.10.2",
4
4
  "description": "Aksel react-components for NAV designsystem",
5
5
  "author": "Aksel | NAV designsystem team",
6
6
  "license": "MIT",
@@ -38,7 +38,7 @@
38
38
  },
39
39
  "dependencies": {
40
40
  "@floating-ui/react": "0.24.1",
41
- "@navikt/aksel-icons": "^4.10.0",
41
+ "@navikt/aksel-icons": "^4.10.2",
42
42
  "@radix-ui/react-tabs": "1.0.0",
43
43
  "@radix-ui/react-toggle-group": "1.0.0",
44
44
  "clsx": "^1.2.1",
@@ -197,3 +197,19 @@ export const Variants = {
197
197
  iconRight: false,
198
198
  },
199
199
  };
200
+
201
+ export const InlineLink = {
202
+ render: () => (
203
+ <BodyLong>
204
+ Officia incididunt Culpa sit aute est duis minim in in voluptate velit
205
+ Incididunt laborum nisi nisi Lorem officia adipisicing non veniam{" "}
206
+ <Link href="#" inlineText={true}>
207
+ lenke til ny side
208
+ <PlusCircleFillIcon aria-hidden />
209
+ </Link>{" "}
210
+ Culpa sit aute est duis minim in in voluptate velit Incididunt laborum
211
+ nisi nisi Lorem officia adipisicing non veniam occaecat commodo id ad
212
+ aliquip.
213
+ </BodyLong>
214
+ ),
215
+ };