@depict-ai/ui 0.0.48 → 0.0.50

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.48";
12
+ export const version = "0.0.50";
13
13
  type ExclusiveId = {
14
14
  categoryId: string;
15
15
  productId?: undefined;
@@ -135,7 +135,7 @@ interface search_i18n extends plp_shared_i18n {
135
135
  category_: string;
136
136
  suggestions_: string;
137
137
  search_submit_button_aria_label_: string;
138
- query_input_field_aria_label_: string;
138
+ search_field_field_aria_label_: string;
139
139
  previous_searches_delete_entry_from_history_: string;
140
140
  }
141
141
  /**
@@ -150,20 +150,12 @@ interface category_i18n extends plp_shared_i18n {
150
150
  quicklinks_aria_label_: string;
151
151
  breadcrumbs_separator_: string;
152
152
  }
153
- /**
154
- * Depict UI internationalisation
155
- */
156
- export interface Locale extends category_i18n, search_i18n {
157
- }
158
153
  export type InstantCard<T extends Display> = (display: T, context: {
159
154
  index: number;
160
155
  i18n: _search_i18n1;
161
156
  merchant: string;
162
157
  market: string;
163
158
  }) => JSX.Element;
164
- export function add_to_version_info(stuff_to_add: {
165
- [key: string]: string;
166
- }): void;
167
159
  export class DepictAPI {
168
160
  #private;
169
161
  constructor(get_metadata?: () => Promise<{
@@ -293,11 +285,11 @@ export type RenderCategorySuggestion = (category_suggestion: Accessor<CategorySu
293
285
  data: WithRequired<SearchFilter, "data">["data"];
294
286
  }[]>) => JSX.Element;
295
287
  /**
296
- * Connects the height of the query input to the height of the aligner.
288
+ * Connects the height of the search field to the height of the aligner.
297
289
  * @param aligner
298
290
  * @returns
299
291
  */
300
- export function connect_query_input_height_to_aligner_height(aligner: HTMLElement): {
292
+ export function connect_search_field_height_to_aligner_height(aligner: HTMLElement): {
301
293
  cleanup: () => void;
302
294
  };
303
295
  type ConstructorOptions<T extends Display> = {
@@ -356,7 +348,7 @@ interface SearchFieldParams {
356
348
  click_handler?: (this: HTMLDivElement, ev: MouseEvent) => any;
357
349
  aligner_ref?: HTMLElement | null;
358
350
  }
359
- export function SearchField({ depict_search, modal_dispose_handler, click_handler, aligner_ref }: SearchFieldParams): Node_Array;
351
+ export function SearchField({ depict_search, modal_dispose_handler, click_handler, aligner_ref, }: SearchFieldParams): Node_Array;
360
352
  export function open_search_with_shift_slash(open_search: VoidFunction): () => void;
361
353
  export interface PageReplacer {
362
354
  readonly render_: (is_prerendering: boolean) => Node_Array;
package/dist/main.js CHANGED
@@ -17,7 +17,7 @@ $parcel$export(module.exports, "CategoryPage", () => $068a627cc18f7bb6$export$e2
17
17
  $parcel$export(module.exports, "DepictSearch", () => $79fbf145b15af988$export$ac6237957a15b3f0);
18
18
  $parcel$export(module.exports, "get_search_query_updating_blocked_signal", () => $79fbf145b15af988$export$bde3eb976dfded9);
19
19
  $parcel$export(module.exports, "SearchPage", () => $79fbf145b15af988$export$f2dc7e4e4aa11abb);
20
- $parcel$export(module.exports, "SearchField", () => $79fbf145b15af988$export$b94867ecbd698f21);
20
+ $parcel$export(module.exports, "SearchField", () => $79fbf145b15af988$export$316f6f283ae64765);
21
21
  $parcel$export(module.exports, "DefaultInstantCardPlaceholder", () => $17c49340edfdbb31$export$ee1733d9a8495996);
22
22
  $parcel$export(module.exports, "align_field", () => $67b60b572b7b7059$export$b3ad617e9036868);
23
23
  $parcel$export(module.exports, "styles_to_valid_css_string", () => $d3c94b3b96557917$export$1233ca167bf71f9a);
@@ -25,16 +25,15 @@ $parcel$export(module.exports, "disable_scrolling", () => $fa41c421eb980e23$expo
25
25
  $parcel$export(module.exports, "open_search_with_shift_slash", () => $308e64f91bb9f839$export$d0596b5cae35ad4);
26
26
  $parcel$export(module.exports, "push_state_with_query_param_value", () => $405647fc79da2849$export$26df08e242fe83a3);
27
27
  $parcel$export(module.exports, "DepictAPI", () => $9ce64f69303c371e$export$e015ed2f2950f2e3);
28
- $parcel$export(module.exports, "add_to_version_info", () => $72835d7ac907c037$export$2cefb7e61fcbae00);
29
28
  $parcel$export(module.exports, "media_query_to_accessor", () => $beec9d22e42ed2cf$export$d9f36cf74e24d595);
30
29
  $parcel$export(module.exports, "setup_fast_leave", () => $d589470b68ce5b67$export$689e204eadb33baf);
31
30
  $parcel$export(module.exports, "show_toast", () => $b3e6a0e9382bf87e$export$5196e4c01fa56fcb);
32
31
  $parcel$export(module.exports, "solid_format_price", () => $5fc9fc23df1591db$export$469c7af753d08925);
33
- $parcel$export(module.exports, "connect_query_input_height_to_aligner_height", () => $94360f5c066c55b9$export$bec48a3a3ca6bc09);
32
+ $parcel$export(module.exports, "connect_search_field_height_to_aligner_height", () => $246e3e89a097f014$export$828dcdd425fd3231);
34
33
  $parcel$export(module.exports, "PageReplacer", () => $37e96a5ebc768cc7$export$3ccaa27d81dd8556);
35
34
  $parcel$export(module.exports, "version", () => $ae93561d5649a847$export$83d89fbfd8236492);
36
- /*! Depict.ai search and product listing SDK */
37
- const $ae93561d5649a847$export$83d89fbfd8236492 = "0.0.48";
35
+ /*! Depict.ai search and product listing SDK */ const $ae93561d5649a847$export$83d89fbfd8236492 = "0.0.50";
36
+
38
37
 
39
38
 
40
39
 
@@ -104,15 +103,6 @@ function $0de081f67b6d15b5$export$9862539c89138352(get_default_values) {
104
103
 
105
104
 
106
105
 
107
-
108
- /**
109
- * Adds things to the object we send to backend as a header to report the package versions used
110
- */ const $72835d7ac907c037$export$89a2f5e6eb5005b6 = {};
111
- function $72835d7ac907c037$export$2cefb7e61fcbae00(stuff_to_add) {
112
- Object.assign($72835d7ac907c037$export$89a2f5e6eb5005b6, stuff_to_add);
113
- }
114
-
115
-
116
106
  const $9ce64f69303c371e$var$v2_base_url = (0, $46MJV$depictaiutilishared.base_url) + "/v2/";
117
107
  const $9ce64f69303c371e$var$search_base_url = $9ce64f69303c371e$var$v2_base_url + "search/";
118
108
  const $9ce64f69303c371e$var$add_ids_to_request = (input_req)=>{
@@ -145,12 +135,7 @@ class $9ce64f69303c371e$export$e015ed2f2950f2e3 {
145
135
  async suggest(input_req) {
146
136
  const request = $9ce64f69303c371e$var$add_ids_to_request(input_req);
147
137
  const url = (0, $46MJV$depictaiutilishared.make_url_with_query_params)($9ce64f69303c371e$var$search_base_url + "suggestions", request);
148
- const results = await (0, $46MJV$depictaiutilishared.fetch_retry)(url, {
149
- headers: {
150
- "Content-Type": "text/plain",
151
- ...$9ce64f69303c371e$var$get_version_headers()
152
- }
153
- });
138
+ const results = await (0, $46MJV$depictaiutilishared.fetch_retry)((0, $46MJV$depictaiutilishared.add_version_query_params)(url));
154
139
  attempt_to_return_api_response: {
155
140
  if (!results) break attempt_to_return_api_response;
156
141
  const decoded_json = await results.json();
@@ -177,11 +162,7 @@ class $9ce64f69303c371e$export$e015ed2f2950f2e3 {
177
162
  let resolve_in_progress;
178
163
  cache_obj.in_progress_[body] = new Promise((r)=>resolve_in_progress = r);
179
164
  try {
180
- const search_results = await (0, $46MJV$depictaiutilishared.fetch_retry)(endpoint1, {
181
- headers: {
182
- "Content-Type": "text/plain",
183
- ...$9ce64f69303c371e$var$get_version_headers()
184
- },
165
+ const search_results = await (0, $46MJV$depictaiutilishared.fetch_retry)((0, $46MJV$depictaiutilishared.add_version_query_params)(endpoint1), {
185
166
  method: "POST",
186
167
  body: body
187
168
  });
@@ -233,18 +214,6 @@ class $9ce64f69303c371e$export$e015ed2f2950f2e3 {
233
214
  }));
234
215
  }
235
216
  }
236
- function $9ce64f69303c371e$var$get_version_headers() {
237
- // We can't use any header name or the browser will make an OPTIONS request which will slow down search a lot
238
- const version_object = {
239
- ...(0, $72835d7ac907c037$export$89a2f5e6eb5005b6),
240
- "@depict-ai/utilishared": (0, $46MJV$depictaiutilishared.version),
241
- "@depict-ai/ui": (0, $ae93561d5649a847$export$83d89fbfd8236492)
242
- };
243
- return {
244
- "Accept": Object.entries(version_object)// No special characters allowed: https://developer.mozilla.org/en-US/docs/Glossary/CORS-safelisted_request_header
245
- .map(([pkg, version])=>`${pkg.replaceAll("@", "")}=${version}`).join(",")
246
- };
247
- }
248
217
 
249
218
 
250
219
 
@@ -5287,8 +5256,6 @@ async function $bfd8f91b5a75050a$var$download_categories(tenant, market) {
5287
5256
 
5288
5257
 
5289
5258
 
5290
-
5291
-
5292
5259
  const $17c49340edfdbb31$var$_tmpl$ = /*@__PURE__*/ (0, /*@__PURE__*/$46MJV$solidjsweb.template)(`<div class="instant-card"><div class="img-part"></div><div class="right-part"><div class="title-brand-tagline"><span class="title"></span></div></div></div>`, 10);
5293
5260
  function $17c49340edfdbb31$export$ee1733d9a8495996() {
5294
5261
  return (()=>{
@@ -5357,8 +5324,8 @@ function $67892c03cd3dfa66$export$d757d54550ebfb3d({ category_suggestion_: categ
5357
5324
 
5358
5325
 
5359
5326
 
5360
- const $231c39725f8fde87$var$_tmpl$ = /*@__PURE__*/ (0, /*@__PURE__*/$46MJV$solidjsweb.template)(`<button class="back" type="button"></button>`, 2), $231c39725f8fde87$var$_tmpl$2 = /*@__PURE__*/ (0, /*@__PURE__*/$46MJV$solidjsweb.template)(`<div class="query-input"><div class="field"><input class="query" tabindex="0"><button type="button" class="clear"></button></div><button class="submit major" type="button"></button></div>`, 9);
5361
- function $231c39725f8fde87$export$ff21851bb5d30e15({ search_field_value_: search_field_value_ , input_field_ref_: input_field_ref_ , field_element_ref_: field_element_ref_ , submit_query_: submit_query_ , override_on_enter_: override_on_enter_ , clear_filters_: clear_filters_ , disabled_: disabled_ = false , on_back_: on_back_ , i18n_: i18n_ }) {
5327
+ const $2989e355f64e18e1$var$_tmpl$ = /*@__PURE__*/ (0, /*@__PURE__*/$46MJV$solidjsweb.template)(`<button class="back" type="button"></button>`, 2), $2989e355f64e18e1$var$_tmpl$2 = /*@__PURE__*/ (0, /*@__PURE__*/$46MJV$solidjsweb.template)(`<div class="search-field"><div class="field"><input class="query" tabindex="0"><button type="button" class="clear"></button></div><button class="submit major" type="button"></button></div>`, 9);
5328
+ function $2989e355f64e18e1$export$b94867ecbd698f21({ search_field_value_: search_field_value_ , input_field_ref_: input_field_ref_ , field_element_ref_: field_element_ref_ , submit_query_: submit_query_ , override_on_enter_: override_on_enter_ , clear_filters_: clear_filters_ , disabled_: disabled_ = false , on_back_: on_back_ , i18n_: i18n_ }) {
5362
5329
  let input_field;
5363
5330
  (0, $46MJV$solidjs.createEffect)((0, $46MJV$depictaiutilishared.catchify)(async ()=>{
5364
5331
  if (disabled_) return;
@@ -5367,11 +5334,11 @@ function $231c39725f8fde87$export$ff21851bb5d30e15({ search_field_value_: search
5367
5334
  input_field.focus();
5368
5335
  })); // focus field on render
5369
5336
  return (()=>{
5370
- const _el$ = $231c39725f8fde87$var$_tmpl$2.cloneNode(true), _el$3 = _el$.firstChild, _el$4 = _el$3.firstChild, _el$5 = _el$4.nextSibling, _el$6 = _el$3.nextSibling;
5337
+ const _el$ = $2989e355f64e18e1$var$_tmpl$2.cloneNode(true), _el$3 = _el$.firstChild, _el$4 = _el$3.firstChild, _el$5 = _el$4.nextSibling, _el$6 = _el$3.nextSibling;
5371
5338
  (0, $46MJV$solidjsweb.insert)(_el$, (0, $46MJV$solidjsweb.createComponent)((0, $46MJV$solidjs.Show), {
5372
5339
  when: on_back_,
5373
5340
  get children () {
5374
- const _el$2 = $231c39725f8fde87$var$_tmpl$.cloneNode(true);
5341
+ const _el$2 = $2989e355f64e18e1$var$_tmpl$.cloneNode(true);
5375
5342
  (0, $46MJV$solidjsweb.addEventListener)(_el$2, "click", (0, $46MJV$depictaiutilishared.catchify)(on_back_), true);
5376
5343
  (0, $46MJV$solidjsweb.insert)(_el$2, (0, $46MJV$solidjsweb.createComponent)((0, $46MJV$depictaiutilishared.BackIcon), {}));
5377
5344
  (0, $46MJV$solidjsweb.effect)(()=>(0, $46MJV$solidjsweb.setAttribute)(_el$2, "aria-label", i18n_.back_()));
@@ -5424,7 +5391,7 @@ function $231c39725f8fde87$export$ff21851bb5d30e15({ search_field_value_: search
5424
5391
  (0, $46MJV$solidjsweb.addEventListener)(_el$6, "click", (0, $46MJV$depictaiutilishared.catchify)(()=>submit_query_()), true);
5425
5392
  (0, $46MJV$solidjsweb.insert)(_el$6, (0, $46MJV$solidjsweb.createComponent)((0, $46MJV$depictaiutilishared.SearchIcon), {}));
5426
5393
  (0, $46MJV$solidjsweb.effect)((_p$)=>{
5427
- const _v$ = i18n_.query_input_field_aria_label_(), _v$2 = i18n_.placeholder_text_(), _v$3 = i18n_.clear_filters_query_sorting_after_submit_(), _v$4 = (0, $46MJV$solidjs.createMemo)(()=>search_field_value_[0]() ? "" : "display: none")(), _v$5 = i18n_.search_submit_button_aria_label_();
5394
+ const _v$ = i18n_.search_field_field_aria_label_(), _v$2 = i18n_.placeholder_text_(), _v$3 = i18n_.clear_filters_query_sorting_after_submit_(), _v$4 = (0, $46MJV$solidjs.createMemo)(()=>search_field_value_[0]() ? "" : "display: none")(), _v$5 = i18n_.search_submit_button_aria_label_();
5428
5395
  _v$ !== _p$._v$ && (0, $46MJV$solidjsweb.setAttribute)(_el$4, "aria-label", _p$._v$ = _v$);
5429
5396
  _v$2 !== _p$._v$2 && (0, $46MJV$solidjsweb.setAttribute)(_el$4, "placeholder", _p$._v$2 = _v$2);
5430
5397
  _v$3 !== _p$._v$3 && (0, $46MJV$solidjsweb.setAttribute)(_el$5, "title", _p$._v$3 = _v$3);
@@ -6797,7 +6764,7 @@ function $4a976b492943589f$export$f021bdedd3ec901a(props) {
6797
6764
 
6798
6765
  const $121d25ca6af2898f$var$_tmpl$ = /*@__PURE__*/ (0, /*@__PURE__*/$46MJV$solidjsweb.template)(`<div class="discover-more"><button class="major" type="button"></button></div>`, 4), $121d25ca6af2898f$var$_tmpl$2 = /*@__PURE__*/ (0, /*@__PURE__*/$46MJV$solidjsweb.template)(`<b></b>`, 2), $121d25ca6af2898f$var$_tmpl$3 = /*@__PURE__*/ (0, /*@__PURE__*/$46MJV$solidjsweb.template)(`<div class="depict-search-modal"><div class="body"><div class="padded"></div></div></div>`, 6), $121d25ca6af2898f$var$_tmpl$4 = /*@__PURE__*/ (0, /*@__PURE__*/$46MJV$solidjsweb.template)(`<div class="depict plp search"><div class="depict-search-modal-backdrop"></div></div>`, 4);
6799
6766
  function $121d25ca6af2898f$export$1c593cbd6f1e10bc({ search_field_value_: search_field_value_ , search_query_: search_query_ , search_page_url_param_name_: search_page_url_param_name_ , previous_searches_: previous_searches_ , close_modal_: close_modal_ , style_props_: style_props_ = (0, $46MJV$solidjs.createSignal)({}) , depict_api_: depict_api_ , tenant_: tenant_ , market_: market_ , submit_query_: submit_query_ , instant_results_options_: instant_results_options_ , register_closing_animation_: register_closing_animation_ , url_transformer_: url_transformer_ , closing_animation_: closing_animation_ , alternative_query_submitter_for_spas_: alternative_query_submitter_for_spas_ , clear_filters_: clear_filters_ , i18n_: i18n_ , disable_scrolling_: disable_scrolling_ = true , enable_category_suggestions_: enable_category_suggestions_ , class_list_: class_list_ , after_submit_: after_submit_ , bottom_distance_under_modal_: bottom_distance_under_modal_ , navigate_page_to_href_: navigate_page_to_href_ , on_submit_with_unchanged_value_: on_submit_with_unchanged_value_ }) {
6800
- let on_enter_in_query_input_function;
6767
+ let on_enter_in_search_field_function;
6801
6768
  const [input_field, set_input_field] = (0, $46MJV$solidjs.createSignal)();
6802
6769
  const [get_search_field_value_] = search_field_value_;
6803
6770
  const [elements_outside_scrollable, set_elements_outside_scrollable] = (0, $46MJV$solidjs.createSignal)();
@@ -6855,12 +6822,12 @@ function $121d25ca6af2898f$export$1c593cbd6f1e10bc({ search_field_value_: search
6855
6822
  (0, $46MJV$solidjsweb.addEventListener)(_el$4, "click", (0, $46MJV$depictaiutilishared.catchify)(({ target: target })=>{
6856
6823
  if (target === modal_element) close_modal_();
6857
6824
  }), true);
6858
- (0, $46MJV$solidjsweb.insert)(_el$5, (0, $46MJV$solidjsweb.createComponent)((0, $231c39725f8fde87$export$ff21851bb5d30e15), {
6825
+ (0, $46MJV$solidjsweb.insert)(_el$5, (0, $46MJV$solidjsweb.createComponent)((0, $2989e355f64e18e1$export$b94867ecbd698f21), {
6859
6826
  input_field_ref_: (element)=>set_input_field(element),
6860
6827
  search_query_: search_query_,
6861
6828
  search_field_value_: search_field_value_,
6862
6829
  submit_query_: submit_query_,
6863
- override_on_enter_: (e)=>on_enter_in_query_input_function?.(e),
6830
+ override_on_enter_: (e)=>on_enter_in_search_field_function?.(e),
6864
6831
  clear_filters_: clear_filters_,
6865
6832
  on_back_: close_modal_,
6866
6833
  i18n_: i18n_
@@ -6871,7 +6838,7 @@ function $121d25ca6af2898f$export$1c593cbd6f1e10bc({ search_field_value_: search
6871
6838
  message_: "Autocomplete/suggestions failed",
6872
6839
  get children () {
6873
6840
  return (0, $46MJV$solidjsweb.createComponent)((0, $81eea900c72d569b$export$2f2b9559550c7bbc), {
6874
- set_override_on_enter_fn_: (new_fn)=>on_enter_in_query_input_function = new_fn,
6841
+ set_override_on_enter_fn_: (new_fn)=>on_enter_in_search_field_function = new_fn,
6875
6842
  input_field_: input_field,
6876
6843
  search_field_value_: search_field_value_,
6877
6844
  get previous_searches_text_ () {
@@ -7128,8 +7095,8 @@ function $93779a41dce11249$export$a54ec244c8863715(opts) {
7128
7095
  const modal_body_style = (0, $46MJV$solidjs.createSignal)({});
7129
7096
  let input_field;
7130
7097
  if (include_input_field_) {
7131
- const SafeQueryInput = (0, $46MJV$depictaiutilishared.catchify)((0, $231c39725f8fde87$export$ff21851bb5d30e15));
7132
- input_field = (0, $46MJV$solidjsweb.createComponent)(SafeQueryInput, {
7098
+ const SafeSearchField = (0, $46MJV$depictaiutilishared.catchify)((0, $2989e355f64e18e1$export$b94867ecbd698f21));
7099
+ input_field = (0, $46MJV$solidjsweb.createComponent)(SafeSearchField, {
7133
7100
  i18n_: i18n_,
7134
7101
  disabled_: true,
7135
7102
  search_query_: search_query_,
@@ -7356,13 +7323,12 @@ function $93779a41dce11249$export$a54ec244c8863715(opts) {
7356
7323
 
7357
7324
 
7358
7325
 
7359
-
7360
- function $94360f5c066c55b9$export$bec48a3a3ca6bc09(aligner) {
7326
+ function $246e3e89a097f014$export$828dcdd425fd3231(aligner) {
7361
7327
  const style_element = document.createElement("style");
7362
7328
  document.head.append(style_element);
7363
7329
  const resize_observer = new ResizeObserver((0, $46MJV$depictaiutilishared.catchify)(()=>{
7364
7330
  const styles = (0, $d3c94b3b96557917$export$1233ca167bf71f9a)({
7365
- ".depict.plp .depict-search-modal .query-input": {
7331
+ ".depict.plp .depict-search-modal .search-field": {
7366
7332
  "height": `${aligner?.clientHeight}px`
7367
7333
  }
7368
7334
  });
@@ -7678,10 +7644,10 @@ function $79fbf145b15af988$export$f2dc7e4e4aa11abb({ depict_search: depict_searc
7678
7644
  });
7679
7645
  }, "Entire SearchPage failed");
7680
7646
  }
7681
- function $79fbf145b15af988$export$b94867ecbd698f21({ depict_search: depict_search , modal_dispose_handler: modal_dispose_handler , click_handler: click_handler , aligner_ref: aligner_ref }) {
7647
+ function $79fbf145b15af988$export$316f6f283ae64765({ depict_search: depict_search , modal_dispose_handler: modal_dispose_handler , click_handler: click_handler , aligner_ref: aligner_ref }) {
7682
7648
  const shared_properties = $79fbf145b15af988$var$get_shared_properties(depict_search);
7683
7649
  return (0, $f27b0b326e0a87e2$export$23fca46f3143581f)(()=>{
7684
- const input = (0, $46MJV$solidjsweb.createComponent)((0, $231c39725f8fde87$export$ff21851bb5d30e15), {
7650
+ const input = (0, $46MJV$solidjsweb.createComponent)((0, $2989e355f64e18e1$export$b94867ecbd698f21), {
7685
7651
  get search_query_ () {
7686
7652
  return shared_properties.search_query_signal_;
7687
7653
  },
@@ -7726,7 +7692,6 @@ function $79fbf145b15af988$export$b94867ecbd698f21({ depict_search: depict_searc
7726
7692
  (()=>{
7727
7693
  const _el$ = $79fbf145b15af988$var$_tmpl$.cloneNode(true);
7728
7694
  (0, $46MJV$solidjsweb.insert)(_el$, input);
7729
- (0, $46MJV$solidjsweb.effect)(()=>(0, $46MJV$solidjsweb.setAttribute)(_el$, "id", (0, $29b757e2ae26852c$export$44dad306455dddf).SEARCH_MODAL));
7730
7695
  return _el$;
7731
7696
  })()
7732
7697
  ];
@@ -7735,7 +7700,7 @@ function $79fbf145b15af988$export$b94867ecbd698f21({ depict_search: depict_searc
7735
7700
  function $79fbf145b15af988$var$align_field_modal(style_props_, input, aligner_ref) {
7736
7701
  return (0, $46MJV$solidjs.createRoot)((dispose)=>{
7737
7702
  if (aligner_ref) {
7738
- const { cleanup: cleanup } = (0, $94360f5c066c55b9$export$bec48a3a3ca6bc09)(aligner_ref);
7703
+ const { cleanup: cleanup } = (0, $246e3e89a097f014$export$828dcdd425fd3231)(aligner_ref);
7739
7704
  (0, $67b60b572b7b7059$export$b3ad617e9036868)(style_props_, aligner_ref, undefined, false, "top");
7740
7705
  return {
7741
7706
  cleanup: ()=>{
@@ -7776,7 +7741,6 @@ function $308e64f91bb9f839$export$d0596b5cae35ad4(open_search) {
7776
7741
 
7777
7742
 
7778
7743
 
7779
-
7780
7744
  function $d589470b68ce5b67$export$689e204eadb33baf(pr) {
7781
7745
  let old_url;
7782
7746
  let disconnect_link_observer;
@@ -7909,6 +7873,6 @@ class $37e96a5ebc768cc7$export$3ccaa27d81dd8556 extends EventTarget {
7909
7873
  }
7910
7874
 
7911
7875
 
7912
- (0, $46MJV$depictaiutilishared.dlog)("@depict-ai/ui version", (0, $ae93561d5649a847$export$83d89fbfd8236492));
7876
+ (0, $46MJV$depictaiutilishared.add_to_version_info)("ui", (0, $ae93561d5649a847$export$83d89fbfd8236492));
7913
7877
 
7914
7878
 
package/dist/module.js CHANGED
@@ -1,9 +1,9 @@
1
- import {dlog as $g9l4l$dlog, fetch_recs as $g9l4l$fetch_recs, snakeCasifyObject as $g9l4l$snakeCasifyObject, GenericSliderArrowButton as $g9l4l$GenericSliderArrowButton, catchify as $g9l4l$catchify, base_url as $g9l4l$base_url, get_depict_id as $g9l4l$get_depict_id, get_user_id as $g9l4l$get_user_id, get_session_id as $g9l4l$get_session_id, make_url_with_query_params as $g9l4l$make_url_with_query_params, fetch_retry as $g9l4l$fetch_retry, sort_obj as $g9l4l$sort_obj, version as $g9l4l$version, Tenant as $g9l4l$Tenant, Placeholder as $g9l4l$Placeholder, report as $g9l4l$report, javascript_media_query as $g9l4l$javascript_media_query, standard_price_format as $g9l4l$standard_price_format, deparallelize_no_drop as $g9l4l$deparallelize_no_drop, default_rr as $g9l4l$default_rr, make_random_classname as $g9l4l$make_random_classname, n_col_styling_with_dist as $g9l4l$n_col_styling_with_dist, observer as $g9l4l$observer, Lazyfier as $g9l4l$Lazyfier, queueMacroTask as $g9l4l$queueMacroTask, deparallelize as $g9l4l$deparallelize, Rec_Renderer as $g9l4l$Rec_Renderer, CrossIcon as $g9l4l$CrossIcon, useExpandingContainer as $g9l4l$useExpandingContainer, Amazing_Slider as $g9l4l$Amazing_Slider, slider_snap_css as $g9l4l$slider_snap_css, slider_fading_factory as $g9l4l$slider_fading_factory, MinusIcon as $g9l4l$MinusIcon, FilterIcon as $g9l4l$FilterIcon, SortIconAsc as $g9l4l$SortIconAsc, SortIconDesc as $g9l4l$SortIconDesc, PlusIcon as $g9l4l$PlusIcon, TickIcon as $g9l4l$TickIcon, ArrowUp as $g9l4l$ArrowUp, normal_get_product_id as $g9l4l$normal_get_product_id, ContainedPlaceholderImage as $g9l4l$ContainedPlaceholderImage, BackIcon as $g9l4l$BackIcon, SearchIcon as $g9l4l$SearchIcon, Layout as $g9l4l$Layout, make_placeholder_rr as $g9l4l$make_placeholder_rr, async_iterable_ipns as $g9l4l$async_iterable_ipns, make_asyncIterable_exiter as $g9l4l$make_asyncIterable_exiter, href_change_ipns as $g9l4l$href_change_ipns, depict_click as $g9l4l$depict_click, impression_track_element as $g9l4l$impression_track_element, add_new_tab_listener as $g9l4l$add_new_tab_listener, ContainedImage as $g9l4l$ContainedImage, buildThresholdList as $g9l4l$buildThresholdList, PreviousSearchIcon as $g9l4l$PreviousSearchIcon, insert_surfaces as $g9l4l$insert_surfaces} from "@depict-ai/utilishared";
1
+ import {add_to_version_info as $g9l4l$add_to_version_info, fetch_recs as $g9l4l$fetch_recs, snakeCasifyObject as $g9l4l$snakeCasifyObject, GenericSliderArrowButton as $g9l4l$GenericSliderArrowButton, catchify as $g9l4l$catchify, base_url as $g9l4l$base_url, get_depict_id as $g9l4l$get_depict_id, get_user_id as $g9l4l$get_user_id, get_session_id as $g9l4l$get_session_id, dlog as $g9l4l$dlog, make_url_with_query_params as $g9l4l$make_url_with_query_params, fetch_retry as $g9l4l$fetch_retry, add_version_query_params as $g9l4l$add_version_query_params, sort_obj as $g9l4l$sort_obj, Tenant as $g9l4l$Tenant, Placeholder as $g9l4l$Placeholder, report as $g9l4l$report, javascript_media_query as $g9l4l$javascript_media_query, standard_price_format as $g9l4l$standard_price_format, deparallelize_no_drop as $g9l4l$deparallelize_no_drop, default_rr as $g9l4l$default_rr, make_random_classname as $g9l4l$make_random_classname, n_col_styling_with_dist as $g9l4l$n_col_styling_with_dist, observer as $g9l4l$observer, Lazyfier as $g9l4l$Lazyfier, queueMacroTask as $g9l4l$queueMacroTask, deparallelize as $g9l4l$deparallelize, Rec_Renderer as $g9l4l$Rec_Renderer, CrossIcon as $g9l4l$CrossIcon, useExpandingContainer as $g9l4l$useExpandingContainer, Amazing_Slider as $g9l4l$Amazing_Slider, slider_snap_css as $g9l4l$slider_snap_css, slider_fading_factory as $g9l4l$slider_fading_factory, MinusIcon as $g9l4l$MinusIcon, FilterIcon as $g9l4l$FilterIcon, SortIconAsc as $g9l4l$SortIconAsc, SortIconDesc as $g9l4l$SortIconDesc, PlusIcon as $g9l4l$PlusIcon, TickIcon as $g9l4l$TickIcon, ArrowUp as $g9l4l$ArrowUp, normal_get_product_id as $g9l4l$normal_get_product_id, ContainedPlaceholderImage as $g9l4l$ContainedPlaceholderImage, BackIcon as $g9l4l$BackIcon, SearchIcon as $g9l4l$SearchIcon, Layout as $g9l4l$Layout, make_placeholder_rr as $g9l4l$make_placeholder_rr, async_iterable_ipns as $g9l4l$async_iterable_ipns, make_asyncIterable_exiter as $g9l4l$make_asyncIterable_exiter, href_change_ipns as $g9l4l$href_change_ipns, depict_click as $g9l4l$depict_click, impression_track_element as $g9l4l$impression_track_element, add_new_tab_listener as $g9l4l$add_new_tab_listener, ContainedImage as $g9l4l$ContainedImage, buildThresholdList as $g9l4l$buildThresholdList, PreviousSearchIcon as $g9l4l$PreviousSearchIcon, insert_surfaces as $g9l4l$insert_surfaces} from "@depict-ai/utilishared";
2
2
  import {template as $g9l4l$template, insert as $g9l4l$insert, effect as $g9l4l$effect, setAttribute as $g9l4l$setAttribute, createComponent as $g9l4l$createComponent, use as $g9l4l$use, addEventListener as $g9l4l$addEventListener, delegateEvents as $g9l4l$delegateEvents, spread as $g9l4l$spread, memo as $g9l4l$memo, style as $g9l4l$style, mergeProps as $g9l4l$mergeProps, classList as $g9l4l$classList, className as $g9l4l$className} from "solid-js/web";
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
- /*! Depict.ai search and product listing SDK */
6
- const $18bf1d29fb889cca$export$83d89fbfd8236492 = "0.0.48";
5
+ /*! Depict.ai search and product listing SDK */ const $18bf1d29fb889cca$export$83d89fbfd8236492 = "0.0.50";
6
+
7
7
 
8
8
 
9
9
 
@@ -73,15 +73,6 @@ function $3075a4497054bec6$export$9862539c89138352(get_default_values) {
73
73
 
74
74
 
75
75
 
76
-
77
- /**
78
- * Adds things to the object we send to backend as a header to report the package versions used
79
- */ const $f22123a20b6b80b3$export$89a2f5e6eb5005b6 = {};
80
- function $f22123a20b6b80b3$export$2cefb7e61fcbae00(stuff_to_add) {
81
- Object.assign($f22123a20b6b80b3$export$89a2f5e6eb5005b6, stuff_to_add);
82
- }
83
-
84
-
85
76
  const $3846bb34098c738f$var$v2_base_url = (0, $g9l4l$base_url) + "/v2/";
86
77
  const $3846bb34098c738f$var$search_base_url = $3846bb34098c738f$var$v2_base_url + "search/";
87
78
  const $3846bb34098c738f$var$add_ids_to_request = (input_req)=>{
@@ -114,12 +105,7 @@ class $3846bb34098c738f$export$e015ed2f2950f2e3 {
114
105
  async suggest(input_req) {
115
106
  const request = $3846bb34098c738f$var$add_ids_to_request(input_req);
116
107
  const url = (0, $g9l4l$make_url_with_query_params)($3846bb34098c738f$var$search_base_url + "suggestions", request);
117
- const results = await (0, $g9l4l$fetch_retry)(url, {
118
- headers: {
119
- "Content-Type": "text/plain",
120
- ...$3846bb34098c738f$var$get_version_headers()
121
- }
122
- });
108
+ const results = await (0, $g9l4l$fetch_retry)((0, $g9l4l$add_version_query_params)(url));
123
109
  attempt_to_return_api_response: {
124
110
  if (!results) break attempt_to_return_api_response;
125
111
  const decoded_json = await results.json();
@@ -146,11 +132,7 @@ class $3846bb34098c738f$export$e015ed2f2950f2e3 {
146
132
  let resolve_in_progress;
147
133
  cache_obj.in_progress_[body] = new Promise((r)=>resolve_in_progress = r);
148
134
  try {
149
- const search_results = await (0, $g9l4l$fetch_retry)(endpoint1, {
150
- headers: {
151
- "Content-Type": "text/plain",
152
- ...$3846bb34098c738f$var$get_version_headers()
153
- },
135
+ const search_results = await (0, $g9l4l$fetch_retry)((0, $g9l4l$add_version_query_params)(endpoint1), {
154
136
  method: "POST",
155
137
  body: body
156
138
  });
@@ -202,18 +184,6 @@ class $3846bb34098c738f$export$e015ed2f2950f2e3 {
202
184
  }));
203
185
  }
204
186
  }
205
- function $3846bb34098c738f$var$get_version_headers() {
206
- // We can't use any header name or the browser will make an OPTIONS request which will slow down search a lot
207
- const version_object = {
208
- ...(0, $f22123a20b6b80b3$export$89a2f5e6eb5005b6),
209
- "@depict-ai/utilishared": (0, $g9l4l$version),
210
- "@depict-ai/ui": (0, $18bf1d29fb889cca$export$83d89fbfd8236492)
211
- };
212
- return {
213
- "Accept": Object.entries(version_object)// No special characters allowed: https://developer.mozilla.org/en-US/docs/Glossary/CORS-safelisted_request_header
214
- .map(([pkg, version])=>`${pkg.replaceAll("@", "")}=${version}`).join(",")
215
- };
216
- }
217
187
 
218
188
 
219
189
 
@@ -5256,8 +5226,6 @@ async function $80a49d3809ecb080$var$download_categories(tenant, market) {
5256
5226
 
5257
5227
 
5258
5228
 
5259
-
5260
-
5261
5229
  const $aaacfac0064e97d9$var$_tmpl$ = /*@__PURE__*/ (0, /*@__PURE__*/$g9l4l$template)(`<div class="instant-card"><div class="img-part"></div><div class="right-part"><div class="title-brand-tagline"><span class="title"></span></div></div></div>`, 10);
5262
5230
  function $aaacfac0064e97d9$export$ee1733d9a8495996() {
5263
5231
  return (()=>{
@@ -5326,8 +5294,8 @@ function $7a7079d66c12b788$export$d757d54550ebfb3d({ category_suggestion_: categ
5326
5294
 
5327
5295
 
5328
5296
 
5329
- const $3a2af5e36c43cf2f$var$_tmpl$ = /*@__PURE__*/ (0, /*@__PURE__*/$g9l4l$template)(`<button class="back" type="button"></button>`, 2), $3a2af5e36c43cf2f$var$_tmpl$2 = /*@__PURE__*/ (0, /*@__PURE__*/$g9l4l$template)(`<div class="query-input"><div class="field"><input class="query" tabindex="0"><button type="button" class="clear"></button></div><button class="submit major" type="button"></button></div>`, 9);
5330
- function $3a2af5e36c43cf2f$export$ff21851bb5d30e15({ search_field_value_: search_field_value_ , input_field_ref_: input_field_ref_ , field_element_ref_: field_element_ref_ , submit_query_: submit_query_ , override_on_enter_: override_on_enter_ , clear_filters_: clear_filters_ , disabled_: disabled_ = false , on_back_: on_back_ , i18n_: i18n_ }) {
5297
+ const $6ded59a142c93078$var$_tmpl$ = /*@__PURE__*/ (0, /*@__PURE__*/$g9l4l$template)(`<button class="back" type="button"></button>`, 2), $6ded59a142c93078$var$_tmpl$2 = /*@__PURE__*/ (0, /*@__PURE__*/$g9l4l$template)(`<div class="search-field"><div class="field"><input class="query" tabindex="0"><button type="button" class="clear"></button></div><button class="submit major" type="button"></button></div>`, 9);
5298
+ function $6ded59a142c93078$export$b94867ecbd698f21({ search_field_value_: search_field_value_ , input_field_ref_: input_field_ref_ , field_element_ref_: field_element_ref_ , submit_query_: submit_query_ , override_on_enter_: override_on_enter_ , clear_filters_: clear_filters_ , disabled_: disabled_ = false , on_back_: on_back_ , i18n_: i18n_ }) {
5331
5299
  let input_field;
5332
5300
  (0, $g9l4l$createEffect)((0, $g9l4l$catchify)(async ()=>{
5333
5301
  if (disabled_) return;
@@ -5336,11 +5304,11 @@ function $3a2af5e36c43cf2f$export$ff21851bb5d30e15({ search_field_value_: search
5336
5304
  input_field.focus();
5337
5305
  })); // focus field on render
5338
5306
  return (()=>{
5339
- const _el$ = $3a2af5e36c43cf2f$var$_tmpl$2.cloneNode(true), _el$3 = _el$.firstChild, _el$4 = _el$3.firstChild, _el$5 = _el$4.nextSibling, _el$6 = _el$3.nextSibling;
5307
+ const _el$ = $6ded59a142c93078$var$_tmpl$2.cloneNode(true), _el$3 = _el$.firstChild, _el$4 = _el$3.firstChild, _el$5 = _el$4.nextSibling, _el$6 = _el$3.nextSibling;
5340
5308
  (0, $g9l4l$insert)(_el$, (0, $g9l4l$createComponent)((0, $g9l4l$Show), {
5341
5309
  when: on_back_,
5342
5310
  get children () {
5343
- const _el$2 = $3a2af5e36c43cf2f$var$_tmpl$.cloneNode(true);
5311
+ const _el$2 = $6ded59a142c93078$var$_tmpl$.cloneNode(true);
5344
5312
  (0, $g9l4l$addEventListener)(_el$2, "click", (0, $g9l4l$catchify)(on_back_), true);
5345
5313
  (0, $g9l4l$insert)(_el$2, (0, $g9l4l$createComponent)((0, $g9l4l$BackIcon), {}));
5346
5314
  (0, $g9l4l$effect)(()=>(0, $g9l4l$setAttribute)(_el$2, "aria-label", i18n_.back_()));
@@ -5393,7 +5361,7 @@ function $3a2af5e36c43cf2f$export$ff21851bb5d30e15({ search_field_value_: search
5393
5361
  (0, $g9l4l$addEventListener)(_el$6, "click", (0, $g9l4l$catchify)(()=>submit_query_()), true);
5394
5362
  (0, $g9l4l$insert)(_el$6, (0, $g9l4l$createComponent)((0, $g9l4l$SearchIcon), {}));
5395
5363
  (0, $g9l4l$effect)((_p$)=>{
5396
- const _v$ = i18n_.query_input_field_aria_label_(), _v$2 = i18n_.placeholder_text_(), _v$3 = i18n_.clear_filters_query_sorting_after_submit_(), _v$4 = (0, $g9l4l$createMemo)(()=>search_field_value_[0]() ? "" : "display: none")(), _v$5 = i18n_.search_submit_button_aria_label_();
5364
+ const _v$ = i18n_.search_field_field_aria_label_(), _v$2 = i18n_.placeholder_text_(), _v$3 = i18n_.clear_filters_query_sorting_after_submit_(), _v$4 = (0, $g9l4l$createMemo)(()=>search_field_value_[0]() ? "" : "display: none")(), _v$5 = i18n_.search_submit_button_aria_label_();
5397
5365
  _v$ !== _p$._v$ && (0, $g9l4l$setAttribute)(_el$4, "aria-label", _p$._v$ = _v$);
5398
5366
  _v$2 !== _p$._v$2 && (0, $g9l4l$setAttribute)(_el$4, "placeholder", _p$._v$2 = _v$2);
5399
5367
  _v$3 !== _p$._v$3 && (0, $g9l4l$setAttribute)(_el$5, "title", _p$._v$3 = _v$3);
@@ -6766,7 +6734,7 @@ function $b24f16c875c2baa6$export$f021bdedd3ec901a(props) {
6766
6734
 
6767
6735
  const $a9f6faeac82c322b$var$_tmpl$ = /*@__PURE__*/ (0, /*@__PURE__*/$g9l4l$template)(`<div class="discover-more"><button class="major" type="button"></button></div>`, 4), $a9f6faeac82c322b$var$_tmpl$2 = /*@__PURE__*/ (0, /*@__PURE__*/$g9l4l$template)(`<b></b>`, 2), $a9f6faeac82c322b$var$_tmpl$3 = /*@__PURE__*/ (0, /*@__PURE__*/$g9l4l$template)(`<div class="depict-search-modal"><div class="body"><div class="padded"></div></div></div>`, 6), $a9f6faeac82c322b$var$_tmpl$4 = /*@__PURE__*/ (0, /*@__PURE__*/$g9l4l$template)(`<div class="depict plp search"><div class="depict-search-modal-backdrop"></div></div>`, 4);
6768
6736
  function $a9f6faeac82c322b$export$1c593cbd6f1e10bc({ search_field_value_: search_field_value_ , search_query_: search_query_ , search_page_url_param_name_: search_page_url_param_name_ , previous_searches_: previous_searches_ , close_modal_: close_modal_ , style_props_: style_props_ = (0, $g9l4l$createSignal)({}) , depict_api_: depict_api_ , tenant_: tenant_ , market_: market_ , submit_query_: submit_query_ , instant_results_options_: instant_results_options_ , register_closing_animation_: register_closing_animation_ , url_transformer_: url_transformer_ , closing_animation_: closing_animation_ , alternative_query_submitter_for_spas_: alternative_query_submitter_for_spas_ , clear_filters_: clear_filters_ , i18n_: i18n_ , disable_scrolling_: disable_scrolling_ = true , enable_category_suggestions_: enable_category_suggestions_ , class_list_: class_list_ , after_submit_: after_submit_ , bottom_distance_under_modal_: bottom_distance_under_modal_ , navigate_page_to_href_: navigate_page_to_href_ , on_submit_with_unchanged_value_: on_submit_with_unchanged_value_ }) {
6769
- let on_enter_in_query_input_function;
6737
+ let on_enter_in_search_field_function;
6770
6738
  const [input_field, set_input_field] = (0, $g9l4l$createSignal)();
6771
6739
  const [get_search_field_value_] = search_field_value_;
6772
6740
  const [elements_outside_scrollable, set_elements_outside_scrollable] = (0, $g9l4l$createSignal)();
@@ -6824,12 +6792,12 @@ function $a9f6faeac82c322b$export$1c593cbd6f1e10bc({ search_field_value_: search
6824
6792
  (0, $g9l4l$addEventListener)(_el$4, "click", (0, $g9l4l$catchify)(({ target: target })=>{
6825
6793
  if (target === modal_element) close_modal_();
6826
6794
  }), true);
6827
- (0, $g9l4l$insert)(_el$5, (0, $g9l4l$createComponent)((0, $3a2af5e36c43cf2f$export$ff21851bb5d30e15), {
6795
+ (0, $g9l4l$insert)(_el$5, (0, $g9l4l$createComponent)((0, $6ded59a142c93078$export$b94867ecbd698f21), {
6828
6796
  input_field_ref_: (element)=>set_input_field(element),
6829
6797
  search_query_: search_query_,
6830
6798
  search_field_value_: search_field_value_,
6831
6799
  submit_query_: submit_query_,
6832
- override_on_enter_: (e)=>on_enter_in_query_input_function?.(e),
6800
+ override_on_enter_: (e)=>on_enter_in_search_field_function?.(e),
6833
6801
  clear_filters_: clear_filters_,
6834
6802
  on_back_: close_modal_,
6835
6803
  i18n_: i18n_
@@ -6840,7 +6808,7 @@ function $a9f6faeac82c322b$export$1c593cbd6f1e10bc({ search_field_value_: search
6840
6808
  message_: "Autocomplete/suggestions failed",
6841
6809
  get children () {
6842
6810
  return (0, $g9l4l$createComponent)((0, $c7bc9269d29d4bdc$export$2f2b9559550c7bbc), {
6843
- set_override_on_enter_fn_: (new_fn)=>on_enter_in_query_input_function = new_fn,
6811
+ set_override_on_enter_fn_: (new_fn)=>on_enter_in_search_field_function = new_fn,
6844
6812
  input_field_: input_field,
6845
6813
  search_field_value_: search_field_value_,
6846
6814
  get previous_searches_text_ () {
@@ -7097,8 +7065,8 @@ function $b76e8f62b1f313ef$export$a54ec244c8863715(opts) {
7097
7065
  const modal_body_style = (0, $g9l4l$createSignal)({});
7098
7066
  let input_field;
7099
7067
  if (include_input_field_) {
7100
- const SafeQueryInput = (0, $g9l4l$catchify)((0, $3a2af5e36c43cf2f$export$ff21851bb5d30e15));
7101
- input_field = (0, $g9l4l$createComponent)(SafeQueryInput, {
7068
+ const SafeSearchField = (0, $g9l4l$catchify)((0, $6ded59a142c93078$export$b94867ecbd698f21));
7069
+ input_field = (0, $g9l4l$createComponent)(SafeSearchField, {
7102
7070
  i18n_: i18n_,
7103
7071
  disabled_: true,
7104
7072
  search_query_: search_query_,
@@ -7325,13 +7293,12 @@ function $b76e8f62b1f313ef$export$a54ec244c8863715(opts) {
7325
7293
 
7326
7294
 
7327
7295
 
7328
-
7329
- function $9783d52321be38fe$export$bec48a3a3ca6bc09(aligner) {
7296
+ function $a79ffb1cbfbd2a09$export$828dcdd425fd3231(aligner) {
7330
7297
  const style_element = document.createElement("style");
7331
7298
  document.head.append(style_element);
7332
7299
  const resize_observer = new ResizeObserver((0, $g9l4l$catchify)(()=>{
7333
7300
  const styles = (0, $246aa49a8f85c7f3$export$1233ca167bf71f9a)({
7334
- ".depict.plp .depict-search-modal .query-input": {
7301
+ ".depict.plp .depict-search-modal .search-field": {
7335
7302
  "height": `${aligner?.clientHeight}px`
7336
7303
  }
7337
7304
  });
@@ -7647,10 +7614,10 @@ function $540e930c58500cbe$export$f2dc7e4e4aa11abb({ depict_search: depict_searc
7647
7614
  });
7648
7615
  }, "Entire SearchPage failed");
7649
7616
  }
7650
- function $540e930c58500cbe$export$b94867ecbd698f21({ depict_search: depict_search , modal_dispose_handler: modal_dispose_handler , click_handler: click_handler , aligner_ref: aligner_ref }) {
7617
+ function $540e930c58500cbe$export$316f6f283ae64765({ depict_search: depict_search , modal_dispose_handler: modal_dispose_handler , click_handler: click_handler , aligner_ref: aligner_ref }) {
7651
7618
  const shared_properties = $540e930c58500cbe$var$get_shared_properties(depict_search);
7652
7619
  return (0, $c7f938ac40924f3b$export$23fca46f3143581f)(()=>{
7653
- const input = (0, $g9l4l$createComponent)((0, $3a2af5e36c43cf2f$export$ff21851bb5d30e15), {
7620
+ const input = (0, $g9l4l$createComponent)((0, $6ded59a142c93078$export$b94867ecbd698f21), {
7654
7621
  get search_query_ () {
7655
7622
  return shared_properties.search_query_signal_;
7656
7623
  },
@@ -7695,7 +7662,6 @@ function $540e930c58500cbe$export$b94867ecbd698f21({ depict_search: depict_searc
7695
7662
  (()=>{
7696
7663
  const _el$ = $540e930c58500cbe$var$_tmpl$.cloneNode(true);
7697
7664
  (0, $g9l4l$insert)(_el$, input);
7698
- (0, $g9l4l$effect)(()=>(0, $g9l4l$setAttribute)(_el$, "id", (0, $01115659405f3c64$export$44dad306455dddf).SEARCH_MODAL));
7699
7665
  return _el$;
7700
7666
  })()
7701
7667
  ];
@@ -7704,7 +7670,7 @@ function $540e930c58500cbe$export$b94867ecbd698f21({ depict_search: depict_searc
7704
7670
  function $540e930c58500cbe$var$align_field_modal(style_props_, input, aligner_ref) {
7705
7671
  return (0, $g9l4l$createRoot)((dispose)=>{
7706
7672
  if (aligner_ref) {
7707
- const { cleanup: cleanup } = (0, $9783d52321be38fe$export$bec48a3a3ca6bc09)(aligner_ref);
7673
+ const { cleanup: cleanup } = (0, $a79ffb1cbfbd2a09$export$828dcdd425fd3231)(aligner_ref);
7708
7674
  (0, $079defea521d5e2a$export$b3ad617e9036868)(style_props_, aligner_ref, undefined, false, "top");
7709
7675
  return {
7710
7676
  cleanup: ()=>{
@@ -7745,7 +7711,6 @@ function $a3e81b85527bc866$export$d0596b5cae35ad4(open_search) {
7745
7711
 
7746
7712
 
7747
7713
 
7748
-
7749
7714
  function $36316d7b4c897a03$export$689e204eadb33baf(pr) {
7750
7715
  let old_url;
7751
7716
  let disconnect_link_observer;
@@ -7878,7 +7843,7 @@ class $ba6c9609228edf6b$export$3ccaa27d81dd8556 extends EventTarget {
7878
7843
  }
7879
7844
 
7880
7845
 
7881
- (0, $g9l4l$dlog)("@depict-ai/ui version", (0, $18bf1d29fb889cca$export$83d89fbfd8236492));
7846
+ (0, $g9l4l$add_to_version_info)("ui", (0, $18bf1d29fb889cca$export$83d89fbfd8236492));
7882
7847
 
7883
7848
 
7884
- export {$e95f1855a5e3864f$export$58e808b1db15d3bc as fetchDepictRecommendations, $ec52ef1e6c117813$export$de035477d6fef996 as QuickLinks, $ec52ef1e6c117813$export$5b7c3ce0ebe51f86 as BreadCrumbs, $6340962f8bafd049$export$b91cec6bdc6b32a1 as CategoryTitle, $9b693ea3ff420de6$export$824dde41348efed1 as embedded_num_products, $80a49d3809ecb080$export$643598a327b5833e as get_categories, $ec52ef1e6c117813$export$f34314aa9505732e as DepictCategory, $ec52ef1e6c117813$export$e2bf8ce7779e827e as CategoryPage, $540e930c58500cbe$export$ac6237957a15b3f0 as DepictSearch, $540e930c58500cbe$export$bde3eb976dfded9 as get_search_query_updating_blocked_signal, $540e930c58500cbe$export$f2dc7e4e4aa11abb as SearchPage, $540e930c58500cbe$export$b94867ecbd698f21 as SearchField, $aaacfac0064e97d9$export$ee1733d9a8495996 as DefaultInstantCardPlaceholder, $079defea521d5e2a$export$b3ad617e9036868 as align_field, $246aa49a8f85c7f3$export$1233ca167bf71f9a as styles_to_valid_css_string, $a1123c5ed9b0ee29$export$fe334901e8bebd57 as disable_scrolling, $a3e81b85527bc866$export$d0596b5cae35ad4 as open_search_with_shift_slash, $972ebf2641490830$export$26df08e242fe83a3 as push_state_with_query_param_value, $3846bb34098c738f$export$e015ed2f2950f2e3 as DepictAPI, $f22123a20b6b80b3$export$2cefb7e61fcbae00 as add_to_version_info, $fefe7683325039b3$export$d9f36cf74e24d595 as media_query_to_accessor, $36316d7b4c897a03$export$689e204eadb33baf as setup_fast_leave, $886fa987db4f3805$export$5196e4c01fa56fcb as show_toast, $5178263ed1e394ca$export$469c7af753d08925 as solid_format_price, $9783d52321be38fe$export$bec48a3a3ca6bc09 as connect_query_input_height_to_aligner_height, $ba6c9609228edf6b$export$3ccaa27d81dd8556 as PageReplacer, $18bf1d29fb889cca$export$83d89fbfd8236492 as version};
7849
+ export {$e95f1855a5e3864f$export$58e808b1db15d3bc as fetchDepictRecommendations, $ec52ef1e6c117813$export$de035477d6fef996 as QuickLinks, $ec52ef1e6c117813$export$5b7c3ce0ebe51f86 as BreadCrumbs, $6340962f8bafd049$export$b91cec6bdc6b32a1 as CategoryTitle, $9b693ea3ff420de6$export$824dde41348efed1 as embedded_num_products, $80a49d3809ecb080$export$643598a327b5833e as get_categories, $ec52ef1e6c117813$export$f34314aa9505732e as DepictCategory, $ec52ef1e6c117813$export$e2bf8ce7779e827e as CategoryPage, $540e930c58500cbe$export$ac6237957a15b3f0 as DepictSearch, $540e930c58500cbe$export$bde3eb976dfded9 as get_search_query_updating_blocked_signal, $540e930c58500cbe$export$f2dc7e4e4aa11abb as SearchPage, $540e930c58500cbe$export$316f6f283ae64765 as SearchField, $aaacfac0064e97d9$export$ee1733d9a8495996 as DefaultInstantCardPlaceholder, $079defea521d5e2a$export$b3ad617e9036868 as align_field, $246aa49a8f85c7f3$export$1233ca167bf71f9a as styles_to_valid_css_string, $a1123c5ed9b0ee29$export$fe334901e8bebd57 as disable_scrolling, $a3e81b85527bc866$export$d0596b5cae35ad4 as open_search_with_shift_slash, $972ebf2641490830$export$26df08e242fe83a3 as push_state_with_query_param_value, $3846bb34098c738f$export$e015ed2f2950f2e3 as DepictAPI, $fefe7683325039b3$export$d9f36cf74e24d595 as media_query_to_accessor, $36316d7b4c897a03$export$689e204eadb33baf as setup_fast_leave, $886fa987db4f3805$export$5196e4c01fa56fcb as show_toast, $5178263ed1e394ca$export$469c7af753d08925 as solid_format_price, $a79ffb1cbfbd2a09$export$828dcdd425fd3231 as connect_search_field_height_to_aligner_height, $ba6c9609228edf6b$export$3ccaa27d81dd8556 as PageReplacer, $18bf1d29fb889cca$export$83d89fbfd8236492 as version};
@@ -53,7 +53,7 @@ interface search_i18n extends plp_shared_i18n {
53
53
  category_: string;
54
54
  suggestions_: string;
55
55
  search_submit_button_aria_label_: string;
56
- query_input_field_aria_label_: string;
56
+ search_field_field_aria_label_: string;
57
57
  previous_searches_delete_entry_from_history_: string;
58
58
  }
59
59
  /**
package/locales/index.js CHANGED
@@ -70,7 +70,7 @@ const $fec3b2c9bf29834a$export$434b5d2e9cbbcde1 = {
70
70
  "clear_filters_query_sorting_after_submit_": "Clear query. Also clear sorting and filters after next submit.",
71
71
  "placeholder_text_": "Search",
72
72
  search_submit_button_aria_label_: "Search",
73
- query_input_field_aria_label_: "Search query field",
73
+ search_field_field_aria_label_: "Search query field",
74
74
  previous_searches_delete_entry_from_history_: "Remove query from history",
75
75
  get_showing_results_for_: (q, number_of_results)=>{
76
76
  return q.textContent !== "" ? [
@@ -165,7 +165,7 @@ const $d511b90af38383e7$export$62ef558576ddaf3d = {
165
165
  "clear_filters_query_sorting_after_submit_": "Vymazat dotaz. Vymazat i tř\xedděn\xed a filtry po př\xedšt\xedm odesl\xe1n\xed.",
166
166
  "placeholder_text_": "Hled\xe1n\xed",
167
167
  search_submit_button_aria_label_: "Hled\xe1n\xed",
168
- "query_input_field_aria_label_": "Pol\xedčko dotazu hled\xe1n\xed",
168
+ "search_field_field_aria_label_": "Pol\xedčko dotazu hled\xe1n\xed",
169
169
  "previous_searches_delete_entry_from_history_": "Odebrat dotaz z historie"
170
170
  };
171
171
 
@@ -237,7 +237,7 @@ const $69aa53cc585ff425$export$70578856b2420b5d = {
237
237
  "previous_searches_text_": "Dine tidligere s\xf8gninger",
238
238
  "placeholder_text_": "S\xf8gning",
239
239
  "search_submit_button_aria_label_": "S\xf8gning",
240
- "query_input_field_aria_label_": "Felt til s\xf8gning",
240
+ "search_field_field_aria_label_": "Felt til s\xf8gning",
241
241
  "previous_searches_delete_entry_from_history_": "Fjern foresp\xf8rgsel fra historik",
242
242
  get_showing_results_for_: (q, number_of_results)=>{
243
243
  return q.textContent !== "" ? [
@@ -333,7 +333,7 @@ const $b1ed15f1060ca49b$export$5d14584e27bf4bc5 = {
333
333
  "clear_filters_query_sorting_after_submit_": "Zoekopdracht wissen. Wis ook sortering en filters na volgende verzending.",
334
334
  "placeholder_text_": "Zoeken",
335
335
  search_submit_button_aria_label_: "Zoeken",
336
- "query_input_field_aria_label_": "Zoeken met zoekveld",
336
+ "search_field_field_aria_label_": "Zoeken met zoekveld",
337
337
  "previous_searches_delete_entry_from_history_": "Verwijder zoekopdracht uit geschiedenis"
338
338
  };
339
339
 
@@ -418,7 +418,7 @@ const $27c3bbeb15a3775e$export$bb9c5e11b9203620 = {
418
418
  "search_recs_title_": "Muita vaihtoehtoja",
419
419
  "placeholder_text_": "Hae",
420
420
  search_submit_button_aria_label_: "Hae",
421
- "query_input_field_aria_label_": "Hakukentt\xe4",
421
+ "search_field_field_aria_label_": "Hakukentt\xe4",
422
422
  "previous_searches_delete_entry_from_history_": "Poista haku historiasta"
423
423
  };
424
424
 
@@ -502,7 +502,7 @@ const $10e3d3e9b795ccc1$export$e608b2bb21ba1862 = {
502
502
  "clear_filters_query_sorting_after_submit_": "Effacer la demande. Effacer aussi le tri et les filtres apr\xe8s le prochain envoi.",
503
503
  "placeholder_text_": "Rechercher",
504
504
  search_submit_button_aria_label_: "Rechercher",
505
- "query_input_field_aria_label_": "Champ de requ\xeate Rechercher",
505
+ "search_field_field_aria_label_": "Champ de requ\xeate Rechercher",
506
506
  "previous_searches_delete_entry_from_history_": "Supprimer une requ\xeate de l’historique"
507
507
  };
508
508
 
@@ -573,7 +573,7 @@ const $2cfb95bda7d63069$export$b43a5e72c07b4d2a = {
573
573
  "modal_discover_more_": "Mehr erforschen",
574
574
  search_submit_button_aria_label_: "Suchen",
575
575
  previous_searches_delete_entry_from_history_: "Anfrage aus Verlauf l\xf6schen",
576
- "query_input_field_aria_label_": "Suchanfragenfeld",
576
+ "search_field_field_aria_label_": "Suchanfragenfeld",
577
577
  "placeholder_text_": "Suchen",
578
578
  get_showing_results_for_: (q, number_of_results)=>{
579
579
  return q.textContent !== "" ? [
@@ -668,7 +668,7 @@ const $3330bf128d49ae78$export$c05550c0848a3fe4 = {
668
668
  "clear_filters_query_sorting_after_submit_": "Cancella query. Cancella anche selezione e filtri dopo il prossimo invio.",
669
669
  "placeholder_text_": "Ricerca",
670
670
  search_submit_button_aria_label_: "Ricerca",
671
- "query_input_field_aria_label_": "Cerca campo query",
671
+ "search_field_field_aria_label_": "Cerca campo query",
672
672
  "previous_searches_delete_entry_from_history_": "Rimuovi query dalla cronologia"
673
673
  };
674
674
 
@@ -741,7 +741,7 @@ const $aa3146c987095257$export$dcb702a89633f297 = {
741
741
  "placeholder_text_": "S\xf8k",
742
742
  search_submit_button_aria_label_: "S\xf8k",
743
743
  "previous_searches_delete_entry_from_history_": "Slett sp\xf8rsm\xe5l fra loggen",
744
- "query_input_field_aria_label_": "S\xf8k sp\xf8rsm\xe5lfelt",
744
+ "search_field_field_aria_label_": "S\xf8k sp\xf8rsm\xe5lfelt",
745
745
  get_showing_results_for_: (q, number_of_results)=>{
746
746
  return q.textContent !== "" ? [
747
747
  `Viser `,
@@ -832,7 +832,7 @@ const $1e935e73fa197514$export$b0eb0dd41442f532 = {
832
832
  "clear_filters_query_sorting_after_submit_": "Wyczyść zapytanie. Wyczyść r\xf3wnież sortowanie i filtry po następnym przesłaniu.",
833
833
  "placeholder_text_": "Wyszukaj",
834
834
  search_submit_button_aria_label_: "Wyszukaj",
835
- "query_input_field_aria_label_": "Pole wyszukiwania",
835
+ "search_field_field_aria_label_": "Pole wyszukiwania",
836
836
  "previous_searches_delete_entry_from_history_": "Usuń zapytanie z historii"
837
837
  };
838
838
 
@@ -905,7 +905,7 @@ const $439a41dad2acd223$export$b3b5aa2c4df8976f = {
905
905
  "clear_filters_query_sorting_after_submit_": "Limpar consulta. Limpar a sele\xe7\xe3o e os filtros depois do pr\xf3ximo envio.",
906
906
  "placeholder_text_": "Pesquisa",
907
907
  search_submit_button_aria_label_: "Pesquisa",
908
- "query_input_field_aria_label_": "Campo de consulta de pesquisa",
908
+ "search_field_field_aria_label_": "Campo de consulta de pesquisa",
909
909
  "previous_searches_delete_entry_from_history_": "Remover consultas do hist\xf3rico"
910
910
  };
911
911
 
@@ -989,7 +989,7 @@ const $5bfab7d1de1e67de$export$49b8f20513f0ff25 = {
989
989
  "clear_filters_query_sorting_after_submit_": "Borrar consulta. Eliminar tambi\xe9n la selecci\xf3n y los filtros despu\xe9s del pr\xf3ximo env\xedo.",
990
990
  "placeholder_text_": "B\xfasqueda",
991
991
  search_submit_button_aria_label_: "B\xfasqueda",
992
- "query_input_field_aria_label_": "Campo de consulta de b\xfasqueda",
992
+ "search_field_field_aria_label_": "Campo de consulta de b\xfasqueda",
993
993
  "previous_searches_delete_entry_from_history_": "Eliminar consulta del historial"
994
994
  };
995
995
 
@@ -1057,7 +1057,7 @@ const $8561c43f1475c0b5$export$596caee559c76764 = {
1057
1057
  "modal_discover_more_": "Utforska mer",
1058
1058
  "placeholder_text_": "S\xf6k",
1059
1059
  search_submit_button_aria_label_: "S\xf6k",
1060
- query_input_field_aria_label_: "S\xf6kf\xe4lt",
1060
+ search_field_field_aria_label_: "S\xf6kf\xe4lt",
1061
1061
  previous_searches_delete_entry_from_history_: "Ta bort f\xf6rfr\xe5ga fr\xe5n historiken",
1062
1062
  get_showing_results_for_: (q, number_of_results)=>{
1063
1063
  return q.textContent !== "" ? [
@@ -87,7 +87,7 @@ const $07db801ee546c1bd$export$434b5d2e9cbbcde1 = {
87
87
  "clear_filters_query_sorting_after_submit_": "Clear query. Also clear sorting and filters after next submit.",
88
88
  "placeholder_text_": "Search",
89
89
  search_submit_button_aria_label_: "Search",
90
- query_input_field_aria_label_: "Search query field",
90
+ search_field_field_aria_label_: "Search query field",
91
91
  previous_searches_delete_entry_from_history_: "Remove query from history",
92
92
  get_showing_results_for_: (q, number_of_results)=>{
93
93
  return q.textContent !== "" ? [
@@ -182,7 +182,7 @@ const $261a4d82817f7737$export$62ef558576ddaf3d = {
182
182
  "clear_filters_query_sorting_after_submit_": "Vymazat dotaz. Vymazat i tř\xedděn\xed a filtry po př\xedšt\xedm odesl\xe1n\xed.",
183
183
  "placeholder_text_": "Hled\xe1n\xed",
184
184
  search_submit_button_aria_label_: "Hled\xe1n\xed",
185
- "query_input_field_aria_label_": "Pol\xedčko dotazu hled\xe1n\xed",
185
+ "search_field_field_aria_label_": "Pol\xedčko dotazu hled\xe1n\xed",
186
186
  "previous_searches_delete_entry_from_history_": "Odebrat dotaz z historie"
187
187
  };
188
188
 
@@ -254,7 +254,7 @@ const $00908f6ac561c3a8$export$70578856b2420b5d = {
254
254
  "previous_searches_text_": "Dine tidligere s\xf8gninger",
255
255
  "placeholder_text_": "S\xf8gning",
256
256
  "search_submit_button_aria_label_": "S\xf8gning",
257
- "query_input_field_aria_label_": "Felt til s\xf8gning",
257
+ "search_field_field_aria_label_": "Felt til s\xf8gning",
258
258
  "previous_searches_delete_entry_from_history_": "Fjern foresp\xf8rgsel fra historik",
259
259
  get_showing_results_for_: (q, number_of_results)=>{
260
260
  return q.textContent !== "" ? [
@@ -350,7 +350,7 @@ const $fc1dde9179ef0a66$export$5d14584e27bf4bc5 = {
350
350
  "clear_filters_query_sorting_after_submit_": "Zoekopdracht wissen. Wis ook sortering en filters na volgende verzending.",
351
351
  "placeholder_text_": "Zoeken",
352
352
  search_submit_button_aria_label_: "Zoeken",
353
- "query_input_field_aria_label_": "Zoeken met zoekveld",
353
+ "search_field_field_aria_label_": "Zoeken met zoekveld",
354
354
  "previous_searches_delete_entry_from_history_": "Verwijder zoekopdracht uit geschiedenis"
355
355
  };
356
356
 
@@ -435,7 +435,7 @@ const $35be04fa51a001db$export$bb9c5e11b9203620 = {
435
435
  "search_recs_title_": "Muita vaihtoehtoja",
436
436
  "placeholder_text_": "Hae",
437
437
  search_submit_button_aria_label_: "Hae",
438
- "query_input_field_aria_label_": "Hakukentt\xe4",
438
+ "search_field_field_aria_label_": "Hakukentt\xe4",
439
439
  "previous_searches_delete_entry_from_history_": "Poista haku historiasta"
440
440
  };
441
441
 
@@ -519,7 +519,7 @@ const $590f0e69b6cd50a9$export$e608b2bb21ba1862 = {
519
519
  "clear_filters_query_sorting_after_submit_": "Effacer la demande. Effacer aussi le tri et les filtres apr\xe8s le prochain envoi.",
520
520
  "placeholder_text_": "Rechercher",
521
521
  search_submit_button_aria_label_: "Rechercher",
522
- "query_input_field_aria_label_": "Champ de requ\xeate Rechercher",
522
+ "search_field_field_aria_label_": "Champ de requ\xeate Rechercher",
523
523
  "previous_searches_delete_entry_from_history_": "Supprimer une requ\xeate de l’historique"
524
524
  };
525
525
 
@@ -590,7 +590,7 @@ const $5b1e507b0a7fe0ba$export$b43a5e72c07b4d2a = {
590
590
  "modal_discover_more_": "Mehr erforschen",
591
591
  search_submit_button_aria_label_: "Suchen",
592
592
  previous_searches_delete_entry_from_history_: "Anfrage aus Verlauf l\xf6schen",
593
- "query_input_field_aria_label_": "Suchanfragenfeld",
593
+ "search_field_field_aria_label_": "Suchanfragenfeld",
594
594
  "placeholder_text_": "Suchen",
595
595
  get_showing_results_for_: (q, number_of_results)=>{
596
596
  return q.textContent !== "" ? [
@@ -685,7 +685,7 @@ const $d5d486bbb5a01dfd$export$c05550c0848a3fe4 = {
685
685
  "clear_filters_query_sorting_after_submit_": "Cancella query. Cancella anche selezione e filtri dopo il prossimo invio.",
686
686
  "placeholder_text_": "Ricerca",
687
687
  search_submit_button_aria_label_: "Ricerca",
688
- "query_input_field_aria_label_": "Cerca campo query",
688
+ "search_field_field_aria_label_": "Cerca campo query",
689
689
  "previous_searches_delete_entry_from_history_": "Rimuovi query dalla cronologia"
690
690
  };
691
691
 
@@ -758,7 +758,7 @@ const $3e0b02b5e1ab2064$export$dcb702a89633f297 = {
758
758
  "placeholder_text_": "S\xf8k",
759
759
  search_submit_button_aria_label_: "S\xf8k",
760
760
  "previous_searches_delete_entry_from_history_": "Slett sp\xf8rsm\xe5l fra loggen",
761
- "query_input_field_aria_label_": "S\xf8k sp\xf8rsm\xe5lfelt",
761
+ "search_field_field_aria_label_": "S\xf8k sp\xf8rsm\xe5lfelt",
762
762
  get_showing_results_for_: (q, number_of_results)=>{
763
763
  return q.textContent !== "" ? [
764
764
  `Viser `,
@@ -849,7 +849,7 @@ const $8e05c59dcfcb636b$export$b0eb0dd41442f532 = {
849
849
  "clear_filters_query_sorting_after_submit_": "Wyczyść zapytanie. Wyczyść r\xf3wnież sortowanie i filtry po następnym przesłaniu.",
850
850
  "placeholder_text_": "Wyszukaj",
851
851
  search_submit_button_aria_label_: "Wyszukaj",
852
- "query_input_field_aria_label_": "Pole wyszukiwania",
852
+ "search_field_field_aria_label_": "Pole wyszukiwania",
853
853
  "previous_searches_delete_entry_from_history_": "Usuń zapytanie z historii"
854
854
  };
855
855
 
@@ -922,7 +922,7 @@ const $c62c6ac8a38bed4c$export$b3b5aa2c4df8976f = {
922
922
  "clear_filters_query_sorting_after_submit_": "Limpar consulta. Limpar a sele\xe7\xe3o e os filtros depois do pr\xf3ximo envio.",
923
923
  "placeholder_text_": "Pesquisa",
924
924
  search_submit_button_aria_label_: "Pesquisa",
925
- "query_input_field_aria_label_": "Campo de consulta de pesquisa",
925
+ "search_field_field_aria_label_": "Campo de consulta de pesquisa",
926
926
  "previous_searches_delete_entry_from_history_": "Remover consultas do hist\xf3rico"
927
927
  };
928
928
 
@@ -1006,7 +1006,7 @@ const $2fc92e29bfc8e851$export$49b8f20513f0ff25 = {
1006
1006
  "clear_filters_query_sorting_after_submit_": "Borrar consulta. Eliminar tambi\xe9n la selecci\xf3n y los filtros despu\xe9s del pr\xf3ximo env\xedo.",
1007
1007
  "placeholder_text_": "B\xfasqueda",
1008
1008
  search_submit_button_aria_label_: "B\xfasqueda",
1009
- "query_input_field_aria_label_": "Campo de consulta de b\xfasqueda",
1009
+ "search_field_field_aria_label_": "Campo de consulta de b\xfasqueda",
1010
1010
  "previous_searches_delete_entry_from_history_": "Eliminar consulta del historial"
1011
1011
  };
1012
1012
 
@@ -1074,7 +1074,7 @@ const $e6136be0f36561ba$export$596caee559c76764 = {
1074
1074
  "modal_discover_more_": "Utforska mer",
1075
1075
  "placeholder_text_": "S\xf6k",
1076
1076
  search_submit_button_aria_label_: "S\xf6k",
1077
- query_input_field_aria_label_: "S\xf6kf\xe4lt",
1077
+ search_field_field_aria_label_: "S\xf6kf\xe4lt",
1078
1078
  previous_searches_delete_entry_from_history_: "Ta bort f\xf6rfr\xe5ga fr\xe5n historiken",
1079
1079
  get_showing_results_for_: (q, number_of_results)=>{
1080
1080
  return q.textContent !== "" ? [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@depict-ai/ui",
3
- "version": "0.0.48",
3
+ "version": "0.0.50",
4
4
  "packageManager": "yarn@3.2.2",
5
5
  "source": [
6
6
  "src/index.ts",
@@ -70,7 +70,6 @@
70
70
  "@babel/preset-typescript": "latest",
71
71
  "@babel/runtime": "latest",
72
72
  "@babel/runtime-corejs3": "latest",
73
- "@depict-ai/types": "^0.0.1",
74
73
  "@jest/globals": "^29.3.1",
75
74
  "@parcel/babel-preset-env": "latest",
76
75
  "@parcel/resolver-default": "^2.8.0",
@@ -82,7 +81,8 @@
82
81
  "ts-jest": "^29.0.3"
83
82
  },
84
83
  "dependencies": {
85
- "@depict-ai/utilishared": "^0.0.46",
84
+ "@depict-ai/types": "^0.0.3",
85
+ "@depict-ai/utilishared": "^0.0.47",
86
86
  "solid-js": "^1.6.2"
87
87
  },
88
88
  "types": "dist/index.d.ts"