@iclips/ui 4.1.0 → 4.1.2

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/preset.css CHANGED
@@ -424,6 +424,39 @@ ul[data-type="taskList"] li[data-checked="true"] > div {
424
424
  @apply bg-primary absolute -bottom-0.5 -right-0.5 top-0 w-1 cursor-col-resize;
425
425
  }
426
426
 
427
+ /* Alcas de redimensionamento da imagem (DocumentEditor full). O tiptap cria os 4 <div data-resize-handle>
428
+ so com position absolute e o canto (top/left/...: 0), sem tamanho nem cursor: o visual e de quem usa.
429
+ Ficam escondidas e aparecem com a imagem selecionada ou no hover; centradas no canto via translate. */
430
+ .ProseMirror [data-resize-handle] {
431
+ @apply bg-primary border-background z-10 hidden size-2.5 rounded-sm border-2;
432
+ }
433
+
434
+ .ProseMirror [data-resize-container].ProseMirror-selectednode [data-resize-handle],
435
+ .ProseMirror [data-resize-container]:hover [data-resize-handle] {
436
+ @apply block;
437
+ }
438
+
439
+ .ProseMirror [data-resize-handle="top-left"] {
440
+ @apply -translate-x-1/2 -translate-y-1/2 cursor-nwse-resize;
441
+ }
442
+
443
+ .ProseMirror [data-resize-handle="bottom-right"] {
444
+ @apply translate-x-1/2 translate-y-1/2 cursor-nwse-resize;
445
+ }
446
+
447
+ .ProseMirror [data-resize-handle="top-right"] {
448
+ @apply -translate-y-1/2 translate-x-1/2 cursor-nesw-resize;
449
+ }
450
+
451
+ .ProseMirror [data-resize-handle="bottom-left"] {
452
+ @apply -translate-x-1/2 translate-y-1/2 cursor-nesw-resize;
453
+ }
454
+
455
+ /* A folha e sempre branca: a borda da alca acompanha o papel, nao o tema escuro. */
456
+ [data-slot="document-sheet"] .ProseMirror [data-resize-handle] {
457
+ @apply border-white;
458
+ }
459
+
427
460
  /* O tiptap nao usa <details> nativo: monta <div data-type="details"> com um
428
461
  botao de toggle sem conteudo, que ganha o triangulo aqui. Aberto = .is-open */
429
462
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iclips/ui",
3
- "version": "4.1.0",
3
+ "version": "4.1.2",
4
4
  "description": "Design system da iClips — componentes React sobre Radix UI + Tailwind v4, paleta #7F26BF",
5
5
  "author": "iclipsbr",
6
6
  "license": "MIT",