neuphlo-editor 2.4.3 → 2.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (58) hide show
  1. package/LICENSE +21 -0
  2. package/dist/highlight.css +83 -1
  3. package/dist/react/index.cjs +224 -162
  4. package/dist/react/index.cjs.map +1 -1
  5. package/dist/react/index.css +50 -2
  6. package/dist/react/index.css.map +1 -1
  7. package/dist/react/index.d.cts +11 -2
  8. package/dist/react/index.d.ts +11 -2
  9. package/dist/react/index.js +79 -14
  10. package/dist/react/index.js.map +1 -1
  11. package/dist/styles.css +52 -2
  12. package/package.json +9 -11
  13. package/dist/chunk-2DWEJI45.js +0 -1296
  14. package/dist/chunk-2DWEJI45.js.map +0 -1
  15. package/dist/chunk-3CLWAYRP.js +0 -1387
  16. package/dist/chunk-3CLWAYRP.js.map +0 -1
  17. package/dist/chunk-457ETWB6.js +0 -1351
  18. package/dist/chunk-457ETWB6.js.map +0 -1
  19. package/dist/chunk-4L7FHW5M.js +0 -1388
  20. package/dist/chunk-4L7FHW5M.js.map +0 -1
  21. package/dist/chunk-4MV3UUZN.js +0 -1073
  22. package/dist/chunk-4MV3UUZN.js.map +0 -1
  23. package/dist/chunk-62DYB7FY.js +0 -1305
  24. package/dist/chunk-62DYB7FY.js.map +0 -1
  25. package/dist/chunk-BVFTQKY7.js +0 -1387
  26. package/dist/chunk-BVFTQKY7.js.map +0 -1
  27. package/dist/chunk-DWGPGRTQ.js +0 -1302
  28. package/dist/chunk-DWGPGRTQ.js.map +0 -1
  29. package/dist/chunk-EG7NQJRA.js +0 -1324
  30. package/dist/chunk-EG7NQJRA.js.map +0 -1
  31. package/dist/chunk-FLLPFFI5.js +0 -1296
  32. package/dist/chunk-FLLPFFI5.js.map +0 -1
  33. package/dist/chunk-FVQHB6VC.js +0 -1128
  34. package/dist/chunk-FVQHB6VC.js.map +0 -1
  35. package/dist/chunk-G5E32MLB.js +0 -1352
  36. package/dist/chunk-G5E32MLB.js.map +0 -1
  37. package/dist/chunk-GXJGZHKR.js +0 -1326
  38. package/dist/chunk-GXJGZHKR.js.map +0 -1
  39. package/dist/chunk-KCPPTLGY.js +0 -1299
  40. package/dist/chunk-KCPPTLGY.js.map +0 -1
  41. package/dist/chunk-LHG2NX6C.js +0 -1123
  42. package/dist/chunk-LHG2NX6C.js.map +0 -1
  43. package/dist/chunk-MSNTVITF.js +0 -1352
  44. package/dist/chunk-MSNTVITF.js.map +0 -1
  45. package/dist/chunk-N4RDYJ5Z.js +0 -1351
  46. package/dist/chunk-N4RDYJ5Z.js.map +0 -1
  47. package/dist/chunk-OCNM37WJ.js +0 -1289
  48. package/dist/chunk-OCNM37WJ.js.map +0 -1
  49. package/dist/chunk-P3YFYEUB.js +0 -1351
  50. package/dist/chunk-P3YFYEUB.js.map +0 -1
  51. package/dist/chunk-RW6QBMJB.js +0 -1300
  52. package/dist/chunk-RW6QBMJB.js.map +0 -1
  53. package/dist/chunk-SJQQVB3M.js +0 -1353
  54. package/dist/chunk-SJQQVB3M.js.map +0 -1
  55. package/dist/chunk-SOXTEP7H.js +0 -6705
  56. package/dist/chunk-SOXTEP7H.js.map +0 -1
  57. package/dist/chunk-VPI26I4P.js +0 -1350
  58. package/dist/chunk-VPI26I4P.js.map +0 -1
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Neuphlo
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -1,3 +1,85 @@
1
- /* Optional: include a default highlight.js theme for code token colors */
1
+ /* Default: GitHub light theme for code token colors.
2
+ Consumers that toggle a `.dark` class on a parent get the github-dark
3
+ palette below via higher selector specificity. */
2
4
  @import "highlight.js/styles/github.css";
3
5
 
6
+ /* GitHub Dark palette — readable on #1F1F1E / #262626 surfaces.
7
+ The `.hljs` background is intentionally transparent so the consumer's
8
+ own `<pre>` styling (usually a muted/elevated bg token) shows through. */
9
+ .dark .hljs {
10
+ color: #c9d1d9;
11
+ background: transparent;
12
+ }
13
+ .dark .hljs-doctag,
14
+ .dark .hljs-keyword,
15
+ .dark .hljs-meta .hljs-keyword,
16
+ .dark .hljs-template-tag,
17
+ .dark .hljs-template-variable,
18
+ .dark .hljs-type,
19
+ .dark .hljs-variable.language_ {
20
+ color: #ff7b72;
21
+ }
22
+ .dark .hljs-title,
23
+ .dark .hljs-title.class_,
24
+ .dark .hljs-title.class_.inherited__,
25
+ .dark .hljs-title.function_ {
26
+ color: #d2a8ff;
27
+ }
28
+ .dark .hljs-attr,
29
+ .dark .hljs-attribute,
30
+ .dark .hljs-literal,
31
+ .dark .hljs-meta,
32
+ .dark .hljs-number,
33
+ .dark .hljs-operator,
34
+ .dark .hljs-variable,
35
+ .dark .hljs-selector-attr,
36
+ .dark .hljs-selector-class,
37
+ .dark .hljs-selector-id {
38
+ color: #79c0ff;
39
+ }
40
+ .dark .hljs-regexp,
41
+ .dark .hljs-string,
42
+ .dark .hljs-meta .hljs-string {
43
+ color: #a5d6ff;
44
+ }
45
+ .dark .hljs-built_in,
46
+ .dark .hljs-symbol {
47
+ color: #ffa657;
48
+ }
49
+ .dark .hljs-comment,
50
+ .dark .hljs-code,
51
+ .dark .hljs-formula {
52
+ color: #8b949e;
53
+ }
54
+ .dark .hljs-name,
55
+ .dark .hljs-quote,
56
+ .dark .hljs-selector-tag,
57
+ .dark .hljs-selector-pseudo {
58
+ color: #7ee787;
59
+ }
60
+ .dark .hljs-subst {
61
+ color: #c9d1d9;
62
+ }
63
+ .dark .hljs-section {
64
+ color: #1f6feb;
65
+ font-weight: bold;
66
+ }
67
+ .dark .hljs-bullet {
68
+ color: #f2cc60;
69
+ }
70
+ .dark .hljs-emphasis {
71
+ color: #c9d1d9;
72
+ font-style: italic;
73
+ }
74
+ .dark .hljs-strong {
75
+ color: #c9d1d9;
76
+ font-weight: bold;
77
+ }
78
+ .dark .hljs-addition {
79
+ color: #aff5b4;
80
+ background-color: #033a16;
81
+ }
82
+ .dark .hljs-deletion {
83
+ color: #ffdcd7;
84
+ background-color: #67060c;
85
+ }