@depict-ai/ui 1.4.12 → 1.4.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ES10/index.cjs +4 -3
- package/ES10/index.d.ts +1 -1
- package/ES10/index.js +4 -3
- package/latest/index.cjs +3 -3
- package/latest/index.d.ts +1 -1
- package/latest/index.js +3 -3
- package/package.json +2 -2
- package/server/ES10/index.cjs +4 -3
- package/server/ES10/index.d.ts +1 -1
- package/server/ES10/index.js +4 -3
- package/server/latest/index.cjs +3 -3
- package/server/latest/index.d.ts +1 -1
- package/server/latest/index.js +3 -3
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.
|
|
63
|
+
const $aa1938dec50d6c12$export$83d89fbfd8236492 = "1.4.14";
|
|
64
64
|
function $d6d51b09cb2116a6$export$5bad61ecde080b1f() {
|
|
65
65
|
const {
|
|
66
66
|
collapse: collapse,
|
|
@@ -2043,7 +2043,7 @@ function $476a3dc36afc1938$export$82ed4b28ecb67608(_ref) {
|
|
|
2043
2043
|
return ((_split2 = checkbox().value_.split(";")) === null || _split2 === void 0 ? void 0 : _split2[1]) || "";
|
|
2044
2044
|
});
|
|
2045
2045
|
const rgb_color = (0, $52FdA$solidjs.createMemo)(() => (0, $52FdA$depictaiutilishared.hex_to_rgb)(hex_color()));
|
|
2046
|
-
const black_contrast_better = (0, $52FdA$solidjs.createMemo)(() => rgb_color() ? $476a3dc36afc1938$var$does_black_contrast_better(rgb_color()) :
|
|
2046
|
+
const black_contrast_better = (0, $52FdA$solidjs.createMemo)(() => rgb_color() ? $476a3dc36afc1938$var$does_black_contrast_better(rgb_color()) : false);
|
|
2047
2047
|
const input_row = (0, $52FdA$solidjsweb.createComponent)((0, $6b92e147c6e24046$export$48513f6b9f8ce62d), {
|
|
2048
2048
|
get value_() {
|
|
2049
2049
|
return checkbox().value_;
|
|
@@ -2065,7 +2065,8 @@ function $476a3dc36afc1938$export$82ed4b28ecb67608(_ref) {
|
|
|
2065
2065
|
} = span;
|
|
2066
2066
|
classList.add("color");
|
|
2067
2067
|
(0, $52FdA$solidjs.createComputed)(() => {
|
|
2068
|
-
|
|
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
|
|
2069
2070
|
span.dataset.colorName = color_name();
|
|
2070
2071
|
classList.toggle("black-check", black_contrast_better());
|
|
2071
2072
|
});
|
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.
|
|
10
|
+
export const version = "1.4.14";
|
|
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.
|
|
11
|
+
const $8db9a15135765c11$export$83d89fbfd8236492 = "1.4.14";
|
|
12
12
|
function $8e8b179489080711$export$5bad61ecde080b1f() {
|
|
13
13
|
const {
|
|
14
14
|
collapse: collapse,
|
|
@@ -1991,7 +1991,7 @@ function $2cb856c297c53e6c$export$82ed4b28ecb67608(_ref) {
|
|
|
1991
1991
|
return ((_split2 = checkbox().value_.split(";")) === null || _split2 === void 0 ? void 0 : _split2[1]) || "";
|
|
1992
1992
|
});
|
|
1993
1993
|
const rgb_color = (0, $8tj43$createMemo)(() => (0, $8tj43$hex_to_rgb)(hex_color()));
|
|
1994
|
-
const black_contrast_better = (0, $8tj43$createMemo)(() => rgb_color() ? $2cb856c297c53e6c$var$does_black_contrast_better(rgb_color()) :
|
|
1994
|
+
const black_contrast_better = (0, $8tj43$createMemo)(() => rgb_color() ? $2cb856c297c53e6c$var$does_black_contrast_better(rgb_color()) : false);
|
|
1995
1995
|
const input_row = (0, $8tj43$createComponent)((0, $6b73914551534ea8$export$48513f6b9f8ce62d), {
|
|
1996
1996
|
get value_() {
|
|
1997
1997
|
return checkbox().value_;
|
|
@@ -2013,7 +2013,8 @@ function $2cb856c297c53e6c$export$82ed4b28ecb67608(_ref) {
|
|
|
2013
2013
|
} = span;
|
|
2014
2014
|
classList.add("color");
|
|
2015
2015
|
(0, $8tj43$createComputed)(() => {
|
|
2016
|
-
|
|
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
|
|
2017
2018
|
span.dataset.colorName = color_name();
|
|
2018
2019
|
classList.toggle("black-check", black_contrast_better());
|
|
2019
2020
|
});
|
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.
|
|
57
|
+
const $b757f75811f3261f$export$83d89fbfd8236492 = "1.4.14";
|
|
58
58
|
function $4b455f60dadde8b8$export$5bad61ecde080b1f(...params) {
|
|
59
59
|
const {
|
|
60
60
|
collapse: collapse,
|
|
@@ -1905,7 +1905,7 @@ function $b51a2b8b9355e66c$export$82ed4b28ecb67608({
|
|
|
1905
1905
|
const color_name = (0, $gVhhF$solidjs.createMemo)(() => checkbox().value_.split(";")?.[0] || "");
|
|
1906
1906
|
const hex_color = (0, $gVhhF$solidjs.createMemo)(() => checkbox().value_.split(";")?.[1] || "");
|
|
1907
1907
|
const rgb_color = (0, $gVhhF$solidjs.createMemo)(() => (0, $gVhhF$depictaiutilishared.hex_to_rgb)(hex_color()));
|
|
1908
|
-
const black_contrast_better = (0, $gVhhF$solidjs.createMemo)(() => rgb_color() ? $b51a2b8b9355e66c$var$does_black_contrast_better(rgb_color()) :
|
|
1908
|
+
const black_contrast_better = (0, $gVhhF$solidjs.createMemo)(() => rgb_color() ? $b51a2b8b9355e66c$var$does_black_contrast_better(rgb_color()) : false);
|
|
1909
1909
|
const input_row = (0, $gVhhF$solidjsweb.createComponent)((0, $b3cf6ca8dc0e9998$export$48513f6b9f8ce62d), {
|
|
1910
1910
|
get value_() {
|
|
1911
1911
|
return checkbox().value_;
|
|
@@ -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();
|
|
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.
|
|
10
|
+
export const version = "1.4.14";
|
|
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.
|
|
8
|
+
const $ec291e0010116877$export$83d89fbfd8236492 = "1.4.14";
|
|
9
9
|
function $24e27fab9c821b86$export$5bad61ecde080b1f(...params) {
|
|
10
10
|
const {
|
|
11
11
|
collapse: collapse,
|
|
@@ -1856,7 +1856,7 @@ function $e731d52d97444b7c$export$82ed4b28ecb67608({
|
|
|
1856
1856
|
const color_name = (0, $9HbP8$createMemo)(() => checkbox().value_.split(";")?.[0] || "");
|
|
1857
1857
|
const hex_color = (0, $9HbP8$createMemo)(() => checkbox().value_.split(";")?.[1] || "");
|
|
1858
1858
|
const rgb_color = (0, $9HbP8$createMemo)(() => (0, $9HbP8$hex_to_rgb)(hex_color()));
|
|
1859
|
-
const black_contrast_better = (0, $9HbP8$createMemo)(() => rgb_color() ? $e731d52d97444b7c$var$does_black_contrast_better(rgb_color()) :
|
|
1859
|
+
const black_contrast_better = (0, $9HbP8$createMemo)(() => rgb_color() ? $e731d52d97444b7c$var$does_black_contrast_better(rgb_color()) : false);
|
|
1860
1860
|
const input_row = (0, $9HbP8$createComponent)((0, $87c712b5b33f24f7$export$48513f6b9f8ce62d), {
|
|
1861
1861
|
get value_() {
|
|
1862
1862
|
return checkbox().value_;
|
|
@@ -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();
|
|
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.
|
|
3
|
+
"version": "1.4.14",
|
|
4
4
|
"description": "Base package containing the actual UI of Depict UI along with translations, with a not-simplified API. We recommend using @depict-ai/js-ui or @depict-ai/react-ui instead.",
|
|
5
5
|
"packageManager": "yarn@3.2.2",
|
|
6
6
|
"sass": "styles.scss",
|
|
@@ -236,7 +236,7 @@
|
|
|
236
236
|
"@babel/plugin-transform-typescript": "^7.22.9",
|
|
237
237
|
"@babel/runtime": "latest",
|
|
238
238
|
"@babel/runtime-corejs3": "^7.22.6",
|
|
239
|
-
"@depict-ai/plp-styling": "^1.0.
|
|
239
|
+
"@depict-ai/plp-styling": "^1.0.34",
|
|
240
240
|
"@depict-ai/types": "^1.0.35",
|
|
241
241
|
"@depict-ai/utilishared": "^1.0.33",
|
|
242
242
|
"solid-js": "^1.7.3"
|
package/server/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.
|
|
63
|
+
const $aa1938dec50d6c12$export$83d89fbfd8236492 = "1.4.14";
|
|
64
64
|
function $d6d51b09cb2116a6$export$5bad61ecde080b1f() {
|
|
65
65
|
const {
|
|
66
66
|
collapse: collapse,
|
|
@@ -1392,7 +1392,7 @@ function $476a3dc36afc1938$export$82ed4b28ecb67608(_ref) {
|
|
|
1392
1392
|
return ((_split2 = checkbox().value_.split(";")) === null || _split2 === void 0 ? void 0 : _split2[1]) || "";
|
|
1393
1393
|
});
|
|
1394
1394
|
const rgb_color = (0, $3hooq$solidjs.createMemo)(() => (0, $3hooq$depictaiutilishared.hex_to_rgb)(hex_color()));
|
|
1395
|
-
const black_contrast_better = (0, $3hooq$solidjs.createMemo)(() => rgb_color() ? $476a3dc36afc1938$var$does_black_contrast_better(rgb_color()) :
|
|
1395
|
+
const black_contrast_better = (0, $3hooq$solidjs.createMemo)(() => rgb_color() ? $476a3dc36afc1938$var$does_black_contrast_better(rgb_color()) : false);
|
|
1396
1396
|
const input_row = (0, $3hooq$solidjsweb.createComponent)((0, $6b92e147c6e24046$export$48513f6b9f8ce62d), {
|
|
1397
1397
|
get value_() {
|
|
1398
1398
|
return checkbox().value_;
|
|
@@ -1414,7 +1414,8 @@ function $476a3dc36afc1938$export$82ed4b28ecb67608(_ref) {
|
|
|
1414
1414
|
} = span;
|
|
1415
1415
|
classList.add("color");
|
|
1416
1416
|
(0, $3hooq$solidjs.createComputed)(() => {
|
|
1417
|
-
|
|
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
|
|
1418
1419
|
span.dataset.colorName = color_name();
|
|
1419
1420
|
classList.toggle("black-check", black_contrast_better());
|
|
1420
1421
|
});
|
package/server/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.
|
|
10
|
+
export const version = "1.4.14";
|
|
11
11
|
export function ExpandingDetails(props: {
|
|
12
12
|
details_: HTMLDetailsElement;
|
|
13
13
|
summary_: HTMLElement;
|
package/server/ES10/index.js
CHANGED
|
@@ -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.
|
|
11
|
+
const $8db9a15135765c11$export$83d89fbfd8236492 = "1.4.14";
|
|
12
12
|
function $8e8b179489080711$export$5bad61ecde080b1f() {
|
|
13
13
|
const {
|
|
14
14
|
collapse: collapse,
|
|
@@ -1340,7 +1340,7 @@ function $2cb856c297c53e6c$export$82ed4b28ecb67608(_ref) {
|
|
|
1340
1340
|
return ((_split2 = checkbox().value_.split(";")) === null || _split2 === void 0 ? void 0 : _split2[1]) || "";
|
|
1341
1341
|
});
|
|
1342
1342
|
const rgb_color = (0, $b8hua$createMemo)(() => (0, $b8hua$hex_to_rgb)(hex_color()));
|
|
1343
|
-
const black_contrast_better = (0, $b8hua$createMemo)(() => rgb_color() ? $2cb856c297c53e6c$var$does_black_contrast_better(rgb_color()) :
|
|
1343
|
+
const black_contrast_better = (0, $b8hua$createMemo)(() => rgb_color() ? $2cb856c297c53e6c$var$does_black_contrast_better(rgb_color()) : false);
|
|
1344
1344
|
const input_row = (0, $b8hua$createComponent)((0, $6b73914551534ea8$export$48513f6b9f8ce62d), {
|
|
1345
1345
|
get value_() {
|
|
1346
1346
|
return checkbox().value_;
|
|
@@ -1362,7 +1362,8 @@ function $2cb856c297c53e6c$export$82ed4b28ecb67608(_ref) {
|
|
|
1362
1362
|
} = span;
|
|
1363
1363
|
classList.add("color");
|
|
1364
1364
|
(0, $b8hua$createComputed)(() => {
|
|
1365
|
-
|
|
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
|
|
1366
1367
|
span.dataset.colorName = color_name();
|
|
1367
1368
|
classList.toggle("black-check", black_contrast_better());
|
|
1368
1369
|
});
|
package/server/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.
|
|
57
|
+
const $b757f75811f3261f$export$83d89fbfd8236492 = "1.4.14";
|
|
58
58
|
function $4b455f60dadde8b8$export$5bad61ecde080b1f(...params) {
|
|
59
59
|
const {
|
|
60
60
|
collapse: collapse,
|
|
@@ -1270,7 +1270,7 @@ function $b51a2b8b9355e66c$export$82ed4b28ecb67608({
|
|
|
1270
1270
|
const color_name = (0, $5vyXB$solidjs.createMemo)(() => checkbox().value_.split(";")?.[0] || "");
|
|
1271
1271
|
const hex_color = (0, $5vyXB$solidjs.createMemo)(() => checkbox().value_.split(";")?.[1] || "");
|
|
1272
1272
|
const rgb_color = (0, $5vyXB$solidjs.createMemo)(() => (0, $5vyXB$depictaiutilishared.hex_to_rgb)(hex_color()));
|
|
1273
|
-
const black_contrast_better = (0, $5vyXB$solidjs.createMemo)(() => rgb_color() ? $b51a2b8b9355e66c$var$does_black_contrast_better(rgb_color()) :
|
|
1273
|
+
const black_contrast_better = (0, $5vyXB$solidjs.createMemo)(() => rgb_color() ? $b51a2b8b9355e66c$var$does_black_contrast_better(rgb_color()) : false);
|
|
1274
1274
|
const input_row = (0, $5vyXB$solidjsweb.createComponent)((0, $b3cf6ca8dc0e9998$export$48513f6b9f8ce62d), {
|
|
1275
1275
|
get value_() {
|
|
1276
1276
|
return checkbox().value_;
|
|
@@ -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();
|
|
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
|
});
|
package/server/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.
|
|
10
|
+
export const version = "1.4.14";
|
|
11
11
|
export function ExpandingDetails(props: {
|
|
12
12
|
details_: HTMLDetailsElement;
|
|
13
13
|
summary_: HTMLElement;
|
package/server/latest/index.js
CHANGED
|
@@ -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.
|
|
8
|
+
const $ec291e0010116877$export$83d89fbfd8236492 = "1.4.14";
|
|
9
9
|
function $24e27fab9c821b86$export$5bad61ecde080b1f(...params) {
|
|
10
10
|
const {
|
|
11
11
|
collapse: collapse,
|
|
@@ -1221,7 +1221,7 @@ function $e731d52d97444b7c$export$82ed4b28ecb67608({
|
|
|
1221
1221
|
const color_name = (0, $i7OB2$createMemo)(() => checkbox().value_.split(";")?.[0] || "");
|
|
1222
1222
|
const hex_color = (0, $i7OB2$createMemo)(() => checkbox().value_.split(";")?.[1] || "");
|
|
1223
1223
|
const rgb_color = (0, $i7OB2$createMemo)(() => (0, $i7OB2$hex_to_rgb)(hex_color()));
|
|
1224
|
-
const black_contrast_better = (0, $i7OB2$createMemo)(() => rgb_color() ? $e731d52d97444b7c$var$does_black_contrast_better(rgb_color()) :
|
|
1224
|
+
const black_contrast_better = (0, $i7OB2$createMemo)(() => rgb_color() ? $e731d52d97444b7c$var$does_black_contrast_better(rgb_color()) : false);
|
|
1225
1225
|
const input_row = (0, $i7OB2$createComponent)((0, $87c712b5b33f24f7$export$48513f6b9f8ce62d), {
|
|
1226
1226
|
get value_() {
|
|
1227
1227
|
return checkbox().value_;
|
|
@@ -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();
|
|
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
|
});
|