@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.mjs
CHANGED
|
@@ -520,6 +520,7 @@ function GoADatePicker({
|
|
|
520
520
|
min,
|
|
521
521
|
max,
|
|
522
522
|
testId,
|
|
523
|
+
disabled,
|
|
523
524
|
mt,
|
|
524
525
|
mr,
|
|
525
526
|
mb,
|
|
@@ -547,6 +548,7 @@ function GoADatePicker({
|
|
|
547
548
|
name,
|
|
548
549
|
value: value == null ? void 0 : value.toISOString(),
|
|
549
550
|
error,
|
|
551
|
+
disabled,
|
|
550
552
|
min: min == null ? void 0 : min.toISOString(),
|
|
551
553
|
max: max == null ? void 0 : max.toISOString(),
|
|
552
554
|
"data-testid": testId,
|
|
@@ -2859,12 +2861,13 @@ function GoAMicrositeHeader({
|
|
|
2859
2861
|
"goa-microsite-header",
|
|
2860
2862
|
{
|
|
2861
2863
|
type,
|
|
2862
|
-
version,
|
|
2864
|
+
version: typeof version === "string" ? version : void 0,
|
|
2863
2865
|
feedbackurl: feedbackUrl,
|
|
2864
2866
|
"data-testid": testId,
|
|
2865
2867
|
maxcontentwidth: maxContentWidth,
|
|
2866
2868
|
feedbackurltarget: feedbackUrlTarget,
|
|
2867
|
-
headerurltarget: headerUrlTarget
|
|
2869
|
+
headerurltarget: headerUrlTarget,
|
|
2870
|
+
children: version && typeof version !== "string" && /* @__PURE__ */ jsx("div", { slot: "version", children: version })
|
|
2868
2871
|
}
|
|
2869
2872
|
);
|
|
2870
2873
|
}
|