@circle-vibe/shared 1.1.7 → 1.1.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.
@@ -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"}
@@ -8,3 +8,4 @@ export * from './menu';
8
8
  export * from './tooltip';
9
9
  export * from './popover';
10
10
  export * from './icon';
11
+ export * from './horizontal-divider';
@@ -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"}
@@ -1,14 +1,16 @@
1
+ import { UserType } from "src/enums";
2
+ import { File } from "./file";
1
3
  export interface Admin {
2
4
  _id: string;
3
5
  username: string;
4
6
  surname: string;
5
7
  password: string;
6
- avatarUrl: string;
7
- isPublic: boolean;
8
- address: string;
8
+ avatar: File;
9
9
  city: string;
10
- privateToken: string;
11
10
  country: string;
11
+ privateKey: string;
12
+ privateToken: string;
12
13
  email: string;
13
14
  primaryPhone: string;
15
+ type: UserType;
14
16
  }
@@ -4,18 +4,15 @@ export interface User {
4
4
  _id: string;
5
5
  username: string;
6
6
  surname: string;
7
- birthDate: Date;
7
+ birthDate?: Date;
8
8
  password: string;
9
- avatar: File;
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
- phones?: string[] | null;
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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@circle-vibe/shared",
3
- "version": "1.1.7",
3
+ "version": "1.1.9",
4
4
  "types": "./build/index.d.ts",
5
5
  "description": "Shared componenets, utils, hooks",
6
6
  "scripts": {