nicklabs-ui 1.0.36 → 1.0.37
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 +0 -3
- package/dist/index.mjs +2 -6
- package/dist/src/composables/useDisclosure.d.ts +1 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1677,9 +1677,6 @@ import { useDisclosure } from 'nicklabs-ui'
|
|
|
1677
1677
|
|
|
1678
1678
|
// Array destructuring
|
|
1679
1679
|
const [isOpen, open, close] = useDisclosure()
|
|
1680
|
-
|
|
1681
|
-
// Object destructuring
|
|
1682
|
-
const { isOpen, open, close } = useDisclosure()
|
|
1683
1680
|
```
|
|
1684
1681
|
|
|
1685
1682
|
**Usage**
|
package/dist/index.mjs
CHANGED
|
@@ -3496,15 +3496,11 @@ function pa() {
|
|
|
3496
3496
|
function n() {
|
|
3497
3497
|
e.value = !1;
|
|
3498
3498
|
}
|
|
3499
|
-
return
|
|
3499
|
+
return [
|
|
3500
3500
|
e,
|
|
3501
3501
|
t,
|
|
3502
3502
|
n
|
|
3503
|
-
]
|
|
3504
|
-
isOpen: e,
|
|
3505
|
-
open: t,
|
|
3506
|
-
close: n
|
|
3507
|
-
});
|
|
3503
|
+
];
|
|
3508
3504
|
}
|
|
3509
3505
|
//#endregion
|
|
3510
3506
|
//#region src/index.ts
|
|
@@ -1,5 +1 @@
|
|
|
1
|
-
export declare function useDisclosure():
|
|
2
|
-
isOpen: import("vue").Ref<boolean, boolean>;
|
|
3
|
-
open: () => void;
|
|
4
|
-
close: () => void;
|
|
5
|
-
};
|
|
1
|
+
export declare function useDisclosure(): readonly [import("vue").Ref<boolean, boolean>, () => void, () => void];
|