@marigold/components 7.5.0 → 7.5.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/dist/index.d.mts +6 -5
- package/dist/index.d.ts +6 -5
- package/dist/index.js +620 -566
- package/dist/index.mjs +483 -430
- package/package.json +4 -4
package/dist/index.d.mts
CHANGED
|
@@ -3,13 +3,13 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
|
3
3
|
import * as react from 'react';
|
|
4
4
|
import react__default, { ReactElement, ReactNode, ElementType, ComponentPropsWithRef, ForwardRefExoticComponent, RefAttributes, Key as Key$1 } from 'react';
|
|
5
5
|
import { AriaAccordionProps } from '@react-aria/accordion';
|
|
6
|
-
import { ItemElement, SelectionMode, ItemProps, Node } from '@react-types/shared';
|
|
6
|
+
import { ItemElement, SelectionMode, ItemProps, Node, Orientation } from '@react-types/shared';
|
|
7
7
|
import { TreeState } from '@react-stately/tree';
|
|
8
8
|
import { GapSpaceProp, AspectProp, WidthProp, AlignmentProp, alignment, PaddingSpaceProp, PaddingSpacePropX, PaddingSpacePropY, PaddingRightProp, PaddingLeftProp, PaddingBottomProp, PaddingTopProp, PlaceItemsProp, GridColumn, GridColsAlignProp, TextAlignProp, ObjectFitProp, ObjectPositionProp, Theme, ThemeProviderProps, FontSizeProp, FontWeightProp, FontStyleProp, CursorProp, SVGProps } from '@marigold/system';
|
|
9
9
|
export { ThemeProvider, useTheme } from '@marigold/system';
|
|
10
10
|
import { NonZeroPercentage, HtmlProps, DistributiveOmit } from '@marigold/types';
|
|
11
11
|
import RAC, { ValidationResult, Key, DateValue, TagListProps } from 'react-aria-components';
|
|
12
|
-
export { Form, FormProps } from 'react-aria-components';
|
|
12
|
+
export { Form, FormProps, RouterProvider } from 'react-aria-components';
|
|
13
13
|
export { I18nProvider } from '@react-aria/i18n';
|
|
14
14
|
import { AriaTableProps } from '@react-aria/table';
|
|
15
15
|
import { TableStateProps, RowProps as RowProps$1, TableBody, Cell, TableHeader, ColumnProps as ColumnProps$1 } from '@react-stately/table';
|
|
@@ -213,13 +213,14 @@ interface CheckboxGroupProps extends Omit<RAC.CheckboxGroupProps, RemovedProps$k
|
|
|
213
213
|
required?: RAC.CheckboxGroupProps['isRequired'];
|
|
214
214
|
error?: RAC.CheckboxGroupProps['isInvalid'];
|
|
215
215
|
readOnly?: RAC.CheckboxGroupProps['isReadOnly'];
|
|
216
|
+
orientation?: Orientation;
|
|
216
217
|
}
|
|
217
|
-
declare const _CheckboxGroup: ({ children, variant, size, required, disabled, readOnly, error, ...rest }: CheckboxGroupProps) => react_jsx_runtime.JSX.Element;
|
|
218
|
+
declare const _CheckboxGroup: ({ children, variant, size, required, disabled, readOnly, error, width, orientation, ...rest }: CheckboxGroupProps) => react_jsx_runtime.JSX.Element;
|
|
218
219
|
|
|
219
220
|
interface ColumnsProps extends GapSpaceProp {
|
|
220
221
|
children?: ReactNode;
|
|
221
|
-
columns: Array<number>;
|
|
222
|
-
collapseAt?: string
|
|
222
|
+
columns: Array<number | 'fit'>;
|
|
223
|
+
collapseAt?: string;
|
|
223
224
|
stretch?: boolean;
|
|
224
225
|
}
|
|
225
226
|
declare const Columns: ({ space, columns, collapseAt, stretch, children, ...props }: ColumnsProps) => react_jsx_runtime.JSX.Element;
|
package/dist/index.d.ts
CHANGED
|
@@ -3,13 +3,13 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
|
3
3
|
import * as react from 'react';
|
|
4
4
|
import react__default, { ReactElement, ReactNode, ElementType, ComponentPropsWithRef, ForwardRefExoticComponent, RefAttributes, Key as Key$1 } from 'react';
|
|
5
5
|
import { AriaAccordionProps } from '@react-aria/accordion';
|
|
6
|
-
import { ItemElement, SelectionMode, ItemProps, Node } from '@react-types/shared';
|
|
6
|
+
import { ItemElement, SelectionMode, ItemProps, Node, Orientation } from '@react-types/shared';
|
|
7
7
|
import { TreeState } from '@react-stately/tree';
|
|
8
8
|
import { GapSpaceProp, AspectProp, WidthProp, AlignmentProp, alignment, PaddingSpaceProp, PaddingSpacePropX, PaddingSpacePropY, PaddingRightProp, PaddingLeftProp, PaddingBottomProp, PaddingTopProp, PlaceItemsProp, GridColumn, GridColsAlignProp, TextAlignProp, ObjectFitProp, ObjectPositionProp, Theme, ThemeProviderProps, FontSizeProp, FontWeightProp, FontStyleProp, CursorProp, SVGProps } from '@marigold/system';
|
|
9
9
|
export { ThemeProvider, useTheme } from '@marigold/system';
|
|
10
10
|
import { NonZeroPercentage, HtmlProps, DistributiveOmit } from '@marigold/types';
|
|
11
11
|
import RAC, { ValidationResult, Key, DateValue, TagListProps } from 'react-aria-components';
|
|
12
|
-
export { Form, FormProps } from 'react-aria-components';
|
|
12
|
+
export { Form, FormProps, RouterProvider } from 'react-aria-components';
|
|
13
13
|
export { I18nProvider } from '@react-aria/i18n';
|
|
14
14
|
import { AriaTableProps } from '@react-aria/table';
|
|
15
15
|
import { TableStateProps, RowProps as RowProps$1, TableBody, Cell, TableHeader, ColumnProps as ColumnProps$1 } from '@react-stately/table';
|
|
@@ -213,13 +213,14 @@ interface CheckboxGroupProps extends Omit<RAC.CheckboxGroupProps, RemovedProps$k
|
|
|
213
213
|
required?: RAC.CheckboxGroupProps['isRequired'];
|
|
214
214
|
error?: RAC.CheckboxGroupProps['isInvalid'];
|
|
215
215
|
readOnly?: RAC.CheckboxGroupProps['isReadOnly'];
|
|
216
|
+
orientation?: Orientation;
|
|
216
217
|
}
|
|
217
|
-
declare const _CheckboxGroup: ({ children, variant, size, required, disabled, readOnly, error, ...rest }: CheckboxGroupProps) => react_jsx_runtime.JSX.Element;
|
|
218
|
+
declare const _CheckboxGroup: ({ children, variant, size, required, disabled, readOnly, error, width, orientation, ...rest }: CheckboxGroupProps) => react_jsx_runtime.JSX.Element;
|
|
218
219
|
|
|
219
220
|
interface ColumnsProps extends GapSpaceProp {
|
|
220
221
|
children?: ReactNode;
|
|
221
|
-
columns: Array<number>;
|
|
222
|
-
collapseAt?: string
|
|
222
|
+
columns: Array<number | 'fit'>;
|
|
223
|
+
collapseAt?: string;
|
|
223
224
|
stretch?: boolean;
|
|
224
225
|
}
|
|
225
226
|
declare const Columns: ({ space, columns, collapseAt, stretch, children, ...props }: ColumnsProps) => react_jsx_runtime.JSX.Element;
|