@pagenflow/email 1.1.14 → 1.3.1
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/dist/components/Icon.d.ts +35 -0
- package/dist/components/Text.d.ts +4 -0
- package/dist/index.cjs.js +1453 -17194
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +1453 -17194
- package/dist/index.esm.js.map +1 -1
- package/dist/types/IInnerLink.d.ts +9 -0
- package/dist/utils/isEqual.d.ts +30 -0
- package/dist/utils/memoUtils.d.ts +1 -1
- package/package.json +1 -5
- package/repo-header-image.png +0 -0
- package/dist/components/MyComponent.d.ts +0 -3
- package/dist/components/index.d.ts +0 -1
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export type InnerLinkType = "none" | "anchor" | "url" | "email" | "phone" | "page_top" | "page_bottom";
|
|
2
|
+
export default interface IInnerLink {
|
|
3
|
+
type: InnerLinkType;
|
|
4
|
+
email?: string;
|
|
5
|
+
phone?: string;
|
|
6
|
+
url?: string;
|
|
7
|
+
anchor?: string;
|
|
8
|
+
target?: "_blank" | "_self" | "_parent" | "_top";
|
|
9
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export = isEqual;
|
|
2
|
+
/**
|
|
3
|
+
* Performs a deep comparison between two values to determine if they are
|
|
4
|
+
* equivalent.
|
|
5
|
+
*
|
|
6
|
+
* **Note:** This method supports comparing arrays, array buffers, booleans,
|
|
7
|
+
* date objects, error objects, maps, numbers, `Object` objects, regexes,
|
|
8
|
+
* sets, strings, symbols, and typed arrays. `Object` objects are compared
|
|
9
|
+
* by their own, not inherited, enumerable properties. Functions and DOM
|
|
10
|
+
* nodes are **not** supported.
|
|
11
|
+
*
|
|
12
|
+
* @static
|
|
13
|
+
* @memberOf _
|
|
14
|
+
* @since 0.1.0
|
|
15
|
+
* @category Lang
|
|
16
|
+
* @param {*} value The value to compare.
|
|
17
|
+
* @param {*} other The other value to compare.
|
|
18
|
+
* @returns {boolean} Returns `true` if the values are equivalent, else `false`.
|
|
19
|
+
* @example
|
|
20
|
+
*
|
|
21
|
+
* var object = { 'a': 1 };
|
|
22
|
+
* var other = { 'a': 1 };
|
|
23
|
+
*
|
|
24
|
+
* _.isEqual(object, other);
|
|
25
|
+
* // => true
|
|
26
|
+
*
|
|
27
|
+
* object === other;
|
|
28
|
+
* // => false
|
|
29
|
+
*/
|
|
30
|
+
declare function isEqual(value: any, other: any): boolean;
|
|
@@ -12,7 +12,7 @@ export declare function arePropsEqual<T extends Record<string, any>>(prevProps:
|
|
|
12
12
|
*
|
|
13
13
|
* @example
|
|
14
14
|
* export default memo(MyComponent, (prev, next) =>
|
|
15
|
-
*
|
|
15
|
+
* arePropsEqualExcept(prev, next, ['onCallback'])
|
|
16
16
|
* );
|
|
17
17
|
*/
|
|
18
18
|
export declare function arePropsEqualExcept<T extends Record<string, any>>(prevProps: T, nextProps: T, excludeKeys: (keyof T)[]): boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pagenflow/email",
|
|
3
|
-
"version": "1.1
|
|
3
|
+
"version": "1.3.1",
|
|
4
4
|
"description": "Free Email Compatible Components",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.esm.js",
|
|
@@ -42,7 +42,6 @@
|
|
|
42
42
|
"@rollup/plugin-commonjs": "^29.0.0",
|
|
43
43
|
"@rollup/plugin-node-resolve": "^16.0.3",
|
|
44
44
|
"@rollup/plugin-typescript": "^12.3.0",
|
|
45
|
-
"@types/lodash": "^4.17.23",
|
|
46
45
|
"@types/react": "^19.2.8",
|
|
47
46
|
"@types/react-dom": "^19.2.3",
|
|
48
47
|
"react": "^19.2.3",
|
|
@@ -51,8 +50,5 @@
|
|
|
51
50
|
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
52
51
|
"tslib": "^2.8.1",
|
|
53
52
|
"typescript": "^5.9.3"
|
|
54
|
-
},
|
|
55
|
-
"dependencies": {
|
|
56
|
-
"lodash": "^4.17.21"
|
|
57
53
|
}
|
|
58
54
|
}
|
package/repo-header-image.png
CHANGED
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { MyComponent } from './MyComponent';
|