highsoft-ui 1.0.138 → 1.0.140
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/CodeBlock-BreFXfK5.js +241 -0
- package/dist/{Footer-CcrBEAxZ.js → Footer-DtFs2Sgb.js} +2 -2
- package/dist/{FooterHelp-CfoW8dhY.js → FooterHelp-COjjt6h7.js} +1 -1
- package/dist/{FooterLinks-CSAfsyJP.js → FooterLinks-DZ0uH7HO.js} +2 -2
- package/dist/{Header-Ga_hYsOa.js → Header-C7MCiwiz.js} +2 -2
- package/dist/bash-kQhoNpCD.js +181 -0
- package/dist/components/CodeBlock/index.js +1 -1
- package/dist/components/Footer/FooterHelp.js +1 -1
- package/dist/components/Footer/FooterLinks.js +1 -1
- package/dist/components/Footer/index.js +1 -1
- package/dist/components/Header/index.js +1 -1
- package/dist/create-element-B4K6TXvP.js +217 -0
- package/dist/css-FhcewZZo.js +61 -0
- package/dist/json-Bfzk2Msc.js +32 -0
- package/dist/jsx-B57trbk8.js +5 -0
- package/dist/jsx-hpSEtOci.js +182 -0
- package/dist/lib/components/CodeBlock/index.d.ts +7 -1
- package/dist/main.js +5 -5
- package/dist/markup-BC51nDBv.js +5 -0
- package/dist/markup-BhBs-nbv.js +128 -0
- package/dist/prism-light-hml_uDoc.js +1954 -0
- package/dist/python-Bt2XI9DF.js +66 -0
- package/dist/tsx-CJFgwLf7.js +54 -0
- package/package.json +1 -1
- package/dist/CodeBlock-DtYddgyU.js +0 -3044
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
e.displayName = "python", e.aliases = ["py"];
|
|
2
|
+
function e(e) {
|
|
3
|
+
e.languages.python = {
|
|
4
|
+
comment: {
|
|
5
|
+
pattern: /(^|[^\\])#.*/,
|
|
6
|
+
lookbehind: !0,
|
|
7
|
+
greedy: !0
|
|
8
|
+
},
|
|
9
|
+
"string-interpolation": {
|
|
10
|
+
pattern: /(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,
|
|
11
|
+
greedy: !0,
|
|
12
|
+
inside: {
|
|
13
|
+
interpolation: {
|
|
14
|
+
pattern: /((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,
|
|
15
|
+
lookbehind: !0,
|
|
16
|
+
inside: {
|
|
17
|
+
"format-spec": {
|
|
18
|
+
pattern: /(:)[^:(){}]+(?=\}$)/,
|
|
19
|
+
lookbehind: !0
|
|
20
|
+
},
|
|
21
|
+
"conversion-option": {
|
|
22
|
+
pattern: //,
|
|
23
|
+
alias: "punctuation"
|
|
24
|
+
},
|
|
25
|
+
rest: null
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
string: /[\s\S]+/
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
"triple-quoted-string": {
|
|
32
|
+
pattern: /(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,
|
|
33
|
+
greedy: !0,
|
|
34
|
+
alias: "string"
|
|
35
|
+
},
|
|
36
|
+
string: {
|
|
37
|
+
pattern: /(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,
|
|
38
|
+
greedy: !0
|
|
39
|
+
},
|
|
40
|
+
function: {
|
|
41
|
+
pattern: /((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,
|
|
42
|
+
lookbehind: !0
|
|
43
|
+
},
|
|
44
|
+
"class-name": {
|
|
45
|
+
pattern: /(\bclass\s+)\w+/i,
|
|
46
|
+
lookbehind: !0
|
|
47
|
+
},
|
|
48
|
+
decorator: {
|
|
49
|
+
pattern: /(^[\t ]*)@\w+(?:\.\w+)*/m,
|
|
50
|
+
lookbehind: !0,
|
|
51
|
+
alias: ["annotation", "punctuation"],
|
|
52
|
+
inside: { punctuation: /\./ }
|
|
53
|
+
},
|
|
54
|
+
keyword: /\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,
|
|
55
|
+
builtin: /\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,
|
|
56
|
+
boolean: /\b(?:False|None|True)\b/,
|
|
57
|
+
number: /\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,
|
|
58
|
+
operator: /[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,
|
|
59
|
+
punctuation: /[{}[\];(),.:]/
|
|
60
|
+
}, e.languages.python["string-interpolation"].inside.interpolation.inside.rest = e.languages.python, e.languages.py = e.languages.python;
|
|
61
|
+
}
|
|
62
|
+
//#endregion
|
|
63
|
+
//#region node_modules/react-syntax-highlighter/dist/esm/languages/prism/python.js
|
|
64
|
+
var t = e;
|
|
65
|
+
//#endregion
|
|
66
|
+
export { t as default };
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { n as e, t } from "./jsx-hpSEtOci.js";
|
|
2
|
+
n.displayName = "typescript", n.aliases = ["ts"];
|
|
3
|
+
function n(t) {
|
|
4
|
+
t.register(e), (function(e) {
|
|
5
|
+
e.languages.typescript = e.languages.extend("javascript", {
|
|
6
|
+
"class-name": {
|
|
7
|
+
pattern: /(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,
|
|
8
|
+
lookbehind: !0,
|
|
9
|
+
greedy: !0,
|
|
10
|
+
inside: null
|
|
11
|
+
},
|
|
12
|
+
builtin: /\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/
|
|
13
|
+
}), e.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/, /\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/, /\btype\b(?=\s*(?:[\{*]|$))/), delete e.languages.typescript.parameter, delete e.languages.typescript["literal-property"];
|
|
14
|
+
var t = e.languages.extend("typescript", {});
|
|
15
|
+
delete t["class-name"], e.languages.typescript["class-name"].inside = t, e.languages.insertBefore("typescript", "function", {
|
|
16
|
+
decorator: {
|
|
17
|
+
pattern: /@[$\w\xA0-\uFFFF]+/,
|
|
18
|
+
inside: {
|
|
19
|
+
at: {
|
|
20
|
+
pattern: /^@/,
|
|
21
|
+
alias: "operator"
|
|
22
|
+
},
|
|
23
|
+
function: /^[\s\S]+/
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"generic-function": {
|
|
27
|
+
pattern: /#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,
|
|
28
|
+
greedy: !0,
|
|
29
|
+
inside: {
|
|
30
|
+
function: /^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,
|
|
31
|
+
generic: {
|
|
32
|
+
pattern: /<[\s\S]+/,
|
|
33
|
+
alias: "class-name",
|
|
34
|
+
inside: t
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}), e.languages.ts = e.languages.typescript;
|
|
39
|
+
})(t);
|
|
40
|
+
}
|
|
41
|
+
r.displayName = "tsx", r.aliases = [];
|
|
42
|
+
function r(e) {
|
|
43
|
+
e.register(t), e.register(n), (function(e) {
|
|
44
|
+
var t = e.util.clone(e.languages.typescript);
|
|
45
|
+
e.languages.tsx = e.languages.extend("jsx", t), delete e.languages.tsx.parameter, delete e.languages.tsx["literal-property"];
|
|
46
|
+
var n = e.languages.tsx.tag;
|
|
47
|
+
n.pattern = RegExp("(^|[^\\w$]|(?=<\\/))(?:" + n.pattern.source + ")", n.pattern.flags), n.lookbehind = !0;
|
|
48
|
+
})(e);
|
|
49
|
+
}
|
|
50
|
+
//#endregion
|
|
51
|
+
//#region node_modules/react-syntax-highlighter/dist/esm/languages/prism/tsx.js
|
|
52
|
+
var i = r;
|
|
53
|
+
//#endregion
|
|
54
|
+
export { i as default };
|