@shipfox/client-runners 17.0.0 → 21.0.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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@shipfox/client-runners",
3
3
  "license": "MIT",
4
- "version": "17.0.0",
4
+ "version": "21.0.0",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+https://github.com/ShipfoxHQ/shipfox.git",
@@ -27,11 +27,11 @@
27
27
  "dependencies": {
28
28
  "@swc/helpers": "^0.5.17",
29
29
  "@tanstack/react-form": "^1.32.0",
30
- "@shipfox/api-runners-dto": "12.2.0",
30
+ "@shipfox/api-runners-dto": "12.4.0",
31
31
  "@shipfox/client-api": "6.0.1",
32
- "@shipfox/client-shell": "17.0.0",
33
- "@shipfox/client-ui": "17.0.0",
34
- "@shipfox/react-ui": "1.2.0"
32
+ "@shipfox/client-shell": "21.0.0",
33
+ "@shipfox/client-ui": "21.0.0",
34
+ "@shipfox/react-ui": "2.0.0"
35
35
  },
36
36
  "peerDependencies": {
37
37
  "@tanstack/react-query": "^5.101.0",
@@ -15,6 +15,7 @@ import {
15
15
  ModalHeader,
16
16
  ModalTitle,
17
17
  } from '@shipfox/react-ui/modal';
18
+ import {Panel} from '@shipfox/react-ui/panel';
18
19
  import {Skeleton} from '@shipfox/react-ui/skeleton';
19
20
  import {
20
21
  Table,
@@ -45,7 +46,7 @@ export function ManualRegistrationTokenList({
45
46
  }) {
46
47
  return (
47
48
  <>
48
- <div className="max-[760px]:hidden">
49
+ <Panel className="max-[760px]:hidden">
49
50
  <Table className="table-fixed">
50
51
  <TableHeader>
51
52
  <TableRow>
@@ -80,7 +81,7 @@ export function ManualRegistrationTokenList({
80
81
  ))}
81
82
  </TableBody>
82
83
  </Table>
83
- </div>
84
+ </Panel>
84
85
  <ul
85
86
  className="hidden flex-col gap-inline max-[760px]:flex"
86
87
  aria-label="Manual registration tokens"
@@ -16,6 +16,7 @@ import {
16
16
  ModalHeader,
17
17
  ModalTitle,
18
18
  } from '@shipfox/react-ui/modal';
19
+ import {Panel} from '@shipfox/react-ui/panel';
19
20
  import {RelativeTime} from '@shipfox/react-ui/relative-time';
20
21
  import {Skeleton} from '@shipfox/react-ui/skeleton';
21
22
  import {
@@ -53,7 +54,7 @@ export function ProvisionerTokenList({
53
54
  }) {
54
55
  return (
55
56
  <>
56
- <div className="max-[760px]:hidden">
57
+ <Panel className="max-[760px]:hidden">
57
58
  <Table className="table-fixed">
58
59
  <TableHeader>
59
60
  <TableRow>
@@ -92,7 +93,7 @@ export function ProvisionerTokenList({
92
93
  ))}
93
94
  </TableBody>
94
95
  </Table>
95
- </div>
96
+ </Panel>
96
97
  <ul className="hidden flex-col gap-inline max-[760px]:flex" aria-label="Provisioner tokens">
97
98
  {tokens.map((token) => (
98
99
  <li
@@ -225,7 +225,7 @@ export const CreatedTokenPanels: Story = {
225
225
 
226
226
  function StorySurface({children}: {children: ReactNode}) {
227
227
  return (
228
- <div className="min-h-screen bg-background-neutral-background p-24">
228
+ <div className="min-h-screen bg-background-subtle-base p-24">
229
229
  <div className="mx-auto flex w-full max-w-[920px] flex-col gap-32">{children}</div>
230
230
  </div>
231
231
  );
@@ -2,6 +2,7 @@ import {defineRoute, useActiveWorkspace} from '@shipfox/client-shell/runtime';
2
2
  import {WorkspaceProvisionerTokensSettingsSection} from '#index.js';
3
3
 
4
4
  export default defineRoute({
5
+ staticData: {frame: 'content'},
5
6
  component: () => (
6
7
  <WorkspaceProvisionerTokensSettingsSection workspaceId={useActiveWorkspace().id} />
7
8
  ),
@@ -2,6 +2,7 @@ import {defineRoute, useActiveWorkspace} from '@shipfox/client-shell/runtime';
2
2
  import {WorkspaceManualRegistrationTokensSettingsSection} from '#index.js';
3
3
 
4
4
  export default defineRoute({
5
+ staticData: {frame: 'content'},
5
6
  component: () => (
6
7
  <WorkspaceManualRegistrationTokensSettingsSection workspaceId={useActiveWorkspace().id} />
7
8
  ),