@sanity/ui 4.2.7 → 4.3.1

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/styles.css CHANGED
@@ -373,37 +373,55 @@
373
373
  }
374
374
 
375
375
  ._1jezl1b1 {
376
+ width: var(--avatar-size);
377
+ height: var(--avatar-size);
378
+ object-fit: contain;
379
+ border-radius: 50%;
376
380
  position: relative;
377
381
  }
378
382
 
383
+ ._1jezl1b1:not([hidden]) {
384
+ display: block;
385
+ }
386
+
379
387
  ._1jezl1b2 {
388
+ width: var(--avatar-size);
389
+ height: var(--avatar-size);
390
+ pointer-events: none;
391
+ border-radius: 50%;
392
+ position: absolute;
393
+ top: 0;
394
+ left: 0;
395
+ }
396
+
397
+ ._1jezl1b3 {
380
398
  stroke-width: 4px;
381
399
  stroke: var(--card-bg-color);
382
400
  }
383
401
 
384
- ._1jezl1b3 {
402
+ ._1jezl1b4 {
385
403
  stroke-width: 2px;
386
404
  stroke: var(--avatar-bg-color);
387
405
  }
388
406
 
389
- [data-status="editing"] ._1jezl1b3 {
407
+ [data-status="editing"] ._1jezl1b4 {
390
408
  stroke-dasharray: 2 4;
391
409
  stroke-linecap: round;
392
410
  }
393
411
 
394
- ._1jezl1b4 {
412
+ ._1jezl1b5 {
395
413
  white-space: nowrap;
396
414
  }
397
415
 
398
- ._1jezl1b4 > div {
416
+ ._1jezl1b5 > div {
399
417
  vertical-align: top;
400
418
  }
401
419
 
402
- ._1jezl1b4 > div:not([hidden]) {
420
+ ._1jezl1b5 > div:not([hidden]) {
403
421
  display: inline-block;
404
422
  }
405
423
 
406
- ._1jezl1b5 {
424
+ ._1jezl1b6 {
407
425
  width: 100%;
408
426
  height: 100%;
409
427
  color: var(--avatar-fg-color);
@@ -414,7 +432,7 @@
414
432
  align-items: center;
415
433
  }
416
434
 
417
- ._1jezl1b5:not([hidden]) {
435
+ ._1jezl1b6:not([hidden]) {
418
436
  display: flex;
419
437
  }
420
438
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sanity/ui",
3
- "version": "4.2.7",
3
+ "version": "4.3.1",
4
4
  "keywords": [
5
5
  "components",
6
6
  "design-system",
@@ -49,31 +49,31 @@
49
49
  },
50
50
  "dependencies": {
51
51
  "@floating-ui/react-dom": "^2.1.9",
52
- "@sanity/color": "^3.0.8",
53
- "@sanity/icons": "^5.2.2",
52
+ "@sanity/color": "^3.0.9",
53
+ "@sanity/icons": "^5.2.3",
54
54
  "@vanilla-extract/dynamic": "^2.1.5",
55
55
  "clsx": "^2.1.1",
56
56
  "csstype": "^3.2.3",
57
- "motion": "^13.4.4",
57
+ "motion": "^13.5.1",
58
58
  "react-is": "^19.3.0",
59
59
  "react-refractor": "^4.0.0",
60
60
  "use-effect-event": "^2.0.4"
61
61
  },
62
62
  "devDependencies": {
63
- "@sanity/tsdown-config": "^0.28.1",
64
- "@sanity/vanilla-extract-vite-plugin": "^0.2.19",
63
+ "@sanity/tsdown-config": "^0.28.4",
64
+ "@sanity/vanilla-extract-vite-plugin": "^0.2.22",
65
65
  "@testing-library/dom": "^10.4.2",
66
66
  "@testing-library/jest-dom": "^7.0.1",
67
67
  "@testing-library/react": "^16.3.3",
68
68
  "@testing-library/user-event": "^14.6.7",
69
- "@types/node": "^24.13.6",
69
+ "@types/node": "^24.19.1",
70
70
  "@types/react": "^19.3.0",
71
71
  "@types/react-dom": "^19.3.0",
72
72
  "@types/react-is": "^19.3.0",
73
73
  "@vanilla-extract/css": "^1.21.2",
74
- "@vitest/coverage-v8": "^5.0.2",
75
- "jsdom": "^30.1.1",
76
- "oxc-transform-react": "^0.151.0",
74
+ "@vitest/coverage-v8": "^5.0.3",
75
+ "jsdom": "^30.1.2",
76
+ "oxc-transform-react": "^0.153.0",
77
77
  "react": "^19.3.0",
78
78
  "react-dom": "^19.3.0",
79
79
  "rimraf": "^5.0.5",
@@ -81,8 +81,8 @@
81
81
  "tsdown": "^0.23.0",
82
82
  "typescript": "7.0.2",
83
83
  "unrun": "^0.3.1",
84
- "vite": "^8.3.1",
85
- "vitest": "^5.0.2",
84
+ "vite": "^8.3.2",
85
+ "vitest": "^5.0.3",
86
86
  "vitest-axe": "^1.0.0-pre.5"
87
87
  },
88
88
  "peerDependencies": {