@ag2/weave 0.1.0 → 0.3.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 (74) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/README.md +2 -0
  3. package/dist/components/agent-tag/AgentGlyph.d.ts +13 -0
  4. package/dist/components/agent-tag/AgentTag.d.ts +22 -0
  5. package/dist/components/agent-tag/PeopleGlyph.d.ts +10 -0
  6. package/dist/components/agent-tag/SkillGlyph.d.ts +10 -0
  7. package/dist/components/agent-tag/index.d.ts +4 -0
  8. package/dist/components/compose-icon/ComposeIcon.d.ts +2 -0
  9. package/dist/components/compose-icon/index.d.ts +1 -0
  10. package/dist/components/cutout-card/CutoutCard.css.d.ts +1 -0
  11. package/dist/components/cutout-card/CutoutCard.d.ts +5 -0
  12. package/dist/components/cutout-card/index.d.ts +1 -0
  13. package/dist/components/index.d.ts +16 -0
  14. package/dist/components/info-card/InfoCard.d.ts +12 -0
  15. package/dist/components/info-card/index.d.ts +1 -0
  16. package/dist/components/info-card/styles.css.d.ts +1 -0
  17. package/dist/components/page/NavCollapseRow.d.ts +1 -0
  18. package/dist/components/page/Page.d.ts +53 -0
  19. package/dist/components/page/index.d.ts +2 -0
  20. package/dist/components/page/style.css.d.ts +48 -0
  21. package/dist/components/review-card/CurrentReviewCard.d.ts +15 -0
  22. package/dist/components/review-card/index.d.ts +2 -0
  23. package/dist/components/review-card/types.d.ts +24 -0
  24. package/dist/components/robot-icon/RobotIcon.d.ts +3 -0
  25. package/dist/components/robot-icon/index.d.ts +1 -0
  26. package/dist/components/sequence-card/SequenceCard.d.ts +22 -0
  27. package/dist/components/sequence-card/index.d.ts +1 -0
  28. package/dist/components/sequence-card/style.css.d.ts +43 -0
  29. package/dist/components/server-badge/ServerBadge.d.ts +5 -0
  30. package/dist/components/server-badge/index.d.ts +1 -0
  31. package/dist/components/setting-tile/SettingTile.d.ts +10 -0
  32. package/dist/components/setting-tile/index.d.ts +1 -0
  33. package/dist/components/sidebar/Sidebar.css.d.ts +86 -0
  34. package/dist/components/sidebar/Sidebar.d.ts +2 -0
  35. package/dist/components/sidebar/SidebarContent.d.ts +7 -0
  36. package/dist/components/sidebar/SidebarItem.d.ts +24 -0
  37. package/dist/components/sidebar/SidebarStack.d.ts +2 -0
  38. package/dist/components/sidebar/SidebarStackSeparator.d.ts +1 -0
  39. package/dist/components/sidebar/index.d.ts +5 -0
  40. package/dist/components/splash-screen/SplashScreen.css.d.ts +2 -0
  41. package/dist/components/splash-screen/SplashScreen.d.ts +6 -0
  42. package/dist/components/splash-screen/index.d.ts +1 -0
  43. package/dist/components/stacked-avatar/StackedAvatar.d.ts +9 -0
  44. package/dist/components/stacked-avatar/index.d.ts +1 -0
  45. package/dist/components/stacked-avatar/styles.css.d.ts +33 -0
  46. package/dist/components/starfield/Starfield.css.d.ts +2 -0
  47. package/dist/components/starfield/Starfield.d.ts +11 -0
  48. package/dist/components/starfield/index.d.ts +1 -0
  49. package/dist/components/typing-indicator/TypingIndicator.css.d.ts +28 -0
  50. package/dist/components/typing-indicator/TypingIndicator.d.ts +6 -0
  51. package/dist/components/typing-indicator/index.d.ts +1 -0
  52. package/dist/components/window-title/AliveMark.d.ts +31 -0
  53. package/dist/components/window-title/index.d.ts +2 -0
  54. package/dist/components/window-title/mountAliveMark.d.ts +8 -0
  55. package/dist/current/ActionGroup.d.ts +13 -0
  56. package/dist/current/CurrentProvider.d.ts +13 -0
  57. package/dist/current/Disclosure.d.ts +7 -0
  58. package/dist/current/Icon.d.ts +18 -0
  59. package/dist/current/index.d.ts +6 -0
  60. package/dist/current/palette.d.ts +94 -0
  61. package/dist/current/primitives.css.d.ts +38 -0
  62. package/dist/current/theme.css.d.ts +96 -0
  63. package/dist/hooks/index.d.ts +3 -0
  64. package/dist/hooks/useElementSizeObserver.d.ts +1 -0
  65. package/dist/hooks/useResizeObserver.d.ts +3 -0
  66. package/dist/hooks/useScreenSize.d.ts +11 -0
  67. package/dist/index.d.ts +2 -0
  68. package/dist/index.js +1693 -8
  69. package/dist/index.js.map +1 -1
  70. package/dist/style.css +1026 -1
  71. package/dist/styles/ContainerColor.css.d.ts +15 -0
  72. package/dist/styles/Text.css.d.ts +3 -0
  73. package/dist/utils/dragOverlay.d.ts +13 -0
  74. package/package.json +10 -11
@@ -0,0 +1,15 @@
1
+ import { ComplexStyleRule } from "@vanilla-extract/css";
2
+ import { RecipeVariants } from "@vanilla-extract/recipes";
3
+ export declare const ContainerColor: import("@vanilla-extract/recipes").RuntimeFn<{
4
+ variant: {
5
+ Background: ComplexStyleRule;
6
+ Surface: ComplexStyleRule;
7
+ SurfaceVariant: ComplexStyleRule;
8
+ Primary: ComplexStyleRule;
9
+ Secondary: ComplexStyleRule;
10
+ Success: ComplexStyleRule;
11
+ Warning: ComplexStyleRule;
12
+ Critical: ComplexStyleRule;
13
+ };
14
+ }>;
15
+ export declare type ContainerColorVariants = RecipeVariants<typeof ContainerColor>;
@@ -0,0 +1,3 @@
1
+ export declare const BreakWord: string;
2
+ export declare const LineClamp2: string;
3
+ export declare const LineClamp3: string;
@@ -0,0 +1,13 @@
1
+ /**
2
+ * A full-viewport transparent overlay held for the duration of a pointer drag.
3
+ *
4
+ * Two things only an overlay can do. A cursor set on `body` is ignored wherever
5
+ * the pointer is over an element that declares its own — which is most of this
6
+ * app — so the resize cursor has to come from something that covers everything.
7
+ * And the overlay stops an embedded iframe from swallowing the move/up events,
8
+ * which otherwise leaves a divider stuck in drag mode.
9
+ *
10
+ * Returns the release function; call it from the same handler that removes the
11
+ * move/up listeners.
12
+ */
13
+ export declare function beginDragOverlay(cursor: "col-resize" | "row-resize"): () => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ag2/weave",
3
- "version": "0.1.0",
3
+ "version": "0.3.0",
4
4
  "author": "Ajay Bura (ajbura)",
5
5
  "license": "Apache-2.0",
6
6
  "main": "dist/index.js",
@@ -22,8 +22,8 @@
22
22
  "prepare": "husky install",
23
23
  "commit": "git-cz",
24
24
  "semantic-release": "semantic-release",
25
- "storybook": "cross-env NODE_OPTIONS=--openssl-legacy-provider start-storybook -p 6006",
26
- "build-storybook": "cross-env NODE_OPTIONS=--openssl-legacy-provider build-storybook"
25
+ "storybook": "storybook dev -p 6006",
26
+ "build-storybook": "storybook build"
27
27
  },
28
28
  "lint-staged": {
29
29
  "*.{ts,tsx,js,jsx}": "eslint",
@@ -45,13 +45,12 @@
45
45
  "@fontsource/inter": "4.5.12",
46
46
  "@semantic-release/changelog": "6.0.2",
47
47
  "@semantic-release/git": "10.0.1",
48
- "@storybook/addon-actions": "6.5.15",
49
- "@storybook/addon-essentials": "6.5.15",
50
- "@storybook/addon-interactions": "6.5.15",
51
- "@storybook/addon-links": "6.5.15",
52
- "@storybook/builder-vite": "0.3.0",
53
- "@storybook/react": "6.5.15",
54
- "@storybook/testing-library": "0.0.13",
48
+ "@storybook/addon-essentials": "8.6.18",
49
+ "@storybook/addon-interactions": "8.6.18",
50
+ "@storybook/addon-links": "8.6.18",
51
+ "@storybook/react": "8.6.18",
52
+ "@storybook/react-vite": "8.6.18",
53
+ "@storybook/test": "8.6.18",
55
54
  "@types/react": "18.0.14",
56
55
  "@types/react-dom": "18.0.5",
57
56
  "@typescript-eslint/eslint-plugin": "5.29.0",
@@ -62,7 +61,6 @@
62
61
  "@vitejs/plugin-react": "3.0.1",
63
62
  "babel-loader": "8.3.0",
64
63
  "classnames": "2.3.2",
65
- "cross-env": "7.0.3",
66
64
  "cz-conventional-changelog": "3.3.0",
67
65
  "eslint": "7.32.0 || 8.2.0",
68
66
  "eslint-config-airbnb": "19.0.4",
@@ -79,6 +77,7 @@
79
77
  "react": "18.2.0",
80
78
  "react-dom": "18.2.0",
81
79
  "semantic-release": "19.0.5",
80
+ "storybook": "8.6.18",
82
81
  "typescript": "4.7.4",
83
82
  "vite": "4.5.14",
84
83
  "vite-plugin-dts": "1.7.1"