@sanity/document-internationalization 0.1.1 → 0.1.4

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/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## v0.1.4
4
+ * Fixed an issue with filtering `all:part:@sanity/desk-tool/language-select-component`
5
+
6
+ ## v0.1.3
7
+ * The plugin will not show the language dropdown anymore for schemas that do not have `i18n` enabled. This version also brings support for the `@sanity/language-filter` plugin for non `i18n` schemas.
8
+
9
+ ## v0.1.2
10
+ * Fixed import to `ConfirmDeleteDialog`
11
+
3
12
  ## v0.1.1
4
13
  * [#32](https://github.com/sanity-io/document-internationalization/issues/32) Fixes default and custom flag implementations
5
14
 
@@ -55,7 +55,6 @@ var languagesLoaderFn__default = /*#__PURE__*/_interopDefaultLegacy(languagesLoa
55
55
  var _defineProperty__default = /*#__PURE__*/_interopDefaultLegacy(_defineProperty);
56
56
  var ___default = /*#__PURE__*/_interopDefaultLegacy(_);
57
57
  var TrashIcon__default = /*#__PURE__*/_interopDefaultLegacy(TrashIcon);
58
- var ConfirmDeleteDialog__default = /*#__PURE__*/_interopDefaultLegacy(ConfirmDeleteDialog);
59
58
  var ContentCopyIcon__default = /*#__PURE__*/_interopDefaultLegacy(ContentCopyIcon);
60
59
 
61
60
  function createCommonjsModule(fn) {
@@ -2289,7 +2288,7 @@ var DeleteWithi18nAction = function DeleteWithi18nAction(_ref) {
2289
2288
  })), [toast, baseDocumentId, baseDocumentEditState.draft, baseDocumentEditState.published, deleteOp, onComplete, config.fieldNames.references]);
2290
2289
  var dialogContent = React__default["default"].useMemo(function () {
2291
2290
  if (isConfirmDialogOpen) {
2292
- return /*#__PURE__*/React__default["default"].createElement(ConfirmDeleteDialog__default["default"], {
2291
+ return /*#__PURE__*/React__default["default"].createElement(ConfirmDeleteDialog.ConfirmDeleteDialog, {
2293
2292
  action: "delete",
2294
2293
  id: id,
2295
2294
  type: type,