@hexure/ui 1.9.2 → 1.9.3
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 +59 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/index.d.ts +3 -0
- package/dist/esm/index.js +49 -2
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/index.d.ts +3 -0
- package/dist/index.d.ts +69 -1
- package/package.json +1 -1
|
@@ -32,3 +32,6 @@ export { default as Tag } from './components/Tag';
|
|
|
32
32
|
export { default as Toggle } from './components/Toggle';
|
|
33
33
|
export { default as Tooltip } from './components/Tooltip';
|
|
34
34
|
export { default as ZeroState } from './components/ZeroState';
|
|
35
|
+
export * from './utils/Accessibility';
|
|
36
|
+
export * from './utils/Form';
|
|
37
|
+
export * from './Theme';
|
package/dist/index.d.ts
CHANGED
|
@@ -577,4 +577,72 @@ interface ZeroStateProps extends AccessibleProps {
|
|
|
577
577
|
}
|
|
578
578
|
declare const ZeroState: FC<ZeroStateProps>;
|
|
579
579
|
|
|
580
|
-
|
|
580
|
+
declare const getAgesFromDob: (dob: string) => {
|
|
581
|
+
calculated_nearest_age: number | null;
|
|
582
|
+
calculated_current_age: number | null;
|
|
583
|
+
};
|
|
584
|
+
declare const getDaysForMonth: (month: number) => {
|
|
585
|
+
value: number;
|
|
586
|
+
}[];
|
|
587
|
+
declare const getYears: () => {
|
|
588
|
+
value: number;
|
|
589
|
+
}[];
|
|
590
|
+
declare const validateEmail: (email: string) => boolean;
|
|
591
|
+
declare const validatePhone: (phone: string) => boolean;
|
|
592
|
+
declare const formatAsPhone: (number: string) => string;
|
|
593
|
+
declare const formatAsSsn: (number: string) => string;
|
|
594
|
+
|
|
595
|
+
declare const Colors: {
|
|
596
|
+
PRIMARY: {
|
|
597
|
+
Hex: string;
|
|
598
|
+
Rgb: string;
|
|
599
|
+
};
|
|
600
|
+
GREEN: {
|
|
601
|
+
Hex: string;
|
|
602
|
+
Rgb: string;
|
|
603
|
+
};
|
|
604
|
+
RED: {
|
|
605
|
+
Hex: string;
|
|
606
|
+
Rgb: string;
|
|
607
|
+
};
|
|
608
|
+
YELLOW: {
|
|
609
|
+
Hex: string;
|
|
610
|
+
Rgb: string;
|
|
611
|
+
};
|
|
612
|
+
BLACK: {
|
|
613
|
+
Hex: string;
|
|
614
|
+
Rgb: string;
|
|
615
|
+
};
|
|
616
|
+
GRAY: {
|
|
617
|
+
Hex: string;
|
|
618
|
+
Rgb: string;
|
|
619
|
+
};
|
|
620
|
+
MEDIUM_GRAY: {
|
|
621
|
+
Hex: string;
|
|
622
|
+
Rgb: string;
|
|
623
|
+
};
|
|
624
|
+
LIGHT_GRAY: {
|
|
625
|
+
Hex: string;
|
|
626
|
+
Rgb: string;
|
|
627
|
+
};
|
|
628
|
+
SUBTLE_GRAY: {
|
|
629
|
+
Hex: string;
|
|
630
|
+
Rgb: string;
|
|
631
|
+
};
|
|
632
|
+
};
|
|
633
|
+
declare const FontStyles: {
|
|
634
|
+
DEFAULT: string;
|
|
635
|
+
HEADING: string;
|
|
636
|
+
};
|
|
637
|
+
declare const FontSizes: {
|
|
638
|
+
DEFAULT: string;
|
|
639
|
+
SMALL: string;
|
|
640
|
+
};
|
|
641
|
+
declare const EditableTheme: {
|
|
642
|
+
PRIMARY_COLOR: {
|
|
643
|
+
Hex: string;
|
|
644
|
+
Rgb: string;
|
|
645
|
+
};
|
|
646
|
+
};
|
|
647
|
+
|
|
648
|
+
export { AccessibleProps, Accordion, ActionDialog, Alert, 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 };
|