@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.
- package/dist/components/ui/input/index.d.ts +2 -1
- package/dist/components/ui/input/index.js +1 -0
- package/dist/components/ui/input/input.svelte +2 -2
- package/dist/components/ui/input/input.svelte.d.ts +1 -1
- package/dist/components/ui/select/select-trigger.svelte +1 -1
- package/dist/index.css +4 -0
- package/package.json +2 -2
|
@@ -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, };
|
|
@@ -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
|
|
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[
|
|
14
|
+
inputVariants.size[sizeVariant],
|
|
15
15
|
className,
|
|
16
16
|
)}
|
|
17
17
|
bind:value
|
|
@@ -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
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.
|
|
87
|
-
"gitHead": "
|
|
86
|
+
"version": "2.0.0-alpha.48",
|
|
87
|
+
"gitHead": "4dfb394fcbaa158b1c134b23e132eb6bd4e82d5a"
|
|
88
88
|
}
|