@atlaskit/editor-common 110.24.2 → 110.24.3
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 +8 -0
- package/dist/cjs/element-browser/components/CategoryList.js +2 -2
- package/dist/cjs/element-browser/components/ElementList/ElementList.js +4 -4
- package/dist/cjs/element-browser/components/ElementSearch.js +1 -1
- package/dist/cjs/extensibility/Extension/Extension/index.js +1 -1
- package/dist/cjs/extensibility/Extension/Extension/styles.js +4 -4
- package/dist/cjs/extensibility/Extension/InlineExtension/index.js +1 -1
- package/dist/cjs/extensibility/Extension/InlineExtension/styles.js +1 -1
- package/dist/cjs/extensibility/Extension/LegacyContentHeader/index.js +3 -3
- package/dist/cjs/extensibility/Extension/Lozenge/EditToggle.js +5 -5
- package/dist/cjs/extensibility/Extension/Lozenge/ExtensionLabel.js +4 -4
- package/dist/cjs/extensibility/Extension/styles.js +3 -3
- package/dist/cjs/extensibility/ExtensionNodeWrapper.js +3 -3
- package/dist/cjs/extensibility/MultiBodiedExtension/index.js +1 -1
- package/dist/cjs/extensibility/MultiBodiedExtension/styles.js +2 -2
- package/dist/cjs/floating-toolbar/DropdownMenuItem.js +1 -1
- package/dist/cjs/floating-toolbar/DropdownSeparator.js +1 -1
- package/dist/cjs/icons/shared/DynamicStrokeIconDecoration.js +1 -1
- package/dist/cjs/icons/shared/SteppedRainbowIconDecoration.js +2 -2
- package/dist/cjs/link/ConfigureLinkOverlay/StyledButton.js +4 -4
- package/dist/cjs/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.js +3 -3
- package/dist/cjs/link/LinkSearch/LinkSearchList.js +1 -1
- package/dist/cjs/link/LinkSearch/LinkSearchListItem.js +3 -3
- package/dist/cjs/media-inline/styles.js +1 -1
- package/dist/cjs/media-inline/views/wrapper.js +3 -3
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/quick-insert/assets/panel-note.js +4 -4
- package/dist/cjs/quick-insert/assets/panel-success.js +2 -2
- package/dist/cjs/quick-insert/assets/panel-warning.js +4 -4
- package/dist/cjs/quick-insert/assets/panel.js +4 -4
- package/dist/cjs/styles/shared/headings.js +6 -6
- package/dist/cjs/styles/shared/plugins.js +1 -1
- package/dist/cjs/styles/shared/resizer.js +1 -1
- package/dist/cjs/table/SortingIcon.js +1 -1
- package/dist/cjs/ui/Caption/index.js +1 -1
- package/dist/cjs/ui/DropList/index.js +3 -3
- package/dist/cjs/ui/Expand/index.js +2 -2
- package/dist/cjs/ui/FloatingToolbar/Separator.js +2 -2
- package/dist/cjs/ui/FloatingToolbar/styles.js +10 -10
- package/dist/cjs/ui/Messages/index.js +2 -2
- package/dist/cjs/ui/PanelTextInput/styles.js +5 -5
- package/dist/cjs/ui/Shortcut/index.compiled.css +2 -2
- package/dist/cjs/ui/Shortcut/index.js +1 -1
- package/dist/cjs/ui/Toolbar/Separator.compiled.css +1 -1
- package/dist/cjs/ui/Toolbar/Separator.js +1 -1
- package/dist/cjs/ui/UnsupportedBlock/index.js +2 -2
- package/dist/cjs/ui/UnsupportedInline/index.js +2 -2
- package/dist/cjs/ui-color/ColorPalette/Color/styles.js +2 -2
- package/dist/cjs/ui-color/ColorPalette/index.js +1 -1
- package/dist/cjs/ui-menu/ColorPickerButton/index.js +3 -3
- package/dist/cjs/ui-menu/DropdownMenu/index.js +2 -2
- package/dist/cjs/utils/processRawValue.js +7 -0
- package/dist/es2019/element-browser/components/CategoryList.js +2 -2
- package/dist/es2019/element-browser/components/ElementList/ElementList.js +4 -4
- package/dist/es2019/element-browser/components/ElementSearch.js +1 -1
- package/dist/es2019/extensibility/Extension/Extension/index.js +1 -1
- package/dist/es2019/extensibility/Extension/Extension/styles.js +4 -4
- package/dist/es2019/extensibility/Extension/InlineExtension/index.js +1 -1
- package/dist/es2019/extensibility/Extension/InlineExtension/styles.js +1 -1
- package/dist/es2019/extensibility/Extension/LegacyContentHeader/index.js +3 -3
- package/dist/es2019/extensibility/Extension/Lozenge/EditToggle.js +5 -5
- package/dist/es2019/extensibility/Extension/Lozenge/ExtensionLabel.js +4 -4
- package/dist/es2019/extensibility/Extension/styles.js +3 -3
- package/dist/es2019/extensibility/ExtensionNodeWrapper.js +3 -3
- package/dist/es2019/extensibility/MultiBodiedExtension/index.js +1 -1
- package/dist/es2019/extensibility/MultiBodiedExtension/styles.js +2 -2
- package/dist/es2019/floating-toolbar/DropdownMenuItem.js +1 -1
- package/dist/es2019/floating-toolbar/DropdownSeparator.js +1 -1
- package/dist/es2019/icons/shared/DynamicStrokeIconDecoration.js +1 -1
- package/dist/es2019/icons/shared/SteppedRainbowIconDecoration.js +2 -2
- package/dist/es2019/link/ConfigureLinkOverlay/StyledButton.js +4 -4
- package/dist/es2019/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.js +3 -3
- package/dist/es2019/link/LinkSearch/LinkSearchList.js +1 -1
- package/dist/es2019/link/LinkSearch/LinkSearchListItem.js +3 -3
- package/dist/es2019/media-inline/styles.js +1 -1
- package/dist/es2019/media-inline/views/wrapper.js +3 -3
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/quick-insert/assets/panel-note.js +4 -4
- package/dist/es2019/quick-insert/assets/panel-success.js +2 -2
- package/dist/es2019/quick-insert/assets/panel-warning.js +4 -4
- package/dist/es2019/quick-insert/assets/panel.js +4 -4
- package/dist/es2019/styles/shared/headings.js +6 -6
- package/dist/es2019/styles/shared/plugins.js +1 -1
- package/dist/es2019/styles/shared/resizer.js +6 -6
- package/dist/es2019/table/SortingIcon.js +1 -1
- package/dist/es2019/ui/Caption/index.js +1 -1
- package/dist/es2019/ui/DropList/index.js +3 -3
- package/dist/es2019/ui/Expand/index.js +2 -2
- package/dist/es2019/ui/FloatingToolbar/Separator.js +2 -2
- package/dist/es2019/ui/FloatingToolbar/styles.js +10 -10
- package/dist/es2019/ui/Messages/index.js +2 -2
- package/dist/es2019/ui/PanelTextInput/styles.js +5 -5
- package/dist/es2019/ui/Shortcut/index.compiled.css +2 -2
- package/dist/es2019/ui/Shortcut/index.js +1 -1
- package/dist/es2019/ui/Toolbar/Separator.compiled.css +1 -1
- package/dist/es2019/ui/Toolbar/Separator.js +1 -1
- package/dist/es2019/ui/UnsupportedBlock/index.js +2 -2
- package/dist/es2019/ui/UnsupportedInline/index.js +2 -2
- package/dist/es2019/ui-color/ColorPalette/Color/styles.js +2 -2
- package/dist/es2019/ui-color/ColorPalette/index.js +1 -1
- package/dist/es2019/ui-menu/ColorPickerButton/index.js +3 -3
- package/dist/es2019/ui-menu/DropdownMenu/index.js +3 -3
- package/dist/es2019/utils/processRawValue.js +9 -2
- package/dist/esm/element-browser/components/CategoryList.js +2 -2
- package/dist/esm/element-browser/components/ElementList/ElementList.js +4 -4
- package/dist/esm/element-browser/components/ElementSearch.js +1 -1
- package/dist/esm/extensibility/Extension/Extension/index.js +1 -1
- package/dist/esm/extensibility/Extension/Extension/styles.js +4 -4
- package/dist/esm/extensibility/Extension/InlineExtension/index.js +1 -1
- package/dist/esm/extensibility/Extension/InlineExtension/styles.js +1 -1
- package/dist/esm/extensibility/Extension/LegacyContentHeader/index.js +3 -3
- package/dist/esm/extensibility/Extension/Lozenge/EditToggle.js +5 -5
- package/dist/esm/extensibility/Extension/Lozenge/ExtensionLabel.js +4 -4
- package/dist/esm/extensibility/Extension/styles.js +3 -3
- package/dist/esm/extensibility/ExtensionNodeWrapper.js +3 -3
- package/dist/esm/extensibility/MultiBodiedExtension/index.js +1 -1
- package/dist/esm/extensibility/MultiBodiedExtension/styles.js +2 -2
- package/dist/esm/floating-toolbar/DropdownMenuItem.js +1 -1
- package/dist/esm/floating-toolbar/DropdownSeparator.js +1 -1
- package/dist/esm/icons/shared/DynamicStrokeIconDecoration.js +1 -1
- package/dist/esm/icons/shared/SteppedRainbowIconDecoration.js +2 -2
- package/dist/esm/link/ConfigureLinkOverlay/StyledButton.js +4 -4
- package/dist/esm/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.js +3 -3
- package/dist/esm/link/LinkSearch/LinkSearchList.js +1 -1
- package/dist/esm/link/LinkSearch/LinkSearchListItem.js +3 -3
- package/dist/esm/media-inline/styles.js +1 -1
- package/dist/esm/media-inline/views/wrapper.js +3 -3
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/quick-insert/assets/panel-note.js +4 -4
- package/dist/esm/quick-insert/assets/panel-success.js +2 -2
- package/dist/esm/quick-insert/assets/panel-warning.js +4 -4
- package/dist/esm/quick-insert/assets/panel.js +4 -4
- package/dist/esm/styles/shared/headings.js +6 -6
- package/dist/esm/styles/shared/plugins.js +1 -1
- package/dist/esm/styles/shared/resizer.js +1 -1
- package/dist/esm/table/SortingIcon.js +1 -1
- package/dist/esm/ui/Caption/index.js +1 -1
- package/dist/esm/ui/DropList/index.js +3 -3
- package/dist/esm/ui/Expand/index.js +2 -2
- package/dist/esm/ui/FloatingToolbar/Separator.js +2 -2
- package/dist/esm/ui/FloatingToolbar/styles.js +10 -10
- package/dist/esm/ui/Messages/index.js +2 -2
- package/dist/esm/ui/PanelTextInput/styles.js +5 -5
- package/dist/esm/ui/Shortcut/index.compiled.css +2 -2
- package/dist/esm/ui/Shortcut/index.js +1 -1
- package/dist/esm/ui/Toolbar/Separator.compiled.css +1 -1
- package/dist/esm/ui/Toolbar/Separator.js +1 -1
- package/dist/esm/ui/UnsupportedBlock/index.js +2 -2
- package/dist/esm/ui/UnsupportedInline/index.js +2 -2
- package/dist/esm/ui-color/ColorPalette/Color/styles.js +2 -2
- package/dist/esm/ui-color/ColorPalette/index.js +1 -1
- package/dist/esm/ui-menu/ColorPickerButton/index.js +3 -3
- package/dist/esm/ui-menu/DropdownMenu/index.js +2 -2
- package/dist/esm/utils/processRawValue.js +8 -1
- package/package.json +5 -2
|
@@ -20,8 +20,8 @@ export default function IconPanel() {
|
|
|
20
20
|
d: "M0 0h40v40H0z"
|
|
21
21
|
}), /*#__PURE__*/React.createElement("rect", {
|
|
22
22
|
fill: iconThemed({
|
|
23
|
-
light: "var(--ds-background-accent-blue-subtlest, #
|
|
24
|
-
dark: "var(--ds-background-accent-blue-subtlest, #
|
|
23
|
+
light: "var(--ds-background-accent-blue-subtlest, #E9F2FE)",
|
|
24
|
+
dark: "var(--ds-background-accent-blue-subtlest, #E9F2FE)"
|
|
25
25
|
}),
|
|
26
26
|
x: 8,
|
|
27
27
|
y: 12,
|
|
@@ -31,8 +31,8 @@ export default function IconPanel() {
|
|
|
31
31
|
}), /*#__PURE__*/React.createElement("path", {
|
|
32
32
|
d: "M12 20a4 4 0 108 0 4 4 0 00-8 0z",
|
|
33
33
|
fill: iconThemed({
|
|
34
|
-
light: "var(--ds-icon-information, #
|
|
35
|
-
dark: "var(--ds-icon-information, #
|
|
34
|
+
light: "var(--ds-icon-information, #357DE8)",
|
|
35
|
+
dark: "var(--ds-icon-information, #357DE8)"
|
|
36
36
|
}),
|
|
37
37
|
fillRule: "nonzero"
|
|
38
38
|
}), /*#__PURE__*/React.createElement("rect", {
|
|
@@ -104,7 +104,7 @@ export var headingsSharedStyles = function headingsSharedStyles(typographyTheme)
|
|
|
104
104
|
fontSize: "".concat(24 / 14, "em"),
|
|
105
105
|
fontStyle: 'inherit',
|
|
106
106
|
lineHeight: 28 / 24,
|
|
107
|
-
color: "var(--ds-text, #
|
|
107
|
+
color: "var(--ds-text, #292A2E)",
|
|
108
108
|
fontWeight: "var(--ds-font-weight-medium, 500)",
|
|
109
109
|
letterSpacing: "-0.01em",
|
|
110
110
|
marginBottom: 0,
|
|
@@ -114,7 +114,7 @@ export var headingsSharedStyles = function headingsSharedStyles(typographyTheme)
|
|
|
114
114
|
fontSize: "".concat(20 / 14, "em"),
|
|
115
115
|
fontStyle: 'inherit',
|
|
116
116
|
lineHeight: 24 / 20,
|
|
117
|
-
color: "var(--ds-text, #
|
|
117
|
+
color: "var(--ds-text, #292A2E)",
|
|
118
118
|
fontWeight: "var(--ds-font-weight-medium, 500)",
|
|
119
119
|
letterSpacing: "-0.008em",
|
|
120
120
|
marginTop: '1.8em',
|
|
@@ -124,7 +124,7 @@ export var headingsSharedStyles = function headingsSharedStyles(typographyTheme)
|
|
|
124
124
|
fontSize: "".concat(16 / 14, "em"),
|
|
125
125
|
fontStyle: 'inherit',
|
|
126
126
|
lineHeight: 20 / 16,
|
|
127
|
-
color: "var(--ds-text, #
|
|
127
|
+
color: "var(--ds-text, #292A2E)",
|
|
128
128
|
fontWeight: "var(--ds-font-weight-semibold, 600)",
|
|
129
129
|
letterSpacing: "-0.006em",
|
|
130
130
|
marginTop: '2em',
|
|
@@ -134,7 +134,7 @@ export var headingsSharedStyles = function headingsSharedStyles(typographyTheme)
|
|
|
134
134
|
fontSize: "".concat(14 / 14, "em"),
|
|
135
135
|
fontStyle: 'inherit',
|
|
136
136
|
lineHeight: 16 / 14,
|
|
137
|
-
color: "var(--ds-text, #
|
|
137
|
+
color: "var(--ds-text, #292A2E)",
|
|
138
138
|
fontWeight: "var(--ds-font-weight-semibold, 600)",
|
|
139
139
|
letterSpacing: "-0.003em",
|
|
140
140
|
marginTop: '1.357em'
|
|
@@ -143,7 +143,7 @@ export var headingsSharedStyles = function headingsSharedStyles(typographyTheme)
|
|
|
143
143
|
fontSize: "".concat(12 / 14, "em"),
|
|
144
144
|
fontStyle: 'inherit',
|
|
145
145
|
lineHeight: 16 / 12,
|
|
146
|
-
color: "var(--ds-text, #
|
|
146
|
+
color: "var(--ds-text, #292A2E)",
|
|
147
147
|
fontWeight: "var(--ds-font-weight-semibold, 600)",
|
|
148
148
|
marginTop: '1.667em',
|
|
149
149
|
textTransform: 'none'
|
|
@@ -152,7 +152,7 @@ export var headingsSharedStyles = function headingsSharedStyles(typographyTheme)
|
|
|
152
152
|
fontSize: "".concat(11 / 14, "em"),
|
|
153
153
|
fontStyle: 'inherit',
|
|
154
154
|
lineHeight: 16 / 11,
|
|
155
|
-
color: "var(--ds-text-subtlest, #
|
|
155
|
+
color: "var(--ds-text-subtlest, #6B6E76)",
|
|
156
156
|
fontWeight: "var(--ds-font-weight-bold, 700)",
|
|
157
157
|
marginTop: '1.455em',
|
|
158
158
|
textTransform: 'none'
|
|
@@ -54,7 +54,7 @@ export var buttonGroupStyle = css({
|
|
|
54
54
|
// If you make change here, change in above file as well.
|
|
55
55
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
56
56
|
export var separatorStyles = css({
|
|
57
|
-
background: "var(--ds-border, #
|
|
57
|
+
background: "var(--ds-border, #0B120E24)",
|
|
58
58
|
width: '1px',
|
|
59
59
|
height: '24px',
|
|
60
60
|
display: 'inline-block',
|
|
@@ -22,4 +22,4 @@ export var resizerHandleThumbWidth = 3;
|
|
|
22
22
|
export var resizerHandleZIndex = 1;
|
|
23
23
|
|
|
24
24
|
// eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766, Seems perfectly safe to autofix, but comments would be lost…
|
|
25
|
-
export var resizerStyles = css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n\t.", " {\n\t\twill-change: width;\n\n\t\t&:hover,\n\t\t&.display-handle {\n\t\t\t& > .", " > .", " {\n\t\t\t\tvisibility: visible;\n\t\t\t\topacity: 1;\n\t\t\t}\n\t\t}\n\n\t\t&.is-resizing {\n\t\t\t& .", " {\n\t\t\t\tbackground: ", ";\n\t\t\t}\n\t\t}\n\n\t\t&.", " {\n\t\t\t& .", " {\n\t\t\t\ttransition: none;\n\t\t\t\tbackground: ", ";\n\t\t\t}\n\t\t}\n\t}\n\n\t.", " {\n\t\tdisplay: flex;\n\t\tvisibility: hidden;\n\t\topacity: 0;\n\t\tflex-direction: column;\n\t\tjustify-content: center;\n\t\talign-items: center;\n\t\twidth: 7px;\n\t\ttransition:\n\t\t\tvisibility 0.2s,\n\t\t\topacity 0.2s;\n\n\t\t/*\n NOTE: The below style is targeted at the div element added by the tooltip. We don't have any means of injecting styles\n into the tooltip\n */\n\t\t& div[role='presentation'] {\n\t\t\twidth: 100%;\n\t\t\theight: 100%;\n\t\t\tdisplay: flex;\n\t\t\tflex-direction: column;\n\t\t\tjustify-content: center;\n\t\t\talign-items: center;\n\t\t\tmargin-top: ", ";\n\t\t\twhite-space: normal;\n\t\t}\n\n\t\t/*\n Handle Positions\n */\n\t\t&.left {\n\t\t\talign-items: flex-start;\n\t\t}\n\t\t&.right {\n\t\t\talign-items: flex-end;\n\t\t}\n\n\t\t/*\n Handle Sizing\n */\n\t\t&.small {\n\t\t\t& .", " {\n\t\t\t\theight: 43px;\n\t\t\t}\n\t\t}\n\t\t&.medium {\n\t\t\t& .", " {\n\t\t\t\theight: 64px;\n\t\t\t}\n\t\t}\n\t\t&.large {\n\t\t\t& .", " {\n\t\t\t\theight: 96px;\n\t\t\t}\n\t\t}\n\t\t&.clamped {\n\t\t\t& .", " {\n\t\t\t\theight: clamp(43px, calc(100% - 32px), 96px);\n\t\t\t}\n\t\t}\n\n\t\t/*\n Handle Alignment\n */\n\t\t&.sticky {\n\t\t\t& .", " {\n\t\t\t\tposition: sticky;\n\t\t\t\ttop: ", ";\n\t\t\t\tbottom: ", ";\n\t\t\t}\n\t\t}\n\n\t\t&:hover {\n\t\t\t& .", " {\n\t\t\t\tbackground: ", ";\n\t\t\t}\n\n\t\t\t& .", " {\n\t\t\t\tvisibility: visible;\n\t\t\t\topacity: 0.5;\n\t\t\t}\n\t\t}\n\t}\n\n\t.", " {\n\t\tcontent: ' ';\n\t\tdisplay: flex;\n\t\twidth: 3px;\n\t\tmargin: 0 ", ";\n\t\theight: 64px;\n\t\ttransition: background-color 0.2s;\n\t\tborder-radius: 6px;\n\t\tborder: 0;\n\t\tpadding: 0;\n\t\tz-index: 2;\n\t\toutline: none;\n\t\tmin-height: 24px;\n\t\tbackground: ", ";\n\n\t\t&:hover {\n\t\t\tcursor: col-resize;\n\t\t}\n\n\t\t&:focus {\n\t\t\tbackground: ", ";\n\n\t\t\t&::after {\n\t\t\t\tcontent: '';\n\t\t\t\tposition: absolute;\n\t\t\t\ttop: ", ";\n\t\t\t\tright: ", ";\n\t\t\t\tbottom: ", ";\n\t\t\t\tleft: ", ";\n\t\t\t\tborder: 2px solid ", ";\n\t\t\t\tborder-radius: inherit;\n\t\t\t\tz-index: -1;\n\t\t\t}\n\t\t}\n\t}\n\n\t.", " {\n\t\tvisibility: hidden;\n\t\tposition: absolute;\n\t\twidth: 7px;\n\t\theight: calc(100% - 40px);\n\t\tborder-radius: 4px;\n\t\topacity: 0;\n\t\ttransition:\n\t\t\tbackground-color 0.2s,\n\t\t\tvisibility 0.2s,\n\t\t\topacity 0.2s;\n\n\t\t&.none {\n\t\t\tbackground: none;\n\t\t}\n\n\t\t&.shadow {\n\t\t\tbackground: ", ";\n\t\t}\n\n\t\t&.full-height {\n\t\t\tbackground: ", ";\n\t\t\theight: 100%;\n\t\t\tmin-height: 36px;\n\t\t}\n\t}\n\n\t.", " {\n\t\t& .", " {\n\t\t\tbackground: ", ";\n\t\t}\n\t}\n\n\t&.resizer-hover-zone-cls-fix .", " {\n\t\tdisplay: 'flow-root';\n\t}\n\n\t.", " {\n\t\tposition: relative;\n\t\tdisplay: inline-block;\n\t\twidth: 100%;\n\n\t\t&.", " {\n\t\t\tpadding: 0 ", ";\n\t\t\tleft: ", ";\n\t\t}\n\t}\n\n\t/* This below style is here to make sure the image width is correct when nested in a table */\n\ttable .", ", table .", ".", " {\n\t\tpadding: unset;\n\t\tleft: unset;\n\t}\n"])), resizerItemClassName, handleWrapperClass, resizerHandleClassName, resizerHandleThumbClassName, "var(--ds-border-focused, #
|
|
25
|
+
export var resizerStyles = css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n\t.", " {\n\t\twill-change: width;\n\n\t\t&:hover,\n\t\t&.display-handle {\n\t\t\t& > .", " > .", " {\n\t\t\t\tvisibility: visible;\n\t\t\t\topacity: 1;\n\t\t\t}\n\t\t}\n\n\t\t&.is-resizing {\n\t\t\t& .", " {\n\t\t\t\tbackground: ", ";\n\t\t\t}\n\t\t}\n\n\t\t&.", " {\n\t\t\t& .", " {\n\t\t\t\ttransition: none;\n\t\t\t\tbackground: ", ";\n\t\t\t}\n\t\t}\n\t}\n\n\t.", " {\n\t\tdisplay: flex;\n\t\tvisibility: hidden;\n\t\topacity: 0;\n\t\tflex-direction: column;\n\t\tjustify-content: center;\n\t\talign-items: center;\n\t\twidth: 7px;\n\t\ttransition:\n\t\t\tvisibility 0.2s,\n\t\t\topacity 0.2s;\n\n\t\t/*\n NOTE: The below style is targeted at the div element added by the tooltip. We don't have any means of injecting styles\n into the tooltip\n */\n\t\t& div[role='presentation'] {\n\t\t\twidth: 100%;\n\t\t\theight: 100%;\n\t\t\tdisplay: flex;\n\t\t\tflex-direction: column;\n\t\t\tjustify-content: center;\n\t\t\talign-items: center;\n\t\t\tmargin-top: ", ";\n\t\t\twhite-space: normal;\n\t\t}\n\n\t\t/*\n Handle Positions\n */\n\t\t&.left {\n\t\t\talign-items: flex-start;\n\t\t}\n\t\t&.right {\n\t\t\talign-items: flex-end;\n\t\t}\n\n\t\t/*\n Handle Sizing\n */\n\t\t&.small {\n\t\t\t& .", " {\n\t\t\t\theight: 43px;\n\t\t\t}\n\t\t}\n\t\t&.medium {\n\t\t\t& .", " {\n\t\t\t\theight: 64px;\n\t\t\t}\n\t\t}\n\t\t&.large {\n\t\t\t& .", " {\n\t\t\t\theight: 96px;\n\t\t\t}\n\t\t}\n\t\t&.clamped {\n\t\t\t& .", " {\n\t\t\t\theight: clamp(43px, calc(100% - 32px), 96px);\n\t\t\t}\n\t\t}\n\n\t\t/*\n Handle Alignment\n */\n\t\t&.sticky {\n\t\t\t& .", " {\n\t\t\t\tposition: sticky;\n\t\t\t\ttop: ", ";\n\t\t\t\tbottom: ", ";\n\t\t\t}\n\t\t}\n\n\t\t&:hover {\n\t\t\t& .", " {\n\t\t\t\tbackground: ", ";\n\t\t\t}\n\n\t\t\t& .", " {\n\t\t\t\tvisibility: visible;\n\t\t\t\topacity: 0.5;\n\t\t\t}\n\t\t}\n\t}\n\n\t.", " {\n\t\tcontent: ' ';\n\t\tdisplay: flex;\n\t\twidth: 3px;\n\t\tmargin: 0 ", ";\n\t\theight: 64px;\n\t\ttransition: background-color 0.2s;\n\t\tborder-radius: 6px;\n\t\tborder: 0;\n\t\tpadding: 0;\n\t\tz-index: 2;\n\t\toutline: none;\n\t\tmin-height: 24px;\n\t\tbackground: ", ";\n\n\t\t&:hover {\n\t\t\tcursor: col-resize;\n\t\t}\n\n\t\t&:focus {\n\t\t\tbackground: ", ";\n\n\t\t\t&::after {\n\t\t\t\tcontent: '';\n\t\t\t\tposition: absolute;\n\t\t\t\ttop: ", ";\n\t\t\t\tright: ", ";\n\t\t\t\tbottom: ", ";\n\t\t\t\tleft: ", ";\n\t\t\t\tborder: 2px solid ", ";\n\t\t\t\tborder-radius: inherit;\n\t\t\t\tz-index: -1;\n\t\t\t}\n\t\t}\n\t}\n\n\t.", " {\n\t\tvisibility: hidden;\n\t\tposition: absolute;\n\t\twidth: 7px;\n\t\theight: calc(100% - 40px);\n\t\tborder-radius: 4px;\n\t\topacity: 0;\n\t\ttransition:\n\t\t\tbackground-color 0.2s,\n\t\t\tvisibility 0.2s,\n\t\t\topacity 0.2s;\n\n\t\t&.none {\n\t\t\tbackground: none;\n\t\t}\n\n\t\t&.shadow {\n\t\t\tbackground: ", ";\n\t\t}\n\n\t\t&.full-height {\n\t\t\tbackground: ", ";\n\t\t\theight: 100%;\n\t\t\tmin-height: 36px;\n\t\t}\n\t}\n\n\t.", " {\n\t\t& .", " {\n\t\t\tbackground: ", ";\n\t\t}\n\t}\n\n\t&.resizer-hover-zone-cls-fix .", " {\n\t\tdisplay: 'flow-root';\n\t}\n\n\t.", " {\n\t\tposition: relative;\n\t\tdisplay: inline-block;\n\t\twidth: 100%;\n\n\t\t&.", " {\n\t\t\tpadding: 0 ", ";\n\t\t\tleft: ", ";\n\t\t}\n\t}\n\n\t/* This below style is here to make sure the image width is correct when nested in a table */\n\ttable .", ", table .", ".", " {\n\t\tpadding: unset;\n\t\tleft: unset;\n\t}\n"])), resizerItemClassName, handleWrapperClass, resizerHandleClassName, resizerHandleThumbClassName, "var(--ds-border-focused, #4688EC)", resizerDangerClassName, resizerHandleThumbClassName, "var(--ds-icon-danger, ".concat(akEditorDeleteIconColor, ")"), resizerHandleClassName, "var(--ds-space-negative-200, -16px)", resizerHandleThumbClassName, resizerHandleThumbClassName, resizerHandleThumbClassName, resizerHandleThumbClassName, resizerHandleThumbClassName, "var(--ds-space-150, 12px)", "var(--ds-space-150, 12px)", resizerHandleThumbClassName, "var(--ds-border-focused, #4688EC)", resizerHandleTrackClassName, resizerHandleThumbClassName, "var(--ds-space-025, 2px)", "var(--ds-border, #0B120E24)", "var(--ds-border-selected, #0C66E4)", "var(--ds-space-negative-050, -4px)", "var(--ds-space-negative-050, -4px)", "var(--ds-space-negative-050, -4px)", "var(--ds-space-negative-050, -4px)", "var(--ds-border-focused, #388BFF)", resizerHandleTrackClassName, "var(--ds-background-selected, #E9F2FE)", "var(--ds-background-selected, #E9F2FE)", akEditorSelectedNodeClassName, resizerHandleThumbClassName, "var(--ds-border-focused, #4688EC)", resizerHoverZoneClassName, resizerHoverZoneClassName, resizerExtendedZone, "var(--ds-space-150, 12px)", "var(--ds-space-negative-150, -12px)", resizerHoverZoneClassName, resizerHoverZoneClassName, resizerExtendedZone);
|
|
@@ -20,7 +20,7 @@ export var StatusClassNames = /*#__PURE__*/function (StatusClassNames) {
|
|
|
20
20
|
}({});
|
|
21
21
|
|
|
22
22
|
// eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
|
|
23
|
-
var buttonStyles = css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n\tposition: absolute;\n\tdisplay: flex;\n\theight: 28px;\n\twidth: 28px;\n\tmargin: ", ";\n\tright: 0;\n\ttop: 0;\n\tborder: ", " solid ", ";\n\tborder-radius: ", ";\n\tbackground-color: ", ";\n\tjustify-content: center;\n\talign-items: center;\n\tcursor: pointer;\n\n\t&:hover {\n\t\tbackground-color: ", ";\n\t}\n\n\t&:active {\n\t\tbackground-color: ", ";\n\t}\n\n\t&.", "__not-allowed {\n\t\tcursor: not-allowed;\n\t}\n"])), "var(--ds-space-075, 6px)", "var(--ds-border-width-selected, 2px)", "var(--ds-border, #fff)", "var(--ds-radius-small, 4px)", "var(--ds-surface-overlay, #FFFFFF)", "var(--ds-surface-overlay-hovered, #
|
|
23
|
+
var buttonStyles = css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n\tposition: absolute;\n\tdisplay: flex;\n\theight: 28px;\n\twidth: 28px;\n\tmargin: ", ";\n\tright: 0;\n\ttop: 0;\n\tborder: ", " solid ", ";\n\tborder-radius: ", ";\n\tbackground-color: ", ";\n\tjustify-content: center;\n\talign-items: center;\n\tcursor: pointer;\n\n\t&:hover {\n\t\tbackground-color: ", ";\n\t}\n\n\t&:active {\n\t\tbackground-color: ", ";\n\t}\n\n\t&.", "__not-allowed {\n\t\tcursor: not-allowed;\n\t}\n"])), "var(--ds-space-075, 6px)", "var(--ds-border-width-selected, 2px)", "var(--ds-border, #fff)", "var(--ds-radius-small, 4px)", "var(--ds-surface-overlay, #FFFFFF)", "var(--ds-surface-overlay-hovered, #F0F1F2)", "var(--ds-surface-overlay-pressed, rgba(179, 212, 255, 0.6))", SORTABLE_COLUMN_ICON_CLASSNAME);
|
|
24
24
|
|
|
25
25
|
// eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
|
|
26
26
|
var iconWrapperStyles = css(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n\twidth: 8px;\n\theight: 12px;\n\ttransition: transform 0.3s cubic-bezier(0.15, 1, 0.3, 1);\n\ttransform-origin: 50% 50%;\n\tdisplay: flex;\n\tjustify-content: center;\n\n\t&.", " {\n\t\ttransform: rotate(-180deg);\n\t}\n\n\t&.", "-inactive {\n\t\topacity: 0.7;\n\t}\n"])), StatusClassNames.DESC, SORTABLE_COLUMN_ICON_CLASSNAME);
|
|
@@ -23,7 +23,7 @@ var captionWrapperStyle = css({
|
|
|
23
23
|
marginTop: "var(--ds-space-100, 8px)",
|
|
24
24
|
textAlign: 'center',
|
|
25
25
|
position: 'relative',
|
|
26
|
-
color: "var(--ds-text-subtle, #
|
|
26
|
+
color: "var(--ds-text-subtle, #505258)"
|
|
27
27
|
});
|
|
28
28
|
var placeholderStyle = xcss({
|
|
29
29
|
color: 'color.text.subtlest',
|
|
@@ -21,7 +21,7 @@ import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
|
|
|
21
21
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
22
22
|
import Layer from '../Layer';
|
|
23
23
|
var packageName = "@atlaskit/editor-common";
|
|
24
|
-
var packageVersion = "
|
|
24
|
+
var packageVersion = "0.0.0-development";
|
|
25
25
|
var halfFocusRing = 1;
|
|
26
26
|
var dropOffset = '0, 8';
|
|
27
27
|
var fadeIn = keyframes({
|
|
@@ -66,10 +66,10 @@ var DropList = /*#__PURE__*/function (_Component) {
|
|
|
66
66
|
/* eslint-disable @atlaskit/design-system/ensure-design-token-usage */
|
|
67
67
|
_defineProperty(_this, "menuWrapper", function () {
|
|
68
68
|
return css({
|
|
69
|
-
color: "var(--ds-text-subtle, #
|
|
69
|
+
color: "var(--ds-text-subtle, #505258)",
|
|
70
70
|
backgroundColor: "var(--ds-surface-overlay, #FFFFFF)",
|
|
71
71
|
borderRadius: "var(--ds-radius-small, 3px)",
|
|
72
|
-
boxShadow: "var(--ds-shadow-overlay, 0px 8px 12px #
|
|
72
|
+
boxShadow: "var(--ds-shadow-overlay, 0px 8px 12px #1E1F2126, 0px 0px 1px #1E1F214f)",
|
|
73
73
|
boxSizing: 'border-box',
|
|
74
74
|
overflow: 'auto',
|
|
75
75
|
padding: "var(--ds-space-050, 4px)".concat(" 0"),
|
|
@@ -52,12 +52,12 @@ var expandIconWrapperStyle = function expandIconWrapperStyle() {
|
|
|
52
52
|
return css({
|
|
53
53
|
cursor: 'pointer',
|
|
54
54
|
display: 'flex',
|
|
55
|
-
color: "var(--ds-icon, #
|
|
55
|
+
color: "var(--ds-icon, #292A2E)",
|
|
56
56
|
borderRadius: "var(--ds-radius-small, 4px)",
|
|
57
57
|
width: '24px',
|
|
58
58
|
height: '24px',
|
|
59
59
|
'&:hover': {
|
|
60
|
-
background: "var(--ds-background-neutral-subtle-hovered, #
|
|
60
|
+
background: "var(--ds-background-neutral-subtle-hovered, #0515240F)"
|
|
61
61
|
},
|
|
62
62
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
63
63
|
svg: {
|
|
@@ -5,14 +5,14 @@
|
|
|
5
5
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
6
6
|
import { css, jsx } from '@emotion/react';
|
|
7
7
|
var separator = css({
|
|
8
|
-
background: "var(--ds-border, #
|
|
8
|
+
background: "var(--ds-border, #0B120E24)",
|
|
9
9
|
width: '1px',
|
|
10
10
|
height: '20px',
|
|
11
11
|
margin: "0 ".concat("var(--ds-space-050, 4px)"),
|
|
12
12
|
alignSelf: 'center'
|
|
13
13
|
});
|
|
14
14
|
var separatorNew = css({
|
|
15
|
-
background: "var(--ds-border, #
|
|
15
|
+
background: "var(--ds-border, #0B120E24)",
|
|
16
16
|
width: '1px',
|
|
17
17
|
height: '20px',
|
|
18
18
|
alignSelf: 'center'
|
|
@@ -26,12 +26,12 @@ var background = {
|
|
|
26
26
|
dark: 'inherit'
|
|
27
27
|
},
|
|
28
28
|
hover: {
|
|
29
|
-
light: "var(--ds-background-neutral-subtle-hovered, #
|
|
30
|
-
dark: "var(--ds-background-neutral-subtle-hovered, #
|
|
29
|
+
light: "var(--ds-background-neutral-subtle-hovered, #0515240F)",
|
|
30
|
+
dark: "var(--ds-background-neutral-subtle-hovered, #0515240F)"
|
|
31
31
|
},
|
|
32
32
|
active: {
|
|
33
|
-
light: "var(--ds-background-neutral-pressed, #
|
|
34
|
-
dark: "var(--ds-background-neutral-pressed, #
|
|
33
|
+
light: "var(--ds-background-neutral-pressed, #080F214A)",
|
|
34
|
+
dark: "var(--ds-background-neutral-pressed, #080F214A)"
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
37
|
};
|
|
@@ -46,16 +46,16 @@ var backgroundVisualRefresh = {
|
|
|
46
46
|
dark: "var(--ds-background-danger-hovered, #FFD5D2)"
|
|
47
47
|
},
|
|
48
48
|
active: {
|
|
49
|
-
light: "var(--ds-background-danger-pressed, #
|
|
50
|
-
dark: "var(--ds-background-danger-pressed, #
|
|
49
|
+
light: "var(--ds-background-danger-pressed, #FFB8B2)",
|
|
50
|
+
dark: "var(--ds-background-danger-pressed, #FFB8B2)"
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
53
|
};
|
|
54
54
|
var color = {
|
|
55
55
|
danger: {
|
|
56
56
|
default: {
|
|
57
|
-
light: "var(--ds-icon, #
|
|
58
|
-
dark: "var(--ds-icon, #
|
|
57
|
+
light: "var(--ds-icon, #292A2E)",
|
|
58
|
+
dark: "var(--ds-icon, #292A2E)"
|
|
59
59
|
},
|
|
60
60
|
hover: {
|
|
61
61
|
light: "var(--ds-icon-danger, #C9372C)",
|
|
@@ -70,8 +70,8 @@ var color = {
|
|
|
70
70
|
var colorVisualRefresh = {
|
|
71
71
|
danger: {
|
|
72
72
|
default: {
|
|
73
|
-
light: "var(--ds-icon-subtle, #
|
|
74
|
-
dark: "var(--ds-icon-subtle, #
|
|
73
|
+
light: "var(--ds-icon-subtle, #505258)",
|
|
74
|
+
dark: "var(--ds-icon-subtle, #505258)"
|
|
75
75
|
},
|
|
76
76
|
hover: {
|
|
77
77
|
light: "var(--ds-icon-danger, #C9372C)",
|
|
@@ -11,7 +11,7 @@ var errorColor = css({
|
|
|
11
11
|
color: "var(--ds-text-danger, #AE2E24)"
|
|
12
12
|
});
|
|
13
13
|
var validColor = css({
|
|
14
|
-
color: "var(--ds-text-success, #
|
|
14
|
+
color: "var(--ds-text-success, #4C6B1F)"
|
|
15
15
|
});
|
|
16
16
|
|
|
17
17
|
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
|
|
@@ -25,7 +25,7 @@ var messageStyle = function messageStyle() {
|
|
|
25
25
|
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
|
|
26
26
|
lineHeight: 16 / 12,
|
|
27
27
|
fontWeight: "var(--ds-font-weight-regular, 400)",
|
|
28
|
-
color: "var(--ds-text-subtlest, #
|
|
28
|
+
color: "var(--ds-text-subtlest, #6B6E76)",
|
|
29
29
|
marginTop: "var(--ds-space-050, 4px)",
|
|
30
30
|
display: 'flex',
|
|
31
31
|
justifyContent: 'baseline'
|
|
@@ -7,11 +7,11 @@ export var panelTextInput = css({
|
|
|
7
7
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
8
8
|
'input&': {
|
|
9
9
|
background: 'transparent',
|
|
10
|
-
border: "1px solid ".concat("var(--ds-border-input, #
|
|
10
|
+
border: "1px solid ".concat("var(--ds-border-input, #8C8F97)"),
|
|
11
11
|
// eslint-disable-next-line @atlaskit/design-system/no-unsafe-design-token-usage
|
|
12
12
|
borderRadius: "var(--ds-radius-small, 3px)",
|
|
13
13
|
boxSizing: 'content-box',
|
|
14
|
-
color: "var(--ds-text, #
|
|
14
|
+
color: "var(--ds-text, #292A2E)",
|
|
15
15
|
flexGrow: 1,
|
|
16
16
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
17
17
|
fontSize: relativeFontSizeToBase16(13),
|
|
@@ -27,11 +27,11 @@ export var panelTextInput = css({
|
|
|
27
27
|
'&:focus': {
|
|
28
28
|
outline: 'none',
|
|
29
29
|
backgroundColor: "var(--ds-background-input-pressed, #FFFFFF)",
|
|
30
|
-
borderColor: "var(--ds-border-focused, #
|
|
31
|
-
boxShadow: "inset 0 0 0 ".concat("var(--ds-border-width, 1px)", " ", "var(--ds-border-focused, #
|
|
30
|
+
borderColor: "var(--ds-border-focused, #4688EC)",
|
|
31
|
+
boxShadow: "inset 0 0 0 ".concat("var(--ds-border-width, 1px)", " ", "var(--ds-border-focused, #4688EC)")
|
|
32
32
|
},
|
|
33
33
|
'&::placeholder': {
|
|
34
|
-
color: "var(--ds-text-subtlest, #
|
|
34
|
+
color: "var(--ds-text-subtlest, #6B6E76)"
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
37
|
});
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
._2rkofajl{border-radius:var(--ds-radius-small,3px)}._19bv1b66{padding-left:var(--ds-space-050,4px)}
|
|
3
3
|
._1wpzesu3{align-self:flex-end}
|
|
4
4
|
._1wybyofp{font-size:var(--_1l2t8t0)}
|
|
5
|
-
.
|
|
5
|
+
._bfhki8nm{background-color:var(--ds-background-neutral,#0515240f)}
|
|
6
6
|
._ca0q1b66{padding-top:var(--ds-space-050,4px)}
|
|
7
7
|
._n3td1b66{padding-bottom:var(--ds-space-050,4px)}
|
|
8
|
-
.
|
|
8
|
+
._syazazsu{color:var(--ds-text-subtle,#505258)}
|
|
9
9
|
._u5f31b66{padding-right:var(--ds-space-050,4px)}
|
|
10
10
|
@media (max-width:0px){._1ggkglyw{display:none}}
|
|
@@ -9,7 +9,7 @@ var shortcutStyleUnbounded = null;
|
|
|
9
9
|
export function Shortcut(_ref) {
|
|
10
10
|
var children = _ref.children;
|
|
11
11
|
return /*#__PURE__*/React.createElement("div", {
|
|
12
|
-
className: ax(["_2rkofajl _1wpzesu3 _ca0q1b66 _n3td1b66 _19bv1b66 _u5f31b66
|
|
12
|
+
className: ax(["_2rkofajl _1wpzesu3 _ca0q1b66 _n3td1b66 _19bv1b66 _u5f31b66 _syazazsu _bfhki8nm _1ggkglyw", "_1wybyofp"]),
|
|
13
13
|
style: {
|
|
14
14
|
"--_1l2t8t0": ix("".concat(11.67 / 16, "rem"))
|
|
15
15
|
}
|
|
@@ -4,6 +4,6 @@
|
|
|
4
4
|
._1e0c1o8l{display:inline-block}
|
|
5
5
|
._2hwxu2gc{margin-right:var(--ds-space-100,8px)}
|
|
6
6
|
._4t3i1tcg{height:24px}
|
|
7
|
-
.
|
|
7
|
+
._bfhkplhp{background-color:var(--ds-background-neutral-hovered,#0b120e24)}
|
|
8
8
|
._otyrze3t{margin-bottom:var(--ds-space-0,0)}
|
|
9
9
|
._uiztglyw{-webkit-user-select:none;-ms-user-select:none;user-select:none}
|
|
@@ -6,6 +6,6 @@ var separatorStyles = null;
|
|
|
6
6
|
export function ToolbarSeparator() {
|
|
7
7
|
return /*#__PURE__*/React.createElement("span", {
|
|
8
8
|
"data-testid": "editor-toolbar-seperator",
|
|
9
|
-
className: ax(["_1e0c1o8l _1bsbt94y _4t3i1tcg _19pkze3t _otyrze3t _18u0u2gc _2hwxu2gc _uiztglyw
|
|
9
|
+
className: ax(["_1e0c1o8l _1bsbt94y _4t3i1tcg _19pkze3t _otyrze3t _18u0u2gc _2hwxu2gc _uiztglyw _bfhkplhp"])
|
|
10
10
|
});
|
|
11
11
|
}
|
|
@@ -15,8 +15,8 @@ import { unsupportedContentMessages } from '../../messages/unsupportedContent';
|
|
|
15
15
|
import { trackUnsupportedContentTooltipDisplayedFor } from '../../utils/track-unsupported-content';
|
|
16
16
|
import { getUnsupportedContent } from '../unsupported-content-helper';
|
|
17
17
|
var blockNodeStyle = css({
|
|
18
|
-
background: "var(--ds-background-disabled, #
|
|
19
|
-
border: "var(--ds-border-width, 1px)".concat(" dashed ", "var(--ds-border-disabled, #
|
|
18
|
+
background: "var(--ds-background-disabled, #17171708)",
|
|
19
|
+
border: "var(--ds-border-width, 1px)".concat(" dashed ", "var(--ds-border-disabled, #0515240F)"),
|
|
20
20
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
21
21
|
borderRadius: "var(--ds-radius-small, 3px)",
|
|
22
22
|
boxSizing: 'border-box',
|
|
@@ -16,8 +16,8 @@ import { trackUnsupportedContentTooltipDisplayedFor } from '../../utils/track-un
|
|
|
16
16
|
import { getUnsupportedContent } from '../unsupported-content-helper';
|
|
17
17
|
var inlineNodeStyle = css({
|
|
18
18
|
alignItems: 'center',
|
|
19
|
-
background: "var(--ds-background-disabled, #
|
|
20
|
-
border: "var(--ds-border-width, 1px)".concat(" dashed ", "var(--ds-border-disabled, #
|
|
19
|
+
background: "var(--ds-background-disabled, #17171708)",
|
|
20
|
+
border: "var(--ds-border-width, 1px)".concat(" dashed ", "var(--ds-border-disabled, #0515240F)"),
|
|
21
21
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
22
22
|
borderRadius: "var(--ds-radius-small, 3px)",
|
|
23
23
|
boxSizing: 'border-box',
|
|
@@ -6,7 +6,7 @@ import { css } from '@emotion/react';
|
|
|
6
6
|
export var buttonStyle = css({
|
|
7
7
|
height: '26px',
|
|
8
8
|
width: '26px',
|
|
9
|
-
background: "var(--ds-background-neutral, #
|
|
9
|
+
background: "var(--ds-background-neutral, #0515240F)",
|
|
10
10
|
padding: 0,
|
|
11
11
|
borderRadius: "var(--ds-radius-small, 4px)",
|
|
12
12
|
border: "1px solid ".concat("var(--ds-border-inverse, #FFFFFF)"),
|
|
@@ -28,7 +28,7 @@ export var buttonWrapperStyle = css({
|
|
|
28
28
|
borderRadius: "var(--ds-radius-medium, 6px)",
|
|
29
29
|
'&:focus-within, &:focus, &:hover': {
|
|
30
30
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles -- Ignored via go/DSP-18766
|
|
31
|
-
borderColor: "var(--ds-border, #
|
|
31
|
+
borderColor: "var(--ds-border, #0B120E24)".concat(" !important")
|
|
32
32
|
}
|
|
33
33
|
});
|
|
34
34
|
/* eslint-enable @atlaskit/design-system/ensure-design-token-usage */
|
|
@@ -37,7 +37,7 @@ function getCheckMarkColor(color, useIconToken) {
|
|
|
37
37
|
// they are only intended for use with text colors (and there are different tokens
|
|
38
38
|
// planned to be used when this extended to be used with other palettes).
|
|
39
39
|
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage
|
|
40
|
-
return contrastColor === '#FFFFFF' ? "var(--ds-icon-inverse, #FFFFFF)" : "var(--ds-icon, #
|
|
40
|
+
return contrastColor === '#FFFFFF' ? "var(--ds-icon-inverse, #FFFFFF)" : "var(--ds-icon, #292A2E)";
|
|
41
41
|
}
|
|
42
42
|
var ColorPalette = function ColorPalette(props) {
|
|
43
43
|
var _props$cols = props.cols,
|
|
@@ -48,7 +48,7 @@ var colorPickerButtonStyle = css({
|
|
|
48
48
|
border: 'none'
|
|
49
49
|
},
|
|
50
50
|
'&:hover': {
|
|
51
|
-
backgroundColor: "var(--ds-background-selected, #
|
|
51
|
+
backgroundColor: "var(--ds-background-selected, #E9F2FE)"
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
54
|
});
|
|
@@ -61,7 +61,7 @@ var colorPickerWrapper = function colorPickerWrapper() {
|
|
|
61
61
|
return css({
|
|
62
62
|
borderRadius: "var(--ds-radius-small, 3px)",
|
|
63
63
|
backgroundColor: "var(--ds-surface-overlay, #FFFFFF)",
|
|
64
|
-
boxShadow: "var(--ds-shadow-overlay, 0px 8px 12px #
|
|
64
|
+
boxShadow: "var(--ds-shadow-overlay, 0px 8px 12px #1E1F2126, 0px 0px 1px #1E1F214f)",
|
|
65
65
|
padding: "var(--ds-space-100, 8px)".concat(" 0px")
|
|
66
66
|
});
|
|
67
67
|
};
|
|
@@ -224,7 +224,7 @@ var ColorPickerButton = function ColorPickerButton(props) {
|
|
|
224
224
|
margin: "0px ".concat("var(--ds-space-025, 2px)")
|
|
225
225
|
},
|
|
226
226
|
'&:hover': {
|
|
227
|
-
background: "var(--ds-background-neutral-subtle-hovered, #
|
|
227
|
+
background: "var(--ds-background-neutral-subtle-hovered, #0515240F)"
|
|
228
228
|
}
|
|
229
229
|
});
|
|
230
230
|
};
|
|
@@ -45,7 +45,7 @@ var wrapper = css({
|
|
|
45
45
|
}
|
|
46
46
|
});
|
|
47
47
|
var focusedMenuItemStyle = css({
|
|
48
|
-
boxShadow: "inset 0px 0px 0px 2px ".concat("var(--ds-border-focused, #
|
|
48
|
+
boxShadow: "inset 0px 0px 0px 2px ".concat("var(--ds-border-focused, #4688EC)"),
|
|
49
49
|
outline: 'none'
|
|
50
50
|
});
|
|
51
51
|
var buttonStyles = function buttonStyles(isActive, submenuActive) {
|
|
@@ -65,7 +65,7 @@ var buttonStyles = function buttonStyles(isActive, submenuActive) {
|
|
|
65
65
|
return css(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n\t\t\t> span,\n\t\t\t> span:hover,\n\t\t\t> span:active {\n\t\t\t\tbackground: ", ";\n\t\t\t\tcolor: ", ";\n\t\t\t}\n\t\t\t:focus > span[aria-disabled='false'] {\n\t\t\t\t", ";\n\t\t\t}\n\t\t\t:focus-visible,\n\t\t\t:focus-visible > span[aria-disabled='false'] {\n\t\t\t\toutline: none;\n\t\t\t}\n\t\t"])), "var(--ds-background-selected, #6c798f)", "var(--ds-text-selected, #0C66E4)", focusedMenuItemStyle);
|
|
66
66
|
} else {
|
|
67
67
|
// eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression -- needs manual remediation
|
|
68
|
-
return css(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n\t\t\t> span:hover[aria-disabled='false'] {\n\t\t\t\tcolor: ", ";\n\t\t\t\tbackground-color: ", ";\n\t\t\t}\n\t\t\t", "\n\t\t\t> span[aria-disabled='true'] {\n\t\t\t\tcolor: ", ";\n\t\t\t}\n\t\t\t:focus > span[aria-disabled='false'] {\n\t\t\t\t", ";\n\t\t\t}\n\t\t\t:focus-visible,\n\t\t\t:focus-visible > span[aria-disabled='false'] {\n\t\t\t\toutline: none;\n\t\t\t}\n\t\t"])), "var(--ds-text, #
|
|
68
|
+
return css(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n\t\t\t> span:hover[aria-disabled='false'] {\n\t\t\t\tcolor: ", ";\n\t\t\t\tbackground-color: ", ";\n\t\t\t}\n\t\t\t", "\n\t\t\t> span[aria-disabled='true'] {\n\t\t\t\tcolor: ", ";\n\t\t\t}\n\t\t\t:focus > span[aria-disabled='false'] {\n\t\t\t\t", ";\n\t\t\t}\n\t\t\t:focus-visible,\n\t\t\t:focus-visible > span[aria-disabled='false'] {\n\t\t\t\toutline: none;\n\t\t\t}\n\t\t"])), "var(--ds-text, #292A2E)", "var(--ds-background-neutral-subtle-hovered, rgb(244, 245, 247))", !submenuActive && "\n\t\t\t\t\t> span:active[aria-disabled='false'] {\n\t\t\t\t\t\tbackground-color: ".concat("var(--ds-background-neutral-subtle-pressed, rgb(179, 212, 255))", ";\n\t\t\t\t\t}"), "var(--ds-text-disabled, #080F214A)", focusedMenuItemStyle); // The default focus-visible style is removed to ensure consistency across browsers
|
|
69
69
|
}
|
|
70
70
|
};
|
|
71
71
|
var DropListWithOutsideClickTargetRef = function DropListWithOutsideClickTargetRef(props) {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { transformDedupeMarks, transformIndentationMarks, transformInvalidMediaContent, transformMediaLinkMarks, transformNestedTablesIncomingDocument, transformNodesMissingContent, transformTextLinkCodeMarks } from '@atlaskit/adf-utils/transforms';
|
|
1
|
+
import { syncBlockFallbackTransform, transformDedupeMarks, transformIndentationMarks, transformInvalidMediaContent, transformMediaLinkMarks, transformNestedTablesIncomingDocument, transformNodesMissingContent, transformTextLinkCodeMarks } from '@atlaskit/adf-utils/transforms';
|
|
2
2
|
import { Fragment, Node } from '@atlaskit/editor-prosemirror/model';
|
|
3
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
3
4
|
import { ACTION, ACTION_SUBJECT, EVENT_TYPE } from '../analytics';
|
|
4
5
|
import { sanitizeNodeForPrivacy } from './filter/privacy-filter';
|
|
5
6
|
import { findAndTrackUnsupportedContentNodes } from './track-unsupported-content';
|
|
@@ -59,6 +60,12 @@ export function processRawValueWithoutValidation(schema, value, dispatchAnalytic
|
|
|
59
60
|
// Convert nested-table extensions into nested tables
|
|
60
61
|
var _transformNestedTable2 = transformNestedTablesWithAnalytics(node, dispatchAnalyticsEvent),
|
|
61
62
|
transformedAdf = _transformNestedTable2.transformedAdf;
|
|
63
|
+
if (fg('platform_editor_sync_block_fallback_transform')) {
|
|
64
|
+
var result = syncBlockFallbackTransform(schema, transformedAdf);
|
|
65
|
+
if (result.isTransformed && result.transformedAdf) {
|
|
66
|
+
transformedAdf = result.transformedAdf;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
62
69
|
return Node.fromJSON(schema, transformedAdf);
|
|
63
70
|
}
|
|
64
71
|
export function processRawValue(schema, value, providerFactory, sanitizePrivateContent, contentTransformer, dispatchAnalyticsEvent) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-common",
|
|
3
|
-
"version": "110.24.
|
|
3
|
+
"version": "110.24.3",
|
|
4
4
|
"description": "A package that contains common classes and components for editor and renderer",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"@atlaskit/editor-tables": "^2.9.0",
|
|
51
51
|
"@atlaskit/editor-toolbar": "^0.17.0",
|
|
52
52
|
"@atlaskit/editor-toolbar-model": "^0.2.0",
|
|
53
|
-
"@atlaskit/emoji": "^69.
|
|
53
|
+
"@atlaskit/emoji": "^69.7.0",
|
|
54
54
|
"@atlaskit/icon": "^28.5.0",
|
|
55
55
|
"@atlaskit/icon-object": "^7.3.0",
|
|
56
56
|
"@atlaskit/link": "^3.2.0",
|
|
@@ -249,6 +249,9 @@
|
|
|
249
249
|
"cc_fd_wb_create_priority_in_slash_menu_enabled": {
|
|
250
250
|
"type": "boolean"
|
|
251
251
|
},
|
|
252
|
+
"platform_editor_sync_block_fallback_transform": {
|
|
253
|
+
"type": "boolean"
|
|
254
|
+
},
|
|
252
255
|
"draft_reply_contextual_pills_gate": {
|
|
253
256
|
"type": "boolean"
|
|
254
257
|
}
|