sanity 6.5.1-next.4 → 6.5.1-next.5

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.
@@ -43494,7 +43494,7 @@ const Root$g = /* @__PURE__ */ styled(Card).withConfig({
43494
43494
  });
43495
43495
  TagInput.displayName = "ForwardRef(TagInput)";
43496
43496
  function Tag(props2) {
43497
- const $ = c(12), {
43497
+ const $ = c(15), {
43498
43498
  enabled,
43499
43499
  index,
43500
43500
  muted,
@@ -43505,18 +43505,20 @@ function Tag(props2) {
43505
43505
  $[0] !== index || $[1] !== onRemove ? (t0 = () => {
43506
43506
  onRemove(index);
43507
43507
  }, $[0] = index, $[1] = onRemove, $[2] = t0) : t0 = $[2];
43508
- const handleRemoveClick = t0;
43509
- let t1;
43510
- $[3] !== muted || $[4] !== tag.value ? (t1 = /* @__PURE__ */ jsx(Box, { flex: 1, paddingY: 2, paddingLeft: 2, children: /* @__PURE__ */ jsx(Text$1, { muted, textOverflow: "ellipsis", children: tag.value }) }), $[3] = muted, $[4] = tag.value, $[5] = t1) : t1 = $[5];
43508
+ const handleRemoveClick = t0, t1 = enabled ? void 0 : 2;
43511
43509
  let t2;
43512
- $[6] !== enabled || $[7] !== handleRemoveClick ? (t2 = enabled && /* @__PURE__ */ jsx(Button$1, { icon: CloseIcon, mode: "bleed", onClick: handleRemoveClick, tooltipProps: {
43513
- content: "Remove"
43514
- } }), $[6] = enabled, $[7] = handleRemoveClick, $[8] = t2) : t2 = $[8];
43510
+ $[3] !== muted || $[4] !== tag.value ? (t2 = /* @__PURE__ */ jsx(Text$1, { muted, textOverflow: "ellipsis", children: tag.value }), $[3] = muted, $[4] = tag.value, $[5] = t2) : t2 = $[5];
43515
43511
  let t3;
43516
- return $[9] !== t1 || $[10] !== t2 ? (t3 = /* @__PURE__ */ jsx(Card, { "data-ui": "Tag", radius: 2, tone: "transparent", children: /* @__PURE__ */ jsxs(Flex, { align: "center", gap: 1, children: [
43517
- t1,
43518
- t2
43519
- ] }) }), $[9] = t1, $[10] = t2, $[11] = t3) : t3 = $[11], t3;
43512
+ $[6] !== t1 || $[7] !== t2 ? (t3 = /* @__PURE__ */ jsx(Box, { flex: 1, paddingY: 2, paddingLeft: 2, paddingRight: t1, children: t2 }), $[6] = t1, $[7] = t2, $[8] = t3) : t3 = $[8];
43513
+ let t4;
43514
+ $[9] !== enabled || $[10] !== handleRemoveClick ? (t4 = enabled && /* @__PURE__ */ jsx(Button$1, { icon: CloseIcon, mode: "bleed", onClick: handleRemoveClick, tooltipProps: {
43515
+ content: "Remove"
43516
+ } }), $[9] = enabled, $[10] = handleRemoveClick, $[11] = t4) : t4 = $[11];
43517
+ let t5;
43518
+ return $[12] !== t3 || $[13] !== t4 ? (t5 = /* @__PURE__ */ jsx(Card, { "data-ui": "Tag", radius: 2, tone: "transparent", children: /* @__PURE__ */ jsxs(Flex, { align: "center", gap: 1, children: [
43519
+ t3,
43520
+ t4
43521
+ ] }) }), $[12] = t3, $[13] = t4, $[14] = t5) : t5 = $[14], t5;
43520
43522
  }
43521
43523
  function TagsArrayInput(props2) {
43522
43524
  const $ = c(15), {