@xylabs/react-identicon 6.3.7 → 6.3.9
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/browser/index.d.ts +17 -0
- package/package.json +8 -8
- package/dist/types/components/Identicon.d.ts +0 -14
- package/dist/types/components/Identicon.d.ts.map +0 -1
- package/dist/types/components/index.d.ts +0 -2
- package/dist/types/components/index.d.ts.map +0 -1
- package/dist/types/index.d.ts +0 -2
- package/dist/types/index.d.ts.map +0 -1
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { FlexBoxProps } from '@xylabs/react-flexbox';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
|
|
4
|
+
interface IdenticonProps extends FlexBoxProps {
|
|
5
|
+
bg?: string;
|
|
6
|
+
className?: string;
|
|
7
|
+
count?: number;
|
|
8
|
+
fg?: string;
|
|
9
|
+
iconPadding?: number;
|
|
10
|
+
palette?: string[];
|
|
11
|
+
size?: number;
|
|
12
|
+
value?: string;
|
|
13
|
+
}
|
|
14
|
+
declare const Identicon: React.FC<IdenticonProps>;
|
|
15
|
+
|
|
16
|
+
export { Identicon };
|
|
17
|
+
export type { IdenticonProps };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xylabs/react-identicon",
|
|
3
|
-
"version": "6.3.
|
|
3
|
+
"version": "6.3.9",
|
|
4
4
|
"description": "Common React library for all XY Labs projects that use React",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"utility",
|
|
@@ -26,27 +26,27 @@
|
|
|
26
26
|
"type": "module",
|
|
27
27
|
"exports": {
|
|
28
28
|
".": {
|
|
29
|
-
"types": "./dist/
|
|
29
|
+
"types": "./dist/browser/index.d.ts",
|
|
30
30
|
"default": "./dist/browser/index.mjs"
|
|
31
31
|
},
|
|
32
32
|
"./package.json": "./package.json"
|
|
33
33
|
},
|
|
34
34
|
"module": "./dist/browser/index.mjs",
|
|
35
|
-
"types": "dist/
|
|
35
|
+
"types": "dist/browser/index.d.ts",
|
|
36
36
|
"workspaces": [
|
|
37
37
|
"packages/*"
|
|
38
38
|
],
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@xylabs/react-flexbox": "^6.3.
|
|
40
|
+
"@xylabs/react-flexbox": "^6.3.9",
|
|
41
41
|
"md5": "^2.3.0"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"@mui/material": "^7.
|
|
44
|
+
"@mui/material": "^7.2.0",
|
|
45
45
|
"@types/md5": "^2.3.5",
|
|
46
46
|
"@types/react": "^19.1.8",
|
|
47
|
-
"@xylabs/ts-scripts-yarn3": "^
|
|
48
|
-
"@xylabs/tsconfig-react": "^
|
|
49
|
-
"knip": "^5.61.
|
|
47
|
+
"@xylabs/ts-scripts-yarn3": "^7.0.0-rc.8",
|
|
48
|
+
"@xylabs/tsconfig-react": "^7.0.0-rc.8",
|
|
49
|
+
"knip": "^5.61.3",
|
|
50
50
|
"react": "^19.1.0",
|
|
51
51
|
"react-dom": "^19.1.0",
|
|
52
52
|
"typescript": "^5.8.3"
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { FlexBoxProps } from '@xylabs/react-flexbox';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
export interface IdenticonProps extends FlexBoxProps {
|
|
4
|
-
bg?: string;
|
|
5
|
-
className?: string;
|
|
6
|
-
count?: number;
|
|
7
|
-
fg?: string;
|
|
8
|
-
iconPadding?: number;
|
|
9
|
-
palette?: string[];
|
|
10
|
-
size?: number;
|
|
11
|
-
value?: string;
|
|
12
|
-
}
|
|
13
|
-
export declare const Identicon: React.FC<IdenticonProps>;
|
|
14
|
-
//# sourceMappingURL=Identicon.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Identicon.d.ts","sourceRoot":"","sources":["../../../src/components/Identicon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;AAGzD,OAAO,KAA4B,MAAM,OAAO,CAAA;AAMhD,MAAM,WAAW,cAAe,SAAQ,YAAY;IAClD,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,OAAO,CAAC,EAAE,MAAM,EAAE,CAAA;IAClB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAsDD,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAgC9C,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAA"}
|
package/dist/types/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAA"}
|