@depict-ai/ui 0.0.27 → 0.0.30

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
@@ -9,7 +9,7 @@ import { SearchSuggestionsRequest } from "@depict-ai/types/api/SearchSuggestions
9
9
  import { ProductListingRequest } from "@depict-ai/types/api/ProductListingRequest";
10
10
  import { ProductListingResponse, BaseCategoryDisplay } from "@depict-ai/types/api/ProductListingResponse";
11
11
  import { JSX as _JSX1 } from "solid-js/types/jsx";
12
- export const version = "0.0.27";
12
+ export const version = "0.0.30";
13
13
  /**
14
14
  * Like standard_price_format except that the price and the formatting are reactive accessors
15
15
  */
package/dist/main.js CHANGED
@@ -31,7 +31,7 @@ $parcel$export(module.exports, "solid_format_price", () => $5fc9fc23df1591db$exp
31
31
  $parcel$export(module.exports, "PageReplacer", () => $37e96a5ebc768cc7$export$3ccaa27d81dd8556);
32
32
  $parcel$export(module.exports, "version", () => $ae93561d5649a847$export$83d89fbfd8236492);
33
33
  /*! Depict.ai search and product listing SDK */
34
- const $ae93561d5649a847$export$83d89fbfd8236492 = "0.0.27";
34
+ const $ae93561d5649a847$export$83d89fbfd8236492 = "0.0.30";
35
35
 
36
36
 
37
37
 
@@ -4665,6 +4665,9 @@ const $7958d3dbd96a4f87$var$transform_elements = (sorted_cols_at_size)=>{
4665
4665
  return cols_at_size;
4666
4666
  };
4667
4667
  const $7958d3dbd96a4f87$export$6daf8749b65a1b77 = (cols_at_size)=>{
4668
+ // Check that every element is an array
4669
+ const are_arrays = cols_at_size.every((element)=>Array.isArray(element));
4670
+ if (!are_arrays) throw new Error("Every element in cols_at_size must be an array");
4668
4671
  // Check width duplicates
4669
4672
  const widths = cols_at_size.map(([_, width])=>width);
4670
4673
  const widths_set = new Set(widths);
package/dist/module.js CHANGED
@@ -3,7 +3,7 @@ import {template as $g9l4l$template, insert as $g9l4l$insert, effect as $g9l4l$e
3
3
  import {createSignal as $g9l4l$createSignal, onCleanup as $g9l4l$onCleanup, createComputed as $g9l4l$createComputed, createEffect as $g9l4l$createEffect, untrack as $g9l4l$untrack, batch as $g9l4l$batch, createResource as $g9l4l$createResource, createMemo as $g9l4l$createMemo, Show as $g9l4l$Show, createRenderEffect as $g9l4l$createRenderEffect, runWithOwner as $g9l4l$runWithOwner, createRoot as $g9l4l$createRoot, getOwner as $g9l4l$getOwner, on as $g9l4l$on, Index as $g9l4l$Index, For as $g9l4l$For, ErrorBoundary as $g9l4l$ErrorBoundary} from "solid-js";
4
4
 
5
5
  /*! Depict.ai search and product listing SDK */
6
- const $18bf1d29fb889cca$export$83d89fbfd8236492 = "0.0.27";
6
+ const $18bf1d29fb889cca$export$83d89fbfd8236492 = "0.0.30";
7
7
 
8
8
 
9
9
 
@@ -4637,6 +4637,9 @@ const $b4e6a093ae83373b$var$transform_elements = (sorted_cols_at_size)=>{
4637
4637
  return cols_at_size;
4638
4638
  };
4639
4639
  const $b4e6a093ae83373b$export$6daf8749b65a1b77 = (cols_at_size)=>{
4640
+ // Check that every element is an array
4641
+ const are_arrays = cols_at_size.every((element)=>Array.isArray(element));
4642
+ if (!are_arrays) throw new Error("Every element in cols_at_size must be an array");
4640
4643
  // Check width duplicates
4641
4644
  const widths = cols_at_size.map(([_, width])=>width);
4642
4645
  const widths_set = new Set(widths);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@depict-ai/ui",
3
- "version": "0.0.27",
3
+ "version": "0.0.30",
4
4
  "packageManager": "yarn@3.2.2",
5
5
  "source": [
6
6
  "src/index.ts",
@@ -65,7 +65,7 @@
65
65
  }
66
66
  },
67
67
  "dependencies": {
68
- "@depict-ai/utilishared": "^0.0.25",
68
+ "@depict-ai/utilishared": "^0.0.28",
69
69
  "solid-js": "^1.6.2"
70
70
  },
71
71
  "devDependencies": {