@spscommerce/ds-react 6.26.1 → 6.27.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.
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import * as PropTypes from "../prop-types";
|
|
3
|
+
declare const propTypes: {
|
|
4
|
+
title: PropTypes.Requireable<string>;
|
|
5
|
+
show: PropTypes.Requireable<boolean>;
|
|
6
|
+
onClose: PropTypes.Requireable<() => void>;
|
|
7
|
+
focusElementOnOpen: PropTypes.Requireable<React.MutableRefObject<HTMLElement>>;
|
|
8
|
+
children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
9
|
+
className: PropTypes.Requireable<string>;
|
|
10
|
+
"data-testid": PropTypes.Requireable<string>;
|
|
11
|
+
unsafelyReplaceClassName: PropTypes.Requireable<string>;
|
|
12
|
+
};
|
|
13
|
+
export declare type SpsSlideInPanelProps = PropTypes.InferTS<typeof propTypes, HTMLDivElement>;
|
|
14
|
+
export declare function SpsSlideInPanel({ children, className, id: idProp, show, onClose, focusElementOnOpen, title, ...rest }: SpsSlideInPanelProps): JSX.Element;
|
|
15
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spscommerce/ds-react",
|
|
3
3
|
"description": "SPS Design System React components",
|
|
4
|
-
"version": "6.
|
|
4
|
+
"version": "6.27.0",
|
|
5
5
|
"author": "SPS Commerce",
|
|
6
6
|
"license": "UNLICENSED",
|
|
7
7
|
"repository": "https://github.com/spscommerce/design-system/tree/main/packages/@spscommerce/ds-react",
|
|
@@ -28,10 +28,10 @@
|
|
|
28
28
|
},
|
|
29
29
|
"peerDependencies": {
|
|
30
30
|
"@react-stately/collections": "^3.3.3",
|
|
31
|
-
"@spscommerce/ds-colors": "6.
|
|
32
|
-
"@spscommerce/ds-illustrations": "6.
|
|
33
|
-
"@spscommerce/ds-shared": "6.
|
|
34
|
-
"@spscommerce/positioning": "6.
|
|
31
|
+
"@spscommerce/ds-colors": "6.27.0",
|
|
32
|
+
"@spscommerce/ds-illustrations": "6.27.0",
|
|
33
|
+
"@spscommerce/ds-shared": "6.27.0",
|
|
34
|
+
"@spscommerce/positioning": "6.27.0",
|
|
35
35
|
"@spscommerce/utils": "^6.11.3",
|
|
36
36
|
"moment": "^2.25.3",
|
|
37
37
|
"moment-timezone": "^0.5.28",
|
|
@@ -40,10 +40,10 @@
|
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"@react-stately/collections": "^3.3.3",
|
|
43
|
-
"@spscommerce/ds-colors": "6.
|
|
44
|
-
"@spscommerce/ds-illustrations": "6.
|
|
45
|
-
"@spscommerce/ds-shared": "6.
|
|
46
|
-
"@spscommerce/positioning": "6.
|
|
43
|
+
"@spscommerce/ds-colors": "6.27.0",
|
|
44
|
+
"@spscommerce/ds-illustrations": "6.27.0",
|
|
45
|
+
"@spscommerce/ds-shared": "6.27.0",
|
|
46
|
+
"@spscommerce/positioning": "6.27.0",
|
|
47
47
|
"@spscommerce/utils": "^6.11.3",
|
|
48
48
|
"@testing-library/react": "^9.3.2",
|
|
49
49
|
"@types/prop-types": "^15.7.1",
|