@ag2/weave 0.18.0 → 0.20.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 (39) hide show
  1. package/dist/components/account-card/AccountCard.css.d.ts +2 -0
  2. package/dist/components/account-card/AccountCard.d.ts +14 -0
  3. package/dist/components/account-card/index.d.ts +1 -0
  4. package/dist/components/color-swatch-picker/ColorSwatchPicker.css.d.ts +4 -0
  5. package/dist/components/color-swatch-picker/ColorSwatchPicker.d.ts +17 -0
  6. package/dist/components/color-swatch-picker/index.d.ts +1 -0
  7. package/dist/components/form/Form.d.ts +2 -0
  8. package/dist/components/index.d.ts +9 -0
  9. package/dist/components/media-frame/MediaFrame.css.d.ts +6 -0
  10. package/dist/components/media-frame/MediaFrame.d.ts +19 -0
  11. package/dist/components/media-frame/index.d.ts +1 -0
  12. package/dist/components/onboarding-button/OnboardingButton.css.d.ts +1 -0
  13. package/dist/components/onboarding-button/OnboardingButton.d.ts +19 -0
  14. package/dist/components/onboarding-button/index.d.ts +1 -0
  15. package/dist/components/onboarding-chip/OnboardingChip.css.d.ts +2 -0
  16. package/dist/components/onboarding-chip/OnboardingChip.d.ts +10 -0
  17. package/dist/components/onboarding-chip/index.d.ts +1 -0
  18. package/dist/components/onboarding-key-button/OnboardingKeyButton.css.d.ts +4 -0
  19. package/dist/components/onboarding-key-button/OnboardingKeyButton.d.ts +12 -0
  20. package/dist/components/onboarding-key-button/index.d.ts +1 -0
  21. package/dist/components/onboarding-motion/OnboardingMotion.css.d.ts +6 -0
  22. package/dist/components/onboarding-motion/OnboardingMotion.d.ts +34 -0
  23. package/dist/components/onboarding-motion/index.d.ts +1 -0
  24. package/dist/components/onboarding-setup/OnboardingSetup.css.d.ts +21 -0
  25. package/dist/components/onboarding-setup/OnboardingSetup.d.ts +91 -0
  26. package/dist/components/onboarding-setup/index.d.ts +1 -0
  27. package/dist/components/option-card/OptionCard.css.d.ts +7 -0
  28. package/dist/components/option-card/OptionCard.d.ts +18 -0
  29. package/dist/components/option-card/index.d.ts +1 -0
  30. package/dist/components/orb-background/OrbBackground.d.ts +3 -2
  31. package/dist/components/orb-background/orbField.d.ts +16 -1
  32. package/dist/index.js +1025 -110
  33. package/dist/index.js.map +1 -1
  34. package/dist/style.css +750 -1
  35. package/dist/theme/agentColors.d.ts +47 -0
  36. package/dist/theme/auraColors.d.ts +39 -0
  37. package/dist/theme/index.d.ts +3 -0
  38. package/dist/theme/onboarding.d.ts +13 -0
  39. package/package.json +1 -1
@@ -0,0 +1,47 @@
1
+ import { identityFamilies } from "./identity";
2
+ /** Named onboarding accents; the identity belongs to the agent, not the surrounding chrome. */
3
+ export declare const agentColorTokens: {
4
+ readonly ember: {
5
+ readonly label: "Ember";
6
+ readonly center: "oklch(0.787009699 0.136442307 59.826136225)";
7
+ readonly rim: "oklch(0.527119098 0.109407543 54.339303924)";
8
+ };
9
+ readonly pink: {
10
+ readonly label: "Pink";
11
+ readonly center: "oklch(0.903800376 0.079694210 323.525249668)";
12
+ readonly rim: "oklch(0.628482741 0.059538517 323.525249668)";
13
+ };
14
+ readonly sky: {
15
+ readonly label: "Sky";
16
+ readonly center: "oklch(0.873307324 0.069002135 240.773146555)";
17
+ readonly rim: "oklch(0.522871788 0.167994038 270.119438779)";
18
+ };
19
+ readonly mint: {
20
+ readonly label: "Mint";
21
+ readonly center: "oklch(0.857770418 0.084263041 161.517741975)";
22
+ readonly rim: "oklch(0.528376478 0.141024154 150.772194033)";
23
+ };
24
+ readonly lemon: {
25
+ readonly label: "Lemon";
26
+ readonly center: "oklch(0.957225457 0.076968671 109.359087060)";
27
+ readonly rim: "oklch(0.899728131 0.169532284 104.561072571)";
28
+ };
29
+ readonly lilac: {
30
+ readonly label: "Lilac";
31
+ readonly center: "oklch(0.939834472 0.020443981 270.119438779)";
32
+ readonly rim: "oklch(0.799172362 0.070219904 270.119438779)";
33
+ };
34
+ readonly peach: {
35
+ readonly label: "Peach";
36
+ readonly center: "oklch(0.861424801 0.062583788 43.322761008)";
37
+ readonly rim: "oklch(0.787009699 0.136442307 59.826136225)";
38
+ };
39
+ };
40
+ export declare type AgentColor = keyof typeof agentColorTokens;
41
+ export declare const agentColors: ("pink" | "ember" | "sky" | "mint" | "lemon" | "lilac" | "peach")[];
42
+ /** Persist the AgentColor; use this family for non-aura avatars across the app. */
43
+ export declare const agentIdentityFamilies: Record<AgentColor, typeof identityFamilies[number]>;
44
+ /** Index into identityValues.light/dark, whose ordering is shared by identity avatars. */
45
+ export declare const agentIdentityIndex: (color: AgentColor) => number;
46
+ /** Validate colours received from storage or another client version. */
47
+ export declare const isAgentColor: (value: unknown) => value is "pink" | "ember" | "sky" | "mint" | "lemon" | "lilac" | "peach";
@@ -0,0 +1,39 @@
1
+ /** G Aura prototype colours. Bright rims are tuned for the blurred field, not UI controls. */
2
+ export declare const auraColorTokens: {
3
+ readonly ember: {
4
+ readonly center: "#f9a358";
5
+ readonly rim: "#f2661e";
6
+ };
7
+ readonly pink: {
8
+ readonly center: "#f8cefe";
9
+ readonly rim: "#e58af0";
10
+ };
11
+ readonly sky: {
12
+ readonly center: "#addbff";
13
+ readonly rim: "#4a5fd0";
14
+ };
15
+ readonly mint: {
16
+ readonly center: "#a0e2bf";
17
+ readonly rim: "#2e8f5e";
18
+ };
19
+ readonly lemon: {
20
+ readonly center: "#f0e345";
21
+ readonly rim: "#8dbf3a";
22
+ };
23
+ readonly lilac: {
24
+ readonly center: "#f2d4ff";
25
+ readonly rim: "#9aa6ff";
26
+ };
27
+ readonly peach: {
28
+ readonly center: "#ffe0cd";
29
+ readonly rim: "#f9a358";
30
+ };
31
+ readonly forest: {
32
+ readonly center: "#0a8a44";
33
+ readonly rim: "#045a2c";
34
+ };
35
+ readonly cream: {
36
+ readonly center: "#f4f6ba";
37
+ readonly rim: "#c9a14a";
38
+ };
39
+ };
@@ -9,3 +9,6 @@ export * from "./identity";
9
9
  export * from "./colorValue";
10
10
  export * from "./brand";
11
11
  export * from "./reading";
12
+ export * from "./onboarding";
13
+ export * from "./agentColors";
14
+ export * from "./auraColors";
@@ -0,0 +1,13 @@
1
+ /** G · Aura uses a fixed white content surface, including inside dark app chrome. */
2
+ export declare const onboardingTokens: {
3
+ readonly surface: "oklch(1 0 0)";
4
+ readonly ink: "oklch(0.215703550 0.003145551 17.400595087)";
5
+ readonly keyFill: "oklch(0.215703550 0.003145551 17.400595087)";
6
+ readonly keyInk: "oklch(1 0 0)";
7
+ readonly keyPressedInk: "oklch(0.215703550 0.003145551 17.400595087)";
8
+ readonly keyGradient: "linear-gradient(105deg, oklch(0.873307324 0.069002135 240.773146555), oklch(0.903800376 0.079694210 323.525249668) 52%, oklch(0.787009699 0.136442307 59.826136225))";
9
+ readonly cardShadow: "0 8px 32px color-mix(in srgb, oklch(0.215703550 0.003145551 17.400595087) 9%, transparent)";
10
+ /** Brand/Ember inner glow on white: Brand buttons, selected option cards. */
11
+ readonly brandGlow: "inset 2px 2px 10px color-mix(in srgb, oklch(0.787009699 0.136442307 59.826136225) 30%, transparent), inset -2px -2px 10px color-mix(in srgb, oklch(0.787009699 0.136442307 59.826136225) 30%, transparent)";
12
+ readonly brandGlowStrong: "inset 2px 2px 12px color-mix(in srgb, oklch(0.787009699 0.136442307 59.826136225) 45%, transparent), inset -2px -2px 12px color-mix(in srgb, oklch(0.787009699 0.136442307 59.826136225) 45%, transparent)";
13
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ag2/weave",
3
- "version": "0.18.0",
3
+ "version": "0.20.0",
4
4
  "author": "Ajay Bura (ajbura)",
5
5
  "license": "Apache-2.0",
6
6
  "main": "dist/index.js",