@nasa-jpl/stellar-svelte 2.0.0-alpha.54 → 2.0.0-alpha.58
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/dist/components/ui/button/button.svelte +9 -9
- package/dist/components/ui/button/button.svelte.d.ts +2 -2
- package/dist/components/ui/button/index.d.ts +2 -2
- package/dist/components/ui/button/index.js +1 -1
- package/dist/components/ui/checkbox/checkbox.svelte +1 -1
- package/dist/components/ui/form/form-description.svelte +8 -6
- package/dist/components/ui/form/form-description.svelte.d.ts +5 -2
- package/dist/components/ui/form/form-field-errors.svelte +14 -12
- package/dist/components/ui/form/form-field-errors.svelte.d.ts +3 -1
- package/dist/components/ui/form/form-label.svelte +5 -4
- package/dist/components/ui/form/form-label.svelte.d.ts +7 -2
- package/dist/components/ui/form/form-legend.svelte +8 -6
- package/dist/components/ui/form/form-legend.svelte.d.ts +7 -2
- package/dist/components/ui/form/index.d.ts +24 -10
- package/dist/components/ui/form/index.js +25 -11
- package/dist/components/ui/input/input.svelte +1 -1
- package/dist/components/ui/radio-group/radio-group-item.svelte +14 -14
- package/dist/components/ui/radio-group/radio-group-item.svelte.d.ts +1 -1
- package/dist/components/ui/select/select-trigger.svelte +1 -1
- package/dist/components/ui/slider/slider.svelte +15 -15
- package/dist/components/ui/slider/slider.svelte.d.ts +1 -1
- package/dist/components/ui/sonner/sonner.svelte +14 -13
- package/dist/components/ui/sonner/sonner.svelte.d.ts +1 -1
- package/dist/components/ui/switch/switch.svelte +15 -15
- package/dist/components/ui/switch/switch.svelte.d.ts +1 -1
- package/dist/components/ui/tabs/tabs-content.svelte +9 -9
- package/dist/components/ui/tabs/tabs-content.svelte.d.ts +1 -1
- package/dist/components/ui/tabs/tabs-trigger.svelte +10 -10
- package/dist/components/ui/tabs/tabs-trigger.svelte.d.ts +1 -1
- package/dist/components/ui/textarea/textarea.svelte +19 -19
- package/dist/components/ui/textarea/textarea.svelte.d.ts +2 -2
- package/dist/components/ui/toggle/index.d.ts +2 -2
- package/dist/components/ui/toggle/index.js +1 -1
- package/dist/index.css +85 -597
- package/package.json +2 -2
|
@@ -6,23 +6,23 @@ export let readonly = void 0;
|
|
|
6
6
|
</script>
|
|
7
7
|
|
|
8
8
|
<textarea
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
9
|
+
class={cn(
|
|
10
|
+
'border-input bg-background ring-offset-background placeholder:text-muted-foreground focus-visible:ring-ring flex min-h-[80px] w-full rounded-md border px-3 py-2 text-sm focus-visible:outline-none focus-visible:ring-2 disabled:cursor-not-allowed disabled:opacity-50',
|
|
11
|
+
className,
|
|
12
|
+
)}
|
|
13
|
+
bind:value
|
|
14
|
+
{readonly}
|
|
15
|
+
on:blur
|
|
16
|
+
on:change
|
|
17
|
+
on:click
|
|
18
|
+
on:focus
|
|
19
|
+
on:keydown
|
|
20
|
+
on:keypress
|
|
21
|
+
on:keyup
|
|
22
|
+
on:mouseover
|
|
23
|
+
on:mouseenter
|
|
24
|
+
on:mouseleave
|
|
25
|
+
on:paste
|
|
26
|
+
on:input
|
|
27
|
+
{...$$restProps}
|
|
28
28
|
></textarea>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SvelteComponent } from "svelte";
|
|
2
|
-
import type { HTMLTextareaAttributes } from
|
|
3
|
-
import type { TextareaEvents } from
|
|
2
|
+
import type { HTMLTextareaAttributes } from 'svelte/elements';
|
|
3
|
+
import type { TextareaEvents } from './index.js';
|
|
4
4
|
declare const __propDef: {
|
|
5
5
|
props: HTMLTextareaAttributes;
|
|
6
6
|
slots: {};
|
|
@@ -11,7 +11,7 @@ export declare const toggleVariants: import("tailwind-variants").TVReturnType<{
|
|
|
11
11
|
lg: string;
|
|
12
12
|
xs: string;
|
|
13
13
|
};
|
|
14
|
-
}, undefined, "ring-offset-background hover:bg-muted hover:text-muted-foreground focus-visible:ring-ring data-[state=on]:bg-accent data-[state=on]:text-accent-foreground inline-flex items-center justify-center rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-2
|
|
14
|
+
}, undefined, "ring-offset-background hover:bg-muted hover:text-muted-foreground focus-visible:ring-ring data-[state=on]:bg-accent data-[state=on]:text-accent-foreground inline-flex items-center justify-center rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 disabled:pointer-events-none disabled:opacity-50", import("tailwind-variants/dist/config").TVConfig<{
|
|
15
15
|
variant: {
|
|
16
16
|
default: string;
|
|
17
17
|
outline: string;
|
|
@@ -55,7 +55,7 @@ export declare const toggleVariants: import("tailwind-variants").TVReturnType<{
|
|
|
55
55
|
lg: string;
|
|
56
56
|
xs: string;
|
|
57
57
|
};
|
|
58
|
-
}, undefined, "ring-offset-background hover:bg-muted hover:text-muted-foreground focus-visible:ring-ring data-[state=on]:bg-accent data-[state=on]:text-accent-foreground inline-flex items-center justify-center rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-2
|
|
58
|
+
}, undefined, "ring-offset-background hover:bg-muted hover:text-muted-foreground focus-visible:ring-ring data-[state=on]:bg-accent data-[state=on]:text-accent-foreground inline-flex items-center justify-center rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 disabled:pointer-events-none disabled:opacity-50", import("tailwind-variants/dist/config").TVConfig<{
|
|
59
59
|
variant: {
|
|
60
60
|
default: string;
|
|
61
61
|
outline: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { tv } from 'tailwind-variants';
|
|
2
2
|
import Root from './toggle.svelte';
|
|
3
3
|
export const toggleVariants = tv({
|
|
4
|
-
base: 'ring-offset-background hover:bg-muted hover:text-muted-foreground focus-visible:ring-ring data-[state=on]:bg-accent data-[state=on]:text-accent-foreground inline-flex items-center justify-center rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-2
|
|
4
|
+
base: 'ring-offset-background hover:bg-muted hover:text-muted-foreground focus-visible:ring-ring data-[state=on]:bg-accent data-[state=on]:text-accent-foreground inline-flex items-center justify-center rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 disabled:pointer-events-none disabled:opacity-50',
|
|
5
5
|
variants: {
|
|
6
6
|
variant: {
|
|
7
7
|
default: 'bg-transparent',
|