@atlaskit/ads-mcp 1.3.1 → 1.3.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 (22) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/compass.yml +38 -0
  3. package/dist/cjs/tools/get-all-components/components.codegen.js +2 -2
  4. package/dist/cjs/tools/get-atlaskit-components/atlaskit-components.codegen.js +3 -3625
  5. package/dist/cjs/tools/get-atlaskit-hooks/atlaskit-hooks.codegen.js +1575 -33
  6. package/dist/cjs/tools/get-atlaskit-utilities/atlaskit-utilities.codegen.js +431 -436
  7. package/dist/es2019/tools/get-all-components/components.codegen.js +2 -2
  8. package/dist/es2019/tools/get-atlaskit-components/atlaskit-components.codegen.js +2 -3618
  9. package/dist/es2019/tools/get-atlaskit-hooks/atlaskit-hooks.codegen.js +1575 -33
  10. package/dist/es2019/tools/get-atlaskit-utilities/atlaskit-utilities.codegen.js +431 -436
  11. package/dist/esm/tools/get-all-components/components.codegen.js +2 -2
  12. package/dist/esm/tools/get-atlaskit-components/atlaskit-components.codegen.js +2 -3618
  13. package/dist/esm/tools/get-atlaskit-hooks/atlaskit-hooks.codegen.js +1575 -33
  14. package/dist/esm/tools/get-atlaskit-utilities/atlaskit-utilities.codegen.js +431 -436
  15. package/dist/types/tools/get-all-components/components.codegen.d.ts +1 -1
  16. package/dist/types/tools/get-atlaskit-components/atlaskit-components.codegen.d.ts +1 -1
  17. package/dist/types/tools/get-atlaskit-hooks/atlaskit-hooks.codegen.d.ts +1 -1
  18. package/dist/types/tools/get-atlaskit-hooks/types.d.ts +2 -1
  19. package/dist/types/tools/get-atlaskit-utilities/atlaskit-utilities.codegen.d.ts +1 -1
  20. package/dist/types/tools/get-atlaskit-utilities/types.d.ts +4 -1
  21. package/dist/types/tools/types.d.ts +14 -0
  22. package/package.json +2 -2
@@ -3,7 +3,7 @@
3
3
  *
4
4
  * Structured content components from design-system *.docs.tsx files
5
5
  *
6
- * @codegen <<SignedSource::213789378961bb4a394b789c8cc40b98>>
6
+ * @codegen <<SignedSource::983d6ae1ff7763911989373903ab1009>>
7
7
  * @codegenCommand yarn workspace @af/ads-ai-tooling codegen:ads-components
8
8
  */
9
9
  import type { ComponentMcpPayload } from './types';
@@ -3,7 +3,7 @@
3
3
  *
4
4
  * Structured content components from *.docs.tsx files outside of design-system
5
5
  *
6
- * @codegen <<SignedSource::999acbcad5b6a38dac9cb18c47addfef>>
6
+ * @codegen <<SignedSource::a1fadd09a34244bc1eb4df7d042370e3>>
7
7
  * @codegenCommand yarn workspace @af/ads-ai-tooling codegen:atlaskit-components
8
8
  */
9
9
  import type { ComponentMcpPayload } from '../get-all-components/types';
@@ -3,7 +3,7 @@
3
3
  *
4
4
  * Structured content hooks from design-system *.docs.tsx files
5
5
  *
6
- * @codegen <<SignedSource::54db052ad53f695704ea4e9666a1ee4d>>
6
+ * @codegen <<SignedSource::4c9c1485dcaae7d7946943ada8224ad5>>
7
7
  * @codegenCommand yarn workspace @af/ads-ai-tooling codegen:atlaskit-hooks
8
8
  */
9
9
  import type { HookMcpPayload } from './types';
@@ -1,4 +1,4 @@
1
- import { type DocsParameter, type DocsReturns, type Status } from '../types';
1
+ import { type DocsParameter, type DocsReturns, type ImportMetadata, type Status } from '../types';
2
2
  export type HookMcpPayload = {
3
3
  name: string;
4
4
  description: string;
@@ -7,6 +7,7 @@ export type HookMcpPayload = {
7
7
  accessibilityGuidelines?: string[];
8
8
  keywords: string[];
9
9
  category?: string;
10
+ import?: ImportMetadata;
10
11
  package: string;
11
12
  examples: string[];
12
13
  parameters?: DocsParameter[];
@@ -3,7 +3,7 @@
3
3
  *
4
4
  * Structured content utilities from design-system *.docs.tsx files
5
5
  *
6
- * @codegen <<SignedSource::5377d3666260be828ea690f4b3ef04b7>>
6
+ * @codegen <<SignedSource::e4f346932028cd8a142bb0610697ed47>>
7
7
  * @codegenCommand yarn workspace @af/ads-ai-tooling codegen:atlaskit-utilities
8
8
  */
9
9
  import type { UtilityMcpPayload } from './types';
@@ -1,4 +1,4 @@
1
- import { type DocsParameter, type DocsReturns, type Status } from '../types';
1
+ import { type DocsParameter, type DocsReturns, type ImportMetadata, type Status } from '../types';
2
2
  export type UtilityMcpPayload = {
3
3
  kind: 'function';
4
4
  name: string;
@@ -8,6 +8,7 @@ export type UtilityMcpPayload = {
8
8
  accessibilityGuidelines?: string[];
9
9
  keywords: string[];
10
10
  category?: string;
11
+ import?: ImportMetadata;
11
12
  package: string;
12
13
  examples: string[];
13
14
  parameters?: DocsParameter[];
@@ -22,6 +23,7 @@ export type UtilityMcpPayload = {
22
23
  accessibilityGuidelines?: string[];
23
24
  keywords: string[];
24
25
  category?: string;
26
+ import?: ImportMetadata;
25
27
  package: string;
26
28
  examples: string[];
27
29
  type?: string;
@@ -35,6 +37,7 @@ export type UtilityMcpPayload = {
35
37
  accessibilityGuidelines?: string[];
36
38
  keywords: string[];
37
39
  category?: string;
40
+ import?: ImportMetadata;
38
41
  package: string;
39
42
  examples: string[];
40
43
  definition?: string;
@@ -10,3 +10,17 @@ export type DocsReturns = {
10
10
  type: string;
11
11
  description?: string;
12
12
  };
13
+ export type ImportMetadata = {
14
+ name: string;
15
+ package: string;
16
+ type: 'default' | 'named';
17
+ packagePath: string;
18
+ packageJson: {
19
+ name: string;
20
+ version: string;
21
+ atlassian: {
22
+ team: string;
23
+ } & Record<string, unknown>;
24
+ exports: unknown;
25
+ } & Record<string, unknown>;
26
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/ads-mcp",
3
- "version": "1.3.1",
3
+ "version": "1.3.2",
4
4
  "description": "The official Atlassian Design System MCP server to develop apps and user interfaces matching the Atlassian style.",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -24,7 +24,7 @@
24
24
  "@atlaskit/icon": "^36.1.0",
25
25
  "@atlaskit/icon-lab": "^7.2.0",
26
26
  "@atlaskit/platform-feature-flags": "^2.0.0",
27
- "@atlaskit/tokens": "^15.2.0",
27
+ "@atlaskit/tokens": "^15.3.0",
28
28
  "@axe-core/playwright": "^4.11.1",
29
29
  "@axe-core/puppeteer": "^4.11.1",
30
30
  "@babel/runtime": "^7.0.0",