@atlaskit/code 17.2.6 → 17.2.7

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,12 @@
1
1
  # @atlaskit/code
2
2
 
3
+ ## 17.2.7
4
+
5
+ ### Patch Changes
6
+
7
+ - [`ea4cb74c395ce`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/ea4cb74c395ce) -
8
+ [ux] Adds markdown language support to code blocks
9
+
3
10
  ## 17.2.6
4
11
 
5
12
  ### Patch Changes
@@ -350,4 +350,8 @@ var SUPPORTED_LANGUAGES = exports.SUPPORTED_LANGUAGES = [{
350
350
  name: 'ABAP',
351
351
  alias: ['abap'],
352
352
  value: 'abap'
353
+ }, {
354
+ name: 'Markdown',
355
+ alias: ['markdown'],
356
+ value: 'markdown'
353
357
  }];
@@ -337,5 +337,9 @@ export const SUPPORTED_LANGUAGES = [{
337
337
  name: 'ABAP',
338
338
  alias: ['abap'],
339
339
  value: 'abap'
340
+ }, {
341
+ name: 'Markdown',
342
+ alias: ['markdown'],
343
+ value: 'markdown'
340
344
  }];
341
345
  export { CODE_BLOCK_SELECTOR } from './internal/theme/constants';
@@ -337,5 +337,9 @@ export var SUPPORTED_LANGUAGES = [{
337
337
  name: 'ABAP',
338
338
  alias: ['abap'],
339
339
  value: 'abap'
340
+ }, {
341
+ name: 'Markdown',
342
+ alias: ['markdown'],
343
+ value: 'markdown'
340
344
  }];
341
345
  export { CODE_BLOCK_SELECTOR } from './internal/theme/constants';
@@ -334,6 +334,10 @@ export declare const SUPPORTED_LANGUAGES: readonly [{
334
334
  readonly name: "ABAP";
335
335
  readonly alias: readonly ["abap"];
336
336
  readonly value: "abap";
337
+ }, {
338
+ readonly name: "Markdown";
339
+ readonly alias: readonly ["markdown"];
340
+ readonly value: "markdown";
337
341
  }];
338
342
  export { CODE_BLOCK_SELECTOR } from './internal/theme/constants';
339
343
  export type Language = (typeof SUPPORTED_LANGUAGES)[number];
@@ -670,6 +670,13 @@ export declare const SUPPORTED_LANGUAGES: readonly [
670
670
  "abap"
671
671
  ];
672
672
  readonly value: "abap";
673
+ },
674
+ {
675
+ readonly name: "Markdown";
676
+ readonly alias: readonly [
677
+ "markdown"
678
+ ];
679
+ readonly value: "markdown";
673
680
  }
674
681
  ];
675
682
  export { CODE_BLOCK_SELECTOR } from './internal/theme/constants';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/code",
3
- "version": "17.2.6",
3
+ "version": "17.2.7",
4
4
  "description": "Code highlights short strings of code snippets inline with body text.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -46,7 +46,7 @@
46
46
  "@af/accessibility-testing": "workspace:^",
47
47
  "@af/integration-testing": "workspace:^",
48
48
  "@af/visual-regression": "workspace:^",
49
- "@atlaskit/button": "^23.4.0",
49
+ "@atlaskit/button": "^23.5.0",
50
50
  "@atlaskit/docs": "^11.1.0",
51
51
  "@atlaskit/ds-lib": "^5.1.0",
52
52
  "@atlaskit/form": "^14.2.0",