@depict-ai/ui 4.10.0 → 4.10.1

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
@@ -115,7 +115,7 @@ $parcel$export(module.exports, "BreadCrumbs", () => $335c02c1241a9ca8$export$5b7
115
115
  $parcel$export(module.exports, "QuickLinks", () => $335c02c1241a9ca8$export$de035477d6fef996);
116
116
  $parcel$export(module.exports, "CategoryPage", () => $c10e33c4681f8c9b$export$e2bf8ce7779e827e);
117
117
  /*! Depict.ai search and product listing SDK */
118
- const $aa1938dec50d6c12$export$83d89fbfd8236492 = "4.10.0";
118
+ const $aa1938dec50d6c12$export$83d89fbfd8236492 = "4.10.1";
119
119
  function $3e17e871e9d0911d$export$d9f36cf74e24d595(media_query) {
120
120
  const signal = $52FdA$solidjs.createSignal(false);
121
121
  $52FdA$solidjs.onCleanup($52FdA$depictaiutilishared.javascript_media_query(media_query, _ref => {
@@ -8126,7 +8126,14 @@ function $c19709057a32b2e7$export$780a853d15174484(_ref) {
8126
8126
  var _ref$ = $52FdA$depictaiutilisharedlatest.catchify(async element => {
8127
8127
  const pageVisible = $e7a7d2fe8a8217d8$export$54299a3c81f5425();
8128
8128
  const owner = $52FdA$solidjs.getOwner();
8129
+ const [retryPlayToggle, setRetryPlayToggle] = $52FdA$solidjs.createSignal(false);
8129
8130
  element.addEventListener("loadedmetadata", $52FdA$depictaiutilisharedlatest.catchify(() => setAspectRatio(element.videoWidth / element.videoHeight)));
8131
+ // Work around https://github.com/ryansolid/dom-expressions/issues/384
8132
+ element.controls = false;
8133
+ element.muted = true;
8134
+ element.autoplay = true;
8135
+ element.playsInline = true;
8136
+ element.loop = true;
8130
8137
  // If hls is not supported, dynamically import hls.js as polyfill
8131
8138
  if (mediaUrl_.includes(".m3u8") && !element.canPlayType("application/vnd.apple.mpegurl")) {
8132
8139
  const hlsJs = await $8e8c89c02c16dc7b$export$5d2f6cd705125cd3().catch(e => $52FdA$depictaiutilisharedlatest.report([e, "Failed to load hls.js"], "error"));
@@ -8135,7 +8142,6 @@ function $c19709057a32b2e7$export$780a853d15174484(_ref) {
8135
8142
  hls.loadSource(mediaUrl_);
8136
8143
  hls.attachMedia(element);
8137
8144
  }
8138
- const [retryPlayToggle, setRetryPlayToggle] = $52FdA$solidjs.createSignal(false);
8139
8145
  // need runWithOwner for createEffect, because we potentially awaited above
8140
8146
  $52FdA$solidjs.runWithOwner(owner, () => $52FdA$solidjs.createEffect(() => {
8141
8147
  retryPlayToggle();
@@ -8152,11 +8158,6 @@ function $c19709057a32b2e7$export$780a853d15174484(_ref) {
8152
8158
  typeof _ref$ === "function" && $52FdA$solidjsweb.use(_ref$, _el$);
8153
8159
  _el$.addEventListener("playing", () => setHasLoaded(true));
8154
8160
  $52FdA$solidjsweb.setAttribute(_el$, "src", mediaUrl_);
8155
- $52FdA$solidjsweb.setProperty(_el$, "controls", false);
8156
- $52FdA$solidjsweb.setProperty(_el$, "muted", true);
8157
- $52FdA$solidjsweb.setProperty(_el$, "autoplay", true);
8158
- $52FdA$solidjsweb.setProperty(_el$, "playsinline", true);
8159
- $52FdA$solidjsweb.setProperty(_el$, "loop", true);
8160
8161
  $52FdA$solidjsweb.setAttribute(_el$, "disablepictureinpicture", true);
8161
8162
  return _el$;
8162
8163
  }
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.10.0";
14
+ export const version = "4.10.1";
15
15
  /**
16
16
  * Use `javascript_media_query` but return a reactive accessor instead of taking a callback function
17
17
  */
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.10.0";
13
+ const $8db9a15135765c11$export$83d89fbfd8236492 = "4.10.1";
14
14
  function $00a5b94f0c11efbb$export$d9f36cf74e24d595(media_query) {
15
15
  const signal = $8tj43$createSignal(false);
16
16
  $8tj43$onCleanup($8tj43$javascript_media_query(media_query, _ref => {
@@ -8021,7 +8021,14 @@ function $3b772ef9a35560fe$export$780a853d15174484(_ref) {
8021
8021
  var _ref$ = $8tj43$catchify(async element => {
8022
8022
  const pageVisible = $a35e6f680c5bbc60$export$54299a3c81f5425();
8023
8023
  const owner = $8tj43$getOwner();
8024
+ const [retryPlayToggle, setRetryPlayToggle] = $8tj43$createSignal(false);
8024
8025
  element.addEventListener("loadedmetadata", $8tj43$catchify(() => setAspectRatio(element.videoWidth / element.videoHeight)));
8026
+ // Work around https://github.com/ryansolid/dom-expressions/issues/384
8027
+ element.controls = false;
8028
+ element.muted = true;
8029
+ element.autoplay = true;
8030
+ element.playsInline = true;
8031
+ element.loop = true;
8025
8032
  // If hls is not supported, dynamically import hls.js as polyfill
8026
8033
  if (mediaUrl_.includes(".m3u8") && !element.canPlayType("application/vnd.apple.mpegurl")) {
8027
8034
  const hlsJs = await $e92c154db502596d$export$5d2f6cd705125cd3().catch(e => $8tj43$report([e, "Failed to load hls.js"], "error"));
@@ -8030,7 +8037,6 @@ function $3b772ef9a35560fe$export$780a853d15174484(_ref) {
8030
8037
  hls.loadSource(mediaUrl_);
8031
8038
  hls.attachMedia(element);
8032
8039
  }
8033
- const [retryPlayToggle, setRetryPlayToggle] = $8tj43$createSignal(false);
8034
8040
  // need runWithOwner for createEffect, because we potentially awaited above
8035
8041
  $8tj43$runWithOwner(owner, () => $8tj43$createEffect(() => {
8036
8042
  retryPlayToggle();
@@ -8047,11 +8053,6 @@ function $3b772ef9a35560fe$export$780a853d15174484(_ref) {
8047
8053
  typeof _ref$ === "function" && $8tj43$use(_ref$, _el$);
8048
8054
  _el$.addEventListener("playing", () => setHasLoaded(true));
8049
8055
  $8tj43$setAttribute(_el$, "src", mediaUrl_);
8050
- $8tj43$setProperty(_el$, "controls", false);
8051
- $8tj43$setProperty(_el$, "muted", true);
8052
- $8tj43$setProperty(_el$, "autoplay", true);
8053
- $8tj43$setProperty(_el$, "playsinline", true);
8054
- $8tj43$setProperty(_el$, "loop", true);
8055
8056
  $8tj43$setAttribute(_el$, "disablepictureinpicture", true);
8056
8057
  return _el$;
8057
8058
  }
package/latest/index.cjs CHANGED
@@ -109,7 +109,7 @@ $parcel$export(module.exports, "BreadCrumbs", () => $1f4925833f07df29$export$5b7
109
109
  $parcel$export(module.exports, "QuickLinks", () => $1f4925833f07df29$export$de035477d6fef996);
110
110
  $parcel$export(module.exports, "CategoryPage", () => $14f289047713d67a$export$e2bf8ce7779e827e);
111
111
  /*! Depict.ai search and product listing SDK */
112
- const $b757f75811f3261f$export$83d89fbfd8236492 = "4.10.0";
112
+ const $b757f75811f3261f$export$83d89fbfd8236492 = "4.10.1";
113
113
  function $b54e6192d0caa293$export$d9f36cf74e24d595(media_query) {
114
114
  const signal = $gVhhF$solidjs.createSignal(false);
115
115
  $gVhhF$solidjs.onCleanup($gVhhF$depictaiutilishared.javascript_media_query(media_query, ({
@@ -7688,7 +7688,14 @@ function $32c662f618f5d80d$export$780a853d15174484({
7688
7688
  var _ref$ = $gVhhF$depictaiutilisharedlatest.catchify(async element => {
7689
7689
  const pageVisible = $55cbacb79d3e0cea$export$54299a3c81f5425();
7690
7690
  const owner = $gVhhF$solidjs.getOwner();
7691
+ const [retryPlayToggle, setRetryPlayToggle] = $gVhhF$solidjs.createSignal(false);
7691
7692
  element.addEventListener("loadedmetadata", $gVhhF$depictaiutilisharedlatest.catchify(() => setAspectRatio(element.videoWidth / element.videoHeight)));
7693
+ // Work around https://github.com/ryansolid/dom-expressions/issues/384
7694
+ element.controls = false;
7695
+ element.muted = true;
7696
+ element.autoplay = true;
7697
+ element.playsInline = true;
7698
+ element.loop = true;
7692
7699
  // If hls is not supported, dynamically import hls.js as polyfill
7693
7700
  if (mediaUrl_.includes(".m3u8") && !element.canPlayType("application/vnd.apple.mpegurl")) {
7694
7701
  const hlsJs = await $20ff40266d725403$export$5d2f6cd705125cd3().catch(e => $gVhhF$depictaiutilisharedlatest.report([e, "Failed to load hls.js"], "error"));
@@ -7697,7 +7704,6 @@ function $32c662f618f5d80d$export$780a853d15174484({
7697
7704
  hls.loadSource(mediaUrl_);
7698
7705
  hls.attachMedia(element);
7699
7706
  }
7700
- const [retryPlayToggle, setRetryPlayToggle] = $gVhhF$solidjs.createSignal(false);
7701
7707
  // need runWithOwner for createEffect, because we potentially awaited above
7702
7708
  $gVhhF$solidjs.runWithOwner(owner, () => $gVhhF$solidjs.createEffect(() => {
7703
7709
  retryPlayToggle();
@@ -7714,11 +7720,6 @@ function $32c662f618f5d80d$export$780a853d15174484({
7714
7720
  typeof _ref$ === "function" && $gVhhF$solidjsweb.use(_ref$, _el$);
7715
7721
  _el$.addEventListener("playing", () => setHasLoaded(true));
7716
7722
  $gVhhF$solidjsweb.setAttribute(_el$, "src", mediaUrl_);
7717
- $gVhhF$solidjsweb.setProperty(_el$, "controls", false);
7718
- $gVhhF$solidjsweb.setProperty(_el$, "muted", true);
7719
- $gVhhF$solidjsweb.setProperty(_el$, "autoplay", true);
7720
- $gVhhF$solidjsweb.setProperty(_el$, "playsinline", true);
7721
- $gVhhF$solidjsweb.setProperty(_el$, "loop", true);
7722
7723
  $gVhhF$solidjsweb.setAttribute(_el$, "disablepictureinpicture", true);
7723
7724
  return _el$;
7724
7725
  }
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.10.0";
14
+ export const version = "4.10.1";
15
15
  /**
16
16
  * Use `javascript_media_query` but return a reactive accessor instead of taking a callback function
17
17
  */
package/latest/index.js CHANGED
@@ -7,7 +7,7 @@ import { createStore as $9HbP8$createStore, reconcile as $9HbP8$reconcile } from
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.10.0";
10
+ const $ec291e0010116877$export$83d89fbfd8236492 = "4.10.1";
11
11
  function $dc9262ef6f786812$export$d9f36cf74e24d595(media_query) {
12
12
  const signal = $9HbP8$createSignal(false);
13
13
  $9HbP8$onCleanup($9HbP8$javascript_media_query(media_query, ({
@@ -7586,7 +7586,14 @@ function $f916989c4b1be9f7$export$780a853d15174484({
7586
7586
  var _ref$ = $9HbP8$catchify(async element => {
7587
7587
  const pageVisible = $5e3d278ef4c80cd7$export$54299a3c81f5425();
7588
7588
  const owner = $9HbP8$getOwner();
7589
+ const [retryPlayToggle, setRetryPlayToggle] = $9HbP8$createSignal(false);
7589
7590
  element.addEventListener("loadedmetadata", $9HbP8$catchify(() => setAspectRatio(element.videoWidth / element.videoHeight)));
7591
+ // Work around https://github.com/ryansolid/dom-expressions/issues/384
7592
+ element.controls = false;
7593
+ element.muted = true;
7594
+ element.autoplay = true;
7595
+ element.playsInline = true;
7596
+ element.loop = true;
7590
7597
  // If hls is not supported, dynamically import hls.js as polyfill
7591
7598
  if (mediaUrl_.includes(".m3u8") && !element.canPlayType("application/vnd.apple.mpegurl")) {
7592
7599
  const hlsJs = await $e422ea9eccb7892b$export$5d2f6cd705125cd3().catch(e => $9HbP8$report([e, "Failed to load hls.js"], "error"));
@@ -7595,7 +7602,6 @@ function $f916989c4b1be9f7$export$780a853d15174484({
7595
7602
  hls.loadSource(mediaUrl_);
7596
7603
  hls.attachMedia(element);
7597
7604
  }
7598
- const [retryPlayToggle, setRetryPlayToggle] = $9HbP8$createSignal(false);
7599
7605
  // need runWithOwner for createEffect, because we potentially awaited above
7600
7606
  $9HbP8$runWithOwner(owner, () => $9HbP8$createEffect(() => {
7601
7607
  retryPlayToggle();
@@ -7612,11 +7618,6 @@ function $f916989c4b1be9f7$export$780a853d15174484({
7612
7618
  typeof _ref$ === "function" && $9HbP8$use(_ref$, _el$);
7613
7619
  _el$.addEventListener("playing", () => setHasLoaded(true));
7614
7620
  $9HbP8$setAttribute(_el$, "src", mediaUrl_);
7615
- $9HbP8$setProperty(_el$, "controls", false);
7616
- $9HbP8$setProperty(_el$, "muted", true);
7617
- $9HbP8$setProperty(_el$, "autoplay", true);
7618
- $9HbP8$setProperty(_el$, "playsinline", true);
7619
- $9HbP8$setProperty(_el$, "loop", true);
7620
7621
  $9HbP8$setAttribute(_el$, "disablepictureinpicture", true);
7621
7622
  return _el$;
7622
7623
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@depict-ai/ui",
3
- "version": "4.10.0",
3
+ "version": "4.10.1",
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",
@@ -115,7 +115,7 @@ $parcel$export(module.exports, "BreadCrumbs", () => $335c02c1241a9ca8$export$5b7
115
115
  $parcel$export(module.exports, "QuickLinks", () => $335c02c1241a9ca8$export$de035477d6fef996);
116
116
  $parcel$export(module.exports, "CategoryPage", () => $c10e33c4681f8c9b$export$e2bf8ce7779e827e);
117
117
  /*! Depict.ai search and product listing SDK */
118
- const $aa1938dec50d6c12$export$83d89fbfd8236492 = "4.10.0";
118
+ const $aa1938dec50d6c12$export$83d89fbfd8236492 = "4.10.1";
119
119
  function $3e17e871e9d0911d$export$d9f36cf74e24d595(media_query) {
120
120
  const signal = $3hooq$solidjs.createSignal(false);
121
121
  $3hooq$solidjs.onCleanup($3hooq$depictaiutilishared.javascript_media_query(media_query, _ref => {
@@ -6611,7 +6611,7 @@ function $f3db423dc84bc35d$export$140423fa4bfb6d63(props) {
6611
6611
  customUrls: $f3db423dc84bc35d$var$customUrls
6612
6612
  }));
6613
6613
  }
6614
- var $c19709057a32b2e7$var$_tmpl$ = ["<video", ' muted="" autoplay="" playsinline="" loop="" disablepictureinpicture="true" class="d-standard-content"></video>'];
6614
+ var $c19709057a32b2e7$var$_tmpl$ = ["<video", ' disablepictureinpicture="true" class="d-standard-content"></video>'];
6615
6615
  function $c19709057a32b2e7$export$780a853d15174484(_ref) {
6616
6616
  let {
6617
6617
  link_: link_,
@@ -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.10.0";
14
+ export const version = "4.10.1";
15
15
  /**
16
16
  * Use `javascript_media_query` but return a reactive accessor instead of taking a callback function
17
17
  */
@@ -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.10.0";
13
+ const $8db9a15135765c11$export$83d89fbfd8236492 = "4.10.1";
14
14
  function $00a5b94f0c11efbb$export$d9f36cf74e24d595(media_query) {
15
15
  const signal = $b8hua$createSignal(false);
16
16
  $b8hua$onCleanup($b8hua$javascript_media_query(media_query, _ref => {
@@ -6506,7 +6506,7 @@ function $98688279b9059f50$export$140423fa4bfb6d63(props) {
6506
6506
  customUrls: $98688279b9059f50$var$customUrls
6507
6507
  }));
6508
6508
  }
6509
- var $3b772ef9a35560fe$var$_tmpl$ = ["<video", ' muted="" autoplay="" playsinline="" loop="" disablepictureinpicture="true" class="d-standard-content"></video>'];
6509
+ var $3b772ef9a35560fe$var$_tmpl$ = ["<video", ' disablepictureinpicture="true" class="d-standard-content"></video>'];
6510
6510
  function $3b772ef9a35560fe$export$780a853d15174484(_ref) {
6511
6511
  let {
6512
6512
  link_: link_,
@@ -109,7 +109,7 @@ $parcel$export(module.exports, "BreadCrumbs", () => $1f4925833f07df29$export$5b7
109
109
  $parcel$export(module.exports, "QuickLinks", () => $1f4925833f07df29$export$de035477d6fef996);
110
110
  $parcel$export(module.exports, "CategoryPage", () => $14f289047713d67a$export$e2bf8ce7779e827e);
111
111
  /*! Depict.ai search and product listing SDK */
112
- const $b757f75811f3261f$export$83d89fbfd8236492 = "4.10.0";
112
+ const $b757f75811f3261f$export$83d89fbfd8236492 = "4.10.1";
113
113
  function $b54e6192d0caa293$export$d9f36cf74e24d595(media_query) {
114
114
  const signal = $5vyXB$solidjs.createSignal(false);
115
115
  $5vyXB$solidjs.onCleanup($5vyXB$depictaiutilishared.javascript_media_query(media_query, ({
@@ -6233,7 +6233,7 @@ function $d212a67662c5cf38$export$140423fa4bfb6d63(props) {
6233
6233
  customUrls: $d212a67662c5cf38$var$customUrls
6234
6234
  }));
6235
6235
  }
6236
- var $32c662f618f5d80d$var$_tmpl$ = ["<video", ' muted="" autoplay="" playsinline="" loop="" disablepictureinpicture="true" class="d-standard-content"></video>'];
6236
+ var $32c662f618f5d80d$var$_tmpl$ = ["<video", ' disablepictureinpicture="true" class="d-standard-content"></video>'];
6237
6237
  function $32c662f618f5d80d$export$780a853d15174484({
6238
6238
  link_: link_,
6239
6239
  type_: type_,
@@ -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.10.0";
14
+ export const version = "4.10.1";
15
15
  /**
16
16
  * Use `javascript_media_query` but return a reactive accessor instead of taking a callback function
17
17
  */
@@ -7,7 +7,7 @@ import { createStore as $i7OB2$createStore, reconcile as $i7OB2$reconcile } from
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.10.0";
10
+ const $ec291e0010116877$export$83d89fbfd8236492 = "4.10.1";
11
11
  function $dc9262ef6f786812$export$d9f36cf74e24d595(media_query) {
12
12
  const signal = $i7OB2$createSignal(false);
13
13
  $i7OB2$onCleanup($i7OB2$javascript_media_query(media_query, ({
@@ -6131,7 +6131,7 @@ function $70bb27cc6be01fc7$export$140423fa4bfb6d63(props) {
6131
6131
  customUrls: $70bb27cc6be01fc7$var$customUrls
6132
6132
  }));
6133
6133
  }
6134
- var $f916989c4b1be9f7$var$_tmpl$ = ["<video", ' muted="" autoplay="" playsinline="" loop="" disablepictureinpicture="true" class="d-standard-content"></video>'];
6134
+ var $f916989c4b1be9f7$var$_tmpl$ = ["<video", ' disablepictureinpicture="true" class="d-standard-content"></video>'];
6135
6135
  function $f916989c4b1be9f7$export$780a853d15174484({
6136
6136
  link_: link_,
6137
6137
  type_: type_,