dfh-ui-library 1.12.477 → 1.12.478

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import { SsnInputProps } from "../../shared/models/components/common.model";
3
+ declare const SsnInput: React.FC<SsnInputProps>;
4
+ export default SsnInput;
@@ -0,0 +1,2 @@
1
+ export declare const formatInput: (val: any, event?: React.KeyboardEvent<HTMLInputElement>) => string;
2
+ export declare const replaceCharacters: (template: string, value: string) => string;
@@ -0,0 +1 @@
1
+ export { default } from "./SsnInput";
@@ -58,3 +58,4 @@ export { default as ButtonGroupMultiSelect } from "./ButtonGroup/ButtonGroupMult
58
58
  export { default as CheckBoxComponent } from "./FilterButtonGroup/Checkbox";
59
59
  export { default as Todos } from "./SideBarListView/todos";
60
60
  export { default as UrgentChallenges } from "./SideBarListView/urgentChallenges";
61
+ export { default as SsnInput } from "./SsnInput";
@@ -257,6 +257,28 @@ export interface PhoneNumberInputProps {
257
257
  name?: string;
258
258
  field?: any;
259
259
  }
260
+ export interface SsnInputProps {
261
+ value: string;
262
+ onChange: (value: string) => void;
263
+ placeholder?: string;
264
+ additionalClasses?: string | undefined;
265
+ error?: string;
266
+ isBorderedError?: boolean;
267
+ labelType?: "default" | "black" | "smallSelect" | "blackSmall" | "formLabelMedeum";
268
+ readOnly?: boolean;
269
+ type?: string;
270
+ inputVariant?: "default" | "large";
271
+ label?: string | undefined;
272
+ additionalErrorClasses?: string;
273
+ isAdditionalErrorInput?: boolean;
274
+ name?: string;
275
+ field?: any;
276
+ isIconRight?: boolean;
277
+ rightIcon?: string;
278
+ iconClassRight?: string;
279
+ isMasked: boolean;
280
+ iconOnClick?: (event: React.ChangeEvent<HTMLInputElement>) => void;
281
+ }
260
282
  export interface ModalProps {
261
283
  children?: React.ReactNode;
262
284
  isOpen?: boolean;
package/dist/index.d.ts CHANGED
@@ -236,6 +236,28 @@ interface PhoneNumberInputProps {
236
236
  name?: string;
237
237
  field?: any;
238
238
  }
239
+ interface SsnInputProps {
240
+ value: string;
241
+ onChange: (value: string) => void;
242
+ placeholder?: string;
243
+ additionalClasses?: string | undefined;
244
+ error?: string;
245
+ isBorderedError?: boolean;
246
+ labelType?: "default" | "black" | "smallSelect" | "blackSmall" | "formLabelMedeum";
247
+ readOnly?: boolean;
248
+ type?: string;
249
+ inputVariant?: "default" | "large";
250
+ label?: string | undefined;
251
+ additionalErrorClasses?: string;
252
+ isAdditionalErrorInput?: boolean;
253
+ name?: string;
254
+ field?: any;
255
+ isIconRight?: boolean;
256
+ rightIcon?: string;
257
+ iconClassRight?: string;
258
+ isMasked: boolean;
259
+ iconOnClick?: (event: React.ChangeEvent<HTMLInputElement>) => void;
260
+ }
239
261
  interface ModalProps {
240
262
  children?: React.ReactNode;
241
263
  isOpen?: boolean;
@@ -1488,6 +1510,8 @@ interface UrgentChallengeProps {
1488
1510
  }
1489
1511
  declare const UrgentChallenges: React__default.FC<UrgentChallengeProps>;
1490
1512
 
1513
+ declare const SsnInput: React__default.FC<SsnInputProps>;
1514
+
1491
1515
  interface UseSchemaProcessorProps {
1492
1516
  schema: ISchema[];
1493
1517
  externalSetComponents: (data: IComponent[]) => void;
@@ -1800,4 +1824,4 @@ declare const themeConfigs: {
1800
1824
  plugins: any[];
1801
1825
  };
1802
1826
 
1803
- export { BADGETYPE, Badge, type BadgeColorVariant, BorderType, Breadcrumb, type BtnOptionDropdown, Button, ButtonGroup, ButtonGroupFormGen, ButtonGroupMultiSelect, ButtonGroupWithInputs, ButtonGroupWithInputsFormGen, ButtonGroupWithUpload, Card, Checkbox as CheckBox, CheckBoxComponent, ClickedAction, DFHFormProvider as ComponentProvider, CustomFileInput, CustomDatePicker as DatePicker, DialogBox, type DropdownSearchProps, DynamicDualInputTextGroupFormGen, FilterButtonGroup, Heading, HistoryDetails, type ISolutionvalues, Icon, IconInput, ImageInput, ImagePreview, IndeterminateCheckbox, InfoCard, Input, InputDatePicker, type InputType, InputValidation, InputsGroup, Label, type ListMasterDataProps, ListRow, LoadingSpinner, Logo, type LogoProps, Message, type MessageProps, Modal, NavBar, NoteEditor, type NoteHistoryProps, type NoteItemProps, type NoteProps, type OptionProps, PanelCard, PhoneNumberInput, PreviousDataBadge, ProgressBar, RadioButton, RegularDropdown, Row, SearchDropdownWithButton, Select, SelectUserWithButton, SideBarListView, Signature, SortDropdown, Spinner, Stepper, Tab, TabButton, TabList, TabPanel, Table, TagSelect as TagDropdown, TagSelect, Textarea, Timeline, type TimelineEventProps, Todos, Tooltip, TooltipWithChildren, Typho, Typhography, UrgentChallenges, type UrgentDataProps, useSchemaProcessor as UseSchemaProcessor, type VariantTypes, VersionDateDropdown, themeConfigs, usePagination, useSorting };
1827
+ export { BADGETYPE, Badge, type BadgeColorVariant, BorderType, Breadcrumb, type BtnOptionDropdown, Button, ButtonGroup, ButtonGroupFormGen, ButtonGroupMultiSelect, ButtonGroupWithInputs, ButtonGroupWithInputsFormGen, ButtonGroupWithUpload, Card, Checkbox as CheckBox, CheckBoxComponent, ClickedAction, DFHFormProvider as ComponentProvider, CustomFileInput, CustomDatePicker as DatePicker, DialogBox, type DropdownSearchProps, DynamicDualInputTextGroupFormGen, FilterButtonGroup, Heading, HistoryDetails, type ISolutionvalues, Icon, IconInput, ImageInput, ImagePreview, IndeterminateCheckbox, InfoCard, Input, InputDatePicker, type InputType, InputValidation, InputsGroup, Label, type ListMasterDataProps, ListRow, LoadingSpinner, Logo, type LogoProps, Message, type MessageProps, Modal, NavBar, NoteEditor, type NoteHistoryProps, type NoteItemProps, type NoteProps, type OptionProps, PanelCard, PhoneNumberInput, PreviousDataBadge, ProgressBar, RadioButton, RegularDropdown, Row, SearchDropdownWithButton, Select, SelectUserWithButton, SideBarListView, Signature, SortDropdown, Spinner, SsnInput, Stepper, Tab, TabButton, TabList, TabPanel, Table, TagSelect as TagDropdown, TagSelect, Textarea, Timeline, type TimelineEventProps, Todos, Tooltip, TooltipWithChildren, Typho, Typhography, UrgentChallenges, type UrgentDataProps, useSchemaProcessor as UseSchemaProcessor, type VariantTypes, VersionDateDropdown, themeConfigs, usePagination, useSorting };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dfh-ui-library",
3
- "version": "1.12.477",
3
+ "version": "1.12.478",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "build": "rollup -c --bundleConfigAsCjs --environment NODE_ENV:production",