blue-react 11.2.0 → 11.2.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.
- package/dist/components/FieldGroup.js +29 -27
- package/index.d.ts +3 -0
- package/index.js +1 -0
- package/package.json +2 -2
|
@@ -22,37 +22,39 @@ export default function FieldGroup(_ref) {
|
|
|
22
22
|
pageHeader = _ref.pageHeader,
|
|
23
23
|
rest = _objectWithoutProperties(_ref, _excluded);
|
|
24
24
|
return /*#__PURE__*/_jsxs("details", _objectSpread(_objectSpread({
|
|
25
|
-
className: clsx("blue-
|
|
25
|
+
className: clsx("blue-collapse", className),
|
|
26
26
|
open: isExpanded
|
|
27
27
|
}, rest), {}, {
|
|
28
|
-
children: [/*#__PURE__*/
|
|
28
|
+
children: [/*#__PURE__*/_jsx("summary", {
|
|
29
29
|
role: "heading",
|
|
30
30
|
"aria-level": heading,
|
|
31
|
-
|
|
32
|
-
"blue-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
31
|
+
children: /*#__PURE__*/_jsxs("header", {
|
|
32
|
+
className: clsx("blue-collapse-header d-flex align-items-center gap-1", headerClassName, {
|
|
33
|
+
"blue-page-header w-100 mt-0": pageHeader,
|
|
34
|
+
h1: heading === 1,
|
|
35
|
+
h2: heading === 2,
|
|
36
|
+
h3: heading === 3,
|
|
37
|
+
h4: heading === 4,
|
|
38
|
+
h5: heading === 5,
|
|
39
|
+
h6: heading === 6
|
|
40
|
+
}),
|
|
41
|
+
children: [/*#__PURE__*/_jsx("svg", {
|
|
42
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
43
|
+
width: "1em",
|
|
44
|
+
height: "1em",
|
|
45
|
+
fill: "currentColor",
|
|
46
|
+
"aria-hidden": "true",
|
|
47
|
+
className: "blue-collapse-chevron bi bi-chevron-right fs-6 opacity-50",
|
|
48
|
+
viewBox: "0 0 16 16",
|
|
49
|
+
children: /*#__PURE__*/_jsx("path", {
|
|
50
|
+
fillRule: "evenodd",
|
|
51
|
+
d: "M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708"
|
|
52
|
+
})
|
|
53
|
+
}), header, id !== undefined && id !== null && id !== "" && /*#__PURE__*/_jsx("small", {
|
|
54
|
+
className: "text-secondary",
|
|
55
|
+
children: id
|
|
56
|
+
})]
|
|
57
|
+
})
|
|
56
58
|
}), children]
|
|
57
59
|
}));
|
|
58
60
|
}
|
package/index.d.ts
CHANGED
|
@@ -24,6 +24,9 @@ export { ButtonProps } from "./dist/components/Button"
|
|
|
24
24
|
export { default as Chevron } from "./dist/components/Chevron"
|
|
25
25
|
export { ChevronProps } from "./dist/components/Chevron"
|
|
26
26
|
|
|
27
|
+
export { default as FieldGroup } from "./dist/components/FieldGroup"
|
|
28
|
+
export { FieldGroupProps } from "./dist/components/FieldGroup"
|
|
29
|
+
|
|
27
30
|
export { default as HashRouter } from "./dist/components/HashRouter"
|
|
28
31
|
export { HashRouterProps } from "./dist/components/HashRouter"
|
|
29
32
|
|
package/index.js
CHANGED
|
@@ -3,6 +3,7 @@ export { default as ActionMenu } from "./dist/components/ActionMenu.js"
|
|
|
3
3
|
export { default as Actions } from "./dist/components/Actions.js"
|
|
4
4
|
export { default as Button } from "./dist/components/Button.js"
|
|
5
5
|
export { default as Chevron } from "./dist/components/Chevron.js"
|
|
6
|
+
export { default as FieldGroup } from "./dist/components/FieldGroup.js"
|
|
6
7
|
export { default as HashRouter } from "./dist/components/HashRouter.js"
|
|
7
8
|
export { default as Layout } from "./dist/components/Layout.js"
|
|
8
9
|
export { default as Header } from "./dist/components/Header.js"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "blue-react",
|
|
3
|
-
"version": "11.2.
|
|
3
|
+
"version": "11.2.1",
|
|
4
4
|
"description": "Blue React Components",
|
|
5
5
|
"license": "LGPL-3.0-or-later",
|
|
6
6
|
"type": "module",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@popperjs/core": "^2.11.5",
|
|
38
|
-
"blue-web": "^1.25.
|
|
38
|
+
"blue-web": "^1.25.2",
|
|
39
39
|
"bootstrap": "~5.3.3",
|
|
40
40
|
"clsx": "^1.1.1"
|
|
41
41
|
},
|