@apolitical/component-library 4.8.7-jc.1 → 4.8.7-jc.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.mjs
CHANGED
|
@@ -21509,12 +21509,13 @@ const qn = ({
|
|
|
21509
21509
|
styling: n = {},
|
|
21510
21510
|
...r
|
|
21511
21511
|
}) => {
|
|
21512
|
-
const { background: i = "default" } = n;
|
|
21512
|
+
const { background: i = "default", padding: a = "none" } = n;
|
|
21513
21513
|
return /* @__PURE__ */ c.jsx(
|
|
21514
21514
|
"section",
|
|
21515
21515
|
{
|
|
21516
21516
|
className: Z("full-width-section", t, {
|
|
21517
|
-
[i]: i !== "default"
|
|
21517
|
+
[i]: i !== "default",
|
|
21518
|
+
[a]: a !== "none"
|
|
21518
21519
|
}),
|
|
21519
21520
|
...r,
|
|
21520
21521
|
children: e
|
package/package.json
CHANGED
|
@@ -4,6 +4,8 @@ interface Props {
|
|
|
4
4
|
styling?: {
|
|
5
5
|
/** The background of the section. Defaults to `default` */
|
|
6
6
|
background?: 'default' | 'light' | 'dark';
|
|
7
|
+
/** The size of the padding. Defaults to `default` */
|
|
8
|
+
padding?: 'none' | 'medium' | 'large';
|
|
7
9
|
};
|
|
8
10
|
/** Additional classes */
|
|
9
11
|
className?: string;
|