@patternfly/chatbot 6.9.0-prerelease.7 → 6.9.0-prerelease.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/ChatbotModal/ChatbotModal.js +1 -1
- package/dist/esm/ChatbotModal/ChatbotModal.js +1 -1
- package/package.json +8 -8
- package/patternfly-docs/content/extensions/chatbot/examples/demos/CanvasWithDockedNav.tsx +0 -1
- package/src/ChatbotModal/ChatbotModal.tsx +1 -0
- package/src/FileDetails/__snapshots__/FileDetails.test.tsx.snap +2 -6
- package/src/FileDetailsLabel/__snapshots__/FileDetailsLabel.test.tsx.snap +2 -6
|
@@ -18,7 +18,7 @@ const react_core_1 = require("@patternfly/react-core");
|
|
|
18
18
|
const Chatbot_1 = require("../Chatbot");
|
|
19
19
|
const ChatbotModal = (_a) => {
|
|
20
20
|
var { children, displayMode = Chatbot_1.ChatbotDisplayMode.default, className, isOpen, isCompact } = _a, props = __rest(_a, ["children", "displayMode", "className", "isOpen", "isCompact"]);
|
|
21
|
-
const modal = ((0, jsx_runtime_1.jsx)(react_core_1.Modal, Object.assign({ isOpen: isOpen, ouiaId: "ChatbotModal", "aria-labelledby": "chatbot-modal-title", "aria-describedby": "chatbot-modal", className: `pf-chatbot__chatbot-modal pf-chatbot__chatbot-modal--${displayMode} ${isCompact ? 'pf-m-compact' : ''} ${className}`, backdropClassName: "pf-chatbot__chatbot-modal-backdrop" }, props, { children: children })));
|
|
21
|
+
const modal = ((0, jsx_runtime_1.jsx)(react_core_1.Modal, Object.assign({ isOpen: isOpen, ouiaId: "ChatbotModal", "aria-labelledby": "chatbot-modal-title", "aria-describedby": "chatbot-modal", className: `pf-chatbot__chatbot-modal pf-chatbot__chatbot-modal--${displayMode} ${isCompact ? 'pf-m-compact' : ''} ${className}`, backdropClassName: "pf-chatbot__chatbot-modal-backdrop", hasAnimations: false }, props, { children: children })));
|
|
22
22
|
if ((displayMode === Chatbot_1.ChatbotDisplayMode.fullscreen || displayMode === Chatbot_1.ChatbotDisplayMode.embedded) && isOpen) {
|
|
23
23
|
return (0, jsx_runtime_1.jsx)("div", { className: "pf-v6-c-backdrop pf-chatbot__backdrop", children: modal });
|
|
24
24
|
}
|
|
@@ -15,7 +15,7 @@ import { Modal } from '@patternfly/react-core';
|
|
|
15
15
|
import { ChatbotDisplayMode } from '../Chatbot';
|
|
16
16
|
export const ChatbotModal = (_a) => {
|
|
17
17
|
var { children, displayMode = ChatbotDisplayMode.default, className, isOpen, isCompact } = _a, props = __rest(_a, ["children", "displayMode", "className", "isOpen", "isCompact"]);
|
|
18
|
-
const modal = (_jsx(Modal, Object.assign({ isOpen: isOpen, ouiaId: "ChatbotModal", "aria-labelledby": "chatbot-modal-title", "aria-describedby": "chatbot-modal", className: `pf-chatbot__chatbot-modal pf-chatbot__chatbot-modal--${displayMode} ${isCompact ? 'pf-m-compact' : ''} ${className}`, backdropClassName: "pf-chatbot__chatbot-modal-backdrop" }, props, { children: children })));
|
|
18
|
+
const modal = (_jsx(Modal, Object.assign({ isOpen: isOpen, ouiaId: "ChatbotModal", "aria-labelledby": "chatbot-modal-title", "aria-describedby": "chatbot-modal", className: `pf-chatbot__chatbot-modal pf-chatbot__chatbot-modal--${displayMode} ${isCompact ? 'pf-m-compact' : ''} ${className}`, backdropClassName: "pf-chatbot__chatbot-modal-backdrop", hasAnimations: false }, props, { children: children })));
|
|
19
19
|
if ((displayMode === ChatbotDisplayMode.fullscreen || displayMode === ChatbotDisplayMode.embedded) && isOpen) {
|
|
20
20
|
return _jsx("div", { className: "pf-v6-c-backdrop pf-chatbot__backdrop", children: modal });
|
|
21
21
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@patternfly/chatbot",
|
|
3
|
-
"version": "6.9.0-prerelease.
|
|
3
|
+
"version": "6.9.0-prerelease.8",
|
|
4
4
|
"description": "This library provides React components based on PatternFly 6 that can be used to build chatbots.",
|
|
5
5
|
"main": "dist/cjs/index.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -33,11 +33,11 @@
|
|
|
33
33
|
"tag": "prerelease"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@patternfly/react-code-editor": "^6.
|
|
37
|
-
"@patternfly/react-core": "^6.
|
|
38
|
-
"@patternfly/react-icons": "6.
|
|
39
|
-
"@patternfly/react-styles": "^6.
|
|
40
|
-
"@patternfly/react-table": "^6.
|
|
36
|
+
"@patternfly/react-code-editor": "^6.7.0-prerelease.6",
|
|
37
|
+
"@patternfly/react-core": "^6.7.0-prerelease.6",
|
|
38
|
+
"@patternfly/react-icons": "^6.7.0-prerelease.3",
|
|
39
|
+
"@patternfly/react-styles": "^6.7.0-prerelease.3",
|
|
40
|
+
"@patternfly/react-table": "^6.7.0-prerelease.7",
|
|
41
41
|
"@segment/analytics-next": "^1.76.0",
|
|
42
42
|
"clsx": "^2.1.0",
|
|
43
43
|
"path-browserify": "^1.0.1",
|
|
@@ -66,8 +66,8 @@
|
|
|
66
66
|
},
|
|
67
67
|
"devDependencies": {
|
|
68
68
|
"@octokit/rest": "^18.0.0",
|
|
69
|
-
"@patternfly/documentation-framework": "^6.
|
|
70
|
-
"@patternfly/patternfly": "^6.
|
|
69
|
+
"@patternfly/documentation-framework": "^6.53.0",
|
|
70
|
+
"@patternfly/patternfly": "^6.7.0-prerelease.3",
|
|
71
71
|
"@patternfly/patternfly-a11y": "^5.2.1",
|
|
72
72
|
"@types/dom-speech-recognition": "^0.0.4",
|
|
73
73
|
"@types/react": "^18.2.61",
|
|
@@ -32,6 +32,7 @@ export const ChatbotModal: FunctionComponent<ChatbotModalProps> = ({
|
|
|
32
32
|
aria-describedby="chatbot-modal"
|
|
33
33
|
className={`pf-chatbot__chatbot-modal pf-chatbot__chatbot-modal--${displayMode} ${isCompact ? 'pf-m-compact' : ''} ${className}`}
|
|
34
34
|
backdropClassName="pf-chatbot__chatbot-modal-backdrop"
|
|
35
|
+
hasAnimations={false}
|
|
35
36
|
{...props}
|
|
36
37
|
>
|
|
37
38
|
{children}
|
|
@@ -43,15 +43,11 @@ exports[`FileDetails should render file details 1`] = `
|
|
|
43
43
|
<div
|
|
44
44
|
class="pf-v6-l-flex pf-m-gap-xs"
|
|
45
45
|
>
|
|
46
|
-
<div
|
|
47
|
-
class=""
|
|
48
|
-
>
|
|
46
|
+
<div>
|
|
49
47
|
<div
|
|
50
48
|
class="pf-v6-l-flex pf-m-column pf-m-gap-none"
|
|
51
49
|
>
|
|
52
|
-
<div
|
|
53
|
-
class=""
|
|
54
|
-
>
|
|
50
|
+
<div>
|
|
55
51
|
<span
|
|
56
52
|
class="pf-chatbot__code-fileName"
|
|
57
53
|
>
|
|
@@ -55,15 +55,11 @@ exports[`FileDetailsLabel should render file details label 1`] = `
|
|
|
55
55
|
<div
|
|
56
56
|
class="pf-v6-l-flex pf-m-gap-xs"
|
|
57
57
|
>
|
|
58
|
-
<div
|
|
59
|
-
class=""
|
|
60
|
-
>
|
|
58
|
+
<div>
|
|
61
59
|
<div
|
|
62
60
|
class="pf-v6-l-flex pf-m-column pf-m-gap-none"
|
|
63
61
|
>
|
|
64
|
-
<div
|
|
65
|
-
class=""
|
|
66
|
-
>
|
|
62
|
+
<div>
|
|
67
63
|
<span
|
|
68
64
|
class="pf-chatbot__code-fileName"
|
|
69
65
|
>
|