@startupjs-ui/docs 0.2.0-alpha.0 → 0.2.0-alpha.2
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/CHANGELOG.md +16 -0
- package/client/clientHelpers/hooks/useLocalStorage.js +2 -2
- package/client/components/Props/Constructor/TypeCell/index.js +1 -1
- package/client/components/Props/Constructor/ValueCell/index.js +1 -1
- package/client/components/Props/Constructor/index.js +2 -2
- package/package.json +11 -11
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,22 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [0.2.0-alpha.2](https://github.com/startupjs/startupjs-ui/compare/v0.2.0-alpha.1...v0.2.0-alpha.2) (2026-04-20)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @startupjs-ui/docs
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [0.2.0-alpha.1](https://github.com/startupjs/startupjs-ui/compare/v0.2.0-alpha.0...v0.2.0-alpha.1) (2026-04-10)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @startupjs-ui/docs
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
6
22
|
# [0.2.0-alpha.0](https://github.com/startupjs/startupjs-ui/compare/v0.1.22...v0.2.0-alpha.0) (2026-03-27)
|
|
7
23
|
|
|
8
24
|
**Note:** Version bump only for package @startupjs-ui/docs
|
|
@@ -11,7 +11,7 @@ export default function useLocalStorage (key, initialValue) {
|
|
|
11
11
|
const item = window.localStorage.getItem(key)
|
|
12
12
|
// Parse stored json or if none return initialValue
|
|
13
13
|
return item ? JSON.parse(item) : initialValue
|
|
14
|
-
} catch
|
|
14
|
+
} catch {
|
|
15
15
|
// If error also return initialValue
|
|
16
16
|
return initialValue
|
|
17
17
|
}
|
|
@@ -28,7 +28,7 @@ export default function useLocalStorage (key, initialValue) {
|
|
|
28
28
|
setStoredValue(valueToStore)
|
|
29
29
|
// Save to local storage
|
|
30
30
|
window.localStorage.setItem(key, JSON.stringify(valueToStore))
|
|
31
|
-
} catch
|
|
31
|
+
} catch {
|
|
32
32
|
// A more advanced implementation would handle the error case
|
|
33
33
|
}
|
|
34
34
|
}
|
|
@@ -30,7 +30,7 @@ export default observer(themed(function TypeCell ({ possibleValues, theme, type
|
|
|
30
30
|
onPress=toggleList
|
|
31
31
|
)= $collapsed.get() ? 'More...' : 'Less'
|
|
32
32
|
`
|
|
33
|
-
}, [$collapsed, possibleValues, toggleList])
|
|
33
|
+
}, [$collapsed, possibleValues, toggleList])
|
|
34
34
|
|
|
35
35
|
return pug`
|
|
36
36
|
if type === 'oneOf'
|
|
@@ -74,10 +74,10 @@ export default observer(themed(function Constructor ({
|
|
|
74
74
|
else
|
|
75
75
|
| (tap to expand)
|
|
76
76
|
if $showExtends.get()
|
|
77
|
-
each entry
|
|
77
|
+
each entry in entries
|
|
78
78
|
if entry.extendedFrom === extendedFrom
|
|
79
79
|
= renderEntry(entry)
|
|
80
|
-
each entry
|
|
80
|
+
each entry in entries
|
|
81
81
|
if !entry.extendedFrom
|
|
82
82
|
= renderEntry(entry)
|
|
83
83
|
`
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@startupjs-ui/docs",
|
|
3
3
|
"description": "MDX documentation generator",
|
|
4
|
-
"version": "0.2.0-alpha.
|
|
4
|
+
"version": "0.2.0-alpha.2",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -9,15 +9,15 @@
|
|
|
9
9
|
"main": "index.js",
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"@fortawesome/free-solid-svg-icons": "^7.1.0",
|
|
12
|
-
"@startupjs-ui/alert": "^0.2.0-alpha.
|
|
13
|
-
"@startupjs-ui/br": "^0.2.0-alpha.
|
|
14
|
-
"@startupjs-ui/button": "^0.2.0-alpha.
|
|
15
|
-
"@startupjs-ui/core": "^0.2.0-alpha.
|
|
16
|
-
"@startupjs-ui/div": "^0.2.0-alpha.
|
|
17
|
-
"@startupjs-ui/input": "^0.2.0-alpha.
|
|
18
|
-
"@startupjs-ui/scroll-view": "^0.2.0-alpha.
|
|
19
|
-
"@startupjs-ui/span": "^0.2.0-alpha.
|
|
20
|
-
"@startupjs-ui/tag": "^0.2.0-alpha.
|
|
12
|
+
"@startupjs-ui/alert": "^0.2.0-alpha.1",
|
|
13
|
+
"@startupjs-ui/br": "^0.2.0-alpha.1",
|
|
14
|
+
"@startupjs-ui/button": "^0.2.0-alpha.2",
|
|
15
|
+
"@startupjs-ui/core": "^0.2.0-alpha.1",
|
|
16
|
+
"@startupjs-ui/div": "^0.2.0-alpha.1",
|
|
17
|
+
"@startupjs-ui/input": "^0.2.0-alpha.2",
|
|
18
|
+
"@startupjs-ui/scroll-view": "^0.2.0-alpha.1",
|
|
19
|
+
"@startupjs-ui/span": "^0.2.0-alpha.1",
|
|
20
|
+
"@startupjs-ui/tag": "^0.2.0-alpha.1",
|
|
21
21
|
"lodash": "^4.17.20"
|
|
22
22
|
},
|
|
23
23
|
"peerDependencies": {
|
|
@@ -25,5 +25,5 @@
|
|
|
25
25
|
"react-native": "*",
|
|
26
26
|
"startupjs": "*"
|
|
27
27
|
},
|
|
28
|
-
"gitHead": "
|
|
28
|
+
"gitHead": "8a6ae7871e4c82f3e24d5911a9df42338e057e7a"
|
|
29
29
|
}
|