@hexure/ui 1.13.6 → 1.13.7
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 +1510 -1509
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/components/PageHeader/PageHeader.d.ts +2 -0
- package/dist/esm/index.js +1462 -1461
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/PageHeader/PageHeader.d.ts +2 -0
- package/dist/index.d.ts +83 -81
- package/package.json +85 -85
- /package/dist/cjs/types/components/{Multiselect → MultiSelect}/MultiSelect.d.ts +0 -0
- /package/dist/cjs/types/components/{Multiselect → MultiSelect}/index.d.ts +0 -0
- /package/dist/esm/types/components/{Multiselect → MultiSelect}/MultiSelect.d.ts +0 -0
- /package/dist/esm/types/components/{Multiselect → MultiSelect}/index.d.ts +0 -0
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;
|
|
@@ -156,8 +156,8 @@ interface ButtonMenuProps {
|
|
|
156
156
|
enableHover?: boolean;
|
|
157
157
|
enableClick?: boolean;
|
|
158
158
|
}
|
|
159
|
-
declare const ButtonMenu: FC<ButtonMenuProps>;
|
|
160
|
-
|
|
159
|
+
declare const ButtonMenu: FC<ButtonMenuProps>;
|
|
160
|
+
|
|
161
161
|
interface TooltipProps {
|
|
162
162
|
/** It is used to give label to tag. */
|
|
163
163
|
children: any;
|
|
@@ -168,8 +168,8 @@ interface TooltipProps {
|
|
|
168
168
|
/** The element to display that triggers the tooltip content */
|
|
169
169
|
trigger?: any;
|
|
170
170
|
}
|
|
171
|
-
declare const Tooltip: FC<TooltipProps>;
|
|
172
|
-
|
|
171
|
+
declare const Tooltip: FC<TooltipProps>;
|
|
172
|
+
|
|
173
173
|
interface CheckboxProps extends AccessibleProps {
|
|
174
174
|
/** It is used to give label to checkbox. */
|
|
175
175
|
children?: string;
|
|
@@ -185,8 +185,8 @@ interface CheckboxProps extends AccessibleProps {
|
|
|
185
185
|
/** Display a tooltip next to the label */
|
|
186
186
|
tooltip?: TooltipProps;
|
|
187
187
|
}
|
|
188
|
-
declare const Checkbox: FC<CheckboxProps>;
|
|
189
|
-
|
|
188
|
+
declare const Checkbox: FC<CheckboxProps>;
|
|
189
|
+
|
|
190
190
|
interface OptionProps$3 {
|
|
191
191
|
label?: string;
|
|
192
192
|
value: string | number;
|
|
@@ -199,8 +199,8 @@ interface ChecklistProps extends AccessibleProps {
|
|
|
199
199
|
selected: (string | number)[];
|
|
200
200
|
showSelectAll?: boolean;
|
|
201
201
|
}
|
|
202
|
-
declare const Checklist: FC<ChecklistProps>;
|
|
203
|
-
|
|
202
|
+
declare const Checklist: FC<ChecklistProps>;
|
|
203
|
+
|
|
204
204
|
interface CopyProps extends AccessibleProps {
|
|
205
205
|
/** Set the text to be displayed */
|
|
206
206
|
children: string | React.ReactNode;
|
|
@@ -214,8 +214,8 @@ interface CopyProps extends AccessibleProps {
|
|
|
214
214
|
/** Set the color of the copy based on the design system color pallette */
|
|
215
215
|
color?: 'PRIMARY' | 'GREEN' | 'RED' | 'YELLOW' | 'BLACK' | 'GRAY' | 'MEDIUM_GRAY' | 'LIGHT_GRAY';
|
|
216
216
|
}
|
|
217
|
-
declare const Copy: FC<CopyProps>;
|
|
218
|
-
|
|
217
|
+
declare const Copy: FC<CopyProps>;
|
|
218
|
+
|
|
219
219
|
interface styleProps$3 {
|
|
220
220
|
width?: number | string;
|
|
221
221
|
}
|
|
@@ -235,8 +235,8 @@ interface DateProps extends AccessibleProps {
|
|
|
235
235
|
/** Override default styles */
|
|
236
236
|
style?: styleProps$3;
|
|
237
237
|
}
|
|
238
|
-
declare const DatePicker: FC<DateProps>;
|
|
239
|
-
|
|
238
|
+
declare const DatePicker: FC<DateProps>;
|
|
239
|
+
|
|
240
240
|
interface ButtonProps$1 extends AccessibleProps {
|
|
241
241
|
disabled?: boolean;
|
|
242
242
|
children: string;
|
|
@@ -265,8 +265,8 @@ interface DrawerProps extends AccessibleProps {
|
|
|
265
265
|
/** It is used to close drawer. */
|
|
266
266
|
onClose: (e?: any) => void;
|
|
267
267
|
}
|
|
268
|
-
declare const Drawer: FC<DrawerProps>;
|
|
269
|
-
|
|
268
|
+
declare const Drawer: FC<DrawerProps>;
|
|
269
|
+
|
|
270
270
|
interface ActionProps {
|
|
271
271
|
id?: string;
|
|
272
272
|
label: string;
|
|
@@ -289,16 +289,16 @@ interface FieldProps extends AccessibleProps {
|
|
|
289
289
|
/** Display a tooltip next to the label */
|
|
290
290
|
tooltip?: TooltipProps;
|
|
291
291
|
}
|
|
292
|
-
declare const Field: FC<FieldProps>;
|
|
293
|
-
|
|
292
|
+
declare const Field: FC<FieldProps>;
|
|
293
|
+
|
|
294
294
|
interface FieldGroupProps {
|
|
295
295
|
/** The label to display above the field group */
|
|
296
296
|
label: string;
|
|
297
297
|
/** The content of the field group...usually a set of Field components */
|
|
298
298
|
children: any;
|
|
299
299
|
}
|
|
300
|
-
declare const FieldGroup: FC<FieldGroupProps>;
|
|
301
|
-
|
|
300
|
+
declare const FieldGroup: FC<FieldGroupProps>;
|
|
301
|
+
|
|
302
302
|
interface FileUploadProps {
|
|
303
303
|
/** A method to call when files are added/removed. Return the new file or array of files. */
|
|
304
304
|
onChange?: (files: Array<File>) => void;
|
|
@@ -321,8 +321,8 @@ interface ErrorObject {
|
|
|
321
321
|
file: File;
|
|
322
322
|
message: string;
|
|
323
323
|
}
|
|
324
|
-
declare const FileUpload: FC<FileUploadProps>;
|
|
325
|
-
|
|
324
|
+
declare const FileUpload: FC<FileUploadProps>;
|
|
325
|
+
|
|
326
326
|
interface HeadingProps extends AccessibleProps {
|
|
327
327
|
/** Toggle between bold and normal font weights */
|
|
328
328
|
bold?: boolean;
|
|
@@ -335,8 +335,8 @@ interface HeadingProps extends AccessibleProps {
|
|
|
335
335
|
/** Set the type of heading to display: primary, secondary, tertiary */
|
|
336
336
|
type?: 'primary' | 'secondary' | 'tertiary';
|
|
337
337
|
}
|
|
338
|
-
declare const Heading: FC<HeadingProps>;
|
|
339
|
-
|
|
338
|
+
declare const Heading: FC<HeadingProps>;
|
|
339
|
+
|
|
340
340
|
interface styleProps$2 {
|
|
341
341
|
width?: number | string;
|
|
342
342
|
}
|
|
@@ -384,8 +384,8 @@ interface InputProps extends AccessibleProps {
|
|
|
384
384
|
/** Display a loading indicator to the far right of the input */
|
|
385
385
|
loading?: boolean;
|
|
386
386
|
}
|
|
387
|
-
declare const Input: FC<InputProps>;
|
|
388
|
-
|
|
387
|
+
declare const Input: FC<InputProps>;
|
|
388
|
+
|
|
389
389
|
interface LinkProps extends AccessibleProps {
|
|
390
390
|
/** Set the text to be displayed */
|
|
391
391
|
children: string;
|
|
@@ -394,16 +394,16 @@ interface LinkProps extends AccessibleProps {
|
|
|
394
394
|
/** A method to execute when this component is clicked */
|
|
395
395
|
onClick?: (e?: any) => void;
|
|
396
396
|
}
|
|
397
|
-
declare const Link: FC<LinkProps>;
|
|
398
|
-
|
|
399
|
-
declare const Loader: FC;
|
|
400
|
-
|
|
397
|
+
declare const Link: FC<LinkProps>;
|
|
398
|
+
|
|
399
|
+
declare const Loader: FC;
|
|
400
|
+
|
|
401
401
|
interface LogoProps extends AccessibleProps {
|
|
402
402
|
type?: 'mark_red' | 'mark_white' | 'standard_white' | 'standard_black' | 'standard_full' | 'standard_reversed';
|
|
403
403
|
height?: string;
|
|
404
404
|
}
|
|
405
|
-
declare const Logo: FC<LogoProps>;
|
|
406
|
-
|
|
405
|
+
declare const Logo: FC<LogoProps>;
|
|
406
|
+
|
|
407
407
|
interface StepProps {
|
|
408
408
|
label: string;
|
|
409
409
|
complete?: boolean;
|
|
@@ -414,8 +414,8 @@ interface ProgressBarProps {
|
|
|
414
414
|
steps: StepProps[];
|
|
415
415
|
showStepLine?: boolean;
|
|
416
416
|
}
|
|
417
|
-
declare const ProgressBar: FC<ProgressBarProps>;
|
|
418
|
-
|
|
417
|
+
declare const ProgressBar: FC<ProgressBarProps>;
|
|
418
|
+
|
|
419
419
|
interface ButtonProps {
|
|
420
420
|
disabled?: boolean;
|
|
421
421
|
children: string;
|
|
@@ -445,8 +445,8 @@ interface ModalProps extends AccessibleProps {
|
|
|
445
445
|
/** Display steps at the top of the modal */
|
|
446
446
|
steps?: StepProps[];
|
|
447
447
|
}
|
|
448
|
-
declare const Modal: FC<ModalProps>;
|
|
449
|
-
|
|
448
|
+
declare const Modal: FC<ModalProps>;
|
|
449
|
+
|
|
450
450
|
interface OptionProps$2 {
|
|
451
451
|
label?: string;
|
|
452
452
|
value: string | number;
|
|
@@ -466,8 +466,8 @@ interface MultiSelectProps extends AccessibleProps {
|
|
|
466
466
|
style?: styleProps$1;
|
|
467
467
|
searchable?: boolean;
|
|
468
468
|
}
|
|
469
|
-
declare const MultiSelect: FC<MultiSelectProps>;
|
|
470
|
-
|
|
469
|
+
declare const MultiSelect: FC<MultiSelectProps>;
|
|
470
|
+
|
|
471
471
|
interface TagProps extends AccessibleProps {
|
|
472
472
|
/** It is used to select tag-type either default or removable. */
|
|
473
473
|
color?: 'PRIMARY' | 'GREEN' | 'RED' | 'YELLOW' | 'BLACK' | 'SUBTLE_GRAY';
|
|
@@ -478,8 +478,8 @@ interface TagProps extends AccessibleProps {
|
|
|
478
478
|
/** It is callback function called when user wants to close the tag. */
|
|
479
479
|
removable?: boolean;
|
|
480
480
|
}
|
|
481
|
-
declare const Tag: FC<TagProps>;
|
|
482
|
-
|
|
481
|
+
declare const Tag: FC<TagProps>;
|
|
482
|
+
|
|
483
483
|
interface PageHeaderProps {
|
|
484
484
|
title?: string;
|
|
485
485
|
breadcrumbs?: Array<{
|
|
@@ -496,6 +496,8 @@ interface PageHeaderProps {
|
|
|
496
496
|
}>;
|
|
497
497
|
buttonMenu?: {
|
|
498
498
|
disabled?: boolean;
|
|
499
|
+
enableClick?: boolean;
|
|
500
|
+
enableHover?: boolean;
|
|
499
501
|
format?: 'primary' | 'secondary';
|
|
500
502
|
icon?: string;
|
|
501
503
|
label: string;
|
|
@@ -503,15 +505,15 @@ interface PageHeaderProps {
|
|
|
503
505
|
};
|
|
504
506
|
tag?: TagProps;
|
|
505
507
|
}
|
|
506
|
-
declare const PageHeader: FC<PageHeaderProps>;
|
|
507
|
-
|
|
508
|
+
declare const PageHeader: FC<PageHeaderProps>;
|
|
509
|
+
|
|
508
510
|
interface PaginationProps extends AccessibleProps {
|
|
509
511
|
currentPage: number;
|
|
510
512
|
onClick: (e?: any) => void;
|
|
511
513
|
pageCount: number;
|
|
512
514
|
}
|
|
513
|
-
declare const Pagination: FC<PaginationProps>;
|
|
514
|
-
|
|
515
|
+
declare const Pagination: FC<PaginationProps>;
|
|
516
|
+
|
|
515
517
|
interface RadioProps extends AccessibleProps {
|
|
516
518
|
/** It is used to give label to radio. */
|
|
517
519
|
children: string | number;
|
|
@@ -528,8 +530,8 @@ interface RadioProps extends AccessibleProps {
|
|
|
528
530
|
/** Display a tooltip next to the label */
|
|
529
531
|
tooltip?: TooltipProps;
|
|
530
532
|
}
|
|
531
|
-
declare const Radio: FC<RadioProps>;
|
|
532
|
-
|
|
533
|
+
declare const Radio: FC<RadioProps>;
|
|
534
|
+
|
|
533
535
|
interface OptionProps$1 {
|
|
534
536
|
label?: string;
|
|
535
537
|
value: string | number;
|
|
@@ -540,8 +542,8 @@ interface RadioListProps extends AccessibleProps {
|
|
|
540
542
|
options: OptionProps$1[];
|
|
541
543
|
value: string;
|
|
542
544
|
}
|
|
543
|
-
declare const RadioList: FC<RadioListProps>;
|
|
544
|
-
|
|
545
|
+
declare const RadioList: FC<RadioListProps>;
|
|
546
|
+
|
|
545
547
|
interface OptionProps {
|
|
546
548
|
/** It is used to give label to option. */
|
|
547
549
|
label?: string;
|
|
@@ -576,8 +578,8 @@ interface SelectProps extends AccessibleProps {
|
|
|
576
578
|
onChange: (e: any) => void;
|
|
577
579
|
onSearch?: (searchTerm: string) => void;
|
|
578
580
|
}
|
|
579
|
-
declare const Select: FC<SelectProps>;
|
|
580
|
-
|
|
581
|
+
declare const Select: FC<SelectProps>;
|
|
582
|
+
|
|
581
583
|
interface RowObject {
|
|
582
584
|
[key: string]: any;
|
|
583
585
|
}
|
|
@@ -600,8 +602,8 @@ interface TableProps extends AccessibleProps {
|
|
|
600
602
|
onSortChange?: (e?: any) => void;
|
|
601
603
|
tableLayout?: string;
|
|
602
604
|
}
|
|
603
|
-
declare const Table: FC<TableProps>;
|
|
604
|
-
|
|
605
|
+
declare const Table: FC<TableProps>;
|
|
606
|
+
|
|
605
607
|
interface TabProps extends AccessibleProps {
|
|
606
608
|
badgeCount?: number;
|
|
607
609
|
errorBadge?: boolean;
|
|
@@ -612,16 +614,16 @@ interface TabProps extends AccessibleProps {
|
|
|
612
614
|
interface TabsProps extends AccessibleProps {
|
|
613
615
|
tabs: TabProps[];
|
|
614
616
|
}
|
|
615
|
-
declare const Tabs: FC<TabsProps>;
|
|
616
|
-
|
|
617
|
+
declare const Tabs: FC<TabsProps>;
|
|
618
|
+
|
|
617
619
|
interface ToggleProps extends AccessibleProps {
|
|
618
620
|
/** It is used to check whether Toggle is checked or not */
|
|
619
621
|
on: boolean;
|
|
620
622
|
/** Pass a callback then fires when user change value */
|
|
621
623
|
onClick: (e?: any) => void;
|
|
622
624
|
}
|
|
623
|
-
declare const Toggle: FC<ToggleProps>;
|
|
624
|
-
|
|
625
|
+
declare const Toggle: FC<ToggleProps>;
|
|
626
|
+
|
|
625
627
|
interface ZeroStateProps extends AccessibleProps {
|
|
626
628
|
/** The SVG path of the icon to show */
|
|
627
629
|
icon: string;
|
|
@@ -636,8 +638,8 @@ interface ZeroStateProps extends AccessibleProps {
|
|
|
636
638
|
onClick: (e?: any) => void;
|
|
637
639
|
};
|
|
638
640
|
}
|
|
639
|
-
declare const ZeroState: FC<ZeroStateProps>;
|
|
640
|
-
|
|
641
|
+
declare const ZeroState: FC<ZeroStateProps>;
|
|
642
|
+
|
|
641
643
|
declare const getAgesFromDob: (dob: string) => {
|
|
642
644
|
calculated_nearest_age: number | null;
|
|
643
645
|
calculated_current_age: number | null;
|
|
@@ -651,8 +653,8 @@ declare const getYears: () => {
|
|
|
651
653
|
declare const validateEmail: (email: string) => boolean;
|
|
652
654
|
declare const validatePhone: (phone: string) => boolean;
|
|
653
655
|
declare const formatAsPhone: (number: string) => string;
|
|
654
|
-
declare const formatAsSsn: (number: string) => string;
|
|
655
|
-
|
|
656
|
+
declare const formatAsSsn: (number: string) => string;
|
|
657
|
+
|
|
656
658
|
declare const Colors: {
|
|
657
659
|
PRIMARY: {
|
|
658
660
|
Hex: string;
|
|
@@ -704,6 +706,6 @@ declare const EditableTheme: {
|
|
|
704
706
|
Hex: string;
|
|
705
707
|
Rgb: string;
|
|
706
708
|
};
|
|
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 };
|
|
709
|
+
};
|
|
710
|
+
|
|
711
|
+
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.
|
|
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.7",
|
|
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
|
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|