@react-hive/honey-layout 1.1.0 → 2.2.0
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/dist/components/HoneyBox.d.ts +4 -830
- package/dist/components/HoneyFlexBox.d.ts +5 -0
- package/dist/components/HoneyGrid/HoneyGrid.d.ts +40 -4
- package/dist/components/HoneyGrid/HoneyGrid.styled.d.ts +9 -1669
- package/dist/components/HoneyGrid/hooks/use-current-honey-grid.d.ts +2 -1
- package/dist/components/HoneyGridColumn/HoneyGridColumn.styled.d.ts +16 -1672
- package/dist/components/HoneyGridColumn/HoneyGridColumn.types.d.ts +1 -1
- package/dist/components/HoneyList/HoneyList.d.ts +7 -5
- package/dist/components/HoneyLoopingList/HoneyLoopingList.d.ts +5 -829
- package/dist/components/index.d.ts +1 -0
- package/dist/constants.d.ts +2 -2
- package/dist/helpers.d.ts +36 -21
- package/dist/hooks/use-honey-media-query.d.ts +9 -2
- package/dist/index.js +854 -814
- package/dist/providers/HoneyLayoutProvider.d.ts +7 -5
- package/dist/providers/HoneyLayoutThemeOverride.d.ts +4 -2
- package/dist/types/component.types.d.ts +47 -0
- package/dist/types/css.types.d.ts +73 -0
- package/dist/types/data.types.d.ts +33 -0
- package/dist/types/index.d.ts +6 -0
- package/dist/types/state.types.d.ts +22 -0
- package/dist/{types.d.ts → types/types.d.ts} +24 -179
- package/dist/types/utility.types.d.ts +72 -0
- package/dist/utils.d.ts +73 -26
- package/package.json +13 -13
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { HoneyGridColumnStyledProps } from './HoneyGridColumn.styled';
|
|
2
|
-
export type HoneyGridColumnProps = Omit<HoneyGridColumnStyledProps, 'columns' | 'spacing' | 'totalColumns' | 'totalTakeColumns'> & {};
|
|
2
|
+
export type HoneyGridColumnProps = Omit<HoneyGridColumnStyledProps, 'columns' | 'spacing' | 'totalColumns' | 'totalTakeColumns' | 'applyMaxWidth'> & {};
|
|
@@ -1,12 +1,14 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { RefAttributes, default as React } from 'react';
|
|
2
|
+
import { HoneyStatusContentOptions } from '../../types';
|
|
2
3
|
import { HoneyListGenericProps, HoneyListItem } from './HoneyList.types';
|
|
3
4
|
import { HoneyBoxProps } from '../HoneyBox';
|
|
4
5
|
type HoneyListProps<Item extends HoneyListItem> = HoneyBoxProps & HoneyListGenericProps<Item, Omit<HoneyStatusContentOptions, 'isNoContent'>>;
|
|
5
6
|
/**
|
|
6
|
-
*
|
|
7
|
-
* and
|
|
7
|
+
* The `HoneyList` is a forward-ref component that renders a list of items
|
|
8
|
+
* and allows a ref to be forwarded to the underlying DOM element.
|
|
8
9
|
*
|
|
9
|
-
* @template Item -
|
|
10
|
+
* @template Item - Represents the type of items to be rendered in the list.
|
|
11
|
+
* @template Element - Represents the type of the HTML element that will receive the ref.
|
|
10
12
|
*/
|
|
11
|
-
export declare const HoneyList: <Item extends HoneyListItem
|
|
13
|
+
export declare const HoneyList: <Item extends HoneyListItem, Element extends HTMLElement>(props: HoneyListProps<Item> & RefAttributes<Element>) => React.ReactElement;
|
|
12
14
|
export {};
|