lithesome 0.23.1 → 0.23.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.
@@ -13,7 +13,7 @@
13
13
  children,
14
14
  custom,
15
15
  ...props
16
- }: ModalContentProps<typeof ctx.props, ModalContentState> = $props();
16
+ }: ModalContentProps<typeof ctx.props> = $props();
17
17
 
18
18
  let ctx = useModalContent({
19
19
  id: stateValue(() => id),
@@ -1,3 +1,12 @@
1
- declare const ModalContent: import("svelte").Component<any, {}, "ref">;
1
+ import type { ModalContentProps } from '../../types/index.js';
2
+ declare const ModalContent: import("svelte").Component<ModalContentProps<{
3
+ readonly id: string;
4
+ readonly "data-modal-content": "";
5
+ readonly role: "dialog";
6
+ readonly 'aria-modal': "true";
7
+ readonly tabindex: -1;
8
+ readonly 'aria-describedby': string | undefined;
9
+ readonly 'aria-labelledby': string | undefined;
10
+ }>, {}, "ref">;
2
11
  type ModalContent = ReturnType<typeof ModalContent>;
3
12
  export default ModalContent;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lithesome",
3
- "version": "0.23.1",
3
+ "version": "0.23.2",
4
4
  "scripts": {
5
5
  "dev": "vite dev",
6
6
  "build": "bun --bun vite build && npm run prepack",