@app-studio/web 0.9.83 → 0.9.84

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.
@@ -17583,11 +17583,11 @@ var TitleView = _ref => {
17583
17583
  lastIndex = match.index + match[0].length;
17584
17584
  }
17585
17585
  if (lastIndex < text.length) parts.push(text.substring(lastIndex));
17586
- return /*#__PURE__*/React__default.createElement(appStudio.Element, Object.assign({}, containerProps, views == null ? void 0 : views.container, props), parts.map((part, idx) => typeof part === 'string' ? (/*#__PURE__*/React__default.createElement(appStudio.Text, {
17586
+ return /*#__PURE__*/React__default.createElement(appStudio.Element, Object.assign({}, containerProps, views == null ? void 0 : views.container, props), parts.map((part, idx) => typeof part === 'string' ? (/*#__PURE__*/React__default.createElement(appStudio.Text, Object.assign({
17587
17587
  key: "text-" + idx,
17588
17588
  as: "span",
17589
17589
  display: "inline"
17590
- }, renderWithLineBreaks(part))) : (/*#__PURE__*/React__default.createElement(appStudio.Text, Object.assign({
17590
+ }, views == null ? void 0 : views.text), renderWithLineBreaks(part))) : (/*#__PURE__*/React__default.createElement(appStudio.Text, Object.assign({
17591
17591
  key: "highlight-" + idx,
17592
17592
  as: "span",
17593
17593
  display: "inline",
@@ -17603,7 +17603,7 @@ var TitleView = _ref => {
17603
17603
  }, !highlightSlide ? highlightProps : {}, views == null ? void 0 : views.highlight), renderHighlightedContent(text)));
17604
17604
  }
17605
17605
  // Case 3: Default - no highlighting
17606
- return /*#__PURE__*/React__default.createElement(appStudio.Text, Object.assign({}, containerProps, props, views == null ? void 0 : views.container), renderWithLineBreaks(text));
17606
+ return /*#__PURE__*/React__default.createElement(appStudio.Text, Object.assign({}, containerProps, props, views == null ? void 0 : views.container, views == null ? void 0 : views.text), renderWithLineBreaks(text));
17607
17607
  };
17608
17608
 
17609
17609
  /**