@typespec/html-program-viewer 0.83.0-dev.2 → 0.83.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/dist/emitter/index.js +38 -38
- package/dist/{manifest-BNef1S5o.js → manifest-Bu4Jq7Zd.js} +2 -2
- package/dist/react/common.d.ts +3 -3
- package/dist/react/common.d.ts.map +1 -1
- package/dist/react/current-path/current-path.d.ts +1 -1
- package/dist/react/current-path/current-path.d.ts.map +1 -1
- package/dist/react/index.js +718 -708
- package/dist/react/js-inspector/object-inspector.d.ts +1 -1
- package/dist/react/js-inspector/object-inspector.d.ts.map +1 -1
- package/dist/react/list-type-view/list-type-view.d.ts +1 -1
- package/dist/react/list-type-view/list-type-view.d.ts.map +1 -1
- package/dist/react/tree-navigation.d.ts +2 -2
- package/dist/react/tree-navigation.d.ts.map +1 -1
- package/dist/react/type-view/type-view.d.ts +1 -1
- package/dist/react/type-view/type-view.d.ts.map +1 -1
- package/dist/react/use-tree-navigation.d.ts +1 -1
- package/dist/react/use-tree-navigation.d.ts.map +1 -1
- package/package.json +6 -6
package/dist/emitter/index.js
CHANGED
|
@@ -611,7 +611,7 @@ function __styles(classesMapBySlot, cssRules, factory = insertionFactory) {
|
|
|
611
611
|
return computeClasses;
|
|
612
612
|
}
|
|
613
613
|
//#endregion
|
|
614
|
-
//#region ../../node_modules/.pnpm/react@19.2.
|
|
614
|
+
//#region ../../node_modules/.pnpm/react@19.2.7/node_modules/react/cjs/react-jsx-runtime.production.js
|
|
615
615
|
/**
|
|
616
616
|
* @license React
|
|
617
617
|
* react-jsx-runtime.production.js
|
|
@@ -645,7 +645,7 @@ var require_react_jsx_runtime_production = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
645
645
|
exports.jsxs = jsxProd;
|
|
646
646
|
}));
|
|
647
647
|
//#endregion
|
|
648
|
-
//#region ../../node_modules/.pnpm/react@19.2.
|
|
648
|
+
//#region ../../node_modules/.pnpm/react@19.2.7/node_modules/react/cjs/react-jsx-runtime.development.js
|
|
649
649
|
/**
|
|
650
650
|
* @license React
|
|
651
651
|
* react-jsx-runtime.development.js
|
|
@@ -844,7 +844,7 @@ var require_react_jsx_runtime_development = /* @__PURE__ */ __commonJSMin(((expo
|
|
|
844
844
|
})();
|
|
845
845
|
}));
|
|
846
846
|
//#endregion
|
|
847
|
-
//#region ../../node_modules/.pnpm/@griffel+react@1.7.4_react@19.2.
|
|
847
|
+
//#region ../../node_modules/.pnpm/@griffel+react@1.7.4_react@19.2.7/node_modules/@griffel/react/src/RendererContext.js
|
|
848
848
|
var import_jsx_runtime = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
849
849
|
if (process.env.NODE_ENV === "production") module.exports = require_react_jsx_runtime_production();
|
|
850
850
|
else module.exports = require_react_jsx_runtime_development();
|
|
@@ -862,7 +862,7 @@ function useRenderer() {
|
|
|
862
862
|
return useContext(RendererContext);
|
|
863
863
|
}
|
|
864
864
|
//#endregion
|
|
865
|
-
//#region ../../node_modules/.pnpm/@griffel+react@1.7.4_react@19.2.
|
|
865
|
+
//#region ../../node_modules/.pnpm/@griffel+react@1.7.4_react@19.2.7/node_modules/@griffel/react/src/TextDirectionContext.js
|
|
866
866
|
/**
|
|
867
867
|
* @private
|
|
868
868
|
*/
|
|
@@ -877,7 +877,7 @@ var TextDirectionProvider = ({ children, dir }) => {
|
|
|
877
877
|
});
|
|
878
878
|
};
|
|
879
879
|
//#endregion
|
|
880
|
-
//#region ../../node_modules/.pnpm/@fluentui+react-provider@9.
|
|
880
|
+
//#region ../../node_modules/.pnpm/@fluentui+react-provider@9._d288fbb326c7d59fc92ddeaf64bc3ca8/node_modules/@fluentui/react-provider/lib/components/FluentProvider/createCSSRuleFromTheme.js
|
|
881
881
|
var CSS_ESCAPE_MAP = {
|
|
882
882
|
"<": "\\3C ",
|
|
883
883
|
">": "\\3E "
|
|
@@ -901,7 +901,7 @@ var CSS_ESCAPE_MAP = {
|
|
|
901
901
|
return `${selector} {}`;
|
|
902
902
|
}
|
|
903
903
|
//#endregion
|
|
904
|
-
//#region ../../node_modules/.pnpm/@fluentui+react-utilities@
|
|
904
|
+
//#region ../../node_modules/.pnpm/@fluentui+react-utilities@9_9e09e28e8ac3461f040db0c64ea1ae4c/node_modules/@fluentui/react-utilities/lib/compose/constants.js
|
|
905
905
|
/**
|
|
906
906
|
* Internal reference for the render function
|
|
907
907
|
*
|
|
@@ -918,7 +918,7 @@ var CSS_ESCAPE_MAP = {
|
|
|
918
918
|
* @internal
|
|
919
919
|
*/ var SLOT_CLASS_NAME_PROP_SYMBOL = Symbol.for("fui.slotClassNameProp");
|
|
920
920
|
//#endregion
|
|
921
|
-
//#region ../../node_modules/.pnpm/@fluentui+react-utilities@
|
|
921
|
+
//#region ../../node_modules/.pnpm/@fluentui+react-utilities@9_9e09e28e8ac3461f040db0c64ea1ae4c/node_modules/@fluentui/react-utilities/lib/compose/slot.js
|
|
922
922
|
/**
|
|
923
923
|
* Creates a slot from a slot shorthand or properties (`props.SLOT_NAME` or `props` itself)
|
|
924
924
|
* @param value - the value of the slot, it can be a slot shorthand, a slot component or a slot properties
|
|
@@ -960,7 +960,7 @@ Slot shorthands can be strings, numbers, arrays or JSX elements`);
|
|
|
960
960
|
}
|
|
961
961
|
var isIterable = (value) => typeof value === "object" && value !== null && Symbol.iterator in value;
|
|
962
962
|
//#endregion
|
|
963
|
-
//#region ../../node_modules/.pnpm/@fluentui+react-utilities@
|
|
963
|
+
//#region ../../node_modules/.pnpm/@fluentui+react-utilities@9_9e09e28e8ac3461f040db0c64ea1ae4c/node_modules/@fluentui/react-utilities/lib/compose/isSlot.js
|
|
964
964
|
/**
|
|
965
965
|
* Guard method to ensure a given element is a slot.
|
|
966
966
|
* This is mainly used internally to ensure a slot is being used as a component.
|
|
@@ -968,7 +968,7 @@ var isIterable = (value) => typeof value === "object" && value !== null && Symbo
|
|
|
968
968
|
return Boolean(element === null || element === void 0 ? void 0 : element.hasOwnProperty(SLOT_ELEMENT_TYPE_SYMBOL));
|
|
969
969
|
}
|
|
970
970
|
//#endregion
|
|
971
|
-
//#region ../../node_modules/.pnpm/@fluentui+react-utilities@
|
|
971
|
+
//#region ../../node_modules/.pnpm/@fluentui+react-utilities@9_9e09e28e8ac3461f040db0c64ea1ae4c/node_modules/@fluentui/react-utilities/lib/compose/assertSlots.js
|
|
972
972
|
/**
|
|
973
973
|
* Assertion method to ensure state slots properties are properly declared.
|
|
974
974
|
* A properly declared slot must be declared by using the `slot` method.
|
|
@@ -1015,7 +1015,7 @@ Be sure to create slots properly by using "slot.always" or "slot.optional" with
|
|
|
1015
1015
|
}
|
|
1016
1016
|
}
|
|
1017
1017
|
//#endregion
|
|
1018
|
-
//#region ../../node_modules/.pnpm/@fluentui+react-utilities@
|
|
1018
|
+
//#region ../../node_modules/.pnpm/@fluentui+react-utilities@9_9e09e28e8ac3461f040db0c64ea1ae4c/node_modules/@fluentui/react-utilities/lib/utils/properties.js
|
|
1019
1019
|
var toObjectMap = (...items) => {
|
|
1020
1020
|
const result = {};
|
|
1021
1021
|
for (const item of items) {
|
|
@@ -1383,7 +1383,7 @@ var colProperties = toObjectMap(htmlElementProperties, ["span"]);
|
|
|
1383
1383
|
return result;
|
|
1384
1384
|
}
|
|
1385
1385
|
//#endregion
|
|
1386
|
-
//#region ../../node_modules/.pnpm/@fluentui+react-utilities@
|
|
1386
|
+
//#region ../../node_modules/.pnpm/@fluentui+react-utilities@9_9e09e28e8ac3461f040db0c64ea1ae4c/node_modules/@fluentui/react-utilities/lib/utils/getNativeElementProps.js
|
|
1387
1387
|
var nativeElementMap = {
|
|
1388
1388
|
label: labelProperties,
|
|
1389
1389
|
audio: audioProperties,
|
|
@@ -1423,7 +1423,7 @@ var nativeElementMap = {
|
|
|
1423
1423
|
return getNativeProps(props, allowedPropNames, excludedPropNames);
|
|
1424
1424
|
}
|
|
1425
1425
|
//#endregion
|
|
1426
|
-
//#region ../../node_modules/.pnpm/@fluentui+react-utilities@
|
|
1426
|
+
//#region ../../node_modules/.pnpm/@fluentui+react-utilities@9_9e09e28e8ac3461f040db0c64ea1ae4c/node_modules/@fluentui/react-utilities/lib/compose/getIntrinsicElementProps.js
|
|
1427
1427
|
/**
|
|
1428
1428
|
* Given an element tagname and user props, filters the props to only allowed props for the given
|
|
1429
1429
|
* element type.
|
|
@@ -1438,7 +1438,7 @@ var nativeElementMap = {
|
|
|
1438
1438
|
return getNativeElementProps((_props_as = props.as) !== null && _props_as !== void 0 ? _props_as : tagName, props, excludedPropNames);
|
|
1439
1439
|
};
|
|
1440
1440
|
//#endregion
|
|
1441
|
-
//#region ../../node_modules/.pnpm/@fluentui+react-shared-
|
|
1441
|
+
//#region ../../node_modules/.pnpm/@fluentui+react-shared-cont_8ff820540c510175b7d9d8d940d228a4/node_modules/@fluentui/react-shared-contexts/lib/ThemeContext/ThemeContext.js
|
|
1442
1442
|
/**
|
|
1443
1443
|
* @internal
|
|
1444
1444
|
*/ var ThemeContext = React.createContext(void 0);
|
|
@@ -1450,7 +1450,7 @@ var ThemeClassNameProvider = React.createContext(void 0).Provider;
|
|
|
1450
1450
|
* @internal
|
|
1451
1451
|
*/ var TooltipVisibilityProvider = React.createContext(void 0).Provider;
|
|
1452
1452
|
//#endregion
|
|
1453
|
-
//#region ../../node_modules/.pnpm/@fluentui+react-shared-
|
|
1453
|
+
//#region ../../node_modules/.pnpm/@fluentui+react-shared-cont_8ff820540c510175b7d9d8d940d228a4/node_modules/@fluentui/react-shared-contexts/lib/ProviderContext/ProviderContext.js
|
|
1454
1454
|
/**
|
|
1455
1455
|
* @internal
|
|
1456
1456
|
*/ var ProviderContext = React.createContext(void 0);
|
|
@@ -1466,7 +1466,7 @@ function useFluent() {
|
|
|
1466
1466
|
return (_React_useContext = React.useContext(ProviderContext)) !== null && _React_useContext !== void 0 ? _React_useContext : providerContextDefaultValue;
|
|
1467
1467
|
}
|
|
1468
1468
|
//#endregion
|
|
1469
|
-
//#region ../../node_modules/.pnpm/@fluentui+react-shared-
|
|
1469
|
+
//#region ../../node_modules/.pnpm/@fluentui+react-shared-cont_8ff820540c510175b7d9d8d940d228a4/node_modules/@fluentui/react-shared-contexts/lib/OverridesContext/OverridesContext.js
|
|
1470
1470
|
/**
|
|
1471
1471
|
* @internal
|
|
1472
1472
|
*/ var OverridesContext = React.createContext(void 0);
|
|
@@ -1478,7 +1478,7 @@ function useOverrides() {
|
|
|
1478
1478
|
return (_React_useContext = React.useContext(OverridesContext)) !== null && _React_useContext !== void 0 ? _React_useContext : {};
|
|
1479
1479
|
}
|
|
1480
1480
|
//#endregion
|
|
1481
|
-
//#region ../../node_modules/.pnpm/@fluentui+react-shared-
|
|
1481
|
+
//#region ../../node_modules/.pnpm/@fluentui+react-shared-cont_8ff820540c510175b7d9d8d940d228a4/node_modules/@fluentui/react-shared-contexts/lib/CustomStyleHooksContext/CustomStyleHooksContext.js
|
|
1482
1482
|
/**
|
|
1483
1483
|
* @internal
|
|
1484
1484
|
*/ var CustomStyleHooksContext = React.createContext(void 0);
|
|
@@ -1486,14 +1486,14 @@ function useOverrides() {
|
|
|
1486
1486
|
* @internal
|
|
1487
1487
|
*/ var CustomStyleHooksProvider = CustomStyleHooksContext.Provider;
|
|
1488
1488
|
//#endregion
|
|
1489
|
-
//#region ../../node_modules/.pnpm/@fluentui+react-utilities@
|
|
1489
|
+
//#region ../../node_modules/.pnpm/@fluentui+react-utilities@9_9e09e28e8ac3461f040db0c64ea1ae4c/node_modules/@fluentui/react-utilities/lib/ssr/canUseDOM.js
|
|
1490
1490
|
/**
|
|
1491
1491
|
* Verifies if an application can use DOM.
|
|
1492
1492
|
*/ function canUseDOM() {
|
|
1493
1493
|
return typeof window !== "undefined" && !!(window.document && window.document.createElement);
|
|
1494
1494
|
}
|
|
1495
1495
|
//#endregion
|
|
1496
|
-
//#region ../../node_modules/.pnpm/@fluentui+react-utilities@
|
|
1496
|
+
//#region ../../node_modules/.pnpm/@fluentui+react-utilities@9_9e09e28e8ac3461f040db0c64ea1ae4c/node_modules/@fluentui/react-utilities/lib/ssr/SSRContext.js
|
|
1497
1497
|
/**
|
|
1498
1498
|
* Default context value to use in case there is no SSRProvider. This is fine for client-only apps.
|
|
1499
1499
|
*
|
|
@@ -1507,7 +1507,7 @@ var SSRContext = /* @__PURE__ */ React.createContext(void 0);
|
|
|
1507
1507
|
return (_React_useContext = React.useContext(SSRContext)) !== null && _React_useContext !== void 0 ? _React_useContext : defaultSSRContextValue;
|
|
1508
1508
|
}
|
|
1509
1509
|
//#endregion
|
|
1510
|
-
//#region ../../node_modules/.pnpm/@fluentui+react-utilities@
|
|
1510
|
+
//#region ../../node_modules/.pnpm/@fluentui+react-utilities@9_9e09e28e8ac3461f040db0c64ea1ae4c/node_modules/@fluentui/react-utilities/lib/hooks/useIsomorphicLayoutEffect.js
|
|
1511
1511
|
/**
|
|
1512
1512
|
* React currently throws a warning when using useLayoutEffect on the server. To get around it, we can conditionally
|
|
1513
1513
|
* useEffect on the server (no-op) and useLayoutEffect in the browser. We occasionally need useLayoutEffect to
|
|
@@ -1518,7 +1518,7 @@ var SSRContext = /* @__PURE__ */ React.createContext(void 0);
|
|
|
1518
1518
|
* https://github.com/reduxjs/react-redux/blob/master/src/utils/useIsomorphicLayoutEffect.js
|
|
1519
1519
|
*/ var useIsomorphicLayoutEffect = canUseDOM() ? React.useLayoutEffect : React.useEffect;
|
|
1520
1520
|
//#endregion
|
|
1521
|
-
//#region ../../node_modules/.pnpm/@fluentui+react-utilities@
|
|
1521
|
+
//#region ../../node_modules/.pnpm/@fluentui+react-utilities@9_9e09e28e8ac3461f040db0c64ea1ae4c/node_modules/@fluentui/react-utilities/lib/hooks/useId.js
|
|
1522
1522
|
var IdPrefixContext = React.createContext(void 0);
|
|
1523
1523
|
IdPrefixContext.Provider;
|
|
1524
1524
|
function useIdPrefix() {
|
|
@@ -1552,7 +1552,7 @@ function useIdPrefix() {
|
|
|
1552
1552
|
]);
|
|
1553
1553
|
}
|
|
1554
1554
|
//#endregion
|
|
1555
|
-
//#region ../../node_modules/.pnpm/@fluentui+react-utilities@
|
|
1555
|
+
//#region ../../node_modules/.pnpm/@fluentui+react-utilities@9_9e09e28e8ac3461f040db0c64ea1ae4c/node_modules/@fluentui/react-utilities/lib/hooks/useMergedRefs.js
|
|
1556
1556
|
/**
|
|
1557
1557
|
* React hook to merge multiple React refs (either MutableRefObjects or ref callbacks) into a single ref callback that
|
|
1558
1558
|
* updates all provided refs
|
|
@@ -1575,7 +1575,7 @@ For more info on string refs, see https://react.dev/blog/2024/04/25/react-19-upg
|
|
|
1575
1575
|
return mergedCallback;
|
|
1576
1576
|
}
|
|
1577
1577
|
//#endregion
|
|
1578
|
-
//#region ../../node_modules/.pnpm/@fluentui+react-utilities@
|
|
1578
|
+
//#region ../../node_modules/.pnpm/@fluentui+react-utilities@9_9e09e28e8ac3461f040db0c64ea1ae4c/node_modules/@fluentui/react-utilities/lib/utils/isHTMLElement.js
|
|
1579
1579
|
/**
|
|
1580
1580
|
* Verifies if a given node is an HTMLElement,
|
|
1581
1581
|
* this method works seamlessly with frames and elements from different documents
|
|
@@ -1596,7 +1596,7 @@ For more info on string refs, see https://react.dev/blog/2024/04/25/react-19-upg
|
|
|
1596
1596
|
return Boolean((typedElement === null || typedElement === void 0 ? void 0 : (_typedElement_ownerDocument = typedElement.ownerDocument) === null || _typedElement_ownerDocument === void 0 ? void 0 : _typedElement_ownerDocument.defaultView) && typedElement instanceof typedElement.ownerDocument.defaultView[(_options_constructorName = options === null || options === void 0 ? void 0 : options.constructorName) !== null && _options_constructorName !== void 0 ? _options_constructorName : "HTMLElement"]);
|
|
1597
1597
|
}
|
|
1598
1598
|
//#endregion
|
|
1599
|
-
//#region ../../node_modules/.pnpm/@fluentui+react-jsx-
|
|
1599
|
+
//#region ../../node_modules/.pnpm/@fluentui+react-jsx-runtime_e8dcd778f7dfbeb38ac7e38ef88cd61b/node_modules/@fluentui/react-jsx-runtime/lib/utils/createCompatSlotComponent.js
|
|
1600
1600
|
function createCompatSlotComponent(type, props) {
|
|
1601
1601
|
return {
|
|
1602
1602
|
...props,
|
|
@@ -1604,7 +1604,7 @@ function createCompatSlotComponent(type, props) {
|
|
|
1604
1604
|
};
|
|
1605
1605
|
}
|
|
1606
1606
|
//#endregion
|
|
1607
|
-
//#region ../../node_modules/.pnpm/@fluentui+react-jsx-
|
|
1607
|
+
//#region ../../node_modules/.pnpm/@fluentui+react-jsx-runtime_e8dcd778f7dfbeb38ac7e38ef88cd61b/node_modules/@fluentui/react-jsx-runtime/lib/utils/warnIfElementTypeIsInvalid.js
|
|
1608
1608
|
function warnIfElementTypeIsInvalid(type) {
|
|
1609
1609
|
if (process.env.NODE_ENV === "development" && typeof type === "object" && type !== null && type["$$typeof"] === void 0) console.error(`@fluentui/react-jsx-runtime:
|
|
1610
1610
|
Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: ${type}.
|
|
@@ -1614,7 +1614,7 @@ Please make sure you don't have multiple versions of "@fluentui/react-utilities"
|
|
|
1614
1614
|
You can check this by searching up for matching entries in a lockfile produced by your package manager (yarn.lock, pnpm-lock.yaml or package-lock.json).`);
|
|
1615
1615
|
}
|
|
1616
1616
|
//#endregion
|
|
1617
|
-
//#region ../../node_modules/.pnpm/@fluentui+react-jsx-
|
|
1617
|
+
//#region ../../node_modules/.pnpm/@fluentui+react-jsx-runtime_e8dcd778f7dfbeb38ac7e38ef88cd61b/node_modules/@fluentui/react-jsx-runtime/lib/jsx/createJSX.js
|
|
1618
1618
|
function createJSX(runtime, slotRuntime) {
|
|
1619
1619
|
return function jsx(type, overrideProps, key, source, self) {
|
|
1620
1620
|
if (isSlot(overrideProps)) return slotRuntime(createCompatSlotComponent(type, overrideProps), null, key, source, self);
|
|
@@ -1624,7 +1624,7 @@ function createJSX(runtime, slotRuntime) {
|
|
|
1624
1624
|
};
|
|
1625
1625
|
}
|
|
1626
1626
|
//#endregion
|
|
1627
|
-
//#region ../../node_modules/.pnpm/@fluentui+react-jsx-
|
|
1627
|
+
//#region ../../node_modules/.pnpm/@fluentui+react-jsx-runtime_e8dcd778f7dfbeb38ac7e38ef88cd61b/node_modules/@fluentui/react-jsx-runtime/lib/utils/getMetadataFromSlotComponent.js
|
|
1628
1628
|
/**
|
|
1629
1629
|
* @internal
|
|
1630
1630
|
*/ function getMetadataFromSlotComponent(type) {
|
|
@@ -1639,10 +1639,10 @@ function createJSX(runtime, slotRuntime) {
|
|
|
1639
1639
|
};
|
|
1640
1640
|
}
|
|
1641
1641
|
//#endregion
|
|
1642
|
-
//#region ../../node_modules/.pnpm/@fluentui+react-jsx-
|
|
1642
|
+
//#region ../../node_modules/.pnpm/@fluentui+react-jsx-runtime_e8dcd778f7dfbeb38ac7e38ef88cd61b/node_modules/@fluentui/react-jsx-runtime/lib/utils/Runtime.js
|
|
1643
1643
|
var Runtime = import_jsx_runtime;
|
|
1644
1644
|
//#endregion
|
|
1645
|
-
//#region ../../node_modules/.pnpm/@fluentui+react-jsx-
|
|
1645
|
+
//#region ../../node_modules/.pnpm/@fluentui+react-jsx-runtime_e8dcd778f7dfbeb38ac7e38ef88cd61b/node_modules/@fluentui/react-jsx-runtime/lib/jsx/jsxSlot.js
|
|
1646
1646
|
var jsxSlot = (type, overrideProps, key) => {
|
|
1647
1647
|
const { elementType, renderFunction, props: slotProps } = getMetadataFromSlotComponent(type);
|
|
1648
1648
|
const props = {
|
|
@@ -1653,7 +1653,7 @@ var jsxSlot = (type, overrideProps, key) => {
|
|
|
1653
1653
|
return Runtime.jsx(elementType, props, key);
|
|
1654
1654
|
};
|
|
1655
1655
|
//#endregion
|
|
1656
|
-
//#region ../../node_modules/.pnpm/@fluentui+react-jsx-
|
|
1656
|
+
//#region ../../node_modules/.pnpm/@fluentui+react-jsx-runtime_e8dcd778f7dfbeb38ac7e38ef88cd61b/node_modules/@fluentui/react-jsx-runtime/lib/jsx/jsxsSlot.js
|
|
1657
1657
|
var jsxsSlot = (type, overrideProps, key) => {
|
|
1658
1658
|
const { elementType, renderFunction, props: slotProps } = getMetadataFromSlotComponent(type);
|
|
1659
1659
|
const props = {
|
|
@@ -1672,12 +1672,12 @@ var jsxsSlot = (type, overrideProps, key) => {
|
|
|
1672
1672
|
return Runtime.jsxs(elementType, props, key);
|
|
1673
1673
|
};
|
|
1674
1674
|
//#endregion
|
|
1675
|
-
//#region ../../node_modules/.pnpm/@fluentui+react-jsx-
|
|
1675
|
+
//#region ../../node_modules/.pnpm/@fluentui+react-jsx-runtime_e8dcd778f7dfbeb38ac7e38ef88cd61b/node_modules/@fluentui/react-jsx-runtime/lib/jsx-runtime.js
|
|
1676
1676
|
var jsx = createJSX(Runtime.jsx, jsxSlot);
|
|
1677
1677
|
var jsxs = createJSX(Runtime.jsxs, jsxsSlot);
|
|
1678
1678
|
var IconDirectionContextProvider = React.createContext(void 0).Provider;
|
|
1679
1679
|
//#endregion
|
|
1680
|
-
//#region ../../node_modules/.pnpm/@fluentui+react-provider@9.
|
|
1680
|
+
//#region ../../node_modules/.pnpm/@fluentui+react-provider@9._d288fbb326c7d59fc92ddeaf64bc3ca8/node_modules/@fluentui/react-provider/lib/components/FluentProvider/renderFluentProvider.js
|
|
1681
1681
|
/**
|
|
1682
1682
|
* Render the final JSX of FluentProvider
|
|
1683
1683
|
*/ var renderFluentProvider_unstable = (state, contextValues) => {
|
|
@@ -2074,7 +2074,7 @@ function disposeKeyborg(instance) {
|
|
|
2074
2074
|
* @internal
|
|
2075
2075
|
*/ var FOCUS_VISIBLE_ATTR = "data-fui-focus-visible";
|
|
2076
2076
|
//#endregion
|
|
2077
|
-
//#region ../../node_modules/.pnpm/@fluentui+react-tabster@9.
|
|
2077
|
+
//#region ../../node_modules/.pnpm/@fluentui+react-tabster@9.2_5e9222e6da0ee5d843013b99e545ae46/node_modules/@fluentui/react-tabster/lib/focus/focusVisiblePolyfill.js
|
|
2078
2078
|
/**
|
|
2079
2079
|
* @internal
|
|
2080
2080
|
* @param scope - Applies the ponyfill to all DOM children
|
|
@@ -2125,7 +2125,7 @@ function alreadyInScope(el) {
|
|
|
2125
2125
|
return alreadyInScope(el === null || el === void 0 ? void 0 : el.parentElement);
|
|
2126
2126
|
}
|
|
2127
2127
|
//#endregion
|
|
2128
|
-
//#region ../../node_modules/.pnpm/@fluentui+react-tabster@9.
|
|
2128
|
+
//#region ../../node_modules/.pnpm/@fluentui+react-tabster@9.2_5e9222e6da0ee5d843013b99e545ae46/node_modules/@fluentui/react-tabster/lib/hooks/useFocusVisible.js
|
|
2129
2129
|
function useFocusVisible(options = {}) {
|
|
2130
2130
|
const contextValue = useFluent();
|
|
2131
2131
|
const scopeRef = React.useRef(null);
|
|
@@ -3238,7 +3238,7 @@ var webLightTheme = createLightTheme({
|
|
|
3238
3238
|
160: `#ebf3fc`
|
|
3239
3239
|
});
|
|
3240
3240
|
//#endregion
|
|
3241
|
-
//#region ../../node_modules/.pnpm/@fluentui+react-provider@9.
|
|
3241
|
+
//#region ../../node_modules/.pnpm/@fluentui+react-provider@9._d288fbb326c7d59fc92ddeaf64bc3ca8/node_modules/@fluentui/react-provider/lib/components/FluentProvider/useFluentProviderStyles.styles.js
|
|
3242
3242
|
var fluentProviderClassNames = { root: "fui-FluentProvider" };
|
|
3243
3243
|
var useStyles = /* @__PURE__ */ __styles({ root: {
|
|
3244
3244
|
sj55zd: "f19n0e5",
|
|
@@ -3270,7 +3270,7 @@ var useFluentProviderStyles_unstable = (state) => {
|
|
|
3270
3270
|
return state;
|
|
3271
3271
|
};
|
|
3272
3272
|
//#endregion
|
|
3273
|
-
//#region ../../node_modules/.pnpm/@fluentui+react-provider@9.
|
|
3273
|
+
//#region ../../node_modules/.pnpm/@fluentui+react-provider@9._d288fbb326c7d59fc92ddeaf64bc3ca8/node_modules/@fluentui/react-provider/lib/components/FluentProvider/useFluentProviderThemeStyleTag.js
|
|
3274
3274
|
var useInsertionEffect = React["useInsertionEffect"] ? React["useInsertionEffect"] : useIsomorphicLayoutEffect;
|
|
3275
3275
|
var createStyleTag = (target, elementAttributes) => {
|
|
3276
3276
|
if (!(target === null || target === void 0 ? void 0 : target.head)) return;
|
|
@@ -3362,7 +3362,7 @@ function useHandleSSRStyleElements(targetDocument, styleTagId) {
|
|
|
3362
3362
|
});
|
|
3363
3363
|
}
|
|
3364
3364
|
//#endregion
|
|
3365
|
-
//#region ../../node_modules/.pnpm/@fluentui+react-provider@9.
|
|
3365
|
+
//#region ../../node_modules/.pnpm/@fluentui+react-provider@9._d288fbb326c7d59fc92ddeaf64bc3ca8/node_modules/@fluentui/react-provider/lib/components/FluentProvider/useFluentProvider.js
|
|
3366
3366
|
var DEFAULT_STYLE_HOOKS = {};
|
|
3367
3367
|
var DEFAULT_RENDERER_ATTRIBUTES = {};
|
|
3368
3368
|
/**
|
|
@@ -3432,7 +3432,7 @@ function useTheme() {
|
|
|
3432
3432
|
return React.useContext(ThemeContext);
|
|
3433
3433
|
}
|
|
3434
3434
|
//#endregion
|
|
3435
|
-
//#region ../../node_modules/.pnpm/@fluentui+react-provider@9.
|
|
3435
|
+
//#region ../../node_modules/.pnpm/@fluentui+react-provider@9._d288fbb326c7d59fc92ddeaf64bc3ca8/node_modules/@fluentui/react-provider/lib/components/FluentProvider/useFluentProviderContextValues.js
|
|
3436
3436
|
function useFluentProviderContextValues_unstable(state) {
|
|
3437
3437
|
const { applyStylesToPortals, customStyleHooks_unstable, dir, root, targetDocument, theme, themeClassName, overrides_unstable } = state;
|
|
3438
3438
|
const provider = React.useMemo(() => ({
|
|
@@ -3452,7 +3452,7 @@ function useFluentProviderContextValues_unstable(state) {
|
|
|
3452
3452
|
};
|
|
3453
3453
|
}
|
|
3454
3454
|
//#endregion
|
|
3455
|
-
//#region ../../node_modules/.pnpm/@fluentui+react-provider@9.
|
|
3455
|
+
//#region ../../node_modules/.pnpm/@fluentui+react-provider@9._d288fbb326c7d59fc92ddeaf64bc3ca8/node_modules/@fluentui/react-provider/lib/components/FluentProvider/FluentProvider.js
|
|
3456
3456
|
var FluentProvider = /* @__PURE__ */ React.forwardRef((props, ref) => {
|
|
3457
3457
|
const state = useFluentProvider_unstable(props, ref);
|
|
3458
3458
|
useFluentProviderStyles_unstable(state);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
//#region ../compiler/dist/manifest.js
|
|
2
2
|
var manifest_default = {
|
|
3
|
-
"version": "1.
|
|
4
|
-
"commit": "
|
|
3
|
+
"version": "1.13.0",
|
|
4
|
+
"commit": "212a9eda5a651f723b9f6054120564e4083e715b"
|
|
5
5
|
};
|
|
6
6
|
//#endregion
|
|
7
7
|
export { manifest_default as default };
|
package/dist/react/common.d.ts
CHANGED
|
@@ -3,15 +3,15 @@ import { FunctionComponent } from 'react';
|
|
|
3
3
|
export declare const Mono: ({ children, className }: {
|
|
4
4
|
children: any;
|
|
5
5
|
className?: string;
|
|
6
|
-
}) => import("react
|
|
6
|
+
}) => import("react").JSX.Element;
|
|
7
7
|
export declare const Literal: FunctionComponent<{
|
|
8
8
|
children: any;
|
|
9
9
|
}>;
|
|
10
10
|
export declare const TypeKind: ({ type }: {
|
|
11
11
|
type: Type;
|
|
12
|
-
}) => import("react
|
|
12
|
+
}) => import("react").JSX.Element;
|
|
13
13
|
export declare const TypeKindTag: ({ type, size }: {
|
|
14
14
|
type: Type;
|
|
15
15
|
size?: "small" | "auto";
|
|
16
|
-
}) => import("react
|
|
16
|
+
}) => import("react").JSX.Element;
|
|
17
17
|
//# sourceMappingURL=common.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../src/react/common.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAG/C,eAAO,MAAM,IAAI,GAAI,yBAAyB;IAAE,QAAQ,EAAE,GAAG,CAAC;IAAC,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,
|
|
1
|
+
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../src/react/common.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAG/C,eAAO,MAAM,IAAI,GAAI,yBAAyB;IAAE,QAAQ,EAAE,GAAG,CAAC;IAAC,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,gCAElF,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,iBAAiB,CAAC;IAAE,QAAQ,EAAE,GAAG,CAAA;CAAE,CAExD,CAAC;AAEF,eAAO,MAAM,QAAQ,GAAI,UAAU;IAAE,IAAI,EAAE,IAAI,CAAA;CAAE,gCAEhD,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,gBAAyB;IAAE,IAAI,EAAE,IAAI,CAAC;IAAC,IAAI,CAAC,EAAE,OAAO,GAAG,MAAM,CAAA;CAAE,gCAM3F,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const CurrentPath: () => import("react
|
|
1
|
+
export declare const CurrentPath: () => import("react").JSX.Element;
|
|
2
2
|
//# sourceMappingURL=current-path.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"current-path.d.ts","sourceRoot":"","sources":["../../../src/react/current-path/current-path.tsx"],"names":[],"mappings":"AAsBA,eAAO,MAAM,WAAW
|
|
1
|
+
{"version":3,"file":"current-path.d.ts","sourceRoot":"","sources":["../../../src/react/current-path/current-path.tsx"],"names":[],"mappings":"AAsBA,eAAO,MAAM,WAAW,mCA2DvB,CAAC"}
|