@lobehub/ui 6.15.4 → 6.16.1

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.
@@ -0,0 +1,20 @@
1
+ # Third-Party Notices
2
+
3
+ `@lobehub/ui` includes material from the third-party projects below. Each is distributed under its own license, reproduced here as that license requires.
4
+
5
+ ## TDesign Icons
6
+
7
+ - Source: https://github.com/Tencent/tdesign-icons
8
+ - Used in: `src/icons/WeCom` (the WeCom glyph, from TDesign's `logo-wecom` icon)
9
+
10
+ ```text
11
+ MIT License
12
+
13
+ Copyright (c) 2021-present TDesign
14
+
15
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
16
+
17
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
18
+
19
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
20
+ ```
@@ -41,7 +41,7 @@ declare const styleArrays: {
41
41
  }> | Readonly<{
42
42
  readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", "transparent">;
43
43
  readonly cursor: stylex.StyleXClassNameFor<"cursor", "default">;
44
- readonly display: stylex.StyleXClassNameFor<"display", "flex" | "none">;
44
+ readonly display: stylex.StyleXClassNameFor<"display", "none" | "flex">;
45
45
  }>)[];
46
46
  item: Readonly<{
47
47
  readonly borderRadius: stylex.StyleXClassNameFor<"borderRadius", string>;
@@ -97,7 +97,7 @@ declare const styleArrays: {
97
97
  readonly '--lobe-dropdown-animation-ease-in': stylex.StyleXClassNameFor<"--lobe-dropdown-animation-ease-in", "ease-in">;
98
98
  readonly '--lobe-dropdown-animation-ease-out': stylex.StyleXClassNameFor<"--lobe-dropdown-animation-ease-out", string>;
99
99
  readonly '--lobe-dropdown-animation-scale-y': stylex.StyleXClassNameFor<"--lobe-dropdown-animation-scale-y", "1" | "0.92">;
100
- readonly zIndex: stylex.StyleXClassNameFor<"zIndex", 1100 | 1199>;
100
+ readonly zIndex: stylex.StyleXClassNameFor<"zIndex", 1199 | 1100>;
101
101
  }>[];
102
102
  };
103
103
  export declare const styles: Record<keyof typeof styleArrays, string>;
@@ -1,4 +1,4 @@
1
- import { Rule } from "../node_modules/.pnpm/eslint@10.14.0_jiti@2.7.0_supports-color@10.2.2/node_modules/eslint/lib/types/index.mjs";
1
+ import { Rule } from "../node_modules/.pnpm/eslint@10.15.0_jiti@2.7.0_supports-color@10.2.2/node_modules/eslint/lib/types/index.mjs";
2
2
  export declare const restrictedImports: {
3
3
  rules: {
4
4
  'no-restricted-imports': (string | {
@@ -0,0 +1,5 @@
1
+ import { FC } from "react";
2
+ import { IconAvatarProps } from "@lobehub/icons";
3
+ export type AvatarProps = Omit<IconAvatarProps, 'Icon'>;
4
+ declare const Avatar: FC<AvatarProps>;
5
+ export { Avatar as default };
@@ -0,0 +1,18 @@
1
+ "use client";
2
+ import { TITLE } from "../style.mjs";
3
+ import Icon from "./Mono.mjs";
4
+ import { jsx } from "react/jsx-runtime";
5
+ import { IconAvatar } from "@lobehub/icons";
6
+ // src/icons/WeCom/components/Avatar.tsx
7
+ const Avatar = ({ background, ...rest }) => {
8
+ return /* @__PURE__ */ jsx(IconAvatar, {
9
+ Icon,
10
+ "aria-label": TITLE,
11
+ background: background || "#0082EF",
12
+ color: "#fff",
13
+ ...rest
14
+ });
15
+ };
16
+ export { Avatar as default };
17
+
18
+ //# sourceMappingURL=Avatar.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Avatar.mjs","names":["Mono"],"sources":["../../../../src/icons/WeCom/components/Avatar.tsx"],"sourcesContent":["'use client';\n\nimport { IconAvatar, type IconAvatarProps } from '@lobehub/icons';\nimport { type FC } from 'react';\n\nimport { COLOR_PRIMARY, TITLE } from '../style';\nimport Mono from './Mono';\n\nexport type AvatarProps = Omit<IconAvatarProps, 'Icon'>;\n\nconst Avatar: FC<AvatarProps> = ({ background, ...rest }) => {\n return (\n <IconAvatar\n Icon={Mono}\n aria-label={TITLE}\n background={background || COLOR_PRIMARY}\n color={'#fff'}\n {...rest}\n />\n );\n};\n\nexport default Avatar;\n"],"mappings":";;;;;;AAUA,MAAM,UAA2B,EAAE,YAAY,GAAG,WAAW;CAC3D,OACE,oBAAC,YAAD;EACQA;EACN,cAAY;EACZ,YAAY,cAAA;EACZ,OAAO;EACP,GAAI;CACL,CAAA;AAEL"}
@@ -0,0 +1,3 @@
1
+ import { IconType } from "@lobehub/icons";
2
+ declare const Icon: IconType;
3
+ export { Icon as default };
@@ -0,0 +1,50 @@
1
+ "use client";
2
+ import { TITLE } from "../style.mjs";
3
+ import { memo } from "react";
4
+ import { jsx, jsxs } from "react/jsx-runtime";
5
+ // src/icons/WeCom/components/Color.tsx
6
+ const BUBBLE = "M17.326 8.158l-.003-.007a6.6 6.6 0 0 0-1.178-1.674c-1.266-1.307-3.067-2.19-5.102-2.417a9.3 9.3 0 0 0-2.124 0h-.001c-2.061.228-3.882 1.107-5.14 2.405a6.7 6.7 0 0 0-1.194 1.682A5.7 5.7 0 0 0 2 10.657c0 1.106.332 2.218.988 3.201l.006.01c.391.594 1.092 1.39 1.637 1.83l.983.793l-.208.875l.527-.267l.708-.358l.761.225c.467.137.955.227 1.517.29h.005q.515.06 1.026.059c.355 0 .724-.02 1.095-.06a9 9 0 0 0 1.346-.258c.095.7.43 1.337.932 1.81c-.658.208-1.352.358-2.061.436c-.442.048-.883.072-1.312.072q-.627 0-1.253-.072a10.7 10.7 0 0 1-1.861-.36l-2.84 1.438s-.29.131-.44.131c-.418 0-.702-.285-.702-.704c0-.252.067-.598.128-.84l.394-1.653c-.728-.586-1.563-1.544-2.052-2.287A7.76 7.76 0 0 1 0 10.658a7.7 7.7 0 0 1 .787-3.39a8.7 8.7 0 0 1 1.551-2.19c1.61-1.665 3.878-2.73 6.359-3.006a11.3 11.3 0 0 1 2.565 0c2.47.275 4.712 1.353 6.323 3.017a8.6 8.6 0 0 1 1.539 2.192c.466.945.769 1.937.769 2.978a3.06 3.06 0 0 0-2-.005c-.001-.644-.189-1.329-.564-2.09z";
7
+ const PETAL_TOP = "M21.451 15.135l-.024-.024l-.024-.018l-.024-.018l-.096-.095a4.24 4.24 0 0 1-1.169-2.192q0-.038-.006-.075l-.006-.056l-.035-.144a1.3 1.3 0 0 0-.358-.61a1.386 1.386 0 0 0-1.957 0a1.4 1.4 0 0 0 0 1.963c.191.191.418.311.668.371c.024.012.06.012.084.012q.019 0 .041.006q.023.005.042.006a4.24 4.24 0 0 1 2.231 1.186c.048.048.096.095.131.143a.323.323 0 0 0 .466 0a.35.35 0 0 0 .036-.455";
8
+ const PETAL_RIGHT = "M20.401 19.505l-.025.025c-.119.096-.31.096-.453-.036a.326.326 0 0 1 0-.467c.047-.036.094-.083.141-.13l.002-.002a4.27 4.27 0 0 0 1.187-2.28q.005-.024.006-.043c0-.024 0-.06.012-.084a1.386 1.386 0 0 1 2.326-.67a1.4 1.4 0 0 1 0 1.964c-.167.18-.382.299-.608.359l-.143.036l-.057.005q-.035.006-.075.007a4.2 4.2 0 0 0-2.183 1.173l-.095.096q-.009.01-.018.024t-.018.024";
9
+ const PETAL_BOTTOM = "M16.008 18.453l.024.024l.024.018q.015.009.024.018l.096.096a4.25 4.25 0 0 1 1.169 2.19q0 .04.006.076q.005.03.006.057l.035.143c.06.228.18.443.358.611c.537.539 1.42.539 1.957 0a1.4 1.4 0 0 0 0-1.964a1.4 1.4 0 0 0-.668-.371c-.024-.012-.06-.012-.084-.012q-.018 0-.041-.006l-.042-.006a4.25 4.25 0 0 1-2.231-1.185a1.4 1.4 0 0 1-.131-.144a.323.323 0 0 0-.466 0a.325.325 0 0 0-.036.455";
10
+ const PETAL_LEFT = "M17.047 14.095l.024-.024a.32.32 0 0 1 .453.035a.326.326 0 0 1 0 .467c-.047.036-.094.083-.141.13l-.002.002a4.27 4.27 0 0 0-1.187 2.281l-.006.042c0 .024 0 .06-.012.084a1.386 1.386 0 0 1-2.326.67a1.4 1.4 0 0 1 0-1.963c.166-.18.381-.3.608-.36l.143-.035q.026 0 .056-.006q.037-.005.075-.006a4.2 4.2 0 0 0 2.183-1.174l.096-.095l.018-.025z";
11
+ const Icon = memo(({ size = "1em", style, ...rest }) => {
12
+ return /* @__PURE__ */ jsxs("svg", {
13
+ height: size,
14
+ style: {
15
+ flex: "none",
16
+ lineHeight: 1,
17
+ ...style
18
+ },
19
+ viewBox: "0 0 24 24",
20
+ width: size,
21
+ xmlns: "http://www.w3.org/2000/svg",
22
+ ...rest,
23
+ children: [
24
+ /* @__PURE__ */ jsx("title", { children: TITLE }),
25
+ /* @__PURE__ */ jsx("path", {
26
+ d: BUBBLE,
27
+ fill: "#0082EF"
28
+ }),
29
+ /* @__PURE__ */ jsx("path", {
30
+ d: PETAL_TOP,
31
+ fill: "#2DBC00"
32
+ }),
33
+ /* @__PURE__ */ jsx("path", {
34
+ d: PETAL_RIGHT,
35
+ fill: "#0082EF"
36
+ }),
37
+ /* @__PURE__ */ jsx("path", {
38
+ d: PETAL_BOTTOM,
39
+ fill: "#FB6500"
40
+ }),
41
+ /* @__PURE__ */ jsx("path", {
42
+ d: PETAL_LEFT,
43
+ fill: "#FFCC00"
44
+ })
45
+ ]
46
+ });
47
+ });
48
+ export { Icon as default };
49
+
50
+ //# sourceMappingURL=Color.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Color.mjs","names":[],"sources":["../../../../src/icons/WeCom/components/Color.tsx"],"sourcesContent":["'use client';\n\nimport type { IconType } from '@lobehub/icons';\nimport { memo } from 'react';\n\nimport { TITLE } from '../style';\n\n// Glyph from TDesign Icons' `logo-wecom` (MIT); notice in THIRD_PARTY_NOTICES.md.\n// Split into the bubble and one subpath per petal so the petals take WeCom's brand colors\n// (sampled from the work.weixin.qq.com favicon): green top, blue right, orange bottom, yellow left.\nconst BUBBLE =\n 'M17.326 8.158l-.003-.007a6.6 6.6 0 0 0-1.178-1.674c-1.266-1.307-3.067-2.19-5.102-2.417a9.3 9.3 0 0 0-2.124 0h-.001c-2.061.228-3.882 1.107-5.14 2.405a6.7 6.7 0 0 0-1.194 1.682A5.7 5.7 0 0 0 2 10.657c0 1.106.332 2.218.988 3.201l.006.01c.391.594 1.092 1.39 1.637 1.83l.983.793l-.208.875l.527-.267l.708-.358l.761.225c.467.137.955.227 1.517.29h.005q.515.06 1.026.059c.355 0 .724-.02 1.095-.06a9 9 0 0 0 1.346-.258c.095.7.43 1.337.932 1.81c-.658.208-1.352.358-2.061.436c-.442.048-.883.072-1.312.072q-.627 0-1.253-.072a10.7 10.7 0 0 1-1.861-.36l-2.84 1.438s-.29.131-.44.131c-.418 0-.702-.285-.702-.704c0-.252.067-.598.128-.84l.394-1.653c-.728-.586-1.563-1.544-2.052-2.287A7.76 7.76 0 0 1 0 10.658a7.7 7.7 0 0 1 .787-3.39a8.7 8.7 0 0 1 1.551-2.19c1.61-1.665 3.878-2.73 6.359-3.006a11.3 11.3 0 0 1 2.565 0c2.47.275 4.712 1.353 6.323 3.017a8.6 8.6 0 0 1 1.539 2.192c.466.945.769 1.937.769 2.978a3.06 3.06 0 0 0-2-.005c-.001-.644-.189-1.329-.564-2.09z';\nconst PETAL_TOP =\n 'M21.451 15.135l-.024-.024l-.024-.018l-.024-.018l-.096-.095a4.24 4.24 0 0 1-1.169-2.192q0-.038-.006-.075l-.006-.056l-.035-.144a1.3 1.3 0 0 0-.358-.61a1.386 1.386 0 0 0-1.957 0a1.4 1.4 0 0 0 0 1.963c.191.191.418.311.668.371c.024.012.06.012.084.012q.019 0 .041.006q.023.005.042.006a4.24 4.24 0 0 1 2.231 1.186c.048.048.096.095.131.143a.323.323 0 0 0 .466 0a.35.35 0 0 0 .036-.455';\nconst PETAL_RIGHT =\n 'M20.401 19.505l-.025.025c-.119.096-.31.096-.453-.036a.326.326 0 0 1 0-.467c.047-.036.094-.083.141-.13l.002-.002a4.27 4.27 0 0 0 1.187-2.28q.005-.024.006-.043c0-.024 0-.06.012-.084a1.386 1.386 0 0 1 2.326-.67a1.4 1.4 0 0 1 0 1.964c-.167.18-.382.299-.608.359l-.143.036l-.057.005q-.035.006-.075.007a4.2 4.2 0 0 0-2.183 1.173l-.095.096q-.009.01-.018.024t-.018.024';\nconst PETAL_BOTTOM =\n 'M16.008 18.453l.024.024l.024.018q.015.009.024.018l.096.096a4.25 4.25 0 0 1 1.169 2.19q0 .04.006.076q.005.03.006.057l.035.143c.06.228.18.443.358.611c.537.539 1.42.539 1.957 0a1.4 1.4 0 0 0 0-1.964a1.4 1.4 0 0 0-.668-.371c-.024-.012-.06-.012-.084-.012q-.018 0-.041-.006l-.042-.006a4.25 4.25 0 0 1-2.231-1.185a1.4 1.4 0 0 1-.131-.144a.323.323 0 0 0-.466 0a.325.325 0 0 0-.036.455';\nconst PETAL_LEFT =\n 'M17.047 14.095l.024-.024a.32.32 0 0 1 .453.035a.326.326 0 0 1 0 .467c-.047.036-.094.083-.141.13l-.002.002a4.27 4.27 0 0 0-1.187 2.281l-.006.042c0 .024 0 .06-.012.084a1.386 1.386 0 0 1-2.326.67a1.4 1.4 0 0 1 0-1.963c.166-.18.381-.3.608-.36l.143-.035q.026 0 .056-.006q.037-.005.075-.006a4.2 4.2 0 0 0 2.183-1.174l.096-.095l.018-.025z';\n\nconst Icon: IconType = memo(({ size = '1em', style, ...rest }) => {\n return (\n <svg\n height={size}\n style={{ flex: 'none', lineHeight: 1, ...style }}\n viewBox=\"0 0 24 24\"\n width={size}\n xmlns=\"http://www.w3.org/2000/svg\"\n {...rest}\n >\n <title>{TITLE}</title>\n <path d={BUBBLE} fill=\"#0082EF\" />\n <path d={PETAL_TOP} fill=\"#2DBC00\" />\n <path d={PETAL_RIGHT} fill=\"#0082EF\" />\n <path d={PETAL_BOTTOM} fill=\"#FB6500\" />\n <path d={PETAL_LEFT} fill=\"#FFCC00\" />\n </svg>\n );\n});\n\nexport default Icon;\n"],"mappings":";;;;;AAUA,MAAM,SACJ;AACF,MAAM,YACJ;AACF,MAAM,cACJ;AACF,MAAM,eACJ;AACF,MAAM,aACJ;AAEF,MAAM,OAAiB,MAAM,EAAE,OAAO,OAAO,OAAO,GAAG,WAAW;CAChE,OACE,qBAAC,OAAD;EACE,QAAQ;EACR,OAAO;GAAE,MAAM;GAAQ,YAAY;GAAG,GAAG;EAAM;EAC/C,SAAQ;EACR,OAAO;EACP,OAAM;EACN,GAAI;EANN,UAAA;GAQE,oBAAC,SAAD,EAAA,UAAQ,MAAa,CAAA;GACrB,oBAAC,QAAD;IAAM,GAAG;IAAQ,MAAK;GAAW,CAAA;GACjC,oBAAC,QAAD;IAAM,GAAG;IAAW,MAAK;GAAW,CAAA;GACpC,oBAAC,QAAD;IAAM,GAAG;IAAa,MAAK;GAAW,CAAA;GACtC,oBAAC,QAAD;IAAM,GAAG;IAAc,MAAK;GAAW,CAAA;GACvC,oBAAC,QAAD;IAAM,GAAG;IAAY,MAAK;GAAW,CAAA;EAClC;;AAET,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { IconType } from "@lobehub/icons";
2
+ declare const Icon: IconType;
3
+ export { Icon as default };
@@ -0,0 +1,24 @@
1
+ "use client";
2
+ import { TITLE } from "../style.mjs";
3
+ import { memo } from "react";
4
+ import { jsx, jsxs } from "react/jsx-runtime";
5
+ // src/icons/WeCom/components/Mono.tsx
6
+ const Icon = memo(({ size = "1em", style, ...rest }) => {
7
+ return /* @__PURE__ */ jsxs("svg", {
8
+ fill: "currentColor",
9
+ height: size,
10
+ style: {
11
+ flex: "none",
12
+ lineHeight: 1,
13
+ ...style
14
+ },
15
+ viewBox: "0 0 24 24",
16
+ width: size,
17
+ xmlns: "http://www.w3.org/2000/svg",
18
+ ...rest,
19
+ children: [/* @__PURE__ */ jsx("title", { children: TITLE }), /* @__PURE__ */ jsx("path", { d: "m17.326 8.158l-.003-.007a6.6 6.6 0 0 0-1.178-1.674c-1.266-1.307-3.067-2.19-5.102-2.417a9.3 9.3 0 0 0-2.124 0h-.001c-2.061.228-3.882 1.107-5.14 2.405a6.7 6.7 0 0 0-1.194 1.682A5.7 5.7 0 0 0 2 10.657c0 1.106.332 2.218.988 3.201l.006.01c.391.594 1.092 1.39 1.637 1.83l.983.793l-.208.875l.527-.267l.708-.358l.761.225c.467.137.955.227 1.517.29h.005q.515.06 1.026.059c.355 0 .724-.02 1.095-.06a9 9 0 0 0 1.346-.258c.095.7.43 1.337.932 1.81c-.658.208-1.352.358-2.061.436c-.442.048-.883.072-1.312.072q-.627 0-1.253-.072a10.7 10.7 0 0 1-1.861-.36l-2.84 1.438s-.29.131-.44.131c-.418 0-.702-.285-.702-.704c0-.252.067-.598.128-.84l.394-1.653c-.728-.586-1.563-1.544-2.052-2.287A7.76 7.76 0 0 1 0 10.658a7.7 7.7 0 0 1 .787-3.39a8.7 8.7 0 0 1 1.551-2.19c1.61-1.665 3.878-2.73 6.359-3.006a11.3 11.3 0 0 1 2.565 0c2.47.275 4.712 1.353 6.323 3.017a8.6 8.6 0 0 1 1.539 2.192c.466.945.769 1.937.769 2.978a3.06 3.06 0 0 0-2-.005c-.001-.644-.189-1.329-.564-2.09zm4.125 6.977l-.024-.024l-.024-.018l-.024-.018l-.096-.095a4.24 4.24 0 0 1-1.169-2.192q0-.038-.006-.075l-.006-.056l-.035-.144a1.3 1.3 0 0 0-.358-.61a1.386 1.386 0 0 0-1.957 0a1.4 1.4 0 0 0 0 1.963c.191.191.418.311.668.371c.024.012.06.012.084.012q.019 0 .041.006q.023.005.042.006a4.24 4.24 0 0 1 2.231 1.186c.048.048.096.095.131.143a.323.323 0 0 0 .466 0a.35.35 0 0 0 .036-.455m-1.05 4.37l-.025.025c-.119.096-.31.096-.453-.036a.326.326 0 0 1 0-.467c.047-.036.094-.083.141-.13l.002-.002a4.27 4.27 0 0 0 1.187-2.28q.005-.024.006-.043c0-.024 0-.06.012-.084a1.386 1.386 0 0 1 2.326-.67a1.4 1.4 0 0 1 0 1.964c-.167.18-.382.299-.608.359l-.143.036l-.057.005q-.035.006-.075.007a4.2 4.2 0 0 0-2.183 1.173l-.095.096q-.009.01-.018.024t-.018.024m-4.392-1.053l.024.024l.024.018q.015.009.024.018l.096.096a4.25 4.25 0 0 1 1.169 2.19q0 .04.006.076q.005.03.006.057l.035.143c.06.228.18.443.358.611c.537.539 1.42.539 1.957 0a1.4 1.4 0 0 0 0-1.964a1.4 1.4 0 0 0-.668-.371c-.024-.012-.06-.012-.084-.012q-.018 0-.041-.006l-.042-.006a4.25 4.25 0 0 1-2.231-1.185a1.4 1.4 0 0 1-.131-.144a.323.323 0 0 0-.466 0a.325.325 0 0 0-.036.455m1.039-4.358l.024-.024a.32.32 0 0 1 .453.035a.326.326 0 0 1 0 .467c-.047.036-.094.083-.141.13l-.002.002a4.27 4.27 0 0 0-1.187 2.281l-.006.042c0 .024 0 .06-.012.084a1.386 1.386 0 0 1-2.326.67a1.4 1.4 0 0 1 0-1.963c.166-.18.381-.3.608-.36l.143-.035q.026 0 .056-.006q.037-.005.075-.006a4.2 4.2 0 0 0 2.183-1.174l.096-.095l.018-.025z" })]
20
+ });
21
+ });
22
+ export { Icon as default };
23
+
24
+ //# sourceMappingURL=Mono.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Mono.mjs","names":[],"sources":["../../../../src/icons/WeCom/components/Mono.tsx"],"sourcesContent":["'use client';\n\nimport type { IconType } from '@lobehub/icons';\nimport { memo } from 'react';\n\nimport { TITLE } from '../style';\n\n// Glyph from TDesign Icons' `logo-wecom` (MIT); notice in THIRD_PARTY_NOTICES.md.\n\nconst Icon: IconType = memo(({ size = '1em', style, ...rest }) => {\n return (\n <svg\n fill=\"currentColor\"\n height={size}\n style={{ flex: 'none', lineHeight: 1, ...style }}\n viewBox=\"0 0 24 24\"\n width={size}\n xmlns=\"http://www.w3.org/2000/svg\"\n {...rest}\n >\n <title>{TITLE}</title>\n <path d=\"m17.326 8.158l-.003-.007a6.6 6.6 0 0 0-1.178-1.674c-1.266-1.307-3.067-2.19-5.102-2.417a9.3 9.3 0 0 0-2.124 0h-.001c-2.061.228-3.882 1.107-5.14 2.405a6.7 6.7 0 0 0-1.194 1.682A5.7 5.7 0 0 0 2 10.657c0 1.106.332 2.218.988 3.201l.006.01c.391.594 1.092 1.39 1.637 1.83l.983.793l-.208.875l.527-.267l.708-.358l.761.225c.467.137.955.227 1.517.29h.005q.515.06 1.026.059c.355 0 .724-.02 1.095-.06a9 9 0 0 0 1.346-.258c.095.7.43 1.337.932 1.81c-.658.208-1.352.358-2.061.436c-.442.048-.883.072-1.312.072q-.627 0-1.253-.072a10.7 10.7 0 0 1-1.861-.36l-2.84 1.438s-.29.131-.44.131c-.418 0-.702-.285-.702-.704c0-.252.067-.598.128-.84l.394-1.653c-.728-.586-1.563-1.544-2.052-2.287A7.76 7.76 0 0 1 0 10.658a7.7 7.7 0 0 1 .787-3.39a8.7 8.7 0 0 1 1.551-2.19c1.61-1.665 3.878-2.73 6.359-3.006a11.3 11.3 0 0 1 2.565 0c2.47.275 4.712 1.353 6.323 3.017a8.6 8.6 0 0 1 1.539 2.192c.466.945.769 1.937.769 2.978a3.06 3.06 0 0 0-2-.005c-.001-.644-.189-1.329-.564-2.09zm4.125 6.977l-.024-.024l-.024-.018l-.024-.018l-.096-.095a4.24 4.24 0 0 1-1.169-2.192q0-.038-.006-.075l-.006-.056l-.035-.144a1.3 1.3 0 0 0-.358-.61a1.386 1.386 0 0 0-1.957 0a1.4 1.4 0 0 0 0 1.963c.191.191.418.311.668.371c.024.012.06.012.084.012q.019 0 .041.006q.023.005.042.006a4.24 4.24 0 0 1 2.231 1.186c.048.048.096.095.131.143a.323.323 0 0 0 .466 0a.35.35 0 0 0 .036-.455m-1.05 4.37l-.025.025c-.119.096-.31.096-.453-.036a.326.326 0 0 1 0-.467c.047-.036.094-.083.141-.13l.002-.002a4.27 4.27 0 0 0 1.187-2.28q.005-.024.006-.043c0-.024 0-.06.012-.084a1.386 1.386 0 0 1 2.326-.67a1.4 1.4 0 0 1 0 1.964c-.167.18-.382.299-.608.359l-.143.036l-.057.005q-.035.006-.075.007a4.2 4.2 0 0 0-2.183 1.173l-.095.096q-.009.01-.018.024t-.018.024m-4.392-1.053l.024.024l.024.018q.015.009.024.018l.096.096a4.25 4.25 0 0 1 1.169 2.19q0 .04.006.076q.005.03.006.057l.035.143c.06.228.18.443.358.611c.537.539 1.42.539 1.957 0a1.4 1.4 0 0 0 0-1.964a1.4 1.4 0 0 0-.668-.371c-.024-.012-.06-.012-.084-.012q-.018 0-.041-.006l-.042-.006a4.25 4.25 0 0 1-2.231-1.185a1.4 1.4 0 0 1-.131-.144a.323.323 0 0 0-.466 0a.325.325 0 0 0-.036.455m1.039-4.358l.024-.024a.32.32 0 0 1 .453.035a.326.326 0 0 1 0 .467c-.047.036-.094.083-.141.13l-.002.002a4.27 4.27 0 0 0-1.187 2.281l-.006.042c0 .024 0 .06-.012.084a1.386 1.386 0 0 1-2.326.67a1.4 1.4 0 0 1 0-1.963c.166-.18.381-.3.608-.36l.143-.035q.026 0 .056-.006q.037-.005.075-.006a4.2 4.2 0 0 0 2.183-1.174l.096-.095l.018-.025z\" />\n </svg>\n );\n});\n\nexport default Icon;\n"],"mappings":";;;;;AASA,MAAM,OAAiB,MAAM,EAAE,OAAO,OAAO,OAAO,GAAG,WAAW;CAChE,OACE,qBAAC,OAAD;EACE,MAAK;EACL,QAAQ;EACR,OAAO;GAAE,MAAM;GAAQ,YAAY;GAAG,GAAG;EAAM;EAC/C,SAAQ;EACR,OAAO;EACP,OAAM;EACN,GAAI;EAPN,UAAA,CASE,oBAAC,SAAD,EAAA,UAAQ,MAAa,CAAA,GACrB,oBAAC,QAAD,EAAM,GAAE,y0EAA00E,CAAA,CAC/0E;;AAET,CAAC"}
@@ -0,0 +1,11 @@
1
+ import Avatar from "./components/Avatar.mjs";
2
+ import Icon from "./components/Color.mjs";
3
+ import Icon$1 from "./components/Mono.mjs";
4
+ export type CompoundedIcon = typeof Icon$1 & {
5
+ Avatar: typeof Avatar;
6
+ Color: typeof Icon;
7
+ colorPrimary: string;
8
+ title: string;
9
+ };
10
+ declare const Icons: CompoundedIcon;
11
+ export { Icons as default };
@@ -0,0 +1,14 @@
1
+ "use client";
2
+ import Avatar from "./components/Avatar.mjs";
3
+ import Icon from "./components/Color.mjs";
4
+ import Icon$1 from "./components/Mono.mjs";
5
+ import { COLOR_PRIMARY, TITLE } from "./style.mjs";
6
+ // src/icons/WeCom/index.ts
7
+ const Icons = Icon$1;
8
+ Icons.Color = Icon;
9
+ Icons.Avatar = Avatar;
10
+ Icons.colorPrimary = COLOR_PRIMARY;
11
+ Icons.title = TITLE;
12
+ export { Icons as default };
13
+
14
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.mjs","names":["Mono","Color"],"sources":["../../../src/icons/WeCom/index.ts"],"sourcesContent":["'use client';\n\nimport Avatar from './components/Avatar';\nimport Color from './components/Color';\nimport Mono from './components/Mono';\nimport { COLOR_PRIMARY, TITLE } from './style';\n\nexport type CompoundedIcon = typeof Mono & {\n Avatar: typeof Avatar;\n Color: typeof Color;\n colorPrimary: string;\n title: string;\n};\n\nconst Icons = Mono as CompoundedIcon;\nIcons.Color = Color;\nIcons.Avatar = Avatar;\nIcons.colorPrimary = COLOR_PRIMARY;\nIcons.title = TITLE;\nexport default Icons;\n"],"mappings":";;;;;;AAcA,MAAM,QAAQA;AACd,MAAM,QAAQC;AACd,MAAM,SAAS;AACf,MAAM,eAAe;AACrB,MAAM,QAAQ"}
@@ -0,0 +1,6 @@
1
+ // src/icons/WeCom/style.ts
2
+ const TITLE = "WeCom";
3
+ const COLOR_PRIMARY = "#0082EF";
4
+ export { COLOR_PRIMARY, TITLE };
5
+
6
+ //# sourceMappingURL=style.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"style.mjs","names":[],"sources":["../../../src/icons/WeCom/style.ts"],"sourcesContent":["export const TITLE = 'WeCom';\nexport const COLOR_PRIMARY = '#0082EF';\n"],"mappings":";AAAA,MAAa,QAAQ;AACrB,MAAa,gBAAgB"}
@@ -54,7 +54,8 @@ import Icons$15, { CompoundedIcon as CompoundedIcon$15 } from "./QQ/index.mjs";
54
54
  import Icons$16, { CompoundedIcon as CompoundedIcon$16 } from "./Slack/index.mjs";
55
55
  import Icons$17, { CompoundedIcon as CompoundedIcon$17 } from "./Telegram/index.mjs";
56
56
  import Icons$18, { CompoundedIcon as CompoundedIcon$18 } from "./WeChat/index.mjs";
57
- import Icons$19, { CompoundedIcon as CompoundedIcon$19 } from "./WhatsApp/index.mjs";
58
- import Icons$20, { CompoundedIcon as CompoundedIcon$20 } from "./Zitadel/index.mjs";
57
+ import Icons$19, { CompoundedIcon as CompoundedIcon$19 } from "./WeCom/index.mjs";
58
+ import Icons$20, { CompoundedIcon as CompoundedIcon$20 } from "./WhatsApp/index.mjs";
59
+ import Icons$21, { CompoundedIcon as CompoundedIcon$21 } from "./Zitadel/index.mjs";
59
60
  import { Cloudflare, CloudflareProps, Github, GithubProps } from "@lobehub/icons";
60
- export { AndroidIcon, AppleIcon, AppstoreIcon, Icons as Auth0, type CompoundedIcon as Auth0Props, Icons$1 as Authelia, type CompoundedIcon$1 as AutheliaProps, Icons$2 as Authentik, type CompoundedIcon$2 as AuthentikProps, BotPromptIcon, BrainOffIcon, Icons$3 as Casdoor, type CompoundedIcon$3 as CasdoorProps, ChromeIcon, Icons$4 as Clerk, type CompoundedIcon$4 as ClerkProps, Cloudflare, type CloudflareProps, CodepenIcon, CodesandboxIcon, CreateBotIcon, Icons$5 as DingTalk, type CompoundedIcon$5 as DingTalkProps, Icons$6 as Discord, DiscordIcon, type CompoundedIcon$6 as DiscordProps, FacebookIcon, FigmaIcon, FramerIcon, Github, GithubIcon, type GithubProps, GitlabIcon, GlobeOffIcon, Icons$7 as GoogleChat, type CompoundedIcon$7 as GoogleChatProps, GooglePlayIcon, GroupBotIcon, GroupBotSquareIcon, Icons$8 as IMessage, type CompoundedIcon$8 as IMessageProps, InstagramIcon, Icons$9 as Lark, type CompoundedIcon$9 as LarkProps, LeftClickIcon, LeftDoubleClickIcon, Icons$10 as Line, type CompoundedIcon$10 as LineProps, LinkedinIcon, Icons$11 as Logto, type CompoundedIcon$11 as LogtoProps, McpIcon, Icons$12 as MicrosoftEntra, type CompoundedIcon$12 as MicrosoftEntraProps, Icons$13 as MicrosoftTeams, type CompoundedIcon$13 as MicrosoftTeamsProps, Icons$14 as NextAuth, type CompoundedIcon$14 as NextAuthProps, NotionIcon, PocketIcon, ProviderIcon, Icons$15 as QQ, type CompoundedIcon$15 as QQProps, RailSymbolIcon, RedditIcon, RightClickIcon, RightDoubleClickIcon, ShapesUploadIcon, SkillsIcon, Icons$16 as Slack, SlackIcon, type CompoundedIcon$16 as SlackProps, Icons$17 as Telegram, type CompoundedIcon$17 as TelegramProps, ThinkIcon, TreeDownRightIcon, TreeUpDownRightIcon, Icons$18 as WeChat, type CompoundedIcon$18 as WeChatProps, Icons$19 as WhatsApp, type CompoundedIcon$19 as WhatsAppProps, Icons$20 as Zitadel, type CompoundedIcon$20 as ZitadelProps };
61
+ export { AndroidIcon, AppleIcon, AppstoreIcon, Icons as Auth0, type CompoundedIcon as Auth0Props, Icons$1 as Authelia, type CompoundedIcon$1 as AutheliaProps, Icons$2 as Authentik, type CompoundedIcon$2 as AuthentikProps, BotPromptIcon, BrainOffIcon, Icons$3 as Casdoor, type CompoundedIcon$3 as CasdoorProps, ChromeIcon, Icons$4 as Clerk, type CompoundedIcon$4 as ClerkProps, Cloudflare, type CloudflareProps, CodepenIcon, CodesandboxIcon, CreateBotIcon, Icons$5 as DingTalk, type CompoundedIcon$5 as DingTalkProps, Icons$6 as Discord, DiscordIcon, type CompoundedIcon$6 as DiscordProps, FacebookIcon, FigmaIcon, FramerIcon, Github, GithubIcon, type GithubProps, GitlabIcon, GlobeOffIcon, Icons$7 as GoogleChat, type CompoundedIcon$7 as GoogleChatProps, GooglePlayIcon, GroupBotIcon, GroupBotSquareIcon, Icons$8 as IMessage, type CompoundedIcon$8 as IMessageProps, InstagramIcon, Icons$9 as Lark, type CompoundedIcon$9 as LarkProps, LeftClickIcon, LeftDoubleClickIcon, Icons$10 as Line, type CompoundedIcon$10 as LineProps, LinkedinIcon, Icons$11 as Logto, type CompoundedIcon$11 as LogtoProps, McpIcon, Icons$12 as MicrosoftEntra, type CompoundedIcon$12 as MicrosoftEntraProps, Icons$13 as MicrosoftTeams, type CompoundedIcon$13 as MicrosoftTeamsProps, Icons$14 as NextAuth, type CompoundedIcon$14 as NextAuthProps, NotionIcon, PocketIcon, ProviderIcon, Icons$15 as QQ, type CompoundedIcon$15 as QQProps, RailSymbolIcon, RedditIcon, RightClickIcon, RightDoubleClickIcon, ShapesUploadIcon, SkillsIcon, Icons$16 as Slack, SlackIcon, type CompoundedIcon$16 as SlackProps, Icons$17 as Telegram, type CompoundedIcon$17 as TelegramProps, ThinkIcon, TreeDownRightIcon, TreeUpDownRightIcon, Icons$18 as WeChat, type CompoundedIcon$18 as WeChatProps, Icons$19 as WeCom, type CompoundedIcon$19 as WeComProps, Icons$20 as WhatsApp, type CompoundedIcon$20 as WhatsAppProps, Icons$21 as Zitadel, type CompoundedIcon$21 as ZitadelProps };
@@ -54,7 +54,8 @@ import Icons$15 from "./QQ/index.mjs";
54
54
  import Icons$16 from "./Slack/index.mjs";
55
55
  import Icons$17 from "./Telegram/index.mjs";
56
56
  import Icons$18 from "./WeChat/index.mjs";
57
- import Icons$19 from "./WhatsApp/index.mjs";
58
- import Icons$20 from "./Zitadel/index.mjs";
57
+ import Icons$19 from "./WeCom/index.mjs";
58
+ import Icons$20 from "./WhatsApp/index.mjs";
59
+ import Icons$21 from "./Zitadel/index.mjs";
59
60
  import { Cloudflare, Github } from "@lobehub/icons";
60
- export { AndroidIcon, AppleIcon, AppstoreIcon, Icons as Auth0, Icons$1 as Authelia, Icons$2 as Authentik, BotPromptIcon, BrainOffIcon, Icons$3 as Casdoor, ChromeIcon, Icons$4 as Clerk, Cloudflare, CodepenIcon, CodesandboxIcon, CreateBotIcon, Icons$5 as DingTalk, Icons$6 as Discord, DiscordIcon, FacebookIcon, FigmaIcon, FramerIcon, Github, GithubIcon, GitlabIcon, GlobeOffIcon, Icons$7 as GoogleChat, GooglePlayIcon, GroupBotIcon, GroupBotSquareIcon, Icons$8 as IMessage, InstagramIcon, Icons$9 as Lark, LeftClickIcon, LeftDoubleClickIcon, Icons$10 as Line, LinkedinIcon, Icons$11 as Logto, McpIcon, Icons$12 as MicrosoftEntra, Icons$13 as MicrosoftTeams, Icons$14 as NextAuth, NotionIcon, PocketIcon, ProviderIcon, Icons$15 as QQ, RailSymbolIcon, RedditIcon, RightClickIcon, RightDoubleClickIcon, ShapesUploadIcon, SkillsIcon, Icons$16 as Slack, SlackIcon, Icons$17 as Telegram, ThinkIcon, TreeDownRightIcon, TreeUpDownRightIcon, Icons$18 as WeChat, Icons$19 as WhatsApp, Icons$20 as Zitadel };
61
+ export { AndroidIcon, AppleIcon, AppstoreIcon, Icons as Auth0, Icons$1 as Authelia, Icons$2 as Authentik, BotPromptIcon, BrainOffIcon, Icons$3 as Casdoor, ChromeIcon, Icons$4 as Clerk, Cloudflare, CodepenIcon, CodesandboxIcon, CreateBotIcon, Icons$5 as DingTalk, Icons$6 as Discord, DiscordIcon, FacebookIcon, FigmaIcon, FramerIcon, Github, GithubIcon, GitlabIcon, GlobeOffIcon, Icons$7 as GoogleChat, GooglePlayIcon, GroupBotIcon, GroupBotSquareIcon, Icons$8 as IMessage, InstagramIcon, Icons$9 as Lark, LeftClickIcon, LeftDoubleClickIcon, Icons$10 as Line, LinkedinIcon, Icons$11 as Logto, McpIcon, Icons$12 as MicrosoftEntra, Icons$13 as MicrosoftTeams, Icons$14 as NextAuth, NotionIcon, PocketIcon, ProviderIcon, Icons$15 as QQ, RailSymbolIcon, RedditIcon, RightClickIcon, RightDoubleClickIcon, ShapesUploadIcon, SkillsIcon, Icons$16 as Slack, SlackIcon, Icons$17 as Telegram, ThinkIcon, TreeDownRightIcon, TreeUpDownRightIcon, Icons$18 as WeChat, Icons$19 as WeCom, Icons$20 as WhatsApp, Icons$21 as Zitadel };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lobehub/ui",
3
- "version": "6.15.4",
3
+ "version": "6.16.1",
4
4
  "description": "Lobe UI is an open-source UI component library for building AIGC web apps",
5
5
  "keywords": [
6
6
  "lobehub",
@@ -116,7 +116,8 @@
116
116
  "module": "es/index.mjs",
117
117
  "types": "es/index.d.mts",
118
118
  "files": [
119
- "es"
119
+ "es",
120
+ "THIRD_PARTY_NOTICES.md"
120
121
  ],
121
122
  "scripts": {
122
123
  "build": "tsdown && tsx ./scripts/buildThemeCss.ts && tsx ./scripts/publishStylexTokens.ts && tsx ./scripts/checkStylexBuild.ts && npm run build:packages",