sanity 5.28.1-next.6 → 5.29.0-next.8

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.
@@ -39,18 +39,30 @@ const variantsLocaleStrings = {
39
39
  "overview.table.no-conditions": "No conditions",
40
40
  /** Title for the Variants overview. */
41
41
  "overview.title": "Variants",
42
+ /** Edit action on the Variant detail page. */
43
+ "detail.action.edit-variant": "Edit variant",
42
44
  /** Back action on the Variant detail page. */
43
45
  "detail.back": "Back to variants",
46
+ /** Created status label in the Variant detail footer. */
47
+ "detail.footer.created": "Created",
44
48
  /** Loading message on the Variant detail page. */
45
49
  "detail.loading": "Loading variant",
46
50
  /** Fallback text when a variant has no description. */
47
51
  "detail.no-description": "No description yet.",
52
+ /** Empty state for variant document table. */
53
+ "detail.documents.no-documents": "No documents in this variant",
54
+ /** Edited column header for variant document table. */
55
+ "detail.documents.table.edited": "Edited",
56
+ /** Search placeholder for variant document table. */
57
+ "detail.documents.table.search-placeholder": "Search documents",
58
+ /** Type column header for variant document table. */
59
+ "detail.documents.table.type": "Type",
60
+ /** Version column header for variant document table. */
61
+ "detail.documents.table.version": "Version",
48
62
  /** Description for the missing Variant detail page. */
49
63
  "detail.not-found.description": "The requested variant could not be found.",
50
64
  /** Title for the missing Variant detail page. */
51
65
  "detail.not-found.title": "Variant not found",
52
- /** Placeholder text on the Variant detail page. */
53
- "detail.placeholder": "Variant detail editing will be added in a future iteration.",
54
66
  /** Title for the create variant dialog. */
55
67
  "dialog.create.title": "Create variant",
56
68
  /** Confirm action for the create variant dialog. */
@@ -79,6 +91,16 @@ const variantsLocaleStrings = {
79
91
  "dialog.create.condition-key.label": "Key",
80
92
  /** Validation message when a condition key is repeated. */
81
93
  "dialog.create.condition-key.duplicate": "Condition keys must be unique",
94
+ /** Validation message when a condition key uses a reserved prefix. */
95
+ "dialog.create.condition-key.reserved": "Condition keys cannot start with _ or $",
96
+ /** Validation message when a condition key has an invalid format. */
97
+ "dialog.create.condition-key.invalid": "Condition keys must be lowercase, start with a letter, and use letters, numbers, underscores, or hyphens",
98
+ /** Validation message when a condition key is missing. */
99
+ "dialog.create.condition-key.required": "Condition key is required",
100
+ /** Validation message when a condition value is missing. */
101
+ "dialog.create.condition-value.required": "Condition value is required",
102
+ /** Validation message when a condition value has an invalid format. */
103
+ "dialog.create.condition-value.invalid": "Condition values cannot contain colons",
82
104
  /** Placeholder for the condition key field in the create variant dialog. */
83
105
  "dialog.create.condition-key.placeholder": "e.g. audience",
84
106
  /** Label for the condition value field in the create variant dialog. */
@@ -86,7 +108,15 @@ const variantsLocaleStrings = {
86
108
  /** Placeholder for the condition value field in the create variant dialog. */
87
109
  "dialog.create.condition-value.placeholder": "e.g. loyal-customers",
88
110
  /** Error toast title when variant creation fails. */
89
- "dialog.create.error.title": "Unable to create variant"
111
+ "dialog.create.error.title": "Unable to create variant",
112
+ /** Title for the edit variant dialog. */
113
+ "dialog.edit.title": "Edit variant",
114
+ /** Confirm action for the edit variant dialog. */
115
+ "dialog.edit.action.confirm": "Save",
116
+ /** Cancel action for the edit variant dialog. */
117
+ "dialog.edit.action.cancel": "Cancel",
118
+ /** Error toast title when variant editing fails. */
119
+ "dialog.edit.error.title": "Unable to update variant"
90
120
  };
91
121
  export {
92
122
  variantsLocaleStrings as default
@@ -1 +1 @@
1
- {"version":3,"file":"resources7.js","sources":["../../src/core/variants/i18n/resources.ts"],"sourcesContent":["/**\n * Defined locale strings for variants, in US English.\n *\n * @internal\n */\nconst variantsLocaleStrings = {\n /** Label for the variants navigation row. */\n 'navbar.view-as': 'View as',\n /** Label for the version selector in the variants navigation row. */\n 'navbar.version': 'Version',\n /** Label for the variant selector in the variants navigation row. */\n 'navbar.variant': 'Variant',\n /** Default option label when no variant is selected. */\n 'navbar.variant.default': 'All users (Default)',\n /** Placeholder for the variant filter input in the dropdown. */\n 'navbar.variant.filter-placeholder': 'Filter variants…',\n /** Section header for non-default variants in the dropdown. */\n 'navbar.variant.other': 'Other variants',\n /** Label for clearing version and variant selections. */\n 'navbar.clear': 'Clear',\n /** Tooltip for clearing the selected variant. */\n 'navbar.variant.clear': 'Clear variant selection',\n /** Label for the Variants overview create action. */\n 'overview.action.create-variant': 'Create variant',\n /** Label for the Variants overview delete action. */\n 'overview.action.delete-variant': 'Delete variant',\n /** Error toast title when variant deletion fails. */\n 'overview.action.delete-variant.error.title': 'Unable to delete variant',\n /** Link label for Variants overview documentation (empty state). */\n 'overview.action.documentation': 'Documentation',\n /** Description for the Variants overview empty state. */\n 'overview.empty-state.description':\n 'Variant definitions describe how content is personalized for audiences, locales, segments, and more.',\n /** Description for the Variants overview. */\n 'overview.description':\n 'Manage variant definitions that control how content is personalized for different audiences, locales, and segments.',\n /** Error message for the Variants overview. */\n 'overview.error': 'Unable to load variants',\n /** Placeholder for the Variants overview search field. */\n 'overview.search.placeholder': 'Search variant definitions…',\n /** Column header for the variant title column in the overview table. */\n 'overview.table.variant': 'Variant',\n /** Column header for document count in the overview table. */\n 'overview.table.documents': 'Documents',\n /** Fallback text when a variant has no conditions. */\n 'overview.table.no-conditions': 'No conditions',\n /** Title for the Variants overview. */\n 'overview.title': 'Variants',\n /** Back action on the Variant detail page. */\n 'detail.back': 'Back to variants',\n /** Loading message on the Variant detail page. */\n 'detail.loading': 'Loading variant',\n /** Fallback text when a variant has no description. */\n 'detail.no-description': 'No description yet.',\n /** Description for the missing Variant detail page. */\n 'detail.not-found.description': 'The requested variant could not be found.',\n /** Title for the missing Variant detail page. */\n 'detail.not-found.title': 'Variant not found',\n /** Placeholder text on the Variant detail page. */\n 'detail.placeholder': 'Variant detail editing will be added in a future iteration.',\n /** Title for the create variant dialog. */\n 'dialog.create.title': 'Create variant',\n /** Confirm action for the create variant dialog. */\n 'dialog.create.action.confirm': 'Create variant',\n /** Add condition action for the create variant dialog. */\n 'dialog.create.action.add-condition': 'Add condition',\n /** Tooltip when add condition is disabled because the current row is incomplete. */\n 'dialog.create.action.add-condition.disabled-hint':\n 'Complete the current condition key and value before adding another.',\n /** Remove condition action for the create variant dialog. */\n 'dialog.create.remove-condition': 'Remove condition',\n /** Label for the variant title field in the create variant dialog. */\n 'dialog.create.variant-title.label': 'Title',\n /** Placeholder for the variant title field in the create variant dialog. */\n 'dialog.create.variant-title.placeholder': 'e.g. Loyal customers',\n /** Validation message when the variant title is missing. */\n 'dialog.create.variant-title.required': 'Title is required',\n /** Label for the description field in the create variant dialog. */\n 'dialog.create.description.label': 'Description',\n /** Placeholder for the description field in the create variant dialog. */\n 'dialog.create.description.placeholder': 'Describe who this variant targets',\n /** Title for the conditions section in the create variant dialog. */\n 'dialog.create.conditions.title': 'Conditions',\n /** Description for the conditions section in the create variant dialog. */\n 'dialog.create.conditions.description':\n 'Add key/value pairs that define when this variant applies.',\n /** Label for the condition key field in the create variant dialog. */\n 'dialog.create.condition-key.label': 'Key',\n /** Validation message when a condition key is repeated. */\n 'dialog.create.condition-key.duplicate': 'Condition keys must be unique',\n /** Placeholder for the condition key field in the create variant dialog. */\n 'dialog.create.condition-key.placeholder': 'e.g. audience',\n /** Label for the condition value field in the create variant dialog. */\n 'dialog.create.condition-value.label': 'Value',\n /** Placeholder for the condition value field in the create variant dialog. */\n 'dialog.create.condition-value.placeholder': 'e.g. loyal-customers',\n /** Error toast title when variant creation fails. */\n 'dialog.create.error.title': 'Unable to create variant',\n}\n\n/**\n * @alpha\n */\nexport type VariantsLocaleResourceKeys = keyof typeof variantsLocaleStrings\n\nexport default variantsLocaleStrings\n"],"names":["variantsLocaleStrings"],"mappings":"AAKA,MAAMA,wBAAwB;AAAA;AAAA,EAE5B,kBAAkB;AAAA;AAAA,EAElB,kBAAkB;AAAA;AAAA,EAElB,kBAAkB;AAAA;AAAA,EAElB,0BAA0B;AAAA;AAAA,EAE1B,qCAAqC;AAAA;AAAA,EAErC,wBAAwB;AAAA;AAAA,EAExB,gBAAgB;AAAA;AAAA,EAEhB,wBAAwB;AAAA;AAAA,EAExB,kCAAkC;AAAA;AAAA,EAElC,kCAAkC;AAAA;AAAA,EAElC,8CAA8C;AAAA;AAAA,EAE9C,iCAAiC;AAAA;AAAA,EAEjC,oCACE;AAAA;AAAA,EAEF,wBACE;AAAA;AAAA,EAEF,kBAAkB;AAAA;AAAA,EAElB,+BAA+B;AAAA;AAAA,EAE/B,0BAA0B;AAAA;AAAA,EAE1B,4BAA4B;AAAA;AAAA,EAE5B,gCAAgC;AAAA;AAAA,EAEhC,kBAAkB;AAAA;AAAA,EAElB,eAAe;AAAA;AAAA,EAEf,kBAAkB;AAAA;AAAA,EAElB,yBAAyB;AAAA;AAAA,EAEzB,gCAAgC;AAAA;AAAA,EAEhC,0BAA0B;AAAA;AAAA,EAE1B,sBAAsB;AAAA;AAAA,EAEtB,uBAAuB;AAAA;AAAA,EAEvB,gCAAgC;AAAA;AAAA,EAEhC,sCAAsC;AAAA;AAAA,EAEtC,oDACE;AAAA;AAAA,EAEF,kCAAkC;AAAA;AAAA,EAElC,qCAAqC;AAAA;AAAA,EAErC,2CAA2C;AAAA;AAAA,EAE3C,wCAAwC;AAAA;AAAA,EAExC,mCAAmC;AAAA;AAAA,EAEnC,yCAAyC;AAAA;AAAA,EAEzC,kCAAkC;AAAA;AAAA,EAElC,wCACE;AAAA;AAAA,EAEF,qCAAqC;AAAA;AAAA,EAErC,yCAAyC;AAAA;AAAA,EAEzC,2CAA2C;AAAA;AAAA,EAE3C,uCAAuC;AAAA;AAAA,EAEvC,6CAA6C;AAAA;AAAA,EAE7C,6BAA6B;AAC/B;"}
1
+ {"version":3,"file":"resources7.js","sources":["../../src/core/variants/i18n/resources.ts"],"sourcesContent":["/**\n * Defined locale strings for variants, in US English.\n *\n * @internal\n */\nconst variantsLocaleStrings = {\n /** Label for the variants navigation row. */\n 'navbar.view-as': 'View as',\n /** Label for the version selector in the variants navigation row. */\n 'navbar.version': 'Version',\n /** Label for the variant selector in the variants navigation row. */\n 'navbar.variant': 'Variant',\n /** Default option label when no variant is selected. */\n 'navbar.variant.default': 'All users (Default)',\n /** Placeholder for the variant filter input in the dropdown. */\n 'navbar.variant.filter-placeholder': 'Filter variants…',\n /** Section header for non-default variants in the dropdown. */\n 'navbar.variant.other': 'Other variants',\n /** Label for clearing version and variant selections. */\n 'navbar.clear': 'Clear',\n /** Tooltip for clearing the selected variant. */\n 'navbar.variant.clear': 'Clear variant selection',\n /** Label for the Variants overview create action. */\n 'overview.action.create-variant': 'Create variant',\n /** Label for the Variants overview delete action. */\n 'overview.action.delete-variant': 'Delete variant',\n /** Error toast title when variant deletion fails. */\n 'overview.action.delete-variant.error.title': 'Unable to delete variant',\n /** Link label for Variants overview documentation (empty state). */\n 'overview.action.documentation': 'Documentation',\n /** Description for the Variants overview empty state. */\n 'overview.empty-state.description':\n 'Variant definitions describe how content is personalized for audiences, locales, segments, and more.',\n /** Description for the Variants overview. */\n 'overview.description':\n 'Manage variant definitions that control how content is personalized for different audiences, locales, and segments.',\n /** Error message for the Variants overview. */\n 'overview.error': 'Unable to load variants',\n /** Placeholder for the Variants overview search field. */\n 'overview.search.placeholder': 'Search variant definitions…',\n /** Column header for the variant title column in the overview table. */\n 'overview.table.variant': 'Variant',\n /** Column header for document count in the overview table. */\n 'overview.table.documents': 'Documents',\n /** Fallback text when a variant has no conditions. */\n 'overview.table.no-conditions': 'No conditions',\n /** Title for the Variants overview. */\n 'overview.title': 'Variants',\n /** Edit action on the Variant detail page. */\n 'detail.action.edit-variant': 'Edit variant',\n /** Back action on the Variant detail page. */\n 'detail.back': 'Back to variants',\n /** Created status label in the Variant detail footer. */\n 'detail.footer.created': 'Created',\n /** Loading message on the Variant detail page. */\n 'detail.loading': 'Loading variant',\n /** Fallback text when a variant has no description. */\n 'detail.no-description': 'No description yet.',\n /** Empty state for variant document table. */\n 'detail.documents.no-documents': 'No documents in this variant',\n /** Edited column header for variant document table. */\n 'detail.documents.table.edited': 'Edited',\n /** Search placeholder for variant document table. */\n 'detail.documents.table.search-placeholder': 'Search documents',\n /** Type column header for variant document table. */\n 'detail.documents.table.type': 'Type',\n /** Version column header for variant document table. */\n 'detail.documents.table.version': 'Version',\n /** Description for the missing Variant detail page. */\n 'detail.not-found.description': 'The requested variant could not be found.',\n /** Title for the missing Variant detail page. */\n 'detail.not-found.title': 'Variant not found',\n /** Title for the create variant dialog. */\n 'dialog.create.title': 'Create variant',\n /** Confirm action for the create variant dialog. */\n 'dialog.create.action.confirm': 'Create variant',\n /** Add condition action for the create variant dialog. */\n 'dialog.create.action.add-condition': 'Add condition',\n /** Tooltip when add condition is disabled because the current row is incomplete. */\n 'dialog.create.action.add-condition.disabled-hint':\n 'Complete the current condition key and value before adding another.',\n /** Remove condition action for the create variant dialog. */\n 'dialog.create.remove-condition': 'Remove condition',\n /** Label for the variant title field in the create variant dialog. */\n 'dialog.create.variant-title.label': 'Title',\n /** Placeholder for the variant title field in the create variant dialog. */\n 'dialog.create.variant-title.placeholder': 'e.g. Loyal customers',\n /** Validation message when the variant title is missing. */\n 'dialog.create.variant-title.required': 'Title is required',\n /** Label for the description field in the create variant dialog. */\n 'dialog.create.description.label': 'Description',\n /** Placeholder for the description field in the create variant dialog. */\n 'dialog.create.description.placeholder': 'Describe who this variant targets',\n /** Title for the conditions section in the create variant dialog. */\n 'dialog.create.conditions.title': 'Conditions',\n /** Description for the conditions section in the create variant dialog. */\n 'dialog.create.conditions.description':\n 'Add key/value pairs that define when this variant applies.',\n /** Label for the condition key field in the create variant dialog. */\n 'dialog.create.condition-key.label': 'Key',\n /** Validation message when a condition key is repeated. */\n 'dialog.create.condition-key.duplicate': 'Condition keys must be unique',\n /** Validation message when a condition key uses a reserved prefix. */\n 'dialog.create.condition-key.reserved': 'Condition keys cannot start with _ or $',\n /** Validation message when a condition key has an invalid format. */\n 'dialog.create.condition-key.invalid':\n 'Condition keys must be lowercase, start with a letter, and use letters, numbers, underscores, or hyphens',\n /** Validation message when a condition key is missing. */\n 'dialog.create.condition-key.required': 'Condition key is required',\n /** Validation message when a condition value is missing. */\n 'dialog.create.condition-value.required': 'Condition value is required',\n /** Validation message when a condition value has an invalid format. */\n 'dialog.create.condition-value.invalid': 'Condition values cannot contain colons',\n /** Placeholder for the condition key field in the create variant dialog. */\n 'dialog.create.condition-key.placeholder': 'e.g. audience',\n /** Label for the condition value field in the create variant dialog. */\n 'dialog.create.condition-value.label': 'Value',\n /** Placeholder for the condition value field in the create variant dialog. */\n 'dialog.create.condition-value.placeholder': 'e.g. loyal-customers',\n /** Error toast title when variant creation fails. */\n 'dialog.create.error.title': 'Unable to create variant',\n /** Title for the edit variant dialog. */\n 'dialog.edit.title': 'Edit variant',\n /** Confirm action for the edit variant dialog. */\n 'dialog.edit.action.confirm': 'Save',\n /** Cancel action for the edit variant dialog. */\n 'dialog.edit.action.cancel': 'Cancel',\n /** Error toast title when variant editing fails. */\n 'dialog.edit.error.title': 'Unable to update variant',\n}\n\n/**\n * @alpha\n */\nexport type VariantsLocaleResourceKeys = keyof typeof variantsLocaleStrings\n\nexport default variantsLocaleStrings\n"],"names":["variantsLocaleStrings"],"mappings":"AAKA,MAAMA,wBAAwB;AAAA;AAAA,EAE5B,kBAAkB;AAAA;AAAA,EAElB,kBAAkB;AAAA;AAAA,EAElB,kBAAkB;AAAA;AAAA,EAElB,0BAA0B;AAAA;AAAA,EAE1B,qCAAqC;AAAA;AAAA,EAErC,wBAAwB;AAAA;AAAA,EAExB,gBAAgB;AAAA;AAAA,EAEhB,wBAAwB;AAAA;AAAA,EAExB,kCAAkC;AAAA;AAAA,EAElC,kCAAkC;AAAA;AAAA,EAElC,8CAA8C;AAAA;AAAA,EAE9C,iCAAiC;AAAA;AAAA,EAEjC,oCACE;AAAA;AAAA,EAEF,wBACE;AAAA;AAAA,EAEF,kBAAkB;AAAA;AAAA,EAElB,+BAA+B;AAAA;AAAA,EAE/B,0BAA0B;AAAA;AAAA,EAE1B,4BAA4B;AAAA;AAAA,EAE5B,gCAAgC;AAAA;AAAA,EAEhC,kBAAkB;AAAA;AAAA,EAElB,8BAA8B;AAAA;AAAA,EAE9B,eAAe;AAAA;AAAA,EAEf,yBAAyB;AAAA;AAAA,EAEzB,kBAAkB;AAAA;AAAA,EAElB,yBAAyB;AAAA;AAAA,EAEzB,iCAAiC;AAAA;AAAA,EAEjC,iCAAiC;AAAA;AAAA,EAEjC,6CAA6C;AAAA;AAAA,EAE7C,+BAA+B;AAAA;AAAA,EAE/B,kCAAkC;AAAA;AAAA,EAElC,gCAAgC;AAAA;AAAA,EAEhC,0BAA0B;AAAA;AAAA,EAE1B,uBAAuB;AAAA;AAAA,EAEvB,gCAAgC;AAAA;AAAA,EAEhC,sCAAsC;AAAA;AAAA,EAEtC,oDACE;AAAA;AAAA,EAEF,kCAAkC;AAAA;AAAA,EAElC,qCAAqC;AAAA;AAAA,EAErC,2CAA2C;AAAA;AAAA,EAE3C,wCAAwC;AAAA;AAAA,EAExC,mCAAmC;AAAA;AAAA,EAEnC,yCAAyC;AAAA;AAAA,EAEzC,kCAAkC;AAAA;AAAA,EAElC,wCACE;AAAA;AAAA,EAEF,qCAAqC;AAAA;AAAA,EAErC,yCAAyC;AAAA;AAAA,EAEzC,wCAAwC;AAAA;AAAA,EAExC,uCACE;AAAA;AAAA,EAEF,wCAAwC;AAAA;AAAA,EAExC,0CAA0C;AAAA;AAAA,EAE1C,yCAAyC;AAAA;AAAA,EAEzC,2CAA2C;AAAA;AAAA,EAE3C,uCAAuC;AAAA;AAAA,EAEvC,6CAA6C;AAAA;AAAA,EAE7C,6BAA6B;AAAA;AAAA,EAE7B,qBAAqB;AAAA;AAAA,EAErB,8BAA8B;AAAA;AAAA,EAE9B,6BAA6B;AAAA;AAAA,EAE7B,2BAA2B;AAC7B;"}
@@ -1,4 +1,4 @@
1
- var version = "5.28.1-next.6+daf6c35123";
1
+ var version = "5.29.0-next.8+472c314f72";
2
2
  let buildVersion;
3
3
  try {
4
4
  buildVersion = process.env.PKG_BUILD_VERSION;
@@ -7,7 +7,7 @@ try {
7
7
  try {
8
8
  buildVersion = buildVersion || // This is replaced by `@sanity/pkg-utils` at build time
9
9
  // and must always be references by its full static name, e.g. no optional chaining, no `if (process && process.env)` etc.
10
- "5.28.1-next.6+daf6c35123";
10
+ "5.29.0-next.8+472c314f72";
11
11
  } catch {
12
12
  }
13
13
  const SANITY_VERSION = buildVersion || `${version}-dev`;