@shipfox/client-config 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.
@@ -1,2 +1,2 @@
1
1
  $ shipfox-swc
2
- Successfully compiled: 4 files with swc (186.15ms)
2
+ Successfully compiled: 4 files with swc (337.54ms)
package/CHANGELOG.md CHANGED
@@ -1,5 +1,25 @@
1
1
  # @shipfox/client-config
2
2
 
3
+ ## 16.0.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [80cde6b]
8
+ - @shipfox/react-ui@1.1.0
9
+
10
+ ## 14.0.1
11
+
12
+ ### Patch Changes
13
+
14
+ - 88bf8e8: Migrates the shell, auth, secrets, logs, workspace-settings, config, and invitations
15
+ surfaces to semantic spacing roles and brings them under the `no-raw-spacing` Biome
16
+ plugin. Adds shared menu-surface and edge-specific panel roles for existing spacing
17
+ contracts.
18
+ - Updated dependencies [88bf8e8]
19
+ - Updated dependencies [6aa6c7a]
20
+ - Updated dependencies [5c56ba6]
21
+ - @shipfox/react-ui@1.0.0
22
+
3
23
  ## 14.0.0
4
24
 
5
25
  ### Patch Changes
@@ -13,14 +13,14 @@ import { Code, Text } from '@shipfox/react-ui/typography';
13
13
  * main.tsx), so it uses the design system directly.
14
14
  */ export function ConfigErrorScreen({ errors, docsUrl }) {
15
15
  return /*#__PURE__*/ _jsx("main", {
16
- className: "flex min-h-screen items-center justify-center bg-background-subtle-base px-24 py-32",
16
+ className: "flex min-h-screen items-center justify-center bg-background-subtle-base px-frame py-frame",
17
17
  children: /*#__PURE__*/ _jsxs(Card, {
18
18
  className: "w-full max-w-[512px]",
19
19
  children: [
20
20
  /*#__PURE__*/ _jsxs(CardHeader, {
21
21
  children: [
22
22
  /*#__PURE__*/ _jsxs("div", {
23
- className: "flex items-center gap-8",
23
+ className: "flex items-center gap-inline",
24
24
  children: [
25
25
  /*#__PURE__*/ _jsx(Icon, {
26
26
  name: "errorWarningLine",
@@ -40,7 +40,7 @@ import { Code, Text } from '@shipfox/react-ui/typography';
40
40
  /*#__PURE__*/ _jsx(CardContent, {
41
41
  className: "flex flex-col",
42
42
  children: errors.map((error)=>/*#__PURE__*/ _jsxs("div", {
43
- className: "flex flex-col gap-4 border-t border-border-neutral-base py-12 first:border-t-0 first:pt-0",
43
+ className: "flex flex-col gap-tight border-t border-border-neutral-base py-row first:border-t-0 first:pt-0",
44
44
  children: [
45
45
  /*#__PURE__*/ _jsx(Code, {
46
46
  variant: "label",
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/config-error-screen.tsx"],"sourcesContent":["import {ButtonLink} from '@shipfox/react-ui/button';\nimport {Card, CardContent, CardDescription, CardHeader, CardTitle} from '@shipfox/react-ui/card';\nimport {Icon} from '@shipfox/react-ui/icon';\nimport {Code, Text} from '@shipfox/react-ui/typography';\nimport type {ConfigKeyError} from './load-config.js';\n\nexport interface ConfigErrorScreenProps {\n errors: ConfigKeyError[];\n /** Link to the self-hosting configuration guide. */\n docsUrl?: string;\n}\n\n/**\n * Full-screen configuration diagnostic shown instead of the app when required\n * config is missing or invalid. It lists every problem at once with the exact\n * environment variable to set, so a self-hoster fixes the deployment in one pass\n * rather than discovering errors one failed request at a time.\n *\n * Rendered outside the app's auth/router tree but inside `ThemeProvider` (see\n * main.tsx), so it uses the design system directly.\n */\nexport function ConfigErrorScreen({errors, docsUrl}: ConfigErrorScreenProps) {\n return (\n <main className=\"flex min-h-screen items-center justify-center bg-background-subtle-base px-24 py-32\">\n <Card className=\"w-full max-w-[512px]\">\n <CardHeader>\n <div className=\"flex items-center gap-8\">\n <Icon name=\"errorWarningLine\" className=\"size-20 text-tag-error-icon\" />\n <CardTitle variant=\"h2\">Configuration error</CardTitle>\n </div>\n <CardDescription>\n The Shipfox client could not start because its configuration is missing or invalid. Set\n the environment variables below and restart the container.\n </CardDescription>\n </CardHeader>\n\n <CardContent className=\"flex flex-col\">\n {errors.map((error) => (\n <div\n key={error.key}\n className=\"flex flex-col gap-4 border-t border-border-neutral-base py-12 first:border-t-0 first:pt-0\"\n >\n <Code variant=\"label\" bold className=\"text-foreground-neutral-base\">\n {error.key}\n </Code>\n {error.description ? (\n <Text size=\"sm\" className=\"text-foreground-neutral-muted\">\n {error.description}\n </Text>\n ) : null}\n <Text size=\"sm\" className=\"text-tag-error-text\">\n {error.message}\n </Text>\n <Text size=\"xs\" className=\"text-foreground-neutral-muted\">\n Set{' '}\n <Code as=\"code\" variant=\"label\" className=\"text-foreground-neutral-subtle\">\n {error.envVars[0]}\n </Code>{' '}\n (self-hosting) or{' '}\n <Code as=\"code\" variant=\"label\" className=\"text-foreground-neutral-subtle\">\n {error.envVars[1]}\n </Code>{' '}\n (build time).\n </Text>\n </div>\n ))}\n </CardContent>\n\n {docsUrl ? (\n <Text size=\"sm\" className=\"text-foreground-neutral-muted\">\n See the{' '}\n <ButtonLink href={docsUrl} variant=\"interactive\" underline>\n self-hosting configuration guide\n </ButtonLink>\n .\n </Text>\n ) : null}\n </Card>\n </main>\n );\n}\n"],"names":["ButtonLink","Card","CardContent","CardDescription","CardHeader","CardTitle","Icon","Code","Text","ConfigErrorScreen","errors","docsUrl","main","className","div","name","variant","map","error","bold","key","description","size","message","as","envVars","href","underline"],"mappings":";AAAA,SAAQA,UAAU,QAAO,2BAA2B;AACpD,SAAQC,IAAI,EAAEC,WAAW,EAAEC,eAAe,EAAEC,UAAU,EAAEC,SAAS,QAAO,yBAAyB;AACjG,SAAQC,IAAI,QAAO,yBAAyB;AAC5C,SAAQC,IAAI,EAAEC,IAAI,QAAO,+BAA+B;AASxD;;;;;;;;CAQC,GACD,OAAO,SAASC,kBAAkB,EAACC,MAAM,EAAEC,OAAO,EAAyB;IACzE,qBACE,KAACC;QAAKC,WAAU;kBACd,cAAA,MAACZ;YAAKY,WAAU;;8BACd,MAACT;;sCACC,MAACU;4BAAID,WAAU;;8CACb,KAACP;oCAAKS,MAAK;oCAAmBF,WAAU;;8CACxC,KAACR;oCAAUW,SAAQ;8CAAK;;;;sCAE1B,KAACb;sCAAgB;;;;8BAMnB,KAACD;oBAAYW,WAAU;8BACpBH,OAAOO,GAAG,CAAC,CAACC,sBACX,MAACJ;4BAECD,WAAU;;8CAEV,KAACN;oCAAKS,SAAQ;oCAAQG,IAAI;oCAACN,WAAU;8CAClCK,MAAME,GAAG;;gCAEXF,MAAMG,WAAW,iBAChB,KAACb;oCAAKc,MAAK;oCAAKT,WAAU;8CACvBK,MAAMG,WAAW;qCAElB;8CACJ,KAACb;oCAAKc,MAAK;oCAAKT,WAAU;8CACvBK,MAAMK,OAAO;;8CAEhB,MAACf;oCAAKc,MAAK;oCAAKT,WAAU;;wCAAgC;wCACpD;sDACJ,KAACN;4CAAKiB,IAAG;4CAAOR,SAAQ;4CAAQH,WAAU;sDACvCK,MAAMO,OAAO,CAAC,EAAE;;wCACX;wCAAI;wCACM;sDAClB,KAAClB;4CAAKiB,IAAG;4CAAOR,SAAQ;4CAAQH,WAAU;sDACvCK,MAAMO,OAAO,CAAC,EAAE;;wCACX;wCAAI;;;;2BAtBTP,MAAME,GAAG;;gBA6BnBT,wBACC,MAACH;oBAAKc,MAAK;oBAAKT,WAAU;;wBAAgC;wBAChD;sCACR,KAACb;4BAAW0B,MAAMf;4BAASK,SAAQ;4BAAcW,SAAS;sCAAC;;wBAE9C;;qBAGb;;;;AAIZ"}
1
+ {"version":3,"sources":["../src/config-error-screen.tsx"],"sourcesContent":["import {ButtonLink} from '@shipfox/react-ui/button';\nimport {Card, CardContent, CardDescription, CardHeader, CardTitle} from '@shipfox/react-ui/card';\nimport {Icon} from '@shipfox/react-ui/icon';\nimport {Code, Text} from '@shipfox/react-ui/typography';\nimport type {ConfigKeyError} from './load-config.js';\n\nexport interface ConfigErrorScreenProps {\n errors: ConfigKeyError[];\n /** Link to the self-hosting configuration guide. */\n docsUrl?: string;\n}\n\n/**\n * Full-screen configuration diagnostic shown instead of the app when required\n * config is missing or invalid. It lists every problem at once with the exact\n * environment variable to set, so a self-hoster fixes the deployment in one pass\n * rather than discovering errors one failed request at a time.\n *\n * Rendered outside the app's auth/router tree but inside `ThemeProvider` (see\n * main.tsx), so it uses the design system directly.\n */\nexport function ConfigErrorScreen({errors, docsUrl}: ConfigErrorScreenProps) {\n return (\n <main className=\"flex min-h-screen items-center justify-center bg-background-subtle-base px-frame py-frame\">\n <Card className=\"w-full max-w-[512px]\">\n <CardHeader>\n <div className=\"flex items-center gap-inline\">\n <Icon name=\"errorWarningLine\" className=\"size-20 text-tag-error-icon\" />\n <CardTitle variant=\"h2\">Configuration error</CardTitle>\n </div>\n <CardDescription>\n The Shipfox client could not start because its configuration is missing or invalid. Set\n the environment variables below and restart the container.\n </CardDescription>\n </CardHeader>\n\n <CardContent className=\"flex flex-col\">\n {errors.map((error) => (\n <div\n key={error.key}\n className=\"flex flex-col gap-tight border-t border-border-neutral-base py-row first:border-t-0 first:pt-0\"\n >\n <Code variant=\"label\" bold className=\"text-foreground-neutral-base\">\n {error.key}\n </Code>\n {error.description ? (\n <Text size=\"sm\" className=\"text-foreground-neutral-muted\">\n {error.description}\n </Text>\n ) : null}\n <Text size=\"sm\" className=\"text-tag-error-text\">\n {error.message}\n </Text>\n <Text size=\"xs\" className=\"text-foreground-neutral-muted\">\n Set{' '}\n <Code as=\"code\" variant=\"label\" className=\"text-foreground-neutral-subtle\">\n {error.envVars[0]}\n </Code>{' '}\n (self-hosting) or{' '}\n <Code as=\"code\" variant=\"label\" className=\"text-foreground-neutral-subtle\">\n {error.envVars[1]}\n </Code>{' '}\n (build time).\n </Text>\n </div>\n ))}\n </CardContent>\n\n {docsUrl ? (\n <Text size=\"sm\" className=\"text-foreground-neutral-muted\">\n See the{' '}\n <ButtonLink href={docsUrl} variant=\"interactive\" underline>\n self-hosting configuration guide\n </ButtonLink>\n .\n </Text>\n ) : null}\n </Card>\n </main>\n );\n}\n"],"names":["ButtonLink","Card","CardContent","CardDescription","CardHeader","CardTitle","Icon","Code","Text","ConfigErrorScreen","errors","docsUrl","main","className","div","name","variant","map","error","bold","key","description","size","message","as","envVars","href","underline"],"mappings":";AAAA,SAAQA,UAAU,QAAO,2BAA2B;AACpD,SAAQC,IAAI,EAAEC,WAAW,EAAEC,eAAe,EAAEC,UAAU,EAAEC,SAAS,QAAO,yBAAyB;AACjG,SAAQC,IAAI,QAAO,yBAAyB;AAC5C,SAAQC,IAAI,EAAEC,IAAI,QAAO,+BAA+B;AASxD;;;;;;;;CAQC,GACD,OAAO,SAASC,kBAAkB,EAACC,MAAM,EAAEC,OAAO,EAAyB;IACzE,qBACE,KAACC;QAAKC,WAAU;kBACd,cAAA,MAACZ;YAAKY,WAAU;;8BACd,MAACT;;sCACC,MAACU;4BAAID,WAAU;;8CACb,KAACP;oCAAKS,MAAK;oCAAmBF,WAAU;;8CACxC,KAACR;oCAAUW,SAAQ;8CAAK;;;;sCAE1B,KAACb;sCAAgB;;;;8BAMnB,KAACD;oBAAYW,WAAU;8BACpBH,OAAOO,GAAG,CAAC,CAACC,sBACX,MAACJ;4BAECD,WAAU;;8CAEV,KAACN;oCAAKS,SAAQ;oCAAQG,IAAI;oCAACN,WAAU;8CAClCK,MAAME,GAAG;;gCAEXF,MAAMG,WAAW,iBAChB,KAACb;oCAAKc,MAAK;oCAAKT,WAAU;8CACvBK,MAAMG,WAAW;qCAElB;8CACJ,KAACb;oCAAKc,MAAK;oCAAKT,WAAU;8CACvBK,MAAMK,OAAO;;8CAEhB,MAACf;oCAAKc,MAAK;oCAAKT,WAAU;;wCAAgC;wCACpD;sDACJ,KAACN;4CAAKiB,IAAG;4CAAOR,SAAQ;4CAAQH,WAAU;sDACvCK,MAAMO,OAAO,CAAC,EAAE;;wCACX;wCAAI;wCACM;sDAClB,KAAClB;4CAAKiB,IAAG;4CAAOR,SAAQ;4CAAQH,WAAU;sDACvCK,MAAMO,OAAO,CAAC,EAAE;;wCACX;wCAAI;;;;2BAtBTP,MAAME,GAAG;;gBA6BnBT,wBACC,MAACH;oBAAKc,MAAK;oBAAKT,WAAU;;wBAAgC;wBAChD;sCACR,KAACb;4BAAW0B,MAAMf;4BAASK,SAAQ;4BAAcW,SAAS;sCAAC;;wBAE9C;;qBAGb;;;;AAIZ"}