mulmocast 2.20.0 → 2.22.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.
Files changed (36) hide show
  1. package/assets/schemas/mulmo_script.json +169 -0
  2. package/lib/data/animationRuntime.d.ts +5 -0
  3. package/lib/data/animationRuntime.js +639 -0
  4. package/lib/methods/mulmo_beat.d.ts +2 -7
  5. package/lib/methods/mulmo_beat.js +1 -12
  6. package/lib/methods/mulmo_beat_node.d.ts +2 -8
  7. package/lib/types/schema.d.ts +264 -0
  8. package/lib/utils/animation_config.d.ts +15 -0
  9. package/lib/utils/animation_config.js +17 -0
  10. package/lib/utils/beat_html/chart.d.ts +7 -11
  11. package/lib/utils/beat_html/chart.js +8 -18
  12. package/lib/utils/beat_html/decoration.d.ts +16 -0
  13. package/lib/utils/beat_html/decoration.js +55 -0
  14. package/lib/utils/beat_html/html_tailwind.d.ts +6 -6
  15. package/lib/utils/beat_html/html_tailwind.js +13 -7
  16. package/lib/utils/beat_html/index.js +5 -4
  17. package/lib/utils/beat_html/mermaid.d.ts +3 -6
  18. package/lib/utils/beat_html/mermaid.js +5 -10
  19. package/lib/utils/beat_html/slide.d.ts +13 -6
  20. package/lib/utils/beat_html/slide.js +8 -21
  21. package/lib/utils/beat_html/type.d.ts +47 -4
  22. package/lib/utils/context.d.ts +62 -0
  23. package/lib/utils/html_render.js +1 -1
  24. package/lib/utils/image_plugins/bg_image_css.d.ts +19 -0
  25. package/lib/utils/image_plugins/bg_image_css.js +75 -0
  26. package/lib/utils/image_plugins/bg_image_util.d.ts +0 -6
  27. package/lib/utils/image_plugins/bg_image_util.js +7 -69
  28. package/lib/utils/image_plugins/chart_html.d.ts +0 -10
  29. package/lib/utils/image_plugins/chart_html.js +5 -31
  30. package/lib/utils/image_plugins/html_tailwind.js +2 -39
  31. package/lib/utils/image_plugins/html_tailwind_script.d.ts +41 -0
  32. package/lib/utils/image_plugins/html_tailwind_script.js +111 -0
  33. package/lib/utils/image_plugins/slide.js +2 -5
  34. package/lib/utils/image_plugins/slide_branding.d.ts +7 -0
  35. package/lib/utils/image_plugins/slide_branding.js +10 -0
  36. package/package.json +2 -2
@@ -13320,6 +13320,175 @@
13320
13320
  "items"
13321
13321
  ],
13322
13322
  "additionalProperties": false
13323
+ },
13324
+ {
13325
+ "type": "object",
13326
+ "properties": {
13327
+ "layout": {
13328
+ "type": "string",
13329
+ "const": "figure"
13330
+ },
13331
+ "accentColor": {
13332
+ "type": "string",
13333
+ "enum": [
13334
+ "primary",
13335
+ "accent",
13336
+ "success",
13337
+ "warning",
13338
+ "danger",
13339
+ "info",
13340
+ "highlight"
13341
+ ]
13342
+ },
13343
+ "style": {
13344
+ "type": "object",
13345
+ "properties": {
13346
+ "bgColor": {
13347
+ "type": "string"
13348
+ },
13349
+ "bgGradient": {
13350
+ "type": "string"
13351
+ },
13352
+ "decorations": {
13353
+ "type": "boolean"
13354
+ },
13355
+ "bgOpacity": {
13356
+ "type": "number"
13357
+ },
13358
+ "footer": {
13359
+ "type": "string"
13360
+ }
13361
+ },
13362
+ "additionalProperties": false
13363
+ },
13364
+ "eyebrow": {
13365
+ "type": "object",
13366
+ "properties": {
13367
+ "label": {
13368
+ "type": "string"
13369
+ },
13370
+ "color": {
13371
+ "type": "string",
13372
+ "enum": [
13373
+ "primary",
13374
+ "accent",
13375
+ "success",
13376
+ "warning",
13377
+ "danger",
13378
+ "info",
13379
+ "highlight"
13380
+ ]
13381
+ }
13382
+ },
13383
+ "required": [
13384
+ "label"
13385
+ ],
13386
+ "additionalProperties": false
13387
+ },
13388
+ "density": {
13389
+ "type": "string",
13390
+ "enum": [
13391
+ "compact",
13392
+ "default"
13393
+ ]
13394
+ },
13395
+ "titleSize": {
13396
+ "type": "string",
13397
+ "enum": [
13398
+ "small",
13399
+ "default",
13400
+ "large",
13401
+ "hero"
13402
+ ]
13403
+ },
13404
+ "subtitleSize": {
13405
+ "type": "string",
13406
+ "enum": [
13407
+ "default",
13408
+ "big",
13409
+ "lead"
13410
+ ]
13411
+ },
13412
+ "intro": {
13413
+ "type": "string",
13414
+ "enum": [
13415
+ "fade",
13416
+ "fade-up",
13417
+ "fade-down",
13418
+ "slide-left",
13419
+ "slide-right",
13420
+ "zoom-in"
13421
+ ]
13422
+ },
13423
+ "staggerMs": {
13424
+ "type": "integer",
13425
+ "minimum": 0,
13426
+ "maximum": 2000
13427
+ },
13428
+ "title": {
13429
+ "type": "string"
13430
+ },
13431
+ "stepLabel": {
13432
+ "type": "string"
13433
+ },
13434
+ "subtitle": {
13435
+ "type": "string"
13436
+ },
13437
+ "figure": {
13438
+ "oneOf": [
13439
+ {
13440
+ "type": "object",
13441
+ "properties": {
13442
+ "type": {
13443
+ "type": "string",
13444
+ "const": "chart"
13445
+ },
13446
+ "chartData": {
13447
+ "type": "object",
13448
+ "propertyNames": {
13449
+ "type": "string"
13450
+ },
13451
+ "additionalProperties": {}
13452
+ },
13453
+ "title": {
13454
+ "type": "string"
13455
+ }
13456
+ },
13457
+ "required": [
13458
+ "type",
13459
+ "chartData"
13460
+ ],
13461
+ "additionalProperties": false
13462
+ },
13463
+ {
13464
+ "type": "object",
13465
+ "properties": {
13466
+ "type": {
13467
+ "type": "string",
13468
+ "const": "mermaid"
13469
+ },
13470
+ "code": {
13471
+ "type": "string"
13472
+ },
13473
+ "title": {
13474
+ "type": "string"
13475
+ }
13476
+ },
13477
+ "required": [
13478
+ "type",
13479
+ "code"
13480
+ ],
13481
+ "additionalProperties": false
13482
+ }
13483
+ ]
13484
+ }
13485
+ },
13486
+ "required": [
13487
+ "layout",
13488
+ "title",
13489
+ "figure"
13490
+ ],
13491
+ "additionalProperties": false
13323
13492
  }
13324
13493
  ]
13325
13494
  },
@@ -0,0 +1,5 @@
1
+ export declare const animationRuntime: {
2
+ animation_runtime: string;
3
+ auto_render: string;
4
+ data_attribute_registration: string;
5
+ };