Compare commits

...
Author SHA1 Message Date
github-actions[bot]andgithub-actions[bot] 44671abb5f Version Packages (#1885)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-03-29 13:27:04 +02:00
Ken 2eb358ad88 ✨ Alert, Chips og ErrorSummary har nå bedre utvalg av tokens
📝 Token for Toggle-chips text

🎨 Alert bruker nye ikoner, token for ikonfarger

🎨 Alert bruker gamle ikoner, men nå med tokens

🎨 Error-summary bruker nå riktig token for listemarkering
2023-03-29 13:15:29 +02:00
Ken 6bdc02761b Merge branch 'codeblock' 2023-03-29 12:48:34 +02:00
Ken f52ef19be2 ♻️ Refactor copy-button
💄 Copybutton animasjon

💄 dropdown bakgrunn-animert

💄 bakgrunnsfarge på snippet

💄 Toc-animasjon

♻️ bruker en samlet copybutton-implementasjon
2023-03-29 12:48:23 +02:00
33 changed files with 163 additions and 114 deletions

No files matched your search

+2
View File
@@ -1,5 +1,7 @@
# @navikt/aksel-icons
## 2.8.6
## 2.8.5
## 2.8.4
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@navikt/aksel-icons",
"version": "2.8.5",
"version": "2.8.6",
"author": "Aksel | NAV",
"homepage": "https://aksel.nav.no/ikoner",
"repository": {
+2
View File
@@ -1,5 +1,7 @@
# @navikt/ds-codemod
## 2.8.6
## 2.8.5
## 2.8.4
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@navikt/ds-codemod",
"version": "2.8.5",
"version": "2.8.6",
"description": "Aksel codemods for NAVs designsystem",
"author": "Aksel | NAV designsystem team",
"license": "MIT",
+2 -2
View File
@@ -39,8 +39,8 @@
"build-pict": "svgr --silent --index-template index-template.js --out-dir src/pictograms pictograms"
},
"dependencies": {
"@navikt/ds-icons": "^2.8.5",
"@navikt/ds-react": "^2.8.5",
"@navikt/ds-icons": "^2.8.6",
"@navikt/ds-react": "^2.8.6",
"clsx": "^1.1.1"
},
"devDependencies": {
+6
View File
@@ -1,5 +1,11 @@
# @navikt/ds-css
## 2.8.6
### Patch Changes
- [`2eb358ad8`](https://github.com/navikt/aksel/commit/2eb358ad888979d21c385b3900973946f3f466be) Thanks [@KenAJoh](https://github.com/KenAJoh)! - Alert, Chips og ErrorSummary har nå bedre utvalg av tokens
## 2.8.5
### Patch Changes
+13
View File
@@ -37,6 +37,10 @@
background-color: var(--ac-alert-error-bg, var(--a-surface-danger-subtle));
}
.navds-alert--error > .navds-alert__icon {
color: var(--ac-alert-icon-error-color, var(--a-icon-danger));
}
.navds-alert--warning {
border-color: var(--ac-alert-warning-border, var(--a-border-warning));
background-color: var(--ac-alert-warning-bg, var(--a-surface-warning-subtle));
@@ -44,6 +48,7 @@
.navds-alert--warning > .navds-alert__icon {
background: radial-gradient(circle at 50% 57%, var(--a-surface-default) 32%, 0, transparent);
color: var(--ac-alert-icon-warning-color, var(--a-icon-warning));
}
.navds-alert--info {
@@ -51,11 +56,19 @@
background-color: var(--ac-alert-info-bg, var(--a-surface-info-subtle));
}
.navds-alert--info > .navds-alert__icon {
color: var(--ac-alert-icon-info-color, var(--a-icon-info));
}
.navds-alert--success {
border-color: var(--ac-alert-success-border, var(--a-border-success));
background-color: var(--ac-alert-success-bg, var(--a-surface-success-subtle));
}
.navds-alert--success > .navds-alert__icon {
color: var(--ac-alert-icon-success-color, var(--a-icon-success));
}
.navds-alert--inline {
background-color: transparent;
border: none;
+1
View File
@@ -36,6 +36,7 @@
.navds-chips__toggle {
box-shadow: inset 0 0 0 1px var(--ac-chip-toggle-border, var(--a-border-default));
background-color: var(--ac-chip-toggle-bg, var(--a-surface-neutral-subtle));
color: var(--ac-chip-toggle-text, var(--a-text-default));
}
.navds-chips__toggle:hover {
+1 -1
View File
@@ -23,7 +23,7 @@
}
.navds-error-summary__list > * {
color: var(--a-blue-500);
color: var(--ac-error-summary-list-dot, var(--a-text-action));
}
.navds-error-summary--small > .navds-error-summary__list {
+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "@navikt/ds-css",
"version": "2.8.5",
"version": "2.8.6",
"description": "CSS for NAV Designsystem",
"author": "Aksel | NAV designsystem team",
"keywords": [
@@ -20,7 +20,7 @@
"watch": "postcss --watch --use postcss-import -o dist/index.css index.css"
},
"devDependencies": {
"@navikt/ds-tokens": "^2.8.5",
"@navikt/ds-tokens": "^2.8.6",
"normalize.css": "^8.0.1",
"postcss": "^8.4.0",
"postcss-cli": "^9.0.0",
+8 -2
View File
@@ -2,12 +2,16 @@
"alert": {
"--ac-alert-error-border": "--a-border-danger",
"--ac-alert-error-bg": "--a-surface-danger-subtle",
"--ac-alert-icon-error-color": "--a-icon-danger",
"--ac-alert-warning-border": "--a-border-warning",
"--ac-alert-warning-bg": "--a-surface-warning-subtle",
"--ac-alert-icon-warning-color": "--a-icon-warning",
"--ac-alert-info-border": "--a-border-info",
"--ac-alert-info-bg": "--a-surface-info-subtle",
"--ac-alert-icon-info-color": "--a-icon-info",
"--ac-alert-success-border": "--a-border-success",
"--ac-alert-success-bg": "--a-surface-success-subtle"
"--ac-alert-success-bg": "--a-surface-success-subtle",
"--ac-alert-icon-success-color": "--a-icon-success"
},
"accordion": {
"--ac-accordion-header-bg": "--ac-surface-transparent",
@@ -80,6 +84,7 @@
"chips": {
"--ac-chip-toggle-border": "--a-border-default",
"--ac-chip-toggle-bg": "--a-surface-neutral-subtle",
"--ac-chip-toggle-text": "--a-text-default",
"--ac-chip-toggle-hover-border": "--a-border-strong",
"--ac-chip-toggle-hover-bg": "--a-surface-neutral-subtle-hover",
"--ac-chip-toggle-pressed-bg": "--a-surface-action-selected",
@@ -296,7 +301,8 @@
},
"errorsummary": {
"--ac-error-summary-bg": "--a-surface-default",
"--ac-error-summary-border": "--a-border-danger"
"--ac-error-summary-border": "--a-border-danger",
"--ac-error-summary-list-dot": "--a-text-action"
},
"checkbox-radio": {
"--ac-radio-checkbox-bg": "--a-surface-default",
+10
View File
@@ -1,5 +1,15 @@
# @navikt/ds-react
## 2.8.6
### Patch Changes
- [`2eb358ad8`](https://github.com/navikt/aksel/commit/2eb358ad888979d21c385b3900973946f3f466be) Thanks [@KenAJoh](https://github.com/KenAJoh)! - Alert, Chips og ErrorSummary har nå bedre utvalg av tokens
- Updated dependencies []:
- @navikt/aksel-icons@2.8.6
- @navikt/ds-icons@2.8.6
## 2.8.5
### Patch Changes
+3 -3
View File
@@ -1,6 +1,6 @@
{
"name": "@navikt/ds-react",
"version": "2.8.5",
"version": "2.8.6",
"description": "Aksel react-components for NAV designsystem",
"author": "Aksel | NAV designsystem team",
"license": "MIT",
@@ -37,8 +37,8 @@
},
"dependencies": {
"@floating-ui/react": "0.17.0",
"@navikt/aksel-icons": "^2.8.5",
"@navikt/ds-icons": "^2.8.5",
"@navikt/aksel-icons": "^2.8.6",
"@navikt/ds-icons": "^2.8.6",
"@radix-ui/react-tabs": "1.0.0",
"@radix-ui/react-toggle-group": "1.0.0",
"clsx": "^1.2.1",
+8 -8
View File
@@ -1,8 +1,8 @@
import {
ErrorColored,
InformationColored,
SuccessColored,
WarningColored,
ErrorFilled,
InformationFilled,
SuccessFilled,
WarningFilled,
} from "@navikt/ds-icons";
import cl from "clsx";
import React, { forwardRef } from "react";
@@ -37,13 +37,13 @@ export interface AlertProps extends React.HTMLAttributes<HTMLDivElement> {
const Icon = ({ variant, ...props }) => {
switch (variant) {
case "error":
return <ErrorColored title="Feil" {...props} />;
return <ErrorFilled title="Feil" {...props} />;
case "warning":
return <WarningColored title="Advarsel" {...props} />;
return <WarningFilled title="Advarsel" {...props} />;
case "info":
return <InformationColored title="Informasjon" {...props} />;
return <InformationFilled title="Informasjon" {...props} />;
case "success":
return <SuccessColored title="Suksess" {...props} />;
return <SuccessFilled title="Suksess" {...props} />;
default:
return null;
}
+2
View File
@@ -1,5 +1,7 @@
# @navikt/ds-tailwind
## 2.8.6
## 2.8.5
## 2.8.4
+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "@navikt/ds-tailwind",
"version": "2.8.5",
"version": "2.8.6",
"description": "Tailwind config based on @navikt/ds-tokens",
"author": "Aksel | NAV designsystem team",
"keywords": [
@@ -22,7 +22,7 @@
"directory": "@navikt/core/tailwind"
},
"devDependencies": {
"@navikt/ds-tokens": "^2.8.5",
"@navikt/ds-tokens": "^2.8.6",
"@types/jest": "^29.0.0",
"color": "4.2.3",
"jest": "^29.0.0",
+2
View File
@@ -1,5 +1,7 @@
# @navikt/ds-tokens
## 2.8.6
## 2.8.5
## 2.8.4
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@navikt/ds-tokens",
"version": "2.8.5",
"version": "2.8.6",
"description": "Design-tokens for NAV designsystem",
"author": "Aksel | NAV designsystem team",
"keywords": [
+2
View File
@@ -1,5 +1,7 @@
# @navikt/ds-icons
## 2.8.6
## 2.8.5
## 2.8.4
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@navikt/ds-icons",
"version": "2.8.5",
"version": "2.8.6",
"description": "Aksel icons for NAV",
"author": "Aksel | NAV designsystem team",
"repository": {
+2
View File
@@ -1,5 +1,7 @@
# @navikt/ds-css-internal
## 2.8.6
## 2.8.5
## 2.8.4
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@navikt/ds-css-internal",
"version": "2.8.5",
"version": "2.8.6",
"description": "CSS for NAV internal Designsystem-components",
"author": "Aksel | NAV designsystem team",
"keywords": [
+8
View File
@@ -1,5 +1,13 @@
# @navikt/ds-react-internal
## 2.8.6
### Patch Changes
- Updated dependencies [[`2eb358ad8`](https://github.com/navikt/aksel/commit/2eb358ad888979d21c385b3900973946f3f466be)]:
- @navikt/ds-react@2.8.6
- @navikt/ds-icons@2.8.6
## 2.8.5
### Patch Changes
+3 -3
View File
@@ -1,6 +1,6 @@
{
"name": "@navikt/ds-react-internal",
"version": "2.8.5",
"version": "2.8.6",
"description": "Aksel react components for internal UIs in NAV",
"author": "Aksel | NAV designsystem team",
"license": "MIT",
@@ -35,8 +35,8 @@
"watch": "tsc --watch -p tsconfig.esm.json"
},
"dependencies": {
"@navikt/ds-icons": "^2.8.5",
"@navikt/ds-react": "^2.8.5",
"@navikt/ds-icons": "^2.8.6",
"@navikt/ds-react": "^2.8.6",
"clsx": "^1.1.1",
"copy-to-clipboard": "^3.3.1"
},
+9 -9
View File
@@ -15,15 +15,15 @@
"website"
],
"dependencies": {
"@navikt/aksel-icons": "^2.8.5",
"@navikt/ds-codemod": "^2.8.5",
"@navikt/ds-css": "^2.8.5",
"@navikt/ds-css-internal": "^2.8.5",
"@navikt/ds-icons": "^2.8.5",
"@navikt/ds-react": "^2.8.5",
"@navikt/ds-react-internal": "^2.8.5",
"@navikt/ds-tailwind": "^2.8.5",
"@navikt/ds-tokens": "^2.8.5"
"@navikt/aksel-icons": "^2.8.6",
"@navikt/ds-codemod": "^2.8.6",
"@navikt/ds-css": "^2.8.6",
"@navikt/ds-css-internal": "^2.8.6",
"@navikt/ds-icons": "^2.8.6",
"@navikt/ds-react": "^2.8.6",
"@navikt/ds-react-internal": "^2.8.6",
"@navikt/ds-tailwind": "^2.8.6",
"@navikt/ds-tokens": "^2.8.6"
},
"devDependencies": {
"prettier-plugin-tailwindcss": "^0.2.3"
@@ -1,6 +1,6 @@
import { AkselSidebarT } from "@/types";
import { logNav } from "@/utils";
import { Expand } from "@navikt/ds-icons";
import { ChevronDownIcon } from "@navikt/aksel-icons";
import { BodyShort, Detail, Tag } from "@navikt/ds-react";
import cl from "clsx";
import Link from "next/link";
@@ -26,7 +26,7 @@ const NavItem = ({
{
"before:border-l-border-action-selected before:top-1/2 before:h-6 before:-translate-y-1/2 before:rounded-full before:border-l-[4px]":
isActive,
"before:h-full before:rounded-full before:border-l before:border-l-gray-200 hover:before:top-1/2 hover:before:h-6 hover:before:-translate-y-1/2 hover:before:border-l-2 hover:before:border-l-gray-400":
"before:h-full before:rounded-full before:border-l before:border-l-gray-200 hover:before:top-1/2 hover:before:h-6 hover:before:-translate-y-1/2 hover:before:border-l-2 hover:before:border-l-gray-400":
!isActive,
}
)}
@@ -99,11 +99,11 @@ const Dropdown = ({
>
<Detail
as="span"
className="group-focus-visible:shadow-focus group-hover:bg-surface-neutral-subtle group-active:bg-bg-surface-neutral-subtle-hover mt-6 flex w-full items-center justify-between rounded-sm pl-2 font-semibold first:mt-0"
className="group-focus-visible:shadow-focus group-hover:bg-surface-neutral-subtle group-active:bg-bg-surface-neutral-subtle-hover mt-6 flex w-full items-center justify-between rounded-sm pl-2 font-semibold transition first:mt-0"
>
{title}
<span className="flex h-6 w-6 items-center justify-center rounded">
<Expand
<span className="flex h-6 w-6 items-center justify-center rounded">
<ChevronDownIcon
className={cl("text-base", { "rotate-180": open })}
aria-hidden
title={!open ? `åpne ${title}` : `lukk ${title}`}
@@ -1,39 +1,16 @@
import { withErrorBoundary } from "@/error-boundary";
import { SanityT } from "@/lib";
import { ClipboardIcon } from "@navikt/aksel-icons";
import internal from "@navikt/ds-css-internal/tokens.json";
import core from "@navikt/ds-css/tokens.json";
import { Expand, SuccessStroke } from "@navikt/ds-icons";
import { Expand } from "@navikt/ds-icons";
import { BodyLong, Label, Link } from "@navikt/ds-react";
import cl from "classnames";
import copy from "copy-to-clipboard";
import CopyButton from "components/sanity-modules/code/CopyButton";
import NextLink from "next/link";
import { useEffect, useRef, useState } from "react";
import { useState } from "react";
const TokenTable = ({ node }: { node: SanityT.Schema.token_kategori }) => {
const [open, setOpen] = useState(false);
const [active, setActive] = useState(false);
const timeoutRef = useRef<NodeJS.Timeout>();
const handleCopy = () => {
setActive(true);
timeoutRef.current && clearTimeout(timeoutRef.current);
timeoutRef.current = setTimeout(() => setActive(false), 2000);
const str = Object.entries(tokens).reduce(
(prev, cur) =>
prev +
`${cur[0]}: ${
cur[1].startsWith("--") ? `var(${cur[1]})` : `${cur[1]}`
};\n`,
""
);
copy(str);
};
useEffect(() => {
return () => timeoutRef.current && clearTimeout(timeoutRef.current);
}, []);
const tokens: { [key: string]: string } | null =
node.title in core
@@ -77,22 +54,17 @@ const TokenTable = ({ node }: { node: SanityT.Schema.token_kategori }) => {
</table>
{(open || !showMore) && (
<div className="border-border-divider bg-surface-neutral-subtle relative w-full rounded-b border border-t-0 p-2">
<button
onClick={handleCopy}
className="text-text-default hover:bg-surface-neutral-subtle-hover focus-visible:shadow-focus absolute top-2 right-2 rounded px-1 py-1 text-2xl focus:outline-none"
>
{active ? (
<>
<SuccessStroke className="text-[1.5rem]" aria-hidden />
<span className="sr-only">Kopier formarterte tokens</span>
</>
) : (
<>
<ClipboardIcon aria-hidden />
<span className="sr-only">Kopier formarterte tokens</span>
</>
<CopyButton
variant="tokentable"
content={Object.entries(tokens).reduce(
(prev, cur) =>
prev +
`${cur[0]}: ${
cur[1].startsWith("--") ? `var(${cur[1]})` : `${cur[1]}`
};\n`,
""
)}
</button>
/>
<Label size="small" as="span" spacing>
Hva er dette?
</Label>
@@ -1,10 +1,9 @@
import { SuccessStroke } from "@navikt/ds-icons";
import { useRef, useState, useEffect } from "react";
import copy from "copy-to-clipboard";
import React from "react";
import cl from "clsx";
import style from "./index.module.css";
import { ClipboardIcon } from "@navikt/aksel-icons";
import { CheckmarkIcon, ClipboardIcon } from "@navikt/aksel-icons";
const copyCode = (content: string) =>
copy(content, {
@@ -13,12 +12,11 @@ const copyCode = (content: string) =>
interface CopyButtonProps {
content: string;
inTabs?: boolean;
inverted?: boolean;
variant?: "tokentable" | "codeblock";
}
const CopyButton = React.forwardRef<HTMLButtonElement, CopyButtonProps>(
({ content, inTabs, inverted = false }, ref) => {
({ content, variant = "codeblock" }, ref) => {
const [active, setActive] = useState(false);
const timeoutRef = useRef<NodeJS.Timeout>();
@@ -31,7 +29,7 @@ const CopyButton = React.forwardRef<HTMLButtonElement, CopyButtonProps>(
copyCode(content);
setActive(true);
timeoutRef.current && clearTimeout(timeoutRef.current);
timeoutRef.current = setTimeout(() => setActive(false), 3000);
timeoutRef.current = setTimeout(() => setActive(false), 1000);
};
return (
@@ -39,25 +37,39 @@ const CopyButton = React.forwardRef<HTMLButtonElement, CopyButtonProps>(
ref={ref}
aria-live={active ? "polite" : "off"}
role={active ? "alert" : undefined}
className={cl(style.copybutton, "navds-body-short group z-10", {
"flex w-16 items-center justify-center hover:bg-blue-50 focus:outline-none focus-visible:shadow-[inset_0_0_0_2px_var(--a-border-focus)]":
inTabs,
"text-text-default focus-visible:outline-focus absolute top-2 right-2 rounded bg-gray-100 px-2 py-1 hover:bg-gray-900/10 hover:underline focus-visible:outline-2":
!inTabs && inverted,
"text-text-on-inverted focus-visible:shadow-focus-inverted absolute top-2 right-2 flex h-10 w-10 items-center justify-center rounded bg-gray-900 hover:bg-gray-800 focus:outline-none":
!inTabs && !inverted,
})}
className={cl(
style.copybutton,
"navds-body-short group/button absolute top-2 right-2 z-10 flex h-10 w-10 items-center justify-center overflow-hidden rounded backdrop-blur transition duration-75 focus:outline-none",
{
"hover:text-text-on-inverted focus-visible:shadow-focus-inverted text-3xl text-gray-100 hover:bg-white/20 ":
variant === "codeblock",
"hover:text-deepblue-800 focus-visible:shadow-focus text-text-subtle hover:bg-surface-hover text-2xl":
variant === "tokentable",
}
)}
onClick={handleCopy}
>
{active ? (
<SuccessStroke className="text-[1.5rem]" title="Kopierte kodesnutt" />
) : (
<ClipboardIcon
fontSize="2rem"
className="opacity-90 group-hover:opacity-100"
title="Kopier kodesnutt"
/>
)}
<span
aria-hidden={!active}
className={cl(
"absolute inset-0 grid place-content-center transition duration-300",
{
"pointer-events-none translate-y-1.5 opacity-0": !active,
}
)}
>
<CheckmarkIcon title="Kopierte kodesnutt" />
</span>
<span
aria-hidden={active}
className={cl("flex items-center transition duration-300", {
"pointer-events-none -translate-y-1.5 opacity-0": active,
"group-hover/button:opacity-100": !active,
})}
>
<ClipboardIcon title="Kopier kodesnutt" />
</span>
</button>
);
}
@@ -27,7 +27,7 @@ const CodeSnippet = ({
<div
className={cl(
className,
"relative mb-8 grid max-h-96 overflow-x-auto rounded bg-gray-900"
"relative mb-8 grid max-h-96 overflow-x-auto rounded bg-[#0f172a]"
)}
{...props}
>
@@ -39,7 +39,7 @@ const CodeSnippet = ({
theme={undefined}
>
{({ tokens, getLineProps, getTokenProps }) => (
<pre className="text-text-on-inverted relative m-0 overflow-x-auto overflow-y-auto rounded-lg bg-gray-900 p-4 pr-16 font-mono">
<pre className="text-text-on-inverted relative m-0 overflow-x-auto overflow-y-auto rounded-lg bg-[#0f172a] p-4 pr-16 font-mono">
{tokens.map((line, i) => (
<div
key={i}
@@ -27,7 +27,11 @@ const List = ({ prop, parent }: { prop: any; parent: string }) => {
prop?.required ? "" : "?"
} `}</span>
) : (
<Tooltip content={`${prop.defaultValue}`} arrow={false} delay={0}>
<Tooltip
content={`default: ${prop.defaultValue}`}
arrow={false}
delay={0}
>
<span className="mr-2 cursor-pointer border-b border-dashed border-gray-600 font-semibold">{`${
prop.name
}${prop?.required ? "" : "?"}`}</span>
@@ -157,7 +157,7 @@ export function TableOfContentsv2({
<BodyShort
as="li"
size="small"
className={cl("py-1", {
className={cl("relative py-1", {
"font-semibold": link.id === activeId,
"": link.id !== activeId,
})}
@@ -166,7 +166,7 @@ export function TableOfContentsv2({
href={`#${link.id}`}
onClick={() => handleFocus(`${link.id}`)}
className={cl(
"block max-w-full no-underline hover:underline",
"z-10 block max-w-full no-underline hover:underline",
{
"text-deepblue-800":
link.id === activeId &&
@@ -179,7 +179,7 @@ export function TableOfContentsv2({
</Link>
{link?.lvl3?.length > 0 && (
<ul
className={cl("animate-fadeIn pt-1", {
className={cl("animate-toc z-10 pt-1 ", {
hidden: link.id !== activeId,
})}
>
+5
View File
@@ -115,6 +115,10 @@ module.exports = {
"0%": { opacity: 0 },
"100%": { opacity: 1 },
},
toc: {
"0%": { opacity: 0.2 },
"100%": { opacity: 1 },
},
expand: {
"0%": {
opacity: 0.2,
@@ -191,6 +195,7 @@ module.exports = {
shimmerBg: "shimmerBg 15s ease infinite",
fadeInRight: "fadeInRight 0.30s ease-in-out forwards",
fadeIn: "fadeIn 0.15s cubic-bezier(0.65, 0, 0.35, 1)",
toc: "toc 0.15s cubic-bezier(0.65, 0, 0.35, 1)",
expand: "expand 0.15s cubic-bezier(0.215, 0.61, 0.355, 1)",
expandLg: "expandLg 0.15s cubic-bezier(0.215, 0.61, 0.355, 1)",
popup: "popup 2s cubic-bezier(0.215, 0.61, 0.355, 1)",
+2 -2
View File
@@ -10,8 +10,8 @@
"preview": "vite preview"
},
"dependencies": {
"@navikt/ds-css": "2.8.5",
"@navikt/ds-react": "2.8.5",
"@navikt/ds-css": "2.8.6",
"@navikt/ds-react": "2.8.6",
"react": "^18.0.0",
"react-dom": "^18.0.0"
},