kenobi-js 0.1.33 → 0.1.34
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/browser/dist.js +21 -6
- package/browser/dist.js.map +2 -2
- package/browser/dist.min.js +8 -5
- package/package.json +1 -1
package/browser/dist.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Kenobi SDK v0.1.
|
|
2
|
+
* Kenobi SDK v0.1.33
|
|
3
3
|
* (c) 2025 Kenobi.ai
|
|
4
4
|
*/
|
|
5
5
|
"use strict";
|
|
@@ -1193,6 +1193,9 @@ var KenobiLib = (() => {
|
|
|
1193
1193
|
.launcher .kbd-hint { position: static; transform: none; opacity: 0.6; transition: opacity 0.2s; }
|
|
1194
1194
|
.launcher:hover .kbd-hint { opacity: 1; }
|
|
1195
1195
|
.pos-top-right.launcher .kbd-hint { left: auto; right: auto; }
|
|
1196
|
+
/* Launcher dismiss button */
|
|
1197
|
+
.launcher .btn-dismiss.launcher-dismiss { top: -0.375rem; left: -0.375rem; width: 1.25rem; height: 1.25rem; opacity: 0; transition: opacity 0.2s ease-out, background-color 0.3s ease-out, color 0.3s ease-out; }
|
|
1198
|
+
.launcher:hover .btn-dismiss.launcher-dismiss { opacity: 1; }
|
|
1196
1199
|
`;
|
|
1197
1200
|
var useEnterExitAnimation = /* @__PURE__ */ __name((ref, isVisible, config) => {
|
|
1198
1201
|
const hasEnteredRef = A2(false);
|
|
@@ -1816,7 +1819,7 @@ var KenobiLib = (() => {
|
|
|
1816
1819
|
}
|
|
1817
1820
|
),
|
|
1818
1821
|
/* @__PURE__ */ u3(
|
|
1819
|
-
"
|
|
1822
|
+
"div",
|
|
1820
1823
|
{
|
|
1821
1824
|
ref: launcherRef,
|
|
1822
1825
|
class: `launcher theme-${config.theme || "glass"} pos-${config.position || "top-center"}`,
|
|
@@ -1826,7 +1829,21 @@ var KenobiLib = (() => {
|
|
|
1826
1829
|
setMode("card");
|
|
1827
1830
|
setIsOpen(true);
|
|
1828
1831
|
},
|
|
1832
|
+
role: "button",
|
|
1833
|
+
tabIndex: 0,
|
|
1829
1834
|
children: [
|
|
1835
|
+
/* @__PURE__ */ u3(
|
|
1836
|
+
"button",
|
|
1837
|
+
{
|
|
1838
|
+
class: "btn-dismiss launcher-dismiss",
|
|
1839
|
+
"aria-label": "Dismiss",
|
|
1840
|
+
onClick: (e3) => {
|
|
1841
|
+
e3.stopPropagation();
|
|
1842
|
+
config.onDismiss?.();
|
|
1843
|
+
},
|
|
1844
|
+
children: /* @__PURE__ */ u3(XMarkIcon, {})
|
|
1845
|
+
}
|
|
1846
|
+
),
|
|
1830
1847
|
/* @__PURE__ */ u3(
|
|
1831
1848
|
"div",
|
|
1832
1849
|
{
|
|
@@ -3040,12 +3057,10 @@ var KenobiLib = (() => {
|
|
|
3040
3057
|
errorMessage: "Company name or domain is required"
|
|
3041
3058
|
}
|
|
3042
3059
|
],
|
|
3043
|
-
hasPersonalization: true,
|
|
3044
3060
|
isVisible: true,
|
|
3045
|
-
enableFocusMode:
|
|
3061
|
+
enableFocusMode: false,
|
|
3062
|
+
showWatermark: false,
|
|
3046
3063
|
showKeyboardHints: true,
|
|
3047
|
-
focusBlurIntensity: "8px",
|
|
3048
|
-
focusDelayMs: 2e3,
|
|
3049
3064
|
enableLauncher: true,
|
|
3050
3065
|
onSubmitPersonalization: /* @__PURE__ */ __name((values) => {
|
|
3051
3066
|
this.log("debug", "CueCard submitted:", values);
|