Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release of v2 #79

Merged
merged 71 commits into from
Feb 7, 2019
Merged
Changes from 1 commit
Commits
Show all changes
71 commits
Select commit Hold shift + click to select a range
f75d9dc
fix: button aria-label fix, to make it more flexible
tujoworker Jan 31, 2019
2646c8f
update color of CSS diagram
tujoworker Jan 31, 2019
c2a23a2
Portal: dev docs updates
tujoworker Jan 31, 2019
3696aef
fix linting setup for staged files
tujoworker Jan 31, 2019
132b057
enhance code block in portal with new parameter
tujoworker Jan 31, 2019
83f9fca
fix: make a visual typography difference for all headings 1-6
tujoworker Jan 31, 2019
e19c1ce
feat: better focus management. Now we can both send a element or a cs…
tujoworker Feb 1, 2019
333f257
feat: add `dnb-skip-link` support in core style with info under the "…
tujoworker Feb 1, 2019
943c1fc
feat: update #tabs for mobile view
tujoworker Feb 1, 2019
d92cf41
feat: some files where updated/added | version.lock, icons.lock, inde…
tujoworker Feb 1, 2019
6209e8a
update dependencies
tujoworker Feb 1, 2019
2dc391d
fix: update icons manually because of an conversion problem occurred …
tujoworker Feb 1, 2019
8733eaa
fix: remove dialog from reset, as we do have no need to support it
tujoworker Feb 1, 2019
3d93b7a
fix: remove cursor: not-allowed; various places, as it is doubled up
tujoworker Feb 1, 2019
53c3700
fix: make sure `applyPageFocus` not forces all elements to use tabind…
tujoworker Feb 1, 2019
9b35d57
feat: give the #icon component the possibility to use/force size so …
tujoworker Feb 1, 2019
703f246
break: The css files have gotten a new structure. Read more here: htt…
tujoworker Feb 1, 2019
c5eae60
break: `.dnb-style` is replaced by `.dnb-spacing`
tujoworker Feb 1, 2019
f8b2910
update the css diagram
tujoworker Feb 1, 2019
3d3363c
feat: some files where updated/added | bell.svg, check_alt_01.svg, ex…
tujoworker Feb 1, 2019
67e76ab
run audit on ci
tujoworker Feb 2, 2019
173c5b1
update missing snapshot autoupdate
tujoworker Feb 2, 2019
23a832d
make sure import in page is unique, so we stick with IconPrimary
tujoworker Feb 2, 2019
37cd58d
fix: remove unneeded focus management
tujoworker Feb 2, 2019
f7103ee
fix: make #tabs work with React define content config
tujoworker Feb 2, 2019
47d8f0f
fix: load spacing definition (dnb-spacing) after theme ui to actually…
tujoworker Feb 2, 2019
807be49
fix: change the way we define the default variant on #button component
tujoworker Feb 2, 2019
56634fc
fix better focus management on portal
tujoworker Feb 2, 2019
3cebd79
remove leftover form cmd tool, we did not need
tujoworker Feb 4, 2019
28c7a28
enhance ci audit to run also dev dependencies
tujoworker Feb 4, 2019
b38f8e9
some files where updated/added | version.lock
tujoworker Feb 4, 2019
ce8ac41
more portal work due to accessibility
tujoworker Feb 4, 2019
c7d4775
feat: enhance spacing styles, also for nested elements
tujoworker Feb 4, 2019
6fdc07d
feat: some files where updated/added | version.lock, icons.lock, inde…
tujoworker Feb 4, 2019
eb05cd2
make sure we also reset ul spacing by default
tujoworker Feb 4, 2019
526b5cd
Portal: reset padding-top on fullscreen view, as we dont have a stick…
tujoworker Feb 4, 2019
1e07ec2
feat: enhance themes usage and the docs
tujoworker Feb 5, 2019
00ed5ad
update dependencies
tujoworker Feb 5, 2019
9e86370
feat: change the way tabs behave on startup. Only render the current tab
tujoworker Feb 5, 2019
1df2ef6
change the way we display the button in the portal. This is still WIP…
tujoworker Feb 5, 2019
5916591
fixup! feat: change the way tabs behave on startup. Only render the c…
tujoworker Feb 5, 2019
9c5a66b
fix: secondary button border-bottom did not show up on href buttons
tujoworker Feb 5, 2019
1716e33
Portal: fix button examples and remove leftover
tujoworker Feb 5, 2019
34d49f8
feat: some files where updated/added | file.svg, file_medium.svg, ver…
tujoworker Feb 5, 2019
4224b08
Portal: add the possibility to show syntax on codeblock
tujoworker Feb 5, 2019
888b2d1
Portal: add missing import
tujoworker Feb 5, 2019
1a71589
some files where updated/added | version.lock
tujoworker Feb 5, 2019
7598601
some files where updated/added | version.lock
tujoworker Feb 5, 2019
d70fba5
feat: add radius to anchor in focus state
tujoworker Feb 5, 2019
09b5d62
fix: #step-indicator had some unwanted spacing, inherited by the spac…
tujoworker Feb 6, 2019
cb203de
Make screenshot test for step indicator
tujoworker Feb 6, 2019
bd482fc
Portal: add dnb logo to footer and move footer outside of main tag, b…
tujoworker Feb 6, 2019
301bf1d
feat: make #logo component also supporting auto sizing
tujoworker Feb 6, 2019
4682edd
fix: center icons in #button component
tujoworker Feb 6, 2019
3917d2c
add jest screenshot testing config
tujoworker Feb 6, 2019
45e9652
Portal: remove fragments from code examples
tujoworker Feb 6, 2019
2247fe2
enhance babel config to work with the new jest version
tujoworker Feb 6, 2019
d5707b9
fix: make sure we check if document exists
tujoworker Feb 6, 2019
a51fc97
update test scripts to be ready for screenshot testing
tujoworker Feb 6, 2019
15da62f
update react-live to support fragments
tujoworker Feb 6, 2019
c4fd097
update dependencies on dnb-ui-lib
tujoworker Feb 6, 2019
bfcdeb5
update dependencies except react 16.8 - as this gives us some trouble…
tujoworker Feb 6, 2019
94ea2c9
fix syntax rendering on ComponentBox for code with several react inst…
tujoworker Feb 6, 2019
ff8b210
fix: icon auto sizing issue
tujoworker Feb 6, 2019
e0fb01b
fixup! fix: icon auto sizing issue
tujoworker Feb 6, 2019
5f51ec2
make ci working version of screenshot testing
tujoworker Feb 6, 2019
b0e5c66
extend ci screenshot test config for other CI services
tujoworker Feb 6, 2019
a88105c
fix error constructor
tujoworker Feb 6, 2019
1ff3c1c
Merge pull request #80 from dnbexperience/wip/prepare-screenshot-tests
tujoworker Feb 6, 2019
1d70276
some files where updated/added | version.lock
tujoworker Feb 6, 2019
613c97b
setup screenshot test config properly
tujoworker Feb 7, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
update react-live to support fragments
tujoworker committed Feb 6, 2019
commit 15da62f3589240f4147b06b4408e6f991679b5da
2 changes: 1 addition & 1 deletion packages/dnb-design-system-portal/package.json
Original file line number Diff line number Diff line change
@@ -112,7 +112,7 @@
"react-fake-props": "^0.3.1",
"react-helmet": "^5.2.0",
"react-live": "^1.12.0",
"react-live-replacement": "https://github.com/tujoworker/react-live/",
"react-live-replacement": "https://github.com/tujoworker/react-live/tarball/d9a44a8b8093a3cb57734d901200f7b66cd30515",
"stylelint": "^9.10.1",
"stylelint-config-styled-components": "^0.1.1",
"stylelint-processor-styled-components": "^1.5.2"
73 changes: 51 additions & 22 deletions yarn.lock
Original file line number Diff line number Diff line change
@@ -2968,10 +2968,10 @@ aws4@^1.8.0:
resolved "https://registry.yarnpkg.com/aws4/-/aws4-1.8.0.tgz#f0e003d9ca9e7f59c7a508945d7b2ef9a04a542f"
integrity sha512-ReZxvNHIOv88FlT7rxcXIIC0fPt4KZqZbOlivyWtXLt8ESx84zd3kMC6iK5jVeS2qt+g7ftS7ye4fi06X5rtRQ==

axe-core@3.1.1:
version "3.1.1"
resolved "https://registry.yarnpkg.com/axe-core/-/axe-core-3.1.1.tgz#c00515481b2abc47a87a3cbcd6ba2ae2d78d027f"
integrity sha512-5/JPwRqOMDnEqonolatT9/i+aOTYCpTEHR4rqmYjWRn+oiZdRHbYv8MC+HNLEtP0I3mkC3glAF8fRkfKHrUOtw==
axe-core@3.1.2:
version "3.1.2"
resolved "https://registry.yarnpkg.com/axe-core/-/axe-core-3.1.2.tgz#ca0aff897ebefca7552f97859dc1217c06c4f9e6"
integrity sha512-e1WVs0SQu3tM29J9a/mISGvlo2kdCStE+yffIAJF6eb42FS+eUFEVz9j4rgDeV2TAfPJmuOZdRetWYycIbK7Vg==

axios@^0.18.0:
version "0.18.0"
@@ -6415,6 +6415,11 @@ dezalgo@^1.0.0, dezalgo@~1.0.3:
asap "^2.0.0"
wrappy "1"

diff-sequences@^24.0.0:
version "24.0.0"
resolved "https://registry.yarnpkg.com/diff-sequences/-/diff-sequences-24.0.0.tgz#cdf8e27ed20d8b8d3caccb4e0c0d8fe31a173013"
integrity sha512-46OkIuVGBBnrC0soO/4LHu5LHGHx0uhP65OVz8XOrAJpqiCB2aVIuESvjI1F9oqebuvY8lekS1pt6TN7vt7qsw==

diff@^3.2.0:
version "3.5.0"
resolved "https://registry.yarnpkg.com/diff/-/diff-3.5.0.tgz#800c0dd1e0a8bfbc95835c202ad220fe317e5a12"
@@ -11296,12 +11301,12 @@ java-properties@^0.2.9:
integrity sha512-CpKJh9VRNhS+XqZtg1UMejETGEiqwCGDC/uwPEEQwc2nfdbSm73SIE29TplG2gLYuBOOTNDqxzG6A9NtEPLt0w==

jest-axe@^3.1.0:
version "3.1.0"
resolved "https://registry.yarnpkg.com/jest-axe/-/jest-axe-3.1.0.tgz#49aa1b5336708819fbea00696f38842e11743bb7"
integrity sha512-WXJ2T87U7m3ckCyBQw1S2GIidvfvWLJi9APW0NGCRbU6aYhaderAGl0vO0IH4Eg8jTL+mPFRxixoaq8VjHtkhg==
version "3.1.1"
resolved "https://registry.yarnpkg.com/jest-axe/-/jest-axe-3.1.1.tgz#8bbdb56761fe3d835c1b0e4f225c845bc2e586b9"
integrity sha512-pMPEGIVti7GYtO4/dnid8D6fyxsn6G7oTOo6y6o+chluw5RL9qu8gI4+/U6Squ+O1Q/BkCQAWYCdDzeP+WhKXg==
dependencies:
axe-core "3.1.1"
jest-matcher-utils "23.5.0"
axe-core "3.1.2"
jest-matcher-utils "24.0.0"
lodash.merge "4.6.1"

jest-changed-files@^23.4.2:
@@ -11390,6 +11395,16 @@ jest-diff@^23.6.0:
jest-get-type "^22.1.0"
pretty-format "^23.6.0"

jest-diff@^24.0.0:
version "24.0.0"
resolved "https://registry.yarnpkg.com/jest-diff/-/jest-diff-24.0.0.tgz#a3e5f573dbac482f7d9513ac9cfa21644d3d6b34"
integrity sha512-XY5wMpRaTsuMoU+1/B2zQSKQ9RdE9gsLkGydx3nvApeyPijLA8GtEvIcPwISRCer+VDf9W1mStTYYq6fPt8ryA==
dependencies:
chalk "^2.0.1"
diff-sequences "^24.0.0"
jest-get-type "^24.0.0"
pretty-format "^24.0.0"

jest-docblock@^23.2.0:
version "23.2.0"
resolved "https://registry.yarnpkg.com/jest-docblock/-/jest-docblock-23.2.0.tgz#f085e1f18548d99fdd69b20207e6fd55d91383a7"
@@ -11437,6 +11452,11 @@ jest-get-type@^22.1.0, jest-get-type@^22.3.3:
resolved "https://registry.yarnpkg.com/jest-get-type/-/jest-get-type-22.4.3.tgz#e3a8504d8479342dd4420236b322869f18900ce4"
integrity sha512-/jsz0Y+V29w1chdXVygEKSz2nBoHoYqNShPe+QgxSNjAuP1i8+k4LbQNrfoliKej0P45sivkSCh7yiD6ubHS3w==

jest-get-type@^24.0.0:
version "24.0.0"
resolved "https://registry.yarnpkg.com/jest-get-type/-/jest-get-type-24.0.0.tgz#36e72930b78e33da59a4f63d44d332188278940b"
integrity sha512-z6/Eyf6s9ZDGz7eOvl+fzpuJmN9i0KyTt1no37/dHu8galssxz5ZEgnc1KaV8R31q1khxyhB4ui/X5ZjjPk77w==

jest-haste-map@^23.6.0:
version "23.6.0"
resolved "https://registry.yarnpkg.com/jest-haste-map/-/jest-haste-map-23.6.0.tgz#2e3eb997814ca696d62afdb3f2529f5bbc935e16"
@@ -11476,14 +11496,15 @@ jest-leak-detector@^23.6.0:
dependencies:
pretty-format "^23.6.0"

jest-matcher-utils@23.5.0:
version "23.5.0"
resolved "https://registry.yarnpkg.com/jest-matcher-utils/-/jest-matcher-utils-23.5.0.tgz#0e2ea67744cab78c9ab15011c4d888bdd3e49e2a"
integrity sha512-hmQUKUKYOExp3T8dNYK9A9copCFYKoRLcY4WDJJ0Z2u3oF6rmAhHuZtmpHBuGpASazobBxm3TXAfAXDvz2T7+Q==
jest-matcher-utils@24.0.0:
version "24.0.0"
resolved "https://registry.yarnpkg.com/jest-matcher-utils/-/jest-matcher-utils-24.0.0.tgz#fc9c41cfc49b2c3ec14e576f53d519c37729d579"
integrity sha512-LQTDmO+aWRz1Tf9HJg+HlPHhDh1E1c65kVwRFo5mwCVp5aQDzlkz4+vCvXhOKFjitV2f0kMdHxnODrXVoi+rlA==
dependencies:
chalk "^2.0.1"
jest-get-type "^22.1.0"
pretty-format "^23.5.0"
jest-diff "^24.0.0"
jest-get-type "^24.0.0"
pretty-format "^24.0.0"

jest-matcher-utils@^23.6.0:
version "23.6.0"
@@ -16518,14 +16539,22 @@ pretty-error@^2.1.1:
renderkid "^2.0.1"
utila "~0.4"

pretty-format@^23.5.0, pretty-format@^23.6.0:
pretty-format@^23.6.0:
version "23.6.0"
resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-23.6.0.tgz#5eaac8eeb6b33b987b7fe6097ea6a8a146ab5760"
integrity sha512-zf9NV1NSlDLDjycnwm6hpFATCGl/K1lt0R/GdkAK2O5LN/rwJoB+Mh93gGJjut4YbmecbfgLWVGSTCr0Ewvvbw==
dependencies:
ansi-regex "^3.0.0"
ansi-styles "^3.2.0"

pretty-format@^24.0.0:
version "24.0.0"
resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-24.0.0.tgz#cb6599fd73ac088e37ed682f61291e4678f48591"
integrity sha512-LszZaKG665djUcqg5ZQq+XzezHLKrxsA86ZABTozp+oNhkdqa+tG2dX4qa6ERl5c/sRDrAa3lHmwnvKoP+OG/g==
dependencies:
ansi-regex "^4.0.0"
ansi-styles "^3.2.0"

pretty-hrtime@^1.0.0, pretty-hrtime@^1.0.3:
version "1.0.3"
resolved "https://registry.yarnpkg.com/pretty-hrtime/-/pretty-hrtime-1.0.3.tgz#b7e3ea42435a4c9b2759d99e0f201eb195802ee1"
@@ -16791,9 +16820,9 @@ punycode@^1.2.4, punycode@^1.4.1:
integrity sha1-wNWmOycYgArY4esPpSachN1BhF4=

puppeteer@^1.12.1:
version "1.12.1"
resolved "https://registry.yarnpkg.com/puppeteer/-/puppeteer-1.12.1.tgz#440241743f4c909015d0924bdb7f99f670d9c955"
integrity sha512-FlMLdgAnURMMtwb2S6XtkBRw+kh1V+gGt09pCJF9mB1eOnF9+JhtvTxFeu1Rm5X1pKMXq5xrosrhBTgmdwzPeA==
version "1.12.2"
resolved "https://registry.yarnpkg.com/puppeteer/-/puppeteer-1.12.2.tgz#dbc36afc3ba2d7182b1a37523c0081a0e8507c9a"
integrity sha512-xWSyCeD6EazGlfnQweMpM+Hs6X6PhUYhNTHKFj/axNZDq4OmrVERf70isBf7HsnFgB3zOC1+23/8+wCAZYg+Pg==
dependencies:
debug "^4.1.0"
extract-zip "^1.6.6"
@@ -17137,9 +17166,9 @@ react-lifecycles-compat@^3.0.0, react-lifecycles-compat@^3.0.4:
resolved "https://registry.yarnpkg.com/react-lifecycles-compat/-/react-lifecycles-compat-3.0.4.tgz#4f1a273afdfc8f3488a8c516bfda78f872352362"
integrity sha512-fBASbA6LnOU9dOU2eW7aQ8xmYBSXUIWr+UmF9b1efZBazGNO+rcXT/icdKnYm2pTwcRylVUYwW7H1PHfLekVzA==

"react-live-replacement@https://github.com/tujoworker/react-live/":
version "1.12.0"
resolved "https://github.com/tujoworker/react-live/#f2721bae8059ea98bb99b0426dc88b871b218b9a"
"react-live-replacement@https://github.com/tujoworker/react-live/tarball/d9a44a8b8093a3cb57734d901200f7b66cd30515":
version "1.13.0"
resolved "https://github.com/tujoworker/react-live/tarball/d9a44a8b8093a3cb57734d901200f7b66cd30515#695e9ac618e3c9786a748ca466d3c51aaeb3d090"
dependencies:
buble "^0.19.3"
core-js "^2.4.1"