@abgov/react-components 4.18.1 → 4.18.2
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/common/styling.d.ts +12 -9
- package/index.d.ts +56 -59
- package/index.js +238 -0
- package/index.js.map +1 -0
- package/index.mjs +22707 -0
- package/index.mjs.map +1 -0
- package/lib/accordion/accordion.d.ts +28 -28
- package/lib/app-header/app-header.d.ts +21 -22
- package/lib/app-header-menu/app-header-menu.d.ts +20 -20
- package/lib/badge/badge.d.ts +40 -41
- package/lib/block/block.d.ts +23 -23
- package/lib/button/button.d.ts +38 -38
- package/lib/button-group/button-group.d.ts +23 -24
- package/lib/calendar/calendar.d.ts +24 -25
- package/lib/callout/callout.d.ts +25 -26
- package/lib/checkbox/checkbox.d.ts +37 -38
- package/lib/chip/chip.d.ts +28 -29
- package/lib/circular-progress/circular-progress.d.ts +28 -29
- package/lib/container/container.d.ts +29 -29
- package/lib/date-picker/date-picker.d.ts +24 -25
- package/lib/details/details.d.ts +21 -21
- package/lib/divider/divider.d.ts +13 -14
- package/lib/dropdown/dropdown-item.d.ts +23 -24
- package/lib/dropdown/dropdown.d.ts +49 -50
- package/lib/file-upload-card/file-upload-card.d.ts +26 -27
- package/lib/file-upload-input/file-upload-input.d.ts +22 -23
- package/lib/footer/footer.d.ts +19 -19
- package/lib/footer-meta-section/footer-meta-section.d.ts +14 -14
- package/lib/footer-nav-section/footer-nav-section.d.ts +20 -20
- package/lib/{form → form-item}/form-item.d.ts +30 -31
- package/lib/form-step/form-step.d.ts +19 -20
- package/lib/form-stepper/form-stepper.d.ts +22 -22
- package/lib/grid/grid.d.ts +20 -21
- package/lib/hero-banner/hero-banner-actions.d.ts +5 -6
- package/lib/hero-banner/hero-banner.d.ts +27 -28
- package/lib/icon/icon.d.ts +41 -42
- package/lib/icon-button/icon-button.d.ts +31 -32
- package/lib/input/input.d.ts +112 -113
- package/lib/microsite-header/microsite-header.d.ts +30 -31
- package/lib/modal/modal.d.ts +36 -36
- package/lib/notification/notification.d.ts +27 -28
- package/lib/one-column-layout/one-column-layout.d.ts +14 -14
- package/lib/page-block/page-block.d.ts +19 -18
- package/lib/pages/pages.d.ts +18 -18
- package/lib/pagination/pagination.d.ts +26 -27
- package/lib/popover/popover.d.ts +27 -27
- package/lib/radio-group/radio-group.d.ts +32 -33
- package/lib/radio-group/radio.d.ts +29 -30
- package/lib/side-menu/side-menu.d.ts +14 -14
- package/lib/side-menu-group/side-menu-group.d.ts +17 -17
- package/lib/side-menu-heading/side-menu-heading.d.ts +19 -19
- package/lib/skeleton/skeleton.d.ts +27 -28
- package/lib/spacer/spacer.d.ts +20 -21
- package/lib/spinner/spinner.d.ts +25 -26
- package/lib/tab/tab.d.ts +17 -18
- package/lib/table/table-sort-header.d.ts +19 -20
- package/lib/table/table.d.ts +27 -27
- package/lib/tabs/tabs.d.ts +16 -17
- package/lib/textarea/textarea.d.ts +41 -42
- package/lib/three-column-layout/three-column-layout.d.ts +26 -26
- package/lib/tooltip/tooltip.d.ts +25 -25
- package/lib/two-column-layout/two-column-layout.d.ts +22 -22
- package/package.json +14 -14
- package/README.md +0 -34
- package/experimental/index.d.ts +0 -0
- package/experimental/package.json +0 -11
- package/experimental/react-components.esm.js +0 -1
- package/experimental/react-components.umd.js +0 -8
- package/lib/card/card-actions.d.ts +0 -13
- package/lib/card/card-content.d.ts +0 -13
- package/lib/card/card-group.d.ts +0 -13
- package/lib/card/card-image.d.ts +0 -18
- package/lib/card/card.d.ts +0 -22
- package/lib/card/index.d.ts +0 -5
- package/lib/form/index.d.ts +0 -1
- package/lib/form/validators.d.ts +0 -10
- package/react-components.esm.js +0 -3435
- package/react-components.umd.js +0 -3494
package/common/styling.d.ts
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
type NumericSpacing = "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10";
|
|
2
|
+
type TShirtSpacing = "none" | "3xs" | "2xs" | "xs" | "s" | "m" | "l" | "xl" | "2xl" | "3xl" | "4xl";
|
|
3
|
+
export type Spacing = NumericSpacing | TShirtSpacing | null;
|
|
4
|
+
export interface Margins {
|
|
5
|
+
mt?: Spacing;
|
|
6
|
+
mr?: Spacing;
|
|
7
|
+
mb?: Spacing;
|
|
8
|
+
ml?: Spacing;
|
|
9
|
+
}
|
|
10
|
+
export type Direction = "row" | "column";
|
|
11
|
+
export type Alignment = "center" | "start" | "end";
|
|
12
|
+
export {};
|
package/index.d.ts
CHANGED
|
@@ -1,59 +1,56 @@
|
|
|
1
|
-
|
|
2
|
-
export * from "./lib/
|
|
3
|
-
export * from "./lib/
|
|
4
|
-
export * from "./lib/
|
|
5
|
-
export * from "./lib/
|
|
6
|
-
export * from "./lib/
|
|
7
|
-
export * from "./lib/
|
|
8
|
-
export * from "./lib/
|
|
9
|
-
export * from "./lib/
|
|
10
|
-
export * from "./lib/
|
|
11
|
-
export
|
|
12
|
-
export
|
|
13
|
-
export
|
|
14
|
-
export * from "./lib/
|
|
15
|
-
export * from "./lib/
|
|
16
|
-
export * from "./lib/
|
|
17
|
-
export * from "./lib/
|
|
18
|
-
export * from "./lib/
|
|
19
|
-
export * from "./lib/
|
|
20
|
-
export * from "./lib/
|
|
21
|
-
export * from "./lib/
|
|
22
|
-
export * from "./lib/
|
|
23
|
-
export * from "./lib/
|
|
24
|
-
export * from "./lib/
|
|
25
|
-
export * from "./lib/
|
|
26
|
-
export * from "./lib/
|
|
27
|
-
export * from "./lib/
|
|
28
|
-
export * from "./lib/
|
|
29
|
-
export * from "./lib/
|
|
30
|
-
export * from "./lib/
|
|
31
|
-
export * from "./lib/
|
|
32
|
-
export * from "./lib/
|
|
33
|
-
export * from "./lib/
|
|
34
|
-
export * from "./lib/
|
|
35
|
-
export * from "./lib/
|
|
36
|
-
export * from "./lib/
|
|
37
|
-
export * from "./lib/
|
|
38
|
-
export * from "./lib/
|
|
39
|
-
export * from "./lib/
|
|
40
|
-
export * from "./lib/
|
|
41
|
-
export * from "./lib/
|
|
42
|
-
export * from "./lib/
|
|
43
|
-
export * from "./lib/
|
|
44
|
-
export * from "./lib/
|
|
45
|
-
export * from "./lib/
|
|
46
|
-
export * from "./lib/
|
|
47
|
-
export * from "./lib/
|
|
48
|
-
export * from "./lib/
|
|
49
|
-
export * from "./lib/
|
|
50
|
-
export * from "./lib/
|
|
51
|
-
export * from "./lib/
|
|
52
|
-
export * from "./lib/
|
|
53
|
-
export * from "./lib/
|
|
54
|
-
export * from "./lib/
|
|
55
|
-
export * from "./lib/
|
|
56
|
-
export * from "./
|
|
57
|
-
export * from "./lib/three-column-layout/three-column-layout";
|
|
58
|
-
export * from "./lib/tabs/tabs";
|
|
59
|
-
export * from "./lib/tab/tab";
|
|
1
|
+
export * from "./lib/accordion/accordion";
|
|
2
|
+
export * from "./lib/app-header/app-header";
|
|
3
|
+
export * from "./lib/app-header-menu/app-header-menu";
|
|
4
|
+
export * from "./lib/badge/badge";
|
|
5
|
+
export * from "./lib/block/block";
|
|
6
|
+
export * from "./lib/button/button";
|
|
7
|
+
export * from "./lib/button-group/button-group";
|
|
8
|
+
export * from "./lib/calendar/calendar";
|
|
9
|
+
export * from "./lib/callout/callout";
|
|
10
|
+
export * from "./lib/checkbox/checkbox";
|
|
11
|
+
export * from "./lib/chip/chip";
|
|
12
|
+
export * from "./lib/circular-progress/circular-progress";
|
|
13
|
+
export * from "./lib/container/container";
|
|
14
|
+
export * from "./lib/date-picker/date-picker";
|
|
15
|
+
export * from "./lib/details/details";
|
|
16
|
+
export * from "./lib/divider/divider";
|
|
17
|
+
export * from "./lib/dropdown/dropdown";
|
|
18
|
+
export * from "./lib/dropdown/dropdown-item";
|
|
19
|
+
export * from "./lib/file-upload-card/file-upload-card";
|
|
20
|
+
export * from "./lib/file-upload-input/file-upload-input";
|
|
21
|
+
export * from "./lib/footer/footer";
|
|
22
|
+
export * from "./lib/footer-meta-section/footer-meta-section";
|
|
23
|
+
export * from "./lib/footer-nav-section/footer-nav-section";
|
|
24
|
+
export * from "./lib/form-item/form-item";
|
|
25
|
+
export * from "./lib/form-step/form-step";
|
|
26
|
+
export * from "./lib/form-stepper/form-stepper";
|
|
27
|
+
export * from "./lib/grid/grid";
|
|
28
|
+
export * from "./lib/hero-banner/hero-banner";
|
|
29
|
+
export * from "./lib/hero-banner/hero-banner-actions";
|
|
30
|
+
export * from "./lib/icon-button/icon-button";
|
|
31
|
+
export * from "./lib/icon/icon";
|
|
32
|
+
export * from "./lib/input/input";
|
|
33
|
+
export * from "./lib/microsite-header/microsite-header";
|
|
34
|
+
export * from "./lib/modal/modal";
|
|
35
|
+
export * from "./lib/notification/notification";
|
|
36
|
+
export * from "./lib/one-column-layout/one-column-layout";
|
|
37
|
+
export * from "./lib/page-block/page-block";
|
|
38
|
+
export * from "./lib/pages/pages";
|
|
39
|
+
export * from "./lib/pagination/pagination";
|
|
40
|
+
export * from "./lib/popover/popover";
|
|
41
|
+
export * from "./lib/radio-group/radio-group";
|
|
42
|
+
export * from "./lib/side-menu-group/side-menu-group";
|
|
43
|
+
export * from "./lib/side-menu-heading/side-menu-heading";
|
|
44
|
+
export * from "./lib/side-menu/side-menu";
|
|
45
|
+
export * from "./lib/skeleton/skeleton";
|
|
46
|
+
export * from "./lib/spacer/spacer";
|
|
47
|
+
export * from "./lib/spinner/spinner";
|
|
48
|
+
export * from "./lib/table/table";
|
|
49
|
+
export * from "./lib/table/table-sort-header";
|
|
50
|
+
export * from "./lib/tabs/tabs";
|
|
51
|
+
export * from "./lib/tab/tab";
|
|
52
|
+
export * from "./lib/textarea/textarea";
|
|
53
|
+
export * from "./lib/three-column-layout/three-column-layout";
|
|
54
|
+
export * from "./lib/tooltip/tooltip";
|
|
55
|
+
export * from "./lib/two-column-layout/two-column-layout";
|
|
56
|
+
export * from "./common/styling";
|