@baasix/lexical 0.0.3 → 0.0.5
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/{ExcalidrawComponent-GZYLHNOY.js → ExcalidrawComponent-MA23PUNN.js} +113 -12
- package/dist/ExcalidrawComponent-MA23PUNN.js.map +1 -0
- package/dist/{chunk-N22RKA5D.js → chunk-RIV43XYA.js} +15 -14
- package/dist/chunk-RIV43XYA.js.map +1 -0
- package/dist/content.css +700 -0
- package/dist/content.css.map +1 -0
- package/dist/content.js +1 -0
- package/dist/content.js.map +1 -0
- package/dist/index.css +139 -0
- package/dist/index.css.map +1 -1
- package/dist/index.js +109 -52
- package/dist/index.js.map +1 -1
- package/dist/plus-CQISIKEC.svg +1 -0
- package/package.json +3 -2
- package/dist/ExcalidrawComponent-GZYLHNOY.js.map +0 -1
- package/dist/chunk-N22RKA5D.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/themes/PlaygroundEditorTheme.css"],"sourcesContent":["/**\r\n * Copyright (c) Meta Platforms, Inc. and affiliates.\r\n *\r\n * This source code is licensed under the MIT license found in the\r\n * LICENSE file in the root directory of this source tree.\r\n *\r\n *\r\n */\r\n:root {\r\n --lexical-indent-base-value: 40px;\r\n}\r\n.PlaygroundEditorTheme__paragraph {\r\n margin: 0;\r\n position: relative;\r\n}\r\n.PlaygroundEditorTheme__quote {\r\n margin: 0;\r\n margin-left: 20px;\r\n margin-bottom: 10px;\r\n font-size: 15px;\r\n color: rgb(101, 103, 107);\r\n border-left-color: rgb(206, 208, 212);\r\n border-left-width: 4px;\r\n border-left-style: solid;\r\n padding-left: 16px;\r\n}\r\n.PlaygroundEditorTheme__h1 {\r\n font-size: 24px;\r\n color: rgb(5, 5, 5);\r\n font-weight: 400;\r\n margin: 0;\r\n}\r\n.PlaygroundEditorTheme__h2 {\r\n font-size: 15px;\r\n color: rgb(101, 103, 107);\r\n font-weight: 700;\r\n margin: 0;\r\n text-transform: uppercase;\r\n}\r\n.PlaygroundEditorTheme__h3 {\r\n font-size: 12px;\r\n margin: 0;\r\n text-transform: uppercase;\r\n}\r\n.PlaygroundEditorTheme__textBold {\r\n font-weight: bold;\r\n}\r\n.PlaygroundEditorTheme__paragraph mark {\r\n background-color: unset;\r\n}\r\n.PlaygroundEditorTheme__textHighlight {\r\n background: rgba(255, 212, 0, 0.14);\r\n border-bottom: 2px solid rgba(255, 212, 0, 0.3);\r\n}\r\n.PlaygroundEditorTheme__textItalic {\r\n font-style: italic;\r\n}\r\n.PlaygroundEditorTheme__textUnderline {\r\n text-decoration: underline;\r\n}\r\n\r\n.PlaygroundEditorTheme__textStrikethrough {\r\n text-decoration: line-through;\r\n}\r\n\r\n.PlaygroundEditorTheme__textUnderlineStrikethrough {\r\n text-decoration: underline line-through;\r\n}\r\n\r\n.PlaygroundEditorTheme__tabNode {\r\n position: relative;\r\n text-decoration: none;\r\n}\r\n\r\n.PlaygroundEditorTheme__tabNode.PlaygroundEditorTheme__textUnderline::after {\r\n content: '';\r\n position: absolute;\r\n left: 0;\r\n right: 0;\r\n bottom: 0.15em;\r\n border-bottom: 0.1em solid currentColor;\r\n}\r\n\r\n.PlaygroundEditorTheme__tabNode.PlaygroundEditorTheme__textStrikethrough::before {\r\n content: '';\r\n position: absolute;\r\n left: 0;\r\n right: 0;\r\n top: 0.69em;\r\n border-top: 0.1em solid currentColor;\r\n}\r\n\r\n.PlaygroundEditorTheme__tabNode.PlaygroundEditorTheme__textUnderlineStrikethrough::before,\r\n.PlaygroundEditorTheme__tabNode.PlaygroundEditorTheme__textUnderlineStrikethrough::after {\r\n content: '';\r\n position: absolute;\r\n left: 0;\r\n right: 0;\r\n}\r\n\r\n.PlaygroundEditorTheme__tabNode.PlaygroundEditorTheme__textUnderlineStrikethrough::before {\r\n top: 0.69em;\r\n border-top: 0.1em solid currentColor;\r\n}\r\n\r\n.PlaygroundEditorTheme__tabNode.PlaygroundEditorTheme__textUnderlineStrikethrough::after {\r\n bottom: 0.05em;\r\n border-bottom: 0.1em solid currentColor;\r\n}\r\n\r\n.PlaygroundEditorTheme__textSubscript {\r\n font-size: 0.8em;\r\n vertical-align: sub !important;\r\n}\r\n.PlaygroundEditorTheme__textSuperscript {\r\n font-size: 0.8em;\r\n vertical-align: super;\r\n}\r\n.PlaygroundEditorTheme__textCode {\r\n background-color: rgb(240, 242, 245);\r\n padding: 1px 0.25rem;\r\n font-family: Menlo, Consolas, Monaco, monospace;\r\n font-size: 94%;\r\n}\r\n.PlaygroundEditorTheme__textLowercase {\r\n text-transform: lowercase;\r\n}\r\n.PlaygroundEditorTheme__textUppercase {\r\n text-transform: uppercase;\r\n}\r\n.PlaygroundEditorTheme__textCapitalize {\r\n text-transform: capitalize;\r\n}\r\n.PlaygroundEditorTheme__hashtag {\r\n background-color: rgba(88, 144, 255, 0.15);\r\n border-bottom: 1px solid rgba(88, 144, 255, 0.3);\r\n}\r\n.PlaygroundEditorTheme__link {\r\n color: rgb(33, 111, 219);\r\n text-decoration: none;\r\n}\r\n.PlaygroundEditorTheme__link:hover {\r\n text-decoration: underline;\r\n cursor: pointer;\r\n}\r\n.PlaygroundEditorTheme__blockCursor {\r\n display: block;\r\n pointer-events: none;\r\n position: absolute;\r\n}\r\n.PlaygroundEditorTheme__blockCursor:after {\r\n content: '';\r\n display: block;\r\n position: absolute;\r\n top: -2px;\r\n width: 20px;\r\n border-top: 1px solid black;\r\n animation: CursorBlink 1.1s steps(2, start) infinite;\r\n}\r\n@keyframes CursorBlink {\r\n to {\r\n visibility: hidden;\r\n }\r\n}\r\n.PlaygroundEditorTheme__code {\r\n background-color: rgb(240, 242, 245);\r\n font-family: Menlo, Consolas, Monaco, monospace;\r\n display: block;\r\n line-height: 1.53;\r\n font-size: 13px;\r\n padding-top: 8px;\r\n margin: 0;\r\n margin-top: 8px;\r\n margin-bottom: 8px;\r\n overflow-x: auto;\r\n position: relative;\r\n tab-size: 2;\r\n white-space: pre;\r\n max-width: 100%;\r\n box-sizing: border-box;\r\n}\r\n.PlaygroundEditorTheme__code:before {\r\n content: attr(data-gutter);\r\n position: sticky;\r\n background-color: #eee;\r\n left: 0;\r\n float: left;\r\n top: 0;\r\n z-index: 3;\r\n min-height: 100%;\r\n border-right: 1px solid #ccc;\r\n padding: 8px;\r\n color: #777;\r\n white-space: pre-wrap;\r\n text-align: right;\r\n min-width: 25px;\r\n margin-right: 10px;\r\n margin-top: -8px;\r\n padding: 8px;\r\n}\r\n.PlaygroundEditorTheme__tableScrollableWrapper {\r\n overflow-x: auto;\r\n margin: 0px 0px 5px 0px;\r\n}\r\n.PlaygroundEditorTheme__tableScrollRight {\r\n box-shadow: inset -10px 0 10px rgba(0, 0, 0, 0.15);\r\n}\r\n.PlaygroundEditorTheme__tableScrollLeft {\r\n box-shadow: inset 10px 0 10px rgba(0, 0, 0, 0.15);\r\n}\r\n.PlaygroundEditorTheme__tableScrollMiddle {\r\n box-shadow:\r\n inset 10px 0 10px rgba(0, 0, 0, 0.15),\r\n inset -10px 0 10px rgba(0, 0, 0, 0.15);\r\n}\r\n.PlaygroundEditorTheme__tableScrollableWrapper > .PlaygroundEditorTheme__table {\r\n /* Remove the table's vertical margin and put it on the wrapper */\r\n margin-top: 0;\r\n margin-bottom: 0;\r\n}\r\n.PlaygroundEditorTheme__tableAlignmentCenter {\r\n margin-left: auto;\r\n margin-right: auto;\r\n}\r\n.PlaygroundEditorTheme__tableAlignmentRight {\r\n margin-left: auto;\r\n}\r\n.PlaygroundEditorTheme__table {\r\n border-collapse: collapse;\r\n border-spacing: 0;\r\n overflow-y: scroll;\r\n overflow-x: scroll;\r\n table-layout: fixed;\r\n width: fit-content;\r\n margin-top: 25px;\r\n margin-bottom: 30px;\r\n}\r\n.PlaygroundEditorTheme__tableScrollableWrapper.PlaygroundEditorTheme__tableFrozenRow {\r\n /* position:sticky needs overflow:clip or visible\r\n https://github.com/w3c/csswg-drafts/issues/865#issuecomment-350585274 */\r\n overflow-x: clip;\r\n}\r\n.PlaygroundEditorTheme__tableFrozenRow tr:nth-of-type(1) > td {\r\n overflow: clip;\r\n background-color: #ffffff;\r\n position: sticky;\r\n z-index: 2;\r\n top: 44px;\r\n}\r\n.PlaygroundEditorTheme__tableFrozenRow tr:nth-of-type(1) > th {\r\n overflow: clip;\r\n background-color: #f2f3f5;\r\n position: sticky;\r\n z-index: 2;\r\n top: 44px;\r\n}\r\n.PlaygroundEditorTheme__tableFrozenRow tr:nth-of-type(1) > th:after,\r\n.PlaygroundEditorTheme__tableFrozenRow tr:nth-of-type(1) > td:after {\r\n content: '';\r\n position: absolute;\r\n left: 0;\r\n bottom: 0;\r\n width: 100%;\r\n border-bottom: 1px solid #bbb;\r\n}\r\n.PlaygroundEditorTheme__tableFrozenColumn tr > td:first-child {\r\n background-color: #ffffff;\r\n position: sticky;\r\n z-index: 2;\r\n left: 0;\r\n}\r\n.PlaygroundEditorTheme__tableFrozenColumn tr > th:first-child {\r\n background-color: #f2f3f5;\r\n position: sticky;\r\n z-index: 2;\r\n left: 0;\r\n}\r\n.PlaygroundEditorTheme__tableFrozenColumn tr > :first-child::after {\r\n content: '';\r\n position: absolute;\r\n left: 0;\r\n top: 0;\r\n right: 0;\r\n height: 100%;\r\n border-right: 1px solid #bbb;\r\n}\r\n.PlaygroundEditorTheme__tableRowStriping tr:nth-child(even),\r\n.PlaygroundEditorTheme__tableFrozenColumn\r\n .PlaygroundEditorTheme__table.PlaygroundEditorTheme__tableRowStriping\r\n tr:nth-child(even)\r\n > td:first-child {\r\n background-color: #f2f5fb;\r\n}\r\n.PlaygroundEditorTheme__tableSelection *::selection {\r\n background-color: transparent;\r\n}\r\n.PlaygroundEditorTheme__tableSelected {\r\n outline: 2px solid rgb(60, 132, 244);\r\n}\r\n.PlaygroundEditorTheme__tableCell {\r\n border: 1px solid #bbb;\r\n width: 75px;\r\n vertical-align: top;\r\n text-align: start;\r\n padding: 6px 8px;\r\n position: relative;\r\n outline: none;\r\n overflow: auto;\r\n}\r\n/*\r\n A firefox workaround to allow scrolling of overflowing table cell\r\n ref: https://bugzilla.mozilla.org/show_bug.cgi?id=1904159\r\n*/\r\n.PlaygroundEditorTheme__tableCell > * {\r\n overflow: inherit;\r\n}\r\n.PlaygroundEditorTheme__tableCellResizer {\r\n position: absolute;\r\n right: -4px;\r\n height: 100%;\r\n width: 8px;\r\n cursor: ew-resize;\r\n z-index: 10;\r\n top: 0;\r\n}\r\n.PlaygroundEditorTheme__tableCellHeader {\r\n background-color: #f2f3f5;\r\n text-align: start;\r\n}\r\n.PlaygroundEditorTheme__tableCellSelected {\r\n caret-color: transparent;\r\n}\r\n.PlaygroundEditorTheme__tableCellSelected::after {\r\n position: absolute;\r\n left: 0;\r\n right: 0;\r\n bottom: 0;\r\n top: 0;\r\n background-color: highlight;\r\n mix-blend-mode: multiply;\r\n content: '';\r\n pointer-events: none;\r\n}\r\n.PlaygroundEditorTheme__tableAddColumns {\r\n position: absolute;\r\n background-color: #eee;\r\n height: 100%;\r\n animation: table-controls 0.2s ease;\r\n border: 0;\r\n cursor: pointer;\r\n}\r\n.PlaygroundEditorTheme__tableAddColumns:after {\r\n background-image: url(../images/icons/plus.svg);\r\n background-size: contain;\r\n background-position: center;\r\n background-repeat: no-repeat;\r\n display: block;\r\n content: ' ';\r\n position: absolute;\r\n top: 0;\r\n left: 0;\r\n width: 100%;\r\n height: 100%;\r\n opacity: 0.4;\r\n}\r\n.PlaygroundEditorTheme__tableAddColumns:hover,\r\n.PlaygroundEditorTheme__tableAddRows:hover {\r\n background-color: #c9dbf0;\r\n}\r\n.PlaygroundEditorTheme__tableAddRows {\r\n position: absolute;\r\n width: calc(100% - 25px);\r\n background-color: #eee;\r\n animation: table-controls 0.2s ease;\r\n border: 0;\r\n cursor: pointer;\r\n}\r\n.PlaygroundEditorTheme__tableAddRows:after {\r\n background-image: url(../images/icons/plus.svg);\r\n background-size: contain;\r\n background-position: center;\r\n background-repeat: no-repeat;\r\n display: block;\r\n content: ' ';\r\n position: absolute;\r\n top: 0;\r\n left: 0;\r\n width: 100%;\r\n height: 100%;\r\n opacity: 0.4;\r\n}\r\n@keyframes table-controls {\r\n 0% {\r\n opacity: 0;\r\n }\r\n 100% {\r\n opacity: 1;\r\n }\r\n}\r\n.PlaygroundEditorTheme__tableCellResizeRuler {\r\n display: block;\r\n position: absolute;\r\n width: 1px;\r\n background-color: rgb(60, 132, 244);\r\n height: 100%;\r\n top: 0;\r\n}\r\n.PlaygroundEditorTheme__tableCellActionButtonContainer {\r\n display: block;\r\n right: 5px;\r\n top: 6px;\r\n position: absolute;\r\n z-index: 4;\r\n width: 20px;\r\n height: 20px;\r\n}\r\n.PlaygroundEditorTheme__tableCellActionButton {\r\n background-color: #eee;\r\n display: block;\r\n border: 0;\r\n border-radius: 20px;\r\n width: 20px;\r\n height: 20px;\r\n color: #222;\r\n cursor: pointer;\r\n}\r\n.PlaygroundEditorTheme__tableCellActionButton:hover {\r\n background-color: #ddd;\r\n}\r\n.PlaygroundEditorTheme__characterLimit {\r\n display: inline;\r\n background-color: #ffbbbb !important;\r\n}\r\n.PlaygroundEditorTheme__ol1 {\r\n padding: 0;\r\n margin: 0;\r\n list-style-type: decimal;\r\n list-style-position: outside;\r\n}\r\n.PlaygroundEditorTheme__ol2 {\r\n padding: 0;\r\n margin: 0;\r\n list-style-type: upper-alpha;\r\n list-style-position: outside;\r\n}\r\n.PlaygroundEditorTheme__ol3 {\r\n padding: 0;\r\n margin: 0;\r\n list-style-type: lower-alpha;\r\n list-style-position: outside;\r\n}\r\n.PlaygroundEditorTheme__ol4 {\r\n padding: 0;\r\n margin: 0;\r\n list-style-type: upper-roman;\r\n list-style-position: outside;\r\n}\r\n.PlaygroundEditorTheme__ol5 {\r\n padding: 0;\r\n margin: 0;\r\n list-style-type: lower-roman;\r\n list-style-position: outside;\r\n}\r\n.PlaygroundEditorTheme__ul {\r\n padding: 0;\r\n margin: 0;\r\n list-style-type: disc;\r\n list-style-position: outside;\r\n}\r\n.PlaygroundEditorTheme__listItem {\r\n margin: 0 32px;\r\n font-family: var(--listitem-marker-font-family);\r\n font-size: var(--listitem-marker-font-size);\r\n background-color: var(--listitem-marker-background-color);\r\n}\r\n.PlaygroundEditorTheme__listItem::marker {\r\n color: var(--listitem-marker-color);\r\n background-color: var(--listitem-marker-background-color);\r\n font-family: var(--listitem-marker-font-family);\r\n font-size: var(--listitem-marker-font-size);\r\n}\r\n.PlaygroundEditorTheme__listItemChecked,\r\n.PlaygroundEditorTheme__listItemUnchecked {\r\n position: relative;\r\n margin-left: 0.5em;\r\n margin-right: 0.5em;\r\n padding-left: 1.5em;\r\n padding-right: 1.5em;\r\n list-style-type: none;\r\n outline: none;\r\n display: block;\r\n min-height: 1.5em;\r\n}\r\n.PlaygroundEditorTheme__listItemChecked > *,\r\n.PlaygroundEditorTheme__listItemUnchecked > * {\r\n margin-left: 0.01em;\r\n}\r\n.PlaygroundEditorTheme__listItemUnchecked:before,\r\n.PlaygroundEditorTheme__listItemChecked:before {\r\n content: '\\200B';\r\n width: 0.9em;\r\n height: 0.9em;\r\n top: 50%;\r\n left: 0;\r\n cursor: pointer;\r\n display: block;\r\n background-size: cover;\r\n position: absolute;\r\n transform: translateY(-50%);\r\n}\r\n.PlaygroundEditorTheme__listItemChecked {\r\n text-decoration: line-through;\r\n}\r\n.PlaygroundEditorTheme__listItemUnchecked:focus:before,\r\n.PlaygroundEditorTheme__listItemChecked:focus:before {\r\n box-shadow: 0 0 0 2px #a6cdfe;\r\n border-radius: 2px;\r\n}\r\n.PlaygroundEditorTheme__listItemUnchecked:before {\r\n border: 1px solid #999;\r\n border-radius: 2px;\r\n}\r\n.PlaygroundEditorTheme__listItemChecked:before {\r\n border: 1px solid rgb(61, 135, 245);\r\n border-radius: 2px;\r\n background-color: #3d87f5;\r\n background-repeat: no-repeat;\r\n}\r\n.PlaygroundEditorTheme__listItemChecked:after {\r\n content: '';\r\n cursor: pointer;\r\n border-color: #fff;\r\n border-style: solid;\r\n position: absolute;\r\n display: block;\r\n top: 45%;\r\n width: 0.2em;\r\n left: 0.35em;\r\n height: 0.4em;\r\n transform: translateY(-50%) rotate(45deg);\r\n border-width: 0 0.1em 0.1em 0;\r\n}\r\n.PlaygroundEditorTheme__nestedListItem {\r\n list-style-type: none;\r\n}\r\n.PlaygroundEditorTheme__nestedListItem:before,\r\n.PlaygroundEditorTheme__nestedListItem:after {\r\n display: none;\r\n}\r\n.PlaygroundEditorTheme__tokenComment {\r\n color: slategray;\r\n}\r\n.PlaygroundEditorTheme__tokenDeleted {\r\n border-image: linear-gradient(to right, #ffcecb 50%, #ffebe9 50%) fill 0/0/0\r\n 100vw;\r\n}\r\n.PlaygroundEditorTheme__tokenInserted {\r\n border-image: linear-gradient(to right, #aceebb 50%, #dafbe1 50%) fill 0/0/0\r\n 100vw;\r\n}\r\n.PlaygroundEditorTheme__tokenUnchanged {\r\n border-image: linear-gradient(to right, #ddd 50%, #f0f2f5 50%) fill 0/0/0\r\n 100vw;\r\n}\r\n.PlaygroundEditorTheme__tokenPunctuation {\r\n color: #999;\r\n}\r\n.PlaygroundEditorTheme__tokenProperty {\r\n color: #905;\r\n}\r\n.PlaygroundEditorTheme__tokenSelector {\r\n color: #690;\r\n}\r\n.PlaygroundEditorTheme__tokenOperator {\r\n color: #9a6e3a;\r\n}\r\n.PlaygroundEditorTheme__tokenAttr {\r\n color: #07a;\r\n}\r\n.PlaygroundEditorTheme__tokenVariable {\r\n color: #e90;\r\n}\r\n.PlaygroundEditorTheme__tokenFunction {\r\n color: #dd4a68;\r\n}\r\n.PlaygroundEditorTheme__mark {\r\n background: rgba(255, 212, 0, 0.14);\r\n border-bottom: 2px solid rgba(255, 212, 0, 0.3);\r\n padding-bottom: 2px;\r\n}\r\n.PlaygroundEditorTheme__markOverlap {\r\n background: rgba(255, 212, 0, 0.3);\r\n border-bottom: 2px solid rgba(255, 212, 0, 0.7);\r\n}\r\n.PlaygroundEditorTheme__mark.selected {\r\n background: rgba(255, 212, 0, 0.5);\r\n border-bottom: 2px solid rgba(255, 212, 0, 1);\r\n}\r\n.PlaygroundEditorTheme__markOverlap.selected {\r\n background: rgba(255, 212, 0, 0.7);\r\n border-bottom: 2px solid rgba(255, 212, 0, 0.7);\r\n}\r\n.PlaygroundEditorTheme__embedBlock {\r\n user-select: none;\r\n}\r\n.PlaygroundEditorTheme__embedBlockFocus {\r\n outline: 2px solid rgb(60, 132, 244);\r\n}\r\n.PlaygroundEditorTheme__layoutContainer {\r\n display: grid;\r\n gap: 10px;\r\n margin: 10px 0;\r\n}\r\n.PlaygroundEditorTheme__layoutItem {\r\n border: 1px dashed #ddd;\r\n padding: 8px 16px;\r\n min-width: 0;\r\n max-width: 100%;\r\n}\r\n.PlaygroundEditorTheme__autocomplete {\r\n color: #ccc;\r\n}\r\n.PlaygroundEditorTheme__hr {\r\n padding: 2px 2px;\r\n border: none;\r\n margin: 1em 0;\r\n cursor: pointer;\r\n}\r\n.PlaygroundEditorTheme__hr:after {\r\n content: '';\r\n display: block;\r\n height: 2px;\r\n background-color: #ccc;\r\n line-height: 2px;\r\n}\r\n.PlaygroundEditorTheme__hr.PlaygroundEditorTheme__hrSelected {\r\n outline: 2px solid rgb(60, 132, 244);\r\n user-select: none;\r\n}\r\n\r\n.PlaygroundEditorTheme__specialText {\r\n background-color: yellow;\r\n font-weight: bold;\r\n}\r\n\r\n.PlaygroundEditorTheme__contextMenu {\r\n outline: 0;\r\n background: #fff;\r\n border: 1px solid #ddd;\r\n box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.3);\r\n border-radius: 8px;\r\n}\r\n.PlaygroundEditorTheme__contextMenu button:first-child {\r\n border-radius: 8px 8px 0px 0px;\r\n}\r\n.PlaygroundEditorTheme__contextMenu button:last-child {\r\n border-radius: 0px 0px 8px 8px;\r\n}\r\n.PlaygroundEditorTheme__contextMenuItem {\r\n width: 100%;\r\n display: block;\r\n}\r\n.PlaygroundEditorTheme__contextMenuItem {\r\n display: flex;\r\n justify-content: left;\r\n width: 100%;\r\n background-color: #fff;\r\n color: #050505;\r\n border: 0;\r\n border-radius: 0px;\r\n font-size: 15px;\r\n text-align: left;\r\n line-height: 20px;\r\n padding: 8px;\r\n padding-right: 14px;\r\n outline: 0;\r\n cursor: pointer;\r\n}\r\n.PlaygroundEditorTheme__contextMenuItem.open {\r\n background: #ddd;\r\n}\r\n.PlaygroundEditorTheme__contextMenuItem:focus,\r\n.PlaygroundEditorTheme__contextMenuItem:not([disabled]):active {\r\n background: #eee;\r\n}\r\n.PlaygroundEditorTheme__contextMenuItem:disabled {\r\n background: #fff;\r\n color: #aaa;\r\n cursor: not-allowed;\r\n}\r\n.PlaygroundEditorTheme__contextMenuItemIcon {\r\n width: 20px;\r\n margin-right: 8px;\r\n background-repeat: no-repeat;\r\n background-size: contain;\r\n}\r\n\r\n/* ===== Custom overrides for app integration ===== */\r\n\r\n/* Force editor content area to always be light regardless of app dark mode */\r\n.editor-shell .ContentEditable__root {\r\n background: #fff !important;\r\n color: #000 !important;\r\n}\r\n\r\n/* Ensure editor UI elements appear above Radix Sheet overlays (z-index ~50).\r\n These elements are portaled to document.body by Lexical. */\r\n.floating-text-format-popup,\r\n.link-editor,\r\n.typeahead-popover,\r\n.emoji-menu,\r\n.mentions-menu,\r\n.auto-embed-menu,\r\n.component-picker-menu,\r\n.dropdown,\r\n.color-picker-wrapper,\r\n.Modal__overlay {\r\n z-index: 10000 !important;\r\n}\r\n"],"mappings":";AAQA;AACE,+BAA6B;AAC/B;AACA,CAAC;AACC,UAAQ;AACR,YAAU;AACZ;AACA,CAAC;AACC,UAAQ;AACR,eAAa;AACb,iBAAe;AACf,aAAW;AACX,SAAO,IAAI,GAAG,EAAE,GAAG,EAAE;AACrB,qBAAmB,IAAI,GAAG,EAAE,GAAG,EAAE;AACjC,qBAAmB;AACnB,qBAAmB;AACnB,gBAAc;AAChB;AACA,CAAC;AACC,aAAW;AACX,SAAO,IAAI,CAAC,EAAE,CAAC,EAAE;AACjB,eAAa;AACb,UAAQ;AACV;AACA,CAAC;AACC,aAAW;AACX,SAA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AIA,CAAC;AACD,CAAC;AACD,CAAC;AACD,CAAC;AACD,CAAC;AACD,CAAC;AACD,CAAC;AACD,CAAC;AACD,CAAC;AACD,CAAC;AACC,WAAS;AACX;","names":[]}
|
package/dist/content.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=content.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
package/dist/index.css
CHANGED
|
@@ -1250,6 +1250,106 @@ i.page-break,
|
|
|
1250
1250
|
.editor-shell .editor-image .image-edit-button:hover {
|
|
1251
1251
|
background-color: rgba(60, 132, 244, 0.1);
|
|
1252
1252
|
}
|
|
1253
|
+
.editor-shell .editor-image .image-resize-button {
|
|
1254
|
+
border: 1px solid rgba(0, 0, 0, 0.3);
|
|
1255
|
+
border-radius: 5px;
|
|
1256
|
+
background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16">%0A <path fill-rule="evenodd" d="M5.828 10.172a.5.5 0 0 0-.707 0l-4.096 4.096V11.5a.5.5 0 0 0-1 0v3.975a.5.5 0 0 0 .5.5H4.5a.5.5 0 0 0 0-1H1.732l4.096-4.096a.5.5 0 0 0 0-.707m4.344-4.344a.5.5 0 0 0 .707 0l4.096-4.096V4.5a.5.5 0 1 0 1 0V.525a.5.5 0 0 0-.5-.5H11.5a.5.5 0 0 0 0 1h2.768l-4.096 4.096a.5.5 0 0 0 0 .707"/>%0A</svg>%0A');
|
|
1257
|
+
background-size: 16px;
|
|
1258
|
+
background-position: center;
|
|
1259
|
+
background-repeat: no-repeat;
|
|
1260
|
+
width: 35px;
|
|
1261
|
+
height: 35px;
|
|
1262
|
+
vertical-align: -0.25em;
|
|
1263
|
+
position: absolute;
|
|
1264
|
+
right: 44px;
|
|
1265
|
+
top: 4px;
|
|
1266
|
+
cursor: pointer;
|
|
1267
|
+
user-select: none;
|
|
1268
|
+
}
|
|
1269
|
+
.editor-shell .editor-image .image-resize-button:hover {
|
|
1270
|
+
background-color: rgba(60, 132, 244, 0.1);
|
|
1271
|
+
}
|
|
1272
|
+
.excalidraw-resize-overlay {
|
|
1273
|
+
position: fixed;
|
|
1274
|
+
inset: 0;
|
|
1275
|
+
z-index: 10001;
|
|
1276
|
+
background: rgba(0, 0, 0, 0.3);
|
|
1277
|
+
display: flex;
|
|
1278
|
+
align-items: center;
|
|
1279
|
+
justify-content: center;
|
|
1280
|
+
pointer-events: auto;
|
|
1281
|
+
}
|
|
1282
|
+
.excalidraw-resize-dialog {
|
|
1283
|
+
background: #fff;
|
|
1284
|
+
border-radius: 8px;
|
|
1285
|
+
padding: 20px 24px;
|
|
1286
|
+
min-width: 300px;
|
|
1287
|
+
box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
|
|
1288
|
+
}
|
|
1289
|
+
.excalidraw-resize-dialog__title {
|
|
1290
|
+
font-size: 16px;
|
|
1291
|
+
font-weight: 600;
|
|
1292
|
+
margin-bottom: 16px;
|
|
1293
|
+
color: #1a1a1a;
|
|
1294
|
+
}
|
|
1295
|
+
.excalidraw-resize-dialog__fields {
|
|
1296
|
+
display: flex;
|
|
1297
|
+
gap: 12px;
|
|
1298
|
+
margin-bottom: 8px;
|
|
1299
|
+
}
|
|
1300
|
+
.excalidraw-resize-dialog__label {
|
|
1301
|
+
display: flex;
|
|
1302
|
+
flex-direction: column;
|
|
1303
|
+
gap: 4px;
|
|
1304
|
+
font-size: 13px;
|
|
1305
|
+
font-weight: 500;
|
|
1306
|
+
color: #555;
|
|
1307
|
+
flex: 1;
|
|
1308
|
+
}
|
|
1309
|
+
.excalidraw-resize-dialog__input {
|
|
1310
|
+
padding: 6px 10px;
|
|
1311
|
+
border: 1px solid #d1d5db;
|
|
1312
|
+
border-radius: 6px;
|
|
1313
|
+
font-size: 14px;
|
|
1314
|
+
outline: none;
|
|
1315
|
+
transition: border-color 0.15s;
|
|
1316
|
+
}
|
|
1317
|
+
.excalidraw-resize-dialog__input:focus {
|
|
1318
|
+
border-color: rgb(60, 132, 244);
|
|
1319
|
+
box-shadow: 0 0 0 2px rgba(60, 132, 244, 0.15);
|
|
1320
|
+
}
|
|
1321
|
+
.excalidraw-resize-dialog__hint {
|
|
1322
|
+
font-size: 12px;
|
|
1323
|
+
color: #888;
|
|
1324
|
+
margin-bottom: 16px;
|
|
1325
|
+
}
|
|
1326
|
+
.excalidraw-resize-dialog__actions {
|
|
1327
|
+
display: flex;
|
|
1328
|
+
justify-content: flex-end;
|
|
1329
|
+
gap: 8px;
|
|
1330
|
+
}
|
|
1331
|
+
.excalidraw-resize-dialog__btn {
|
|
1332
|
+
padding: 6px 16px;
|
|
1333
|
+
border-radius: 6px;
|
|
1334
|
+
font-size: 13px;
|
|
1335
|
+
font-weight: 500;
|
|
1336
|
+
cursor: pointer;
|
|
1337
|
+
border: 1px solid #d1d5db;
|
|
1338
|
+
background: #fff;
|
|
1339
|
+
color: #333;
|
|
1340
|
+
transition: background-color 0.15s;
|
|
1341
|
+
}
|
|
1342
|
+
.excalidraw-resize-dialog__btn:hover {
|
|
1343
|
+
background: #f5f5f5;
|
|
1344
|
+
}
|
|
1345
|
+
.excalidraw-resize-dialog__btn--save {
|
|
1346
|
+
background: rgb(60, 132, 244);
|
|
1347
|
+
color: #fff;
|
|
1348
|
+
border-color: rgb(60, 132, 244);
|
|
1349
|
+
}
|
|
1350
|
+
.excalidraw-resize-dialog__btn--save:hover {
|
|
1351
|
+
background: rgb(45, 115, 225);
|
|
1352
|
+
}
|
|
1253
1353
|
.editor-shell .editor-image .image-resizer {
|
|
1254
1354
|
display: block;
|
|
1255
1355
|
width: 7px;
|
|
@@ -1458,6 +1558,38 @@ button.action-button:disabled {
|
|
|
1458
1558
|
background: #eee;
|
|
1459
1559
|
cursor: not-allowed;
|
|
1460
1560
|
}
|
|
1561
|
+
.action-button-spinner {
|
|
1562
|
+
display: inline-block;
|
|
1563
|
+
width: 15px;
|
|
1564
|
+
height: 15px;
|
|
1565
|
+
vertical-align: -0.25em;
|
|
1566
|
+
border: 2px solid #ccc;
|
|
1567
|
+
border-top-color: #555;
|
|
1568
|
+
border-radius: 50%;
|
|
1569
|
+
animation: action-spinner-spin 0.6s linear infinite;
|
|
1570
|
+
}
|
|
1571
|
+
@keyframes action-spinner-spin {
|
|
1572
|
+
to {
|
|
1573
|
+
transform: rotate(360deg);
|
|
1574
|
+
}
|
|
1575
|
+
}
|
|
1576
|
+
.editor-converting-overlay {
|
|
1577
|
+
position: absolute;
|
|
1578
|
+
inset: 0;
|
|
1579
|
+
display: flex;
|
|
1580
|
+
flex-direction: column;
|
|
1581
|
+
align-items: center;
|
|
1582
|
+
justify-content: center;
|
|
1583
|
+
gap: 8px;
|
|
1584
|
+
background: rgba(255, 255, 255, 0.8);
|
|
1585
|
+
z-index: 100;
|
|
1586
|
+
pointer-events: none;
|
|
1587
|
+
}
|
|
1588
|
+
.editor-converting-label {
|
|
1589
|
+
font-size: 13px;
|
|
1590
|
+
color: #555;
|
|
1591
|
+
font-weight: 500;
|
|
1592
|
+
}
|
|
1461
1593
|
@keyframes mic-pulsate-color {
|
|
1462
1594
|
0% {
|
|
1463
1595
|
background-color: #ffdcdc;
|
|
@@ -1733,11 +1865,18 @@ button.toolbar-item.active i {
|
|
|
1733
1865
|
height: 12px;
|
|
1734
1866
|
background-size: contain;
|
|
1735
1867
|
}
|
|
1868
|
+
.editor-shell span.editor-excalidraw {
|
|
1869
|
+
display: block;
|
|
1870
|
+
width: 100%;
|
|
1871
|
+
}
|
|
1736
1872
|
.excalidraw-button {
|
|
1737
1873
|
border: 0;
|
|
1738
1874
|
padding: 0;
|
|
1739
1875
|
margin: 0;
|
|
1740
1876
|
background-color: transparent;
|
|
1877
|
+
display: block;
|
|
1878
|
+
cursor: default;
|
|
1879
|
+
position: relative;
|
|
1741
1880
|
}
|
|
1742
1881
|
.excalidraw-button.selected {
|
|
1743
1882
|
outline: 2px solid rgb(60, 132, 244);
|