@payloadcms/richtext-lexical 4.0.0-canary.35 → 4.0.0-canary.37
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/exports/client/bundled.css +1 -1
- package/dist/exports/client/index.js +17 -17
- package/dist/exports/client/index.js.map +3 -3
- package/dist/features/toolbars/shared/ToolbarDropdown/index.css +12 -11
- package/dist/field/bundled.css +1 -1
- package/dist/lexical/ui/icons/H3/index.d.ts.map +1 -1
- package/dist/lexical/ui/icons/H3/index.js +13 -6
- package/dist/lexical/ui/icons/H3/index.js.map +1 -1
- package/dist/lexical/ui/icons/H4/index.d.ts.map +1 -1
- package/dist/lexical/ui/icons/H4/index.js +13 -6
- package/dist/lexical/ui/icons/H4/index.js.map +1 -1
- package/dist/lexical/ui/icons/H5/index.d.ts.map +1 -1
- package/dist/lexical/ui/icons/H5/index.js +13 -6
- package/dist/lexical/ui/icons/H5/index.js.map +1 -1
- package/dist/lexical/ui/icons/H6/index.d.ts.map +1 -1
- package/dist/lexical/ui/icons/H6/index.js +13 -6
- package/dist/lexical/ui/icons/H6/index.js.map +1 -1
- package/dist/utilities/upgradeLexicalData/index.js +6 -3
- package/dist/utilities/upgradeLexicalData/index.js.map +1 -1
- package/package.json +8 -8
- package/dist/dependencyChecker.spec.js +0 -16
- package/dist/dependencyChecker.spec.js.map +0 -1
- package/dist/features/converters/lexicalToHtml/sync/alignment.spec.js +0 -92
- package/dist/features/converters/lexicalToHtml/sync/alignment.spec.js.map +0 -1
- package/dist/features/converters/lexicalToJSX/Component/nodeTags.spec.js +0 -114
- package/dist/features/converters/lexicalToJSX/Component/nodeTags.spec.js.map +0 -1
- package/dist/features/converters/lexicalToPlaintext/convertLexicalToPlaintext.spec.js +0 -180
- package/dist/features/converters/lexicalToPlaintext/convertLexicalToPlaintext.spec.js.map +0 -1
- package/dist/features/link/markdownTransformer.spec.js +0 -195
- package/dist/features/link/markdownTransformer.spec.js.map +0 -1
- package/dist/features/toolbars/fixed/client/Toolbar/horizontalWheelScroll.spec.js +0 -65
- package/dist/features/toolbars/fixed/client/Toolbar/horizontalWheelScroll.spec.js.map +0 -1
- package/dist/lexical/utils/markdown/convertFromMarkdownString.spec.js +0 -88
- package/dist/lexical/utils/markdown/convertFromMarkdownString.spec.js.map +0 -1
- package/dist/lexical/utils/url.spec.js +0 -114
- package/dist/lexical/utils/url.spec.js.map +0 -1
- package/dist/utilities/jsx/jsx.spec.js +0 -178
- package/dist/utilities/jsx/jsx.spec.js.map +0 -1
|
@@ -185,20 +185,21 @@
|
|
|
185
185
|
}
|
|
186
186
|
|
|
187
187
|
[data-dropdown-key='text'] {
|
|
188
|
-
|
|
189
|
-
|
|
188
|
+
/* Reserved on every item, not just the active one, so the checkmark never overlaps the item icon. */
|
|
189
|
+
& .toolbar-popup__dropdown-item::before {
|
|
190
|
+
content: '';
|
|
191
|
+
flex-shrink: 0;
|
|
192
|
+
width: var(--spacer-3);
|
|
193
|
+
height: var(--spacer-3);
|
|
194
|
+
background-color: currentColor;
|
|
195
|
+
mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M12.277 3.584a.5.5 0 0 1 .139.693l-5 7.5a.5.5 0 0 1-.77.077l-3-3a.5.5 0 0 1 .708-.708l2.568 2.57 4.662-6.993a.5.5 0 0 1 .693-.139' fill='black'/%3E%3C/svg%3E");
|
|
196
|
+
mask-size: contain;
|
|
197
|
+
mask-repeat: no-repeat;
|
|
198
|
+
visibility: hidden;
|
|
190
199
|
}
|
|
191
200
|
|
|
192
201
|
& .toolbar-popup__dropdown-item.active::before {
|
|
193
|
-
|
|
194
|
-
position: absolute;
|
|
195
|
-
inset-inline-start: var(--spacer-2-5);
|
|
196
|
-
top: 50%;
|
|
197
|
-
width: var(--spacer-1);
|
|
198
|
-
height: var(--spacer-2);
|
|
199
|
-
border: solid var(--color-text-onselected-strong);
|
|
200
|
-
border-width: 0 1px 1px 0;
|
|
201
|
-
transform: translateY(-60%) rotate(45deg);
|
|
202
|
+
visibility: visible;
|
|
202
203
|
}
|
|
203
204
|
|
|
204
205
|
.btn__icon {
|