@apolitical/component-library 1.3.0-beta.2 → 1.3.1
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.d.ts +1 -0
- package/index.js +38 -38
- package/index.mjs +4497 -4489
- package/layout/content-layout/columns/columns.d.ts +13 -0
- package/layout/content-layout/columns/index.d.ts +1 -0
- package/layout/content-layout/index.d.ts +1 -0
- package/layout/index.d.ts +1 -3
- package/package.json +1 -1
- package/sections/full-width-section/full-width-section.d.ts +8 -0
- package/sections/full-width-section/index.d.ts +1 -0
- package/sections/index.d.ts +3 -0
- package/sections/logo-section/index.d.ts +1 -0
- package/{layout/logos/logos.d.ts → sections/logo-section/logo-section.d.ts} +2 -2
- package/{layout/logos/logos.mock.d.ts → sections/logo-section/logo-section.mock.d.ts} +1 -1
- package/style.css +1 -1
- package/layout/full-width/full-width.d.ts +0 -8
- package/layout/full-width/index.d.ts +0 -1
- package/layout/logos/index.d.ts +0 -1
- /package/{layout → sections}/download-section/download-section.d.ts +0 -0
- /package/{layout → sections}/download-section/index.d.ts +0 -0
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface Props {
|
|
3
|
+
/** The layout for the columns */
|
|
4
|
+
layout?: '2-1';
|
|
5
|
+
/** If the columns should be hidden until they'd show in a row */
|
|
6
|
+
hideOnMobile?: false | number;
|
|
7
|
+
/** Additional classes */
|
|
8
|
+
className?: string;
|
|
9
|
+
/** The content to be rendered */
|
|
10
|
+
children: React.ReactElement;
|
|
11
|
+
}
|
|
12
|
+
declare const Columns: ({ layout, hideOnMobile, className, children }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export default Columns;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Columns } from './columns';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './columns';
|
package/layout/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface Props {
|
|
3
|
+
/** Additional classes */
|
|
4
|
+
className?: string;
|
|
5
|
+
children: React.ReactNode | JSX.Element;
|
|
6
|
+
}
|
|
7
|
+
declare const FullWidthSection: ({ children, className, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export default FullWidthSection;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as FullWidthSection } from './full-width-section';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as LogoSection } from './logo-section';
|
|
@@ -20,5 +20,5 @@ interface Props {
|
|
|
20
20
|
/** Additional classes */
|
|
21
21
|
className?: string;
|
|
22
22
|
}
|
|
23
|
-
declare const
|
|
24
|
-
export default
|
|
23
|
+
declare const LogoSection: ({ title: titleProps, logos, className }: Props) => import("react/jsx-runtime").JSX.Element | null;
|
|
24
|
+
export default LogoSection;
|