@lumir-company/editor 0.4.18 → 0.4.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/style.css CHANGED
@@ -1291,6 +1291,23 @@
1291
1291
  transition: none;
1292
1292
  }
1293
1293
 
1294
+ /* 표 전체 스케일: 우하단 모서리 hit-zone(투명). 오버레이라 에디터 위에 떠서 코너의
1295
+ hover/클릭을 가로채므로 행/열 리사이즈(하단·우측 경계)와 충돌하지 않는다.
1296
+ 보이는 핸들 없이 hover 시 대각 리사이즈 커서만 노출 + 드래그로 크기 조절. */
1297
+ .lumirEditor .lumir-tbl-scale-handle {
1298
+ width: 18px;
1299
+ height: 18px;
1300
+ background: transparent;
1301
+ cursor: nwse-resize;
1302
+ z-index: 30;
1303
+ pointer-events: auto;
1304
+ touch-action: none;
1305
+ }
1306
+ /* 드래그 중 셀: 트랜지션 제거로 프리뷰 떨림 방지. */
1307
+ .lumirEditor .ProseMirror .lumir-table-scale-dragging {
1308
+ transition: none;
1309
+ }
1310
+
1294
1311
  /* =========================================================
1295
1312
  표 블록 정렬(좌/가운데/우) — TableAlignmentExtension
1296
1313
  <table>이 width:auto(content 폭)이므로 margin으로 수평 정렬.
@@ -1339,6 +1356,34 @@
1339
1356
  min-width: 0; /* 컬럼 내 넓은 콘텐츠(표 등) 오버플로 방지 */
1340
1357
  }
1341
1358
 
1359
+ /* 컬럼 중앙 세로 구분선. 두 가지 방식으로 켜진다(둘 중 하나라도 켜지면 표시):
1360
+ 1) 전역: columnDivider prop → 루트 `.lumir-column-divider` (모든 컬럼).
1361
+ 2) 블록별: columnList의 `showDivider` attr → `data-divider="true"` (드래그핸들 메뉴 토글).
1362
+ divider가 드래그 핸들(grip)에 가려지지 않도록 gap을 넓혀(기본 16px → grip-space×2)
1363
+ divider를 정중앙에 두고 양쪽에 grip 너비만큼 여백을 둔다. 마지막 컬럼 제외 → N컬럼이면
1364
+ N-1개. flex 기본 align-items:stretch로 컬럼 높이가 같아 구분선이 전체 높이를 채운다.
1365
+ grip-space/색은 CSS 변수로 조정 가능. */
1366
+ .lumirEditor.lumir-column-divider .bn-column-list,
1367
+ .lumirEditor .bn-column-list[data-divider="true"] {
1368
+ --lumir-column-grip-space: 28px; /* divider ~ 콘텐츠 여백(≈grip 너비 + 여유) */
1369
+ gap: calc(var(--lumir-column-grip-space) * 2);
1370
+ }
1371
+ .lumirEditor.lumir-column-divider .bn-column,
1372
+ .lumirEditor .bn-column-list[data-divider="true"] .bn-column {
1373
+ position: relative;
1374
+ }
1375
+ .lumirEditor.lumir-column-divider .bn-column:not(:last-child)::after,
1376
+ .lumirEditor .bn-column-list[data-divider="true"] .bn-column:not(:last-child)::after {
1377
+ content: "";
1378
+ position: absolute;
1379
+ top: 0;
1380
+ bottom: 0;
1381
+ right: calc(var(--lumir-column-grip-space) * -1); /* gap 정중앙 */
1382
+ width: 1px;
1383
+ background: var(--lumir-column-divider-color, #e5e7eb);
1384
+ pointer-events: none;
1385
+ }
1386
+
1342
1387
  /* DnD 컬럼 생성: 드롭 대상 블록의 좌/우 가장자리 세로 인디케이터(레이아웃 비이동 box-shadow) */
1343
1388
  .lumirEditor .lumir-col-drop-left {
1344
1389
  box-shadow: -3px 0 0 0 #3b82f6;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lumir-company/editor",
3
- "version": "0.4.18",
3
+ "version": "0.4.21",
4
4
  "private": false,
5
5
  "description": "Image-only BlockNote rich text editor with S3 upload, customizable filename transforms, UUID support, and loading spinner",
6
6
  "keywords": [