@ni/nimble-components 20.2.10 → 20.2.11

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.
@@ -7746,7 +7746,7 @@ for(let i=0;i<t;i++)n+=e
7746
7746
  return n}markString(e,t,n,i){let o=this.marks[e.type.name],r=t?o.open:o.close
7747
7747
  return"string"==typeof r?r:r(this,e,n,i)}getEnclosingWhitespace(e){return{leading:(e.match(/^(\s+)/)||[void 0])[0],trailing:(e.match(/(\s+)$/)||[void 0])[0]}}}var SO,$O
7748
7748
  class _O{static parseMarkdownToDOM(e){const t=this.markdownParser.parse(e)
7749
- return null===t?document.createDocumentFragment():this.domSerializer.serializeFragment(t.content)}static initializeMarkdownParser(){const e=wO.tokenizer.configure("zero").enable(["emphasis","list","autolink"])
7749
+ return null===t?document.createDocumentFragment():this.domSerializer.serializeFragment(t.content)}static initializeMarkdownParser(){const e=wO.tokenizer.configure("zero").enable(["emphasis","list","autolink","escape"])
7750
7750
  return new vO(hO,e,wO.tokens)}}SO=_O,_O.markdownParser=SO.initializeMarkdownParser(),_O.domSerializer=my.fromSchema(hO)
7751
7751
  class MO{static serializeDOMToMarkdown(e){return this.markdownSerializer.serialize(e)}static initializeMarkdownSerializerForTipTap(){const e={bulletList:xO.nodes.bullet_list,listItem:xO.nodes.list_item,orderedList:function(e,t){const n=t.attrs.start||1,i=String(n+t.childCount-1).length,o=e.repeat(" ",i+2)
7752
7752
  e.renderList(t,o,(t=>{const o=String(n+t)