dfh-ui-library 1.12.632 → 1.12.634
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/dist/cjs/index.css +1 -1
 - package/dist/cjs/index.css.map +1 -1
 - package/dist/cjs/index.js +1 -1
 - package/dist/cjs/index.js.map +1 -1
 - package/dist/cjs/types/components/FormElements/MultiSelect/MultiSelect.d.ts +4 -0
 - package/dist/cjs/types/components/FormElements/MultiSelect/index.d.ts +1 -0
 - package/dist/cjs/types/components/MultiSelectFormGen/MultiSelectFormGen.d.ts +4 -0
 - package/dist/cjs/types/components/MultiSelectFormGen/index.d.ts +1 -0
 - package/dist/cjs/types/components/index.d.ts +1 -1
 - package/dist/cjs/types/shared/models/components/base.model.d.ts +0 -8
 - package/dist/cjs/types/shared/models/components/common.model.d.ts +21 -1
 - package/dist/esm/index.css +1 -1
 - package/dist/esm/index.css.map +1 -1
 - package/dist/esm/index.js +1 -1
 - package/dist/esm/index.js.map +1 -1
 - package/dist/esm/types/components/FormElements/MultiSelect/MultiSelect.d.ts +4 -0
 - package/dist/esm/types/components/FormElements/MultiSelect/index.d.ts +1 -0
 - package/dist/esm/types/components/MultiSelectFormGen/MultiSelectFormGen.d.ts +4 -0
 - package/dist/esm/types/components/MultiSelectFormGen/index.d.ts +1 -0
 - package/dist/esm/types/components/index.d.ts +1 -1
 - package/dist/esm/types/shared/models/components/base.model.d.ts +0 -8
 - package/dist/esm/types/shared/models/components/common.model.d.ts +21 -1
 - package/dist/index.d.ts +23 -11
 - package/package.json +2 -2
 - package/dist/cjs/types/components/History/NoteEvent.d.ts +0 -4
 - package/dist/cjs/types/components/History/NoteEventView.d.ts +0 -7
 - package/dist/cjs/types/components/MonthPicker/MonthPicker.d.ts +0 -4
 - package/dist/cjs/types/components/MonthPicker/index.d.ts +0 -1
 - package/dist/cjs/types/components/TyphographyFormGen/TyphographyFormGen.d.ts +0 -4
 - package/dist/cjs/types/components/TyphographyFormGen/TyphographyFormGen.handler.d.ts +0 -1
 - package/dist/cjs/types/components/TyphographyFormGen/index.d.ts +0 -1
 - package/dist/esm/types/components/History/NoteEvent.d.ts +0 -4
 - package/dist/esm/types/components/History/NoteEventView.d.ts +0 -7
 - package/dist/esm/types/components/MonthPicker/MonthPicker.d.ts +0 -4
 - package/dist/esm/types/components/MonthPicker/index.d.ts +0 -1
 - package/dist/esm/types/components/TyphographyFormGen/TyphographyFormGen.d.ts +0 -4
 - package/dist/esm/types/components/TyphographyFormGen/TyphographyFormGen.handler.d.ts +0 -1
 - package/dist/esm/types/components/TyphographyFormGen/index.d.ts +0 -1
 
| 
         @@ -0,0 +1 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            export { default } from "./MultiSelect";
         
     | 
| 
         @@ -0,0 +1 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            export { default } from "./MultiSelectFormGen";
         
     | 
| 
         @@ -1,7 +1,6 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            import "../index.css";
         
     | 
| 
       2 
2 
     | 
    
         
             
            export { default as Button } from "./Button";
         
     | 
| 
       3 
3 
     | 
    
         
             
            export { default as Typhography } from "./Typhography";
         
     | 
| 
       4 
     | 
    
         
            -
            export { default as TyphographyFormGen } from "./TyphographyFormGen";
         
     | 
| 
       5 
4 
     | 
    
         
             
            export { Input, Select, CheckBox, Label, InputValidation, Textarea, RadioButton, IconInput, ImageInput, } from "./FormElements";
         
     | 
| 
       6 
5 
     | 
    
         
             
            export { default as Card } from "./Card";
         
     | 
| 
       7 
6 
     | 
    
         
             
            export { default as ComponentProvider } from "./ComponentProvider";
         
     | 
| 
         @@ -60,3 +59,4 @@ export { default as CheckBoxComponent } from "./FilterButtonGroup/Checkbox"; 
     | 
|
| 
       60 
59 
     | 
    
         
             
            export { default as Todos } from "./SideBarListView/todos";
         
     | 
| 
       61 
60 
     | 
    
         
             
            export { default as UrgentChallenges } from "./SideBarListView/urgentChallenges";
         
     | 
| 
       62 
61 
     | 
    
         
             
            export { default as SsnInput } from "./SsnInput";
         
     | 
| 
      
 62 
     | 
    
         
            +
            export { default as MultiSelectFormGen } from "./MultiSelectFormGen";
         
     | 
| 
         @@ -54,14 +54,6 @@ export interface ITyphographyProps extends IChildrenProp, IAdditionalClassesProp 
     | 
|
| 
       54 
54 
     | 
    
         
             
                onClick?: () => void;
         
     | 
| 
       55 
55 
     | 
    
         
             
                disabled?: boolean;
         
     | 
| 
       56 
56 
     | 
    
         
             
            }
         
     | 
| 
       57 
     | 
    
         
            -
            export interface ITyphographyFormGenProps extends IChildrenProp, IAdditionalClassesProp {
         
     | 
| 
       58 
     | 
    
         
            -
                type?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
         
     | 
| 
       59 
     | 
    
         
            -
                componentType?: "p" | undefined;
         
     | 
| 
       60 
     | 
    
         
            -
                color?: string;
         
     | 
| 
       61 
     | 
    
         
            -
                onClick?: () => void;
         
     | 
| 
       62 
     | 
    
         
            -
                disabled?: boolean;
         
     | 
| 
       63 
     | 
    
         
            -
                text?: string;
         
     | 
| 
       64 
     | 
    
         
            -
            }
         
     | 
| 
       65 
57 
     | 
    
         
             
            export interface IIconProps extends IAdditionalClassesProp, IIconTypeProp {
         
     | 
| 
       66 
58 
     | 
    
         
             
                /**
         
     | 
| 
       67 
59 
     | 
    
         
             
                 * Optional | Set Icon Text
         
     | 
| 
         @@ -1,5 +1,5 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            import { ReactNode } from "react";
         
     | 
| 
       2 
     | 
    
         
            -
            import { VariantTypes } from "./base.model";
         
     | 
| 
      
 2 
     | 
    
         
            +
            import { selectType, VariantTypes } from "./base.model";
         
     | 
| 
       3 
3 
     | 
    
         
             
            import { ColumnDef, OnChangeFn, PaginationState, SortingState } from "@tanstack/react-table";
         
     | 
| 
       4 
4 
     | 
    
         
             
            import { ITodoToggleRequestParams } from "../../../components/SideBarListView/todos";
         
     | 
| 
       5 
5 
     | 
    
         
             
            export type AlignmentType = "center" | "left" | "right";
         
     | 
| 
         @@ -332,6 +332,26 @@ export interface DropdownMultiselectProps { 
     | 
|
| 
       332 
332 
     | 
    
         
             
                tooltipProps?: ToolTipProps;
         
     | 
| 
       333 
333 
     | 
    
         
             
                onSelectedValuesChange: (selectedValues: string[]) => void;
         
     | 
| 
       334 
334 
     | 
    
         
             
            }
         
     | 
| 
      
 335 
     | 
    
         
            +
            export interface IMultiSelectOption {
         
     | 
| 
      
 336 
     | 
    
         
            +
                value: string;
         
     | 
| 
      
 337 
     | 
    
         
            +
                displayName: string;
         
     | 
| 
      
 338 
     | 
    
         
            +
                selected?: boolean;
         
     | 
| 
      
 339 
     | 
    
         
            +
            }
         
     | 
| 
      
 340 
     | 
    
         
            +
            export interface IMultiSelectProps {
         
     | 
| 
      
 341 
     | 
    
         
            +
                selectType?: selectType;
         
     | 
| 
      
 342 
     | 
    
         
            +
                options?: IMultiSelectOption[];
         
     | 
| 
      
 343 
     | 
    
         
            +
                value?: string[];
         
     | 
| 
      
 344 
     | 
    
         
            +
                name: string;
         
     | 
| 
      
 345 
     | 
    
         
            +
                labelType?: "default" | "black" | "smallSelect" | "blackSmall" | "formLabelMedeum";
         
     | 
| 
      
 346 
     | 
    
         
            +
                label?: string | undefined;
         
     | 
| 
      
 347 
     | 
    
         
            +
                labelClasses?: string;
         
     | 
| 
      
 348 
     | 
    
         
            +
                defaultText?: string | undefined;
         
     | 
| 
      
 349 
     | 
    
         
            +
                error?: string;
         
     | 
| 
      
 350 
     | 
    
         
            +
                wrapperClass?: string | undefined;
         
     | 
| 
      
 351 
     | 
    
         
            +
                additionalClasses?: string | undefined;
         
     | 
| 
      
 352 
     | 
    
         
            +
                secondaryText?: string;
         
     | 
| 
      
 353 
     | 
    
         
            +
                onSelectedValuesChange: (selectedValues: string[]) => void;
         
     | 
| 
      
 354 
     | 
    
         
            +
            }
         
     | 
| 
       335 
355 
     | 
    
         
             
            export interface OptionProps {
         
     | 
| 
       336 
356 
     | 
    
         
             
                displayText: string;
         
     | 
| 
       337 
357 
     | 
    
         
             
                iconText: string;
         
     | 
    
        package/dist/index.d.ts
    CHANGED
    
    | 
         @@ -310,6 +310,26 @@ interface DropdownMultiselectProps { 
     | 
|
| 
       310 
310 
     | 
    
         
             
                tooltipProps?: ToolTipProps;
         
     | 
| 
       311 
311 
     | 
    
         
             
                onSelectedValuesChange: (selectedValues: string[]) => void;
         
     | 
| 
       312 
312 
     | 
    
         
             
            }
         
     | 
| 
      
 313 
     | 
    
         
            +
            interface IMultiSelectOption {
         
     | 
| 
      
 314 
     | 
    
         
            +
                value: string;
         
     | 
| 
      
 315 
     | 
    
         
            +
                displayName: string;
         
     | 
| 
      
 316 
     | 
    
         
            +
                selected?: boolean;
         
     | 
| 
      
 317 
     | 
    
         
            +
            }
         
     | 
| 
      
 318 
     | 
    
         
            +
            interface IMultiSelectProps {
         
     | 
| 
      
 319 
     | 
    
         
            +
                selectType?: selectType;
         
     | 
| 
      
 320 
     | 
    
         
            +
                options?: IMultiSelectOption[];
         
     | 
| 
      
 321 
     | 
    
         
            +
                value?: string[];
         
     | 
| 
      
 322 
     | 
    
         
            +
                name: string;
         
     | 
| 
      
 323 
     | 
    
         
            +
                labelType?: "default" | "black" | "smallSelect" | "blackSmall" | "formLabelMedeum";
         
     | 
| 
      
 324 
     | 
    
         
            +
                label?: string | undefined;
         
     | 
| 
      
 325 
     | 
    
         
            +
                labelClasses?: string;
         
     | 
| 
      
 326 
     | 
    
         
            +
                defaultText?: string | undefined;
         
     | 
| 
      
 327 
     | 
    
         
            +
                error?: string;
         
     | 
| 
      
 328 
     | 
    
         
            +
                wrapperClass?: string | undefined;
         
     | 
| 
      
 329 
     | 
    
         
            +
                additionalClasses?: string | undefined;
         
     | 
| 
      
 330 
     | 
    
         
            +
                secondaryText?: string;
         
     | 
| 
      
 331 
     | 
    
         
            +
                onSelectedValuesChange: (selectedValues: string[]) => void;
         
     | 
| 
      
 332 
     | 
    
         
            +
            }
         
     | 
| 
       313 
333 
     | 
    
         
             
            interface OptionProps {
         
     | 
| 
       314 
334 
     | 
    
         
             
                displayText: string;
         
     | 
| 
       315 
335 
     | 
    
         
             
                iconText: string;
         
     | 
| 
         @@ -829,14 +849,6 @@ interface ITyphographyProps extends IChildrenProp, IAdditionalClassesProp { 
     | 
|
| 
       829 
849 
     | 
    
         
             
                onClick?: () => void;
         
     | 
| 
       830 
850 
     | 
    
         
             
                disabled?: boolean;
         
     | 
| 
       831 
851 
     | 
    
         
             
            }
         
     | 
| 
       832 
     | 
    
         
            -
            interface ITyphographyFormGenProps extends IChildrenProp, IAdditionalClassesProp {
         
     | 
| 
       833 
     | 
    
         
            -
                type?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
         
     | 
| 
       834 
     | 
    
         
            -
                componentType?: "p" | undefined;
         
     | 
| 
       835 
     | 
    
         
            -
                color?: string;
         
     | 
| 
       836 
     | 
    
         
            -
                onClick?: () => void;
         
     | 
| 
       837 
     | 
    
         
            -
                disabled?: boolean;
         
     | 
| 
       838 
     | 
    
         
            -
                text?: string;
         
     | 
| 
       839 
     | 
    
         
            -
            }
         
     | 
| 
       840 
852 
     | 
    
         
             
            interface IIconProps extends IAdditionalClassesProp, IIconTypeProp {
         
     | 
| 
       841 
853 
     | 
    
         
             
                /**
         
     | 
| 
       842 
854 
     | 
    
         
             
                 * Optional | Set Icon Text
         
     | 
| 
         @@ -1253,8 +1265,6 @@ declare const Button: ({ type, isDisabled, buttonLabel, iconType, iconColor, ico 
     | 
|
| 
       1253 
1265 
     | 
    
         
             
             */
         
     | 
| 
       1254 
1266 
     | 
    
         
             
            declare const Typhography: ({ type, component, color, additionalClasses, children, onClick, disabled, ...rest }: ITyphographyProps) => React__default.JSX.Element;
         
     | 
| 
       1255 
1267 
     | 
    
         | 
| 
       1256 
     | 
    
         
            -
            declare const TyphographyFormGen: React__default.FC<ITyphographyFormGenProps>;
         
     | 
| 
       1257 
     | 
    
         
            -
             
     | 
| 
       1258 
1268 
     | 
    
         
             
            declare const Checkbox: React__default.FC<ICheckboxProps>;
         
     | 
| 
       1259 
1269 
     | 
    
         | 
| 
       1260 
1270 
     | 
    
         
             
            /**
         
     | 
| 
         @@ -1524,6 +1534,8 @@ declare const UrgentChallenges: React__default.FC<UrgentChallengeProps>; 
     | 
|
| 
       1524 
1534 
     | 
    
         | 
| 
       1525 
1535 
     | 
    
         
             
            declare const SsnInput: React__default.FC<SsnInputProps>;
         
     | 
| 
       1526 
1536 
     | 
    
         | 
| 
      
 1537 
     | 
    
         
            +
            declare const MultiSelectFormGen: React__default.FC<IMultiSelectProps>;
         
     | 
| 
      
 1538 
     | 
    
         
            +
             
     | 
| 
       1527 
1539 
     | 
    
         
             
            interface UseSchemaProcessorProps {
         
     | 
| 
       1528 
1540 
     | 
    
         
             
                schema: ISchema[];
         
     | 
| 
       1529 
1541 
     | 
    
         
             
                externalSetComponents: (data: IComponent[]) => void;
         
     | 
| 
         @@ -1836,4 +1848,4 @@ declare const themeConfigs: { 
     | 
|
| 
       1836 
1848 
     | 
    
         
             
                plugins: any[];
         
     | 
| 
       1837 
1849 
     | 
    
         
             
            };
         
     | 
| 
       1838 
1850 
     | 
    
         | 
| 
       1839 
     | 
    
         
            -
            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,  
     | 
| 
      
 1851 
     | 
    
         
            +
            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, MultiSelectFormGen, 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. 
     | 
| 
      
 3 
     | 
    
         
            +
              "version": "1.12.634",
         
     | 
| 
       4 
4 
     | 
    
         
             
              "description": "",
         
     | 
| 
       5 
5 
     | 
    
         
             
              "scripts": {
         
     | 
| 
       6 
6 
     | 
    
         
             
                "build": "rollup -c --bundleConfigAsCjs --environment NODE_ENV:production",
         
     | 
| 
         @@ -23,7 +23,7 @@ 
     | 
|
| 
       23 
23 
     | 
    
         
             
                "@types/react": "^18.2.37",
         
     | 
| 
       24 
24 
     | 
    
         
             
                "autoprefixer": "^10.4.16",
         
     | 
| 
       25 
25 
     | 
    
         
             
                "classnames": "^2.3.2",
         
     | 
| 
       26 
     | 
    
         
            -
                "dfh-form-generator": "^1.2. 
     | 
| 
      
 26 
     | 
    
         
            +
                "dfh-form-generator": "^1.2.88",
         
     | 
| 
       27 
27 
     | 
    
         
             
                "dompurify": "^3.1.6",
         
     | 
| 
       28 
28 
     | 
    
         
             
                "formik": "^2.4.5",
         
     | 
| 
       29 
29 
     | 
    
         
             
                "lodash": "^4.17.21",
         
     | 
| 
         @@ -1 +0,0 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            export { default } from "./MonthPicker";
         
     | 
| 
         @@ -1 +0,0 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            export declare const handleFontTypes: (_type: string | undefined) => "text-4xl font-bold" | "text-3xl font-semibold" | "text-2xl font-semibold" | "text-xl font-medium" | "text-lg font-medium" | "text-base font-medium" | undefined;
         
     | 
| 
         @@ -1 +0,0 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            export { default } from "./TyphographyFormGen";
         
     | 
| 
         @@ -1 +0,0 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            export { default } from "./MonthPicker";
         
     | 
| 
         @@ -1 +0,0 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            export declare const handleFontTypes: (_type: string | undefined) => "text-4xl font-bold" | "text-3xl font-semibold" | "text-2xl font-semibold" | "text-xl font-medium" | "text-lg font-medium" | "text-base font-medium" | undefined;
         
     | 
| 
         @@ -1 +0,0 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            export { default } from "./TyphographyFormGen";
         
     |