diff --git a/packages/react-docs/package.json b/packages/react-docs/package.json index 95cd0b0bead..0cb0223a73d 100644 --- a/packages/react-docs/package.json +++ b/packages/react-docs/package.json @@ -35,7 +35,7 @@ "@patternfly/react-tokens": "workspace:^" }, "devDependencies": { - "@patternfly/documentation-framework": "^6.0.0-alpha.64", + "@patternfly/documentation-framework": "^6.0.0-alpha.66", "@patternfly/patternfly-a11y": "4.3.1" }, "keywords": [ diff --git a/packages/react-docs/patternfly-docs/patternfly-docs.css.js b/packages/react-docs/patternfly-docs/patternfly-docs.css.js index 350e4f364eb..4da1866151b 100644 --- a/packages/react-docs/patternfly-docs/patternfly-docs.css.js +++ b/packages/react-docs/patternfly-docs/patternfly-docs.css.js @@ -3,11 +3,6 @@ import '@patternfly/react-styles/src/css/components/Table/inline-edit.css'; // i import '@patternfly/react-styles/src/css/layouts/Toolbar/toolbar.css'; import '@patternfly/react-styles/src/css/components/Popper/Popper.css'; -import '@patternfly/react-styles/src/css/components/Consoles/AccessConsoles.css'; -import '@patternfly/react-styles/src/css/components/Consoles/DesktopViewer.css'; -import '@patternfly/react-styles/src/css/components/Consoles/SerialConsole.css'; -import '@patternfly/react-styles/src/css/components/Consoles/VncConsole.css'; - // Global theme CSS import '@patternfly/documentation-framework/global.css'; diff --git a/packages/react-styles/src/css/components/Consoles/AccessConsoles.css b/packages/react-styles/src/css/components/Consoles/AccessConsoles.css deleted file mode 100644 index a3ce2e7b953..00000000000 --- a/packages/react-styles/src/css/components/Consoles/AccessConsoles.css +++ /dev/null @@ -1,14 +0,0 @@ -.pf-v6-c-console { - display: grid; - grid-template-areas: - 'actions-main actions-extra' - 'main main'; - row-gap: var(--pf-v6-global--spacer--md); -} -.pf-v6-c-console__actions { - grid-area: actions-main; - display: flex; -} -.pf-v6-c-console__actions > div { - margin-right: var(--pf-v6-global--spacer--sm); -} diff --git a/packages/react-styles/src/css/components/Consoles/DesktopViewer.css b/packages/react-styles/src/css/components/Consoles/DesktopViewer.css deleted file mode 100644 index e4a6ff97143..00000000000 --- a/packages/react-styles/src/css/components/Consoles/DesktopViewer.css +++ /dev/null @@ -1,6 +0,0 @@ -.pf-v6-c-console__desktop-viewer { - grid-area: main; - display: grid; - gap: var(--pf-v6-global--spacer--md); - grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr)); -} diff --git a/packages/react-styles/src/css/components/Consoles/SerialConsole.css b/packages/react-styles/src/css/components/Consoles/SerialConsole.css deleted file mode 100644 index 4b560224f97..00000000000 --- a/packages/react-styles/src/css/components/Consoles/SerialConsole.css +++ /dev/null @@ -1,11 +0,0 @@ -.pf-v6-c-console__serial { - grid-area: main; -} -.pf-v6-c-console__actions-serial { - grid-area: actions-extra; - display: flex; - justify-content: flex-end; -} -.pf-v6-c-console__actions-serial > button { - margin-right: var(--pf-v6-global--spacer--sm); -} diff --git a/packages/react-styles/src/css/components/Consoles/VncConsole.css b/packages/react-styles/src/css/components/Consoles/VncConsole.css deleted file mode 100644 index c641fe4c297..00000000000 --- a/packages/react-styles/src/css/components/Consoles/VncConsole.css +++ /dev/null @@ -1,10 +0,0 @@ -.pf-v6-c-console__vnc { - grid-area: main; -} -.pf-v6-c-console__actions-vnc { - grid-area: actions-extra; - display: flex; - flex-wrap: wrap; - justify-content: flex-end; - column-gap: var(--pf-v6-global--spacer--sm); -} diff --git a/packages/react-styles/src/css/components/Consoles/xterm.css b/packages/react-styles/src/css/components/Consoles/xterm.css deleted file mode 100644 index 7ddcc2d0e19..00000000000 --- a/packages/react-styles/src/css/components/Consoles/xterm.css +++ /dev/null @@ -1,171 +0,0 @@ -/** - * Copyright (c) 2014 The xterm.js authors. All rights reserved. - * Copyright (c) 2012-2013, Christopher Jeffrey (MIT License) - * https://github.com/chjj/term.js - * @license MIT - * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in - * all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN - * THE SOFTWARE. - * - * Originally forked from (with the author's permission): - * Fabrice Bellard's javascript vt100 for jslinux: - * http://bellard.org/jslinux/ - * Copyright (c) 2011 Fabrice Bellard - * The original design remains. The terminal itself - * has been extended to include xterm CSI codes, among - * other features. - */ - -/** - * Default styles for xterm.js - */ - -.xterm { - font-feature-settings: "liga" 0; - position: relative; - user-select: none; - -ms-user-select: none; - -webkit-user-select: none; -} - -.xterm.focus, -.xterm:focus { - outline: none; -} - -.xterm .xterm-helpers { - position: absolute; - top: 0; - /** - * The z-index of the helpers must be higher than the canvases in order for - * IMEs to appear on top. - */ - z-index: 5; -} - -.xterm .xterm-helper-textarea { - padding: 0; - border: 0; - margin: 0; - /* Move textarea out of the screen to the far left, so that the cursor is not visible */ - position: absolute; - opacity: 0; - left: -9999em; - top: 0; - width: 0; - height: 0; - z-index: -5; - /** Prevent wrapping so the IME appears against the textarea at the correct position */ - white-space: nowrap; - overflow: hidden; - resize: none; -} - -.xterm .composition-view { - /* TODO: Composition position got messed up somewhere */ - background: #000; - color: #FFF; - display: none; - position: absolute; - white-space: nowrap; - z-index: 1; -} - -.xterm .composition-view.active { - display: block; -} - -.xterm .xterm-viewport { - /* On OS X this is required in order for the scroll bar to appear fully opaque */ - background-color: #000; - overflow-y: scroll; - cursor: default; - position: absolute; - right: 0; - left: 0; - top: 0; - bottom: 0; -} - -.xterm .xterm-screen { - position: relative; -} - -.xterm .xterm-screen canvas { - position: absolute; - left: 0; - top: 0; -} - -.xterm .xterm-scroll-area { - visibility: hidden; -} - -.xterm-char-measure-element { - display: inline-block; - visibility: hidden; - position: absolute; - top: 0; - left: -9999em; - line-height: normal; -} - -.xterm { - cursor: text; -} - -.xterm.enable-mouse-events { - /* When mouse events are enabled (eg. tmux), revert to the standard pointer cursor */ - cursor: default; -} - -.xterm.xterm-cursor-pointer { - cursor: pointer; -} - -.xterm.column-select.focus { - /* Column selection mode */ - cursor: crosshair; -} - -.xterm .xterm-accessibility, -.xterm .xterm-message { - position: absolute; - left: 0; - top: 0; - bottom: 0; - right: 0; - z-index: 10; - color: transparent; -} - -.xterm .live-region { - position: absolute; - left: -9999px; - width: 1px; - height: 1px; - overflow: hidden; -} - -.xterm-dim { - opacity: 0.5; -} - -.xterm-underline { - text-decoration: underline; -} diff --git a/yarn.lock b/yarn.lock index 7c48d617ed8..fc9d3968c46 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3021,7 +3021,7 @@ __metadata: languageName: node linkType: hard -"@patternfly/ast-helpers@npm:^1.4.0-alpha.53": +"@patternfly/ast-helpers@npm:^1.4.0-alpha.56": version: 1.18.0 resolution: "@patternfly/ast-helpers@npm:1.18.0" dependencies: @@ -3034,15 +3034,15 @@ __metadata: languageName: node linkType: hard -"@patternfly/documentation-framework@npm:^6.0.0-alpha.64": - version: 6.0.0-alpha.64 - resolution: "@patternfly/documentation-framework@npm:6.0.0-alpha.64" +"@patternfly/documentation-framework@npm:^6.0.0-alpha.66": + version: 6.0.0-alpha.67 + resolution: "@patternfly/documentation-framework@npm:6.0.0-alpha.67" dependencies: "@babel/core": "npm:^7.24.3" "@babel/preset-env": "npm:^7.24.3" "@babel/preset-react": "npm:^7.24.1" "@mdx-js/util": "npm:1.6.16" - "@patternfly/ast-helpers": "npm:^1.4.0-alpha.53" + "@patternfly/ast-helpers": "npm:^1.4.0-alpha.56" "@reach/router": "npm:@gatsbyjs/reach-router@1.3.9" autoprefixer: "npm:9.8.6" babel-loader: "npm:^9.1.3" @@ -3109,7 +3109,7 @@ __metadata: react-dom: ^17.0.0 || ^18.0.0 bin: pf-docs-framework: scripts/cli/cli.js - checksum: 10c0/ffa316cbee0cf82942e2e8875b9df30c8045387921b693d9c157ea5c707c3959db6b3a653eb4d5e3f6a99f585f1e2a5920bac07e1b997015408d9c1562527c63 + checksum: 10c0/eab465970640b9bc09a0dc849d69e8a24e84a0b0f0b76c47983713c39d3d5d287fc8f17ad7580c093474e9e6720adedbc15aa460448be69f74303ded240cd6e9 languageName: node linkType: hard @@ -3213,7 +3213,7 @@ __metadata: version: 0.0.0-use.local resolution: "@patternfly/react-docs@workspace:packages/react-docs" dependencies: - "@patternfly/documentation-framework": "npm:^6.0.0-alpha.64" + "@patternfly/documentation-framework": "npm:^6.0.0-alpha.66" "@patternfly/patternfly": "npm:6.0.0-alpha.201" "@patternfly/patternfly-a11y": "npm:4.3.1" "@patternfly/react-charts": "workspace:^"