@sanity/ui 2.16.9 → 2.16.11

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.
@@ -115,7 +115,7 @@ function responsiveFont(fontKey, props) {
115
115
  } = font[fontKey], fontWeight = $weight && weights[$weight] || weights.regular, defaultSize = sizes[2], base = {
116
116
  position: "relative",
117
117
  fontFamily: family,
118
- fontWeight,
118
+ fontWeight: `${fontWeight}`,
119
119
  padding: "1px 0",
120
120
  margin: 0,
121
121
  "&:before": {
@@ -602,7 +602,7 @@ function responsiveFlexItemStyle(props) {
602
602
  media
603
603
  } = getTheme_v2(props.theme);
604
604
  return props.$flex ? _responsive(media, props.$flex, (flex) => ({
605
- flex
605
+ flex: `${flex}`
606
606
  })) : EMPTY_ARRAY;
607
607
  }
608
608
  const BASE_STYLE$2 = {
@@ -690,7 +690,7 @@ function responsiveGridItemRowStartStyle(props) {
690
690
  media
691
691
  } = getTheme_v2(props.theme);
692
692
  return _responsive(media, props.$rowStart, (rowStart) => ({
693
- gridRowStart: rowStart
693
+ gridRowStart: `${rowStart}`
694
694
  }));
695
695
  }
696
696
  function responsiveGridItemRowEndStyle(props) {
@@ -698,7 +698,7 @@ function responsiveGridItemRowEndStyle(props) {
698
698
  media
699
699
  } = getTheme_v2(props.theme);
700
700
  return _responsive(media, props.$rowEnd, (rowEnd) => ({
701
- gridRowEnd: rowEnd
701
+ gridRowEnd: `${rowEnd}`
702
702
  }));
703
703
  }
704
704
  function responsiveGridItemColumnStyle(props) {
@@ -716,7 +716,7 @@ function responsiveGridItemColumnStartStyle(props) {
716
716
  media
717
717
  } = getTheme_v2(props.theme);
718
718
  return _responsive(media, props.$columnStart, (columnStart) => ({
719
- gridColumnStart: columnStart
719
+ gridColumnStart: `${columnStart}`
720
720
  }));
721
721
  }
722
722
  function responsiveGridItemColumnEndStyle(props) {
@@ -724,7 +724,7 @@ function responsiveGridItemColumnEndStyle(props) {
724
724
  media
725
725
  } = getTheme_v2(props.theme);
726
726
  return _responsive(media, props.$columnEnd, (columnEnd) => ({
727
- gridColumnEnd: columnEnd
727
+ gridColumnEnd: `${columnEnd}`
728
728
  }));
729
729
  }
730
730
  const GRID_CSS = {
@@ -939,7 +939,7 @@ function textInputFontSizeStyle(props) {
939
939
  const size2 = font.text.sizes[sizeIndex] || font.text.sizes[2];
940
940
  return {
941
941
  fontSize: rem(size2.fontSize),
942
- lineHeight: size2.lineHeight / size2.fontSize
942
+ lineHeight: `${size2.lineHeight / size2.fontSize}`
943
943
  };
944
944
  });
945
945
  }
@@ -1212,8 +1212,8 @@ function avatarArrowStyle() {
1212
1212
  return {
1213
1213
  position: "absolute",
1214
1214
  boxSizing: "border-box",
1215
- zIndex: 0,
1216
- opacity: 0,
1215
+ zIndex: "0",
1216
+ opacity: "0",
1217
1217
  transition: "all 0.2s linear",
1218
1218
  transform: "rotate(-90deg) translate3d(0, 6px, 0)",
1219
1219
  left: 0,
@@ -1233,14 +1233,14 @@ function avatarArrowStyle() {
1233
1233
  },
1234
1234
  "[data-arrow-position='inside'] > &": {
1235
1235
  transform: "rotate(-90deg) translate3d(0, 6px, 0)",
1236
- opacity: 0
1236
+ opacity: "0"
1237
1237
  },
1238
1238
  "[data-arrow-position='top'] > &": {
1239
- opacity: 1,
1239
+ opacity: "1",
1240
1240
  transform: "rotate(0deg)"
1241
1241
  },
1242
1242
  "[data-arrow-position='bottom'] > &": {
1243
- opacity: 1,
1243
+ opacity: "1",
1244
1244
  transform: "rotate(-180deg)"
1245
1245
  }
1246
1246
  };
@@ -1260,7 +1260,7 @@ function avatarRootStyle(props) {
1260
1260
  userSelect: "none",
1261
1261
  boxShadow: "0 0 0 1px var(--card-bg-color)",
1262
1262
  '&[data-status="inactive"]': {
1263
- opacity: 0.5
1263
+ opacity: "0.5"
1264
1264
  },
1265
1265
  "&>svg": {
1266
1266
  "&:not([hidden])": {
@@ -2673,7 +2673,7 @@ const StyledHeading = /* @__PURE__ */ styled.div.withConfig({
2673
2673
  Heading.displayName = "ForwardRef(Heading)";
2674
2674
  function inlineBaseStyle() {
2675
2675
  return {
2676
- lineHeight: 0,
2676
+ lineHeight: "0",
2677
2677
  "&&:not([hidden])": {
2678
2678
  display: "block"
2679
2679
  },
@@ -3890,7 +3890,7 @@ function inputColorStyle(props) {
3890
3890
  function textSize(size2) {
3891
3891
  return {
3892
3892
  fontSize: rem(size2.fontSize),
3893
- lineHeight: rem(size2.lineHeight)
3893
+ lineHeight: `${rem(size2.lineHeight)}`
3894
3894
  };
3895
3895
  }
3896
3896
  function inputTextSizeStyle(props) {