@devvit/public-api 0.10.19-next-2024-04-22-ba5f4f848.0 → 0.10.19-next-2024-04-22-9f09bbf2a.0

Sign up to get free protection for your applications and to get access to all the features.
package/public-api.d.ts CHANGED
@@ -1078,19 +1078,69 @@ export declare namespace Devvit {
1078
1078
  export type AvatarFacing = 'left' | 'right';
1079
1079
  export type AvatarSize = 'xxsmall' | 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge' | 'xxlarge' | 'xxxlarge';
1080
1080
  export type ButtonAppearance = 'secondary' | 'primary' | 'plain' | 'bordered' | 'media' | 'destructive' | 'caution' | 'success';
1081
+ /**
1082
+ * Affects the button height.
1083
+ * small = 32px;
1084
+ * medium = 40px;
1085
+ * large = 48px;
1086
+ */
1081
1087
  export type ButtonSize = 'small' | 'medium' | 'large';
1082
1088
  export type ColorString = string;
1089
+ /**
1090
+ * thin = 1px;
1091
+ * thick = 2px;
1092
+ */
1083
1093
  export type ContainerBorderWidth = Thickness;
1094
+ /**
1095
+ * small = 8px;
1096
+ * medium = 16px;
1097
+ * large = 24px;
1098
+ */
1084
1099
  export type ContainerCornerRadius = 'none' | 'small' | 'medium' | 'large' | 'full';
1100
+ /**
1101
+ * small = 8px;
1102
+ * medium = 16px;
1103
+ * large = 32px;
1104
+ */
1085
1105
  export type ContainerGap = 'none' | 'small' | 'medium' | 'large';
1106
+ /**
1107
+ * xsmall = 4px;
1108
+ * small = 8px;
1109
+ * medium = 16px;
1110
+ * large = 32px;
1111
+ */
1086
1112
  export type ContainerPadding = 'none' | 'xsmall' | 'small' | 'medium' | 'large';
1087
1113
  export type FullSnooSize = 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge' | 'xxlarge';
1088
1114
  export type HorizontalAlignment = 'start' | 'center' | 'end';
1115
+ /**
1116
+ * xsmall = 12px;
1117
+ * small = 16px;
1118
+ * medium = 20px;
1119
+ * large = 24px;
1120
+ */
1089
1121
  export type IconSize = 'xsmall' | 'small' | 'medium' | 'large';
1090
1122
  export type ImageResizeMode = 'none' | 'fit' | 'fill' | 'cover' | 'scale-down';
1123
+ /**
1124
+ * xsmall = 4px;
1125
+ * small = 8px;
1126
+ * medium = 16px;
1127
+ * large = 32px;
1128
+ */
1091
1129
  export type SpacerSize = 'xsmall' | 'small' | 'medium' | 'large';
1092
1130
  export type SpacerShape = 'invisible' | 'thin' | 'square';
1131
+ /**
1132
+ * thin = 1px;
1133
+ * thick = 2px;
1134
+ */
1093
1135
  export type TextOutline = Thickness;
1136
+ /**
1137
+ * xsmall = 10px;
1138
+ * small = 12px;
1139
+ * medium = 14px;
1140
+ * large = 16px;
1141
+ * xlarge = 18px;
1142
+ * xxlarge = 24px;
1143
+ */
1094
1144
  export type TextSize = 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge' | 'xxlarge';
1095
1145
  export type TextStyle = 'body' | 'metadata' | 'heading';
1096
1146
  export type TextWeight = 'regular' | 'bold';