markdown-flow-ui 0.3.4 → 0.3.6
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/_virtual/{advancedFormat.es2.js → advancedFormat2.es.js} +1 -1
- package/dist/_virtual/advancedFormat2.es.js.map +1 -0
- package/dist/_virtual/core.cjs +1 -1
- package/dist/_virtual/core.es.js +1 -1
- package/dist/_virtual/{cose-base.es2.js → cose-base2.es.js} +1 -1
- package/dist/_virtual/cose-base2.es.js.map +1 -0
- package/dist/_virtual/{customParseFormat.es2.js → customParseFormat2.es.js} +1 -1
- package/dist/_virtual/customParseFormat2.es.js.map +1 -0
- package/dist/_virtual/cytoscape-cose-bilkent2.es.js +5 -0
- package/dist/_virtual/cytoscape-cose-bilkent2.es.js.map +1 -0
- package/dist/_virtual/{cytoscape-fcose.es2.js → cytoscape-fcose2.es.js} +1 -1
- package/dist/_virtual/cytoscape-fcose2.es.js.map +1 -0
- package/dist/_virtual/{dayjs.min2.cjs → dayjs2.min.cjs} +1 -1
- package/dist/_virtual/dayjs2.min.cjs.map +1 -0
- package/dist/_virtual/{dayjs.min.es2.js → dayjs2.min.es.js} +1 -1
- package/dist/_virtual/dayjs2.min.es.js.map +1 -0
- package/dist/_virtual/{duration.es2.js → duration2.es.js} +1 -1
- package/dist/_virtual/duration2.es.js.map +1 -0
- package/dist/_virtual/{index.es10.js → index10.es.js} +1 -1
- package/dist/_virtual/index10.es.js.map +1 -0
- package/dist/_virtual/{index.es11.js → index11.es.js} +1 -1
- package/dist/_virtual/index11.es.js.map +1 -0
- package/dist/_virtual/{index.es12.js → index12.es.js} +1 -1
- package/dist/_virtual/index12.es.js.map +1 -0
- package/dist/_virtual/{index.es9.js → index2.es.js} +1 -1
- package/dist/_virtual/index2.es.js.map +1 -0
- package/dist/_virtual/index3.cjs +1 -1
- package/dist/_virtual/{index.es4.js → index3.es.js} +1 -1
- package/dist/_virtual/index3.es.js.map +1 -0
- package/dist/_virtual/index4.cjs +1 -1
- package/dist/_virtual/{index.es3.js → index4.es.js} +1 -1
- package/dist/_virtual/index4.es.js.map +1 -0
- package/dist/_virtual/{index.es5.js → index5.es.js} +1 -1
- package/dist/_virtual/index5.es.js.map +1 -0
- package/dist/_virtual/index6.cjs +1 -1
- package/dist/_virtual/{index.es7.js → index6.es.js} +1 -1
- package/dist/_virtual/index6.es.js.map +1 -0
- package/dist/_virtual/index7.cjs +1 -1
- package/dist/_virtual/{index.es6.js → index7.es.js} +1 -1
- package/dist/_virtual/index7.es.js.map +1 -0
- package/dist/_virtual/{index.es8.js → index8.es.js} +1 -1
- package/dist/_virtual/index8.es.js.map +1 -0
- package/dist/_virtual/{index.es2.js → index9.es.js} +1 -1
- package/dist/_virtual/index9.es.js.map +1 -0
- package/dist/_virtual/{isoWeek.es2.js → isoWeek2.es.js} +1 -1
- package/dist/_virtual/isoWeek2.es.js.map +1 -0
- package/dist/_virtual/{layout-base.es2.js → layout-base2.es.js} +1 -1
- package/dist/_virtual/layout-base2.es.js.map +1 -0
- package/dist/components/ContentRender/ContentRender.cjs +2 -2
- package/dist/components/ContentRender/ContentRender.cjs.map +1 -1
- package/dist/components/ContentRender/ContentRender.d.ts +2 -0
- package/dist/components/ContentRender/ContentRender.es.js +513 -509
- package/dist/components/ContentRender/ContentRender.es.js.map +1 -1
- package/dist/components/ContentRender/IframeSandbox.es.js +1 -1
- package/dist/components/ContentRender/MarkdownFlowInput.cjs +1 -1
- package/dist/components/ContentRender/MarkdownFlowInput.cjs.map +1 -1
- package/dist/components/ContentRender/MarkdownFlowInput.d.ts +2 -0
- package/dist/components/ContentRender/MarkdownFlowInput.es.js +40 -38
- package/dist/components/ContentRender/MarkdownFlowInput.es.js.map +1 -1
- package/dist/components/ContentRender/plugins/CustomVariable.cjs +1 -1
- package/dist/components/ContentRender/plugins/CustomVariable.cjs.map +1 -1
- package/dist/components/ContentRender/plugins/CustomVariable.d.ts +2 -1
- package/dist/components/ContentRender/plugins/CustomVariable.es.js +110 -90
- package/dist/components/ContentRender/plugins/CustomVariable.es.js.map +1 -1
- package/dist/components/ContentRender/plugins/MermaidChart.cjs.map +1 -1
- package/dist/components/ContentRender/utils/accept-placeholder.cjs +2 -0
- package/dist/components/ContentRender/utils/accept-placeholder.cjs.map +1 -0
- package/dist/components/ContentRender/utils/accept-placeholder.d.ts +3 -0
- package/dist/components/ContentRender/utils/accept-placeholder.es.js +10 -0
- package/dist/components/ContentRender/utils/accept-placeholder.es.js.map +1 -0
- package/dist/components/ContentRender/utils/video-markdown-run.es.js +2 -2
- package/dist/components/MarkdownFlow/MarkdownFlow.cjs +1 -1
- package/dist/components/MarkdownFlow/MarkdownFlow.cjs.map +1 -1
- package/dist/components/MarkdownFlow/MarkdownFlow.d.ts +2 -0
- package/dist/components/MarkdownFlow/MarkdownFlow.es.js +23 -21
- package/dist/components/MarkdownFlow/MarkdownFlow.es.js.map +1 -1
- package/dist/components/MarkdownFlow/ScrollToBottomControl.cjs +1 -1
- package/dist/components/MarkdownFlow/ScrollToBottomControl.cjs.map +1 -1
- package/dist/components/MarkdownFlow/ScrollToBottomControl.es.js +1 -1
- package/dist/components/MarkdownFlowEditor/components/EditorToolbar.cjs.map +1 -1
- package/dist/components/Slide/Slide.cjs +1 -1
- package/dist/components/Slide/Slide.cjs.map +1 -1
- package/dist/components/Slide/Slide.d.ts +2 -0
- package/dist/components/Slide/Slide.es.js +347 -343
- package/dist/components/Slide/Slide.es.js.map +1 -1
- package/dist/components/ui/inputGroup/input-group.d.ts +1 -1
- package/dist/components/ui/inputGroup/textarea.cjs +1 -1
- package/dist/components/ui/inputGroup/textarea.es.js +1 -1
- package/dist/components/ui/tooltip.cjs +1 -1
- package/dist/components/ui/tooltip.cjs.map +1 -1
- package/dist/components/ui/tooltip.es.js +12 -12
- package/dist/index.cjs +1 -1
- package/dist/index.es.js +3 -3
- package/dist/markdown-flow-ui-lib.css +2 -2
- package/dist/node_modules/@babel/runtime/helpers/esm/toPrimitive.cjs +1 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/toPrimitive.cjs.map +1 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/toPrimitive.es.js +4 -4
- package/dist/node_modules/@babel/runtime/helpers/esm/toPrimitive.es.js.map +1 -1
- package/dist/node_modules/@braintree/sanitize-url/dist/index.es.js +1 -1
- package/dist/node_modules/@codemirror/autocomplete/dist/index.cjs +1 -1
- package/dist/node_modules/@codemirror/autocomplete/dist/index.cjs.map +1 -1
- package/dist/node_modules/@codemirror/autocomplete/dist/index.es.js +172 -159
- package/dist/node_modules/@codemirror/autocomplete/dist/index.es.js.map +1 -1
- package/dist/node_modules/@codemirror/commands/dist/index.cjs +1 -1
- package/dist/node_modules/@codemirror/commands/dist/index.cjs.map +1 -1
- package/dist/node_modules/@codemirror/commands/dist/index.es.js +376 -333
- package/dist/node_modules/@codemirror/commands/dist/index.es.js.map +1 -1
- package/dist/node_modules/@codemirror/lang-css/dist/index.es.js +3 -3
- package/dist/node_modules/@codemirror/lang-html/dist/index.cjs +1 -1
- package/dist/node_modules/@codemirror/lang-html/dist/index.cjs.map +1 -1
- package/dist/node_modules/@codemirror/lang-html/dist/index.es.js +238 -228
- package/dist/node_modules/@codemirror/lang-html/dist/index.es.js.map +1 -1
- package/dist/node_modules/@codemirror/lang-javascript/dist/index.cjs +4 -4
- package/dist/node_modules/@codemirror/lang-javascript/dist/index.cjs.map +1 -1
- package/dist/node_modules/@codemirror/lang-javascript/dist/index.es.js +62 -50
- package/dist/node_modules/@codemirror/lang-javascript/dist/index.es.js.map +1 -1
- package/dist/node_modules/@codemirror/lang-markdown/dist/index.cjs +1 -1
- package/dist/node_modules/@codemirror/lang-markdown/dist/index.cjs.map +1 -1
- package/dist/node_modules/@codemirror/lang-markdown/dist/index.es.js +237 -207
- package/dist/node_modules/@codemirror/lang-markdown/dist/index.es.js.map +1 -1
- package/dist/node_modules/@codemirror/language/dist/index.cjs +1 -1
- package/dist/node_modules/@codemirror/language/dist/index.cjs.map +1 -1
- package/dist/node_modules/@codemirror/language/dist/index.es.js +302 -296
- package/dist/node_modules/@codemirror/language/dist/index.es.js.map +1 -1
- package/dist/node_modules/@codemirror/lint/dist/index.cjs +1 -1
- package/dist/node_modules/@codemirror/lint/dist/index.cjs.map +1 -1
- package/dist/node_modules/@codemirror/lint/dist/index.es.js +281 -236
- package/dist/node_modules/@codemirror/lint/dist/index.es.js.map +1 -1
- package/dist/node_modules/@codemirror/search/dist/index.cjs +2 -2
- package/dist/node_modules/@codemirror/search/dist/index.cjs.map +1 -1
- package/dist/node_modules/@codemirror/search/dist/index.es.js +427 -454
- package/dist/node_modules/@codemirror/search/dist/index.es.js.map +1 -1
- package/dist/node_modules/@codemirror/state/dist/index.cjs +5 -5
- package/dist/node_modules/@codemirror/state/dist/index.cjs.map +1 -1
- package/dist/node_modules/@codemirror/state/dist/index.es.js +556 -509
- package/dist/node_modules/@codemirror/state/dist/index.es.js.map +1 -1
- package/dist/node_modules/@codemirror/view/dist/index.cjs +5 -5
- package/dist/node_modules/@codemirror/view/dist/index.cjs.map +1 -1
- package/dist/node_modules/@codemirror/view/dist/index.es.js +3982 -3507
- package/dist/node_modules/@codemirror/view/dist/index.es.js.map +1 -1
- package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.cjs +1 -1
- package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.cjs.map +1 -1
- package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.es.js +288 -309
- package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.es.js.map +1 -1
- package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.cjs +1 -1
- package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.cjs.map +1 -1
- package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.es.js +244 -252
- package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.es.js.map +1 -1
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.cjs +1 -1
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.cjs.map +1 -1
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.cjs +1 -1
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.cjs.map +1 -1
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.es.js +8 -8
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.es.js.map +1 -1
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.es.js +47 -47
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.es.js.map +1 -1
- package/dist/node_modules/@lezer/common/dist/index.cjs +1 -1
- package/dist/node_modules/@lezer/common/dist/index.cjs.map +1 -1
- package/dist/node_modules/@lezer/common/dist/index.es.js +266 -253
- package/dist/node_modules/@lezer/common/dist/index.es.js.map +1 -1
- package/dist/node_modules/@lezer/css/dist/index.cjs +1 -1
- package/dist/node_modules/@lezer/css/dist/index.cjs.map +1 -1
- package/dist/node_modules/@lezer/css/dist/index.es.js +95 -87
- package/dist/node_modules/@lezer/css/dist/index.es.js.map +1 -1
- package/dist/node_modules/@lezer/highlight/dist/index.cjs +1 -1
- package/dist/node_modules/@lezer/highlight/dist/index.cjs.map +1 -1
- package/dist/node_modules/@lezer/highlight/dist/index.es.js +150 -139
- package/dist/node_modules/@lezer/highlight/dist/index.es.js.map +1 -1
- package/dist/node_modules/@lezer/html/dist/index.cjs +1 -1
- package/dist/node_modules/@lezer/html/dist/index.cjs.map +1 -1
- package/dist/node_modules/@lezer/html/dist/index.es.js +88 -95
- package/dist/node_modules/@lezer/html/dist/index.es.js.map +1 -1
- package/dist/node_modules/@lezer/javascript/dist/index.cjs +1 -1
- package/dist/node_modules/@lezer/javascript/dist/index.cjs.map +1 -1
- package/dist/node_modules/@lezer/javascript/dist/index.es.js +49 -49
- package/dist/node_modules/@lezer/javascript/dist/index.es.js.map +1 -1
- package/dist/node_modules/@lezer/lr/dist/index.cjs +1 -1
- package/dist/node_modules/@lezer/lr/dist/index.cjs.map +1 -1
- package/dist/node_modules/@lezer/lr/dist/index.es.js +148 -137
- package/dist/node_modules/@lezer/lr/dist/index.es.js.map +1 -1
- package/dist/node_modules/@lezer/markdown/dist/index.cjs +5 -5
- package/dist/node_modules/@lezer/markdown/dist/index.cjs.map +1 -1
- package/dist/node_modules/@lezer/markdown/dist/index.es.js +305 -269
- package/dist/node_modules/@lezer/markdown/dist/index.es.js.map +1 -1
- package/dist/node_modules/@marijn/find-cluster-break/src/index.cjs +1 -1
- package/dist/node_modules/@marijn/find-cluster-break/src/index.cjs.map +1 -1
- package/dist/node_modules/@marijn/find-cluster-break/src/index.es.js +31 -31
- package/dist/node_modules/@marijn/find-cluster-break/src/index.es.js.map +1 -1
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/architecture-7GRP2DOG.es.js +4 -3
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/architecture-7GRP2DOG.es.js.map +1 -1
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-2ZTRR5NV.es.js +1 -1
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-3Z5EZCMW.es.js +1 -1
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-5V3GS4D5.es.js +1 -1
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-6AZGARVD.es.js +1 -1
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-6EIED4P4.es.js +1 -1
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-6K3QC6MW.es.js +1 -1
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-6TQVIW2G.es.js +1 -1
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-747NJXEK.es.js +1 -1
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-I5DQTOEV.es.js +1 -1
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-ICYGCRZG.es.js +1 -1
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-IH6LHLGP.es.js +1 -1
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-KI3K4JFJ.es.js +1 -1
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-OUJLGHUK.es.js +1 -1
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-UY3FDG6J.es.js +1 -1
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-XHIXRSVI.es.js +1 -1
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/cynefin-OW5HDTMX.es.js +4 -3
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/cynefin-OW5HDTMX.es.js.map +1 -1
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/eventmodeling-NTZA5JFV.es.js +4 -3
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/eventmodeling-NTZA5JFV.es.js.map +1 -1
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/gitGraph-4MIJSDKK.es.js +3 -2
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/gitGraph-4MIJSDKK.es.js.map +1 -1
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/info-A6RAGUB7.es.js +4 -3
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/info-A6RAGUB7.es.js.map +1 -1
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/packet-AYTQ26CC.es.js +4 -3
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/packet-AYTQ26CC.es.js.map +1 -1
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/pie-WAS4IAKB.es.js +4 -3
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/pie-WAS4IAKB.es.js.map +1 -1
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/radar-RG4KPBEZ.es.js +4 -3
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/radar-RG4KPBEZ.es.js.map +1 -1
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/railroad-74A4TZTK.es.js +4 -3
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/railroad-74A4TZTK.es.js.map +1 -1
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/railroad-abnf-HS5TGJTU.es.js +4 -3
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/railroad-abnf-HS5TGJTU.es.js.map +1 -1
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/railroad-ebnf-LZEXJU2U.es.js +4 -3
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/railroad-ebnf-LZEXJU2U.es.js.map +1 -1
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/railroad-peg-WCYAUIDC.es.js +4 -3
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/railroad-peg-WCYAUIDC.es.js.map +1 -1
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/treeView-Q6P3EWNA.es.js +4 -3
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/treeView-Q6P3EWNA.es.js.map +1 -1
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/treemap-WGGIJYW6.es.js +4 -3
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/treemap-WGGIJYW6.es.js.map +1 -1
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/wardley-WFR3VGLG.es.js +4 -3
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/wardley-WFR3VGLG.es.js.map +1 -1
- package/dist/node_modules/@radix-ui/primitive/dist/index.cjs +1 -1
- package/dist/node_modules/@radix-ui/primitive/dist/index.cjs.map +1 -1
- package/dist/node_modules/@radix-ui/primitive/dist/index.es.js +46 -6
- package/dist/node_modules/@radix-ui/primitive/dist/index.es.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-compose-refs/dist/index.cjs +1 -1
- package/dist/node_modules/@radix-ui/react-compose-refs/dist/index.cjs.map +1 -1
- package/dist/node_modules/@radix-ui/react-compose-refs/dist/index.es.js +20 -16
- package/dist/node_modules/@radix-ui/react-compose-refs/dist/index.es.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-context/dist/index.cjs +1 -1
- package/dist/node_modules/@radix-ui/react-context/dist/index.cjs.map +1 -1
- package/dist/node_modules/@radix-ui/react-context/dist/index.es.js +71 -43
- package/dist/node_modules/@radix-ui/react-context/dist/index.es.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-dialog/dist/index.cjs +1 -1
- package/dist/node_modules/@radix-ui/react-dialog/dist/index.cjs.map +1 -1
- package/dist/node_modules/@radix-ui/react-dialog/dist/index.es.js +16 -16
- package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index.cjs +1 -1
- package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index.cjs.map +1 -1
- package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index.es.js +184 -96
- package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index.es.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-focus-scope/dist/index.cjs +1 -1
- package/dist/node_modules/@radix-ui/react-focus-scope/dist/index.cjs.map +1 -1
- package/dist/node_modules/@radix-ui/react-focus-scope/dist/index.es.js +3 -3
- package/dist/node_modules/@radix-ui/react-id/dist/index.cjs +1 -1
- package/dist/node_modules/@radix-ui/react-id/dist/index.cjs.map +1 -1
- package/dist/node_modules/@radix-ui/react-id/dist/index.es.js +10 -9
- package/dist/node_modules/@radix-ui/react-id/dist/index.es.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-portal/dist/index.cjs +1 -1
- package/dist/node_modules/@radix-ui/react-portal/dist/index.cjs.map +1 -1
- package/dist/node_modules/@radix-ui/react-portal/dist/index.es.js +14 -12
- package/dist/node_modules/@radix-ui/react-portal/dist/index.es.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-presence/dist/index.cjs +1 -1
- package/dist/node_modules/@radix-ui/react-presence/dist/index.cjs.map +1 -1
- package/dist/node_modules/@radix-ui/react-presence/dist/index.es.js +70 -37
- package/dist/node_modules/@radix-ui/react-presence/dist/index.es.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-primitive/dist/index.cjs +1 -1
- package/dist/node_modules/@radix-ui/react-primitive/dist/index.cjs.map +1 -1
- package/dist/node_modules/@radix-ui/react-primitive/dist/index.es.js +16 -14
- package/dist/node_modules/@radix-ui/react-primitive/dist/index.es.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-slot/dist/index.cjs +1 -1
- package/dist/node_modules/@radix-ui/react-slot/dist/index.cjs.map +1 -1
- package/dist/node_modules/@radix-ui/react-slot/dist/index.es.js +1 -1
- package/dist/node_modules/@radix-ui/react-tooltip/dist/index.cjs +1 -1
- package/dist/node_modules/@radix-ui/react-tooltip/dist/index.cjs.map +1 -1
- package/dist/node_modules/@radix-ui/react-tooltip/dist/index.es.js +261 -250
- package/dist/node_modules/@radix-ui/react-tooltip/dist/index.es.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/primitive/dist/index.cjs.map +1 -0
- package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/primitive/dist/index.es.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-arrow/dist/index.cjs +2 -0
- package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-arrow/dist/index.cjs.map +1 -0
- package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-arrow/dist/index.es.js +25 -0
- package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-arrow/dist/index.es.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-context/dist/index.cjs.map +1 -0
- package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-context/dist/index.es.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-dismissable-layer/dist/index.cjs +2 -0
- package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-dismissable-layer/dist/index.cjs.map +1 -0
- package/dist/node_modules/@radix-ui/{react-dialog → react-tooltip}/node_modules/@radix-ui/react-dismissable-layer/dist/index.es.js +1 -1
- package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-dismissable-layer/dist/index.es.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-focus-scope/dist/index.cjs +2 -0
- package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-focus-scope/dist/index.cjs.map +1 -0
- package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-focus-scope/dist/index.es.js +105 -0
- package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-focus-scope/dist/index.es.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-popper/dist/index.cjs +2 -0
- package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-popper/dist/index.cjs.map +1 -0
- package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-popper/dist/index.es.js +271 -0
- package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-popper/dist/index.es.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-portal/dist/index.cjs +2 -0
- package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-portal/dist/index.cjs.map +1 -0
- package/dist/node_modules/@radix-ui/{react-dialog → react-tooltip}/node_modules/@radix-ui/react-portal/dist/index.es.js +1 -1
- package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-portal/dist/index.es.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-primitive/dist/index.cjs +2 -0
- package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-primitive/dist/index.cjs.map +1 -0
- package/dist/node_modules/@radix-ui/{react-focus-scope → react-tooltip}/node_modules/@radix-ui/react-primitive/dist/index.es.js +1 -1
- package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-primitive/dist/index.es.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-slot/dist/index.cjs +1 -1
- package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-slot/dist/index.cjs.map +1 -1
- package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-slot/dist/index.es.js +94 -7
- package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-slot/dist/index.es.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-use-callback-ref/dist/index.cjs +2 -0
- package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-use-callback-ref/dist/index.cjs.map +1 -0
- package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-use-callback-ref/dist/index.es.js +16 -0
- package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-use-callback-ref/dist/index.es.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-use-controllable-state/dist/index.cjs +2 -0
- package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-use-controllable-state/dist/index.cjs.map +1 -0
- package/dist/node_modules/@radix-ui/{react-dialog → react-tooltip}/node_modules/@radix-ui/react-use-controllable-state/dist/index.es.js +2 -2
- package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-use-controllable-state/dist/index.es.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-use-callback-ref/dist/index.cjs +1 -1
- package/dist/node_modules/@radix-ui/react-use-callback-ref/dist/index.cjs.map +1 -1
- package/dist/node_modules/@radix-ui/react-use-callback-ref/dist/index.es.js +8 -6
- package/dist/node_modules/@radix-ui/react-use-callback-ref/dist/index.es.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-use-controllable-state/dist/index.cjs +1 -1
- package/dist/node_modules/@radix-ui/react-use-controllable-state/dist/index.cjs.map +1 -1
- package/dist/node_modules/@radix-ui/react-use-controllable-state/dist/index.es.js +56 -39
- package/dist/node_modules/@radix-ui/react-use-controllable-state/dist/index.es.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-use-effect-event/dist/index.cjs.map +1 -0
- package/dist/node_modules/@radix-ui/react-use-effect-event/dist/index.es.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-use-layout-effect/dist/index.cjs.map +1 -1
- package/dist/node_modules/@radix-ui/react-use-layout-effect/dist/index.es.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-use-size/dist/index.cjs +1 -1
- package/dist/node_modules/@radix-ui/react-use-size/dist/index.cjs.map +1 -1
- package/dist/node_modules/@radix-ui/react-use-size/dist/index.es.js +28 -21
- package/dist/node_modules/@radix-ui/react-use-size/dist/index.es.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-visually-hidden/dist/index.cjs +1 -1
- package/dist/node_modules/@radix-ui/react-visually-hidden/dist/index.cjs.map +1 -1
- package/dist/node_modules/@radix-ui/react-visually-hidden/dist/index.es.js +15 -15
- package/dist/node_modules/@radix-ui/react-visually-hidden/dist/index.es.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-visually-hidden/node_modules/@radix-ui/react-primitive/dist/index.cjs +2 -0
- package/dist/node_modules/@radix-ui/react-visually-hidden/node_modules/@radix-ui/react-primitive/dist/index.cjs.map +1 -0
- package/dist/node_modules/@radix-ui/{react-dialog → react-visually-hidden}/node_modules/@radix-ui/react-primitive/dist/index.es.js +1 -1
- package/dist/node_modules/@radix-ui/react-visually-hidden/node_modules/@radix-ui/react-primitive/dist/index.es.js.map +1 -0
- package/dist/node_modules/@radix-ui/react-visually-hidden/node_modules/@radix-ui/react-slot/dist/index.cjs +2 -0
- package/dist/node_modules/@radix-ui/react-visually-hidden/node_modules/@radix-ui/react-slot/dist/index.cjs.map +1 -0
- package/dist/node_modules/@radix-ui/react-visually-hidden/node_modules/@radix-ui/react-slot/dist/index.es.js +99 -0
- package/dist/node_modules/@radix-ui/react-visually-hidden/node_modules/@radix-ui/react-slot/dist/index.es.js.map +1 -0
- package/dist/node_modules/@uiw/codemirror-extensions-basic-setup/esm/index.cjs +1 -1
- package/dist/node_modules/@uiw/codemirror-extensions-basic-setup/esm/index.cjs.map +1 -1
- package/dist/node_modules/@uiw/codemirror-extensions-basic-setup/esm/index.es.js +11 -13
- package/dist/node_modules/@uiw/codemirror-extensions-basic-setup/esm/index.es.js.map +1 -1
- package/dist/node_modules/@uiw/react-codemirror/esm/getDefaultExtensions.cjs +1 -1
- package/dist/node_modules/@uiw/react-codemirror/esm/getDefaultExtensions.cjs.map +1 -1
- package/dist/node_modules/@uiw/react-codemirror/esm/getDefaultExtensions.es.js +20 -27
- package/dist/node_modules/@uiw/react-codemirror/esm/getDefaultExtensions.es.js.map +1 -1
- package/dist/node_modules/@uiw/react-codemirror/esm/index.cjs +1 -1
- package/dist/node_modules/@uiw/react-codemirror/esm/index.cjs.map +1 -1
- package/dist/node_modules/@uiw/react-codemirror/esm/index.es.js +51 -80
- package/dist/node_modules/@uiw/react-codemirror/esm/index.es.js.map +1 -1
- package/dist/node_modules/@uiw/react-codemirror/esm/theme/dimensionTheme.cjs +2 -0
- package/dist/node_modules/@uiw/react-codemirror/esm/theme/dimensionTheme.cjs.map +1 -0
- package/dist/node_modules/@uiw/react-codemirror/esm/theme/dimensionTheme.es.js +33 -0
- package/dist/node_modules/@uiw/react-codemirror/esm/theme/dimensionTheme.es.js.map +1 -0
- package/dist/node_modules/@uiw/react-codemirror/esm/useCodeMirror.cjs +1 -1
- package/dist/node_modules/@uiw/react-codemirror/esm/useCodeMirror.cjs.map +1 -1
- package/dist/node_modules/@uiw/react-codemirror/esm/useCodeMirror.es.js +64 -98
- package/dist/node_modules/@uiw/react-codemirror/esm/useCodeMirror.es.js.map +1 -1
- package/dist/node_modules/@ungap/structured-clone/esm/deserialize.cjs +1 -1
- package/dist/node_modules/@ungap/structured-clone/esm/deserialize.cjs.map +1 -1
- package/dist/node_modules/@ungap/structured-clone/esm/deserialize.es.js +65 -42
- package/dist/node_modules/@ungap/structured-clone/esm/deserialize.es.js.map +1 -1
- package/dist/node_modules/@ungap/structured-clone/esm/serialize.cjs +1 -1
- package/dist/node_modules/@ungap/structured-clone/esm/serialize.cjs.map +1 -1
- package/dist/node_modules/@ungap/structured-clone/esm/serialize.es.js +62 -58
- package/dist/node_modules/@ungap/structured-clone/esm/serialize.es.js.map +1 -1
- package/dist/node_modules/classnames/index.es.js +1 -1
- package/dist/node_modules/clsx/dist/clsx.cjs +1 -1
- package/dist/node_modules/clsx/dist/clsx.cjs.map +1 -1
- package/dist/node_modules/clsx/dist/clsx.es.js +7 -8
- package/dist/node_modules/clsx/dist/clsx.es.js.map +1 -1
- package/dist/node_modules/cose-base/cose-base.es.js +1 -1
- package/dist/node_modules/cytoscape-cose-bilkent/cytoscape-cose-bilkent.es.js +1 -1
- package/dist/node_modules/cytoscape-fcose/cytoscape-fcose.es.js +1 -1
- package/dist/node_modules/d3-color/src/lab.cjs +1 -1
- package/dist/node_modules/d3-color/src/lab.cjs.map +1 -1
- package/dist/node_modules/d3-color/src/lab.es.js +4 -5
- package/dist/node_modules/d3-format/src/defaultLocale.cjs +1 -1
- package/dist/node_modules/d3-format/src/defaultLocale.cjs.map +1 -1
- package/dist/node_modules/d3-format/src/defaultLocale.es.js +3 -4
- package/dist/node_modules/d3-time-format/src/defaultLocale.cjs +1 -1
- package/dist/node_modules/d3-time-format/src/defaultLocale.cjs.map +1 -1
- package/dist/node_modules/d3-time-format/src/defaultLocale.es.js +2 -3
- package/dist/node_modules/d3-time-format/src/locale.es.js +14 -14
- package/dist/node_modules/d3-transition/src/selection/transition.cjs +1 -1
- package/dist/node_modules/d3-transition/src/selection/transition.es.js +4 -4
- package/dist/node_modules/d3-transition/src/transition/interpolate.cjs +1 -1
- package/dist/node_modules/d3-transition/src/transition/interpolate.es.js +3 -3
- package/dist/node_modules/dagre-d3-es/src/dagre/layout.cjs +1 -1
- package/dist/node_modules/dagre-d3-es/src/dagre/layout.es.js +7 -7
- package/dist/node_modules/dagre-d3-es/src/dagre/order/build-layer-graph.cjs +1 -1
- package/dist/node_modules/dagre-d3-es/src/dagre/order/build-layer-graph.es.js +4 -4
- package/dist/node_modules/dagre-d3-es/src/dagre/position/bk.cjs +1 -1
- package/dist/node_modules/dagre-d3-es/src/dagre/position/bk.es.js +14 -14
- package/dist/node_modules/dagre-d3-es/src/dagre/util.cjs +1 -1
- package/dist/node_modules/dagre-d3-es/src/dagre/util.es.js +7 -7
- package/dist/node_modules/dayjs/dayjs.min.cjs +1 -1
- package/dist/node_modules/dayjs/dayjs.min.es.js +1 -1
- package/dist/node_modules/dayjs/plugin/advancedFormat.es.js +1 -1
- package/dist/node_modules/dayjs/plugin/customParseFormat.es.js +1 -1
- package/dist/node_modules/dayjs/plugin/duration.es.js +1 -1
- package/dist/node_modules/dayjs/plugin/isoWeek.es.js +1 -1
- package/dist/node_modules/decode-named-character-reference/index.dom.cjs.map +1 -1
- package/dist/node_modules/decode-named-character-reference/index.dom.es.js +1 -5
- package/dist/node_modules/decode-named-character-reference/index.dom.es.js.map +1 -1
- package/dist/node_modules/hast-util-to-jsx-runtime/lib/index.cjs +1 -1
- package/dist/node_modules/hast-util-to-jsx-runtime/lib/index.es.js +1 -1
- package/dist/node_modules/hast-util-to-parse5/lib/index.cjs +1 -1
- package/dist/node_modules/hast-util-to-parse5/lib/index.cjs.map +1 -1
- package/dist/node_modules/hast-util-to-parse5/lib/index.es.js +2 -2
- package/dist/node_modules/hast-util-to-parse5/lib/index.es.js.map +1 -1
- package/dist/node_modules/hast-util-to-text/lib/index.cjs +3 -3
- package/dist/node_modules/hast-util-to-text/lib/index.cjs.map +1 -1
- package/dist/node_modules/hast-util-to-text/lib/index.es.js +136 -84
- package/dist/node_modules/hast-util-to-text/lib/index.es.js.map +1 -1
- package/dist/node_modules/highlight.js/es/languages/c.cjs +1 -1
- package/dist/node_modules/highlight.js/es/languages/c.cjs.map +1 -1
- package/dist/node_modules/highlight.js/es/languages/c.es.js +122 -63
- package/dist/node_modules/highlight.js/es/languages/c.es.js.map +1 -1
- package/dist/node_modules/highlight.js/es/languages/cpp.cjs +1 -1
- package/dist/node_modules/highlight.js/es/languages/cpp.cjs.map +1 -1
- package/dist/node_modules/highlight.js/es/languages/cpp.es.js +65 -48
- package/dist/node_modules/highlight.js/es/languages/cpp.es.js.map +1 -1
- package/dist/node_modules/highlight.js/es/languages/css.cjs +1 -1
- package/dist/node_modules/highlight.js/es/languages/css.cjs.map +1 -1
- package/dist/node_modules/highlight.js/es/languages/css.es.js +17 -6
- package/dist/node_modules/highlight.js/es/languages/css.es.js.map +1 -1
- package/dist/node_modules/highlight.js/es/languages/go.cjs +1 -1
- package/dist/node_modules/highlight.js/es/languages/go.cjs.map +1 -1
- package/dist/node_modules/highlight.js/es/languages/go.es.js +7 -2
- package/dist/node_modules/highlight.js/es/languages/go.es.js.map +1 -1
- package/dist/node_modules/highlight.js/es/languages/java.cjs +1 -1
- package/dist/node_modules/highlight.js/es/languages/java.cjs.map +1 -1
- package/dist/node_modules/highlight.js/es/languages/java.es.js +48 -39
- package/dist/node_modules/highlight.js/es/languages/java.es.js.map +1 -1
- package/dist/node_modules/highlight.js/es/languages/javascript.cjs +1 -1
- package/dist/node_modules/highlight.js/es/languages/javascript.cjs.map +1 -1
- package/dist/node_modules/highlight.js/es/languages/javascript.es.js +4 -2
- package/dist/node_modules/highlight.js/es/languages/javascript.es.js.map +1 -1
- package/dist/node_modules/highlight.js/es/languages/json.cjs +1 -1
- package/dist/node_modules/highlight.js/es/languages/json.cjs.map +1 -1
- package/dist/node_modules/highlight.js/es/languages/json.es.js +15 -9
- package/dist/node_modules/highlight.js/es/languages/json.es.js.map +1 -1
- package/dist/node_modules/highlight.js/es/languages/lua.cjs +1 -1
- package/dist/node_modules/highlight.js/es/languages/lua.cjs.map +1 -1
- package/dist/node_modules/highlight.js/es/languages/lua.es.js +1 -1
- package/dist/node_modules/highlight.js/es/languages/lua.es.js.map +1 -1
- package/dist/node_modules/highlight.js/es/languages/markdown.cjs +1 -1
- package/dist/node_modules/highlight.js/es/languages/markdown.cjs.map +1 -1
- package/dist/node_modules/highlight.js/es/languages/markdown.es.js +9 -10
- package/dist/node_modules/highlight.js/es/languages/markdown.es.js.map +1 -1
- package/dist/node_modules/highlight.js/es/languages/php.cjs +2 -2
- package/dist/node_modules/highlight.js/es/languages/php.cjs.map +1 -1
- package/dist/node_modules/highlight.js/es/languages/php.es.js +39 -33
- package/dist/node_modules/highlight.js/es/languages/php.es.js.map +1 -1
- package/dist/node_modules/highlight.js/es/languages/python.cjs +1 -1
- package/dist/node_modules/highlight.js/es/languages/python.cjs.map +1 -1
- package/dist/node_modules/highlight.js/es/languages/python.es.js +20 -15
- package/dist/node_modules/highlight.js/es/languages/python.es.js.map +1 -1
- package/dist/node_modules/highlight.js/es/languages/rust.cjs +1 -1
- package/dist/node_modules/highlight.js/es/languages/rust.cjs.map +1 -1
- package/dist/node_modules/highlight.js/es/languages/rust.es.js +40 -26
- package/dist/node_modules/highlight.js/es/languages/rust.es.js.map +1 -1
- package/dist/node_modules/highlight.js/es/languages/scss.cjs +1 -1
- package/dist/node_modules/highlight.js/es/languages/scss.cjs.map +1 -1
- package/dist/node_modules/highlight.js/es/languages/scss.es.js +36 -25
- package/dist/node_modules/highlight.js/es/languages/scss.es.js.map +1 -1
- package/dist/node_modules/highlight.js/es/languages/shell.cjs +1 -1
- package/dist/node_modules/highlight.js/es/languages/shell.cjs.map +1 -1
- package/dist/node_modules/highlight.js/es/languages/shell.es.js +1 -1
- package/dist/node_modules/highlight.js/es/languages/shell.es.js.map +1 -1
- package/dist/node_modules/highlight.js/es/languages/typescript.cjs +1 -1
- package/dist/node_modules/highlight.js/es/languages/typescript.cjs.map +1 -1
- package/dist/node_modules/highlight.js/es/languages/typescript.es.js +4 -2
- package/dist/node_modules/highlight.js/es/languages/typescript.es.js.map +1 -1
- package/dist/node_modules/highlight.js/es/languages/xml.cjs +1 -1
- package/dist/node_modules/highlight.js/es/languages/xml.cjs.map +1 -1
- package/dist/node_modules/highlight.js/es/languages/xml.es.js +9 -16
- package/dist/node_modules/highlight.js/es/languages/xml.es.js.map +1 -1
- package/dist/node_modules/inline-style-parser/cjs/index.cjs +3 -0
- package/dist/node_modules/inline-style-parser/cjs/index.cjs.map +1 -0
- package/dist/node_modules/inline-style-parser/{index.es.js → cjs/index.es.js} +24 -24
- package/dist/node_modules/inline-style-parser/cjs/index.es.js.map +1 -0
- package/dist/node_modules/layout-base/layout-base.es.js +1 -1
- package/dist/node_modules/lowlight/lib/common.cjs +1 -1
- package/dist/node_modules/lowlight/lib/common.cjs.map +1 -1
- package/dist/node_modules/lowlight/lib/common.es.js +37 -37
- package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/core.cjs +1 -1
- package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/core.es.js +1 -1
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/arduino.cjs +2 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/arduino.cjs.map +1 -0
- package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/arduino.es.js +10 -14
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/arduino.es.js.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/bash.cjs +2 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/bash.cjs.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/bash.es.js +378 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/bash.es.js.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/c.cjs +2 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/c.cjs.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/c.es.js +278 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/c.es.js.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/cpp.cjs +2 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/cpp.cjs.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/cpp.es.js +518 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/cpp.es.js.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/csharp.cjs +2 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/csharp.cjs.map +1 -0
- package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/csharp.es.js +1 -1
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/csharp.es.js.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/css.cjs +2 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/css.cjs.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/css.es.js +930 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/css.es.js.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/diff.cjs +2 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/diff.cjs.map +1 -0
- package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/diff.es.js +10 -3
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/diff.es.js.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/go.cjs +2 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/go.cjs.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/go.es.js +152 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/go.es.js.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/graphql.cjs.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/graphql.es.js.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/ini.cjs.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/ini.es.js.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/java.cjs +2 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/java.cjs.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/java.es.js +241 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/java.es.js.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/javascript.cjs +2 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/javascript.cjs.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/javascript.es.js +660 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/javascript.es.js.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/json.cjs +2 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/json.cjs.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/json.es.js +45 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/json.es.js.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/kotlin.cjs.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/kotlin.es.js.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/less.cjs +2 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/less.cjs.map +1 -0
- package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/less.es.js +10 -4
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/less.es.js.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/lua.cjs +2 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/lua.cjs.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/lua.es.js +60 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/lua.es.js.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/makefile.cjs.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/makefile.es.js.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/markdown.cjs +2 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/markdown.cjs.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/markdown.es.js +217 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/markdown.es.js.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/objectivec.cjs.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/objectivec.es.js.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/perl.cjs.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/perl.es.js.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/php-template.cjs.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/php-template.es.js.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/php.cjs +3 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/php.cjs.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/php.es.js +573 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/php.es.js.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/plaintext.cjs +2 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/plaintext.cjs.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/plaintext.es.js +14 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/plaintext.es.js.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/python-repl.cjs.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/python-repl.es.js.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/python.cjs +2 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/python.cjs.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/python.es.js +400 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/python.es.js.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/r.cjs.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/r.es.js.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/ruby.cjs.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/ruby.es.js.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/rust.cjs +2 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/rust.cjs.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/rust.es.js +306 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/rust.es.js.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/scss.cjs +2 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/scss.cjs.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/scss.es.js +915 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/scss.es.js.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/shell.cjs +2 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/shell.cjs.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/shell.es.js +26 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/shell.es.js.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/sql.cjs +2 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/sql.cjs.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/sql.es.js +616 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/sql.es.js.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/swift.cjs.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/swift.es.js.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/typescript.cjs +2 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/typescript.cjs.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/typescript.es.js +755 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/typescript.es.js.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/vbnet.cjs.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/vbnet.es.js.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/wasm.cjs.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/wasm.es.js.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/xml.cjs +2 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/xml.cjs.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/xml.es.js +220 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/xml.es.js.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/yaml.cjs +2 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/yaml.cjs.map +1 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/yaml.es.js +184 -0
- package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/yaml.es.js.map +1 -0
- package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/lib/core.cjs +3 -3
- package/dist/node_modules/lowlight/node_modules/highlight.js/lib/core.cjs.map +1 -0
- package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/lib/core.es.js +66 -66
- package/dist/node_modules/lowlight/node_modules/highlight.js/lib/core.es.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/Icon.es.js +3 -3
- package/dist/node_modules/mdast-util-find-and-replace/lib/index.cjs +1 -1
- package/dist/node_modules/mdast-util-find-and-replace/lib/index.cjs.map +1 -1
- package/dist/node_modules/mdast-util-find-and-replace/lib/index.es.js +58 -56
- package/dist/node_modules/mdast-util-find-and-replace/lib/index.es.js.map +1 -1
- package/dist/node_modules/mdast-util-from-markdown/lib/index.cjs +1 -1
- package/dist/node_modules/mdast-util-from-markdown/lib/index.cjs.map +1 -1
- package/dist/node_modules/mdast-util-from-markdown/lib/index.es.js +274 -223
- package/dist/node_modules/mdast-util-from-markdown/lib/index.es.js.map +1 -1
- package/dist/node_modules/mdast-util-gfm-strikethrough/lib/index.cjs +1 -1
- package/dist/node_modules/mdast-util-gfm-strikethrough/lib/index.cjs.map +1 -1
- package/dist/node_modules/mdast-util-gfm-strikethrough/lib/index.es.js +21 -17
- package/dist/node_modules/mdast-util-gfm-strikethrough/lib/index.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-hast/lib/footer.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-hast/lib/footer.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/blockquote.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/blockquote.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/break.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/break.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/code.cjs +2 -2
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/code.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/code.es.js +7 -7
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/code.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/delete.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/delete.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/emphasis.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/emphasis.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/heading.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/heading.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/html.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/html.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/image-reference.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/image-reference.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/image.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/image.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/index.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/index.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/inline-code.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/inline-code.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/link-reference.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/link-reference.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/link.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/link.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/list-item.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/list-item.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/list.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/list.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/paragraph.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/paragraph.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/root.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/root.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/strong.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/strong.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-cell.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-cell.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-row.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-row.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/table.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/table.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/text.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/text.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/thematic-break.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/thematic-break.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-hast/lib/index.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-hast/lib/index.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-hast/lib/revert.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-hast/lib/revert.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-hast/lib/state.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-hast/lib/state.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/blockquote.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/blockquote.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/break.cjs +3 -3
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/break.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/break.es.js +9 -7
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/break.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/code.cjs +2 -2
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/code.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/code.es.js +6 -6
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/code.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/definition.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/definition.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/emphasis.cjs +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/emphasis.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/emphasis.es.js +17 -29
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/emphasis.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/heading.cjs +5 -5
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/heading.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/heading.es.js +12 -11
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/heading.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/html.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/html.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/image-reference.cjs +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/image-reference.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/image-reference.es.js +14 -12
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/image-reference.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/image.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/image.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/inline-code.cjs +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/inline-code.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/inline-code.es.js +6 -6
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/inline-code.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/link-reference.cjs +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/link-reference.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/link-reference.es.js +15 -13
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/link-reference.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/link.cjs +2 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/link.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/link.es.js +42 -32
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/link.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/list-item.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/list-item.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/list.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/list.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/paragraph.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/paragraph.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/root.cjs +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/root.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/root.es.js +8 -6
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/root.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/strong.cjs +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/strong.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/strong.es.js +17 -29
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/strong.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/text.cjs +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/text.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/text.es.js +8 -3
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/text.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/thematic-break.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/thematic-break.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/util/character.cjs +2 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/character.cjs.map +1 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/character.es.js +13 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/character.es.js.map +1 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet-ordered.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet-ordered.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet-other.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet-other.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-emphasis.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-emphasis.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-fence.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-fence.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-list-item-indent.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-list-item-indent.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-quote.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-quote.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-rule-repetition.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-rule-repetition.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-rule.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-rule.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-strong.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-strong.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/util/container-phrasing.cjs +4 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/container-phrasing.cjs.map +1 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/container-phrasing.es.js +263 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/container-phrasing.es.js.map +1 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/encode-info.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/util/encode-info.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/util/format-code-as-indented.cjs +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/util/format-code-as-indented.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/util/format-code-as-indented.es.js +2 -2
- package/dist/node_modules/mdast-util-to-markdown/lib/util/format-code-as-indented.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/util/format-heading-as-setext.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/util/format-heading-as-setext.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/util/format-link-as-autolink.cjs +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/util/format-link-as-autolink.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/util/format-link-as-autolink.es.js +2 -2
- package/dist/node_modules/mdast-util-to-markdown/lib/util/format-link-as-autolink.es.js.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/util/html-kind.cjs +2 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/html-kind.cjs.map +1 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/html-kind.es.js +22 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/html-kind.es.js.map +1 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/pattern-in-scope.cjs.map +1 -1
- package/dist/node_modules/mdast-util-to-markdown/lib/util/pattern-in-scope.es.js.map +1 -1
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/blockDiagram-VBNYF7ZC.cjs +2 -2
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/blockDiagram-VBNYF7ZC.es.js +4 -4
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/c4Diagram-5PPSVZJV.cjs +1 -1
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/c4Diagram-5PPSVZJV.es.js +1 -1
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-2GRJ4B5K.cjs +1 -1
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-2GRJ4B5K.es.js +1 -1
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-JQJVKLGR.cjs +2 -2
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-JQJVKLGR.es.js +4 -4
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-NSK5VX7P.cjs +1 -1
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-NSK5VX7P.es.js +1 -1
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-WRU74C26.es.js +3 -3
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-JCYQIIEL.cjs +1 -1
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-JCYQIIEL.es.js +1 -1
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-v2-OCEON4UE.cjs +1 -1
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-v2-OCEON4UE.es.js +1 -1
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/diagram-B4RE2ZJO.cjs +3 -3
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/diagram-B4RE2ZJO.es.js +4 -4
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/erDiagram-JOGREHBK.cjs +2 -2
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/erDiagram-JOGREHBK.es.js +4 -4
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/flowDiagram-UKHOOZJN.cjs +1 -1
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/flowDiagram-UKHOOZJN.es.js +5 -4
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/flowDiagram-UKHOOZJN.es.js.map +1 -1
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/ganttDiagram-PKOTCBZU.cjs +1 -1
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/ganttDiagram-PKOTCBZU.es.js +2 -2
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/mindmap-definition-FAOFIHXS.cjs +1 -1
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/mindmap-definition-FAOFIHXS.cjs.map +1 -1
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/mindmap-definition-FAOFIHXS.es.js +1 -1
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/quadrantDiagram-CIZ2JOQS.cjs +1 -1
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/quadrantDiagram-CIZ2JOQS.es.js +4 -4
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/sankeyDiagram-W5VNT64P.cjs +1 -1
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/sankeyDiagram-W5VNT64P.es.js +1 -1
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/sequenceDiagram-SI44F4Z6.cjs +1 -1
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/sequenceDiagram-SI44F4Z6.es.js +1 -1
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-OKZ733FA.cjs +1 -1
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-OKZ733FA.es.js +1 -1
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-v2-UEYNNEHI.cjs +1 -1
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-v2-UEYNNEHI.es.js +1 -1
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/swimlanesDiagram-ULZ7WXOC.cjs +1 -1
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/swimlanesDiagram-ULZ7WXOC.es.js +1 -1
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/vennDiagram-T6HMQDX7.cjs +1 -1
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/vennDiagram-T6HMQDX7.es.js +2 -2
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/xychartDiagram-ELKLHX3M.es.js +4 -4
- package/dist/node_modules/mermaid/dist/mermaid.core.cjs +1 -1
- package/dist/node_modules/mermaid/dist/mermaid.core.es.js +1 -1
- package/dist/node_modules/micromark/lib/constructs.cjs +1 -1
- package/dist/node_modules/micromark/lib/constructs.es.js +13 -13
- package/dist/node_modules/micromark-factory-space/index.cjs +1 -1
- package/dist/node_modules/micromark-factory-space/index.cjs.map +1 -1
- package/dist/node_modules/micromark-factory-space/index.es.js +9 -9
- package/dist/node_modules/micromark-factory-space/index.es.js.map +1 -1
- package/dist/node_modules/parse5/dist/parser/index.es.js +1 -1
- package/dist/node_modules/parse5/dist/tokenizer/index.cjs +1 -1
- package/dist/node_modules/parse5/dist/tokenizer/index.cjs.map +1 -1
- package/dist/node_modules/parse5/dist/tokenizer/index.es.js +2 -2
- package/dist/node_modules/parse5/node_modules/entities/dist/esm/decode-codepoint.cjs.map +1 -0
- package/dist/node_modules/parse5/node_modules/entities/dist/esm/decode-codepoint.es.js.map +1 -0
- package/dist/node_modules/parse5/node_modules/entities/dist/esm/decode.cjs.map +1 -0
- package/dist/node_modules/parse5/node_modules/entities/dist/esm/decode.es.js.map +1 -0
- package/dist/node_modules/parse5/node_modules/entities/dist/esm/generated/decode-data-html.cjs.map +1 -0
- package/dist/node_modules/parse5/node_modules/entities/dist/esm/generated/decode-data-html.es.js.map +1 -0
- package/dist/node_modules/property-information/lib/html.cjs +1 -1
- package/dist/node_modules/property-information/lib/html.cjs.map +1 -1
- package/dist/node_modules/property-information/lib/html.es.js +16 -6
- package/dist/node_modules/property-information/lib/html.es.js.map +1 -1
- package/dist/node_modules/property-information/lib/svg.cjs +1 -1
- package/dist/node_modules/property-information/lib/svg.cjs.map +1 -1
- package/dist/node_modules/property-information/lib/svg.es.js +4 -2
- package/dist/node_modules/property-information/lib/svg.es.js.map +1 -1
- package/dist/node_modules/rc-input/es/BaseInput.cjs +1 -1
- package/dist/node_modules/rc-input/es/BaseInput.es.js +1 -1
- package/dist/node_modules/rc-textarea/es/ResizableTextArea.cjs +1 -1
- package/dist/node_modules/rc-textarea/es/ResizableTextArea.es.js +1 -1
- package/dist/node_modules/rc-textarea/es/TextArea.cjs +1 -1
- package/dist/node_modules/rc-textarea/es/TextArea.es.js +1 -1
- package/dist/node_modules/rc-textarea/es/index.cjs +1 -1
- package/dist/node_modules/rc-textarea/es/index.es.js +1 -1
- package/dist/node_modules/rc-util/es/ref.es.js +1 -1
- package/dist/node_modules/rc-util/node_modules/react-is/index.es.js +1 -1
- package/dist/node_modules/react-i18next/dist/es/useTranslation.cjs +1 -1
- package/dist/node_modules/react-i18next/dist/es/useTranslation.es.js +7 -7
- package/dist/node_modules/remark-flow/dist/index.es.js +1 -1
- package/dist/node_modules/remark-flow/dist/interaction-parser.cjs.map +1 -1
- package/dist/node_modules/remark-flow/dist/interaction-parser.es.js +2 -2
- package/dist/node_modules/remark-flow/dist/interaction-parser.es.js.map +1 -1
- package/dist/node_modules/remark-flow/dist/interaction-plugin-core.cjs +1 -1
- package/dist/node_modules/remark-flow/dist/interaction-plugin-core.es.js +1 -1
- package/dist/node_modules/style-mod/src/style-mod.cjs +3 -3
- package/dist/node_modules/style-mod/src/style-mod.cjs.map +1 -1
- package/dist/node_modules/style-mod/src/style-mod.es.js +37 -35
- package/dist/node_modules/style-mod/src/style-mod.es.js.map +1 -1
- package/dist/node_modules/style-to-object/cjs/index.cjs +1 -1
- package/dist/node_modules/style-to-object/cjs/index.cjs.map +1 -1
- package/dist/node_modules/style-to-object/cjs/index.es.js +15 -15
- package/dist/node_modules/style-to-object/cjs/index.es.js.map +1 -1
- package/dist/node_modules/stylis/src/Parser.cjs +1 -1
- package/dist/node_modules/stylis/src/Parser.cjs.map +1 -1
- package/dist/node_modules/stylis/src/Parser.es.js +63 -52
- package/dist/node_modules/stylis/src/Parser.es.js.map +1 -1
- package/dist/node_modules/stylis/src/Utility.cjs +1 -1
- package/dist/node_modules/stylis/src/Utility.cjs.map +1 -1
- package/dist/node_modules/stylis/src/Utility.es.js +20 -24
- package/dist/node_modules/stylis/src/Utility.es.js.map +1 -1
- package/dist/node_modules/tailwind-merge/dist/bundle-mjs.cjs +1 -1
- package/dist/node_modules/tailwind-merge/dist/bundle-mjs.cjs.map +1 -1
- package/dist/node_modules/tailwind-merge/dist/bundle-mjs.es.js +828 -561
- package/dist/node_modules/tailwind-merge/dist/bundle-mjs.es.js.map +1 -1
- package/dist/node_modules/ts-dedent/esm/index.cjs +5 -5
- package/dist/node_modules/ts-dedent/esm/index.cjs.map +1 -1
- package/dist/node_modules/ts-dedent/esm/index.es.js +20 -21
- package/dist/node_modules/ts-dedent/esm/index.es.js.map +1 -1
- package/dist/node_modules/unified/lib/index.es.js +1 -1
- package/dist/node_modules/unist-util-is/lib/index.cjs.map +1 -1
- package/dist/node_modules/unist-util-is/lib/index.es.js +8 -1
- package/dist/node_modules/unist-util-is/lib/index.es.js.map +1 -1
- package/dist/node_modules/unist-util-visit/lib/index.cjs +1 -1
- package/dist/node_modules/unist-util-visit/lib/index.cjs.map +1 -1
- package/dist/node_modules/unist-util-visit/lib/index.es.js +22 -12
- package/dist/node_modules/unist-util-visit/lib/index.es.js.map +1 -1
- package/dist/node_modules/unist-util-visit-parents/lib/color.cjs.map +1 -1
- package/dist/node_modules/unist-util-visit-parents/lib/color.es.js.map +1 -1
- package/dist/node_modules/unist-util-visit-parents/lib/index.cjs +1 -1
- package/dist/node_modules/unist-util-visit-parents/lib/index.cjs.map +1 -1
- package/dist/node_modules/unist-util-visit-parents/lib/index.es.js +72 -37
- package/dist/node_modules/unist-util-visit-parents/lib/index.es.js.map +1 -1
- package/dist/node_modules/uuid/dist/rng.cjs +2 -0
- package/dist/node_modules/uuid/dist/rng.cjs.map +1 -0
- package/dist/node_modules/uuid/dist/rng.es.js +8 -0
- package/dist/node_modules/uuid/dist/rng.es.js.map +1 -0
- package/dist/node_modules/uuid/dist/stringify.cjs.map +1 -0
- package/dist/node_modules/uuid/dist/stringify.es.js.map +1 -0
- package/dist/node_modules/uuid/dist/v4.cjs +2 -0
- package/dist/node_modules/uuid/dist/v4.cjs.map +1 -0
- package/dist/node_modules/uuid/dist/v4.es.js +16 -0
- package/dist/node_modules/uuid/dist/v4.es.js.map +1 -0
- package/dist/renderer.cjs +1 -1
- package/dist/renderer.es.js +3 -3
- package/dist/scroll.cjs +1 -1
- package/dist/scroll.es.js +2 -2
- package/package.json +18 -14
- package/dist/_virtual/advancedFormat.es2.js.map +0 -1
- package/dist/_virtual/cose-base.es2.js.map +0 -1
- package/dist/_virtual/customParseFormat.es2.js.map +0 -1
- package/dist/_virtual/cytoscape-cose-bilkent.es2.js +0 -5
- package/dist/_virtual/cytoscape-cose-bilkent.es2.js.map +0 -1
- package/dist/_virtual/cytoscape-fcose.es2.js.map +0 -1
- package/dist/_virtual/dayjs.min.es2.js.map +0 -1
- package/dist/_virtual/dayjs.min2.cjs.map +0 -1
- package/dist/_virtual/duration.es2.js.map +0 -1
- package/dist/_virtual/index.es10.js.map +0 -1
- package/dist/_virtual/index.es11.js.map +0 -1
- package/dist/_virtual/index.es12.js.map +0 -1
- package/dist/_virtual/index.es2.js.map +0 -1
- package/dist/_virtual/index.es3.js.map +0 -1
- package/dist/_virtual/index.es4.js.map +0 -1
- package/dist/_virtual/index.es5.js.map +0 -1
- package/dist/_virtual/index.es6.js.map +0 -1
- package/dist/_virtual/index.es7.js.map +0 -1
- package/dist/_virtual/index.es8.js.map +0 -1
- package/dist/_virtual/index.es9.js.map +0 -1
- package/dist/_virtual/isoWeek.es2.js.map +0 -1
- package/dist/_virtual/layout-base.es2.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-arrow/dist/index.cjs +0 -2
- package/dist/node_modules/@radix-ui/react-arrow/dist/index.cjs.map +0 -1
- package/dist/node_modules/@radix-ui/react-arrow/dist/index.es.js +0 -25
- package/dist/node_modules/@radix-ui/react-arrow/dist/index.es.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/primitive/dist/index.cjs.map +0 -1
- package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/primitive/dist/index.es.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-compose-refs/dist/index.cjs +0 -2
- package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-compose-refs/dist/index.cjs.map +0 -1
- package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-compose-refs/dist/index.es.js +0 -34
- package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-compose-refs/dist/index.es.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-context/dist/index.cjs.map +0 -1
- package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-context/dist/index.es.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-dismissable-layer/dist/index.cjs +0 -2
- package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-dismissable-layer/dist/index.cjs.map +0 -1
- package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-dismissable-layer/dist/index.es.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-id/dist/index.cjs +0 -2
- package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-id/dist/index.cjs.map +0 -1
- package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-id/dist/index.es.js +0 -15
- package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-id/dist/index.es.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-portal/dist/index.cjs +0 -2
- package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-portal/dist/index.cjs.map +0 -1
- package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-portal/dist/index.es.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-presence/dist/index.cjs +0 -2
- package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-presence/dist/index.cjs.map +0 -1
- package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-presence/dist/index.es.js +0 -104
- package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-presence/dist/index.es.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-primitive/dist/index.cjs +0 -2
- package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-primitive/dist/index.cjs.map +0 -1
- package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-primitive/dist/index.es.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-use-callback-ref/dist/index.cjs +0 -2
- package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-use-callback-ref/dist/index.cjs.map +0 -1
- package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-use-callback-ref/dist/index.es.js +0 -13
- package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-use-callback-ref/dist/index.es.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-use-controllable-state/dist/index.cjs +0 -2
- package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-use-controllable-state/dist/index.cjs.map +0 -1
- package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-use-controllable-state/dist/index.es.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-use-effect-event/dist/index.cjs.map +0 -1
- package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-use-effect-event/dist/index.es.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-use-layout-effect/dist/index.cjs +0 -2
- package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-use-layout-effect/dist/index.cjs.map +0 -1
- package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-use-layout-effect/dist/index.es.js +0 -7
- package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-use-layout-effect/dist/index.es.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-focus-scope/node_modules/@radix-ui/react-compose-refs/dist/index.cjs +0 -2
- package/dist/node_modules/@radix-ui/react-focus-scope/node_modules/@radix-ui/react-compose-refs/dist/index.cjs.map +0 -1
- package/dist/node_modules/@radix-ui/react-focus-scope/node_modules/@radix-ui/react-compose-refs/dist/index.es.js +0 -34
- package/dist/node_modules/@radix-ui/react-focus-scope/node_modules/@radix-ui/react-compose-refs/dist/index.es.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-focus-scope/node_modules/@radix-ui/react-primitive/dist/index.cjs +0 -2
- package/dist/node_modules/@radix-ui/react-focus-scope/node_modules/@radix-ui/react-primitive/dist/index.cjs.map +0 -1
- package/dist/node_modules/@radix-ui/react-focus-scope/node_modules/@radix-ui/react-primitive/dist/index.es.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-focus-scope/node_modules/@radix-ui/react-use-callback-ref/dist/index.cjs +0 -2
- package/dist/node_modules/@radix-ui/react-focus-scope/node_modules/@radix-ui/react-use-callback-ref/dist/index.cjs.map +0 -1
- package/dist/node_modules/@radix-ui/react-focus-scope/node_modules/@radix-ui/react-use-callback-ref/dist/index.es.js +0 -13
- package/dist/node_modules/@radix-ui/react-focus-scope/node_modules/@radix-ui/react-use-callback-ref/dist/index.es.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-popper/dist/index.cjs +0 -2
- package/dist/node_modules/@radix-ui/react-popper/dist/index.cjs.map +0 -1
- package/dist/node_modules/@radix-ui/react-popper/dist/index.es.js +0 -220
- package/dist/node_modules/@radix-ui/react-popper/dist/index.es.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-primitive/node_modules/@radix-ui/react-slot/dist/index.cjs +0 -2
- package/dist/node_modules/@radix-ui/react-primitive/node_modules/@radix-ui/react-slot/dist/index.cjs.map +0 -1
- package/dist/node_modules/@radix-ui/react-primitive/node_modules/@radix-ui/react-slot/dist/index.es.js +0 -50
- package/dist/node_modules/@radix-ui/react-primitive/node_modules/@radix-ui/react-slot/dist/index.es.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-slot/node_modules/@radix-ui/react-compose-refs/dist/index.cjs +0 -2
- package/dist/node_modules/@radix-ui/react-slot/node_modules/@radix-ui/react-compose-refs/dist/index.cjs.map +0 -1
- package/dist/node_modules/@radix-ui/react-slot/node_modules/@radix-ui/react-compose-refs/dist/index.es.js +0 -34
- package/dist/node_modules/@radix-ui/react-slot/node_modules/@radix-ui/react-compose-refs/dist/index.es.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-use-escape-keydown/dist/index.cjs +0 -2
- package/dist/node_modules/@radix-ui/react-use-escape-keydown/dist/index.cjs.map +0 -1
- package/dist/node_modules/@radix-ui/react-use-escape-keydown/dist/index.es.js +0 -15
- package/dist/node_modules/@radix-ui/react-use-escape-keydown/dist/index.es.js.map +0 -1
- package/dist/node_modules/entities/dist/esm/decode-codepoint.cjs.map +0 -1
- package/dist/node_modules/entities/dist/esm/decode-codepoint.es.js.map +0 -1
- package/dist/node_modules/entities/dist/esm/decode.cjs.map +0 -1
- package/dist/node_modules/entities/dist/esm/decode.es.js.map +0 -1
- package/dist/node_modules/entities/dist/esm/generated/decode-data-html.cjs.map +0 -1
- package/dist/node_modules/entities/dist/esm/generated/decode-data-html.es.js.map +0 -1
- package/dist/node_modules/hast-util-is-element/lib/index.cjs +0 -2
- package/dist/node_modules/hast-util-is-element/lib/index.cjs.map +0 -1
- package/dist/node_modules/hast-util-is-element/lib/index.es.js +0 -66
- package/dist/node_modules/hast-util-is-element/lib/index.es.js.map +0 -1
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/index.cjs +0 -2
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/index.cjs.map +0 -1
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/index.es.js +0 -13
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/index.es.js.map +0 -1
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/aria.cjs +0 -2
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/aria.cjs.map +0 -1
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/aria.es.js +0 -62
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/aria.es.js.map +0 -1
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/find.cjs +0 -2
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/find.cjs.map +0 -1
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/find.es.js +0 -34
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/find.es.js.map +0 -1
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/html.cjs +0 -2
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/html.cjs.map +0 -1
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/html.es.js +0 -369
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/html.es.js.map +0 -1
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/normalize.cjs +0 -2
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/normalize.cjs.map +0 -1
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/normalize.es.js +0 -7
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/normalize.es.js.map +0 -1
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/svg.cjs +0 -2
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/svg.cjs.map +0 -1
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/svg.es.js +0 -567
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/svg.es.js.map +0 -1
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/case-insensitive-transform.cjs +0 -2
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/case-insensitive-transform.cjs.map +0 -1
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/case-insensitive-transform.es.js +0 -8
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/case-insensitive-transform.es.js.map +0 -1
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/case-sensitive-transform.cjs +0 -2
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/case-sensitive-transform.cjs.map +0 -1
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/case-sensitive-transform.es.js +0 -7
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/case-sensitive-transform.es.js.map +0 -1
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/create.cjs +0 -2
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/create.cjs.map +0 -1
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/create.es.js +0 -23
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/create.es.js.map +0 -1
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/defined-info.cjs +0 -2
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/defined-info.cjs.map +0 -1
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/defined-info.es.js +0 -28
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/defined-info.es.js.map +0 -1
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/info.cjs +0 -2
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/info.cjs.map +0 -1
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/info.es.js +0 -24
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/info.es.js.map +0 -1
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/merge.cjs +0 -2
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/merge.cjs.map +0 -1
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/merge.es.js +0 -12
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/merge.es.js.map +0 -1
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/schema.cjs +0 -2
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/schema.cjs.map +0 -1
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/schema.es.js +0 -18
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/schema.es.js.map +0 -1
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/types.cjs +0 -2
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/types.cjs.map +0 -1
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/types.es.js +0 -15
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/types.es.js.map +0 -1
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/xlink.cjs +0 -2
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/xlink.cjs.map +0 -1
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/xlink.es.js +0 -20
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/xlink.es.js.map +0 -1
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/xml.cjs +0 -2
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/xml.cjs.map +0 -1
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/xml.es.js +0 -12
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/xml.es.js.map +0 -1
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/xmlns.cjs +0 -2
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/xmlns.cjs.map +0 -1
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/xmlns.es.js +0 -12
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/xmlns.es.js.map +0 -1
- package/dist/node_modules/highlight.js/es/languages/arduino.cjs +0 -2
- package/dist/node_modules/highlight.js/es/languages/arduino.cjs.map +0 -1
- package/dist/node_modules/highlight.js/es/languages/arduino.es.js.map +0 -1
- package/dist/node_modules/highlight.js/es/languages/csharp.cjs +0 -2
- package/dist/node_modules/highlight.js/es/languages/csharp.cjs.map +0 -1
- package/dist/node_modules/highlight.js/es/languages/csharp.es.js.map +0 -1
- package/dist/node_modules/highlight.js/es/languages/diff.cjs +0 -2
- package/dist/node_modules/highlight.js/es/languages/diff.cjs.map +0 -1
- package/dist/node_modules/highlight.js/es/languages/diff.es.js.map +0 -1
- package/dist/node_modules/highlight.js/es/languages/graphql.cjs.map +0 -1
- package/dist/node_modules/highlight.js/es/languages/graphql.es.js.map +0 -1
- package/dist/node_modules/highlight.js/es/languages/ini.cjs.map +0 -1
- package/dist/node_modules/highlight.js/es/languages/ini.es.js.map +0 -1
- package/dist/node_modules/highlight.js/es/languages/kotlin.cjs.map +0 -1
- package/dist/node_modules/highlight.js/es/languages/kotlin.es.js.map +0 -1
- package/dist/node_modules/highlight.js/es/languages/less.cjs +0 -2
- package/dist/node_modules/highlight.js/es/languages/less.cjs.map +0 -1
- package/dist/node_modules/highlight.js/es/languages/less.es.js.map +0 -1
- package/dist/node_modules/highlight.js/es/languages/makefile.cjs.map +0 -1
- package/dist/node_modules/highlight.js/es/languages/makefile.es.js.map +0 -1
- package/dist/node_modules/highlight.js/es/languages/objectivec.cjs.map +0 -1
- package/dist/node_modules/highlight.js/es/languages/objectivec.es.js.map +0 -1
- package/dist/node_modules/highlight.js/es/languages/perl.cjs.map +0 -1
- package/dist/node_modules/highlight.js/es/languages/perl.es.js.map +0 -1
- package/dist/node_modules/highlight.js/es/languages/php-template.cjs.map +0 -1
- package/dist/node_modules/highlight.js/es/languages/php-template.es.js.map +0 -1
- package/dist/node_modules/highlight.js/es/languages/python-repl.cjs.map +0 -1
- package/dist/node_modules/highlight.js/es/languages/python-repl.es.js.map +0 -1
- package/dist/node_modules/highlight.js/es/languages/r.cjs.map +0 -1
- package/dist/node_modules/highlight.js/es/languages/r.es.js.map +0 -1
- package/dist/node_modules/highlight.js/es/languages/ruby.cjs.map +0 -1
- package/dist/node_modules/highlight.js/es/languages/ruby.es.js.map +0 -1
- package/dist/node_modules/highlight.js/es/languages/swift.cjs.map +0 -1
- package/dist/node_modules/highlight.js/es/languages/swift.es.js.map +0 -1
- package/dist/node_modules/highlight.js/es/languages/vbnet.cjs.map +0 -1
- package/dist/node_modules/highlight.js/es/languages/vbnet.es.js.map +0 -1
- package/dist/node_modules/highlight.js/es/languages/wasm.cjs.map +0 -1
- package/dist/node_modules/highlight.js/es/languages/wasm.es.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/core.cjs.map +0 -1
- package/dist/node_modules/highlight.js/lib/core.es.js.map +0 -1
- package/dist/node_modules/inline-style-parser/index.cjs +0 -3
- package/dist/node_modules/inline-style-parser/index.cjs.map +0 -1
- package/dist/node_modules/inline-style-parser/index.es.js.map +0 -1
- package/dist/node_modules/unist-util-find-after/lib/index.cjs +0 -2
- package/dist/node_modules/unist-util-find-after/lib/index.cjs.map +0 -1
- package/dist/node_modules/unist-util-find-after/lib/index.es.js +0 -33
- package/dist/node_modules/unist-util-find-after/lib/index.es.js.map +0 -1
- package/dist/node_modules/uuid/dist/esm-browser/native.cjs +0 -2
- package/dist/node_modules/uuid/dist/esm-browser/native.cjs.map +0 -1
- package/dist/node_modules/uuid/dist/esm-browser/native.es.js +0 -5
- package/dist/node_modules/uuid/dist/esm-browser/native.es.js.map +0 -1
- package/dist/node_modules/uuid/dist/esm-browser/rng.cjs +0 -2
- package/dist/node_modules/uuid/dist/esm-browser/rng.cjs.map +0 -1
- package/dist/node_modules/uuid/dist/esm-browser/rng.es.js +0 -14
- package/dist/node_modules/uuid/dist/esm-browser/rng.es.js.map +0 -1
- package/dist/node_modules/uuid/dist/esm-browser/stringify.cjs.map +0 -1
- package/dist/node_modules/uuid/dist/esm-browser/stringify.es.js.map +0 -1
- package/dist/node_modules/uuid/dist/esm-browser/v4.cjs +0 -2
- package/dist/node_modules/uuid/dist/esm-browser/v4.cjs.map +0 -1
- package/dist/node_modules/uuid/dist/esm-browser/v4.es.js +0 -16
- package/dist/node_modules/uuid/dist/esm-browser/v4.es.js.map +0 -1
- /package/dist/node_modules/@radix-ui/{react-dialog → react-tooltip}/node_modules/@radix-ui/primitive/dist/index.cjs +0 -0
- /package/dist/node_modules/@radix-ui/{react-dialog → react-tooltip}/node_modules/@radix-ui/primitive/dist/index.es.js +0 -0
- /package/dist/node_modules/@radix-ui/{react-dialog → react-tooltip}/node_modules/@radix-ui/react-context/dist/index.cjs +0 -0
- /package/dist/node_modules/@radix-ui/{react-dialog → react-tooltip}/node_modules/@radix-ui/react-context/dist/index.es.js +0 -0
- /package/dist/node_modules/@radix-ui/{react-dialog/node_modules/@radix-ui/react-use-effect-event → react-use-effect-event}/dist/index.cjs +0 -0
- /package/dist/node_modules/@radix-ui/{react-dialog/node_modules/@radix-ui/react-use-effect-event → react-use-effect-event}/dist/index.es.js +0 -0
- /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/core.cjs.map +0 -0
- /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/core.es.js.map +0 -0
- /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/graphql.cjs +0 -0
- /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/graphql.es.js +0 -0
- /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/ini.cjs +0 -0
- /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/ini.es.js +0 -0
- /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/kotlin.cjs +0 -0
- /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/kotlin.es.js +0 -0
- /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/makefile.cjs +0 -0
- /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/makefile.es.js +0 -0
- /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/objectivec.cjs +0 -0
- /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/objectivec.es.js +0 -0
- /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/perl.cjs +0 -0
- /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/perl.es.js +0 -0
- /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/php-template.cjs +0 -0
- /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/php-template.es.js +0 -0
- /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/python-repl.cjs +0 -0
- /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/python-repl.es.js +0 -0
- /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/r.cjs +0 -0
- /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/r.es.js +0 -0
- /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/ruby.cjs +0 -0
- /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/ruby.es.js +0 -0
- /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/swift.cjs +0 -0
- /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/swift.es.js +0 -0
- /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/vbnet.cjs +0 -0
- /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/vbnet.es.js +0 -0
- /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/wasm.cjs +0 -0
- /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/wasm.es.js +0 -0
- /package/dist/node_modules/{entities → parse5/node_modules/entities}/dist/esm/decode-codepoint.cjs +0 -0
- /package/dist/node_modules/{entities → parse5/node_modules/entities}/dist/esm/decode-codepoint.es.js +0 -0
- /package/dist/node_modules/{entities → parse5/node_modules/entities}/dist/esm/decode.cjs +0 -0
- /package/dist/node_modules/{entities → parse5/node_modules/entities}/dist/esm/decode.es.js +0 -0
- /package/dist/node_modules/{entities → parse5/node_modules/entities}/dist/esm/generated/decode-data-html.cjs +0 -0
- /package/dist/node_modules/{entities → parse5/node_modules/entities}/dist/esm/generated/decode-data-html.es.js +0 -0
- /package/dist/node_modules/uuid/dist/{esm-browser/stringify.cjs → stringify.cjs} +0 -0
- /package/dist/node_modules/uuid/dist/{esm-browser/stringify.es.js → stringify.es.js} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MarkdownFlowInput.es.js","sources":["../../../src/components/ContentRender/MarkdownFlowInput.tsx"],"sourcesContent":["import React from \"react\";\n\nimport sendIconDisable from \"@/assets/icons/send_disable.svg\";\nimport sendIconEnable from \"@/assets/icons/send_enable.svg\";\n\nimport {\n InputGroup,\n InputGroupButton,\n InputGroupTextarea,\n} from \"../ui/inputGroup/input-group\";\nimport {\n getMarkdownFlowDirection,\n getMarkdownFlowLanguage,\n type MarkdownFlowLocale,\n} from \"../../lib/locale\";\nimport { getContentRenderLocaleTexts } from \"./contentRenderI18n\";\n\ntype MarkdownFlowInputSendShortcut = \"enter\" | \"none\";\n\ninterface MarkdownFlowInputProps {\n /** Overrides locale-derived input direction. */\n dir?: React.HTMLAttributes<HTMLDivElement>[\"dir\"];\n disabled?: boolean;\n locale?: MarkdownFlowLocale;\n /** Overrides the locale-derived language. */\n lang?: string;\n placeholder?: string;\n sendButtonLabel?: string;\n value?: string;\n title?: string;\n onChange?: (event: React.ChangeEvent<HTMLTextAreaElement>) => void;\n onSend?: () => void;\n /**\n * Keyboard policy for sending a multi-line input. `enter` sends on Enter\n * while Shift+Enter keeps its native newline behavior. `none` leaves Enter\n * untouched, which lets mobile consumers reserve the keyboard return key\n * for newlines.\n */\n sendShortcut?: MarkdownFlowInputSendShortcut;\n className?: string;\n textareaClassName?: string;\n}\n\nconst resolveAssetSrc = (asset: string | { src: string }) =>\n typeof asset === \"string\" ? asset : asset.src;\n\nconst MarkdownFlowInput: React.FC<MarkdownFlowInputProps> = ({\n disabled,\n locale,\n lang,\n dir,\n placeholder,\n sendButtonLabel,\n value,\n title,\n onChange,\n onSend,\n sendShortcut = \"enter\",\n className,\n textareaClassName,\n}) => {\n const localeTexts = getContentRenderLocaleTexts(locale);\n const resolvedSendButtonLabel =\n sendButtonLabel || localeTexts.sendButtonLabel;\n const isSendDisabled = disabled || !value?.trim();\n const handleKeyDown = (e: React.KeyboardEvent<HTMLTextAreaElement>) => {\n if (sendShortcut !== \"enter\" || !onSend) {\n return;\n }\n if (e.nativeEvent.isComposing || e.keyCode === 229) {\n return;\n }\n if (e.key === \"Enter\" && !e.shiftKey) {\n e.preventDefault();\n if (!isSendDisabled) {\n onSend();\n }\n }\n };\n\n return (\n <InputGroup\n dir={dir ?? getMarkdownFlowDirection(locale)}\n lang={lang ?? getMarkdownFlowLanguage(locale)}\n data-disabled={disabled}\n className={`input-container h-auto items-end bg-white border-[#e5e5e5] shadow-[0_1px_2px_rgba(0,0,0,0.05)] ${className || \"\"}`}\n >\n <InputGroupTextarea\n disabled={disabled}\n placeholder={placeholder}\n value={value}\n onChange={onChange}\n onKeyDown={handleKeyDown}\n className={`text-[16px] leading-5 font-normal text-[#0A0A0A] placeholder:text-[rgba(99,114,128,1)] bg-transparent border-0 shadow-none ps-3 pe-0 py-1.5 min-h-[32px] ${textareaClassName || \"\"}`}\n title={title}\n />\n <InputGroupButton\n type=\"button\"\n variant=\"ghost\"\n size=\"icon-sm\"\n onClick={onSend}\n disabled={isSendDisabled}\n aria-label={resolvedSendButtonLabel}\n style={{\n margin: \"0px 7px 4px 7px\",\n cursor: isSendDisabled ? \"not-allowed\" : \"pointer\",\n }}\n className=\"size-6 group self-end mb-[2px]\"\n >\n <img\n src={resolveAssetSrc(\n isSendDisabled ? sendIconDisable : sendIconEnable\n )}\n alt={resolvedSendButtonLabel}\n className=\"size-6\"\n />\n </InputGroupButton>\n </InputGroup>\n );\n};\n\nexport type { MarkdownFlowInputProps, MarkdownFlowInputSendShortcut };\nexport default MarkdownFlowInput;\n"],"names":["resolveAssetSrc","asset","MarkdownFlowInput","disabled","locale","lang","dir","placeholder","sendButtonLabel","value","title","onChange","onSend","sendShortcut","className","textareaClassName","localeTexts","getContentRenderLocaleTexts","resolvedSendButtonLabel","isSendDisabled","handleKeyDown","e","jsxs","InputGroup","getMarkdownFlowDirection","getMarkdownFlowLanguage","jsx","InputGroupTextarea","InputGroupButton","sendIconDisable","sendIconEnable"],"mappings":"
|
|
1
|
+
{"version":3,"file":"MarkdownFlowInput.es.js","sources":["../../../src/components/ContentRender/MarkdownFlowInput.tsx"],"sourcesContent":["import React from \"react\";\n\nimport sendIconDisable from \"@/assets/icons/send_disable.svg\";\nimport sendIconEnable from \"@/assets/icons/send_enable.svg\";\n\nimport {\n InputGroup,\n InputGroupButton,\n InputGroupTextarea,\n} from \"../ui/inputGroup/input-group\";\nimport {\n getMarkdownFlowDirection,\n getMarkdownFlowLanguage,\n type MarkdownFlowLocale,\n} from \"../../lib/locale\";\nimport { getContentRenderLocaleTexts } from \"./contentRenderI18n\";\nimport { acceptPlaceholder } from \"./utils/accept-placeholder\";\n\ntype MarkdownFlowInputSendShortcut = \"enter\" | \"none\";\n\ninterface MarkdownFlowInputProps {\n /** Overrides locale-derived input direction. */\n dir?: React.HTMLAttributes<HTMLDivElement>[\"dir\"];\n disabled?: boolean;\n locale?: MarkdownFlowLocale;\n /** Overrides the locale-derived language. */\n lang?: string;\n placeholder?: string;\n sendButtonLabel?: string;\n value?: string;\n title?: string;\n onChange?: (event: React.ChangeEvent<HTMLTextAreaElement>) => void;\n onSend?: () => void;\n /** Enables Tab completion of an empty input; the host must update its value. */\n onAcceptPlaceholder?: (value: string) => void;\n /**\n * Keyboard policy for sending a multi-line input. `enter` sends on Enter\n * while Shift+Enter keeps its native newline behavior. `none` leaves Enter\n * untouched, which lets mobile consumers reserve the keyboard return key\n * for newlines.\n */\n sendShortcut?: MarkdownFlowInputSendShortcut;\n className?: string;\n textareaClassName?: string;\n}\n\nconst resolveAssetSrc = (asset: string | { src: string }) =>\n typeof asset === \"string\" ? asset : asset.src;\n\nconst MarkdownFlowInput: React.FC<MarkdownFlowInputProps> = ({\n disabled,\n locale,\n lang,\n dir,\n placeholder,\n sendButtonLabel,\n value,\n title,\n onChange,\n onSend,\n onAcceptPlaceholder,\n sendShortcut = \"enter\",\n className,\n textareaClassName,\n}) => {\n const localeTexts = getContentRenderLocaleTexts(locale);\n const resolvedSendButtonLabel =\n sendButtonLabel || localeTexts.sendButtonLabel;\n const isSendDisabled = disabled || !value?.trim();\n const handleKeyDown = (e: React.KeyboardEvent<HTMLTextAreaElement>) => {\n if (acceptPlaceholder(e, placeholder, disabled, onAcceptPlaceholder)) {\n return;\n }\n if (sendShortcut !== \"enter\" || !onSend) {\n return;\n }\n if (e.nativeEvent.isComposing || e.keyCode === 229) {\n return;\n }\n if (e.key === \"Enter\" && !e.shiftKey) {\n e.preventDefault();\n if (!isSendDisabled) {\n onSend();\n }\n }\n };\n\n return (\n <InputGroup\n dir={dir ?? getMarkdownFlowDirection(locale)}\n lang={lang ?? getMarkdownFlowLanguage(locale)}\n data-disabled={disabled}\n className={`input-container h-auto items-end bg-white border-[#e5e5e5] shadow-[0_1px_2px_rgba(0,0,0,0.05)] ${className || \"\"}`}\n >\n <InputGroupTextarea\n disabled={disabled}\n placeholder={placeholder}\n value={value}\n onChange={onChange}\n onKeyDown={handleKeyDown}\n className={`text-[16px] leading-5 font-normal text-[#0A0A0A] placeholder:text-[rgba(99,114,128,1)] bg-transparent border-0 shadow-none ps-3 pe-0 py-1.5 min-h-[32px] ${textareaClassName || \"\"}`}\n title={title}\n />\n <InputGroupButton\n type=\"button\"\n variant=\"ghost\"\n size=\"icon-sm\"\n onClick={onSend}\n disabled={isSendDisabled}\n aria-label={resolvedSendButtonLabel}\n style={{\n margin: \"0px 7px 4px 7px\",\n cursor: isSendDisabled ? \"not-allowed\" : \"pointer\",\n }}\n className=\"size-6 group self-end mb-[2px]\"\n >\n <img\n src={resolveAssetSrc(\n isSendDisabled ? sendIconDisable : sendIconEnable\n )}\n alt={resolvedSendButtonLabel}\n className=\"size-6\"\n />\n </InputGroupButton>\n </InputGroup>\n );\n};\n\nexport type { MarkdownFlowInputProps, MarkdownFlowInputSendShortcut };\nexport default MarkdownFlowInput;\n"],"names":["resolveAssetSrc","asset","MarkdownFlowInput","disabled","locale","lang","dir","placeholder","sendButtonLabel","value","title","onChange","onSend","onAcceptPlaceholder","sendShortcut","className","textareaClassName","localeTexts","getContentRenderLocaleTexts","resolvedSendButtonLabel","isSendDisabled","handleKeyDown","e","acceptPlaceholder","jsxs","InputGroup","getMarkdownFlowDirection","getMarkdownFlowLanguage","jsx","InputGroupTextarea","InputGroupButton","sendIconDisable","sendIconEnable"],"mappings":";;;;;;;AA8CA,MAAMA,IAAkB,CAACC,MACvB,OAAOA,KAAU,WAAWA,IAAQA,EAAM,KAEtCC,IAAsD,CAAC;AAAA,EAC3D,UAAAC;AAAA,EACA,QAAAC;AAAA,EACA,MAAAC;AAAA,EACA,KAAAC;AAAA,EACA,aAAAC;AAAA,EACA,iBAAAC;AAAA,EACA,OAAAC;AAAA,EACA,OAAAC;AAAA,EACA,UAAAC;AAAA,EACA,QAAAC;AAAA,EACA,qBAAAC;AAAA,EACA,cAAAC,IAAe;AAAA,EACf,WAAAC;AAAA,EACA,mBAAAC;AACF,MAAM;AACJ,QAAMC,IAAcC,EAA4Bd,CAAM,GAChDe,IACJX,KAAmBS,EAAY,iBAC3BG,IAAiBjB,KAAY,CAACM,GAAO,KAAA,GACrCY,IAAgB,CAACC,MAAgD;AACrE,IAAIC,EAAkBD,GAAGf,GAAaJ,GAAUU,CAAmB,KAG/DC,MAAiB,WAAW,CAACF,KAG7BU,EAAE,YAAY,eAAeA,EAAE,YAAY,OAG3CA,EAAE,QAAQ,WAAW,CAACA,EAAE,aAC1BA,EAAE,eAAA,GACGF,KACHR,EAAA;AAAA,EAGN;AAEA,SACE,gBAAAY;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,KAAKnB,KAAOoB,EAAyBtB,CAAM;AAAA,MAC3C,MAAMC,KAAQsB,EAAwBvB,CAAM;AAAA,MAC5C,iBAAeD;AAAA,MACf,WAAW,kGAAkGY,KAAa,EAAE;AAAA,MAE5H,UAAA;AAAA,QAAA,gBAAAa;AAAA,UAACC;AAAA,UAAA;AAAA,YACC,UAAA1B;AAAA,YACA,aAAAI;AAAA,YACA,OAAAE;AAAA,YACA,UAAAE;AAAA,YACA,WAAWU;AAAA,YACX,WAAW,4JAA4JL,KAAqB,EAAE;AAAA,YAC9L,OAAAN;AAAA,UAAA;AAAA,QAAA;AAAA,QAEF,gBAAAkB;AAAA,UAACE;AAAA,UAAA;AAAA,YACC,MAAK;AAAA,YACL,SAAQ;AAAA,YACR,MAAK;AAAA,YACL,SAASlB;AAAA,YACT,UAAUQ;AAAA,YACV,cAAYD;AAAA,YACZ,OAAO;AAAA,cACL,QAAQ;AAAA,cACR,QAAQC,IAAiB,gBAAgB;AAAA,YAAA;AAAA,YAE3C,WAAU;AAAA,YAEV,UAAA,gBAAAQ;AAAA,cAAC;AAAA,cAAA;AAAA,gBACC,KAAK5B;AAAA,kBACHoB,IAAiBW,IAAkBC;AAAA,gBAAA;AAAA,gBAErC,KAAKb;AAAA,gBACL,WAAU;AAAA,cAAA;AAAA,YAAA;AAAA,UACZ;AAAA,QAAA;AAAA,MACF;AAAA,IAAA;AAAA,EAAA;AAGN;"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const s=require("react/jsx-runtime"),
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const s=require("react/jsx-runtime"),j=require("react"),_=require("../../../_virtual/index.cjs"),J=require("../../ui/button.cjs"),U=require("../../ui/checkbox.cjs"),K=require("../MarkdownFlowInput.cjs"),H=require("../utils/accept-placeholder.cjs"),E=require("../../ui/inputGroup/input-group.cjs"),O=require("../../../lib/utils.cjs"),Q=require("../contentRenderI18n.cjs"),W=({node:c,readonly:i,selectedValues:e,inputValue:r,confirmButtonText:a,handleCheckboxChange:n,handleInputChange:p,handleKeyDown:u,handleConfirmClick:m})=>{const d=c.properties?.placeholder,h=i||e.length===0&&!r?.trim(),b=x=>s.jsx("span",{className:O.cn("multi-select-confirm-wrapper flex flex-col items-center",h?"opacity-50 cursor-not-allowed":"cursor-pointer",x),children:s.jsx("button",{type:"button",className:"multi-select-confirm-button text-sm font-medium text-primary",disabled:h,onClick:m,children:a})});return s.jsxs("span",{className:"multi-select-container flex w-full flex-col",children:[s.jsx("span",{className:"flex flex-wrap gap-y-[9px] gap-x-6",children:c.properties?.buttonTexts?.map((x,f)=>{const l=c.properties?.buttonValues?.[f],v=l!==void 0?l:x;return s.jsx(U.Checkbox,{label:x,disabled:i,checked:e.includes(v),onCheckedChange:g=>n(v,g),className:"text-sm"},f)})}),d?s.jsx("span",{className:"block mb-1 w-full max-w-[500px]",children:s.jsxs("span",{className:"multi-select-input-row flex w-full items-end gap-3",children:[s.jsx(E.InputGroup,{"data-disabled":i,className:"flex-1",children:s.jsx(E.InputGroupTextarea,{disabled:i,placeholder:d,value:r,onChange:p,onKeyDown:u,className:"text-sm px-3",title:d})}),b("shrink-0")]})}):b("self-start multi-select-confirm-wrapper--stacked")]})},X=({dir:c,lang:i,node:e,readonly:r,locale:a,resolvedDefaultButtonText:n,handleButtonClick:p,inputValue:u,handleInputChange:m,handleSendClick:d,onAcceptPlaceholder:h})=>s.jsxs("span",{className:"single-select-container inline-flex w-full flex-col",children:[s.jsx("span",{className:"flex flex-wrap gap-y-[9px] gap-x-2",children:e.properties?.buttonTexts?.map((b,x)=>{const f=e.properties?.buttonValues?.[x],l=f!==void 0?f:b;return s.jsx(J.Button,{disabled:r,variant:"outline",type:"button",size:"sm",onClick:()=>p(l),className:O.cn("max-w-full shrink whitespace-normal break-words text-start leading-5 h-auto min-h-8 px-3 py-1.5","hover:bg-gray-200",n===b&&"select"),children:b},x)})}),e.properties?.placeholder&&s.jsx("span",{className:"mt-[9px] mb-1",children:s.jsx(K.default,{dir:c,lang:i,disabled:r,locale:a,placeholder:e.properties.placeholder,value:u,onChange:m,onSend:d,onAcceptPlaceholder:h,title:e.properties.placeholder})})]}),Y=({dir:c,lang:i,readonly:e,locale:r,placeholder:a,value:n,onChange:p,onSend:u,onAcceptPlaceholder:m})=>a?s.jsx(K.default,{dir:c,lang:i,disabled:e,locale:r,placeholder:a,value:n,onChange:p,onSend:u,onAcceptPlaceholder:m,title:a}):null,Z=({dir:c,lang:i,node:e,readonly:r,locale:a,defaultButtonText:n,defaultInputText:p,defaultSelectedValues:u,onSend:m,confirmButtonText:d,beforeSend:h=()=>!0,onPlaceholderAccepted:b})=>{const x=Q.getContentRenderLocaleTexts(a),f=d||x.confirmButtonText,[l,v]=j.useState(p||""),[g,q]=j.useState(u||[]),M=JSON.stringify({buttonTexts:e.properties?.buttonTexts,buttonValues:e.properties?.buttonValues,isMultiSelect:e.properties?.isMultiSelect,placeholder:e.properties?.placeholder,variableName:e.properties?.variableName}),N=e.properties?.isMultiSelect??!1,R=e.properties?.buttonTexts||[],y=!N&&R.length===0&&!e.properties?.placeholder,S=_.distExports.normalizeVariableName(e.properties?.variableName||"")||n||f,k=j.useMemo(()=>y?{...e,properties:{...e.properties||{},buttonTexts:[S],buttonValues:[S]}}:e,[S,e,y]),C=k.properties?.buttonTexts||[],B=k.properties?.buttonValues||[],I=!N&&C.length>0,A=t=>{const o={variableName:e.properties?.variableName||"",buttonText:t};h?.(o)&&m?.(o)},G=(t,o)=>{q(D=>o?[...D,t]:D.filter(L=>L!==t))},P=()=>{const t=g.length===0&&!l?.trim(),o={variableName:e.properties?.variableName||"",selectedValues:g,inputText:l?.trim()||void 0};r||t||h?.(o)&&m?.(o)},w=t=>{v(t.target.value)},T=t=>{v(t);try{Promise.resolve(b?.()).catch(()=>{})}catch{}},z=t=>{H.acceptPlaceholder(t,e.properties?.placeholder,r,T)||t.nativeEvent.isComposing||t.keyCode===229||t.key==="Enter"&&!t.shiftKey&&(t.preventDefault(),N?g.length===0&&!l.trim()||P():V())},V=()=>{const t={variableName:e.properties?.variableName||"",inputText:l};h?.(t)&&m?.(t)},F=j.useMemo(()=>{if(!n)return;const t=B.indexOf(n);if(t>-1)return C[t]??n;const o=C.indexOf(n);if(o>-1)return C[o]},[n,C,B]);return j.useEffect(()=>{v(p||"")},[p,M]),j.useEffect(()=>{q(u||[])},[u,M]),s.jsxs("span",{className:"custom-variable-container inline-flex items-center flex-wrap",children:[N&&s.jsx(W,{node:e,readonly:r,selectedValues:g,inputValue:l,confirmButtonText:f,handleCheckboxChange:G,handleInputChange:w,handleKeyDown:z,handleConfirmClick:P}),!N&&I&&s.jsx(X,{dir:c,lang:i,node:k,readonly:r,locale:a,resolvedDefaultButtonText:F,handleButtonClick:A,inputValue:l,handleInputChange:w,handleSendClick:V,onAcceptPlaceholder:T}),!N&&!I&&e.properties?.placeholder&&s.jsx(Y,{dir:c,lang:i,readonly:r,locale:a,placeholder:e.properties.placeholder,value:l,onChange:w,onSend:V,onAcceptPlaceholder:T})]})};exports.default=Z;
|
|
2
2
|
//# sourceMappingURL=CustomVariable.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CustomVariable.cjs","sources":["../../../../src/components/ContentRender/plugins/CustomVariable.tsx"],"sourcesContent":["import React from \"react\";\nimport { normalizeVariableName } from \"remark-flow\";\nimport type { Components } from \"react-markdown\";\nimport { OnSendContentParams } from \"../../types\";\nimport { Button } from \"../../ui/button\";\nimport { Checkbox } from \"../../ui/checkbox\";\nimport MarkdownFlowInput from \"../MarkdownFlowInput\";\nimport {\n InputGroup,\n InputGroupTextarea,\n} from \"../../ui/inputGroup/input-group\";\nimport type { MarkdownFlowLocale } from \"../../../lib/locale\";\nimport { cn } from \"../../../lib/utils\";\nimport { getContentRenderLocaleTexts } from \"../contentRenderI18n\";\n\n// Define custom variable node type\ninterface CustomVariableNode {\n tagName: \"custom-variable\";\n properties?: {\n variableName?: string;\n buttonTexts?: string[];\n buttonValues?: string[];\n placeholder?: string;\n isMultiSelect?: boolean;\n };\n}\n\n// Define custom variable component Props type\ninterface CustomVariableProps {\n /** Explicit direction for nested input controls. */\n dir?: React.HTMLAttributes<HTMLDivElement>[\"dir\"];\n /** Explicit language for nested input controls. */\n lang?: string;\n node: CustomVariableNode;\n defaultButtonText?: string;\n defaultInputText?: string;\n defaultSelectedValues?: string[];\n locale?: MarkdownFlowLocale;\n readonly?: boolean;\n onSend?: (content: OnSendContentParams) => void;\n // Multi-select confirm button text (i18n support)\n confirmButtonText?: string;\n beforeSend?: (param: OnSendContentParams) => boolean;\n}\n\ninterface ComponentsWithCustomVariable extends Components {\n \"custom-variable\"?: React.ComponentType<CustomVariableProps>;\n}\n\n// Multi select section( with checkboxes and input)\ninterface MultiSelectSectionProps {\n node: CustomVariableNode;\n readonly?: boolean;\n selectedValues: string[];\n inputValue: string;\n confirmButtonText: string;\n handleCheckboxChange: (value: string, checked: boolean) => void;\n handleInputChange: (event: React.ChangeEvent<HTMLTextAreaElement>) => void;\n handleKeyDown: (event: React.KeyboardEvent<HTMLTextAreaElement>) => void;\n handleConfirmClick: () => void;\n}\n\nconst MultiSelectSection = ({\n node,\n readonly,\n selectedValues,\n inputValue,\n confirmButtonText,\n handleCheckboxChange,\n handleInputChange,\n handleKeyDown,\n handleConfirmClick,\n}: MultiSelectSectionProps) => {\n const placeholder = node.properties?.placeholder;\n const confirmDisabled =\n readonly || (selectedValues.length === 0 && !inputValue?.trim());\n\n const renderConfirmButton = (extraWrapperClassName?: string) => (\n <span\n className={cn(\n \"multi-select-confirm-wrapper flex flex-col items-center\",\n confirmDisabled ? \"opacity-50 cursor-not-allowed\" : \"cursor-pointer\",\n extraWrapperClassName\n )}\n >\n <button\n type=\"button\"\n className=\"multi-select-confirm-button text-sm font-medium text-primary\"\n disabled={confirmDisabled}\n onClick={handleConfirmClick}\n >\n {confirmButtonText}\n </button>\n </span>\n );\n\n return (\n <span className=\"multi-select-container flex w-full flex-col\">\n <span className=\"flex flex-wrap gap-y-[9px] gap-x-6\">\n {node.properties?.buttonTexts?.map((text, index) => {\n const value = node.properties?.buttonValues?.[index];\n const buttonValue = value !== undefined ? value : text;\n return (\n <Checkbox\n key={index}\n label={text}\n disabled={readonly}\n checked={selectedValues.includes(buttonValue)}\n onCheckedChange={(checked) =>\n handleCheckboxChange(buttonValue, checked)\n }\n className=\"text-sm\"\n />\n );\n })}\n </span>\n {placeholder ? (\n <span className=\"block mb-1 w-full max-w-[500px]\">\n <span className=\"multi-select-input-row flex w-full items-end gap-3\">\n <InputGroup data-disabled={readonly} className=\"flex-1\">\n <InputGroupTextarea\n disabled={readonly}\n placeholder={placeholder}\n value={inputValue}\n onChange={handleInputChange}\n onKeyDown={handleKeyDown}\n className=\"text-sm px-3\"\n title={placeholder}\n />\n </InputGroup>\n {renderConfirmButton(\"shrink-0\")}\n </span>\n </span>\n ) : (\n renderConfirmButton(\"self-start multi-select-confirm-wrapper--stacked\")\n )}\n </span>\n );\n};\n\n// Single select section( with buttons and input)\ninterface SingleSelectSectionProps {\n dir?: CustomVariableProps[\"dir\"];\n lang?: string;\n node: CustomVariableNode;\n readonly?: boolean;\n locale?: MarkdownFlowLocale;\n resolvedDefaultButtonText?: string;\n handleButtonClick: (value: string) => void;\n inputValue: string;\n handleInputChange: (event: React.ChangeEvent<HTMLTextAreaElement>) => void;\n handleSendClick: () => void;\n}\n\nconst SingleSelectSection = ({\n dir,\n lang,\n node,\n readonly,\n locale,\n resolvedDefaultButtonText,\n handleButtonClick,\n inputValue,\n handleInputChange,\n handleSendClick,\n}: SingleSelectSectionProps) => (\n <span className=\"single-select-container inline-flex w-full flex-col\">\n <span className=\"flex flex-wrap gap-y-[9px] gap-x-2\">\n {node.properties?.buttonTexts?.map((text, index) => {\n const value = node.properties?.buttonValues?.[index];\n const buttonValue = value !== undefined ? value : text;\n return (\n <Button\n key={index}\n disabled={readonly}\n variant=\"outline\"\n type=\"button\"\n size=\"sm\"\n onClick={() => handleButtonClick(buttonValue)}\n className={cn(\n \"max-w-full shrink whitespace-normal break-words text-start leading-5 h-auto min-h-8 px-3 py-1.5\",\n \"hover:bg-gray-200\",\n resolvedDefaultButtonText === text && \"select\"\n )}\n >\n {text}\n </Button>\n );\n })}\n </span>\n {node.properties?.placeholder && (\n <span className=\"mt-[9px] mb-1\">\n <MarkdownFlowInput\n dir={dir}\n lang={lang}\n disabled={readonly}\n locale={locale}\n placeholder={node.properties.placeholder}\n value={inputValue}\n onChange={handleInputChange}\n onSend={handleSendClick}\n title={node.properties.placeholder}\n />\n </span>\n )}\n </span>\n);\n\n// Pure input\ninterface InputSectionProps {\n dir?: CustomVariableProps[\"dir\"];\n lang?: string;\n readonly?: boolean;\n locale?: MarkdownFlowLocale;\n placeholder?: string;\n value: string;\n onChange: (event: React.ChangeEvent<HTMLTextAreaElement>) => void;\n onSend: () => void;\n}\n\nconst InputSection = ({\n dir,\n lang,\n readonly,\n locale,\n placeholder,\n value,\n onChange,\n onSend,\n}: InputSectionProps) => {\n if (!placeholder) {\n return null;\n }\n\n return (\n <MarkdownFlowInput\n dir={dir}\n lang={lang}\n disabled={readonly}\n locale={locale}\n placeholder={placeholder}\n value={value}\n onChange={onChange}\n onSend={onSend}\n title={placeholder}\n />\n );\n};\n\n// Define custom variable component\nconst CustomButtonInputVariable = ({\n dir,\n lang,\n node,\n readonly,\n locale,\n defaultButtonText,\n defaultInputText,\n defaultSelectedValues,\n onSend,\n confirmButtonText,\n beforeSend = () => true,\n}: CustomVariableProps) => {\n const localeTexts = getContentRenderLocaleTexts(locale);\n const resolvedConfirmButtonText =\n confirmButtonText || localeTexts.confirmButtonText;\n const [inputValue, setInputValue] = React.useState(defaultInputText || \"\");\n const [selectedValues, setSelectedValues] = React.useState<string[]>(\n defaultSelectedValues || []\n );\n const interactionDefinitionKey = JSON.stringify({\n buttonTexts: node.properties?.buttonTexts,\n buttonValues: node.properties?.buttonValues,\n isMultiSelect: node.properties?.isMultiSelect,\n placeholder: node.properties?.placeholder,\n variableName: node.properties?.variableName,\n });\n const isMultiSelect = node.properties?.isMultiSelect ?? false;\n const baseButtonTexts = node.properties?.buttonTexts || [];\n const shouldUseFallbackButton =\n !isMultiSelect &&\n baseButtonTexts.length === 0 &&\n !node.properties?.placeholder;\n const fallbackButtonLabel =\n normalizeVariableName(node.properties?.variableName || \"\") ||\n defaultButtonText ||\n resolvedConfirmButtonText;\n\n const singleSelectNode = React.useMemo<CustomVariableNode>(() => {\n if (!shouldUseFallbackButton) {\n return node;\n }\n return {\n ...node,\n properties: {\n ...(node.properties || {}),\n buttonTexts: [fallbackButtonLabel],\n buttonValues: [fallbackButtonLabel],\n },\n };\n }, [fallbackButtonLabel, node, shouldUseFallbackButton]);\n\n const singleSelectButtonTexts =\n singleSelectNode.properties?.buttonTexts || [];\n const singleSelectButtonValues =\n singleSelectNode.properties?.buttonValues || [];\n const isSingleSelect = !isMultiSelect && singleSelectButtonTexts.length > 0;\n\n const handleButtonClick = (value: string) => {\n const param = {\n variableName: node.properties?.variableName || \"\",\n buttonText: value,\n };\n if (!beforeSend?.(param)) return;\n onSend?.(param);\n };\n\n const handleCheckboxChange = (value: string, checked: boolean) => {\n setSelectedValues((prev) => {\n if (checked) {\n return [...prev, value];\n } else {\n return prev.filter((v) => v !== value);\n }\n });\n };\n\n const handleConfirmClick = () => {\n const noSelection = selectedValues.length === 0 && !inputValue?.trim();\n const param = {\n variableName: node.properties?.variableName || \"\",\n selectedValues,\n inputText: inputValue?.trim() || undefined,\n };\n if (readonly || noSelection) return;\n if (!beforeSend?.(param)) return;\n onSend?.(param);\n };\n\n const handleInputChange = (e: React.ChangeEvent<HTMLTextAreaElement>) => {\n setInputValue(e.target.value);\n };\n const handleKeyDown = (e: React.KeyboardEvent<HTMLTextAreaElement>) => {\n if (e.nativeEvent.isComposing || e.keyCode === 229) {\n return;\n }\n if (e.key === \"Enter\" && !e.shiftKey) {\n e.preventDefault();\n if (isMultiSelect) {\n const noSelection = selectedValues.length === 0 && !inputValue.trim();\n if (!noSelection) handleConfirmClick();\n } else {\n handleSendClick();\n }\n }\n };\n const handleSendClick = () => {\n const param = {\n variableName: node.properties?.variableName || \"\",\n inputText: inputValue,\n };\n if (!beforeSend?.(param)) return;\n onSend?.(param);\n };\n\n const resolvedDefaultButtonText = React.useMemo(() => {\n if (!defaultButtonText) {\n return undefined;\n }\n const valueIndex = singleSelectButtonValues.indexOf(defaultButtonText);\n if (valueIndex > -1) {\n return singleSelectButtonTexts[valueIndex] ?? defaultButtonText;\n }\n const textIndex = singleSelectButtonTexts.indexOf(defaultButtonText);\n if (textIndex > -1) {\n return singleSelectButtonTexts[textIndex];\n }\n return undefined;\n }, [defaultButtonText, singleSelectButtonTexts, singleSelectButtonValues]);\n\n React.useEffect(() => {\n setInputValue(defaultInputText || \"\");\n }, [defaultInputText, interactionDefinitionKey]);\n\n React.useEffect(() => {\n setSelectedValues(defaultSelectedValues || []);\n }, [defaultSelectedValues, interactionDefinitionKey]);\n\n return (\n <span className=\"custom-variable-container inline-flex items-center flex-wrap\">\n {isMultiSelect && (\n <MultiSelectSection\n node={node}\n readonly={readonly}\n selectedValues={selectedValues}\n inputValue={inputValue}\n confirmButtonText={resolvedConfirmButtonText}\n handleCheckboxChange={handleCheckboxChange}\n handleInputChange={handleInputChange}\n handleKeyDown={handleKeyDown}\n handleConfirmClick={handleConfirmClick}\n />\n )}\n\n {!isMultiSelect && isSingleSelect && (\n <SingleSelectSection\n dir={dir}\n lang={lang}\n node={singleSelectNode}\n readonly={readonly}\n locale={locale}\n resolvedDefaultButtonText={resolvedDefaultButtonText}\n handleButtonClick={handleButtonClick}\n inputValue={inputValue}\n handleInputChange={handleInputChange}\n handleSendClick={handleSendClick}\n />\n )}\n\n {!isMultiSelect && !isSingleSelect && node.properties?.placeholder && (\n <InputSection\n dir={dir}\n lang={lang}\n readonly={readonly}\n locale={locale}\n placeholder={node.properties.placeholder}\n value={inputValue}\n onChange={handleInputChange}\n onSend={handleSendClick}\n />\n )}\n </span>\n );\n};\n\nexport default CustomButtonInputVariable;\nexport type {\n ComponentsWithCustomVariable,\n CustomVariableNode,\n CustomVariableProps,\n};\n"],"names":["MultiSelectSection","node","readonly","selectedValues","inputValue","confirmButtonText","handleCheckboxChange","handleInputChange","handleKeyDown","handleConfirmClick","placeholder","confirmDisabled","renderConfirmButton","extraWrapperClassName","jsx","cn","jsxs","text","index","value","buttonValue","Checkbox","checked","InputGroup","InputGroupTextarea","SingleSelectSection","dir","lang","locale","resolvedDefaultButtonText","handleButtonClick","handleSendClick","Button","MarkdownFlowInput","InputSection","onChange","onSend","CustomButtonInputVariable","defaultButtonText","defaultInputText","defaultSelectedValues","beforeSend","localeTexts","getContentRenderLocaleTexts","resolvedConfirmButtonText","setInputValue","React","setSelectedValues","interactionDefinitionKey","isMultiSelect","baseButtonTexts","shouldUseFallbackButton","fallbackButtonLabel","normalizeVariableName","singleSelectNode","singleSelectButtonTexts","singleSelectButtonValues","isSingleSelect","param","prev","v","noSelection","e","valueIndex","textIndex"],"mappings":"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"}
|
|
1
|
+
{"version":3,"file":"CustomVariable.cjs","sources":["../../../../src/components/ContentRender/plugins/CustomVariable.tsx"],"sourcesContent":["import React from \"react\";\nimport { normalizeVariableName } from \"remark-flow\";\nimport type { Components } from \"react-markdown\";\nimport { OnSendContentParams } from \"../../types\";\nimport { Button } from \"../../ui/button\";\nimport { Checkbox } from \"../../ui/checkbox\";\nimport MarkdownFlowInput from \"../MarkdownFlowInput\";\nimport { acceptPlaceholder } from \"../utils/accept-placeholder\";\nimport {\n InputGroup,\n InputGroupTextarea,\n} from \"../../ui/inputGroup/input-group\";\nimport type { MarkdownFlowLocale } from \"../../../lib/locale\";\nimport { cn } from \"../../../lib/utils\";\nimport { getContentRenderLocaleTexts } from \"../contentRenderI18n\";\n\n// Define custom variable node type\ninterface CustomVariableNode {\n tagName: \"custom-variable\";\n properties?: {\n variableName?: string;\n buttonTexts?: string[];\n buttonValues?: string[];\n placeholder?: string;\n isMultiSelect?: boolean;\n };\n}\n\n// Define custom variable component Props type\ninterface CustomVariableProps {\n /** Explicit direction for nested input controls. */\n dir?: React.HTMLAttributes<HTMLDivElement>[\"dir\"];\n /** Explicit language for nested input controls. */\n lang?: string;\n node: CustomVariableNode;\n defaultButtonText?: string;\n defaultInputText?: string;\n defaultSelectedValues?: string[];\n locale?: MarkdownFlowLocale;\n readonly?: boolean;\n onSend?: (content: OnSendContentParams) => void;\n onPlaceholderAccepted?: () => void;\n // Multi-select confirm button text (i18n support)\n confirmButtonText?: string;\n beforeSend?: (param: OnSendContentParams) => boolean;\n}\n\ninterface ComponentsWithCustomVariable extends Components {\n \"custom-variable\"?: React.ComponentType<CustomVariableProps>;\n}\n\n// Multi select section( with checkboxes and input)\ninterface MultiSelectSectionProps {\n node: CustomVariableNode;\n readonly?: boolean;\n selectedValues: string[];\n inputValue: string;\n confirmButtonText: string;\n handleCheckboxChange: (value: string, checked: boolean) => void;\n handleInputChange: (event: React.ChangeEvent<HTMLTextAreaElement>) => void;\n handleKeyDown: (event: React.KeyboardEvent<HTMLTextAreaElement>) => void;\n handleConfirmClick: () => void;\n}\n\nconst MultiSelectSection = ({\n node,\n readonly,\n selectedValues,\n inputValue,\n confirmButtonText,\n handleCheckboxChange,\n handleInputChange,\n handleKeyDown,\n handleConfirmClick,\n}: MultiSelectSectionProps) => {\n const placeholder = node.properties?.placeholder;\n const confirmDisabled =\n readonly || (selectedValues.length === 0 && !inputValue?.trim());\n\n const renderConfirmButton = (extraWrapperClassName?: string) => (\n <span\n className={cn(\n \"multi-select-confirm-wrapper flex flex-col items-center\",\n confirmDisabled ? \"opacity-50 cursor-not-allowed\" : \"cursor-pointer\",\n extraWrapperClassName\n )}\n >\n <button\n type=\"button\"\n className=\"multi-select-confirm-button text-sm font-medium text-primary\"\n disabled={confirmDisabled}\n onClick={handleConfirmClick}\n >\n {confirmButtonText}\n </button>\n </span>\n );\n\n return (\n <span className=\"multi-select-container flex w-full flex-col\">\n <span className=\"flex flex-wrap gap-y-[9px] gap-x-6\">\n {node.properties?.buttonTexts?.map((text, index) => {\n const value = node.properties?.buttonValues?.[index];\n const buttonValue = value !== undefined ? value : text;\n return (\n <Checkbox\n key={index}\n label={text}\n disabled={readonly}\n checked={selectedValues.includes(buttonValue)}\n onCheckedChange={(checked) =>\n handleCheckboxChange(buttonValue, checked)\n }\n className=\"text-sm\"\n />\n );\n })}\n </span>\n {placeholder ? (\n <span className=\"block mb-1 w-full max-w-[500px]\">\n <span className=\"multi-select-input-row flex w-full items-end gap-3\">\n <InputGroup data-disabled={readonly} className=\"flex-1\">\n <InputGroupTextarea\n disabled={readonly}\n placeholder={placeholder}\n value={inputValue}\n onChange={handleInputChange}\n onKeyDown={handleKeyDown}\n className=\"text-sm px-3\"\n title={placeholder}\n />\n </InputGroup>\n {renderConfirmButton(\"shrink-0\")}\n </span>\n </span>\n ) : (\n renderConfirmButton(\"self-start multi-select-confirm-wrapper--stacked\")\n )}\n </span>\n );\n};\n\n// Single select section( with buttons and input)\ninterface SingleSelectSectionProps {\n dir?: CustomVariableProps[\"dir\"];\n lang?: string;\n node: CustomVariableNode;\n readonly?: boolean;\n locale?: MarkdownFlowLocale;\n resolvedDefaultButtonText?: string;\n handleButtonClick: (value: string) => void;\n inputValue: string;\n handleInputChange: (event: React.ChangeEvent<HTMLTextAreaElement>) => void;\n handleSendClick: () => void;\n onAcceptPlaceholder: (value: string) => void;\n}\n\nconst SingleSelectSection = ({\n dir,\n lang,\n node,\n readonly,\n locale,\n resolvedDefaultButtonText,\n handleButtonClick,\n inputValue,\n handleInputChange,\n handleSendClick,\n onAcceptPlaceholder,\n}: SingleSelectSectionProps) => (\n <span className=\"single-select-container inline-flex w-full flex-col\">\n <span className=\"flex flex-wrap gap-y-[9px] gap-x-2\">\n {node.properties?.buttonTexts?.map((text, index) => {\n const value = node.properties?.buttonValues?.[index];\n const buttonValue = value !== undefined ? value : text;\n return (\n <Button\n key={index}\n disabled={readonly}\n variant=\"outline\"\n type=\"button\"\n size=\"sm\"\n onClick={() => handleButtonClick(buttonValue)}\n className={cn(\n \"max-w-full shrink whitespace-normal break-words text-start leading-5 h-auto min-h-8 px-3 py-1.5\",\n \"hover:bg-gray-200\",\n resolvedDefaultButtonText === text && \"select\"\n )}\n >\n {text}\n </Button>\n );\n })}\n </span>\n {node.properties?.placeholder && (\n <span className=\"mt-[9px] mb-1\">\n <MarkdownFlowInput\n dir={dir}\n lang={lang}\n disabled={readonly}\n locale={locale}\n placeholder={node.properties.placeholder}\n value={inputValue}\n onChange={handleInputChange}\n onSend={handleSendClick}\n onAcceptPlaceholder={onAcceptPlaceholder}\n title={node.properties.placeholder}\n />\n </span>\n )}\n </span>\n);\n\n// Pure input\ninterface InputSectionProps {\n dir?: CustomVariableProps[\"dir\"];\n lang?: string;\n readonly?: boolean;\n locale?: MarkdownFlowLocale;\n placeholder?: string;\n value: string;\n onChange: (event: React.ChangeEvent<HTMLTextAreaElement>) => void;\n onSend: () => void;\n onAcceptPlaceholder: (value: string) => void;\n}\n\nconst InputSection = ({\n dir,\n lang,\n readonly,\n locale,\n placeholder,\n value,\n onChange,\n onSend,\n onAcceptPlaceholder,\n}: InputSectionProps) => {\n if (!placeholder) {\n return null;\n }\n\n return (\n <MarkdownFlowInput\n dir={dir}\n lang={lang}\n disabled={readonly}\n locale={locale}\n placeholder={placeholder}\n value={value}\n onChange={onChange}\n onSend={onSend}\n onAcceptPlaceholder={onAcceptPlaceholder}\n title={placeholder}\n />\n );\n};\n\n// Define custom variable component\nconst CustomButtonInputVariable = ({\n dir,\n lang,\n node,\n readonly,\n locale,\n defaultButtonText,\n defaultInputText,\n defaultSelectedValues,\n onSend,\n confirmButtonText,\n beforeSend = () => true,\n onPlaceholderAccepted,\n}: CustomVariableProps) => {\n const localeTexts = getContentRenderLocaleTexts(locale);\n const resolvedConfirmButtonText =\n confirmButtonText || localeTexts.confirmButtonText;\n const [inputValue, setInputValue] = React.useState(defaultInputText || \"\");\n const [selectedValues, setSelectedValues] = React.useState<string[]>(\n defaultSelectedValues || []\n );\n const interactionDefinitionKey = JSON.stringify({\n buttonTexts: node.properties?.buttonTexts,\n buttonValues: node.properties?.buttonValues,\n isMultiSelect: node.properties?.isMultiSelect,\n placeholder: node.properties?.placeholder,\n variableName: node.properties?.variableName,\n });\n const isMultiSelect = node.properties?.isMultiSelect ?? false;\n const baseButtonTexts = node.properties?.buttonTexts || [];\n const shouldUseFallbackButton =\n !isMultiSelect &&\n baseButtonTexts.length === 0 &&\n !node.properties?.placeholder;\n const fallbackButtonLabel =\n normalizeVariableName(node.properties?.variableName || \"\") ||\n defaultButtonText ||\n resolvedConfirmButtonText;\n\n const singleSelectNode = React.useMemo<CustomVariableNode>(() => {\n if (!shouldUseFallbackButton) {\n return node;\n }\n return {\n ...node,\n properties: {\n ...(node.properties || {}),\n buttonTexts: [fallbackButtonLabel],\n buttonValues: [fallbackButtonLabel],\n },\n };\n }, [fallbackButtonLabel, node, shouldUseFallbackButton]);\n\n const singleSelectButtonTexts =\n singleSelectNode.properties?.buttonTexts || [];\n const singleSelectButtonValues =\n singleSelectNode.properties?.buttonValues || [];\n const isSingleSelect = !isMultiSelect && singleSelectButtonTexts.length > 0;\n\n const handleButtonClick = (value: string) => {\n const param = {\n variableName: node.properties?.variableName || \"\",\n buttonText: value,\n };\n if (!beforeSend?.(param)) return;\n onSend?.(param);\n };\n\n const handleCheckboxChange = (value: string, checked: boolean) => {\n setSelectedValues((prev) => {\n if (checked) {\n return [...prev, value];\n } else {\n return prev.filter((v) => v !== value);\n }\n });\n };\n\n const handleConfirmClick = () => {\n const noSelection = selectedValues.length === 0 && !inputValue?.trim();\n const param = {\n variableName: node.properties?.variableName || \"\",\n selectedValues,\n inputText: inputValue?.trim() || undefined,\n };\n if (readonly || noSelection) return;\n if (!beforeSend?.(param)) return;\n onSend?.(param);\n };\n\n const handleInputChange = (e: React.ChangeEvent<HTMLTextAreaElement>) => {\n setInputValue(e.target.value);\n };\n const handleAcceptPlaceholder = (value: string) => {\n setInputValue(value);\n // Observer failures must never prevent editing or submitting an answer.\n try {\n void Promise.resolve(onPlaceholderAccepted?.()).catch(() => {});\n } catch {}\n };\n const handleKeyDown = (e: React.KeyboardEvent<HTMLTextAreaElement>) => {\n if (\n acceptPlaceholder(\n e,\n node.properties?.placeholder,\n readonly,\n handleAcceptPlaceholder\n )\n ) {\n return;\n }\n if (e.nativeEvent.isComposing || e.keyCode === 229) {\n return;\n }\n if (e.key === \"Enter\" && !e.shiftKey) {\n e.preventDefault();\n if (isMultiSelect) {\n const noSelection = selectedValues.length === 0 && !inputValue.trim();\n if (!noSelection) handleConfirmClick();\n } else {\n handleSendClick();\n }\n }\n };\n const handleSendClick = () => {\n const param = {\n variableName: node.properties?.variableName || \"\",\n inputText: inputValue,\n };\n if (!beforeSend?.(param)) return;\n onSend?.(param);\n };\n\n const resolvedDefaultButtonText = React.useMemo(() => {\n if (!defaultButtonText) {\n return undefined;\n }\n const valueIndex = singleSelectButtonValues.indexOf(defaultButtonText);\n if (valueIndex > -1) {\n return singleSelectButtonTexts[valueIndex] ?? defaultButtonText;\n }\n const textIndex = singleSelectButtonTexts.indexOf(defaultButtonText);\n if (textIndex > -1) {\n return singleSelectButtonTexts[textIndex];\n }\n return undefined;\n }, [defaultButtonText, singleSelectButtonTexts, singleSelectButtonValues]);\n\n React.useEffect(() => {\n setInputValue(defaultInputText || \"\");\n }, [defaultInputText, interactionDefinitionKey]);\n\n React.useEffect(() => {\n setSelectedValues(defaultSelectedValues || []);\n }, [defaultSelectedValues, interactionDefinitionKey]);\n\n return (\n <span className=\"custom-variable-container inline-flex items-center flex-wrap\">\n {isMultiSelect && (\n <MultiSelectSection\n node={node}\n readonly={readonly}\n selectedValues={selectedValues}\n inputValue={inputValue}\n confirmButtonText={resolvedConfirmButtonText}\n handleCheckboxChange={handleCheckboxChange}\n handleInputChange={handleInputChange}\n handleKeyDown={handleKeyDown}\n handleConfirmClick={handleConfirmClick}\n />\n )}\n\n {!isMultiSelect && isSingleSelect && (\n <SingleSelectSection\n dir={dir}\n lang={lang}\n node={singleSelectNode}\n readonly={readonly}\n locale={locale}\n resolvedDefaultButtonText={resolvedDefaultButtonText}\n handleButtonClick={handleButtonClick}\n inputValue={inputValue}\n handleInputChange={handleInputChange}\n handleSendClick={handleSendClick}\n onAcceptPlaceholder={handleAcceptPlaceholder}\n />\n )}\n\n {!isMultiSelect && !isSingleSelect && node.properties?.placeholder && (\n <InputSection\n dir={dir}\n lang={lang}\n readonly={readonly}\n locale={locale}\n placeholder={node.properties.placeholder}\n value={inputValue}\n onChange={handleInputChange}\n onSend={handleSendClick}\n onAcceptPlaceholder={handleAcceptPlaceholder}\n />\n )}\n </span>\n );\n};\n\nexport default CustomButtonInputVariable;\nexport type {\n ComponentsWithCustomVariable,\n CustomVariableNode,\n CustomVariableProps,\n};\n"],"names":["MultiSelectSection","node","readonly","selectedValues","inputValue","confirmButtonText","handleCheckboxChange","handleInputChange","handleKeyDown","handleConfirmClick","placeholder","confirmDisabled","renderConfirmButton","extraWrapperClassName","jsx","cn","jsxs","text","index","value","buttonValue","Checkbox","checked","InputGroup","InputGroupTextarea","SingleSelectSection","dir","lang","locale","resolvedDefaultButtonText","handleButtonClick","handleSendClick","onAcceptPlaceholder","Button","MarkdownFlowInput","InputSection","onChange","onSend","CustomButtonInputVariable","defaultButtonText","defaultInputText","defaultSelectedValues","beforeSend","onPlaceholderAccepted","localeTexts","getContentRenderLocaleTexts","resolvedConfirmButtonText","setInputValue","React","setSelectedValues","interactionDefinitionKey","isMultiSelect","baseButtonTexts","shouldUseFallbackButton","fallbackButtonLabel","normalizeVariableName","singleSelectNode","singleSelectButtonTexts","singleSelectButtonValues","isSingleSelect","param","prev","v","noSelection","e","handleAcceptPlaceholder","acceptPlaceholder","valueIndex","textIndex"],"mappings":"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"}
|
|
@@ -24,12 +24,13 @@ interface CustomVariableProps {
|
|
|
24
24
|
locale?: MarkdownFlowLocale;
|
|
25
25
|
readonly?: boolean;
|
|
26
26
|
onSend?: (content: OnSendContentParams) => void;
|
|
27
|
+
onPlaceholderAccepted?: () => void;
|
|
27
28
|
confirmButtonText?: string;
|
|
28
29
|
beforeSend?: (param: OnSendContentParams) => boolean;
|
|
29
30
|
}
|
|
30
31
|
interface ComponentsWithCustomVariable extends Components {
|
|
31
32
|
"custom-variable"?: React.ComponentType<CustomVariableProps>;
|
|
32
33
|
}
|
|
33
|
-
declare const CustomButtonInputVariable: ({ dir, lang, node, readonly, locale, defaultButtonText, defaultInputText, defaultSelectedValues, onSend, confirmButtonText, beforeSend, }: CustomVariableProps) => React.JSX.Element;
|
|
34
|
+
declare const CustomButtonInputVariable: ({ dir, lang, node, readonly, locale, defaultButtonText, defaultInputText, defaultSelectedValues, onSend, confirmButtonText, beforeSend, onPlaceholderAccepted, }: CustomVariableProps) => React.JSX.Element;
|
|
34
35
|
export default CustomButtonInputVariable;
|
|
35
36
|
export type { ComponentsWithCustomVariable, CustomVariableNode, CustomVariableProps, };
|
|
@@ -1,88 +1,90 @@
|
|
|
1
1
|
import { jsxs as w, jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
2
|
+
import C from "react";
|
|
3
3
|
import { d as J } from "../../../_virtual/index.es.js";
|
|
4
4
|
import { Button as U } from "../../ui/button.es.js";
|
|
5
5
|
import { Checkbox as q } from "../../ui/checkbox.es.js";
|
|
6
6
|
import O from "../MarkdownFlowInput.es.js";
|
|
7
|
-
import {
|
|
7
|
+
import { acceptPlaceholder as H } from "../utils/accept-placeholder.es.js";
|
|
8
|
+
import { InputGroup as Q, InputGroupTextarea as W } from "../../ui/inputGroup/input-group.es.js";
|
|
8
9
|
import { cn as j } from "../../../lib/utils.es.js";
|
|
9
|
-
import { getContentRenderLocaleTexts as
|
|
10
|
-
const
|
|
10
|
+
import { getContentRenderLocaleTexts as X } from "../contentRenderI18n.es.js";
|
|
11
|
+
const Y = ({
|
|
11
12
|
node: c,
|
|
12
13
|
readonly: i,
|
|
13
14
|
selectedValues: e,
|
|
14
15
|
inputValue: s,
|
|
15
16
|
confirmButtonText: o,
|
|
16
17
|
handleCheckboxChange: l,
|
|
17
|
-
handleInputChange:
|
|
18
|
-
handleKeyDown:
|
|
19
|
-
handleConfirmClick:
|
|
18
|
+
handleInputChange: p,
|
|
19
|
+
handleKeyDown: u,
|
|
20
|
+
handleConfirmClick: m
|
|
20
21
|
}) => {
|
|
21
|
-
const
|
|
22
|
+
const d = c.properties?.placeholder, h = i || e.length === 0 && !s?.trim(), b = (f) => /* @__PURE__ */ r(
|
|
22
23
|
"span",
|
|
23
24
|
{
|
|
24
25
|
className: j(
|
|
25
26
|
"multi-select-confirm-wrapper flex flex-col items-center",
|
|
26
|
-
|
|
27
|
-
|
|
27
|
+
h ? "opacity-50 cursor-not-allowed" : "cursor-pointer",
|
|
28
|
+
f
|
|
28
29
|
),
|
|
29
30
|
children: /* @__PURE__ */ r(
|
|
30
31
|
"button",
|
|
31
32
|
{
|
|
32
33
|
type: "button",
|
|
33
34
|
className: "multi-select-confirm-button text-sm font-medium text-primary",
|
|
34
|
-
disabled:
|
|
35
|
-
onClick:
|
|
35
|
+
disabled: h,
|
|
36
|
+
onClick: m,
|
|
36
37
|
children: o
|
|
37
38
|
}
|
|
38
39
|
)
|
|
39
40
|
}
|
|
40
41
|
);
|
|
41
42
|
return /* @__PURE__ */ w("span", { className: "multi-select-container flex w-full flex-col", children: [
|
|
42
|
-
/* @__PURE__ */ r("span", { className: "flex flex-wrap gap-y-[9px] gap-x-6", children: c.properties?.buttonTexts?.map((
|
|
43
|
-
const
|
|
43
|
+
/* @__PURE__ */ r("span", { className: "flex flex-wrap gap-y-[9px] gap-x-6", children: c.properties?.buttonTexts?.map((f, x) => {
|
|
44
|
+
const n = c.properties?.buttonValues?.[x], v = n !== void 0 ? n : f;
|
|
44
45
|
return /* @__PURE__ */ r(
|
|
45
46
|
q,
|
|
46
47
|
{
|
|
47
|
-
label:
|
|
48
|
+
label: f,
|
|
48
49
|
disabled: i,
|
|
49
|
-
checked: e.includes(
|
|
50
|
-
onCheckedChange: (
|
|
50
|
+
checked: e.includes(v),
|
|
51
|
+
onCheckedChange: (g) => l(v, g),
|
|
51
52
|
className: "text-sm"
|
|
52
53
|
},
|
|
53
|
-
|
|
54
|
+
x
|
|
54
55
|
);
|
|
55
56
|
}) }),
|
|
56
|
-
|
|
57
|
-
/* @__PURE__ */ r(
|
|
58
|
-
|
|
57
|
+
d ? /* @__PURE__ */ r("span", { className: "block mb-1 w-full max-w-[500px]", children: /* @__PURE__ */ w("span", { className: "multi-select-input-row flex w-full items-end gap-3", children: [
|
|
58
|
+
/* @__PURE__ */ r(Q, { "data-disabled": i, className: "flex-1", children: /* @__PURE__ */ r(
|
|
59
|
+
W,
|
|
59
60
|
{
|
|
60
61
|
disabled: i,
|
|
61
|
-
placeholder:
|
|
62
|
+
placeholder: d,
|
|
62
63
|
value: s,
|
|
63
|
-
onChange:
|
|
64
|
-
onKeyDown:
|
|
64
|
+
onChange: p,
|
|
65
|
+
onKeyDown: u,
|
|
65
66
|
className: "text-sm px-3",
|
|
66
|
-
title:
|
|
67
|
+
title: d
|
|
67
68
|
}
|
|
68
69
|
) }),
|
|
69
|
-
|
|
70
|
-
] }) }) :
|
|
70
|
+
b("shrink-0")
|
|
71
|
+
] }) }) : b("self-start multi-select-confirm-wrapper--stacked")
|
|
71
72
|
] });
|
|
72
|
-
},
|
|
73
|
+
}, Z = ({
|
|
73
74
|
dir: c,
|
|
74
75
|
lang: i,
|
|
75
76
|
node: e,
|
|
76
77
|
readonly: s,
|
|
77
78
|
locale: o,
|
|
78
79
|
resolvedDefaultButtonText: l,
|
|
79
|
-
handleButtonClick:
|
|
80
|
-
inputValue:
|
|
81
|
-
handleInputChange:
|
|
82
|
-
handleSendClick:
|
|
80
|
+
handleButtonClick: p,
|
|
81
|
+
inputValue: u,
|
|
82
|
+
handleInputChange: m,
|
|
83
|
+
handleSendClick: d,
|
|
84
|
+
onAcceptPlaceholder: h
|
|
83
85
|
}) => /* @__PURE__ */ w("span", { className: "single-select-container inline-flex w-full flex-col", children: [
|
|
84
|
-
/* @__PURE__ */ r("span", { className: "flex flex-wrap gap-y-[9px] gap-x-2", children: e.properties?.buttonTexts?.map((
|
|
85
|
-
const
|
|
86
|
+
/* @__PURE__ */ r("span", { className: "flex flex-wrap gap-y-[9px] gap-x-2", children: e.properties?.buttonTexts?.map((b, f) => {
|
|
87
|
+
const x = e.properties?.buttonValues?.[f], n = x !== void 0 ? x : b;
|
|
86
88
|
return /* @__PURE__ */ r(
|
|
87
89
|
U,
|
|
88
90
|
{
|
|
@@ -90,15 +92,15 @@ const Q = ({
|
|
|
90
92
|
variant: "outline",
|
|
91
93
|
type: "button",
|
|
92
94
|
size: "sm",
|
|
93
|
-
onClick: () =>
|
|
95
|
+
onClick: () => p(n),
|
|
94
96
|
className: j(
|
|
95
97
|
"max-w-full shrink whitespace-normal break-words text-start leading-5 h-auto min-h-8 px-3 py-1.5",
|
|
96
98
|
"hover:bg-gray-200",
|
|
97
|
-
l ===
|
|
99
|
+
l === b && "select"
|
|
98
100
|
),
|
|
99
|
-
children:
|
|
101
|
+
children: b
|
|
100
102
|
},
|
|
101
|
-
|
|
103
|
+
f
|
|
102
104
|
);
|
|
103
105
|
}) }),
|
|
104
106
|
e.properties?.placeholder && /* @__PURE__ */ r("span", { className: "mt-[9px] mb-1", children: /* @__PURE__ */ r(
|
|
@@ -109,21 +111,23 @@ const Q = ({
|
|
|
109
111
|
disabled: s,
|
|
110
112
|
locale: o,
|
|
111
113
|
placeholder: e.properties.placeholder,
|
|
112
|
-
value:
|
|
113
|
-
onChange:
|
|
114
|
-
onSend:
|
|
114
|
+
value: u,
|
|
115
|
+
onChange: m,
|
|
116
|
+
onSend: d,
|
|
117
|
+
onAcceptPlaceholder: h,
|
|
115
118
|
title: e.properties.placeholder
|
|
116
119
|
}
|
|
117
120
|
) })
|
|
118
|
-
] }),
|
|
121
|
+
] }), $ = ({
|
|
119
122
|
dir: c,
|
|
120
123
|
lang: i,
|
|
121
124
|
readonly: e,
|
|
122
125
|
locale: s,
|
|
123
126
|
placeholder: o,
|
|
124
127
|
value: l,
|
|
125
|
-
onChange:
|
|
126
|
-
onSend:
|
|
128
|
+
onChange: p,
|
|
129
|
+
onSend: u,
|
|
130
|
+
onAcceptPlaceholder: m
|
|
127
131
|
}) => o ? /* @__PURE__ */ r(
|
|
128
132
|
O,
|
|
129
133
|
{
|
|
@@ -133,94 +137,108 @@ const Q = ({
|
|
|
133
137
|
locale: s,
|
|
134
138
|
placeholder: o,
|
|
135
139
|
value: l,
|
|
136
|
-
onChange:
|
|
137
|
-
onSend:
|
|
140
|
+
onChange: p,
|
|
141
|
+
onSend: u,
|
|
142
|
+
onAcceptPlaceholder: m,
|
|
138
143
|
title: o
|
|
139
144
|
}
|
|
140
|
-
) : null,
|
|
145
|
+
) : null, pe = ({
|
|
141
146
|
dir: c,
|
|
142
147
|
lang: i,
|
|
143
148
|
node: e,
|
|
144
149
|
readonly: s,
|
|
145
150
|
locale: o,
|
|
146
151
|
defaultButtonText: l,
|
|
147
|
-
defaultInputText:
|
|
148
|
-
defaultSelectedValues:
|
|
149
|
-
onSend:
|
|
150
|
-
confirmButtonText:
|
|
151
|
-
beforeSend:
|
|
152
|
+
defaultInputText: p,
|
|
153
|
+
defaultSelectedValues: u,
|
|
154
|
+
onSend: m,
|
|
155
|
+
confirmButtonText: d,
|
|
156
|
+
beforeSend: h = () => !0,
|
|
157
|
+
onPlaceholderAccepted: b
|
|
152
158
|
}) => {
|
|
153
|
-
const
|
|
154
|
-
|
|
155
|
-
),
|
|
159
|
+
const f = X(o), x = d || f.confirmButtonText, [n, v] = C.useState(p || ""), [g, M] = C.useState(
|
|
160
|
+
u || []
|
|
161
|
+
), I = JSON.stringify({
|
|
156
162
|
buttonTexts: e.properties?.buttonTexts,
|
|
157
163
|
buttonValues: e.properties?.buttonValues,
|
|
158
164
|
isMultiSelect: e.properties?.isMultiSelect,
|
|
159
165
|
placeholder: e.properties?.placeholder,
|
|
160
166
|
variableName: e.properties?.variableName
|
|
161
|
-
}),
|
|
167
|
+
}), N = e.properties?.isMultiSelect ?? !1, z = e.properties?.buttonTexts || [], D = !N && z.length === 0 && !e.properties?.placeholder, S = J.normalizeVariableName(e.properties?.variableName || "") || l || x, T = C.useMemo(() => D ? {
|
|
162
168
|
...e,
|
|
163
169
|
properties: {
|
|
164
170
|
...e.properties || {},
|
|
165
171
|
buttonTexts: [S],
|
|
166
172
|
buttonValues: [S]
|
|
167
173
|
}
|
|
168
|
-
} : e, [S, e,
|
|
174
|
+
} : e, [S, e, D]), k = T.properties?.buttonTexts || [], E = T.properties?.buttonValues || [], P = !N && k.length > 0, F = (t) => {
|
|
169
175
|
const a = {
|
|
170
176
|
variableName: e.properties?.variableName || "",
|
|
171
177
|
buttonText: t
|
|
172
178
|
};
|
|
173
|
-
|
|
179
|
+
h?.(a) && m?.(a);
|
|
174
180
|
}, G = (t, a) => {
|
|
175
|
-
|
|
176
|
-
},
|
|
177
|
-
const t =
|
|
181
|
+
M((A) => a ? [...A, t] : A.filter((_) => _ !== t));
|
|
182
|
+
}, K = () => {
|
|
183
|
+
const t = g.length === 0 && !n?.trim(), a = {
|
|
178
184
|
variableName: e.properties?.variableName || "",
|
|
179
|
-
selectedValues:
|
|
185
|
+
selectedValues: g,
|
|
180
186
|
inputText: n?.trim() || void 0
|
|
181
187
|
};
|
|
182
|
-
s || t ||
|
|
188
|
+
s || t || h?.(a) && m?.(a);
|
|
183
189
|
}, V = (t) => {
|
|
184
|
-
|
|
190
|
+
v(t.target.value);
|
|
191
|
+
}, y = (t) => {
|
|
192
|
+
v(t);
|
|
193
|
+
try {
|
|
194
|
+
Promise.resolve(b?.()).catch(() => {
|
|
195
|
+
});
|
|
196
|
+
} catch {
|
|
197
|
+
}
|
|
185
198
|
}, L = (t) => {
|
|
186
|
-
|
|
187
|
-
|
|
199
|
+
H(
|
|
200
|
+
t,
|
|
201
|
+
e.properties?.placeholder,
|
|
202
|
+
s,
|
|
203
|
+
y
|
|
204
|
+
) || t.nativeEvent.isComposing || t.keyCode === 229 || t.key === "Enter" && !t.shiftKey && (t.preventDefault(), N ? g.length === 0 && !n.trim() || K() : B());
|
|
205
|
+
}, B = () => {
|
|
188
206
|
const t = {
|
|
189
207
|
variableName: e.properties?.variableName || "",
|
|
190
208
|
inputText: n
|
|
191
209
|
};
|
|
192
|
-
|
|
193
|
-
}, R =
|
|
210
|
+
h?.(t) && m?.(t);
|
|
211
|
+
}, R = C.useMemo(() => {
|
|
194
212
|
if (!l)
|
|
195
213
|
return;
|
|
196
|
-
const t =
|
|
214
|
+
const t = E.indexOf(l);
|
|
197
215
|
if (t > -1)
|
|
198
|
-
return
|
|
199
|
-
const a =
|
|
216
|
+
return k[t] ?? l;
|
|
217
|
+
const a = k.indexOf(l);
|
|
200
218
|
if (a > -1)
|
|
201
|
-
return
|
|
202
|
-
}, [l,
|
|
203
|
-
return
|
|
204
|
-
|
|
205
|
-
}, [
|
|
206
|
-
|
|
207
|
-
}, [
|
|
208
|
-
|
|
209
|
-
|
|
219
|
+
return k[a];
|
|
220
|
+
}, [l, k, E]);
|
|
221
|
+
return C.useEffect(() => {
|
|
222
|
+
v(p || "");
|
|
223
|
+
}, [p, I]), C.useEffect(() => {
|
|
224
|
+
M(u || []);
|
|
225
|
+
}, [u, I]), /* @__PURE__ */ w("span", { className: "custom-variable-container inline-flex items-center flex-wrap", children: [
|
|
226
|
+
N && /* @__PURE__ */ r(
|
|
227
|
+
Y,
|
|
210
228
|
{
|
|
211
229
|
node: e,
|
|
212
230
|
readonly: s,
|
|
213
|
-
selectedValues:
|
|
231
|
+
selectedValues: g,
|
|
214
232
|
inputValue: n,
|
|
215
|
-
confirmButtonText:
|
|
233
|
+
confirmButtonText: x,
|
|
216
234
|
handleCheckboxChange: G,
|
|
217
235
|
handleInputChange: V,
|
|
218
236
|
handleKeyDown: L,
|
|
219
|
-
handleConfirmClick:
|
|
237
|
+
handleConfirmClick: K
|
|
220
238
|
}
|
|
221
239
|
),
|
|
222
|
-
!
|
|
223
|
-
|
|
240
|
+
!N && P && /* @__PURE__ */ r(
|
|
241
|
+
Z,
|
|
224
242
|
{
|
|
225
243
|
dir: c,
|
|
226
244
|
lang: i,
|
|
@@ -231,11 +249,12 @@ const Q = ({
|
|
|
231
249
|
handleButtonClick: F,
|
|
232
250
|
inputValue: n,
|
|
233
251
|
handleInputChange: V,
|
|
234
|
-
handleSendClick:
|
|
252
|
+
handleSendClick: B,
|
|
253
|
+
onAcceptPlaceholder: y
|
|
235
254
|
}
|
|
236
255
|
),
|
|
237
|
-
!
|
|
238
|
-
|
|
256
|
+
!N && !P && e.properties?.placeholder && /* @__PURE__ */ r(
|
|
257
|
+
$,
|
|
239
258
|
{
|
|
240
259
|
dir: c,
|
|
241
260
|
lang: i,
|
|
@@ -244,12 +263,13 @@ const Q = ({
|
|
|
244
263
|
placeholder: e.properties.placeholder,
|
|
245
264
|
value: n,
|
|
246
265
|
onChange: V,
|
|
247
|
-
onSend:
|
|
266
|
+
onSend: B,
|
|
267
|
+
onAcceptPlaceholder: y
|
|
248
268
|
}
|
|
249
269
|
)
|
|
250
270
|
] });
|
|
251
271
|
};
|
|
252
272
|
export {
|
|
253
|
-
|
|
273
|
+
pe as default
|
|
254
274
|
};
|
|
255
275
|
//# sourceMappingURL=CustomVariable.es.js.map
|