From 823c4d7411438913d273151349984ff44d1d2d52 Mon Sep 17 00:00:00 2001 From: mcoker Date: Mon, 9 Dec 2024 15:07:04 -0600 Subject: [PATCH] fix(dark-theme): fixed issue with incorrect color-scheme being applied --- .../templates/html.ejs | 1 - packages/documentation-site/package.json | 2 +- yarn.lock | 89 ++++++++++++++----- 3 files changed, 66 insertions(+), 26 deletions(-) diff --git a/packages/documentation-framework/templates/html.ejs b/packages/documentation-framework/templates/html.ejs index 4bf8654166..96d91d6176 100644 --- a/packages/documentation-framework/templates/html.ejs +++ b/packages/documentation-framework/templates/html.ejs @@ -3,7 +3,6 @@ - <%= title %> diff --git a/packages/documentation-site/package.json b/packages/documentation-site/package.json index 4618a8ce20..fd7d488791 100644 --- a/packages/documentation-site/package.json +++ b/packages/documentation-site/package.json @@ -17,7 +17,7 @@ "screenshots": "pf-docs-framework screenshots" }, "dependencies": { - "@patternfly/documentation-framework": "6.0.12", + "@patternfly/documentation-framework": "6.0.17", "@patternfly/react-catalog-view-extension": "6.0.0", "@patternfly/react-console": "6.0.0", "@patternfly/react-docs": "7.1.0-prerelease.7", diff --git a/yarn.lock b/yarn.lock index fc504c654f..ba1d70b629 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1801,10 +1801,10 @@ puppeteer-cluster "^0.24.0" xmldoc "^1.3.0" -"@patternfly/patternfly@6.0.0": - version "6.0.0" - resolved "https://registry.yarnpkg.com/@patternfly/patternfly/-/patternfly-6.0.0.tgz#c7c78db38ef1af6324cf742c282404cd71696d1e" - integrity sha512-Mn92Tt/4okSj1COGCJrgUgh390OOaFCWf0tL0WmigDNUecSHNn1D6Vhpd1hxHQBXvre9eWorzxV2b9yhSEl79Q== +"@patternfly/patternfly@6.1.0-prerelease.2": + version "6.1.0-prerelease.2" + resolved "https://registry.yarnpkg.com/@patternfly/patternfly/-/patternfly-6.1.0-prerelease.2.tgz#5beb864087ba17a3ea9f4c3dbd14dc831bbd2fa9" + integrity sha512-zl0+3CH8A67iOEyitIEaNE6R1I4YXVqTRwHz8JJJEZcgfrqPN8Tst/Gz9N4hg/PBqGxBtj0lEJzP3s86rWm7kA== "@patternfly/patternfly@^6.1.0-prerelease.2": version "6.1.0-prerelease.4" @@ -1935,17 +1935,17 @@ react-dropzone "^14.2.3" tslib "^2.8.1" -"@patternfly/react-docs@7.0.0": - version "7.0.0" - resolved "https://registry.yarnpkg.com/@patternfly/react-docs/-/react-docs-7.0.0.tgz#1a6eb8b95606193b97f9c71ca8ecf01f7dbbd53d" - integrity sha512-OGFDoGh5JBWtw7zcC93/yfsq54oa/NfUUSqpLIu/6bN5/WXZ7OuaVoTk8jLG8AgcvvwqNsK5/MPgY95gJk3lQA== +"@patternfly/react-core@^6.1.0-prerelease.4": + version "6.1.0-prerelease.14" + resolved "https://registry.yarnpkg.com/@patternfly/react-core/-/react-core-6.1.0-prerelease.14.tgz#92bd46b8200b1c0f57c9c2b8c08d38b0d39e3bea" + integrity sha512-7mND5jQdrZqwFtx8pLW6JnG8suDmnagVLs9CnWbjeSqVhEoK9jZJpTmpyXJxHOufT+cxwQnYpOd8zqeDu9NGVA== dependencies: - "@patternfly/react-icons" "^6.1.0-prerelease.1" - "@patternfly/react-styles" "^6.1.0-prerelease.1" - "@patternfly/react-tokens" "^6.1.0-prerelease.1" - focus-trap "7.6.1" - react-dropzone "^14.2.3" - tslib "^2.7.0" + "@patternfly/react-icons" "^6.1.0-prerelease.6" + "@patternfly/react-styles" "^6.1.0-prerelease.5" + "@patternfly/react-tokens" "^6.1.0-prerelease.5" + focus-trap "7.6.2" + react-dropzone "^14.3.5" + tslib "^2.8.1" "@patternfly/react-docs@7.1.0-prerelease.7": version "7.1.0-prerelease.7" @@ -1992,6 +1992,11 @@ resolved "https://registry.yarnpkg.com/@patternfly/react-icons/-/react-icons-6.0.0-prerelease.7.tgz#44218ac52e5a8440bd0bb96eceef3df4c9239b86" integrity sha512-DQmecVgXRIiD3ww4KUuJ0qO76TmYMDEJ1ao1+DYuTSP+FzeJLJKuE9QxvL8qn3anyKtuORBuHdTIjM52mVq5Vg== +"@patternfly/react-icons@^6.1.0-prerelease.1", "@patternfly/react-icons@^6.1.0-prerelease.6": + version "6.1.0-prerelease.6" + resolved "https://registry.yarnpkg.com/@patternfly/react-icons/-/react-icons-6.1.0-prerelease.6.tgz#cb57d9740a1c265648d6b88f151731ab76384973" + integrity sha512-uALrp+lSdpvLayVbOmcLV9B2h2s/p5ZRVLBci3v5goYkoBvM0DXn7082s50xVjvRxKRqYh2rFqbF7tS1h0dZEQ== + "@patternfly/react-icons@^6.1.0-prerelease.3": version "6.1.0-prerelease.3" resolved "https://registry.yarnpkg.com/@patternfly/react-icons/-/react-icons-6.1.0-prerelease.3.tgz#94104e015b56c3d0451ebf0ac0cf9bb3fd79a33d" @@ -2022,6 +2027,11 @@ resolved "https://registry.yarnpkg.com/@patternfly/react-styles/-/react-styles-6.0.0-prerelease.6.tgz#e46acc02c8bc2464846544ebf55bbc4a646824b9" integrity sha512-tI28gIJFgbgVQs7Xj705csfl6T92dr5Bh7ynR5gN4+QdTWCUWmSctp46G2ZewXdrIN+C+2zUPE86o77aFp4CWw== +"@patternfly/react-styles@^6.1.0-prerelease.1", "@patternfly/react-styles@^6.1.0-prerelease.5": + version "6.1.0-prerelease.5" + resolved "https://registry.yarnpkg.com/@patternfly/react-styles/-/react-styles-6.1.0-prerelease.5.tgz#c89e8bf5656462e6b1368b4a7b6b4929c6456801" + integrity sha512-Az4HXEEdzCAMPMU/gQQT1DG3KsQS4Kepy+QuKm8Jpe2JKHim8WZuqBjzLgTMGfYPFc0f00WSeKrfi/rRP6TM+Q== + "@patternfly/react-styles@^6.1.0-prerelease.2": version "6.1.0-prerelease.2" resolved "https://registry.yarnpkg.com/@patternfly/react-styles/-/react-styles-6.1.0-prerelease.2.tgz#32a1daed06f48eef4bfa15aa0bbf4a5d9a3b6647" @@ -2077,6 +2087,11 @@ resolved "https://registry.yarnpkg.com/@patternfly/react-tokens/-/react-tokens-6.0.0-prerelease.7.tgz#68525ffcf08aebe2436d77af168a5fb4b3478b17" integrity sha512-SLgVwbIgVx26LCjaXkpNlPIZYqWpHJkw3QX/n3URLmIcRlCw536/rKO1PzXaeuCCqhuSq66J6R125zM2eJjM6A== +"@patternfly/react-tokens@^6.1.0-prerelease.1", "@patternfly/react-tokens@^6.1.0-prerelease.5": + version "6.1.0-prerelease.5" + resolved "https://registry.yarnpkg.com/@patternfly/react-tokens/-/react-tokens-6.1.0-prerelease.5.tgz#9b7bc655a878f156919e949bdf3a8391dd39740b" + integrity sha512-YMA6W7YWXw2035nM63leEf2DMpRm8TH/OLLCp80DMn3HJ62BPvvKBVwQuAAD3ysRe7JOr8k3pxnRczuLaIgDDw== + "@patternfly/react-tokens@^6.1.0-prerelease.2": version "6.1.0-prerelease.2" resolved "https://registry.yarnpkg.com/@patternfly/react-tokens/-/react-tokens-6.1.0-prerelease.2.tgz#ea3444870d29f516acc227c64635508731215004" @@ -3306,6 +3321,11 @@ attr-accept@^2.2.2: resolved "https://registry.npmjs.org/attr-accept/-/attr-accept-2.2.2.tgz#646613809660110749e92f2c10833b70968d929b" integrity sha512-7prDjvt9HmqiZ0cl5CRjtS84sEyhsHP2coDkaZKRKVfCDo9s7iw7ChVmar78Gu9pC4SoR/28wFu/G5JJhTnqEg== +attr-accept@^2.2.4: + version "2.2.5" + resolved "https://registry.yarnpkg.com/attr-accept/-/attr-accept-2.2.5.tgz#d7061d958e6d4f97bf8665c68b75851a0713ab5e" + integrity sha512-0bDNnY/u6pPwHDMoF0FieU354oBi0a8rD9FcsLwzcGWbc8KS8KPIi7y+s13OlVY+gMWc/9xEMUgNE6Qm8ZllYQ== + autoprefixer@9.8.6: version "9.8.6" resolved "https://registry.npmjs.org/autoprefixer/-/autoprefixer-9.8.6.tgz#3b73594ca1bf9266320c5acf1588d74dea74210f" @@ -4519,6 +4539,11 @@ cookie@0.6.0: resolved "https://registry.npmjs.org/cookie/-/cookie-0.6.0.tgz#2798b04b071b0ecbff0dbb62a505a8efa4e19051" integrity sha512-U71cyTamuh1CRNCfpGY6to28lxvNwPG4Guz/EVjgf3Jmzv0vlDp1atT9eS5dDjMYHucpHbWns6Lwf3BKz6svdw== +cookie@0.7.1: + version "0.7.1" + resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.7.1.tgz#2f73c42142d5d5cf71310a74fc4ae61670e5dbc9" + integrity sha512-6DnInpx7SJ2AK3+CTUE/ZM0vWTUboZCegxhC2xiIydHR9jNuTAASBrfEpHhiGOZw/nX51bHt6YQl8jsGo4y/0w== + copy-concurrently@^1.0.0: version "1.0.5" resolved "https://registry.npmjs.org/copy-concurrently/-/copy-concurrently-1.0.5.tgz#92297398cae34937fcafd6ec8139c18051f0b5e0" @@ -5675,17 +5700,17 @@ exponential-backoff@^3.1.1: resolved "https://registry.npmjs.org/exponential-backoff/-/exponential-backoff-3.1.1.tgz#64ac7526fe341ab18a39016cd22c787d01e00bf6" integrity sha512-dX7e/LHVJ6W3DE1MHWi9S1EYzDESENfLrYohG2G++ovZrYOkm4Knwa0mc1cn84xJOR4KEU0WSchhLbd0UklbHw== -express@4.21.0: - version "4.21.0" - resolved "https://registry.yarnpkg.com/express/-/express-4.21.0.tgz#d57cb706d49623d4ac27833f1cbc466b668eb915" - integrity sha512-VqcNGcj/Id5ZT1LZ/cfihi3ttTn+NJmkli2eZADigjq29qTlWi/hAQ43t/VLPq8+UX06FCEx3ByOYet6ZFblng== +express@4.21.2: + version "4.21.2" + resolved "https://registry.yarnpkg.com/express/-/express-4.21.2.tgz#cf250e48362174ead6cea4a566abef0162c1ec32" + integrity sha512-28HqgMZAmih1Czt9ny7qr6ek2qddF4FclbMzwhCREB6OFfH+rXAnuNCwo1/wFvrtbgsQDb4kSbX9de9lFbrXnA== dependencies: accepts "~1.3.8" array-flatten "1.1.1" body-parser "1.20.3" content-disposition "0.5.4" content-type "~1.0.4" - cookie "0.6.0" + cookie "0.7.1" cookie-signature "1.0.6" debug "2.6.9" depd "2.0.0" @@ -5699,7 +5724,7 @@ express@4.21.0: methods "~1.1.2" on-finished "2.4.1" parseurl "~1.3.3" - path-to-regexp "0.1.10" + path-to-regexp "0.1.12" proxy-addr "~2.0.7" qs "6.13.0" range-parser "~1.2.1" @@ -5900,6 +5925,13 @@ file-selector@^0.6.0: dependencies: tslib "^2.4.0" +file-selector@^2.1.0: + version "2.1.2" + resolved "https://registry.yarnpkg.com/file-selector/-/file-selector-2.1.2.tgz#fe7c7ee9e550952dfbc863d73b14dc740d7de8b4" + integrity sha512-QgXo+mXTe8ljeqUFaX3QVHc5osSItJ/Km+xpocx0aSqWGMSCf6qYs/VnzZgS864Pjn5iceMRFigeAV7AfTlaig== + dependencies: + tslib "^2.7.0" + file-url@3.0.0: version "3.0.0" resolved "https://registry.npmjs.org/file-url/-/file-url-3.0.0.tgz#247a586a746ce9f7a8ed05560290968afc262a77" @@ -10427,10 +10459,10 @@ path-scurry@^1.10.2, path-scurry@^1.5.0, path-scurry@^1.6.1: lru-cache "^10.2.0" minipass "^5.0.0 || ^6.0.2 || ^7.0.0" -path-to-regexp@0.1.10: - version "0.1.10" - resolved "https://registry.yarnpkg.com/path-to-regexp/-/path-to-regexp-0.1.10.tgz#67e9108c5c0551b9e5326064387de4763c4d5f8b" - integrity sha512-7lf7qcQidTku0Gu3YDPc8DJ1q7OOucfa/BSsIwjuh56VU7katFvuM8hULfkwB3Fns/rsVF7PwPKVw1sl5KQS9w== +path-to-regexp@0.1.12: + version "0.1.12" + resolved "https://registry.yarnpkg.com/path-to-regexp/-/path-to-regexp-0.1.12.tgz#d5e1a12e478a976d432ef3c58d534b9923164bb7" + integrity sha512-RA1GjUVMnvYFxuqovrEqZoxxW5NUZqbwKtYz/Tt7nXerk0LbLblQmrsgdeOxV5SFHf0UDggjS/bSeOZwt1pmEQ== path-to-regexp@0.1.7: version "0.1.7" @@ -10975,6 +11007,15 @@ react-dropzone@14.2.3, react-dropzone@^14.2.3: file-selector "^0.6.0" prop-types "^15.8.1" +react-dropzone@^14.3.5: + version "14.3.5" + resolved "https://registry.yarnpkg.com/react-dropzone/-/react-dropzone-14.3.5.tgz#1a8bd312c8a353ec78ef402842ccb3589c225add" + integrity sha512-9nDUaEEpqZLOz5v5SUcFA0CjM4vq8YbqO0WRls+EYT7+DvxUdzDPKNCPLqGfj3YL9MsniCLCD4RFA6M95V6KMQ== + dependencies: + attr-accept "^2.2.4" + file-selector "^2.1.0" + prop-types "^15.8.1" + react-fast-compare@^3.2.0: version "3.2.2" resolved "https://registry.npmjs.org/react-fast-compare/-/react-fast-compare-3.2.2.tgz#929a97a532304ce9fee4bcae44234f1ce2c21d49"