@bhsd/codemirror-mediawiki 3.4.1 → 3.4.2

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/dist/statusBar.js CHANGED
@@ -166,8 +166,14 @@ export default (cm, fixer) => [
166
166
  display: 'table-cell',
167
167
  },
168
168
  [workerSelector]: {
169
- '-webkitUserSelect': 'none',
169
+ WebkitUserSelect: 'none',
170
170
  userSelect: 'none',
171
+ '--fix-icon': "url('data:image/svg+xml,"
172
+ + '<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20">'
173
+ // eslint-disable-next-line @stylistic/max-len
174
+ + '<path d="M8 19a1 1 0 001 1h2a1 1 0 001-1v-1H8zm9-12a7 7 0 10-12 4.9S7 14 7 15v1a1 1 0 001 1h4a1 1 0 001-1v-1c0-1 2-3.1 2-3.1A7 7 0 0017 7"/>'
175
+ + '</svg>'
176
+ + "')",
171
177
  },
172
178
  [`${workerSelector}>*`]: {
173
179
  display: 'table-cell',
@@ -189,14 +195,13 @@ export default (cm, fixer) => [
189
195
  height: '1em',
190
196
  },
191
197
  [`${disabledSelector},${enabledSelector}`]: {
192
- maskImage: "url('data:image/svg+xml,"
193
- + '<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20">'
194
- // eslint-disable-next-line @stylistic/max-len
195
- + '<path d="M8 19a1 1 0 001 1h2a1 1 0 001-1v-1H8zm9-12a7 7 0 10-12 4.9S7 14 7 15v1a1 1 0 001 1h4a1 1 0 001-1v-1c0-1 2-3.1 2-3.1A7 7 0 0017 7"/>'
196
- + '</svg>'
197
- + "')",
198
+ WebkitMaskImage: 'var(--fix-icon)',
199
+ maskImage: 'var(--fix-icon)',
200
+ WebkitMaskSize: '100%',
198
201
  maskSize: '100%',
202
+ WebkitMaskRepeat: 'no-repeat',
199
203
  maskRepeat: 'no-repeat',
204
+ WebkitMaskPosition: 'center',
200
205
  maskPosition: 'center',
201
206
  },
202
207
  [disabledSelector]: {