@inkeep/cxkit-primitives 0.5.96 → 0.5.97
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("react/jsx-runtime")
|
|
1
|
+
"use client";"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("react/jsx-runtime");function o(t){return e.jsxs("svg",{viewBox:"0 0 32 33",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:[e.jsx("title",{children:"Tag Line Logo Icon"}),e.jsx("path",{d:"M7.2413 7.9244C6.85545 7.9244 6.49892 8.13025 6.30599 8.4644L1.99827 15.9256C1.80535 16.2597 1.80535 16.6714 1.99827 17.0056L6.30599 24.4668C6.49892 24.8009 6.85545 25.0068 7.2413 25.0068L15.8567 25.0068C16.2426 25.0068 16.5991 24.8009 16.792 24.4668L21.0998 17.0056C21.2927 16.6714 21.2927 16.2597 21.0998 15.9256L16.792 8.4644C16.5991 8.13025 16.2426 7.9244 15.8567 7.9244L7.2413 7.9244Z",stroke:"currentColor",strokeWidth:"1.75"}),e.jsx("path",{d:"M24.8143 7.76209C27.3966 8.42659 27.1023 9.89204 28.1732 12.8728C28.8603 14.7852 32.182 17.1565 29.1465 21.766C28.2406 23.1417 25.3276 24.7738 23.2199 25.2265C18.5764 26.2085 15.8404 23.98 13.4131 20.3057C11.592 17.5265 12.2355 13.5253 14.9976 11.5606C17.6151 9.70372 21.4197 6.82238 24.8143 7.76209Z",stroke:"currentColor",strokeWidth:"1.75"})]})}exports.default=o;
|
|
@@ -1,34 +1,26 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsxs as
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
const e = t();
|
|
6
|
-
return /* @__PURE__ */ r("svg", { viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...n, children: [
|
|
2
|
+
import { jsxs as e, jsx as o } from "react/jsx-runtime";
|
|
3
|
+
function n(t) {
|
|
4
|
+
return /* @__PURE__ */ e("svg", { viewBox: "0 0 32 33", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...t, children: [
|
|
7
5
|
/* @__PURE__ */ o("title", { children: "Tag Line Logo Icon" }),
|
|
8
6
|
/* @__PURE__ */ o(
|
|
9
7
|
"path",
|
|
10
8
|
{
|
|
11
|
-
d: "
|
|
12
|
-
|
|
9
|
+
d: "M7.2413 7.9244C6.85545 7.9244 6.49892 8.13025 6.30599 8.4644L1.99827 15.9256C1.80535 16.2597 1.80535 16.6714 1.99827 17.0056L6.30599 24.4668C6.49892 24.8009 6.85545 25.0068 7.2413 25.0068L15.8567 25.0068C16.2426 25.0068 16.5991 24.8009 16.792 24.4668L21.0998 17.0056C21.2927 16.6714 21.2927 16.2597 21.0998 15.9256L16.792 8.4644C16.5991 8.13025 16.2426 7.9244 15.8567 7.9244L7.2413 7.9244Z",
|
|
10
|
+
stroke: "currentColor",
|
|
11
|
+
strokeWidth: "1.75"
|
|
13
12
|
}
|
|
14
13
|
),
|
|
15
|
-
/* @__PURE__ */ o(
|
|
16
|
-
"
|
|
14
|
+
/* @__PURE__ */ o(
|
|
15
|
+
"path",
|
|
17
16
|
{
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
x2: "24.0784",
|
|
22
|
-
y2: "10.1057",
|
|
23
|
-
gradientUnits: "userSpaceOnUse",
|
|
24
|
-
children: [
|
|
25
|
-
/* @__PURE__ */ o("stop", { stopColor: "currentColor" }),
|
|
26
|
-
/* @__PURE__ */ o("stop", { offset: "1", stopColor: "currentColor" })
|
|
27
|
-
]
|
|
17
|
+
d: "M24.8143 7.76209C27.3966 8.42659 27.1023 9.89204 28.1732 12.8728C28.8603 14.7852 32.182 17.1565 29.1465 21.766C28.2406 23.1417 25.3276 24.7738 23.2199 25.2265C18.5764 26.2085 15.8404 23.98 13.4131 20.3057C11.592 17.5265 12.2355 13.5253 14.9976 11.5606C17.6151 9.70372 21.4197 6.82238 24.8143 7.76209Z",
|
|
18
|
+
stroke: "currentColor",
|
|
19
|
+
strokeWidth: "1.75"
|
|
28
20
|
}
|
|
29
|
-
)
|
|
21
|
+
)
|
|
30
22
|
] });
|
|
31
23
|
}
|
|
32
24
|
export {
|
|
33
|
-
|
|
25
|
+
n as default
|
|
34
26
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const B=require("react/jsx-runtime"),t=require("react"),f=require("../atoms/api/analytics/events.cjs"),b=require("./config-provider.cjs"),x=require("./user-provider.cjs"),E=t.createContext(void 0),q=({children:e})=>{const{baseSettings:s,componentType:r}=b.useInkeepConfig(),{apiKey:i,analyticsApiBaseUrl:c,tags:a,privacyPreferences:m,env:g,analyticsProperties:v}=s,{userProperties:u}=x.useUser(),l=t.useMemo(()=>({widgetLibraryVersion:"0.5.
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const B=require("react/jsx-runtime"),t=require("react"),f=require("../atoms/api/analytics/events.cjs"),b=require("./config-provider.cjs"),x=require("./user-provider.cjs"),E=t.createContext(void 0),q=({children:e})=>{const{baseSettings:s,componentType:r}=b.useInkeepConfig(),{apiKey:i,analyticsApiBaseUrl:c,tags:a,privacyPreferences:m,env:g,analyticsProperties:v}=s,{userProperties:u}=x.useUser(),l=t.useMemo(()=>({widgetLibraryVersion:"0.5.97",componentType:r,tags:a}),[r,a]),d=!m.optOutAllAnalytics&&g!=="development",P={logEvent:t.useCallback(async n=>{const o={...l,...n.properties,...v},p={eventName:n.eventName,properties:o,userProperties:u},y=["modal_opened","modal_closed"].includes(n.eventName);if(d&&!y){if("conversation"in o&&!o.conversation?.id)return;f.logEvent(p,i,c)}s.onEvent?.(p)},[d,s,i,c,u,l,v])};return B.jsx(E.Provider,{value:P,children:e})},C=()=>{const e=t.useContext(E);if(!e)throw new Error("useBaseEvents must be used within a BaseEventsProvider");return e};exports.BaseEventsProvider=q;exports.useBaseEvents=C;
|
|
@@ -7,7 +7,7 @@ import { useUser as A } from "./user-provider.js";
|
|
|
7
7
|
const u = B(void 0), $ = ({ children: e }) => {
|
|
8
8
|
const { baseSettings: t, componentType: s } = w(), { apiKey: r, analyticsApiBaseUrl: i, tags: a, privacyPreferences: d, env: E, analyticsProperties: c } = t, { userProperties: v } = A(), p = P(
|
|
9
9
|
() => ({
|
|
10
|
-
widgetLibraryVersion: "0.5.
|
|
10
|
+
widgetLibraryVersion: "0.5.97",
|
|
11
11
|
componentType: s,
|
|
12
12
|
tags: a
|
|
13
13
|
}),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inkeep/cxkit-primitives",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.97",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "Inkeep, Inc. Customer License (IICL) v1.1",
|
|
6
6
|
"homepage": "",
|
|
@@ -67,9 +67,9 @@
|
|
|
67
67
|
"remark-gfm": "^4.0.1",
|
|
68
68
|
"unist-util-visit": "^5.0.0",
|
|
69
69
|
"use-sync-external-store": "^1.4.0",
|
|
70
|
-
"@inkeep/cxkit-color-mode": "^0.5.
|
|
71
|
-
"@inkeep/cxkit-theme": "0.5.
|
|
72
|
-
"@inkeep/cxkit-types": "0.5.
|
|
70
|
+
"@inkeep/cxkit-color-mode": "^0.5.97",
|
|
71
|
+
"@inkeep/cxkit-theme": "0.5.97",
|
|
72
|
+
"@inkeep/cxkit-types": "0.5.97"
|
|
73
73
|
},
|
|
74
74
|
"devDependencies": {
|
|
75
75
|
"@biomejs/biome": "1.9.4",
|