@juo/blocks 1.20.0 → 1.20.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/core.js CHANGED
@@ -3725,8 +3725,7 @@ const MOCK_FLOWS = {
3725
3725
  actionType: "offer_pause",
3726
3726
  actionConfig: {
3727
3727
  headline: "Need a break?",
3728
- description: "Pause your subscription for up to 30 days instead of cancelling.",
3729
- pauseDurationDays: 30
3728
+ description: "Pause your subscription for up to 30 days instead of cancelling."
3730
3729
  },
3731
3730
  availableResponses: [
3732
3731
  { type: "accepted", label: "Pause subscription" },
@@ -1 +1 @@
1
- {"version":3,"file":"MockWorkflowApiAdapter.d.ts","sourceRoot":"","sources":["../../src/flows/MockWorkflowApiAdapter.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,kBAAkB,EAKnB,MAAM,mBAAmB,CAAC;AA4L3B;;;;;;;;;GASG;AACH,wBAAgB,4BAA4B,IAAI,kBAAkB,CA0GjE"}
1
+ {"version":3,"file":"MockWorkflowApiAdapter.d.ts","sourceRoot":"","sources":["../../src/flows/MockWorkflowApiAdapter.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,kBAAkB,EAKnB,MAAM,mBAAmB,CAAC;AA2L3B;;;;;;;;;GASG;AACH,wBAAgB,4BAA4B,IAAI,kBAAkB,CA0GjE"}
@@ -1 +1 @@
1
- {"version":3,"file":"InlineText.d.ts","sourceRoot":"","sources":["../../../src/web-components/runtime/InlineText.ts"],"names":[],"mappings":"AAIA,MAAM,CAAC,OAAO,OAAO,UAAW,SAAQ,WAAW;IACjD,OAAO,CAAC,OAAO,CAAC,CAAa;IAE7B,iBAAiB;IAsCjB,oBAAoB;CAIrB"}
1
+ {"version":3,"file":"InlineText.d.ts","sourceRoot":"","sources":["../../../src/web-components/runtime/InlineText.ts"],"names":[],"mappings":"AAIA,MAAM,CAAC,OAAO,OAAO,UAAW,SAAQ,WAAW;IACjD,OAAO,CAAC,OAAO,CAAC,CAAa;IAE7B,iBAAiB;IAuCjB,oBAAoB;CAIrB"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=InlineText.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InlineText.test.d.ts","sourceRoot":"","sources":["../../../src/web-components/runtime/InlineText.test.ts"],"names":[],"mappings":""}
@@ -12,6 +12,7 @@ class InlineText extends HTMLElement {
12
12
  connectedCallback() {
13
13
  if (!this.style.display) this.style.display = "inline-block";
14
14
  if (!this.style.overflowWrap) this.style.overflowWrap = "anywhere";
15
+ if (!this.style.whiteSpace) this.style.whiteSpace = "pre-wrap";
15
16
  const key = this.getAttribute("prop");
16
17
  if (!key) return;
17
18
  let blockEl = this.closest("[data-block-type]");
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@juo/blocks",
3
3
  "private": false,
4
- "version": "1.20.0",
4
+ "version": "1.20.1",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist"