@nasa-jpl/stellar-svelte 2.0.0-alpha.34 → 2.0.0-alpha.38

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.
Files changed (32) hide show
  1. package/dist/components/ui/button/index.d.ts +35 -0
  2. package/dist/components/ui/button/index.js +10 -5
  3. package/dist/components/ui/input/index.d.ts +9 -2
  4. package/dist/components/ui/input/index.js +9 -3
  5. package/dist/components/ui/input/input.svelte +4 -1
  6. package/dist/components/ui/input/input.svelte.d.ts +3 -2
  7. package/dist/components/ui/select/index.d.ts +33 -7
  8. package/dist/components/ui/select/index.js +33 -8
  9. package/dist/components/ui/select/select-content.svelte +19 -16
  10. package/dist/components/ui/select/select-content.svelte.d.ts +25 -2
  11. package/dist/components/ui/select/select-item.svelte +27 -24
  12. package/dist/components/ui/select/select-item.svelte.d.ts +22 -3
  13. package/dist/components/ui/select/select-label.svelte +6 -7
  14. package/dist/components/ui/select/select-label.svelte.d.ts +7 -2
  15. package/dist/components/ui/select/select-trigger.svelte +17 -14
  16. package/dist/components/ui/select/select-trigger.svelte.d.ts +15 -3
  17. package/dist/components/ui/theme-switcher/index.d.ts +3 -3
  18. package/dist/components/ui/theme-switcher/index.js +3 -3
  19. package/dist/components/ui/theme-switcher/theme-switcher-button.svelte +10 -11
  20. package/dist/components/ui/theme-switcher/theme-switcher-button.svelte.d.ts +4 -1
  21. package/dist/components/ui/theme-switcher/theme-switcher-dropdown.svelte +7 -4
  22. package/dist/components/ui/theme-switcher/theme-switcher-dropdown.svelte.d.ts +4 -1
  23. package/dist/components/ui/toggle/index.d.ts +7 -0
  24. package/dist/components/ui/toggle/index.js +1 -0
  25. package/dist/components/ui/toggle-group/index.d.ts +1 -1
  26. package/dist/components/ui/toggle-group/toggle-group-item.svelte.d.ts +1 -1
  27. package/dist/components/ui/toggle-group/toggle-group.svelte.d.ts +1 -1
  28. package/dist/index.css +411 -122
  29. package/package.json +6 -5
  30. package/tailwind.config.ts +3 -14
  31. package/dist/components/ui/theme-switcher/button.svelte +0 -20
  32. package/dist/components/ui/theme-switcher/button.svelte.d.ts +0 -14
@@ -1,6 +1,9 @@
1
1
  import { SvelteComponent } from "svelte";
2
2
  declare const __propDef: {
3
- props: Record<string, never>;
3
+ props: {
4
+ size?: "icon-xs" | "icon-sm" | "icon" | "icon-lg" | "icon-xl" | undefined;
5
+ class?: string | undefined | null;
6
+ };
4
7
  events: {
5
8
  [evt: string]: CustomEvent<any>;
6
9
  };
@@ -9,6 +9,7 @@ export declare const toggleVariants: import("tailwind-variants").TVReturnType<{
9
9
  default: string;
10
10
  sm: string;
11
11
  lg: string;
12
+ xs: string;
12
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 focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50", import("tailwind-variants/dist/config").TVConfig<{
14
15
  variant: {
@@ -19,6 +20,7 @@ export declare const toggleVariants: import("tailwind-variants").TVReturnType<{
19
20
  default: string;
20
21
  sm: string;
21
22
  lg: string;
23
+ xs: string;
22
24
  };
23
25
  }, {
24
26
  variant: {
@@ -29,6 +31,7 @@ export declare const toggleVariants: import("tailwind-variants").TVReturnType<{
29
31
  default: string;
30
32
  sm: string;
31
33
  lg: string;
34
+ xs: string;
32
35
  };
33
36
  }>, {
34
37
  variant: {
@@ -39,6 +42,7 @@ export declare const toggleVariants: import("tailwind-variants").TVReturnType<{
39
42
  default: string;
40
43
  sm: string;
41
44
  lg: string;
45
+ xs: string;
42
46
  };
43
47
  }, undefined, import("tailwind-variants").TVReturnType<{
44
48
  variant: {
@@ -49,6 +53,7 @@ export declare const toggleVariants: import("tailwind-variants").TVReturnType<{
49
53
  default: string;
50
54
  sm: string;
51
55
  lg: string;
56
+ xs: string;
52
57
  };
53
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 focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50", import("tailwind-variants/dist/config").TVConfig<{
54
59
  variant: {
@@ -59,6 +64,7 @@ export declare const toggleVariants: import("tailwind-variants").TVReturnType<{
59
64
  default: string;
60
65
  sm: string;
61
66
  lg: string;
67
+ xs: string;
62
68
  };
63
69
  }, {
64
70
  variant: {
@@ -69,6 +75,7 @@ export declare const toggleVariants: import("tailwind-variants").TVReturnType<{
69
75
  default: string;
70
76
  sm: string;
71
77
  lg: string;
78
+ xs: string;
72
79
  };
73
80
  }>, unknown, unknown, undefined>>;
74
81
  export type Variant = VariantProps<typeof toggleVariants>['variant'];
@@ -11,6 +11,7 @@ export const toggleVariants = tv({
11
11
  default: 'h-10 px-3',
12
12
  sm: 'h-9 px-2.5',
13
13
  lg: 'h-11 px-5',
14
+ xs: 'h-6 px-1',
14
15
  },
15
16
  },
16
17
  defaultVariants: {
@@ -6,6 +6,6 @@ export type ToggleVariants = VariantProps<typeof toggleVariants>;
6
6
  export declare function setToggleGroupCtx(props: ToggleVariants): void;
7
7
  export declare function getToggleGroupCtx(): {
8
8
  variant?: "default" | "outline" | undefined;
9
- size?: "default" | "sm" | "lg" | undefined;
9
+ size?: "default" | "sm" | "lg" | "xs" | undefined;
10
10
  };
11
11
  export { Item, Root, Root as ToggleGroup, Item as ToggleGroupItem, };
@@ -7,7 +7,7 @@ declare const __propDef: {
7
7
  el?: HTMLButtonElement | undefined;
8
8
  } & import("svelte/elements.js").HTMLButtonAttributes & {
9
9
  variant?: "default" | "outline" | undefined;
10
- size?: "default" | "sm" | "lg" | undefined;
10
+ size?: "default" | "sm" | "lg" | "xs" | undefined;
11
11
  };
12
12
  events: {
13
13
  [evt: string]: CustomEvent<any>;
@@ -12,7 +12,7 @@ declare class __sveltets_Render<T extends 'single' | 'multiple'> {
12
12
  el?: HTMLDivElement | undefined;
13
13
  } & import("bits-ui/dist/internal/types.js").HTMLDivAttributes & {
14
14
  variant?: "default" | "outline" | undefined;
15
- size?: "default" | "sm" | "lg" | undefined;
15
+ size?: "default" | "sm" | "lg" | "xs" | undefined;
16
16
  };
17
17
  events(): {} & {
18
18
  [evt: string]: CustomEvent<any>;