@lobehub/ui 1.1.0 → 1.2.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 +6 -3
- package/es/ActionIcon/index.d.ts +19 -6
- package/es/ActionIcon/index.js +18 -47
- package/es/ActionIcon/style.d.ts +3 -0
- package/es/ActionIcon/style.js +10 -0
- package/es/DraggablePanel/index.d.ts +60 -0
- package/es/DraggablePanel/style.js +1 -1
- package/es/Icon/index.d.ts +21 -0
- package/es/Icon/index.js +36 -0
- package/es/Logo/Divider.d.ts +3 -0
- package/es/Logo/Divider.js +20 -0
- package/es/Logo/Logo3D.d.ts +1 -2
- package/es/Logo/LogoFlat.d.ts +1 -2
- package/es/Logo/LogoFlat.js +0 -1
- package/es/Logo/LogoHighContrast.d.ts +1 -2
- package/es/Logo/LogoHighContrast.js +0 -1
- package/es/Logo/LogoText.d.ts +1 -2
- package/es/Logo/index.d.ts +13 -1
- package/es/Logo/index.js +49 -5
- package/es/Logo/style.d.ts +4 -0
- package/es/Logo/style.js +10 -0
- package/es/SideNav/index.d.ts +9 -0
- package/es/StroyBook/index.d.ts +18 -0
- package/es/StroyBook/index.js +40 -0
- package/es/StroyBook/style.d.ts +5 -0
- package/es/StroyBook/style.js +12 -0
- package/es/TabsNav/index.d.ts +22 -0
- package/es/{Template → TabsNav}/index.js +12 -7
- package/es/TabsNav/style.d.ts +3 -0
- package/es/TabsNav/style.js +14 -0
- package/es/ThemeProvider/GlobalStyle.js +1 -1
- package/es/ThemeProvider/index.js +4 -0
- package/es/ThemeSwitch/index.d.ts +27 -0
- package/es/ThemeSwitch/index.js +64 -0
- package/es/index.d.ts +6 -3
- package/es/index.js +5 -2
- package/lib/ActionIcon/index.d.ts +19 -6
- package/lib/ActionIcon/index.js +7 -38
- package/lib/ActionIcon/style.d.ts +3 -0
- package/lib/ActionIcon/style.js +57 -0
- package/lib/DraggablePanel/index.d.ts +60 -0
- package/lib/DraggablePanel/style.js +1 -1
- package/lib/Icon/index.d.ts +21 -0
- package/lib/Icon/index.js +59 -0
- package/lib/Logo/Divider.d.ts +3 -0
- package/lib/Logo/Divider.js +51 -0
- package/lib/Logo/Logo3D.d.ts +1 -2
- package/lib/Logo/LogoFlat.d.ts +1 -2
- package/lib/Logo/LogoFlat.js +1 -1
- package/lib/Logo/LogoHighContrast.d.ts +1 -2
- package/lib/Logo/LogoHighContrast.js +6 -19
- package/lib/Logo/LogoText.d.ts +1 -2
- package/lib/Logo/index.d.ts +13 -1
- package/lib/Logo/index.js +18 -1
- package/lib/Logo/style.d.ts +4 -0
- package/lib/Logo/style.js +41 -0
- package/lib/SideNav/index.d.ts +9 -0
- package/lib/StroyBook/index.d.ts +18 -0
- package/lib/StroyBook/index.js +58 -0
- package/lib/StroyBook/style.d.ts +5 -0
- package/lib/StroyBook/style.js +75 -0
- package/lib/TabsNav/index.d.ts +22 -0
- package/lib/{Template → TabsNav}/index.js +11 -8
- package/lib/TabsNav/style.d.ts +3 -0
- package/lib/TabsNav/style.js +65 -0
- package/lib/ThemeProvider/GlobalStyle.js +7 -3
- package/lib/ThemeProvider/index.js +1 -1
- package/lib/ThemeSwitch/index.d.ts +27 -0
- package/lib/ThemeSwitch/index.js +67 -0
- package/lib/index.d.ts +6 -3
- package/lib/index.js +18 -5
- package/package.json +7 -6
- package/es/Template/index.d.ts +0 -7
- package/lib/Template/index.d.ts +0 -7
package/lib/index.js
CHANGED
|
@@ -31,24 +31,37 @@ var src_exports = {};
|
|
|
31
31
|
__export(src_exports, {
|
|
32
32
|
ActionIcon: () => import_ActionIcon.default,
|
|
33
33
|
DraggablePanel: () => import_DraggablePanel.default,
|
|
34
|
+
Icon: () => import_Icon.default,
|
|
34
35
|
Logo: () => import_Logo.default,
|
|
35
36
|
SideNav: () => import_SideNav.default,
|
|
36
|
-
|
|
37
|
-
|
|
37
|
+
StroyBook: () => import_StroyBook.default,
|
|
38
|
+
TabsNav: () => import_TabsNav.default,
|
|
39
|
+
ThemeProvider: () => import_ThemeProvider.default,
|
|
40
|
+
ThemeSwitch: () => import_ThemeSwitch.default,
|
|
41
|
+
useControls: () => import_StroyBook.useControls,
|
|
42
|
+
useCreateStore: () => import_StroyBook.useCreateStore
|
|
38
43
|
});
|
|
39
44
|
module.exports = __toCommonJS(src_exports);
|
|
40
45
|
var import_ActionIcon = __toESM(require("./ActionIcon"));
|
|
41
46
|
var import_DraggablePanel = __toESM(require("./DraggablePanel"));
|
|
47
|
+
var import_Icon = __toESM(require("./Icon"));
|
|
42
48
|
var import_Logo = __toESM(require("./Logo"));
|
|
43
49
|
var import_SideNav = __toESM(require("./SideNav"));
|
|
44
|
-
var
|
|
50
|
+
var import_StroyBook = __toESM(require("./StroyBook"));
|
|
51
|
+
var import_TabsNav = __toESM(require("./TabsNav"));
|
|
45
52
|
var import_ThemeProvider = __toESM(require("./ThemeProvider"));
|
|
53
|
+
var import_ThemeSwitch = __toESM(require("./ThemeSwitch"));
|
|
46
54
|
// Annotate the CommonJS export names for ESM import in node:
|
|
47
55
|
0 && (module.exports = {
|
|
48
56
|
ActionIcon,
|
|
49
57
|
DraggablePanel,
|
|
58
|
+
Icon,
|
|
50
59
|
Logo,
|
|
51
60
|
SideNav,
|
|
52
|
-
|
|
53
|
-
|
|
61
|
+
StroyBook,
|
|
62
|
+
TabsNav,
|
|
63
|
+
ThemeProvider,
|
|
64
|
+
ThemeSwitch,
|
|
65
|
+
useControls,
|
|
66
|
+
useCreateStore
|
|
54
67
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lobehub/ui",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2.0",
|
|
4
4
|
"description": "ui kit for lobehub",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"npm",
|
|
@@ -65,6 +65,7 @@
|
|
|
65
65
|
"antd-style": "^3",
|
|
66
66
|
"chroma-js": "^2",
|
|
67
67
|
"copy-to-clipboard": "^3",
|
|
68
|
+
"leva": "^0.9.34",
|
|
68
69
|
"lodash": "^4",
|
|
69
70
|
"lucide-react": "latest",
|
|
70
71
|
"polished": "^4",
|
|
@@ -77,7 +78,7 @@
|
|
|
77
78
|
},
|
|
78
79
|
"devDependencies": {
|
|
79
80
|
"@commitlint/cli": "^17",
|
|
80
|
-
"@testing-library/react": "^
|
|
81
|
+
"@testing-library/react": "^14",
|
|
81
82
|
"@types/chroma-js": "^2",
|
|
82
83
|
"@types/lodash": "^4",
|
|
83
84
|
"@types/react": "^18",
|
|
@@ -87,14 +88,14 @@
|
|
|
87
88
|
"antd": "^5",
|
|
88
89
|
"commitlint": "^17",
|
|
89
90
|
"commitlint-config-gitmoji": "^2",
|
|
90
|
-
"concurrently": "^
|
|
91
|
+
"concurrently": "^8",
|
|
91
92
|
"cross-env": "^7",
|
|
92
93
|
"dumi": "^2",
|
|
93
94
|
"dumi-assets-types": "^1",
|
|
94
95
|
"dumi-theme-lobehub": "latest",
|
|
95
96
|
"eslint": "^8",
|
|
96
97
|
"eslint-import-resolver-alias": "^1",
|
|
97
|
-
"eslint-import-resolver-typescript": "^
|
|
98
|
+
"eslint-import-resolver-typescript": "^3",
|
|
98
99
|
"father": "^4",
|
|
99
100
|
"husky": "^8",
|
|
100
101
|
"jsdom": "^22",
|
|
@@ -104,9 +105,9 @@
|
|
|
104
105
|
"prettier-plugin-packagejson": "^2",
|
|
105
106
|
"react": "^18",
|
|
106
107
|
"react-dom": "^18",
|
|
107
|
-
"semantic-release": "^
|
|
108
|
+
"semantic-release": "^21",
|
|
108
109
|
"semantic-release-config-gitmoji": "^1",
|
|
109
|
-
"stylelint": "^
|
|
110
|
+
"stylelint": "^15",
|
|
110
111
|
"typescript": "^5",
|
|
111
112
|
"vitest": "latest"
|
|
112
113
|
},
|
package/es/Template/index.d.ts
DELETED
package/lib/Template/index.d.ts
DELETED