@atlaskit/media-document-viewer 0.6.6 → 0.6.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,11 @@
1
1
  # @atlaskit/media-document-viewer
2
2
 
3
+ ## 0.6.7
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
3
9
  ## 0.6.6
4
10
 
5
11
  ### Patch Changes
@@ -11,8 +11,6 @@ var _runtime = require("@compiled/react/runtime");
11
11
  var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
12
12
  var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
13
13
  var _react = _interopRequireDefault(require("react"));
14
- var _chevronDown = _interopRequireDefault(require("@atlaskit/icon/core/chevron-down"));
15
- var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
16
14
  /* eslint-disable @atlaskit/ui-styling-standard/enforce-style-prop */
17
15
  var formInputBaseStyles = null;
18
16
 
@@ -41,7 +39,7 @@ var TextInput = function TextInput(_ref) {
41
39
  value: value,
42
40
  type: "text",
43
41
  readOnly: true,
44
- className: (0, _runtime.ax)(["_19itglyw _ca0qidpf _u5f3idpf _n3tdidpf _19bvidpf _ect41ttw _vwz410nf _r06hglyw _14zgglyw", "_kqswstnw _4t3i1osq _vchhusvi _1bsb1osq", (0, _platformFeatureFlags.fg)('media-document-viewer-annotations') && "_1reo15vq _18m915vq _bfhk1j28 _syaz1j28 _p6m71wug _1chs1wug _jomru67f _f8pjr3uz"])
42
+ className: (0, _runtime.ax)(["_19itglyw _ca0qidpf _u5f3idpf _n3tdidpf _19bvidpf _ect41ttw _vwz410nf _r06hglyw _14zgglyw", "_kqswstnw _4t3i1osq _vchhusvi _1bsb1osq", "_1reo15vq _18m915vq _bfhk1j28 _syaz1j28 _p6m71wug _1chs1wug _jomru67f _f8pjr3uz"])
45
43
  }));
46
44
  };
47
45
  var TextInputFormField = exports.TextInputFormField = function TextInputFormField(_ref2) {
@@ -85,10 +83,7 @@ var ComboBoxFormField = exports.ComboBoxFormField = function ComboBoxFormField(_
85
83
  }
86
84
  },
87
85
  readOnly: true,
88
- className: (0, _runtime.ax)(["_19itglyw _ca0qidpf _u5f3idpf _n3tdidpf _19bvidpf _ect41ttw _vwz410nf _r06hglyw _14zgglyw", "_1bsb1osq", (0, _platformFeatureFlags.fg)('media-document-viewer-annotations') && "_1reo15vq _18m915vq _bfhk1j28 _syaz1j28 _p6m71wug _1chs1wug _jomru67f _f8pjr3uz"])
89
- }), !(0, _platformFeatureFlags.fg)('media-document-viewer-annotations') && /*#__PURE__*/_react.default.createElement(_chevronDown.default, {
90
- label: "",
91
- size: "small"
86
+ className: (0, _runtime.ax)(["_19itglyw _ca0qidpf _u5f3idpf _n3tdidpf _19bvidpf _ect41ttw _vwz410nf _r06hglyw _14zgglyw", "_1bsb1osq", "_1reo15vq _18m915vq _bfhk1j28 _syaz1j28 _p6m71wug _1chs1wug _jomru67f _f8pjr3uz"])
92
87
  })));
93
88
  };
94
89
  var Annotations = exports.Annotations = function Annotations(_ref5) {
@@ -5,8 +5,6 @@ import { ax, ix } from "@compiled/react/runtime";
5
5
  /* eslint-disable @atlaskit/ui-styling-standard/enforce-style-prop */
6
6
 
7
7
  import React from 'react';
8
- import ChevronDownIcon from '@atlaskit/icon/core/chevron-down';
9
- import { fg } from '@atlaskit/platform-feature-flags';
10
8
  const formInputBaseStyles = null;
11
9
 
12
10
  /**
@@ -34,7 +32,7 @@ const TextInput = ({
34
32
  value: value,
35
33
  type: "text",
36
34
  readOnly: true,
37
- className: ax(["_19itglyw _ca0qidpf _u5f3idpf _n3tdidpf _19bvidpf _ect41ttw _vwz410nf _r06hglyw _14zgglyw", "_kqswstnw _4t3i1osq _vchhusvi _1bsb1osq", fg('media-document-viewer-annotations') && "_1reo15vq _18m915vq _bfhk1j28 _syaz1j28 _p6m71wug _1chs1wug _jomru67f _f8pjr3uz"])
35
+ className: ax(["_19itglyw _ca0qidpf _u5f3idpf _n3tdidpf _19bvidpf _ect41ttw _vwz410nf _r06hglyw _14zgglyw", "_kqswstnw _4t3i1osq _vchhusvi _1bsb1osq", "_1reo15vq _18m915vq _bfhk1j28 _syaz1j28 _p6m71wug _1chs1wug _jomru67f _f8pjr3uz"])
38
36
  }));
39
37
  export const TextInputFormField = ({
40
38
  field,
@@ -83,10 +81,7 @@ export const ComboBoxFormField = ({
83
81
  }
84
82
  },
85
83
  readOnly: true,
86
- className: ax(["_19itglyw _ca0qidpf _u5f3idpf _n3tdidpf _19bvidpf _ect41ttw _vwz410nf _r06hglyw _14zgglyw", "_1bsb1osq", fg('media-document-viewer-annotations') && "_1reo15vq _18m915vq _bfhk1j28 _syaz1j28 _p6m71wug _1chs1wug _jomru67f _f8pjr3uz"])
87
- }), !fg('media-document-viewer-annotations') && /*#__PURE__*/React.createElement(ChevronDownIcon, {
88
- label: "",
89
- size: "small"
84
+ className: ax(["_19itglyw _ca0qidpf _u5f3idpf _n3tdidpf _19bvidpf _ect41ttw _vwz410nf _r06hglyw _14zgglyw", "_1bsb1osq", "_1reo15vq _18m915vq _bfhk1j28 _syaz1j28 _p6m71wug _1chs1wug _jomru67f _f8pjr3uz"])
90
85
  })));
91
86
  };
92
87
  export const Annotations = ({
@@ -6,8 +6,6 @@ import { ax, ix } from "@compiled/react/runtime";
6
6
  /* eslint-disable @atlaskit/ui-styling-standard/enforce-style-prop */
7
7
 
8
8
  import React from 'react';
9
- import ChevronDownIcon from '@atlaskit/icon/core/chevron-down';
10
- import { fg } from '@atlaskit/platform-feature-flags';
11
9
  var formInputBaseStyles = null;
12
10
 
13
11
  /**
@@ -35,7 +33,7 @@ var TextInput = function TextInput(_ref) {
35
33
  value: value,
36
34
  type: "text",
37
35
  readOnly: true,
38
- className: ax(["_19itglyw _ca0qidpf _u5f3idpf _n3tdidpf _19bvidpf _ect41ttw _vwz410nf _r06hglyw _14zgglyw", "_kqswstnw _4t3i1osq _vchhusvi _1bsb1osq", fg('media-document-viewer-annotations') && "_1reo15vq _18m915vq _bfhk1j28 _syaz1j28 _p6m71wug _1chs1wug _jomru67f _f8pjr3uz"])
36
+ className: ax(["_19itglyw _ca0qidpf _u5f3idpf _n3tdidpf _19bvidpf _ect41ttw _vwz410nf _r06hglyw _14zgglyw", "_kqswstnw _4t3i1osq _vchhusvi _1bsb1osq", "_1reo15vq _18m915vq _bfhk1j28 _syaz1j28 _p6m71wug _1chs1wug _jomru67f _f8pjr3uz"])
39
37
  }));
40
38
  };
41
39
  export var TextInputFormField = function TextInputFormField(_ref2) {
@@ -79,10 +77,7 @@ export var ComboBoxFormField = function ComboBoxFormField(_ref3) {
79
77
  }
80
78
  },
81
79
  readOnly: true,
82
- className: ax(["_19itglyw _ca0qidpf _u5f3idpf _n3tdidpf _19bvidpf _ect41ttw _vwz410nf _r06hglyw _14zgglyw", "_1bsb1osq", fg('media-document-viewer-annotations') && "_1reo15vq _18m915vq _bfhk1j28 _syaz1j28 _p6m71wug _1chs1wug _jomru67f _f8pjr3uz"])
83
- }), !fg('media-document-viewer-annotations') && /*#__PURE__*/React.createElement(ChevronDownIcon, {
84
- label: "",
85
- size: "small"
80
+ className: ax(["_19itglyw _ca0qidpf _u5f3idpf _n3tdidpf _19bvidpf _ect41ttw _vwz410nf _r06hglyw _14zgglyw", "_1bsb1osq", "_1reo15vq _18m915vq _bfhk1j28 _syaz1j28 _p6m71wug _1chs1wug _jomru67f _f8pjr3uz"])
86
81
  })));
87
82
  };
88
83
  export var Annotations = function Annotations(_ref5) {
package/package.json CHANGED
@@ -26,12 +26,11 @@
26
26
  "dependencies": {
27
27
  "@atlaskit/browser-apis": "^0.0.1",
28
28
  "@atlaskit/css": "^0.19.0",
29
- "@atlaskit/icon": "^30.0.0",
30
29
  "@atlaskit/media-common": "^12.3.0",
31
30
  "@atlaskit/platform-feature-flags": "^1.1.0",
32
- "@atlaskit/primitives": "^17.1.0",
31
+ "@atlaskit/primitives": "^18.0.0",
33
32
  "@atlaskit/spinner": "^19.0.0",
34
- "@atlaskit/tokens": "^10.1.0",
33
+ "@atlaskit/tokens": "^11.0.0",
35
34
  "@babel/runtime": "^7.0.0",
36
35
  "@compiled/react": "^0.18.6"
37
36
  },
@@ -51,9 +50,6 @@
51
50
  "platform-feature-flags": {
52
51
  "media-document-viewer-clear-render": {
53
52
  "type": "boolean"
54
- },
55
- "media-document-viewer-annotations": {
56
- "type": "boolean"
57
53
  }
58
54
  },
59
55
  "techstack": {
@@ -92,7 +88,7 @@
92
88
  }
93
89
  },
94
90
  "name": "@atlaskit/media-document-viewer",
95
- "version": "0.6.6",
91
+ "version": "0.6.7",
96
92
  "description": "Modern and fast document viewer",
97
93
  "author": "Atlassian Pty Ltd",
98
94
  "license": "Apache-2.0",