@depict-ai/react-ui 0.0.72 → 0.0.74
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/dist/index.d.ts +6 -7
- package/dist/main.js +25 -43
- package/dist/module.js +18 -36
- package/dist/styles/components/PLP/SlidableItems.scss +1 -1
- package/dist-server/index.d.ts +1 -1
- package/dist-server/main.js +1 -1
- package/dist-server/module.js +1 -1
- package/locales/index.d.ts +2 -2
- package/locales/index.js +1 -1
- package/locales/require.js +1 -1
- package/package.json +5 -4
package/dist/index.d.ts
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { SDKColsAtSize, SDKGridSpacing } from "@depict-ai/ui
|
|
1
|
+
import { SDKColsAtSize, SDKGridSpacing, CategoryTitle, EmbeddedNumProducts } from "@depict-ai/js-ui";
|
|
2
2
|
import { Display } from "@depict-ai/utilishared";
|
|
3
3
|
import React, { ReactNode, PropsWithChildren, ReactElement } from "react";
|
|
4
|
-
import { Locale } from "@depict-ai/ui/locales";
|
|
5
|
-
|
|
6
|
-
export const version = "0.0.72";
|
|
4
|
+
import { Locale } from "@depict-ai/js-ui/locales";
|
|
5
|
+
export const version = "0.0.74";
|
|
7
6
|
interface PLPConfig<T extends Display> {
|
|
8
7
|
/**
|
|
9
8
|
* The product card to use for rendering products.
|
|
@@ -246,7 +245,7 @@ interface CategoryPageConfig<T extends Display> extends PLPConfig<T> {
|
|
|
246
245
|
* <DepictCategoryPage categoryId="jeans" productCard={MyCustomCategoryProductCard} categoryTitlePlugin={CategoryTitle} />
|
|
247
246
|
* ```
|
|
248
247
|
*/
|
|
249
|
-
categoryTitlePlugin?: typeof CategoryTitle | typeof
|
|
248
|
+
categoryTitlePlugin?: typeof CategoryTitle | typeof EmbeddedNumProducts;
|
|
250
249
|
}
|
|
251
250
|
/**
|
|
252
251
|
* DepictCategoryPage is a component that renders a category page.
|
|
@@ -460,5 +459,5 @@ export const useDepictSearchField: (props?: SearchFieldProps) => UseDepictSearch
|
|
|
460
459
|
export const Navigation: {
|
|
461
460
|
nextRouterNavigation: (router: import("next/router").NextRouter) => (relativeUrl: string) => void;
|
|
462
461
|
};
|
|
463
|
-
export { CategoryTitle,
|
|
464
|
-
export type { Locale } from "@depict-ai/ui/locales";
|
|
462
|
+
export { CategoryTitle, EmbeddedNumProducts } from "@depict-ai/js-ui";
|
|
463
|
+
export type { Locale } from "@depict-ai/js-ui/locales";
|
package/dist/main.js
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
var $4GYXz$depictaiutilishared = require("@depict-ai/utilishared");
|
|
2
|
-
var $4GYXz$
|
|
2
|
+
var $4GYXz$depictaijsui = require("@depict-ai/js-ui");
|
|
3
3
|
var $4GYXz$solidjs = require("solid-js");
|
|
4
4
|
var $4GYXz$react = require("react");
|
|
5
|
-
var $4GYXz$
|
|
5
|
+
var $4GYXz$depictaijsuilocales = require("@depict-ai/js-ui/locales");
|
|
6
6
|
var $4GYXz$solidjsweb = require("solid-js/web");
|
|
7
7
|
var $4GYXz$reactjsxruntime = require("react/jsx-runtime");
|
|
8
8
|
var $4GYXz$reactdom = require("react-dom");
|
|
9
|
+
var $4GYXz$depictaiui = require("@depict-ai/ui");
|
|
9
10
|
|
|
10
11
|
function $parcel$export(e, n, v, s) {
|
|
11
12
|
Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
|
|
@@ -27,7 +28,7 @@ $parcel$export(module.exports, "version", () => $db7b67857900028b$export$83d89fb
|
|
|
27
28
|
$parcel$export(module.exports, "Navigation", () => $b742053c966024b4$export$b8a61e5c71402559);
|
|
28
29
|
/*! Depict.ai search and product listing react SDK wrapper */ // This is where the actual source of your React stuff should live
|
|
29
30
|
// Note, if you add an export here, also add one in src-server/main.ts
|
|
30
|
-
const $db7b67857900028b$export$83d89fbfd8236492 = "0.0.
|
|
31
|
+
const $db7b67857900028b$export$83d89fbfd8236492 = "0.0.74";
|
|
31
32
|
|
|
32
33
|
|
|
33
34
|
|
|
@@ -185,7 +186,7 @@ const $bc389476eeb2b615$export$599d4515591ef232 = (relativeUrl)=>{
|
|
|
185
186
|
|
|
186
187
|
function $24b00503eef73528$export$9fac37a9c21c2f3b(props) {
|
|
187
188
|
const { children: children , navigateFunction: navigateFunction , market: market , merchant: merchant , locale: locale } = props;
|
|
188
|
-
const usedLocale = locale ?? (0, $4GYXz$
|
|
189
|
+
const usedLocale = locale ?? (0, $4GYXz$depictaijsuilocales.en);
|
|
189
190
|
const { searchPagePath: searchPagePath , urlParamName: urlParamName , enableCategorySuggestions: enableCategorySuggestions } = props.search ?? {};
|
|
190
191
|
if (!market || !merchant) {
|
|
191
192
|
(0, $0b7cd4fb39fc3502$export$8e769ad4338a911e).required_state_set_[1](false);
|
|
@@ -199,7 +200,7 @@ function $24b00503eef73528$export$9fac37a9c21c2f3b(props) {
|
|
|
199
200
|
if (navigateFunction) navigateFunction(new_relative_url);
|
|
200
201
|
else (0, $bc389476eeb2b615$export$599d4515591ef232)(new_relative_url);
|
|
201
202
|
} : undefined;
|
|
202
|
-
if (!search) (0, $4GYXz$solidjs.createRoot)(()=>(0, $0b7cd4fb39fc3502$export$8e769ad4338a911e).search = new (0, $4GYXz$
|
|
203
|
+
if (!search) (0, $4GYXz$solidjs.createRoot)(()=>(0, $0b7cd4fb39fc3502$export$8e769ad4338a911e).search = new (0, $4GYXz$depictaijsui.DepictSearch)({
|
|
203
204
|
search_query_url_param_name: urlParamName,
|
|
204
205
|
market: market,
|
|
205
206
|
merchant: merchant,
|
|
@@ -214,7 +215,7 @@ function $24b00503eef73528$export$9fac37a9c21c2f3b(props) {
|
|
|
214
215
|
search.merchant = merchant;
|
|
215
216
|
search.localization = usedLocale;
|
|
216
217
|
}
|
|
217
|
-
if (!category) (0, $4GYXz$solidjs.createRoot)(()=>(0, $0b7cd4fb39fc3502$export$8e769ad4338a911e).category = new (0, $4GYXz$
|
|
218
|
+
if (!category) (0, $4GYXz$solidjs.createRoot)(()=>(0, $0b7cd4fb39fc3502$export$8e769ad4338a911e).category = new (0, $4GYXz$depictaijsui.DepictCategory)({
|
|
218
219
|
market: market,
|
|
219
220
|
merchant: merchant,
|
|
220
221
|
localization: usedLocale,
|
|
@@ -258,6 +259,7 @@ const $d96434e62e08087d$export$3f4580d6398c5027 = /*#__PURE__*/ (0, $4GYXz$react
|
|
|
258
259
|
|
|
259
260
|
|
|
260
261
|
|
|
262
|
+
|
|
261
263
|
function $7ad7a3d0011b7b1b$export$210723f5a54a7028(props) {
|
|
262
264
|
return (0, $b4d0d98857ed9934$export$f6e64e17bd69eeef)((0, $b4d0d98857ed9934$export$e5139bbbb9a05035)($7ad7a3d0011b7b1b$var$SolidSearchPage), props);
|
|
263
265
|
}
|
|
@@ -277,7 +279,7 @@ function $7ad7a3d0011b7b1b$var$SolidSearchPage(props, set_portals) {
|
|
|
277
279
|
update_updating_blocked_signal();
|
|
278
280
|
});
|
|
279
281
|
const component_portals = new Set();
|
|
280
|
-
return (0, $4GYXz$
|
|
282
|
+
return (0, $4GYXz$depictaijsui.DepictSearchPage)({
|
|
281
283
|
// Default config goes here
|
|
282
284
|
include_input_field: props.includeInputField ?? true,
|
|
283
285
|
cols_at_size: props.columnsAtSize ?? [
|
|
@@ -326,7 +328,7 @@ function $5aa5fcb9f8a2bebc$var$SolidCategoryPage(props, set_portals) {
|
|
|
326
328
|
};
|
|
327
329
|
$5aa5fcb9f8a2bebc$var$render_cb(props);
|
|
328
330
|
const component_portals = new Set();
|
|
329
|
-
const category = ()=>(0, $4GYXz$
|
|
331
|
+
const category = ()=>(0, $4GYXz$depictaijsui.DepictCategoryPage)({
|
|
330
332
|
depict_category: depict_category,
|
|
331
333
|
cols_at_size: props.columnsAtSize ?? [
|
|
332
334
|
[
|
|
@@ -343,7 +345,7 @@ function $5aa5fcb9f8a2bebc$var$SolidCategoryPage(props, set_portals) {
|
|
|
343
345
|
],
|
|
344
346
|
grid_spacing: props.gridSpacing ?? "2%",
|
|
345
347
|
get_product_id: ()=>"",
|
|
346
|
-
category_title: props.categoryTitlePlugin || (0, $4GYXz$
|
|
348
|
+
category_title: props.categoryTitlePlugin || (0, $4GYXz$depictaijsui.CategoryTitle),
|
|
347
349
|
show_breadcrumbs: props.showBreadcrumbs === undefined ? true : props.showBreadcrumbs,
|
|
348
350
|
show_quicklinks: props.showQuicklinks === undefined ? true : props.showQuicklinks,
|
|
349
351
|
product_card_template: (display)=>(0, $b4d0d98857ed9934$export$79c79419c1ef0081)({
|
|
@@ -366,7 +368,7 @@ function $d88e98b11c182b8e$export$5646050d516e06bc() {
|
|
|
366
368
|
function $d88e98b11c182b8e$var$vanilla_breadcrumbs() {
|
|
367
369
|
const depict_category = (0, $0b7cd4fb39fc3502$export$8e769ad4338a911e).category;
|
|
368
370
|
if (!depict_category) throw Error("No depict_category instance when rendering BreadCrumbs. Did you forget to wrap your app in DepictProvider?");
|
|
369
|
-
return (0, $4GYXz$
|
|
371
|
+
return (0, $4GYXz$depictaijsui.BreadCrumbs)({
|
|
370
372
|
depict_category: depict_category
|
|
371
373
|
});
|
|
372
374
|
}
|
|
@@ -381,7 +383,7 @@ function $f16af0e861aff3d0$export$466cdc317043f6cb() {
|
|
|
381
383
|
function $f16af0e861aff3d0$var$vanilla_quick_links() {
|
|
382
384
|
const depict_category = (0, $0b7cd4fb39fc3502$export$8e769ad4338a911e).category;
|
|
383
385
|
if (!depict_category) throw Error("No depict_category instance when rendering QuickLinks. Did you forget to wrap your app in DepictProvider?");
|
|
384
|
-
return (0, $4GYXz$
|
|
386
|
+
return (0, $4GYXz$depictaijsui.QuickLinks)({
|
|
385
387
|
depict_category: depict_category
|
|
386
388
|
});
|
|
387
389
|
}
|
|
@@ -414,40 +416,20 @@ const $7c8b440edc188ad5$export$89c6019e4baa40b1 = ({ width: width , height: heig
|
|
|
414
416
|
|
|
415
417
|
|
|
416
418
|
|
|
417
|
-
|
|
418
419
|
const $ef7db890e488d4f4$export$d69d8daa20eae175 = (createOpenModalParams)=>{
|
|
419
420
|
const { globalState: globalState , location: location = "centered" , alignerRef: alignerRef } = createOpenModalParams;
|
|
420
421
|
const openModal = ()=>{
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
let dispose_aligner;
|
|
433
|
-
/**
|
|
434
|
-
* Setting position to fixed is important to make the modal work with align_field.
|
|
435
|
-
*/ const style_props_ = (0, $4GYXz$solidjs.createSignal)({
|
|
436
|
-
position: "fixed"
|
|
437
|
-
});
|
|
438
|
-
(0, $4GYXz$solidjs.createRoot)((dispose)=>{
|
|
439
|
-
dispose_aligner = ()=>{
|
|
440
|
-
cleanup();
|
|
441
|
-
dispose();
|
|
442
|
-
};
|
|
443
|
-
(0, $4GYXz$depictaiui.align_field)(style_props_, headerAligner, undefined, false, "top");
|
|
444
|
-
});
|
|
445
|
-
globalState.search.modal_open = [
|
|
446
|
-
{
|
|
447
|
-
style_props_: style_props_
|
|
448
|
-
},
|
|
449
|
-
dispose_aligner
|
|
450
|
-
];
|
|
422
|
+
if (globalState.search) {
|
|
423
|
+
if (location === "aligned" && alignerRef?.current) (0, $4GYXz$depictaijsui.OpenModalWithAlignment)({
|
|
424
|
+
"element": alignerRef.current,
|
|
425
|
+
"location": location,
|
|
426
|
+
"search": globalState.search
|
|
427
|
+
});
|
|
428
|
+
else (0, $4GYXz$depictaijsui.OpenModalWithAlignment)({
|
|
429
|
+
"location": "centered",
|
|
430
|
+
"search": globalState.search
|
|
431
|
+
});
|
|
432
|
+
} else throw new Error("No search instance was provided.");
|
|
451
433
|
};
|
|
452
434
|
return openModal;
|
|
453
435
|
};
|
|
@@ -469,7 +451,7 @@ function $3647cad61d03b89c$export$cc1e9aaf280afdcb(params = {}) {
|
|
|
469
451
|
|
|
470
452
|
const $5e06ce09dcfaf030$export$bde46b5bb6287cea = (props)=>{
|
|
471
453
|
const ReactSearchField = ()=>{
|
|
472
|
-
return (0, $b4d0d98857ed9934$export$f6e64e17bd69eeef)((0, $b4d0d98857ed9934$export$e5139bbbb9a05035)(()=>(0, $4GYXz$
|
|
454
|
+
return (0, $b4d0d98857ed9934$export$f6e64e17bd69eeef)((0, $b4d0d98857ed9934$export$e5139bbbb9a05035)(()=>(0, $4GYXz$depictaijsui.SearchField)({
|
|
473
455
|
depict_search: (0, $0b7cd4fb39fc3502$export$8e769ad4338a911e).search,
|
|
474
456
|
aligner_ref: props?.alignerRef?.current
|
|
475
457
|
})), {});
|
package/dist/module.js
CHANGED
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
import {add_to_version_info as $TZSbU$add_to_version_info, catchify as $TZSbU$catchify, observer as $TZSbU$observer, history_replacer as $TZSbU$history_replacer, queueMacroTask as $TZSbU$queueMacroTask, href_change_ipns as $TZSbU$href_change_ipns, ContainedPlaceholderImage as $TZSbU$ContainedPlaceholderImage, Placeholder as $TZSbU$Placeholder} from "@depict-ai/utilishared";
|
|
2
|
-
import {CategoryTitle as $43099132aad1ceb6$re_export$CategoryTitle,
|
|
2
|
+
import {CategoryTitle as $43099132aad1ceb6$re_export$CategoryTitle, EmbeddedNumProducts as $43099132aad1ceb6$re_export$EmbeddedNumProducts, DepictSearch as $TZSbU$DepictSearch, DepictCategory as $TZSbU$DepictCategory, DepictSearchPage as $TZSbU$DepictSearchPage, DepictCategoryPage as $TZSbU$DepictCategoryPage, BreadCrumbs as $TZSbU$BreadCrumbs, QuickLinks as $TZSbU$QuickLinks, OpenModalWithAlignment as $TZSbU$OpenModalWithAlignment, SearchField as $TZSbU$SearchField} from "@depict-ai/js-ui";
|
|
3
3
|
import {createRoot as $TZSbU$createRoot, untrack as $TZSbU$untrack, createSignal as $TZSbU$createSignal, createComponent as $TZSbU$createComponent, Show as $TZSbU$Show, onCleanup as $TZSbU$onCleanup, createComputed as $TZSbU$createComputed} from "solid-js";
|
|
4
4
|
import {createElement as $TZSbU$createElement, Fragment as $TZSbU$Fragment, useState as $TZSbU$useState, useRef as $TZSbU$useRef, useEffect as $TZSbU$useEffect, forwardRef as $TZSbU$forwardRef} from "react";
|
|
5
|
-
import {en as $TZSbU$en} from "@depict-ai/ui/locales";
|
|
5
|
+
import {en as $TZSbU$en} from "@depict-ai/js-ui/locales";
|
|
6
6
|
import {render as $TZSbU$render} from "solid-js/web";
|
|
7
7
|
import {jsx as $TZSbU$jsx} from "react/jsx-runtime";
|
|
8
8
|
import {createPortal as $TZSbU$createPortal} from "react-dom";
|
|
9
|
+
import {get_search_query_updating_blocked_signal as $TZSbU$get_search_query_updating_blocked_signal} from "@depict-ai/ui";
|
|
9
10
|
|
|
10
11
|
/*! Depict.ai search and product listing react SDK wrapper */ // This is where the actual source of your React stuff should live
|
|
11
12
|
// Note, if you add an export here, also add one in src-server/main.ts
|
|
12
|
-
const $c9c4d066f9a5b51b$export$83d89fbfd8236492 = "0.0.
|
|
13
|
+
const $c9c4d066f9a5b51b$export$83d89fbfd8236492 = "0.0.74";
|
|
13
14
|
|
|
14
15
|
|
|
15
16
|
|
|
@@ -240,6 +241,7 @@ const $4db0e2f013fc5124$export$3f4580d6398c5027 = /*#__PURE__*/ (0, $TZSbU$forwa
|
|
|
240
241
|
|
|
241
242
|
|
|
242
243
|
|
|
244
|
+
|
|
243
245
|
function $4a678f0c87b12e78$export$210723f5a54a7028(props) {
|
|
244
246
|
return (0, $c83ba9ab79386687$export$f6e64e17bd69eeef)((0, $c83ba9ab79386687$export$e5139bbbb9a05035)($4a678f0c87b12e78$var$SolidSearchPage), props);
|
|
245
247
|
}
|
|
@@ -259,7 +261,7 @@ function $4a678f0c87b12e78$var$SolidSearchPage(props, set_portals) {
|
|
|
259
261
|
update_updating_blocked_signal();
|
|
260
262
|
});
|
|
261
263
|
const component_portals = new Set();
|
|
262
|
-
return (0, $TZSbU$
|
|
264
|
+
return (0, $TZSbU$DepictSearchPage)({
|
|
263
265
|
// Default config goes here
|
|
264
266
|
include_input_field: props.includeInputField ?? true,
|
|
265
267
|
cols_at_size: props.columnsAtSize ?? [
|
|
@@ -308,7 +310,7 @@ function $48d7f568740a317d$var$SolidCategoryPage(props, set_portals) {
|
|
|
308
310
|
};
|
|
309
311
|
$48d7f568740a317d$var$render_cb(props);
|
|
310
312
|
const component_portals = new Set();
|
|
311
|
-
const category = ()=>(0, $TZSbU$
|
|
313
|
+
const category = ()=>(0, $TZSbU$DepictCategoryPage)({
|
|
312
314
|
depict_category: depict_category,
|
|
313
315
|
cols_at_size: props.columnsAtSize ?? [
|
|
314
316
|
[
|
|
@@ -396,40 +398,20 @@ const $cbd250061abf11cb$export$89c6019e4baa40b1 = ({ width: width , height: heig
|
|
|
396
398
|
|
|
397
399
|
|
|
398
400
|
|
|
399
|
-
|
|
400
401
|
const $5e26376d86621891$export$d69d8daa20eae175 = (createOpenModalParams)=>{
|
|
401
402
|
const { globalState: globalState , location: location = "centered" , alignerRef: alignerRef } = createOpenModalParams;
|
|
402
403
|
const openModal = ()=>{
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
let dispose_aligner;
|
|
415
|
-
/**
|
|
416
|
-
* Setting position to fixed is important to make the modal work with align_field.
|
|
417
|
-
*/ const style_props_ = (0, $TZSbU$createSignal)({
|
|
418
|
-
position: "fixed"
|
|
419
|
-
});
|
|
420
|
-
(0, $TZSbU$createRoot)((dispose)=>{
|
|
421
|
-
dispose_aligner = ()=>{
|
|
422
|
-
cleanup();
|
|
423
|
-
dispose();
|
|
424
|
-
};
|
|
425
|
-
(0, $TZSbU$align_field)(style_props_, headerAligner, undefined, false, "top");
|
|
426
|
-
});
|
|
427
|
-
globalState.search.modal_open = [
|
|
428
|
-
{
|
|
429
|
-
style_props_: style_props_
|
|
430
|
-
},
|
|
431
|
-
dispose_aligner
|
|
432
|
-
];
|
|
404
|
+
if (globalState.search) {
|
|
405
|
+
if (location === "aligned" && alignerRef?.current) (0, $TZSbU$OpenModalWithAlignment)({
|
|
406
|
+
"element": alignerRef.current,
|
|
407
|
+
"location": location,
|
|
408
|
+
"search": globalState.search
|
|
409
|
+
});
|
|
410
|
+
else (0, $TZSbU$OpenModalWithAlignment)({
|
|
411
|
+
"location": "centered",
|
|
412
|
+
"search": globalState.search
|
|
413
|
+
});
|
|
414
|
+
} else throw new Error("No search instance was provided.");
|
|
433
415
|
};
|
|
434
416
|
return openModal;
|
|
435
417
|
};
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
///
|
|
54
54
|
/// Examples are the QuickLinks (used to navigate sideways or downwards in the category tree) and the SelectedFilters (if not all selected filters fit on the screen).
|
|
55
55
|
/// @param {Color} $fade-to [variables.$brand-lighter-grey] - The color the slider buttons fade to, set this to the background color behind the slider.
|
|
56
|
-
/// @param {Color}
|
|
56
|
+
/// @param {Color} fade-from [transparent] - The color the slider buttons fade from, you probably want to leave this at transparent.
|
|
57
57
|
@mixin SlidableItems($fade-to: variables.$brand-lighter-grey, $fade-from: rgba(238, 238, 240, 0)) {
|
|
58
58
|
// TODO: we could probably infer these colours (and maybe some more) if we add some global background color variable
|
|
59
59
|
.depict-slider {
|
package/dist-server/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ interface UseDepictSearchFieldReturn {
|
|
|
9
9
|
*/
|
|
10
10
|
DepictSearchField: () => ReactElement;
|
|
11
11
|
}
|
|
12
|
-
export const version = "0.0.
|
|
12
|
+
export const version = "0.0.74";
|
|
13
13
|
export function DepictProvider(props: any): any;
|
|
14
14
|
export function DepictSearchPage(): any;
|
|
15
15
|
export function DepictCategoryPage(): any;
|
package/dist-server/main.js
CHANGED
|
@@ -19,7 +19,7 @@ $parcel$export(module.exports, "useDepictSearchModal", () => $41e7e5d85b5e0d49$e
|
|
|
19
19
|
$parcel$export(module.exports, "version", () => $db7b67857900028b$export$83d89fbfd8236492);
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
const $db7b67857900028b$export$83d89fbfd8236492 = "0.0.
|
|
22
|
+
const $db7b67857900028b$export$83d89fbfd8236492 = "0.0.74";
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
function $41e7e5d85b5e0d49$export$9fac37a9c21c2f3b(props) {
|
package/dist-server/module.js
CHANGED
package/locales/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export type { plp_shared_i18n, search_i18n, category_i18n, Locale } from "@depict-ai/ui/locales";
|
|
2
|
-
export { cz, de, en, da, fi, pl, fr, sv, pt, no, nl, es, it } from "@depict-ai/ui/locales";
|
|
1
|
+
export type { plp_shared_i18n, search_i18n, category_i18n, Locale } from "@depict-ai/js-ui/locales";
|
|
2
|
+
export { cz, de, en, da, fi, pl, fr, sv, pt, no, nl, es, it } from "@depict-ai/js-ui/locales";
|
package/locales/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "@depict-ai/ui/locales";
|
|
1
|
+
export * from "@depict-ai/js-ui/locales";
|
package/locales/require.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
module.exports = require("@depict-ai/ui/locales");
|
|
1
|
+
module.exports = require("@depict-ai/js-ui/locales");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@depict-ai/react-ui",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.74",
|
|
4
4
|
"packageManager": "yarn@3.2.2",
|
|
5
5
|
"source": "src/index.ts",
|
|
6
6
|
"main": "dist/main.js",
|
|
@@ -90,8 +90,9 @@
|
|
|
90
90
|
"/locales"
|
|
91
91
|
],
|
|
92
92
|
"dependencies": {
|
|
93
|
-
"@depict-ai/ui": "^0.0.
|
|
94
|
-
"@depict-ai/
|
|
93
|
+
"@depict-ai/js-ui": "^0.0.1",
|
|
94
|
+
"@depict-ai/ui": "^0.0.52",
|
|
95
|
+
"@depict-ai/utilishared": "^0.0.49",
|
|
95
96
|
"solid-js": "^1.6.2"
|
|
96
97
|
},
|
|
97
98
|
"peerDependencies": {
|
|
@@ -104,7 +105,7 @@
|
|
|
104
105
|
"@babel/preset-typescript": "latest",
|
|
105
106
|
"@babel/runtime": "latest",
|
|
106
107
|
"@babel/runtime-corejs3": "latest",
|
|
107
|
-
"@depict-ai/plp-styling": "^0.0.
|
|
108
|
+
"@depict-ai/plp-styling": "^0.0.13",
|
|
108
109
|
"@jest/globals": "^29.3.1",
|
|
109
110
|
"@parcel/babel-preset-env": "latest",
|
|
110
111
|
"@parcel/resolver-default": "^2.8.0",
|