@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.
- package/dist/_chunks-cjs/_visual-editing.js +656 -852
- package/dist/_chunks-cjs/_visual-editing.js.map +1 -1
- package/dist/_chunks-es/_visual-editing.mjs +658 -854
- package/dist/_chunks-es/_visual-editing.mjs.map +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +290 -190
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +292 -192
- package/dist/index.mjs.map +1 -1
- package/package.json +40 -26
- package/src/core/components/autocomplete/autocomplete.tsx +2 -2
- package/src/core/components/breadcrumbs/breadcrumbs.tsx +2 -3
- package/src/core/components/dialog/dialog.tsx +14 -10
- package/src/core/components/hotkeys/hotkeys.tsx +2 -2
- package/src/core/components/menu/menuGroup.tsx +2 -2
- package/src/core/components/menu/menuItem.tsx +4 -4
- package/src/core/components/skeleton/skeleton.tsx +2 -2
- package/src/core/components/skeleton/textSkeleton.tsx +5 -5
- package/src/core/hooks/index.ts +1 -1
- package/src/core/hooks/useArrayProp.ts +17 -5
- package/src/core/primitives/avatar/avatar.tsx +16 -14
- package/src/core/primitives/avatar/avatarCounter.tsx +16 -14
- package/src/core/primitives/avatar/avatarStack.tsx +2 -2
- package/src/core/primitives/badge/badge.tsx +3 -3
- package/src/core/primitives/box/box.tsx +26 -26
- package/src/core/primitives/button/button.tsx +11 -11
- package/src/core/primitives/card/card.tsx +8 -8
- package/src/core/primitives/code/code.tsx +2 -2
- package/src/core/primitives/container/container.tsx +2 -2
- package/src/core/primitives/flex/flex.tsx +6 -6
- package/src/core/primitives/grid/grid.tsx +9 -9
- package/src/core/primitives/heading/heading.tsx +3 -3
- package/src/core/primitives/inline/inline.tsx +2 -2
- package/src/core/primitives/kbd/kbd.tsx +2 -2
- package/src/core/primitives/label/label.tsx +3 -3
- package/src/core/primitives/popover/popover.tsx +6 -7
- package/src/core/primitives/select/select.tsx +5 -6
- package/src/core/primitives/stack/stack.tsx +2 -2
- package/src/core/primitives/text/text.tsx +3 -3
- package/src/core/primitives/textArea/textArea.tsx +5 -6
- package/src/core/primitives/textInput/textInput.tsx +5 -6
- package/src/core/primitives/tooltip/tooltip.tsx +2 -3
- 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
|
-
*
|
|
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
|
-
*
|
|
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>(
|