@apolitical/component-library 3.5.10-ac.9 → 3.5.10
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/helpers/intl.d.ts +0 -3
- package/index.js +12 -12
- package/index.mjs +413 -407
- package/layout/content-layout/columns/columns.d.ts +3 -1
- package/package.json +1 -1
- package/style.css +1 -1
|
@@ -4,10 +4,12 @@ interface Props {
|
|
|
4
4
|
layout?: '2-1' | '1-3' | '1-1';
|
|
5
5
|
/** If the columns should be hidden until they'd show in a row */
|
|
6
6
|
hideOnMobile?: false | number;
|
|
7
|
+
/** Whether the direct children of `.columns` should use `container-type: inline-size`. This is needed for some components, e.g. `LogoSection`, to have the right styling inside the space, but it also means nothing can be `position: fixed` inside the columns. It is `false` by default. */
|
|
8
|
+
hasCSSContainers?: boolean;
|
|
7
9
|
/** Additional classes */
|
|
8
10
|
className?: string;
|
|
9
11
|
/** The content to be rendered */
|
|
10
12
|
children: React.ReactElement;
|
|
11
13
|
}
|
|
12
|
-
declare const Columns: ({ layout, hideOnMobile, className, children, }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
declare const Columns: ({ layout, hideOnMobile, hasCSSContainers, className, children, }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
13
15
|
export default Columns;
|