dfh-ui-library 1.7.99 → 1.8.2

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.
Files changed (47) hide show
  1. package/README.md +118 -118
  2. package/dist/cjs/index.css +1 -1
  3. package/dist/cjs/index.css.map +1 -1
  4. package/dist/cjs/index.js +1 -1
  5. package/dist/cjs/index.js.map +1 -1
  6. package/dist/cjs/types/components/Button/Button.handler.d.ts +1 -1
  7. package/dist/cjs/types/components/Gird/Grid.d.ts +1 -3
  8. package/dist/cjs/types/components/Gird/index.d.ts +0 -1
  9. package/dist/cjs/types/components/Media/Icons/Icons.d.ts +2 -4
  10. package/dist/cjs/types/components/index.d.ts +0 -3
  11. package/dist/cjs/types/shared/configs/customClasses.d.ts +1 -2
  12. package/dist/cjs/types/shared/configs/themeConfig.d.ts +1 -1
  13. package/dist/cjs/types/shared/models/components/base.model.d.ts +2 -5
  14. package/dist/cjs/types/shared/models/components/common.model.d.ts +1 -32
  15. package/dist/esm/index.css +1 -1
  16. package/dist/esm/index.css.map +1 -1
  17. package/dist/esm/index.js +1 -1
  18. package/dist/esm/index.js.map +1 -1
  19. package/dist/esm/types/components/Button/Button.handler.d.ts +1 -1
  20. package/dist/esm/types/components/Gird/Grid.d.ts +1 -3
  21. package/dist/esm/types/components/Gird/index.d.ts +0 -1
  22. package/dist/esm/types/components/Media/Icons/Icons.d.ts +2 -4
  23. package/dist/esm/types/components/index.d.ts +0 -3
  24. package/dist/esm/types/shared/configs/customClasses.d.ts +1 -2
  25. package/dist/esm/types/shared/configs/themeConfig.d.ts +1 -1
  26. package/dist/esm/types/shared/models/components/base.model.d.ts +2 -5
  27. package/dist/esm/types/shared/models/components/common.model.d.ts +1 -32
  28. package/dist/index.d.ts +7 -52
  29. package/package.json +106 -106
  30. package/dist/cjs/types/components/FilterButtonGroup/Checkbox.d.ts +0 -8
  31. package/dist/cjs/types/components/FilterButtonGroup/FilterButton.d.ts +0 -4
  32. package/dist/cjs/types/components/FilterButtonGroup/FilterButtonGroup.d.ts +0 -4
  33. package/dist/cjs/types/components/FilterButtonGroup/index.d.ts +0 -1
  34. package/dist/cjs/types/components/Gird/GridCheckBox.d.ts +0 -6
  35. package/dist/cjs/types/components/InputFormGen/InputFormGen.test.d.ts +0 -1
  36. package/dist/cjs/types/components/SelectDropdownUser/SelectDropdownUser.d.ts +0 -4
  37. package/dist/cjs/types/components/SelectDropdownUser/SelectUserWithButton.d.ts +0 -4
  38. package/dist/cjs/types/components/SelectDropdownUser/index.d.ts +0 -2
  39. package/dist/esm/types/components/FilterButtonGroup/Checkbox.d.ts +0 -8
  40. package/dist/esm/types/components/FilterButtonGroup/FilterButton.d.ts +0 -4
  41. package/dist/esm/types/components/FilterButtonGroup/FilterButtonGroup.d.ts +0 -4
  42. package/dist/esm/types/components/FilterButtonGroup/index.d.ts +0 -1
  43. package/dist/esm/types/components/Gird/GridCheckBox.d.ts +0 -6
  44. package/dist/esm/types/components/InputFormGen/InputFormGen.test.d.ts +0 -1
  45. package/dist/esm/types/components/SelectDropdownUser/SelectDropdownUser.d.ts +0 -4
  46. package/dist/esm/types/components/SelectDropdownUser/SelectUserWithButton.d.ts +0 -4
  47. package/dist/esm/types/components/SelectDropdownUser/index.d.ts +0 -2
@@ -113,8 +113,6 @@ export interface MessageProps {
113
113
  }
114
114
  export interface BreadcrumbProps {
115
115
  items: BreadcrumbItem[];
116
- singleArrow?: boolean;
117
- addtionalClasses?: string;
118
116
  }
119
117
  export interface BreadcrumbItem {
120
118
  label: string;
@@ -211,7 +209,6 @@ export interface CustomDatePickerProps {
211
209
  additionalClasses?: string | undefined;
212
210
  readOnly?: boolean;
213
211
  type?: InputType;
214
- height?: string;
215
212
  /**
216
213
  * Set new variant of the input
217
214
  */
@@ -294,13 +291,12 @@ export interface DropdownMultiselectProps {
294
291
  onSelectedValuesChange: (selectedValues: string[]) => void;
295
292
  }
296
293
  export interface OptionProps {
294
+ id: string;
297
295
  displayText: string;
298
296
  iconText: string;
299
297
  imageUrl?: string;
300
298
  bgColor?: string;
301
299
  clickedAction?: ClickedAction;
302
- isChecked?: boolean;
303
- id?: string;
304
300
  }
305
301
  export interface BtnOptionDropdown {
306
302
  btnLabel: string;
@@ -322,29 +318,6 @@ export interface DropdownSearchProps {
322
318
  listHeader?: string;
323
319
  selected?: string;
324
320
  }
325
- export interface UserDropdownProps {
326
- options?: OptionProps[];
327
- label?: string;
328
- labelType?: LableTypes;
329
- onSelectedValuesChange?: (selectedValue: OptionProps) => void;
330
- onSelectedMultiValuesChange?: (selectedValue: OptionProps[]) => void;
331
- buttonProps?: BtnOptionDropdown[];
332
- defaultValue?: string;
333
- additionalErrorClasses?: string;
334
- error?: string;
335
- additionalClasses?: string;
336
- readOnly?: boolean;
337
- isBorderedError?: boolean;
338
- selectedValues?: OptionProps[];
339
- setSelectedValues?: any;
340
- onClick?: () => void;
341
- variants?: string;
342
- isNoNBoarder?: boolean;
343
- isLeft?: boolean;
344
- disabled?: boolean;
345
- edited?: boolean;
346
- editedValue?: OptionProps;
347
- }
348
321
  export declare enum ClickedAction {
349
322
  NONE = "NONE",
350
323
  ADDME = "ADDME",
@@ -367,7 +340,6 @@ export interface ButtonGroupProps extends InputGroupProps {
367
340
  id: number;
368
341
  value: string;
369
342
  }[];
370
- optionsUser?: OptionProps[];
371
343
  onSelect: (selectedOption: number) => void;
372
344
  label?: string;
373
345
  error?: string;
@@ -377,9 +349,6 @@ export interface ButtonGroupProps extends InputGroupProps {
377
349
  additionalClasses?: string;
378
350
  onFileChange?: (file: File | null) => void;
379
351
  secondaryComponentsVisible?: boolean;
380
- onSelectedUsers?: (selectedOption: OptionProps[] | undefined) => void;
381
- buttonGroupCol?: string;
382
- onValueChange?: (value: string) => void;
383
352
  }
384
353
  export interface ButtonGroupWithUploadProps extends InputGroupProps {
385
354
  options: {
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import * as React$1 from 'react';
3
- import React__default, { InputHTMLAttributes, SelectHTMLAttributes, TextareaHTMLAttributes, FC, ReactNode, HTMLProps } from 'react';
3
+ import React__default, { InputHTMLAttributes, SelectHTMLAttributes, TextareaHTMLAttributes, FC, ReactNode } from 'react';
4
4
  import { ColumnDef, OnChangeFn, SortingState, PaginationState } from '@tanstack/react-table';
5
5
  export { ColumnDef, SortingState } from '@tanstack/react-table';
6
6
 
@@ -77,8 +77,6 @@ interface MessageProps {
77
77
  }
78
78
  interface BreadcrumbProps {
79
79
  items: BreadcrumbItem[];
80
- singleArrow?: boolean;
81
- addtionalClasses?: string;
82
80
  }
83
81
  interface BreadcrumbItem {
84
82
  label: string;
@@ -175,7 +173,6 @@ interface CustomDatePickerProps {
175
173
  additionalClasses?: string | undefined;
176
174
  readOnly?: boolean;
177
175
  type?: InputType;
178
- height?: string;
179
176
  /**
180
177
  * Set new variant of the input
181
178
  */
@@ -258,13 +255,12 @@ interface DropdownMultiselectProps {
258
255
  onSelectedValuesChange: (selectedValues: string[]) => void;
259
256
  }
260
257
  interface OptionProps {
258
+ id: string;
261
259
  displayText: string;
262
260
  iconText: string;
263
261
  imageUrl?: string;
264
262
  bgColor?: string;
265
263
  clickedAction?: ClickedAction;
266
- isChecked?: boolean;
267
- id?: string;
268
264
  }
269
265
  interface BtnOptionDropdown {
270
266
  btnLabel: string;
@@ -286,29 +282,6 @@ interface DropdownSearchProps {
286
282
  listHeader?: string;
287
283
  selected?: string;
288
284
  }
289
- interface UserDropdownProps {
290
- options?: OptionProps[];
291
- label?: string;
292
- labelType?: LableTypes;
293
- onSelectedValuesChange?: (selectedValue: OptionProps) => void;
294
- onSelectedMultiValuesChange?: (selectedValue: OptionProps[]) => void;
295
- buttonProps?: BtnOptionDropdown[];
296
- defaultValue?: string;
297
- additionalErrorClasses?: string;
298
- error?: string;
299
- additionalClasses?: string;
300
- readOnly?: boolean;
301
- isBorderedError?: boolean;
302
- selectedValues?: OptionProps[];
303
- setSelectedValues?: any;
304
- onClick?: () => void;
305
- variants?: string;
306
- isNoNBoarder?: boolean;
307
- isLeft?: boolean;
308
- disabled?: boolean;
309
- edited?: boolean;
310
- editedValue?: OptionProps;
311
- }
312
285
  declare enum ClickedAction {
313
286
  NONE = "NONE",
314
287
  ADDME = "ADDME",
@@ -331,7 +304,6 @@ interface ButtonGroupProps extends InputGroupProps {
331
304
  id: number;
332
305
  value: string;
333
306
  }[];
334
- optionsUser?: OptionProps[];
335
307
  onSelect: (selectedOption: number) => void;
336
308
  label?: string;
337
309
  error?: string;
@@ -341,9 +313,6 @@ interface ButtonGroupProps extends InputGroupProps {
341
313
  additionalClasses?: string;
342
314
  onFileChange?: (file: File | null) => void;
343
315
  secondaryComponentsVisible?: boolean;
344
- onSelectedUsers?: (selectedOption: OptionProps[] | undefined) => void;
345
- buttonGroupCol?: string;
346
- onValueChange?: (value: string) => void;
347
316
  }
348
317
  interface ButtonGroupWithUploadProps extends InputGroupProps {
349
318
  options: {
@@ -427,7 +396,7 @@ interface ICardInfoProps {
427
396
  HeaderText?: string;
428
397
  }
429
398
 
430
- type VariantTypes = "large" | "small" | "extraSmall" | "largeOutlined" | "smallOutlined" | "extraSmallOutlined" | "default" | "defaultOutlined" | "primaryBlue" | "primaryWhite" | "primaryWhiteSelected" | "primaryWhiteNoBoader" | "primaryWhiteIcon" | "primaryRed" | "primaryFilterSelected" | "primaryBlueFilter" | undefined;
399
+ type VariantTypes = "large" | "small" | "extraSmall" | "largeOutlined" | "smallOutlined" | "extraSmallOutlined" | "default" | "defaultOutlined" | "primaryBlue" | "primaryWhite" | "primaryWhiteSelected" | "primaryWhiteNoBoader" | "primaryWhiteIcon" | "primaryRed" | undefined;
431
400
  interface IButtonProps extends IChildrenProp, IAdditionalClassesProp, IIconTypeProp, IOnClickEventProps {
432
401
  /**
433
402
  * Set the button type
@@ -583,8 +552,6 @@ interface IHookFormsInputProps extends InputHTMLAttributes<HTMLInputElement> {
583
552
  enableToolTip?: boolean;
584
553
  tooltipProps?: ToolTipProps;
585
554
  suffixed?: string;
586
- labelLeftAction?: () => void;
587
- labelLeftText?: string;
588
555
  }
589
556
  interface ICheckboxProps {
590
557
  onChange?: (checked: boolean) => void;
@@ -592,7 +559,7 @@ interface ICheckboxProps {
592
559
  id?: any;
593
560
  label?: string;
594
561
  }
595
- type LABELTYPE = "default" | "black" | "smallSelect" | "blackSmall" | "formLabel" | "formLabelMedeum" | "formButtonGroup" | "fontSemiBold" | undefined;
562
+ type LABELTYPE = "default" | "black" | "smallSelect" | "blackSmall" | "formLabel" | "formLabelMedeum" | "formButtonGroup" | undefined;
596
563
  interface ILabelProps {
597
564
  /**
598
565
  * Set the Label Type
@@ -824,7 +791,6 @@ interface ITabPanelProps extends AdditionalClassesProp {
824
791
  value: string;
825
792
  /** Identifier for the tab panel. */
826
793
  index: string;
827
- isCenter?: boolean;
828
794
  }
829
795
  interface IPanelCardProps extends AdditionalClassesProp {
830
796
  /** Header title displayed on header area of the card. */
@@ -970,7 +936,7 @@ declare const ButtonGroup: React__default.FC<ButtonGroupProps>;
970
936
  declare const Icon: React__default.FC<IIconProps>;
971
937
 
972
938
  declare function Table({ data, columns, sorting, onSortingChange, pagination, onPaginationChange, totalRecords, isManualPagination, // true for server-side pagination
973
- isManualSorting, rowClick, key, setRowSelection, }: {
939
+ isManualSorting, rowClick, }: {
974
940
  data: any[];
975
941
  columns: ColumnDef<any>[];
976
942
  sorting?: any;
@@ -981,15 +947,8 @@ isManualSorting, rowClick, key, setRowSelection, }: {
981
947
  isManualPagination?: boolean;
982
948
  isManualSorting?: boolean;
983
949
  rowClick?: (row: any) => void;
984
- key?: any;
985
- setRowSelection?: any;
986
950
  }): React__default.JSX.Element;
987
951
 
988
- declare function IndeterminateCheckbox({ indeterminate, rowId, className, ...rest }: {
989
- indeterminate?: boolean;
990
- rowId?: any;
991
- } & HTMLProps<HTMLInputElement>): React__default.JSX.Element;
992
-
993
952
  declare const Tab: React__default.FC<ITabProps>;
994
953
 
995
954
  declare const TabList: React__default.FC<ITabListProps>;
@@ -1019,10 +978,6 @@ declare const ButtonGroupWithInputsFormGen: React__default.FC<FormGenButtonGroup
1019
978
 
1020
979
  declare const DynamicDualInputTextGroupFormGen: React__default.FC<DyanamicDualInputProps>;
1021
980
 
1022
- declare const FilterButtonGroup: React__default.FC<ButtonGroupProps>;
1023
-
1024
- declare const SelectUserWithButton: React__default.FC<UserDropdownProps>;
1025
-
1026
981
  interface UseSchemaProcessorProps {
1027
982
  schema: ISchema[];
1028
983
  externalSetComponents: (data: IComponent[]) => void;
@@ -1230,6 +1185,7 @@ declare const themeConfigs: {
1230
1185
  500: string;
1231
1186
  600: string;
1232
1187
  700: string;
1188
+ 720: string;
1233
1189
  725: string;
1234
1190
  800: string;
1235
1191
  820: string;
@@ -1266,7 +1222,6 @@ declare const themeConfigs: {
1266
1222
  "19s": string[];
1267
1223
  "20s": string[];
1268
1224
  "24s": string[];
1269
- "24-32s": string[];
1270
1225
  "26s": string[];
1271
1226
  "28s": string[];
1272
1227
  "32s": string[];
@@ -1327,4 +1282,4 @@ declare const themeConfigs: {
1327
1282
  plugins: any[];
1328
1283
  };
1329
1284
 
1330
- export { 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, Icon, IconInput, ImageInput, ImagePreview, IndeterminateCheckbox, InfoCard, Input, type InputType, InputValidation, InputsGroup, Label, LoadingSpinner, Logo, type LogoProps, Message, type MessageProps, Modal, NavBar, type OptionProps, PanelCard, PhoneNumberInput, ProgressBar, RadioButton, Row, SearchDropdownWithButton, Select, SelectUserWithButton, Stepper, Tab, TabList, TabPanel, Table, TagSelect as TagDropdown, TagSelect, Textarea, Tooltip, Typhography, useSchemaProcessor as UseSchemaProcessor, type VariantTypes, themeConfigs, usePagination, useSorting };
1285
+ export { 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, Heading, Icon, IconInput, ImageInput, ImagePreview, InfoCard, Input, type InputType, InputValidation, InputsGroup, Label, LoadingSpinner, Logo, type LogoProps, Message, type MessageProps, Modal, NavBar, type OptionProps, PanelCard, PhoneNumberInput, ProgressBar, RadioButton, Row, SearchDropdownWithButton, Select, Stepper, Tab, TabList, TabPanel, Table, TagSelect as TagDropdown, TagSelect, Textarea, Tooltip, Typhography, useSchemaProcessor as UseSchemaProcessor, type VariantTypes, themeConfigs, usePagination, useSorting };
package/package.json CHANGED
@@ -1,106 +1,106 @@
1
- {
2
- "name": "dfh-ui-library",
3
- "version": "1.7.99",
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
- "formik": "^2.4.5",
27
- "lodash": "^4.17.21",
28
- "moment": "^2.29.4",
29
- "react": "^18.2.0",
30
- "react-datepicker": "^4.24.0",
31
- "react-dom": "^18.2.0",
32
- "react-input-mask": "^3.0.0-alpha.2",
33
- "react-phone-number-input": "^3.3.7",
34
- "react-select": "^5.8.0",
35
- "react-tooltip": "^5.24.0",
36
- "rollup-plugin-peer-deps-external": "^2.2.4",
37
- "rollup-plugin-scss": "^4.0.0",
38
- "tailwindcss": "^3.3.5",
39
- "tsconfig-paths-webpack-plugin": "^4.1.0",
40
- "tslib": "^2.6.2",
41
- "typescript": "^5.2.2"
42
- },
43
- "devDependencies": {
44
- "@rollup/plugin-commonjs": "^25.0.7",
45
- "@rollup/plugin-node-resolve": "^15.2.3",
46
- "@rollup/plugin-typescript": "^11.1.5",
47
- "@storybook/addon-actions": "^7.6.3",
48
- "@storybook/addon-docs": "^7.5.3",
49
- "@storybook/addon-essentials": "^7.5.3",
50
- "@storybook/addon-interactions": "^7.5.3",
51
- "@storybook/addon-links": "^7.5.3",
52
- "@storybook/addon-onboarding": "^1.0.8",
53
- "@storybook/addon-postcss": "^2.0.0",
54
- "@storybook/blocks": "^7.5.3",
55
- "@storybook/cli": "^7.5.3",
56
- "@storybook/react": "^7.5.3",
57
- "@storybook/react-webpack5": "^7.5.3",
58
- "@storybook/testing-library": "^0.2.2",
59
- "@storybook/theming": "^7.5.3",
60
- "@testing-library/jest-dom": "^6.1.4",
61
- "@testing-library/react": "^14.1.2",
62
- "@testing-library/user-event": "^14.5.1",
63
- "@types/jest": "^29.5.9",
64
- "@types/react-datepicker": "^4.19.4",
65
- "@typescript-eslint/eslint-plugin": "^6.12.0",
66
- "@typescript-eslint/parser": "^6.12.0",
67
- "autoprefixer": "^10.4.16",
68
- "cssnano": "^6.0.1",
69
- "eslint": "^8.54.0",
70
- "eslint-plugin-react": "^7.33.2",
71
- "jest": "^29.7.0",
72
- "jest-environment-jsdom": "^29.7.0",
73
- "postcss": "^8.4.31",
74
- "postcss-cssnext": "^3.1.1",
75
- "postcss-import": "^15.1.0",
76
- "postcss-loader": "^7.3.3",
77
- "rollup": "^4.5.0",
78
- "rollup-plugin-css-only": "^4.5.2",
79
- "rollup-plugin-dts": "^6.1.0",
80
- "rollup-plugin-postcss": "^4.0.2",
81
- "storybook": "^7.5.3",
82
- "sugarss": "^4.0.1",
83
- "vite": "^5.0.0"
84
- },
85
- "peerDependencies": {
86
- "@tailwindcss/forms": "^0.5.7",
87
- "autoprefixer": "^10.4.16",
88
- "classnames": "^2.3.2",
89
- "cssnano": "^6.0.1",
90
- "lodash": "^4.17.21",
91
- "moment": "^2.29.4",
92
- "postcss": "^8.4.31",
93
- "postcss-cssnext": "^3.1.1",
94
- "postcss-import": "^15.1.0",
95
- "postcss-loader": "^7.3.3",
96
- "react": "^18.2.0",
97
- "react-dom": "^18.2.0",
98
- "tailwindcss": "^3.3.5"
99
- },
100
- "main": "dist/cjs/index.js",
101
- "module": "dist/esm/index.js",
102
- "files": [
103
- "dist"
104
- ],
105
- "types": "dist/index.d.ts"
106
- }
1
+ {
2
+ "name": "dfh-ui-library",
3
+ "version": "1.8.02",
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
+ "formik": "^2.4.5",
27
+ "lodash": "^4.17.21",
28
+ "moment": "^2.29.4",
29
+ "react": "^18.2.0",
30
+ "react-datepicker": "^4.24.0",
31
+ "react-dom": "^18.2.0",
32
+ "react-input-mask": "^3.0.0-alpha.2",
33
+ "react-phone-number-input": "^3.3.7",
34
+ "react-select": "^5.8.0",
35
+ "react-tooltip": "^5.24.0",
36
+ "rollup-plugin-peer-deps-external": "^2.2.4",
37
+ "rollup-plugin-scss": "^4.0.0",
38
+ "tailwindcss": "^3.3.5",
39
+ "tsconfig-paths-webpack-plugin": "^4.1.0",
40
+ "tslib": "^2.6.2",
41
+ "typescript": "^5.2.2"
42
+ },
43
+ "devDependencies": {
44
+ "@rollup/plugin-commonjs": "^25.0.7",
45
+ "@rollup/plugin-node-resolve": "^15.2.3",
46
+ "@rollup/plugin-typescript": "^11.1.5",
47
+ "@storybook/addon-actions": "^7.6.3",
48
+ "@storybook/addon-docs": "^7.5.3",
49
+ "@storybook/addon-essentials": "^7.5.3",
50
+ "@storybook/addon-interactions": "^7.5.3",
51
+ "@storybook/addon-links": "^7.5.3",
52
+ "@storybook/addon-onboarding": "^1.0.8",
53
+ "@storybook/addon-postcss": "^2.0.0",
54
+ "@storybook/blocks": "^7.5.3",
55
+ "@storybook/cli": "^7.5.3",
56
+ "@storybook/react": "^7.5.3",
57
+ "@storybook/react-webpack5": "^7.5.3",
58
+ "@storybook/testing-library": "^0.2.2",
59
+ "@storybook/theming": "^7.5.3",
60
+ "@testing-library/jest-dom": "^6.1.4",
61
+ "@testing-library/react": "^14.1.2",
62
+ "@testing-library/user-event": "^14.5.1",
63
+ "@types/jest": "^29.5.9",
64
+ "@types/react-datepicker": "^4.19.4",
65
+ "@typescript-eslint/eslint-plugin": "^6.12.0",
66
+ "@typescript-eslint/parser": "^6.12.0",
67
+ "autoprefixer": "^10.4.16",
68
+ "cssnano": "^6.0.1",
69
+ "eslint": "^8.54.0",
70
+ "eslint-plugin-react": "^7.33.2",
71
+ "jest": "^29.7.0",
72
+ "jest-environment-jsdom": "^29.7.0",
73
+ "postcss": "^8.4.31",
74
+ "postcss-cssnext": "^3.1.1",
75
+ "postcss-import": "^15.1.0",
76
+ "postcss-loader": "^7.3.3",
77
+ "rollup": "^4.5.0",
78
+ "rollup-plugin-css-only": "^4.5.2",
79
+ "rollup-plugin-dts": "^6.1.0",
80
+ "rollup-plugin-postcss": "^4.0.2",
81
+ "storybook": "^7.5.3",
82
+ "sugarss": "^4.0.1",
83
+ "vite": "^5.0.0"
84
+ },
85
+ "peerDependencies": {
86
+ "@tailwindcss/forms": "^0.5.7",
87
+ "autoprefixer": "^10.4.16",
88
+ "classnames": "^2.3.2",
89
+ "cssnano": "^6.0.1",
90
+ "lodash": "^4.17.21",
91
+ "moment": "^2.29.4",
92
+ "postcss": "^8.4.31",
93
+ "postcss-cssnext": "^3.1.1",
94
+ "postcss-import": "^15.1.0",
95
+ "postcss-loader": "^7.3.3",
96
+ "react": "^18.2.0",
97
+ "react-dom": "^18.2.0",
98
+ "tailwindcss": "^3.3.5"
99
+ },
100
+ "main": "dist/cjs/index.js",
101
+ "module": "dist/esm/index.js",
102
+ "files": [
103
+ "dist"
104
+ ],
105
+ "types": "dist/index.d.ts"
106
+ }
@@ -1,8 +0,0 @@
1
- import React from "react";
2
- interface CheckboxProps {
3
- id?: string;
4
- checked?: boolean;
5
- onChange: (id?: string) => void;
6
- }
7
- declare const CheckBoxComponent: React.FC<CheckboxProps>;
8
- export default CheckBoxComponent;
@@ -1,4 +0,0 @@
1
- import React from "react";
2
- import { IButtonProps } from "../../shared/models/components/base.model";
3
- declare const FilterButton: ({ type, isDisabled, buttonLabel, iconType, iconColor, iconAlignment, isIconEnabled, variants, additionalClasses, iconClass, enableBagage, bagageProps, width, onClick, }: IButtonProps) => React.JSX.Element;
4
- export default FilterButton;
@@ -1,4 +0,0 @@
1
- import React from "react";
2
- import { ButtonGroupProps } from "../../shared/models/components/common.model";
3
- declare const FilterButtonGroup: React.FC<ButtonGroupProps>;
4
- export default FilterButtonGroup;
@@ -1 +0,0 @@
1
- export { default } from "./FilterButtonGroup";
@@ -1,6 +0,0 @@
1
- import React from "react";
2
- import { HTMLProps } from "react";
3
- export declare function IndeterminateCheckbox({ indeterminate, rowId, className, ...rest }: {
4
- indeterminate?: boolean;
5
- rowId?: any;
6
- } & HTMLProps<HTMLInputElement>): React.JSX.Element;
@@ -1 +0,0 @@
1
- import "@testing-library/jest-dom";
@@ -1,4 +0,0 @@
1
- import React from "react";
2
- import { UserDropdownProps } from "../../shared/models/components/common.model";
3
- declare const SelectDropdownUser: React.FC<UserDropdownProps>;
4
- export default SelectDropdownUser;
@@ -1,4 +0,0 @@
1
- import React from "react";
2
- import { UserDropdownProps } from "../../shared/models/components/common.model";
3
- declare const SelectUserWithButton: React.FC<UserDropdownProps>;
4
- export default SelectUserWithButton;
@@ -1,2 +0,0 @@
1
- export { default } from "./SelectDropdownUser";
2
- export { default as SelectUserWithButton } from "./SelectUserWithButton";
@@ -1,8 +0,0 @@
1
- import React from "react";
2
- interface CheckboxProps {
3
- id?: string;
4
- checked?: boolean;
5
- onChange: (id?: string) => void;
6
- }
7
- declare const CheckBoxComponent: React.FC<CheckboxProps>;
8
- export default CheckBoxComponent;
@@ -1,4 +0,0 @@
1
- import React from "react";
2
- import { IButtonProps } from "../../shared/models/components/base.model";
3
- declare const FilterButton: ({ type, isDisabled, buttonLabel, iconType, iconColor, iconAlignment, isIconEnabled, variants, additionalClasses, iconClass, enableBagage, bagageProps, width, onClick, }: IButtonProps) => React.JSX.Element;
4
- export default FilterButton;
@@ -1,4 +0,0 @@
1
- import React from "react";
2
- import { ButtonGroupProps } from "../../shared/models/components/common.model";
3
- declare const FilterButtonGroup: React.FC<ButtonGroupProps>;
4
- export default FilterButtonGroup;
@@ -1 +0,0 @@
1
- export { default } from "./FilterButtonGroup";
@@ -1,6 +0,0 @@
1
- import React from "react";
2
- import { HTMLProps } from "react";
3
- export declare function IndeterminateCheckbox({ indeterminate, rowId, className, ...rest }: {
4
- indeterminate?: boolean;
5
- rowId?: any;
6
- } & HTMLProps<HTMLInputElement>): React.JSX.Element;
@@ -1 +0,0 @@
1
- import "@testing-library/jest-dom";
@@ -1,4 +0,0 @@
1
- import React from "react";
2
- import { UserDropdownProps } from "../../shared/models/components/common.model";
3
- declare const SelectDropdownUser: React.FC<UserDropdownProps>;
4
- export default SelectDropdownUser;
@@ -1,4 +0,0 @@
1
- import React from "react";
2
- import { UserDropdownProps } from "../../shared/models/components/common.model";
3
- declare const SelectUserWithButton: React.FC<UserDropdownProps>;
4
- export default SelectUserWithButton;
@@ -1,2 +0,0 @@
1
- export { default } from "./SelectDropdownUser";
2
- export { default as SelectUserWithButton } from "./SelectUserWithButton";