@zohodesk/dot 1.0.0-temp-200 → 1.0.0-temp-200.2

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.
@@ -13,8 +13,8 @@ import FreezeLayer from "../FreezeLayer/FreezeLayer";
13
13
  import { isAudioFile, getExtensionFromFileName, isVideoFile, isPdfFile, isDocsFile, isSheetFile, isShowFile, isEmailFile, isImageFile, openNewTab, sheetFileTypes, docsFileTypes, showFileTypes, designFileTypes, zipFileType } from "./Attachment";
14
14
  import { shallowDiff } from "../utils/General";
15
15
  import style from "./AttachmentViewer.module.css";
16
- import { checkFileSourcesValidation } from "./utils";
17
- import audioThumbNail from "../../images/audio_thumbnail.png";
16
+ import { checkFileSourcesValidation } from "./utils"; // import audioThumbNail from '../../images/audio_thumbnail.png'
17
+
18
18
  export default class AttachmentViewer extends Component {
19
19
  constructor(props) {
20
20
  super(props);
@@ -79,7 +79,7 @@
79
79
  font-size: var(--zd_font_size22) ;
80
80
  height: var(--zd_size38) ;
81
81
  width: var(--zd_size38) ;
82
- line-height: 36px;
82
+ line-height: 1.6;
83
83
  border-radius: 50%;
84
84
  cursor: pointer;
85
85
  }
@@ -250,7 +250,7 @@
250
250
  background-size: 100% 100%;
251
251
  }
252
252
 
253
- .isAudio {
253
+ /* .isAudio {
254
254
  composes: audioImage from '../common/dot_common.module.css';
255
255
  }
256
256
 
@@ -281,7 +281,7 @@
281
281
 
282
282
  .otherFile {
283
283
  composes: otherImage from '../common/dot_common.module.css';
284
- }
284
+ } */
285
285
 
286
286
  .isAudio .image,
287
287
  .isVideo .image,
@@ -1,4 +1,4 @@
1
- .audioImage {
1
+ /* .audioImage {
2
2
  background-image: url('../../images/audio_thumbnail.png');
3
3
  background-repeat: no-repeat;
4
4
  }
@@ -36,4 +36,4 @@
36
36
  .otherImage {
37
37
  background-image: url('../../images/otherfile_thumbnail.png');
38
38
  background-repeat: no-repeat;
39
- }
39
+ } */
@@ -39,8 +39,6 @@ var _AttachmentViewerModule = _interopRequireDefault(require("./AttachmentViewer
39
39
 
40
40
  var _utils = require("./utils");
41
41
 
42
- var _audio_thumbnail = _interopRequireDefault(require("../../images/audio_thumbnail.png"));
43
-
44
42
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
45
43
 
46
44
  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); }
@@ -81,6 +79,7 @@ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Re
81
79
 
82
80
  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
83
81
 
82
+ // import audioThumbNail from '../../images/audio_thumbnail.png'
84
83
  var AttachmentViewer = /*#__PURE__*/function (_Component) {
85
84
  _inherits(AttachmentViewer, _Component);
86
85
 
@@ -79,7 +79,7 @@
79
79
  font-size: var(--zd_font_size22) ;
80
80
  height: var(--zd_size38) ;
81
81
  width: var(--zd_size38) ;
82
- line-height: 36px;
82
+ line-height: 1.6;
83
83
  border-radius: 50%;
84
84
  cursor: pointer;
85
85
  }
@@ -250,7 +250,7 @@
250
250
  background-size: 100% 100%;
251
251
  }
252
252
 
253
- .isAudio {
253
+ /* .isAudio {
254
254
  composes: audioImage from '../common/dot_common.module.css';
255
255
  }
256
256
 
@@ -281,7 +281,7 @@
281
281
 
282
282
  .otherFile {
283
283
  composes: otherImage from '../common/dot_common.module.css';
284
- }
284
+ } */
285
285
 
286
286
  .isAudio .image,
287
287
  .isVideo .image,
@@ -1,4 +1,4 @@
1
- .audioImage {
1
+ /* .audioImage {
2
2
  background-image: url('../../images/audio_thumbnail.png');
3
3
  background-repeat: no-repeat;
4
4
  }
@@ -36,4 +36,4 @@
36
36
  .otherImage {
37
37
  background-image: url('../../images/otherfile_thumbnail.png');
38
38
  background-repeat: no-repeat;
39
- }
39
+ } */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zohodesk/dot",
3
- "version": "1.0.0-temp-200",
3
+ "version": "1.0.0-temp-200.2",
4
4
  "main": "lib/index",
5
5
  "module": "es/index.js",
6
6
  "private": false,