@hexure/ui 1.12.7 → 1.12.9
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 +1163 -1114
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/components/Checkbox/Checkbox.d.ts +1 -0
- package/dist/cjs/types/components/Checklist/Checklist.d.ts +1 -0
- package/dist/cjs/types/components/Input/Input.d.ts +2 -1
- package/dist/cjs/types/components/Multiselect/MultiSelect.d.ts +2 -0
- package/dist/cjs/types/components/Select/Select.d.ts +3 -0
- package/dist/cjs/types/components/Toast/Index.d.ts +2 -0
- package/dist/cjs/types/components/Toast/Toast.d.ts +13 -0
- package/dist/esm/index.js +1115 -1066
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/Checkbox/Checkbox.d.ts +1 -0
- package/dist/esm/types/components/Checklist/Checklist.d.ts +1 -0
- package/dist/esm/types/components/Input/Input.d.ts +2 -1
- package/dist/esm/types/components/Multiselect/MultiSelect.d.ts +2 -0
- package/dist/esm/types/components/Select/Select.d.ts +3 -0
- package/dist/esm/types/components/Toast/Index.d.ts +2 -0
- package/dist/esm/types/components/Toast/Toast.d.ts +13 -0
- package/dist/index.d.ts +89 -81
- package/package.json +1 -1
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?: 'primary' | 'red';
|
|
@@ -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;
|
|
@@ -141,8 +141,8 @@ interface MoreMenuProps extends AccessibleProps {
|
|
|
141
141
|
menuItems: MenuItemProps[];
|
|
142
142
|
maxHeight?: string | number;
|
|
143
143
|
}
|
|
144
|
-
declare const MoreMenu: FC<MoreMenuProps>;
|
|
145
|
-
|
|
144
|
+
declare const MoreMenu: FC<MoreMenuProps>;
|
|
145
|
+
|
|
146
146
|
interface ButtonMenuProps {
|
|
147
147
|
disabled?: boolean;
|
|
148
148
|
label: string;
|
|
@@ -153,8 +153,8 @@ interface ButtonMenuProps {
|
|
|
153
153
|
position?: 'left' | 'right';
|
|
154
154
|
format?: 'primary' | 'secondary';
|
|
155
155
|
}
|
|
156
|
-
declare const ButtonMenu: FC<ButtonMenuProps>;
|
|
157
|
-
|
|
156
|
+
declare const ButtonMenu: FC<ButtonMenuProps>;
|
|
157
|
+
|
|
158
158
|
interface TooltipProps {
|
|
159
159
|
/** It is used to give label to tag. */
|
|
160
160
|
children: any;
|
|
@@ -165,13 +165,14 @@ interface TooltipProps {
|
|
|
165
165
|
/** The element to display that triggers the tooltip content */
|
|
166
166
|
trigger?: any;
|
|
167
167
|
}
|
|
168
|
-
declare const Tooltip: FC<TooltipProps>;
|
|
169
|
-
|
|
168
|
+
declare const Tooltip: FC<TooltipProps>;
|
|
169
|
+
|
|
170
170
|
interface CheckboxProps extends AccessibleProps {
|
|
171
171
|
/** It is used to give label to checkbox. */
|
|
172
172
|
children?: string;
|
|
173
173
|
/** It is used to disable checkbox. */
|
|
174
174
|
disabled?: boolean;
|
|
175
|
+
color?: string;
|
|
175
176
|
/** If it's value id true then checkbox is default checked. */
|
|
176
177
|
checked?: boolean;
|
|
177
178
|
/** It is used to change value of checkbox. */
|
|
@@ -181,11 +182,12 @@ interface CheckboxProps extends AccessibleProps {
|
|
|
181
182
|
/** Display a tooltip next to the label */
|
|
182
183
|
tooltip?: TooltipProps;
|
|
183
184
|
}
|
|
184
|
-
declare const Checkbox: FC<CheckboxProps>;
|
|
185
|
-
|
|
185
|
+
declare const Checkbox: FC<CheckboxProps>;
|
|
186
|
+
|
|
186
187
|
interface OptionProps$3 {
|
|
187
188
|
label?: string;
|
|
188
189
|
value: string | number;
|
|
190
|
+
color?: string;
|
|
189
191
|
}
|
|
190
192
|
interface ChecklistProps extends AccessibleProps {
|
|
191
193
|
disabled?: boolean;
|
|
@@ -194,8 +196,8 @@ interface ChecklistProps extends AccessibleProps {
|
|
|
194
196
|
selected: (string | number)[];
|
|
195
197
|
showSelectAll?: boolean;
|
|
196
198
|
}
|
|
197
|
-
declare const Checklist: FC<ChecklistProps>;
|
|
198
|
-
|
|
199
|
+
declare const Checklist: FC<ChecklistProps>;
|
|
200
|
+
|
|
199
201
|
interface CopyProps extends AccessibleProps {
|
|
200
202
|
/** Set the text to be displayed */
|
|
201
203
|
children: string | React.ReactNode;
|
|
@@ -209,8 +211,8 @@ interface CopyProps extends AccessibleProps {
|
|
|
209
211
|
/** Set the color of the copy based on the design system color pallette */
|
|
210
212
|
color?: 'PRIMARY' | 'GREEN' | 'RED' | 'YELLOW' | 'BLACK' | 'GRAY' | 'MEDIUM_GRAY' | 'LIGHT_GRAY';
|
|
211
213
|
}
|
|
212
|
-
declare const Copy: FC<CopyProps>;
|
|
213
|
-
|
|
214
|
+
declare const Copy: FC<CopyProps>;
|
|
215
|
+
|
|
214
216
|
interface styleProps$3 {
|
|
215
217
|
width?: number | string;
|
|
216
218
|
}
|
|
@@ -230,8 +232,8 @@ interface DateProps extends AccessibleProps {
|
|
|
230
232
|
/** Override default styles */
|
|
231
233
|
style?: styleProps$3;
|
|
232
234
|
}
|
|
233
|
-
declare const DatePicker: FC<DateProps>;
|
|
234
|
-
|
|
235
|
+
declare const DatePicker: FC<DateProps>;
|
|
236
|
+
|
|
235
237
|
interface ButtonProps$1 extends AccessibleProps {
|
|
236
238
|
disabled?: boolean;
|
|
237
239
|
children: string;
|
|
@@ -260,8 +262,8 @@ interface DrawerProps extends AccessibleProps {
|
|
|
260
262
|
/** It is used to close drawer. */
|
|
261
263
|
onClose: (e?: any) => void;
|
|
262
264
|
}
|
|
263
|
-
declare const Drawer: FC<DrawerProps>;
|
|
264
|
-
|
|
265
|
+
declare const Drawer: FC<DrawerProps>;
|
|
266
|
+
|
|
265
267
|
interface ActionProps {
|
|
266
268
|
id?: string;
|
|
267
269
|
label: string;
|
|
@@ -284,16 +286,16 @@ interface FieldProps extends AccessibleProps {
|
|
|
284
286
|
/** Display a tooltip next to the label */
|
|
285
287
|
tooltip?: TooltipProps;
|
|
286
288
|
}
|
|
287
|
-
declare const Field: FC<FieldProps>;
|
|
288
|
-
|
|
289
|
+
declare const Field: FC<FieldProps>;
|
|
290
|
+
|
|
289
291
|
interface FieldGroupProps {
|
|
290
292
|
/** The label to display above the field group */
|
|
291
293
|
label: string;
|
|
292
294
|
/** The content of the field group...usually a set of Field components */
|
|
293
295
|
children: any;
|
|
294
296
|
}
|
|
295
|
-
declare const FieldGroup: FC<FieldGroupProps>;
|
|
296
|
-
|
|
297
|
+
declare const FieldGroup: FC<FieldGroupProps>;
|
|
298
|
+
|
|
297
299
|
interface FileUploadProps {
|
|
298
300
|
/** A method to call when files are added/removed. Return the new file or array of files. */
|
|
299
301
|
onChange?: (files: Array<File>) => void;
|
|
@@ -314,8 +316,8 @@ interface ErrorObject {
|
|
|
314
316
|
file: File;
|
|
315
317
|
message: string;
|
|
316
318
|
}
|
|
317
|
-
declare const FileUpload: FC<FileUploadProps>;
|
|
318
|
-
|
|
319
|
+
declare const FileUpload: FC<FileUploadProps>;
|
|
320
|
+
|
|
319
321
|
interface HeadingProps extends AccessibleProps {
|
|
320
322
|
/** Toggle between bold and normal font weights */
|
|
321
323
|
bold?: boolean;
|
|
@@ -328,8 +330,8 @@ interface HeadingProps extends AccessibleProps {
|
|
|
328
330
|
/** Set the type of heading to display: primary, secondary, tertiary */
|
|
329
331
|
type?: 'primary' | 'secondary' | 'tertiary';
|
|
330
332
|
}
|
|
331
|
-
declare const Heading: FC<HeadingProps>;
|
|
332
|
-
|
|
333
|
+
declare const Heading: FC<HeadingProps>;
|
|
334
|
+
|
|
333
335
|
interface styleProps$2 {
|
|
334
336
|
width?: number | string;
|
|
335
337
|
}
|
|
@@ -376,9 +378,10 @@ interface InputProps extends AccessibleProps {
|
|
|
376
378
|
suggestedValues?: string[];
|
|
377
379
|
/** Display a loading indicator to the far right of the input */
|
|
378
380
|
loading?: boolean;
|
|
381
|
+
inputRef?: React.Ref<HTMLInputElement | HTMLTextAreaElement>;
|
|
379
382
|
}
|
|
380
|
-
declare const Input: FC<InputProps>;
|
|
381
|
-
|
|
383
|
+
declare const Input: FC<InputProps>;
|
|
384
|
+
|
|
382
385
|
interface LinkProps extends AccessibleProps {
|
|
383
386
|
/** Set the text to be displayed */
|
|
384
387
|
children: string;
|
|
@@ -387,16 +390,16 @@ interface LinkProps extends AccessibleProps {
|
|
|
387
390
|
/** A method to execute when this component is clicked */
|
|
388
391
|
onClick?: (e?: any) => void;
|
|
389
392
|
}
|
|
390
|
-
declare const Link: FC<LinkProps>;
|
|
391
|
-
|
|
392
|
-
declare const Loader: FC;
|
|
393
|
-
|
|
393
|
+
declare const Link: FC<LinkProps>;
|
|
394
|
+
|
|
395
|
+
declare const Loader: FC;
|
|
396
|
+
|
|
394
397
|
interface LogoProps extends AccessibleProps {
|
|
395
398
|
type?: 'mark_red' | 'mark_white' | 'standard_white' | 'standard_black' | 'standard_full' | 'standard_reversed';
|
|
396
399
|
height?: string;
|
|
397
400
|
}
|
|
398
|
-
declare const Logo: FC<LogoProps>;
|
|
399
|
-
|
|
401
|
+
declare const Logo: FC<LogoProps>;
|
|
402
|
+
|
|
400
403
|
interface StepProps {
|
|
401
404
|
label: string;
|
|
402
405
|
complete?: boolean;
|
|
@@ -407,8 +410,8 @@ interface ProgressBarProps {
|
|
|
407
410
|
steps: StepProps[];
|
|
408
411
|
showStepLine?: boolean;
|
|
409
412
|
}
|
|
410
|
-
declare const ProgressBar: FC<ProgressBarProps>;
|
|
411
|
-
|
|
413
|
+
declare const ProgressBar: FC<ProgressBarProps>;
|
|
414
|
+
|
|
412
415
|
interface ButtonProps {
|
|
413
416
|
disabled?: boolean;
|
|
414
417
|
children: string;
|
|
@@ -437,11 +440,12 @@ interface ModalProps extends AccessibleProps {
|
|
|
437
440
|
/** Display steps at the top of the modal */
|
|
438
441
|
steps?: StepProps[];
|
|
439
442
|
}
|
|
440
|
-
declare const Modal: FC<ModalProps>;
|
|
441
|
-
|
|
443
|
+
declare const Modal: FC<ModalProps>;
|
|
444
|
+
|
|
442
445
|
interface OptionProps$2 {
|
|
443
446
|
label?: string;
|
|
444
447
|
value: string | number;
|
|
448
|
+
color?: string;
|
|
445
449
|
}
|
|
446
450
|
interface styleProps$1 {
|
|
447
451
|
width?: number | string;
|
|
@@ -455,9 +459,10 @@ interface MultiSelectProps extends AccessibleProps {
|
|
|
455
459
|
selected: (string | number)[];
|
|
456
460
|
showSelectAll?: boolean;
|
|
457
461
|
style?: styleProps$1;
|
|
462
|
+
searchable?: boolean;
|
|
458
463
|
}
|
|
459
|
-
declare const MultiSelect: FC<MultiSelectProps>;
|
|
460
|
-
|
|
464
|
+
declare const MultiSelect: FC<MultiSelectProps>;
|
|
465
|
+
|
|
461
466
|
interface TagProps extends AccessibleProps {
|
|
462
467
|
/** It is used to select tag-type either default or removable. */
|
|
463
468
|
color?: 'PRIMARY' | 'GREEN' | 'RED' | 'YELLOW' | 'BLACK' | 'SUBTLE_GRAY';
|
|
@@ -468,8 +473,8 @@ interface TagProps extends AccessibleProps {
|
|
|
468
473
|
/** It is callback function called when user wants to close the tag. */
|
|
469
474
|
removable?: boolean;
|
|
470
475
|
}
|
|
471
|
-
declare const Tag: FC<TagProps>;
|
|
472
|
-
|
|
476
|
+
declare const Tag: FC<TagProps>;
|
|
477
|
+
|
|
473
478
|
interface PageHeaderProps {
|
|
474
479
|
title?: string;
|
|
475
480
|
breadcrumbs?: Array<{
|
|
@@ -493,15 +498,15 @@ interface PageHeaderProps {
|
|
|
493
498
|
};
|
|
494
499
|
tag?: TagProps;
|
|
495
500
|
}
|
|
496
|
-
declare const PageHeader: FC<PageHeaderProps>;
|
|
497
|
-
|
|
501
|
+
declare const PageHeader: FC<PageHeaderProps>;
|
|
502
|
+
|
|
498
503
|
interface PaginationProps extends AccessibleProps {
|
|
499
504
|
currentPage: number;
|
|
500
505
|
onClick: (e?: any) => void;
|
|
501
506
|
pageCount: number;
|
|
502
507
|
}
|
|
503
|
-
declare const Pagination: FC<PaginationProps>;
|
|
504
|
-
|
|
508
|
+
declare const Pagination: FC<PaginationProps>;
|
|
509
|
+
|
|
505
510
|
interface RadioProps extends AccessibleProps {
|
|
506
511
|
/** It is used to give label to radio. */
|
|
507
512
|
children: string | number;
|
|
@@ -518,8 +523,8 @@ interface RadioProps extends AccessibleProps {
|
|
|
518
523
|
/** Display a tooltip next to the label */
|
|
519
524
|
tooltip?: TooltipProps;
|
|
520
525
|
}
|
|
521
|
-
declare const Radio: FC<RadioProps>;
|
|
522
|
-
|
|
526
|
+
declare const Radio: FC<RadioProps>;
|
|
527
|
+
|
|
523
528
|
interface OptionProps$1 {
|
|
524
529
|
label?: string;
|
|
525
530
|
value: string | number;
|
|
@@ -530,13 +535,14 @@ interface RadioListProps extends AccessibleProps {
|
|
|
530
535
|
options: OptionProps$1[];
|
|
531
536
|
value: string;
|
|
532
537
|
}
|
|
533
|
-
declare const RadioList: FC<RadioListProps>;
|
|
534
|
-
|
|
538
|
+
declare const RadioList: FC<RadioListProps>;
|
|
539
|
+
|
|
535
540
|
interface OptionProps {
|
|
536
541
|
/** It is used to give label to option. */
|
|
537
542
|
label?: string;
|
|
538
543
|
/** It is used to give value to option. */
|
|
539
544
|
value: string | number;
|
|
545
|
+
color?: string;
|
|
540
546
|
}
|
|
541
547
|
interface OptionGroupProps {
|
|
542
548
|
options: OptionProps[];
|
|
@@ -552,6 +558,7 @@ interface SelectProps extends AccessibleProps {
|
|
|
552
558
|
options?: OptionProps[];
|
|
553
559
|
optionGroups?: OptionGroupProps[];
|
|
554
560
|
placeholder?: string;
|
|
561
|
+
searchable?: boolean;
|
|
555
562
|
/** If it's value is true then select is disabled. */
|
|
556
563
|
readOnly?: boolean;
|
|
557
564
|
/** It is used to show error messages when it's value is false. */
|
|
@@ -562,9 +569,10 @@ interface SelectProps extends AccessibleProps {
|
|
|
562
569
|
style?: styleProps;
|
|
563
570
|
/** It is used to change value when an option is clicked. */
|
|
564
571
|
onChange: (e: any) => void;
|
|
572
|
+
onSearch?: (searchTerm: string) => void;
|
|
565
573
|
}
|
|
566
|
-
declare const Select: FC<SelectProps>;
|
|
567
|
-
|
|
574
|
+
declare const Select: FC<SelectProps>;
|
|
575
|
+
|
|
568
576
|
interface RowObject {
|
|
569
577
|
[key: string]: any;
|
|
570
578
|
}
|
|
@@ -587,8 +595,8 @@ interface TableProps extends AccessibleProps {
|
|
|
587
595
|
onSortChange?: (e?: any) => void;
|
|
588
596
|
tableLayout?: string;
|
|
589
597
|
}
|
|
590
|
-
declare const Table: FC<TableProps>;
|
|
591
|
-
|
|
598
|
+
declare const Table: FC<TableProps>;
|
|
599
|
+
|
|
592
600
|
interface TabProps extends AccessibleProps {
|
|
593
601
|
badgeCount?: number;
|
|
594
602
|
errorBadge?: boolean;
|
|
@@ -599,16 +607,16 @@ interface TabProps extends AccessibleProps {
|
|
|
599
607
|
interface TabsProps extends AccessibleProps {
|
|
600
608
|
tabs: TabProps[];
|
|
601
609
|
}
|
|
602
|
-
declare const Tabs: FC<TabsProps>;
|
|
603
|
-
|
|
610
|
+
declare const Tabs: FC<TabsProps>;
|
|
611
|
+
|
|
604
612
|
interface ToggleProps extends AccessibleProps {
|
|
605
613
|
/** It is used to check whether Toggle is checked or not */
|
|
606
614
|
on: boolean;
|
|
607
615
|
/** Pass a callback then fires when user change value */
|
|
608
616
|
onClick: (e?: any) => void;
|
|
609
617
|
}
|
|
610
|
-
declare const Toggle: FC<ToggleProps>;
|
|
611
|
-
|
|
618
|
+
declare const Toggle: FC<ToggleProps>;
|
|
619
|
+
|
|
612
620
|
interface ZeroStateProps extends AccessibleProps {
|
|
613
621
|
/** The SVG path of the icon to show */
|
|
614
622
|
icon: string;
|
|
@@ -623,8 +631,8 @@ interface ZeroStateProps extends AccessibleProps {
|
|
|
623
631
|
onClick: (e?: any) => void;
|
|
624
632
|
};
|
|
625
633
|
}
|
|
626
|
-
declare const ZeroState: FC<ZeroStateProps>;
|
|
627
|
-
|
|
634
|
+
declare const ZeroState: FC<ZeroStateProps>;
|
|
635
|
+
|
|
628
636
|
declare const getAgesFromDob: (dob: string) => {
|
|
629
637
|
calculated_nearest_age: number | null;
|
|
630
638
|
calculated_current_age: number | null;
|
|
@@ -638,8 +646,8 @@ declare const getYears: () => {
|
|
|
638
646
|
declare const validateEmail: (email: string) => boolean;
|
|
639
647
|
declare const validatePhone: (phone: string) => boolean;
|
|
640
648
|
declare const formatAsPhone: (number: string) => string;
|
|
641
|
-
declare const formatAsSsn: (number: string) => string;
|
|
642
|
-
|
|
649
|
+
declare const formatAsSsn: (number: string) => string;
|
|
650
|
+
|
|
643
651
|
declare const Colors: {
|
|
644
652
|
PRIMARY: {
|
|
645
653
|
Hex: string;
|
|
@@ -691,6 +699,6 @@ declare const EditableTheme: {
|
|
|
691
699
|
Hex: string;
|
|
692
700
|
Rgb: string;
|
|
693
701
|
};
|
|
694
|
-
};
|
|
695
|
-
|
|
696
|
-
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 };
|
|
702
|
+
};
|
|
703
|
+
|
|
704
|
+
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 };
|