@byline/host-tanstack-start 1.10.0 → 1.10.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.
@@ -88,9 +88,19 @@ function RestoreVersionModal({ collection, documentId, versionId, versionLabel,
88
88
  /*#__PURE__*/ jsxs("div", {
89
89
  className: classnames('byline-coll-restore-actions', restore_version_modal_module.actions),
90
90
  children: [
91
+ /*#__PURE__*/ jsx("button", {
92
+ "data-autofocus": true,
93
+ type: "button",
94
+ tabIndex: 0,
95
+ className: classnames('byline-form-actions-sr-only', restore_version_modal_module["sr-only"]),
96
+ children: "no action"
97
+ }),
91
98
  /*#__PURE__*/ jsx(Button, {
92
99
  type: "button",
93
- intent: "secondary",
100
+ style: {
101
+ minWidth: '80px'
102
+ },
103
+ intent: "noeffect",
94
104
  size: "sm",
95
105
  onClick: onClose,
96
106
  disabled: pending,
@@ -101,6 +111,9 @@ function RestoreVersionModal({ collection, documentId, versionId, versionLabel,
101
111
  size: "sm",
102
112
  intent: "primary",
103
113
  onClick: handleRestore,
114
+ style: {
115
+ minWidth: '80px'
116
+ },
104
117
  disabled: pending,
105
118
  className: classnames('byline-coll-restore-button', restore_version_modal_module.button),
106
119
  children: true === pending ? /*#__PURE__*/ jsx(LoaderEllipsis, {
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "private": false,
4
4
  "type": "module",
5
5
  "license": "MPL-2.0",
6
- "version": "1.10.0",
6
+ "version": "1.10.2",
7
7
  "engines": {
8
8
  "node": ">=20.9.0"
9
9
  },
@@ -104,13 +104,13 @@
104
104
  "react-json-view-lite": "^2.5.0",
105
105
  "react-swipeable": "^7.0.2",
106
106
  "uuid": "^14.0.0",
107
- "zod": "^4.4.2",
108
- "@byline/admin": "1.10.0",
109
- "@byline/auth": "1.10.0",
110
- "@byline/core": "1.10.0",
111
- "@byline/client": "1.10.0",
112
- "@byline/ai": "1.10.0",
113
- "@byline/ui": "1.10.0"
107
+ "zod": "^4.4.3",
108
+ "@byline/auth": "1.10.2",
109
+ "@byline/client": "1.10.2",
110
+ "@byline/admin": "1.10.2",
111
+ "@byline/ui": "1.10.2",
112
+ "@byline/ai": "1.10.2",
113
+ "@byline/core": "1.10.2"
114
114
  },
115
115
  "peerDependencies": {
116
116
  "@tanstack/react-router": "^1.167.0",
@@ -119,17 +119,17 @@
119
119
  "react-dom": "^19.0.0"
120
120
  },
121
121
  "devDependencies": {
122
- "@biomejs/biome": "2.4.14",
122
+ "@biomejs/biome": "2.4.15",
123
123
  "@rsbuild/plugin-react": "^2.0.0",
124
- "@rslib/core": "^0.21.3",
125
- "@tanstack/react-router": "^1.169.1",
126
- "@tanstack/react-start": "^1.167.61",
127
- "@types/node": "^25.6.0",
124
+ "@rslib/core": "^0.21.4",
125
+ "@tanstack/react-router": "^1.169.2",
126
+ "@tanstack/react-start": "^1.167.65",
127
+ "@types/node": "^25.6.2",
128
128
  "@types/react": "19.2.14",
129
129
  "@types/react-dom": "19.2.3",
130
130
  "lightningcss": "^1.32.0",
131
- "react": "19.2.5",
132
- "react-dom": "19.2.5",
131
+ "react": "^19.2.6",
132
+ "react-dom": "^19.2.6",
133
133
  "rimraf": "^6.1.3",
134
134
  "typescript": "6.0.3",
135
135
  "typescript-plugin-css-modules": "^5.2.0",
@@ -100,9 +100,18 @@ export function RestoreVersionModal({
100
100
  </p>
101
101
  </div>
102
102
  <div className={cx('byline-coll-restore-actions', styles.actions)}>
103
+ <button
104
+ data-autofocus
105
+ type="button"
106
+ tabIndex={0}
107
+ className={cx('byline-form-actions-sr-only', styles['sr-only'])}
108
+ >
109
+ no action
110
+ </button>
103
111
  <Button
104
112
  type="button"
105
- intent="secondary"
113
+ style={{ minWidth: '80px' }}
114
+ intent="noeffect"
106
115
  size="sm"
107
116
  onClick={onClose}
108
117
  disabled={pending}
@@ -114,6 +123,7 @@ export function RestoreVersionModal({
114
123
  size="sm"
115
124
  intent="primary"
116
125
  onClick={handleRestore}
126
+ style={{ minWidth: '80px' }}
117
127
  disabled={pending}
118
128
  className={cx('byline-coll-restore-button', styles.button)}
119
129
  >