@optiaxiom/globals 3.0.0-next.2 → 3.0.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/cjs/index.js CHANGED
@@ -345,7 +345,7 @@ const duration = {
345
345
  };
346
346
 
347
347
  const fontFamily = {
348
- heading: "Nudge Semicondensed, Roboto Condensed Variable, system-ui, sans-serif",
348
+ heading: "Nudge SemiNormal, Roboto Condensed Variable, system-ui, sans-serif",
349
349
  mono: "Roboto Mono Variable, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace",
350
350
  sans: "DI Grotesk B, Roboto Variable, system-ui, sans-serif"
351
351
  };
@@ -1,5 +1,5 @@
1
1
  const fontFamily = {
2
- heading: "Nudge Semicondensed, Roboto Condensed Variable, system-ui, sans-serif",
2
+ heading: "Nudge SemiNormal, Roboto Condensed Variable, system-ui, sans-serif",
3
3
  mono: "Roboto Mono Variable, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace",
4
4
  sans: "DI Grotesk B, Roboto Variable, system-ui, sans-serif"
5
5
  };
package/dist/index.d.ts CHANGED
@@ -47,6 +47,7 @@ type Surface = {
47
47
  type SurfaceContextValue<V = unknown> = {
48
48
  accept: (suggestionId: string) => void;
49
49
  executeTool: (name: string, parameters: unknown) => Promise<void> | void;
50
+ manualSuggestion?: boolean;
50
51
  metadata: Record<string, Omit<Surface, "name">>;
51
52
  name: string;
52
53
  pageViewId: string | undefined;
@@ -87,6 +88,9 @@ type SurfaceInteraction = {
87
88
  } | {
88
89
  name: "removed";
89
90
  value: unknown;
91
+ } | {
92
+ name: "requested";
93
+ value: unknown;
90
94
  } | {
91
95
  name: "viewed";
92
96
  });
@@ -240,7 +244,7 @@ declare const theme: MapLeafNodes<{
240
244
  readonly lg: "350ms";
241
245
  };
242
246
  readonly fontFamily: {
243
- readonly heading: "Nudge Semicondensed, Roboto Condensed Variable, system-ui, sans-serif";
247
+ readonly heading: "Nudge SemiNormal, Roboto Condensed Variable, system-ui, sans-serif";
244
248
  readonly mono: "Roboto Mono Variable, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace";
245
249
  readonly sans: "DI Grotesk B, Roboto Variable, system-ui, sans-serif";
246
250
  };
@@ -464,7 +468,7 @@ declare const tokens: {
464
468
  readonly lg: "350ms";
465
469
  };
466
470
  readonly fontFamily: {
467
- readonly heading: "Nudge Semicondensed, Roboto Condensed Variable, system-ui, sans-serif";
471
+ readonly heading: "Nudge SemiNormal, Roboto Condensed Variable, system-ui, sans-serif";
468
472
  readonly mono: "Roboto Mono Variable, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace";
469
473
  readonly sans: "DI Grotesk B, Roboto Variable, system-ui, sans-serif";
470
474
  };
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "url": "git+https://github.com/optimizely-axiom/optiaxiom.git"
8
8
  },
9
9
  "type": "module",
10
- "version": "3.0.0-next.2",
10
+ "version": "3.0.0",
11
11
  "files": [
12
12
  "dist/**",
13
13
  "LICENSE"
@@ -22,7 +22,8 @@
22
22
  "./fonts": {
23
23
  "import": "./dist/esm/fonts.js",
24
24
  "require": "./dist/cjs/fonts.js"
25
- }
25
+ },
26
+ "./package.json": "./package.json"
26
27
  },
27
28
  "sideEffects": [
28
29
  "./dist/cjs/fonts.js",