@glimstone/react 4.8.0 → 4.8.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/ConnectionRow.js +1 -1
- package/package.json +2 -2
package/dist/ConnectionRow.js
CHANGED
|
@@ -8,7 +8,7 @@ const NARROW = 640;
|
|
|
8
8
|
export function ConnectionRow({ name, mark, status, badges, children, test, actions, text, labelKeys, onTest, onEdit, onRemove, className, ...rest }) {
|
|
9
9
|
const tile = connectionTile(mark);
|
|
10
10
|
const buttons = connectionButtons({ actions, test, text, labelKeys, onTest, onEdit, onRemove }, { test: _jsx(IconCheck, {}), edit: _jsx(IconPencil, {}), remove: _jsx(IconTrash, {}) });
|
|
11
|
-
return (_jsxs("div", { "data-glim": "ConnectionRow", role: "group", "aria-label": name, ...rest, className: ["glim-well glim-connection", className].filter(Boolean).join(" "), children: [_jsx("span", { className: "glim-connection-tile", style: tile.style, "aria-hidden": "true", children: _jsx("span", { className: "glim-connection-mark", children: tile.svg === undefined ? mark : _jsx(BrandMark, { svg: tile.svg }) }) }), _jsxs("div", { className: "glim-connection-main", children: [_jsxs("div", { className: "glim-connection-head", children: [_jsx("span", { className: "glim-connection-name", children: name }), badges && _jsx("span", { className: "glim-connection-badges", children: badges })] }), _jsxs("div", { className: "glim-connection-foot", children: [_jsxs("div", { className: "glim-connection-about", children: [status && _jsx("p", { className: "glim-connection-status", children: status }), children] }), buttons.length > 0 && (_jsx("span", { className: "glim-connection-actions", children: buttons.map((b) => {
|
|
11
|
+
return (_jsxs("div", { "data-glim": "ConnectionRow", role: "group", "aria-label": name, ...rest, className: ["glim-well glim-connection", className].filter(Boolean).join(" "), children: [_jsx("span", { className: "glim-connection-tile", style: tile.style, "aria-hidden": "true", children: _jsx("span", { className: tile.wordmark ? "glim-connection-mark glim-connection-mark--wordmark" : "glim-connection-mark", children: tile.svg === undefined ? mark : _jsx(BrandMark, { svg: tile.svg }) }) }), _jsxs("div", { className: "glim-connection-main", children: [_jsxs("div", { className: "glim-connection-head", children: [_jsx("span", { className: "glim-connection-name", children: name }), badges && _jsx("span", { className: "glim-connection-badges", children: badges })] }), _jsxs("div", { className: "glim-connection-foot", children: [_jsxs("div", { className: "glim-connection-about", children: [status && _jsx("p", { className: "glim-connection-status", children: status }), children] }), buttons.length > 0 && (_jsx("span", { className: "glim-connection-actions", children: buttons.map((b) => {
|
|
12
12
|
const face = connectionTestFace(b);
|
|
13
13
|
return (_jsx(Button, { label: b.label, labelKey: b.labelKey, glyph: face.outcome === "check" ? _jsx(IconCheck, {}) : face.outcome === "cross" ? _jsx(IconClose, {}) : b.glyph, tone: face.tone, busy: b.busy, title: b.title, disabled: b.disabled, compactBelow: NARROW, className: face.shake ? "glim-shake" : undefined, "data-connection": b.id, onClick: b.onClick }, b.id));
|
|
14
14
|
}) }))] })] })] }));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@glimstone/react",
|
|
3
|
-
"version": "4.8.
|
|
3
|
+
"version": "4.8.1",
|
|
4
4
|
"description": "GlimStone's components for React",
|
|
5
5
|
"license": "AGPL-3.0-only",
|
|
6
6
|
"repository": { "type": "git", "url": "git+https://github.com/junkerderprovinz/glimstone.git", "directory": "packages/react" },
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"build": "tsc -p tsconfig.build.json"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@glimstone/core": "4.8.
|
|
19
|
+
"@glimstone/core": "4.8.1"
|
|
20
20
|
},
|
|
21
21
|
"peerDependencies": {
|
|
22
22
|
"@internationalized/date": "^3.12.4",
|