You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -11882,50 +11882,84 @@ var require_yaml_intelligence_resources = __commonJS({
11882
11882
{
11883
11883
id: "brand-logo",
11884
11884
description: "Provide definitions and defaults for brand's logo in various formats and sizes.\n",
11885
+
object: {
11886
+
closed: true,
11887
+
properties: {
11888
+
with: {
11889
+
schema: {
11890
+
object: {
11891
+
additionalProperties: {
11892
+
schema: {
11893
+
ref: "brand-string-light-dark"
11894
+
}
11895
+
}
11896
+
}
11897
+
}
11898
+
},
11899
+
small: {
11900
+
description: "A link or path to the brand's small-sized logo or icon, or a link or path to both the light and dark versions.\n",
11901
+
schema: {
11902
+
ref: "brand-string-light-dark"
11903
+
}
11904
+
},
11905
+
medium: {
11906
+
description: "A link or path to the brand's medium-sized logo, or a link or path to both the light and dark versions.\n",
11907
+
schema: {
11908
+
ref: "brand-string-light-dark"
11909
+
}
11910
+
},
11911
+
large: {
11912
+
description: "A link or path to the brand's large- or full-sized logo, or a link or path to both the light and dark versions.\n",
11913
+
schema: {
11914
+
ref: "brand-string-light-dark"
11915
+
}
11916
+
}
11917
+
}
11918
+
}
11919
+
},
11920
+
{
11921
+
id: "brand-named-logo",
11922
+
description: "Names of customizeable logos",
11923
+
enum: [
11924
+
"small",
11925
+
"medium",
11926
+
"large"
11927
+
]
11928
+
},
11929
+
{
11930
+
id: "brand-color-value",
11931
+
schema: "string"
11932
+
},
11933
+
{
11934
+
id: "logo-string-layout",
11935
+
description: "Source path or source path with layout options for logo",
11885
11936
anyOf: [
11886
11937
"string",
11887
11938
{
11888
11939
object: {
11889
11940
closed: true,
11890
11941
properties: {
11891
-
with: {
11892
-
schema: {
11893
-
object: {
11894
-
additionalProperties: {
11895
-
schema: {
11896
-
ref: "brand-string-light-dark"
11897
-
}
11898
-
}
11899
-
}
11900
-
}
11942
+
location: {
11943
+
schema: "string",
11944
+
description: "X-Y positioning of logo\n"
11901
11945
},
11902
-
small: {
11903
-
description: "A link or path to the brand's small-sized logo or icon, or a link or path to both the light and dark versions.\n",
11904
-
schema: {
11905
-
ref: "brand-string-light-dark"
11906
-
}
11946
+
padding: {
11947
+
schema: "string",
11948
+
description: "Padding of logo\n"
11907
11949
},
11908
-
medium: {
11909
-
description: "A link or path to the brand's medium-sized logo, or a link or path to both the light and dark versions.\n",
11910
-
schema: {
11911
-
ref: "brand-string-light-dark"
11912
-
}
11950
+
width: {
11951
+
schema: "string",
11952
+
description: "Width of logo\n"
11913
11953
},
11914
-
large: {
11915
-
description: "A link or path to the brand's large- or full-sized logo, or a link or path to both the light and dark versions.\n",
11916
-
schema: {
11917
-
ref: "brand-string-light-dark"
11918
-
}
11954
+
src: {
11955
+
schema: "path",
11956
+
description: "Source path of logo\n"
11919
11957
}
11920
11958
}
11921
11959
}
11922
11960
}
11923
11961
]
11924
11962
},
11925
-
{
11926
-
id: "brand-color-value",
11927
-
schema: "string"
11928
-
},
11929
11963
{
11930
11964
id: "brand-color",
11931
11965
description: "The brand's custom color palette and theme.\n",
@@ -12065,7 +12099,7 @@ var require_yaml_intelligence_resources = __commonJS({
12065
12099
properties: {
12066
12100
with: {
12067
12101
description: "Font files and definitions for the brand.",
12068
-
ref: "brand-font"
12102
+
ref: "brand-font-with"
12069
12103
},
12070
12104
base: {
12071
12105
description: "The base font settings for the brand. These are used as the default for all text.\n",
@@ -12140,10 +12174,28 @@ var require_yaml_intelligence_resources = __commonJS({
12140
12174
},
12141
12175
"background-color": {
12142
12176
ref: "brand-maybe-named-color"
12177
+
},
12178
+
files: {
12179
+
maybeArrayOf: {
12180
+
anyOf: [
12181
+
"path",
12182
+
"string"
12183
+
]
12184
+
},
12185
+
description: "Resolved local paths.\n"
12143
12186
}
12144
12187
}
12145
12188
}
12146
12189
},
12190
+
{
12191
+
id: "brand-named-font",
12192
+
description: "Names of customizeable fonts",
12193
+
enum: [
12194
+
"base",
12195
+
"headings",
12196
+
"monospace"
12197
+
]
12198
+
},
12147
12199
{
12148
12200
id: "brand-typography-options-no-size",
12149
12201
description: "Typographic options without a font size.",
@@ -12168,22 +12220,27 @@ var require_yaml_intelligence_resources = __commonJS({
12168
12220
}
12169
12221
},
12170
12222
{
12171
-
id: "brand-font",
12223
+
id: "brand-font-with",
12172
12224
description: "Font files and definitions for the brand.",
12173
-
arrayOf: {
12174
-
anyOf: [
12175
-
{
12176
-
ref: "brand-font-google"
12177
-
},
12178
-
{
12179
-
ref: "brand-font-file"
12180
-
},
12181
-
{
12182
-
ref: "brand-font-family"
12183
-
}
12184
-
]
12225
+
object: {
12226
+
closed: false
12185
12227
}
12186
12228
},
12229
+
{
12230
+
id: "brand-font",
12231
+
description: "Font files and definitions for the brand.",
12232
+
anyOf: [
12233
+
{
12234
+
ref: "brand-font-google"
12235
+
},
12236
+
{
12237
+
ref: "brand-font-file"
12238
+
},
12239
+
{
12240
+
ref: "brand-font-family"
12241
+
}
12242
+
]
12243
+
},
12187
12244
{
12188
12245
id: "brand-font-weight",
12189
12246
description: "A font weight.",
@@ -12237,7 +12294,7 @@ var require_yaml_intelligence_resources = __commonJS({
12237
12294
]
12238
12295
},
12239
12296
style: {
12240
-
description: "The font style to include.",
12297
+
description: "The font styles to include.",
12241
12298
maybeArrayOf: {
12242
12299
ref: "brand-font-style"
12243
12300
},
@@ -12262,7 +12319,10 @@ var require_yaml_intelligence_resources = __commonJS({
12262
12319
}
12263
12320
]
12264
12321
}
12265
-
}
12322
+
},
12323
+
required: [
12324
+
"google"
12325
+
]
12266
12326
}
12267
12327
},
12268
12328
{
@@ -12283,8 +12343,42 @@ var require_yaml_intelligence_resources = __commonJS({
12283
12343
]
12284
12344
},
12285
12345
description: "The font files to include. These can be local or online. Local file paths should be relative to the `brand.yml` file. Online paths should be complete URLs.\n"
12346
+
},
12347
+
weight: {
12348
+
description: "The font weights to include.",
12349
+
maybeArrayOf: {
12350
+
ref: "brand-font-weight"
12351
+
},
12352
+
default: [
12353
+
400,
12354
+
700
12355
+
]
12356
+
},
12357
+
style: {
12358
+
description: "The font styles to include.",
12359
+
maybeArrayOf: {
12360
+
ref: "brand-font-style"
12361
+
},
12362
+
default: [
12363
+
"normal",
12364
+
"italic"
12365
+
]
12366
+
},
12367
+
display: {
12368
+
description: "The font display method, determines how a font face is font face is shown depending on its download status and readiness for use.\n",
12369
+
enum: [
12370
+
"auto",
12371
+
"block",
12372
+
"swap",
12373
+
"fallback",
12374
+
"optional"
12375
+
],
12376
+
default: "swap"
12286
12377
}
12287
-
}
12378
+
},
12379
+
required: [
12380
+
"files"
12381
+
]
12288
12382
}
12289
12383
},
12290
12384
{
@@ -17436,10 +17530,13 @@ var require_yaml_intelligence_resources = __commonJS({
17436
17530
name: "logo",
17437
17531
tags: {
17438
17532
formats: [
17439
-
"revealjs"
17533
+
"revealjs",
17534
+
"typst"
17440
17535
]
17441
17536
},
17442
-
schema: "path",
17537
+
schema: {
17538
+
ref: "logo-string-layout"
17539
+
},
17443
17540
description: "Logo image (placed in bottom right corner of slides)"
17444
17541
},
17445
17542
{
@@ -21303,7 +21400,7 @@ var require_yaml_intelligence_resources = __commonJS({
21303
21400
"Short/abbreviated form of container-title;",
21304
21401
"A minor contributor to the item; typically cited using \u201Cwith\u201D before\nthe name when listed in a bibliography.",
21305
21402
"Curator of an exhibit or collection (e.g. in a museum).",
21306
-
"Physical (e.g. size) or temporal (e.g. running time) dimensions of\nthe item.",
21403
+
"Physical (e.g. size) or temporal (e.g.\uFFFD\uFFFDrunning time) dimensions of\nthe item.",
21307
21404
"Director (e.g. of a film).",
21308
21405
"Minor subdivision of a court with a <code>jurisdiction</code> for a\nlegal item",
21309
21406
"(Container) edition holding the item (e.g. \u201C3\u201D when citing a chapter\nin the third edition of a book).",
@@ -21485,6 +21582,7 @@ var require_yaml_intelligence_resources = __commonJS({
21485
21582
"A link or path to the brand\u2019s small-sized logo or icon, or a link or\npath to both the light and dark versions.",
21486
21583
"A link or path to the brand\u2019s medium-sized logo, or a link or path to\nboth the light and dark versions.",
21487
21584
"A link or path to the brand\u2019s large- or full-sized logo, or a link or\npath to both the light and dark versions.",
21585
+
"Names of customizeable logos",
21488
21586
"The brand\u2019s custom color palette and theme.",
21489
21587
"The brand\u2019s custom color palette. Any number of colors can be\ndefined, each color having a custom name.",
21490
21588
"The foreground color, used for text.",
@@ -21510,18 +21608,24 @@ var require_yaml_intelligence_resources = __commonJS({
21510
21608
"The text properties used for emphasized (or emboldened) text.",
21511
21609
"The text properties used for hyperlinks.",
21512
21610
"Typographic options.",
21611
+
"Resolved local paths.",
21612
+
"Names of customizeable fonts",
21513
21613
"Typographic options without a font size.",
21514
21614
"Font files and definitions for the brand.",
21615
+
"Font files and definitions for the brand.",
21515
21616
"A font weight.",
21516
21617
"A font style.",
21517
21618
"A Google Font definition.",
21518
21619
"The font family name, which must match the name of the font on Google\nFonts.",
21519
21620
"The font weights to include.",
21520
-
"The font style to include.",
21621
+
"The font styles to include.",
21521
21622
"The font display method, determines how a font face is font face is\nshown depending on its download status and readiness for use.",
21522
21623
"A method for providing font files directly, either locally or from an\nonline location.",
21523
21624
"The font family name.",
21524
21625
"The font files to include. These can be local or online. Local file\npaths should be relative to the <code>brand.yml</code> file. Online\npaths should be complete URLs.",
21626
+
"The font weights to include.",
21627
+
"The font styles to include.",
21628
+
"The font display method, determines how a font face is font face is\nshown depending on its download status and readiness for use.",
21525
21629
"A locally-installed font family name. When used, the end-user is\nresponsible for ensuring that the font is installed on their system.",
21526
21630
{
21527
21631
short: "Unique label for code cell",
@@ -23804,12 +23908,12 @@ var require_yaml_intelligence_resources = __commonJS({
23804
23908
mermaid: "%%"
23805
23909
},
23806
23910
"handlers/mermaid/schema.yml": {
23807
-
_internalId: 187423,
23911
+
_internalId: 187585,
23808
23912
type: "object",
23809
23913
description: "be an object",
23810
23914
properties: {
23811
23915
"mermaid-format": {
23812
-
_internalId: 187415,
23916
+
_internalId: 187577,
23813
23917
type: "enum",
23814
23918
enum: [
23815
23919
"png",
@@ -23825,7 +23929,7 @@ var require_yaml_intelligence_resources = __commonJS({
23825
23929
exhaustiveCompletions: true
23826
23930
},
23827
23931
theme: {
23828
-
_internalId: 187422,
23932
+
_internalId: 187584,
23829
23933
type: "anyOf",
23830
23934
anyOf: [
23831
23935
{
@@ -30518,7 +30622,17 @@ function buildJsYamlAnnotation(mappedYaml) {
30518
30622
`Expected a single result, got ${results.length} instead`
30519
30623
);
30520
30624
}
30521
-
JSON.stringify(results[0]);
30625
+
try {
30626
+
JSON.stringify(results[0]);
30627
+
} catch (e) {
30628
+
if (e.message.match("invalid string length")) {
30629
+
} else if (e.message.match(/circular structure/)) {
30630
+
throw new InternalError(
30631
+
`Circular structure detected in parsed yaml: ${e.message}`
30632
+
);
30633
+
} else {
30634
+
}
30635
+
}
30522
30636
return postProcessAnnotation(results[0]);
30523
30637
}
30524
30638
function buildTreeSitterAnnotation(tree, mappedSource2) {
0 commit comments