@depict-ai/ui 1.4.14 → 1.4.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
@@ -60,7 +60,7 @@ $parcel$export(module.exports, "defaultColsAtSize", () => $33eed84f447aa0c0$expo
60
60
  $parcel$export(module.exports, "defaultCategoryTitlePlugin", () => $33eed84f447aa0c0$export$7bf543b9d9be2c22);
61
61
  $parcel$export(module.exports, "version", () => $aa1938dec50d6c12$export$83d89fbfd8236492);
62
62
  /*! Depict.ai search and product listing SDK */
63
- const $aa1938dec50d6c12$export$83d89fbfd8236492 = "1.4.14";
63
+ const $aa1938dec50d6c12$export$83d89fbfd8236492 = "1.4.15";
64
64
  function $d6d51b09cb2116a6$export$5bad61ecde080b1f() {
65
65
  const {
66
66
  collapse: collapse,
@@ -2065,8 +2065,7 @@ function $476a3dc36afc1938$export$82ed4b28ecb67608(_ref) {
2065
2065
  } = span;
2066
2066
  classList.add("color");
2067
2067
  (0, $52FdA$solidjs.createComputed)(() => {
2068
- var _hex_color;
2069
- style.background = (_hex_color = hex_color()) !== null && _hex_color !== void 0 ? _hex_color : "black"; // default to black background so that the default-checkmark also is visible on dark page backgrounds
2068
+ style.background = hex_color() || "black"; // default to black background so that the default-checkmark also is visible on dark page backgrounds
2070
2069
  span.dataset.colorName = color_name();
2071
2070
  classList.toggle("black-check", black_contrast_better());
2072
2071
  });
package/ES10/index.d.ts CHANGED
@@ -7,7 +7,7 @@ import { CategorySuggestion, SearchSuggestionsResponse } from "@depict-ai/types/
7
7
  import { BaseSearchRequest } from "@depict-ai/types/api/BaseSearchRequest";
8
8
  import { SearchSuggestionsRequest } from "@depict-ai/types/api/SearchSuggestionsRequest";
9
9
  import { ProductListingRequest } from "@depict-ai/types/api/ProductListingRequest";
10
- export const version = "1.4.14";
10
+ export const version = "1.4.15";
11
11
  export function ExpandingDetails(props: {
12
12
  details_: HTMLDetailsElement;
13
13
  summary_: HTMLElement;
package/ES10/index.js CHANGED
@@ -8,7 +8,7 @@ import $8tj43$babelruntimehelpersdefineProperty from "@babel/runtime/helpers/def
8
8
  /*! Depict.ai search and product listing SDK */
9
9
  import { register_es_version } from "../multi_import_deduplicator.mjs";
10
10
  register_es_version("ui", "ES10");
11
- const $8db9a15135765c11$export$83d89fbfd8236492 = "1.4.14";
11
+ const $8db9a15135765c11$export$83d89fbfd8236492 = "1.4.15";
12
12
  function $8e8b179489080711$export$5bad61ecde080b1f() {
13
13
  const {
14
14
  collapse: collapse,
@@ -2013,8 +2013,7 @@ function $2cb856c297c53e6c$export$82ed4b28ecb67608(_ref) {
2013
2013
  } = span;
2014
2014
  classList.add("color");
2015
2015
  (0, $8tj43$createComputed)(() => {
2016
- var _hex_color;
2017
- style.background = (_hex_color = hex_color()) !== null && _hex_color !== void 0 ? _hex_color : "black"; // default to black background so that the default-checkmark also is visible on dark page backgrounds
2016
+ style.background = hex_color() || "black"; // default to black background so that the default-checkmark also is visible on dark page backgrounds
2018
2017
  span.dataset.colorName = color_name();
2019
2018
  classList.toggle("black-check", black_contrast_better());
2020
2019
  });
package/latest/index.cjs CHANGED
@@ -54,7 +54,7 @@ $parcel$export(module.exports, "defaultColsAtSize", () => $a3280f0aad997933$expo
54
54
  $parcel$export(module.exports, "defaultCategoryTitlePlugin", () => $a3280f0aad997933$export$7bf543b9d9be2c22);
55
55
  $parcel$export(module.exports, "version", () => $b757f75811f3261f$export$83d89fbfd8236492);
56
56
  /*! Depict.ai search and product listing SDK */
57
- const $b757f75811f3261f$export$83d89fbfd8236492 = "1.4.14";
57
+ const $b757f75811f3261f$export$83d89fbfd8236492 = "1.4.15";
58
58
  function $4b455f60dadde8b8$export$5bad61ecde080b1f(...params) {
59
59
  const {
60
60
  collapse: collapse,
@@ -1926,7 +1926,7 @@ function $b51a2b8b9355e66c$export$82ed4b28ecb67608({
1926
1926
  } = span;
1927
1927
  classList.add("color");
1928
1928
  (0, $gVhhF$solidjs.createComputed)(() => {
1929
- style.background = hex_color() ?? "black"; // default to black background so that the default-checkmark also is visible on dark page backgrounds
1929
+ style.background = hex_color() || "black"; // default to black background so that the default-checkmark also is visible on dark page backgrounds
1930
1930
  span.dataset.colorName = color_name();
1931
1931
  classList.toggle("black-check", black_contrast_better());
1932
1932
  });
package/latest/index.d.ts CHANGED
@@ -7,7 +7,7 @@ import { CategorySuggestion, SearchSuggestionsResponse } from "@depict-ai/types/
7
7
  import { BaseSearchRequest } from "@depict-ai/types/api/BaseSearchRequest";
8
8
  import { SearchSuggestionsRequest } from "@depict-ai/types/api/SearchSuggestionsRequest";
9
9
  import { ProductListingRequest } from "@depict-ai/types/api/ProductListingRequest";
10
- export const version = "1.4.14";
10
+ export const version = "1.4.15";
11
11
  export function ExpandingDetails(props: {
12
12
  details_: HTMLDetailsElement;
13
13
  summary_: HTMLElement;
package/latest/index.js CHANGED
@@ -5,7 +5,7 @@ import { createSignal as $9HbP8$createSignal, createMemo as $9HbP8$createMemo, u
5
5
  /*! Depict.ai search and product listing SDK */
6
6
  import { register_es_version } from "../multi_import_deduplicator.mjs";
7
7
  register_es_version("ui", "latest");
8
- const $ec291e0010116877$export$83d89fbfd8236492 = "1.4.14";
8
+ const $ec291e0010116877$export$83d89fbfd8236492 = "1.4.15";
9
9
  function $24e27fab9c821b86$export$5bad61ecde080b1f(...params) {
10
10
  const {
11
11
  collapse: collapse,
@@ -1877,7 +1877,7 @@ function $e731d52d97444b7c$export$82ed4b28ecb67608({
1877
1877
  } = span;
1878
1878
  classList.add("color");
1879
1879
  (0, $9HbP8$createComputed)(() => {
1880
- style.background = hex_color() ?? "black"; // default to black background so that the default-checkmark also is visible on dark page backgrounds
1880
+ style.background = hex_color() || "black"; // default to black background so that the default-checkmark also is visible on dark page backgrounds
1881
1881
  span.dataset.colorName = color_name();
1882
1882
  classList.toggle("black-check", black_contrast_better());
1883
1883
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@depict-ai/ui",
3
- "version": "1.4.14",
3
+ "version": "1.4.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",
@@ -60,7 +60,7 @@ $parcel$export(module.exports, "defaultColsAtSize", () => $33eed84f447aa0c0$expo
60
60
  $parcel$export(module.exports, "defaultCategoryTitlePlugin", () => $33eed84f447aa0c0$export$7bf543b9d9be2c22);
61
61
  $parcel$export(module.exports, "version", () => $aa1938dec50d6c12$export$83d89fbfd8236492);
62
62
  /*! Depict.ai search and product listing SDK */
63
- const $aa1938dec50d6c12$export$83d89fbfd8236492 = "1.4.14";
63
+ const $aa1938dec50d6c12$export$83d89fbfd8236492 = "1.4.15";
64
64
  function $d6d51b09cb2116a6$export$5bad61ecde080b1f() {
65
65
  const {
66
66
  collapse: collapse,
@@ -1414,8 +1414,7 @@ function $476a3dc36afc1938$export$82ed4b28ecb67608(_ref) {
1414
1414
  } = span;
1415
1415
  classList.add("color");
1416
1416
  (0, $3hooq$solidjs.createComputed)(() => {
1417
- var _hex_color;
1418
- style.background = (_hex_color = hex_color()) !== null && _hex_color !== void 0 ? _hex_color : "black"; // default to black background so that the default-checkmark also is visible on dark page backgrounds
1417
+ style.background = hex_color() || "black"; // default to black background so that the default-checkmark also is visible on dark page backgrounds
1419
1418
  span.dataset.colorName = color_name();
1420
1419
  classList.toggle("black-check", black_contrast_better());
1421
1420
  });
@@ -7,7 +7,7 @@ import { CategorySuggestion, SearchSuggestionsResponse } from "@depict-ai/types/
7
7
  import { BaseSearchRequest } from "@depict-ai/types/api/BaseSearchRequest";
8
8
  import { SearchSuggestionsRequest } from "@depict-ai/types/api/SearchSuggestionsRequest";
9
9
  import { ProductListingRequest } from "@depict-ai/types/api/ProductListingRequest";
10
- export const version = "1.4.14";
10
+ export const version = "1.4.15";
11
11
  export function ExpandingDetails(props: {
12
12
  details_: HTMLDetailsElement;
13
13
  summary_: HTMLElement;
@@ -8,7 +8,7 @@ import $b8hua$babelruntimehelpersdefineProperty from "@babel/runtime/helpers/def
8
8
  /*! Depict.ai search and product listing SDK */
9
9
  import { register_es_version } from "../../multi_import_deduplicator.mjs";
10
10
  register_es_version("ui", "ES10");
11
- const $8db9a15135765c11$export$83d89fbfd8236492 = "1.4.14";
11
+ const $8db9a15135765c11$export$83d89fbfd8236492 = "1.4.15";
12
12
  function $8e8b179489080711$export$5bad61ecde080b1f() {
13
13
  const {
14
14
  collapse: collapse,
@@ -1362,8 +1362,7 @@ function $2cb856c297c53e6c$export$82ed4b28ecb67608(_ref) {
1362
1362
  } = span;
1363
1363
  classList.add("color");
1364
1364
  (0, $b8hua$createComputed)(() => {
1365
- var _hex_color;
1366
- style.background = (_hex_color = hex_color()) !== null && _hex_color !== void 0 ? _hex_color : "black"; // default to black background so that the default-checkmark also is visible on dark page backgrounds
1365
+ style.background = hex_color() || "black"; // default to black background so that the default-checkmark also is visible on dark page backgrounds
1367
1366
  span.dataset.colorName = color_name();
1368
1367
  classList.toggle("black-check", black_contrast_better());
1369
1368
  });
@@ -54,7 +54,7 @@ $parcel$export(module.exports, "defaultColsAtSize", () => $a3280f0aad997933$expo
54
54
  $parcel$export(module.exports, "defaultCategoryTitlePlugin", () => $a3280f0aad997933$export$7bf543b9d9be2c22);
55
55
  $parcel$export(module.exports, "version", () => $b757f75811f3261f$export$83d89fbfd8236492);
56
56
  /*! Depict.ai search and product listing SDK */
57
- const $b757f75811f3261f$export$83d89fbfd8236492 = "1.4.14";
57
+ const $b757f75811f3261f$export$83d89fbfd8236492 = "1.4.15";
58
58
  function $4b455f60dadde8b8$export$5bad61ecde080b1f(...params) {
59
59
  const {
60
60
  collapse: collapse,
@@ -1291,7 +1291,7 @@ function $b51a2b8b9355e66c$export$82ed4b28ecb67608({
1291
1291
  } = span;
1292
1292
  classList.add("color");
1293
1293
  (0, $5vyXB$solidjs.createComputed)(() => {
1294
- style.background = hex_color() ?? "black"; // default to black background so that the default-checkmark also is visible on dark page backgrounds
1294
+ style.background = hex_color() || "black"; // default to black background so that the default-checkmark also is visible on dark page backgrounds
1295
1295
  span.dataset.colorName = color_name();
1296
1296
  classList.toggle("black-check", black_contrast_better());
1297
1297
  });
@@ -7,7 +7,7 @@ import { CategorySuggestion, SearchSuggestionsResponse } from "@depict-ai/types/
7
7
  import { BaseSearchRequest } from "@depict-ai/types/api/BaseSearchRequest";
8
8
  import { SearchSuggestionsRequest } from "@depict-ai/types/api/SearchSuggestionsRequest";
9
9
  import { ProductListingRequest } from "@depict-ai/types/api/ProductListingRequest";
10
- export const version = "1.4.14";
10
+ export const version = "1.4.15";
11
11
  export function ExpandingDetails(props: {
12
12
  details_: HTMLDetailsElement;
13
13
  summary_: HTMLElement;
@@ -5,7 +5,7 @@ import { createSignal as $i7OB2$createSignal, createMemo as $i7OB2$createMemo, u
5
5
  /*! Depict.ai search and product listing SDK */
6
6
  import { register_es_version } from "../../multi_import_deduplicator.mjs";
7
7
  register_es_version("ui", "latest");
8
- const $ec291e0010116877$export$83d89fbfd8236492 = "1.4.14";
8
+ const $ec291e0010116877$export$83d89fbfd8236492 = "1.4.15";
9
9
  function $24e27fab9c821b86$export$5bad61ecde080b1f(...params) {
10
10
  const {
11
11
  collapse: collapse,
@@ -1242,7 +1242,7 @@ function $e731d52d97444b7c$export$82ed4b28ecb67608({
1242
1242
  } = span;
1243
1243
  classList.add("color");
1244
1244
  (0, $i7OB2$createComputed)(() => {
1245
- style.background = hex_color() ?? "black"; // default to black background so that the default-checkmark also is visible on dark page backgrounds
1245
+ style.background = hex_color() || "black"; // default to black background so that the default-checkmark also is visible on dark page backgrounds
1246
1246
  span.dataset.colorName = color_name();
1247
1247
  classList.toggle("black-check", black_contrast_better());
1248
1248
  });