@dev-crew-berlin/enter-js-utils 0.2.1 → 0.2.2

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.
@@ -0,0 +1 @@
1
+ export * as result from './result';
@@ -0,0 +1,2 @@
1
+ export * as result from './result';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/lib/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,UAAU,CAAA"}
File without changes
File without changes
@@ -0,0 +1 @@
1
+ {"version":3,"file":"result.js","sourceRoot":"","sources":["../../src/lib/result.ts"],"names":[],"mappings":"AAIA,MAAM,UAAU,OAAO,CAAU,IAAa;IAC5C,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,CAAA;AACtC,CAAC;AAED,MAAM,UAAU,OAAO,CAAS,MAAc;IAC5C,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,CAAA;AAC1C,CAAC;AAED,MAAM,UAAU,SAAS,CACvB,MAAgC;IAEhC,IAAI,CAAC,MAAM,CAAC,OAAO;QAAE,OAAO,SAAS,CAAA;IACrC,OAAO,MAAM,CAAA;AACf,CAAC;AAED,MAAM,UAAU,SAAS,CACvB,MAA+B;IAE/B,IAAI,MAAM,CAAC,OAAO;QAAE,OAAO,SAAS,CAAA;IACpC,OAAO,MAAM,CAAA;AACf,CAAC;AASD;;;;;;;;;;;GAWG;AACH,MAAM,UAAU,cAAc,CAI5B,OAAU;IACV,IAAI,OAAO,CAAC,KAAK,CAAC,UAAC,MAAM,IAAK,OAAA,MAAM,CAAC,OAAO,EAAd,CAAc,CAAC,EAAE;QAC7C,OAAO;YACL,OAAO,EAAE,IAAI;YACb,IAAI,EAAE,OAAO,CAAC,GAAG;YACf,mFAAmF;YACnF,UAAC,OAAO,IAAK,OAAA,SAAS,CAAC,OAAO,CAAE,CAAC,IAAI,EAAxB,CAAwB,CAAC,+DAA+D;aACrE,EAAE,uGAAuG;SAC5I,CAAA;KACF;IAED,OAAO;QACL,OAAO,EAAE,KAAK;QACd,KAAK,EAAE,OAAO;aACX,GAAG,CAAC,UAAC,MAAM,YAAK,OAAA,MAAA,SAAS,CAAC,MAAM,CAAC,0CAAE,KAAK,CAAA,EAAA,CAAC;aACzC,MAAM,CACL,UAAC,OAAO,IAAK,OAAA,OAAO,KAAK,SAAS,EAArB,CAAqB,CACH,EAAE,kGAAkG;KACxI,CAAA;AACH,CAAC"}
@@ -0,0 +1,10 @@
1
+ import { FunctionComponent } from 'react';
2
+ declare type Checkin = {
3
+ id: string;
4
+ time: Date;
5
+ };
6
+ declare type Props = {
7
+ checkins: [Checkin];
8
+ };
9
+ export declare const CheckinCountIndicator: FunctionComponent<Props>;
10
+ export {};
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ export var CheckinCountIndicator = function (props) {
3
+ return React.createElement("div", null, "hello");
4
+ };
5
+ //# sourceMappingURL=checkin-count-indicator.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"checkin-count-indicator.js","sourceRoot":"","sources":["../../src/ui/checkin-count-indicator.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAA;AAMhD,MAAM,CAAC,IAAM,qBAAqB,GAA6B,UAAC,KAAK;IACnE,OAAO,yCAAgB,CAAA;AACzB,CAAC,CAAA"}
@@ -0,0 +1 @@
1
+ export { CheckinCountIndicator } from './checkin-count-indicator';
@@ -0,0 +1,2 @@
1
+ export { CheckinCountIndicator } from './checkin-count-indicator';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/ui/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAA"}
package/package.json CHANGED
@@ -1,9 +1,7 @@
1
1
  {
2
2
  "name": "@dev-crew-berlin/enter-js-utils",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "description": "utils such as vaildation and other helpers to work with data from the enter app",
5
- "main": "dist/index.js",
6
- "types": "dist/index.d.ts",
7
5
  "files": [
8
6
  "dist",
9
7
  "README.md"
@@ -30,12 +28,17 @@
30
28
  "homepage": "https://gitlab.com/dcb-enter/js-utils#readme",
31
29
  "devDependencies": {
32
30
  "@types/node": "^17.0.38",
31
+ "@types/react": "^18.0.10",
33
32
  "eslint": "^8.16.0",
34
33
  "eslint-config-prettier": "^8.5.0",
35
34
  "husky": "^7.0.1",
36
35
  "prettier": "^2.6.2",
36
+ "react": "^18.1.0",
37
37
  "typescript": "^4.7.2"
38
38
  },
39
+ "peerDependencies": {
40
+ "react": "^17.0.0 || ^18.1.0"
41
+ },
39
42
  "dependencies": {
40
43
  "@typescript-eslint/eslint-plugin": "^5.27.0"
41
44
  }
package/dist/index.d.ts DELETED
@@ -1 +0,0 @@
1
- export * as result from './result/result.js';
package/dist/index.js DELETED
@@ -1,2 +0,0 @@
1
- export * as result from './result/result.js';
2
- //# sourceMappingURL=index.js.map
package/dist/index.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,oBAAoB,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"result.js","sourceRoot":"","sources":["../../src/result/result.ts"],"names":[],"mappings":"AAIA,MAAM,UAAU,OAAO,CAAU,IAAa;IAC5C,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,CAAA;AACtC,CAAC;AAED,MAAM,UAAU,OAAO,CAAS,MAAc;IAC5C,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,CAAA;AAC1C,CAAC;AAED,MAAM,UAAU,SAAS,CACvB,MAAgC;IAEhC,IAAI,CAAC,MAAM,CAAC,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