@hexure/ui 1.14.10 → 1.14.12
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 +22 -12
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/components/Checkbox/Checkbox.d.ts +2 -0
- package/dist/cjs/types/components/Checklist/Checklist.d.ts +1 -0
- package/dist/cjs/types/components/Radio/Radio.d.ts +2 -0
- package/dist/esm/index.js +22 -12
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/Checkbox/Checkbox.d.ts +2 -0
- package/dist/esm/types/components/Checklist/Checklist.d.ts +1 -0
- package/dist/esm/types/components/Radio/Radio.d.ts +2 -0
- package/dist/index.d.ts +87 -82
- package/package.json +1 -1
|
@@ -21,6 +21,8 @@ export interface CheckboxProps extends AccessibleProps {
|
|
|
21
21
|
isWarningError?: boolean;
|
|
22
22
|
dataSectionName?: string;
|
|
23
23
|
isLabelBold?: boolean;
|
|
24
|
+
/** Location of the label: "Bottom" or "Right" (default: "Right") */
|
|
25
|
+
labelLoc?: 'Bottom' | 'Right';
|
|
24
26
|
}
|
|
25
27
|
declare const Checkbox: FC<CheckboxProps>;
|
|
26
28
|
export default Checkbox;
|
|
@@ -21,6 +21,8 @@ export interface RadioProps extends AccessibleProps {
|
|
|
21
21
|
isInvalidRedBackground?: boolean;
|
|
22
22
|
isWarningError?: boolean;
|
|
23
23
|
isLabelBold?: boolean;
|
|
24
|
+
/** Location of the label: "Bottom" or "Right" (default: "Right") */
|
|
25
|
+
labelLoc?: 'Bottom' | 'Right';
|
|
24
26
|
}
|
|
25
27
|
declare const Radio: FC<RadioProps>;
|
|
26
28
|
export default Radio;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import React, { FC, ReactNode } from 'react';
|
|
2
|
-
import { CSSProperties } from 'styled-components';
|
|
3
|
-
|
|
1
|
+
import React, { FC, ReactNode } from 'react';
|
|
2
|
+
import { CSSProperties } from 'styled-components';
|
|
3
|
+
|
|
4
4
|
interface AccessibleProps {
|
|
5
5
|
/** Set the css data-itemid for the main wrapping html element */
|
|
6
6
|
id?: string;
|
|
@@ -15,8 +15,8 @@ interface AccessibleProps {
|
|
|
15
15
|
tabIndex?: number;
|
|
16
16
|
/** Set a label for an interactive element. See https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-label */
|
|
17
17
|
'aria-label'?: string;
|
|
18
|
-
}
|
|
19
|
-
|
|
18
|
+
}
|
|
19
|
+
|
|
20
20
|
interface AccordionProps extends AccessibleProps {
|
|
21
21
|
dataItemid?: string;
|
|
22
22
|
title?: string;
|
|
@@ -27,8 +27,8 @@ interface AccordionProps extends AccessibleProps {
|
|
|
27
27
|
/** Method to call when the header is clicked */
|
|
28
28
|
onClick: (e?: any) => void;
|
|
29
29
|
}
|
|
30
|
-
declare const Accordion: FC<AccordionProps>;
|
|
31
|
-
|
|
30
|
+
declare const Accordion: FC<AccordionProps>;
|
|
31
|
+
|
|
32
32
|
interface ButtonProps$4 {
|
|
33
33
|
children: string;
|
|
34
34
|
format?: string;
|
|
@@ -57,8 +57,8 @@ interface ActionDialogProps extends AccessibleProps {
|
|
|
57
57
|
interface CustomStyle {
|
|
58
58
|
[key: string]: string | number;
|
|
59
59
|
}
|
|
60
|
-
declare const ActionDialog: FC<ActionDialogProps>;
|
|
61
|
-
|
|
60
|
+
declare const ActionDialog: FC<ActionDialogProps>;
|
|
61
|
+
|
|
62
62
|
interface ActionProps$1 extends AccessibleProps {
|
|
63
63
|
label: string;
|
|
64
64
|
onClick: (e?: any) => void;
|
|
@@ -76,8 +76,8 @@ interface AlertProps extends AccessibleProps {
|
|
|
76
76
|
/** Optional ID for automation purposes */
|
|
77
77
|
dataItemid?: string;
|
|
78
78
|
}
|
|
79
|
-
declare const Alert: FC<AlertProps>;
|
|
80
|
-
|
|
79
|
+
declare const Alert: FC<AlertProps>;
|
|
80
|
+
|
|
81
81
|
interface TooltipProps {
|
|
82
82
|
/** It is used to give label to tag. */
|
|
83
83
|
children: any;
|
|
@@ -96,8 +96,8 @@ interface TooltipProps {
|
|
|
96
96
|
*/
|
|
97
97
|
auto?: boolean;
|
|
98
98
|
}
|
|
99
|
-
declare const Tooltip: FC<TooltipProps>;
|
|
100
|
-
|
|
99
|
+
declare const Tooltip: FC<TooltipProps>;
|
|
100
|
+
|
|
101
101
|
interface ButtonProps$3 extends AccessibleProps {
|
|
102
102
|
/** Display a number badge on the right side of the button */
|
|
103
103
|
badge?: number;
|
|
@@ -131,16 +131,16 @@ interface ButtonProps$3 extends AccessibleProps {
|
|
|
131
131
|
/** Optional section name for automation purposes */
|
|
132
132
|
dataSectionName?: string;
|
|
133
133
|
}
|
|
134
|
-
declare const Button: FC<ButtonProps$3>;
|
|
135
|
-
|
|
134
|
+
declare const Button: FC<ButtonProps$3>;
|
|
135
|
+
|
|
136
136
|
interface AppHeaderProps {
|
|
137
137
|
logoUrl?: string;
|
|
138
138
|
buttons: ButtonProps$3[];
|
|
139
139
|
/** Optional ID for automation purposes */
|
|
140
140
|
dataItemid?: string;
|
|
141
141
|
}
|
|
142
|
-
declare const AppHeader: FC<AppHeaderProps>;
|
|
143
|
-
|
|
142
|
+
declare const AppHeader: FC<AppHeaderProps>;
|
|
143
|
+
|
|
144
144
|
interface MenuItemType extends AccessibleProps {
|
|
145
145
|
icon: string;
|
|
146
146
|
label: string;
|
|
@@ -164,8 +164,8 @@ interface AppMenuProps extends AccessibleProps {
|
|
|
164
164
|
dataSectionName?: string;
|
|
165
165
|
onChange?: (isCollapsed: boolean) => void;
|
|
166
166
|
}
|
|
167
|
-
declare const AppMenu: FC<AppMenuProps>;
|
|
168
|
-
|
|
167
|
+
declare const AppMenu: FC<AppMenuProps>;
|
|
168
|
+
|
|
169
169
|
interface ButtonProps$2 {
|
|
170
170
|
children: string;
|
|
171
171
|
onClick: (e?: any) => void;
|
|
@@ -181,8 +181,8 @@ interface BulkActionBarProps extends AccessibleProps {
|
|
|
181
181
|
/** Optional ID for automation purposes */
|
|
182
182
|
dataItemid?: string;
|
|
183
183
|
}
|
|
184
|
-
declare const BulkActionBar: FC<BulkActionBarProps>;
|
|
185
|
-
|
|
184
|
+
declare const BulkActionBar: FC<BulkActionBarProps>;
|
|
185
|
+
|
|
186
186
|
interface MenuItemProps extends AccessibleProps {
|
|
187
187
|
icon?: string;
|
|
188
188
|
label?: string;
|
|
@@ -198,8 +198,8 @@ interface MoreMenuProps extends AccessibleProps {
|
|
|
198
198
|
/** Optional ID for automation purposes */
|
|
199
199
|
dataItemid?: string;
|
|
200
200
|
}
|
|
201
|
-
declare const MoreMenu: FC<MoreMenuProps>;
|
|
202
|
-
|
|
201
|
+
declare const MoreMenu: FC<MoreMenuProps>;
|
|
202
|
+
|
|
203
203
|
interface ButtonMenuProps {
|
|
204
204
|
disabled?: boolean;
|
|
205
205
|
label: string;
|
|
@@ -216,8 +216,8 @@ interface ButtonMenuProps {
|
|
|
216
216
|
dataItemid?: string;
|
|
217
217
|
dataSectionName?: string;
|
|
218
218
|
}
|
|
219
|
-
declare const ButtonMenu: FC<ButtonMenuProps>;
|
|
220
|
-
|
|
219
|
+
declare const ButtonMenu: FC<ButtonMenuProps>;
|
|
220
|
+
|
|
221
221
|
interface CheckboxProps extends AccessibleProps {
|
|
222
222
|
/** It is used to give label to checkbox. */
|
|
223
223
|
children?: string;
|
|
@@ -238,13 +238,16 @@ interface CheckboxProps extends AccessibleProps {
|
|
|
238
238
|
isWarningError?: boolean;
|
|
239
239
|
dataSectionName?: string;
|
|
240
240
|
isLabelBold?: boolean;
|
|
241
|
+
/** Location of the label: "Bottom" or "Right" (default: "Right") */
|
|
242
|
+
labelLoc?: 'Bottom' | 'Right';
|
|
241
243
|
}
|
|
242
|
-
declare const Checkbox: FC<CheckboxProps>;
|
|
243
|
-
|
|
244
|
+
declare const Checkbox: FC<CheckboxProps>;
|
|
245
|
+
|
|
244
246
|
interface OptionProps$3 {
|
|
245
247
|
label?: string;
|
|
246
248
|
value: string | number;
|
|
247
249
|
color?: string;
|
|
250
|
+
dataItemid?: string;
|
|
248
251
|
}
|
|
249
252
|
interface ChecklistProps extends AccessibleProps {
|
|
250
253
|
disabled?: boolean;
|
|
@@ -255,8 +258,8 @@ interface ChecklistProps extends AccessibleProps {
|
|
|
255
258
|
/** Optional ID for automation purposes */
|
|
256
259
|
dataItemid?: string;
|
|
257
260
|
}
|
|
258
|
-
declare const Checklist: FC<ChecklistProps>;
|
|
259
|
-
|
|
261
|
+
declare const Checklist: FC<ChecklistProps>;
|
|
262
|
+
|
|
260
263
|
interface CopyProps extends AccessibleProps {
|
|
261
264
|
/** Set the text to be displayed */
|
|
262
265
|
children: string | React.ReactNode;
|
|
@@ -272,8 +275,8 @@ interface CopyProps extends AccessibleProps {
|
|
|
272
275
|
/** Optional ID for automation purposes */
|
|
273
276
|
dataItemid?: string;
|
|
274
277
|
}
|
|
275
|
-
declare const Copy: FC<CopyProps>;
|
|
276
|
-
|
|
278
|
+
declare const Copy: FC<CopyProps>;
|
|
279
|
+
|
|
277
280
|
interface styleProps$1 {
|
|
278
281
|
width?: number | string;
|
|
279
282
|
}
|
|
@@ -294,8 +297,8 @@ interface DateProps extends AccessibleProps {
|
|
|
294
297
|
dataItemid?: string;
|
|
295
298
|
locale?: localeProps;
|
|
296
299
|
}
|
|
297
|
-
declare const DatePicker: FC<DateProps>;
|
|
298
|
-
|
|
300
|
+
declare const DatePicker: FC<DateProps>;
|
|
301
|
+
|
|
299
302
|
interface ButtonProps$1 extends AccessibleProps {
|
|
300
303
|
disabled?: boolean;
|
|
301
304
|
children: string;
|
|
@@ -330,8 +333,8 @@ interface DrawerProps extends AccessibleProps {
|
|
|
330
333
|
dataItemid?: string;
|
|
331
334
|
bottomNotes?: string | ReactNode;
|
|
332
335
|
}
|
|
333
|
-
declare const Drawer: FC<DrawerProps>;
|
|
334
|
-
|
|
336
|
+
declare const Drawer: FC<DrawerProps>;
|
|
337
|
+
|
|
335
338
|
interface ActionProps {
|
|
336
339
|
dataItemid?: string;
|
|
337
340
|
label: string;
|
|
@@ -359,8 +362,8 @@ interface FieldProps extends AccessibleProps {
|
|
|
359
362
|
/** Optional for black message with icon */
|
|
360
363
|
isNewMessageType?: boolean;
|
|
361
364
|
}
|
|
362
|
-
declare const Field: FC<FieldProps>;
|
|
363
|
-
|
|
365
|
+
declare const Field: FC<FieldProps>;
|
|
366
|
+
|
|
364
367
|
interface FieldGroupProps {
|
|
365
368
|
/** The label to display above the field group */
|
|
366
369
|
label: string;
|
|
@@ -369,8 +372,8 @@ interface FieldGroupProps {
|
|
|
369
372
|
/** Optional ID for automation purposes */
|
|
370
373
|
dataItemid?: string;
|
|
371
374
|
}
|
|
372
|
-
declare const FieldGroup: FC<FieldGroupProps>;
|
|
373
|
-
|
|
375
|
+
declare const FieldGroup: FC<FieldGroupProps>;
|
|
376
|
+
|
|
374
377
|
interface FileUploadProps {
|
|
375
378
|
/** A method to call when files are added/removed. Return the new file or array of files. */
|
|
376
379
|
onChange?: (files: Array<File>) => void;
|
|
@@ -396,8 +399,8 @@ interface ErrorObject {
|
|
|
396
399
|
file: File;
|
|
397
400
|
message: string;
|
|
398
401
|
}
|
|
399
|
-
declare const FileUpload: FC<FileUploadProps>;
|
|
400
|
-
|
|
402
|
+
declare const FileUpload: FC<FileUploadProps>;
|
|
403
|
+
|
|
401
404
|
interface HeadingProps extends AccessibleProps {
|
|
402
405
|
/** Toggle between bold and normal font weights */
|
|
403
406
|
bold?: boolean;
|
|
@@ -414,8 +417,8 @@ interface HeadingProps extends AccessibleProps {
|
|
|
414
417
|
/** Optional style for the header title */
|
|
415
418
|
style?: CSSProperties;
|
|
416
419
|
}
|
|
417
|
-
declare const Heading: FC<HeadingProps>;
|
|
418
|
-
|
|
420
|
+
declare const Heading: FC<HeadingProps>;
|
|
421
|
+
|
|
419
422
|
interface InputProps extends AccessibleProps {
|
|
420
423
|
format?: 'phone' | 'currency' | 'currency_decimal' | 'ssn';
|
|
421
424
|
height?: string;
|
|
@@ -450,8 +453,8 @@ interface InputProps extends AccessibleProps {
|
|
|
450
453
|
isInvalidRedBackground?: boolean;
|
|
451
454
|
isWarningError?: boolean;
|
|
452
455
|
}
|
|
453
|
-
declare const Input: FC<InputProps>;
|
|
454
|
-
|
|
456
|
+
declare const Input: FC<InputProps>;
|
|
457
|
+
|
|
455
458
|
interface LinkProps extends AccessibleProps {
|
|
456
459
|
/** Set the text to be displayed */
|
|
457
460
|
children: string;
|
|
@@ -462,22 +465,22 @@ interface LinkProps extends AccessibleProps {
|
|
|
462
465
|
/** Optional ID for automation purposes */
|
|
463
466
|
dataItemid?: string;
|
|
464
467
|
}
|
|
465
|
-
declare const Link: FC<LinkProps>;
|
|
466
|
-
|
|
468
|
+
declare const Link: FC<LinkProps>;
|
|
469
|
+
|
|
467
470
|
interface LoaderProps {
|
|
468
471
|
/** Optional ID for automation purposes */
|
|
469
472
|
dataItemid?: string;
|
|
470
473
|
}
|
|
471
|
-
declare const Loader: FC<LoaderProps>;
|
|
472
|
-
|
|
474
|
+
declare const Loader: FC<LoaderProps>;
|
|
475
|
+
|
|
473
476
|
interface LogoProps extends AccessibleProps {
|
|
474
477
|
type?: 'mark_red' | 'mark_white' | 'standard_white' | 'standard_black' | 'standard_full' | 'standard_reversed';
|
|
475
478
|
height?: string;
|
|
476
479
|
/** Optional ID for automation purposes */
|
|
477
480
|
dataItemid?: string;
|
|
478
481
|
}
|
|
479
|
-
declare const Logo: FC<LogoProps>;
|
|
480
|
-
|
|
482
|
+
declare const Logo: FC<LogoProps>;
|
|
483
|
+
|
|
481
484
|
interface StepProps {
|
|
482
485
|
label: string | ReactNode;
|
|
483
486
|
complete?: boolean;
|
|
@@ -494,8 +497,8 @@ interface ProgressBarProps {
|
|
|
494
497
|
/** Optional ID for automation purposes */
|
|
495
498
|
dataItemid?: string;
|
|
496
499
|
}
|
|
497
|
-
declare const ProgressBar: FC<ProgressBarProps>;
|
|
498
|
-
|
|
500
|
+
declare const ProgressBar: FC<ProgressBarProps>;
|
|
501
|
+
|
|
499
502
|
interface ButtonProps {
|
|
500
503
|
disabled?: boolean;
|
|
501
504
|
children: string;
|
|
@@ -536,8 +539,8 @@ interface ModalProps extends AccessibleProps {
|
|
|
536
539
|
/** Optional style for the header title */
|
|
537
540
|
headerTitleStyle?: CSSProperties;
|
|
538
541
|
}
|
|
539
|
-
declare const Modal: FC<ModalProps>;
|
|
540
|
-
|
|
542
|
+
declare const Modal: FC<ModalProps>;
|
|
543
|
+
|
|
541
544
|
interface OptionProps$2 {
|
|
542
545
|
label?: string;
|
|
543
546
|
value: string | number;
|
|
@@ -559,8 +562,8 @@ interface MultiSelectProps extends AccessibleProps {
|
|
|
559
562
|
/** Optional ID for automation purposes */
|
|
560
563
|
dataItemid?: string;
|
|
561
564
|
}
|
|
562
|
-
declare const MultiSelect: FC<MultiSelectProps>;
|
|
563
|
-
|
|
565
|
+
declare const MultiSelect: FC<MultiSelectProps>;
|
|
566
|
+
|
|
564
567
|
interface TagProps extends AccessibleProps {
|
|
565
568
|
/** It is used to select tag-type either default or removable. */
|
|
566
569
|
color?: 'PRIMARY' | 'GREEN' | 'RED' | 'YELLOW' | 'BLACK' | 'SUBTLE_GRAY';
|
|
@@ -575,8 +578,8 @@ interface TagProps extends AccessibleProps {
|
|
|
575
578
|
rotate?: boolean;
|
|
576
579
|
dataSectionName?: string;
|
|
577
580
|
}
|
|
578
|
-
declare const Tag: FC<TagProps>;
|
|
579
|
-
|
|
581
|
+
declare const Tag: FC<TagProps>;
|
|
582
|
+
|
|
580
583
|
interface PageHeaderProps {
|
|
581
584
|
title?: string;
|
|
582
585
|
breadcrumbs?: Array<{
|
|
@@ -608,8 +611,8 @@ interface PageHeaderProps {
|
|
|
608
611
|
/** Optional ID for automation purposes */
|
|
609
612
|
dataItemid?: string;
|
|
610
613
|
}
|
|
611
|
-
declare const PageHeader: FC<PageHeaderProps>;
|
|
612
|
-
|
|
614
|
+
declare const PageHeader: FC<PageHeaderProps>;
|
|
615
|
+
|
|
613
616
|
interface PaginationProps extends AccessibleProps {
|
|
614
617
|
currentPage: number;
|
|
615
618
|
onClick: (e?: any) => void;
|
|
@@ -618,8 +621,8 @@ interface PaginationProps extends AccessibleProps {
|
|
|
618
621
|
dataItemid?: string;
|
|
619
622
|
type?: 'button' | 'submit' | 'reset' | null;
|
|
620
623
|
}
|
|
621
|
-
declare const Pagination: FC<PaginationProps>;
|
|
622
|
-
|
|
624
|
+
declare const Pagination: FC<PaginationProps>;
|
|
625
|
+
|
|
623
626
|
interface RadioProps extends AccessibleProps {
|
|
624
627
|
/** It is used to give label to radio. */
|
|
625
628
|
children: string | number;
|
|
@@ -640,9 +643,11 @@ interface RadioProps extends AccessibleProps {
|
|
|
640
643
|
isInvalidRedBackground?: boolean;
|
|
641
644
|
isWarningError?: boolean;
|
|
642
645
|
isLabelBold?: boolean;
|
|
646
|
+
/** Location of the label: "Bottom" or "Right" (default: "Right") */
|
|
647
|
+
labelLoc?: 'Bottom' | 'Right';
|
|
643
648
|
}
|
|
644
|
-
declare const Radio: FC<RadioProps>;
|
|
645
|
-
|
|
649
|
+
declare const Radio: FC<RadioProps>;
|
|
650
|
+
|
|
646
651
|
interface OptionProps$1 {
|
|
647
652
|
label?: string;
|
|
648
653
|
value: string | number;
|
|
@@ -655,8 +660,8 @@ interface RadioListProps extends AccessibleProps {
|
|
|
655
660
|
/** Optional ID for automation purposes */
|
|
656
661
|
dataItemid?: string;
|
|
657
662
|
}
|
|
658
|
-
declare const RadioList: FC<RadioListProps>;
|
|
659
|
-
|
|
663
|
+
declare const RadioList: FC<RadioListProps>;
|
|
664
|
+
|
|
660
665
|
interface OptionProps {
|
|
661
666
|
label?: string;
|
|
662
667
|
value: string | number;
|
|
@@ -687,8 +692,8 @@ interface SelectProps extends AccessibleProps {
|
|
|
687
692
|
innerRef?: any;
|
|
688
693
|
isCustomSelect?: boolean;
|
|
689
694
|
}
|
|
690
|
-
declare const Select: FC<SelectProps>;
|
|
691
|
-
|
|
695
|
+
declare const Select: FC<SelectProps>;
|
|
696
|
+
|
|
692
697
|
interface RowObject {
|
|
693
698
|
[key: string]: any;
|
|
694
699
|
}
|
|
@@ -715,8 +720,8 @@ interface TableProps extends AccessibleProps {
|
|
|
715
720
|
/** Optional ID for automation purposes */
|
|
716
721
|
dataItemid?: string;
|
|
717
722
|
}
|
|
718
|
-
declare const Table: FC<TableProps>;
|
|
719
|
-
|
|
723
|
+
declare const Table: FC<TableProps>;
|
|
724
|
+
|
|
720
725
|
interface TabProps extends AccessibleProps {
|
|
721
726
|
badgeCount?: number;
|
|
722
727
|
errorBadge?: boolean;
|
|
@@ -730,8 +735,8 @@ interface TabsProps extends AccessibleProps {
|
|
|
730
735
|
/** Optional ID for automation purposes */
|
|
731
736
|
dataItemid?: string;
|
|
732
737
|
}
|
|
733
|
-
declare const Tabs: FC<TabsProps>;
|
|
734
|
-
|
|
738
|
+
declare const Tabs: FC<TabsProps>;
|
|
739
|
+
|
|
735
740
|
interface ToggleProps extends AccessibleProps {
|
|
736
741
|
/** It is used to check whether Toggle is checked or not */
|
|
737
742
|
on: boolean;
|
|
@@ -740,8 +745,8 @@ interface ToggleProps extends AccessibleProps {
|
|
|
740
745
|
/** Optional ID for automation purposes */
|
|
741
746
|
dataItemid?: string;
|
|
742
747
|
}
|
|
743
|
-
declare const Toggle: FC<ToggleProps>;
|
|
744
|
-
|
|
748
|
+
declare const Toggle: FC<ToggleProps>;
|
|
749
|
+
|
|
745
750
|
interface ZeroStateProps extends AccessibleProps {
|
|
746
751
|
/** The SVG path of the icon to show */
|
|
747
752
|
icon: string;
|
|
@@ -761,8 +766,8 @@ interface ZeroStateProps extends AccessibleProps {
|
|
|
761
766
|
/** Optional ID for automation purposes */
|
|
762
767
|
dataItemid?: string;
|
|
763
768
|
}
|
|
764
|
-
declare const ZeroState: FC<ZeroStateProps>;
|
|
765
|
-
|
|
769
|
+
declare const ZeroState: FC<ZeroStateProps>;
|
|
770
|
+
|
|
766
771
|
declare const getAgesFromDob: (dob: string) => {
|
|
767
772
|
calculated_nearest_age: number | null;
|
|
768
773
|
calculated_current_age: number | null;
|
|
@@ -777,8 +782,8 @@ declare const validateEmail: (email: string) => boolean;
|
|
|
777
782
|
declare const validatePhone: (phone: string) => boolean;
|
|
778
783
|
declare const formatAsPhone: (number: string) => string;
|
|
779
784
|
declare const formatAsSsn: (number: string) => string;
|
|
780
|
-
declare const formatAsMask: (number: string, mask: string) => string;
|
|
781
|
-
|
|
785
|
+
declare const formatAsMask: (number: string, mask: string) => string;
|
|
786
|
+
|
|
782
787
|
declare const Colors: {
|
|
783
788
|
PRIMARY: {
|
|
784
789
|
Hex: string;
|
|
@@ -830,6 +835,6 @@ declare const EditableTheme: {
|
|
|
830
835
|
Hex: string;
|
|
831
836
|
Rgb: string;
|
|
832
837
|
};
|
|
833
|
-
};
|
|
834
|
-
|
|
835
|
-
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, formatAsMask, formatAsPhone, formatAsSsn, getAgesFromDob, getDaysForMonth, getYears, validateEmail, validatePhone };
|
|
838
|
+
};
|
|
839
|
+
|
|
840
|
+
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, formatAsMask, formatAsPhone, formatAsSsn, getAgesFromDob, getDaysForMonth, getYears, validateEmail, validatePhone };
|