@atlaskit/editor-slack-transformer 4.1.3 → 4.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,12 @@
1
1
  # @atlaskit/editor-slack-transformer
2
2
 
3
+ ## 4.1.4
4
+
5
+ ### Patch Changes
6
+
7
+ - [`0f4a08b633f6e`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/0f4a08b633f6e) -
8
+ Internal changes to remove unnecessary token fallbacks and imports from `@atlaskit/theme`
9
+
3
10
  ## 4.1.3
4
11
 
5
12
  ### Patch Changes
@@ -101,7 +101,7 @@ export default function ToolsDrawer({ renderEditor }: Props) {
101
101
  return (
102
102
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
103
103
  <div css={content}>
104
- <div style={{ padding: `${token('space.075', '6px')} 0` }}>️️️Slack Editor</div>
104
+ <div style={{ padding: `${token('space.075')} 0` }}>️️️Slack Editor</div>
105
105
  {reloadEditor
106
106
  ? ''
107
107
  : renderEditor({
@@ -1,29 +1,28 @@
1
1
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
2
2
  import { css, type SerializedStyles } from '@emotion/react';
3
3
  import { token } from '@atlaskit/tokens';
4
- import { N800 } from '@atlaskit/theme/colors';
5
4
 
6
5
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
7
6
  export const content: SerializedStyles = css({
8
7
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
9
8
  '& div.toolsDrawer': {
10
- padding: `${token('space.100', '8px')} ${token('space.200', '16px')}`,
11
- background: token('color.background.neutral.bold', N800),
9
+ padding: `${token('space.100')} ${token('space.200')}`,
10
+ background: token('color.background.neutral.bold'),
12
11
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
13
12
  '& label': {
14
13
  display: 'flex',
15
- color: token('color.text.inverse', 'white'),
14
+ color: token('color.text.inverse'),
16
15
  alignSelf: 'center',
17
- paddingRight: token('space.100', '8px'),
16
+ paddingRight: token('space.100'),
18
17
  },
19
18
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
20
19
  '& button': {
21
- margin: `${token('space.050', '4px')} 0`,
20
+ margin: `${token('space.050')} 0`,
22
21
  },
23
22
  },
24
23
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
25
24
  '& legend': {
26
- margin: `${token('space.100', '8px')} 0`,
25
+ margin: `${token('space.100')} 0`,
27
26
  },
28
27
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
29
28
  '& input': {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-slack-transformer",
3
- "version": "4.1.3",
3
+ "version": "4.1.4",
4
4
  "description": "Editor Slack transformer",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -37,12 +37,12 @@
37
37
  },
38
38
  "devDependencies": {
39
39
  "@atlaskit/activity": "^1.0.1",
40
- "@atlaskit/editor-core": "^216.9.0",
40
+ "@atlaskit/editor-core": "^217.5.0",
41
41
  "@atlaskit/editor-test-helpers": "workspace:^",
42
42
  "@atlaskit/emoji": "^69.10.0",
43
- "@atlaskit/mention": "^24.4.0",
44
- "@atlaskit/theme": "^21.0.0",
45
- "@atlaskit/tokens": "^11.0.0",
43
+ "@atlaskit/mention": "^24.6.0",
44
+ "@atlaskit/theme": "^22.0.0",
45
+ "@atlaskit/tokens": "^11.1.0",
46
46
  "@atlaskit/util-data-test": "^18.5.0",
47
47
  "@emotion/react": "^11.7.1"
48
48
  }