@nasa-jpl/stellar-svelte 2.0.0-alpha.46 → 2.0.0-alpha.47

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.
@@ -20,11 +20,12 @@ export type InputEvents = {
20
20
  input: FormInputEvent<InputEvent>;
21
21
  wheel: FormInputEvent<WheelEvent>;
22
22
  };
23
- export type InputSize = 'default' | 'sm';
23
+ export type InputSize = 'default' | 'sm' | 'xs';
24
24
  declare const inputVariants: {
25
25
  size: {
26
26
  default: string;
27
27
  sm: string;
28
+ xs: string;
28
29
  };
29
30
  };
30
31
  export { Root as Input, inputVariants, Root, };
@@ -3,6 +3,7 @@ const inputVariants = {
3
3
  size: {
4
4
  default: 'h-10 px-3 py-2',
5
5
  sm: 'h-8 px-2 text-xs',
6
+ xs: 'h-6 px-2 text-xs',
6
7
  },
7
8
  };
8
9
  export {
@@ -2,7 +2,7 @@
2
2
  import { inputVariants } from "./index.js";
3
3
  let className = void 0;
4
4
  export let value = void 0;
5
- export let size = "default";
5
+ export let sizeVariant = "default";
6
6
  export { className as class };
7
7
  export let readonly = void 0;
8
8
  export let el = void 0;
@@ -11,7 +11,7 @@ export let el = void 0;
11
11
  <input
12
12
  class={cn(
13
13
  'border-input bg-background ring-offset-background placeholder:text-muted-foreground focus-visible:ring-ring flex w-full rounded-md border file:border-0 file:bg-transparent file:text-sm file:font-medium focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50',
14
- inputVariants.size[size],
14
+ inputVariants.size[sizeVariant],
15
15
  className,
16
16
  )}
17
17
  bind:value
@@ -4,7 +4,7 @@ import type { InputEvents, InputSize } from './index.js';
4
4
  declare const __propDef: {
5
5
  props: HTMLInputAttributes & {
6
6
  el?: HTMLInputElement;
7
- size?: InputSize;
7
+ sizeVariant?: InputSize;
8
8
  };
9
9
  slots: {};
10
10
  events: InputEvents;
package/package.json CHANGED
@@ -83,6 +83,6 @@
83
83
  "svelte": "./dist/index.js",
84
84
  "type": "module",
85
85
  "types": "./dist/index.d.ts",
86
- "version": "2.0.0-alpha.46",
87
- "gitHead": "b2429cae1d317d748b5e1be41f679cf25212dfef"
86
+ "version": "2.0.0-alpha.47",
87
+ "gitHead": "1ec15aefb21679e7bad4be51f790f5b01bb3caf8"
88
88
  }