@depict-ai/utilishared 1.0.22 → 1.0.23
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 +1 -1
- package/dist/main.cjs +2 -2
- package/dist/module.js +2 -2
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference path="../jsx.d.ts" />
|
|
2
2
|
import { EUnavailabilityType } from "@depict-ai/types/api/TrackV2Request";
|
|
3
|
-
export const version = "1.0.
|
|
3
|
+
export const version = "1.0.23";
|
|
4
4
|
export const is_debug: boolean;
|
|
5
5
|
/**
|
|
6
6
|
* Sets the prefix of dlog, dwarn, and derror messages in the browser console. Defaults to `[Depict]`.
|
package/dist/main.cjs
CHANGED
|
@@ -268,7 +268,7 @@ $parcel$export(module.exports, "relative_luminance_from_rgb", () => $d73746ee466
|
|
|
268
268
|
$parcel$export(module.exports, "hsb_to_rgb", () => $d73746ee466f09ca$export$486b165479b9284f);
|
|
269
269
|
$parcel$export(module.exports, "version", () => $815f67c61b4c0a42$export$83d89fbfd8236492);
|
|
270
270
|
$parcel$export(module.exports, "add_to_version_info", () => $e4a18bf12ad092d9$export$2cefb7e61fcbae00);
|
|
271
|
-
const $815f67c61b4c0a42$export$83d89fbfd8236492 = "1.0.
|
|
271
|
+
const $815f67c61b4c0a42$export$83d89fbfd8236492 = "1.0.23";
|
|
272
272
|
|
|
273
273
|
|
|
274
274
|
const $7b5e577a60b81e60$export$55fe61489d2c7417 = /*@__PURE__*/ (()=>process.env.STRIP_DEBUG === "true" ? false : process.env.DEBUG === "true" || process.env.NODE_ENV === "development" || process.env.BUILD_TARGET !== "node" && (globalThis?.document?.currentScript?.dataset?.debug === "true" || globalThis?.localStorage?.getItem?.("debug") === "true"))();
|
|
@@ -8361,7 +8361,7 @@ function $af92e61c7dfccf01$export$590326cc34f49e2d({ colors: colors , initialCol
|
|
|
8361
8361
|
// Function to set active color to an index
|
|
8362
8362
|
setActiveIndex = (index)=>setActive(circles[index], colors[index]);
|
|
8363
8363
|
// Set the initial color, if any
|
|
8364
|
-
const initial_index = initialColor
|
|
8364
|
+
const initial_index = initialColor == undefined ? -1 : colors.findIndex((c)=>typeof initialColor === "string" ? c.value === initialColor : c.value === initialColor.value && c.label === initialColor.label);
|
|
8365
8365
|
if (initial_index > -1) setActiveIndex(initial_index);
|
|
8366
8366
|
if (onlyCircles) return circles;
|
|
8367
8367
|
return (0, $107a74aa4ea5902d$export$34b9dba7ce09269b)("div", {
|
package/dist/module.js
CHANGED
|
@@ -6,7 +6,7 @@ function $parcel$export(e, n, v, s) {
|
|
|
6
6
|
function $parcel$interopDefault(a) {
|
|
7
7
|
return a && a.__esModule ? a.default : a;
|
|
8
8
|
}
|
|
9
|
-
const $0766c85d387a9765$export$83d89fbfd8236492 = "1.0.
|
|
9
|
+
const $0766c85d387a9765$export$83d89fbfd8236492 = "1.0.23";
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
const $571bce04eb920cd8$export$55fe61489d2c7417 = /*@__PURE__*/ (()=>process.env.STRIP_DEBUG === "true" ? false : process.env.DEBUG === "true" || process.env.NODE_ENV === "development" || process.env.BUILD_TARGET !== "node" && (globalThis?.document?.currentScript?.dataset?.debug === "true" || globalThis?.localStorage?.getItem?.("debug") === "true"))();
|
|
@@ -8099,7 +8099,7 @@ function $6f1582c15e13f2f0$export$590326cc34f49e2d({ colors: colors , initialCol
|
|
|
8099
8099
|
// Function to set active color to an index
|
|
8100
8100
|
setActiveIndex = (index)=>setActive(circles[index], colors[index]);
|
|
8101
8101
|
// Set the initial color, if any
|
|
8102
|
-
const initial_index = initialColor
|
|
8102
|
+
const initial_index = initialColor == undefined ? -1 : colors.findIndex((c)=>typeof initialColor === "string" ? c.value === initialColor : c.value === initialColor.value && c.label === initialColor.label);
|
|
8103
8103
|
if (initial_index > -1) setActiveIndex(initial_index);
|
|
8104
8104
|
if (onlyCircles) return circles;
|
|
8105
8105
|
return (0, $63cbb5de51d11596$export$34b9dba7ce09269b)("div", {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@depict-ai/utilishared",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.23",
|
|
4
4
|
"packageManager": "yarn@3.2.2",
|
|
5
5
|
"source": "src/index.ts",
|
|
6
6
|
"main": "dist/main.cjs",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"@babel/core": "latest",
|
|
49
49
|
"@babel/runtime": "latest",
|
|
50
50
|
"@babel/runtime-corejs3": "latest",
|
|
51
|
-
"@depict-ai/types": "^1.0.
|
|
51
|
+
"@depict-ai/types": "^1.0.27",
|
|
52
52
|
"@parcel/resolver-default": "^2.8.0",
|
|
53
53
|
"@sentry/cli": "latest",
|
|
54
54
|
"@sentry/types": "^7.13.0",
|