highsoft-ui 1.0.139 → 1.0.141
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/README.md +56 -3
- package/dist/{Button-Dc8NFRWQ.js → Button-awCDIEXQ.js} +1 -1
- package/dist/{ButtonGroup-CYmrw7gQ.js → ButtonGroup-Cwn0djAz.js} +1 -1
- package/dist/{Checkbox-CErz7eBz.js → Checkbox-CrF45NBl.js} +1 -1
- package/dist/CodeBlock-BIdeK3gz.js +241 -0
- package/dist/{CookiePolicyModal-DdXZ2d36.js → CookiePolicyModal-CTA02JGV.js} +2 -2
- package/dist/{CopyCode-DH9Jh7PD.js → CopyCode-QiPNPCQN.js} +3 -3
- package/dist/{Dropdown-DbXr3sb-.js → Dropdown-0Vn7yro7.js} +1 -1
- package/dist/{Footer-DtFs2Sgb.js → Footer-BlCmsIDd.js} +9 -9
- package/dist/{FooterBottom-Dtttgp4F.js → FooterBottom-CF5ctutk.js} +1 -1
- package/dist/{FooterHelp-COjjt6h7.js → FooterHelp-BthIJ2ye.js} +1 -1
- package/dist/{FooterLinks-DZ0uH7HO.js → FooterLinks-BBOOTdRf.js} +2 -2
- package/dist/{Header-C7MCiwiz.js → Header-DY4mJxHm.js} +26 -26
- package/dist/{InputGrouped-CIokpRn5.js → InputGrouped-DyxraUpb.js} +12 -12
- package/dist/InputSolo-DUdKtZjX.js +126 -0
- package/dist/{Label-BM4vL0vA.js → Label-DdXaM1Bo.js} +1 -1
- package/dist/{Logo-DTfFHBgU.js → Logo-Bz0G2G-k.js} +69 -92
- package/dist/{NewsletterSignup-Dw9YbhEh.js → NewsletterSignup-BMRnrbw8.js} +5 -5
- package/dist/{Notification-BgmhEw6w.js → Notification-DM31Uzfz.js} +3 -3
- package/dist/{PrefPanel-BG4jW8wc.js → PrefPanel-DDD8R_-o.js} +5 -5
- package/dist/{RoadmapDetails-DXxJNZh9.js → RoadmapDetails-DsLtsnqg.js} +6 -6
- package/dist/{Search-CpJ2XTLG.js → Search-CDOpNByw.js} +12 -12
- package/dist/SearchDropdown-D65lySm_.js +176 -0
- package/dist/{YoutubeModal-DGj2INF0.js → YoutubeModal-CZgbaRB6.js} +1 -1
- package/dist/bash-kQhoNpCD.js +181 -0
- package/dist/components/Button/index.js +1 -1
- package/dist/components/ButtonGroup/index.js +1 -1
- package/dist/components/Checkbox/index.js +1 -1
- package/dist/components/CodeBlock/index.js +1 -1
- package/dist/components/CopyCode/index.js +1 -1
- package/dist/components/Dropdown/index.js +1 -1
- package/dist/components/Footer/CookiePolicyModal.js +1 -1
- package/dist/components/Footer/FooterBottom.js +1 -1
- package/dist/components/Footer/FooterHelp.js +1 -1
- package/dist/components/Footer/FooterLinks.js +1 -1
- package/dist/components/Footer/YoutubeModal.js +1 -1
- package/dist/components/Footer/index.js +1 -1
- package/dist/components/Header/index.js +1 -1
- package/dist/components/InputGrouped/index.js +1 -1
- package/dist/components/InputSolo/index.js +1 -1
- package/dist/components/Label/index.js +1 -1
- package/dist/components/Logo/index.js +1 -1
- package/dist/components/Modal/ModalContactFooter.js +2 -2
- package/dist/components/Modal/index.js +2 -2
- package/dist/components/NewsletterSignup/index.js +1 -1
- package/dist/components/Notification/index.js +1 -1
- package/dist/components/PrefPanel/index.js +1 -1
- package/dist/components/RoadmapDetails/index.js +1 -1
- package/dist/components/Search/index.js +1 -1
- package/dist/components/SearchDropdown/index.js +2 -0
- package/dist/create-element-CWTzyETe.js +217 -0
- package/dist/css-FhcewZZo.js +61 -0
- package/dist/{esm-CDDjSK4f.js → esm-VMwHsplm.js} +26 -12
- package/dist/highsoft-ui.css +1 -1
- 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/lib/components/InputSolo/index.d.ts +11 -0
- package/dist/lib/components/Logo/index.d.ts +6 -1
- package/dist/lib/components/SearchDropdown/index.d.ts +69 -0
- package/dist/lib/main.d.ts +3 -1
- package/dist/main.js +29 -28
- package/dist/markup-BC51nDBv.js +5 -0
- package/dist/markup-BhBs-nbv.js +128 -0
- package/dist/prism-light-B3yrtgki.js +1954 -0
- package/dist/python-Bt2XI9DF.js +66 -0
- package/dist/tsx-CJFgwLf7.js +54 -0
- package/package.json +13 -2
- package/dist/CodeBlock-DtYddgyU.js +0 -3044
- package/dist/InputSolo-2RPRX0wM.js +0 -123
|
@@ -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 };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "highsoft-ui",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.141",
|
|
4
4
|
"description": "Highsoft UI",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|
|
@@ -35,14 +35,21 @@
|
|
|
35
35
|
"claude"
|
|
36
36
|
],
|
|
37
37
|
"scripts": {
|
|
38
|
-
"
|
|
38
|
+
"generate:api": "node scripts/extract-component-api.mjs",
|
|
39
|
+
"predev": "node scripts/extract-component-api.mjs",
|
|
40
|
+
"dev": "astro dev",
|
|
39
41
|
"build": "tsc -p ./tsconfig.build.json && vite build",
|
|
42
|
+
"build:app": "astro build",
|
|
43
|
+
"preview:app": "astro preview --port 4180",
|
|
44
|
+
"sync:storybook": "node scripts/sync-storybook-index.mjs",
|
|
45
|
+
"test": "node --test",
|
|
40
46
|
"lint": "eslint . --report-unused-disable-directives --max-warnings 0",
|
|
41
47
|
"preview": "vite preview",
|
|
42
48
|
"storybook": "storybook dev -p 6006",
|
|
43
49
|
"build-storybook": "storybook build",
|
|
44
50
|
"prettier": "npx prettier . --write",
|
|
45
51
|
"prettier-ci": "npx prettier . --check",
|
|
52
|
+
"prebuild:app": "node scripts/extract-component-api.mjs",
|
|
46
53
|
"icons": "node scripts/convert-product-icons.cjs",
|
|
47
54
|
"icons:frameworks": "node scripts/convert-framework-icons.cjs",
|
|
48
55
|
"stylelint": "npx stylelint '**/*.css'",
|
|
@@ -63,14 +70,18 @@
|
|
|
63
70
|
"author": "",
|
|
64
71
|
"license": "ISC",
|
|
65
72
|
"dependencies": {
|
|
73
|
+
"@astrojs/react": "^6.0.0",
|
|
74
|
+
"@paper-design/shaders-react": "^0.0.76",
|
|
66
75
|
"@untitled-ui/icons-react": "^0.1.4",
|
|
67
76
|
"addsearch-js-client": "^1.2.1",
|
|
77
|
+
"astro": "^7.0.0",
|
|
68
78
|
"clsx": "^2.1.0",
|
|
69
79
|
"highsoft-design-tokens": "^2.10.0",
|
|
70
80
|
"modern-normalize": "^3.0.1",
|
|
71
81
|
"next-themes": "^0.4.6",
|
|
72
82
|
"radix-ui": "^1.4.1",
|
|
73
83
|
"react-icons": "^5.5.0",
|
|
84
|
+
"react-router-dom": "^7.18.0",
|
|
74
85
|
"react-syntax-highlighter": "^16.1.1"
|
|
75
86
|
},
|
|
76
87
|
"devDependencies": {
|