@ttoss/theme 1.5.4 → 1.5.6
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/dist/esm/index.js +5 -2
- package/dist/esm/themes/Bruttal/Bruttal.js +1 -1
- package/dist/index.d.mts +6 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +5 -0
- package/dist/themes/Bruttal/Bruttal.d.mts +7 -0
- package/package.json +5 -5
- package/src/index.ts +1 -0
- /package/dist/esm/{chunk-WSBABWXH.js → chunk-6EO7BI4R.js} +0 -0
package/dist/esm/index.js
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
/** Powered by @ttoss/config. https://ttoss.dev/docs/modules/packages/config/ */
|
|
2
|
-
import { BruttalTheme } from "./chunk-
|
|
2
|
+
import { BruttalTheme } from "./chunk-6EO7BI4R.js";
|
|
3
3
|
|
|
4
4
|
// src/createTheme.ts
|
|
5
5
|
import deepmerge from "deepmerge";
|
|
6
6
|
var createTheme = theme => {
|
|
7
7
|
return deepmerge(BruttalTheme, theme);
|
|
8
8
|
};
|
|
9
|
-
|
|
9
|
+
|
|
10
|
+
// src/index.ts
|
|
11
|
+
import { addIcon } from "@iconify-icon/react";
|
|
12
|
+
export { addIcon, createTheme };
|
package/dist/index.d.mts
ADDED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -88,6 +88,7 @@ var require_three_dots_loading = __commonJS({
|
|
|
88
88
|
// src/index.ts
|
|
89
89
|
var src_exports = {};
|
|
90
90
|
__export(src_exports, {
|
|
91
|
+
addIcon: () => import_react2.addIcon,
|
|
91
92
|
createTheme: () => createTheme
|
|
92
93
|
});
|
|
93
94
|
module.exports = __toCommonJS(src_exports);
|
|
@@ -924,7 +925,11 @@ var import_deepmerge = __toESM(require("deepmerge"));
|
|
|
924
925
|
var createTheme = theme => {
|
|
925
926
|
return (0, import_deepmerge.default)(BruttalTheme, theme);
|
|
926
927
|
};
|
|
928
|
+
|
|
929
|
+
// src/index.ts
|
|
930
|
+
var import_react2 = require("@iconify-icon/react");
|
|
927
931
|
// Annotate the CommonJS export names for ESM import in node:
|
|
928
932
|
0 && (module.exports = {
|
|
933
|
+
addIcon,
|
|
929
934
|
createTheme
|
|
930
935
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ttoss/theme",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.6",
|
|
4
4
|
"description": "Theme for packages.",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"author": "ttoss",
|
|
@@ -40,11 +40,11 @@
|
|
|
40
40
|
"@iconify/icons-eos-icons": "^1.2.6",
|
|
41
41
|
"@iconify/icons-mdi": "^1.2.46",
|
|
42
42
|
"@iconify/types": "^2.0.0",
|
|
43
|
-
"jest": "^29.
|
|
43
|
+
"jest": "^29.6.1",
|
|
44
44
|
"theme-ui": "^0.16.0",
|
|
45
|
-
"tsup": "^7.
|
|
46
|
-
"@ttoss/config": "^1.30.
|
|
47
|
-
"@ttoss/test-utils": "^1.23.
|
|
45
|
+
"tsup": "^7.1.0",
|
|
46
|
+
"@ttoss/config": "^1.30.5",
|
|
47
|
+
"@ttoss/test-utils": "^1.23.6"
|
|
48
48
|
},
|
|
49
49
|
"keywords": [],
|
|
50
50
|
"publishConfig": {
|
package/src/index.ts
CHANGED
|
File without changes
|