@atlaskit/editor-plugin-placeholder-text 3.1.2 → 3.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # @atlaskit/editor-plugin-placeholder-text
2
2
 
3
+ ## 3.1.4
4
+
5
+ ### Patch Changes
6
+
7
+ - [`2af42ad93c3e0`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/2af42ad93c3e0) -
8
+ Internal changes to use tokens for border radius.
9
+ - Updated dependencies
10
+
11
+ ## 3.1.3
12
+
13
+ ### Patch Changes
14
+
15
+ - [#195649](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/195649)
16
+ [`231bb33e06dfe`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/231bb33e06dfe) -
17
+ EDITOR-1131 Bump adf-schema version to 50.2.0
18
+ - Updated dependencies
19
+
3
20
  ## 3.1.2
4
21
 
5
22
  ### Patch Changes
@@ -6,13 +6,11 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.container = void 0;
7
7
  var _react = require("@emotion/react");
8
8
  var _colors = require("@atlaskit/theme/colors");
9
- var _constants = require("@atlaskit/theme/constants");
10
9
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
11
10
 
12
11
  var container = exports.container = function container(height) {
13
12
  return (0, _react.css)({
14
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
15
- borderRadius: "".concat((0, _constants.borderRadius)(), "px"),
13
+ borderRadius: "var(--ds-border-radius-100, 3px)",
16
14
  boxShadow: "var(--ds-shadow-overlay, ".concat("0 12px 24px -6px ".concat(_colors.N50A, ", 0 0 1px ").concat(_colors.N60A), ")"),
17
15
  display: 'flex',
18
16
  alignItems: 'center',
@@ -1,10 +1,8 @@
1
1
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
2
2
  import { css } from '@emotion/react';
3
3
  import { N0, N50A, N60A } from '@atlaskit/theme/colors';
4
- import { borderRadius } from '@atlaskit/theme/constants';
5
4
  export const container = height => css({
6
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
7
- borderRadius: `${borderRadius()}px`,
5
+ borderRadius: "var(--ds-border-radius-100, 3px)",
8
6
  boxShadow: `var(--ds-shadow-overlay, ${`0 12px 24px -6px ${N50A}, 0 0 1px ${N60A}`})`,
9
7
  display: 'flex',
10
8
  alignItems: 'center',
@@ -1,11 +1,9 @@
1
1
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
2
2
  import { css } from '@emotion/react';
3
3
  import { N0, N50A, N60A } from '@atlaskit/theme/colors';
4
- import { borderRadius } from '@atlaskit/theme/constants';
5
4
  export var container = function container(height) {
6
5
  return css({
7
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
8
- borderRadius: "".concat(borderRadius(), "px"),
6
+ borderRadius: "var(--ds-border-radius-100, 3px)",
9
7
  boxShadow: "var(--ds-shadow-overlay, ".concat("0 12px 24px -6px ".concat(N50A, ", 0 0 1px ").concat(N60A), ")"),
10
8
  display: 'flex',
11
9
  alignItems: 'center',
@@ -11,8 +11,8 @@ export declare const handlePositionCalculatedWith: (offsetParent: HTMLElement, n
11
11
  bottom?: number;
12
12
  right?: number;
13
13
  }) => {
14
- top?: number | undefined;
15
- left?: number | undefined;
16
- bottom?: number | undefined;
17
- right?: number | undefined;
14
+ top?: number;
15
+ left?: number;
16
+ bottom?: number;
17
+ right?: number;
18
18
  };
@@ -11,8 +11,8 @@ export declare const handlePositionCalculatedWith: (offsetParent: HTMLElement, n
11
11
  bottom?: number;
12
12
  right?: number;
13
13
  }) => {
14
- top?: number | undefined;
15
- left?: number | undefined;
16
- bottom?: number | undefined;
17
- right?: number | undefined;
14
+ top?: number;
15
+ left?: number;
16
+ bottom?: number;
17
+ right?: number;
18
18
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-placeholder-text",
3
- "version": "3.1.2",
3
+ "version": "3.1.4",
4
4
  "description": "placeholder text plugin for @atlaskit/editor-core",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -27,19 +27,19 @@
27
27
  }
28
28
  },
29
29
  "dependencies": {
30
- "@atlaskit/adf-schema": "^50.0.1",
30
+ "@atlaskit/adf-schema": "^50.2.0",
31
31
  "@atlaskit/editor-plugin-analytics": "^3.0.0",
32
32
  "@atlaskit/editor-plugin-type-ahead": "^3.1.0",
33
33
  "@atlaskit/editor-prosemirror": "7.0.0",
34
- "@atlaskit/editor-shared-styles": "^3.5.0",
35
- "@atlaskit/icon": "^27.9.0",
34
+ "@atlaskit/editor-shared-styles": "^3.6.0",
35
+ "@atlaskit/icon": "^27.12.0",
36
36
  "@atlaskit/theme": "^19.0.0",
37
37
  "@atlaskit/tokens": "^6.0.0",
38
38
  "@babel/runtime": "^7.0.0",
39
39
  "@emotion/react": "^11.7.1"
40
40
  },
41
41
  "peerDependencies": {
42
- "@atlaskit/editor-common": "^107.16.0",
42
+ "@atlaskit/editor-common": "^107.25.0",
43
43
  "react": "^18.2.0",
44
44
  "react-dom": "^18.2.0",
45
45
  "react-intl-next": "npm:react-intl@^5.18.1"
@@ -51,7 +51,6 @@
51
51
  "@atlaskit/ssr": "workspace:^",
52
52
  "@atlaskit/visual-regression": "workspace:^",
53
53
  "@testing-library/react": "^13.4.0",
54
- "typescript": "~5.4.2",
55
54
  "wait-for-expect": "^1.2.0"
56
55
  },
57
56
  "techstack": {
@@ -8,7 +8,7 @@
8
8
  ],
9
9
  "types": "../dist/types/ui/styles.d.ts",
10
10
  "typesVersions": {
11
- ">=4.5 <5.4": {
11
+ ">=4.5 <5.9": {
12
12
  "*": [
13
13
  "../dist/types-ts4.5/ui/styles.d.ts"
14
14
  ]