@milkdown/crepe 7.4.0 → 7.5.1
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/lib/cjs/clsx-dASsG01A.js +6 -0
- package/lib/cjs/clsx-dASsG01A.js.map +1 -0
- package/lib/cjs/{index-5PcT4iSf.js → index--2zEz40J.js} +8 -22
- package/lib/cjs/{index-5PcT4iSf.js.map → index--2zEz40J.js.map} +1 -1
- package/lib/cjs/{index-lrFGGa_l.js → index-5n9R-QCl.js} +5 -19
- package/lib/cjs/{index-lrFGGa_l.js.map → index-5n9R-QCl.js.map} +1 -1
- package/lib/cjs/{index-SxWWV8XD.js → index-HEdBw63r.js} +8 -22
- package/lib/cjs/{index-SxWWV8XD.js.map → index-HEdBw63r.js.map} +1 -1
- package/lib/cjs/{index-vlxA_KJ8.js → index-Hlt9dRH5.js} +5 -19
- package/lib/cjs/{index-vlxA_KJ8.js.map → index-Hlt9dRH5.js.map} +1 -1
- package/lib/cjs/{index-TEjdwq--.js → index-KCW2CzRk.js} +8 -22
- package/lib/{esm/index-DoEghZHy.js.map → cjs/index-KCW2CzRk.js.map} +1 -1
- package/lib/cjs/{index-qRg5-QJH.js → index-KSZhahYb.js} +6 -20
- package/lib/cjs/{index-qRg5-QJH.js.map → index-KSZhahYb.js.map} +1 -1
- package/lib/cjs/index-N1cRxqdw.js +39 -0
- package/lib/cjs/index-N1cRxqdw.js.map +1 -0
- package/lib/cjs/{index-fkT0ywfA.js → index-NNo_VSEA.js} +5 -19
- package/lib/cjs/{index-fkT0ywfA.js.map → index-NNo_VSEA.js.map} +1 -1
- package/lib/cjs/{index-OtaMLv5l.js → index-O1bDbloo.js} +5 -19
- package/lib/cjs/{index-OtaMLv5l.js.map → index-O1bDbloo.js.map} +1 -1
- package/lib/cjs/{index-mJ47ZWO2.js → index-OPh9naof.js} +8 -22
- package/lib/cjs/{index-mJ47ZWO2.js.map → index-OPh9naof.js.map} +1 -1
- package/lib/cjs/{index-OA_u95ey.js → index-PAhfZtcH.js} +5 -19
- package/lib/cjs/{index-OA_u95ey.js.map → index-PAhfZtcH.js.map} +1 -1
- package/lib/cjs/{index-zBr61zy6.js → index-PeRHVz4A.js} +5 -19
- package/lib/{esm/index-6P9Xk934.js.map → cjs/index-PeRHVz4A.js.map} +1 -1
- package/lib/cjs/{index-llNS_EuP.js → index-U7GWrg-w.js} +26 -470
- package/lib/cjs/index-U7GWrg-w.js.map +1 -0
- package/lib/cjs/{index-wXLifZgm.js → index-UTb0Az5e.js} +2 -2
- package/lib/cjs/{index-wXLifZgm.js.map → index-UTb0Az5e.js.map} +1 -1
- package/lib/cjs/{index-t_GA5F26.js → index-UnEAyH8X.js} +5 -19
- package/lib/cjs/{index-t_GA5F26.js.map → index-UnEAyH8X.js.map} +1 -1
- package/lib/cjs/{index-i0_v2uVp.js → index-VCkq0ru1.js} +5 -19
- package/lib/{esm/index-4QzlLVWs.js.map → cjs/index-VCkq0ru1.js.map} +1 -1
- package/lib/cjs/{index-OIQn1x0L.js → index-WQl7Du53.js} +4 -18
- package/lib/cjs/index-WQl7Du53.js.map +1 -0
- package/lib/cjs/{index-GEIgbcVc.js → index-ahL5MvrQ.js} +28 -42
- package/lib/cjs/{index-GEIgbcVc.js.map → index-ahL5MvrQ.js.map} +1 -1
- package/lib/cjs/{index-tbEq3xma.js → index-bpgWLeRY.js} +5 -19
- package/lib/cjs/{index-tbEq3xma.js.map → index-bpgWLeRY.js.map} +1 -1
- package/lib/cjs/index-dEVmN_aj.js +26 -0
- package/lib/cjs/index-dEVmN_aj.js.map +1 -0
- package/lib/cjs/{index-w9buMrFW.js → index-fZupvR_f.js} +8 -22
- package/lib/{esm/index-hQaRWeq1.js.map → cjs/index-fZupvR_f.js.map} +1 -1
- package/lib/cjs/{index-ortUqbAp.js → index-gSM-jgti.js} +5 -19
- package/lib/{esm/index-oMy83ynO.js.map → cjs/index-gSM-jgti.js.map} +1 -1
- package/lib/cjs/{index-LdEYPSZc.js → index-jlPr_A_N.js} +5 -19
- package/lib/cjs/{index-LdEYPSZc.js.map → index-jlPr_A_N.js.map} +1 -1
- package/lib/cjs/index-ocxd4A-M.js +675 -0
- package/lib/cjs/index-ocxd4A-M.js.map +1 -0
- package/lib/cjs/{index-xqKfEyRA.js → index-rFFAL9YA.js} +14 -17
- package/lib/cjs/index-rFFAL9YA.js.map +1 -0
- package/lib/cjs/index-tlx25I_m.js +36 -0
- package/lib/cjs/index-tlx25I_m.js.map +1 -0
- package/lib/cjs/index-tqAbVyds.js +28 -0
- package/lib/cjs/index-tqAbVyds.js.map +1 -0
- package/lib/cjs/index-udZSknd8.js +167 -0
- package/lib/cjs/index-udZSknd8.js.map +1 -0
- package/lib/cjs/index-uleaJDBC.js +19 -0
- package/lib/cjs/index-uleaJDBC.js.map +1 -0
- package/lib/cjs/{index-de3dfsQr.js → index-urB-WDqA.js} +7 -21
- package/lib/cjs/{index-de3dfsQr.js.map → index-urB-WDqA.js.map} +1 -1
- package/lib/cjs/{index-78P4PeZ9.js → index-xWgWtxUR.js} +6 -20
- package/lib/cjs/{index-78P4PeZ9.js.map → index-xWgWtxUR.js.map} +1 -1
- package/lib/cjs/index-z6pe2alg.js.map +1 -1
- package/lib/cjs/index.js +150 -13
- package/lib/cjs/index.js.map +1 -1
- package/lib/cjs/todoList-YYRQo7wG.js +404 -0
- package/lib/cjs/todoList-YYRQo7wG.js.map +1 -0
- package/lib/esm/clsx-RxCLxYpD.js +4 -0
- package/lib/esm/clsx-RxCLxYpD.js.map +1 -0
- package/lib/esm/{index-a-SAfeeT.js → index-1NetiFdJ.js} +8 -22
- package/lib/esm/{index-a-SAfeeT.js.map → index-1NetiFdJ.js.map} +1 -1
- package/lib/esm/{index-NmjiRA0M.js → index-2I_xbjAZ.js} +28 -42
- package/lib/esm/{index-NmjiRA0M.js.map → index-2I_xbjAZ.js.map} +1 -1
- package/lib/esm/{index-Grquo08f.js → index-2huXYfuJ.js} +8 -22
- package/lib/esm/{index-Grquo08f.js.map → index-2huXYfuJ.js.map} +1 -1
- package/lib/esm/{index-U8q-F7hU.js → index-4x6_TVZv.js} +5 -19
- package/lib/esm/{index-U8q-F7hU.js.map → index-4x6_TVZv.js.map} +1 -1
- package/lib/esm/index-6JoGWH2I.js +17 -0
- package/lib/esm/index-6JoGWH2I.js.map +1 -0
- package/lib/esm/{index-x-zW6gKj.js → index-A-dNwMMf.js} +2 -2
- package/lib/esm/{index-x-zW6gKj.js.map → index-A-dNwMMf.js.map} +1 -1
- package/lib/esm/{index-oMy83ynO.js → index-AV99ipmP.js} +5 -19
- package/lib/{cjs/index-ortUqbAp.js.map → esm/index-AV99ipmP.js.map} +1 -1
- package/lib/esm/{index-VyZguCIt.js → index-CMGDOz11.js} +10 -13
- package/lib/esm/index-CMGDOz11.js.map +1 -0
- package/lib/esm/index-HlPKwzLC.js +34 -0
- package/lib/esm/index-HlPKwzLC.js.map +1 -0
- package/lib/esm/index-Jvxff1vU.js.map +1 -1
- package/lib/esm/{index-vwrMVELn.js → index-PC2bahtq.js} +5 -19
- package/lib/esm/{index-vwrMVELn.js.map → index-PC2bahtq.js.map} +1 -1
- package/lib/esm/{index-UBeneu17.js → index-QBYz82jZ.js} +5 -19
- package/lib/esm/{index-UBeneu17.js.map → index-QBYz82jZ.js.map} +1 -1
- package/lib/esm/{index-bsED907r.js → index-W1pAMr_8.js} +6 -20
- package/lib/esm/{index-bsED907r.js.map → index-W1pAMr_8.js.map} +1 -1
- package/lib/esm/{index-q-qE7-96.js → index-Xzdc2jbA.js} +25 -469
- package/lib/esm/index-Xzdc2jbA.js.map +1 -0
- package/lib/esm/{index-A9zdyi2L.js → index-ZAtZWqJQ.js} +5 -19
- package/lib/esm/{index-A9zdyi2L.js.map → index-ZAtZWqJQ.js.map} +1 -1
- package/lib/esm/index-_A9vu1ED.js +673 -0
- package/lib/esm/index-_A9vu1ED.js.map +1 -0
- package/lib/esm/{index-U71v7KdA.js → index-bnSKBrbD.js} +5 -19
- package/lib/esm/{index-U71v7KdA.js.map → index-bnSKBrbD.js.map} +1 -1
- package/lib/esm/index-fVrfHXda.js +24 -0
- package/lib/esm/index-fVrfHXda.js.map +1 -0
- package/lib/esm/{index-PkBZpDL4.js → index-ftnOhuRS.js} +4 -18
- package/lib/esm/index-ftnOhuRS.js.map +1 -0
- package/lib/esm/{index-4oMdufW4.js → index-iQPB0Rdl.js} +6 -20
- package/lib/esm/{index-4oMdufW4.js.map → index-iQPB0Rdl.js.map} +1 -1
- package/lib/esm/{index-0khVa44f.js → index-kPj3-TKp.js} +5 -19
- package/lib/esm/{index-0khVa44f.js.map → index-kPj3-TKp.js.map} +1 -1
- package/lib/esm/{index-hQaRWeq1.js → index-kgOR7SZ6.js} +8 -22
- package/lib/{cjs/index-w9buMrFW.js.map → esm/index-kgOR7SZ6.js.map} +1 -1
- package/lib/esm/index-lm00PM0y.js +165 -0
- package/lib/esm/index-lm00PM0y.js.map +1 -0
- package/lib/esm/{index-4QzlLVWs.js → index-m49Bj3q7.js} +5 -19
- package/lib/{cjs/index-i0_v2uVp.js.map → esm/index-m49Bj3q7.js.map} +1 -1
- package/lib/esm/index-ohmbt6Ys.js +37 -0
- package/lib/esm/index-ohmbt6Ys.js.map +1 -0
- package/lib/esm/{index-DoEghZHy.js → index-sWVjGw-3.js} +8 -22
- package/lib/esm/index-sWVjGw-3.js.map +1 -0
- package/lib/esm/{index-L7VXk-jT.js → index-twh8lL5o.js} +5 -19
- package/lib/esm/{index-L7VXk-jT.js.map → index-twh8lL5o.js.map} +1 -1
- package/lib/esm/{index-6P9Xk934.js → index-v02MCz4_.js} +5 -19
- package/lib/{cjs/index-zBr61zy6.js.map → esm/index-v02MCz4_.js.map} +1 -1
- package/lib/esm/index-v3rvbocl.js +26 -0
- package/lib/esm/index-v3rvbocl.js.map +1 -0
- package/lib/esm/{index-7BVeXLQZ.js → index-wEXT8mbN.js} +5 -19
- package/lib/esm/{index-7BVeXLQZ.js.map → index-wEXT8mbN.js.map} +1 -1
- package/lib/esm/{index-rwcSpYkt.js → index-wFIac5Kw.js} +7 -21
- package/lib/esm/{index-rwcSpYkt.js.map → index-wFIac5Kw.js.map} +1 -1
- package/lib/esm/{index-bVubJ6Rv.js → index-wg94ewRo.js} +8 -22
- package/lib/esm/{index-bVubJ6Rv.js.map → index-wg94ewRo.js.map} +1 -1
- package/lib/esm/index.js +152 -11
- package/lib/esm/index.js.map +1 -1
- package/lib/esm/todoList-9QsDDcmB.js +368 -0
- package/lib/esm/todoList-9QsDDcmB.js.map +1 -0
- package/lib/theme/_internal/classic-common.css +3 -2
- package/lib/theme/common/block-edit.css +3 -1
- package/lib/theme/common/code-mirror.css +15 -0
- package/lib/theme/common/cursor.css +1 -1
- package/lib/theme/common/image-block.css +2 -0
- package/lib/theme/common/link-tooltip.css +10 -13
- package/lib/theme/common/list-item.css +16 -1
- package/lib/theme/common/prosemirror.css +1 -1
- package/lib/theme/common/style.css +1 -0
- package/lib/theme/common/table.css +217 -0
- package/lib/theme/common/toolbar.css +11 -4
- package/lib/theme/{classic-dark → crepe-dark}/style.css +2 -2
- package/lib/theme/frame/style.css +28 -0
- package/lib/theme/frame-dark/style.css +28 -0
- package/lib/theme/nord/style.css +28 -0
- package/lib/theme/nord-dark/style.css +28 -0
- package/lib/types/core/crepe.d.ts +5 -3
- package/lib/types/core/crepe.d.ts.map +1 -1
- package/lib/types/core/slice.d.ts +2 -2
- package/lib/types/core/slice.d.ts.map +1 -1
- package/lib/types/feature/block-edit/handle/component.d.ts +3 -0
- package/lib/types/feature/block-edit/handle/component.d.ts.map +1 -1
- package/lib/types/feature/block-edit/handle/index.d.ts +5 -4
- package/lib/types/feature/block-edit/handle/index.d.ts.map +1 -1
- package/lib/types/feature/block-edit/index.d.ts +43 -2
- package/lib/types/feature/block-edit/index.d.ts.map +1 -1
- package/lib/types/feature/block-edit/menu/component.d.ts +3 -1
- package/lib/types/feature/block-edit/menu/component.d.ts.map +1 -1
- package/lib/types/feature/block-edit/menu/config.d.ts +3 -12
- package/lib/types/feature/block-edit/menu/config.d.ts.map +1 -1
- package/lib/types/feature/block-edit/menu/group-builder.d.ts +29 -0
- package/lib/types/feature/block-edit/menu/group-builder.d.ts.map +1 -0
- package/lib/types/feature/block-edit/menu/index.d.ts +5 -4
- package/lib/types/feature/block-edit/menu/index.d.ts.map +1 -1
- package/lib/types/feature/block-edit/menu/utils.d.ts +28 -0
- package/lib/types/feature/block-edit/menu/utils.d.ts.map +1 -0
- package/lib/types/feature/code-mirror/index.d.ts +9 -1
- package/lib/types/feature/code-mirror/index.d.ts.map +1 -1
- package/lib/types/feature/cursor/index.d.ts +1 -1
- package/lib/types/feature/cursor/index.d.ts.map +1 -1
- package/lib/types/feature/image-block/index.d.ts +19 -2
- package/lib/types/feature/image-block/index.d.ts.map +1 -1
- package/lib/types/feature/index.d.ts +17 -2
- package/lib/types/feature/index.d.ts.map +1 -1
- package/lib/types/feature/link-tooltip/index.d.ts +12 -2
- package/lib/types/feature/link-tooltip/index.d.ts.map +1 -1
- package/lib/types/feature/list-item/index.d.ts +8 -2
- package/lib/types/feature/list-item/index.d.ts.map +1 -1
- package/lib/types/feature/placeholder/index.d.ts +2 -2
- package/lib/types/feature/placeholder/index.d.ts.map +1 -1
- package/lib/types/feature/shared.d.ts +3 -1
- package/lib/types/feature/shared.d.ts.map +1 -1
- package/lib/types/feature/table/index.d.ts +16 -0
- package/lib/types/feature/table/index.d.ts.map +1 -0
- package/lib/types/feature/toolbar/component.d.ts +3 -1
- package/lib/types/feature/toolbar/component.d.ts.map +1 -1
- package/lib/types/feature/toolbar/index.d.ts +11 -2
- package/lib/types/feature/toolbar/index.d.ts.map +1 -1
- package/lib/types/icons/alignCenter.d.ts +2 -0
- package/lib/types/icons/alignCenter.d.ts.map +1 -0
- package/lib/types/icons/alignLeft.d.ts +2 -0
- package/lib/types/icons/alignLeft.d.ts.map +1 -0
- package/lib/types/icons/alignRight.d.ts +2 -0
- package/lib/types/icons/alignRight.d.ts.map +1 -0
- package/lib/types/icons/bold.d.ts +2 -0
- package/lib/types/icons/bold.d.ts.map +1 -0
- package/lib/types/{feature/list-item/consts.d.ts → icons/bullet.d.ts} +1 -1
- package/lib/types/icons/bullet.d.ts.map +1 -0
- package/lib/types/icons/bulletList.d.ts +2 -0
- package/lib/types/icons/bulletList.d.ts.map +1 -0
- package/lib/types/icons/caption.d.ts +2 -0
- package/lib/types/icons/caption.d.ts.map +1 -0
- package/lib/types/icons/checkBoxChecked.d.ts +2 -0
- package/lib/types/icons/checkBoxChecked.d.ts.map +1 -0
- package/lib/types/icons/checkBoxUnchecked.d.ts +2 -0
- package/lib/types/icons/checkBoxUnchecked.d.ts.map +1 -0
- package/lib/types/icons/chevronDown.d.ts +2 -0
- package/lib/types/icons/chevronDown.d.ts.map +1 -0
- package/lib/types/icons/clear.d.ts +2 -0
- package/lib/types/icons/clear.d.ts.map +1 -0
- package/lib/types/icons/code.d.ts +2 -0
- package/lib/types/icons/code.d.ts.map +1 -0
- package/lib/types/icons/confirm.d.ts +2 -0
- package/lib/types/icons/confirm.d.ts.map +1 -0
- package/lib/types/icons/divider.d.ts +2 -0
- package/lib/types/icons/divider.d.ts.map +1 -0
- package/lib/types/icons/dragHandle.d.ts +2 -0
- package/lib/types/icons/dragHandle.d.ts.map +1 -0
- package/lib/types/icons/edit.d.ts +2 -0
- package/lib/types/icons/edit.d.ts.map +1 -0
- package/lib/types/icons/h1.d.ts +2 -0
- package/lib/types/icons/h1.d.ts.map +1 -0
- package/lib/types/icons/h2.d.ts +2 -0
- package/lib/types/icons/h2.d.ts.map +1 -0
- package/lib/types/icons/h3.d.ts +2 -0
- package/lib/types/icons/h3.d.ts.map +1 -0
- package/lib/types/icons/h4.d.ts +2 -0
- package/lib/types/icons/h4.d.ts.map +1 -0
- package/lib/types/icons/h5.d.ts +2 -0
- package/lib/types/icons/h5.d.ts.map +1 -0
- package/lib/types/icons/h6.d.ts +2 -0
- package/lib/types/icons/h6.d.ts.map +1 -0
- package/lib/types/icons/image.d.ts +2 -0
- package/lib/types/icons/image.d.ts.map +1 -0
- package/lib/types/icons/index.d.ts +36 -0
- package/lib/types/icons/index.d.ts.map +1 -0
- package/lib/types/icons/italic.d.ts +2 -0
- package/lib/types/icons/italic.d.ts.map +1 -0
- package/lib/types/icons/link.d.ts +2 -0
- package/lib/types/icons/link.d.ts.map +1 -0
- package/lib/types/icons/menu.d.ts +2 -0
- package/lib/types/icons/menu.d.ts.map +1 -0
- package/lib/types/icons/orderedList.d.ts +2 -0
- package/lib/types/icons/orderedList.d.ts.map +1 -0
- package/lib/types/icons/plus.d.ts +2 -0
- package/lib/types/icons/plus.d.ts.map +1 -0
- package/lib/types/icons/quote.d.ts +2 -0
- package/lib/types/icons/quote.d.ts.map +1 -0
- package/lib/types/icons/remove.d.ts +2 -0
- package/lib/types/icons/remove.d.ts.map +1 -0
- package/lib/types/icons/search.d.ts +2 -0
- package/lib/types/icons/search.d.ts.map +1 -0
- package/lib/types/icons/strikethrough.d.ts +2 -0
- package/lib/types/icons/strikethrough.d.ts.map +1 -0
- package/lib/types/icons/table.d.ts +2 -0
- package/lib/types/icons/table.d.ts.map +1 -0
- package/lib/types/icons/text.d.ts +2 -0
- package/lib/types/icons/text.d.ts.map +1 -0
- package/lib/types/icons/todoList.d.ts +2 -0
- package/lib/types/icons/todoList.d.ts.map +1 -0
- package/lib/types/utils/index.d.ts +1 -1
- package/lib/types/utils/index.d.ts.map +1 -1
- package/package.json +9 -23
- package/src/core/crepe.ts +15 -9
- package/src/core/slice.ts +2 -2
- package/src/feature/block-edit/handle/component.ts +13 -29
- package/src/feature/block-edit/handle/index.ts +16 -17
- package/src/feature/block-edit/index.ts +50 -5
- package/src/feature/block-edit/menu/component.ts +6 -7
- package/src/feature/block-edit/menu/config.ts +203 -274
- package/src/feature/block-edit/menu/group-builder.ts +50 -0
- package/src/feature/block-edit/menu/index.ts +11 -8
- package/src/feature/block-edit/menu/utils.ts +89 -0
- package/src/feature/code-mirror/index.ts +27 -19
- package/src/feature/cursor/index.ts +3 -4
- package/src/feature/image-block/index.ts +34 -41
- package/src/feature/index.ts +23 -3
- package/src/feature/link-tooltip/index.ts +23 -10
- package/src/feature/list-item/index.ts +21 -9
- package/src/feature/placeholder/index.ts +11 -6
- package/src/feature/shared.ts +4 -1
- package/src/feature/table/index.ts +54 -0
- package/src/feature/toolbar/component.ts +29 -11
- package/src/feature/toolbar/index.ts +21 -9
- package/src/icons/alignCenter.ts +7 -0
- package/src/icons/alignLeft.ts +7 -0
- package/src/icons/alignRight.ts +7 -0
- package/src/icons/bold.ts +7 -0
- package/src/{feature/list-item/consts.ts → icons/bullet.ts} +3 -3
- package/src/icons/bulletList.ts +14 -0
- package/src/icons/caption.ts +7 -0
- package/src/icons/checkBoxChecked.ts +14 -0
- package/src/icons/checkBoxUnchecked.ts +14 -0
- package/src/icons/chevronDown.ts +7 -0
- package/src/icons/clear.ts +14 -0
- package/src/icons/code.ts +14 -0
- package/src/icons/confirm.ts +14 -0
- package/src/icons/divider.ts +14 -0
- package/src/icons/dragHandle.ts +7 -0
- package/src/icons/edit.ts +14 -0
- package/src/icons/h1.ts +14 -0
- package/src/icons/h2.ts +14 -0
- package/src/icons/h3.ts +14 -0
- package/src/icons/h4.ts +14 -0
- package/src/icons/h5.ts +14 -0
- package/src/icons/h6.ts +14 -0
- package/src/icons/image.ts +14 -0
- package/src/icons/index.ts +35 -0
- package/src/icons/italic.ts +7 -0
- package/src/icons/link.ts +7 -0
- package/src/icons/menu.ts +14 -0
- package/src/icons/orderedList.ts +14 -0
- package/src/icons/plus.ts +14 -0
- package/src/icons/quote.ts +14 -0
- package/src/icons/remove.ts +7 -0
- package/src/icons/search.ts +7 -0
- package/src/icons/strikethrough.ts +7 -0
- package/src/icons/table.ts +14 -0
- package/src/icons/text.ts +14 -0
- package/src/icons/todoList.ts +7 -0
- package/src/theme/_internal/classic-common.css +3 -2
- package/src/theme/common/block-edit.css +3 -1
- package/src/theme/common/code-mirror.css +13 -0
- package/src/theme/common/cursor.css +1 -1
- package/src/theme/common/image-block.css +2 -0
- package/src/theme/common/link-tooltip.css +11 -14
- package/src/theme/common/list-item.css +9 -0
- package/src/theme/common/prosemirror.css +1 -1
- package/src/theme/common/style.css +1 -0
- package/src/theme/common/table.css +204 -0
- package/src/theme/common/toolbar.css +14 -4
- package/src/theme/{classic-dark → crepe-dark}/style.css +2 -2
- package/src/theme/frame/style.css +28 -0
- package/src/theme/frame-dark/style.css +28 -0
- package/src/theme/nord/style.css +28 -0
- package/src/theme/nord-dark/style.css +28 -0
- package/src/utils/index.ts +1 -1
- package/lib/cjs/_view-TbSIR42F.js +0 -27
- package/lib/cjs/_view-TbSIR42F.js.map +0 -1
- package/lib/cjs/clsx-7JLENl8W.js +0 -62
- package/lib/cjs/clsx-7JLENl8W.js.map +0 -1
- package/lib/cjs/composed-offset-position.browser.min-FwypoGc1.js +0 -1138
- package/lib/cjs/composed-offset-position.browser.min-FwypoGc1.js.map +0 -1
- package/lib/cjs/helper-OEW-2Vxr.js +0 -9
- package/lib/cjs/helper-OEW-2Vxr.js.map +0 -1
- package/lib/cjs/index-2oxl5Zo4.js +0 -551
- package/lib/cjs/index-2oxl5Zo4.js.map +0 -1
- package/lib/cjs/index-GKolgvC5.js +0 -505
- package/lib/cjs/index-GKolgvC5.js.map +0 -1
- package/lib/cjs/index-JAqL0ybh.js +0 -55
- package/lib/cjs/index-JAqL0ybh.js.map +0 -1
- package/lib/cjs/index-Ne_pk53w.js +0 -178
- package/lib/cjs/index-Ne_pk53w.js.map +0 -1
- package/lib/cjs/index-O3vRXWIP.js +0 -199
- package/lib/cjs/index-O3vRXWIP.js.map +0 -1
- package/lib/cjs/index-OIQn1x0L.js.map +0 -1
- package/lib/cjs/index-PF7s7DOo.js +0 -386
- package/lib/cjs/index-PF7s7DOo.js.map +0 -1
- package/lib/cjs/index-TEjdwq--.js.map +0 -1
- package/lib/cjs/index-kNI3S3lF.js +0 -22477
- package/lib/cjs/index-kNI3S3lF.js.map +0 -1
- package/lib/cjs/index-kvO8ReCY.js +0 -1960
- package/lib/cjs/index-kvO8ReCY.js.map +0 -1
- package/lib/cjs/index-llNS_EuP.js.map +0 -1
- package/lib/cjs/index-xqKfEyRA.js.map +0 -1
- package/lib/cjs/meta-q8q9fHyr.js +0 -14
- package/lib/cjs/meta-q8q9fHyr.js.map +0 -1
- package/lib/cjs/schema-7d3meDfB.js +0 -74
- package/lib/cjs/schema-7d3meDfB.js.map +0 -1
- package/lib/cjs/tooltip-plugin-Mk9fRTxI.js +0 -200
- package/lib/cjs/tooltip-plugin-Mk9fRTxI.js.map +0 -1
- package/lib/esm/_view-JjtfhQ8k.js +0 -25
- package/lib/esm/_view-JjtfhQ8k.js.map +0 -1
- package/lib/esm/clsx-R7WFaNKL.js +0 -52
- package/lib/esm/clsx-R7WFaNKL.js.map +0 -1
- package/lib/esm/composed-offset-position.browser.min-Tnm31e-m.js +0 -1132
- package/lib/esm/composed-offset-position.browser.min-Tnm31e-m.js.map +0 -1
- package/lib/esm/helper-iYEjPbOY.js +0 -7
- package/lib/esm/helper-iYEjPbOY.js.map +0 -1
- package/lib/esm/index-218OjRxG.js +0 -549
- package/lib/esm/index-218OjRxG.js.map +0 -1
- package/lib/esm/index-AHPvVH4H.js +0 -197
- package/lib/esm/index-AHPvVH4H.js.map +0 -1
- package/lib/esm/index-Bg5GFp0g.js +0 -384
- package/lib/esm/index-Bg5GFp0g.js.map +0 -1
- package/lib/esm/index-JkHHp3K-.js +0 -22445
- package/lib/esm/index-JkHHp3K-.js.map +0 -1
- package/lib/esm/index-PkBZpDL4.js.map +0 -1
- package/lib/esm/index-TNMG6UrN.js +0 -53
- package/lib/esm/index-TNMG6UrN.js.map +0 -1
- package/lib/esm/index-VyZguCIt.js.map +0 -1
- package/lib/esm/index-h1arGiXv.js +0 -1958
- package/lib/esm/index-h1arGiXv.js.map +0 -1
- package/lib/esm/index-pHsvfB_I.js +0 -503
- package/lib/esm/index-pHsvfB_I.js.map +0 -1
- package/lib/esm/index-q-qE7-96.js.map +0 -1
- package/lib/esm/index-u8tWJbca.js +0 -176
- package/lib/esm/index-u8tWJbca.js.map +0 -1
- package/lib/esm/meta-3ZYGAGrY.js +0 -12
- package/lib/esm/meta-3ZYGAGrY.js.map +0 -1
- package/lib/esm/schema-hVsy-vme.js +0 -71
- package/lib/esm/schema-hVsy-vme.js.map +0 -1
- package/lib/esm/tooltip-plugin-vZefVSGL.js +0 -194
- package/lib/esm/tooltip-plugin-vZefVSGL.js.map +0 -1
- package/lib/types/feature/block-edit/menu/icons.d.ts +0 -14
- package/lib/types/feature/block-edit/menu/icons.d.ts.map +0 -1
- package/lib/types/feature/link-tooltip/consts.d.ts +0 -5
- package/lib/types/feature/link-tooltip/consts.d.ts.map +0 -1
- package/lib/types/feature/list-item/consts.d.ts.map +0 -1
- package/lib/types/feature/toolbar/consts.d.ts +0 -5
- package/lib/types/feature/toolbar/consts.d.ts.map +0 -1
- package/src/feature/block-edit/menu/icons.ts +0 -170
- package/src/feature/link-tooltip/consts.ts +0 -46
- package/src/feature/toolbar/consts.ts +0 -25
- /package/lib/theme/{classic → crepe}/style.css +0 -0
- /package/src/theme/{classic → crepe}/style.css +0 -0
|
@@ -20,6 +20,7 @@
|
|
|
20
20
|
svg {
|
|
21
21
|
width: 24px;
|
|
22
22
|
height: 24px;
|
|
23
|
+
fill: var(--crepe-color-outline);
|
|
23
24
|
}
|
|
24
25
|
|
|
25
26
|
&:hover {
|
|
@@ -38,7 +39,6 @@
|
|
|
38
39
|
}
|
|
39
40
|
position: absolute;
|
|
40
41
|
display: block;
|
|
41
|
-
width: 254px;
|
|
42
42
|
font-family: var(--crepe-font-default);
|
|
43
43
|
color: var(--crepe-color-on-surface);
|
|
44
44
|
background: var(--crepe-color-surface);
|
|
@@ -98,6 +98,7 @@
|
|
|
98
98
|
}
|
|
99
99
|
|
|
100
100
|
li {
|
|
101
|
+
min-width: 220px;
|
|
101
102
|
display: flex;
|
|
102
103
|
justify-content: flex-start;
|
|
103
104
|
align-items: center;
|
|
@@ -114,6 +115,7 @@
|
|
|
114
115
|
width: 24px;
|
|
115
116
|
height: 24px;
|
|
116
117
|
color: var(--crepe-color-outline);
|
|
118
|
+
fill: var(--crepe-color-outline);
|
|
117
119
|
}
|
|
118
120
|
& > span {
|
|
119
121
|
font-size: 14px;
|
|
@@ -69,6 +69,7 @@
|
|
|
69
69
|
.expand-icon svg {
|
|
70
70
|
width: 14px;
|
|
71
71
|
height: 14px;
|
|
72
|
+
color: var(--crepe-color-outline);
|
|
72
73
|
}
|
|
73
74
|
|
|
74
75
|
&[data-expanded="true"] .expand-icon {
|
|
@@ -126,6 +127,14 @@
|
|
|
126
127
|
width: 24px;
|
|
127
128
|
height: 24px;
|
|
128
129
|
}
|
|
130
|
+
|
|
131
|
+
&.no-result {
|
|
132
|
+
cursor: default;
|
|
133
|
+
opacity: 0.6;
|
|
134
|
+
&:hover {
|
|
135
|
+
background: transparent;
|
|
136
|
+
}
|
|
137
|
+
}
|
|
129
138
|
}
|
|
130
139
|
|
|
131
140
|
.search-box {
|
|
@@ -137,6 +146,9 @@
|
|
|
137
146
|
outline: 1px solid var(--crepe-color-primary);
|
|
138
147
|
gap: 8px;
|
|
139
148
|
padding: 6px 10px;
|
|
149
|
+
&:has(input:focus) {
|
|
150
|
+
outline: 2px solid var(--crepe-color-primary);
|
|
151
|
+
}
|
|
140
152
|
|
|
141
153
|
.search-input {
|
|
142
154
|
width: 100%;
|
|
@@ -155,6 +167,7 @@
|
|
|
155
167
|
width: 20px;
|
|
156
168
|
height: 20px;
|
|
157
169
|
color: var(--crepe-color-primary);
|
|
170
|
+
fill: var(--crepe-color-primary);
|
|
158
171
|
}
|
|
159
172
|
&:hover {
|
|
160
173
|
background: var(--crepe-color-hover);
|
|
@@ -83,6 +83,7 @@
|
|
|
83
83
|
svg {
|
|
84
84
|
width: 18px;
|
|
85
85
|
height: 18px;
|
|
86
|
+
fill: var(--crepe-color-outline);
|
|
86
87
|
}
|
|
87
88
|
padding: 3px;
|
|
88
89
|
width: 24px;
|
|
@@ -329,6 +330,7 @@
|
|
|
329
330
|
display: flex;
|
|
330
331
|
justify-content: center;
|
|
331
332
|
align-items: center;
|
|
333
|
+
fill: var(--crepe-color-outline);
|
|
332
334
|
}
|
|
333
335
|
|
|
334
336
|
.image-edit .link-importer .placeholder {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
.milkdown {
|
|
2
2
|
milkdown-link-preview {
|
|
3
3
|
position: absolute;
|
|
4
|
+
z-index: 10;
|
|
4
5
|
&[data-show='false'] {
|
|
5
6
|
display: none;
|
|
6
7
|
}
|
|
@@ -15,28 +16,21 @@
|
|
|
15
16
|
cursor: pointer;
|
|
16
17
|
box-shadow: var(--crepe-shadow-1);
|
|
17
18
|
|
|
18
|
-
& > .link-display
|
|
19
|
-
|
|
19
|
+
& > .link-display {
|
|
20
|
+
text-decoration: none;
|
|
21
|
+
color: unset;
|
|
20
22
|
}
|
|
21
23
|
|
|
22
|
-
& > .link-display:before {
|
|
23
|
-
|
|
24
|
-
position: absolute;
|
|
25
|
-
transform: translate(50%, -120%);
|
|
26
|
-
padding: 3px 10px;
|
|
27
|
-
font-size: 12px;
|
|
28
|
-
border-radius: 8px;
|
|
29
|
-
color: color-mix(in srgb, var(--crepe-color-on-background), transparent 60%);
|
|
30
|
-
background: var(--crepe-color-background);
|
|
31
|
-
text-align: center;
|
|
32
|
-
|
|
33
|
-
display: none;
|
|
24
|
+
& > .link-display:hover:before {
|
|
25
|
+
display: block;
|
|
34
26
|
}
|
|
35
27
|
|
|
36
28
|
& > .link-icon {
|
|
37
29
|
& > svg {
|
|
38
30
|
width: 18px;
|
|
39
31
|
height: 18px;
|
|
32
|
+
color: var(--crepe-color-outline);
|
|
33
|
+
fill: var(--crepe-color-outline);
|
|
40
34
|
}
|
|
41
35
|
padding: 3px;
|
|
42
36
|
line-height: 24px;
|
|
@@ -58,6 +52,7 @@
|
|
|
58
52
|
width: 18px;
|
|
59
53
|
height: 18px;
|
|
60
54
|
color: var(--crepe-color-outline);
|
|
55
|
+
fill: var(--crepe-color-outline);
|
|
61
56
|
}
|
|
62
57
|
padding: 3px;
|
|
63
58
|
border-radius: 8px;
|
|
@@ -71,6 +66,7 @@
|
|
|
71
66
|
|
|
72
67
|
milkdown-link-edit {
|
|
73
68
|
position: absolute;
|
|
69
|
+
z-index: 10;
|
|
74
70
|
&[data-show='false'] {
|
|
75
71
|
display: none;
|
|
76
72
|
}
|
|
@@ -97,6 +93,7 @@
|
|
|
97
93
|
width: 18px;
|
|
98
94
|
height: 18px;
|
|
99
95
|
color: var(--crepe-color-outline);
|
|
96
|
+
fill: var(--crepe-color-outline);
|
|
100
97
|
}
|
|
101
98
|
padding: 3px;
|
|
102
99
|
cursor: pointer;
|
|
@@ -17,6 +17,9 @@
|
|
|
17
17
|
gap: 10px;
|
|
18
18
|
.label-wrapper {
|
|
19
19
|
color: var(--crepe-color-outline);
|
|
20
|
+
svg {
|
|
21
|
+
fill: var(--crepe-color-outline);
|
|
22
|
+
}
|
|
20
23
|
height: 32px;
|
|
21
24
|
width: 24px;
|
|
22
25
|
display: flex;
|
|
@@ -28,6 +31,12 @@
|
|
|
28
31
|
width: 24px;
|
|
29
32
|
text-align: right;
|
|
30
33
|
}
|
|
34
|
+
.checkbox {
|
|
35
|
+
cursor: pointer;
|
|
36
|
+
}
|
|
37
|
+
.readonly {
|
|
38
|
+
cursor: not-allowed;
|
|
39
|
+
}
|
|
31
40
|
}
|
|
32
41
|
}
|
|
33
42
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@import "@milkdown/prose/view/style/prosemirror.css";
|
|
1
|
+
@import "@milkdown/kit/prose/view/style/prosemirror.css";
|
|
@@ -0,0 +1,204 @@
|
|
|
1
|
+
@import "@milkdown/kit/prose/tables/style/tables.css";
|
|
2
|
+
|
|
3
|
+
.milkdown {
|
|
4
|
+
milkdown-table-block {
|
|
5
|
+
display: block;
|
|
6
|
+
margin: 4px 0;
|
|
7
|
+
|
|
8
|
+
th,td {
|
|
9
|
+
border: 1px solid color-mix(in srgb, var(--crepe-color-outline), transparent 80%);
|
|
10
|
+
padding: 4px 16px;
|
|
11
|
+
.ProseMirror-selectednode {
|
|
12
|
+
background-color: transparent !important;
|
|
13
|
+
}
|
|
14
|
+
&:has(.ProseMirror-selectednode) {
|
|
15
|
+
outline: 1px solid var(--crepe-color-primary);
|
|
16
|
+
outline-offset: -1px;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.selectedCell {
|
|
21
|
+
&::after {
|
|
22
|
+
background-color: var(--crepe-color-selected);
|
|
23
|
+
opacity: 0.4;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
::selection {
|
|
27
|
+
background: transparent;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.drag-preview {
|
|
32
|
+
background-color: var(--crepe-color-surface);
|
|
33
|
+
opacity: 0.4;
|
|
34
|
+
position: absolute;
|
|
35
|
+
z-index: 100;
|
|
36
|
+
display: flex;
|
|
37
|
+
flex-direction: column;
|
|
38
|
+
outline: 1px solid var(--crepe-color-primary);
|
|
39
|
+
outline-offset: -1px;
|
|
40
|
+
&[data-show="false"] {
|
|
41
|
+
display: none;
|
|
42
|
+
}
|
|
43
|
+
th,td {
|
|
44
|
+
&:has(.ProseMirror-selectednode) {
|
|
45
|
+
outline: none;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.handle {
|
|
51
|
+
position: absolute;
|
|
52
|
+
font-size: 14px;
|
|
53
|
+
transition: opacity ease-in-out 0.2s;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.handle[data-show="false"] {
|
|
57
|
+
opacity: 0;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
svg {
|
|
61
|
+
fill: var(--crepe-color-outline);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.cell-handle {
|
|
65
|
+
z-index: 50;
|
|
66
|
+
left: -999px;
|
|
67
|
+
top: -999px;
|
|
68
|
+
cursor: grab;
|
|
69
|
+
background-color: var(--crepe-color-surface);
|
|
70
|
+
color: var(--crepe-color-outline);
|
|
71
|
+
border-radius: 100px;
|
|
72
|
+
box-shadow: var(--crepe-shadow-1);
|
|
73
|
+
transition: background-color 0.2s ease-in-out;
|
|
74
|
+
|
|
75
|
+
&:hover {
|
|
76
|
+
background-color: var(--crepe-color-hover);
|
|
77
|
+
}
|
|
78
|
+
&:has(.button-group:hover) {
|
|
79
|
+
background-color: var(--crepe-color-surface);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
&[data-role="col-drag-handle"] {
|
|
83
|
+
transform: translateY(50%);
|
|
84
|
+
padding: 0 6px;
|
|
85
|
+
width: 28px;
|
|
86
|
+
height: 16px;
|
|
87
|
+
}
|
|
88
|
+
&[data-role="row-drag-handle"] {
|
|
89
|
+
transform: translateX(50%);
|
|
90
|
+
padding: 6px 0;
|
|
91
|
+
width: 16px;
|
|
92
|
+
height: 28px;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.button-group {
|
|
96
|
+
position: absolute;
|
|
97
|
+
transform: translateX(-50%);
|
|
98
|
+
left: 50%;
|
|
99
|
+
top: -52px;
|
|
100
|
+
display: flex;
|
|
101
|
+
background-color: var(--crepe-color-surface);
|
|
102
|
+
border-radius: 8px;
|
|
103
|
+
box-shadow: var(--crepe-shadow-1);
|
|
104
|
+
|
|
105
|
+
&::after {
|
|
106
|
+
content: "";
|
|
107
|
+
position: absolute;
|
|
108
|
+
bottom: -8px;
|
|
109
|
+
height: 8px;
|
|
110
|
+
background-color: transparent;
|
|
111
|
+
width: 100%;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
&[data-show="false"] {
|
|
115
|
+
display: none;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
button {
|
|
119
|
+
cursor: pointer;
|
|
120
|
+
margin: 6px;
|
|
121
|
+
padding: 4px;
|
|
122
|
+
display: flex;
|
|
123
|
+
justify-content: center;
|
|
124
|
+
align-items: center;
|
|
125
|
+
border-radius: 4px;
|
|
126
|
+
svg {
|
|
127
|
+
width: 24px;
|
|
128
|
+
height: 24px;
|
|
129
|
+
}
|
|
130
|
+
&:hover {
|
|
131
|
+
border-radius: 8px;
|
|
132
|
+
background-color: var(--crepe-color-hover);
|
|
133
|
+
}
|
|
134
|
+
&:active {
|
|
135
|
+
background: var(--crepe-color-selected);
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
&:hover {
|
|
141
|
+
opacity: 1;
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
.line-handle {
|
|
146
|
+
z-index: 20;
|
|
147
|
+
background-color: var(--crepe-color-primary);
|
|
148
|
+
&:hover{
|
|
149
|
+
opacity: 1;
|
|
150
|
+
}
|
|
151
|
+
.add-button {
|
|
152
|
+
cursor: pointer;
|
|
153
|
+
background-color: var(--crepe-color-surface);
|
|
154
|
+
color: var(--crepe-color-outline);
|
|
155
|
+
border-radius: 100px;
|
|
156
|
+
box-shadow: var(--crepe-shadow-1);
|
|
157
|
+
transition: background-color 0.2s ease-in-out;
|
|
158
|
+
|
|
159
|
+
& > svg {
|
|
160
|
+
width: 16px;
|
|
161
|
+
height: 16px;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
&:hover {
|
|
165
|
+
background-color: var(--crepe-color-hover);
|
|
166
|
+
}
|
|
167
|
+
&:active {
|
|
168
|
+
background: var(--crepe-color-selected);
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
&[data-role="x-line-drag-handle"] {
|
|
172
|
+
height: 1px;
|
|
173
|
+
z-index: 2;
|
|
174
|
+
.add-button {
|
|
175
|
+
position: absolute;
|
|
176
|
+
transform: translateX(-50%) translateY(-50%);
|
|
177
|
+
padding: 6px 0;
|
|
178
|
+
width: 16px;
|
|
179
|
+
height: 28px;
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
&[data-role="y-line-drag-handle"] {
|
|
183
|
+
width: 1px;
|
|
184
|
+
z-index: 1;
|
|
185
|
+
.add-button {
|
|
186
|
+
position: absolute;
|
|
187
|
+
transform: translateY(-50%) translateX(-50%);
|
|
188
|
+
padding: 0 6px;
|
|
189
|
+
width: 28px;
|
|
190
|
+
height: 16px;
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
&[data-display-type="indicator"] {
|
|
194
|
+
.add-button {
|
|
195
|
+
display: none;
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
&.readonly .handle {
|
|
201
|
+
display: none;
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
}
|
|
@@ -18,16 +18,18 @@
|
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
.toolbar-item {
|
|
21
|
-
width:
|
|
22
|
-
height:
|
|
23
|
-
|
|
21
|
+
width: 32px;
|
|
22
|
+
height: 32px;
|
|
23
|
+
margin: 6px;
|
|
24
|
+
padding: 4px;
|
|
24
25
|
cursor: pointer;
|
|
26
|
+
border-radius: 4px;
|
|
25
27
|
|
|
26
28
|
&:hover {
|
|
27
29
|
background: var(--crepe-color-hover)
|
|
28
30
|
}
|
|
29
31
|
|
|
30
|
-
|
|
32
|
+
&:active {
|
|
31
33
|
background: var(--crepe-color-selected);
|
|
32
34
|
}
|
|
33
35
|
|
|
@@ -35,6 +37,14 @@
|
|
|
35
37
|
height: 24px;
|
|
36
38
|
width: 24px;
|
|
37
39
|
color: var(--crepe-color-outline);
|
|
40
|
+
fill: var(--crepe-color-outline);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
&.active {
|
|
44
|
+
svg {
|
|
45
|
+
color: var(--crepe-color-primary);
|
|
46
|
+
fill: var(--crepe-color-primary);
|
|
47
|
+
}
|
|
38
48
|
}
|
|
39
49
|
}
|
|
40
50
|
}
|
|
@@ -23,6 +23,6 @@
|
|
|
23
23
|
--crepe-font-default: "Open Sans", Arial, Helvetica, sans-serif;
|
|
24
24
|
--crepe-font-code: Fira Code, Menlo, Monaco, "Courier New", Courier, monospace;
|
|
25
25
|
|
|
26
|
-
--crepe-shadow-1: 0px 1px 2px 0px rgba(
|
|
27
|
-
--crepe-shadow-2: 0px 1px 2px 0px rgba(
|
|
26
|
+
--crepe-shadow-1: 0px 1px 2px 0px rgba(255, 255, 255, 0.30), 0px 1px 3px 1px rgba(255, 255, 255, 0.15);
|
|
27
|
+
--crepe-shadow-2: 0px 1px 2px 0px rgba(255, 255, 255, 0.30), 0px 2px 6px 2px rgba(255, 255, 255, 0.15);
|
|
28
28
|
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
@import "../_internal/classic-common.css";
|
|
2
|
+
|
|
3
|
+
.milkdown {
|
|
4
|
+
--crepe-color-background: #FFFFFF;
|
|
5
|
+
--crepe-color-on-background: #000000;
|
|
6
|
+
--crepe-color-surface: #F7F7F7;
|
|
7
|
+
--crepe-color-surface-low: #EDEDED;
|
|
8
|
+
--crepe-color-on-surface: #1C1C1C;
|
|
9
|
+
--crepe-color-on-surface-variant: #4D4D4D;
|
|
10
|
+
--crepe-color-outline: #A8A8A8;
|
|
11
|
+
--crepe-color-primary: #333333;
|
|
12
|
+
--crepe-color-secondary: #CFCFCF;
|
|
13
|
+
--crepe-color-on-secondary: #000000;
|
|
14
|
+
--crepe-color-inverse: #F0F0F0;
|
|
15
|
+
--crepe-color-on-inverse: #1A1A1A;
|
|
16
|
+
--crepe-color-inline-code: #BA1A1A;
|
|
17
|
+
--crepe-color-error: #BA1A1A;
|
|
18
|
+
--crepe-color-hover: #E0E0E0;
|
|
19
|
+
--crepe-color-selected: #D5D5D5;
|
|
20
|
+
--crepe-color-inline-area: #CACACA;
|
|
21
|
+
|
|
22
|
+
--crepe-font-title: "Noto Serif", Cambria, "Times New Roman", Times, serif;
|
|
23
|
+
--crepe-font-default: "Noto Sans", Arial, Helvetica, sans-serif;
|
|
24
|
+
--crepe-font-code: "Space Mono", Fira Code, Menlo, Monaco, "Courier New", Courier, monospace;
|
|
25
|
+
|
|
26
|
+
--crepe-shadow-1: 0px 1px 3px 1px rgba(0, 0, 0, 0.15), 0px 1px 2px 0px rgba(0, 0, 0, 0.30);
|
|
27
|
+
--crepe-shadow-2: 0px 2px 6px 2px rgba(0, 0, 0, 0.15), 0px 1px 2px 0px rgba(0, 0, 0, 0.30);
|
|
28
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
@import "../_internal/classic-common.css";
|
|
2
|
+
|
|
3
|
+
.milkdown {
|
|
4
|
+
--crepe-color-background: #1A1A1A;
|
|
5
|
+
--crepe-color-on-background: #E6E6E6;
|
|
6
|
+
--crepe-color-surface: #121212;
|
|
7
|
+
--crepe-color-surface-low: #1C1C1C;
|
|
8
|
+
--crepe-color-on-surface: #D1D1D1;
|
|
9
|
+
--crepe-color-on-surface-variant: #A9A9A9;
|
|
10
|
+
--crepe-color-outline: #757575;
|
|
11
|
+
--crepe-color-primary: #B5B5B5;
|
|
12
|
+
--crepe-color-secondary: #4D4D4D;
|
|
13
|
+
--crepe-color-on-secondary: #D6D6D6;
|
|
14
|
+
--crepe-color-inverse: #E5E5E5;
|
|
15
|
+
--crepe-color-on-inverse: #2A2A2A;
|
|
16
|
+
--crepe-color-inline-code: #FF6666;
|
|
17
|
+
--crepe-color-error: #FF6666;
|
|
18
|
+
--crepe-color-hover: #232323;
|
|
19
|
+
--crepe-color-selected: #2F2F2F;
|
|
20
|
+
--crepe-color-inline-area: #2B2B2B;
|
|
21
|
+
|
|
22
|
+
--crepe-font-title: "Noto Serif", Cambria, "Times New Roman", Times, serif;
|
|
23
|
+
--crepe-font-default: "Noto Sans", Arial, Helvetica, sans-serif;
|
|
24
|
+
--crepe-font-code: "Space Mono", Fira Code, Menlo, Monaco, "Courier New", Courier, monospace;
|
|
25
|
+
|
|
26
|
+
--crepe-shadow-1: 0px 1px 2px 0px rgba(255, 255, 255, 0.30), 0px 1px 3px 1px rgba(255, 255, 255, 0.15);
|
|
27
|
+
--crepe-shadow-2: 0px 1px 2px 0px rgba(255, 255, 255, 0.30), 0px 2px 6px 2px rgba(255, 255, 255, 0.15);
|
|
28
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
@import "../_internal/classic-common.css";
|
|
2
|
+
|
|
3
|
+
.milkdown {
|
|
4
|
+
--crepe-color-background: #FDFCFF;
|
|
5
|
+
--crepe-color-on-background: #1B1C1D;
|
|
6
|
+
--crepe-color-surface: #F8F9FF;
|
|
7
|
+
--crepe-color-surface-low: #F2F3FA;
|
|
8
|
+
--crepe-color-on-surface: #191C20;
|
|
9
|
+
--crepe-color-on-surface-variant: #43474E;
|
|
10
|
+
--crepe-color-outline: #73777F;
|
|
11
|
+
--crepe-color-primary: #37618E;
|
|
12
|
+
--crepe-color-secondary: #D7E3F8;
|
|
13
|
+
--crepe-color-on-secondary: #101C2B;
|
|
14
|
+
--crepe-color-inverse: #2E3135;
|
|
15
|
+
--crepe-color-on-inverse: #EFF0F7;
|
|
16
|
+
--crepe-color-inline-code: #BA1A1A;
|
|
17
|
+
--crepe-color-error: #BA1A1A;
|
|
18
|
+
--crepe-color-hover: #ECEEF4;
|
|
19
|
+
--crepe-color-selected: #E1E2E8;
|
|
20
|
+
--crepe-color-inline-area: #D8DAE0;
|
|
21
|
+
|
|
22
|
+
--crepe-font-title: Rubik, Cambria, "Times New Roman", Times, serif;
|
|
23
|
+
--crepe-font-default: Inter, Arial, Helvetica, sans-serif;
|
|
24
|
+
--crepe-font-code: "JetBrains Mono", Menlo, Monaco, "Courier New", Courier, monospace;
|
|
25
|
+
|
|
26
|
+
--crepe-shadow-1: 0px 1px 3px 1px rgba(0, 0, 0, 0.15), 0px 1px 2px 0px rgba(0, 0, 0, 0.30);
|
|
27
|
+
--crepe-shadow-2: 0px 2px 6px 2px rgba(0, 0, 0, 0.15), 0px 1px 2px 0px rgba(0, 0, 0, 0.30);
|
|
28
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
@import "../_internal/classic-common.css";
|
|
2
|
+
|
|
3
|
+
.milkdown {
|
|
4
|
+
--crepe-color-background: #1B1C1D;
|
|
5
|
+
--crepe-color-on-background: #F8F9FF;
|
|
6
|
+
--crepe-color-surface: #111418;
|
|
7
|
+
--crepe-color-surface-low: #191C20;
|
|
8
|
+
--crepe-color-on-surface: #E1E2E8;
|
|
9
|
+
--crepe-color-on-surface-variant: #C3C6CF;
|
|
10
|
+
--crepe-color-outline: #8D9199;
|
|
11
|
+
--crepe-color-primary: #A1C9FD;
|
|
12
|
+
--crepe-color-secondary: #3C4858;
|
|
13
|
+
--crepe-color-on-secondary: #D7E3F8;
|
|
14
|
+
--crepe-color-inverse: #E1E2E8;
|
|
15
|
+
--crepe-color-on-inverse: #2E3135;
|
|
16
|
+
--crepe-color-inline-code: #FFB4AB;
|
|
17
|
+
--crepe-color-error: #FFB4AB;
|
|
18
|
+
--crepe-color-hover: #1D2024;
|
|
19
|
+
--crepe-color-selected: #32353A;
|
|
20
|
+
--crepe-color-inline-area: #111418;
|
|
21
|
+
|
|
22
|
+
--crepe-font-title: Rubik, Cambria, "Times New Roman", Times, serif;
|
|
23
|
+
--crepe-font-default: Inter, Arial, Helvetica, sans-serif;
|
|
24
|
+
--crepe-font-code: "JetBrains Mono", Menlo, Monaco, "Courier New", Courier, monospace;
|
|
25
|
+
|
|
26
|
+
--crepe-shadow-1: 0px 1px 2px 0px rgba(255, 255, 255, 0.30), 0px 1px 3px 1px rgba(255, 255, 255, 0.15);
|
|
27
|
+
--crepe-shadow-2: 0px 1px 2px 0px rgba(255, 255, 255, 0.30), 0px 2px 6px 2px rgba(255, 255, 255, 0.15);
|
|
28
|
+
}
|
package/src/utils/index.ts
CHANGED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var model = require('@milkdown/prose/model');
|
|
4
|
-
var index = require('./index-kNI3S3lF.js');
|
|
5
|
-
|
|
6
|
-
function $view(type, view) {
|
|
7
|
-
const plugin = (ctx) => async () => {
|
|
8
|
-
await ctx.wait(index.SchemaReady);
|
|
9
|
-
const v = view(ctx);
|
|
10
|
-
if (type.type(ctx) instanceof model.NodeType)
|
|
11
|
-
ctx.update(index.nodeViewCtx, (ps) => [...ps, [type.id, v]]);
|
|
12
|
-
else
|
|
13
|
-
ctx.update(index.markViewCtx, (ps) => [...ps, [type.id, v]]);
|
|
14
|
-
plugin.view = v;
|
|
15
|
-
plugin.type = type;
|
|
16
|
-
return () => {
|
|
17
|
-
if (type.type(ctx) instanceof model.NodeType)
|
|
18
|
-
ctx.update(index.nodeViewCtx, (ps) => ps.filter((x) => x[0] !== type.id));
|
|
19
|
-
else
|
|
20
|
-
ctx.update(index.markViewCtx, (ps) => ps.filter((x) => x[0] !== type.id));
|
|
21
|
-
};
|
|
22
|
-
};
|
|
23
|
-
return plugin;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
exports.$view = $view;
|
|
27
|
-
//# sourceMappingURL=_view-TbSIR42F.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_view-TbSIR42F.js","sources":["../../../utils/src/composable/$view.ts"],"sourcesContent":["import type { Ctx, MilkdownPlugin } from '@milkdown/ctx'\nimport { SchemaReady, editorViewTimerCtx, markViewCtx, nodeViewCtx } from '@milkdown/core'\nimport { NodeType } from '@milkdown/prose/model'\nimport type { MarkViewConstructor, NodeViewConstructor } from '@milkdown/prose/view'\n\nimport { addTimer } from './utils'\nimport type { $Mark, $Node } from '.'\n\n/// @internal\nexport type $View<T extends $Node | $Mark, V extends NodeViewConstructor | MarkViewConstructor> = MilkdownPlugin & {\n view: V\n type: T\n}\n\n/// @internal\nexport type GetConstructor<T extends $Node | $Mark> = T extends $Node\n ? NodeViewConstructor\n : T extends $Mark\n ? MarkViewConstructor\n : NodeViewConstructor | MarkViewConstructor\n\n/// Create a [prosemirror node/mark view](https://prosemirror.net/docs/ref/#view.NodeView) plugin.\n/// It takes two arguments\n/// - `type`: The node/mark plugin that needs to add a view.\n/// - `view`: The factory that creates the view. It should return a function that returns a [node/mark view constructor](https://prosemirror.net/docs/ref/#view.NodeView).\n///\n/// Additional property:\n/// - `view`: The view created.\n/// - `type`: The node/mark plugin that needs to add a view.\nexport function $view<\n T extends $Node | $Mark,\n V extends NodeViewConstructor | MarkViewConstructor = GetConstructor<T>,\n>(type: T, view: (ctx: Ctx) => V): $View<T, V> {\n const plugin: MilkdownPlugin = ctx => async () => {\n await ctx.wait(SchemaReady)\n const v = view(ctx)\n if (type.type(ctx) instanceof NodeType)\n ctx.update(nodeViewCtx, ps => [...ps, [type.id, v] as [string, NodeViewConstructor]])\n else\n ctx.update(markViewCtx, ps => [...ps, [type.id, v] as [string, MarkViewConstructor]]);\n\n (<$View<T, V>>plugin).view = v;\n (<$View<T, V>>plugin).type = type\n\n return () => {\n if (type.type(ctx) instanceof NodeType)\n ctx.update(nodeViewCtx, ps => ps.filter(x => x[0] !== type.id))\n else\n ctx.update(markViewCtx, ps => ps.filter(x => x[0] !== type.id))\n }\n }\n\n return <$View<T, V>>plugin\n}\n\n/// The async version for `$view`. You can use `await` in the factory when creating the view.\n///\n/// Additional property:\n/// - `view`: The view created.\n/// - `type`: The node/mark plugin that needs to add a view.\n/// - `timer`: The timer which will be resolved when the view is ready.\nexport function $viewAsync<\n T extends $Node | $Mark,\n V extends NodeViewConstructor | MarkViewConstructor = GetConstructor<T>,\n>(type: T, view: (ctx: Ctx) => Promise<V>, timerName?: string) {\n return addTimer<$View<T, V>>(\n async (ctx, plugin) => {\n await ctx.wait(SchemaReady)\n const v = await view(ctx)\n if (type.type(ctx) instanceof NodeType)\n ctx.update(nodeViewCtx, ps => [...ps, [type.id, v] as [string, NodeViewConstructor]])\n else\n ctx.update(markViewCtx, ps => [...ps, [type.id, v] as [string, MarkViewConstructor]])\n\n plugin.view = v\n plugin.type = type\n\n return () => {\n if (type.type(ctx) instanceof NodeType)\n ctx.update(nodeViewCtx, ps => ps.filter(x => x[0] !== type.id))\n else\n ctx.update(markViewCtx, ps => ps.filter(x => x[0] !== type.id))\n }\n },\n editorViewTimerCtx,\n timerName,\n )\n}\n"],"names":["SchemaReady","NodeType","nodeViewCtx","markViewCtx"],"mappings":";;;;;AA6BgB,SAAA,KAAA,CAGd,MAAS,IAAoC,EAAA;AAC7C,EAAM,MAAA,MAAA,GAAyB,SAAO,YAAY;AAChD,IAAM,MAAA,GAAA,CAAI,KAAKA,iBAAW,CAAA,CAAA;AAC1B,IAAM,MAAA,CAAA,GAAI,KAAK,GAAG,CAAA,CAAA;AAClB,IAAI,IAAA,IAAA,CAAK,IAAK,CAAA,GAAG,CAAa,YAAAC,cAAA;AAC5B,MAAI,GAAA,CAAA,MAAA,CAAOC,iBAAa,EAAA,CAAA,EAAA,KAAM,CAAC,GAAG,EAAI,EAAA,CAAC,IAAK,CAAA,EAAA,EAAI,CAAC,CAAkC,CAAC,CAAA,CAAA;AAAA;AAEpF,MAAI,GAAA,CAAA,MAAA,CAAOC,iBAAa,EAAA,CAAA,EAAA,KAAM,CAAC,GAAG,EAAI,EAAA,CAAC,IAAK,CAAA,EAAA,EAAI,CAAC,CAAkC,CAAC,CAAA,CAAA;AAEtF,IAAc,OAAQ,IAAO,GAAA,CAAA,CAAA;AAC7B,IAAc,OAAQ,IAAO,GAAA,IAAA,CAAA;AAE7B,IAAA,OAAO,MAAM;AACX,MAAI,IAAA,IAAA,CAAK,IAAK,CAAA,GAAG,CAAa,YAAAF,cAAA;AAC5B,QAAI,GAAA,CAAA,MAAA,CAAOC,iBAAa,EAAA,CAAA,EAAA,KAAM,EAAG,CAAA,MAAA,CAAO,CAAK,CAAA,KAAA,CAAA,CAAE,CAAC,CAAA,KAAM,IAAK,CAAA,EAAE,CAAC,CAAA,CAAA;AAAA;AAE9D,QAAI,GAAA,CAAA,MAAA,CAAOC,iBAAa,EAAA,CAAA,EAAA,KAAM,EAAG,CAAA,MAAA,CAAO,CAAK,CAAA,KAAA,CAAA,CAAE,CAAC,CAAA,KAAM,IAAK,CAAA,EAAE,CAAC,CAAA,CAAA;AAAA,KAClE,CAAA;AAAA,GACF,CAAA;AAEA,EAAoB,OAAA,MAAA,CAAA;AACtB;;;;"}
|
package/lib/cjs/clsx-7JLENl8W.js
DELETED
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var atomico = require('atomico');
|
|
4
|
-
|
|
5
|
-
const edit = atomico.html`
|
|
6
|
-
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-6 h-6">
|
|
7
|
-
<path stroke-linecap="round" stroke-linejoin="round" d="M16.862 4.487l1.687-1.688a1.875 1.875 0 112.652 2.652L10.582 16.07a4.5 4.5 0 01-1.897 1.13L6 18l.8-2.685a4.5 4.5 0 011.13-1.897l8.932-8.931zm0 0L19.5 7.125M18 14v4.75A2.25 2.25 0 0115.75 21H5.25A2.25 2.25 0 013 18.75V8.25A2.25 2.25 0 015.25 6H10" />
|
|
8
|
-
</svg>
|
|
9
|
-
`;
|
|
10
|
-
const image = atomico.html`
|
|
11
|
-
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-6 h-6">
|
|
12
|
-
<path stroke-linecap="round" stroke-linejoin="round" d="M2.25 15.75l5.159-5.159a2.25 2.25 0 013.182 0l5.159 5.159m-1.5-1.5l1.409-1.409a2.25 2.25 0 013.182 0l2.909 2.909m-18 3.75h16.5a1.5 1.5 0 001.5-1.5V6a1.5 1.5 0 00-1.5-1.5H3.75A1.5 1.5 0 002.25 6v12a1.5 1.5 0 001.5 1.5zm10.5-11.25h.008v.008h-.008V8.25zm.375 0a.375.375 0 11-.75 0 .375.375 0 01.75 0z" />
|
|
13
|
-
</svg>
|
|
14
|
-
`;
|
|
15
|
-
const chatBubble = atomico.html`
|
|
16
|
-
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-6 h-6">
|
|
17
|
-
<path stroke-linecap="round" stroke-linejoin="round" d="M8.625 9.75a.375.375 0 11-.75 0 .375.375 0 01.75 0zm0 0H8.25m4.125 0a.375.375 0 11-.75 0 .375.375 0 01.75 0zm0 0H12m4.125 0a.375.375 0 11-.75 0 .375.375 0 01.75 0zm0 0h-.375m-13.5 3.01c0 1.6 1.123 2.994 2.707 3.227 1.087.16 2.185.283 3.293.369V21l4.184-4.183a1.14 1.14 0 01.778-.332 48.294 48.294 0 005.83-.498c1.585-.233 2.708-1.626 2.708-3.228V6.741c0-1.602-1.123-2.995-2.707-3.228A48.394 48.394 0 0012 3c-2.392 0-4.744.175-7.043.513C3.373 3.746 2.25 5.14 2.25 6.741v6.018z" />
|
|
18
|
-
</svg>
|
|
19
|
-
`;
|
|
20
|
-
atomico.html`
|
|
21
|
-
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-6 h-6">
|
|
22
|
-
<path stroke-linecap="round" stroke-linejoin="round" d="M3 16.5v2.25A2.25 2.25 0 005.25 21h13.5A2.25 2.25 0 0021 18.75V16.5m-13.5-9L12 3m0 0l4.5 4.5M12 3v13.5" />
|
|
23
|
-
</svg>
|
|
24
|
-
`;
|
|
25
|
-
const chevronDown = atomico.html`
|
|
26
|
-
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-6 h-6">
|
|
27
|
-
<path stroke-linecap="round" stroke-linejoin="round" d="M19.5 8.25l-7.5 7.5-7.5-7.5" />
|
|
28
|
-
</svg>
|
|
29
|
-
`;
|
|
30
|
-
const xCircle = atomico.html`
|
|
31
|
-
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-6 h-6">
|
|
32
|
-
<path stroke-linecap="round" stroke-linejoin="round" d="M9.75 9.75l4.5 4.5m0-4.5l-4.5 4.5M21 12a9 9 0 11-18 0 9 9 0 0118 0z" />
|
|
33
|
-
</svg>
|
|
34
|
-
`;
|
|
35
|
-
const search = atomico.html`
|
|
36
|
-
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-6 h-6">
|
|
37
|
-
<path stroke-linecap="round" stroke-linejoin="round" d="M21 21l-5.197-5.197m0 0A7.5 7.5 0 105.196 5.196a7.5 7.5 0 0010.607 10.607z" />
|
|
38
|
-
</svg>
|
|
39
|
-
`;
|
|
40
|
-
const link = atomico.html`
|
|
41
|
-
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-6 h-6">
|
|
42
|
-
<path stroke-linecap="round" stroke-linejoin="round" d="M13.19 8.688a4.5 4.5 0 011.242 7.244l-4.5 4.5a4.5 4.5 0 01-6.364-6.364l1.757-1.757m13.35-.622l1.757-1.757a4.5 4.5 0 00-6.364-6.364l-4.5 4.5a4.5 4.5 0 001.242 7.244" />
|
|
43
|
-
</svg>
|
|
44
|
-
`;
|
|
45
|
-
const trash = atomico.html`
|
|
46
|
-
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-6 h-6">
|
|
47
|
-
<path stroke-linecap="round" stroke-linejoin="round" d="M14.74 9l-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 01-2.244 2.077H8.084a2.25 2.25 0 01-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 00-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 013.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 00-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 00-7.5 0" />
|
|
48
|
-
</svg>
|
|
49
|
-
`;
|
|
50
|
-
|
|
51
|
-
function r(e){var t,f,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(f=r(e[t]))&&(n&&(n+=" "),n+=f);else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}function clsx(){for(var e,t,f=0,n="";f<arguments.length;)(e=arguments[f++])&&(t=r(e))&&(n&&(n+=" "),n+=t);return n}
|
|
52
|
-
|
|
53
|
-
exports.chatBubble = chatBubble;
|
|
54
|
-
exports.chevronDown = chevronDown;
|
|
55
|
-
exports.clsx = clsx;
|
|
56
|
-
exports.edit = edit;
|
|
57
|
-
exports.image = image;
|
|
58
|
-
exports.link = link;
|
|
59
|
-
exports.search = search;
|
|
60
|
-
exports.trash = trash;
|
|
61
|
-
exports.xCircle = xCircle;
|
|
62
|
-
//# sourceMappingURL=clsx-7JLENl8W.js.map
|