@syntrologie/adapt-nav 2.2.0-canary.8 → 2.2.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.
Files changed (62) hide show
  1. package/dist/NavWidget.js +1 -1
  2. package/dist/cdn.d.ts +1 -6
  3. package/dist/cdn.d.ts.map +1 -1
  4. package/dist/cdn.js +1 -21
  5. package/dist/editor.js +2 -2
  6. package/dist/runtime.d.ts +16 -0
  7. package/dist/runtime.d.ts.map +1 -1
  8. package/dist/runtime.js +41 -1
  9. package/dist/schema.d.ts +417 -33
  10. package/dist/schema.d.ts.map +1 -1
  11. package/dist/schema.js +8 -3
  12. package/dist/types.d.ts +4 -2
  13. package/dist/types.d.ts.map +1 -1
  14. package/node_modules/@syntro/design-system/dist/tailwind-preset.d.ts.map +1 -1
  15. package/node_modules/@syntro/design-system/dist/tailwind-preset.js +23 -2
  16. package/node_modules/@syntrologie/shared-editor-ui/dist/__tests__/BeforeAfterToggle.test.js +1 -0
  17. package/node_modules/@syntrologie/shared-editor-ui/dist/__tests__/ConditionStatusLine.test.d.ts +2 -0
  18. package/node_modules/@syntrologie/shared-editor-ui/dist/__tests__/ConditionStatusLine.test.d.ts.map +1 -0
  19. package/node_modules/@syntrologie/shared-editor-ui/dist/__tests__/ConditionStatusLine.test.js +158 -0
  20. package/node_modules/@syntrologie/shared-editor-ui/dist/__tests__/DismissedSection.test.js +6 -0
  21. package/node_modules/@syntrologie/shared-editor-ui/dist/__tests__/EditorCard.test.js +1 -1
  22. package/node_modules/@syntrologie/shared-editor-ui/dist/__tests__/EditorHeader.test.js +4 -5
  23. package/node_modules/@syntrologie/shared-editor-ui/dist/__tests__/EditorPanelShell.test.d.ts +2 -0
  24. package/node_modules/@syntrologie/shared-editor-ui/dist/__tests__/EditorPanelShell.test.d.ts.map +1 -0
  25. package/node_modules/@syntrologie/shared-editor-ui/dist/__tests__/EditorPanelShell.test.js +25 -0
  26. package/node_modules/@syntrologie/shared-editor-ui/dist/__tests__/ElementHighlight.test.js +22 -0
  27. package/node_modules/@syntrologie/shared-editor-ui/dist/__tests__/TriggerJourney.test.js +77 -14
  28. package/node_modules/@syntrologie/shared-editor-ui/dist/__tests__/formatConditionLabel.test.js +1 -1
  29. package/node_modules/@syntrologie/shared-editor-ui/dist/components/AnchorPicker.d.ts +1 -2
  30. package/node_modules/@syntrologie/shared-editor-ui/dist/components/AnchorPicker.d.ts.map +1 -1
  31. package/node_modules/@syntrologie/shared-editor-ui/dist/components/AnchorPicker.js +4 -4
  32. package/node_modules/@syntrologie/shared-editor-ui/dist/components/BeforeAfterToggle.d.ts.map +1 -1
  33. package/node_modules/@syntrologie/shared-editor-ui/dist/components/BeforeAfterToggle.js +4 -4
  34. package/node_modules/@syntrologie/shared-editor-ui/dist/components/ConditionStatusLine.js +5 -5
  35. package/node_modules/@syntrologie/shared-editor-ui/dist/components/DismissedSection.js +1 -1
  36. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditBackButton.d.ts.map +1 -1
  37. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditBackButton.js +1 -1
  38. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorCard.d.ts.map +1 -1
  39. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorCard.js +10 -1
  40. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorFooter.d.ts.map +1 -1
  41. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorFooter.js +1 -1
  42. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorInput.d.ts +1 -1
  43. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorInput.d.ts.map +1 -1
  44. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorInput.js +5 -2
  45. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorPanelShell.d.ts.map +1 -1
  46. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorPanelShell.js +4 -4
  47. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorSelect.d.ts +1 -1
  48. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorSelect.d.ts.map +1 -1
  49. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorSelect.js +5 -2
  50. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorTextarea.d.ts +1 -1
  51. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorTextarea.d.ts.map +1 -1
  52. package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorTextarea.js +6 -4
  53. package/node_modules/@syntrologie/shared-editor-ui/dist/components/ElementHighlight.d.ts.map +1 -1
  54. package/node_modules/@syntrologie/shared-editor-ui/dist/components/ElementHighlight.js +24 -12
  55. package/node_modules/@syntrologie/shared-editor-ui/dist/components/TriggerJourney.d.ts.map +1 -1
  56. package/node_modules/@syntrologie/shared-editor-ui/dist/components/TriggerJourney.js +4 -4
  57. package/node_modules/@syntrologie/shared-editor-ui/dist/formatConditionLabel.d.ts.map +1 -1
  58. package/node_modules/@syntrologie/shared-editor-ui/dist/formatConditionLabel.js +12 -20
  59. package/node_modules/@syntrologie/shared-editor-ui/dist/index.d.ts +1 -1
  60. package/node_modules/@syntrologie/shared-editor-ui/dist/index.d.ts.map +1 -1
  61. package/node_modules/@syntrologie/shared-editor-ui/dist/index.js +1 -1
  62. package/package.json +1 -1
@@ -12,7 +12,7 @@ import { cn } from '../cn';
12
12
  /* ------------------------------------------------------------------ */
13
13
  function ProgressBar({ current, target }) {
14
14
  const pct = Math.min(100, Math.round((current / Math.max(target, 1)) * 100));
15
- return (_jsxs("div", { className: "se-flex se-items-center se-gap-0.5", children: [_jsx("span", { className: "se-inline-block se-w-8 se-h-1 se-rounded-full se-bg-white/10", title: `${current}/${target} (${pct}%)`, children: _jsx("span", { className: cn('se-block se-h-full se-rounded-full se-transition-all', pct >= 100 ? 'se-bg-green-4' : 'se-bg-blue-4'), style: { width: `${pct}%` } }) }), _jsxs("span", { className: "se-text-[9px] se-text-text-tertiary", children: [current, "/", target] })] }));
15
+ return (_jsxs("div", { className: "se-flex se-items-center se-gap-0.5", children: [_jsx("span", { className: "se-inline-block se-w-8 se-h-1 se-rounded-full se-bg-white/20", title: `${current}/${target} (${pct}%)`, children: _jsx("span", { className: cn('se-block se-h-full se-rounded-full se-transition-all', pct >= 100 ? 'se-bg-green-4' : 'se-bg-blue-4'), style: { width: `${pct}%` } }) }), _jsxs("span", { className: "se-text-[11px] se-font-medium se-text-text-secondary", children: [current, "/", target] })] }));
16
16
  }
17
17
  /* ------------------------------------------------------------------ */
18
18
  /* Internal: single journey node with label + optional connection */
@@ -24,17 +24,17 @@ function JourneyNode({ cs, isLast }) {
24
24
  ? 'se-bg-green-4 se-border-green-4'
25
25
  : inProgress
26
26
  ? 'se-bg-blue-4 se-border-blue-4'
27
- : 'se-bg-transparent se-border-white/20'), children: cs.passed && _jsx(Check, { className: "se-w-2.5 se-h-2.5 se-text-white" }) }), _jsx("span", { className: "se-text-[9px] se-text-text-tertiary se-truncate se-max-w-[60px] se-text-center se-mt-0.5", title: cs.formatted.instruction, children: cs.formatted.shortLabel }), hasProgress && (_jsx(ProgressBar, { current: cs.formatted.progress.current, target: cs.formatted.progress.target }))] }), !isLast && (_jsx("div", { "data-journey-line": true, className: cn('se-h-0.5 se-w-4 se-self-start se-mt-2 se-shrink-0', cs.passed ? 'se-bg-green-4' : 'se-bg-white/10') }))] }));
27
+ : 'se-bg-transparent se-border-white/30'), children: cs.passed && _jsx(Check, { className: "se-w-2.5 se-h-2.5 se-text-white" }) }), _jsx("span", { className: "se-text-[11px] se-font-medium se-text-text-secondary se-truncate se-max-w-[60px] se-text-center se-mt-0.5", title: cs.formatted.instruction, children: cs.formatted.shortLabel }), hasProgress && (_jsx(ProgressBar, { current: cs.formatted.progress.current, target: cs.formatted.progress.target }))] }), !isLast && (_jsx("div", { "data-journey-line": true, className: cn('se-h-0.5 se-w-4 se-self-start se-mt-2 se-shrink-0', cs.passed ? 'se-bg-green-4' : 'se-bg-white/20') }))] }));
28
28
  }
29
29
  /* ------------------------------------------------------------------ */
30
30
  /* Main component */
31
31
  /* ------------------------------------------------------------------ */
32
32
  export function TriggerJourney({ status }) {
33
33
  if (!status || status.conditions.length === 0) {
34
- return (_jsx("div", { className: "se-mt-1 se-text-[10px] se-text-text-tertiary se-italic", children: "Always Present" }));
34
+ return (_jsx("div", { className: "se-mt-1 se-text-[12px] se-font-medium se-text-text-secondary se-italic", children: "Always Present" }));
35
35
  }
36
36
  const { conditions } = status;
37
37
  const allPassed = conditions.every((c) => c.passed);
38
38
  const isMulti = conditions.length > 1;
39
- return (_jsxs("div", { className: "se-mt-1", children: [_jsx("div", { className: "se-flex se-items-start", children: conditions.map((cs, i) => (_jsx(JourneyNode, { cs: cs, isLast: i === conditions.length - 1 }, i))) }), allPassed && isMulti && (_jsxs("div", { className: "se-flex se-items-center se-gap-1 se-mt-1 se-text-[10px] se-text-green-4", children: [_jsx(Check, { className: "se-w-3 se-h-3" }), _jsx("span", { children: "All conditions met" })] }))] }));
39
+ return (_jsxs("div", { className: "se-mt-1", children: [_jsx("div", { className: "se-flex se-items-start", children: conditions.map((cs, i) => (_jsx(JourneyNode, { cs: cs, isLast: i === conditions.length - 1 }, i))) }), allPassed && isMulti && (_jsxs("div", { className: "se-flex se-items-center se-gap-1 se-mt-1 se-text-[12px] se-text-green-4", children: [_jsx(Check, { className: "se-w-3 se-h-3" }), _jsx("span", { children: "All conditions met" })] }))] }));
40
40
  }
@@ -1 +1 @@
1
- {"version":3,"file":"formatConditionLabel.d.ts","sourceRoot":"","sources":["../src/formatConditionLabel.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,UAAU,aAAa;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAgDD,MAAM,WAAW,iBAAiB;IAChC,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,kBAAkB;IACjC,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,iBAAiB,CAAC;CAC9B;AAMD;;;GAGG;AACH,wBAAgB,oBAAoB,CAClC,SAAS,EAAE,aAAa,EACxB,gBAAgB,CAAC,EAAE,MAAM,GACxB,kBAAkB,CAsKpB"}
1
+ {"version":3,"file":"formatConditionLabel.d.ts","sourceRoot":"","sources":["../src/formatConditionLabel.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,UAAU,aAAa;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAgDD,MAAM,WAAW,iBAAiB;IAChC,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,kBAAkB;IACjC,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,iBAAiB,CAAC;CAC9B;AAMD;;;GAGG;AACH,wBAAgB,oBAAoB,CAClC,SAAS,EAAE,aAAa,EACxB,gBAAgB,CAAC,EAAE,MAAM,GACxB,kBAAkB,CAgKpB"}
@@ -6,7 +6,7 @@
6
6
  * Format match criteria as a parenthetical string.
7
7
  * { tagName: 'a' } → '(tagName: a)'
8
8
  */
9
- function formatMatch(match) {
9
+ function _formatMatch(match) {
10
10
  if (!match || Object.keys(match).length === 0)
11
11
  return '';
12
12
  const parts = Object.entries(match).map(([k, v]) => `${k}: ${v}`);
@@ -72,14 +72,16 @@ export function formatConditionLabel(condition, accumulatorCount) {
72
72
  }
73
73
  else if (CLICK_RE.test(humanized)) {
74
74
  const topic = humanized.replace(/\s*clicks?\s*/i, '').trim();
75
- instruction = topic
76
- ? `Click ${topic} ${target}+ times`
77
- : `Click ${target}+ times`;
75
+ instruction = topic ? `Click ${topic} ${target}+ times` : `Click ${target}+ times`;
78
76
  shortLabel = `${target}+ clicks`;
79
77
  }
80
78
  else {
81
79
  // Generic event
82
- const lastWord = humanized.trim().split(' ').filter(w => w).pop() || 'events';
80
+ const lastWord = humanized
81
+ .trim()
82
+ .split(' ')
83
+ .filter((w) => w)
84
+ .pop() || 'events';
83
85
  instruction = `Reach ${target}+ ${humanized} events`;
84
86
  shortLabel = `${target}+ ${lastWord}s`;
85
87
  }
@@ -94,9 +96,7 @@ export function formatConditionLabel(condition, accumulatorCount) {
94
96
  const url = condition.url;
95
97
  const cleaned = cleanUrl(url);
96
98
  const hasWildcard = url !== cleaned;
97
- const instruction = hasWildcard
98
- ? `Visit a ${cleaned} page`
99
- : `Visit ${cleaned}`;
99
+ const instruction = hasWildcard ? `Visit a ${cleaned} page` : `Visit ${cleaned}`;
100
100
  return {
101
101
  label: `${url}`,
102
102
  instruction,
@@ -140,9 +140,7 @@ export function formatConditionLabel(condition, accumulatorCount) {
140
140
  if (condition.maxHeight !== undefined)
141
141
  parts.push(`h ${formatOperator('lte')} ${condition.maxHeight}px`);
142
142
  const label = parts.join(', ') || 'any viewport';
143
- const instruction = parts.length > 0
144
- ? `Use a viewport ${parts.join(' and ')}`
145
- : 'Use a viewport of any size';
143
+ const instruction = parts.length > 0 ? `Use a viewport ${parts.join(' and ')}` : 'Use a viewport of any size';
146
144
  const shortLabel = parts.length > 0 ? parts[0] : 'Any size';
147
145
  return { label, instruction, shortLabel };
148
146
  }
@@ -162,9 +160,7 @@ export function formatConditionLabel(condition, accumulatorCount) {
162
160
  const target = key || 'this';
163
161
  return {
164
162
  label: inverted ? 'not dismissed' : 'dismissed',
165
- instruction: inverted
166
- ? `Do not dismiss ${target}`
167
- : `Dismiss ${target}`,
163
+ instruction: inverted ? `Do not dismiss ${target}` : `Dismiss ${target}`,
168
164
  shortLabel: inverted ? 'Not dismissed' : 'Dismissed',
169
165
  };
170
166
  }
@@ -172,9 +168,7 @@ export function formatConditionLabel(condition, accumulatorCount) {
172
168
  const inverted = condition.inverted;
173
169
  return {
174
170
  label: inverted ? 'cooldown inactive' : 'cooldown active',
175
- instruction: inverted
176
- ? 'Wait for cooldown to expire'
177
- : 'Cooldown is active',
171
+ instruction: inverted ? 'Wait for cooldown to expire' : 'Cooldown is active',
178
172
  shortLabel: inverted ? 'Cooldown done' : 'Cooldown active',
179
173
  };
180
174
  }
@@ -183,9 +177,7 @@ export function formatConditionLabel(condition, accumulatorCount) {
183
177
  const limit = condition.limit;
184
178
  return {
185
179
  label: `shown ${formatOperator(inverted ? 'lt' : 'gte')} ${limit} times`,
186
- instruction: inverted
187
- ? `Shown fewer than ${limit} times`
188
- : `Shown ${limit}+ times`,
180
+ instruction: inverted ? `Shown fewer than ${limit} times` : `Shown ${limit}+ times`,
189
181
  shortLabel: inverted ? `< ${limit} views` : `${limit}+ views`,
190
182
  };
191
183
  }
@@ -20,9 +20,9 @@ export { EditorTextarea } from './components/EditorTextarea';
20
20
  export type { ElementHighlightProps } from './components/ElementHighlight';
21
21
  export { ElementHighlight } from './components/ElementHighlight';
22
22
  export { EmptyState } from './components/EmptyState';
23
+ export { GroupHeader } from './components/GroupHeader';
23
24
  export type { TriggerJourneyProps } from './components/TriggerJourney';
24
25
  export { TriggerJourney } from './components/TriggerJourney';
25
- export { GroupHeader } from './components/GroupHeader';
26
26
  export type { ConditionProgress, FormattedCondition } from './formatConditionLabel';
27
27
  export { formatConditionLabel } from './formatConditionLabel';
28
28
  export { useElementRect } from './hooks/useElementRect';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,MAAM,CAAC;AAC1B,YAAY,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAClF,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,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+BAA+B,CAAC;AAC3E,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACjE,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAC7D,YAAY,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AAC3E,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACjE,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AACrD,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AACvD,YAAY,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AACvE,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAC7D,YAAY,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AACpF,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACxD,YAAY,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAC9D,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAC9D,YAAY,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EACL,gBAAgB,EAChB,qBAAqB,EACrB,gBAAgB,GACjB,MAAM,2BAA2B,CAAC"}
@@ -16,8 +16,8 @@ export { EditorSelect } from './components/EditorSelect';
16
16
  export { EditorTextarea } from './components/EditorTextarea';
17
17
  export { ElementHighlight } from './components/ElementHighlight';
18
18
  export { EmptyState } from './components/EmptyState';
19
- export { TriggerJourney } from './components/TriggerJourney';
20
19
  export { GroupHeader } from './components/GroupHeader';
20
+ export { TriggerJourney } from './components/TriggerJourney';
21
21
  export { formatConditionLabel } from './formatConditionLabel';
22
22
  export { useElementRect } from './hooks/useElementRect';
23
23
  export { useShowWhenStatus } from './hooks/useShowWhenStatus';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@syntrologie/adapt-nav",
3
- "version": "2.2.0-canary.8",
3
+ "version": "2.2.0",
4
4
  "description": "Adaptive Navigation - Nav link widget, scroll-to and page navigation actions",
5
5
  "license": "Proprietary",
6
6
  "private": false,