@shipfox/client-workspace-settings 12.0.2 → 13.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/CHANGELOG.md +28 -0
- package/dist/components/general/form-errors.d.ts +11 -0
- package/dist/components/general/form-errors.d.ts.map +1 -0
- package/dist/components/general/form-errors.js +16 -0
- package/dist/components/general/form-errors.js.map +1 -0
- package/dist/components/members/workspace-members-section.js +2 -2
- package/dist/components/members/workspace-members-section.js.map +1 -1
- package/dist/components/workspace-settings-shell.d.ts +3 -3
- package/dist/components/workspace-settings-shell.d.ts.map +1 -1
- package/dist/components/workspace-settings-shell.js +5 -2
- package/dist/components/workspace-settings-shell.js.map +1 -1
- package/dist/feature.d.ts +20 -4
- package/dist/feature.d.ts.map +1 -1
- package/dist/feature.js +15 -3
- package/dist/feature.js.map +1 -1
- package/dist/pages/general-settings-page.d.ts +2 -0
- package/dist/pages/general-settings-page.d.ts.map +1 -0
- package/dist/pages/general-settings-page.js +191 -0
- package/dist/pages/general-settings-page.js.map +1 -0
- package/dist/routes/general.d.ts +6 -0
- package/dist/routes/general.d.ts.map +1 -0
- package/dist/routes/general.js +7 -0
- package/dist/routes/general.js.map +1 -0
- package/dist/routes/index.d.ts +1 -1
- package/dist/routes/index.d.ts.map +1 -1
- package/dist/routes/index.js +2 -2
- package/dist/routes/index.js.map +1 -1
- package/dist/tsconfig.test.tsbuildinfo +1 -1
- package/package.json +6 -6
- package/src/components/general/form-errors.ts +17 -0
- package/src/components/members/workspace-members-section.tsx +2 -2
- package/src/components/workspace-settings-shell.tsx +5 -3
- package/src/feature.ts +15 -3
- package/src/pages/general-settings-page.test.tsx +91 -0
- package/src/pages/general-settings-page.tsx +198 -0
- package/src/routes/general.tsx +4 -0
- package/src/routes/index.tsx +5 -2
- package/test/pages.tsx +11 -5
- package/tsconfig.build.tsbuildinfo +1 -1
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { GeneralSettingsPage } from '#pages/general-settings-page.js';
|
|
2
|
+
declare const _default: import("@shipfox/client-shell/runtime").RouteImpl<{
|
|
3
|
+
readonly component: typeof GeneralSettingsPage;
|
|
4
|
+
}>;
|
|
5
|
+
export default _default;
|
|
6
|
+
//# sourceMappingURL=general.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"general.d.ts","sourceRoot":"","sources":["../../src/routes/general.tsx"],"names":[],"mappings":"AACA,OAAO,EAAC,mBAAmB,EAAC,MAAM,iCAAiC,CAAC;;;;AAEpE,wBAA6D"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/routes/general.tsx"],"sourcesContent":["import {defineRoute} from '@shipfox/client-shell/runtime';\nimport {GeneralSettingsPage} from '#pages/general-settings-page.js';\n\nexport default defineRoute({component: GeneralSettingsPage});\n"],"names":["defineRoute","GeneralSettingsPage","component"],"mappings":"AAAA,SAAQA,WAAW,QAAO,gCAAgC;AAC1D,SAAQC,mBAAmB,QAAO,kCAAkC;AAEpE,eAAeD,YAAY;IAACE,WAAWD;AAAmB,GAAG"}
|
package/dist/routes/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/routes/index.tsx"],"names":[],"mappings":";sCAIyB;QAAC,MAAM,EAAE;YAAC,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/routes/index.tsx"],"names":[],"mappings":";sCAIyB;QAAC,MAAM,EAAE;YAAC,aAAa,EAAE,MAAM,CAAA;SAAC,CAAA;KAAC;;AAD1D,wBAOG"}
|
package/dist/routes/index.js
CHANGED
|
@@ -3,9 +3,9 @@ import { redirect } from '@tanstack/react-router';
|
|
|
3
3
|
export default defineRoute({
|
|
4
4
|
beforeLoad: ({ params })=>{
|
|
5
5
|
throw redirect({
|
|
6
|
-
to: '/
|
|
6
|
+
to: '/w/$workspaceSlug/settings/members',
|
|
7
7
|
params: {
|
|
8
|
-
|
|
8
|
+
workspaceSlug: params.workspaceSlug
|
|
9
9
|
}
|
|
10
10
|
});
|
|
11
11
|
}
|
package/dist/routes/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/routes/index.tsx"],"sourcesContent":["import {defineRoute} from '@shipfox/client-shell/runtime';\nimport {redirect} from '@tanstack/react-router';\n\nexport default defineRoute({\n beforeLoad: ({params}: {params: {
|
|
1
|
+
{"version":3,"sources":["../../src/routes/index.tsx"],"sourcesContent":["import {defineRoute} from '@shipfox/client-shell/runtime';\nimport {redirect} from '@tanstack/react-router';\n\nexport default defineRoute({\n beforeLoad: ({params}: {params: {workspaceSlug: string}}) => {\n throw redirect({\n to: '/w/$workspaceSlug/settings/members',\n params: {workspaceSlug: params.workspaceSlug},\n });\n },\n});\n"],"names":["defineRoute","redirect","beforeLoad","params","to","workspaceSlug"],"mappings":"AAAA,SAAQA,WAAW,QAAO,gCAAgC;AAC1D,SAAQC,QAAQ,QAAO,yBAAyB;AAEhD,eAAeD,YAAY;IACzBE,YAAY,CAAC,EAACC,MAAM,EAAoC;QACtD,MAAMF,SAAS;YACbG,IAAI;YACJD,QAAQ;gBAACE,eAAeF,OAAOE,aAAa;YAAA;QAC9C;IACF;AACF,GAAG"}
|