@trackunit/react-components 0.0.53 → 0.0.54
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/common/CommonProps.d.ts +0 -4
- package/common/useContainerProps.d.ts +4 -4
- package/components/{alert → Alert}/Alert.d.ts +0 -16
- package/components/{alert → Alert}/index.d.ts +0 -0
- package/components/{badge → Badge}/Badge.d.ts +0 -16
- package/components/{badge → Badge}/index.d.ts +0 -0
- package/components/{baseInput → BaseInput}/BaseInput.d.ts +0 -16
- package/components/{baseInput → BaseInput}/index.d.ts +0 -0
- package/components/{card → Card}/Card.d.ts +0 -4
- package/components/{card → Card}/CardBody.d.ts +0 -0
- package/components/{card → Card}/CardFooter.d.ts +0 -0
- package/components/{card → Card}/CardHeader.d.ts +1 -1
- package/components/{card → Card}/DensityContainer.d.ts +0 -6
- package/components/{card → Card}/index.d.ts +0 -0
- package/components/{chart → Chart}/Chart.d.ts +3 -31
- package/components/{chart → Chart}/index.d.ts +0 -0
- package/components/{checkbox → Checkbox}/CheckIcon.d.ts +0 -0
- package/components/{checkbox → Checkbox}/Checkbox.d.ts +0 -12
- package/components/{checkbox → Checkbox}/IndeterminateIcon.d.ts +0 -0
- package/components/{checkbox → Checkbox}/index.d.ts +0 -0
- package/components/{collapse → Collapse}/Collapse.d.ts +0 -8
- package/components/{collapse → Collapse}/index.d.ts +0 -0
- package/components/{copyableText → CopyableText}/CopyableText.d.ts +0 -6
- package/components/{copyableText → CopyableText}/index.d.ts +0 -0
- package/components/{dateField → DateField}/DateField.d.ts +1 -13
- package/components/{dateField → DateField}/index.d.ts +0 -0
- package/components/{dayPicker → DayPicker}/DayPicker.d.ts +0 -0
- package/components/{dayPicker → DayPicker}/DayPickerPopover.d.ts +1 -1
- package/components/{dayPicker → DayPicker}/DayRangePicker.d.ts +0 -0
- package/components/{dayPicker → DayPicker}/index.d.ts +0 -0
- package/components/{dayPicker → DayPicker}/useLocale.d.ts +0 -0
- package/components/{formGroup → FormGroup}/FormGroup.d.ts +0 -10
- package/components/{heading → Heading}/Heading.d.ts +0 -8
- package/components/{heading → Heading}/index.d.ts +0 -0
- package/components/{icon → Icon}/Icon.d.ts +0 -8
- package/components/{indicator → Indicator}/Indicator.d.ts +0 -0
- package/components/{indicator → Indicator}/index.d.ts +0 -0
- package/components/{label → Label}/Label.d.ts +0 -8
- package/components/{label → Label}/index.d.ts +0 -0
- package/components/{legendItem → LegendItem}/LegendItem.d.ts +0 -0
- package/components/{legendItem → LegendItem}/index.d.ts +0 -0
- package/components/{menu → Menu}/MenuButton.d.ts +0 -0
- package/components/{menu → Menu}/MenuItem.d.ts +3 -13
- package/components/{menu → Menu}/MenuList.d.ts +6 -12
- package/components/{menu → Menu}/index.d.ts +0 -0
- package/components/{modal → Modal}/Modal.d.ts +0 -10
- package/components/{modal → Modal}/ModalBackdrop.d.ts +0 -0
- package/components/{modal → Modal}/index.d.ts +0 -0
- package/components/{modal → Modal}/useModal.d.ts +0 -0
- package/components/{multiRowTableCell → MultiRowTableCell}/MultiRowTableCell.d.ts +3 -9
- package/components/{multiRowTableCell → MultiRowTableCell}/index.d.ts +0 -0
- package/components/NumberField/NumberField.d.ts +1 -3
- package/components/NumberInput/NumberInput.d.ts +1 -1
- package/components/{pageHeading → PageHeading}/PageHeading.d.ts +0 -6
- package/components/{pageHeading → PageHeading}/index.d.ts +0 -0
- package/components/{popover → Popover}/AnimatedPopover.d.ts +0 -0
- package/components/{popover → Popover}/PopoverList.d.ts +0 -0
- package/components/{popover → Popover}/PopoverListItem.d.ts +0 -0
- package/components/{popover → Popover}/PopoverTitle.d.ts +0 -0
- package/components/{popover → Popover}/index.d.ts +0 -0
- package/components/{popover → Popover}/usePopover.d.ts +0 -0
- package/components/{prompt → Prompt}/Prompt.d.ts +3 -3
- package/components/{prompt → Prompt}/index.d.ts +0 -0
- package/components/{radioGroup → RadioGroup}/RadioGroup.d.ts +0 -16
- package/components/{radioGroup → RadioGroup}/RadioGroupContext.d.ts +0 -0
- package/components/{radioGroup → RadioGroup}/RadioItem.d.ts +0 -4
- package/components/{radioGroup → RadioGroup}/index.d.ts +0 -0
- package/components/{select → Select}/CreatableSelect.d.ts +0 -0
- package/components/{select → Select}/FieldContainer.d.ts +0 -0
- package/components/{select → Select}/Select.d.ts +0 -0
- package/components/{select → Select}/index.d.ts +0 -0
- package/components/{select → Select}/shared.d.ts +0 -18
- package/components/{skeletonLines → SkeletonLines}/SkeletonLines.d.ts +2 -12
- package/components/{skeletonLines → SkeletonLines}/index.d.ts +0 -0
- package/components/{spacer → Spacer}/Spacer.d.ts +0 -4
- package/components/{spacer → Spacer}/index.d.ts +0 -0
- package/components/{spinner → Spinner}/Spinner.d.ts +0 -0
- package/components/{spinner → Spinner}/index.d.ts +0 -0
- package/components/{text → Text}/Text.d.ts +0 -20
- package/components/{text → Text}/index.d.ts +0 -0
- package/components/{textArea → TextArea}/TextArea.d.ts +0 -0
- package/components/{textArea → TextArea}/index.d.ts +0 -0
- package/components/{textField → TextField}/TextField.d.ts +1 -5
- package/components/{textField → TextField}/TextLenghtIndicator.d.ts +0 -0
- package/components/{textField → TextField}/index.d.ts +0 -0
- package/components/TextInput/TextInput.d.ts +1 -1
- package/components/{tip → Tip}/Tip.d.ts +2 -4
- package/components/{tip → Tip}/index.d.ts +0 -0
- package/components/{toggle → Toggle}/Toggle.d.ts +0 -0
- package/components/{toggle → Toggle}/index.d.ts +0 -0
- package/components/{tooltip → Tooltip}/Tooltip.d.ts +2 -20
- package/components/{tooltip → Tooltip}/index.d.ts +0 -0
- package/components/buttons/{button → Button}/Button.d.ts +0 -12
- package/components/buttons/{icon-button → IconButton}/IconButton.d.ts +0 -6
- package/components/buttons/{star-button → StarButton}/StarButton.d.ts +0 -0
- package/components/buttons/index.d.ts +3 -3
- package/components/buttons/shared/ButtonProps.d.ts +0 -14
- package/components/buttons/shared/helpers.d.ts +1 -1
- package/components/index.d.ts +33 -33
- package/index.js +11 -11
- package/layout/helper/MinTopFullContentLayout.d.ts +3 -3
- package/layout/responsive/FilterListMapLayout.d.ts +3 -3
- package/layout/responsive/FullWidthRepeatingLayout.d.ts +3 -3
- package/layout/responsive/IntrinsicallyResponsiveGrid.d.ts +3 -3
- package/package.json +1 -1
|
@@ -11,38 +11,26 @@ export interface ButtonProps extends ButtonCommonProps {
|
|
|
11
11
|
onClick?: (event: React.MouseEvent<HTMLElement>) => void;
|
|
12
12
|
/**
|
|
13
13
|
* Child nodes. Can be used to pass in text to be displayed on the button.
|
|
14
|
-
*
|
|
15
|
-
* @memberof ButtonProps
|
|
16
14
|
*/
|
|
17
15
|
children?: React.ReactNode;
|
|
18
16
|
/**
|
|
19
17
|
* Whether button is fullWidth or not.
|
|
20
|
-
*
|
|
21
|
-
* @memberof ButtonProps
|
|
22
18
|
*/
|
|
23
19
|
fullWidth?: boolean;
|
|
24
20
|
/**
|
|
25
21
|
* The button prefix.
|
|
26
|
-
*
|
|
27
|
-
* @memberof ButtonProps
|
|
28
22
|
*/
|
|
29
23
|
prefix?: React.ReactNode;
|
|
30
24
|
/**
|
|
31
25
|
* The button suffix.
|
|
32
|
-
*
|
|
33
|
-
* @memberof ButtonProps
|
|
34
26
|
*/
|
|
35
27
|
suffix?: React.ReactNode;
|
|
36
28
|
/**
|
|
37
29
|
* The type of the button. Values can be "submit" or "button".
|
|
38
|
-
*
|
|
39
|
-
* @memberof ButtonProps
|
|
40
30
|
*/
|
|
41
31
|
type?: ButtonType;
|
|
42
32
|
/**
|
|
43
33
|
* The element type the button will be rendered as.
|
|
44
|
-
*
|
|
45
|
-
* @memberof ButtonProps
|
|
46
34
|
*/
|
|
47
35
|
renderAs?: keyof JSX.IntrinsicElements | React.ComponentType<any>;
|
|
48
36
|
/**
|
|
@@ -3,14 +3,10 @@ import { ButtonCommonProps, ButtonSize } from "../shared/ButtonProps";
|
|
|
3
3
|
export interface IconButtonProps extends ButtonCommonProps {
|
|
4
4
|
/**
|
|
5
5
|
* The icon to display.
|
|
6
|
-
*
|
|
7
|
-
* @memberof IconButtonProps
|
|
8
6
|
*/
|
|
9
7
|
icon: React.ReactNode;
|
|
10
8
|
/**
|
|
11
9
|
* Whether the button is circular or not.
|
|
12
|
-
*
|
|
13
|
-
* @memberof IconButtonProps
|
|
14
10
|
*/
|
|
15
11
|
circular?: boolean;
|
|
16
12
|
/**
|
|
@@ -22,8 +18,6 @@ export interface IconButtonProps extends ButtonCommonProps {
|
|
|
22
18
|
renderAs?: keyof JSX.IntrinsicElements | React.ComponentType<any>;
|
|
23
19
|
/**
|
|
24
20
|
* The size of the button. Defaults to "small".
|
|
25
|
-
*
|
|
26
|
-
* @memberof IconButtonProps
|
|
27
21
|
*/
|
|
28
22
|
size?: ButtonSize;
|
|
29
23
|
}
|
|
File without changes
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from "./
|
|
2
|
-
export * from "./
|
|
1
|
+
export * from "./Button/Button";
|
|
2
|
+
export * from "./IconButton/IconButton";
|
|
3
3
|
export * from "./shared/ButtonProps";
|
|
4
|
-
export * from "./
|
|
4
|
+
export * from "./StarButton/StarButton";
|
|
@@ -8,44 +8,30 @@ export interface ButtonCommonProps extends CommonProps {
|
|
|
8
8
|
onClick?: (event: React.MouseEvent<HTMLElement>) => void;
|
|
9
9
|
/**
|
|
10
10
|
* Whether the button is loading.
|
|
11
|
-
*
|
|
12
|
-
* @memberof ButtonCommonProps
|
|
13
11
|
*/
|
|
14
12
|
loading?: boolean;
|
|
15
13
|
/**
|
|
16
14
|
* Whether the button is disabled.
|
|
17
|
-
*
|
|
18
|
-
* @memberof ButtonCommonProps
|
|
19
15
|
*/
|
|
20
16
|
disabled?: boolean;
|
|
21
17
|
/**
|
|
22
18
|
* Button with square aspect ratio.
|
|
23
|
-
*
|
|
24
|
-
* @memberof ButtonCommonProps
|
|
25
19
|
*/
|
|
26
20
|
square?: boolean;
|
|
27
21
|
/**
|
|
28
22
|
* The button's variant. Values are filled, transparent, plain.
|
|
29
|
-
*
|
|
30
|
-
* @memberof ButtonCommonProps
|
|
31
23
|
*/
|
|
32
24
|
intent?: ButtonIntent;
|
|
33
25
|
/**
|
|
34
26
|
* The variant of the button.
|
|
35
|
-
*
|
|
36
|
-
* @memberof ButtonCommonProps
|
|
37
27
|
*/
|
|
38
28
|
variant?: ButtonVariant;
|
|
39
29
|
/**
|
|
40
30
|
* The size of the button.
|
|
41
|
-
*
|
|
42
|
-
* @memberof ButtonCommonProps
|
|
43
31
|
*/
|
|
44
32
|
size?: ButtonSize;
|
|
45
33
|
/**
|
|
46
34
|
* The link to be used for the button.
|
|
47
|
-
*
|
|
48
|
-
* @memberof ButtonCommonProps
|
|
49
35
|
*/
|
|
50
36
|
to?: string;
|
|
51
37
|
title?: string;
|
package/components/index.d.ts
CHANGED
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
export * from "./
|
|
2
|
-
export * from "./
|
|
3
|
-
export * from "./
|
|
1
|
+
export * from "./Alert";
|
|
2
|
+
export * from "./Badge";
|
|
3
|
+
export * from "./BaseInput";
|
|
4
4
|
export * from "./buttons";
|
|
5
|
-
export * from "./
|
|
6
|
-
export * from "./
|
|
7
|
-
export * from "./
|
|
8
|
-
export * from "./
|
|
9
|
-
export * from "./
|
|
10
|
-
export * from "./
|
|
11
|
-
export * from "./
|
|
12
|
-
export * from "./
|
|
13
|
-
export * from "./
|
|
14
|
-
export * from "./
|
|
15
|
-
export * from "./
|
|
16
|
-
export * from "./
|
|
17
|
-
export * from "./
|
|
18
|
-
export * from "./
|
|
19
|
-
export * from "./
|
|
20
|
-
export * from "./
|
|
5
|
+
export * from "./Card";
|
|
6
|
+
export * from "./Chart";
|
|
7
|
+
export * from "./Checkbox";
|
|
8
|
+
export * from "./Collapse";
|
|
9
|
+
export * from "./CopyableText";
|
|
10
|
+
export * from "./DateField";
|
|
11
|
+
export * from "./DayPicker";
|
|
12
|
+
export * from "./FormGroup/FormGroup";
|
|
13
|
+
export * from "./Heading";
|
|
14
|
+
export * from "./Icon/Icon";
|
|
15
|
+
export * from "./Indicator";
|
|
16
|
+
export * from "./Label";
|
|
17
|
+
export * from "./LegendItem";
|
|
18
|
+
export * from "./Menu";
|
|
19
|
+
export * from "./Modal";
|
|
20
|
+
export * from "./MultiRowTableCell";
|
|
21
21
|
export * from "./NumberField/NumberField";
|
|
22
22
|
export * from "./NumberInput/NumberInput";
|
|
23
|
-
export * from "./
|
|
24
|
-
export * from "./
|
|
25
|
-
export * from "./
|
|
26
|
-
export * from "./
|
|
27
|
-
export * from "./
|
|
28
|
-
export * from "./
|
|
29
|
-
export * from "./
|
|
30
|
-
export * from "./
|
|
31
|
-
export * from "./
|
|
32
|
-
export * from "./
|
|
33
|
-
export * from "./
|
|
23
|
+
export * from "./PageHeading";
|
|
24
|
+
export * from "./Popover";
|
|
25
|
+
export * from "./Prompt";
|
|
26
|
+
export * from "./RadioGroup";
|
|
27
|
+
export * from "./Select";
|
|
28
|
+
export * from "./SkeletonLines";
|
|
29
|
+
export * from "./Spacer";
|
|
30
|
+
export * from "./Spinner";
|
|
31
|
+
export * from "./Text";
|
|
32
|
+
export * from "./TextArea";
|
|
33
|
+
export * from "./TextField";
|
|
34
34
|
export * from "./TextInput/TextInput";
|
|
35
|
-
export * from "./
|
|
36
|
-
export * from "./
|
|
37
|
-
export * from "./
|
|
35
|
+
export * from "./Tip";
|
|
36
|
+
export * from "./Toggle";
|
|
37
|
+
export * from "./Tooltip";
|
package/index.js
CHANGED
|
@@ -28,10 +28,10 @@ const docs = {
|
|
|
28
28
|
/**
|
|
29
29
|
* Utility for common props on containers.
|
|
30
30
|
*
|
|
31
|
-
* @param {
|
|
31
|
+
* @param {UseContainerProps} ContainerProps - Props for the utility
|
|
32
32
|
* @param {string} ContainerProps.className - Optional custom className
|
|
33
33
|
* @param {string} ContainerProps.dataTestId - Optional custom data-TestId
|
|
34
|
-
* @returns {
|
|
34
|
+
* @returns {UseContainerProps} - Object with undefined values removed
|
|
35
35
|
*/
|
|
36
36
|
const useContainerProps = ({
|
|
37
37
|
className,
|
|
@@ -1301,7 +1301,7 @@ gap-4
|
|
|
1301
1301
|
* The Chart component is a wrapper component for ECharts.
|
|
1302
1302
|
* Handles events and click functionality.
|
|
1303
1303
|
*
|
|
1304
|
-
* @param {
|
|
1304
|
+
* @param {ChartProps} props - The props for the Chart component
|
|
1305
1305
|
* @returns {JSX.Element} Chart component
|
|
1306
1306
|
*/
|
|
1307
1307
|
|
|
@@ -2709,7 +2709,7 @@ const MobileIconButton = tw(IconButton)`
|
|
|
2709
2709
|
/**
|
|
2710
2710
|
* The MenuItem component should be used to inform the user of important information.
|
|
2711
2711
|
*
|
|
2712
|
-
* @param {
|
|
2712
|
+
* @param {MenuItemProps} props - The props for the MenuItem component
|
|
2713
2713
|
* @returns {JSX.Element} MenuItem component
|
|
2714
2714
|
*/
|
|
2715
2715
|
|
|
@@ -2752,7 +2752,7 @@ const Label = tw.div`
|
|
|
2752
2752
|
/**
|
|
2753
2753
|
* The MenuList component is used for menus and selects.
|
|
2754
2754
|
*
|
|
2755
|
-
* @param {
|
|
2755
|
+
* @param {MenuListProps} props - The props for the MenuList component
|
|
2756
2756
|
* @returns {JSX.Element} MenuList component
|
|
2757
2757
|
*/
|
|
2758
2758
|
|
|
@@ -2973,7 +2973,7 @@ const useModal = ({
|
|
|
2973
2973
|
/**
|
|
2974
2974
|
* The MinTopFullContentLayout component.
|
|
2975
2975
|
*
|
|
2976
|
-
* @param {
|
|
2976
|
+
* @param {MinTopFullContentLayoutProps} props - The props for the MinTopFullContentLayout component
|
|
2977
2977
|
* @returns {JSX.Element} MinTopFullContentLayout component
|
|
2978
2978
|
*/
|
|
2979
2979
|
|
|
@@ -3006,7 +3006,7 @@ const Layout$5 = tw.span`
|
|
|
3006
3006
|
* on screens < mediaQuery.xxl
|
|
3007
3007
|
*
|
|
3008
3008
|
*
|
|
3009
|
-
* @param {
|
|
3009
|
+
* @param {FilterListMapLayoutProps} props - The props for the FilterListMapLayout component
|
|
3010
3010
|
* @returns {JSX.Element} FilterListMapLayout component
|
|
3011
3011
|
*/
|
|
3012
3012
|
|
|
@@ -3024,7 +3024,7 @@ const Layout$4 = tw.span`
|
|
|
3024
3024
|
* Row min height can optionally be set here or managed by children
|
|
3025
3025
|
* Scrolling happens if/when children's a min-height is reached
|
|
3026
3026
|
*
|
|
3027
|
-
* @param {
|
|
3027
|
+
* @param {FullWidthRepeatingLayoutProps} props - The props for the FullWidthRepeatingLayout component
|
|
3028
3028
|
* @returns {JSX.Element} FullWidthRepeatingLayout component
|
|
3029
3029
|
*/
|
|
3030
3030
|
|
|
@@ -3088,7 +3088,7 @@ const GridArea = ({
|
|
|
3088
3088
|
* A grid container that has a flexible number of columns.
|
|
3089
3089
|
* Adds more columns if constraints allow it, otherwise wraps to next row
|
|
3090
3090
|
*
|
|
3091
|
-
* @param {
|
|
3091
|
+
* @param {IntrinsicallyResponsiveGridProps} props - The props for the IntrinsicallyResponsiveGrid component
|
|
3092
3092
|
* @returns {JSX.Element} IntrinsicallyResponsiveGrid component
|
|
3093
3093
|
*/
|
|
3094
3094
|
|
|
@@ -3215,7 +3215,7 @@ const Layout = tw.div`
|
|
|
3215
3215
|
/**
|
|
3216
3216
|
* The MultiRowTableCell component extendins Table Cell component and formats your content supporting 2 rows.
|
|
3217
3217
|
*
|
|
3218
|
-
* @param {
|
|
3218
|
+
* @param {MultiRowTableCellProps} props - The props for the MultiRowTableCell component
|
|
3219
3219
|
* @returns {JSX.Element} MultiRowTableCell component
|
|
3220
3220
|
*/
|
|
3221
3221
|
|
|
@@ -3448,7 +3448,7 @@ function usePrompt(message, when = true) {
|
|
|
3448
3448
|
/**
|
|
3449
3449
|
* The Prompt function.
|
|
3450
3450
|
*
|
|
3451
|
-
* @param {
|
|
3451
|
+
* @param {PromptProps} Props -
|
|
3452
3452
|
* @returns {void} void
|
|
3453
3453
|
*/
|
|
3454
3454
|
|
|
@@ -5,14 +5,14 @@ import { CommonProps } from "../../common/CommonProps";
|
|
|
5
5
|
* Useful when toy want the second child to have 100% height and be scrollable
|
|
6
6
|
* Example: FilterBar + Fleet List
|
|
7
7
|
*/
|
|
8
|
-
interface
|
|
8
|
+
interface MinTopFullContentLayoutProps extends CommonProps {
|
|
9
9
|
children: ReactNode;
|
|
10
10
|
}
|
|
11
11
|
/**
|
|
12
12
|
* The MinTopFullContentLayout component.
|
|
13
13
|
*
|
|
14
|
-
* @param {
|
|
14
|
+
* @param {MinTopFullContentLayoutProps} props - The props for the MinTopFullContentLayout component
|
|
15
15
|
* @returns {JSX.Element} MinTopFullContentLayout component
|
|
16
16
|
*/
|
|
17
|
-
export declare const MinTopFullContentLayout: ({ children, className, dataTestId }:
|
|
17
|
+
export declare const MinTopFullContentLayout: ({ children, className, dataTestId }: MinTopFullContentLayoutProps) => JSX.Element;
|
|
18
18
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
interface
|
|
2
|
+
interface FilterListMapLayoutProps {
|
|
3
3
|
children: React.ReactNode;
|
|
4
4
|
}
|
|
5
5
|
/**
|
|
@@ -15,8 +15,8 @@ interface IProps {
|
|
|
15
15
|
* on screens < mediaQuery.xxl
|
|
16
16
|
*
|
|
17
17
|
*
|
|
18
|
-
* @param {
|
|
18
|
+
* @param {FilterListMapLayoutProps} props - The props for the FilterListMapLayout component
|
|
19
19
|
* @returns {JSX.Element} FilterListMapLayout component
|
|
20
20
|
*/
|
|
21
|
-
export declare const FilterListMapLayout: ({ children }:
|
|
21
|
+
export declare const FilterListMapLayout: ({ children }: FilterListMapLayoutProps) => JSX.Element;
|
|
22
22
|
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
declare type RowSizing = "Equal" | "MinContent" | "Unmanaged";
|
|
3
|
-
interface
|
|
3
|
+
interface FullWidthRepeatingLayoutProps {
|
|
4
4
|
children: React.ReactNode;
|
|
5
5
|
rowSizing?: RowSizing;
|
|
6
6
|
rowMinHeight?: number;
|
|
@@ -12,8 +12,8 @@ interface IFullWidthRepeatingLayoutProps {
|
|
|
12
12
|
* Row min height can optionally be set here or managed by children
|
|
13
13
|
* Scrolling happens if/when children's a min-height is reached
|
|
14
14
|
*
|
|
15
|
-
* @param {
|
|
15
|
+
* @param {FullWidthRepeatingLayoutProps} props - The props for the FullWidthRepeatingLayout component
|
|
16
16
|
* @returns {JSX.Element} FullWidthRepeatingLayout component
|
|
17
17
|
*/
|
|
18
|
-
export declare const FullWidthRepeatingLayout: ({ children, rowSizing, rowMinHeight, dataTestId, className, }:
|
|
18
|
+
export declare const FullWidthRepeatingLayout: ({ children, rowSizing, rowMinHeight, dataTestId, className, }: FullWidthRepeatingLayoutProps) => JSX.Element;
|
|
19
19
|
export {};
|
|
@@ -3,7 +3,7 @@ import { CommonProps } from "../../common/CommonProps";
|
|
|
3
3
|
declare type ColumnWidth = "slim" | "narrow" | "normal" | "wide";
|
|
4
4
|
declare type Space = "inherit" | "auto" | "none" | "tiny" | "mini" | "small" | "medium" | "large" | "giant" | "enormous";
|
|
5
5
|
declare type Occupation = "auto-fill" | "auto-fit";
|
|
6
|
-
interface
|
|
6
|
+
interface IntrinsicallyResponsiveGridProps extends CommonProps {
|
|
7
7
|
/**
|
|
8
8
|
* The children to be laid out
|
|
9
9
|
*/
|
|
@@ -23,8 +23,8 @@ interface IIntrinsicallyResponsiveGridProps extends CommonProps {
|
|
|
23
23
|
* A grid container that has a flexible number of columns.
|
|
24
24
|
* Adds more columns if constraints allow it, otherwise wraps to next row
|
|
25
25
|
*
|
|
26
|
-
* @param {
|
|
26
|
+
* @param {IntrinsicallyResponsiveGridProps} props - The props for the IntrinsicallyResponsiveGrid component
|
|
27
27
|
* @returns {JSX.Element} IntrinsicallyResponsiveGrid component
|
|
28
28
|
*/
|
|
29
|
-
export declare const IntrinsicallyResponsiveGrid: ({ children, occupation, minColumnWidth, gap, dataTestId, className, }:
|
|
29
|
+
export declare const IntrinsicallyResponsiveGrid: ({ children, occupation, minColumnWidth, gap, dataTestId, className, }: IntrinsicallyResponsiveGridProps) => JSX.Element;
|
|
30
30
|
export {};
|