@smart-factor/gem-ui-components 0.0.120 → 0.0.122
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/SignEditor.js +1 -1
- package/dist/analytics/PostHogProvider.d.ts +9 -0
- package/dist/analytics/PostHogTracker.d.ts +18 -0
- package/dist/analytics/constants.d.ts +5 -0
- package/dist/analytics/index.d.ts +3 -0
- package/dist/{theme-2OiHdhF8.js → index-4UybJX1Q.js} +49600 -44938
- package/dist/licenses.txt +349 -1
- package/dist/main.d.ts +1 -0
- package/dist/main.js +1295 -1214
- package/package.json +3 -1
package/dist/SignEditor.js
CHANGED
|
@@ -2,7 +2,7 @@ import './assets/SignEditor.css';var N4 = Object.defineProperty;
|
|
|
2
2
|
var I4 = (o, e, t) => e in o ? N4(o, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : o[e] = t;
|
|
3
3
|
var Eu = (o, e, t) => I4(o, typeof e != "symbol" ? e + "" : e, t);
|
|
4
4
|
import { jsx as Vt, jsxs as ia, Fragment as o_ } from "react/jsx-runtime";
|
|
5
|
-
import { G as Ib, u as i_, a as rA, Q as uc, b as hs, c as Lp, D as KE, B as sp, d as ow, e as M4, z as Dc, f as a_, s as $E, I as Of, A as WE, F as O4, U as Ax, g as q4, h as R4, i as Q4, j as G4, T as V4, K as D4, k as H4 } from "./
|
|
5
|
+
import { G as Ib, u as i_, a as rA, Q as uc, b as hs, c as Lp, D as KE, B as sp, d as ow, e as M4, z as Dc, f as a_, s as $E, I as Of, A as WE, F as O4, U as Ax, g as q4, h as R4, i as Q4, j as G4, T as V4, K as D4, k as H4 } from "./index-4UybJX1Q.js";
|
|
6
6
|
import { q as XE, s as Di, I as tu, J as r_, H as YE, S as lp } from "./Stack-Bsa5WF4E.js";
|
|
7
7
|
import { createContext as U4, useContext as z4, useState as vl, useCallback as zu, useEffect as oc, useMemo as cp, useRef as K4 } from "react";
|
|
8
8
|
import "react-dom";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { default as React, ReactNode } from 'react';
|
|
2
|
+
export interface PostHogProviderProps {
|
|
3
|
+
children: ReactNode;
|
|
4
|
+
POSTHOG_API_KEY: string;
|
|
5
|
+
POSTHOG_API_HOST?: string;
|
|
6
|
+
module: string;
|
|
7
|
+
isDevelopment: boolean;
|
|
8
|
+
}
|
|
9
|
+
export declare const PostHogProvider: React.FC<PostHogProviderProps>;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export interface PostHogUserTraits {
|
|
2
|
+
email?: string;
|
|
3
|
+
name?: string;
|
|
4
|
+
firstName?: string;
|
|
5
|
+
lastName?: string;
|
|
6
|
+
createdAt?: string;
|
|
7
|
+
[key: string]: string | string[] | undefined;
|
|
8
|
+
}
|
|
9
|
+
export declare class PostHogTracker {
|
|
10
|
+
private static module;
|
|
11
|
+
private static isDevelopmentMode;
|
|
12
|
+
static setModule(module: string): void;
|
|
13
|
+
static getModule(): string | undefined;
|
|
14
|
+
static setDevelopment(isDevelopment: boolean): void;
|
|
15
|
+
static identify(userId: string, userTraits?: PostHogUserTraits): void;
|
|
16
|
+
static track(eventName: string, properties?: Record<string, unknown>): void;
|
|
17
|
+
static reset(): void;
|
|
18
|
+
}
|