Socket
Socket
Sign inDemoInstall

@depict-ai/js-ui

Package Overview
Dependencies
Maintainers
5
Versions
207
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@depict-ai/js-ui - npm Package Compare versions

Comparing version 0.0.16 to 0.0.17

5

dist/index.d.ts
import { BaseProviderConfig, BaseSearchProviderConfig, search_i18n, category_i18n, BaseProductListingConfig, BaseSearchPageConfig, BaseCategoryPageConfig, ImagePlaceholderProps, TextPlaceholderProps } from "@depict-ai/ui";
import { Display } from "@depict-ai/utilishared";
export const version = "0.0.16";
export const version = "0.0.17";
interface SearchProviderConfig extends BaseProviderConfig, BaseSearchProviderConfig {

@@ -78,4 +78,5 @@ locale?: search_i18n;

* @param renderMode If set to `"append"`, the new element will be appended to the element that is found by `selectorToReplace` instead of replacing it. This is useful in certain edge cases.
* @returns A function that can be called to destroy the page replacer. This will reset the content to the original content if the replacer is currently open.
*/
export function SetupPageReplacer({ isPageToReplace, selectorToReplace, renderContent, renderMode, documentTitle, }: PageReplacerConfig): void;
export function SetupPageReplacer({ isPageToReplace, selectorToReplace, renderContent, renderMode, documentTitle, }: PageReplacerConfig): () => void;
export function RecommendationSlider<T extends Display>({ recommendations, productCard, columnsAtSize, gridSpacing, }: RecommendationRenderingConfig<T>): Promise<HTMLElement>;

@@ -82,0 +83,0 @@ interface RecommendationGridConfig<T extends Display> extends RecommendationRenderingConfig<T> {

8

dist/main.js

@@ -23,3 +23,3 @@ var $kJ2V0$depictaiutilishared = require("@depict-ai/utilishared");

$parcel$export(module.exports, "version", () => $98b48f9e57507434$export$83d89fbfd8236492);
const $98b48f9e57507434$export$83d89fbfd8236492 = "0.0.16";
const $98b48f9e57507434$export$83d89fbfd8236492 = "0.0.17";

@@ -234,3 +234,3 @@

let { isPageToReplace: isPageToReplace , selectorToReplace: selectorToReplace , renderContent: renderContent , renderMode: renderMode = "replace" , documentTitle: documentTitle } = _ref;
new (0, $kJ2V0$depictaiui.PageReplacer)({
let replacer = new (0, $kJ2V0$depictaiui.PageReplacer)({
is_page_: isPageToReplace,

@@ -248,2 +248,6 @@ selector_: selectorToReplace,

});
return ()=>{
replacer?.destroy_();
replacer = null;
};
}

@@ -250,0 +254,0 @@

@@ -6,3 +6,3 @@ import {add_to_version_info as $gXbnb$add_to_version_info, catchify as $gXbnb$catchify, href_change_ipns as $gXbnb$href_change_ipns, Tenant as $gXbnb$Tenant, RecommendationSlider as $gXbnb$RecommendationSlider, make_placeholder_rr as $gXbnb$make_placeholder_rr, GenericSliderArrowButton as $gXbnb$GenericSliderArrowButton, RecommendationGrid as $gXbnb$RecommendationGrid, Placeholder as $gXbnb$Placeholder, ContainedPlaceholderImage as $gXbnb$ContainedPlaceholderImage, observer as $gXbnb$observer} from "@depict-ai/utilishared";

const $384f36a64c74679e$export$83d89fbfd8236492 = "0.0.16";
const $384f36a64c74679e$export$83d89fbfd8236492 = "0.0.17";

@@ -217,3 +217,3 @@

let { isPageToReplace: isPageToReplace , selectorToReplace: selectorToReplace , renderContent: renderContent , renderMode: renderMode = "replace" , documentTitle: documentTitle } = _ref;
new (0, $gXbnb$PageReplacer)({
let replacer = new (0, $gXbnb$PageReplacer)({
is_page_: isPageToReplace,

@@ -231,2 +231,6 @@ selector_: selectorToReplace,

});
return ()=>{
replacer?.destroy_();
replacer = null;
};
}

@@ -233,0 +237,0 @@

{
"name": "@depict-ai/js-ui",
"version": "0.0.16",
"version": "0.0.17",
"packageManager": "yarn@3.2.2",

@@ -60,5 +60,5 @@ "source": "src/index.ts",

"dependencies": {
"@depict-ai/plp-styling": "^0.0.28",
"@depict-ai/ui": "^0.0.67",
"@depict-ai/utilishared": "^0.0.64",
"@depict-ai/plp-styling": "^0.0.29",
"@depict-ai/ui": "^0.0.68",
"@depict-ai/utilishared": "^0.0.65",
"solid-js": "^1.6.2"

@@ -65,0 +65,0 @@ },

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc