comins-table 0.1.2 → 0.1.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "comins-table",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "repository": {
@@ -15,6 +15,7 @@
15
15
  "build": "vite build && tsc -p tsconfig.build.json",
16
16
  "check:hygiene": "node scripts/check-repository-hygiene.mjs",
17
17
  "dev": "vite --config vite.example.config.ts",
18
+ "docs:readme-gif": "node scripts/capture-readme-demo.mjs",
18
19
  "lint": "tsc --noEmit",
19
20
  "setup:hooks": "git config core.hooksPath .githooks",
20
21
  "test": "vitest",
package/styles.css CHANGED
@@ -497,6 +497,18 @@
497
497
  cursor: grabbing;
498
498
  }
499
499
 
500
+ .comins-table__th[data-column-placeholder="true"] {
501
+ background: color-mix(in srgb, var(--comins-table-surface-muted) 82%, transparent);
502
+ outline: 1px dashed var(--comins-table-drop-marker);
503
+ outline-offset: -2px;
504
+ }
505
+
506
+ .comins-table__th[data-column-placeholder="true"] > .comins-table__header-content,
507
+ .comins-table__th[data-column-placeholder="true"] > .comins-table__resize {
508
+ opacity: 0;
509
+ pointer-events: none;
510
+ }
511
+
500
512
  .comins-table__header-content {
501
513
  align-items: center;
502
514
  column-gap: 0;
@@ -613,6 +625,10 @@
613
625
  background: var(--comins-table-accent-strong);
614
626
  }
615
627
 
628
+ .comins-table__th[data-column-placeholder="true"][data-column-drop-target="true"] {
629
+ background: color-mix(in srgb, var(--comins-table-surface-muted) 82%, transparent);
630
+ }
631
+
616
632
  .comins-column-move-ghost {
617
633
  background: var(--comins-table-drop-marker);
618
634
  border: 1px solid rgba(255, 255, 255, 0.58);