mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 21:05:19 +00:00
chore: bump up @blocksuite/affine version to v0.18.3 (#9019)
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@blocksuite/affine](https://redirect.github.com/toeverything/blocksuite) ([source](https://redirect.github.com/toeverything/blocksuite/tree/HEAD/packages/affine/all), [changelog](https://redirect.github.com/toeverything/blocksuite/blob/master/packages/blocks/CHANGELOG.md)) | [`0.18.1` -> `0.18.3`](https://renovatebot.com/diffs/npm/@blocksuite%2faffine/0.18.1/0.18.3) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>toeverything/blocksuite (@​blocksuite/affine)</summary> ### [`v0.18.3`](https://redirect.github.com/toeverything/blocksuite/blob/HEAD/packages/affine/all/CHANGELOG.md#0183) [Compare Source](https://redirect.github.com/toeverything/blocksuite/compare/v0.18.2...v0.18.3) ##### Patch Changes - [`3448094`](https://redirect.github.com/toeverything/blocksuite/commit/3448094): ## Fix - fix(database): storage should be accessed via globalThis ([#​8863](https://redirect.github.com/toeverything/blocksuite/issues/8863)) - fix(edgeless): memory leak in edgeless widgets ([#​8862](https://redirect.github.com/toeverything/blocksuite/issues/8862)) - fix: page switching under starter route ([#​8860](https://redirect.github.com/toeverything/blocksuite/issues/8860)) ### [`v0.18.2`](https://redirect.github.com/toeverything/blocksuite/blob/HEAD/packages/affine/all/CHANGELOG.md#0182) [Compare Source](https://redirect.github.com/toeverything/blocksuite/compare/v0.18.1...v0.18.2) ##### Patch Changes - [`f97c4ab`](https://redirect.github.com/toeverything/blocksuite/commit/f97c4ab): bump </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/toeverything/AFFiNE). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS40Mi40IiwidXBkYXRlZEluVmVyIjoiMzkuNDIuNCIsInRhcmdldEJyYW5jaCI6ImNhbmFyeSIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
import { globalVars } from '@affine/core/mobile/styles/mobile.css';
|
||||
import { type KeyboardToolbarConfig } from '@blocksuite/affine/blocks';
|
||||
|
||||
export function createKeyboardToolbarConfig(): Partial<KeyboardToolbarConfig> {
|
||||
@@ -6,6 +5,5 @@ export function createKeyboardToolbarConfig(): Partial<KeyboardToolbarConfig> {
|
||||
// TODO(@L-Sun): check android following the PR
|
||||
// https://github.com/toeverything/blocksuite/pull/8645
|
||||
useScreenHeight: BUILD_CONFIG.isIOS,
|
||||
safeBottomPadding: BUILD_CONFIG.isIOS ? globalVars.appTabHeight : '0px',
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import type { AffineTextAttributes } from '@blocksuite/affine/blocks';
|
||||
import type { DeltaInsert } from '@blocksuite/affine/inline';
|
||||
import type { DocCollection } from '@blocksuite/affine/store';
|
||||
import type { AffineTextAttributes } from '@blocksuite/affine-shared/types';
|
||||
import { useCallback } from 'react';
|
||||
|
||||
export function useReferenceLinkHelper(docCollection: DocCollection) {
|
||||
|
||||
@@ -21,6 +21,12 @@ globalStyle('body', {
|
||||
globalStyle('body:has(#app-tabs)', {
|
||||
paddingBottom: `calc(${globalVars.appTabHeight} + env(safe-area-inset-bottom))`,
|
||||
});
|
||||
globalStyle('body:has(#app-tabs) affine-keyboard-toolbar[data-shrink="true"]', {
|
||||
paddingBottom: `calc(${globalVars.appTabHeight} + env(safe-area-inset-bottom))`,
|
||||
});
|
||||
globalStyle('body:has(#app-tabs) affine-keyboard-tool-panel', {
|
||||
paddingBottom: `calc(${globalVars.appTabHeight} + env(safe-area-inset-bottom) + 8px)`,
|
||||
});
|
||||
globalStyle('html', {
|
||||
height: '100dvh',
|
||||
overflowY: 'auto',
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import type {
|
||||
AffineTextAttributes,
|
||||
AttachmentBlockModel,
|
||||
BookmarkBlockModel,
|
||||
EmbedBlockModel,
|
||||
@@ -14,6 +13,7 @@ import {
|
||||
type JobMiddleware,
|
||||
type YBlock,
|
||||
} from '@blocksuite/affine/store';
|
||||
import type { AffineTextAttributes } from '@blocksuite/affine-shared/types';
|
||||
import type { DeltaInsert } from '@blocksuite/inline';
|
||||
import { Document, getAFFiNEWorkspaceSchema } from '@toeverything/infra';
|
||||
import { toHexString } from 'lib0/buffer.js';
|
||||
|
||||
Reference in New Issue
Block a user