@depict-ai/ui 4.8.13 → 4.8.15

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.15";
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]());
@@ -3007,13 +3007,10 @@ const $82d079b68975fbf7$export$b05c0ae390cf3e06 = _ref => {
3007
3007
  $52FdA$solidjsweb.insert(_el$, () => variant.title);
3008
3008
  $52FdA$solidjsweb.effect(() => $52FdA$solidjsweb.setAttribute(_el$, "title", variant.title));
3009
3009
  return _el$;
3010
- })(), $52FdA$solidjsweb.memo((() => {
3011
- var _c$ = $52FdA$solidjsweb.memo(() => !!(variant.sub_heading_1 || variant.sub_heading_2 || brandInTagline));
3012
- return () => _c$() && (() => {
3013
- var _el$3 = $52FdA$solidjsweb.getNextElement($82d079b68975fbf7$var$_tmpl$3);
3014
- $52FdA$solidjsweb.insert(_el$3, () => [brandInTagline, variant.sub_heading_1, variant.sub_heading_2].filter(v => v).join(" | "));
3015
- return _el$3;
3016
- })();
3010
+ })(), $52FdA$solidjsweb.memo(() => $52FdA$solidjsweb.memo(() => !!(variant.sub_heading_1 || variant.sub_heading_2 || brandInTagline))() && (() => {
3011
+ var _el$3 = $52FdA$solidjsweb.getNextElement($82d079b68975fbf7$var$_tmpl$3);
3012
+ $52FdA$solidjsweb.insert(_el$3, () => [brandInTagline, variant.sub_heading_1, variant.sub_heading_2].filter(v => v).join(" | "));
3013
+ return _el$3;
3017
3014
  })())];
3018
3015
  return (() => {
3019
3016
  var _el$4 = $52FdA$solidjsweb.getNextElement($82d079b68975fbf7$var$_tmpl$6),
@@ -3676,51 +3673,45 @@ function $210882b9ebe2b1d8$export$e872e2339fb04a7f(_ref) {
3676
3673
  return $52FdA$solidjs.createMemo(() => input_obj().query);
3677
3674
  },
3678
3675
  searching_for_value_: searching_for_value_
3679
- })] : [$52FdA$solidjsweb.memo((() => {
3680
- var _c$2 = $52FdA$solidjsweb.memo(() => !!parent_title_if_exists());
3681
- return () => _c$2() ? (() => {
3682
- var _el$4 = $52FdA$solidjsweb.getNextElement($210882b9ebe2b1d8$var$_tmpl$4),
3683
- _el$6 = _el$4.firstChild,
3684
- [_el$7, _co$] = $52FdA$solidjsweb.getNextMarker(_el$6.nextSibling),
3685
- _el$5 = _el$7.nextSibling;
3686
- $52FdA$solidjsweb.insert(_el$4, $52FdA$solidjsweb.createComponent((0, $23c3f390dee33ff8$export$ba17c5b7e6dda39f), {
3687
- class_: "category line-clamp",
3688
- get whole_text_to_display_() {
3689
- return $52FdA$solidjs.createMemo(() => input_obj().title);
3690
- },
3691
- searching_for_value_: searching_for_value_
3692
- }), _el$7, _co$);
3693
- $52FdA$solidjsweb.insert(_el$5, parent_title_if_exists);
3694
- return _el$4;
3695
- })() : (() => {
3696
- var _c$3 = $52FdA$solidjsweb.memo(() => input_obj().type === "content");
3697
- return () => _c$3() ? (() => {
3698
- var _el$8 = $52FdA$solidjsweb.getNextElement($210882b9ebe2b1d8$var$_tmpl$5),
3699
- _el$9 = _el$8.firstChild,
3700
- [_el$10, _co$2] = $52FdA$solidjsweb.getNextMarker(_el$9.nextSibling),
3701
- _el$11 = _el$10.nextSibling,
3702
- [_el$12, _co$3] = $52FdA$solidjsweb.getNextMarker(_el$11.nextSibling);
3703
- $52FdA$solidjsweb.insert(_el$8, $52FdA$solidjsweb.createComponent((0, $3cf7b4db1e203c93$export$605674723bcc715c), {
3704
- width: "16",
3705
- height: "16"
3706
- }), _el$10, _co$2);
3707
- $52FdA$solidjsweb.insert(_el$8, $52FdA$solidjsweb.createComponent((0, $23c3f390dee33ff8$export$ba17c5b7e6dda39f), {
3708
- class_: "content line-clamp",
3709
- get whole_text_to_display_() {
3710
- return $52FdA$solidjs.createMemo(() => input_obj().title);
3711
- },
3712
- searching_for_value_: searching_for_value_
3713
- }), _el$12, _co$3);
3714
- return _el$8;
3715
- })() : $52FdA$solidjsweb.createComponent((0, $23c3f390dee33ff8$export$ba17c5b7e6dda39f), {
3716
- class_: "category line-clamp",
3717
- get whole_text_to_display_() {
3718
- return $52FdA$solidjs.createMemo(() => input_obj().title);
3719
- },
3720
- searching_for_value_: searching_for_value_
3721
- });
3722
- })();
3723
- })()), (() => {
3676
+ })] : [$52FdA$solidjsweb.memo(() => $52FdA$solidjsweb.memo(() => !!parent_title_if_exists())() ? (() => {
3677
+ var _el$4 = $52FdA$solidjsweb.getNextElement($210882b9ebe2b1d8$var$_tmpl$4),
3678
+ _el$6 = _el$4.firstChild,
3679
+ [_el$7, _co$] = $52FdA$solidjsweb.getNextMarker(_el$6.nextSibling),
3680
+ _el$5 = _el$7.nextSibling;
3681
+ $52FdA$solidjsweb.insert(_el$4, $52FdA$solidjsweb.createComponent((0, $23c3f390dee33ff8$export$ba17c5b7e6dda39f), {
3682
+ class_: "category line-clamp",
3683
+ get whole_text_to_display_() {
3684
+ return $52FdA$solidjs.createMemo(() => input_obj().title);
3685
+ },
3686
+ searching_for_value_: searching_for_value_
3687
+ }), _el$7, _co$);
3688
+ $52FdA$solidjsweb.insert(_el$5, parent_title_if_exists);
3689
+ return _el$4;
3690
+ })() : $52FdA$solidjsweb.memo(() => input_obj().type === "content")() ? (() => {
3691
+ var _el$8 = $52FdA$solidjsweb.getNextElement($210882b9ebe2b1d8$var$_tmpl$5),
3692
+ _el$9 = _el$8.firstChild,
3693
+ [_el$10, _co$2] = $52FdA$solidjsweb.getNextMarker(_el$9.nextSibling),
3694
+ _el$11 = _el$10.nextSibling,
3695
+ [_el$12, _co$3] = $52FdA$solidjsweb.getNextMarker(_el$11.nextSibling);
3696
+ $52FdA$solidjsweb.insert(_el$8, $52FdA$solidjsweb.createComponent((0, $3cf7b4db1e203c93$export$605674723bcc715c), {
3697
+ width: "16",
3698
+ height: "16"
3699
+ }), _el$10, _co$2);
3700
+ $52FdA$solidjsweb.insert(_el$8, $52FdA$solidjsweb.createComponent((0, $23c3f390dee33ff8$export$ba17c5b7e6dda39f), {
3701
+ class_: "content line-clamp",
3702
+ get whole_text_to_display_() {
3703
+ return $52FdA$solidjs.createMemo(() => input_obj().title);
3704
+ },
3705
+ searching_for_value_: searching_for_value_
3706
+ }), _el$12, _co$3);
3707
+ return _el$8;
3708
+ })() : $52FdA$solidjsweb.createComponent((0, $23c3f390dee33ff8$export$ba17c5b7e6dda39f), {
3709
+ class_: "category line-clamp",
3710
+ get whole_text_to_display_() {
3711
+ return $52FdA$solidjs.createMemo(() => input_obj().title);
3712
+ },
3713
+ searching_for_value_: searching_for_value_
3714
+ })), (() => {
3724
3715
  var _el$3 = $52FdA$solidjsweb.getNextElement($210882b9ebe2b1d8$var$_tmpl$3);
3725
3716
  $52FdA$solidjsweb.insert(_el$3, $52FdA$solidjs.createMemo(() => {
3726
3717
  if (input_obj().type === "content") return i18n_.content_();
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.15";
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.15";
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]());
@@ -2903,13 +2903,10 @@ const $9a693c7e832d3f18$export$b05c0ae390cf3e06 = _ref => {
2903
2903
  $8tj43$insert(_el$, () => variant.title);
2904
2904
  $8tj43$effect(() => $8tj43$setAttribute(_el$, "title", variant.title));
2905
2905
  return _el$;
2906
- })(), $8tj43$memo((() => {
2907
- var _c$ = $8tj43$memo(() => !!(variant.sub_heading_1 || variant.sub_heading_2 || brandInTagline));
2908
- return () => _c$() && (() => {
2909
- var _el$3 = $8tj43$getNextElement($9a693c7e832d3f18$var$_tmpl$3);
2910
- $8tj43$insert(_el$3, () => [brandInTagline, variant.sub_heading_1, variant.sub_heading_2].filter(v => v).join(" | "));
2911
- return _el$3;
2912
- })();
2906
+ })(), $8tj43$memo(() => $8tj43$memo(() => !!(variant.sub_heading_1 || variant.sub_heading_2 || brandInTagline))() && (() => {
2907
+ var _el$3 = $8tj43$getNextElement($9a693c7e832d3f18$var$_tmpl$3);
2908
+ $8tj43$insert(_el$3, () => [brandInTagline, variant.sub_heading_1, variant.sub_heading_2].filter(v => v).join(" | "));
2909
+ return _el$3;
2913
2910
  })())];
2914
2911
  return (() => {
2915
2912
  var _el$4 = $8tj43$getNextElement($9a693c7e832d3f18$var$_tmpl$6),
@@ -3572,51 +3569,45 @@ function $b055f9e9aeceeb48$export$e872e2339fb04a7f(_ref) {
3572
3569
  return $8tj43$createMemo(() => input_obj().query);
3573
3570
  },
3574
3571
  searching_for_value_: searching_for_value_
3575
- })] : [$8tj43$memo((() => {
3576
- var _c$2 = $8tj43$memo(() => !!parent_title_if_exists());
3577
- return () => _c$2() ? (() => {
3578
- var _el$4 = $8tj43$getNextElement($b055f9e9aeceeb48$var$_tmpl$4),
3579
- _el$6 = _el$4.firstChild,
3580
- [_el$7, _co$] = $8tj43$getNextMarker(_el$6.nextSibling),
3581
- _el$5 = _el$7.nextSibling;
3582
- $8tj43$insert(_el$4, $8tj43$createComponent((0, $02b6641aa50ce528$export$ba17c5b7e6dda39f), {
3583
- class_: "category line-clamp",
3584
- get whole_text_to_display_() {
3585
- return $8tj43$createMemo(() => input_obj().title);
3586
- },
3587
- searching_for_value_: searching_for_value_
3588
- }), _el$7, _co$);
3589
- $8tj43$insert(_el$5, parent_title_if_exists);
3590
- return _el$4;
3591
- })() : (() => {
3592
- var _c$3 = $8tj43$memo(() => input_obj().type === "content");
3593
- return () => _c$3() ? (() => {
3594
- var _el$8 = $8tj43$getNextElement($b055f9e9aeceeb48$var$_tmpl$5),
3595
- _el$9 = _el$8.firstChild,
3596
- [_el$10, _co$2] = $8tj43$getNextMarker(_el$9.nextSibling),
3597
- _el$11 = _el$10.nextSibling,
3598
- [_el$12, _co$3] = $8tj43$getNextMarker(_el$11.nextSibling);
3599
- $8tj43$insert(_el$8, $8tj43$createComponent((0, $3c5e15c6ee4227a9$export$605674723bcc715c), {
3600
- width: "16",
3601
- height: "16"
3602
- }), _el$10, _co$2);
3603
- $8tj43$insert(_el$8, $8tj43$createComponent((0, $02b6641aa50ce528$export$ba17c5b7e6dda39f), {
3604
- class_: "content line-clamp",
3605
- get whole_text_to_display_() {
3606
- return $8tj43$createMemo(() => input_obj().title);
3607
- },
3608
- searching_for_value_: searching_for_value_
3609
- }), _el$12, _co$3);
3610
- return _el$8;
3611
- })() : $8tj43$createComponent((0, $02b6641aa50ce528$export$ba17c5b7e6dda39f), {
3612
- class_: "category line-clamp",
3613
- get whole_text_to_display_() {
3614
- return $8tj43$createMemo(() => input_obj().title);
3615
- },
3616
- searching_for_value_: searching_for_value_
3617
- });
3618
- })();
3619
- })()), (() => {
3572
+ })] : [$8tj43$memo(() => $8tj43$memo(() => !!parent_title_if_exists())() ? (() => {
3573
+ var _el$4 = $8tj43$getNextElement($b055f9e9aeceeb48$var$_tmpl$4),
3574
+ _el$6 = _el$4.firstChild,
3575
+ [_el$7, _co$] = $8tj43$getNextMarker(_el$6.nextSibling),
3576
+ _el$5 = _el$7.nextSibling;
3577
+ $8tj43$insert(_el$4, $8tj43$createComponent((0, $02b6641aa50ce528$export$ba17c5b7e6dda39f), {
3578
+ class_: "category line-clamp",
3579
+ get whole_text_to_display_() {
3580
+ return $8tj43$createMemo(() => input_obj().title);
3581
+ },
3582
+ searching_for_value_: searching_for_value_
3583
+ }), _el$7, _co$);
3584
+ $8tj43$insert(_el$5, parent_title_if_exists);
3585
+ return _el$4;
3586
+ })() : $8tj43$memo(() => input_obj().type === "content")() ? (() => {
3587
+ var _el$8 = $8tj43$getNextElement($b055f9e9aeceeb48$var$_tmpl$5),
3588
+ _el$9 = _el$8.firstChild,
3589
+ [_el$10, _co$2] = $8tj43$getNextMarker(_el$9.nextSibling),
3590
+ _el$11 = _el$10.nextSibling,
3591
+ [_el$12, _co$3] = $8tj43$getNextMarker(_el$11.nextSibling);
3592
+ $8tj43$insert(_el$8, $8tj43$createComponent((0, $3c5e15c6ee4227a9$export$605674723bcc715c), {
3593
+ width: "16",
3594
+ height: "16"
3595
+ }), _el$10, _co$2);
3596
+ $8tj43$insert(_el$8, $8tj43$createComponent((0, $02b6641aa50ce528$export$ba17c5b7e6dda39f), {
3597
+ class_: "content line-clamp",
3598
+ get whole_text_to_display_() {
3599
+ return $8tj43$createMemo(() => input_obj().title);
3600
+ },
3601
+ searching_for_value_: searching_for_value_
3602
+ }), _el$12, _co$3);
3603
+ return _el$8;
3604
+ })() : $8tj43$createComponent((0, $02b6641aa50ce528$export$ba17c5b7e6dda39f), {
3605
+ class_: "category line-clamp",
3606
+ get whole_text_to_display_() {
3607
+ return $8tj43$createMemo(() => input_obj().title);
3608
+ },
3609
+ searching_for_value_: searching_for_value_
3610
+ })), (() => {
3620
3611
  var _el$3 = $8tj43$getNextElement($b055f9e9aeceeb48$var$_tmpl$3);
3621
3612
  $8tj43$insert(_el$3, $8tj43$createMemo(() => {
3622
3613
  if (input_obj().type === "content") return i18n_.content_();
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.15";
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]);
@@ -2852,13 +2852,10 @@ const $6ae613870d3380fc$export$b05c0ae390cf3e06 = ({
2852
2852
  $gVhhF$solidjsweb.insert(_el$, () => variant.title);
2853
2853
  $gVhhF$solidjsweb.effect(() => $gVhhF$solidjsweb.setAttribute(_el$, "title", variant.title));
2854
2854
  return _el$;
2855
- })(), $gVhhF$solidjsweb.memo((() => {
2856
- var _c$ = $gVhhF$solidjsweb.memo(() => !!(variant.sub_heading_1 || variant.sub_heading_2 || brandInTagline));
2857
- return () => _c$() && (() => {
2858
- var _el$3 = $gVhhF$solidjsweb.getNextElement($6ae613870d3380fc$var$_tmpl$3);
2859
- $gVhhF$solidjsweb.insert(_el$3, () => [brandInTagline, variant.sub_heading_1, variant.sub_heading_2].filter(v => v).join(" | "));
2860
- return _el$3;
2861
- })();
2855
+ })(), $gVhhF$solidjsweb.memo(() => $gVhhF$solidjsweb.memo(() => !!(variant.sub_heading_1 || variant.sub_heading_2 || brandInTagline))() && (() => {
2856
+ var _el$3 = $gVhhF$solidjsweb.getNextElement($6ae613870d3380fc$var$_tmpl$3);
2857
+ $gVhhF$solidjsweb.insert(_el$3, () => [brandInTagline, variant.sub_heading_1, variant.sub_heading_2].filter(v => v).join(" | "));
2858
+ return _el$3;
2862
2859
  })())];
2863
2860
  return (() => {
2864
2861
  var _el$4 = $gVhhF$solidjsweb.getNextElement($6ae613870d3380fc$var$_tmpl$6),
@@ -3488,51 +3485,45 @@ function $1dbed937c406bdf0$export$e872e2339fb04a7f({
3488
3485
  return $gVhhF$solidjs.createMemo(() => input_obj().query);
3489
3486
  },
3490
3487
  searching_for_value_: searching_for_value_
3491
- })] : [$gVhhF$solidjsweb.memo((() => {
3492
- var _c$2 = $gVhhF$solidjsweb.memo(() => !!parent_title_if_exists());
3493
- return () => _c$2() ? (() => {
3494
- var _el$4 = $gVhhF$solidjsweb.getNextElement($1dbed937c406bdf0$var$_tmpl$4),
3495
- _el$6 = _el$4.firstChild,
3496
- [_el$7, _co$] = $gVhhF$solidjsweb.getNextMarker(_el$6.nextSibling),
3497
- _el$5 = _el$7.nextSibling;
3498
- $gVhhF$solidjsweb.insert(_el$4, $gVhhF$solidjsweb.createComponent((0, $d023ed916c84e75d$export$ba17c5b7e6dda39f), {
3499
- class_: "category line-clamp",
3500
- get whole_text_to_display_() {
3501
- return $gVhhF$solidjs.createMemo(() => input_obj().title);
3502
- },
3503
- searching_for_value_: searching_for_value_
3504
- }), _el$7, _co$);
3505
- $gVhhF$solidjsweb.insert(_el$5, parent_title_if_exists);
3506
- return _el$4;
3507
- })() : (() => {
3508
- var _c$3 = $gVhhF$solidjsweb.memo(() => input_obj().type === "content");
3509
- return () => _c$3() ? (() => {
3510
- var _el$8 = $gVhhF$solidjsweb.getNextElement($1dbed937c406bdf0$var$_tmpl$5),
3511
- _el$9 = _el$8.firstChild,
3512
- [_el$10, _co$2] = $gVhhF$solidjsweb.getNextMarker(_el$9.nextSibling),
3513
- _el$11 = _el$10.nextSibling,
3514
- [_el$12, _co$3] = $gVhhF$solidjsweb.getNextMarker(_el$11.nextSibling);
3515
- $gVhhF$solidjsweb.insert(_el$8, $gVhhF$solidjsweb.createComponent((0, $c0125412b4ea0c93$export$605674723bcc715c), {
3516
- width: "16",
3517
- height: "16"
3518
- }), _el$10, _co$2);
3519
- $gVhhF$solidjsweb.insert(_el$8, $gVhhF$solidjsweb.createComponent((0, $d023ed916c84e75d$export$ba17c5b7e6dda39f), {
3520
- class_: "content line-clamp",
3521
- get whole_text_to_display_() {
3522
- return $gVhhF$solidjs.createMemo(() => input_obj().title);
3523
- },
3524
- searching_for_value_: searching_for_value_
3525
- }), _el$12, _co$3);
3526
- return _el$8;
3527
- })() : $gVhhF$solidjsweb.createComponent((0, $d023ed916c84e75d$export$ba17c5b7e6dda39f), {
3528
- class_: "category line-clamp",
3529
- get whole_text_to_display_() {
3530
- return $gVhhF$solidjs.createMemo(() => input_obj().title);
3531
- },
3532
- searching_for_value_: searching_for_value_
3533
- });
3534
- })();
3535
- })()), (() => {
3488
+ })] : [$gVhhF$solidjsweb.memo(() => $gVhhF$solidjsweb.memo(() => !!parent_title_if_exists())() ? (() => {
3489
+ var _el$4 = $gVhhF$solidjsweb.getNextElement($1dbed937c406bdf0$var$_tmpl$4),
3490
+ _el$6 = _el$4.firstChild,
3491
+ [_el$7, _co$] = $gVhhF$solidjsweb.getNextMarker(_el$6.nextSibling),
3492
+ _el$5 = _el$7.nextSibling;
3493
+ $gVhhF$solidjsweb.insert(_el$4, $gVhhF$solidjsweb.createComponent((0, $d023ed916c84e75d$export$ba17c5b7e6dda39f), {
3494
+ class_: "category line-clamp",
3495
+ get whole_text_to_display_() {
3496
+ return $gVhhF$solidjs.createMemo(() => input_obj().title);
3497
+ },
3498
+ searching_for_value_: searching_for_value_
3499
+ }), _el$7, _co$);
3500
+ $gVhhF$solidjsweb.insert(_el$5, parent_title_if_exists);
3501
+ return _el$4;
3502
+ })() : $gVhhF$solidjsweb.memo(() => input_obj().type === "content")() ? (() => {
3503
+ var _el$8 = $gVhhF$solidjsweb.getNextElement($1dbed937c406bdf0$var$_tmpl$5),
3504
+ _el$9 = _el$8.firstChild,
3505
+ [_el$10, _co$2] = $gVhhF$solidjsweb.getNextMarker(_el$9.nextSibling),
3506
+ _el$11 = _el$10.nextSibling,
3507
+ [_el$12, _co$3] = $gVhhF$solidjsweb.getNextMarker(_el$11.nextSibling);
3508
+ $gVhhF$solidjsweb.insert(_el$8, $gVhhF$solidjsweb.createComponent((0, $c0125412b4ea0c93$export$605674723bcc715c), {
3509
+ width: "16",
3510
+ height: "16"
3511
+ }), _el$10, _co$2);
3512
+ $gVhhF$solidjsweb.insert(_el$8, $gVhhF$solidjsweb.createComponent((0, $d023ed916c84e75d$export$ba17c5b7e6dda39f), {
3513
+ class_: "content line-clamp",
3514
+ get whole_text_to_display_() {
3515
+ return $gVhhF$solidjs.createMemo(() => input_obj().title);
3516
+ },
3517
+ searching_for_value_: searching_for_value_
3518
+ }), _el$12, _co$3);
3519
+ return _el$8;
3520
+ })() : $gVhhF$solidjsweb.createComponent((0, $d023ed916c84e75d$export$ba17c5b7e6dda39f), {
3521
+ class_: "category line-clamp",
3522
+ get whole_text_to_display_() {
3523
+ return $gVhhF$solidjs.createMemo(() => input_obj().title);
3524
+ },
3525
+ searching_for_value_: searching_for_value_
3526
+ })), (() => {
3536
3527
  var _el$3 = $gVhhF$solidjsweb.getNextElement($1dbed937c406bdf0$var$_tmpl$3);
3537
3528
  $gVhhF$solidjsweb.insert(_el$3, $gVhhF$solidjs.createMemo(() => {
3538
3529
  if (input_obj().type === "content") return i18n_.content_();
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.15";
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.15";
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]);
@@ -2751,13 +2751,10 @@ const $e003be2a50d9e5bc$export$b05c0ae390cf3e06 = ({
2751
2751
  $9HbP8$insert(_el$, () => variant.title);
2752
2752
  $9HbP8$effect(() => $9HbP8$setAttribute(_el$, "title", variant.title));
2753
2753
  return _el$;
2754
- })(), $9HbP8$memo((() => {
2755
- var _c$ = $9HbP8$memo(() => !!(variant.sub_heading_1 || variant.sub_heading_2 || brandInTagline));
2756
- return () => _c$() && (() => {
2757
- var _el$3 = $9HbP8$getNextElement($e003be2a50d9e5bc$var$_tmpl$3);
2758
- $9HbP8$insert(_el$3, () => [brandInTagline, variant.sub_heading_1, variant.sub_heading_2].filter(v => v).join(" | "));
2759
- return _el$3;
2760
- })();
2754
+ })(), $9HbP8$memo(() => $9HbP8$memo(() => !!(variant.sub_heading_1 || variant.sub_heading_2 || brandInTagline))() && (() => {
2755
+ var _el$3 = $9HbP8$getNextElement($e003be2a50d9e5bc$var$_tmpl$3);
2756
+ $9HbP8$insert(_el$3, () => [brandInTagline, variant.sub_heading_1, variant.sub_heading_2].filter(v => v).join(" | "));
2757
+ return _el$3;
2761
2758
  })())];
2762
2759
  return (() => {
2763
2760
  var _el$4 = $9HbP8$getNextElement($e003be2a50d9e5bc$var$_tmpl$6),
@@ -3387,51 +3384,45 @@ function $ab4b0679fa8bd1dc$export$e872e2339fb04a7f({
3387
3384
  return $9HbP8$createMemo(() => input_obj().query);
3388
3385
  },
3389
3386
  searching_for_value_: searching_for_value_
3390
- })] : [$9HbP8$memo((() => {
3391
- var _c$2 = $9HbP8$memo(() => !!parent_title_if_exists());
3392
- return () => _c$2() ? (() => {
3393
- var _el$4 = $9HbP8$getNextElement($ab4b0679fa8bd1dc$var$_tmpl$4),
3394
- _el$6 = _el$4.firstChild,
3395
- [_el$7, _co$] = $9HbP8$getNextMarker(_el$6.nextSibling),
3396
- _el$5 = _el$7.nextSibling;
3397
- $9HbP8$insert(_el$4, $9HbP8$createComponent((0, $f3213c0640246d58$export$ba17c5b7e6dda39f), {
3398
- class_: "category line-clamp",
3399
- get whole_text_to_display_() {
3400
- return $9HbP8$createMemo(() => input_obj().title);
3401
- },
3402
- searching_for_value_: searching_for_value_
3403
- }), _el$7, _co$);
3404
- $9HbP8$insert(_el$5, parent_title_if_exists);
3405
- return _el$4;
3406
- })() : (() => {
3407
- var _c$3 = $9HbP8$memo(() => input_obj().type === "content");
3408
- return () => _c$3() ? (() => {
3409
- var _el$8 = $9HbP8$getNextElement($ab4b0679fa8bd1dc$var$_tmpl$5),
3410
- _el$9 = _el$8.firstChild,
3411
- [_el$10, _co$2] = $9HbP8$getNextMarker(_el$9.nextSibling),
3412
- _el$11 = _el$10.nextSibling,
3413
- [_el$12, _co$3] = $9HbP8$getNextMarker(_el$11.nextSibling);
3414
- $9HbP8$insert(_el$8, $9HbP8$createComponent((0, $190927650b4840eb$export$605674723bcc715c), {
3415
- width: "16",
3416
- height: "16"
3417
- }), _el$10, _co$2);
3418
- $9HbP8$insert(_el$8, $9HbP8$createComponent((0, $f3213c0640246d58$export$ba17c5b7e6dda39f), {
3419
- class_: "content line-clamp",
3420
- get whole_text_to_display_() {
3421
- return $9HbP8$createMemo(() => input_obj().title);
3422
- },
3423
- searching_for_value_: searching_for_value_
3424
- }), _el$12, _co$3);
3425
- return _el$8;
3426
- })() : $9HbP8$createComponent((0, $f3213c0640246d58$export$ba17c5b7e6dda39f), {
3427
- class_: "category line-clamp",
3428
- get whole_text_to_display_() {
3429
- return $9HbP8$createMemo(() => input_obj().title);
3430
- },
3431
- searching_for_value_: searching_for_value_
3432
- });
3433
- })();
3434
- })()), (() => {
3387
+ })] : [$9HbP8$memo(() => $9HbP8$memo(() => !!parent_title_if_exists())() ? (() => {
3388
+ var _el$4 = $9HbP8$getNextElement($ab4b0679fa8bd1dc$var$_tmpl$4),
3389
+ _el$6 = _el$4.firstChild,
3390
+ [_el$7, _co$] = $9HbP8$getNextMarker(_el$6.nextSibling),
3391
+ _el$5 = _el$7.nextSibling;
3392
+ $9HbP8$insert(_el$4, $9HbP8$createComponent((0, $f3213c0640246d58$export$ba17c5b7e6dda39f), {
3393
+ class_: "category line-clamp",
3394
+ get whole_text_to_display_() {
3395
+ return $9HbP8$createMemo(() => input_obj().title);
3396
+ },
3397
+ searching_for_value_: searching_for_value_
3398
+ }), _el$7, _co$);
3399
+ $9HbP8$insert(_el$5, parent_title_if_exists);
3400
+ return _el$4;
3401
+ })() : $9HbP8$memo(() => input_obj().type === "content")() ? (() => {
3402
+ var _el$8 = $9HbP8$getNextElement($ab4b0679fa8bd1dc$var$_tmpl$5),
3403
+ _el$9 = _el$8.firstChild,
3404
+ [_el$10, _co$2] = $9HbP8$getNextMarker(_el$9.nextSibling),
3405
+ _el$11 = _el$10.nextSibling,
3406
+ [_el$12, _co$3] = $9HbP8$getNextMarker(_el$11.nextSibling);
3407
+ $9HbP8$insert(_el$8, $9HbP8$createComponent((0, $190927650b4840eb$export$605674723bcc715c), {
3408
+ width: "16",
3409
+ height: "16"
3410
+ }), _el$10, _co$2);
3411
+ $9HbP8$insert(_el$8, $9HbP8$createComponent((0, $f3213c0640246d58$export$ba17c5b7e6dda39f), {
3412
+ class_: "content line-clamp",
3413
+ get whole_text_to_display_() {
3414
+ return $9HbP8$createMemo(() => input_obj().title);
3415
+ },
3416
+ searching_for_value_: searching_for_value_
3417
+ }), _el$12, _co$3);
3418
+ return _el$8;
3419
+ })() : $9HbP8$createComponent((0, $f3213c0640246d58$export$ba17c5b7e6dda39f), {
3420
+ class_: "category line-clamp",
3421
+ get whole_text_to_display_() {
3422
+ return $9HbP8$createMemo(() => input_obj().title);
3423
+ },
3424
+ searching_for_value_: searching_for_value_
3425
+ })), (() => {
3435
3426
  var _el$3 = $9HbP8$getNextElement($ab4b0679fa8bd1dc$var$_tmpl$3);
3436
3427
  $9HbP8$insert(_el$3, $9HbP8$createMemo(() => {
3437
3428
  if (input_obj().type === "content") return i18n_.content_();
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.15",
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",
@@ -226,7 +226,7 @@
226
226
  "@parcel/resolver-default": "^2.10.3",
227
227
  "@types/jest": "^29.2.4",
228
228
  "@types/node": "^18.11.11",
229
- "babel-preset-solid": "^1.8.12",
229
+ "babel-preset-solid": "^1.8.16",
230
230
  "jest": "^29.3.1",
231
231
  "lodash": "^4.17.21",
232
232
  "parcel": "^2.10.3",
@@ -236,10 +236,10 @@
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",
241
- "@depict-ai/utilishared": "^2.4.4",
242
- "solid-js": "^1.8.12"
239
+ "@depict-ai/plp-styling": "^4.4.13",
240
+ "@depict-ai/types": "^5.4.4",
241
+ "@depict-ai/utilishared": "^2.4.5",
242
+ "solid-js": "^1.8.16"
243
243
  },
244
244
  "type": "module",
245
245
  "types": "ES10/index.d.ts",
@@ -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.15";
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.15";
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.15";
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.15";
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.15";
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.15";
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]);