@dsh-stack/skin-deepseek 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 +12 -0
- package/lib/client.js +16 -0
- package/lib/index.d.ts +7 -0
- package/lib/index.js +2 -0
- package/package.json +47 -4
package/README.md
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
#
|
|
1
|
+
# skin-deepseek
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
DeepSeek visual skin and branding contributions for DSH Stack.
|
package/lib/client.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export interface SkinBrandProps {
|
|
2
|
+
readonly size?: number;
|
|
3
|
+
}
|
|
4
|
+
/** DeepSeekBrandMark implementation. */
|
|
5
|
+
export declare function DeepSeekBrandMark({ size }: SkinBrandProps): JSX.Element;
|
|
6
|
+
/**
|
|
7
|
+
* Returns a styled span element displaying the brand name "DeepSeek".
|
|
8
|
+
* The text is rendered in bold with a specific letter spacing.
|
|
9
|
+
*
|
|
10
|
+
* @returns A JSX element representing the brand name.
|
|
11
|
+
*/
|
|
12
|
+
export declare function DeepSeekBrandName(): JSX.Element;
|
package/lib/client.js
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import icon from "thesvg/deepseek";
|
|
3
|
+
/** DeepSeekBrandMark implementation. */
|
|
4
|
+
export function DeepSeekBrandMark({ size = 24 }) {
|
|
5
|
+
const style = { width: size, height: size, display: "block", flex: "0 0 auto" };
|
|
6
|
+
return (_jsx("span", { "aria-label": "DeepSeek", role: "img", style: style, dangerouslySetInnerHTML: { __html: icon.svg } }));
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Returns a styled span element displaying the brand name "DeepSeek".
|
|
10
|
+
* The text is rendered in bold with a specific letter spacing.
|
|
11
|
+
*
|
|
12
|
+
* @returns A JSX element representing the brand name.
|
|
13
|
+
*/
|
|
14
|
+
export function DeepSeekBrandName() {
|
|
15
|
+
return _jsx("span", { style: { fontWeight: 650, letterSpacing: "-0.01em" }, children: "DeepSeek" });
|
|
16
|
+
}
|
package/lib/index.d.ts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ComponentType } from "react";
|
|
2
|
+
import type { SVGProps } from "react";
|
|
3
|
+
export declare const skinId: "deepseek";
|
|
4
|
+
export declare const skinLabel = "DeepSeek";
|
|
5
|
+
export type BrandComponent = ComponentType<{
|
|
6
|
+
size?: number;
|
|
7
|
+
} & Omit<SVGProps<SVGSVGElement>, "width" | "height">>;
|
package/lib/index.js
ADDED
package/package.json
CHANGED
|
@@ -1,6 +1,49 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dsh-stack/skin-deepseek",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"main": "lib/index.js",
|
|
6
|
+
"types": "lib/index.d.ts",
|
|
7
|
+
"exports": {
|
|
8
|
+
".": {
|
|
9
|
+
"types": "./lib/index.d.ts",
|
|
10
|
+
"default": "./lib/index.js"
|
|
11
|
+
},
|
|
12
|
+
"./client": {
|
|
13
|
+
"types": "./lib/client.d.ts",
|
|
14
|
+
"default": "./lib/client.js"
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"scripts": {
|
|
18
|
+
"build": "tsc -p tsconfig.json",
|
|
19
|
+
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
20
|
+
"verify": "node verify.mjs"
|
|
21
|
+
},
|
|
22
|
+
"dependencies": {
|
|
23
|
+
"thesvg": "^3.3.1"
|
|
24
|
+
},
|
|
25
|
+
"peerDependencies": {
|
|
26
|
+
"react": "^18.2.0"
|
|
27
|
+
},
|
|
28
|
+
"devDependencies": {
|
|
29
|
+
"@types/react": "~18.3.1",
|
|
30
|
+
"react": "^18.3.1",
|
|
31
|
+
"typescript": "^6.0.3"
|
|
32
|
+
},
|
|
33
|
+
"stack": {
|
|
34
|
+
"kind": "plugin",
|
|
35
|
+
"id": "stack.ui.skin.deepseek"
|
|
36
|
+
},
|
|
37
|
+
"publishConfig": {
|
|
38
|
+
"access": "public"
|
|
39
|
+
},
|
|
40
|
+
"files": [
|
|
41
|
+
"lib",
|
|
42
|
+
"README.md"
|
|
43
|
+
],
|
|
44
|
+
"repository": {
|
|
45
|
+
"type": "git",
|
|
46
|
+
"url": "https://github.com/marius-patrik/dsh-stack.git",
|
|
47
|
+
"directory": "plugins/skin-deepseek"
|
|
48
|
+
}
|
|
49
|
+
}
|