@sellout/ui 0.0.398 → 0.0.400
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/Colors.d.ts +37 -37
- package/build/Colors.js +38 -38
- package/build/Colors.js.map +1 -1
- package/build/components/AddressSearchDropdown.d.ts +31 -31
- package/build/components/AddressSearchDropdown.js +101 -101
- package/build/components/AddressSearchDropdown.js.map +1 -1
- package/build/components/Button.d.ts +51 -51
- package/build/components/Button.js +252 -267
- package/build/components/Button.js.map +1 -1
- package/build/components/CodeInput.d.ts +22 -22
- package/build/components/CodeInput.js +90 -91
- package/build/components/CodeInput.js.map +1 -1
- package/build/components/Counter.d.ts +9 -9
- package/build/components/Counter.js +17 -18
- package/build/components/Counter.js.map +1 -1
- package/build/components/Dropdown.d.ts +40 -40
- package/build/components/Dropdown.js +41 -44
- package/build/components/Dropdown.js.map +1 -1
- package/build/components/Flex.d.ts +14 -14
- package/build/components/Flex.js +6 -6
- package/build/components/Flex.js.map +1 -1
- package/build/components/FormattedInput.d.ts +34 -34
- package/build/components/FormattedInput.js +66 -70
- package/build/components/FormattedInput.js.map +1 -1
- package/build/components/FormattedfullInput.d.ts +32 -32
- package/build/components/FormattedfullInput.js +66 -70
- package/build/components/FormattedfullInput.js.map +1 -1
- package/build/components/Icon.d.ts +219 -219
- package/build/components/Icon.js +28 -29
- package/build/components/Icon.js.map +1 -1
- package/build/components/Icons.d.ts +190 -190
- package/build/components/Icons.js +189 -189
- package/build/components/Icons.js.map +1 -1
- package/build/components/Input.d.ts +77 -77
- package/build/components/Input.js +165 -176
- package/build/components/Input.js.map +1 -1
- package/build/components/InputOld.d.ts +23 -23
- package/build/components/Label.d.ts +16 -16
- package/build/components/Label.js +14 -14
- package/build/components/Label.js.map +1 -1
- package/build/components/Loader.d.ts +14 -14
- package/build/components/Loader.js +29 -29
- package/build/components/Loader.js.map +1 -1
- package/build/components/MaxLength.d.ts +8 -8
- package/build/components/MaxLength.js +12 -12
- package/build/components/MaxLength.js.map +1 -1
- package/build/components/Motion.d.ts +30 -30
- package/build/components/Motion.js +33 -33
- package/build/components/Motion.js.map +1 -1
- package/build/components/PhoneNumberInput.d.ts +36 -36
- package/build/components/PhoneNumberInput.js +37 -40
- package/build/components/PhoneNumberInput.js.map +1 -1
- package/build/components/Product.d.ts +35 -35
- package/build/components/Product.js +111 -110
- package/build/components/Product.js.map +1 -1
- package/build/components/SearchDropdown.d.ts +41 -41
- package/build/components/SearchDropdown.js +60 -59
- package/build/components/SearchDropdown.js.map +1 -1
- package/build/components/SvgIcons.d.ts +15 -15
- package/build/components/SvgIcons.js +35 -35
- package/build/components/SvgIcons.js.map +1 -1
- package/build/components/SvgRendrer.d.ts +5 -5
- package/build/components/SvgRendrer.js +14 -14
- package/build/components/SvgRendrer.js.map +1 -1
- package/build/components/TextButton.d.ts +21 -21
- package/build/components/TextButton.js +39 -40
- package/build/components/TextButton.js.map +1 -1
- package/build/components/Tip.d.ts +7 -7
- package/build/components/Tip.js +10 -10
- package/build/components/Tip.js.map +1 -1
- package/build/components/UserImage.d.ts +13 -13
- package/build/components/UserImage.js +28 -29
- package/build/components/UserImage.js.map +1 -1
- package/build/components/UserInfo.d.ts +24 -24
- package/build/components/UserInfo.js +31 -31
- package/build/components/UserInfo.js.map +1 -1
- package/build/components/ValidationError.d.ts +7 -7
- package/build/components/ValidationError.js +17 -17
- package/build/components/ValidationError.js.map +1 -1
- package/build/index.d.ts +29 -29
- package/build/node_modules/tslib/tslib.es6.js +97 -0
- package/build/node_modules/tslib/tslib.es6.js.map +1 -0
- package/build/utils/ErrorUtil.d.ts +1 -1
- package/build/utils/ErrorUtil.js +15 -15
- package/build/utils/ErrorUtil.js.map +1 -1
- package/build/utils/MediaQuery.d.ts +18 -18
- package/build/utils/MediaQuery.js +59 -59
- package/build/utils/MediaQuery.js.map +1 -1
- package/build/utils/Validation.d.ts +6 -6
- package/build/utils/Validation.js +44 -44
- package/build/utils/Validation.js.map +1 -1
- package/build/utils/makeEventHandler.d.ts +1 -1
- package/build/utils/makeEventHandler.js +8 -8
- package/build/utils/makeEventHandler.js.map +1 -1
- package/package.json +6 -6
- package/build/_virtual/_tslib.js.map +0 -1
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { __makeTemplateObject } from '../
|
|
1
|
+
import { __makeTemplateObject } from '../node_modules/tslib/tslib.es6.js';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import styled from 'styled-components';
|
|
4
4
|
import { Colors } from '../Colors.js';
|
|
5
5
|
import Tip from './Tip.js';
|
|
6
6
|
|
|
7
|
-
var Container = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: flex;\n flex-direction: row;\n align-items: center;\n margin: ", ";\n height: ", ";\n"], ["\n display: flex;\n flex-direction: row;\n align-items: center;\n margin: ", ";\n height: ", ";\n"])), function (props) { return props.margin; }, function (props) { return props.height || "15px"; });
|
|
8
|
-
var Text = styled.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n font-size: ", ";\n font-weight: ", ";\n color: ", ";\n //margin-right: 7px;\n font-family: ", ";\n margin-bottom: ", ";\n letter-spacing: ", ";\n"], ["\n font-size: ", ";\n font-weight: ", ";\n color: ", ";\n //margin-right: 7px;\n font-family: ", ";\n margin-bottom: ", ";\n letter-spacing: ", ";\n"])), function (props) { return props.fontSize || "1.2rem"; }, function (props) { return props.fontWeight || "600"; }, function (props) { return props.color || Colors.Grey1; }, function (props) { return props.fontFamily; }, function (props) { return props.marginBottam; }, function (props) { return props.letterSpacing; });
|
|
9
|
-
var SubText = styled.span(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n color: ", ";\n"], ["\n color: ", ";\n"])), Colors.Grey3);
|
|
10
|
-
var Label = function (_a) {
|
|
11
|
-
var text = _a.text, subText = _a.subText, tip = _a.tip, labelColor = _a.labelColor, fontSize = _a.fontSize, fontWeight = _a.fontWeight, fontFamily = _a.fontFamily, marginBottam = _a.marginBottam, _b = _a.margin, margin = _b === void 0 ? "0 0 8px" : _b, letterSpacing = _a.letterSpacing, height = _a.height;
|
|
12
|
-
return (React.createElement(Container, { margin: margin, height: height },
|
|
13
|
-
React.createElement(Text, { color: labelColor, fontSize: fontSize, fontWeight: fontWeight, fontFamily: fontFamily, marginBottam: marginBottam, letterSpacing: letterSpacing },
|
|
14
|
-
text,
|
|
15
|
-
subText && React.createElement(SubText, null,
|
|
16
|
-
"\u00A0",
|
|
17
|
-
subText)),
|
|
18
|
-
tip && React.createElement(Tip, { tip: tip })));
|
|
19
|
-
};
|
|
7
|
+
var Container = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: flex;\n flex-direction: row;\n align-items: center;\n margin: ", ";\n height: ", ";\n"], ["\n display: flex;\n flex-direction: row;\n align-items: center;\n margin: ", ";\n height: ", ";\n"])), function (props) { return props.margin; }, function (props) { return props.height || "15px"; });
|
|
8
|
+
var Text = styled.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n font-size: ", ";\n font-weight: ", ";\n color: ", ";\n //margin-right: 7px;\n font-family: ", ";\n margin-bottom: ", ";\n letter-spacing: ", ";\n"], ["\n font-size: ", ";\n font-weight: ", ";\n color: ", ";\n //margin-right: 7px;\n font-family: ", ";\n margin-bottom: ", ";\n letter-spacing: ", ";\n"])), function (props) { return props.fontSize || "1.2rem"; }, function (props) { return props.fontWeight || "600"; }, function (props) { return props.color || Colors.Grey1; }, function (props) { return props.fontFamily; }, function (props) { return props.marginBottam; }, function (props) { return props.letterSpacing; });
|
|
9
|
+
var SubText = styled.span(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n color: ", ";\n"], ["\n color: ", ";\n"])), Colors.Grey3);
|
|
10
|
+
var Label = function (_a) {
|
|
11
|
+
var text = _a.text, subText = _a.subText, tip = _a.tip, labelColor = _a.labelColor, fontSize = _a.fontSize, fontWeight = _a.fontWeight, fontFamily = _a.fontFamily, marginBottam = _a.marginBottam, _b = _a.margin, margin = _b === void 0 ? "0 0 8px" : _b, letterSpacing = _a.letterSpacing, height = _a.height;
|
|
12
|
+
return (React.createElement(Container, { margin: margin, height: height },
|
|
13
|
+
React.createElement(Text, { color: labelColor, fontSize: fontSize, fontWeight: fontWeight, fontFamily: fontFamily, marginBottam: marginBottam, letterSpacing: letterSpacing },
|
|
14
|
+
text,
|
|
15
|
+
subText && React.createElement(SubText, null,
|
|
16
|
+
"\u00A0",
|
|
17
|
+
subText)),
|
|
18
|
+
tip && React.createElement(Tip, { tip: tip })));
|
|
19
|
+
};
|
|
20
20
|
var templateObject_1, templateObject_2, templateObject_3;
|
|
21
21
|
|
|
22
22
|
export { Label as default };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Label.js","sources":["../../src/components/Label.tsx"],"sourcesContent":[
|
|
1
|
+
{"version":3,"file":"Label.js","sources":["../../src/components/Label.tsx"],"sourcesContent":[null],"names":[],"mappings":";;;;;;AAiBA,IAAM,SAAS,GAAG,MAAM,CAAC,GAAG,CAAgB,gBAAA,KAAA,gBAAA,GAAA,oBAAA,CAAA,CAAA,gFAAA,EAAA,eAAA,EAAA,KAAA,CAAA,EAAA,CAAA,gFAIhC,EAAuB,eACvB,EAAiC,KAC5C,CAAA,CAAA,CAAA,EAFW,UAAC,KAAK,IAAK,OAAA,KAAK,CAAC,MAAM,CAAZ,EAAY,EACvB,UAAC,KAAK,EAAK,EAAA,OAAA,KAAK,CAAC,MAAM,IAAI,MAAM,CAAtB,EAAsB,CAC5C,CAAC;AAEF,IAAM,IAAI,GAAG,MAAM,CAAC,GAAG,CAAA,gBAAA,KAAA,gBAAA,GAAA,oBAAA,CAAA,CAAA,iBAAA,EAAA,oBAAA,EAAA,cAAA,EAAA,4CAAA,EAAA,sBAAA,EAAA,uBAAA,EAAA,KAAA,CAAA,EAAA,CAAW,iBACnB,EAAqC,oBACnC,EAAoC,cAC1C,EAAsC,4CAEhC,EAA2B,sBACzB,EAA6B,uBAC5B,EAA8B,KACjD,CAPc,CAAA,CAAA,EAAA,UAAC,KAAK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I,EACH,EAAA,KAAK,EAAE,UAAU,EACjB,QAAQ,EAAE,QAAQ,EAClB,UAAU,EAAE,UAAU,EACtB,UAAU,EAAE,UAAU,EACtB,YAAY,EAAE,YAAY,EAC1B,aAAa,EAAE,aAAa,EAAA;YAE3B,IAAI;YACJ,OAAO,IAAI,oBAAC,OAAO,EAAA,IAAA;;AAAQ,gBAAA,OAAO,CAAW,CACzC;QACN,GAAG,IAAI,KAAC,CAAA,aAAA,CAAA,GAAG,EAAC,EAAA,GAAG,EAAE,GAAG,EAAA,CAAI,CACf,EACZ;AACJ,EAAE;;;;;"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { Colors } from "./../Colors";
|
|
3
|
-
export declare enum LoaderSizes {
|
|
4
|
-
FuckingTiny = "FuckingTiny",
|
|
5
|
-
SuperSmall = "SuperSmall",
|
|
6
|
-
VerySmall = "VerySmall",
|
|
7
|
-
Small = "Small",
|
|
8
|
-
Medium = "Medium",
|
|
9
|
-
Large = "Large"
|
|
10
|
-
}
|
|
11
|
-
export default function Loader({ size, color, }: {
|
|
12
|
-
size?: LoaderSizes | undefined;
|
|
13
|
-
color?: Colors | undefined;
|
|
14
|
-
}): React.JSX.Element;
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { Colors } from "./../Colors";
|
|
3
|
+
export declare enum LoaderSizes {
|
|
4
|
+
FuckingTiny = "FuckingTiny",
|
|
5
|
+
SuperSmall = "SuperSmall",
|
|
6
|
+
VerySmall = "VerySmall",
|
|
7
|
+
Small = "Small",
|
|
8
|
+
Medium = "Medium",
|
|
9
|
+
Large = "Large"
|
|
10
|
+
}
|
|
11
|
+
export default function Loader({ size, color, }: {
|
|
12
|
+
size?: LoaderSizes | undefined;
|
|
13
|
+
color?: Colors | undefined;
|
|
14
|
+
}): React.JSX.Element;
|
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
import { __makeTemplateObject } from '../
|
|
1
|
+
import { __makeTemplateObject } from '../node_modules/tslib/tslib.es6.js';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import styled from 'styled-components';
|
|
4
4
|
import { Colors } from '../Colors.js';
|
|
5
5
|
|
|
6
|
-
var _a;
|
|
7
|
-
var LoaderSizes;
|
|
8
|
-
(function (LoaderSizes) {
|
|
9
|
-
LoaderSizes["FuckingTiny"] = "FuckingTiny";
|
|
10
|
-
LoaderSizes["SuperSmall"] = "SuperSmall";
|
|
11
|
-
LoaderSizes["VerySmall"] = "VerySmall";
|
|
12
|
-
LoaderSizes["Small"] = "Small";
|
|
13
|
-
LoaderSizes["Medium"] = "Medium";
|
|
14
|
-
LoaderSizes["Large"] = "Large";
|
|
15
|
-
})(LoaderSizes || (LoaderSizes = {}));
|
|
16
|
-
var LoaderSizesMap = (_a = {},
|
|
17
|
-
_a[LoaderSizes.FuckingTiny] = 14,
|
|
18
|
-
_a[LoaderSizes.SuperSmall] = 20,
|
|
19
|
-
_a[LoaderSizes.VerySmall] = 24,
|
|
20
|
-
_a[LoaderSizes.Small] = 30,
|
|
21
|
-
_a[LoaderSizes.Medium] = 40,
|
|
22
|
-
_a[LoaderSizes.Large] = 60,
|
|
23
|
-
_a);
|
|
24
|
-
var scale = function (size, scale) { return size * scale
|
|
25
|
-
var StyledLoader = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n position: relative;\n top: 1.5px;\n\n .lds-ring {\n display: inline-block;\n position: relative;\n width: ", ";\n height: ", ";\n }\n .lds-ring div {\n box-sizing: border-box;\n display: block;\n position: absolute;\n width: ", ";\n height: ", ";\n margin: ", ";\n border: ", " solid ", ";\n border-radius: 50%;\n animation: lds-ring 0.8s cubic-bezier(0.5, 0, 0.5, 1) infinite;\n border-color: ", " transparent transparent transparent;\n }\n .lds-ring div:nth-child(1) {\n animation-delay: -0.3s;\n }\n .lds-ring div:nth-child(2) {\n animation-delay: -0.2s;\n }\n .lds-ring div:nth-child(3) {\n animation-delay: -0.1s;\n }\n @keyframes lds-ring {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n }\n"], ["\n position: relative;\n top: 1.5px;\n\n .lds-ring {\n display: inline-block;\n position: relative;\n width: ", ";\n height: ", ";\n }\n .lds-ring div {\n box-sizing: border-box;\n display: block;\n position: absolute;\n width: ", ";\n height: ", ";\n margin: ", ";\n border: ", " solid ", ";\n border-radius: 50%;\n animation: lds-ring 0.8s cubic-bezier(0.5, 0, 0.5, 1) infinite;\n border-color: ", " transparent transparent transparent;\n }\n .lds-ring div:nth-child(1) {\n animation-delay: -0.3s;\n }\n .lds-ring div:nth-child(2) {\n animation-delay: -0.2s;\n }\n .lds-ring div:nth-child(3) {\n animation-delay: -0.1s;\n }\n @keyframes lds-ring {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n }\n"])), function (props) { return scale(props.size, 1); }, function (props) { return scale(props.size, 1); }, function (props) { return scale(props.size, .8); }, function (props) { return scale(props.size, .8); }, function (props) { return scale(props.size, .1); }, function (props) { return scale(props.size, 0.066); }, function (props) { return props.color; }, function (props) { return props.color; });
|
|
26
|
-
function Loader(_a) {
|
|
27
|
-
var _b = _a.size, size = _b === void 0 ? LoaderSizes.Medium : _b, _c = _a.color, color = _c === void 0 ? Colors.White : _c;
|
|
28
|
-
return (React.createElement(StyledLoader, { size: LoaderSizesMap[size], color: color },
|
|
29
|
-
React.createElement("div", { className: "lds-ring" },
|
|
30
|
-
React.createElement("div", null),
|
|
31
|
-
React.createElement("div", null),
|
|
32
|
-
React.createElement("div", null))));
|
|
33
|
-
}
|
|
6
|
+
var _a;
|
|
7
|
+
var LoaderSizes;
|
|
8
|
+
(function (LoaderSizes) {
|
|
9
|
+
LoaderSizes["FuckingTiny"] = "FuckingTiny";
|
|
10
|
+
LoaderSizes["SuperSmall"] = "SuperSmall";
|
|
11
|
+
LoaderSizes["VerySmall"] = "VerySmall";
|
|
12
|
+
LoaderSizes["Small"] = "Small";
|
|
13
|
+
LoaderSizes["Medium"] = "Medium";
|
|
14
|
+
LoaderSizes["Large"] = "Large";
|
|
15
|
+
})(LoaderSizes || (LoaderSizes = {}));
|
|
16
|
+
var LoaderSizesMap = (_a = {},
|
|
17
|
+
_a[LoaderSizes.FuckingTiny] = 14,
|
|
18
|
+
_a[LoaderSizes.SuperSmall] = 20,
|
|
19
|
+
_a[LoaderSizes.VerySmall] = 24,
|
|
20
|
+
_a[LoaderSizes.Small] = 30,
|
|
21
|
+
_a[LoaderSizes.Medium] = 40,
|
|
22
|
+
_a[LoaderSizes.Large] = 60,
|
|
23
|
+
_a);
|
|
24
|
+
var scale = function (size, scale) { return "".concat(size * scale, "px"); };
|
|
25
|
+
var StyledLoader = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n position: relative;\n top: 1.5px;\n\n .lds-ring {\n display: inline-block;\n position: relative;\n width: ", ";\n height: ", ";\n }\n .lds-ring div {\n box-sizing: border-box;\n display: block;\n position: absolute;\n width: ", ";\n height: ", ";\n margin: ", ";\n border: ", " solid ", ";\n border-radius: 50%;\n animation: lds-ring 0.8s cubic-bezier(0.5, 0, 0.5, 1) infinite;\n border-color: ", " transparent transparent transparent;\n }\n .lds-ring div:nth-child(1) {\n animation-delay: -0.3s;\n }\n .lds-ring div:nth-child(2) {\n animation-delay: -0.2s;\n }\n .lds-ring div:nth-child(3) {\n animation-delay: -0.1s;\n }\n @keyframes lds-ring {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n }\n"], ["\n position: relative;\n top: 1.5px;\n\n .lds-ring {\n display: inline-block;\n position: relative;\n width: ", ";\n height: ", ";\n }\n .lds-ring div {\n box-sizing: border-box;\n display: block;\n position: absolute;\n width: ", ";\n height: ", ";\n margin: ", ";\n border: ", " solid ", ";\n border-radius: 50%;\n animation: lds-ring 0.8s cubic-bezier(0.5, 0, 0.5, 1) infinite;\n border-color: ", " transparent transparent transparent;\n }\n .lds-ring div:nth-child(1) {\n animation-delay: -0.3s;\n }\n .lds-ring div:nth-child(2) {\n animation-delay: -0.2s;\n }\n .lds-ring div:nth-child(3) {\n animation-delay: -0.1s;\n }\n @keyframes lds-ring {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n }\n"])), function (props) { return scale(props.size, 1); }, function (props) { return scale(props.size, 1); }, function (props) { return scale(props.size, .8); }, function (props) { return scale(props.size, .8); }, function (props) { return scale(props.size, .1); }, function (props) { return scale(props.size, 0.066); }, function (props) { return props.color; }, function (props) { return props.color; });
|
|
26
|
+
function Loader(_a) {
|
|
27
|
+
var _b = _a.size, size = _b === void 0 ? LoaderSizes.Medium : _b, _c = _a.color, color = _c === void 0 ? Colors.White : _c;
|
|
28
|
+
return (React.createElement(StyledLoader, { size: LoaderSizesMap[size], color: color },
|
|
29
|
+
React.createElement("div", { className: "lds-ring" },
|
|
30
|
+
React.createElement("div", null),
|
|
31
|
+
React.createElement("div", null),
|
|
32
|
+
React.createElement("div", null))));
|
|
33
|
+
}
|
|
34
34
|
var templateObject_1;
|
|
35
35
|
|
|
36
36
|
export { LoaderSizes, Loader as default };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Loader.js","sources":["../../src/components/Loader.tsx"],"sourcesContent":[
|
|
1
|
+
{"version":3,"file":"Loader.js","sources":["../../src/components/Loader.tsx"],"sourcesContent":[null],"names":[],"mappings":";;;;;;IAIY,YAOX;AAPD,CAAA,UAAY,WAAW,EAAA;AACrB,IAAA,WAAA,CAAA,aAAA,CAAA,GAAA,aAA2B,CAAA;AAC3B,IAAA,WAAA,CAAA,YAAA,CAAA,GAAA,YAAyB,CAAA;AACzB,IAAA,WAAA,CAAA,WAAA,CAAA,GAAA,WAAuB,CAAA;AACvB,IAAA,WAAA,CAAA,OAAA,CAAA,GAAA,OAAe,CAAA;AACf,IAAA,WAAA,CAAA,QAAA,CAAA,GAAA,QAAiB,CAAA;AACjB,IAAA,WAAA,CAAA,OAAA,CAAA,GAAA,OAAe,CAAA;AACjB,CAAC,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|
-
|
|
3
|
-
value: string;
|
|
4
|
-
maxLength: number;
|
|
5
|
-
maxLengthDisabled?: boolean;
|
|
6
|
-
};
|
|
7
|
-
declare const MaxLength: React.FC<MaxLengthProps>;
|
|
8
|
-
export default MaxLength;
|
|
1
|
+
import React from "react";
|
|
2
|
+
type MaxLengthProps = {
|
|
3
|
+
value: string;
|
|
4
|
+
maxLength: number;
|
|
5
|
+
maxLengthDisabled?: boolean;
|
|
6
|
+
};
|
|
7
|
+
declare const MaxLength: React.FC<MaxLengthProps>;
|
|
8
|
+
export default MaxLength;
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { __makeTemplateObject } from '../
|
|
1
|
+
import { __makeTemplateObject } from '../node_modules/tslib/tslib.es6.js';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import styled from 'styled-components';
|
|
4
4
|
import { Colors } from '../Colors.js';
|
|
5
5
|
|
|
6
|
-
var Container = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n font-size: 1.2rem;\n font-weight: 500;\n color: ", ";\n margin-bottom: 10px;\n"], ["\n display: flex;\n align-items: center;\n font-size: 1.2rem;\n font-weight: 500;\n color: ", ";\n margin-bottom: 10px;\n"])), function (props) { return (props.isMax ? Colors.Red : Colors.Grey3); });
|
|
7
|
-
var MaxLength = function (_a) {
|
|
8
|
-
var value = _a.value, maxLength = _a.maxLength, maxLengthDisabled = _a.maxLengthDisabled;
|
|
9
|
-
if (maxLengthDisabled) {
|
|
10
|
-
return null;
|
|
11
|
-
}
|
|
12
|
-
return (React.createElement(Container, { isMax: (value === null || value === void 0 ? void 0 : value.length) === maxLength }, value === null || value === void 0 ? void 0 :
|
|
13
|
-
value.length,
|
|
14
|
-
"/",
|
|
15
|
-
maxLength));
|
|
16
|
-
};
|
|
6
|
+
var Container = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n font-size: 1.2rem;\n font-weight: 500;\n color: ", ";\n margin-bottom: 10px;\n"], ["\n display: flex;\n align-items: center;\n font-size: 1.2rem;\n font-weight: 500;\n color: ", ";\n margin-bottom: 10px;\n"])), function (props) { return (props.isMax ? Colors.Red : Colors.Grey3); });
|
|
7
|
+
var MaxLength = function (_a) {
|
|
8
|
+
var value = _a.value, maxLength = _a.maxLength, maxLengthDisabled = _a.maxLengthDisabled;
|
|
9
|
+
if (maxLengthDisabled) {
|
|
10
|
+
return null;
|
|
11
|
+
}
|
|
12
|
+
return (React.createElement(Container, { isMax: (value === null || value === void 0 ? void 0 : value.length) === maxLength }, value === null || value === void 0 ? void 0 :
|
|
13
|
+
value.length,
|
|
14
|
+
"/",
|
|
15
|
+
maxLength));
|
|
16
|
+
};
|
|
17
17
|
var templateObject_1;
|
|
18
18
|
|
|
19
19
|
export { MaxLength as default };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MaxLength.js","sources":["../../src/components/MaxLength.tsx"],"sourcesContent":[
|
|
1
|
+
{"version":3,"file":"MaxLength.js","sources":["../../src/components/MaxLength.tsx"],"sourcesContent":[null],"names":[],"mappings":";;;;;AAQA,IAAM,SAAS,GAAG,MAAM,CAAC,GAAG,CAAgB,gBAAA,KAAA,gBAAA,GAAA,oBAAA,CAAA,CAAA,kGAAA,EAAA,6BAAA,CAAA,EAAA,CAAA,kGAKjC,EAAoD,6BAE9D,KAFU,UAAC,KAAK,EAAK,EAAA,QAAC,KAAK,CAAC,KAAK,GAAG,MAAM,CAAC,GAAG,GAAG,MAAM,CAAC,KAAK,EAAxC,EAAyC,CAE9D,CAAC;AAQI,IAAA,SAAS,GAA6B,UAAC,EAAuC,EAAA;AAArC,IAAA,IAAA,KAAK,WAAA,EAAE,SAAS,GAAA,EAAA,CAAA,SAAA,EAAE,iBAAiB,GAAA,EAAA,CAAA,iBAAA,CAAA;AAChF,IAAA,IAAI,iBAAiB,EAAE;AACrB,QAAA,OAAO,IAAI,CAAC;AACb,KAAA;AACD,IAAA,QACE,KAAC,CAAA,aAAA,CAAA,SAAS,IAAC,KAAK,EAAE,CAAA,KAAK,KAAA,IAAA,IAAL,KAAK,KAAL,KAAA,CAAA,GAAA,KAAA,CAAA,GAAA,KAAK,CAAE,MAAM,MAAK,SAAS,EAC1C,EAAA,KAAK,aAAL,KAAK,KAAA,KAAA,CAAA,GAAA,KAAA,CAAA;AAAL,QAAA,KAAK,CAAE,MAAM;;QAAG,SAAS,CAChB,EACZ;AACJ,EAAE;;;;;"}
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
/********************************************************************************
|
|
3
|
-
* Error Pop
|
|
4
|
-
*******************************************************************************/
|
|
5
|
-
|
|
6
|
-
duration?: number;
|
|
7
|
-
};
|
|
8
|
-
export declare const ErrorPop: React.FC<ErrorPopProps>;
|
|
9
|
-
/********************************************************************************
|
|
10
|
-
* Pop
|
|
11
|
-
*******************************************************************************/
|
|
12
|
-
|
|
13
|
-
duration?: number;
|
|
14
|
-
};
|
|
15
|
-
export declare const Pop: React.FC<PopProps>;
|
|
16
|
-
/********************************************************************************
|
|
17
|
-
* Card Pop
|
|
18
|
-
*******************************************************************************/
|
|
19
|
-
|
|
20
|
-
duration?: number;
|
|
21
|
-
};
|
|
22
|
-
export declare const CardPop: React.FC<CardPopProps>;
|
|
23
|
-
/********************************************************************************
|
|
24
|
-
* Fade In
|
|
25
|
-
*******************************************************************************/
|
|
26
|
-
|
|
27
|
-
duration?: number;
|
|
28
|
-
};
|
|
29
|
-
export declare const FadeIn: React.FC<FadeInProps>;
|
|
30
|
-
export {};
|
|
1
|
+
import React from "react";
|
|
2
|
+
/********************************************************************************
|
|
3
|
+
* Error Pop
|
|
4
|
+
*******************************************************************************/
|
|
5
|
+
type ErrorPopProps = {
|
|
6
|
+
duration?: number;
|
|
7
|
+
};
|
|
8
|
+
export declare const ErrorPop: React.FC<ErrorPopProps>;
|
|
9
|
+
/********************************************************************************
|
|
10
|
+
* Pop
|
|
11
|
+
*******************************************************************************/
|
|
12
|
+
type PopProps = {
|
|
13
|
+
duration?: number;
|
|
14
|
+
};
|
|
15
|
+
export declare const Pop: React.FC<PopProps>;
|
|
16
|
+
/********************************************************************************
|
|
17
|
+
* Card Pop
|
|
18
|
+
*******************************************************************************/
|
|
19
|
+
type CardPopProps = {
|
|
20
|
+
duration?: number;
|
|
21
|
+
};
|
|
22
|
+
export declare const CardPop: React.FC<CardPopProps>;
|
|
23
|
+
/********************************************************************************
|
|
24
|
+
* Fade In
|
|
25
|
+
*******************************************************************************/
|
|
26
|
+
type FadeInProps = {
|
|
27
|
+
duration?: number;
|
|
28
|
+
};
|
|
29
|
+
export declare const FadeIn: React.FC<FadeInProps>;
|
|
30
|
+
export {};
|
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
import { __rest, __assign } from '../
|
|
1
|
+
import { __rest, __assign } from '../node_modules/tslib/tslib.es6.js';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { motion } from 'framer-motion';
|
|
4
4
|
|
|
5
|
-
var ErrorPop = function (_a) {
|
|
6
|
-
_a.duration; var children = _a.children, props = __rest(_a, ["duration", "children"]);
|
|
7
|
-
return (React.createElement(motion.div, __assign({}, props, { initial: { right: -100 }, animate: { right: 15 }, transition: {
|
|
8
|
-
// duration: duration as any,
|
|
9
|
-
type: "spring",
|
|
10
|
-
stiffness: 400,
|
|
11
|
-
damping: 20,
|
|
12
|
-
} }), children));
|
|
13
|
-
};
|
|
14
|
-
var Pop = function (_a) {
|
|
15
|
-
_a.duration; var children = _a.children, props = __rest(_a, ["duration", "children"]);
|
|
16
|
-
return (React.createElement(motion.div, __assign({}, props, { initial: { scale: 0.8 }, animate: { scale: 1 }, transition: {
|
|
17
|
-
// duration,
|
|
18
|
-
type: "spring",
|
|
19
|
-
stiffness: 260,
|
|
20
|
-
damping: 20,
|
|
21
|
-
} }), children));
|
|
22
|
-
};
|
|
23
|
-
var CardPop = function (_a) {
|
|
24
|
-
var _b = _a.duration, duration = _b === void 0 ? 0.2 : _b, children = _a.children, props = __rest(_a, ["duration", "children"]);
|
|
25
|
-
return (React.createElement(motion.div, __assign({}, props, { initial: { scale: 0.9, opacity: 0 }, animate: { scale: 1, opacity: 1 }, transition: {
|
|
26
|
-
duration: duration,
|
|
27
|
-
// type: 'spring',
|
|
28
|
-
stiffness: 260,
|
|
29
|
-
damping: 20,
|
|
30
|
-
} }), children));
|
|
31
|
-
};
|
|
32
|
-
var FadeIn = function (_a) {
|
|
33
|
-
var _b = _a.duration, duration = _b === void 0 ? 0.2 : _b, children = _a.children, props = __rest(_a, ["duration", "children"]);
|
|
34
|
-
return (React.createElement(motion.div, __assign({}, props, { initial: { opacity: 0 }, animate: { opacity: 1 }, transition: {
|
|
35
|
-
duration: duration,
|
|
36
|
-
} }), children));
|
|
5
|
+
var ErrorPop = function (_a) {
|
|
6
|
+
_a.duration; var children = _a.children, props = __rest(_a, ["duration", "children"]);
|
|
7
|
+
return (React.createElement(motion.div, __assign({}, props, { initial: { right: -100 }, animate: { right: 15 }, transition: {
|
|
8
|
+
// duration: duration as any,
|
|
9
|
+
type: "spring",
|
|
10
|
+
stiffness: 400,
|
|
11
|
+
damping: 20,
|
|
12
|
+
} }), children));
|
|
13
|
+
};
|
|
14
|
+
var Pop = function (_a) {
|
|
15
|
+
_a.duration; var children = _a.children, props = __rest(_a, ["duration", "children"]);
|
|
16
|
+
return (React.createElement(motion.div, __assign({}, props, { initial: { scale: 0.8 }, animate: { scale: 1 }, transition: {
|
|
17
|
+
// duration,
|
|
18
|
+
type: "spring",
|
|
19
|
+
stiffness: 260,
|
|
20
|
+
damping: 20,
|
|
21
|
+
} }), children));
|
|
22
|
+
};
|
|
23
|
+
var CardPop = function (_a) {
|
|
24
|
+
var _b = _a.duration, duration = _b === void 0 ? 0.2 : _b, children = _a.children, props = __rest(_a, ["duration", "children"]);
|
|
25
|
+
return (React.createElement(motion.div, __assign({}, props, { initial: { scale: 0.9, opacity: 0 }, animate: { scale: 1, opacity: 1 }, transition: {
|
|
26
|
+
duration: duration,
|
|
27
|
+
// type: 'spring',
|
|
28
|
+
stiffness: 260,
|
|
29
|
+
damping: 20,
|
|
30
|
+
} }), children));
|
|
31
|
+
};
|
|
32
|
+
var FadeIn = function (_a) {
|
|
33
|
+
var _b = _a.duration, duration = _b === void 0 ? 0.2 : _b, children = _a.children, props = __rest(_a, ["duration", "children"]);
|
|
34
|
+
return (React.createElement(motion.div, __assign({}, props, { initial: { opacity: 0 }, animate: { opacity: 1 }, transition: {
|
|
35
|
+
duration: duration,
|
|
36
|
+
} }), children));
|
|
37
37
|
};
|
|
38
38
|
|
|
39
39
|
export { CardPop, ErrorPop, FadeIn, Pop };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Motion.js","sources":["../../src/components/Motion.tsx"],"sourcesContent":[
|
|
1
|
+
{"version":3,"file":"Motion.js","sources":["../../src/components/Motion.tsx"],"sourcesContent":[null],"names":[],"mappings":";;;;AAWO,IAAM,QAAQ,GAA4B,UAAC,EAIjD,EAAA;AAHC,IAAc,EAAA,CAAA,QAAA,CAAA,KACd,QAAQ,GAAA,EAAA,CAAA,QAAA,CAAA,CACL,KAAK,GAAA,MAAA,CAAA,EAAA,EAHwC,wBAIjD,EADS;IAER,QACE,KAAC,CAAA,aAAA,CAAA,MAAM,CAAC,GAAG,EACL,QAAA,CAAA,EAAA,EAAA,KAAK,EACT,EAAA,OAAO,EAAE,EAAE,KAAK,EAAE,CAAC,GAAG,EAAE,EACxB,OAAO,EAAE,EAAE,KAAK,EAAE,EAAE,EAAE,EACtB,UAAU,EAAE;;AAEV,YAAA,IAAI,EAAE,QAAQ;AACd,YAAA,SAAS,EAAE,GAAG;AACd,YAAA,OAAO,EAAE,EAAE;SACZ,EAEA,CAAA,EAAA,QAAQ,CACE,EACb;AACJ,EAAE;AAUK,IAAM,GAAG,GAAuB,UAAC,EAIvC,EAAA;AAHC,IAAc,EAAA,CAAA,QAAA,CAAA,KACd,QAAQ,GAAA,EAAA,CAAA,QAAA,CAAA,CAC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,EACL,KAAK,GAAA,MAAA,CAAA,EAAA,EAHoC,wBAI7C,CADS,CAAA;IAER,QACE,KAAC,CAAA,aAAA,CAAA,MAAM,CAAC,GAAG,eACL,KAAK,EAAA,EACT,OAAO,EAAE,EAAE,OAAO,EAAE,CAAC,EAAE,EACvB,OAAO,EAAE,EAAE,OAAO,EAAE,CAAC,EAAE,EACvB,UAAU,EAAE;AACV,YAAA,QAAQ,EAAA,QAAA;SACT,EAEA,CAAA,EAAA,QAAQ,CACE,EACb;AACJ;;;;"}
|
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import "react-phone-input-2/lib/semantic-ui.css";
|
|
3
|
-
export declare enum PhoneNumberInputSizes {
|
|
4
|
-
Large = "Large",
|
|
5
|
-
Regular = "Regular"
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
value: string;
|
|
9
|
-
onChange: any;
|
|
10
|
-
onEnter?: any;
|
|
11
|
-
validationError?: string;
|
|
12
|
-
subLabel?: string;
|
|
13
|
-
tip?: string;
|
|
14
|
-
placeholder?: string;
|
|
15
|
-
label?: string;
|
|
16
|
-
phoneNumberInputSize?: string;
|
|
17
|
-
margin?: string;
|
|
18
|
-
autoFocus?: boolean;
|
|
19
|
-
disabled?: boolean;
|
|
20
|
-
bgColor?: string;
|
|
21
|
-
labeltextColor?: string;
|
|
22
|
-
typedTextColor?: string;
|
|
23
|
-
selectedflagbg?: string;
|
|
24
|
-
selectedflaghover?: string;
|
|
25
|
-
countryList?: string;
|
|
26
|
-
countryName?: string;
|
|
27
|
-
highlightColor?: string;
|
|
28
|
-
searchColor?: string;
|
|
29
|
-
fontWeight?: string;
|
|
30
|
-
fontFamily?: string;
|
|
31
|
-
fontSize?: string;
|
|
32
|
-
letterSpacing?: string;
|
|
33
|
-
validationDarkThemeBorderColor?: boolean;
|
|
34
|
-
};
|
|
35
|
-
declare const PhoneNumberInput: React.FC<PhoneNumberInputProps>;
|
|
36
|
-
export default PhoneNumberInput;
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "react-phone-input-2/lib/semantic-ui.css";
|
|
3
|
+
export declare enum PhoneNumberInputSizes {
|
|
4
|
+
Large = "Large",
|
|
5
|
+
Regular = "Regular"
|
|
6
|
+
}
|
|
7
|
+
type PhoneNumberInputProps = {
|
|
8
|
+
value: string;
|
|
9
|
+
onChange: any;
|
|
10
|
+
onEnter?: any;
|
|
11
|
+
validationError?: string;
|
|
12
|
+
subLabel?: string;
|
|
13
|
+
tip?: string;
|
|
14
|
+
placeholder?: string;
|
|
15
|
+
label?: string;
|
|
16
|
+
phoneNumberInputSize?: string;
|
|
17
|
+
margin?: string;
|
|
18
|
+
autoFocus?: boolean;
|
|
19
|
+
disabled?: boolean;
|
|
20
|
+
bgColor?: string;
|
|
21
|
+
labeltextColor?: string;
|
|
22
|
+
typedTextColor?: string;
|
|
23
|
+
selectedflagbg?: string;
|
|
24
|
+
selectedflaghover?: string;
|
|
25
|
+
countryList?: string;
|
|
26
|
+
countryName?: string;
|
|
27
|
+
highlightColor?: string;
|
|
28
|
+
searchColor?: string;
|
|
29
|
+
fontWeight?: string;
|
|
30
|
+
fontFamily?: string;
|
|
31
|
+
fontSize?: string;
|
|
32
|
+
letterSpacing?: string;
|
|
33
|
+
validationDarkThemeBorderColor?: boolean;
|
|
34
|
+
};
|
|
35
|
+
declare const PhoneNumberInput: React.FC<PhoneNumberInputProps>;
|
|
36
|
+
export default PhoneNumberInput;
|