@elliemae/ds-app-picker 2.3.0-alpha.2 → 2.3.0-alpha.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.
Files changed (37) hide show
  1. package/{cjs → dist/cjs}/AppPickerImpl.js +0 -0
  2. package/{cjs → dist/cjs}/AppPickerImpl.js.map +0 -0
  3. package/{cjs → dist/cjs}/DSAppPicker.js +0 -0
  4. package/{cjs → dist/cjs}/DSAppPicker.js.map +0 -0
  5. package/{cjs → dist/cjs}/index.js +0 -0
  6. package/{cjs → dist/cjs}/index.js.map +0 -0
  7. package/{cjs → dist/cjs}/propTypes.js +0 -0
  8. package/{cjs → dist/cjs}/propTypes.js.map +0 -0
  9. package/{cjs → dist/cjs}/styles.js +0 -0
  10. package/{cjs → dist/cjs}/styles.js.map +0 -0
  11. package/{cjs → dist/cjs}/types/AppPickerTypes.js +0 -0
  12. package/{cjs → dist/cjs}/types/AppPickerTypes.js.map +0 -0
  13. package/{cjs → dist/cjs}/utils.js +0 -0
  14. package/{cjs → dist/cjs}/utils.js.map +0 -0
  15. package/{esm → dist/esm}/AppPickerImpl.js +0 -0
  16. package/{esm → dist/esm}/AppPickerImpl.js.map +0 -0
  17. package/{esm → dist/esm}/DSAppPicker.js +0 -0
  18. package/{esm → dist/esm}/DSAppPicker.js.map +0 -0
  19. package/{esm → dist/esm}/index.js +0 -0
  20. package/{esm → dist/esm}/index.js.map +0 -0
  21. package/{esm → dist/esm}/propTypes.js +0 -0
  22. package/{esm → dist/esm}/propTypes.js.map +0 -0
  23. package/{esm → dist/esm}/styles.js +0 -0
  24. package/{esm → dist/esm}/styles.js.map +0 -0
  25. package/{esm → dist/esm}/types/AppPickerTypes.js +0 -0
  26. package/{esm → dist/esm}/types/AppPickerTypes.js.map +0 -0
  27. package/{esm → dist/esm}/utils.js +0 -0
  28. package/{esm → dist/esm}/utils.js.map +0 -0
  29. package/package.json +38 -34
  30. package/types/AppPickerImpl.d.ts +0 -3
  31. package/types/DSAppPicker.d.ts +0 -11
  32. package/types/index.d.ts +0 -2
  33. package/types/propTypes.d.ts +0 -61
  34. package/types/styles.d.ts +0 -9
  35. package/types/tests/AppPicker.test.d.ts +0 -1
  36. package/types/types/AppPickerTypes.d.ts +0 -41
  37. package/types/utils.d.ts +0 -12
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
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,39 +1,42 @@
1
1
  {
2
2
  "name": "@elliemae/ds-app-picker",
3
- "version": "2.3.0-alpha.2",
3
+ "version": "2.3.0-alpha.7",
4
4
  "license": "MIT",
5
5
  "description": "ICE MT - Dimsum - App Picker",
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
  "./utils": {
15
- "import": "./esm/utils.js",
16
- "require": "./cjs/utils.js"
18
+ "import": "./dist/esm/utils.js",
19
+ "require": "./dist/cjs/utils.js"
17
20
  },
18
21
  "./types/AppPickerTypes": {
19
- "import": "./esm/types/AppPickerTypes.js",
20
- "require": "./cjs/types/AppPickerTypes.js"
22
+ "import": "./dist/esm/types/AppPickerTypes.js",
23
+ "require": "./dist/cjs/types/AppPickerTypes.js"
21
24
  },
22
25
  "./styles": {
23
- "import": "./esm/styles.js",
24
- "require": "./cjs/styles.js"
26
+ "import": "./dist/esm/styles.js",
27
+ "require": "./dist/cjs/styles.js"
25
28
  },
26
29
  "./propTypes": {
27
- "import": "./esm/propTypes.js",
28
- "require": "./cjs/propTypes.js"
30
+ "import": "./dist/esm/propTypes.js",
31
+ "require": "./dist/cjs/propTypes.js"
29
32
  },
30
33
  "./DSAppPicker": {
31
- "import": "./esm/DSAppPicker.js",
32
- "require": "./cjs/DSAppPicker.js"
34
+ "import": "./dist/esm/DSAppPicker.js",
35
+ "require": "./dist/cjs/DSAppPicker.js"
33
36
  },
34
37
  "./AppPickerImpl": {
35
- "import": "./esm/AppPickerImpl.js",
36
- "require": "./cjs/AppPickerImpl.js"
38
+ "import": "./dist/esm/AppPickerImpl.js",
39
+ "require": "./dist/cjs/AppPickerImpl.js"
37
40
  }
38
41
  },
39
42
  "sideEffects": [
@@ -45,26 +48,22 @@
45
48
  "url": "https://git.elliemae.io/platform-ui/dimsum.git"
46
49
  },
47
50
  "engines": {
48
- "npm": ">=7",
49
- "node": ">=14"
51
+ "pnpm": ">=6",
52
+ "node": ">=16"
50
53
  },
51
54
  "author": "ICE MT",
52
- "scripts": {
53
- "dev": "cross-env NODE_ENV=development && node ../../scripts/build/build.js -w",
54
- "prebuild": "exit 0",
55
- "predev": "exit 0",
56
- "build": "node ../../scripts/build/build.js"
57
- },
58
55
  "dependencies": {
59
- "@elliemae/ds-button": "2.3.0-alpha.2",
60
- "@elliemae/ds-icons": "2.3.0-alpha.2",
61
- "@elliemae/ds-popover": "2.3.0-alpha.2",
62
- "@elliemae/ds-system": "2.3.0-alpha.2",
63
- "@elliemae/ds-utilities": "2.3.0-alpha.2",
56
+ "@elliemae/ds-button": "2.3.0-alpha.7",
57
+ "@elliemae/ds-icons": "2.3.0-alpha.7",
58
+ "@elliemae/ds-popover": "2.3.0-alpha.7",
59
+ "@elliemae/ds-props-helpers": "2.3.0-alpha.7",
60
+ "@elliemae/ds-system": "2.3.0-alpha.7",
61
+ "@elliemae/ds-truncated-tooltip-text": "2.3.0-alpha.7",
62
+ "@elliemae/ds-utilities": "2.3.0-alpha.7",
64
63
  "react-desc": "^4.1.3"
65
64
  },
66
65
  "devDependencies": {
67
- "@testing-library/jest-dom": "~5.15.0",
66
+ "@testing-library/jest-dom": "~5.15.1",
68
67
  "@testing-library/react": "~12.1.2"
69
68
  },
70
69
  "peerDependencies": {
@@ -74,7 +73,12 @@
74
73
  },
75
74
  "publishConfig": {
76
75
  "access": "public",
77
- "directory": "dist",
78
- "generateSubmodules": true
76
+ "typeSafety": false
77
+ },
78
+ "scripts": {
79
+ "dev": "cross-env NODE_ENV=development && node ../../scripts/build/build.js -w",
80
+ "prebuild": "exit 0",
81
+ "predev": "exit 0",
82
+ "build": "node ../../scripts/build/build.js"
79
83
  }
80
84
  }
@@ -1,3 +0,0 @@
1
- import { DSAppPickerImplType } from './types/AppPickerTypes';
2
- declare const AppPickerImpl: DSAppPickerImplType;
3
- export default AppPickerImpl;
@@ -1,11 +0,0 @@
1
- /// <reference path="../../../../shared/typings/react-desc.d.ts" />
2
- /// <reference types="react" />
3
- import type { DSAppPickerType } from './types/AppPickerTypes';
4
- declare const DSAppPicker: DSAppPickerType;
5
- declare const AppPickerWithSchema: {
6
- (props?: unknown): JSX.Element;
7
- propTypes: unknown;
8
- toTypescript: () => import("react-desc").TypescriptSchema;
9
- };
10
- export { DSAppPicker, AppPickerWithSchema };
11
- export default DSAppPicker;
package/types/index.d.ts DELETED
@@ -1,2 +0,0 @@
1
- export * from './DSAppPicker';
2
- export { default } from './DSAppPicker';
@@ -1,61 +0,0 @@
1
- /// <reference path="../../../../shared/typings/react-desc.d.ts" />
2
- export declare const propTypes: {
3
- apps: import("react-desc").PropTypesDescValue;
4
- customApps: {
5
- defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
6
- deprecated: import("react-desc").PropTypesDescValidator;
7
- };
8
- isRequired: import("react-desc").PropTypesDescValue;
9
- };
10
- sectionTitle: {
11
- deprecated: import("react-desc").PropTypesDescValidator;
12
- };
13
- customSectionTitle: {
14
- deprecated: import("react-desc").PropTypesDescValidator;
15
- };
16
- icon: {
17
- deprecated: import("react-desc").PropTypesDescValidator;
18
- };
19
- renderTrigger: {
20
- defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
21
- deprecated: import("react-desc").PropTypesDescValidator;
22
- };
23
- isRequired: import("react-desc").PropTypesDescValue;
24
- };
25
- actionRef: {
26
- defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
27
- deprecated: import("react-desc").PropTypesDescValidator;
28
- };
29
- isRequired: import("react-desc").PropTypesDescValue;
30
- };
31
- isOpen: {
32
- defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
33
- deprecated: import("react-desc").PropTypesDescValidator;
34
- };
35
- isRequired: import("react-desc").PropTypesDescValue;
36
- };
37
- onClose: {
38
- defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
39
- deprecated: import("react-desc").PropTypesDescValidator;
40
- };
41
- isRequired: import("react-desc").PropTypesDescValue;
42
- };
43
- onKeyDown: {
44
- defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
45
- deprecated: import("react-desc").PropTypesDescValidator;
46
- };
47
- isRequired: import("react-desc").PropTypesDescValue;
48
- };
49
- onClick: {
50
- defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
51
- deprecated: import("react-desc").PropTypesDescValidator;
52
- };
53
- isRequired: import("react-desc").PropTypesDescValue;
54
- };
55
- onClickOutside: {
56
- defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
57
- deprecated: import("react-desc").PropTypesDescValidator;
58
- };
59
- isRequired: import("react-desc").PropTypesDescValue;
60
- };
61
- };
package/types/styles.d.ts DELETED
@@ -1,9 +0,0 @@
1
- export declare const StyledTitle: import("styled-components").StyledComponent<"h3", import("@elliemae/ds-system/types/styled/types").Theme, {}, never>;
2
- export declare const StyledWrapper: import("styled-components").StyledComponent<"ul", import("@elliemae/ds-system/types/styled/types").Theme, {}, never>;
3
- export declare const StyledGrid: import("styled-components").StyledComponent<"div", import("@elliemae/ds-system/types/styled/types").Theme, {}, never>;
4
- export declare const StyledRow: import("styled-components").StyledComponent<"div", import("@elliemae/ds-system/types/styled/types").Theme, {}, never>;
5
- export declare const StyledChipLabel: import("styled-components").StyledComponent<"p", import("@elliemae/ds-system/types/styled/types").Theme, {}, never>;
6
- export declare const StyledChip: import("styled-components").StyledComponent<"button", import("@elliemae/ds-system/types/styled/types").Theme, {
7
- selected: boolean | undefined;
8
- }, never>;
9
- export declare const StyledSeparator: import("styled-components").StyledComponent<"hr", import("@elliemae/ds-system/types/styled/types").Theme, {}, never>;
@@ -1 +0,0 @@
1
- export {};
@@ -1,41 +0,0 @@
1
- /// <reference types="react" />
2
- import type { SvgIconType } from '@elliemae/ds-icons';
3
- export interface AppItemType {
4
- label: string;
5
- icon: React.ComponentType<{
6
- className: string;
7
- size: string;
8
- }>;
9
- onClick: () => void | null;
10
- disabled?: boolean;
11
- selected?: boolean;
12
- }
13
- export interface AppPickerPropsType {
14
- apps: AppItemType[];
15
- customApps: AppItemType[];
16
- sectionTitle: string;
17
- customSectionTitle: string;
18
- icon: SvgIconType;
19
- onKeyDown?: (e: React.KeyboardEvent) => void;
20
- actionRef?: React.RefObject<{
21
- focusToIndex: (index: number) => void;
22
- }>;
23
- onClick?: (e: MouseEvent) => void;
24
- onClickOutside?: (e: React.MouseEvent) => void;
25
- renderTrigger?: React.ComponentType<any>;
26
- isOpen?: boolean;
27
- onClose?: () => void;
28
- triggerRef?: React.RefObject<HTMLButtonElement>;
29
- }
30
- export interface AppPickerImplProps {
31
- apps: AppItemType[];
32
- customApps: AppItemType[];
33
- sectionTitle: string;
34
- customSectionTitle: string;
35
- close?: () => void;
36
- onKeyDown: (e: KeyboardEvent) => void;
37
- wrapperRef: React.RefObject<HTMLUListElement>;
38
- triggerRef: React.RefObject<HTMLElement>;
39
- }
40
- export declare type DSAppPickerImplType = React.ComponentType<AppPickerImplProps>;
41
- export declare type DSAppPickerType = React.ComponentType<AppPickerPropsType>;
package/types/utils.d.ts DELETED
@@ -1,12 +0,0 @@
1
- export declare const keys: {
2
- LEFT: string;
3
- UP: string;
4
- RIGHT: string;
5
- DOWN: string;
6
- ENTER: string;
7
- SPACE: string;
8
- TAB: string;
9
- ESC: string;
10
- HOME: string;
11
- END: string;
12
- };