@ag2/weave 0.5.1 → 0.6.0-direction-d.2

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 (147) hide show
  1. package/DIRECTION_D_PREVIEW.json +6 -0
  2. package/MATERIAL-SYMBOLS-LICENSE.txt +202 -0
  3. package/dist/components/activity-card/ActivityCard.d.ts +26 -0
  4. package/dist/components/activity-card/index.d.ts +1 -0
  5. package/dist/components/avatar/Avatar.css.d.ts +25 -0
  6. package/dist/components/avatar/Avatar.d.ts +2 -1
  7. package/dist/components/badge/Badge.css.d.ts +2 -0
  8. package/dist/components/badge/Badge.d.ts +1 -1
  9. package/dist/components/banner/Banner.d.ts +14 -0
  10. package/dist/components/banner/index.d.ts +1 -0
  11. package/dist/components/box/Box.css.d.ts +9 -0
  12. package/dist/components/box/Box.d.ts +1 -1
  13. package/dist/components/button/Button.css.d.ts +3 -1
  14. package/dist/components/button/Button.d.ts +1 -1
  15. package/dist/components/button-group/ButtonGroup.css.d.ts +2 -0
  16. package/dist/components/button-group/ButtonGroup.d.ts +16 -0
  17. package/dist/components/button-group/index.d.ts +1 -0
  18. package/dist/components/call/Call.css.d.ts +18 -0
  19. package/dist/components/call/Call.d.ts +46 -0
  20. package/dist/components/call/CallMicrophoneButton.d.ts +15 -0
  21. package/dist/components/call/index.d.ts +2 -0
  22. package/dist/components/card/Card.css.d.ts +2 -0
  23. package/dist/components/card/Card.d.ts +32 -0
  24. package/dist/components/card/index.d.ts +1 -0
  25. package/dist/components/checkbox/Checkbox.d.ts +1 -0
  26. package/dist/components/chip/Chip.css.d.ts +3 -1
  27. package/dist/components/chip/Chip.d.ts +1 -1
  28. package/dist/components/composer/Composer.css.d.ts +22 -0
  29. package/dist/components/composer/Composer.d.ts +41 -0
  30. package/dist/components/composer/index.d.ts +1 -0
  31. package/dist/components/content-card/ContentCard.css.d.ts +3 -0
  32. package/dist/components/content-card/ContentCard.d.ts +37 -0
  33. package/dist/components/content-card/index.d.ts +1 -0
  34. package/dist/components/date-time/DateTime.d.ts +17 -0
  35. package/dist/components/date-time/index.d.ts +1 -0
  36. package/dist/components/dialog-frame/DialogFrame.css.d.ts +2 -0
  37. package/dist/components/dialog-frame/DialogFrame.d.ts +17 -0
  38. package/dist/components/dialog-frame/index.d.ts +1 -0
  39. package/dist/components/dock/Dock.css.d.ts +5 -0
  40. package/dist/components/dock/Dock.d.ts +14 -0
  41. package/dist/components/dock/index.d.ts +1 -0
  42. package/dist/components/file-attachment/FileAttachment.css.d.ts +1 -0
  43. package/dist/components/file-attachment/FileAttachment.d.ts +10 -0
  44. package/dist/components/file-attachment/index.d.ts +1 -0
  45. package/dist/components/floating-toolbar/FloatingToolbar.css.d.ts +1 -0
  46. package/dist/components/floating-toolbar/FloatingToolbar.d.ts +14 -0
  47. package/dist/components/floating-toolbar/index.d.ts +1 -0
  48. package/dist/components/folder-field/FolderField.d.ts +12 -0
  49. package/dist/components/folder-field/index.d.ts +1 -0
  50. package/dist/components/icon/Icons.d.ts +1 -1
  51. package/dist/components/icon-button/IconButton.css.d.ts +2 -0
  52. package/dist/components/icon-button/IconButton.d.ts +1 -1
  53. package/dist/components/identity/Identity.css.d.ts +32 -0
  54. package/dist/components/identity/Identity.d.ts +58 -0
  55. package/dist/components/identity/IdentityLists.d.ts +22 -0
  56. package/dist/components/identity/index.d.ts +2 -0
  57. package/dist/components/index.d.ts +32 -0
  58. package/dist/components/input/Input.css.d.ts +2 -0
  59. package/dist/components/input/Input.d.ts +1 -1
  60. package/dist/components/list-row/ListRow.css.d.ts +2 -0
  61. package/dist/components/list-row/ListRow.d.ts +11 -0
  62. package/dist/components/list-row/index.d.ts +1 -0
  63. package/dist/components/menu/MenuItem.css.d.ts +2 -0
  64. package/dist/components/menu/MenuItem.d.ts +1 -1
  65. package/dist/components/menu-button/MenuButton.css.d.ts +1 -0
  66. package/dist/components/menu-button/MenuButton.d.ts +31 -0
  67. package/dist/components/menu-button/index.d.ts +1 -0
  68. package/dist/components/motion/Motion.css.d.ts +3 -0
  69. package/dist/components/motion/Motion.d.ts +9 -0
  70. package/dist/components/motion/index.d.ts +1 -0
  71. package/dist/components/nav/Nav.css.d.ts +31 -0
  72. package/dist/components/nav/Nav.d.ts +52 -0
  73. package/dist/components/nav/index.d.ts +1 -0
  74. package/dist/components/page/Page.d.ts +1 -1
  75. package/dist/components/page/style.css.d.ts +2 -2
  76. package/dist/components/page-state/EmptyState.d.ts +12 -0
  77. package/dist/components/page-state/ErrorState.d.ts +9 -0
  78. package/dist/components/page-state/LoadingState.d.ts +5 -0
  79. package/dist/components/page-state/PageState.css.d.ts +3 -0
  80. package/dist/components/page-state/PageTitleHeader.d.ts +13 -0
  81. package/dist/components/page-state/index.d.ts +4 -0
  82. package/dist/components/password-input/PasswordInput.d.ts +7 -0
  83. package/dist/components/password-input/index.d.ts +1 -0
  84. package/dist/components/person-avatar/PersonAvatar.d.ts +6 -0
  85. package/dist/components/person-avatar/index.d.ts +1 -0
  86. package/dist/components/pill/Pill.d.ts +11 -0
  87. package/dist/components/pill/index.d.ts +1 -0
  88. package/dist/components/pop-out/PopOut.css.d.ts +1 -0
  89. package/dist/components/power/Power.css.d.ts +1 -0
  90. package/dist/components/power/Power.d.ts +24 -0
  91. package/dist/components/power/index.d.ts +1 -0
  92. package/dist/components/presence/Presence.css.d.ts +39 -0
  93. package/dist/components/presence/Presence.d.ts +20 -0
  94. package/dist/components/presence/index.d.ts +1 -0
  95. package/dist/components/progress-bar/ProgressBar.css.d.ts +2 -0
  96. package/dist/components/progress-bar/ProgressBar.d.ts +1 -1
  97. package/dist/components/scroll/Scroll.d.ts +1 -1
  98. package/dist/components/select/Select.css.d.ts +3 -0
  99. package/dist/components/select/Select.d.ts +21 -0
  100. package/dist/components/select/index.d.ts +1 -0
  101. package/dist/components/sequence-card/SequenceCard.d.ts +2 -2
  102. package/dist/components/sequence-card/style.css.d.ts +18 -2
  103. package/dist/components/settings-shell/SettingsShell.css.d.ts +6 -0
  104. package/dist/components/settings-shell/SettingsShell.d.ts +31 -0
  105. package/dist/components/settings-shell/index.d.ts +1 -0
  106. package/dist/components/sidebar/Sidebar.css.d.ts +2 -2
  107. package/dist/components/sidebar/SidebarItem.d.ts +2 -1
  108. package/dist/components/skeleton/Skeleton.css.d.ts +28 -0
  109. package/dist/components/skeleton/Skeleton.d.ts +10 -0
  110. package/dist/components/skeleton/index.d.ts +1 -0
  111. package/dist/components/spinner/Spinner.css.d.ts +5 -0
  112. package/dist/components/spinner/Spinner.d.ts +1 -0
  113. package/dist/components/split-button/SplitButton.css.d.ts +4 -0
  114. package/dist/components/split-button/SplitButton.d.ts +16 -0
  115. package/dist/components/split-button/index.d.ts +1 -0
  116. package/dist/components/tab-bar/TabBar.d.ts +12 -0
  117. package/dist/components/tab-bar/index.d.ts +1 -0
  118. package/dist/components/text/Text.css.d.ts +15 -0
  119. package/dist/components/text/Text.d.ts +1 -1
  120. package/dist/components/text-area/TextArea.css.d.ts +2 -3
  121. package/dist/components/text-area/TextArea.d.ts +1 -1
  122. package/dist/components/timeline/Timeline.css.d.ts +24 -0
  123. package/dist/components/timeline/Timeline.d.ts +51 -0
  124. package/dist/components/timeline/index.d.ts +1 -0
  125. package/dist/components/tooltip/Hint.d.ts +13 -0
  126. package/dist/components/tooltip/Tooltip.css.d.ts +2 -0
  127. package/dist/components/tooltip/Tooltip.d.ts +1 -1
  128. package/dist/components/tooltip/index.d.ts +1 -0
  129. package/dist/components/typing-indicator/TypingIndicator.css.d.ts +7 -0
  130. package/dist/components/unread-badge/UnreadBadge.css.d.ts +2 -0
  131. package/dist/components/unread-badge/UnreadBadge.d.ts +13 -0
  132. package/dist/components/unread-badge/index.d.ts +1 -0
  133. package/dist/components/variant.css.d.ts +2 -0
  134. package/dist/components/wavy-progress/WavyProgress.css.d.ts +3 -0
  135. package/dist/components/wavy-progress/WavyProgress.d.ts +8 -0
  136. package/dist/components/wavy-progress/index.d.ts +1 -0
  137. package/dist/index.js +5854 -4497
  138. package/dist/index.js.map +1 -1
  139. package/dist/style.css +1671 -609
  140. package/dist/styles/ContainerColor.css.d.ts +1 -0
  141. package/dist/theme/color.css.d.ts +1 -0
  142. package/dist/theme/config.css.d.ts +23 -0
  143. package/dist/theme/index.d.ts +1 -0
  144. package/dist/theme/review.css.d.ts +115 -0
  145. package/dist/utils/rovingFocus.d.ts +3 -0
  146. package/package.json +11 -75
  147. package/CHANGELOG.md +0 -239
@@ -1,5 +1,6 @@
1
1
  import { ComplexStyleRule } from "@vanilla-extract/css";
2
2
  import { RecipeVariants } from "@vanilla-extract/recipes";
3
+ export declare const containerLine: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
3
4
  export declare const ContainerColor: import("@vanilla-extract/recipes").RuntimeFn<{
4
5
  variant: {
5
6
  Background: ComplexStyleRule;
@@ -87,3 +87,4 @@ export declare const color: {
87
87
  };
88
88
  };
89
89
  export declare const lightTheme: string;
90
+ export declare const darkTheme: string;
@@ -1,6 +1,8 @@
1
1
  export declare const configClass: string, config: {
2
2
  font: {
3
3
  Inter: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
4
+ Manrope: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
5
+ GeistMono: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
4
6
  };
5
7
  fontSize: {
6
8
  D400: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
@@ -18,6 +20,7 @@ export declare const configClass: string, config: {
18
20
  B400: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
19
21
  B300: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
20
22
  L400: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
23
+ LabelMono: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
21
24
  O400: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
22
25
  C400: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
23
26
  };
@@ -37,6 +40,7 @@ export declare const configClass: string, config: {
37
40
  B400: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
38
41
  B300: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
39
42
  L400: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
43
+ LabelMono: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
40
44
  O400: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
41
45
  C400: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
42
46
  };
@@ -56,6 +60,7 @@ export declare const configClass: string, config: {
56
60
  B400: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
57
61
  B300: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
58
62
  L400: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
63
+ LabelMono: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
59
64
  O400: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
60
65
  C400: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
61
66
  };
@@ -72,19 +77,24 @@ export declare const configClass: string, config: {
72
77
  };
73
78
  space: {
74
79
  S0: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
80
+ S50: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
75
81
  S100: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
76
82
  S200: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
83
+ S250: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
77
84
  S300: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
78
85
  S400: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
79
86
  S500: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
80
87
  S600: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
81
88
  S700: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
89
+ S800: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
82
90
  };
83
91
  radii: {
84
92
  R0: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
85
93
  R300: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
86
94
  R400: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
87
95
  R500: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
96
+ R600: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
97
+ R700: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
88
98
  Round: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
89
99
  Pill: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
90
100
  };
@@ -108,6 +118,8 @@ export declare const configClass: string, config: {
108
118
  E200: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
109
119
  E300: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
110
120
  E400: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
121
+ Hover: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
122
+ Floating: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
111
123
  };
112
124
  size: {
113
125
  XInherit: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
@@ -128,6 +140,17 @@ export declare const configClass: string, config: {
128
140
  ModalDrawerWidth: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
129
141
  };
130
142
  transition: {};
143
+ easing: {
144
+ Spring: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
145
+ Standard: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
146
+ };
147
+ duration: {
148
+ D100: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
149
+ D200: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
150
+ D300: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
151
+ D400: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
152
+ D500: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
153
+ };
131
154
  opacity: {
132
155
  P500: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
133
156
  P400: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
@@ -1,4 +1,5 @@
1
1
  export * from "./color.css";
2
2
  export * from "./config.css";
3
+ export * from "./review.css";
3
4
  export * from "./vars.css";
4
5
  export * from "./util";
@@ -0,0 +1,115 @@
1
+ export declare const review: {
2
+ approved: {
3
+ solid: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
4
+ onSolid: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
5
+ soft: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
6
+ onSoft: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
7
+ line: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
8
+ };
9
+ changesRequested: {
10
+ solid: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
11
+ onSolid: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
12
+ soft: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
13
+ onSoft: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
14
+ line: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
15
+ };
16
+ comment: {
17
+ solid: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
18
+ onSolid: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
19
+ soft: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
20
+ onSoft: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
21
+ line: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
22
+ };
23
+ conflict: {
24
+ solid: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
25
+ onSolid: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
26
+ soft: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
27
+ onSoft: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
28
+ line: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
29
+ };
30
+ neutral: {
31
+ solid: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
32
+ onSolid: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
33
+ soft: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
34
+ onSoft: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
35
+ line: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
36
+ };
37
+ };
38
+ export declare const reviewPalettes: {
39
+ readonly light: {
40
+ readonly approved: {
41
+ readonly solid: "#28764b";
42
+ readonly onSolid: "#ffffff";
43
+ readonly soft: "#e7f0eb";
44
+ readonly onSoft: "#205f3d";
45
+ readonly line: "#b9d5c5";
46
+ };
47
+ readonly changesRequested: {
48
+ readonly solid: "#9b5417";
49
+ readonly onSolid: "#ffffff";
50
+ readonly soft: "#f6eee6";
51
+ readonly onSoft: "#79400f";
52
+ readonly line: "#dfc5ab";
53
+ };
54
+ readonly comment: {
55
+ readonly solid: "#246ab8";
56
+ readonly onSolid: "#ffffff";
57
+ readonly soft: "#e7eff7";
58
+ readonly onSoft: "#15508f";
59
+ readonly line: "#b5cde7";
60
+ };
61
+ readonly conflict: {
62
+ readonly solid: "#b94c38";
63
+ readonly onSolid: "#ffffff";
64
+ readonly soft: "#f8e8e4";
65
+ readonly onSoft: "#743025";
66
+ readonly line: "#e2b9b0";
67
+ };
68
+ readonly neutral: {
69
+ readonly solid: "#5f6873";
70
+ readonly onSolid: "#ffffff";
71
+ readonly soft: "#eceef1";
72
+ readonly onSoft: "#4c545e";
73
+ readonly line: "#cbd0d7";
74
+ };
75
+ };
76
+ readonly dark: {
77
+ readonly approved: {
78
+ readonly solid: "#74c596";
79
+ readonly onSolid: "#0b2315";
80
+ readonly soft: "#233d32";
81
+ readonly onSoft: "#a9dcbe";
82
+ readonly line: "#365d4b";
83
+ };
84
+ readonly changesRequested: {
85
+ readonly solid: "#f0ad67";
86
+ readonly onSolid: "#201408";
87
+ readonly soft: "#453322";
88
+ readonly onSoft: "#f5c99b";
89
+ readonly line: "#6a4e32";
90
+ };
91
+ readonly comment: {
92
+ readonly solid: "#74b9f5";
93
+ readonly onSolid: "#0b2136";
94
+ readonly soft: "#243b55";
95
+ readonly onSoft: "#b8dcff";
96
+ readonly line: "#365a7c";
97
+ };
98
+ readonly conflict: {
99
+ readonly solid: "#e0806f";
100
+ readonly onSolid: "#281411";
101
+ readonly soft: "#302224";
102
+ readonly onSoft: "#f0b5aa";
103
+ readonly line: "#5a3734";
104
+ };
105
+ readonly neutral: {
106
+ readonly solid: "#9aa3ad";
107
+ readonly onSolid: "#111318";
108
+ readonly soft: "#242830";
109
+ readonly onSoft: "#c9ced6";
110
+ readonly line: "#3a414b";
111
+ };
112
+ };
113
+ };
114
+ export declare const lightReviewClass: string;
115
+ export declare const darkReviewClass: string;
@@ -0,0 +1,3 @@
1
+ import { KeyboardEvent } from "react";
2
+ /** Move among enabled buttons while leaving Tab to the browser. */
3
+ export declare const moveFocus: (event: KeyboardEvent<HTMLElement>) => HTMLButtonElement | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ag2/weave",
3
- "version": "0.5.1",
3
+ "version": "0.6.0-direction-d.2",
4
4
  "author": "Ajay Bura (ajbura)",
5
5
  "license": "Apache-2.0",
6
6
  "main": "dist/index.js",
@@ -9,26 +9,9 @@
9
9
  "dist",
10
10
  "LICENSE",
11
11
  "README.md",
12
- "CHANGELOG.md",
13
- "package.json"
12
+ "MATERIAL-SYMBOLS-LICENSE.txt",
13
+ "DIRECTION_D_PREVIEW.json"
14
14
  ],
15
- "publishConfig": {
16
- "access": "public"
17
- },
18
- "scripts": {
19
- "build": "vite build",
20
- "lint": "npm run check:eslint && npm run check:prettier",
21
- "check:eslint": "eslint src/*",
22
- "check:prettier": "prettier --check .",
23
- "fix:prettier": "prettier --write .",
24
- "typecheck": "tsc --noEmit",
25
- "prepare": "husky install",
26
- "commit": "git-cz",
27
- "semantic-release": "semantic-release",
28
- "storybook": "storybook dev -p 6006",
29
- "build-storybook": "storybook build",
30
- "test-storybook": "test-storybook"
31
- },
32
15
  "lint-staged": {
33
16
  "*.{ts,tsx,js,jsx}": "eslint",
34
17
  "*": "prettier --ignore-unknown --write"
@@ -41,67 +24,20 @@
41
24
  "@vanilla-extract/css": "^1.9.2",
42
25
  "@vanilla-extract/recipes": "^0.3.0",
43
26
  "classnames": "^2.3.2",
27
+ "focus-trap-react": "^10.0.2",
44
28
  "react": ">=17 <19",
45
29
  "react-dom": ">=17 <19"
46
30
  },
47
- "devDependencies": {
48
- "@babel/core": "7.20.12",
49
- "@fontsource/inter": "4.5.12",
50
- "@storybook/addon-essentials": "8.6.18",
51
- "@storybook/addon-interactions": "8.6.18",
52
- "@storybook/addon-links": "8.6.18",
53
- "@storybook/react": "8.6.18",
54
- "@storybook/react-vite": "8.6.18",
55
- "@storybook/test": "8.6.18",
56
- "@storybook/test-runner": "0.22.1",
57
- "@types/react": "18.0.14",
58
- "@types/react-dom": "18.0.5",
59
- "@typescript-eslint/eslint-plugin": "5.29.0",
60
- "@typescript-eslint/parser": "5.29.0",
61
- "@vanilla-extract/css": "1.9.2",
62
- "@vanilla-extract/recipes": "0.3.0",
63
- "@vanilla-extract/vite-plugin": "3.7.1",
64
- "@vitejs/plugin-react": "3.0.1",
65
- "babel-loader": "8.3.0",
66
- "classnames": "2.3.2",
67
- "cz-conventional-changelog": "3.3.0",
68
- "eslint": "7.32.0 || 8.2.0",
69
- "eslint-config-airbnb": "19.0.4",
70
- "eslint-config-prettier": "8.5.0",
71
- "eslint-plugin-import": "2.25.3",
72
- "eslint-plugin-jsx-a11y": "6.5.1",
73
- "eslint-plugin-react": "7.28.0",
74
- "eslint-plugin-react-hooks": "4.3.0",
75
- "eslint-plugin-storybook": "0.8.0",
76
- "focus-trap-react": "10.0.2",
77
- "http-server": "14.1.1",
78
- "husky": "8.0.1",
79
- "lint-staged": "13.0.2",
80
- "prettier": "2.8.1",
81
- "react": "18.2.0",
82
- "react-dom": "18.2.0",
83
- "semantic-release": "19.0.5",
84
- "storybook": "8.6.18",
85
- "typescript": "4.7.4",
86
- "vite": "4.5.14",
87
- "vite-plugin-dts": "1.7.1",
88
- "wait-on": "8.0.3"
89
- },
90
31
  "config": {
91
32
  "commitizen": {
92
33
  "path": "./node_modules/cz-conventional-changelog"
93
34
  }
94
35
  },
95
- "release": {
96
- "branches": [
97
- "main"
98
- ],
99
- "plugins": [
100
- "@semantic-release/commit-analyzer",
101
- "@semantic-release/release-notes-generator",
102
- "@semantic-release/npm",
103
- "@semantic-release/github"
104
- ]
105
- },
106
- "description": "Weave — the AG2 Space design system (forked from folds 2.6.2)"
36
+ "description": "Weave — the AG2 Space design system (forked from folds 2.6.2)",
37
+ "private": false,
38
+ "publishConfig": {
39
+ "access": "public",
40
+ "tag": "direction-d",
41
+ "registry": "https://registry.npmjs.org"
42
+ }
107
43
  }
package/CHANGELOG.md DELETED
@@ -1,239 +0,0 @@
1
- > From 0.4.0 on, release notes live on GitHub Releases: https://github.com/ag2-space/weave/releases
2
- > This file is frozen at 0.3.0 (the release job no longer commits to main).
3
-
4
- # [0.3.0](https://github.com/ag2-space/weave/compare/v0.2.0...v0.3.0) (2026-09-14)
5
-
6
- ### Features
7
-
8
- - **current:** the Current design-system layer and CurrentReviewCard, ported from the web client ([231ce4c](https://github.com/ag2-space/weave/commit/231ce4c6d471c12ea1045d1f2cd27795263c63c4))
9
-
10
- # [0.2.0](https://github.com/ag2-space/weave/compare/v0.1.0...v0.2.0) (2026-09-13)
11
-
12
- ### Features
13
-
14
- - **components:** port 14 actively-used components from cinny-webclient ([448f1dc](https://github.com/ag2-space/weave/commit/448f1dc137554b25024b8bec54c222859e55ac45))
15
- - **components:** port page and its hook chain from cinny-webclient ([ca9a5b3](https://github.com/ag2-space/weave/commit/ca9a5b370cdd01bd947a47fc2226d449fffbae3c))
16
-
17
- # [0.1.0](https://github.com/ag2-space/weave/compare/v0.0.0...v0.1.0) (2026-09-13)
18
-
19
- ### Features
20
-
21
- - publish folds@2.6.2 as @ag2/weave ([3555914](https://github.com/ag2-space/weave/commit/35559141bb02fe693d5907c41fdfb0cef1a1605d))
22
-
23
- ## [2.6.2](https://github.com/cinnyapp/folds/compare/v2.6.1...v2.6.2) (2026-03-10)
24
-
25
- ### Bug Fixes
26
-
27
- - programmatic focus makes tooltip appear ([#128](https://github.com/cinnyapp/folds/issues/128)) ([602244f](https://github.com/cinnyapp/folds/commit/602244f2c87bc119424e7bb2344ccb6c443e8cab))
28
-
29
- ## [2.6.1](https://github.com/cinnyapp/folds/compare/v2.6.0...v2.6.1) (2026-02-22)
30
-
31
- ### Bug Fixes
32
-
33
- - broken scrollbar color in safari ([#111](https://github.com/cinnyapp/folds/issues/111)) ([31ffd17](https://github.com/cinnyapp/folds/commit/31ffd17d751c78d8399f53039dae6386f9bae992))
34
-
35
- # [2.6.0](https://github.com/cinnyapp/folds/compare/v2.5.0...v2.6.0) (2026-02-16)
36
-
37
- ### Features
38
-
39
- - volume high lock and globe icon ([#108](https://github.com/cinnyapp/folds/issues/108)) ([13b509c](https://github.com/cinnyapp/folds/commit/13b509c9ad2fddd5cdf300aa42e66f9287738c71))
40
-
41
- # [2.5.0](https://github.com/cinnyapp/folds/compare/v2.4.0...v2.5.0) (2025-10-24)
42
-
43
- ### Features
44
-
45
- - phone down, headphone mute, globe, screen share icons and fix mic and phone icons ([#98](https://github.com/cinnyapp/folds/issues/98)) ([7f5c22f](https://github.com/cinnyapp/folds/commit/7f5c22f5a8b576ff4b2b4b29484bdac17e32f58d))
46
-
47
- # [2.4.0](https://github.com/cinnyapp/folds/compare/v2.3.0...v2.4.0) (2025-10-09)
48
-
49
- ### Bug Fixes
50
-
51
- - broken thin scrollbar color in browser without scrollbar-color support ([#95](https://github.com/cinnyapp/folds/issues/95)) ([6fcdcec](https://github.com/cinnyapp/folds/commit/6fcdcece814e848bed9d24e2f0be67d4eff83709))
52
-
53
- ### Features
54
-
55
- - clock icon ([#96](https://github.com/cinnyapp/folds/issues/96)) ([bdb19b1](https://github.com/cinnyapp/folds/commit/bdb19b1f05cc91e5f5b29e7411d234bcdd27da1c))
56
-
57
- # [2.3.0](https://github.com/cinnyapp/folds/compare/v2.2.0...v2.3.0) (2025-09-11)
58
-
59
- ### Bug Fixes
60
-
61
- - remove background color from header ([#93](https://github.com/cinnyapp/folds/issues/93)) ([e9674b3](https://github.com/cinnyapp/folds/commit/e9674b3df35b69fc7dc1d35d18a3732d4c51de4a))
62
-
63
- ### Features
64
-
65
- - container context for tooltip, popout and overlay component ([#92](https://github.com/cinnyapp/folds/issues/92)) ([da1adb5](https://github.com/cinnyapp/folds/commit/da1adb52fcc1027e9a39059022f6ba5d3e607a11))
66
-
67
- # [2.2.0](https://github.com/cinnyapp/folds/compare/v2.1.0...v2.2.0) (2025-05-26)
68
-
69
- ### Bug Fixes
70
-
71
- - textarea size prop ([#84](https://github.com/cinnyapp/folds/issues/84)) ([05eb8e6](https://github.com/cinnyapp/folds/commit/05eb8e6a491cba84f126a259061f8d7c7faa878f))
72
-
73
- ### Features
74
-
75
- - icons for thread, monitor, server, mic, video camera, prohibited and no entry ([#83](https://github.com/cinnyapp/folds/issues/83)) ([0c2e0fa](https://github.com/cinnyapp/folds/commit/0c2e0fa077bcfe831ea97a8f1fc740d897d644d5))
76
-
77
- # [2.1.0](https://github.com/cinnyapp/folds/compare/v2.0.0...v2.1.0) (2024-12-21)
78
-
79
- ### Features
80
-
81
- - text area component ([#61](https://github.com/cinnyapp/folds/issues/61)) ([3adf384](https://github.com/cinnyapp/folds/commit/3adf384038d7b87d99fcabae38bf86cde7818875))
82
-
83
- # [2.0.0](https://github.com/cinnyapp/folds/compare/v1.7.0...v2.0.0) (2024-04-14)
84
-
85
- ### Bug Fixes
86
-
87
- - types and api of tooltip provide and popout component ([#36](https://github.com/cinnyapp/folds/issues/36)) ([637f9be](https://github.com/cinnyapp/folds/commit/637f9beefa9529b2fb8a279a35806436b99050dc))
88
-
89
- ### Features
90
-
91
- - open popout with anchor coordinates ([#40](https://github.com/cinnyapp/folds/issues/40)) ([86b66d9](https://github.com/cinnyapp/folds/commit/86b66d96d7a7632c1efddd56d8070ce667311eed))
92
-
93
- ### BREAKING CHANGES
94
-
95
- - popout children forward ref and open prop is now removed with anchor prop
96
-
97
- # [1.7.0](https://github.com/cinnyapp/folds/compare/v1.6.0...v1.7.0) (2024-04-08)
98
-
99
- ### Features
100
-
101
- - fill variant in icon button, chip and menu item components ([#35](https://github.com/cinnyapp/folds/issues/35)) ([b074d42](https://github.com/cinnyapp/folds/commit/b074d421b66eb4d8b600dfa55b967e6c4f783044))
102
-
103
- # [1.6.0](https://github.com/cinnyapp/folds/compare/v1.5.2...v1.6.0) (2024-03-25)
104
-
105
- ### Bug Fixes
106
-
107
- - modal and button component uncertain styles ([#33](https://github.com/cinnyapp/folds/issues/33)) ([62417b9](https://github.com/cinnyapp/folds/commit/62417b981b5e8ee024f0f34167f32ca298a3737f))
108
-
109
- ### Features
110
-
111
- - bookmark, inbox and reload icon ([#34](https://github.com/cinnyapp/folds/issues/34)) ([355a236](https://github.com/cinnyapp/folds/commit/355a236aa30b30dc62265628333c008f3ab76bcf))
112
-
113
- ## [1.5.2](https://github.com/cinnyapp/folds/compare/v1.5.1...v1.5.2) (2024-02-04)
114
-
115
- ### Bug Fixes
116
-
117
- - badge outline style ([#32](https://github.com/cinnyapp/folds/issues/32)) ([86d9b0f](https://github.com/cinnyapp/folds/commit/86d9b0f4237511f22de088bf0c681eeb1546eb12))
118
-
119
- ## [1.5.1](https://github.com/cinnyapp/folds/compare/v1.5.0...v1.5.1) (2023-12-28)
120
-
121
- ### Bug Fixes
122
-
123
- - component props bug ([#29](https://github.com/cinnyapp/folds/issues/29)) ([5990788](https://github.com/cinnyapp/folds/commit/5990788b2811e8a9bbf2271813336c84f85f8791))
124
-
125
- # [1.5.0](https://github.com/cinnyapp/folds/compare/v1.4.1...v1.5.0) (2023-09-28)
126
-
127
- ### Bug Fixes
128
-
129
- - adaptive popout & tooltip position ([#28](https://github.com/cinnyapp/folds/issues/28)) ([3c30e66](https://github.com/cinnyapp/folds/commit/3c30e66c55fe53bf3c34720b3617492a9b7a3ea3))
130
-
131
- ### Features
132
-
133
- - size prop in menu item ([#27](https://github.com/cinnyapp/folds/issues/27)) ([020afd7](https://github.com/cinnyapp/folds/commit/020afd7844b262c16164ba94bfeb92eb5b268e83))
134
-
135
- ## [1.4.1](https://github.com/cinnyapp/folds/compare/v1.4.0...v1.4.1) (2023-09-07)
136
-
137
- ### Bug Fixes
138
-
139
- - fix scroll corner color ([#26](https://github.com/cinnyapp/folds/issues/26)) ([fa6ce32](https://github.com/cinnyapp/folds/commit/fa6ce329fd3e08e13070234feebc3258308c6ee0))
140
-
141
- # [1.4.0](https://github.com/cinnyapp/folds/compare/v1.3.0...v1.4.0) (2023-08-16)
142
-
143
- ### Features
144
-
145
- - inherit cross size variant option ([#25](https://github.com/cinnyapp/folds/issues/25)) ([b896348](https://github.com/cinnyapp/folds/commit/b896348cc515e148717c1cc35379f659ba0d9704))
146
-
147
- # [1.3.0](https://github.com/cinnyapp/folds/compare/v1.2.1...v1.3.0) (2023-06-24)
148
-
149
- ### Features
150
-
151
- - more icons ([#23](https://github.com/cinnyapp/folds/issues/23)) ([4f5edef](https://github.com/cinnyapp/folds/commit/4f5edefe43b86658e5614695f1edcdd343a519f7))
152
-
153
- ## [1.2.1](https://github.com/cinnyapp/folds/compare/v1.2.0...v1.2.1) (2023-06-09)
154
-
155
- ### Bug Fixes
156
-
157
- - theme ([#22](https://github.com/cinnyapp/folds/issues/22)) ([d7de8f4](https://github.com/cinnyapp/folds/commit/d7de8f4d1435611b5ac3519ae137c45ac4a3270a))
158
-
159
- # [1.2.0](https://github.com/cinnyapp/folds/compare/v1.1.3...v1.2.0) (2023-05-27)
160
-
161
- ### Features
162
-
163
- - progressbar component ([#20](https://github.com/cinnyapp/folds/issues/20)) ([9a48fea](https://github.com/cinnyapp/folds/commit/9a48feacd6a9d45407f2a0e87172f270f057190b))
164
-
165
- ## [1.1.3](https://github.com/cinnyapp/folds/compare/v1.1.2...v1.1.3) (2023-05-13)
166
-
167
- ### Bug Fixes
168
-
169
- - as types ([#19](https://github.com/cinnyapp/folds/issues/19)) ([0fc2b04](https://github.com/cinnyapp/folds/commit/0fc2b04fa77bae4e1dc0e61a01b0a331416c80a6))
170
-
171
- ## [1.1.2](https://github.com/cinnyapp/folds/compare/v1.1.1...v1.1.2) (2023-05-11)
172
-
173
- ### Bug Fixes
174
-
175
- - tooltip and popout ([#18](https://github.com/cinnyapp/folds/issues/18)) ([2665446](https://github.com/cinnyapp/folds/commit/26654463f827b22566f741965eeeec16059d1c08))
176
-
177
- ## [1.1.1](https://github.com/cinnyapp/folds/compare/v1.1.0...v1.1.1) (2023-05-07)
178
-
179
- ### Bug Fixes
180
-
181
- - missing fill option in badge component ([#17](https://github.com/cinnyapp/folds/issues/17)) ([e021107](https://github.com/cinnyapp/folds/commit/e021107ca8a7c8a41022071d0d9c908d52dd0374))
182
-
183
- # [1.1.0](https://github.com/cinnyapp/folds/compare/v1.0.7...v1.1.0) (2023-04-22)
184
-
185
- ### Bug Fixes
186
-
187
- - text variant ([#15](https://github.com/cinnyapp/folds/issues/15)) ([d228fe6](https://github.com/cinnyapp/folds/commit/d228fe6e0a048c4b150afd00d40f3b89c5e761ea))
188
-
189
- ### Features
190
-
191
- - export utils ([#16](https://github.com/cinnyapp/folds/issues/16)) ([3cbca38](https://github.com/cinnyapp/folds/commit/3cbca3850a1b68f729815ba27f7d27ecd3172928))
192
-
193
- ## [1.0.7](https://github.com/cinnyapp/folds/compare/v1.0.6...v1.0.7) (2023-04-12)
194
-
195
- ### Bug Fixes
196
-
197
- - tooltip shows on item click ([#14](https://github.com/cinnyapp/folds/issues/14)) ([270f6de](https://github.com/cinnyapp/folds/commit/270f6de776daa07d0999d7e7880e3bff13cd8d0d))
198
-
199
- ## [1.0.6](https://github.com/cinnyapp/folds/compare/v1.0.5...v1.0.6) (2023-03-08)
200
-
201
- ### Bug Fixes
202
-
203
- - zIndex of various overlay components ([#13](https://github.com/cinnyapp/folds/issues/13)) ([f196871](https://github.com/cinnyapp/folds/commit/f1968710ee1e4fdb83c5b2db055cc109de3cac99))
204
-
205
- ## [1.0.5](https://github.com/cinnyapp/folds/compare/v1.0.4...v1.0.5) (2023-02-19)
206
-
207
- ### Bug Fixes
208
-
209
- - icons name type ([#12](https://github.com/cinnyapp/folds/issues/12)) ([7742a89](https://github.com/cinnyapp/folds/commit/7742a891d63e57e34fc27a891beaa1694e675152))
210
-
211
- ## [1.0.4](https://github.com/cinnyapp/folds/compare/v1.0.3...v1.0.4) (2023-02-04)
212
-
213
- ### Bug Fixes
214
-
215
- - various style components ([#11](https://github.com/cinnyapp/folds/issues/11)) ([e94f686](https://github.com/cinnyapp/folds/commit/e94f686c4797b652f6e705a2a5f6959b12660c65))
216
-
217
- ## [1.0.3](https://github.com/cinnyapp/folds/compare/v1.0.2...v1.0.3) (2023-01-31)
218
-
219
- ### Bug Fixes
220
-
221
- - replace stitches with vanilla-extract ([#10](https://github.com/cinnyapp/folds/issues/10)) ([c11b9a4](https://github.com/cinnyapp/folds/commit/c11b9a409c92bf072fb8ee2a94d52eadef3d8c6f))
222
-
223
- ## [1.0.2](https://github.com/cinnyapp/folds/compare/v1.0.1...v1.0.2) (2022-12-21)
224
-
225
- ### Bug Fixes
226
-
227
- - typescript config ([8044c40](https://github.com/cinnyapp/folds/commit/8044c40ff1a8ff4ba8da312a209f7f15dbc1ed4b))
228
-
229
- ## [1.0.1](https://github.com/cinnyapp/folds/compare/v1.0.0...v1.0.1) (2022-12-13)
230
-
231
- ### Bug Fixes
232
-
233
- - fix shieldsio badge ([b27dda1](https://github.com/cinnyapp/folds/commit/b27dda1550364288899b3d15c4de0df3c0dea5cc))
234
-
235
- ## 1.0.0 (2022-12-13)
236
-
237
- ### Bug Fixes
238
-
239
- - **icon.tsx:** fix type error ([20ecb30](https://github.com/cinnyapp/folds/commit/20ecb30f6b23434ff5650cb010ecb4dd9e8589fc))