mn-angular-lib 1.0.1 → 1.0.3
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/package.json
CHANGED
|
@@ -151,6 +151,7 @@ declare const mnButtonVariants: tailwind_variants.TVReturnType<{
|
|
|
151
151
|
fill: string;
|
|
152
152
|
outline: string;
|
|
153
153
|
text: string;
|
|
154
|
+
textUnderline: string;
|
|
154
155
|
};
|
|
155
156
|
color: {
|
|
156
157
|
primary: string;
|
|
@@ -174,7 +175,7 @@ declare const mnButtonVariants: tailwind_variants.TVReturnType<{
|
|
|
174
175
|
disabled: {
|
|
175
176
|
true: string;
|
|
176
177
|
};
|
|
177
|
-
}, undefined, "hover:cursor-pointer transition-
|
|
178
|
+
}, undefined, "hover:cursor-pointer transition-all duration-300 ease-in-out", {
|
|
178
179
|
size: {
|
|
179
180
|
sm: string;
|
|
180
181
|
md: string;
|
|
@@ -184,6 +185,7 @@ declare const mnButtonVariants: tailwind_variants.TVReturnType<{
|
|
|
184
185
|
fill: string;
|
|
185
186
|
outline: string;
|
|
186
187
|
text: string;
|
|
188
|
+
textUnderline: string;
|
|
187
189
|
};
|
|
188
190
|
color: {
|
|
189
191
|
primary: string;
|
|
@@ -217,6 +219,7 @@ declare const mnButtonVariants: tailwind_variants.TVReturnType<{
|
|
|
217
219
|
fill: string;
|
|
218
220
|
outline: string;
|
|
219
221
|
text: string;
|
|
222
|
+
textUnderline: string;
|
|
220
223
|
};
|
|
221
224
|
color: {
|
|
222
225
|
primary: string;
|
|
@@ -240,7 +243,7 @@ declare const mnButtonVariants: tailwind_variants.TVReturnType<{
|
|
|
240
243
|
disabled: {
|
|
241
244
|
true: string;
|
|
242
245
|
};
|
|
243
|
-
}, undefined, "hover:cursor-pointer transition-
|
|
246
|
+
}, undefined, "hover:cursor-pointer transition-all duration-300 ease-in-out", unknown, unknown, undefined>>;
|
|
244
247
|
type MnButtonVariants = VariantProps<typeof mnButtonVariants>;
|
|
245
248
|
|
|
246
249
|
interface MnButtonTypes {
|
|
@@ -287,7 +290,7 @@ declare const mnInputFieldVariants: tailwind_variants.TVReturnType<{
|
|
|
287
290
|
hover: {
|
|
288
291
|
true: string;
|
|
289
292
|
};
|
|
290
|
-
}, undefined, "bg-base-100 border-1 border-base-300 placeholder-base-content/50 text-base-content text-sm", {
|
|
293
|
+
}, undefined, "bg-base-100 border-1 border-base-300 placeholder-base-content/50 text-base-content text-sm outline-none focus:ring-1 focus:ring-primary", {
|
|
291
294
|
shadow: {
|
|
292
295
|
true: string;
|
|
293
296
|
};
|
|
@@ -339,7 +342,7 @@ declare const mnInputFieldVariants: tailwind_variants.TVReturnType<{
|
|
|
339
342
|
hover: {
|
|
340
343
|
true: string;
|
|
341
344
|
};
|
|
342
|
-
}, undefined, "bg-base-100 border-1 border-base-300 placeholder-base-content/50 text-base-content text-sm", unknown, unknown, undefined>>;
|
|
345
|
+
}, undefined, "bg-base-100 border-1 border-base-300 placeholder-base-content/50 text-base-content text-sm outline-none focus:ring-1 focus:ring-primary", unknown, unknown, undefined>>;
|
|
343
346
|
type MnInputVariants = VariantProps<typeof mnInputFieldVariants>;
|
|
344
347
|
|
|
345
348
|
/**
|
|
@@ -1852,6 +1855,8 @@ interface TableDataSource<T> {
|
|
|
1852
1855
|
pageSize?: number;
|
|
1853
1856
|
/** Options for the page-size selector dropdown. Defaults to [5, 10, 25, 50]. */
|
|
1854
1857
|
pageSizeOptions?: number[];
|
|
1858
|
+
/** Callback invoked when the user changes the page size via the dropdown. */
|
|
1859
|
+
onPageSizeChange?: (newSize: number) => void;
|
|
1855
1860
|
defaultSort?: SortState;
|
|
1856
1861
|
selectionMode?: 'none' | 'single' | 'multi';
|
|
1857
1862
|
selectedRows?: BehaviorSubject<T[]>;
|