Skip to content

Commit acb4c34

Browse files
authored
feat(ui): use FunctionSignature component (#637)
* feat(ui): use FunctionSignature component * tests * fixup! * fixup! * fixup! * fixup!
1 parent 439cfad commit acb4c34

File tree

14 files changed

+1582
-454
lines changed

14 files changed

+1582
-454
lines changed

npm-shrinkwrap.json

Lines changed: 344 additions & 84 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
"@heroicons/react": "^2.2.0",
4646
"@minify-html/wasm": "^0.18.1",
4747
"@node-core/rehype-shiki": "^1.4.1",
48-
"@node-core/ui-components": "^1.6.0",
48+
"@node-core/ui-components": "^1.6.1",
4949
"@orama/orama": "^3.1.18",
5050
"@orama/ui": "^1.5.4",
5151
"@rollup/plugin-virtual": "^3.0.2",

src/generators/jsx-ast/constants.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,8 +161,8 @@ export const TYPES_WITH_METHOD_SIGNATURES = [
161161
'classMethod',
162162
];
163163

164-
// Regex to trim leading whitespace and colons from strings
165-
export const TRIMMABLE_PADDING_REGEX = /^[\s:]+/;
164+
// Regex to trim leading whitespace, colons, and hyphens from strings
165+
export const TRIMMABLE_PADDING_REGEX = /^[\s:-]+/;
166166

167167
// Patterns to map deprecation "Type" text to AlertBox levels.
168168
// Order matters: first match wins.

src/generators/jsx-ast/utils/__tests__/buildPropertyTable.test.mjs

Lines changed: 0 additions & 114 deletions
This file was deleted.

src/generators/jsx-ast/utils/__tests__/buildSignature.test.mjs

Lines changed: 0 additions & 45 deletions
This file was deleted.

0 commit comments

Comments
 (0)