sanity-plugin-mux-input 2.19.1 → 3.0.0

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.mjs CHANGED
@@ -146,7 +146,7 @@ function useAssets() {
146
146
  function useDialogState() {
147
147
  return useState(!1);
148
148
  }
149
- const PLUGIN_VERSION_QUERY = { sanityVersion: "2.19.1" };
149
+ const PLUGIN_VERSION_QUERY = { sanityVersion: "3.0.0" };
150
150
  function saveSecrets(client, token, secretKey, enableSignedUrls, signingKeyId, signingKeyPrivate, drmConfigId) {
151
151
  const doc = {
152
152
  _id: "secrets.mux",
@@ -3172,7 +3172,7 @@ function VideoPlayer({
3172
3172
  crossOrigin: "anonymous",
3173
3173
  metadata: {
3174
3174
  player_name: "Sanity Admin Dashboard",
3175
- player_version: "2.19.1",
3175
+ player_version: "3.0.0",
3176
3176
  page_type: "Preview Player"
3177
3177
  },
3178
3178
  audio: isAudio,
@@ -5690,7 +5690,7 @@ function TextTracksEditor({
5690
5690
  defaultLang
5691
5691
  }) {
5692
5692
  const track = tracks[0];
5693
- return /* @__PURE__ */ jsx(FormField$2, { title: "Auto-generated subtitle or caption", children: /* @__PURE__ */ jsxs(Stack, { space: 2, children: [
5693
+ return /* @__PURE__ */ jsx(FormField$2, { title: "Auto-generated subtitle or caption", path: [], children: /* @__PURE__ */ jsxs(Stack, { space: 2, children: [
5694
5694
  /* @__PURE__ */ jsxs(Flex, { align: "center", children: [
5695
5695
  /* @__PURE__ */ jsx(
5696
5696
  Checkbox,
@@ -5933,6 +5933,7 @@ const RESOLUTION_TIERS = [
5933
5933
  }) => /* @__PURE__ */ jsx(
5934
5934
  FormField$2,
5935
5935
  {
5936
+ path: [],
5936
5937
  title: "Resolution Tier",
5937
5938
  description: /* @__PURE__ */ jsxs(Fragment, { children: [
5938
5939
  "The maximum",
@@ -6008,6 +6009,7 @@ const RESOLUTION_TIERS = [
6008
6009
  return /* @__PURE__ */ jsx(Stack, { space: 3, children: /* @__PURE__ */ jsx(
6009
6010
  FormField$2,
6010
6011
  {
6012
+ path: [],
6011
6013
  title: "Static Renditions",
6012
6014
  description: "Generate downloadable MP4 or M4A files. Note: Mux will not upscale to produce MP4 renditions - renditions that would cause upscaling are skipped.",
6013
6015
  children: /* @__PURE__ */ jsxs(Stack, { space: 3, children: [
@@ -6276,6 +6278,7 @@ function UploadConfiguration({
6276
6278
  /* @__PURE__ */ jsx(
6277
6279
  FormField$2,
6278
6280
  {
6281
+ path: [],
6279
6282
  title: "Video Quality Level",
6280
6283
  description: /* @__PURE__ */ jsxs(Fragment, { children: [
6281
6284
  "The video quality level informs the cost, quality, and available platform features for the asset.",
@@ -6312,7 +6315,7 @@ function UploadConfiguration({
6312
6315
  }
6313
6316
  ),
6314
6317
  !basicConfig && /* @__PURE__ */ jsxs(Fragment, { children: [
6315
- /* @__PURE__ */ jsx(FormField$2, { title: "Additional Configuration", children: /* @__PURE__ */ jsxs(Stack, { space: 3, children: [
6318
+ /* @__PURE__ */ jsx(FormField$2, { title: "Additional Configuration", path: [], children: /* @__PURE__ */ jsxs(Stack, { space: 3, children: [
6316
6319
  /* @__PURE__ */ jsx(PlaybackPolicy, { id, config, secrets, dispatch }),
6317
6320
  maxSupportedResolution > 0 && /* @__PURE__ */ jsx(
6318
6321
  ResolutionTierSelector,
@@ -6430,6 +6433,7 @@ function WatermarkSection({
6430
6433
  return videoAssetMetadata?.isAudioOnly !== !1 ? null : /* @__PURE__ */ jsx(
6431
6434
  FormField$2,
6432
6435
  {
6436
+ path: [],
6433
6437
  title: "Watermark",
6434
6438
  description: /* @__PURE__ */ jsxs(Fragment, { children: [
6435
6439
  "Add a watermark overlay to your video using Mux's native watermark support.",