@juxtui/ui 0.2.0 → 0.4.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/README.md +63 -62
- package/dist/components/aspect-ratio/JAspectRatio.vue.d.ts +18 -0
- package/dist/components/avatar/JAvatar.vue.d.ts +1 -1
- package/dist/components/avatar-group/JAvatarGroup.vue.d.ts +19 -0
- package/dist/components/banner/JBanner.vue.d.ts +30 -0
- package/dist/components/breadcrumb/JBreadcrumb.vue.d.ts +29 -0
- package/dist/components/burger/JBurger.vue.d.ts +25 -0
- package/dist/components/card/JCard.vue.d.ts +1 -1
- package/dist/components/collapsible/JCollapsible.vue.d.ts +28 -0
- package/dist/components/command-palette/JCommandPalette.vue.d.ts +1 -1
- package/dist/components/dropdown-menu/JDropdownMenu.vue.d.ts +1 -1
- package/dist/components/empty-state/JEmptyState.vue.d.ts +23 -0
- package/dist/components/field/JFieldShell.vue.d.ts +1 -1
- package/dist/components/footer/JFooter.vue.d.ts +26 -0
- package/dist/components/footer/JFooterColumn.vue.d.ts +15 -0
- package/dist/components/navbar/JNavbar.vue.d.ts +47 -0
- package/dist/components/navbar/JNavbarLink.vue.d.ts +22 -0
- package/dist/components/pagination/JPagination.vue.d.ts +25 -0
- package/dist/components/primitives/JSlot.d.ts +1 -1
- package/dist/components/rating/JRating.vue.d.ts +27 -0
- package/dist/components/sidebar/JSidebar.vue.d.ts +23 -0
- package/dist/components/sidebar/JSidebarGroup.vue.d.ts +29 -0
- package/dist/components/sidebar/JSidebarItem.vue.d.ts +26 -0
- package/dist/components/slider/JSlider.vue.d.ts +31 -0
- package/dist/components/stat/JStat.vue.d.ts +22 -0
- package/dist/components/tag/JTag.vue.d.ts +28 -0
- package/dist/components/timeline/JTimeline.vue.d.ts +12 -0
- package/dist/components/timeline/JTimelineItem.vue.d.ts +24 -0
- package/dist/components/toast/JToaster.vue.d.ts +1 -1
- package/dist/components/toggle-group/JToggleGroup.vue.d.ts +33 -0
- package/dist/components/toggle-group/JToggleGroupItem.vue.d.ts +19 -0
- package/dist/components/toggle-group/context.d.ts +9 -0
- package/dist/components/visually-hidden/JVisuallyHidden.vue.d.ts +19 -0
- package/dist/components.d.ts +24 -0
- package/dist/composables/useModal.d.ts +1 -1
- package/dist/composables/useToast.d.ts +1 -1
- package/dist/icons.d.ts +4 -0
- package/dist/index.d.ts +24 -0
- package/dist/index.js +1583 -218
- package/dist/index.js.map +1 -1
- package/dist/nuxt.js +25 -1
- package/dist/nuxt.js.map +1 -1
- package/dist/style.css +2147 -606
- package/dist/tokens.css +5 -5
- package/package.json +1 -1
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export interface SliderProps {
|
|
2
|
+
min?: number;
|
|
3
|
+
max?: number;
|
|
4
|
+
step?: number;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
/** Accessible name for the thumb(s) when no visible label is associated. */
|
|
7
|
+
label?: string;
|
|
8
|
+
size?: 'sm' | 'md';
|
|
9
|
+
/** Show the current value in a floating bubble above the active thumb. */
|
|
10
|
+
showValue?: boolean;
|
|
11
|
+
/** Format the displayed and announced value. */
|
|
12
|
+
format?: (value: number) => string;
|
|
13
|
+
}
|
|
14
|
+
type __VLS_Props = SliderProps;
|
|
15
|
+
type __VLS_ModelProps = {
|
|
16
|
+
/** A single value, or a `[low, high]` tuple for a range slider. */
|
|
17
|
+
modelValue?: number | [number, number];
|
|
18
|
+
};
|
|
19
|
+
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
20
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
21
|
+
"update:modelValue": (value: number | [number, number]) => any;
|
|
22
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
23
|
+
"onUpdate:modelValue"?: ((value: number | [number, number]) => any) | undefined;
|
|
24
|
+
}>, {
|
|
25
|
+
size: "sm" | "md";
|
|
26
|
+
max: number;
|
|
27
|
+
step: number;
|
|
28
|
+
min: number;
|
|
29
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
30
|
+
declare const _default: typeof __VLS_export;
|
|
31
|
+
export default _default;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export type StatTrend = 'up' | 'down' | 'neutral';
|
|
2
|
+
export interface StatProps {
|
|
3
|
+
label: string;
|
|
4
|
+
value: string | number;
|
|
5
|
+
/** Delta shown next to the value, e.g. `"+12%"`. */
|
|
6
|
+
delta?: string;
|
|
7
|
+
trend?: StatTrend;
|
|
8
|
+
description?: string;
|
|
9
|
+
}
|
|
10
|
+
type __VLS_Slots = {
|
|
11
|
+
/** Icon shown next to the label. */
|
|
12
|
+
icon?: () => unknown;
|
|
13
|
+
};
|
|
14
|
+
declare const __VLS_base: import("vue").DefineComponent<StatProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<StatProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
15
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
16
|
+
declare const _default: typeof __VLS_export;
|
|
17
|
+
export default _default;
|
|
18
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
19
|
+
new (): {
|
|
20
|
+
$slots: S;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export type TagVariant = 'neutral' | 'success' | 'warning' | 'destructive' | 'accent';
|
|
2
|
+
export interface TagProps {
|
|
3
|
+
variant?: TagVariant;
|
|
4
|
+
size?: 'sm' | 'md';
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
/** Accessible label for the remove button, e.g. `"Remove Engineering"`. Defaults to "Remove". */
|
|
7
|
+
removeLabel?: string;
|
|
8
|
+
}
|
|
9
|
+
type __VLS_Slots = {
|
|
10
|
+
default?: () => unknown;
|
|
11
|
+
leading?: () => unknown;
|
|
12
|
+
};
|
|
13
|
+
declare const __VLS_base: import("vue").DefineComponent<TagProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
14
|
+
remove: () => any;
|
|
15
|
+
}, string, import("vue").PublicProps, Readonly<TagProps> & Readonly<{
|
|
16
|
+
onRemove?: (() => any) | undefined;
|
|
17
|
+
}>, {
|
|
18
|
+
variant: TagVariant;
|
|
19
|
+
size: "sm" | "md";
|
|
20
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
21
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
22
|
+
declare const _default: typeof __VLS_export;
|
|
23
|
+
export default _default;
|
|
24
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
25
|
+
new (): {
|
|
26
|
+
$slots: S;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
type __VLS_Slots = {
|
|
2
|
+
default?: () => unknown;
|
|
3
|
+
};
|
|
4
|
+
declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
5
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
6
|
+
declare const _default: typeof __VLS_export;
|
|
7
|
+
export default _default;
|
|
8
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
9
|
+
new (): {
|
|
10
|
+
$slots: S;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export type TimelineItemStatus = 'complete' | 'current' | 'upcoming';
|
|
2
|
+
export interface TimelineItemProps {
|
|
3
|
+
title?: string;
|
|
4
|
+
/** A timestamp or relative time, e.g. "2 hours ago". */
|
|
5
|
+
time?: string;
|
|
6
|
+
status?: TimelineItemStatus;
|
|
7
|
+
}
|
|
8
|
+
type __VLS_Slots = {
|
|
9
|
+
default?: () => unknown;
|
|
10
|
+
title?: () => unknown;
|
|
11
|
+
/** Replace the default dot marker. */
|
|
12
|
+
marker?: () => unknown;
|
|
13
|
+
};
|
|
14
|
+
declare const __VLS_base: import("vue").DefineComponent<TimelineItemProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<TimelineItemProps> & Readonly<{}>, {
|
|
15
|
+
status: TimelineItemStatus;
|
|
16
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
17
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
18
|
+
declare const _default: typeof __VLS_export;
|
|
19
|
+
export default _default;
|
|
20
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
21
|
+
new (): {
|
|
22
|
+
$slots: S;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
@@ -10,9 +10,9 @@ export interface ToasterProps {
|
|
|
10
10
|
}
|
|
11
11
|
declare const __VLS_export: import("vue").DefineComponent<ToasterProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ToasterProps> & Readonly<{}>, {
|
|
12
12
|
label: string;
|
|
13
|
+
max: number;
|
|
13
14
|
hotkey: string;
|
|
14
15
|
position: ToasterPosition;
|
|
15
|
-
max: number;
|
|
16
16
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
17
17
|
declare const _default: typeof __VLS_export;
|
|
18
18
|
export default _default;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
export interface ToggleGroupProps {
|
|
2
|
+
/** `single` keeps at most one item pressed; `multiple` lets any number stay pressed. */
|
|
3
|
+
type?: 'single' | 'multiple';
|
|
4
|
+
size?: 'sm' | 'md';
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
/** Accessible name for the group. */
|
|
7
|
+
label?: string;
|
|
8
|
+
}
|
|
9
|
+
type __VLS_Props = ToggleGroupProps;
|
|
10
|
+
type __VLS_Slots = {
|
|
11
|
+
default?: () => unknown;
|
|
12
|
+
};
|
|
13
|
+
type __VLS_ModelProps = {
|
|
14
|
+
/** The pressed value in `single` mode, or an array of values in `multiple` mode. */
|
|
15
|
+
modelValue?: string | string[] | null;
|
|
16
|
+
};
|
|
17
|
+
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
18
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
19
|
+
"update:modelValue": (value: string | string[] | null) => any;
|
|
20
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
21
|
+
"onUpdate:modelValue"?: ((value: string | string[] | null) => any) | undefined;
|
|
22
|
+
}>, {
|
|
23
|
+
type: "single" | "multiple";
|
|
24
|
+
size: "sm" | "md";
|
|
25
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
26
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
27
|
+
declare const _default: typeof __VLS_export;
|
|
28
|
+
export default _default;
|
|
29
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
30
|
+
new (): {
|
|
31
|
+
$slots: S;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export interface ToggleGroupItemProps {
|
|
2
|
+
/** Identifies the item in the group's `v-model`. */
|
|
3
|
+
value: string;
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
/** Accessible name, when the slot content isn't descriptive enough (e.g. an icon-only item). */
|
|
6
|
+
label?: string;
|
|
7
|
+
}
|
|
8
|
+
type __VLS_Slots = {
|
|
9
|
+
default?: () => unknown;
|
|
10
|
+
};
|
|
11
|
+
declare const __VLS_base: import("vue").DefineComponent<ToggleGroupItemProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ToggleGroupItemProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
12
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
13
|
+
declare const _default: typeof __VLS_export;
|
|
14
|
+
export default _default;
|
|
15
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
16
|
+
new (): {
|
|
17
|
+
$slots: S;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { ComputedRef, InjectionKey } from 'vue';
|
|
2
|
+
export type ToggleGroupType = 'single' | 'multiple';
|
|
3
|
+
export interface ToggleGroupContext {
|
|
4
|
+
type: ComputedRef<ToggleGroupType>;
|
|
5
|
+
disabled: ComputedRef<boolean>;
|
|
6
|
+
isSelected: (value: string) => boolean;
|
|
7
|
+
toggle: (value: string) => void;
|
|
8
|
+
}
|
|
9
|
+
export declare const TOGGLE_GROUP: InjectionKey<ToggleGroupContext>;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { Component } from 'vue';
|
|
2
|
+
export interface VisuallyHiddenProps {
|
|
3
|
+
/** Render as another element or component, e.g. `label` or `h2`. */
|
|
4
|
+
as?: string | Component;
|
|
5
|
+
}
|
|
6
|
+
type __VLS_Slots = {
|
|
7
|
+
default?: () => unknown;
|
|
8
|
+
};
|
|
9
|
+
declare const __VLS_base: import("vue").DefineComponent<VisuallyHiddenProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<VisuallyHiddenProps> & Readonly<{}>, {
|
|
10
|
+
as: string | Component;
|
|
11
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
12
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
13
|
+
declare const _default: typeof __VLS_export;
|
|
14
|
+
export default _default;
|
|
15
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
16
|
+
new (): {
|
|
17
|
+
$slots: S;
|
|
18
|
+
};
|
|
19
|
+
};
|
package/dist/components.d.ts
CHANGED
|
@@ -1,11 +1,17 @@
|
|
|
1
1
|
export { default as JAccordion } from './components/accordion/JAccordion.vue';
|
|
2
2
|
export { default as JAccordionItem } from './components/accordion/JAccordionItem.vue';
|
|
3
3
|
export { default as JAlert } from './components/alert/JAlert.vue';
|
|
4
|
+
export { default as JAspectRatio } from './components/aspect-ratio/JAspectRatio.vue';
|
|
4
5
|
export { default as JAvatar } from './components/avatar/JAvatar.vue';
|
|
6
|
+
export { default as JAvatarGroup } from './components/avatar-group/JAvatarGroup.vue';
|
|
5
7
|
export { default as JBadge } from './components/badge/JBadge.vue';
|
|
8
|
+
export { default as JBanner } from './components/banner/JBanner.vue';
|
|
9
|
+
export { default as JBreadcrumb } from './components/breadcrumb/JBreadcrumb.vue';
|
|
10
|
+
export { default as JBurger } from './components/burger/JBurger.vue';
|
|
6
11
|
export { default as JButton } from './components/button/JButton.vue';
|
|
7
12
|
export { default as JCard } from './components/card/JCard.vue';
|
|
8
13
|
export { default as JCheckbox } from './components/checkbox/JCheckbox.vue';
|
|
14
|
+
export { default as JCollapsible } from './components/collapsible/JCollapsible.vue';
|
|
9
15
|
export { default as JCommandPalette } from './components/command-palette/JCommandPalette.vue';
|
|
10
16
|
export { default as JDialog } from './components/dialog/JDialog.vue';
|
|
11
17
|
export { default as JDropdownMenu } from './components/dropdown-menu/JDropdownMenu.vue';
|
|
@@ -13,19 +19,37 @@ export { default as JDropdownMenuItem } from './components/dropdown-menu/JDropdo
|
|
|
13
19
|
export { default as JDropdownMenuLabel } from './components/dropdown-menu/JDropdownMenuLabel.vue';
|
|
14
20
|
export { default as JDropdownMenuSeparator } from './components/dropdown-menu/JDropdownMenuSeparator.vue';
|
|
15
21
|
export { default as JDropdownMenuSub } from './components/dropdown-menu/JDropdownMenuSub.vue';
|
|
22
|
+
export { default as JEmptyState } from './components/empty-state/JEmptyState.vue';
|
|
23
|
+
export { default as JFooter } from './components/footer/JFooter.vue';
|
|
24
|
+
export { default as JFooterColumn } from './components/footer/JFooterColumn.vue';
|
|
16
25
|
export { default as JInput } from './components/input/JInput.vue';
|
|
17
26
|
export { default as JKbd } from './components/kbd/JKbd.vue';
|
|
27
|
+
export { default as JNavbar } from './components/navbar/JNavbar.vue';
|
|
28
|
+
export { default as JNavbarLink } from './components/navbar/JNavbarLink.vue';
|
|
29
|
+
export { default as JPagination } from './components/pagination/JPagination.vue';
|
|
18
30
|
export { default as JPopover } from './components/popover/JPopover.vue';
|
|
19
31
|
export { default as JProgress } from './components/progress/JProgress.vue';
|
|
20
32
|
export { default as JRadio } from './components/radio/JRadio.vue';
|
|
21
33
|
export { default as JRadioGroup } from './components/radio/JRadioGroup.vue';
|
|
34
|
+
export { default as JRating } from './components/rating/JRating.vue';
|
|
22
35
|
export { default as JSelect } from './components/select/JSelect.vue';
|
|
23
36
|
export { default as JSeparator } from './components/separator/JSeparator.vue';
|
|
24
37
|
export { default as JSheet } from './components/sheet/JSheet.vue';
|
|
38
|
+
export { default as JSidebar } from './components/sidebar/JSidebar.vue';
|
|
39
|
+
export { default as JSidebarGroup } from './components/sidebar/JSidebarGroup.vue';
|
|
40
|
+
export { default as JSidebarItem } from './components/sidebar/JSidebarItem.vue';
|
|
25
41
|
export { default as JSkeleton } from './components/skeleton/JSkeleton.vue';
|
|
42
|
+
export { default as JSlider } from './components/slider/JSlider.vue';
|
|
26
43
|
export { default as JSpinner } from './components/spinner/JSpinner.vue';
|
|
44
|
+
export { default as JStat } from './components/stat/JStat.vue';
|
|
27
45
|
export { default as JSwitch } from './components/switch/JSwitch.vue';
|
|
28
46
|
export { default as JTabs } from './components/tabs/JTabs.vue';
|
|
47
|
+
export { default as JTag } from './components/tag/JTag.vue';
|
|
29
48
|
export { default as JTextarea } from './components/textarea/JTextarea.vue';
|
|
49
|
+
export { default as JTimeline } from './components/timeline/JTimeline.vue';
|
|
50
|
+
export { default as JTimelineItem } from './components/timeline/JTimelineItem.vue';
|
|
30
51
|
export { default as JToaster } from './components/toast/JToaster.vue';
|
|
52
|
+
export { default as JToggleGroup } from './components/toggle-group/JToggleGroup.vue';
|
|
53
|
+
export { default as JToggleGroupItem } from './components/toggle-group/JToggleGroupItem.vue';
|
|
31
54
|
export { default as JTooltip } from './components/tooltip/JTooltip.vue';
|
|
55
|
+
export { default as JVisuallyHidden } from './components/visually-hidden/JVisuallyHidden.vue';
|
|
@@ -7,7 +7,7 @@ export interface ModalOptions {
|
|
|
7
7
|
focusSelector?: string;
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* Internal: everything a modal surface (Dialog, Sheet) shares
|
|
10
|
+
* Internal: everything a modal surface (Dialog, Sheet) shares | layering,
|
|
11
11
|
* focus trap and restoration, scroll lock, backdrop clicks and the "nudge"
|
|
12
12
|
* when dismissal is refused.
|
|
13
13
|
*/
|
|
@@ -52,7 +52,7 @@ export interface ToastFn {
|
|
|
52
52
|
update: typeof update;
|
|
53
53
|
dismiss: typeof dismiss;
|
|
54
54
|
}
|
|
55
|
-
/** Show a toast. Works anywhere
|
|
55
|
+
/** Show a toast. Works anywhere | inside or outside components. */
|
|
56
56
|
export declare const toast: ToastFn;
|
|
57
57
|
export declare function useToast(): {
|
|
58
58
|
toast: ToastFn;
|
package/dist/icons.d.ts
CHANGED
|
@@ -11,6 +11,10 @@ export declare const IconCircleX: Icon;
|
|
|
11
11
|
export declare const IconAlert: Icon;
|
|
12
12
|
export declare const IconInfo: Icon;
|
|
13
13
|
export declare const IconCornerDownLeft: Icon;
|
|
14
|
+
export declare const IconChevronLeft: Icon;
|
|
15
|
+
export declare const IconMoreHorizontal: Icon;
|
|
16
|
+
export declare const IconArrowUpRight: Icon;
|
|
17
|
+
export declare const IconArrowDownRight: Icon;
|
|
14
18
|
/** The loading spinner used across Juxt. A quarter arc over a faint track. */
|
|
15
19
|
export declare const Spinner: FunctionalComponent<{
|
|
16
20
|
size?: number;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,37 +1,61 @@
|
|
|
1
1
|
import './styles/index.css';
|
|
2
2
|
export * from './components';
|
|
3
|
+
export type { BurgerProps } from './components/burger/JBurger.vue';
|
|
4
|
+
export type { FooterProps } from './components/footer/JFooter.vue';
|
|
5
|
+
export type { FooterColumnProps } from './components/footer/JFooterColumn.vue';
|
|
6
|
+
export type { NavbarProps } from './components/navbar/JNavbar.vue';
|
|
7
|
+
export type { NavbarLinkProps } from './components/navbar/JNavbarLink.vue';
|
|
8
|
+
export type { SidebarProps } from './components/sidebar/JSidebar.vue';
|
|
9
|
+
export type { SidebarGroupProps } from './components/sidebar/JSidebarGroup.vue';
|
|
10
|
+
export type { SidebarItemProps } from './components/sidebar/JSidebarItem.vue';
|
|
3
11
|
export type { AccordionProps } from './components/accordion/JAccordion.vue';
|
|
4
12
|
export type { AccordionItemProps } from './components/accordion/JAccordionItem.vue';
|
|
5
13
|
export type { AlertProps, AlertVariant } from './components/alert/JAlert.vue';
|
|
14
|
+
export type { AspectRatioProps } from './components/aspect-ratio/JAspectRatio.vue';
|
|
6
15
|
export type { AvatarProps, AvatarStatus } from './components/avatar/JAvatar.vue';
|
|
16
|
+
export type { AvatarGroupItem, AvatarGroupProps } from './components/avatar-group/JAvatarGroup.vue';
|
|
7
17
|
export type { BadgeProps, BadgeVariant } from './components/badge/JBadge.vue';
|
|
18
|
+
export type { BannerProps, BannerVariant } from './components/banner/JBanner.vue';
|
|
19
|
+
export type { BreadcrumbItem, BreadcrumbProps } from './components/breadcrumb/JBreadcrumb.vue';
|
|
8
20
|
export type { ButtonProps, ButtonSize, ButtonVariant } from './components/button/JButton.vue';
|
|
9
21
|
export type { CardProps } from './components/card/JCard.vue';
|
|
10
22
|
export type { CheckboxProps } from './components/checkbox/JCheckbox.vue';
|
|
23
|
+
export type { CollapsibleProps } from './components/collapsible/JCollapsible.vue';
|
|
11
24
|
export type { CommandGroup, CommandItem, CommandPaletteProps } from './components/command-palette/JCommandPalette.vue';
|
|
12
25
|
export { matchText } from './components/command-palette/search';
|
|
13
26
|
export type { DialogProps } from './components/dialog/JDialog.vue';
|
|
14
27
|
export type { DropdownMenuProps } from './components/dropdown-menu/JDropdownMenu.vue';
|
|
15
28
|
export type { DropdownMenuItemProps } from './components/dropdown-menu/JDropdownMenuItem.vue';
|
|
16
29
|
export type { DropdownMenuSubProps } from './components/dropdown-menu/JDropdownMenuSub.vue';
|
|
30
|
+
export type { EmptyStateProps } from './components/empty-state/JEmptyState.vue';
|
|
17
31
|
export type { FieldProps } from './components/field/useField';
|
|
18
32
|
export type { InputProps, InputSize } from './components/input/JInput.vue';
|
|
19
33
|
export type { KbdProps } from './components/kbd/JKbd.vue';
|
|
34
|
+
export type { PaginationProps } from './components/pagination/JPagination.vue';
|
|
20
35
|
export type { PopoverProps } from './components/popover/JPopover.vue';
|
|
21
36
|
export type { ProgressProps } from './components/progress/JProgress.vue';
|
|
22
37
|
export type { RadioValue } from './components/radio/context';
|
|
23
38
|
export type { RadioProps } from './components/radio/JRadio.vue';
|
|
24
39
|
export type { RadioGroupProps } from './components/radio/JRadioGroup.vue';
|
|
40
|
+
export type { RatingProps } from './components/rating/JRating.vue';
|
|
25
41
|
export type { SelectOption, SelectProps } from './components/select/JSelect.vue';
|
|
26
42
|
export type { SeparatorProps } from './components/separator/JSeparator.vue';
|
|
27
43
|
export type { SheetProps } from './components/sheet/JSheet.vue';
|
|
28
44
|
export type { SkeletonProps } from './components/skeleton/JSkeleton.vue';
|
|
45
|
+
export type { SliderProps } from './components/slider/JSlider.vue';
|
|
29
46
|
export type { SpinnerProps } from './components/spinner/JSpinner.vue';
|
|
47
|
+
export type { StatProps, StatTrend } from './components/stat/JStat.vue';
|
|
30
48
|
export type { SwitchProps } from './components/switch/JSwitch.vue';
|
|
31
49
|
export type { TabItem, TabsProps } from './components/tabs/JTabs.vue';
|
|
50
|
+
export type { TagProps, TagVariant } from './components/tag/JTag.vue';
|
|
32
51
|
export type { TextareaProps } from './components/textarea/JTextarea.vue';
|
|
52
|
+
export type { TimelineItemProps, TimelineItemStatus } from './components/timeline/JTimelineItem.vue';
|
|
33
53
|
export type { ToasterPosition, ToasterProps } from './components/toast/JToaster.vue';
|
|
54
|
+
export type { ToggleGroupType } from './components/toggle-group/context';
|
|
55
|
+
export type { ToggleGroupProps } from './components/toggle-group/JToggleGroup.vue';
|
|
56
|
+
export type { ToggleGroupItemProps } from './components/toggle-group/JToggleGroupItem.vue';
|
|
34
57
|
export type { TooltipProps } from './components/tooltip/JTooltip.vue';
|
|
58
|
+
export type { VisuallyHiddenProps } from './components/visually-hidden/JVisuallyHidden.vue';
|
|
35
59
|
export { useFocusTrap } from './composables/useFocusTrap';
|
|
36
60
|
export type { FocusTrapOptions } from './composables/useFocusTrap';
|
|
37
61
|
export { formatHotkey, matchesHotkey, useHotkey } from './composables/useHotkey';
|