diff --git a/js-wixcode-sdk/$w/Dataset.service.json b/js-wixcode-sdk/$w/Dataset.service.json index c63cc31b9d..4b153e3692 100644 --- a/js-wixcode-sdk/$w/Dataset.service.json +++ b/js-wixcode-sdk/$w/Dataset.service.json @@ -1,8 +1,7 @@ { "name": "Dataset", "memberOf": "$w", "mixes": [], - "labels": - [ "new" ], + "labels": [], "location": { "lineno": 1, "filename": "datasetApi.js" }, diff --git a/js-wixcode-sdk/$w/DynamicDataset.service.json b/js-wixcode-sdk/$w/DynamicDataset.service.json index 087fef0947..e9e7b08f4d 100644 --- a/js-wixcode-sdk/$w/DynamicDataset.service.json +++ b/js-wixcode-sdk/$w/DynamicDataset.service.json @@ -2,8 +2,7 @@ "memberOf": "$w", "mixes": [ "$w.Dataset" ], - "labels": - [ "new" ], + "labels": [], "location": { "lineno": 1987, "filename": "datasetApi.js" }, diff --git a/js-wixcode-sdk/$w/WixDataFilter.service.json b/js-wixcode-sdk/$w/WixDataFilter.service.json index c95e944c11..7dce7a5ae5 100644 --- a/js-wixcode-sdk/$w/WixDataFilter.service.json +++ b/js-wixcode-sdk/$w/WixDataFilter.service.json @@ -1,8 +1,7 @@ { "name": "WixDataFilter", "memberOf": "$w", "mixes": [], - "labels": - [ "new" ], + "labels": [], "location": { "lineno": 1417, "filename": "datasetApi.js" }, diff --git a/js-wixcode-sdk/$w/WixDataSort.service.json b/js-wixcode-sdk/$w/WixDataSort.service.json index bd3aac9419..d24e6c7cfe 100644 --- a/js-wixcode-sdk/$w/WixDataSort.service.json +++ b/js-wixcode-sdk/$w/WixDataSort.service.json @@ -1,8 +1,7 @@ { "name": "WixDataSort", "memberOf": "$w", "mixes": [], - "labels": - [ "new" ], + "labels": [], "location": { "lineno": 1920, "filename": "datasetApi.js" }, diff --git a/js-wixcode-sdk/wix-site-frontend.service.json b/js-wixcode-sdk/wix-site-frontend.service.json index 5b1164c9c5..e3a221d440 100644 --- a/js-wixcode-sdk/wix-site-frontend.service.json +++ b/js-wixcode-sdk/wix-site-frontend.service.json @@ -1,6 +1,7 @@ { "name": "wix-site-frontend", "mixes": [], - "labels": [], + "labels": + [ "changed" ], "location": { "lineno": 1, "filename": "site-frontend.js" }, @@ -255,7 +256,43 @@ "extra": { } } ], "operations": - [ { "name": "getSiteDisplayName", + [ { "name": "getFontsHtml", + "labels": + [ "changed" ], + "nameParams": [], + "params": + [ { "name": "fonts", + "type": + { "name": "Array", + "typeParams": + [ "string" ] }, + "doc": "List of fonts to be loaded, where each font is represented by a value of a `font` CSS property." }, + { "name": "options", + "type": "wix-site-frontend.getFontsHtmlOptions", + "doc": "The options used when getting the HTML element.", + "optional": true } ], + "ret": + { "type": + { "name": "Promise", + "typeParams": + [ "string" ] }, + "doc": "Fulfilled - HTML element containing the CSS code that loads the fonts." }, + "locations": + [ { "lineno": 323, + "filename": "site-frontend.js" } ], + "docs": + { "summary": "Gets an HTML element containing CSS code to load fonts.", + "description": + [ "Use the `getFontsHtml()` function to get an HTML element containing the CSS code that loads one or more fonts. ", + "This function is useful when embedding a custom element in a Wix site where the page's stylesheet fonts", + "are inaccessible, such as when using a shadow root or an internal iframe." ], + "links": [], + "examples": [], + "extra": + { } }, + "extra": + { } }, + { "name": "getSiteDisplayName", "labels": [], "nameParams": [], "params": [], @@ -449,6 +486,31 @@ { } }, "extra": { } }, + { "name": "getSiteThemeHtml", + "labels": [], + "nameParams": [], + "params": + [ { "name": "options", + "type": "wix-site-frontend.getSiteThemeHtmlOptions", + "doc": "The options used when getting the HTML element.", + "optional": true } ], + "ret": + { "type": + { "name": "Promise", + "typeParams": + [ "string" ] }, + "doc": "Fulfilled - HTML element containing site's theme CSS." }, + "locations": + [ { "lineno": 303, + "filename": "site-frontend.js" } ], + "docs": + { "summary": "Gets the CSS code of the site's theme.\nUse the `getSiteThemeHtml()` function to get an HTML element containing the CSS code of a site's \n[theme colors and fonts](https://support.wix.com/en/article/wix-editor-customizing-your-sites-theme-and-design). \nThis function is useful when embedding a custom element in a Wix site where the page's stylesheet \nis inaccessible, such as when using a shadow root or an internal iframe.", + "links": [], + "examples": [], + "extra": + { } }, + "extra": + { } }, { "name": "prefetchPageResources", "labels": [], "nameParams": [], @@ -1227,7 +1289,41 @@ "optional": true } ], "extra": { }, + "labels": [] }, + { "name": "getFontsHtmlOptions", + "locations": + [ { "lineno": 337, + "filename": "site-frontend.js" } ], + "docs": + { "summary": "The options used when getting the HTML element.", + "links": [], + "examples": [], + "extra": + { } }, + "members": + [ { "name": "testId", + "type": "string", + "doc": "An identifier that is added in a `data-test-id` attribute on the returned HTML element. You can use this identifier to locate the HTML element when testing your code." } ], + "extra": + { }, + "labels": [] }, + { "name": "getSiteThemeHtmlOptions", + "locations": + [ { "lineno": 316, + "filename": "site-frontend.js" } ], + "docs": + { "summary": "The options used when getting HTML element.", + "links": [], + "examples": [], + "extra": + { } }, + "members": + [ { "name": "testId", + "type": "string", + "doc": "An identifier that is added in a `data-test-id` attribute on the returned HTML element. You can use this identifier to locate the HTML element when testing your code." } ], + "extra": + { }, "labels": [] } ], "extra": { "scopes": - [ "frontend" ] } } + [ "frontend" ] } } \ No newline at end of file diff --git a/js-wixcode-sdk/wix-site.service.json b/js-wixcode-sdk/wix-site.service.json index 9c6db706d5..cd5c9519d0 100644 --- a/js-wixcode-sdk/wix-site.service.json +++ b/js-wixcode-sdk/wix-site.service.json @@ -1244,4 +1244,4 @@ { "title": "How do I make a CORS request?", "markdown": "Certain [CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) (Cross-Origin Resource Sharing) requests are restricted when originating from a browser. Usually, GET requests and certain POST requests can be made from your site's **Public**, **Page**, or **Site** code. All other requests need to be made from your site's **Backend** code. If you are experiencing an issue with a [`fetch()`](https://www.wix.com/code/reference/wix-fetch.html) call due to a CORS restriction, move the [`fetch()`](https://www.wix.com/code/reference/wix-fetch.html) call to the backend as described in [Accessing 3rd Party Services](https://support.wix.com/en/article/accessing-3rd-party-services#backend-service-call)." }, { "title": "Can I fetch resources that start with http and not https?", - "markdown": "You cannot request HTTP content if your site is an HTTPS site. To fix this issue you can either use the HTTPS protocol to fetch the requested resources or you can [turn off SSL on your site](https://support.wix.com/en/article/enabling-https-for-your-wix-site)." } ] } + "markdown": "You cannot request HTTP content if your site is an HTTPS site. To fix this issue you can either use the HTTPS protocol to fetch the requested resources or you can [turn off SSL on your site](https://support.wix.com/en/article/enabling-https-for-your-wix-site)." } ] } \ No newline at end of file diff --git a/js-wixcode-sdk/wix-storage-frontend.service.json b/js-wixcode-sdk/wix-storage-frontend.service.json index 5151f34aa4..c4c1e48796 100644 --- a/js-wixcode-sdk/wix-storage-frontend.service.json +++ b/js-wixcode-sdk/wix-storage-frontend.service.json @@ -1,7 +1,6 @@ { "name": "wix-storage-frontend", "mixes": [], - "labels": - [ "changed" ], + "labels": [], "location": { "lineno": 1, "filename": "Storage-frontend.js" }, diff --git a/js-wixcode-sdk/wix-storage-frontend/Storage.service.json b/js-wixcode-sdk/wix-storage-frontend/Storage.service.json index 0559befe2d..83a73729d4 100644 --- a/js-wixcode-sdk/wix-storage-frontend/Storage.service.json +++ b/js-wixcode-sdk/wix-storage-frontend/Storage.service.json @@ -1,8 +1,7 @@ { "name": "Storage", "memberOf": "wix-storage-frontend", "mixes": [], - "labels": - [ "changed" ], + "labels": [], "location": { "lineno": 88, "filename": "Storage-frontend.js" }, diff --git a/js-wixcode-sdk/wix-window-frontend.service.json b/js-wixcode-sdk/wix-window-frontend.service.json index a75350941f..1c28c1e28e 100644 --- a/js-wixcode-sdk/wix-window-frontend.service.json +++ b/js-wixcode-sdk/wix-window-frontend.service.json @@ -1,7 +1,6 @@ { "name": "wix-window-frontend", "mixes": [], - "labels": - [ "changed" ], + "labels": [], "location": { "lineno": 1, "filename": "window-frontend.js" }, @@ -171,8 +170,7 @@ "extra": { } }, { "name": "multilingual", - "labels": - [ "changed" ], + "labels": [], "get": true, "set": false, "type": "wix-window-frontend.Multilingual", diff --git a/js-wixcode-sdk/wix-window-frontend/Multilingual.service.json b/js-wixcode-sdk/wix-window-frontend/Multilingual.service.json index 8256ed1015..8f7c80c9f2 100644 --- a/js-wixcode-sdk/wix-window-frontend/Multilingual.service.json +++ b/js-wixcode-sdk/wix-window-frontend/Multilingual.service.json @@ -1,8 +1,7 @@ { "name": "Multilingual", "memberOf": "wix-window-frontend", "mixes": [], - "labels": - [ "changed" ], + "labels": [], "location": { "lineno": 1100, "filename": "window-frontend.js" }, @@ -26,8 +25,7 @@ { } }, "properties": [ { "name": "currentLanguage", - "labels": - [ "changed" ], + "labels": [], "get": true, "set": true, "type": "string", @@ -132,8 +130,7 @@ "extra": { } }, { "name": "isEnabled", - "labels": - [ "changed" ], + "labels": [], "get": true, "set": false, "type": "boolean", @@ -158,8 +155,7 @@ "extra": { } }, { "name": "siteLanguages", - "labels": - [ "changed" ], + "labels": [], "get": true, "set": false, "type": @@ -329,7 +325,6 @@ "doc": "Whether the language is a site's primary language." } ], "extra": { }, - "labels": - [ "changed" ] } ], + "labels": [] } ], "extra": { } } \ No newline at end of file