@dlbcodes/ui 0.8.0
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/LICENSE +21 -0
- package/README.md +70 -0
- package/dist/index.js +3252 -0
- package/dist/lib/components/form/Checkbox.test.d.ts +1 -0
- package/dist/lib/components/form/Checkbox.vue.d.ts +24 -0
- package/dist/lib/components/form/Input.test.d.ts +1 -0
- package/dist/lib/components/form/Input.vue.d.ts +49 -0
- package/dist/lib/components/form/Switch.test.d.ts +1 -0
- package/dist/lib/components/form/Switch.vue.d.ts +17 -0
- package/dist/lib/components/form/Textarea.test.d.ts +1 -0
- package/dist/lib/components/form/Textarea.vue.d.ts +52 -0
- package/dist/lib/components/form/_shared/SearchInput.vue.d.ts +15 -0
- package/dist/lib/components/form/combobox/Combobox.test.d.ts +1 -0
- package/dist/lib/components/form/combobox/Combobox.vue.d.ts +31 -0
- package/dist/lib/components/form/combobox/ComboboxContent.vue.d.ts +24 -0
- package/dist/lib/components/form/combobox/ComboboxEmpty.vue.d.ts +17 -0
- package/dist/lib/components/form/combobox/ComboboxInput.vue.d.ts +13 -0
- package/dist/lib/components/form/combobox/ComboboxItem.vue.d.ts +29 -0
- package/dist/lib/components/form/combobox/context.d.ts +18 -0
- package/dist/lib/components/form/combobox/index.d.ts +5 -0
- package/dist/lib/components/form/dropdown/Dropdown.test.d.ts +1 -0
- package/dist/lib/components/form/dropdown/Dropdown.vue.d.ts +27 -0
- package/dist/lib/components/form/dropdown/DropdownContent.vue.d.ts +25 -0
- package/dist/lib/components/form/dropdown/DropdownItem.vue.d.ts +28 -0
- package/dist/lib/components/form/dropdown/DropdownTrigger.vue.d.ts +24 -0
- package/dist/lib/components/form/dropdown/index.d.ts +4 -0
- package/dist/lib/components/form/field/Field.test.d.ts +1 -0
- package/dist/lib/components/form/field/Field.vue.d.ts +31 -0
- package/dist/lib/components/form/field/FieldContent.vue.d.ts +21 -0
- package/dist/lib/components/form/field/FieldDescription.vue.d.ts +21 -0
- package/dist/lib/components/form/field/FieldError.vue.d.ts +21 -0
- package/dist/lib/components/form/field/FieldLabel.vue.d.ts +22 -0
- package/dist/lib/components/form/field/index.d.ts +5 -0
- package/dist/lib/components/form/multiselect/MultiSelect.test.d.ts +1 -0
- package/dist/lib/components/form/multiselect/MultiSelect.vue.d.ts +51 -0
- package/dist/lib/components/form/multiselect/MultiSelectContent.vue.d.ts +25 -0
- package/dist/lib/components/form/multiselect/MultiSelectItem.vue.d.ts +24 -0
- package/dist/lib/components/form/multiselect/MultiSelectSearch.vue.d.ts +7 -0
- package/dist/lib/components/form/multiselect/MultiSelectTrigger.vue.d.ts +29 -0
- package/dist/lib/components/form/multiselect/context.d.ts +13 -0
- package/dist/lib/components/form/multiselect/index.d.ts +5 -0
- package/dist/lib/components/form/multiselect/use-context.d.ts +2 -0
- package/dist/lib/components/form/select/Select.test.d.ts +1 -0
- package/dist/lib/components/form/select/Select.vue.d.ts +33 -0
- package/dist/lib/components/form/select/SelectContent.vue.d.ts +28 -0
- package/dist/lib/components/form/select/SelectItem.vue.d.ts +34 -0
- package/dist/lib/components/form/select/SelectSearch.vue.d.ts +7 -0
- package/dist/lib/components/form/select/SelectTrigger.vue.d.ts +31 -0
- package/dist/lib/components/form/select/context.d.ts +32 -0
- package/dist/lib/components/form/select/index.d.ts +6 -0
- package/dist/lib/components/overlays/modal/Modal.test.d.ts +1 -0
- package/dist/lib/components/overlays/modal/Modal.vue.d.ts +49 -0
- package/dist/lib/components/overlays/modal/ModalClose.vue.d.ts +21 -0
- package/dist/lib/components/overlays/modal/ModalContent.vue.d.ts +21 -0
- package/dist/lib/components/overlays/modal/ModalDescription.vue.d.ts +21 -0
- package/dist/lib/components/overlays/modal/ModalFooter.vue.d.ts +21 -0
- package/dist/lib/components/overlays/modal/ModalHeader.vue.d.ts +21 -0
- package/dist/lib/components/overlays/modal/ModalTitle.vue.d.ts +21 -0
- package/dist/lib/components/overlays/modal/index.d.ts +7 -0
- package/dist/lib/components/overlays/modal/modal-context.d.ts +17 -0
- package/dist/lib/components/overlays/popover/Popover.test.d.ts +1 -0
- package/dist/lib/components/overlays/popover/Popover.vue.d.ts +27 -0
- package/dist/lib/components/overlays/popover/PopoverContent.vue.d.ts +27 -0
- package/dist/lib/components/overlays/popover/PopoverTrigger.vue.d.ts +24 -0
- package/dist/lib/components/overlays/popover/index.d.ts +3 -0
- package/dist/lib/components/primitives/Avatar.test.d.ts +1 -0
- package/dist/lib/components/primitives/Avatar.vue.d.ts +14 -0
- package/dist/lib/components/primitives/Badge.test.d.ts +1 -0
- package/dist/lib/components/primitives/Badge.vue.d.ts +25 -0
- package/dist/lib/components/primitives/Button.test.d.ts +1 -0
- package/dist/lib/components/primitives/Button.vue.d.ts +37 -0
- package/dist/lib/components/primitives/Kbd.test.d.ts +1 -0
- package/dist/lib/components/primitives/Kbd.vue.d.ts +21 -0
- package/dist/lib/components/primitives/KbdGroup.test.d.ts +1 -0
- package/dist/lib/components/primitives/KbdGroup.vue.d.ts +27 -0
- package/dist/lib/components/primitives/Label.test.d.ts +1 -0
- package/dist/lib/components/primitives/Label.vue.d.ts +23 -0
- package/dist/lib/components/primitives/Progress.test.d.ts +1 -0
- package/dist/lib/components/primitives/Progress.vue.d.ts +13 -0
- package/dist/lib/components/primitives/Separator.test.d.ts +1 -0
- package/dist/lib/components/primitives/Separator.vue.d.ts +12 -0
- package/dist/lib/components/primitives/Skeleton.test.d.ts +1 -0
- package/dist/lib/components/primitives/Skeleton.vue.d.ts +6 -0
- package/dist/lib/components/primitives/Spinner.test.d.ts +1 -0
- package/dist/lib/components/primitives/Spinner.vue.d.ts +9 -0
- package/dist/lib/components/primitives/alert/Alert.test.d.ts +1 -0
- package/dist/lib/components/primitives/alert/Alert.vue.d.ts +27 -0
- package/dist/lib/components/primitives/alert/AlertDescription.vue.d.ts +21 -0
- package/dist/lib/components/primitives/alert/AlertTitle.vue.d.ts +21 -0
- package/dist/lib/components/primitives/alert/index.d.ts +3 -0
- package/dist/lib/components/primitives/disclosure/Disclosure.test.d.ts +1 -0
- package/dist/lib/components/primitives/disclosure/Disclosure.vue.d.ts +27 -0
- package/dist/lib/components/primitives/disclosure/DisclosureContent.vue.d.ts +21 -0
- package/dist/lib/components/primitives/disclosure/DisclosureTrigger.vue.d.ts +23 -0
- package/dist/lib/components/primitives/disclosure/index.d.ts +3 -0
- package/dist/lib/components/primitives/empty/Empty.test.d.ts +1 -0
- package/dist/lib/components/primitives/empty/Empty.vue.d.ts +21 -0
- package/dist/lib/components/primitives/empty/EmptyContent.vue.d.ts +21 -0
- package/dist/lib/components/primitives/empty/EmptyDescription.vue.d.ts +21 -0
- package/dist/lib/components/primitives/empty/EmptyHeader.vue.d.ts +21 -0
- package/dist/lib/components/primitives/empty/EmptyMedia.vue.d.ts +25 -0
- package/dist/lib/components/primitives/empty/EmptyTitle.vue.d.ts +21 -0
- package/dist/lib/components/primitives/empty/index.d.ts +6 -0
- package/dist/lib/components/primitives/index.d.ts +16 -0
- package/dist/lib/components/primitives/panel/Panel.test.d.ts +1 -0
- package/dist/lib/components/primitives/panel/Panel.vue.d.ts +21 -0
- package/dist/lib/components/primitives/panel/PanelContent.vue.d.ts +21 -0
- package/dist/lib/components/primitives/panel/PanelFooter.vue.d.ts +21 -0
- package/dist/lib/components/primitives/panel/PanelHeader.vue.d.ts +21 -0
- package/dist/lib/components/primitives/panel/index.d.ts +4 -0
- package/dist/lib/components/primitives/sidebar/Sidebar.test.d.ts +1 -0
- package/dist/lib/components/primitives/sidebar/Sidebar.vue.d.ts +22 -0
- package/dist/lib/components/primitives/sidebar/SidebarContent.vue.d.ts +21 -0
- package/dist/lib/components/primitives/sidebar/SidebarFooter.vue.d.ts +21 -0
- package/dist/lib/components/primitives/sidebar/SidebarGroup.vue.d.ts +23 -0
- package/dist/lib/components/primitives/sidebar/SidebarHeader.vue.d.ts +21 -0
- package/dist/lib/components/primitives/sidebar/SidebarItem.vue.d.ts +34 -0
- package/dist/lib/components/primitives/sidebar/SidebarProvider.vue.d.ts +17 -0
- package/dist/lib/components/primitives/sidebar/SidebarTrigger.vue.d.ts +6 -0
- package/dist/lib/components/primitives/sidebar/context.d.ts +12 -0
- package/dist/lib/components/primitives/sidebar/index.d.ts +9 -0
- package/dist/lib/components/primitives/tabs/Tabs.test.d.ts +1 -0
- package/dist/lib/components/primitives/tabs/Tabs.vue.d.ts +34 -0
- package/dist/lib/components/primitives/tabs/TabsContent.vue.d.ts +21 -0
- package/dist/lib/components/primitives/tabs/TabsList.vue.d.ts +21 -0
- package/dist/lib/components/primitives/tabs/TabsPanels.vue.d.ts +21 -0
- package/dist/lib/components/primitives/tabs/TabsTrigger.vue.d.ts +24 -0
- package/dist/lib/components/primitives/tabs/index.d.ts +5 -0
- package/dist/lib/core/field-context.d.ts +24 -0
- package/dist/lib/core/placement.d.ts +1 -0
- package/dist/lib/core/transitions.d.ts +8 -0
- package/dist/lib/index.d.ts +19 -0
- package/dist/lib/styles/tokens.css +125 -0
- package/dist/lib/utils/cn.d.ts +2 -0
- package/dist/lib/variants/alert.d.ts +5 -0
- package/dist/lib/variants/avatar.d.ts +5 -0
- package/dist/lib/variants/badge.d.ts +5 -0
- package/dist/lib/variants/button.d.ts +6 -0
- package/dist/lib/variants/empty.d.ts +5 -0
- package/dist/lib/variants/input.d.ts +7 -0
- package/dist/lib/variants/menu-item.d.ts +5 -0
- package/dist/lib/variants/modal.d.ts +5 -0
- package/dist/lib/variants/popover.d.ts +5 -0
- package/dist/lib/variants/separator.d.ts +5 -0
- package/dist/lib/variants/sidebar.d.ts +5 -0
- package/dist/lib/variants/tabs.d.ts +6 -0
- package/package.json +68 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'vue';
|
|
2
|
+
interface Props {
|
|
3
|
+
class?: HTMLAttributes["class"];
|
|
4
|
+
}
|
|
5
|
+
declare function __VLS_template(): {
|
|
6
|
+
attrs: Partial<{}>;
|
|
7
|
+
slots: {
|
|
8
|
+
default?(_: {}): any;
|
|
9
|
+
default?(_: {}): any;
|
|
10
|
+
};
|
|
11
|
+
refs: {};
|
|
12
|
+
rootEl: any;
|
|
13
|
+
};
|
|
14
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
15
|
+
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
16
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
17
|
+
export default _default;
|
|
18
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
19
|
+
new (): {
|
|
20
|
+
$slots: S;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'vue';
|
|
2
|
+
interface Props {
|
|
3
|
+
class?: HTMLAttributes["class"];
|
|
4
|
+
}
|
|
5
|
+
declare function __VLS_template(): {
|
|
6
|
+
attrs: Partial<{}>;
|
|
7
|
+
slots: {
|
|
8
|
+
default?(_: {}): any;
|
|
9
|
+
};
|
|
10
|
+
refs: {};
|
|
11
|
+
rootEl: HTMLDivElement;
|
|
12
|
+
};
|
|
13
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
14
|
+
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
15
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
16
|
+
export default _default;
|
|
17
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
18
|
+
new (): {
|
|
19
|
+
$slots: S;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'vue';
|
|
2
|
+
interface Props {
|
|
3
|
+
class?: HTMLAttributes["class"];
|
|
4
|
+
}
|
|
5
|
+
declare function __VLS_template(): {
|
|
6
|
+
attrs: Partial<{}>;
|
|
7
|
+
slots: {
|
|
8
|
+
default?(_: {}): any;
|
|
9
|
+
};
|
|
10
|
+
refs: {};
|
|
11
|
+
rootEl: HTMLDivElement;
|
|
12
|
+
};
|
|
13
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
14
|
+
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
15
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
16
|
+
export default _default;
|
|
17
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
18
|
+
new (): {
|
|
19
|
+
$slots: S;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'vue';
|
|
2
|
+
interface Props {
|
|
3
|
+
/** Optional group heading. */
|
|
4
|
+
label?: string;
|
|
5
|
+
class?: HTMLAttributes["class"];
|
|
6
|
+
}
|
|
7
|
+
declare function __VLS_template(): {
|
|
8
|
+
attrs: Partial<{}>;
|
|
9
|
+
slots: {
|
|
10
|
+
default?(_: {}): any;
|
|
11
|
+
};
|
|
12
|
+
refs: {};
|
|
13
|
+
rootEl: HTMLDivElement;
|
|
14
|
+
};
|
|
15
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
16
|
+
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
17
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
18
|
+
export default _default;
|
|
19
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
20
|
+
new (): {
|
|
21
|
+
$slots: S;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'vue';
|
|
2
|
+
interface Props {
|
|
3
|
+
class?: HTMLAttributes["class"];
|
|
4
|
+
}
|
|
5
|
+
declare function __VLS_template(): {
|
|
6
|
+
attrs: Partial<{}>;
|
|
7
|
+
slots: {
|
|
8
|
+
default?(_: {}): any;
|
|
9
|
+
};
|
|
10
|
+
refs: {};
|
|
11
|
+
rootEl: HTMLDivElement;
|
|
12
|
+
};
|
|
13
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
14
|
+
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
15
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
16
|
+
export default _default;
|
|
17
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
18
|
+
new (): {
|
|
19
|
+
$slots: S;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { Component, HTMLAttributes } from 'vue';
|
|
2
|
+
interface Props {
|
|
3
|
+
/**
|
|
4
|
+
* The element/component to render as. Use "a" for a plain link,
|
|
5
|
+
* or pass RouterLink (Vue) / NuxtLink (Nuxt) for SPA navigation.
|
|
6
|
+
*/
|
|
7
|
+
as?: string | Component;
|
|
8
|
+
/** Whether this item is the active route (consumer-controlled). */
|
|
9
|
+
active?: boolean;
|
|
10
|
+
/** Whether this item is disabled (visible but not interactive). */
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
class?: HTMLAttributes["class"];
|
|
13
|
+
}
|
|
14
|
+
declare function __VLS_template(): {
|
|
15
|
+
attrs: Partial<{}>;
|
|
16
|
+
slots: {
|
|
17
|
+
default?(_: {}): any;
|
|
18
|
+
};
|
|
19
|
+
refs: {};
|
|
20
|
+
rootEl: any;
|
|
21
|
+
};
|
|
22
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
23
|
+
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
24
|
+
as: string | Component;
|
|
25
|
+
disabled: boolean;
|
|
26
|
+
active: boolean;
|
|
27
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
28
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
29
|
+
export default _default;
|
|
30
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
31
|
+
new (): {
|
|
32
|
+
$slots: S;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
attrs: Partial<{}>;
|
|
3
|
+
slots: {
|
|
4
|
+
default?(_: {}): any;
|
|
5
|
+
};
|
|
6
|
+
refs: {};
|
|
7
|
+
rootEl: any;
|
|
8
|
+
};
|
|
9
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
10
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
11
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
12
|
+
export default _default;
|
|
13
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
14
|
+
new (): {
|
|
15
|
+
$slots: S;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'vue';
|
|
2
|
+
interface Props {
|
|
3
|
+
class?: HTMLAttributes["class"];
|
|
4
|
+
}
|
|
5
|
+
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLButtonElement>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { InjectionKey, Ref } from 'vue';
|
|
2
|
+
export interface SidebarContext {
|
|
3
|
+
isMobile: Ref<boolean>;
|
|
4
|
+
mobileOpen: Ref<boolean>;
|
|
5
|
+
collapsed: Ref<boolean>;
|
|
6
|
+
open: () => void;
|
|
7
|
+
close: () => void;
|
|
8
|
+
toggle: () => void;
|
|
9
|
+
}
|
|
10
|
+
export declare const SidebarContextKey: InjectionKey<SidebarContext>;
|
|
11
|
+
export declare const provideSidebar: (ctx: SidebarContext) => void;
|
|
12
|
+
export declare const useSidebar: () => SidebarContext;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export { default as SidebarProvider } from './SidebarProvider.vue';
|
|
2
|
+
export { default as Sidebar } from './Sidebar.vue';
|
|
3
|
+
export { default as SidebarTrigger } from './SidebarTrigger.vue';
|
|
4
|
+
export { default as SidebarHeader } from './SidebarHeader.vue';
|
|
5
|
+
export { default as SidebarContent } from './SidebarContent.vue';
|
|
6
|
+
export { default as SidebarFooter } from './SidebarFooter.vue';
|
|
7
|
+
export { default as SidebarGroup } from './SidebarGroup.vue';
|
|
8
|
+
export { default as SidebarItem } from './SidebarItem.vue';
|
|
9
|
+
export { useSidebar } from './context';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'vue';
|
|
2
|
+
interface Props {
|
|
3
|
+
/** Initial selected tab index (uncontrolled). */
|
|
4
|
+
defaultIndex?: number;
|
|
5
|
+
/** Controlled selected tab index. */
|
|
6
|
+
selectedIndex?: number;
|
|
7
|
+
/** Only change tab on Enter/Space, not on focus. */
|
|
8
|
+
manual?: boolean;
|
|
9
|
+
class?: HTMLAttributes["class"];
|
|
10
|
+
}
|
|
11
|
+
declare function __VLS_template(): {
|
|
12
|
+
attrs: Partial<{}>;
|
|
13
|
+
slots: {
|
|
14
|
+
default?(_: {}): any;
|
|
15
|
+
};
|
|
16
|
+
refs: {};
|
|
17
|
+
rootEl: any;
|
|
18
|
+
};
|
|
19
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
20
|
+
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
21
|
+
change: (index: number) => any;
|
|
22
|
+
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
23
|
+
onChange?: ((index: number) => any) | undefined;
|
|
24
|
+
}>, {
|
|
25
|
+
defaultIndex: number;
|
|
26
|
+
manual: boolean;
|
|
27
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
28
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
29
|
+
export default _default;
|
|
30
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
31
|
+
new (): {
|
|
32
|
+
$slots: S;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'vue';
|
|
2
|
+
interface Props {
|
|
3
|
+
class?: HTMLAttributes["class"];
|
|
4
|
+
}
|
|
5
|
+
declare function __VLS_template(): {
|
|
6
|
+
attrs: Partial<{}>;
|
|
7
|
+
slots: {
|
|
8
|
+
default?(_: {}): any;
|
|
9
|
+
};
|
|
10
|
+
refs: {};
|
|
11
|
+
rootEl: any;
|
|
12
|
+
};
|
|
13
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
14
|
+
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
15
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
16
|
+
export default _default;
|
|
17
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
18
|
+
new (): {
|
|
19
|
+
$slots: S;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'vue';
|
|
2
|
+
interface Props {
|
|
3
|
+
class?: HTMLAttributes["class"];
|
|
4
|
+
}
|
|
5
|
+
declare function __VLS_template(): {
|
|
6
|
+
attrs: Partial<{}>;
|
|
7
|
+
slots: {
|
|
8
|
+
default?(_: {}): any;
|
|
9
|
+
};
|
|
10
|
+
refs: {};
|
|
11
|
+
rootEl: any;
|
|
12
|
+
};
|
|
13
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
14
|
+
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
15
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
16
|
+
export default _default;
|
|
17
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
18
|
+
new (): {
|
|
19
|
+
$slots: S;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'vue';
|
|
2
|
+
interface Props {
|
|
3
|
+
class?: HTMLAttributes["class"];
|
|
4
|
+
}
|
|
5
|
+
declare function __VLS_template(): {
|
|
6
|
+
attrs: Partial<{}>;
|
|
7
|
+
slots: {
|
|
8
|
+
default?(_: {}): any;
|
|
9
|
+
};
|
|
10
|
+
refs: {};
|
|
11
|
+
rootEl: any;
|
|
12
|
+
};
|
|
13
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
14
|
+
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
15
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
16
|
+
export default _default;
|
|
17
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
18
|
+
new (): {
|
|
19
|
+
$slots: S;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'vue';
|
|
2
|
+
interface Props {
|
|
3
|
+
disabled?: boolean;
|
|
4
|
+
class?: HTMLAttributes["class"];
|
|
5
|
+
}
|
|
6
|
+
declare function __VLS_template(): {
|
|
7
|
+
attrs: Partial<{}>;
|
|
8
|
+
slots: {
|
|
9
|
+
default?(_: {
|
|
10
|
+
selected: any;
|
|
11
|
+
}): any;
|
|
12
|
+
};
|
|
13
|
+
refs: {};
|
|
14
|
+
rootEl: any;
|
|
15
|
+
};
|
|
16
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
17
|
+
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
18
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
19
|
+
export default _default;
|
|
20
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
21
|
+
new (): {
|
|
22
|
+
$slots: S;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { default as Tabs } from './Tabs.vue';
|
|
2
|
+
export { default as TabsList } from './TabsList.vue';
|
|
3
|
+
export { default as TabsTrigger } from './TabsTrigger.vue';
|
|
4
|
+
export { default as TabsPanels } from './TabsPanels.vue';
|
|
5
|
+
export { default as TabsContent } from './TabsContent.vue';
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { InjectionKey, ComputedRef } from 'vue';
|
|
2
|
+
/**
|
|
3
|
+
* Shared field state. FieldRoot provides it; FieldLabel/Description/Error use it
|
|
4
|
+
* to generate matching ids, and form controls (Input, Textarea, Checkbox, the
|
|
5
|
+
* Select trigger, ...) optionally inject it to wire aria-describedby /
|
|
6
|
+
* aria-invalid / id. Controls still work standalone when there's no Field.
|
|
7
|
+
*/
|
|
8
|
+
export interface FieldContext {
|
|
9
|
+
/** Base id for the field; the control uses it as its element id. */
|
|
10
|
+
id: ComputedRef<string>;
|
|
11
|
+
/** Id of the description element (for aria-describedby). */
|
|
12
|
+
descriptionId: ComputedRef<string>;
|
|
13
|
+
/** Id of the error element (for aria-describedby). */
|
|
14
|
+
errorId: ComputedRef<string>;
|
|
15
|
+
/** Whichever message id should describe the control (error wins). */
|
|
16
|
+
describedById: ComputedRef<string | undefined>;
|
|
17
|
+
/** Whether the field is invalid (drives aria-invalid + data-invalid styling). */
|
|
18
|
+
invalid: ComputedRef<boolean>;
|
|
19
|
+
/** Whether the field is disabled. */
|
|
20
|
+
disabled: ComputedRef<boolean>;
|
|
21
|
+
/** Whether the field is required. */
|
|
22
|
+
required: ComputedRef<boolean>;
|
|
23
|
+
}
|
|
24
|
+
export declare const FieldKey: InjectionKey<FieldContext>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type Placement = "bottom-start" | "bottom-end" | "bottom" | "top-start" | "top-end" | "top";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare const overlayTransition: {
|
|
2
|
+
readonly enter: "transition ease-out duration-150 motion-reduce:transition-none";
|
|
3
|
+
readonly enterFrom: "opacity-0 scale-95 motion-reduce:scale-100";
|
|
4
|
+
readonly enterTo: "opacity-100 scale-100";
|
|
5
|
+
readonly leave: "transition-none";
|
|
6
|
+
readonly leaveFrom: "opacity-100";
|
|
7
|
+
readonly leaveTo: "opacity-0";
|
|
8
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export * from './components/primitives';
|
|
2
|
+
export * from './components/form/field';
|
|
3
|
+
export * from './components/form/select';
|
|
4
|
+
export * from './components/form/multiselect';
|
|
5
|
+
export * from './components/form/dropdown';
|
|
6
|
+
export * from './components/form/combobox';
|
|
7
|
+
export { default as Input } from './components/form/Input.vue';
|
|
8
|
+
export { default as Textarea } from './components/form/Textarea.vue';
|
|
9
|
+
export { default as Checkbox } from './components/form/Checkbox.vue';
|
|
10
|
+
export { default as Switch } from './components/form/Switch.vue';
|
|
11
|
+
export * from './components/overlays/popover';
|
|
12
|
+
export * from './components/overlays/modal';
|
|
13
|
+
export { cn } from './utils/cn';
|
|
14
|
+
export * from './variants/button';
|
|
15
|
+
export * from './variants/badge';
|
|
16
|
+
export * from './variants/input';
|
|
17
|
+
export * from './variants/popover';
|
|
18
|
+
export type { FieldContext } from './core/field-context';
|
|
19
|
+
export { FieldKey } from './core/field-context';
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
@theme {
|
|
2
|
+
/* ═══════════════════════════════════════════════════════════════
|
|
3
|
+
1 · PRIMITIVES — the raw palette (internal)
|
|
4
|
+
Source colors. You normally DON'T override these; theme via the
|
|
5
|
+
semantic tokens in section 2. Override a primitive only to shift
|
|
6
|
+
every semantic token that references it at once.
|
|
7
|
+
═══════════════════════════════════════════════════════════════ */
|
|
8
|
+
|
|
9
|
+
/* Neutrals — text ramp (light → dark) */
|
|
10
|
+
--color-text-100: oklch(94.5% 0.009 96);
|
|
11
|
+
--color-text-300: oklch(87% 0.0155 96);
|
|
12
|
+
--color-text-500: oklch(76% 0.0155 97);
|
|
13
|
+
--color-text-700: oklch(55.11% 0.0092 99);
|
|
14
|
+
--color-text-900: oklch(19.08% 0.002 106.6);
|
|
15
|
+
|
|
16
|
+
/* Neutrals — background ramp (light → dark) */
|
|
17
|
+
--color-bg-0: oklch(100% 0 0);
|
|
18
|
+
--color-bg-100: oklch(98.18% 0.0054 95.1);
|
|
19
|
+
--color-bg-200: oklch(96.6% 0.0093 100);
|
|
20
|
+
--color-bg-300: oklch(94.85% 0.0109 95.2);
|
|
21
|
+
--color-bg-400: oklch(92.37% 0.0135 97.5);
|
|
22
|
+
--color-bg-600: oklch(84.5% 0.018 97);
|
|
23
|
+
--color-bg-900: oklch(0% 0 0);
|
|
24
|
+
|
|
25
|
+
/* Brand */
|
|
26
|
+
--color-brand-100: oklch(60.78% 0.1379 39.01);
|
|
27
|
+
--color-brand-200: oklch(67.24% 0.1308 38.76);
|
|
28
|
+
|
|
29
|
+
/* Accent */
|
|
30
|
+
--color-accent-pro-200: oklch(45.78% 0.143 287.89);
|
|
31
|
+
|
|
32
|
+
/* Status — success (green) */
|
|
33
|
+
--color-success-100: oklch(52% 0.13 152); /* text */
|
|
34
|
+
--color-success-200: oklch(90% 0.06 152); /* border */
|
|
35
|
+
--color-success-300: oklch(96.5% 0.03 152); /* surface */
|
|
36
|
+
|
|
37
|
+
/* Status — warning (amber) */
|
|
38
|
+
--color-warning-100: oklch(55% 0.12 75); /* text */
|
|
39
|
+
--color-warning-200: oklch(90% 0.08 85); /* border */
|
|
40
|
+
--color-warning-300: oklch(96.5% 0.04 85); /* surface */
|
|
41
|
+
|
|
42
|
+
/* Status — info (blue) */
|
|
43
|
+
--color-info-100: oklch(52% 0.15 250); /* text */
|
|
44
|
+
--color-info-200: oklch(90% 0.06 245); /* border */
|
|
45
|
+
--color-info-300: oklch(96.5% 0.03 245); /* surface */
|
|
46
|
+
|
|
47
|
+
/* Status — danger (red) */
|
|
48
|
+
--color-danger-100: oklch(52% 0.17 25); /* text */
|
|
49
|
+
--color-danger-200: oklch(90% 0.06 18); /* border */
|
|
50
|
+
--color-danger-300: oklch(96% 0.03 18); /* surface */
|
|
51
|
+
|
|
52
|
+
/* ═══════════════════════════════════════════════════════════════
|
|
53
|
+
2 · SEMANTIC TOKENS — the public theming API
|
|
54
|
+
Maps roles onto the primitives above. THIS is the layer to
|
|
55
|
+
override: set a semantic token to any value to retarget that role.
|
|
56
|
+
═══════════════════════════════════════════════════════════════ */
|
|
57
|
+
|
|
58
|
+
/* Text */
|
|
59
|
+
--color-text-primary: var(--color-text-900); /* body copy, headings */
|
|
60
|
+
--color-text-secondary: var(--color-text-700); /* labels, metadata */
|
|
61
|
+
--color-text-tertiary: var(--color-text-500); /* placeholders, hints */
|
|
62
|
+
--color-text-disabled: var(--color-text-300); /* disabled state */
|
|
63
|
+
--color-text-inverse: var(--color-text-100); /* text on dark surfaces */
|
|
64
|
+
|
|
65
|
+
/* Background */
|
|
66
|
+
--color-bg-base: var(--color-bg-100); /* page background */
|
|
67
|
+
--color-bg-surface: var(--color-bg-200); /* cards, panels */
|
|
68
|
+
--color-bg-raised: var(--color-bg-0); /* floating/selected surface */
|
|
69
|
+
--color-bg-elevated: var(--color-bg-300); /* dropdowns, tooltips */
|
|
70
|
+
--color-bg-subtle: var(--color-bg-400); /* hover states, tags */
|
|
71
|
+
--color-bg-strong: var(--color-bg-600); /* separators, badges */
|
|
72
|
+
--color-bg-inverse: var(--color-bg-900); /* dark surfaces, banners */
|
|
73
|
+
|
|
74
|
+
/* Border */
|
|
75
|
+
--color-border-subtle: var(--color-bg-300); /* soft dividers */
|
|
76
|
+
--color-border-default: var(--color-bg-400); /* inputs, cards */
|
|
77
|
+
--color-border-strong: var(--color-bg-600); /* focus, emphasis */
|
|
78
|
+
--color-border-dark: var(--color-bg-900); /* strong outline */
|
|
79
|
+
|
|
80
|
+
/* Status — success */
|
|
81
|
+
--color-success-surface: var(--color-success-300);
|
|
82
|
+
--color-success-border: var(--color-success-200);
|
|
83
|
+
--color-success-text: var(--color-success-100);
|
|
84
|
+
|
|
85
|
+
/* Status — warning */
|
|
86
|
+
--color-warning-surface: var(--color-warning-300);
|
|
87
|
+
--color-warning-border: var(--color-warning-200);
|
|
88
|
+
--color-warning-text: var(--color-warning-100);
|
|
89
|
+
|
|
90
|
+
/* Status — info */
|
|
91
|
+
--color-info-surface: var(--color-info-300);
|
|
92
|
+
--color-info-border: var(--color-info-200);
|
|
93
|
+
--color-info-text: var(--color-info-100);
|
|
94
|
+
|
|
95
|
+
/* Status — danger */
|
|
96
|
+
--color-danger-surface: var(--color-danger-300);
|
|
97
|
+
--color-danger-border: var(--color-danger-200);
|
|
98
|
+
--color-danger-text: var(--color-danger-100);
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
/* ═══════════════════════════════════════════════════════════════════
|
|
102
|
+
3 · UTILITIES
|
|
103
|
+
═══════════════════════════════════════════════════════════════════ */
|
|
104
|
+
|
|
105
|
+
@utility no-scrollbar {
|
|
106
|
+
scrollbar-width: none;
|
|
107
|
+
&::-webkit-scrollbar {
|
|
108
|
+
display: none;
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
@utility scrollbar-thin {
|
|
113
|
+
scrollbar-width: thin;
|
|
114
|
+
scrollbar-color: var(--color-bg-strong) transparent;
|
|
115
|
+
&::-webkit-scrollbar {
|
|
116
|
+
width: 6px;
|
|
117
|
+
}
|
|
118
|
+
&::-webkit-scrollbar-thumb {
|
|
119
|
+
background-color: var(--color-bg-strong);
|
|
120
|
+
border-radius: 3px;
|
|
121
|
+
}
|
|
122
|
+
&::-webkit-scrollbar-track {
|
|
123
|
+
background: transparent;
|
|
124
|
+
}
|
|
125
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
export declare const alertVariants: (props?: ({
|
|
3
|
+
variant?: "success" | "info" | "neutral" | "warning" | "danger" | null | undefined;
|
|
4
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
5
|
+
export type AlertVariantsProps = VariantProps<typeof alertVariants>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
export declare const avatarVariants: (props?: ({
|
|
3
|
+
size?: "xl" | "lg" | "base" | "sm" | "10xl" | "9xl" | "8xl" | "7xl" | "6xl" | "5xl" | "4xl" | "3xl" | "2xl" | "xs" | null | undefined;
|
|
4
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
5
|
+
export type AvatarProps = VariantProps<typeof avatarVariants>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
export declare const badgeVariants: (props?: ({
|
|
3
|
+
variant?: "primary" | "destructive" | "outline" | "success" | "pending" | "info" | "neutral" | null | undefined;
|
|
4
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
5
|
+
export type BadgeProps = VariantProps<typeof badgeVariants>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
export declare const buttonVariants: (props?: ({
|
|
3
|
+
variant?: "primary" | "secondary" | "destructive" | "outline" | "ghost" | "link" | "icon" | null | undefined;
|
|
4
|
+
size?: "icon" | "xl" | "lg" | "base" | "sm" | "icon-sm" | null | undefined;
|
|
5
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
6
|
+
export type ButtonProps = VariantProps<typeof buttonVariants>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
export declare const emptyMediaVariants: (props?: ({
|
|
3
|
+
variant?: "icon" | "default" | null | undefined;
|
|
4
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
5
|
+
export type EmptyMediaVariants = VariantProps<typeof emptyMediaVariants>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
export declare const inputVariants: (props?: ({
|
|
3
|
+
variant?: "primary" | "contrast" | null | undefined;
|
|
4
|
+
size?: "base" | "sm" | null | undefined;
|
|
5
|
+
invalid?: boolean | null | undefined;
|
|
6
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
7
|
+
export type InputProps = VariantProps<typeof inputVariants>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
export declare const menuItemVariants: (props?: ({
|
|
3
|
+
indicator?: "none" | "trailing-check" | "leading-control" | null | undefined;
|
|
4
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
5
|
+
export type MenuItemProps = VariantProps<typeof menuItemVariants>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
export declare const modalVariants: (props?: ({
|
|
3
|
+
size?: "xl" | "lg" | "sm" | "5xl" | "4xl" | "3xl" | "2xl" | "full" | "md" | null | undefined;
|
|
4
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
5
|
+
export type ModalVariantsProps = VariantProps<typeof modalVariants>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
export declare const popoverVariants: (props?: ({
|
|
3
|
+
size?: "lg" | "sm" | "xs" | "fit" | "full" | "3xs" | "2xs" | "md" | null | undefined;
|
|
4
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
5
|
+
export type PopoverVariantsProps = VariantProps<typeof popoverVariants>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
export declare const separatorVariants: (props?: ({
|
|
3
|
+
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
4
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
5
|
+
export type SeparatorVariantsProps = VariantProps<typeof separatorVariants>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
export declare const sidebarItemVariants: (props?: ({
|
|
3
|
+
active?: boolean | null | undefined;
|
|
4
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
5
|
+
export type SidebarItemVariants = VariantProps<typeof sidebarItemVariants>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
export declare const tabGroupVariants: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;
|
|
3
|
+
export declare const tabVariants: (props?: ({
|
|
4
|
+
selected?: boolean | null | undefined;
|
|
5
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
6
|
+
export type TabVariantsProps = VariantProps<typeof tabVariants>;
|