@abgov/react-components 5.0.0-alpha.1 → 5.0.0-alpha.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/index.js +5 -2
- package/index.js.map +1 -1
- package/index.mjs +5 -2
- package/index.mjs.map +1 -1
- package/lib/date-picker/date-picker.d.ts +3 -1
- package/lib/microsite-header/microsite-header.d.ts +1 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -522,6 +522,7 @@ function GoADatePicker({
|
|
|
522
522
|
min,
|
|
523
523
|
max,
|
|
524
524
|
testId,
|
|
525
|
+
disabled,
|
|
525
526
|
mt,
|
|
526
527
|
mr,
|
|
527
528
|
mb,
|
|
@@ -549,6 +550,7 @@ function GoADatePicker({
|
|
|
549
550
|
name,
|
|
550
551
|
value: value == null ? void 0 : value.toISOString(),
|
|
551
552
|
error,
|
|
553
|
+
disabled,
|
|
552
554
|
min: min == null ? void 0 : min.toISOString(),
|
|
553
555
|
max: max == null ? void 0 : max.toISOString(),
|
|
554
556
|
"data-testid": testId,
|
|
@@ -2861,12 +2863,13 @@ function GoAMicrositeHeader({
|
|
|
2861
2863
|
"goa-microsite-header",
|
|
2862
2864
|
{
|
|
2863
2865
|
type,
|
|
2864
|
-
version,
|
|
2866
|
+
version: typeof version === "string" ? version : void 0,
|
|
2865
2867
|
feedbackurl: feedbackUrl,
|
|
2866
2868
|
"data-testid": testId,
|
|
2867
2869
|
maxcontentwidth: maxContentWidth,
|
|
2868
2870
|
feedbackurltarget: feedbackUrlTarget,
|
|
2869
|
-
headerurltarget: headerUrlTarget
|
|
2871
|
+
headerurltarget: headerUrlTarget,
|
|
2872
|
+
children: version && typeof version !== "string" && /* @__PURE__ */ jsxRuntime.jsx("div", { slot: "version", children: version })
|
|
2870
2873
|
}
|
|
2871
2874
|
);
|
|
2872
2875
|
}
|