@trafilea/afrodita-components 5.0.0-beta.192 → 5.0.0-beta.194
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/index.d.ts +27 -2
- package/build/index.esm.js +140 -107
- package/build/index.esm.js.map +1 -1
- package/build/index.js +140 -107
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.d.ts
CHANGED
|
@@ -381,6 +381,8 @@ declare const Play: ({ height, width, fill, testId }: IconProps) => JSX.Element;
|
|
|
381
381
|
|
|
382
382
|
declare const FitGuarantee: ({ height, width, fill, testId }: IconProps) => JSX.Element;
|
|
383
383
|
|
|
384
|
+
declare const QuestionWithCircle: ({ height, width, fill, testId }: IconProps) => JSX.Element;
|
|
385
|
+
|
|
384
386
|
type Other_LoadingProps = LoadingProps;
|
|
385
387
|
declare const Other_Shapermint: typeof Shapermint;
|
|
386
388
|
declare const Other_McAfee: typeof McAfee;
|
|
@@ -396,6 +398,7 @@ declare const Other_ShopNow: typeof ShopNow;
|
|
|
396
398
|
declare const Other_HasselFreeReturns: typeof HasselFreeReturns;
|
|
397
399
|
declare const Other_Play: typeof Play;
|
|
398
400
|
declare const Other_FitGuarantee: typeof FitGuarantee;
|
|
401
|
+
declare const Other_QuestionWithCircle: typeof QuestionWithCircle;
|
|
399
402
|
declare namespace Other {
|
|
400
403
|
export {
|
|
401
404
|
FitPredictor$1 as FitPredictor,
|
|
@@ -415,6 +418,7 @@ declare namespace Other {
|
|
|
415
418
|
Other_HasselFreeReturns as HasselFreeReturns,
|
|
416
419
|
Other_Play as Play,
|
|
417
420
|
Other_FitGuarantee as FitGuarantee,
|
|
421
|
+
Other_QuestionWithCircle as QuestionWithCircle,
|
|
418
422
|
};
|
|
419
423
|
}
|
|
420
424
|
|
|
@@ -907,6 +911,23 @@ declare namespace MyAccount {
|
|
|
907
911
|
};
|
|
908
912
|
}
|
|
909
913
|
|
|
914
|
+
declare const Atom: ({ height, width, fill, testId }: IconProps) => JSX.Element;
|
|
915
|
+
|
|
916
|
+
declare const Bubbles: ({ height, width, fill, testId }: IconProps) => JSX.Element;
|
|
917
|
+
|
|
918
|
+
declare const FairAdvantages: ({ height, width, fill, testId }: IconProps) => JSX.Element;
|
|
919
|
+
|
|
920
|
+
declare const RevelIcons_Atom: typeof Atom;
|
|
921
|
+
declare const RevelIcons_Bubbles: typeof Bubbles;
|
|
922
|
+
declare const RevelIcons_FairAdvantages: typeof FairAdvantages;
|
|
923
|
+
declare namespace RevelIcons {
|
|
924
|
+
export {
|
|
925
|
+
RevelIcons_Atom as Atom,
|
|
926
|
+
RevelIcons_Bubbles as Bubbles,
|
|
927
|
+
RevelIcons_FairAdvantages as FairAdvantages,
|
|
928
|
+
};
|
|
929
|
+
}
|
|
930
|
+
|
|
910
931
|
declare type IconType = ({ height, width, fill, testId }: IconProps) => JSX.Element;
|
|
911
932
|
declare const Icon: {
|
|
912
933
|
Custom: typeof Custom;
|
|
@@ -922,6 +943,7 @@ declare const Icon: {
|
|
|
922
943
|
SlideDots: typeof SlideDots;
|
|
923
944
|
Emoji: typeof Emoji;
|
|
924
945
|
MyAccount: typeof MyAccount;
|
|
946
|
+
RevelIcons: typeof RevelIcons;
|
|
925
947
|
};
|
|
926
948
|
|
|
927
949
|
interface CardBodyProps {
|
|
@@ -966,6 +988,8 @@ declare type CommonProps<T> = {
|
|
|
966
988
|
initialValue?: Value<T>;
|
|
967
989
|
placeHolder: string;
|
|
968
990
|
testId?: string;
|
|
991
|
+
required?: string;
|
|
992
|
+
showRequiredPlaceholder?: boolean;
|
|
969
993
|
};
|
|
970
994
|
declare type ControlledProps<T> = {
|
|
971
995
|
value: Value<T>;
|
|
@@ -976,7 +1000,7 @@ declare type UncontrolledProps<T> = {
|
|
|
976
1000
|
onChange?: OnChange<T>;
|
|
977
1001
|
} & CommonProps<T>;
|
|
978
1002
|
declare type SimpleDropdownProps<T> = UncontrolledProps<T> | ControlledProps<T>;
|
|
979
|
-
declare function SimpleDropdown<T>({ options, disabled, initialValue, placeHolder, label, wide, sort, onChange, value, testId, }: SimpleDropdownProps<T>): JSX.Element;
|
|
1003
|
+
declare function SimpleDropdown<T>({ options, disabled, initialValue, placeHolder, label, wide, sort, onChange, value, testId, required, showRequiredPlaceholder, }: SimpleDropdownProps<T>): JSX.Element;
|
|
980
1004
|
|
|
981
1005
|
interface DialogPositionProps {
|
|
982
1006
|
top: string;
|
|
@@ -1881,6 +1905,7 @@ interface BaseInputCommonProps {
|
|
|
1881
1905
|
inputType?: 'text' | 'email' | 'password' | 'url';
|
|
1882
1906
|
name?: string;
|
|
1883
1907
|
autoFocus?: boolean;
|
|
1908
|
+
requiredPlaceholder?: string;
|
|
1884
1909
|
}
|
|
1885
1910
|
declare type BaseInputProps = BaseInputCommonProps;
|
|
1886
1911
|
|
|
@@ -1921,7 +1946,7 @@ declare type CustomProps = BaseInputProps & {
|
|
|
1921
1946
|
};
|
|
1922
1947
|
|
|
1923
1948
|
declare const Input: {
|
|
1924
|
-
Simple: ({ value, onChange, label, children, required, onValidation, size, placeholder, inlinePlaceholder, hasError, inputType, hideClear, innerRef, ...rest }: BaseInputCommonProps) => JSX.Element;
|
|
1949
|
+
Simple: ({ value, onChange, label, children, required, onValidation, size, placeholder, inlinePlaceholder, hasError, inputType, hideClear, innerRef, requiredPlaceholder, ...rest }: BaseInputCommonProps) => JSX.Element;
|
|
1925
1950
|
Custom: ({ onClick, text, variant, ...rest }: CustomProps) => JSX.Element;
|
|
1926
1951
|
SimplePlusButton: ({ onClick, onClickEdit, text, success, editText, successText, ...rest }: BasePlusButtonProps) => JSX.Element;
|
|
1927
1952
|
SimplePlusIcon: ({ Icon, ...rest }: BasePlusIconProps) => JSX.Element;
|