-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1480 from danskernesdigitalebibliotek/develop
Release 2024.41.0
- Loading branch information
Showing
139 changed files
with
8,531 additions
and
12,390 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
const config = { | ||
stories: ["../src/**/*.stories.@(js|jsx|mjs|ts|tsx)"], | ||
|
||
addons: [ | ||
"@storybook/addon-essentials", | ||
"@storybook/addon-queryparams", | ||
"@storybook/addon-webpack5-compiler-babel", | ||
"@chromatic-com/storybook" | ||
], | ||
|
||
typescript: { | ||
check: true, | ||
checkOptions: {}, | ||
reactDocgen: "react-docgen-typescript", | ||
reactDocgenTypescriptOptions: { | ||
shouldExtractLiteralValuesFromEnum: true, | ||
propFilter: (prop) => | ||
prop.parent ? !/node_modules/.test(prop.parent.fileName) : true | ||
} | ||
}, | ||
|
||
framework: { | ||
name: "@storybook/react-webpack5", | ||
options: {} | ||
}, | ||
|
||
docs: { | ||
autodocs: "tag" | ||
} | ||
}; | ||
|
||
export default config; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
// eslint-disable-next-line import/no-extraneous-dependencies | ||
const { defineConfig } = require("cypress"); | ||
|
||
module.exports = defineConfig({ | ||
projectId: "4trcdv", | ||
defaultCommandTimeout: 10000, | ||
pageLoadTimeout: 10000, | ||
requestTimeout: 30000, | ||
testFiles: "@(apps|components)/**/*.test.@(ts|tsx)", | ||
integrationFolder: "./src", | ||
retries: { | ||
runMode: 3, | ||
openMode: 0 | ||
}, | ||
e2e: { | ||
baseUrl: "http://localhost:57021" | ||
} | ||
}); |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
6 changes: 3 additions & 3 deletions
6
...s/adgangsplatformen/library-token.dev.tsx → ...gangsplatformen/library-token.stories.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
import { ComponentMeta, ComponentStory } from "@storybook/react"; | ||
import type { Meta, StoryFn } from "@storybook/react"; | ||
import React from "react"; | ||
import LibraryToken from "./library-token"; | ||
|
||
export default { | ||
title: "SB Utilities / Set Library Token", | ||
component: LibraryToken | ||
} as ComponentMeta<typeof LibraryToken>; | ||
} as Meta<typeof LibraryToken>; | ||
|
||
export const LibraryTokenApp: ComponentStory<typeof LibraryToken> = () => { | ||
export const LibraryTokenApp: StoryFn<typeof LibraryToken> = () => { | ||
return <LibraryToken />; | ||
}; |
6 changes: 3 additions & 3 deletions
6
...apps/adgangsplatformen/user-token.dev.tsx → .../adgangsplatformen/user-token.stories.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
import { ComponentMeta, ComponentStory } from "@storybook/react"; | ||
import type { Meta, StoryFn } from "@storybook/react"; | ||
import React from "react"; | ||
import UserToken from "./user-token"; | ||
|
||
export default { | ||
title: "SB Utilities / Set User Token", | ||
component: UserToken | ||
} as ComponentMeta<typeof UserToken>; | ||
} as Meta<typeof UserToken>; | ||
|
||
export const UserTokenApp: ComponentStory<typeof UserToken> = () => { | ||
export const UserTokenApp: StoryFn<typeof UserToken> = () => { | ||
return <UserToken />; | ||
}; |
Oops, something went wrong.