dfh-ui-library 1.11.12 → 1.11.13

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 @@
1
- export declare const handleButtonClasses: (variants?: string | undefined) => "bg-[#333333] text-white hover:bg-gray-700" | "text-16s h-[52px] text-base font-semibold leading-5 border border-solid border-[#CDCED6] bg-white" | "text-14s h-9 bg-[#333333] text-white hover:bg-gray-700" | "text-14s h-9 text-base font-semibold leading-5 border border-solid border-[#CDCED6] bg-white" | "text-14s h-7 bg-[#333333] text-white hover:bg-gray-700" | "text-14s h-7 text-base font-semibold leading-5 border border-solid border-[#CDCED6] bg-white" | "text-16s h-11 text-base font-semibold leading-5 border border-solid border-[#CDCED6] bg-white" | "text-16s h-11 bg-[#333333] text-white hover:bg-gray-700" | "text-16s h-11 bg-[#006CD0] text-21s text-white" | "text-16s h-10 bg-[#006CD0] text-21s text-white !p-0 !px-2" | "h-11 bg-[#006CD0] text-12s text-white" | "h-11 text-21s text-black-540 border border-[#CDCED6] bg-white" | "h-11 text-21s border text-btn-main border-[#006CD0] bg-[#F1F5F9]" | "h-11 text-12s border text-black-540 border-0 bg-[#F1F5F9]" | "h-11 text-21s text-black-540 border border-0 bg-white" | "h-11 text-21s text-white border border-0 bg-[#006CD0]" | "h-11 text-21s text-white border border-0 bg-pinkRead" | "h-8 text-12s text-black-540 border border-[#CDCED6] bg-white" | "flex text-12s h-8 bg-[#006CD0] text-white" | "h-8 text-12s border text-btn-main border-[#006CD0] bg-[#F1F5F9]" | "h-11 text-21s border border-0 bg-white" | undefined;
1
+ export declare const handleButtonClasses: (variants?: string | undefined) => "bg-[#333333] text-white hover:bg-gray-700" | "text-16s h-[52px] text-base font-semibold leading-5 border border-solid border-[#CDCED6] bg-white" | "text-14s h-9 bg-[#333333] text-white hover:bg-gray-700" | "text-14s h-9 text-base font-semibold leading-5 border border-solid border-[#CDCED6] bg-white" | "text-14s h-7 bg-[#333333] text-white hover:bg-gray-700" | "text-14s h-7 text-base font-semibold leading-5 border border-solid border-[#CDCED6] bg-white" | "text-16s h-11 text-base font-semibold leading-5 border border-solid border-[#CDCED6] bg-white" | "text-16s h-11 bg-[#333333] text-white hover:bg-gray-700" | "text-16s h-11 bg-[#006CD0] text-21s text-white" | "text-16s h-10 bg-[#006CD0] text-21s text-white !p-0 !px-2" | "h-11 bg-[#006CD0] text-12s text-white" | "h-11 text-21s text-black-540 border border-[#CDCED6] bg-white" | "h-11 text-21s border text-btn-main border-[#006CD0] bg-[#F1F5F9]" | "h-11 text-12s border text-black-540 border-0 bg-[#F1F5F9]" | "h-11 text-21s text-black-540 border border-0 bg-white" | "h-11 text-21s text-white border border-0 bg-[#006CD0]" | "h-11 text-21s text-white border border-0 bg-pinkRead" | "h-8 text-12s text-black-540 border border-[#CDCED6] bg-white" | "flex text-12s h-8 bg-[#006CD0] text-white" | "h-8 text-12s border text-btn-main border-[#006CD0] bg-[#F1F5F9]" | "h-11 text-21s border border-0 bg-white" | "h-8 text-21s border border-0 bg-transparent" | undefined;
@@ -1,7 +1,7 @@
1
1
  import React from "react";
2
- import { NoteItemProps } from "../../shared/models/components/common.model";
2
+ import { NoteProps } from "../../shared/models/components/common.model";
3
3
  interface NoteViewProps {
4
- notes?: NoteItemProps[];
4
+ notes?: NoteProps;
5
5
  }
6
6
  declare const NotesEventView: React.FC<NoteViewProps>;
7
7
  export default NotesEventView;
@@ -0,0 +1 @@
1
+ export declare const getFristLettersFromString: (inputString: string) => string;
@@ -0,0 +1,14 @@
1
+ import React from "react";
2
+ import { ISolutionvalues, NoteProps, TimelineEventProps } from "../../shared/models/components/common.model";
3
+ export declare const getTimeLineCards: (eventData: TimelineEventProps, setShowCompleteNote: (isShow: boolean) => void, showCompleteNote: boolean, handleEditItemTimeLine: any, navigateAction?: ((timeLineNavReq?: ISolutionvalues | string, type?: string) => void) | undefined, surveyId?: string, showNote?: boolean, setShowNote?: ((isSet: boolean) => void) | undefined, enableEdit?: boolean, toggleEdit?: ((isShow: boolean) => void) | undefined, viewNoteHistory?: any, lastModified?: string, setSaveNoteValues?: any, setEnableEdit?: ((isEnable: boolean) => void) | undefined) => React.JSX.Element;
4
+ export declare const NoteCard: React.FC<{
5
+ note: NoteProps;
6
+ showNote?: boolean;
7
+ setShowNote?: (isShow: boolean) => void;
8
+ enableEdit?: boolean;
9
+ toggleEdit?: (isShow: boolean) => void;
10
+ viewNoteHistory?: any;
11
+ lastModified?: string;
12
+ setSaveNoteValues?: any;
13
+ setEnableEdit?: (isEnable: boolean) => void;
14
+ }>;
@@ -0,0 +1,4 @@
1
+ import { NoteItemProps, TimelineEventProps } from "../../shared/models/components/common.model";
2
+ export declare const getToDos: (notes: NoteItemProps[]) => string;
3
+ export declare const getUser: (eventData: TimelineEventProps) => string | undefined;
4
+ export declare const getdate: (timestamp?: string, dateOnly?: boolean) => string;
@@ -2,7 +2,7 @@ import "./index.css";
2
2
  export * from "./components";
3
3
  export * from "./hooks";
4
4
  export { VariantTypes, BorderType, LogoProps, } from "./shared/models/components/base.model";
5
- export { DropdownSearchProps, ClickedAction, TimelineEventProps, ListMasterDataProps, BtnOptionDropdown, BADGETYPE, OptionProps, NoteItemProps, UrgentDataProps, MessageProps, InputType, BadgeColorVariant, } from "./shared/models/components/common.model";
5
+ export { DropdownSearchProps, ClickedAction, TimelineEventProps, ListMasterDataProps, BtnOptionDropdown, BADGETYPE, OptionProps, NoteItemProps, NoteProps, UrgentDataProps, MessageProps, InputType, BadgeColorVariant, ISolutionvalues, } from "./shared/models/components/common.model";
6
6
  export { ColumnDef, SortingState } from "@tanstack/react-table";
7
7
  export { usePagination } from "./hooks/usePagination";
8
8
  export { useSorting } from "./hooks/useSorting";
@@ -1,6 +1,6 @@
1
1
  import React, { InputHTMLAttributes, ReactNode, SelectHTMLAttributes, TextareaHTMLAttributes } from "react";
2
2
  import { IAdditionalClassesProp, IChildrenProp, IIconTypeProp, AlignmentType, IOnClickEventProps, TyphoTypes, TyphoComponents, IconHoverColorTypes, MessageTypes, InputType, IconType, LableTypes, ToolTipProps, selectedValue } from "./common.model";
3
- export type VariantTypes = "large" | "small" | "extraSmall" | "largeOutlined" | "smallOutlined" | "extraSmallOutlined" | "default" | "defaultOutlined" | "primaryBlue" | "primaryWhite" | "primaryWhiteSelected" | "primaryWhiteNoBoader" | "primaryWhiteIcon" | "primaryRed" | "primaryFilterSelected" | "primaryBlueFilter" | "smallWhite" | "smallWhiteSelected" | "smallBlue" | "primaryNoBoader" | "primaryBlue10" | undefined;
3
+ export type VariantTypes = "large" | "small" | "extraSmall" | "largeOutlined" | "smallOutlined" | "extraSmallOutlined" | "default" | "defaultOutlined" | "primaryBlue" | "primaryWhite" | "primaryWhiteSelected" | "primaryWhiteNoBoader" | "primaryWhiteIcon" | "primaryRed" | "primaryFilterSelected" | "primaryBlueFilter" | "smallWhite" | "smallWhiteSelected" | "smallBlue" | "primaryNoBoader" | "primaryBlue10" | "noBoaderbgTransparent" | undefined;
4
4
  export interface IButtonProps extends IChildrenProp, IAdditionalClassesProp, IIconTypeProp, IOnClickEventProps {
5
5
  /**
6
6
  * Set the button type
@@ -647,4 +647,9 @@ export interface IListRowProps extends AdditionalClassesProp {
647
647
  onFocus?: () => void;
648
648
  onClick?: () => void;
649
649
  }
650
+ export declare const TIMELINE_TYPE: {
651
+ SURVEY: string;
652
+ NORMAL: string;
653
+ CHALLENGE: string;
654
+ };
650
655
  export {};
@@ -628,8 +628,9 @@ export interface ICardInfoProps {
628
628
  export interface TimelineProps {
629
629
  timelines: TimelineEventProps[];
630
630
  showAll?: string;
631
- handleEditItem?: (items: NoteItemProps[]) => void;
631
+ handleEditItem?: (items: NoteProps, serveyId?: string) => void;
632
632
  viewNoteHistory?: (show: boolean) => void;
633
+ navigationAction?: (solution?: ISolutionvalues | string, type?: string) => void;
633
634
  }
634
635
  export interface SideBarListProps {
635
636
  filterLeftLabel?: string;
@@ -661,14 +662,30 @@ export interface challengesListProps {
661
662
  challengeName?: string;
662
663
  }
663
664
  export interface TimelineEventProps {
664
- dateTime?: string;
665
- name?: string;
666
- chalenges?: any;
667
- notes?: NoteItemProps[];
665
+ date?: string;
666
+ user?: string;
667
+ challenge?: string;
668
+ note?: NoteProps;
668
669
  lastModified?: string;
669
670
  showAll?: string;
670
- handleEditItem?: (items: NoteItemProps[]) => void;
671
+ handleEditItem?: (items: NoteProps, serveyId?: string) => void;
671
672
  viewNoteHistory?: (show: boolean) => void;
673
+ isLocked?: boolean;
674
+ surveyId?: string;
675
+ type: string;
676
+ challengeResolved?: boolean;
677
+ solutions?: SolutionItem[];
678
+ createdUser?: string;
679
+ resolvedByUser?: string;
680
+ actionedUser?: string;
681
+ navigateAction?: (timeLineNavReq?: ISolutionvalues | string, type?: string) => void;
682
+ }
683
+ export interface NoteProps {
684
+ note?: NoteItemProps[];
685
+ _id?: string;
686
+ date?: string;
687
+ actionedUser?: string;
688
+ noteType?: string;
672
689
  }
673
690
  export interface NoteHistoryProps {
674
691
  editedBy: string;
@@ -680,11 +697,6 @@ export interface NoteHistoryDetails {
680
697
  dateTime: string;
681
698
  notes: NoteItemProps[];
682
699
  }
683
- export interface NoteProps {
684
- headerNote?: string;
685
- footerNote?: string;
686
- noteOptions?: NoteOptionsProps[];
687
- }
688
700
  export interface NoteOptionsProps {
689
701
  text?: string;
690
702
  checked?: boolean;
@@ -693,16 +705,20 @@ export interface NoteItemProps {
693
705
  isChecked?: boolean;
694
706
  text?: string | undefined;
695
707
  enableCheckbox?: boolean;
708
+ additonalInfo?: any;
696
709
  }
697
710
  export interface NoteComponentProps {
698
- onAdd?: (items: NoteItemProps[]) => void;
711
+ onAdd?: (items: NoteProps, serveyId?: string) => void;
699
712
  cancelAction?: () => void;
700
713
  enableNoteButton?: boolean;
701
- savedItems?: NoteItemProps[] | undefined;
714
+ savedItems?: NoteProps | undefined;
702
715
  buttonLabels?: {
703
716
  cancel?: string;
704
717
  save?: string;
705
718
  };
719
+ enableCheckbox?: boolean;
720
+ enableEdit?: boolean;
721
+ setEnableEdit?: (value: boolean) => void;
706
722
  }
707
723
  export interface TabButtonProps {
708
724
  onClickTab?: (value: string) => void;
@@ -720,4 +736,17 @@ export interface SignatureProps {
720
736
  label?: string;
721
737
  labelType?: "default" | "black" | "smallSelect" | "blackSmall" | "formLabelMedeum";
722
738
  }
739
+ export interface SolutionItem {
740
+ solution: ISolutionvalues;
741
+ _id: string;
742
+ createdDate: string;
743
+ note?: NoteProps;
744
+ }
745
+ export interface ISolutionvalues {
746
+ solutionName: string;
747
+ challenge?: string;
748
+ solutionDescription?: string;
749
+ solutionType?: string;
750
+ _id?: string;
751
+ }
723
752
  export {};
package/dist/index.d.ts CHANGED
@@ -505,8 +505,9 @@ interface ICardInfoProps {
505
505
  interface TimelineProps {
506
506
  timelines: TimelineEventProps[];
507
507
  showAll?: string;
508
- handleEditItem?: (items: NoteItemProps[]) => void;
508
+ handleEditItem?: (items: NoteProps, serveyId?: string) => void;
509
509
  viewNoteHistory?: (show: boolean) => void;
510
+ navigationAction?: (solution?: ISolutionvalues | string, type?: string) => void;
510
511
  }
511
512
  interface SideBarListProps {
512
513
  filterLeftLabel?: string;
@@ -538,14 +539,30 @@ interface challengesListProps {
538
539
  challengeName?: string;
539
540
  }
540
541
  interface TimelineEventProps {
541
- dateTime?: string;
542
- name?: string;
543
- chalenges?: any;
544
- notes?: NoteItemProps[];
542
+ date?: string;
543
+ user?: string;
544
+ challenge?: string;
545
+ note?: NoteProps;
545
546
  lastModified?: string;
546
547
  showAll?: string;
547
- handleEditItem?: (items: NoteItemProps[]) => void;
548
+ handleEditItem?: (items: NoteProps, serveyId?: string) => void;
548
549
  viewNoteHistory?: (show: boolean) => void;
550
+ isLocked?: boolean;
551
+ surveyId?: string;
552
+ type: string;
553
+ challengeResolved?: boolean;
554
+ solutions?: SolutionItem[];
555
+ createdUser?: string;
556
+ resolvedByUser?: string;
557
+ actionedUser?: string;
558
+ navigateAction?: (timeLineNavReq?: ISolutionvalues | string, type?: string) => void;
559
+ }
560
+ interface NoteProps {
561
+ note?: NoteItemProps[];
562
+ _id?: string;
563
+ date?: string;
564
+ actionedUser?: string;
565
+ noteType?: string;
549
566
  }
550
567
  interface NoteHistoryProps {
551
568
  editedBy: string;
@@ -561,16 +578,20 @@ interface NoteItemProps {
561
578
  isChecked?: boolean;
562
579
  text?: string | undefined;
563
580
  enableCheckbox?: boolean;
581
+ additonalInfo?: any;
564
582
  }
565
583
  interface NoteComponentProps {
566
- onAdd?: (items: NoteItemProps[]) => void;
584
+ onAdd?: (items: NoteProps, serveyId?: string) => void;
567
585
  cancelAction?: () => void;
568
586
  enableNoteButton?: boolean;
569
- savedItems?: NoteItemProps[] | undefined;
587
+ savedItems?: NoteProps | undefined;
570
588
  buttonLabels?: {
571
589
  cancel?: string;
572
590
  save?: string;
573
591
  };
592
+ enableCheckbox?: boolean;
593
+ enableEdit?: boolean;
594
+ setEnableEdit?: (value: boolean) => void;
574
595
  }
575
596
  interface TabButtonProps {
576
597
  onClickTab?: (value: string) => void;
@@ -588,8 +609,21 @@ interface SignatureProps {
588
609
  label?: string;
589
610
  labelType?: "default" | "black" | "smallSelect" | "blackSmall" | "formLabelMedeum";
590
611
  }
612
+ interface SolutionItem {
613
+ solution: ISolutionvalues;
614
+ _id: string;
615
+ createdDate: string;
616
+ note?: NoteProps;
617
+ }
618
+ interface ISolutionvalues {
619
+ solutionName: string;
620
+ challenge?: string;
621
+ solutionDescription?: string;
622
+ solutionType?: string;
623
+ _id?: string;
624
+ }
591
625
 
592
- type VariantTypes = "large" | "small" | "extraSmall" | "largeOutlined" | "smallOutlined" | "extraSmallOutlined" | "default" | "defaultOutlined" | "primaryBlue" | "primaryWhite" | "primaryWhiteSelected" | "primaryWhiteNoBoader" | "primaryWhiteIcon" | "primaryRed" | "primaryFilterSelected" | "primaryBlueFilter" | "smallWhite" | "smallWhiteSelected" | "smallBlue" | "primaryNoBoader" | "primaryBlue10" | undefined;
626
+ type VariantTypes = "large" | "small" | "extraSmall" | "largeOutlined" | "smallOutlined" | "extraSmallOutlined" | "default" | "defaultOutlined" | "primaryBlue" | "primaryWhite" | "primaryWhiteSelected" | "primaryWhiteNoBoader" | "primaryWhiteIcon" | "primaryRed" | "primaryFilterSelected" | "primaryBlueFilter" | "smallWhite" | "smallWhiteSelected" | "smallBlue" | "primaryNoBoader" | "primaryBlue10" | "noBoaderbgTransparent" | undefined;
593
627
  interface IButtonProps extends IChildrenProp, IAdditionalClassesProp, IIconTypeProp, IOnClickEventProps {
594
628
  /**
595
629
  * Set the button type
@@ -1625,4 +1659,4 @@ declare const themeConfigs: {
1625
1659
  plugins: any[];
1626
1660
  };
1627
1661
 
1628
- export { BADGETYPE, Badge, type BadgeColorVariant, BorderType, Breadcrumb, type BtnOptionDropdown, Button, ButtonGroup, ButtonGroupFormGen, ButtonGroupWithInputs, ButtonGroupWithInputsFormGen, ButtonGroupWithUpload, Card, Checkbox as CheckBox, ClickedAction, DFHFormProvider as ComponentProvider, CustomFileInput, CustomDatePicker as DatePicker, DialogBox, type DropdownSearchProps, DynamicDualInputTextGroupFormGen, FilterButtonGroup, Heading, HistoryDetails, 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 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, Tooltip, TooltipWithChildren, Typho, Typhography, type UrgentDataProps, useSchemaProcessor as UseSchemaProcessor, type VariantTypes, VersionDateDropdown, themeConfigs, usePagination, useSorting };
1662
+ export { BADGETYPE, Badge, type BadgeColorVariant, BorderType, Breadcrumb, type BtnOptionDropdown, Button, ButtonGroup, ButtonGroupFormGen, ButtonGroupWithInputs, ButtonGroupWithInputsFormGen, ButtonGroupWithUpload, Card, Checkbox as CheckBox, 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, Tooltip, TooltipWithChildren, Typho, Typhography, type UrgentDataProps, useSchemaProcessor as UseSchemaProcessor, type VariantTypes, VersionDateDropdown, themeConfigs, usePagination, useSorting };
package/package.json CHANGED
@@ -1,109 +1,109 @@
1
- {
2
- "name": "dfh-ui-library",
3
- "version": "1.11.12",
4
- "description": "",
5
- "scripts": {
6
- "rollup": "rollup -c --bundleConfigAsCjs --environment NODE_ENV:production",
7
- "storybook": "storybook dev -p 6006",
8
- "build-storybook": "storybook build",
9
- "test": "jest"
10
- },
11
- "author": "DFH dev",
12
- "license": "ISC",
13
- "dependencies": {
14
- "@babel/preset-env": "^7.23.3",
15
- "@babel/preset-react": "^7.23.3",
16
- "@babel/preset-typescript": "^7.23.3",
17
- "@faker-js/faker": "^8.3.1",
18
- "@fontsource/inter": "^5.0.16",
19
- "@rollup/plugin-sucrase": "^5.0.2",
20
- "@rollup/plugin-terser": "^0.4.4",
21
- "@tailwindcss/forms": "^0.5.7",
22
- "@tanstack/react-table": "^8.11.3",
23
- "@types/react": "^18.2.37",
24
- "autoprefixer": "^10.4.16",
25
- "classnames": "^2.3.2",
26
- "dfh-form-generator": "^1.1.96",
27
- "formik": "^2.4.5",
28
- "lodash": "^4.17.21",
29
- "moment": "^2.29.4",
30
- "react": "^18.2.0",
31
- "react-datepicker": "^4.24.0",
32
- "react-dom": "^18.2.0",
33
- "react-input-mask": "^3.0.0-alpha.2",
34
- "react-phone-number-input": "^3.3.7",
35
- "react-select": "^5.8.0",
36
- "react-tooltip": "^5.26.3",
37
- "rollup-plugin-peer-deps-external": "^2.2.4",
38
- "rollup-plugin-scss": "^4.0.0",
39
- "signature_pad": "^4.2.0",
40
- "tailwindcss": "^3.3.5",
41
- "tsconfig-paths-webpack-plugin": "^4.1.0",
42
- "tslib": "^2.6.2",
43
- "typescript": "^5.2.2"
44
- },
45
- "devDependencies": {
46
- "@rollup/plugin-commonjs": "^25.0.7",
47
- "@rollup/plugin-node-resolve": "^15.2.3",
48
- "@rollup/plugin-typescript": "^11.1.5",
49
- "@storybook/addon-actions": "^7.6.3",
50
- "@storybook/addon-docs": "^7.5.3",
51
- "@storybook/addon-essentials": "^7.5.3",
52
- "@storybook/addon-interactions": "^7.5.3",
53
- "@storybook/addon-links": "^7.5.3",
54
- "@storybook/addon-onboarding": "^1.0.8",
55
- "@storybook/addon-postcss": "^2.0.0",
56
- "@storybook/blocks": "^7.5.3",
57
- "@storybook/cli": "^7.5.3",
58
- "@storybook/react": "^7.5.3",
59
- "@storybook/react-webpack5": "^7.5.3",
60
- "@storybook/testing-library": "^0.2.2",
61
- "@storybook/theming": "^7.5.3",
62
- "@testing-library/jest-dom": "^6.1.4",
63
- "@testing-library/react": "^14.1.2",
64
- "@testing-library/user-event": "^14.5.1",
65
- "@types/jest": "^29.5.9",
66
- "@types/react-datepicker": "^4.19.4",
67
- "@types/signature_pad": "^2.3.6",
68
- "@typescript-eslint/eslint-plugin": "^6.12.0",
69
- "@typescript-eslint/parser": "^6.12.0",
70
- "autoprefixer": "^10.4.16",
71
- "cssnano": "^6.0.1",
72
- "eslint": "^8.54.0",
73
- "eslint-plugin-react": "^7.33.2",
74
- "jest": "^29.7.0",
75
- "jest-environment-jsdom": "^29.7.0",
76
- "postcss": "^8.4.31",
77
- "postcss-cssnext": "^3.1.1",
78
- "postcss-import": "^15.1.0",
79
- "postcss-loader": "^7.3.3",
80
- "rollup": "^4.5.0",
81
- "rollup-plugin-css-only": "^4.5.2",
82
- "rollup-plugin-dts": "^6.1.0",
83
- "rollup-plugin-postcss": "^4.0.2",
84
- "storybook": "^7.5.3",
85
- "sugarss": "^4.0.1",
86
- "vite": "^5.0.0"
87
- },
88
- "peerDependencies": {
89
- "@tailwindcss/forms": "^0.5.7",
90
- "autoprefixer": "^10.4.16",
91
- "classnames": "^2.3.2",
92
- "cssnano": "^6.0.1",
93
- "lodash": "^4.17.21",
94
- "moment": "^2.29.4",
95
- "postcss": "^8.4.31",
96
- "postcss-cssnext": "^3.1.1",
97
- "postcss-import": "^15.1.0",
98
- "postcss-loader": "^7.3.3",
99
- "react": "^18.2.0",
100
- "react-dom": "^18.2.0",
101
- "tailwindcss": "^3.3.5"
102
- },
103
- "main": "dist/cjs/index.js",
104
- "module": "dist/esm/index.js",
105
- "files": [
106
- "dist"
107
- ],
108
- "types": "dist/index.d.ts"
109
- }
1
+ {
2
+ "name": "dfh-ui-library",
3
+ "version": "1.11.13",
4
+ "description": "",
5
+ "scripts": {
6
+ "rollup": "rollup -c --bundleConfigAsCjs --environment NODE_ENV:production",
7
+ "storybook": "storybook dev -p 6006",
8
+ "build-storybook": "storybook build",
9
+ "test": "jest"
10
+ },
11
+ "author": "DFH dev",
12
+ "license": "ISC",
13
+ "dependencies": {
14
+ "@babel/preset-env": "^7.23.3",
15
+ "@babel/preset-react": "^7.23.3",
16
+ "@babel/preset-typescript": "^7.23.3",
17
+ "@faker-js/faker": "^8.3.1",
18
+ "@fontsource/inter": "^5.0.16",
19
+ "@rollup/plugin-sucrase": "^5.0.2",
20
+ "@rollup/plugin-terser": "^0.4.4",
21
+ "@tailwindcss/forms": "^0.5.7",
22
+ "@tanstack/react-table": "^8.11.3",
23
+ "@types/react": "^18.2.37",
24
+ "autoprefixer": "^10.4.16",
25
+ "classnames": "^2.3.2",
26
+ "dfh-form-generator": "^1.1.96",
27
+ "formik": "^2.4.5",
28
+ "lodash": "^4.17.21",
29
+ "moment": "^2.29.4",
30
+ "react": "^18.2.0",
31
+ "react-datepicker": "^4.24.0",
32
+ "react-dom": "^18.2.0",
33
+ "react-input-mask": "^3.0.0-alpha.2",
34
+ "react-phone-number-input": "^3.3.7",
35
+ "react-select": "^5.8.0",
36
+ "react-tooltip": "^5.26.3",
37
+ "rollup-plugin-peer-deps-external": "^2.2.4",
38
+ "rollup-plugin-scss": "^4.0.0",
39
+ "signature_pad": "^4.2.0",
40
+ "tailwindcss": "^3.3.5",
41
+ "tsconfig-paths-webpack-plugin": "^4.1.0",
42
+ "tslib": "^2.6.2",
43
+ "typescript": "^5.2.2"
44
+ },
45
+ "devDependencies": {
46
+ "@rollup/plugin-commonjs": "^25.0.7",
47
+ "@rollup/plugin-node-resolve": "^15.2.3",
48
+ "@rollup/plugin-typescript": "^11.1.5",
49
+ "@storybook/addon-actions": "^7.6.3",
50
+ "@storybook/addon-docs": "^7.5.3",
51
+ "@storybook/addon-essentials": "^7.5.3",
52
+ "@storybook/addon-interactions": "^7.5.3",
53
+ "@storybook/addon-links": "^7.5.3",
54
+ "@storybook/addon-onboarding": "^1.0.8",
55
+ "@storybook/addon-postcss": "^2.0.0",
56
+ "@storybook/blocks": "^7.5.3",
57
+ "@storybook/cli": "^7.5.3",
58
+ "@storybook/react": "^7.5.3",
59
+ "@storybook/react-webpack5": "^7.5.3",
60
+ "@storybook/testing-library": "^0.2.2",
61
+ "@storybook/theming": "^7.5.3",
62
+ "@testing-library/jest-dom": "^6.1.4",
63
+ "@testing-library/react": "^14.1.2",
64
+ "@testing-library/user-event": "^14.5.1",
65
+ "@types/jest": "^29.5.9",
66
+ "@types/react-datepicker": "^4.19.4",
67
+ "@types/signature_pad": "^2.3.6",
68
+ "@typescript-eslint/eslint-plugin": "^6.12.0",
69
+ "@typescript-eslint/parser": "^6.12.0",
70
+ "autoprefixer": "^10.4.16",
71
+ "cssnano": "^6.0.1",
72
+ "eslint": "^8.54.0",
73
+ "eslint-plugin-react": "^7.33.2",
74
+ "jest": "^29.7.0",
75
+ "jest-environment-jsdom": "^29.7.0",
76
+ "postcss": "^8.4.31",
77
+ "postcss-cssnext": "^3.1.1",
78
+ "postcss-import": "^15.1.0",
79
+ "postcss-loader": "^7.3.3",
80
+ "rollup": "^4.5.0",
81
+ "rollup-plugin-css-only": "^4.5.2",
82
+ "rollup-plugin-dts": "^6.1.0",
83
+ "rollup-plugin-postcss": "^4.0.2",
84
+ "storybook": "^7.5.3",
85
+ "sugarss": "^4.0.1",
86
+ "vite": "^5.0.0"
87
+ },
88
+ "peerDependencies": {
89
+ "@tailwindcss/forms": "^0.5.7",
90
+ "autoprefixer": "^10.4.16",
91
+ "classnames": "^2.3.2",
92
+ "cssnano": "^6.0.1",
93
+ "lodash": "^4.17.21",
94
+ "moment": "^2.29.4",
95
+ "postcss": "^8.4.31",
96
+ "postcss-cssnext": "^3.1.1",
97
+ "postcss-import": "^15.1.0",
98
+ "postcss-loader": "^7.3.3",
99
+ "react": "^18.2.0",
100
+ "react-dom": "^18.2.0",
101
+ "tailwindcss": "^3.3.5"
102
+ },
103
+ "main": "dist/cjs/index.js",
104
+ "module": "dist/esm/index.js",
105
+ "files": [
106
+ "dist"
107
+ ],
108
+ "types": "dist/index.d.ts"
109
+ }