@sellout/ui 0.0.397 → 0.0.399
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/components/AddressSearchDropdown.d.ts +31 -31
- package/build/components/Button.d.ts +51 -51
- package/build/components/CodeInput.d.ts +22 -22
- package/build/components/Counter.d.ts +9 -9
- package/build/components/Dropdown.d.ts +40 -40
- package/build/components/Flex.d.ts +14 -14
- package/build/components/FormattedInput.d.ts +34 -34
- package/build/components/FormattedfullInput.d.ts +32 -32
- package/build/components/Icon.d.ts +219 -219
- package/build/components/Icons.d.ts +190 -190
- package/build/components/Input.d.ts +65 -77
- package/build/components/InputOld.d.ts +23 -23
- package/build/components/Label.d.ts +16 -16
- package/build/components/Loader.d.ts +14 -14
- package/build/components/MaxLength.d.ts +8 -8
- package/build/components/Motion.d.ts +30 -30
- package/build/components/PhoneNumberInput.d.ts +36 -36
- package/build/components/Product.d.ts +35 -35
- package/build/components/SearchDropdown.d.ts +41 -41
- package/build/components/SvgIcons.d.ts +15 -15
- package/build/components/SvgRendrer.d.ts +5 -5
- package/build/components/TextButton.d.ts +21 -21
- package/build/components/Tip.d.ts +7 -7
- package/build/components/UserImage.d.ts +13 -13
- package/build/components/UserInfo.d.ts +18 -24
- package/build/components/ValidationError.d.ts +7 -7
- 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/src/Colors.js +42 -0
- package/build/src/Colors.js.map +1 -0
- package/build/{components → src/components}/AddressSearchDropdown.js +101 -99
- package/build/src/components/AddressSearchDropdown.js.map +1 -0
- package/build/src/components/Button.js +264 -0
- package/build/src/components/Button.js.map +1 -0
- package/build/src/components/CodeInput.js +98 -0
- package/build/src/components/CodeInput.js.map +1 -0
- package/build/src/components/Counter.js +27 -0
- package/build/src/components/Counter.js.map +1 -0
- package/build/src/components/Dropdown.js +53 -0
- package/build/src/components/Dropdown.js.map +1 -0
- package/build/src/components/Flex.js +13 -0
- package/build/src/components/Flex.js.map +1 -0
- package/build/src/components/FormattedInput.js +81 -0
- package/build/src/components/FormattedInput.js.map +1 -0
- package/build/{components → src/components}/FormattedfullInput.js +66 -70
- package/build/src/components/FormattedfullInput.js.map +1 -0
- package/build/src/components/Icon.js +38 -0
- package/build/src/components/Icon.js.map +1 -0
- package/build/src/components/Icons.js +200 -0
- package/build/src/components/Icons.js.map +1 -0
- package/build/src/components/Input.js +182 -0
- package/build/src/components/Input.js.map +1 -0
- package/build/src/components/Label.js +23 -0
- package/build/src/components/Label.js.map +1 -0
- package/build/src/components/Loader.js +37 -0
- package/build/src/components/Loader.js.map +1 -0
- package/build/src/components/MaxLength.js +20 -0
- package/build/src/components/MaxLength.js.map +1 -0
- package/build/src/components/Motion.js +40 -0
- package/build/src/components/Motion.js.map +1 -0
- package/build/src/components/PhoneNumberInput.js +50 -0
- package/build/src/components/PhoneNumberInput.js.map +1 -0
- package/build/src/components/Product.js +125 -0
- package/build/src/components/Product.js.map +1 -0
- package/build/{components → src/components}/SearchDropdown.js +60 -59
- package/build/src/components/SearchDropdown.js.map +1 -0
- package/build/{components → src/components}/SvgIcons.js +35 -35
- package/build/src/components/SvgIcons.js.map +1 -0
- package/build/{components → src/components}/SvgRendrer.js +14 -14
- package/build/src/components/SvgRendrer.js.map +1 -0
- package/build/src/components/TextButton.js +48 -0
- package/build/src/components/TextButton.js.map +1 -0
- package/build/src/components/Tip.js +19 -0
- package/build/src/components/Tip.js.map +1 -0
- package/build/src/components/UserImage.js +37 -0
- package/build/src/components/UserImage.js.map +1 -0
- package/build/src/components/UserInfo.js +40 -0
- package/build/src/components/UserInfo.js.map +1 -0
- package/build/src/components/ValidationError.js +27 -0
- package/build/src/components/ValidationError.js.map +1 -0
- package/build/src/index.js +33 -0
- package/build/src/utils/ErrorUtil.js +19 -0
- package/build/src/utils/ErrorUtil.js.map +1 -0
- package/build/src/utils/MediaQuery.js +66 -0
- package/build/src/utils/MediaQuery.js.map +1 -0
- package/build/src/utils/Validation.js +50 -0
- package/build/src/utils/Validation.js.map +1 -0
- package/build/src/utils/makeEventHandler.js +12 -0
- package/build/src/utils/makeEventHandler.js.map +1 -0
- package/build/utils/ErrorUtil.d.ts +1 -1
- package/build/utils/MediaQuery.d.ts +18 -18
- package/build/utils/Validation.d.ts +6 -6
- package/build/utils/makeEventHandler.d.ts +1 -1
- package/package.json +8 -6
- package/build/Colors.js.map +0 -1
- package/build/_virtual/_tslib.js.map +0 -1
- package/build/components/AddressSearchDropdown.js.map +0 -1
- package/build/components/Button.js.map +0 -1
- package/build/components/CodeInput.js.map +0 -1
- package/build/components/Counter.js.map +0 -1
- package/build/components/Dropdown.js.map +0 -1
- package/build/components/Flex.js.map +0 -1
- package/build/components/FormattedInput.js.map +0 -1
- package/build/components/FormattedfullInput.js.map +0 -1
- package/build/components/Icon.js.map +0 -1
- package/build/components/Icons.js.map +0 -1
- package/build/components/Input.js.map +0 -1
- package/build/components/Label.js.map +0 -1
- package/build/components/Loader.js.map +0 -1
- package/build/components/MaxLength.js.map +0 -1
- package/build/components/Motion.js.map +0 -1
- package/build/components/PhoneNumberInput.js.map +0 -1
- package/build/components/Product.js.map +0 -1
- package/build/components/SearchDropdown.js.map +0 -1
- package/build/components/SvgIcons.js.map +0 -1
- package/build/components/SvgRendrer.js.map +0 -1
- package/build/components/TextButton.js.map +0 -1
- package/build/components/Tip.js.map +0 -1
- package/build/components/UserImage.js.map +0 -1
- package/build/components/UserInfo.js.map +0 -1
- package/build/components/ValidationError.js.map +0 -1
- package/build/utils/ErrorUtil.js.map +0 -1
- package/build/utils/MediaQuery.js.map +0 -1
- package/build/utils/Validation.js.map +0 -1
- package/build/utils/makeEventHandler.js.map +0 -1
- /package/build/{index.js.map → src/index.js.map} +0 -0
|
@@ -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,8 +1,8 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
|
|
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,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,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;
|
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { CounterProps } from "./Counter";
|
|
3
|
-
export declare enum TicketsEnum {
|
|
4
|
-
Tickets = "Tickets",
|
|
5
|
-
AddOns = "AddOns"
|
|
6
|
-
}
|
|
7
|
-
export declare enum FeeAppliedToEnum {
|
|
8
|
-
Order = "Order",
|
|
9
|
-
Ticket = "Ticket",
|
|
10
|
-
Upgrade = "Upgrade",
|
|
11
|
-
AddOns = "Add-Ons"
|
|
12
|
-
}
|
|
13
|
-
export declare enum AdvanceOptionsEnum {
|
|
14
|
-
ShowLess = "Show Less",
|
|
15
|
-
ShowMore = "Show More",
|
|
16
|
-
HideFees = "Hide Fees",
|
|
17
|
-
ShowFees = "Show Fees"
|
|
18
|
-
}
|
|
19
|
-
export
|
|
20
|
-
title: string;
|
|
21
|
-
isTicketScreen: string;
|
|
22
|
-
price: number;
|
|
23
|
-
isRSVP?: boolean;
|
|
24
|
-
subtitle?: string;
|
|
25
|
-
description?: string;
|
|
26
|
-
imageUrl?: string;
|
|
27
|
-
eventDays?: string[];
|
|
28
|
-
isMultiDaysEvent?: boolean;
|
|
29
|
-
timeZone?: string;
|
|
30
|
-
remainingQty?: number;
|
|
31
|
-
isTicketType?: boolean;
|
|
32
|
-
isFees?: any;
|
|
33
|
-
isUpgradeType?: boolean;
|
|
34
|
-
} & CounterProps;
|
|
35
|
-
export default function Product({ title, price, subtitle, description, isRSVP, isTicketScreen, value, minValue, maxValue, onIncrement, onDecrement, eventDays, isMultiDaysEvent, timeZone, remainingQty, isTicketType, isFees, isUpgradeType, }: ProductProps): React.JSX.Element;
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { CounterProps } from "./Counter";
|
|
3
|
+
export declare enum TicketsEnum {
|
|
4
|
+
Tickets = "Tickets",
|
|
5
|
+
AddOns = "AddOns"
|
|
6
|
+
}
|
|
7
|
+
export declare enum FeeAppliedToEnum {
|
|
8
|
+
Order = "Order",
|
|
9
|
+
Ticket = "Ticket",
|
|
10
|
+
Upgrade = "Upgrade",
|
|
11
|
+
AddOns = "Add-Ons"
|
|
12
|
+
}
|
|
13
|
+
export declare enum AdvanceOptionsEnum {
|
|
14
|
+
ShowLess = "Show Less",
|
|
15
|
+
ShowMore = "Show More",
|
|
16
|
+
HideFees = "Hide Fees",
|
|
17
|
+
ShowFees = "Show Fees"
|
|
18
|
+
}
|
|
19
|
+
export type ProductProps = {
|
|
20
|
+
title: string;
|
|
21
|
+
isTicketScreen: string;
|
|
22
|
+
price: number;
|
|
23
|
+
isRSVP?: boolean;
|
|
24
|
+
subtitle?: string;
|
|
25
|
+
description?: string;
|
|
26
|
+
imageUrl?: string;
|
|
27
|
+
eventDays?: string[];
|
|
28
|
+
isMultiDaysEvent?: boolean;
|
|
29
|
+
timeZone?: string;
|
|
30
|
+
remainingQty?: number;
|
|
31
|
+
isTicketType?: boolean;
|
|
32
|
+
isFees?: any;
|
|
33
|
+
isUpgradeType?: boolean;
|
|
34
|
+
} & CounterProps;
|
|
35
|
+
export default function Product({ title, price, subtitle, description, isRSVP, isTicketScreen, value, minValue, maxValue, onIncrement, onDecrement, eventDays, isMultiDaysEvent, timeZone, remainingQty, isTicketType, isFees, isUpgradeType, }: ProductProps): React.JSX.Element;
|
|
@@ -1,41 +1,41 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
interface ISearchDropdownItem {
|
|
3
|
-
text: string;
|
|
4
|
-
value: any;
|
|
5
|
-
}
|
|
6
|
-
export
|
|
7
|
-
footer: boolean;
|
|
8
|
-
};
|
|
9
|
-
export
|
|
10
|
-
selected: boolean;
|
|
11
|
-
darkThemeProps?: string;
|
|
12
|
-
};
|
|
13
|
-
export declare enum SearchDropdownTypes {
|
|
14
|
-
MultiSelect = "Multi-Select",
|
|
15
|
-
SingleSelect = "Single-Select"
|
|
16
|
-
}
|
|
17
|
-
export
|
|
18
|
-
type?: SearchDropdownTypes;
|
|
19
|
-
value?: string;
|
|
20
|
-
onChange: Function;
|
|
21
|
-
placeholder?: string;
|
|
22
|
-
width?: string;
|
|
23
|
-
searchQuery?: string;
|
|
24
|
-
setSearchQuery?: (value: string) => void;
|
|
25
|
-
items: ISearchDropdownItem[];
|
|
26
|
-
footer?: React.ReactNode;
|
|
27
|
-
onClear?: () => void;
|
|
28
|
-
label?: string;
|
|
29
|
-
tip?: string;
|
|
30
|
-
subLabel?: string;
|
|
31
|
-
icon?: any;
|
|
32
|
-
fontSize?: string;
|
|
33
|
-
fontWeight?: string;
|
|
34
|
-
fontFamily?: string;
|
|
35
|
-
labelColor?: string;
|
|
36
|
-
darkThemeProps?: string;
|
|
37
|
-
borderColor?: string;
|
|
38
|
-
height?: string;
|
|
39
|
-
};
|
|
40
|
-
export default function SearchDropdown({ type, value, onChange, placeholder, width, searchQuery, setSearchQuery, items, footer, onClear, label, tip, subLabel, icon, fontSize, fontWeight, fontFamily, labelColor, darkThemeProps, borderColor, height }: SearchDropdownProps): React.JSX.Element;
|
|
41
|
-
export {};
|
|
1
|
+
import React from "react";
|
|
2
|
+
interface ISearchDropdownItem {
|
|
3
|
+
text: string;
|
|
4
|
+
value: any;
|
|
5
|
+
}
|
|
6
|
+
export type ItemsContainerProps = {
|
|
7
|
+
footer: boolean;
|
|
8
|
+
};
|
|
9
|
+
export type ItemProps = {
|
|
10
|
+
selected: boolean;
|
|
11
|
+
darkThemeProps?: string;
|
|
12
|
+
};
|
|
13
|
+
export declare enum SearchDropdownTypes {
|
|
14
|
+
MultiSelect = "Multi-Select",
|
|
15
|
+
SingleSelect = "Single-Select"
|
|
16
|
+
}
|
|
17
|
+
export type SearchDropdownProps = {
|
|
18
|
+
type?: SearchDropdownTypes;
|
|
19
|
+
value?: string;
|
|
20
|
+
onChange: Function;
|
|
21
|
+
placeholder?: string;
|
|
22
|
+
width?: string;
|
|
23
|
+
searchQuery?: string;
|
|
24
|
+
setSearchQuery?: (value: string) => void;
|
|
25
|
+
items: ISearchDropdownItem[];
|
|
26
|
+
footer?: React.ReactNode;
|
|
27
|
+
onClear?: () => void;
|
|
28
|
+
label?: string;
|
|
29
|
+
tip?: string;
|
|
30
|
+
subLabel?: string;
|
|
31
|
+
icon?: any;
|
|
32
|
+
fontSize?: string;
|
|
33
|
+
fontWeight?: string;
|
|
34
|
+
fontFamily?: string;
|
|
35
|
+
labelColor?: string;
|
|
36
|
+
darkThemeProps?: string;
|
|
37
|
+
borderColor?: string;
|
|
38
|
+
height?: string;
|
|
39
|
+
};
|
|
40
|
+
export default function SearchDropdown({ type, value, onChange, placeholder, width, searchQuery, setSearchQuery, items, footer, onClear, label, tip, subLabel, icon, fontSize, fontWeight, fontFamily, labelColor, darkThemeProps, borderColor, height }: SearchDropdownProps): React.JSX.Element;
|
|
41
|
+
export {};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
interface IconProps {
|
|
3
|
-
width?: string;
|
|
4
|
-
height?: string;
|
|
5
|
-
className?: string;
|
|
6
|
-
style?: React.CSSProperties;
|
|
7
|
-
}
|
|
8
|
-
export declare const DiscountIcon: React.FC<IconProps>;
|
|
9
|
-
export declare const ServiceFeeIcon: React.FC<IconProps>;
|
|
10
|
-
export declare const StripeProcessingFeeIcon: React.FC<IconProps>;
|
|
11
|
-
export declare const SalesTaxFeeIcon: React.FC<IconProps>;
|
|
12
|
-
export declare const CashIcon: React.FC<IconProps>;
|
|
13
|
-
export declare const ConfirmIcon: React.FC<IconProps>;
|
|
14
|
-
export declare const GuestCheckoutIcon: React.FC<IconProps>;
|
|
15
|
-
export {};
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface IconProps {
|
|
3
|
+
width?: string;
|
|
4
|
+
height?: string;
|
|
5
|
+
className?: string;
|
|
6
|
+
style?: React.CSSProperties;
|
|
7
|
+
}
|
|
8
|
+
export declare const DiscountIcon: React.FC<IconProps>;
|
|
9
|
+
export declare const ServiceFeeIcon: React.FC<IconProps>;
|
|
10
|
+
export declare const StripeProcessingFeeIcon: React.FC<IconProps>;
|
|
11
|
+
export declare const SalesTaxFeeIcon: React.FC<IconProps>;
|
|
12
|
+
export declare const CashIcon: React.FC<IconProps>;
|
|
13
|
+
export declare const ConfirmIcon: React.FC<IconProps>;
|
|
14
|
+
export declare const GuestCheckoutIcon: React.FC<IconProps>;
|
|
15
|
+
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export default function SvgRenderer({ iconName, ...props }: {
|
|
3
|
-
[x: string]: any;
|
|
4
|
-
iconName: any;
|
|
5
|
-
}): React.JSX.Element | null;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export default function SvgRenderer({ iconName, ...props }: {
|
|
3
|
+
[x: string]: any;
|
|
4
|
+
iconName: any;
|
|
5
|
+
}): React.JSX.Element | null;
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { Colors } from '../Colors';
|
|
3
|
-
export declare enum TextButtonSizes {
|
|
4
|
-
Large = "Large",
|
|
5
|
-
Regular = "Regular",
|
|
6
|
-
Small = "Small"
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
children: string | React.ReactNode;
|
|
10
|
-
size?: TextButtonSizes;
|
|
11
|
-
onClick?: (event: React.MouseEvent<HTMLElement>) => void;
|
|
12
|
-
margin?: string;
|
|
13
|
-
icon?: any;
|
|
14
|
-
iconRotation?: number;
|
|
15
|
-
color?: Colors;
|
|
16
|
-
textWithoutLink?: string | React.ReactNode;
|
|
17
|
-
fontFamily?: string;
|
|
18
|
-
iconMargin?: string;
|
|
19
|
-
};
|
|
20
|
-
declare const TextButton: React.FC<TextButtonProps>;
|
|
21
|
-
export default TextButton;
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { Colors } from '../Colors';
|
|
3
|
+
export declare enum TextButtonSizes {
|
|
4
|
+
Large = "Large",
|
|
5
|
+
Regular = "Regular",
|
|
6
|
+
Small = "Small"
|
|
7
|
+
}
|
|
8
|
+
type TextButtonProps = {
|
|
9
|
+
children: string | React.ReactNode;
|
|
10
|
+
size?: TextButtonSizes;
|
|
11
|
+
onClick?: (event: React.MouseEvent<HTMLElement>) => void;
|
|
12
|
+
margin?: string;
|
|
13
|
+
icon?: any;
|
|
14
|
+
iconRotation?: number;
|
|
15
|
+
color?: Colors;
|
|
16
|
+
textWithoutLink?: string | React.ReactNode;
|
|
17
|
+
fontFamily?: string;
|
|
18
|
+
iconMargin?: string;
|
|
19
|
+
};
|
|
20
|
+
declare const TextButton: React.FC<TextButtonProps>;
|
|
21
|
+
export default TextButton;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
|
|
3
|
-
tip?: string;
|
|
4
|
-
margin?: string;
|
|
5
|
-
};
|
|
6
|
-
declare const Tip: React.FC<TipProps>;
|
|
7
|
-
export default Tip;
|
|
1
|
+
import React from "react";
|
|
2
|
+
type TipProps = {
|
|
3
|
+
tip?: string;
|
|
4
|
+
margin?: string;
|
|
5
|
+
};
|
|
6
|
+
declare const Tip: React.FC<TipProps>;
|
|
7
|
+
export default Tip;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
|
|
3
|
-
imageUrl?: string;
|
|
4
|
-
height?: string;
|
|
5
|
-
size?: string;
|
|
6
|
-
firstName: string;
|
|
7
|
-
lastName: string;
|
|
8
|
-
margin?: string;
|
|
9
|
-
invert?: boolean;
|
|
10
|
-
circle?: boolean;
|
|
11
|
-
};
|
|
12
|
-
declare const UserImage: React.FC<PropTypes>;
|
|
13
|
-
export default UserImage;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
type PropTypes = {
|
|
3
|
+
imageUrl?: string;
|
|
4
|
+
height?: string;
|
|
5
|
+
size?: string;
|
|
6
|
+
firstName: string;
|
|
7
|
+
lastName: string;
|
|
8
|
+
margin?: string;
|
|
9
|
+
invert?: boolean;
|
|
10
|
+
circle?: boolean;
|
|
11
|
+
};
|
|
12
|
+
declare const UserImage: React.FC<PropTypes>;
|
|
13
|
+
export default UserImage;
|
|
@@ -1,24 +1,18 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export declare const Container:
|
|
3
|
-
export declare const Details:
|
|
4
|
-
export declare const Name:
|
|
5
|
-
export declare const Email:
|
|
6
|
-
export declare enum UserInfoSizeEnum {
|
|
7
|
-
Regular = "Regular",
|
|
8
|
-
Large = "Large"
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
user?: any;
|
|
12
|
-
size?: UserInfoSizeEnum;
|
|
13
|
-
invert?: boolean;
|
|
14
|
-
nameColor?: string;
|
|
15
|
-
fontFamily?: string;
|
|
16
|
-
};
|
|
17
|
-
declare
|
|
18
|
-
|
|
19
|
-
};
|
|
20
|
-
declare type EmailProps = {
|
|
21
|
-
fontFamily?: string;
|
|
22
|
-
};
|
|
23
|
-
declare const UserInfo: React.FC<UserInfoPropTypes>;
|
|
24
|
-
export default UserInfo;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const Container: any;
|
|
3
|
+
export declare const Details: any;
|
|
4
|
+
export declare const Name: any;
|
|
5
|
+
export declare const Email: any;
|
|
6
|
+
export declare enum UserInfoSizeEnum {
|
|
7
|
+
Regular = "Regular",
|
|
8
|
+
Large = "Large"
|
|
9
|
+
}
|
|
10
|
+
type UserInfoPropTypes = {
|
|
11
|
+
user?: any;
|
|
12
|
+
size?: UserInfoSizeEnum;
|
|
13
|
+
invert?: boolean;
|
|
14
|
+
nameColor?: string;
|
|
15
|
+
fontFamily?: string;
|
|
16
|
+
};
|
|
17
|
+
declare const UserInfo: React.FC<UserInfoPropTypes>;
|
|
18
|
+
export default UserInfo;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
|
|
3
|
-
validationError: string;
|
|
4
|
-
disableValidationErrorBox?: boolean;
|
|
5
|
-
};
|
|
6
|
-
declare const ValidationError: React.FC<ValidationErrorProps>;
|
|
7
|
-
export default ValidationError;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
type ValidationErrorProps = {
|
|
3
|
+
validationError: string;
|
|
4
|
+
disableValidationErrorBox?: boolean;
|
|
5
|
+
};
|
|
6
|
+
declare const ValidationError: React.FC<ValidationErrorProps>;
|
|
7
|
+
export default ValidationError;
|
package/build/index.d.ts
CHANGED
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import { Colors } from "./Colors";
|
|
2
|
-
import Button from './components/Button';
|
|
3
|
-
import CodeInput from "./components/CodeInput";
|
|
4
|
-
import Counter from "./components/Counter";
|
|
5
|
-
import Dropdown from "./components/Dropdown";
|
|
6
|
-
import Flex from "./components/Flex";
|
|
7
|
-
import FormattedInput, { InputFormats } from "./components/FormattedInput";
|
|
8
|
-
import FormattedfullInput, { InputfullFormats } from "./components/FormattedfullInput";
|
|
9
|
-
import Icon, { Icons } from "./components/Icon";
|
|
10
|
-
import Input from "./components/Input";
|
|
11
|
-
import Label from "./components/Label";
|
|
12
|
-
import MaxLength from "./components/MaxLength";
|
|
13
|
-
import * as Motion from "./components/Motion";
|
|
14
|
-
import Loader, { LoaderSizes } from "./components/Loader";
|
|
15
|
-
import PhoneNumberInput from "./components/PhoneNumberInput";
|
|
16
|
-
import Product from "./components/Product";
|
|
17
|
-
import TextButton from './components/TextButton';
|
|
18
|
-
import Tip from "./components/Tip";
|
|
19
|
-
import UserImage from './components/UserImage';
|
|
20
|
-
import UserInfo from './components/UserInfo';
|
|
21
|
-
import ValidationError from './components/ValidationError';
|
|
22
|
-
import AddressSearchDropdown from './components/AddressSearchDropdown';
|
|
23
|
-
import SearchDropdown from './components/SearchDropdown';
|
|
24
|
-
import SvgRenderer from "./components/SvgRendrer";
|
|
25
|
-
import * as ErrorUtil from './utils/ErrorUtil';
|
|
26
|
-
import makeEventHandler from './utils/makeEventHandler';
|
|
27
|
-
import * as MediaQuery from './utils/MediaQuery';
|
|
28
|
-
import * as Validation from './utils/Validation';
|
|
29
|
-
export { Colors, Button, CodeInput, Counter, Dropdown, Flex, FormattedInput, InputFormats, FormattedfullInput, InputfullFormats, Icon, Icons, Input, Label, MaxLength, Loader, LoaderSizes, Motion, PhoneNumberInput, Product, TextButton, Tip, UserImage, UserInfo, ValidationError, SvgRenderer, ErrorUtil, makeEventHandler, MediaQuery, Validation, AddressSearchDropdown, SearchDropdown };
|
|
1
|
+
import { Colors } from "./Colors";
|
|
2
|
+
import Button from './components/Button';
|
|
3
|
+
import CodeInput from "./components/CodeInput";
|
|
4
|
+
import Counter from "./components/Counter";
|
|
5
|
+
import Dropdown from "./components/Dropdown";
|
|
6
|
+
import Flex from "./components/Flex";
|
|
7
|
+
import FormattedInput, { InputFormats } from "./components/FormattedInput";
|
|
8
|
+
import FormattedfullInput, { InputfullFormats } from "./components/FormattedfullInput";
|
|
9
|
+
import Icon, { Icons } from "./components/Icon";
|
|
10
|
+
import Input from "./components/Input";
|
|
11
|
+
import Label from "./components/Label";
|
|
12
|
+
import MaxLength from "./components/MaxLength";
|
|
13
|
+
import * as Motion from "./components/Motion";
|
|
14
|
+
import Loader, { LoaderSizes } from "./components/Loader";
|
|
15
|
+
import PhoneNumberInput from "./components/PhoneNumberInput";
|
|
16
|
+
import Product from "./components/Product";
|
|
17
|
+
import TextButton from './components/TextButton';
|
|
18
|
+
import Tip from "./components/Tip";
|
|
19
|
+
import UserImage from './components/UserImage';
|
|
20
|
+
import UserInfo from './components/UserInfo';
|
|
21
|
+
import ValidationError from './components/ValidationError';
|
|
22
|
+
import AddressSearchDropdown from './components/AddressSearchDropdown';
|
|
23
|
+
import SearchDropdown from './components/SearchDropdown';
|
|
24
|
+
import SvgRenderer from "./components/SvgRendrer";
|
|
25
|
+
import * as ErrorUtil from './utils/ErrorUtil';
|
|
26
|
+
import makeEventHandler from './utils/makeEventHandler';
|
|
27
|
+
import * as MediaQuery from './utils/MediaQuery';
|
|
28
|
+
import * as Validation from './utils/Validation';
|
|
29
|
+
export { Colors, Button, CodeInput, Counter, Dropdown, Flex, FormattedInput, InputFormats, FormattedfullInput, InputfullFormats, Icon, Icons, Input, Label, MaxLength, Loader, LoaderSizes, Motion, PhoneNumberInput, Product, TextButton, Tip, UserImage, UserInfo, ValidationError, SvgRenderer, ErrorUtil, makeEventHandler, MediaQuery, Validation, AddressSearchDropdown, SearchDropdown };
|