@trafilea/afrodita-components 5.0.0-beta.191 → 5.0.0-beta.193

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 CHANGED
@@ -206,6 +206,8 @@ interface CopyProps extends IconProps {
206
206
  }
207
207
  declare const Copy: ({ height, width, fill, stroke }: CopyProps) => JSX.Element;
208
208
 
209
+ declare const CopyOutlined: ({ height, width, fill }: IconProps) => JSX.Element;
210
+
209
211
  declare const CheckboxEmpty: ({ height, width, fill }: IconProps) => JSX.Element;
210
212
 
211
213
  declare const CheckboxLight: ({ height, width, fill }: IconProps) => JSX.Element;
@@ -272,6 +274,7 @@ declare const Actions_SignOut: typeof SignOut;
272
274
  declare const Actions_Add: typeof Add;
273
275
  type Actions_CopyProps = CopyProps;
274
276
  declare const Actions_Copy: typeof Copy;
277
+ declare const Actions_CopyOutlined: typeof CopyOutlined;
275
278
  declare const Actions_CheckboxEmpty: typeof CheckboxEmpty;
276
279
  declare const Actions_CheckboxLight: typeof CheckboxLight;
277
280
  declare const Actions_CheckboxSolid: typeof CheckboxSolid;
@@ -313,6 +316,7 @@ declare namespace Actions {
313
316
  Actions_Add as Add,
314
317
  Actions_CopyProps as CopyProps,
315
318
  Actions_Copy as Copy,
319
+ Actions_CopyOutlined as CopyOutlined,
316
320
  Actions_CheckboxEmpty as CheckboxEmpty,
317
321
  Actions_CheckboxLight as CheckboxLight,
318
322
  Actions_CheckboxSolid as CheckboxSolid,
@@ -962,6 +966,8 @@ declare type CommonProps<T> = {
962
966
  initialValue?: Value<T>;
963
967
  placeHolder: string;
964
968
  testId?: string;
969
+ required?: string;
970
+ showRequiredPlaceholder?: boolean;
965
971
  };
966
972
  declare type ControlledProps<T> = {
967
973
  value: Value<T>;
@@ -972,7 +978,7 @@ declare type UncontrolledProps<T> = {
972
978
  onChange?: OnChange<T>;
973
979
  } & CommonProps<T>;
974
980
  declare type SimpleDropdownProps<T> = UncontrolledProps<T> | ControlledProps<T>;
975
- declare function SimpleDropdown<T>({ options, disabled, initialValue, placeHolder, label, wide, sort, onChange, value, testId, }: SimpleDropdownProps<T>): JSX.Element;
981
+ declare function SimpleDropdown<T>({ options, disabled, initialValue, placeHolder, label, wide, sort, onChange, value, testId, required, showRequiredPlaceholder, }: SimpleDropdownProps<T>): JSX.Element;
976
982
 
977
983
  interface DialogPositionProps {
978
984
  top: string;
@@ -1877,6 +1883,7 @@ interface BaseInputCommonProps {
1877
1883
  inputType?: 'text' | 'email' | 'password' | 'url';
1878
1884
  name?: string;
1879
1885
  autoFocus?: boolean;
1886
+ requiredPlaceholder?: string;
1880
1887
  }
1881
1888
  declare type BaseInputProps = BaseInputCommonProps;
1882
1889
 
@@ -1917,7 +1924,7 @@ declare type CustomProps = BaseInputProps & {
1917
1924
  };
1918
1925
 
1919
1926
  declare const Input: {
1920
- Simple: ({ value, onChange, label, children, required, onValidation, size, placeholder, inlinePlaceholder, hasError, inputType, hideClear, innerRef, ...rest }: BaseInputCommonProps) => JSX.Element;
1927
+ Simple: ({ value, onChange, label, children, required, onValidation, size, placeholder, inlinePlaceholder, hasError, inputType, hideClear, innerRef, requiredPlaceholder, ...rest }: BaseInputCommonProps) => JSX.Element;
1921
1928
  Custom: ({ onClick, text, variant, ...rest }: CustomProps) => JSX.Element;
1922
1929
  SimplePlusButton: ({ onClick, onClickEdit, text, success, editText, successText, ...rest }: BasePlusButtonProps) => JSX.Element;
1923
1930
  SimplePlusIcon: ({ Icon, ...rest }: BasePlusIconProps) => JSX.Element;