braid-design-system 32.9.0 → 32.9.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/CHANGELOG.md +19 -0
- package/codemod/dist/index.js +255 -36
- package/codemod/dist/wrapper.js +24776 -20656
- package/dist/index.chunk.cjs +6 -3
- package/dist/index.chunk.mjs +6 -3
- package/package.json +1 -1
package/dist/index.chunk.cjs
CHANGED
|
@@ -4443,6 +4443,7 @@ const ModalContent = ({
|
|
|
4443
4443
|
}
|
|
4444
4444
|
};
|
|
4445
4445
|
const justifyContent = { left: "flexStart", center: "center", right: "flexEnd" }[position];
|
|
4446
|
+
const modalRadius = position === "center" ? "xlarge" : void 0;
|
|
4446
4447
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
4447
4448
|
ToastContext.Box,
|
|
4448
4449
|
{
|
|
@@ -4466,6 +4467,9 @@ const ModalContent = ({
|
|
|
4466
4467
|
alignItems: "center",
|
|
4467
4468
|
justifyContent,
|
|
4468
4469
|
height: position === "right" || position === "left" ? "full" : void 0,
|
|
4470
|
+
overflow: position !== "center" ? "hidden" : void 0,
|
|
4471
|
+
boxShadow: "large",
|
|
4472
|
+
borderRadius: modalRadius,
|
|
4469
4473
|
width: width !== "content" ? "full" : void 0,
|
|
4470
4474
|
maxWidth: width !== "content" ? width : void 0,
|
|
4471
4475
|
children: [
|
|
@@ -4473,10 +4477,9 @@ const ModalContent = ({
|
|
|
4473
4477
|
ToastContext.Box,
|
|
4474
4478
|
{
|
|
4475
4479
|
background: "surface",
|
|
4476
|
-
borderRadius:
|
|
4480
|
+
borderRadius: modalRadius,
|
|
4477
4481
|
overflow: "auto",
|
|
4478
4482
|
position: "relative",
|
|
4479
|
-
boxShadow: "large",
|
|
4480
4483
|
width: width !== "content" ? "full" : void 0,
|
|
4481
4484
|
height: position === "right" || position === "left" ? "full" : void 0,
|
|
4482
4485
|
paddingY: modalPadding,
|
|
@@ -6460,7 +6463,7 @@ const RadioGroup = ({
|
|
|
6460
6463
|
ToastContext.Box,
|
|
6461
6464
|
{
|
|
6462
6465
|
paddingTop: "label" in props ? labelSpace : void 0,
|
|
6463
|
-
paddingBottom: props.message ? "xsmall" : void 0,
|
|
6466
|
+
paddingBottom: props.message || props.reserveMessageSpace ? "xsmall" : void 0,
|
|
6464
6467
|
children: /* @__PURE__ */ jsxRuntime.jsx(ToastContext.Stack, { space: stackSpaceForSize[size || "standard"], children: items.map((item, i) => /* @__PURE__ */ jsxRuntime.jsx(RadioItemContext.Provider, { value: i, children: item }, i)) })
|
|
6465
6468
|
}
|
|
6466
6469
|
)
|
package/dist/index.chunk.mjs
CHANGED
|
@@ -4435,6 +4435,7 @@ const ModalContent = ({
|
|
|
4435
4435
|
}
|
|
4436
4436
|
};
|
|
4437
4437
|
const justifyContent = { left: "flexStart", center: "center", right: "flexEnd" }[position];
|
|
4438
|
+
const modalRadius = position === "center" ? "xlarge" : void 0;
|
|
4438
4439
|
return /* @__PURE__ */ jsx(
|
|
4439
4440
|
Box,
|
|
4440
4441
|
{
|
|
@@ -4458,6 +4459,9 @@ const ModalContent = ({
|
|
|
4458
4459
|
alignItems: "center",
|
|
4459
4460
|
justifyContent,
|
|
4460
4461
|
height: position === "right" || position === "left" ? "full" : void 0,
|
|
4462
|
+
overflow: position !== "center" ? "hidden" : void 0,
|
|
4463
|
+
boxShadow: "large",
|
|
4464
|
+
borderRadius: modalRadius,
|
|
4461
4465
|
width: width2 !== "content" ? "full" : void 0,
|
|
4462
4466
|
maxWidth: width2 !== "content" ? width2 : void 0,
|
|
4463
4467
|
children: [
|
|
@@ -4465,10 +4469,9 @@ const ModalContent = ({
|
|
|
4465
4469
|
Box,
|
|
4466
4470
|
{
|
|
4467
4471
|
background: "surface",
|
|
4468
|
-
borderRadius:
|
|
4472
|
+
borderRadius: modalRadius,
|
|
4469
4473
|
overflow: "auto",
|
|
4470
4474
|
position: "relative",
|
|
4471
|
-
boxShadow: "large",
|
|
4472
4475
|
width: width2 !== "content" ? "full" : void 0,
|
|
4473
4476
|
height: position === "right" || position === "left" ? "full" : void 0,
|
|
4474
4477
|
paddingY: modalPadding,
|
|
@@ -6452,7 +6455,7 @@ const RadioGroup = ({
|
|
|
6452
6455
|
Box,
|
|
6453
6456
|
{
|
|
6454
6457
|
paddingTop: "label" in props ? labelSpace : void 0,
|
|
6455
|
-
paddingBottom: props.message ? "xsmall" : void 0,
|
|
6458
|
+
paddingBottom: props.message || props.reserveMessageSpace ? "xsmall" : void 0,
|
|
6456
6459
|
children: /* @__PURE__ */ jsx(Stack, { space: stackSpaceForSize[size2 || "standard"], children: items.map((item, i) => /* @__PURE__ */ jsx(RadioItemContext.Provider, { value: i, children: item }, i)) })
|
|
6457
6460
|
}
|
|
6458
6461
|
)
|