@apolitical/component-library 1.3.0 → 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.
@@ -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
@@ -1 +1,2 @@
1
+ export * from './content-layout';
1
2
  export * from './page-layout';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apolitical/component-library",
3
- "version": "1.3.0",
3
+ "version": "1.3.1",
4
4
  "main": "./index.js",
5
5
  "types": "./index.d.ts",
6
6
  "exports": {