svelora 3.0.10 → 3.0.12
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/Icon/Icon.svelte +29 -11
- package/dist/Icon/Icon.svelte.d.ts +0 -1
- package/dist/LocaleButton/LocaleButton.svelte +77 -67
- package/dist/LocaleButton/locale-button.types.d.ts +17 -0
- package/dist/LocaleButton/locale-button.variants.d.ts +72 -3
- package/dist/LocaleButton/locale-button.variants.js +24 -1
- package/dist/NavigationMenu/NavigationMenu.svelte +40 -8
- package/dist/NavigationMenu/navigation-menu.types.d.ts +17 -0
- package/dist/NavigationMenu/navigation-menu.variants.d.ts +15 -0
- package/dist/NavigationMenu/navigation-menu.variants.js +17 -1
- package/dist/Table/TableBulkActionBar.svelte +38 -0
- package/dist/Table/TableBulkActionBar.svelte.d.ts +5 -0
- package/dist/Table/index.d.ts +2 -0
- package/dist/Table/index.js +1 -0
- package/dist/Table/table-bulk-action-bar.types.d.ts +31 -0
- package/dist/Table/table-bulk-action-bar.types.js +1 -0
- package/dist/Table/table-bulk-action-bar.variants.d.ts +52 -0
- package/dist/Table/table-bulk-action-bar.variants.js +10 -0
- package/dist/config.d.ts +1 -0
- package/dist/config.js +1 -0
- package/dist/docs/navigation.d.ts +1 -0
- package/dist/docs/navigation.js +13 -5
- package/dist/mcp/svelora-docs.data.json +92 -92
- package/package.json +1 -1
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { type VariantProps } from 'tailwind-variants';
|
|
2
|
+
export declare const tableBulkActionBarVariants: import("tailwind-variants").TVReturnType<{
|
|
3
|
+
[key: string]: {
|
|
4
|
+
[key: string]: import("tailwind-merge").ClassNameValue | {
|
|
5
|
+
content?: import("tailwind-merge").ClassNameValue;
|
|
6
|
+
root?: import("tailwind-merge").ClassNameValue;
|
|
7
|
+
actions?: import("tailwind-merge").ClassNameValue;
|
|
8
|
+
countBadge?: import("tailwind-merge").ClassNameValue;
|
|
9
|
+
clearButton?: import("tailwind-merge").ClassNameValue;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
} | {
|
|
13
|
+
[x: string]: {
|
|
14
|
+
[x: string]: import("tailwind-merge").ClassNameValue | {
|
|
15
|
+
content?: import("tailwind-merge").ClassNameValue;
|
|
16
|
+
root?: import("tailwind-merge").ClassNameValue;
|
|
17
|
+
actions?: import("tailwind-merge").ClassNameValue;
|
|
18
|
+
countBadge?: import("tailwind-merge").ClassNameValue;
|
|
19
|
+
clearButton?: import("tailwind-merge").ClassNameValue;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
} | {}, {
|
|
23
|
+
root: string;
|
|
24
|
+
content: string;
|
|
25
|
+
countBadge: string;
|
|
26
|
+
actions: string;
|
|
27
|
+
clearButton: string;
|
|
28
|
+
}, undefined, {
|
|
29
|
+
[key: string]: {
|
|
30
|
+
[key: string]: import("tailwind-merge").ClassNameValue | {
|
|
31
|
+
content?: import("tailwind-merge").ClassNameValue;
|
|
32
|
+
root?: import("tailwind-merge").ClassNameValue;
|
|
33
|
+
actions?: import("tailwind-merge").ClassNameValue;
|
|
34
|
+
countBadge?: import("tailwind-merge").ClassNameValue;
|
|
35
|
+
clearButton?: import("tailwind-merge").ClassNameValue;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
} | {}, {
|
|
39
|
+
root: string;
|
|
40
|
+
content: string;
|
|
41
|
+
countBadge: string;
|
|
42
|
+
actions: string;
|
|
43
|
+
clearButton: string;
|
|
44
|
+
}, import("tailwind-variants").TVReturnType<unknown, {
|
|
45
|
+
root: string;
|
|
46
|
+
content: string;
|
|
47
|
+
countBadge: string;
|
|
48
|
+
actions: string;
|
|
49
|
+
clearButton: string;
|
|
50
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
51
|
+
export type TableBulkActionBarVariantProps = VariantProps<typeof tableBulkActionBarVariants>;
|
|
52
|
+
export type TableBulkActionBarSlots = keyof ReturnType<typeof tableBulkActionBarVariants>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { tv } from 'tailwind-variants';
|
|
2
|
+
export const tableBulkActionBarVariants = tv({
|
|
3
|
+
slots: {
|
|
4
|
+
root: 'fixed bottom-6 left-1/2 -translate-x-1/2 z-50 flex items-center justify-between gap-6 rounded-2xl border border-outline-variant/50 bg-surface/95 px-4 py-3 shadow-xl shadow-surface-container-highest/20 backdrop-blur-md',
|
|
5
|
+
content: 'flex items-center gap-3 text-sm text-on-surface whitespace-nowrap',
|
|
6
|
+
countBadge: 'font-semibold bg-primary text-on-primary px-2 py-0.5 rounded-full text-xs flex items-center justify-center min-w-[20px]',
|
|
7
|
+
actions: 'flex items-center gap-2 border-l border-outline-variant/50 pl-4',
|
|
8
|
+
clearButton: ''
|
|
9
|
+
}
|
|
10
|
+
});
|
package/dist/config.d.ts
CHANGED
package/dist/config.js
CHANGED
package/dist/docs/navigation.js
CHANGED
|
@@ -61,6 +61,7 @@ export const docsThemeItems = [
|
|
|
61
61
|
export const docsComponentGroups = [
|
|
62
62
|
{
|
|
63
63
|
title: 'General',
|
|
64
|
+
icon: 'lucide:box',
|
|
64
65
|
items: [
|
|
65
66
|
{
|
|
66
67
|
title: 'Button',
|
|
@@ -84,7 +85,7 @@ export const docsComponentGroups = [
|
|
|
84
85
|
title: 'Fonts',
|
|
85
86
|
href: '/docs/components/fonts',
|
|
86
87
|
legacyHref: '/google-fonts',
|
|
87
|
-
icon: 'lucide:
|
|
88
|
+
icon: 'lucide:type'
|
|
88
89
|
},
|
|
89
90
|
{
|
|
90
91
|
title: 'Icon',
|
|
@@ -120,6 +121,7 @@ export const docsComponentGroups = [
|
|
|
120
121
|
},
|
|
121
122
|
{
|
|
122
123
|
title: 'Layout',
|
|
124
|
+
icon: 'lucide:layout-panel-top',
|
|
123
125
|
items: [
|
|
124
126
|
{
|
|
125
127
|
title: 'BentoGrid',
|
|
@@ -143,12 +145,12 @@ export const docsComponentGroups = [
|
|
|
143
145
|
title: 'Resizable',
|
|
144
146
|
href: '/docs/components/resizable',
|
|
145
147
|
legacyHref: '/resizable',
|
|
146
|
-
icon: 'lucide:
|
|
148
|
+
icon: 'lucide:stretch-horizontal'
|
|
147
149
|
},
|
|
148
150
|
{
|
|
149
151
|
title: 'Modal',
|
|
150
152
|
href: '/docs/components/modal',
|
|
151
|
-
icon: 'lucide:
|
|
153
|
+
icon: 'lucide:app-window'
|
|
152
154
|
},
|
|
153
155
|
{
|
|
154
156
|
title: 'Navigation Menu',
|
|
@@ -178,6 +180,7 @@ export const docsComponentGroups = [
|
|
|
178
180
|
},
|
|
179
181
|
{
|
|
180
182
|
title: 'Data Display',
|
|
183
|
+
icon: 'lucide:table-properties',
|
|
181
184
|
items: [
|
|
182
185
|
{
|
|
183
186
|
title: 'Accordion',
|
|
@@ -279,6 +282,7 @@ export const docsComponentGroups = [
|
|
|
279
282
|
},
|
|
280
283
|
{
|
|
281
284
|
title: 'Forms',
|
|
285
|
+
icon: 'lucide:type',
|
|
282
286
|
items: [
|
|
283
287
|
{
|
|
284
288
|
title: 'Checkbox',
|
|
@@ -392,6 +396,7 @@ export const docsComponentGroups = [
|
|
|
392
396
|
},
|
|
393
397
|
{
|
|
394
398
|
title: 'Feedback',
|
|
399
|
+
icon: 'lucide:message-square',
|
|
395
400
|
items: [
|
|
396
401
|
{
|
|
397
402
|
title: 'Alert',
|
|
@@ -439,6 +444,7 @@ export const docsComponentGroups = [
|
|
|
439
444
|
},
|
|
440
445
|
{
|
|
441
446
|
title: 'Navigation',
|
|
447
|
+
icon: 'lucide:compass',
|
|
442
448
|
items: [
|
|
443
449
|
{
|
|
444
450
|
title: 'Breadcrumb',
|
|
@@ -456,7 +462,7 @@ export const docsComponentGroups = [
|
|
|
456
462
|
title: 'Sidebar',
|
|
457
463
|
href: '/docs/components/sidebar',
|
|
458
464
|
legacyHref: '/sidebar',
|
|
459
|
-
icon: 'lucide:
|
|
465
|
+
icon: 'lucide:panel-left'
|
|
460
466
|
},
|
|
461
467
|
{
|
|
462
468
|
title: 'Stepper',
|
|
@@ -474,6 +480,7 @@ export const docsComponentGroups = [
|
|
|
474
480
|
},
|
|
475
481
|
{
|
|
476
482
|
title: 'Overlay',
|
|
483
|
+
icon: 'lucide:layers',
|
|
477
484
|
items: [
|
|
478
485
|
{
|
|
479
486
|
title: 'Collapsible',
|
|
@@ -533,6 +540,7 @@ export const docsComponentGroups = [
|
|
|
533
540
|
},
|
|
534
541
|
{
|
|
535
542
|
title: 'Date & Time',
|
|
543
|
+
icon: 'lucide:calendar',
|
|
536
544
|
items: [
|
|
537
545
|
{
|
|
538
546
|
title: 'Calendar',
|
|
@@ -656,7 +664,7 @@ export const docsHookItems = [
|
|
|
656
664
|
export const docsTopNav = [
|
|
657
665
|
{ title: 'Docs', href: '/docs', icon: 'lucide:book-open' },
|
|
658
666
|
{ title: 'Components', href: '/docs/components/button', icon: 'lucide:blocks' },
|
|
659
|
-
{ title: 'Hooks', href: '/docs/hooks/use-debounce', icon: 'lucide:
|
|
667
|
+
{ title: 'Hooks', href: '/docs/hooks/use-debounce', icon: 'lucide:webhook' }
|
|
660
668
|
];
|
|
661
669
|
export const allComponentItems = docsComponentGroups.flatMap((group) => group.items);
|
|
662
670
|
export const allDocsItems = [
|