@syntrologie/adapt-overlays 2.27.0 → 2.29.0

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/schema.d.ts CHANGED
@@ -160,7 +160,7 @@ export declare const configSchema: z.ZodObject<{
160
160
  action?: unknown;
161
161
  } | undefined;
162
162
  };
163
- trigger?: "click" | "immediate" | "hover" | undefined;
163
+ trigger?: "immediate" | "hover" | "click" | undefined;
164
164
  placement?: "left" | "top" | "right" | "bottom" | "left-start" | "left-end" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | undefined;
165
165
  }, {
166
166
  summary: string;
@@ -183,7 +183,7 @@ export declare const configSchema: z.ZodObject<{
183
183
  action?: unknown;
184
184
  } | undefined;
185
185
  };
186
- trigger?: "click" | "immediate" | "hover" | undefined;
186
+ trigger?: "immediate" | "hover" | "click" | undefined;
187
187
  placement?: "left" | "top" | "right" | "bottom" | "left-start" | "left-end" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | undefined;
188
188
  }>, "many">>;
189
189
  /** Badge configurations */
@@ -307,16 +307,16 @@ export declare const configSchema: z.ZodObject<{
307
307
  body: string;
308
308
  title?: string | undefined;
309
309
  };
310
- dismiss?: {
311
- onEsc?: boolean | undefined;
312
- closeButton?: boolean | undefined;
313
- timeoutMs?: number | undefined;
314
- } | undefined;
315
310
  blocking?: boolean | undefined;
316
311
  size?: "sm" | "md" | "lg" | undefined;
317
312
  scrim?: {
318
313
  opacity?: number | undefined;
319
314
  } | undefined;
315
+ dismiss?: {
316
+ onEsc?: boolean | undefined;
317
+ closeButton?: boolean | undefined;
318
+ timeoutMs?: number | undefined;
319
+ } | undefined;
320
320
  ctaButtons?: {
321
321
  label: string;
322
322
  actionId: string;
@@ -330,16 +330,16 @@ export declare const configSchema: z.ZodObject<{
330
330
  body: string;
331
331
  title?: string | undefined;
332
332
  };
333
- dismiss?: {
334
- onEsc?: boolean | undefined;
335
- closeButton?: boolean | undefined;
336
- timeoutMs?: number | undefined;
337
- } | undefined;
338
333
  blocking?: boolean | undefined;
339
334
  size?: "sm" | "md" | "lg" | undefined;
340
335
  scrim?: {
341
336
  opacity?: number | undefined;
342
337
  } | undefined;
338
+ dismiss?: {
339
+ onEsc?: boolean | undefined;
340
+ closeButton?: boolean | undefined;
341
+ timeoutMs?: number | undefined;
342
+ } | undefined;
343
343
  ctaButtons?: {
344
344
  label: string;
345
345
  actionId: string;
@@ -428,7 +428,7 @@ export declare const configSchema: z.ZodObject<{
428
428
  action?: unknown;
429
429
  } | undefined;
430
430
  };
431
- trigger?: "click" | "immediate" | "hover" | undefined;
431
+ trigger?: "immediate" | "hover" | "click" | undefined;
432
432
  placement?: "left" | "top" | "right" | "bottom" | "left-start" | "left-end" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | undefined;
433
433
  }[] | undefined;
434
434
  badges?: {
@@ -454,16 +454,16 @@ export declare const configSchema: z.ZodObject<{
454
454
  body: string;
455
455
  title?: string | undefined;
456
456
  };
457
- dismiss?: {
458
- onEsc?: boolean | undefined;
459
- closeButton?: boolean | undefined;
460
- timeoutMs?: number | undefined;
461
- } | undefined;
462
457
  blocking?: boolean | undefined;
463
458
  size?: "sm" | "md" | "lg" | undefined;
464
459
  scrim?: {
465
460
  opacity?: number | undefined;
466
461
  } | undefined;
462
+ dismiss?: {
463
+ onEsc?: boolean | undefined;
464
+ closeButton?: boolean | undefined;
465
+ timeoutMs?: number | undefined;
466
+ } | undefined;
467
467
  ctaButtons?: {
468
468
  label: string;
469
469
  actionId: string;
@@ -519,7 +519,7 @@ export declare const configSchema: z.ZodObject<{
519
519
  action?: unknown;
520
520
  } | undefined;
521
521
  };
522
- trigger?: "click" | "immediate" | "hover" | undefined;
522
+ trigger?: "immediate" | "hover" | "click" | undefined;
523
523
  placement?: "left" | "top" | "right" | "bottom" | "left-start" | "left-end" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | undefined;
524
524
  }[] | undefined;
525
525
  badges?: {
@@ -545,16 +545,16 @@ export declare const configSchema: z.ZodObject<{
545
545
  body: string;
546
546
  title?: string | undefined;
547
547
  };
548
- dismiss?: {
549
- onEsc?: boolean | undefined;
550
- closeButton?: boolean | undefined;
551
- timeoutMs?: number | undefined;
552
- } | undefined;
553
548
  blocking?: boolean | undefined;
554
549
  size?: "sm" | "md" | "lg" | undefined;
555
550
  scrim?: {
556
551
  opacity?: number | undefined;
557
552
  } | undefined;
553
+ dismiss?: {
554
+ onEsc?: boolean | undefined;
555
+ closeButton?: boolean | undefined;
556
+ timeoutMs?: number | undefined;
557
+ } | undefined;
558
558
  ctaButtons?: {
559
559
  label: string;
560
560
  actionId: string;
@@ -723,8 +723,8 @@ export declare const actionStepSchemas: {
723
723
  count: z.ZodNumber;
724
724
  withinMs: z.ZodOptional<z.ZodNumber>;
725
725
  counter: z.ZodOptional<z.ZodObject<{
726
- events: z.ZodArray<z.ZodEnum<["ui.click", "ui.scroll", "ui.input", "ui.change", "ui.submit", "ui.hover", "ui.idle", "ui.scroll_thrash", "ui.focus_bounce", "nav.page_view", "nav.page_leave", "behavior.rage_click", "behavior.hesitation", "behavior.confusion"]>, "many">;
727
- match: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
726
+ events: z.ZodArray<z.ZodEnum<["ui.click", "ui.scroll", "ui.input", "ui.change", "ui.submit", "ui.hover", "ui.idle", "ui.scroll_thrash", "ui.focus_bounce", "ui.hesitate", "ui.rage_click", "nav.page_view", "nav.page_leave"]>, "many">;
727
+ match: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
728
728
  equals: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
729
729
  contains: z.ZodOptional<z.ZodString>;
730
730
  }, "strip", z.ZodTypeAny, {
@@ -733,15 +733,21 @@ export declare const actionStepSchemas: {
733
733
  }, {
734
734
  equals?: string | number | boolean | undefined;
735
735
  contains?: string | undefined;
736
+ }>, {
737
+ equals?: string | number | boolean | undefined;
738
+ contains?: string | undefined;
739
+ }, {
740
+ equals?: string | number | boolean | undefined;
741
+ contains?: string | undefined;
736
742
  }>>>;
737
743
  }, "strip", z.ZodTypeAny, {
738
- events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
744
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "ui.hesitate" | "ui.rage_click" | "nav.page_view" | "nav.page_leave")[];
739
745
  match?: Record<string, {
740
746
  equals?: string | number | boolean | undefined;
741
747
  contains?: string | undefined;
742
748
  }> | undefined;
743
749
  }, {
744
- events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
750
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "ui.hesitate" | "ui.rage_click" | "nav.page_view" | "nav.page_leave")[];
745
751
  match?: Record<string, {
746
752
  equals?: string | number | boolean | undefined;
747
753
  contains?: string | undefined;
@@ -754,7 +760,7 @@ export declare const actionStepSchemas: {
754
760
  count: number;
755
761
  withinMs?: number | undefined;
756
762
  counter?: {
757
- events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
763
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "ui.hesitate" | "ui.rage_click" | "nav.page_view" | "nav.page_leave")[];
758
764
  match?: Record<string, {
759
765
  equals?: string | number | boolean | undefined;
760
766
  contains?: string | undefined;
@@ -767,7 +773,7 @@ export declare const actionStepSchemas: {
767
773
  count: number;
768
774
  withinMs?: number | undefined;
769
775
  counter?: {
770
- events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
776
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "ui.hesitate" | "ui.rage_click" | "nav.page_view" | "nav.page_leave")[];
771
777
  match?: Record<string, {
772
778
  equals?: string | number | boolean | undefined;
773
779
  contains?: string | undefined;
@@ -825,7 +831,7 @@ export declare const actionStepSchemas: {
825
831
  count: number;
826
832
  withinMs?: number | undefined;
827
833
  counter?: {
828
- events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
834
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "ui.hesitate" | "ui.rage_click" | "nav.page_view" | "nav.page_leave")[];
829
835
  match?: Record<string, {
830
836
  equals?: string | number | boolean | undefined;
831
837
  contains?: string | undefined;
@@ -883,7 +889,7 @@ export declare const actionStepSchemas: {
883
889
  count: number;
884
890
  withinMs?: number | undefined;
885
891
  counter?: {
886
- events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
892
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "ui.hesitate" | "ui.rage_click" | "nav.page_view" | "nav.page_leave")[];
887
893
  match?: Record<string, {
888
894
  equals?: string | number | boolean | undefined;
889
895
  contains?: string | undefined;
@@ -945,7 +951,7 @@ export declare const actionStepSchemas: {
945
951
  count: number;
946
952
  withinMs?: number | undefined;
947
953
  counter?: {
948
- events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
954
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "ui.hesitate" | "ui.rage_click" | "nav.page_view" | "nav.page_leave")[];
949
955
  match?: Record<string, {
950
956
  equals?: string | number | boolean | undefined;
951
957
  contains?: string | undefined;
@@ -1007,7 +1013,7 @@ export declare const actionStepSchemas: {
1007
1013
  count: number;
1008
1014
  withinMs?: number | undefined;
1009
1015
  counter?: {
1010
- events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
1016
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "ui.hesitate" | "ui.rage_click" | "nav.page_view" | "nav.page_leave")[];
1011
1017
  match?: Record<string, {
1012
1018
  equals?: string | number | boolean | undefined;
1013
1019
  contains?: string | undefined;
@@ -1139,7 +1145,7 @@ export declare const actionStepSchemas: {
1139
1145
  count: number;
1140
1146
  withinMs?: number | undefined;
1141
1147
  counter?: {
1142
- events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
1148
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "ui.hesitate" | "ui.rage_click" | "nav.page_view" | "nav.page_leave")[];
1143
1149
  match?: Record<string, {
1144
1150
  equals?: string | number | boolean | undefined;
1145
1151
  contains?: string | undefined;
@@ -1232,7 +1238,7 @@ export declare const actionStepSchemas: {
1232
1238
  count: number;
1233
1239
  withinMs?: number | undefined;
1234
1240
  counter?: {
1235
- events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "nav.page_view" | "nav.page_leave" | "behavior.rage_click" | "behavior.hesitation" | "behavior.confusion")[];
1241
+ events: ("ui.click" | "ui.scroll" | "ui.input" | "ui.change" | "ui.submit" | "ui.hover" | "ui.idle" | "ui.scroll_thrash" | "ui.focus_bounce" | "ui.hesitate" | "ui.rage_click" | "nav.page_view" | "nav.page_leave")[];
1236
1242
  match?: Record<string, {
1237
1243
  equals?: string | number | boolean | undefined;
1238
1244
  contains?: string | undefined;
@@ -1266,6 +1272,7 @@ export declare const actionStepSchemas: {
1266
1272
  }[];
1267
1273
  export declare const CAPABILITIES_DOCUMENTATION: {
1268
1274
  packageId: string;
1275
+ plannerSummary: string;
1269
1276
  description: string;
1270
1277
  whenToUse: {
1271
1278
  goal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;;;;;;;;;;;;;;GA3E/s2D,CAAC;AAMtF,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;CAiDtC,CAAC;AAaF,eAAO,MAAM,WAAW;;;;GAMvB,CAAC"}
package/dist/schema.js CHANGED
@@ -1,5 +1,16 @@
1
1
  import "./chunk-VHAA22YE.js";
2
2
 
3
+ // ../../../node_modules/@lit/context/lib/create-context.js
4
+ function n(n2) {
5
+ return n2;
6
+ }
7
+
8
+ // ../../sdk-contracts/dist/canvas-context.js
9
+ var canvasRuntimeContext = n("syntrologie:canvas-runtime");
10
+
11
+ // ../../sdk-contracts/dist/routes.js
12
+ var utf8Decoder = new TextDecoder("utf-8", { fatal: false });
13
+
3
14
  // ../../sdk-contracts/dist/schemas.js
4
15
  import { z } from "zod";
5
16
  var AnchorIdZ = z.object({
@@ -24,15 +35,13 @@ var COUNTABLE_EVENTS = [
24
35
  "ui.idle",
25
36
  "ui.scroll_thrash",
26
37
  "ui.focus_bounce",
38
+ "ui.hesitate",
39
+ "ui.rage_click",
27
40
  // Navigation
28
41
  "nav.page_view",
29
- "nav.page_leave",
30
- // Derived behavioral signals
31
- "behavior.rage_click",
32
- "behavior.hesitation",
33
- "behavior.confusion"
42
+ "nav.page_leave"
34
43
  ];
35
- var CountableEventZ = z.enum(COUNTABLE_EVENTS).describe("Event name to count. ui.* = user interactions and behavioral detectors, nav.* = page navigation, behavior.* = derived behavioral signals.");
44
+ var CountableEventZ = z.enum(COUNTABLE_EVENTS).describe("Event name to count. ui.* = user interactions and behavioral detectors (hesitate, rage_click, scroll_thrash, focus_bounce, idle, hover); nav.* = page navigation.");
36
45
  var SESSION_METRIC_KEYS = ["time_on_page", "page_views", "scroll_depth"];
37
46
  var SessionMetricKeyZ = z.enum(SESSION_METRIC_KEYS).describe("Session metric key. time_on_page = seconds on current page, page_views = pages visited this session, scroll_depth = 0-100 percentage.");
38
47
  var PageUrlConditionZ = z.object({
@@ -90,6 +99,8 @@ var FrequencyLimitConditionZ = z.object({
90
99
  var MatchOpZ = z.object({
91
100
  equals: z.union([z.string(), z.number(), z.boolean()]).optional(),
92
101
  contains: z.string().optional()
102
+ }).refine((operator) => Number(operator.equals !== void 0) + Number(operator.contains !== void 0) === 1, {
103
+ message: "Exactly one of equals or contains must be specified."
93
104
  }).describe("Match operator for counter filters. Exactly one of equals or contains must be specified.");
94
105
  var CounterDefZ = z.object({
95
106
  events: z.array(CountableEventZ).min(1).describe("Event names to count. Use values from the countable events enum."),
@@ -170,9 +181,9 @@ var SAFE_HREF_PATTERN = /^(?:[/.#?]|[hH][tT][tT][pP][sS]?:\/\/|[mM][aA][iI][lL][
170
181
  var HrefZ = z2.string().min(1).regex(SAFE_HREF_PATTERN, {
171
182
  message: "href must start with /, ./, ../, #, ?, http(s)://, mailto:, or tel: \u2014 javascript:, data:, and vbscript: are not allowed"
172
183
  }).refine(
173
- (s) => {
184
+ (s4) => {
174
185
  try {
175
- const parsed = new URL(s, "https://syntro.local/");
186
+ const parsed = new URL(s4, "https://syntro.local/");
176
187
  return ["http:", "https:", "mailto:", "tel:"].includes(parsed.protocol);
177
188
  } catch {
178
189
  return false;
@@ -418,6 +429,7 @@ var CelebrateActionZ = z2.object({
418
429
  var actionStepSchemas = [{ defName: "celebrate", schema: CelebrateActionZ }];
419
430
  var CAPABILITIES_DOCUMENTATION = {
420
431
  packageId: "adaptive-overlays",
432
+ plannerSummary: "Augment the DOM with explanations (tooltips), draw attention, and help elements stand out \u2014 highlights, pulses, modals, tours.",
421
433
  description: "Visual overlay capabilities including highlights, tooltips, badges, pulse animations, modals, tours, and celebrations.",
422
434
  whenToUse: [
423
435
  { goal: "Draw attention to an element (spotlight)", action: "overlays:highlight" },
@@ -473,4 +485,32 @@ export {
473
485
  configSchema,
474
486
  tileWidgets
475
487
  };
488
+ /*! Bundled license information:
489
+
490
+ @lit/context/lib/context-request-event.js:
491
+ @lit/context/lib/create-context.js:
492
+ @lit/context/lib/controllers/context-consumer.js:
493
+ @lit/context/lib/value-notifier.js:
494
+ @lit/context/lib/controllers/context-provider.js:
495
+ @lit/context/lib/context-root.js:
496
+ (**
497
+ * @license
498
+ * Copyright 2021 Google LLC
499
+ * SPDX-License-Identifier: BSD-3-Clause
500
+ *)
501
+
502
+ @lit/context/lib/decorators/provide.js:
503
+ (**
504
+ * @license
505
+ * Copyright 2017 Google LLC
506
+ * SPDX-License-Identifier: BSD-3-Clause
507
+ *)
508
+
509
+ @lit/context/lib/decorators/consume.js:
510
+ (**
511
+ * @license
512
+ * Copyright 2022 Google LLC
513
+ * SPDX-License-Identifier: BSD-3-Clause
514
+ *)
515
+ */
476
516
  //# sourceMappingURL=schema.js.map