@depict-ai/utilishared 1.0.15 → 1.0.17

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
@@ -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.15";
3
+ export const version = "1.0.17";
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]`.
@@ -1586,14 +1586,14 @@ export const use_element: <E extends HTMLOrSVGElement = HTMLElement>(callback: (
1586
1586
  export function use_listener<K extends keyof GlobalEventHandlersEventMap, E extends HTMLElement = HTMLElement>(event: K, handler: (this: GlobalEventHandlers, ev: GlobalEventHandlersEventMap[K]) => any, element: E): E;
1587
1587
  export const classlist: (classes: (string | undefined)[]) => string;
1588
1588
  type Props = {
1589
- children: Elem[] | Elem;
1590
- onClick: (e: MouseEvent) => void;
1589
+ children?: Elem[] | Elem;
1590
+ onClick?: (e: MouseEvent) => void;
1591
1591
  [key: string]: any;
1592
1592
  };
1593
1593
  type Elem = Node | string;
1594
- type Component = (props: Props, _unknown: unknown) => HTMLElement;
1595
- export const jsx: (tag: string | Component, { children, ...props }: Props, _unknown: unknown) => JSX.Element;
1596
- export const jsxs: (tag: string | Component, { children, ...props }: Props, _unknown: unknown) => JSX.Element;
1594
+ type Component = (props: Props, _unknown?: unknown) => HTMLElement;
1595
+ export const jsx: (tag: string | Component, { children, ...props }: Props, _unknown?: unknown) => JSX.Element;
1596
+ export const jsxs: (tag: string | Component, { children, ...props }: Props, _unknown?: unknown) => JSX.Element;
1597
1597
  export const chevronRight: HTMLElement;
1598
1598
  export const chevronLeft: HTMLElement;
1599
1599
  export const expandingContainer: ({ duration }?: {
package/dist/main.js 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.15";
271
+ const $815f67c61b4c0a42$export$83d89fbfd8236492 = "1.0.17";
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"))();
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.15";
9
+ const $0766c85d387a9765$export$83d89fbfd8236492 = "1.0.17";
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"))();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@depict-ai/utilishared",
3
- "version": "1.0.15",
3
+ "version": "1.0.17",
4
4
  "packageManager": "yarn@3.2.2",
5
5
  "source": "src/index.ts",
6
6
  "main": "dist/main.js",
@@ -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.19",
51
+ "@depict-ai/types": "^1.0.21",
52
52
  "@parcel/resolver-default": "^2.8.0",
53
53
  "@sentry/cli": "latest",
54
54
  "@sentry/types": "^7.13.0",