@typespec/html-program-viewer 0.80.0-dev.1 → 0.80.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 +54 -283
- package/dist/{manifest-BDDhiZn2.js → manifest-B5_5qkUX.js} +1 -1
- package/dist/react/index.js +339 -278
- package/dist/react/js-inspector/object-inspector.d.ts.map +1 -1
- package/dist/react/js-inspector/object-preview.d.ts.map +1 -1
- package/dist/react/js-inspector/utils/property-utils.d.ts +1 -1
- package/dist/react/js-inspector/utils/property-utils.d.ts.map +1 -1
- package/package.json +11 -11
package/dist/emitter/index.js
CHANGED
|
@@ -889,6 +889,20 @@ const TextDirectionProvider = ({
|
|
|
889
889
|
}, children);
|
|
890
890
|
};
|
|
891
891
|
|
|
892
|
+
const CSS_ESCAPE_MAP = {
|
|
893
|
+
'<': '\\3C ',
|
|
894
|
+
'>': '\\3E '
|
|
895
|
+
};
|
|
896
|
+
/**
|
|
897
|
+
* Escapes characters that could break out of a <style> tag during SSR.
|
|
898
|
+
*
|
|
899
|
+
* IMPORTANT: Do not strip quotes. Theme values legitimately include quoted font families and other CSS.
|
|
900
|
+
* We only need to ensure the generated text cannot terminate the style tag and inject HTML.
|
|
901
|
+
*/ function escapeForStyleTag(value) {
|
|
902
|
+
// Escape as CSS code points so the resulting CSS still represents the same characters.
|
|
903
|
+
// Using CSS escapes prevents the HTML parser from seeing a literal '<' / '>' and closing <style>.
|
|
904
|
+
return value.replace(/[<>]/g, (match)=>CSS_ESCAPE_MAP[match]);
|
|
905
|
+
}
|
|
892
906
|
/**
|
|
893
907
|
* Creates a CSS rule from a theme object.
|
|
894
908
|
*
|
|
@@ -898,7 +912,7 @@ const TextDirectionProvider = ({
|
|
|
898
912
|
const cssVarsAsString = Object.keys(theme).reduce((cssVarRule, cssVar)=>{
|
|
899
913
|
return `${cssVarRule}--${cssVar}: ${theme[cssVar]}; `;
|
|
900
914
|
}, '');
|
|
901
|
-
return `${selector} { ${cssVarsAsString} }`;
|
|
915
|
+
return `${selector} { ${escapeForStyleTag(cssVarsAsString)} }`;
|
|
902
916
|
}
|
|
903
917
|
return `${selector} {}`;
|
|
904
918
|
}
|
|
@@ -1149,6 +1163,7 @@ const toObjectMap = (...items)=>{
|
|
|
1149
1163
|
'id',
|
|
1150
1164
|
'lang',
|
|
1151
1165
|
'popover',
|
|
1166
|
+
'focusgroup',
|
|
1152
1167
|
'ref',
|
|
1153
1168
|
'role',
|
|
1154
1169
|
'style',
|
|
@@ -1555,14 +1570,16 @@ function useOverrides() {
|
|
|
1555
1570
|
return (_React_useContext = React.useContext(OverridesContext)) !== null && _React_useContext !== void 0 ? _React_useContext : {};
|
|
1556
1571
|
}
|
|
1557
1572
|
|
|
1558
|
-
/**
|
|
1573
|
+
/* eslint-enable */ /**
|
|
1559
1574
|
* @internal
|
|
1560
1575
|
*/ const CustomStyleHooksContext = React.createContext(undefined);
|
|
1561
1576
|
/**
|
|
1562
1577
|
* @internal
|
|
1563
1578
|
*/ const CustomStyleHooksProvider = CustomStyleHooksContext.Provider;
|
|
1564
1579
|
|
|
1565
|
-
|
|
1580
|
+
/**
|
|
1581
|
+
* Verifies if an application can use DOM.
|
|
1582
|
+
*/ function canUseDOM() {
|
|
1566
1583
|
return /* eslint-disable @nx/workspace-no-restricted-globals -- expected ignore ( SSR friendly acquisition of globals )*/ typeof window !== 'undefined' && !!(window.document && // eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
1567
1584
|
window.document.createElement);
|
|
1568
1585
|
}
|
|
@@ -1699,286 +1716,9 @@ function createCompatSlotComponent(type, props) {
|
|
|
1699
1716
|
};
|
|
1700
1717
|
}
|
|
1701
1718
|
|
|
1702
|
-
function getDefaultExportFromCjs (x) {
|
|
1703
|
-
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
|
|
1704
|
-
}
|
|
1705
|
-
|
|
1706
|
-
var reactIs = {exports: {}};
|
|
1707
|
-
|
|
1708
|
-
var reactIs_production_min = {};
|
|
1709
|
-
|
|
1710
|
-
/** @license React v17.0.2
|
|
1711
|
-
* react-is.production.min.js
|
|
1712
|
-
*
|
|
1713
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
1714
|
-
*
|
|
1715
|
-
* This source code is licensed under the MIT license found in the
|
|
1716
|
-
* LICENSE file in the root directory of this source tree.
|
|
1717
|
-
*/
|
|
1718
|
-
|
|
1719
|
-
var hasRequiredReactIs_production_min;
|
|
1720
|
-
|
|
1721
|
-
function requireReactIs_production_min () {
|
|
1722
|
-
if (hasRequiredReactIs_production_min) return reactIs_production_min;
|
|
1723
|
-
hasRequiredReactIs_production_min = 1;
|
|
1724
|
-
var b=60103,c=60106,d=60107,e=60108,f=60114,g=60109,h=60110,k=60112,l=60113,m=60120,n=60115,p=60116,q=60121,r=60122,u=60117,v=60129,w=60131;
|
|
1725
|
-
if("function"===typeof Symbol&&Symbol.for){var x=Symbol.for;b=x("react.element");c=x("react.portal");d=x("react.fragment");e=x("react.strict_mode");f=x("react.profiler");g=x("react.provider");h=x("react.context");k=x("react.forward_ref");l=x("react.suspense");m=x("react.suspense_list");n=x("react.memo");p=x("react.lazy");q=x("react.block");r=x("react.server.block");u=x("react.fundamental");v=x("react.debug_trace_mode");w=x("react.legacy_hidden");}
|
|
1726
|
-
function y(a){if("object"===typeof a&&null!==a){var t=a.$$typeof;switch(t){case b:switch(a=a.type,a){case d:case f:case e:case l:case m:return a;default:switch(a=a&&a.$$typeof,a){case h:case k:case p:case n:case g:return a;default:return t}}case c:return t}}}var z=g,A=b,B=k,C=d,D=p,E=n,F=c,G=f,H=e,I=l;reactIs_production_min.ContextConsumer=h;reactIs_production_min.ContextProvider=z;reactIs_production_min.Element=A;reactIs_production_min.ForwardRef=B;reactIs_production_min.Fragment=C;reactIs_production_min.Lazy=D;reactIs_production_min.Memo=E;reactIs_production_min.Portal=F;reactIs_production_min.Profiler=G;reactIs_production_min.StrictMode=H;
|
|
1727
|
-
reactIs_production_min.Suspense=I;reactIs_production_min.isAsyncMode=function(){return false};reactIs_production_min.isConcurrentMode=function(){return false};reactIs_production_min.isContextConsumer=function(a){return y(a)===h};reactIs_production_min.isContextProvider=function(a){return y(a)===g};reactIs_production_min.isElement=function(a){return "object"===typeof a&&null!==a&&a.$$typeof===b};reactIs_production_min.isForwardRef=function(a){return y(a)===k};reactIs_production_min.isFragment=function(a){return y(a)===d};reactIs_production_min.isLazy=function(a){return y(a)===p};reactIs_production_min.isMemo=function(a){return y(a)===n};
|
|
1728
|
-
reactIs_production_min.isPortal=function(a){return y(a)===c};reactIs_production_min.isProfiler=function(a){return y(a)===f};reactIs_production_min.isStrictMode=function(a){return y(a)===e};reactIs_production_min.isSuspense=function(a){return y(a)===l};reactIs_production_min.isValidElementType=function(a){return "string"===typeof a||"function"===typeof a||a===d||a===f||a===v||a===e||a===l||a===m||a===w||"object"===typeof a&&null!==a&&(a.$$typeof===p||a.$$typeof===n||a.$$typeof===g||a.$$typeof===h||a.$$typeof===k||a.$$typeof===u||a.$$typeof===q||a[0]===r)?true:false};
|
|
1729
|
-
reactIs_production_min.typeOf=y;
|
|
1730
|
-
return reactIs_production_min;
|
|
1731
|
-
}
|
|
1732
|
-
|
|
1733
|
-
var reactIs_development = {};
|
|
1734
|
-
|
|
1735
|
-
/** @license React v17.0.2
|
|
1736
|
-
* react-is.development.js
|
|
1737
|
-
*
|
|
1738
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
1739
|
-
*
|
|
1740
|
-
* This source code is licensed under the MIT license found in the
|
|
1741
|
-
* LICENSE file in the root directory of this source tree.
|
|
1742
|
-
*/
|
|
1743
|
-
|
|
1744
|
-
var hasRequiredReactIs_development;
|
|
1745
|
-
|
|
1746
|
-
function requireReactIs_development () {
|
|
1747
|
-
if (hasRequiredReactIs_development) return reactIs_development;
|
|
1748
|
-
hasRequiredReactIs_development = 1;
|
|
1749
|
-
|
|
1750
|
-
if (process.env.NODE_ENV !== "production") {
|
|
1751
|
-
(function() {
|
|
1752
|
-
|
|
1753
|
-
// ATTENTION
|
|
1754
|
-
// When adding new symbols to this file,
|
|
1755
|
-
// Please consider also adding to 'react-devtools-shared/src/backend/ReactSymbols'
|
|
1756
|
-
// The Symbol used to tag the ReactElement-like types. If there is no native Symbol
|
|
1757
|
-
// nor polyfill, then a plain number is used for performance.
|
|
1758
|
-
var REACT_ELEMENT_TYPE = 0xeac7;
|
|
1759
|
-
var REACT_PORTAL_TYPE = 0xeaca;
|
|
1760
|
-
var REACT_FRAGMENT_TYPE = 0xeacb;
|
|
1761
|
-
var REACT_STRICT_MODE_TYPE = 0xeacc;
|
|
1762
|
-
var REACT_PROFILER_TYPE = 0xead2;
|
|
1763
|
-
var REACT_PROVIDER_TYPE = 0xeacd;
|
|
1764
|
-
var REACT_CONTEXT_TYPE = 0xeace;
|
|
1765
|
-
var REACT_FORWARD_REF_TYPE = 0xead0;
|
|
1766
|
-
var REACT_SUSPENSE_TYPE = 0xead1;
|
|
1767
|
-
var REACT_SUSPENSE_LIST_TYPE = 0xead8;
|
|
1768
|
-
var REACT_MEMO_TYPE = 0xead3;
|
|
1769
|
-
var REACT_LAZY_TYPE = 0xead4;
|
|
1770
|
-
var REACT_BLOCK_TYPE = 0xead9;
|
|
1771
|
-
var REACT_SERVER_BLOCK_TYPE = 0xeada;
|
|
1772
|
-
var REACT_FUNDAMENTAL_TYPE = 0xead5;
|
|
1773
|
-
var REACT_DEBUG_TRACING_MODE_TYPE = 0xeae1;
|
|
1774
|
-
var REACT_LEGACY_HIDDEN_TYPE = 0xeae3;
|
|
1775
|
-
|
|
1776
|
-
if (typeof Symbol === 'function' && Symbol.for) {
|
|
1777
|
-
var symbolFor = Symbol.for;
|
|
1778
|
-
REACT_ELEMENT_TYPE = symbolFor('react.element');
|
|
1779
|
-
REACT_PORTAL_TYPE = symbolFor('react.portal');
|
|
1780
|
-
REACT_FRAGMENT_TYPE = symbolFor('react.fragment');
|
|
1781
|
-
REACT_STRICT_MODE_TYPE = symbolFor('react.strict_mode');
|
|
1782
|
-
REACT_PROFILER_TYPE = symbolFor('react.profiler');
|
|
1783
|
-
REACT_PROVIDER_TYPE = symbolFor('react.provider');
|
|
1784
|
-
REACT_CONTEXT_TYPE = symbolFor('react.context');
|
|
1785
|
-
REACT_FORWARD_REF_TYPE = symbolFor('react.forward_ref');
|
|
1786
|
-
REACT_SUSPENSE_TYPE = symbolFor('react.suspense');
|
|
1787
|
-
REACT_SUSPENSE_LIST_TYPE = symbolFor('react.suspense_list');
|
|
1788
|
-
REACT_MEMO_TYPE = symbolFor('react.memo');
|
|
1789
|
-
REACT_LAZY_TYPE = symbolFor('react.lazy');
|
|
1790
|
-
REACT_BLOCK_TYPE = symbolFor('react.block');
|
|
1791
|
-
REACT_SERVER_BLOCK_TYPE = symbolFor('react.server.block');
|
|
1792
|
-
REACT_FUNDAMENTAL_TYPE = symbolFor('react.fundamental');
|
|
1793
|
-
symbolFor('react.scope');
|
|
1794
|
-
symbolFor('react.opaque.id');
|
|
1795
|
-
REACT_DEBUG_TRACING_MODE_TYPE = symbolFor('react.debug_trace_mode');
|
|
1796
|
-
symbolFor('react.offscreen');
|
|
1797
|
-
REACT_LEGACY_HIDDEN_TYPE = symbolFor('react.legacy_hidden');
|
|
1798
|
-
}
|
|
1799
|
-
|
|
1800
|
-
// Filter certain DOM attributes (e.g. src, href) if their values are empty strings.
|
|
1801
|
-
|
|
1802
|
-
var enableScopeAPI = false; // Experimental Create Event Handle API.
|
|
1803
|
-
|
|
1804
|
-
function isValidElementType(type) {
|
|
1805
|
-
if (typeof type === 'string' || typeof type === 'function') {
|
|
1806
|
-
return true;
|
|
1807
|
-
} // Note: typeof might be other than 'symbol' or 'number' (e.g. if it's a polyfill).
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
if (type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || type === REACT_DEBUG_TRACING_MODE_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || type === REACT_LEGACY_HIDDEN_TYPE || enableScopeAPI ) {
|
|
1811
|
-
return true;
|
|
1812
|
-
}
|
|
1813
|
-
|
|
1814
|
-
if (typeof type === 'object' && type !== null) {
|
|
1815
|
-
if (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_BLOCK_TYPE || type[0] === REACT_SERVER_BLOCK_TYPE) {
|
|
1816
|
-
return true;
|
|
1817
|
-
}
|
|
1818
|
-
}
|
|
1819
|
-
|
|
1820
|
-
return false;
|
|
1821
|
-
}
|
|
1822
|
-
|
|
1823
|
-
function typeOf(object) {
|
|
1824
|
-
if (typeof object === 'object' && object !== null) {
|
|
1825
|
-
var $$typeof = object.$$typeof;
|
|
1826
|
-
|
|
1827
|
-
switch ($$typeof) {
|
|
1828
|
-
case REACT_ELEMENT_TYPE:
|
|
1829
|
-
var type = object.type;
|
|
1830
|
-
|
|
1831
|
-
switch (type) {
|
|
1832
|
-
case REACT_FRAGMENT_TYPE:
|
|
1833
|
-
case REACT_PROFILER_TYPE:
|
|
1834
|
-
case REACT_STRICT_MODE_TYPE:
|
|
1835
|
-
case REACT_SUSPENSE_TYPE:
|
|
1836
|
-
case REACT_SUSPENSE_LIST_TYPE:
|
|
1837
|
-
return type;
|
|
1838
|
-
|
|
1839
|
-
default:
|
|
1840
|
-
var $$typeofType = type && type.$$typeof;
|
|
1841
|
-
|
|
1842
|
-
switch ($$typeofType) {
|
|
1843
|
-
case REACT_CONTEXT_TYPE:
|
|
1844
|
-
case REACT_FORWARD_REF_TYPE:
|
|
1845
|
-
case REACT_LAZY_TYPE:
|
|
1846
|
-
case REACT_MEMO_TYPE:
|
|
1847
|
-
case REACT_PROVIDER_TYPE:
|
|
1848
|
-
return $$typeofType;
|
|
1849
|
-
|
|
1850
|
-
default:
|
|
1851
|
-
return $$typeof;
|
|
1852
|
-
}
|
|
1853
|
-
|
|
1854
|
-
}
|
|
1855
|
-
|
|
1856
|
-
case REACT_PORTAL_TYPE:
|
|
1857
|
-
return $$typeof;
|
|
1858
|
-
}
|
|
1859
|
-
}
|
|
1860
|
-
|
|
1861
|
-
return undefined;
|
|
1862
|
-
}
|
|
1863
|
-
var ContextConsumer = REACT_CONTEXT_TYPE;
|
|
1864
|
-
var ContextProvider = REACT_PROVIDER_TYPE;
|
|
1865
|
-
var Element = REACT_ELEMENT_TYPE;
|
|
1866
|
-
var ForwardRef = REACT_FORWARD_REF_TYPE;
|
|
1867
|
-
var Fragment = REACT_FRAGMENT_TYPE;
|
|
1868
|
-
var Lazy = REACT_LAZY_TYPE;
|
|
1869
|
-
var Memo = REACT_MEMO_TYPE;
|
|
1870
|
-
var Portal = REACT_PORTAL_TYPE;
|
|
1871
|
-
var Profiler = REACT_PROFILER_TYPE;
|
|
1872
|
-
var StrictMode = REACT_STRICT_MODE_TYPE;
|
|
1873
|
-
var Suspense = REACT_SUSPENSE_TYPE;
|
|
1874
|
-
var hasWarnedAboutDeprecatedIsAsyncMode = false;
|
|
1875
|
-
var hasWarnedAboutDeprecatedIsConcurrentMode = false; // AsyncMode should be deprecated
|
|
1876
|
-
|
|
1877
|
-
function isAsyncMode(object) {
|
|
1878
|
-
{
|
|
1879
|
-
if (!hasWarnedAboutDeprecatedIsAsyncMode) {
|
|
1880
|
-
hasWarnedAboutDeprecatedIsAsyncMode = true; // Using console['warn'] to evade Babel and ESLint
|
|
1881
|
-
|
|
1882
|
-
console['warn']('The ReactIs.isAsyncMode() alias has been deprecated, ' + 'and will be removed in React 18+.');
|
|
1883
|
-
}
|
|
1884
|
-
}
|
|
1885
|
-
|
|
1886
|
-
return false;
|
|
1887
|
-
}
|
|
1888
|
-
function isConcurrentMode(object) {
|
|
1889
|
-
{
|
|
1890
|
-
if (!hasWarnedAboutDeprecatedIsConcurrentMode) {
|
|
1891
|
-
hasWarnedAboutDeprecatedIsConcurrentMode = true; // Using console['warn'] to evade Babel and ESLint
|
|
1892
|
-
|
|
1893
|
-
console['warn']('The ReactIs.isConcurrentMode() alias has been deprecated, ' + 'and will be removed in React 18+.');
|
|
1894
|
-
}
|
|
1895
|
-
}
|
|
1896
|
-
|
|
1897
|
-
return false;
|
|
1898
|
-
}
|
|
1899
|
-
function isContextConsumer(object) {
|
|
1900
|
-
return typeOf(object) === REACT_CONTEXT_TYPE;
|
|
1901
|
-
}
|
|
1902
|
-
function isContextProvider(object) {
|
|
1903
|
-
return typeOf(object) === REACT_PROVIDER_TYPE;
|
|
1904
|
-
}
|
|
1905
|
-
function isElement(object) {
|
|
1906
|
-
return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
|
|
1907
|
-
}
|
|
1908
|
-
function isForwardRef(object) {
|
|
1909
|
-
return typeOf(object) === REACT_FORWARD_REF_TYPE;
|
|
1910
|
-
}
|
|
1911
|
-
function isFragment(object) {
|
|
1912
|
-
return typeOf(object) === REACT_FRAGMENT_TYPE;
|
|
1913
|
-
}
|
|
1914
|
-
function isLazy(object) {
|
|
1915
|
-
return typeOf(object) === REACT_LAZY_TYPE;
|
|
1916
|
-
}
|
|
1917
|
-
function isMemo(object) {
|
|
1918
|
-
return typeOf(object) === REACT_MEMO_TYPE;
|
|
1919
|
-
}
|
|
1920
|
-
function isPortal(object) {
|
|
1921
|
-
return typeOf(object) === REACT_PORTAL_TYPE;
|
|
1922
|
-
}
|
|
1923
|
-
function isProfiler(object) {
|
|
1924
|
-
return typeOf(object) === REACT_PROFILER_TYPE;
|
|
1925
|
-
}
|
|
1926
|
-
function isStrictMode(object) {
|
|
1927
|
-
return typeOf(object) === REACT_STRICT_MODE_TYPE;
|
|
1928
|
-
}
|
|
1929
|
-
function isSuspense(object) {
|
|
1930
|
-
return typeOf(object) === REACT_SUSPENSE_TYPE;
|
|
1931
|
-
}
|
|
1932
|
-
|
|
1933
|
-
reactIs_development.ContextConsumer = ContextConsumer;
|
|
1934
|
-
reactIs_development.ContextProvider = ContextProvider;
|
|
1935
|
-
reactIs_development.Element = Element;
|
|
1936
|
-
reactIs_development.ForwardRef = ForwardRef;
|
|
1937
|
-
reactIs_development.Fragment = Fragment;
|
|
1938
|
-
reactIs_development.Lazy = Lazy;
|
|
1939
|
-
reactIs_development.Memo = Memo;
|
|
1940
|
-
reactIs_development.Portal = Portal;
|
|
1941
|
-
reactIs_development.Profiler = Profiler;
|
|
1942
|
-
reactIs_development.StrictMode = StrictMode;
|
|
1943
|
-
reactIs_development.Suspense = Suspense;
|
|
1944
|
-
reactIs_development.isAsyncMode = isAsyncMode;
|
|
1945
|
-
reactIs_development.isConcurrentMode = isConcurrentMode;
|
|
1946
|
-
reactIs_development.isContextConsumer = isContextConsumer;
|
|
1947
|
-
reactIs_development.isContextProvider = isContextProvider;
|
|
1948
|
-
reactIs_development.isElement = isElement;
|
|
1949
|
-
reactIs_development.isForwardRef = isForwardRef;
|
|
1950
|
-
reactIs_development.isFragment = isFragment;
|
|
1951
|
-
reactIs_development.isLazy = isLazy;
|
|
1952
|
-
reactIs_development.isMemo = isMemo;
|
|
1953
|
-
reactIs_development.isPortal = isPortal;
|
|
1954
|
-
reactIs_development.isProfiler = isProfiler;
|
|
1955
|
-
reactIs_development.isStrictMode = isStrictMode;
|
|
1956
|
-
reactIs_development.isSuspense = isSuspense;
|
|
1957
|
-
reactIs_development.isValidElementType = isValidElementType;
|
|
1958
|
-
reactIs_development.typeOf = typeOf;
|
|
1959
|
-
})();
|
|
1960
|
-
}
|
|
1961
|
-
return reactIs_development;
|
|
1962
|
-
}
|
|
1963
|
-
|
|
1964
|
-
var hasRequiredReactIs;
|
|
1965
|
-
|
|
1966
|
-
function requireReactIs () {
|
|
1967
|
-
if (hasRequiredReactIs) return reactIs.exports;
|
|
1968
|
-
hasRequiredReactIs = 1;
|
|
1969
|
-
|
|
1970
|
-
if (process.env.NODE_ENV === 'production') {
|
|
1971
|
-
reactIs.exports = requireReactIs_production_min();
|
|
1972
|
-
} else {
|
|
1973
|
-
reactIs.exports = requireReactIs_development();
|
|
1974
|
-
}
|
|
1975
|
-
return reactIs.exports;
|
|
1976
|
-
}
|
|
1977
|
-
|
|
1978
|
-
var reactIsExports = requireReactIs();
|
|
1979
|
-
|
|
1980
1719
|
function warnIfElementTypeIsInvalid(type) {
|
|
1981
|
-
if (process.env.NODE_ENV === 'development' && typeof type === 'object' &&
|
|
1720
|
+
if (process.env.NODE_ENV === 'development' && typeof type === 'object' && type !== null && // eslint-disable-next-line dot-notation
|
|
1721
|
+
type['$$typeof'] === undefined) {
|
|
1982
1722
|
// eslint-disable-next-line no-console
|
|
1983
1723
|
console.error(`@fluentui/react-jsx-runtime:
|
|
1984
1724
|
Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: ${type}.
|
|
@@ -2021,6 +1761,10 @@ function createJSX(runtime, slotRuntime) {
|
|
|
2021
1761
|
};
|
|
2022
1762
|
}
|
|
2023
1763
|
|
|
1764
|
+
function getDefaultExportFromCjs (x) {
|
|
1765
|
+
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
|
|
1766
|
+
}
|
|
1767
|
+
|
|
2024
1768
|
var jsxRuntime$1 = {exports: {}};
|
|
2025
1769
|
|
|
2026
1770
|
var reactJsxRuntime_production = {};
|
|
@@ -3082,9 +2826,12 @@ function useFocusVisible(options = {}) {
|
|
|
3082
2826
|
}
|
|
3083
2827
|
|
|
3084
2828
|
/* !!! DO NOT EDIT !!! */ /* This file has been generated by the token pipeline */ const grey = {
|
|
2829
|
+
'12': '#1f1f1f',
|
|
3085
2830
|
'14': '#242424',
|
|
3086
2831
|
'16': '#292929',
|
|
3087
2832
|
'20': '#333333',
|
|
2833
|
+
'22': '#383838',
|
|
2834
|
+
'24': '#3d3d3d',
|
|
3088
2835
|
'26': '#424242',
|
|
3089
2836
|
'30': '#4d4d4d',
|
|
3090
2837
|
'34': '#575757',
|
|
@@ -3101,7 +2848,8 @@ function useFocusVisible(options = {}) {
|
|
|
3101
2848
|
'92': '#ebebeb',
|
|
3102
2849
|
'94': '#f0f0f0',
|
|
3103
2850
|
'96': '#f5f5f5',
|
|
3104
|
-
'98': '#fafafa'
|
|
2851
|
+
'98': '#fafafa',
|
|
2852
|
+
'99': '#fcfcfc'
|
|
3105
2853
|
};
|
|
3106
2854
|
const whiteAlpha = {
|
|
3107
2855
|
'10': 'rgba(255, 255, 255, 0.1)',
|
|
@@ -3792,6 +3540,10 @@ const generateColorTokens = (brand)=>({
|
|
|
3792
3540
|
colorNeutralForeground3BrandPressed: brand[70],
|
|
3793
3541
|
colorNeutralForeground3BrandSelected: brand[80],
|
|
3794
3542
|
colorNeutralForeground4: grey[44],
|
|
3543
|
+
colorNeutralForeground5: grey[38],
|
|
3544
|
+
colorNeutralForeground5Hover: grey[14],
|
|
3545
|
+
colorNeutralForeground5Pressed: grey[14],
|
|
3546
|
+
colorNeutralForeground5Selected: grey[14],
|
|
3795
3547
|
colorNeutralForegroundDisabled: grey[74],
|
|
3796
3548
|
colorNeutralForegroundInvertedDisabled: whiteAlpha[40],
|
|
3797
3549
|
colorBrandForegroundLink: brand[70],
|
|
@@ -3849,7 +3601,15 @@ const generateColorTokens = (brand)=>({
|
|
|
3849
3601
|
colorNeutralBackground5Pressed: grey[94],
|
|
3850
3602
|
colorNeutralBackground5Selected: grey[98],
|
|
3851
3603
|
colorNeutralBackground6: grey[90],
|
|
3604
|
+
colorNeutralBackground7: '#00000000',
|
|
3605
|
+
colorNeutralBackground7Hover: grey[92],
|
|
3606
|
+
colorNeutralBackground7Pressed: grey[84],
|
|
3607
|
+
colorNeutralBackground7Selected: '#00000000',
|
|
3608
|
+
colorNeutralBackground8: grey[99],
|
|
3852
3609
|
colorNeutralBackgroundInverted: grey[16],
|
|
3610
|
+
colorNeutralBackgroundInvertedHover: grey[24],
|
|
3611
|
+
colorNeutralBackgroundInvertedPressed: grey[12],
|
|
3612
|
+
colorNeutralBackgroundInvertedSelected: grey[22],
|
|
3853
3613
|
colorNeutralBackgroundStatic: grey[20],
|
|
3854
3614
|
colorNeutralBackgroundAlpha: whiteAlpha[50],
|
|
3855
3615
|
colorNeutralBackgroundAlpha2: whiteAlpha[80],
|
|
@@ -3869,6 +3629,7 @@ const generateColorTokens = (brand)=>({
|
|
|
3869
3629
|
colorTransparentBackgroundPressed: 'transparent',
|
|
3870
3630
|
colorTransparentBackgroundSelected: 'transparent',
|
|
3871
3631
|
colorNeutralBackgroundDisabled: grey[94],
|
|
3632
|
+
colorNeutralBackgroundDisabled2: white,
|
|
3872
3633
|
colorNeutralBackgroundInvertedDisabled: whiteAlpha[10],
|
|
3873
3634
|
colorNeutralStencil1: grey[90],
|
|
3874
3635
|
colorNeutralStencil2: grey[98],
|
|
@@ -3908,6 +3669,10 @@ const generateColorTokens = (brand)=>({
|
|
|
3908
3669
|
colorNeutralStroke1Selected: grey[74],
|
|
3909
3670
|
colorNeutralStroke2: grey[88],
|
|
3910
3671
|
colorNeutralStroke3: grey[94],
|
|
3672
|
+
colorNeutralStroke4: grey[92],
|
|
3673
|
+
colorNeutralStroke4Hover: grey[88],
|
|
3674
|
+
colorNeutralStroke4Pressed: grey[84],
|
|
3675
|
+
colorNeutralStroke4Selected: grey[92],
|
|
3911
3676
|
colorNeutralStrokeSubtle: grey[88],
|
|
3912
3677
|
colorNeutralStrokeOnBrand: white,
|
|
3913
3678
|
colorNeutralStrokeOnBrand2: white,
|
|
@@ -3923,6 +3688,7 @@ const generateColorTokens = (brand)=>({
|
|
|
3923
3688
|
colorCompoundBrandStrokeHover: brand[70],
|
|
3924
3689
|
colorCompoundBrandStrokePressed: brand[60],
|
|
3925
3690
|
colorNeutralStrokeDisabled: grey[88],
|
|
3691
|
+
colorNeutralStrokeDisabled2: grey[92],
|
|
3926
3692
|
colorNeutralStrokeInvertedDisabled: whiteAlpha[40],
|
|
3927
3693
|
colorTransparentStroke: 'transparent',
|
|
3928
3694
|
colorTransparentStrokeInteractive: 'transparent',
|
|
@@ -3947,6 +3713,11 @@ const borderRadius = {
|
|
|
3947
3713
|
borderRadiusMedium: '4px',
|
|
3948
3714
|
borderRadiusLarge: '6px',
|
|
3949
3715
|
borderRadiusXLarge: '8px',
|
|
3716
|
+
borderRadius2XLarge: '12px',
|
|
3717
|
+
borderRadius3XLarge: '16px',
|
|
3718
|
+
borderRadius4XLarge: '24px',
|
|
3719
|
+
borderRadius5XLarge: '32px',
|
|
3720
|
+
borderRadius6XLarge: '40px',
|
|
3950
3721
|
borderRadiusCircular: '10000px'
|
|
3951
3722
|
};
|
|
3952
3723
|
|