Skip to content

Commit

Permalink
Merge pull request #67 from yoching/storybook-update
Browse files Browse the repository at this point in the history
Storybook update
  • Loading branch information
hojberg authored Aug 13, 2023
2 parents 4cb4d10 + 0397ddd commit d096783
Show file tree
Hide file tree
Showing 5 changed files with 23,594 additions and 21,797 deletions.
16 changes: 16 additions & 0 deletions storybook/.babelrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"sourceType": "unambiguous",
"presets": [
[
"@babel/preset-env",
{
"targets": {
"chrome": 100,
"safari": 15,
"firefox": 91
}
}
]
],
"plugins": []
}
14 changes: 11 additions & 3 deletions storybook/.storybook/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,22 @@ module.exports = {
"../stories/**/*.stories.mdx",
"../stories/**/*.stories.@(js|jsx|ts|tsx)",
],

addons: [
"@storybook/addon-links",
"@storybook/addon-essentials",
"@storybook/addon-interactions",
'storybook-dark-mode',
],
framework: "@storybook/html",
core: {
builder: "webpack5",

framework: {
name: "@storybook/html-webpack5",
options: {}
},

staticDirs: ["../static"],

docs: {
autodocs: true
}
};
85 changes: 45 additions & 40 deletions storybook/elm.json
Original file line number Diff line number Diff line change
@@ -1,44 +1,49 @@
{
"type": "application",
"source-directories": ["../src", "stories"],
"elm-version": "0.19.1",
"dependencies": {
"direct": {
"NoRedInk/elm-json-decode-pipeline": "1.0.1",
"avh4/elm-color": "1.0.0",
"danhandrea/elm-date-format": "2.0.2",
"elm/browser": "1.0.2",
"elm/core": "1.0.5",
"elm/html": "1.0.0",
"elm/http": "2.0.0",
"elm/json": "1.1.3",
"elm/parser": "1.1.0",
"elm/regex": "1.0.0",
"elm/svg": "1.0.1",
"elm/time": "1.0.0",
"elm/url": "1.0.0",
"elm-community/html-extra": "3.4.0",
"elm-community/json-extra": "4.3.0",
"elm-community/list-extra": "8.7.0",
"elm-community/maybe-extra": "5.3.0",
"elm-community/string-extra": "4.0.1",
"krisajenkins/remotedata": "6.0.1",
"mgold/elm-nonempty-list": "4.2.0",
"noahzgordon/elm-color-extra": "1.0.2",
"rtfeldman/elm-iso8601-date-strings": "1.1.4",
"stoeffel/set-extra": "1.2.3",
"wernerdegroot/listzipper": "4.0.0"
"type": "application",
"source-directories": [
"../src",
"stories"
],
"elm-version": "0.19.1",
"dependencies": {
"direct": {
"NoRedInk/elm-json-decode-pipeline": "1.0.1",
"avh4/elm-color": "1.0.0",
"danhandrea/elm-date-format": "2.0.2",
"elm/browser": "1.0.2",
"elm/core": "1.0.5",
"elm/html": "1.0.0",
"elm/http": "2.0.0",
"elm/json": "1.1.3",
"elm/parser": "1.1.0",
"elm/regex": "1.0.0",
"elm/svg": "1.0.1",
"elm/time": "1.0.0",
"elm/url": "1.0.0",
"elm-community/html-extra": "3.4.0",
"elm-community/json-extra": "4.3.0",
"elm-community/list-extra": "8.7.0",
"elm-community/maybe-extra": "5.3.0",
"elm-community/string-extra": "4.0.1",
"justinmimbs/time-extra": "1.1.1",
"krisajenkins/remotedata": "6.0.1",
"mgold/elm-nonempty-list": "4.2.0",
"noahzgordon/elm-color-extra": "1.0.2",
"rtfeldman/elm-iso8601-date-strings": "1.1.4",
"stoeffel/set-extra": "1.2.3",
"wernerdegroot/listzipper": "4.0.0"
},
"indirect": {
"elm/bytes": "1.0.8",
"elm/file": "1.0.5",
"elm/random": "1.0.0",
"elm/virtual-dom": "1.0.3",
"fredcy/elm-parseint": "2.0.1",
"justinmimbs/date": "4.0.1"
}
},
"indirect": {
"elm/bytes": "1.0.8",
"elm/file": "1.0.5",
"elm/random": "1.0.0",
"elm/virtual-dom": "1.0.3",
"fredcy/elm-parseint": "2.0.1"
"test-dependencies": {
"direct": {},
"indirect": {}
}
},
"test-dependencies": {
"direct": {},
"indirect": {}
}
}
Loading

0 comments on commit d096783

Please sign in to comment.