@hexure/ui 1.13.4 → 1.13.6
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.js +1541 -1531
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/components/MoreMenu/MoreMenu.d.ts +1 -0
- package/dist/esm/index.js +1493 -1483
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/MoreMenu/MoreMenu.d.ts +1 -0
- package/dist/index.d.ts +82 -81
- package/package.json +86 -85
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,19 +130,20 @@ 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;
|
|
138
138
|
onClick: (e?: any) => void;
|
|
139
|
+
disabled?: boolean;
|
|
139
140
|
}
|
|
140
141
|
interface MoreMenuProps extends AccessibleProps {
|
|
141
142
|
menuItems: MenuItemProps[];
|
|
142
143
|
maxHeight?: string | number;
|
|
143
144
|
}
|
|
144
|
-
declare const MoreMenu: FC<MoreMenuProps>;
|
|
145
|
-
|
|
145
|
+
declare const MoreMenu: FC<MoreMenuProps>;
|
|
146
|
+
|
|
146
147
|
interface ButtonMenuProps {
|
|
147
148
|
disabled?: boolean;
|
|
148
149
|
label: string;
|
|
@@ -155,8 +156,8 @@ interface ButtonMenuProps {
|
|
|
155
156
|
enableHover?: boolean;
|
|
156
157
|
enableClick?: boolean;
|
|
157
158
|
}
|
|
158
|
-
declare const ButtonMenu: FC<ButtonMenuProps>;
|
|
159
|
-
|
|
159
|
+
declare const ButtonMenu: FC<ButtonMenuProps>;
|
|
160
|
+
|
|
160
161
|
interface TooltipProps {
|
|
161
162
|
/** It is used to give label to tag. */
|
|
162
163
|
children: any;
|
|
@@ -167,8 +168,8 @@ interface TooltipProps {
|
|
|
167
168
|
/** The element to display that triggers the tooltip content */
|
|
168
169
|
trigger?: any;
|
|
169
170
|
}
|
|
170
|
-
declare const Tooltip: FC<TooltipProps>;
|
|
171
|
-
|
|
171
|
+
declare const Tooltip: FC<TooltipProps>;
|
|
172
|
+
|
|
172
173
|
interface CheckboxProps extends AccessibleProps {
|
|
173
174
|
/** It is used to give label to checkbox. */
|
|
174
175
|
children?: string;
|
|
@@ -184,8 +185,8 @@ interface CheckboxProps extends AccessibleProps {
|
|
|
184
185
|
/** Display a tooltip next to the label */
|
|
185
186
|
tooltip?: TooltipProps;
|
|
186
187
|
}
|
|
187
|
-
declare const Checkbox: FC<CheckboxProps>;
|
|
188
|
-
|
|
188
|
+
declare const Checkbox: FC<CheckboxProps>;
|
|
189
|
+
|
|
189
190
|
interface OptionProps$3 {
|
|
190
191
|
label?: string;
|
|
191
192
|
value: string | number;
|
|
@@ -198,8 +199,8 @@ interface ChecklistProps extends AccessibleProps {
|
|
|
198
199
|
selected: (string | number)[];
|
|
199
200
|
showSelectAll?: boolean;
|
|
200
201
|
}
|
|
201
|
-
declare const Checklist: FC<ChecklistProps>;
|
|
202
|
-
|
|
202
|
+
declare const Checklist: FC<ChecklistProps>;
|
|
203
|
+
|
|
203
204
|
interface CopyProps extends AccessibleProps {
|
|
204
205
|
/** Set the text to be displayed */
|
|
205
206
|
children: string | React.ReactNode;
|
|
@@ -213,8 +214,8 @@ interface CopyProps extends AccessibleProps {
|
|
|
213
214
|
/** Set the color of the copy based on the design system color pallette */
|
|
214
215
|
color?: 'PRIMARY' | 'GREEN' | 'RED' | 'YELLOW' | 'BLACK' | 'GRAY' | 'MEDIUM_GRAY' | 'LIGHT_GRAY';
|
|
215
216
|
}
|
|
216
|
-
declare const Copy: FC<CopyProps>;
|
|
217
|
-
|
|
217
|
+
declare const Copy: FC<CopyProps>;
|
|
218
|
+
|
|
218
219
|
interface styleProps$3 {
|
|
219
220
|
width?: number | string;
|
|
220
221
|
}
|
|
@@ -234,8 +235,8 @@ interface DateProps extends AccessibleProps {
|
|
|
234
235
|
/** Override default styles */
|
|
235
236
|
style?: styleProps$3;
|
|
236
237
|
}
|
|
237
|
-
declare const DatePicker: FC<DateProps>;
|
|
238
|
-
|
|
238
|
+
declare const DatePicker: FC<DateProps>;
|
|
239
|
+
|
|
239
240
|
interface ButtonProps$1 extends AccessibleProps {
|
|
240
241
|
disabled?: boolean;
|
|
241
242
|
children: string;
|
|
@@ -264,8 +265,8 @@ interface DrawerProps extends AccessibleProps {
|
|
|
264
265
|
/** It is used to close drawer. */
|
|
265
266
|
onClose: (e?: any) => void;
|
|
266
267
|
}
|
|
267
|
-
declare const Drawer: FC<DrawerProps>;
|
|
268
|
-
|
|
268
|
+
declare const Drawer: FC<DrawerProps>;
|
|
269
|
+
|
|
269
270
|
interface ActionProps {
|
|
270
271
|
id?: string;
|
|
271
272
|
label: string;
|
|
@@ -288,16 +289,16 @@ interface FieldProps extends AccessibleProps {
|
|
|
288
289
|
/** Display a tooltip next to the label */
|
|
289
290
|
tooltip?: TooltipProps;
|
|
290
291
|
}
|
|
291
|
-
declare const Field: FC<FieldProps>;
|
|
292
|
-
|
|
292
|
+
declare const Field: FC<FieldProps>;
|
|
293
|
+
|
|
293
294
|
interface FieldGroupProps {
|
|
294
295
|
/** The label to display above the field group */
|
|
295
296
|
label: string;
|
|
296
297
|
/** The content of the field group...usually a set of Field components */
|
|
297
298
|
children: any;
|
|
298
299
|
}
|
|
299
|
-
declare const FieldGroup: FC<FieldGroupProps>;
|
|
300
|
-
|
|
300
|
+
declare const FieldGroup: FC<FieldGroupProps>;
|
|
301
|
+
|
|
301
302
|
interface FileUploadProps {
|
|
302
303
|
/** A method to call when files are added/removed. Return the new file or array of files. */
|
|
303
304
|
onChange?: (files: Array<File>) => void;
|
|
@@ -320,8 +321,8 @@ interface ErrorObject {
|
|
|
320
321
|
file: File;
|
|
321
322
|
message: string;
|
|
322
323
|
}
|
|
323
|
-
declare const FileUpload: FC<FileUploadProps>;
|
|
324
|
-
|
|
324
|
+
declare const FileUpload: FC<FileUploadProps>;
|
|
325
|
+
|
|
325
326
|
interface HeadingProps extends AccessibleProps {
|
|
326
327
|
/** Toggle between bold and normal font weights */
|
|
327
328
|
bold?: boolean;
|
|
@@ -334,8 +335,8 @@ interface HeadingProps extends AccessibleProps {
|
|
|
334
335
|
/** Set the type of heading to display: primary, secondary, tertiary */
|
|
335
336
|
type?: 'primary' | 'secondary' | 'tertiary';
|
|
336
337
|
}
|
|
337
|
-
declare const Heading: FC<HeadingProps>;
|
|
338
|
-
|
|
338
|
+
declare const Heading: FC<HeadingProps>;
|
|
339
|
+
|
|
339
340
|
interface styleProps$2 {
|
|
340
341
|
width?: number | string;
|
|
341
342
|
}
|
|
@@ -383,8 +384,8 @@ interface InputProps extends AccessibleProps {
|
|
|
383
384
|
/** Display a loading indicator to the far right of the input */
|
|
384
385
|
loading?: boolean;
|
|
385
386
|
}
|
|
386
|
-
declare const Input: FC<InputProps>;
|
|
387
|
-
|
|
387
|
+
declare const Input: FC<InputProps>;
|
|
388
|
+
|
|
388
389
|
interface LinkProps extends AccessibleProps {
|
|
389
390
|
/** Set the text to be displayed */
|
|
390
391
|
children: string;
|
|
@@ -393,16 +394,16 @@ interface LinkProps extends AccessibleProps {
|
|
|
393
394
|
/** A method to execute when this component is clicked */
|
|
394
395
|
onClick?: (e?: any) => void;
|
|
395
396
|
}
|
|
396
|
-
declare const Link: FC<LinkProps>;
|
|
397
|
-
|
|
398
|
-
declare const Loader: FC;
|
|
399
|
-
|
|
397
|
+
declare const Link: FC<LinkProps>;
|
|
398
|
+
|
|
399
|
+
declare const Loader: FC;
|
|
400
|
+
|
|
400
401
|
interface LogoProps extends AccessibleProps {
|
|
401
402
|
type?: 'mark_red' | 'mark_white' | 'standard_white' | 'standard_black' | 'standard_full' | 'standard_reversed';
|
|
402
403
|
height?: string;
|
|
403
404
|
}
|
|
404
|
-
declare const Logo: FC<LogoProps>;
|
|
405
|
-
|
|
405
|
+
declare const Logo: FC<LogoProps>;
|
|
406
|
+
|
|
406
407
|
interface StepProps {
|
|
407
408
|
label: string;
|
|
408
409
|
complete?: boolean;
|
|
@@ -413,8 +414,8 @@ interface ProgressBarProps {
|
|
|
413
414
|
steps: StepProps[];
|
|
414
415
|
showStepLine?: boolean;
|
|
415
416
|
}
|
|
416
|
-
declare const ProgressBar: FC<ProgressBarProps>;
|
|
417
|
-
|
|
417
|
+
declare const ProgressBar: FC<ProgressBarProps>;
|
|
418
|
+
|
|
418
419
|
interface ButtonProps {
|
|
419
420
|
disabled?: boolean;
|
|
420
421
|
children: string;
|
|
@@ -444,8 +445,8 @@ interface ModalProps extends AccessibleProps {
|
|
|
444
445
|
/** Display steps at the top of the modal */
|
|
445
446
|
steps?: StepProps[];
|
|
446
447
|
}
|
|
447
|
-
declare const Modal: FC<ModalProps>;
|
|
448
|
-
|
|
448
|
+
declare const Modal: FC<ModalProps>;
|
|
449
|
+
|
|
449
450
|
interface OptionProps$2 {
|
|
450
451
|
label?: string;
|
|
451
452
|
value: string | number;
|
|
@@ -465,8 +466,8 @@ interface MultiSelectProps extends AccessibleProps {
|
|
|
465
466
|
style?: styleProps$1;
|
|
466
467
|
searchable?: boolean;
|
|
467
468
|
}
|
|
468
|
-
declare const MultiSelect: FC<MultiSelectProps>;
|
|
469
|
-
|
|
469
|
+
declare const MultiSelect: FC<MultiSelectProps>;
|
|
470
|
+
|
|
470
471
|
interface TagProps extends AccessibleProps {
|
|
471
472
|
/** It is used to select tag-type either default or removable. */
|
|
472
473
|
color?: 'PRIMARY' | 'GREEN' | 'RED' | 'YELLOW' | 'BLACK' | 'SUBTLE_GRAY';
|
|
@@ -477,8 +478,8 @@ interface TagProps extends AccessibleProps {
|
|
|
477
478
|
/** It is callback function called when user wants to close the tag. */
|
|
478
479
|
removable?: boolean;
|
|
479
480
|
}
|
|
480
|
-
declare const Tag: FC<TagProps>;
|
|
481
|
-
|
|
481
|
+
declare const Tag: FC<TagProps>;
|
|
482
|
+
|
|
482
483
|
interface PageHeaderProps {
|
|
483
484
|
title?: string;
|
|
484
485
|
breadcrumbs?: Array<{
|
|
@@ -502,15 +503,15 @@ interface PageHeaderProps {
|
|
|
502
503
|
};
|
|
503
504
|
tag?: TagProps;
|
|
504
505
|
}
|
|
505
|
-
declare const PageHeader: FC<PageHeaderProps>;
|
|
506
|
-
|
|
506
|
+
declare const PageHeader: FC<PageHeaderProps>;
|
|
507
|
+
|
|
507
508
|
interface PaginationProps extends AccessibleProps {
|
|
508
509
|
currentPage: number;
|
|
509
510
|
onClick: (e?: any) => void;
|
|
510
511
|
pageCount: number;
|
|
511
512
|
}
|
|
512
|
-
declare const Pagination: FC<PaginationProps>;
|
|
513
|
-
|
|
513
|
+
declare const Pagination: FC<PaginationProps>;
|
|
514
|
+
|
|
514
515
|
interface RadioProps extends AccessibleProps {
|
|
515
516
|
/** It is used to give label to radio. */
|
|
516
517
|
children: string | number;
|
|
@@ -527,8 +528,8 @@ interface RadioProps extends AccessibleProps {
|
|
|
527
528
|
/** Display a tooltip next to the label */
|
|
528
529
|
tooltip?: TooltipProps;
|
|
529
530
|
}
|
|
530
|
-
declare const Radio: FC<RadioProps>;
|
|
531
|
-
|
|
531
|
+
declare const Radio: FC<RadioProps>;
|
|
532
|
+
|
|
532
533
|
interface OptionProps$1 {
|
|
533
534
|
label?: string;
|
|
534
535
|
value: string | number;
|
|
@@ -539,8 +540,8 @@ interface RadioListProps extends AccessibleProps {
|
|
|
539
540
|
options: OptionProps$1[];
|
|
540
541
|
value: string;
|
|
541
542
|
}
|
|
542
|
-
declare const RadioList: FC<RadioListProps>;
|
|
543
|
-
|
|
543
|
+
declare const RadioList: FC<RadioListProps>;
|
|
544
|
+
|
|
544
545
|
interface OptionProps {
|
|
545
546
|
/** It is used to give label to option. */
|
|
546
547
|
label?: string;
|
|
@@ -575,8 +576,8 @@ interface SelectProps extends AccessibleProps {
|
|
|
575
576
|
onChange: (e: any) => void;
|
|
576
577
|
onSearch?: (searchTerm: string) => void;
|
|
577
578
|
}
|
|
578
|
-
declare const Select: FC<SelectProps>;
|
|
579
|
-
|
|
579
|
+
declare const Select: FC<SelectProps>;
|
|
580
|
+
|
|
580
581
|
interface RowObject {
|
|
581
582
|
[key: string]: any;
|
|
582
583
|
}
|
|
@@ -599,8 +600,8 @@ interface TableProps extends AccessibleProps {
|
|
|
599
600
|
onSortChange?: (e?: any) => void;
|
|
600
601
|
tableLayout?: string;
|
|
601
602
|
}
|
|
602
|
-
declare const Table: FC<TableProps>;
|
|
603
|
-
|
|
603
|
+
declare const Table: FC<TableProps>;
|
|
604
|
+
|
|
604
605
|
interface TabProps extends AccessibleProps {
|
|
605
606
|
badgeCount?: number;
|
|
606
607
|
errorBadge?: boolean;
|
|
@@ -611,16 +612,16 @@ interface TabProps extends AccessibleProps {
|
|
|
611
612
|
interface TabsProps extends AccessibleProps {
|
|
612
613
|
tabs: TabProps[];
|
|
613
614
|
}
|
|
614
|
-
declare const Tabs: FC<TabsProps>;
|
|
615
|
-
|
|
615
|
+
declare const Tabs: FC<TabsProps>;
|
|
616
|
+
|
|
616
617
|
interface ToggleProps extends AccessibleProps {
|
|
617
618
|
/** It is used to check whether Toggle is checked or not */
|
|
618
619
|
on: boolean;
|
|
619
620
|
/** Pass a callback then fires when user change value */
|
|
620
621
|
onClick: (e?: any) => void;
|
|
621
622
|
}
|
|
622
|
-
declare const Toggle: FC<ToggleProps>;
|
|
623
|
-
|
|
623
|
+
declare const Toggle: FC<ToggleProps>;
|
|
624
|
+
|
|
624
625
|
interface ZeroStateProps extends AccessibleProps {
|
|
625
626
|
/** The SVG path of the icon to show */
|
|
626
627
|
icon: string;
|
|
@@ -635,8 +636,8 @@ interface ZeroStateProps extends AccessibleProps {
|
|
|
635
636
|
onClick: (e?: any) => void;
|
|
636
637
|
};
|
|
637
638
|
}
|
|
638
|
-
declare const ZeroState: FC<ZeroStateProps>;
|
|
639
|
-
|
|
639
|
+
declare const ZeroState: FC<ZeroStateProps>;
|
|
640
|
+
|
|
640
641
|
declare const getAgesFromDob: (dob: string) => {
|
|
641
642
|
calculated_nearest_age: number | null;
|
|
642
643
|
calculated_current_age: number | null;
|
|
@@ -650,8 +651,8 @@ declare const getYears: () => {
|
|
|
650
651
|
declare const validateEmail: (email: string) => boolean;
|
|
651
652
|
declare const validatePhone: (phone: string) => boolean;
|
|
652
653
|
declare const formatAsPhone: (number: string) => string;
|
|
653
|
-
declare const formatAsSsn: (number: string) => string;
|
|
654
|
-
|
|
654
|
+
declare const formatAsSsn: (number: string) => string;
|
|
655
|
+
|
|
655
656
|
declare const Colors: {
|
|
656
657
|
PRIMARY: {
|
|
657
658
|
Hex: string;
|
|
@@ -703,6 +704,6 @@ declare const EditableTheme: {
|
|
|
703
704
|
Hex: string;
|
|
704
705
|
Rgb: string;
|
|
705
706
|
};
|
|
706
|
-
};
|
|
707
|
-
|
|
708
|
-
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 };
|
|
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 };
|
package/package.json
CHANGED
|
@@ -1,85 +1,86 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@hexure/ui",
|
|
3
|
-
"version": "1.13.
|
|
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
|
-
"@
|
|
26
|
-
"@rollup/plugin-
|
|
27
|
-
"@rollup/plugin-
|
|
28
|
-
"@rollup/plugin-
|
|
29
|
-
"@rollup/plugin-
|
|
30
|
-
"@
|
|
31
|
-
"@storybook/addon-
|
|
32
|
-
"@storybook/addon-
|
|
33
|
-
"@storybook/
|
|
34
|
-
"@storybook/
|
|
35
|
-
"@storybook/
|
|
36
|
-
"@
|
|
37
|
-
"@
|
|
38
|
-
"@testing-library/
|
|
39
|
-
"@
|
|
40
|
-
"@
|
|
41
|
-
"@types/
|
|
42
|
-
"@types/
|
|
43
|
-
"@types/
|
|
44
|
-
"@
|
|
45
|
-
"@
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
"
|
|
50
|
-
"eslint
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
-
"
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
"
|
|
58
|
-
"
|
|
59
|
-
"
|
|
60
|
-
"
|
|
61
|
-
"
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
"
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
"
|
|
71
|
-
|
|
72
|
-
"@mdi/
|
|
73
|
-
"@mdi/
|
|
74
|
-
"
|
|
75
|
-
"
|
|
76
|
-
"
|
|
77
|
-
"
|
|
78
|
-
"react
|
|
79
|
-
"
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
"
|
|
84
|
-
|
|
85
|
-
}
|
|
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
|
+
}
|
|
86
|
+
}
|