@elliemae/ds-truncated-expandable-text 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.
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,27 +1,30 @@
1
1
  {
2
2
  "name": "@elliemae/ds-truncated-expandable-text",
3
- "version": "2.3.0-alpha.2",
3
+ "version": "2.3.0-alpha.7",
4
4
  "license": "MIT",
5
5
  "description": "ICE MT - Dimsum - Truncated Expandable Text",
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
  "./TruncatedExpandableText": {
15
- "import": "./esm/TruncatedExpandableText.js",
16
- "require": "./cjs/TruncatedExpandableText.js"
18
+ "import": "./dist/esm/TruncatedExpandableText.js",
19
+ "require": "./dist/cjs/TruncatedExpandableText.js"
17
20
  },
18
21
  "./props": {
19
- "import": "./esm/props.js",
20
- "require": "./cjs/props.js"
22
+ "import": "./dist/esm/props.js",
23
+ "require": "./dist/cjs/props.js"
21
24
  },
22
25
  "./defaultProps": {
23
- "import": "./esm/defaultProps.js",
24
- "require": "./cjs/defaultProps.js"
26
+ "import": "./dist/esm/defaultProps.js",
27
+ "require": "./dist/cjs/defaultProps.js"
25
28
  }
26
29
  },
27
30
  "sideEffects": [
@@ -33,23 +36,17 @@
33
36
  "url": "https://git.elliemae.io/platform-ui/dimsum.git"
34
37
  },
35
38
  "engines": {
36
- "npm": ">=7",
37
- "node": ">=14"
39
+ "pnpm": ">=6",
40
+ "node": ">=16"
38
41
  },
39
42
  "author": "ICE MT",
40
- "scripts": {
41
- "dev": "cross-env NODE_ENV=development && node ../../scripts/build/build.js -w",
42
- "prebuild": "exit 0",
43
- "predev": "exit 0",
44
- "build": "node ../../scripts/build/build.js"
45
- },
46
43
  "dependencies": {
47
44
  "react-desc": "~4.1.3"
48
45
  },
49
46
  "devDependencies": {
50
47
  "@testing-library/react": "~12.1.2",
51
48
  "@testing-library/user-event": "~13.5.0",
52
- "@types/styled-components": "~5.1.15",
49
+ "@types/styled-components": "~5.1.19",
53
50
  "styled-components": "~5.3.3"
54
51
  },
55
52
  "peerDependencies": {
@@ -60,7 +57,12 @@
60
57
  },
61
58
  "publishConfig": {
62
59
  "access": "public",
63
- "directory": "dist",
64
- "generateSubmodules": true
60
+ "typeSafety": false
61
+ },
62
+ "scripts": {
63
+ "dev": "cross-env NODE_ENV=development && node ../../scripts/build/build.js -w",
64
+ "prebuild": "exit 0",
65
+ "predev": "exit 0",
66
+ "build": "node ../../scripts/build/build.js"
65
67
  }
66
68
  }
@@ -1,33 +0,0 @@
1
- /// <reference path="../../../../shared/typings/react-desc.d.ts" />
2
- import { HTMLAttributes } from 'react';
3
- declare const TruncatedExpandableText: {
4
- ({ containerProps, value, }: {
5
- containerProps: HTMLAttributes<HTMLSpanElement>;
6
- value: string;
7
- }): JSX.Element;
8
- propTypes: {
9
- containerProps: {
10
- defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
11
- deprecated: import("react-desc").PropTypesDescValidator;
12
- };
13
- isRequired: import("react-desc").PropTypesDescValue;
14
- };
15
- value: {
16
- defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
17
- deprecated: import("react-desc").PropTypesDescValidator;
18
- };
19
- isRequired: import("react-desc").PropTypesDescValue;
20
- };
21
- };
22
- defaultProps: {
23
- containerProps: {};
24
- value: string;
25
- };
26
- };
27
- declare const DSTruncatedExpandableTextWithSchema: {
28
- (props?: unknown): JSX.Element;
29
- propTypes: unknown;
30
- toTypescript: () => import("react-desc").TypescriptSchema;
31
- };
32
- export { TruncatedExpandableText, DSTruncatedExpandableTextWithSchema };
33
- export default TruncatedExpandableText;
@@ -1,4 +0,0 @@
1
- export declare const defaultProps: {
2
- containerProps: {};
3
- value: string;
4
- };
package/types/index.d.ts DELETED
@@ -1,2 +0,0 @@
1
- export * from './TruncatedExpandableText';
2
- export { default } from './TruncatedExpandableText';
package/types/props.d.ts DELETED
@@ -1,17 +0,0 @@
1
- /// <reference path="../../../../shared/typings/react-desc.d.ts" />
2
- export declare const textProps: {
3
- /** props injected to wrapper of page header */
4
- containerProps: {
5
- defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
6
- deprecated: import("react-desc").PropTypesDescValidator;
7
- };
8
- isRequired: import("react-desc").PropTypesDescValue;
9
- };
10
- /** Text that when truncated will trigger the tooltip interaction */
11
- value: {
12
- defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
13
- deprecated: import("react-desc").PropTypesDescValidator;
14
- };
15
- isRequired: import("react-desc").PropTypesDescValue;
16
- };
17
- };
@@ -1 +0,0 @@
1
- export {};