@openpkg-ts/ui 0.1.3 → 0.1.4
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/docskit/index.js +1 -1
- package/package.json +3 -2
package/dist/docskit/index.js
CHANGED
|
@@ -1659,7 +1659,7 @@ function extractFlags(codeblock) {
|
|
|
1659
1659
|
const title = metaWithoutFlags.trim();
|
|
1660
1660
|
return { title, flags: flags.slice(1) };
|
|
1661
1661
|
}
|
|
1662
|
-
// src/hooks/use-
|
|
1662
|
+
// src/hooks/use-local-storage.ts
|
|
1663
1663
|
import React7 from "react";
|
|
1664
1664
|
function useStateOrLocalStorage(key, initialState) {
|
|
1665
1665
|
const [state, setState] = React7.useState(initialState);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openpkg-ts/ui",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"description": "UI primitives and components for OpenPkg documentation",
|
|
5
5
|
"homepage": "https://github.com/ryanwaits/openpkg-ts#readme",
|
|
6
6
|
"repository": {
|
|
@@ -29,7 +29,8 @@
|
|
|
29
29
|
"./lib/utils": {
|
|
30
30
|
"types": "./dist/lib/utils.d.ts",
|
|
31
31
|
"import": "./dist/lib/utils.js"
|
|
32
|
-
}
|
|
32
|
+
},
|
|
33
|
+
"./styles/tokens.css": "./src/styles/tokens.css"
|
|
33
34
|
},
|
|
34
35
|
"scripts": {
|
|
35
36
|
"build": "bunup",
|