@objectifthunes/whiteboard 0.5.2 → 0.5.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.
@@ -1164,6 +1164,7 @@ button.chip:hover {
1164
1164
  align-items: center;
1165
1165
  gap: var(--wb-gap-sm);
1166
1166
  transform: translateY(-50%);
1167
+ color: var(--wb-text);
1167
1168
  padding: 0.34rem;
1168
1169
  border: 1px solid var(--wb-border);
1169
1170
  border-radius: var(--wb-radius-lg);
@@ -1365,6 +1366,7 @@ button.chip:hover {
1365
1366
  border-radius: var(--wb-radius-lg);
1366
1367
  background: var(--wb-surface);
1367
1368
  box-shadow: var(--wb-shadow-soft);
1369
+ color: var(--wb-text);
1368
1370
  white-space: nowrap;
1369
1371
  }
1370
1372
 
@@ -1654,3 +1656,17 @@ button.chip:hover {
1654
1656
  .draggable :where(button, a, label, input[type='checkbox'], input[type='range']) {
1655
1657
  cursor: pointer;
1656
1658
  }
1659
+
1660
+ /* chrome icon buttons are exact squares regardless of glyph width */
1661
+ .toolbar .wb-btn--icon-only,
1662
+ .vertical-toolbar .wb-btn--icon-only {
1663
+ width: 2.2rem;
1664
+ height: 2.2rem;
1665
+ min-width: 2.2rem;
1666
+ padding: 0;
1667
+ justify-content: center;
1668
+ }
1669
+
1670
+ .toolbar .wb-btn--icon-only {
1671
+ font-size: var(--wb-fs-md);
1672
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@objectifthunes/whiteboard",
3
- "version": "0.5.2",
3
+ "version": "0.5.3",
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",