@circle-vibe/shared 1.1.6 → 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.
@@ -0,0 +1,40 @@
1
+ /*!
2
+ Copyright (c) 2018 Jed Watson.
3
+ Licensed under the MIT License (MIT), see
4
+ http://jedwatson.github.io/classnames
5
+ */
6
+
7
+ /*!
8
+ * tabbable 6.2.0
9
+ * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
10
+ */
11
+
12
+ /*! js-cookie v3.0.5 | MIT */
13
+
14
+ /**
15
+ * @license React
16
+ * react-jsx-runtime.production.min.js
17
+ *
18
+ * Copyright (c) Facebook, Inc. and its affiliates.
19
+ *
20
+ * This source code is licensed under the MIT license found in the
21
+ * LICENSE file in the root directory of this source tree.
22
+ */
23
+
24
+ /** @license React v16.13.1
25
+ * react-is.development.js
26
+ *
27
+ * Copyright (c) Facebook, Inc. and its affiliates.
28
+ *
29
+ * This source code is licensed under the MIT license found in the
30
+ * LICENSE file in the root directory of this source tree.
31
+ */
32
+
33
+ /** @license React v16.13.1
34
+ * react-is.production.min.js
35
+ *
36
+ * Copyright (c) Facebook, Inc. and its affiliates.
37
+ *
38
+ * This source code is licensed under the MIT license found in the
39
+ * LICENSE file in the root directory of this source tree.
40
+ */
@@ -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,2 +1,2 @@
1
1
  import { FormikContextType } from 'formik';
2
- export declare function useFormContext<T>(): FormikContextType<unknown>;
2
+ export declare function useFormContext<T = unknown>(): FormikContextType<T>;
@@ -1 +1 @@
1
- {"version":3,"file":"use-form-context.js","sourceRoot":"","sources":["../../../../src/hooks/use-form-context/use-form-context.ts"],"names":[],"mappings":";;;AAAA,mCAA6D;AAE7D,SAAgB,cAAc;IAC5B,MAAM,aAAa,GAAG,IAAA,yBAAgB,GAAK,CAAC;IAE5C,OAAO,aAA2C,CAAC;AACrD,CAAC;AAJD,wCAIC"}
1
+ {"version":3,"file":"use-form-context.js","sourceRoot":"","sources":["../../../../src/hooks/use-form-context/use-form-context.ts"],"names":[],"mappings":";;;AAAA,mCAA6D;AAE7D,SAAgB,cAAc;IAC5B,MAAM,aAAa,GAAG,IAAA,yBAAgB,GAAK,CAAC;IAE5C,OAAO,aAAqC,CAAC;AAC/C,CAAC;AAJD,wCAIC"}
@@ -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.6",
3
+ "version": "1.1.8",
4
4
  "types": "./build/index.d.ts",
5
5
  "description": "Shared componenets, utils, hooks",
6
6
  "scripts": {