@circle-vibe/shared 1.1.3 → 1.1.5

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.
Files changed (79) hide show
  1. package/build/index.js +1 -1
  2. package/build/index.js.LICENSE.txt +11 -0
  3. package/build/src/components/form/form-control-select/form-control-select.d.ts +4 -0
  4. package/build/src/components/form/form-control-select/form-control-select.js +52 -0
  5. package/build/src/components/form/form-control-select/form-control-select.js.map +1 -0
  6. package/build/src/components/form/form-control-select/index.d.ts +1 -0
  7. package/build/src/components/form/form-control-select/index.js +18 -0
  8. package/build/src/components/form/form-control-select/index.js.map +1 -0
  9. package/build/src/components/form/index.d.ts +2 -0
  10. package/build/src/components/form/index.js +2 -0
  11. package/build/src/components/form/index.js.map +1 -1
  12. package/build/src/components/form/select/index.d.ts +1 -0
  13. package/build/src/components/form/select/index.js +18 -0
  14. package/build/src/components/form/select/index.js.map +1 -0
  15. package/build/src/components/form/select/select.d.ts +4 -0
  16. package/build/src/components/form/select/select.js +11 -0
  17. package/build/src/components/form/select/select.js.map +1 -0
  18. package/build/src/components/icon/icon.d.ts +8 -0
  19. package/build/src/components/icon/icon.js +14 -0
  20. package/build/src/components/icon/icon.js.map +1 -0
  21. package/build/src/components/icon/index.d.ts +1 -0
  22. package/build/src/components/icon/index.js +18 -0
  23. package/build/src/components/icon/index.js.map +1 -0
  24. package/build/src/components/index.d.ts +1 -0
  25. package/build/src/components/index.js +1 -0
  26. package/build/src/components/index.js.map +1 -1
  27. package/build/src/components/menu/menu.d.ts +2 -1
  28. package/build/src/components/menu/menu.js.map +1 -1
  29. package/build/src/constants/country-code.d.ts +252 -0
  30. package/build/src/constants/country-code.js +257 -0
  31. package/build/src/constants/country-code.js.map +1 -0
  32. package/build/src/constants/country-codes.d.ts +2 -0
  33. package/build/src/constants/country-codes.js +6 -0
  34. package/build/src/constants/country-codes.js.map +1 -0
  35. package/build/src/constants/index.d.ts +4 -0
  36. package/build/src/constants/index.js +4 -0
  37. package/build/src/constants/index.js.map +1 -1
  38. package/build/src/constants/nationality-code.d.ts +221 -0
  39. package/build/src/constants/nationality-code.js +226 -0
  40. package/build/src/constants/nationality-code.js.map +1 -0
  41. package/build/src/constants/nationality-codes.d.ts +2 -0
  42. package/build/src/constants/nationality-codes.js +6 -0
  43. package/build/src/constants/nationality-codes.js.map +1 -0
  44. package/build/src/hooks/index.d.ts +5 -0
  45. package/build/src/hooks/index.js +5 -0
  46. package/build/src/hooks/index.js.map +1 -1
  47. package/build/src/hooks/use-cookies/index.d.ts +1 -0
  48. package/build/src/hooks/use-cookies/index.js +18 -0
  49. package/build/src/hooks/use-cookies/index.js.map +1 -0
  50. package/build/src/hooks/use-cookies/use-cookies.d.ts +5 -0
  51. package/build/src/hooks/use-cookies/use-cookies.js +25 -0
  52. package/build/src/hooks/use-cookies/use-cookies.js.map +1 -0
  53. package/build/src/hooks/use-countries/index.d.ts +1 -0
  54. package/build/src/hooks/use-countries/index.js +18 -0
  55. package/build/src/hooks/use-countries/index.js.map +1 -0
  56. package/build/src/hooks/use-countries/use-countries.d.ts +4 -0
  57. package/build/src/hooks/use-countries/use-countries.js +14 -0
  58. package/build/src/hooks/use-countries/use-countries.js.map +1 -0
  59. package/build/src/hooks/use-format-datetime/index.d.ts +1 -0
  60. package/build/src/hooks/use-format-datetime/index.js +18 -0
  61. package/build/src/hooks/use-format-datetime/index.js.map +1 -0
  62. package/build/src/hooks/use-format-datetime/use-format-datetime.d.ts +6 -0
  63. package/build/src/hooks/use-format-datetime/use-format-datetime.js +17 -0
  64. package/build/src/hooks/use-format-datetime/use-format-datetime.js.map +1 -0
  65. package/build/src/hooks/use-icons/index.d.ts +1 -0
  66. package/build/src/hooks/use-icons/index.js +18 -0
  67. package/build/src/hooks/use-icons/index.js.map +1 -0
  68. package/build/src/hooks/use-icons/use-icons.d.ts +2 -0
  69. package/build/src/hooks/use-icons/use-icons.js +32 -0
  70. package/build/src/hooks/use-icons/use-icons.js.map +1 -0
  71. package/build/src/hooks/use-local-storage/index.d.ts +1 -0
  72. package/build/src/hooks/use-local-storage/index.js +18 -0
  73. package/build/src/hooks/use-local-storage/index.js.map +1 -0
  74. package/build/src/hooks/use-local-storage/use-local-storage.d.ts +6 -0
  75. package/build/src/hooks/use-local-storage/use-local-storage.js +47 -0
  76. package/build/src/hooks/use-local-storage/use-local-storage.js.map +1 -0
  77. package/build/src/utils/get-formik-form-control-value/get-formik-form-control-value.d.ts +1 -1
  78. package/build/src/utils/get-formik-form-control-value/get-formik-form-control-value.js.map +1 -1
  79. package/package.json +6 -3
@@ -9,6 +9,8 @@
9
9
  * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
10
10
  */
11
11
 
12
+ /*! js-cookie v3.0.5 | MIT */
13
+
12
14
  /**
13
15
  * @license React
14
16
  * react-jsx-runtime.production.min.js
@@ -19,6 +21,15 @@
19
21
  * LICENSE file in the root directory of this source tree.
20
22
  */
21
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
+
22
33
  /** @license React v16.13.1
23
34
  * react-is.production.min.js
24
35
  *
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { ExtendedReactFunctionalComponent } from 'src/types';
3
+ import 'src/styles/text-input-generic-styles.scss';
4
+ export declare const FormControlSelect: ExtendedReactFunctionalComponent<React.HTMLAttributes<HTMLSelectElement>>;
@@ -0,0 +1,52 @@
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 __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ Object.defineProperty(exports, "__esModule", { value: true });
26
+ exports.FormControlSelect = void 0;
27
+ const react_1 = __importStar(require("react"));
28
+ const field_context_1 = require("../field-context/field-context");
29
+ require("src/styles/text-input-generic-styles.scss");
30
+ const select_1 = require("../select");
31
+ const FormControlSelect = ({ children, ...props }) => {
32
+ const { inputMode, ...fieldProvider } = (0, react_1.useContext)(field_context_1.FieldContext);
33
+ return (react_1.default.createElement(select_1.Select, { ...props, ...fieldProvider, className: "text-input-generic-styles", onChange: (e) => {
34
+ const value = e.currentTarget.value;
35
+ fieldProvider.setValue(value);
36
+ }, style: {
37
+ '--text-input-border-color': (fieldProvider.errors ?? '')?.length > 0
38
+ ? 'var(--text-input-error-border-color)'
39
+ : 'var(--text-input-default-border-color)',
40
+ '--text-input-text-color': `var(${(fieldProvider.errors ?? '')?.length > 0
41
+ ? '--text-input-error-text-color'
42
+ : '--text-input-default-text-color'})`,
43
+ '--text-input-outline-color': (fieldProvider.errors ?? '')?.length > 0
44
+ ? 'var(--text-input-error-outline-color)'
45
+ : 'transparent',
46
+ '--text-input-background': `var(${(fieldProvider.errors ?? '')?.length > 0
47
+ ? '--text-input-error-bg-color'
48
+ : '--text-input-default-bg-color'})`,
49
+ } }, children));
50
+ };
51
+ exports.FormControlSelect = FormControlSelect;
52
+ //# sourceMappingURL=form-control-select.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"form-control-select.js","sourceRoot":"","sources":["../../../../../src/components/form/form-control-select/form-control-select.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAA0C;AAG1C,kEAA8D;AAE9D,qDAAmD;AACnD,sCAAmC;AAE5B,MAAM,iBAAiB,GAA8E,CAAC,EAC3G,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,EAAE;IACH,MAAM,EAAE,SAAS,EAAE,GAAG,aAAa,EAAE,GAAG,IAAA,kBAAU,EAAC,4BAAY,CAAC,CAAC;IAEjE,OAAO,CACL,8BAAC,eAAM,OACD,KAAK,KACL,aAAa,EACjB,SAAS,EAAC,2BAA2B,EACrC,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE;YACd,MAAM,KAAK,GAAG,CAAC,CAAC,aAAa,CAAC,KAAK,CAAC;YACpC,aAAa,CAAC,QAAQ,CAAC,KAA0B,CAAC,CAAC;QACrD,CAAC,EACD,KAAK,EACH;YACE,2BAA2B,EACzB,CAAC,aAAa,CAAC,MAAM,IAAI,EAAE,CAAC,EAAE,MAAM,GAAG,CAAC;gBACtC,CAAC,CAAC,sCAAsC;gBACxC,CAAC,CAAC,wCAAwC;YAC9C,yBAAyB,EAAE,OACzB,CAAC,aAAa,CAAC,MAAM,IAAI,EAAE,CAAC,EAAE,MAAM,GAAG,CAAC;gBACtC,CAAC,CAAC,+BAA+B;gBACjC,CAAC,CAAC,iCACN,GAAG;YACH,4BAA4B,EAC1B,CAAC,aAAa,CAAC,MAAM,IAAI,EAAE,CAAC,EAAE,MAAM,GAAG,CAAC;gBACtC,CAAC,CAAC,uCAAuC;gBACzC,CAAC,CAAC,aAAa;YACnB,yBAAyB,EAAE,OACzB,CAAC,aAAa,CAAC,MAAM,IAAI,EAAE,CAAC,EAAE,MAAM,GAAG,CAAC;gBACtC,CAAC,CAAC,6BAA6B;gBAC/B,CAAC,CAAC,+BACN,GAAG;SACkB,IAGxB,QAAQ,CACF,CACV,CAAC;AACJ,CAAC,CAAC;AAzCW,QAAA,iBAAiB,qBAyC5B"}
@@ -0,0 +1 @@
1
+ export * from './form-control-select';
@@ -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("./form-control-select"), exports);
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/components/form/form-control-select/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wDAAsC"}
@@ -10,3 +10,5 @@ export * from './form-group';
10
10
  export * from './form-control-label';
11
11
  export * from './form';
12
12
  export * from './form-submit-button';
13
+ export * from './form-control-select';
14
+ export * from './select';
@@ -26,4 +26,6 @@ __exportStar(require("./form-group"), exports);
26
26
  __exportStar(require("./form-control-label"), exports);
27
27
  __exportStar(require("./form"), exports);
28
28
  __exportStar(require("./form-submit-button"), exports);
29
+ __exportStar(require("./form-control-select"), exports);
30
+ __exportStar(require("./select"), exports);
29
31
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/form/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wDAAsC;AACtC,gDAA8B;AAC9B,uDAAqC;AACrC,+CAA6B;AAC7B,uDAAqC;AACrC,iDAA+B;AAC/B,uDAAqC;AACrC,0CAAwB;AACxB,+CAA6B;AAC7B,uDAAqC;AACrC,yCAAuB;AACvB,uDAAqC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/form/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wDAAsC;AACtC,gDAA8B;AAC9B,uDAAqC;AACrC,+CAA6B;AAC7B,uDAAqC;AACrC,iDAA+B;AAC/B,uDAAqC;AACrC,0CAAwB;AACxB,+CAA6B;AAC7B,uDAAqC;AACrC,yCAAuB;AACvB,uDAAqC;AACrC,wDAAsC;AACtC,2CAAyB"}
@@ -0,0 +1 @@
1
+ export * from './select';
@@ -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("./select"), exports);
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/components/form/select/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAyB"}
@@ -0,0 +1,4 @@
1
+ import { HTMLAttributes } from 'react';
2
+ import { ExtendedReactFunctionalComponent } from 'src/types';
3
+ import 'src/styles/text-input-generic-styles.scss';
4
+ export declare const Select: ExtendedReactFunctionalComponent<HTMLAttributes<HTMLSelectElement>>;
@@ -0,0 +1,11 @@
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.Select = void 0;
7
+ const react_1 = __importDefault(require("react"));
8
+ require("src/styles/text-input-generic-styles.scss");
9
+ const Select = (props) => (react_1.default.createElement("select", { className: "text-input-generic-styles", ...props }));
10
+ exports.Select = Select;
11
+ //# sourceMappingURL=select.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"select.js","sourceRoot":"","sources":["../../../../../src/components/form/select/select.tsx"],"names":[],"mappings":";;;;;;AAAA,kDAA8C;AAI9C,qDAAmD;AAE5C,MAAM,MAAM,GAAwE,CAAC,KAAK,EAAE,EAAE,CAAC,CACpG,0CAAQ,SAAS,EAAC,2BAA2B,KAAK,KAAK,GAAI,CAC5D,CAAC;AAFW,QAAA,MAAM,UAEjB"}
@@ -0,0 +1,8 @@
1
+ import React from "react";
2
+ export interface IconProps extends React.HTMLAttributes<HTMLDivElement> {
3
+ readonly name: any;
4
+ readonly size?: number;
5
+ readonly className?: string;
6
+ readonly color?: string;
7
+ }
8
+ export declare const Icon: React.ForwardRefExoticComponent<IconProps & React.RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,14 @@
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.Icon = void 0;
7
+ const react_1 = __importDefault(require("react"));
8
+ const icons_react_1 = __importDefault(require("@coreui/icons-react"));
9
+ exports.Icon = react_1.default.forwardRef(({ name, color, className, size = 10, ...iconAttributes }, ref) => {
10
+ return (react_1.default.createElement("div", { ref: ref, ...iconAttributes },
11
+ react_1.default.createElement(icons_react_1.default, { icon: name, size: "custom-size", height: size, width: size, color: color ?? "var(--cv-base)" })));
12
+ });
13
+ exports.Icon.displayName = "Icon";
14
+ //# sourceMappingURL=icon.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"icon.js","sourceRoot":"","sources":["../../../../src/components/icon/icon.tsx"],"names":[],"mappings":";;;;;;AAAA,kDAA0B;AAE1B,sEAAwC;AAW3B,QAAA,IAAI,GAAG,eAAK,CAAC,UAAU,CAClC,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,SAAS,EAAE,IAAI,GAAG,EAAE,EAAE,GAAG,cAAc,EAAE,EAAE,GAAG,EAAE,EAAE;IAChE,OAAO,CACL,uCAAK,GAAG,EAAE,GAAG,KAAM,cAAc;QAC/B,8BAAC,qBAAK,IACJ,IAAI,EAAE,IAAI,EACV,IAAI,EAAE,aAAa,EACnB,MAAM,EAAE,IAAI,EACZ,KAAK,EAAE,IAAI,EACX,KAAK,EAAE,KAAK,IAAI,gBAAgB,GAChC,CACE,CACP,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,YAAI,CAAC,WAAW,GAAG,MAAM,CAAC"}
@@ -0,0 +1 @@
1
+ export * from './icon';
@@ -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("./icon"), exports);
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/icon/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAuB"}
@@ -7,3 +7,4 @@ export * from './dropdown';
7
7
  export * from './menu';
8
8
  export * from './tooltip';
9
9
  export * from './popover';
10
+ export * from './icon';
@@ -23,4 +23,5 @@ __exportStar(require("./dropdown"), exports);
23
23
  __exportStar(require("./menu"), exports);
24
24
  __exportStar(require("./tooltip"), exports);
25
25
  __exportStar(require("./popover"), exports);
26
+ __exportStar(require("./icon"), exports);
26
27
  //# 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"}
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,6 +1,7 @@
1
1
  import React from "react";
2
2
  import { Placement } from "@floating-ui/react";
3
3
  import { MenuButtonProps } from "./types";
4
+ import { ExtendedReactFunctionalComponent } from "src/types";
4
5
  interface DropdownMenuProps extends React.HTMLAttributes<HTMLDivElement> {
5
6
  readonly button: (props: MenuButtonProps) => React.ReactNode;
6
7
  readonly isOpen?: boolean;
@@ -10,5 +11,5 @@ interface DropdownMenuProps extends React.HTMLAttributes<HTMLDivElement> {
10
11
  readonly zIndex?: number;
11
12
  readonly strategy?: "fixed" | "absolute";
12
13
  }
13
- export declare const Menu: React.FC<DropdownMenuProps>;
14
+ export declare const Menu: ExtendedReactFunctionalComponent<DropdownMenuProps>;
14
15
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"menu.js","sourceRoot":"","sources":["../../../../src/components/menu/menu.tsx"],"names":[],"mappings":";;;;;;AAAA,kDAA0B;AAC1B,4DAAoC;AAIpC,iDAA6C;AAC7C,qCAAwC;AACxC,0CAAuC;AAYhC,MAAM,IAAI,GAAgC,CAAC,EAChD,MAAM,EACN,MAAM,EACN,iBAAiB,GAAG,KAAK,EACzB,YAAY,EACZ,iBAAiB,GAAG,YAAY,EAChC,MAAM,GAAG,EAAE,EACX,QAAQ,GAAG,UAAU,EACrB,QAAQ,EACR,GAAG,aAAa,EACjB,EAAE,EAAE;IACH,MAAM,EAAE,cAAc,EAAE,IAAI,EAAE,YAAY,EAAE,SAAS,EAAE,gBAAgB,EAAE,GACvE,IAAA,mBAAW,EAAC;QACV,GAAG,CAAC,MAAM,KAAK,SAAS,IAAI,YAAY;YACtC,CAAC,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,YAAY,EAAE;YAChC,CAAC,CAAC,EAAE,CAAC;KACR,CAAC,CAAC;IAEL,MAAM,SAAS,GAAG,GAAG,EAAE;QACrB,IAAI,CAAC,YAAY,EAAE;YACjB,OAAO;SACR;QAED,SAAS,CAAC,KAAK,CAAC,CAAC;IACnB,CAAC,CAAC;IAEF,OAAO,CACL,8BAAC,0BAAW,CAAC,QAAQ,IAAC,KAAK,EAAE,EAAE,SAAS,EAAE;QACxC,uCACE,SAAS,EAAE,IAAA,oBAAU,EAAC,UAAU,EAAE,GAAG,CAAC,aAAa,EAAE,SAAS,IAAI,EAAE,CAAC,CAAC,KAClE,aAAa;YAEjB,uCAAK,SAAS,EAAC,gBAAgB,KAAK,cAAc,IAC/C,MAAM,CAAC;gBACN,MAAM,EAAE,IAAI;aACb,CAAC,CACE;YAEN,8BAAC,mBAAQ,IACP,IAAI,EAAE,IAAI,EACV,aAAa,EAAE,YAAY,EAC3B,gBAAgB,EAAE,gBAAgB,EAClC,MAAM,EAAE,MAAM,EACd,iBAAiB,EAAE,iBAAiB,IAEnC,QAAQ,CACA,CACP,CACe,CACxB,CAAC;AACJ,CAAC,CAAC;AAlDW,QAAA,IAAI,QAkDf"}
1
+ {"version":3,"file":"menu.js","sourceRoot":"","sources":["../../../../src/components/menu/menu.tsx"],"names":[],"mappings":";;;;;;AAAA,kDAA0B;AAC1B,4DAAoC;AAIpC,iDAA6C;AAC7C,qCAAwC;AACxC,0CAAuC;AAahC,MAAM,IAAI,GAAwD,CAAC,EACxE,MAAM,EACN,MAAM,EACN,iBAAiB,GAAG,KAAK,EACzB,YAAY,EACZ,iBAAiB,GAAG,YAAY,EAChC,MAAM,GAAG,EAAE,EACX,QAAQ,GAAG,UAAU,EACrB,QAAQ,EACR,GAAG,aAAa,EACjB,EAAE,EAAE;IACH,MAAM,EAAE,cAAc,EAAE,IAAI,EAAE,YAAY,EAAE,SAAS,EAAE,gBAAgB,EAAE,GACvE,IAAA,mBAAW,EAAC;QACV,GAAG,CAAC,MAAM,KAAK,SAAS,IAAI,YAAY;YACtC,CAAC,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,YAAY,EAAE;YAChC,CAAC,CAAC,EAAE,CAAC;KACR,CAAC,CAAC;IAEL,MAAM,SAAS,GAAG,GAAG,EAAE;QACrB,IAAI,CAAC,YAAY,EAAE;YACjB,OAAO;SACR;QAED,SAAS,CAAC,KAAK,CAAC,CAAC;IACnB,CAAC,CAAC;IAEF,OAAO,CACL,8BAAC,0BAAW,CAAC,QAAQ,IAAC,KAAK,EAAE,EAAE,SAAS,EAAE;QACxC,uCACE,SAAS,EAAE,IAAA,oBAAU,EAAC,UAAU,EAAE,GAAG,CAAC,aAAa,EAAE,SAAS,IAAI,EAAE,CAAC,CAAC,KAClE,aAAa;YAEjB,uCAAK,SAAS,EAAC,gBAAgB,KAAK,cAAc,IAC/C,MAAM,CAAC;gBACN,MAAM,EAAE,IAAI;aACb,CAAC,CACE;YAEN,8BAAC,mBAAQ,IACP,IAAI,EAAE,IAAI,EACV,aAAa,EAAE,YAAY,EAC3B,gBAAgB,EAAE,gBAAgB,EAClC,MAAM,EAAE,MAAM,EACd,iBAAiB,EAAE,iBAAiB,IAEnC,QAAQ,CACA,CACP,CACe,CACxB,CAAC;AACJ,CAAC,CAAC;AAlDW,QAAA,IAAI,QAkDf"}
@@ -0,0 +1,252 @@
1
+ export declare enum CountryCode {
2
+ 'AD' = "AD",
3
+ 'AL' = "AL",
4
+ 'AM' = "AM",
5
+ 'AT' = "AT",
6
+ 'BA' = "BA",
7
+ 'BE' = "BE",
8
+ 'BG' = "BG",
9
+ 'BL' = "BL",
10
+ 'BY' = "BY",
11
+ 'CH' = "CH",
12
+ 'CY' = "CY",
13
+ 'CZ' = "CZ",
14
+ 'DE' = "DE",
15
+ 'DK' = "DK",
16
+ 'EE' = "EE",
17
+ 'ES' = "ES",
18
+ 'FI' = "FI",
19
+ 'FO' = "FO",
20
+ 'FR' = "FR",
21
+ 'GB' = "GB",
22
+ 'GE' = "GE",
23
+ 'GF' = "GF",
24
+ 'GG' = "GG",
25
+ 'GI' = "GI",
26
+ 'GP' = "GP",
27
+ 'GR' = "GR",
28
+ 'HR' = "HR",
29
+ 'HU' = "HU",
30
+ 'IE' = "IE",
31
+ 'IM' = "IM",
32
+ 'IS' = "IS",
33
+ 'IT' = "IT",
34
+ 'JE' = "JE",
35
+ 'LI' = "LI",
36
+ 'LT' = "LT",
37
+ 'LU' = "LU",
38
+ 'LV' = "LV",
39
+ 'MC' = "MC",
40
+ 'ME' = "ME",
41
+ 'MF' = "MF",
42
+ 'MK' = "MK",
43
+ 'MQ' = "MQ",
44
+ 'MT' = "MT",
45
+ 'NL' = "NL",
46
+ 'NO' = "NO",
47
+ 'PL' = "PL",
48
+ 'PM' = "PM",
49
+ 'PT' = "PT",
50
+ 'RE' = "RE",
51
+ 'RO' = "RO",
52
+ 'RS' = "RS",
53
+ 'RU' = "RU",
54
+ 'SE' = "SE",
55
+ 'SI' = "SI",
56
+ 'SK' = "SK",
57
+ 'SM' = "SM",
58
+ 'TR' = "TR",
59
+ 'UA' = "UA",
60
+ 'VA' = "VA",
61
+ 'XK' = "XK",
62
+ 'YT' = "YT",
63
+ 'AR' = "AR",
64
+ 'AU' = "AU",
65
+ 'CA' = "CA",
66
+ 'CO' = "CO",
67
+ 'DZ' = "DZ",
68
+ 'EG' = "EG",
69
+ 'IN' = "IN",
70
+ 'JP' = "JP",
71
+ 'MA' = "MA",
72
+ 'SG' = "SG",
73
+ 'TH' = "TH",
74
+ 'US' = "US",
75
+ 'VN' = "VN",
76
+ 'AF' = "AF",
77
+ 'AS' = "AS",
78
+ 'AO' = "AO",
79
+ 'AI' = "AI",
80
+ 'AQ' = "AQ",
81
+ 'AG' = "AG",
82
+ 'AW' = "AW",
83
+ 'AZ' = "AZ",
84
+ 'BS' = "BS",
85
+ 'BH' = "BH",
86
+ 'BD' = "BD",
87
+ 'BB' = "BB",
88
+ 'BZ' = "BZ",
89
+ 'BJ' = "BJ",
90
+ 'BM' = "BM",
91
+ 'BT' = "BT",
92
+ 'BO' = "BO",
93
+ 'BW' = "BW",
94
+ 'BV' = "BV",
95
+ 'BR' = "BR",
96
+ 'IO' = "IO",
97
+ 'BN' = "BN",
98
+ 'BF' = "BF",
99
+ 'BI' = "BI",
100
+ 'KH' = "KH",
101
+ 'CM' = "CM",
102
+ 'CV' = "CV",
103
+ 'KY' = "KY",
104
+ 'CF' = "CF",
105
+ 'TD' = "TD",
106
+ 'CL' = "CL",
107
+ 'CN' = "CN",
108
+ 'CX' = "CX",
109
+ 'CC' = "CC",
110
+ 'KM' = "KM",
111
+ 'CG' = "CG",
112
+ 'CD' = "CD",
113
+ 'CK' = "CK",
114
+ 'CR' = "CR",
115
+ 'CI' = "CI",
116
+ 'CU' = "CU",
117
+ 'DJ' = "DJ",
118
+ 'DM' = "DM",
119
+ 'DO' = "DO",
120
+ 'EC' = "EC",
121
+ 'SV' = "SV",
122
+ 'GQ' = "GQ",
123
+ 'ER' = "ER",
124
+ 'ET' = "ET",
125
+ 'FK' = "FK",
126
+ 'FJ' = "FJ",
127
+ 'PF' = "PF",
128
+ 'TF' = "TF",
129
+ 'GA' = "GA",
130
+ 'GM' = "GM",
131
+ 'GH' = "GH",
132
+ 'GL' = "GL",
133
+ 'GD' = "GD",
134
+ 'GU' = "GU",
135
+ 'GT' = "GT",
136
+ 'GN' = "GN",
137
+ 'GW' = "GW",
138
+ 'GY' = "GY",
139
+ 'HT' = "HT",
140
+ 'HM' = "HM",
141
+ 'HN' = "HN",
142
+ 'HK' = "HK",
143
+ 'ID' = "ID",
144
+ 'IR' = "IR",
145
+ 'IQ' = "IQ",
146
+ 'IL' = "IL",
147
+ 'JM' = "JM",
148
+ 'JO' = "JO",
149
+ 'KZ' = "KZ",
150
+ 'KE' = "KE",
151
+ 'KI' = "KI",
152
+ 'KP' = "KP",
153
+ 'KR' = "KR",
154
+ 'KW' = "KW",
155
+ 'KG' = "KG",
156
+ 'LA' = "LA",
157
+ 'LB' = "LB",
158
+ 'LS' = "LS",
159
+ 'LR' = "LR",
160
+ 'LY' = "LY",
161
+ 'MO' = "MO",
162
+ 'MG' = "MG",
163
+ 'MW' = "MW",
164
+ 'MY' = "MY",
165
+ 'MV' = "MV",
166
+ 'ML' = "ML",
167
+ 'MH' = "MH",
168
+ 'MR' = "MR",
169
+ 'MU' = "MU",
170
+ 'MX' = "MX",
171
+ 'FM' = "FM",
172
+ 'MD' = "MD",
173
+ 'MN' = "MN",
174
+ 'MS' = "MS",
175
+ 'MZ' = "MZ",
176
+ 'MM' = "MM",
177
+ 'NA' = "NA",
178
+ 'NR' = "NR",
179
+ 'NP' = "NP",
180
+ 'NC' = "NC",
181
+ 'NZ' = "NZ",
182
+ 'NI' = "NI",
183
+ 'NE' = "NE",
184
+ 'NG' = "NG",
185
+ 'NU' = "NU",
186
+ 'NF' = "NF",
187
+ 'MP' = "MP",
188
+ 'OM' = "OM",
189
+ 'PK' = "PK",
190
+ 'PW' = "PW",
191
+ 'PS' = "PS",
192
+ 'PA' = "PA",
193
+ 'PG' = "PG",
194
+ 'PY' = "PY",
195
+ 'PE' = "PE",
196
+ 'PH' = "PH",
197
+ 'PN' = "PN",
198
+ 'PR' = "PR",
199
+ 'QA' = "QA",
200
+ 'RW' = "RW",
201
+ 'SH' = "SH",
202
+ 'KN' = "KN",
203
+ 'LC' = "LC",
204
+ 'VC' = "VC",
205
+ 'WS' = "WS",
206
+ 'ST' = "ST",
207
+ 'SA' = "SA",
208
+ 'SN' = "SN",
209
+ 'SC' = "SC",
210
+ 'SL' = "SL",
211
+ 'SB' = "SB",
212
+ 'SO' = "SO",
213
+ 'ZA' = "ZA",
214
+ 'GS' = "GS",
215
+ 'LK' = "LK",
216
+ 'SD' = "SD",
217
+ 'SR' = "SR",
218
+ 'SJ' = "SJ",
219
+ 'SZ' = "SZ",
220
+ 'SY' = "SY",
221
+ 'TW' = "TW",
222
+ 'TJ' = "TJ",
223
+ 'TZ' = "TZ",
224
+ 'TL' = "TL",
225
+ 'TG' = "TG",
226
+ 'TK' = "TK",
227
+ 'TO' = "TO",
228
+ 'TT' = "TT",
229
+ 'TN' = "TN",
230
+ 'TM' = "TM",
231
+ 'TC' = "TC",
232
+ 'TV' = "TV",
233
+ 'UG' = "UG",
234
+ 'AE' = "AE",
235
+ 'UM' = "UM",
236
+ 'UY' = "UY",
237
+ 'UZ' = "UZ",
238
+ 'VU' = "VU",
239
+ 'VE' = "VE",
240
+ 'VG' = "VG",
241
+ 'VI' = "VI",
242
+ 'WF' = "WF",
243
+ 'EH' = "EH",
244
+ 'YE' = "YE",
245
+ 'ZM' = "ZM",
246
+ 'ZW' = "ZW",
247
+ 'AX' = "AX",
248
+ 'BQ' = "BQ",
249
+ 'CW' = "CW",
250
+ 'SX' = "SX",
251
+ 'SS' = "SS"
252
+ }