Skip to content

Commit 5674fe8

Browse files
committed
Re build-js
1 parent 6a7d3df commit 5674fe8

3 files changed

Lines changed: 210 additions & 15 deletions

File tree

src/resources/editor/tools/vs-code.mjs

Lines changed: 70 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18601,6 +18601,66 @@ var require_yaml_intelligence_resources = __commonJS({
1860118601
}
1860218602
]
1860318603
}
18604+
},
18605+
{
18606+
name: "scroll-view",
18607+
description: "Control the scroll view feature of Revealjs",
18608+
tags: {
18609+
formats: [
18610+
"revealjs"
18611+
]
18612+
},
18613+
schema: {
18614+
anyOf: [
18615+
"boolean",
18616+
{
18617+
object: {
18618+
properties: {
18619+
activate: {
18620+
boolean: {
18621+
default: true,
18622+
description: "Activate scroll view by default for the presentation. Otherwise, it is manually avalaible by adding `?view=scroll` to url."
18623+
}
18624+
},
18625+
progress: {
18626+
anyOf: [
18627+
"boolean",
18628+
{
18629+
enum: [
18630+
"auto"
18631+
]
18632+
}
18633+
],
18634+
default: "auto",
18635+
description: "Show the scrollbar while scrolling, hide while idle (default `auto`). Set to 'true' to always show, `false` to always hide."
18636+
},
18637+
snap: {
18638+
enum: [
18639+
"mandatory",
18640+
"proximity",
18641+
false
18642+
],
18643+
default: "mandatory",
18644+
description: "When scrolling, it will automatically snap to the closest slide. Only snap when close to the top of a slide using `proximity`. Disable snapping altogether by setting to `false`.\n"
18645+
},
18646+
layout: {
18647+
enum: [
18648+
"compact",
18649+
"full"
18650+
],
18651+
default: "full",
18652+
description: "By default each slide will be sized to be as tall as the viewport. If you prefer a more dense layout with multiple slides visible in parallel, set to `compact`.\n"
18653+
},
18654+
"activation-width": {
18655+
number: {
18656+
description: "Control scroll view activation width. The scroll view is automatically unable when the viewport reaches mobile widths. Set to `0` to disable automatic scroll view.\n"
18657+
}
18658+
}
18659+
}
18660+
}
18661+
}
18662+
]
18663+
}
1860418664
}
1860518665
],
1860618666
"schema/document-reveal-transitions.yml": [
@@ -23045,6 +23105,12 @@ var require_yaml_intelligence_resources = __commonJS({
2304523105
"Multiplex token server (defaults to Reveal-hosted server)",
2304623106
"Unique presentation id provided by multiplex token server",
2304723107
"Secret provided by multiplex token server",
23108+
"Control the scroll view feature of Revealjs",
23109+
"Activate scroll view by default for the presentation. Otherwise, it\nis manually avalaible by adding <code>?view=scroll</code> to url.",
23110+
"Show the scrollbar while scrolling, hide while idle (default\n<code>auto</code>). Set to \u2018true\u2019 to always show, <code>false</code> to\nalways hide.",
23111+
"When scrolling, it will automatically snap to the closest slide. Only\nsnap when close to the top of a slide using <code>proximity</code>.\nDisable snapping altogether by setting to <code>false</code>.",
23112+
"By default each slide will be sized to be as tall as the viewport. If\nyou prefer a more dense layout with multiple slides visible in parallel,\nset to <code>compact</code>.",
23113+
"Control scroll view activation width. The scroll view is\nautomatically unable when the viewport reaches mobile widths. Set to\n<code>0</code> to disable automatic scroll view.",
2304823114
{
2304923115
short: "Transition style for slides",
2305023116
long: "Transition style for slides backgrounds. (<code>none</code>,\n<code>fade</code>, <code>slide</code>, <code>convex</code>,\n<code>concave</code>, or <code>zoom</code>)"
@@ -23855,8 +23921,7 @@ var require_yaml_intelligence_resources = __commonJS({
2385523921
},
2385623922
"Disambiguating year suffix in author-date styles (e.g.&nbsp;\u201Ca\u201D in \u201CDoe,\n1999a\u201D).",
2385723923
"Manuscript configuration",
23858-
"internal-schema-hack",
23859-
"Alternative text for the logo, used for accessibility."
23924+
"internal-schema-hack"
2386023925
],
2386123926
"schema/external-schemas.yml": [
2386223927
{
@@ -24085,12 +24150,12 @@ var require_yaml_intelligence_resources = __commonJS({
2408524150
mermaid: "%%"
2408624151
},
2408724152
"handlers/mermaid/schema.yml": {
24088-
_internalId: 190453,
24153+
_internalId: 192356,
2408924154
type: "object",
2409024155
description: "be an object",
2409124156
properties: {
2409224157
"mermaid-format": {
24093-
_internalId: 190445,
24158+
_internalId: 192348,
2409424159
type: "enum",
2409524160
enum: [
2409624161
"png",
@@ -24106,7 +24171,7 @@ var require_yaml_intelligence_resources = __commonJS({
2410624171
exhaustiveCompletions: true
2410724172
},
2410824173
theme: {
24109-
_internalId: 190452,
24174+
_internalId: 192355,
2411024175
type: "anyOf",
2411124176
anyOf: [
2411224177
{

src/resources/editor/tools/yaml/web-worker.js

Lines changed: 70 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/resources/editor/tools/yaml/yaml-intelligence-resources.json

Lines changed: 70 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11573,6 +11573,66 @@
1157311573
}
1157411574
]
1157511575
}
11576+
},
11577+
{
11578+
"name": "scroll-view",
11579+
"description": "Control the scroll view feature of Revealjs",
11580+
"tags": {
11581+
"formats": [
11582+
"revealjs"
11583+
]
11584+
},
11585+
"schema": {
11586+
"anyOf": [
11587+
"boolean",
11588+
{
11589+
"object": {
11590+
"properties": {
11591+
"activate": {
11592+
"boolean": {
11593+
"default": true,
11594+
"description": "Activate scroll view by default for the presentation. Otherwise, it is manually avalaible by adding `?view=scroll` to url."
11595+
}
11596+
},
11597+
"progress": {
11598+
"anyOf": [
11599+
"boolean",
11600+
{
11601+
"enum": [
11602+
"auto"
11603+
]
11604+
}
11605+
],
11606+
"default": "auto",
11607+
"description": "Show the scrollbar while scrolling, hide while idle (default `auto`). Set to 'true' to always show, `false` to always hide."
11608+
},
11609+
"snap": {
11610+
"enum": [
11611+
"mandatory",
11612+
"proximity",
11613+
false
11614+
],
11615+
"default": "mandatory",
11616+
"description": "When scrolling, it will automatically snap to the closest slide. Only snap when close to the top of a slide using `proximity`. Disable snapping altogether by setting to `false`.\n"
11617+
},
11618+
"layout": {
11619+
"enum": [
11620+
"compact",
11621+
"full"
11622+
],
11623+
"default": "full",
11624+
"description": "By default each slide will be sized to be as tall as the viewport. If you prefer a more dense layout with multiple slides visible in parallel, set to `compact`.\n"
11625+
},
11626+
"activation-width": {
11627+
"number": {
11628+
"description": "Control scroll view activation width. The scroll view is automatically unable when the viewport reaches mobile widths. Set to `0` to disable automatic scroll view.\n"
11629+
}
11630+
}
11631+
}
11632+
}
11633+
}
11634+
]
11635+
}
1157611636
}
1157711637
],
1157811638
"schema/document-reveal-transitions.yml": [
@@ -16017,6 +16077,12 @@
1601716077
"Multiplex token server (defaults to Reveal-hosted server)",
1601816078
"Unique presentation id provided by multiplex token server",
1601916079
"Secret provided by multiplex token server",
16080+
"Control the scroll view feature of Revealjs",
16081+
"Activate scroll view by default for the presentation. Otherwise, it\nis manually avalaible by adding <code>?view=scroll</code> to url.",
16082+
"Show the scrollbar while scrolling, hide while idle (default\n<code>auto</code>). Set to ‘true’ to always show, <code>false</code> to\nalways hide.",
16083+
"When scrolling, it will automatically snap to the closest slide. Only\nsnap when close to the top of a slide using <code>proximity</code>.\nDisable snapping altogether by setting to <code>false</code>.",
16084+
"By default each slide will be sized to be as tall as the viewport. If\nyou prefer a more dense layout with multiple slides visible in parallel,\nset to <code>compact</code>.",
16085+
"Control scroll view activation width. The scroll view is\nautomatically unable when the viewport reaches mobile widths. Set to\n<code>0</code> to disable automatic scroll view.",
1602016086
{
1602116087
"short": "Transition style for slides",
1602216088
"long": "Transition style for slides backgrounds. (<code>none</code>,\n<code>fade</code>, <code>slide</code>, <code>convex</code>,\n<code>concave</code>, or <code>zoom</code>)"
@@ -16827,8 +16893,7 @@
1682716893
},
1682816894
"Disambiguating year suffix in author-date styles (e.g.&nbsp;“a” in “Doe,\n1999a”).",
1682916895
"Manuscript configuration",
16830-
"internal-schema-hack",
16831-
"Alternative text for the logo, used for accessibility."
16896+
"internal-schema-hack"
1683216897
],
1683316898
"schema/external-schemas.yml": [
1683416899
{
@@ -17057,12 +17122,12 @@
1705717122
"mermaid": "%%"
1705817123
},
1705917124
"handlers/mermaid/schema.yml": {
17060-
"_internalId": 190453,
17125+
"_internalId": 192356,
1706117126
"type": "object",
1706217127
"description": "be an object",
1706317128
"properties": {
1706417129
"mermaid-format": {
17065-
"_internalId": 190445,
17130+
"_internalId": 192348,
1706617131
"type": "enum",
1706717132
"enum": [
1706817133
"png",
@@ -17078,7 +17143,7 @@
1707817143
"exhaustiveCompletions": true
1707917144
},
1708017145
"theme": {
17081-
"_internalId": 190452,
17146+
"_internalId": 192355,
1708217147
"type": "anyOf",
1708317148
"anyOf": [
1708417149
{

0 commit comments

Comments
 (0)