Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@viamrobotics/prime-core

Package Overview
Dependencies
Maintainers
6
Versions
167
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@viamrobotics/prime-core - npm Package Compare versions

Comparing version 0.0.8 to 0.0.9

dist/input/numeric-input.svelte

7

dist/index.d.ts

@@ -11,6 +11,9 @@ export { default as Badge } from './badge.svelte';

export { default as Tooltip, type TooltipLocation, type TooltipState, } from './tooltip.svelte';
export { default as Input } from './input/input.svelte';
export { default as TextInput, type TextInputTypes, } from './input/text-input.svelte';
export { default as ContextMenu } from './context-menu/context-menu.svelte';
export { default as ContextMenuItem } from './context-menu/context-menu-item.svelte';
export { default as ContextMenuSeparator } from './context-menu/context-menu-separator.svelte';
export { default as Input, type InputState } from './input/input.svelte';
export { default as NumericInput } from './input/numeric-input.svelte';
export { default as SliderInput } from './input/slider-input.svelte';
export { type NumericInputTypes } from './input/utils';
export { default as TextInput, type TextInputTypes, } from './input/text-input.svelte';

@@ -11,6 +11,9 @@ export { default as Badge } from './badge.svelte';

export { default as Tooltip, } from './tooltip.svelte';
export { default as Input } from './input/input.svelte';
export { default as TextInput, } from './input/text-input.svelte';
export { default as ContextMenu } from './context-menu/context-menu.svelte';
export { default as ContextMenuItem } from './context-menu/context-menu-item.svelte';
export { default as ContextMenuSeparator } from './context-menu/context-menu-separator.svelte';
export { default as Input } from './input/input.svelte';
export { default as NumericInput } from './input/numeric-input.svelte';
export { default as SliderInput } from './input/slider-input.svelte';
export {} from './input/utils';
export { default as TextInput, } from './input/text-input.svelte';
import { SvelteComponent } from "svelte";
export type InputState = 'info' | 'warn' | 'error' | 'none';
declare const __propDef: {
props: {
[x: string]: any;
value?: string;
readonly?: boolean;
disabled?: boolean;
state?: InputState;
};

@@ -11,4 +14,2 @@ events: {

keydown: KeyboardEvent;
focus: FocusEvent;
blur: FocusEvent;
} & {

@@ -15,0 +16,0 @@ [evt: string]: CustomEvent<any>;

@@ -11,4 +11,2 @@ import { SvelteComponent } from "svelte";

keydown: KeyboardEvent;
focus: FocusEvent;
blur: FocusEvent;
} & {

@@ -15,0 +13,0 @@ [evt: string]: CustomEvent<any>;

@@ -8,2 +8,3 @@ import { SvelteComponent } from "svelte";

/** Whether or not the label should render as disabled */ disabled?: boolean;
/** Additional detail text to render after the default slot. */ detail?: string;
};

@@ -10,0 +11,0 @@ events: {

@@ -40,3 +40,10 @@ import { SvelteComponent } from "svelte";

export default class Tooltip extends SvelteComponent<TooltipProps, TooltipEvents, TooltipSlots> {
get recalculateStyle(): () => Promise<void>;
get location(): TooltipLocation | undefined;
/**accessor*/
set location(_: TooltipLocation | undefined);
get state(): TooltipState | undefined;
/**accessor*/
set state(_: TooltipState | undefined);
}
export {};
{
"name": "@viamrobotics/prime-core",
"version": "0.0.8",
"version": "0.0.9",
"publishConfig": {

@@ -30,7 +30,7 @@ "access": "public"

"devDependencies": {
"@floating-ui/dom": "^1.2.6",
"@floating-ui/dom": "^1.5.1",
"@sveltejs/adapter-auto": "^2.1.0",
"@sveltejs/kit": "^1.22.3",
"@sveltejs/kit": "^1.22.4",
"@sveltejs/package": "^2.2.0",
"@sveltejs/vite-plugin-svelte": "^2.4.2",
"@sveltejs/vite-plugin-svelte": "^2.4.3",
"@testing-library/dom": "^9.3.1",

@@ -42,5 +42,5 @@ "@testing-library/jest-dom": "^5.17.0",

"@typescript-eslint/parser": "^5.45.0",
"@viamrobotics/eslint-config": "^0.1.0",
"@viamrobotics/prettier-config": "^0.1.0",
"@viamrobotics/typescript-config": "^0.0.3",
"@viamrobotics/eslint-config": "^0.1.1",
"@viamrobotics/prettier-config": "^0.1.1",
"@viamrobotics/typescript-config": "^0.0.4",
"autoprefixer": "^10.4.14",

@@ -54,12 +54,12 @@ "concurrently": "^8.0.1",

"postcss": "^8.4.27",
"prettier": "^2.8.8",
"prettier-plugin-svelte": "^2.10.1",
"prettier": "^3.0.0",
"prettier-plugin-svelte": "^3.0.3",
"prettier-plugin-tailwindcss": "^0.4.1",
"publint": "^0.1.16",
"svelte": "^4.1.1",
"publint": "^0.2.0",
"svelte": "^4.1.2",
"svelte-check": "^3.4.6",
"tailwindcss": "^3.3.3",
"tslib": "^2.6.0",
"tslib": "^2.6.1",
"typescript": "^5.1.6",
"vite": "^4.4.7",
"vite": "^4.4.8",
"vitest": "^0.33.0"

@@ -79,5 +79,5 @@ },

"format": "prettier --plugin-search-dir . --write .",
"test": "vitest run",
"test": "svelte-kit sync && vitest run",
"test:watch": "vitest"
}
}
export const theme = {
extend: {
fontFamily: {
'space-grotesk':
"'Space Grotesk Variable', 'Space Grotesk', system-ui, sans-serif",
'roboto-mono':
"'Roboto Mono Variable', 'Roboto Mono', ui-monospace, monospace",
'public-sans': "'Public Sans Variable', 'Public Sans', sans-serif",
},
boxShadow: {

@@ -4,0 +11,0 @@ sm: '0 4px 32px rgba(0, 0, 0, 0.06)',

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc