@crystallize/design-system 1.3.2 → 1.4.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.
Files changed (246) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/TableComponent-I2YOOYOU.css +281 -0
  3. package/dist/TableComponent-QINOO453.mjs +1377 -0
  4. package/dist/arrow-clockwise-Z2G6UEGP.svg +1 -0
  5. package/dist/arrow-counterclockwise-2O5EYVJT.svg +1 -0
  6. package/dist/bg-color-HB2WDYGO.svg +1 -0
  7. package/dist/camera-CR7D2PNH.svg +1 -0
  8. package/dist/caret-right-fill-FFBNEXVX.svg +1 -0
  9. package/dist/chat-square-quote-CI6PUJHH.svg +1 -0
  10. package/dist/chevron-down-3FRWSIKS.svg +1 -0
  11. package/dist/chunk-VUXQZRSP.mjs +737 -0
  12. package/dist/clipboard-OSEFDF25.svg +1 -0
  13. package/dist/close-FH57ZMJF.svg +1 -0
  14. package/dist/code-SEVR6TIQ.svg +1 -0
  15. package/dist/copy-DMGDODUL.svg +1 -0
  16. package/dist/diagram-2-CEJUD2B4.svg +1 -0
  17. package/dist/download-JXUGIUCX.svg +1 -0
  18. package/dist/draggable-block-menu-KKHDNKJA.svg +1 -0
  19. package/dist/dropdown-more-BHZ5COKX.svg +1 -0
  20. package/dist/file-image-TIQPFJX4.svg +1 -0
  21. package/dist/filetype-gif-OG2BEYYK.svg +1 -0
  22. package/dist/font-color-J4GA3ZJO.svg +1 -0
  23. package/dist/font-family-ZU5N6TTE.svg +1 -0
  24. package/dist/gear-ICMT4NTP.svg +1 -0
  25. package/dist/horizontal-rule-N6RD2V7H.svg +1 -0
  26. package/dist/indent-MJ6JIMCK.svg +1 -0
  27. package/dist/index.css +2711 -315
  28. package/dist/index.d.ts +145 -40
  29. package/dist/index.js +10376 -1481
  30. package/dist/index.mjs +7609 -746
  31. package/dist/journal-code-XUT44HDV.svg +1 -0
  32. package/dist/justify-J7X5JEEX.svg +1 -0
  33. package/dist/link-W52N4JKZ.svg +1 -0
  34. package/dist/list-ol-2ZEUN4Z7.svg +1 -0
  35. package/dist/list-ul-DVKNUP47.svg +1 -0
  36. package/dist/lock-WCYOZOHW.svg +1 -0
  37. package/dist/lock-fill-JZSKOSHK.svg +1 -0
  38. package/dist/markdown-4BGQNLLT.svg +1 -0
  39. package/dist/mic-H5FNOMM7.svg +1 -0
  40. package/dist/outdent-2LUMUMIP.svg +1 -0
  41. package/dist/paint-bucket-VCISMZTH.svg +1 -0
  42. package/dist/palette-SWGFPRWZ.svg +1 -0
  43. package/dist/pencil-fill-STFSC26F.svg +1 -0
  44. package/dist/plug-HGGGEVS3.svg +1 -0
  45. package/dist/plug-fill-OTG3U4TN.svg +1 -0
  46. package/dist/plus-CQISIKEC.svg +1 -0
  47. package/dist/plus-slash-minus-N22JU4TI.svg +1 -0
  48. package/dist/prettier-WUJ7B5NV.svg +1 -0
  49. package/dist/prettier-error-DYJSLYDP.svg +1 -0
  50. package/dist/square-check-UTG6FU6D.svg +1 -0
  51. package/dist/success-YVXUMPEZ.svg +1 -0
  52. package/dist/table-BR6DI4ZQ.svg +1 -0
  53. package/dist/text-center-UQI6PAEF.svg +1 -0
  54. package/dist/text-left-KT2B6TR3.svg +1 -0
  55. package/dist/text-paragraph-MFTUIIQG.svg +1 -0
  56. package/dist/text-right-SKELPISG.svg +1 -0
  57. package/dist/trash-UOM6D7TD.svg +1 -0
  58. package/dist/type-bold-PY7COC3N.svg +1 -0
  59. package/dist/type-h1-6KJP7YOM.svg +1 -0
  60. package/dist/type-h2-VHI2USC3.svg +1 -0
  61. package/dist/type-h3-JIU77CHO.svg +1 -0
  62. package/dist/type-h4-P5EHKDAL.svg +1 -0
  63. package/dist/type-h5-CS2KYVRG.svg +1 -0
  64. package/dist/type-h6-J2O74LJZ.svg +1 -0
  65. package/dist/type-italic-3DSFOSG2.svg +1 -0
  66. package/dist/type-strikethrough-E2KKQFSX.svg +1 -0
  67. package/dist/type-subscript-BMPTRIBU.svg +1 -0
  68. package/dist/type-superscript-EDF6EPAA.svg +1 -0
  69. package/dist/type-underline-CBFA5VLF.svg +1 -0
  70. package/dist/upload-Q6KICGZW.svg +1 -0
  71. package/dist/user-EOI2NEFZ.svg +1 -0
  72. package/package.json +30 -6
  73. package/src/dialog/dialog.tsx +1 -0
  74. package/src/icon-button/icon-button.css +16 -14
  75. package/src/index.ts +4 -4
  76. package/src/input/input.css +1 -1
  77. package/src/input-with-label/input-with-label.css +1 -1
  78. package/src/rich-text-editor/appSettings.ts +28 -0
  79. package/src/rich-text-editor/context/SettingsContext.tsx +71 -0
  80. package/src/rich-text-editor/context/SharedAutocompleteContext.tsx +60 -0
  81. package/src/rich-text-editor/context/SharedHistoryContext.tsx +25 -0
  82. package/src/rich-text-editor/hooks/useReport.ts +64 -0
  83. package/src/rich-text-editor/images/cat-typing.gif +0 -0
  84. package/src/rich-text-editor/images/emoji/1F600.png +0 -0
  85. package/src/rich-text-editor/images/emoji/1F641.png +0 -0
  86. package/src/rich-text-editor/images/emoji/1F642.png +0 -0
  87. package/src/rich-text-editor/images/emoji/2764.png +0 -0
  88. package/src/rich-text-editor/images/emoji/LICENSE.md +5 -0
  89. package/src/rich-text-editor/images/icons/LICENSE.md +5 -0
  90. package/src/rich-text-editor/images/icons/arrow-clockwise.svg +1 -0
  91. package/src/rich-text-editor/images/icons/arrow-counterclockwise.svg +1 -0
  92. package/src/rich-text-editor/images/icons/bg-color.svg +1 -0
  93. package/src/rich-text-editor/images/icons/camera.svg +1 -0
  94. package/src/rich-text-editor/images/icons/card-checklist.svg +1 -0
  95. package/src/rich-text-editor/images/icons/caret-right-fill.svg +1 -0
  96. package/src/rich-text-editor/images/icons/chat-left-text.svg +1 -0
  97. package/src/rich-text-editor/images/icons/chat-right-dots.svg +1 -0
  98. package/src/rich-text-editor/images/icons/chat-right-text.svg +1 -0
  99. package/src/rich-text-editor/images/icons/chat-right.svg +1 -0
  100. package/src/rich-text-editor/images/icons/chat-square-quote.svg +1 -0
  101. package/src/rich-text-editor/images/icons/chevron-down.svg +1 -0
  102. package/src/rich-text-editor/images/icons/clipboard.svg +1 -0
  103. package/src/rich-text-editor/images/icons/close.svg +1 -0
  104. package/src/rich-text-editor/images/icons/code.svg +1 -0
  105. package/src/rich-text-editor/images/icons/comments.svg +1 -0
  106. package/src/rich-text-editor/images/icons/copy.svg +1 -0
  107. package/src/rich-text-editor/images/icons/diagram-2.svg +1 -0
  108. package/src/rich-text-editor/images/icons/download.svg +1 -0
  109. package/src/rich-text-editor/images/icons/draggable-block-menu.svg +1 -0
  110. package/src/rich-text-editor/images/icons/dropdown-more.svg +1 -0
  111. package/src/rich-text-editor/images/icons/figma.svg +1 -0
  112. package/src/rich-text-editor/images/icons/file-image.svg +1 -0
  113. package/src/rich-text-editor/images/icons/filetype-gif.svg +1 -0
  114. package/src/rich-text-editor/images/icons/font-color.svg +1 -0
  115. package/src/rich-text-editor/images/icons/font-family.svg +1 -0
  116. package/src/rich-text-editor/images/icons/gear.svg +1 -0
  117. package/src/rich-text-editor/images/icons/horizontal-rule.svg +1 -0
  118. package/src/rich-text-editor/images/icons/indent.svg +1 -0
  119. package/src/rich-text-editor/images/icons/journal-code.svg +1 -0
  120. package/src/rich-text-editor/images/icons/journal-text.svg +1 -0
  121. package/src/rich-text-editor/images/icons/justify.svg +1 -0
  122. package/src/rich-text-editor/images/icons/link.svg +1 -0
  123. package/src/rich-text-editor/images/icons/list-ol.svg +1 -0
  124. package/src/rich-text-editor/images/icons/list-ul.svg +1 -0
  125. package/src/rich-text-editor/images/icons/lock-fill.svg +1 -0
  126. package/src/rich-text-editor/images/icons/lock.svg +1 -0
  127. package/src/rich-text-editor/images/icons/markdown.svg +1 -0
  128. package/src/rich-text-editor/images/icons/mic.svg +1 -0
  129. package/src/rich-text-editor/images/icons/outdent.svg +1 -0
  130. package/src/rich-text-editor/images/icons/paint-bucket.svg +1 -0
  131. package/src/rich-text-editor/images/icons/palette.svg +1 -0
  132. package/src/rich-text-editor/images/icons/pencil-fill.svg +1 -0
  133. package/src/rich-text-editor/images/icons/plug-fill.svg +1 -0
  134. package/src/rich-text-editor/images/icons/plug.svg +1 -0
  135. package/src/rich-text-editor/images/icons/plus-slash-minus.svg +1 -0
  136. package/src/rich-text-editor/images/icons/plus.svg +1 -0
  137. package/src/rich-text-editor/images/icons/prettier-error.svg +1 -0
  138. package/src/rich-text-editor/images/icons/prettier.svg +1 -0
  139. package/src/rich-text-editor/images/icons/send.svg +1 -0
  140. package/src/rich-text-editor/images/icons/square-check.svg +1 -0
  141. package/src/rich-text-editor/images/icons/sticky.svg +1 -0
  142. package/src/rich-text-editor/images/icons/success.svg +1 -0
  143. package/src/rich-text-editor/images/icons/table.svg +1 -0
  144. package/src/rich-text-editor/images/icons/text-center.svg +1 -0
  145. package/src/rich-text-editor/images/icons/text-left.svg +1 -0
  146. package/src/rich-text-editor/images/icons/text-paragraph.svg +1 -0
  147. package/src/rich-text-editor/images/icons/text-right.svg +1 -0
  148. package/src/rich-text-editor/images/icons/trash.svg +1 -0
  149. package/src/rich-text-editor/images/icons/trash3.svg +1 -0
  150. package/src/rich-text-editor/images/icons/tweet.svg +1 -0
  151. package/src/rich-text-editor/images/icons/type-bold.svg +1 -0
  152. package/src/rich-text-editor/images/icons/type-h1.svg +1 -0
  153. package/src/rich-text-editor/images/icons/type-h2.svg +1 -0
  154. package/src/rich-text-editor/images/icons/type-h3.svg +1 -0
  155. package/src/rich-text-editor/images/icons/type-h4.svg +1 -0
  156. package/src/rich-text-editor/images/icons/type-h5.svg +1 -0
  157. package/src/rich-text-editor/images/icons/type-h6.svg +1 -0
  158. package/src/rich-text-editor/images/icons/type-italic.svg +1 -0
  159. package/src/rich-text-editor/images/icons/type-strikethrough.svg +1 -0
  160. package/src/rich-text-editor/images/icons/type-subscript.svg +1 -0
  161. package/src/rich-text-editor/images/icons/type-superscript.svg +1 -0
  162. package/src/rich-text-editor/images/icons/type-underline.svg +1 -0
  163. package/src/rich-text-editor/images/icons/upload.svg +1 -0
  164. package/src/rich-text-editor/images/icons/user.svg +1 -0
  165. package/src/rich-text-editor/images/icons/youtube.svg +1 -0
  166. package/src/rich-text-editor/images/image/LICENSE.md +5 -0
  167. package/src/rich-text-editor/images/landscape.jpg +0 -0
  168. package/src/rich-text-editor/images/logo.svg +1 -0
  169. package/src/rich-text-editor/images/yellow-flower-small.jpg +0 -0
  170. package/src/rich-text-editor/images/yellow-flower.jpg +0 -0
  171. package/src/rich-text-editor/index.ts +1 -0
  172. package/src/rich-text-editor/model/crystallize-rich-text-types/code.ts +39 -0
  173. package/src/rich-text-editor/model/crystallize-rich-text-types/headings.ts +12 -0
  174. package/src/rich-text-editor/model/crystallize-rich-text-types/index.ts +69 -0
  175. package/src/rich-text-editor/model/crystallize-rich-text-types/link.ts +9 -0
  176. package/src/rich-text-editor/model/crystallize-rich-text-types/table.ts +16 -0
  177. package/src/rich-text-editor/model/crystallize-to-lexical.ts +186 -0
  178. package/src/rich-text-editor/model/lexical-to-crystallize.ts +232 -0
  179. package/src/rich-text-editor/nodes/AutocompleteNode.tsx +96 -0
  180. package/src/rich-text-editor/nodes/BaseNodes.ts +45 -0
  181. package/src/rich-text-editor/nodes/KeywordNode.ts +73 -0
  182. package/src/rich-text-editor/nodes/TableCellNodes.ts +31 -0
  183. package/src/rich-text-editor/nodes/TableComponent.tsx +1547 -0
  184. package/src/rich-text-editor/nodes/TableNode.tsx +398 -0
  185. package/src/rich-text-editor/plugins/ActionsPlugin/index.tsx +83 -0
  186. package/src/rich-text-editor/plugins/AutoLinkPlugin/index.tsx +47 -0
  187. package/src/rich-text-editor/plugins/AutocompletePlugin/index.tsx +2536 -0
  188. package/src/rich-text-editor/plugins/CodeActionMenuPlugin/components/CopyButton/index.tsx +60 -0
  189. package/src/rich-text-editor/plugins/CodeActionMenuPlugin/components/PrettierButton/index.css +14 -0
  190. package/src/rich-text-editor/plugins/CodeActionMenuPlugin/components/PrettierButton/index.tsx +140 -0
  191. package/src/rich-text-editor/plugins/CodeActionMenuPlugin/index.css +46 -0
  192. package/src/rich-text-editor/plugins/CodeActionMenuPlugin/index.tsx +155 -0
  193. package/src/rich-text-editor/plugins/CodeHighlightPlugin/index.ts +21 -0
  194. package/src/rich-text-editor/plugins/ComponentPickerPlugin/index.tsx +320 -0
  195. package/src/rich-text-editor/plugins/DragDropPastePlugin/index.ts +40 -0
  196. package/src/rich-text-editor/plugins/DraggableBlockPlugin/index.css +36 -0
  197. package/src/rich-text-editor/plugins/DraggableBlockPlugin/index.tsx +368 -0
  198. package/src/rich-text-editor/plugins/FloatingLinkEditorPlugin/index.css +40 -0
  199. package/src/rich-text-editor/plugins/FloatingLinkEditorPlugin/index.tsx +305 -0
  200. package/src/rich-text-editor/plugins/FloatingTextFormatToolbarPlugin/index.css +128 -0
  201. package/src/rich-text-editor/plugins/FloatingTextFormatToolbarPlugin/index.tsx +351 -0
  202. package/src/rich-text-editor/plugins/LinkPlugin/index.tsx +16 -0
  203. package/src/rich-text-editor/plugins/ListMaxIndentLevelPlugin/index.ts +86 -0
  204. package/src/rich-text-editor/plugins/MarkdownShortcutPlugin/index.tsx +16 -0
  205. package/src/rich-text-editor/plugins/MarkdownTransformers/index.ts +195 -0
  206. package/src/rich-text-editor/plugins/MaxLengthPlugin/index.tsx +49 -0
  207. package/src/rich-text-editor/plugins/SpeechToTextPlugin/index.ts +113 -0
  208. package/src/rich-text-editor/plugins/TabFocusPlugin/index.tsx +65 -0
  209. package/src/rich-text-editor/plugins/TableActionMenuPlugin/index.tsx +481 -0
  210. package/src/rich-text-editor/plugins/TableCellResizer/index.css +12 -0
  211. package/src/rich-text-editor/plugins/TableCellResizer/index.tsx +386 -0
  212. package/src/rich-text-editor/plugins/TablePlugin.tsx +190 -0
  213. package/src/rich-text-editor/plugins/ToolbarPlugin/index.tsx +726 -0
  214. package/src/rich-text-editor/plugins/TreeViewPlugin/index.tsx +25 -0
  215. package/src/rich-text-editor/plugins/TypingPerfPlugin/index.ts +117 -0
  216. package/src/rich-text-editor/rich-text-editor.css +1396 -0
  217. package/src/rich-text-editor/rich-text-editor.stories.tsx +385 -0
  218. package/src/rich-text-editor/rich-text-editor.tsx +228 -0
  219. package/src/rich-text-editor/tests/rich-text-editor-basic-rendering.test.tsx +47 -0
  220. package/src/rich-text-editor/tests/rich-text-editor-code.test.tsx +39 -0
  221. package/src/rich-text-editor/tests/rich-text-editor-model-basics.test.tsx +56 -0
  222. package/src/rich-text-editor/tests/rich-text-editor-model-conversions.test.tsx +195 -0
  223. package/src/rich-text-editor/tests/rich-text-editor-onchange.test.tsx +37 -0
  224. package/src/rich-text-editor/tests/rich-text-editor-quote.test.tsx +36 -0
  225. package/src/rich-text-editor/tests/rich-text-editor-text-formats.test.tsx +135 -0
  226. package/src/rich-text-editor/tests/rich-text-editor-typing.test.tsx +73 -0
  227. package/src/rich-text-editor/tests/utils.ts +23 -0
  228. package/src/rich-text-editor/themes/PlaygroundEditorTheme.css +433 -0
  229. package/src/rich-text-editor/themes/PlaygroundEditorTheme.ts +113 -0
  230. package/src/rich-text-editor/types.ts +5 -0
  231. package/src/rich-text-editor/ui/ContentEditable.css +13 -0
  232. package/src/rich-text-editor/ui/ContentEditable.tsx +15 -0
  233. package/src/rich-text-editor/ui/LinkPreview.css +57 -0
  234. package/src/rich-text-editor/ui/LinkPreview.tsx +169 -0
  235. package/src/rich-text-editor/utils/environment.ts +1 -0
  236. package/src/rich-text-editor/utils/getDOMRangeRect.ts +42 -0
  237. package/src/rich-text-editor/utils/getSelectedNode.ts +27 -0
  238. package/src/rich-text-editor/utils/guard.ts +10 -0
  239. package/src/rich-text-editor/utils/isMobileWidth.ts +7 -0
  240. package/src/rich-text-editor/utils/joinClasses.ts +13 -0
  241. package/src/rich-text-editor/utils/point.ts +55 -0
  242. package/src/rich-text-editor/utils/rect.ts +158 -0
  243. package/src/rich-text-editor/utils/setFloatingElemPosition.ts +46 -0
  244. package/src/rich-text-editor/utils/swipe.ts +127 -0
  245. package/src/rich-text-editor/utils/url.ts +33 -0
  246. package/src/Tokens.stories.tsx +0 -18
package/dist/index.css CHANGED
@@ -473,6 +473,13 @@ button {
473
473
  --tw-scale-x: 1;
474
474
  --tw-scale-y: 1 ;
475
475
  }
476
+ .shadow-md,
477
+ .shadow-sm {
478
+ --tw-ring-offset-shadow: 0 0 #0000;
479
+ --tw-ring-shadow: 0 0 #0000;
480
+ --tw-shadow: 0 0 #0000;
481
+ --tw-shadow-colored: 0 0 #0000 ;
482
+ }
476
483
  .filter {
477
484
  --tw-blur: ;
478
485
  --tw-brightness: ;
@@ -523,6 +530,15 @@ button {
523
530
  white-space: nowrap;
524
531
  border-width: 0;
525
532
  }
533
+ .pointer-events-none {
534
+ pointer-events: none;
535
+ }
536
+ .invisible {
537
+ visibility: hidden;
538
+ }
539
+ .static {
540
+ position: static;
541
+ }
526
542
  .absolute {
527
543
  position: absolute;
528
544
  }
@@ -538,10 +554,30 @@ button {
538
554
  .right-2 {
539
555
  right: 0.5rem;
540
556
  }
557
+ .top-0 {
558
+ top: 0px;
559
+ }
560
+ .left-6 {
561
+ left: 1.5rem;
562
+ }
563
+ .right-10 {
564
+ right: 2.5rem;
565
+ }
566
+ .z-50 {
567
+ z-index: 50;
568
+ }
541
569
  .my-6 {
542
570
  margin-top: 1.5rem;
543
571
  margin-bottom: 1.5rem;
544
572
  }
573
+ .mx-auto {
574
+ margin-left: auto;
575
+ margin-right: auto;
576
+ }
577
+ .my-1 {
578
+ margin-top: 0.25rem;
579
+ margin-bottom: 0.25rem;
580
+ }
545
581
  .mt-8 {
546
582
  margin-top: 2rem;
547
583
  }
@@ -551,12 +587,51 @@ button {
551
587
  .mt-2 {
552
588
  margin-top: 0.5rem;
553
589
  }
590
+ .mt-3 {
591
+ margin-top: 0.75rem;
592
+ }
593
+ .mb-4 {
594
+ margin-bottom: 1rem;
595
+ }
596
+ .ml-5 {
597
+ margin-left: 1.25rem;
598
+ }
599
+ .mt-1 {
600
+ margin-top: 0.25rem;
601
+ }
602
+ .block {
603
+ display: block;
604
+ }
605
+ .inline-block {
606
+ display: inline-block;
607
+ }
608
+ .inline {
609
+ display: inline;
610
+ }
554
611
  .flex {
555
612
  display: flex;
556
613
  }
614
+ .\!flex {
615
+ display: flex !important;
616
+ }
617
+ .table {
618
+ display: table;
619
+ }
620
+ .table-cell {
621
+ display: table-cell;
622
+ }
623
+ .table-row {
624
+ display: table-row;
625
+ }
557
626
  .grid {
558
627
  display: grid;
559
628
  }
629
+ .list-item {
630
+ display: list-item;
631
+ }
632
+ .hidden {
633
+ display: none;
634
+ }
560
635
  .h-24 {
561
636
  height: 6rem;
562
637
  }
@@ -566,15 +641,48 @@ button {
566
641
  .h-\[44px\] {
567
642
  height: 44px;
568
643
  }
644
+ .h-full {
645
+ height: 100%;
646
+ }
647
+ .h-6 {
648
+ height: 1.5rem;
649
+ }
650
+ .h-5 {
651
+ height: 1.25rem;
652
+ }
569
653
  .w-\[8px\] {
570
654
  width: 8px;
571
655
  }
572
656
  .w-\[44px\] {
573
657
  width: 44px;
574
658
  }
659
+ .w-full {
660
+ width: 100%;
661
+ }
662
+ .w-6 {
663
+ width: 1.5rem;
664
+ }
665
+ .w-4 {
666
+ width: 1rem;
667
+ }
668
+ .w-5 {
669
+ width: 1.25rem;
670
+ }
575
671
  .min-w-\[44px\] {
576
672
  min-width: 44px;
577
673
  }
674
+ .min-w-\[150px\] {
675
+ min-width: 150px;
676
+ }
677
+ .min-w-\[200px\] {
678
+ min-width: 200px;
679
+ }
680
+ .max-w-\[1100px\] {
681
+ max-width: 1100px;
682
+ }
683
+ .max-w-full {
684
+ max-width: 100%;
685
+ }
578
686
  .flex-1 {
579
687
  flex: 1 1 0%;
580
688
  }
@@ -584,6 +692,12 @@ button {
584
692
  .cursor-pointer {
585
693
  cursor: pointer;
586
694
  }
695
+ .select-none {
696
+ user-select: none;
697
+ }
698
+ .resize {
699
+ resize: both;
700
+ }
587
701
  .grid-cols-6 {
588
702
  grid-template-columns: repeat(6, minmax(0, 1fr));
589
703
  }
@@ -593,9 +707,15 @@ button {
593
707
  .grid-cols-5 {
594
708
  grid-template-columns: repeat(5, minmax(0, 1fr));
595
709
  }
710
+ .grid-cols-\[1fr_1px_1fr\] {
711
+ grid-template-columns: 1fr 1px 1fr;
712
+ }
596
713
  .flex-col {
597
714
  flex-direction: column;
598
715
  }
716
+ .flex-nowrap {
717
+ flex-wrap: nowrap;
718
+ }
599
719
  .items-start {
600
720
  align-items: flex-start;
601
721
  }
@@ -620,6 +740,15 @@ button {
620
740
  .gap-4 {
621
741
  gap: 1rem;
622
742
  }
743
+ .gap-1 {
744
+ gap: 0.25rem;
745
+ }
746
+ .gap-0\.5 {
747
+ gap: 0.125rem;
748
+ }
749
+ .gap-0 {
750
+ gap: 0px;
751
+ }
623
752
  .space-x-2 > :not([hidden]) ~ :not([hidden]) {
624
753
  --tw-space-x-reverse: 0;
625
754
  margin-right: calc(0.5rem * var(--tw-space-x-reverse));
@@ -648,6 +777,12 @@ button {
648
777
  .self-end {
649
778
  align-self: flex-end;
650
779
  }
780
+ .overflow-hidden {
781
+ overflow: hidden;
782
+ }
783
+ .text-ellipsis {
784
+ text-overflow: ellipsis;
785
+ }
651
786
  .whitespace-nowrap {
652
787
  white-space: nowrap;
653
788
  }
@@ -657,6 +792,28 @@ button {
657
792
  .rounded-lg {
658
793
  border-radius: 0.5rem;
659
794
  }
795
+ .rounded-md {
796
+ border-radius: 0.375rem;
797
+ }
798
+ .rounded-sm {
799
+ border-radius: 0.125rem;
800
+ }
801
+ .border {
802
+ border-width: 1px;
803
+ }
804
+ .border-0 {
805
+ border-width: 0px;
806
+ }
807
+ .border-b {
808
+ border-bottom-width: 1px;
809
+ }
810
+ .border-solid {
811
+ border-style: solid;
812
+ }
813
+ .border-gray-100-800 {
814
+ --tw-border-opacity: 1;
815
+ border-color: rgb(var(--c-color-gray-100-800) / var(--tw-border-opacity));
816
+ }
660
817
  .bg-gray {
661
818
  background-color: rgb(var(--c-color-gray));
662
819
  }
@@ -664,16 +821,73 @@ button {
664
821
  --tw-bg-opacity: 1;
665
822
  background-color: rgb(var(--c-color-gray-50-900) / var(--tw-bg-opacity));
666
823
  }
824
+ .bg-white {
825
+ --tw-bg-opacity: 1;
826
+ background-color: rgb(255 255 255 / var(--tw-bg-opacity));
827
+ }
828
+ .bg-gray-100-800 {
829
+ --tw-bg-opacity: 1;
830
+ background-color: rgb(var(--c-color-gray-100-800) / var(--tw-bg-opacity));
831
+ }
832
+ .bg-purple-50-900 {
833
+ --tw-bg-opacity: 1;
834
+ background-color: rgb(var(--c-color-purple-50-900) / var(--tw-bg-opacity));
835
+ }
836
+ .\!bg-purple-50-900 {
837
+ --tw-bg-opacity: 1 !important;
838
+ background-color: rgb(var(--c-color-purple-50-900) / var(--tw-bg-opacity)) !important;
839
+ }
840
+ .bg-\[length\:18px_18px\] {
841
+ background-size: 18px 18px;
842
+ }
843
+ .bg-\[length\:17px_17px\] {
844
+ background-size: 17px 17px;
845
+ }
846
+ .bg-\[length\:16px_16px\] {
847
+ background-size: 16px 16px;
848
+ }
849
+ .bg-\[length\:20px_20px\] {
850
+ background-size: 20px 20px;
851
+ }
852
+ .bg-center {
853
+ background-position: center;
854
+ }
855
+ .bg-no-repeat {
856
+ background-repeat: no-repeat;
857
+ }
667
858
  .p-4 {
668
859
  padding: 1rem;
669
860
  }
670
861
  .p-\[5px\] {
671
862
  padding: 5px;
672
863
  }
864
+ .p-10 {
865
+ padding: 2.5rem;
866
+ }
673
867
  .px-3 {
674
868
  padding-left: 0.75rem;
675
869
  padding-right: 0.75rem;
676
870
  }
871
+ .px-6 {
872
+ padding-left: 1.5rem;
873
+ padding-right: 1.5rem;
874
+ }
875
+ .py-2 {
876
+ padding-top: 0.5rem;
877
+ padding-bottom: 0.5rem;
878
+ }
879
+ .px-1 {
880
+ padding-left: 0.25rem;
881
+ padding-right: 0.25rem;
882
+ }
883
+ .py-0\.5 {
884
+ padding-top: 0.125rem;
885
+ padding-bottom: 0.125rem;
886
+ }
887
+ .py-0 {
888
+ padding-top: 0px;
889
+ padding-bottom: 0px;
890
+ }
677
891
  .text-center {
678
892
  text-align: center;
679
893
  }
@@ -703,6 +917,24 @@ button {
703
917
  font-size: 0.75rem;
704
918
  line-height: 1rem;
705
919
  }
920
+ .text-\[14px\] {
921
+ font-size: 14px;
922
+ }
923
+ .text-\[10px\] {
924
+ font-size: 10px;
925
+ }
926
+ .font-normal {
927
+ font-weight: 400;
928
+ }
929
+ .font-bold {
930
+ font-weight: 700;
931
+ }
932
+ .font-medium {
933
+ font-weight: 500;
934
+ }
935
+ .italic {
936
+ font-style: italic;
937
+ }
706
938
  .leading-6 {
707
939
  line-height: 1.5rem;
708
940
  }
@@ -713,33 +945,53 @@ button {
713
945
  --tw-text-opacity: 1;
714
946
  color: rgb(var(--c-color-gray-700-200) / var(--tw-text-opacity));
715
947
  }
948
+ .text-gray-300-600 {
949
+ --tw-text-opacity: 1;
950
+ color: rgb(var(--c-color-gray-300-600) / var(--tw-text-opacity));
951
+ }
952
+ .text-gray-600-300 {
953
+ --tw-text-opacity: 1;
954
+ color: rgb(var(--c-color-gray-600-300) / var(--tw-text-opacity));
955
+ }
956
+ .text-pink-600-300 {
957
+ --tw-text-opacity: 1;
958
+ color: rgb(var(--c-color-pink-600-300) / var(--tw-text-opacity));
959
+ }
960
+ .underline {
961
+ text-decoration-line: underline;
962
+ }
963
+ .opacity-100 {
964
+ opacity: 1;
965
+ }
966
+ .opacity-60 {
967
+ opacity: 0.6;
968
+ }
969
+ .opacity-30 {
970
+ opacity: 0.3;
971
+ }
972
+ .opacity-80 {
973
+ opacity: 0.8;
974
+ }
975
+ .shadow-md {
976
+ --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
977
+ --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);
978
+ box-shadow:
979
+ var(--tw-ring-offset-shadow, 0 0 #0000),
980
+ var(--tw-ring-shadow, 0 0 #0000),
981
+ var(--tw-shadow);
982
+ }
983
+ .shadow-sm {
984
+ --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
985
+ --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
986
+ box-shadow:
987
+ var(--tw-ring-offset-shadow, 0 0 #0000),
988
+ var(--tw-ring-shadow, 0 0 #0000),
989
+ var(--tw-shadow);
990
+ }
716
991
  .filter {
717
992
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
718
993
  }
719
- .active\:scale-95:active {
720
- --tw-scale-x: .95;
721
- --tw-scale-y: .95;
722
- transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
723
- }
724
-
725
- /* src/action-menu/action-menu.css */
726
- .c-action-menu {
727
- display: flex;
728
- height: 2rem;
729
- width: 2rem;
730
- flex-shrink: 0;
731
- --tw-rotate: 0deg;
732
- transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
733
- cursor: pointer;
734
- flex-direction: column;
735
- align-items: center;
736
- justify-content: center;
737
- gap: 2px;
738
- border-radius: 0.375rem;
739
- border-style: none;
740
- background-color: transparent;
741
- padding: 0.25rem;
742
- outline-offset: -1px;
994
+ .transition {
743
995
  transition-property:
744
996
  color,
745
997
  background-color,
@@ -755,47 +1007,23 @@ button {
755
1007
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
756
1008
  transition-duration: 150ms;
757
1009
  }
758
- .c-action-menu-dot {
759
- height: 4px;
760
- width: 4px;
761
- border-radius: 9999px;
762
- background-color: rgb(var(--c-color-gray));
763
- }
764
- .c-action-menu[data-state=open],
765
- .c-action-menu [aria-expanded=true] {
766
- flex-direction: row;
767
- gap: 3px;
768
- }
769
- .c-action-menu:focus-visible {
770
- outline-style: solid;
771
- outline-width: 1px;
772
- outline-color: inherit;
773
- outline-color: currentColor;
774
- }
775
- .c-action-menu:not(:disabled):hover {
776
- gap: 3px;
777
- --tw-bg-opacity: 1;
778
- background-color: rgb(var(--c-color-gray-100-800) / var(--tw-bg-opacity));
779
- outline-style: solid;
780
- outline-width: 1px;
781
- outline-color: rgb(var(--c-color-purple-200-700) / 1);
782
- }
783
- .c-action-menu:not(:disabled):active {
1010
+ .active\:scale-95:active {
784
1011
  --tw-scale-x: .95;
785
1012
  --tw-scale-y: .95;
786
1013
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
787
- --tw-bg-opacity: 1;
788
- background-color: rgb(var(--c-color-purple-100-800) / var(--tw-bg-opacity));
789
1014
  }
790
- .c-action-menu-item {
791
- display: flex;
1015
+
1016
+ /* src/button/button.css */
1017
+ .c-btn {
1018
+ display: inline-grid;
792
1019
  cursor: pointer;
1020
+ grid-auto-flow: column;
793
1021
  align-items: center;
794
1022
  gap: 0.5rem;
795
- padding-top: 0.625rem;
796
- padding-bottom: 0.625rem;
797
- padding-left: 1.25rem;
798
- padding-right: 1.25rem;
1023
+ white-space: nowrap;
1024
+ border-radius: 0.25rem;
1025
+ border-style: none;
1026
+ background-color: transparent;
799
1027
  font-family:
800
1028
  Roboto,
801
1029
  ui-sans-serif,
@@ -812,223 +1040,42 @@ button {
812
1040
  "Segoe UI Emoji",
813
1041
  "Segoe UI Symbol",
814
1042
  "Noto Color Emoji";
815
- font-size: 0.875rem;
816
- line-height: 1.25rem;
817
- font-weight: 500;
1043
+ font-weight: 600;
818
1044
  color: rgb(var(--c-color-gray));
1045
+ text-decoration-line: none;
1046
+ outline-offset: -1px;
819
1047
  }
820
- .c-action-menu-item:hover {
821
- --tw-bg-opacity: 1;
822
- background-color: rgb(var(--c-color-gray-50-900) / var(--tw-bg-opacity));
823
- }
824
- .c-action-menu-item:focus {
825
- --tw-bg-opacity: 1;
826
- background-color: rgb(var(--c-color-gray-50-900) / var(--tw-bg-opacity));
827
- outline: 2px solid transparent;
828
- outline-offset: 2px;
1048
+ .c-btn:focus-visible {
1049
+ outline-style: solid;
1050
+ outline-width: 1px;
1051
+ outline-color: inherit;
1052
+ outline-color: currentColor;
829
1053
  }
830
- .c-action-menu-item.danger {
1054
+ .c-btn:disabled {
1055
+ cursor: default;
831
1056
  --tw-text-opacity: 1;
832
- color: rgb(var(--c-color-pink-600-300) / var(--tw-text-opacity));
1057
+ color: rgb(var(--c-color-gray-300-600) / var(--tw-text-opacity));
833
1058
  }
834
-
835
- /* src/dropdown-menu/dropdown-menu.css */
836
- .c-dropdown-menu-content {
837
- --tw-shadow: 0 2px 4px rgba(130,138,144,0.15);
838
- --tw-shadow-colored: 0 2px 4px var(--tw-shadow-color);
839
- box-shadow:
840
- var(--tw-ring-offset-shadow, 0 0 #0000),
841
- var(--tw-ring-shadow, 0 0 #0000),
842
- var(--tw-shadow);
1059
+ .c-btn__prepend,
1060
+ .c-btn__append {
1061
+ display: flex;
1062
+ align-items: center;
843
1063
  }
844
- .c-dropdown-menu-label {
845
- --tw-bg-opacity: 1;
846
- background-color: rgb(var(--c-color-elevate) / var(--tw-bg-opacity));
847
- padding-left: 1rem;
848
- padding-right: 1rem;
849
- padding-top: 0.5rem;
850
- font-family:
851
- Roboto,
852
- ui-sans-serif,
853
- system-ui,
854
- -apple-system,
855
- BlinkMacSystemFont,
856
- "Segoe UI",
857
- Roboto,
858
- "Helvetica Neue",
859
- Arial,
860
- "Noto Sans",
861
- sans-serif,
862
- "Apple Color Emoji",
863
- "Segoe UI Emoji",
864
- "Segoe UI Symbol",
865
- "Noto Color Emoji";
866
- font-size: 0.75rem;
867
- line-height: 1rem;
868
- font-weight: 700;
869
- --tw-text-opacity: 1;
870
- color: rgb(var(--c-color-gray-500-400) / var(--tw-text-opacity));
871
- }
872
- .c-dropdown-menu-label:first-child {
873
- border-top-left-radius: 0.25rem;
874
- border-top-right-radius: 0.25rem;
875
- }
876
- .c-dropdown-menu-item {
877
- display: flex;
878
- height: 2.5rem;
879
- cursor: pointer;
880
- align-items: center;
881
- --tw-bg-opacity: 1;
882
- background-color: rgb(var(--c-color-elevate) / var(--tw-bg-opacity));
883
- padding-left: 0.75rem;
884
- padding-right: 0.75rem;
885
- font-family:
886
- Roboto,
887
- ui-sans-serif,
888
- system-ui,
889
- -apple-system,
890
- BlinkMacSystemFont,
891
- "Segoe UI",
892
- Roboto,
893
- "Helvetica Neue",
894
- Arial,
895
- "Noto Sans",
896
- sans-serif,
897
- "Apple Color Emoji",
898
- "Segoe UI Emoji",
899
- "Segoe UI Symbol",
900
- "Noto Color Emoji";
901
- font-size: 0.75rem;
902
- line-height: 1rem;
903
- font-weight: 500;
904
- --tw-text-opacity: 1;
905
- color: rgb(var(--c-color-gray-700-200) / var(--tw-text-opacity));
906
- }
907
- .c-dropdown-menu-item:hover,
908
- .c-dropdown-menu-item:focus,
909
- .c-dropdown-menu-item:focus-visible {
910
- --tw-bg-opacity: 1;
911
- background-color: rgb(var(--c-color-gray-50-900) / var(--tw-bg-opacity));
912
- outline: 2px solid transparent;
913
- outline-offset: 2px;
914
- }
915
- .c-dropdown-menu-item:first-child {
916
- border-top-right-radius: 0.25rem;
917
- border-top-left-radius: 0.25rem;
918
- }
919
- .c-dropdown-menu-item:last-child {
920
- border-bottom-right-radius: 0.25rem;
921
- border-bottom-left-radius: 0.25rem;
922
- }
923
-
924
- /* src/avatar/avatar.css */
925
- .c-avatar {
926
- display: flex;
927
- align-items: center;
928
- justify-content: center;
929
- border-radius: 9999px;
930
- border-width: 1px;
931
- border-style: solid;
932
- --tw-border-opacity: 1;
933
- border-color: rgb(var(--c-color-cyan-800-100) / var(--tw-border-opacity));
934
- --tw-bg-opacity: 1;
935
- background-color: rgb(var(--c-color-cyan-200-700) / var(--tw-bg-opacity));
936
- --tw-text-opacity: 1;
937
- color: rgb(var(--c-color-cyan-800-100) / var(--tw-text-opacity));
938
- }
939
- .c-avatar-initials {
940
- font-weight: 700;
941
- line-height: 1;
942
- letter-spacing: -0.025em;
943
- }
944
- .c-avatar-md {
945
- height: 1.75rem;
946
- width: 1.75rem;
947
- font-size: 0.75rem;
948
- line-height: 1rem;
949
- }
950
- .c-avatar-lg {
951
- height: 2.25rem;
952
- width: 2.25rem;
953
- font-size: 0.875rem;
954
- line-height: 1.25rem;
955
- }
956
- .c-avatar-xl {
957
- height: 3rem;
958
- width: 3rem;
959
- font-size: 1rem;
960
- line-height: 1.5rem;
961
- }
962
- .c-avatar-2xl {
963
- height: 4rem;
964
- width: 4rem;
965
- font-size: 1.25rem;
966
- line-height: 1.75rem;
967
- }
968
-
969
- /* src/button/button.css */
970
- .c-btn {
971
- display: inline-grid;
972
- cursor: pointer;
973
- grid-auto-flow: column;
974
- align-items: center;
975
- gap: 0.5rem;
976
- white-space: nowrap;
977
- border-radius: 0.25rem;
978
- border-style: none;
979
- background-color: transparent;
980
- font-family:
981
- Roboto,
982
- ui-sans-serif,
983
- system-ui,
984
- -apple-system,
985
- BlinkMacSystemFont,
986
- "Segoe UI",
987
- Roboto,
988
- "Helvetica Neue",
989
- Arial,
990
- "Noto Sans",
991
- sans-serif,
992
- "Apple Color Emoji",
993
- "Segoe UI Emoji",
994
- "Segoe UI Symbol",
995
- "Noto Color Emoji";
996
- font-weight: 600;
997
- color: rgb(var(--c-color-gray));
998
- text-decoration-line: none;
999
- outline-offset: -1px;
1000
- }
1001
- .c-btn:focus-visible {
1002
- outline-style: solid;
1003
- outline-width: 1px;
1004
- outline-color: inherit;
1005
- outline-color: currentColor;
1006
- }
1007
- .c-btn:disabled {
1008
- cursor: default;
1009
- --tw-text-opacity: 1;
1010
- color: rgb(var(--c-color-gray-300-600) / var(--tw-text-opacity));
1011
- }
1012
- .c-btn__prepend,
1013
- .c-btn__append {
1014
- display: flex;
1015
- align-items: center;
1016
- }
1017
- .c-btn__prepend {
1018
- margin-left: -0.5rem;
1019
- }
1020
- .c-btn__append {
1021
- margin-right: -0.5rem;
1022
- }
1023
- .c-btn__loading-spinner {
1024
- position: absolute;
1025
- left: 0.25rem;
1026
- display: flex;
1027
- align-items: center;
1028
- justify-content: center;
1029
- }
1030
- .c-btn,
1031
- .c-btn .c-btn__loading-spinner {
1064
+ .c-btn__prepend {
1065
+ margin-left: -0.5rem;
1066
+ }
1067
+ .c-btn__append {
1068
+ margin-right: -0.5rem;
1069
+ }
1070
+ .c-btn__loading-spinner {
1071
+ position: absolute;
1072
+ left: 0.25rem;
1073
+ display: flex;
1074
+ align-items: center;
1075
+ justify-content: center;
1076
+ }
1077
+ .c-btn,
1078
+ .c-btn .c-btn__loading-spinner {
1032
1079
  --tw-bg-opacity: 1;
1033
1080
  background-color: rgb(var(--c-color-purple-50-900) / var(--tw-bg-opacity));
1034
1081
  }
@@ -1175,44 +1222,288 @@ button {
1175
1222
  background-color: rgb(var(--c-color-elevate) / var(--tw-bg-opacity));
1176
1223
  }
1177
1224
 
1178
- /* src/checkbox/checkbox.css */
1179
- .c-checkbox {
1225
+ /* src/action-menu/action-menu.css */
1226
+ .c-action-menu {
1180
1227
  display: flex;
1181
- height: 0.875rem;
1182
- width: 0.875rem;
1228
+ height: 2rem;
1229
+ width: 2rem;
1230
+ flex-shrink: 0;
1231
+ --tw-rotate: 0deg;
1232
+ transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
1183
1233
  cursor: pointer;
1234
+ flex-direction: column;
1184
1235
  align-items: center;
1185
1236
  justify-content: center;
1186
- border-radius: 0.125rem;
1187
- border-width: 1px;
1188
- border-style: solid;
1189
- --tw-border-opacity: 1;
1190
- border-color: rgb(var(--c-color-gray-100-800) / var(--tw-border-opacity));
1191
- --tw-bg-opacity: 1;
1192
- background-color: rgb(var(--c-color-elevate) / var(--tw-bg-opacity));
1193
- }
1194
- .c-checkbox[aria-checked=true] {
1195
- --tw-border-opacity: 1;
1196
- border-color: rgb(var(--c-color-cyan-700-200) / var(--tw-border-opacity));
1197
- --tw-bg-opacity: 1;
1198
- background-color: rgb(var(--c-color-cyan-200-700) / var(--tw-bg-opacity));
1237
+ gap: 2px;
1238
+ border-radius: 0.375rem;
1239
+ border-style: none;
1240
+ background-color: transparent;
1241
+ padding: 0.25rem;
1242
+ outline-offset: -1px;
1243
+ transition-property:
1244
+ color,
1245
+ background-color,
1246
+ border-color,
1247
+ text-decoration-color,
1248
+ fill,
1249
+ stroke,
1250
+ opacity,
1251
+ box-shadow,
1252
+ transform,
1253
+ filter,
1254
+ backdrop-filter;
1255
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
1256
+ transition-duration: 150ms;
1199
1257
  }
1200
- .c-checkbox:focus {
1201
- outline: 2px solid transparent;
1202
- outline-offset: 2px;
1203
- --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
1204
- --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);
1205
- box-shadow:
1206
- var(--tw-ring-offset-shadow),
1207
- var(--tw-ring-shadow),
1208
- var(--tw-shadow, 0 0 #0000);
1209
- --tw-ring-opacity: 1;
1210
- --tw-ring-color: rgb(var(--c-color-cyan-700-200) / var(--tw-ring-opacity));
1211
- --tw-ring-offset-width: 1px ;
1258
+ .c-action-menu-dot {
1259
+ height: 4px;
1260
+ width: 4px;
1261
+ border-radius: 9999px;
1262
+ background-color: rgb(var(--c-color-gray));
1212
1263
  }
1213
- .c-checkbox:disabled {
1214
- cursor: default;
1215
- opacity: 0.4;
1264
+ .c-action-menu[data-state=open],
1265
+ .c-action-menu [aria-expanded=true] {
1266
+ flex-direction: row;
1267
+ gap: 3px;
1268
+ }
1269
+ .c-action-menu:focus-visible {
1270
+ outline-style: solid;
1271
+ outline-width: 1px;
1272
+ outline-color: inherit;
1273
+ outline-color: currentColor;
1274
+ }
1275
+ .c-action-menu:not(:disabled):hover {
1276
+ gap: 3px;
1277
+ --tw-bg-opacity: 1;
1278
+ background-color: rgb(var(--c-color-gray-100-800) / var(--tw-bg-opacity));
1279
+ outline-style: solid;
1280
+ outline-width: 1px;
1281
+ outline-color: rgb(var(--c-color-purple-200-700) / 1);
1282
+ }
1283
+ .c-action-menu:not(:disabled):active {
1284
+ --tw-scale-x: .95;
1285
+ --tw-scale-y: .95;
1286
+ transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
1287
+ --tw-bg-opacity: 1;
1288
+ background-color: rgb(var(--c-color-purple-100-800) / var(--tw-bg-opacity));
1289
+ }
1290
+ .c-action-menu-item {
1291
+ display: flex;
1292
+ cursor: pointer;
1293
+ align-items: center;
1294
+ gap: 0.5rem;
1295
+ padding-top: 0.625rem;
1296
+ padding-bottom: 0.625rem;
1297
+ padding-left: 1.25rem;
1298
+ padding-right: 1.25rem;
1299
+ font-family:
1300
+ Roboto,
1301
+ ui-sans-serif,
1302
+ system-ui,
1303
+ -apple-system,
1304
+ BlinkMacSystemFont,
1305
+ "Segoe UI",
1306
+ Roboto,
1307
+ "Helvetica Neue",
1308
+ Arial,
1309
+ "Noto Sans",
1310
+ sans-serif,
1311
+ "Apple Color Emoji",
1312
+ "Segoe UI Emoji",
1313
+ "Segoe UI Symbol",
1314
+ "Noto Color Emoji";
1315
+ font-size: 0.875rem;
1316
+ line-height: 1.25rem;
1317
+ font-weight: 500;
1318
+ color: rgb(var(--c-color-gray));
1319
+ }
1320
+ .c-action-menu-item:hover {
1321
+ --tw-bg-opacity: 1;
1322
+ background-color: rgb(var(--c-color-gray-50-900) / var(--tw-bg-opacity));
1323
+ }
1324
+ .c-action-menu-item:focus {
1325
+ --tw-bg-opacity: 1;
1326
+ background-color: rgb(var(--c-color-gray-50-900) / var(--tw-bg-opacity));
1327
+ outline: 2px solid transparent;
1328
+ outline-offset: 2px;
1329
+ }
1330
+ .c-action-menu-item.danger {
1331
+ --tw-text-opacity: 1;
1332
+ color: rgb(var(--c-color-pink-600-300) / var(--tw-text-opacity));
1333
+ }
1334
+
1335
+ /* src/dropdown-menu/dropdown-menu.css */
1336
+ .c-dropdown-menu-content {
1337
+ --tw-shadow: 0 2px 4px rgba(130,138,144,0.15);
1338
+ --tw-shadow-colored: 0 2px 4px var(--tw-shadow-color);
1339
+ box-shadow:
1340
+ var(--tw-ring-offset-shadow, 0 0 #0000),
1341
+ var(--tw-ring-shadow, 0 0 #0000),
1342
+ var(--tw-shadow);
1343
+ }
1344
+ .c-dropdown-menu-label {
1345
+ --tw-bg-opacity: 1;
1346
+ background-color: rgb(var(--c-color-elevate) / var(--tw-bg-opacity));
1347
+ padding-left: 1rem;
1348
+ padding-right: 1rem;
1349
+ padding-top: 0.5rem;
1350
+ font-family:
1351
+ Roboto,
1352
+ ui-sans-serif,
1353
+ system-ui,
1354
+ -apple-system,
1355
+ BlinkMacSystemFont,
1356
+ "Segoe UI",
1357
+ Roboto,
1358
+ "Helvetica Neue",
1359
+ Arial,
1360
+ "Noto Sans",
1361
+ sans-serif,
1362
+ "Apple Color Emoji",
1363
+ "Segoe UI Emoji",
1364
+ "Segoe UI Symbol",
1365
+ "Noto Color Emoji";
1366
+ font-size: 0.75rem;
1367
+ line-height: 1rem;
1368
+ font-weight: 700;
1369
+ --tw-text-opacity: 1;
1370
+ color: rgb(var(--c-color-gray-500-400) / var(--tw-text-opacity));
1371
+ }
1372
+ .c-dropdown-menu-label:first-child {
1373
+ border-top-left-radius: 0.25rem;
1374
+ border-top-right-radius: 0.25rem;
1375
+ }
1376
+ .c-dropdown-menu-item {
1377
+ display: flex;
1378
+ height: 2.5rem;
1379
+ cursor: pointer;
1380
+ align-items: center;
1381
+ --tw-bg-opacity: 1;
1382
+ background-color: rgb(var(--c-color-elevate) / var(--tw-bg-opacity));
1383
+ padding-left: 0.75rem;
1384
+ padding-right: 0.75rem;
1385
+ font-family:
1386
+ Roboto,
1387
+ ui-sans-serif,
1388
+ system-ui,
1389
+ -apple-system,
1390
+ BlinkMacSystemFont,
1391
+ "Segoe UI",
1392
+ Roboto,
1393
+ "Helvetica Neue",
1394
+ Arial,
1395
+ "Noto Sans",
1396
+ sans-serif,
1397
+ "Apple Color Emoji",
1398
+ "Segoe UI Emoji",
1399
+ "Segoe UI Symbol",
1400
+ "Noto Color Emoji";
1401
+ font-size: 0.75rem;
1402
+ line-height: 1rem;
1403
+ font-weight: 500;
1404
+ --tw-text-opacity: 1;
1405
+ color: rgb(var(--c-color-gray-700-200) / var(--tw-text-opacity));
1406
+ }
1407
+ .c-dropdown-menu-item:hover,
1408
+ .c-dropdown-menu-item:focus,
1409
+ .c-dropdown-menu-item:focus-visible {
1410
+ --tw-bg-opacity: 1;
1411
+ background-color: rgb(var(--c-color-gray-50-900) / var(--tw-bg-opacity));
1412
+ outline: 2px solid transparent;
1413
+ outline-offset: 2px;
1414
+ }
1415
+ .c-dropdown-menu-item:first-child {
1416
+ border-top-right-radius: 0.25rem;
1417
+ border-top-left-radius: 0.25rem;
1418
+ }
1419
+ .c-dropdown-menu-item:last-child {
1420
+ border-bottom-right-radius: 0.25rem;
1421
+ border-bottom-left-radius: 0.25rem;
1422
+ }
1423
+
1424
+ /* src/avatar/avatar.css */
1425
+ .c-avatar {
1426
+ display: flex;
1427
+ align-items: center;
1428
+ justify-content: center;
1429
+ border-radius: 9999px;
1430
+ border-width: 1px;
1431
+ border-style: solid;
1432
+ --tw-border-opacity: 1;
1433
+ border-color: rgb(var(--c-color-cyan-800-100) / var(--tw-border-opacity));
1434
+ --tw-bg-opacity: 1;
1435
+ background-color: rgb(var(--c-color-cyan-200-700) / var(--tw-bg-opacity));
1436
+ --tw-text-opacity: 1;
1437
+ color: rgb(var(--c-color-cyan-800-100) / var(--tw-text-opacity));
1438
+ }
1439
+ .c-avatar-initials {
1440
+ font-weight: 700;
1441
+ line-height: 1;
1442
+ letter-spacing: -0.025em;
1443
+ }
1444
+ .c-avatar-md {
1445
+ height: 1.75rem;
1446
+ width: 1.75rem;
1447
+ font-size: 0.75rem;
1448
+ line-height: 1rem;
1449
+ }
1450
+ .c-avatar-lg {
1451
+ height: 2.25rem;
1452
+ width: 2.25rem;
1453
+ font-size: 0.875rem;
1454
+ line-height: 1.25rem;
1455
+ }
1456
+ .c-avatar-xl {
1457
+ height: 3rem;
1458
+ width: 3rem;
1459
+ font-size: 1rem;
1460
+ line-height: 1.5rem;
1461
+ }
1462
+ .c-avatar-2xl {
1463
+ height: 4rem;
1464
+ width: 4rem;
1465
+ font-size: 1.25rem;
1466
+ line-height: 1.75rem;
1467
+ }
1468
+
1469
+ /* src/checkbox/checkbox.css */
1470
+ .c-checkbox {
1471
+ display: flex;
1472
+ height: 0.875rem;
1473
+ width: 0.875rem;
1474
+ cursor: pointer;
1475
+ align-items: center;
1476
+ justify-content: center;
1477
+ border-radius: 0.125rem;
1478
+ border-width: 1px;
1479
+ border-style: solid;
1480
+ --tw-border-opacity: 1;
1481
+ border-color: rgb(var(--c-color-gray-100-800) / var(--tw-border-opacity));
1482
+ --tw-bg-opacity: 1;
1483
+ background-color: rgb(var(--c-color-elevate) / var(--tw-bg-opacity));
1484
+ }
1485
+ .c-checkbox[aria-checked=true] {
1486
+ --tw-border-opacity: 1;
1487
+ border-color: rgb(var(--c-color-cyan-700-200) / var(--tw-border-opacity));
1488
+ --tw-bg-opacity: 1;
1489
+ background-color: rgb(var(--c-color-cyan-200-700) / var(--tw-bg-opacity));
1490
+ }
1491
+ .c-checkbox:focus {
1492
+ outline: 2px solid transparent;
1493
+ outline-offset: 2px;
1494
+ --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
1495
+ --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);
1496
+ box-shadow:
1497
+ var(--tw-ring-offset-shadow),
1498
+ var(--tw-ring-shadow),
1499
+ var(--tw-shadow, 0 0 #0000);
1500
+ --tw-ring-opacity: 1;
1501
+ --tw-ring-color: rgb(var(--c-color-cyan-700-200) / var(--tw-ring-opacity));
1502
+ --tw-ring-offset-width: 1px ;
1503
+ }
1504
+ .c-checkbox:disabled {
1505
+ cursor: default;
1506
+ opacity: 0.4;
1216
1507
  }
1217
1508
  .c-checkbox:readonly {
1218
1509
  cursor: default;
@@ -1331,9 +1622,6 @@ button {
1331
1622
  padding: 0px;
1332
1623
  font-weight: 500;
1333
1624
  }
1334
- .c-icon-button:not(:disabled):active {
1335
- transform: scale(0.95);
1336
- }
1337
1625
  .c-icon-button:disabled {
1338
1626
  --tw-scale-x: 1;
1339
1627
  --tw-scale-y: 1;
@@ -1346,8 +1634,11 @@ button {
1346
1634
  var(--tw-ring-shadow, 0 0 #0000),
1347
1635
  var(--tw-shadow);
1348
1636
  }
1349
- .c-icon-button:focus,
1350
- .c-icon-button:hover {
1637
+ .c-icon-button:enabled:active {
1638
+ transform: scale(0.95);
1639
+ }
1640
+ .c-icon-button:enabled:focus,
1641
+ .c-icon-button:enabled:hover {
1351
1642
  --tw-bg-opacity: 1;
1352
1643
  background-color: rgb(var(--c-color-elevate) / var(--tw-bg-opacity));
1353
1644
  --tw-shadow: 0 2px 4px rgba(130,138,144,0.15);
@@ -1357,7 +1648,12 @@ button {
1357
1648
  var(--tw-ring-shadow, 0 0 #0000),
1358
1649
  var(--tw-shadow);
1359
1650
  }
1360
- .c-icon-button:focus-visible {
1651
+ .c-icon-button:enabled:hover {
1652
+ outline-style: solid;
1653
+ outline-width: 1px;
1654
+ outline-color: rgb(var(--c-color-purple-200-700) / 1);
1655
+ }
1656
+ .c-icon-button:enabled:focus-visible {
1361
1657
  outline-style: solid;
1362
1658
  outline-width: 1px;
1363
1659
  outline-offset: 1px;
@@ -1373,11 +1669,6 @@ button {
1373
1669
  var(--tw-ring-shadow, 0 0 #0000),
1374
1670
  var(--tw-shadow);
1375
1671
  }
1376
- .c-icon-button:not(:disabled):hover {
1377
- outline-style: solid;
1378
- outline-width: 1px;
1379
- outline-color: rgb(var(--c-color-purple-200-700) / 1);
1380
- }
1381
1672
  .c-icon-button-xxs {
1382
1673
  height: 1.25rem;
1383
1674
  width: 1.25rem;
@@ -1478,7 +1769,7 @@ button {
1478
1769
  padding: 0.75rem;
1479
1770
  }
1480
1771
  .c-input-with-label-input-wrap {
1481
- margin-top: 0.75rem;
1772
+ margin-top: 0.25rem;
1482
1773
  display: flex;
1483
1774
  }
1484
1775
  .c-input-with-label-input {
@@ -1533,10 +1824,10 @@ button {
1533
1824
  .c-input::placeholder {
1534
1825
  font-size: 0.875rem;
1535
1826
  line-height: 1.25rem;
1536
- font-weight: 300;
1827
+ font-weight: 400;
1537
1828
  font-style: italic;
1538
1829
  --tw-text-opacity: 1;
1539
- color: rgb(var(--c-color-gray-400-500) / var(--tw-text-opacity));
1830
+ color: rgb(var(--c-color-gray-300-600) / var(--tw-text-opacity));
1540
1831
  }
1541
1832
  .c-input:focus {
1542
1833
  outline: 2px solid transparent;
@@ -1811,3 +2102,2108 @@ button {
1811
2102
  --tw-bg-opacity: 1;
1812
2103
  background-color: rgb(var(--c-color-elevate) / var(--tw-bg-opacity));
1813
2104
  }
2105
+
2106
+ /* src/rich-text-editor/rich-text-editor.css */
2107
+ .editor-shell {
2108
+ margin: 0px auto;
2109
+ max-width: 1100px;
2110
+ position: relative;
2111
+ line-height: 1.7;
2112
+ }
2113
+ .editor-shell > * {
2114
+ box-sizing: border-box;
2115
+ }
2116
+ .editor-shell {
2117
+ font-family:
2118
+ Roboto,
2119
+ ui-sans-serif,
2120
+ system-ui,
2121
+ -apple-system,
2122
+ BlinkMacSystemFont,
2123
+ "Segoe UI",
2124
+ Roboto,
2125
+ "Helvetica Neue",
2126
+ Arial,
2127
+ "Noto Sans",
2128
+ sans-serif,
2129
+ "Apple Color Emoji",
2130
+ "Segoe UI Emoji",
2131
+ "Segoe UI Symbol",
2132
+ "Noto Color Emoji" !important;
2133
+ font-weight: 400;
2134
+ --tw-text-opacity: 1;
2135
+ color: rgb(var(--c-color-gray-900-50) / var(--tw-text-opacity));
2136
+ }
2137
+ .editor-shell .editor-container {
2138
+ background: #fff;
2139
+ position: relative;
2140
+ cursor: text;
2141
+ margin-top: 0.5rem;
2142
+ border-bottom-left-radius: 0.375rem;
2143
+ border-bottom-right-radius: 0.375rem;
2144
+ }
2145
+ .editor-shell .editor-container.plain-text {
2146
+ border-top-left-radius: 0.375rem;
2147
+ border-top-right-radius: 0.375rem;
2148
+ }
2149
+ .editor-scroller {
2150
+ min-height: 150px;
2151
+ border: 0;
2152
+ resize: none;
2153
+ cursor: text;
2154
+ display: block;
2155
+ position: relative;
2156
+ outline: 0;
2157
+ resize: vertical;
2158
+ }
2159
+ .editor {
2160
+ height: 100%;
2161
+ position: relative;
2162
+ }
2163
+ .test-recorder-output {
2164
+ margin: 20px auto 20px auto;
2165
+ width: 100%;
2166
+ }
2167
+ pre {
2168
+ line-height: 1.1;
2169
+ color: #fff;
2170
+ margin: 0;
2171
+ padding: 10px;
2172
+ overflow: auto;
2173
+ max-height: 180px;
2174
+ --tw-bg-opacity: 1;
2175
+ background-color: rgb(var(--c-color-purple-50-900) / var(--tw-bg-opacity));
2176
+ font-size: 0.875rem;
2177
+ line-height: 1.25rem;
2178
+ }
2179
+ pre::-webkit-scrollbar {
2180
+ background: transparent;
2181
+ width: 10px;
2182
+ }
2183
+ pre::-webkit-scrollbar-thumb {
2184
+ background: #999;
2185
+ }
2186
+ .editor-dev-button {
2187
+ position: relative;
2188
+ display: block;
2189
+ width: 40px;
2190
+ height: 40px;
2191
+ font-size: 12px;
2192
+ border-radius: 20px;
2193
+ border: none;
2194
+ cursor: pointer;
2195
+ outline: none;
2196
+ box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.3);
2197
+ background-color: #444;
2198
+ }
2199
+ .editor-dev-button::after {
2200
+ content: "";
2201
+ position: absolute;
2202
+ top: 10px;
2203
+ right: 10px;
2204
+ bottom: 10px;
2205
+ left: 10px;
2206
+ display: block;
2207
+ background-size: contain;
2208
+ filter: invert(1);
2209
+ }
2210
+ .editor-dev-button:hover {
2211
+ background-color: #555;
2212
+ }
2213
+ .editor-dev-button.active {
2214
+ background-color: rgb(233, 35, 35);
2215
+ }
2216
+ .test-recorder-toolbar {
2217
+ display: flex;
2218
+ }
2219
+ .test-recorder-button {
2220
+ position: relative;
2221
+ display: block;
2222
+ width: 32px;
2223
+ height: 32px;
2224
+ font-size: 10px;
2225
+ padding: 6px 6px;
2226
+ border-radius: 4px;
2227
+ border: none;
2228
+ cursor: pointer;
2229
+ outline: none;
2230
+ box-shadow: 1px 2px 2px rgba(0, 0, 0, 0.4);
2231
+ background-color: #222;
2232
+ transition: box-shadow 50ms ease-out;
2233
+ }
2234
+ .test-recorder-button:active {
2235
+ box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.4);
2236
+ }
2237
+ .test-recorder-button + .test-recorder-button {
2238
+ margin-left: 4px;
2239
+ }
2240
+ .test-recorder-button::after {
2241
+ content: "";
2242
+ position: absolute;
2243
+ top: 8px;
2244
+ right: 8px;
2245
+ bottom: 8px;
2246
+ left: 8px;
2247
+ display: block;
2248
+ background-size: contain;
2249
+ filter: invert(1);
2250
+ }
2251
+ #options-button {
2252
+ position: fixed;
2253
+ left: 20px;
2254
+ bottom: 20px;
2255
+ }
2256
+ #test-recorder-button {
2257
+ position: fixed;
2258
+ left: 70px;
2259
+ bottom: 20px;
2260
+ }
2261
+ #paste-log-button {
2262
+ position: fixed;
2263
+ left: 120px;
2264
+ bottom: 20px;
2265
+ }
2266
+ #options-button::after {
2267
+ background-image: url(./gear-ICMT4NTP.svg);
2268
+ }
2269
+ #test-recorder-button::after {
2270
+ background-image: url(./journal-code-XUT44HDV.svg);
2271
+ }
2272
+ #paste-log-button::after {
2273
+ background-image: url(./clipboard-OSEFDF25.svg);
2274
+ }
2275
+ #test-recorder-button-snapshot {
2276
+ margin-right: auto;
2277
+ }
2278
+ #test-recorder-button-snapshot::after {
2279
+ background-image: url(./camera-CR7D2PNH.svg);
2280
+ }
2281
+ #test-recorder-button-copy::after {
2282
+ background-image: url(./clipboard-OSEFDF25.svg);
2283
+ }
2284
+ #test-recorder-button-download::after {
2285
+ background-image: url(./download-JXUGIUCX.svg);
2286
+ }
2287
+ .typeahead-popover {
2288
+ background: #fff;
2289
+ box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.3);
2290
+ border-radius: 8px;
2291
+ margin-top: 25px;
2292
+ }
2293
+ .typeahead-popover ul {
2294
+ padding: 0;
2295
+ list-style: none;
2296
+ margin: 0;
2297
+ border-radius: 8px;
2298
+ max-height: 200px;
2299
+ overflow-y: scroll;
2300
+ }
2301
+ .typeahead-popover ul::-webkit-scrollbar {
2302
+ display: none;
2303
+ }
2304
+ .typeahead-popover ul {
2305
+ -ms-overflow-style: none;
2306
+ scrollbar-width: none;
2307
+ }
2308
+ .typeahead-popover ul li {
2309
+ margin: 0;
2310
+ min-width: 180px;
2311
+ font-size: 14px;
2312
+ outline: none;
2313
+ cursor: pointer;
2314
+ border-radius: 8px;
2315
+ }
2316
+ .typeahead-popover ul li.selected {
2317
+ background: #eee;
2318
+ }
2319
+ .typeahead-popover li {
2320
+ margin: 0 8px 0 8px;
2321
+ padding: 8px;
2322
+ color: #050505;
2323
+ cursor: pointer;
2324
+ line-height: 16px;
2325
+ font-size: 15px;
2326
+ display: flex;
2327
+ align-content: center;
2328
+ flex-direction: row;
2329
+ flex-shrink: 0;
2330
+ background-color: #fff;
2331
+ border-radius: 8px;
2332
+ border: 0;
2333
+ }
2334
+ .typeahead-popover li.active {
2335
+ display: flex;
2336
+ width: 20px;
2337
+ height: 20px;
2338
+ background-size: contain;
2339
+ }
2340
+ .typeahead-popover li:first-child {
2341
+ border-radius: 8px 8px 0px 0px;
2342
+ }
2343
+ .typeahead-popover li:last-child {
2344
+ border-radius: 0px 0px 8px 8px;
2345
+ }
2346
+ .typeahead-popover li:hover {
2347
+ background-color: #eee;
2348
+ }
2349
+ .typeahead-popover li .text {
2350
+ display: flex;
2351
+ line-height: 20px;
2352
+ flex-grow: 1;
2353
+ min-width: 150px;
2354
+ }
2355
+ .typeahead-popover li .icon {
2356
+ display: flex;
2357
+ width: 20px;
2358
+ height: 20px;
2359
+ user-select: none;
2360
+ margin-right: 8px;
2361
+ line-height: 16px;
2362
+ background-size: contain;
2363
+ background-repeat: no-repeat;
2364
+ background-position: center;
2365
+ }
2366
+ .component-picker-menu {
2367
+ width: 200px;
2368
+ }
2369
+ .auto-embed-menu {
2370
+ width: 150px;
2371
+ }
2372
+ i.palette {
2373
+ background-image: url(./palette-SWGFPRWZ.svg);
2374
+ }
2375
+ i.bucket {
2376
+ background-image: url(./paint-bucket-VCISMZTH.svg);
2377
+ }
2378
+ i.bold {
2379
+ background-image: url(./type-bold-PY7COC3N.svg);
2380
+ }
2381
+ i.italic {
2382
+ background-image: url(./type-italic-3DSFOSG2.svg);
2383
+ }
2384
+ i.clear {
2385
+ background-image: url(./trash-UOM6D7TD.svg);
2386
+ }
2387
+ i.code {
2388
+ background-image: url(./code-SEVR6TIQ.svg);
2389
+ }
2390
+ i.underline {
2391
+ background-image: url(./type-underline-CBFA5VLF.svg);
2392
+ }
2393
+ i.strikethrough {
2394
+ background-image: url(./type-strikethrough-E2KKQFSX.svg);
2395
+ }
2396
+ i.subscript {
2397
+ background-image: url(./type-subscript-BMPTRIBU.svg);
2398
+ }
2399
+ i.superscript {
2400
+ background-image: url(./type-superscript-EDF6EPAA.svg);
2401
+ }
2402
+ i.link {
2403
+ background-image: url(./link-W52N4JKZ.svg);
2404
+ }
2405
+ i.horizontal-rule {
2406
+ background-image: url(./horizontal-rule-N6RD2V7H.svg);
2407
+ }
2408
+ .icon.plus {
2409
+ background-image: url(./plus-CQISIKEC.svg);
2410
+ }
2411
+ .icon.caret-right {
2412
+ background-image: url(./caret-right-fill-FFBNEXVX.svg);
2413
+ }
2414
+ .icon.dropdown-more {
2415
+ background-image: url(./dropdown-more-BHZ5COKX.svg);
2416
+ }
2417
+ .icon.font-color {
2418
+ background-image: url(./font-color-J4GA3ZJO.svg);
2419
+ }
2420
+ .icon.font-family {
2421
+ background-image: url(./font-family-ZU5N6TTE.svg);
2422
+ }
2423
+ .icon.bg-color {
2424
+ background-image: url(./bg-color-HB2WDYGO.svg);
2425
+ }
2426
+ i.image {
2427
+ background-image: url(./file-image-TIQPFJX4.svg);
2428
+ }
2429
+ i.table {
2430
+ background-image: url(./table-BR6DI4ZQ.svg);
2431
+ }
2432
+ i.close {
2433
+ background-image: url(./close-FH57ZMJF.svg);
2434
+ }
2435
+ .icon.left-align,
2436
+ i.left-align {
2437
+ background-image: url(./text-left-KT2B6TR3.svg);
2438
+ }
2439
+ i.center-align {
2440
+ background-image: url(./text-center-UQI6PAEF.svg);
2441
+ }
2442
+ i.right-align {
2443
+ background-image: url(./text-right-SKELPISG.svg);
2444
+ }
2445
+ i.justify-align {
2446
+ background-image: url(./justify-J7X5JEEX.svg);
2447
+ }
2448
+ i.indent {
2449
+ background-image: url(./indent-MJ6JIMCK.svg);
2450
+ }
2451
+ i.markdown {
2452
+ background-image: url(./markdown-4BGQNLLT.svg);
2453
+ }
2454
+ i.outdent {
2455
+ background-image: url(./outdent-2LUMUMIP.svg);
2456
+ }
2457
+ i.undo {
2458
+ background-image: url(./arrow-counterclockwise-2O5EYVJT.svg);
2459
+ }
2460
+ i.redo {
2461
+ background-image: url(./arrow-clockwise-Z2G6UEGP.svg);
2462
+ }
2463
+ i.mic {
2464
+ background-image: url(./mic-H5FNOMM7.svg);
2465
+ }
2466
+ i.import {
2467
+ background-image: url(./upload-Q6KICGZW.svg);
2468
+ }
2469
+ i.export {
2470
+ background-image: url(./download-JXUGIUCX.svg);
2471
+ }
2472
+ i.diagram-2 {
2473
+ background-image: url(./diagram-2-CEJUD2B4.svg);
2474
+ }
2475
+ i.user {
2476
+ background-image: url(./user-EOI2NEFZ.svg);
2477
+ }
2478
+ i.equation {
2479
+ background-image: url(./plus-slash-minus-N22JU4TI.svg);
2480
+ }
2481
+ i.gif {
2482
+ background-image: url(./filetype-gif-OG2BEYYK.svg);
2483
+ }
2484
+ i.copy {
2485
+ background-image: url(./copy-DMGDODUL.svg);
2486
+ }
2487
+ i.success {
2488
+ background-image: url(./success-YVXUMPEZ.svg);
2489
+ }
2490
+ i.prettier {
2491
+ background-image: url(./prettier-WUJ7B5NV.svg);
2492
+ }
2493
+ i.prettier-error {
2494
+ background-image: url(./prettier-error-DYJSLYDP.svg);
2495
+ }
2496
+ .link-editor {
2497
+ box-sizing: border-box;
2498
+ }
2499
+ .link-editor .button.active,
2500
+ .toolbar .button.active {
2501
+ --tw-bg-opacity: 1;
2502
+ background-color: rgb(var(--c-color-purple-50-900) / var(--tw-bg-opacity));
2503
+ }
2504
+ .link-editor {
2505
+ border-radius: 0.5rem !important;
2506
+ border-width: 1px;
2507
+ border-style: solid;
2508
+ --tw-border-opacity: 1;
2509
+ border-color: rgb(var(--c-color-gray-100-800) / var(--tw-border-opacity));
2510
+ --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1) !important;
2511
+ --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color) !important;
2512
+ box-shadow:
2513
+ var(--tw-ring-offset-shadow, 0 0 #0000),
2514
+ var(--tw-ring-shadow, 0 0 #0000),
2515
+ var(--tw-shadow) !important;
2516
+ }
2517
+ .link-editor .link-input {
2518
+ width: 100%;
2519
+ box-sizing: border-box;
2520
+ margin: 8px 0;
2521
+ padding: 8px 24px;
2522
+ font-size: 15px;
2523
+ color: rgb(5, 5, 5);
2524
+ outline: 0;
2525
+ position: relative;
2526
+ font-family: inherit;
2527
+ border-color: rgb(var(--c-color-gray));
2528
+ font-size: 0.875rem;
2529
+ line-height: 1.25rem;
2530
+ --tw-text-opacity: 1;
2531
+ color: rgb(var(--c-color-s-blue-600-300) / var(--tw-text-opacity));
2532
+ }
2533
+ .link-editor div.link-edit {
2534
+ background-image: url(./pencil-fill-STFSC26F.svg);
2535
+ background-size: 12px;
2536
+ background-position: center;
2537
+ background-repeat: no-repeat;
2538
+ width: 35px;
2539
+ vertical-align: -0.25em;
2540
+ position: absolute;
2541
+ right: 0;
2542
+ top: 0;
2543
+ bottom: 0;
2544
+ cursor: pointer;
2545
+ }
2546
+ .link-editor .link-input {
2547
+ box-sizing: border-box;
2548
+ }
2549
+ .link-editor .link-input a {
2550
+ color: rgb(33, 111, 219);
2551
+ text-decoration: none;
2552
+ display: block;
2553
+ white-space: nowrap;
2554
+ overflow: hidden;
2555
+ text-overflow: ellipsis;
2556
+ --tw-text-opacity: 1;
2557
+ color: rgb(var(--c-color-s-blue-600-300) / var(--tw-text-opacity));
2558
+ }
2559
+ .link-editor .link-input a:hover {
2560
+ text-decoration: underline;
2561
+ }
2562
+ .link-editor .font-size-wrapper,
2563
+ .link-editor .font-family-wrapper {
2564
+ display: flex;
2565
+ margin: 0 4px;
2566
+ }
2567
+ .link-editor select {
2568
+ padding: 6px;
2569
+ border: none;
2570
+ background-color: rgba(0, 0, 0, 0.075);
2571
+ border-radius: 4px;
2572
+ }
2573
+ #block-controls {
2574
+ display: block;
2575
+ position: absolute;
2576
+ right: 10px;
2577
+ width: 32px;
2578
+ height: 32px;
2579
+ box-sizing: border-box;
2580
+ box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 2px 0px;
2581
+ top: 16px;
2582
+ z-index: 10;
2583
+ border-radius: 8px;
2584
+ border: 1px solid rgb(206, 208, 212);
2585
+ overflow: hidden;
2586
+ }
2587
+ #block-controls button {
2588
+ border: 1px solid white;
2589
+ background-color: #fff;
2590
+ display: block;
2591
+ transition: background-color 0.1s ease;
2592
+ cursor: pointer;
2593
+ outline: none;
2594
+ border-radius: 8px;
2595
+ padding: 3px;
2596
+ }
2597
+ #block-controls button:hover {
2598
+ background-color: #efefef;
2599
+ }
2600
+ #block-controls button:focus-visible {
2601
+ border-color: blue;
2602
+ }
2603
+ #block-controls span.block-type {
2604
+ background-size: contain;
2605
+ display: block;
2606
+ width: 18px;
2607
+ height: 18px;
2608
+ margin: 2px;
2609
+ }
2610
+ #block-controls span.block-type.paragraph {
2611
+ background-image: url(./text-paragraph-MFTUIIQG.svg);
2612
+ }
2613
+ #block-controls span.block-type.h1 {
2614
+ background-image: url(./type-h1-6KJP7YOM.svg);
2615
+ }
2616
+ #block-controls span.block-type.h2 {
2617
+ background-image: url(./type-h2-VHI2USC3.svg);
2618
+ }
2619
+ #block-controls span.block-type.quote {
2620
+ background-image: url(./chat-square-quote-CI6PUJHH.svg);
2621
+ }
2622
+ #block-controls span.block-type.ul {
2623
+ background-image: url(./list-ul-DVKNUP47.svg);
2624
+ }
2625
+ #block-controls span.block-type.ol {
2626
+ background-image: url(./list-ol-2ZEUN4Z7.svg);
2627
+ }
2628
+ #block-controls span.block-type.code {
2629
+ background-image: url(./code-SEVR6TIQ.svg);
2630
+ }
2631
+ .characters-limit {
2632
+ color: #888;
2633
+ font-size: 12px;
2634
+ text-align: right;
2635
+ display: block;
2636
+ position: absolute;
2637
+ left: 12px;
2638
+ bottom: 5px;
2639
+ }
2640
+ .characters-limit.characters-limit-exceeded {
2641
+ color: red;
2642
+ }
2643
+ .dropdown {
2644
+ z-index: 10;
2645
+ display: block;
2646
+ position: fixed;
2647
+ box-shadow:
2648
+ 0 12px 28px 0 rgba(0, 0, 0, 0.2),
2649
+ 0 2px 4px 0 rgba(0, 0, 0, 0.1),
2650
+ inset 0 0 0 1px rgba(255, 255, 255, 0.5);
2651
+ border-radius: 8px;
2652
+ min-height: 40px;
2653
+ background-color: #fff;
2654
+ }
2655
+ .dropdown .item {
2656
+ margin: 0 8px 0 8px;
2657
+ padding: 8px;
2658
+ color: #050505;
2659
+ cursor: pointer;
2660
+ line-height: 16px;
2661
+ font-size: 15px;
2662
+ display: flex;
2663
+ align-content: center;
2664
+ flex-direction: row;
2665
+ flex-shrink: 0;
2666
+ justify-content: space-between;
2667
+ background-color: #fff;
2668
+ border-radius: 8px;
2669
+ border: 0;
2670
+ max-width: 250px;
2671
+ min-width: 100px;
2672
+ }
2673
+ .dropdown .item.fontsize-item,
2674
+ .dropdown .item.fontsize-item .text {
2675
+ min-width: unset;
2676
+ }
2677
+ .dropdown .item .active {
2678
+ display: flex;
2679
+ width: 20px;
2680
+ height: 20px;
2681
+ background-size: contain;
2682
+ }
2683
+ .dropdown .item:first-child {
2684
+ margin-top: 8px;
2685
+ }
2686
+ .dropdown .item:last-child {
2687
+ margin-bottom: 8px;
2688
+ }
2689
+ .dropdown .item:hover {
2690
+ background-color: #eee;
2691
+ }
2692
+ .dropdown .item .text {
2693
+ display: flex;
2694
+ line-height: 20px;
2695
+ flex-grow: 1;
2696
+ min-width: 150px;
2697
+ }
2698
+ .dropdown .item .icon {
2699
+ display: flex;
2700
+ width: 20px;
2701
+ height: 20px;
2702
+ user-select: none;
2703
+ margin-right: 12px;
2704
+ line-height: 16px;
2705
+ background-size: contain;
2706
+ background-position: center;
2707
+ background-repeat: no-repeat;
2708
+ }
2709
+ .dropdown .divider {
2710
+ width: auto;
2711
+ background-color: #eee;
2712
+ margin: 4px 8px;
2713
+ height: 1px;
2714
+ }
2715
+ @media screen and (max-width: 1100px) {
2716
+ .dropdown-button-text {
2717
+ display: none !important;
2718
+ }
2719
+ .font-size .dropdown-button-text {
2720
+ display: flex !important;
2721
+ }
2722
+ .code-language .dropdown-button-text {
2723
+ display: flex !important;
2724
+ }
2725
+ }
2726
+ .icon.paragraph {
2727
+ background-image: url(./text-paragraph-MFTUIIQG.svg);
2728
+ }
2729
+ .icon.h1 {
2730
+ background-image: url(./type-h1-6KJP7YOM.svg);
2731
+ }
2732
+ .icon.h2 {
2733
+ background-image: url(./type-h2-VHI2USC3.svg);
2734
+ }
2735
+ .icon.h3 {
2736
+ background-image: url(./type-h3-JIU77CHO.svg);
2737
+ }
2738
+ .icon.h4 {
2739
+ background-image: url(./type-h4-P5EHKDAL.svg);
2740
+ }
2741
+ .icon.h5 {
2742
+ background-image: url(./type-h5-CS2KYVRG.svg);
2743
+ }
2744
+ .icon.h6 {
2745
+ background-image: url(./type-h6-J2O74LJZ.svg);
2746
+ }
2747
+ .icon.bullet-list,
2748
+ .icon.bullet {
2749
+ background-image: url(./list-ul-DVKNUP47.svg);
2750
+ }
2751
+ .icon.check-list,
2752
+ .icon.check {
2753
+ background-image: url(./square-check-UTG6FU6D.svg);
2754
+ }
2755
+ .icon.numbered-list,
2756
+ .icon.number {
2757
+ background-image: url(./list-ol-2ZEUN4Z7.svg);
2758
+ }
2759
+ .icon.quote {
2760
+ background-image: url(./chat-square-quote-CI6PUJHH.svg);
2761
+ }
2762
+ .icon.code {
2763
+ background-image: url(./code-SEVR6TIQ.svg);
2764
+ }
2765
+ .switches {
2766
+ z-index: 6;
2767
+ position: fixed;
2768
+ left: 10px;
2769
+ bottom: 70px;
2770
+ animation: slide-in 0.4s ease;
2771
+ }
2772
+ @keyframes slide-in {
2773
+ 0% {
2774
+ opacity: 0;
2775
+ transform: translateX(-200px);
2776
+ }
2777
+ 100% {
2778
+ opacity: 1;
2779
+ transform: translateX(0);
2780
+ }
2781
+ }
2782
+ .switch {
2783
+ display: block;
2784
+ color: #444;
2785
+ margin: 5px 0;
2786
+ background-color: rgba(238, 238, 238, 0.7);
2787
+ padding: 5px 10px;
2788
+ border-radius: 10px;
2789
+ }
2790
+ #rich-text-switch {
2791
+ right: 0;
2792
+ }
2793
+ #character-count-switch {
2794
+ right: 130px;
2795
+ }
2796
+ .switch label {
2797
+ margin-right: 5px;
2798
+ line-height: 24px;
2799
+ width: 100px;
2800
+ font-size: 14px;
2801
+ display: inline-block;
2802
+ vertical-align: middle;
2803
+ }
2804
+ .switch button {
2805
+ background-color: rgb(206, 208, 212);
2806
+ height: 24px;
2807
+ box-sizing: border-box;
2808
+ border-radius: 12px;
2809
+ width: 44px;
2810
+ display: inline-block;
2811
+ vertical-align: middle;
2812
+ position: relative;
2813
+ outline: none;
2814
+ cursor: pointer;
2815
+ transition: background-color 0.1s;
2816
+ border: 2px solid transparent;
2817
+ }
2818
+ .switch button:focus-visible {
2819
+ border-color: blue;
2820
+ }
2821
+ .switch button span {
2822
+ top: 0px;
2823
+ left: 0px;
2824
+ display: block;
2825
+ position: absolute;
2826
+ width: 20px;
2827
+ height: 20px;
2828
+ border-radius: 12px;
2829
+ background-color: white;
2830
+ transition: transform 0.2s;
2831
+ }
2832
+ .switch button[aria-checked=true] {
2833
+ background-color: rgb(24, 119, 242);
2834
+ }
2835
+ .switch button[aria-checked=true] span {
2836
+ transform: translateX(20px);
2837
+ }
2838
+ .editor-shell span.editor-image {
2839
+ cursor: default;
2840
+ display: inline-block;
2841
+ position: relative;
2842
+ user-select: none;
2843
+ }
2844
+ .editor-shell .editor-image img {
2845
+ max-width: 100%;
2846
+ cursor: default;
2847
+ }
2848
+ .editor-shell .editor-image img.focused {
2849
+ outline: 2px solid rgb(60, 132, 244);
2850
+ user-select: none;
2851
+ }
2852
+ .editor-shell .editor-image img.focused.draggable {
2853
+ cursor: grab;
2854
+ }
2855
+ .editor-shell .editor-image img.focused.draggable:active {
2856
+ cursor: grabbing;
2857
+ }
2858
+ .editor-shell .editor-image .image-caption-container {
2859
+ display: block;
2860
+ position: absolute;
2861
+ bottom: 4px;
2862
+ left: 0;
2863
+ right: 0;
2864
+ padding: 0;
2865
+ margin: 0;
2866
+ border-top: 1px solid #fff;
2867
+ background-color: rgba(255, 255, 255, 0.9);
2868
+ min-width: 100px;
2869
+ color: #000;
2870
+ overflow: hidden;
2871
+ }
2872
+ .editor-shell .editor-image .image-caption-button {
2873
+ display: block;
2874
+ position: absolute;
2875
+ bottom: 20px;
2876
+ left: 0;
2877
+ right: 0;
2878
+ width: 30%;
2879
+ padding: 10px;
2880
+ margin: 0 auto;
2881
+ border: 1px solid rgba(255, 255, 255, 0.3);
2882
+ border-radius: 5px;
2883
+ background-color: rgba(0, 0, 0, 0.5);
2884
+ min-width: 100px;
2885
+ color: #fff;
2886
+ cursor: pointer;
2887
+ user-select: none;
2888
+ }
2889
+ .editor-shell .editor-image .image-caption-button:hover {
2890
+ background-color: rgba(60, 132, 244, 0.5);
2891
+ }
2892
+ .editor-shell .editor-image .image-resizer {
2893
+ display: block;
2894
+ width: 7px;
2895
+ height: 7px;
2896
+ position: absolute;
2897
+ background-color: rgb(60, 132, 244);
2898
+ border: 1px solid #fff;
2899
+ }
2900
+ .editor-shell .editor-image .image-resizer.image-resizer-n {
2901
+ top: -6px;
2902
+ left: 48%;
2903
+ cursor: n-resize;
2904
+ }
2905
+ .editor-shell .editor-image .image-resizer.image-resizer-ne {
2906
+ top: -6px;
2907
+ right: -6px;
2908
+ cursor: ne-resize;
2909
+ }
2910
+ .editor-shell .editor-image .image-resizer.image-resizer-e {
2911
+ bottom: 48%;
2912
+ right: -6px;
2913
+ cursor: e-resize;
2914
+ }
2915
+ .editor-shell .editor-image .image-resizer.image-resizer-se {
2916
+ bottom: -2px;
2917
+ right: -6px;
2918
+ cursor: nwse-resize;
2919
+ }
2920
+ .editor-shell .editor-image .image-resizer.image-resizer-s {
2921
+ bottom: -2px;
2922
+ left: 48%;
2923
+ cursor: s-resize;
2924
+ }
2925
+ .editor-shell .editor-image .image-resizer.image-resizer-sw {
2926
+ bottom: -2px;
2927
+ left: -6px;
2928
+ cursor: sw-resize;
2929
+ }
2930
+ .editor-shell .editor-image .image-resizer.image-resizer-w {
2931
+ bottom: 48%;
2932
+ left: -6px;
2933
+ cursor: w-resize;
2934
+ }
2935
+ .editor-shell .editor-image .image-resizer.image-resizer-nw {
2936
+ top: -6px;
2937
+ left: -6px;
2938
+ cursor: nw-resize;
2939
+ }
2940
+ .keyword {
2941
+ color: rgb(241, 118, 94);
2942
+ font-weight: bold;
2943
+ }
2944
+ .actions i.indent {
2945
+ background-image: url(./indent-MJ6JIMCK.svg);
2946
+ }
2947
+ .actions i.outdent {
2948
+ background-image: url(./outdent-2LUMUMIP.svg);
2949
+ }
2950
+ .actions i.lock {
2951
+ background-image: url(./lock-fill-JZSKOSHK.svg);
2952
+ }
2953
+ .actions i.image {
2954
+ background-image: url(./file-image-TIQPFJX4.svg);
2955
+ }
2956
+ .actions i.table {
2957
+ background-image: url(./table-BR6DI4ZQ.svg);
2958
+ }
2959
+ .actions i.unlock {
2960
+ background-image: url(./lock-WCYOZOHW.svg);
2961
+ }
2962
+ .actions i.left-align {
2963
+ background-image: url(./text-left-KT2B6TR3.svg);
2964
+ }
2965
+ .actions i.center-align {
2966
+ background-image: url(./text-center-UQI6PAEF.svg);
2967
+ }
2968
+ .actions i.right-align {
2969
+ background-image: url(./text-right-SKELPISG.svg);
2970
+ }
2971
+ .actions i.justify-align {
2972
+ background-image: url(./justify-J7X5JEEX.svg);
2973
+ }
2974
+ .actions i.disconnect {
2975
+ background-image: url(./plug-HGGGEVS3.svg);
2976
+ }
2977
+ .actions i.connect {
2978
+ background-image: url(./plug-fill-OTG3U4TN.svg);
2979
+ }
2980
+ table.disable-selection {
2981
+ -webkit-touch-callout: none;
2982
+ -webkit-user-select: none;
2983
+ -khtml-user-select: none;
2984
+ -moz-user-select: none;
2985
+ -ms-user-select: none;
2986
+ user-select: none;
2987
+ }
2988
+ table.disable-selection span::selection {
2989
+ background-color: transparent;
2990
+ }
2991
+ table.disable-selection br::selection {
2992
+ background-color: transparent;
2993
+ }
2994
+ .table-cell-action-button-container {
2995
+ position: absolute;
2996
+ top: 0;
2997
+ left: 0;
2998
+ will-change: transform;
2999
+ }
3000
+ .table-cell-action-button {
3001
+ background-color: none;
3002
+ display: flex;
3003
+ justify-content: center;
3004
+ align-items: center;
3005
+ border: 0;
3006
+ position: relative;
3007
+ border-radius: 15px;
3008
+ color: #222;
3009
+ display: inline-block;
3010
+ cursor: pointer;
3011
+ }
3012
+ i.chevron-down {
3013
+ background-color: transparent;
3014
+ background-size: contain;
3015
+ display: inline-block;
3016
+ height: 8px;
3017
+ width: 8px;
3018
+ background-image: url(./chevron-down-3FRWSIKS.svg);
3019
+ }
3020
+ .action-button {
3021
+ background-color: #eee;
3022
+ border: 0;
3023
+ padding: 8px 12px;
3024
+ position: relative;
3025
+ margin-left: 5px;
3026
+ border-radius: 15px;
3027
+ color: #222;
3028
+ display: inline-block;
3029
+ cursor: pointer;
3030
+ }
3031
+ .action-button:hover {
3032
+ background-color: #ddd;
3033
+ color: #000;
3034
+ }
3035
+ .action-button-mic.active {
3036
+ animation: mic-pulsate-color 3s infinite;
3037
+ }
3038
+ button.action-button:disabled {
3039
+ opacity: 0.6;
3040
+ background: #eee;
3041
+ cursor: not-allowed;
3042
+ }
3043
+ @keyframes mic-pulsate-color {
3044
+ 0% {
3045
+ background-color: #ffdcdc;
3046
+ }
3047
+ 50% {
3048
+ background-color: #ff8585;
3049
+ }
3050
+ 100% {
3051
+ background-color: #ffdcdc;
3052
+ }
3053
+ }
3054
+ .debug-timetravel-panel {
3055
+ overflow: hidden;
3056
+ padding: 0 0 10px 0;
3057
+ margin: auto;
3058
+ display: flex;
3059
+ }
3060
+ .debug-timetravel-panel-slider {
3061
+ padding: 0;
3062
+ flex: 8;
3063
+ }
3064
+ .debug-timetravel-panel-button {
3065
+ padding: 0;
3066
+ border: 0;
3067
+ background: none;
3068
+ flex: 1;
3069
+ color: #fff;
3070
+ font-size: 12px;
3071
+ }
3072
+ .debug-timetravel-panel-button:hover {
3073
+ text-decoration: underline;
3074
+ }
3075
+ .debug-timetravel-button {
3076
+ border: 0;
3077
+ padding: 0;
3078
+ font-size: 12px;
3079
+ top: 10px;
3080
+ right: 15px;
3081
+ position: absolute;
3082
+ background: none;
3083
+ color: #fff;
3084
+ }
3085
+ .debug-timetravel-button:hover {
3086
+ text-decoration: underline;
3087
+ }
3088
+ .connecting {
3089
+ font-size: 15px;
3090
+ color: #999;
3091
+ overflow: hidden;
3092
+ position: absolute;
3093
+ text-overflow: ellipsis;
3094
+ top: 10px;
3095
+ left: 10px;
3096
+ user-select: none;
3097
+ white-space: nowrap;
3098
+ display: inline-block;
3099
+ pointer-events: none;
3100
+ }
3101
+ .ltr {
3102
+ text-align: left;
3103
+ }
3104
+ .rtl {
3105
+ text-align: right;
3106
+ }
3107
+ .toolbar {
3108
+ display: flex;
3109
+ height: 3rem;
3110
+ width: 100%;
3111
+ justify-content: space-between;
3112
+ overflow: auto;
3113
+ border-top-left-radius: 0.375rem;
3114
+ border-top-right-radius: 0.375rem;
3115
+ padding-top: 0.25rem;
3116
+ padding-bottom: 0.25rem;
3117
+ padding-right: 0.5rem;
3118
+ padding-left: 1rem;
3119
+ vertical-align: middle;
3120
+ }
3121
+ .toolbar button.toolbar-item {
3122
+ display: flex;
3123
+ flex-shrink: 0;
3124
+ cursor: pointer;
3125
+ align-items: center;
3126
+ justify-content: space-between;
3127
+ border-radius: 0.375rem;
3128
+ border-width: 0px;
3129
+ background-color: transparent;
3130
+ padding: 0.5rem;
3131
+ vertical-align: middle;
3132
+ }
3133
+ .toolbar button.toolbar-item:disabled {
3134
+ cursor: not-allowed;
3135
+ }
3136
+ .toolbar button.toolbar-item.spaced {
3137
+ margin-right: 0.125rem;
3138
+ }
3139
+ .toolbar button.toolbar-item i.format {
3140
+ background-size: contain;
3141
+ display: inline-block;
3142
+ height: 18px;
3143
+ width: 18px;
3144
+ vertical-align: -0.25em;
3145
+ display: flex;
3146
+ opacity: 0.6;
3147
+ }
3148
+ .toolbar button.toolbar-item:disabled .icon,
3149
+ .toolbar button.toolbar-item:disabled .text,
3150
+ .toolbar button.toolbar-item:disabled i.format,
3151
+ .toolbar button.toolbar-item:disabled .chevron-down {
3152
+ opacity: 0.2;
3153
+ }
3154
+ .toolbar button.toolbar-item.active {
3155
+ --tw-bg-opacity: 1;
3156
+ background-color: rgb(var(--c-color-purple-50-900) / var(--tw-bg-opacity));
3157
+ }
3158
+ .toolbar button.toolbar-item.active i {
3159
+ opacity: 1;
3160
+ }
3161
+ .toolbar .toolbar-item:hover:not([disabled]) {
3162
+ --tw-bg-opacity: 1;
3163
+ background-color: rgb(var(--c-color-purple-50-900) / var(--tw-bg-opacity));
3164
+ }
3165
+ .toolbar .toolbar-item.font-family .text {
3166
+ display: block;
3167
+ max-width: 40px;
3168
+ }
3169
+ .toolbar .code-language {
3170
+ width: 150px;
3171
+ }
3172
+ .toolbar .toolbar-item .text {
3173
+ display: flex;
3174
+ line-height: 20px;
3175
+ vertical-align: middle;
3176
+ font-size: 14px;
3177
+ color: #777;
3178
+ text-overflow: ellipsis;
3179
+ overflow: hidden;
3180
+ height: 20px;
3181
+ text-align: left;
3182
+ padding-right: 10px;
3183
+ }
3184
+ .toolbar .toolbar-item .icon {
3185
+ display: flex;
3186
+ width: 20px;
3187
+ height: 20px;
3188
+ user-select: none;
3189
+ margin-right: 8px;
3190
+ line-height: 16px;
3191
+ background-size: contain;
3192
+ }
3193
+ .toolbar i.chevron-down {
3194
+ margin-top: 3px;
3195
+ width: 16px;
3196
+ height: 16px;
3197
+ display: flex;
3198
+ user-select: none;
3199
+ }
3200
+ .toolbar i.chevron-down.inside {
3201
+ width: 16px;
3202
+ height: 16px;
3203
+ display: flex;
3204
+ margin-left: -25px;
3205
+ margin-top: 11px;
3206
+ margin-right: 10px;
3207
+ pointer-events: none;
3208
+ }
3209
+ .toolbar .divider {
3210
+ width: 1px;
3211
+ background-color: #eee;
3212
+ margin: 0 4px;
3213
+ }
3214
+ .github-corner:hover .octo-arm {
3215
+ animation: octocat-wave 560ms ease-in-out;
3216
+ }
3217
+ @keyframes octocat-wave {
3218
+ 0%, 100% {
3219
+ transform: rotate(0);
3220
+ }
3221
+ 20%, 60% {
3222
+ transform: rotate(-25deg);
3223
+ }
3224
+ 40%, 80% {
3225
+ transform: rotate(10deg);
3226
+ }
3227
+ }
3228
+ @media (max-width: 500px) {
3229
+ .github-corner:hover .octo-arm {
3230
+ animation: none;
3231
+ }
3232
+ .github-corner .octo-arm {
3233
+ animation: octocat-wave 560ms ease-in-out;
3234
+ }
3235
+ }
3236
+ .spacer {
3237
+ letter-spacing: -2px;
3238
+ }
3239
+ button.item i {
3240
+ opacity: 0.6;
3241
+ }
3242
+ button.item.dropdown-item-active {
3243
+ background-color: rgba(223, 232, 250, 0.3);
3244
+ }
3245
+ button.item.dropdown-item-active i {
3246
+ opacity: 1;
3247
+ }
3248
+ hr {
3249
+ padding: 4px 0;
3250
+ border: 1px solid red;
3251
+ border: none;
3252
+ margin: 1em 0;
3253
+ cursor: pointer;
3254
+ }
3255
+ hr:after {
3256
+ content: "";
3257
+ display: block;
3258
+ height: 1px;
3259
+ background-color: #ccc;
3260
+ line-height: 1px;
3261
+ --tw-bg-opacity: 1;
3262
+ background-color: rgb(var(--c-color-purple-100-800) / var(--tw-bg-opacity));
3263
+ }
3264
+ hr.selected {
3265
+ outline: 2px solid rgb(60, 132, 244);
3266
+ user-select: none;
3267
+ }
3268
+ .TableNode__contentEditable {
3269
+ min-height: 20px;
3270
+ border: 0px;
3271
+ resize: none;
3272
+ min-height: 100%;
3273
+ cursor: text;
3274
+ display: block;
3275
+ position: relative;
3276
+ tab-size: 1;
3277
+ outline: 0px;
3278
+ padding: 0;
3279
+ user-select: text;
3280
+ font-size: 15px;
3281
+ white-space: pre-wrap;
3282
+ word-break: break-word;
3283
+ z-index: 3;
3284
+ }
3285
+ .TableNode__contentEditable .PlaygroundEditorTheme__paragraph {
3286
+ margin-top: 0px;
3287
+ }
3288
+ .PlaygroundEditorTheme__blockCursor {
3289
+ display: block;
3290
+ pointer-events: none;
3291
+ position: absolute;
3292
+ }
3293
+ .PlaygroundEditorTheme__blockCursor:after {
3294
+ content: "";
3295
+ display: block;
3296
+ position: absolute;
3297
+ top: -2px;
3298
+ width: 20px;
3299
+ border-top: 1px solid black;
3300
+ animation: CursorBlink 1.1s steps(2, start) infinite;
3301
+ }
3302
+ @keyframes CursorBlink {
3303
+ to {
3304
+ visibility: hidden;
3305
+ }
3306
+ }
3307
+
3308
+ /* src/rich-text-editor/plugins/CodeActionMenuPlugin/index.css */
3309
+ .code-action-menu-container {
3310
+ height: 35.8px;
3311
+ font-size: 10px;
3312
+ color: rgba(0, 0, 0, 0.5);
3313
+ position: absolute;
3314
+ display: flex;
3315
+ align-items: center;
3316
+ flex-direction: row;
3317
+ user-select: none;
3318
+ }
3319
+ .code-action-menu-container .code-highlight-language {
3320
+ margin-right: 4px;
3321
+ }
3322
+ .code-action-menu-container button.menu-item {
3323
+ border: 1px solid transparent;
3324
+ border-radius: 4px;
3325
+ padding: 4px;
3326
+ background: none;
3327
+ cursor: pointer;
3328
+ flex-shrink: 0;
3329
+ display: flex;
3330
+ align-items: center;
3331
+ color: rgba(0, 0, 0, 0.5);
3332
+ text-transform: uppercase;
3333
+ }
3334
+ .code-action-menu-container button.menu-item i.format {
3335
+ height: 16px;
3336
+ width: 16px;
3337
+ opacity: 0.6;
3338
+ display: flex;
3339
+ color: rgba(0, 0, 0, 0.5);
3340
+ background-size: contain;
3341
+ }
3342
+ .code-action-menu-container button.menu-item:hover {
3343
+ border: 1px solid rgba(0, 0, 0, 0.3);
3344
+ opacity: 0.9;
3345
+ }
3346
+ .code-action-menu-container button.menu-item:active {
3347
+ background-color: rgba(223, 232, 250);
3348
+ border: 1px solid rgba(0, 0, 0, 0.45);
3349
+ }
3350
+
3351
+ /* src/rich-text-editor/plugins/CodeActionMenuPlugin/components/PrettierButton/index.css */
3352
+ .code-action-menu-container .prettier-wrapper {
3353
+ position: relative;
3354
+ }
3355
+ .code-action-menu-container .prettier-wrapper .code-error-tips {
3356
+ padding: 5px;
3357
+ border-radius: 4px;
3358
+ color: #fff;
3359
+ background: #222;
3360
+ margin-top: 4px;
3361
+ position: absolute;
3362
+ top: 26px;
3363
+ right: 0;
3364
+ }
3365
+
3366
+ /* src/rich-text-editor/plugins/DraggableBlockPlugin/index.css */
3367
+ .draggable-block-menu {
3368
+ border-radius: 4px;
3369
+ padding: 2px 1px;
3370
+ cursor: grab;
3371
+ opacity: 0;
3372
+ position: absolute;
3373
+ left: 0;
3374
+ top: 0;
3375
+ will-change: transform;
3376
+ }
3377
+ .draggable-block-menu .icon {
3378
+ width: 16px;
3379
+ height: 16px;
3380
+ opacity: 0.3;
3381
+ background-image: url(./draggable-block-menu-KKHDNKJA.svg);
3382
+ }
3383
+ .draggable-block-menu:active {
3384
+ cursor: grabbing;
3385
+ }
3386
+ .draggable-block-menu:hover {
3387
+ background-color: #efefef;
3388
+ }
3389
+ .draggable-block-target-line {
3390
+ pointer-events: none;
3391
+ background: deepskyblue;
3392
+ height: 4px;
3393
+ position: absolute;
3394
+ left: 0;
3395
+ top: 0;
3396
+ opacity: 0;
3397
+ will-change: transform;
3398
+ }
3399
+
3400
+ /* src/rich-text-editor/plugins/FloatingLinkEditorPlugin/index.css */
3401
+ .link-editor {
3402
+ position: absolute;
3403
+ top: 0;
3404
+ left: 0;
3405
+ z-index: 10;
3406
+ max-width: 400px;
3407
+ width: 100%;
3408
+ opacity: 0;
3409
+ background-color: #fff;
3410
+ box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
3411
+ border-radius: 8px;
3412
+ transition: opacity 0.5s;
3413
+ will-change: transform;
3414
+ }
3415
+ .link-editor .button {
3416
+ width: 20px;
3417
+ height: 20px;
3418
+ display: inline-block;
3419
+ padding: 6px;
3420
+ border-radius: 8px;
3421
+ cursor: pointer;
3422
+ margin: 0 2px;
3423
+ }
3424
+ .link-editor .button.hovered {
3425
+ width: 20px;
3426
+ height: 20px;
3427
+ display: inline-block;
3428
+ background-color: #eee;
3429
+ }
3430
+ .link-editor .button i,
3431
+ .actions i {
3432
+ background-size: contain;
3433
+ display: inline-block;
3434
+ height: 20px;
3435
+ width: 20px;
3436
+ vertical-align: -0.25em;
3437
+ }
3438
+
3439
+ /* src/rich-text-editor/ui/LinkPreview.css */
3440
+ @keyframes glimmer-animation {
3441
+ 0% {
3442
+ background: #f9f9f9;
3443
+ }
3444
+ .50% {
3445
+ background: #eeeeee;
3446
+ }
3447
+ .100% {
3448
+ background: #f9f9f9;
3449
+ }
3450
+ }
3451
+ .LinkPreview__container {
3452
+ }
3453
+ .LinkPreview__imageWrapper {
3454
+ text-align: center;
3455
+ }
3456
+ .LinkPreview__image {
3457
+ margin: auto;
3458
+ max-height: 250px;
3459
+ max-width: 100%;
3460
+ }
3461
+ .LinkPreview__title {
3462
+ margin-left: 1.5rem;
3463
+ margin-right: 1.5rem;
3464
+ margin-top: 0.5rem;
3465
+ font-family:
3466
+ "Roboto Slab",
3467
+ ui-serif,
3468
+ Georgia,
3469
+ Cambria,
3470
+ "Times New Roman",
3471
+ Times,
3472
+ serif;
3473
+ font-weight: 600;
3474
+ line-height: 1.25rem;
3475
+ --tw-text-opacity: 1;
3476
+ color: rgb(var(--c-color-gray-700-200) / var(--tw-text-opacity));
3477
+ }
3478
+ .LinkPreview__description {
3479
+ margin-left: 1.5rem;
3480
+ margin-right: 1.5rem;
3481
+ margin-top: 0.5rem;
3482
+ margin-bottom: 1rem;
3483
+ font-size: 0.875rem;
3484
+ line-height: 1.25rem;
3485
+ }
3486
+ .LinkPreview__domain {
3487
+ margin-left: 1.5rem;
3488
+ margin-right: 1.5rem;
3489
+ margin-top: 0.5rem;
3490
+ font-size: 0.875rem;
3491
+ line-height: 1.25rem;
3492
+ --tw-text-opacity: 1;
3493
+ color: rgb(var(--c-color-gray-700-200) / var(--tw-text-opacity));
3494
+ }
3495
+ .LinkPreview__glimmer {
3496
+ background: #f9f9f9;
3497
+ border-radius: 8px;
3498
+ height: 18px;
3499
+ margin-bottom: 8px;
3500
+ margin-left: 12px;
3501
+ margin-right: 12px;
3502
+ animation-duration: 3s;
3503
+ animation-iteration-count: infinite;
3504
+ animation-timing-function: linear;
3505
+ animation-name: glimmer-animation;
3506
+ }
3507
+
3508
+ /* src/rich-text-editor/plugins/FloatingTextFormatToolbarPlugin/index.css */
3509
+ .floating-text-format-popup {
3510
+ vertical-align: middle;
3511
+ background-color: #fff;
3512
+ transition: opacity 0.5s;
3513
+ height: 43px;
3514
+ will-change: transform;
3515
+ box-sizing: border-box;
3516
+ position: absolute;
3517
+ top: 0px;
3518
+ left: 0px;
3519
+ z-index: 10;
3520
+ display: flex;
3521
+ border-radius: 0.375rem;
3522
+ --tw-bg-opacity: 1;
3523
+ background-color: rgb(255 255 255 / var(--tw-bg-opacity));
3524
+ padding: 0.25rem;
3525
+ opacity: 0;
3526
+ --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
3527
+ --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);
3528
+ box-shadow:
3529
+ var(--tw-ring-offset-shadow, 0 0 #0000),
3530
+ var(--tw-ring-shadow, 0 0 #0000),
3531
+ var(--tw-shadow);
3532
+ }
3533
+ .floating-text-format-popup button.popup-item {
3534
+ border: 0;
3535
+ display: flex;
3536
+ background: none;
3537
+ border-radius: 10px;
3538
+ padding: 8px;
3539
+ cursor: pointer;
3540
+ vertical-align: middle;
3541
+ }
3542
+ .floating-text-format-popup button.popup-item:disabled {
3543
+ cursor: not-allowed;
3544
+ }
3545
+ .floating-text-format-popup button.popup-item.spaced {
3546
+ margin-right: 2px;
3547
+ }
3548
+ .floating-text-format-popup button.popup-item i.format {
3549
+ background-size: contain;
3550
+ display: inline-block;
3551
+ height: 18px;
3552
+ width: 18px;
3553
+ margin-top: 2px;
3554
+ vertical-align: -0.25em;
3555
+ display: flex;
3556
+ opacity: 0.6;
3557
+ }
3558
+ .floating-text-format-popup button.popup-item:disabled i.format {
3559
+ opacity: 0.2;
3560
+ }
3561
+ .floating-text-format-popup button.popup-item.active {
3562
+ background-color: rgba(223, 232, 250, 0.3);
3563
+ }
3564
+ .floating-text-format-popup button.popup-item.active i {
3565
+ opacity: 1;
3566
+ }
3567
+ .floating-text-format-popup .popup-item:hover:not([disabled]) {
3568
+ background-color: #eee;
3569
+ }
3570
+ .floating-text-format-popup select.popup-item {
3571
+ border: 0;
3572
+ display: flex;
3573
+ background: none;
3574
+ border-radius: 10px;
3575
+ padding: 8px;
3576
+ vertical-align: middle;
3577
+ -webkit-appearance: none;
3578
+ -moz-appearance: none;
3579
+ width: 70px;
3580
+ font-size: 14px;
3581
+ color: #777;
3582
+ text-overflow: ellipsis;
3583
+ }
3584
+ .floating-text-format-popup select.code-language {
3585
+ text-transform: capitalize;
3586
+ width: 130px;
3587
+ }
3588
+ .floating-text-format-popup .popup-item .text {
3589
+ display: flex;
3590
+ line-height: 20px;
3591
+ vertical-align: middle;
3592
+ font-size: 14px;
3593
+ color: #777;
3594
+ text-overflow: ellipsis;
3595
+ width: 70px;
3596
+ overflow: hidden;
3597
+ height: 20px;
3598
+ text-align: left;
3599
+ }
3600
+ .floating-text-format-popup .popup-item .icon {
3601
+ display: flex;
3602
+ width: 20px;
3603
+ height: 20px;
3604
+ user-select: none;
3605
+ margin-right: 8px;
3606
+ line-height: 16px;
3607
+ background-size: contain;
3608
+ }
3609
+ .floating-text-format-popup i.chevron-down {
3610
+ margin-top: 3px;
3611
+ width: 16px;
3612
+ height: 16px;
3613
+ display: flex;
3614
+ user-select: none;
3615
+ }
3616
+ .floating-text-format-popup i.chevron-down.inside {
3617
+ width: 16px;
3618
+ height: 16px;
3619
+ display: flex;
3620
+ margin-left: -25px;
3621
+ margin-top: 11px;
3622
+ margin-right: 10px;
3623
+ pointer-events: none;
3624
+ }
3625
+ .floating-text-format-popup .divider {
3626
+ width: 1px;
3627
+ background-color: #eee;
3628
+ margin: 0 4px;
3629
+ }
3630
+ @media (max-width: 1024px) {
3631
+ .floating-text-format-popup button.insert-comment {
3632
+ display: none;
3633
+ }
3634
+ }
3635
+
3636
+ /* src/rich-text-editor/plugins/TableCellResizer/index.css */
3637
+ .TableCellResizer__resizer {
3638
+ position: absolute;
3639
+ }
3640
+
3641
+ /* src/rich-text-editor/themes/PlaygroundEditorTheme.css */
3642
+ .PlaygroundEditorTheme__ltr {
3643
+ text-align: left;
3644
+ }
3645
+ .PlaygroundEditorTheme__rtl {
3646
+ text-align: right;
3647
+ }
3648
+ .PlaygroundEditorTheme__paragraph {
3649
+ font-size: 15px;
3650
+ position: relative;
3651
+ margin: 0px;
3652
+ margin-top: 0.5rem;
3653
+ line-height: 1.5rem;
3654
+ --tw-text-opacity: 1;
3655
+ color: rgb(var(--c-color-gray-600-300) / var(--tw-text-opacity));
3656
+ }
3657
+ .PlaygroundEditorTheme__paragraph + .PlaygroundEditorTheme__paragraph {
3658
+ position: relative;
3659
+ margin: 0px;
3660
+ margin-top: 1rem;
3661
+ }
3662
+ .PlaygroundEditorTheme__quote {
3663
+ font-size: 15px;
3664
+ border-left-width: 4px;
3665
+ border-left-style: solid;
3666
+ margin: 0px;
3667
+ margin-left: 1.25rem;
3668
+ padding-left: 1rem;
3669
+ margin-top: 1.5rem;
3670
+ margin-bottom: 1.5rem;
3671
+ --tw-border-opacity: 1;
3672
+ border-left-color: rgb(var(--c-color-purple-700-200) / var(--tw-border-opacity));
3673
+ font-weight: 400;
3674
+ --tw-text-opacity: 1;
3675
+ color: rgb(var(--c-color-gray-800-100) / var(--tw-text-opacity));
3676
+ }
3677
+ .PlaygroundEditorTheme__h1 {
3678
+ font-size: 20px;
3679
+ margin: 0px;
3680
+ margin-bottom: 0.25rem;
3681
+ margin-top: 0.5rem;
3682
+ font-weight: 500;
3683
+ line-height: 1.5rem;
3684
+ --tw-text-opacity: 1;
3685
+ color: rgb(var(--c-color-gray-800-100) / var(--tw-text-opacity));
3686
+ }
3687
+ .PlaygroundEditorTheme__h2 {
3688
+ font-size: 19px;
3689
+ margin: 0px;
3690
+ margin-bottom: 0.25rem;
3691
+ margin-top: 0.5rem;
3692
+ font-size: 1.125rem;
3693
+ font-weight: 500;
3694
+ line-height: 1.5rem;
3695
+ --tw-text-opacity: 1;
3696
+ color: rgb(var(--c-color-gray-800-100) / var(--tw-text-opacity));
3697
+ }
3698
+ .PlaygroundEditorTheme__h3 {
3699
+ font-size: 18px;
3700
+ margin: 0px;
3701
+ margin-bottom: 0.25rem;
3702
+ margin-top: 0.5rem;
3703
+ font-weight: 500;
3704
+ line-height: 1.5rem;
3705
+ --tw-text-opacity: 1;
3706
+ color: rgb(var(--c-color-gray-800-100) / var(--tw-text-opacity));
3707
+ }
3708
+ .PlaygroundEditorTheme__h4 {
3709
+ font-size: 17px;
3710
+ margin: 0px;
3711
+ margin-bottom: 0.25rem;
3712
+ margin-top: 0.5rem;
3713
+ font-weight: 500;
3714
+ line-height: 1.5rem;
3715
+ --tw-text-opacity: 1;
3716
+ color: rgb(var(--c-color-gray-800-100) / var(--tw-text-opacity));
3717
+ }
3718
+ .PlaygroundEditorTheme__h5 {
3719
+ font-size: 16px;
3720
+ margin: 0px;
3721
+ margin-bottom: 0.25rem;
3722
+ margin-top: 0.5rem;
3723
+ font-weight: 500;
3724
+ line-height: 1.5rem;
3725
+ --tw-text-opacity: 1;
3726
+ color: rgb(var(--c-color-gray-800-100) / var(--tw-text-opacity));
3727
+ }
3728
+ .PlaygroundEditorTheme__h6 {
3729
+ font-size: 16px;
3730
+ margin: 0px;
3731
+ margin-bottom: 0.25rem;
3732
+ margin-top: 0.5rem;
3733
+ font-weight: 500;
3734
+ line-height: 1.5rem;
3735
+ --tw-text-opacity: 1;
3736
+ color: rgb(var(--c-color-gray-800-100) / var(--tw-text-opacity));
3737
+ }
3738
+ .PlaygroundEditorTheme__indent {
3739
+ --lexical-indent-base-value: 20px;
3740
+ }
3741
+ .PlaygroundEditorTheme__textBold {
3742
+ font-weight: 700;
3743
+ }
3744
+ .PlaygroundEditorTheme__textItalic {
3745
+ font-style: italic;
3746
+ }
3747
+ .PlaygroundEditorTheme__textUnderline {
3748
+ text-decoration-line: underline;
3749
+ }
3750
+ .PlaygroundEditorTheme__textStrikethrough {
3751
+ text-decoration-line: line-through;
3752
+ }
3753
+ .PlaygroundEditorTheme__textUnderlineStrikethrough {
3754
+ text-decoration: underline line-through;
3755
+ }
3756
+ .PlaygroundEditorTheme__textSubscript {
3757
+ font-size: 0.8em;
3758
+ vertical-align: sub !important;
3759
+ }
3760
+ .PlaygroundEditorTheme__textSuperscript {
3761
+ font-size: 0.8em;
3762
+ vertical-align: super;
3763
+ }
3764
+ .PlaygroundEditorTheme__textCode {
3765
+ padding: 2px 0.5rem;
3766
+ font-family:
3767
+ Menlo,
3768
+ Consolas,
3769
+ Monaco,
3770
+ monospace;
3771
+ font-size: 13px;
3772
+ border-width: 1px;
3773
+ border-style: solid;
3774
+ border-radius: 0.375rem;
3775
+ --tw-border-opacity: 1;
3776
+ border-color: rgb(var(--c-color-gray-100-800) / var(--tw-border-opacity));
3777
+ --tw-bg-opacity: 1;
3778
+ background-color: rgb(var(--c-color-purple-50-900) / var(--tw-bg-opacity));
3779
+ }
3780
+ .PlaygroundEditorTheme__hashtag {
3781
+ background-color: rgba(88, 144, 255, 0.15);
3782
+ border-bottom: 1px solid rgba(88, 144, 255, 0.3);
3783
+ }
3784
+ .PlaygroundEditorTheme__link {
3785
+ text-decoration: none;
3786
+ box-shadow: #5d96fd 0 -2px inset;
3787
+ --tw-text-opacity: 1 !important;
3788
+ color: rgb(var(--c-color-gray-600-300) / var(--tw-text-opacity)) !important;
3789
+ }
3790
+ .PlaygroundEditorTheme__link:hover {
3791
+ cursor: pointer;
3792
+ }
3793
+ .PlaygroundEditorTheme__code {
3794
+ position: relative;
3795
+ margin-top: 0.5rem;
3796
+ margin-bottom: 0.5rem;
3797
+ margin-left: 0px;
3798
+ margin-right: 0px;
3799
+ display: block;
3800
+ overflow-x: auto;
3801
+ border-radius: 0.375rem;
3802
+ border-width: 1px;
3803
+ border-style: solid;
3804
+ --tw-border-opacity: 1;
3805
+ border-color: rgb(var(--c-color-gray-100-800) / var(--tw-border-opacity));
3806
+ --tw-bg-opacity: 1;
3807
+ background-color: rgb(var(--c-color-purple-50-900) / var(--tw-bg-opacity));
3808
+ padding: 0.5rem;
3809
+ padding-left: 3.5rem;
3810
+ font-size: 0.875rem;
3811
+ line-height: 1.25rem;
3812
+ font-family:
3813
+ Menlo,
3814
+ Consolas,
3815
+ Monaco,
3816
+ monospace;
3817
+ font-size: 12px;
3818
+ tab-size: 2;
3819
+ }
3820
+ .PlaygroundEditorTheme__code:before {
3821
+ position: absolute;
3822
+ top: 0px;
3823
+ left: 0px;
3824
+ border-width: 0px;
3825
+ border-right-width: 1px;
3826
+ border-style: solid;
3827
+ --tw-border-opacity: 1;
3828
+ border-color: rgb(var(--c-color-gray-100-800) / var(--tw-border-opacity));
3829
+ --tw-bg-opacity: 1;
3830
+ background-color: rgb(var(--c-color-purple-100-800) / var(--tw-bg-opacity));
3831
+ padding: 0.5rem;
3832
+ text-align: right;
3833
+ --tw-text-opacity: 1;
3834
+ color: rgb(var(--c-color-gray-400-500) / var(--tw-text-opacity));
3835
+ content: attr(data-gutter);
3836
+ white-space: pre-wrap;
3837
+ min-width: 25px;
3838
+ }
3839
+ .PlaygroundEditorTheme__table {
3840
+ border-spacing: 0;
3841
+ max-width: 100%;
3842
+ overflow-y: scroll;
3843
+ table-layout: fixed;
3844
+ width: calc(100% - 25px);
3845
+ margin: 30px 0;
3846
+ overflow: hidden;
3847
+ border-width: 1px 1px 0 0;
3848
+ border-style: solid;
3849
+ border-radius: 0.375rem;
3850
+ --tw-border-opacity: 1;
3851
+ border-color: rgb(var(--c-color-gray-100-800) / var(--tw-border-opacity));
3852
+ }
3853
+ .PlaygroundEditorTheme__tableSelected {
3854
+ outline-width: 2px;
3855
+ outline-color: rgb(var(--c-color-purple-200-700) / 1);
3856
+ }
3857
+ .PlaygroundEditorTheme__tableCell {
3858
+ position: relative;
3859
+ cursor: default;
3860
+ border-width: 1px;
3861
+ border-style: solid;
3862
+ --tw-border-opacity: 1;
3863
+ border-color: rgb(var(--c-color-gray-100-800) / var(--tw-border-opacity));
3864
+ padding-left: 0.5rem;
3865
+ padding-right: 0.5rem;
3866
+ padding-top: 0px;
3867
+ padding-bottom: 0px;
3868
+ text-align: start;
3869
+ vertical-align: top;
3870
+ outline: 2px solid transparent;
3871
+ outline-offset: 2px;
3872
+ min-width: 75px;
3873
+ border-width: 0 0 1px 1px;
3874
+ }
3875
+ .PlaygroundEditorTheme__tableCell .PlaygroundEditorTheme__paragraph {
3876
+ margin-top: 0.5rem;
3877
+ margin-bottom: 0.5rem;
3878
+ font-size: 0.875rem;
3879
+ line-height: 1.25rem;
3880
+ }
3881
+ .PlaygroundEditorTheme__tableCellSortedIndicator {
3882
+ display: block;
3883
+ opacity: 0.5;
3884
+ position: absolute;
3885
+ bottom: 0;
3886
+ left: 0;
3887
+ width: 100%;
3888
+ height: 4px;
3889
+ background-color: #999;
3890
+ }
3891
+ .PlaygroundEditorTheme__tableCellResizer {
3892
+ position: absolute;
3893
+ right: -4px;
3894
+ height: 100%;
3895
+ width: 8px;
3896
+ cursor: ew-resize;
3897
+ z-index: 10;
3898
+ top: 0;
3899
+ }
3900
+ .PlaygroundEditorTheme__tableCellHeader {
3901
+ --tw-bg-opacity: 1;
3902
+ background-color: rgb(var(--c-color-purple-50-900) / var(--tw-bg-opacity));
3903
+ text-align: start;
3904
+ }
3905
+ .PlaygroundEditorTheme__tableCellSelected {
3906
+ background-color: #c9dbf0;
3907
+ }
3908
+ .PlaygroundEditorTheme__tableCellPrimarySelected {
3909
+ border-width: 2px;
3910
+ border-style: solid;
3911
+ --tw-border-opacity: 1;
3912
+ border-color: rgb(var(--c-color-purple-200-700) / var(--tw-border-opacity));
3913
+ display: block;
3914
+ height: calc(100% - 2px);
3915
+ position: absolute;
3916
+ width: calc(100% - 2px);
3917
+ left: -1px;
3918
+ top: -1px;
3919
+ z-index: 2;
3920
+ }
3921
+ .PlaygroundEditorTheme__tableCellEditing {
3922
+ --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
3923
+ --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);
3924
+ box-shadow:
3925
+ var(--tw-ring-offset-shadow, 0 0 #0000),
3926
+ var(--tw-ring-shadow, 0 0 #0000),
3927
+ var(--tw-shadow);
3928
+ border-radius: 3px;
3929
+ }
3930
+ .PlaygroundEditorTheme__tableAddColumns {
3931
+ position: absolute;
3932
+ top: 0;
3933
+ width: 20px;
3934
+ height: 100%;
3935
+ right: 0;
3936
+ animation: table-controls 0.2s ease;
3937
+ border: 0;
3938
+ cursor: pointer;
3939
+ border: 1px solid transparent;
3940
+ --tw-bg-opacity: 1;
3941
+ background-color: rgb(var(--c-color-purple-50-900) / var(--tw-bg-opacity));
3942
+ }
3943
+ .PlaygroundEditorTheme__tableAddColumns:after {
3944
+ background-image: url(./plus-CQISIKEC.svg);
3945
+ background-size: contain;
3946
+ background-position: center;
3947
+ background-repeat: no-repeat;
3948
+ display: block;
3949
+ content: " ";
3950
+ position: absolute;
3951
+ top: 0;
3952
+ left: 0;
3953
+ width: 100%;
3954
+ height: 100%;
3955
+ opacity: 1;
3956
+ }
3957
+ .PlaygroundEditorTheme__tableAddColumns:hover {
3958
+ border-radius: 0.125rem;
3959
+ --tw-border-opacity: 1;
3960
+ border-color: rgb(var(--c-color-purple-200-700) / var(--tw-border-opacity));
3961
+ }
3962
+ .PlaygroundEditorTheme__tableAddRows {
3963
+ position: absolute;
3964
+ bottom: -25px;
3965
+ width: calc(100% - 25px);
3966
+ height: 20px;
3967
+ left: 0;
3968
+ animation: table-controls 0.2s ease;
3969
+ border: 0;
3970
+ cursor: pointer;
3971
+ border: 1px solid transparent;
3972
+ --tw-bg-opacity: 1;
3973
+ background-color: rgb(var(--c-color-purple-50-900) / var(--tw-bg-opacity));
3974
+ }
3975
+ .PlaygroundEditorTheme__tableAddRows:after {
3976
+ background-image: url(./plus-CQISIKEC.svg);
3977
+ background-size: contain;
3978
+ background-position: center;
3979
+ background-repeat: no-repeat;
3980
+ display: block;
3981
+ content: " ";
3982
+ position: absolute;
3983
+ top: 0;
3984
+ left: 0;
3985
+ width: 100%;
3986
+ height: 100%;
3987
+ opacity: 1;
3988
+ }
3989
+ .PlaygroundEditorTheme__tableAddRows:hover {
3990
+ border-radius: 0.125rem;
3991
+ --tw-border-opacity: 1;
3992
+ border-color: rgb(var(--c-color-purple-200-700) / var(--tw-border-opacity));
3993
+ }
3994
+ @keyframes table-controls {
3995
+ 0% {
3996
+ opacity: 0;
3997
+ }
3998
+ 100% {
3999
+ opacity: 1;
4000
+ }
4001
+ }
4002
+ .PlaygroundEditorTheme__tableCellResizeRuler {
4003
+ display: block;
4004
+ position: absolute;
4005
+ width: 1px;
4006
+ background-color: rgb(60, 132, 244);
4007
+ height: 100%;
4008
+ top: 0;
4009
+ }
4010
+ .PlaygroundEditorTheme__tableCellActionButtonContainer {
4011
+ display: block;
4012
+ right: 5px;
4013
+ top: 6px;
4014
+ position: absolute;
4015
+ z-index: 4;
4016
+ width: 20px;
4017
+ height: 20px;
4018
+ }
4019
+ .PlaygroundEditorTheme__tableCellActionButton {
4020
+ background-color: #eee;
4021
+ display: block;
4022
+ border: 0;
4023
+ border-radius: 20px;
4024
+ width: 20px;
4025
+ height: 20px;
4026
+ color: #222;
4027
+ cursor: pointer;
4028
+ }
4029
+ .PlaygroundEditorTheme__tableCellActionButton:hover {
4030
+ background-color: #ddd;
4031
+ }
4032
+ .PlaygroundEditorTheme__characterLimit {
4033
+ display: inline;
4034
+ background-color: #ffbbbb !important;
4035
+ }
4036
+ .PlaygroundEditorTheme__ol1 {
4037
+ padding: 0;
4038
+ margin: 0;
4039
+ list-style-position: inside;
4040
+ }
4041
+ .PlaygroundEditorTheme__ol2 {
4042
+ padding: 0;
4043
+ margin: 0;
4044
+ list-style-type: upper-alpha;
4045
+ list-style-position: inside;
4046
+ }
4047
+ .PlaygroundEditorTheme__ol3 {
4048
+ padding: 0;
4049
+ margin: 0;
4050
+ list-style-type: lower-alpha;
4051
+ list-style-position: inside;
4052
+ }
4053
+ .PlaygroundEditorTheme__ol4 {
4054
+ padding: 0;
4055
+ margin: 0;
4056
+ list-style-type: upper-roman;
4057
+ list-style-position: inside;
4058
+ }
4059
+ .PlaygroundEditorTheme__ol5 {
4060
+ padding: 0;
4061
+ margin: 0;
4062
+ list-style-type: lower-roman;
4063
+ list-style-position: inside;
4064
+ }
4065
+ .PlaygroundEditorTheme__ul {
4066
+ padding: 0;
4067
+ margin: 0;
4068
+ list-style-position: inside;
4069
+ }
4070
+ .PlaygroundEditorTheme__listItem {
4071
+ margin-top: 0px;
4072
+ margin-bottom: 0px;
4073
+ margin-left: 1.25rem;
4074
+ margin-right: 1.25rem;
4075
+ line-height: 1.5rem;
4076
+ --tw-text-opacity: 1;
4077
+ color: rgb(var(--c-color-gray-600-300) / var(--tw-text-opacity));
4078
+ }
4079
+ .PlaygroundEditorTheme__listItemChecked,
4080
+ .PlaygroundEditorTheme__listItemUnchecked {
4081
+ position: relative;
4082
+ margin-left: 8px;
4083
+ margin-right: 8px;
4084
+ padding-left: 24px;
4085
+ padding-right: 24px;
4086
+ list-style-type: none;
4087
+ outline: none;
4088
+ }
4089
+ .PlaygroundEditorTheme__listItemChecked {
4090
+ text-decoration: line-through;
4091
+ }
4092
+ .PlaygroundEditorTheme__listItemUnchecked:before,
4093
+ .PlaygroundEditorTheme__listItemChecked:before {
4094
+ content: "";
4095
+ width: 16px;
4096
+ height: 16px;
4097
+ top: 2px;
4098
+ left: 0;
4099
+ cursor: pointer;
4100
+ display: block;
4101
+ background-size: cover;
4102
+ position: absolute;
4103
+ }
4104
+ .PlaygroundEditorTheme__listItemUnchecked[dir=rtl]:before,
4105
+ .PlaygroundEditorTheme__listItemChecked[dir=rtl]:before {
4106
+ left: auto;
4107
+ right: 0;
4108
+ }
4109
+ .PlaygroundEditorTheme__listItemUnchecked:focus:before,
4110
+ .PlaygroundEditorTheme__listItemChecked:focus:before {
4111
+ box-shadow: 0 0 0 2px #a6cdfe;
4112
+ border-radius: 2px;
4113
+ }
4114
+ .PlaygroundEditorTheme__listItemUnchecked:before {
4115
+ border: 1px solid #999;
4116
+ border-radius: 2px;
4117
+ }
4118
+ .PlaygroundEditorTheme__listItemChecked:before {
4119
+ border: 1px solid rgb(61, 135, 245);
4120
+ border-radius: 2px;
4121
+ background-color: #3d87f5;
4122
+ background-repeat: no-repeat;
4123
+ }
4124
+ .PlaygroundEditorTheme__listItemChecked:after {
4125
+ content: "";
4126
+ cursor: pointer;
4127
+ border-color: #fff;
4128
+ border-style: solid;
4129
+ position: absolute;
4130
+ display: block;
4131
+ top: 6px;
4132
+ width: 3px;
4133
+ left: 7px;
4134
+ right: 7px;
4135
+ height: 6px;
4136
+ transform: rotate(45deg);
4137
+ border-width: 0 2px 2px 0;
4138
+ }
4139
+ .PlaygroundEditorTheme__nestedListItem {
4140
+ list-style-type: none;
4141
+ }
4142
+ .PlaygroundEditorTheme__nestedListItem:before,
4143
+ .PlaygroundEditorTheme__nestedListItem:after {
4144
+ display: none;
4145
+ }
4146
+ .PlaygroundEditorTheme__tokenComment {
4147
+ color: slategray;
4148
+ }
4149
+ .PlaygroundEditorTheme__tokenPunctuation {
4150
+ color: #999;
4151
+ }
4152
+ .PlaygroundEditorTheme__tokenProperty {
4153
+ color: #905;
4154
+ }
4155
+ .PlaygroundEditorTheme__tokenSelector {
4156
+ color: #690;
4157
+ }
4158
+ .PlaygroundEditorTheme__tokenOperator {
4159
+ color: #9a6e3a;
4160
+ }
4161
+ .PlaygroundEditorTheme__tokenAttr {
4162
+ color: #07a;
4163
+ }
4164
+ .PlaygroundEditorTheme__tokenVariable {
4165
+ color: #e90;
4166
+ }
4167
+ .PlaygroundEditorTheme__tokenFunction {
4168
+ color: #dd4a68;
4169
+ }
4170
+ .PlaygroundEditorTheme__mark {
4171
+ background: rgba(255, 212, 0, 0.14);
4172
+ border-bottom: 2px solid rgba(255, 212, 0, 0.3);
4173
+ padding-bottom: 2px;
4174
+ }
4175
+ .PlaygroundEditorTheme__markOverlap {
4176
+ background: rgba(255, 212, 0, 0.3);
4177
+ border-bottom: 2px solid rgba(255, 212, 0, 0.7);
4178
+ }
4179
+ .PlaygroundEditorTheme__mark.selected {
4180
+ background: rgba(255, 212, 0, 0.5);
4181
+ border-bottom: 2px solid rgba(255, 212, 0, 1);
4182
+ }
4183
+ .PlaygroundEditorTheme__markOverlap.selected {
4184
+ background: rgba(255, 212, 0, 0.7);
4185
+ border-bottom: 2px solid rgba(255, 212, 0, 0.7);
4186
+ }
4187
+ .PlaygroundEditorTheme__embedBlock {
4188
+ user-select: none;
4189
+ }
4190
+ .PlaygroundEditorTheme__embedBlockFocus {
4191
+ outline: 2px solid rgb(60, 132, 244);
4192
+ }
4193
+
4194
+ /* src/rich-text-editor/ui/ContentEditable.css */
4195
+ .ContentEditable__root {
4196
+ tab-size: 1;
4197
+ min-height: calc(100% - 16px);
4198
+ position: relative;
4199
+ display: block;
4200
+ border-width: 0px;
4201
+ padding-left: 1.5rem;
4202
+ padding-right: 1.5rem;
4203
+ padding-top: 0.5rem;
4204
+ padding-bottom: 0.5rem;
4205
+ padding-top: 0px !important;
4206
+ font-size: 0.875rem;
4207
+ line-height: 1.25rem;
4208
+ outline-width: 0px;
4209
+ }