@nimbus-ds/sidebar 1.0.0 → 1.1.0-rc.2
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/sidebar.types.d.ts
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { HTMLAttributes, ReactNode } from "react";
|
|
2
|
-
import { sidebar } from "@nimbus-ds/styles";
|
|
2
|
+
import { sidebar, SidebarSprinkle } from "@nimbus-ds/styles";
|
|
3
3
|
import { Body, Footer, Header } from "./components";
|
|
4
|
+
declare type Extends = SidebarSprinkle & HTMLAttributes<HTMLDivElement>;
|
|
4
5
|
export interface SidebarComponents {
|
|
5
6
|
Body: typeof Body;
|
|
6
7
|
Footer: typeof Footer;
|
|
7
8
|
Header: typeof Header;
|
|
8
9
|
}
|
|
9
|
-
export interface SidebarProps extends
|
|
10
|
+
export interface SidebarProps extends Extends {
|
|
10
11
|
/** Sidebar position */
|
|
11
12
|
position?: "right" | "left";
|
|
12
13
|
/** Sidebar padding */
|
|
@@ -18,3 +19,4 @@ export interface SidebarProps extends HTMLAttributes<HTMLElement> {
|
|
|
18
19
|
/** Controls the menu display */
|
|
19
20
|
open?: boolean;
|
|
20
21
|
}
|
|
22
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nimbus-ds/sidebar",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.1.0-rc.2",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"source": "src/index.ts",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
"version": "yarn version"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@nimbus-ds/styles": "4.
|
|
22
|
-
"@nimbus-ds/title": "1.
|
|
21
|
+
"@nimbus-ds/styles": "4.18.0-rc.2",
|
|
22
|
+
"@nimbus-ds/title": "1.5.0-rc.2"
|
|
23
23
|
},
|
|
24
24
|
"peerDependencies": {
|
|
25
25
|
"react": "^16.8 || ^17.0 || ^18.0",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@nimbus-ds/box": "1.0.2",
|
|
38
|
-
"@nimbus-ds/button": "1.
|
|
38
|
+
"@nimbus-ds/button": "1.1.0",
|
|
39
39
|
"@nimbus-ds/stack": "1.0.1",
|
|
40
40
|
"@nimbus-ds/text": "4.2.0",
|
|
41
41
|
"terser-webpack-plugin": "^5.3.5",
|
|
@@ -43,5 +43,6 @@
|
|
|
43
43
|
"typescript": "^4.7.4",
|
|
44
44
|
"webpack": "^5.74.0",
|
|
45
45
|
"webpack-cli": "^4.10.0"
|
|
46
|
-
}
|
|
46
|
+
},
|
|
47
|
+
"stableVersion": "1.0.0"
|
|
47
48
|
}
|