blue-react 9.7.1 → 9.8.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/components/ActionMenu.js +1 -1
- package/dist/components/Caret.js +1 -0
- package/dist/components/Chevron.js +46 -0
- package/dist/components/MenuItem.js +4 -4
- package/dist/style.css +2 -2
- package/dist/style.min.css +2 -2
- package/dist/style.scss +1 -1
- package/dist/types/components/Caret.d.ts +1 -0
- package/dist/types/components/Chevron.d.ts +17 -0
- package/index.d.ts +3 -0
- package/index.js +1 -0
- package/package.json +1 -1
package/dist/style.scss
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Blue React v9.
|
|
2
|
+
* Blue React v9.8.0 (https://bruegmann.github.io/blue-react)
|
|
3
3
|
* Licensed under GNU General Public License v3.0 (https://github.com/bruegmann/blue-react/blob/master/LICENSE).
|
|
4
4
|
*/
|
|
5
5
|
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { CSSProperties } from "react";
|
|
2
|
+
export interface ChevronProps {
|
|
3
|
+
/**
|
|
4
|
+
* Indicates if open or not.
|
|
5
|
+
*/
|
|
6
|
+
open?: boolean;
|
|
7
|
+
/**
|
|
8
|
+
* By default the chevron points to the right when closed. Set mirrored and it will point to the left.
|
|
9
|
+
*/
|
|
10
|
+
mirrored?: boolean;
|
|
11
|
+
className?: string;
|
|
12
|
+
style?: CSSProperties;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Chevron icon component with open state.
|
|
16
|
+
*/
|
|
17
|
+
export default function Chevron({ open, mirrored, className, style }: ChevronProps): JSX.Element;
|
package/index.d.ts
CHANGED
|
@@ -21,6 +21,9 @@ export { BodyProps } from "./dist/types/components/Body"
|
|
|
21
21
|
export { default as Caret } from "./dist/types/components/Caret"
|
|
22
22
|
export { CaretProps } from "./dist/types/components/Caret"
|
|
23
23
|
|
|
24
|
+
export { default as Chevron } from "./dist/types/components/Chevron"
|
|
25
|
+
export { ChevronProps } from "./dist/types/components/Chevron"
|
|
26
|
+
|
|
24
27
|
export { default as Header } from "./dist/types/components/Header"
|
|
25
28
|
export { HeaderProps } from "./dist/types/components/Header"
|
|
26
29
|
|
package/index.js
CHANGED
|
@@ -2,6 +2,7 @@ exports.ActionMenu = require("./dist/components/ActionMenu.js")["default"]
|
|
|
2
2
|
exports.ActionMenuSwitch = require("./dist/components/ActionMenuSwitch.js")["default"]
|
|
3
3
|
exports.Body = require("./dist/components/Body.js")["default"]
|
|
4
4
|
exports.Caret = require("./dist/components/Caret.js")["default"]
|
|
5
|
+
exports.Chevron = require("./dist/components/Chevron.js")["default"]
|
|
5
6
|
exports.Layout = require("./dist/components/Layout.js")["default"]
|
|
6
7
|
exports.Header = require("./dist/components/Header.js")["default"]
|
|
7
8
|
exports.HeaderTitle = require("./dist/components/HeaderTitle.js")["default"]
|