@sanity/ui 2.0.0-alpha.19 → 2.0.0-alpha.20

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/index.js CHANGED
@@ -5032,6 +5032,7 @@ const Stroke = styled__default.default.ellipse(avatarStyle.stroke);
5032
5032
  const Initials = styled__default.default.div(avatarStyle.initials);
5033
5033
  const Avatar = react.forwardRef(function Avatar2(props, ref) {
5034
5034
  const {
5035
+ __unstable_hideInnerStroke,
5035
5036
  as: asProp,
5036
5037
  color: colorKey = "gray",
5037
5038
  src,
@@ -5040,7 +5041,6 @@ const Avatar = react.forwardRef(function Avatar2(props, ref) {
5040
5041
  onImageLoadError,
5041
5042
  arrowPosition: arrowPositionProp,
5042
5043
  animateArrowFrom,
5043
- hideInnerStroke,
5044
5044
  status = "online",
5045
5045
  size: sizeProp = 0,
5046
5046
  ...restProps
@@ -5115,7 +5115,7 @@ const Avatar = react.forwardRef(function Avatar2(props, ref) {
5115
5115
  cy: _radius,
5116
5116
  r: _radius,
5117
5117
  fill: "url(#".concat(imageId, ")")
5118
- }), !hideInnerStroke && /* @__PURE__ */jsxRuntime.jsx(BgStroke, {
5118
+ }), !__unstable_hideInnerStroke && /* @__PURE__ */jsxRuntime.jsx(BgStroke, {
5119
5119
  cx: _radius,
5120
5120
  cy: _radius,
5121
5121
  rx: _radius,
@@ -7656,6 +7656,7 @@ const TextInputClearButton = styled__default.default(Button)({
7656
7656
  });
7657
7657
  const TextInput = react.forwardRef(function TextInput2(props, forwardedRef) {
7658
7658
  const {
7659
+ __unstable_disableFocusRing,
7659
7660
  border = true,
7660
7661
  clearButton,
7661
7662
  disabled = false,
@@ -7672,7 +7673,6 @@ const TextInput = react.forwardRef(function TextInput2(props, forwardedRef) {
7672
7673
  customValidity,
7673
7674
  type = "text",
7674
7675
  weight,
7675
- unstableDisableFocusRing,
7676
7676
  ...restProps
7677
7677
  } = props;
7678
7678
  const ref = useForwardedRef(forwardedRef);
@@ -7711,7 +7711,7 @@ const TextInput = react.forwardRef(function TextInput2(props, forwardedRef) {
7711
7711
  }), [prefix, radius]);
7712
7712
  const presentationNode = react.useMemo(() => /* @__PURE__ */jsxRuntime.jsxs(Presentation, {
7713
7713
  $hasPrefix,
7714
- $unstableDisableFocusRing: unstableDisableFocusRing,
7714
+ $unstableDisableFocusRing: __unstable_disableFocusRing,
7715
7715
  $hasSuffix,
7716
7716
  $radius: radius,
7717
7717
  $scheme: rootTheme.scheme,
@@ -7732,7 +7732,7 @@ const TextInput = react.forwardRef(function TextInput2(props, forwardedRef) {
7732
7732
  children: [react.isValidElement(iconRight) && iconRight, ReactIs.isValidElementType(iconRight) && react.createElement(iconRight)]
7733
7733
  })
7734
7734
  })]
7735
- }), [border, fontSize, icon, iconRight, padding, radius, rootTheme, $hasClearButton, $hasPrefix, $hasSuffix, unstableDisableFocusRing]);
7735
+ }), [__unstable_disableFocusRing, border, fontSize, icon, iconRight, padding, radius, rootTheme, $hasClearButton, $hasPrefix, $hasSuffix]);
7736
7736
  const clearButtonBoxPadding = react.useMemo(() => padding.map(v => {
7737
7737
  if (v === 0) return 0;
7738
7738
  if (v === 1) return 1;