@player-ui/storybook 0.4.3-next.0 → 0.4.3-next.1

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/index.cjs.js CHANGED
@@ -291,7 +291,9 @@ const PlayerFlowSummary = (props) => {
291
291
  as: "strong"
292
292
  }, (_b = props.completedState) == null ? void 0 : _b.endState.outcome)), props.error && /* @__PURE__ */ React__default["default"].createElement(react.Code, {
293
293
  colorScheme: "red"
294
- }, /* @__PURE__ */ React__default["default"].createElement("pre", null, (_c = props.error) == null ? void 0 : _c.message)), /* @__PURE__ */ React__default["default"].createElement(react.Button, {
294
+ }, /* @__PURE__ */ React__default["default"].createElement("pre", {
295
+ "data-automation-id": "Error-Content"
296
+ }, (_c = props.error) == null ? void 0 : _c.message)), /* @__PURE__ */ React__default["default"].createElement(react.Button, {
295
297
  variant: "solid",
296
298
  onClick: props.reset
297
299
  }, "Reset"));
package/dist/index.esm.js CHANGED
@@ -261,7 +261,9 @@ const PlayerFlowSummary = (props) => {
261
261
  as: "strong"
262
262
  }, (_b = props.completedState) == null ? void 0 : _b.endState.outcome)), props.error && /* @__PURE__ */ React__default.createElement(Code, {
263
263
  colorScheme: "red"
264
- }, /* @__PURE__ */ React__default.createElement("pre", null, (_c = props.error) == null ? void 0 : _c.message)), /* @__PURE__ */ React__default.createElement(Button, {
264
+ }, /* @__PURE__ */ React__default.createElement("pre", {
265
+ "data-automation-id": "Error-Content"
266
+ }, (_c = props.error) == null ? void 0 : _c.message)), /* @__PURE__ */ React__default.createElement(Button, {
265
267
  variant: "solid",
266
268
  onClick: props.reset
267
269
  }, "Reset"));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@player-ui/storybook",
3
- "version": "0.4.3-next.0",
3
+ "version": "0.4.3-next.1",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org"
@@ -11,8 +11,8 @@
11
11
  "@storybook/addon-docs": "^6.4.15",
12
12
  "react": "^17.0.2",
13
13
  "@types/react": "^17.0.25",
14
- "@player-ui/react": "0.4.3-next.0",
15
- "@player-ui/make-flow": "0.4.3-next.0"
14
+ "@player-ui/react": "0.4.3-next.1",
15
+ "@player-ui/make-flow": "0.4.3-next.1"
16
16
  },
17
17
  "dependencies": {
18
18
  "@monaco-editor/react": "4.3.1",
@@ -36,8 +36,8 @@
36
36
  "deep-equal": "1.1.1",
37
37
  "@types/deep-equal": "1.0.1",
38
38
  "@player-tools/dsl": "0.4.0-next.3",
39
- "@player-ui/metrics-plugin-react": "0.4.3-next.0",
40
- "@player-ui/beacon-plugin-react": "0.4.3-next.0",
39
+ "@player-ui/metrics-plugin-react": "0.4.3-next.1",
40
+ "@player-ui/beacon-plugin-react": "0.4.3-next.1",
41
41
  "@babel/runtime": "7.15.4"
42
42
  },
43
43
  "main": "dist/index.cjs.js",
@@ -64,7 +64,7 @@ export const PlayerFlowSummary = (props: PlayerFlowSummaryProps) => {
64
64
 
65
65
  {props.error && (
66
66
  <Code colorScheme="red">
67
- <pre>{props.error?.message}</pre>
67
+ <pre data-automation-id="Error-Content">{props.error?.message}</pre>
68
68
  </Code>
69
69
  )}
70
70