@hexure/ui 1.13.6 → 1.13.8

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/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import React, { FC, ReactNode } from 'react';
2
-
1
+ import React, { FC, ReactNode } from 'react';
2
+
3
3
  interface AccessibleProps {
4
4
  /** Set the css id for the main wrapping html element */
5
5
  id?: string;
@@ -13,8 +13,8 @@ interface AccessibleProps {
13
13
  tabIndex?: number;
14
14
  /** Set a label for an interactive element. See https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-label */
15
15
  'aria-label'?: string;
16
- }
17
-
16
+ }
17
+
18
18
  interface AccordionProps extends AccessibleProps {
19
19
  title?: string;
20
20
  /** Define the content to be displayed */
@@ -24,8 +24,8 @@ interface AccordionProps extends AccessibleProps {
24
24
  /** Method to call when the header is clicked */
25
25
  onClick: (e?: any) => void;
26
26
  }
27
- declare const Accordion: FC<AccordionProps>;
28
-
27
+ declare const Accordion: FC<AccordionProps>;
28
+
29
29
  interface ButtonProps$4 {
30
30
  children: string;
31
31
  format?: string;
@@ -50,8 +50,8 @@ interface ActionDialogProps extends AccessibleProps {
50
50
  interface CustomStyle {
51
51
  [key: string]: string | number;
52
52
  }
53
- declare const ActionDialog: FC<ActionDialogProps>;
54
-
53
+ declare const ActionDialog: FC<ActionDialogProps>;
54
+
55
55
  interface ActionProps$1 extends AccessibleProps {
56
56
  label: string;
57
57
  onClick: (e?: any) => void;
@@ -67,8 +67,8 @@ interface AlertProps extends AccessibleProps {
67
67
  /** Show a condensed, smaller version of the alert. The title and action props will be ignore if this is set to true */
68
68
  small?: boolean;
69
69
  }
70
- declare const Alert: FC<AlertProps>;
71
-
70
+ declare const Alert: FC<AlertProps>;
71
+
72
72
  interface ButtonProps$3 extends AccessibleProps {
73
73
  /** Display a number badge on the right side of the button */
74
74
  badge?: number;
@@ -91,14 +91,14 @@ interface ButtonProps$3 extends AccessibleProps {
91
91
  /** Define which button format to display. By default the Primary button will be used. */
92
92
  format?: 'primary' | 'secondary' | 'red' | 'green' | string;
93
93
  }
94
- declare const Button: FC<ButtonProps$3>;
95
-
94
+ declare const Button: FC<ButtonProps$3>;
95
+
96
96
  interface AppHeaderProps {
97
97
  logoUrl?: string;
98
98
  buttons: ButtonProps$3[];
99
99
  }
100
- declare const AppHeader: FC<AppHeaderProps>;
101
-
100
+ declare const AppHeader: FC<AppHeaderProps>;
101
+
102
102
  interface MenuItemType extends AccessibleProps {
103
103
  icon: string;
104
104
  label: string;
@@ -116,8 +116,8 @@ interface AppMenuProps extends AccessibleProps {
116
116
  footerTag?: string;
117
117
  defaultWidth?: string;
118
118
  }
119
- declare const AppMenu: FC<AppMenuProps>;
120
-
119
+ declare const AppMenu: FC<AppMenuProps>;
120
+
121
121
  interface ButtonProps$2 {
122
122
  children: string;
123
123
  onClick: (e?: any) => void;
@@ -130,8 +130,8 @@ interface BulkActionBarProps extends AccessibleProps {
130
130
  onClear: (e?: any) => void;
131
131
  selectedCount?: number;
132
132
  }
133
- declare const BulkActionBar: FC<BulkActionBarProps>;
134
-
133
+ declare const BulkActionBar: FC<BulkActionBarProps>;
134
+
135
135
  interface MenuItemProps extends AccessibleProps {
136
136
  icon?: string;
137
137
  label?: string;
@@ -142,8 +142,8 @@ interface MoreMenuProps extends AccessibleProps {
142
142
  menuItems: MenuItemProps[];
143
143
  maxHeight?: string | number;
144
144
  }
145
- declare const MoreMenu: FC<MoreMenuProps>;
146
-
145
+ declare const MoreMenu: FC<MoreMenuProps>;
146
+
147
147
  interface ButtonMenuProps {
148
148
  disabled?: boolean;
149
149
  label: string;
@@ -155,9 +155,10 @@ interface ButtonMenuProps {
155
155
  format?: 'primary' | 'secondary';
156
156
  enableHover?: boolean;
157
157
  enableClick?: boolean;
158
+ show?: boolean;
158
159
  }
159
- declare const ButtonMenu: FC<ButtonMenuProps>;
160
-
160
+ declare const ButtonMenu: FC<ButtonMenuProps>;
161
+
161
162
  interface TooltipProps {
162
163
  /** It is used to give label to tag. */
163
164
  children: any;
@@ -168,8 +169,8 @@ interface TooltipProps {
168
169
  /** The element to display that triggers the tooltip content */
169
170
  trigger?: any;
170
171
  }
171
- declare const Tooltip: FC<TooltipProps>;
172
-
172
+ declare const Tooltip: FC<TooltipProps>;
173
+
173
174
  interface CheckboxProps extends AccessibleProps {
174
175
  /** It is used to give label to checkbox. */
175
176
  children?: string;
@@ -185,8 +186,8 @@ interface CheckboxProps extends AccessibleProps {
185
186
  /** Display a tooltip next to the label */
186
187
  tooltip?: TooltipProps;
187
188
  }
188
- declare const Checkbox: FC<CheckboxProps>;
189
-
189
+ declare const Checkbox: FC<CheckboxProps>;
190
+
190
191
  interface OptionProps$3 {
191
192
  label?: string;
192
193
  value: string | number;
@@ -199,8 +200,8 @@ interface ChecklistProps extends AccessibleProps {
199
200
  selected: (string | number)[];
200
201
  showSelectAll?: boolean;
201
202
  }
202
- declare const Checklist: FC<ChecklistProps>;
203
-
203
+ declare const Checklist: FC<ChecklistProps>;
204
+
204
205
  interface CopyProps extends AccessibleProps {
205
206
  /** Set the text to be displayed */
206
207
  children: string | React.ReactNode;
@@ -214,8 +215,8 @@ interface CopyProps extends AccessibleProps {
214
215
  /** Set the color of the copy based on the design system color pallette */
215
216
  color?: 'PRIMARY' | 'GREEN' | 'RED' | 'YELLOW' | 'BLACK' | 'GRAY' | 'MEDIUM_GRAY' | 'LIGHT_GRAY';
216
217
  }
217
- declare const Copy: FC<CopyProps>;
218
-
218
+ declare const Copy: FC<CopyProps>;
219
+
219
220
  interface styleProps$3 {
220
221
  width?: number | string;
221
222
  }
@@ -235,8 +236,8 @@ interface DateProps extends AccessibleProps {
235
236
  /** Override default styles */
236
237
  style?: styleProps$3;
237
238
  }
238
- declare const DatePicker: FC<DateProps>;
239
-
239
+ declare const DatePicker: FC<DateProps>;
240
+
240
241
  interface ButtonProps$1 extends AccessibleProps {
241
242
  disabled?: boolean;
242
243
  children: string;
@@ -265,8 +266,8 @@ interface DrawerProps extends AccessibleProps {
265
266
  /** It is used to close drawer. */
266
267
  onClose: (e?: any) => void;
267
268
  }
268
- declare const Drawer: FC<DrawerProps>;
269
-
269
+ declare const Drawer: FC<DrawerProps>;
270
+
270
271
  interface ActionProps {
271
272
  id?: string;
272
273
  label: string;
@@ -289,16 +290,16 @@ interface FieldProps extends AccessibleProps {
289
290
  /** Display a tooltip next to the label */
290
291
  tooltip?: TooltipProps;
291
292
  }
292
- declare const Field: FC<FieldProps>;
293
-
293
+ declare const Field: FC<FieldProps>;
294
+
294
295
  interface FieldGroupProps {
295
296
  /** The label to display above the field group */
296
297
  label: string;
297
298
  /** The content of the field group...usually a set of Field components */
298
299
  children: any;
299
300
  }
300
- declare const FieldGroup: FC<FieldGroupProps>;
301
-
301
+ declare const FieldGroup: FC<FieldGroupProps>;
302
+
302
303
  interface FileUploadProps {
303
304
  /** A method to call when files are added/removed. Return the new file or array of files. */
304
305
  onChange?: (files: Array<File>) => void;
@@ -321,8 +322,8 @@ interface ErrorObject {
321
322
  file: File;
322
323
  message: string;
323
324
  }
324
- declare const FileUpload: FC<FileUploadProps>;
325
-
325
+ declare const FileUpload: FC<FileUploadProps>;
326
+
326
327
  interface HeadingProps extends AccessibleProps {
327
328
  /** Toggle between bold and normal font weights */
328
329
  bold?: boolean;
@@ -335,8 +336,8 @@ interface HeadingProps extends AccessibleProps {
335
336
  /** Set the type of heading to display: primary, secondary, tertiary */
336
337
  type?: 'primary' | 'secondary' | 'tertiary';
337
338
  }
338
- declare const Heading: FC<HeadingProps>;
339
-
339
+ declare const Heading: FC<HeadingProps>;
340
+
340
341
  interface styleProps$2 {
341
342
  width?: number | string;
342
343
  }
@@ -384,8 +385,8 @@ interface InputProps extends AccessibleProps {
384
385
  /** Display a loading indicator to the far right of the input */
385
386
  loading?: boolean;
386
387
  }
387
- declare const Input: FC<InputProps>;
388
-
388
+ declare const Input: FC<InputProps>;
389
+
389
390
  interface LinkProps extends AccessibleProps {
390
391
  /** Set the text to be displayed */
391
392
  children: string;
@@ -394,16 +395,16 @@ interface LinkProps extends AccessibleProps {
394
395
  /** A method to execute when this component is clicked */
395
396
  onClick?: (e?: any) => void;
396
397
  }
397
- declare const Link: FC<LinkProps>;
398
-
399
- declare const Loader: FC;
400
-
398
+ declare const Link: FC<LinkProps>;
399
+
400
+ declare const Loader: FC;
401
+
401
402
  interface LogoProps extends AccessibleProps {
402
403
  type?: 'mark_red' | 'mark_white' | 'standard_white' | 'standard_black' | 'standard_full' | 'standard_reversed';
403
404
  height?: string;
404
405
  }
405
- declare const Logo: FC<LogoProps>;
406
-
406
+ declare const Logo: FC<LogoProps>;
407
+
407
408
  interface StepProps {
408
409
  label: string;
409
410
  complete?: boolean;
@@ -414,8 +415,8 @@ interface ProgressBarProps {
414
415
  steps: StepProps[];
415
416
  showStepLine?: boolean;
416
417
  }
417
- declare const ProgressBar: FC<ProgressBarProps>;
418
-
418
+ declare const ProgressBar: FC<ProgressBarProps>;
419
+
419
420
  interface ButtonProps {
420
421
  disabled?: boolean;
421
422
  children: string;
@@ -445,8 +446,8 @@ interface ModalProps extends AccessibleProps {
445
446
  /** Display steps at the top of the modal */
446
447
  steps?: StepProps[];
447
448
  }
448
- declare const Modal: FC<ModalProps>;
449
-
449
+ declare const Modal: FC<ModalProps>;
450
+
450
451
  interface OptionProps$2 {
451
452
  label?: string;
452
453
  value: string | number;
@@ -466,8 +467,8 @@ interface MultiSelectProps extends AccessibleProps {
466
467
  style?: styleProps$1;
467
468
  searchable?: boolean;
468
469
  }
469
- declare const MultiSelect: FC<MultiSelectProps>;
470
-
470
+ declare const MultiSelect: FC<MultiSelectProps>;
471
+
471
472
  interface TagProps extends AccessibleProps {
472
473
  /** It is used to select tag-type either default or removable. */
473
474
  color?: 'PRIMARY' | 'GREEN' | 'RED' | 'YELLOW' | 'BLACK' | 'SUBTLE_GRAY';
@@ -478,8 +479,8 @@ interface TagProps extends AccessibleProps {
478
479
  /** It is callback function called when user wants to close the tag. */
479
480
  removable?: boolean;
480
481
  }
481
- declare const Tag: FC<TagProps>;
482
-
482
+ declare const Tag: FC<TagProps>;
483
+
483
484
  interface PageHeaderProps {
484
485
  title?: string;
485
486
  breadcrumbs?: Array<{
@@ -496,22 +497,25 @@ interface PageHeaderProps {
496
497
  }>;
497
498
  buttonMenu?: {
498
499
  disabled?: boolean;
500
+ enableClick?: boolean;
501
+ enableHover?: boolean;
499
502
  format?: 'primary' | 'secondary';
500
503
  icon?: string;
501
504
  label: string;
502
505
  menuItems: Array<MenuItemProps>;
506
+ show: true;
503
507
  };
504
508
  tag?: TagProps;
505
509
  }
506
- declare const PageHeader: FC<PageHeaderProps>;
507
-
510
+ declare const PageHeader: FC<PageHeaderProps>;
511
+
508
512
  interface PaginationProps extends AccessibleProps {
509
513
  currentPage: number;
510
514
  onClick: (e?: any) => void;
511
515
  pageCount: number;
512
516
  }
513
- declare const Pagination: FC<PaginationProps>;
514
-
517
+ declare const Pagination: FC<PaginationProps>;
518
+
515
519
  interface RadioProps extends AccessibleProps {
516
520
  /** It is used to give label to radio. */
517
521
  children: string | number;
@@ -528,8 +532,8 @@ interface RadioProps extends AccessibleProps {
528
532
  /** Display a tooltip next to the label */
529
533
  tooltip?: TooltipProps;
530
534
  }
531
- declare const Radio: FC<RadioProps>;
532
-
535
+ declare const Radio: FC<RadioProps>;
536
+
533
537
  interface OptionProps$1 {
534
538
  label?: string;
535
539
  value: string | number;
@@ -540,8 +544,8 @@ interface RadioListProps extends AccessibleProps {
540
544
  options: OptionProps$1[];
541
545
  value: string;
542
546
  }
543
- declare const RadioList: FC<RadioListProps>;
544
-
547
+ declare const RadioList: FC<RadioListProps>;
548
+
545
549
  interface OptionProps {
546
550
  /** It is used to give label to option. */
547
551
  label?: string;
@@ -576,8 +580,8 @@ interface SelectProps extends AccessibleProps {
576
580
  onChange: (e: any) => void;
577
581
  onSearch?: (searchTerm: string) => void;
578
582
  }
579
- declare const Select: FC<SelectProps>;
580
-
583
+ declare const Select: FC<SelectProps>;
584
+
581
585
  interface RowObject {
582
586
  [key: string]: any;
583
587
  }
@@ -600,8 +604,8 @@ interface TableProps extends AccessibleProps {
600
604
  onSortChange?: (e?: any) => void;
601
605
  tableLayout?: string;
602
606
  }
603
- declare const Table: FC<TableProps>;
604
-
607
+ declare const Table: FC<TableProps>;
608
+
605
609
  interface TabProps extends AccessibleProps {
606
610
  badgeCount?: number;
607
611
  errorBadge?: boolean;
@@ -612,32 +616,34 @@ interface TabProps extends AccessibleProps {
612
616
  interface TabsProps extends AccessibleProps {
613
617
  tabs: TabProps[];
614
618
  }
615
- declare const Tabs: FC<TabsProps>;
616
-
619
+ declare const Tabs: FC<TabsProps>;
620
+
617
621
  interface ToggleProps extends AccessibleProps {
618
622
  /** It is used to check whether Toggle is checked or not */
619
623
  on: boolean;
620
624
  /** Pass a callback then fires when user change value */
621
625
  onClick: (e?: any) => void;
622
626
  }
623
- declare const Toggle: FC<ToggleProps>;
624
-
627
+ declare const Toggle: FC<ToggleProps>;
628
+
625
629
  interface ZeroStateProps extends AccessibleProps {
626
630
  /** The SVG path of the icon to show */
627
631
  icon: string;
628
632
  /** It is used to give title. */
629
633
  title: string;
630
634
  /** It is used to give description. */
631
- description?: string;
635
+ description?: string | React.ReactNode;
632
636
  /** It is used to pass object to button. */
633
637
  action?: {
634
638
  children: string;
635
639
  icon?: string;
636
640
  onClick: (e?: any) => void;
641
+ format?: 'primary' | 'secondary' | 'red' | 'green' | string;
642
+ disabled?: boolean;
637
643
  };
638
644
  }
639
- declare const ZeroState: FC<ZeroStateProps>;
640
-
645
+ declare const ZeroState: FC<ZeroStateProps>;
646
+
641
647
  declare const getAgesFromDob: (dob: string) => {
642
648
  calculated_nearest_age: number | null;
643
649
  calculated_current_age: number | null;
@@ -651,8 +657,8 @@ declare const getYears: () => {
651
657
  declare const validateEmail: (email: string) => boolean;
652
658
  declare const validatePhone: (phone: string) => boolean;
653
659
  declare const formatAsPhone: (number: string) => string;
654
- declare const formatAsSsn: (number: string) => string;
655
-
660
+ declare const formatAsSsn: (number: string) => string;
661
+
656
662
  declare const Colors: {
657
663
  PRIMARY: {
658
664
  Hex: string;
@@ -704,6 +710,6 @@ declare const EditableTheme: {
704
710
  Hex: string;
705
711
  Rgb: string;
706
712
  };
707
- };
708
-
709
- export { AccessibleProps, Accordion, ActionDialog, Alert, AppHeader, AppMenu, BulkActionBar, Button, ButtonMenu, Checkbox, Checklist, Colors, Copy, DatePicker, Drawer, EditableTheme, Field, FieldGroup, FileUpload, FontSizes, FontStyles, Heading, Input, Link, Loader, Logo, Modal, MoreMenu, MultiSelect, PageHeader, Pagination, ProgressBar, Radio, RadioList, Select, Table, Tabs, Tag, Toggle, Tooltip, ZeroState, formatAsPhone, formatAsSsn, getAgesFromDob, getDaysForMonth, getYears, validateEmail, validatePhone };
713
+ };
714
+
715
+ export { AccessibleProps, Accordion, ActionDialog, Alert, AppHeader, AppMenu, BulkActionBar, Button, ButtonMenu, Checkbox, Checklist, Colors, Copy, DatePicker, Drawer, EditableTheme, Field, FieldGroup, FileUpload, FontSizes, FontStyles, Heading, Input, Link, Loader, Logo, Modal, MoreMenu, MultiSelect, PageHeader, Pagination, ProgressBar, Radio, RadioList, Select, Table, Tabs, Tag, Toggle, Tooltip, ZeroState, formatAsPhone, formatAsSsn, getAgesFromDob, getDaysForMonth, getYears, validateEmail, validatePhone };
package/package.json CHANGED
@@ -1,86 +1,86 @@
1
- {
2
- "name": "@hexure/ui",
3
- "version": "1.13.6",
4
- "description": "A library of shared UI components used within Hexure products.",
5
- "scripts": {
6
- "rollup": "rollup -c rollup.config.mjs",
7
- "test": "jest",
8
- "prettier": "prettier --write src/",
9
- "eslint": "eslint src/",
10
- "eslint-fix": "eslint src/ --fix",
11
- "test:watch": "jest --watch",
12
- "storybook": "storybook dev -p 6006",
13
- "build-storybook": "storybook build"
14
- },
15
- "keywords": [
16
- "hexure"
17
- ],
18
- "author": "Hexure",
19
- "license": "ISC",
20
- "devDependencies": {
21
- "@babel/core": "^7.18.13",
22
- "@babel/preset-env": "^7.18.10",
23
- "@babel/preset-react": "^7.18.6",
24
- "@babel/preset-typescript": "^7.18.6",
25
- "@chromatic-com/storybook": "^1.6.1",
26
- "@rollup/plugin-babel": "^6.0.3",
27
- "@rollup/plugin-commonjs": "^25.0.0",
28
- "@rollup/plugin-eslint": "^9.0.4",
29
- "@rollup/plugin-node-resolve": "^15.0.2",
30
- "@rollup/plugin-typescript": "^11.1.1",
31
- "@storybook/addon-actions": "^8.2.4",
32
- "@storybook/addon-controls": "^8.2.4",
33
- "@storybook/addon-viewport": "^8.2.4",
34
- "@storybook/addon-webpack5-compiler-babel": "^3.0.3",
35
- "@storybook/react": "^8.2.4",
36
- "@storybook/react-webpack5": "^8.2.4",
37
- "@storybook/test": "^8.2.4",
38
- "@testing-library/jest-dom": "^5.16.5",
39
- "@testing-library/react": "^12.1.5",
40
- "@testing-library/user-event": "^14.4.3",
41
- "@types/jest": "^29.0.3",
42
- "@types/numeral": "^2.0.2",
43
- "@types/react": "^18.2.33",
44
- "@types/react-dom": "^18.2.14",
45
- "@types/styled-components": "^5.1.26",
46
- "@typescript-eslint/eslint-plugin": "^5.50.0",
47
- "@typescript-eslint/parser": "^5.50.0",
48
- "babel-jest": "^29.0.1",
49
- "babel-loader": "^8.2.5",
50
- "eslint": "^8.33.0",
51
- "eslint-config-prettier": "^8.6.0",
52
- "eslint-plugin-react": "^7.32.2",
53
- "identity-obj-proxy": "^3.0.0",
54
- "jest": "^29.0.1",
55
- "jest-environment-jsdom": "^29.0.1",
56
- "jsdom": "^20.0.0",
57
- "prettier": "^2.8.3",
58
- "react": "^16.14.0",
59
- "react-dom": "^16.14.0",
60
- "rollup": "^3.23.0",
61
- "rollup-plugin-dts": "^5.3.0",
62
- "storybook": "^8.2.4",
63
- "typescript": "^4.8.2"
64
- },
65
- "main": "dist/cjs/index.js",
66
- "module": "dist/esm/index.js",
67
- "files": [
68
- "dist"
69
- ],
70
- "types": "dist/index.d.ts",
71
- "peerDependencies": {
72
- "@mdi/font": ">=7.0.96",
73
- "@mdi/js": ">=7.1.96",
74
- "@mdi/react": ">=1.6.1",
75
- "dayjs": "^1.11.8",
76
- "moment": ">=2.29.4",
77
- "numeral": ">=2.0.6",
78
- "react": ">=16.14.0",
79
- "react-dom": ">=16.14.0",
80
- "styled-components": "^6.1.8"
81
- },
82
- "repository": {
83
- "type": "git",
84
- "url": "https://InsuranceTechnologies@dev.azure.com/InsuranceTechnologies/Enterprise/_git/InsTech.UI.Library"
85
- }
1
+ {
2
+ "name": "@hexure/ui",
3
+ "version": "1.13.8",
4
+ "description": "A library of shared UI components used within Hexure products.",
5
+ "scripts": {
6
+ "rollup": "rollup -c rollup.config.mjs",
7
+ "test": "jest",
8
+ "prettier": "prettier --write src/",
9
+ "eslint": "eslint src/",
10
+ "eslint-fix": "eslint src/ --fix",
11
+ "test:watch": "jest --watch",
12
+ "storybook": "storybook dev -p 6006",
13
+ "build-storybook": "storybook build"
14
+ },
15
+ "keywords": [
16
+ "hexure"
17
+ ],
18
+ "author": "Hexure",
19
+ "license": "ISC",
20
+ "devDependencies": {
21
+ "@babel/core": "^7.18.13",
22
+ "@babel/preset-env": "^7.18.10",
23
+ "@babel/preset-react": "^7.18.6",
24
+ "@babel/preset-typescript": "^7.18.6",
25
+ "@chromatic-com/storybook": "^1.6.1",
26
+ "@rollup/plugin-babel": "^6.0.3",
27
+ "@rollup/plugin-commonjs": "^25.0.0",
28
+ "@rollup/plugin-eslint": "^9.0.4",
29
+ "@rollup/plugin-node-resolve": "^15.0.2",
30
+ "@rollup/plugin-typescript": "^11.1.1",
31
+ "@storybook/addon-actions": "^8.2.4",
32
+ "@storybook/addon-controls": "^8.2.4",
33
+ "@storybook/addon-viewport": "^8.2.4",
34
+ "@storybook/addon-webpack5-compiler-babel": "^3.0.3",
35
+ "@storybook/react": "^8.2.4",
36
+ "@storybook/react-webpack5": "^8.2.4",
37
+ "@storybook/test": "^8.2.4",
38
+ "@testing-library/jest-dom": "^5.16.5",
39
+ "@testing-library/react": "^12.1.5",
40
+ "@testing-library/user-event": "^14.4.3",
41
+ "@types/jest": "^29.0.3",
42
+ "@types/numeral": "^2.0.2",
43
+ "@types/react": "^18.2.33",
44
+ "@types/react-dom": "^18.2.14",
45
+ "@types/styled-components": "^5.1.26",
46
+ "@typescript-eslint/eslint-plugin": "^5.50.0",
47
+ "@typescript-eslint/parser": "^5.50.0",
48
+ "babel-jest": "^29.0.1",
49
+ "babel-loader": "^8.2.5",
50
+ "eslint": "^8.33.0",
51
+ "eslint-config-prettier": "^8.6.0",
52
+ "eslint-plugin-react": "^7.32.2",
53
+ "identity-obj-proxy": "^3.0.0",
54
+ "jest": "^29.0.1",
55
+ "jest-environment-jsdom": "^29.0.1",
56
+ "jsdom": "^20.0.0",
57
+ "prettier": "^2.8.3",
58
+ "react": "^16.14.0",
59
+ "react-dom": "^16.14.0",
60
+ "rollup": "^3.23.0",
61
+ "rollup-plugin-dts": "^5.3.0",
62
+ "storybook": "^8.2.4",
63
+ "typescript": "^4.8.2"
64
+ },
65
+ "main": "dist/cjs/index.js",
66
+ "module": "dist/esm/index.js",
67
+ "files": [
68
+ "dist"
69
+ ],
70
+ "types": "dist/index.d.ts",
71
+ "peerDependencies": {
72
+ "@mdi/font": ">=7.0.96",
73
+ "@mdi/js": ">=7.1.96",
74
+ "@mdi/react": ">=1.6.1",
75
+ "dayjs": "^1.11.8",
76
+ "moment": ">=2.29.4",
77
+ "numeral": ">=2.0.6",
78
+ "react": ">=16.14.0",
79
+ "react-dom": ">=16.14.0",
80
+ "styled-components": "^6.1.8"
81
+ },
82
+ "repository": {
83
+ "type": "git",
84
+ "url": "https://InsuranceTechnologies@dev.azure.com/InsuranceTechnologies/Enterprise/_git/InsTech.UI.Library"
85
+ }
86
86
  }