From 34039635f25e609fba17204551e0b283255a5122 Mon Sep 17 00:00:00 2001 From: Simon Jentsch Date: Mon, 31 May 2021 17:38:56 +0200 Subject: [PATCH 1/4] chore: Add Bojagi --- package.json | 1 + yarn.lock | 924 +++++++++++++++++++++++++++++++++++++++++++++++++-- 2 files changed, 890 insertions(+), 35 deletions(-) diff --git a/package.json b/package.json index ede44edae..b7abda46f 100644 --- a/package.json +++ b/package.json @@ -56,6 +56,7 @@ "@babel/node": "^7.2.2", "@babel/preset-env": "^7.3.1", "@babel/preset-react": "^7.0.0", + "@bojagi/cli": "^0.17.1", "@catho/quantum-storybook-ui": "^1.3.1", "@semantic-release/commit-analyzer": "^8.0.1", "@semantic-release/exec": "^5.0.0", diff --git a/yarn.lock b/yarn.lock index ef0f1c3b7..c1bec17f7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1164,6 +1164,45 @@ resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39" integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw== +"@bojagi/cli@^0.17.1": + version "0.17.1" + resolved "https://registry.yarnpkg.com/@bojagi/cli/-/cli-0.17.1.tgz#1d2ad4938e18fad64ead1b294674dc99ac41a14d" + integrity sha512-VkXxRK0/mbP0zkEDktZNrT1Kki9CoO6tWcjTQoC7yr7+/UcifPxuLZH+QOMw2t24L4JT9ZU/H1oyMS873zX+BA== + dependencies: + "@bojagi/types" "^0.9.0" + adm-zip "^0.4.13" + axios "^0.21.1" + chalk "2.4.2" + commander "4.1.1" + connect-history-api-fallback "^1.6.0" + cors "^2.8.5" + debug "^4.2.0" + etag "^1.8.1" + expose-loader "^0.7.5" + express "^4.17.1" + glob "^7.1.6" + ink "^3.0.8" + ink-link "^2.0.0" + ink-select-input "^4.2.0" + ink-spinner "^4.0.1" + ink-text-input "^4.0.1" + jsdom "^16.3.0" + jsdom-global "^3.0.2" + memory-fs "^0.5.0" + node-emoji "^1.10.0" + open "^7.3.0" + rimraf "^2.6.3" + schema-utils "2.7.1" + semver "^7.3.4" + simple-git "^2.4.0" + webpack-dev-server "^3.11.2" + webpack-merge "^5.1.4" + +"@bojagi/types@^0.9.0": + version "0.9.0" + resolved "https://registry.yarnpkg.com/@bojagi/types/-/types-0.9.0.tgz#7c6b6186895d2778ceec82f73ab9c07c14b6c754" + integrity sha512-O9riw3ksb6bR2tnlJE3DlLXQ64trlFe4YtxKLmEBI9oM9anKg5LPnKBq0pWKctlHNK90MXoUSYNApLtNXTdQiw== + "@catho/quantum-storybook-ui@^1.3.1": version "1.3.1" resolved "https://registry.yarnpkg.com/@catho/quantum-storybook-ui/-/quantum-storybook-ui-1.3.1.tgz#32bf5db9ffd9a7cf086b4b9dd2965bc713d25a42" @@ -1564,6 +1603,18 @@ "@types/yargs" "^15.0.0" chalk "^4.0.0" +"@kwsites/file-exists@^1.1.1": + version "1.1.1" + resolved "https://registry.yarnpkg.com/@kwsites/file-exists/-/file-exists-1.1.1.tgz#ad1efcac13e1987d8dbaf235ef3be5b0d96faa99" + integrity sha512-m9/5YGR18lIwxSFDwfE3oA7bWuq9kdau6ugN4H2rJeyhFQZcG9AgSHkQtSD15a8WvTgfz9aikZMrKPHvbpqFiw== + dependencies: + debug "^4.1.1" + +"@kwsites/promise-deferred@^1.1.1": + version "1.1.1" + resolved "https://registry.yarnpkg.com/@kwsites/promise-deferred/-/promise-deferred-1.1.1.tgz#8ace5259254426ccef57f3175bc64ed7095ed919" + integrity sha512-GaHYm+c0O9MjZRu0ongGBRbinu8gVAMd2UZjji6jVmqKtZluZnptXGWhz1E8j8D2HJ3f/yMxKAUC0b+57wncIw== + "@loki/browser@^0.24.0": version "0.24.0" resolved "https://registry.yarnpkg.com/@loki/browser/-/browser-0.24.0.tgz#5f91521af2784af2d3ef2d894d509a9f07151df7" @@ -2721,7 +2772,7 @@ resolved "https://registry.yarnpkg.com/@types/glob-base/-/glob-base-0.3.0.tgz#a581d688347e10e50dd7c17d6f2880a10354319d" integrity sha1-pYHWiDR+EOUN18F9byiAoQNUMZ0= -"@types/glob@*": +"@types/glob@*", "@types/glob@^7.1.1": version "7.1.3" resolved "https://registry.yarnpkg.com/@types/glob/-/glob-7.1.3.tgz#e6ba80f36b7daad2c685acd9266382e68985c183" integrity sha512-SEYeGAIQIQX8NN6LDKprLjbrd5dARM5EXsd8GI/A5l0apYI1fGMWgPHSe4ZKL4eozlAyI+doUE9XbYS4xCkQ1w== @@ -3169,7 +3220,7 @@ abbrev@1, abbrev@~1.1.1: resolved "https://registry.yarnpkg.com/abbrev/-/abbrev-1.1.1.tgz#f8f2c887ad10bf67f634f005b6987fed3179aac8" integrity sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q== -accepts@~1.3.7: +accepts@~1.3.4, accepts@~1.3.5, accepts@~1.3.7: version "1.3.7" resolved "https://registry.yarnpkg.com/accepts/-/accepts-1.3.7.tgz#531bc726517a3b2b41f850021c6cc15eaab507cd" integrity sha512-Il80Qs2WjYlJIBNzNkK6KYqlVMTbZLXgHx2oT0pU/fjRHyEp+PEfEPY0R3WCwAGVOtauxh1hOxNgIf5bv7dQpA== @@ -3210,11 +3261,21 @@ acorn@^8.1.0: resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.2.4.tgz#caba24b08185c3b56e3168e97d15ed17f4d31fd0" integrity sha512-Ibt84YwBDDA890eDiDCEqcbwvHlBvzzDkU2cGBBDDI1QWT12jTiXIOn2CIw5KK4i6N5Z2HUxwYjzriDyqaqqZg== +acorn@^8.2.4: + version "8.3.0" + resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.3.0.tgz#1193f9b96c4e8232f00b11a9edff81b2c8b98b88" + integrity sha512-tqPKHZ5CaBJw0Xmy0ZZvLs1qTV+BNFSyvn77ASXkpBNfIRk8ev26fKrD9iLGwGA9zedPao52GSHzq8lyZG0NUw== + address@1.1.2, address@^1.0.1: version "1.1.2" resolved "https://registry.yarnpkg.com/address/-/address-1.1.2.tgz#bf1116c9c758c51b7a933d296b72c221ed9428b6" integrity sha512-aT6camzM4xEA54YVJYSqxz1kv4IHnQZRtThJJHhUMRExaU5spC7jX5ugSwTaTgJliIgs4VhZOk7htClvQ/LmRA== +adm-zip@^0.4.13: + version "0.4.16" + resolved "https://registry.yarnpkg.com/adm-zip/-/adm-zip-0.4.16.tgz#cf4c508fdffab02c269cbc7f471a875f05570365" + integrity sha512-TFi4HBKSGfIKsK5YCkKaaFG2m4PEDyViZmEwof3MTIgzimHLto6muaHVpbrljdIvIrFZzEq/p4nafOeLcYegrg== + agent-base@4, agent-base@^4.3.0: version "4.3.0" resolved "https://registry.yarnpkg.com/agent-base/-/agent-base-4.3.0.tgz#8165f01c436009bccad0b1d122f05ed770efc6ee" @@ -3511,6 +3572,11 @@ arr-flatten@^1.1.0: resolved "https://registry.yarnpkg.com/arr-flatten/-/arr-flatten-1.1.0.tgz#36048bbff4e7b47e136644316c99669ea5ae91f1" integrity sha512-L3hKV5R/p5o81R7O02IGnwpDmkp6E982XhtbuwSe3O4qOtMMMtodicASA1Cny2U+aCXcNpml+m4dPsvsJ3jatg== +arr-rotate@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/arr-rotate/-/arr-rotate-1.0.0.tgz#c11877d06a0a42beb39ab8956a06779d9b71d248" + integrity sha512-yOzOZcR9Tn7enTF66bqKorGGH0F36vcPaSWg8fO0c0UYb3LX3VMXj5ZxEqQLNOecAhlRJ7wYZja5i4jTlnbIfQ== + arr-union@^3.1.0: version "3.1.0" resolved "https://registry.yarnpkg.com/arr-union/-/arr-union-3.1.0.tgz#e39b09aea9def866a8f206e288af63919bae39c4" @@ -3526,6 +3592,11 @@ array-flatten@1.1.1: resolved "https://registry.yarnpkg.com/array-flatten/-/array-flatten-1.1.1.tgz#9a5f699051b1e7073328f2a008968b64ea2955d2" integrity sha1-ml9pkFGx5wczKPKgCJaLZOopVdI= +array-flatten@^2.1.0: + version "2.1.2" + resolved "https://registry.yarnpkg.com/array-flatten/-/array-flatten-2.1.2.tgz#24ef80a28c1a893617e2149b0c6d0d788293b099" + integrity sha512-hNfzcOV8W4NdualtqBFPyVO+54DSJuZGY9qT4pRroB6S9e3iiido2ISIC5h9R2sPJ8H3FHCIiEnsv1lPXO3KtQ== + array-ify@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/array-ify/-/array-ify-1.0.0.tgz#9e528762b4a9066ad163a6962a364418e9626ece" @@ -3684,11 +3755,23 @@ async-each@^1.0.1: resolved "https://registry.yarnpkg.com/async-each/-/async-each-1.0.3.tgz#b727dbf87d7651602f06f4d4ac387f47d91b0cbf" integrity sha512-z/WhQ5FPySLdvREByI2vZiTWwCnF0moMJ1hK9YQwDTHKh6I7/uSckMetoRGb5UBZPC1z0jlw+n/XCgjeH7y1AQ== +async-limiter@~1.0.0: + version "1.0.1" + resolved "https://registry.yarnpkg.com/async-limiter/-/async-limiter-1.0.1.tgz#dd379e94f0db8310b08291f9d64c3209766617fd" + integrity sha512-csOlWGAcRFJaI6m+F2WKdnMKr4HhdhFVBk0H/QbJFMCr+uO2kwohwXQPxw/9OCxp05r5ghVBFSyioixx3gfkNQ== + async@0.9.x: version "0.9.2" resolved "https://registry.yarnpkg.com/async/-/async-0.9.2.tgz#aea74d5e61c1f899613bf64bda66d4c78f2fd17d" integrity sha1-rqdNXmHB+JlhO/ZL2mbUx48v0X0= +async@^2.6.2: + version "2.6.3" + resolved "https://registry.yarnpkg.com/async/-/async-2.6.3.tgz#d72625e2344a3656e3a3ad4fa749fa83299d82ff" + integrity sha512-zflvls11DCy+dQWzTW2dzuilv8Z5X/pjfmZOWba6TNIVDm+2UDaJmXSOXlasHKfNBs8oo3M0aT50fDEWfKZjXg== + dependencies: + lodash "^4.17.14" + async@^3.0.1: version "3.2.0" resolved "https://registry.yarnpkg.com/async/-/async-3.2.0.tgz#b3a2685c5ebb641d3de02d161002c60fc9f85720" @@ -3709,7 +3792,7 @@ atob@^2.1.2: resolved "https://registry.yarnpkg.com/atob/-/atob-2.1.2.tgz#6d9517eb9e030d2436666651e86bd9f6f13533c9" integrity sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg== -auto-bind@^4.0.0: +auto-bind@4.0.0, auto-bind@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/auto-bind/-/auto-bind-4.0.0.tgz#e3589fc6c2da8f7ca43ba9f84fa52a744fc997fb" integrity sha512-Hdw8qdNiqdJ8LqT0iK0sVzkFbzg6fhnQqqfWhBDxcHZvU75+B+ayzTy8x+k5Ix0Y92XOhOUlx74ps+bA6BeYMQ== @@ -3757,6 +3840,13 @@ axe-core@^4.0.2: resolved "https://registry.yarnpkg.com/axe-core/-/axe-core-4.0.2.tgz#c7cf7378378a51fcd272d3c09668002a4990b1cb" integrity sha512-arU1h31OGFu+LPrOLGZ7nB45v940NMDMEJeNmbutu57P+UFDVnkZg3e+J1I2HJRZ9hT7gO8J91dn/PMrAiKakA== +axios@^0.21.1: + version "0.21.1" + resolved "https://registry.yarnpkg.com/axios/-/axios-0.21.1.tgz#22563481962f4d6bde9a76d516ef0e5d3c09b2b8" + integrity sha512-dKQiRHxGD9PPRIUNIWvZhPTPpl1rf/OxTYKsqKUDjBwYylTvV7SjSHJb9ratfyzM6wCdLCOYLzs73qpg5c4iGA== + dependencies: + follow-redirects "^1.10.0" + axobject-query@^2.2.0: version "2.2.0" resolved "https://registry.yarnpkg.com/axobject-query/-/axobject-query-2.2.0.tgz#943d47e10c0b704aa42275e20edf3722648989be" @@ -4289,6 +4379,11 @@ batch-processor@1.0.0: resolved "https://registry.yarnpkg.com/batch-processor/-/batch-processor-1.0.0.tgz#75c95c32b748e0850d10c2b168f6bdbe9891ace8" integrity sha1-dclcMrdI4IUNEMKxaPa9vpiRrOg= +batch@0.6.1: + version "0.6.1" + resolved "https://registry.yarnpkg.com/batch/-/batch-0.6.1.tgz#dc34314f4e679318093fc760272525f94bf25c16" + integrity sha1-3DQxT05nkxgJP8dgJyUl+UvyXBY= + bcrypt-pbkdf@^1.0.0: version "1.0.2" resolved "https://registry.yarnpkg.com/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz#a4301d389b6a43f9b67ff3ca11a3f6637e360e9e" @@ -4378,6 +4473,18 @@ body-parser@1.19.0: raw-body "2.4.0" type-is "~1.6.17" +bonjour@^3.5.0: + version "3.5.0" + resolved "https://registry.yarnpkg.com/bonjour/-/bonjour-3.5.0.tgz#8e890a183d8ee9a2393b3844c691a42bcf7bc9f5" + integrity sha1-jokKGD2O6aI5OzhExpGkK897yfU= + dependencies: + array-flatten "^2.1.0" + deep-equal "^1.0.1" + dns-equal "^1.0.0" + dns-txt "^2.0.2" + multicast-dns "^6.0.1" + multicast-dns-service-types "^1.1.0" + boolbase@^1.0.0, boolbase@~1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/boolbase/-/boolbase-1.0.0.tgz#68dff5fbe60c51eb37725ea9e3ed310dcc1e776e" @@ -4560,6 +4667,11 @@ buffer-from@^1.0.0: resolved "https://registry.yarnpkg.com/buffer-from/-/buffer-from-1.1.1.tgz#32713bc028f75c02fdb710d7c7bcec1f2c6070ef" integrity sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A== +buffer-indexof@^1.0.0: + version "1.1.1" + resolved "https://registry.yarnpkg.com/buffer-indexof/-/buffer-indexof-1.1.1.tgz#52fabcc6a606d1a00302802648ef68f639da268c" + integrity sha512-4/rOEg86jivtPTeOUUT61jJO1Ya1TrR/OkqCSZDyq84WJh3LuuiphBYJN+fm5xufIk4XAFcEwte/8WzC8If/1g== + buffer-xor@^1.0.3: version "1.0.3" resolved "https://registry.yarnpkg.com/buffer-xor/-/buffer-xor-1.0.3.tgz#26e61ed1422fb70dd42e6e36729ed51d855fe8d9" @@ -4594,6 +4706,11 @@ byte-size@^5.0.1: resolved "https://registry.yarnpkg.com/byte-size/-/byte-size-5.0.1.tgz#4b651039a5ecd96767e71a3d7ed380e48bed4191" integrity sha512-/XuKeqWocKsYa/cBY1YbSJSWWqTi4cFgr9S6OyM7PBaPbr9zvNGwWP33vt0uqGhwDdN+y3yhbXVILEUpnwEWGw== +bytes@3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/bytes/-/bytes-3.0.0.tgz#d32815404d689699f85a4ea4fa8755dd13a96048" + integrity sha1-0ygVQE1olpn4Wk6k+odV3ROpYEg= + bytes@3.1.0: version "3.1.0" resolved "https://registry.yarnpkg.com/bytes/-/bytes-3.1.0.tgz#f6cf7933a360e0588fa9fde85651cdc7f805d1f6" @@ -5038,6 +5155,11 @@ cli-cursor@^3.1.0: dependencies: restore-cursor "^3.1.0" +cli-spinners@^2.3.0: + version "2.6.0" + resolved "https://registry.yarnpkg.com/cli-spinners/-/cli-spinners-2.6.0.tgz#36c7dc98fb6a9a76bd6238ec3f77e2425627e939" + integrity sha512-t+4/y50K/+4xcCRosKkA7W4gTr1MySvLV0q+PxmG7FJ5g+66ChKurYjxBCjHggHH3HA5Hh9cy+lcUGWDqVH+4Q== + cli-table3@0.6.0: version "0.6.0" resolved "https://registry.yarnpkg.com/cli-table3/-/cli-table3-0.6.0.tgz#b7b1bc65ca8e7b5cef9124e13dc2b21e2ce4faee" @@ -5148,6 +5270,15 @@ clone-deep@^0.2.4: lazy-cache "^1.0.3" shallow-clone "^0.1.2" +clone-deep@^4.0.1: + version "4.0.1" + resolved "https://registry.yarnpkg.com/clone-deep/-/clone-deep-4.0.1.tgz#c19fd9bdbbf85942b4fd979c84dcf7d5f07c2387" + integrity sha512-neHB9xuzh/wk0dIHweyAXv2aPGZIVk3pLMe+/RNzINf17fe0OG96QroktYAUm7SM1PBnzTabaLboqqxDyMU+SQ== + dependencies: + is-plain-object "^2.0.4" + kind-of "^6.0.2" + shallow-clone "^3.0.0" + clone@^1.0.2: version "1.0.4" resolved "https://registry.yarnpkg.com/clone/-/clone-1.0.4.tgz#da309cc263df15994c688ca902179ca3c7cd7c7e" @@ -5180,6 +5311,13 @@ coa@^2.0.2: chalk "^2.4.1" q "^1.1.2" +code-excerpt@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/code-excerpt/-/code-excerpt-3.0.0.tgz#fcfb6748c03dba8431c19f5474747fad3f250f10" + integrity sha512-VHNTVhd7KsLGOqfX3SyeO8RyYPMp1GJOg194VITk04WMYCv4plV68YWe6TJZxd9MhobjtpMRnVky01gqZsalaw== + dependencies: + convert-to-spaces "^1.0.1" + code-point-at@^1.0.0: version "1.1.0" resolved "https://registry.yarnpkg.com/code-point-at/-/code-point-at-1.1.0.tgz#0d070b4d043a5bea33a2f1a40e2edb3d9a4ccf77" @@ -5272,16 +5410,16 @@ commander@2.11.x: resolved "https://registry.yarnpkg.com/commander/-/commander-2.11.0.tgz#157152fd1e7a6c8d98a5b715cf376df928004563" integrity sha512-b0553uYA5YAEGgyYIGYROzKQ7X5RAqedkfjiZxwi0kL1g3bOaBNNZfYkzt/CL0umgD5wc9Jec2FbB98CjkMRvQ== +commander@4.1.1, commander@^4.0.1, commander@^4.1.1: + version "4.1.1" + resolved "https://registry.yarnpkg.com/commander/-/commander-4.1.1.tgz#9fd602bd936294e9e9ef46a3f4d6964044b18068" + integrity sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA== + commander@^2.19.0, commander@^2.20.0: version "2.20.3" resolved "https://registry.yarnpkg.com/commander/-/commander-2.20.3.tgz#fd485e84c03eb4881c20722ba48035e8531aeb33" integrity sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ== -commander@^4.0.1, commander@^4.1.1: - version "4.1.1" - resolved "https://registry.yarnpkg.com/commander/-/commander-4.1.1.tgz#9fd602bd936294e9e9ef46a3f4d6964044b18068" - integrity sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA== - commander@^5.0.0: version "5.1.0" resolved "https://registry.yarnpkg.com/commander/-/commander-5.1.0.tgz#46abbd1652f8e059bddaef99bbdcb2ad9cf179ae" @@ -5350,6 +5488,26 @@ component-emitter@^1.2.1: resolved "https://registry.yarnpkg.com/component-emitter/-/component-emitter-1.3.0.tgz#16e4070fba8ae29b679f2215853ee181ab2eabc0" integrity sha512-Rd3se6QB+sO1TwqZjscQrurpEPIfO0/yYnSin6Q/rD3mOutHvUrCAhJub3r90uNb+SESBuE0QYoB90YdfatsRg== +compressible@~2.0.16: + version "2.0.18" + resolved "https://registry.yarnpkg.com/compressible/-/compressible-2.0.18.tgz#af53cca6b070d4c3c0750fbd77286a6d7cc46fba" + integrity sha512-AF3r7P5dWxL8MxyITRMlORQNaOA2IkAFaTr4k7BUumjPtRpGDTZpl0Pb1XCO6JeDCBdp126Cgs9sMxqSjgYyRg== + dependencies: + mime-db ">= 1.43.0 < 2" + +compression@^1.7.4: + version "1.7.4" + resolved "https://registry.yarnpkg.com/compression/-/compression-1.7.4.tgz#95523eff170ca57c29a0ca41e6fe131f41e5bb8f" + integrity sha512-jaSIDzP9pZVS4ZfQ+TzvtiWhdpFhE2RDHz8QJkpX9SIpLq88VueF5jJw6t+6CUQcAoA6t+x89MLrWAqpfDE8iQ== + dependencies: + accepts "~1.3.5" + bytes "3.0.0" + compressible "~2.0.16" + debug "2.6.9" + on-headers "~1.0.2" + safe-buffer "5.1.2" + vary "~1.1.2" + compute-scroll-into-view@^1.0.9: version "1.0.16" resolved "https://registry.yarnpkg.com/compute-scroll-into-view/-/compute-scroll-into-view-1.0.16.tgz#5b7bf4f7127ea2c19b750353d7ce6776a90ee088" @@ -5412,6 +5570,11 @@ confusing-browser-globals@^1.0.5: resolved "https://registry.yarnpkg.com/confusing-browser-globals/-/confusing-browser-globals-1.0.10.tgz#30d1e7f3d1b882b25ec4933d1d1adac353d20a59" integrity sha512-gNld/3lySHwuhaVluJUKLePYirM3QNCKzVxqAdhJII9/WXKVX5PURzMVJspS1jTslSqjeuG4KMVTSouit5YPHA== +connect-history-api-fallback@^1.6.0: + version "1.6.0" + resolved "https://registry.yarnpkg.com/connect-history-api-fallback/-/connect-history-api-fallback-1.6.0.tgz#8b32089359308d111115d81cad3fceab888f97bc" + integrity sha512-e54B99q/OUoH64zYYRf3HBP5z24G38h5D3qXu23JGRoigpX5Ss4r9ZnDk3g0Z8uQC2x2lPaJ+UlWBc1ZWBWdLg== + console-browserify@^1.1.0: version "1.2.0" resolved "https://registry.yarnpkg.com/console-browserify/-/console-browserify-1.2.0.tgz#67063cef57ceb6cf4993a2ab3a55840ae8c49336" @@ -5506,6 +5669,11 @@ convert-source-map@^1.1.0, convert-source-map@^1.4.0, convert-source-map@^1.5.0, dependencies: safe-buffer "~5.1.1" +convert-to-spaces@^1.0.1: + version "1.0.2" + resolved "https://registry.yarnpkg.com/convert-to-spaces/-/convert-to-spaces-1.0.2.tgz#7e3e48bbe6d997b1417ddca2868204b4d3d85715" + integrity sha1-fj5Iu+bZl7FBfdyihoIEtNPYVxU= + cookie-signature@1.0.6: version "1.0.6" resolved "https://registry.yarnpkg.com/cookie-signature/-/cookie-signature-1.0.6.tgz#e303a882b342cc3ee8ca513a79999734dab3ae2c" @@ -5583,6 +5751,14 @@ core-util-is@1.0.2, core-util-is@~1.0.0: resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7" integrity sha1-tf1UIgqivFq1eqtxQMlAdUUDwac= +cors@^2.8.5: + version "2.8.5" + resolved "https://registry.yarnpkg.com/cors/-/cors-2.8.5.tgz#eac11da51592dd86b9f06f6e7ac293b3df875d29" + integrity sha512-KIHbLJqu73RGr/hnbrO9uBeixNGuvSQjul/jdFvS/KFSIH1hWVd1ng7zOHx+YrEfInLG7q4n6GHQ9cDtxv/P6g== + dependencies: + object-assign "^4" + vary "^1" + cosmiconfig@^5.0.0, cosmiconfig@^5.0.7: version "5.2.1" resolved "https://registry.yarnpkg.com/cosmiconfig/-/cosmiconfig-5.2.1.tgz#040f726809c591e77a17c0a3626ca45b4f168b1a" @@ -6000,7 +6176,14 @@ debug@^3.0.0, debug@^3.1.0: dependencies: ms "^2.1.1" -debug@^4.3.1: +debug@^3.1.1, debug@^3.2.6: + version "3.2.7" + resolved "https://registry.yarnpkg.com/debug/-/debug-3.2.7.tgz#72580b7e9145fb39b6676f9c5e5fb100b934179a" + integrity sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ== + dependencies: + ms "^2.1.1" + +debug@^4.2.0, debug@^4.3.1: version "4.3.1" resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.1.tgz#f0d229c505e0c6d8c49ac553d1b13dc183f6b2ee" integrity sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ== @@ -6040,7 +6223,7 @@ dedent@0.7.0, dedent@^0.7.0: resolved "https://registry.yarnpkg.com/dedent/-/dedent-0.7.0.tgz#2495ddbaf6eb874abb0e1be9df22d2e5a544326c" integrity sha1-JJXduvbrh0q7Dhvp3yLS5aVEMmw= -deep-equal@^1.0.0, deep-equal@^1.1.1: +deep-equal@^1.0.0, deep-equal@^1.0.1, deep-equal@^1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/deep-equal/-/deep-equal-1.1.1.tgz#b5c98c942ceffaf7cb051e24e1434a25a2e6076a" integrity sha512-yd9c5AdiqVcR+JjcwUQb9DkhJc8ngNr0MahEBGvDiJw8puWab2yZlh+nkasOnZP+EGTAP6rRp2JzJhJZzvNF8g== @@ -6072,6 +6255,14 @@ deepmerge@^4.2.2: resolved "https://registry.yarnpkg.com/deepmerge/-/deepmerge-4.2.2.tgz#44d2ea3679b8f4d4ffba33f03d865fc1e7bf4955" integrity sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg== +default-gateway@^4.2.0: + version "4.2.0" + resolved "https://registry.yarnpkg.com/default-gateway/-/default-gateway-4.2.0.tgz#167104c7500c2115f6dd69b0a536bb8ed720552b" + integrity sha512-h6sMrVB1VMWVrW13mSc6ia/DwYYw5MN6+exNu1OaJeFac5aSAvwM7lZ0NVfTABuSkQelr4h5oebg3KB1XPdjgA== + dependencies: + execa "^1.0.0" + ip-regex "^2.1.0" + defaults@^1.0.3: version "1.0.3" resolved "https://registry.yarnpkg.com/defaults/-/defaults-1.0.3.tgz#c656051e9817d9ff08ed881477f3fe4019f3ef7d" @@ -6108,6 +6299,19 @@ define-property@^2.0.2: is-descriptor "^1.0.2" isobject "^3.0.1" +del@^4.1.1: + version "4.1.1" + resolved "https://registry.yarnpkg.com/del/-/del-4.1.1.tgz#9e8f117222ea44a31ff3a156c049b99052a9f0b4" + integrity sha512-QwGuEUouP2kVwQenAsOof5Fv8K9t3D8Ca8NxcXKrIpEHjTXK5J2nXLdP+ALI1cgv8wj7KuwBhTwBkOZSJKM5XQ== + dependencies: + "@types/glob" "^7.1.1" + globby "^6.1.0" + is-path-cwd "^2.0.0" + is-path-in-cwd "^2.0.0" + p-map "^2.0.0" + pify "^4.0.1" + rimraf "^2.6.3" + del@^6.0.0: version "6.0.0" resolved "https://registry.yarnpkg.com/del/-/del-6.0.0.tgz#0b40d0332cea743f1614f818be4feb717714c952" @@ -6185,6 +6389,11 @@ detect-newline@^3.0.0: resolved "https://registry.yarnpkg.com/detect-newline/-/detect-newline-3.1.0.tgz#576f5dfc63ae1a192ff192d8ad3af6308991b651" integrity sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA== +detect-node@^2.0.4: + version "2.1.0" + resolved "https://registry.yarnpkg.com/detect-node/-/detect-node-2.1.0.tgz#c9c70775a49c3d03bc2c06d9a73be550f978f8b1" + integrity sha512-T0NIuQpnTvFDATNuHN5roPwSBG83rFsuO+MXXH9/3N1eFbn4wcPjttvjMLEPWJ0RGUYgQE7cGgS3tNxbqCGM7g== + detect-port-alt@1.1.6: version "1.1.6" resolved "https://registry.yarnpkg.com/detect-port-alt/-/detect-port-alt-1.1.6.tgz#24707deabe932d4a3cf621302027c2b266568275" @@ -6248,6 +6457,26 @@ discontinuous-range@1.0.0: resolved "https://registry.yarnpkg.com/discontinuous-range/-/discontinuous-range-1.0.0.tgz#e38331f0844bba49b9a9cb71c771585aab1bc65a" integrity sha1-44Mx8IRLukm5qctxx3FYWqsbxlo= +dns-equal@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/dns-equal/-/dns-equal-1.0.0.tgz#b39e7f1da6eb0a75ba9c17324b34753c47e0654d" + integrity sha1-s55/HabrCnW6nBcySzR1PEfgZU0= + +dns-packet@^1.3.1: + version "1.3.4" + resolved "https://registry.yarnpkg.com/dns-packet/-/dns-packet-1.3.4.tgz#e3455065824a2507ba886c55a89963bb107dec6f" + integrity sha512-BQ6F4vycLXBvdrJZ6S3gZewt6rcrks9KBgM9vrhW+knGRqc8uEdT7fuCwloc7nny5xNoMJ17HGH0R/6fpo8ECA== + dependencies: + ip "^1.1.0" + safe-buffer "^5.0.1" + +dns-txt@^2.0.2: + version "2.0.2" + resolved "https://registry.yarnpkg.com/dns-txt/-/dns-txt-2.0.2.tgz#b91d806f5d27188e4ab3e7d107d881a1cc4642b6" + integrity sha1-uR2Ab10nGI5Ks+fRB9iBocxGQrY= + dependencies: + buffer-indexof "^1.0.0" + doctrine@1.5.0: version "1.5.0" resolved "https://registry.yarnpkg.com/doctrine/-/doctrine-1.5.0.tgz#379dce730f6166f76cefa4e6707a159b02c5a6fa" @@ -7110,11 +7339,16 @@ esutils@^2.0.2: resolved "https://registry.yarnpkg.com/esutils/-/esutils-2.0.3.tgz#74d2eb4de0b8da1293711910d50775b9b710ef64" integrity sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g== -etag@~1.8.1: +etag@^1.8.1, etag@~1.8.1: version "1.8.1" resolved "https://registry.yarnpkg.com/etag/-/etag-1.8.1.tgz#41ae2eeb65efa62268aebfea83ac7d79299b0887" integrity sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc= +eventemitter3@^4.0.0: + version "4.0.7" + resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-4.0.7.tgz#2de9b68f6528d5644ef5c59526a1b4a07306169f" + integrity sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw== + events@1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/events/-/events-1.1.1.tgz#9ebdb7635ad099c70dcc4c2a1f5004288e8bd924" @@ -7125,6 +7359,13 @@ events@^3.0.0: resolved "https://registry.yarnpkg.com/events/-/events-3.2.0.tgz#93b87c18f8efcd4202a461aec4dfc0556b639379" integrity sha512-/46HWwbfCX2xTawVfkKLGxMifJYQBWMwY1mjywRtb4c9x8l5NP3KoJtnIOiL1hfdRkIuYhETxQlo62IF8tcnlg== +eventsource@^1.0.7: + version "1.1.0" + resolved "https://registry.yarnpkg.com/eventsource/-/eventsource-1.1.0.tgz#00e8ca7c92109e94b0ddf32dac677d841028cfaf" + integrity sha512-VSJjT5oCNrFvCS6igjzPAt5hBzQ2qPBFIbJ03zLI9SE0mxwZpMw6BfJrbFHm1a141AavMEB8JHmBhWAd66PfCg== + dependencies: + original "^1.0.0" + evp_bytestokey@^1.0.0, evp_bytestokey@^1.0.3: version "1.0.3" resolved "https://registry.yarnpkg.com/evp_bytestokey/-/evp_bytestokey-1.0.3.tgz#7fcbdb198dc71959432efe13842684e0525acb02" @@ -7244,7 +7485,12 @@ expect@^26.6.2: jest-message-util "^26.6.2" jest-regex-util "^26.0.0" -express@^4.17.0: +expose-loader@^0.7.5: + version "0.7.5" + resolved "https://registry.yarnpkg.com/expose-loader/-/expose-loader-0.7.5.tgz#e29ea2d9aeeed3254a3faa1b35f502db9f9c3f6f" + integrity sha512-iPowgKUZkTPX5PznYsmifVj9Bob0w2wTHVkt/eYNPSzyebkUgIedmskf/kcfEIWpiWjg3JRjnW+a17XypySMuw== + +express@^4.17.0, express@^4.17.1: version "4.17.1" resolved "https://registry.yarnpkg.com/express/-/express-4.17.1.tgz#4491fc38605cf51f8629d39c2b5d026f98a4c134" integrity sha512-mHJ9O79RqluphRrcw2X/GTh3k9tVv8YcoyY4Kkh4WDMUYKRZUq0h1o0w2rrrxBqM7VoeUVqgb27xlEMXTnYt4g== @@ -7408,6 +7654,13 @@ fault@^1.0.2: dependencies: format "^0.2.0" +faye-websocket@^0.11.3: + version "0.11.4" + resolved "https://registry.yarnpkg.com/faye-websocket/-/faye-websocket-0.11.4.tgz#7f0d9275cfdd86a1c963dc8b65fcc451edcbb1da" + integrity sha512-CzbClwlXAuiRQAlUyfqPgvPoNKTckTPGfwZV4ZdAhVcP2lh9KUxJg2b5GkE7XbjKQ3YJnQ9z6D9ntLAlB+tP8g== + dependencies: + websocket-driver ">=0.5.1" + fb-watchman@^2.0.0: version "2.0.1" resolved "https://registry.yarnpkg.com/fb-watchman/-/fb-watchman-2.0.1.tgz#fc84fb39d2709cf3ff6d743706157bb5708a8a85" @@ -7620,6 +7873,11 @@ flush-write-stream@^1.0.0: inherits "^2.0.3" readable-stream "^2.3.6" +follow-redirects@^1.0.0, follow-redirects@^1.10.0: + version "1.14.1" + resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.14.1.tgz#d9114ded0a1cfdd334e164e6662ad02bfd91ff43" + integrity sha512-HWqDgT7ZEkqRzBvc2s64vSZ/hfOceEol3ac/7tKwzuvEyWx3/4UegXh5oBOIotkGsObyk3xznnSRVADBgWSQVg== + for-in@^0.1.3: version "0.1.8" resolved "https://registry.yarnpkg.com/for-in/-/for-in-0.1.8.tgz#d8773908e31256109952b1fdb9b3fa867d2775e1" @@ -8054,6 +8312,18 @@ glob@^7.0.0, glob@^7.1.1, glob@^7.1.2, glob@^7.1.3, glob@^7.1.4, glob@^7.1.6: once "^1.3.0" path-is-absolute "^1.0.0" +glob@^7.0.3: + version "7.1.7" + resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.7.tgz#3b193e9233f01d42d0b3f78294bbeeb418f94a90" + integrity sha512-OvD9ENzPLbegENnYP5UUfJIirTg4+XwMWGaQfQTY0JenxNvvIKP3U3/tAQSPIu/lHxXYSZmpXlUHeqAIdKzBLQ== + dependencies: + fs.realpath "^1.0.0" + inflight "^1.0.4" + inherits "2" + minimatch "^3.0.4" + once "^1.3.0" + path-is-absolute "^1.0.0" + global-dirs@^0.1.0, global-dirs@^0.1.1: version "0.1.1" resolved "https://registry.yarnpkg.com/global-dirs/-/global-dirs-0.1.1.tgz#b319c0dd4607f353f3be9cca4c72fc148c49f445" @@ -8147,6 +8417,17 @@ globby@^11.0.0, globby@^11.0.1: merge2 "^1.3.0" slash "^3.0.0" +globby@^6.1.0: + version "6.1.0" + resolved "https://registry.yarnpkg.com/globby/-/globby-6.1.0.tgz#f5a6d70e8395e21c858fb0489d64df02424d506c" + integrity sha1-9abXDoOV4hyFj7BInWTfAkJNUGw= + dependencies: + array-union "^1.0.1" + glob "^7.0.3" + object-assign "^4.0.1" + pify "^2.0.0" + pinkie-promise "^2.0.0" + gm@^1.23.1: version "1.23.1" resolved "https://registry.yarnpkg.com/gm/-/gm-1.23.1.tgz#2edeeb958084d0f8ea7988e5d995b1c7dfc14777" @@ -8204,6 +8485,11 @@ gzip-size@5.1.1: duplexer "^0.1.1" pify "^4.0.1" +handle-thing@^2.0.0: + version "2.0.1" + resolved "https://registry.yarnpkg.com/handle-thing/-/handle-thing-2.0.1.tgz#857f79ce359580c340d43081cc648970d0bb234e" + integrity sha512-9Qn4yBxelxoh2Ow62nP+Ka/kMnOXRi8BXnRaUwezLNhqelnN49xKz4F/dPP8OYLxLxq6JDtZb2i9XznUQbNPTg== + handlebars@^4.7.6: version "4.7.7" resolved "https://registry.yarnpkg.com/handlebars/-/handlebars-4.7.7.tgz#9ce33416aad02dbd6c8fafa8240d5d98004945a1" @@ -8396,6 +8682,16 @@ hosted-git-info@^4.0.0: dependencies: lru-cache "^6.0.0" +hpack.js@^2.1.6: + version "2.1.6" + resolved "https://registry.yarnpkg.com/hpack.js/-/hpack.js-2.1.6.tgz#87774c0949e513f42e84575b3c45681fade2a0b2" + integrity sha1-h3dMCUnlE/QuhFdbPEVoH63ioLI= + dependencies: + inherits "^2.0.1" + obuf "^1.0.0" + readable-stream "^2.0.1" + wbuf "^1.1.0" + html-element-map@^1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/html-element-map/-/html-element-map-1.2.0.tgz#dfbb09efe882806af63d990cf6db37993f099f22" @@ -8415,6 +8711,11 @@ html-entities@^1.2.0: resolved "https://registry.yarnpkg.com/html-entities/-/html-entities-1.3.1.tgz#fb9a1a4b5b14c5daba82d3e34c6ae4fe701a0e44" integrity sha512-rhE/4Z3hIhzHAUKbW8jVcCyuT5oJCXXqhN/6mXXVCpzTmvJnoH2HL/bt3EZ6p55jbFJBeAe1ZNpL5BugLujxNA== +html-entities@^1.3.1: + version "1.4.0" + resolved "https://registry.yarnpkg.com/html-entities/-/html-entities-1.4.0.tgz#cfbd1b01d2afaf9adca1b10ae7dffab98c71d2dc" + integrity sha512-8nxjcBcd8wovbeKx7h3wTji4e6+rhaVuPNpMqwWgnHh+N9ToqsCs6XztWRBPQ+UtzsoMAdKZtUENoVzU/EMtZA== + html-escaper@^2.0.0: version "2.0.2" resolved "https://registry.yarnpkg.com/html-escaper/-/html-escaper-2.0.2.tgz#dfd60027da36a36dfcbe236262c00a5822681453" @@ -8485,6 +8786,11 @@ http-cache-semantics@^3.8.1: resolved "https://registry.yarnpkg.com/http-cache-semantics/-/http-cache-semantics-3.8.1.tgz#39b0e16add9b605bf0a9ef3d9daaf4843b4cacd2" integrity sha512-5ai2iksyV8ZXmnZhHH4rWPoxxistEexSi5936zIQ1bnNTW5VnA85B6P/VpXiRM017IgRvb2kKo1a//y+0wSp3w== +http-deceiver@^1.2.7: + version "1.2.7" + resolved "https://registry.yarnpkg.com/http-deceiver/-/http-deceiver-1.2.7.tgz#fa7168944ab9a519d337cb0bec7284dc3e723d87" + integrity sha1-+nFolEq5pRnTN8sL7HKE3D5yPYc= + http-errors@1.7.2: version "1.7.2" resolved "https://registry.yarnpkg.com/http-errors/-/http-errors-1.7.2.tgz#4f5029cf13239f31036e5b2e55292bcfbcc85c8f" @@ -8496,6 +8802,16 @@ http-errors@1.7.2: statuses ">= 1.5.0 < 2" toidentifier "1.0.0" +http-errors@~1.6.2: + version "1.6.3" + resolved "https://registry.yarnpkg.com/http-errors/-/http-errors-1.6.3.tgz#8b55680bb4be283a0b5bf4ea2e38580be1d9320d" + integrity sha1-i1VoC7S+KDoLW/TqLjhYC+HZMg0= + dependencies: + depd "~1.1.2" + inherits "2.0.3" + setprototypeof "1.1.0" + statuses ">= 1.4.0 < 2" + http-errors@~1.7.2: version "1.7.3" resolved "https://registry.yarnpkg.com/http-errors/-/http-errors-1.7.3.tgz#6c619e4f9c60308c38519498c14fbb10aacebb06" @@ -8507,6 +8823,11 @@ http-errors@~1.7.2: statuses ">= 1.5.0 < 2" toidentifier "1.0.0" +http-parser-js@>=0.5.1: + version "0.5.3" + resolved "https://registry.yarnpkg.com/http-parser-js/-/http-parser-js-0.5.3.tgz#01d2709c79d41698bb01d4decc5e9da4e4a033d9" + integrity sha512-t7hjvef/5HEK7RWTdUzVUhl8zkEu+LlaE0IYzdMuvbSDipxBRpOn4Uhw8ZyECEa808iVT8XCjzo6xmYt4CiLZg== + http-proxy-agent@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/http-proxy-agent/-/http-proxy-agent-2.1.0.tgz#e4821beef5b2142a2026bd73926fe537631c5405" @@ -8515,7 +8836,7 @@ http-proxy-agent@^2.1.0: agent-base "4" debug "3.1.0" -http-proxy-agent@^4.0.0: +http-proxy-agent@^4.0.0, http-proxy-agent@^4.0.1: version "4.0.1" resolved "https://registry.yarnpkg.com/http-proxy-agent/-/http-proxy-agent-4.0.1.tgz#8a8c8ef7f5932ccf953c296ca8291b95aa74aa3a" integrity sha512-k0zdNgqWTGA6aeIRVpvfVob4fL52dTfaehylg0Y4UvSySvOq/Y+BOyPrgpUrA7HylqvU8vIZGsRuXmspskV0Tg== @@ -8524,6 +8845,25 @@ http-proxy-agent@^4.0.0: agent-base "6" debug "4" +http-proxy-middleware@0.19.1: + version "0.19.1" + resolved "https://registry.yarnpkg.com/http-proxy-middleware/-/http-proxy-middleware-0.19.1.tgz#183c7dc4aa1479150306498c210cdaf96080a43a" + integrity sha512-yHYTgWMQO8VvwNS22eLLloAkvungsKdKTLO8AJlftYIKNfJr3GK3zK0ZCfzDDGUBttdGc8xFy1mCitvNKQtC3Q== + dependencies: + http-proxy "^1.17.0" + is-glob "^4.0.0" + lodash "^4.17.11" + micromatch "^3.1.10" + +http-proxy@^1.17.0: + version "1.18.1" + resolved "https://registry.yarnpkg.com/http-proxy/-/http-proxy-1.18.1.tgz#401541f0534884bbf95260334e72f88ee3976549" + integrity sha512-7mz/721AbnJwIVbnaSv1Cz3Am0ZLT/UBwkC92VlxhXv/k/BBQfM2fXElQNC27BVGr0uwUpplYPQM9LnaBMR5NQ== + dependencies: + eventemitter3 "^4.0.0" + follow-redirects "^1.0.0" + requires-port "^1.0.0" + http-signature@~1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/http-signature/-/http-signature-1.2.0.tgz#9aecd925114772f3d95b65a60abb8f7c18fbace1" @@ -8714,6 +9054,14 @@ import-lazy@^2.1.0: resolved "https://registry.yarnpkg.com/import-lazy/-/import-lazy-2.1.0.tgz#05698e3d45c88e8d7e9d92cb0584e77f096f3e43" integrity sha1-BWmOPUXIjo1+nZLLBYTnfwlvPkM= +import-local@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/import-local/-/import-local-2.0.0.tgz#55070be38a5993cf18ef6db7e961f5bee5c5a09d" + integrity sha512-b6s04m3O+s3CGSbqDIyP4R6aAwAeYlVq9+WUWep6iHa8ETRf9yei1U48C5MmfJmV9AiLYYBKPMq/W+/WRpQmCQ== + dependencies: + pkg-dir "^3.0.0" + resolve-cwd "^2.0.0" + import-local@^3.0.2: version "3.0.2" resolved "https://registry.yarnpkg.com/import-local/-/import-local-3.0.2.tgz#a8cfd0431d1de4a2199703d003e3e62364fa6db6" @@ -8784,6 +9132,38 @@ init-package-json@^1.10.3: validate-npm-package-license "^3.0.1" validate-npm-package-name "^3.0.0" +ink-link@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/ink-link/-/ink-link-2.0.0.tgz#3e52135010398a4406f0e879baf8c118ddbb537f" + integrity sha512-1Ic1uU1df+2ThYUE6n04RXNs7eqQOSmxBlSbOKHIM3biLAkvyaAxzXAI4tOjWZBrS6mP1wZBEGxAH5LozQbeJg== + dependencies: + prop-types "^15.7.2" + terminal-link "^2.1.1" + +ink-select-input@^4.2.0: + version "4.2.0" + resolved "https://registry.yarnpkg.com/ink-select-input/-/ink-select-input-4.2.0.tgz#a03dc1cae81f09c29cdd4612ae0be610c65c269f" + integrity sha512-pNpVNNlvbERKKj7yFZcNCecnz6RA7Lc6UZVfwYe1a3e56LPQmTYL0mbtfENQ9PBeMagny1tCtg0pQwr9y7NtVw== + dependencies: + arr-rotate "^1.0.0" + figures "^3.2.0" + lodash.isequal "^4.5.0" + +ink-spinner@^4.0.1: + version "4.0.2" + resolved "https://registry.yarnpkg.com/ink-spinner/-/ink-spinner-4.0.2.tgz#ee87a363533fa4932998e1bd303e0aa186572b02" + integrity sha512-vQGmhWUEh3IG1IxK1Hl2w6RfH6aaRIJWw9lrG8CvFFyrQ23UpJ8GClJs5/sFBxkNvsrrK9sKNEGlGnsqTYiUww== + dependencies: + cli-spinners "^2.3.0" + +ink-text-input@^4.0.1: + version "4.0.1" + resolved "https://registry.yarnpkg.com/ink-text-input/-/ink-text-input-4.0.1.tgz#e3de3f7e7f4247d64018838c57bbbc6120901368" + integrity sha512-wiqkrB2tgnCnv51r2LpNLVfgrd/V+UXF3ccry+/Q7on9CBt8LVavX6NDYRMdXljuM+CcFV/sVro0bCr5oxB05w== + dependencies: + chalk "^4.1.0" + type-fest "^0.15.1" + ink@^2.6.0: version "2.7.1" resolved "https://registry.yarnpkg.com/ink/-/ink-2.7.1.tgz#ff1c75b4b022924e2993af62297fa0e48e85618b" @@ -8808,6 +9188,35 @@ ink@^2.6.0: wrap-ansi "^6.2.0" yoga-layout-prebuilt "^1.9.3" +ink@^3.0.8: + version "3.0.8" + resolved "https://registry.yarnpkg.com/ink/-/ink-3.0.8.tgz#c527957c8fa4efcc139b67a4cbba7bb8a62b18b0" + integrity sha512-ubMFylXYaG4IkXQVhPautbhV/p6Lo0GlvAMI/jh8cGJQ39yeznJbaTTJP2CqZXezA4GOHzalpwCWqux/NEY38w== + dependencies: + ansi-escapes "^4.2.1" + auto-bind "4.0.0" + chalk "^4.1.0" + cli-boxes "^2.2.0" + cli-cursor "^3.1.0" + cli-truncate "^2.1.0" + code-excerpt "^3.0.0" + indent-string "^4.0.0" + is-ci "^2.0.0" + lodash "^4.17.20" + patch-console "^1.0.0" + react-devtools-core "^4.6.0" + react-reconciler "^0.24.0" + scheduler "^0.18.0" + signal-exit "^3.0.2" + slice-ansi "^3.0.0" + stack-utils "^2.0.2" + string-length "^3.1.0" + type-fest "^0.12.0" + widest-line "^3.1.0" + wrap-ansi "^6.2.0" + ws "^7.2.5" + yoga-layout-prebuilt "^1.9.6" + inquirer@6.5.2, inquirer@^6.2.2: version "6.5.2" resolved "https://registry.yarnpkg.com/inquirer/-/inquirer-6.5.2.tgz#ad50942375d036d327ff528c08bd5fab089928ca" @@ -8865,6 +9274,14 @@ inquirer@^7.0.0, inquirer@^7.0.4: strip-ansi "^6.0.0" through "^2.3.6" +internal-ip@^4.3.0: + version "4.3.0" + resolved "https://registry.yarnpkg.com/internal-ip/-/internal-ip-4.3.0.tgz#845452baad9d2ca3b69c635a137acb9a0dad0907" + integrity sha512-S1zBo1D6zcsyuC6PMmY5+55YMILQ9av8lotMx447Bq6SAgo/sDK6y6uUKmuYhW7eacnIhFfsPmCNYdDzsnnDCg== + dependencies: + default-gateway "^4.2.0" + ipaddr.js "^1.9.0" + internal-slot@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/internal-slot/-/internal-slot-1.0.2.tgz#9c2e9fb3cd8e5e4256c6f45fe310067fcfa378a3" @@ -8914,16 +9331,21 @@ ip-regex@^2.1.0: resolved "https://registry.yarnpkg.com/ip-regex/-/ip-regex-2.1.0.tgz#fa78bf5d2e6913c911ce9f819ee5146bb6d844e9" integrity sha1-+ni/XS5pE8kRzp+BnuUUa7bYROk= -ip@1.1.5, ip@^1.1.5: +ip@1.1.5, ip@^1.1.0, ip@^1.1.5: version "1.1.5" resolved "https://registry.yarnpkg.com/ip/-/ip-1.1.5.tgz#bdded70114290828c0a039e72ef25f5aaec4354a" integrity sha1-vd7XARQpCCjAoDnnLvJfWq7ENUo= -ipaddr.js@1.9.1: +ipaddr.js@1.9.1, ipaddr.js@^1.9.0: version "1.9.1" resolved "https://registry.yarnpkg.com/ipaddr.js/-/ipaddr.js-1.9.1.tgz#bff38543eeb8984825079ff3a2a8e6cbd46781b3" integrity sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g== +is-absolute-url@^3.0.3: + version "3.0.3" + resolved "https://registry.yarnpkg.com/is-absolute-url/-/is-absolute-url-3.0.3.tgz#96c6a22b6a23929b11ea0afb1836c36ad4a5d698" + integrity sha512-opmNIX7uFnS96NtPmhWQgQx6/NYFgsUXYMllcfzwWKUMwfo8kku1TvE6hkNcH+Q1ts5cMVrsY7j0bxXQDciu9Q== + is-accessor-descriptor@^0.1.6: version "0.1.6" resolved "https://registry.yarnpkg.com/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz#a9e12cb3ae8d876727eeef3843f8a0897b5c98d6" @@ -9218,11 +9640,18 @@ is-object@^1.0.1: resolved "https://registry.yarnpkg.com/is-object/-/is-object-1.0.1.tgz#8952688c5ec2ffd6b03ecc85e769e02903083470" integrity sha1-iVJojF7C/9awPsyF52ngKQMINHA= -is-path-cwd@^2.2.0: +is-path-cwd@^2.0.0, is-path-cwd@^2.2.0: version "2.2.0" resolved "https://registry.yarnpkg.com/is-path-cwd/-/is-path-cwd-2.2.0.tgz#67d43b82664a7b5191fd9119127eb300048a9fdb" integrity sha512-w942bTcih8fdJPJmQHFzkS76NEP8Kzzvmw92cXsazb8intwLqPibPPdXf4ANdKV3rYMuuQYGIWtvz9JilB3NFQ== +is-path-in-cwd@^2.0.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/is-path-in-cwd/-/is-path-in-cwd-2.1.0.tgz#bfe2dca26c69f397265a4009963602935a053acb" + integrity sha512-rNocXHgipO+rvnP6dk3zI20RpOtrAM/kzbB258Uw5BWr3TpXi861yzjo16Dn4hUox07iw5AyeMLHWsujkjzvRQ== + dependencies: + is-path-inside "^2.1.0" + is-path-inside@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/is-path-inside/-/is-path-inside-1.0.1.tgz#8ef5b7de50437a3fdca6b4e865ef7aa55cb48036" @@ -9230,6 +9659,13 @@ is-path-inside@^1.0.0: dependencies: path-is-inside "^1.0.1" +is-path-inside@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/is-path-inside/-/is-path-inside-2.1.0.tgz#7c9810587d659a40d27bcdb4d5616eab059494b2" + integrity sha512-wiyhTzfDWsvwAW53OBWF5zuvaOGlZ6PwYxAbPVDhpm+gM09xKQGjBq/8uYN12aDvMxnAnq3dxTyoSoRNmg5YFg== + dependencies: + path-is-inside "^1.0.2" + is-path-inside@^3.0.2: version "3.0.2" resolved "https://registry.yarnpkg.com/is-path-inside/-/is-path-inside-3.0.2.tgz#f5220fc82a3e233757291dddc9c5877f2a1f3017" @@ -9262,7 +9698,7 @@ is-plain-object@^5.0.0: resolved "https://registry.yarnpkg.com/is-plain-object/-/is-plain-object-5.0.0.tgz#4427f50ab3429e9025ea7d52e9043a9ef4159344" integrity sha512-VRSzKkbMm5jMDoKLbltAkFQ5Qr7VDiTFGXxYFXXowVj387GeGNOCsOH6Msy00SGZ3Fp84b1Naa1psqgcCIEP5Q== -is-potential-custom-element-name@^1.0.0: +is-potential-custom-element-name@^1.0.0, is-potential-custom-element-name@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/is-potential-custom-element-name/-/is-potential-custom-element-name-1.0.1.tgz#171ed6f19e3ac554394edf78caa05784a45bebb5" integrity sha512-bCYeRA2rVibKZd+s2625gGnGF/t7DSqDs4dP7CrLA1m7jKWz6pps0LpYLJN8Q64HtmPKJ1hrN3nzPNKFEKOUiQ== @@ -9917,6 +10353,44 @@ jsbn@~0.1.0: resolved "https://registry.yarnpkg.com/jsbn/-/jsbn-0.1.1.tgz#a5e654c2e5a2deb5f201d96cefbca80c0ef2f513" integrity sha1-peZUwuWi3rXyAdls77yoDA7y9RM= +jsdom-global@^3.0.2: + version "3.0.2" + resolved "https://registry.yarnpkg.com/jsdom-global/-/jsdom-global-3.0.2.tgz#6bd299c13b0c4626b2da2c0393cd4385d606acb9" + integrity sha1-a9KZwTsMRiay2iwDk81DhdYGrLk= + +jsdom@^16.3.0: + version "16.6.0" + resolved "https://registry.yarnpkg.com/jsdom/-/jsdom-16.6.0.tgz#f79b3786682065492a3da6a60a4695da983805ac" + integrity sha512-Ty1vmF4NHJkolaEmdjtxTfSfkdb8Ywarwf63f+F8/mDD1uLSSWDxDuMiZxiPhwunLrn9LOSVItWj4bLYsLN3Dg== + dependencies: + abab "^2.0.5" + acorn "^8.2.4" + acorn-globals "^6.0.0" + cssom "^0.4.4" + cssstyle "^2.3.0" + data-urls "^2.0.0" + decimal.js "^10.2.1" + domexception "^2.0.1" + escodegen "^2.0.0" + form-data "^3.0.0" + html-encoding-sniffer "^2.0.1" + http-proxy-agent "^4.0.1" + https-proxy-agent "^5.0.0" + is-potential-custom-element-name "^1.0.1" + nwsapi "^2.2.0" + parse5 "6.0.1" + saxes "^5.0.1" + symbol-tree "^3.2.4" + tough-cookie "^4.0.0" + w3c-hr-time "^1.0.2" + w3c-xmlserializer "^2.0.0" + webidl-conversions "^6.1.0" + whatwg-encoding "^1.0.5" + whatwg-mimetype "^2.3.0" + whatwg-url "^8.5.0" + ws "^7.4.5" + xml-name-validator "^3.0.0" + jsdom@^16.4.0: version "16.5.3" resolved "https://registry.yarnpkg.com/jsdom/-/jsdom-16.5.3.tgz#13a755b3950eb938b4482c407238ddf16f0d2136" @@ -10005,6 +10479,11 @@ json2mq@^0.2.0: dependencies: string-convert "^0.2.0" +json3@^3.3.3: + version "3.3.3" + resolved "https://registry.yarnpkg.com/json3/-/json3-3.3.3.tgz#7fc10e375fc5ae42c4705a5cc0aa6f62be305b81" + integrity sha512-c7/8mbUsKigAbLkD5B010BK4D9LZm7A1pNItkEwiUZRpIN66exu/e7YQWysGun+TRKaJp8MhemM+VkfWv42aCA== + json5@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/json5/-/json5-1.0.1.tgz#779fb0018604fa854eacbf6252180d83543e3dbe" @@ -10135,6 +10614,11 @@ jss@10.4.0, jss@^10.0.3: array-includes "^3.1.1" object.assign "^4.1.1" +killable@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/killable/-/killable-1.0.1.tgz#4c8ce441187a061c7474fb87ca08e2a638194892" + integrity sha512-LzqtLKlUwirEUyl/nicirVmNiPvYs7l5n8wOPP7fyJVpUPkvCnW/vuiXGpylGUlnPDnB7311rARzAt3Mhswpjg== + kind-of@^2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-2.0.1.tgz#018ec7a4ce7e3a86cb9141be519d24c8faa981b5" @@ -10697,6 +11181,11 @@ log-update@^4.0.0: slice-ansi "^4.0.0" wrap-ansi "^6.2.0" +loglevel@^1.6.8: + version "1.7.1" + resolved "https://registry.yarnpkg.com/loglevel/-/loglevel-1.7.1.tgz#005fde2f5e6e47068f935ff28573e125ef72f197" + integrity sha512-Hesni4s5UkWkwCGJMQGAh71PaLUmKFM60dHvq0zi/vDhhrzuk+4GgNbTXJ12YYQJn6ZKBDNIjYcuQGKudvqrIw== + loglevelnext@^1.0.1: version "1.0.5" resolved "https://registry.yarnpkg.com/loglevelnext/-/loglevelnext-1.0.5.tgz#36fc4f5996d6640f539ff203ba819641680d75a2" @@ -11130,6 +11619,16 @@ mime-db@1.44.0: resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.44.0.tgz#fa11c5eb0aca1334b4233cb4d52f10c5a6272f92" integrity sha512-/NOTfLrsPBVeH7YtFPgsVWveuL+4SjjYxaQ1xtM1KMFj7HdxlBlxeyNLzhyJVx7r4rZGJAZ/6lkKCitSc/Nmpg== +mime-db@1.47.0: + version "1.47.0" + resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.47.0.tgz#8cb313e59965d3c05cfbf898915a267af46a335c" + integrity sha512-QBmA/G2y+IfeS4oktet3qRZ+P5kPhCKRXxXnQEudYqUaEioAU1/Lq2us3D/t1Jfo4hE9REQPrbB7K5sOczJVIw== + +"mime-db@>= 1.43.0 < 2": + version "1.48.0" + resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.48.0.tgz#e35b31045dd7eada3aaad537ed88a33afbef2d1d" + integrity sha512-FM3QwxV+TnZYQ2aRqhlKBMHxk10lTbMt3bBkMAp54ddrNeVSfcQYOOKuGuy3Ddrm38I04If834fOUSq1yzslJQ== + mime-types@^2.1.12, mime-types@^2.1.27, mime-types@~2.1.19, mime-types@~2.1.24: version "2.1.27" resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.27.tgz#47949f98e279ea53119f5722e0f34e529bec009f" @@ -11137,6 +11636,13 @@ mime-types@^2.1.12, mime-types@^2.1.27, mime-types@~2.1.19, mime-types@~2.1.24: dependencies: mime-db "1.44.0" +mime-types@~2.1.17: + version "2.1.30" + resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.30.tgz#6e7be8b4c479825f85ed6326695db73f9305d62d" + integrity sha512-crmjA4bLtR8m9qLpHvgxSChT+XoSlZi8J4n/aIdn3z92e/U47Z0V/yl+Wh9W046GgFVAmoNR/fmdbZYcSSIUeg== + dependencies: + mime-db "1.47.0" + mime@1.6.0: version "1.6.0" resolved "https://registry.yarnpkg.com/mime/-/mime-1.6.0.tgz#32cd9e5c64553bd58d19a568af452acff04981b1" @@ -11332,6 +11838,19 @@ ms@2.1.2, ms@^2.0.0, ms@^2.1.1: resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009" integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w== +multicast-dns-service-types@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/multicast-dns-service-types/-/multicast-dns-service-types-1.1.0.tgz#899f11d9686e5e05cb91b35d5f0e63b773cfc901" + integrity sha1-iZ8R2WhuXgXLkbNdXw5jt3PPyQE= + +multicast-dns@^6.0.1: + version "6.2.3" + resolved "https://registry.yarnpkg.com/multicast-dns/-/multicast-dns-6.2.3.tgz#a0ec7bd9055c4282f790c3c82f4e28db3b31b229" + integrity sha512-ji6J5enbMyGRHIAkAOu3WdV8nggqviKCEKtXcOqfphZZtQrmHKycfynJ2V7eVPUA4NhJ6V7Wf4TmGbTwKE9B6g== + dependencies: + dns-packet "^1.3.1" + thunky "^1.0.2" + mute-stream@0.0.7: version "0.0.7" resolved "https://registry.yarnpkg.com/mute-stream/-/mute-stream-0.0.7.tgz#3075ce93bc21b8fab43e1bc4da7e8115ed1e7bab" @@ -11449,6 +11968,11 @@ node-fetch@^2.6.0, node-fetch@^2.6.1: resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.1.tgz#045bd323631f76ed2e2b55573394416b639a0052" integrity sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw== +node-forge@^0.10.0: + version "0.10.0" + resolved "https://registry.yarnpkg.com/node-forge/-/node-forge-0.10.0.tgz#32dea2afb3e9926f02ee5ce8794902691a676bf3" + integrity sha512-PPmu8eEeG9saEUvI97fm4OYxXVB6bFvyNTyiUOBichBpFG8A1Ljw3bY62+5oOjDEMHRnd0Y7HQ+x7uzxOzC6JA== + node-gyp@^5.0.2, node-gyp@^5.1.0: version "5.1.1" resolved "https://registry.yarnpkg.com/node-gyp/-/node-gyp-5.1.1.tgz#eb915f7b631c937d282e33aed44cb7a025f62a3e" @@ -11860,7 +12384,7 @@ oauth-sign@~0.9.0: resolved "https://registry.yarnpkg.com/oauth-sign/-/oauth-sign-0.9.0.tgz#47a7b016baa68b5fa0ecf3dee08a85c679ac6455" integrity sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ== -object-assign@^4.1.0, object-assign@^4.1.1: +object-assign@^4, object-assign@^4.0.1, object-assign@^4.1.0, object-assign@^4.1.1: version "4.1.1" resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863" integrity sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM= @@ -11958,6 +12482,11 @@ objectorarray@^1.0.4: resolved "https://registry.yarnpkg.com/objectorarray/-/objectorarray-1.0.4.tgz#d69b2f0ff7dc2701903d308bb85882f4ddb49483" integrity sha512-91k8bjcldstRz1bG6zJo8lWD7c6QXcB4nTDUqiEvIL1xAsLoZlOOZZG+nd6YPz+V7zY1580J4Xxh1vZtyv4i/w== +obuf@^1.0.0, obuf@^1.1.2: + version "1.1.2" + resolved "https://registry.yarnpkg.com/obuf/-/obuf-1.1.2.tgz#09bea3343d41859ebd446292d11c9d4db619084e" + integrity sha512-PX1wu0AmAdPqOL1mWhqmlOd8kOIZQwGZw6rh7uby9fTc5lhaOWFLX3I6R1hrF9k3zUY40e6igsLGkDXK92LJNg== + on-finished@~2.3.0: version "2.3.0" resolved "https://registry.yarnpkg.com/on-finished/-/on-finished-2.3.0.tgz#20f1336481b083cd75337992a16971aa2d906947" @@ -11965,6 +12494,11 @@ on-finished@~2.3.0: dependencies: ee-first "1.1.1" +on-headers@~1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/on-headers/-/on-headers-1.0.2.tgz#772b0ae6aaa525c399e489adfad90c403eb3c28f" + integrity sha512-pZAE+FJLoyITytdqK0U5s+FIpjN0JP3OzFi/u8Rx+EV5/W+JTWGXG8xFzevE7AjBfDqHv/8vL8qQsIhHnqRkrA== + once@^1.3.0, once@^1.3.1, once@^1.4.0, once@~1.4.0: version "1.4.0" resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1" @@ -11994,11 +12528,26 @@ open@^7.0.2, open@^7.0.3: is-docker "^2.0.0" is-wsl "^2.1.1" +open@^7.3.0: + version "7.4.2" + resolved "https://registry.yarnpkg.com/open/-/open-7.4.2.tgz#b8147e26dcf3e426316c730089fd71edd29c2321" + integrity sha512-MVHddDVweXZF3awtlAS+6pgKLlm/JgxZ90+/NBurBoQctVOOB/zDdVjcyPzQ+0laDGbsWgrRkflI65sQeOgT9Q== + dependencies: + is-docker "^2.0.0" + is-wsl "^2.1.1" + opener@^1.5.1: version "1.5.2" resolved "https://registry.yarnpkg.com/opener/-/opener-1.5.2.tgz#5d37e1f35077b9dcac4301372271afdeb2a13598" integrity sha512-ur5UIdyw5Y7yEj9wLzhqXiy6GZ3Mwx0yGI+5sMn2r0N0v3cKJvUmFH5yPP+WXh9e0xfyzyJX95D8l088DNFj7A== +opn@^5.5.0: + version "5.5.0" + resolved "https://registry.yarnpkg.com/opn/-/opn-5.5.0.tgz#fc7164fab56d235904c51c3b27da6758ca3b9bfc" + integrity sha512-PqHpggC9bLV0VeWcdKhkpxY+3JTzetLSqTCWL/z/tFIbI6G8JCjondXklT1JinczLz2Xib62sSp0T/gKT4KksA== + dependencies: + is-wsl "^1.1.0" + optionator@^0.8.1, optionator@^0.8.2: version "0.8.3" resolved "https://registry.yarnpkg.com/optionator/-/optionator-0.8.3.tgz#84fa1d036fe9d3c7e21d99884b601167ec8fb495" @@ -12011,6 +12560,13 @@ optionator@^0.8.1, optionator@^0.8.2: type-check "~0.3.2" word-wrap "~1.2.3" +original@^1.0.0: + version "1.0.2" + resolved "https://registry.yarnpkg.com/original/-/original-1.0.2.tgz#e442a61cffe1c5fd20a65f3261c26663b303f25f" + integrity sha512-hyBVl6iqqUOJ8FqRe+l/gS8H+kKYjrEndd5Pm1MfBtsEKA038HkkdbAl/72EAXGyonD/PFsvmVG+EvcIpliMBg== + dependencies: + url-parse "^1.4.3" + os-browserify@^0.3.0: version "0.3.0" resolved "https://registry.yarnpkg.com/os-browserify/-/os-browserify-0.3.0.tgz#854373c7f5c2315914fc9bfc6bd8238fdda1ec27" @@ -12159,6 +12715,13 @@ p-reduce@^2.0.0: resolved "https://registry.yarnpkg.com/p-reduce/-/p-reduce-2.1.0.tgz#09408da49507c6c274faa31f28df334bc712b64a" integrity sha512-2USApvnsutq8uoxZBGbbWM0JIYLiEMJ9RlaN7fAzVNb9OZN0SHjjTTfIcb667XynS5Y1VhwDJVDa72TnPzAYWw== +p-retry@^3.0.1: + version "3.0.1" + resolved "https://registry.yarnpkg.com/p-retry/-/p-retry-3.0.1.tgz#316b4c8893e2c8dc1cfa891f406c4b422bebf328" + integrity sha512-XE6G4+YTTkT2a0UWb2kjZe8xNwf8bIbnqpc/IS/idOBVhyves0mK5OJgeocjx7q5pvX/6m23xuzVPYT1uGM73w== + dependencies: + retry "^0.12.0" + p-retry@^4.0.0: version "4.2.0" resolved "https://registry.yarnpkg.com/p-retry/-/p-retry-4.2.0.tgz#ea9066c6b44f23cab4cd42f6147cdbbc6604da5d" @@ -12387,6 +12950,11 @@ pascalcase@^0.1.1: resolved "https://registry.yarnpkg.com/pascalcase/-/pascalcase-0.1.1.tgz#b363e55e8006ca6fe21784d2db22bd15d7917f14" integrity sha1-s2PlXoAGym/iF4TS2yK9FdeRfxQ= +patch-console@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/patch-console/-/patch-console-1.0.0.tgz#19b9f028713feb8a3c023702a8cc8cb9f7466f9d" + integrity sha512-nxl9nrnLQmh64iTzMfyylSlRozL7kAXIaxw1fVcLYdyhNkJCRUzirRZTikXGJsg+hc4fqpneTK6iU2H1Q8THSA== + path-browserify@0.0.1: version "0.0.1" resolved "https://registry.yarnpkg.com/path-browserify/-/path-browserify-0.0.1.tgz#e6c4ddd7ed3aa27c68a20cc4e50e1a4ee83bbc4a" @@ -12507,6 +13075,18 @@ pify@^5.0.0: resolved "https://registry.yarnpkg.com/pify/-/pify-5.0.0.tgz#1f5eca3f5e87ebec28cc6d54a0e4aaf00acc127f" integrity sha512-eW/gHNMlxdSP6dmG6uJip6FXN0EQBwm2clYYd8Wul42Cwu/DK8HEftzsapcNdYe2MfLiIwZqsDk2RDEsTE79hA== +pinkie-promise@^2.0.0: + version "2.0.1" + resolved "https://registry.yarnpkg.com/pinkie-promise/-/pinkie-promise-2.0.1.tgz#2135d6dfa7a358c069ac9b178776288228450ffa" + integrity sha1-ITXW36ejWMBprJsXh3YogihFD/o= + dependencies: + pinkie "^2.0.0" + +pinkie@^2.0.0: + version "2.0.4" + resolved "https://registry.yarnpkg.com/pinkie/-/pinkie-2.0.4.tgz#72556b80cfa0d48a974e80e77248e80ed4f7f870" + integrity sha1-clVrgM+g1IqXToDnckjoDtT3+HA= + pirates@^4.0.0, pirates@^4.0.1: version "4.0.1" resolved "https://registry.yarnpkg.com/pirates/-/pirates-4.0.1.tgz#643a92caf894566f91b2b986d2c66950a8e2fb87" @@ -12594,6 +13174,15 @@ popper.js@^1.14.4, popper.js@^1.14.7: resolved "https://registry.yarnpkg.com/popper.js/-/popper.js-1.16.1.tgz#2a223cb3dc7b6213d740e40372be40de43e65b1b" integrity sha512-Wb4p1J4zyFTbM+u6WuO4XstYx4Ky9Cewe4DWrel7B0w6VVICvPwdOpotjzcf6eD8TsckVnIMNONQyPIUFOUbCQ== +portfinder@^1.0.26: + version "1.0.28" + resolved "https://registry.yarnpkg.com/portfinder/-/portfinder-1.0.28.tgz#67c4622852bd5374dd1dd900f779f53462fac778" + integrity sha512-Se+2isanIcEqf2XMHjyUKskczxbPH7dQnlMjXX6+dybayyHvAf/TCgyMRlzf/B6QDhAEFOGes0pzRo3by4AbMA== + dependencies: + async "^2.6.2" + debug "^3.1.1" + mkdirp "^0.5.5" + posix-character-classes@^0.1.0: version "0.1.1" resolved "https://registry.yarnpkg.com/posix-character-classes/-/posix-character-classes-0.1.1.tgz#01eac0fe3b5af71a2a6c02feabb8c1fef7e00eab" @@ -12972,6 +13561,11 @@ querystring@0.2.0, querystring@^0.2.0: resolved "https://registry.yarnpkg.com/querystring/-/querystring-0.2.0.tgz#b209849203bb25df820da756e747005878521620" integrity sha1-sgmEkgO7Jd+CDadW50cAWHhSFiA= +querystringify@^2.1.1: + version "2.2.0" + resolved "https://registry.yarnpkg.com/querystringify/-/querystringify-2.2.0.tgz#3345941b4153cb9d082d8eee4cda2016a9aef7f6" + integrity sha512-FIqgj2EUvTa7R50u0rGsyTftzjYmv/a3hO345bZNrqabNqjtgiDMgmo4mkUjd+nzU5oF3dClKqFIPUKybUyqoQ== + quick-lru@^4.0.1: version "4.0.1" resolved "https://registry.yarnpkg.com/quick-lru/-/quick-lru-4.0.1.tgz#5b8878f113a58217848c6482026c73e1ba57727f" @@ -13129,6 +13723,14 @@ react-dev-utils@^10.0.0: strip-ansi "6.0.0" text-table "0.2.0" +react-devtools-core@^4.6.0: + version "4.13.5" + resolved "https://registry.yarnpkg.com/react-devtools-core/-/react-devtools-core-4.13.5.tgz#803e9ae8f7ab46deaa04129b376f3f21b2eb6ef1" + integrity sha512-k+P5VSKM6P22Go9IQ8dJmjj9fbztvKt1iRDI/4wS5oTvd1EnytIJMYB59wZt+D3kgp64jklNX/MRmY42xAQ08g== + dependencies: + shell-quote "^1.6.1" + ws "^7" + react-docgen-typescript-loader@^3.7.2: version "3.7.2" resolved "https://registry.yarnpkg.com/react-docgen-typescript-loader/-/react-docgen-typescript-loader-3.7.2.tgz#45cb2305652c0602767242a8700ad1ebd66bbbbd" @@ -13483,7 +14085,7 @@ read@1, read@~1.0.1, read@~1.0.7: string_decoder "~1.1.1" util-deprecate "~1.0.1" -readable-stream@3, readable-stream@^3.1.1, readable-stream@^3.6.0: +readable-stream@3, readable-stream@^3.0.6, readable-stream@^3.1.1, readable-stream@^3.6.0: version "3.6.0" resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-3.6.0.tgz#337bbda3adc0706bd3e024426a286d4b4b2c9198" integrity sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA== @@ -13788,11 +14390,23 @@ require-main-filename@^2.0.0: resolved "https://registry.yarnpkg.com/require-main-filename/-/require-main-filename-2.0.0.tgz#d0b329ecc7cc0f61649f62215be69af54aa8989b" integrity sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg== +requires-port@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/requires-port/-/requires-port-1.0.0.tgz#925d2601d39ac485e091cf0da5c6e694dc3dcaff" + integrity sha1-kl0mAdOaxIXgkc8NpcbmlNw9yv8= + resize-observer-polyfill@^1.5.0: version "1.5.1" resolved "https://registry.yarnpkg.com/resize-observer-polyfill/-/resize-observer-polyfill-1.5.1.tgz#0e9020dd3d21024458d4ebd27e23e40269810464" integrity sha512-LwZrotdHOo12nQuZlHEmtuXdqGoOD0OhaxopaNFxWzInpEgaLWoVuAMbTzixuosCx2nEG58ngzW3vxdWoxIgdg== +resolve-cwd@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/resolve-cwd/-/resolve-cwd-2.0.0.tgz#00a9f7387556e27038eae232caa372a6a59b665a" + integrity sha1-AKn3OHVW4nA46uIyyqNypqWbZlo= + dependencies: + resolve-from "^3.0.0" + resolve-cwd@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/resolve-cwd/-/resolve-cwd-3.0.0.tgz#0f0075f1bb2544766cf73ba6a6e2adfebcb13f2d" @@ -13977,7 +14591,7 @@ safe-buffer@5.1.2, safe-buffer@~5.1.0, safe-buffer@~5.1.1: resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.2.tgz#991ec69d296e0313747d59bdfd2b745c35f8828d" integrity sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g== -safe-buffer@^5.0.1, safe-buffer@^5.1.0, safe-buffer@^5.1.1, safe-buffer@^5.1.2, safe-buffer@^5.2.0, safe-buffer@~5.2.0: +safe-buffer@>=5.1.0, safe-buffer@^5.0.1, safe-buffer@^5.1.0, safe-buffer@^5.1.1, safe-buffer@^5.1.2, safe-buffer@^5.2.0, safe-buffer@~5.2.0: version "5.2.1" resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.2.1.tgz#1eaf9fa9bdb1fdd4ec75f58f9cdb4e6b7827eec6" integrity sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ== @@ -14042,6 +14656,15 @@ scheduler@^0.19.1: loose-envify "^1.1.0" object-assign "^4.1.1" +schema-utils@2.7.1, schema-utils@^2.6.5, schema-utils@^2.6.6, schema-utils@^2.7.0: + version "2.7.1" + resolved "https://registry.yarnpkg.com/schema-utils/-/schema-utils-2.7.1.tgz#1ca4f32d1b24c590c203b8e7a50bf0ea4cd394d7" + integrity sha512-SHiNtMOUGWBQJwzISiVYKu82GiV4QYGePp3odlY1tuKO7gPtphAT5R/py0fA6xtbgLL/RvtJZnU9b8s0F1q0Xg== + dependencies: + "@types/json-schema" "^7.0.5" + ajv "^6.12.4" + ajv-keywords "^3.5.2" + schema-utils@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/schema-utils/-/schema-utils-1.0.0.tgz#0b79a93204d7b600d4b2850d1f66c2a34951c770" @@ -14051,15 +14674,6 @@ schema-utils@^1.0.0: ajv-errors "^1.0.0" ajv-keywords "^3.1.0" -schema-utils@^2.6.5, schema-utils@^2.6.6, schema-utils@^2.7.0: - version "2.7.1" - resolved "https://registry.yarnpkg.com/schema-utils/-/schema-utils-2.7.1.tgz#1ca4f32d1b24c590c203b8e7a50bf0ea4cd394d7" - integrity sha512-SHiNtMOUGWBQJwzISiVYKu82GiV4QYGePp3odlY1tuKO7gPtphAT5R/py0fA6xtbgLL/RvtJZnU9b8s0F1q0Xg== - dependencies: - "@types/json-schema" "^7.0.5" - ajv "^6.12.4" - ajv-keywords "^3.5.2" - schema-utils@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/schema-utils/-/schema-utils-3.0.0.tgz#67502f6aa2b66a2d4032b4279a2944978a0913ef" @@ -14069,11 +14683,23 @@ schema-utils@^3.0.0: ajv "^6.12.5" ajv-keywords "^3.5.2" +select-hose@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/select-hose/-/select-hose-2.0.0.tgz#625d8658f865af43ec962bfc376a37359a4994ca" + integrity sha1-Yl2GWPhlr0Psliv8N2o3NZpJlMo= + select@^1.1.2: version "1.1.2" resolved "https://registry.yarnpkg.com/select/-/select-1.1.2.tgz#0e7350acdec80b1108528786ec1d4418d11b396d" integrity sha1-DnNQrN7ICxEIUoeG7B1EGNEbOW0= +selfsigned@^1.10.8: + version "1.10.11" + resolved "https://registry.yarnpkg.com/selfsigned/-/selfsigned-1.10.11.tgz#24929cd906fe0f44b6d01fb23999a739537acbe9" + integrity sha512-aVmbPOfViZqOZPgRBT0+3u4yZFHpmnIghLMlAcb5/xhp5ZtB/RVnKhz5vl2M32CLXAqR4kha9zfhNg0Lf/sxKA== + dependencies: + node-forge "^0.10.0" + semantic-release@^17.4.3: version "17.4.3" resolved "https://registry.yarnpkg.com/semantic-release/-/semantic-release-17.4.3.tgz#e01b2d0c0adaf5a6cc427359f1df755d1e908927" @@ -14152,6 +14778,13 @@ semver@^7.1.2, semver@^7.3.2: resolved "https://registry.yarnpkg.com/semver/-/semver-7.3.2.tgz#604962b052b81ed0786aae84389ffba70ffd3938" integrity sha512-OrOb32TeeambH6UrhtShmF7CRDqhL6/5XpPNp2DuRH6+9QLw/orhp72j87v8Qa1ScDkvrrBNpZcDejAirJmfXQ== +semver@^7.3.4: + version "7.3.5" + resolved "https://registry.yarnpkg.com/semver/-/semver-7.3.5.tgz#0b621c879348d8998e4b0e4be94b3f12e6018ef7" + integrity sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ== + dependencies: + lru-cache "^6.0.0" + send@0.17.1: version "0.17.1" resolved "https://registry.yarnpkg.com/send/-/send-0.17.1.tgz#c1d8b059f7900f7466dd4938bdc44e11ddb376c8" @@ -14189,6 +14822,19 @@ serve-favicon@^2.5.0: parseurl "~1.3.2" safe-buffer "5.1.1" +serve-index@^1.9.1: + version "1.9.1" + resolved "https://registry.yarnpkg.com/serve-index/-/serve-index-1.9.1.tgz#d3768d69b1e7d82e5ce050fff5b453bea12a9239" + integrity sha1-03aNabHn2C5c4FD/9bRTvqEqkjk= + dependencies: + accepts "~1.3.4" + batch "0.6.1" + debug "2.6.9" + escape-html "~1.0.3" + http-errors "~1.6.2" + mime-types "~2.1.17" + parseurl "~1.3.2" + serve-static@1.14.1: version "1.14.1" resolved "https://registry.yarnpkg.com/serve-static/-/serve-static-1.14.1.tgz#666e636dc4f010f7ef29970a88a674320898b2f9" @@ -14219,6 +14865,11 @@ setimmediate@^1.0.4: resolved "https://registry.yarnpkg.com/setimmediate/-/setimmediate-1.0.5.tgz#290cbb232e306942d7d7ea9b83732ab7856f8285" integrity sha1-KQy7Iy4waULX1+qbg3Mqt4VvgoU= +setprototypeof@1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/setprototypeof/-/setprototypeof-1.1.0.tgz#d0bd85536887b6fe7c0d818cb962d9d91c54e656" + integrity sha512-BvE/TwpZX4FXExxOxZyRGQQv651MSwmWKZGqvmPcRIjDqWub67kTKuIMx43cZZrS/cBBzwBcNDWoFxt2XEFIpQ== + setprototypeof@1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/setprototypeof/-/setprototypeof-1.1.1.tgz#7e95acb24aa92f5885e0abef5ba131330d4ae683" @@ -14249,6 +14900,13 @@ shallow-clone@^0.1.2: lazy-cache "^0.2.3" mixin-object "^2.0.1" +shallow-clone@^3.0.0: + version "3.0.1" + resolved "https://registry.yarnpkg.com/shallow-clone/-/shallow-clone-3.0.1.tgz#8f2981ad92531f55035b01fb230769a40e02efa3" + integrity sha512-/6KqX+GVUdqPuPPd2LxDDxzX6CAbjJehAAOKlNpqqUpAqPM6HeL8f+o3a+JsyGjn2lv0WY8UsTgUJjU9Ok55NA== + dependencies: + kind-of "^6.0.2" + shallow-equal@^1.1.0: version "1.2.1" resolved "https://registry.yarnpkg.com/shallow-equal/-/shallow-equal-1.2.1.tgz#4c16abfa56043aa20d050324efa68940b0da79da" @@ -14283,7 +14941,7 @@ shebang-regex@^3.0.0: resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-3.0.0.tgz#ae16f1644d873ecad843b0307b143362d4c42172" integrity sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A== -shell-quote@1.7.2: +shell-quote@1.7.2, shell-quote@^1.6.1: version "1.7.2" resolved "https://registry.yarnpkg.com/shell-quote/-/shell-quote-1.7.2.tgz#67a7d02c76c9da24f99d20808fcaded0e0e04be2" integrity sha512-mRz/m/JVscCrkMyPqHc/bczi3OQHkLTqXHEFu0zDhK/qfv3UcOA4SVmRCLmos4bhjr9ekVQubj/R7waKapmiQg== @@ -14324,6 +14982,15 @@ signale@^1.2.1: figures "^2.0.0" pkg-conf "^2.1.0" +simple-git@^2.4.0: + version "2.39.0" + resolved "https://registry.yarnpkg.com/simple-git/-/simple-git-2.39.0.tgz#6320e01675c6ee5272aec00727549a5d2617e35e" + integrity sha512-VOsrmc3fpp1lGVIpo+1SKNqJzrdVJeSGZCeenPKnJPNo5UouAlSkWFc037pfm9wRYtfxBdwp2deVJGCG8J6C8A== + dependencies: + "@kwsites/file-exists" "^1.1.1" + "@kwsites/promise-deferred" "^1.1.1" + debug "^4.3.1" + sisteransi@^1.0.5: version "1.0.5" resolved "https://registry.yarnpkg.com/sisteransi/-/sisteransi-1.0.5.tgz#134d681297756437cc05ca01370d3a7a571075ed" @@ -14416,6 +15083,27 @@ snapdragon@^0.8.1: source-map-resolve "^0.5.0" use "^3.1.0" +sockjs-client@^1.5.0: + version "1.5.1" + resolved "https://registry.yarnpkg.com/sockjs-client/-/sockjs-client-1.5.1.tgz#256908f6d5adfb94dabbdbd02c66362cca0f9ea6" + integrity sha512-VnVAb663fosipI/m6pqRXakEOw7nvd7TUgdr3PlR/8V2I95QIdwT8L4nMxhyU8SmDBHYXU1TOElaKOmKLfYzeQ== + dependencies: + debug "^3.2.6" + eventsource "^1.0.7" + faye-websocket "^0.11.3" + inherits "^2.0.4" + json3 "^3.3.3" + url-parse "^1.5.1" + +sockjs@^0.3.21: + version "0.3.21" + resolved "https://registry.yarnpkg.com/sockjs/-/sockjs-0.3.21.tgz#b34ffb98e796930b60a0cfa11904d6a339a7d417" + integrity sha512-DhbPFGpxjc6Z3I+uX07Id5ZO2XwYsWOrYjaSeieES78cq+JaJvVe5q/m1uvjIQhXinhIeCFRH6JgXe+mvVMyXw== + dependencies: + faye-websocket "^0.11.3" + uuid "^3.4.0" + websocket-driver "^0.7.4" + socks-proxy-agent@^4.0.0: version "4.0.2" resolved "https://registry.yarnpkg.com/socks-proxy-agent/-/socks-proxy-agent-4.0.2.tgz#3c8991f3145b2799e70e11bd5fbc8b1963116386" @@ -14525,6 +15213,29 @@ spdx-license-ids@^3.0.0: resolved "https://registry.yarnpkg.com/spdx-license-ids/-/spdx-license-ids-3.0.6.tgz#c80757383c28abf7296744998cbc106ae8b854ce" integrity sha512-+orQK83kyMva3WyPf59k1+Y525csj5JejicWut55zeTWANuN17qSiSLUXWtzHeNWORSvT7GLDJ/E/XiIWoXBTw== +spdy-transport@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/spdy-transport/-/spdy-transport-3.0.0.tgz#00d4863a6400ad75df93361a1608605e5dcdcf31" + integrity sha512-hsLVFE5SjA6TCisWeJXFKniGGOpBgMLmerfO2aCyCU5s7nJ/rpAepqmFifv/GCbSbueEeAJJnmSQ2rKC/g8Fcw== + dependencies: + debug "^4.1.0" + detect-node "^2.0.4" + hpack.js "^2.1.6" + obuf "^1.1.2" + readable-stream "^3.0.6" + wbuf "^1.7.3" + +spdy@^4.0.2: + version "4.0.2" + resolved "https://registry.yarnpkg.com/spdy/-/spdy-4.0.2.tgz#b74f466203a3eda452c02492b91fb9e84a27677b" + integrity sha512-r46gZQZQV+Kl9oItvl1JZZqJKGr+oEkB08A6BzkiR7593/7IbtuncXHd2YoYeTsG4157ZssMu9KYvUHLcjcDoA== + dependencies: + debug "^4.1.0" + handle-thing "^2.0.0" + http-deceiver "^1.2.7" + select-hose "^2.0.0" + spdy-transport "^3.0.0" + split-on-first@^1.0.0: version "1.1.0" resolved "https://registry.yarnpkg.com/split-on-first/-/split-on-first-1.1.0.tgz#f610afeee3b12bce1d0c30425e76398b78249a5f" @@ -14612,7 +15323,7 @@ static-extend@^0.1.1: define-property "^0.2.5" object-copy "^0.1.0" -"statuses@>= 1.5.0 < 2", statuses@~1.5.0: +"statuses@>= 1.4.0 < 2", "statuses@>= 1.5.0 < 2", statuses@~1.5.0: version "1.5.0" resolved "https://registry.yarnpkg.com/statuses/-/statuses-1.5.0.tgz#161c7dac177659fd9811f43771fa99381478628c" integrity sha1-Fhx9rBd2Wf2YEfQ3cfqZOBR4Yow= @@ -15119,7 +15830,7 @@ term-size@^2.1.0: resolved "https://registry.yarnpkg.com/term-size/-/term-size-2.2.1.tgz#2a6a54840432c2fb6320fea0f415531e90189f54" integrity sha512-wK0Ri4fOGjv/XPy8SBHZChl8CM7uMc5VML7SqiQ0zG7+J5Vr+RMQDoHa2CNT6KHUnTGIXH34UDMkPzAUyapBZg== -terminal-link@^2.0.0: +terminal-link@^2.0.0, terminal-link@^2.1.1: version "2.1.1" resolved "https://registry.yarnpkg.com/terminal-link/-/terminal-link-2.1.1.tgz#14a64a27ab3c0df933ea546fba55f2d078edc994" integrity sha512-un0FmiRUQNr5PJqy9kP7c40F5BOfpGlYTrxonDChEZB7pzZxRNp/bt+ymiy9/npwXya9KH99nJ/GXFIiUkYGFQ== @@ -15215,6 +15926,11 @@ through@2, "through@>=2.2.7 <3", through@^2.3.6, through@^2.3.8: resolved "https://registry.yarnpkg.com/through/-/through-2.3.8.tgz#0dd4c9ffaabc357960b1b724115d7e0e86a2e1f5" integrity sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU= +thunky@^1.0.2: + version "1.1.0" + resolved "https://registry.yarnpkg.com/thunky/-/thunky-1.1.0.tgz#5abaf714a9405db0504732bbccd2cedd9ef9537d" + integrity sha512-eHY7nBftgThBqOyHGVN+l8gF0BucP09fMo0oO/Lb0w1OF80dJv+lDVpXG60WMQvkcxAkNybKsrEIE3ZtKGmPrA== + time-zone@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/time-zone/-/time-zone-1.0.0.tgz#99c5bf55958966af6d06d83bdf3800dc82faec5d" @@ -15441,6 +16157,16 @@ type-fest@^0.11.0: resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.11.0.tgz#97abf0872310fed88a5c466b25681576145e33f1" integrity sha512-OdjXJxnCN1AvyLSzeKIgXTXxV+99ZuXl3Hpo9XpJAv9MBcHrrJOQ5kV7ypXOuQie+AmWG25hLbiKdwYTifzcfQ== +type-fest@^0.12.0: + version "0.12.0" + resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.12.0.tgz#f57a27ab81c68d136a51fd71467eff94157fa1ee" + integrity sha512-53RyidyjvkGpnWPMF9bQgFtWp+Sl8O2Rp13VavmJgfAP9WWG6q6TkrKU8iyJdnwnfgHI6k2hTlgqH4aSdjoTbg== + +type-fest@^0.15.1: + version "0.15.1" + resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.15.1.tgz#d2c4e73d3e4a53cf1a906396dd460a1c5178ca00" + integrity sha512-n+UXrN8i5ioo7kqT/nF8xsEzLaqFra7k32SEsSPwvXVGyAcRgV/FUQN/sgfptJTR1oRmmq7z4IXMFSM7im7C9A== + type-fest@^0.16.0: version "0.16.0" resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.16.0.tgz#3240b891a78b0deae910dbeb86553e552a148860" @@ -15735,6 +16461,14 @@ url-parse-lax@^1.0.0: dependencies: prepend-http "^1.0.1" +url-parse@^1.4.3, url-parse@^1.5.1: + version "1.5.1" + resolved "https://registry.yarnpkg.com/url-parse/-/url-parse-1.5.1.tgz#d5fa9890af8a5e1f274a2c98376510f6425f6e3b" + integrity sha512-HOfCOUJt7iSYzEx/UqgtwKRMC6EU91NFhsCHMv9oM03VJcVo2Qrp8T8kI9D7amFf1cu+/3CEhgb3rF9zL7k85Q== + dependencies: + querystringify "^2.1.1" + requires-port "^1.0.0" + url@0.10.3: version "0.10.3" resolved "https://registry.yarnpkg.com/url/-/url-0.10.3.tgz#021e4d9c7705f21bbf37d03ceb58767402774c64" @@ -15839,7 +16573,7 @@ uuid@3.3.2: resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.3.2.tgz#1b4af4955eb3077c501c23872fc6513811587131" integrity sha512-yXJmeNaw3DnnKAOKJE51sL/ZaYfWJRl1pK9dr19YFCu0ObS231AB1/LbqTKRAQ5kw8A90rA6fr4riOUpTZvQZA== -uuid@^3.0.1, uuid@^3.1.0, uuid@^3.3.2, uuid@^3.3.3: +uuid@^3.0.1, uuid@^3.1.0, uuid@^3.3.2, uuid@^3.3.3, uuid@^3.4.0: version "3.4.0" resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.4.0.tgz#b23e4358afa8a202fe7a100af1f5f883f02007ee" integrity sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A== @@ -15885,7 +16619,7 @@ validate-npm-package-name@^3.0.0, validate-npm-package-name@~3.0.0: dependencies: builtins "^1.0.3" -vary@~1.1.2: +vary@^1, vary@~1.1.2: version "1.1.2" resolved "https://registry.yarnpkg.com/vary/-/vary-1.1.2.tgz#2299f02c6ded30d4a5961b0b9f74524a18f634fc" integrity sha1-IpnwLG3tMNSllhsLn3RSShj2NPw= @@ -15980,6 +16714,13 @@ watchpack@^1.7.4: chokidar "^3.4.1" watchpack-chokidar2 "^2.0.1" +wbuf@^1.1.0, wbuf@^1.7.3: + version "1.7.3" + resolved "https://registry.yarnpkg.com/wbuf/-/wbuf-1.7.3.tgz#c1d8d149316d3ea852848895cb6a0bfe887b87df" + integrity sha512-O84QOnr0icsbFGLS0O3bI5FswxzRr8/gHwWkDlQFskhSPryQXvrTMxjxGP4+iWYoauLoBvfDpkrOauZ+0iZpDA== + dependencies: + minimalistic-assert "^1.0.0" + wcwidth@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/wcwidth/-/wcwidth-1.0.1.tgz#f0b0dcf915bc5ff1528afadb2c0e17b532da2fe8" @@ -16008,6 +16749,56 @@ webpack-dev-middleware@^3.7.0: range-parser "^1.2.1" webpack-log "^2.0.0" +webpack-dev-middleware@^3.7.2: + version "3.7.3" + resolved "https://registry.yarnpkg.com/webpack-dev-middleware/-/webpack-dev-middleware-3.7.3.tgz#0639372b143262e2b84ab95d3b91a7597061c2c5" + integrity sha512-djelc/zGiz9nZj/U7PTBi2ViorGJXEWo/3ltkPbDyxCXhhEXkW0ce99falaok4TPj+AsxLiXJR0EBOb0zh9fKQ== + dependencies: + memory-fs "^0.4.1" + mime "^2.4.4" + mkdirp "^0.5.1" + range-parser "^1.2.1" + webpack-log "^2.0.0" + +webpack-dev-server@^3.11.2: + version "3.11.2" + resolved "https://registry.yarnpkg.com/webpack-dev-server/-/webpack-dev-server-3.11.2.tgz#695ebced76a4929f0d5de7fd73fafe185fe33708" + integrity sha512-A80BkuHRQfCiNtGBS1EMf2ChTUs0x+B3wGDFmOeT4rmJOHhHTCH2naNxIHhmkr0/UillP4U3yeIyv1pNp+QDLQ== + dependencies: + ansi-html "0.0.7" + bonjour "^3.5.0" + chokidar "^2.1.8" + compression "^1.7.4" + connect-history-api-fallback "^1.6.0" + debug "^4.1.1" + del "^4.1.1" + express "^4.17.1" + html-entities "^1.3.1" + http-proxy-middleware "0.19.1" + import-local "^2.0.0" + internal-ip "^4.3.0" + ip "^1.1.5" + is-absolute-url "^3.0.3" + killable "^1.0.1" + loglevel "^1.6.8" + opn "^5.5.0" + p-retry "^3.0.1" + portfinder "^1.0.26" + schema-utils "^1.0.0" + selfsigned "^1.10.8" + semver "^6.3.0" + serve-index "^1.9.1" + sockjs "^0.3.21" + sockjs-client "^1.5.0" + spdy "^4.0.2" + strip-ansi "^3.0.1" + supports-color "^6.1.0" + url "^0.11.0" + webpack-dev-middleware "^3.7.2" + webpack-log "^2.0.0" + ws "^6.2.1" + yargs "^13.3.2" + webpack-hot-middleware@^2.25.0: version "2.25.0" resolved "https://registry.yarnpkg.com/webpack-hot-middleware/-/webpack-hot-middleware-2.25.0.tgz#4528a0a63ec37f8f8ef565cf9e534d57d09fe706" @@ -16036,6 +16827,14 @@ webpack-log@^2.0.0: ansi-colors "^3.0.0" uuid "^3.3.2" +webpack-merge@^5.1.4: + version "5.7.3" + resolved "https://registry.yarnpkg.com/webpack-merge/-/webpack-merge-5.7.3.tgz#2a0754e1877a25a8bbab3d2475ca70a052708213" + integrity sha512-6/JUQv0ELQ1igjGDzHkXbVDRxkfA57Zw7PfiupdLFJYrgFqY5ZP8xxbpp2lU3EPwYx89ht5Z/aDkD40hFCm5AA== + dependencies: + clone-deep "^4.0.1" + wildcard "^2.0.0" + webpack-sources@^1.4.0, webpack-sources@^1.4.1, webpack-sources@^1.4.3: version "1.4.3" resolved "https://registry.yarnpkg.com/webpack-sources/-/webpack-sources-1.4.3.tgz#eedd8ec0b928fbf1cbfe994e22d2d890f330a933" @@ -16080,6 +16879,20 @@ webpack@^4.43.0: watchpack "^1.7.4" webpack-sources "^1.4.1" +websocket-driver@>=0.5.1, websocket-driver@^0.7.4: + version "0.7.4" + resolved "https://registry.yarnpkg.com/websocket-driver/-/websocket-driver-0.7.4.tgz#89ad5295bbf64b480abcba31e4953aca706f5760" + integrity sha512-b17KeDIQVjvb0ssuSDF2cYXSg2iztliJ4B9WdsuB6J952qCPKmnVq4DyW5motImXHDC1cBT/1UezrJVsKw5zjg== + dependencies: + http-parser-js ">=0.5.1" + safe-buffer ">=5.1.0" + websocket-extensions ">=0.1.1" + +websocket-extensions@>=0.1.1: + version "0.1.4" + resolved "https://registry.yarnpkg.com/websocket-extensions/-/websocket-extensions-0.1.4.tgz#7f8473bc839dfd87608adb95d7eb075211578a42" + integrity sha512-OqedPIGOfsDlo31UNwYbCFMSaO9m9G/0faIHj5/dZFDMFqPTcx6UwqyOy3COEaEOg/9VsGIpdqn62W5KhoKSpg== + well-known-symbols@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/well-known-symbols/-/well-known-symbols-2.0.0.tgz#e9c7c07dbd132b7b84212c8174391ec1f9871ba5" @@ -16146,6 +16959,11 @@ widest-line@^3.1.0: dependencies: string-width "^4.0.0" +wildcard@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/wildcard/-/wildcard-2.0.0.tgz#a77d20e5200c6faaac979e4b3aadc7b3dd7f8fec" + integrity sha512-JcKqAHLPxcdb9KM49dufGXn2x3ssnfjbcaQdLlfZsL9rH9wgDQjUtDxbo8NE0F6SFvydeu1VhZe7hZuHsB2/pw== + word-wrap@^1.0.3, word-wrap@~1.2.3: version "1.2.3" resolved "https://registry.yarnpkg.com/word-wrap/-/word-wrap-1.2.3.tgz#610636f6b1f703891bd34771ccb17fb93b47079c" @@ -16236,6 +17054,18 @@ write@1.0.3: dependencies: mkdirp "^0.5.1" +ws@^6.2.1: + version "6.2.1" + resolved "https://registry.yarnpkg.com/ws/-/ws-6.2.1.tgz#442fdf0a47ed64f59b6a5d8ff130f4748ed524fb" + integrity sha512-GIyAXC2cB7LjvpgMt9EKS2ldqr0MTrORaleiOno6TweZ6r3TKtoFQWay/2PceJ3RuBasOHzXNn5Lrw1X0bEjqA== + dependencies: + async-limiter "~1.0.0" + +ws@^7, ws@^7.2.5, ws@^7.4.5: + version "7.4.6" + resolved "https://registry.yarnpkg.com/ws/-/ws-7.4.6.tgz#5654ca8ecdeee47c33a9a4bf6d28e2be2980377c" + integrity sha512-YmhHDO4MzaDLB+M9ym/mDA5z0naX8j7SIlT8f8z+I0VtzsRbekxEutHSme7NPS2qE8StCYQNUnfWdXta/Yu85A== + ws@^7.2.0: version "7.4.0" resolved "https://registry.yarnpkg.com/ws/-/ws-7.4.0.tgz#a5dd76a24197940d4a8bb9e0e152bb4503764da7" @@ -16322,6 +17152,14 @@ yargs-parser@^11.1.1: camelcase "^5.0.0" decamelize "^1.2.0" +yargs-parser@^13.1.2: + version "13.1.2" + resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-13.1.2.tgz#130f09702ebaeef2650d54ce6e3e5706f7a4fb38" + integrity sha512-3lbsNRf/j+A4QuSZfDRA7HRSfWrzO0YjqTJd5kjAq37Zep1CEgaYmrH9Q3GwPiB9cHyd1Y1UwggGhJGoxipbzg== + dependencies: + camelcase "^5.0.0" + decamelize "^1.2.0" + yargs-parser@^15.0.1: version "15.0.1" resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-15.0.1.tgz#54786af40b820dcb2fb8025b11b4d659d76323b3" @@ -16398,6 +17236,22 @@ yargs@^12.0.1: y18n "^3.2.1 || ^4.0.0" yargs-parser "^11.1.1" +yargs@^13.3.2: + version "13.3.2" + resolved "https://registry.yarnpkg.com/yargs/-/yargs-13.3.2.tgz#ad7ffefec1aa59565ac915f82dccb38a9c31a2dd" + integrity sha512-AX3Zw5iPruN5ie6xGRIDgqkT+ZhnRlZMLMHAs8tg7nRruy2Nb+i5o9bwghAogtM08q1dpr2LVoS8KSTMYpWXUw== + dependencies: + cliui "^5.0.0" + find-up "^3.0.0" + get-caller-file "^2.0.1" + require-directory "^2.1.1" + require-main-filename "^2.0.0" + set-blocking "^2.0.0" + string-width "^3.0.0" + which-module "^2.0.0" + y18n "^4.0.0" + yargs-parser "^13.1.2" + yargs@^14.2.3: version "14.2.3" resolved "https://registry.yarnpkg.com/yargs/-/yargs-14.2.3.tgz#1a1c3edced1afb2a2fea33604bc6d1d8d688a414" @@ -16464,7 +17318,7 @@ yargs@^8.0.2: y18n "^3.2.1" yargs-parser "^7.0.0" -yoga-layout-prebuilt@^1.9.3: +yoga-layout-prebuilt@^1.9.3, yoga-layout-prebuilt@^1.9.6: version "1.10.0" resolved "https://registry.yarnpkg.com/yoga-layout-prebuilt/-/yoga-layout-prebuilt-1.10.0.tgz#2936fbaf4b3628ee0b3e3b1df44936d6c146faa6" integrity sha512-YnOmtSbv4MTf7RGJMK0FvZ+KD8OEe/J5BNnR0GHhD8J/XcG/Qvxgszm0Un6FTHWW4uHlTgP0IztiXQnGyIR45g== From 872c5564dd760faba495fd95c483dc113501b2b3 Mon Sep 17 00:00:00 2001 From: Simon Jentsch Date: Tue, 1 Jun 2021 15:33:52 +0200 Subject: [PATCH 2/4] Use @next release of Bojagi CLI --- .gitignore | 3 +- .storybook/main.js | 4 + .storybook/{config.js => preview.js} | 34 +- .storybook/regression-test/config.js | 31 -- .storybook/regression-test/main.js | 4 + .storybook/regression-test/preview.js | 15 + .storybook/regression-test/stories.js | 4 +- .storybook/stories.js | 4 +- .storybook/webpack.config.js | 9 + components/shared/uniqId.js | 2 - package.json | 2 +- .../Accordion.regression-test.story.jsx | 45 ++- stories/Accordion/Accordion.story.jsx | 9 +- stories/Alert/Alert.regression-test.story.jsx | 72 ++-- stories/Alert/Alert.story.jsx | 9 +- .../Avatar/Avatar.regression-test.story.jsx | 56 ++- stories/Avatar/Avatar.story.jsx | 9 +- stories/Badge/Badge.regression-test.story.jsx | 69 +++- stories/Badge/Badge.story.jsx | 9 +- stories/Breakpoints/Breakpoints.story.jsx | 9 +- .../Button/Button.regression-test.story.jsx | 270 ++++++++++---- stories/Button/Button.story.jsx | 59 +-- .../SocialButtons.regression-test.story.jsx | 22 ++ stories/Card/Card.regression-test.story.jsx | 26 +- stories/Card/Card.story.jsx | 9 +- .../Carousel.regression-test.story.jsx | 59 ++- stories/Carousel/Carousel.story.jsx | 9 +- .../Checkbox.regression-test.story.jsx | 47 ++- stories/Checkbox/Checkbox.story.jsx | 9 +- .../CircularLoader.regression-test.story.jsx | 54 ++- stories/Colors/Colors.story.jsx | 9 +- .../Dropdown.regression-test.story.jsx | 47 ++- stories/Dropdown/Dropdown.story.jsx | 9 +- stories/Form/Form.story.jsx | 9 +- stories/Grid/Grid.regression-test.story.jsx | 40 +- stories/Grid/Grid.story.jsx | 9 +- .../Hamburger.regression-test.story.jsx | 75 ++-- stories/Hamburger/Hamburger.story.jsx | 9 +- stories/Icon/Icon.regression-test.story.jsx | 37 +- stories/Icon/Icon.story.jsx | 9 +- stories/Input/Input.regression-test.story.jsx | 68 +++- stories/Input/Input.story.jsx | 9 +- stories/Introduction/Introduction.story.jsx | 13 +- stories/Loaders/Loaders.story.jsx | 58 +-- stories/Modal/Modal.regression-test.story.jsx | 86 +++-- stories/Modal/Modal.story.jsx | 9 +- .../Pagination.regression-test.story.jsx | 61 ++- stories/Pagination/Pagination.story.jsx | 9 +- .../Popover/Popover.regression-test.story.jsx | 141 ++++++- stories/Popover/Popover.story.jsx | 9 +- .../ProgressBar.regression-test.story.jsx | 108 ++++-- .../RadioGroup.regression-test.story.jsx | 34 +- stories/RadioGroup/RadioGroup.story.jsx | 10 +- .../RangeSlider.regression-test.story.jsx | 75 ++-- stories/RangeSlider/RangeSlider.story.jsx | 13 +- ...SegmentedControl.regression-test.story.jsx | 150 +++++--- .../SegmentedControl.story.jsx | 13 +- .../Skeleton.regression-test.story.jsx | 124 ++++--- stories/SnackBar/SnackBar.story.jsx | 13 +- .../Socials/Socials.regression-test.story.jsx | 111 ++++-- stories/Socials/Socials.story.jsx | 9 +- .../Stepper/Stepper.regression-test.story.jsx | 351 ++++++++++-------- stories/Stepper/Stepper.story.jsx | 9 +- .../TabbedView.regression-test.story.jsx | 76 ++-- stories/TabbedView/TabbedView.story.jsx | 13 +- stories/Tag/Tag.regression-test.story.jsx | 164 ++++---- stories/Tag/Tag.story.jsx | 9 +- .../TextArea.regression-test.story.jsx | 54 ++- stories/TextArea/TextArea.story.jsx | 13 +- stories/Theme/Theme.story.jsx | 9 +- .../Toggle/Toggle.regression-test.story.jsx | 19 +- stories/Toggle/Toggle.story.jsx | 9 +- .../Tooltip/Tooltip.regression-test.story.jsx | 41 +- stories/Tooltip/Tooltip.story.jsx | 9 +- stories/Typography/Typography.story.jsx | 9 +- yarn.lock | 14 +- 76 files changed, 2104 insertions(+), 1034 deletions(-) create mode 100644 .storybook/main.js rename .storybook/{config.js => preview.js} (55%) delete mode 100644 .storybook/regression-test/config.js create mode 100644 .storybook/regression-test/main.js create mode 100644 .storybook/regression-test/preview.js create mode 100644 stories/Button/SocialButtons.regression-test.story.jsx diff --git a/.gitignore b/.gitignore index 5a246f97c..69507ddc5 100644 --- a/.gitignore +++ b/.gitignore @@ -6,4 +6,5 @@ npm-debug.log coverage .idea .vscode -dist \ No newline at end of file +dist +.bojagi/tmp diff --git a/.storybook/main.js b/.storybook/main.js new file mode 100644 index 000000000..e72ec42b9 --- /dev/null +++ b/.storybook/main.js @@ -0,0 +1,4 @@ +const stories = require('./stories'); +module.exports = { + stories, +}; diff --git a/.storybook/config.js b/.storybook/preview.js similarity index 55% rename from .storybook/config.js rename to .storybook/preview.js index ea014c90a..5a0e67fbb 100644 --- a/.storybook/config.js +++ b/.storybook/preview.js @@ -1,20 +1,8 @@ import React from 'react'; -import 'babel-polyfill'; import 'loki/configure-react'; -import { configure, addDecorator } from '@storybook/react'; import { withOptions } from '@storybook/addon-options'; import { UiStyle } from '@catho/quantum-storybook-ui'; import GlobalStyle from '../components/GlobalStyle'; -import stories from './stories'; - -addDecorator( - withOptions({ - name: 'Quantum', - showAddonPanel: false, - addonPanelInRight: false, - url: 'https://github.com/catho/quantum/', - }), -); const CSSDecorator = storyFn => <>{storyFn()}; const FontDecorator = storyFn => ( @@ -24,14 +12,14 @@ const FontDecorator = storyFn => ( ); -addDecorator(UiStyle); -addDecorator(CSSDecorator); -addDecorator(FontDecorator); - -const reqStories = require.context('../stories', true, /.story.jsx?$/); - -function loadStories() { - stories.forEach(filename => reqStories(filename)); -} - -configure(loadStories, module); +export const decorators = [ + withOptions({ + name: 'Quantum', + showAddonPanel: false, + addonPanelInRight: false, + url: 'https://github.com/catho/quantum/', + }), + UiStyle, + CSSDecorator, + FontDecorator, +]; diff --git a/.storybook/regression-test/config.js b/.storybook/regression-test/config.js deleted file mode 100644 index 4de9947b9..000000000 --- a/.storybook/regression-test/config.js +++ /dev/null @@ -1,31 +0,0 @@ -import React from 'react'; -import 'babel-polyfill'; -import 'loki/configure-react'; -import { configure, addDecorator } from '@storybook/react'; -import { UiStyle } from '@catho/quantum-storybook-ui'; -import GlobalStyle from '../../components/GlobalStyle'; -import stories from './stories'; - -const CSSDecorator = storyFn => <>{storyFn()}; -const FontDecorator = storyFn => ( - <> - - {storyFn()} - -); - -addDecorator(UiStyle); -addDecorator(CSSDecorator); -addDecorator(FontDecorator); - -const reqStories = require.context( - '../../stories', - true, - /.regression-test.story.jsx?$/, -); - -function loadStories() { - stories.forEach(filename => reqStories(filename)); -} - -configure(loadStories, module); diff --git a/.storybook/regression-test/main.js b/.storybook/regression-test/main.js new file mode 100644 index 000000000..e72ec42b9 --- /dev/null +++ b/.storybook/regression-test/main.js @@ -0,0 +1,4 @@ +const stories = require('./stories'); +module.exports = { + stories, +}; diff --git a/.storybook/regression-test/preview.js b/.storybook/regression-test/preview.js new file mode 100644 index 000000000..281b872e4 --- /dev/null +++ b/.storybook/regression-test/preview.js @@ -0,0 +1,15 @@ +import React from 'react'; +import 'loki/configure-react'; +import { addDecorator } from '@storybook/react'; +import { UiStyle } from '@catho/quantum-storybook-ui'; +import GlobalStyle from '../../components/GlobalStyle'; + +const CSSDecorator = storyFn => <>{storyFn()}; +const FontDecorator = storyFn => ( + <> + + {storyFn()} + +); + +export const decorators = [UiStyle, CSSDecorator, FontDecorator]; diff --git a/.storybook/regression-test/stories.js b/.storybook/regression-test/stories.js index 3d7694476..cfeaf659c 100644 --- a/.storybook/regression-test/stories.js +++ b/.storybook/regression-test/stories.js @@ -4,7 +4,7 @@ * order is reflected in storybook sidebar */ -export default [ +module.exports = [ 'Avatar', 'Icon', 'Accordion', @@ -34,4 +34,4 @@ export default [ 'Tooltip', 'Stepper', 'SegmentedControl', -].map(s => `./${s}/${s}.regression-test.story.jsx`); +].map(s => `../../stories/${s}/${s}.regression-test.story.jsx`); diff --git a/.storybook/stories.js b/.storybook/stories.js index ba919d111..b411d8175 100644 --- a/.storybook/stories.js +++ b/.storybook/stories.js @@ -4,7 +4,7 @@ * order is reflected in storybook sidebar */ -export default [ +module.exports = [ 'Introduction', // Foundations @@ -78,4 +78,4 @@ export default [ 'Stepper', 'SegmentedControl', -].map(s => `./${s}/${s}.story.jsx`); +].map(s => `../stories/${s}/${s}.story.jsx`); diff --git a/.storybook/webpack.config.js b/.storybook/webpack.config.js index 51fe687a7..f967d043f 100644 --- a/.storybook/webpack.config.js +++ b/.storybook/webpack.config.js @@ -10,6 +10,15 @@ module.exports = { ], module: { rules: [ + { + test: /\.jsx$/, + use: [ + { + loader: 'babel-loader', + options: {}, + }, + ], + }, { test: /\.css$/, use: [ diff --git a/components/shared/uniqId.js b/components/shared/uniqId.js index 17d7a0a45..1f1611490 100644 --- a/components/shared/uniqId.js +++ b/components/shared/uniqId.js @@ -1,5 +1,3 @@ -import 'babel-polyfill'; - export default function*(prefix = '') { let _counter = -1; while (true) yield `${prefix}${(_counter += 1)}`; diff --git a/package.json b/package.json index b7abda46f..295c1c481 100644 --- a/package.json +++ b/package.json @@ -56,7 +56,7 @@ "@babel/node": "^7.2.2", "@babel/preset-env": "^7.3.1", "@babel/preset-react": "^7.0.0", - "@bojagi/cli": "^0.17.1", + "@bojagi/cli": "^0.18.0-next.0", "@catho/quantum-storybook-ui": "^1.3.1", "@semantic-release/commit-analyzer": "^8.0.1", "@semantic-release/exec": "^5.0.0", diff --git a/stories/Accordion/Accordion.regression-test.story.jsx b/stories/Accordion/Accordion.regression-test.story.jsx index a1baa2414..6d39361c5 100644 --- a/stories/Accordion/Accordion.regression-test.story.jsx +++ b/stories/Accordion/Accordion.regression-test.story.jsx @@ -1,5 +1,4 @@ import React from 'react'; -import { storiesOf } from '@storybook/react'; import mockedProps, { mockWithFirstItemOpened, mockWithLastItemOpened, @@ -8,14 +7,36 @@ import mockedProps, { import { Accordion } from '../../components'; -storiesOf('Accordion', module) - .add('Accordion default', () => ) - .add('Accordion with first item opened', () => ( - - )) - .add('Accordion with last item opened', () => ( - - )) - .add('Accordion with all items closed', () => ( - - )); +export default { + title: 'Accordion', +}; + +export const AccordionDefault = () => ; + +AccordionDefault.story = { + name: 'Accordion default', +}; + +export const AccordionWithFirstItemOpened = () => ( + +); + +AccordionWithFirstItemOpened.story = { + name: 'Accordion with first item opened', +}; + +export const AccordionWithLastItemOpened = () => ( + +); + +AccordionWithLastItemOpened.story = { + name: 'Accordion with last item opened', +}; + +export const AccordionWithAllItemsClosed = () => ( + +); + +AccordionWithAllItemsClosed.story = { + name: 'Accordion with all items closed', +}; diff --git a/stories/Accordion/Accordion.story.jsx b/stories/Accordion/Accordion.story.jsx index c02d854ce..a9d54f453 100644 --- a/stories/Accordion/Accordion.story.jsx +++ b/stories/Accordion/Accordion.story.jsx @@ -1,5 +1,4 @@ import React from 'react'; -import { storiesOf } from '@storybook/react'; import { Heading, Tab, @@ -17,7 +16,11 @@ import accordionExamples from './examples'; const description = "An accordion is a vertical stack of interactive headings used to toggle the display of further information; each item can be 'collapsed', with just a short label visible, or 'expanded' to show the complete content."; -storiesOf('Accordion', module).add('Accordion', () => ( +export default { + title: 'Accordion', +}; + +export const _Accordion = () => ( <> {description} @@ -72,4 +75,4 @@ storiesOf('Accordion', module).add('Accordion', () => ( -)); +); diff --git a/stories/Alert/Alert.regression-test.story.jsx b/stories/Alert/Alert.regression-test.story.jsx index 030b91a9d..3347bfafc 100644 --- a/stories/Alert/Alert.regression-test.story.jsx +++ b/stories/Alert/Alert.regression-test.story.jsx @@ -1,5 +1,4 @@ import React from 'react'; -import { storiesOf } from '@storybook/react'; import { Alert } from '../../components'; const sampleChildren = ( @@ -18,25 +17,52 @@ const props = { icon: 'info', }; -storiesOf('Alert', module) - .add('default', () => {sampleChildren}) - .add('skin primary', () => ( - - {sampleChildren} - - )) - .add('skin success', () => ( - - {sampleChildren} - - )) - .add('skin error', () => ( - - {sampleChildren} - - )) - .add('skin warning', () => ( - - {sampleChildren} - - )); +export default { + title: 'Alert', +}; + +export const Default = () => {sampleChildren}; + +Default.story = { + name: 'default', +}; + +export const SkinPrimary = () => ( + + {sampleChildren} + +); + +SkinPrimary.story = { + name: 'skin primary', +}; + +export const SkinSuccess = () => ( + + {sampleChildren} + +); + +SkinSuccess.story = { + name: 'skin success', +}; + +export const SkinError = () => ( + + {sampleChildren} + +); + +SkinError.story = { + name: 'skin error', +}; + +export const SkinWarning = () => ( + + {sampleChildren} + +); + +SkinWarning.story = { + name: 'skin warning', +}; diff --git a/stories/Alert/Alert.story.jsx b/stories/Alert/Alert.story.jsx index 99ec9a3d2..3f2d9bf3f 100644 --- a/stories/Alert/Alert.story.jsx +++ b/stories/Alert/Alert.story.jsx @@ -1,5 +1,4 @@ import React from 'react'; -import { storiesOf } from '@storybook/react'; import { AutoExample } from '@catho/quantum-storybook-ui'; import { Alert } from '../../components'; @@ -17,7 +16,11 @@ const sampleChildren = ( ); -storiesOf('Alert', module).add('Alert', () => ( +export default { + title: 'Alert', +}; + +export const _Alert = () => ( ( icon: 'info', }} /> -)); +); diff --git a/stories/Avatar/Avatar.regression-test.story.jsx b/stories/Avatar/Avatar.regression-test.story.jsx index 548e91e3d..9f4b1969e 100644 --- a/stories/Avatar/Avatar.regression-test.story.jsx +++ b/stories/Avatar/Avatar.regression-test.story.jsx @@ -1,22 +1,48 @@ import React from 'react'; -import { storiesOf } from '@storybook/react'; import Avatar from '../../components/Avatar'; const encodedPicture = 'data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEBLAEsAAD/4gKwSUNDX1BST0ZJTEUAAQEAAAKgbGNtcwQwAABtbnRyUkdCIFhZWiAH5AAJABEAEgAwADhhY3NwQVBQTAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA9tYAAQAAAADTLWxjbXMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA1kZXNjAAABIAAAAEBjcHJ0AAABYAAAADZ3dHB0AAABmAAAABRjaGFkAAABrAAAACxyWFlaAAAB2AAAABRiWFlaAAAB7AAAABRnWFlaAAACAAAAABRyVFJDAAACFAAAACBnVFJDAAACFAAAACBiVFJDAAACFAAAACBjaHJtAAACNAAAACRkbW5kAAACWAAAACRkbWRkAAACfAAAACRtbHVjAAAAAAAAAAEAAAAMZW5VUwAAACQAAAAcAEcASQBNAFAAIABiAHUAaQBsAHQALQBpAG4AIABzAFIARwBCbWx1YwAAAAAAAAABAAAADGVuVVMAAAAaAAAAHABQAHUAYgBsAGkAYwAgAEQAbwBtAGEAaQBuAABYWVogAAAAAAAA9tYAAQAAAADTLXNmMzIAAAAAAAEMQgAABd7///MlAAAHkwAA/ZD///uh///9ogAAA9wAAMBuWFlaIAAAAAAAAG+gAAA49QAAA5BYWVogAAAAAAAAJJ8AAA+EAAC2xFhZWiAAAAAAAABilwAAt4cAABjZcGFyYQAAAAAAAwAAAAJmZgAA8qcAAA1ZAAAT0AAACltjaHJtAAAAAAADAAAAAKPXAABUfAAATM0AAJmaAAAmZwAAD1xtbHVjAAAAAAAAAAEAAAAMZW5VUwAAAAgAAAAcAEcASQBNAFBtbHVjAAAAAAAAAAEAAAAMZW5VUwAAAAgAAAAcAHMAUgBHAEL/2wBDAAoHBwgHBgoICAgLCgoLDhgQDg0NDh0VFhEYIx8lJCIfIiEmKzcvJik0KSEiMEExNDk7Pj4+JS5ESUM8SDc9Pjv/2wBDAQoLCw4NDhwQEBw7KCIoOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozv/wgARCABAAEADAREAAhEBAxEB/8QAGgAAAwEBAQEAAAAAAAAAAAAABAUGAgMBAP/EABkBAAMBAQEAAAAAAAAAAAAAAAACAwEEBf/aAAwDAQACEAMQAAABk8zYFruzTAcrozIZz1W98F82VbvMNhQIzCe+c7I++SwOeHwHJbm06PBrPVHTOWTcgStGCUBeZ4thmr3WHMwBs7U8uiXtyujKhdHfIRlEMISrCd1N+K3V2y6ivNA8xkdpy9xeaq7/AC/dD5VOZULLhHrebu9Fj+vh5tjBG//EACMQAAMAAgIBBAMBAAAAAAAAAAECAwAEERITBSEiMRAjMkH/2gAIAQEAAQUCxRyVmnL0nxr2zzx11l6n4stRLxe+tlTr8FsJxWZclvs+NHyBEIiNM8N9/iE+zMCr6o5wzkEpThG9zkJ+R9ePWth1bQJLLFOKzHQ/eazhKJ4/Hst2t6fJkqDjLmyGF8iOWuvxA99V4qoomf5T916S61jqshrAsvAJr1OarO61cJNOG2FHNz/JIEFJJ5+OpTq//8QAHxEAAgICAwADAAAAAAAAAAAAAAECEQMQICExEjJB/9oACAEDAQE/Aa5IR3xQuxLjjjZLS4Y4/IhBp9k4tC1W8UqZSMjti29Y12ZPrq1pui2WY4UZFcXtMyeC8IrsTJsao/SPp//EAB0RAAMAAgMBAQAAAAAAAAAAAAABAhARICExA0H/2gAIAQIBAT8Bxtilj3imz6M6GuDRa66Pp4uNMTGy02azT0OuhMeNvNrZtkrorjRHuHLwkaQpLZD1RrDRHpQ30UtkyJtn4Pw//8QAJhAAAQMCBgEFAQAAAAAAAAAAAQACERIhAxAiMUFRYSAjMkKRgf/aAAgBAQAGPwJbq7kQP2FQ7U08I06pbGyvhhNxNuQtGE1/khSMOh3g5y0prSG/i+LbGZHKZfkr5tPouqgDCk4gpITZxbAlHOJRdimW7WRNU9KmJXaMC8Z3Xt4lP9VuFq6zdUIv6IKiQer5SgN5KLQbBSVPV0E2npEG8KUy8QVSR9rqye7woaMg0/Zf/8QAIBABAAMAAgIDAQEAAAAAAAAAAQARITFRQWEQcaGBsf/aAAgBAQABPyGqa8zox3OdzqcAHMR5zhZnATwnD7nASGYVAE2bCvexDVFzQgLD7Mf5FXIjyx2wPqF28KtMd0dvegwK5Bv9qawirqJy/PHHC5Vu58QWAWuZfRZZ5cjr5o4IrHv4K1Q7loFT7IqqCpbmF7BfdEpBKXdPcw9pWQIrPjNcYlcF5Cn5BUeZHuNeJ4XA6/Idczdwp+M+Ip9UTDYbsEn3Wv2FKSNiXiGweAMK6E5lONmBScJjFQdFbruKOitM8S3kdFdiv5BNr5L9x4wpz9R07T/yZ0d23HHfEPdcfqf/2gAMAwEAAgADAAAAEOHc7pxB0EcoXykbPN5+kpBl3Zho9zWPIf/EABwRAQEBAQEBAQEBAAAAAAAAAAEAESExEEFRYf/aAAgBAwEBPxBnkd/JSA3ZSwKsCz+oOdt+EiH6smBn6C7DHTyDkwewm8+6ktTEdXl38B9JBtXy4p4RSTLL182gxNpDcGe2BY9pI4QHYzf5C4kKTPJeS2wArZMuIQ+oin//xAAdEQEBAQEAAwEBAQAAAAAAAAABABEhEDFBIFFx/9oACAECAQE/ENlwtPl7CwHCdhBhaAt/GW7AFvj632LQGXPxmc8HThC4Sg75xbE8RM87bv4kHLCy0/ZaQ7bHh4S3Fj6gdyBLRyWLQ1tXLIb2sE7Edjt4WRYFi5Zot/iTTP/EACIQAQEAAgIBBQEBAQAAAAAAAAERACExQVFhcYGRobHB8P/aAAgBAQABPxBSiwcGKFXgbwFnbAA76xRY2gizn2uWR5gDj1Suuf3JAjRBXG3G5iA2OFh84vNPOBK5HWMZaAAde1cepNZvXqNHs47Eg8V4xrkz1mOvnOYSTC9LrLJE/Cg8BBmjGpcmqL23k3gJqSjb+XLKcOjx8YtbZMho7cChCYN36zbsDfgXvJH1imLH251M5lPG7DRntmypV4v3nEV5T3e8YMHR3gfWsKYEl2XXaQnjCmr64ep1pwB3Sb9NvWpfOB4VqUoC/mOEKo6MwoYR2cbyWs1ijZrULMccpMbd0OC8WkdK1flz3ibtWPF9cYQajSKYZAXXWAnGgad8mag94sxxvBhCQHK5WYoFKh7ZxHoXFDxt3hhJ4Yk+sqFgXD0iZJSy/wAwb06eGc/uJdE+NJ1lOgPHtN4/BdDqBN99c41bv6RfzLnSb7Hr8xknYG75xwDYzUNj71gDcAtUBbrv/cu5g7PKB19/3DoBKeWsctEUTLLwTxN+c1Twn/vvAoESztFL/PnP/9k='; -storiesOf('Avatar', module) - .add('default', () => ) - .add('with notification', () => ) - .add('with picture', () => ) - .add('with text and toggle', () => ) - .add('with all props', () => ( - - )); +export default { + title: 'Avatar', +}; + +export const Default = () => ; + +Default.story = { + name: 'default', +}; + +export const WithNotification = () => ; + +WithNotification.story = { + name: 'with notification', +}; + +export const WithPicture = () => ; + +WithPicture.story = { + name: 'with picture', +}; + +export const WithTextAndToggle = () => ; + +WithTextAndToggle.story = { + name: 'with text and toggle', +}; + +export const WithAllProps = () => ( + +); + +WithAllProps.story = { + name: 'with all props', +}; diff --git a/stories/Avatar/Avatar.story.jsx b/stories/Avatar/Avatar.story.jsx index 5bc4e2ef6..7871327a8 100644 --- a/stories/Avatar/Avatar.story.jsx +++ b/stories/Avatar/Avatar.story.jsx @@ -1,5 +1,4 @@ import React from 'react'; -import { storiesOf } from '@storybook/react'; import { AutoExample, Tab, @@ -72,7 +71,11 @@ const TabExample = ( const description = `Avatars are used for showing a thumbnail of the user picture or an user icon if the picture is done defined, also it can display a dot to alert that there is some notification.`; -storiesOf('Avatar', module).add('Avatar', () => ( +export default { + title: 'Avatar', +}; + +export const _Avatar = () => ( ( }} additionalTabs={TabExample} /> -)); +); diff --git a/stories/Badge/Badge.regression-test.story.jsx b/stories/Badge/Badge.regression-test.story.jsx index ed86932d3..dc52cf1bc 100644 --- a/stories/Badge/Badge.regression-test.story.jsx +++ b/stories/Badge/Badge.regression-test.story.jsx @@ -1,19 +1,60 @@ import React from 'react'; -import { storiesOf } from '@storybook/react'; import Badge from '../../components/Badge'; import Icon from '../../components/Icon'; -storiesOf('Badge', module) - .add('default', () => ) - .add('high number', () => ) - .add('skin primary', () => ) - .add('skin secondary', () => ) - .add('skin success', () => ) - .add('skin error', () => ) - .add('inverted', () => ) - .add('dot', () => ( - - - - )); +export default { + title: 'Badge', +}; + +export const Default = () => ; + +Default.story = { + name: 'default', +}; + +export const HighNumber = () => ; + +HighNumber.story = { + name: 'high number', +}; + +export const SkinPrimary = () => ; + +SkinPrimary.story = { + name: 'skin primary', +}; + +export const SkinSecondary = () => ; + +SkinSecondary.story = { + name: 'skin secondary', +}; + +export const SkinSuccess = () => ; + +SkinSuccess.story = { + name: 'skin success', +}; + +export const SkinError = () => ; + +SkinError.story = { + name: 'skin error', +}; + +export const Inverted = () => ; + +Inverted.story = { + name: 'inverted', +}; + +export const Dot = () => ( + + + +); + +Dot.story = { + name: 'dot', +}; diff --git a/stories/Badge/Badge.story.jsx b/stories/Badge/Badge.story.jsx index bc68a58bc..f7bebd153 100644 --- a/stories/Badge/Badge.story.jsx +++ b/stories/Badge/Badge.story.jsx @@ -1,5 +1,4 @@ import React from 'react'; -import { storiesOf } from '@storybook/react'; import { AutoExample, Tab, @@ -88,7 +87,11 @@ const TabExample = ( const description = `Badges are used for showing quantity of something, as warnings, inbox messages and others.`; -storiesOf('Badge', module).add('Badge', () => ( +export default { + title: 'Badge', +}; + +export const _Badge = () => ( ( }} additionalTabs={TabExample} /> -)); +); diff --git a/stories/Breakpoints/Breakpoints.story.jsx b/stories/Breakpoints/Breakpoints.story.jsx index 93340e897..b259b7d6c 100644 --- a/stories/Breakpoints/Breakpoints.story.jsx +++ b/stories/Breakpoints/Breakpoints.story.jsx @@ -6,7 +6,6 @@ import { Title, StoryContainer, } from '@catho/quantum-storybook-ui'; -import { storiesOf } from '@storybook/react'; import { BREAKPOINTS } from '../../components/shared'; import { query } from '../../components/Grid/sub-components/shared'; @@ -34,7 +33,11 @@ const StyledDivExample = styled.div` `} `; -storiesOf('Foundation', module).add('Breakpoints', () => ( +export default { + title: 'Foundation', +}; + +export const Breakpoints = () => ( <> Breakpoints - Quantum provides a breakpoints object that you can use with @@ -118,4 +121,4 @@ const StyledDiv = styled.div\` Test me in different sizes =) -)); +); diff --git a/stories/Button/Button.regression-test.story.jsx b/stories/Button/Button.regression-test.story.jsx index 4965aecce..d4ba13cdf 100644 --- a/stories/Button/Button.regression-test.story.jsx +++ b/stories/Button/Button.regression-test.story.jsx @@ -1,84 +1,190 @@ import React from 'react'; -import { storiesOf } from '@storybook/react'; import Button from '../../components/Button'; -import SocialButton from '../../components/SocialButton'; - -storiesOf('Buttons', module) - .add('primary default', () => ) - .add('primary disabled', () => ) - .add('primary stroked', () => ) - - .add('primary full', () => ) - .add('primary icon info', () => ) - .add('primary size xsmall', () => ) - .add('primary size small', () => ) - .add('primary size large', () => ) - .add('primary size xlarge', () => ) - - .add('secondary default', () => ) - .add('secondary disabled', () => ( - - )) - .add('secondary stroked', () => ( - - )) - - .add('neutral default', () => ) - .add('neutral disabled', () => ( - - )) - .add('neutral stroked', () => ( - - )) - - .add('success default', () => ) - .add('success disabled', () => ( - - )) - .add('success stroked', () => ( - - )) - - .add('warning default', () => ) - .add('warning disabled', () => ( - - )) - .add('warning stroked', () => ( - - )) - - .add('error default', () => ) - .add('error disabled', () => ( - - )) - .add('error stroked', () => ( - - )); - -storiesOf('SocialButtons', module) - .add('provider google', () => ( - - )) - .add('provider facebook', () => ( - - )); + +export default { + title: 'Buttons', +}; + +export const PrimaryDefault = () => ; + +PrimaryDefault.story = { + name: 'primary default', +}; + +export const PrimaryDisabled = () => ; + +PrimaryDisabled.story = { + name: 'primary disabled', +}; + +export const PrimaryStroked = () => ; + +PrimaryStroked.story = { + name: 'primary stroked', +}; + +export const PrimaryFull = () => ; + +PrimaryFull.story = { + name: 'primary full', +}; + +export const PrimaryIconInfo = () => ; + +PrimaryIconInfo.story = { + name: 'primary icon info', +}; + +export const PrimarySizeXsmall = () => ; + +PrimarySizeXsmall.story = { + name: 'primary size xsmall', +}; + +export const PrimarySizeSmall = () => ; + +PrimarySizeSmall.story = { + name: 'primary size small', +}; + +export const PrimarySizeLarge = () => ; + +PrimarySizeLarge.story = { + name: 'primary size large', +}; + +export const PrimarySizeXlarge = () => ; + +PrimarySizeXlarge.story = { + name: 'primary size xlarge', +}; + +export const SecondaryDefault = () => ; + +SecondaryDefault.story = { + name: 'secondary default', +}; + +export const SecondaryDisabled = () => ( + +); + +SecondaryDisabled.story = { + name: 'secondary disabled', +}; + +export const SecondaryStroked = () => ( + +); + +SecondaryStroked.story = { + name: 'secondary stroked', +}; + +export const NeutralDefault = () => ; + +NeutralDefault.story = { + name: 'neutral default', +}; + +export const NeutralDisabled = () => ( + +); + +NeutralDisabled.story = { + name: 'neutral disabled', +}; + +export const NeutralStroked = () => ( + +); + +NeutralStroked.story = { + name: 'neutral stroked', +}; + +export const SuccessDefault = () => ; + +SuccessDefault.story = { + name: 'success default', +}; + +export const SuccessDisabled = () => ( + +); + +SuccessDisabled.story = { + name: 'success disabled', +}; + +export const SuccessStroked = () => ( + +); + +SuccessStroked.story = { + name: 'success stroked', +}; + +export const WarningDefault = () => ; + +WarningDefault.story = { + name: 'warning default', +}; + +export const WarningDisabled = () => ( + +); + +WarningDisabled.story = { + name: 'warning disabled', +}; + +export const WarningStroked = () => ( + +); + +WarningStroked.story = { + name: 'warning stroked', +}; + +export const ErrorDefault = () => ; + +ErrorDefault.story = { + name: 'error default', +}; + +export const ErrorDisabled = () => ( + +); + +ErrorDisabled.story = { + name: 'error disabled', +}; + +export const ErrorStroked = () => ( + +); + +ErrorStroked.story = { + name: 'error stroked', +}; diff --git a/stories/Button/Button.story.jsx b/stories/Button/Button.story.jsx index ad93ac73b..a2d33861f 100644 --- a/stories/Button/Button.story.jsx +++ b/stories/Button/Button.story.jsx @@ -1,5 +1,4 @@ import React from 'react'; -import { storiesOf } from '@storybook/react'; import LinkTo from '@storybook/addon-links/react'; import { Tab, @@ -134,28 +133,36 @@ const socialDescription = `These buttons are used to realize action related to t respective social media. It could be for example: realizing a login using the OAuth API from Google`; -storiesOf('Buttons', module) - .add('Button', () => ( - <> - - - )) - .add('SocialButton', () => ( - <> - - - )); +export default { + title: 'Buttons', +}; + +export const _Button = () => ( + <> + + +); + +export const _SocialButton = () => ( + <> + + +); + +_SocialButton.story = { + name: 'SocialButton', +}; diff --git a/stories/Button/SocialButtons.regression-test.story.jsx b/stories/Button/SocialButtons.regression-test.story.jsx new file mode 100644 index 000000000..5d74ef3ae --- /dev/null +++ b/stories/Button/SocialButtons.regression-test.story.jsx @@ -0,0 +1,22 @@ +import React from 'react'; +import SocialButton from '../../components/SocialButton'; + +export default { + title: 'SocialButtons', +}; + +export const ProviderGoogle = () => ( + +); + +ProviderGoogle.story = { + name: 'provider google', +}; + +export const ProviderFacebook = () => ( + +); + +ProviderFacebook.story = { + name: 'provider facebook', +}; diff --git a/stories/Card/Card.regression-test.story.jsx b/stories/Card/Card.regression-test.story.jsx index dc645ac49..0eb3d7c29 100644 --- a/stories/Card/Card.regression-test.story.jsx +++ b/stories/Card/Card.regression-test.story.jsx @@ -1,11 +1,27 @@ import React from 'react'; -import { storiesOf } from '@storybook/react'; import SimpleCard from './examples/SimpleCard'; import JobAdCard from './examples/JobAdCard'; import AdvancedCard from './examples/AdvancedCard'; -storiesOf('Card', module) - .add('SimpleCard', () => ) - .add('JobAd Card', () => ) - .add('AdvancedCard', () => ); +export default { + title: 'Card', +}; + +export const _SimpleCard = () => ; + +_SimpleCard.story = { + name: 'SimpleCard', +}; + +export const _JobAdCard = () => ; + +_JobAdCard.story = { + name: 'JobAd Card', +}; + +export const _AdvancedCard = () => ; + +_AdvancedCard.story = { + name: 'AdvancedCard', +}; diff --git a/stories/Card/Card.story.jsx b/stories/Card/Card.story.jsx index 8cc965271..88186a547 100644 --- a/stories/Card/Card.story.jsx +++ b/stories/Card/Card.story.jsx @@ -1,5 +1,4 @@ import React from 'react'; -import { storiesOf } from '@storybook/react'; import { TabbedView, Tab, @@ -20,7 +19,11 @@ import Button from '../../components/Button'; import { Container, Col, Row } from '../../components/Grid'; import { Typography } from '../../components/GlobalStyle'; -storiesOf('Card', module).add('Card', () => ( +export default { + title: 'Card', +}; + +export const _Card = () => ( <> @@ -198,4 +201,4 @@ storiesOf('Card', module).add('Card', () => ( -)); +); diff --git a/stories/Carousel/Carousel.regression-test.story.jsx b/stories/Carousel/Carousel.regression-test.story.jsx index 7e0660e80..f4ecd4298 100644 --- a/stories/Carousel/Carousel.regression-test.story.jsx +++ b/stories/Carousel/Carousel.regression-test.story.jsx @@ -1,18 +1,49 @@ import React from 'react'; -import { storiesOf } from '@storybook/react'; import Carousel from '../../components/Carousel'; import { content, contentWithLongTexts } from './Content'; -storiesOf('Carousel', module) - .add('Small cards', () => ) - .add('Medium cards', () => ) - .add('Medium cards with ellipsis', () => ( - - )) - .add('Medium cards without dots', () => ( - - )) - .add('Large cards', () => ) - .add('Large cards with ellipsis', () => ( - - )); +export default { + title: 'Carousel', +}; + +export const SmallCards = () => ; + +SmallCards.story = { + name: 'Small cards', +}; + +export const MediumCards = () => ; + +MediumCards.story = { + name: 'Medium cards', +}; + +export const MediumCardsWithEllipsis = () => ( + +); + +MediumCardsWithEllipsis.story = { + name: 'Medium cards with ellipsis', +}; + +export const MediumCardsWithoutDots = () => ( + +); + +MediumCardsWithoutDots.story = { + name: 'Medium cards without dots', +}; + +export const LargeCards = () => ; + +LargeCards.story = { + name: 'Large cards', +}; + +export const LargeCardsWithEllipsis = () => ( + +); + +LargeCardsWithEllipsis.story = { + name: 'Large cards with ellipsis', +}; diff --git a/stories/Carousel/Carousel.story.jsx b/stories/Carousel/Carousel.story.jsx index 397b9dce3..79544537d 100644 --- a/stories/Carousel/Carousel.story.jsx +++ b/stories/Carousel/Carousel.story.jsx @@ -1,5 +1,4 @@ import React from 'react'; -import { storiesOf } from '@storybook/react'; import { Tab, TabbedView, @@ -13,7 +12,11 @@ import Carousel from '../../components/Carousel'; import Alert from '../../components/Alert'; import { content, contentWithLongTexts } from './Content'; -storiesOf('Carousel', module).add('Carousel', () => ( +export default { + title: 'Carousel', +}; + +export const _Carousel = () => ( <> Carousel is a component that presents cards to go through a series of @@ -97,4 +100,4 @@ storiesOf('Carousel', module).add('Carousel', () => ( -)); +); diff --git a/stories/Checkbox/Checkbox.regression-test.story.jsx b/stories/Checkbox/Checkbox.regression-test.story.jsx index 1c0df96e5..da58cc14e 100644 --- a/stories/Checkbox/Checkbox.regression-test.story.jsx +++ b/stories/Checkbox/Checkbox.regression-test.story.jsx @@ -1,11 +1,42 @@ import React from 'react'; -import { storiesOf } from '@storybook/react'; import { Checkbox } from '../../components'; -storiesOf('Checkbox', module) - .add('default', () => ) - .add('disabled', () => ) - .add('checked', () => ) - .add('error', () => ) - .add('label', () => ) - .add('value', () => ); +export default { + title: 'Checkbox', +}; + +export const Default = () => ; + +Default.story = { + name: 'default', +}; + +export const Disabled = () => ; + +Disabled.story = { + name: 'disabled', +}; + +export const Checked = () => ; + +Checked.story = { + name: 'checked', +}; + +export const Error = () => ; + +Error.story = { + name: 'error', +}; + +export const Label = () => ; + +Label.story = { + name: 'label', +}; + +export const Value = () => ; + +Value.story = { + name: 'value', +}; diff --git a/stories/Checkbox/Checkbox.story.jsx b/stories/Checkbox/Checkbox.story.jsx index 0e39ebb07..fd67e5493 100644 --- a/stories/Checkbox/Checkbox.story.jsx +++ b/stories/Checkbox/Checkbox.story.jsx @@ -1,6 +1,5 @@ import React from 'react'; import PropTypes from 'prop-types'; -import { storiesOf } from '@storybook/react'; import { AutoPropsApi, CodeExample, @@ -33,7 +32,11 @@ CheckboxGroupExample.propTypes = { component: PropTypes.node.isRequired, }; -storiesOf('Forms', module).add('Checkbox', () => ( +export default { + title: 'Forms', +}; + +export const _Checkbox = () => ( <> Checkboxes are used when there is a list of options and the user may @@ -90,4 +93,4 @@ storiesOf('Forms', module).add('Checkbox', () => ( -)); +); diff --git a/stories/CircularLoader/CircularLoader.regression-test.story.jsx b/stories/CircularLoader/CircularLoader.regression-test.story.jsx index c2bceeec5..be74be158 100644 --- a/stories/CircularLoader/CircularLoader.regression-test.story.jsx +++ b/stories/CircularLoader/CircularLoader.regression-test.story.jsx @@ -1,12 +1,48 @@ import React from 'react'; -import { storiesOf } from '@storybook/react'; import { CircularLoader } from '../../components'; -storiesOf('CircularLoader', module) - .add('default', () => ) - .add('with secondary theme', () => ) - .add('with medium size', () => ) - .add('with large size', () => ) - .add('with xlarge size', () => ) - .add('with xxlarge size', () => ) - .add('with xxxlarge size', () => ); +export default { + title: 'CircularLoader', +}; + +export const Default = () => ; + +Default.story = { + name: 'default', +}; + +export const WithSecondaryTheme = () => ; + +WithSecondaryTheme.story = { + name: 'with secondary theme', +}; + +export const WithMediumSize = () => ; + +WithMediumSize.story = { + name: 'with medium size', +}; + +export const WithLargeSize = () => ; + +WithLargeSize.story = { + name: 'with large size', +}; + +export const WithXlargeSize = () => ; + +WithXlargeSize.story = { + name: 'with xlarge size', +}; + +export const WithXxlargeSize = () => ; + +WithXxlargeSize.story = { + name: 'with xxlarge size', +}; + +export const WithXxxlargeSize = () => ; + +WithXxxlargeSize.story = { + name: 'with xxxlarge size', +}; diff --git a/stories/Colors/Colors.story.jsx b/stories/Colors/Colors.story.jsx index aca691731..1b6f3feb5 100644 --- a/stories/Colors/Colors.story.jsx +++ b/stories/Colors/Colors.story.jsx @@ -1,9 +1,12 @@ import React from 'react'; -import { storiesOf } from '@storybook/react'; import { Heading } from '@catho/quantum-storybook-ui'; import Colors from './Colors'; -storiesOf('Foundation', module).add('Color Palette', () => ( +export default { + title: 'Foundation', +}; + +export const ColorPalette = () => ( <> Catho's color palette consists of brand, support and neutral accents. @@ -12,4 +15,4 @@ storiesOf('Foundation', module).add('Color Palette', () => ( -)); +); diff --git a/stories/Dropdown/Dropdown.regression-test.story.jsx b/stories/Dropdown/Dropdown.regression-test.story.jsx index 6346e2092..cf84babe8 100644 --- a/stories/Dropdown/Dropdown.regression-test.story.jsx +++ b/stories/Dropdown/Dropdown.regression-test.story.jsx @@ -1,5 +1,4 @@ import React from 'react'; -import { storiesOf } from '@storybook/react'; import { Simple, @@ -10,10 +9,42 @@ import { WithImages, } from './examples'; -storiesOf('Dropdown', module) - .add('default', () => ) - .add('autocomplete', () => ) - .add('required', () => ) - .add('error', () => ) - .add('disabled', () => ) - .add('with images', () => ); +export default { + title: 'Dropdown', +}; + +export const Default = () => ; + +Default.story = { + name: 'default', +}; + +export const Autocomplete = () => ; + +Autocomplete.story = { + name: 'autocomplete', +}; + +export const Required = () => ; + +Required.story = { + name: 'required', +}; + +export const Error = () => ; + +Error.story = { + name: 'error', +}; + +export const _Disabled = () => ; + +_Disabled.story = { + name: 'disabled', +}; + +export const _WithImages = () => ; + +_WithImages.story = { + name: 'with images', +}; diff --git a/stories/Dropdown/Dropdown.story.jsx b/stories/Dropdown/Dropdown.story.jsx index 813d25805..0ba64f28d 100644 --- a/stories/Dropdown/Dropdown.story.jsx +++ b/stories/Dropdown/Dropdown.story.jsx @@ -1,6 +1,5 @@ import React from 'react'; import PropTypes from 'prop-types'; -import { storiesOf } from '@storybook/react'; import { AutoPropsApi, Heading, @@ -44,7 +43,11 @@ DropdownExample.propTypes = { const importCode = "import { Dropdown } from '@catho/quantum';"; -storiesOf('Forms', module).add('Dropdown', () => ( +export default { + title: 'Forms', +}; + +export const _Dropdown = () => ( <> A dropdown receives user input, allowing it to choose one of several @@ -95,4 +98,4 @@ storiesOf('Forms', module).add('Dropdown', () => ( -)); +); diff --git a/stories/Form/Form.story.jsx b/stories/Form/Form.story.jsx index 5880b5e6a..1da94b0a0 100644 --- a/stories/Form/Form.story.jsx +++ b/stories/Form/Form.story.jsx @@ -1,5 +1,4 @@ import React from 'react'; -import { storiesOf } from '@storybook/react'; import { Heading, CodeExample, @@ -20,7 +19,11 @@ import * as AdvancedValidation from './AdvancedValidation'; const importForm = `import { Form } from '@catho/quantum';`; -storiesOf('Forms', module).add('Form', () => ( +export default { + title: 'Forms', +}; + +export const _Form = () => ( <> A Form displays a set of related user input fields in a structured way, @@ -109,4 +112,4 @@ storiesOf('Forms', module).add('Form', () => ( -)); +); diff --git a/stories/Grid/Grid.regression-test.story.jsx b/stories/Grid/Grid.regression-test.story.jsx index 59caeb07d..ded8ad062 100644 --- a/stories/Grid/Grid.regression-test.story.jsx +++ b/stories/Grid/Grid.regression-test.story.jsx @@ -1,5 +1,4 @@ import React from 'react'; -import { storiesOf } from '@storybook/react'; import styled from 'styled-components'; import { Row, Col, Hide } from '../../components/Grid'; @@ -114,9 +113,36 @@ const OffsetExample = () => ( ); -storiesOf('Grid', module) - .add('HorizontalExample', () => ) - .add('MobileDesktopExample', () => ) - .add('HideExample', () => ) - .add('NoGuttersExample', () => ) - .add('OffsetExample', () => ); +export default { + title: 'Grid', +}; + +export const _HorizontalExample = () => ; + +_HorizontalExample.story = { + name: 'HorizontalExample', +}; + +export const _MobileDesktopExample = () => ; + +_MobileDesktopExample.story = { + name: 'MobileDesktopExample', +}; + +export const _HideExample = () => ; + +_HideExample.story = { + name: 'HideExample', +}; + +export const _NoGuttersExample = () => ; + +_NoGuttersExample.story = { + name: 'NoGuttersExample', +}; + +export const _OffsetExample = () => ; + +_OffsetExample.story = { + name: 'OffsetExample', +}; diff --git a/stories/Grid/Grid.story.jsx b/stories/Grid/Grid.story.jsx index 7c201e088..11983c618 100644 --- a/stories/Grid/Grid.story.jsx +++ b/stories/Grid/Grid.story.jsx @@ -1,9 +1,12 @@ import React from 'react'; -import { storiesOf } from '@storybook/react'; import { Heading } from '@catho/quantum-storybook-ui'; import Grid from './Grid'; -storiesOf('Foundation', module).add('Grid System', () => ( +export default { + title: 'Foundation', +}; + +export const GridSystem = () => ( <> This Grid is based on{' '} @@ -16,4 +19,4 @@ storiesOf('Foundation', module).add('Grid System', () => ( -)); +); diff --git a/stories/Hamburger/Hamburger.regression-test.story.jsx b/stories/Hamburger/Hamburger.regression-test.story.jsx index 07f04f012..8fadf4f0a 100644 --- a/stories/Hamburger/Hamburger.regression-test.story.jsx +++ b/stories/Hamburger/Hamburger.regression-test.story.jsx @@ -1,6 +1,5 @@ import React from 'react'; import styled from 'styled-components'; -import { storiesOf } from '@storybook/react'; import Hamburger from '../../components/Hamburger'; @@ -9,24 +8,56 @@ const InvertedBackground = styled.span` display: inline-block; `; -storiesOf('Hamburger', module) - .add('default', () => ( - - - - )) - .add('showNotification', () => ( - - - - )) - .add('isOpened', () => ( - - - - )) - .add('inverted', () => ) - .add('inverted showNotification', () => ( - - )) - .add('inverted isOpened', () => ); +export default { + title: 'Hamburger', +}; + +export const Default = () => ( + + + +); + +Default.story = { + name: 'default', +}; + +export const ShowNotification = () => ( + + + +); + +ShowNotification.story = { + name: 'showNotification', +}; + +export const IsOpened = () => ( + + + +); + +IsOpened.story = { + name: 'isOpened', +}; + +export const Inverted = () => ; + +Inverted.story = { + name: 'inverted', +}; + +export const InvertedShowNotification = () => ( + +); + +InvertedShowNotification.story = { + name: 'inverted showNotification', +}; + +export const InvertedIsOpened = () => ; + +InvertedIsOpened.story = { + name: 'inverted isOpened', +}; diff --git a/stories/Hamburger/Hamburger.story.jsx b/stories/Hamburger/Hamburger.story.jsx index 121c72f9b..76b7017b3 100644 --- a/stories/Hamburger/Hamburger.story.jsx +++ b/stories/Hamburger/Hamburger.story.jsx @@ -1,5 +1,4 @@ import React from 'react'; -import { storiesOf } from '@storybook/react'; import { AutoExample, Tab, @@ -77,10 +76,14 @@ const TabExample = ( const description = `Hamburger is used for opening mobile menu. You can also pass a aria-label description to inform screen readers that there are new notifications`; -storiesOf('Hamburger', module).add('Hamburger', () => ( +export default { + title: 'Hamburger', +}; + +export const _Hamburger = () => ( -)); +); diff --git a/stories/Icon/Icon.regression-test.story.jsx b/stories/Icon/Icon.regression-test.story.jsx index c947d055c..7e9780ef8 100644 --- a/stories/Icon/Icon.regression-test.story.jsx +++ b/stories/Icon/Icon.regression-test.story.jsx @@ -1,12 +1,33 @@ import React from 'react'; -import { storiesOf } from '@storybook/react'; import Icon from '../../components/Icon'; import { colors } from '../../components/shared/theme'; -storiesOf('Icon', module) - .add('default', () => ) - .add('with skin (color)', () => ( - - )) - .add('with large size', () => ) - .add('with small size', () => ); +export default { + title: 'Icon', +}; + +export const Default = () => ; + +Default.story = { + name: 'default', +}; + +export const WithSkinColor = () => ( + +); + +WithSkinColor.story = { + name: 'with skin (color)', +}; + +export const WithLargeSize = () => ; + +WithLargeSize.story = { + name: 'with large size', +}; + +export const WithSmallSize = () => ; + +WithSmallSize.story = { + name: 'with small size', +}; diff --git a/stories/Icon/Icon.story.jsx b/stories/Icon/Icon.story.jsx index dd4593631..60d38b523 100644 --- a/stories/Icon/Icon.story.jsx +++ b/stories/Icon/Icon.story.jsx @@ -1,5 +1,4 @@ import React from 'react'; -import { storiesOf } from '@storybook/react'; import LinkTo from '@storybook/addon-links/react'; import styled from 'styled-components'; import { @@ -68,7 +67,11 @@ const exampleIncorrectCode = ` const importIcon = `import { Icon } from '@catho/quantum';`; -storiesOf('Foundation', module).add('Icons', () => ( +export default { + title: 'Foundation', +}; + +export const Icons = () => ( Quantum use Material icons, beautifully crafted symbols for common actions @@ -128,4 +131,4 @@ storiesOf('Foundation', module).add('Icons', () => ( -)); +); diff --git a/stories/Input/Input.regression-test.story.jsx b/stories/Input/Input.regression-test.story.jsx index ac0fc9c57..144ece66f 100644 --- a/stories/Input/Input.regression-test.story.jsx +++ b/stories/Input/Input.regression-test.story.jsx @@ -1,15 +1,61 @@ import React from 'react'; -import { storiesOf } from '@storybook/react'; import Input from '../../components/Input'; -storiesOf('Input', module) - .add('default', () => ) - .add('with label', () => ) - .add('with default value', () => ) - .add('search', () => ) - .add('error', () => ) - .add('disabled', () => ) - .add('disabled with text', () => ) - .add('helper', () => ) - .add('with placeholder', () => ); +export default { + title: 'Input', +}; + +export const Default = () => ; + +Default.story = { + name: 'default', +}; + +export const WithLabel = () => ; + +WithLabel.story = { + name: 'with label', +}; + +export const WithDefaultValue = () => ; + +WithDefaultValue.story = { + name: 'with default value', +}; + +export const Search = () => ; + +Search.story = { + name: 'search', +}; + +export const Error = () => ; + +Error.story = { + name: 'error', +}; + +export const Disabled = () => ; + +Disabled.story = { + name: 'disabled', +}; + +export const DisabledWithText = () => ; + +DisabledWithText.story = { + name: 'disabled with text', +}; + +export const Helper = () => ; + +Helper.story = { + name: 'helper', +}; + +export const WithPlaceholder = () => ; + +WithPlaceholder.story = { + name: 'with placeholder', +}; diff --git a/stories/Input/Input.story.jsx b/stories/Input/Input.story.jsx index c5f8539b5..c194b6a27 100644 --- a/stories/Input/Input.story.jsx +++ b/stories/Input/Input.story.jsx @@ -1,5 +1,4 @@ import React from 'react'; -import { storiesOf } from '@storybook/react'; import { AutoExample, Tab, SimpleHighlight } from '@catho/quantum-storybook-ui'; import { Container, Row, Col } from '../../components/Grid'; import examples from './examples'; @@ -23,7 +22,11 @@ const tabExample = ( ); -storiesOf('Forms', module).add('Input', () => ( +export default { + title: 'Forms', +}; + +export const _Input = () => ( <> ( additionalTabs={tabExample} /> -)); +); diff --git a/stories/Introduction/Introduction.story.jsx b/stories/Introduction/Introduction.story.jsx index 25797bb0e..d9952af4f 100644 --- a/stories/Introduction/Introduction.story.jsx +++ b/stories/Introduction/Introduction.story.jsx @@ -1,5 +1,4 @@ import React from 'react'; -import { storiesOf } from '@storybook/react'; import { Heading } from '@catho/quantum-storybook-ui'; import styled from 'styled-components'; import Introduction from './Introduction'; @@ -18,7 +17,11 @@ const StyledHeading = styled(Heading)` } `; -storiesOf('Introduction', module).add('Getting started', () => ( +export default { + title: 'Introduction', +}; + +export const GettingStarted = () => ( <> CSS in JS based reusable components, are the core of Quantum @@ -27,4 +30,8 @@ storiesOf('Introduction', module).add('Getting started', () => ( -)); +); + +GettingStarted.story = { + name: 'Getting started', +}; diff --git a/stories/Loaders/Loaders.story.jsx b/stories/Loaders/Loaders.story.jsx index 62496865b..409ebdc84 100644 --- a/stories/Loaders/Loaders.story.jsx +++ b/stories/Loaders/Loaders.story.jsx @@ -1,5 +1,4 @@ import React from 'react'; -import { storiesOf } from '@storybook/react'; import { AutoExample, Tab, SimpleHighlight } from '@catho/quantum-storybook-ui'; import { ProgressBarExample, @@ -40,25 +39,38 @@ const renderExampleTab = componentExamples => ( ); -storiesOf('Loaders', module) - .add('ProgressBar', () => ( - - )) - .add('CircularLoader', () => ( - - )) - .add('Skeleton', () => ( - - )); +export default { + title: 'Loaders', +}; + +export const _ProgressBar = () => ( + +); + +_ProgressBar.story = { + name: 'ProgressBar', +}; + +export const _CircularLoader = () => ( + +); + +_CircularLoader.story = { + name: 'CircularLoader', +}; + +export const _Skeleton = () => ( + +); diff --git a/stories/Modal/Modal.regression-test.story.jsx b/stories/Modal/Modal.regression-test.story.jsx index bf3d7ae69..02647d8ea 100644 --- a/stories/Modal/Modal.regression-test.story.jsx +++ b/stories/Modal/Modal.regression-test.story.jsx @@ -1,5 +1,4 @@ import React from 'react'; -import { storiesOf } from '@storybook/react'; import { Modal, Button } from '../../components'; const modalHeader = (titleProps = {}) => ( @@ -20,37 +19,54 @@ const modalContent = ( const modalFooterSimple = this is a modal footer; -storiesOf('Modal', module) - .add('simple modal', () => ( - <> - {modalHeader()} - {modalContent} - {modalFooterSimple} - - )) - .add('simple modal with small text title', () => ( - <> - {modalHeader({ small: true })} - {modalContent} - {modalFooterSimple} - - )) - .add('modal with button actions', () => ( - <> - {modalHeader()} - {modalContent} - -
- - -
-
- - )); +export default { + title: 'Modal', +}; + +export const SimpleModal = () => ( + <> + {modalHeader()} + {modalContent} + {modalFooterSimple} + +); + +SimpleModal.story = { + name: 'simple modal', +}; + +export const SimpleModalWithSmallTextTitle = () => ( + <> + {modalHeader({ small: true })} + {modalContent} + {modalFooterSimple} + +); + +SimpleModalWithSmallTextTitle.story = { + name: 'simple modal with small text title', +}; + +export const ModalWithButtonActions = () => ( + <> + {modalHeader()} + {modalContent} + +
+ + +
+
+ +); + +ModalWithButtonActions.story = { + name: 'modal with button actions', +}; diff --git a/stories/Modal/Modal.story.jsx b/stories/Modal/Modal.story.jsx index c6ced6003..44ed2f9c5 100644 --- a/stories/Modal/Modal.story.jsx +++ b/stories/Modal/Modal.story.jsx @@ -1,5 +1,4 @@ import React from 'react'; -import { storiesOf } from '@storybook/react'; import { TabbedView, Tab, @@ -14,7 +13,11 @@ import { Modal, Row, Col } from '../../components'; import ModalExample from './examples/ModalExample'; import ModalSmallTitleExample from './examples/ModalSmallTitleExample'; -storiesOf('Modal', module).add('Modal', () => ( +export default { + title: 'Modal', +}; + +export const _Modal = () => ( <> Modals inform users about a task and can contain critical information, @@ -121,4 +124,4 @@ storiesOf('Modal', module).add('Modal', () => ( -)); +); diff --git a/stories/Pagination/Pagination.regression-test.story.jsx b/stories/Pagination/Pagination.regression-test.story.jsx index 21ccb736a..5ed6b6857 100644 --- a/stories/Pagination/Pagination.regression-test.story.jsx +++ b/stories/Pagination/Pagination.regression-test.story.jsx @@ -1,24 +1,45 @@ import React from 'react'; -import { storiesOf } from '@storybook/react'; import { Pagination } from '../../components'; -storiesOf('Pagination', module) - .add('basic', () => ) - .add('several pages and active', () => ( - - )) - .add('custom next prev buttons', () => ( - - )) - .add('helperText', () => ( - `${activePage} of ${totalPage}`} - /> - )); +export default { + title: 'Pagination', +}; + +export const Basic = () => ; + +Basic.story = { + name: 'basic', +}; + +export const SeveralPagesAndActive = () => ( + +); + +SeveralPagesAndActive.story = { + name: 'several pages and active', +}; + +export const CustomNextPrevButtons = () => ( + +); + +CustomNextPrevButtons.story = { + name: 'custom next prev buttons', +}; + +export const HelperText = () => ( + `${activePage} of ${totalPage}`} + /> +); + +HelperText.story = { + name: 'helperText', +}; diff --git a/stories/Pagination/Pagination.story.jsx b/stories/Pagination/Pagination.story.jsx index 4bfc5623c..982503560 100644 --- a/stories/Pagination/Pagination.story.jsx +++ b/stories/Pagination/Pagination.story.jsx @@ -1,5 +1,4 @@ import React from 'react'; -import { storiesOf } from '@storybook/react'; import styled from 'styled-components'; import { TabbedView, @@ -23,7 +22,11 @@ const MobileWrapper = styled.div` justify-content: center; `; -storiesOf('Pagination', module).add('Pagination', () => ( +export default { + title: 'Pagination', +}; + +export const _Pagination = () => ( <> Add pagination buttons to help split up your long content into shorter, @@ -322,4 +325,4 @@ storiesOf('Pagination', module).add('Pagination', () => ( -)); +); diff --git a/stories/Popover/Popover.regression-test.story.jsx b/stories/Popover/Popover.regression-test.story.jsx index a8a618d3b..492333826 100644 --- a/stories/Popover/Popover.regression-test.story.jsx +++ b/stories/Popover/Popover.regression-test.story.jsx @@ -1,15 +1,6 @@ import React from 'react'; -import { storiesOf } from '@storybook/react'; import { Popover, Button, Row, Col } from '../../components'; -import { components } from '../../components/shared/theme'; - -const { - popover: { skins: popoverSkins }, -} = components; - -const directions = ['top', 'bottom', 'left', 'right']; -const skins = Object.keys(popoverSkins); const handleDirectionPosition = direction => { if (direction === 'right') return { paddingTop: '80px', paddingLeft: '20px' }; @@ -18,7 +9,7 @@ const handleDirectionPosition = direction => { return { paddingTop: '80px', paddingLeft: '160px' }; }; -const popoverExample = (direction, skin) => ( +const popoverExample = ({ direction, skin }) => (
@@ -35,10 +26,126 @@ const popoverExample = (direction, skin) => (
); -skins.forEach(skin => { - directions.forEach(direction => { - storiesOf('Popover', module).add(`${skin} ${direction}`, () => - popoverExample(direction, skin), - ); - }); -}); +export default { + title: 'Popover', +}; + +export const NeutralTop = popoverExample.bind(null); +NeutralTop.args = { + direction: 'top', + skin: 'neutral', +}; + +export const NeutralBottom = popoverExample.bind(null); +NeutralBottom.args = { + direction: 'bottom', + skin: 'neutral', +}; + +export const NeutralLeft = popoverExample.bind(null); +NeutralLeft.args = { + direction: 'left', + skin: 'neutral', +}; + +export const NeutralRight = popoverExample.bind(null); +NeutralRight.args = { + direction: 'right', + skin: 'neutral', +}; + +export const PrimaryTop = popoverExample.bind(null); +PrimaryTop.args = { + direction: 'top', + skin: 'primary', +}; + +export const PrimaryBottom = popoverExample.bind(null); +PrimaryBottom.args = { + direction: 'bottom', + skin: 'primary', +}; + +export const PrimaryLeft = popoverExample.bind(null); +PrimaryLeft.args = { + direction: 'left', + skin: 'primary', +}; + +export const PrimaryRight = popoverExample.bind(null); +PrimaryRight.args = { + direction: 'right', + skin: 'primary', +}; + +export const SuccessTop = popoverExample.bind(null); +SuccessTop.args = { + direction: 'top', + skin: 'success', +}; + +export const SuccessBottom = popoverExample.bind(null); +SuccessBottom.args = { + direction: 'bottom', + skin: 'success', +}; + +export const SuccessLeft = popoverExample.bind(null); +SuccessLeft.args = { + direction: 'left', + skin: 'success', +}; + +export const SuccessRight = popoverExample.bind(null); +SuccessRight.args = { + direction: 'right', + skin: 'success', +}; + +export const WarningTop = popoverExample.bind(null); +WarningTop.args = { + direction: 'top', + skin: 'warning', +}; + +export const WarningBottom = popoverExample.bind(null); +WarningBottom.args = { + direction: 'bottom', + skin: 'warning', +}; + +export const WarningLeft = popoverExample.bind(null); +WarningLeft.args = { + direction: 'left', + skin: 'warning', +}; + +export const WarningRight = popoverExample.bind(null); +WarningRight.args = { + direction: 'right', + skin: 'warning', +}; + +export const ErrorTop = popoverExample.bind(null); +ErrorTop.args = { + direction: 'top', + skin: 'error', +}; + +export const ErrorBottom = popoverExample.bind(null); +WarningBottom.args = { + direction: 'bottom', + skin: 'error', +}; + +export const ErrorLeft = popoverExample.bind(null); +ErrorLeft.args = { + direction: 'left', + skin: 'error', +}; + +export const ErrorRight = popoverExample.bind(null); +ErrorRight.args = { + direction: 'right', + skin: 'error', +}; diff --git a/stories/Popover/Popover.story.jsx b/stories/Popover/Popover.story.jsx index 19e16137c..b2ce0e2e7 100644 --- a/stories/Popover/Popover.story.jsx +++ b/stories/Popover/Popover.story.jsx @@ -1,5 +1,4 @@ import React from 'react'; -import { storiesOf } from '@storybook/react'; import { AutoPropsApi, Heading, @@ -14,7 +13,11 @@ import { Row, Col } from '../../components/Grid'; import Popover from '../../components/Popover'; import examples from './examples/examples'; -storiesOf('Popover', module).add('Popover', () => ( +export default { + title: 'Popover', +}; + +export const _Popover = () => ( <> Popovers are used for showing quantity of something, as warnings, inbox @@ -56,4 +59,4 @@ storiesOf('Popover', module).add('Popover', () => ( -)); +); diff --git a/stories/ProgressBar/ProgressBar.regression-test.story.jsx b/stories/ProgressBar/ProgressBar.regression-test.story.jsx index e90724deb..f1da1878e 100644 --- a/stories/ProgressBar/ProgressBar.regression-test.story.jsx +++ b/stories/ProgressBar/ProgressBar.regression-test.story.jsx @@ -1,48 +1,74 @@ import React from 'react'; -import { storiesOf } from '@storybook/react'; import { ProgressBar } from '../../components'; const progressPercent = 25; const progressText = 25; const label = '% percent to finish'; -storiesOf('ProgressBar', module) - .add('neutral default', () => ( - - )) - .add('neutral with label', () => ( - - )) - .add('primary with label', () => ( - - )) - .add('secondary with label', () => ( - - )) - .add('primary with differents values and percent', () => ( - - )); +export default { + title: 'ProgressBar', +}; + +export const NeutralDefault = () => ( + +); + +NeutralDefault.story = { + name: 'neutral default', +}; + +export const NeutralWithLabel = () => ( + +); + +NeutralWithLabel.story = { + name: 'neutral with label', +}; + +export const PrimaryWithLabel = () => ( + +); + +PrimaryWithLabel.story = { + name: 'primary with label', +}; + +export const SecondaryWithLabel = () => ( + +); + +SecondaryWithLabel.story = { + name: 'secondary with label', +}; + +export const PrimaryWithDifferentsValuesAndPercent = () => ( + +); + +PrimaryWithDifferentsValuesAndPercent.story = { + name: 'primary with differents values and percent', +}; diff --git a/stories/RadioGroup/RadioGroup.regression-test.story.jsx b/stories/RadioGroup/RadioGroup.regression-test.story.jsx index 6d37c6a99..577b95966 100644 --- a/stories/RadioGroup/RadioGroup.regression-test.story.jsx +++ b/stories/RadioGroup/RadioGroup.regression-test.story.jsx @@ -1,5 +1,4 @@ import React from 'react'; -import { storiesOf } from '@storybook/react'; import RadioGroup from '../../components/RadioGroup'; @@ -25,11 +24,28 @@ disabledOptions[1] = { disabled: true, }; -storiesOf('RadioGroup', module) - .add('default', () => ) - .add('error', () => ( - - )) - .add('disabled', () => ( - - )); +export default { + title: 'RadioGroup', +}; + +export const Default = () => ; + +Default.story = { + name: 'default', +}; + +export const Error = () => ( + +); + +Error.story = { + name: 'error', +}; + +export const Disabled = () => ( + +); + +Disabled.story = { + name: 'disabled', +}; diff --git a/stories/RadioGroup/RadioGroup.story.jsx b/stories/RadioGroup/RadioGroup.story.jsx index 5a021684a..163666091 100644 --- a/stories/RadioGroup/RadioGroup.story.jsx +++ b/stories/RadioGroup/RadioGroup.story.jsx @@ -1,6 +1,5 @@ import React from 'react'; import PropTypes from 'prop-types'; -import { storiesOf } from '@storybook/react'; import { Heading, AutoPropsApi, @@ -37,7 +36,8 @@ RadioGroupExample.propTypes = { const importRadioGroup = `import { RadioGroup } from '@catho/quantum';`; const stories = storiesOf('Forms', module); -stories.add('Radio group', () => ( + +export const _RadioGroup = () => ( <> Radio group is a list of radio buttons that are used when a list of two or @@ -155,4 +155,8 @@ stories.add('Radio group', () => ( -)); +); + +_RadioGroup.story = { + name: 'Radio group', +}; diff --git a/stories/RangeSlider/RangeSlider.regression-test.story.jsx b/stories/RangeSlider/RangeSlider.regression-test.story.jsx index 34e40983a..d5050e9d8 100644 --- a/stories/RangeSlider/RangeSlider.regression-test.story.jsx +++ b/stories/RangeSlider/RangeSlider.regression-test.story.jsx @@ -1,5 +1,4 @@ import React from 'react'; -import { storiesOf } from '@storybook/react'; import { Row, Col } from '../../components'; import rangeSliderUtils from '../../components/RangeSlider/utils'; @@ -17,43 +16,45 @@ const sliderProps = { const { mountMarksByArray } = rangeSliderUtils; -const components = [ - { name: 'default', el: }, - { - name: 'with marks', - el: ( - - ), - }, - { name: 'TipFormatter', el: }, - { - name: 'TipFormatter with marks', - el: ( - `R$ ${v}`)} - /> - ), - }, - { name: 'Range', el: }, - { - name: 'MinMax', - el: , - }, - { - name: 'BasicDisabledSlider', - el: , - }, -]; - -const renderComponents = component => ( +const decorator = Story => ( - {component.el} + + + ); -components.forEach(component => { - storiesOf('RangeSlider', module).add(`${component.name}`, () => - renderComponents(component), - ); -}); +export default { + title: 'RangeSlider', + decorators: [decorator], +}; + +export const Default = () => ; + +export const WithMarks = () => ( + +); + +export const TipFormatterStory = () => ; +TipFormatterStory.storyName = 'TipFormatter'; + +export const TipFormatterWithMarks = () => ( + `R$ ${v}`)} + /> +); +TipFormatterWithMarks.storyName = 'TipFormatter with Marks'; + +export const RangeStory = () => ; +RangeStory.storyName = 'Range'; + +export const MinMaxStory = () => ( + +); +MinMaxStory.storyName = 'MinMax'; + +export const BasicDisabledSliderStory = () => ( + +); +BasicDisabledSliderStory.storyName = 'BasicDisabledSlider'; diff --git a/stories/RangeSlider/RangeSlider.story.jsx b/stories/RangeSlider/RangeSlider.story.jsx index 342dc3023..4bbda19b8 100644 --- a/stories/RangeSlider/RangeSlider.story.jsx +++ b/stories/RangeSlider/RangeSlider.story.jsx @@ -1,6 +1,5 @@ import React from 'react'; import styled from 'styled-components'; -import { storiesOf } from '@storybook/react'; import { Title, Heading, @@ -54,7 +53,11 @@ const ColSample = styled(Col)` padding-top: 15px; `; -storiesOf('Forms', module).add('RangeSlider', () => ( +export default { + title: 'Forms', +}; + +export const _RangeSlider = () => ( <> RangeSlider is a component to select a value from a predefined range. @@ -195,4 +198,8 @@ storiesOf('Forms', module).add('RangeSlider', () => ( -)); +); + +_RangeSlider.story = { + name: 'RangeSlider', +}; diff --git a/stories/SegmentedControl/SegmentedControl.regression-test.story.jsx b/stories/SegmentedControl/SegmentedControl.regression-test.story.jsx index cb7f03f37..6d7b8e1ef 100644 --- a/stories/SegmentedControl/SegmentedControl.regression-test.story.jsx +++ b/stories/SegmentedControl/SegmentedControl.regression-test.story.jsx @@ -1,5 +1,4 @@ import React from 'react'; -import { storiesOf } from '@storybook/react'; import SegmentedControl from '../../components/SegmentedControl'; import { defaultContent, @@ -11,50 +10,105 @@ import { threeContentsWithIcon, } from '../../components/SegmentedControl/exampleContents'; -storiesOf('Segmented control', module) - .add('Segmented control[text]: with 3 items ', () => ( - - )) - .add('Segmented control[text]: with 2 items ', () => ( - - )) - .add('Segmented control[icon]: with 5 items ', () => ( - - )) - .add('Segmented control[icon]: with 5 items and first one checked ', () => ( - - )) - .add('Segmented control[icon]: with 3 items ', () => ( - - )) - .add('Segmented control[text]: with 3 items and no item checked ', () => ( - - )) - .add('Segmented control[icon]: with 5 items and no item checked ', () => ( - - )) - .add('Segmented control[Dark theme]: with 3 items', () => ( - - )) - .add('Segmented control[Dark theme]: with 5 items ', () => ( - - )) - .add( - 'Segmented control[Dark theme]: with 5 items and first one checked ', - () => , - ) - .add( - 'Segmented control[Dark theme]: with 3 items and no item checked ', - () => ( - - ), - ) - .add( - 'Segmented control[Dark theme]: with 5 items and no item checked ', - () => ( - - ), - ); +export default { + title: 'Segmented control', +}; + +export const SegmentedControlTextWith3Items = () => ( + +); + +SegmentedControlTextWith3Items.story = { + name: 'Segmented control[text]: with 3 items ', +}; + +export const SegmentedControlTextWith2Items = () => ( + +); + +SegmentedControlTextWith2Items.story = { + name: 'Segmented control[text]: with 2 items ', +}; + +export const SegmentedControlIconWith5Items = () => ( + +); + +SegmentedControlIconWith5Items.story = { + name: 'Segmented control[icon]: with 5 items ', +}; + +export const SegmentedControlIconWith5ItemsAndFirstOneChecked = () => ( + +); + +SegmentedControlIconWith5ItemsAndFirstOneChecked.story = { + name: 'Segmented control[icon]: with 5 items and first one checked ', +}; + +export const SegmentedControlIconWith3Items = () => ( + +); + +SegmentedControlIconWith3Items.story = { + name: 'Segmented control[icon]: with 3 items ', +}; + +export const SegmentedControlTextWith3ItemsAndNoItemChecked = () => ( + +); + +SegmentedControlTextWith3ItemsAndNoItemChecked.story = { + name: 'Segmented control[text]: with 3 items and no item checked ', +}; + +export const SegmentedControlIconWith5ItemsAndNoItemChecked = () => ( + +); + +SegmentedControlIconWith5ItemsAndNoItemChecked.story = { + name: 'Segmented control[icon]: with 5 items and no item checked ', +}; + +export const SegmentedControlDarkThemeWith3Items = () => ( + +); + +SegmentedControlDarkThemeWith3Items.story = { + name: 'Segmented control[Dark theme]: with 3 items', +}; + +export const SegmentedControlDarkThemeWith5Items = () => ( + +); + +SegmentedControlDarkThemeWith5Items.story = { + name: 'Segmented control[Dark theme]: with 5 items ', +}; + +export const SegmentedControlDarkThemeWith5ItemsAndFirstOneChecked = () => ( + +); + +SegmentedControlDarkThemeWith5ItemsAndFirstOneChecked.story = { + name: 'Segmented control[Dark theme]: with 5 items and first one checked ', +}; + +export const SegmentedControlDarkThemeWith3ItemsAndNoItemChecked = () => ( + +); + +SegmentedControlDarkThemeWith3ItemsAndNoItemChecked.story = { + name: 'Segmented control[Dark theme]: with 3 items and no item checked ', +}; + +export const SegmentedControlDarkThemeWith5ItemsAndNoItemChecked = () => ( + +); + +SegmentedControlDarkThemeWith5ItemsAndNoItemChecked.story = { + name: 'Segmented control[Dark theme]: with 5 items and no item checked ', +}; diff --git a/stories/SegmentedControl/SegmentedControl.story.jsx b/stories/SegmentedControl/SegmentedControl.story.jsx index 2f23cca4a..cb93076b0 100644 --- a/stories/SegmentedControl/SegmentedControl.story.jsx +++ b/stories/SegmentedControl/SegmentedControl.story.jsx @@ -1,5 +1,4 @@ import React from 'react'; -import { storiesOf } from '@storybook/react'; import { TabbedView, Tab, @@ -18,7 +17,11 @@ import { } from '../../components/SegmentedControl/exampleContents'; import SegmentedControl from '../../components/SegmentedControl'; -storiesOf('SegmentedControl', module).add('SegmentedControl', () => ( +export default { + title: 'SegmentedControl', +}; + +export const _SegmentedControl = () => ( <> The Segmented control component is a linear set of two or more alternation @@ -85,4 +88,8 @@ storiesOf('SegmentedControl', module).add('SegmentedControl', () => ( -)); +); + +_SegmentedControl.story = { + name: 'SegmentedControl', +}; diff --git a/stories/Skeleton/Skeleton.regression-test.story.jsx b/stories/Skeleton/Skeleton.regression-test.story.jsx index 5d20e6e28..deb43cd5d 100644 --- a/stories/Skeleton/Skeleton.regression-test.story.jsx +++ b/stories/Skeleton/Skeleton.regression-test.story.jsx @@ -1,56 +1,74 @@ import React from 'react'; -import { storiesOf } from '@storybook/react'; import { Skeleton } from '../../components'; -storiesOf('Skeleton', module) - .add('rect as default', () => ( - <> - -
- -
- - - )) - .add('text', () => ( - <> - -
- -
- - - )) - .add('circle', () => ) - .add('Button', () => ( - <> - -
- -
- -
- -
- -
- - - )) - .add('Tag', () => ( - <> - - -
- -
- - -
- - -
- - - - )); +export default { + title: 'Skeleton', +}; + +export const RectAsDefault = () => ( + <> + +
+ +
+ + +); + +RectAsDefault.story = { + name: 'rect as default', +}; + +export const _Text = () => ( + <> + +
+ +
+ + +); + +_Text.story = { + name: 'text', +}; + +export const _Circle = () => ; + +_Circle.story = { + name: 'circle', +}; + +export const _Button = () => ( + <> + +
+ +
+ +
+ +
+ +
+ + +); + +export const _Tag = () => ( + <> + + +
+ +
+ + +
+ + +
+ + + +); diff --git a/stories/SnackBar/SnackBar.story.jsx b/stories/SnackBar/SnackBar.story.jsx index cf2223300..caa55577d 100644 --- a/stories/SnackBar/SnackBar.story.jsx +++ b/stories/SnackBar/SnackBar.story.jsx @@ -1,5 +1,4 @@ import React from 'react'; -import { storiesOf } from '@storybook/react'; import { TabbedView, Tab, @@ -21,7 +20,11 @@ import { SnackBarExampleCallback, } from './examples'; -storiesOf('SnackBar', module).add('SnackBar', () => ( +export default { + title: 'SnackBar', +}; + +export const _SnackBar = () => ( <> SnackBars are used to give a actions support that have just been maded: @@ -113,4 +116,8 @@ storiesOf('SnackBar', module).add('SnackBar', () => ( -)); +); + +_SnackBar.story = { + name: 'SnackBar', +}; diff --git a/stories/Socials/Socials.regression-test.story.jsx b/stories/Socials/Socials.regression-test.story.jsx index 78f0e0519..3ebc8f151 100644 --- a/stories/Socials/Socials.regression-test.story.jsx +++ b/stories/Socials/Socials.regression-test.story.jsx @@ -1,5 +1,4 @@ import React from 'react'; -import { storiesOf } from '@storybook/react'; import Socials from '../../components/Socials'; @@ -21,40 +20,76 @@ const allItems = [ }, ]; -storiesOf('Socials', module) - .add('All items', () => ( -
- -
- )) - - .add('all items (24px)', () => ( -
- -
- )) - .add('only Facebook', () => ( -
- -
- )) - .add('only Twitter', () => ( -
- -
- )) - .add('only Youtube', () => ( -
- -
- )) - .add('all items without box (24px)', () => ( -
- -
- )) - .add('all items without box', () => ( -
- -
- )); +export default { + title: 'Socials', +}; + +export const AllItems = () => ( +
+ +
+); + +AllItems.story = { + name: 'All items', +}; + +export const AllItems24Px = () => ( +
+ +
+); + +AllItems24Px.story = { + name: 'all items (24px)', +}; + +export const OnlyFacebook = () => ( +
+ +
+); + +OnlyFacebook.story = { + name: 'only Facebook', +}; + +export const OnlyTwitter = () => ( +
+ +
+); + +OnlyTwitter.story = { + name: 'only Twitter', +}; + +export const OnlyYoutube = () => ( +
+ +
+); + +OnlyYoutube.story = { + name: 'only Youtube', +}; + +export const AllItemsWithoutBox24Px = () => ( +
+ +
+); + +AllItemsWithoutBox24Px.story = { + name: 'all items without box (24px)', +}; + +export const AllItemsWithoutBox = () => ( +
+ +
+); + +AllItemsWithoutBox.story = { + name: 'all items without box', +}; diff --git a/stories/Socials/Socials.story.jsx b/stories/Socials/Socials.story.jsx index b0be90b1a..b3257aa4f 100644 --- a/stories/Socials/Socials.story.jsx +++ b/stories/Socials/Socials.story.jsx @@ -1,5 +1,4 @@ import React from 'react'; -import { storiesOf } from '@storybook/react'; import { TabbedView, Tab, @@ -21,7 +20,11 @@ import { SocialExampleWithoutBoxChangingSize, } from './examples/SocialExamples'; -storiesOf('Socials', module).add('Socials', () => ( +export default { + title: 'Socials', +}; + +export const _Socials = () => ( <> Socials component is used to share the social media in applications. @@ -100,4 +103,4 @@ storiesOf('Socials', module).add('Socials', () => ( -)); +); diff --git a/stories/Stepper/Stepper.regression-test.story.jsx b/stories/Stepper/Stepper.regression-test.story.jsx index c50389402..317c2cb0d 100644 --- a/stories/Stepper/Stepper.regression-test.story.jsx +++ b/stories/Stepper/Stepper.regression-test.story.jsx @@ -1,5 +1,4 @@ import React from 'react'; -import { storiesOf } from '@storybook/react'; import Stepper from '../../components/Stepper'; @@ -8,166 +7,192 @@ const i18n = { nextWord: 'próximo', }; -storiesOf('Stepper', module) - .add('Stepper with total 2', () => ( -
- - -
- )) - .add('Stepper with total 3', () => ( -
- - - -
- )) - .add('Stepper with total 4', () => ( -
- - - - -
- )) - .add('Stepper with total 5', () => ( -
- - - - - -
- )) +export default { + title: 'Stepper', +}; + +export const StepperWithTotal2 = () => ( +
+ + +
+); + +StepperWithTotal2.story = { + name: 'Stepper with total 2', +}; + +export const StepperWithTotal3 = () => ( +
+ + + +
+); + +StepperWithTotal3.story = { + name: 'Stepper with total 3', +}; + +export const StepperWithTotal4 = () => ( +
+ + + + +
+); - .add('Stepper with total 6', () => ( -
- - - - - - -
- )); +StepperWithTotal4.story = { + name: 'Stepper with total 4', +}; + +export const StepperWithTotal5 = () => ( +
+ + + + + +
+); + +StepperWithTotal5.story = { + name: 'Stepper with total 5', +}; + +export const StepperWithTotal6 = () => ( +
+ + + + + + +
+); + +StepperWithTotal6.story = { + name: 'Stepper with total 6', +}; diff --git a/stories/Stepper/Stepper.story.jsx b/stories/Stepper/Stepper.story.jsx index 2da20fdd4..c8f9049cc 100644 --- a/stories/Stepper/Stepper.story.jsx +++ b/stories/Stepper/Stepper.story.jsx @@ -1,5 +1,4 @@ import React from 'react'; -import { storiesOf } from '@storybook/react'; import { Tab, Example, @@ -40,7 +39,11 @@ const exampleTab = ( ); -storiesOf('Stepper', module).add('Stepper', () => ( +export default { + title: 'Stepper', +}; + +export const _Stepper = () => ( <> ; -storiesOf('TabbedView', module) - .add('default', () => ( - - Candidates content - Companies content - Education content - - )) - .add('fluid', () => ( - - Candidates content - Companies content - Education content - - )) - .add('primary', () => ( - - - With badge content - - - With icon content - - - With icon and badge content - - With only text content - - )); +export default { + title: 'TabbedView', +}; + +export const Default = () => ( + + Candidates content + Companies content + Education content + +); + +Default.story = { + name: 'default', +}; + +export const Fluid = () => ( + + Candidates content + Companies content + Education content + +); + +Fluid.story = { + name: 'fluid', +}; + +export const Primary = () => ( + + + With badge content + + + With icon content + + + With icon and badge content + + With only text content + +); + +Primary.story = { + name: 'primary', +}; diff --git a/stories/TabbedView/TabbedView.story.jsx b/stories/TabbedView/TabbedView.story.jsx index d66c18af2..b0945e9f4 100644 --- a/stories/TabbedView/TabbedView.story.jsx +++ b/stories/TabbedView/TabbedView.story.jsx @@ -1,5 +1,4 @@ import React from 'react'; -import { storiesOf } from '@storybook/react'; import { Heading, TabbedView, @@ -20,7 +19,11 @@ import { const badge = ; const icon = ; -storiesOf('TabbedView', module).add('TabbedView', () => ( +export default { + title: 'TabbedView', +}; + +export const _TabbedView = () => ( <> TabbedView and Tab are components created to organize content into @@ -252,4 +255,8 @@ storiesOf('TabbedView', module).add('TabbedView', () => ( -)); +); + +_TabbedView.story = { + name: 'TabbedView', +}; diff --git a/stories/Tag/Tag.regression-test.story.jsx b/stories/Tag/Tag.regression-test.story.jsx index a8c779304..dc2684a66 100644 --- a/stories/Tag/Tag.regression-test.story.jsx +++ b/stories/Tag/Tag.regression-test.story.jsx @@ -1,72 +1,98 @@ import React from 'react'; -import { storiesOf } from '@storybook/react'; import { Tag } from '../../components'; -storiesOf('Tag', module) - .add('skin', () => ( - <> - Neutral (Default) - Primary - Success - Warning - Error - - )) - .add('inverted', () => ( - <> - Neutral (Default) - - Primary - - - Success - - - Warning - - - Error - - - )) - .add('stroked', () => ( - <> - Neutral (Default) - - Primary - - - Success - - - Warning - - - Error - - - )) - .add('closables', () => ( - <> - {}}>Neutral (Default) - {}} skin="primary"> - Primary - - {}} skin="success"> - Success - - {}} skin="warning"> - Warning - - {}} skin="error"> - Error - - - )) - .add('sizes', () => ( - <> - Small - Medium (Default) - Large - - )); +export default { + title: 'Tag', +}; + +export const Skin = () => ( + <> + Neutral (Default) + Primary + Success + Warning + Error + +); + +Skin.story = { + name: 'skin', +}; + +export const Inverted = () => ( + <> + Neutral (Default) + + Primary + + + Success + + + Warning + + + Error + + +); + +Inverted.story = { + name: 'inverted', +}; + +export const Stroked = () => ( + <> + Neutral (Default) + + Primary + + + Success + + + Warning + + + Error + + +); + +Stroked.story = { + name: 'stroked', +}; + +export const Closables = () => ( + <> + {}}>Neutral (Default) + {}} skin="primary"> + Primary + + {}} skin="success"> + Success + + {}} skin="warning"> + Warning + + {}} skin="error"> + Error + + +); + +Closables.story = { + name: 'closables', +}; + +export const Sizes = () => ( + <> + Small + Medium (Default) + Large + +); + +Sizes.story = { + name: 'sizes', +}; diff --git a/stories/Tag/Tag.story.jsx b/stories/Tag/Tag.story.jsx index 5852574bf..12f22be12 100644 --- a/stories/Tag/Tag.story.jsx +++ b/stories/Tag/Tag.story.jsx @@ -1,5 +1,4 @@ import React from 'react'; -import { storiesOf } from '@storybook/react'; import { Tab, AutoExample, StoryContainer } from '@catho/quantum-storybook-ui'; import { Tag } from '../../components'; import { @@ -25,10 +24,14 @@ const exampleTab = ( const description = `Tags are used for items that need to be labeled, categorized, or organized using keywords that describe them.`; -storiesOf('Tag', module).add('Tag', () => ( +export default { + title: 'Tag', +}; + +export const _Tag = () => ( -)); +); diff --git a/stories/TextArea/TextArea.regression-test.story.jsx b/stories/TextArea/TextArea.regression-test.story.jsx index 470cd8e68..e1ef4c28b 100644 --- a/stories/TextArea/TextArea.regression-test.story.jsx +++ b/stories/TextArea/TextArea.regression-test.story.jsx @@ -1,13 +1,49 @@ import React from 'react'; -import { storiesOf } from '@storybook/react'; import TextArea from '../../components/TextArea'; -storiesOf('TextArea', module) - .add('default', () =>