@viamrobotics/prime-core
Advanced tools
Comparing version 0.0.18 to 0.0.19
@@ -5,2 +5,3 @@ export { default as Badge } from './badge.svelte'; | ||
export { default as IconButton } from './button/icon-button.svelte'; | ||
export { clickOutside } from './click-outside'; | ||
export { default as Collapse } from './collapse.svelte'; | ||
@@ -23,3 +24,3 @@ export { default as Icon } from './icon/icon.svelte'; | ||
export { default as TextInput, type TextInputTypes, } from './input/text-input.svelte'; | ||
export { default as Table } from './table/table.svelte'; | ||
export { default as Table, type TableVariant } from './table/table.svelte'; | ||
export { default as TableHeader } from './table/table-header.svelte'; | ||
@@ -26,0 +27,0 @@ export { default as TableHeaderCell } from './table/table-header-cell.svelte'; |
@@ -5,2 +5,3 @@ export { default as Badge } from './badge.svelte'; | ||
export { default as IconButton } from './button/icon-button.svelte'; | ||
export { clickOutside } from './click-outside'; | ||
export { default as Collapse } from './collapse.svelte'; | ||
@@ -7,0 +8,0 @@ export { default as Icon } from './icon/icon.svelte'; |
import { SvelteComponent } from "svelte"; | ||
import cx from 'classnames'; | ||
declare const __propDef: { | ||
props: { | ||
/** | ||
* Custom table body style | ||
* ``` | ||
* <TableBody style="text-align:center"> | ||
* ``` | ||
*/ style?: string; | ||
[x: string]: any; | ||
cx?: cx.Argument; | ||
}; | ||
@@ -11,0 +8,0 @@ events: { |
import { SvelteComponent } from "svelte"; | ||
import cx from 'classnames'; | ||
declare const __propDef: { | ||
props: { | ||
/** | ||
* Custom table cell style | ||
* ``` | ||
* <TableCell style="text-align:center"> | ||
* ``` | ||
*/ style?: string; | ||
[x: string]: any; | ||
cx?: cx.Argument; | ||
}; | ||
@@ -11,0 +8,0 @@ events: { |
import { SvelteComponent } from "svelte"; | ||
import cx from 'classnames'; | ||
declare const __propDef: { | ||
props: { | ||
/** | ||
* Custom table header cell style | ||
* ``` | ||
* <TableHeaderCell style="text-align:center"> | ||
* ``` | ||
*/ style?: string; | ||
[x: string]: any; | ||
cx?: cx.Argument; | ||
}; | ||
@@ -11,0 +8,0 @@ events: { |
import { SvelteComponent } from "svelte"; | ||
import cx from 'classnames'; | ||
declare const __propDef: { | ||
props: { | ||
/** | ||
* Custom table header style | ||
* ``` | ||
* <TableHeader style="text-align:center"> | ||
* ``` | ||
*/ style?: string; | ||
[x: string]: any; | ||
cx?: cx.Argument; | ||
}; | ||
@@ -11,0 +8,0 @@ events: { |
import { SvelteComponent } from "svelte"; | ||
export type TableRowVariant = 'success' | 'disabled' | 'error' | ''; | ||
import cx from 'classnames'; | ||
declare const __propDef: { | ||
props: { | ||
[x: string]: any; | ||
variant?: TableRowVariant; | ||
/** | ||
* Custom table row style | ||
* ``` | ||
* <TableRow style="text-align:center"> | ||
* ``` | ||
*/ style?: string; | ||
cx?: cx.Argument; | ||
}; | ||
@@ -13,0 +10,0 @@ events: { |
import { SvelteComponent } from "svelte"; | ||
export type TableVariant = 'auto' | 'fixed'; | ||
import cx from 'classnames'; | ||
declare const __propDef: { | ||
props: { | ||
/** Column width layout variant (optional) */ variant?: TableVariant; | ||
/** | ||
* Column width sizes | ||
* ``` | ||
* <Table cols={["10%", "30%", "60%"]}> | ||
* ``` | ||
*/ cols?: string[]; | ||
/** | ||
* Custom table style | ||
* @example | ||
* style="border-collapse" | ||
*/ style?: string; | ||
[x: string]: any; | ||
variant?: TableVariant; | ||
cols?: string[]; | ||
cx?: cx.Argument; | ||
}; | ||
@@ -18,0 +11,0 @@ events: { |
{ | ||
"name": "@viamrobotics/prime-core", | ||
"version": "0.0.18", | ||
"version": "0.0.19", | ||
"publishConfig": { | ||
@@ -38,2 +38,3 @@ "access": "public" | ||
"@testing-library/svelte": "^4.0.3", | ||
"@testing-library/user-event": "^14.4.3", | ||
"@types/testing-library__jest-dom": "^5.14.9", | ||
@@ -40,0 +41,0 @@ "@typescript-eslint/eslint-plugin": "^6.4.0", |
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
Sorry, the diff of this file is not supported yet
86170
67
1199
36