@atlaskit/ads-mcp 0.21.1 → 1.1.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/CHANGELOG.md +37 -0
- package/a11y-fixes/package.json +1 -8
- package/a11y-guidelines/package.json +1 -8
- package/dist/cjs/index.js +27 -1
- package/dist/cjs/tools/get-all-components/components.codegen.js +2 -2
- package/dist/cjs/tools/get-all-components/types.js +5 -1
- package/dist/cjs/tools/get-atlaskit-components/atlaskit-components.codegen.js +19 -6
- package/dist/cjs/tools/get-atlaskit-hooks/atlaskit-hooks.codegen.js +206 -0
- package/dist/cjs/tools/get-atlaskit-hooks/get-atlaskit-hooks-tool.js +40 -0
- package/dist/cjs/tools/get-atlaskit-hooks/list-get-atlaskit-hooks-tool.js +22 -0
- package/dist/cjs/tools/get-atlaskit-hooks/types.js +5 -0
- package/dist/cjs/tools/get-atlaskit-utilities/atlaskit-utilities.codegen.js +836 -0
- package/dist/cjs/tools/get-atlaskit-utilities/get-atlaskit-utilities-tool.js +40 -0
- package/dist/cjs/tools/get-atlaskit-utilities/list-get-atlaskit-utilities-tool.js +22 -0
- package/dist/cjs/tools/get-atlaskit-utilities/types.js +5 -0
- package/dist/cjs/tools/get-guidelines/guidelines-structured-content.codegen.js +4 -4
- package/dist/cjs/tools/get-lint-rules/lint-rules-structured-content.codegen.js +31 -11
- package/dist/cjs/tools/i18n-conversion/guide.js +7 -7
- package/dist/cjs/tools/i18n-conversion/list-i18n-conversion-tool.js +1 -1
- package/dist/cjs/tools/search-atlaskit-hooks/list-search-atlaskit-hooks-tool.js +22 -0
- package/dist/cjs/tools/search-atlaskit-hooks/search-atlaskit-hooks-input-schema.js +11 -0
- package/dist/cjs/tools/search-atlaskit-hooks/search-atlaskit-hooks-tool.js +109 -0
- package/dist/cjs/tools/search-atlaskit-utilities/list-search-atlaskit-utilities-tool.js +22 -0
- package/dist/cjs/tools/search-atlaskit-utilities/search-atlaskit-utilities-input-schema.js +11 -0
- package/dist/cjs/tools/search-atlaskit-utilities/search-atlaskit-utilities-tool.js +111 -0
- package/dist/cjs/tools/types.js +1 -0
- package/dist/es2019/index.js +30 -0
- package/dist/es2019/tools/get-all-components/components.codegen.js +2 -2
- package/dist/es2019/tools/get-all-components/types.js +1 -0
- package/dist/es2019/tools/get-atlaskit-components/atlaskit-components.codegen.js +19 -6
- package/dist/es2019/tools/get-atlaskit-hooks/atlaskit-hooks.codegen.js +200 -0
- package/dist/es2019/tools/get-atlaskit-hooks/get-atlaskit-hooks-tool.js +14 -0
- package/dist/es2019/tools/get-atlaskit-hooks/list-get-atlaskit-hooks-tool.js +21 -0
- package/dist/es2019/tools/get-atlaskit-hooks/types.js +1 -0
- package/dist/es2019/tools/get-atlaskit-utilities/atlaskit-utilities.codegen.js +830 -0
- package/dist/es2019/tools/get-atlaskit-utilities/get-atlaskit-utilities-tool.js +14 -0
- package/dist/es2019/tools/get-atlaskit-utilities/list-get-atlaskit-utilities-tool.js +21 -0
- package/dist/es2019/tools/get-atlaskit-utilities/types.js +1 -0
- package/dist/es2019/tools/get-guidelines/guidelines-structured-content.codegen.js +4 -4
- package/dist/es2019/tools/get-lint-rules/lint-rules-structured-content.codegen.js +31 -11
- package/dist/es2019/tools/i18n-conversion/guide.js +7 -7
- package/dist/es2019/tools/i18n-conversion/list-i18n-conversion-tool.js +1 -1
- package/dist/es2019/tools/search-atlaskit-hooks/list-search-atlaskit-hooks-tool.js +19 -0
- package/dist/es2019/tools/search-atlaskit-hooks/search-atlaskit-hooks-input-schema.js +5 -0
- package/dist/es2019/tools/search-atlaskit-hooks/search-atlaskit-hooks-tool.js +79 -0
- package/dist/es2019/tools/search-atlaskit-utilities/list-search-atlaskit-utilities-tool.js +19 -0
- package/dist/es2019/tools/search-atlaskit-utilities/search-atlaskit-utilities-input-schema.js +5 -0
- package/dist/es2019/tools/search-atlaskit-utilities/search-atlaskit-utilities-tool.js +81 -0
- package/dist/es2019/tools/types.js +0 -0
- package/dist/esm/index.js +27 -1
- package/dist/esm/tools/get-all-components/components.codegen.js +2 -2
- package/dist/esm/tools/get-all-components/types.js +1 -0
- package/dist/esm/tools/get-atlaskit-components/atlaskit-components.codegen.js +19 -6
- package/dist/esm/tools/get-atlaskit-hooks/atlaskit-hooks.codegen.js +200 -0
- package/dist/esm/tools/get-atlaskit-hooks/get-atlaskit-hooks-tool.js +32 -0
- package/dist/esm/tools/get-atlaskit-hooks/list-get-atlaskit-hooks-tool.js +16 -0
- package/dist/esm/tools/get-atlaskit-hooks/types.js +1 -0
- package/dist/esm/tools/get-atlaskit-utilities/atlaskit-utilities.codegen.js +830 -0
- package/dist/esm/tools/get-atlaskit-utilities/get-atlaskit-utilities-tool.js +32 -0
- package/dist/esm/tools/get-atlaskit-utilities/list-get-atlaskit-utilities-tool.js +16 -0
- package/dist/esm/tools/get-atlaskit-utilities/types.js +1 -0
- package/dist/esm/tools/get-guidelines/guidelines-structured-content.codegen.js +4 -4
- package/dist/esm/tools/get-lint-rules/lint-rules-structured-content.codegen.js +31 -11
- package/dist/esm/tools/i18n-conversion/guide.js +7 -7
- package/dist/esm/tools/i18n-conversion/list-i18n-conversion-tool.js +1 -1
- package/dist/esm/tools/search-atlaskit-hooks/list-search-atlaskit-hooks-tool.js +16 -0
- package/dist/esm/tools/search-atlaskit-hooks/search-atlaskit-hooks-input-schema.js +5 -0
- package/dist/esm/tools/search-atlaskit-hooks/search-atlaskit-hooks-tool.js +102 -0
- package/dist/esm/tools/search-atlaskit-utilities/list-search-atlaskit-utilities-tool.js +16 -0
- package/dist/esm/tools/search-atlaskit-utilities/search-atlaskit-utilities-input-schema.js +5 -0
- package/dist/esm/tools/search-atlaskit-utilities/search-atlaskit-utilities-tool.js +106 -0
- package/dist/esm/tools/types.js +0 -0
- package/dist/types/tools/get-all-components/components.codegen.d.ts +1 -1
- package/dist/types/tools/get-all-components/types.d.ts +2 -1
- package/dist/types/tools/get-atlaskit-components/atlaskit-components.codegen.d.ts +1 -1
- package/dist/types/tools/get-atlaskit-hooks/atlaskit-hooks.codegen.d.ts +10 -0
- package/dist/{types-ts4.5/tools/get-all-tokens/get-all-tokens-tool.d.ts → types/tools/get-atlaskit-hooks/get-atlaskit-hooks-tool.d.ts} +1 -1
- package/dist/{types-ts4.5/tools/analyze-a11y/list-analyze-a11y-tool.d.ts → types/tools/get-atlaskit-hooks/list-get-atlaskit-hooks-tool.d.ts} +1 -1
- package/dist/types/tools/get-atlaskit-hooks/types.d.ts +14 -0
- package/dist/types/tools/get-atlaskit-utilities/atlaskit-utilities.codegen.d.ts +10 -0
- package/dist/{types-ts4.5/tools/get-all-components/get-all-components-tool.d.ts → types/tools/get-atlaskit-utilities/get-atlaskit-utilities-tool.d.ts} +1 -1
- package/dist/{types-ts4.5/tools/analyze-a11y/list-analyze-localhost-a11y-tool.d.ts → types/tools/get-atlaskit-utilities/list-get-atlaskit-utilities-tool.d.ts} +1 -1
- package/dist/types/tools/get-atlaskit-utilities/types.d.ts +41 -0
- package/dist/types/tools/get-guidelines/guidelines-structured-content.codegen.d.ts +1 -1
- package/dist/types/tools/get-lint-rules/lint-rules-structured-content.codegen.d.ts +1 -1
- package/dist/{types-ts4.5/tools/get-all-icons/list-get-all-icons-tool.d.ts → types/tools/search-atlaskit-hooks/list-search-atlaskit-hooks-tool.d.ts} +1 -1
- package/dist/{types-ts4.5/tools/search-tokens/search-tokens-input-schema.d.ts → types/tools/search-atlaskit-hooks/search-atlaskit-hooks-input-schema.d.ts} +1 -1
- package/dist/types/tools/search-atlaskit-hooks/search-atlaskit-hooks-tool.d.ts +4 -0
- package/dist/{types-ts4.5/tools/get-a11y-guidelines/list-get-a11y-guidelines-tool.d.ts → types/tools/search-atlaskit-utilities/list-search-atlaskit-utilities-tool.d.ts} +1 -1
- package/dist/{types-ts4.5/tools/search-components/search-components-input-schema.d.ts → types/tools/search-atlaskit-utilities/search-atlaskit-utilities-input-schema.d.ts} +1 -1
- package/dist/types/tools/search-atlaskit-utilities/search-atlaskit-utilities-tool.d.ts +4 -0
- package/dist/types/tools/types.d.ts +12 -0
- package/i18n-conversion-guide/package.json +1 -8
- package/migration-registry/package.json +1 -8
- package/package.json +5 -13
- package/tools/analyze-a11y/package.json +1 -8
- package/tools/get-a11y-guidelines/package.json +1 -8
- package/tools/get-all-components/package.json +1 -8
- package/tools/get-all-icons/package.json +1 -8
- package/tools/get-all-tokens/package.json +1 -8
- package/tools/get-guidelines/package.json +1 -8
- package/tools/get-lint-rules/package.json +1 -8
- package/tools/i18n-conversion/package.json +1 -8
- package/tools/migration-guides/package.json +1 -8
- package/tools/plan/package.json +1 -8
- package/tools/search-components/package.json +1 -8
- package/tools/search-icons/package.json +1 -8
- package/tools/search-tokens/package.json +1 -8
- package/tools/suggest-a11y-fixes/package.json +1 -8
- package/dist/types-ts4.5/entry-points/a11y-fixes.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/a11y-guidelines.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/analyze-a11y.d.ts +0 -5
- package/dist/types-ts4.5/entry-points/get-a11y-guidelines.d.ts +0 -3
- package/dist/types-ts4.5/entry-points/get-all-components.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/get-all-icons.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/get-all-tokens.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/get-atlaskit-components.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/get-guidelines.d.ts +0 -3
- package/dist/types-ts4.5/entry-points/get-lint-rules.d.ts +0 -3
- package/dist/types-ts4.5/entry-points/i18n-conversion-guide.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/i18n-conversion.d.ts +0 -3
- package/dist/types-ts4.5/entry-points/migration-guides.d.ts +0 -3
- package/dist/types-ts4.5/entry-points/migration-registry.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/plan.d.ts +0 -3
- package/dist/types-ts4.5/entry-points/search-atlaskit-components.d.ts +0 -3
- package/dist/types-ts4.5/entry-points/search-components.d.ts +0 -3
- package/dist/types-ts4.5/entry-points/search-icons.d.ts +0 -3
- package/dist/types-ts4.5/entry-points/search-tokens.d.ts +0 -3
- package/dist/types-ts4.5/entry-points/suggest-a11y-fixes.d.ts +0 -3
- package/dist/types-ts4.5/helpers/agent.d.ts +0 -3
- package/dist/types-ts4.5/helpers/analytics.d.ts +0 -21
- package/dist/types-ts4.5/helpers/clean-query.d.ts +0 -1
- package/dist/types-ts4.5/helpers/compute-multi-term-fuse-allocation.d.ts +0 -14
- package/dist/types-ts4.5/helpers/config-path.d.ts +0 -7
- package/dist/types-ts4.5/helpers/fuse-multi-term.d.ts +0 -26
- package/dist/types-ts4.5/helpers/index.d.ts +0 -3
- package/dist/types-ts4.5/helpers/send-operational-event.d.ts +0 -13
- package/dist/types-ts4.5/helpers/staff-id.d.ts +0 -1
- package/dist/types-ts4.5/helpers/validation.d.ts +0 -26
- package/dist/types-ts4.5/helpers/zod-to-json-schema.d.ts +0 -3
- package/dist/types-ts4.5/index.d.ts +0 -7
- package/dist/types-ts4.5/instructions.d.ts +0 -1
- package/dist/types-ts4.5/tools/analyze-a11y/analyze-a11y-input-schema.d.ts +0 -17
- package/dist/types-ts4.5/tools/analyze-a11y/analyze-a11y-localhost-input-schema.d.ts +0 -17
- package/dist/types-ts4.5/tools/analyze-a11y/analyze-a11y-tool.d.ts +0 -8
- package/dist/types-ts4.5/tools/analyze-a11y/analyze-localhost-a11y-tool.d.ts +0 -8
- package/dist/types-ts4.5/tools/analyze-a11y/generate-ads-fix-for-violation.d.ts +0 -1
- package/dist/types-ts4.5/tools/get-a11y-guidelines/get-a11y-guidelines-input-schema.d.ts +0 -8
- package/dist/types-ts4.5/tools/get-a11y-guidelines/get-a11y-guidelines-tool.d.ts +0 -8
- package/dist/types-ts4.5/tools/get-a11y-guidelines/guidelines.d.ts +0 -102
- package/dist/types-ts4.5/tools/get-all-components/components.codegen.d.ts +0 -10
- package/dist/types-ts4.5/tools/get-all-components/components.d.ts +0 -10
- package/dist/types-ts4.5/tools/get-all-components/list-get-all-components-tool.d.ts +0 -2
- package/dist/types-ts4.5/tools/get-all-components/load-all-components.d.ts +0 -2
- package/dist/types-ts4.5/tools/get-all-components/types.d.ts +0 -26
- package/dist/types-ts4.5/tools/get-all-icons/get-all-icons-tool.d.ts +0 -6
- package/dist/types-ts4.5/tools/get-all-icons/icons.d.ts +0 -11
- package/dist/types-ts4.5/tools/get-all-tokens/list-get-all-tokens-tool.d.ts +0 -2
- package/dist/types-ts4.5/tools/get-atlaskit-components/atlaskit-components.codegen.d.ts +0 -10
- package/dist/types-ts4.5/tools/get-atlaskit-components/get-atlaskit-components-tool.d.ts +0 -6
- package/dist/types-ts4.5/tools/get-atlaskit-components/list-get-atlaskit-components-tool.d.ts +0 -2
- package/dist/types-ts4.5/tools/get-guidelines/get-guidelines-input-schema.d.ts +0 -5
- package/dist/types-ts4.5/tools/get-guidelines/get-guidelines-tool.d.ts +0 -8
- package/dist/types-ts4.5/tools/get-guidelines/guidelines-structured-content.codegen.d.ts +0 -13
- package/dist/types-ts4.5/tools/get-guidelines/list-get-guidelines-tool.d.ts +0 -2
- package/dist/types-ts4.5/tools/get-lint-rules/get-lint-rules-input-schema.d.ts +0 -6
- package/dist/types-ts4.5/tools/get-lint-rules/get-lint-rules-tool.d.ts +0 -4
- package/dist/types-ts4.5/tools/get-lint-rules/lint-rules-structured-content.codegen.d.ts +0 -13
- package/dist/types-ts4.5/tools/get-lint-rules/list-get-lint-rules-tool.d.ts +0 -19
- package/dist/types-ts4.5/tools/i18n-conversion/guide.d.ts +0 -5
- package/dist/types-ts4.5/tools/i18n-conversion/i18n-conversion-input-schema.d.ts +0 -10
- package/dist/types-ts4.5/tools/i18n-conversion/i18n-conversion-tool.d.ts +0 -8
- package/dist/types-ts4.5/tools/i18n-conversion/list-i18n-conversion-tool.d.ts +0 -2
- package/dist/types-ts4.5/tools/i18n-conversion/types.d.ts +0 -22
- package/dist/types-ts4.5/tools/migration-guides/get-available-migration-ids.d.ts +0 -12
- package/dist/types-ts4.5/tools/migration-guides/get-available-migrations-description.d.ts +0 -13
- package/dist/types-ts4.5/tools/migration-guides/list-migration-guides-tool.d.ts +0 -2
- package/dist/types-ts4.5/tools/migration-guides/migration-guides-input-schema.d.ts +0 -15
- package/dist/types-ts4.5/tools/migration-guides/migration-guides-tool.d.ts +0 -8
- package/dist/types-ts4.5/tools/migration-guides/migration-registry.d.ts +0 -2
- package/dist/types-ts4.5/tools/migration-guides/migrations/onboarding-jira-spotlight.d.ts +0 -2
- package/dist/types-ts4.5/tools/migration-guides/migrations/onboarding-multi-step.d.ts +0 -2
- package/dist/types-ts4.5/tools/migration-guides/migrations/onboarding-single-step.d.ts +0 -2
- package/dist/types-ts4.5/tools/migration-guides/migrations/onboarding-with-motion.d.ts +0 -2
- package/dist/types-ts4.5/tools/migration-guides/types.d.ts +0 -23
- package/dist/types-ts4.5/tools/plan/list-plan-tool.d.ts +0 -2
- package/dist/types-ts4.5/tools/plan/plan-input-schema.d.ts +0 -20
- package/dist/types-ts4.5/tools/plan/plan-tool.d.ts +0 -15
- package/dist/types-ts4.5/tools/search-atlaskit-components/list-search-atlaskit-components-tool.d.ts +0 -2
- package/dist/types-ts4.5/tools/search-atlaskit-components/search-atlaskit-components-input-schema.d.ts +0 -11
- package/dist/types-ts4.5/tools/search-atlaskit-components/search-atlaskit-components-tool.d.ts +0 -4
- package/dist/types-ts4.5/tools/search-components/list-search-components-tool.d.ts +0 -2
- package/dist/types-ts4.5/tools/search-components/search-components-tool.d.ts +0 -4
- package/dist/types-ts4.5/tools/search-icons/list-search-icons-tool.d.ts +0 -2
- package/dist/types-ts4.5/tools/search-icons/search-icons-input-schema.d.ts +0 -11
- package/dist/types-ts4.5/tools/search-icons/search-icons-tool.d.ts +0 -4
- package/dist/types-ts4.5/tools/search-tokens/list-search-tokens-tool.d.ts +0 -2
- package/dist/types-ts4.5/tools/search-tokens/search-tokens-tool.d.ts +0 -4
- package/dist/types-ts4.5/tools/suggest-a11y-fixes/fixes.d.ts +0 -17
- package/dist/types-ts4.5/tools/suggest-a11y-fixes/keywords.d.ts +0 -12
- package/dist/types-ts4.5/tools/suggest-a11y-fixes/list-suggest-a11y-fixes-tool.d.ts +0 -2
- package/dist/types-ts4.5/tools/suggest-a11y-fixes/suggest-a11y-fixes-input-schema.d.ts +0 -17
- package/dist/types-ts4.5/tools/suggest-a11y-fixes/suggest-a11y-fixes-tool.d.ts +0 -8
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";
|
|
2
|
+
import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
|
|
3
|
+
import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
4
|
+
/* eslint-disable-next-line import/extensions -- MCP SDK requires .js extensions for ESM imports */
|
|
5
|
+
|
|
6
|
+
import Fuse from 'fuse.js';
|
|
7
|
+
import { cleanQuery, mergeMultiTermFuseResults } from '../../helpers';
|
|
8
|
+
import { atlaskitHooks } from '../get-atlaskit-hooks/atlaskit-hooks.codegen';
|
|
9
|
+
var buildHookResult = function buildHookResult(result) {
|
|
10
|
+
return {
|
|
11
|
+
name: result.name,
|
|
12
|
+
package: result.package,
|
|
13
|
+
description: result.description,
|
|
14
|
+
usageGuidelines: result.usageGuidelines,
|
|
15
|
+
keywords: result.keywords,
|
|
16
|
+
category: result.category,
|
|
17
|
+
parameters: result.parameters,
|
|
18
|
+
returns: result.returns
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
export var searchAtlaskitHooksTool = /*#__PURE__*/function () {
|
|
22
|
+
var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(_ref) {
|
|
23
|
+
var terms, _ref$limit, limit, searchTerms, hooks, fuse, matchedItems;
|
|
24
|
+
return _regeneratorRuntime.wrap(function (_context) {
|
|
25
|
+
while (1) switch (_context.prev = _context.next) {
|
|
26
|
+
case 0:
|
|
27
|
+
terms = _ref.terms, _ref$limit = _ref.limit, limit = _ref$limit === void 0 ? 2 : _ref$limit;
|
|
28
|
+
searchTerms = _toConsumableArray(new Set(terms.filter(Boolean).map(cleanQuery)));
|
|
29
|
+
if (searchTerms.length) {
|
|
30
|
+
_context.next = 1;
|
|
31
|
+
break;
|
|
32
|
+
}
|
|
33
|
+
return _context.abrupt("return", {
|
|
34
|
+
content: [{
|
|
35
|
+
type: 'text',
|
|
36
|
+
text: '[]'
|
|
37
|
+
}]
|
|
38
|
+
});
|
|
39
|
+
case 1:
|
|
40
|
+
hooks = atlaskitHooks;
|
|
41
|
+
fuse = new Fuse(hooks, {
|
|
42
|
+
keys: [{
|
|
43
|
+
name: 'name',
|
|
44
|
+
weight: 5
|
|
45
|
+
}, {
|
|
46
|
+
name: 'package',
|
|
47
|
+
weight: 3
|
|
48
|
+
}, {
|
|
49
|
+
name: 'category',
|
|
50
|
+
weight: 2
|
|
51
|
+
}, {
|
|
52
|
+
name: 'description',
|
|
53
|
+
weight: 2
|
|
54
|
+
}, {
|
|
55
|
+
name: 'keywords',
|
|
56
|
+
weight: 2
|
|
57
|
+
}, {
|
|
58
|
+
name: 'usageGuidelines',
|
|
59
|
+
weight: 2
|
|
60
|
+
}],
|
|
61
|
+
threshold: 0.4,
|
|
62
|
+
distance: 80,
|
|
63
|
+
minMatchCharLength: 3,
|
|
64
|
+
ignoreFieldNorm: true,
|
|
65
|
+
includeScore: true
|
|
66
|
+
});
|
|
67
|
+
matchedItems = mergeMultiTermFuseResults({
|
|
68
|
+
searchTerms: searchTerms,
|
|
69
|
+
limit: limit,
|
|
70
|
+
search: function search(query) {
|
|
71
|
+
return fuse.search(query, {
|
|
72
|
+
limit: limit * searchTerms.length
|
|
73
|
+
});
|
|
74
|
+
}
|
|
75
|
+
});
|
|
76
|
+
if (matchedItems.length) {
|
|
77
|
+
_context.next = 2;
|
|
78
|
+
break;
|
|
79
|
+
}
|
|
80
|
+
return _context.abrupt("return", {
|
|
81
|
+
content: [{
|
|
82
|
+
type: 'text',
|
|
83
|
+
text: "Error: No Atlaskit hooks found for '".concat(terms.join(', '), "'.")
|
|
84
|
+
}]
|
|
85
|
+
});
|
|
86
|
+
case 2:
|
|
87
|
+
return _context.abrupt("return", {
|
|
88
|
+
content: [{
|
|
89
|
+
type: 'text',
|
|
90
|
+
text: JSON.stringify(matchedItems.map(buildHookResult))
|
|
91
|
+
}]
|
|
92
|
+
});
|
|
93
|
+
case 3:
|
|
94
|
+
case "end":
|
|
95
|
+
return _context.stop();
|
|
96
|
+
}
|
|
97
|
+
}, _callee);
|
|
98
|
+
}));
|
|
99
|
+
return function searchAtlaskitHooksTool(_x) {
|
|
100
|
+
return _ref2.apply(this, arguments);
|
|
101
|
+
};
|
|
102
|
+
}();
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/* eslint-disable-next-line import/extensions -- MCP SDK requires .js extensions for ESM imports */
|
|
2
|
+
|
|
3
|
+
import { zodToJsonSchema } from '../../helpers';
|
|
4
|
+
import { searchAtlaskitUtilitiesInputSchema } from './search-atlaskit-utilities-input-schema';
|
|
5
|
+
export var listSearchAtlaskitUtilitiesTool = {
|
|
6
|
+
name: 'atlaskit_search_utilities',
|
|
7
|
+
description: "Search for atlaskit utilities (functions, constants, types) by name, package, category, description, or keywords.\n\nWHEN TO USE:\nUse this when you want to find a utility but don't know its exact name or package.",
|
|
8
|
+
annotations: {
|
|
9
|
+
title: 'Search Atlaskit utilities',
|
|
10
|
+
readOnlyHint: true,
|
|
11
|
+
destructiveHint: false,
|
|
12
|
+
idempotentHint: true,
|
|
13
|
+
openWorldHint: true
|
|
14
|
+
},
|
|
15
|
+
inputSchema: zodToJsonSchema(searchAtlaskitUtilitiesInputSchema)
|
|
16
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export var searchAtlaskitUtilitiesInputSchema = z.object({
|
|
3
|
+
terms: z.array(z.string()).describe('Required: one or more search terms (fuzzy over name, package, category, description, keywords, usageGuidelines). Example: `["debounce", "a11y", "storage"]`.'),
|
|
4
|
+
limit: z.number().default(2).describe('Max matches **per term** (default 2).').optional()
|
|
5
|
+
});
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";
|
|
2
|
+
import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
|
|
3
|
+
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
4
|
+
import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
5
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
6
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
7
|
+
/* eslint-disable-next-line import/extensions -- MCP SDK requires .js extensions for ESM imports */
|
|
8
|
+
|
|
9
|
+
import Fuse from 'fuse.js';
|
|
10
|
+
import { cleanQuery, mergeMultiTermFuseResults } from '../../helpers';
|
|
11
|
+
import { atlaskitUtilities } from '../get-atlaskit-utilities/atlaskit-utilities.codegen';
|
|
12
|
+
var buildUtilityResult = function buildUtilityResult(result) {
|
|
13
|
+
return _objectSpread({
|
|
14
|
+
name: result.name,
|
|
15
|
+
package: result.package,
|
|
16
|
+
description: result.description,
|
|
17
|
+
usageGuidelines: result.usageGuidelines,
|
|
18
|
+
keywords: result.keywords,
|
|
19
|
+
category: result.category,
|
|
20
|
+
kind: result.kind
|
|
21
|
+
}, result.kind === 'function' ? {
|
|
22
|
+
signature: result.signature
|
|
23
|
+
} : {});
|
|
24
|
+
};
|
|
25
|
+
export var searchAtlaskitUtilitiesTool = /*#__PURE__*/function () {
|
|
26
|
+
var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(_ref) {
|
|
27
|
+
var terms, _ref$limit, limit, searchTerms, utilities, fuse, matchedItems;
|
|
28
|
+
return _regeneratorRuntime.wrap(function (_context) {
|
|
29
|
+
while (1) switch (_context.prev = _context.next) {
|
|
30
|
+
case 0:
|
|
31
|
+
terms = _ref.terms, _ref$limit = _ref.limit, limit = _ref$limit === void 0 ? 2 : _ref$limit;
|
|
32
|
+
searchTerms = _toConsumableArray(new Set(terms.filter(Boolean).map(cleanQuery)));
|
|
33
|
+
if (searchTerms.length) {
|
|
34
|
+
_context.next = 1;
|
|
35
|
+
break;
|
|
36
|
+
}
|
|
37
|
+
return _context.abrupt("return", {
|
|
38
|
+
content: [{
|
|
39
|
+
type: 'text',
|
|
40
|
+
text: '[]'
|
|
41
|
+
}]
|
|
42
|
+
});
|
|
43
|
+
case 1:
|
|
44
|
+
utilities = atlaskitUtilities;
|
|
45
|
+
fuse = new Fuse(utilities, {
|
|
46
|
+
keys: [{
|
|
47
|
+
name: 'name',
|
|
48
|
+
weight: 5
|
|
49
|
+
}, {
|
|
50
|
+
name: 'package',
|
|
51
|
+
weight: 3
|
|
52
|
+
}, {
|
|
53
|
+
name: 'category',
|
|
54
|
+
weight: 2
|
|
55
|
+
}, {
|
|
56
|
+
name: 'description',
|
|
57
|
+
weight: 2
|
|
58
|
+
}, {
|
|
59
|
+
name: 'keywords',
|
|
60
|
+
weight: 2
|
|
61
|
+
}, {
|
|
62
|
+
name: 'usageGuidelines',
|
|
63
|
+
weight: 2
|
|
64
|
+
}],
|
|
65
|
+
threshold: 0.4,
|
|
66
|
+
distance: 80,
|
|
67
|
+
minMatchCharLength: 3,
|
|
68
|
+
ignoreFieldNorm: true,
|
|
69
|
+
includeScore: true
|
|
70
|
+
});
|
|
71
|
+
matchedItems = mergeMultiTermFuseResults({
|
|
72
|
+
searchTerms: searchTerms,
|
|
73
|
+
limit: limit,
|
|
74
|
+
search: function search(query) {
|
|
75
|
+
return fuse.search(query, {
|
|
76
|
+
limit: limit * searchTerms.length
|
|
77
|
+
});
|
|
78
|
+
}
|
|
79
|
+
});
|
|
80
|
+
if (matchedItems.length) {
|
|
81
|
+
_context.next = 2;
|
|
82
|
+
break;
|
|
83
|
+
}
|
|
84
|
+
return _context.abrupt("return", {
|
|
85
|
+
content: [{
|
|
86
|
+
type: 'text',
|
|
87
|
+
text: "Error: No Atlaskit utilities found for '".concat(terms.join(', '), "'.")
|
|
88
|
+
}]
|
|
89
|
+
});
|
|
90
|
+
case 2:
|
|
91
|
+
return _context.abrupt("return", {
|
|
92
|
+
content: [{
|
|
93
|
+
type: 'text',
|
|
94
|
+
text: JSON.stringify(matchedItems.map(buildUtilityResult))
|
|
95
|
+
}]
|
|
96
|
+
});
|
|
97
|
+
case 3:
|
|
98
|
+
case "end":
|
|
99
|
+
return _context.stop();
|
|
100
|
+
}
|
|
101
|
+
}, _callee);
|
|
102
|
+
}));
|
|
103
|
+
return function searchAtlaskitUtilitiesTool(_x) {
|
|
104
|
+
return _ref2.apply(this, arguments);
|
|
105
|
+
};
|
|
106
|
+
}();
|
|
File without changes
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Structured content components from design-system *.docs.tsx files
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::ca027fa25ebfebe972ae3a385e13319e>>
|
|
7
7
|
* @codegenCommand yarn workspace @af/ads-ai-tooling codegen:ads-components
|
|
8
8
|
*/
|
|
9
9
|
import type { ComponentMcpPayload } from './types';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
import { type Status } from '../types';
|
|
2
|
+
export type ComponentStatus = Status;
|
|
2
3
|
export type ComponentProps = {
|
|
3
4
|
name: string;
|
|
4
5
|
type: string;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Structured content components from design-system *.docs.tsx files
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::9a2dd503a8c88989c93926372eaa84c1>>
|
|
7
7
|
* @codegenCommand yarn workspace @af/ads-ai-tooling codegen:atlaskit-components
|
|
8
8
|
*/
|
|
9
9
|
import type { ComponentMcpPayload } from '../get-all-components/types';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
+
*
|
|
4
|
+
* Structured content hooks from design-system *.docs.tsx files
|
|
5
|
+
*
|
|
6
|
+
* @codegen <<SignedSource::54db052ad53f695704ea4e9666a1ee4d>>
|
|
7
|
+
* @codegenCommand yarn workspace @af/ads-ai-tooling codegen:atlaskit-hooks
|
|
8
|
+
*/
|
|
9
|
+
import type { HookMcpPayload } from './types';
|
|
10
|
+
export declare const atlaskitHooks: HookMcpPayload[];
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
2
|
-
export declare const
|
|
2
|
+
export declare const listGetAtlaskitHooksTool: Tool;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { type DocsParameter, type DocsReturns, type Status } from '../types';
|
|
2
|
+
export type HookMcpPayload = {
|
|
3
|
+
name: string;
|
|
4
|
+
description: string;
|
|
5
|
+
status: Status;
|
|
6
|
+
usageGuidelines?: string[];
|
|
7
|
+
accessibilityGuidelines?: string[];
|
|
8
|
+
keywords: string[];
|
|
9
|
+
category?: string;
|
|
10
|
+
package: string;
|
|
11
|
+
examples: string[];
|
|
12
|
+
parameters?: DocsParameter[];
|
|
13
|
+
returns?: DocsReturns;
|
|
14
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
+
*
|
|
4
|
+
* Structured content utilities from design-system *.docs.tsx files
|
|
5
|
+
*
|
|
6
|
+
* @codegen <<SignedSource::5377d3666260be828ea690f4b3ef04b7>>
|
|
7
|
+
* @codegenCommand yarn workspace @af/ads-ai-tooling codegen:atlaskit-utilities
|
|
8
|
+
*/
|
|
9
|
+
import type { UtilityMcpPayload } from './types';
|
|
10
|
+
export declare const atlaskitUtilities: UtilityMcpPayload[];
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
2
|
-
export declare const
|
|
2
|
+
export declare const listGetAtlaskitUtilitiesTool: Tool;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { type DocsParameter, type DocsReturns, type Status } from '../types';
|
|
2
|
+
export type UtilityMcpPayload = {
|
|
3
|
+
kind: 'function';
|
|
4
|
+
name: string;
|
|
5
|
+
description: string;
|
|
6
|
+
status: Status;
|
|
7
|
+
usageGuidelines?: string[];
|
|
8
|
+
accessibilityGuidelines?: string[];
|
|
9
|
+
keywords: string[];
|
|
10
|
+
category?: string;
|
|
11
|
+
package: string;
|
|
12
|
+
examples: string[];
|
|
13
|
+
parameters?: DocsParameter[];
|
|
14
|
+
returns?: DocsReturns;
|
|
15
|
+
signature?: string;
|
|
16
|
+
} | {
|
|
17
|
+
kind: 'constant';
|
|
18
|
+
name: string;
|
|
19
|
+
description: string;
|
|
20
|
+
status: Status;
|
|
21
|
+
usageGuidelines?: string[];
|
|
22
|
+
accessibilityGuidelines?: string[];
|
|
23
|
+
keywords: string[];
|
|
24
|
+
category?: string;
|
|
25
|
+
package: string;
|
|
26
|
+
examples: string[];
|
|
27
|
+
type?: string;
|
|
28
|
+
value?: string;
|
|
29
|
+
} | {
|
|
30
|
+
kind: 'type';
|
|
31
|
+
name: string;
|
|
32
|
+
description: string;
|
|
33
|
+
status: Status;
|
|
34
|
+
usageGuidelines?: string[];
|
|
35
|
+
accessibilityGuidelines?: string[];
|
|
36
|
+
keywords: string[];
|
|
37
|
+
category?: string;
|
|
38
|
+
package: string;
|
|
39
|
+
examples: string[];
|
|
40
|
+
definition?: string;
|
|
41
|
+
};
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Structured content for content guidelines from design-system-docs foundations content.
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::613be582db295e634b62c0f119c15494>>
|
|
7
7
|
* @codegenCommand yarn build structured-docs
|
|
8
8
|
*/
|
|
9
9
|
export interface GuidelineStructuredContent {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Structured content for MCP (JSON) for ESLint rule docs from constellation.
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::ef9c19eed4e720ce7570ee24935c3476>>
|
|
7
7
|
* @codegenCommand yarn build structured-docs
|
|
8
8
|
*/
|
|
9
9
|
export interface LintRuleStructuredContent {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
2
|
-
export declare const
|
|
2
|
+
export declare const listSearchAtlaskitHooksTool: Tool;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const
|
|
2
|
+
export declare const searchAtlaskitHooksInputSchema: z.ZodObject<{
|
|
3
3
|
terms: z.ZodArray<z.ZodString, 'many'>;
|
|
4
4
|
limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
5
5
|
}, 'strip', z.ZodTypeAny, {
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { CallToolResult } from '@modelcontextprotocol/sdk/types.js';
|
|
2
|
+
import { type z } from 'zod';
|
|
3
|
+
import type { searchAtlaskitHooksInputSchema } from './search-atlaskit-hooks-input-schema';
|
|
4
|
+
export declare const searchAtlaskitHooksTool: ({ terms, limit, }: z.infer<typeof searchAtlaskitHooksInputSchema>) => Promise<CallToolResult>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
2
|
-
export declare const
|
|
2
|
+
export declare const listSearchAtlaskitUtilitiesTool: Tool;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const
|
|
2
|
+
export declare const searchAtlaskitUtilitiesInputSchema: z.ZodObject<{
|
|
3
3
|
terms: z.ZodArray<z.ZodString, 'many'>;
|
|
4
4
|
limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
5
5
|
}, 'strip', z.ZodTypeAny, {
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { CallToolResult } from '@modelcontextprotocol/sdk/types.js';
|
|
2
|
+
import { type z } from 'zod';
|
|
3
|
+
import type { searchAtlaskitUtilitiesInputSchema } from './search-atlaskit-utilities-input-schema';
|
|
4
|
+
export declare const searchAtlaskitUtilitiesTool: ({ terms, limit, }: z.infer<typeof searchAtlaskitUtilitiesInputSchema>) => Promise<CallToolResult>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export type Status = 'release-candidate' | 'early-access' | 'open-beta' | 'general-availability' | 'intent-to-deprecate' | 'deprecated' | 'unmaintained';
|
|
2
|
+
export type DocsParameter = {
|
|
3
|
+
name: string;
|
|
4
|
+
type: string;
|
|
5
|
+
description?: string;
|
|
6
|
+
defaultValue?: string;
|
|
7
|
+
isOptional?: boolean;
|
|
8
|
+
};
|
|
9
|
+
export type DocsReturns = {
|
|
10
|
+
type: string;
|
|
11
|
+
description?: string;
|
|
12
|
+
};
|
|
@@ -3,12 +3,5 @@
|
|
|
3
3
|
"main": "../dist/cjs/entry-points/i18n-conversion-guide.js",
|
|
4
4
|
"module": "../dist/esm/entry-points/i18n-conversion-guide.js",
|
|
5
5
|
"module:es2019": "../dist/es2019/entry-points/i18n-conversion-guide.js",
|
|
6
|
-
"types": "../dist/types/entry-points/i18n-conversion-guide.d.ts"
|
|
7
|
-
"typesVersions": {
|
|
8
|
-
">=4.5 <5.9": {
|
|
9
|
-
"*": [
|
|
10
|
-
"../dist/types-ts4.5/entry-points/i18n-conversion-guide.d.ts"
|
|
11
|
-
]
|
|
12
|
-
}
|
|
13
|
-
}
|
|
6
|
+
"types": "../dist/types/entry-points/i18n-conversion-guide.d.ts"
|
|
14
7
|
}
|
|
@@ -3,12 +3,5 @@
|
|
|
3
3
|
"main": "../dist/cjs/entry-points/migration-registry.js",
|
|
4
4
|
"module": "../dist/esm/entry-points/migration-registry.js",
|
|
5
5
|
"module:es2019": "../dist/es2019/entry-points/migration-registry.js",
|
|
6
|
-
"types": "../dist/types/entry-points/migration-registry.d.ts"
|
|
7
|
-
"typesVersions": {
|
|
8
|
-
">=4.5 <5.9": {
|
|
9
|
-
"*": [
|
|
10
|
-
"../dist/types-ts4.5/entry-points/migration-registry.d.ts"
|
|
11
|
-
]
|
|
12
|
-
}
|
|
13
|
-
}
|
|
6
|
+
"types": "../dist/types/entry-points/migration-registry.d.ts"
|
|
14
7
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/ads-mcp",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "1.1.0",
|
|
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",
|
|
@@ -19,20 +19,12 @@
|
|
|
19
19
|
"bin": "index.js",
|
|
20
20
|
"main": "dist/cjs/index.js",
|
|
21
21
|
"types": "dist/types/index.d.ts",
|
|
22
|
-
"typesVersions": {
|
|
23
|
-
">=4.5 <5.4": {
|
|
24
|
-
"*": [
|
|
25
|
-
"dist/types-ts4.5/*",
|
|
26
|
-
"dist/types-ts4.5/index.d.ts"
|
|
27
|
-
]
|
|
28
|
-
}
|
|
29
|
-
},
|
|
30
22
|
"atlaskit:src": "src/index.tsx",
|
|
31
23
|
"dependencies": {
|
|
32
|
-
"@atlaskit/icon": "^
|
|
33
|
-
"@atlaskit/icon-lab": "^
|
|
34
|
-
"@atlaskit/platform-feature-flags": "^
|
|
35
|
-
"@atlaskit/tokens": "^
|
|
24
|
+
"@atlaskit/icon": "^36.0.0",
|
|
25
|
+
"@atlaskit/icon-lab": "^7.1.0",
|
|
26
|
+
"@atlaskit/platform-feature-flags": "^2.0.0",
|
|
27
|
+
"@atlaskit/tokens": "^15.0.0",
|
|
36
28
|
"@axe-core/playwright": "^4.11.1",
|
|
37
29
|
"@axe-core/puppeteer": "^4.11.1",
|
|
38
30
|
"@babel/runtime": "^7.0.0",
|
|
@@ -3,12 +3,5 @@
|
|
|
3
3
|
"main": "../../dist/cjs/entry-points/analyze-a11y.js",
|
|
4
4
|
"module": "../../dist/esm/entry-points/analyze-a11y.js",
|
|
5
5
|
"module:es2019": "../../dist/es2019/entry-points/analyze-a11y.js",
|
|
6
|
-
"types": "../../dist/types/entry-points/analyze-a11y.d.ts"
|
|
7
|
-
"typesVersions": {
|
|
8
|
-
">=4.5 <5.9": {
|
|
9
|
-
"*": [
|
|
10
|
-
"../../dist/types-ts4.5/entry-points/analyze-a11y.d.ts"
|
|
11
|
-
]
|
|
12
|
-
}
|
|
13
|
-
}
|
|
6
|
+
"types": "../../dist/types/entry-points/analyze-a11y.d.ts"
|
|
14
7
|
}
|
|
@@ -3,12 +3,5 @@
|
|
|
3
3
|
"main": "../../dist/cjs/entry-points/get-a11y-guidelines.js",
|
|
4
4
|
"module": "../../dist/esm/entry-points/get-a11y-guidelines.js",
|
|
5
5
|
"module:es2019": "../../dist/es2019/entry-points/get-a11y-guidelines.js",
|
|
6
|
-
"types": "../../dist/types/entry-points/get-a11y-guidelines.d.ts"
|
|
7
|
-
"typesVersions": {
|
|
8
|
-
">=4.5 <5.9": {
|
|
9
|
-
"*": [
|
|
10
|
-
"../../dist/types-ts4.5/entry-points/get-a11y-guidelines.d.ts"
|
|
11
|
-
]
|
|
12
|
-
}
|
|
13
|
-
}
|
|
6
|
+
"types": "../../dist/types/entry-points/get-a11y-guidelines.d.ts"
|
|
14
7
|
}
|
|
@@ -3,12 +3,5 @@
|
|
|
3
3
|
"main": "../../dist/cjs/entry-points/get-all-components.js",
|
|
4
4
|
"module": "../../dist/esm/entry-points/get-all-components.js",
|
|
5
5
|
"module:es2019": "../../dist/es2019/entry-points/get-all-components.js",
|
|
6
|
-
"types": "../../dist/types/entry-points/get-all-components.d.ts"
|
|
7
|
-
"typesVersions": {
|
|
8
|
-
">=4.5 <5.9": {
|
|
9
|
-
"*": [
|
|
10
|
-
"../../dist/types-ts4.5/entry-points/get-all-components.d.ts"
|
|
11
|
-
]
|
|
12
|
-
}
|
|
13
|
-
}
|
|
6
|
+
"types": "../../dist/types/entry-points/get-all-components.d.ts"
|
|
14
7
|
}
|
|
@@ -3,12 +3,5 @@
|
|
|
3
3
|
"main": "../../dist/cjs/entry-points/get-all-icons.js",
|
|
4
4
|
"module": "../../dist/esm/entry-points/get-all-icons.js",
|
|
5
5
|
"module:es2019": "../../dist/es2019/entry-points/get-all-icons.js",
|
|
6
|
-
"types": "../../dist/types/entry-points/get-all-icons.d.ts"
|
|
7
|
-
"typesVersions": {
|
|
8
|
-
">=4.5 <5.9": {
|
|
9
|
-
"*": [
|
|
10
|
-
"../../dist/types-ts4.5/entry-points/get-all-icons.d.ts"
|
|
11
|
-
]
|
|
12
|
-
}
|
|
13
|
-
}
|
|
6
|
+
"types": "../../dist/types/entry-points/get-all-icons.d.ts"
|
|
14
7
|
}
|
|
@@ -3,12 +3,5 @@
|
|
|
3
3
|
"main": "../../dist/cjs/entry-points/get-all-tokens.js",
|
|
4
4
|
"module": "../../dist/esm/entry-points/get-all-tokens.js",
|
|
5
5
|
"module:es2019": "../../dist/es2019/entry-points/get-all-tokens.js",
|
|
6
|
-
"types": "../../dist/types/entry-points/get-all-tokens.d.ts"
|
|
7
|
-
"typesVersions": {
|
|
8
|
-
">=4.5 <5.9": {
|
|
9
|
-
"*": [
|
|
10
|
-
"../../dist/types-ts4.5/entry-points/get-all-tokens.d.ts"
|
|
11
|
-
]
|
|
12
|
-
}
|
|
13
|
-
}
|
|
6
|
+
"types": "../../dist/types/entry-points/get-all-tokens.d.ts"
|
|
14
7
|
}
|
|
@@ -3,12 +3,5 @@
|
|
|
3
3
|
"main": "../../dist/cjs/entry-points/get-guidelines.js",
|
|
4
4
|
"module": "../../dist/esm/entry-points/get-guidelines.js",
|
|
5
5
|
"module:es2019": "../../dist/es2019/entry-points/get-guidelines.js",
|
|
6
|
-
"types": "../../dist/types/entry-points/get-guidelines.d.ts"
|
|
7
|
-
"typesVersions": {
|
|
8
|
-
">=4.5 <5.9": {
|
|
9
|
-
"*": [
|
|
10
|
-
"../../dist/types-ts4.5/entry-points/get-guidelines.d.ts"
|
|
11
|
-
]
|
|
12
|
-
}
|
|
13
|
-
}
|
|
6
|
+
"types": "../../dist/types/entry-points/get-guidelines.d.ts"
|
|
14
7
|
}
|
|
@@ -3,12 +3,5 @@
|
|
|
3
3
|
"main": "../../dist/cjs/entry-points/get-lint-rules.js",
|
|
4
4
|
"module": "../../dist/esm/entry-points/get-lint-rules.js",
|
|
5
5
|
"module:es2019": "../../dist/es2019/entry-points/get-lint-rules.js",
|
|
6
|
-
"types": "../../dist/types/entry-points/get-lint-rules.d.ts"
|
|
7
|
-
"typesVersions": {
|
|
8
|
-
">=4.5 <5.9": {
|
|
9
|
-
"*": [
|
|
10
|
-
"../../dist/types-ts4.5/entry-points/get-lint-rules.d.ts"
|
|
11
|
-
]
|
|
12
|
-
}
|
|
13
|
-
}
|
|
6
|
+
"types": "../../dist/types/entry-points/get-lint-rules.d.ts"
|
|
14
7
|
}
|
|
@@ -3,12 +3,5 @@
|
|
|
3
3
|
"main": "../../dist/cjs/entry-points/i18n-conversion.js",
|
|
4
4
|
"module": "../../dist/esm/entry-points/i18n-conversion.js",
|
|
5
5
|
"module:es2019": "../../dist/es2019/entry-points/i18n-conversion.js",
|
|
6
|
-
"types": "../../dist/types/entry-points/i18n-conversion.d.ts"
|
|
7
|
-
"typesVersions": {
|
|
8
|
-
">=4.5 <5.9": {
|
|
9
|
-
"*": [
|
|
10
|
-
"../../dist/types-ts4.5/entry-points/i18n-conversion.d.ts"
|
|
11
|
-
]
|
|
12
|
-
}
|
|
13
|
-
}
|
|
6
|
+
"types": "../../dist/types/entry-points/i18n-conversion.d.ts"
|
|
14
7
|
}
|
|
@@ -3,12 +3,5 @@
|
|
|
3
3
|
"main": "../../dist/cjs/entry-points/migration-guides.js",
|
|
4
4
|
"module": "../../dist/esm/entry-points/migration-guides.js",
|
|
5
5
|
"module:es2019": "../../dist/es2019/entry-points/migration-guides.js",
|
|
6
|
-
"types": "../../dist/types/entry-points/migration-guides.d.ts"
|
|
7
|
-
"typesVersions": {
|
|
8
|
-
">=4.5 <5.9": {
|
|
9
|
-
"*": [
|
|
10
|
-
"../../dist/types-ts4.5/entry-points/migration-guides.d.ts"
|
|
11
|
-
]
|
|
12
|
-
}
|
|
13
|
-
}
|
|
6
|
+
"types": "../../dist/types/entry-points/migration-guides.d.ts"
|
|
14
7
|
}
|