@circle-vibe/shared 1.1.7 → 1.1.8
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/build/index.js +1 -1
- package/build/src/components/horizontal-divider/horizontal-divider.d.ts +8 -0
- package/build/src/components/horizontal-divider/horizontal-divider.js +16 -0
- package/build/src/components/horizontal-divider/horizontal-divider.js.map +1 -0
- package/build/src/components/horizontal-divider/index.d.ts +1 -0
- package/build/src/components/horizontal-divider/index.js +18 -0
- package/build/src/components/horizontal-divider/index.js.map +1 -0
- package/build/src/components/index.d.ts +1 -0
- package/build/src/components/index.js +1 -0
- package/build/src/components/index.js.map +1 -1
- package/build/src/models/user.d.ts +4 -7
- package/package.json +1 -1
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ExtendedReactFunctionalComponent } from 'src/types';
|
|
2
|
+
import './horizontal-divider.scss';
|
|
3
|
+
interface HorizontalDividerProps {
|
|
4
|
+
readonly height?: string;
|
|
5
|
+
readonly color?: string;
|
|
6
|
+
}
|
|
7
|
+
export declare const HorizontalDivider: ExtendedReactFunctionalComponent<HorizontalDividerProps>;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.HorizontalDivider = void 0;
|
|
7
|
+
const react_1 = __importDefault(require("react"));
|
|
8
|
+
require("./horizontal-divider.scss");
|
|
9
|
+
const HorizontalDivider = ({ height = '1px', color = 'var(--cv-secondary)', }) => {
|
|
10
|
+
return (react_1.default.createElement("div", { className: "horizontal-divider", style: {
|
|
11
|
+
'--cs-divider-color': color,
|
|
12
|
+
'--cs-divider-height': height,
|
|
13
|
+
} }));
|
|
14
|
+
};
|
|
15
|
+
exports.HorizontalDivider = HorizontalDivider;
|
|
16
|
+
//# sourceMappingURL=horizontal-divider.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"horizontal-divider.js","sourceRoot":"","sources":["../../../../src/components/horizontal-divider/horizontal-divider.tsx"],"names":[],"mappings":";;;;;;AAAA,kDAA0B;AAG1B,qCAAmC;AAO5B,MAAM,iBAAiB,GAA6D,CAAC,EAC1F,MAAM,GAAG,KAAK,EACd,KAAK,GAAG,qBAAqB,GAC9B,EAAE,EAAE;IACH,OAAO,CACL,uCACE,SAAS,EAAC,oBAAoB,EAC9B,KAAK,EACH;YACE,oBAAoB,EAAE,KAAK;YAC3B,qBAAqB,EAAE,MAAM;SACR,GAEzB,CACH,CAAC;AACJ,CAAC,CAAC;AAfW,QAAA,iBAAiB,qBAe5B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './horizontal-divider';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./horizontal-divider"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/horizontal-divider/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAqC"}
|
|
@@ -24,4 +24,5 @@ __exportStar(require("./menu"), exports);
|
|
|
24
24
|
__exportStar(require("./tooltip"), exports);
|
|
25
25
|
__exportStar(require("./popover"), exports);
|
|
26
26
|
__exportStar(require("./icon"), exports);
|
|
27
|
+
__exportStar(require("./horizontal-divider"), exports);
|
|
27
28
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,yCAAuB;AACvB,2CAAyB;AACzB,yCAAuB;AACvB,kDAAgC;AAChC,6CAA2B;AAC3B,yCAAuB;AACvB,4CAA0B;AAC1B,4CAA0B;AAC1B,yCAAuB"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,yCAAuB;AACvB,2CAAyB;AACzB,yCAAuB;AACvB,kDAAgC;AAChC,6CAA2B;AAC3B,yCAAuB;AACvB,4CAA0B;AAC1B,4CAA0B;AAC1B,yCAAuB;AACvB,uDAAqC"}
|
|
@@ -4,18 +4,15 @@ export interface User {
|
|
|
4
4
|
_id: string;
|
|
5
5
|
username: string;
|
|
6
6
|
surname: string;
|
|
7
|
-
birthDate
|
|
7
|
+
birthDate?: Date;
|
|
8
8
|
password: string;
|
|
9
|
-
avatar
|
|
9
|
+
avatar?: File;
|
|
10
10
|
isHiddenContactInfo: boolean;
|
|
11
|
-
address?: string | null;
|
|
12
|
-
city?: string | null;
|
|
13
|
-
zipCode?: string | null;
|
|
14
11
|
country?: string | null;
|
|
15
|
-
|
|
12
|
+
city?: string;
|
|
16
13
|
email: string;
|
|
14
|
+
privateKey: string;
|
|
17
15
|
privateToken: string;
|
|
18
|
-
secret: boolean;
|
|
19
16
|
primaryPhone?: string | null;
|
|
20
17
|
type: UserType;
|
|
21
18
|
}
|