Skip to content

Commit ee7ad17

Browse files
committed
update to official alpha2
1 parent 76c22ee commit ee7ad17

File tree

3 files changed

+69
-64
lines changed

3 files changed

+69
-64
lines changed

packages/module/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@
3535
},
3636
"dependencies": {
3737
"@novnc/novnc": "^1.3.0",
38-
"@patternfly/react-core": "6.0.0-alpha.60",
39-
"@patternfly/react-styles": "6.0.0-alpha.22",
38+
"@patternfly/react-core": "6.0.0-alpha.61",
39+
"@patternfly/react-styles": "6.0.0-alpha.23",
4040
"@spice-project/spice-html5": "^0.2.1",
4141
"file-saver": "^1.3.8",
4242
"xterm": "^4.8.1",
@@ -47,11 +47,11 @@
4747
"react-dom": "^17 || ^18"
4848
},
4949
"devDependencies": {
50-
"@patternfly/documentation-framework": "6.0.0-alpha.36",
50+
"@patternfly/documentation-framework": "6.0.0-alpha.41",
5151
"@patternfly/patternfly": "6.0.0-alpha.139",
5252
"@patternfly/patternfly-a11y": "^4.3.1",
53-
"@patternfly/react-code-editor": "6.0.0-alpha.60",
54-
"@patternfly/react-table": "6.0.0-alpha.60",
53+
"@patternfly/react-code-editor": "6.0.0-alpha.61",
54+
"@patternfly/react-table": "6.0.0-alpha.61",
5555
"rimraf": "^2.6.2",
5656
"serve": "^14.1.2",
5757
"monaco-editor": "^0.34.1"

packages/module/patternfly-docs/generated/extensions/react-console/react.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ pageData.liveContext = {
366366
pageData.relativeImports = "import { SerialConsoleCustom } from 'content/extensions/react-console/examples/./SerialConsoleCustom.jsx';"
367367
pageData.examples = {
368368
'Basic Usage': props =>
369-
<Example {...pageData} {...props} thumbnail={srcImportbasicusage} {...{"code":"import React from 'react';\nimport { AccessConsoles, SerialConsole, VncConsole, DesktopViewer } from '@patternfly/react-console';\nimport { SerialConsoleCustom } from './SerialConsoleCustom.jsx';\nimport { debounce } from '@patternfly/react-core';\n\nAccessConsolesVariants = () => {\n const [status, setStatus] = React.useState('disconnected');\n const setConnected = React.useRef(debounce(() => setStatus('connected'), 3000)).current;\n const onConnect = React.useCallback(() => {\n setStatus('loading');\n setConnected();\n }, [setConnected])\n const onDisconnect = React.useCallback(() => setStatus('disconnected'), [])\n const ref = React.createRef();\n\n return (\n <AccessConsoles preselectedType=\"SerialConsole\">\n <VncConsole host=\"localhost\" port=\"9090\" encrypt shared />\n <SerialConsole\n onConnect={onConnect}\n status={status}\n onDisconnect={onDisconnect}\n onData={data => {\n ref.current.onDataReceived(data);\n }}\n ref={ref}\n />\n <SerialConsoleCustom type='Serial Console pty2' />\n <DesktopViewer spice={{ address: '127.0.0.1', port: '5900' }} vnc={{ address: '127.0.0.1', port: '5901' }} />\n </AccessConsoles>\n );\n};","title":"Basic Usage","lang":"js","isFullscreen":true}}>
369+
<Example {...pageData} {...props} thumbnail={srcImportbasicusage} {...{"code":"import React from 'react';\nimport { AccessConsoles, SerialConsole, VncConsole, DesktopViewer } from '@patternfly/react-console';\nimport { SerialConsoleCustom } from './SerialConsoleCustom.jsx';\nimport { debounce } from '@patternfly/react-core';\n\nAccessConsolesVariants = () => {\n const [status, setStatus] = React.useState('disconnected');\n const setConnected = React.useRef(debounce(() => setStatus('connected'), 3000)).current;\n const onConnect = React.useCallback(() => {\n setStatus('loading');\n setConnected();\n }, [setConnected])\n const onDisconnect = React.useCallback(() => setStatus('disconnected'), [])\n const ref = React.createRef();\n\n return (\n <AccessConsoles preselectedType=\"SerialConsole\">\n <VncConsole host=\"localhost\" port=\"9090\" encrypt shared />\n <SerialConsole\n onConnect={onConnect}\n status={status}\n onDisconnect={onDisconnect}\n onData={data => {\n ref.current.onDataReceived(data);\n }}\n ref={ref}\n />\n <SerialConsoleCustom type='Serial Console pty2' />\n <DesktopViewer spice={{ address: '127.0.0.1', port: '5900' }} vnc={{ address: '127.0.0.1', port: '5901' }} />\n </AccessConsoles>\n );\n};","title":"Basic Usage","lang":"js","isFullscreen":true,"className":""}}>
370370

371371
</Example>
372372
};
@@ -376,9 +376,9 @@ const Component = () => (
376376
<AutoLinkHeader {...{"id":"note","size":"h3","className":"ws-title ws-h3"}}>
377377
{`Note`}
378378
</AutoLinkHeader>
379-
<p {...{"className":"undefinedpf-v6-c-content--p ws-p "}}>
379+
<p {...{"className":"pf-v6-c-content--p ws-p "}}>
380380
{`React console lives in its own package at `}
381-
<PatternflyThemeLink {...{"to":"https://www.npmjs.com/package/@patternfly/react-console"}}>
381+
<PatternflyThemeLink {...{"to":"https://www.npmjs.com/package/@patternfly/react-console","className":""}}>
382382
<code {...{"className":"ws-code "}}>
383383
{`@patternfly/react-console`}
384384
</code>

yarn.lock

Lines changed: 61 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -2370,27 +2370,27 @@
23702370
resolved "https://registry.npmjs.org/@novnc/novnc/-/novnc-1.3.0.tgz"
23712371
integrity sha512-tR87mY5ADtaELadmZfW937JO/p8fRdz3wkPoqwhqB/vY1XnTQeLSWwkp4yMlr4iIDY0iCficfzFYX5EHMh4MHw==
23722372

2373-
"@patternfly/ast-helpers@^1.4.0-alpha.25":
2374-
version "1.4.0-alpha.25"
2375-
resolved "https://registry.yarnpkg.com/@patternfly/ast-helpers/-/ast-helpers-1.4.0-alpha.25.tgz#acb9aae2d3d309abafddbf2819f8c53d8e6ee8cd"
2376-
integrity sha512-fKgzMDAMQxUNCaU7u7wlnkmd9dxslnR7jZ0OMiv0U5XVGCGSm5Xhjohgfb/lWdogsiDBVNJ9D0mCYbWA61i6lA==
2373+
"@patternfly/ast-helpers@^1.4.0-alpha.30":
2374+
version "1.4.0-alpha.31"
2375+
resolved "https://registry.yarnpkg.com/@patternfly/ast-helpers/-/ast-helpers-1.4.0-alpha.31.tgz#d3fa479a4a4579f49848a9db7826d65ef53dc2aa"
2376+
integrity sha512-/UsMH+OTnAP4g6Tmytj6fQ4Zgp88kMQ5Q9KZdVMiXoObN3lJiBcIrg6RrwFEej5OHx+7HA+HF/lRVm8yIMuk0g==
23772377
dependencies:
23782378
acorn "^8.4.1"
23792379
acorn-class-fields "^1.0.0"
23802380
acorn-jsx "^5.3.2"
23812381
acorn-static-class-features "^1.0.0"
23822382
astring "^1.7.5"
23832383

2384-
"@patternfly/[email protected].36":
2385-
version "6.0.0-alpha.36"
2386-
resolved "https://registry.yarnpkg.com/@patternfly/documentation-framework/-/documentation-framework-6.0.0-alpha.36.tgz#4de79f2e908bebec2a224c4d2eea0f82f98bdb0d"
2387-
integrity sha512-MYIU3yhDmZ8NyGuhg3subyuH8CcIe6hqXx/FSM+JNXJQPTy5kPEqwao6aWHwo0DQZdYXFUJ3Tw7kPH3qr12lYw==
2384+
"@patternfly/[email protected].41":
2385+
version "6.0.0-alpha.41"
2386+
resolved "https://registry.yarnpkg.com/@patternfly/documentation-framework/-/documentation-framework-6.0.0-alpha.41.tgz#2446f0ee183aa4f686bfb58bc6e62d25c2984f08"
2387+
integrity sha512-Tq/kno2Alr6ChipPh2SJJcTxnpYnluzTxw5b+grniqS/pufA3eQKWk/76ovovg/5+o1CmD+UNz7c99ZooUCwtg==
23882388
dependencies:
23892389
"@babel/core" "^7.24.3"
23902390
"@babel/preset-env" "^7.24.3"
23912391
"@babel/preset-react" "^7.24.1"
23922392
"@mdx-js/util" "1.6.16"
2393-
"@patternfly/ast-helpers" "^1.4.0-alpha.25"
2393+
"@patternfly/ast-helpers" "^1.4.0-alpha.30"
23942394
"@reach/router" "npm:@gatsbyjs/[email protected]"
23952395
autoprefixer "9.8.6"
23962396
babel-loader "^9.1.3"
@@ -2468,56 +2468,56 @@
24682468
resolved "https://registry.yarnpkg.com/@patternfly/patternfly/-/patternfly-6.0.0-alpha.139.tgz#417d6d3cf5e923a9cff28c99ecd8a3489fa935ff"
24692469
integrity sha512-RfM0pvIhWwaSzobKh/mjkTqYMnAdeOqC1wH9zg9zTab9GyUQdeGkRkd9gpDEQhuuN/bhNpO03W6jpaqauxfpmA==
24702470

2471-
"@patternfly/[email protected].60":
2472-
version "6.0.0-alpha.60"
2473-
resolved "https://registry.yarnpkg.com/@patternfly/react-code-editor/-/react-code-editor-6.0.0-alpha.60.tgz#c12648a5e91acb574669f964009454251774260c"
2474-
integrity sha512-ID0+rm/4HdIExOcexx7nXoEVWVeO+Wud1Qhz5z+uB7YOMu6ANxa8KPLn1sf/7yxL+KSV0Nyn278Iayj3QXbYDQ==
2471+
"@patternfly/[email protected].61":
2472+
version "6.0.0-alpha.61"
2473+
resolved "https://registry.yarnpkg.com/@patternfly/react-code-editor/-/react-code-editor-6.0.0-alpha.61.tgz#b092198346516c4149aa7a9df7d65fed6d2f7bc8"
2474+
integrity sha512-dfML9T6SYNzPrLNlSqlAc3pTW1+GqYagJowLo5U+6Qea0OuLJ91+SiAiIuX1R2VTwSjEvPkgzhUonMgKkuNm+A==
24752475
dependencies:
24762476
"@monaco-editor/react" "^4.6.0"
2477-
"@patternfly/react-core" "^6.0.0-alpha.60"
2478-
"@patternfly/react-icons" "^6.0.0-alpha.22"
2479-
"@patternfly/react-styles" "^6.0.0-alpha.22"
2477+
"@patternfly/react-core" "^6.0.0-alpha.61"
2478+
"@patternfly/react-icons" "^6.0.0-alpha.23"
2479+
"@patternfly/react-styles" "^6.0.0-alpha.23"
24802480
react-dropzone "14.2.3"
2481-
tslib "^2.5.0"
2481+
tslib "^2.6.2"
24822482

2483-
"@patternfly/[email protected].60", "@patternfly/react-core@^6.0.0-alpha.60":
2484-
version "6.0.0-alpha.60"
2485-
resolved "https://registry.yarnpkg.com/@patternfly/react-core/-/react-core-6.0.0-alpha.60.tgz#9fdcd1371670edab6664fe0192ed877833a299a0"
2486-
integrity sha512-HPmCjURsJuHdtNsinv+77oMKJkntliepAIBq3RL0wDuyNRqLBnuA1qRx6Cz7S4FoD5IJdBzfA8+UQxF+HGljpQ==
2483+
"@patternfly/[email protected].61", "@patternfly/react-core@^6.0.0-alpha.61":
2484+
version "6.0.0-alpha.61"
2485+
resolved "https://registry.yarnpkg.com/@patternfly/react-core/-/react-core-6.0.0-alpha.61.tgz#b31305d477294a0a82960a51224336aaee34470f"
2486+
integrity sha512-rQ1xPXRpSYktFYEQ7pywWf/GconQhA+RNYd+aVAMIR6JnSDG/9Ws5yFKIHAlHROXtjLJIHgz8TmFSBM1aW0AkQ==
24872487
dependencies:
2488-
"@patternfly/react-icons" "^6.0.0-alpha.22"
2489-
"@patternfly/react-styles" "^6.0.0-alpha.22"
2490-
"@patternfly/react-tokens" "^6.0.0-alpha.22"
2491-
focus-trap "7.5.2"
2488+
"@patternfly/react-icons" "^6.0.0-alpha.23"
2489+
"@patternfly/react-styles" "^6.0.0-alpha.23"
2490+
"@patternfly/react-tokens" "^6.0.0-alpha.23"
2491+
focus-trap "7.5.4"
24922492
react-dropzone "^14.2.3"
2493-
tslib "^2.5.0"
2494-
2495-
"@patternfly/react-icons@^6.0.0-alpha.22":
2496-
version "6.0.0-alpha.22"
2497-
resolved "https://registry.yarnpkg.com/@patternfly/react-icons/-/react-icons-6.0.0-alpha.22.tgz#4a2985c543d85ff509f2ff8993db12453bacb3ad"
2498-
integrity sha512-2C6PJ65Z4SeUVF3v/+S6l1WbnqxE7Mvv1kcgOaDddT1C8q7yr8nx7KyE8VSG27+oe9YdGT2kfDFX5bZlkhBg5w==
2499-
2500-
"@patternfly/[email protected].22", "@patternfly/react-styles@^6.0.0-alpha.22":
2501-
version "6.0.0-alpha.22"
2502-
resolved "https://registry.yarnpkg.com/@patternfly/react-styles/-/react-styles-6.0.0-alpha.22.tgz#de8e476e9bb6ec57e3525ca709d28e26ccb29caf"
2503-
integrity sha512-05dgGh5/xfQAwN9P21igR8/5gq1rDK1st4EBlQXwc6hyYp/2Fs7z6IdPxFN9SEYOzmpkZk2fQavWdHtp1XKk6Q==
2504-
2505-
"@patternfly/[email protected].60":
2506-
version "6.0.0-alpha.60"
2507-
resolved "https://registry.yarnpkg.com/@patternfly/react-table/-/react-table-6.0.0-alpha.60.tgz#f1670dea21d1f6b75cc9522cc7f1158de20e3e4c"
2508-
integrity sha512-t3QeCDtmvQ22BHsguff/pURc1TU6SPcrjIPiEzM/UyBqv4o8axH8OI8df/IWjzV7pcZw7pJftWkU0kwNKh8vew==
2509-
dependencies:
2510-
"@patternfly/react-core" "^6.0.0-alpha.60"
2511-
"@patternfly/react-icons" "^6.0.0-alpha.22"
2512-
"@patternfly/react-styles" "^6.0.0-alpha.22"
2513-
"@patternfly/react-tokens" "^6.0.0-alpha.22"
2493+
tslib "^2.6.2"
2494+
2495+
"@patternfly/react-icons@^6.0.0-alpha.23":
2496+
version "6.0.0-alpha.23"
2497+
resolved "https://registry.yarnpkg.com/@patternfly/react-icons/-/react-icons-6.0.0-alpha.23.tgz#3903733fb82113b41bff0669232b90e1277ed35a"
2498+
integrity sha512-OfKHrS2ZSmu9fMEBKQ2t6ZeJ/uw1y7pobxATWn08NHJvscAceiN5a76VET2+kLrHYXCpK/EYjgpTlXNmm0hZKw==
2499+
2500+
"@patternfly/[email protected].23", "@patternfly/react-styles@^6.0.0-alpha.23":
2501+
version "6.0.0-alpha.23"
2502+
resolved "https://registry.yarnpkg.com/@patternfly/react-styles/-/react-styles-6.0.0-alpha.23.tgz#b4bf2fefe5a2039a466c78888475c9c533ae8f70"
2503+
integrity sha512-N8HuDF68rFRJkWVoCDSUauiOrnjcLHUFrGJGaxnjynzee+GbpHf22NS9E9xmc25CDDzICMrU/SvthocxzQowKA==
2504+
2505+
"@patternfly/[email protected].61":
2506+
version "6.0.0-alpha.61"
2507+
resolved "https://registry.yarnpkg.com/@patternfly/react-table/-/react-table-6.0.0-alpha.61.tgz#4a6cfa66458236baf048b53609ac42b544934a2e"
2508+
integrity sha512-bA5rBKzuip4DPd3u9oJIlR0IrCCn+aeHwk7k1fWpFd/IbFRMkrHZQIXOOD48IARxUDjvP26BWqMbxFxLdN7Fww==
2509+
dependencies:
2510+
"@patternfly/react-core" "^6.0.0-alpha.61"
2511+
"@patternfly/react-icons" "^6.0.0-alpha.23"
2512+
"@patternfly/react-styles" "^6.0.0-alpha.23"
2513+
"@patternfly/react-tokens" "^6.0.0-alpha.23"
25142514
lodash "^4.17.19"
2515-
tslib "^2.5.0"
2515+
tslib "^2.6.2"
25162516

2517-
"@patternfly/react-tokens@^6.0.0-alpha.22":
2518-
version "6.0.0-alpha.22"
2519-
resolved "https://registry.yarnpkg.com/@patternfly/react-tokens/-/react-tokens-6.0.0-alpha.22.tgz#43f784842411a46c8cf7ff690542ea020189e773"
2520-
integrity sha512-Ld9Eqi+vnj23PPf5jlRKziPvE8ciOeXrZY4Bpit49cWBOD3o1PAP2Xy1uxOyXg5Tgfx55g8MVW+QYRIiN5kiKQ==
2517+
"@patternfly/react-tokens@^6.0.0-alpha.23":
2518+
version "6.0.0-alpha.23"
2519+
resolved "https://registry.yarnpkg.com/@patternfly/react-tokens/-/react-tokens-6.0.0-alpha.23.tgz#ee3f5da222bf52b75d9c3f578be5885eff745ef6"
2520+
integrity sha512-YaHFiY1vxDI8rpBHY5qt6FbZV2onnvWwbxQseCN2UxDeLx2pb54ZN/sutUnie6FUm3cyKFaTwYS2zDGHZYmeMg==
25212521

25222522
"@polka/url@^1.0.0-next.20":
25232523
version "1.0.0-next.21"
@@ -6021,10 +6021,10 @@ flush-write-stream@^1.0.0:
60216021
inherits "^2.0.3"
60226022
readable-stream "^2.3.6"
60236023

6024-
6025-
version "7.5.2"
6026-
resolved "https://registry.npmjs.org/focus-trap/-/focus-trap-7.5.2.tgz#e5ee678d10a18651f2591ffb66c949fb098d57cf"
6027-
integrity sha512-p6vGNNWLDGwJCiEjkSK6oERj/hEyI9ITsSwIUICBoKLlWiTWXJRfQibCwcoi50rTZdbi87qDtUlMCmQwsGSgPw==
6024+
6025+
version "7.5.4"
6026+
resolved "https://registry.yarnpkg.com/focus-trap/-/focus-trap-7.5.4.tgz#6c4e342fe1dae6add9c2aa332a6e7a0bbd495ba2"
6027+
integrity sha512-N7kHdlgsO/v+iD/dMoJKtsSqs5Dz/dXZVebRgJw23LDk+jMi/974zyiOYDziY2JPp8xivq9BmUGwIJMiuSBi7w==
60286028
dependencies:
60296029
tabbable "^6.2.0"
60306030

@@ -10990,11 +10990,16 @@ tslib@^1.8.1, tslib@^1.9.0:
1099010990
resolved "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz"
1099110991
integrity sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==
1099210992

10993-
tslib@^2.0.0, tslib@^2.0.1, tslib@^2.0.3, tslib@^2.4.0, tslib@^2.5.0:
10993+
tslib@^2.0.0, tslib@^2.0.1, tslib@^2.0.3, tslib@^2.4.0:
1099410994
version "2.5.0"
1099510995
resolved "https://registry.npmjs.org/tslib/-/tslib-2.5.0.tgz"
1099610996
integrity sha512-336iVw3rtn2BUK7ORdIAHTyxHGRIHVReokCR3XjbckJMK7ms8FysBfhLR8IXnAgy7T0PTPNBWKiH514FOW/WSg==
1099710997

10998+
tslib@^2.6.2:
10999+
version "2.6.2"
11000+
resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.6.2.tgz#703ac29425e7b37cd6fd456e92404d46d1f3e4ae"
11001+
integrity sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==
11002+
1099811003
tsutils@^3.21.0:
1099911004
version "3.21.0"
1100011005
resolved "https://registry.npmjs.org/tsutils/-/tsutils-3.21.0.tgz"

0 commit comments

Comments
 (0)