@atlaskit/code 14.5.3 → 14.5.4

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,11 @@
1
1
  # @atlaskit/code
2
2
 
3
+ ## 14.5.4
4
+
5
+ ### Patch Changes
6
+
7
+ - [`2e01c9c74b5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2e01c9c74b5) - DUMMY remove before merging to master; dupe adf-schema via adf-utils
8
+
3
9
  ## 14.5.3
4
10
 
5
11
  ### Patch Changes
package/dist/cjs/code.js CHANGED
@@ -22,6 +22,7 @@ var _bidiWarningDecorator = _interopRequireDefault(require("./bidi-warning/bidi-
22
22
  var _styles = require("./internal/theme/styles");
23
23
  var _excluded = ["testId"],
24
24
  _excluded2 = ["children", "codeBidiWarnings", "codeBidiWarningLabel", "codeBidiWarningTooltipEnabled"];
25
+ /** @jsx jsx */
25
26
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
26
27
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
27
28
  /**
@@ -28,4 +28,9 @@ var SyntaxHighlighter = /*#__PURE__*/function (_React$PureComponent) {
28
28
  * Function that receives current line number as argument and returns a
29
29
  * line props object to be applied to each `span` wrapping code line.
30
30
  */
31
+ /**
32
+ * Props to be passed to the `span` wrapping each code line. Can be an
33
+ * object or a function that receives current line number as argument and
34
+ * returns a props object.
35
+ */
31
36
  exports.SyntaxHighlighter = SyntaxHighlighter;
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/code",
3
- "version": "14.5.3",
3
+ "version": "14.5.4",
4
4
  "sideEffects": false
5
5
  }
@@ -6,4 +6,10 @@ export class SyntaxHighlighter extends React.PureComponent {}
6
6
  /**
7
7
  * Function that receives current line number as argument and returns a
8
8
  * line props object to be applied to each `span` wrapping code line.
9
+ */
10
+
11
+ /**
12
+ * Props to be passed to the `span` wrapping each code line. Can be an
13
+ * object or a function that receives current line number as argument and
14
+ * returns a props object.
9
15
  */
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/code",
3
- "version": "14.5.3",
3
+ "version": "14.5.4",
4
4
  "sideEffects": false
5
5
  }
@@ -21,4 +21,10 @@ export var SyntaxHighlighter = /*#__PURE__*/function (_React$PureComponent) {
21
21
  /**
22
22
  * Function that receives current line number as argument and returns a
23
23
  * line props object to be applied to each `span` wrapping code line.
24
+ */
25
+
26
+ /**
27
+ * Props to be passed to the `span` wrapping each code line. Can be an
28
+ * object or a function that receives current line number as argument and
29
+ * returns a props object.
24
30
  */
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/code",
3
- "version": "14.5.3",
3
+ "version": "14.5.4",
4
4
  "sideEffects": false
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/code",
3
- "version": "14.5.3",
3
+ "version": "14.5.4",
4
4
  "description": "Code highlights short strings of code snippets inline with body text.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -27,7 +27,7 @@
27
27
  },
28
28
  "dependencies": {
29
29
  "@atlaskit/codemod-utils": "^4.1.0",
30
- "@atlaskit/theme": "^12.3.0",
30
+ "@atlaskit/theme": "^12.4.0",
31
31
  "@atlaskit/tokens": "^1.2.0",
32
32
  "@atlaskit/tooltip": "^17.7.0",
33
33
  "@babel/runtime": "^7.0.0",
@@ -39,12 +39,12 @@
39
39
  "react": "^16.8.0"
40
40
  },
41
41
  "devDependencies": {
42
- "@atlaskit/button": "^16.5.0",
42
+ "@atlaskit/button": "^16.6.0",
43
43
  "@atlaskit/docs": "^9.0.0",
44
44
  "@atlaskit/ds-explorations": "^2.0.1",
45
45
  "@atlaskit/ds-lib": "^2.1.0",
46
- "@atlaskit/form": "^8.8.0",
47
- "@atlaskit/primitives": "^0.4.0",
46
+ "@atlaskit/form": "^8.9.0",
47
+ "@atlaskit/primitives": "^0.8.0",
48
48
  "@atlaskit/section-message": "^6.3.0",
49
49
  "@atlaskit/ssr": "*",
50
50
  "@atlaskit/toggle": "^12.5.0",