@sanity/ui 3.0.12-canary.1 → 3.0.12

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.
Files changed (44) hide show
  1. package/dist/_chunks-cjs/_visual-editing.js +656 -852
  2. package/dist/_chunks-cjs/_visual-editing.js.map +1 -1
  3. package/dist/_chunks-es/_visual-editing.mjs +658 -854
  4. package/dist/_chunks-es/_visual-editing.mjs.map +1 -1
  5. package/dist/index.d.mts +1 -1
  6. package/dist/index.d.ts +1 -1
  7. package/dist/index.js +290 -190
  8. package/dist/index.js.map +1 -1
  9. package/dist/index.mjs +292 -192
  10. package/dist/index.mjs.map +1 -1
  11. package/package.json +40 -26
  12. package/src/core/components/autocomplete/autocomplete.tsx +2 -2
  13. package/src/core/components/breadcrumbs/breadcrumbs.tsx +2 -3
  14. package/src/core/components/dialog/dialog.tsx +14 -10
  15. package/src/core/components/hotkeys/hotkeys.tsx +2 -2
  16. package/src/core/components/menu/menuGroup.tsx +2 -2
  17. package/src/core/components/menu/menuItem.tsx +4 -4
  18. package/src/core/components/skeleton/skeleton.tsx +2 -2
  19. package/src/core/components/skeleton/textSkeleton.tsx +5 -5
  20. package/src/core/hooks/index.ts +1 -1
  21. package/src/core/hooks/useArrayProp.ts +17 -5
  22. package/src/core/primitives/avatar/avatar.tsx +16 -14
  23. package/src/core/primitives/avatar/avatarCounter.tsx +16 -14
  24. package/src/core/primitives/avatar/avatarStack.tsx +2 -2
  25. package/src/core/primitives/badge/badge.tsx +3 -3
  26. package/src/core/primitives/box/box.tsx +26 -26
  27. package/src/core/primitives/button/button.tsx +11 -11
  28. package/src/core/primitives/card/card.tsx +8 -8
  29. package/src/core/primitives/code/code.tsx +2 -2
  30. package/src/core/primitives/container/container.tsx +2 -2
  31. package/src/core/primitives/flex/flex.tsx +6 -6
  32. package/src/core/primitives/grid/grid.tsx +9 -9
  33. package/src/core/primitives/heading/heading.tsx +3 -3
  34. package/src/core/primitives/inline/inline.tsx +2 -2
  35. package/src/core/primitives/kbd/kbd.tsx +2 -2
  36. package/src/core/primitives/label/label.tsx +3 -3
  37. package/src/core/primitives/popover/popover.tsx +6 -7
  38. package/src/core/primitives/select/select.tsx +5 -6
  39. package/src/core/primitives/stack/stack.tsx +2 -2
  40. package/src/core/primitives/text/text.tsx +3 -3
  41. package/src/core/primitives/textArea/textArea.tsx +5 -6
  42. package/src/core/primitives/textInput/textInput.tsx +5 -6
  43. package/src/core/primitives/tooltip/tooltip.tsx +2 -3
  44. package/src/core/utils/layer/layerProvider.tsx +2 -3
package/dist/index.d.mts CHANGED
@@ -2750,7 +2750,7 @@ export declare interface TreeState {
2750
2750
  }
2751
2751
 
2752
2752
  /**
2753
- * @deprecated instead of `useArrayProp(width)` use `Array.isArray(width) ? width : [width]` instead
2753
+ * This API might change. DO NOT USE IN PRODUCTION.
2754
2754
  * @beta
2755
2755
  */
2756
2756
  export declare function useArrayProp<T extends ArrayPropPrimitive = ArrayPropPrimitive>(
package/dist/index.d.ts CHANGED
@@ -2750,7 +2750,7 @@ export declare interface TreeState {
2750
2750
  }
2751
2751
 
2752
2752
  /**
2753
- * @deprecated instead of `useArrayProp(width)` use `Array.isArray(width) ? width : [width]` instead
2753
+ * This API might change. DO NOT USE IN PRODUCTION.
2754
2754
  * @beta
2755
2755
  */
2756
2756
  export declare function useArrayProp<T extends ArrayPropPrimitive = ArrayPropPrimitive>(