@abgov/react-components 6.5.0-alpha.1 → 6.5.0-alpha.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/experimental/form/form.d.ts +1 -2
- package/experimental/form/task-list.d.ts +1 -2
- package/experimental/form/task.d.ts +1 -2
- package/experimental/resizable-panel/ResizablePanel.d.ts +0 -1
- package/experimental.js.map +1 -1
- package/experimental.mjs.map +1 -1
- package/icon-CK55b563.js.map +1 -1
- package/icon-CoYGOp1V.mjs.map +1 -1
- package/index.js +4 -10
- package/index.js.map +1 -1
- package/index.mjs +4 -10
- package/index.mjs.map +1 -1
- package/lib/accordion/accordion.d.ts +1 -2
- package/lib/app-header/app-header.d.ts +0 -1
- package/lib/app-header-menu/app-header-menu.d.ts +1 -2
- package/lib/badge/badge.d.ts +1 -2
- package/lib/block/block.d.ts +1 -2
- package/lib/button/button.d.ts +1 -2
- package/lib/button-group/button-group.d.ts +1 -2
- package/lib/calendar/calendar.d.ts +1 -2
- package/lib/callout/callout.d.ts +0 -1
- package/lib/card/card-actions.d.ts +0 -1
- package/lib/card/card-content.d.ts +0 -1
- package/lib/card/card-group.d.ts +0 -1
- package/lib/card/card-image.d.ts +0 -1
- package/lib/card/card.d.ts +1 -2
- package/lib/checkbox/checkbox.d.ts +1 -2
- package/lib/chip/chip.d.ts +0 -1
- package/lib/circular-progress/circular-progress.d.ts +0 -1
- package/lib/container/container.d.ts +1 -2
- package/lib/date-picker/date-picker.d.ts +1 -2
- package/lib/details/details.d.ts +1 -2
- package/lib/divider/divider.d.ts +0 -1
- package/lib/drawer/drawer.d.ts +1 -2
- package/lib/dropdown/dropdown-item.d.ts +0 -1
- package/lib/dropdown/dropdown.d.ts +1 -2
- package/lib/file-upload-card/file-upload-card.d.ts +0 -1
- package/lib/file-upload-input/file-upload-input.d.ts +0 -1
- package/lib/filter-chip/filter-chip.d.ts +0 -1
- package/lib/footer/footer.d.ts +0 -1
- package/lib/footer-meta-section/footer-meta-section.d.ts +0 -1
- package/lib/footer-nav-section/footer-nav-section.d.ts +0 -1
- package/lib/form/fieldset.d.ts +1 -2
- package/lib/form/public-form-page.d.ts +4 -4
- package/lib/form/public-form.d.ts +2 -3
- package/lib/form-item/form-item.d.ts +1 -2
- package/lib/form-step/form-step.d.ts +0 -1
- package/lib/form-stepper/form-stepper.d.ts +1 -2
- package/lib/grid/grid.d.ts +1 -2
- package/lib/hero-banner/hero-banner-actions.d.ts +0 -1
- package/lib/hero-banner/hero-banner.d.ts +0 -1
- package/lib/icon/icon.d.ts +1 -2
- package/lib/icon-button/icon-button.d.ts +1 -2
- package/lib/input/input.d.ts +1 -2
- package/lib/link/link.d.ts +1 -2
- package/lib/link-button/link-button.d.ts +1 -2
- package/lib/microsite-header/microsite-header.d.ts +1 -2
- package/lib/modal/modal.d.ts +1 -2
- package/lib/notification/notification.d.ts +0 -1
- package/lib/one-column-layout/one-column-layout.d.ts +0 -1
- package/lib/page-block/page-block.d.ts +0 -1
- package/lib/pages/pages.d.ts +1 -2
- package/lib/pagination/pagination.d.ts +0 -1
- package/lib/popover/popover.d.ts +1 -2
- package/lib/radio-group/radio-group.d.ts +1 -2
- package/lib/radio-group/radio.d.ts +1 -2
- package/lib/side-menu/side-menu.d.ts +0 -1
- package/lib/side-menu-group/side-menu-group.d.ts +1 -2
- package/lib/side-menu-heading/side-menu-heading.d.ts +1 -2
- package/lib/skeleton/skeleton.d.ts +0 -1
- package/lib/spacer/spacer.d.ts +0 -1
- package/lib/spinner/spinner.d.ts +1 -2
- package/lib/tab/tab.d.ts +0 -1
- package/lib/table/table-sort-header.d.ts +1 -2
- package/lib/table/table.d.ts +1 -2
- package/lib/tabs/tabs.d.ts +1 -2
- package/lib/text/text.d.ts +1 -2
- package/lib/textarea/textarea.d.ts +1 -2
- package/lib/three-column-layout/three-column-layout.d.ts +0 -1
- package/lib/tooltip/tooltip.d.ts +1 -2
- package/lib/two-column-layout/two-column-layout.d.ts +0 -1
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -890,11 +890,10 @@ function GoabPublicFormPage({
|
|
|
890
890
|
if (!ref.current) return;
|
|
891
891
|
const current = ref.current;
|
|
892
892
|
const continueListener = (e) => {
|
|
893
|
-
|
|
894
|
-
onContinue == null ? void 0 : onContinue(detail);
|
|
893
|
+
onContinue == null ? void 0 : onContinue(e);
|
|
895
894
|
};
|
|
896
|
-
const backListener = () => {
|
|
897
|
-
onBack == null ? void 0 : onBack();
|
|
895
|
+
const backListener = (e) => {
|
|
896
|
+
onBack == null ? void 0 : onBack(e);
|
|
898
897
|
};
|
|
899
898
|
const fieldsetChangeListener = (e) => {
|
|
900
899
|
const detail = e.detail;
|
|
@@ -980,10 +979,7 @@ function GoabPublicForm({
|
|
|
980
979
|
if (!ref.current) return;
|
|
981
980
|
const current = ref.current;
|
|
982
981
|
const initListener = (e) => {
|
|
983
|
-
|
|
984
|
-
if (detail == null ? void 0 : detail.el) {
|
|
985
|
-
onInit == null ? void 0 : onInit(detail);
|
|
986
|
-
}
|
|
982
|
+
onInit == null ? void 0 : onInit(e);
|
|
987
983
|
};
|
|
988
984
|
if (onInit && !initialized.current) {
|
|
989
985
|
current.addEventListener("_init", initListener);
|
|
@@ -1930,8 +1926,6 @@ const lightFormatters = {
|
|
|
1930
1926
|
}
|
|
1931
1927
|
};
|
|
1932
1928
|
const dayPeriodEnum = {
|
|
1933
|
-
am: "am",
|
|
1934
|
-
pm: "pm",
|
|
1935
1929
|
midnight: "midnight",
|
|
1936
1930
|
noon: "noon",
|
|
1937
1931
|
morning: "morning",
|