@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.
@@ -9,16 +9,16 @@
9
9
  export function setClasses(c: ClassValue) {
10
10
  defaultClasses = c;
11
11
  }
12
- </script>
13
12
 
14
- <script lang="ts">
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,7 +1,7 @@
1
1
  import { type Snippet } from 'svelte';
2
2
  import type { ClassValue } from 'svelte/elements';
3
3
  export declare function setClasses(c: ClassValue): void;
4
- interface Props {
4
+ export interface Props {
5
5
  class?: ClassValue;
6
6
  onclick?: () => void;
7
7
  href?: string;
@@ -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,UAAU,KAAK;IACX,KAAK,CAAC,EAAE,UAAU,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,OAAO,CAAC;CACrB;AAmDL,QAAA,MAAM,GAAG,2CAAwC,CAAC;AAClD,KAAK,GAAG,GAAG,UAAU,CAAC,OAAO,GAAG,CAAC,CAAC;AAClC,eAAe,GAAG,CAAC"}
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.7"
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
- <script lang="ts">
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,