@typespec/html-program-viewer 0.68.0-dev.1 → 0.68.0-dev.3
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/emitter/index.js +61 -10
- package/dist/manifest-KysNbCfR.js +6 -0
- package/dist/react/index.js +75 -48
- package/package.json +13 -13
- package/dist/manifest-CYH440uE.js +0 -6
package/dist/emitter/index.js
CHANGED
|
@@ -353,7 +353,7 @@ function getDebugClassNames(lookupItem, parentLookupItem, parentDebugClassNames,
|
|
|
353
353
|
});
|
|
354
354
|
}
|
|
355
355
|
|
|
356
|
-
function
|
|
356
|
+
function getAtomicDebugSequenceTree(debugSequenceHash, parentNode) {
|
|
357
357
|
const lookupItem = DEFINITION_LOOKUP_TABLE[debugSequenceHash];
|
|
358
358
|
if (lookupItem === undefined) {
|
|
359
359
|
return undefined;
|
|
@@ -369,7 +369,7 @@ function getDebugTree(debugSequenceHash, parentNode) {
|
|
|
369
369
|
const childrenSequences = debugData.getChildrenSequences(node.sequenceHash);
|
|
370
370
|
childrenSequences.reverse() // first process the overriding children that are merged last
|
|
371
371
|
.forEach(sequence => {
|
|
372
|
-
const child =
|
|
372
|
+
const child = getAtomicDebugSequenceTree(sequence, node);
|
|
373
373
|
if (child) {
|
|
374
374
|
node.children.push(child);
|
|
375
375
|
}
|
|
@@ -394,6 +394,53 @@ function getDebugTree(debugSequenceHash, parentNode) {
|
|
|
394
394
|
return node;
|
|
395
395
|
}
|
|
396
396
|
|
|
397
|
+
function getResetDebugSequence(debugSequenceHash) {
|
|
398
|
+
const resetClass = DEBUG_RESET_CLASSES[debugSequenceHash];
|
|
399
|
+
if (resetClass === undefined) {
|
|
400
|
+
return undefined;
|
|
401
|
+
}
|
|
402
|
+
const debugClassNames = [{
|
|
403
|
+
className: debugSequenceHash
|
|
404
|
+
}];
|
|
405
|
+
const node = {
|
|
406
|
+
sequenceHash: debugSequenceHash,
|
|
407
|
+
direction: 'ltr',
|
|
408
|
+
children: [],
|
|
409
|
+
debugClassNames
|
|
410
|
+
};
|
|
411
|
+
node.rules = {};
|
|
412
|
+
node.slot = 'makeResetStyles()';
|
|
413
|
+
const [{
|
|
414
|
+
className
|
|
415
|
+
}] = node.debugClassNames;
|
|
416
|
+
const cssRules = debugData.getCSSRules().filter(cssRule => {
|
|
417
|
+
return cssRule.includes(`.${className}`);
|
|
418
|
+
});
|
|
419
|
+
node.rules[className] = cssRules.join('');
|
|
420
|
+
return node;
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
function mergeDebugSequence(atomicClases, resetClassName) {
|
|
424
|
+
const debugResultRootAtomic = atomicClases ? getAtomicDebugSequenceTree(atomicClases) : undefined;
|
|
425
|
+
const debugResultRootReset = resetClassName ? getResetDebugSequence(resetClassName) : undefined;
|
|
426
|
+
if (!debugResultRootAtomic && !debugResultRootReset) {
|
|
427
|
+
return undefined;
|
|
428
|
+
}
|
|
429
|
+
if (!debugResultRootAtomic) {
|
|
430
|
+
return debugResultRootReset;
|
|
431
|
+
}
|
|
432
|
+
if (!debugResultRootReset) {
|
|
433
|
+
return debugResultRootAtomic;
|
|
434
|
+
}
|
|
435
|
+
const debugResultRoot = {
|
|
436
|
+
sequenceHash: debugResultRootAtomic.sequenceHash + debugResultRootReset.sequenceHash,
|
|
437
|
+
direction: debugResultRootAtomic.direction,
|
|
438
|
+
children: [debugResultRootAtomic, debugResultRootReset],
|
|
439
|
+
debugClassNames: [...debugResultRootAtomic.debugClassNames, ...debugResultRootReset.debugClassNames]
|
|
440
|
+
};
|
|
441
|
+
return debugResultRoot;
|
|
442
|
+
}
|
|
443
|
+
|
|
397
444
|
function injectDevTools(document) {
|
|
398
445
|
const window = document.defaultView;
|
|
399
446
|
if (!window || window.__GRIFFEL_DEVTOOLS__) {
|
|
@@ -401,11 +448,17 @@ function injectDevTools(document) {
|
|
|
401
448
|
}
|
|
402
449
|
const devtools = {
|
|
403
450
|
getInfo: element => {
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
451
|
+
let rootDebugSequenceHash;
|
|
452
|
+
let rootResetDebugClassName;
|
|
453
|
+
for (const className of element.classList) {
|
|
454
|
+
if (className.startsWith(SEQUENCE_PREFIX)) {
|
|
455
|
+
rootDebugSequenceHash = className;
|
|
456
|
+
}
|
|
457
|
+
if (DEBUG_RESET_CLASSES[className]) {
|
|
458
|
+
rootResetDebugClassName = className;
|
|
459
|
+
}
|
|
407
460
|
}
|
|
408
|
-
return
|
|
461
|
+
return mergeDebugSequence(rootDebugSequenceHash, rootResetDebugClassName);
|
|
409
462
|
}
|
|
410
463
|
};
|
|
411
464
|
Object.defineProperty(window, '__GRIFFEL_DEVTOOLS__', {
|
|
@@ -4864,11 +4917,9 @@ const fontWeights = {
|
|
|
4864
4917
|
fontWeightBold: 700
|
|
4865
4918
|
};
|
|
4866
4919
|
const fontFamilies = {
|
|
4867
|
-
fontFamilyBase:
|
|
4868
|
-
"'Segoe UI', 'Segoe UI Web (West European)', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif",
|
|
4920
|
+
fontFamilyBase: "'Segoe UI', 'Segoe UI Web (West European)', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif",
|
|
4869
4921
|
fontFamilyMonospace: "Consolas, 'Courier New', Courier, monospace",
|
|
4870
|
-
fontFamilyNumeric:
|
|
4871
|
-
"Bahnschrift, 'Segoe UI', 'Segoe UI Web (West European)', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif"
|
|
4922
|
+
fontFamilyNumeric: "Bahnschrift, 'Segoe UI', 'Segoe UI Web (West European)', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif"
|
|
4872
4923
|
};
|
|
4873
4924
|
|
|
4874
4925
|
// Intentionally not exported! Use horizontalSpacings and verticalSpacings instead.
|
package/dist/react/index.js
CHANGED
|
@@ -2,10 +2,10 @@ import require$$0, { useRef, useState, useMemo, useCallback, useEffect, useId, c
|
|
|
2
2
|
import { mergeClasses, Breadcrumb, BreadcrumbItem, BreadcrumbButton, BreadcrumbDivider, Combobox, Option, Caption1, Card, CardHeader, Text, Divider } from '@fluentui/react-components';
|
|
3
3
|
import { ChevronDownRegular, ChevronRightRegular, AppsListRegular, DatabaseRegular } from '@fluentui/react-icons';
|
|
4
4
|
import { useHotkeys } from 'react-hotkeys-hook';
|
|
5
|
-
import { List, ListItem } from '@fluentui/react-list
|
|
5
|
+
import { List, ListItem } from '@fluentui/react-list';
|
|
6
6
|
|
|
7
7
|
function getAugmentedNamespace(n) {
|
|
8
|
-
if (n
|
|
8
|
+
if (Object.prototype.hasOwnProperty.call(n, '__esModule')) return n;
|
|
9
9
|
var f = n.default;
|
|
10
10
|
if (typeof f == "function") {
|
|
11
11
|
var a = function a () {
|
|
@@ -19088,6 +19088,12 @@ const diagnostics = {
|
|
|
19088
19088
|
osx: "Couldn't find VS Code 'code' command in PATH. Make sure you have the VS Code executable added to the system PATH.\nSee instruction for Mac OS here https://code.visualstudio.com/docs/setup/mac",
|
|
19089
19089
|
},
|
|
19090
19090
|
},
|
|
19091
|
+
"invalid-option-flag": {
|
|
19092
|
+
severity: "error",
|
|
19093
|
+
messages: {
|
|
19094
|
+
default: paramMessage `The --option parameter value "${"value"}" must be in the format: <emitterName>.some-options=value`,
|
|
19095
|
+
},
|
|
19096
|
+
},
|
|
19091
19097
|
// #endregion CLI
|
|
19092
19098
|
};
|
|
19093
19099
|
const { createDiagnostic} = createDiagnosticCreator(diagnostics);
|
|
@@ -22430,9 +22436,11 @@ function requireUtils () {
|
|
|
22430
22436
|
|
|
22431
22437
|
const { HEX } = requireScopedChars();
|
|
22432
22438
|
|
|
22439
|
+
const IPV4_REG = /^(?:(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)$/u;
|
|
22440
|
+
|
|
22433
22441
|
function normalizeIPv4 (host) {
|
|
22434
22442
|
if (findToken(host, '.') < 3) { return { host, isIPV4: false } }
|
|
22435
|
-
const matches = host.match(
|
|
22443
|
+
const matches = host.match(IPV4_REG) || [];
|
|
22436
22444
|
const [address] = matches;
|
|
22437
22445
|
if (address) {
|
|
22438
22446
|
return { host: stripLeadingZeros(address, '.'), isIPV4: true }
|
|
@@ -22524,7 +22532,7 @@ function requireUtils () {
|
|
|
22524
22532
|
return output
|
|
22525
22533
|
}
|
|
22526
22534
|
|
|
22527
|
-
function normalizeIPv6 (host
|
|
22535
|
+
function normalizeIPv6 (host) {
|
|
22528
22536
|
if (findToken(host, ':') < 2) { return { host, isIPV6: false } }
|
|
22529
22537
|
const ipv6 = getIPV6(host);
|
|
22530
22538
|
|
|
@@ -22627,7 +22635,7 @@ function requireUtils () {
|
|
|
22627
22635
|
return components
|
|
22628
22636
|
}
|
|
22629
22637
|
|
|
22630
|
-
function recomposeAuthority (components
|
|
22638
|
+
function recomposeAuthority (components) {
|
|
22631
22639
|
const uriTokens = [];
|
|
22632
22640
|
|
|
22633
22641
|
if (components.userinfo !== undefined) {
|
|
@@ -22642,7 +22650,7 @@ function requireUtils () {
|
|
|
22642
22650
|
if (ipV4res.isIPV4) {
|
|
22643
22651
|
host = ipV4res.host;
|
|
22644
22652
|
} else {
|
|
22645
|
-
const ipV6res = normalizeIPv6(ipV4res.host
|
|
22653
|
+
const ipV6res = normalizeIPv6(ipV4res.host);
|
|
22646
22654
|
if (ipV6res.isIPV6 === true) {
|
|
22647
22655
|
host = `[${ipV6res.escapedHost}]`;
|
|
22648
22656
|
} else {
|
|
@@ -22677,7 +22685,7 @@ function requireSchemes () {
|
|
|
22677
22685
|
if (hasRequiredSchemes) return schemes;
|
|
22678
22686
|
hasRequiredSchemes = 1;
|
|
22679
22687
|
|
|
22680
|
-
const UUID_REG = /^[\da-f]{8}
|
|
22688
|
+
const UUID_REG = /^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}$/iu;
|
|
22681
22689
|
const URN_REG = /([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-.:;=@]|%[\da-f]{2})+)/iu;
|
|
22682
22690
|
|
|
22683
22691
|
function isSecure (wsComponents) {
|
|
@@ -23010,7 +23018,7 @@ function requireFastUri () {
|
|
|
23010
23018
|
uriTokens.push(components.scheme, ':');
|
|
23011
23019
|
}
|
|
23012
23020
|
|
|
23013
|
-
const authority = recomposeAuthority(components
|
|
23021
|
+
const authority = recomposeAuthority(components);
|
|
23014
23022
|
if (authority !== undefined) {
|
|
23015
23023
|
if (options.reference !== 'suffix') {
|
|
23016
23024
|
uriTokens.push('//');
|
|
@@ -23046,7 +23054,7 @@ function requireFastUri () {
|
|
|
23046
23054
|
return uriTokens.join('')
|
|
23047
23055
|
}
|
|
23048
23056
|
|
|
23049
|
-
const hexLookUp = Array.from({ length: 127 }, (
|
|
23057
|
+
const hexLookUp = Array.from({ length: 127 }, (_v, k) => /[^!"$&'()*+,\-.;=_`a-z{}~]/u.test(String.fromCharCode(k)));
|
|
23050
23058
|
|
|
23051
23059
|
function nonSimpleDomain (value) {
|
|
23052
23060
|
let code = 0;
|
|
@@ -23095,7 +23103,7 @@ function requireFastUri () {
|
|
|
23095
23103
|
if (parsed.host) {
|
|
23096
23104
|
const ipv4result = normalizeIPv4(parsed.host);
|
|
23097
23105
|
if (ipv4result.isIPV4 === false) {
|
|
23098
|
-
const ipv6result = normalizeIPv6(ipv4result.host
|
|
23106
|
+
const ipv6result = normalizeIPv6(ipv4result.host);
|
|
23099
23107
|
parsed.host = ipv6result.host.toLowerCase();
|
|
23100
23108
|
isIP = ipv6result.isIPV6;
|
|
23101
23109
|
} else {
|
|
@@ -23103,7 +23111,7 @@ function requireFastUri () {
|
|
|
23103
23111
|
isIP = true;
|
|
23104
23112
|
}
|
|
23105
23113
|
}
|
|
23106
|
-
if (parsed.scheme === undefined && parsed.userinfo === undefined && parsed.host === undefined && parsed.port === undefined &&
|
|
23114
|
+
if (parsed.scheme === undefined && parsed.userinfo === undefined && parsed.host === undefined && parsed.port === undefined && parsed.query === undefined && !parsed.path) {
|
|
23107
23115
|
parsed.reference = 'same-document';
|
|
23108
23116
|
} else if (parsed.scheme === undefined) {
|
|
23109
23117
|
parsed.reference = 'relative';
|
|
@@ -23142,10 +23150,10 @@ function requireFastUri () {
|
|
|
23142
23150
|
if (gotEncoding && parsed.host !== undefined) {
|
|
23143
23151
|
parsed.host = unescape(parsed.host);
|
|
23144
23152
|
}
|
|
23145
|
-
if (parsed.path
|
|
23153
|
+
if (parsed.path) {
|
|
23146
23154
|
parsed.path = escape(unescape(parsed.path));
|
|
23147
23155
|
}
|
|
23148
|
-
if (parsed.fragment
|
|
23156
|
+
if (parsed.fragment) {
|
|
23149
23157
|
parsed.fragment = encodeURI(decodeURIComponent(parsed.fragment));
|
|
23150
23158
|
}
|
|
23151
23159
|
}
|
|
@@ -28019,7 +28027,12 @@ function findYamlNode(file, path, kind = "value") {
|
|
|
28019
28027
|
else if (isCollection(current)) {
|
|
28020
28028
|
if (isLast) {
|
|
28021
28029
|
if (kind === "value" || !isMap(current)) {
|
|
28022
|
-
|
|
28030
|
+
if (Array.isArray(current.items) && current.items.every((item) => isScalar(item))) {
|
|
28031
|
+
return current.items.find((m) => m.source && m.source === key);
|
|
28032
|
+
}
|
|
28033
|
+
else {
|
|
28034
|
+
return current.get(key, true);
|
|
28035
|
+
}
|
|
28023
28036
|
}
|
|
28024
28037
|
else {
|
|
28025
28038
|
const pair = findPair(current.items, key);
|
|
@@ -28462,6 +28475,7 @@ const TypeSpecConfigJsonSchema = {
|
|
|
28462
28475
|
default: { type: "string" },
|
|
28463
28476
|
},
|
|
28464
28477
|
required: ["default"],
|
|
28478
|
+
additionalProperties: false,
|
|
28465
28479
|
},
|
|
28466
28480
|
},
|
|
28467
28481
|
parameters: {
|
|
@@ -28474,6 +28488,7 @@ const TypeSpecConfigJsonSchema = {
|
|
|
28474
28488
|
default: { type: "string" },
|
|
28475
28489
|
},
|
|
28476
28490
|
required: ["default"],
|
|
28491
|
+
additionalProperties: false,
|
|
28477
28492
|
},
|
|
28478
28493
|
},
|
|
28479
28494
|
"output-dir": {
|
|
@@ -28509,15 +28524,6 @@ const TypeSpecConfigJsonSchema = {
|
|
|
28509
28524
|
required: [],
|
|
28510
28525
|
additionalProperties: emitterOptionsSchema,
|
|
28511
28526
|
},
|
|
28512
|
-
emitters: {
|
|
28513
|
-
type: "object",
|
|
28514
|
-
nullable: true,
|
|
28515
|
-
deprecated: true,
|
|
28516
|
-
required: [],
|
|
28517
|
-
additionalProperties: {
|
|
28518
|
-
oneOf: [{ type: "boolean" }, emitterOptionsSchema],
|
|
28519
|
-
},
|
|
28520
|
-
},
|
|
28521
28527
|
linter: {
|
|
28522
28528
|
type: "object",
|
|
28523
28529
|
nullable: true,
|
|
@@ -30381,31 +30387,36 @@ var Token;
|
|
|
30381
30387
|
Token[Token["RecordKeyword"] = 89] = "RecordKeyword";
|
|
30382
30388
|
Token[Token["ModuleKeyword"] = 90] = "ModuleKeyword";
|
|
30383
30389
|
Token[Token["ModKeyword"] = 91] = "ModKeyword";
|
|
30384
|
-
Token[Token["
|
|
30385
|
-
Token[Token["
|
|
30386
|
-
Token[Token["
|
|
30387
|
-
Token[Token["
|
|
30388
|
-
Token[Token["
|
|
30389
|
-
Token[Token["
|
|
30390
|
-
Token[Token["
|
|
30391
|
-
Token[Token["
|
|
30392
|
-
Token[Token["
|
|
30393
|
-
Token[Token["
|
|
30394
|
-
Token[Token["
|
|
30395
|
-
Token[Token["
|
|
30396
|
-
Token[Token["
|
|
30397
|
-
Token[Token["
|
|
30398
|
-
Token[Token["
|
|
30399
|
-
Token[Token["
|
|
30400
|
-
Token[Token["
|
|
30401
|
-
Token[Token["
|
|
30402
|
-
Token[Token["
|
|
30403
|
-
Token[Token["
|
|
30404
|
-
Token[Token["
|
|
30405
|
-
Token[Token["
|
|
30406
|
-
|
|
30390
|
+
Token[Token["SymKeyword"] = 92] = "SymKeyword";
|
|
30391
|
+
Token[Token["ContextKeyword"] = 93] = "ContextKeyword";
|
|
30392
|
+
Token[Token["PropKeyword"] = 94] = "PropKeyword";
|
|
30393
|
+
Token[Token["PropertyKeyword"] = 95] = "PropertyKeyword";
|
|
30394
|
+
Token[Token["ScenarioKeyword"] = 96] = "ScenarioKeyword";
|
|
30395
|
+
Token[Token["PubKeyword"] = 97] = "PubKeyword";
|
|
30396
|
+
Token[Token["SubKeyword"] = 98] = "SubKeyword";
|
|
30397
|
+
Token[Token["TypeRefKeyword"] = 99] = "TypeRefKeyword";
|
|
30398
|
+
Token[Token["TraitKeyword"] = 100] = "TraitKeyword";
|
|
30399
|
+
Token[Token["ThisKeyword"] = 101] = "ThisKeyword";
|
|
30400
|
+
Token[Token["SelfKeyword"] = 102] = "SelfKeyword";
|
|
30401
|
+
Token[Token["SuperKeyword"] = 103] = "SuperKeyword";
|
|
30402
|
+
Token[Token["KeyofKeyword"] = 104] = "KeyofKeyword";
|
|
30403
|
+
Token[Token["WithKeyword"] = 105] = "WithKeyword";
|
|
30404
|
+
Token[Token["ImplementsKeyword"] = 106] = "ImplementsKeyword";
|
|
30405
|
+
Token[Token["ImplKeyword"] = 107] = "ImplKeyword";
|
|
30406
|
+
Token[Token["SatisfiesKeyword"] = 108] = "SatisfiesKeyword";
|
|
30407
|
+
Token[Token["FlagKeyword"] = 109] = "FlagKeyword";
|
|
30408
|
+
Token[Token["AutoKeyword"] = 110] = "AutoKeyword";
|
|
30409
|
+
Token[Token["PartialKeyword"] = 111] = "PartialKeyword";
|
|
30410
|
+
Token[Token["PrivateKeyword"] = 112] = "PrivateKeyword";
|
|
30411
|
+
Token[Token["PublicKeyword"] = 113] = "PublicKeyword";
|
|
30412
|
+
Token[Token["ProtectedKeyword"] = 114] = "ProtectedKeyword";
|
|
30413
|
+
Token[Token["InternalKeyword"] = 115] = "InternalKeyword";
|
|
30414
|
+
Token[Token["SealedKeyword"] = 116] = "SealedKeyword";
|
|
30415
|
+
Token[Token["LocalKeyword"] = 117] = "LocalKeyword";
|
|
30416
|
+
Token[Token["AsyncKeyword"] = 118] = "AsyncKeyword";
|
|
30417
|
+
/** @internal */ Token[Token["__EndReservedKeyword"] = 119] = "__EndReservedKeyword";
|
|
30407
30418
|
///////////////////////////////////////////////////////////////
|
|
30408
|
-
/** @internal */ Token[Token["__Count"] =
|
|
30419
|
+
/** @internal */ Token[Token["__Count"] = 119] = "__Count";
|
|
30409
30420
|
})(Token || (Token = {}));
|
|
30410
30421
|
/** @internal */
|
|
30411
30422
|
getTokenDisplayTable([
|
|
@@ -30502,6 +30513,11 @@ getTokenDisplayTable([
|
|
|
30502
30513
|
[Token.RecordKeyword, "'record'"],
|
|
30503
30514
|
[Token.ModuleKeyword, "'module'"],
|
|
30504
30515
|
[Token.ModKeyword, "'mod'"],
|
|
30516
|
+
[Token.SymKeyword, "'sym'"],
|
|
30517
|
+
[Token.ContextKeyword, "'context'"],
|
|
30518
|
+
[Token.PropKeyword, "'prop'"],
|
|
30519
|
+
[Token.PropertyKeyword, "'property'"],
|
|
30520
|
+
[Token.ScenarioKeyword, "'scenario'"],
|
|
30505
30521
|
[Token.PubKeyword, "'pub'"],
|
|
30506
30522
|
[Token.SubKeyword, "'sub'"],
|
|
30507
30523
|
[Token.TypeRefKeyword, "'typeref'"],
|
|
@@ -30568,6 +30584,11 @@ const Keywords = new Map([
|
|
|
30568
30584
|
["record", Token.RecordKeyword],
|
|
30569
30585
|
["module", Token.ModuleKeyword],
|
|
30570
30586
|
["mod", Token.ModKeyword],
|
|
30587
|
+
["sym", Token.SymKeyword],
|
|
30588
|
+
["context", Token.ContextKeyword],
|
|
30589
|
+
["prop", Token.PropKeyword],
|
|
30590
|
+
["property", Token.PropertyKeyword],
|
|
30591
|
+
["scenario", Token.ScenarioKeyword],
|
|
30571
30592
|
["pub", Token.PubKeyword],
|
|
30572
30593
|
["sub", Token.SubKeyword],
|
|
30573
30594
|
["typeref", Token.TypeRefKeyword],
|
|
@@ -30605,6 +30626,12 @@ const ReservedKeywords = new Map([
|
|
|
30605
30626
|
["struct", Token.StructKeyword],
|
|
30606
30627
|
["record", Token.RecordKeyword],
|
|
30607
30628
|
["module", Token.ModuleKeyword],
|
|
30629
|
+
["mod", Token.ModuleKeyword],
|
|
30630
|
+
["sym", Token.SymKeyword],
|
|
30631
|
+
["context", Token.ContextKeyword],
|
|
30632
|
+
["prop", Token.PropKeyword],
|
|
30633
|
+
["property", Token.PropertyKeyword],
|
|
30634
|
+
["scenario", Token.ScenarioKeyword],
|
|
30608
30635
|
["trait", Token.TraitKeyword],
|
|
30609
30636
|
["this", Token.ThisKeyword],
|
|
30610
30637
|
["self", Token.SelfKeyword],
|
|
@@ -33584,7 +33611,7 @@ let manifest;
|
|
|
33584
33611
|
try {
|
|
33585
33612
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
33586
33613
|
// @ts-ignore
|
|
33587
|
-
manifest = (await import('../manifest-
|
|
33614
|
+
manifest = (await import('../manifest-KysNbCfR.js')).default;
|
|
33588
33615
|
}
|
|
33589
33616
|
catch {
|
|
33590
33617
|
const name = "../dist/manifest.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@typespec/html-program-viewer",
|
|
3
|
-
"version": "0.68.0-dev.
|
|
3
|
+
"version": "0.68.0-dev.3",
|
|
4
4
|
"author": "Microsoft Corporation",
|
|
5
5
|
"description": "TypeSpec library for emitting an html view of the program.",
|
|
6
6
|
"homepage": "https://typespec.io",
|
|
@@ -36,36 +36,36 @@
|
|
|
36
36
|
"!dist/test/**"
|
|
37
37
|
],
|
|
38
38
|
"peerDependencies": {
|
|
39
|
-
"@typespec/compiler": "^0.67.
|
|
39
|
+
"@typespec/compiler": "^0.67.2 || >=0.68.0-dev <0.68.0"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@fluentui/react-components": "~9.
|
|
43
|
-
"@fluentui/react-icons": "^2.0.
|
|
44
|
-
"@fluentui/react-list
|
|
42
|
+
"@fluentui/react-components": "~9.61.2",
|
|
43
|
+
"@fluentui/react-icons": "^2.0.292",
|
|
44
|
+
"@fluentui/react-list": "^9.1.2",
|
|
45
45
|
"react": "~18.3.1",
|
|
46
46
|
"react-dom": "~18.3.1",
|
|
47
47
|
"react-hotkeys-hook": "^4.6.1"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
|
-
"@babel/core": "^7.26.
|
|
50
|
+
"@babel/core": "^7.26.10",
|
|
51
51
|
"@testing-library/dom": "^10.4.0",
|
|
52
52
|
"@testing-library/jest-dom": "^6.6.3",
|
|
53
53
|
"@testing-library/react": "^16.2.0",
|
|
54
|
-
"@types/node": "~22.13.
|
|
54
|
+
"@types/node": "~22.13.11",
|
|
55
55
|
"@types/react": "~18.3.11",
|
|
56
56
|
"@types/react-dom": "~18.3.0",
|
|
57
|
-
"@typespec/compiler": "^0.67.
|
|
57
|
+
"@typespec/compiler": "^0.67.2 || >=0.68.0-dev <0.68.0",
|
|
58
58
|
"@vitejs/plugin-react": "~4.3.4",
|
|
59
|
-
"@vitest/coverage-v8": "^3.0.
|
|
60
|
-
"@vitest/ui": "^3.0.
|
|
59
|
+
"@vitest/coverage-v8": "^3.0.9",
|
|
60
|
+
"@vitest/ui": "^3.0.9",
|
|
61
61
|
"c8": "^10.1.3",
|
|
62
62
|
"rimraf": "~6.0.1",
|
|
63
63
|
"typescript": "~5.8.2",
|
|
64
|
-
"vite": "^6.2.
|
|
65
|
-
"vite-plugin-checker": "^0.9.
|
|
64
|
+
"vite": "^6.2.2",
|
|
65
|
+
"vite-plugin-checker": "^0.9.1",
|
|
66
66
|
"vite-plugin-dts": "4.5.3",
|
|
67
67
|
"vite-plugin-node-polyfills": "^0.23.0",
|
|
68
|
-
"vitest": "^3.0.
|
|
68
|
+
"vitest": "^3.0.9",
|
|
69
69
|
"@typespec/react-components": "^0.57.0"
|
|
70
70
|
},
|
|
71
71
|
"scripts": {
|