@dsh-stack/sidebar-settings 0.0.0-stage → 0.1.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/README.md +2 -2
- package/lib/client.d.ts +14 -0
- package/lib/client.js +29893 -0
- package/lib/client.js.map +1 -0
- package/lib/index.d.ts +8 -0
- package/lib/index.js +8 -0
- package/package.json +65 -4
- package/src/client.tsx +89 -0
- package/src/index.ts +9 -0
- package/stack.json +10 -0
- package/tsconfig.json +10 -0
- package/tsconfig.tsbuildinfo +1 -0
- package/tsconfig.typecheck.json +11 -0
- package/tsdown.config.ts +3 -0
- package/verify.mjs +3 -0
package/README.md
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
#
|
|
1
|
+
# sidebar-settings
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Settings UI for configuring Stack sidebar behavior and visibility.
|
package/lib/client.d.ts
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { Context as ClientContext } from "@deepseek-ai/cordis";
|
|
2
|
+
import type { SettingsSectionOwnerProps } from "@deepseek-ai/dsh-client-ui-settings/client";
|
|
3
|
+
/** Cordis client services this plugin's `apply` reaches for; activation waits on them. */
|
|
4
|
+
export declare const inject: string[];
|
|
5
|
+
type SidebarSettingsProps = SettingsSectionOwnerProps & {
|
|
6
|
+
preferences: ClientContext["sidebarPreferences"];
|
|
7
|
+
};
|
|
8
|
+
/** Renders the sidebar settings section. */
|
|
9
|
+
export declare function SidebarSettings({ preferences, close }: SidebarSettingsProps): import("react").JSX.Element;
|
|
10
|
+
/** Renders the Sidebar section's nav glyph from the canonical animated icon set. */
|
|
11
|
+
export declare function SidebarSettingsIcon(): import("react").JSX.Element;
|
|
12
|
+
/** Registers the sidebar settings section with the settings slot registry. */
|
|
13
|
+
export declare function apply(ctx: ClientContext): void;
|
|
14
|
+
export {};
|