timvir 0.2.28 → 0.2.30
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/builtins/index.d.ts +1 -0
- package/builtins/index.js +274 -0
- package/builtins/styles.css +20 -0
- package/core/index.js +6 -268
- package/core/styles.css +0 -20
- package/package.json +2 -1
- package/search/index.js +1 -1
- package/styles.css +19 -120
- /package/{core/components/Page → builtins}/components.d.ts +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./components";
|
|
@@ -0,0 +1,274 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import React__default from 'react';
|
|
3
|
+
import * as Icons from 'react-feather';
|
|
4
|
+
|
|
5
|
+
function memoize(fn) {
|
|
6
|
+
var cache = Object.create(null);
|
|
7
|
+
return function (arg) {
|
|
8
|
+
if (cache[arg] === undefined) cache[arg] = fn(arg);
|
|
9
|
+
return cache[arg];
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
var reactPropsRegex = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/; // https://esbench.com/bench/5bfee68a4cd7e6009ef61d23
|
|
14
|
+
|
|
15
|
+
var isPropValid = /* #__PURE__ */memoize(function (prop) {
|
|
16
|
+
return reactPropsRegex.test(prop) || prop.charCodeAt(0) === 111
|
|
17
|
+
/* o */ && prop.charCodeAt(1) === 110
|
|
18
|
+
/* n */ && prop.charCodeAt(2) < 91;
|
|
19
|
+
}
|
|
20
|
+
/* Z+1 */);
|
|
21
|
+
|
|
22
|
+
// src/css.ts
|
|
23
|
+
|
|
24
|
+
// src/cx.ts
|
|
25
|
+
var cx = function cx2() {
|
|
26
|
+
const presentClassNames = Array.prototype.slice.call(arguments).filter(Boolean);
|
|
27
|
+
const atomicClasses = {};
|
|
28
|
+
const nonAtomicClasses = [];
|
|
29
|
+
presentClassNames.forEach((arg) => {
|
|
30
|
+
const individualClassNames = arg ? arg.split(" ") : [];
|
|
31
|
+
individualClassNames.forEach((className) => {
|
|
32
|
+
if (className.startsWith("atm_")) {
|
|
33
|
+
const [, keyHash] = className.split("_");
|
|
34
|
+
atomicClasses[keyHash] = className;
|
|
35
|
+
} else {
|
|
36
|
+
nonAtomicClasses.push(className);
|
|
37
|
+
}
|
|
38
|
+
});
|
|
39
|
+
});
|
|
40
|
+
const result = [];
|
|
41
|
+
for (const keyHash in atomicClasses) {
|
|
42
|
+
if (Object.prototype.hasOwnProperty.call(atomicClasses, keyHash)) {
|
|
43
|
+
result.push(atomicClasses[keyHash]);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
result.push(...nonAtomicClasses);
|
|
47
|
+
return result.join(" ");
|
|
48
|
+
};
|
|
49
|
+
var cx_default = cx;
|
|
50
|
+
|
|
51
|
+
// src/styled.ts
|
|
52
|
+
var isCapital = (ch) => ch.toUpperCase() === ch;
|
|
53
|
+
var filterKey = (keys) => (key) => keys.indexOf(key) === -1;
|
|
54
|
+
var omit = (obj, keys) => {
|
|
55
|
+
const res = {};
|
|
56
|
+
Object.keys(obj).filter(filterKey(keys)).forEach((key) => {
|
|
57
|
+
res[key] = obj[key];
|
|
58
|
+
});
|
|
59
|
+
return res;
|
|
60
|
+
};
|
|
61
|
+
function filterProps(asIs, props, omitKeys) {
|
|
62
|
+
const filteredProps = omit(props, omitKeys);
|
|
63
|
+
if (!asIs) {
|
|
64
|
+
const interopValidAttr = typeof isPropValid === "function" ? { default: isPropValid } : isPropValid;
|
|
65
|
+
Object.keys(filteredProps).forEach((key) => {
|
|
66
|
+
if (!interopValidAttr.default(key)) {
|
|
67
|
+
delete filteredProps[key];
|
|
68
|
+
}
|
|
69
|
+
});
|
|
70
|
+
}
|
|
71
|
+
return filteredProps;
|
|
72
|
+
}
|
|
73
|
+
var warnIfInvalid = (value, componentName) => {
|
|
74
|
+
if (process.env.NODE_ENV !== "production") {
|
|
75
|
+
if (typeof value === "string" || // eslint-disable-next-line no-self-compare,no-restricted-globals
|
|
76
|
+
typeof value === "number" && isFinite(value)) {
|
|
77
|
+
return;
|
|
78
|
+
}
|
|
79
|
+
const stringified = typeof value === "object" ? JSON.stringify(value) : String(value);
|
|
80
|
+
console.warn(
|
|
81
|
+
`An interpolation evaluated to '${stringified}' in the component '${componentName}', which is probably a mistake. You should explicitly cast or transform the value to a string.`
|
|
82
|
+
);
|
|
83
|
+
}
|
|
84
|
+
};
|
|
85
|
+
var idx = 0;
|
|
86
|
+
function styled(tag) {
|
|
87
|
+
let mockedClass = "";
|
|
88
|
+
if (process.env.NODE_ENV === "test") {
|
|
89
|
+
mockedClass += `mocked-styled-${idx++}`;
|
|
90
|
+
if (tag && tag.__linaria && tag.__linaria.className) {
|
|
91
|
+
mockedClass += ` ${tag.__linaria.className}`;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
return (options) => {
|
|
95
|
+
if (process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test") {
|
|
96
|
+
if (Array.isArray(options)) {
|
|
97
|
+
throw new Error(
|
|
98
|
+
'Using the "styled" tag in runtime is not supported. Make sure you have set up the Babel plugin correctly. See https://github.com/callstack/linaria#setup'
|
|
99
|
+
);
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
const render = (props, ref) => {
|
|
103
|
+
const { as: component = tag, class: className = mockedClass } = props;
|
|
104
|
+
const shouldKeepProps = options.propsAsIs === void 0 ? !(typeof component === "string" && component.indexOf("-") === -1 && !isCapital(component[0])) : options.propsAsIs;
|
|
105
|
+
const filteredProps = filterProps(shouldKeepProps, props, [
|
|
106
|
+
"as",
|
|
107
|
+
"class"
|
|
108
|
+
]);
|
|
109
|
+
filteredProps.ref = ref;
|
|
110
|
+
filteredProps.className = options.atomic ? cx_default(options.class, filteredProps.className || className) : cx_default(filteredProps.className || className, options.class);
|
|
111
|
+
const { vars } = options;
|
|
112
|
+
if (vars) {
|
|
113
|
+
const style = {};
|
|
114
|
+
for (const name in vars) {
|
|
115
|
+
const variable = vars[name];
|
|
116
|
+
const result = variable[0];
|
|
117
|
+
const unit = variable[1] || "";
|
|
118
|
+
const value = typeof result === "function" ? result(props) : result;
|
|
119
|
+
warnIfInvalid(value, options.name);
|
|
120
|
+
style[`--${name}`] = `${value}${unit}`;
|
|
121
|
+
}
|
|
122
|
+
const ownStyle = filteredProps.style || {};
|
|
123
|
+
const keys = Object.keys(ownStyle);
|
|
124
|
+
if (keys.length > 0) {
|
|
125
|
+
keys.forEach((key) => {
|
|
126
|
+
style[key] = ownStyle[key];
|
|
127
|
+
});
|
|
128
|
+
}
|
|
129
|
+
filteredProps.style = style;
|
|
130
|
+
}
|
|
131
|
+
if (tag.__linaria && tag !== component) {
|
|
132
|
+
filteredProps.as = component;
|
|
133
|
+
return React__default.createElement(tag, filteredProps);
|
|
134
|
+
}
|
|
135
|
+
return React__default.createElement(component, filteredProps);
|
|
136
|
+
};
|
|
137
|
+
const Result = React__default.forwardRef ? React__default.forwardRef(render) : (
|
|
138
|
+
// React.forwardRef won't available on older React versions and in Preact
|
|
139
|
+
// Fallback to a innerRef prop in that case
|
|
140
|
+
(props) => {
|
|
141
|
+
const rest = omit(props, ["innerRef"]);
|
|
142
|
+
return render(rest, props.innerRef);
|
|
143
|
+
}
|
|
144
|
+
);
|
|
145
|
+
Result.displayName = options.name;
|
|
146
|
+
Result.__linaria = {
|
|
147
|
+
className: options.class || mockedClass,
|
|
148
|
+
extends: tag
|
|
149
|
+
};
|
|
150
|
+
return Result;
|
|
151
|
+
};
|
|
152
|
+
}
|
|
153
|
+
var styled_default = process.env.NODE_ENV !== "production" ? new Proxy(styled, {
|
|
154
|
+
get(o, prop) {
|
|
155
|
+
return o(prop);
|
|
156
|
+
}
|
|
157
|
+
}) : styled;
|
|
158
|
+
|
|
159
|
+
const anchorize = children => {
|
|
160
|
+
if (typeof children === "string") {
|
|
161
|
+
return children.toLowerCase().replace(/[ _]+/g, "-").replace(/[!:^*./\\]/g, "");
|
|
162
|
+
} else {
|
|
163
|
+
return undefined;
|
|
164
|
+
}
|
|
165
|
+
};
|
|
166
|
+
function Heading(Component) {
|
|
167
|
+
return function Heading(props) {
|
|
168
|
+
const id = anchorize(props.children);
|
|
169
|
+
return /*#__PURE__*/React.createElement(Component, {
|
|
170
|
+
id: id,
|
|
171
|
+
...props
|
|
172
|
+
}, /*#__PURE__*/React.createElement("a", {
|
|
173
|
+
className: "a1yepc47",
|
|
174
|
+
href: id && `#${id}`
|
|
175
|
+
}, props.children, /*#__PURE__*/React.createElement(Icons.Link, {
|
|
176
|
+
className: "calmbc7"
|
|
177
|
+
})));
|
|
178
|
+
};
|
|
179
|
+
}
|
|
180
|
+
const h1 = /*#__PURE__*/styled_default('h1')({
|
|
181
|
+
name: "h1",
|
|
182
|
+
class: "hryzf2k",
|
|
183
|
+
propsAsIs: false
|
|
184
|
+
});
|
|
185
|
+
const h2 = Heading(/*#__PURE__*/styled_default('h2')({
|
|
186
|
+
name: "h2",
|
|
187
|
+
class: "h1r910l8",
|
|
188
|
+
propsAsIs: false
|
|
189
|
+
}));
|
|
190
|
+
const h3 = Heading(/*#__PURE__*/styled_default('h3')({
|
|
191
|
+
name: "h3",
|
|
192
|
+
class: "hmqldzl",
|
|
193
|
+
propsAsIs: false
|
|
194
|
+
}));
|
|
195
|
+
const h4 = Heading(/*#__PURE__*/styled_default('h4')({
|
|
196
|
+
name: "h4",
|
|
197
|
+
class: "hpw7qeo",
|
|
198
|
+
propsAsIs: false
|
|
199
|
+
}));
|
|
200
|
+
const blockquote = /*#__PURE__*/styled_default('blockquote')({
|
|
201
|
+
name: "blockquote",
|
|
202
|
+
class: "b1gfctk0",
|
|
203
|
+
propsAsIs: false
|
|
204
|
+
});
|
|
205
|
+
const hr = /*#__PURE__*/styled_default('hr')({
|
|
206
|
+
name: "hr",
|
|
207
|
+
class: "h1kfhyug",
|
|
208
|
+
propsAsIs: false
|
|
209
|
+
});
|
|
210
|
+
const table = /*#__PURE__*/styled_default('table')({
|
|
211
|
+
name: "table",
|
|
212
|
+
class: "t11kzh9g",
|
|
213
|
+
propsAsIs: false
|
|
214
|
+
});
|
|
215
|
+
const thead = /*#__PURE__*/styled_default('thead')({
|
|
216
|
+
name: "thead",
|
|
217
|
+
class: "t15na2yl",
|
|
218
|
+
propsAsIs: false
|
|
219
|
+
});
|
|
220
|
+
const tbody = /*#__PURE__*/styled_default('tbody')({
|
|
221
|
+
name: "tbody",
|
|
222
|
+
class: "t80peu3",
|
|
223
|
+
propsAsIs: false
|
|
224
|
+
});
|
|
225
|
+
const tr = /*#__PURE__*/styled_default('tr')({
|
|
226
|
+
name: "tr",
|
|
227
|
+
class: "t1ichb2u",
|
|
228
|
+
propsAsIs: false
|
|
229
|
+
});
|
|
230
|
+
const _exp = () => props => props.align || "center";
|
|
231
|
+
const th = /*#__PURE__*/styled_default('th')({
|
|
232
|
+
name: "th",
|
|
233
|
+
class: "tynrygb",
|
|
234
|
+
propsAsIs: false,
|
|
235
|
+
vars: {
|
|
236
|
+
"tynrygb-0": [_exp()]
|
|
237
|
+
}
|
|
238
|
+
});
|
|
239
|
+
const _exp2 = () => props => props.align || "left";
|
|
240
|
+
const td = /*#__PURE__*/styled_default('td')({
|
|
241
|
+
name: "td",
|
|
242
|
+
class: "ta24p8f",
|
|
243
|
+
propsAsIs: false,
|
|
244
|
+
vars: {
|
|
245
|
+
"ta24p8f-0": [_exp2()]
|
|
246
|
+
}
|
|
247
|
+
});
|
|
248
|
+
const code = /*#__PURE__*/styled_default('code')({
|
|
249
|
+
name: "code",
|
|
250
|
+
class: "ctk2u2p",
|
|
251
|
+
propsAsIs: false
|
|
252
|
+
});
|
|
253
|
+
const a = /*#__PURE__*/styled_default('a')({
|
|
254
|
+
name: "a",
|
|
255
|
+
class: "az92cdb",
|
|
256
|
+
propsAsIs: false
|
|
257
|
+
});
|
|
258
|
+
const p = /*#__PURE__*/styled_default('p')({
|
|
259
|
+
name: "p",
|
|
260
|
+
class: "ptugcwl",
|
|
261
|
+
propsAsIs: false
|
|
262
|
+
});
|
|
263
|
+
const ul = /*#__PURE__*/styled_default('ul')({
|
|
264
|
+
name: "ul",
|
|
265
|
+
class: "ufjqxlv",
|
|
266
|
+
propsAsIs: false
|
|
267
|
+
});
|
|
268
|
+
const ol = /*#__PURE__*/styled_default('ol')({
|
|
269
|
+
name: "ol",
|
|
270
|
+
class: "op4zsja",
|
|
271
|
+
propsAsIs: false
|
|
272
|
+
});
|
|
273
|
+
|
|
274
|
+
export { a, blockquote, code, h1, h2, h3, h4, hr, ol, p, table, tbody, td, th, thead, tr, ul };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
.a1yepc47{color:inherit;text-decoration:none;}.a1yepc47:hover svg{opacity:1;transform:none;visibility:visible;--visibility-delay:0s;}
|
|
2
|
+
.calmbc7{display:inline-block;margin-left:6px;color:var(--timvir-secondary-text-color);height:0.9rem;width:0.9rem;vertical-align:middle;transition:opacity 0.2s,transform 0.2s,visibility 0s var(--visibility-delay,0.2s);opacity:0;visibility:hidden;transform:translateX(-50%);}
|
|
3
|
+
.hryzf2k{margin-top:3rem;margin-bottom:1rem;font-size:2rem;line-height:1.125;font-weight:590;text-indent:-0.05em;}
|
|
4
|
+
.h1r910l8{position:relative;margin:2.5rem 0 1rem;font-size:1.5rem;line-height:1.1666;font-weight:590;}
|
|
5
|
+
.hmqldzl{position:relative;margin:1rem 0 1rem;font-size:1.0625rem;line-height:1.4705882353;font-weight:590;}
|
|
6
|
+
.hpw7qeo{position:relative;margin:1rem 0 1rem;font-size:0.9375rem;line-height:1.4375;font-weight:590;}
|
|
7
|
+
.b1gfctk0{margin-left:0;font-size:1.1rem;}.b1gfctk0 > *:first-child{margin-top:0;}.b1gfctk0 > *:last-child{margin-bottom:0;}
|
|
8
|
+
.h1kfhyug{display:block;border:none;height:1px;width:100%;background:currentColor;opacity:0.25;}
|
|
9
|
+
.t11kzh9g{border-spacing:0;border-collapse:collapse;width:100%;overflow:auto;}
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
.t1ichb2u{background-color:#fff;border-top:1px solid var(--c-p-2);}.t1ichb2u:nth-child(2n){background-color:var(--c-p-0);}
|
|
13
|
+
.tynrygb{text-align:var(--tynrygb-0);padding:6px 13px;border:1px solid var(--c-p-2);}
|
|
14
|
+
.ta24p8f{text-align:var(--ta24p8f-0);padding:6px 13px;border:1px solid var(--c-p-2);}
|
|
15
|
+
.ctk2u2p{border-radius:5px;padding:4px 6px 3px;font-size:0.8em;background:var(--timvir-secondary-background-color);border:1px solid var(--timvir-border-color);}
|
|
16
|
+
.az92cdb{color:currentColor;text-decoration:none;background-image:linear-gradient(transparent,transparent 5px,#383838 5px,#383838);background-position:bottom;background-size:100% 6px;background-repeat:repeat-x;}.az92cdb:hover{background-image:linear-gradient(transparent,transparent 3px,#2bbc8a 3px,#2bbc8a);}.az92cdb:hover .ctk2u2p{box-shadow:inset 0 0 0 1px rgba(16,22,26,0.5),inset 0 1px 4px rgba(16,22,26,0.2);}.az92cdb:active .ctk2u2p{box-shadow:inset 0 0 0 1px rgba(16,22,26,0.7),inset 0 1px 4px rgba(16,22,26,0.4);background:var(--c-p-2);}
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
package/core/index.js
CHANGED
|
@@ -3,11 +3,11 @@ import { pipe, filter, subscribe } from 'wonka';
|
|
|
3
3
|
import { useContext, Provider } from 'timvir/context';
|
|
4
4
|
export { useContext } from 'timvir/context';
|
|
5
5
|
import * as React from 'react';
|
|
6
|
-
import React__default from 'react';
|
|
7
6
|
import { useImmer } from 'use-immer';
|
|
8
7
|
import { MDXProvider } from '@mdx-js/react';
|
|
9
8
|
import { useHotkeys } from 'react-hotkeys-hook';
|
|
10
9
|
import { makeBus } from 'timvir/bus';
|
|
10
|
+
import * as mdxComponentsBase from 'timvir/builtins';
|
|
11
11
|
import * as Icons from 'react-feather';
|
|
12
12
|
import { castDraft } from 'immer';
|
|
13
13
|
import * as ReactDOM from 'react-dom';
|
|
@@ -166,7 +166,7 @@ function Dialog(props) {
|
|
|
166
166
|
transform: "scale(0.95)"
|
|
167
167
|
};
|
|
168
168
|
setTimeout(() => {
|
|
169
|
-
onDispose
|
|
169
|
+
onDispose?.();
|
|
170
170
|
}, 200);
|
|
171
171
|
}
|
|
172
172
|
});
|
|
@@ -209,7 +209,7 @@ function Dialog(props) {
|
|
|
209
209
|
key: index,
|
|
210
210
|
label: node.label,
|
|
211
211
|
onClick: () => {
|
|
212
|
-
onClose
|
|
212
|
+
onClose?.();
|
|
213
213
|
window.location.href = node.path;
|
|
214
214
|
}
|
|
215
215
|
})))));
|
|
@@ -223,7 +223,6 @@ const classes$5 = {
|
|
|
223
223
|
};
|
|
224
224
|
|
|
225
225
|
function Commands(props) {
|
|
226
|
-
var _state$dialog;
|
|
227
226
|
const [state, mutate] = useImmer({
|
|
228
227
|
/**
|
|
229
228
|
* Whether the command palette should be open or not. The command palette is
|
|
@@ -321,7 +320,7 @@ function Commands(props) {
|
|
|
321
320
|
};
|
|
322
321
|
}
|
|
323
322
|
}, [state.open]);
|
|
324
|
-
return
|
|
323
|
+
return state.dialog?.reactPortal ?? null;
|
|
325
324
|
}
|
|
326
325
|
const classes$4 = {
|
|
327
326
|
root: "rfei6z8"
|
|
@@ -372,267 +371,6 @@ const classes$3 = {
|
|
|
372
371
|
root: "rymvrdu"
|
|
373
372
|
};
|
|
374
373
|
|
|
375
|
-
function memoize(fn) {
|
|
376
|
-
var cache = Object.create(null);
|
|
377
|
-
return function (arg) {
|
|
378
|
-
if (cache[arg] === undefined) cache[arg] = fn(arg);
|
|
379
|
-
return cache[arg];
|
|
380
|
-
};
|
|
381
|
-
}
|
|
382
|
-
|
|
383
|
-
var reactPropsRegex = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/; // https://esbench.com/bench/5bfee68a4cd7e6009ef61d23
|
|
384
|
-
|
|
385
|
-
var isPropValid = /* #__PURE__ */memoize(function (prop) {
|
|
386
|
-
return reactPropsRegex.test(prop) || prop.charCodeAt(0) === 111
|
|
387
|
-
/* o */ && prop.charCodeAt(1) === 110
|
|
388
|
-
/* n */ && prop.charCodeAt(2) < 91;
|
|
389
|
-
}
|
|
390
|
-
/* Z+1 */);
|
|
391
|
-
|
|
392
|
-
// src/styled.ts
|
|
393
|
-
var isCapital = (ch) => ch.toUpperCase() === ch;
|
|
394
|
-
var filterKey = (keys) => (key) => keys.indexOf(key) === -1;
|
|
395
|
-
var omit = (obj, keys) => {
|
|
396
|
-
const res = {};
|
|
397
|
-
Object.keys(obj).filter(filterKey(keys)).forEach((key) => {
|
|
398
|
-
res[key] = obj[key];
|
|
399
|
-
});
|
|
400
|
-
return res;
|
|
401
|
-
};
|
|
402
|
-
function filterProps(asIs, props, omitKeys) {
|
|
403
|
-
const filteredProps = omit(props, omitKeys);
|
|
404
|
-
if (!asIs) {
|
|
405
|
-
const interopValidAttr = typeof isPropValid === "function" ? { default: isPropValid } : isPropValid;
|
|
406
|
-
Object.keys(filteredProps).forEach((key) => {
|
|
407
|
-
if (!interopValidAttr.default(key)) {
|
|
408
|
-
delete filteredProps[key];
|
|
409
|
-
}
|
|
410
|
-
});
|
|
411
|
-
}
|
|
412
|
-
return filteredProps;
|
|
413
|
-
}
|
|
414
|
-
var warnIfInvalid = (value, componentName) => {
|
|
415
|
-
if (process.env.NODE_ENV !== "production") {
|
|
416
|
-
if (typeof value === "string" || // eslint-disable-next-line no-self-compare,no-restricted-globals
|
|
417
|
-
typeof value === "number" && isFinite(value)) {
|
|
418
|
-
return;
|
|
419
|
-
}
|
|
420
|
-
const stringified = typeof value === "object" ? JSON.stringify(value) : String(value);
|
|
421
|
-
console.warn(
|
|
422
|
-
`An interpolation evaluated to '${stringified}' in the component '${componentName}', which is probably a mistake. You should explicitly cast or transform the value to a string.`
|
|
423
|
-
);
|
|
424
|
-
}
|
|
425
|
-
};
|
|
426
|
-
var idx = 0;
|
|
427
|
-
function styled(tag) {
|
|
428
|
-
let mockedClass = "";
|
|
429
|
-
if (process.env.NODE_ENV === "test") {
|
|
430
|
-
mockedClass += `mocked-styled-${idx++}`;
|
|
431
|
-
if (tag && tag.__linaria && tag.__linaria.className) {
|
|
432
|
-
mockedClass += ` ${tag.__linaria.className}`;
|
|
433
|
-
}
|
|
434
|
-
}
|
|
435
|
-
return (options) => {
|
|
436
|
-
if (process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test") {
|
|
437
|
-
if (Array.isArray(options)) {
|
|
438
|
-
throw new Error(
|
|
439
|
-
'Using the "styled" tag in runtime is not supported. Make sure you have set up the Babel plugin correctly. See https://github.com/callstack/linaria#setup'
|
|
440
|
-
);
|
|
441
|
-
}
|
|
442
|
-
}
|
|
443
|
-
const render = (props, ref) => {
|
|
444
|
-
const { as: component = tag, class: className = mockedClass } = props;
|
|
445
|
-
const shouldKeepProps = options.propsAsIs === void 0 ? !(typeof component === "string" && component.indexOf("-") === -1 && !isCapital(component[0])) : options.propsAsIs;
|
|
446
|
-
const filteredProps = filterProps(shouldKeepProps, props, [
|
|
447
|
-
"as",
|
|
448
|
-
"class"
|
|
449
|
-
]);
|
|
450
|
-
filteredProps.ref = ref;
|
|
451
|
-
filteredProps.className = options.atomic ? cx_default(options.class, filteredProps.className || className) : cx_default(filteredProps.className || className, options.class);
|
|
452
|
-
const { vars } = options;
|
|
453
|
-
if (vars) {
|
|
454
|
-
const style = {};
|
|
455
|
-
for (const name in vars) {
|
|
456
|
-
const variable = vars[name];
|
|
457
|
-
const result = variable[0];
|
|
458
|
-
const unit = variable[1] || "";
|
|
459
|
-
const value = typeof result === "function" ? result(props) : result;
|
|
460
|
-
warnIfInvalid(value, options.name);
|
|
461
|
-
style[`--${name}`] = `${value}${unit}`;
|
|
462
|
-
}
|
|
463
|
-
const ownStyle = filteredProps.style || {};
|
|
464
|
-
const keys = Object.keys(ownStyle);
|
|
465
|
-
if (keys.length > 0) {
|
|
466
|
-
keys.forEach((key) => {
|
|
467
|
-
style[key] = ownStyle[key];
|
|
468
|
-
});
|
|
469
|
-
}
|
|
470
|
-
filteredProps.style = style;
|
|
471
|
-
}
|
|
472
|
-
if (tag.__linaria && tag !== component) {
|
|
473
|
-
filteredProps.as = component;
|
|
474
|
-
return React__default.createElement(tag, filteredProps);
|
|
475
|
-
}
|
|
476
|
-
return React__default.createElement(component, filteredProps);
|
|
477
|
-
};
|
|
478
|
-
const Result = React__default.forwardRef ? React__default.forwardRef(render) : (
|
|
479
|
-
// React.forwardRef won't available on older React versions and in Preact
|
|
480
|
-
// Fallback to a innerRef prop in that case
|
|
481
|
-
(props) => {
|
|
482
|
-
const rest = omit(props, ["innerRef"]);
|
|
483
|
-
return render(rest, props.innerRef);
|
|
484
|
-
}
|
|
485
|
-
);
|
|
486
|
-
Result.displayName = options.name;
|
|
487
|
-
Result.__linaria = {
|
|
488
|
-
className: options.class || mockedClass,
|
|
489
|
-
extends: tag
|
|
490
|
-
};
|
|
491
|
-
return Result;
|
|
492
|
-
};
|
|
493
|
-
}
|
|
494
|
-
var styled_default = process.env.NODE_ENV !== "production" ? new Proxy(styled, {
|
|
495
|
-
get(o, prop) {
|
|
496
|
-
return o(prop);
|
|
497
|
-
}
|
|
498
|
-
}) : styled;
|
|
499
|
-
|
|
500
|
-
const anchorize = children => {
|
|
501
|
-
if (typeof children === "string") {
|
|
502
|
-
return children.toLowerCase().replace(/[ _]+/g, "-").replace(/[!:^*./\\]/g, "");
|
|
503
|
-
} else {
|
|
504
|
-
return undefined;
|
|
505
|
-
}
|
|
506
|
-
};
|
|
507
|
-
function Heading(Component) {
|
|
508
|
-
return function Heading(props) {
|
|
509
|
-
const id = anchorize(props.children);
|
|
510
|
-
return /*#__PURE__*/React.createElement(Component, {
|
|
511
|
-
id: id,
|
|
512
|
-
...props
|
|
513
|
-
}, /*#__PURE__*/React.createElement("a", {
|
|
514
|
-
className: "a12hs2f7",
|
|
515
|
-
href: id && `#${id}`
|
|
516
|
-
}, props.children, /*#__PURE__*/React.createElement(Icons.Link, {
|
|
517
|
-
className: "c31avqb"
|
|
518
|
-
})));
|
|
519
|
-
};
|
|
520
|
-
}
|
|
521
|
-
const h1 = /*#__PURE__*/styled_default('h1')({
|
|
522
|
-
name: "h1",
|
|
523
|
-
class: "h6ceq1b",
|
|
524
|
-
propsAsIs: false
|
|
525
|
-
});
|
|
526
|
-
const h2 = Heading(/*#__PURE__*/styled_default('h2')({
|
|
527
|
-
name: "h2",
|
|
528
|
-
class: "hj6166y",
|
|
529
|
-
propsAsIs: false
|
|
530
|
-
}));
|
|
531
|
-
const h3 = Heading(/*#__PURE__*/styled_default('h3')({
|
|
532
|
-
name: "h3",
|
|
533
|
-
class: "h1f8mqks",
|
|
534
|
-
propsAsIs: false
|
|
535
|
-
}));
|
|
536
|
-
const h4 = Heading(/*#__PURE__*/styled_default('h4')({
|
|
537
|
-
name: "h4",
|
|
538
|
-
class: "h1hmga4",
|
|
539
|
-
propsAsIs: false
|
|
540
|
-
}));
|
|
541
|
-
const blockquote = /*#__PURE__*/styled_default('blockquote')({
|
|
542
|
-
name: "blockquote",
|
|
543
|
-
class: "blrd6ep",
|
|
544
|
-
propsAsIs: false
|
|
545
|
-
});
|
|
546
|
-
const hr = /*#__PURE__*/styled_default('hr')({
|
|
547
|
-
name: "hr",
|
|
548
|
-
class: "h172su6f",
|
|
549
|
-
propsAsIs: false
|
|
550
|
-
});
|
|
551
|
-
const table = /*#__PURE__*/styled_default('table')({
|
|
552
|
-
name: "table",
|
|
553
|
-
class: "t1a7p0gg",
|
|
554
|
-
propsAsIs: false
|
|
555
|
-
});
|
|
556
|
-
const thead = /*#__PURE__*/styled_default('thead')({
|
|
557
|
-
name: "thead",
|
|
558
|
-
class: "t1fah8q4",
|
|
559
|
-
propsAsIs: false
|
|
560
|
-
});
|
|
561
|
-
const tbody = /*#__PURE__*/styled_default('tbody')({
|
|
562
|
-
name: "tbody",
|
|
563
|
-
class: "twrwqj6",
|
|
564
|
-
propsAsIs: false
|
|
565
|
-
});
|
|
566
|
-
const tr = /*#__PURE__*/styled_default('tr')({
|
|
567
|
-
name: "tr",
|
|
568
|
-
class: "t1fhygp",
|
|
569
|
-
propsAsIs: false
|
|
570
|
-
});
|
|
571
|
-
const _exp = () => props => props.align || "center";
|
|
572
|
-
const th = /*#__PURE__*/styled_default('th')({
|
|
573
|
-
name: "th",
|
|
574
|
-
class: "t176v8uh",
|
|
575
|
-
propsAsIs: false,
|
|
576
|
-
vars: {
|
|
577
|
-
"t176v8uh-0": [_exp()]
|
|
578
|
-
}
|
|
579
|
-
});
|
|
580
|
-
const _exp2 = () => props => props.align || "left";
|
|
581
|
-
const td = /*#__PURE__*/styled_default('td')({
|
|
582
|
-
name: "td",
|
|
583
|
-
class: "tvhsmuz",
|
|
584
|
-
propsAsIs: false,
|
|
585
|
-
vars: {
|
|
586
|
-
"tvhsmuz-0": [_exp2()]
|
|
587
|
-
}
|
|
588
|
-
});
|
|
589
|
-
const code = /*#__PURE__*/styled_default('code')({
|
|
590
|
-
name: "code",
|
|
591
|
-
class: "c197eb99",
|
|
592
|
-
propsAsIs: false
|
|
593
|
-
});
|
|
594
|
-
const a = /*#__PURE__*/styled_default('a')({
|
|
595
|
-
name: "a",
|
|
596
|
-
class: "a1d7vdmn",
|
|
597
|
-
propsAsIs: false
|
|
598
|
-
});
|
|
599
|
-
const p = /*#__PURE__*/styled_default('p')({
|
|
600
|
-
name: "p",
|
|
601
|
-
class: "pgfnift",
|
|
602
|
-
propsAsIs: false
|
|
603
|
-
});
|
|
604
|
-
const ul = /*#__PURE__*/styled_default('ul')({
|
|
605
|
-
name: "ul",
|
|
606
|
-
class: "u3pt2dg",
|
|
607
|
-
propsAsIs: false
|
|
608
|
-
});
|
|
609
|
-
const ol = /*#__PURE__*/styled_default('ol')({
|
|
610
|
-
name: "ol",
|
|
611
|
-
class: "ojr9iky",
|
|
612
|
-
propsAsIs: false
|
|
613
|
-
});
|
|
614
|
-
|
|
615
|
-
var mdxComponentsBase = /*#__PURE__*/Object.freeze({
|
|
616
|
-
__proto__: null,
|
|
617
|
-
a: a,
|
|
618
|
-
blockquote: blockquote,
|
|
619
|
-
code: code,
|
|
620
|
-
h1: h1,
|
|
621
|
-
h2: h2,
|
|
622
|
-
h3: h3,
|
|
623
|
-
h4: h4,
|
|
624
|
-
hr: hr,
|
|
625
|
-
ol: ol,
|
|
626
|
-
p: p,
|
|
627
|
-
table: table,
|
|
628
|
-
tbody: tbody,
|
|
629
|
-
td: td,
|
|
630
|
-
th: th,
|
|
631
|
-
thead: thead,
|
|
632
|
-
tr: tr,
|
|
633
|
-
ul: ul
|
|
634
|
-
});
|
|
635
|
-
|
|
636
374
|
function SidebarItem(props) {
|
|
637
375
|
const {
|
|
638
376
|
depth,
|
|
@@ -766,9 +504,9 @@ function Sidebar(props) {
|
|
|
766
504
|
}))), /*#__PURE__*/React.createElement("label", {
|
|
767
505
|
htmlFor: "menu",
|
|
768
506
|
className: "l5l3c45"
|
|
769
|
-
}, node
|
|
507
|
+
}, node?.icon ? /*#__PURE__*/React.cloneElement(node.icon, {
|
|
770
508
|
className: "c15ju3pv"
|
|
771
|
-
}) : null, /*#__PURE__*/React.createElement("span", null,
|
|
509
|
+
}) : null, /*#__PURE__*/React.createElement("span", null, node?.label ?? "Menu"), /*#__PURE__*/React.createElement(Icons.Menu, {
|
|
772
510
|
size: 16,
|
|
773
511
|
className: "s2bwnbz"
|
|
774
512
|
})), /*#__PURE__*/React.createElement("input", {
|
package/core/styles.css
CHANGED
|
@@ -30,26 +30,6 @@
|
|
|
30
30
|
.difnzb8{color:var(--timvir-secondary-text-color);display:flex;align-items:center;margin-inline:-0.2em;}.difnzb8 svg{height:1.2em;width:1.2em;}
|
|
31
31
|
.rymvrdu{padding:50px 0 80px;display:grid;grid-auto-rows:min-content;grid-template-columns:[le] var(--timvir-page-margin) [lex lc] 1fr [rc rex] var(--timvir-page-margin) [re];}@media (min-width:48rem){.rymvrdu{grid-template-columns: [le] var(--timvir-page-margin) [lex] 1fr [lc] minmax(0,48rem) [rc] 1fr [rex] var(--timvir-page-margin) [re];}}@media (min-width:72rem){.rymvrdu{grid-template-columns: [le] 1fr var(--timvir-page-margin) [lex] minmax(0,12rem) [lc] 48rem [rc] minmax(0,12rem) [rex] var( --timvir-page-margin ) 1fr [re];}}.rymvrdu > *{grid-column:lc / rc;}
|
|
32
32
|
|
|
33
|
-
.a12hs2f7{color:inherit;text-decoration:none;}.a12hs2f7:hover svg{opacity:1;transform:none;visibility:visible;--visibility-delay:0s;}
|
|
34
|
-
.c31avqb{display:inline-block;margin-left:6px;color:var(--timvir-secondary-text-color);height:0.9rem;width:0.9rem;vertical-align:middle;transition:opacity 0.2s,transform 0.2s,visibility 0s var(--visibility-delay,0.2s);opacity:0;visibility:hidden;transform:translateX(-50%);}
|
|
35
|
-
.h6ceq1b{margin-top:3rem;margin-bottom:1rem;font-size:2rem;line-height:1.125;font-weight:590;text-indent:-0.05em;}
|
|
36
|
-
.hj6166y{position:relative;margin:2.5rem 0 1rem;font-size:1.5rem;line-height:1.1666;font-weight:590;}
|
|
37
|
-
.h1f8mqks{position:relative;margin:1rem 0 1rem;font-size:1.0625rem;line-height:1.4705882353;font-weight:590;}
|
|
38
|
-
.h1hmga4{position:relative;margin:1rem 0 1rem;font-size:0.9375rem;line-height:1.4375;font-weight:590;}
|
|
39
|
-
.blrd6ep{margin-left:0;font-size:1.1rem;}.blrd6ep > *:first-child{margin-top:0;}.blrd6ep > *:last-child{margin-bottom:0;}
|
|
40
|
-
.h172su6f{display:block;border:none;height:1px;width:100%;background:currentColor;opacity:0.25;}
|
|
41
|
-
.t1a7p0gg{border-spacing:0;border-collapse:collapse;width:100%;overflow:auto;}
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
.t1fhygp{background-color:#fff;border-top:1px solid var(--c-p-2);}.t1fhygp:nth-child(2n){background-color:var(--c-p-0);}
|
|
45
|
-
.t176v8uh{text-align:var(--t176v8uh-0);padding:6px 13px;border:1px solid var(--c-p-2);}
|
|
46
|
-
.tvhsmuz{text-align:var(--tvhsmuz-0);padding:6px 13px;border:1px solid var(--c-p-2);}
|
|
47
|
-
.c197eb99{border-radius:5px;padding:4px 6px 3px;font-size:0.8em;background:var(--timvir-secondary-background-color);border:1px solid var(--timvir-border-color);}
|
|
48
|
-
.a1d7vdmn{color:currentColor;text-decoration:none;background-image:linear-gradient(transparent,transparent 5px,#383838 5px,#383838);background-position:bottom;background-size:100% 6px;background-repeat:repeat-x;}.a1d7vdmn:hover{background-image:linear-gradient(transparent,transparent 3px,#2bbc8a 3px,#2bbc8a);}.a1d7vdmn:hover .c197eb99{box-shadow:inset 0 0 0 1px rgba(16,22,26,0.5),inset 0 1px 4px rgba(16,22,26,0.2);}.a1d7vdmn:active .c197eb99{box-shadow:inset 0 0 0 1px rgba(16,22,26,0.7),inset 0 1px 4px rgba(16,22,26,0.4);background:var(--c-p-2);}
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
33
|
.r28qe6v{display:flex;align-items:center;margin:1px 0;font-size:0.9375rem;line-height:2.2;}@media (min-width:48rem){.r28qe6v{font-size:0.8125rem;}}@media (any-pointer:coarse){.r28qe6v > a{min-height:44px;}}.r28qe6v > a{min-width:0;transition:background 0.16s;border-radius:4px;display:flex;align-items:center;color:var(--timvir-text-color);font-weight:500;background:none;text-decoration:none;width:100%;padding:0 8px;opacity:0.7;}.r28qe6v:hover a{background-color:var(--timvir-sidebar-highlight-color);opacity:1;}.r28qe6v[data-active="true"] a{background-color:var(--timvir-sidebar-highlight-color);opacity:1;}
|
|
54
34
|
.i1ia823q{display:block;width:1.3em;height:1.3em;margin-right:8px;min-width:1.3em;}
|
|
55
35
|
.l13ixk6c{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-right:auto;}
|
package/package.json
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"type": "module",
|
|
3
3
|
"name": "timvir",
|
|
4
|
-
"version": "0.2.
|
|
4
|
+
"version": "0.2.30",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"exports": {
|
|
8
8
|
"./styles.css": "./styles.css",
|
|
9
9
|
"./blocks": "./blocks/index.js",
|
|
10
10
|
"./blocks/*": "./blocks/*/index.js",
|
|
11
|
+
"./builtins": "./builtins/index.js",
|
|
11
12
|
"./bus": "./bus/index.js",
|
|
12
13
|
"./context": "./context/index.js",
|
|
13
14
|
"./core": "./core/index.js",
|
package/search/index.js
CHANGED
|
@@ -120,7 +120,7 @@ function Dialog(props, ref) {
|
|
|
120
120
|
setResult(result);
|
|
121
121
|
});
|
|
122
122
|
}, [value, q, setResult]);
|
|
123
|
-
const items =
|
|
123
|
+
const items = result?.edges ?? [];
|
|
124
124
|
const {
|
|
125
125
|
getMenuProps,
|
|
126
126
|
getInputProps,
|
package/styles.css
CHANGED
|
@@ -1,103 +1,3 @@
|
|
|
1
|
-
.r1ev38xg{margin:1em 0;}
|
|
2
|
-
.c8hz158{display:grid;grid-gap:8px;grid-template-columns:1fr 100px;margin-bottom:8px;}
|
|
3
|
-
.t1663phv{display:flex;align-items:center;padding:0 0 0 10px;min-height:36px;position:relative;background:var(--timvir-secondary-background-color);}.t1663phv::after{display:block;position:absolute;content:"";inset:0;pointer-events:none;border:1px solid var(--timvir-border-color);border-radius:2px;}.t1663phv:hover::after{border-color:var(--timvir-text-color);}.t1663phv:focus-within::after{border-color:var(--timvir-text-color);}
|
|
4
|
-
.s1k50njo{display:inline-block;color:var(--timvir-secondary-text-color);margin-right:6px;}
|
|
5
|
-
.i1dajnne{border:none;outline:none;font:inherit;background:transparent;align-self:stretch;padding:0;width:100%;color:inherit;}
|
|
6
|
-
.b128wsn{border:none;outline:none;min-height:36px;border:1px solid var(--timvir-border-color);border-radius:2px;background:var(--timvir-secondary-background-color);color:var(--timvir-text-color);font:inherit;}.b128wsn:hover{border-color:var(--timvir-text-color);background:var(--timvir-sidebar-highlight-color);}.b128wsn:active{border-color:var(--timvir-text-color);background:var(--timvir-sidebar-highlight-color);}
|
|
7
|
-
|
|
8
|
-
.tac6gx6{color:#393a34;background-color:#f6f8fa;}.tac6gx6 :is(.comment,.prolog,.doctype,.cdata){color:#999988;font-style:italic;}.tac6gx6 :is(.namespace){opacity:0.7;}.tac6gx6 :is(.string,.attr-value){color:#e3116c;}.tac6gx6 :is(.punctuation,.operator){color:#6cb6ff;}.tac6gx6 :is(.function,.delete,.tag){color:#d73a49;}.tac6gx6 :is(.tag,.selector,.keyword){color:#00009f;}.tac6gx6 :is(.function-variable){color:#6f42c1;}.tac6gx6 :is(.atrule,.keyword,.attr-name,.selector){color:#00a4db;}.tac6gx6 :is(.entity,.url,.symbol,.number,.boolean,.variable,.constant,.property,.regex,.inserted){color:#36acaa;}:root[data-timvir-theme="dark"] .tac6gx6{color:#adbac7;background-color:#2d333b;}:root[data-timvir-theme="dark"] .tac6gx6 :is(.comment,.prolog,.doctype,.cdata){color:#999988;font-style:italic;}:root[data-timvir-theme="dark"] .tac6gx6 :is(.namespace){opacity:0.7;}:root[data-timvir-theme="dark"] .tac6gx6 :is(.string,.attr-value){color:#96d0ff;}:root[data-timvir-theme="dark"] .tac6gx6 :is(.punctuation,.operator){color:#6cb6ff;}:root[data-timvir-theme="dark"] .tac6gx6 :is(.function,.delete,.tag){color:#d73a49;}:root[data-timvir-theme="dark"] .tac6gx6 :is(.tag,.selector,.keyword){color:#8ddb8c;}:root[data-timvir-theme="dark"] .tac6gx6 :is(.function-variable){color:#6f42c1;}:root[data-timvir-theme="dark"] .tac6gx6 :is(.atrule,.keyword,.attr-name,.selector){color:#f47067;}:root[data-timvir-theme="dark"] .tac6gx6 :is(.entity,.url,.symbol,.number,.boolean,.variable,.constant,.property,.regex,.inserted){color:#dcbdfb;}
|
|
9
|
-
|
|
10
|
-
.d1513p2s{display:grid;grid-template-columns:1fr;}
|
|
11
|
-
.b157mkz{--size:48px;z-index:1;position:absolute;top:0;right:0;overflow:hidden;width:var(--size);height:var(--size);display:flex;align-items:flex-start;justify-content:flex-end;outline:none;border:none;padding:6px;background:transparent;transition:all 0.2s;cursor:pointer;pointer-events:none;opacity:0;}.b157mkz:hover{color:white;}.b157mkz:hover svg:first-child{transform:translate(0,0);}.b157mkz:active svg:first-child{transform:translate(2px,-2px);}
|
|
12
|
-
.b10oxtfo{pointer-events:all;opacity:1;}
|
|
13
|
-
.s1hdfi6o{position:absolute;z-index:-1;top:0;right:0;transition:all 0.2s;transform:translate(48px,-48px);}.s1hdfi6o path{fill:var(--c-p-4);}
|
|
14
|
-
.d17pltln{padding:16px 24px 16px 0;}
|
|
15
|
-
|
|
16
|
-
:root[data-timvir-theme="dark"] .r9v2r0l .shiki,:root[data-timvir-theme="dark"] .r9v2r0l .shiki span{color:var(--shiki-dark) !important;font-style:var(--shiki-dark-font-style) !important;font-weight:var(--shiki-dark-font-weight) !important;text-decoration:var(--shiki-dark-text-decoration) !important;}
|
|
17
|
-
.cs7tint{overflow-x:auto;contain:content;font-size:0.8em;border-radius:5px;--timvir-b-Code-bleed:calc(var(--timvir-margin,0px) * 0.6666);--timvir-b-Code-inlinePadding:max(var(--timvir-b-Code-bleed),8px);padding:0;margin:0 calc(-1 * var(--timvir-b-Code-bleed));border:1px solid var(--timvir-border-color);}.cs7tint pre{margin:0;padding:16px 0;background-color:var(--timvir-secondary-background-color) !important;}.cs7tint pre code{display:block;}.cs7tint pre code .line{display:inline-block;position:relative;width:100%;}.cs7tint pre .line{padding-inline:var(--timvir-b-Code-inlinePadding);}
|
|
18
|
-
.fjvaz2s{display:grid;border-radius:0;box-shadow:none;margin-inline:0;grid-auto-rows:min-content;grid-template-columns:[le] 0 [lc] 1fr [rc] 0 [re];grid-column-gap:16px;}.fjvaz2s:hover{box-shadow:none;}@media (min-width:60rem){.fjvaz2s{grid-template-columns:[le] 1fr [lc] minmax(0,48rem) [rc] 1fr [re];grid-column-gap:24px;}}.fjvaz2s > *{grid-column:lc / re;}
|
|
19
|
-
.lchll0h{padding-inline:var(--timvir-b-Code-inlinePadding);}
|
|
20
|
-
.h1xcko1i{background-color:#ffe10044;}:root[data-timvir-theme="dark"] .h1xcko1i{background-color:rgba(174,124,20,0.15);}
|
|
21
|
-
.ll2b9hx{display:inline-block;width:var(--timvir-b-Code-bleed);color:var(--timvir-secondary-text-color);text-align:right;padding-inline:4px;}
|
|
22
|
-
.c5vr6r2{font-size:0.8125rem;line-height:1.1875;color:var(--timvir-secondary-text-color);margin-top:0.3em;}
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
.r1f19pie{position:relative;}
|
|
26
|
-
.b15hqsfj{display:grid;grid-auto-flow:row;grid-template-columns:repeat(auto-fit,minmax(0,1fr));transition:all 0.16s;}.b15hqsfj::before{position:absolute;top:0;right:0;bottom:0;left:0;display:block;z-index:2;border-radius:2px;box-shadow:inset 0 0 0 1px rgba(16,22,26,0.15);content:"";pointer-events:none;user-select:none;transition:all 0.16s;}.b15hqsfj:hover::before{opacity:0;}
|
|
27
|
-
.v1uw85xw{height:40px;flex-grow:1;display:grid;place-items:stretch;}.v1uw85xw > div{transition:all 0.16s;cursor:pointer;}.v1uw85xw:first-child > div{border-radius:2px 0 0 2px;}.v1uw85xw:last-child > div{border-radius:0 2px 2px 0;}.v1uw85xw:hover{z-index:3;}.v1uw85xw:hover > div{border-radius:2px;margin:-3px 1px;box-shadow:inset 0 0 0 1px rgba(16,22,26,0.2),0 2px 4px rgba(16,22,26,0.1), 0 8px 24px rgba(16,22,26,0.2);}
|
|
28
|
-
.o1823law{position:absolute;top:50%;right:0px;left:0px;transform:translateY(-50%);pointer-events:none;opacity:0;z-index:4;transition:opacity 0.16s;}.s4sqb81 .o1823law{pointer-events:all;opacity:1;}
|
|
29
|
-
|
|
30
|
-
.rmv2wrl{display:grid;grid-gap:16px;grid-auto-columns:1fr;align-items:start;width:100%;}
|
|
31
|
-
.d1l94wnr{flex-grow:1;}.d1l94wnr:first-child{border-radius:3px 3px 0 0;}.d1l94wnr:last-child{border-radius:0 0 3px 3px;}
|
|
32
|
-
.d1uopbb{text-align:center;font-size:0.75rem;color:var(--timvir-secondary-text-color);margin-top:0.8em;line-height:1;}
|
|
33
|
-
.d1vwzhoa{color:var(--timvir-text-color);}
|
|
34
|
-
.c1xqhu04{position:relative;cursor:pointer;display:flex;flex-direction:column;height:200px;}.c1xqhu04::before{position:absolute;top:-2px;right:-2px;bottom:-2px;left:-2px;border-radius:4px;box-shadow:0 0 0 0 rgba(19,124,189,0);content:"";transition:all 0.16s cubic-bezier(0.4,1,0.75,0.9);}.c1xqhu04:hover::before{box-shadow:0 0 0 2px #00000040;opacity:1;}
|
|
35
|
-
.a1y0tcvx:hover::before,.a1y0tcvx::before{box-shadow:0 0 0 2px var(--c-p-5);opacity:1;}
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
.r1nql2f9{--timvir-b-Exhibit-bleed:calc(var(--timvir-margin,0px) * 0.6666);--timvir-b-Exhibit-borderColor:var(--timvir-border-color);--timvir-b-Exhibit-background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAIAAAACUFjqAAAAHElEQVR4AWP4/u07Mvr75y8yGlBpND6a6oGUBgAxMSSkDKa/pQAAAABJRU5ErkJggg==);}:root[data-timvir-theme="dark"] .r1nql2f9{--timvir-b-Exhibit-background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAAAAACoWZBhAAAAFklEQVQI12NQBQF2EGAghQkmwXxSmADZJQiZ2ZZ46gAAAABJRU5ErkJggg==);}
|
|
39
|
-
.c4ji594{display:flow-root;background:var(--timvir-b-Exhibit-background);margin:0 calc(-1 * var(--timvir-b-Exhibit-bleed));padding:var(--timvir-b-Exhibit-bleed);border-radius:5px;}
|
|
40
|
-
.cf43jjx{font-size:0.8125rem;line-height:1.1875;color:var(--timvir-secondary-text-color);margin-top:0.3em;}
|
|
41
|
-
|
|
42
|
-
.mby32tn{display:flex;align-items:baseline;font-size:0.9rem;font-weight:bold;transition:all 0.2s;}
|
|
43
|
-
.fc7ivp5{margin:0 auto 0 0;}
|
|
44
|
-
.de58upx{cursor:pointer;}.de58upx:hover{color:var(--c-p-4);opacity:1;}.de58upx > svg{position:relative;top:2px;}
|
|
45
|
-
.d10949ho{display:flex;flex-direction:column;}
|
|
46
|
-
.d1o2du3z{overflow:hidden;transition:height 0.2s,opacity 0.2s 0.1s;}
|
|
47
|
-
.d1o9zhgl{padding:0 0 16px;}
|
|
48
|
-
.ddlplux{overflow:hidden;transition:height 0.2s,opacity 0.2s 0.1s;}
|
|
49
|
-
.dw285p4{outline:none;user-select:text;white-space:pre-wrap;overflow-wrap:break-word;}
|
|
50
|
-
|
|
51
|
-
.r1c1ozpm{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:var(--timvir-page-margin,24px);--timvir-margin:calc(var(--timvir-page-margin,24px) * 0.5);}
|
|
52
|
-
|
|
53
|
-
.b1a0xzv7{background:white;place-self:stretch;border-radius:2px;transition:all 0.2s;box-shadow:0 0 0 0 rgba(0,0,0,0.1);}
|
|
54
|
-
.g10obtzp{opacity:0;transition:all 0.2s;pointer-events:none;}
|
|
55
|
-
.r1bcczis{display:grid;place-items:center;cursor:pointer;}.r1bcczis > *{grid-column:1;grid-row:1;}.r1bcczis:hover .b1a0xzv7{box-shadow:inset 0 0 0 1px rgba(16,22,26,0.2),0 2px 4px rgba(16,22,26,0.1), 0 8px 24px rgba(16,22,26,0.2);}.r1bcczis:active .b1a0xzv7{margin:1px;box-shadow:inset 0 0 0 1px rgba(16,22,26,0.2),0 1px 1px rgba(16,22,26,0.2);}.r1bcczis:hover .g10obtzp{opacity:1;}
|
|
56
|
-
|
|
57
|
-
.n1xsexuc{margin-top:6px;white-space:nowrap;font-size:0.75rem;opacity:0;transition:all 0.16s;z-index:-1;color:var(--timvir-secondary-text-color);text-align:center;user-select:none;pointer-events:none;position:absolute;left:50%;bottom:-20px;transform:translateX(-50%);}
|
|
58
|
-
.r1k0w618{position:relative;z-index:1;}.r1k0w618 svg{display:block;}.r1k0w618:hover .n1xsexuc{opacity:1;bottom:-26px;color:var(--timvir-text-color);}.r1k0w618:active .n1xsexuc{bottom:-24px;}
|
|
59
|
-
|
|
60
|
-
.r1ssql2z{position:relative;background:var(--c-p-0);color:black;border-radius:3px;padding:16px 24px 16px 24px;box-shadow:inset 0 0 0 1px rgba(16,22,26,0.2);display:flex;align-items:flex-start;font-size:0.875rem;line-height:1.5;}
|
|
61
|
-
.dhvu07f > *:first-child{margin-top:0;}.dhvu07f > *:last-child{margin-bottom:0;}.dhvu07f > h3:before{display:none;}
|
|
62
|
-
.i1dz18jz{position:relative;top:3px;margin:-2px 12px 0 -4px;}.i1dz18jz > svg{display:block;}
|
|
63
|
-
.i41wipx{background:#f0f2fc;color:black;}.i41wipx .i1dz18jz{color:#2a47d5;}
|
|
64
|
-
.wi7iy6{background:#fcf9f0;color:black;}.wi7iy6 .i1dz18jz{color:#a68521;}
|
|
65
|
-
.a1d5oxsn{background:#fcf0f0;color:black;}.a1d5oxsn .i1dz18jz{color:#da4444;}
|
|
66
|
-
|
|
67
|
-
.r19bcggb{position:relative;}.r19bcggb > div{border-radius:2px;}.r19bcggb:hover > div{top:-4px;right:-4px;bottom:-4px;left:-4px;box-shadow:inset 0 0 0 1px rgba(16,22,26,0.2),0 2px 4px rgba(16,22,26,0.1), 0 8px 24px rgba(16,22,26,0.2);padding:0px 16px;z-index:2;}.r19bcggb:active > div{top:-2px;right:-2px;bottom:-2px;left:-2px;box-shadow:inset 0 0 0 1px rgba(16,22,26,0.2),0 1px 1px rgba(16,22,26,0.2);padding:0px 14px;z-index:2;}
|
|
68
|
-
.dhgsgky{display:flex;flex-direction:column;justify-content:center;position:absolute;top:0;right:0;bottom:0;left:0;transition:all 0.16s;padding:0px 12px;cursor:pointer;}
|
|
69
|
-
.dobecwk{display:flex;justify-content:space-between;align-items:center;line-height:1;}
|
|
70
|
-
.dho7t08{padding-top:6px;opacity:0.5;font-size:0.8em;line-height:1;}
|
|
71
|
-
|
|
72
|
-
.fgdj0yb{font-size:0.8125rem;line-height:1.1875;color:var(--timvir-secondary-text-color);white-space:nowrap;display:flex;justify-content:space-between;align-items:center;}
|
|
73
|
-
.d1rc4zjh{cursor:pointer;}.d1rc4zjh:hover{color:var(--c-p-4);opacity:1;}.d1rc4zjh > svg{display:block;}
|
|
74
|
-
.d1enfo6{overflow:hidden;transition:height 0.2s,opacity 0.2s 0.1s;}
|
|
75
|
-
.d1watfn6{margin-top:12px;}
|
|
76
|
-
|
|
77
|
-
.d1mmz2b6{grid-row:1 / span 3;cursor:pointer;display:flex;align-items:center;justify-content:center;opacity:0.5;color:var(--timvir-text-color);border-radius:2px;transition:all 0.2s cubic-bezier(0.4,1,0.75,0.9);}.d1mmz2b6:hover{opacity:1;box-shadow:0 0 0 1px rgba(16,22,26,0.1),0 2px 4px rgba(16,22,26,0.2),0 8px 24px rgba(16,22,26,0.2);}.d1mmz2b6:active{box-shadow:0 0 0 1px rgba(16,22,26,0.1),0 0 0 rgba(16,22,26,0),0 1px 1px rgba(16,22,26,0.2);}
|
|
78
|
-
|
|
79
|
-
.ssl4j8q{width:100%;display:block;height:16px;margin:8px 0;}
|
|
80
|
-
|
|
81
|
-
.r1ouu0bc{contain:layout;margin-bottom:0;}
|
|
82
|
-
.d1uj09ka{position:relative;}
|
|
83
|
-
.d2uawyc{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);font-variant-numeric:tabular-nums;}
|
|
84
|
-
.d8ms9m9{display:flex;align-items:stretch;justify-content:center;}
|
|
85
|
-
.d17q9rbm{border-radius:3px;display:grid;grid-template-columns:56px auto 56px;grid-template-rows:0 auto 0;grid-column-gap:8px;}
|
|
86
|
-
.daubpa6{grid-column:2 / span 1;grid-row:2 / span 1;position:relative;flex:1;height:100px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAAAAACoWZBhAAAAF0lEQVQI12P4BAI/QICBFCaYBPNJYQIAkUZftTbC4sIAAAAASUVORK5CYII=);transition:height 0.16s;overflow:hidden;}
|
|
87
|
-
.d1d22s19{animation-duration:2s;animation-fill-mode:forwards;animation-iteration-count:infinite;animation-name:shimmer-d1d22s19;animation-timing-function:linear;background-size:150vw 100px;background-image:linear-gradient(to right,#fafafa 0%,#f4f4f4 25%,#fafafa 40%);box-shadow:inset 0 0 0 1px rgba(16,22,26,0.2);border-radius:1px;}@keyframes shimmer-d1d22s19{0%{background-position:-60vw 0;}40%{background-position:85vw 0;}100%{background-position:85vw 0;}}
|
|
88
|
-
.i11uos8q{display:block;position:absolute;top:0;left:0;width:100%;height:100%;transition:opacity 0.2s;}
|
|
89
|
-
|
|
90
|
-
.r1szx90n{transition:all 0.16s;box-shadow:inset 0 0 0 1px rgba(16,22,26,0.2);border-radius:3px;display:flex;cursor:pointer;text-decoration:none;}.r1szx90n:hover{background:rgba(55,53,47,0.08);box-shadow:inset 0 0 0 1px rgba(16,22,26,0.2),0 2px 4px rgba(16,22,26,0.1), 0 8px 24px rgba(16,22,26,0.2);}.r1szx90n:active{background:rgba(55,53,47,0.08);box-shadow:inset 0 0 0 1px rgba(16,22,26,0.2),0 1px 1px rgba(16,22,26,0.2);}:root[data-timvir-theme="dark"] .r1szx90n{box-shadow:inset 0 0 0 1px rgba(255,255,255,0.2);}:root[data-timvir-theme="dark"] .r1szx90n:hover{background:rgba(255,255,255,0.08);}:root[data-timvir-theme="dark"] .r1szx90n:active{background:rgba(255,255,255,0.08);}
|
|
91
|
-
.tywhumj{flex:4 1 180px;padding:12px 14px 14px;min-width:0;}
|
|
92
|
-
.t1sni99u{color:var(--timvir-text-color);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-height:24px;margin-bottom:6px;}
|
|
93
|
-
.d7eo497{font-size:0.75rem;line-height:1.1rem;color:var(--timvir-secondary-text-color);height:2.2rem;overflow:hidden;}
|
|
94
|
-
.u1rlrpoc{margin-top:12px;display:flex;font-size:0.75rem;line-height:1rem;color:var(--timvir-text-color);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
|
|
95
|
-
.f1cqi3na{width:1rem;height:1rem;min-width:1rem;margin-right:6px;}
|
|
96
|
-
.igksd61{flex:1 1 180px;position:relative;min-width:180px;}
|
|
97
|
-
.i1gibb8w{display:block;object-fit:cover;border-radius:0 3px 3px 0;width:calc(100% - 2px);height:calc(100% - 2px);position:absolute;top:1px;left:1px;}
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
1
|
|
|
102
2
|
.g1et32pl{display:grid;--timvir-page-margin:16px;--timvir-margin:var(--timvir-page-margin);grid-auto-rows:min-content;grid-template-columns:[le] var(--timvir-page-margin) [lex lc] 1fr [rc rex] var(--timvir-page-margin) [re];}@media (min-width:48rem){.g1et32pl{--timvir-page-margin:24px;grid-template-columns:[le] var(--timvir-page-margin) [lex] 1fr [lc] minmax(0,48rem) [rc] 1fr [rex] var( --timvir-page-margin ) [re];}}@media (min-width:72rem){.g1et32pl{grid-template-columns:[le] 1fr var(--timvir-page-margin) [lex] minmax(0,12rem) [lc] 48rem [rc] minmax(0,12rem) [rex] var( --timvir-page-margin ) 1fr [re];}}.g1et32pl > *:not(.nc2e9vn){grid-column:lc / rc;min-width:0;}.g1et32pl > *{margin:0 0 2rem;}.g1et32pl > p + ul{margin-top:-1.25rem;}
|
|
103
3
|
.en6sn9p{grid-column:lex / rex;}
|
|
@@ -130,26 +30,6 @@
|
|
|
130
30
|
.difnzb8{color:var(--timvir-secondary-text-color);display:flex;align-items:center;margin-inline:-0.2em;}.difnzb8 svg{height:1.2em;width:1.2em;}
|
|
131
31
|
.rymvrdu{padding:50px 0 80px;display:grid;grid-auto-rows:min-content;grid-template-columns:[le] var(--timvir-page-margin) [lex lc] 1fr [rc rex] var(--timvir-page-margin) [re];}@media (min-width:48rem){.rymvrdu{grid-template-columns: [le] var(--timvir-page-margin) [lex] 1fr [lc] minmax(0,48rem) [rc] 1fr [rex] var(--timvir-page-margin) [re];}}@media (min-width:72rem){.rymvrdu{grid-template-columns: [le] 1fr var(--timvir-page-margin) [lex] minmax(0,12rem) [lc] 48rem [rc] minmax(0,12rem) [rex] var( --timvir-page-margin ) 1fr [re];}}.rymvrdu > *{grid-column:lc / rc;}
|
|
132
32
|
|
|
133
|
-
.a12hs2f7{color:inherit;text-decoration:none;}.a12hs2f7:hover svg{opacity:1;transform:none;visibility:visible;--visibility-delay:0s;}
|
|
134
|
-
.c31avqb{display:inline-block;margin-left:6px;color:var(--timvir-secondary-text-color);height:0.9rem;width:0.9rem;vertical-align:middle;transition:opacity 0.2s,transform 0.2s,visibility 0s var(--visibility-delay,0.2s);opacity:0;visibility:hidden;transform:translateX(-50%);}
|
|
135
|
-
.h6ceq1b{margin-top:3rem;margin-bottom:1rem;font-size:2rem;line-height:1.125;font-weight:590;text-indent:-0.05em;}
|
|
136
|
-
.hj6166y{position:relative;margin:2.5rem 0 1rem;font-size:1.5rem;line-height:1.1666;font-weight:590;}
|
|
137
|
-
.h1f8mqks{position:relative;margin:1rem 0 1rem;font-size:1.0625rem;line-height:1.4705882353;font-weight:590;}
|
|
138
|
-
.h1hmga4{position:relative;margin:1rem 0 1rem;font-size:0.9375rem;line-height:1.4375;font-weight:590;}
|
|
139
|
-
.blrd6ep{margin-left:0;font-size:1.1rem;}.blrd6ep > *:first-child{margin-top:0;}.blrd6ep > *:last-child{margin-bottom:0;}
|
|
140
|
-
.h172su6f{display:block;border:none;height:1px;width:100%;background:currentColor;opacity:0.25;}
|
|
141
|
-
.t1a7p0gg{border-spacing:0;border-collapse:collapse;width:100%;overflow:auto;}
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
.t1fhygp{background-color:#fff;border-top:1px solid var(--c-p-2);}.t1fhygp:nth-child(2n){background-color:var(--c-p-0);}
|
|
145
|
-
.t176v8uh{text-align:var(--t176v8uh-0);padding:6px 13px;border:1px solid var(--c-p-2);}
|
|
146
|
-
.tvhsmuz{text-align:var(--tvhsmuz-0);padding:6px 13px;border:1px solid var(--c-p-2);}
|
|
147
|
-
.c197eb99{border-radius:5px;padding:4px 6px 3px;font-size:0.8em;background:var(--timvir-secondary-background-color);border:1px solid var(--timvir-border-color);}
|
|
148
|
-
.a1d7vdmn{color:currentColor;text-decoration:none;background-image:linear-gradient(transparent,transparent 5px,#383838 5px,#383838);background-position:bottom;background-size:100% 6px;background-repeat:repeat-x;}.a1d7vdmn:hover{background-image:linear-gradient(transparent,transparent 3px,#2bbc8a 3px,#2bbc8a);}.a1d7vdmn:hover .c197eb99{box-shadow:inset 0 0 0 1px rgba(16,22,26,0.5),inset 0 1px 4px rgba(16,22,26,0.2);}.a1d7vdmn:active .c197eb99{box-shadow:inset 0 0 0 1px rgba(16,22,26,0.7),inset 0 1px 4px rgba(16,22,26,0.4);background:var(--c-p-2);}
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
33
|
.r28qe6v{display:flex;align-items:center;margin:1px 0;font-size:0.9375rem;line-height:2.2;}@media (min-width:48rem){.r28qe6v{font-size:0.8125rem;}}@media (any-pointer:coarse){.r28qe6v > a{min-height:44px;}}.r28qe6v > a{min-width:0;transition:background 0.16s;border-radius:4px;display:flex;align-items:center;color:var(--timvir-text-color);font-weight:500;background:none;text-decoration:none;width:100%;padding:0 8px;opacity:0.7;}.r28qe6v:hover a{background-color:var(--timvir-sidebar-highlight-color);opacity:1;}.r28qe6v[data-active="true"] a{background-color:var(--timvir-sidebar-highlight-color);opacity:1;}
|
|
154
34
|
.i1ia823q{display:block;width:1.3em;height:1.3em;margin-right:8px;min-width:1.3em;}
|
|
155
35
|
.l13ixk6c{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-right:auto;}
|
|
@@ -180,6 +60,25 @@
|
|
|
180
60
|
.d2srpki{margin-top:auto;}
|
|
181
61
|
.d1hkiw6l{margin-top:auto;padding-top:80px;}
|
|
182
62
|
|
|
63
|
+
.a1yepc47{color:inherit;text-decoration:none;}.a1yepc47:hover svg{opacity:1;transform:none;visibility:visible;--visibility-delay:0s;}
|
|
64
|
+
.calmbc7{display:inline-block;margin-left:6px;color:var(--timvir-secondary-text-color);height:0.9rem;width:0.9rem;vertical-align:middle;transition:opacity 0.2s,transform 0.2s,visibility 0s var(--visibility-delay,0.2s);opacity:0;visibility:hidden;transform:translateX(-50%);}
|
|
65
|
+
.hryzf2k{margin-top:3rem;margin-bottom:1rem;font-size:2rem;line-height:1.125;font-weight:590;text-indent:-0.05em;}
|
|
66
|
+
.h1r910l8{position:relative;margin:2.5rem 0 1rem;font-size:1.5rem;line-height:1.1666;font-weight:590;}
|
|
67
|
+
.hmqldzl{position:relative;margin:1rem 0 1rem;font-size:1.0625rem;line-height:1.4705882353;font-weight:590;}
|
|
68
|
+
.hpw7qeo{position:relative;margin:1rem 0 1rem;font-size:0.9375rem;line-height:1.4375;font-weight:590;}
|
|
69
|
+
.b1gfctk0{margin-left:0;font-size:1.1rem;}.b1gfctk0 > *:first-child{margin-top:0;}.b1gfctk0 > *:last-child{margin-bottom:0;}
|
|
70
|
+
.h1kfhyug{display:block;border:none;height:1px;width:100%;background:currentColor;opacity:0.25;}
|
|
71
|
+
.t11kzh9g{border-spacing:0;border-collapse:collapse;width:100%;overflow:auto;}
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
.t1ichb2u{background-color:#fff;border-top:1px solid var(--c-p-2);}.t1ichb2u:nth-child(2n){background-color:var(--c-p-0);}
|
|
75
|
+
.tynrygb{text-align:var(--tynrygb-0);padding:6px 13px;border:1px solid var(--c-p-2);}
|
|
76
|
+
.ta24p8f{text-align:var(--ta24p8f-0);padding:6px 13px;border:1px solid var(--c-p-2);}
|
|
77
|
+
.ctk2u2p{border-radius:5px;padding:4px 6px 3px;font-size:0.8em;background:var(--timvir-secondary-background-color);border:1px solid var(--timvir-border-color);}
|
|
78
|
+
.az92cdb{color:currentColor;text-decoration:none;background-image:linear-gradient(transparent,transparent 5px,#383838 5px,#383838);background-position:bottom;background-size:100% 6px;background-repeat:repeat-x;}.az92cdb:hover{background-image:linear-gradient(transparent,transparent 3px,#2bbc8a 3px,#2bbc8a);}.az92cdb:hover .ctk2u2p{box-shadow:inset 0 0 0 1px rgba(16,22,26,0.5),inset 0 1px 4px rgba(16,22,26,0.2);}.az92cdb:active .ctk2u2p{box-shadow:inset 0 0 0 1px rgba(16,22,26,0.7),inset 0 1px 4px rgba(16,22,26,0.4);background:var(--c-p-2);}
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
|
|
183
82
|
|
|
184
83
|
.r710k81{display:flex;align-items:center;border:none;padding:0px 16px;width:100%;background:transparent;font-size:18px;line-height:inherit;height:52px;flex-grow:0;flex-shrink:0;z-index:1;box-shadow:rgba(55,53,47,0.09) 0px 1px 0px;}:root[data-timvir-theme="dark"] .r710k81{box-shadow:rgba(255,255,255,0.09) 0px 1px 0px;}
|
|
185
84
|
.s1sjvm51{width:18px;height:18px;display:block;fill:var(--timvir-secondary-text-color);flex-shrink:0;backface-visibility:hidden;margin-right:10px;flex-grow:0;}
|
|
File without changes
|