@lumx/react 4.3.2-alpha.16 → 4.3.2-alpha.18
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 +19 -4
- package/index.js +155 -127
- package/index.js.map +1 -1
- package/package.json +3 -13
package/index.d.ts
CHANGED
|
@@ -1658,22 +1658,37 @@ interface GridItemProps extends GenericProps {
|
|
|
1658
1658
|
*/
|
|
1659
1659
|
declare const GridItem: Comp<GridItemProps, HTMLDivElement>;
|
|
1660
1660
|
|
|
1661
|
-
type GridColumnGapSize = Extract<Size
|
|
1661
|
+
type GridColumnGapSize = Extract<Size, 'tiny' | 'regular' | 'big' | 'huge'>;
|
|
1662
1662
|
/**
|
|
1663
1663
|
* Defines the props of the component.
|
|
1664
1664
|
*/
|
|
1665
|
-
interface GridColumnProps extends
|
|
1665
|
+
interface GridColumnProps$1 extends HasClassName {
|
|
1666
1666
|
/** Customize the root element. */
|
|
1667
|
-
as?:
|
|
1667
|
+
as?: any;
|
|
1668
1668
|
/** Children elements. */
|
|
1669
|
-
children?:
|
|
1669
|
+
children?: JSXElement;
|
|
1670
1670
|
/** Space between columns and rows. */
|
|
1671
1671
|
gap?: GridColumnGapSize;
|
|
1672
1672
|
/** Ideal number of columns. */
|
|
1673
1673
|
maxColumns?: number;
|
|
1674
1674
|
/** Minimum width for each item, reduce the number of column if there is not enough space. */
|
|
1675
1675
|
itemMinWidth?: number;
|
|
1676
|
+
/** Custom styles. */
|
|
1677
|
+
style?: any;
|
|
1678
|
+
/** reference to the root element */
|
|
1679
|
+
ref?: CommonRef;
|
|
1676
1680
|
}
|
|
1681
|
+
|
|
1682
|
+
/**
|
|
1683
|
+
* Defines the props of the component.
|
|
1684
|
+
*/
|
|
1685
|
+
interface GridColumnProps extends GenericProps, GridColumnProps$1 {
|
|
1686
|
+
/** Customize the root element. */
|
|
1687
|
+
as?: React.ElementType;
|
|
1688
|
+
/** Children elements. */
|
|
1689
|
+
children?: React.ReactNode;
|
|
1690
|
+
}
|
|
1691
|
+
|
|
1677
1692
|
/**
|
|
1678
1693
|
* The GridColumn is a layout component that can display children in a grid
|
|
1679
1694
|
* with custom display properties. It also comes with a responsive design,
|