Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2024 12 #65

Merged
merged 17 commits into from
Dec 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
085f195
example-app: upgrade monaco editor
alirezamirian Oct 30, 2024
4a5f958
feat(Menu): allow for positioning menu based on a coordinate within v…
alirezamirian Oct 30, 2024
5c8eb05
feat(ActionsMenu): allow for dividers in action group definition
alirezamirian Oct 31, 2024
0bc1cbf
improvement(ContextMenu): disable background scroll when menu is open
alirezamirian Nov 3, 2024
4a9be6b
fix(ActionsMenu): fix props menu props not passed to Menu
alirezamirian Nov 18, 2024
b5e8308
fix(Input): don't stop propagation of keyboard events
alirezamirian Nov 20, 2024
599372d
feat(example-app): add path autocompletion in clone action
alirezamirian Nov 20, 2024
3de14eb
fix(ModalWindow): allow focus to go to overlays opened from within th…
alirezamirian Dec 5, 2024
8215b39
refactor: replace custom useSelectableCollection with a wrapper aroun…
alirezamirian Dec 7, 2024
f50ccab
fix(Tree): fix a regression in keyboard navigation
alirezamirian Dec 7, 2024
3c7ffdf
docs(Tree): fix a keyboard navigation issue in tree stories
alirezamirian Dec 7, 2024
a987a7a
refactor(collections): simplify the API for connecting an input to a …
alirezamirian Dec 8, 2024
0670184
fix a build error
alirezamirian Dec 9, 2024
05b8f53
upgrade @react-aria/selection to prevent a random error in running tests
alirezamirian Dec 9, 2024
c2f1fce
fix: workaround an issue in @react-aria/selection
alirezamirian Dec 12, 2024
c30fdd5
test: working around the failure of a test case in CI env
alirezamirian Dec 12, 2024
b3123b7
test: refactor a menu test case to have it pass on CI env
alirezamirian Dec 12, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"devDependencies": {
"@babel/eslint-parser": "^7.18.9",
"@microsoft/api-extractor": "^7.25.0",
"@parcel/packager-ts": "^2.8.3",
"@parcel/packager-ts": "2.8.3",
"@parcel/transformer-typescript-types": "2.8.3",
"@typescript-eslint/eslint-plugin": "^5.30.7",
"@typescript-eslint/parser": "^5.30.7",
Expand All @@ -34,7 +34,7 @@
"eslint-plugin-no-only-tests": "^3.1.0",
"eslint-plugin-react": "^7.30.1",
"eslint-plugin-react-hooks": "^4.6.0",
"parcel": "^2.8.3",
"parcel": "2.8.3",
"prettier": "^2.8.1",
"typescript": "4.7.4"
},
Expand Down
7 changes: 5 additions & 2 deletions packages/example-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,11 @@
"build": "../../node_modules/.bin/parcel build"
},
"source": "src/index.html",
"//alias": "Nested imports from @intellij-platform/core/* are not a part of public API and are listed individually here, until it's clearer if they should be a part of the public API",
"alias": {
"caf": "caf/dist/esm/index.mjs",
"@intellij-platform/core/utils/usePrevious": "@intellij-platform/core/src/utils/usePrevious",
"@intellij-platform/core/Menu/StyledMenu": "@intellij-platform/core/src/Menu/StyledMenu",
"@intellij-platform/core/utils/tree-utils": "@intellij-platform/core/src/utils/tree-utils",
"@intellij-platform/core/utils/array-utils": "@intellij-platform/core/src/utils/array-utils",
"@intellij-platform/core/utils/useEventCallback": "@intellij-platform/core/src/utils/useEventCallback",
Expand All @@ -23,7 +26,7 @@
"dependencies": {
"@intellij-platform/core": "workspace:^",
"@isomorphic-git/lightning-fs": "^4.6.0",
"@monaco-editor/react": "^4.2.2",
"@monaco-editor/react": "^4.6.0",
"@recoiljs/refine": "^0.1.1",
"browserfs": "^2.0.0",
"caf": "^15.0.0-preB",
Expand All @@ -32,7 +35,7 @@
"fast-xml-parser": "^4.2.7",
"intl-messageformat": "^9.11.2",
"isomorphic-git": "^1.24.3",
"monaco-editor": "^0.28.1",
"monaco-editor": "^0.52.0",
"pify": "^5.0.0",
"ramda": "^0.27.1",
"react": "17",
Expand Down
42 changes: 23 additions & 19 deletions packages/example-app/src/Editor/Editor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,25 +30,29 @@ export const Editor = (props: Omit<EditorProps, "theme">) => {
return (
<StyledEditor
{...props}
options={{
minimap: { enabled: false },
lineHeight: 22,
showFoldingControls: "always",
renderIndentGuides: true,
overviewRulerBorder: false,
fontFamily: "JetBrains Mono",
fontSize,
scrollbar: {
verticalScrollbarSize: 14,
horizontalScrollbarSize: 8,
verticalSliderSize: 8,
horizontalSliderSize: 8,
horizontal: "auto",
vertical: "visible",
alwaysConsumeMouseWheel: false, // to let example-app be rendered as a part of a page.
},
...props.options,
}}
options={
{
minimap: { enabled: false },
lineHeight: 22,
showFoldingControls: "always",
guides: {
indentation: true,
},
overviewRulerBorder: false,
fontFamily: "JetBrains Mono",
fontSize,
scrollbar: {
verticalScrollbarSize: 14,
horizontalScrollbarSize: 8,
verticalSliderSize: 8,
horizontalSliderSize: 8,
horizontal: "auto",
vertical: "visible",
alwaysConsumeMouseWheel: false, // to let example-app be rendered as a part of a page.
},
...props.options,
} as EditorProps["options"]
}
theme={editorTheme as any} // FIXME
/>
);
Expand Down
Loading
Loading