@webiny/app-website-builder-workflows 0.0.0-unstable.e2758ee1cf → 0.0.0-unstable.f6dc066313

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.
@@ -11,12 +11,12 @@ export const PageFormWorkflowState = () => {
11
11
  state,
12
12
  stateBar
13
13
  }) => {
14
- return state ? /*#__PURE__*/React.createElement("div", {
14
+ return /*#__PURE__*/React.createElement("div", {
15
15
  className: "max-w-screen bg-white p-sm"
16
- }, stateBar, /*#__PURE__*/React.createElement(Alert, {
16
+ }, stateBar, state ? /*#__PURE__*/React.createElement(Alert, {
17
17
  className: "mb-md mt-md",
18
18
  type: "danger"
19
- }, "Any changes you do on the page will not be stored!")) : null;
19
+ }, "Any changes you do on the page will not be stored!") : null);
20
20
  });
21
21
  };
22
22
 
@@ -1 +1 @@
1
- {"version":3,"names":["React","Components","Alert","ContentReview","WorkflowStateBar","PageFormWorkflowState","createElement","state","stateBar","className","type"],"sources":["PageFormWorkflowState.tsx"],"sourcesContent":["import React from \"react\";\nimport { Components } from \"@webiny/app-workflows\";\nimport { Alert } from \"@webiny/admin-ui\";\n\nconst {\n ContentReview: { WorkflowStateBar }\n} = Components;\n\nexport const PageFormWorkflowState = () => {\n return (\n <WorkflowStateBar>\n {({ state, stateBar }) => {\n return state ? (\n <div className={\"max-w-screen bg-white p-sm\"}>\n {stateBar}\n <Alert className={\"mb-md mt-md\"} type=\"danger\">\n Any changes you do on the page will not be stored!\n </Alert>\n </div>\n ) : null;\n }}\n </WorkflowStateBar>\n );\n};\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,UAAU,QAAQ,uBAAuB;AAClD,SAASC,KAAK,QAAQ,kBAAkB;AAExC,MAAM;EACFC,aAAa,EAAE;IAAEC;EAAiB;AACtC,CAAC,GAAGH,UAAU;AAEd,OAAO,MAAMI,qBAAqB,GAAGA,CAAA,KAAM;EACvC,oBACIL,KAAA,CAAAM,aAAA,CAACF,gBAAgB,QACZ,CAAC;IAAEG,KAAK;IAAEC;EAAS,CAAC,KAAK;IACtB,OAAOD,KAAK,gBACRP,KAAA,CAAAM,aAAA;MAAKG,SAAS,EAAE;IAA6B,GACxCD,QAAQ,eACTR,KAAA,CAAAM,aAAA,CAACJ,KAAK;MAACO,SAAS,EAAE,aAAc;MAACC,IAAI,EAAC;IAAQ,GAAC,oDAExC,CACN,CAAC,GACN,IAAI;EACZ,CACc,CAAC;AAE3B,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["React","Components","Alert","ContentReview","WorkflowStateBar","PageFormWorkflowState","createElement","state","stateBar","className","type"],"sources":["PageFormWorkflowState.tsx"],"sourcesContent":["import React from \"react\";\nimport { Components } from \"@webiny/app-workflows\";\nimport { Alert } from \"@webiny/admin-ui\";\n\nconst {\n ContentReview: { WorkflowStateBar }\n} = Components;\n\nexport const PageFormWorkflowState = () => {\n return (\n <WorkflowStateBar>\n {({ state, stateBar }) => {\n return (\n <div className={\"max-w-screen bg-white p-sm\"}>\n {stateBar}\n {state ? (\n <Alert className={\"mb-md mt-md\"} type=\"danger\">\n Any changes you do on the page will not be stored!\n </Alert>\n ) : null}\n </div>\n );\n }}\n </WorkflowStateBar>\n );\n};\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,UAAU,QAAQ,uBAAuB;AAClD,SAASC,KAAK,QAAQ,kBAAkB;AAExC,MAAM;EACFC,aAAa,EAAE;IAAEC;EAAiB;AACtC,CAAC,GAAGH,UAAU;AAEd,OAAO,MAAMI,qBAAqB,GAAGA,CAAA,KAAM;EACvC,oBACIL,KAAA,CAAAM,aAAA,CAACF,gBAAgB,QACZ,CAAC;IAAEG,KAAK;IAAEC;EAAS,CAAC,KAAK;IACtB,oBACIR,KAAA,CAAAM,aAAA;MAAKG,SAAS,EAAE;IAA6B,GACxCD,QAAQ,EACRD,KAAK,gBACFP,KAAA,CAAAM,aAAA,CAACJ,KAAK;MAACO,SAAS,EAAE,aAAc;MAACC,IAAI,EAAC;IAAQ,GAAC,oDAExC,CAAC,GACR,IACH,CAAC;EAEd,CACc,CAAC;AAE3B,CAAC","ignoreList":[]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webiny/app-website-builder-workflows",
3
- "version": "0.0.0-unstable.e2758ee1cf",
3
+ "version": "0.0.0-unstable.f6dc066313",
4
4
  "type": "module",
5
5
  "main": "index.js",
6
6
  "repository": {
@@ -11,13 +11,13 @@
11
11
  "license": "MIT",
12
12
  "dependencies": {
13
13
  "@apollo/react-hooks": "3.1.5",
14
- "@webiny/admin-ui": "0.0.0-unstable.e2758ee1cf",
15
- "@webiny/app": "0.0.0-unstable.e2758ee1cf",
16
- "@webiny/app-admin": "0.0.0-unstable.e2758ee1cf",
17
- "@webiny/app-website-builder": "0.0.0-unstable.e2758ee1cf",
18
- "@webiny/app-workflows": "0.0.0-unstable.e2758ee1cf",
19
- "@webiny/feature": "0.0.0-unstable.e2758ee1cf",
20
- "@webiny/icons": "0.0.0-unstable.e2758ee1cf",
14
+ "@webiny/admin-ui": "0.0.0-unstable.f6dc066313",
15
+ "@webiny/app": "0.0.0-unstable.f6dc066313",
16
+ "@webiny/app-admin": "0.0.0-unstable.f6dc066313",
17
+ "@webiny/app-website-builder": "0.0.0-unstable.f6dc066313",
18
+ "@webiny/app-workflows": "0.0.0-unstable.f6dc066313",
19
+ "@webiny/feature": "0.0.0-unstable.f6dc066313",
20
+ "@webiny/icons": "0.0.0-unstable.f6dc066313",
21
21
  "mobx": "6.15.0",
22
22
  "mobx-react-lite": "3.4.3",
23
23
  "react": "18.2.0",
@@ -26,7 +26,7 @@
26
26
  },
27
27
  "devDependencies": {
28
28
  "@types/react": "18.2.79",
29
- "@webiny/build-tools": "0.0.0-unstable.e2758ee1cf",
29
+ "@webiny/build-tools": "0.0.0-unstable.f6dc066313",
30
30
  "rimraf": "6.1.3",
31
31
  "typescript": "5.9.3"
32
32
  },
@@ -39,5 +39,5 @@
39
39
  "removeViewBox": false
40
40
  }
41
41
  },
42
- "gitHead": "e2758ee1cfa3b9a7152e9bb995a90ccabd33266f"
42
+ "gitHead": "f6dc066313ddce5339d2aacec3aa84e61232689b"
43
43
  }