@glimstone/react 4.8.2 → 4.8.3

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/AboutCard.js CHANGED
@@ -36,7 +36,7 @@ export function InfoVersionCard({ text, name, version, repoUrl, route, state, on
36
36
  * numbers in a fixed order, with a status and one action on a row that needs one.
37
37
  */
38
38
  export function InfoComponentsCard({ text, name, rows, autoUpdate, onAutoUpdateChange, onUpdate, updating = false, openUrl = openInBrowser, hueIndex, }) {
39
- return (_jsxs(Card, { "data-glim": "InfoComponentsCard", title: text.title, hint: withApp(text.hint, name), hueIndex: hueIndex, children: [_jsx("ul", { className: "glim-version-rows", children: componentRows([...rows, designRow(text)]).map((row) => (_jsxs("li", { className: "glim-version-row", children: [_jsxs("span", { className: "glim-version-name", children: [_jsx("span", { className: "glim-version-part", children: row.name }), row.hint && _jsx(InfoBubble, { tip: row.hint })] }), row.status && (_jsx("span", { className: "glim-version-status", "data-tone": row.tone, children: row.status })), row.action && _jsx(Button, { label: row.action.label, labelKey: row.action.labelKey, onClick: row.action.onClick }), _jsx(VersionNumber, { row: row, unreleased: text.unreleased, openUrl: openUrl })] }, row.name))) }), autoUpdate !== undefined && (_jsx(FieldRow, { label: text.auto, hint: withApp(text.autoHint, name), children: _jsx(Toggle, { checked: autoUpdate, onChange: (on) => onAutoUpdateChange?.(on), label: text.auto, hideLabel: true }) })), onUpdate && (_jsx("div", { className: "glim-version-actions", children: _jsx(Button, { label: text.update, labelKey: "components.update", busy: updating, onClick: onUpdate }) }))] }));
39
+ return (_jsxs(Card, { "data-glim": "InfoComponentsCard", title: text.title, hint: withApp(text.hint, name), hueIndex: hueIndex, children: [_jsx("ul", { className: "glim-version-rows", children: componentRows([...rows, designRow(text)]).map((row) => (_jsxs("li", { className: "glim-version-row", children: [_jsxs("span", { className: "glim-version-name", children: [_jsx("span", { className: "glim-version-part", children: row.name }), row.hint && _jsx(InfoBubble, { tip: row.hint })] }), _jsxs("span", { className: "glim-version-end", children: [row.status && (_jsx("span", { className: "glim-version-status", "data-tone": row.tone, children: row.status })), _jsxs("span", { className: "glim-version-tail", children: [row.action && _jsx(Button, { label: row.action.label, labelKey: row.action.labelKey, onClick: row.action.onClick }), _jsx(VersionNumber, { row: row, unreleased: text.unreleased, openUrl: openUrl })] })] })] }, row.name))) }), autoUpdate !== undefined && (_jsx(FieldRow, { label: text.auto, hint: withApp(text.autoHint, name), children: _jsx(Toggle, { checked: autoUpdate, onChange: (on) => onAutoUpdateChange?.(on), label: text.auto, hideLabel: true }) })), onUpdate && (_jsx("div", { className: "glim-version-actions", children: _jsx(Button, { label: text.update, labelKey: "components.update", busy: updating, onClick: onUpdate }) }))] }));
40
40
  }
41
41
  /**
42
42
  * A number that reads as plain text and opens the newest release of its
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glimstone/react",
3
- "version": "4.8.2",
3
+ "version": "4.8.3",
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.2"
19
+ "@glimstone/core": "4.8.3"
20
20
  },
21
21
  "peerDependencies": {
22
22
  "@internationalized/date": "^3.12.4",