@frontify/guideline-blocks-settings 0.10.1 → 0.12.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.
@@ -5,7 +5,7 @@ export declare enum AssetInputSource {
5
5
  Upload = "Upload"
6
6
  }
7
7
  export declare enum AssetInputMode {
8
- Both = "Both",
8
+ BrowseAndUpload = "BrowseAndUpload",
9
9
  UploadOnly = "UploadOnly",
10
10
  BrowseOnly = "BrowseOnly"
11
11
  }
@@ -9,7 +9,7 @@ var AssetInputSource;
9
9
  })(AssetInputSource = exports.AssetInputSource || (exports.AssetInputSource = {}));
10
10
  var AssetInputMode;
11
11
  (function (AssetInputMode) {
12
- AssetInputMode["Both"] = "Both";
12
+ AssetInputMode["BrowseAndUpload"] = "BrowseAndUpload";
13
13
  AssetInputMode["UploadOnly"] = "UploadOnly";
14
14
  AssetInputMode["BrowseOnly"] = "BrowseOnly";
15
15
  })(AssetInputMode = exports.AssetInputMode || (exports.AssetInputMode = {}));
@@ -1 +1 @@
1
- {"version":3,"file":"assetInput.js","sourceRoot":"","sources":["../../types/blocks/assetInput.ts"],"names":[],"mappings":";AAAA,uDAAuD;;;AAKvD,IAAY,gBAGX;AAHD,WAAY,gBAAgB;IACxB,uCAAmB,CAAA;IACnB,qCAAiB,CAAA;AACrB,CAAC,EAHW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAG3B;AAED,IAAY,cAIX;AAJD,WAAY,cAAc;IACtB,+BAAa,CAAA;IACb,2CAAyB,CAAA;IACzB,2CAAyB,CAAA;AAC7B,CAAC,EAJW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAIzB"}
1
+ {"version":3,"file":"assetInput.js","sourceRoot":"","sources":["../../types/blocks/assetInput.ts"],"names":[],"mappings":";AAAA,uDAAuD;;;AAKvD,IAAY,gBAGX;AAHD,WAAY,gBAAgB;IACxB,uCAAmB,CAAA;IACnB,qCAAiB,CAAA;AACrB,CAAC,EAHW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAG3B;AAED,IAAY,cAIX;AAJD,WAAY,cAAc;IACtB,qDAAmC,CAAA;IACnC,2CAAyB,CAAA;IACzB,2CAAyB,CAAA;AAC7B,CAAC,EAJW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAIzB"}
@@ -5,6 +5,7 @@ export declare type BaseBlock<T = undefined> = {
5
5
  info?: string;
6
6
  value?: T;
7
7
  defaultValue?: T;
8
+ showInMainLanguageOnly?: boolean;
8
9
  show?: (bundle: Bundle) => boolean;
9
10
  onChange?: (bundle: Bundle) => void;
10
11
  };
@@ -5,7 +5,7 @@ export declare enum LegacyAssetInputSource {
5
5
  Upload = "Upload"
6
6
  }
7
7
  export declare enum LegacyAssetInputMode {
8
- Both = "Both",
8
+ BrowseAndUpload = "BrowseAndUpload",
9
9
  UploadOnly = "UploadOnly",
10
10
  BrowseOnly = "BrowseOnly"
11
11
  }
@@ -9,7 +9,7 @@ var LegacyAssetInputSource;
9
9
  })(LegacyAssetInputSource = exports.LegacyAssetInputSource || (exports.LegacyAssetInputSource = {}));
10
10
  var LegacyAssetInputMode;
11
11
  (function (LegacyAssetInputMode) {
12
- LegacyAssetInputMode["Both"] = "Both";
12
+ LegacyAssetInputMode["BrowseAndUpload"] = "BrowseAndUpload";
13
13
  LegacyAssetInputMode["UploadOnly"] = "UploadOnly";
14
14
  LegacyAssetInputMode["BrowseOnly"] = "BrowseOnly";
15
15
  })(LegacyAssetInputMode = exports.LegacyAssetInputMode || (exports.LegacyAssetInputMode = {}));
@@ -1 +1 @@
1
- {"version":3,"file":"legacyAssetInput.js","sourceRoot":"","sources":["../../types/blocks/legacyAssetInput.ts"],"names":[],"mappings":";AAAA,uDAAuD;;;AAKvD,IAAY,sBAGX;AAHD,WAAY,sBAAsB;IAC9B,6CAAmB,CAAA;IACnB,2CAAiB,CAAA;AACrB,CAAC,EAHW,sBAAsB,GAAtB,8BAAsB,KAAtB,8BAAsB,QAGjC;AAED,IAAY,oBAIX;AAJD,WAAY,oBAAoB;IAC5B,qCAAa,CAAA;IACb,iDAAyB,CAAA;IACzB,iDAAyB,CAAA;AAC7B,CAAC,EAJW,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAI/B"}
1
+ {"version":3,"file":"legacyAssetInput.js","sourceRoot":"","sources":["../../types/blocks/legacyAssetInput.ts"],"names":[],"mappings":";AAAA,uDAAuD;;;AAKvD,IAAY,sBAGX;AAHD,WAAY,sBAAsB;IAC9B,6CAAmB,CAAA;IACnB,2CAAiB,CAAA;AACrB,CAAC,EAHW,sBAAsB,GAAtB,8BAAsB,KAAtB,8BAAsB,QAGjC;AAED,IAAY,oBAIX;AAJD,WAAY,oBAAoB;IAC5B,2DAAmC,CAAA;IACnC,iDAAyB,CAAA;IACzB,iDAAyB,CAAA;AAC7B,CAAC,EAJW,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAI/B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@frontify/guideline-blocks-settings",
3
- "version": "0.10.1",
3
+ "version": "0.12.0",
4
4
  "description": "Provides the types for the block settings",
5
5
  "sideEffects": false,
6
6
  "module": "dist/index.js",