@depict-ai/react-ui 0.0.66 → 0.0.67

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 CHANGED
@@ -3,7 +3,7 @@ import { Display } from "@depict-ai/utilishared";
3
3
  import React, { ReactNode, PropsWithChildren, ReactElement } from "react";
4
4
  import { Locale } from "@depict-ai/ui/locales";
5
5
  import { CategoryTitle, embedded_num_products } from "@depict-ai/ui";
6
- export const version = "0.0.66";
6
+ export const version = "0.0.67";
7
7
  interface PLPConfig<T extends Display> {
8
8
  /**
9
9
  * The product card to use for rendering products.
package/dist/main.js CHANGED
@@ -1,4 +1,3 @@
1
- const process = { env: {} }; // In case that the code using this wasn't built with "node emulation", just make process.env accesses become undefined.
2
1
  var $4GYXz$depictaiutilishared = require("@depict-ai/utilishared");
3
2
  var $4GYXz$depictaiui = require("@depict-ai/ui");
4
3
  var $4GYXz$solidjs = require("solid-js");
@@ -29,7 +28,7 @@ $parcel$export(module.exports, "Navigation", () => $b742053c966024b4$export$b8a6
29
28
  /*! Depict.ai search and product listing react SDK wrapper */ // This is where the actual source of your React stuff should live
30
29
  // Note, if you add an export here, also add one in src-server/main.ts
31
30
 
32
- const $db7b67857900028b$export$83d89fbfd8236492 = "0.0.66";
31
+ const $db7b67857900028b$export$83d89fbfd8236492 = "0.0.67";
33
32
 
34
33
 
35
34
 
@@ -425,7 +424,7 @@ const $ef7db890e488d4f4$export$d69d8daa20eae175 = (createOpenModalParams)=>{
425
424
  return;
426
425
  }
427
426
  if (!headerAligner) return;
428
- const { cleanup: cleanup } = (0, $ef7db890e488d4f4$import$5090e60c224b3b76$bec48a3a3ca6bc09)(headerAligner);
427
+ const { cleanup: cleanup } = (0, $4GYXz$depictaiui.connect_query_input_height_to_aligner_height)(headerAligner);
429
428
  let dispose_aligner;
430
429
  /**
431
430
  * Setting position to fixed is important to make the modal work with align_field.
package/dist/module.js CHANGED
@@ -1,6 +1,5 @@
1
- const process = { env: {} }; // In case that the code using this wasn't built with "node emulation", just make process.env accesses become undefined.
2
1
  import {dlog as $TZSbU$dlog, 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";
3
- import {add_to_version_info as $TZSbU$add_to_version_info, CategoryTitle as $43099132aad1ceb6$re_export$CategoryTitle, embedded_num_products as $43099132aad1ceb6$re_export$EmbeddedNumProducts, DepictSearch as $TZSbU$DepictSearch, DepictCategory as $TZSbU$DepictCategory, get_search_query_updating_blocked_signal as $TZSbU$get_search_query_updating_blocked_signal, SearchPage as $TZSbU$SearchPage, CategoryPage as $TZSbU$CategoryPage, BreadCrumbs as $TZSbU$BreadCrumbs, QuickLinks as $TZSbU$QuickLinks, align_field as $TZSbU$align_field, SearchField as $TZSbU$SearchField} from "@depict-ai/ui";
2
+ import {add_to_version_info as $TZSbU$add_to_version_info, CategoryTitle as $43099132aad1ceb6$re_export$CategoryTitle, embedded_num_products as $43099132aad1ceb6$re_export$EmbeddedNumProducts, DepictSearch as $TZSbU$DepictSearch, DepictCategory as $TZSbU$DepictCategory, get_search_query_updating_blocked_signal as $TZSbU$get_search_query_updating_blocked_signal, SearchPage as $TZSbU$SearchPage, CategoryPage as $TZSbU$CategoryPage, BreadCrumbs as $TZSbU$BreadCrumbs, QuickLinks as $TZSbU$QuickLinks, connect_query_input_height_to_aligner_height as $TZSbU$connect_query_input_height_to_aligner_height, align_field as $TZSbU$align_field, SearchField as $TZSbU$SearchField} from "@depict-ai/ui";
4
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";
5
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";
6
5
  import {en as $TZSbU$en} from "@depict-ai/ui/locales";
@@ -11,7 +10,7 @@ import {createPortal as $TZSbU$createPortal} from "react-dom";
11
10
  /*! Depict.ai search and product listing react SDK wrapper */ // This is where the actual source of your React stuff should live
12
11
  // Note, if you add an export here, also add one in src-server/main.ts
13
12
 
14
- const $c9c4d066f9a5b51b$export$83d89fbfd8236492 = "0.0.66";
13
+ const $c9c4d066f9a5b51b$export$83d89fbfd8236492 = "0.0.67";
15
14
 
16
15
 
17
16
 
@@ -407,7 +406,7 @@ const $5e26376d86621891$export$d69d8daa20eae175 = (createOpenModalParams)=>{
407
406
  return;
408
407
  }
409
408
  if (!headerAligner) return;
410
- const { cleanup: cleanup } = (0, $5e26376d86621891$import$5090e60c224b3b76$bec48a3a3ca6bc09)(headerAligner);
409
+ const { cleanup: cleanup } = (0, $TZSbU$connect_query_input_height_to_aligner_height)(headerAligner);
411
410
  let dispose_aligner;
412
411
  /**
413
412
  * Setting position to fixed is important to make the modal work with align_field.
@@ -9,7 +9,7 @@ interface UseDepictSearchFieldReturn {
9
9
  */
10
10
  DepictSearchField: () => ReactElement;
11
11
  }
12
- export const version = "0.0.66";
12
+ export const version = "0.0.67";
13
13
  export function DepictProvider(props: any): any;
14
14
  export function DepictSearchPage(): any;
15
15
  export function DepictCategoryPage(): any;
@@ -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.66";
22
+ const $db7b67857900028b$export$83d89fbfd8236492 = "0.0.67";
23
23
 
24
24
 
25
25
  function $41e7e5d85b5e0d49$export$9fac37a9c21c2f3b(props) {
@@ -3,7 +3,7 @@ import {jsx as $1RlIW$jsx} from "react/jsx-runtime";
3
3
 
4
4
 
5
5
 
6
- const $c9c4d066f9a5b51b$export$83d89fbfd8236492 = "0.0.66";
6
+ const $c9c4d066f9a5b51b$export$83d89fbfd8236492 = "0.0.67";
7
7
 
8
8
 
9
9
  function $2b1fdeb83610500f$export$9fac37a9c21c2f3b(props) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@depict-ai/react-ui",
3
- "version": "0.0.66",
3
+ "version": "0.0.67",
4
4
  "packageManager": "yarn@3.2.2",
5
5
  "source": "src/index.ts",
6
6
  "main": "dist/main.js",
@@ -12,7 +12,7 @@
12
12
  },
13
13
  "scripts": {
14
14
  "clear-dist": "rm -r -f ./dist",
15
- "build": "node ./build-scripts/pre_build.js && yarn build-server && parcel build --no-source-maps && yarn ignore-optional && cp -a src/styles/plp-styling/. dist/styles/ && node ./build-scripts/post_build.js",
15
+ "build": "node ./build-scripts/pre_build.js && yarn build-server && parcel build --no-source-maps && yarn ignore-optional && cp -a src/styles/plp-styling/. dist/styles/",
16
16
  "build-server": "yarn clear-dist && parcel build --no-source-maps ./src-server/index.ts && cp -r ./dist/ ./dist-server && yarn clear-dist",
17
17
  "ignore-optional": "node build-scripts/ignore-optional.js",
18
18
  "print-included-package-files": "yarn pack --dry-run",
@@ -90,8 +90,8 @@
90
90
  "/locales"
91
91
  ],
92
92
  "dependencies": {
93
- "@depict-ai/ui": "^0.0.43",
94
- "@depict-ai/utilishared": "^0.0.41",
93
+ "@depict-ai/ui": "^0.0.44",
94
+ "@depict-ai/utilishared": "^0.0.42",
95
95
  "solid-js": "^1.6.2"
96
96
  },
97
97
  "peerDependencies": {
@@ -104,7 +104,7 @@
104
104
  "@babel/preset-typescript": "latest",
105
105
  "@babel/runtime": "latest",
106
106
  "@babel/runtime-corejs3": "latest",
107
- "@depict-ai/plp-styling": "^0.0.6",
107
+ "@depict-ai/plp-styling": "^0.0.7",
108
108
  "@jest/globals": "^29.3.1",
109
109
  "@parcel/babel-preset-env": "latest",
110
110
  "@parcel/resolver-default": "^2.8.0",