@miliastry/quasar 1.1.0 → 1.2.0
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/README.md +1 -1
- package/dist/Visuals/lyne.css +257 -3
- package/dist/Visuals/osu.css +357 -6
- package/dist/index.js +850 -98
- package/dist/index.mjs +846 -99
- package/dist/types/BBCode/BBCodeDocumentModel.d.ts +11 -1
- package/dist/types/Visitors/DOMMorpher.d.ts +6 -0
- package/dist/types/Visitors/HTMLRenderer.d.ts +120 -8
- package/dist/types/Visitors/index.d.ts +1 -1
- package/dist/types/Visuals/BoxDrawer.d.ts +10 -5
- package/dist/types/Visuals/LyneAudio.d.ts +8 -0
- package/dist/types/Visuals/index.d.ts +1 -0
- package/dist/types/index.d.ts +4 -3
- package/package.json +1 -1
- package/src/BBCode/BBCodeDocumentModel.ts +36 -1
- package/src/HTML/HTMLToGreenNode.ts +8 -0
- package/src/Semantic/SemanticAnalyzer.ts +43 -0
- package/src/Visitors/BBCodeExporter.ts +51 -5
- package/src/Visitors/BlockPatcher.ts +36 -11
- package/src/Visitors/DOMMorpher.ts +44 -38
- package/src/Visitors/HTMLRenderer.ts +402 -59
- package/src/Visitors/index.ts +1 -1
- package/src/Visuals/BoxDrawer.ts +56 -10
- package/src/Visuals/LyneAudio.ts +346 -0
- package/src/Visuals/index.ts +1 -0
- package/src/Visuals/lyne.css +257 -3
- package/src/Visuals/osu.css +357 -6
- package/src/index.ts +6 -3
package/src/index.ts
CHANGED
|
@@ -117,7 +117,7 @@ export { Visitor, type VisitorContext } from './Visitors/Visitor'
|
|
|
117
117
|
export { BBCodeExporter, MILIASTRY_ONLY_TAGS, LYNE_ONLY_TAGS, type ExportTarget, type BBCodeExporterOptions, type BBCodeExportOptions } from './Visitors/BBCodeExporter'
|
|
118
118
|
export { BBBlocksExporter, type UIBBBlock } from './Visitors/BBBlocksExporter'
|
|
119
119
|
export { HTMLRenderer, type HTMLRendererOptions } from './Visitors/HTMLRenderer'
|
|
120
|
-
export { morphHTML } from './Visitors/DOMMorpher'
|
|
120
|
+
export { morphHTML, morphElement } from './Visitors/DOMMorpher'
|
|
121
121
|
export { patchBlocksInto, clearPatchCache, type PatchBlocksOptions, type PatchBlocksStats } from './Visitors/BlockPatcher'
|
|
122
122
|
export { SVGRenderer } from './Visitors/SVGRenderer'
|
|
123
123
|
export { MarkdownExporter } from './Visitors/MarkdownExporter'
|
|
@@ -169,7 +169,7 @@ export { reconcileVisualDOMToBBCode, computeTextDelta, type SurgicalEdit as Quas
|
|
|
169
169
|
export * from './Edits'
|
|
170
170
|
|
|
171
171
|
// ── BBCode Bridge ──
|
|
172
|
-
export { BBCodeDocumentModel } from './BBCode/BBCodeDocumentModel'
|
|
172
|
+
export { BBCodeDocumentModel, renderForumBBCode } from './BBCode/BBCodeDocumentModel'
|
|
173
173
|
export type { BBCodeDocumentModelOptions } from './BBCode/BBCodeDocumentModel'
|
|
174
174
|
export {
|
|
175
175
|
bbBlocksToRedTree,
|
|
@@ -194,7 +194,7 @@ export { transformOffset, transformRange, type TransformBias } from './Collab/po
|
|
|
194
194
|
// ── Visuals ──
|
|
195
195
|
export { visualThemes } from './Visuals/index'
|
|
196
196
|
export type { VisualThemeId } from './Visuals/index'
|
|
197
|
-
export { bindBoxDrawer, toggleBoxWithDrawer } from './Visuals/BoxDrawer'
|
|
197
|
+
export { bindBoxDrawer, toggleBoxWithDrawer, toggleSpoilerboxWithDrawer } from './Visuals/BoxDrawer'
|
|
198
198
|
export type { BoxDrawerOptions } from './Visuals/BoxDrawer'
|
|
199
199
|
|
|
200
200
|
// ── Tree Transformers (document-wide effects) ──
|
|
@@ -362,3 +362,6 @@ export type {
|
|
|
362
362
|
TokenSource,
|
|
363
363
|
} from './Tokens/index'
|
|
364
364
|
|
|
365
|
+
// ── Audio Runtime ──
|
|
366
|
+
export { setupLyneAudioRuntime, bindLyneAudio } from './Visuals/LyneAudio'
|
|
367
|
+
|