@atlaskit/editor-core 209.1.1 → 209.1.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 +18 -0
- package/dist/cjs/ui/ContentStyles/index.js +8 -7
- package/dist/cjs/ui/ContentStyles/status.js +14 -7
- package/dist/cjs/ui/EditorContentContainer/EditorContentContainer.js +15 -7
- package/dist/cjs/ui/EditorContentContainer/styles/findReplaceStyles.js +43 -43
- package/dist/cjs/ui/EditorContentContainer/styles/mentions.js +31 -1
- package/dist/cjs/ui/EditorContentContainer/styles/smartCardStyles.js +102 -1
- package/dist/cjs/ui/EditorContentContainer/styles/statusStyles.js +117 -1
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/ui/ContentStyles/index.js +35 -6
- package/dist/es2019/ui/ContentStyles/status.js +26 -11
- package/dist/es2019/ui/EditorContentContainer/EditorContentContainer.js +19 -11
- package/dist/es2019/ui/EditorContentContainer/styles/findReplaceStyles.js +58 -58
- package/dist/es2019/ui/EditorContentContainer/styles/mentions.js +34 -0
- package/dist/es2019/ui/EditorContentContainer/styles/smartCardStyles.js +153 -0
- package/dist/es2019/ui/EditorContentContainer/styles/statusStyles.js +116 -0
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/ui/ContentStyles/index.js +9 -8
- package/dist/esm/ui/ContentStyles/status.js +14 -7
- package/dist/esm/ui/EditorContentContainer/EditorContentContainer.js +19 -11
- package/dist/esm/ui/EditorContentContainer/styles/findReplaceStyles.js +42 -42
- package/dist/esm/ui/EditorContentContainer/styles/mentions.js +30 -0
- package/dist/esm/ui/EditorContentContainer/styles/smartCardStyles.js +101 -0
- package/dist/esm/ui/EditorContentContainer/styles/statusStyles.js +116 -0
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/ui/ContentStyles/status.d.ts +1 -1
- package/dist/types/ui/EditorContentContainer/styles/findReplaceStyles.d.ts +2 -2
- package/dist/types/ui/EditorContentContainer/styles/mentions.d.ts +1 -0
- package/dist/types/ui/EditorContentContainer/styles/smartCardStyles.d.ts +1 -0
- package/dist/types/ui/EditorContentContainer/styles/statusStyles.d.ts +2 -0
- package/dist/types-ts4.5/ui/ContentStyles/status.d.ts +1 -1
- package/dist/types-ts4.5/ui/EditorContentContainer/styles/findReplaceStyles.d.ts +2 -2
- package/dist/types-ts4.5/ui/EditorContentContainer/styles/mentions.d.ts +1 -0
- package/dist/types-ts4.5/ui/EditorContentContainer/styles/smartCardStyles.d.ts +1 -0
- package/dist/types-ts4.5/ui/EditorContentContainer/styles/statusStyles.d.ts +2 -0
- package/package.json +11 -10
|
@@ -15,7 +15,7 @@ export var findReplaceStyles = css({
|
|
|
15
15
|
});
|
|
16
16
|
|
|
17
17
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
18
|
-
export var
|
|
18
|
+
export var findReplaceStylesNew = css({
|
|
19
19
|
/** Text match styles */
|
|
20
20
|
|
|
21
21
|
/** Light mode */
|
|
@@ -23,31 +23,31 @@ export var findReplaceStylesNewYellow = css({
|
|
|
23
23
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
24
24
|
'.search-match-text': {
|
|
25
25
|
borderRadius: "var(--ds-space-050, 4px)",
|
|
26
|
-
boxShadow: "\n\t\tinset 0 0 0 1px ".concat("var(--ds-background-accent-
|
|
26
|
+
boxShadow: "\n\t\tinset 0 0 0 1px ".concat("var(--ds-background-accent-magenta-subtler-pressed, #E774BB)", ",\n\t\tinset 0 0 0 5px ", "var(--ds-background-accent-magenta-subtler, #FDD0EC)", "\n\t\t"),
|
|
27
27
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
|
|
28
|
-
backgroundColor: "var(--ds-background-accent-
|
|
28
|
+
backgroundColor: "var(--ds-background-accent-magenta-subtler, #FDD0EC)".concat(" !important"),
|
|
29
29
|
color: "var(--ds-text, #172B4D)"
|
|
30
30
|
},
|
|
31
31
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
32
32
|
'.search-match-text.selected-search-match': {
|
|
33
|
-
boxShadow: "\n\t\tinset 0 0 0 1px ".concat("var(--ds-background-accent-
|
|
33
|
+
boxShadow: "\n\t\tinset 0 0 0 1px ".concat("var(--ds-background-accent-magenta-subtler-pressed, #E774BB)", ",\n\t\tinset 0 0 0 5px ", "var(--ds-background-accent-magenta-subtlest-pressed, #F797D2)", "\n\t\t"),
|
|
34
34
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
|
|
35
|
-
backgroundColor: "var(--ds-background-accent-
|
|
35
|
+
backgroundColor: "var(--ds-background-accent-magenta-subtlest-pressed, #F797D2)".concat(" !important")
|
|
36
36
|
},
|
|
37
37
|
/** Dark mode */
|
|
38
38
|
|
|
39
39
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
40
40
|
'.search-match-text.search-match-dark': {
|
|
41
|
-
boxShadow: "\n\t\tinset 0 0 0 1px ".concat("var(--ds-background-accent-
|
|
41
|
+
boxShadow: "\n\t\tinset 0 0 0 1px ".concat("var(--ds-background-accent-magenta-bolder, #AE4787)", ",\n\t\tinset 0 0 0 5px ", "var(--ds-background-accent-magenta-bolder-pressed, #50253F)", "\n\t\t"),
|
|
42
42
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
|
|
43
|
-
backgroundColor: "var(--ds-background-accent-
|
|
43
|
+
backgroundColor: "var(--ds-background-accent-magenta-bolder-pressed, #50253F)".concat(" !important"),
|
|
44
44
|
color: "var(--ds-text-inverse, #FFFFFF)"
|
|
45
45
|
},
|
|
46
46
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
47
47
|
'.search-match-text.selected-search-match.search-match-dark': {
|
|
48
|
-
boxShadow: "\n\t\tinset 0 0 0 1px ".concat("var(--ds-background-accent-
|
|
48
|
+
boxShadow: "\n\t\tinset 0 0 0 1px ".concat("var(--ds-background-accent-magenta-bolder, #AE4787)", ",\n\t\tinset 0 0 0 5px ", "var(--ds-background-accent-magenta-bolder-hovered, #943D73)", "\n\t\t"),
|
|
49
49
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
|
|
50
|
-
backgroundColor: "var(--ds-background-accent-
|
|
50
|
+
backgroundColor: "var(--ds-background-accent-magenta-bolder-hovered, #943D73)".concat(" !important")
|
|
51
51
|
},
|
|
52
52
|
/** Block match styles */
|
|
53
53
|
|
|
@@ -58,22 +58,22 @@ export var findReplaceStylesNewYellow = css({
|
|
|
58
58
|
'.search-match-block': {
|
|
59
59
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
60
60
|
'[data-smart-link-container="true"], .loader-wrapper>div::after': {
|
|
61
|
-
boxShadow: "\n\t\t\tinset 0 0 0 1px ".concat("var(--ds-background-accent-
|
|
61
|
+
boxShadow: "\n\t\t\tinset 0 0 0 1px ".concat("var(--ds-background-accent-magenta-subtler-pressed, #E774BB)", ",\n\t\t\tinset 0 0 0 5px ", "var(--ds-background-accent-magenta-subtler, #FDD0EC)", "\n\t\t\t")
|
|
62
62
|
},
|
|
63
63
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
64
64
|
'.loader-wrapper>a, .lozenge-wrapper, .editor-mention-primitive, .date-lozenger-container>span': {
|
|
65
|
-
boxShadow: "0px 0px 0px 4px ".concat("var(--ds-background-accent-
|
|
65
|
+
boxShadow: "0px 0px 0px 4px ".concat("var(--ds-background-accent-magenta-subtler, #FDD0EC)", ", 0px 0px 0px 5px ", "var(--ds-background-accent-magenta-subtler-pressed, #E774BB)")
|
|
66
66
|
}
|
|
67
67
|
},
|
|
68
68
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
69
69
|
'.search-match-block.search-match-block-selected': {
|
|
70
70
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
71
71
|
'[data-smart-link-container="true"], .loader-wrapper>div::after': {
|
|
72
|
-
boxShadow: "\n\t\t\tinset 0 0 0 1px ".concat("var(--ds-background-accent-
|
|
72
|
+
boxShadow: "\n\t\t\tinset 0 0 0 1px ".concat("var(--ds-background-accent-magenta-subtler-pressed, #E774BB)", ",\n\t\t\tinset 0 0 0 4px ", "var(--ds-background-accent-magenta-subtlest-pressed, #F797D2)", "\n\t\t\t")
|
|
73
73
|
},
|
|
74
74
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
75
75
|
'.loader-wrapper>a, .lozenge-wrapper, .editor-mention-primitive, .date-lozenger-container>span': {
|
|
76
|
-
boxShadow: "0px 0px 0px 4px ".concat("var(--ds-background-accent-
|
|
76
|
+
boxShadow: "0px 0px 0px 4px ".concat("var(--ds-background-accent-magenta-subtlest-pressed, #F797D2)", ", 0px 0px 0px 5px ", "var(--ds-background-accent-magenta-subtler-pressed, #E774BB)")
|
|
77
77
|
}
|
|
78
78
|
},
|
|
79
79
|
/** With node selection */
|
|
@@ -81,24 +81,24 @@ export var findReplaceStylesNewYellow = css({
|
|
|
81
81
|
'.search-match-block.ak-editor-selected-node': {
|
|
82
82
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
83
83
|
'.loader-wrapper>div::after': {
|
|
84
|
-
boxShadow: "\n\t\t\tinset 0 0 0 1px ".concat("var(--ds-background-accent-
|
|
84
|
+
boxShadow: "\n\t\t\tinset 0 0 0 1px ".concat("var(--ds-background-accent-magenta-subtler-pressed, #E774BB)", ",\n\t\t\tinset 0 0 0 5px ", "var(--ds-background-accent-magenta-subtler, #FDD0EC)", ",\n\t\t\t0 0 0 1px ", "var(--ds-border-selected, #0C66E4)", "\n\t\t\t")
|
|
85
85
|
},
|
|
86
86
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
87
87
|
'.loader-wrapper>a, .lozenge-wrapper, .editor-mention-primitive, .date-lozenger-container>span': {
|
|
88
88
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
|
|
89
|
-
boxShadow: "0 0 0 1px ".concat("var(--ds-border-selected, #0C66E4)", ", 0px 0px 0px 4px ", "var(--ds-background-accent-
|
|
89
|
+
boxShadow: "0 0 0 1px ".concat("var(--ds-border-selected, #0C66E4)", ", 0px 0px 0px 4px ", "var(--ds-background-accent-magenta-subtler, #FDD0EC)", ", 0px 0px 0px 5px ", "var(--ds-background-accent-magenta-subtler-pressed, #E774BB)", " !important")
|
|
90
90
|
}
|
|
91
91
|
},
|
|
92
92
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
93
93
|
'.search-match-block.search-match-block-selected.ak-editor-selected-node': {
|
|
94
94
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
95
95
|
'[data-smart-link-container="true"], .loader-wrapper>div::after': {
|
|
96
|
-
boxShadow: "\n\t\t\tinset 0 0 0 1px ".concat("var(--ds-background-accent-
|
|
96
|
+
boxShadow: "\n\t\t\tinset 0 0 0 1px ".concat("var(--ds-background-accent-magenta-subtler-pressed, #E774BB)", ",\n\t\t\tinset 0 0 0 4px ", "var(--ds-background-accent-magenta-subtlest-pressed, #F797D2)", ",\n\t\t\t0 0 0 1px ", "var(--ds-border-selected, #0C66E4)", "\n\t\t\t")
|
|
97
97
|
},
|
|
98
98
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
99
99
|
'.loader-wrapper>a, .lozenge-wrapper, .editor-mention-primitive, .date-lozenger-container>span': {
|
|
100
100
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
|
|
101
|
-
boxShadow: "0 0 0 1px ".concat("var(--ds-border-selected, #0C66E4)", ", 0px 0px 0px 4px ", "var(--ds-background-accent-
|
|
101
|
+
boxShadow: "0 0 0 1px ".concat("var(--ds-border-selected, #0C66E4)", ", 0px 0px 0px 4px ", "var(--ds-background-accent-magenta-subtlest-pressed, #F797D2)", ", 0px 0px 0px 5px ", "var(--ds-background-accent-magenta-subtler-pressed, #E774BB)", " !important")
|
|
102
102
|
}
|
|
103
103
|
},
|
|
104
104
|
/** Dark mode */
|
|
@@ -107,22 +107,22 @@ export var findReplaceStylesNewYellow = css({
|
|
|
107
107
|
'.search-match-block.search-match-dark': {
|
|
108
108
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
109
109
|
'[data-smart-link-container="true"], .loader-wrapper>div::after': {
|
|
110
|
-
boxShadow: "\n\t\t\tinset 0 0 0 1px ".concat("var(--ds-background-accent-
|
|
110
|
+
boxShadow: "\n\t\t\tinset 0 0 0 1px ".concat("var(--ds-background-accent-magenta-bolder, #AE4787)", ",\n\t\t\tinset 0 0 0 5px ", "var(--ds-background-accent-magenta-bolder-pressed, #50253F)", "\n\t\t\t")
|
|
111
111
|
},
|
|
112
112
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
113
113
|
'.loader-wrapper>a, .lozenge-wrapper, .editor-mention-primitive, .date-lozenger-container>span': {
|
|
114
|
-
boxShadow: "0px 0px 0px 4px ".concat("var(--ds-background-accent-
|
|
114
|
+
boxShadow: "0px 0px 0px 4px ".concat("var(--ds-background-accent-magenta-bolder-pressed, #50253F)", ", 0px 0px 0px 5px ", "var(--ds-background-accent-magenta-bolder, #AE4787)")
|
|
115
115
|
}
|
|
116
116
|
},
|
|
117
117
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
118
118
|
'.search-match-block.search-match-block-selected.search-match-dark': {
|
|
119
119
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
120
120
|
'[data-smart-link-container="true"], .loader-wrapper>div::after': {
|
|
121
|
-
boxShadow: "\n\t\t\tinset 0 0 0 1px ".concat("var(--ds-background-accent-
|
|
121
|
+
boxShadow: "\n\t\t\tinset 0 0 0 1px ".concat("var(--ds-background-accent-magenta-bolder, #AE4787)", ",\n\t\t\tinset 0 0 0 4px ", "var(--ds-background-accent-magenta-bolder-hovered, #943D73)", "\n\t\t\t")
|
|
122
122
|
},
|
|
123
123
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
124
124
|
'.loader-wrapper>a, .lozenge-wrapper, .editor-mention-primitive, .date-lozenger-container>span': {
|
|
125
|
-
boxShadow: "0px 0px 0px 4px ".concat("var(--ds-background-accent-
|
|
125
|
+
boxShadow: "0px 0px 0px 4px ".concat("var(--ds-background-accent-magenta-bolder-hovered, #943D73)", ", 0px 0px 0px 5px ", "var(--ds-background-accent-magenta-bolder, #AE4787)")
|
|
126
126
|
}
|
|
127
127
|
},
|
|
128
128
|
/** With node selection */
|
|
@@ -130,24 +130,24 @@ export var findReplaceStylesNewYellow = css({
|
|
|
130
130
|
'.search-match-block.search-match-dark.ak-editor-selected-node': {
|
|
131
131
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
132
132
|
'.loader-wrapper>div::after': {
|
|
133
|
-
boxShadow: "\n\t\t\tinset 0 0 0 1px ".concat("var(--ds-background-accent-
|
|
133
|
+
boxShadow: "\n\t\t\tinset 0 0 0 1px ".concat("var(--ds-background-accent-magenta-bolder, #AE4787)", ",\n\t\t\tinset 0 0 0 5px ", "var(--ds-background-accent-magenta-bolder-pressed, #50253F)", ",\n\t\t\t0 0 0 1px ", "var(--ds-border-selected, #0C66E4)", "\n\t\t\t")
|
|
134
134
|
},
|
|
135
135
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
136
136
|
'.loader-wrapper>a, .lozenge-wrapper, .editor-mention-primitive, .date-lozenger-container>span': {
|
|
137
137
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
|
|
138
|
-
boxShadow: "0 0 0 1px ".concat("var(--ds-border-selected, #0C66E4)", ", 0px 0px 0px 4px ", "var(--ds-background-accent-
|
|
138
|
+
boxShadow: "0 0 0 1px ".concat("var(--ds-border-selected, #0C66E4)", ", 0px 0px 0px 4px ", "var(--ds-background-accent-magenta-bolder-pressed, #50253F)", ", 0px 0px 0px 5px ", "var(--ds-background-accent-magenta-bolder, #AE4787)", " !important")
|
|
139
139
|
}
|
|
140
140
|
},
|
|
141
141
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
142
142
|
'.search-match-block.search-match-block-selected.search-match-dark.ak-editor-selected-node': {
|
|
143
143
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
144
144
|
'[data-smart-link-container="true"], .loader-wrapper>div::after': {
|
|
145
|
-
boxShadow: "\n\t\t\tinset 0 0 0 1px ".concat("var(--ds-background-accent-
|
|
145
|
+
boxShadow: "\n\t\t\tinset 0 0 0 1px ".concat("var(--ds-background-accent-magenta-bolder, #AE4787)", ",\n\t\t\tinset 0 0 0 4px ", "var(--ds-background-accent-magenta-bolder-hovered, #943D73)", ",\n\t\t\t0 0 0 1px ", "var(--ds-border-selected, #0C66E4)", "\n\t\t\t")
|
|
146
146
|
},
|
|
147
147
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
148
148
|
'.loader-wrapper>a, .lozenge-wrapper, .editor-mention-primitive, .date-lozenger-container>span': {
|
|
149
149
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
|
|
150
|
-
boxShadow: "0 0 0 1px ".concat("var(--ds-border-selected, #0C66E4)", ", 0px 0px 0px 4px ", "var(--ds-background-accent-
|
|
150
|
+
boxShadow: "0 0 0 1px ".concat("var(--ds-border-selected, #0C66E4)", ", 0px 0px 0px 4px ", "var(--ds-background-accent-magenta-bolder-hovered, #943D73)", ", 0px 0px 0px 5px ", "var(--ds-background-accent-magenta-bolder, #AE4787)", " !important")
|
|
151
151
|
}
|
|
152
152
|
},
|
|
153
153
|
/** Expand title match styles */
|
|
@@ -157,8 +157,8 @@ export var findReplaceStylesNewYellow = css({
|
|
|
157
157
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
158
158
|
'.search-match-expand-title > .ak-editor-expand__title-container > .ak-editor-expand__input-container': {
|
|
159
159
|
borderRadius: "var(--ds-space-050, 4px)",
|
|
160
|
-
boxShadow: "\n\t\tinset 0 0 0 1px ".concat("var(--ds-background-accent-
|
|
161
|
-
backgroundColor: "var(--ds-background-accent-
|
|
160
|
+
boxShadow: "\n\t\tinset 0 0 0 1px ".concat("var(--ds-background-accent-magenta-subtler-pressed, #E774BB)", ",\n\t\tinset 0 0 0 5px ", "var(--ds-background-accent-magenta-subtler, #FDD0EC)", "\n\t\t"),
|
|
161
|
+
backgroundColor: "var(--ds-background-accent-magenta-subtler, #FDD0EC)",
|
|
162
162
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
163
163
|
'.ak-editor-expand__title-input': {
|
|
164
164
|
color: "var(--ds-text, #172B4D)"
|
|
@@ -166,15 +166,15 @@ export var findReplaceStylesNewYellow = css({
|
|
|
166
166
|
},
|
|
167
167
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
168
168
|
'.search-match-expand-title.selected-search-match > .ak-editor-expand__title-container > .ak-editor-expand__input-container': {
|
|
169
|
-
boxShadow: "\n\t\tinset 0 0 0 1px ".concat("var(--ds-background-accent-
|
|
170
|
-
backgroundColor: "var(--ds-background-accent-
|
|
169
|
+
boxShadow: "\n\t\tinset 0 0 0 1px ".concat("var(--ds-background-accent-magenta-subtler-pressed, #E774BB)", ",\n\t\tinset 0 0 0 5px ", "var(--ds-background-accent-magenta-subtlest-pressed, #F797D2)", "\n\t\t"),
|
|
170
|
+
backgroundColor: "var(--ds-background-accent-magenta-subtlest-pressed, #F797D2)"
|
|
171
171
|
},
|
|
172
172
|
/** Dark mode */
|
|
173
173
|
|
|
174
174
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
175
175
|
'.search-match-expand-title.search-match-dark > .ak-editor-expand__title-container > .ak-editor-expand__input-container': {
|
|
176
|
-
boxShadow: "\n\t\tinset 0 0 0 1px ".concat("var(--ds-background-accent-
|
|
177
|
-
backgroundColor: "var(--ds-background-accent-
|
|
176
|
+
boxShadow: "\n\t\tinset 0 0 0 1px ".concat("var(--ds-background-accent-magenta-bolder, #AE4787)", ",\n\t\tinset 0 0 0 5px ", "var(--ds-background-accent-magenta-bolder-pressed, #50253F)", "\n\t\t"),
|
|
177
|
+
backgroundColor: "var(--ds-background-accent-magenta-bolder-pressed, #50253F)",
|
|
178
178
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
179
179
|
'.ak-editor-expand__title-input': {
|
|
180
180
|
color: "var(--ds-text-inverse, #FFFFFF)"
|
|
@@ -182,13 +182,13 @@ export var findReplaceStylesNewYellow = css({
|
|
|
182
182
|
},
|
|
183
183
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
184
184
|
'.search-match-expand-title.selected-search-match.search-match-dark > .ak-editor-expand__title-container > .ak-editor-expand__input-container': {
|
|
185
|
-
boxShadow: "\n\t\tinset 0 0 0 1px ".concat("var(--ds-background-accent-
|
|
186
|
-
backgroundColor: "var(--ds-background-accent-
|
|
185
|
+
boxShadow: "\n\t\tinset 0 0 0 1px ".concat("var(--ds-background-accent-magenta-bolder, #AE4787)", ",\n\t\tinset 0 0 0 5px ", "var(--ds-background-accent-magenta-bolder-hovered, #943D73)", "\n\t\t"),
|
|
186
|
+
backgroundColor: "var(--ds-background-accent-magenta-bolder-hovered, #943D73)"
|
|
187
187
|
}
|
|
188
188
|
});
|
|
189
189
|
|
|
190
190
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
191
|
-
export var
|
|
191
|
+
export var findReplaceStylesNewNoImportant = css({
|
|
192
192
|
/** Text match styles */
|
|
193
193
|
|
|
194
194
|
/** Light mode */
|
|
@@ -197,6 +197,7 @@ export var findReplaceStylesNewMagenta = css({
|
|
|
197
197
|
'.search-match-text': {
|
|
198
198
|
borderRadius: "var(--ds-space-050, 4px)",
|
|
199
199
|
boxShadow: "\n\t\tinset 0 0 0 1px ".concat("var(--ds-background-accent-magenta-subtler-pressed, #E774BB)", ",\n\t\tinset 0 0 0 5px ", "var(--ds-background-accent-magenta-subtler, #FDD0EC)", "\n\t\t"),
|
|
200
|
+
// we need to use !important here as we need to override inline selection styles
|
|
200
201
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
|
|
201
202
|
backgroundColor: "var(--ds-background-accent-magenta-subtler, #FDD0EC)".concat(" !important"),
|
|
202
203
|
color: "var(--ds-text, #172B4D)"
|
|
@@ -204,6 +205,7 @@ export var findReplaceStylesNewMagenta = css({
|
|
|
204
205
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
205
206
|
'.search-match-text.selected-search-match': {
|
|
206
207
|
boxShadow: "\n\t\tinset 0 0 0 1px ".concat("var(--ds-background-accent-magenta-subtler-pressed, #E774BB)", ",\n\t\tinset 0 0 0 5px ", "var(--ds-background-accent-magenta-subtlest-pressed, #F797D2)", "\n\t\t"),
|
|
208
|
+
// we need to use !important here as we need to override inline selection styles
|
|
207
209
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
|
|
208
210
|
backgroundColor: "var(--ds-background-accent-magenta-subtlest-pressed, #F797D2)".concat(" !important")
|
|
209
211
|
},
|
|
@@ -212,6 +214,7 @@ export var findReplaceStylesNewMagenta = css({
|
|
|
212
214
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
213
215
|
'.search-match-text.search-match-dark': {
|
|
214
216
|
boxShadow: "\n\t\tinset 0 0 0 1px ".concat("var(--ds-background-accent-magenta-bolder, #AE4787)", ",\n\t\tinset 0 0 0 5px ", "var(--ds-background-accent-magenta-bolder-pressed, #50253F)", "\n\t\t"),
|
|
217
|
+
// we need to use !important here as we need to override inline selection styles
|
|
215
218
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
|
|
216
219
|
backgroundColor: "var(--ds-background-accent-magenta-bolder-pressed, #50253F)".concat(" !important"),
|
|
217
220
|
color: "var(--ds-text-inverse, #FFFFFF)"
|
|
@@ -219,6 +222,7 @@ export var findReplaceStylesNewMagenta = css({
|
|
|
219
222
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
220
223
|
'.search-match-text.selected-search-match.search-match-dark': {
|
|
221
224
|
boxShadow: "\n\t\tinset 0 0 0 1px ".concat("var(--ds-background-accent-magenta-bolder, #AE4787)", ",\n\t\tinset 0 0 0 5px ", "var(--ds-background-accent-magenta-bolder-hovered, #943D73)", "\n\t\t"),
|
|
225
|
+
// we need to use !important here as we need to override inline selection styles
|
|
222
226
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
|
|
223
227
|
backgroundColor: "var(--ds-background-accent-magenta-bolder-hovered, #943D73)".concat(" !important")
|
|
224
228
|
},
|
|
@@ -258,8 +262,7 @@ export var findReplaceStylesNewMagenta = css({
|
|
|
258
262
|
},
|
|
259
263
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
260
264
|
'.loader-wrapper>a, .lozenge-wrapper, .editor-mention-primitive, .date-lozenger-container>span': {
|
|
261
|
-
|
|
262
|
-
boxShadow: "0 0 0 1px ".concat("var(--ds-border-selected, #0C66E4)", ", 0px 0px 0px 4px ", "var(--ds-background-accent-magenta-subtler, #FDD0EC)", ", 0px 0px 0px 5px ", "var(--ds-background-accent-magenta-subtler-pressed, #E774BB)", " !important")
|
|
265
|
+
boxShadow: "0 0 0 1px ".concat("var(--ds-border-selected, #0C66E4)", ", 0px 0px 0px 4px ", "var(--ds-background-accent-magenta-subtler, #FDD0EC)", ", 0px 0px 0px 5px ", "var(--ds-background-accent-magenta-subtler-pressed, #E774BB)")
|
|
263
266
|
}
|
|
264
267
|
},
|
|
265
268
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
@@ -270,8 +273,7 @@ export var findReplaceStylesNewMagenta = css({
|
|
|
270
273
|
},
|
|
271
274
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
272
275
|
'.loader-wrapper>a, .lozenge-wrapper, .editor-mention-primitive, .date-lozenger-container>span': {
|
|
273
|
-
|
|
274
|
-
boxShadow: "0 0 0 1px ".concat("var(--ds-border-selected, #0C66E4)", ", 0px 0px 0px 4px ", "var(--ds-background-accent-magenta-subtlest-pressed, #F797D2)", ", 0px 0px 0px 5px ", "var(--ds-background-accent-magenta-subtler-pressed, #E774BB)", " !important")
|
|
276
|
+
boxShadow: "0 0 0 1px ".concat("var(--ds-border-selected, #0C66E4)", ", 0px 0px 0px 4px ", "var(--ds-background-accent-magenta-subtlest-pressed, #F797D2)", ", 0px 0px 0px 5px ", "var(--ds-background-accent-magenta-subtler-pressed, #E774BB)")
|
|
275
277
|
}
|
|
276
278
|
},
|
|
277
279
|
/** Dark mode */
|
|
@@ -307,8 +309,7 @@ export var findReplaceStylesNewMagenta = css({
|
|
|
307
309
|
},
|
|
308
310
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
309
311
|
'.loader-wrapper>a, .lozenge-wrapper, .editor-mention-primitive, .date-lozenger-container>span': {
|
|
310
|
-
|
|
311
|
-
boxShadow: "0 0 0 1px ".concat("var(--ds-border-selected, #0C66E4)", ", 0px 0px 0px 4px ", "var(--ds-background-accent-magenta-bolder-pressed, #50253F)", ", 0px 0px 0px 5px ", "var(--ds-background-accent-magenta-bolder, #AE4787)", " !important")
|
|
312
|
+
boxShadow: "0 0 0 1px ".concat("var(--ds-border-selected, #0C66E4)", ", 0px 0px 0px 4px ", "var(--ds-background-accent-magenta-bolder-pressed, #50253F)", ", 0px 0px 0px 5px ", "var(--ds-background-accent-magenta-bolder, #AE4787)")
|
|
312
313
|
}
|
|
313
314
|
},
|
|
314
315
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
@@ -319,8 +320,7 @@ export var findReplaceStylesNewMagenta = css({
|
|
|
319
320
|
},
|
|
320
321
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
321
322
|
'.loader-wrapper>a, .lozenge-wrapper, .editor-mention-primitive, .date-lozenger-container>span': {
|
|
322
|
-
|
|
323
|
-
boxShadow: "0 0 0 1px ".concat("var(--ds-border-selected, #0C66E4)", ", 0px 0px 0px 4px ", "var(--ds-background-accent-magenta-bolder-hovered, #943D73)", ", 0px 0px 0px 5px ", "var(--ds-background-accent-magenta-bolder, #AE4787)", " !important")
|
|
323
|
+
boxShadow: "0 0 0 1px ".concat("var(--ds-border-selected, #0C66E4)", ", 0px 0px 0px 4px ", "var(--ds-background-accent-magenta-bolder-hovered, #943D73)", ", 0px 0px 0px 5px ", "var(--ds-background-accent-magenta-bolder, #AE4787)")
|
|
324
324
|
}
|
|
325
325
|
},
|
|
326
326
|
/** Expand title match styles */
|
|
@@ -112,4 +112,34 @@ export var mentionsSelectionStyles = css(_defineProperty({
|
|
|
112
112
|
backgroundSelectionStyles,
|
|
113
113
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
114
114
|
hideNativeBrowserTextSelectionStyles, mentionsSelectedColor]
|
|
115
|
+
}));
|
|
116
|
+
|
|
117
|
+
// This is mentions styles for mentions selection styles based on the vanilla node view
|
|
118
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
119
|
+
export var mentionsSelectionStylesWithSearchMatch = css(_defineProperty(_defineProperty({
|
|
120
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
121
|
+
'.danger': {
|
|
122
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
123
|
+
'.editor-mention-primitive': {
|
|
124
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values
|
|
125
|
+
boxShadow: "0 0 0 ".concat(akEditorSelectedBorderSize, "px ").concat(akEditorDeleteBorder),
|
|
126
|
+
backgroundColor: "var(--ds-background-danger, #FFECEB)"
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
}, ".".concat(akEditorSelectedNodeClassName), {
|
|
130
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
131
|
+
'> .editor-mention-primitive, > .editor-mention-primitive.mention-self, > .editor-mention-primitive.mention-restricted':
|
|
132
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values,
|
|
133
|
+
[
|
|
134
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
135
|
+
backgroundSelectionStyles,
|
|
136
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
137
|
+
hideNativeBrowserTextSelectionStyles, mentionsSelectedColor]
|
|
138
|
+
}), ".".concat(akEditorSelectedNodeClassName, ":not('.search-match-block')"), {
|
|
139
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
140
|
+
'> .editor-mention-primitive, > .editor-mention-primitive.mention-self, > .editor-mention-primitive.mention-restricted':
|
|
141
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values,
|
|
142
|
+
[
|
|
143
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
144
|
+
boxShadowSelectionStyles]
|
|
115
145
|
}));
|
|
@@ -119,6 +119,107 @@ hideNativeBrowserTextSelectionStyles]), '&.danger', {
|
|
|
119
119
|
padding: 0
|
|
120
120
|
}));
|
|
121
121
|
|
|
122
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
123
|
+
export var smartCardStylesWithSearchMatch = css(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, ".".concat(SmartCardSharedCssClassName.INLINE_CARD_CONTAINER), _defineProperty(_defineProperty(_defineProperty(_defineProperty({
|
|
124
|
+
maxWidth: 'calc(100% - 20px)',
|
|
125
|
+
verticalAlign: 'top',
|
|
126
|
+
wordBreak: 'break-all',
|
|
127
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
128
|
+
'.card-with-comment': {
|
|
129
|
+
background: "var(--ds-background-accent-yellow-subtler, #F8E6A0)",
|
|
130
|
+
borderBottom: "2px solid ".concat("var(--ds-border-accent-yellow, #B38600)"),
|
|
131
|
+
boxShadow: "var(--ds-shadow-overlay, 0px 8px 12px #091E4226, 0px 0px 1px #091E424f)"
|
|
132
|
+
},
|
|
133
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
134
|
+
'.card': _defineProperty({
|
|
135
|
+
paddingLeft: "var(--ds-space-025, 2px)",
|
|
136
|
+
paddingRight: "var(--ds-space-025, 2px)",
|
|
137
|
+
paddingTop: "var(--ds-space-100, 0.5em)",
|
|
138
|
+
paddingBottom: "var(--ds-space-100, 0.5em)",
|
|
139
|
+
marginBottom: "var(--ds-space-negative-100, -0.5em)"
|
|
140
|
+
}, ".".concat(SmartCardSharedCssClassName.LOADER_WRAPPER, " > a:focus"), [
|
|
141
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
142
|
+
boxShadowSelectionStyles,
|
|
143
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
144
|
+
hideNativeBrowserTextSelectionStyles])
|
|
145
|
+
}, "&.ak-editor-selected-node .".concat(SmartCardSharedCssClassName.LOADER_WRAPPER, " > a"), [
|
|
146
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
147
|
+
hideNativeBrowserTextSelectionStyles]), "&.ak-editor-selected-node:not(.search-match-block) .".concat(SmartCardSharedCssClassName.LOADER_WRAPPER, " > a"),
|
|
148
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values
|
|
149
|
+
[
|
|
150
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
151
|
+
boxShadowSelectionStyles]), ".".concat(SmartCardSharedCssClassName.LOADER_WRAPPER, " > a"), {
|
|
152
|
+
// EDM-1717: box-shadow Safari fix start
|
|
153
|
+
zIndex: 1,
|
|
154
|
+
position: 'relative'
|
|
155
|
+
}), '&.danger', _defineProperty({}, ".".concat(SmartCardSharedCssClassName.LOADER_WRAPPER, " > a"), {
|
|
156
|
+
boxShadow: "0 0 0 1px ".concat("var(--ds-border-danger, #E2483D)"),
|
|
157
|
+
// EDM-1717: box-shadow Safari fix start
|
|
158
|
+
zIndex: 2
|
|
159
|
+
// EDM-1717: box-shadow Safari fix end
|
|
160
|
+
}))), ".".concat(SmartCardSharedCssClassName.BLOCK_CARD_CONTAINER), _defineProperty(_defineProperty({
|
|
161
|
+
display: 'block',
|
|
162
|
+
margin: '0.75rem 0 0',
|
|
163
|
+
maxWidth: "".concat(8 * 95, "px")
|
|
164
|
+
}, "&.ak-editor-selected-node .".concat(SmartCardSharedCssClassName.LOADER_WRAPPER, " > div"), [
|
|
165
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
166
|
+
boxShadowSelectionStyles,
|
|
167
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
168
|
+
hideNativeBrowserTextSelectionStyles, {
|
|
169
|
+
borderRadius: "var(--ds-border-radius-200, 8px)"
|
|
170
|
+
}]), '&.danger', _defineProperty({}, ".".concat(SmartCardSharedCssClassName.LOADER_WRAPPER, " > div"), {
|
|
171
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
|
|
172
|
+
boxShadow: "0 0 0 1px ".concat("var(--ds-border-danger, #E2483D)", " !important")
|
|
173
|
+
}))), ".".concat(SmartCardSharedCssClassName.DATASOURCE_CONTAINER, ".").concat(SmartCardSharedCssClassName.BLOCK_CARD_CONTAINER), _defineProperty(_defineProperty(_defineProperty({
|
|
174
|
+
maxWidth: '100%',
|
|
175
|
+
display: 'flex',
|
|
176
|
+
justifyContent: 'center'
|
|
177
|
+
}, ".".concat(DATASOURCE_INNER_CONTAINER_CLASSNAME), {
|
|
178
|
+
cursor: 'pointer',
|
|
179
|
+
backgroundColor: "var(--ds-background-neutral-subtle, #00000000)",
|
|
180
|
+
borderRadius: "var(--ds-border-radius-200, 8px)",
|
|
181
|
+
border: "1px solid ".concat("var(--ds-border, #091E4224)"),
|
|
182
|
+
overflow: 'hidden'
|
|
183
|
+
}), '&.ak-editor-selected-node', _defineProperty({}, ".".concat(DATASOURCE_INNER_CONTAINER_CLASSNAME), [
|
|
184
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
185
|
+
boxShadowSelectionStyles,
|
|
186
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
187
|
+
hideNativeBrowserTextSelectionStyles, {
|
|
188
|
+
'input::selection': {
|
|
189
|
+
backgroundColor: "var(--ds-background-selected-hovered, #CCE0FF)"
|
|
190
|
+
},
|
|
191
|
+
'input::-moz-selection': {
|
|
192
|
+
backgroundColor: "var(--ds-background-selected-hovered, #CCE0FF)"
|
|
193
|
+
}
|
|
194
|
+
}])), '&.danger', _defineProperty({}, ".".concat(DATASOURCE_INNER_CONTAINER_CLASSNAME), {
|
|
195
|
+
boxShadow: "0 0 0 1px ".concat("var(--ds-border-danger, #E2483D)")
|
|
196
|
+
}))), ".".concat(SmartCardSharedCssClassName.EMBED_CARD_CONTAINER), _defineProperty(_defineProperty(_defineProperty(_defineProperty({}, ".".concat(SmartCardSharedCssClassName.LOADER_WRAPPER, " > div"), {
|
|
197
|
+
cursor: 'pointer',
|
|
198
|
+
'&::after': {
|
|
199
|
+
transition: 'box-shadow 0s'
|
|
200
|
+
}
|
|
201
|
+
}), "&.ak-editor-selected-node .".concat(SmartCardSharedCssClassName.LOADER_WRAPPER, " > div::after"), [
|
|
202
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
203
|
+
hideNativeBrowserTextSelectionStyles]), "&.ak-editor-selected-node:not(.search-match-block) .".concat(SmartCardSharedCssClassName.LOADER_WRAPPER, " > div::after"),
|
|
204
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values
|
|
205
|
+
[
|
|
206
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
207
|
+
boxShadowSelectionStyles]), '&.danger', {
|
|
208
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
209
|
+
'.media-card-frame::after': {
|
|
210
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
|
|
211
|
+
boxShadow: "0 0 0 1px ".concat("var(--ds-border-danger, #E2483D)", " !important"),
|
|
212
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
|
|
213
|
+
background: "var(--ds-background-danger, #FFECEB)".concat(" !important")
|
|
214
|
+
},
|
|
215
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
216
|
+
'.richMedia-resize-handle-right::after, .richMedia-resize-handle-left::after': {
|
|
217
|
+
background: "var(--ds-border-danger, #E2483D)"
|
|
218
|
+
}
|
|
219
|
+
})), ".".concat(FLOATING_TOOLBAR_LINKPICKER_CLASSNAME), {
|
|
220
|
+
padding: 0
|
|
221
|
+
}));
|
|
222
|
+
|
|
122
223
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
123
224
|
export var smartLinksInLivePagesStyles = css(_defineProperty(_defineProperty({}, ".".concat(SmartCardSharedCssClassName.BLOCK_CARD_CONTAINER), _defineProperty({}, ".".concat(SmartCardSharedCssClassName.LOADER_WRAPPER, " > div"), {
|
|
124
225
|
cursor: 'text',
|
|
@@ -117,6 +117,52 @@ export var statusStylesMixin_fg_platform_component_visual_refresh = css({
|
|
|
117
117
|
}
|
|
118
118
|
});
|
|
119
119
|
|
|
120
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
121
|
+
export var statusStylesMixin_fg_platform_component_visual_refresh_with_search_match = css({
|
|
122
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
123
|
+
'.statusView-content-wrap:not(.search-match-block)': {
|
|
124
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
125
|
+
'&.ak-editor-selected-node .status-lozenge-span > span': {
|
|
126
|
+
boxShadow: "0 0 0 2px ".concat("var(--ds-border-selected, #0C66E4)")
|
|
127
|
+
}
|
|
128
|
+
},
|
|
129
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
130
|
+
'[data-prosemirror-node-name="status"] .lozenge-text': {
|
|
131
|
+
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage
|
|
132
|
+
color: '#292A2E'
|
|
133
|
+
},
|
|
134
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
135
|
+
'[data-prosemirror-node-name="status"] > [data-color=neutral] > .lozenge-wrapper': {
|
|
136
|
+
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage
|
|
137
|
+
backgroundColor: '#DDDEE1'
|
|
138
|
+
},
|
|
139
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
140
|
+
'[data-prosemirror-node-name="status"] > [data-color=purple] > .lozenge-wrapper': {
|
|
141
|
+
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage
|
|
142
|
+
backgroundColor: '#D8A0F7'
|
|
143
|
+
},
|
|
144
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
145
|
+
'[data-prosemirror-node-name="status"] > [data-color=blue] > .lozenge-wrapper': {
|
|
146
|
+
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage
|
|
147
|
+
backgroundColor: '#8FB8F6'
|
|
148
|
+
},
|
|
149
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
150
|
+
'[data-prosemirror-node-name="status"] > [data-color=yellow] > .lozenge-wrapper': {
|
|
151
|
+
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage
|
|
152
|
+
backgroundColor: '#F9C84E'
|
|
153
|
+
},
|
|
154
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
155
|
+
'[data-prosemirror-node-name="status"] > [data-color=red] > .lozenge-wrapper': {
|
|
156
|
+
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage
|
|
157
|
+
backgroundColor: '#FD9891'
|
|
158
|
+
},
|
|
159
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
160
|
+
'[data-prosemirror-node-name="status"] > [data-color=green] > .lozenge-wrapper': {
|
|
161
|
+
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage
|
|
162
|
+
backgroundColor: '#B3DF72'
|
|
163
|
+
}
|
|
164
|
+
});
|
|
165
|
+
|
|
120
166
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
121
167
|
export var statusStylesMixin_without_fg_platform_component_visual_refresh = css({
|
|
122
168
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
@@ -185,4 +231,74 @@ export var statusStylesMixin_without_fg_platform_component_visual_refresh = css(
|
|
|
185
231
|
'[data-prosemirror-node-name="status"] > [data-color=green] .lozenge-text': {
|
|
186
232
|
color: "var(--ds-text-success, #216E4E)"
|
|
187
233
|
}
|
|
234
|
+
});
|
|
235
|
+
|
|
236
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
237
|
+
export var statusStylesMixin_without_fg_platform_component_visual_refresh_with_search_match = css({
|
|
238
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
239
|
+
'.statusView-content-wrap:not(.search-match-block)': {
|
|
240
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
241
|
+
'&.ak-editor-selected-node .status-lozenge-span > span': {
|
|
242
|
+
// getSelectionStyles([SelectionStyle.BoxShadow]);
|
|
243
|
+
boxShadow: "0 0 0 1px ".concat("var(--ds-border-selected, #0C66E4)"),
|
|
244
|
+
borderColor: 'transparent',
|
|
245
|
+
// hideNativeBrowserTextSelectionStyles
|
|
246
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
247
|
+
'&::selection, & *::selection': {
|
|
248
|
+
backgroundColor: 'transparent'
|
|
249
|
+
},
|
|
250
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
251
|
+
'&::-moz-selection, & *::-moz-selection': {
|
|
252
|
+
backgroundColor: 'transparent'
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
},
|
|
256
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
257
|
+
'[data-prosemirror-node-name="status"] > [data-color=neutral] .lozenge-wrapper': {
|
|
258
|
+
backgroundColor: "var(--ds-background-neutral, #091E420F)"
|
|
259
|
+
},
|
|
260
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
261
|
+
'[data-prosemirror-node-name="status"] > [data-color=neutral] .lozenge-text': {
|
|
262
|
+
color: "var(--ds-text-subtle, #44546F)"
|
|
263
|
+
},
|
|
264
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
265
|
+
'[data-prosemirror-node-name="status"] > [data-color=purple] .lozenge-wrapper': {
|
|
266
|
+
backgroundColor: "var(--ds-background-discovery, #F3F0FF)"
|
|
267
|
+
},
|
|
268
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
269
|
+
'[data-prosemirror-node-name="status"] > [data-color=purple] .lozenge-text': {
|
|
270
|
+
color: "var(--ds-text-discovery, #5E4DB2)"
|
|
271
|
+
},
|
|
272
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
273
|
+
'[data-prosemirror-node-name="status"] > [data-color=blue] .lozenge-wrapper': {
|
|
274
|
+
backgroundColor: "var(--ds-background-information, #E9F2FF)"
|
|
275
|
+
},
|
|
276
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
277
|
+
'[data-prosemirror-node-name="status"] > [data-color=blue] .lozenge-text': {
|
|
278
|
+
color: "var(--ds-text-information, #0055CC)"
|
|
279
|
+
},
|
|
280
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
281
|
+
'[data-prosemirror-node-name="status"] > [data-color=yellow] .lozenge-wrapper': {
|
|
282
|
+
backgroundColor: "var(--ds-background-warning, #FFF7D6)"
|
|
283
|
+
},
|
|
284
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
285
|
+
'[data-prosemirror-node-name="status"] > [data-color=yellow] .lozenge-text': {
|
|
286
|
+
color: "var(--ds-text-warning, #A54800)"
|
|
287
|
+
},
|
|
288
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
289
|
+
'[data-prosemirror-node-name="status"] > [data-color=red] .lozenge-wrapper': {
|
|
290
|
+
backgroundColor: "var(--ds-background-danger, #FFECEB)"
|
|
291
|
+
},
|
|
292
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
293
|
+
'[data-prosemirror-node-name="status"] > [data-color=red] .lozenge-text': {
|
|
294
|
+
color: "var(--ds-text-danger, #AE2E24)"
|
|
295
|
+
},
|
|
296
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
297
|
+
'[data-prosemirror-node-name="status"] > [data-color=green] .lozenge-wrapper': {
|
|
298
|
+
backgroundColor: "var(--ds-background-success, #DCFFF1)"
|
|
299
|
+
},
|
|
300
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
301
|
+
'[data-prosemirror-node-name="status"] > [data-color=green] .lozenge-text': {
|
|
302
|
+
color: "var(--ds-text-success, #216E4E)"
|
|
303
|
+
}
|
|
188
304
|
});
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export var name = "@atlaskit/editor-core";
|
|
2
|
-
export var version = "209.1.
|
|
2
|
+
export var version = "209.1.2";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export declare const statusNodeStyles: () => import("@emotion/react").SerializedStyles;
|
|
2
|
-
export declare const statusStyles: import("@emotion/react").SerializedStyles;
|
|
2
|
+
export declare const statusStyles: () => import("@emotion/react").SerializedStyles;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export declare const findReplaceStyles: import("@emotion/react").SerializedStyles;
|
|
2
|
-
export declare const
|
|
3
|
-
export declare const
|
|
2
|
+
export declare const findReplaceStylesNew: import("@emotion/react").SerializedStyles;
|
|
3
|
+
export declare const findReplaceStylesNewNoImportant: import("@emotion/react").SerializedStyles;
|
|
@@ -2,3 +2,4 @@ export declare const mentionsStyles: import("@emotion/react").SerializedStyles;
|
|
|
2
2
|
export declare const mentionNodeStyles: import("@emotion/react").SerializedStyles;
|
|
3
3
|
export declare const mentionsStylesMixin_platform_editor_centre_mention_padding: import("@emotion/react").SerializedStyles;
|
|
4
4
|
export declare const mentionsSelectionStyles: import("@emotion/react").SerializedStyles;
|
|
5
|
+
export declare const mentionsSelectionStylesWithSearchMatch: import("@emotion/react").SerializedStyles;
|
|
@@ -9,6 +9,7 @@ export declare const SmartCardSharedCssClassName: {
|
|
|
9
9
|
};
|
|
10
10
|
export declare const editorControlsSmartCardStyles: import("@emotion/react").SerializedStyles;
|
|
11
11
|
export declare const smartCardStyles: import("@emotion/react").SerializedStyles;
|
|
12
|
+
export declare const smartCardStylesWithSearchMatch: import("@emotion/react").SerializedStyles;
|
|
12
13
|
export declare const smartLinksInLivePagesStyles: import("@emotion/react").SerializedStyles;
|
|
13
14
|
export declare const smartLinksInLivePagesStylesOld: import("@emotion/react").SerializedStyles;
|
|
14
15
|
export declare const linkingVisualRefreshV1Styles: import("@emotion/react").SerializedStyles;
|
|
@@ -1,3 +1,5 @@
|
|
|
1
1
|
export declare const statusStyles: import("@emotion/react").SerializedStyles;
|
|
2
2
|
export declare const statusStylesMixin_fg_platform_component_visual_refresh: import("@emotion/react").SerializedStyles;
|
|
3
|
+
export declare const statusStylesMixin_fg_platform_component_visual_refresh_with_search_match: import("@emotion/react").SerializedStyles;
|
|
3
4
|
export declare const statusStylesMixin_without_fg_platform_component_visual_refresh: import("@emotion/react").SerializedStyles;
|
|
5
|
+
export declare const statusStylesMixin_without_fg_platform_component_visual_refresh_with_search_match: import("@emotion/react").SerializedStyles;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export declare const statusNodeStyles: () => import("@emotion/react").SerializedStyles;
|
|
2
|
-
export declare const statusStyles: import("@emotion/react").SerializedStyles;
|
|
2
|
+
export declare const statusStyles: () => import("@emotion/react").SerializedStyles;
|