@objectifthunes/whiteboard 0.4.0 → 0.5.0

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.
@@ -1360,7 +1360,7 @@ button.chip:hover {
1360
1360
  align-items: center;
1361
1361
  gap: var(--wb-gap-sm);
1362
1362
  transform: translateX(-50%);
1363
- padding: 0.34rem;
1363
+ padding: 0.5rem;
1364
1364
  border: 1px solid var(--wb-border);
1365
1365
  border-radius: var(--wb-radius-lg);
1366
1366
  background: var(--wb-surface);
@@ -1599,3 +1599,28 @@ button.chip:hover {
1599
1599
  align-self: stretch;
1600
1600
  min-height: 1rem;
1601
1601
  }
1602
+
1603
+ /* .toolbar buttons read slightly larger than panel buttons */
1604
+ .toolbar .wb-btn {
1605
+ padding: 0.45rem 0.72rem;
1606
+ font-size: var(--wb-fs-md);
1607
+ }
1608
+
1609
+ /* ── Draggable ───────────────────────────────────────────────────────── */
1610
+ .draggable {
1611
+ cursor: grab;
1612
+ touch-action: none;
1613
+ will-change: transform;
1614
+ }
1615
+
1616
+ .draggable--disabled {
1617
+ cursor: inherit;
1618
+ }
1619
+
1620
+ .draggable :where(button, input, select, textarea, canvas, a, label) {
1621
+ cursor: auto;
1622
+ }
1623
+
1624
+ .draggable :where(button, a, label, input[type='checkbox'], input[type='range']) {
1625
+ cursor: pointer;
1626
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@objectifthunes/whiteboard",
3
- "version": "0.4.0",
3
+ "version": "0.5.0",
4
4
  "description": "Pan/zoom whiteboard canvas with draggable panels, minimap, snap-to-grid, and zoom controls",
5
5
  "license": "MIT",
6
6
  "type": "module",