@atlaskit/ads-mcp 0.6.2 → 0.6.3

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 CHANGED
@@ -1,5 +1,13 @@
1
1
  # @atlaskit/ads-mcp
2
2
 
3
+ ## 0.6.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [`248faa32d4835`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/248faa32d4835) -
8
+ Internal changes to how borders are applied.
9
+ - Updated dependencies
10
+
3
11
  ## 0.6.2
4
12
 
5
13
  ### Patch Changes
@@ -109,7 +109,7 @@ var accessibilityFixes = exports.accessibilityFixes = {
109
109
  title: 'Custom focus styles',
110
110
  description: 'Add custom focus styles with xcss',
111
111
  before: "<button onClick={handleClick}>\n Click me\n</button>",
112
- after: "import { Focusable } from '@atlaskit/primitives/compiled';\n\n<Focusable\n as=\"button\"\n onClick={handleClick}\n xcss={{\n ':focus-visible': {\n outline: '2px solid token(color.border.focus)',\n outlineOffset: '2px',\n },\n }}\n>\n Click me\n</Focusable>",
112
+ after: "import { Focusable } from '@atlaskit/primitives/compiled';\nimport { token } from '@atlaskit/tokens';\n\n<Focusable\n as=\"button\"\n onClick={handleClick}\n xcss={{\n ':focus-visible': {\n outline: `${token('border.width.focused')} solid ${token('color.border.focused')}`,\n outlineOffset: token('space.025'),\n },\n }}\n>\n Click me\n</Focusable>",
113
113
  explanation: 'Custom focus styles ensure visibility in all themes.'
114
114
  }],
115
115
  bestPractices: ['Always provide visible focus indicators', 'Test focus indicators in all themes', 'Ensure sufficient contrast for focus indicators', 'Test with keyboard navigation']
@@ -170,14 +170,15 @@ color: token('color.text.danger')`,
170
170
  Click me
171
171
  </button>`,
172
172
  after: `import { Focusable } from '@atlaskit/primitives/compiled';
173
+ import { token } from '@atlaskit/tokens';
173
174
 
174
175
  <Focusable
175
176
  as="button"
176
177
  onClick={handleClick}
177
178
  xcss={{
178
179
  ':focus-visible': {
179
- outline: '2px solid token(color.border.focus)',
180
- outlineOffset: '2px',
180
+ outline: \`$\{token('border.width.focused')} solid $\{token('color.border.focused')}\`,
181
+ outlineOffset: token('space.025'),
181
182
  },
182
183
  }}
183
184
  >
@@ -103,7 +103,7 @@ export var accessibilityFixes = {
103
103
  title: 'Custom focus styles',
104
104
  description: 'Add custom focus styles with xcss',
105
105
  before: "<button onClick={handleClick}>\n Click me\n</button>",
106
- after: "import { Focusable } from '@atlaskit/primitives/compiled';\n\n<Focusable\n as=\"button\"\n onClick={handleClick}\n xcss={{\n ':focus-visible': {\n outline: '2px solid token(color.border.focus)',\n outlineOffset: '2px',\n },\n }}\n>\n Click me\n</Focusable>",
106
+ after: "import { Focusable } from '@atlaskit/primitives/compiled';\nimport { token } from '@atlaskit/tokens';\n\n<Focusable\n as=\"button\"\n onClick={handleClick}\n xcss={{\n ':focus-visible': {\n outline: `${token('border.width.focused')} solid ${token('color.border.focused')}`,\n outlineOffset: token('space.025'),\n },\n }}\n>\n Click me\n</Focusable>",
107
107
  explanation: 'Custom focus styles ensure visibility in all themes.'
108
108
  }],
109
109
  bestPractices: ['Always provide visible focus indicators', 'Test focus indicators in all themes', 'Ensure sufficient contrast for focus indicators', 'Test with keyboard navigation']
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/ads-mcp",
3
- "version": "0.6.2",
3
+ "version": "0.6.3",
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,10 +24,6 @@
24
24
  }
25
25
  },
26
26
  "atlaskit:src": "src/index.tsx",
27
- "af:exports": {
28
- ".": "./src/index.tsx",
29
- "./package.json": "./package.json"
30
- },
31
27
  "dependencies": {
32
28
  "@atlaskit/icon": "^28.2.0",
33
29
  "@atlaskit/tokens": "^6.3.0",