nectiasw 0.0.18 → 0.0.19
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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TableProps, Heading } from './
|
|
1
|
+
import { TableProps, Heading } from './types';
|
|
2
2
|
|
|
3
3
|
export type Override<T, U> = Omit<T, keyof U> & U;
|
|
4
4
|
export type OverrideBuilder = Override<Builder, {
|
|
@@ -14,6 +14,6 @@ declare class Builder {
|
|
|
14
14
|
tailwind: string;
|
|
15
15
|
headings: string[];
|
|
16
16
|
constructor(props: Partial<TableProps>);
|
|
17
|
-
buildStyle(headers: string[] | Heading[]):
|
|
17
|
+
buildStyle(headers: string[] | Heading[]): string[];
|
|
18
18
|
}
|
|
19
19
|
export { Builder };
|
package/dist/index.es.js
CHANGED
|
@@ -40909,8 +40909,8 @@ class Cle {
|
|
|
40909
40909
|
lg: "text-lg",
|
|
40910
40910
|
xl: "text-xl"
|
|
40911
40911
|
});
|
|
40912
|
-
ue(this, "tailwind");
|
|
40913
|
-
ue(this, "headings");
|
|
40912
|
+
ue(this, "tailwind", "");
|
|
40913
|
+
ue(this, "headings", []);
|
|
40914
40914
|
this.headings = this.buildStyle(n.headers ?? []);
|
|
40915
40915
|
}
|
|
40916
40916
|
buildStyle(n) {
|