@jvs-milkdown/crepe 1.2.12 → 1.2.13

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 (46) hide show
  1. package/lib/cjs/feature/block-edit/index.js +1 -0
  2. package/lib/cjs/feature/block-edit/index.js.map +1 -1
  3. package/lib/cjs/feature/image-block/index.js +1 -1
  4. package/lib/cjs/feature/image-block/index.js.map +1 -1
  5. package/lib/cjs/feature/link-tooltip/index.js +1 -0
  6. package/lib/cjs/feature/link-tooltip/index.js.map +1 -1
  7. package/lib/cjs/feature/table/index.js +1 -0
  8. package/lib/cjs/feature/table/index.js.map +1 -1
  9. package/lib/cjs/feature/toolbar/index.js +123 -9
  10. package/lib/cjs/feature/toolbar/index.js.map +1 -1
  11. package/lib/cjs/index.js +164 -15
  12. package/lib/cjs/index.js.map +1 -1
  13. package/lib/esm/feature/block-edit/index.js +1 -0
  14. package/lib/esm/feature/block-edit/index.js.map +1 -1
  15. package/lib/esm/feature/image-block/index.js +1 -1
  16. package/lib/esm/feature/image-block/index.js.map +1 -1
  17. package/lib/esm/feature/link-tooltip/index.js +1 -0
  18. package/lib/esm/feature/link-tooltip/index.js.map +1 -1
  19. package/lib/esm/feature/table/index.js +1 -0
  20. package/lib/esm/feature/table/index.js.map +1 -1
  21. package/lib/esm/feature/toolbar/index.js +123 -9
  22. package/lib/esm/feature/toolbar/index.js.map +1 -1
  23. package/lib/esm/index.js +164 -15
  24. package/lib/esm/index.js.map +1 -1
  25. package/lib/theme/common/table.css +4 -4
  26. package/lib/tsconfig.tsbuildinfo +1 -1
  27. package/lib/types/feature/fixed-toolbar/document-header.d.ts.map +1 -1
  28. package/lib/types/feature/fixed-toolbar/index.d.ts.map +1 -1
  29. package/lib/types/feature/fixed-toolbar/menu-bar.d.ts.map +1 -1
  30. package/lib/types/feature/toolbar/component.d.ts.map +1 -1
  31. package/lib/types/feature/toolbar/index.d.ts.map +1 -1
  32. package/lib/types/icons/remove.d.ts +1 -1
  33. package/lib/types/icons/remove.d.ts.map +1 -1
  34. package/lib/types/utils/fixed-toolbar-popup-state.d.ts +7 -0
  35. package/lib/types/utils/fixed-toolbar-popup-state.d.ts.map +1 -0
  36. package/package.json +4 -4
  37. package/src/feature/fixed-toolbar/index.ts +39 -2
  38. package/src/feature/fixed-toolbar/menu-bar.tsx +13 -2
  39. package/src/feature/fixed-toolbar/shortcut-help-modal.tsx +1 -1
  40. package/src/feature/fixed-toolbar/view-menu-state.ts +1 -1
  41. package/src/feature/image-block/index.ts +1 -1
  42. package/src/feature/toolbar/component.tsx +95 -8
  43. package/src/feature/toolbar/index.ts +33 -0
  44. package/src/icons/remove.ts +1 -0
  45. package/src/theme/common/table.css +4 -4
  46. package/src/utils/fixed-toolbar-popup-state.ts +27 -0
@@ -90,7 +90,7 @@
90
90
  left: 0;
91
91
  right: 0;
92
92
  height: 8px;
93
- z-index: 50;
93
+ z-index: 102;
94
94
  overflow: visible;
95
95
  }
96
96
 
@@ -100,7 +100,7 @@
100
100
  left: -8px;
101
101
  bottom: 0;
102
102
  width: 8px;
103
- z-index: 50;
103
+ z-index: 102;
104
104
  overflow: visible;
105
105
  }
106
106
 
@@ -288,7 +288,7 @@
288
288
  background-color: var(--crepe-color-surface);
289
289
  border-radius: 8px;
290
290
  box-shadow: var(--crepe-shadow-1);
291
- z-index: 60;
291
+ z-index: 102;
292
292
  }
293
293
 
294
294
  .milkdown .milkdown-table-block .cell-handle.fixed .button-group::after {
@@ -450,7 +450,7 @@
450
450
 
451
451
  .milkdown .milkdown-table-block .cell-toolbar {
452
452
  position: absolute;
453
- z-index: 60;
453
+ z-index: 102;
454
454
  display: flex;
455
455
  gap: 2px;
456
456
  background-color: var(--crepe-color-surface);