Socket
Socket
Sign inDemoInstall

@depict-ai/js-ui

Package Overview
Dependencies
Maintainers
6
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.11 to 0.0.12

4

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.11";
export const version = "0.0.12";
interface SearchProviderConfig extends BaseProviderConfig, BaseSearchProviderConfig {

@@ -31,3 +31,3 @@ locale?: search_i18n;

*/
type DepictProductCard<T extends Display> = (display: T | null) => HTMLElement | HTMLElement[];
export type DepictProductCard<T extends Display> = (display: T | null) => HTMLElement | HTMLElement[];
interface SearchPageConfig<T extends Display> extends BaseSearchPageConfig, PLPConfig<T> {

@@ -34,0 +34,0 @@ searchProvider: DepictSearchProvider<T>;

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

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

@@ -245,3 +245,3 @@

const $ecd5f9114a690359$var$_tmpl$ = /*@__PURE__*/ (0, /*@__PURE__*/$kJ2V0$solidjsweb.template)(`<div class="depict-recommendations"><div class="slider"></div></div>`, 4);
const $ecd5f9114a690359$var$_tmpl$ = /*@__PURE__*/ (0, /*@__PURE__*/$kJ2V0$solidjsweb.template)(`<div class="depict recommendations"><div class="slider"></div></div>`, 4);
async function $ecd5f9114a690359$export$82cfdc85a4d15688(_ref) {

@@ -279,7 +279,7 @@ let { recommendations: recommendations , productCard: productCard , columnsAtSize: columnsAtSize , gridSpacing: gridSpacing } = _ref;

};
// Todo: Share default height/width with the PLP pages?
const arrow_button = (0, $kJ2V0$depictaiutilishared.GenericSliderArrowButton)({
height_: 12,
width_: 6.46
});
// Todo: Share default height/width with the PLP pages? React-ui?
const arrow_button_opts = {
height_: 25,
width_: 12.5
};
const rendered_slider = await (0, $kJ2V0$depictaiutilishared.RecommendationSlider)(void_tenant, {

@@ -317,6 +317,6 @@ recs: recommendations,

left: [
arrow_button
(0, $kJ2V0$depictaiutilishared.GenericSliderArrowButton)(arrow_button_opts)
],
right: [
arrow_button
(0, $kJ2V0$depictaiutilishared.GenericSliderArrowButton)(arrow_button_opts)
]

@@ -323,0 +323,0 @@ },

@@ -1,2 +0,2 @@

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, GenericSliderArrowButton as $gXbnb$GenericSliderArrowButton, RecommendationSlider as $gXbnb$RecommendationSlider, make_placeholder_rr as $gXbnb$make_placeholder_rr, Placeholder as $gXbnb$Placeholder, ContainedPlaceholderImage as $gXbnb$ContainedPlaceholderImage, observer as $gXbnb$observer} from "@depict-ai/utilishared";
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, Placeholder as $gXbnb$Placeholder, ContainedPlaceholderImage as $gXbnb$ContainedPlaceholderImage, observer as $gXbnb$observer} from "@depict-ai/utilishared";
import {fetchDepictRecommendations as $b9ade2e31ecd6301$re_export$fetchDepictRecommendations, DepictCategory as $gXbnb$DepictCategory, open_modal_with_alignment as $gXbnb$open_modal_with_alignment, DepictSearch as $gXbnb$DepictSearch, SearchPage as $gXbnb$SearchPage, SearchField as $gXbnb$SearchField, CategoryPage as $gXbnb$CategoryPage, CategoryTitle as $gXbnb$CategoryTitle, PageReplacer as $gXbnb$PageReplacer, convert_sdk_cols_at_size_to_layout as $gXbnb$convert_sdk_cols_at_size_to_layout} from "@depict-ai/ui";

@@ -6,3 +6,3 @@ import {en as $gXbnb$en} from "@depict-ai/ui/locales";

const $384f36a64c74679e$export$83d89fbfd8236492 = "0.0.11";
const $384f36a64c74679e$export$83d89fbfd8236492 = "0.0.12";

@@ -229,3 +229,3 @@

const $88e8b83d93cbcc2a$var$_tmpl$ = /*@__PURE__*/ (0, /*@__PURE__*/$gXbnb$template)(`<div class="depict-recommendations"><div class="slider"></div></div>`, 4);
const $88e8b83d93cbcc2a$var$_tmpl$ = /*@__PURE__*/ (0, /*@__PURE__*/$gXbnb$template)(`<div class="depict recommendations"><div class="slider"></div></div>`, 4);
async function $88e8b83d93cbcc2a$export$82cfdc85a4d15688(_ref) {

@@ -263,7 +263,7 @@ let { recommendations: recommendations , productCard: productCard , columnsAtSize: columnsAtSize , gridSpacing: gridSpacing } = _ref;

};
// Todo: Share default height/width with the PLP pages?
const arrow_button = (0, $gXbnb$GenericSliderArrowButton)({
height_: 12,
width_: 6.46
});
// Todo: Share default height/width with the PLP pages? React-ui?
const arrow_button_opts = {
height_: 25,
width_: 12.5
};
const rendered_slider = await (0, $gXbnb$RecommendationSlider)(void_tenant, {

@@ -301,6 +301,6 @@ recs: recommendations,

left: [
arrow_button
(0, $gXbnb$GenericSliderArrowButton)(arrow_button_opts)
],
right: [
arrow_button
(0, $gXbnb$GenericSliderArrowButton)(arrow_button_opts)
]

@@ -307,0 +307,0 @@ },

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

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

"dependencies": {
"@depict-ai/plp-styling": "^0.0.23",
"@depict-ai/ui": "^0.0.62",
"@depict-ai/utilishared": "^0.0.59",
"@depict-ai/plp-styling": "^0.0.24",
"@depict-ai/ui": "^0.0.63",
"@depict-ai/utilishared": "^0.0.60",
"solid-js": "^1.6.2"

@@ -64,0 +64,0 @@ },

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