@homebound/beam 2.415.5 → 2.416.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/{chunk-ZQBDHF22.js → chunk-XH44AYND.js} +2 -1
- package/dist/chunk-XH44AYND.js.map +1 -0
- package/dist/index.cjs +57 -29
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -7
- package/dist/index.d.ts +7 -7
- package/dist/index.js +105 -78
- package/dist/index.js.map +1 -1
- package/dist/utils/rtlUtils.cjs.map +1 -1
- package/dist/utils/rtlUtils.js +1 -1
- package/package.json +4 -4
- package/dist/chunk-ZQBDHF22.js.map +0 -1
package/dist/index.d.cts
CHANGED
|
@@ -3,7 +3,7 @@ import { Properties as Properties$1 } from 'csstype';
|
|
|
3
3
|
import * as React$1 from 'react';
|
|
4
4
|
import React__default, { PropsWithChildren, AriaAttributes, ReactNode, RefObject, ButtonHTMLAttributes, ReactElement, MutableRefObject, Dispatch, SetStateAction, KeyboardEvent, LabelHTMLAttributes, InputHTMLAttributes, TextareaHTMLAttributes, Key, HTMLAttributes, ReactPortal } from 'react';
|
|
5
5
|
import * as _emotion_react_jsx_runtime from '@emotion/react/jsx-runtime';
|
|
6
|
-
import { DOMProps, PressEvent } from '@react-types/shared';
|
|
6
|
+
import { DOMProps, PressEvent, Key as Key$1 } from '@react-types/shared';
|
|
7
7
|
import { VirtuosoHandle, ListRange } from 'react-virtuoso';
|
|
8
8
|
import { AriaButtonProps } from '@react-types/button';
|
|
9
9
|
import { Matcher, DateRange } from 'react-day-picker';
|
|
@@ -6931,8 +6931,8 @@ declare function TreeSelectField<O, V extends Value>(props: TreeSelectFieldProps
|
|
|
6931
6931
|
declare function TreeSelectField<O extends HasIdAndName<V>, V extends Value>(props: Optional<TreeSelectFieldProps<O, V>, "getOptionValue" | "getOptionLabel">): JSX.Element;
|
|
6932
6932
|
declare function useTreeSelectFieldProvider<O, V extends Value>(): CollapsedChildrenState<any, any>;
|
|
6933
6933
|
interface CollapsedChildrenState<O, V extends Value> {
|
|
6934
|
-
collapsedKeys: Key[];
|
|
6935
|
-
setCollapsedKeys: Dispatch<SetStateAction<Key[]>>;
|
|
6934
|
+
collapsedKeys: Key$1[];
|
|
6935
|
+
setCollapsedKeys: Dispatch<SetStateAction<Key$1[]>>;
|
|
6936
6936
|
getOptionValue: (opt: O) => V;
|
|
6937
6937
|
}
|
|
6938
6938
|
declare const CollapsedContext: React__default.Context<CollapsedChildrenState<any, any>>;
|
|
@@ -6948,7 +6948,7 @@ type DateFilterValue<V extends Value> = {
|
|
|
6948
6948
|
op: V;
|
|
6949
6949
|
value: Date;
|
|
6950
6950
|
};
|
|
6951
|
-
declare function dateFilter<O, V extends
|
|
6951
|
+
declare function dateFilter<O, V extends Value>(props: DateFilterProps<O, V, DateFilterValue<V>>): (key: string) => Filter<DateFilterValue<V>>;
|
|
6952
6952
|
|
|
6953
6953
|
type DateRangeFilterProps<O extends string> = {
|
|
6954
6954
|
label: string;
|
|
@@ -6967,7 +6967,7 @@ type MultiFilterProps<O, V extends Value> = Omit<MultiSelectFieldProps<O, V>, "v
|
|
|
6967
6967
|
defaultValue?: V[];
|
|
6968
6968
|
label?: string;
|
|
6969
6969
|
};
|
|
6970
|
-
declare function multiFilter<O, V extends
|
|
6970
|
+
declare function multiFilter<O, V extends Value>(props: MultiFilterProps<O, V>): (key: string) => Filter<V[]>;
|
|
6971
6971
|
|
|
6972
6972
|
type NumberRangeFilterProps<DV extends NumberRangeFilterValue> = {
|
|
6973
6973
|
label: string;
|
|
@@ -6985,7 +6985,7 @@ type SingleFilterProps<O, V extends Value> = Omit<SelectFieldProps<O, V>, "value
|
|
|
6985
6985
|
defaultValue?: V;
|
|
6986
6986
|
label?: string;
|
|
6987
6987
|
};
|
|
6988
|
-
declare function singleFilter<O, V extends
|
|
6988
|
+
declare function singleFilter<O, V extends Value>(props: SingleFilterProps<O, V>): (key: string) => Filter<V>;
|
|
6989
6989
|
|
|
6990
6990
|
type TreeFilterProps<O, V extends Value> = Omit<TreeSelectFieldProps<O, V>, "values" | "onSelect" | "label"> & {
|
|
6991
6991
|
defaultValue?: V[];
|
|
@@ -6995,7 +6995,7 @@ type TreeFilterProps<O, V extends Value> = Omit<TreeSelectFieldProps<O, V>, "val
|
|
|
6995
6995
|
filterBy?: TreeFilterBy;
|
|
6996
6996
|
};
|
|
6997
6997
|
type TreeFilterBy = keyof TreeSelectResponse<any, any>;
|
|
6998
|
-
declare function treeFilter<O, V extends
|
|
6998
|
+
declare function treeFilter<O, V extends Value>(props: TreeFilterProps<O, V>): (key: string) => Filter<V[]>;
|
|
6999
6999
|
|
|
7000
7000
|
/**
|
|
7001
7001
|
* Provides behavior common to most filters.
|
package/dist/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { Properties as Properties$1 } from 'csstype';
|
|
|
3
3
|
import * as React$1 from 'react';
|
|
4
4
|
import React__default, { PropsWithChildren, AriaAttributes, ReactNode, RefObject, ButtonHTMLAttributes, ReactElement, MutableRefObject, Dispatch, SetStateAction, KeyboardEvent, LabelHTMLAttributes, InputHTMLAttributes, TextareaHTMLAttributes, Key, HTMLAttributes, ReactPortal } from 'react';
|
|
5
5
|
import * as _emotion_react_jsx_runtime from '@emotion/react/jsx-runtime';
|
|
6
|
-
import { DOMProps, PressEvent } from '@react-types/shared';
|
|
6
|
+
import { DOMProps, PressEvent, Key as Key$1 } from '@react-types/shared';
|
|
7
7
|
import { VirtuosoHandle, ListRange } from 'react-virtuoso';
|
|
8
8
|
import { AriaButtonProps } from '@react-types/button';
|
|
9
9
|
import { Matcher, DateRange } from 'react-day-picker';
|
|
@@ -6931,8 +6931,8 @@ declare function TreeSelectField<O, V extends Value>(props: TreeSelectFieldProps
|
|
|
6931
6931
|
declare function TreeSelectField<O extends HasIdAndName<V>, V extends Value>(props: Optional<TreeSelectFieldProps<O, V>, "getOptionValue" | "getOptionLabel">): JSX.Element;
|
|
6932
6932
|
declare function useTreeSelectFieldProvider<O, V extends Value>(): CollapsedChildrenState<any, any>;
|
|
6933
6933
|
interface CollapsedChildrenState<O, V extends Value> {
|
|
6934
|
-
collapsedKeys: Key[];
|
|
6935
|
-
setCollapsedKeys: Dispatch<SetStateAction<Key[]>>;
|
|
6934
|
+
collapsedKeys: Key$1[];
|
|
6935
|
+
setCollapsedKeys: Dispatch<SetStateAction<Key$1[]>>;
|
|
6936
6936
|
getOptionValue: (opt: O) => V;
|
|
6937
6937
|
}
|
|
6938
6938
|
declare const CollapsedContext: React__default.Context<CollapsedChildrenState<any, any>>;
|
|
@@ -6948,7 +6948,7 @@ type DateFilterValue<V extends Value> = {
|
|
|
6948
6948
|
op: V;
|
|
6949
6949
|
value: Date;
|
|
6950
6950
|
};
|
|
6951
|
-
declare function dateFilter<O, V extends
|
|
6951
|
+
declare function dateFilter<O, V extends Value>(props: DateFilterProps<O, V, DateFilterValue<V>>): (key: string) => Filter<DateFilterValue<V>>;
|
|
6952
6952
|
|
|
6953
6953
|
type DateRangeFilterProps<O extends string> = {
|
|
6954
6954
|
label: string;
|
|
@@ -6967,7 +6967,7 @@ type MultiFilterProps<O, V extends Value> = Omit<MultiSelectFieldProps<O, V>, "v
|
|
|
6967
6967
|
defaultValue?: V[];
|
|
6968
6968
|
label?: string;
|
|
6969
6969
|
};
|
|
6970
|
-
declare function multiFilter<O, V extends
|
|
6970
|
+
declare function multiFilter<O, V extends Value>(props: MultiFilterProps<O, V>): (key: string) => Filter<V[]>;
|
|
6971
6971
|
|
|
6972
6972
|
type NumberRangeFilterProps<DV extends NumberRangeFilterValue> = {
|
|
6973
6973
|
label: string;
|
|
@@ -6985,7 +6985,7 @@ type SingleFilterProps<O, V extends Value> = Omit<SelectFieldProps<O, V>, "value
|
|
|
6985
6985
|
defaultValue?: V;
|
|
6986
6986
|
label?: string;
|
|
6987
6987
|
};
|
|
6988
|
-
declare function singleFilter<O, V extends
|
|
6988
|
+
declare function singleFilter<O, V extends Value>(props: SingleFilterProps<O, V>): (key: string) => Filter<V>;
|
|
6989
6989
|
|
|
6990
6990
|
type TreeFilterProps<O, V extends Value> = Omit<TreeSelectFieldProps<O, V>, "values" | "onSelect" | "label"> & {
|
|
6991
6991
|
defaultValue?: V[];
|
|
@@ -6995,7 +6995,7 @@ type TreeFilterProps<O, V extends Value> = Omit<TreeSelectFieldProps<O, V>, "val
|
|
|
6995
6995
|
filterBy?: TreeFilterBy;
|
|
6996
6996
|
};
|
|
6997
6997
|
type TreeFilterBy = keyof TreeSelectResponse<any, any>;
|
|
6998
|
-
declare function treeFilter<O, V extends
|
|
6998
|
+
declare function treeFilter<O, V extends Value>(props: TreeFilterProps<O, V>): (key: string) => Filter<V[]>;
|
|
6999
6999
|
|
|
7000
7000
|
/**
|
|
7001
7001
|
* Provides behavior common to most filters.
|