@abgov/react-components 3.4.0-alpha.35 → 3.4.0-alpha.38
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/index.d.ts
CHANGED
|
@@ -21,11 +21,11 @@ import { GoANotification } from './lib/notification/notification';
|
|
|
21
21
|
import { GoAPageBlock } from './lib/page-block/page-block';
|
|
22
22
|
import { GoAPageLoader } from './lib/page-loader/page-loader';
|
|
23
23
|
import { GoARadioGroup, GoARadioItem } from './lib/radio-group/radio-group';
|
|
24
|
-
import {
|
|
24
|
+
import { GoAMicrositeHeader } from './lib/microsite-header/microsite-header';
|
|
25
25
|
import { GoATextArea } from './lib/textarea/textarea';
|
|
26
26
|
import { GoASpinner } from './lib/spinner/spinner';
|
|
27
27
|
import type { GoAIconType } from './lib/icons';
|
|
28
28
|
import type { GoABadgeType } from './lib/badge/badge';
|
|
29
29
|
export type { GoAIconType };
|
|
30
30
|
export type { GoABadgeType };
|
|
31
|
-
export { GoAAppHeader, GoABadge, GoAButton, GoAButtonGroup, GoACallout, GoACheckbox, GoAContainer, GoADropdown, GoADropdownOption, GoAEmergencyBadge, GoAFlexRow, GoAFormItem, GoAHeroBanner, GoAHeroBannerActions, GoAIcon, GoAIconButton, GoAInfoBadge, GoAInput, GoAInputDate, GoAInputDateTime, GoAInputEmail, GoAInputFile, GoAInputMonth, GoAInputNumber, GoAInputPassword, GoAInputRange, GoAInputSearch, GoAInputTel, GoAInputText, GoAInputTime, GoAInputUrl, GoAModal, GoANotification, GoAPageBlock, GoAPageLoader, GoARadioItem, GoARadioGroup,
|
|
31
|
+
export { GoAAppHeader, GoABadge, GoAButton, GoAButtonGroup, GoACallout, GoACheckbox, GoAContainer, GoADropdown, GoADropdownOption, GoAEmergencyBadge, GoAFlexRow, GoAFormItem, GoAHeroBanner, GoAHeroBannerActions, GoAIcon, GoAIconButton, GoAInfoBadge, GoAInput, GoAInputDate, GoAInputDateTime, GoAInputEmail, GoAInputFile, GoAInputMonth, GoAInputNumber, GoAInputPassword, GoAInputRange, GoAInputSearch, GoAInputTel, GoAInputText, GoAInputTime, GoAInputUrl, GoAModal, GoANotification, GoAPageBlock, GoAPageLoader, GoARadioItem, GoARadioGroup, GoAMicrositeHeader, GoASuccessBadge, GoASpinner, GoATextArea, GoAWarningBadge, };
|
package/lib/form/form-item.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import React, { FC } from 'react';
|
|
2
2
|
interface WCProps {
|
|
3
|
-
name: string;
|
|
4
3
|
label: string;
|
|
5
4
|
optional?: boolean;
|
|
6
5
|
error?: string;
|
|
@@ -14,7 +13,6 @@ declare global {
|
|
|
14
13
|
}
|
|
15
14
|
}
|
|
16
15
|
interface GoAFormItemProps {
|
|
17
|
-
name: string;
|
|
18
16
|
label: string;
|
|
19
17
|
optional?: boolean;
|
|
20
18
|
error?: string;
|
|
@@ -2,7 +2,7 @@ import React, { FC } from 'react';
|
|
|
2
2
|
declare global {
|
|
3
3
|
namespace JSX {
|
|
4
4
|
interface IntrinsicElements {
|
|
5
|
-
'goa-
|
|
5
|
+
'goa-microsite-header': WebComponentProps & React.HTMLAttributes<HTMLElement>;
|
|
6
6
|
}
|
|
7
7
|
}
|
|
8
8
|
}
|
|
@@ -17,5 +17,5 @@ export interface HeaderProps {
|
|
|
17
17
|
version?: string;
|
|
18
18
|
feedbackUrl?: string;
|
|
19
19
|
}
|
|
20
|
-
export declare const
|
|
21
|
-
export default
|
|
20
|
+
export declare const GoAMicrositeHeader: FC<HeaderProps>;
|
|
21
|
+
export default GoAMicrositeHeader;
|
package/package.json
CHANGED
package/react-components.esm.js
CHANGED
|
@@ -320,11 +320,9 @@ const GoAFormItem = ({
|
|
|
320
320
|
helpText,
|
|
321
321
|
error,
|
|
322
322
|
optional,
|
|
323
|
-
name,
|
|
324
323
|
label
|
|
325
324
|
}) => {
|
|
326
325
|
return jsx("goa-form-item", Object.assign({
|
|
327
|
-
name: name,
|
|
328
326
|
label: label,
|
|
329
327
|
error: error,
|
|
330
328
|
optional: optional,
|
|
@@ -709,12 +707,12 @@ const GoARadioGroup = ({
|
|
|
709
707
|
}), void 0);
|
|
710
708
|
};
|
|
711
709
|
|
|
712
|
-
const
|
|
710
|
+
const GoAMicrositeHeader = ({
|
|
713
711
|
level,
|
|
714
712
|
version,
|
|
715
713
|
feedbackUrl
|
|
716
714
|
}) => {
|
|
717
|
-
return jsx("goa-
|
|
715
|
+
return jsx("goa-microsite-header", {
|
|
718
716
|
level: level,
|
|
719
717
|
version: version,
|
|
720
718
|
feedbackurl: feedbackUrl
|
|
@@ -780,4 +778,4 @@ const GoASpinner = ({
|
|
|
780
778
|
}, void 0);
|
|
781
779
|
};
|
|
782
780
|
|
|
783
|
-
export { GoAAppHeader, GoABadge, GoAButton, GoAButtonGroup, GoACallout, GoACheckbox, GoAContainer, GoADropdown, GoADropdownOption, GoAEmergencyBadge, GoAFlexRow, GoAFormItem, GoAHeroBanner, GoAHeroBannerActions, GoAIcon, GoAIconButton, GoAInfoBadge, GoAInput, GoAInputDate, GoAInputDateTime, GoAInputEmail, GoAInputFile, GoAInputMonth, GoAInputNumber, GoAInputPassword, GoAInputRange, GoAInputSearch, GoAInputTel, GoAInputText, GoAInputTime, GoAInputUrl, GoAModal, GoANotification, GoAPageBlock, GoAPageLoader, GoARadioGroup, GoARadioItem,
|
|
781
|
+
export { GoAAppHeader, GoABadge, GoAButton, GoAButtonGroup, GoACallout, GoACheckbox, GoAContainer, GoADropdown, GoADropdownOption, GoAEmergencyBadge, GoAFlexRow, GoAFormItem, GoAHeroBanner, GoAHeroBannerActions, GoAIcon, GoAIconButton, GoAInfoBadge, GoAInput, GoAInputDate, GoAInputDateTime, GoAInputEmail, GoAInputFile, GoAInputMonth, GoAInputNumber, GoAInputPassword, GoAInputRange, GoAInputSearch, GoAInputTel, GoAInputText, GoAInputTime, GoAInputUrl, GoAMicrositeHeader, GoAModal, GoANotification, GoAPageBlock, GoAPageLoader, GoARadioGroup, GoARadioItem, GoASpinner, GoASuccessBadge, GoATextArea, GoAWarningBadge };
|
package/react-components.umd.js
CHANGED
|
@@ -357,10 +357,8 @@
|
|
|
357
357
|
helpText = _a.helpText,
|
|
358
358
|
error = _a.error,
|
|
359
359
|
optional = _a.optional,
|
|
360
|
-
name = _a.name,
|
|
361
360
|
label = _a.label;
|
|
362
361
|
return jsxRuntime.jsx("goa-form-item", __assign({
|
|
363
|
-
name: name,
|
|
364
362
|
label: label,
|
|
365
363
|
error: error,
|
|
366
364
|
optional: optional,
|
|
@@ -718,11 +716,11 @@
|
|
|
718
716
|
}), void 0);
|
|
719
717
|
};
|
|
720
718
|
|
|
721
|
-
var
|
|
719
|
+
var GoAMicrositeHeader = function GoAMicrositeHeader(_a) {
|
|
722
720
|
var level = _a.level,
|
|
723
721
|
version = _a.version,
|
|
724
722
|
feedbackUrl = _a.feedbackUrl;
|
|
725
|
-
return jsxRuntime.jsx("goa-
|
|
723
|
+
return jsxRuntime.jsx("goa-microsite-header", {
|
|
726
724
|
level: level,
|
|
727
725
|
version: version,
|
|
728
726
|
feedbackurl: feedbackUrl
|
|
@@ -816,13 +814,13 @@
|
|
|
816
814
|
exports.GoAInputText = GoAInputText;
|
|
817
815
|
exports.GoAInputTime = GoAInputTime;
|
|
818
816
|
exports.GoAInputUrl = GoAInputUrl;
|
|
817
|
+
exports.GoAMicrositeHeader = GoAMicrositeHeader;
|
|
819
818
|
exports.GoAModal = GoAModal;
|
|
820
819
|
exports.GoANotification = GoANotification;
|
|
821
820
|
exports.GoAPageBlock = GoAPageBlock;
|
|
822
821
|
exports.GoAPageLoader = GoAPageLoader;
|
|
823
822
|
exports.GoARadioGroup = GoARadioGroup;
|
|
824
823
|
exports.GoARadioItem = GoARadioItem;
|
|
825
|
-
exports.GoAServiceLevelHeader = GoAServiceLevelHeader;
|
|
826
824
|
exports.GoASpinner = GoASpinner;
|
|
827
825
|
exports.GoASuccessBadge = GoASuccessBadge;
|
|
828
826
|
exports.GoATextArea = GoATextArea;
|