@atlaskit/editor-shared-styles 3.6.4 → 3.6.6

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,19 @@
1
1
  # @atlaskit/editor-shared-styles
2
2
 
3
+ ## 3.6.6
4
+
5
+ ### Patch Changes
6
+
7
+ - [`255837cfba315`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/255837cfba315) -
8
+ Internal changes to how border radius is applied.
9
+ - Updated dependencies
10
+
11
+ ## 3.6.5
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies
16
+
3
17
  ## 3.6.4
4
18
 
5
19
  ### Patch Changes
@@ -14,4 +14,4 @@ var _templateObject; // eslint-disable-next-line @atlaskit/ui-styling-standard/u
14
14
  * @deprecated use `import { Shortcut } from '@atlaskit/editor-common/ui';` instead
15
15
  */
16
16
  // eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
17
- var shortcutStyle = exports.shortcutStyle = (0, _react.css)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n\tbackground-color: ", ";\n\tcolor: ", ";\n\tborder-radius: ", ";\n\tpadding: ", ";\n\tline-height: 12px;\n\tfont-size: ", ";\n\talign-self: flex-end;\n\t@media (max-width: ", "px) {\n\t\tdisplay: none;\n\t}\n"])), "var(--ds-background-neutral, #091E420F)", "var(--ds-text-subtle, #44546F)", "var(--ds-border-radius, 3px)", "var(--ds-space-050, 4px)", (0, _consts.relativeFontSizeToBase16)(11.67), _consts.akEditorMobileMaxWidth);
17
+ var shortcutStyle = exports.shortcutStyle = (0, _react.css)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n\tbackground-color: ", ";\n\tcolor: ", ";\n\tborder-radius: ", ";\n\tpadding: ", ";\n\tline-height: 12px;\n\tfont-size: ", ";\n\talign-self: flex-end;\n\t@media (max-width: ", "px) {\n\t\tdisplay: none;\n\t}\n"])), "var(--ds-background-neutral, #091E420F)", "var(--ds-text-subtle, #44546F)", "var(--ds-radius-small, 3px)", "var(--ds-space-050, 4px)", (0, _consts.relativeFontSizeToBase16)(11.67), _consts.akEditorMobileMaxWidth);
@@ -10,7 +10,7 @@ import { akEditorMobileMaxWidth, relativeFontSizeToBase16 } from '../consts';
10
10
  export const shortcutStyle = css`
11
11
  background-color: ${"var(--ds-background-neutral, #091E420F)"};
12
12
  color: ${"var(--ds-text-subtle, #44546F)"};
13
- border-radius: ${"var(--ds-border-radius, 3px)"};
13
+ border-radius: ${"var(--ds-radius-small, 3px)"};
14
14
  padding: ${"var(--ds-space-050, 4px)"};
15
15
  line-height: 12px;
16
16
  font-size: ${relativeFontSizeToBase16(11.67)};
@@ -9,4 +9,4 @@ import { akEditorMobileMaxWidth, relativeFontSizeToBase16 } from '../consts';
9
9
  * @deprecated use `import { Shortcut } from '@atlaskit/editor-common/ui';` instead
10
10
  */
11
11
  // eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
12
- export var shortcutStyle = css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n\tbackground-color: ", ";\n\tcolor: ", ";\n\tborder-radius: ", ";\n\tpadding: ", ";\n\tline-height: 12px;\n\tfont-size: ", ";\n\talign-self: flex-end;\n\t@media (max-width: ", "px) {\n\t\tdisplay: none;\n\t}\n"])), "var(--ds-background-neutral, #091E420F)", "var(--ds-text-subtle, #44546F)", "var(--ds-border-radius, 3px)", "var(--ds-space-050, 4px)", relativeFontSizeToBase16(11.67), akEditorMobileMaxWidth);
12
+ export var shortcutStyle = css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n\tbackground-color: ", ";\n\tcolor: ", ";\n\tborder-radius: ", ";\n\tpadding: ", ";\n\tline-height: 12px;\n\tfont-size: ", ";\n\talign-self: flex-end;\n\t@media (max-width: ", "px) {\n\t\tdisplay: none;\n\t}\n"])), "var(--ds-background-neutral, #091E420F)", "var(--ds-text-subtle, #44546F)", "var(--ds-radius-small, 3px)", "var(--ds-space-050, 4px)", relativeFontSizeToBase16(11.67), akEditorMobileMaxWidth);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-shared-styles",
3
- "version": "3.6.4",
3
+ "version": "3.6.6",
4
4
  "description": "Style values used in the editor/renderer",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -32,17 +32,10 @@
32
32
  "type": "boolean"
33
33
  }
34
34
  },
35
- "af:exports": {
36
- "./consts": "./src/consts/index.ts",
37
- "./selection": "./src/selection/index.ts",
38
- "./shortcut": "./src/shortcut/index.ts",
39
- "./scrollbar": "./src/scrollbar-styles.ts",
40
- ".": "./src/index.ts"
41
- },
42
35
  "dependencies": {
43
36
  "@atlaskit/platform-feature-flags": "^1.1.0",
44
- "@atlaskit/tmp-editor-statsig": "^11.6.0",
45
- "@atlaskit/tokens": "^6.0.0",
37
+ "@atlaskit/tmp-editor-statsig": "^12.2.0",
38
+ "@atlaskit/tokens": "^6.1.0",
46
39
  "@babel/runtime": "^7.0.0",
47
40
  "@emotion/react": "^11.7.1"
48
41
  },