Compare commits
No commits in common. "v0.1.0-develop.29" and "v0.1.0-develop.28" have entirely different histories.
v0.1.0-dev
...
v0.1.0-dev
|
@ -1,11 +1,3 @@
|
||||||
# [0.1.0-develop.29](https://git.lumeweb.com/LumeWeb/sdk/compare/v0.1.0-develop.28...v0.1.0-develop.29) (2023-10-12)
|
|
||||||
|
|
||||||
|
|
||||||
### Bug Fixes
|
|
||||||
|
|
||||||
* debug ([d77c4c2](https://git.lumeweb.com/LumeWeb/sdk/commit/d77c4c2a605a3ff695c35bd1f22759f830908ddc))
|
|
||||||
* pass props to trigger and add disabled button styling ([cccdfde](https://git.lumeweb.com/LumeWeb/sdk/commit/cccdfdedbbb659106d294cb11c0638920db94783))
|
|
||||||
|
|
||||||
# [0.1.0-develop.28](https://git.lumeweb.com/LumeWeb/sdk/compare/v0.1.0-develop.27...v0.1.0-develop.28) (2023-10-12)
|
# [0.1.0-develop.28](https://git.lumeweb.com/LumeWeb/sdk/compare/v0.1.0-develop.27...v0.1.0-develop.28) (2023-10-12)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
{
|
{
|
||||||
"name": "@lumeweb/sdk",
|
"name": "@lumeweb/sdk",
|
||||||
"version": "0.1.0-develop.29",
|
"version": "0.1.0-develop.28",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "@lumeweb/sdk",
|
"name": "@lumeweb/sdk",
|
||||||
"version": "0.1.0-develop.29",
|
"version": "0.1.0-develop.28",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@lumeweb/kernel-network-registry-client": "0.1.0-develop.10",
|
"@lumeweb/kernel-network-registry-client": "0.1.0-develop.10",
|
||||||
"@lumeweb/libkernel": "0.1.0-develop.65",
|
"@lumeweb/libkernel": "0.1.0-develop.65",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@lumeweb/sdk",
|
"name": "@lumeweb/sdk",
|
||||||
"version": "0.1.0-develop.29",
|
"version": "0.1.0-develop.28",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"main": "lib/index.js",
|
"main": "lib/index.js",
|
||||||
"types": "lib/src/index.d.ts",
|
"types": "lib/src/index.d.ts",
|
||||||
|
|
|
@ -29,24 +29,15 @@ const LumeDashboard = (props: any) => {
|
||||||
setUniqueNetworkTypes(uniqueTypes);
|
setUniqueNetworkTypes(uniqueTypes);
|
||||||
}, [networks]);
|
}, [networks]);
|
||||||
|
|
||||||
const DefaultTrigger = (props: any) => {
|
const DefaultTrigger = (props: any) => (
|
||||||
console.log(props);
|
<LumeDashboardTrigger asChild>
|
||||||
return (
|
<button
|
||||||
<LumeDashboardTrigger asChild {...props}>
|
className="bg-primary text-primary-foreground p-2 px-4 text-sm font-semibold font-mono rounded-md"
|
||||||
<button
|
{...props}>
|
||||||
className={cn(
|
Open Dashboard
|
||||||
"bg-primary text-primary-foreground p-2 px-4 text-sm font-semibold font-mono rounded-md",
|
</button>
|
||||||
{
|
</LumeDashboardTrigger>
|
||||||
"disabled:pointer-events-none disabled:opacity-50":
|
);
|
||||||
props.disabled,
|
|
||||||
},
|
|
||||||
)}
|
|
||||||
{...props}>
|
|
||||||
Open Dashboard
|
|
||||||
</button>
|
|
||||||
</LumeDashboardTrigger>
|
|
||||||
);
|
|
||||||
};
|
|
||||||
const GivenTrigger = React.Children.toArray(
|
const GivenTrigger = React.Children.toArray(
|
||||||
children?.children || (children as any) || [],
|
children?.children || (children as any) || [],
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue