Skip to content

Commit df23b28

Browse files
committed
feat: add auto-resize
1 parent ffab6b2 commit df23b28

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"@fortawesome/free-regular-svg-icons": "6.2.0",
2020
"@fortawesome/free-solid-svg-icons": "6.2.0",
2121
"@fortawesome/react-fontawesome": "latest",
22-
"@graasp/apps-query-client": "github:graasp/graasp-apps-query-client",
22+
"@graasp/apps-query-client": "github:graasp/graasp-apps-query-client#61-auto-resize",
2323
"@graasp/pyodide": "github:spaenleh/graasp-pyodide",
2424
"@graasp/sdk": "github:graasp/graasp-sdk",
2525
"@graasp/ui": "github:graasp/graasp-ui#v0.3.0",

src/components/Root.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ const Root: FC = () => {
7575
const AppWithContextAndToken = withContext(AppWithContext, {
7676
LoadingComponent: <Loader />,
7777
useGetLocalContext: hooks.useGetLocalContext,
78+
useAutoResize: hooks.useAutoResize,
7879
onError:
7980
/* istanbul ignore next */
8081
() => {

src/components/layout/MiniButton.cy.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ describe('MiniButton.cy.ts', () => {
2929
id={testId}
3030
text={testText}
3131
icon={<Edit />}
32-
// eslint-disable-next-line no-console
3332
tooltip="Test button"
33+
// eslint-disable-next-line no-console
3434
onClick={() => console.log('clicked')}
3535
/>,
3636
);

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2576,9 +2576,9 @@ __metadata:
25762576
languageName: node
25772577
linkType: hard
25782578

2579-
"@graasp/apps-query-client@github:graasp/graasp-apps-query-client":
2579+
"@graasp/apps-query-client@github:graasp/graasp-apps-query-client#61-auto-resize":
25802580
version: 0.3.0
2581-
resolution: "@graasp/apps-query-client@https://github.com/graasp/graasp-apps-query-client.git#commit=7cfe3921e501590830897070ad42c14b5c5d4100"
2581+
resolution: "@graasp/apps-query-client@https://github.com/graasp/graasp-apps-query-client.git#commit=dc372ee36bcfce71ebd1bfa238d65f81115b7cd0"
25822582
dependencies:
25832583
"@graasp/sdk": "github:graasp/graasp-sdk"
25842584
axios: 0.27.2
@@ -2592,7 +2592,7 @@ __metadata:
25922592
uuid: 8.3.2
25932593
peerDependencies:
25942594
react: ^17.0.0 || ^18.0.0
2595-
checksum: ff89a19d9b2f252d49deed23cd9f3279609da9c2aafc0b166302c666dee982d9c5e05cbaa3bc5e8dff68e382f569079bc251da6551110c9a6a9ecdb644fb3a47
2595+
checksum: 9dde129d0b9b5bd20e8c208e0197cc24f0e32cc62743eb5c328ee32ac4a9b6be0758ddf13d14a0f8433743c8bef601233ae4066f8eb22572809c7540d6a32cfe
25962596
languageName: node
25972597
linkType: hard
25982598

@@ -10185,7 +10185,7 @@ __metadata:
1018510185
"@fortawesome/free-regular-svg-icons": 6.2.0
1018610186
"@fortawesome/free-solid-svg-icons": 6.2.0
1018710187
"@fortawesome/react-fontawesome": latest
10188-
"@graasp/apps-query-client": "github:graasp/graasp-apps-query-client"
10188+
"@graasp/apps-query-client": "github:graasp/graasp-apps-query-client#61-auto-resize"
1018910189
"@graasp/pyodide": "github:spaenleh/graasp-pyodide"
1019010190
"@graasp/sdk": "github:graasp/graasp-sdk"
1019110191
"@graasp/ui": "github:graasp/graasp-ui#v0.3.0"

0 commit comments

Comments
 (0)