@elliemae/ds-shared 3.13.1-rc.1 → 3.13.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.
Files changed (49) hide show
  1. package/dist/types/Animations/BaseAnimation.d.ts +12 -0
  2. package/dist/types/Animations/Grow.d.ts +11 -0
  3. package/dist/types/Animations/GrowRight.d.ts +11 -0
  4. package/dist/types/Animations/GrowVertical.d.ts +11 -0
  5. package/dist/types/Animations/index.d.ts +4 -0
  6. package/dist/types/CheckableGroup.d.ts +20 -0
  7. package/dist/types/DeferRenderAfterComputation.d.ts +7 -0
  8. package/dist/types/FocusGroup/FocusGrid.d.ts +12 -0
  9. package/dist/types/FocusGroup/FocusGroup.d.ts +38 -0
  10. package/dist/types/FocusGroup/FocusGroupContext.d.ts +4 -0
  11. package/dist/types/FocusGroup/FocusGroupManager.d.ts +26 -0
  12. package/dist/types/FocusGroup/focusGroupManagerHoc.d.ts +8 -0
  13. package/dist/types/FocusGroup/index.d.ts +7 -0
  14. package/dist/types/FocusGroup/useFocusGroupItem.d.ts +4 -0
  15. package/dist/types/FocusGroup/utils/getNextCellPosition.d.ts +14 -0
  16. package/dist/types/GroupContext/Group.d.ts +15 -0
  17. package/dist/types/GroupContext/GroupContext.d.ts +2 -0
  18. package/dist/types/GroupContext/GroupItem.d.ts +5 -0
  19. package/dist/types/GroupContext/index.d.ts +3 -0
  20. package/dist/types/ScrollSync/ScrollSync.d.ts +23 -0
  21. package/dist/types/ScrollSync/ScrollSyncPane.d.ts +2 -0
  22. package/dist/types/ScrollSync/ScrollSyncProvider.d.ts +12 -0
  23. package/dist/types/ScrollSync/index.d.ts +4 -0
  24. package/dist/types/ScrollSync/useScrollSync.d.ts +7 -0
  25. package/dist/types/constants.d.ts +30 -0
  26. package/dist/types/createDataInstance/createInstancePlugin.d.ts +4 -0
  27. package/dist/types/createDataInstance/createInstanceRef.d.ts +14 -0
  28. package/dist/types/createDataInstance/index.d.ts +3 -0
  29. package/dist/types/createDataInstance/tests/createInstanceRef.test.d.ts +0 -0
  30. package/dist/types/createDataInstance/utils.d.ts +9 -0
  31. package/dist/types/defer-render-hoc/index.d.ts +63 -0
  32. package/dist/types/dimsum.config.d.ts +5 -0
  33. package/dist/types/index.d.ts +16 -0
  34. package/dist/types/prop-types.d.ts +41 -0
  35. package/dist/types/react-spring/index.d.ts +1 -0
  36. package/dist/types/react-spring/renderprops.d.ts +1 -0
  37. package/dist/types/toolbar/ToolbarProvider.d.ts +5 -0
  38. package/dist/types/useDataGrid/VolatileRowsListener.d.ts +7 -0
  39. package/dist/types/useDataGrid/index.d.ts +3 -0
  40. package/dist/types/useDataGrid/initColumnDefinition.d.ts +6 -0
  41. package/dist/types/useDataGrid/useDataGrid.d.ts +9 -0
  42. package/dist/types/useDataList/index.d.ts +2 -0
  43. package/dist/types/useDataList/recordIterator.d.ts +1 -0
  44. package/dist/types/useDataList/useDataList.d.ts +14 -0
  45. package/dist/types/utils.d.ts +22 -0
  46. package/dist/types/virtualization/AutoHeightList.d.ts +2 -0
  47. package/dist/types/virtualization/FluidHeightList.d.ts +2 -0
  48. package/dist/types/virtualization/index.d.ts +9 -0
  49. package/package.json +3 -3
@@ -0,0 +1,12 @@
1
+ declare const BaseAnimation: ({ keys, items, duration, enter, from, leave, onRest, children, }: {
2
+ keys?: undefined;
3
+ items?: never[] | undefined;
4
+ duration?: number | undefined;
5
+ enter?: {} | undefined;
6
+ from?: {} | undefined;
7
+ leave?: {} | undefined;
8
+ onRest?: (() => null) | undefined;
9
+ children: any;
10
+ }) => JSX.Element;
11
+ export { BaseAnimation };
12
+ export default BaseAnimation;
@@ -0,0 +1,11 @@
1
+ declare const Grow: ({ keys, duration, items, from, to, children, onRest, }: {
2
+ keys?: undefined;
3
+ duration: any;
4
+ items?: undefined;
5
+ from?: number | undefined;
6
+ to?: number | undefined;
7
+ children: any;
8
+ onRest?: (() => null) | undefined;
9
+ }) => JSX.Element;
10
+ export { Grow };
11
+ export default Grow;
@@ -0,0 +1,11 @@
1
+ declare const GrowRight: ({ keys, items, duration, from, to, children, onRest, }: {
2
+ keys?: undefined;
3
+ items?: undefined;
4
+ duration?: number | undefined;
5
+ from?: number | undefined;
6
+ to?: number | undefined;
7
+ children: any;
8
+ onRest?: (() => null) | undefined;
9
+ }) => JSX.Element;
10
+ export { GrowRight };
11
+ export default GrowRight;
@@ -0,0 +1,11 @@
1
+ declare const GrowVertical: ({ keys, duration, items, from, to, children, onRest, }: {
2
+ keys?: undefined;
3
+ duration: any;
4
+ items?: undefined;
5
+ from?: number | undefined;
6
+ to?: number | undefined;
7
+ children: any;
8
+ onRest?: (() => null) | undefined;
9
+ }) => JSX.Element;
10
+ export { GrowVertical };
11
+ export default GrowVertical;
@@ -0,0 +1,4 @@
1
+ export * from './BaseAnimation';
2
+ export * from './Grow';
3
+ export * from './GrowRight';
4
+ export * from './GrowVertical';
@@ -0,0 +1,20 @@
1
+ export declare function useCheckableGroup({ children, active: activeProp, multi, onCheck }: {
2
+ children: any;
3
+ active: any;
4
+ multi: any;
5
+ onCheck?: (() => null) | undefined;
6
+ }): any;
7
+ export declare function CheckableGroup({ active, multi, // checkbox or radio
8
+ children, }: {
9
+ active?: never[] | undefined;
10
+ multi?: boolean | undefined;
11
+ children: any;
12
+ }): any;
13
+ export declare namespace CheckableGroup {
14
+ var propTypes: {
15
+ active: any;
16
+ multi: any;
17
+ onCheck: any;
18
+ };
19
+ }
20
+ export default CheckableGroup;
@@ -0,0 +1,7 @@
1
+ export declare const DeferRenderAfterComputation: ({ children, resolve, fallback, timeout, }: {
2
+ children: any;
3
+ resolve: any;
4
+ fallback: any;
5
+ timeout?: number | undefined;
6
+ }) => any;
7
+ export default DeferRenderAfterComputation;
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ declare const FocusGridContext: React.Context<unknown>;
3
+ declare const FocusGridProvider: ({ shouldWrapRows, shouldWrapCells, shouldRefocus, children, keyBindings, hotKeys, }: {
4
+ shouldWrapRows?: boolean | undefined;
5
+ shouldWrapCells?: boolean | undefined;
6
+ shouldRefocus?: boolean | undefined;
7
+ children: any;
8
+ keyBindings: any;
9
+ hotKeys: any;
10
+ }) => JSX.Element;
11
+ export { FocusGridProvider, FocusGridProvider as FocusGrid, FocusGridContext };
12
+ export default FocusGridProvider;
@@ -0,0 +1,38 @@
1
+ declare class FocusGroup {
2
+ items: never[];
3
+ constructor(options?: {});
4
+ getHotKeysParams(): {
5
+ item: any;
6
+ index: any;
7
+ };
8
+ activate(): void;
9
+ deactivate(): void;
10
+ handleKeyDown(e: any): void;
11
+ executeActionByEvent(e: any): any;
12
+ register(node: any, props?: {}): void;
13
+ unregister(node: any): void;
14
+ exit(): void;
15
+ focusItem(node: any): void;
16
+ focusNext(): void;
17
+ focusByNode(node: any): void;
18
+ focusByIndex(index: any): void;
19
+ focusPrevious(): void;
20
+ focusFirst(): void;
21
+ focusLast(): void;
22
+ focusCurrent(): void;
23
+ focusNextGroup(): void;
24
+ focusPreviousGroup(): void;
25
+ getNextItem(): false | void;
26
+ getPreviousItem(): false | void;
27
+ checkCanFocusNext(index: any): boolean;
28
+ checkCanFocusPrev(index: any): boolean;
29
+ getItemByIndex(index: any): never;
30
+ getItemIndexByNode(node: any): number;
31
+ getFocusedIndex(): number;
32
+ getFocusedItem(): false;
33
+ isGroupActive(): boolean;
34
+ getFirstItem(): false;
35
+ getLastItem(): false;
36
+ }
37
+ export { FocusGroup };
38
+ export default FocusGroup;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ declare const FocusGroupContext: React.Context<unknown>;
3
+ export { FocusGroupContext };
4
+ export default FocusGroupContext;
@@ -0,0 +1,26 @@
1
+ import { Component } from 'react';
2
+ declare class FocusGroupProvider extends Component {
3
+ activated: boolean;
4
+ static defaultProps: {
5
+ exitWhenNoPrevious: boolean;
6
+ exitWhenNoNext: boolean;
7
+ keyBindings: {};
8
+ onFocus: () => null;
9
+ onExitFocusGroup: () => null;
10
+ onFocusPreviousGroup: () => null;
11
+ onFocusNextGroup: () => null;
12
+ onFocusGroupSet: () => null;
13
+ };
14
+ constructor(props: any);
15
+ componentDidMount(): void;
16
+ componentWillUnmount(): void;
17
+ activate(): void;
18
+ deactivate(): void;
19
+ register(item: any): void;
20
+ unregister(item: any): void;
21
+ focusItemByIndex(index: any): void;
22
+ focusItemByNode(node: any): void;
23
+ render(): JSX.Element;
24
+ }
25
+ export { FocusGroupProvider, FocusGroupProvider as FocusGroupManager };
26
+ export default FocusGroupProvider;
@@ -0,0 +1,8 @@
1
+ declare function FocusGroupHoc(WrappedComponent: any, options?: {}): ({ onExitFocusGroup, onFocusPrevGroup, focusKeyBindings, ...props }: {
2
+ [x: string]: any;
3
+ onExitFocusGroup: any;
4
+ onFocusPrevGroup: any;
5
+ focusKeyBindings: any;
6
+ }) => JSX.Element;
7
+ export { FocusGroupHoc };
8
+ export default FocusGroupHoc;
@@ -0,0 +1,7 @@
1
+ export * from './FocusGroup';
2
+ export * from './FocusGroupContext';
3
+ export * from './FocusGroupManager';
4
+ export * from './useFocusGroupItem';
5
+ export { FocusGroupHoc as focusGroupManagerHoc } from './focusGroupManagerHoc';
6
+ export { FocusGridProvider as FocusGrid, FocusGridContext } from './FocusGrid';
7
+ export * from './utils/getNextCellPosition';
@@ -0,0 +1,4 @@
1
+ declare function useFocusGroupItem(ref: {} | undefined, props: any): {};
2
+ export declare const useFocusGroupWithState: (ref: {} | undefined, props: any) => {};
3
+ export { useFocusGroupItem };
4
+ export default useFocusGroupItem;
@@ -0,0 +1,14 @@
1
+ declare function getNextCellPosition({ grid, currentRow, currentCell, directionY, directionX, shouldWrapCells, shouldWrapRows, }: {
2
+ grid: any;
3
+ currentRow?: number | undefined;
4
+ currentCell?: number | undefined;
5
+ directionY: any;
6
+ directionX: any;
7
+ shouldWrapCells: any;
8
+ shouldWrapRows: any;
9
+ }): false | {
10
+ cellIndex: any;
11
+ rowIndex: any;
12
+ };
13
+ export { getNextCellPosition };
14
+ export default getNextCellPosition;
@@ -0,0 +1,15 @@
1
+ import { Component } from 'react';
2
+ /** deprecated use CheckableGroup instead */
3
+ declare class Group extends Component {
4
+ constructor(props: any);
5
+ static getDerivedStateFromProps(nextProps: any, { prevValue }: {
6
+ prevValue: any;
7
+ }): {
8
+ activeValue: any;
9
+ prevValue: any;
10
+ } | null;
11
+ handleChange(e: any, ...rest: any[]): void;
12
+ render(): JSX.Element;
13
+ }
14
+ export { Group };
15
+ export default Group;
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const GroupContext: React.Context<unknown>;
@@ -0,0 +1,5 @@
1
+ declare const GroupItem: ({ render }: {
2
+ render: any;
3
+ }) => JSX.Element;
4
+ export { GroupItem };
5
+ export default GroupItem;
@@ -0,0 +1,3 @@
1
+ export { Group } from './Group';
2
+ export { GroupContext } from './GroupContext';
3
+ export { GroupItem } from './GroupItem';
@@ -0,0 +1,23 @@
1
+ import React, { Component } from 'react';
2
+ declare const ScrollSyncContext: React.Context<unknown>;
3
+ declare class ScrollSync extends Component {
4
+ panes: {};
5
+ static defaultProps: {
6
+ proportional: boolean;
7
+ vertical: boolean;
8
+ horizontal: boolean;
9
+ enabled: boolean;
10
+ };
11
+ constructor(props: any);
12
+ registerPane: (node: any, groups: any) => void;
13
+ unregisterPane: (node: any, groups: any) => void;
14
+ addEvents: (node: any, groups: any) => void;
15
+ removeEvents: (node: any) => void;
16
+ findPane: (node: any, group: any) => any;
17
+ handlePaneScroll: (node: any, groups: any, e: any) => void;
18
+ syncScrollPositions: (scrolledPane: any, groups: any) => void;
19
+ syncScrollPosition(scrolledPane: any, pane: any): void;
20
+ render(): JSX.Element;
21
+ }
22
+ export { ScrollSync, ScrollSyncContext };
23
+ export default ScrollSync;
@@ -0,0 +1,2 @@
1
+ export declare const ScrollSyncPaneHOC: (props: any) => JSX.Element;
2
+ export default ScrollSyncPaneHOC;
@@ -0,0 +1,12 @@
1
+ declare function ScrollSyncProvider({ enabled, horizontal, vertical, children }: {
2
+ enabled: any;
3
+ horizontal: any;
4
+ vertical: any;
5
+ children: any;
6
+ }): JSX.Element;
7
+ declare namespace ScrollSyncProvider {
8
+ var propTypes: {};
9
+ var defaultProps: {};
10
+ }
11
+ export default ScrollSyncProvider;
12
+ export { ScrollSyncProvider };
@@ -0,0 +1,4 @@
1
+ export { ScrollSync } from './ScrollSync';
2
+ export { ScrollSyncPaneHOC as ScrollSyncPane } from './ScrollSyncPane';
3
+ export * from './ScrollSyncProvider';
4
+ export * from './useScrollSync';
@@ -0,0 +1,7 @@
1
+ declare const useScrollSync: {
2
+ (props: any): {};
3
+ propTypes: {};
4
+ defaultProps: {};
5
+ };
6
+ export { useScrollSync };
7
+ export default useScrollSync;
@@ -0,0 +1,30 @@
1
+ export declare const DEFAULT_DELAY_OPEN = 200;
2
+ export declare const DEFAULT_DELAY_CLOSE = 300;
3
+ export declare const sizeOptions: string[];
4
+ export declare const AM = "am";
5
+ export declare const PM = "pm";
6
+ export declare const ARROW_UP = "ArrowUp";
7
+ export declare const ARROW_DOWN = "ArrowDown";
8
+ export declare const BACKSPACE = "Backspace";
9
+ export declare const ESCAPE = "Escape";
10
+ export declare const HOME = "Home";
11
+ export declare const SHIFT = "Shift";
12
+ export declare const END = "End";
13
+ export declare const HOUR_RANGE_12: {
14
+ min: number;
15
+ max: number;
16
+ };
17
+ export declare const HOUR_RANGE_24: {
18
+ min: number;
19
+ max: number;
20
+ };
21
+ export declare const GENERAL_TIME_RANGE: {
22
+ min: number;
23
+ max: number;
24
+ };
25
+ export declare const PLACEHOLDER_TIME: {
26
+ hour: string;
27
+ minutes: string;
28
+ seconds: string;
29
+ meridiem: string;
30
+ };
@@ -0,0 +1,4 @@
1
+ declare const getDecoratorsFromHooks: (hooks: any, decorators: any) => any;
2
+ export declare const createInstancePlugin: (name: any, hooks: any) => (decorators: any) => any;
3
+ export default createInstancePlugin;
4
+ export { getDecoratorsFromHooks };
@@ -0,0 +1,14 @@
1
+ /// <reference types="react" />
2
+ declare function createDataInstanceRef({ uuid: uuidProp, data, renderers, plugins, customDecorators, ...props }: {
3
+ [x: string]: any;
4
+ uuid: any;
5
+ data: any;
6
+ renderers: any;
7
+ plugins: any;
8
+ customDecorators: any;
9
+ }): {
10
+ instance: import("react").MutableRefObject<undefined>;
11
+ decorators: any;
12
+ };
13
+ export { createDataInstanceRef };
14
+ export default createDataInstanceRef;
@@ -0,0 +1,3 @@
1
+ export * from './createInstancePlugin';
2
+ export * from './createInstanceRef';
3
+ export * from './utils';
@@ -0,0 +1,9 @@
1
+ export declare const reducePropsGetter: (decorators: never[] | undefined, grid: any) => (props: {} | undefined, extraParams: any) => {};
2
+ export declare function evaluateTransforms(transforms: any, value: any, extraParams: {} | undefined, props: {} | undefined, grid: any): {};
3
+ export declare function evaluateFormatters(formatters: any, value: any, extraParams: {} | undefined, grid: any): any;
4
+ export declare function composeFormatters(formatters: any, instance: any, getItemValue?: (record: any) => any): (props: any) => any;
5
+ export declare const applyDecorators: (subject: any, decorators?: never[], ...args: any[]) => any;
6
+ export declare const decorateColumns: (columns: any, decorators: any, grid: any) => any;
7
+ export declare const mergeInstance: (instance: any, instanceHook: any) => any;
8
+ export declare const registerStateHookToInstance: (instance: any, stateHook: any) => any;
9
+ export declare const registerHotKeysHookToInstance: (instance: any, hotKeysHook: any) => any;
@@ -0,0 +1,63 @@
1
+ import React from 'react';
2
+ import hoistNonReactStatic from 'hoist-non-react-statics';
3
+ /**
4
+ * Allows two animation frames to complete to allow other components to update
5
+ * and re-render before mounting and rendering an expensive `WrappedComponent`.
6
+ *
7
+ * @param WrappedComponent
8
+ * @param fallback
9
+ */
10
+ export declare const deferComponentRender: (WrappedComponent: any, fallback: any) => {
11
+ new (props: {} | Readonly<{}>): {
12
+ state: {
13
+ shouldRender: boolean;
14
+ };
15
+ componentDidMount(): void;
16
+ render(): any;
17
+ context: unknown;
18
+ setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<{}>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
19
+ forceUpdate(callback?: (() => void) | undefined): void;
20
+ readonly props: Readonly<{}>;
21
+ refs: {
22
+ [key: string]: React.ReactInstance;
23
+ };
24
+ shouldComponentUpdate?(nextProps: Readonly<{}>, nextState: Readonly<{}>, nextContext: any): boolean;
25
+ componentWillUnmount?(): void;
26
+ componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
27
+ getSnapshotBeforeUpdate?(prevProps: Readonly<{}>, prevState: Readonly<{}>): any;
28
+ componentDidUpdate?(prevProps: Readonly<{}>, prevState: Readonly<{}>, snapshot?: any): void;
29
+ componentWillMount?(): void;
30
+ UNSAFE_componentWillMount?(): void;
31
+ componentWillReceiveProps?(nextProps: Readonly<{}>, nextContext: any): void;
32
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<{}>, nextContext: any): void;
33
+ componentWillUpdate?(nextProps: Readonly<{}>, nextState: Readonly<{}>, nextContext: any): void;
34
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<{}>, nextState: Readonly<{}>, nextContext: any): void;
35
+ };
36
+ new (props: {}, context: any): {
37
+ state: {
38
+ shouldRender: boolean;
39
+ };
40
+ componentDidMount(): void;
41
+ render(): any;
42
+ context: unknown;
43
+ setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<{}>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
44
+ forceUpdate(callback?: (() => void) | undefined): void;
45
+ readonly props: Readonly<{}>;
46
+ refs: {
47
+ [key: string]: React.ReactInstance;
48
+ };
49
+ shouldComponentUpdate?(nextProps: Readonly<{}>, nextState: Readonly<{}>, nextContext: any): boolean;
50
+ componentWillUnmount?(): void;
51
+ componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
52
+ getSnapshotBeforeUpdate?(prevProps: Readonly<{}>, prevState: Readonly<{}>): any;
53
+ componentDidUpdate?(prevProps: Readonly<{}>, prevState: Readonly<{}>, snapshot?: any): void;
54
+ componentWillMount?(): void;
55
+ UNSAFE_componentWillMount?(): void;
56
+ componentWillReceiveProps?(nextProps: Readonly<{}>, nextContext: any): void;
57
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<{}>, nextContext: any): void;
58
+ componentWillUpdate?(nextProps: Readonly<{}>, nextState: Readonly<{}>, nextContext: any): void;
59
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<{}>, nextState: Readonly<{}>, nextContext: any): void;
60
+ };
61
+ contextType?: React.Context<any> | undefined;
62
+ } & hoistNonReactStatic.NonReactStatics<any, {}>;
63
+ export default deferComponentRender;
@@ -0,0 +1,5 @@
1
+ declare const dimsumConfig: {
2
+ classNamePrefix: string;
3
+ };
4
+ export { dimsumConfig };
5
+ export default dimsumConfig;
@@ -0,0 +1,16 @@
1
+ export * from './Animations';
2
+ export * from './createDataInstance';
3
+ export * from './defer-render-hoc';
4
+ export * from './FocusGroup';
5
+ export * from './GroupContext';
6
+ export * from './ScrollSync';
7
+ export * from './toolbar/ToolbarProvider';
8
+ export * from './useDataGrid';
9
+ export * from './useDataList';
10
+ export * from './virtualization';
11
+ export * from './CheckableGroup';
12
+ export * from './constants';
13
+ export * from './DeferRenderAfterComputation';
14
+ export * from './dimsum.config';
15
+ export * from './prop-types';
16
+ export * from './utils';
@@ -0,0 +1,41 @@
1
+ export declare const dsBasicSizes: ("s" | "m" | "l")[];
2
+ export declare const sizes: ("xsmall" | "small" | "medium" | "large" | "xlarge")[];
3
+ export declare const iconSizes: ("s" | "m" | "l" | "xxs" | "xs" | "xl" | "xxl")[];
4
+ export declare const iconColors: readonly [readonly ["neutral", "900"], readonly ["neutral", "0"], readonly ["danger", "900"], readonly ["warning", "500"], readonly ["success", "900"], readonly ["brand-primary", "600"]];
5
+ export declare const CHECKBOX_VARIANT: {
6
+ DEFAULT: "variant-default";
7
+ FOCUS: "variant-focus";
8
+ ACTIVE: "variant-active";
9
+ DISABLED: "variant-disabled";
10
+ ERROR: "variant-error";
11
+ };
12
+ export declare const checkboxVariants: readonly ["variant-default", "variant-focus", "variant-active", "variant-disabled", "variant-error"];
13
+ export declare const COMBOBOX_VARIANT: {
14
+ DEFAULT: "variant-default";
15
+ FOCUS: "variant-focus-input";
16
+ FOCUS_ICON: "variant-focus-icon";
17
+ ACTIVE: "variant-active-input";
18
+ ACTIVE_ICON: "variant-active-icon";
19
+ DISABLED: "variant-disabled";
20
+ ERROR: "variant-error";
21
+ };
22
+ export declare const comboBoxVariants: readonly ["variant-default", "variant-focus-input", "variant-focus-icon", "variant-active-input", "variant-active-icon", "variant-disabled", "variant-error"];
23
+ export declare const sizeVariants: {
24
+ S: "s";
25
+ M: "m";
26
+ L: "l";
27
+ };
28
+ export declare const position: {
29
+ LEFT: "left";
30
+ RIGHT: "right";
31
+ CENTER: "center";
32
+ };
33
+ export declare const fontColor: {
34
+ NEUTRAL500: "neutral500";
35
+ NEUTRAL700: "neutral700";
36
+ };
37
+ export declare const orientation: readonly ["horizontal", "vertical"];
38
+ export declare const orientationVariants: {
39
+ HORIZONTAL: "horizontal";
40
+ VERTICAL: "vertical";
41
+ };
@@ -0,0 +1 @@
1
+ export * from 'react-spring/web';
@@ -0,0 +1 @@
1
+ export * from 'react-spring/renderprops';
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ export declare const ToolbarContext: React.Context<unknown>;
3
+ declare const ToolbarProvider: React.NamedExoticComponent<object>;
4
+ export { ToolbarProvider };
5
+ export default ToolbarProvider;
@@ -0,0 +1,7 @@
1
+ declare class VolatileRowsListener {
2
+ observers: never[];
3
+ observe(listener: any): void;
4
+ notify(nextRows: any): void;
5
+ }
6
+ export { VolatileRowsListener };
7
+ export default VolatileRowsListener;
@@ -0,0 +1,3 @@
1
+ export * from './initColumnDefinition';
2
+ export * from './VolatileRowsListener';
3
+ export * from './useDataGrid';
@@ -0,0 +1,6 @@
1
+ /// <reference types="lodash" />
2
+ export declare const appendHeaderFormatter: import("lodash").CurriedFunction2<any, any, any>;
3
+ export declare const appendCellFormatter: import("lodash").CurriedFunction2<any, any, any>;
4
+ export declare const mergeClassNameToColumnHeader: import("lodash").CurriedFunction2<any, any, any>;
5
+ export declare const initColumnDefinition: (options?: {}) => (column: any) => any;
6
+ export default initColumnDefinition;
@@ -0,0 +1,9 @@
1
+ export declare const useDataGrid: ({ uuid: uuidProp, plugins: pluginsFromProps, rows, columns, renderers, ...props }: {
2
+ [x: string]: any;
3
+ uuid: any;
4
+ plugins: any;
5
+ rows: any;
6
+ columns: any;
7
+ renderers?: {} | undefined;
8
+ }) => any;
9
+ export default useDataGrid;
@@ -0,0 +1,2 @@
1
+ export * from './useDataList';
2
+ export * from './recordIterator';
@@ -0,0 +1 @@
1
+ export declare function recordIterator(records: any, strategy: (() => never) | undefined, decorators: never[] | undefined, instance: any): any[];
@@ -0,0 +1,14 @@
1
+ export declare const getItemLabel: (record: any, nameKey?: string) => any;
2
+ export declare const getItemChildren: (record: any, childrenKey?: string) => any;
3
+ export declare const useDataList: ({ data, plugins, renderers, itemRenderer, customDecorators, ...props }: {
4
+ [x: string]: any;
5
+ data?: never[] | undefined;
6
+ plugins?: never[] | undefined;
7
+ renderers?: {
8
+ list: string;
9
+ item: string;
10
+ } | undefined;
11
+ itemRenderer?: never[] | undefined;
12
+ customDecorators: any;
13
+ }) => undefined;
14
+ export default useDataList;
@@ -0,0 +1,22 @@
1
+ export declare const objectType: (obj: any) => string;
2
+ export declare const isDefined: (param: any) => boolean;
3
+ export declare const isUndefined: (param: any) => boolean;
4
+ export declare const isFunction: (param: any) => boolean;
5
+ export declare const isNumber: (param: any) => boolean;
6
+ export declare const isString: (str: any) => boolean;
7
+ export declare const isArray: (arr: any) => boolean;
8
+ export declare const closest: (target: any, selector: any) => any;
9
+ export declare const getOffsetRect: (elem: any) => {
10
+ top: number;
11
+ left: number;
12
+ };
13
+ export declare const getTotalScroll: (elem: any) => {
14
+ top: number;
15
+ left: number;
16
+ };
17
+ export declare const getTransformProps: (x: any, y: any) => {
18
+ transform: string;
19
+ };
20
+ export declare const listWithChildren: (list: any, childrenProp: any) => any;
21
+ export declare const getAllNonEmptyNodesIds: (items: any, childrenProp: any) => any;
22
+ export declare const isInternetExplorer: () => boolean;
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const AutoHeightList: React.ForwardRefExoticComponent<React.RefAttributes<unknown>>;
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const FluidHeightList: React.ForwardRefExoticComponent<React.RefAttributes<unknown>>;
@@ -0,0 +1,9 @@
1
+ import { FluidHeightList } from './FluidHeightList';
2
+ import { AutoHeightList } from './AutoHeightList';
3
+ export { FluidHeightList, AutoHeightList };
4
+ export declare function getVirtualListComponent({ component: Component, fluid, height, autoHeight }: {
5
+ component: any;
6
+ fluid: any;
7
+ height: any;
8
+ autoHeight: any;
9
+ }): any;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elliemae/ds-shared",
3
- "version": "3.13.1-rc.1",
3
+ "version": "3.13.1",
4
4
  "license": "MIT",
5
5
  "description": "ICE MT - Dimsum - Shared components and utilities",
6
6
  "files": [
@@ -224,8 +224,8 @@
224
224
  "react-window": "~1.8.7",
225
225
  "table-resolver": "~4.1.1",
226
226
  "uuid": "~8.3.2",
227
- "@elliemae/ds-popover": "3.13.1-rc.1",
228
- "@elliemae/ds-utilities": "3.13.1-rc.1"
227
+ "@elliemae/ds-popover": "3.13.1",
228
+ "@elliemae/ds-utilities": "3.13.1"
229
229
  },
230
230
  "peerDependencies": {
231
231
  "lodash": "~4.17.21",