dfh-ui-library 1.13.54 → 1.13.55

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.
@@ -1 +1,3 @@
1
1
  export { default } from "./Select";
2
+ export { default as SelectV2 } from "./SelectV2";
3
+ export { default as Select } from "./Select";
@@ -2,7 +2,7 @@ export { default as CheckBox } from './CheckBox';
2
2
  export { default as InputValidation } from './InputValidation';
3
3
  export { default as Input } from './Input';
4
4
  export { default as Label } from './Label';
5
- export { default as Select } from './Select';
5
+ export * from './Select';
6
6
  export { default as RadioButton } from './RadioButton';
7
7
  export { Textarea, TextareaWithCount, TextareaWithCountV2 } from './Textarea';
8
8
  export { default as IconInput } from './IconInput';
@@ -3,7 +3,7 @@ export { default as Button } from './Button';
3
3
  export { default as ButtonV2 } from './Button/ButtonV2';
4
4
  export { default as Typhography } from './Typhography';
5
5
  export { default as TyphographyFormGen } from './TyphographyFormGen';
6
- export { Input, Select, CheckBox, Label, InputValidation, Textarea, RadioButton, IconInput, ImageInput, } from './FormElements';
6
+ export { Input, Select, SelectV2, CheckBox, Label, InputValidation, Textarea, RadioButton, IconInput, ImageInput, } from './FormElements';
7
7
  export { default as Card } from './Card';
8
8
  export { default as ComboBox } from './ComboBox';
9
9
  export { default as ComponentProvider } from './ComponentProvider';
package/dist/index.d.ts CHANGED
@@ -1349,6 +1349,33 @@ declare const Label: React__default.FC<ILabelProps>;
1349
1349
  */
1350
1350
  declare const Select: React__default.FC<ISelectProps>;
1351
1351
 
1352
+ interface Option {
1353
+ value: string;
1354
+ displayName: string;
1355
+ }
1356
+ interface SelectV2Props {
1357
+ name?: string;
1358
+ label?: string;
1359
+ error?: string;
1360
+ options?: Option[];
1361
+ wrapperClass?: string;
1362
+ defaultText?: string;
1363
+ additionalClasses?: string;
1364
+ labelType?: LABELTYPE;
1365
+ onChange?: (value: string) => void;
1366
+ onInputChange?: (value: string) => void;
1367
+ labelClasses?: string;
1368
+ value?: string;
1369
+ defaultValue?: string;
1370
+ iconClasses?: string;
1371
+ isIcon?: boolean;
1372
+ secondaryText?: string;
1373
+ isRequired?: boolean;
1374
+ disabled?: boolean;
1375
+ selectType?: "medium" | "small" | "large";
1376
+ }
1377
+ declare const SelectV2: React__default.FC<SelectV2Props>;
1378
+
1352
1379
  /**
1353
1380
  * Primary UI component for user interaction
1354
1381
  */
@@ -1970,5 +1997,5 @@ declare const themeConfigs: {
1970
1997
  plugins: any[];
1971
1998
  };
1972
1999
 
1973
- export { BADGETYPE, Badge, BorderType, Breadcrumb, Button, ButtonGroup, ButtonGroupFormGen, ButtonGroupMultiSelect, ButtonGroupMultiSelectV2, ButtonGroupWithInputs, ButtonGroupWithInputsFormGen, ButtonGroupWithUpload, ButtonV2, Card, Checkbox as CheckBox, CheckBoxComponent, ClickedAction, ComboBox, DFHFormProvider as ComponentProvider, CustomFileInput, CustomDatePicker as DatePicker, DialogBox, DynamicDualInputTextGroupFormGen, FilterButtonGroup, Heading, HistoryDetails, Icon, IconInput, ImageInput, ImagePreview, IndeterminateCheckbox, InfoCard, Input, InputDatePicker, InputDatePickerV2, InputValidation, InputsGroup, Label, ListRow, LoadingSpinner, Logo, Message, Modal, MultiSelectFormGen, NavBar, NoteEditor, NoteEditorV2, PanelCard, PhoneNumberInput, PhoneNumberInput2, PhoneNumberInput3, 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, Todos, Tooltip, TooltipWithChildren, Typho, Typhography, TyphographyFormGen, UrgentChallenges, useSchemaProcessor as UseSchemaProcessor, VersionDateDropdown, themeConfigs, usePagination, useSorting };
2000
+ export { BADGETYPE, Badge, BorderType, Breadcrumb, Button, ButtonGroup, ButtonGroupFormGen, ButtonGroupMultiSelect, ButtonGroupMultiSelectV2, ButtonGroupWithInputs, ButtonGroupWithInputsFormGen, ButtonGroupWithUpload, ButtonV2, Card, Checkbox as CheckBox, CheckBoxComponent, ClickedAction, ComboBox, DFHFormProvider as ComponentProvider, CustomFileInput, CustomDatePicker as DatePicker, DialogBox, DynamicDualInputTextGroupFormGen, FilterButtonGroup, Heading, HistoryDetails, Icon, IconInput, ImageInput, ImagePreview, IndeterminateCheckbox, InfoCard, Input, InputDatePicker, InputDatePickerV2, InputValidation, InputsGroup, Label, ListRow, LoadingSpinner, Logo, Message, Modal, MultiSelectFormGen, NavBar, NoteEditor, NoteEditorV2, PanelCard, PhoneNumberInput, PhoneNumberInput2, PhoneNumberInput3, PreviousDataBadge, ProgressBar, RadioButton, RegularDropdown, Row, SearchDropdownWithButton, Select, SelectUserWithButton, SelectV2, SideBarListView, Signature, SortDropdown, Spinner, SsnInput, Stepper, Tab, TabButton, TabList, TabPanel, Table, TagSelect as TagDropdown, TagSelect, Textarea, Timeline, Todos, Tooltip, TooltipWithChildren, Typho, Typhography, TyphographyFormGen, UrgentChallenges, useSchemaProcessor as UseSchemaProcessor, VersionDateDropdown, themeConfigs, usePagination, useSorting };
1974
2001
  export type { AccountPopoverMenuItem, BadgeColorVariant, BtnOptionDropdown, DropdownSearchProps, ISolutionvalues, InputType, ListMasterDataProps, LogoProps, MessageProps, NoteChildrenProps, NoteHistoryProps, NoteItemProps, NoteProps, OptionProps, TimelineEventProps, UrgentDataProps, VariantTypes };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dfh-ui-library",
3
- "version": "1.13.54",
3
+ "version": "1.13.55",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "build": "rollup -c --bundleConfigAsCjs --environment NODE_ENV:production",