@elliemae/ds-imagelibrarymodal 2.3.0-alpha.4 → 2.3.0-alpha.6

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.
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
package/package.json CHANGED
@@ -1,23 +1,26 @@
1
1
  {
2
2
  "name": "@elliemae/ds-imagelibrarymodal",
3
- "version": "2.3.0-alpha.4",
3
+ "version": "2.3.0-alpha.6",
4
4
  "license": "MIT",
5
5
  "description": "ICE MT - Dimsum - Image Library Modal",
6
- "module": "./esm/index.js",
7
- "main": "./cjs/index.js",
8
- "types": "./types/index.d.ts",
6
+ "files": [
7
+ "dist"
8
+ ],
9
+ "module": "./dist/esm/index.js",
10
+ "main": "./dist/cjs/index.js",
11
+ "types": "./dist/types/index.d.ts",
9
12
  "exports": {
10
13
  ".": {
11
- "import": "./esm/index.js",
12
- "require": "./cjs/index.js"
14
+ "import": "./dist/esm/index.js",
15
+ "require": "./dist/cjs/index.js"
13
16
  },
14
17
  "./DSImageLibraryModal": {
15
- "import": "./esm/DSImageLibraryModal.js",
16
- "require": "./cjs/DSImageLibraryModal.js"
18
+ "import": "./dist/esm/DSImageLibraryModal.js",
19
+ "require": "./dist/cjs/DSImageLibraryModal.js"
17
20
  },
18
21
  "./components/ImageLibraryModalImpl": {
19
- "import": "./esm/components/ImageLibraryModalImpl.js",
20
- "require": "./cjs/components/ImageLibraryModalImpl.js"
22
+ "import": "./dist/esm/components/ImageLibraryModalImpl.js",
23
+ "require": "./dist/cjs/components/ImageLibraryModalImpl.js"
21
24
  }
22
25
  },
23
26
  "sideEffects": [
@@ -29,22 +32,16 @@
29
32
  "url": "https://git.elliemae.io/platform-ui/dimsum.git"
30
33
  },
31
34
  "engines": {
32
- "npm": ">=7",
33
- "node": ">=14"
35
+ "pnpm": ">=6",
36
+ "node": ">=16"
34
37
  },
35
38
  "author": "ICE MT",
36
- "scripts": {
37
- "dev": "cross-env NODE_ENV=development && node ../../scripts/build/build.js -w",
38
- "prebuild": "exit 0",
39
- "predev": "exit 0",
40
- "build": "node ../../scripts/build/build.js"
41
- },
42
39
  "dependencies": {
43
- "@elliemae/ds-icon": "2.3.0-alpha.4",
44
- "@elliemae/ds-icons": "2.3.0-alpha.4",
45
- "@elliemae/ds-modal": "2.3.0-alpha.4",
46
- "@elliemae/ds-shared": "2.3.0-alpha.4",
47
- "@elliemae/ds-spinner": "2.3.0-alpha.4",
40
+ "@elliemae/ds-icon": "2.3.0-alpha.6",
41
+ "@elliemae/ds-icons": "2.3.0-alpha.6",
42
+ "@elliemae/ds-modal": "2.3.0-alpha.6",
43
+ "@elliemae/ds-shared": "2.3.0-alpha.6",
44
+ "@elliemae/ds-spinner": "2.3.0-alpha.6",
48
45
  "prop-types": "~15.7.2",
49
46
  "react-loading-image": "~0.5.0"
50
47
  },
@@ -55,7 +52,12 @@
55
52
  },
56
53
  "publishConfig": {
57
54
  "access": "public",
58
- "directory": "dist",
59
- "generateSubmodules": true
55
+ "typeSafety": false
56
+ },
57
+ "scripts": {
58
+ "dev": "cross-env NODE_ENV=development && node ../../scripts/build/build.js -w",
59
+ "prebuild": "exit 0",
60
+ "predev": "exit 0",
61
+ "build": "node ../../scripts/build/build.js"
60
62
  }
61
63
  }
@@ -1,35 +0,0 @@
1
- /// <reference types="react" />
2
- import PropTypes from 'prop-types';
3
- declare const DSImageLibraryModal: {
4
- ({ containerProps, confirmLabel, disableDoubleClick, isOpen, modalTitle, modalType, rejectLabel, shouldCloseOnOverlayClick, size, imagesData, onSelect, ...rest }: {
5
- [x: string]: any;
6
- containerProps?: {} | undefined;
7
- confirmLabel?: string | undefined;
8
- disableDoubleClick?: boolean | undefined;
9
- isOpen?: boolean | undefined;
10
- modalTitle?: string | undefined;
11
- modalType?: string | undefined;
12
- rejectLabel?: string | undefined;
13
- shouldCloseOnOverlayClick?: boolean | undefined;
14
- size?: any;
15
- imagesData?: {
16
- url: string;
17
- name: string;
18
- createdBy: string;
19
- createdDate: string;
20
- }[] | undefined;
21
- onSelect?: (() => null) | undefined;
22
- }): JSX.Element;
23
- /** Inherits DSModal props */
24
- propTypes: {
25
- containerProps: PropTypes.Requireable<PropTypes.InferProps<{}>>;
26
- /** List of images src */
27
- imagesData: PropTypes.Requireable<(PropTypes.InferProps<{
28
- url: PropTypes.Requireable<string>;
29
- name: PropTypes.Requireable<string>;
30
- }> | null | undefined)[]>;
31
- /** Handler when user selects an image */
32
- onSelect: PropTypes.Requireable<(...args: any[]) => any>;
33
- };
34
- };
35
- export default DSImageLibraryModal;
@@ -1,16 +0,0 @@
1
- import React from 'react';
2
- export default class ImageLibraryModalImpl extends React.PureComponent {
3
- constructor(props: any);
4
- componentDidMount(): void;
5
- getDerivedStateFromProps(nextProps: any): void;
6
- onReject: () => void;
7
- getUser(selected: any): any;
8
- handleElementClick: (e: any, image: any) => void;
9
- preventSpacebarScroll(): void;
10
- drawDiv(className: any, content: any): JSX.Element;
11
- drawLabel(className: any, label: any, value: any): JSX.Element;
12
- renderElements: () => any;
13
- renderSpinner: () => JSX.Element;
14
- renderError: () => JSX.Element;
15
- render(): JSX.Element;
16
- }
package/types/index.d.ts DELETED
@@ -1 +0,0 @@
1
- export { default } from './DSImageLibraryModal';