Comparing version 2.0.0-next.10 to 2.0.0-next.11
@@ -15,6 +15,20 @@ import type { HTMLAttributes } from 'svelte/elements'; | ||
} | ||
declare const Button: $$__sveltets_2_IsomorphicComponent<{ | ||
declare const Button: $$__sveltets_2_IsomorphicComponent<HTMLAttributes<HTMLButtonElement> & { | ||
[k: `light-${number}`]: boolean; | ||
[k: `dark-${number}`]: boolean; | ||
primary?: boolean; | ||
secondary?: boolean; | ||
} & HTMLAttributes<HTMLButtonElement>, { | ||
icon?: string; | ||
outlined?: boolean; | ||
transparent?: boolean; | ||
raised?: boolean; | ||
disabled?: boolean; | ||
round?: boolean; | ||
small?: boolean; | ||
large?: boolean; | ||
tooltip?: string | Record<string, any>; | ||
active?: boolean; | ||
full?: boolean; | ||
children?: any; | ||
}, { | ||
[evt: string]: CustomEvent<any>; | ||
@@ -21,0 +35,0 @@ }, {}, {}, "">; |
@@ -0,1 +1,2 @@ | ||
import type { HTMLAttributes } from 'svelte/elements'; | ||
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> { | ||
@@ -14,14 +15,14 @@ new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & { | ||
} | ||
declare const IconButton: $$__sveltets_2_IsomorphicComponent<{ | ||
flat: unknown; | ||
disabled: unknown; | ||
secondary: unknown; | ||
primary?: unknown; | ||
active: unknown; | ||
outlined: unknown; | ||
icon: unknown; | ||
size: unknown; | ||
label: unknown; | ||
tooltip: unknown; | ||
} & Record<string, unknown>, { | ||
declare const IconButton: $$__sveltets_2_IsomorphicComponent<HTMLAttributes<HTMLButtonElement> & { | ||
flat?: boolean; | ||
disabled?: boolean; | ||
secondary?: boolean; | ||
primary?: boolean; | ||
active?: boolean; | ||
outlined?: boolean; | ||
icon: string; | ||
size?: number | string; | ||
label?: string; | ||
tooltip?: string | Record<string, any>; | ||
}, { | ||
[evt: string]: CustomEvent<any>; | ||
@@ -28,0 +29,0 @@ }, {}, {}, "">; |
@@ -0,1 +1,2 @@ | ||
import type { HTMLAttributes } from 'svelte/elements'; | ||
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> { | ||
@@ -14,10 +15,10 @@ new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & { | ||
} | ||
declare const Icon: $$__sveltets_2_IsomorphicComponent<{ | ||
icon: unknown; | ||
color: unknown; | ||
outlined: unknown; | ||
size: unknown; | ||
declare const Icon: $$__sveltets_2_IsomorphicComponent<HTMLAttributes<HTMLSpanElement> & { | ||
icon?: string; | ||
color?: string; | ||
outlined?: boolean; | ||
size?: number; | ||
style?: string; | ||
weight: unknown; | ||
} & Record<string, unknown>, { | ||
weight?: number; | ||
}, { | ||
[evt: string]: CustomEvent<any>; | ||
@@ -24,0 +25,0 @@ }, {}, {}, "">; |
@@ -0,1 +1,2 @@ | ||
import type { Renderable } from '../util.svelte.js'; | ||
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> { | ||
@@ -15,4 +16,4 @@ new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & { | ||
declare const Render: $$__sveltets_2_IsomorphicComponent<{ | ||
children: unknown; | ||
it: unknown; | ||
children?: Renderable; | ||
it?: Renderable; | ||
}, { | ||
@@ -19,0 +20,0 @@ [evt: string]: CustomEvent<any>; |
@@ -15,7 +15,9 @@ interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> { | ||
declare const Ripple: $$__sveltets_2_IsomorphicComponent<{ | ||
center: unknown; | ||
extra: unknown; | ||
active: unknown; | ||
clicked?: unknown; | ||
hover?: unknown; | ||
center?: boolean; | ||
extra?: HTMLElement; | ||
active?: boolean; | ||
clicked?: boolean; | ||
hover?: boolean; | ||
primary?: boolean; | ||
secondary?: boolean; | ||
}, { | ||
@@ -22,0 +24,0 @@ [evt: string]: CustomEvent<any>; |
@@ -15,3 +15,3 @@ interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> { | ||
declare const ThemeProvider: $$__sveltets_2_IsomorphicComponent<{ | ||
children: unknown; | ||
children?: any; | ||
primary?: string; | ||
@@ -18,0 +18,0 @@ secondary?: string; |
@@ -0,1 +1,2 @@ | ||
import type { HTMLInputAttributes } from 'svelte/elements'; | ||
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> { | ||
@@ -14,10 +15,10 @@ new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & { | ||
} | ||
declare const Checkbox: $$__sveltets_2_IsomorphicComponent<{ | ||
name: unknown; | ||
secondary: unknown; | ||
primary?: unknown; | ||
label: unknown; | ||
id: unknown; | ||
value: unknown; | ||
checked?: unknown; | ||
declare const Checkbox: $$__sveltets_2_IsomorphicComponent<Omit<HTMLInputAttributes, "checked"> & { | ||
name?: string; | ||
secondary?: boolean; | ||
primary?: boolean; | ||
label?: string | any; | ||
id?: string; | ||
value?: any; | ||
checked?: boolean; | ||
}, { | ||
@@ -24,0 +25,0 @@ [evt: string]: CustomEvent<any>; |
@@ -0,1 +1,2 @@ | ||
import type { HTMLInputAttributes, HTMLTextareaAttributes } from 'svelte/elements'; | ||
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> { | ||
@@ -14,15 +15,19 @@ new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & { | ||
} | ||
declare const Input: $$__sveltets_2_IsomorphicComponent<{ | ||
declare const Input: $$__sveltets_2_IsomorphicComponent<Omit<HTMLInputAttributes & HTMLTextareaAttributes, "value"> & { | ||
type?: string; | ||
value?: unknown; | ||
value?: string | number; | ||
placeholder?: string; | ||
multiline?: boolean; | ||
id: unknown; | ||
id?: string; | ||
secondary?: boolean; | ||
primary?: unknown; | ||
leading: unknown; | ||
trailing: unknown; | ||
onkeyup: unknown; | ||
onsubmit: unknown; | ||
} & Record<string, unknown>, { | ||
primary?: boolean; | ||
leading?: string | { | ||
icon: string; | ||
} | any; | ||
trailing?: string | { | ||
icon: string; | ||
} | any; | ||
onkeyup?: (e: KeyboardEvent) => void; | ||
onsubmit?: (e: Event) => void; | ||
}, { | ||
[evt: string]: CustomEvent<any>; | ||
@@ -29,0 +34,0 @@ }, {}, {}, "value">; |
@@ -0,1 +1,2 @@ | ||
import type { HTMLInputAttributes } from 'svelte/elements'; | ||
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> { | ||
@@ -14,10 +15,10 @@ new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & { | ||
} | ||
declare const Radio: $$__sveltets_2_IsomorphicComponent<{ | ||
name: unknown; | ||
secondary: unknown; | ||
primary?: unknown; | ||
label: unknown; | ||
id: unknown; | ||
value: unknown; | ||
selected?: unknown; | ||
declare const Radio: $$__sveltets_2_IsomorphicComponent<Omit<HTMLInputAttributes, "value"> & { | ||
name?: string; | ||
secondary?: boolean; | ||
primary?: boolean; | ||
label?: string | any; | ||
id?: string; | ||
value?: any; | ||
selected?: any; | ||
}, { | ||
@@ -24,0 +25,0 @@ [evt: string]: CustomEvent<any>; |
@@ -16,2 +16,5 @@ import Button from './button/Button.svelte'; | ||
import Table from './table/Table.svelte'; | ||
export { ThemeProvider, Button, IconButton, Ripple, Icon, Paper, Render, LinearProgress, CircularProgress, Radio, Input, Checkbox, Select, Expand, Table }; | ||
import List from './list/List.svelte'; | ||
import OneLine from './list/OneLine.svelte'; | ||
import TwoLine from './list/TwoLine.svelte'; | ||
export { ThemeProvider, Button, IconButton, Ripple, Icon, Paper, Render, LinearProgress, CircularProgress, Radio, Input, Checkbox, Select, Expand, Table, List, OneLine, TwoLine }; |
@@ -16,2 +16,5 @@ import Button from './button/Button.svelte'; | ||
import Table from './table/Table.svelte'; | ||
export { ThemeProvider, Button, IconButton, Ripple, Icon, Paper, Render, LinearProgress, CircularProgress, Radio, Input, Checkbox, Select, Expand, Table }; | ||
import List from './list/List.svelte'; | ||
import OneLine from './list/OneLine.svelte'; | ||
import TwoLine from './list/TwoLine.svelte'; | ||
export { ThemeProvider, Button, IconButton, Ripple, Icon, Paper, Render, LinearProgress, CircularProgress, Radio, Input, Checkbox, Select, Expand, Table, List, OneLine, TwoLine }; |
@@ -0,1 +1,3 @@ | ||
import { type Renderable } from '../util.svelte.js'; | ||
import type { HTMLAttributes } from 'svelte/elements'; | ||
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> { | ||
@@ -14,20 +16,26 @@ new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & { | ||
} | ||
declare const Paper: $$__sveltets_2_IsomorphicComponent<{ | ||
children: unknown; | ||
target: unknown; | ||
block: unknown; | ||
inlineBlock?: unknown; | ||
tl: unknown; | ||
tc: unknown; | ||
tr: unknown; | ||
ml: unknown; | ||
mr: unknown; | ||
bl: unknown; | ||
bc: unknown; | ||
br: unknown; | ||
show?: unknown; | ||
mobile: unknown; | ||
declare const Paper: $$__sveltets_2_IsomorphicComponent<HTMLAttributes<HTMLDivElement> & { | ||
children?: any; | ||
hover?: boolean; | ||
mobile?: boolean; | ||
target?: Renderable; | ||
tl?: boolean; | ||
tc?: boolean; | ||
tr?: boolean; | ||
ml?: boolean; | ||
mr?: boolean; | ||
bl?: boolean; | ||
bc?: boolean; | ||
br?: boolean; | ||
top?: boolean; | ||
bottom?: boolean; | ||
left?: boolean; | ||
right?: boolean; | ||
center?: boolean; | ||
style?: string; | ||
block?: boolean; | ||
inlineBlock?: boolean; | ||
show?: boolean; | ||
dense?: boolean; | ||
hover?: boolean; | ||
by?: unknown; | ||
by?: "hover" | "click"; | ||
}, { | ||
@@ -34,0 +42,0 @@ [evt: string]: CustomEvent<any>; |
@@ -1,27 +0,4 @@ | ||
export default CircularProgress; | ||
type CircularProgress = SvelteComponent<$$ComponentProps, { | ||
[evt: string]: CustomEvent<any>; | ||
}, {}> & { | ||
$$bindings?: "" | undefined; | ||
}; | ||
declare const CircularProgress: $$__sveltets_2_IsomorphicComponent<{ | ||
progress?: number; | ||
indeterminate?: boolean; | ||
secondary?: boolean; | ||
primary?: unknown; | ||
color?: string; | ||
size?: string; | ||
} & Record<string, unknown>, { | ||
[evt: string]: CustomEvent<any>; | ||
}, {}, {}, "">; | ||
type $$ComponentProps = { | ||
progress?: number; | ||
indeterminate?: boolean; | ||
secondary?: boolean; | ||
primary?: unknown; | ||
color?: string; | ||
size?: string; | ||
} & Record<string, unknown>; | ||
import type { HTMLAttributes } from 'svelte/elements'; | ||
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> { | ||
new (options: import("svelte").ComponentConstructorOptions<Props>): import("svelte").SvelteComponent<Props, Events, Slots> & { | ||
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & { | ||
$$bindings?: Bindings; | ||
@@ -38,1 +15,13 @@ } & Exports; | ||
} | ||
declare const CircularProgress: $$__sveltets_2_IsomorphicComponent<HTMLAttributes<SVGElement> & { | ||
progress?: number; | ||
indeterminate?: boolean; | ||
secondary?: boolean; | ||
primary?: boolean; | ||
color?: string; | ||
size?: string | number; | ||
}, { | ||
[evt: string]: CustomEvent<any>; | ||
}, {}, {}, "">; | ||
type CircularProgress = InstanceType<typeof CircularProgress>; | ||
export default CircularProgress; |
@@ -0,1 +1,2 @@ | ||
import type { HTMLAttributes } from 'svelte/elements'; | ||
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> { | ||
@@ -14,10 +15,9 @@ new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & { | ||
} | ||
declare const LinearProgress: $$__sveltets_2_IsomorphicComponent<{ | ||
declare const LinearProgress: $$__sveltets_2_IsomorphicComponent<HTMLAttributes<HTMLDivElement> & { | ||
progress?: number; | ||
width?: string; | ||
style?: string; | ||
indeterminate?: boolean; | ||
secondary?: boolean; | ||
primary?: unknown; | ||
primary?: boolean; | ||
color?: string; | ||
width?: string | number; | ||
}, { | ||
@@ -24,0 +24,0 @@ [evt: string]: CustomEvent<any>; |
@@ -1,2 +0,2 @@ | ||
import { Table } from ".."; | ||
import type { HTMLAttributes } from 'svelte/elements'; | ||
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> { | ||
@@ -15,6 +15,6 @@ new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & { | ||
} | ||
declare const Table: $$__sveltets_2_IsomorphicComponent<{ | ||
declare const Table: $$__sveltets_2_IsomorphicComponent<HTMLAttributes<HTMLTableElement> & { | ||
style?: string; | ||
children: unknown; | ||
header: unknown; | ||
children?: any; | ||
header?: any; | ||
stickyTop?: boolean | number; | ||
@@ -21,0 +21,0 @@ stickyLeft?: boolean | number; |
@@ -0,2 +1,4 @@ | ||
import type { Snippet } from 'svelte'; | ||
import { quadInOut } from 'svelte/easing'; | ||
export type Renderable = string | number | Snippet | boolean | number | undefined; | ||
export declare function tween(value: number, { duration, easing }?: { | ||
@@ -11,2 +13,3 @@ duration?: number | undefined; | ||
v: boolean; | ||
r?: boolean; | ||
}): () => void; | ||
@@ -17,2 +20,2 @@ export declare function delayedToggle(iv?: boolean, setDelay?: number, clearDelay?: number): { | ||
}; | ||
export declare function classes(...args: (string | string[] | Record<string, any>)[]): string; | ||
export declare function classes(...args: (undefined | null | string | string[] | Record<string, string | boolean | null | undefined>)[]): string; |
{ | ||
"name": "nunui", | ||
"version": "2.0.0-next.10", | ||
"version": "2.0.0-next.11", | ||
"scripts": { | ||
@@ -27,3 +27,3 @@ "dev": "vite dev", | ||
"peerDependencies": { | ||
"svelte": "^5.0.0-next.224" | ||
"svelte": "^5.0.0-next.244" | ||
}, | ||
@@ -33,7 +33,7 @@ "devDependencies": { | ||
"@sveltejs/adapter-static": "^3.0.4", | ||
"@sveltejs/kit": "^2.5.25", | ||
"@sveltejs/kit": "^2.5.26", | ||
"@sveltejs/package": "^2.3.4", | ||
"@sveltejs/vite-plugin-svelte": "^4.0.0-next.6", | ||
"@sveltejs/vite-plugin-svelte": "4.0.0-next.7", | ||
"@types/eslint": "^9.6.1", | ||
"eslint": "^9.9.1", | ||
"eslint": "^9.10.0", | ||
"eslint-config-prettier": "^9.1.0", | ||
@@ -45,9 +45,9 @@ "eslint-plugin-svelte": "^2.43.0", | ||
"publint": "^0.2.10", | ||
"sass-embedded": "^1.77.8", | ||
"svelte": "5.0.0-next.224", | ||
"svelte-check": "^3.8.6", | ||
"svelte-language-server": "^0.16.14", | ||
"sass-embedded": "^1.78.0", | ||
"svelte": "next", | ||
"svelte-check": "^4.0.1", | ||
"svelte-language-server": "^0.17.0", | ||
"typescript": "^5.5.4", | ||
"typescript-eslint": "^8.3.0", | ||
"vite": "^5.4.2" | ||
"typescript-eslint": "^8.4.0", | ||
"vite": "^5.4.3" | ||
}, | ||
@@ -54,0 +54,0 @@ "svelte": "./dist/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
86337
46
697