@ims360/svelte-ivory 0.0.7 → 0.0.8
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/table/table/Row.svelte +3 -3
- package/dist/components/table/table/Row.svelte.d.ts +1 -1
- package/dist/components/table/table/Row.svelte.d.ts.map +1 -1
- package/dist/components/table/table/index.d.ts +12 -0
- package/dist/components/table/table/index.d.ts.map +1 -0
- package/package.json +1 -2
- package/src/lib/components/table/table/Row.svelte +3 -3
|
@@ -9,16 +9,16 @@
|
|
|
9
9
|
export function setClasses(c: ClassValue) {
|
|
10
10
|
defaultClasses = c;
|
|
11
11
|
}
|
|
12
|
-
</script>
|
|
13
12
|
|
|
14
|
-
|
|
15
|
-
interface Props {
|
|
13
|
+
export interface Props {
|
|
16
14
|
class?: ClassValue;
|
|
17
15
|
onclick?: () => void;
|
|
18
16
|
href?: string;
|
|
19
17
|
children: Snippet;
|
|
20
18
|
}
|
|
19
|
+
</script>
|
|
21
20
|
|
|
21
|
+
<script lang="ts">
|
|
22
22
|
let {
|
|
23
23
|
class: clazz = 'hover:bg-surface-950-50/10 transition-colors',
|
|
24
24
|
onclick,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Row.svelte.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/table/table/Row.svelte.ts"],"names":[],"mappings":"AAII,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,QAAQ,CAAC;AACtC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAKlD,wBAAgB,UAAU,CAAC,CAAC,EAAE,UAAU,QAEvC;AAED,
|
|
1
|
+
{"version":3,"file":"Row.svelte.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/table/table/Row.svelte.ts"],"names":[],"mappings":"AAII,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,QAAQ,CAAC;AACtC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAKlD,wBAAgB,UAAU,CAAC,CAAC,EAAE,UAAU,QAEvC;AAED,MAAM,WAAW,KAAK;IAClB,KAAK,CAAC,EAAE,UAAU,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,OAAO,CAAC;CACrB;AAkDL,QAAA,MAAM,GAAG,2CAAwC,CAAC;AAClD,KAAK,GAAG,GAAG,UAAU,CAAC,OAAO,GAAG,CAAC,CAAC;AAClC,eAAe,GAAG,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import TableComponent, { getTableContext } from './Table.svelte';
|
|
2
|
+
import { TableController } from './table.svelte';
|
|
3
|
+
declare const Table: typeof TableComponent<{
|
|
4
|
+
id: string;
|
|
5
|
+
}> & {
|
|
6
|
+
Column: import("svelte").Component<import("./Column.svelte").ColumnProps, {}, "">;
|
|
7
|
+
Row: import("svelte").Component<import("./Row.svelte").Props, {}, "">;
|
|
8
|
+
getContext: typeof getTableContext;
|
|
9
|
+
Controller: typeof TableController;
|
|
10
|
+
};
|
|
11
|
+
export default Table;
|
|
12
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/table/table/index.ts"],"names":[],"mappings":"AAEA,OAAO,cAAc,EAAE,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AACjE,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAEjD,QAAA,MAAM,KAAK,EAC2B,OAAO,cAAc,CAAC;IAAE,EAAE,EAAE,MAAM,CAAA;CAAE,CAAC;;;;;CAO1E,CAAC;AACF,eAAe,KAAK,CAAC"}
|
package/package.json
CHANGED
|
@@ -77,7 +77,6 @@
|
|
|
77
77
|
"src/lib",
|
|
78
78
|
"!dist/**/*.test.*",
|
|
79
79
|
"!dist/**/*.spec.*",
|
|
80
|
-
"src/lib",
|
|
81
80
|
"!src/lib/**/*.test.*",
|
|
82
81
|
"!src/lib/**/*.spec.*"
|
|
83
82
|
],
|
|
@@ -110,5 +109,5 @@
|
|
|
110
109
|
"svelte": "./dist/index.js",
|
|
111
110
|
"type": "module",
|
|
112
111
|
"types": "./dist/index.d.ts",
|
|
113
|
-
"version": "0.0.
|
|
112
|
+
"version": "0.0.8"
|
|
114
113
|
}
|
|
@@ -9,16 +9,16 @@
|
|
|
9
9
|
export function setClasses(c: ClassValue) {
|
|
10
10
|
defaultClasses = c;
|
|
11
11
|
}
|
|
12
|
-
</script>
|
|
13
12
|
|
|
14
|
-
|
|
15
|
-
interface Props {
|
|
13
|
+
export interface Props {
|
|
16
14
|
class?: ClassValue;
|
|
17
15
|
onclick?: () => void;
|
|
18
16
|
href?: string;
|
|
19
17
|
children: Snippet;
|
|
20
18
|
}
|
|
19
|
+
</script>
|
|
21
20
|
|
|
21
|
+
<script lang="ts">
|
|
22
22
|
let {
|
|
23
23
|
class: clazz = 'hover:bg-surface-950-50/10 transition-colors',
|
|
24
24
|
onclick,
|