@spscommerce/ds-react 4.0.0 → 4.4.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/lib/filter-panel/SpsFilterPanel.d.ts +10 -0
- package/lib/filter-panel/SpsFilterPanel.examples.d.ts +2 -0
- package/lib/filter-panel/SpsFilterPanel.test-unit.d.ts +1 -0
- package/lib/filter-panel/SpsFilterPanelCap.d.ts +11 -0
- package/lib/filter-panel/SpsFilterPanelSection.d.ts +16 -0
- package/lib/filter-panel/index.d.ts +4 -0
- package/lib/index.cjs.js +757 -519
- package/lib/index.d.ts +1 -0
- package/lib/index.esm.js +754 -520
- package/lib/list-toolbar/SpsListToolbar.d.ts +4 -0
- package/lib/table/SpsTableHead.d.ts +1 -0
- package/lib/table/usePinnedStyles.d.ts +1 -0
- package/lib/utils/getScrollParent.d.ts +1 -0
- package/package.json +9 -9
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as PropTypes from '../prop-types';
|
|
2
|
+
declare const propTypes: {
|
|
3
|
+
children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
4
|
+
className: PropTypes.Requireable<string>;
|
|
5
|
+
'data-testid': PropTypes.Requireable<string>;
|
|
6
|
+
unsafelyReplaceClassName: PropTypes.Requireable<string>;
|
|
7
|
+
};
|
|
8
|
+
export declare type SpsFilterPanelProps = PropTypes.InferTS<typeof propTypes, HTMLDivElement>;
|
|
9
|
+
export declare function SpsFilterPanel({ children, className, ...rest }: SpsFilterPanelProps): JSX.Element;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as PropTypes from '../prop-types';
|
|
2
|
+
declare const propTypes: {
|
|
3
|
+
onClear: PropTypes.Requireable<() => void>;
|
|
4
|
+
children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
5
|
+
className: PropTypes.Requireable<string>;
|
|
6
|
+
'data-testid': PropTypes.Requireable<string>;
|
|
7
|
+
unsafelyReplaceClassName: PropTypes.Requireable<string>;
|
|
8
|
+
};
|
|
9
|
+
export declare type SpsFilterPanelCapProps = PropTypes.InferTS<typeof propTypes, HTMLDivElement>;
|
|
10
|
+
export declare function SpsFilterPanelCap({ children, className, onClear, ...rest }: SpsFilterPanelCapProps): JSX.Element;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as PropTypes from '../prop-types';
|
|
2
|
+
declare const propTypes: {
|
|
3
|
+
title: PropTypes.Requireable<string>;
|
|
4
|
+
expanded: PropTypes.Requireable<boolean>;
|
|
5
|
+
heightPx: PropTypes.Requireable<number>;
|
|
6
|
+
heightRem: PropTypes.Requireable<number>;
|
|
7
|
+
onExpand: PropTypes.Requireable<() => void>;
|
|
8
|
+
onCollapse: PropTypes.Requireable<() => void>;
|
|
9
|
+
children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
10
|
+
className: PropTypes.Requireable<string>;
|
|
11
|
+
'data-testid': PropTypes.Requireable<string>;
|
|
12
|
+
unsafelyReplaceClassName: PropTypes.Requireable<string>;
|
|
13
|
+
};
|
|
14
|
+
export declare type SpsFilterPanelSectionProps = PropTypes.InferTS<typeof propTypes, HTMLDivElement>;
|
|
15
|
+
export declare function SpsFilterPanelSection({ children, className, title, expanded, heightPx, heightRem, onExpand, onCollapse, ...rest }: SpsFilterPanelSectionProps): JSX.Element;
|
|
16
|
+
export {};
|