Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@atlaskit/editor-shared-styles

Package Overview
Dependencies
Maintainers
1
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@atlaskit/editor-shared-styles - npm Package Compare versions

Comparing version 2.13.2 to 2.13.3

8

CHANGELOG.md
# @atlaskit/editor-shared-styles
## 2.13.3
### Patch Changes
- [#131374](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/131374)
[`9ef24a0e887b2`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/9ef24a0e887b2) -
Fix type definitions for `any` type in editor-core.
## 2.13.2

@@ -4,0 +12,0 @@

2

dist/types-ts4.5/consts/consts.d.ts

@@ -96,3 +96,3 @@ import type { EditorTheme } from './types';

baseFontSize?: number;
};
} | undefined;
}) => number;

@@ -99,0 +99,0 @@ export declare const relativeSize: (multiplier: number) => ({ theme }: {

@@ -96,3 +96,3 @@ import type { EditorTheme } from './types';

baseFontSize?: number;
};
} | undefined;
}) => number;

@@ -99,0 +99,0 @@ export declare const relativeSize: (multiplier: number) => ({ theme }: {

{
"name": "@atlaskit/editor-shared-styles",
"version": "2.13.2",
"version": "2.13.3",
"description": "Style values used in the editor/renderer",

@@ -48,3 +48,3 @@ "publishConfig": {

"@atlaskit/theme": "^13.0.0",
"@atlaskit/tokens": "^1.58.0",
"@atlaskit/tokens": "^1.59.0",
"@babel/runtime": "^7.0.0",

@@ -51,0 +51,0 @@ "@emotion/react": "^11.7.1"

@@ -170,3 +170,3 @@ import { fg } from '@atlaskit/platform-feature-flags';

export const editorFontSize = ({ theme }: { theme: { baseFontSize?: number } }) =>
export const editorFontSize = ({ theme }: { theme: { baseFontSize?: number } | undefined }) =>
theme && theme.baseFontSize ? theme.baseFontSize : defaultFontSize();

@@ -173,0 +173,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc