@shipfox/client-secrets 14.0.0 → 16.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/.turbo/turbo-build.log +1 -1
- package/.turbo/turbo-type.log +1 -0
- package/CHANGELOG.md +24 -0
- package/dist/components/delete-entry-dialog.js +1 -1
- package/dist/components/delete-entry-dialog.js.map +1 -1
- package/dist/components/form-shell.js +2 -2
- package/dist/components/form-shell.js.map +1 -1
- package/dist/components/secret-form.d.ts.map +1 -1
- package/dist/components/secret-form.js +2 -2
- package/dist/components/secret-form.js.map +1 -1
- package/dist/components/secret-form.stories.d.ts.map +1 -1
- package/dist/components/store-section-shell.js +1 -1
- package/dist/components/store-section-shell.js.map +1 -1
- package/dist/components/variable-form.js +1 -1
- package/dist/components/variable-form.js.map +1 -1
- package/dist/components/variable-form.stories.d.ts.map +1 -1
- package/dist/components/workspace-secrets-section.js +5 -5
- package/dist/components/workspace-secrets-section.js.map +1 -1
- package/dist/components/workspace-secrets-section.stories.d.ts.map +1 -1
- package/dist/components/workspace-variables-section.js +5 -5
- package/dist/components/workspace-variables-section.js.map +1 -1
- package/dist/components/workspace-variables-section.stories.d.ts.map +1 -1
- package/dist/feature.d.ts +16 -16
- package/dist/feature.d.ts.map +1 -1
- package/dist/hooks/api/create-store-api.d.ts.map +1 -1
- package/dist/hooks/api/variables.d.ts.map +1 -1
- package/dist/routes/secrets-settings.d.ts.map +1 -1
- package/dist/routes/variables-settings.d.ts.map +1 -1
- package/dist/tsconfig.test.tsbuildinfo +1 -1
- package/package.json +5 -5
- package/src/components/delete-entry-dialog.tsx +1 -1
- package/src/components/form-shell.tsx +2 -2
- package/src/components/secret-form.tsx +4 -2
- package/src/components/store-section-shell.tsx +1 -1
- package/src/components/variable-form.tsx +1 -1
- package/src/components/workspace-secrets-section.tsx +5 -5
- package/src/components/workspace-variables-section.tsx +5 -5
- package/tsconfig.build.tsbuildinfo +1 -1
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shipfox/client-secrets",
|
|
3
3
|
"license": "MIT",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "16.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/client-api": "6.0.1",
|
|
31
30
|
"@shipfox/api-secrets-dto": "12.0.0",
|
|
32
|
-
"@shipfox/client-
|
|
33
|
-
"@shipfox/
|
|
34
|
-
"@shipfox/client-
|
|
31
|
+
"@shipfox/client-api": "6.0.1",
|
|
32
|
+
"@shipfox/client-shell": "16.0.0",
|
|
33
|
+
"@shipfox/client-ui": "16.0.0",
|
|
34
|
+
"@shipfox/react-ui": "1.1.0"
|
|
35
35
|
},
|
|
36
36
|
"peerDependencies": {
|
|
37
37
|
"@tanstack/react-query": "^5.101.0",
|
|
@@ -33,7 +33,7 @@ export function DeleteEntryDialog({
|
|
|
33
33
|
Delete <strong>{entryKey}</strong>?
|
|
34
34
|
</ModalTitle>
|
|
35
35
|
</ModalHeader>
|
|
36
|
-
<ModalBody className="gap-
|
|
36
|
+
<ModalBody className="gap-group">
|
|
37
37
|
<Text size="sm">
|
|
38
38
|
Workflows that reference <strong>{entryKey}</strong> will fail at their next run.
|
|
39
39
|
</Text>
|
|
@@ -10,7 +10,7 @@ export function FormBody({children, className}: {children: ReactNode; className?
|
|
|
10
10
|
return (
|
|
11
11
|
<div
|
|
12
12
|
className={cn(
|
|
13
|
-
'flex w-full flex-col items-start gap-
|
|
13
|
+
'flex w-full flex-col items-start gap-group bg-background-neutral-base px-frame pt-[16px] pb-panel',
|
|
14
14
|
className,
|
|
15
15
|
)}
|
|
16
16
|
>
|
|
@@ -23,7 +23,7 @@ export function FormFooter({children}: {children: ReactNode}) {
|
|
|
23
23
|
return (
|
|
24
24
|
<div className="flex w-full shrink-0 flex-col">
|
|
25
25
|
<div className="h-[1px] w-full bg-border-neutral-strong" />
|
|
26
|
-
<div className="flex w-full items-center justify-end gap-
|
|
26
|
+
<div className="flex w-full items-center justify-end gap-group bg-background-neutral-base px-frame py-[16px]">
|
|
27
27
|
{children}
|
|
28
28
|
</div>
|
|
29
29
|
</div>
|
|
@@ -76,7 +76,7 @@ export function SecretForm({
|
|
|
76
76
|
<FormBody>
|
|
77
77
|
<form
|
|
78
78
|
id={SECRET_FORM_ID}
|
|
79
|
-
className="flex w-full flex-col gap-
|
|
79
|
+
className="flex w-full flex-col gap-group"
|
|
80
80
|
noValidate
|
|
81
81
|
onSubmit={(event) => {
|
|
82
82
|
event.preventDefault();
|
|
@@ -125,7 +125,9 @@ export function SecretForm({
|
|
|
125
125
|
<div className="relative">
|
|
126
126
|
<FormFieldTextarea
|
|
127
127
|
className={
|
|
128
|
-
showValue
|
|
128
|
+
showValue
|
|
129
|
+
? 'pr-[32px] font-code'
|
|
130
|
+
: 'pr-[32px] font-code [-webkit-text-security:disc]'
|
|
129
131
|
}
|
|
130
132
|
autoComplete="off"
|
|
131
133
|
spellCheck={false}
|
|
@@ -10,7 +10,7 @@ export function StoreRowsSkeleton({label}: {label: string}) {
|
|
|
10
10
|
<div role="status" aria-label={label} className={STORE_SURFACE_CLASS}>
|
|
11
11
|
<ul className="divide-y divide-border-neutral-base">
|
|
12
12
|
{[0, 1, 2].map((row) => (
|
|
13
|
-
<li key={row} className="flex items-center gap-
|
|
13
|
+
<li key={row} className="flex items-center gap-cluster px-row py-row">
|
|
14
14
|
<Skeleton className="h-16 w-140" />
|
|
15
15
|
<Skeleton className="h-16 w-96" />
|
|
16
16
|
<Skeleton className="ml-auto h-14 w-80 shrink-0" />
|
|
@@ -54,9 +54,9 @@ export function WorkspaceSecretsSection({workspaceId}: {workspaceId: string}) {
|
|
|
54
54
|
|
|
55
55
|
return (
|
|
56
56
|
<RelativeTimeProvider>
|
|
57
|
-
<section className="flex flex-col gap-
|
|
58
|
-
<div className="flex items-start justify-between gap-
|
|
59
|
-
<div className="flex flex-col gap-
|
|
57
|
+
<section className="flex flex-col gap-group" aria-label="Secrets">
|
|
58
|
+
<div className="flex items-start justify-between gap-group">
|
|
59
|
+
<div className="flex flex-col gap-tight">
|
|
60
60
|
<Header variant="h3">Secrets</Header>
|
|
61
61
|
<Text size="sm" className="text-foreground-neutral-muted">
|
|
62
62
|
{SECRETS_DESCRIPTION}
|
|
@@ -70,13 +70,13 @@ export function WorkspaceSecretsSection({workspaceId}: {workspaceId: string}) {
|
|
|
70
70
|
{secretsQuery.isPending ? <StoreRowsSkeleton label="Loading secrets" /> : null}
|
|
71
71
|
|
|
72
72
|
{secretsQuery.isError && secretsQuery.data === undefined ? (
|
|
73
|
-
<StoreSurface className="px-
|
|
73
|
+
<StoreSurface className="px-row">
|
|
74
74
|
<QueryLoadError query={secretsQuery} subject="secrets" />
|
|
75
75
|
</StoreSurface>
|
|
76
76
|
) : null}
|
|
77
77
|
|
|
78
78
|
{secretsQuery.data !== undefined && secrets.length === 0 ? (
|
|
79
|
-
<StoreSurface className="px-
|
|
79
|
+
<StoreSurface className="px-row">
|
|
80
80
|
<EmptyState
|
|
81
81
|
icon="keyLine"
|
|
82
82
|
title="No secrets yet"
|
|
@@ -54,9 +54,9 @@ export function WorkspaceVariablesSection({workspaceId}: {workspaceId: string})
|
|
|
54
54
|
|
|
55
55
|
return (
|
|
56
56
|
<RelativeTimeProvider>
|
|
57
|
-
<section className="flex flex-col gap-
|
|
58
|
-
<div className="flex items-start justify-between gap-
|
|
59
|
-
<div className="flex flex-col gap-
|
|
57
|
+
<section className="flex flex-col gap-group" aria-label="Variables">
|
|
58
|
+
<div className="flex items-start justify-between gap-group">
|
|
59
|
+
<div className="flex flex-col gap-tight">
|
|
60
60
|
<Header variant="h3">Variables</Header>
|
|
61
61
|
<Text size="sm" className="text-foreground-neutral-muted">
|
|
62
62
|
{VARIABLES_DESCRIPTION}
|
|
@@ -70,13 +70,13 @@ export function WorkspaceVariablesSection({workspaceId}: {workspaceId: string})
|
|
|
70
70
|
{variablesQuery.isPending ? <StoreRowsSkeleton label="Loading variables" /> : null}
|
|
71
71
|
|
|
72
72
|
{variablesQuery.isError && variablesQuery.data === undefined ? (
|
|
73
|
-
<StoreSurface className="px-
|
|
73
|
+
<StoreSurface className="px-row">
|
|
74
74
|
<QueryLoadError query={variablesQuery} subject="variables" />
|
|
75
75
|
</StoreSurface>
|
|
76
76
|
) : null}
|
|
77
77
|
|
|
78
78
|
{variablesQuery.data !== undefined && variables.length === 0 ? (
|
|
79
|
-
<StoreSurface className="px-
|
|
79
|
+
<StoreSurface className="px-row">
|
|
80
80
|
<EmptyState
|
|
81
81
|
icon="bracesLine"
|
|
82
82
|
title="No variables yet"
|