@depict-ai/ui 4.8.13 → 4.8.14

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/ES10/index.cjs CHANGED
@@ -114,7 +114,7 @@ $parcel$export(module.exports, "BreadCrumbs", () => $335c02c1241a9ca8$export$5b7
114
114
  $parcel$export(module.exports, "QuickLinks", () => $335c02c1241a9ca8$export$de035477d6fef996);
115
115
  $parcel$export(module.exports, "CategoryPage", () => $c10e33c4681f8c9b$export$e2bf8ce7779e827e);
116
116
  /*! Depict.ai search and product listing SDK */
117
- const $aa1938dec50d6c12$export$83d89fbfd8236492 = "4.8.13";
117
+ const $aa1938dec50d6c12$export$83d89fbfd8236492 = "4.8.14";
118
118
  function $054b1113e4897051$export$54c6d6ff54e72743(whatToWatch) {
119
119
  const [width, setWidth] = $52FdA$solidjs.createSignal(0);
120
120
  const [height, setHeight] = $52FdA$solidjs.createSignal(0);
@@ -1695,8 +1695,8 @@ function $6c2c739b113a8ddf$export$445d8d3f5f706a40(props, container_element) {
1695
1695
  const update_children_count = () => (0, $52FdA$solidjsweb.isServer) ? 20 : set_children_count(container_element.children.length);
1696
1696
  const col_styling = $52FdA$solidjs.createMemo(() => $52FdA$depictaiutilishared.n_col_styling_with_dist(selector_beginning, props.grid_spacing, props.cols_at_size, props.layout, props.override_vertical_spacing));
1697
1697
  const default_currently_visible_signal = $52FdA$solidjs.createSignal($52FdA$solidjs.untrack(() => {
1698
- var _rows_or_empty_object;
1699
- return (_rows_or_empty_object = rows_or_empty_object().start_rows) !== null && _rows_or_empty_object !== void 0 ? _rows_or_empty_object : 1;
1698
+ var _ref, _rows_or_empty_object;
1699
+ return (_ref = (_rows_or_empty_object = rows_or_empty_object().start_rows) !== null && _rows_or_empty_object !== void 0 ? _rows_or_empty_object : rows_or_empty_object().max_rows) !== null && _ref !== void 0 ? _ref : 1;
1700
1700
  })); // Keep this signal here, so it doesn't change when rows_or_empty_object and I think it's to be expected that the "internal default signal" stays the same
1701
1701
  const rows_visible_signal = $52FdA$solidjs.createMemo(() => rows_or_empty_object().currently_visible || default_currently_visible_signal);
1702
1702
  const get_rows_visible = $52FdA$solidjs.createMemo(() => rows_visible_signal()[0]());
package/ES10/index.d.ts CHANGED
@@ -11,7 +11,7 @@ import { GetListingRequest } from "@depict-ai/types/api/GetListingRequest";
11
11
  import { BaseSearchRequestV3 } from "@depict-ai/types/api/BaseSearchRequestV3";
12
12
  import { FeaturedInDisplay } from "@depict-ai/types/api/FeaturedInResponseV3";
13
13
  import { SearchFilter as _SearchFilter3 } from "@depict-ai/types/api/SearchRequestV2";
14
- export const version = "4.8.13";
14
+ export const version = "4.8.14";
15
15
  /**
16
16
  * Returns two accessors (one width and one height) that will update when the size of the provided element changes, to be used with ResponsiveImg
17
17
  */
@@ -1516,7 +1516,7 @@ type OpenModalParams<OriginalDisplay extends Display, OutputDisplay extends Mode
1516
1516
  * Open the modal with support for alignment.
1517
1517
  * @returns {void}
1518
1518
  */
1519
- export const open_modal_with_alignment: <OriginalDisplay extends Display, OutputDisplay extends unknown>(openModalParams: OpenModalParams<OriginalDisplay, OutputDisplay>) => void;
1519
+ export const open_modal_with_alignment: <OriginalDisplay extends Display, OutputDisplay extends ModernDisplay>(openModalParams: OpenModalParams<OriginalDisplay, OutputDisplay>) => void;
1520
1520
  export function open_search_with_shift_slash(open_search: VoidFunction): () => void;
1521
1521
  export interface PageReplacer {
1522
1522
  readonly render_: () => Node_Array;
@@ -1595,5 +1595,5 @@ export function CategoryPage<OriginalDisplay extends Display, OutputDisplay exte
1595
1595
  content_blocks_by_row?: ContentBlocksByRow;
1596
1596
  layout?: PossibleLayout;
1597
1597
  filterModalParent_?: HTMLElement | ShadowRoot;
1598
- }): import("@depict-ai/utilishared").Node_Array;
1598
+ }): import("@depict-ai/utilishared/latest").Node_Array;
1599
1599
  export type { SearchFilter } from "@depict-ai/types/api/SearchRequestV3";
package/ES10/index.js CHANGED
@@ -10,7 +10,7 @@ import $8tj43$babelruntimehelpersclassPrivateFieldGet from "@babel/runtime/helpe
10
10
  /*! Depict.ai search and product listing SDK */
11
11
  import { register_es_version } from "../multi_import_deduplicator.mjs";
12
12
  register_es_version("ui", "ES10");
13
- const $8db9a15135765c11$export$83d89fbfd8236492 = "4.8.13";
13
+ const $8db9a15135765c11$export$83d89fbfd8236492 = "4.8.14";
14
14
  function $4be619ec2cd7bba3$export$54c6d6ff54e72743(whatToWatch) {
15
15
  const [width, setWidth] = $8tj43$createSignal(0);
16
16
  const [height, setHeight] = $8tj43$createSignal(0);
@@ -1591,8 +1591,8 @@ function $63f1f8dbcd07d3b0$export$445d8d3f5f706a40(props, container_element) {
1591
1591
  const update_children_count = () => (0, $8tj43$isServer) ? 20 : set_children_count(container_element.children.length);
1592
1592
  const col_styling = $8tj43$createMemo(() => $8tj43$n_col_styling_with_dist(selector_beginning, props.grid_spacing, props.cols_at_size, props.layout, props.override_vertical_spacing));
1593
1593
  const default_currently_visible_signal = $8tj43$createSignal($8tj43$untrack(() => {
1594
- var _rows_or_empty_object;
1595
- return (_rows_or_empty_object = rows_or_empty_object().start_rows) !== null && _rows_or_empty_object !== void 0 ? _rows_or_empty_object : 1;
1594
+ var _ref, _rows_or_empty_object;
1595
+ return (_ref = (_rows_or_empty_object = rows_or_empty_object().start_rows) !== null && _rows_or_empty_object !== void 0 ? _rows_or_empty_object : rows_or_empty_object().max_rows) !== null && _ref !== void 0 ? _ref : 1;
1596
1596
  })); // Keep this signal here, so it doesn't change when rows_or_empty_object and I think it's to be expected that the "internal default signal" stays the same
1597
1597
  const rows_visible_signal = $8tj43$createMemo(() => rows_or_empty_object().currently_visible || default_currently_visible_signal);
1598
1598
  const get_rows_visible = $8tj43$createMemo(() => rows_visible_signal()[0]());
package/latest/index.cjs CHANGED
@@ -108,7 +108,7 @@ $parcel$export(module.exports, "BreadCrumbs", () => $1f4925833f07df29$export$5b7
108
108
  $parcel$export(module.exports, "QuickLinks", () => $1f4925833f07df29$export$de035477d6fef996);
109
109
  $parcel$export(module.exports, "CategoryPage", () => $14f289047713d67a$export$e2bf8ce7779e827e);
110
110
  /*! Depict.ai search and product listing SDK */
111
- const $b757f75811f3261f$export$83d89fbfd8236492 = "4.8.13";
111
+ const $b757f75811f3261f$export$83d89fbfd8236492 = "4.8.14";
112
112
  function $128302ab61dab8f1$export$54c6d6ff54e72743(whatToWatch) {
113
113
  const [width, setWidth] = $gVhhF$solidjs.createSignal(0);
114
114
  const [height, setHeight] = $gVhhF$solidjs.createSignal(0);
@@ -1624,7 +1624,7 @@ function $f48d0fbb00835aaa$export$445d8d3f5f706a40(props, container_element, ins
1624
1624
  const [get_children_count, set_children_count] = $gVhhF$solidjs.createSignal(0);
1625
1625
  const update_children_count = () => (0, $gVhhF$solidjsweb.isServer) ? 20 : set_children_count(container_element.children.length);
1626
1626
  const col_styling = $gVhhF$solidjs.createMemo(() => $gVhhF$depictaiutilishared.n_col_styling_with_dist(selector_beginning, props.grid_spacing, props.cols_at_size, props.layout, props.override_vertical_spacing));
1627
- const default_currently_visible_signal = $gVhhF$solidjs.createSignal($gVhhF$solidjs.untrack(() => rows_or_empty_object().start_rows ?? 1)); // Keep this signal here, so it doesn't change when rows_or_empty_object and I think it's to be expected that the "internal default signal" stays the same
1627
+ const default_currently_visible_signal = $gVhhF$solidjs.createSignal($gVhhF$solidjs.untrack(() => rows_or_empty_object().start_rows ?? rows_or_empty_object().max_rows ?? 1)); // Keep this signal here, so it doesn't change when rows_or_empty_object and I think it's to be expected that the "internal default signal" stays the same
1628
1628
  const rows_visible_signal = $gVhhF$solidjs.createMemo(() => rows_or_empty_object().currently_visible || default_currently_visible_signal);
1629
1629
  const get_rows_visible = $gVhhF$solidjs.createMemo(() => rows_visible_signal()[0]());
1630
1630
  const set_rows_visible = $gVhhF$solidjs.createMemo(() => rows_visible_signal()[1]);
package/latest/index.d.ts CHANGED
@@ -11,7 +11,7 @@ import { GetListingRequest } from "@depict-ai/types/api/GetListingRequest";
11
11
  import { BaseSearchRequestV3 } from "@depict-ai/types/api/BaseSearchRequestV3";
12
12
  import { FeaturedInDisplay } from "@depict-ai/types/api/FeaturedInResponseV3";
13
13
  import { SearchFilter as _SearchFilter3 } from "@depict-ai/types/api/SearchRequestV2";
14
- export const version = "4.8.13";
14
+ export const version = "4.8.14";
15
15
  /**
16
16
  * Returns two accessors (one width and one height) that will update when the size of the provided element changes, to be used with ResponsiveImg
17
17
  */
@@ -1516,7 +1516,7 @@ type OpenModalParams<OriginalDisplay extends Display, OutputDisplay extends Mode
1516
1516
  * Open the modal with support for alignment.
1517
1517
  * @returns {void}
1518
1518
  */
1519
- export const open_modal_with_alignment: <OriginalDisplay extends Display, OutputDisplay extends unknown>(openModalParams: OpenModalParams<OriginalDisplay, OutputDisplay>) => void;
1519
+ export const open_modal_with_alignment: <OriginalDisplay extends Display, OutputDisplay extends ModernDisplay>(openModalParams: OpenModalParams<OriginalDisplay, OutputDisplay>) => void;
1520
1520
  export function open_search_with_shift_slash(open_search: VoidFunction): () => void;
1521
1521
  export interface PageReplacer {
1522
1522
  readonly render_: () => Node_Array;
@@ -1595,5 +1595,5 @@ export function CategoryPage<OriginalDisplay extends Display, OutputDisplay exte
1595
1595
  content_blocks_by_row?: ContentBlocksByRow;
1596
1596
  layout?: PossibleLayout;
1597
1597
  filterModalParent_?: HTMLElement | ShadowRoot;
1598
- }): import("@depict-ai/utilishared").Node_Array;
1598
+ }): import("@depict-ai/utilishared/latest").Node_Array;
1599
1599
  export type { SearchFilter } from "@depict-ai/types/api/SearchRequestV3";
package/latest/index.js CHANGED
@@ -7,7 +7,7 @@ import { dlog as $9HbP8$dlog, catchify as $9HbP8$catchify1, ListenableSet as $9H
7
7
  /*! Depict.ai search and product listing SDK */
8
8
  import { register_es_version } from "../multi_import_deduplicator.mjs";
9
9
  register_es_version("ui", "latest");
10
- const $ec291e0010116877$export$83d89fbfd8236492 = "4.8.13";
10
+ const $ec291e0010116877$export$83d89fbfd8236492 = "4.8.14";
11
11
  function $a444a52bafa0dacc$export$54c6d6ff54e72743(whatToWatch) {
12
12
  const [width, setWidth] = $9HbP8$createSignal(0);
13
13
  const [height, setHeight] = $9HbP8$createSignal(0);
@@ -1523,7 +1523,7 @@ function $c8d5ff4524619fcd$export$445d8d3f5f706a40(props, container_element, ins
1523
1523
  const [get_children_count, set_children_count] = $9HbP8$createSignal(0);
1524
1524
  const update_children_count = () => (0, $9HbP8$isServer) ? 20 : set_children_count(container_element.children.length);
1525
1525
  const col_styling = $9HbP8$createMemo(() => $9HbP8$n_col_styling_with_dist(selector_beginning, props.grid_spacing, props.cols_at_size, props.layout, props.override_vertical_spacing));
1526
- const default_currently_visible_signal = $9HbP8$createSignal($9HbP8$untrack(() => rows_or_empty_object().start_rows ?? 1)); // Keep this signal here, so it doesn't change when rows_or_empty_object and I think it's to be expected that the "internal default signal" stays the same
1526
+ const default_currently_visible_signal = $9HbP8$createSignal($9HbP8$untrack(() => rows_or_empty_object().start_rows ?? rows_or_empty_object().max_rows ?? 1)); // Keep this signal here, so it doesn't change when rows_or_empty_object and I think it's to be expected that the "internal default signal" stays the same
1527
1527
  const rows_visible_signal = $9HbP8$createMemo(() => rows_or_empty_object().currently_visible || default_currently_visible_signal);
1528
1528
  const get_rows_visible = $9HbP8$createMemo(() => rows_visible_signal()[0]());
1529
1529
  const set_rows_visible = $9HbP8$createMemo(() => rows_visible_signal()[1]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@depict-ai/ui",
3
- "version": "4.8.13",
3
+ "version": "4.8.14",
4
4
  "description": "Base package containing the actual UI of Depict UI along with translations, with a not-simplified API. We recommend using @depict-ai/js-ui or @depict-ai/react-ui instead.",
5
5
  "packageManager": "yarn@3.2.2",
6
6
  "sass": "styles.scss",
@@ -236,8 +236,8 @@
236
236
  "@babel/plugin-transform-typescript": "^7.22.9",
237
237
  "@babel/runtime": "latest",
238
238
  "@babel/runtime-corejs3": "^7.22.6",
239
- "@depict-ai/plp-styling": "^4.4.11",
240
- "@depict-ai/types": "^5.4.2",
239
+ "@depict-ai/plp-styling": "^4.4.12",
240
+ "@depict-ai/types": "^5.4.3",
241
241
  "@depict-ai/utilishared": "^2.4.4",
242
242
  "solid-js": "^1.8.12"
243
243
  },
@@ -114,7 +114,7 @@ $parcel$export(module.exports, "BreadCrumbs", () => $335c02c1241a9ca8$export$5b7
114
114
  $parcel$export(module.exports, "QuickLinks", () => $335c02c1241a9ca8$export$de035477d6fef996);
115
115
  $parcel$export(module.exports, "CategoryPage", () => $c10e33c4681f8c9b$export$e2bf8ce7779e827e);
116
116
  /*! Depict.ai search and product listing SDK */
117
- const $aa1938dec50d6c12$export$83d89fbfd8236492 = "4.8.13";
117
+ const $aa1938dec50d6c12$export$83d89fbfd8236492 = "4.8.14";
118
118
  function $054b1113e4897051$export$54c6d6ff54e72743(whatToWatch) {
119
119
  const [width, setWidth] = $3hooq$solidjs.createSignal(0);
120
120
  const [height, setHeight] = $3hooq$solidjs.createSignal(0);
@@ -1493,8 +1493,8 @@ function $6c2c739b113a8ddf$export$445d8d3f5f706a40(props, container_element) {
1493
1493
  const update_children_count = () => (0, $3hooq$solidjsweb.isServer) ? 20 : set_children_count(container_element.children.length);
1494
1494
  const col_styling = $3hooq$solidjs.createMemo(() => $3hooq$depictaiutilishared.n_col_styling_with_dist(selector_beginning, props.grid_spacing, props.cols_at_size, props.layout, props.override_vertical_spacing));
1495
1495
  const default_currently_visible_signal = $3hooq$solidjs.createSignal($3hooq$solidjs.untrack(() => {
1496
- var _rows_or_empty_object;
1497
- return (_rows_or_empty_object = rows_or_empty_object().start_rows) !== null && _rows_or_empty_object !== void 0 ? _rows_or_empty_object : 1;
1496
+ var _ref, _rows_or_empty_object;
1497
+ return (_ref = (_rows_or_empty_object = rows_or_empty_object().start_rows) !== null && _rows_or_empty_object !== void 0 ? _rows_or_empty_object : rows_or_empty_object().max_rows) !== null && _ref !== void 0 ? _ref : 1;
1498
1498
  })); // Keep this signal here, so it doesn't change when rows_or_empty_object and I think it's to be expected that the "internal default signal" stays the same
1499
1499
  const rows_visible_signal = $3hooq$solidjs.createMemo(() => rows_or_empty_object().currently_visible || default_currently_visible_signal);
1500
1500
  const get_rows_visible = $3hooq$solidjs.createMemo(() => rows_visible_signal()[0]());
@@ -11,7 +11,7 @@ import { GetListingRequest } from "@depict-ai/types/api/GetListingRequest";
11
11
  import { BaseSearchRequestV3 } from "@depict-ai/types/api/BaseSearchRequestV3";
12
12
  import { FeaturedInDisplay } from "@depict-ai/types/api/FeaturedInResponseV3";
13
13
  import { SearchFilter as _SearchFilter3 } from "@depict-ai/types/api/SearchRequestV2";
14
- export const version = "4.8.13";
14
+ export const version = "4.8.14";
15
15
  /**
16
16
  * Returns two accessors (one width and one height) that will update when the size of the provided element changes, to be used with ResponsiveImg
17
17
  */
@@ -1516,7 +1516,7 @@ type OpenModalParams<OriginalDisplay extends Display, OutputDisplay extends Mode
1516
1516
  * Open the modal with support for alignment.
1517
1517
  * @returns {void}
1518
1518
  */
1519
- export const open_modal_with_alignment: <OriginalDisplay extends Display, OutputDisplay extends unknown>(openModalParams: OpenModalParams<OriginalDisplay, OutputDisplay>) => void;
1519
+ export const open_modal_with_alignment: <OriginalDisplay extends Display, OutputDisplay extends ModernDisplay>(openModalParams: OpenModalParams<OriginalDisplay, OutputDisplay>) => void;
1520
1520
  export function open_search_with_shift_slash(open_search: VoidFunction): () => void;
1521
1521
  export interface PageReplacer {
1522
1522
  readonly render_: () => Node_Array;
@@ -1595,5 +1595,5 @@ export function CategoryPage<OriginalDisplay extends Display, OutputDisplay exte
1595
1595
  content_blocks_by_row?: ContentBlocksByRow;
1596
1596
  layout?: PossibleLayout;
1597
1597
  filterModalParent_?: HTMLElement | ShadowRoot;
1598
- }): import("@depict-ai/utilishared").Node_Array;
1598
+ }): import("@depict-ai/utilishared/latest").Node_Array;
1599
1599
  export type { SearchFilter } from "@depict-ai/types/api/SearchRequestV3";
@@ -10,7 +10,7 @@ import $b8hua$babelruntimehelpersclassPrivateFieldGet from "@babel/runtime/helpe
10
10
  /*! Depict.ai search and product listing SDK */
11
11
  import { register_es_version } from "../../multi_import_deduplicator.mjs";
12
12
  register_es_version("ui", "ES10");
13
- const $8db9a15135765c11$export$83d89fbfd8236492 = "4.8.13";
13
+ const $8db9a15135765c11$export$83d89fbfd8236492 = "4.8.14";
14
14
  function $4be619ec2cd7bba3$export$54c6d6ff54e72743(whatToWatch) {
15
15
  const [width, setWidth] = $b8hua$createSignal(0);
16
16
  const [height, setHeight] = $b8hua$createSignal(0);
@@ -1389,8 +1389,8 @@ function $63f1f8dbcd07d3b0$export$445d8d3f5f706a40(props, container_element) {
1389
1389
  const update_children_count = () => (0, $b8hua$isServer) ? 20 : set_children_count(container_element.children.length);
1390
1390
  const col_styling = $b8hua$createMemo(() => $b8hua$n_col_styling_with_dist(selector_beginning, props.grid_spacing, props.cols_at_size, props.layout, props.override_vertical_spacing));
1391
1391
  const default_currently_visible_signal = $b8hua$createSignal($b8hua$untrack(() => {
1392
- var _rows_or_empty_object;
1393
- return (_rows_or_empty_object = rows_or_empty_object().start_rows) !== null && _rows_or_empty_object !== void 0 ? _rows_or_empty_object : 1;
1392
+ var _ref, _rows_or_empty_object;
1393
+ return (_ref = (_rows_or_empty_object = rows_or_empty_object().start_rows) !== null && _rows_or_empty_object !== void 0 ? _rows_or_empty_object : rows_or_empty_object().max_rows) !== null && _ref !== void 0 ? _ref : 1;
1394
1394
  })); // Keep this signal here, so it doesn't change when rows_or_empty_object and I think it's to be expected that the "internal default signal" stays the same
1395
1395
  const rows_visible_signal = $b8hua$createMemo(() => rows_or_empty_object().currently_visible || default_currently_visible_signal);
1396
1396
  const get_rows_visible = $b8hua$createMemo(() => rows_visible_signal()[0]());
@@ -108,7 +108,7 @@ $parcel$export(module.exports, "BreadCrumbs", () => $1f4925833f07df29$export$5b7
108
108
  $parcel$export(module.exports, "QuickLinks", () => $1f4925833f07df29$export$de035477d6fef996);
109
109
  $parcel$export(module.exports, "CategoryPage", () => $14f289047713d67a$export$e2bf8ce7779e827e);
110
110
  /*! Depict.ai search and product listing SDK */
111
- const $b757f75811f3261f$export$83d89fbfd8236492 = "4.8.13";
111
+ const $b757f75811f3261f$export$83d89fbfd8236492 = "4.8.14";
112
112
  function $128302ab61dab8f1$export$54c6d6ff54e72743(whatToWatch) {
113
113
  const [width, setWidth] = $5vyXB$solidjs.createSignal(0);
114
114
  const [height, setHeight] = $5vyXB$solidjs.createSignal(0);
@@ -1430,7 +1430,7 @@ function $f48d0fbb00835aaa$export$445d8d3f5f706a40(props, container_element, ins
1430
1430
  const [get_children_count, set_children_count] = $5vyXB$solidjs.createSignal(0);
1431
1431
  const update_children_count = () => (0, $5vyXB$solidjsweb.isServer) ? 20 : set_children_count(container_element.children.length);
1432
1432
  const col_styling = $5vyXB$solidjs.createMemo(() => $5vyXB$depictaiutilishared.n_col_styling_with_dist(selector_beginning, props.grid_spacing, props.cols_at_size, props.layout, props.override_vertical_spacing));
1433
- const default_currently_visible_signal = $5vyXB$solidjs.createSignal($5vyXB$solidjs.untrack(() => rows_or_empty_object().start_rows ?? 1)); // Keep this signal here, so it doesn't change when rows_or_empty_object and I think it's to be expected that the "internal default signal" stays the same
1433
+ const default_currently_visible_signal = $5vyXB$solidjs.createSignal($5vyXB$solidjs.untrack(() => rows_or_empty_object().start_rows ?? rows_or_empty_object().max_rows ?? 1)); // Keep this signal here, so it doesn't change when rows_or_empty_object and I think it's to be expected that the "internal default signal" stays the same
1434
1434
  const rows_visible_signal = $5vyXB$solidjs.createMemo(() => rows_or_empty_object().currently_visible || default_currently_visible_signal);
1435
1435
  const get_rows_visible = $5vyXB$solidjs.createMemo(() => rows_visible_signal()[0]());
1436
1436
  const set_rows_visible = $5vyXB$solidjs.createMemo(() => rows_visible_signal()[1]);
@@ -11,7 +11,7 @@ import { GetListingRequest } from "@depict-ai/types/api/GetListingRequest";
11
11
  import { BaseSearchRequestV3 } from "@depict-ai/types/api/BaseSearchRequestV3";
12
12
  import { FeaturedInDisplay } from "@depict-ai/types/api/FeaturedInResponseV3";
13
13
  import { SearchFilter as _SearchFilter3 } from "@depict-ai/types/api/SearchRequestV2";
14
- export const version = "4.8.13";
14
+ export const version = "4.8.14";
15
15
  /**
16
16
  * Returns two accessors (one width and one height) that will update when the size of the provided element changes, to be used with ResponsiveImg
17
17
  */
@@ -1516,7 +1516,7 @@ type OpenModalParams<OriginalDisplay extends Display, OutputDisplay extends Mode
1516
1516
  * Open the modal with support for alignment.
1517
1517
  * @returns {void}
1518
1518
  */
1519
- export const open_modal_with_alignment: <OriginalDisplay extends Display, OutputDisplay extends unknown>(openModalParams: OpenModalParams<OriginalDisplay, OutputDisplay>) => void;
1519
+ export const open_modal_with_alignment: <OriginalDisplay extends Display, OutputDisplay extends ModernDisplay>(openModalParams: OpenModalParams<OriginalDisplay, OutputDisplay>) => void;
1520
1520
  export function open_search_with_shift_slash(open_search: VoidFunction): () => void;
1521
1521
  export interface PageReplacer {
1522
1522
  readonly render_: () => Node_Array;
@@ -1595,5 +1595,5 @@ export function CategoryPage<OriginalDisplay extends Display, OutputDisplay exte
1595
1595
  content_blocks_by_row?: ContentBlocksByRow;
1596
1596
  layout?: PossibleLayout;
1597
1597
  filterModalParent_?: HTMLElement | ShadowRoot;
1598
- }): import("@depict-ai/utilishared").Node_Array;
1598
+ }): import("@depict-ai/utilishared/latest").Node_Array;
1599
1599
  export type { SearchFilter } from "@depict-ai/types/api/SearchRequestV3";
@@ -7,7 +7,7 @@ import { dlog as $i7OB2$dlog, catchify as $i7OB2$catchify1, ListenableSet as $i7
7
7
  /*! Depict.ai search and product listing SDK */
8
8
  import { register_es_version } from "../../multi_import_deduplicator.mjs";
9
9
  register_es_version("ui", "latest");
10
- const $ec291e0010116877$export$83d89fbfd8236492 = "4.8.13";
10
+ const $ec291e0010116877$export$83d89fbfd8236492 = "4.8.14";
11
11
  function $a444a52bafa0dacc$export$54c6d6ff54e72743(whatToWatch) {
12
12
  const [width, setWidth] = $i7OB2$createSignal(0);
13
13
  const [height, setHeight] = $i7OB2$createSignal(0);
@@ -1329,7 +1329,7 @@ function $c8d5ff4524619fcd$export$445d8d3f5f706a40(props, container_element, ins
1329
1329
  const [get_children_count, set_children_count] = $i7OB2$createSignal(0);
1330
1330
  const update_children_count = () => (0, $i7OB2$isServer) ? 20 : set_children_count(container_element.children.length);
1331
1331
  const col_styling = $i7OB2$createMemo(() => $i7OB2$n_col_styling_with_dist(selector_beginning, props.grid_spacing, props.cols_at_size, props.layout, props.override_vertical_spacing));
1332
- const default_currently_visible_signal = $i7OB2$createSignal($i7OB2$untrack(() => rows_or_empty_object().start_rows ?? 1)); // Keep this signal here, so it doesn't change when rows_or_empty_object and I think it's to be expected that the "internal default signal" stays the same
1332
+ const default_currently_visible_signal = $i7OB2$createSignal($i7OB2$untrack(() => rows_or_empty_object().start_rows ?? rows_or_empty_object().max_rows ?? 1)); // Keep this signal here, so it doesn't change when rows_or_empty_object and I think it's to be expected that the "internal default signal" stays the same
1333
1333
  const rows_visible_signal = $i7OB2$createMemo(() => rows_or_empty_object().currently_visible || default_currently_visible_signal);
1334
1334
  const get_rows_visible = $i7OB2$createMemo(() => rows_visible_signal()[0]());
1335
1335
  const set_rows_visible = $i7OB2$createMemo(() => rows_visible_signal()[1]);