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

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;
@@ -9,7 +9,7 @@ export { className as class };
9
9
 
10
10
  <SelectPrimitive.Trigger
11
11
  class={cn(
12
- 'border-input bg-background ring-offset-background focus-visible:ring-ring aria-[invalid]:border-destructive data-[placeholder]:[&>span]:text-muted-foreground flex w-full items-center justify-between rounded-md border text-sm focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1',
12
+ 'border-input bg-background ring-offset-background focus-visible:ring-ring aria-[invalid]:border-destructive data-[placeholder]:[&>span]:text-muted-foreground flex w-full items-center justify-between rounded-md border text-sm focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1 text-left break-all',
13
13
  selectVariants.size[size].trigger,
14
14
  className,
15
15
  )}
package/dist/index.css CHANGED
@@ -1555,6 +1555,10 @@ body {
1555
1555
  overflow-wrap: break-word;
1556
1556
  }
1557
1557
 
1558
+ .break-all {
1559
+ word-break: break-all;
1560
+ }
1561
+
1558
1562
  .rounded-\[inherit\] {
1559
1563
  border-radius: inherit;
1560
1564
  }
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.48",
87
+ "gitHead": "4dfb394fcbaa158b1c134b23e132eb6bd4e82d5a"
88
88
  }